@titaui/pc 1.11.1 → 1.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) 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/mblog/components/MblogAction.js +3 -3
  10. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  11. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  12. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  13. package/lib/components/okrcase-library/okrcases-components/caseLibrary-main.js +14 -8
  14. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  15. package/lib/components/rich-editor/models/schema.js +6 -6
  16. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  17. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  18. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  19. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  20. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  21. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  22. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  23. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  24. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  25. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  26. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  27. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  28. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  29. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  30. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  31. package/lib/components/select/Option.js +3 -3
  32. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  33. package/lib/components-v1/animate/AnimateChild.js +3 -3
  34. package/lib/components-v1/avatar/index.js +3 -3
  35. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  36. package/lib/components-v1/progress/CircleProgress.js +3 -3
  37. package/lib/components-v1/select/Option.js +3 -3
  38. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  39. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  40. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  41. package/lib/index.js +0 -8
  42. package/package.json +1 -1
  43. package/es/components/cascader/time.js +0 -31
  44. package/es/components/common-share/request-apis.js +0 -56
  45. package/es/components/confidence/heart.js +0 -66
  46. package/es/components/create-okr-modal/fields/index.js +0 -17
  47. package/es/components/create-okr-modal/utils/getCreateOkrSurpassPercent.js +0 -154
  48. package/es/components/date-picker/BodyItem.js +0 -121
  49. package/es/components/date-picker/CalendarBody.js +0 -157
  50. package/es/components/date-picker/CalendarHeader.js +0 -187
  51. package/es/components/date-picker/index.js +0 -157
  52. package/es/components/date-range-picker/index.js +0 -210
  53. package/es/components/dialog/index.js +0 -119
  54. package/es/components/dialog-confirm/index.js +0 -154
  55. package/es/components/drop-selector/icon-item.js +0 -40
  56. package/es/components/drop-selector/index.js +0 -179
  57. package/es/components/dynamic/dynamic-like-ranking/mock.js +0 -84
  58. package/es/components/dynamic/dynamic-liking/mock.js +0 -83
  59. package/es/components/dynamic/dynamic-topping/request-api.js +0 -36
  60. package/es/components/e-priority/index.js +0 -88
  61. package/es/components/e-status-dropdown/index.js +0 -94
  62. package/es/components/grid-layout/commen-components/index.js +0 -73
  63. package/es/components/grid-layout/image/could.js +0 -8
  64. package/es/components/grid-layout/image/lv.js +0 -8
  65. package/es/components/grid-layout/image/tita-mask.js +0 -8
  66. package/es/components/help-card/request-api.js +0 -35
  67. package/es/components/icon-button-list/index.js +0 -65
  68. package/es/components/menus/context.js +0 -18
  69. package/es/components/menus/precls.js +0 -8
  70. package/es/components/okr-detail/auth.js +0 -197
  71. package/es/components/okr-detail/components/ao-nice/index.js +0 -245
  72. package/es/components/okr-detail/components/block-line/index.js +0 -20
  73. package/es/components/okr-detail/components/header/index.js +0 -211
  74. package/es/components/okr-detail/components/icon-text/index.js +0 -116
  75. package/es/components/okr-detail/components/okr-tree/index.js +0 -48
  76. package/es/components/okr-detail/components/okr-tree/precls.js +0 -8
  77. package/es/components/okr-detail/components/okr-tree/tree-node/default-node.js +0 -22
  78. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +0 -88
  79. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +0 -200
  80. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +0 -98
  81. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +0 -412
  82. package/es/components/okr-detail/components/okr-tree/tree-node/get-process-color.js +0 -62
  83. package/es/components/okr-detail/components/okr-tree/tree-node/index.js +0 -90
  84. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/get-process-color.js +0 -46
  85. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +0 -421
  86. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/index.js +0 -54
  87. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +0 -62
  88. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +0 -94
  89. package/es/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +0 -273
  90. package/es/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +0 -207
  91. package/es/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +0 -236
  92. package/es/components/okr-detail/components/padding-layout.js +0 -22
  93. package/es/components/okr-detail/components/tab-panel-content/index.js +0 -27
  94. package/es/components/okr-detail/context.js +0 -30
  95. package/es/components/okr-detail/e-list/index.js +0 -243
  96. package/es/components/okr-detail/e-list/precls.js +0 -8
  97. package/es/components/okr-detail/e-list/search-form/fields/e-order.js +0 -172
  98. package/es/components/okr-detail/e-list/search-form/fields/e-status.js +0 -99
  99. package/es/components/okr-detail/e-list/search-form/fields/e-user.js +0 -49
  100. package/es/components/okr-detail/e-list/search-form/index.js +0 -143
  101. package/es/components/okr-detail/error-page/index.js +0 -33
  102. package/es/components/okr-detail/index.js +0 -428
  103. package/es/components/okr-detail/loading/index.js +0 -28
  104. package/es/components/okr-detail/okr-list/add-parent-okr.js +0 -37
  105. package/es/components/okr-detail/okr-list/create-kr-item/heart.js +0 -38
  106. package/es/components/okr-detail/okr-list/drag-order-kr.js +0 -62
  107. package/es/components/okr-detail/okr-list/empty/index.js +0 -48
  108. package/es/components/okr-detail/okr-list/index.js +0 -524
  109. package/es/components/okr-detail/okr-list/warp-parent-okr.js +0 -21
  110. package/es/components/okr-detail/store.js +0 -1
  111. package/es/components/okr-flow/child-node/fields/creator.js +0 -175
  112. package/es/components/okr-flow/child-node/fields/okrClassify.js +0 -31
  113. package/es/components/okr-flow/child-node/fields/okrType.js +0 -21
  114. package/es/components/okr-flow/child-node/helper.js +0 -35
  115. package/es/components/okr-flow/child-node/index.js +0 -110
  116. package/es/components/okr-flow/child-node/kr-node.js +0 -75
  117. package/es/components/okr-flow/child-node/work-node.js +0 -242
  118. package/es/components/okr-flow/context.js +0 -14
  119. package/es/components/okr-flow/empty/index.js +0 -29
  120. package/es/components/okr-flow/export-modules/okr-search-panel/index.js +0 -394
  121. package/es/components/okr-flow/index.js +0 -24
  122. package/es/components/okr-flow/mini-map/index.js +0 -112
  123. package/es/components/okr-flow/mini-map/map.js +0 -145
  124. package/es/components/okr-flow/mini-map/mini-node.js +0 -57
  125. package/es/components/okr-flow/mini-map/utils.js +0 -79
  126. package/es/components/okr-flow/okr-map/index.js +0 -192
  127. package/es/components/okr-flow/open-data/index.js +0 -115
  128. package/es/components/okr-flow/precls.js +0 -8
  129. package/es/components/okr-flow/request-apis.js +0 -118
  130. package/es/components/okr-flow/root-node/index.js +0 -229
  131. package/es/components/okr-flow/utils/config.js +0 -18
  132. package/es/components/okr-flow/utils/helper.js +0 -36
  133. package/es/components/okr-flow/utils/index.js +0 -66
  134. package/es/components/okr-flow/utils/tree-handler.js +0 -323
  135. package/es/components/okr-progress-modal/helper.js +0 -156
  136. package/es/components/okr-progress-modal/request-apis.js +0 -34
  137. package/es/components/okr-share/request-apis.js +0 -56
  138. package/es/components/okrcase-library/server/network.js +0 -407
  139. package/es/components/pagination/locale/en_US.js +0 -22
  140. package/es/components/pagination/locale/zh_CN.js +0 -22
  141. package/es/components/point-demo/drop-down-box/index.js +0 -159
  142. package/es/components/point-demo/index.js +0 -533
  143. package/es/components/point-demo/input/index.js +0 -176
  144. package/es/components/point-demo/point-demo.js +0 -75
  145. package/es/components/point-demo/popup/index.js +0 -113
  146. package/es/components/point-demo/popup/placement.js +0 -44
  147. package/es/components/range-picker-pop/index.js +0 -273
  148. package/es/components/scrollbar/simplebar/helpers.js +0 -59
  149. package/es/components/scrollbar/simplebar/index.js +0 -91
  150. package/es/components/scrollbar/simplebar/scrollbar-width.js +0 -47
  151. package/es/components/scrollbar/simplebar/simplebar.js +0 -852
  152. package/es/components/scrollbar/simplebar-react.js +0 -163
  153. package/es/components/search-dropdown/index.js +0 -40
  154. package/es/components/search-input/index.js +0 -126
  155. package/es/components/select/Option.js +0 -94
  156. package/es/components/select/index.js +0 -330
  157. package/es/components/selector-input/debounce.js +0 -36
  158. package/es/components/selector-input/index.js +0 -109
  159. package/es/components/slider-input/index.js +0 -119
  160. package/es/components/switch/index.js +0 -39
  161. package/es/components/table/index.js +0 -275
  162. package/es/components/tabs/index.js +0 -63
  163. package/es/components/task-relation-modal/tree-node/index.js +0 -58
  164. package/es/components/tita-chart/charts/img/could.js +0 -8
  165. package/es/components/tooltip/error-tip.js +0 -24
  166. package/es/components/tooltip/index.js +0 -21
  167. package/es/components/tree/index.js +0 -79
  168. package/es/components/tree/precls.js +0 -8
  169. package/es/components/upvote/request-apis.js +0 -45
  170. package/es/components/user-selector/action-btns/btn-cancel.js +0 -21
  171. package/es/components/user-selector/action-btns/btn-ok.js +0 -21
  172. package/es/components/user-selector/action-btns/index.js +0 -27
  173. package/es/components/user-selector/context.js +0 -18
  174. package/es/components/user-selector/empty/group.js +0 -55
  175. package/es/components/user-selector/empty/index.js +0 -28
  176. package/es/components/user-selector/export-modules/depart-search-selector/result-part.js +0 -41
  177. package/es/components/user-selector/export-modules/group-selector/index.js +0 -170
  178. package/es/components/user-selector/export-modules/group-selector/searched-panel.js +0 -68
  179. package/es/components/user-selector/export-modules/multiple-user-selector--bak/index.js +0 -246
  180. package/es/components/user-selector/index.js +0 -25
  181. package/es/components/user-selector/layout/index.js +0 -25
  182. package/es/components/user-selector/loading/index.js +0 -18
  183. package/es/components/user-selector/request-apis.js +0 -180
  184. package/es/components/user-selector/searched-panel/index.js +0 -139
  185. package/es/components/user-selector/searched-panel/result-part.js +0 -43
  186. package/es/components/user-selector/select-tree/selected-tree/index.js +0 -91
  187. package/es/components/user-selector/select-tree/tree-nodes/tree-depart-node/index.js +0 -48
  188. package/es/components/user-selector/select-tree/tree-nodes/tree-duties-node/index.js +0 -27
  189. package/es/components/user-selector/select-tree/tree-nodes/tree-group-node/index.js +0 -57
  190. package/es/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +0 -93
  191. package/es/components/user-selector/utils.js +0 -139
  192. package/es/components/viewer/ImageListRender.js +0 -143
  193. package/es/components/viewer/index.js +0 -168
  194. package/es/components/word-cloud/index.js +0 -109
  195. package/es/components/word-cloud/request-apis.js +0 -26
  196. package/es/components-v1/animate/AnimateChild.js +0 -76
  197. package/es/components-v1/animate/animate.js +0 -148
  198. package/es/components-v1/animate/index.js +0 -13
  199. package/es/components-v1/dom/index.js +0 -30
  200. package/es/components-v1/placement/index.js +0 -13
  201. package/es/components-v1/placement/placement.js +0 -111
  202. package/es/components-v1/placement/placementInner.js +0 -139
  203. package/es/components-v1/pop/Pop.js +0 -246
  204. package/es/components-v1/pop/PopInner.js +0 -163
  205. package/es/components-v1/pop/index.js +0 -13
  206. package/es/components-v1/progress/CircleProgress.js +0 -152
  207. package/es/components-v1/progress/LineProgress.js +0 -83
  208. package/es/components-v1/progress/index.js +0 -80
  209. package/es/components-v1/select/Option.js +0 -94
  210. package/es/components-v1/select/index.js +0 -330
  211. package/es/components-v1/utils/animate/animate.js +0 -103
  212. package/es/components-v1/utils/animate/event.js +0 -79
  213. package/es/components-v1/utils/dom/index.js +0 -30
  214. package/es/components-v1/utils/placement/autoAdjustPlacement.js +0 -93
  215. package/es/components-v1/utils/placement/getContainerVisibleArea.js +0 -22
  216. package/es/components-v1/utils/placement/getExpectPlacement.js +0 -49
  217. package/es/components-v1/utils/placement/getPlacementInContainer.js +0 -26
  218. package/es/components-v1/utils/placement/placement.js +0 -76
  219. package/es/index.js +0 -777
  220. package/es/pages/appointment-demo/drop-down-box/index.js +0 -159
  221. package/es/pages/appointment-demo/index.js +0 -649
  222. package/es/pages/appointment-demo/input/index.js +0 -176
  223. package/es/pages/appointment-demo/popup/index.js +0 -113
  224. package/es/pages/appointment-demo/popup/placement.js +0 -44
  225. package/es/pages/group-management/components/checkbox/index.js +0 -28
  226. package/es/pages/group-management/components/input-form/index.js +0 -174
  227. package/es/pages/group-management/components/radio/index.js +0 -21
  228. package/es/pages/group-management/components/table/index.js +0 -174
  229. package/es/pages/group-management/groupInterface.js +0 -293
  230. package/es/pages/group-management/index.js +0 -13
  231. package/es/pages/group-management/page-view/empty.js +0 -111
  232. package/es/pages/group-management/page-view/group-empty.js +0 -66
  233. package/es/pages/group-management/page-view/importGroupStaff/index.js +0 -208
  234. package/es/pages/group-management/page-view/index.js +0 -412
  235. package/es/pages/group-management/page-view/loading/index.js +0 -32
  236. package/es/pages/group-management/table/index.js +0 -104
  237. package/es/pages/group-management/tree/add-group-dialog/index.js +0 -153
  238. package/es/pages/group-management/tree/delete-group-dialog/index.js +0 -82
  239. package/es/pages/group-management/tree/edit-group-dialog/index.js +0 -155
  240. package/es/pages/group-management/tree/group-form/index.js +0 -207
  241. package/es/pages/group-management/tree/index.js +0 -168
  242. package/es/pages/group-management/tree/operation-panel.js +0 -41
  243. package/es/pages/group-management/tree/trigger-render.js +0 -99
  244. package/es/pages/like-ranking/mock.js +0 -366
  245. package/es/pages/okr-map/export-modules/index.js +0 -1
  246. package/es/pages/okr-map/export-modules/okr-map/header/index.js +0 -182
  247. package/es/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +0 -47
  248. package/es/pages/okr-map/export-modules/okr-map/okr-map.js +0 -497
  249. package/es/pages/okr-map/export-modules/share-okr-page/header/index.js +0 -69
  250. package/es/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +0 -168
  251. package/es/pages/okr-map/hooks/useStorage.js +0 -96
  252. package/es/pages/okr-map/index.js +0 -18
  253. package/es/pages/okr-map/level2-search/depart.js +0 -53
  254. package/es/pages/okr-map/level2-search/group.js +0 -69
  255. package/es/pages/okr-map/level2-search/index.js +0 -51
  256. package/es/pages/okr-map/level2-search/level2-input.js +0 -46
  257. package/es/pages/okr-map/level2-search/user.js +0 -54
  258. package/es/pages/okr-map/no-okr/index.js +0 -24
  259. package/es/pages/okr-map/number-select/index.js +0 -81
  260. package/es/pages/okr-map/open-data/index.js +0 -115
  261. package/es/pages/okr-map/precls.js +0 -8
  262. package/es/pages/okr-map/request-apis.js +0 -76
  263. package/es/pages/okr-map/share-dialog/index.js +0 -122
  264. package/es/pages/okr-map/unsupport-ie/index.js +0 -83
  265. package/es/pages/okr-map/utils.js +0 -51
  266. package/es/utils/auth.js +0 -294
  267. package/es/utils/bs-global.js +0 -114
  268. package/es/utils/local-storage.js +0 -42
  269. package/es/utils/mblog.js +0 -33
  270. package/es/utils/mock-bsglobal.js +0 -1837
  271. package/es/utils/open-data.js +0 -341
  272. package/es/utils/request-v1.js +0 -115
  273. package/es/utils/request.js +0 -183
  274. package/es/utils/tools.js +0 -286
  275. package/lib/components/picker/components/panels/date-panel/date-body.js +0 -116
  276. package/lib/components/picker/components/panels/date-panel/date-head.js +0 -66
  277. package/lib/components/picker/components/panels/date-panel/index.css +0 -14
  278. package/lib/components/picker/components/panels/date-panel/index.js +0 -49
  279. package/lib/components/picker/components/panels/month-panel/index.css +0 -27
  280. package/lib/components/picker/components/panels/month-panel/index.js +0 -63
  281. package/lib/components/picker/components/panels/month-panel/month-body.js +0 -87
  282. package/lib/components/picker/components/panels/month-panel/month-head.js +0 -47
  283. package/lib/components/picker/components/panels/panel-body/index.js +0 -53
  284. package/lib/components/picker/components/panels/panel-head/index.js +0 -48
  285. package/lib/components/picker/components/panels/year-panel/index.css +0 -23
  286. package/lib/components/picker/components/panels/year-panel/index.js +0 -65
  287. package/lib/components/picker/components/panels/year-panel/year-body.js +0 -92
  288. package/lib/components/picker/components/panels/year-panel/year-head.js +0 -35
  289. package/lib/components/picker/components/picker-trigger/index.css +0 -26
  290. package/lib/components/picker/components/picker-trigger/index.js +0 -85
  291. package/lib/components/picker/context.js +0 -15
  292. package/lib/components/picker/index.css +0 -121
  293. package/lib/components/picker/index.js +0 -13
  294. package/lib/components/picker/picker-panels.js +0 -182
  295. package/lib/components/picker/picker.js +0 -133
  296. package/lib/components/picker/type.js +0 -5
  297. package/lib/components/picker/utils.js +0 -28
  298. package/yarn-error.log +0 -21252
