@atlaskit/editor-common 70.1.3 → 70.2.1
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 +40 -0
- package/dist/cjs/react-node-view/index.js +19 -17
- package/dist/cjs/styles/index.js +12 -0
- package/dist/cjs/styles/shared/code-block.js +5 -3
- package/dist/cjs/styles/shared/lists.js +4 -2
- package/dist/cjs/styles/shared/table.js +1 -1
- package/dist/cjs/types/copy-button.js +5 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +2 -2
- package/dist/cjs/ui/IntlProviderIfMissingWrapper/index.js +33 -0
- package/dist/cjs/ui/Popup/index.js +2 -2
- package/dist/cjs/ui/PortalProvider/index.js +62 -47
- package/dist/cjs/ui/index.js +8 -0
- package/dist/cjs/utils/breakout.js +53 -2
- package/dist/cjs/utils/collab.js +22 -0
- package/dist/cjs/utils/dom.js +16 -0
- package/dist/cjs/utils/get-performance-options.js +70 -0
- package/dist/cjs/utils/index.js +57 -1
- package/dist/cjs/utils/outdated-browsers.js +41 -0
- package/dist/cjs/utils/referentiality.js +49 -0
- package/dist/cjs/utils/sendLogs.js +19 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/with-plugin-state/index.js +61 -54
- package/dist/es2019/react-node-view/index.js +19 -24
- package/dist/es2019/styles/index.js +2 -2
- package/dist/es2019/styles/shared/code-block.js +13 -1
- package/dist/es2019/styles/shared/lists.js +2 -1
- package/dist/es2019/styles/shared/table.js +4 -2
- package/dist/es2019/types/copy-button.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +17 -15
- package/dist/es2019/ui/IntlProviderIfMissingWrapper/index.js +18 -0
- package/dist/es2019/ui/Popup/index.js +2 -1
- package/dist/es2019/ui/PortalProvider/index.js +33 -14
- package/dist/es2019/ui/index.js +2 -1
- package/dist/es2019/utils/breakout.js +47 -1
- package/dist/es2019/utils/collab.js +13 -0
- package/dist/es2019/utils/dom.js +16 -0
- package/dist/es2019/utils/get-performance-options.js +57 -0
- package/dist/es2019/utils/index.js +6 -2
- package/dist/es2019/utils/outdated-browsers.js +32 -0
- package/dist/es2019/utils/referentiality.js +34 -0
- package/dist/es2019/utils/sendLogs.js +8 -0
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/with-plugin-state/index.js +55 -52
- package/dist/esm/react-node-view/index.js +19 -22
- package/dist/esm/styles/index.js +2 -2
- package/dist/esm/styles/shared/code-block.js +4 -3
- package/dist/esm/styles/shared/lists.js +2 -1
- package/dist/esm/styles/shared/table.js +1 -1
- package/dist/esm/types/copy-button.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +2 -2
- package/dist/esm/ui/IntlProviderIfMissingWrapper/index.js +19 -0
- package/dist/esm/ui/Popup/index.js +2 -2
- package/dist/esm/ui/PortalProvider/index.js +59 -48
- package/dist/esm/ui/index.js +2 -1
- package/dist/esm/utils/breakout.js +46 -1
- package/dist/esm/utils/collab.js +13 -0
- package/dist/esm/utils/dom.js +16 -0
- package/dist/esm/utils/get-performance-options.js +55 -0
- package/dist/esm/utils/index.js +6 -2
- package/dist/esm/utils/outdated-browsers.js +32 -0
- package/dist/esm/utils/referentiality.js +40 -0
- package/dist/esm/utils/sendLogs.js +10 -0
- package/dist/esm/version.json +1 -1
- package/dist/esm/with-plugin-state/index.js +59 -54
- package/dist/types/analytics/types/events.d.ts +1 -0
- package/dist/types/extensions/types/extension-handler.d.ts +1 -0
- package/dist/types/styles/index.d.ts +2 -2
- package/dist/types/styles/shared/code-block.d.ts +1 -0
- package/dist/types/styles/shared/lists.d.ts +1 -0
- package/dist/types/types/copy-button.d.ts +20 -0
- package/dist/types/types/editor-actions.d.ts +1 -0
- package/dist/types/types/editor-container-width.d.ts +14 -0
- package/dist/types/types/feature-flags.d.ts +0 -6
- package/dist/types/types/floating-toolbar.d.ts +23 -2
- package/dist/types/types/index.d.ts +2 -1
- package/dist/types/ui/IntlProviderIfMissingWrapper/index.d.ts +6 -0
- package/dist/types/ui/Popup/index.d.ts +1 -0
- package/dist/types/ui/PortalProvider/index.d.ts +2 -1
- package/dist/types/ui/index.d.ts +1 -0
- package/dist/types/utils/breakout.d.ts +25 -0
- package/dist/types/utils/collab.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +15 -1
- package/dist/types/utils/get-performance-options.d.ts +18 -0
- package/dist/types/utils/getModeFromTheme.d.ts +1 -1
- package/dist/types/utils/index.d.ts +5 -1
- package/dist/types/utils/outdated-browsers.d.ts +1 -0
- package/dist/types/utils/referentiality.d.ts +3 -0
- package/dist/types/utils/sendLogs.d.ts +1 -0
- package/dist/types/with-plugin-state/index.d.ts +4 -2
- package/package.json +12 -17
- package/report.api.md +7 -3
- package/dist/types-ts4.0/__tests_external__/cases/fundamentals/collection.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/index.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/types.d.ts +0 -4
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/cases/types.d.ts +0 -7
- package/dist/types-ts4.0/__tests_external__/index.d.ts +0 -3
- package/dist/types-ts4.0/__tests_external__/page-objects/Editor.d.ts +0 -9
- package/dist/types-ts4.0/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -40
- package/dist/types-ts4.0/__tests_external__/page-objects/Renderer.d.ts +0 -6
- package/dist/types-ts4.0/analytics/api.d.ts +0 -5
- package/dist/types-ts4.0/analytics/index.d.ts +0 -3
- package/dist/types-ts4.0/analytics/types/avatar.d.ts +0 -5
- package/dist/types-ts4.0/analytics/types/block.d.ts +0 -3
- package/dist/types-ts4.0/analytics/types/config-panel-events.d.ts +0 -17
- package/dist/types-ts4.0/analytics/types/cut-copy-events.d.ts +0 -12
- package/dist/types-ts4.0/analytics/types/date-events.d.ts +0 -17
- package/dist/types-ts4.0/analytics/types/dispatch-analytics-event.d.ts +0 -2
- package/dist/types-ts4.0/analytics/types/element-browser-events.d.ts +0 -11
- package/dist/types-ts4.0/analytics/types/enums.d.ts +0 -314
- package/dist/types-ts4.0/analytics/types/events.d.ts +0 -126
- package/dist/types-ts4.0/analytics/types/experimental-events.d.ts +0 -17
- package/dist/types-ts4.0/analytics/types/extension-events.d.ts +0 -37
- package/dist/types-ts4.0/analytics/types/find-replace-events.d.ts +0 -23
- package/dist/types-ts4.0/analytics/types/format-events.d.ts +0 -49
- package/dist/types-ts4.0/analytics/types/general-events.d.ts +0 -179
- package/dist/types-ts4.0/analytics/types/index.d.ts +0 -34
- package/dist/types-ts4.0/analytics/types/inline-comment-events.d.ts +0 -17
- package/dist/types-ts4.0/analytics/types/insert-events.d.ts +0 -128
- package/dist/types-ts4.0/analytics/types/link-tool-bar-events.d.ts +0 -76
- package/dist/types-ts4.0/analytics/types/list-events.d.ts +0 -52
- package/dist/types-ts4.0/analytics/types/media-events.d.ts +0 -16
- package/dist/types-ts4.0/analytics/types/node-events.d.ts +0 -56
- package/dist/types-ts4.0/analytics/types/paste-events.d.ts +0 -39
- package/dist/types-ts4.0/analytics/types/performance-report.d.ts +0 -24
- package/dist/types-ts4.0/analytics/types/referentiality-events.d.ts +0 -9
- package/dist/types-ts4.0/analytics/types/selection-events.d.ts +0 -18
- package/dist/types-ts4.0/analytics/types/smart-links.d.ts +0 -13
- package/dist/types-ts4.0/analytics/types/substitute-events.d.ts +0 -26
- package/dist/types-ts4.0/analytics/types/table-events.d.ts +0 -102
- package/dist/types-ts4.0/analytics/types/toolbar-button.d.ts +0 -22
- package/dist/types-ts4.0/analytics/types/type-ahead.d.ts +0 -27
- package/dist/types-ts4.0/analytics/types/utils.d.ts +0 -46
- package/dist/types-ts4.0/card/cardOptions.d.ts +0 -9
- package/dist/types-ts4.0/card/index.d.ts +0 -1
- package/dist/types-ts4.0/collab/types.d.ts +0 -82
- package/dist/types-ts4.0/collab.d.ts +0 -1
- package/dist/types-ts4.0/core-utils/index.d.ts +0 -1
- package/dist/types-ts4.0/core-utils/inside.d.ts +0 -2
- package/dist/types-ts4.0/emoji.d.ts +0 -3
- package/dist/types-ts4.0/event-dispatcher/index.d.ts +0 -19
- package/dist/types-ts4.0/extensions/combine-extension-providers.d.ts +0 -7
- package/dist/types-ts4.0/extensions/default-extension-provider.d.ts +0 -17
- package/dist/types-ts4.0/extensions/extension-fields-helpers.d.ts +0 -10
- package/dist/types-ts4.0/extensions/extension-handlers.d.ts +0 -13
- package/dist/types-ts4.0/extensions/index.d.ts +0 -8
- package/dist/types-ts4.0/extensions/manifest-helpers.d.ts +0 -8
- package/dist/types-ts4.0/extensions/module-helpers.d.ts +0 -11
- package/dist/types-ts4.0/extensions/types/extension-handler.d.ts +0 -39
- package/dist/types-ts4.0/extensions/types/extension-manifest-common.d.ts +0 -8
- package/dist/types-ts4.0/extensions/types/extension-manifest-toolbar-item.d.ts +0 -45
- package/dist/types-ts4.0/extensions/types/extension-manifest.d.ts +0 -101
- package/dist/types-ts4.0/extensions/types/extension-parameters.d.ts +0 -5
- package/dist/types-ts4.0/extensions/types/extension-provider.d.ts +0 -8
- package/dist/types-ts4.0/extensions/types/field-definitions.d.ts +0 -171
- package/dist/types-ts4.0/extensions/types/index.d.ts +0 -8
- package/dist/types-ts4.0/extensions/types/utils.d.ts +0 -18
- package/dist/types-ts4.0/extensions.d.ts +0 -2
- package/dist/types-ts4.0/i18n/cs.d.ts +0 -100
- package/dist/types-ts4.0/i18n/da.d.ts +0 -100
- package/dist/types-ts4.0/i18n/de.d.ts +0 -100
- package/dist/types-ts4.0/i18n/en.d.ts +0 -100
- package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -100
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -100
- package/dist/types-ts4.0/i18n/es.d.ts +0 -100
- package/dist/types-ts4.0/i18n/et.d.ts +0 -8
- package/dist/types-ts4.0/i18n/fi.d.ts +0 -100
- package/dist/types-ts4.0/i18n/fr.d.ts +0 -100
- package/dist/types-ts4.0/i18n/hu.d.ts +0 -100
- package/dist/types-ts4.0/i18n/index.d.ts +0 -31
- package/dist/types-ts4.0/i18n/it.d.ts +0 -100
- package/dist/types-ts4.0/i18n/ja.d.ts +0 -100
- package/dist/types-ts4.0/i18n/ko.d.ts +0 -100
- package/dist/types-ts4.0/i18n/nb.d.ts +0 -100
- package/dist/types-ts4.0/i18n/nl.d.ts +0 -100
- package/dist/types-ts4.0/i18n/pl.d.ts +0 -100
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -100
- package/dist/types-ts4.0/i18n/pt_PT.d.ts +0 -8
- package/dist/types-ts4.0/i18n/ru.d.ts +0 -100
- package/dist/types-ts4.0/i18n/sk.d.ts +0 -8
- package/dist/types-ts4.0/i18n/sv.d.ts +0 -100
- package/dist/types-ts4.0/i18n/th.d.ts +0 -100
- package/dist/types-ts4.0/i18n/tr.d.ts +0 -100
- package/dist/types-ts4.0/i18n/uk.d.ts +0 -100
- package/dist/types-ts4.0/i18n/vi.d.ts +0 -100
- package/dist/types-ts4.0/i18n/zh.d.ts +0 -100
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -100
- package/dist/types-ts4.0/icons/index.d.ts +0 -9
- package/dist/types-ts4.0/icons/shared/PanelErrorIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/PanelInfoIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/PanelNoteIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/PanelSuccessIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/PanelWarningIcon.d.ts +0 -3
- package/dist/types-ts4.0/icons/shared/table.d.ts +0 -2
- package/dist/types-ts4.0/in-product.d.ts +0 -1
- package/dist/types-ts4.0/index.d.ts +0 -1
- package/dist/types-ts4.0/keymaps/consts.d.ts +0 -12
- package/dist/types-ts4.0/keymaps/index.d.ts +0 -89
- package/dist/types-ts4.0/mention.d.ts +0 -2
- package/dist/types-ts4.0/messages/codeBidiWarning.d.ts +0 -11
- package/dist/types-ts4.0/messages/codeBlockCopyButton.d.ts +0 -12
- package/dist/types-ts4.0/messages/index.d.ts +0 -128
- package/dist/types-ts4.0/messages/insert-block.d.ts +0 -167
- package/dist/types-ts4.0/messages/link.d.ts +0 -7
- package/dist/types-ts4.0/messages/unsupportedContent.d.ts +0 -17
- package/dist/types-ts4.0/node-width/index.d.ts +0 -7
- package/dist/types-ts4.0/normalize-feature-flags.d.ts +0 -20
- package/dist/types-ts4.0/panel.d.ts +0 -1
- package/dist/types-ts4.0/provider-factory/autoformatting-provider.d.ts +0 -9
- package/dist/types-ts4.0/provider-factory/card-provider.d.ts +0 -7
- package/dist/types-ts4.0/provider-factory/context-identifier-provider.d.ts +0 -6
- package/dist/types-ts4.0/provider-factory/context.d.ts +0 -6
- package/dist/types-ts4.0/provider-factory/image-upload-provider.d.ts +0 -6
- package/dist/types-ts4.0/provider-factory/macro-provider.d.ts +0 -25
- package/dist/types-ts4.0/provider-factory/media-provider.d.ts +0 -15
- package/dist/types-ts4.0/provider-factory/profile-card-provider.d.ts +0 -6
- package/dist/types-ts4.0/provider-factory/provider-factory.d.ts +0 -17
- package/dist/types-ts4.0/provider-factory/quick-insert-provider.d.ts +0 -24
- package/dist/types-ts4.0/provider-factory/search-provider.d.ts +0 -12
- package/dist/types-ts4.0/provider-factory/types.d.ts +0 -37
- package/dist/types-ts4.0/provider-factory/with-providers.d.ts +0 -18
- package/dist/types-ts4.0/provider-factory.d.ts +0 -13
- package/dist/types-ts4.0/provider-helpers/combine-providers.d.ts +0 -9
- package/dist/types-ts4.0/provider-helpers/index.d.ts +0 -1
- package/dist/types-ts4.0/provider-helpers/promise-helpers.d.ts +0 -32
- package/dist/types-ts4.0/react-node-view/index.d.ts +0 -52
- package/dist/types-ts4.0/react-node-view/types.d.ts +0 -12
- package/dist/types-ts4.0/safe-plugin/index.d.ts +0 -6
- package/dist/types-ts4.0/selection/gap-cursor/selection.d.ts +0 -40
- package/dist/types-ts4.0/selection/gap-cursor/utils/index.d.ts +0 -2
- package/dist/types-ts4.0/selection/gap-cursor/utils/is-ignored.d.ts +0 -2
- package/dist/types-ts4.0/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -2
- package/dist/types-ts4.0/selection/index.d.ts +0 -5
- package/dist/types-ts4.0/selection/types.d.ts +0 -26
- package/dist/types-ts4.0/selection/utils.d.ts +0 -4
- package/dist/types-ts4.0/styles/index.d.ts +0 -23
- package/dist/types-ts4.0/styles/shared/annotation.d.ts +0 -12
- package/dist/types-ts4.0/styles/shared/block-marks.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/blockquote.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/code-block.d.ts +0 -10
- package/dist/types-ts4.0/styles/shared/code-mark.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/column-layout.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/date.d.ts +0 -5
- package/dist/types-ts4.0/styles/shared/emoji.d.ts +0 -7
- package/dist/types-ts4.0/styles/shared/extension.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/headings.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/indentation.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/layout.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/link.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/lists.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/media-single.d.ts +0 -3
- package/dist/types-ts4.0/styles/shared/mention.d.ts +0 -3
- package/dist/types-ts4.0/styles/shared/panel.d.ts +0 -84
- package/dist/types-ts4.0/styles/shared/paragraph.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/rule.d.ts +0 -2
- package/dist/types-ts4.0/styles/shared/shadow.d.ts +0 -15
- package/dist/types-ts4.0/styles/shared/smart-card.d.ts +0 -7
- package/dist/types-ts4.0/styles/shared/status.d.ts +0 -4
- package/dist/types-ts4.0/styles/shared/table.d.ts +0 -28
- package/dist/types-ts4.0/styles/shared/task-decision.d.ts +0 -4
- package/dist/types-ts4.0/styles/shared/text-color.d.ts +0 -1
- package/dist/types-ts4.0/styles/shared/whitespace.d.ts +0 -2
- package/dist/types-ts4.0/transforms/expand.d.ts +0 -5
- package/dist/types-ts4.0/transforms/extension.d.ts +0 -6
- package/dist/types-ts4.0/transforms/index.d.ts +0 -3
- package/dist/types-ts4.0/transforms/layout.d.ts +0 -15
- package/dist/types-ts4.0/type-ahead/index.d.ts +0 -12
- package/dist/types-ts4.0/types/annotation/emitter.d.ts +0 -33
- package/dist/types-ts4.0/types/annotation/index.d.ts +0 -84
- package/dist/types-ts4.0/types/collab.d.ts +0 -8
- package/dist/types-ts4.0/types/command.d.ts +0 -5
- package/dist/types-ts4.0/types/context-panel.d.ts +0 -3
- package/dist/types-ts4.0/types/editor-actions.d.ts +0 -19
- package/dist/types-ts4.0/types/editor-appearance.d.ts +0 -1
- package/dist/types-ts4.0/types/editor-container-width.d.ts +0 -6
- package/dist/types-ts4.0/types/editor-plugin.d.ts +0 -61
- package/dist/types-ts4.0/types/editor-react-context.d.ts +0 -6
- package/dist/types-ts4.0/types/empty-state-handler.d.ts +0 -7
- package/dist/types-ts4.0/types/feature-flags.d.ts +0 -350
- package/dist/types-ts4.0/types/floating-toolbar.d.ts +0 -189
- package/dist/types-ts4.0/types/index.d.ts +0 -33
- package/dist/types-ts4.0/types/plugin-factory.d.ts +0 -27
- package/dist/types-ts4.0/types/prosemirror-config.d.ts +0 -14
- package/dist/types-ts4.0/types/quick-insert.d.ts +0 -26
- package/dist/types-ts4.0/types/supported-browsers.d.ts +0 -15
- package/dist/types-ts4.0/types/toolbar.d.ts +0 -30
- package/dist/types-ts4.0/types/type-ahead.d.ts +0 -64
- package/dist/types-ts4.0/types/ui-components.d.ts +0 -22
- package/dist/types-ts4.0/ufo/experience-store.d.ts +0 -33
- package/dist/types-ts4.0/ufo/index.d.ts +0 -1
- package/dist/types-ts4.0/ui/BaseTheme/index.d.ts +0 -15
- package/dist/types-ts4.0/ui/Caption/index.d.ts +0 -19
- package/dist/types-ts4.0/ui/Caption/messages.d.ts +0 -7
- package/dist/types-ts4.0/ui/DropList/index.d.ts +0 -19
- package/dist/types-ts4.0/ui/Emoji/index.d.ts +0 -20
- package/dist/types-ts4.0/ui/ErrorBoundary/index.d.ts +0 -24
- package/dist/types-ts4.0/ui/EventHandlers/index.d.ts +0 -36
- package/dist/types-ts4.0/ui/Expand/index.d.ts +0 -43
- package/dist/types-ts4.0/ui/IntlErrorBoundary/index.d.ts +0 -15
- package/dist/types-ts4.0/ui/Layer/index.d.ts +0 -47
- package/dist/types-ts4.0/ui/Layer/internal/helpers.d.ts +0 -5
- package/dist/types-ts4.0/ui/MediaSingle/grid.d.ts +0 -10
- package/dist/types-ts4.0/ui/MediaSingle/index.d.ts +0 -24
- package/dist/types-ts4.0/ui/MediaSingle/link.d.ts +0 -1
- package/dist/types-ts4.0/ui/MediaSingle/styled.d.ts +0 -43
- package/dist/types-ts4.0/ui/Mention/index.d.ts +0 -21
- package/dist/types-ts4.0/ui/Mention/mention-with-profilecard.d.ts +0 -15
- package/dist/types-ts4.0/ui/Mention/mention-with-providers.d.ts +0 -22
- package/dist/types-ts4.0/ui/Mention/types.d.ts +0 -2
- package/dist/types-ts4.0/ui/Messages/index.d.ts +0 -11
- package/dist/types-ts4.0/ui/OverflowShadow/index.d.ts +0 -103
- package/dist/types-ts4.0/ui/OverflowShadow/shadowObserver.d.ts +0 -27
- package/dist/types-ts4.0/ui/Popup/index.d.ts +0 -63
- package/dist/types-ts4.0/ui/Popup/utils.d.ts +0 -42
- package/dist/types-ts4.0/ui/PortalProvider/PortalProviderThemesProvider.d.ts +0 -6
- package/dist/types-ts4.0/ui/PortalProvider/index.d.ts +0 -50
- package/dist/types-ts4.0/ui/UnsupportedBlock/index.d.ts +0 -14
- package/dist/types-ts4.0/ui/UnsupportedInline/index.d.ts +0 -14
- package/dist/types-ts4.0/ui/WidthProvider/index.d.ts +0 -29
- package/dist/types-ts4.0/ui/WithCreateAnalyticsEvent/index.d.ts +0 -6
- package/dist/types-ts4.0/ui/clear-next-sibling-margin-top.d.ts +0 -2
- package/dist/types-ts4.0/ui/index.d.ts +0 -25
- package/dist/types-ts4.0/ui/unsupported-content-helper.d.ts +0 -3
- package/dist/types-ts4.0/ui/with-outer-listeners.d.ts +0 -8
- package/dist/types-ts4.0/ui-color/ColorPalette/Color/index.d.ts +0 -19
- package/dist/types-ts4.0/ui-color/ColorPalette/Color/styles.d.ts +0 -4
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +0 -3
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/common.d.ts +0 -2
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +0 -2
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/index.d.ts +0 -2
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +0 -113
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/panelBackgroundPalette.d.ts +0 -4
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/statusColorPalette.d.ts +0 -4
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +0 -3
- package/dist/types-ts4.0/ui-color/ColorPalette/Palettes/type.d.ts +0 -8
- package/dist/types-ts4.0/ui-color/ColorPalette/index.d.ts +0 -15
- package/dist/types-ts4.0/ui-color/ColorPalette/styles.d.ts +0 -1
- package/dist/types-ts4.0/ui-color/index.d.ts +0 -9
- package/dist/types-ts4.0/ui-menu/Dropdown/index.d.ts +0 -35
- package/dist/types-ts4.0/ui-menu/DropdownMenu/index.d.ts +0 -19
- package/dist/types-ts4.0/ui-menu/DropdownMenu/types.d.ts +0 -46
- package/dist/types-ts4.0/ui-menu/ToolbarButton/index.d.ts +0 -53
- package/dist/types-ts4.0/ui-menu/ToolbarButton/styles.d.ts +0 -4
- package/dist/types-ts4.0/ui-menu/index.d.ts +0 -5
- package/dist/types-ts4.0/ui-react/ReactEditorViewContext.d.ts +0 -8
- package/dist/types-ts4.0/ui-react/index.d.ts +0 -2
- package/dist/types-ts4.0/ui-react/with-react-editor-view-outer-listeners.d.ts +0 -9
- package/dist/types-ts4.0/utils/analytics.d.ts +0 -48
- package/dist/types-ts4.0/utils/annotation/index.d.ts +0 -8
- package/dist/types-ts4.0/utils/breakout.d.ts +0 -10
- package/dist/types-ts4.0/utils/browser-extensions.d.ts +0 -43
- package/dist/types-ts4.0/utils/browser.d.ts +0 -4
- package/dist/types-ts4.0/utils/compare-props.d.ts +0 -32
- package/dist/types-ts4.0/utils/compareNodes.d.ts +0 -31
- package/dist/types-ts4.0/utils/compose.d.ts +0 -30
- package/dist/types-ts4.0/utils/date.d.ts +0 -18
- package/dist/types-ts4.0/utils/dom.d.ts +0 -26
- package/dist/types-ts4.0/utils/editor-core-utils.d.ts +0 -24
- package/dist/types-ts4.0/utils/error-reporter.d.ts +0 -13
- package/dist/types-ts4.0/utils/extension-handler.d.ts +0 -2
- package/dist/types-ts4.0/utils/getModeFromTheme.d.ts +0 -1
- package/dist/types-ts4.0/utils/imageLoader.d.ts +0 -14
- package/dist/types-ts4.0/utils/index.d.ts +0 -45
- package/dist/types-ts4.0/utils/is-text-input.d.ts +0 -2
- package/dist/types-ts4.0/utils/macro.d.ts +0 -10
- package/dist/types-ts4.0/utils/nodes.d.ts +0 -35
- package/dist/types-ts4.0/utils/performance/hooks/use-component-render-tracking/index.d.ts +0 -19
- package/dist/types-ts4.0/utils/performance/is-performance-api-available.d.ts +0 -3
- package/dist/types-ts4.0/utils/performance/measure-render.d.ts +0 -41
- package/dist/types-ts4.0/utils/performance/measure-tti.d.ts +0 -14
- package/dist/types-ts4.0/utils/performance/measure.d.ts +0 -3
- package/dist/types-ts4.0/utils/performance/navigation.d.ts +0 -1
- package/dist/types-ts4.0/utils/plugin-state-factory.d.ts +0 -16
- package/dist/types-ts4.0/utils/profiler/render-count.d.ts +0 -50
- package/dist/types-ts4.0/utils/should-force-tracking.d.ts +0 -1
- package/dist/types-ts4.0/utils/slice.d.ts +0 -11
- package/dist/types-ts4.0/utils/table.d.ts +0 -4
- package/dist/types-ts4.0/utils/track-unsupported-content.d.ts +0 -8
- package/dist/types-ts4.0/utils/traversor.d.ts +0 -9
- package/dist/types-ts4.0/utils/types.d.ts +0 -2
- package/dist/types-ts4.0/utils/unsupportedContent/get-unsupported-content-level-data.d.ts +0 -57
- package/dist/types-ts4.0/utils/validate-using-spec.d.ts +0 -19
- package/dist/types-ts4.0/utils/validator.d.ts +0 -42
- package/dist/types-ts4.0/utils/whitespace.d.ts +0 -2
- package/dist/types-ts4.0/validator.d.ts +0 -2
- package/dist/types-ts4.0/with-plugin-state/index.d.ts +0 -86
- package/dist/types-ts4.0/with-plugin-state/types.d.ts +0 -10
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import type { RichMediaLayout } from '@atlaskit/adf-schema';
|
|
2
|
-
import type { ADFEntityMark } from '@atlaskit/adf-utils/types';
|
|
3
|
-
import type { FeatureFlagKey } from '../../types/feature-flags';
|
|
4
|
-
import { PropsDifference, ShallowPropsDifference } from '../../utils';
|
|
5
|
-
import type { SEVERITY } from '../../utils/analytics';
|
|
6
|
-
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
7
|
-
import type { AnnotationAEP } from './inline-comment-events';
|
|
8
|
-
import type { PluginPerformanceReportData } from './performance-report';
|
|
9
|
-
import type { OperationalAEP, OperationalAEPWithObjectId, TrackAEP, UIAEP } from './utils';
|
|
10
|
-
export declare enum PLATFORMS {
|
|
11
|
-
NATIVE = "mobileNative",
|
|
12
|
-
HYBRID = "mobileHybrid",
|
|
13
|
-
WEB = "web"
|
|
14
|
-
}
|
|
15
|
-
export declare enum MODE {
|
|
16
|
-
RENDERER = "renderer",
|
|
17
|
-
EDITOR = "editor"
|
|
18
|
-
}
|
|
19
|
-
export declare enum FULL_WIDTH_MODE {
|
|
20
|
-
FIXED_WIDTH = "fixedWidth",
|
|
21
|
-
FULL_WIDTH = "fullWidth"
|
|
22
|
-
}
|
|
23
|
-
export declare enum BROWSER_FREEZE_INTERACTION_TYPE {
|
|
24
|
-
LOADING = "loading",
|
|
25
|
-
TYPING = "typing",
|
|
26
|
-
CLICKING = "clicking",
|
|
27
|
-
PASTING = "pasting"
|
|
28
|
-
}
|
|
29
|
-
declare type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ActionSubjectID, Attributes, undefined>;
|
|
30
|
-
declare type PickerAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.OPENED, ACTION_SUBJECT.PICKER, ActionSubjectID, Attributes, undefined>;
|
|
31
|
-
declare type FeedbackAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.FEEDBACK_DIALOG, undefined, {
|
|
32
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT;
|
|
33
|
-
}, undefined>;
|
|
34
|
-
declare type EditorStartAEP = UIAEP<ACTION.STARTED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
35
|
-
platform: PLATFORMS.NATIVE | PLATFORMS.HYBRID | PLATFORMS.WEB;
|
|
36
|
-
featureFlags: FeatureFlagKey[];
|
|
37
|
-
}, undefined>;
|
|
38
|
-
declare type EditorPerfAEP = OperationalAEPWithObjectId<ACTION.EDITOR_MOUNTED | ACTION.PROSEMIRROR_RENDERED | ACTION.ON_EDITOR_READY_CALLBACK | ACTION.ON_CHANGE_CALLBACK, ACTION_SUBJECT.EDITOR, undefined, {
|
|
39
|
-
duration: number;
|
|
40
|
-
startTime: number;
|
|
41
|
-
nodes?: Record<string, number>;
|
|
42
|
-
ttfb?: number;
|
|
43
|
-
severity?: SEVERITY;
|
|
44
|
-
distortedDuration?: boolean;
|
|
45
|
-
}, undefined>;
|
|
46
|
-
declare type EditorTTIAEP = OperationalAEP<ACTION.EDITOR_TTI, ACTION_SUBJECT.EDITOR, undefined, {
|
|
47
|
-
tti: number;
|
|
48
|
-
ttiFromInvocation: number;
|
|
49
|
-
canceled: boolean;
|
|
50
|
-
ttiSeverity?: SEVERITY;
|
|
51
|
-
ttiFromInvocationSeverity?: SEVERITY;
|
|
52
|
-
}, undefined>;
|
|
53
|
-
declare type EditorContentRetrievalPerformedAEP = OperationalAEP<ACTION.EDITOR_CONTENT_RETRIEVAL_PERFORMED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
54
|
-
success: boolean;
|
|
55
|
-
errorInfo?: string;
|
|
56
|
-
errorStack?: string;
|
|
57
|
-
}, undefined>;
|
|
58
|
-
declare type EditorRenderedAEP<T> = OperationalAEP<ACTION.RE_RENDERED, ACTION_SUBJECT.EDITOR | ACTION_SUBJECT.REACT_EDITOR_VIEW, undefined, {
|
|
59
|
-
propsDifference: PropsDifference<T> | ShallowPropsDifference<T>;
|
|
60
|
-
count: number;
|
|
61
|
-
}, undefined>;
|
|
62
|
-
export declare type UfoSessionCompletePayloadAEP = OperationalAEP<ACTION.UFO_SESSION_COMPLETE, ACTION_SUBJECT.EDITOR, undefined, {
|
|
63
|
-
interval: number;
|
|
64
|
-
}, undefined>;
|
|
65
|
-
declare type BrowserFreezePayload = OperationalAEPWithObjectId<ACTION.BROWSER_FREEZE, ACTION_SUBJECT.EDITOR, undefined, {
|
|
66
|
-
freezeTime: number;
|
|
67
|
-
nodeSize: number;
|
|
68
|
-
participants: number;
|
|
69
|
-
nodeCount?: Record<string, number>;
|
|
70
|
-
interactionType?: BROWSER_FREEZE_INTERACTION_TYPE;
|
|
71
|
-
severity?: SEVERITY;
|
|
72
|
-
}, undefined>;
|
|
73
|
-
declare type SelectionAEP = TrackAEP<ACTION.MATCHED, ACTION_SUBJECT.SELECTION, undefined, undefined, undefined>;
|
|
74
|
-
declare type SlowInputAEP = OperationalAEPWithObjectId<ACTION.SLOW_INPUT, ACTION_SUBJECT.EDITOR, undefined, {
|
|
75
|
-
time: number;
|
|
76
|
-
nodeSize: number;
|
|
77
|
-
participants: number;
|
|
78
|
-
nodeCount?: Record<string, number>;
|
|
79
|
-
}, undefined>;
|
|
80
|
-
declare type InputPerfSamlingAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING, ACTION_SUBJECT.EDITOR, undefined, {
|
|
81
|
-
time: number;
|
|
82
|
-
nodeSize: number;
|
|
83
|
-
participants: number;
|
|
84
|
-
nodeCount?: Record<string, number>;
|
|
85
|
-
severity?: SEVERITY;
|
|
86
|
-
}, undefined>;
|
|
87
|
-
declare type InputPerfSamplingAvgAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING_AVG, ACTION_SUBJECT.EDITOR, undefined, {
|
|
88
|
-
mean: number;
|
|
89
|
-
median: number;
|
|
90
|
-
sampleSize: number;
|
|
91
|
-
participants: number;
|
|
92
|
-
nodeCount?: Record<string, number>;
|
|
93
|
-
nodeSize: number;
|
|
94
|
-
severity?: SEVERITY;
|
|
95
|
-
}, undefined>;
|
|
96
|
-
declare type DispatchedTransactionAEP = OperationalAEP<ACTION.TRANSACTION_DISPATCHED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
97
|
-
report: PluginPerformanceReportData;
|
|
98
|
-
participants: number;
|
|
99
|
-
}, undefined>;
|
|
100
|
-
declare type TransactionMutatedAEP = OperationalAEP<ACTION.TRANSACTION_MUTATED_AFTER_DISPATCH, ACTION_SUBJECT.EDITOR, undefined, {
|
|
101
|
-
pluginKey: string;
|
|
102
|
-
}, undefined>;
|
|
103
|
-
declare type WithPluginStateCalledAEP = OperationalAEP<ACTION.WITH_PLUGIN_STATE_CALLED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
104
|
-
plugin: string;
|
|
105
|
-
duration: number;
|
|
106
|
-
participants: number;
|
|
107
|
-
}, undefined>;
|
|
108
|
-
declare type ReactNodeViewRenderedAEP = OperationalAEP<ACTION.REACT_NODEVIEW_RENDERED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
109
|
-
node: string;
|
|
110
|
-
duration: number;
|
|
111
|
-
participants: number;
|
|
112
|
-
}, undefined>;
|
|
113
|
-
declare type UploadExternalFailedAEP = OperationalAEP<ACTION.UPLOAD_EXTERNAL_FAIL, ACTION_SUBJECT.EDITOR, undefined, undefined, undefined>;
|
|
114
|
-
declare type InvalidProsemirrorDocumentErrorAEP = OperationalAEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.EDITOR, undefined, {
|
|
115
|
-
errorStack?: string;
|
|
116
|
-
}, undefined>;
|
|
117
|
-
declare type DocumentProcessingErrorAEP = OperationalAEP<ACTION.DOCUMENT_PROCESSING_ERROR, ACTION_SUBJECT.EDITOR, undefined, {
|
|
118
|
-
errorStack?: string;
|
|
119
|
-
}, undefined>;
|
|
120
|
-
declare type EditorStopAEP = UIAEP<ACTION.STOPPED, ACTION_SUBJECT.EDITOR, ACTION_SUBJECT_ID.SAVE | ACTION_SUBJECT_ID.CANCEL, {
|
|
121
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.SHORTCUT;
|
|
122
|
-
documentSize: number;
|
|
123
|
-
nodeCount?: {
|
|
124
|
-
tables: number;
|
|
125
|
-
headings: number;
|
|
126
|
-
lists: number;
|
|
127
|
-
mediaSingles: number;
|
|
128
|
-
mediaGroups: number;
|
|
129
|
-
panels: number;
|
|
130
|
-
extensions: number;
|
|
131
|
-
decisions: number;
|
|
132
|
-
actions: number;
|
|
133
|
-
codeBlocks: number;
|
|
134
|
-
};
|
|
135
|
-
}, undefined>;
|
|
136
|
-
declare type AnnotateButtonAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.ANNOTATE_BUTTON, undefined, undefined>;
|
|
137
|
-
declare type ButtonHelpAEP = ButtonAEP<ACTION_SUBJECT_ID.BUTTON_HELP, {
|
|
138
|
-
inputMethod: INPUT_METHOD.SHORTCUT | INPUT_METHOD.TOOLBAR;
|
|
139
|
-
}>;
|
|
140
|
-
declare type ButtonFeedbackAEP = ButtonAEP<ACTION_SUBJECT_ID.BUTTON_FEEDBACK, undefined>;
|
|
141
|
-
declare type PickerEmojiAEP = PickerAEP<ACTION_SUBJECT_ID.PICKER_EMOJI, {
|
|
142
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD;
|
|
143
|
-
}>;
|
|
144
|
-
declare type PickerImageAEP = PickerAEP<ACTION_SUBJECT_ID.PICKER_CLOUD, {
|
|
145
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU;
|
|
146
|
-
}>;
|
|
147
|
-
declare type HelpQuickInsertAEP = UIAEP<ACTION.HELP_OPENED, ACTION_SUBJECT.HELP, ACTION_SUBJECT_ID.HELP_QUICK_INSERT, {
|
|
148
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT;
|
|
149
|
-
}, undefined>;
|
|
150
|
-
declare type FullWidthModeAEP = TrackAEP<ACTION.CHANGED_FULL_WIDTH_MODE, ACTION_SUBJECT.EDITOR, undefined, {
|
|
151
|
-
previousMode: FULL_WIDTH_MODE;
|
|
152
|
-
newMode: FULL_WIDTH_MODE;
|
|
153
|
-
}, undefined>;
|
|
154
|
-
declare type ExpandToggleAEP = TrackAEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
155
|
-
platform: PLATFORMS;
|
|
156
|
-
mode: MODE;
|
|
157
|
-
expanded: boolean;
|
|
158
|
-
}, undefined>;
|
|
159
|
-
export declare type ColorPickerAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.PICKER, ACTION_SUBJECT_ID.PICKER_COLOR, {
|
|
160
|
-
color: string;
|
|
161
|
-
label?: string;
|
|
162
|
-
placement: string;
|
|
163
|
-
}, undefined>;
|
|
164
|
-
declare type RichMediaLayoutAEP = TrackAEP<ACTION.SELECTED, ACTION_SUBJECT.MEDIA_SINGLE | ACTION_SUBJECT.EMBEDS, ACTION_SUBJECT_ID.RICH_MEDIA_LAYOUT, {
|
|
165
|
-
previousLayoutType: RichMediaLayout;
|
|
166
|
-
currentLayoutType: RichMediaLayout;
|
|
167
|
-
}, undefined>;
|
|
168
|
-
declare type CodeBlockLanguageSelectedAEP = TrackAEP<ACTION.LANGUAGE_SELECTED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
|
|
169
|
-
language: string;
|
|
170
|
-
}, undefined>;
|
|
171
|
-
declare type MediaLinkTransformedAEP = OperationalAEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined, undefined>;
|
|
172
|
-
declare type TextLinkCodeMarkTransformedAEP = OperationalAEP<ACTION.TEXT_LINK_MARK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined, undefined>;
|
|
173
|
-
declare type DedupeMarksTransformedAEP = OperationalAEP<ACTION.DEDUPE_MARKS_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
174
|
-
discardedMarks: ADFEntityMark[];
|
|
175
|
-
}, undefined>;
|
|
176
|
-
declare type IndentationMarksTransformedAEP = OperationalAEP<ACTION.INDENTATION_MARKS_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined, undefined>;
|
|
177
|
-
declare type NodesMissingContentTransformedAEP = OperationalAEP<ACTION.NODES_MISSING_CONTENT_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined, undefined>;
|
|
178
|
-
export declare type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | UfoSessionCompletePayloadAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP;
|
|
179
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD, TRIGGER_METHOD, CONTENT_COMPONENT, FLOATING_CONTROLS_TITLE, } from './enums';
|
|
2
|
-
export type { AnalyticsDispatch, AnalyticsEventPayload, AnalyticsEventPayloadCallback, AnalyticsEventPayloadWithChannel, ErrorEventAttributes, ErrorEventPayload, FeatureExposureAEP, FireAnalyticsCallback, SimplifiedNode, TransactionEventPayload, } from './events';
|
|
3
|
-
export type { FormatEventPayload } from './format-events';
|
|
4
|
-
export type { SubstituteEventPayload } from './substitute-events';
|
|
5
|
-
export type { UfoSessionCompletePayloadAEP, ColorPickerAEP, GeneralEventPayload, } from './general-events';
|
|
6
|
-
export { INDENT_DIRECTION, INDENT_TYPE } from './format-events';
|
|
7
|
-
export { PUNC, SYMBOL } from './substitute-events';
|
|
8
|
-
export { BROWSER_FREEZE_INTERACTION_TYPE, FULL_WIDTH_MODE, MODE, PLATFORMS, } from './general-events';
|
|
9
|
-
export { LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, USER_CONTEXT, } from './insert-events';
|
|
10
|
-
export type { InputMethodInsertLink, InputMethodInsertMedia, InsertEventPayload, } from './insert-events';
|
|
11
|
-
export { TABLE_ACTION, TABLE_BREAKOUT } from './table-events';
|
|
12
|
-
export type { TableEventPayload } from './table-events';
|
|
13
|
-
export { PasteContents, PasteSources, PasteTypes } from './paste-events';
|
|
14
|
-
export type { PASTE_ACTION_SUBJECT_ID, PasteContent, PasteEventPayload, PasteSource, PasteType, } from './paste-events';
|
|
15
|
-
export type { MediaAltTextActionType, MediaEventPayload, MediaLinkAEP, CaptionTrackAction, } from './media-events';
|
|
16
|
-
export type { DispatchAnalyticsEvent } from './dispatch-analytics-event';
|
|
17
|
-
export { DELETE_DIRECTION, LIST_TEXT_SCENARIOS } from './list-events';
|
|
18
|
-
export type { ListEventPayload, CommonListAnalyticsAttributes, } from './list-events';
|
|
19
|
-
export type { CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, RecentActivitiesPerfAEP, QuickSearchPerfAEP, ViewedCreateLinkInlineDialogAEP, DismissedCreateLinkInlineDialogAEP, EnteredTextLinkSearchInputAEP, ShownPreQuerySearchResultsAEP, ShownPostQuerySearchResultsAEP, HighlightedSearchResultsAEP, SelectedSearchResultsAEP, EditLinkToolbarAEP, UnlinkToolbarAEP, } from './link-tool-bar-events';
|
|
20
|
-
export type { TextColorSelectedAttr, TextColorSelectedAEP, TextColorShowPaletteToggleAttr, TextColorShowPaletteToggleAEP, ExperimentalEventPayload, } from './experimental-events';
|
|
21
|
-
export { GAP_CURSOR_POSITION, TARGET_SELECTION_SOURCE, } from './extension-events';
|
|
22
|
-
export type { SelectionJson, ExtensionType, ExtensionEventPayload, } from './extension-events';
|
|
23
|
-
export type { AnnotationActionType, AnnotationAEP, AnnotationAEPAttributes, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, } from './inline-comment-events';
|
|
24
|
-
export { RESOLVE_METHOD } from './inline-comment-events';
|
|
25
|
-
export { LAYOUT_TYPE, SMART_LINK_TYPE } from './node-events';
|
|
26
|
-
export type { NodeEventPayload } from './node-events';
|
|
27
|
-
export type { SelectNodeAEP, SelectRangeAEP, SelectAllAEP, SelectCellAEP, SelectionEventPayload, } from './selection-events';
|
|
28
|
-
export { SmartLinkNodeContexts } from './smart-links';
|
|
29
|
-
export type { SmartLinkNodeContext, InsertSmartLinkAEP } from './smart-links';
|
|
30
|
-
export { TOOLBAR_ACTION_SUBJECT_ID } from './toolbar-button';
|
|
31
|
-
export type { ToolbarEventPayload } from './toolbar-button';
|
|
32
|
-
export type { TypeAheadPayload } from './type-ahead';
|
|
33
|
-
export { SELECTION_POSITION, SELECTION_TYPE } from './utils';
|
|
34
|
-
export type { PluginMethodReport, PluginsReport, NodeCount, PluginPerformanceReportData, } from './performance-report';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
-
import { TrackAEP } from './utils';
|
|
3
|
-
export declare type AnnotationActionType = ACTION.INSERTED | ACTION.CLOSED | ACTION.EDITED | ACTION.DELETED | ACTION.OPENED | ACTION.RESOLVED | ACTION.VIEWED;
|
|
4
|
-
export declare type AnnotationAEP = TrackAEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
|
|
5
|
-
export declare type AnnotationAEPAttributes = undefined | {} | AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
|
|
6
|
-
export declare type AnnotationDraftAEPAttributes = {
|
|
7
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.SHORTCUT;
|
|
8
|
-
overlap: number;
|
|
9
|
-
};
|
|
10
|
-
export declare type AnnotationResolvedAEPAttributes = {
|
|
11
|
-
method: RESOLVE_METHOD;
|
|
12
|
-
};
|
|
13
|
-
export declare enum RESOLVE_METHOD {
|
|
14
|
-
COMPONENT = "component",
|
|
15
|
-
CONSUMER = "consumer",
|
|
16
|
-
ORPHANED = "orphaned"
|
|
17
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import type { ExtensionLayout, PanelType } from '@atlaskit/adf-schema';
|
|
2
|
-
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
3
|
-
import type { InsertSmartLinkAEP } from './smart-links';
|
|
4
|
-
import type { InsertAEP, TrackAEP } from './utils';
|
|
5
|
-
export declare enum USER_CONTEXT {
|
|
6
|
-
EDIT = "edit",
|
|
7
|
-
NEW = "new"
|
|
8
|
-
}
|
|
9
|
-
export declare enum LINK_STATUS {
|
|
10
|
-
RESOLVED = "resolved",
|
|
11
|
-
UNRESOLVED = "unresolved"
|
|
12
|
-
}
|
|
13
|
-
export declare enum LINK_REPRESENTATION {
|
|
14
|
-
TEXT = "text",
|
|
15
|
-
INLINE_CARD = "inlineCard",
|
|
16
|
-
BLOCK_CARD = "blockCard",
|
|
17
|
-
EMBED = "embed"
|
|
18
|
-
}
|
|
19
|
-
export declare enum LINK_RESOURCE {
|
|
20
|
-
JIRA = "jiraIssue",
|
|
21
|
-
CONFLUENCE = "confluencePage",
|
|
22
|
-
BITBUCKET_PR = "bitbucketPR",
|
|
23
|
-
BITBUCKET_REPO = "bitbucketRepo",
|
|
24
|
-
TRELLO_CARD = "trelloCard",
|
|
25
|
-
TRELLO_BOARD = "trelloBoard",
|
|
26
|
-
STATUS_PAGE = "statusPage",
|
|
27
|
-
BOX = "boxFile",
|
|
28
|
-
DROPBOX = "dropboxFile",
|
|
29
|
-
OFFICE = "office",
|
|
30
|
-
DRIVE = "drive",
|
|
31
|
-
YOUTUBE = "youtubeVideo",
|
|
32
|
-
TWITTER = "twitterTweet",
|
|
33
|
-
OTHER = "other"
|
|
34
|
-
}
|
|
35
|
-
declare type InsertLineBreakAEP = TrackAEP<ACTION.INSERTED, ACTION_SUBJECT.TEXT, ACTION_SUBJECT_ID.LINE_BREAK, undefined, undefined>;
|
|
36
|
-
declare type InsertDividerAEP = InsertAEP<ACTION_SUBJECT_ID.DIVIDER, {
|
|
37
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.SHORTCUT;
|
|
38
|
-
}, undefined>;
|
|
39
|
-
declare type InsertPanelAEP = InsertAEP<ACTION_SUBJECT_ID.PANEL, {
|
|
40
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU;
|
|
41
|
-
panelType: PanelType;
|
|
42
|
-
}, undefined>;
|
|
43
|
-
declare type InsertCodeBlockAEP = InsertAEP<ACTION_SUBJECT_ID.CODE_BLOCK, {
|
|
44
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.INSERT_MENU;
|
|
45
|
-
}, undefined>;
|
|
46
|
-
declare type InsertTableAEP = InsertAEP<ACTION_SUBJECT_ID.TABLE, {
|
|
47
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.SHORTCUT;
|
|
48
|
-
}, undefined>;
|
|
49
|
-
declare type InsertExpandAEP = InsertAEP<ACTION_SUBJECT_ID.EXPAND | ACTION_SUBJECT_ID.NESTED_EXPAND, {
|
|
50
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU;
|
|
51
|
-
}, undefined>;
|
|
52
|
-
declare type InsertActionDecisionAEP = InsertAEP<ACTION_SUBJECT_ID.DECISION | ACTION_SUBJECT_ID.ACTION, {
|
|
53
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
|
|
54
|
-
containerAri?: string;
|
|
55
|
-
objectAri?: string;
|
|
56
|
-
localId: string;
|
|
57
|
-
listLocalId: string;
|
|
58
|
-
userContext?: USER_CONTEXT.EDIT | USER_CONTEXT.NEW;
|
|
59
|
-
position: number;
|
|
60
|
-
listSize: number;
|
|
61
|
-
}, undefined>;
|
|
62
|
-
declare type InsertEmojiAEP = InsertAEP<ACTION_SUBJECT_ID.EMOJI, {
|
|
63
|
-
inputMethod: INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.PICKER | INPUT_METHOD.ASCII;
|
|
64
|
-
}, undefined>;
|
|
65
|
-
declare type InsertStatusAEP = InsertAEP<ACTION_SUBJECT_ID.STATUS, {
|
|
66
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU;
|
|
67
|
-
}, undefined>;
|
|
68
|
-
export declare type InputMethodInsertMedia = INPUT_METHOD.CLIPBOARD | INPUT_METHOD.PICKER_CLOUD | INPUT_METHOD.DRAG_AND_DROP;
|
|
69
|
-
declare type InsertMediaSingleAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA, {
|
|
70
|
-
inputMethod: InputMethodInsertMedia;
|
|
71
|
-
fileExtension?: string;
|
|
72
|
-
type: ACTION_SUBJECT_ID.MEDIA_SINGLE | ACTION_SUBJECT_ID.MEDIA_GROUP;
|
|
73
|
-
}, undefined>;
|
|
74
|
-
declare type InsertMediaGroupAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA, {
|
|
75
|
-
inputMethod?: InputMethodInsertMedia;
|
|
76
|
-
fileExtension?: string;
|
|
77
|
-
type: ACTION_SUBJECT_ID.MEDIA_SINGLE | ACTION_SUBJECT_ID.MEDIA_GROUP;
|
|
78
|
-
}, undefined>;
|
|
79
|
-
declare type InsertMediaInlineAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA, {
|
|
80
|
-
inputMethod?: InputMethodInsertMedia;
|
|
81
|
-
fileExtension?: string;
|
|
82
|
-
type: ACTION_SUBJECT_ID.MEDIA_INLINE;
|
|
83
|
-
}, undefined>;
|
|
84
|
-
export declare type InputMethodInsertLink = INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.CLIPBOARD | INPUT_METHOD.FORMATTING | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.MANUAL;
|
|
85
|
-
declare type InsertLinkAEP = InsertAEP<ACTION_SUBJECT_ID.LINK, {
|
|
86
|
-
inputMethod: InputMethodInsertLink;
|
|
87
|
-
fromCurrentDomain: boolean;
|
|
88
|
-
}, {
|
|
89
|
-
linkDomain: string;
|
|
90
|
-
}>;
|
|
91
|
-
declare type InsertLinkPreviewAEP = InsertAEP<ACTION_SUBJECT_ID.LINK_PREVIEW, {
|
|
92
|
-
status: LINK_STATUS.RESOLVED | LINK_STATUS.UNRESOLVED;
|
|
93
|
-
representation?: LINK_REPRESENTATION.TEXT | LINK_REPRESENTATION.INLINE_CARD | LINK_REPRESENTATION.INLINE_CARD | LINK_REPRESENTATION.BLOCK_CARD;
|
|
94
|
-
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;
|
|
95
|
-
}, undefined>;
|
|
96
|
-
declare type InsertMediaLinkAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA_LINK, {
|
|
97
|
-
inputMethod: INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL;
|
|
98
|
-
}, undefined>;
|
|
99
|
-
declare type InsertLayoutAEP = InsertAEP<ACTION_SUBJECT_ID.LAYOUT, {
|
|
100
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT;
|
|
101
|
-
}, undefined>;
|
|
102
|
-
declare type InsertDateAEP = InsertAEP<ACTION_SUBJECT_ID.DATE, {
|
|
103
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU;
|
|
104
|
-
}, undefined>;
|
|
105
|
-
declare type InsertExtensionAEP = InsertAEP<ACTION_SUBJECT_ID.EXTENSION, {
|
|
106
|
-
extensionType: string;
|
|
107
|
-
key: string;
|
|
108
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT;
|
|
109
|
-
}, any>;
|
|
110
|
-
declare type InsertNodeViaExtensionAPIAEP = InsertAEP<undefined, {
|
|
111
|
-
nodeType: string;
|
|
112
|
-
inputMethod: INPUT_METHOD.EXTENSION_API;
|
|
113
|
-
hasReferentiality: Boolean;
|
|
114
|
-
nodeTypesReferenced?: string[];
|
|
115
|
-
layout?: ExtensionLayout;
|
|
116
|
-
extensionType?: string;
|
|
117
|
-
/**
|
|
118
|
-
* extensionkey follows this format:
|
|
119
|
-
* ${manifest.key}:${manifest.modules.nodes.name}
|
|
120
|
-
* e.g: 'awesome:item', 'awesome:default', 'awesome:list'
|
|
121
|
-
*/
|
|
122
|
-
extensionKey?: string;
|
|
123
|
-
}, undefined>;
|
|
124
|
-
declare type InsertPlaceholderTextAEP = InsertAEP<ACTION_SUBJECT_ID.PLACEHOLDER_TEXT, {
|
|
125
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU;
|
|
126
|
-
}, undefined>;
|
|
127
|
-
export declare type InsertEventPayload = InsertDividerAEP | InsertLineBreakAEP | InsertPanelAEP | InsertCodeBlockAEP | InsertTableAEP | InsertExpandAEP | InsertActionDecisionAEP | InsertEmojiAEP | InsertStatusAEP | InsertMediaSingleAEP | InsertMediaGroupAEP | InsertMediaInlineAEP | InsertLinkAEP | InsertLinkPreviewAEP | InsertMediaLinkAEP | InsertSmartLinkAEP | InsertLayoutAEP | InsertExtensionAEP | InsertNodeViaExtensionAPIAEP | InsertDateAEP | InsertPlaceholderTextAEP;
|
|
128
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import type { OperationalAEP, ScreenAEP, UIAEP } from './utils';
|
|
3
|
-
export declare type RecentActivitiesPerfAEP = OperationalAEP<ACTION.INVOKED, ACTION_SUBJECT.SEARCH_RESULT, ACTION_SUBJECT_ID.RECENT_ACTIVITIES, {
|
|
4
|
-
duration: number;
|
|
5
|
-
count: number;
|
|
6
|
-
errorCode?: number;
|
|
7
|
-
}, {
|
|
8
|
-
error?: string;
|
|
9
|
-
}>;
|
|
10
|
-
export declare type QuickSearchPerfAEP = OperationalAEP<ACTION.INVOKED, ACTION_SUBJECT.SEARCH_RESULT, ACTION_SUBJECT_ID.QUICK_SEARCH, {
|
|
11
|
-
duration: number;
|
|
12
|
-
count: number;
|
|
13
|
-
errorCode?: number;
|
|
14
|
-
}, {
|
|
15
|
-
error?: string;
|
|
16
|
-
}>;
|
|
17
|
-
export declare type OpenSettingsToolbarAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.GOTO_SMART_LINK_SETTINGS, {}, undefined>;
|
|
18
|
-
export declare type ViewedCreateLinkInlineDialogAEP = ScreenAEP<ACTION.VIEWED, ACTION_SUBJECT.CREATE_LINK_INLINE_DIALOG, undefined, {
|
|
19
|
-
timesViewed: number;
|
|
20
|
-
searchSessionId: string;
|
|
21
|
-
trigger: string;
|
|
22
|
-
}, undefined>;
|
|
23
|
-
export declare type DismissedCreateLinkInlineDialogAEP = UIAEP<ACTION.DISMISSED, ACTION_SUBJECT.CREATE_LINK_INLINE_DIALOG, undefined, {
|
|
24
|
-
source: string;
|
|
25
|
-
searchSessionId: string;
|
|
26
|
-
trigger: string;
|
|
27
|
-
}, undefined>;
|
|
28
|
-
export declare type EnteredTextLinkSearchInputAEP = UIAEP<ACTION.ENTERED, ACTION_SUBJECT.TEXT, ACTION_SUBJECT_ID.LINK_SEARCH_INPUT, {
|
|
29
|
-
queryLength: number;
|
|
30
|
-
queryVersion: number;
|
|
31
|
-
queryHash: string;
|
|
32
|
-
searchSessionId: string;
|
|
33
|
-
wordCount: number;
|
|
34
|
-
source: string;
|
|
35
|
-
}, {
|
|
36
|
-
query: string;
|
|
37
|
-
}>;
|
|
38
|
-
export declare type ShownPreQuerySearchResultsAEP = UIAEP<ACTION.SHOWN, ACTION_SUBJECT.SEARCH_RESULT, ACTION_SUBJECT_ID.PRE_QUERY_SEARCH_RESULTS, {
|
|
39
|
-
source: string;
|
|
40
|
-
preQueryRequestDurationMs: number;
|
|
41
|
-
searchSessionId: string;
|
|
42
|
-
resultCount: number;
|
|
43
|
-
results: Array<{
|
|
44
|
-
resultContentId: string;
|
|
45
|
-
resultType: string;
|
|
46
|
-
}>;
|
|
47
|
-
}, undefined>;
|
|
48
|
-
export declare type ShownPostQuerySearchResultsAEP = UIAEP<ACTION.SHOWN, ACTION_SUBJECT.SEARCH_RESULT, ACTION_SUBJECT_ID.POST_QUERY_SEARCH_RESULTS, {
|
|
49
|
-
source: string;
|
|
50
|
-
postQueryRequestDurationMs: number;
|
|
51
|
-
searchSessionId: string;
|
|
52
|
-
resultCount: number;
|
|
53
|
-
results: Array<{
|
|
54
|
-
resultContentId: string;
|
|
55
|
-
resultType: string;
|
|
56
|
-
}>;
|
|
57
|
-
}, undefined>;
|
|
58
|
-
export declare type HighlightedSearchResultsAEP = UIAEP<ACTION.HIGHLIGHTED, ACTION_SUBJECT.SEARCH_RESULT, undefined, {
|
|
59
|
-
source: string;
|
|
60
|
-
searchSessionId: string;
|
|
61
|
-
selectedResultId: string;
|
|
62
|
-
selectedRelativePosition: number;
|
|
63
|
-
}, undefined>;
|
|
64
|
-
export declare type SelectedSearchResultsAEP = UIAEP<ACTION.SELECTED, ACTION_SUBJECT.SEARCH_RESULT, undefined, {
|
|
65
|
-
source: string;
|
|
66
|
-
searchSessionId: string;
|
|
67
|
-
trigger: string;
|
|
68
|
-
resultCount: number;
|
|
69
|
-
selectedResultId: string;
|
|
70
|
-
selectedRelativePosition: number;
|
|
71
|
-
prefetch: boolean;
|
|
72
|
-
}, undefined>;
|
|
73
|
-
export declare type EditLinkToolbarAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.SMART_LINK | ACTION_SUBJECT.HYPERLINK, ACTION_SUBJECT_ID.EDIT_LINK, {}, undefined>;
|
|
74
|
-
export declare type UnlinkToolbarAEP = UIAEP<ACTION.UNLINK, ACTION_SUBJECT.SMART_LINK | ACTION_SUBJECT.HYPERLINK, ACTION_SUBJECT_ID.CARD_INLINE | undefined, {}, undefined>;
|
|
75
|
-
export declare type CreateLinkInlineDialogEventPayload = QuickSearchPerfAEP | RecentActivitiesPerfAEP | ViewedCreateLinkInlineDialogAEP | EnteredTextLinkSearchInputAEP | ShownPreQuerySearchResultsAEP | ShownPostQuerySearchResultsAEP | HighlightedSearchResultsAEP | SelectedSearchResultsAEP | DismissedCreateLinkInlineDialogAEP;
|
|
76
|
-
export declare type CreateLinkInlineDialogActionType = ACTION.INVOKED | ACTION.VIEWED | ACTION.ENTERED | ACTION.SHOWN;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
-
import type { TrackAEP } from './utils';
|
|
3
|
-
export declare enum DELETE_DIRECTION {
|
|
4
|
-
BACKWARD = "backward",
|
|
5
|
-
FORWARD = "forward"
|
|
6
|
-
}
|
|
7
|
-
export declare enum LIST_TEXT_SCENARIOS {
|
|
8
|
-
JOIN_SIBLINGS = "joinSiblings",
|
|
9
|
-
JOIN_DESCENDANT_TO_PARENT = "joinDescendantToParent",
|
|
10
|
-
JOIN_TO_SIBLING_DESCENDANT = "joinToSiblingDescendant",
|
|
11
|
-
JOIN_PARAGRAPH_WITH_LIST = "joinParagraphWithList",
|
|
12
|
-
JOIN_PARENT_SIBLING_TO_PARENT_CHILD = "joinParentSiblingToParentChild",
|
|
13
|
-
JOIN_LIST_ITEM_WITH_PARAGRAPH = "joinListItemWithParagraph"
|
|
14
|
-
}
|
|
15
|
-
export declare type CommonListAnalyticsAttributes = {
|
|
16
|
-
itemIndexAtSelectionStart: number;
|
|
17
|
-
itemIndexAtSelectionEnd: number;
|
|
18
|
-
indentLevelAtSelectionStart: number;
|
|
19
|
-
indentLevelAtSelectionEnd: number;
|
|
20
|
-
itemsInSelection: number;
|
|
21
|
-
};
|
|
22
|
-
declare 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>;
|
|
23
|
-
declare type ListItemJoinedForwardAEP = ListItemJoinedFormatAEP<{
|
|
24
|
-
inputMethod: INPUT_METHOD.KEYBOARD;
|
|
25
|
-
direction: DELETE_DIRECTION.FORWARD;
|
|
26
|
-
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;
|
|
27
|
-
}>;
|
|
28
|
-
declare type ListItemJoinedBackwardsAEP = ListItemJoinedFormatAEP<{
|
|
29
|
-
inputMethod: INPUT_METHOD.KEYBOARD;
|
|
30
|
-
direction: DELETE_DIRECTION.BACKWARD;
|
|
31
|
-
scenario: LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT;
|
|
32
|
-
}>;
|
|
33
|
-
declare type ListConvertedTrackAEP = TrackAEP<ACTION.CONVERTED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER | ACTION_SUBJECT_ID.TEXT, {
|
|
34
|
-
transformedFrom: ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER;
|
|
35
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.KEYBOARD;
|
|
36
|
-
} & CommonListAnalyticsAttributes, undefined>;
|
|
37
|
-
declare type ListIndentedAEP = TrackAEP<ACTION.INDENTED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER, {
|
|
38
|
-
inputMethod: INPUT_METHOD;
|
|
39
|
-
} & CommonListAnalyticsAttributes, undefined>;
|
|
40
|
-
declare type ListOutdentedAEP = TrackAEP<ACTION.OUTDENTED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER, {
|
|
41
|
-
inputMethod: INPUT_METHOD;
|
|
42
|
-
} & CommonListAnalyticsAttributes, undefined>;
|
|
43
|
-
declare type ListInsertedAEP = TrackAEP<ACTION.INSERTED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER, {
|
|
44
|
-
inputMethod: INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR | INPUT_METHOD.QUICK_INSERT;
|
|
45
|
-
}, undefined>;
|
|
46
|
-
declare type ListContentSanitizedAEP = TrackAEP<ACTION.NODE_CONTENT_SANITIZED, ACTION_SUBJECT.LIST, ACTION_SUBJECT_ID.FORMAT_LIST_BULLET | ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER, {
|
|
47
|
-
inputMethod: INPUT_METHOD.FORMATTING;
|
|
48
|
-
nodeSanitized: string;
|
|
49
|
-
marksRemoved: string[];
|
|
50
|
-
}, undefined>;
|
|
51
|
-
export declare type ListEventPayload = ListItemJoinedForwardAEP | ListItemJoinedBackwardsAEP | ListConvertedTrackAEP | ListIndentedAEP | ListOutdentedAEP | ListInsertedAEP | ListContentSanitizedAEP;
|
|
52
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import type { TrackAEP, UIAEP } from './utils';
|
|
3
|
-
declare type MediaLinkActionType = ACTION.ADDED | ACTION.EDITED | ACTION.DELETED | ACTION.VISITED | ACTION.ERRORED;
|
|
4
|
-
export declare type MediaLinkAEP = TrackAEP<MediaLinkActionType, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.LINK, any, undefined>;
|
|
5
|
-
declare type MediaCaptionActionType = ACTION.DELETED | ACTION.EDITED | ACTION.ADDED;
|
|
6
|
-
export declare type CaptionTrackAction = TrackAEP<MediaCaptionActionType, ACTION_SUBJECT.MEDIA_SINGLE, ACTION_SUBJECT_ID.CAPTION, any, undefined>;
|
|
7
|
-
declare type MediaAltTextAction = TrackAEP<ACTION.ADDED | ACTION.CLOSED | ACTION.EDITED | ACTION.CLEARED | ACTION.OPENED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.ALT_TEXT, undefined, undefined>;
|
|
8
|
-
declare type MediaUIAction = UIAEP<ACTION.EDITED, ACTION_SUBJECT.MEDIA_SINGLE | ACTION_SUBJECT.EMBEDS, ACTION_SUBJECT_ID.RESIZED, any, undefined>;
|
|
9
|
-
declare type MediaSwitchType = ACTION_SUBJECT_ID.MEDIA_INLINE | ACTION_SUBJECT_ID.MEDIA_GROUP;
|
|
10
|
-
declare type ChangeMediaAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.MEDIA, undefined, {
|
|
11
|
-
newType: MediaSwitchType;
|
|
12
|
-
previousType: MediaSwitchType;
|
|
13
|
-
}, undefined>;
|
|
14
|
-
export declare type MediaAltTextActionType = ACTION.ADDED | ACTION.CLOSED | ACTION.EDITED | ACTION.CLEARED | ACTION.OPENED;
|
|
15
|
-
export declare type MediaEventPayload = MediaLinkAEP | MediaAltTextAction | MediaUIAction | CaptionTrackAction | ChangeMediaAEP;
|
|
16
|
-
export {};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { PanelType } from '@atlaskit/adf-schema';
|
|
2
|
-
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
3
|
-
import type { TrackAEP } from './utils';
|
|
4
|
-
export declare enum LAYOUT_TYPE {
|
|
5
|
-
SINGLE_COL = "singleColumn",
|
|
6
|
-
TWO_COLS_EQUAL = "twoColumnsEqual",
|
|
7
|
-
THREE_COLS_EQUAL = "threeColumnsEqual",
|
|
8
|
-
LEFT_SIDEBAR = "twoColumnsLeftSidebar",
|
|
9
|
-
RIGHT_SIDEBAR = "twoColumnsRightSidebar",
|
|
10
|
-
THREE_WITH_SIDEBARS = "threeColumnsWithSidebars "
|
|
11
|
-
}
|
|
12
|
-
export declare enum SMART_LINK_TYPE {
|
|
13
|
-
INLINE_CARD = "inline",
|
|
14
|
-
BLOCK_CARD = "block",
|
|
15
|
-
URL = "url"
|
|
16
|
-
}
|
|
17
|
-
declare type DeletePanelAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.PANEL, undefined, {
|
|
18
|
-
inputMethod: INPUT_METHOD.TOOLBAR;
|
|
19
|
-
}, undefined>;
|
|
20
|
-
declare type ChangePanelAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.PANEL, undefined, {
|
|
21
|
-
newType: PanelType;
|
|
22
|
-
previousType: PanelType;
|
|
23
|
-
}, undefined>;
|
|
24
|
-
declare type ChangeSmartLinkAEP = TrackAEP<ACTION.CHANGED_TYPE, ACTION_SUBJECT.SMART_LINK, undefined, {
|
|
25
|
-
newType: SMART_LINK_TYPE;
|
|
26
|
-
previousType: SMART_LINK_TYPE;
|
|
27
|
-
}, undefined>;
|
|
28
|
-
declare type VisitedSmartLink = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.SMART_LINK, ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.CARD_INLINE, {
|
|
29
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.CARD;
|
|
30
|
-
}, undefined>;
|
|
31
|
-
declare type VisitedHyperlink = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.HYPERLINK, undefined, {
|
|
32
|
-
inputMethod: INPUT_METHOD.TOOLBAR;
|
|
33
|
-
}, undefined>;
|
|
34
|
-
declare type DeletedSmartLink = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.SMART_LINK, ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.CARD_INLINE, {
|
|
35
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.CARD;
|
|
36
|
-
displayMode: ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.CARD_INLINE;
|
|
37
|
-
}, undefined>;
|
|
38
|
-
declare type ChangedLayoutAEP = TrackAEP<ACTION.CHANGED_LAYOUT, ACTION_SUBJECT.LAYOUT, undefined, {
|
|
39
|
-
previousLayout: LAYOUT_TYPE;
|
|
40
|
-
newLayout: LAYOUT_TYPE;
|
|
41
|
-
}, undefined>;
|
|
42
|
-
declare type DeletedLayoutAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.LAYOUT, undefined, {
|
|
43
|
-
layout: LAYOUT_TYPE;
|
|
44
|
-
}, undefined>;
|
|
45
|
-
declare type DeletedExpandAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
46
|
-
inputMethod: INPUT_METHOD.TOOLBAR;
|
|
47
|
-
}, undefined>;
|
|
48
|
-
declare type UnsupportedContentAEP = TrackAEP<ACTION.UNSUPPORTED_CONTENT_ENCOUNTERED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.UNSUPPORTED_BLOCK | ACTION_SUBJECT_ID.UNSUPPORTED_INLINE | ACTION_SUBJECT_ID.UNSUPPORTED_MARK, {
|
|
49
|
-
unsupportedNode: {
|
|
50
|
-
type: string;
|
|
51
|
-
parentType: string;
|
|
52
|
-
ancestry: string;
|
|
53
|
-
};
|
|
54
|
-
}, undefined>;
|
|
55
|
-
export declare type NodeEventPayload = ChangePanelAEP | DeletePanelAEP | DeletedSmartLink | VisitedSmartLink | VisitedHyperlink | ChangedLayoutAEP | DeletedLayoutAEP | DeletedExpandAEP | ChangeSmartLinkAEP | UnsupportedContentAEP;
|
|
56
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
-
import type { OperationalAEP, TrackAEP } from './utils';
|
|
3
|
-
export declare const PasteTypes: {
|
|
4
|
-
[type: string]: PasteType;
|
|
5
|
-
};
|
|
6
|
-
export declare type PasteType = 'richText' | 'plain' | 'markdown' | 'binary';
|
|
7
|
-
export declare const PasteSources: {
|
|
8
|
-
[type: string]: PasteSource;
|
|
9
|
-
};
|
|
10
|
-
export declare type PasteSource = 'fabric-editor' | 'apple-pages' | 'google-spreadsheets' | 'google-docs' | 'microsoft-excel' | 'microsoft-word' | 'dropbox-paper' | 'uncategorized';
|
|
11
|
-
export declare const PasteContents: {
|
|
12
|
-
[P in PasteContent]: P;
|
|
13
|
-
};
|
|
14
|
-
export declare type PasteContent = 'text' | 'url' | 'code' | 'mediaSingle' | 'mediaCard' | 'mediaGroup' | 'blockquote' | 'blockCard' | 'bodiedExtension' | 'bulletList' | 'codeBlock' | 'decisionList' | 'decisionItem' | 'extension' | 'heading' | 'layoutSection' | 'tableCells' | 'table' | 'expand' | 'nestedExpand' | 'orderedList' | 'panel' | 'rule' | 'tableHeader' | 'tableRow' | 'taskItem' | 'uncategorized' | 'mixed';
|
|
15
|
-
export declare type PASTE_ACTION_SUBJECT_ID = ACTION_SUBJECT_ID.PASTE_BLOCKQUOTE | ACTION_SUBJECT_ID.PASTE_BLOCK_CARD | ACTION_SUBJECT_ID.PASTE_BODIED_EXTENSION | ACTION_SUBJECT_ID.PASTE_BULLET_LIST | ACTION_SUBJECT_ID.PASTE_CODE_BLOCK | ACTION_SUBJECT_ID.PASTE_DECISION_LIST | ACTION_SUBJECT_ID.PASTE_EXTENSION | ACTION_SUBJECT_ID.PASTE_HEADING | ACTION_SUBJECT_ID.PASTE_MEDIA_GROUP | ACTION_SUBJECT_ID.PASTE_MEDIA_SINGLE | ACTION_SUBJECT_ID.PASTE_ORDERED_LIST | ACTION_SUBJECT_ID.PASTE_PANEL | ACTION_SUBJECT_ID.PASTE_PARAGRAPH | ACTION_SUBJECT_ID.PASTE_RULE | ACTION_SUBJECT_ID.PASTE_TABLE | ACTION_SUBJECT_ID.PASTE_TABLE_CELL | ACTION_SUBJECT_ID.PASTE_TABLE_HEADER | ACTION_SUBJECT_ID.PASTE_TABLE_ROW | ACTION_SUBJECT_ID.PASTE_TASK_LIST | ACTION_SUBJECT_ID.PASTE_EXPAND | ACTION_SUBJECT_ID.PASTE_NESTED_EXPAND;
|
|
16
|
-
declare type PasteBaseAEP<Action, Attributes, NonPrivacySafeAttributes> = TrackAEP<Action, ACTION_SUBJECT.DOCUMENT, PASTE_ACTION_SUBJECT_ID, Attributes, NonPrivacySafeAttributes>;
|
|
17
|
-
declare type PasteBaseOperationalAEP<Action, Attributes, NonPrivacySafeAttributes> = OperationalAEP<Action, ACTION_SUBJECT.EDITOR, PASTE_ACTION_SUBJECT_ID, Attributes, NonPrivacySafeAttributes>;
|
|
18
|
-
declare type PasteAEP = PasteBaseAEP<ACTION.PASTED, {
|
|
19
|
-
inputMethod: INPUT_METHOD.KEYBOARD;
|
|
20
|
-
type: PasteType;
|
|
21
|
-
content: PasteContent;
|
|
22
|
-
source?: PasteSource;
|
|
23
|
-
pasteSize: number;
|
|
24
|
-
}, {
|
|
25
|
-
linkDomain?: string[];
|
|
26
|
-
} | undefined>;
|
|
27
|
-
declare type PasteAsPlainAEP = PasteBaseAEP<ACTION.PASTED_AS_PLAIN, {
|
|
28
|
-
inputMethod: string;
|
|
29
|
-
pasteSize: number;
|
|
30
|
-
linksInPasteCount: number;
|
|
31
|
-
}, undefined>;
|
|
32
|
-
declare type PastedTimedAEP = PasteBaseOperationalAEP<ACTION.PASTED_TIMED, {
|
|
33
|
-
pasteIntoNode: PASTE_ACTION_SUBJECT_ID;
|
|
34
|
-
content: Array<string>;
|
|
35
|
-
time: number;
|
|
36
|
-
distortedDuration: boolean;
|
|
37
|
-
}, undefined>;
|
|
38
|
-
export declare type PasteEventPayload = PasteAEP | PasteAsPlainAEP | PastedTimedAEP;
|
|
39
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface PluginMethodReport {
|
|
2
|
-
stateApply: number;
|
|
3
|
-
viewUpdate: number;
|
|
4
|
-
onEditorViewStateUpdated: number;
|
|
5
|
-
}
|
|
6
|
-
export interface PluginsReport {
|
|
7
|
-
[name: string]: PluginMethodReport;
|
|
8
|
-
}
|
|
9
|
-
export declare type NodeCount = Record<string, number>;
|
|
10
|
-
export interface PluginPerformanceReportData {
|
|
11
|
-
trigger: string;
|
|
12
|
-
duration: number;
|
|
13
|
-
nodes: NodeCount;
|
|
14
|
-
extensionNodes: NodeCount;
|
|
15
|
-
plugins: PluginsReport;
|
|
16
|
-
slowPlugins: PluginsReport;
|
|
17
|
-
stepDurations: {
|
|
18
|
-
stateApply: number;
|
|
19
|
-
viewUpdate: number;
|
|
20
|
-
onChange: number;
|
|
21
|
-
onEditorViewStateUpdated: number;
|
|
22
|
-
countNodes: number;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from './enums';
|
|
2
|
-
import { OperationalAEP } from './utils';
|
|
3
|
-
declare type InitialiseFragmentMarks = OperationalAEP<ACTION.INITIALISED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.FRAGMENT_MARKS, {
|
|
4
|
-
duration: number;
|
|
5
|
-
docSize: number;
|
|
6
|
-
count: number;
|
|
7
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
8
|
-
export declare type ReferentialityEventPayload = InitialiseFragmentMarks;
|
|
9
|
-
export {};
|