@titaui/pc 1.11.4-1 → 1.11.4-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 (307) hide show
  1. package/lib/components/date-picker/BodyItem.js +3 -3
  2. package/lib/components/date-picker/CalendarHeader.js +3 -3
  3. package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
  4. package/lib/components/dynamic/constant.js +31 -30
  5. package/lib/components/dynamic/dynamic-item/dynamic-interview/index.css +21 -6
  6. package/lib/components/dynamic/dynamic-item/dynamic-interview/index.js +6 -7
  7. package/lib/components/dynamic/dynamic-item/dynamic-interview/interview-content.js +19 -7
  8. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/img/wifi.svg +24 -0
  9. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.css +61 -0
  10. package/{es/pages/group-management/page-view/loading → lib/components/dynamic/dynamic-item/dynamic-interview-share}/index.js +40 -11
  11. package/lib/components/dynamic/dynamic-item/dynamic-interview-share/interview-content.js +69 -0
  12. package/lib/components/dynamic/dynamic-item/index.js +42 -32
  13. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  14. package/lib/components/emotions-selector/selector-pop.js +3 -3
  15. package/lib/components/ereport-list/index.js +3 -3
  16. package/lib/components/mblog/components/MblogAction.js +3 -3
  17. package/lib/components/menus/export-modules/interview-menus/constant.js +12 -12
  18. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  19. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  20. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  21. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  22. package/lib/components/rich-editor/models/schema.js +6 -6
  23. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  24. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  25. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  26. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  27. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  28. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  29. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  30. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  31. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  32. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  33. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  34. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  35. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  36. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  37. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  38. package/lib/components/select/Option.js +3 -3
  39. package/lib/components/task-tree/helper.js +61 -0
  40. package/lib/components/task-tree/images/P1.svg +15 -0
  41. package/lib/components/task-tree/images/P2.svg +15 -0
  42. package/lib/components/task-tree/images/P3.svg +15 -0
  43. package/lib/components/task-tree/images/P4.svg +15 -0
  44. package/lib/components/task-tree/images/P5.svg +15 -0
  45. package/lib/components/task-tree/images/arrow.svg +9 -0
  46. package/lib/components/task-tree/images/empty-131.png +0 -0
  47. package/lib/components/task-tree/images/followed.svg +33 -0
  48. package/lib/components/task-tree/images/nice.svg +108 -0
  49. package/lib/components/task-tree/images/struc12.png +0 -0
  50. package/lib/components/task-tree/images/struc2.png +0 -0
  51. package/lib/components/task-tree/images/xialat-s.svg +13 -0
  52. package/lib/components/task-tree/index.js +27 -0
  53. package/lib/components/task-tree/mock.js +944 -0
  54. package/{es/components/okr-detail/e-list → lib/components/task-tree}/precls.js +1 -1
  55. package/lib/components/task-tree/request-apis.js +88 -0
  56. package/lib/components/task-tree/task-item-node/constant.js +45 -0
  57. package/{es/components/okr-detail/components/okr-tree/tree-node/default-node.js → lib/components/task-tree/task-item-node/e-empty.js} +13 -6
  58. package/{es/components/okr-detail/components/okr-tree/tree-node/e-node → lib/components/task-tree/task-item-node}/e-project.js +29 -34
  59. package/{es/components/e-status-dropdown/index.js → lib/components/task-tree/task-item-node/e-status-dropdown.js} +3 -3
  60. package/{es/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js → lib/components/task-tree/task-item-node/e-task.js} +140 -121
  61. package/{es/components/okr-detail/components/okr-tree/tree-node → lib/components/task-tree/task-item-node}/get-process-color.js +3 -3
  62. package/lib/components/task-tree/task-item-node/index.css +290 -0
  63. package/lib/components/task-tree/task-item-node/task-node-render.js +43 -0
  64. package/lib/components/task-tree/task-tree.css +8 -0
  65. package/{es/components/okr-detail/components/okr-tree/index.js → lib/components/task-tree/task-tree.js} +17 -16
  66. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  67. package/lib/components-v1/animate/AnimateChild.js +3 -3
  68. package/lib/components-v1/avatar/index.js +3 -3
  69. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  70. package/lib/components-v1/progress/CircleProgress.js +3 -3
  71. package/lib/components-v1/select/Option.js +3 -3
  72. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  73. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  74. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  75. package/lib/index.js +8 -0
  76. package/package.json +5 -2
  77. package/.eslintignore +0 -3
  78. package/.eslintrc.js +0 -223
  79. package/.husky/pre-commit +0 -4
  80. package/.prettierignore +0 -31
  81. package/.prettierrc.js +0 -90
  82. package/.vscode/settings.json +0 -5
  83. package/es/components/cascader/time.js +0 -31
  84. package/es/components/common-share/request-apis.js +0 -56
  85. package/es/components/confidence/heart.js +0 -66
  86. package/es/components/create-okr-modal/fields/index.js +0 -17
  87. package/es/components/create-okr-modal/utils/getCreateOkrSurpassPercent.js +0 -154
  88. package/es/components/date-picker/BodyItem.js +0 -121
  89. package/es/components/date-picker/CalendarBody.js +0 -157
  90. package/es/components/date-picker/CalendarHeader.js +0 -187
  91. package/es/components/date-picker/index.js +0 -157
  92. package/es/components/date-range-picker/index.js +0 -210
  93. package/es/components/dialog/index.js +0 -119
  94. package/es/components/dialog-confirm/index.js +0 -154
  95. package/es/components/drop-selector/icon-item.js +0 -40
  96. package/es/components/drop-selector/index.js +0 -179
  97. package/es/components/dynamic/dynamic-like-ranking/mock.js +0 -84
  98. package/es/components/dynamic/dynamic-liking/mock.js +0 -83
  99. package/es/components/dynamic/dynamic-topping/request-api.js +0 -36
  100. package/es/components/e-priority/index.js +0 -88
  101. package/es/components/grid-layout/commen-components/index.js +0 -73
  102. package/es/components/grid-layout/image/could.js +0 -8
  103. package/es/components/grid-layout/image/lv.js +0 -8
  104. package/es/components/grid-layout/image/tita-mask.js +0 -8
  105. package/es/components/help-card/request-api.js +0 -35
  106. package/es/components/icon-button-list/index.js +0 -65
  107. package/es/components/menus/context.js +0 -18
  108. package/es/components/menus/precls.js +0 -8
  109. package/es/components/okr-detail/auth.js +0 -197
  110. package/es/components/okr-detail/components/ao-nice/index.js +0 -245
  111. package/es/components/okr-detail/components/block-line/index.js +0 -20
  112. package/es/components/okr-detail/components/header/index.js +0 -211
  113. package/es/components/okr-detail/components/icon-text/index.js +0 -116
  114. package/es/components/okr-detail/components/okr-tree/precls.js +0 -8
  115. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +0 -88
  116. package/es/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +0 -98
  117. package/es/components/okr-detail/components/okr-tree/tree-node/index.js +0 -90
  118. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/get-process-color.js +0 -46
  119. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +0 -421
  120. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/index.js +0 -54
  121. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +0 -62
  122. package/es/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +0 -94
  123. package/es/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +0 -273
  124. package/es/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +0 -207
  125. package/es/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +0 -236
  126. package/es/components/okr-detail/components/padding-layout.js +0 -22
  127. package/es/components/okr-detail/components/tab-panel-content/index.js +0 -27
  128. package/es/components/okr-detail/context.js +0 -30
  129. package/es/components/okr-detail/e-list/index.js +0 -243
  130. package/es/components/okr-detail/e-list/search-form/fields/e-order.js +0 -172
  131. package/es/components/okr-detail/e-list/search-form/fields/e-status.js +0 -99
  132. package/es/components/okr-detail/e-list/search-form/fields/e-user.js +0 -49
  133. package/es/components/okr-detail/e-list/search-form/index.js +0 -143
  134. package/es/components/okr-detail/error-page/index.js +0 -33
  135. package/es/components/okr-detail/index.js +0 -428
  136. package/es/components/okr-detail/loading/index.js +0 -28
  137. package/es/components/okr-detail/okr-list/add-parent-okr.js +0 -37
  138. package/es/components/okr-detail/okr-list/create-kr-item/heart.js +0 -38
  139. package/es/components/okr-detail/okr-list/drag-order-kr.js +0 -62
  140. package/es/components/okr-detail/okr-list/empty/index.js +0 -48
  141. package/es/components/okr-detail/okr-list/index.js +0 -524
  142. package/es/components/okr-detail/okr-list/warp-parent-okr.js +0 -21
  143. package/es/components/okr-detail/store.js +0 -1
  144. package/es/components/okr-flow/child-node/fields/creator.js +0 -175
  145. package/es/components/okr-flow/child-node/fields/okrClassify.js +0 -31
  146. package/es/components/okr-flow/child-node/fields/okrType.js +0 -21
  147. package/es/components/okr-flow/child-node/helper.js +0 -35
  148. package/es/components/okr-flow/child-node/index.js +0 -110
  149. package/es/components/okr-flow/child-node/kr-node.js +0 -75
  150. package/es/components/okr-flow/child-node/work-node.js +0 -242
  151. package/es/components/okr-flow/context.js +0 -14
  152. package/es/components/okr-flow/empty/index.js +0 -29
  153. package/es/components/okr-flow/export-modules/okr-search-panel/index.js +0 -394
  154. package/es/components/okr-flow/index.js +0 -24
  155. package/es/components/okr-flow/mini-map/index.js +0 -112
  156. package/es/components/okr-flow/mini-map/map.js +0 -145
  157. package/es/components/okr-flow/mini-map/mini-node.js +0 -57
  158. package/es/components/okr-flow/mini-map/utils.js +0 -79
  159. package/es/components/okr-flow/okr-map/index.js +0 -192
  160. package/es/components/okr-flow/open-data/index.js +0 -115
  161. package/es/components/okr-flow/precls.js +0 -8
  162. package/es/components/okr-flow/request-apis.js +0 -118
  163. package/es/components/okr-flow/root-node/index.js +0 -229
  164. package/es/components/okr-flow/utils/config.js +0 -18
  165. package/es/components/okr-flow/utils/helper.js +0 -36
  166. package/es/components/okr-flow/utils/index.js +0 -66
  167. package/es/components/okr-flow/utils/tree-handler.js +0 -323
  168. package/es/components/okr-progress-modal/helper.js +0 -156
  169. package/es/components/okr-progress-modal/request-apis.js +0 -34
  170. package/es/components/okr-share/request-apis.js +0 -56
  171. package/es/components/okrcase-library/server/network.js +0 -407
  172. package/es/components/pagination/locale/en_US.js +0 -22
  173. package/es/components/pagination/locale/zh_CN.js +0 -22
  174. package/es/components/point-demo/drop-down-box/index.js +0 -159
  175. package/es/components/point-demo/index.js +0 -533
  176. package/es/components/point-demo/input/index.js +0 -176
  177. package/es/components/point-demo/point-demo.js +0 -75
  178. package/es/components/point-demo/popup/index.js +0 -113
  179. package/es/components/point-demo/popup/placement.js +0 -44
  180. package/es/components/range-picker-pop/index.js +0 -273
  181. package/es/components/scrollbar/simplebar/helpers.js +0 -59
  182. package/es/components/scrollbar/simplebar/index.js +0 -91
  183. package/es/components/scrollbar/simplebar/scrollbar-width.js +0 -47
  184. package/es/components/scrollbar/simplebar/simplebar.js +0 -852
  185. package/es/components/scrollbar/simplebar-react.js +0 -163
  186. package/es/components/search-dropdown/index.js +0 -40
  187. package/es/components/search-input/index.js +0 -126
  188. package/es/components/select/Option.js +0 -94
  189. package/es/components/select/index.js +0 -330
  190. package/es/components/selector-input/debounce.js +0 -36
  191. package/es/components/selector-input/index.js +0 -109
  192. package/es/components/slider-input/index.js +0 -119
  193. package/es/components/switch/index.js +0 -39
  194. package/es/components/table/index.js +0 -275
  195. package/es/components/tabs/index.js +0 -63
  196. package/es/components/task-relation-modal/tree-node/index.js +0 -58
  197. package/es/components/tita-chart/charts/img/could.js +0 -8
  198. package/es/components/tooltip/error-tip.js +0 -24
  199. package/es/components/tooltip/index.js +0 -21
  200. package/es/components/tree/index.js +0 -79
  201. package/es/components/tree/precls.js +0 -8
  202. package/es/components/upvote/request-apis.js +0 -45
  203. package/es/components/user-selector/action-btns/btn-cancel.js +0 -21
  204. package/es/components/user-selector/action-btns/btn-ok.js +0 -21
  205. package/es/components/user-selector/action-btns/index.js +0 -27
  206. package/es/components/user-selector/context.js +0 -18
  207. package/es/components/user-selector/empty/group.js +0 -55
  208. package/es/components/user-selector/empty/index.js +0 -28
  209. package/es/components/user-selector/export-modules/depart-search-selector/result-part.js +0 -41
  210. package/es/components/user-selector/export-modules/group-selector/index.js +0 -170
  211. package/es/components/user-selector/export-modules/group-selector/searched-panel.js +0 -68
  212. package/es/components/user-selector/export-modules/multiple-user-selector--bak/index.js +0 -246
  213. package/es/components/user-selector/index.js +0 -25
  214. package/es/components/user-selector/layout/index.js +0 -25
  215. package/es/components/user-selector/loading/index.js +0 -18
  216. package/es/components/user-selector/request-apis.js +0 -180
  217. package/es/components/user-selector/searched-panel/index.js +0 -139
  218. package/es/components/user-selector/searched-panel/result-part.js +0 -43
  219. package/es/components/user-selector/select-tree/selected-tree/index.js +0 -91
  220. package/es/components/user-selector/select-tree/tree-nodes/tree-depart-node/index.js +0 -48
  221. package/es/components/user-selector/select-tree/tree-nodes/tree-duties-node/index.js +0 -27
  222. package/es/components/user-selector/select-tree/tree-nodes/tree-group-node/index.js +0 -57
  223. package/es/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +0 -93
  224. package/es/components/user-selector/utils.js +0 -139
  225. package/es/components/viewer/ImageListRender.js +0 -143
  226. package/es/components/viewer/index.js +0 -168
  227. package/es/components/word-cloud/index.js +0 -109
  228. package/es/components/word-cloud/request-apis.js +0 -26
  229. package/es/components-v1/animate/AnimateChild.js +0 -76
  230. package/es/components-v1/animate/animate.js +0 -148
  231. package/es/components-v1/animate/index.js +0 -13
  232. package/es/components-v1/dom/index.js +0 -30
  233. package/es/components-v1/placement/index.js +0 -13
  234. package/es/components-v1/placement/placement.js +0 -111
  235. package/es/components-v1/placement/placementInner.js +0 -139
  236. package/es/components-v1/pop/Pop.js +0 -246
  237. package/es/components-v1/pop/PopInner.js +0 -163
  238. package/es/components-v1/pop/index.js +0 -13
  239. package/es/components-v1/progress/CircleProgress.js +0 -152
  240. package/es/components-v1/progress/LineProgress.js +0 -83
  241. package/es/components-v1/progress/index.js +0 -80
  242. package/es/components-v1/select/Option.js +0 -94
  243. package/es/components-v1/select/index.js +0 -330
  244. package/es/components-v1/utils/animate/animate.js +0 -103
  245. package/es/components-v1/utils/animate/event.js +0 -79
  246. package/es/components-v1/utils/dom/index.js +0 -30
  247. package/es/components-v1/utils/placement/autoAdjustPlacement.js +0 -93
  248. package/es/components-v1/utils/placement/getContainerVisibleArea.js +0 -22
  249. package/es/components-v1/utils/placement/getExpectPlacement.js +0 -49
  250. package/es/components-v1/utils/placement/getPlacementInContainer.js +0 -26
  251. package/es/components-v1/utils/placement/placement.js +0 -76
  252. package/es/index.js +0 -777
  253. package/es/pages/appointment-demo/drop-down-box/index.js +0 -159
  254. package/es/pages/appointment-demo/index.js +0 -649
  255. package/es/pages/appointment-demo/input/index.js +0 -176
  256. package/es/pages/appointment-demo/popup/index.js +0 -113
  257. package/es/pages/appointment-demo/popup/placement.js +0 -44
  258. package/es/pages/group-management/components/checkbox/index.js +0 -28
  259. package/es/pages/group-management/components/input-form/index.js +0 -174
  260. package/es/pages/group-management/components/radio/index.js +0 -21
  261. package/es/pages/group-management/components/table/index.js +0 -174
  262. package/es/pages/group-management/groupInterface.js +0 -293
  263. package/es/pages/group-management/index.js +0 -13
  264. package/es/pages/group-management/page-view/empty.js +0 -111
  265. package/es/pages/group-management/page-view/group-empty.js +0 -66
  266. package/es/pages/group-management/page-view/importGroupStaff/index.js +0 -208
  267. package/es/pages/group-management/page-view/index.js +0 -412
  268. package/es/pages/group-management/table/index.js +0 -104
  269. package/es/pages/group-management/tree/add-group-dialog/index.js +0 -153
  270. package/es/pages/group-management/tree/delete-group-dialog/index.js +0 -82
  271. package/es/pages/group-management/tree/edit-group-dialog/index.js +0 -155
  272. package/es/pages/group-management/tree/group-form/index.js +0 -207
  273. package/es/pages/group-management/tree/index.js +0 -168
  274. package/es/pages/group-management/tree/operation-panel.js +0 -41
  275. package/es/pages/group-management/tree/trigger-render.js +0 -99
  276. package/es/pages/like-ranking/mock.js +0 -366
  277. package/es/pages/okr-map/export-modules/index.js +0 -1
  278. package/es/pages/okr-map/export-modules/okr-map/header/index.js +0 -182
  279. package/es/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +0 -47
  280. package/es/pages/okr-map/export-modules/okr-map/okr-map.js +0 -497
  281. package/es/pages/okr-map/export-modules/share-okr-page/header/index.js +0 -69
  282. package/es/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +0 -168
  283. package/es/pages/okr-map/hooks/useStorage.js +0 -96
  284. package/es/pages/okr-map/index.js +0 -18
  285. package/es/pages/okr-map/level2-search/depart.js +0 -53
  286. package/es/pages/okr-map/level2-search/group.js +0 -69
  287. package/es/pages/okr-map/level2-search/index.js +0 -51
  288. package/es/pages/okr-map/level2-search/level2-input.js +0 -46
  289. package/es/pages/okr-map/level2-search/user.js +0 -54
  290. package/es/pages/okr-map/no-okr/index.js +0 -24
  291. package/es/pages/okr-map/number-select/index.js +0 -81
  292. package/es/pages/okr-map/open-data/index.js +0 -115
  293. package/es/pages/okr-map/precls.js +0 -8
  294. package/es/pages/okr-map/request-apis.js +0 -76
  295. package/es/pages/okr-map/share-dialog/index.js +0 -122
  296. package/es/pages/okr-map/unsupport-ie/index.js +0 -83
  297. package/es/pages/okr-map/utils.js +0 -51
  298. package/es/utils/auth.js +0 -294
  299. package/es/utils/bs-global.js +0 -114
  300. package/es/utils/local-storage.js +0 -42
  301. package/es/utils/mblog.js +0 -33
  302. package/es/utils/mock-bsglobal.js +0 -1837
  303. package/es/utils/open-data.js +0 -341
  304. package/es/utils/request-v1.js +0 -115
  305. package/es/utils/request.js +0 -183
  306. package/es/utils/tools.js +0 -286
  307. package/yarn-error.log +0 -21252
