@atlaskit/editor-core 153.1.0 → 153.1.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.
- package/CHANGELOG.md +24 -0
- package/dist/cjs/commands/index.js +2 -2
- package/dist/cjs/create-editor/ErrorBoundary.js +2 -2
- package/dist/cjs/create-editor/ReactEditorView.js +2 -2
- package/dist/cjs/create-editor/create-plugins-list.js +2 -2
- package/dist/cjs/editor.js +2 -2
- package/dist/cjs/labs/CollapsedEditor/index.js +3 -1
- package/dist/cjs/labs/next/internal/hooks/use-editor/index.js +2 -2
- package/dist/cjs/plugins/alignment/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/analytics/plugin.js +2 -2
- package/dist/cjs/plugins/analytics/types/enums.js +1 -0
- package/dist/cjs/plugins/analytics/utils.js +2 -2
- package/dist/cjs/plugins/annotation/pm-plugins/plugin-factory.js +2 -2
- package/dist/cjs/plugins/annotation/pm-plugins/reducer.js +2 -2
- package/dist/cjs/plugins/base/index.js +2 -2
- package/dist/cjs/plugins/base/pm-plugins/context-identifier.js +2 -2
- package/dist/cjs/plugins/base/pm-plugins/frozen-editor.js +2 -2
- package/dist/cjs/plugins/block-type/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/breakout/index.js +2 -2
- package/dist/cjs/plugins/card/index.js +2 -2
- package/dist/cjs/plugins/card/nodeviews/embedCard.js +2 -2
- package/dist/cjs/plugins/card/pm-plugins/doc.js +2 -2
- package/dist/cjs/plugins/card/pm-plugins/reducers.js +2 -2
- package/dist/cjs/plugins/card/pm-plugins/util/state.js +2 -2
- package/dist/cjs/plugins/card/toolbar.js +2 -2
- package/dist/cjs/plugins/card/ui/ResizableEmbedCard.js +2 -2
- package/dist/cjs/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +2 -2
- package/dist/cjs/plugins/code-block/ide-ux/paired-character-handling.js +2 -2
- package/dist/cjs/plugins/code-block/pm-plugins/main-state.js +2 -2
- package/dist/cjs/plugins/code-block/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/collab-edit/participants.js +2 -2
- package/dist/cjs/plugins/collab-edit/provider/collab-provider.js +2 -2
- package/dist/cjs/plugins/context-panel/index.js +2 -2
- package/dist/cjs/plugins/custom-autoformat/index.js +2 -2
- package/dist/cjs/plugins/custom-autoformat/reducers.js +2 -2
- package/dist/cjs/plugins/date/pm-plugins/utils.js +2 -2
- package/dist/cjs/plugins/emoji/commands/insert-emoji.js +2 -2
- package/dist/cjs/plugins/emoji/index.js +2 -2
- package/dist/cjs/plugins/expand/commands.js +2 -2
- package/dist/cjs/plugins/expand/reducer.js +2 -2
- package/dist/cjs/plugins/expand/ui/ExpandIconButton.js +5 -3
- package/dist/cjs/plugins/extension/actions.js +2 -2
- package/dist/cjs/plugins/extension/commands.js +2 -2
- package/dist/cjs/plugins/extension/context-panel.js +2 -2
- package/dist/cjs/plugins/extension/plugin-factory.js +2 -2
- package/dist/cjs/plugins/extension/pm-plugins/unique-id.js +5 -3
- package/dist/cjs/plugins/extension/reducer.js +2 -2
- package/dist/cjs/plugins/extension/ui/Extension/Lozenge.js +5 -3
- package/dist/cjs/plugins/feature-flags-context/feature-flags-from-props.js +2 -2
- package/dist/cjs/plugins/feature-flags-context/index.js +2 -2
- package/dist/cjs/plugins/feedback-dialog/index.js +2 -2
- package/dist/cjs/plugins/find-replace/plugin.js +2 -2
- package/dist/cjs/plugins/find-replace/reducer.js +2 -2
- package/dist/cjs/plugins/find-replace/ui/FindReplaceTooltipButton.js +2 -2
- package/dist/cjs/plugins/floating-toolbar/index.js +2 -2
- package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +2 -2
- package/dist/cjs/plugins/floating-toolbar/ui/Button.js +5 -3
- package/dist/cjs/plugins/floating-toolbar/ui/Select.js +2 -2
- package/dist/cjs/plugins/help-dialog/index.js +2 -2
- package/dist/cjs/plugins/hyperlink/Toolbar.js +2 -2
- package/dist/cjs/plugins/hyperlink/commands.js +2 -2
- package/dist/cjs/plugins/hyperlink/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/image-upload/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +2 -2
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +2 -2
- package/dist/cjs/plugins/layout/actions.js +2 -2
- package/dist/cjs/plugins/layout/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/list/commands/indent-list.js +2 -2
- package/dist/cjs/plugins/list/commands/index.js +2 -2
- package/dist/cjs/plugins/list/commands/outdent-list.js +2 -2
- package/dist/cjs/plugins/list/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/macro/actions.js +2 -2
- package/dist/cjs/plugins/macro/index.js +2 -2
- package/dist/cjs/plugins/media/commands/helpers.js +2 -2
- package/dist/cjs/plugins/media/commands/linking.js +2 -2
- package/dist/cjs/plugins/media/commands/media-editor.js +2 -2
- package/dist/cjs/plugins/media/nodeviews/mediaGroup.js +2 -2
- package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/alt-text/commands.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/alt-text/reducer.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/linking/index.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/linking/reducer.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/media-editor-plugin-factory.js +2 -2
- package/dist/cjs/plugins/media/toolbar/alt-text.js +2 -2
- package/dist/cjs/plugins/media/toolbar/index.js +2 -2
- package/dist/cjs/plugins/media/toolbar/linking.js +2 -2
- package/dist/cjs/plugins/media/ui/MediaPicker/BrowserWrapper.js +2 -2
- package/dist/cjs/plugins/media/ui/MediaPicker/DropzoneWrapper.js +2 -2
- package/dist/cjs/plugins/media/utils/media-single.js +2 -2
- package/dist/cjs/plugins/mentions/analytics.js +2 -2
- package/dist/cjs/plugins/mentions/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/mentions/type-ahead/index.js +2 -2
- package/dist/cjs/plugins/mobile-dimensions/reducer.js +2 -2
- package/dist/cjs/plugins/panel/actions.js +2 -2
- package/dist/cjs/plugins/panel/toolbar.js +2 -2
- package/dist/cjs/plugins/panel/utils.js +2 -2
- package/dist/cjs/plugins/paste/handlers.js +2 -2
- package/dist/cjs/plugins/paste/pm-plugins/analytics.js +2 -2
- package/dist/cjs/plugins/quick-insert/assets/index.js +3 -1
- package/dist/cjs/plugins/quick-insert/index.js +2 -2
- package/dist/cjs/plugins/selection/plugin-factory.js +2 -2
- package/dist/cjs/plugins/selection/reducer.js +2 -2
- package/dist/cjs/plugins/status/actions.js +2 -2
- package/dist/cjs/plugins/status/analytics.js +2 -2
- package/dist/cjs/plugins/status/plugin.js +2 -2
- package/dist/cjs/plugins/table/commands/misc.js +2 -2
- package/dist/cjs/plugins/table/commands/toggle.js +2 -2
- package/dist/cjs/plugins/table/commands-with-analytics.js +2 -2
- package/dist/cjs/plugins/table/create-plugin-config.js +2 -2
- package/dist/cjs/plugins/table/handlers.js +2 -2
- package/dist/cjs/plugins/table/index.js +23 -6
- package/dist/cjs/plugins/table/nodeviews/TableComponent.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/plugin-factory.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.js +75 -0
- package/dist/cjs/plugins/table/pm-plugins/sticky-headers/plugin-state.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-local-id.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/plugin-factory.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/reducer.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/resize-logic.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +2 -2
- package/dist/cjs/plugins/table/reducer.js +2 -2
- package/dist/cjs/plugins/table/toolbar.js +2 -2
- package/dist/cjs/plugins/table/transforms/column-width.js +2 -2
- package/dist/cjs/plugins/table/transforms/delete-columns.js +2 -2
- package/dist/cjs/plugins/table/transforms/delete-rows.js +2 -2
- package/dist/cjs/plugins/table/transforms/fix-tables.js +2 -2
- package/dist/cjs/plugins/table/transforms/merge.js +2 -2
- package/dist/cjs/plugins/table/transforms/split.js +2 -2
- package/dist/cjs/plugins/table/types.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingInsertButton/getPopupOptions.js +2 -2
- package/dist/cjs/plugins/table/ui/LayoutButton/index.js +2 -2
- package/dist/cjs/plugins/table/utils/row-controls.js +2 -2
- package/dist/cjs/plugins/tasks-and-decisions/nodeviews/taskItem.js +2 -2
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/keymaps.js +2 -2
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/main.js +5 -3
- package/dist/cjs/plugins/tasks-and-decisions/ui/Task/index.js +3 -1
- package/dist/cjs/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +3 -1
- package/dist/cjs/plugins/text-color/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/text-color/ui/ToolbarTextColor/index.js +2 -2
- package/dist/cjs/plugins/type-ahead/pm-plugins/reducer.js +2 -2
- package/dist/cjs/plugins/type-ahead/stats-modifier.js +4 -3
- package/dist/cjs/plugins/undo-redo/undo-redo-input-source.js +2 -2
- package/dist/cjs/plugins/view-update-subscription/index.js +4 -4
- package/dist/cjs/plugins/width/index.js +2 -2
- package/dist/cjs/test-utils.js +2 -2
- package/dist/cjs/ui/ColorPalette/Palettes/panelBackgroundPalette.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Boolean.js +5 -2
- package/dist/cjs/ui/ConfigPanel/Fields/CheckboxGroup.js +3 -1
- package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/DateRange.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/RadioGroup.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/String.js +3 -1
- package/dist/cjs/ui/ConfigPanel/Fields/UserSelect.js +3 -1
- package/dist/cjs/ui/ConfigPanel/FormContent.js +2 -2
- package/dist/cjs/ui/ContextPanel/index.js +2 -2
- package/dist/cjs/ui/ElementBrowser/components/CategoryList.js +7 -4
- package/dist/cjs/ui/ElementBrowser/components/ElementList/ElementList.js +5 -3
- package/dist/cjs/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +2 -2
- package/dist/cjs/ui/LinkSearch/withActivityProvider.js +3 -1
- package/dist/cjs/ui/ToolbarButton/index.js +2 -2
- package/dist/cjs/ui/ToolbarFeedback/index.js +2 -2
- package/dist/cjs/ui/WithPluginState/index.js +2 -2
- package/dist/cjs/utils/document.js +20 -1
- package/dist/cjs/utils/filter/privacy-filter.js +2 -2
- package/dist/cjs/utils/input-rules.js +2 -2
- package/dist/cjs/utils/performance/plugin-performance-report.js +2 -2
- package/dist/cjs/utils/performance/simple-measure-to-entries.js +4 -3
- package/dist/cjs/utils/pick-by.js +2 -2
- package/dist/cjs/utils/rich-media-utils.js +2 -2
- package/dist/cjs/utils/selection.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/analytics/types/enums.js +1 -0
- package/dist/es2019/plugins/table/index.js +17 -2
- package/dist/es2019/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.js +63 -0
- package/dist/es2019/utils/document.js +20 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/commands/index.js +2 -2
- package/dist/esm/create-editor/ErrorBoundary.js +2 -2
- package/dist/esm/create-editor/ReactEditorView.js +2 -2
- package/dist/esm/create-editor/create-plugins-list.js +2 -2
- package/dist/esm/editor.js +2 -2
- package/dist/esm/labs/CollapsedEditor/index.js +2 -1
- package/dist/esm/labs/next/internal/hooks/use-editor/index.js +2 -2
- package/dist/esm/plugins/alignment/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/analytics/plugin.js +2 -2
- package/dist/esm/plugins/analytics/types/enums.js +1 -0
- package/dist/esm/plugins/analytics/utils.js +2 -2
- package/dist/esm/plugins/annotation/pm-plugins/plugin-factory.js +2 -2
- package/dist/esm/plugins/annotation/pm-plugins/reducer.js +2 -2
- package/dist/esm/plugins/base/index.js +2 -2
- package/dist/esm/plugins/base/pm-plugins/context-identifier.js +2 -2
- package/dist/esm/plugins/base/pm-plugins/frozen-editor.js +2 -2
- package/dist/esm/plugins/block-type/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/breakout/index.js +2 -2
- package/dist/esm/plugins/card/index.js +2 -2
- package/dist/esm/plugins/card/nodeviews/embedCard.js +2 -2
- package/dist/esm/plugins/card/pm-plugins/doc.js +2 -2
- package/dist/esm/plugins/card/pm-plugins/reducers.js +2 -2
- package/dist/esm/plugins/card/pm-plugins/util/state.js +2 -2
- package/dist/esm/plugins/card/toolbar.js +2 -2
- package/dist/esm/plugins/card/ui/ResizableEmbedCard.js +2 -2
- package/dist/esm/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +2 -2
- package/dist/esm/plugins/code-block/ide-ux/paired-character-handling.js +2 -2
- package/dist/esm/plugins/code-block/pm-plugins/main-state.js +2 -2
- package/dist/esm/plugins/code-block/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/collab-edit/participants.js +2 -2
- package/dist/esm/plugins/collab-edit/provider/collab-provider.js +2 -2
- package/dist/esm/plugins/context-panel/index.js +2 -2
- package/dist/esm/plugins/custom-autoformat/index.js +2 -2
- package/dist/esm/plugins/custom-autoformat/reducers.js +2 -2
- package/dist/esm/plugins/date/pm-plugins/utils.js +2 -2
- package/dist/esm/plugins/emoji/commands/insert-emoji.js +2 -2
- package/dist/esm/plugins/emoji/index.js +2 -2
- package/dist/esm/plugins/expand/commands.js +2 -2
- package/dist/esm/plugins/expand/reducer.js +2 -2
- package/dist/esm/plugins/expand/ui/ExpandIconButton.js +4 -3
- package/dist/esm/plugins/extension/actions.js +2 -2
- package/dist/esm/plugins/extension/commands.js +2 -2
- package/dist/esm/plugins/extension/context-panel.js +2 -2
- package/dist/esm/plugins/extension/plugin-factory.js +2 -2
- package/dist/esm/plugins/extension/pm-plugins/unique-id.js +4 -3
- package/dist/esm/plugins/extension/reducer.js +2 -2
- package/dist/esm/plugins/extension/ui/Extension/Lozenge.js +4 -3
- package/dist/esm/plugins/feature-flags-context/feature-flags-from-props.js +2 -2
- package/dist/esm/plugins/feature-flags-context/index.js +2 -2
- package/dist/esm/plugins/feedback-dialog/index.js +2 -2
- package/dist/esm/plugins/find-replace/plugin.js +2 -2
- package/dist/esm/plugins/find-replace/reducer.js +2 -2
- package/dist/esm/plugins/find-replace/ui/FindReplaceTooltipButton.js +2 -2
- package/dist/esm/plugins/floating-toolbar/index.js +2 -2
- package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +2 -2
- package/dist/esm/plugins/floating-toolbar/ui/Button.js +4 -3
- package/dist/esm/plugins/floating-toolbar/ui/Select.js +2 -2
- package/dist/esm/plugins/help-dialog/index.js +2 -2
- package/dist/esm/plugins/hyperlink/Toolbar.js +2 -2
- package/dist/esm/plugins/hyperlink/commands.js +2 -2
- package/dist/esm/plugins/hyperlink/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/image-upload/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +2 -2
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +2 -2
- package/dist/esm/plugins/layout/actions.js +2 -2
- package/dist/esm/plugins/layout/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/list/commands/indent-list.js +2 -2
- package/dist/esm/plugins/list/commands/index.js +2 -2
- package/dist/esm/plugins/list/commands/outdent-list.js +2 -2
- package/dist/esm/plugins/list/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/macro/actions.js +2 -2
- package/dist/esm/plugins/macro/index.js +2 -2
- package/dist/esm/plugins/media/commands/helpers.js +2 -2
- package/dist/esm/plugins/media/commands/linking.js +2 -2
- package/dist/esm/plugins/media/commands/media-editor.js +2 -2
- package/dist/esm/plugins/media/nodeviews/mediaGroup.js +2 -2
- package/dist/esm/plugins/media/nodeviews/mediaSingle.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/alt-text/commands.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/alt-text/reducer.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/linking/index.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/linking/reducer.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/media-editor-plugin-factory.js +2 -2
- package/dist/esm/plugins/media/toolbar/alt-text.js +2 -2
- package/dist/esm/plugins/media/toolbar/index.js +2 -2
- package/dist/esm/plugins/media/toolbar/linking.js +2 -2
- package/dist/esm/plugins/media/ui/MediaPicker/BrowserWrapper.js +2 -2
- package/dist/esm/plugins/media/ui/MediaPicker/DropzoneWrapper.js +2 -2
- package/dist/esm/plugins/media/utils/media-single.js +2 -2
- package/dist/esm/plugins/mentions/analytics.js +2 -2
- package/dist/esm/plugins/mentions/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/mentions/type-ahead/index.js +2 -2
- package/dist/esm/plugins/mobile-dimensions/reducer.js +2 -2
- package/dist/esm/plugins/panel/actions.js +2 -2
- package/dist/esm/plugins/panel/toolbar.js +2 -2
- package/dist/esm/plugins/panel/utils.js +2 -2
- package/dist/esm/plugins/paste/handlers.js +2 -2
- package/dist/esm/plugins/paste/pm-plugins/analytics.js +2 -2
- package/dist/esm/plugins/quick-insert/assets/index.js +2 -1
- package/dist/esm/plugins/quick-insert/index.js +2 -2
- package/dist/esm/plugins/selection/plugin-factory.js +2 -2
- package/dist/esm/plugins/selection/reducer.js +2 -2
- package/dist/esm/plugins/status/actions.js +2 -2
- package/dist/esm/plugins/status/analytics.js +2 -2
- package/dist/esm/plugins/status/plugin.js +2 -2
- package/dist/esm/plugins/table/commands/misc.js +2 -2
- package/dist/esm/plugins/table/commands/toggle.js +2 -2
- package/dist/esm/plugins/table/commands-with-analytics.js +2 -2
- package/dist/esm/plugins/table/create-plugin-config.js +2 -2
- package/dist/esm/plugins/table/handlers.js +2 -2
- package/dist/esm/plugins/table/index.js +17 -2
- package/dist/esm/plugins/table/nodeviews/TableComponent.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/plugin-factory.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.js +63 -0
- package/dist/esm/plugins/table/pm-plugins/sticky-headers/plugin-state.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-local-id.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/plugin-factory.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/reducer.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/resize-logic.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +2 -2
- package/dist/esm/plugins/table/reducer.js +2 -2
- package/dist/esm/plugins/table/toolbar.js +2 -2
- package/dist/esm/plugins/table/transforms/column-width.js +2 -2
- package/dist/esm/plugins/table/transforms/delete-columns.js +2 -2
- package/dist/esm/plugins/table/transforms/delete-rows.js +2 -2
- package/dist/esm/plugins/table/transforms/fix-tables.js +2 -2
- package/dist/esm/plugins/table/transforms/merge.js +2 -2
- package/dist/esm/plugins/table/transforms/split.js +2 -2
- package/dist/esm/plugins/table/types.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingInsertButton/getPopupOptions.js +2 -2
- package/dist/esm/plugins/table/ui/LayoutButton/index.js +2 -2
- package/dist/esm/plugins/table/utils/row-controls.js +2 -2
- package/dist/esm/plugins/tasks-and-decisions/nodeviews/taskItem.js +2 -2
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/keymaps.js +2 -2
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/main.js +4 -3
- package/dist/esm/plugins/tasks-and-decisions/ui/Task/index.js +2 -1
- package/dist/esm/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +2 -1
- package/dist/esm/plugins/text-color/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/text-color/ui/ToolbarTextColor/index.js +2 -2
- package/dist/esm/plugins/type-ahead/pm-plugins/reducer.js +2 -2
- package/dist/esm/plugins/type-ahead/stats-modifier.js +3 -2
- package/dist/esm/plugins/undo-redo/undo-redo-input-source.js +2 -2
- package/dist/esm/plugins/view-update-subscription/index.js +3 -2
- package/dist/esm/plugins/width/index.js +2 -2
- package/dist/esm/test-utils.js +2 -2
- package/dist/esm/ui/ColorPalette/Palettes/panelBackgroundPalette.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/Boolean.js +4 -2
- package/dist/esm/ui/ConfigPanel/Fields/CheckboxGroup.js +2 -1
- package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/DateRange.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/RadioGroup.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/String.js +2 -1
- package/dist/esm/ui/ConfigPanel/Fields/UserSelect.js +2 -1
- package/dist/esm/ui/ConfigPanel/FormContent.js +2 -2
- package/dist/esm/ui/ContextPanel/index.js +2 -2
- package/dist/esm/ui/ElementBrowser/components/CategoryList.js +7 -4
- package/dist/esm/ui/ElementBrowser/components/ElementList/ElementList.js +5 -3
- package/dist/esm/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +2 -2
- package/dist/esm/ui/LinkSearch/withActivityProvider.js +2 -1
- package/dist/esm/ui/ToolbarButton/index.js +2 -2
- package/dist/esm/ui/ToolbarFeedback/index.js +2 -2
- package/dist/esm/ui/WithPluginState/index.js +2 -2
- package/dist/esm/utils/document.js +19 -1
- package/dist/esm/utils/filter/privacy-filter.js +2 -2
- package/dist/esm/utils/input-rules.js +2 -2
- package/dist/esm/utils/performance/plugin-performance-report.js +2 -2
- package/dist/esm/utils/performance/simple-measure-to-entries.js +3 -2
- package/dist/esm/utils/pick-by.js +2 -2
- package/dist/esm/utils/rich-media-utils.js +2 -2
- package/dist/esm/utils/selection.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/analytics/types/enums.d.ts +1 -0
- package/dist/types/plugins/analytics/types/general-events.d.ts +2 -1
- package/dist/types/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.d.ts +3 -0
- package/package.json +13 -13
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { PluginKey } from 'prosemirror-state';
|
|
8
8
|
import { pluginFactory } from '../../../utils/plugin-state-factory';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { PluginKey, Plugin } from 'prosemirror-state';
|
|
2
|
+
export var tableSafariDelayedDomSelectionSyncingWorkaroundKey = new PluginKey('tableSafariDelayedDomSelectionSyncingWorkaround');
|
|
3
|
+
export var createPlugin = function createPlugin() {
|
|
4
|
+
// From a review of the prosemirror-view source code,
|
|
5
|
+
// the only places where a view relies on the presence
|
|
6
|
+
// of view.mouseDown are;
|
|
7
|
+
// - when checking it's presence in selectionToDOM
|
|
8
|
+
// to delay drag selections
|
|
9
|
+
// - to ensure it is cleaned up when the mouseup
|
|
10
|
+
// event is not fired in a previous mousedown event
|
|
11
|
+
// Because we are manually wiping the view.mouseDown,
|
|
12
|
+
// we manage this custom cleanup ourselves
|
|
13
|
+
var prevMouseDownDone = null;
|
|
14
|
+
return new Plugin({
|
|
15
|
+
key: tableSafariDelayedDomSelectionSyncingWorkaroundKey,
|
|
16
|
+
props: {
|
|
17
|
+
handleDOMEvents: {
|
|
18
|
+
mousedown: function mousedown(view) {
|
|
19
|
+
// Workaround issue in safari where table selections
|
|
20
|
+
// do not work correctly since prosemirror delayed
|
|
21
|
+
// DOM selection syncing during pointer drag.
|
|
22
|
+
//
|
|
23
|
+
// https://github.com/ProseMirror/prosemirror-view/commit/885258b80551ac87b81601d3ed25f552aeb22293
|
|
24
|
+
// This fix removes the selectionToDOM from the view
|
|
25
|
+
// prior to selectionToDOM being called.
|
|
26
|
+
// selectionToDOM checks if there is an "active"
|
|
27
|
+
// mouseDown, and if so, it delays running logic
|
|
28
|
+
// which causes the table selections issue.
|
|
29
|
+
// The handleDOMEvents are called before ProseMirror
|
|
30
|
+
// events fired on the editable DOM element.
|
|
31
|
+
// This means the view.mouseView will not yet be
|
|
32
|
+
// created when the mousedown event starts.
|
|
33
|
+
// https://prosemirror.net/docs/ref/#view.EditorProps.handleDOMEvents
|
|
34
|
+
//
|
|
35
|
+
// Because selectionToDOM is only added to the script
|
|
36
|
+
// tasks queue following the mousedown event, we can
|
|
37
|
+
// prepend a task which will clear the mouseDown from
|
|
38
|
+
// the view. We do this using a setTimout with no
|
|
39
|
+
// interval.
|
|
40
|
+
if (prevMouseDownDone) {
|
|
41
|
+
// avoid memory leaks when the mouseup event is not fired
|
|
42
|
+
// in a previous mousedown event
|
|
43
|
+
prevMouseDownDone();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
setTimeout(function () {
|
|
47
|
+
// the ts-ignores here are required due to the
|
|
48
|
+
// view.mouseDown being an internal which is
|
|
49
|
+
// not part of the views type signature
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
if (view.mouseDown) {
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
prevMouseDownDone = view.mouseDown.done.bind(view.mouseDown); // @ts-ignore
|
|
54
|
+
|
|
55
|
+
view.mouseDown = null;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { pluginFactory } from '../../../../utils/plugin-state-factory';
|
|
8
8
|
import { pluginKey } from './plugin-key';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A plugin for ensuring tables always have unique local IDs, and to
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { pluginFactory } from '../../../../utils/plugin-state-factory';
|
|
8
8
|
import { pluginKey } from './plugin-key';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
export default (function (pluginState, action) {
|
|
8
8
|
switch (action.type) {
|
|
@@ -2,9 +2,9 @@ import _typeof from "@babel/runtime/helpers/typeof";
|
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
|
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
5
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
8
|
|
|
9
9
|
import { getFreeSpace } from './column-state';
|
|
10
10
|
import { bulkColumnsResize, getTotalWidth } from './resize-state';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { calcTableColumnWidths, tableCellMinWidth, tableNewColumnMinWidth } from '@atlaskit/editor-common';
|
|
8
8
|
import { hasTableBeenResized, insertColgroupFromNode } from './colgroup';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { tableCellMinWidth } from '@atlaskit/editor-common';
|
|
8
8
|
import { akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { defaultTableSelection } from './pm-plugins/default-table-selection';
|
|
8
8
|
export default (function (pluginState, action) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
|
|
4
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
5
|
|
|
6
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
6
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
7
|
|
|
8
8
|
import { defineMessages } from 'react-intl-next';
|
|
9
9
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
8
8
|
import { tableNewColumnMinWidth } from '@atlaskit/editor-common';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
|
|
4
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
5
|
|
|
6
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
6
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
7
|
|
|
8
8
|
import { Selection } from 'prosemirror-state';
|
|
9
9
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
|
|
4
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
5
|
|
|
6
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
6
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
7
|
|
|
8
8
|
import { Selection } from 'prosemirror-state';
|
|
9
9
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { tableCellMinWidth } from '@atlaskit/editor-common';
|
|
8
8
|
import { akEditorDefaultLayoutWidth, akEditorWideLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
@@ -2,9 +2,9 @@ import _typeof from "@babel/runtime/helpers/typeof";
|
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
|
|
5
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
5
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
7
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
8
|
|
|
9
9
|
import { Fragment } from 'prosemirror-model';
|
|
10
10
|
import { Selection } from 'prosemirror-state';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@atlaskit/adf-schema';
|
|
8
8
|
import { TableSharedCssClassName } from '@atlaskit/editor-common';
|
|
@@ -6,9 +6,9 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
6
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
8
|
|
|
9
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
9
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10
10
|
|
|
11
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12
12
|
|
|
13
13
|
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); }; }
|
|
14
14
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { tableDeleteButtonOffset, tableDeleteButtonSize, tableToolbarSize } from '../consts';
|
|
8
8
|
var DELETE_BUTTON_CONTROLS_OFFSET = tableToolbarSize + tableDeleteButtonSize + tableDeleteButtonOffset;
|
|
@@ -7,9 +7,9 @@ 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
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
10
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
11
11
|
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
12
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13
13
|
|
|
14
14
|
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); }; }
|
|
15
15
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
|
|
8
8
|
import { tableInsertColumnButtonOffset, tableInsertColumnButtonSize, tableToolbarSize } from '../consts';
|
|
@@ -10,9 +10,9 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
10
10
|
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
|
|
13
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14
14
|
|
|
15
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
15
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16
16
|
|
|
17
17
|
import React from 'react';
|
|
18
18
|
import classnames from 'classnames';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
8
8
|
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
@@ -7,9 +7,9 @@ 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
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
10
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
11
11
|
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
12
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
13
13
|
|
|
14
14
|
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); }; }
|
|
15
15
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { autoJoin, chainCommands } from 'prosemirror-commands';
|
|
8
8
|
import { keymap } from 'prosemirror-keymap';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
+
var _excluded = ["localId"];
|
|
3
4
|
|
|
4
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
5
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
6
|
|
|
6
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
7
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
8
|
|
|
8
9
|
import { NodeSelection, Plugin } from 'prosemirror-state';
|
|
9
10
|
import { uuid } from '@atlaskit/adf-schema';
|
|
@@ -142,7 +143,7 @@ export function createPlugin(portalProviderAPI, eventDispatcher, providerFactory
|
|
|
142
143
|
if (!!node.type && (node.type === decisionList || node.type === decisionItem || node.type === taskList || node.type === taskItem)) {
|
|
143
144
|
var _node$attrs = node.attrs,
|
|
144
145
|
localId = _node$attrs.localId,
|
|
145
|
-
rest = _objectWithoutProperties(_node$attrs,
|
|
146
|
+
rest = _objectWithoutProperties(_node$attrs, _excluded);
|
|
146
147
|
|
|
147
148
|
if (localId === undefined || localId === null || localId === '') {
|
|
148
149
|
tr.step(new SetAttrsStep(pos, _objectSpread({
|
|
@@ -7,6 +7,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
7
7
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
8
8
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
9
9
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
10
|
+
var _excluded = ["providers", "intl"];
|
|
10
11
|
|
|
11
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
13
|
|
|
@@ -39,7 +40,7 @@ export var TaskItem = /*#__PURE__*/function (_PureComponent) {
|
|
|
39
40
|
var _this$props = _this.props,
|
|
40
41
|
_providerFactory = _this$props.providers,
|
|
41
42
|
formatMessage = _this$props.intl.formatMessage,
|
|
42
|
-
otherProps = _objectWithoutProperties(_this$props,
|
|
43
|
+
otherProps = _objectWithoutProperties(_this$props, _excluded);
|
|
43
44
|
|
|
44
45
|
var taskDecisionProvider = providers.taskDecisionProvider,
|
|
45
46
|
contextIdentifierProvider = providers.contextIdentifierProvider;
|
|
@@ -9,6 +9,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
9
9
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
10
10
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
11
11
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
12
|
+
var _excluded = ["contextIdentifierProvider"];
|
|
12
13
|
|
|
13
14
|
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); }; }
|
|
14
15
|
|
|
@@ -129,7 +130,7 @@ var TaskItemWithProviders = /*#__PURE__*/function (_Component) {
|
|
|
129
130
|
value: function render() {
|
|
130
131
|
var _this$props = this.props,
|
|
131
132
|
contextIdentifierProvider = _this$props.contextIdentifierProvider,
|
|
132
|
-
otherProps = _objectWithoutProperties(_this$props,
|
|
133
|
+
otherProps = _objectWithoutProperties(_this$props, _excluded);
|
|
133
134
|
|
|
134
135
|
var _ref = this.state.resolvedContextProvider || {},
|
|
135
136
|
objectId = _ref.objectId;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
|
|
4
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
5
|
|
|
6
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
6
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
7
|
|
|
8
8
|
import { Plugin, PluginKey } from 'prosemirror-state';
|
|
9
9
|
import { textColorPalette, textColorPaletteExtended } from '../../../ui/ColorPalette/Palettes/textColorPalette';
|
|
@@ -6,9 +6,9 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
6
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
8
|
|
|
9
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
9
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10
10
|
|
|
11
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12
12
|
|
|
13
13
|
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); }; }
|
|
14
14
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { DecorationSet } from 'prosemirror-view';
|
|
8
8
|
import { InsertTypeAheadStep, InsertTypeAheadStages } from '@atlaskit/adf-schema/steps';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
1
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
export var StatsModifier = function StatsModifier() {
|
|
4
|
+
export var StatsModifier = /*#__PURE__*/_createClass(function StatsModifier() {
|
|
4
5
|
var _this = this;
|
|
5
6
|
|
|
6
7
|
_classCallCheck(this, StatsModifier);
|
|
@@ -40,4 +41,4 @@ export var StatsModifier = function StatsModifier() {
|
|
|
40
41
|
arrowUp: 0,
|
|
41
42
|
arrowDown: 0
|
|
42
43
|
};
|
|
43
|
-
};
|
|
44
|
+
});
|