@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 as undoRedoPluginKey } from './pm-plugins/plugin-key';
|
|
8
8
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
5
|
import { Plugin, PluginKey } from 'prosemirror-state';
|
|
5
6
|
export var trackerStore = new WeakMap();
|
|
6
7
|
|
|
7
|
-
var Tracker = function Tracker() {
|
|
8
|
+
var Tracker = /*#__PURE__*/_createClass(function Tracker() {
|
|
8
9
|
var _this = this;
|
|
9
10
|
|
|
10
11
|
_classCallCheck(this, Tracker);
|
|
@@ -26,7 +27,7 @@ var Tracker = function Tracker() {
|
|
|
26
27
|
});
|
|
27
28
|
|
|
28
29
|
this.subscriptions = [];
|
|
29
|
-
};
|
|
30
|
+
});
|
|
30
31
|
|
|
31
32
|
var pluginKey = new PluginKey('viewUpdateSubscriptionKey');
|
|
32
33
|
|
|
@@ -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 { Plugin, PluginKey } from 'prosemirror-state';
|
|
8
8
|
export var pluginKey = new PluginKey('widthPlugin');
|
package/dist/esm/test-utils.js
CHANGED
|
@@ -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 { TextSelection } from 'prosemirror-state';
|
|
9
9
|
import { sortByOrder } from './create-editor/sort-by-order';
|
|
@@ -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
|
// AFP-2532 TODO: Fix automatic suppressions below
|
|
8
8
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
4
|
+
var _excluded = ["value"],
|
|
5
|
+
_excluded2 = ["id", "value"];
|
|
4
6
|
|
|
5
7
|
var _templateObject, _templateObject2;
|
|
6
8
|
|
|
@@ -50,7 +52,7 @@ function Checkbox(_ref) {
|
|
|
50
52
|
error = _ref2.error;
|
|
51
53
|
|
|
52
54
|
var isChecked = fieldProps.value,
|
|
53
|
-
restFieldProps = _objectWithoutProperties(fieldProps,
|
|
55
|
+
restFieldProps = _objectWithoutProperties(fieldProps, _excluded);
|
|
54
56
|
|
|
55
57
|
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(AKCheckbox, _extends({}, restFieldProps, {
|
|
56
58
|
label: label,
|
|
@@ -88,7 +90,7 @@ function Toggle(_ref3) {
|
|
|
88
90
|
|
|
89
91
|
var id = fieldProps.id,
|
|
90
92
|
isChecked = fieldProps.value,
|
|
91
|
-
restFieldProps = _objectWithoutProperties(fieldProps,
|
|
93
|
+
restFieldProps = _objectWithoutProperties(fieldProps, _excluded2);
|
|
92
94
|
|
|
93
95
|
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(ToggleFieldWrapper, null, /*#__PURE__*/React.createElement(ToggleLabel, {
|
|
94
96
|
id: id,
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
5
|
+
var _excluded = ["onChange", "value"];
|
|
5
6
|
|
|
6
7
|
var _templateObject;
|
|
7
8
|
|
|
@@ -30,7 +31,7 @@ function CheckboxGroupInner(_ref) {
|
|
|
30
31
|
|
|
31
32
|
var onChange = fieldProps.onChange,
|
|
32
33
|
value = fieldProps.value,
|
|
33
|
-
restFieldProps = _objectWithoutProperties(fieldProps,
|
|
34
|
+
restFieldProps = _objectWithoutProperties(fieldProps, _excluded);
|
|
34
35
|
|
|
35
36
|
function _onChange(optionValue, isChecked) {
|
|
36
37
|
var active = new Set(value ? value : []);
|
|
@@ -3,9 +3,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
|
|
4
4
|
var _templateObject, _templateObject2;
|
|
5
5
|
|
|
6
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
6
|
+
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; }
|
|
7
7
|
|
|
8
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8
|
+
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; }
|
|
9
9
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Field } from '@atlaskit/form';
|
|
@@ -6,9 +6,9 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
6
6
|
|
|
7
7
|
var _templateObject, _templateObject2, _templateObject3;
|
|
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
|
import React, { Fragment, useState, useEffect, useMemo } from 'react';
|
|
14
14
|
import { injectIntl } from 'react-intl-next';
|
|
@@ -11,9 +11,9 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
11
11
|
|
|
12
12
|
var _templateObject, _templateObject2;
|
|
13
13
|
|
|
14
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
14
|
+
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; }
|
|
15
15
|
|
|
16
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
16
|
+
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; }
|
|
17
17
|
|
|
18
18
|
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); }; }
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
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 React, { Fragment } from 'react';
|
|
9
9
|
import { Field } from '@atlaskit/form';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["onChange"];
|
|
3
4
|
import React, { Fragment } from 'react';
|
|
4
5
|
import { Field } from '@atlaskit/form';
|
|
5
6
|
import TextArea from '@atlaskit/textarea';
|
|
@@ -31,7 +32,7 @@ export default function String(_ref) {
|
|
|
31
32
|
|
|
32
33
|
if (field.style === 'multiline') {
|
|
33
34
|
var _onChange = fieldProps.onChange,
|
|
34
|
-
restFieldProps = _objectWithoutProperties(fieldProps,
|
|
35
|
+
restFieldProps = _objectWithoutProperties(fieldProps, _excluded);
|
|
35
36
|
|
|
36
37
|
var options = field.options;
|
|
37
38
|
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(TextArea, _extends({}, restFieldProps, options, {
|
|
@@ -3,6 +3,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
3
3
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
5
5
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
6
|
+
var _excluded = ["value"];
|
|
6
7
|
|
|
7
8
|
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
9
|
|
|
@@ -91,7 +92,7 @@ function SafeSmartUserPicker(_ref) {
|
|
|
91
92
|
includeUsers = _context$includeUsers === void 0 ? true : _context$includeUsers;
|
|
92
93
|
|
|
93
94
|
var safeValue = formFieldProps.value,
|
|
94
|
-
formFieldPropsRest = _objectWithoutProperties(formFieldProps,
|
|
95
|
+
formFieldPropsRest = _objectWithoutProperties(formFieldProps, _excluded);
|
|
95
96
|
|
|
96
97
|
var isMultiple = field.isMultiple,
|
|
97
98
|
placeholder = field.placeholder;
|
|
@@ -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 React from 'react';
|
|
8
8
|
import { isFieldset } from '@atlaskit/editor-common/extensions';
|
|
@@ -10,9 +10,9 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
10
10
|
|
|
11
11
|
var _templateObject, _templateObject2, _templateObject3;
|
|
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
|
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); }; }
|
|
18
18
|
|
|
@@ -6,9 +6,12 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
6
6
|
|
|
7
7
|
var _templateObject;
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
var _excluded = ["categories"],
|
|
10
|
+
_excluded2 = ["buttonStyles"];
|
|
10
11
|
|
|
11
|
-
function
|
|
12
|
+
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; }
|
|
13
|
+
|
|
14
|
+
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
15
|
|
|
13
16
|
import React, { memo, useCallback } from 'react';
|
|
14
17
|
import styled from 'styled-components';
|
|
@@ -22,7 +25,7 @@ import { fireAnalyticsEvent, EVENT_TYPE, ACTION_SUBJECT, ACTION_SUBJECT_ID, ACTI
|
|
|
22
25
|
function CategoryList(_ref) {
|
|
23
26
|
var _ref$categories = _ref.categories,
|
|
24
27
|
categories = _ref$categories === void 0 ? [] : _ref$categories,
|
|
25
|
-
props = _objectWithoutProperties(_ref,
|
|
28
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
26
29
|
|
|
27
30
|
var _React$useState = React.useState(null),
|
|
28
31
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -78,7 +81,7 @@ function CategoryListItem(_ref2) {
|
|
|
78
81
|
var getTheme = useCallback(function (currentTheme, themeProps) {
|
|
79
82
|
var _currentTheme = currentTheme(themeProps),
|
|
80
83
|
buttonStyles = _currentTheme.buttonStyles,
|
|
81
|
-
rest = _objectWithoutProperties(_currentTheme,
|
|
84
|
+
rest = _objectWithoutProperties(_currentTheme, _excluded2);
|
|
82
85
|
|
|
83
86
|
return _objectSpread({
|
|
84
87
|
buttonStyles: _objectSpread(_objectSpread({}, buttonStyles), {}, {
|
|
@@ -5,9 +5,11 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
5
5
|
|
|
6
6
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
var _excluded = ["items", "mode", "selectedItemIndex", "focusedItemIndex", "setColumnCount", "createAnalyticsEvent", "emptyStateHandler", "selectedCategory", "searchTerm"];
|
|
9
9
|
|
|
10
|
-
function
|
|
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
|
+
|
|
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; }
|
|
11
13
|
|
|
12
14
|
import React, { memo, useCallback, useEffect, useMemo } from 'react';
|
|
13
15
|
import memoizeOne from 'memoize-one';
|
|
@@ -42,7 +44,7 @@ function ElementList(_ref) {
|
|
|
42
44
|
emptyStateHandler = _ref.emptyStateHandler,
|
|
43
45
|
selectedCategory = _ref.selectedCategory,
|
|
44
46
|
searchTerm = _ref.searchTerm,
|
|
45
|
-
props = _objectWithoutProperties(_ref,
|
|
47
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
46
48
|
|
|
47
49
|
var _useContainerWidth = useContainerWidth(),
|
|
48
50
|
containerWidth = _useContainerWidth.containerWidth,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
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 { useCallback, useEffect, useRef, useReducer } from 'react';
|
|
9
9
|
/**
|
|
@@ -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 = ["providerFactory"];
|
|
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
|
|
|
@@ -34,7 +35,7 @@ export default function withActivityProvider(WrappedComponent) {
|
|
|
34
35
|
_defineProperty(_assertThisInitialized(_this), "renderNode", function (providers) {
|
|
35
36
|
var _ref = _this.props,
|
|
36
37
|
providerFactory = _ref.providerFactory,
|
|
37
|
-
props = _objectWithoutProperties(_ref,
|
|
38
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
38
39
|
|
|
39
40
|
var activityProvider = providers.activityProvider;
|
|
40
41
|
return /*#__PURE__*/React.createElement(WrappedComponent, _extends({
|
|
@@ -3,9 +3,9 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
3
3
|
|
|
4
4
|
var _templateObject;
|
|
5
5
|
|
|
6
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
6
|
+
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; }
|
|
7
7
|
|
|
8
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8
|
+
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; }
|
|
9
9
|
|
|
10
10
|
import React, { useCallback } from 'react';
|
|
11
11
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -8,9 +8,9 @@ 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
|
|
|
11
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
11
|
+
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; }
|
|
12
12
|
|
|
13
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
13
|
+
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; }
|
|
14
14
|
|
|
15
15
|
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); }; }
|
|
16
16
|
|
|
@@ -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,5 +1,6 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import { Node } from 'prosemirror-model';
|
|
3
|
+
import { transformTextLinkCodeMarks } from '@atlaskit/adf-utils';
|
|
3
4
|
import { sanitizeNodeForPrivacy } from '../utils/filter/privacy-filter';
|
|
4
5
|
import { validateADFEntity, findAndTrackUnsupportedContentNodes } from '@atlaskit/editor-common';
|
|
5
6
|
import { getBreakoutMode } from './node-width';
|
|
@@ -166,9 +167,26 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
|
|
|
166
167
|
|
|
167
168
|
if (contentTransformer) {
|
|
168
169
|
return Node.fromJSON(schema, node);
|
|
170
|
+
} // See: HOT-97965 https://product-fabric.atlassian.net/browse/ED-14400
|
|
171
|
+
// We declared in code mark spec that links and marks should not co-exist on
|
|
172
|
+
// text nodes. This util strips code marks from bad text nodes and preserves links.
|
|
173
|
+
// Otherwise, prosemirror will try to repair the invalid document by stripping links
|
|
174
|
+
// and preserving code marks during content changes.
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
var _transformTextLinkCod = transformTextLinkCodeMarks(node),
|
|
178
|
+
transformedAdf = _transformTextLinkCod.transformedAdf,
|
|
179
|
+
isTransformed = _transformTextLinkCod.isTransformed;
|
|
180
|
+
|
|
181
|
+
if (isTransformed && dispatchAnalyticsEvent) {
|
|
182
|
+
dispatchAnalyticsEvent({
|
|
183
|
+
action: ACTION.TEXT_LINK_MARK_TRANSFORMED,
|
|
184
|
+
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
185
|
+
eventType: EVENT_TYPE.OPERATIONAL
|
|
186
|
+
});
|
|
169
187
|
}
|
|
170
188
|
|
|
171
|
-
var entity = validateADFEntity(schema, node, dispatchAnalyticsEvent);
|
|
189
|
+
var entity = validateADFEntity(schema, transformedAdf || node, dispatchAnalyticsEvent);
|
|
172
190
|
var newEntity = maySanitizePrivateContent(entity, providerFactory, sanitizePrivateContent);
|
|
173
191
|
var parsedDoc = Node.fromJSON(schema, newEntity); // throws an error if the document is invalid
|
|
174
192
|
|
|
@@ -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 { traverse } from '@atlaskit/adf-utils';
|
|
8
8
|
import { isResolvingMentionProvider } from '@atlaskit/mention/resource';
|
|
@@ -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 { canJoin, findWrapping } from 'prosemirror-transform';
|
|
8
8
|
import { closeHistory } from 'prosemirror-history';
|
|
@@ -3,9 +3,9 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
5
|
|
|
6
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
6
|
+
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; }
|
|
7
7
|
|
|
8
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8
|
+
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; }
|
|
9
9
|
|
|
10
10
|
import { outlier } from './outlier';
|
|
11
11
|
import { EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_ON_CHANGE, EVENT_NAME_VIEW_STATE_UPDATED } from './track-transactions';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
5
|
import { EVENT_NAME_DISPATCH_TRANSACTION, EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_VIEW_STATE_UPDATED, EVENT_NAME_ON_CHANGE } from './track-transactions';
|
|
@@ -15,7 +16,7 @@ var EVENT_NAMES = [EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_V
|
|
|
15
16
|
* which occur during dispatchTransactions are synchronous.
|
|
16
17
|
*/
|
|
17
18
|
|
|
18
|
-
export var SimpleMeasurementLogger = function SimpleMeasurementLogger() {
|
|
19
|
+
export var SimpleMeasurementLogger = /*#__PURE__*/_createClass(function SimpleMeasurementLogger() {
|
|
19
20
|
var _this = this;
|
|
20
21
|
|
|
21
22
|
_classCallCheck(this, SimpleMeasurementLogger);
|
|
@@ -104,4 +105,4 @@ export var SimpleMeasurementLogger = function SimpleMeasurementLogger() {
|
|
|
104
105
|
_this.currentBatch = [];
|
|
105
106
|
}
|
|
106
107
|
});
|
|
107
|
-
};
|
|
108
|
+
});
|
|
@@ -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
|
var pickBy = function pickBy(test, object) {
|
|
8
8
|
return Object.keys(object).reduce(function (obj, 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
|
import { wrappedLayouts, shouldAddDefaultWrappedWidth, calcPxFromColumns } from '@atlaskit/editor-common';
|
|
8
8
|
import { findParentNodeOfTypeClosestToPos } from 'prosemirror-utils';
|
|
@@ -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 { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
8
8
|
import { NodeSelection, TextSelection, AllSelection } from 'prosemirror-state';
|
package/dist/esm/version.json
CHANGED
|
@@ -75,6 +75,7 @@ export declare enum ACTION {
|
|
|
75
75
|
SYNCHRONY_DISCONNECTED = "synchronyDisconnected",
|
|
76
76
|
SYNCHRONY_ENTITY_ERROR = "synchronyEntityError",
|
|
77
77
|
SYNCHRONY_ERROR = "synchronyError",
|
|
78
|
+
TEXT_LINK_MARK_TRANSFORMED = "textLinkMarkTransformed",
|
|
78
79
|
TOGGLE_EXPAND = "toggleExpand",
|
|
79
80
|
TRANSACTION_DISPATCHED = "transactionDispatched",
|
|
80
81
|
TYPING_FINISHED = "typingFinished",
|
|
@@ -154,5 +154,6 @@ declare type RichMediaLayoutAEP = TrackAEP<ACTION.SELECTED, ACTION_SUBJECT.MEDIA
|
|
|
154
154
|
declare type CodeBlockLanguageSelectedAEP = TrackAEP<ACTION.LANGUAGE_SELECTED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
|
|
155
155
|
language: string;
|
|
156
156
|
}, undefined>;
|
|
157
|
-
|
|
157
|
+
declare type TextLinkCodeMarkTransformedAEP = OperationalAEP<ACTION.TEXT_LINK_MARK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined, undefined>;
|
|
158
|
+
export declare type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | PickerEmojiAEP | PickerImageAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | UfoSessionCompletePayloadAEP | TextLinkCodeMarkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP;
|
|
158
159
|
export {};
|