@@ -56,7 +56,7 @@ var BulletListSchema = /*#__PURE__*/function (_BlockSchema) {
56
56
  var _super = _createSuper(BulletListSchema);
57
57
 
58
58
  function BulletListSchema() {
59
- var _temp, _this;
59
+ var _this;
60
60
 
61
61
  _classCallCheck(this, BulletListSchema);
62
62
 
@@ -64,9 +64,9 @@ var BulletListSchema = /*#__PURE__*/function (_BlockSchema) {
64
64
  args[_key] = arguments[_key];
65
65
  }
66
66
 
67
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = 'bulletList', _this.content = 'listItem+', _this.parseDOM = [{
67
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = 'bulletList', _this.content = 'listItem+', _this.parseDOM = [{
68
68
  tag: "ul"
69
- }], _temp));
69
+ }], _assertThisInitialized(_this)));
70
70
  }
71
71
 
72
72
  _createClass(BulletListSchema, [{
@@ -89,7 +89,7 @@ var OrderedListSchema = /*#__PURE__*/function (_BlockSchema2) {
89
89
  var _super2 = _createSuper(OrderedListSchema);
90
90
 
91
91
  function OrderedListSchema() {
92
- var _temp2, _this2;
92
+ var _this2;
93
93
 
94
94
  _classCallCheck(this, OrderedListSchema);
95
95
 
@@ -97,7 +97,7 @@ var OrderedListSchema = /*#__PURE__*/function (_BlockSchema2) {
97
97
  args[_key2] = arguments[_key2];
98
98
  }
99
99
 
100
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = 'orderedList', _this2.content = 'listItem+', _this2.attrs = {
100
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = 'orderedList', _this2.content = 'listItem+', _this2.attrs = {
101
101
  order: {
102
102
  "default": 1
103
103
  }
@@ -112,7 +112,7 @@ var OrderedListSchema = /*#__PURE__*/function (_BlockSchema2) {
112
112
  return node.attrs.order == 1 ? ["ol", 0] : ["ol", {
113
113
  start: node.attrs.order
114
114
  }, 0];
115
- }, _temp2));
115
+ }, _assertThisInitialized(_this2)));
116
116
  }
117
117
 
118
118
  return _createClass(OrderedListSchema);
@@ -126,7 +126,7 @@ var ListItemSchema = /*#__PURE__*/function (_BlockSchema3) {
126
126
  var _super3 = _createSuper(ListItemSchema);
127
127
 
128
128
  function ListItemSchema() {
129
- var _temp3, _this3;
129
+ var _this3;
130
130
 
131
131
  _classCallCheck(this, ListItemSchema);
132
132
 
@@ -134,9 +134,9 @@ var ListItemSchema = /*#__PURE__*/function (_BlockSchema3) {
134
134
  args[_key3] = arguments[_key3];
135
135
  }
136
136
 
137
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = 'listItem', _this3.group = 'listItem', _this3.content = 'paragraph block*', _this3.parseDOM = [{
137
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = 'listItem', _this3.group = 'listItem', _this3.content = 'paragraph block*', _this3.parseDOM = [{
138
138
  tag: "li"
139
- }], _temp3));
139
+ }], _assertThisInitialized(_this3)));
140
140
  }
