@atlaskit/editor-core 183.0.8 → 183.0.12
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 +12 -0
- package/dist/cjs/plugins/card/pm-plugins/doc.js +5 -3
- package/dist/cjs/plugins/paste/handlers.js +5 -5
- package/dist/cjs/plugins/paste/md-plugins/ignore-list-heading-md-plugin.js +47 -0
- package/dist/cjs/plugins/paste/{linkify-md-plugin.js → md-plugins/linkify-md-plugin.js} +1 -1
- package/dist/cjs/plugins/paste/md.js +6 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/card/pm-plugins/doc.js +5 -3
- package/dist/es2019/plugins/paste/handlers.js +6 -6
- package/dist/es2019/plugins/paste/md-plugins/ignore-list-heading-md-plugin.js +43 -0
- package/dist/es2019/plugins/paste/{linkify-md-plugin.js → md-plugins/linkify-md-plugin.js} +1 -1
- package/dist/es2019/plugins/paste/md.js +6 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/card/pm-plugins/doc.js +5 -3
- package/dist/esm/plugins/paste/handlers.js +6 -6
- package/dist/esm/plugins/paste/md-plugins/ignore-list-heading-md-plugin.js +41 -0
- package/dist/esm/plugins/paste/{linkify-md-plugin.js → md-plugins/linkify-md-plugin.js} +1 -1
- package/dist/esm/plugins/paste/md.js +6 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/card/pm-plugins/doc.d.ts +1 -1
- package/dist/types/plugins/paste/md-plugins/ignore-list-heading-md-plugin.d.ts +2 -0
- package/dist/types/plugins/paste/md-plugins/linkify-md-plugin.d.ts +2 -0
- package/dist/types/plugins/paste/md-plugins/newline-md-plugin.d.ts +2 -0
- package/dist/types/plugins/paste/md-plugins/paragraph-md-plugin.d.ts +2 -0
- package/dist/types-ts4.5/actions/index.d.ts +50 -0
- package/dist/types-ts4.5/analytics-api/api.d.ts +9 -0
- package/dist/types-ts4.5/analytics-api/attach-payload-into-transaction.d.ts +10 -0
- package/dist/types-ts4.5/analytics-api/editor-state-context.d.ts +9 -0
- package/dist/types-ts4.5/analytics-api/map-attributes.d.ts +2 -0
- package/dist/types-ts4.5/commands/index.d.ts +23 -0
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +42 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +8 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewContext.d.ts +2 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +115 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +8 -0
- package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +6 -0
- package/dist/types-ts4.5/create-editor/consts.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/create-editor.d.ts +18 -0
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +17 -0
- package/dist/types-ts4.5/create-editor/create-schema.d.ts +6 -0
- package/dist/types-ts4.5/create-editor/feature-flags-from-props.d.ts +7 -0
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +41 -0
- package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/index.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/messages.d.ts +7 -0
- package/dist/types-ts4.5/create-editor/preset-utils.d.ts +2 -0
- package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +14 -0
- package/dist/types-ts4.5/editor-next/editor-internal.d.ts +44 -0
- package/dist/types-ts4.5/editor-next/editor-migration-component.d.ts +6 -0
- package/dist/types-ts4.5/editor-next/hooks/useEditorMeasuresConstructor.d.ts +17 -0
- package/dist/types-ts4.5/editor-next/hooks/useMeasureEditorMountTime.d.ts +13 -0
- package/dist/types-ts4.5/editor-next/hooks/useProviderFactory.d.ts +21 -0
- package/dist/types-ts4.5/editor-next/index.d.ts +35 -0
- package/dist/types-ts4.5/editor-next/utils/deprecationWarnings.d.ts +2 -0
- package/dist/types-ts4.5/editor-next/utils/editorMeasureTTICallback.d.ts +5 -0
- package/dist/types-ts4.5/editor-next/utils/editorPropTypes.d.ts +19 -0
- package/dist/types-ts4.5/editor-next/utils/getBaseFontSize.d.ts +6 -0
- package/dist/types-ts4.5/editor-next/utils/getProvidersFromEditorProps.d.ts +9 -0
- package/dist/types-ts4.5/editor-next/utils/handleProviders.d.ts +14 -0
- package/dist/types-ts4.5/editor-next/utils/onEditorCreated.d.ts +12 -0
- package/dist/types-ts4.5/editor-next/utils/sendDurationAnalytics.d.ts +15 -0
- package/dist/types-ts4.5/editor-next/utils/trackEditorActions.d.ts +29 -0
- package/dist/types-ts4.5/editor.d.ts +146 -0
- package/dist/types-ts4.5/element-browser.d.ts +1 -0
- package/dist/types-ts4.5/event-dispatcher/index.d.ts +2 -0
- package/dist/types-ts4.5/extensibility.d.ts +15 -0
- package/dist/types-ts4.5/extensions.d.ts +1 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +255 -0
- package/dist/types-ts4.5/i18n/da.d.ts +254 -0
- package/dist/types-ts4.5/i18n/de.d.ts +254 -0
- package/dist/types-ts4.5/i18n/en.d.ts +257 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +257 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +257 -0
- package/dist/types-ts4.5/i18n/es.d.ts +254 -0
- package/dist/types-ts4.5/i18n/et.d.ts +168 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +254 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +254 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +254 -0
- package/dist/types-ts4.5/i18n/index.d.ts +35 -0
- package/dist/types-ts4.5/i18n/is.d.ts +153 -0
- package/dist/types-ts4.5/i18n/it.d.ts +254 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +254 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +254 -0
- package/dist/types-ts4.5/i18n/languages.d.ts +38 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +254 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +254 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +254 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +254 -0
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +180 -0
- package/dist/types-ts4.5/i18n/ro.d.ts +153 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +254 -0
- package/dist/types-ts4.5/i18n/sk.d.ts +168 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +254 -0
- package/dist/types-ts4.5/i18n/th.d.ts +254 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +254 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +254 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +254 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +254 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +254 -0
- package/dist/types-ts4.5/index.d.ts +93 -0
- package/dist/types-ts4.5/insert-api/api.d.ts +9 -0
- package/dist/types-ts4.5/insert-api/insert-content-handlers.d.ts +9 -0
- package/dist/types-ts4.5/insert-api/insert-node-helpers.d.ts +30 -0
- package/dist/types-ts4.5/insert-api/types.d.ts +16 -0
- package/dist/types-ts4.5/keymaps/consts.d.ts +1 -0
- package/dist/types-ts4.5/keymaps/index.d.ts +2 -0
- package/dist/types-ts4.5/labs/CollapsedEditor/index.d.ts +26 -0
- package/dist/types-ts4.5/labs/EditorWithActions/index.d.ts +26 -0
- package/dist/types-ts4.5/labs/next/ContentComponents.d.ts +8 -0
- package/dist/types-ts4.5/labs/next/Editor.d.ts +27 -0
- package/dist/types-ts4.5/labs/next/Toolbar.d.ts +6 -0
- package/dist/types-ts4.5/labs/next/full-page.d.ts +9 -0
- package/dist/types-ts4.5/labs/next/internal/components/EditorContent.d.ts +7 -0
- package/dist/types-ts4.5/labs/next/internal/components/EditorInternal.d.ts +9 -0
- package/dist/types-ts4.5/labs/next/internal/context/preset-context.d.ts +5 -0
- package/dist/types-ts4.5/labs/next/internal/context/shared-config.d.ts +50 -0
- package/dist/types-ts4.5/labs/next/internal/editor-props-type.d.ts +29 -0
- package/dist/types-ts4.5/labs/next/internal/hooks/use-analytics/index.d.ts +8 -0
- package/dist/types-ts4.5/labs/next/internal/hooks/use-editor/create-dispatch-transaction.d.ts +6 -0
- package/dist/types-ts4.5/labs/next/internal/hooks/use-editor/create-editor.d.ts +19 -0
- package/dist/types-ts4.5/labs/next/internal/hooks/use-editor/index.d.ts +14 -0
- package/dist/types-ts4.5/labs/next/mobile.d.ts +12 -0
- package/dist/types-ts4.5/labs/next/presets/create-stub-internal-apis.d.ts +16 -0
- package/dist/types-ts4.5/labs/next/presets/cxhtml.d.ts +110 -0
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +234 -0
- package/dist/types-ts4.5/labs/next/presets/mobile.d.ts +115 -0
- package/dist/types-ts4.5/labs/next/presets/types.d.ts +6 -0
- package/dist/types-ts4.5/labs/next/presets/universal.d.ts +22 -0
- package/dist/types-ts4.5/labs/next/presets/useUniversalPreset.d.ts +7 -0
- package/dist/types-ts4.5/labs/next/presets/utils.d.ts +3 -0
- package/dist/types-ts4.5/labs-next.d.ts +8 -0
- package/dist/types-ts4.5/messages.d.ts +59 -0
- package/dist/types-ts4.5/nodeviews/ReactNodeView.d.ts +52 -0
- package/dist/types-ts4.5/nodeviews/SelectionBasedNodeView.d.ts +53 -0
- package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +2 -0
- package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.d.ts +24 -0
- package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.styles.d.ts +1 -0
- package/dist/types-ts4.5/nodeviews/getPerformanceOptions.d.ts +2 -0
- package/dist/types-ts4.5/nodeviews/index.d.ts +3 -0
- package/dist/types-ts4.5/nodeviews/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/alignment/commands/index.d.ts +4 -0
- package/dist/types-ts4.5/plugins/alignment/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/types.d.ts +5 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +6 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/index.d.ts +34 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/messages.d.ts +22 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/alignment/utils/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/analytics/consts.d.ts +3 -0
- package/dist/types-ts4.5/plugins/analytics/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/plugin.d.ts +21 -0
- package/dist/types-ts4.5/plugins/analytics/types/dispatch-analytics-event.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/experimental-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/extension-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/general-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/analytics/types/inline-comment-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/link-tool-bar-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/media-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/node-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/selection-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/smart-links.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/toolbar-button.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/utils.d.ts +9 -0
- package/dist/types-ts4.5/plugins/annotation/commands/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +11 -0
- package/dist/types-ts4.5/plugins/annotation/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/annotation/nodeviews/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +3 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +2 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +68 -0
- package/dist/types-ts4.5/plugins/annotation/toolbar.d.ts +21 -0
- package/dist/types-ts4.5/plugins/annotation/types.d.ts +76 -0
- package/dist/types-ts4.5/plugins/annotation/ui/AnnotationViewWrapper.d.ts +10 -0
- package/dist/types-ts4.5/plugins/annotation/ui/InlineCommentView.d.ts +11 -0
- package/dist/types-ts4.5/plugins/annotation/update-provider.d.ts +8 -0
- package/dist/types-ts4.5/plugins/annotation/utils.d.ts +40 -0
- package/dist/types-ts4.5/plugins/avatar-group/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/avatar-group/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +15 -0
- package/dist/types-ts4.5/plugins/base/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/better-type-history.d.ts +5 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/composition.d.ts +8 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/context-identifier.d.ts +12 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/decoration.d.ts +16 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/disable-spell-checking.d.ts +4 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/filter-steps.d.ts +4 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +5 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/focus-handler.d.ts +6 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/frozen-editor.d.ts +12 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/inline-cursor-target.d.ts +17 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/newline-preserve-marks.d.ts +5 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/react-nodeview.d.ts +13 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/scroll-gutter.d.ts +23 -0
- package/dist/types-ts4.5/plugins/base/utils/frozen-editor.d.ts +2 -0
- package/dist/types-ts4.5/plugins/base/utils/input-latency-tracking.d.ts +42 -0
- package/dist/types-ts4.5/plugins/before-primaryToolbar/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +5 -0
- package/dist/types-ts4.5/plugins/block-type/commands/block-type.d.ts +13 -0
- package/dist/types-ts4.5/plugins/block-type/commands/delete-and-move-cursor.d.ts +12 -0
- package/dist/types-ts4.5/plugins/block-type/commands/delete-block-content.d.ts +10 -0
- package/dist/types-ts4.5/plugins/block-type/commands/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/block-type/commands/insert-block.d.ts +5 -0
- package/dist/types-ts4.5/plugins/block-type/commands/transform-to-code-block.d.ts +3 -0
- package/dist/types-ts4.5/plugins/block-type/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/block-type/messages.d.ts +152 -0
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/input-rule.d.ts +5 -0
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/main.d.ts +11 -0
- package/dist/types-ts4.5/plugins/block-type/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/block-type/types.d.ts +43 -0
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +23 -0
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/index.d.ts +29 -0
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +4 -0
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/block-type/utils.d.ts +2 -0
- package/dist/types-ts4.5/plugins/border/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/breakout/commands/remove-breakout.d.ts +2 -0
- package/dist/types-ts4.5/plugins/breakout/commands/set-breakout-mode.d.ts +3 -0
- package/dist/types-ts4.5/plugins/breakout/constants.d.ts +4 -0
- package/dist/types-ts4.5/plugins/breakout/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +4 -0
- package/dist/types-ts4.5/plugins/breakout/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/breakout/ui/LayoutButton.d.ts +17 -0
- package/dist/types-ts4.5/plugins/breakout/utils/find-breakout-node.d.ts +9 -0
- package/dist/types-ts4.5/plugins/breakout/utils/get-breakout-mode.d.ts +7 -0
- package/dist/types-ts4.5/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +9 -0
- package/dist/types-ts4.5/plugins/breakout/utils/is-supported-node.d.ts +6 -0
- package/dist/types-ts4.5/plugins/caption/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/caption/nodeviews/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/caption/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/caption/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/caption/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/card/messages.d.ts +82 -0
- package/dist/types-ts4.5/plugins/card/nodeviews/blockCard.d.ts +23 -0
- package/dist/types-ts4.5/plugins/card/nodeviews/embedCard.d.ts +43 -0
- package/dist/types-ts4.5/plugins/card/nodeviews/genericCard.d.ts +34 -0
- package/dist/types-ts4.5/plugins/card/nodeviews/inlineCard.d.ts +22 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/actions.d.ts +13 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/create-analytics-queue.d.ts +10 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/events-from-tr.d.ts +17 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/types.d.ts +10 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/utils.d.ts +26 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/doc.d.ts +17 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/reducers.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/shouldReplaceLink.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/util/resolve.d.ts +6 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/util/state.d.ts +28 -0
- package/dist/types-ts4.5/plugins/card/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/toolbar.d.ts +10 -0
- package/dist/types-ts4.5/plugins/card/types.d.ts +142 -0
- package/dist/types-ts4.5/plugins/card/ui/EditLinkToolbar.d.ts +37 -0
- package/dist/types-ts4.5/plugins/card/ui/EditorSmartCardEvents.d.ts +5 -0
- package/dist/types-ts4.5/plugins/card/ui/EditorSmartCardEventsNext.d.ts +18 -0
- package/dist/types-ts4.5/plugins/card/ui/LinkToolbarAppearance.d.ts +25 -0
- package/dist/types-ts4.5/plugins/card/ui/LinkToolbarButtonGroup.d.ts +16 -0
- package/dist/types-ts4.5/plugins/card/ui/ResizableEmbedCard.d.ts +60 -0
- package/dist/types-ts4.5/plugins/card/ui/assets/card.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/ui/assets/embed.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/ui/assets/inline.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/ui/assets/url.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/ui/link-toolbar-button-group-options.d.ts +5 -0
- package/dist/types-ts4.5/plugins/card/ui/styled.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/ui/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/card/utils.d.ts +21 -0
- package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/clipboard/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/clipboard/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/clipboard/pm-plugins/main.d.ts +19 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/code-block/actions.d.ts +7 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/bracket-handling.d.ts +12 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/commands.d.ts +6 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/line-handling.d.ts +25 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/paired-character-handling.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/quote-handling.d.ts +12 -0
- package/dist/types-ts4.5/plugins/code-block/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/code-block/language-list.d.ts +1641 -0
- package/dist/types-ts4.5/plugins/code-block/nodeviews/code-block.d.ts +21 -0
- package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/actions.d.ts +4 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +14 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +3 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/keymaps.d.ts +4 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main-state.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +9 -0
- package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +5 -0
- package/dist/types-ts4.5/plugins/code-block/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/toolbar.d.ts +14 -0
- package/dist/types-ts4.5/plugins/code-block/types.d.ts +7 -0
- package/dist/types-ts4.5/plugins/code-block/ui/class-names.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-block/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/collab-edit/actions.d.ts +10 -0
- package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +5 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +23 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/initialize.d.ts +14 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +11 -0
- package/dist/types-ts4.5/plugins/collab-edit/get-participants-count.d.ts +2 -0
- package/dist/types-ts4.5/plugins/collab-edit/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/collab-edit/participants.d.ts +18 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +23 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +11 -0
- package/dist/types-ts4.5/plugins/collab-edit/provider/index.d.ts +1 -0
- package/dist/types-ts4.5/plugins/collab-edit/provider/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/collab-edit/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/collab-edit/types.d.ts +36 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +23 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars.d.ts +12 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/colored-avatar-item.d.ts +7 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/invite-to-edit.d.ts +10 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/to-avatar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +19 -0
- package/dist/types-ts4.5/plugins/context-panel/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/context-panel/transforms.d.ts +2 -0
- package/dist/types-ts4.5/plugins/context-panel/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/copy-button/commands.d.ts +8 -0
- package/dist/types-ts4.5/plugins/copy-button/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/copy-button/pm-plugins/main.d.ts +12 -0
- package/dist/types-ts4.5/plugins/copy-button/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/copy-button/toolbar.d.ts +12 -0
- package/dist/types-ts4.5/plugins/copy-button/utils.d.ts +8 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/doc.d.ts +6 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/input-rules.d.ts +9 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/reducers.d.ts +4 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/types.d.ts +31 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/data-consumer/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/actions.d.ts +17 -0
- package/dist/types-ts4.5/plugins/date/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/date/nodeviews/date.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/nodeviews/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/date/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/date/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/date-picker-input.d.ts +25 -0
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/index.d.ts +34 -0
- package/dist/types-ts4.5/plugins/date/utils/formatParse.d.ts +27 -0
- package/dist/types-ts4.5/plugins/date/utils/internal.d.ts +33 -0
- package/dist/types-ts4.5/plugins/editor-disabled/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/emoji/commands/insert-emoji.d.ts +4 -0
- package/dist/types-ts4.5/plugins/emoji/index.d.ts +28 -0
- package/dist/types-ts4.5/plugins/emoji/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/emoji/nodeviews/emoji.d.ts +7 -0
- package/dist/types-ts4.5/plugins/emoji/pm-plugins/ascii-input-rules.d.ts +9 -0
- package/dist/types-ts4.5/plugins/emoji/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/emoji/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/emoji/ui/Emoji/index.d.ts +4 -0
- package/dist/types-ts4.5/plugins/expand/commands.d.ts +12 -0
- package/dist/types-ts4.5/plugins/expand/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +51 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +3 -0
- package/dist/types-ts4.5/plugins/expand/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +2 -0
- package/dist/types-ts4.5/plugins/expand/types.d.ts +9 -0
- package/dist/types-ts4.5/plugins/expand/ui/ExpandIconButton.d.ts +43 -0
- package/dist/types-ts4.5/plugins/expand/ui/class-names.d.ts +11 -0
- package/dist/types-ts4.5/plugins/expand/ui/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/expand/utils.d.ts +1 -0
- package/dist/types-ts4.5/plugins/extension/actions.d.ts +16 -0
- package/dist/types-ts4.5/plugins/extension/commands.d.ts +11 -0
- package/dist/types-ts4.5/plugins/extension/context-panel.d.ts +7 -0
- package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +14 -0
- package/dist/types-ts4.5/plugins/extension/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/extension/nodeviews/extension.d.ts +28 -0
- package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +4 -0
- package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +23 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/utils.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/reducer.d.ts +2 -0
- package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +34 -0
- package/dist/types-ts4.5/plugins/extension/types.d.ts +20 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/index.d.ts +104 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/styles.d.ts +6 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionComponent.d.ts +48 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +7 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/index.d.ts +12 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Lozenge.d.ts +14 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/index.d.ts +25 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/styles.d.ts +8 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +4 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/extension/ui/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/extension/utils.d.ts +10 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/cursor.d.ts +28 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/getBrowserInfo.d.ts +6 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/getDeviceInfo.d.ts +6 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +8 -0
- package/dist/types-ts4.5/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +17 -0
- package/dist/types-ts4.5/plugins/find-replace/actions.d.ts +64 -0
- package/dist/types-ts4.5/plugins/find-replace/commands-with-analytics.d.ts +27 -0
- package/dist/types-ts4.5/plugins/find-replace/commands.d.ts +12 -0
- package/dist/types-ts4.5/plugins/find-replace/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +6 -0
- package/dist/types-ts4.5/plugins/find-replace/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/find-replace/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/find-replace/types.d.ts +44 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +70 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplace.d.ts +43 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +21 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +18 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/Replace.d.ts +26 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/styles.d.ts +5 -0
- package/dist/types-ts4.5/plugins/find-replace/utils/batch-decorations.d.ts +36 -0
- package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +49 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/index.d.ts +24 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +18 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.d.ts +3 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +1 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +3 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.d.ts +2 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Button.d.ts +30 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/CheckboxModal.d.ts +4 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ConfirmationModal.d.ts +6 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Dropdown.d.ts +39 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/DropdownMenu.d.ts +29 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/EditorEmojiAddIcon.d.ts +2 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/EmojiPickerButton.d.ts +15 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ExtensionsPlaceholder.d.ts +12 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Input.d.ts +23 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ScrollButtons.d.ts +13 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Select.d.ts +21 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Separator.d.ts +4 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/SimpleModal.d.ts +4 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Toolbar.d.ts +38 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ToolbarLoader.d.ts +4 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/messages.d.ts +48 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/styles.d.ts +20 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/fragment/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +15 -0
- package/dist/types-ts4.5/plugins/grid/index.d.ts +18 -0
- package/dist/types-ts4.5/plugins/grid/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/grid/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/help-dialog/commands.d.ts +3 -0
- package/dist/types-ts4.5/plugins/help-dialog/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/help-dialog/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/help-dialog/ui/HelpDialogLoader.d.ts +4 -0
- package/dist/types-ts4.5/plugins/help-dialog/ui/index.d.ts +27 -0
- package/dist/types-ts4.5/plugins/help-dialog/ui/styles.d.ts +33 -0
- package/dist/types-ts4.5/plugins/history/actions.d.ts +8 -0
- package/dist/types-ts4.5/plugins/history/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/history/pm-history-types.d.ts +18 -0
- package/dist/types-ts4.5/plugins/history/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/history/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/history/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/hyperlink/HyperlinkToolbarAppearance.d.ts +28 -0
- package/dist/types-ts4.5/plugins/hyperlink/Toolbar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/hyperlink/analytics.d.ts +2 -0
- package/dist/types-ts4.5/plugins/hyperlink/commands.d.ts +16 -0
- package/dist/types-ts4.5/plugins/hyperlink/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/fake-curor-for-toolbar-plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/fake-cursor-for-toolbar.d.ts +3 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/input-rule.d.ts +7 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/main.d.ts +46 -0
- package/dist/types-ts4.5/plugins/hyperlink/styles.d.ts +6 -0
- package/dist/types-ts4.5/plugins/hyperlink/types.d.ts +35 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/EditorLinkPicker/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/EditorLinkPicker/useEscapeClickaway.d.ts +2 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +109 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/HyperlinkAddToolbar/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/HyperlinkAddToolbar/messages.d.ts +32 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/HyperlinkAddToolbar/utils.d.ts +7 -0
- package/dist/types-ts4.5/plugins/hyperlink/utils.d.ts +25 -0
- package/dist/types-ts4.5/plugins/image-upload/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/actions.d.ts +2 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/input-rule.d.ts +5 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/main.d.ts +3 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/image-upload/types.d.ts +13 -0
- package/dist/types-ts4.5/plugins/image-upload/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/indentation/commands/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/indentation/commands/utils.d.ts +36 -0
- package/dist/types-ts4.5/plugins/indentation/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/indentation/messages.d.ts +12 -0
- package/dist/types-ts4.5/plugins/indentation/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/index.d.ts +69 -0
- package/dist/types-ts4.5/plugins/insert-block/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +25 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +18 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +27 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +43 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +16 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +46 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +34 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +2 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +62 -0
- package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/jira-issue/nodeviews/jira-issue.d.ts +7 -0
- package/dist/types-ts4.5/plugins/layout/actions.d.ts +22 -0
- package/dist/types-ts4.5/plugins/layout/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/types.d.ts +14 -0
- package/dist/types-ts4.5/plugins/layout/styles.d.ts +4 -0
- package/dist/types-ts4.5/plugins/layout/toolbar-messages.d.ts +32 -0
- package/dist/types-ts4.5/plugins/layout/toolbar.d.ts +5 -0
- package/dist/types-ts4.5/plugins/layout/types.d.ts +13 -0
- package/dist/types-ts4.5/plugins/layout/utils.d.ts +1 -0
- package/dist/types-ts4.5/plugins/list/actions/conversions.d.ts +6 -0
- package/dist/types-ts4.5/plugins/list/actions/indent-list-items-selected.d.ts +2 -0
- package/dist/types-ts4.5/plugins/list/actions/indent-list.d.ts +2 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-forward.d.ts +16 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-list-item-with-paragraph.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-list-item-with-parent-nested-list.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-nested-list-with-parent-list-item.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-paragraph-with-list.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-sibling-list-items.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/merge-lists.d.ts +7 -0
- package/dist/types-ts4.5/plugins/list/actions/outdent-list-items-selected.d.ts +3 -0
- package/dist/types-ts4.5/plugins/list/actions/wrap-and-join-lists.d.ts +15 -0
- package/dist/types-ts4.5/plugins/list/commands/indent-list.d.ts +5 -0
- package/dist/types-ts4.5/plugins/list/commands/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/list/commands/join-list-item-forward.d.ts +2 -0
- package/dist/types-ts4.5/plugins/list/commands/listBackspace.d.ts +12 -0
- package/dist/types-ts4.5/plugins/list/commands/outdent-list.d.ts +6 -0
- package/dist/types-ts4.5/plugins/list/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/list/messages.d.ts +27 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/input-rules/create-list-input-rule.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/input-rules/index.d.ts +4 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/input-rules/wrapping-join-rule.d.ts +13 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/main.d.ts +10 -0
- package/dist/types-ts4.5/plugins/list/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/list/transforms.d.ts +16 -0
- package/dist/types-ts4.5/plugins/list/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/list/utils/analytics.d.ts +7 -0
- package/dist/types-ts4.5/plugins/list/utils/find.d.ts +10 -0
- package/dist/types-ts4.5/plugins/list/utils/indentation.d.ts +7 -0
- package/dist/types-ts4.5/plugins/list/utils/node.d.ts +21 -0
- package/dist/types-ts4.5/plugins/list/utils/replace-content.d.ts +8 -0
- package/dist/types-ts4.5/plugins/list/utils/selection.d.ts +24 -0
- package/dist/types-ts4.5/plugins/macro/actions.d.ts +8 -0
- package/dist/types-ts4.5/plugins/macro/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/macro/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/media/commands/captions.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/commands/helpers.d.ts +15 -0
- package/dist/types-ts4.5/plugins/media/commands/index.d.ts +1 -0
- package/dist/types-ts4.5/plugins/media/commands/linking.d.ts +10 -0
- package/dist/types-ts4.5/plugins/media/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/media/media-plugin-options.d.ts +18 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/__mocks__/mediaNodeUpdater.d.ts +24 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaGroup.d.ts +33 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaInline.d.ts +47 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeUpdater.d.ts +47 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeView/index.d.ts +26 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeView/media.d.ts +45 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaSingle.d.ts +61 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/styles.d.ts +16 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/types.d.ts +39 -0
- package/dist/types-ts4.5/plugins/media/picker-facade.d.ts +44 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/actions.d.ts +10 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/commands.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/messages.d.ts +37 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/style.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/types.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/ui/AltTextEdit.d.ts +41 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/keymap-media-single.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/actions.d.ts +20 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/main.d.ts +108 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/media-editor-plugin-factory.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/mediaTaskManager.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/types.d.ts +60 -0
- package/dist/types-ts4.5/plugins/media/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/media/toolbar/alt-text.d.ts +11 -0
- package/dist/types-ts4.5/plugins/media/toolbar/commands.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/toolbar/filePreviewItem.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/toolbar/imageBorder.d.ts +2 -0
- package/dist/types-ts4.5/plugins/media/toolbar/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/media/toolbar/linking-toolbar-appearance.d.ts +14 -0
- package/dist/types-ts4.5/plugins/media/toolbar/linking.d.ts +8 -0
- package/dist/types-ts4.5/plugins/media/toolbar/utils.d.ts +6 -0
- package/dist/types-ts4.5/plugins/media/types.d.ts +102 -0
- package/dist/types-ts4.5/plugins/media/ui/CaptionPlaceholder/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/ui/CaptionPlaceholder/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/ui/ImageBorder/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/media/ui/ImageBorder/messages.d.ts +42 -0
- package/dist/types-ts4.5/plugins/media/ui/ImageBorder/styles.d.ts +15 -0
- package/dist/types-ts4.5/plugins/media/ui/Media/DropPlaceholder.d.ts +8 -0
- package/dist/types-ts4.5/plugins/media/ui/Media/drop-placeholder-messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaLinkingToolbar.d.ts +35 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/BrowserWrapper.d.ts +11 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/ClipboardWrapper.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/DropzoneWrapper.d.ts +13 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/PickerFacadeProvider.d.ts +28 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/index.d.ts +21 -0
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/index.d.ts +44 -0
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/styled.d.ts +2 -0
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/types.d.ts +40 -0
- package/dist/types-ts4.5/plugins/media/ui/ToolbarMedia/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/media/ui/ToolbarMedia/toolbar-media-messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/ui/media-linking-toolbar-messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/utils/check-media-type.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/utils/current-media-node.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/utils/is-image.d.ts +1 -0
- package/dist/types-ts4.5/plugins/media/utils/media-common.d.ts +29 -0
- package/dist/types-ts4.5/plugins/media/utils/media-files.d.ts +30 -0
- package/dist/types-ts4.5/plugins/media/utils/media-single.d.ts +32 -0
- package/dist/types-ts4.5/plugins/mentions/analytics.d.ts +13 -0
- package/dist/types-ts4.5/plugins/mentions/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mentions/messages.d.ts +22 -0
- package/dist/types-ts4.5/plugins/mentions/nodeviews/mention.d.ts +9 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/utils.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mentions/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/mentions/type-ahead/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/mentions/types.d.ts +25 -0
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/styles.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mentions/ui/Mention/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/mentions/ui/ToolbarMention/index.d.ts +12 -0
- package/dist/types-ts4.5/plugins/mentions/utils.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/actions.d.ts +23 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +5 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/types.d.ts +10 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/utils.d.ts +2 -0
- package/dist/types-ts4.5/plugins/mobile-selection/content-in-selection.d.ts +5 -0
- package/dist/types-ts4.5/plugins/mobile-selection/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/mobile-selection/types.d.ts +32 -0
- package/dist/types-ts4.5/plugins/panel/actions.d.ts +9 -0
- package/dist/types-ts4.5/plugins/panel/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/panel/message.d.ts +37 -0
- package/dist/types-ts4.5/plugins/panel/nodeviews/panel.d.ts +35 -0
- package/dist/types-ts4.5/plugins/panel/pm-plugins/keymaps.d.ts +3 -0
- package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +11 -0
- package/dist/types-ts4.5/plugins/panel/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +13 -0
- package/dist/types-ts4.5/plugins/panel/types.d.ts +21 -0
- package/dist/types-ts4.5/plugins/panel/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/paste/actions.d.ts +15 -0
- package/dist/types-ts4.5/plugins/paste/commands.d.ts +16 -0
- package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +18 -0
- package/dist/types-ts4.5/plugins/paste/handlers.d.ts +50 -0
- package/dist/types-ts4.5/plugins/paste/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/paste/md-plugins/ignore-list-heading-md-plugin.d.ts +2 -0
- package/dist/types-ts4.5/plugins/paste/md.d.ts +2 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/analytics.d.ts +42 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +13 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +10 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +3 -0
- package/dist/types-ts4.5/plugins/paste/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/paste/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/paste/util/index.d.ts +18 -0
- package/dist/types-ts4.5/plugins/paste/util/tinyMCE.d.ts +32 -0
- package/dist/types-ts4.5/plugins/placeholder/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/placeholder/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/placeholder-text/actions.d.ts +4 -0
- package/dist/types-ts4.5/plugins/placeholder-text/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/placeholder-text/placeholder-text-nodeview.d.ts +17 -0
- package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/placeholder-text/selection-utils.d.ts +2 -0
- package/dist/types-ts4.5/plugins/placeholder-text/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/placeholder-text/types.d.ts +7 -0
- package/dist/types-ts4.5/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +25 -0
- package/dist/types-ts4.5/plugins/quick-insert/api.d.ts +6 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/action.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/code.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/custom-panel.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/date.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/decision.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/divider.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/emoji.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/expand.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/fallback.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/feedback.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading1.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading2.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading3.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading4.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading5.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading6.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/images.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/index.d.ts +30 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/layout.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/link.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/list-number.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/list.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/mention.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel-error.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel-note.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel-success.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel-warning.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/quote.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/status.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/commands.d.ts +5 -0
- package/dist/types-ts4.5/plugins/quick-insert/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/quick-insert/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/quick-insert/search.d.ts +5 -0
- package/dist/types-ts4.5/plugins/quick-insert/types.d.ts +24 -0
- package/dist/types-ts4.5/plugins/quick-insert/ui/ModalElementBrowser/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/rank.d.ts +6 -0
- package/dist/types-ts4.5/plugins/rule/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/rule/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/rule/pm-plugins/input-rule.d.ts +8 -0
- package/dist/types-ts4.5/plugins/rule/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/rule/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/save-on-enter/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/selection/actions.d.ts +17 -0
- package/dist/types-ts4.5/plugins/selection/commands.d.ts +8 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/actions.d.ts +25 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/direction.d.ts +10 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/selection.d.ts +1 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-ignored.d.ts +1 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +1 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils.d.ts +7 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor-selection.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/selection/plugin-factory.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/events/create-selection-between.d.ts +4 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/events/keydown.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-main.d.ts +3 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/selection-main.d.ts +7 -0
- package/dist/types-ts4.5/plugins/selection/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/selection/types.d.ts +14 -0
- package/dist/types-ts4.5/plugins/selection/utils.d.ts +64 -0
- package/dist/types-ts4.5/plugins/status/actions.d.ts +14 -0
- package/dist/types-ts4.5/plugins/status/analytics.d.ts +4 -0
- package/dist/types-ts4.5/plugins/status/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/status/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/status/nodeviews/messages.d.ts +17 -0
- package/dist/types-ts4.5/plugins/status/nodeviews/status.d.ts +24 -0
- package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +4 -0
- package/dist/types-ts4.5/plugins/status/plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/status/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/status/types.d.ts +14 -0
- package/dist/types-ts4.5/plugins/status/ui/statusPicker.d.ts +55 -0
- package/dist/types-ts4.5/plugins/status/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/submit-editor/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +16 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +9 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +15 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +54 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +9 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +23 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Decision/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/index.d.ts +26 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +27 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/text-color/commands/change-color.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/commands/remove-color.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/commands/toggle-color.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +25 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/index.d.ts +51 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-color/utils/color.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-color/utils/disabled.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-formatting/commands/clear-formatting.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-formatting/commands/text-formatting.d.ts +35 -0
- package/dist/types-ts4.5/plugins/text-formatting/commands/transform-to-code.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-formatting/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/clear-formatting-keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/clear-formatting.d.ts +8 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/cursor.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/input-rule.d.ts +23 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-formatting/types.d.ts +30 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/constants.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/dropdown-menu.d.ts +15 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.d.ts +9 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/menu-state.d.ts +5 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/responsive-toolbar-buttons.d.ts +20 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/index.d.ts +24 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/more-button.d.ts +13 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/single-toolbar-buttons.d.ts +9 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/toolbar-messages.d.ts +87 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/types.d.ts +32 -0
- package/dist/types-ts4.5/plugins/text-formatting/utils.d.ts +15 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +14 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/types.d.ts +20 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +9 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +8 -0
- package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +62 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +12 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-list-items.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-query.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-selected-index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/constants.d.ts +8 -0
- package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/type-ahead/insert-utils.d.ts +18 -0
- package/dist/types-ts4.5/plugins/type-ahead/messages.d.ts +72 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/actions.d.ts +9 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +15 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/input-rules.d.ts +6 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +15 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/reducer.d.ts +10 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/type-ahead/stats-modifier.d.ts +20 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/close-type-ahead.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +10 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/set-selection-before-query.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/types.d.ts +65 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/AssistiveText.d.ts +33 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +27 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadList.d.ts +25 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadListItem.d.ts +18 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadPopup.d.ts +29 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +21 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +7 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-load-items.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +11 -0
- package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +29 -0
- package/dist/types-ts4.5/plugins/undo-redo/attach-input-meta.d.ts +5 -0
- package/dist/types-ts4.5/plugins/undo-redo/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/undo-redo/enums.d.ts +4 -0
- package/dist/types-ts4.5/plugins/undo-redo/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/undo-redo/messages.d.ts +12 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/keymaps.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/main.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +21 -0
- package/dist/types-ts4.5/plugins/undo-redo/undo-redo-input-source.d.ts +3 -0
- package/dist/types-ts4.5/plugins/unsupported-content/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/unsupported-content/styles.d.ts +5 -0
- package/dist/types-ts4.5/plugins/unsupported-content/unsupported-inline-node-view.d.ts +11 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +12 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +9 -0
- package/dist/types-ts4.5/plugins/width/index.d.ts +10 -0
- package/dist/types-ts4.5/selection-api/api.d.ts +11 -0
- package/dist/types-ts4.5/stories/examples.d.ts +9 -0
- package/dist/types-ts4.5/test-utils.d.ts +38 -0
- package/dist/types-ts4.5/types/allowed-block-types.d.ts +1 -0
- package/dist/types-ts4.5/types/browser.d.ts +1 -0
- package/dist/types-ts4.5/types/command.d.ts +5 -0
- package/dist/types-ts4.5/types/dom-at-pos.d.ts +4 -0
- package/dist/types-ts4.5/types/editor-appearance-component.d.ts +48 -0
- package/dist/types-ts4.5/types/editor-appearance.d.ts +1 -0
- package/dist/types-ts4.5/types/editor-config.d.ts +24 -0
- package/dist/types-ts4.5/types/editor-instance.d.ts +19 -0
- package/dist/types-ts4.5/types/editor-onchange.d.ts +4 -0
- package/dist/types-ts4.5/types/editor-plugin.d.ts +1 -0
- package/dist/types-ts4.5/types/editor-props.d.ts +259 -0
- package/dist/types-ts4.5/types/editor-react-context.d.ts +1 -0
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -0
- package/dist/types-ts4.5/types/extension-config.d.ts +5 -0
- package/dist/types-ts4.5/types/feature-flags.d.ts +1 -0
- package/dist/types-ts4.5/types/get-editor-props.d.ts +12 -0
- package/dist/types-ts4.5/types/i18n.d.ts +5 -0
- package/dist/types-ts4.5/types/index.d.ts +18 -0
- package/dist/types-ts4.5/types/performance-tracking.d.ts +323 -0
- package/dist/types-ts4.5/types/pm-config.d.ts +1 -0
- package/dist/types-ts4.5/types/pm-plugin-list.d.ts +9 -0
- package/dist/types-ts4.5/types/pm-plugin.d.ts +1 -0
- package/dist/types-ts4.5/types/ui-components.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaInline/index.d.ts +8 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaMobile/index.d.ts +31 -0
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +14 -0
- package/dist/types-ts4.5/ui/Addon/Dropdown/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/DropdownItem/index.d.ts +5 -0
- package/dist/types-ts4.5/ui/Addon/DropdownItem/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +13 -0
- package/dist/types-ts4.5/ui/Addon/index.d.ts +6 -0
- package/dist/types-ts4.5/ui/Addon/types.d.ts +17 -0
- package/dist/types-ts4.5/ui/Alignment/AlignmentButton/index.d.ts +17 -0
- package/dist/types-ts4.5/ui/Alignment/index.d.ts +12 -0
- package/dist/types-ts4.5/ui/Alignment/messages.d.ts +17 -0
- package/dist/types-ts4.5/ui/Alignment/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +11 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +7 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +10 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +25 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +34 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +36 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +7 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +378 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/messages.d.ts +18 -0
- package/dist/types-ts4.5/ui/Appearance/Mobile.d.ts +3 -0
- package/dist/types-ts4.5/ui/AppearanceComponents/Mobile.d.ts +12 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/messages.d.ts +7 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +20 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/common.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/paletteMessages.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/statusColorPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/textColorPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/type.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/ColorPickerButton/index.d.ts +24 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +22 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelLoader.d.ts +5 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FieldMessages.d.ts +12 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Boolean.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/ColorPicker.d.ts +21 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CustomSelect.d.ts +24 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Date.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/DateRange.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Enum.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Expand.d.ts +18 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Fieldset.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Number.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/RadioGroup.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Select.d.ts +11 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/SelectItem.d.ts +5 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/String.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +15 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/UnhandledType.d.ts +6 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/UserSelect.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +1 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FormContent.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +16 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Header.d.ts +21 -0
- package/dist/types-ts4.5/ui/ConfigPanel/LoadingState.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/NestedForms/RemovableField.d.ts +19 -0
- package/dist/types-ts4.5/ui/ConfigPanel/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/ConfigPanel/messages.d.ts +87 -0
- package/dist/types-ts4.5/ui/ConfigPanel/transformers.d.ts +9 -0
- package/dist/types-ts4.5/ui/ConfigPanel/types.d.ts +40 -0
- package/dist/types-ts4.5/ui/ConfigPanel/utils.d.ts +13 -0
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +12 -0
- package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +24 -0
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +41 -0
- package/dist/types-ts4.5/ui/Dropdown/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/DropdownMenu/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/DropdownMenu/types.d.ts +1 -0
- package/dist/types-ts4.5/ui/EditorContext/index.d.ts +18 -0
- package/dist/types-ts4.5/ui/ElementBrowser/ElementBrowser.d.ts +36 -0
- package/dist/types-ts4.5/ui/ElementBrowser/InsertMenu.d.ts +4 -0
- package/dist/types-ts4.5/ui/ElementBrowser/ModalElementBrowser.d.ts +17 -0
- package/dist/types-ts4.5/ui/ElementBrowser/categories.d.ts +5 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/CategoryList.d.ts +10 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementBrowserLoader.d.ts +5 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/ElementList.d.ts +29 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/EmptyState.d.ts +6 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/NotFoundIllustration.d.ts +2 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/cellSizeAndPositionGetter.d.ts +7 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/utils.d.ts +12 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementSearch.d.ts +17 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/StatelessElementBrowser.d.ts +22 -0
- package/dist/types-ts4.5/ui/ElementBrowser/constants.d.ts +20 -0
- package/dist/types-ts4.5/ui/ElementBrowser/hooks/use-container-width.d.ts +33 -0
- package/dist/types-ts4.5/ui/ElementBrowser/hooks/use-focus.d.ts +35 -0
- package/dist/types-ts4.5/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +68 -0
- package/dist/types-ts4.5/ui/ElementBrowser/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/ElementBrowser/messages.d.ts +7 -0
- package/dist/types-ts4.5/ui/ElementBrowser/types.d.ts +31 -0
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +25 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/index.d.ts +26 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/utils.d.ts +13 -0
- package/dist/types-ts4.5/ui/LinkSearch/LinkSearchList.d.ts +20 -0
- package/dist/types-ts4.5/ui/LinkSearch/LinkSearchListItem.d.ts +22 -0
- package/dist/types-ts4.5/ui/LinkSearch/ToolbarComponents.d.ts +7 -0
- package/dist/types-ts4.5/ui/LinkSearch/index.d.ts +59 -0
- package/dist/types-ts4.5/ui/LinkSearch/listItemAlts.d.ts +2 -0
- package/dist/types-ts4.5/ui/LinkSearch/transformTimeStamp.d.ts +10 -0
- package/dist/types-ts4.5/ui/LinkSearch/types.d.ts +49 -0
- package/dist/types-ts4.5/ui/LinkSearch/withActivityProvider.d.ts +66 -0
- package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +12 -0
- package/dist/types-ts4.5/ui/PanelTextInput/index.d.ts +46 -0
- package/dist/types-ts4.5/ui/PanelTextInput/styles.d.ts +2 -0
- package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +37 -0
- package/dist/types-ts4.5/ui/PortalProvider/PortalProviderThemesProvider.d.ts +6 -0
- package/dist/types-ts4.5/ui/PortalProvider/index.d.ts +51 -0
- package/dist/types-ts4.5/ui/Resizer/index.d.ts +41 -0
- package/dist/types-ts4.5/ui/Resizer/styled.d.ts +2 -0
- package/dist/types-ts4.5/ui/Resizer/types.d.ts +26 -0
- package/dist/types-ts4.5/ui/Resizer/utils.d.ts +6 -0
- package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +3 -0
- package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +8 -0
- package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/hooks.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/index.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +34 -0
- package/dist/types-ts4.5/ui/Toolbar/types.d.ts +2 -0
- package/dist/types-ts4.5/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +30 -0
- package/dist/types-ts4.5/ui/ToolbarButton/index.d.ts +4 -0
- package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +45 -0
- package/dist/types-ts4.5/ui/ToolbarFeedback/styles.d.ts +6 -0
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +7 -0
- package/dist/types-ts4.5/ui/WidthEmitter/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +18 -0
- package/dist/types-ts4.5/ui/WithFlash/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/WithPluginState/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/styles.d.ts +12 -0
- package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +2 -0
- package/dist/types-ts4.5/utils/action.d.ts +10 -0
- package/dist/types-ts4.5/utils/announcer/announcer.d.ts +22 -0
- package/dist/types-ts4.5/utils/array.d.ts +2 -0
- package/dist/types-ts4.5/utils/cell-selection.d.ts +3 -0
- package/dist/types-ts4.5/utils/clipboard.d.ts +4 -0
- package/dist/types-ts4.5/utils/commands.d.ts +75 -0
- package/dist/types-ts4.5/utils/count-nodes.d.ts +8 -0
- package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +8 -0
- package/dist/types-ts4.5/utils/document-logger.d.ts +6 -0
- package/dist/types-ts4.5/utils/document.d.ts +57 -0
- package/dist/types-ts4.5/utils/dom.d.ts +2 -0
- package/dist/types-ts4.5/utils/drag-drop.d.ts +1 -0
- package/dist/types-ts4.5/utils/extensions.d.ts +6 -0
- package/dist/types-ts4.5/utils/filter/privacy-filter.d.ts +9 -0
- package/dist/types-ts4.5/utils/get-editor-plugins.d.ts +10 -0
- package/dist/types-ts4.5/utils/getAttrsWithChangesRecorder.d.ts +23 -0
- package/dist/types-ts4.5/utils/index.d.ts +85 -0
- package/dist/types-ts4.5/utils/input-rules.d.ts +29 -0
- package/dist/types-ts4.5/utils/insert.d.ts +24 -0
- package/dist/types-ts4.5/utils/is-full-page.d.ts +2 -0
- package/dist/types-ts4.5/utils/is-text-input.d.ts +2 -0
- package/dist/types-ts4.5/utils/keymap.d.ts +11 -0
- package/dist/types-ts4.5/utils/linking-utils.d.ts +14 -0
- package/dist/types-ts4.5/utils/list-commands.d.ts +7 -0
- package/dist/types-ts4.5/utils/lists.d.ts +2 -0
- package/dist/types-ts4.5/utils/mark.d.ts +15 -0
- package/dist/types-ts4.5/utils/node-width.d.ts +7 -0
- package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +8 -0
- package/dist/types-ts4.5/utils/nodes.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +13 -0
- package/dist/types-ts4.5/utils/performance/get-performance-timing.d.ts +8 -0
- package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +17 -0
- package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +8 -0
- package/dist/types-ts4.5/utils/performance/outlier.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/percentile.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +22 -0
- package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +48 -0
- package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +9 -0
- package/dist/types-ts4.5/utils/performance/simple-measure-to-entries.d.ts +28 -0
- package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +30 -0
- package/dist/types-ts4.5/utils/pick-by.d.ts +2 -0
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +2 -0
- package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +5 -0
- package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +16 -0
- package/dist/types-ts4.5/utils/prosemirror/autojoin.d.ts +13 -0
- package/dist/types-ts4.5/utils/prosemirror/position.d.ts +8 -0
- package/dist/types-ts4.5/utils/react-hooks/use-abortable-effect/index.d.ts +16 -0
- package/dist/types-ts4.5/utils/react-hooks/use-state-from-promise/index.d.ts +18 -0
- package/dist/types-ts4.5/utils/rich-media-utils.d.ts +8 -0
- package/dist/types-ts4.5/utils/selection.d.ts +11 -0
- package/dist/types-ts4.5/utils/sendLogs.d.ts +1 -0
- package/dist/types-ts4.5/utils/slice.d.ts +2 -0
- package/dist/types-ts4.5/utils/step.d.ts +1 -0
- package/dist/types-ts4.5/utils/table.d.ts +2 -0
- package/dist/types-ts4.5/version-wrapper.d.ts +3 -0
- package/package.json +5 -5
- /package/dist/cjs/plugins/paste/{newline-md-plugin.js → md-plugins/newline-md-plugin.js} +0 -0
- /package/dist/cjs/plugins/paste/{paragraph-md-plugin.js → md-plugins/paragraph-md-plugin.js} +0 -0
- /package/dist/es2019/plugins/paste/{newline-md-plugin.js → md-plugins/newline-md-plugin.js} +0 -0
- /package/dist/es2019/plugins/paste/{paragraph-md-plugin.js → md-plugins/paragraph-md-plugin.js} +0 -0
- /package/dist/esm/plugins/paste/{newline-md-plugin.js → md-plugins/newline-md-plugin.js} +0 -0
- /package/dist/esm/plugins/paste/{paragraph-md-plugin.js → md-plugins/paragraph-md-plugin.js} +0 -0
- /package/dist/{types/plugins/paste → types-ts4.5/plugins/paste/md-plugins}/linkify-md-plugin.d.ts +0 -0
- /package/dist/{types/plugins/paste → types-ts4.5/plugins/paste/md-plugins}/newline-md-plugin.d.ts +0 -0
- /package/dist/{types/plugins/paste → types-ts4.5/plugins/paste/md-plugins}/paragraph-md-plugin.d.ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="prosemirror-model" />
|
|
2
|
+
import type { EditorView } from 'prosemirror-view';
|
|
3
|
+
import type { Command } from '../types/command';
|
|
4
|
+
export declare function __temporaryFixForConfigPanel(editorView: EditorView): Promise<void>;
|
|
5
|
+
export declare function getEditorValueWithMedia(editorView: EditorView): Promise<import("prosemirror-model").Node<any>>;
|
|
6
|
+
/**
|
|
7
|
+
* Iterates over the commands one after the other,
|
|
8
|
+
* passes the tr through and dispatches the cumulated transaction
|
|
9
|
+
*/
|
|
10
|
+
export declare function cascadeCommands(cmds: Command[]): Command;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { AriaAttributes, Ref } from 'react';
|
|
2
|
+
type AnnouncerProps = {
|
|
3
|
+
ref?: Ref<HTMLDivElement>;
|
|
4
|
+
/** Set 'false' for announcing only changed text
|
|
5
|
+
* (not announce duplicate part of string after second render),
|
|
6
|
+
* and 'true' for announcing all the string after each render */
|
|
7
|
+
ariaAtomic?: AriaAttributes['aria-atomic'];
|
|
8
|
+
/** Set politeness settings */
|
|
9
|
+
ariaLive?: AriaAttributes['aria-live'];
|
|
10
|
+
/** Used to describe what types of changes have occurred to an aria-live region */
|
|
11
|
+
ariaRelevant?: AriaAttributes['aria-relevant'];
|
|
12
|
+
/** Role used to set attribute role. See more details https://dequeuniversity.com/library/aria/liveregion-playground#configOptions */
|
|
13
|
+
role?: 'status' | 'log' | 'alert' | 'timer' | 'marquee';
|
|
14
|
+
/** Text message that will be announced */
|
|
15
|
+
text: string;
|
|
16
|
+
/** Debounce delay.
|
|
17
|
+
* Set delay (ms) to prevent announce the same string multiple times.
|
|
18
|
+
* It can be useful for cases when the parent component re-renders with the same announcer's text. */
|
|
19
|
+
delay?: number;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: React.NamedExoticComponent<AnnouncerProps>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
2
|
+
import { Node } from 'prosemirror-model';
|
|
3
|
+
export declare const cellSelectionNodesBetween: (selection: CellSelection, doc: Node, f: (node: Node, pos: number, parent: Node, index: number) => boolean | null | undefined | void, startPos?: number) => void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function checkClipboardTypes(type: DOMStringList | ReadonlyArray<string>, item: string): boolean;
|
|
2
|
+
export declare function isPastedFile(rawEvent: Event): boolean;
|
|
3
|
+
export declare const copyToClipboard: (textToCopy: string) => Promise<void>;
|
|
4
|
+
export declare const copyHTMLToClipboard: (elementToCopy: HTMLElement, plainTextToCopy?: string) => Promise<void>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EditorState, Transaction } from 'prosemirror-state';
|
|
2
|
+
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
import { ResolvedPos, MarkType, Mark, Node as PMNode, Fragment } from 'prosemirror-model';
|
|
4
|
+
import { Command, HigherOrderCommand } from '../types/command';
|
|
5
|
+
type Predicate = (state: EditorState, view?: EditorView) => boolean;
|
|
6
|
+
declare const filter: (predicates: Predicate[] | Predicate, cmd: Command) => Command;
|
|
7
|
+
declare const isEmptySelectionAtStart: (state: EditorState) => boolean;
|
|
8
|
+
declare const isEmptySelectionAtEnd: (state: EditorState) => boolean;
|
|
9
|
+
declare const isFirstChildOfParent: (state: EditorState) => boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Creates a filter that checks if the node at a given number of parents above the current
|
|
12
|
+
* selection is of the correct node type.
|
|
13
|
+
* @param nodeType The node type to compare the nth parent against
|
|
14
|
+
* @param depthAway How many levels above the current node to check against. 0 refers to
|
|
15
|
+
* the current selection's parent, which will be the containing node when the selection
|
|
16
|
+
* is usually inside the text content.
|
|
17
|
+
*/
|
|
18
|
+
declare const isNthParentOfType: (nodeType: string, depthAway: number) => (state: EditorState, view?: EditorView) => boolean;
|
|
19
|
+
declare function findCutBefore($pos: ResolvedPos): ResolvedPos | null;
|
|
20
|
+
declare const applyMarkOnRange: (from: number, to: number, removeMark: boolean, mark: Mark, tr: Transaction) => Transaction<any>;
|
|
21
|
+
/**
|
|
22
|
+
* A wrapper over the default toggleMark, except when we have a selection
|
|
23
|
+
* we only toggle marks on text nodes rather than inline nodes.
|
|
24
|
+
* @param markType
|
|
25
|
+
* @param attrs
|
|
26
|
+
*/
|
|
27
|
+
declare const toggleMark: (markType: MarkType, attrs?: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
} | undefined) => Command;
|
|
30
|
+
declare const withScrollIntoView: HigherOrderCommand;
|
|
31
|
+
export type WalkNode = {
|
|
32
|
+
$pos: ResolvedPos;
|
|
33
|
+
foundNode: boolean;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Walk forwards from a position until we encounter the (inside) start of
|
|
37
|
+
* the next node, or reach the end of the document.
|
|
38
|
+
*
|
|
39
|
+
* @param $startPos Position to start walking from.
|
|
40
|
+
*/
|
|
41
|
+
declare const walkNextNode: ($startPos: ResolvedPos) => WalkNode;
|
|
42
|
+
/**
|
|
43
|
+
* Walk backwards from a position until we encounter the (inside) end of
|
|
44
|
+
* the previous node, or reach the start of the document.
|
|
45
|
+
*
|
|
46
|
+
* @param $startPos Position to start walking from.
|
|
47
|
+
*/
|
|
48
|
+
declare const walkPrevNode: ($startPos: ResolvedPos) => WalkNode;
|
|
49
|
+
/**
|
|
50
|
+
* Insert content, delete a range and create a new selection
|
|
51
|
+
* This function automatically handles the mapping of positions for insertion and deletion.
|
|
52
|
+
* The new selection is handled as a function since it may not always be necessary to resolve a position to the transactions mapping
|
|
53
|
+
*
|
|
54
|
+
* @param getSelectionResolvedPos get the resolved position to create a new selection
|
|
55
|
+
* @param insertions content to insert at the specified position
|
|
56
|
+
* @param deletions the ranges to delete
|
|
57
|
+
*/
|
|
58
|
+
declare const insertContentDeleteRange: (tr: Transaction, getSelectionResolvedPos: (tr: Transaction) => ResolvedPos, insertions: [
|
|
59
|
+
Fragment,
|
|
60
|
+
number
|
|
61
|
+
][], deletions: [
|
|
62
|
+
number,
|
|
63
|
+
number
|
|
64
|
+
][]) => void;
|
|
65
|
+
declare const selectNode: (pos: number) => Command;
|
|
66
|
+
/**
|
|
67
|
+
* If the selection is empty, is inside a paragraph node and `canNextNodeMoveUp` is true then delete current paragraph
|
|
68
|
+
* and move the node below it up. The selection will be retained, to be placed in the moved node.
|
|
69
|
+
*
|
|
70
|
+
* @param canNextNodeMoveUp check if node directly after the selection is able to be brought up to selection
|
|
71
|
+
* @returns PM Command
|
|
72
|
+
*/
|
|
73
|
+
declare const deleteEmptyParagraphAndMoveBlockUp: (canNextNodeMoveUp: (nextNode: PMNode) => boolean) => Command;
|
|
74
|
+
export { filter, isEmptySelectionAtStart, isEmptySelectionAtEnd, isFirstChildOfParent, isNthParentOfType, findCutBefore, toggleMark, applyMarkOnRange, withScrollIntoView, walkNextNode, walkPrevNode, insertContentDeleteRange, selectNode, deleteEmptyParagraphAndMoveBlockUp, };
|
|
75
|
+
export type { Predicate, };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface DeprecationWarning {
|
|
2
|
+
property: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
condition?: (props: any) => boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const deprecationWarnings: (className: string, props: any, deprecations: Array<DeprecationWarning>) => void;
|
|
8
|
+
export default deprecationWarnings;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Node as PMNode } from 'prosemirror-model';
|
|
2
|
+
import type { SimplifiedNode } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
export type { SimplifiedNode };
|
|
4
|
+
export declare const getDocStructure: (doc: PMNode, options?: {
|
|
5
|
+
compact?: boolean;
|
|
6
|
+
}) => SimplifiedNode | string;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Node, Fragment, Schema, ResolvedPos } from 'prosemirror-model';
|
|
2
|
+
import { Transaction, ReadonlyTransaction, EditorState } from 'prosemirror-state';
|
|
3
|
+
import { ContentNodeWithPos } from 'prosemirror-utils';
|
|
4
|
+
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
+
import { Transformer, ReplaceRawValue } from '@atlaskit/editor-common/types';
|
|
6
|
+
import { DispatchAnalyticsEvent } from '../plugins/analytics/types/dispatch-analytics-event';
|
|
7
|
+
import { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
8
|
+
/**
|
|
9
|
+
* Checks if node is an empty paragraph.
|
|
10
|
+
*/
|
|
11
|
+
export declare function isEmptyParagraph(node?: Node | null): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Returns false if node contains only empty inline nodes and hardBreaks.
|
|
14
|
+
*/
|
|
15
|
+
export declare function hasVisibleContent(node: Node): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Checks if a node has any content. Ignores node that only contain empty block nodes.
|
|
18
|
+
*/
|
|
19
|
+
export declare function isNodeEmpty(node?: Node): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Checks if a node looks like an empty document
|
|
22
|
+
*/
|
|
23
|
+
export declare function isEmptyDocument(node: Node): boolean;
|
|
24
|
+
export declare function hasDocAsParent($anchor: ResolvedPos): boolean;
|
|
25
|
+
export declare function isProseMirrorSchemaCheckError(error: unknown): boolean;
|
|
26
|
+
export declare function isInEmptyLine(state: EditorState): boolean;
|
|
27
|
+
export declare function bracketTyped(state: EditorState): boolean;
|
|
28
|
+
export declare function processRawFragmentValue(schema: Schema, value?: ReplaceRawValue[], providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean, contentTransformer?: Transformer<string>, dispatchAnalyticsEvent?: DispatchAnalyticsEvent): Fragment | undefined;
|
|
29
|
+
export declare function processRawValue(schema: Schema, value?: ReplaceRawValue, providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean, contentTransformer?: Transformer<string>, dispatchAnalyticsEvent?: DispatchAnalyticsEvent): Node | undefined;
|
|
30
|
+
export declare const getStepRange: (transaction: Transaction | ReadonlyTransaction) => {
|
|
31
|
+
from: number;
|
|
32
|
+
to: number;
|
|
33
|
+
} | null;
|
|
34
|
+
/**
|
|
35
|
+
* Find the farthest node given a condition
|
|
36
|
+
* @param predicate Function to check the node
|
|
37
|
+
*/
|
|
38
|
+
export declare const findFarthestParentNode: (predicate: (node: Node) => boolean) => ($pos: ResolvedPos) => ContentNodeWithPos | null;
|
|
39
|
+
export declare const isSelectionEndOfParagraph: (state: EditorState) => boolean;
|
|
40
|
+
export type ChangedFn = (node: Node<any>, pos: number, parent: Node<any>, index: number) => boolean | null | undefined | void;
|
|
41
|
+
export declare function getChangedNodesIn({ tr, doc, }: {
|
|
42
|
+
tr: ReadonlyTransaction | Transaction;
|
|
43
|
+
doc: Node;
|
|
44
|
+
}): {
|
|
45
|
+
node: Node;
|
|
46
|
+
pos: number;
|
|
47
|
+
}[];
|
|
48
|
+
export declare function getChangedNodes(tr: ReadonlyTransaction | Transaction): {
|
|
49
|
+
node: Node;
|
|
50
|
+
pos: number;
|
|
51
|
+
}[];
|
|
52
|
+
export declare function nodesBetweenChanged(tr: Transaction | ReadonlyTransaction, f: ChangedFn, startPos?: number): void;
|
|
53
|
+
export declare function getNodesCount(node: Node): Record<string, number>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns a set of active child breakout modes
|
|
56
|
+
*/
|
|
57
|
+
export declare function getChildBreakoutModes(doc: Node, schema: Schema, filter?: BreakoutMarkAttrs['mode'][]): BreakoutMarkAttrs['mode'][];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isDroppedFile(rawEvent: Event): boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
2
|
+
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
|
+
import { QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
+
import EditorActions from '../actions';
|
|
5
|
+
export declare function extensionProviderToQuickInsertProvider(extensionProvider: ExtensionProvider, editorActions: EditorActions, createAnalyticsEvent?: CreateUIAnalyticsEvent): Promise<QuickInsertProvider>;
|
|
6
|
+
export declare function combineQuickInsertProviders(quickInsertProviders: Array<QuickInsertProvider | Promise<QuickInsertProvider>>): Promise<QuickInsertProvider>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
2
|
+
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
+
/**
|
|
4
|
+
* Sanitises a document where some content should not be in the document (e.g. mention names).
|
|
5
|
+
*
|
|
6
|
+
* It is expected that these names we be resolved separately (e.g. when rendering
|
|
7
|
+
* a node view).
|
|
8
|
+
*/
|
|
9
|
+
export declare function sanitizeNodeForPrivacy(json: JSONDocNode, providerFactory?: ProviderFactory): JSONDocNode;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GetEditorPlugins } from '../types/get-editor-props';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Retrieve the editor props using createPluginList default behaviour.
|
|
5
|
+
*
|
|
6
|
+
* @param GetEditorPlugins props used to initialise the plugins
|
|
7
|
+
* @returns list of editor plugins
|
|
8
|
+
*/
|
|
9
|
+
declare const getEditorPlugins: GetEditorPlugins;
|
|
10
|
+
export default getEditorPlugins;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Node } from 'prosemirror-model';
|
|
2
|
+
export interface GetAttrsChange<T, V> {
|
|
3
|
+
node: Node;
|
|
4
|
+
prevAttrs?: T;
|
|
5
|
+
newAttrs: T | false | undefined;
|
|
6
|
+
options: V;
|
|
7
|
+
}
|
|
8
|
+
export type GetAttrsWithChangesRecorder<T, V> = {
|
|
9
|
+
getAttrs(prevAttrs?: T | undefined, node?: Node): T | false | undefined;
|
|
10
|
+
getAndResetAttrsChanges(): GetAttrsChange<T, V>[];
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Create a new getAttrs handler who will wrap the original function,
|
|
14
|
+
* and store the changes internally to be used for other
|
|
15
|
+
* tools like Analytics later in the code.
|
|
16
|
+
*
|
|
17
|
+
* @param getAttrs - Function who gets the new attributes
|
|
18
|
+
* @return object
|
|
19
|
+
* @property handler - New handler to get indentation attributes (It wraps the original)
|
|
20
|
+
* @property getChanges - Return all the stored changes.
|
|
21
|
+
* @property clear - Clear the changes
|
|
22
|
+
*/
|
|
23
|
+
export default function getAttrsWithChangesRecorder<T, V>(getAttrs: (prevAttrs?: T, node?: Node) => T | false | undefined, options: V): GetAttrsWithChangesRecorder<T, V>;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { MarkType, Node, ResolvedPos, Schema, Slice } from 'prosemirror-model';
|
|
2
|
+
import { EditorState, Selection } from 'prosemirror-state';
|
|
3
|
+
import { JSONDocNode, JSONNode } from '@atlaskit/editor-json-transformer';
|
|
4
|
+
export { insideTable } from '@atlaskit/editor-common/core-utils';
|
|
5
|
+
export { isEmptyParagraph, hasVisibleContent, isNodeEmpty, isEmptyDocument, processRawValue, getStepRange, findFarthestParentNode, isSelectionEndOfParagraph, nodesBetweenChanged, getNodesCount, } from './document';
|
|
6
|
+
export { sanitiseMarksInSelection } from './mark';
|
|
7
|
+
export { isParagraph, isText, isLinkMark } from './nodes';
|
|
8
|
+
export { normaliseNestedLayout, setNodeSelection, setGapCursorSelection, setTextSelection, } from './selection';
|
|
9
|
+
export type { JSONDocNode };
|
|
10
|
+
export { default as measurements } from './performance/measure-enum';
|
|
11
|
+
export declare function canMoveUp(state: EditorState): boolean;
|
|
12
|
+
export declare function canMoveDown(state: EditorState): boolean;
|
|
13
|
+
export declare function isSelectionInsideLastNodeInDocument(selection: Selection): boolean;
|
|
14
|
+
export declare function getCursor(selection: Selection): ResolvedPos | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Check if a mark is allowed at the current selection / cursor based on a given state.
|
|
17
|
+
* This method looks at both the currently active marks on the transaction, as well as
|
|
18
|
+
* the node and marks at the current selection to determine if the given mark type is
|
|
19
|
+
* allowed.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isMarkTypeAllowedInCurrentSelection(markType: MarkType, state: EditorState): boolean;
|
|
22
|
+
export declare function checkNodeDown(selection: Selection, doc: Node, filter: (node: Node) => boolean): boolean;
|
|
23
|
+
export declare function toJSON(node: Node): JSONDocNode;
|
|
24
|
+
export declare function nodeToJSON(node: Node): JSONNode;
|
|
25
|
+
/**
|
|
26
|
+
* Repeating string for multiple times
|
|
27
|
+
*/
|
|
28
|
+
export declare function stringRepeat(text: string, length: number): string;
|
|
29
|
+
export declare function whichTransitionEvent<TransitionEventName extends string>(): TransitionEventName | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Function will check if changing block types: Paragraph, Heading is enabled.
|
|
32
|
+
*/
|
|
33
|
+
export declare function areBlockTypesDisabled(state: EditorState): boolean;
|
|
34
|
+
export declare const isTemporary: (id: string) => boolean;
|
|
35
|
+
export declare const isEmptyNode: (schema: Schema) => (node: Node) => boolean;
|
|
36
|
+
export declare const insideTableCell: (state: EditorState) => boolean;
|
|
37
|
+
export declare const isInLayoutColumn: (state: EditorState) => boolean;
|
|
38
|
+
export declare const isInListItem: (state: EditorState) => boolean;
|
|
39
|
+
export declare const hasOpenEnd: (slice: Slice) => boolean;
|
|
40
|
+
export declare const isInsideBlockQuote: (state: EditorState) => boolean;
|
|
41
|
+
export declare function filterChildrenBetween(doc: Node, from: number, to: number, predicate: (node: Node, pos: number, parent: Node) => boolean | undefined): {
|
|
42
|
+
node: Node;
|
|
43
|
+
pos: number;
|
|
44
|
+
}[];
|
|
45
|
+
export declare function dedupe<T>(list?: T[], iteratee?: (p: T) => T[keyof T] | T): T[];
|
|
46
|
+
export { isTextSelection, isElementInTableCell, isLastItemMediaGroup, nonNullable, } from '@atlaskit/editor-common/utils';
|
|
47
|
+
/** Helper type for single arg function */
|
|
48
|
+
type Func<A, B> = (a: A) => B;
|
|
49
|
+
type FuncN<A extends any[], B> = (...args: A) => B;
|
|
50
|
+
/**
|
|
51
|
+
* Compose 1 to n functions.
|
|
52
|
+
* @param func first function
|
|
53
|
+
* @param funcs additional functions
|
|
54
|
+
*/
|
|
55
|
+
export declare function compose<F1 extends Func<any, any>, FN extends Array<Func<any, any>>, R extends FN extends [
|
|
56
|
+
] ? F1 : FN extends [
|
|
57
|
+
Func<infer A, any>
|
|
58
|
+
] ? (a: A) => ReturnType<F1> : FN extends [
|
|
59
|
+
any,
|
|
60
|
+
Func<infer A, any>
|
|
61
|
+
] ? (a: A) => ReturnType<F1> : FN extends [
|
|
62
|
+
any,
|
|
63
|
+
any,
|
|
64
|
+
Func<infer A, any>
|
|
65
|
+
] ? (a: A) => ReturnType<F1> : FN extends [
|
|
66
|
+
any,
|
|
67
|
+
any,
|
|
68
|
+
any,
|
|
69
|
+
Func<infer A, any>
|
|
70
|
+
] ? (a: A) => ReturnType<F1> : FN extends [
|
|
71
|
+
any,
|
|
72
|
+
any,
|
|
73
|
+
any,
|
|
74
|
+
any,
|
|
75
|
+
Func<infer A, any>
|
|
76
|
+
] ? (a: A) => ReturnType<F1> : Func<any, ReturnType<F1>>>(func: F1, ...funcs: FN): R;
|
|
77
|
+
export declare function pipe(): <R>(a: R) => R;
|
|
78
|
+
export declare function pipe<F extends Function>(f: F): F;
|
|
79
|
+
export declare function pipe<F1 extends FuncN<any, any>>(f1: F1): (...args: Parameters<F1>) => ReturnType<F1>;
|
|
80
|
+
export declare function pipe<F1 extends FuncN<any, any>, F2 extends Func<ReturnType<F1>, any>>(f1: F1, f2: F2): (...args: Parameters<F1>) => ReturnType<F2>;
|
|
81
|
+
export declare function pipe<F1 extends FuncN<any, any>, F2 extends Func<ReturnType<F1>, any>, F3 extends Func<ReturnType<F2>, any>>(f1: F1, f2: F2, f3: F3): (...args: Parameters<F1>) => ReturnType<F3>;
|
|
82
|
+
export declare function pipe<F1 extends FuncN<any, any>, F2 extends Func<ReturnType<F1>, any>, F3 extends Func<ReturnType<F2>, any>, FN extends Array<Func<any, any>>>(f1: F1, f2: F2, f3: F3, ...fn: FN): (...args: Parameters<F1>) => any;
|
|
83
|
+
export declare function shallowEqual(obj1?: any, obj2?: any): boolean;
|
|
84
|
+
export declare function sum<T>(arr: Array<T>, f: (val: T) => number): number;
|
|
85
|
+
export { SetAttrsStep } from '@atlaskit/adf-schema/steps';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
+
import type { Node as PMNode, NodeType } from 'prosemirror-model';
|
|
3
|
+
import { EditorState } from 'prosemirror-state';
|
|
4
|
+
import { InputRuleHandler, InputRuleWrapper } from '@atlaskit/prosemirror-input-rules';
|
|
5
|
+
import { AnalyticsEventPayload } from '../plugins/analytics/types';
|
|
6
|
+
import { JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST } from '@atlaskit/editor-common/analytics';
|
|
7
|
+
type GetPayload = AnalyticsEventPayload | ((state: EditorState, matchResult: RegExpExecArray) => AnalyticsEventPayload);
|
|
8
|
+
export declare const ruleWithAnalytics: (getPayload: GetPayload) => (originalRule: InputRuleWrapper) => InputRuleWrapper;
|
|
9
|
+
export declare const createRule: (match: RegExp, handler: InputRuleHandler) => InputRuleWrapper;
|
|
10
|
+
type Options = {
|
|
11
|
+
isBlockNodeRule?: boolean;
|
|
12
|
+
allowInsertTextOnDocument?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const createPlugin: (pluginName: string, rules: Array<InputRuleWrapper>, options?: Options) => SafePlugin;
|
|
15
|
+
type WrappingTextRuleProps = {
|
|
16
|
+
match: RegExp;
|
|
17
|
+
nodeType: NodeType;
|
|
18
|
+
getAttrs?: Record<string, any> | ((matchResult: RegExpExecArray) => Record<string, any>);
|
|
19
|
+
};
|
|
20
|
+
export declare const createWrappingTextBlockRule: ({ match, nodeType, getAttrs, }: WrappingTextRuleProps) => InputRuleWrapper;
|
|
21
|
+
type WrappingRuleProps = {
|
|
22
|
+
match: RegExp;
|
|
23
|
+
nodeType: NodeType;
|
|
24
|
+
getAttrs?: Record<string, any> | ((matchResult: RegExpExecArray) => Record<string, any>);
|
|
25
|
+
joinPredicate?: (matchResult: RegExpExecArray, node: PMNode, joinScenario: JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST) => boolean;
|
|
26
|
+
};
|
|
27
|
+
export declare const createWrappingJoinRule: ({ match, nodeType, getAttrs, joinPredicate, }: WrappingRuleProps) => InputRuleWrapper;
|
|
28
|
+
export declare const createJoinNodesRule: (match: RegExp, nodeType: NodeType) => InputRuleWrapper;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Node, Fragment, NodeType } from 'prosemirror-model';
|
|
2
|
+
import { Transaction, EditorState } from 'prosemirror-state';
|
|
3
|
+
export type InsertableContent = Node | Fragment;
|
|
4
|
+
export declare enum LookDirection {
|
|
5
|
+
Before = "before",
|
|
6
|
+
After = "after"
|
|
7
|
+
}
|
|
8
|
+
export declare const safeInsert: (content: InsertableContent, position?: number) => (tr: Transaction) => Transaction<any> | null;
|
|
9
|
+
/**
|
|
10
|
+
* Method extracted from typeahed plugin to be shared with the element browser on handling element insertion.
|
|
11
|
+
*/
|
|
12
|
+
export declare const insertSelectedItem: (maybeNode?: Node | Object | string | Fragment, opts?: {
|
|
13
|
+
selectInlineNode?: boolean;
|
|
14
|
+
}) => (state: EditorState, tr: Transaction<any>, start: number) => Transaction<any>;
|
|
15
|
+
/**
|
|
16
|
+
* ED-14584: Util to check if the destination node is a paragraph & the
|
|
17
|
+
* content being inserted is a valid child of the grandparent node.
|
|
18
|
+
* In this case, the destination node should split
|
|
19
|
+
*/
|
|
20
|
+
export declare const shouldSplitSelectedNodeOnNodeInsertion: ({ parentNodeType, grandParentNodeType, content, }: {
|
|
21
|
+
parentNodeType: NodeType<any>;
|
|
22
|
+
grandParentNodeType: NodeType<any>;
|
|
23
|
+
content: Node;
|
|
24
|
+
}) => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
+
/**
|
|
3
|
+
* A workaround for mostly Cyrillic but should have a positive affect
|
|
4
|
+
* on other languages / layouts. Attempts a similar approach to OS X.
|
|
5
|
+
* @see ED-7310
|
|
6
|
+
* @see https://github.com/ProseMirror/prosemirror/issues/957
|
|
7
|
+
* @param bindings
|
|
8
|
+
*/
|
|
9
|
+
export declare function keymap(bindings: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}): SafePlugin<any, any>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, AnalyticsEventPayload, ACTION_SUBJECT_ID, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
export declare const buildEditLinkPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
3
|
+
export type LinkType = ACTION_SUBJECT_ID.CARD_INLINE | ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.EMBEDS | ACTION_SUBJECT_ID.HYPERLINK;
|
|
4
|
+
export declare const buildVisitedLinkPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
5
|
+
export declare const buildOpenedSettingsPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
6
|
+
export declare const unlinkPayload: (type: LinkType) => {
|
|
7
|
+
action: ACTION;
|
|
8
|
+
actionSubject: ACTION_SUBJECT;
|
|
9
|
+
actionSubjectId: ACTION_SUBJECT_ID.CARD_INLINE | undefined;
|
|
10
|
+
attributes: {
|
|
11
|
+
inputMethod: INPUT_METHOD;
|
|
12
|
+
};
|
|
13
|
+
eventType: EVENT_TYPE;
|
|
14
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { indentList, outdentList, toggleOrderedList, toggleBulletList } from '../plugins/list/commands';
|
|
2
|
+
export declare const getListCommands: () => {
|
|
3
|
+
indentList: typeof indentList;
|
|
4
|
+
outdentList: typeof outdentList;
|
|
5
|
+
toggleOrderedList: typeof toggleOrderedList;
|
|
6
|
+
toggleBulletList: typeof toggleBulletList;
|
|
7
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Node, Mark, MarkType, NodeType } from 'prosemirror-model';
|
|
2
|
+
import { SelectionRange, EditorState, Transaction } from 'prosemirror-state';
|
|
3
|
+
export declare const isMarkAllowedInRange: (doc: Node, ranges: Array<SelectionRange>, type: MarkType) => boolean;
|
|
4
|
+
export declare const isMarkExcluded: (type: MarkType, marks?: Array<Mark> | null) => boolean;
|
|
5
|
+
export declare const removeBlockMarks: (state: EditorState, marks: Array<MarkType | undefined>) => Transaction | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Removes marks from nodes in the current selection that are not supported
|
|
8
|
+
*/
|
|
9
|
+
export declare const sanitiseSelectionMarksForWrapping: (state: EditorState, newParentType?: NodeType) => Transaction | undefined;
|
|
10
|
+
type NodesSanitized = Array<{
|
|
11
|
+
node: Node;
|
|
12
|
+
marksRemoved: Mark[];
|
|
13
|
+
}>;
|
|
14
|
+
export declare const sanitiseMarksInSelection: (tr: Transaction, newParentType?: NodeType) => NodesSanitized;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Node as PMNode, MarkType } from 'prosemirror-model';
|
|
2
|
+
import { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
3
|
+
export { getParentNodeWidth } from '@atlaskit/editor-common/node-width';
|
|
4
|
+
/**
|
|
5
|
+
* Returns the breakout mode of a given node
|
|
6
|
+
*/
|
|
7
|
+
export declare const getBreakoutMode: (node: PMNode, breakout: MarkType) => BreakoutMarkAttrs['mode'] | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EditorState } from 'prosemirror-state';
|
|
2
|
+
import { NodeWithPos } from 'prosemirror-utils';
|
|
3
|
+
type FindNodesByIdsOption = {
|
|
4
|
+
includeDocNode?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const findNodePosByLocalIds: (state: EditorState, ids: string[], option?: FindNodesByIdsOption) => NodeWithPos[];
|
|
7
|
+
export declare const findNodePosByFragmentLocalIds: (state: EditorState, ids: string[]) => NodeWithPos[];
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { findChangedNodesFromTransaction, validNode, validateNodes, isType, isParagraph, isText, isLinkMark, SelectedState, isNodeSelectedOrInRange, isSupportedInParent, } from '@atlaskit/editor-common/utils';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ACTION_SUBJECT, ACTION, FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
type RenderActions = ACTION.RE_RENDERED;
|
|
3
|
+
type RenderActionSubjects = ACTION_SUBJECT.EDITOR | ACTION_SUBJECT.REACT_EDITOR_VIEW;
|
|
4
|
+
export type RenderTrackingProps<ComponentProps> = {
|
|
5
|
+
componentProps: ComponentProps;
|
|
6
|
+
action: RenderActions;
|
|
7
|
+
actionSubject: RenderActionSubjects;
|
|
8
|
+
handleAnalyticsEvent: FireAnalyticsCallback;
|
|
9
|
+
propsToIgnore?: Array<keyof ComponentProps>;
|
|
10
|
+
useShallow?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare function RenderTracking<Props>(props: RenderTrackingProps<Props>): null;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Calculate the difference between performance.now() and the given startTime.
|
|
3
|
+
* This allows for the timing to be overridable during tests.
|
|
4
|
+
*
|
|
5
|
+
* @param startTime DOMHighResTimeStamp
|
|
6
|
+
* @returns DOMHighResTimeStamp
|
|
7
|
+
*/
|
|
8
|
+
export declare const getTimeSince: (startTime: DOMHighResTimeStamp) => DOMHighResTimeStamp;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
+
import { SafePluginSpec } from 'prosemirror-state';
|
|
3
|
+
import { Schema } from 'prosemirror-model';
|
|
4
|
+
import { EditorProps } from '../../types/editor-props';
|
|
5
|
+
import { TransactionTracker } from './track-transactions';
|
|
6
|
+
import { FeatureFlags } from '../../types/feature-flags';
|
|
7
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
8
|
+
type InstrumentedPluginOptions = EditorProps['performanceTracking'] & {
|
|
9
|
+
saferDispatchedTransactions?: FeatureFlags['saferDispatchedTransactions'];
|
|
10
|
+
saferDispatchedTransactionsAnalyticsOnly?: FeatureFlags['saferDispatchedTransactionsAnalyticsOnly'];
|
|
11
|
+
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
12
|
+
};
|
|
13
|
+
export declare class InstrumentedPlugin<PluginState, NodeSchema extends Schema<any, any>> extends SafePlugin<PluginState, NodeSchema> {
|
|
14
|
+
constructor(spec: SafePluginSpec, options?: InstrumentedPluginOptions, transactionTracker?: TransactionTracker);
|
|
15
|
+
static fromPlugin<T, V extends Schema<any, any>>(plugin: SafePlugin<T, V>, options: InstrumentedPluginOptions, transactionTracker?: TransactionTracker): InstrumentedPlugin<T, V>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const outlier: (input: number[], factor: number) => number | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const percentile: (input: number[], fraction: number) => number | undefined;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NodesCount, PluginPerformanceReportData, PluginPerformanceReportOptions } from './plugin-performance-report';
|
|
2
|
+
import { TransactionTracker } from './track-transactions';
|
|
3
|
+
export declare class PluginPerformanceObserver implements PerformanceObserver {
|
|
4
|
+
private callback;
|
|
5
|
+
private getNodeCounts;
|
|
6
|
+
private getPlugins;
|
|
7
|
+
private getOptions;
|
|
8
|
+
private reportCount;
|
|
9
|
+
private simpleObserver;
|
|
10
|
+
private observer;
|
|
11
|
+
private getTransactionTracker?;
|
|
12
|
+
constructor(callback: (report: PluginPerformanceReportData) => void);
|
|
13
|
+
private get isSimpleTracking();
|
|
14
|
+
withNodeCounts(getNodeCounts: () => NodesCount): this;
|
|
15
|
+
withPlugins(getPlugins: () => string[]): this;
|
|
16
|
+
withOptions(getOptions: () => Partial<PluginPerformanceReportOptions>): this;
|
|
17
|
+
withTransactionTracker(getTransactionTracker: () => TransactionTracker): this;
|
|
18
|
+
private onObserveration;
|
|
19
|
+
observe(): void;
|
|
20
|
+
disconnect(): void;
|
|
21
|
+
takeRecords(): PerformanceEntryList;
|
|
22
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PluginMethodReport, PluginsReport, NodeCount, PluginPerformanceReportData } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
export type { PluginMethodReport, PluginsReport, NodeCount, PluginPerformanceReportData, };
|
|
3
|
+
export interface OutlierReport {
|
|
4
|
+
stateApplyOutlier: number | undefined;
|
|
5
|
+
viewUpdateOutlier: number | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface PluginPerformanceReportOptions {
|
|
8
|
+
usePerformanceMarks?: boolean;
|
|
9
|
+
samplingRate: number;
|
|
10
|
+
slowThreshold: number;
|
|
11
|
+
outlierThreshold: number;
|
|
12
|
+
outlierFactor: number;
|
|
13
|
+
}
|
|
14
|
+
export type NodesCount = {
|
|
15
|
+
nodeCount: NodeCount;
|
|
16
|
+
extensionNodeCount: NodeCount;
|
|
17
|
+
};
|
|
18
|
+
export declare class PluginPerformanceReport {
|
|
19
|
+
private entry;
|
|
20
|
+
private count;
|
|
21
|
+
private pluginNames;
|
|
22
|
+
private entryList?;
|
|
23
|
+
private stateApplied?;
|
|
24
|
+
private viewUpdated?;
|
|
25
|
+
private onChangeCalled?;
|
|
26
|
+
private onEditorViewStateUpdatedCalled?;
|
|
27
|
+
private nodes;
|
|
28
|
+
private extensionNodes;
|
|
29
|
+
private nodesDuration;
|
|
30
|
+
private plugins;
|
|
31
|
+
private slowPlugins;
|
|
32
|
+
private options;
|
|
33
|
+
private constructor();
|
|
34
|
+
static fromEntry(entry: PerformanceEntry): PluginPerformanceReport;
|
|
35
|
+
private isChild;
|
|
36
|
+
private getEntryByName;
|
|
37
|
+
private getMethodSum;
|
|
38
|
+
private greaterEquals;
|
|
39
|
+
private hasOutlierMethods;
|
|
40
|
+
get trigger(): 'none' | 'slow' | 'distribution' | 'sample';
|
|
41
|
+
get hasSlowPlugins(): boolean;
|
|
42
|
+
withEntryList(entryList: PerformanceObserverEntryList): this;
|
|
43
|
+
withPlugins(pluginNames: string[]): this;
|
|
44
|
+
withNodes(nodesCount: NodesCount, nodesDuration?: number): this;
|
|
45
|
+
withCount(count: number): this;
|
|
46
|
+
withOptions(options: Partial<PluginPerformanceReportOptions>): this;
|
|
47
|
+
toJSON(): PluginPerformanceReportData;
|
|
48
|
+
}
|