@atlaskit/editor-common 107.28.1 → 107.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/afm-cc/tsconfig.json +7 -4
- package/dist/cjs/block-menu/messages.js +6 -1
- package/dist/cjs/messages/block-menu.js +8 -3
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/smartCard.js +1 -1
- package/dist/cjs/toolbar/EditorToolbarUIProvider.js +5 -3
- package/dist/cjs/toolbar/index.js +30 -0
- package/dist/cjs/toolbar/keys.js +17 -1
- package/dist/cjs/toolbar/rank.js +9 -3
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/block-menu/messages.js +6 -1
- package/dist/es2019/messages/block-menu.js +8 -3
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/smartCard.js +2 -2
- package/dist/es2019/toolbar/EditorToolbarUIProvider.js +2 -2
- package/dist/es2019/toolbar/index.js +2 -2
- package/dist/es2019/toolbar/keys.js +16 -0
- package/dist/es2019/toolbar/rank.js +13 -2
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/block-menu/messages.js +6 -1
- package/dist/esm/messages/block-menu.js +8 -3
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/smartCard.js +1 -1
- package/dist/esm/toolbar/EditorToolbarUIProvider.js +5 -3
- package/dist/esm/toolbar/index.js +2 -2
- package/dist/esm/toolbar/keys.js +16 -0
- package/dist/esm/toolbar/rank.js +9 -3
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/api.d.ts +2 -2
- package/dist/types/analytics/types/activity-session-events.d.ts +14 -14
- package/dist/types/analytics/types/ai-definitions-events.d.ts +1 -1
- package/dist/types/analytics/types/ai-events.d.ts +2 -2
- package/dist/types/analytics/types/ai-inline-suggestion-events.d.ts +2 -2
- package/dist/types/analytics/types/ai-proactive-events.d.ts +12 -12
- package/dist/types/analytics/types/ai-unified-events.d.ts +11 -11
- package/dist/types/analytics/types/breakout-events.d.ts +4 -4
- package/dist/types/analytics/types/config-panel-events.d.ts +3 -3
- package/dist/types/analytics/types/cut-copy-events.d.ts +4 -4
- package/dist/types/analytics/types/datasource-clicked-events.d.ts +2 -2
- package/dist/types/analytics/types/date-events.d.ts +1 -1
- package/dist/types/analytics/types/element-events.d.ts +4 -4
- package/dist/types/analytics/types/events.d.ts +23 -23
- package/dist/types/analytics/types/extension-events.d.ts +5 -5
- package/dist/types/analytics/types/format-events.d.ts +6 -6
- package/dist/types/analytics/types/general-events.d.ts +32 -32
- package/dist/types/analytics/types/highlight-actions-menu-events.d.ts +1 -1
- package/dist/types/analytics/types/highlight-events.d.ts +1 -1
- package/dist/types/analytics/types/inline-comment-events.d.ts +1 -1
- package/dist/types/analytics/types/insert-events.d.ts +26 -26
- package/dist/types/analytics/types/link-events.d.ts +1 -1
- package/dist/types/analytics/types/link-tool-bar-events.d.ts +17 -17
- package/dist/types/analytics/types/list-events.d.ts +8 -8
- package/dist/types/analytics/types/loom-events.d.ts +1 -1
- package/dist/types/analytics/types/media-events.d.ts +9 -9
- package/dist/types/analytics/types/mention-events.d.ts +30 -30
- package/dist/types/analytics/types/move-content-events.d.ts +3 -3
- package/dist/types/analytics/types/ncs-session-step-events.d.ts +3 -3
- package/dist/types/analytics/types/node-events.d.ts +5 -5
- package/dist/types/analytics/types/offline-editing-event.d.ts +5 -5
- package/dist/types/analytics/types/paste-events.d.ts +6 -6
- package/dist/types/analytics/types/performance-report.d.ts +6 -6
- package/dist/types/analytics/types/referentiality-events.d.ts +2 -2
- package/dist/types/analytics/types/selection-events.d.ts +1 -1
- package/dist/types/analytics/types/smart-links.d.ts +2 -2
- package/dist/types/analytics/types/substitute-events.d.ts +1 -1
- package/dist/types/analytics/types/table-events.d.ts +19 -19
- package/dist/types/analytics/types/type-ahead.d.ts +3 -3
- package/dist/types/analytics/types/utils.d.ts +6 -6
- package/dist/types/analytics/types/view-events.d.ts +2 -2
- package/dist/types/annotation/index.d.ts +39 -39
- package/dist/types/block-menu/messages.d.ts +5 -0
- package/dist/types/card/LinkToolbarButtonGroup.d.ts +5 -5
- package/dist/types/card/MediaAndEmbedsToolbar/index.d.ts +2 -2
- package/dist/types/card/cardOptions.d.ts +36 -36
- package/dist/types/card/types.d.ts +8 -8
- package/dist/types/collab/index.d.ts +71 -71
- package/dist/types/doc-utils/editor-use-only.d.ts +1 -1
- package/dist/types/element-browser/ElementBrowser.d.ts +9 -9
- package/dist/types/element-browser/ViewMore.d.ts +1 -1
- package/dist/types/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/ElementList.d.ts +11 -11
- package/dist/types/element-browser/components/ElementList/EmptyState.d.ts +1 -1
- package/dist/types/element-browser/components/ElementSearch.d.ts +4 -4
- package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +14 -14
- package/dist/types/element-browser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +12 -12
- package/dist/types/element-browser/types.d.ts +2 -2
- package/dist/types/extensibility/Extension/Extension/index.d.ts +12 -12
- package/dist/types/extensibility/Extension/InlineExtension/index.d.ts +5 -5
- package/dist/types/extensibility/Extension/LegacyContentHeader/index.d.ts +1 -1
- package/dist/types/extensibility/Extension/Lozenge/EditToggle.d.ts +2 -2
- package/dist/types/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +6 -6
- package/dist/types/extensibility/Extension/Lozenge/LozengeComponent.d.ts +11 -11
- package/dist/types/extensibility/Extension/Lozenge/index.d.ts +9 -9
- package/dist/types/extensibility/Extension.d.ts +8 -8
- package/dist/types/extensibility/ExtensionComponent.d.ts +13 -13
- package/dist/types/extensibility/ExtensionNodeWrapper.d.ts +1 -1
- package/dist/types/extensibility/MultiBodiedExtension/action-api.d.ts +5 -5
- package/dist/types/extensibility/MultiBodiedExtension/index.d.ts +10 -10
- package/dist/types/extensibility/extensionNodeView.d.ts +8 -8
- package/dist/types/extensions/extension-handlers.d.ts +1 -1
- package/dist/types/extensions/types/extension-handler.d.ts +10 -10
- package/dist/types/extensions/types/extension-manifest-toolbar-item.d.ts +13 -13
- package/dist/types/extensions/types/extension-manifest.d.ts +26 -26
- package/dist/types/extensions/types/extension-provider.d.ts +3 -3
- package/dist/types/extensions/types/field-definitions.d.ts +40 -40
- package/dist/types/extensions/types/utils.d.ts +7 -7
- package/dist/types/floating-toolbar/DropdownMenuExtensionItems.d.ts +4 -4
- package/dist/types/floating-toolbar/DropdownMenuItem.d.ts +10 -10
- package/dist/types/guideline/relativeGuideline.d.ts +1 -1
- package/dist/types/guideline/types.d.ts +9 -9
- package/dist/types/guideline/updateGuideline.d.ts +1 -1
- package/dist/types/guideline/utils.d.ts +2 -2
- package/dist/types/icons/shared/DynamicStrokeIconDecoration.d.ts +1 -1
- package/dist/types/icons/shared/SteppedRainbowIconDecoration.d.ts +1 -1
- package/dist/types/insert/index.d.ts +2 -2
- package/dist/types/keymaps/index.d.ts +2 -2
- package/dist/types/lazy-node-view/index.d.ts +3 -3
- package/dist/types/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -3
- package/dist/types/link/ConfigureLinkOverlay/handleNavigation.d.ts +1 -1
- package/dist/types/link/ConfigureLinkOverlay/index.d.ts +2 -2
- package/dist/types/link/LinkPicker/EditorLinkPicker/index.d.ts +3 -3
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +12 -12
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +8 -8
- package/dist/types/link/LinkSearch/LinkSearchList.d.ts +6 -6
- package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +4 -4
- package/dist/types/link/LinkSearch/types.d.ts +11 -11
- package/dist/types/link/types.d.ts +9 -9
- package/dist/types/lists/indentation.d.ts +1 -1
- package/dist/types/lists/node.d.ts +2 -2
- package/dist/types/lists/replace-content.d.ts +1 -1
- package/dist/types/lists/selection.d.ts +1 -1
- package/dist/types/media-inline/inline-image-card.d.ts +4 -4
- package/dist/types/media-inline/inline-image-wrapper.d.ts +3 -3
- package/dist/types/media-inline/media-inline-image-card.d.ts +8 -8
- package/dist/types/media-inline/types.d.ts +4 -4
- package/dist/types/media-inline/views/error-view.d.ts +3 -3
- package/dist/types/media-inline/views/loading-view.d.ts +2 -2
- package/dist/types/media-single/CommentBadge.d.ts +6 -6
- package/dist/types/media-single/CommentBadgeNext.d.ts +1 -1
- package/dist/types/media-single/MediaBadges.d.ts +4 -4
- package/dist/types/media-single/utils.d.ts +5 -5
- package/dist/types/messages/block-menu.d.ts +5 -0
- package/dist/types/node-visibility/node-visibility-manager.d.ts +5 -5
- package/dist/types/portal/PortalManager.d.ts +1 -1
- package/dist/types/portal/common.d.ts +2 -2
- package/dist/types/preset/builder.d.ts +1 -1
- package/dist/types/preset/plugin-injection-api.d.ts +3 -3
- package/dist/types/provider-factory/card-provider.d.ts +1 -1
- package/dist/types/provider-factory/context-identifier-provider.d.ts +1 -1
- package/dist/types/provider-factory/image-upload-provider.d.ts +1 -1
- package/dist/types/provider-factory/macro-provider.d.ts +4 -4
- package/dist/types/provider-factory/media-provider.d.ts +5 -5
- package/dist/types/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types/provider-factory/quick-insert-provider.d.ts +10 -10
- package/dist/types/provider-factory/search-provider.d.ts +3 -3
- package/dist/types/provider-factory/types.d.ts +11 -11
- package/dist/types/provider-helpers/promise-helpers.d.ts +1 -1
- package/dist/types/quick-insert/use-icon-themed.d.ts +1 -1
- package/dist/types/react-node-view/getInlineNodeViewProducer.d.ts +6 -6
- package/dist/types/react-node-view/index.d.ts +1 -1
- package/dist/types/resizer/BreakoutResizer.d.ts +10 -10
- package/dist/types/resizer/Resizer.d.ts +32 -32
- package/dist/types/resizer/types.d.ts +2 -2
- package/dist/types/safe-plugin/index.d.ts +1 -1
- package/dist/types/selection/gap-cursor/actions.d.ts +1 -1
- package/dist/types/selection/gap-cursor/selection.d.ts +1 -1
- package/dist/types/selection/index.d.ts +1 -1
- package/dist/types/selection/types.d.ts +3 -3
- package/dist/types/table/SortingIcon.d.ts +1 -1
- package/dist/types/toolbar/context.d.ts +1 -1
- package/dist/types/toolbar/index.d.ts +2 -2
- package/dist/types/toolbar/keys.d.ts +15 -0
- package/dist/types/toolbar/rank.d.ts +10 -0
- package/dist/types/types/annotation/index.d.ts +43 -43
- package/dist/types/types/copy-button.d.ts +8 -8
- package/dist/types/types/doc-builder.d.ts +1 -1
- package/dist/types/types/editor-actions.d.ts +6 -6
- package/dist/types/types/editor-container-width.d.ts +7 -7
- package/dist/types/types/editor-plugin.d.ts +33 -33
- package/dist/types/types/empty-state-handler.d.ts +1 -1
- package/dist/types/types/feature-flags.d.ts +107 -107
- package/dist/types/types/feedback-dialog.d.ts +5 -5
- package/dist/types/types/floating-toolbar.d.ts +142 -142
- package/dist/types/types/hyperlink.d.ts +10 -10
- package/dist/types/types/input-rules.d.ts +1 -1
- package/dist/types/types/next-editor-plugin.d.ts +47 -47
- package/dist/types/types/performance-tracking.d.ts +90 -90
- package/dist/types/types/plugin-factory.d.ts +6 -6
- package/dist/types/types/prosemirror-config.d.ts +1 -1
- package/dist/types/types/quick-insert.d.ts +9 -9
- package/dist/types/types/selection-toolbar.d.ts +2 -2
- package/dist/types/types/supported-browsers.d.ts +1 -1
- package/dist/types/types/tables.d.ts +3 -3
- package/dist/types/types/text-formatting.d.ts +14 -14
- package/dist/types/types/toolbar.d.ts +2 -2
- package/dist/types/types/type-ahead.d.ts +29 -29
- package/dist/types/types/ui-components.d.ts +7 -7
- package/dist/types/types/user-preferences.d.ts +6 -6
- package/dist/types/ugc-tokens/editor-ugc-token-names.d.ts +1 -1
- package/dist/types/ui/Announcer/announcer.d.ts +5 -5
- package/dist/types/ui/AssistiveText/AssistiveText.d.ts +2 -2
- package/dist/types/ui/BaseTheme/index.d.ts +2 -2
- package/dist/types/ui/Caption/index.d.ts +2 -2
- package/dist/types/ui/ContextPanel/context.d.ts +4 -4
- package/dist/types/ui/DropList/index.d.ts +7 -7
- package/dist/types/ui/Emoji/index.d.ts +3 -3
- package/dist/types/ui/ErrorBoundary/index.d.ts +1 -1
- package/dist/types/ui/EventHandlers/index.d.ts +7 -7
- package/dist/types/ui/Expand/sharedStyles.d.ts +2 -2
- package/dist/types/ui/FloatingToolbar/Button.d.ts +20 -20
- package/dist/types/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +1 -1
- package/dist/types/ui/HoverLinkOverlay/types.d.ts +4 -4
- package/dist/types/ui/Layer/index.d.ts +6 -6
- package/dist/types/ui/MediaSingle/grid.d.ts +4 -4
- package/dist/types/ui/MediaSingle/index.d.ts +12 -12
- package/dist/types/ui/MediaSingle/styled.d.ts +8 -8
- package/dist/types/ui/Mention/index.d.ts +3 -3
- package/dist/types/ui/Mention/mention-with-profilecard.d.ts +4 -4
- package/dist/types/ui/Mention/mention-with-providers.d.ts +4 -4
- package/dist/types/ui/OverflowShadow/index.d.ts +1 -1
- package/dist/types/ui/OverflowShadow/shadowObserver.d.ts +1 -1
- package/dist/types/ui/PanelTextInput/index.d.ts +18 -18
- package/dist/types/ui/Popup/index.d.ts +16 -16
- package/dist/types/ui/Popup/utils.d.ts +6 -6
- package/dist/types/ui/Pulse/Pulse.d.ts +1 -1
- package/dist/types/ui/ResizerLegacy/index.d.ts +11 -11
- package/dist/types/ui/ResizerLegacy/types.d.ts +8 -8
- package/dist/types/ui/TableSelector/index.d.ts +11 -11
- package/dist/types/ui/TableSelector/table-selector.d.ts +7 -7
- package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -1
- package/dist/types/ui/UnsupportedInline/index.d.ts +1 -1
- package/dist/types/ui/WidthProvider/index.d.ts +2 -2
- package/dist/types/ui-color/ColorPalette/Color/index.d.ts +8 -8
- package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +3 -3
- package/dist/types/ui-color/ColorPalette/index.d.ts +4 -4
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/types.d.ts +11 -11
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +11 -11
- package/dist/types/ui-menu/Dropdown/index.d.ts +15 -15
- package/dist/types/ui-menu/DropdownMenu/types.d.ts +33 -33
- package/dist/types/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +4 -4
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +19 -19
- package/dist/types/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types/ui-react/with-react-editor-view-outer-listeners.d.ts +5 -5
- package/dist/types/user-preferences/persistence-api.d.ts +8 -8
- package/dist/types/utils/breakout.d.ts +12 -12
- package/dist/types/utils/calculate-toolbar-position.d.ts +1 -1
- package/dist/types/utils/compare-props.d.ts +3 -3
- package/dist/types/utils/count-nodes.d.ts +1 -1
- package/dist/types/utils/create-wrap-selection-transaction.d.ts +1 -1
- package/dist/types/utils/editor-core-utils.d.ts +1 -1
- package/dist/types/utils/error-reporter.d.ts +1 -1
- package/dist/types/utils/get-performance-options.d.ts +2 -2
- package/dist/types/utils/hyperlink.d.ts +1 -1
- package/dist/types/utils/imageLoader.d.ts +3 -3
- package/dist/types/utils/input-rules.d.ts +2 -2
- package/dist/types/utils/macro.d.ts +1 -1
- package/dist/types/utils/page-element-counts.d.ts +2 -2
- package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +2 -2
- package/dist/types/utils/performance/measure-render.d.ts +3 -3
- package/dist/types/utils/performance/measure-tti.d.ts +1 -1
- package/dist/types/utils/plugin-state-factory.d.ts +1 -1
- package/dist/types/utils/profiler/render-count.d.ts +3 -3
- package/dist/types/utils/track-unsupported-content.d.ts +5 -5
- package/dist/types/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +1 -1
- package/dist/types/utils/unsupportedContent/types.d.ts +1 -1
- package/dist/types/utils/validator.d.ts +5 -5
- package/dist/types/with-plugin-state/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/api.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/activity-session-events.d.ts +14 -14
- package/dist/types-ts4.5/analytics/types/ai-definitions-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/ai-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/ai-inline-suggestion-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/ai-proactive-events.d.ts +12 -12
- package/dist/types-ts4.5/analytics/types/ai-unified-events.d.ts +11 -11
- package/dist/types-ts4.5/analytics/types/breakout-events.d.ts +4 -4
- package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/cut-copy-events.d.ts +4 -4
- package/dist/types-ts4.5/analytics/types/datasource-clicked-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/date-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/element-events.d.ts +4 -4
- package/dist/types-ts4.5/analytics/types/events.d.ts +23 -23
- package/dist/types-ts4.5/analytics/types/extension-events.d.ts +5 -5
- package/dist/types-ts4.5/analytics/types/format-events.d.ts +6 -6
- package/dist/types-ts4.5/analytics/types/general-events.d.ts +32 -32
- package/dist/types-ts4.5/analytics/types/highlight-actions-menu-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/highlight-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/inline-comment-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +26 -26
- package/dist/types-ts4.5/analytics/types/link-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/link-tool-bar-events.d.ts +17 -17
- package/dist/types-ts4.5/analytics/types/list-events.d.ts +8 -8
- package/dist/types-ts4.5/analytics/types/loom-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/media-events.d.ts +9 -9
- package/dist/types-ts4.5/analytics/types/mention-events.d.ts +30 -30
- package/dist/types-ts4.5/analytics/types/move-content-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/ncs-session-step-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/node-events.d.ts +5 -5
- package/dist/types-ts4.5/analytics/types/offline-editing-event.d.ts +5 -5
- package/dist/types-ts4.5/analytics/types/paste-events.d.ts +6 -6
- package/dist/types-ts4.5/analytics/types/performance-report.d.ts +6 -6
- package/dist/types-ts4.5/analytics/types/referentiality-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/selection-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/smart-links.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/substitute-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/table-events.d.ts +19 -19
- package/dist/types-ts4.5/analytics/types/type-ahead.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/utils.d.ts +6 -6
- package/dist/types-ts4.5/analytics/types/view-events.d.ts +2 -2
- package/dist/types-ts4.5/annotation/index.d.ts +39 -39
- package/dist/types-ts4.5/block-menu/messages.d.ts +5 -0
- package/dist/types-ts4.5/card/LinkToolbarButtonGroup.d.ts +5 -5
- package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +2 -2
- package/dist/types-ts4.5/card/cardOptions.d.ts +36 -36
- package/dist/types-ts4.5/card/types.d.ts +8 -8
- package/dist/types-ts4.5/collab/index.d.ts +71 -71
- package/dist/types-ts4.5/doc-utils/editor-use-only.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/ElementBrowser.d.ts +9 -9
- package/dist/types-ts4.5/element-browser/ViewMore.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +11 -11
- package/dist/types-ts4.5/element-browser/components/ElementList/EmptyState.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +4 -4
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +14 -14
- package/dist/types-ts4.5/element-browser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +12 -12
- package/dist/types-ts4.5/element-browser/types.d.ts +2 -2
- package/dist/types-ts4.5/extensibility/Extension/Extension/index.d.ts +12 -12
- package/dist/types-ts4.5/extensibility/Extension/InlineExtension/index.d.ts +5 -5
- package/dist/types-ts4.5/extensibility/Extension/LegacyContentHeader/index.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/EditToggle.d.ts +2 -2
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +6 -6
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/LozengeComponent.d.ts +11 -11
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/index.d.ts +9 -9
- package/dist/types-ts4.5/extensibility/Extension.d.ts +8 -8
- package/dist/types-ts4.5/extensibility/ExtensionComponent.d.ts +13 -13
- package/dist/types-ts4.5/extensibility/ExtensionNodeWrapper.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/action-api.d.ts +5 -5
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/index.d.ts +10 -10
- package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +8 -8
- package/dist/types-ts4.5/extensions/extension-handlers.d.ts +1 -1
- package/dist/types-ts4.5/extensions/types/extension-handler.d.ts +10 -10
- package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +13 -13
- package/dist/types-ts4.5/extensions/types/extension-manifest.d.ts +26 -26
- package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +3 -3
- package/dist/types-ts4.5/extensions/types/field-definitions.d.ts +40 -40
- package/dist/types-ts4.5/extensions/types/utils.d.ts +7 -7
- package/dist/types-ts4.5/floating-toolbar/DropdownMenuExtensionItems.d.ts +4 -4
- package/dist/types-ts4.5/floating-toolbar/DropdownMenuItem.d.ts +10 -10
- package/dist/types-ts4.5/guideline/relativeGuideline.d.ts +1 -1
- package/dist/types-ts4.5/guideline/types.d.ts +9 -9
- package/dist/types-ts4.5/guideline/updateGuideline.d.ts +1 -1
- package/dist/types-ts4.5/guideline/utils.d.ts +2 -2
- package/dist/types-ts4.5/icons/shared/DynamicStrokeIconDecoration.d.ts +1 -1
- package/dist/types-ts4.5/icons/shared/SteppedRainbowIconDecoration.d.ts +1 -1
- package/dist/types-ts4.5/insert/index.d.ts +2 -2
- package/dist/types-ts4.5/keymaps/index.d.ts +2 -2
- package/dist/types-ts4.5/lazy-node-view/index.d.ts +3 -3
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -3
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/handleNavigation.d.ts +1 -1
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/index.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +3 -3
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +12 -12
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +8 -8
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchList.d.ts +6 -6
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +4 -4
- package/dist/types-ts4.5/link/LinkSearch/types.d.ts +11 -11
- package/dist/types-ts4.5/link/types.d.ts +9 -9
- package/dist/types-ts4.5/lists/indentation.d.ts +1 -1
- package/dist/types-ts4.5/lists/node.d.ts +2 -2
- package/dist/types-ts4.5/lists/replace-content.d.ts +1 -1
- package/dist/types-ts4.5/lists/selection.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/inline-image-card.d.ts +4 -4
- package/dist/types-ts4.5/media-inline/inline-image-wrapper.d.ts +3 -3
- package/dist/types-ts4.5/media-inline/media-inline-image-card.d.ts +8 -8
- package/dist/types-ts4.5/media-inline/types.d.ts +4 -4
- package/dist/types-ts4.5/media-inline/views/error-view.d.ts +3 -3
- package/dist/types-ts4.5/media-inline/views/loading-view.d.ts +2 -2
- package/dist/types-ts4.5/media-single/CommentBadge.d.ts +6 -6
- package/dist/types-ts4.5/media-single/CommentBadgeNext.d.ts +1 -1
- package/dist/types-ts4.5/media-single/MediaBadges.d.ts +4 -4
- package/dist/types-ts4.5/media-single/utils.d.ts +5 -5
- package/dist/types-ts4.5/messages/block-menu.d.ts +5 -0
- package/dist/types-ts4.5/node-visibility/node-visibility-manager.d.ts +5 -5
- package/dist/types-ts4.5/portal/PortalManager.d.ts +1 -1
- package/dist/types-ts4.5/portal/common.d.ts +2 -2
- package/dist/types-ts4.5/preset/builder.d.ts +1 -1
- package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +3 -3
- package/dist/types-ts4.5/provider-factory/card-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/context-identifier-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/image-upload-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/macro-provider.d.ts +4 -4
- package/dist/types-ts4.5/provider-factory/media-provider.d.ts +5 -5
- package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +10 -10
- package/dist/types-ts4.5/provider-factory/search-provider.d.ts +3 -3
- package/dist/types-ts4.5/provider-factory/types.d.ts +11 -11
- package/dist/types-ts4.5/provider-helpers/promise-helpers.d.ts +1 -1
- package/dist/types-ts4.5/quick-insert/use-icon-themed.d.ts +1 -1
- package/dist/types-ts4.5/react-node-view/getInlineNodeViewProducer.d.ts +6 -6
- package/dist/types-ts4.5/react-node-view/index.d.ts +1 -1
- package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +10 -10
- package/dist/types-ts4.5/resizer/Resizer.d.ts +32 -32
- package/dist/types-ts4.5/resizer/types.d.ts +2 -2
- package/dist/types-ts4.5/safe-plugin/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/gap-cursor/actions.d.ts +1 -1
- package/dist/types-ts4.5/selection/gap-cursor/selection.d.ts +1 -1
- package/dist/types-ts4.5/selection/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/types.d.ts +3 -3
- package/dist/types-ts4.5/table/SortingIcon.d.ts +1 -1
- package/dist/types-ts4.5/toolbar/context.d.ts +1 -1
- package/dist/types-ts4.5/toolbar/index.d.ts +2 -2
- package/dist/types-ts4.5/toolbar/keys.d.ts +15 -0
- package/dist/types-ts4.5/toolbar/rank.d.ts +10 -0
- package/dist/types-ts4.5/types/annotation/index.d.ts +43 -43
- package/dist/types-ts4.5/types/copy-button.d.ts +8 -8
- package/dist/types-ts4.5/types/doc-builder.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-actions.d.ts +6 -6
- package/dist/types-ts4.5/types/editor-container-width.d.ts +7 -7
- package/dist/types-ts4.5/types/editor-plugin.d.ts +33 -33
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -1
- package/dist/types-ts4.5/types/feature-flags.d.ts +107 -107
- package/dist/types-ts4.5/types/feedback-dialog.d.ts +5 -5
- package/dist/types-ts4.5/types/floating-toolbar.d.ts +142 -142
- package/dist/types-ts4.5/types/hyperlink.d.ts +10 -10
- package/dist/types-ts4.5/types/input-rules.d.ts +1 -1
- package/dist/types-ts4.5/types/next-editor-plugin.d.ts +47 -47
- package/dist/types-ts4.5/types/performance-tracking.d.ts +90 -90
- package/dist/types-ts4.5/types/plugin-factory.d.ts +6 -6
- package/dist/types-ts4.5/types/prosemirror-config.d.ts +1 -1
- package/dist/types-ts4.5/types/quick-insert.d.ts +9 -9
- package/dist/types-ts4.5/types/selection-toolbar.d.ts +2 -2
- package/dist/types-ts4.5/types/supported-browsers.d.ts +1 -1
- package/dist/types-ts4.5/types/tables.d.ts +3 -3
- package/dist/types-ts4.5/types/text-formatting.d.ts +14 -14
- package/dist/types-ts4.5/types/toolbar.d.ts +2 -2
- package/dist/types-ts4.5/types/type-ahead.d.ts +29 -29
- package/dist/types-ts4.5/types/ui-components.d.ts +7 -7
- package/dist/types-ts4.5/types/user-preferences.d.ts +6 -6
- package/dist/types-ts4.5/ugc-tokens/editor-ugc-token-names.d.ts +1 -1
- package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +5 -5
- package/dist/types-ts4.5/ui/AssistiveText/AssistiveText.d.ts +2 -2
- package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/Caption/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +4 -4
- package/dist/types-ts4.5/ui/DropList/index.d.ts +7 -7
- package/dist/types-ts4.5/ui/Emoji/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +7 -7
- package/dist/types-ts4.5/ui/Expand/sharedStyles.d.ts +2 -2
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +20 -20
- package/dist/types-ts4.5/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +1 -1
- package/dist/types-ts4.5/ui/HoverLinkOverlay/types.d.ts +4 -4
- package/dist/types-ts4.5/ui/Layer/index.d.ts +6 -6
- package/dist/types-ts4.5/ui/MediaSingle/grid.d.ts +4 -4
- package/dist/types-ts4.5/ui/MediaSingle/index.d.ts +12 -12
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +8 -8
- package/dist/types-ts4.5/ui/Mention/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/Mention/mention-with-profilecard.d.ts +4 -4
- package/dist/types-ts4.5/ui/Mention/mention-with-providers.d.ts +4 -4
- package/dist/types-ts4.5/ui/OverflowShadow/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/OverflowShadow/shadowObserver.d.ts +1 -1
- package/dist/types-ts4.5/ui/PanelTextInput/index.d.ts +18 -18
- package/dist/types-ts4.5/ui/Popup/index.d.ts +16 -16
- package/dist/types-ts4.5/ui/Popup/utils.d.ts +6 -6
- package/dist/types-ts4.5/ui/Pulse/Pulse.d.ts +1 -1
- package/dist/types-ts4.5/ui/ResizerLegacy/index.d.ts +11 -11
- package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +8 -8
- package/dist/types-ts4.5/ui/TableSelector/index.d.ts +11 -11
- package/dist/types-ts4.5/ui/TableSelector/table-selector.d.ts +7 -7
- package/dist/types-ts4.5/ui/UnsupportedBlock/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +2 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +8 -8
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +3 -3
- package/dist/types-ts4.5/ui-color/ColorPalette/index.d.ts +4 -4
- package/dist/types-ts4.5/ui-menu/ArrowKeyNavigationProvider/types.d.ts +11 -11
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +11 -11
- package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +15 -15
- package/dist/types-ts4.5/ui-menu/DropdownMenu/types.d.ts +33 -33
- package/dist/types-ts4.5/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +4 -4
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +19 -19
- package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types-ts4.5/ui-react/with-react-editor-view-outer-listeners.d.ts +5 -5
- package/dist/types-ts4.5/user-preferences/persistence-api.d.ts +8 -8
- package/dist/types-ts4.5/utils/breakout.d.ts +12 -12
- package/dist/types-ts4.5/utils/calculate-toolbar-position.d.ts +1 -1
- package/dist/types-ts4.5/utils/compare-props.d.ts +3 -3
- package/dist/types-ts4.5/utils/count-nodes.d.ts +1 -1
- package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +1 -1
- package/dist/types-ts4.5/utils/editor-core-utils.d.ts +1 -1
- package/dist/types-ts4.5/utils/error-reporter.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +2 -2
- package/dist/types-ts4.5/utils/hyperlink.d.ts +1 -1
- package/dist/types-ts4.5/utils/imageLoader.d.ts +3 -3
- package/dist/types-ts4.5/utils/input-rules.d.ts +2 -2
- package/dist/types-ts4.5/utils/macro.d.ts +1 -1
- package/dist/types-ts4.5/utils/page-element-counts.d.ts +2 -2
- package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +2 -2
- package/dist/types-ts4.5/utils/performance/measure-render.d.ts +3 -3
- package/dist/types-ts4.5/utils/performance/measure-tti.d.ts +1 -1
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +1 -1
- package/dist/types-ts4.5/utils/profiler/render-count.d.ts +3 -3
- package/dist/types-ts4.5/utils/track-unsupported-content.d.ts +5 -5
- package/dist/types-ts4.5/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +1 -1
- package/dist/types-ts4.5/utils/unsupportedContent/types.d.ts +1 -1
- package/dist/types-ts4.5/utils/validator.d.ts +5 -5
- package/dist/types-ts4.5/with-plugin-state/index.d.ts +1 -1
- package/package.json +4 -8
|
@@ -31,65 +31,65 @@ type FeedbackAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.FEEDBACK_DIALOG, undefine
|
|
|
31
31
|
inputMethod: INPUT_METHOD.QUICK_INSERT;
|
|
32
32
|
}, undefined>;
|
|
33
33
|
type EditorStartAEP = UIAEP<ACTION.STARTED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
34
|
-
platform: PLATFORMS.NATIVE | PLATFORMS.HYBRID | PLATFORMS.WEB;
|
|
35
|
-
featureFlags: FeatureFlagKey[];
|
|
36
34
|
accountLocale?: string;
|
|
37
35
|
browserLocale?: string;
|
|
36
|
+
featureFlags: FeatureFlagKey[];
|
|
37
|
+
platform: PLATFORMS.NATIVE | PLATFORMS.HYBRID | PLATFORMS.WEB;
|
|
38
38
|
}, undefined>;
|
|
39
39
|
type EditorPerfAEP = OperationalAEPWithObjectId<ACTION.EDITOR_MOUNTED | ACTION.PROSEMIRROR_RENDERED | ACTION.ON_EDITOR_READY_CALLBACK | ACTION.ON_CHANGE_CALLBACK, ACTION_SUBJECT.EDITOR, undefined, {
|
|
40
|
+
distortedDuration?: boolean;
|
|
40
41
|
duration: number;
|
|
41
|
-
startTime: number;
|
|
42
42
|
nodes?: Record<string, number>;
|
|
43
|
-
ttfb?: number;
|
|
44
43
|
severity?: SEVERITY;
|
|
45
|
-
|
|
44
|
+
startTime: number;
|
|
45
|
+
ttfb?: number;
|
|
46
46
|
}>;
|
|
47
47
|
type EditorContentRetrievalPerformedAEP = OperationalAEP<ACTION.EDITOR_CONTENT_RETRIEVAL_PERFORMED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
48
|
-
success: boolean;
|
|
49
48
|
errorInfo?: string;
|
|
50
49
|
errorStack?: string;
|
|
50
|
+
success: boolean;
|
|
51
51
|
}>;
|
|
52
52
|
type EditorRenderedAEP<T> = OperationalAEP<ACTION.RE_RENDERED, ACTION_SUBJECT.EDITOR | ACTION_SUBJECT.REACT_EDITOR_VIEW, undefined, {
|
|
53
|
-
propsDifference: PropsDifference<T> | ShallowPropsDifference<T>;
|
|
54
53
|
count: number;
|
|
54
|
+
propsDifference: PropsDifference<T> | ShallowPropsDifference<T>;
|
|
55
55
|
}>;
|
|
56
56
|
type BrowserFreezePayload = OperationalAEPWithObjectId<ACTION.BROWSER_FREEZE, ACTION_SUBJECT.EDITOR, undefined, {
|
|
57
57
|
freezeTime: number;
|
|
58
|
-
nodeSize: number;
|
|
59
|
-
nodeCount?: Record<string, number>;
|
|
60
58
|
interactionType?: BROWSER_FREEZE_INTERACTION_TYPE;
|
|
59
|
+
nodeCount?: Record<string, number>;
|
|
60
|
+
nodeSize: number;
|
|
61
61
|
severity?: SEVERITY;
|
|
62
62
|
}>;
|
|
63
63
|
type SelectionAEP = TrackAEP<ACTION.MATCHED, ACTION_SUBJECT.SELECTION, undefined, undefined, undefined>;
|
|
64
64
|
type SlowInputAEP = OperationalAEPWithObjectId<ACTION.SLOW_INPUT, ACTION_SUBJECT.EDITOR, undefined, {
|
|
65
|
-
time: number;
|
|
66
|
-
nodeSize: number;
|
|
67
65
|
nodeCount?: Record<string, number>;
|
|
66
|
+
nodeSize: number;
|
|
67
|
+
time: number;
|
|
68
68
|
}>;
|
|
69
69
|
type InputPerfSamplingAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING, ACTION_SUBJECT.EDITOR, undefined, {
|
|
70
|
-
time: number;
|
|
71
|
-
nodeSize: number;
|
|
72
70
|
nodeCount?: Record<string, number>;
|
|
71
|
+
nodeSize: number;
|
|
73
72
|
severity?: SEVERITY;
|
|
73
|
+
time: number;
|
|
74
74
|
}>;
|
|
75
75
|
type InputPerfSamplingAvgAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING_AVG, ACTION_SUBJECT.EDITOR, undefined, {
|
|
76
76
|
mean: number;
|
|
77
77
|
median: number;
|
|
78
|
-
sampleSize: number;
|
|
79
78
|
nodeCount?: Record<string, number>;
|
|
80
79
|
nodeSize: number;
|
|
80
|
+
sampleSize: number;
|
|
81
81
|
severity?: SEVERITY;
|
|
82
82
|
}>;
|
|
83
83
|
type TransactionMutatedAEP = OperationalAEP<ACTION.TRANSACTION_MUTATED_AFTER_DISPATCH, ACTION_SUBJECT.EDITOR, undefined, {
|
|
84
84
|
pluginKey: string;
|
|
85
85
|
}>;
|
|
86
86
|
type WithPluginStateCalledAEP = OperationalAEP<ACTION.WITH_PLUGIN_STATE_CALLED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
87
|
-
plugin: string;
|
|
88
87
|
duration: number;
|
|
88
|
+
plugin: string;
|
|
89
89
|
}>;
|
|
90
90
|
type ReactNodeViewRenderedAEP = OperationalAEP<ACTION.REACT_NODEVIEW_RENDERED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
91
|
-
node: string;
|
|
92
91
|
duration: number;
|
|
92
|
+
node: string;
|
|
93
93
|
}>;
|
|
94
94
|
type UploadExternalFailedAEP = OperationalAEP<ACTION.UPLOAD_EXTERNAL_FAIL, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
95
95
|
type InvalidProsemirrorDocumentErrorAEP = OperationalAEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
@@ -97,19 +97,19 @@ type DocumentProcessingErrorAEP = OperationalAEP<ACTION.DOCUMENT_PROCESSING_ERRO
|
|
|
97
97
|
errorMessage?: string;
|
|
98
98
|
} | undefined>;
|
|
99
99
|
type EditorStopAEP = UIAEP<ACTION.STOPPED, ACTION_SUBJECT.EDITOR, ACTION_SUBJECT_ID.SAVE | ACTION_SUBJECT_ID.CANCEL, {
|
|
100
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.SHORTCUT;
|
|
101
100
|
documentSize: number;
|
|
101
|
+
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.SHORTCUT;
|
|
102
102
|
nodeCount?: {
|
|
103
|
-
|
|
103
|
+
actions: number;
|
|
104
|
+
codeBlocks: number;
|
|
105
|
+
decisions: number;
|
|
106
|
+
extensions: number;
|
|
104
107
|
headings: number;
|
|
105
108
|
lists: number;
|
|
106
|
-
mediaSingles: number;
|
|
107
109
|
mediaGroups: number;
|
|
110
|
+
mediaSingles: number;
|
|
108
111
|
panels: number;
|
|
109
|
-
|
|
110
|
-
decisions: number;
|
|
111
|
-
actions: number;
|
|
112
|
-
codeBlocks: number;
|
|
112
|
+
tables: number;
|
|
113
113
|
};
|
|
114
114
|
}, undefined>;
|
|
115
115
|
type AnnotateButtonAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.ANNOTATE_BUTTON, undefined, undefined>;
|
|
@@ -136,13 +136,13 @@ type HelpQuickInsertAEP = UIAEP<ACTION.HELP_OPENED, ACTION_SUBJECT.HELP, ACTION_
|
|
|
136
136
|
inputMethod: INPUT_METHOD.QUICK_INSERT;
|
|
137
137
|
}, undefined>;
|
|
138
138
|
type FullWidthModeAEP = TrackAEP<ACTION.CHANGED_FULL_WIDTH_MODE, ACTION_SUBJECT.EDITOR, undefined, {
|
|
139
|
-
previousMode: FULL_WIDTH_MODE;
|
|
140
139
|
newMode: FULL_WIDTH_MODE;
|
|
140
|
+
previousMode: FULL_WIDTH_MODE;
|
|
141
141
|
}, undefined>;
|
|
142
142
|
type ExpandToggleAEP = TrackAEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
143
|
-
platform: PLATFORMS;
|
|
144
|
-
mode: MODE;
|
|
145
143
|
expanded: boolean;
|
|
144
|
+
mode: MODE;
|
|
145
|
+
platform: PLATFORMS;
|
|
146
146
|
}, undefined>;
|
|
147
147
|
export type ColorPickerAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.PICKER, ACTION_SUBJECT_ID.PICKER_COLOR, {
|
|
148
148
|
color: string;
|
|
@@ -150,8 +150,8 @@ export type ColorPickerAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.PICKER, ACT
|
|
|
150
150
|
placement: string;
|
|
151
151
|
}, undefined>;
|
|
152
152
|
type RichMediaLayoutAEP = TrackAEP<ACTION.SELECTED, ACTION_SUBJECT.MEDIA_SINGLE | ACTION_SUBJECT.EMBEDS, ACTION_SUBJECT_ID.RICH_MEDIA_LAYOUT, {
|
|
153
|
-
previousLayoutType: RichMediaLayout;
|
|
154
153
|
currentLayoutType: RichMediaLayout;
|
|
154
|
+
previousLayoutType: RichMediaLayout;
|
|
155
155
|
}, undefined>;
|
|
156
156
|
type CodeBlockLanguageSelectedAEP = TrackAEP<ACTION.LANGUAGE_SELECTED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
|
|
157
157
|
language: string;
|
|
@@ -176,24 +176,24 @@ type CollabStepsTrackerPayloadAEP = OperationalAEP<ACTION.STEPS_TRACKED | ACTION
|
|
|
176
176
|
}>;
|
|
177
177
|
type BlocksDragInitAEP = OperationalAEP<ACTION.BLOCKS_DRAG_INIT, ACTION_SUBJECT.EDITOR, undefined, {
|
|
178
178
|
duration: number;
|
|
179
|
-
startTime: number;
|
|
180
179
|
nodesCount: number | undefined;
|
|
180
|
+
startTime: number;
|
|
181
181
|
}>;
|
|
182
182
|
type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
|
|
183
183
|
type CodeBlockWordWrapToggleAEP = TrackAEP<ACTION.TOGGLE_CODE_BLOCK_WRAP, ACTION_SUBJECT.CODE_BLOCK, undefined, {
|
|
184
|
-
|
|
184
|
+
codeBlockNodeSize: number;
|
|
185
185
|
mode: MODE;
|
|
186
|
+
platform: PLATFORMS;
|
|
186
187
|
wordWrapEnabled: boolean;
|
|
187
|
-
codeBlockNodeSize: number;
|
|
188
188
|
}, undefined>;
|
|
189
189
|
export type RequestToEditAEP = UIAEP<ACTION.REQUEST_TO_EDIT | ACTION.DISMISSED, ACTION_SUBJECT.REQUEST_TO_EDIT_POP_UP, undefined, {
|
|
190
|
-
platform: PLATFORMS;
|
|
191
190
|
mode: MODE;
|
|
191
|
+
platform: PLATFORMS;
|
|
192
192
|
}, undefined>;
|
|
193
193
|
type CopyLinkToAnchorButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.COPY_LINK_TO_ANCHOR, {
|
|
194
|
-
inputMethod: INPUT_METHOD;
|
|
195
194
|
extensionKey?: string;
|
|
196
195
|
extensionType?: string;
|
|
196
|
+
inputMethod: INPUT_METHOD;
|
|
197
197
|
isLivePage?: boolean;
|
|
198
198
|
}>;
|
|
199
199
|
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | AnnotationErrorAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamplingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
2
|
import type { UIAEP } from './utils';
|
|
3
3
|
export type HighlightActionsMenuAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.CREATE_INLINE_COMMENT_FROM_HIGHLIGHT_ACTIONS_MENU, {
|
|
4
|
-
source: string;
|
|
5
4
|
/**
|
|
6
5
|
* The page mode, which can be either 'edit' or 'view'.
|
|
7
6
|
* 'edit' mode is used in the editor, while 'view' mode is used in the renderer.
|
|
8
7
|
*/
|
|
9
8
|
pageMode?: 'edit' | 'view';
|
|
9
|
+
source: string;
|
|
10
10
|
/**
|
|
11
11
|
* Represents the node from which the comment button action originates.
|
|
12
12
|
*/
|
|
@@ -4,8 +4,8 @@ export type HighlightToolbarToggleAEP = TrackAEP<ACTION.OPENED | ACTION.CLOSED,
|
|
|
4
4
|
inputMethod: INPUT_METHOD;
|
|
5
5
|
}, undefined>;
|
|
6
6
|
export type HighlightTextAEP = TrackAEP<ACTION.FORMATTED, ACTION_SUBJECT.TEXT, ACTION_SUBJECT_ID.FORMAT_BACKGROUND_COLOR, {
|
|
7
|
+
inputMethod: INPUT_METHOD;
|
|
7
8
|
newColor: string;
|
|
8
9
|
previousColor: string;
|
|
9
|
-
inputMethod: INPUT_METHOD;
|
|
10
10
|
}, undefined>;
|
|
11
11
|
export type HighlightEventPayload = HighlightToolbarToggleAEP | HighlightTextAEP;
|
|
@@ -7,9 +7,9 @@ export type AnnotationErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.ANN
|
|
|
7
7
|
export type AnnotationAEP = TrackAEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
|
|
8
8
|
export type AnnotationAEPAttributes = undefined | {} | AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
|
|
9
9
|
export type AnnotationDraftAEPAttributes = {
|
|
10
|
+
inlineNodeNames?: string[];
|
|
10
11
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.SHORTCUT;
|
|
11
12
|
overlap: number;
|
|
12
|
-
inlineNodeNames?: string[];
|
|
13
13
|
};
|
|
14
14
|
export type AnnotationResolvedAEPAttributes = {
|
|
15
15
|
method: RESOLVE_METHOD;
|
|
@@ -45,22 +45,22 @@ type InsertCodeBlockAEP = InsertAEP<ACTION_SUBJECT_ID.CODE_BLOCK, {
|
|
|
45
45
|
}, undefined>;
|
|
46
46
|
type InsertTableAEP = InsertAEP<ACTION_SUBJECT_ID.TABLE, {
|
|
47
47
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.PICKER | INPUT_METHOD.SHORTCUT;
|
|
48
|
-
totalRowCount?: number;
|
|
49
|
-
totalColumnCount?: number;
|
|
50
48
|
localId?: string;
|
|
49
|
+
totalColumnCount?: number;
|
|
50
|
+
totalRowCount?: number;
|
|
51
51
|
}, undefined>;
|
|
52
52
|
type InsertExpandAEP = InsertAEP<ACTION_SUBJECT_ID.EXPAND | ACTION_SUBJECT_ID.NESTED_EXPAND, {
|
|
53
53
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU;
|
|
54
54
|
}, undefined>;
|
|
55
55
|
type InsertActionDecisionAEP = InsertAEP<ACTION_SUBJECT_ID.DECISION | ACTION_SUBJECT_ID.ACTION, {
|
|
56
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
|
|
57
56
|
containerAri?: string;
|
|
58
|
-
|
|
59
|
-
localId: string;
|
|
57
|
+
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
|
|
60
58
|
listLocalId: string;
|
|
61
|
-
userContext?: USER_CONTEXT.EDIT | USER_CONTEXT.NEW;
|
|
62
|
-
position: number;
|
|
63
59
|
listSize: number;
|
|
60
|
+
localId: string;
|
|
61
|
+
objectAri?: string;
|
|
62
|
+
position: number;
|
|
63
|
+
userContext?: USER_CONTEXT.EDIT | USER_CONTEXT.NEW;
|
|
64
64
|
}, undefined>;
|
|
65
65
|
type InsertEmojiAEP = InsertAEP<ACTION_SUBJECT_ID.EMOJI, {
|
|
66
66
|
inputMethod: INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.PICKER | INPUT_METHOD.ASCII;
|
|
@@ -71,74 +71,74 @@ type InsertStatusAEP = InsertAEP<ACTION_SUBJECT_ID.STATUS, {
|
|
|
71
71
|
export type InputMethodInsertMedia = INPUT_METHOD.CLIPBOARD | INPUT_METHOD.PICKER_CLOUD | INPUT_METHOD.DRAG_AND_DROP | INPUT_METHOD.BROWSER | INPUT_METHOD.MEDIA_PICKER;
|
|
72
72
|
export type InsertMediaVia = INSERT_MEDIA_VIA.EXTERNAL_UPLOAD | INSERT_MEDIA_VIA.EXTERNAL_URL | INSERT_MEDIA_VIA.LOCAL_UPLOAD;
|
|
73
73
|
type InsertMediaSingleAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA, {
|
|
74
|
-
inputMethod: InputMethodInsertMedia;
|
|
75
74
|
fileExtension?: string;
|
|
76
|
-
|
|
75
|
+
inputMethod: InputMethodInsertMedia;
|
|
77
76
|
insertMediaVia?: InsertMediaVia;
|
|
77
|
+
type: ACTION_SUBJECT_ID.MEDIA_SINGLE | ACTION_SUBJECT_ID.MEDIA_GROUP;
|
|
78
78
|
}, undefined>;
|
|
79
79
|
type InsertMediaGroupAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA, {
|
|
80
|
-
inputMethod?: InputMethodInsertMedia;
|
|
81
80
|
fileExtension?: string;
|
|
82
|
-
|
|
81
|
+
inputMethod?: InputMethodInsertMedia;
|
|
83
82
|
insertMediaVia?: InsertMediaVia;
|
|
83
|
+
type: ACTION_SUBJECT_ID.MEDIA_SINGLE | ACTION_SUBJECT_ID.MEDIA_GROUP;
|
|
84
84
|
}, undefined>;
|
|
85
85
|
type InsertMediaInlineAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA, {
|
|
86
|
-
inputMethod?: InputMethodInsertMedia;
|
|
87
86
|
fileExtension?: string;
|
|
88
|
-
|
|
87
|
+
inputMethod?: InputMethodInsertMedia;
|
|
89
88
|
insertMediaVia?: InsertMediaVia;
|
|
89
|
+
type: ACTION_SUBJECT_ID.MEDIA_INLINE;
|
|
90
90
|
}, undefined>;
|
|
91
91
|
export type InputMethodInsertLink = INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.CLIPBOARD | INPUT_METHOD.FORMATTING | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.MANUAL;
|
|
92
92
|
type InsertLinkAEP = InsertAEP<ACTION_SUBJECT_ID.LINK, {
|
|
93
|
-
inputMethod: InputMethodInsertLink;
|
|
94
93
|
fromCurrentDomain: boolean;
|
|
94
|
+
inputMethod: InputMethodInsertLink;
|
|
95
95
|
}, {
|
|
96
96
|
linkDomain: string;
|
|
97
97
|
}>;
|
|
98
98
|
type InsertLinkPreviewAEP = InsertAEP<ACTION_SUBJECT_ID.LINK_PREVIEW, {
|
|
99
|
-
status: LINK_STATUS.RESOLVED | LINK_STATUS.UNRESOLVED;
|
|
100
99
|
representation?: LINK_REPRESENTATION.TEXT | LINK_REPRESENTATION.INLINE_CARD | LINK_REPRESENTATION.INLINE_CARD | LINK_REPRESENTATION.BLOCK_CARD;
|
|
101
100
|
resourceType?: LINK_RESOURCE.JIRA | LINK_RESOURCE.CONFLUENCE | LINK_RESOURCE.BITBUCKET_PR | LINK_RESOURCE.BITBUCKET_REPO | LINK_RESOURCE.TRELLO_CARD | LINK_RESOURCE.TRELLO_BOARD | LINK_RESOURCE.STATUS_PAGE | LINK_RESOURCE.BOX | LINK_RESOURCE.DROPBOX | LINK_RESOURCE.OFFICE | LINK_RESOURCE.DRIVE | LINK_RESOURCE.YOUTUBE | LINK_RESOURCE.TWITTER | LINK_RESOURCE.OTHER;
|
|
101
|
+
status: LINK_STATUS.RESOLVED | LINK_STATUS.UNRESOLVED;
|
|
102
102
|
}, undefined>;
|
|
103
103
|
type InsertMediaLinkAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA_LINK, {
|
|
104
104
|
inputMethod: INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL;
|
|
105
105
|
insertType?: INSERT_MEDIA_VIA;
|
|
106
106
|
}, undefined>;
|
|
107
107
|
type InsertLayoutAEP = InsertAEP<ACTION_SUBJECT_ID.LAYOUT, {
|
|
108
|
+
columnCount?: number;
|
|
109
|
+
hasSelectedMultipleNodes?: boolean;
|
|
108
110
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.DRAG_AND_DROP;
|
|
109
111
|
nodeTypes?: string;
|
|
110
|
-
hasSelectedMultipleNodes?: boolean;
|
|
111
|
-
columnCount?: number;
|
|
112
112
|
}, undefined>;
|
|
113
113
|
export type InsertDateAEP = InsertAEP<ACTION_SUBJECT_ID.DATE, {
|
|
114
114
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.INLINE_SUGGESTION_FLOATING_TB;
|
|
115
115
|
}, undefined>;
|
|
116
116
|
type InsertExtensionAEP = InsertAEP<ACTION_SUBJECT_ID.EXTENSION, {
|
|
117
|
-
extensionType: string;
|
|
118
117
|
extensionKey: string;
|
|
119
|
-
|
|
118
|
+
extensionType: string;
|
|
120
119
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR;
|
|
120
|
+
key: string;
|
|
121
121
|
}, any>;
|
|
122
122
|
type InsertNodeViaExtensionAPIAEP = InsertAEP<undefined, {
|
|
123
|
-
nodeType: string;
|
|
124
|
-
inputMethod: INPUT_METHOD.EXTENSION_API;
|
|
125
|
-
hasReferentiality: boolean;
|
|
126
|
-
nodeTypesReferenced?: string[];
|
|
127
|
-
layout?: ExtensionLayout;
|
|
128
|
-
extensionType?: string;
|
|
129
123
|
/**
|
|
130
124
|
* extensionkey follows this format:
|
|
131
125
|
* ${manifest.key}:${manifest.modules.nodes.name}
|
|
132
126
|
* e.g: 'awesome:item', 'awesome:default', 'awesome:list'
|
|
133
127
|
*/
|
|
134
128
|
extensionKey?: string;
|
|
129
|
+
extensionType?: string;
|
|
130
|
+
hasReferentiality: boolean;
|
|
131
|
+
inputMethod: INPUT_METHOD.EXTENSION_API;
|
|
132
|
+
layout?: ExtensionLayout;
|
|
133
|
+
nodeType: string;
|
|
134
|
+
nodeTypesReferenced?: string[];
|
|
135
135
|
}, undefined>;
|
|
136
136
|
type InsertPlaceholderTextAEP = InsertAEP<ACTION_SUBJECT_ID.PLACEHOLDER_TEXT, {
|
|
137
137
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU;
|
|
138
138
|
}, undefined>;
|
|
139
139
|
type FailedToInsertMediaPayload = OperationalAEP<ACTION.FAILED_TO_INSERT, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.MEDIA_INLINE | ACTION_SUBJECT_ID.MEDIA_SINGLE | ACTION_SUBJECT_ID.MEDIA_GROUP, {
|
|
140
|
-
inputMethod?: InputMethodInsertMedia;
|
|
141
140
|
fileExtension?: string;
|
|
141
|
+
inputMethod?: InputMethodInsertMedia;
|
|
142
142
|
insertMediaVia?: InsertMediaVia;
|
|
143
143
|
reason?: string;
|
|
144
144
|
}>;
|
|
@@ -2,6 +2,6 @@ import type { ACTION, ACTION_SUBJECT } from './enums';
|
|
|
2
2
|
import { type MODE, type PLATFORMS } from './general-events';
|
|
3
3
|
import { type TrackAEP } from './utils';
|
|
4
4
|
export type VisitedLinkAEP = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
|
|
5
|
-
platform: PLATFORMS;
|
|
6
5
|
mode: MODE;
|
|
6
|
+
platform: PLATFORMS;
|
|
7
7
|
}, undefined>;
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
2
|
import type { OperationalAEP, ScreenAEP, UIAEP } from './utils';
|
|
3
3
|
export type RecentActivitiesPerfAEP = OperationalAEP<ACTION.INVOKED, ACTION_SUBJECT.SEARCH_RESULT, ACTION_SUBJECT_ID.RECENT_ACTIVITIES, {
|
|
4
|
-
duration: number;
|
|
5
4
|
count: number;
|
|
5
|
+
duration: number;
|
|
6
6
|
errorCode?: number;
|
|
7
7
|
}>;
|
|
8
8
|
export type QuickSearchPerfAEP = OperationalAEP<ACTION.INVOKED, ACTION_SUBJECT.SEARCH_RESULT, ACTION_SUBJECT_ID.QUICK_SEARCH, {
|
|
9
|
-
duration: number;
|
|
10
9
|
count: number;
|
|
10
|
+
duration: number;
|
|
11
11
|
errorCode?: number;
|
|
12
12
|
}>;
|
|
13
13
|
export type OpenSettingsToolbarAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.GOTO_SMART_LINK_SETTINGS, {}, undefined>;
|
|
14
14
|
export type ViewedCreateLinkInlineDialogAEP = ScreenAEP<ACTION.VIEWED, ACTION_SUBJECT.CREATE_LINK_INLINE_DIALOG, undefined, {
|
|
15
|
-
timesViewed: number;
|
|
16
15
|
searchSessionId: string;
|
|
16
|
+
timesViewed: number;
|
|
17
17
|
trigger: string;
|
|
18
18
|
}, undefined>;
|
|
19
19
|
export type DismissedCreateLinkInlineDialogAEP = UIAEP<ACTION.DISMISSED, ACTION_SUBJECT.CREATE_LINK_INLINE_DIALOG, undefined, {
|
|
20
|
-
source: string;
|
|
21
20
|
searchSessionId: string;
|
|
21
|
+
source: string;
|
|
22
22
|
trigger: string;
|
|
23
23
|
}, undefined>;
|
|
24
24
|
export type EnteredTextLinkSearchInputAEP = UIAEP<ACTION.ENTERED, ACTION_SUBJECT.TEXT, ACTION_SUBJECT_ID.LINK_SEARCH_INPUT, {
|
|
25
|
+
queryHash: string;
|
|
25
26
|
queryLength: number;
|
|
26
27
|
queryVersion: number;
|
|
27
|
-
queryHash: string;
|
|
28
28
|
searchSessionId: string;
|
|
29
|
-
wordCount: number;
|
|
30
29
|
source: string;
|
|
30
|
+
wordCount: number;
|
|
31
31
|
}, {
|
|
32
32
|
query: string;
|
|
33
33
|
}>;
|
|
34
34
|
export type ShownPreQuerySearchResultsAEP = UIAEP<ACTION.SHOWN, ACTION_SUBJECT.SEARCH_RESULT, ACTION_SUBJECT_ID.PRE_QUERY_SEARCH_RESULTS, {
|
|
35
|
-
source: string;
|
|
36
35
|
preQueryRequestDurationMs: number;
|
|
37
|
-
searchSessionId: string;
|
|
38
36
|
resultCount: number;
|
|
39
37
|
results: Array<{
|
|
40
38
|
resultContentId: string;
|
|
41
39
|
resultType: string;
|
|
42
40
|
}>;
|
|
41
|
+
searchSessionId: string;
|
|
42
|
+
source: string;
|
|
43
43
|
}, undefined>;
|
|
44
44
|
export type ShownPostQuerySearchResultsAEP = UIAEP<ACTION.SHOWN, ACTION_SUBJECT.SEARCH_RESULT, ACTION_SUBJECT_ID.POST_QUERY_SEARCH_RESULTS, {
|
|
45
|
-
source: string;
|
|
46
45
|
postQueryRequestDurationMs: number;
|
|
47
|
-
searchSessionId: string;
|
|
48
46
|
resultCount: number;
|
|
49
47
|
results: Array<{
|
|
50
48
|
resultContentId: string;
|
|
51
49
|
resultType: string;
|
|
52
50
|
}>;
|
|
51
|
+
searchSessionId: string;
|
|
52
|
+
source: string;
|
|
53
53
|
}, undefined>;
|
|
54
54
|
export type HighlightedSearchResultsAEP = UIAEP<ACTION.HIGHLIGHTED, ACTION_SUBJECT.SEARCH_RESULT, undefined, {
|
|
55
|
-
source: string;
|
|
56
55
|
searchSessionId: string;
|
|
57
|
-
selectedResultId: string;
|
|
58
56
|
selectedRelativePosition: number;
|
|
57
|
+
selectedResultId: string;
|
|
58
|
+
source: string;
|
|
59
59
|
}, undefined>;
|
|
60
60
|
export type SelectedSearchResultsAEP = UIAEP<ACTION.SELECTED, ACTION_SUBJECT.SEARCH_RESULT, undefined, {
|
|
61
|
-
|
|
62
|
-
searchSessionId: string;
|
|
63
|
-
trigger: string;
|
|
61
|
+
prefetch: boolean;
|
|
64
62
|
resultCount: number;
|
|
65
|
-
|
|
63
|
+
searchSessionId: string;
|
|
66
64
|
selectedRelativePosition: number;
|
|
67
|
-
|
|
65
|
+
selectedResultId: string;
|
|
66
|
+
source: string;
|
|
67
|
+
trigger: string;
|
|
68
68
|
}, undefined>;
|
|
69
69
|
export type EditLinkToolbarAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.SMART_LINK | ACTION_SUBJECT.HYPERLINK, ACTION_SUBJECT_ID.EDIT_LINK, {}, undefined>;
|
|
70
70
|
export type UnlinkToolbarAEP = UIAEP<ACTION.UNLINK, ACTION_SUBJECT.SMART_LINK | ACTION_SUBJECT.HYPERLINK, ACTION_SUBJECT_ID.CARD_INLINE | undefined, {}, undefined>;
|
|
@@ -21,10 +21,10 @@ export declare enum OUTDENT_SCENARIOS {
|
|
|
21
21
|
SPLIT_LIST = "splitList"
|
|
22
22
|
}
|
|
23
23
|
export type CommonListAnalyticsAttributes = {
|
|
24
|
-
itemIndexAtSelectionStart: number;
|
|
25
|
-
itemIndexAtSelectionEnd: number;
|
|
26
|
-
indentLevelAtSelectionStart: number;
|
|
27
24
|
indentLevelAtSelectionEnd: number;
|
|
25
|
+
indentLevelAtSelectionStart: number;
|
|
26
|
+
itemIndexAtSelectionEnd: number;
|
|
27
|
+
itemIndexAtSelectionStart: number;
|
|
28
28
|
itemsInSelection: number;
|
|
29
29
|
};
|
|
30
30
|
export type RestartListsAttributesForListOutdented = {
|
|
@@ -33,18 +33,18 @@ export type RestartListsAttributesForListOutdented = {
|
|
|
33
33
|
};
|
|
34
34
|
type ListItemJoinedFormatAEP<Attributes> = TrackAEP<ACTION.LIST_ITEM_JOINED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER, Attributes, undefined>;
|
|
35
35
|
type ListItemJoinedForwardAEP = ListItemJoinedFormatAEP<{
|
|
36
|
-
inputMethod: INPUT_METHOD.KEYBOARD;
|
|
37
36
|
direction: DELETE_DIRECTION.FORWARD;
|
|
37
|
+
inputMethod: INPUT_METHOD.KEYBOARD;
|
|
38
38
|
scenario: LIST_TEXT_SCENARIOS.JOIN_PARAGRAPH_WITH_LIST | LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_PARENT_SIBLING_TO_PARENT_CHILD | LIST_TEXT_SCENARIOS.JOIN_LIST_ITEM_WITH_PARAGRAPH;
|
|
39
39
|
}>;
|
|
40
40
|
type ListItemJoinedBackwardsAEP = ListItemJoinedFormatAEP<{
|
|
41
|
-
inputMethod: INPUT_METHOD.KEYBOARD;
|
|
42
41
|
direction: DELETE_DIRECTION.BACKWARD;
|
|
42
|
+
inputMethod: INPUT_METHOD.KEYBOARD;
|
|
43
43
|
scenario: LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT;
|
|
44
44
|
}>;
|
|
45
45
|
type ListConvertedTrackAEP = TrackAEP<ACTION.CONVERTED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER | ACTION_SUBJECT_ID.TEXT, {
|
|
46
|
-
transformedFrom: ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER;
|
|
47
46
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FLOATING_TB;
|
|
47
|
+
transformedFrom: ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER;
|
|
48
48
|
} & CommonListAnalyticsAttributes, undefined>;
|
|
49
49
|
type ListIndentedAEP = TrackAEP<ACTION.INDENTED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER, {
|
|
50
50
|
inputMethod: INPUT_METHOD;
|
|
@@ -54,13 +54,13 @@ type ListOutdentedAEP = TrackAEP<ACTION.OUTDENTED, ACTION_SUBJECT.LIST, ACTION_S
|
|
|
54
54
|
} & CommonListAnalyticsAttributes & RestartListsAttributesForListOutdented, undefined>;
|
|
55
55
|
type ListInsertedAEP = TrackAEP<ACTION.INSERTED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER, {
|
|
56
56
|
inputMethod: INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FLOATING_TB;
|
|
57
|
-
listStartNumber?: number;
|
|
58
57
|
joinScenario?: JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST;
|
|
58
|
+
listStartNumber?: number;
|
|
59
59
|
}, undefined, NonRequiredAttributes>;
|
|
60
60
|
type ListContentSanitizedAEP = TrackAEP<ACTION.NODE_CONTENT_SANITIZED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER, {
|
|
61
61
|
inputMethod: INPUT_METHOD.FORMATTING;
|
|
62
|
-
nodeSanitized: string;
|
|
63
62
|
marksRemoved: string[];
|
|
63
|
+
nodeSanitized: string;
|
|
64
64
|
}, undefined>;
|
|
65
65
|
export type ListEventPayload = ListItemJoinedForwardAEP | ListItemJoinedBackwardsAEP | ListConvertedTrackAEP | ListIndentedAEP | ListOutdentedAEP | ListInsertedAEP | ListContentSanitizedAEP;
|
|
66
66
|
export {};
|
|
@@ -10,8 +10,8 @@ type RecordVideoAEP = TrackAEP<ACTION.RECORD_VIDEO, ACTION_SUBJECT.LOOM, undefin
|
|
|
10
10
|
inputMethod: INPUT_METHOD;
|
|
11
11
|
}, undefined>;
|
|
12
12
|
type RecordVideoFailedAEP = TrackAEP<ACTION.RECORD_VIDEO_FAILED, ACTION_SUBJECT.LOOM, undefined, {
|
|
13
|
-
inputMethod: INPUT_METHOD;
|
|
14
13
|
error?: LoomPluginErrorMessages | LoomSDKErrorMessages;
|
|
14
|
+
inputMethod: INPUT_METHOD;
|
|
15
15
|
}, undefined>;
|
|
16
16
|
type InsertVideoAEP = TrackAEP<ACTION.INSERT_VIDEO, ACTION_SUBJECT.LOOM, undefined, {
|
|
17
17
|
duration?: number;
|
|
@@ -10,26 +10,26 @@ export type MediaLinkAEP = TrackAEP<MediaLinkActionType, ACTION_SUBJECT.MEDIA, A
|
|
|
10
10
|
type MediaCaptionActionType = ACTION.DELETED | ACTION.EDITED | ACTION.ADDED;
|
|
11
11
|
export type CaptionTrackAction = TrackAEP<MediaCaptionActionType, ACTION_SUBJECT.MEDIA_SINGLE, ACTION_SUBJECT_ID.CAPTION, any, undefined>;
|
|
12
12
|
type MediaAltTextAttributes = {
|
|
13
|
-
type: 'mediaSingle' | 'mediaInline';
|
|
14
13
|
mediaType: 'image' | 'file' | 'external';
|
|
14
|
+
type: 'mediaSingle' | 'mediaInline';
|
|
15
15
|
};
|
|
16
16
|
type MediaAltTextAction = TrackAEP<ACTION.ADDED | ACTION.CLOSED | ACTION.EDITED | ACTION.CLEARED | ACTION.OPENED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.ALT_TEXT, MediaAltTextAttributes, undefined>;
|
|
17
17
|
type MediaUIAction = UIAEP<ACTION.EDITED, ACTION_SUBJECT.MEDIA_SINGLE | ACTION_SUBJECT.EMBEDS, ACTION_SUBJECT_ID.RESIZED, any, undefined>;
|
|
18
18
|
type MediaResizeAttributes = {
|
|
19
|
-
|
|
20
|
-
widthType: WidthTypes;
|
|
19
|
+
inputMethod: EventInput;
|
|
21
20
|
layout: string;
|
|
22
|
-
snapType: GuidelineTypes;
|
|
23
21
|
parentNode?: string;
|
|
24
|
-
|
|
22
|
+
snapType: GuidelineTypes;
|
|
23
|
+
width?: number;
|
|
24
|
+
widthType: WidthTypes;
|
|
25
25
|
};
|
|
26
26
|
export type MediaResizeTrackAction = UIAEP<ACTION.EDITED, ACTION_SUBJECT.MEDIA_SINGLE | ACTION_SUBJECT.EMBEDS, ACTION_SUBJECT_ID.RESIZED, MediaResizeAttributes, undefined>;
|
|
27
27
|
type MediaInputResizeAttributes = {
|
|
28
|
-
|
|
28
|
+
inputMethod: EventInput;
|
|
29
29
|
layout: RichMediaLayout;
|
|
30
|
-
validation: 'valid' | 'greater-than-max' | 'less-than-min';
|
|
31
30
|
parentNode?: string;
|
|
32
|
-
|
|
31
|
+
validation: 'valid' | 'greater-than-max' | 'less-than-min';
|
|
32
|
+
width: number;
|
|
33
33
|
};
|
|
34
34
|
export type MediaInputResizeTrackAction = UIAEP<ACTION.EDITED, ACTION_SUBJECT.MEDIA_SINGLE | ACTION_SUBJECT.EMBEDS, ACTION_SUBJECT_ID.RESIZED, MediaInputResizeAttributes, undefined>;
|
|
35
35
|
export type MediaSwitchType = ACTION_SUBJECT_ID.MEDIA_INLINE | ACTION_SUBJECT_ID.MEDIA_GROUP | ACTION_SUBJECT_ID.MEDIA_SINGLE;
|
|
@@ -38,8 +38,8 @@ type ChangeMediaAEP = ChangeTypeAEP<ACTION_SUBJECT.MEDIA, undefined, {
|
|
|
38
38
|
previousType: MediaSwitchType;
|
|
39
39
|
}, undefined>;
|
|
40
40
|
export type MediaViewerEventAction = UIAEP<ACTION.OPENED, ACTION_SUBJECT.MEDIA_VIEWER, ACTION_SUBJECT_ID.MEDIA, {
|
|
41
|
-
nodeType: string;
|
|
42
41
|
inputMethod: INPUT_METHOD.DOUBLE_CLICK;
|
|
42
|
+
nodeType: string;
|
|
43
43
|
}, undefined>;
|
|
44
44
|
export type MediaAltTextActionType = ACTION.ADDED | ACTION.CLOSED | ACTION.EDITED | ACTION.CLEARED | ACTION.OPENED;
|
|
45
45
|
export type MediaEventPayload = MediaLinkAEP | MediaAltTextAction | MediaUIAction | MediaResizeTrackAction | MediaInputResizeTrackAction | MediaBorderTrackAction | CaptionTrackAction | ChangeMediaAEP | MediaViewerEventAction;
|
|
@@ -3,69 +3,69 @@ import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enum
|
|
|
3
3
|
import { type OperationalAEP, type UIAEP } from './utils';
|
|
4
4
|
type MentionTypeaheadCancelledEventPayload = UIAEP<ACTION.CANCELLED, ACTION_SUBJECT.MENTION_TYPEAHEAD, undefined, {
|
|
5
5
|
componentName: string;
|
|
6
|
+
downKeyCount: number;
|
|
6
7
|
duration: number;
|
|
7
8
|
queryLength?: number;
|
|
9
|
+
sessionId: string;
|
|
8
10
|
spaceInQuery?: boolean;
|
|
9
11
|
upKeyCount: number;
|
|
10
|
-
downKeyCount: number;
|
|
11
|
-
sessionId: string;
|
|
12
12
|
}, undefined>;
|
|
13
13
|
type MentionTypeaheadInviteItemViewedPayload = UIAEP<ACTION.RENDERED, ACTION_SUBJECT.INVITE_ITEM, undefined, {
|
|
14
|
+
childObjectId?: string;
|
|
14
15
|
componentName: string;
|
|
15
16
|
containerId: string;
|
|
16
17
|
objectId: string;
|
|
17
|
-
childObjectId?: string;
|
|
18
|
-
userRole?: string;
|
|
19
18
|
sessionId: string;
|
|
19
|
+
userRole?: string;
|
|
20
20
|
}, undefined>;
|
|
21
21
|
type MentionTypeaheadInviteItemClickedPayload = UIAEP<ACTION.CLICKED | ACTION.PRESSED, ACTION_SUBJECT.INVITE_ITEM, undefined, {
|
|
22
|
+
childObjectId?: string;
|
|
22
23
|
componentName: string;
|
|
24
|
+
containerId: string;
|
|
25
|
+
downKeyCount: number;
|
|
23
26
|
duration: number;
|
|
27
|
+
keyboardKey?: string;
|
|
28
|
+
objectId: string;
|
|
24
29
|
queryLength?: number;
|
|
30
|
+
sessionId: string;
|
|
25
31
|
spaceInQuery?: boolean;
|
|
26
32
|
upKeyCount: number;
|
|
27
|
-
downKeyCount: number;
|
|
28
|
-
containerId: string;
|
|
29
|
-
objectId: string;
|
|
30
|
-
childObjectId?: string;
|
|
31
33
|
userRole?: string;
|
|
32
|
-
sessionId: string;
|
|
33
|
-
keyboardKey?: string;
|
|
34
34
|
}, undefined>;
|
|
35
35
|
type MentionTypeaheadInsertedPayload = UIAEP<ACTION.CLICKED | ACTION.PRESSED, ACTION_SUBJECT.MENTION_TYPEAHEAD, undefined, {
|
|
36
|
-
sessionId: string;
|
|
37
|
-
duration: number;
|
|
38
|
-
position?: number;
|
|
39
|
-
keyboardKey?: string;
|
|
40
|
-
source?: string;
|
|
41
|
-
queryLength?: number;
|
|
42
|
-
spaceInQuery?: boolean;
|
|
43
|
-
isSpecial: boolean;
|
|
44
36
|
accessLevel: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
upKeyCount: number;
|
|
37
|
+
childObjectId?: string;
|
|
38
|
+
containerId?: string;
|
|
48
39
|
downKeyCount: number;
|
|
49
|
-
|
|
40
|
+
duration: number;
|
|
50
41
|
includesYou?: boolean | null;
|
|
51
|
-
|
|
52
|
-
|
|
42
|
+
isSpecial: boolean;
|
|
43
|
+
keyboardKey?: string;
|
|
53
44
|
localId?: string;
|
|
54
|
-
|
|
45
|
+
memberCount?: number | null;
|
|
55
46
|
objectId?: string;
|
|
56
|
-
|
|
47
|
+
position?: number;
|
|
48
|
+
queryLength?: number;
|
|
49
|
+
sessionId: string;
|
|
50
|
+
source?: string;
|
|
51
|
+
spaceInQuery?: boolean;
|
|
52
|
+
taskItemId?: string;
|
|
53
|
+
taskListId?: string;
|
|
54
|
+
upKeyCount: number;
|
|
55
|
+
userId: string;
|
|
56
|
+
userType?: string;
|
|
57
57
|
}, undefined, string | undefined, string | undefined, string | undefined>;
|
|
58
58
|
type MentionTypeaheadRenderedPayload = OperationalAEP<ACTION.RENDERED, ACTION_SUBJECT.MENTION_TYPEAHEAD | ACTION_SUBJECT.TEAM_MENTION_TYPEAHEAD, undefined, {
|
|
59
59
|
componentName: string;
|
|
60
60
|
duration: number;
|
|
61
|
-
|
|
61
|
+
queryLength?: number;
|
|
62
|
+
spaceInQuery?: boolean;
|
|
62
63
|
teams: Array<{
|
|
63
|
-
teamId: string;
|
|
64
64
|
includesYou: boolean;
|
|
65
65
|
memberCount: number;
|
|
66
|
+
teamId: string;
|
|
66
67
|
}> | null;
|
|
67
|
-
|
|
68
|
-
spaceInQuery?: boolean;
|
|
68
|
+
userIds: Array<string> | null;
|
|
69
69
|
xProductMentionsLength?: number;
|
|
70
70
|
}>;
|
|
71
71
|
type MentionProviderErroredPayload = OperationalAEP<ACTION.ERRORED, ACTION_SUBJECT.MENTION, ACTION_SUBJECT_ID.MENTION_PROVIDER, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
2
|
import type { TrackAEP } from './utils';
|
|
3
3
|
type MoveContentAEP = TrackAEP<ACTION.MOVED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.NODE, {
|
|
4
|
-
nodeType?: string;
|
|
5
|
-
nodeDepth?: number;
|
|
6
4
|
destinationNodeDepth?: number;
|
|
7
|
-
nodeTypes?: string;
|
|
8
5
|
hasSelectedMultipleNodes?: boolean;
|
|
6
|
+
nodeDepth?: number;
|
|
7
|
+
nodeType?: string;
|
|
8
|
+
nodeTypes?: string;
|
|
9
9
|
}, undefined>;
|
|
10
10
|
export type MoveContentEventPayload = MoveContentAEP;
|
|
11
11
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type ACTION, type ACTION_SUBJECT } from './enums';
|
|
2
2
|
import type { OperationalAEP } from './utils';
|
|
3
3
|
export type NcsSessionStepMetrics = {
|
|
4
|
+
maxStepSize: number;
|
|
4
5
|
ncsSessionId?: string;
|
|
5
|
-
totalStepSize: number;
|
|
6
6
|
numberOfSteps: number;
|
|
7
|
-
maxStepSize: number;
|
|
8
|
-
stepSizeSumForP90?: number[];
|
|
9
7
|
p90StepSize?: number;
|
|
8
|
+
stepSizeSumForP90?: number[];
|
|
9
|
+
totalStepSize: number;
|
|
10
10
|
};
|
|
11
11
|
export type NcsSessionStepEventAEP = OperationalAEP<ACTION.NCS_SESSION_STEP_METRICS, ACTION_SUBJECT.COLLAB, undefined, NcsSessionStepMetrics>;
|