@atlaskit/editor-common 88.13.2 → 89.0.0

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 (271) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/annotation/index.js +1 -1
  3. package/dist/cjs/card/MediaAndEmbedsToolbar/index.js +1 -1
  4. package/dist/cjs/card/index.js +1 -1
  5. package/dist/cjs/clipboard/index.js +1 -1
  6. package/dist/cjs/commands/index.js +4 -4
  7. package/dist/cjs/element-browser/ElementBrowser.js +2 -2
  8. package/dist/cjs/element-browser/components/CategoryList.js +1 -1
  9. package/dist/cjs/element-browser/components/ElementBrowserLoader.js +1 -1
  10. package/dist/cjs/element-browser/components/ElementList/ElementList.js +1 -1
  11. package/dist/cjs/element-browser/components/ElementSearch.js +1 -1
  12. package/dist/cjs/element-browser/components/StatelessElementBrowser.js +1 -1
  13. package/dist/cjs/element-browser/hooks/use-container-width.js +1 -1
  14. package/dist/cjs/extensibility/Extension/Extension/index.js +2 -3
  15. package/dist/cjs/extensibility/Extension/InlineExtension/index.js +1 -1
  16. package/dist/cjs/extensibility/Extension/Lozenge/index.js +1 -1
  17. package/dist/cjs/extensibility/Extension.js +2 -2
  18. package/dist/cjs/extensibility/ExtensionComponent.js +2 -2
  19. package/dist/cjs/extensibility/MultiBodiedExtension/index.js +1 -1
  20. package/dist/cjs/extensibility/extensionNodeView.js +1 -1
  21. package/dist/cjs/extensibility/index.js +1 -1
  22. package/dist/cjs/extensions/module-helpers.js +3 -3
  23. package/dist/cjs/i18n/cs.js +5 -2
  24. package/dist/cjs/i18n/da.js +5 -2
  25. package/dist/cjs/i18n/de.js +5 -2
  26. package/dist/cjs/i18n/en.js +8 -2
  27. package/dist/cjs/i18n/en_GB.js +8 -2
  28. package/dist/cjs/i18n/en_ZZ.js +8 -2
  29. package/dist/cjs/i18n/es.js +5 -2
  30. package/dist/cjs/i18n/fi.js +5 -2
  31. package/dist/cjs/i18n/fr.js +5 -2
  32. package/dist/cjs/i18n/hu.js +5 -2
  33. package/dist/cjs/i18n/it.js +5 -2
  34. package/dist/cjs/i18n/ja.js +5 -2
  35. package/dist/cjs/i18n/ko.js +5 -2
  36. package/dist/cjs/i18n/nb.js +5 -2
  37. package/dist/cjs/i18n/nl.js +5 -2
  38. package/dist/cjs/i18n/pl.js +5 -2
  39. package/dist/cjs/i18n/pt_BR.js +5 -2
  40. package/dist/cjs/i18n/ru.js +5 -2
  41. package/dist/cjs/i18n/sv.js +5 -2
  42. package/dist/cjs/i18n/th.js +5 -2
  43. package/dist/cjs/i18n/tr.js +5 -2
  44. package/dist/cjs/i18n/uk.js +5 -2
  45. package/dist/cjs/i18n/vi.js +5 -2
  46. package/dist/cjs/i18n/zh.js +5 -2
  47. package/dist/cjs/i18n/zh_TW.js +5 -2
  48. package/dist/cjs/icons/index.js +1 -1
  49. package/dist/cjs/keymaps/index.js +1 -1
  50. package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +1 -1
  51. package/dist/cjs/link/LinkPicker/EditorLinkPicker/index.js +1 -1
  52. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +17 -17
  53. package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -1
  54. package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +2 -2
  55. package/dist/cjs/link/LinkSearch/index.js +1 -1
  56. package/dist/cjs/link/LinkSearch/withActivityProvider.js +1 -1
  57. package/dist/cjs/link/index.js +1 -1
  58. package/dist/cjs/media-single/CommentBadgeNext.js +1 -1
  59. package/dist/cjs/media-single/MediaBadges.js +1 -1
  60. package/dist/cjs/monitoring/error.js +2 -2
  61. package/dist/cjs/portal/PortalBucket.js +1 -1
  62. package/dist/cjs/portal/usePortalProvider.js +1 -1
  63. package/dist/cjs/preset/editor-commands.js +1 -1
  64. package/dist/cjs/preset/plugin-injection-api.js +8 -8
  65. package/dist/cjs/provider-factory/with-providers.js +1 -1
  66. package/dist/cjs/quick-insert/assets/index.js +1 -1
  67. package/dist/cjs/resizer/Resizer.js +1 -1
  68. package/dist/cjs/safe-plugin/index.js +1 -1
  69. package/dist/cjs/selection/gap-cursor/actions.js +3 -3
  70. package/dist/cjs/selection/gap-cursor/selection.js +1 -1
  71. package/dist/cjs/selection/index.js +2 -2
  72. package/dist/cjs/selection-based-node-view/SelectionBasedNodeView.js +1 -1
  73. package/dist/cjs/table/SortingIcon.js +5 -1
  74. package/dist/cjs/table/index.js +1 -1
  75. package/dist/cjs/ui/Announcer/announcer.js +1 -1
  76. package/dist/cjs/ui/BaseTheme/index.js +1 -1
  77. package/dist/cjs/ui/Caption/index.js +1 -1
  78. package/dist/cjs/ui/ContextPanel/context.js +1 -1
  79. package/dist/cjs/ui/DropList/index.js +2 -2
  80. package/dist/cjs/ui/Emoji/index.js +2 -2
  81. package/dist/cjs/ui/ErrorBoundary/index.js +1 -1
  82. package/dist/cjs/ui/Expand/index.js +1 -1
  83. package/dist/cjs/ui/FloatingToolbar/Button.js +1 -1
  84. package/dist/cjs/ui/IntlErrorBoundary/index.js +1 -1
  85. package/dist/cjs/ui/IntlProviderIfMissingWrapper/index.js +1 -1
  86. package/dist/cjs/ui/Layer/index.js +2 -2
  87. package/dist/cjs/ui/Mention/index.js +2 -2
  88. package/dist/cjs/ui/Mention/mention-with-profilecard.js +1 -1
  89. package/dist/cjs/ui/Mention/mention-with-providers.js +2 -2
  90. package/dist/cjs/ui/OverflowShadow/index.js +1 -1
  91. package/dist/cjs/ui/PanelTextInput/index.js +1 -1
  92. package/dist/cjs/ui/Popup/index.js +1 -1
  93. package/dist/cjs/ui/ResizerLegacy/index.js +1 -1
  94. package/dist/cjs/ui/UnsupportedBlock/index.js +1 -1
  95. package/dist/cjs/ui/UnsupportedInline/index.js +1 -1
  96. package/dist/cjs/ui/WidthProvider/index.js +1 -1
  97. package/dist/cjs/ui/WithCreateAnalyticsEvent/index.js +1 -1
  98. package/dist/cjs/ui/index.js +1 -1
  99. package/dist/cjs/ui/with-outer-listeners.js +2 -2
  100. package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +1 -1
  101. package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +1 -1
  102. package/dist/cjs/ui-menu/Dropdown/index.js +2 -2
  103. package/dist/cjs/ui-menu/DropdownContainer/index.js +1 -1
  104. package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -2
  105. package/dist/cjs/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +1 -1
  106. package/dist/cjs/ui-menu/ToolbarButton/index.js +1 -1
  107. package/dist/cjs/ui-menu/index.js +1 -1
  108. package/dist/cjs/ui-react/with-react-editor-view-outer-listeners.js +2 -2
  109. package/dist/cjs/utils/browser-extensions.js +3 -3
  110. package/dist/cjs/utils/imageLoader.js +2 -2
  111. package/dist/cjs/utils/index.js +3 -3
  112. package/dist/cjs/utils/profiler/render-count.js +5 -5
  113. package/dist/cjs/utils/prosemirror/autojoin.js +5 -5
  114. package/dist/cjs/utils/referentiality.js +3 -3
  115. package/dist/cjs/with-plugin-state/index.js +1 -1
  116. package/dist/es2019/extensibility/Extension/Extension/index.js +1 -2
  117. package/dist/es2019/i18n/cs.js +5 -2
  118. package/dist/es2019/i18n/da.js +5 -2
  119. package/dist/es2019/i18n/de.js +5 -2
  120. package/dist/es2019/i18n/en.js +8 -2
  121. package/dist/es2019/i18n/en_GB.js +8 -2
  122. package/dist/es2019/i18n/en_ZZ.js +8 -2
  123. package/dist/es2019/i18n/es.js +5 -2
  124. package/dist/es2019/i18n/fi.js +5 -2
  125. package/dist/es2019/i18n/fr.js +5 -2
  126. package/dist/es2019/i18n/hu.js +5 -2
  127. package/dist/es2019/i18n/it.js +5 -2
  128. package/dist/es2019/i18n/ja.js +5 -2
  129. package/dist/es2019/i18n/ko.js +5 -2
  130. package/dist/es2019/i18n/nb.js +5 -2
  131. package/dist/es2019/i18n/nl.js +5 -2
  132. package/dist/es2019/i18n/pl.js +5 -2
  133. package/dist/es2019/i18n/pt_BR.js +5 -2
  134. package/dist/es2019/i18n/ru.js +5 -2
  135. package/dist/es2019/i18n/sv.js +5 -2
  136. package/dist/es2019/i18n/th.js +5 -2
  137. package/dist/es2019/i18n/tr.js +5 -2
  138. package/dist/es2019/i18n/uk.js +5 -2
  139. package/dist/es2019/i18n/vi.js +5 -2
  140. package/dist/es2019/i18n/zh.js +5 -2
  141. package/dist/es2019/i18n/zh_TW.js +5 -2
  142. package/dist/es2019/monitoring/error.js +1 -1
  143. package/dist/es2019/table/SortingIcon.js +5 -1
  144. package/dist/es2019/ui/DropList/index.js +1 -1
  145. package/dist/esm/annotation/index.js +1 -1
  146. package/dist/esm/commands/index.js +4 -4
  147. package/dist/esm/element-browser/ElementBrowser.js +1 -1
  148. package/dist/esm/extensibility/Extension/Extension/index.js +1 -2
  149. package/dist/esm/extensibility/Extension/Lozenge/index.js +1 -1
  150. package/dist/esm/extensibility/Extension.js +1 -1
  151. package/dist/esm/extensibility/ExtensionComponent.js +1 -1
  152. package/dist/esm/extensibility/extensionNodeView.js +1 -1
  153. package/dist/esm/extensions/module-helpers.js +3 -3
  154. package/dist/esm/i18n/cs.js +5 -2
  155. package/dist/esm/i18n/da.js +5 -2
  156. package/dist/esm/i18n/de.js +5 -2
  157. package/dist/esm/i18n/en.js +8 -2
  158. package/dist/esm/i18n/en_GB.js +8 -2
  159. package/dist/esm/i18n/en_ZZ.js +8 -2
  160. package/dist/esm/i18n/es.js +5 -2
  161. package/dist/esm/i18n/fi.js +5 -2
  162. package/dist/esm/i18n/fr.js +5 -2
  163. package/dist/esm/i18n/hu.js +5 -2
  164. package/dist/esm/i18n/it.js +5 -2
  165. package/dist/esm/i18n/ja.js +5 -2
  166. package/dist/esm/i18n/ko.js +5 -2
  167. package/dist/esm/i18n/nb.js +5 -2
  168. package/dist/esm/i18n/nl.js +5 -2
  169. package/dist/esm/i18n/pl.js +5 -2
  170. package/dist/esm/i18n/pt_BR.js +5 -2
  171. package/dist/esm/i18n/ru.js +5 -2
  172. package/dist/esm/i18n/sv.js +5 -2
  173. package/dist/esm/i18n/th.js +5 -2
  174. package/dist/esm/i18n/tr.js +5 -2
  175. package/dist/esm/i18n/uk.js +5 -2
  176. package/dist/esm/i18n/vi.js +5 -2
  177. package/dist/esm/i18n/zh.js +5 -2
  178. package/dist/esm/i18n/zh_TW.js +5 -2
  179. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +16 -16
  180. package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -1
  181. package/dist/esm/link/LinkSearch/LinkSearchListItem.js +1 -1
  182. package/dist/esm/link/LinkSearch/index.js +1 -1
  183. package/dist/esm/link/LinkSearch/withActivityProvider.js +1 -1
  184. package/dist/esm/monitoring/error.js +1 -1
  185. package/dist/esm/preset/editor-commands.js +1 -1
  186. package/dist/esm/preset/plugin-injection-api.js +8 -8
  187. package/dist/esm/provider-factory/with-providers.js +1 -1
  188. package/dist/esm/safe-plugin/index.js +1 -1
  189. package/dist/esm/selection/gap-cursor/actions.js +3 -3
  190. package/dist/esm/selection/gap-cursor/selection.js +1 -1
  191. package/dist/esm/selection/index.js +2 -2
  192. package/dist/esm/selection-based-node-view/SelectionBasedNodeView.js +1 -1
  193. package/dist/esm/table/SortingIcon.js +5 -1
  194. package/dist/esm/ui/Caption/index.js +1 -1
  195. package/dist/esm/ui/ContextPanel/context.js +1 -1
  196. package/dist/esm/ui/DropList/index.js +2 -2
  197. package/dist/esm/ui/Emoji/index.js +1 -1
  198. package/dist/esm/ui/ErrorBoundary/index.js +1 -1
  199. package/dist/esm/ui/IntlErrorBoundary/index.js +1 -1
  200. package/dist/esm/ui/Layer/index.js +1 -1
  201. package/dist/esm/ui/Mention/index.js +1 -1
  202. package/dist/esm/ui/Mention/mention-with-providers.js +1 -1
  203. package/dist/esm/ui/OverflowShadow/index.js +1 -1
  204. package/dist/esm/ui/PanelTextInput/index.js +1 -1
  205. package/dist/esm/ui/Popup/index.js +1 -1
  206. package/dist/esm/ui/ResizerLegacy/index.js +1 -1
  207. package/dist/esm/ui/WithCreateAnalyticsEvent/index.js +1 -1
  208. package/dist/esm/ui/with-outer-listeners.js +1 -1
  209. package/dist/esm/ui-menu/Dropdown/index.js +1 -1
  210. package/dist/esm/ui-menu/DropdownMenu/index.js +1 -1
  211. package/dist/esm/ui-react/with-react-editor-view-outer-listeners.js +1 -1
  212. package/dist/esm/utils/browser-extensions.js +3 -3
  213. package/dist/esm/utils/imageLoader.js +1 -1
  214. package/dist/esm/utils/index.js +3 -3
  215. package/dist/esm/utils/profiler/render-count.js +5 -5
  216. package/dist/esm/utils/prosemirror/autojoin.js +5 -5
  217. package/dist/esm/utils/referentiality.js +3 -3
  218. package/dist/esm/with-plugin-state/index.js +1 -1
  219. package/dist/types/i18n/cs.d.ts +5 -2
  220. package/dist/types/i18n/da.d.ts +5 -2
  221. package/dist/types/i18n/de.d.ts +5 -2
  222. package/dist/types/i18n/en.d.ts +8 -2
  223. package/dist/types/i18n/en_GB.d.ts +8 -2
  224. package/dist/types/i18n/en_ZZ.d.ts +8 -2
  225. package/dist/types/i18n/es.d.ts +5 -2
  226. package/dist/types/i18n/fi.d.ts +5 -2
  227. package/dist/types/i18n/fr.d.ts +5 -2
  228. package/dist/types/i18n/hu.d.ts +5 -2
  229. package/dist/types/i18n/it.d.ts +5 -2
  230. package/dist/types/i18n/ja.d.ts +5 -2
  231. package/dist/types/i18n/ko.d.ts +5 -2
  232. package/dist/types/i18n/nb.d.ts +5 -2
  233. package/dist/types/i18n/nl.d.ts +5 -2
  234. package/dist/types/i18n/pl.d.ts +5 -2
  235. package/dist/types/i18n/pt_BR.d.ts +5 -2
  236. package/dist/types/i18n/ru.d.ts +5 -2
  237. package/dist/types/i18n/sv.d.ts +5 -2
  238. package/dist/types/i18n/th.d.ts +5 -2
  239. package/dist/types/i18n/tr.d.ts +5 -2
  240. package/dist/types/i18n/uk.d.ts +5 -2
  241. package/dist/types/i18n/vi.d.ts +5 -2
  242. package/dist/types/i18n/zh.d.ts +5 -2
  243. package/dist/types/i18n/zh_TW.d.ts +5 -2
  244. package/dist/types/types/editor-appearance.d.ts +1 -1
  245. package/dist/types-ts4.5/i18n/cs.d.ts +5 -2
  246. package/dist/types-ts4.5/i18n/da.d.ts +5 -2
  247. package/dist/types-ts4.5/i18n/de.d.ts +5 -2
  248. package/dist/types-ts4.5/i18n/en.d.ts +8 -2
  249. package/dist/types-ts4.5/i18n/en_GB.d.ts +8 -2
  250. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +8 -2
  251. package/dist/types-ts4.5/i18n/es.d.ts +5 -2
  252. package/dist/types-ts4.5/i18n/fi.d.ts +5 -2
  253. package/dist/types-ts4.5/i18n/fr.d.ts +5 -2
  254. package/dist/types-ts4.5/i18n/hu.d.ts +5 -2
  255. package/dist/types-ts4.5/i18n/it.d.ts +5 -2
  256. package/dist/types-ts4.5/i18n/ja.d.ts +5 -2
  257. package/dist/types-ts4.5/i18n/ko.d.ts +5 -2
  258. package/dist/types-ts4.5/i18n/nb.d.ts +5 -2
  259. package/dist/types-ts4.5/i18n/nl.d.ts +5 -2
  260. package/dist/types-ts4.5/i18n/pl.d.ts +5 -2
  261. package/dist/types-ts4.5/i18n/pt_BR.d.ts +5 -2
  262. package/dist/types-ts4.5/i18n/ru.d.ts +5 -2
  263. package/dist/types-ts4.5/i18n/sv.d.ts +5 -2
  264. package/dist/types-ts4.5/i18n/th.d.ts +5 -2
  265. package/dist/types-ts4.5/i18n/tr.d.ts +5 -2
  266. package/dist/types-ts4.5/i18n/uk.d.ts +5 -2
  267. package/dist/types-ts4.5/i18n/vi.d.ts +5 -2
  268. package/dist/types-ts4.5/i18n/zh.d.ts +5 -2
  269. package/dist/types-ts4.5/i18n/zh_TW.d.ts +5 -2
  270. package/dist/types-ts4.5/types/editor-appearance.d.ts +1 -1
  271. package/package.json +5 -2