@@ -47,7 +47,7 @@ var BodyItem = /*#__PURE__*/function (_Component) {
47
47
  var _super = _createSuper(BodyItem);
48
48
 
49
49
  function BodyItem() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, BodyItem);
53
53
 
@@ -55,7 +55,7 @@ var BodyItem = /*#__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.getClass = function () {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.getClass = function () {
59
59
  var _this$props = _this.props,
60
60
  isAllowSelect = _this$props.isAllowSelect,
61
61
  date = _this$props.date,
@@ -86,7 +86,7 @@ var BodyItem = /*#__PURE__*/function (_Component) {
86
86
  if (_this.disabled) return;
87
87
 
88
88
  _this.props.onSelectDate((0, _moment["default"])(date.format("YYYY/MM/DD")));
89
- }, _temp));
89
+ }, _assertThisInitialized(_this)));
90
90
  }
91
91
 
92
92
  _createClass(BodyItem, [{
@@ -87,7 +87,7 @@ var CalendarHeader = /*#__PURE__*/function (_Component) {
87
87
  var _super = _createSuper(CalendarHeader);
88
88
 
89
89
  function CalendarHeader() {
90
- var _temp, _this;
90
+ var _this;
91
91
 
92
92
  _classCallCheck(this, CalendarHeader);
93
93
 
@@ -95,7 +95,7 @@ var CalendarHeader = /*#__PURE__*/function (_Component) {
95
95
  args[_key] = arguments[_key];
96
96
  }
97
97
 
98
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.setDate = function (func) {
98
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.setDate = function (func) {
99
99
  var date = (0, _moment["default"])(_this.props.date);
100
100
 
101
101
  for (var _len2 = arguments.length, rest = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
@@ -113,7 +113,7 @@ var CalendarHeader = /*#__PURE__*/function (_Component) {
113
113
  }
114
114
 
115
115
  return years;
116
- }, _temp));
116
+ }, _assertThisInitialized(_this)));
117
117
  }
118
118
 
119
119
  _createClass(CalendarHeader, [{
@@ -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, [{
@@ -25,45 +25,42 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
25
25
 
26
26
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
27
27
 
28
- function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); }
29
-
30
28
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
31
29
 
32
30
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
33
31
 
34
32
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
35
33
 
36
- var typeMap = {};
37
-
38
34
  var DrawerManager = /*#__PURE__*/function () {
39
35
  function DrawerManager() {
40
36
  var _this = this;
41
37
 
42
- var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
43
-
44
- _objectDestructuringEmpty(_ref);
45
-
46
38
  _classCallCheck(this, DrawerManager);
47
39
 
48
40
  this.history = [];
49
41
  this.uid = 0;
42
+ this.typeMap = {};
50
43
 
51
44
  this.open = function (type) {
52
45
  var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
53
46
  var drawerProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
54
- if (!type) throw "need provide drawer type";
55
- var Component = typeMap[type];
56
- if (!Component) throw "the type is not regisited";
57
- window.titaTracker && window.titaTracker("action").record({
58
- actionName: type,
59
- actionGroup: "打开推屏",
60
- productName: "OKR"
61
- });
47
+ if (!type) throw new Error("need provide drawer type");
48
+ var Component = typeof type === "string" ? _this.typeMap[type] : type;
49
+ if (!Component) throw new Error("the type is not regisited");
50
+
51
+ if (window.titaTracker) {
52
+ window.titaTracker("action").record({
53
+ actionName: type,
54
+ actionGroup: "打开推屏",
55
+ productName: "OKR"
56
+ });
57
+ }
58
+
62
59
  return new Promise(function (resolve) {
63
60
  clearTimeout(_this.timer);
64
61
  _this.timer = setTimeout(function () {
65
62
  var uid = _this.uid;
66
- _this.uid++;
63
+ _this.uid += 1;
67
64
  var extendedDrawerProps = drawerProps;
68
65
 
69
66
  if (_this.history.length > 0) {
@@ -82,7 +79,7 @@ var DrawerManager = /*#__PURE__*/function () {
82
79
  key: uid
83
80
  }, props)), extendedDrawerProps);
84
81
 
85
- if (_this.history.length == 1) {
82
+ if (_this.history.length === 1) {
86
83
  document.addEventListener("mousedown", _this.autoClose);
87
84
  }
88
85
  }, 200);
@@ -109,14 +106,16 @@ var DrawerManager = /*#__PURE__*/function () {
109
106
  };
110
107
 
111
108
  this.close = function () {
112
- _this.history.reverse().forEach(function (_ref2) {
113
- var resolve = _ref2.resolve;
109
+ _this.history.reverse().forEach(function (_ref) {
110
+ var resolve = _ref.resolve;
114
111
  return resolve();
115
112
  });
116
113
 
117
114
  _this.history = [];
118
115
 
119
116
  _this.drawer.close();
117
+
118
+ document.removeEventListener("mousedown", _this.autoClose);
120
119
  };
121
120
 
122
121
  this.autoClose = function (e) {
@@ -125,20 +124,19 @@ var DrawerManager = /*#__PURE__*/function () {
125
124
  return;
126
125
  }
127
126
 
128
- if ((0, _dom.hasAncestorElement)(e.target, "document-mouse-event-ignore,rc-tooltip,titaui-popup,rc-dialog-root,common-modal,in-modal,task-hot-add")) return;
127
+ if ((0, _dom.hasAncestorElement)(e.target, "document-mouse-event-ignore,rc-tooltip,titaui-popup,rc-dialog-root,common-modal,in-modal,task-hot-add")) {
128
+ return;
129
+ }
129
130
 
130
131
  _this.close();
132
+ };
131
133
 
132
- document.removeEventListener("mousedown", _this.autoClose);
134
+ this.regist = function (type, component) {
135
+ _this.typeMap[type] = component;
133
136
  };
134
137
  }
135
138
 
136
139
  _createClass(DrawerManager, [{
137
- key: "regist",
138
- value: function regist(type, component) {
139
- typeMap[type] = component;
140
- }
141
- }, {
142
140
  key: "drawer",
143
141
  get: function get() {
144
142
  var _this2 = this;
@@ -18,10 +18,16 @@ exports.onlineBroadcastData = exports["default"] = void 0;
18
18
  // href = "https://wiki.tita.com/pages/viewpage.action?pageId=15697741";
19
19
  // }
20
20
  var onlineBroadcastData = [{
21
+ hasOnline: true,
22
+ preContent: "「考核」OKR 维度支持按 KR 评分啦",
23
+ preHref: "https://wiki.tita.com/x/JYOeAQ",
24
+ isNew: true,
25
+ date: "4/11"
26
+ }, {
21
27
  hasOnline: true,
22
28
  preContent: "「OKR 工作法」体验优化 ",
23
29
  preHref: "https://wiki.tita.com/x/jIOeAQ",
24
- isNew: true,
30
+ isNew: false,
25
31
  date: "3/29"
26
32
  }, {
27
33
  hasOnline: true,
@@ -55,7 +55,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
55
55
  var _super = _createSuper(EReportList);
56
56
 
57
57
  function EReportList() {
58
- var _temp, _this;
58
+ var _this;
59
59
 
60
60
  _classCallCheck(this, EReportList);
61
61
 
@@ -63,7 +63,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
63
63
  args[_key] = arguments[_key];
64
64
  }
65
65
 
66
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
66
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
67
67
  selectedPeriodValue: "",
68
68
  showDatePick: false,
69
69
  eReportWeekList: [],
@@ -176,7 +176,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
176
176
  return _this.handlerEReportShareSubmit(submitStatus);
177
177
  }
178
178
  })));
179
- }, _temp));
179
+ }, _assertThisInitialized(_this)));
180
180
  }
181
181
 
182
182
  _createClass(EReportList, [{
@@ -47,7 +47,7 @@ var EmotionsSelectorPop = /*#__PURE__*/function (_PureComponent) {
47
47
  var _super = _createSuper(EmotionsSelectorPop);
48
48
 
49
49
  function EmotionsSelectorPop() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, EmotionsSelectorPop);
53
53
 
@@ -55,7 +55,7 @@ var EmotionsSelectorPop = /*#__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.handleShowPop = function () {
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
59
59
  setTimeout(function () {
60
60
  // @ts-ignore
61
61
  _this.refs.pop.show(_this.refs.trigger);
@@ -63,7 +63,7 @@ var EmotionsSelectorPop = /*#__PURE__*/function (_PureComponent) {
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(EmotionsSelectorPop, [{
@@ -57,7 +57,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
57
57
  var _super = _createSuper(EReportList);
58
58
 
59
59
  function EReportList() {
60
- var _temp, _this;
60
+ var _this;
61
61
 
62
62
  _classCallCheck(this, EReportList);
63
63
 
@@ -65,7 +65,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
65
65
  args[_key] = arguments[_key];
66
66
  }
67
67
 
68
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
68
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
69
69
  selectedPeriodValue: "",
70
70
  showDatePick: false,
71
71
  eReportWeekList: [],
@@ -178,7 +178,7 @@ var EReportList = /*#__PURE__*/function (_React$Component) {
178
178
  return _this.handlerEReportShareSubmit(submitStatus);
179
179
  }
180
180
  })));
181
- }, _temp));
181
+ }, _assertThisInitialized(_this)));
182
182
  }