141
141
 
142
142
  _createClass(ListItemSchema, [{
@@ -159,7 +159,7 @@ var ListController = /*#__PURE__*/function (_BaseController) {
159
159
  var _super4 = _createSuper(ListController);
160
160
 
161
161
  function ListController() {
162
- var _temp4, _this4;
162
+ var _this4;
163
163
 
164
164
  _classCallCheck(this, ListController);
165
165
 
@@ -167,7 +167,7 @@ var ListController = /*#__PURE__*/function (_BaseController) {
167
167
  args[_key4] = arguments[_key4];
168
168
  }
169
169
 
170
- return _possibleConstructorReturn(_this4, (_temp4 = _this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.toolbar = [{
170
+ return _possibleConstructorReturn(_this4, (_this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.toolbar = [{
171
171
  title: (0, _getLocale.getLocale)('Tasks_Tab_MyS_Numberedlist'),
172
172
  icon: 'tu-icon-text-bullet-list',
173
173
  handler: function handler(editor) {
@@ -193,7 +193,7 @@ var ListController = /*#__PURE__*/function (_BaseController) {
193
193
  disabled: function disabled(state) {
194
194
  return _main.pluginKey.getState(state).orderedListDisabled;
195
195
  }
196
- }], _this4.pmPlugins = [_main["default"], _keymap["default"]], _temp4));
196
+ }], _this4.pmPlugins = [_main["default"], _keymap["default"]], _assertThisInitialized(_this4)));
197
197
  }
198
198
 
199
199
  return _createClass(ListController);
@@ -207,7 +207,7 @@ var ListPlugin = /*#__PURE__*/function (_BasePlugin) {
207
207
  var _super5 = _createSuper(ListPlugin);
208
208
 
209
209
  function ListPlugin() {
210
- var _temp5, _this5;
210
+ var _this5;
211
211
 
212
212
  _classCallCheck(this, ListPlugin);
213
213
 
@@ -215,7 +215,7 @@ var ListPlugin = /*#__PURE__*/function (_BasePlugin) {
215
215
  args[_key5] = arguments[_key5];
216
216
  }
217
217
 
218
- return _possibleConstructorReturn(_this5, (_temp5 = _this5 = _super5.call.apply(_super5, [this].concat(args)), _this5.name = PLUGIN_NAME, _this5.schema = [BulletListSchema, OrderedListSchema, ListItemSchema], _this5.controller = ListController, _temp5));
218
+ return _possibleConstructorReturn(_this5, (_this5 = _super5.call.apply(_super5, [this].concat(args)), _this5.name = PLUGIN_NAME, _this5.schema = [BulletListSchema, OrderedListSchema, ListItemSchema], _this5.controller = ListController, _assertThisInitialized(_this5)));
219
219
  }
220
220
 
221
221
  return _createClass(ListPlugin);
@@ -41,7 +41,7 @@ var ParagraphSchema = /*#__PURE__*/function (_BlockSchema) {
41
41
  var _super = _createSuper(ParagraphSchema);
42
42
 
43
43
  function ParagraphSchema() {
44
- var _temp, _this;
44
+ var _this;
45
45
 
46
46
  _classCallCheck(this, ParagraphSchema);
47
47
 
@@ -49,9 +49,9 @@ var ParagraphSchema = /*#__PURE__*/function (_BlockSchema) {
49
49
  args[_key] = arguments[_key];
50
50
  }
51
51
 
52
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "inline*", _this.parseDOM = [{
52
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "inline*", _this.parseDOM = [{
53
53
  tag: "p"
54
- }], _temp));
54
+ }], _assertThisInitialized(_this)));
55
55
  }
56
56
 
57
57
  _createClass(ParagraphSchema, [{
@@ -74,7 +74,7 @@ var ParagraphPlugin = /*#__PURE__*/function (_BasePlugin) {
74
74
  var _super2 = _createSuper(ParagraphPlugin);
75
75
 
76
76
  function ParagraphPlugin() {
77
- var _temp2, _this2;
77
+ var _this2;
78
78
 
79
79
  _classCallCheck(this, ParagraphPlugin);
80
80
 
@@ -82,7 +82,7 @@ var ParagraphPlugin = /*#__PURE__*/function (_BasePlugin) {
82
82
  args[_key2] = arguments[_key2];
83
83
  }
84
84
 
85
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.schema = ParagraphSchema, _temp2));
85
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.schema = ParagraphSchema, _assertThisInitialized(_this2)));
86
86
  }
87
87
 
88
88
  return _createClass(ParagraphPlugin);
@@ -51,7 +51,7 @@ var CorePluginController = /*#__PURE__*/function (_BaseController) {
51
51
  var _super = _createSuper(CorePluginController);
52
52
 
53
53
  function CorePluginController() {
54
- var _temp, _this;
54
+ var _this;
55
55
 
56
56
  _classCallCheck(this, CorePluginController);
57
57
 
@@ -59,7 +59,7 @@ var CorePluginController = /*#__PURE__*/function (_BaseController) {
59
59
  args[_key] = arguments[_key];
60
60
  }
61
61
 
62
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [_focusHandler["default"], (0, _prosemirrorHistory.history)(), (0, _keymap["default"])(), (0, _prosemirrorKeymap.keymap)(_prosemirrorCommands.baseKeymap)], _temp));
62
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [_focusHandler["default"], (0, _prosemirrorHistory.history)(), (0, _keymap["default"])(), (0, _prosemirrorKeymap.keymap)(_prosemirrorCommands.baseKeymap)], _assertThisInitialized(_this)));
63
63
  }
64
64
 
65
65
  return _createClass(CorePluginController);
@@ -73,7 +73,7 @@ var CorePlugin = /*#__PURE__*/function (_BasePlugin) {
73
73
  var _super2 = _createSuper(CorePlugin);
74
74
 
75
75
  function CorePlugin() {
76
- var _temp2, _this2;
76
+ var _this2;
77
77
 
78
78
  _classCallCheck(this, CorePlugin);
79
79
 
@@ -81,7 +81,7 @@ var CorePlugin = /*#__PURE__*/function (_BasePlugin) {
81
81
  args[_key2] = arguments[_key2];
82
82
  }
83
83
 
84
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = CorePluginController, _temp2));
84
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = CorePluginController, _assertThisInitialized(_this2)));
85
85
  }
