@atlaskit/editor-presets 0.1.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 +8 -0
- package/LICENSE.md +11 -0
- package/README.md +101 -0
- package/dist/cjs/confluence-full-page-base/index.js +320 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +31 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +19 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/basePluginOptions.js +19 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +28 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +19 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +13 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/cardPluginOptions.js +48 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +15 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +27 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +13 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +22 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/datePluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +13 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/expandPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +18 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +47 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/gridPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +18 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +20 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/loomPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +18 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +62 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +19 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +10 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/panelPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/pastePluginOptions.js +30 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +66 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +75 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +21 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +10 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +15 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +17 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/statusPluginOptions.js +15 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +40 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/tablePluginOptions.js +52 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +20 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +15 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +12 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +17 -0
- package/dist/cjs/confluence-full-page-base/types.js +5 -0
- package/dist/cjs/index.js +2 -0
- package/dist/es2019/confluence-full-page-base/index.js +316 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +3 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +26 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +14 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/basePluginOptions.js +12 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +23 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +10 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +8 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/cardPluginOptions.js +43 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +6 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +22 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +8 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +17 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/datePluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +8 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/expandPluginOptions.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +13 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +38 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/gridPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +12 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +13 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +15 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +9 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/loomPluginOptions.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +57 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +14 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/panelPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/pastePluginOptions.js +25 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +59 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +67 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +3 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +14 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +10 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +9 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +11 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +12 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/statusPluginOptions.js +6 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +3 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +37 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/tablePluginOptions.js +45 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +15 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +3 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +6 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +7 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +9 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +5 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +12 -0
- package/dist/es2019/confluence-full-page-base/types.js +1 -0
- package/dist/es2019/index.js +1 -0
- package/dist/esm/confluence-full-page-base/index.js +314 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +5 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +25 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +13 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/basePluginOptions.js +13 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +22 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +12 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/cardPluginOptions.js +42 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +9 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +21 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +16 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/datePluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/expandPluginOptions.js +10 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +12 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +40 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +9 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/gridPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +11 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +12 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +14 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +10 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/loomPluginOptions.js +10 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +11 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +56 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +13 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +4 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/panelPluginOptions.js +9 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/pastePluginOptions.js +24 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +59 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +69 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +5 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +14 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +4 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +9 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +10 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +11 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/statusPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +5 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +34 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/tablePluginOptions.js +46 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +14 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +5 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +6 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +8 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +7 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +11 -0
- package/dist/esm/confluence-full-page-base/types.js +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/types/confluence-full-page-base/index.d.ts +16 -0
- package/dist/types/confluence-full-page-base/pluginOptions/analyticsPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/annotationPluginOptions.d.ts +23 -0
- package/dist/types/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/basePluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.d.ts +24 -0
- package/dist/types/confluence-full-page-base/pluginOptions/blockTypePluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/breakoutPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/cardPluginOptions.d.ts +34 -0
- package/dist/types/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/collabEditPluginOptions.d.ts +13 -0
- package/dist/types/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/datePluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/emojiPluginOptions.d.ts +11 -0
- package/dist/types/confluence-full-page-base/pluginOptions/expandPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/extensionPluginOptions.d.ts +15 -0
- package/dist/types/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/findReplacePluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/gridPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.d.ts +13 -0
- package/dist/types/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/layoutPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/limitedModePluginOptions.d.ts +15 -0
- package/dist/types/confluence-full-page-base/pluginOptions/loomPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.d.ts +7 -0
- package/dist/types/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +19 -0
- package/dist/types/confluence-full-page-base/pluginOptions/mentionsPluginOptions.d.ts +15 -0
- package/dist/types/confluence-full-page-base/pluginOptions/metricsPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/panelPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/pastePluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.d.ts +57 -0
- package/dist/types/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.d.ts +15 -0
- package/dist/types/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/selectionPluginOptions.d.ts +8 -0
- package/dist/types/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.d.ts +13 -0
- package/dist/types/confluence-full-page-base/pluginOptions/showDiffPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/statusPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.d.ts +44 -0
- package/dist/types/confluence-full-page-base/pluginOptions/tablePluginOptions.d.ts +10 -0
- package/dist/types/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.d.ts +14 -0
- package/dist/types/confluence-full-page-base/pluginOptions/textColorPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/toolbarPluginOptions.d.ts +9 -0
- package/dist/types/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.d.ts +6 -0
- package/dist/types/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.d.ts +12 -0
- package/dist/types/confluence-full-page-base/types.d.ts +447 -0
- package/dist/types/index.d.ts +0 -0
- package/dist/types-ts4.5/confluence-full-page-base/index.d.ts +16 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/analyticsPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/annotationPluginOptions.d.ts +23 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/basePluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.d.ts +24 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/blockTypePluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/breakoutPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/cardPluginOptions.d.ts +34 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/collabEditPluginOptions.d.ts +13 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/datePluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/emojiPluginOptions.d.ts +11 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/expandPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/extensionPluginOptions.d.ts +15 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/findReplacePluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/gridPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.d.ts +13 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/layoutPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/limitedModePluginOptions.d.ts +15 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/loomPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.d.ts +7 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +19 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mentionsPluginOptions.d.ts +15 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/metricsPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/panelPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/pastePluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.d.ts +57 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.d.ts +15 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionPluginOptions.d.ts +8 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.d.ts +13 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/showDiffPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/statusPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.d.ts +44 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/tablePluginOptions.d.ts +10 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.d.ts +14 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/textColorPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/toolbarPluginOptions.d.ts +9 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.d.ts +6 -0
- package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.d.ts +12 -0
- package/dist/types-ts4.5/confluence-full-page-base/types.d.ts +453 -0
- package/dist/types-ts4.5/index.d.ts +0 -0
- package/full-page/package.json +15 -0
- package/full-page/types/package.json +15 -0
- package/package.json +199 -0
- package/tsconfig.json +8 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.i18n = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
9
|
+
|
|
10
|
+
var i18n = exports.i18n = (0, _reactIntlNext.defineMessages)({
|
|
11
|
+
easyMentionsPlaceholder: {
|
|
12
|
+
id: 'editor-presets-confluence.placeholder.easy-mentions-placeholder',
|
|
13
|
+
defaultMessage: 'Type / for all elements or @ to mention someone.',
|
|
14
|
+
description: 'The placeholder for the editor to help discover the slash and mention commands'
|
|
15
|
+
},
|
|
16
|
+
aiPlaceholder: {
|
|
17
|
+
id: 'editor-presets-confluence.placeholder.ai-placeholder',
|
|
18
|
+
defaultMessage: "Type /ai for Atlassian Intelligence, / to add elements, or @ to mention someone (we'll let them know).",
|
|
19
|
+
description: 'The placeholder for the editor to help discover our text generative AI, Atlassian Intelligence.'
|
|
20
|
+
},
|
|
21
|
+
defaultPlaceholder: {
|
|
22
|
+
id: 'editor-presets-confluence.placeholder.default-placeholder',
|
|
23
|
+
defaultMessage: 'Type / to insert elements',
|
|
24
|
+
description: 'The placeholder shown in empty document to help discover slash command'
|
|
25
|
+
},
|
|
26
|
+
editorEmptyDocumentPlaceholderAI: {
|
|
27
|
+
id: 'editor-presets-confluence.placeholder.default-placeholder-ai',
|
|
28
|
+
defaultMessage: "Use {key}+' to ask AI, or type / to insert elements",
|
|
29
|
+
description: 'The placeholder shown in empty document to help discover ai and slash command'
|
|
30
|
+
},
|
|
31
|
+
editorEmptyDocumentSpaceShortcutPlaceholder: {
|
|
32
|
+
id: 'editor-presets-confluence.placeholder.space-shortcut-placeholder',
|
|
33
|
+
defaultMessage: 'Press space to Ask Rovo or / to insert elements',
|
|
34
|
+
description: 'The placeholder shown in empty document to help discover space shortcut to trigger Rovo, and slash shortcut to insert elements'
|
|
35
|
+
},
|
|
36
|
+
editorEmptyDocumentSpaceShortcutPlaceholderADFPrefix: {
|
|
37
|
+
id: 'editor-presets-confluence.placeholder.space-shortcut-adf-prefix',
|
|
38
|
+
defaultMessage: 'Press',
|
|
39
|
+
description: 'Text before keyboard shortcut in space shortcut ADF placeholder'
|
|
40
|
+
},
|
|
41
|
+
editorEmptyDocumentSpaceShortcutPlaceholderADFSpaceShortcut: {
|
|
42
|
+
id: 'editor-presets-confluence.placeholder.space-shortcut-adf-space-key',
|
|
43
|
+
defaultMessage: 'space',
|
|
44
|
+
description: 'Space key shortcut for triggering Rovo in ADF placeholder'
|
|
45
|
+
},
|
|
46
|
+
editorEmptyDocumentSpaceShortcutPlaceholderADFMiddle: {
|
|
47
|
+
id: 'editor-presets-confluence.placeholder.space-shortcut-adf-middle',
|
|
48
|
+
defaultMessage: 'to Ask Rovo or',
|
|
49
|
+
description: 'Text between space and slash shortcuts in ADF placeholder'
|
|
50
|
+
},
|
|
51
|
+
editorEmptyDocumentSpaceShortcutPlaceholderADFSlashShortcut: {
|
|
52
|
+
id: 'editor-presets-confluence.placeholder.space-shortcut-adf-slash-key',
|
|
53
|
+
defaultMessage: '/',
|
|
54
|
+
description: 'Slash key shortcut for inserting elements in space shortcut ADF placeholder'
|
|
55
|
+
},
|
|
56
|
+
editorEmptyDocumentSpaceShortcutPlaceholderADFSuffix: {
|
|
57
|
+
id: 'editor-presets-confluence.placeholder.space-shortcut-adf-suffix',
|
|
58
|
+
defaultMessage: 'to insert elements',
|
|
59
|
+
description: 'Text after slash shortcut in space shortcut ADF placeholder'
|
|
60
|
+
},
|
|
61
|
+
placeholderADF: {
|
|
62
|
+
id: 'editor-presets-confluence.placeholderADF',
|
|
63
|
+
defaultMessage: 'Press <code>space</code> to Ask Rovo or <code>/</code> to insert elements',
|
|
64
|
+
description: 'The ADF placeholder for the editor which contains formatting.'
|
|
65
|
+
}
|
|
66
|
+
});
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.placeholderPluginOptions = placeholderPluginOptions;
|
|
7
|
+
var _builders = require("@atlaskit/adf-utils/builders");
|
|
8
|
+
var _createAdfFromHtml = require("@atlaskit/editor-common/utils/create-adf-from-html");
|
|
9
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
10
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
11
|
+
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
12
|
+
var _i18n = require("./i18n");
|
|
13
|
+
var createSpaceShortcutPlaceholderADF = function createSpaceShortcutPlaceholderADF(_ref) {
|
|
14
|
+
var formatMessage = _ref.formatMessage;
|
|
15
|
+
return {
|
|
16
|
+
version: 1,
|
|
17
|
+
type: 'doc',
|
|
18
|
+
content: [{
|
|
19
|
+
type: 'paragraph',
|
|
20
|
+
content: [(0, _builders.text)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFPrefix)), (0, _builders.text)(' '), (0, _builders.code)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFSpaceShortcut)), (0, _builders.text)(' '), (0, _builders.text)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFMiddle)), (0, _builders.text)(' '), (0, _builders.code)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFSlashShortcut)), (0, _builders.text)(' '), (0, _builders.text)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFSuffix))]
|
|
21
|
+
}]
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
function placeholderPluginOptions(_ref2) {
|
|
25
|
+
var _options$enableLoadin;
|
|
26
|
+
var intl = _ref2.intl,
|
|
27
|
+
options = _ref2.options;
|
|
28
|
+
var shouldShowSpaceShortcut = options.isAIEnabled && (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming');
|
|
29
|
+
var placeholder = function () {
|
|
30
|
+
// SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx `const placeholderText = `
|
|
31
|
+
if (options.viewMode === 'view') {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
// END SECTION
|
|
35
|
+
|
|
36
|
+
// We disable the placeholder here becuase we want to use the new ADF placeholder, see below.
|
|
37
|
+
if (shouldShowSpaceShortcut) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx `_getPlaceholderText()`
|
|
42
|
+
if (!options.isAIEnabled && (0, _experiments.editorExperiment)('platform_editor_ai_quickstart_command', true)) {
|
|
43
|
+
return intl.formatMessage(_i18n.i18n.editorEmptyDocumentPlaceholderAI);
|
|
44
|
+
}
|
|
45
|
+
if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) {
|
|
46
|
+
return intl.formatMessage(_i18n.i18n.defaultPlaceholder);
|
|
47
|
+
}
|
|
48
|
+
if (!options.isAIEnabled) {
|
|
49
|
+
return intl.formatMessage(_i18n.i18n.aiPlaceholder);
|
|
50
|
+
}
|
|
51
|
+
return intl.formatMessage(_i18n.i18n.easyMentionsPlaceholder);
|
|
52
|
+
// END SECTION
|
|
53
|
+
}();
|
|
54
|
+
var placeholderADF = function () {
|
|
55
|
+
if (options.viewMode === 'view') {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (shouldShowSpaceShortcut && (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_space_shortcut')) {
|
|
59
|
+
return (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_adf_placeholder') ? (0, _createAdfFromHtml.createADFFromHTML)(intl.formatMessage(_i18n.i18n.placeholderADF, {
|
|
60
|
+
code: function code(parts) {
|
|
61
|
+
return "<code>".concat(parts, "</code>");
|
|
62
|
+
}
|
|
63
|
+
})) : createSpaceShortcutPlaceholderADF(intl);
|
|
64
|
+
}
|
|
65
|
+
return undefined;
|
|
66
|
+
}();
|
|
67
|
+
return {
|
|
68
|
+
placeholder: placeholder,
|
|
69
|
+
placeholderADF: placeholderADF,
|
|
70
|
+
isPlaceholderHidden: options.isPlaceholderHidden,
|
|
71
|
+
withEmptyParagraph: (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming'),
|
|
72
|
+
isRovoLLMEnabled: options.isRovoLLMEnabled,
|
|
73
|
+
enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : (0, _expValEquals.expValEquals)('confluence_load_editor_title_on_transition', 'contentPlaceholder', true)
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.placeholderTextPluginOptions = placeholderTextPluginOptions;
|
|
8
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
9
|
+
function placeholderTextPluginOptions(_ref) {
|
|
10
|
+
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.primaryToolbarPluginOptions = primaryToolbarPluginOptions;
|
|
7
|
+
function primaryToolbarPluginOptions(_ref) {
|
|
8
|
+
var options = _ref.options;
|
|
9
|
+
return {
|
|
10
|
+
contextualFormattingEnabled: options.contextualFormattingEnabled
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.quickInsertPluginOptions = quickInsertPluginOptions;
|
|
8
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
9
|
+
function quickInsertPluginOptions(_ref) {
|
|
10
|
+
var options = _ref.options;
|
|
11
|
+
return {
|
|
12
|
+
enableElementBrowser: true,
|
|
13
|
+
elementBrowserHelpUrl: '',
|
|
14
|
+
// Value never set in full-page editor.
|
|
15
|
+
disableDefaultItems: false,
|
|
16
|
+
headless: false,
|
|
17
|
+
emptyStateHandler: options === null || options === void 0 ? void 0 : options.emptyStateHandler,
|
|
18
|
+
prioritySortingFn: (0, _typeof2.default)(options.quickInsert) === 'object' ? options.quickInsert.prioritySortingFn : undefined,
|
|
19
|
+
onInsert: (0, _typeof2.default)(options.quickInsert) === 'object' ? options.quickInsert.onInsert : undefined
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.selectionExtensionPluginOptions = selectionExtensionPluginOptions;
|
|
7
|
+
function selectionExtensionPluginOptions(_ref) {
|
|
8
|
+
var options = _ref.options;
|
|
9
|
+
return options;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.selectionMarkerPluginOptions = selectionMarkerPluginOptions;
|
|
7
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
8
|
+
function selectionMarkerPluginOptions(_ref) {
|
|
9
|
+
var options = _ref.options;
|
|
10
|
+
// SECTION: From confluence/next/packages/editor-presets/src/full-page/createFullPageEditorPreset.ts `.add(['selectionMarkerPlugin', ...])`
|
|
11
|
+
return {
|
|
12
|
+
hideCursorOnInit: options.__livePage || (0, _expValEquals.expValEquals)('platform_editor_no_cursor_on_edit_page_init', 'isEnabled', true)
|
|
13
|
+
};
|
|
14
|
+
// END SECTION
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.selectionPluginOptions = selectionPluginOptions;
|
|
7
|
+
function selectionPluginOptions(_ref) {
|
|
8
|
+
var options = _ref.options;
|
|
9
|
+
return {
|
|
10
|
+
useLongPressSelection: false,
|
|
11
|
+
// @ts-ignore Temporary solution to check for Live Page editor.
|
|
12
|
+
__livePage: options.__livePage
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.selectionToolbarPluginOptions = selectionToolbarPluginOptions;
|
|
7
|
+
function selectionToolbarPluginOptions(_ref) {
|
|
8
|
+
var options = _ref.options,
|
|
9
|
+
providers = _ref.providers;
|
|
10
|
+
return {
|
|
11
|
+
preferenceToolbarAboveSelection: false,
|
|
12
|
+
contextualFormattingEnabled: options.contextualFormattingEnabled,
|
|
13
|
+
userPreferencesProvider: providers.userPreferencesProvider,
|
|
14
|
+
disablePin: options.disablePin
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.showDiffPluginOptions = showDiffPluginOptions;
|
|
7
|
+
function showDiffPluginOptions(_ref) {
|
|
8
|
+
var options = _ref.options;
|
|
9
|
+
if (!(options !== null && options !== void 0 && options.originalDoc) || !(options !== null && options !== void 0 && options.steps)) {
|
|
10
|
+
return undefined;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
originalDoc: options.originalDoc,
|
|
14
|
+
steps: options.steps,
|
|
15
|
+
colorScheme: options.colorScheme
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.statusPluginOptions = statusPluginOptions;
|
|
8
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
9
|
+
function statusPluginOptions(_ref) {
|
|
10
|
+
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
11
|
+
return {
|
|
12
|
+
menuDisabled: false,
|
|
13
|
+
allowZeroWidthSpaceAfter: true
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.submitEditorPluginOptions = submitEditorPluginOptions;
|
|
8
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
9
|
+
function submitEditorPluginOptions(_ref) {
|
|
10
|
+
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
11
|
+
return undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.syncedBlockPluginOptions = syncedBlockPluginOptions;
|
|
7
|
+
/**
|
|
8
|
+
* Options for configuring the synced block plugin.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Props for configuring the synced block plugin options.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Creates configuration options for the synced block plugin.
|
|
17
|
+
*
|
|
18
|
+
* This function transforms the input options into the format expected by the
|
|
19
|
+
* synced block plugin, including the renderer function, data provider, and
|
|
20
|
+
* renderer data providers.
|
|
21
|
+
*
|
|
22
|
+
* @param props - The configuration props containing synced block options.
|
|
23
|
+
* @param props.options.syncBlockDataProvider - The function that returns the React component to render synced block reference (nested renderer).
|
|
24
|
+
* @param props.options.syncBlockDataProvider - The data provider responsible for fetching, writing, and managing synced block data.
|
|
25
|
+
* @returns The plugin options configured for the synced block plugin.
|
|
26
|
+
*/
|
|
27
|
+
function syncedBlockPluginOptions(_ref) {
|
|
28
|
+
var options = _ref.options;
|
|
29
|
+
if (!options) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
var enableSourceCreation = options.enableSourceCreation,
|
|
33
|
+
syncedBlockRenderer = options.syncedBlockRenderer,
|
|
34
|
+
syncBlockDataProvider = options.syncBlockDataProvider;
|
|
35
|
+
return {
|
|
36
|
+
enableSourceCreation: enableSourceCreation,
|
|
37
|
+
syncedBlockRenderer: syncedBlockRenderer,
|
|
38
|
+
syncBlockDataProvider: syncBlockDataProvider
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.tablePluginOptions = tablePluginOptions;
|
|
7
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
8
|
+
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
9
|
+
function tablePluginOptions(_ref) {
|
|
10
|
+
var options = _ref.options;
|
|
11
|
+
return {
|
|
12
|
+
// value from next/packages/editor-features/src/hooks/useTableOptions.ts
|
|
13
|
+
tableOptions: {
|
|
14
|
+
allowTableResizing: true,
|
|
15
|
+
allowTableAlignment: true,
|
|
16
|
+
allowBackgroundColor: true,
|
|
17
|
+
allowColumnResizing: true,
|
|
18
|
+
allowColumnSorting: true,
|
|
19
|
+
allowDistributeColumns: true,
|
|
20
|
+
allowHeaderColumn: true,
|
|
21
|
+
allowHeaderRow: true,
|
|
22
|
+
allowMergeCells: true,
|
|
23
|
+
allowNumberColumn: true,
|
|
24
|
+
allowNestedTables: true,
|
|
25
|
+
allowControls: true,
|
|
26
|
+
stickyHeaders: true,
|
|
27
|
+
allowAddColumnWithCustomStep: false
|
|
28
|
+
},
|
|
29
|
+
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
30
|
+
dragAndDropEnabled: true,
|
|
31
|
+
// END SECTION
|
|
32
|
+
isTableScalingEnabled: true,
|
|
33
|
+
allowContextualMenu: true,
|
|
34
|
+
fullWidthEnabled: options.editorAppearance === 'full-width',
|
|
35
|
+
maxWidthEnabled: options.editorAppearance === 'max',
|
|
36
|
+
wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
|
|
37
|
+
getEditorFeatureFlags: function getEditorFeatureFlags() {
|
|
38
|
+
return {
|
|
39
|
+
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
40
|
+
tableWithFixedColumnWidthsOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
41
|
+
// END SECTION
|
|
42
|
+
|
|
43
|
+
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
44
|
+
tableSelector: (0, _experiments.editorExperiment)('platform_editor_tables_table_selector', true)
|
|
45
|
+
// END SECTION
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
isCommentEditor: false,
|
|
49
|
+
isChromelessEditor: false,
|
|
50
|
+
allowFixedColumnWidthOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? true : undefined
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.tasksAndDecisionsPluginOptions = tasksAndDecisionsPluginOptions;
|
|
7
|
+
function tasksAndDecisionsPluginOptions(_ref) {
|
|
8
|
+
var options = _ref.options,
|
|
9
|
+
providers = _ref.providers;
|
|
10
|
+
return {
|
|
11
|
+
allowNestedTasks: true,
|
|
12
|
+
consumeTabs: true,
|
|
13
|
+
useLongPressSelection: false,
|
|
14
|
+
taskDecisionProvider: providers.taskDecisionProvider,
|
|
15
|
+
hasEditPermission: options.hasEditPermission,
|
|
16
|
+
requestToEditContent: options.requestToEditContent,
|
|
17
|
+
hasRequestedEditPermission: options.hasRequestedEditPermission,
|
|
18
|
+
allowBlockTaskItem: true
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.textColorPluginOptions = textColorPluginOptions;
|
|
8
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
9
|
+
function textColorPluginOptions(_ref) {
|
|
10
|
+
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
11
|
+
return true;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.textFormattingPluginOptions = textFormattingPluginOptions;
|
|
8
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
9
|
+
function textFormattingPluginOptions(_ref) {
|
|
10
|
+
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
11
|
+
return {
|
|
12
|
+
responsiveToolbarMenu: true
|
|
13
|
+
};
|
|
14
|
+
}
|
package/dist/cjs/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.toolbarListsIndentationPluginOptions = toolbarListsIndentationPluginOptions;
|
|
8
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
9
|
+
function toolbarListsIndentationPluginOptions(_ref) {
|
|
10
|
+
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
11
|
+
return {
|
|
12
|
+
showIndentationButtons: true,
|
|
13
|
+
allowHeadingAndParagraphIndentation: true
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.toolbarPluginOptions = toolbarPluginOptions;
|
|
7
|
+
function toolbarPluginOptions(_ref) {
|
|
8
|
+
var options = _ref.options;
|
|
9
|
+
return {
|
|
10
|
+
contextualFormattingEnabled: options.contextualFormattingEnabled
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.trackChangesPluginOptions = trackChangesPluginOptions;
|
|
7
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
8
|
+
function trackChangesPluginOptions(_ref) {
|
|
9
|
+
var options = _ref.options;
|
|
10
|
+
return {
|
|
11
|
+
ButtonWrapper: options === null || options === void 0 ? void 0 : options.ButtonWrapper,
|
|
12
|
+
showOnToolbar: true
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.typeAheadPluginOptions = typeAheadPluginOptions;
|
|
8
|
+
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
9
|
+
function typeAheadPluginOptions(_ref) {
|
|
10
|
+
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
11
|
+
return {
|
|
12
|
+
isMobile: false
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.userPreferencesPluginOptions = userPreferencesPluginOptions;
|
|
7
|
+
function userPreferencesPluginOptions(_ref) {
|
|
8
|
+
var providers = _ref.providers,
|
|
9
|
+
options = _ref.options;
|
|
10
|
+
return {
|
|
11
|
+
userPreferencesProvider: providers.userPreferencesProviderNext,
|
|
12
|
+
// If initialToolbarDockingPosition is set, use it to override any saved user preference
|
|
13
|
+
initialUserPreferences: options.initialToolbarDockingPosition ? {
|
|
14
|
+
toolbarDockingPosition: options.initialToolbarDockingPosition
|
|
15
|
+
} : undefined
|
|
16
|
+
};
|
|
17
|
+
}
|