@@ -298,14 +298,17 @@ export default {
298
298
  'fabric.editor.media.DefaultMediaWidthIncreased': '{newMediaWidth, plural, other {媒体宽度已增大到 {newMediaWidth,number} 像素。}}',
299
299
  'fabric.editor.media.MediaWidthIsMin': '媒体已减小到大小下限',
300
300
  'fabric.editor.media.insert.cancel': '取消',
301
- 'fabric.editor.media.insert.errorMessage': '抱歉,无法添加此图像链接。请下载该图像,然后将其拖放到页面上。',
301
+ 'fabric.editor.media.insert.fileTabTitle': '文件',
302
+ 'fabric.editor.media.insert.fromUrlErrorMessage': '受来源限制,其他人可能看不到此图像。请考虑改为上传文件。',
302
303
  'fabric.editor.media.insert.insert': '插入',
303
304
  'fabric.editor.media.insert.linkTabTitle': '链接',
304
305
  'fabric.editor.media.insert.loadPreview': '加载预览',
306
+ 'fabric.editor.media.insert.localFileErrorMessage': '无法上传此文件。',
307
+ 'fabric.editor.media.insert.localFileNetworkErrorMessage': '文件上传错误。请检查文件路径或网络。',
305
308
  'fabric.editor.media.insert.mediaAlt': '预览上传的图像或视频文件',
306
309
  'fabric.editor.media.insert.mediaPickerPopupAriaLabel': '媒体选择器',
307
310
  'fabric.editor.media.insert.pasteLinkToUpload': '粘贴链接以上传',
308
- 'fabric.editor.media.insert.warning': '受来源限制,其他人可能看不到此图像。请考虑改为上传文件。',
311
+ 'fabric.editor.media.insert.upload': '上传',
309
312
  'fabric.editor.media.pixelEntry.MediaWidthIsMax': '媒体已增大到大小上限',
310
313
  'fabric.editor.media.pixelEntry.inputHeightAriaLabel': '高度输入',
311
314
  'fabric.editor.media.pixelEntry.inputHeightTooltip': '高度',
@@ -298,14 +298,17 @@ export default {
298
298
  'fabric.editor.media.DefaultMediaWidthIncreased': '{newMediaWidth, plural, other {媒體寬度已提升至 {newMediaWidth,number} 像素。}}',
299
299
  'fabric.editor.media.MediaWidthIsMin': '媒體已縮減至最小',
300
300
  'fabric.editor.media.insert.cancel': '取消',
301
- 'fabric.editor.media.insert.errorMessage': '很抱歉,我們無法新增此圖片連結。請下載圖片,然後拖放到頁面上。',
301
+ 'fabric.editor.media.insert.fileTabTitle': '檔案',
302
+ 'fabric.editor.media.insert.fromUrlErrorMessage': '由於來源限制,其他人可能無法看到此圖片。您可以考慮改為上傳檔案。',
302
303
  'fabric.editor.media.insert.insert': '插入',
303
304
  'fabric.editor.media.insert.linkTabTitle': '連結',
304
305
  'fabric.editor.media.insert.loadPreview': '載入預覽',
306
+ 'fabric.editor.media.insert.localFileErrorMessage': '無法上傳此檔案。',
307
+ 'fabric.editor.media.insert.localFileNetworkErrorMessage': '檔案上傳錯誤。請檢查檔案路徑或網路。',
305
308
  'fabric.editor.media.insert.mediaAlt': '上傳的圖片或影片檔案預覽',
306
309
  'fabric.editor.media.insert.mediaPickerPopupAriaLabel': '媒體選擇器',
307
310
  'fabric.editor.media.insert.pasteLinkToUpload': '貼上連結以上傳',
308
- 'fabric.editor.media.insert.warning': '由於來源限制,其他人可能無法看到此圖片。您可以考慮改為上傳檔案。',
311
+ 'fabric.editor.media.insert.upload': '上傳',
309
312
  'fabric.editor.media.pixelEntry.MediaWidthIsMax': '媒體已增加至最大',
310
313
  'fabric.editor.media.pixelEntry.inputHeightAriaLabel': '高度輸入',
311
314
  'fabric.editor.media.pixelEntry.inputHeightTooltip': '高度',
@@ -9,7 +9,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
9
9
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
10
10
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
11
11
  import _regeneratorRuntime from "@babel/runtime/regenerator";
12
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
12
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  /**
15
15
  * @jsxRuntime classic
@@ -274,7 +274,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
274
274
  }());
275
275
  _defineProperty(_assertThisInitialized(_this), "updateInput", /*#__PURE__*/function () {
276
276
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(input) {
277
- var _this$state2, activityProvider, searchProvider, _items, shouldQuerySearchProvider;
277
+ var _this$state2, activityProvider, searchProvider, items, shouldQuerySearchProvider;
278
278
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
279
279
  while (1) switch (_context2.prev = _context2.next) {
280
280
  case 0:
@@ -319,14 +319,14 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
319
319
  _context2.next = 19;
320
320
  return _this.getRecentItems(activityProvider, input);
321
321
  case 19:
322
- _items = _context2.sent;
323
- shouldQuerySearchProvider = _items.length < RECENT_SEARCH_LIST_SIZE && !!searchProvider;
322
+ items = _context2.sent;
323
+ shouldQuerySearchProvider = items.length < RECENT_SEARCH_LIST_SIZE && !!searchProvider;
324
324
  _this.setState({
325
- items: _items,
325
+ items: items,
326
326
  isLoading: shouldQuerySearchProvider
327
327
  });
328
328
  if (shouldQuerySearchProvider) {
329
- _this.debouncedQuickSearch(input, _items, RECENT_SEARCH_LIST_SIZE);
329
+ _this.debouncedQuickSearch(input, items, RECENT_SEARCH_LIST_SIZE);
330
330
  }
331
331
  case 23:
332
332
  case "end":
@@ -518,9 +518,9 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
518
518
  if (!_this.submitted) {
519
519
  var _this$state8 = _this.state,
520
520
  displayUrl = _this$state8.displayUrl,
521
- _displayText = _this$state8.displayText;
521
+ displayText = _this$state8.displayText;
522
522
  var url = normalizeUrl(displayUrl);
523
- _this.handleInsert(url, _displayText || displayUrl, INPUT_METHOD.MANUAL, 'notselected');
523
+ _this.handleInsert(url, displayText || displayUrl, INPUT_METHOD.MANUAL, 'notselected');
524
524
  }
525
525
  event.preventDefault();
526
526
  return;
@@ -676,7 +676,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
676
676
  key: "getRecentItems",
677
677
  value: function () {
678
678
  var _getRecentItems = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(activityProvider, query) {
679
- var searchSessionId, perfStart, activityRecentItems, _items2, perfStop, duration, _perfStop2, _duration2;
679
+ var searchSessionId, perfStart, activityRecentItems, items, perfStop, duration, _perfStop2, _duration2;
680
680
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
681
681
  while (1) switch (_context5.prev = _context5.next) {
682
682
  case 0:
@@ -702,7 +702,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
702
702
  case 13:
703
703
  _context5.t2 = _context5.t1;
704
704
  activityRecentItems = (0, _context5.t0)(_context5.t2);
705
- _items2 = activityRecentItems.map(mapActivityProviderResultToLinkSearchItemData);
705
+ items = activityRecentItems.map(mapActivityProviderResultToLinkSearchItemData);
706
706
  perfStop = performance.now();
707
707
  duration = perfStop - perfStart;
708
708
  this.fireAnalytics({
@@ -711,7 +711,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
711
711
  actionSubjectId: ACTION_SUBJECT_ID.RECENT_ACTIVITIES,
712
712
  attributes: {
713
713
  duration: duration,
714
- count: _items2.length
714
+ count: items.length
715
715
  },
716
716
  eventType: EVENT_TYPE.OPERATIONAL
717
717
  });
@@ -723,7 +723,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
723
723
  source: this.analyticSource,
724
724
  preQueryRequestDurationMs: duration,
725
725
  searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
726
- resultCount: _items2.length,
726
+ resultCount: items.length,
727
727
  results: activityRecentItems.map(function (item) {
728
728
  var _item$type;
729
729
  return {
@@ -734,7 +734,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
734
734
  },
735
735
  eventType: EVENT_TYPE.UI
736
736
  });
737
- return _context5.abrupt("return", _items2);
737
+ return _context5.abrupt("return", items);
738
738
  case 23:
739
739
  _context5.prev = 23;
740
740
  _context5.t3 = _context5["catch"](2);
@@ -776,7 +776,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
776
776
  key: "loadInitialLinkSearchResult",
777
777
  value: function () {
778
778
  var _loadInitialLinkSearchResult = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
779
- var _this$state10, displayUrl, activityProvider, _items3;
779
+ var _this$state10, displayUrl, activityProvider, items;
780
780
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
781
781
  while (1) switch (_context6.prev = _context6.next) {
782
782
  case 0:
@@ -792,9 +792,9 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
792
792
  _context6.next = 6;
793
793
  return this.getRecentItems(activityProvider);
794
794
  case 6:
795
- _items3 = _context6.sent;
795
+ items = _context6.sent;
796
796
  this.setState({
797
- items: _items3
797
+ items: items
798
798
  });
799
799
  case 8:
800
800
  _context6.prev = 8;
@@ -3,7 +3,7 @@ import _createClass from "@babel/runtime/helpers/createClass";
3
3
  import _inherits from "@babel/runtime/helpers/inherits";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
6
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
7
7
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
8
8
  /**
9
9
  * @jsxRuntime classic
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /**
11
11
  * @jsxRuntime classic
@@ -7,7 +7,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
7
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
9
  import _regeneratorRuntime from "@babel/runtime/regenerator";
10
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
11
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
12
  import React from 'react';
13
13
  import { injectIntl } from 'react-intl-next';
@@ -8,7 +8,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
8
8
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
9
9
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
10
10
  var _excluded = ["providerFactory"];
11
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
11
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
12
12
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
13
  import React from 'react';
14
14
  import { WithProviders } from '../../provider-factory';
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "88.13.2";
10
+ var packageVersion = "89.0.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // TODO: Sanitise the URL instead of just removing it
@@ -3,7 +3,7 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _inherits from "@babel/runtime/helpers/inherits";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
6
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
7
7
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
8
8
  import { Transaction } from '@atlaskit/editor-prosemirror/state';
9
9
  /**
@@ -4,9 +4,9 @@ import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
5
5
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
6
6
  import _typeof from "@babel/runtime/helpers/typeof";
7
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
8
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
9
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
8
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
9
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
10
10
  import isEqual from 'lodash/isEqual';
11
11
  import throttle from 'lodash/throttle';
12
12
  import { corePlugin } from './core-plugin';
@@ -38,15 +38,15 @@ var extractSharedStateFromPlugins = function extractSharedStateFromPlugins(_ref2
38
38
  _step;
39
39
  try {
40
40
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
41
- var _plugin = _step.value;
42
- if (!_plugin || !hasGetSharedState(_plugin)) {
41
+ var plugin = _step.value;
42
+ if (!plugin || !hasGetSharedState(plugin)) {
43
43
  continue;
44
44
  }
45
- var nextSharedState = _plugin.getSharedState(newEditorState);
46
- var prevSharedState = !isInitialization && oldEditorState ? _plugin.getSharedState(oldEditorState) : undefined;
45
+ var nextSharedState = plugin.getSharedState(newEditorState);
46
+ var prevSharedState = !isInitialization && oldEditorState ? plugin.getSharedState(oldEditorState) : undefined;
47
47
  var isSamePluginState = isEqual(prevSharedState, nextSharedState);
48
48
  if (isInitialization || !isSamePluginState) {
49
- result.set(_plugin.name, {
49
+ result.set(plugin.name, {
50
50
  nextSharedState: nextSharedState,
51
51
  prevSharedState: prevSharedState
52
52
  });
@@ -7,7 +7,7 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
8
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
9
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
11
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
12
  import { PureComponent } from 'react';
13
13
  export var WithProviders = /*#__PURE__*/function (_PureComponent) {
@@ -5,7 +5,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
5
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
6
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
7
7
  import _toArray from "@babel/runtime/helpers/toArray";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import { Plugin } from '@atlaskit/editor-prosemirror/state';
11
11
  // Wraper to avoid any exception during the get pos operation
@@ -16,12 +16,12 @@ var captureCursorCoords = function captureCursorCoords(event, editorRef, posAtCo
16
16
  }
17
17
  if (rect.left > 0) {
18
18
  // calculate start position of a node that is vertically at the same level
19
- var _coords = posAtCoords({
19
+ var coords = posAtCoords({
20
20
  left: rect.left,
21
21
  top: event.clientY
22
22
  });
23
- if (_coords && _coords.inside > -1) {
24
- var $from = tr.doc.resolve(_coords.inside);
23
+ if (coords && coords.inside > -1) {
24
+ var $from = tr.doc.resolve(coords.inside);
25
25
  var start = $from.before(1);
26
26
  var side = event.clientX < rect.left ? Side.LEFT : Side.RIGHT;
27
27
  var position;
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import { Slice } from '@atlaskit/editor-prosemirror/model';
11
11
  import { Selection } from '@atlaskit/editor-prosemirror/state';
@@ -102,8 +102,8 @@ export function createSelectionClickHandler(nodes, isValidTarget, options) {
102
102
  return false;
103
103
  }
104
104
  if (direct && nodes.indexOf(node.type.name) !== -1) {
105
- var _target = event.target;
106
- if (_target instanceof HTMLElement && isValidTarget(_target)) {
105
+ var target = event.target;
106
+ if (target instanceof HTMLElement && isValidTarget(target)) {
107
107
  var selectionPos = options.getNodeSelectionPos ? options.getNodeSelectionPos(view.state, nodePos) : nodePos;
108
108
  selectNode(selectionPos)(view.state, view.dispatch);
109
109
  return true;
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import ReactNodeView from '../react-node-view';
11
11
 
@@ -7,11 +7,15 @@ var _templateObject, _templateObject2;
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
9
  import { injectIntl } from 'react-intl-next';
10
+ import { fg } from '@atlaskit/platform-feature-flags';
10
11
  import { N20, N30 } from '@atlaskit/theme/colors';
11
12
  import Tooltip from '@atlaskit/tooltip';
12
13
  import { SortOrder } from '../types';
13
14
  import { SORTABLE_COLUMN_ICON_CLASSNAME } from './consts';
14
15
  import { sortingAriaLabelMessages, sortingIconMessages } from './messages';
16
+ var annotationRangeFixStyle = css({
17
+ userSelect: 'none'
18
+ });
15
19
  export var StatusClassNames = /*#__PURE__*/function (StatusClassNames) {
16
20
  StatusClassNames["ASC"] = "sorting-icon-svg__asc";
17
21
  StatusClassNames["DESC"] = "sorting-icon-svg__desc";
@@ -141,7 +145,7 @@ var SortingIcon = function SortingIcon(_ref) {
141
145
  ,
142
146
  className: getIconClassName(isSortingAllowed, sortOrdered)
143
147
  }, jsx("div", {
144
- css: iconStyles
148
+ css: [iconStyles, fg('platform_editor_allow_annotation_triple_click') && annotationRangeFixStyle]
145
149
  }))));
146
150
  };
147
151
  export default injectIntl(SortingIcon);
@@ -4,7 +4,7 @@ import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
7
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  /**
10
10
  * @jsxRuntime classic
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React from 'react';
11
11
 
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /**
11
11
  * @jsxRuntime classic
@@ -22,7 +22,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
22
22
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
23
23
  import Layer from '../Layer';
24
24
  var packageName = "@atlaskit/editor-common";
25
- var packageVersion = "88.13.2";
25
+ var packageVersion = "89.0.0";
26
26
  var halfFocusRing = 1;
27
27
  var dropOffset = '0, 8';
28
28
  var DropList = /*#__PURE__*/function (_Component) {
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React, { PureComponent } from 'react';
11
11
  import { ResourcedEmoji } from '@atlaskit/emoji/element';
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React from 'react';
11
11
  import { ACTION, EVENT_TYPE } from '../../analytics';
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React from 'react';
11
11
  import { IntlProvider } from 'react-intl-next';
@@ -7,7 +7,7 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
8
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
9
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
11
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
12
  import React, { Component } from 'react';
13
13
  import Popper from 'popper.js'; // eslint-disable-line import/extensions
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React, { PureComponent } from 'react';
11
11
  import { ProviderFactory, WithProviders } from '../../provider-factory';
@@ -6,7 +6,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
6
6
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
9
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  import React, { PureComponent } from 'react';
12
12
  import { ResourcedMention } from '@atlaskit/mention/element';
@@ -6,7 +6,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
6
6
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
9
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  import React from 'react';
12
12
  import { ShadowObserver, shadowObserverClassNames } from './shadowObserver';
@@ -6,7 +6,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
6
6
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
9
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  /**
12
12
  * @jsxRuntime classic
@@ -7,7 +7,7 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
8
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
9
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
11
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
12
  import React from 'react';
13
13
  import createFocusTrap from 'focus-trap';
@@ -7,7 +7,7 @@ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
8
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
9
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
11
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
12
  import React from 'react';
13
13
  import classnames from 'classnames';
@@ -3,7 +3,7 @@ import _createClass from "@babel/runtime/helpers/createClass";
3
3
  import _inherits from "@babel/runtime/helpers/inherits";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
6
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
7
7
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
8
8
  import React from 'react';
9
9
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
@@ -5,7 +5,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React, { PureComponent } from 'react';
11
11
  import ReactDOM from 'react-dom';
@@ -6,7 +6,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
6
6
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
7
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
8
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
9
+ function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  import React, { PureComponent } from 'react';
12
12
  import { withReactEditorViewOuterListeners } from '../../ui-react';