183
183
 
184
184
  _createClass(EReportList, [{
@@ -83,7 +83,7 @@ var MblogAction = /*#__PURE__*/function (_PureComponent) {
83
83
  var _super = _createSuper(MblogAction);
84
84
 
85
85
  function MblogAction() {
86
- var _temp, _this;
86
+ var _this;
87
87
 
88
88
  _classCallCheck(this, MblogAction);
89
89
 
@@ -91,7 +91,7 @@ var MblogAction = /*#__PURE__*/function (_PureComponent) {
91
91
  args[_key] = arguments[_key];
92
92
  }
93
93
 
94
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
94
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
95
95
  isSendSms: false,
96
96
  // 是否短信通知
97
97
  isShowConfirmPop: false
@@ -121,7 +121,7 @@ var MblogAction = /*#__PURE__*/function (_PureComponent) {
121
121
  isSendSms: false
122
122
  });
123
123
  }
124
- }, _temp));
124
+ }, _assertThisInitialized(_this)));
125
125
  }
126
126
 
127
127
  _createClass(MblogAction, [{
@@ -81,7 +81,7 @@ var EditPop = /*#__PURE__*/function (_PureComponent) {
81
81
  var _super = _createSuper(EditPop);
82
82
 
83
83
  function EditPop() {
84
- var _temp, _this;
84
+ var _this;
85
85
 
86
86
  _classCallCheck(this, EditPop);
87
87
 
@@ -89,7 +89,7 @@ var EditPop = /*#__PURE__*/function (_PureComponent) {
89
89
  args[_key] = arguments[_key];
90
90
  }
91
91
 
92
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.state = {
92
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.state = {
93
93
  value: _this.props.value,
94
94
  showError: false,
95
95
  errMsg: "",
@@ -152,7 +152,7 @@ var EditPop = /*#__PURE__*/function (_PureComponent) {
152
152
  errMsg: (0, _i18nFrontTranslate.inputWordTrans)(value.length, maxLength),
153
153
  disable: !!(maxLength && value.length > maxLength && disable)
154
154
  });
155
- }, _temp));
155
+ }, _assertThisInitialized(_this)));
156
156
  }