86
86
 
87
87
  return _createClass(CorePlugin);
@@ -47,7 +47,7 @@ var AlignmentController = /*#__PURE__*/function (_BaseController) {
47
47
  var _super = _createSuper(AlignmentController);
48
48
 
49
49
  function AlignmentController() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, AlignmentController);
53
53
 
@@ -55,7 +55,7 @@ var AlignmentController = /*#__PURE__*/function (_BaseController) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.toolbar = [{
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.toolbar = [{
59
59
  title: (0, _getLocale.getLocale)('Tasks_Tab_MyS_Alignleft'),
60
60
  icon: 'tu-icon-text-left',
61
61
  handler: function handler(editor) {
@@ -82,7 +82,7 @@ var AlignmentController = /*#__PURE__*/function (_BaseController) {
82
82
  active: function active(state) {
83
83
  return (0, _utils.hasAlignment)(state, 'right');
84
84
  }
85
- }], _temp));
85
+ }], _assertThisInitialized(_this)));
86
86
  }
87
87
 
88
88
  return _createClass(AlignmentController);
@@ -96,7 +96,7 @@ var AlignmentPlugin = /*#__PURE__*/function (_BasePlugin) {
96
96
  var _super2 = _createSuper(AlignmentPlugin);
97
97
 
98
98
  function AlignmentPlugin() {
99
- var _temp2, _this2;
99
+ var _this2;
100
100
 
101
101
  _classCallCheck(this, AlignmentPlugin);
102
102
 
@@ -104,7 +104,7 @@ var AlignmentPlugin = /*#__PURE__*/function (_BasePlugin) {
104
104
  args[_key2] = arguments[_key2];
105
105
  }
106
106
 
107
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = AlignmentController, _temp2));
107
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = AlignmentController, _assertThisInitialized(_this2)));
108
108
  }
