@atlaskit/editor-core 182.1.2 → 183.0.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 +27 -0
- package/dist/cjs/actions/index.js +90 -98
- package/dist/cjs/create-editor/ErrorBoundary.js +86 -93
- package/dist/cjs/create-editor/ReactEditorViewInternal.js +8 -6
- package/dist/cjs/editor-next/index.js +5 -6
- package/dist/cjs/editor-next/utils/sendDurationAnalytics.js +34 -37
- package/dist/cjs/editor-next/utils/trackEditorActions.js +48 -51
- package/dist/cjs/editor.js +29 -34
- package/dist/cjs/i18n/cs.js +34 -6
- package/dist/cjs/i18n/da.js +34 -6
- package/dist/cjs/i18n/de.js +34 -7
- package/dist/cjs/i18n/en.js +31 -4
- package/dist/cjs/i18n/en_GB.js +34 -7
- package/dist/cjs/i18n/en_ZZ.js +35 -8
- package/dist/cjs/i18n/es.js +33 -6
- package/dist/cjs/i18n/fi.js +33 -6
- package/dist/cjs/i18n/fr.js +34 -7
- package/dist/cjs/i18n/hu.js +33 -6
- package/dist/cjs/i18n/it.js +34 -7
- package/dist/cjs/i18n/ja.js +33 -6
- package/dist/cjs/i18n/ko.js +33 -6
- package/dist/cjs/i18n/nb.js +35 -8
- package/dist/cjs/i18n/nl.js +34 -7
- package/dist/cjs/i18n/pl.js +34 -7
- package/dist/cjs/i18n/pt_BR.js +34 -7
- package/dist/cjs/i18n/ru.js +34 -7
- package/dist/cjs/i18n/sv.js +33 -6
- package/dist/cjs/i18n/th.js +34 -7
- package/dist/cjs/i18n/tr.js +33 -6
- package/dist/cjs/i18n/uk.js +34 -7
- package/dist/cjs/i18n/vi.js +35 -8
- package/dist/cjs/i18n/zh.js +33 -4
- package/dist/cjs/i18n/zh_TW.js +33 -6
- package/dist/cjs/labs/CollapsedEditor/index.js +1 -1
- package/dist/cjs/plugins/analytics/plugin.js +1 -1
- package/dist/cjs/plugins/annotation/pm-plugins/inline-comment.js +39 -44
- package/dist/cjs/plugins/annotation/pm-plugins/types.js +4 -4
- package/dist/cjs/plugins/annotation/types.js +4 -4
- package/dist/cjs/plugins/base/pm-plugins/decoration.js +4 -4
- package/dist/cjs/plugins/block-type/commands/block-type.js +1 -1
- package/dist/cjs/plugins/card/nodeviews/embedCard.js +5 -6
- package/dist/cjs/plugins/card/ui/EditLinkToolbar.js +3 -4
- package/dist/cjs/plugins/card/ui/EditorSmartCardEventsNext.js +16 -1
- package/dist/cjs/plugins/collab-edit/index.js +29 -32
- package/dist/cjs/plugins/collab-edit/plugin-state.js +2 -4
- package/dist/cjs/plugins/custom-autoformat/doc.js +28 -31
- package/dist/cjs/plugins/custom-autoformat/index.js +20 -23
- package/dist/cjs/plugins/date/index.js +1 -1
- package/dist/cjs/plugins/date/ui/DatePicker/date-picker-input.js +7 -10
- package/dist/cjs/plugins/date/utils/internal.js +1 -1
- package/dist/cjs/plugins/emoji/pm-plugins/ascii-input-rules.js +27 -28
- package/dist/cjs/plugins/extension/actions.js +36 -39
- package/dist/cjs/plugins/extension/context-panel.js +123 -130
- package/dist/cjs/plugins/extension/pm-plugins/main.js +82 -89
- package/dist/cjs/plugins/extension/pm-plugins/utils.js +46 -51
- package/dist/cjs/plugins/extension/ui/Extension/ExtensionComponent.js +44 -48
- package/dist/cjs/plugins/feedback-dialog/index.js +52 -57
- package/dist/cjs/plugins/feedback-dialog/loadJiraCollectorDialogScript.js +44 -47
- package/dist/cjs/plugins/find-replace/actions.js +4 -4
- package/dist/cjs/plugins/find-replace/utils/batch-decorations.js +144 -153
- package/dist/cjs/plugins/find-replace/utils/index.js +2 -2
- package/dist/cjs/plugins/floating-toolbar/ui/ExtensionsPlaceholder.js +40 -46
- package/dist/cjs/plugins/floating-toolbar/ui/Toolbar.js +2 -1
- package/dist/cjs/plugins/floating-toolbar/ui/ToolbarLoader.js +2 -1
- package/dist/cjs/plugins/fragment/pm-plugins/fragment-consistency.js +86 -86
- package/dist/cjs/plugins/help-dialog/ui/HelpDialogLoader.js +2 -1
- package/dist/cjs/plugins/history/actions.js +4 -4
- package/dist/cjs/plugins/hyperlink/HyperlinkToolbarAppearance.js +76 -82
- package/dist/cjs/plugins/hyperlink/pm-plugins/input-rule.js +3 -0
- package/dist/cjs/plugins/hyperlink/pm-plugins/main.js +16 -16
- package/dist/cjs/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.js +339 -352
- package/dist/cjs/plugins/hyperlink/utils.js +3 -0
- package/dist/cjs/plugins/image-upload/pm-plugins/main.js +24 -27
- package/dist/cjs/plugins/list/utils/node.js +4 -4
- package/dist/cjs/plugins/macro/actions.js +107 -112
- package/dist/cjs/plugins/media/nodeviews/mediaGroup.js +43 -46
- package/dist/cjs/plugins/media/nodeviews/mediaInline.js +62 -66
- package/dist/cjs/plugins/media/nodeviews/mediaNodeUpdater.js +544 -575
- package/dist/cjs/plugins/media/nodeviews/mediaNodeView/media.js +38 -42
- package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +108 -113
- package/dist/cjs/plugins/media/picker-facade.js +22 -25
- package/dist/cjs/plugins/media/pm-plugins/linking/actions.js +4 -4
- package/dist/cjs/plugins/media/pm-plugins/main.js +159 -172
- package/dist/cjs/plugins/media/pm-plugins/mediaTaskManager.js +36 -39
- package/dist/cjs/plugins/media/toolbar/utils.js +30 -33
- package/dist/cjs/plugins/media/ui/MediaPicker/PickerFacadeProvider.js +71 -74
- package/dist/cjs/plugins/media/ui/ResizableMediaSingle/index.js +52 -57
- package/dist/cjs/plugins/media/utils/check-media-type.js +37 -40
- package/dist/cjs/plugins/mentions/nodeviews/mention.js +29 -31
- package/dist/cjs/plugins/mentions/type-ahead/index.js +1 -1
- package/dist/cjs/plugins/mobile-dimensions/actions.js +4 -4
- package/dist/cjs/plugins/paste/actions.js +4 -4
- package/dist/cjs/plugins/paste/handlers.js +23 -26
- package/dist/cjs/plugins/paste/linkify-md-plugin.js +3 -0
- package/dist/cjs/plugins/paste/md.js +3 -0
- package/dist/cjs/plugins/paste/newline-md-plugin.js +3 -0
- package/dist/cjs/plugins/paste/paragraph-md-plugin.js +3 -0
- package/dist/cjs/plugins/paste/pm-plugins/main.js +25 -27
- package/dist/cjs/plugins/quick-insert/assets/index.js +63 -39
- package/dist/cjs/plugins/quick-insert/index.js +30 -33
- package/dist/cjs/plugins/selection/actions.js +4 -4
- package/dist/cjs/plugins/selection/gap-cursor/direction.js +4 -4
- package/dist/cjs/plugins/selection/types.js +4 -4
- package/dist/cjs/plugins/status/ui/statusPicker.js +7 -8
- package/dist/cjs/plugins/tasks-and-decisions/nodeviews/taskItem.js +9 -10
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/commands.js +16 -6
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/keymaps.js +12 -20
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/main.js +3 -3
- package/dist/cjs/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +41 -42
- package/dist/cjs/plugins/tasks-and-decisions/utils.js +31 -2
- package/dist/cjs/plugins/text-color/pm-plugins/main.js +4 -4
- package/dist/cjs/plugins/text-formatting/pm-plugins/input-rule.js +3 -3
- package/dist/cjs/plugins/text-formatting/ui/Toolbar/types.js +4 -4
- package/dist/cjs/plugins/type-ahead/constants.js +4 -4
- package/dist/cjs/plugins/type-ahead/pm-plugins/actions.js +4 -4
- package/dist/cjs/plugins/undo-redo/enums.js +4 -4
- package/dist/cjs/ui/Appearance/Comment/Comment.js +3 -3
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +2 -1
- package/dist/cjs/ui/ColorPickerButton/index.js +3 -2
- package/dist/cjs/ui/ConfigPanel/ConfigPanel.js +68 -73
- package/dist/cjs/ui/ConfigPanel/ConfigPanelLoader.js +2 -1
- package/dist/cjs/ui/ConfigPanel/Fields/CustomSelect.js +54 -56
- package/dist/cjs/ui/ConfigPanel/Fields/UserSelect.js +51 -55
- package/dist/cjs/ui/ConfigPanel/FormErrorBoundary.js +24 -27
- package/dist/cjs/ui/ConfigPanel/transformers.js +344 -363
- package/dist/cjs/ui/ConfigPanel/types.js +8 -8
- package/dist/cjs/ui/Dropdown/index.js +2 -1
- package/dist/cjs/ui/DropdownMenu/index.js +2 -1
- package/dist/cjs/ui/ElementBrowser/components/ElementBrowserLoader.js +1 -1
- package/dist/cjs/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +4 -4
- package/dist/cjs/ui/ElementBrowser/types.js +4 -4
- package/dist/cjs/ui/LinkSearch/index.js +94 -101
- package/dist/cjs/ui/ToolbarArrowKeyNavigationProvider/index.js +19 -2
- package/dist/cjs/ui/ToolbarFeedback/index.js +27 -31
- package/dist/cjs/utils/action.js +31 -36
- package/dist/cjs/utils/clipboard.js +82 -86
- package/dist/cjs/utils/deprecation-warnings.js +1 -1
- package/dist/cjs/utils/extensions.js +62 -67
- package/dist/cjs/utils/insert.js +4 -4
- package/dist/cjs/utils/mark.js +2 -2
- package/dist/cjs/utils/performance/simple-measure-to-entries.js +1 -2
- package/dist/cjs/utils/performance/track-transactions.js +3 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/actions/index.js +8 -9
- package/dist/es2019/create-editor/ReactEditorViewInternal.js +5 -3
- package/dist/es2019/editor-next/index.js +5 -6
- package/dist/es2019/editor.js +29 -36
- package/dist/es2019/i18n/cs.js +34 -6
- package/dist/es2019/i18n/da.js +34 -6
- package/dist/es2019/i18n/de.js +34 -7
- package/dist/es2019/i18n/en.js +31 -4
- package/dist/es2019/i18n/en_GB.js +34 -7
- package/dist/es2019/i18n/en_ZZ.js +35 -8
- package/dist/es2019/i18n/es.js +33 -6
- package/dist/es2019/i18n/fi.js +33 -6
- package/dist/es2019/i18n/fr.js +34 -7
- package/dist/es2019/i18n/hu.js +33 -6
- package/dist/es2019/i18n/it.js +34 -7
- package/dist/es2019/i18n/ja.js +33 -6
- package/dist/es2019/i18n/ko.js +33 -6
- package/dist/es2019/i18n/nb.js +35 -8
- package/dist/es2019/i18n/nl.js +34 -7
- package/dist/es2019/i18n/pl.js +34 -7
- package/dist/es2019/i18n/pt_BR.js +34 -7
- package/dist/es2019/i18n/ru.js +34 -7
- package/dist/es2019/i18n/sv.js +33 -6
- package/dist/es2019/i18n/th.js +34 -7
- package/dist/es2019/i18n/tr.js +33 -6
- package/dist/es2019/i18n/uk.js +34 -7
- package/dist/es2019/i18n/vi.js +35 -8
- package/dist/es2019/i18n/zh.js +33 -4
- package/dist/es2019/i18n/zh_TW.js +33 -6
- package/dist/es2019/plugins/annotation/pm-plugins/types.js +3 -3
- package/dist/es2019/plugins/annotation/types.js +3 -3
- package/dist/es2019/plugins/base/pm-plugins/decoration.js +3 -3
- package/dist/es2019/plugins/card/nodeviews/embedCard.js +5 -7
- package/dist/es2019/plugins/card/ui/EditLinkToolbar.js +3 -5
- package/dist/es2019/plugins/card/ui/EditorSmartCardEventsNext.js +17 -2
- package/dist/es2019/plugins/collab-edit/plugin-state.js +1 -2
- package/dist/es2019/plugins/date/ui/DatePicker/date-picker-input.js +7 -11
- package/dist/es2019/plugins/emoji/pm-plugins/ascii-input-rules.js +27 -28
- package/dist/es2019/plugins/extension/ui/Extension/ExtensionComponent.js +8 -12
- package/dist/es2019/plugins/find-replace/actions.js +3 -3
- package/dist/es2019/plugins/floating-toolbar/ui/Toolbar.js +2 -1
- package/dist/es2019/plugins/fragment/pm-plugins/fragment-consistency.js +56 -71
- package/dist/es2019/plugins/history/actions.js +3 -3
- package/dist/es2019/plugins/hyperlink/pm-plugins/input-rule.js +3 -0
- package/dist/es2019/plugins/hyperlink/pm-plugins/main.js +6 -6
- package/dist/es2019/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -2
- package/dist/es2019/plugins/hyperlink/utils.js +3 -0
- package/dist/es2019/plugins/list/utils/node.js +3 -3
- package/dist/es2019/plugins/media/nodeviews/mediaNodeUpdater.js +4 -8
- package/dist/es2019/plugins/media/nodeviews/mediaSingle.js +2 -3
- package/dist/es2019/plugins/media/pm-plugins/linking/actions.js +3 -3
- package/dist/es2019/plugins/media/pm-plugins/main.js +22 -31
- package/dist/es2019/plugins/mobile-dimensions/actions.js +3 -3
- package/dist/es2019/plugins/paste/actions.js +3 -3
- package/dist/es2019/plugins/paste/linkify-md-plugin.js +3 -0
- package/dist/es2019/plugins/paste/md.js +3 -0
- package/dist/es2019/plugins/paste/newline-md-plugin.js +3 -0
- package/dist/es2019/plugins/paste/paragraph-md-plugin.js +3 -0
- package/dist/es2019/plugins/selection/actions.js +3 -3
- package/dist/es2019/plugins/selection/gap-cursor/direction.js +3 -3
- package/dist/es2019/plugins/selection/types.js +3 -3
- package/dist/es2019/plugins/status/ui/statusPicker.js +6 -7
- package/dist/es2019/plugins/tasks-and-decisions/nodeviews/taskItem.js +9 -11
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/commands.js +15 -3
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/keymaps.js +6 -16
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/main.js +3 -3
- package/dist/es2019/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +6 -5
- package/dist/es2019/plugins/tasks-and-decisions/utils.js +30 -0
- package/dist/es2019/plugins/text-color/pm-plugins/main.js +3 -3
- package/dist/es2019/plugins/text-formatting/pm-plugins/input-rule.js +3 -3
- package/dist/es2019/plugins/text-formatting/ui/Toolbar/types.js +3 -3
- package/dist/es2019/plugins/type-ahead/constants.js +3 -3
- package/dist/es2019/plugins/type-ahead/pm-plugins/actions.js +3 -3
- package/dist/es2019/plugins/undo-redo/enums.js +3 -3
- package/dist/es2019/ui/Appearance/Comment/Comment.js +3 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -2
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +2 -1
- package/dist/es2019/ui/ColorPickerButton/index.js +5 -3
- package/dist/es2019/ui/ConfigPanel/ConfigPanel.js +3 -4
- package/dist/es2019/ui/ConfigPanel/types.js +6 -6
- package/dist/es2019/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +3 -3
- package/dist/es2019/ui/ElementBrowser/types.js +3 -3
- package/dist/es2019/ui/ToolbarArrowKeyNavigationProvider/index.js +18 -2
- package/dist/es2019/ui/ToolbarFeedback/index.js +1 -3
- package/dist/es2019/utils/insert.js +3 -3
- package/dist/es2019/utils/performance/simple-measure-to-entries.js +1 -1
- package/dist/es2019/utils/performance/track-transactions.js +3 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/actions/index.js +90 -98
- package/dist/esm/create-editor/ErrorBoundary.js +86 -93
- package/dist/esm/create-editor/ReactEditorViewInternal.js +6 -5
- package/dist/esm/editor-next/index.js +5 -6
- package/dist/esm/editor-next/utils/sendDurationAnalytics.js +34 -37
- package/dist/esm/editor-next/utils/trackEditorActions.js +48 -51
- package/dist/esm/editor.js +29 -34
- package/dist/esm/i18n/cs.js +34 -6
- package/dist/esm/i18n/da.js +34 -6
- package/dist/esm/i18n/de.js +34 -7
- package/dist/esm/i18n/en.js +31 -4
- package/dist/esm/i18n/en_GB.js +34 -7
- package/dist/esm/i18n/en_ZZ.js +35 -8
- package/dist/esm/i18n/es.js +33 -6
- package/dist/esm/i18n/fi.js +33 -6
- package/dist/esm/i18n/fr.js +34 -7
- package/dist/esm/i18n/hu.js +33 -6
- package/dist/esm/i18n/it.js +34 -7
- package/dist/esm/i18n/ja.js +33 -6
- package/dist/esm/i18n/ko.js +33 -6
- package/dist/esm/i18n/nb.js +35 -8
- package/dist/esm/i18n/nl.js +34 -7
- package/dist/esm/i18n/pl.js +34 -7
- package/dist/esm/i18n/pt_BR.js +34 -7
- package/dist/esm/i18n/ru.js +34 -7
- package/dist/esm/i18n/sv.js +33 -6
- package/dist/esm/i18n/th.js +34 -7
- package/dist/esm/i18n/tr.js +33 -6
- package/dist/esm/i18n/uk.js +34 -7
- package/dist/esm/i18n/vi.js +35 -8
- package/dist/esm/i18n/zh.js +33 -4
- package/dist/esm/i18n/zh_TW.js +33 -6
- package/dist/esm/plugins/analytics/plugin.js +1 -1
- package/dist/esm/plugins/annotation/pm-plugins/inline-comment.js +39 -44
- package/dist/esm/plugins/annotation/pm-plugins/types.js +3 -3
- package/dist/esm/plugins/annotation/types.js +3 -3
- package/dist/esm/plugins/base/pm-plugins/decoration.js +3 -3
- package/dist/esm/plugins/block-type/commands/block-type.js +1 -1
- package/dist/esm/plugins/card/nodeviews/embedCard.js +5 -6
- package/dist/esm/plugins/card/ui/EditLinkToolbar.js +3 -4
- package/dist/esm/plugins/card/ui/EditorSmartCardEventsNext.js +17 -2
- package/dist/esm/plugins/collab-edit/index.js +29 -32
- package/dist/esm/plugins/collab-edit/plugin-state.js +2 -4
- package/dist/esm/plugins/custom-autoformat/doc.js +28 -31
- package/dist/esm/plugins/custom-autoformat/index.js +20 -23
- package/dist/esm/plugins/date/ui/DatePicker/date-picker-input.js +7 -10
- package/dist/esm/plugins/date/utils/internal.js +1 -1
- package/dist/esm/plugins/emoji/pm-plugins/ascii-input-rules.js +27 -28
- package/dist/esm/plugins/extension/actions.js +36 -39
- package/dist/esm/plugins/extension/context-panel.js +123 -129
- package/dist/esm/plugins/extension/pm-plugins/main.js +82 -88
- package/dist/esm/plugins/extension/pm-plugins/utils.js +46 -51
- package/dist/esm/plugins/extension/ui/Extension/ExtensionComponent.js +44 -49
- package/dist/esm/plugins/feedback-dialog/index.js +52 -57
- package/dist/esm/plugins/feedback-dialog/loadJiraCollectorDialogScript.js +44 -47
- package/dist/esm/plugins/find-replace/actions.js +3 -3
- package/dist/esm/plugins/find-replace/utils/batch-decorations.js +144 -153
- package/dist/esm/plugins/find-replace/utils/index.js +2 -2
- package/dist/esm/plugins/floating-toolbar/ui/ExtensionsPlaceholder.js +40 -47
- package/dist/esm/plugins/floating-toolbar/ui/Toolbar.js +2 -1
- package/dist/esm/plugins/fragment/pm-plugins/fragment-consistency.js +78 -76
- package/dist/esm/plugins/history/actions.js +3 -3
- package/dist/esm/plugins/hyperlink/HyperlinkToolbarAppearance.js +76 -83
- package/dist/esm/plugins/hyperlink/pm-plugins/input-rule.js +3 -0
- package/dist/esm/plugins/hyperlink/pm-plugins/main.js +14 -14
- package/dist/esm/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.js +339 -353
- package/dist/esm/plugins/hyperlink/utils.js +3 -0
- package/dist/esm/plugins/image-upload/pm-plugins/main.js +24 -27
- package/dist/esm/plugins/list/utils/node.js +3 -3
- package/dist/esm/plugins/macro/actions.js +107 -112
- package/dist/esm/plugins/media/nodeviews/mediaGroup.js +43 -46
- package/dist/esm/plugins/media/nodeviews/mediaInline.js +62 -67
- package/dist/esm/plugins/media/nodeviews/mediaNodeUpdater.js +544 -575
- package/dist/esm/plugins/media/nodeviews/mediaNodeView/media.js +38 -43
- package/dist/esm/plugins/media/nodeviews/mediaSingle.js +108 -114
- package/dist/esm/plugins/media/picker-facade.js +22 -25
- package/dist/esm/plugins/media/pm-plugins/linking/actions.js +3 -3
- package/dist/esm/plugins/media/pm-plugins/main.js +159 -173
- package/dist/esm/plugins/media/pm-plugins/mediaTaskManager.js +36 -39
- package/dist/esm/plugins/media/toolbar/utils.js +30 -33
- package/dist/esm/plugins/media/ui/MediaPicker/PickerFacadeProvider.js +71 -74
- package/dist/esm/plugins/media/ui/ResizableMediaSingle/index.js +52 -57
- package/dist/esm/plugins/media/utils/check-media-type.js +37 -40
- package/dist/esm/plugins/mentions/nodeviews/mention.js +29 -32
- package/dist/esm/plugins/mentions/type-ahead/index.js +1 -1
- package/dist/esm/plugins/mobile-dimensions/actions.js +3 -3
- package/dist/esm/plugins/paste/actions.js +3 -3
- package/dist/esm/plugins/paste/handlers.js +23 -26
- package/dist/esm/plugins/paste/linkify-md-plugin.js +3 -0
- package/dist/esm/plugins/paste/md.js +3 -0
- package/dist/esm/plugins/paste/newline-md-plugin.js +3 -0
- package/dist/esm/plugins/paste/paragraph-md-plugin.js +3 -0
- package/dist/esm/plugins/paste/pm-plugins/main.js +25 -28
- package/dist/esm/plugins/quick-insert/index.js +30 -33
- package/dist/esm/plugins/selection/actions.js +3 -3
- package/dist/esm/plugins/selection/gap-cursor/direction.js +3 -3
- package/dist/esm/plugins/selection/types.js +3 -3
- package/dist/esm/plugins/status/ui/statusPicker.js +6 -7
- package/dist/esm/plugins/tasks-and-decisions/nodeviews/taskItem.js +9 -10
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/commands.js +17 -7
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/keymaps.js +13 -21
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/main.js +3 -3
- package/dist/esm/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +41 -43
- package/dist/esm/plugins/tasks-and-decisions/utils.js +28 -0
- package/dist/esm/plugins/text-color/pm-plugins/main.js +3 -3
- package/dist/esm/plugins/text-formatting/pm-plugins/input-rule.js +3 -3
- package/dist/esm/plugins/text-formatting/ui/Toolbar/types.js +3 -3
- package/dist/esm/plugins/type-ahead/constants.js +3 -3
- package/dist/esm/plugins/type-ahead/pm-plugins/actions.js +3 -3
- package/dist/esm/plugins/undo-redo/enums.js +3 -3
- package/dist/esm/ui/Appearance/Comment/Comment.js +3 -3
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -2
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +2 -1
- package/dist/esm/ui/ColorPickerButton/index.js +3 -2
- package/dist/esm/ui/ConfigPanel/ConfigPanel.js +68 -74
- package/dist/esm/ui/ConfigPanel/Fields/CustomSelect.js +54 -57
- package/dist/esm/ui/ConfigPanel/Fields/UserSelect.js +51 -56
- package/dist/esm/ui/ConfigPanel/FormErrorBoundary.js +24 -27
- package/dist/esm/ui/ConfigPanel/transformers.js +344 -362
- package/dist/esm/ui/ConfigPanel/types.js +6 -6
- package/dist/esm/ui/Dropdown/index.js +2 -1
- package/dist/esm/ui/DropdownMenu/index.js +2 -1
- package/dist/esm/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +3 -3
- package/dist/esm/ui/ElementBrowser/types.js +3 -3
- package/dist/esm/ui/LinkSearch/index.js +94 -101
- package/dist/esm/ui/ToolbarArrowKeyNavigationProvider/index.js +18 -2
- package/dist/esm/ui/ToolbarFeedback/index.js +27 -31
- package/dist/esm/utils/action.js +31 -36
- package/dist/esm/utils/clipboard.js +82 -87
- package/dist/esm/utils/deprecation-warnings.js +1 -1
- package/dist/esm/utils/extensions.js +62 -67
- package/dist/esm/utils/insert.js +3 -3
- package/dist/esm/utils/mark.js +2 -2
- package/dist/esm/utils/performance/simple-measure-to-entries.js +1 -2
- package/dist/esm/utils/performance/track-transactions.js +3 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/create-editor/ReactEditorViewInternal.d.ts +1 -0
- package/dist/types/i18n/cs.d.ts +29 -2
- package/dist/types/i18n/da.d.ts +29 -2
- package/dist/types/i18n/de.d.ts +28 -2
- package/dist/types/i18n/en.d.ts +28 -2
- package/dist/types/i18n/en_GB.d.ts +31 -5
- package/dist/types/i18n/en_ZZ.d.ts +28 -2
- package/dist/types/i18n/es.d.ts +28 -2
- package/dist/types/i18n/fi.d.ts +28 -2
- package/dist/types/i18n/fr.d.ts +28 -2
- package/dist/types/i18n/hu.d.ts +28 -2
- package/dist/types/i18n/it.d.ts +28 -2
- package/dist/types/i18n/ja.d.ts +28 -2
- package/dist/types/i18n/ko.d.ts +28 -2
- package/dist/types/i18n/nb.d.ts +28 -2
- package/dist/types/i18n/nl.d.ts +28 -2
- package/dist/types/i18n/pl.d.ts +28 -2
- package/dist/types/i18n/pt_BR.d.ts +28 -2
- package/dist/types/i18n/ru.d.ts +28 -2
- package/dist/types/i18n/sv.d.ts +28 -2
- package/dist/types/i18n/th.d.ts +28 -2
- package/dist/types/i18n/tr.d.ts +28 -2
- package/dist/types/i18n/uk.d.ts +28 -2
- package/dist/types/i18n/vi.d.ts +28 -2
- package/dist/types/i18n/zh.d.ts +30 -2
- package/dist/types/i18n/zh_TW.d.ts +28 -2
- package/dist/types/plugins/code-block/language-list.d.ts +1 -1
- package/dist/types/plugins/tasks-and-decisions/utils.d.ts +2 -0
- package/dist/types/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +3 -1
- package/dist/types/utils/document.d.ts +2 -2
- package/package.json +97 -97
- package/report.api.md +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
2
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
3
|
import { EditorExperience } from '@atlaskit/editor-common/ufo';
|
|
5
4
|
import { ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
6
5
|
/**
|
|
@@ -15,43 +14,41 @@ import { ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent } from '@atlaskit/editor
|
|
|
15
14
|
*/
|
|
16
15
|
export default function sendDurationAnalytics(action, props, getExperienceStore, createAnalyticsEvent) {
|
|
17
16
|
return /*#__PURE__*/function () {
|
|
18
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
17
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(duration, startTime) {
|
|
19
18
|
var _props$featureFlags;
|
|
20
19
|
var contextIdentifier, objectId, experienceStore;
|
|
21
|
-
return _regeneratorRuntime
|
|
22
|
-
while (1) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return _context.stop();
|
|
54
|
-
}
|
|
20
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
21
|
+
while (1) switch (_context.prev = _context.next) {
|
|
22
|
+
case 0:
|
|
23
|
+
_context.next = 2;
|
|
24
|
+
return props.contextIdentifierProvider;
|
|
25
|
+
case 2:
|
|
26
|
+
contextIdentifier = _context.sent;
|
|
27
|
+
objectId = contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId;
|
|
28
|
+
if (createAnalyticsEvent) {
|
|
29
|
+
fireAnalyticsEvent(createAnalyticsEvent)({
|
|
30
|
+
payload: {
|
|
31
|
+
action: action,
|
|
32
|
+
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
33
|
+
attributes: {
|
|
34
|
+
duration: duration,
|
|
35
|
+
startTime: startTime,
|
|
36
|
+
objectId: objectId
|
|
37
|
+
},
|
|
38
|
+
eventType: EVENT_TYPE.OPERATIONAL
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
if ((_props$featureFlags = props.featureFlags) !== null && _props$featureFlags !== void 0 && _props$featureFlags.ufo) {
|
|
43
|
+
experienceStore = getExperienceStore();
|
|
44
|
+
experienceStore === null || experienceStore === void 0 ? void 0 : experienceStore.mark(EditorExperience.loadEditor, action, startTime + duration);
|
|
45
|
+
experienceStore === null || experienceStore === void 0 ? void 0 : experienceStore.addMetadata(EditorExperience.loadEditor, {
|
|
46
|
+
objectId: objectId
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
case 6:
|
|
50
|
+
case "end":
|
|
51
|
+
return _context.stop();
|
|
55
52
|
}
|
|
56
53
|
}, _callee);
|
|
57
54
|
}));
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
2
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
3
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
5
4
|
/**
|
|
6
5
|
*
|
|
@@ -30,56 +29,54 @@ export default function trackEditorActions(editorActions, performanceTracking, h
|
|
|
30
29
|
getValueTracked = _editorActions$_conte.getValueTracked;
|
|
31
30
|
if (!getValueTracked) {
|
|
32
31
|
var getValueWithTracking = /*#__PURE__*/function () {
|
|
33
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
32
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
34
33
|
var _performanceTracking$2, _performanceTracking$3, value, _performanceTracking$4, _performanceTracking$5, _performanceTracking$6;
|
|
35
|
-
return _regeneratorRuntime
|
|
36
|
-
while (1) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
return _context.stop();
|
|
82
|
-
}
|
|
34
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
35
|
+
while (1) switch (_context.prev = _context.next) {
|
|
36
|
+
case 0:
|
|
37
|
+
_context.prev = 0;
|
|
38
|
+
_context.next = 3;
|
|
39
|
+
return getValue();
|
|
40
|
+
case 3:
|
|
41
|
+
value = _context.sent;
|
|
42
|
+
if (samplingCounters.success === ((_performanceTracking$2 = performanceTracking === null || performanceTracking === void 0 ? void 0 : (_performanceTracking$3 = performanceTracking.contentRetrievalTracking) === null || _performanceTracking$3 === void 0 ? void 0 : _performanceTracking$3.successSamplingRate) !== null && _performanceTracking$2 !== void 0 ? _performanceTracking$2 : DEFAULT_SAMPLING_RATE)) {
|
|
43
|
+
handleAnalyticsEvent({
|
|
44
|
+
payload: {
|
|
45
|
+
action: ACTION.EDITOR_CONTENT_RETRIEVAL_PERFORMED,
|
|
46
|
+
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
47
|
+
attributes: {
|
|
48
|
+
success: true
|
|
49
|
+
},
|
|
50
|
+
eventType: EVENT_TYPE.OPERATIONAL
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
samplingCounters.success = 0;
|
|
54
|
+
}
|
|
55
|
+
samplingCounters.success++;
|
|
56
|
+
return _context.abrupt("return", value);
|
|
57
|
+
case 9:
|
|
58
|
+
_context.prev = 9;
|
|
59
|
+
_context.t0 = _context["catch"](0);
|
|
60
|
+
if (samplingCounters.failure === ((_performanceTracking$4 = performanceTracking === null || performanceTracking === void 0 ? void 0 : (_performanceTracking$5 = performanceTracking.contentRetrievalTracking) === null || _performanceTracking$5 === void 0 ? void 0 : _performanceTracking$5.failureSamplingRate) !== null && _performanceTracking$4 !== void 0 ? _performanceTracking$4 : DEFAULT_SAMPLING_RATE)) {
|
|
61
|
+
handleAnalyticsEvent({
|
|
62
|
+
payload: {
|
|
63
|
+
action: ACTION.EDITOR_CONTENT_RETRIEVAL_PERFORMED,
|
|
64
|
+
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
65
|
+
attributes: {
|
|
66
|
+
success: false,
|
|
67
|
+
errorInfo: _context.t0.toString(),
|
|
68
|
+
errorStack: performanceTracking !== null && performanceTracking !== void 0 && (_performanceTracking$6 = performanceTracking.contentRetrievalTracking) !== null && _performanceTracking$6 !== void 0 && _performanceTracking$6.reportErrorStack ? _context.t0.stack : undefined
|
|
69
|
+
},
|
|
70
|
+
eventType: EVENT_TYPE.OPERATIONAL
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
samplingCounters.failure = 0;
|
|
74
|
+
}
|
|
75
|
+
samplingCounters.failure++;
|
|
76
|
+
throw _context.t0;
|
|
77
|
+
case 14:
|
|
78
|
+
case "end":
|
|
79
|
+
return _context.stop();
|
|
83
80
|
}
|
|
84
81
|
}, _callee, null, [[0, 9]]);
|
|
85
82
|
}));
|
package/dist/esm/editor.js
CHANGED
|
@@ -39,27 +39,45 @@ import { shouldRecreatePreset } from './create-editor/preset-utils';
|
|
|
39
39
|
var Editor = /*#__PURE__*/function (_React$Component) {
|
|
40
40
|
_inherits(Editor, _React$Component);
|
|
41
41
|
var _super = _createSuper(Editor);
|
|
42
|
-
/**
|
|
43
|
-
* WARNING: Code should be shared between Editor + EditorNext
|
|
44
|
-
* If you are making changes that affect both, consider making them
|
|
45
|
-
* in editor-next/editor-internal.tsx or editor-next/editor-utils.ts
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
42
|
function Editor(props, context) {
|
|
49
43
|
var _props$performanceTra, _props$performanceTra2, _props$featureFlags;
|
|
50
44
|
var _this;
|
|
51
45
|
_classCallCheck(this, Editor);
|
|
52
46
|
_this = _super.call(this, props);
|
|
47
|
+
/**
|
|
48
|
+
* @private
|
|
49
|
+
* @deprecated - Do not override this at all, this is an antipattern.
|
|
50
|
+
* Please reach out to the Editor team if you were previously using this
|
|
51
|
+
* and need to find a workaround.
|
|
52
|
+
*/
|
|
53
53
|
_defineProperty(_assertThisInitialized(_this), "prepareExtensionProvider", prepareExtensionProvider(function () {
|
|
54
54
|
return _this.editorActions;
|
|
55
55
|
}));
|
|
56
|
+
/**
|
|
57
|
+
* @private
|
|
58
|
+
* @deprecated - Do not override this at all, this is an antipattern.
|
|
59
|
+
* Please reach out to the Editor team if you were previously using this
|
|
60
|
+
* and need to find a workaround.
|
|
61
|
+
*/
|
|
56
62
|
_defineProperty(_assertThisInitialized(_this), "prepareQuickInsertProvider", function (extensionProvider, quickInsert) {
|
|
57
63
|
return prepareQuickInsertProvider(_this.editorActions, extensionProvider, quickInsert, _this.createAnalyticsEvent);
|
|
58
64
|
});
|
|
65
|
+
/**
|
|
66
|
+
* @private
|
|
67
|
+
* @deprecated - Do not override this at all, this is an antipattern.
|
|
68
|
+
* Please reach out to the Editor team if you were previously using this
|
|
69
|
+
* and need to find a workaround.
|
|
70
|
+
*/
|
|
59
71
|
_defineProperty(_assertThisInitialized(_this), "handleSave", function (view) {
|
|
60
72
|
var _this$props$onSave, _this$props;
|
|
61
73
|
return (_this$props$onSave = (_this$props = _this.props).onSave) === null || _this$props$onSave === void 0 ? void 0 : _this$props$onSave.call(_this$props, view);
|
|
62
74
|
});
|
|
75
|
+
/**
|
|
76
|
+
* @private
|
|
77
|
+
* @deprecated - Do not override this at all, this is an antipattern.
|
|
78
|
+
* Please reach out to the Editor team if you were previously using this
|
|
79
|
+
* and need to find a workaround.
|
|
80
|
+
*/
|
|
63
81
|
_defineProperty(_assertThisInitialized(_this), "handleAnalyticsEvent", function (data) {
|
|
64
82
|
return fireAnalyticsEvent(_this.createAnalyticsEvent)(data);
|
|
65
83
|
});
|
|
@@ -191,20 +209,6 @@ var Editor = /*#__PURE__*/function (_React$Component) {
|
|
|
191
209
|
return _this3.handleAnalyticsEvent(value);
|
|
192
210
|
});
|
|
193
211
|
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* @private
|
|
197
|
-
* @deprecated - Do not override this at all, this is an antipattern.
|
|
198
|
-
* Please reach out to the Editor team if you were previously using this
|
|
199
|
-
* and need to find a workaround.
|
|
200
|
-
*/
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* @private
|
|
204
|
-
* @deprecated - Do not override this at all, this is an antipattern.
|
|
205
|
-
* Please reach out to the Editor team if you were previously using this
|
|
206
|
-
* and need to find a workaround.
|
|
207
|
-
*/
|
|
208
212
|
}, {
|
|
209
213
|
key: "onEditorCreated",
|
|
210
214
|
value:
|
|
@@ -238,20 +242,6 @@ var Editor = /*#__PURE__*/function (_React$Component) {
|
|
|
238
242
|
this.unregisterEditorFromActions();
|
|
239
243
|
(_this$props$onDestroy = (_this$props4 = this.props).onDestroy) === null || _this$props$onDestroy === void 0 ? void 0 : _this$props$onDestroy.call(_this$props4);
|
|
240
244
|
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* @private
|
|
244
|
-
* @deprecated - Do not override this at all, this is an antipattern.
|
|
245
|
-
* Please reach out to the Editor team if you were previously using this
|
|
246
|
-
* and need to find a workaround.
|
|
247
|
-
*/
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* @private
|
|
251
|
-
* @deprecated - Do not override this at all, this is an antipattern.
|
|
252
|
-
* Please reach out to the Editor team if you were previously using this
|
|
253
|
-
* and need to find a workaround.
|
|
254
|
-
*/
|
|
255
245
|
}, {
|
|
256
246
|
key: "registerEditorForActions",
|
|
257
247
|
value:
|
|
@@ -307,6 +297,11 @@ var Editor = /*#__PURE__*/function (_React$Component) {
|
|
|
307
297
|
}]);
|
|
308
298
|
return Editor;
|
|
309
299
|
}(React.Component);
|
|
300
|
+
/**
|
|
301
|
+
* WARNING: Code should be shared between Editor + EditorNext
|
|
302
|
+
* If you are making changes that affect both, consider making them
|
|
303
|
+
* in editor-next/editor-internal.tsx or editor-next/editor-utils.ts
|
|
304
|
+
*/
|
|
310
305
|
_defineProperty(Editor, "defaultProps", defaultProps);
|
|
311
306
|
_defineProperty(Editor, "contextTypes", {
|
|
312
307
|
editorActions: PropTypes.object
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
@@ -7,13 +8,13 @@
|
|
|
7
8
|
//Czech
|
|
8
9
|
export default {
|
|
9
10
|
'fabric.editor.addAltText': 'Alternativní text',
|
|
11
|
+
'fabric.editor.addImageBorder': 'Přidat ohraničení',
|
|
10
12
|
'fabric.editor.alignCenter': 'Zarovnat na střed',
|
|
11
13
|
'fabric.editor.alignLeft': 'Zarovnat vlevo',
|
|
12
14
|
'fabric.editor.alignRight': 'Zarovnat vpravo',
|
|
13
15
|
'fabric.editor.alignment': 'Zarovnání textu',
|
|
14
16
|
'fabric.editor.altText': 'Alternativní text',
|
|
15
17
|
'fabric.editor.alttext.validation': 'Vymažte z alternativního textu všechny zvláštní znaky.',
|
|
16
|
-
'fabric.editor.annotate': 'Opatřit poznámkami',
|
|
17
18
|
'fabric.editor.annotationToolbar': 'Panel nástrojů poznámek',
|
|
18
19
|
'fabric.editor.backLink': 'Zpět',
|
|
19
20
|
'fabric.editor.blockCardUnavailable': 'Vložený odkaz je uvnitř uzlu {node} a jeho zobrazení nelze změnit',
|
|
@@ -60,6 +61,7 @@ export default {
|
|
|
60
61
|
'fabric.editor.customPanel.description': 'Přidejte poznámku se smajlíkem a barevným pozadím.',
|
|
61
62
|
'fabric.editor.decisionPlaceholder': 'Přidat rozhodnutí...',
|
|
62
63
|
'fabric.editor.defaultAltText': 'Položka seznamu',
|
|
64
|
+
'fabric.editor.description': 'Popis',
|
|
63
65
|
'fabric.editor.displayBlock': 'Zobrazit jako kartu',
|
|
64
66
|
'fabric.editor.displayEmbed': 'Zobrazit jako vložený objekt',
|
|
65
67
|
'fabric.editor.displayInline': 'Zobrazit v řádku',
|
|
@@ -75,6 +77,7 @@ export default {
|
|
|
75
77
|
'fabric.editor.editStatusColor': 'Upravit barvu stavu',
|
|
76
78
|
'fabric.editor.editStatusText': 'Upravit stav',
|
|
77
79
|
'fabric.editor.editableContentLabel': 'Upravitelný obsah',
|
|
80
|
+
'fabric.editor.editorAssistiveLabel': 'Hlavní oblast obsahu. Začněte psát, abyste zadali text.',
|
|
78
81
|
'fabric.editor.editorHelp': 'Nápověda editoru.',
|
|
79
82
|
'fabric.editor.editors': 'Editoři',
|
|
80
83
|
'fabric.editor.elementBrowser.help': 'Nápověda',
|
|
@@ -99,18 +102,23 @@ export default {
|
|
|
99
102
|
'fabric.editor.error': 'Chyba',
|
|
100
103
|
'fabric.editor.errorPanel': 'Panel chyb',
|
|
101
104
|
'fabric.editor.errorPanel.description': 'Chyby zobrazit v barevném panelu',
|
|
102
|
-
'fabric.editor.extension.confirmDeleteLinkedModalMessage': '
|
|
103
|
-
'fabric.editor.extension.confirmDeleteLinkedModalOKButton': '
|
|
105
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Vymazání rozšíření {nodeName} způsobí, že všechny k němu připojené položky přestanou fungovat.',
|
|
106
|
+
'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Vymazat',
|
|
107
|
+
'fabric.editor.extension.deleteElementTitle': 'Vymazat prvek',
|
|
108
|
+
'fabric.editor.extension.sourceNoTitledName': 'tento prvek',
|
|
104
109
|
'fabric.editor.extensions.config-panel.save-indicator': 'Všechny změny jsou vždy automaticky ukládány',
|
|
105
110
|
'fabric.editor.find': 'Najít',
|
|
106
111
|
'fabric.editor.findNext': 'Najít další',
|
|
107
112
|
'fabric.editor.findPrevious': 'Najít předchozí',
|
|
108
113
|
'fabric.editor.findReplaceToolbarButton': 'Najít a nahradit',
|
|
109
114
|
'fabric.editor.floatingToolbar.confirmModalCancel': 'Zrušit',
|
|
115
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Vymazat také všechny připojené prvky',
|
|
110
116
|
'fabric.editor.floatingToolbar.confirmModalHeading': 'Jste si jistí?',
|
|
111
117
|
'fabric.editor.floatingToolbar.confirmModalOK': 'OK',
|
|
112
118
|
'fabric.editor.floatingToolbar.floatingToolbarAnnouncer': 'Ovládací prvky plovoucího panelu nástrojů byly otevřeny.',
|
|
113
119
|
'fabric.editor.floatingToolbar.floatingToolbarAriaLabel': 'Plovoucí panel nástrojů',
|
|
120
|
+
'fabric.editor.floatingToolbar.scrollLeft': 'Posunout doleva',
|
|
121
|
+
'fabric.editor.floatingToolbar.scrollRight': 'Posunout doprava',
|
|
114
122
|
'fabric.editor.heading1': 'Nadpis 1',
|
|
115
123
|
'fabric.editor.heading1Description': 'Použít pro nadpis nejvyšší úrovně',
|
|
116
124
|
'fabric.editor.heading2': 'Nadpis 2',
|
|
@@ -135,6 +143,12 @@ export default {
|
|
|
135
143
|
'fabric.editor.hyperlink.searchLinkAriaDescription': 'Níže se objeví návrhy na základě vámi napsaného textu v poli',
|
|
136
144
|
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {nebyly nalezeny žádné výsledky} one {{count,number} nalezený výsledek} few {{count,number} nalezené výsledky} many {{count,number} nalezeného výsledku} other {{count,number} nalezených výsledků}}',
|
|
137
145
|
'fabric.editor.hyperlinkToolbarPlaceholder': 'Vložit nebo vyhledat odkaz',
|
|
146
|
+
'fabric.editor.imageBorderBold': 'Tučné',
|
|
147
|
+
'fabric.editor.imageBorderColor': 'Barva',
|
|
148
|
+
'fabric.editor.imageBorderMedium': 'Střední',
|
|
149
|
+
'fabric.editor.imageBorderOptions': 'Možnosti ohraničení',
|
|
150
|
+
'fabric.editor.imageBorderSize': 'Velikost',
|
|
151
|
+
'fabric.editor.imageBorderSubtle': 'Útlé',
|
|
138
152
|
'fabric.editor.improvement': 'Vylepšení',
|
|
139
153
|
'fabric.editor.indent': 'Zvětšit odsazení',
|
|
140
154
|
'fabric.editor.info': 'Informace',
|
|
@@ -156,9 +170,12 @@ export default {
|
|
|
156
170
|
'fabric.editor.matchCase': 'Rozlišovat malá a velká písmena',
|
|
157
171
|
'fabric.editor.mediaAddLink': 'Přidat odkaz',
|
|
158
172
|
'fabric.editor.mediaGroupDeleteLabel': 'Odstranit',
|
|
173
|
+
'fabric.editor.mentionNode.label': 'Označený uživatel',
|
|
159
174
|
'fabric.editor.mentionsAddLabel': 'přidat-ikonu',
|
|
160
175
|
'fabric.editor.mentionsIconLabel': 'Zmínka',
|
|
161
176
|
'fabric.editor.moreFormatting': 'Další formátování',
|
|
177
|
+
'fabric.editor.navigate.toolbar.editor': 'Přejít na panel nástrojů editoru',
|
|
178
|
+
'fabric.editor.navigate.toolbar.floating': 'Přejít na plovoucí panel nástrojů',
|
|
162
179
|
'fabric.editor.noResultsFound': 'Žádné výsledky',
|
|
163
180
|
'fabric.editor.noSearchResults': 'Žádné výsledky vyhledávání',
|
|
164
181
|
'fabric.editor.normal': 'Standardní text',
|
|
@@ -179,6 +196,7 @@ export default {
|
|
|
179
196
|
'fabric.editor.placeholderTextPlaceholder': 'Přidat text placeholderu.',
|
|
180
197
|
'fabric.editor.quickInsert': 'Rychlé vložení',
|
|
181
198
|
'fabric.editor.redo': 'Znovu',
|
|
199
|
+
'fabric.editor.removeImageBorder': 'Odebrat ohraničení',
|
|
182
200
|
'fabric.editor.replace': 'Nahradit',
|
|
183
201
|
'fabric.editor.replaceAll': 'Nahradit vše',
|
|
184
202
|
'fabric.editor.replaceWith': 'Nahradit textem',
|
|
@@ -187,6 +205,7 @@ export default {
|
|
|
187
205
|
'fabric.editor.searchResults': '{itemsLength, plural, one {{itemsLength,number} výsledek vyhledávání k dispozici} few {{itemsLength,number} výsledky vyhledávání k dispozici} many {{itemsLength,number} výsledku vyhledávání k dispozici} other {{itemsLength,number} výsledků vyhledávání k dispozici}}',
|
|
188
206
|
'fabric.editor.selectLanguage': 'Vyberte programovací jazyk',
|
|
189
207
|
'fabric.editor.settingsLinks': 'Přejít do předvoleb odkazů',
|
|
208
|
+
'fabric.editor.shortcut': 'Textový zástupce',
|
|
190
209
|
'fabric.editor.single': 'Jeden sloupec',
|
|
191
210
|
'fabric.editor.statusPlaceholder': 'Nastavit stav',
|
|
192
211
|
'fabric.editor.story': 'Story',
|
|
@@ -208,9 +227,17 @@ export default {
|
|
|
208
227
|
'fabric.editor.threeColumns': 'Tři sloupce',
|
|
209
228
|
'fabric.editor.threeColumnsWithSidebars': 'Tři sloupce s postranními panely',
|
|
210
229
|
'fabric.editor.toolbarLabel': 'Panel nástrojů editoru',
|
|
211
|
-
'fabric.editor.toolbarMediaTitle': '
|
|
230
|
+
'fabric.editor.toolbarMediaTitle': 'Přidat obrázek, video nebo soubor',
|
|
212
231
|
'fabric.editor.twoColumns': 'Dva sloupce',
|
|
213
|
-
'fabric.editor.
|
|
232
|
+
'fabric.editor.typeAhead.popupLabel': 'Výsledky našeptávače',
|
|
233
|
+
'fabric.editor.typeAhead.quickInsertInputLabel': 'Když začnete psát, budou se vyhledávat/filtrovat možnosti zkratek.',
|
|
234
|
+
'fabric.editor.typeAhead.quickInsertPopupLabel': 'Zkratky pro vkládání a formátování',
|
|
235
|
+
'fabric.editor.typeahead.emojiInputLabel': 'Když začnete psát, budou se vyhledávat/filtrovat možnosti smajlíků.',
|
|
236
|
+
'fabric.editor.typeahead.emojiListItemLabel': 'Smajlík {name} Textová zkratka {shortcut}',
|
|
237
|
+
'fabric.editor.typeahead.emojiPopupLabel': 'Zkratky pro smajlíky',
|
|
238
|
+
'fabric.editor.typeahead.mentionInputLabel': 'Když začnete psát, budou se vyhledávat uživatelé k označení.',
|
|
239
|
+
'fabric.editor.typeahead.mentionPopupLabel': 'Uživatelé, které můžete označit',
|
|
240
|
+
'fabric.editor.typeahead.metionListItemLabel': 'Uživatel {name} @{shortName}',
|
|
214
241
|
'fabric.editor.unableToOpenLink': 'Tento odkaz nelze otevřít',
|
|
215
242
|
'fabric.editor.underline': 'Podtržení',
|
|
216
243
|
'fabric.editor.undo': 'Vrátit',
|
|
@@ -224,5 +251,6 @@ export default {
|
|
|
224
251
|
'fabric.editor.warningPanel': 'Panel upozornění',
|
|
225
252
|
'fabric.editor.warningPanel.description': 'Přidat poznámku s varováním do barevného panelu',
|
|
226
253
|
'fabric.editor.wrapLeft': 'Sbalit vpravo',
|
|
227
|
-
'fabric.editor.wrapRight': 'Sbalit vlevo'
|
|
254
|
+
'fabric.editor.wrapRight': 'Sbalit vlevo',
|
|
255
|
+
'fabric.emoji.label': 'Smajlík'
|
|
228
256
|
};
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
@@ -7,13 +8,13 @@
|
|
|
7
8
|
//Danish (Denmark)
|
|
8
9
|
export default {
|
|
9
10
|
'fabric.editor.addAltText': 'Alternativ tekst',
|
|
11
|
+
'fabric.editor.addImageBorder': 'Tilføj kant',
|
|
10
12
|
'fabric.editor.alignCenter': 'Centreret',
|
|
11
13
|
'fabric.editor.alignLeft': 'Venstrejustér',
|
|
12
14
|
'fabric.editor.alignRight': 'Højrejusteret',
|
|
13
15
|
'fabric.editor.alignment': 'Tekstjustering',
|
|
14
16
|
'fabric.editor.altText': 'Al tekst',
|
|
15
17
|
'fabric.editor.alttext.validation': 'Fjern alle specialtegn i ALT-tekst.',
|
|
16
|
-
'fabric.editor.annotate': 'Annotér',
|
|
17
18
|
'fabric.editor.annotationToolbar': 'Værktøjslinje til annotationer',
|
|
18
19
|
'fabric.editor.backLink': 'Gå tilbage',
|
|
19
20
|
'fabric.editor.blockCardUnavailable': 'Det indbyggede link er inden i {node}, og dets visning kan ikke ændres',
|
|
@@ -60,6 +61,7 @@ export default {
|
|
|
60
61
|
'fabric.editor.customPanel.description': 'Tilføj en note med en emoji og farvet baggrund',
|
|
61
62
|
'fabric.editor.decisionPlaceholder': 'Tilføj en beslutning ...',
|
|
62
63
|
'fabric.editor.defaultAltText': 'Listeelement',
|
|
64
|
+
'fabric.editor.description': 'Beskrivelse',
|
|
63
65
|
'fabric.editor.displayBlock': 'Vis som kort',
|
|
64
66
|
'fabric.editor.displayEmbed': 'Vis som indlejret',
|
|
65
67
|
'fabric.editor.displayInline': 'Vis indbygget',
|
|
@@ -75,6 +77,7 @@ export default {
|
|
|
75
77
|
'fabric.editor.editStatusColor': 'Rediger statusfarve',
|
|
76
78
|
'fabric.editor.editStatusText': 'Rediger status',
|
|
77
79
|
'fabric.editor.editableContentLabel': 'Redigerbart indhold',
|
|
80
|
+
'fabric.editor.editorAssistiveLabel': 'Område for hovedindhold. Begynd at taste for at skrive tekst.',
|
|
78
81
|
'fabric.editor.editorHelp': 'Hjælp til redigering',
|
|
79
82
|
'fabric.editor.editors': 'Redaktører',
|
|
80
83
|
'fabric.editor.elementBrowser.help': 'Hjælp',
|
|
@@ -99,17 +102,22 @@ export default {
|
|
|
99
102
|
'fabric.editor.error': 'Fejl',
|
|
100
103
|
'fabric.editor.errorPanel': 'Fejlpanel',
|
|
101
104
|
'fabric.editor.errorPanel.description': 'Vis fejl i et farvel panel',
|
|
102
|
-
'fabric.editor.extension.
|
|
105
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessage': 'Hvis du sletter {nodeName}, brydes forbindelsen til alt, der er forbundet til den.',
|
|
106
|
+
'fabric.editor.extension.confirmDeleteLinkedModalOKButton': 'Slet',
|
|
107
|
+
'fabric.editor.extension.deleteElementTitle': 'Slet element',
|
|
103
108
|
'fabric.editor.extensions.config-panel.save-indicator': 'Alle ændringer gemmes altid automatisk',
|
|
104
109
|
'fabric.editor.find': 'Find',
|
|
105
110
|
'fabric.editor.findNext': 'Find næste',
|
|
106
111
|
'fabric.editor.findPrevious': 'Find forrige',
|
|
107
112
|
'fabric.editor.findReplaceToolbarButton': 'Find og erstat',
|
|
108
113
|
'fabric.editor.floatingToolbar.confirmModalCancel': 'Annuller',
|
|
114
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Slet også forbundne elementer',
|
|
109
115
|
'fabric.editor.floatingToolbar.confirmModalHeading': 'Er du sikker?',
|
|
110
116
|
'fabric.editor.floatingToolbar.confirmModalOK': 'OK',
|
|
111
117
|
'fabric.editor.floatingToolbar.floatingToolbarAnnouncer': 'Flydende værktøjslinje er blevet åbnet',
|
|
112
118
|
'fabric.editor.floatingToolbar.floatingToolbarAriaLabel': 'Flydende værktøjslinje',
|
|
119
|
+
'fabric.editor.floatingToolbar.scrollLeft': 'Rul til venstre',
|
|
120
|
+
'fabric.editor.floatingToolbar.scrollRight': 'Rul til højre',
|
|
113
121
|
'fabric.editor.heading1': 'Overskrift 1',
|
|
114
122
|
'fabric.editor.heading1Description': 'Brug denne til overskrift på øverste niveau',
|
|
115
123
|
'fabric.editor.heading2': 'Overskrift 2',
|
|
@@ -134,6 +142,12 @@ export default {
|
|
|
134
142
|
'fabric.editor.hyperlink.searchLinkAriaDescription': 'Der vises forslag nedenfor, når du skriver i feltet',
|
|
135
143
|
'fabric.editor.hyperlink.searchLinkResults': '{count, plural, =0 {ingen resultater fundet} one {Der blev fundet {count,number} resultat} other {Der blev fundet {count,number} resultater}}',
|
|
136
144
|
'fabric.editor.hyperlinkToolbarPlaceholder': 'Indsæt eller søg efter link',
|
|
145
|
+
'fabric.editor.imageBorderBold': 'Fed',
|
|
146
|
+
'fabric.editor.imageBorderColor': 'Farve',
|
|
147
|
+
'fabric.editor.imageBorderMedium': 'Medium',
|
|
148
|
+
'fabric.editor.imageBorderOptions': 'Kantmuligheder',
|
|
149
|
+
'fabric.editor.imageBorderSize': 'Størrelse',
|
|
150
|
+
'fabric.editor.imageBorderSubtle': 'Diskret',
|
|
137
151
|
'fabric.editor.improvement': 'Forbedring',
|
|
138
152
|
'fabric.editor.indent': 'Ryk ind',
|
|
139
153
|
'fabric.editor.info': 'Info',
|
|
@@ -144,7 +158,7 @@ export default {
|
|
|
144
158
|
'fabric.editor.inputQueryAssistiveTxt': 'Når resultater med automatisk udfyldning er tilgængelige, skal du bruge pil op og pil ned til at gennemse og Enter til at vælge. Brugere af touchenheder kan trykke eller stryge.',
|
|
145
159
|
'fabric.editor.invalidDateError': 'Indtast en gyldig dato',
|
|
146
160
|
'fabric.editor.invalidLink': 'Indtast et gyldigt link.',
|
|
147
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Inviter
|
|
161
|
+
'fabric.editor.inviteItem.title': '{userRole, select, admin {Inviter teammedlem til {productName}} trusted {Inviter teammedlem til {productName}} other {Tilføj teammedlem til {productName}}}',
|
|
148
162
|
'fabric.editor.italic': 'Kursiv',
|
|
149
163
|
'fabric.editor.keyboardShortcuts': 'Tastaturgenveje',
|
|
150
164
|
'fabric.editor.leftSidebar': 'Venstre sidebjælke',
|
|
@@ -155,9 +169,12 @@ export default {
|
|
|
155
169
|
'fabric.editor.matchCase': 'Match store/små bogstaver',
|
|
156
170
|
'fabric.editor.mediaAddLink': 'Tilføj link',
|
|
157
171
|
'fabric.editor.mediaGroupDeleteLabel': 'Slet',
|
|
172
|
+
'fabric.editor.mentionNode.label': 'Tagget bruger',
|
|
158
173
|
'fabric.editor.mentionsAddLabel': 'ikon for tilføj',
|
|
159
174
|
'fabric.editor.mentionsIconLabel': 'Benævnelse',
|
|
160
175
|
'fabric.editor.moreFormatting': 'Mere formatering',
|
|
176
|
+
'fabric.editor.navigate.toolbar.editor': 'Naviger til værktøjslinje til redigeringsprogram',
|
|
177
|
+
'fabric.editor.navigate.toolbar.floating': 'Naviger til flydende værktøjslinje',
|
|
161
178
|
'fabric.editor.noResultsFound': 'Ingen resultater',
|
|
162
179
|
'fabric.editor.noSearchResults': 'Ingen søgeresultater',
|
|
163
180
|
'fabric.editor.normal': 'Normal tekst',
|
|
@@ -178,6 +195,7 @@ export default {
|
|
|
178
195
|
'fabric.editor.placeholderTextPlaceholder': 'Tilføj midlertidig tekst',
|
|
179
196
|
'fabric.editor.quickInsert': 'Hurtig indsætning',
|
|
180
197
|
'fabric.editor.redo': 'Gentag',
|
|
198
|
+
'fabric.editor.removeImageBorder': 'Fjern kant',
|
|
181
199
|
'fabric.editor.replace': 'Erstat',
|
|
182
200
|
'fabric.editor.replaceAll': 'Erstat alle',
|
|
183
201
|
'fabric.editor.replaceWith': 'Erstat med',
|
|
@@ -186,6 +204,7 @@ export default {
|
|
|
186
204
|
'fabric.editor.searchResults': '{itemsLength, plural, one {{itemsLength,number} tilgængeligt søgeresultat} other {{itemsLength,number} tilgængelige søgeresultater}}',
|
|
187
205
|
'fabric.editor.selectLanguage': 'Vælg sprog',
|
|
188
206
|
'fabric.editor.settingsLinks': 'Gå til Indstillinger for links',
|
|
207
|
+
'fabric.editor.shortcut': 'Genvej til tekst',
|
|
189
208
|
'fabric.editor.single': 'Enkelt kolonne',
|
|
190
209
|
'fabric.editor.statusPlaceholder': 'Angiv en status',
|
|
191
210
|
'fabric.editor.story': 'Historie',
|
|
@@ -207,9 +226,17 @@ export default {
|
|
|
207
226
|
'fabric.editor.threeColumns': 'Tre kolonner',
|
|
208
227
|
'fabric.editor.threeColumnsWithSidebars': 'Tre kolonner med sidebjælker',
|
|
209
228
|
'fabric.editor.toolbarLabel': 'Værktøjslinje til redigeringsprogram',
|
|
210
|
-
'fabric.editor.toolbarMediaTitle': '
|
|
229
|
+
'fabric.editor.toolbarMediaTitle': 'Tilføj billede, video eller fil',
|
|
211
230
|
'fabric.editor.twoColumns': 'To kolonner',
|
|
212
|
-
'fabric.editor.
|
|
231
|
+
'fabric.editor.typeAhead.popupLabel': 'Resultater for automatisk fuldførelse',
|
|
232
|
+
'fabric.editor.typeAhead.quickInsertInputLabel': 'Begynd at skrive for at søge efter eller filtrere genvejsmuligheder',
|
|
233
|
+
'fabric.editor.typeAhead.quickInsertPopupLabel': 'Genveje til indsættelser og formatering',
|
|
234
|
+
'fabric.editor.typeahead.emojiInputLabel': 'Begynd at skrive for at søge efter eller filtrere emojimuligheder',
|
|
235
|
+
'fabric.editor.typeahead.emojiListItemLabel': 'Tekstgenvej {shortcut} til emojien {name}',
|
|
236
|
+
'fabric.editor.typeahead.emojiPopupLabel': 'Emojigenveje',
|
|
237
|
+
'fabric.editor.typeahead.mentionInputLabel': 'Begynd at indtaste for at søge efter brugere, du vil tagge',
|
|
238
|
+
'fabric.editor.typeahead.mentionPopupLabel': 'Brugere, du kan tagge',
|
|
239
|
+
'fabric.editor.typeahead.metionListItemLabel': 'Brugeren {name} @{shortName}',
|
|
213
240
|
'fabric.editor.unableToOpenLink': 'Kan ikke åbne dette link',
|
|
214
241
|
'fabric.editor.underline': 'Understreget',
|
|
215
242
|
'fabric.editor.undo': 'Fortryd',
|
|
@@ -223,5 +250,6 @@ export default {
|
|
|
223
250
|
'fabric.editor.warningPanel': 'Advarselspanel',
|
|
224
251
|
'fabric.editor.warningPanel.description': 'Tilføj en advarselsnote i et farvet panel',
|
|
225
252
|
'fabric.editor.wrapLeft': 'Skub til venstre',
|
|
226
|
-
'fabric.editor.wrapRight': 'Skub til højre'
|
|
253
|
+
'fabric.editor.wrapRight': 'Skub til højre',
|
|
254
|
+
'fabric.emoji.label': 'Emoji'
|
|
227
255
|
};
|