157
157
 
158
158
  _createClass(EditPop, [{
@@ -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, [{
@@ -13,27 +13,29 @@ var _essayComponent = _interopRequireDefault(require("../../grid-layout/essay-co
13
13
 
14
14
  var _helpers = require("../../../utils/helpers");
15
15
 
16
- var _getLocale = require("../../../utils/getLocale");
16
+ var _openData = require("../../../utils/open-data");
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
19
 
20
+ var pencil = require("../image/\u7B14.svg");
21
+
20
22
  function CaseLibraryMain(props) {
21
23
  var onApplyTpl = props.onApplyTpl,
22
24
  cardList = props.cardList,
23
25
  isUnlock = props.isUnlock,
24
- okrCasesNum = props.okrCasesNum,
25
26
  handleShowSubmitOkrWindow = props.handleShowSubmitOkrWindow,
26
27
  handleShowPayWindow = props.handleShowPayWindow,
27
28
  isfix = props.isfix,
28
29
  isLoading = props.isLoading,
29
30
  activeNavId = props.activeNavId,
30
- onClose = props.onClose,
31
31
  asideHeightRef = props.asideHeightRef,
32
32
  fixAsideTopScroll = props.fixAsideTopScroll; // @ts-ignore
33
33
 
34
- var DeadLine = BSGlobal.tenantAuthentication.DeadLine; // @ts-ignore
34
+ var DeadLine = window.BSGlobal.tenantAuthentication.DeadLine; // @ts-ignore
35
35
 
36
- var Name = BSGlobal.loginUserInfo.Name;
36
+ var _window$BSGlobal$logi = window.BSGlobal.loginUserInfo,
37
+ Name = _window$BSGlobal$logi.Name,
38
+ Id = _window$BSGlobal$logi.Id;
37
39
  return /*#__PURE__*/_react["default"].createElement("div", {
38
40
  className: "okr-cases-library__mainContainer"
39
41
  }, /*#__PURE__*/_react["default"].createElement(_caseLibraryCardList["default"], {
@@ -60,18 +62,22 @@ function CaseLibraryMain(props) {
60
62
  return handleShowSubmitOkrWindow(true);
61
63
  }
62
64
  }, /*#__PURE__*/_react["default"].createElement("img", {
63
- src: require("../image/\u7B14.svg")
65
+ src: pencil,
66
+ alt: "pencil"
64
67
  }), "\u63D0\u4EA4\u6211\u60F3\u8981\u7684OKR\u7C7B\u578B"), /*#__PURE__*/_react["default"].createElement("div", {
65
68
  className: "okr-cases-library__aside__submitWant__libraryNum"
66
69
  }, "\u5168\u56FD\u6700\u5927 OKR \u6848\u4F8B\u5E93", /*#__PURE__*/_react["default"].createElement("span", {
67
70
  style: {
68
71
  color: "#F05E5E"
69
72
  }
70
- }, " ", okrCasesNum), " ", (0, _getLocale.getLocale)("OKR_MyO_E_Mumber"))), isUnlock ? /*#__PURE__*/_react["default"].createElement("div", {
73
+ }, " 1000+"), " ")), isUnlock ? /*#__PURE__*/_react["default"].createElement("div", {
71
74
  className: "okr-cases-library__aside__memberInfo"
72
75
  }, /*#__PURE__*/_react["default"].createElement("div", {
73
76
  className: "okr-cases-library__aside__memberInfo__name"
74
- }, Name, "\u7684", /*#__PURE__*/_react["default"].createElement("b", null, " VIP "), "\u4F1A\u5458"), /*#__PURE__*/_react["default"].createElement("p", {
77
+ }, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
78
+ name: Name,
79
+ id: Id
80
+ }), "\u7684", /*#__PURE__*/_react["default"].createElement("b", null, " VIP "), "\u4F1A\u5458"), /*#__PURE__*/_react["default"].createElement("p", {
75
81
  className: "okr-cases-library__aside__memberInfo__deadLine"
76
82
  }, "\u6709\u6548\u65E5\u671F\u81F3\uFF1A", DeadLine)) : /*#__PURE__*/_react["default"].createElement("div", {
77
83
  className: "okr-cases-library__aside__advertise",
@@ -45,7 +45,7 @@ var RangeSelectorPop = /*#__PURE__*/function (_PureComponent) {
45
45
  var _super = _createSuper(RangeSelectorPop);
46
46
 
47
47
  function RangeSelectorPop() {
48
- var _temp, _this;
48
+ var _this;
49
49
 
50
50
  _classCallCheck(this, RangeSelectorPop);
51
51
 
@@ -53,7 +53,7 @@ var RangeSelectorPop = /*#__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.handleShowPop = function () {
56
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
57
57
  var isDisabled = _this.props.isDisabled;
58
58
  if (isDisabled) return; // @ts-ignore
59
59
 
@@ -61,7 +61,7 @@ var RangeSelectorPop = /*#__PURE__*/function (_PureComponent) {
61
61
  }, _this.handleHide = function () {
62
62
  // @ts-ignore
63
63
  _this.refs.pop.hide();
64
- }, _temp));
64
+ }, _assertThisInitialized(_this)));
65
65
  }
66
66
 
67
67
  _createClass(RangeSelectorPop, [{
@@ -46,7 +46,7 @@ var BlockSchema = /*#__PURE__*/function (_BaseSchema) {
46
46
  var _super = _createSuper(BlockSchema);
47
47
 
48
48
  function BlockSchema() {
49
- var _temp, _this;
49
+ var _this;
50
50
 
51
51
  _classCallCheck(this, BlockSchema);
52
52
 
@@ -54,7 +54,7 @@ var BlockSchema = /*#__PURE__*/function (_BaseSchema) {
54
54
  args[_key] = arguments[_key];
55
55
  }
56
56
 
57
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.group = 'block', _this.content = 'inline*', _this.inline = false, _this.defining = true, _this.draggable = false, _this.selectable = false, _temp));
57
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.group = 'block', _this.content = 'inline*', _this.inline = false, _this.defining = true, _this.draggable = false, _this.selectable = false, _assertThisInitialized(_this)));
58
58
  }
59
59
 
60
60
  _createClass(BlockSchema, [{
@@ -75,7 +75,7 @@ var InlineSchema = /*#__PURE__*/function (_BaseSchema2) {
75
75
  var _super2 = _createSuper(InlineSchema);
76
76
 
77
77
  function InlineSchema() {
78
- var _temp2, _this2;
78
+ var _this2;
79
79
 
80
80
  _classCallCheck(this, InlineSchema);
81
81
 
@@ -83,7 +83,7 @@ var InlineSchema = /*#__PURE__*/function (_BaseSchema2) {
83
83
  args[_key2] = arguments[_key2];
84
84
  }
85
85
 
86
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.group = 'inline', _this2.inclusive = true, _temp2));
86
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.group = 'inline', _this2.inclusive = true, _assertThisInitialized(_this2)));
87
87
  }
88
88
 
89
89
  _createClass(InlineSchema, [{
@@ -104,7 +104,7 @@ var AtomSchema = /*#__PURE__*/function (_BaseSchema3) {
104
104
  var _super3 = _createSuper(AtomSchema);
105
105
 
106
106
  function AtomSchema() {
107
- var _temp3, _this3;
107
+ var _this3;
108
108
 
109
109
  _classCallCheck(this, AtomSchema);
110
110
 
@@ -112,7 +112,7 @@ var AtomSchema = /*#__PURE__*/function (_BaseSchema3) {
112
112
  args[_key3] = arguments[_key3];
113
113
  }
114
114
 
115
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.isLeaf = true, _this3.draggable = true, _temp3));
115
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.isLeaf = true, _this3.draggable = true, _assertThisInitialized(_this3)));
116
116
  }
117
117
 
118
118
  return _createClass(AtomSchema);
@@ -49,7 +49,7 @@ var BlockquoteSchema = /*#__PURE__*/function (_BlockSchema) {
49
49
  var _super = _createSuper(BlockquoteSchema);
50
50
 
51
51
  function BlockquoteSchema() {
52
- var _temp, _this;
52
+ var _this;
53
53
 
54
54
  _classCallCheck(this, BlockquoteSchema);
55
55
 
@@ -57,9 +57,9 @@ var BlockquoteSchema = /*#__PURE__*/function (_BlockSchema) {
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.content = "block+", _this.parseDOM = [{
60
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "block+", _this.parseDOM = [{
61
61
  tag: "blockquote"
62
- }], _temp));
62
+ }], _assertThisInitialized(_this)));
63
63
  }