109
109
 
110
110
  return _createClass(AlignmentPlugin);
@@ -85,7 +85,7 @@ var PlaceholderController = /*#__PURE__*/function (_BaseController) {
85
85
  var _super = _createSuper(PlaceholderController);
86
86
 
87
87
  function PlaceholderController() {
88
- var _temp, _this;
88
+ var _this;
89
89
 
90
90
  _classCallCheck(this, PlaceholderController);
91
91
 
@@ -93,7 +93,7 @@ var PlaceholderController = /*#__PURE__*/function (_BaseController) {
93
93
  args[_key] = arguments[_key];
94
94
  }
95
95
 
96
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [placeHolderPlugin], _temp));
96
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [placeHolderPlugin], _assertThisInitialized(_this)));
97
97
  }
98
98
 
99
99
  return _createClass(PlaceholderController);
@@ -107,7 +107,7 @@ var PlaceholderPlugin = /*#__PURE__*/function (_BasePlugin) {
107
107
  var _super2 = _createSuper(PlaceholderPlugin);
108
108
 
109
109
  function PlaceholderPlugin() {
110
- var _temp2, _this2;
110
+ var _this2;
111
111
 
112
112
  _classCallCheck(this, PlaceholderPlugin);
113
113
 
@@ -115,7 +115,7 @@ var PlaceholderPlugin = /*#__PURE__*/function (_BasePlugin) {
115
115
  args[_key2] = arguments[_key2];
116
116
  }
117
117
 
118
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = PlaceholderController, _temp2));
118
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = PlaceholderController, _assertThisInitialized(_this2)));
119
119
  }
120
120
 
121
121
  return _createClass(PlaceholderPlugin);
@@ -71,7 +71,7 @@ var FontColorSchema = /*#__PURE__*/function (_InlineSchema) {
71
71
  var _super = _createSuper(FontColorSchema);
72
72
 
73
73
  function FontColorSchema() {
74
- var _temp, _this;
74
+ var _this;
75
75
 
76
76
  _classCallCheck(this, FontColorSchema);
77
77
 
@@ -79,7 +79,7 @@ var FontColorSchema = /*#__PURE__*/function (_InlineSchema) {
79
79
  args[_key] = arguments[_key];
80
80
  }
81
81
 
82
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = FONT_COLOR_SCHEMA_NAME, _this.attrs = {
82
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = FONT_COLOR_SCHEMA_NAME, _this.attrs = {
83
83
  color: {
84
84
  "default": ''
85
85
  }
@@ -91,7 +91,7 @@ var FontColorSchema = /*#__PURE__*/function (_InlineSchema) {
91
91
  getAttrs: function getAttrs(dom) {
92
92
  return getColorAttrs(dom.getAttribute('color'));
93
93
  }
94
- }], _temp));
94
+ }], _assertThisInitialized(_this)));
95
95
  }
96
96
 
97
97
  _createClass(FontColorSchema, [{
@@ -129,7 +129,7 @@ var BackgroundColorSchema = /*#__PURE__*/function (_InlineSchema2) {
129
129
  var _super2 = _createSuper(BackgroundColorSchema);
130
130
 
131
131
  function BackgroundColorSchema() {
132
- var _temp2, _this2;
132
+ var _this2;
133
133
 
134
134
  _classCallCheck(this, BackgroundColorSchema);
135
135
 
@@ -137,7 +137,7 @@ var BackgroundColorSchema = /*#__PURE__*/function (_InlineSchema2) {
137
137
  args[_key2] = arguments[_key2];
138
138
  }
139
139
 
140
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = BACKGROUND_COLOR_SCHEMA_NAME, _this2.attrs = {
140
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = BACKGROUND_COLOR_SCHEMA_NAME, _this2.attrs = {
141
141
  color: {
142
142
  "default": ''
143
143
  }
@@ -147,7 +147,7 @@ var BackgroundColorSchema = /*#__PURE__*/function (_InlineSchema2) {
147
147
  }, {
148
148
  style: 'background-color',
149
149
  getAttrs: getBgAttrs
150
- }], _temp2));
150
+ }], _assertThisInitialized(_this2)));
151
151
  }