64
64
 
65
65
  _createClass(BlockquoteSchema, [{
@@ -80,7 +80,7 @@ var BlockquoteController = /*#__PURE__*/function (_BaseController) {
80
80
  var _super2 = _createSuper(BlockquoteController);
81
81
 
82
82
  function BlockquoteController() {
83
- var _temp2, _this2;
83
+ var _this2;
84
84
 
85
85
  _classCallCheck(this, BlockquoteController);
86
86
 
@@ -88,7 +88,7 @@ var BlockquoteController = /*#__PURE__*/function (_BaseController) {
88
88
  args[_key2] = arguments[_key2];
89
89
  }
90
90
 
91
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
91
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
92
92
  title: (0, _getLocale.getLocale)('Tasks_Tab_MyS_Quote'),
93
93
  icon: 'tu-icon-text-quotel',
94
94
  handler: function handler(editor) {
@@ -97,7 +97,7 @@ var BlockquoteController = /*#__PURE__*/function (_BaseController) {
97
97
  active: function active(state) {
98
98
  return (0, _util.isBlockActive)(state, PLUGIN_NAME);
99
99
  }
100
- }, _temp2));
100
+ }, _assertThisInitialized(_this2)));
101
101
  }
102
102
 
103
103
  return _createClass(BlockquoteController);
@@ -111,7 +111,7 @@ var BlockquotePlugin = /*#__PURE__*/function (_BasePlugin) {
111
111
  var _super3 = _createSuper(BlockquotePlugin);
112
112
 
113
113
  function BlockquotePlugin() {
114
- var _temp3, _this3;
114
+ var _this3;
115
115
 
116
116
  _classCallCheck(this, BlockquotePlugin);
117
117
 
@@ -119,7 +119,7 @@ var BlockquotePlugin = /*#__PURE__*/function (_BasePlugin) {
119
119
  args[_key3] = arguments[_key3];
120
120
  }
121
121
 
122
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = BlockquoteSchema, _this3.controller = BlockquoteController, _temp3));
122
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = BlockquoteSchema, _this3.controller = BlockquoteController, _assertThisInitialized(_this3)));
123
123
  }
124
124
 
125
125
  return _createClass(BlockquotePlugin);