152
152
 
153
153
  _createClass(BackgroundColorSchema, [{
@@ -170,7 +170,7 @@ var ColorController = /*#__PURE__*/function (_BaseController) {
170
170
  var _super3 = _createSuper(ColorController);
171
171
 
172
172
  function ColorController() {
173
- var _temp3, _this3;
173
+ var _this3;
174
174
 
175
175
  _classCallCheck(this, ColorController);
176
176
 
@@ -178,7 +178,7 @@ var ColorController = /*#__PURE__*/function (_BaseController) {
178
178
  args[_key3] = arguments[_key3];
179
179
  }
180
180
 
181
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.toolbar = {
181
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.toolbar = {
182
182
  title: (0, _getLocale.getLocale)('Tasks_Tab_MyS_Textcolor'),
183
183
  icon: 'tu-icon-text-color',
184
184
  handler: function handler(editor) {
@@ -186,7 +186,7 @@ var ColorController = /*#__PURE__*/function (_BaseController) {
186
186
  editor.view.focus();
187
187
  },
188
188
  renderMenu: _selector["default"]
189
- }, _temp3));
189
+ }, _assertThisInitialized(_this3)));
190
190
  }
191
191
 
192
192
  return _createClass(ColorController);
@@ -200,7 +200,7 @@ var ColorPlugin = /*#__PURE__*/function (_BasePlugin) {
200
200
  var _super4 = _createSuper(ColorPlugin);
201
201
 
202
202
  function ColorPlugin() {
203
- var _temp4, _this4;
203
+ var _this4;
204
204
 
205
205
  _classCallCheck(this, ColorPlugin);
206
206
 
@@ -208,7 +208,7 @@ var ColorPlugin = /*#__PURE__*/function (_BasePlugin) {
208
208
  args[_key4] = arguments[_key4];
209
209
  }
210
210
 
211
- return _possibleConstructorReturn(_this4, (_temp4 = _this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.name = PLUGIN_NAME, _this4.schema = [FontColorSchema, BackgroundColorSchema], _this4.controller = ColorController, _temp4));
211
+ return _possibleConstructorReturn(_this4, (_this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.name = PLUGIN_NAME, _this4.schema = [FontColorSchema, BackgroundColorSchema], _this4.controller = ColorController, _assertThisInitialized(_this4)));
212
212
  }
213
213
 
214
214
  return _createClass(ColorPlugin);
@@ -57,7 +57,7 @@ var DeleteLineSchema = /*#__PURE__*/function (_InlineSchema) {
57
57
  var _super = _createSuper(DeleteLineSchema);
58
58
 
59
59
  function DeleteLineSchema() {
60
- var _temp, _this;
60
+ var _this;
61
61
 
62
62
  _classCallCheck(this, DeleteLineSchema);
63
63
 
@@ -65,7 +65,7 @@ var DeleteLineSchema = /*#__PURE__*/function (_InlineSchema) {
65
65
  args[_key] = arguments[_key];
66
66
  }
67
67
 
68
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.parseDOM = [{
68
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.parseDOM = [{
69
69
  tag: 's',
70
70
  priority: 25
71
71
  }, {
@@ -77,7 +77,7 @@ var DeleteLineSchema = /*#__PURE__*/function (_InlineSchema) {
77
77
  }, {
78
78
  style: 'text-decoration-line',
79
79
  getAttrs: getAttrs
80
- }], _temp));
80
+ }], _assertThisInitialized(_this)));
81
81
  }
82
82
 
83
83
  _createClass(DeleteLineSchema, [{
@@ -100,7 +100,7 @@ var DeleteLineController = /*#__PURE__*/function (_BaseController) {
100
100
  var _super2 = _createSuper(DeleteLineController);
101
101
 
102
102
  function DeleteLineController() {
103
- var _temp2, _this2;
103
+ var _this2;
104
104
 
105
105
  _classCallCheck(this, DeleteLineController);
106
106
 
@@ -108,7 +108,7 @@ var DeleteLineController = /*#__PURE__*/function (_BaseController) {
108
108
  args[_key2] = arguments[_key2];
109
109
  }
110
110
 
111
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
111
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
112
112
  title: (0, _getLocale.getLocale)('Rtx_Striketjrough'),
113
113
  icon: 'tu-icon-text-delline',
114
114
  handler: function handler(editor) {
@@ -118,7 +118,7 @@ var DeleteLineController = /*#__PURE__*/function (_BaseController) {
118
118
  active: function active(state) {
119
119
  return (0, _mark.selectionContainsMark)(state, PLUGIN_NAME);
120
120
  }
121
- }, _temp2));
121
+ }, _assertThisInitialized(_this2)));
122
122
  }
123
123
 
124
124
  return _createClass(DeleteLineController);
@@ -132,7 +132,7 @@ var DeleteLinePlugin = /*#__PURE__*/function (_BasePlugin) {
132
132
  var _super3 = _createSuper(DeleteLinePlugin);
133
133
 
134
134
  function DeleteLinePlugin() {
135
- var _temp3, _this3;
135
+ var _this3;
136
136
 
137
137
  _classCallCheck(this, DeleteLinePlugin);
138
138
 
@@ -140,7 +140,7 @@ var DeleteLinePlugin = /*#__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 = DeleteLineSchema, _this3.controller = DeleteLineController, _temp3));
143
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = DeleteLineSchema, _this3.controller = DeleteLineController, _assertThisInitialized(_this3)));
144
144
  }
145
145
 
146
146
  return _createClass(DeleteLinePlugin);
@@ -41,7 +41,7 @@ var EmSchema = /*#__PURE__*/function (_InlineSchema) {
41
41
  var _super = _createSuper(EmSchema);
42
42
 
43
43
  function EmSchema() {
44
- var _temp, _this;
44
+ var _this;
45
45
 
46
46
  _classCallCheck(this, EmSchema);
47
47
 
@@ -49,13 +49,13 @@ var EmSchema = /*#__PURE__*/function (_InlineSchema) {
49
49
  args[_key] = arguments[_key];
50
50
  }
51
51
 
52
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.parseDOM = [{
52
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.parseDOM = [{
53
53
  tag: "i"
54
54
  }, {
55
55
  tag: "em"
56
56
  }, {
57
57
  style: "font-style=italic"
58
- }], _temp));
58
+ }], _assertThisInitialized(_this)));
59
59
  }
60
60
 
61
61
  _createClass(EmSchema, [{
@@ -76,7 +76,7 @@ var EmPlugin = /*#__PURE__*/function (_BasePlugin) {
76
76
  var _super2 = _createSuper(EmPlugin);
77
77
 
78
78
  function EmPlugin() {
79
- var _temp2, _this2;
79
+ var _this2;
80
80
 
81
81
  _classCallCheck(this, EmPlugin);
82
82
 
@@ -84,7 +84,7 @@ var EmPlugin = /*#__PURE__*/function (_BasePlugin) {
84
84
  args[_key2] = arguments[_key2];
85
85
  }
86
86
 
87
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.schema = EmSchema, _temp2));
87
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.schema = EmSchema, _assertThisInitialized(_this2)));
88
88
  }
89
89
 
90
90
  return _createClass(EmPlugin);
@@ -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);