@atlaskit/editor-core 191.6.0 → 191.7.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 +21 -0
- package/afm-cc/tsconfig.json +1 -211
- package/dist/cjs/composable-editor/editor-internal.js +4 -0
- package/dist/cjs/composable-editor/editor.js +2 -2
- package/dist/cjs/composable-editor/hooks/useProviders.js +57 -0
- package/dist/cjs/labs-next.js +1 -1
- package/dist/cjs/presets/default.js +35 -32
- package/dist/cjs/presets/universal.js +70 -70
- package/dist/cjs/test-utils.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/cjs/ui/ContentStyles/expand.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +5 -5
- package/dist/cjs/ui/ContentStyles/layout.js +2 -2
- package/dist/cjs/ui/ToolbarFeedback/index.js +6 -7
- package/dist/cjs/ui/WithHelpTrigger/index.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +4 -0
- package/dist/es2019/composable-editor/editor.js +1 -1
- package/dist/es2019/composable-editor/hooks/useProviders.js +28 -0
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/labs-next.js +1 -1
- package/dist/es2019/presets/default.js +32 -29
- package/dist/es2019/presets/universal.js +45 -45
- package/dist/es2019/test-utils.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/es2019/ui/ContentStyles/expand.js +2 -2
- package/dist/es2019/ui/ContentStyles/index.js +5 -5
- package/dist/es2019/ui/ContentStyles/layout.js +2 -2
- package/dist/es2019/ui/ToolbarFeedback/index.js +2 -3
- package/dist/es2019/ui/WithHelpTrigger/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +4 -0
- package/dist/esm/composable-editor/editor.js +1 -1
- package/dist/esm/composable-editor/hooks/useProviders.js +50 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/labs-next.js +1 -1
- package/dist/esm/presets/default.js +32 -29
- package/dist/esm/presets/universal.js +45 -45
- package/dist/esm/test-utils.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/esm/ui/ContentStyles/expand.js +2 -2
- package/dist/esm/ui/ContentStyles/index.js +5 -5
- package/dist/esm/ui/ContentStyles/layout.js +2 -2
- package/dist/esm/ui/ToolbarFeedback/index.js +6 -7
- package/dist/esm/ui/WithHelpTrigger/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/hooks/useProviders.d.ts +14 -0
- package/dist/types/create-editor/create-plugins-list.d.ts +3 -4
- package/dist/types/create-editor/create-preset.d.ts +235 -63
- package/dist/types/index.d.ts +4 -4
- package/dist/types/labs-next.d.ts +1 -1
- package/dist/types/presets/default.d.ts +908 -758
- package/dist/types/presets/universal.d.ts +433 -262
- package/dist/types/presets/useUniversalPreset.d.ts +235 -63
- package/dist/types/types/editor-props.d.ts +12 -12
- package/dist/types/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types/utils/action.d.ts +2 -2
- package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +14 -0
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +3 -4
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +255 -56
- package/dist/types-ts4.5/index.d.ts +4 -4
- package/dist/types-ts4.5/labs-next.d.ts +1 -1
- package/dist/types-ts4.5/presets/default.d.ts +930 -756
- package/dist/types-ts4.5/presets/universal.d.ts +453 -255
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +255 -56
- package/dist/types-ts4.5/types/editor-props.d.ts +12 -12
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/action.d.ts +2 -2
- package/docs/0-intro.tsx +5 -5
- package/package.json +17 -150
- package/tsconfig.json +196 -166
- package/dist/cjs/presets/types.js +0 -5
- package/dist/es2019/presets/types.js +0 -1
- package/dist/esm/presets/types.js +0 -1
- package/dist/types/presets/types.d.ts +0 -6
- package/dist/types-ts4.5/presets/types.d.ts +0 -6
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
3
|
+
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
3
4
|
import type { SelectionPluginOptions } from '@atlaskit/editor-common/selection';
|
|
4
|
-
import type { EditorAppearance, HyperlinkPluginOptions, QuickInsertPluginOptions, TextFormattingOptions } from '@atlaskit/editor-common/types';
|
|
5
|
-
import type { AnnotationProviders } from '@atlaskit/editor-
|
|
6
|
-
import type { BasePluginOptions } from '@atlaskit/editor-
|
|
7
|
-
import type { BlockTypePluginOptions } from '@atlaskit/editor-
|
|
8
|
-
import type { CodeBlockOptions } from '@atlaskit/editor-
|
|
9
|
-
import type { PastePluginOptions } from '@atlaskit/editor-
|
|
10
|
-
import type { PlaceholderPluginOptions } from '@atlaskit/editor-
|
|
11
|
-
import type { TypeAheadPluginOptions } from '@atlaskit/editor-
|
|
12
|
-
import type {
|
|
13
|
-
import type { EditorPresetProps } from './types';
|
|
5
|
+
import type { EditorAppearance, FeatureFlags, HyperlinkPluginOptions, PerformanceTracking, QuickInsertPluginOptions, TextFormattingOptions } from '@atlaskit/editor-common/types';
|
|
6
|
+
import type { AnnotationProviders } from '@atlaskit/editor-plugins/annotation';
|
|
7
|
+
import type { BasePluginOptions } from '@atlaskit/editor-plugins/base';
|
|
8
|
+
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugins/block-type';
|
|
9
|
+
import type { CodeBlockOptions } from '@atlaskit/editor-plugins/code-block';
|
|
10
|
+
import type { PastePluginOptions } from '@atlaskit/editor-plugins/paste';
|
|
11
|
+
import type { PlaceholderPluginOptions } from '@atlaskit/editor-plugins/placeholder';
|
|
12
|
+
import type { TypeAheadPluginOptions } from '@atlaskit/editor-plugins/type-ahead';
|
|
13
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
14
14
|
export type DefaultPresetPluginOptions = {
|
|
15
15
|
paste: PastePluginOptions;
|
|
16
16
|
base?: BasePluginOptions;
|
|
17
17
|
blockType?: BlockTypePluginOptions;
|
|
18
18
|
placeholder?: PlaceholderPluginOptions;
|
|
19
19
|
textFormatting?: TextFormattingOptions;
|
|
20
|
-
submitEditor?:
|
|
20
|
+
submitEditor?: (editorView: EditorView) => void;
|
|
21
21
|
annotationProviders?: AnnotationProviders;
|
|
22
22
|
quickInsert?: QuickInsertPluginOptions;
|
|
23
23
|
codeBlock?: CodeBlockOptions;
|
|
@@ -26,15 +26,17 @@ export type DefaultPresetPluginOptions = {
|
|
|
26
26
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
27
27
|
typeAhead?: TypeAheadPluginOptions;
|
|
28
28
|
allowAnalyticsGASV3?: boolean;
|
|
29
|
-
performanceTracking?:
|
|
29
|
+
performanceTracking?: PerformanceTracking;
|
|
30
30
|
appearance?: EditorAppearance | undefined;
|
|
31
31
|
allowUndoRedoButtons?: boolean;
|
|
32
|
+
featureFlags?: FeatureFlags;
|
|
33
|
+
contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
|
|
32
34
|
};
|
|
33
35
|
/**
|
|
34
36
|
* Note: The order that presets are added determines
|
|
35
37
|
* their placement in the editor toolbar
|
|
36
38
|
*/
|
|
37
|
-
export declare function createDefaultPreset(options:
|
|
39
|
+
export declare function createDefaultPreset(options: DefaultPresetPluginOptions): EditorPresetBuilder<[
|
|
38
40
|
"codeBlock",
|
|
39
41
|
"selection",
|
|
40
42
|
"floatingToolbar",
|
|
@@ -56,6 +58,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
56
58
|
"typeAhead",
|
|
57
59
|
"decorations",
|
|
58
60
|
"base",
|
|
61
|
+
"contextIdentifier",
|
|
59
62
|
"composition",
|
|
60
63
|
"focus",
|
|
61
64
|
"clipboard",
|
|
@@ -68,51 +71,51 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
68
71
|
pluginConfiguration: CodeBlockOptions;
|
|
69
72
|
dependencies: [
|
|
70
73
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
71
|
-
sharedState: import("@atlaskit/editor-
|
|
74
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
72
75
|
actions: {
|
|
73
76
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
74
77
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
75
78
|
};
|
|
76
79
|
}, undefined>,
|
|
77
80
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
78
|
-
sharedState: import("@atlaskit/editor-
|
|
81
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
79
82
|
}, undefined>,
|
|
80
83
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
81
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
84
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
82
85
|
sharedState: {
|
|
83
86
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
84
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
85
|
-
performanceTracking:
|
|
87
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
88
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
86
89
|
};
|
|
87
90
|
dependencies: [
|
|
88
91
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
89
|
-
pluginConfiguration:
|
|
90
|
-
sharedState:
|
|
91
|
-
},
|
|
92
|
+
pluginConfiguration: FeatureFlags;
|
|
93
|
+
sharedState: FeatureFlags;
|
|
94
|
+
}, FeatureFlags>>
|
|
92
95
|
];
|
|
93
96
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
94
|
-
}, import("@atlaskit/editor-
|
|
97
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
95
98
|
];
|
|
96
99
|
actions: {
|
|
97
100
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
98
101
|
};
|
|
99
102
|
}, CodeBlockOptions>,
|
|
100
103
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
101
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
102
|
-
actions: import("@atlaskit/editor-
|
|
104
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
105
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
103
106
|
commands: {
|
|
104
107
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
105
108
|
};
|
|
106
109
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
107
|
-
}, import("@atlaskit/editor-
|
|
110
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
108
111
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
109
112
|
dependencies: [
|
|
110
113
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
111
|
-
pluginConfiguration:
|
|
112
|
-
sharedState:
|
|
113
|
-
},
|
|
114
|
+
pluginConfiguration: FeatureFlags;
|
|
115
|
+
sharedState: FeatureFlags;
|
|
116
|
+
}, FeatureFlags>>,
|
|
114
117
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
115
|
-
sharedState: import("@atlaskit/editor-
|
|
118
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
116
119
|
actions: {
|
|
117
120
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
118
121
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -127,29 +130,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
127
130
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
128
131
|
dependencies: [
|
|
129
132
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
130
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
133
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
131
134
|
sharedState: {
|
|
132
135
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
133
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
134
|
-
performanceTracking:
|
|
136
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
137
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
135
138
|
};
|
|
136
139
|
dependencies: [
|
|
137
140
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
138
|
-
pluginConfiguration:
|
|
139
|
-
sharedState:
|
|
140
|
-
},
|
|
141
|
+
pluginConfiguration: FeatureFlags;
|
|
142
|
+
sharedState: FeatureFlags;
|
|
143
|
+
}, FeatureFlags>>
|
|
141
144
|
];
|
|
142
145
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
143
|
-
}, import("@atlaskit/editor-
|
|
146
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
144
147
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
145
|
-
pluginConfiguration:
|
|
146
|
-
sharedState:
|
|
147
|
-
},
|
|
148
|
+
pluginConfiguration: FeatureFlags;
|
|
149
|
+
sharedState: FeatureFlags;
|
|
150
|
+
}, FeatureFlags>>,
|
|
148
151
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
149
152
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
150
153
|
}, undefined>,
|
|
151
154
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
152
|
-
sharedState: import("@atlaskit/editor-
|
|
155
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
153
156
|
actions: {
|
|
154
157
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
155
158
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -159,7 +162,14 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
159
162
|
actions: {
|
|
160
163
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
161
164
|
};
|
|
162
|
-
}, undefined
|
|
165
|
+
}, undefined>>,
|
|
166
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
167
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
168
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
169
|
+
commands: {
|
|
170
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
171
|
+
};
|
|
172
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
163
173
|
];
|
|
164
174
|
sharedState: {
|
|
165
175
|
showContextPanel: boolean | undefined;
|
|
@@ -167,7 +177,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
167
177
|
actions: {
|
|
168
178
|
editSelectedExtension: () => boolean;
|
|
169
179
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
170
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
180
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
171
181
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
172
182
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
173
183
|
};
|
|
@@ -175,27 +185,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
175
185
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
176
186
|
dependencies: [
|
|
177
187
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
178
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
188
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
179
189
|
sharedState: {
|
|
180
190
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
181
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
182
|
-
performanceTracking:
|
|
191
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
192
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
183
193
|
};
|
|
184
194
|
dependencies: [
|
|
185
195
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
186
|
-
pluginConfiguration:
|
|
187
|
-
sharedState:
|
|
188
|
-
},
|
|
196
|
+
pluginConfiguration: FeatureFlags;
|
|
197
|
+
sharedState: FeatureFlags;
|
|
198
|
+
}, FeatureFlags>>
|
|
189
199
|
];
|
|
190
200
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
191
|
-
}, import("@atlaskit/editor-
|
|
201
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
192
202
|
];
|
|
193
203
|
actions: {
|
|
194
204
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
195
205
|
};
|
|
196
206
|
}, undefined>,
|
|
197
207
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
198
|
-
sharedState: import("@atlaskit/editor-
|
|
208
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
199
209
|
}, undefined>,
|
|
200
210
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
201
211
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -210,60 +220,67 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
210
220
|
} | undefined>>
|
|
211
221
|
];
|
|
212
222
|
actions: {
|
|
213
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
223
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
214
224
|
};
|
|
215
225
|
sharedState: {
|
|
216
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
217
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
226
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
227
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
218
228
|
} | undefined;
|
|
219
229
|
}, undefined>,
|
|
220
230
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
221
231
|
dependencies: [
|
|
222
232
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
223
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
233
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
224
234
|
sharedState: {
|
|
225
235
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
226
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
227
|
-
performanceTracking:
|
|
236
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
237
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
228
238
|
};
|
|
229
239
|
dependencies: [
|
|
230
240
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
231
|
-
pluginConfiguration:
|
|
232
|
-
sharedState:
|
|
233
|
-
},
|
|
241
|
+
pluginConfiguration: FeatureFlags;
|
|
242
|
+
sharedState: FeatureFlags;
|
|
243
|
+
}, FeatureFlags>>
|
|
234
244
|
];
|
|
235
245
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
236
|
-
}, import("@atlaskit/editor-
|
|
246
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
237
247
|
];
|
|
238
248
|
actions: {
|
|
239
249
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
240
250
|
};
|
|
241
251
|
}, undefined>,
|
|
242
252
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
243
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
253
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined;
|
|
244
254
|
dependencies: [
|
|
245
255
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
246
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
256
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
247
257
|
dependencies: [
|
|
248
258
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
249
|
-
pluginConfiguration:
|
|
250
|
-
sharedState:
|
|
251
|
-
},
|
|
259
|
+
pluginConfiguration: FeatureFlags;
|
|
260
|
+
sharedState: FeatureFlags;
|
|
261
|
+
}, FeatureFlags>>,
|
|
252
262
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
253
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
263
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
254
264
|
sharedState: {
|
|
255
265
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
256
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
257
|
-
performanceTracking:
|
|
266
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
267
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
258
268
|
};
|
|
259
269
|
dependencies: [
|
|
260
270
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
261
|
-
pluginConfiguration:
|
|
262
|
-
sharedState:
|
|
263
|
-
},
|
|
271
|
+
pluginConfiguration: FeatureFlags;
|
|
272
|
+
sharedState: FeatureFlags;
|
|
273
|
+
}, FeatureFlags>>
|
|
264
274
|
];
|
|
265
275
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
266
|
-
}, import("@atlaskit/editor-
|
|
276
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
277
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
278
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
279
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
280
|
+
commands: {
|
|
281
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
282
|
+
};
|
|
283
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
267
284
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
268
285
|
dependencies: [
|
|
269
286
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -284,7 +301,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
284
301
|
];
|
|
285
302
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
286
303
|
actions: {
|
|
287
|
-
displayGrid: (view:
|
|
304
|
+
displayGrid: (view: EditorView) => (props: {
|
|
288
305
|
visible: boolean;
|
|
289
306
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
290
307
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -295,7 +312,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
295
312
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
296
313
|
}, undefined>,
|
|
297
314
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
298
|
-
sharedState: import("@atlaskit/editor-
|
|
315
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
299
316
|
actions: {
|
|
300
317
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
301
318
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -304,11 +321,11 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
304
321
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
305
322
|
dependencies: [
|
|
306
323
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
307
|
-
pluginConfiguration:
|
|
308
|
-
sharedState:
|
|
309
|
-
},
|
|
324
|
+
pluginConfiguration: FeatureFlags;
|
|
325
|
+
sharedState: FeatureFlags;
|
|
326
|
+
}, FeatureFlags>>,
|
|
310
327
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
311
|
-
sharedState: import("@atlaskit/editor-
|
|
328
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
312
329
|
actions: {
|
|
313
330
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
314
331
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -323,29 +340,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
323
340
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
324
341
|
dependencies: [
|
|
325
342
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
326
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
343
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
327
344
|
sharedState: {
|
|
328
345
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
329
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
330
|
-
performanceTracking:
|
|
346
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
347
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
331
348
|
};
|
|
332
349
|
dependencies: [
|
|
333
350
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
334
|
-
pluginConfiguration:
|
|
335
|
-
sharedState:
|
|
336
|
-
},
|
|
351
|
+
pluginConfiguration: FeatureFlags;
|
|
352
|
+
sharedState: FeatureFlags;
|
|
353
|
+
}, FeatureFlags>>
|
|
337
354
|
];
|
|
338
355
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
339
|
-
}, import("@atlaskit/editor-
|
|
356
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
340
357
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
341
|
-
pluginConfiguration:
|
|
342
|
-
sharedState:
|
|
343
|
-
},
|
|
358
|
+
pluginConfiguration: FeatureFlags;
|
|
359
|
+
sharedState: FeatureFlags;
|
|
360
|
+
}, FeatureFlags>>,
|
|
344
361
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
345
362
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
346
363
|
}, undefined>,
|
|
347
364
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
348
|
-
sharedState: import("@atlaskit/editor-
|
|
365
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
349
366
|
actions: {
|
|
350
367
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
351
368
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -355,7 +372,14 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
355
372
|
actions: {
|
|
356
373
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
357
374
|
};
|
|
358
|
-
}, undefined
|
|
375
|
+
}, undefined>>,
|
|
376
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
377
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
378
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
379
|
+
commands: {
|
|
380
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
381
|
+
};
|
|
382
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
359
383
|
];
|
|
360
384
|
sharedState: {
|
|
361
385
|
showContextPanel: boolean | undefined;
|
|
@@ -363,7 +387,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
363
387
|
actions: {
|
|
364
388
|
editSelectedExtension: () => boolean;
|
|
365
389
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
366
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
390
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
367
391
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
368
392
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
369
393
|
};
|
|
@@ -371,27 +395,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
371
395
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
372
396
|
dependencies: [
|
|
373
397
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
374
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
398
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
375
399
|
sharedState: {
|
|
376
400
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
377
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
378
|
-
performanceTracking:
|
|
401
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
402
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
379
403
|
};
|
|
380
404
|
dependencies: [
|
|
381
405
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
382
|
-
pluginConfiguration:
|
|
383
|
-
sharedState:
|
|
384
|
-
},
|
|
406
|
+
pluginConfiguration: FeatureFlags;
|
|
407
|
+
sharedState: FeatureFlags;
|
|
408
|
+
}, FeatureFlags>>
|
|
385
409
|
];
|
|
386
410
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
387
|
-
}, import("@atlaskit/editor-
|
|
411
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
388
412
|
];
|
|
389
413
|
actions: {
|
|
390
414
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
391
415
|
};
|
|
392
416
|
}, undefined>,
|
|
393
417
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
394
|
-
sharedState: import("@atlaskit/editor-
|
|
418
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
395
419
|
}, undefined>,
|
|
396
420
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
397
421
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -406,15 +430,15 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
406
430
|
} | undefined>>
|
|
407
431
|
];
|
|
408
432
|
actions: {
|
|
409
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
433
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
410
434
|
};
|
|
411
435
|
sharedState: {
|
|
412
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
413
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
436
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
437
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
414
438
|
} | undefined;
|
|
415
439
|
}, undefined>,
|
|
416
440
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
417
|
-
sharedState: import("@atlaskit/editor-
|
|
441
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
418
442
|
}, undefined>,
|
|
419
443
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
420
444
|
sharedState: {
|
|
@@ -422,23 +446,23 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
422
446
|
};
|
|
423
447
|
}, undefined>,
|
|
424
448
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
425
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
426
|
-
actions: import("@atlaskit/editor-
|
|
449
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
450
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
427
451
|
commands: {
|
|
428
452
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
429
453
|
};
|
|
430
454
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
431
|
-
}, import("@atlaskit/editor-
|
|
455
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
432
456
|
];
|
|
433
|
-
sharedState: import("@atlaskit/editor-
|
|
457
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
434
458
|
actions: {
|
|
435
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
459
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
436
460
|
};
|
|
437
|
-
}, import("@atlaskit/editor-
|
|
461
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
438
462
|
];
|
|
439
|
-
}, import("@atlaskit/editor-
|
|
463
|
+
}, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>,
|
|
440
464
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
441
|
-
sharedState: import("@atlaskit/editor-
|
|
465
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
442
466
|
}, undefined>,
|
|
443
467
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>,
|
|
444
468
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
@@ -450,42 +474,42 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
450
474
|
};
|
|
451
475
|
}, undefined>,
|
|
452
476
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
453
|
-
sharedState: import("@atlaskit/editor-
|
|
477
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
454
478
|
}, undefined>,
|
|
455
479
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
456
480
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
457
481
|
dependencies: [
|
|
458
482
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
459
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
483
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
460
484
|
sharedState: {
|
|
461
485
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
462
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
463
|
-
performanceTracking:
|
|
486
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
487
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
464
488
|
};
|
|
465
489
|
dependencies: [
|
|
466
490
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
467
|
-
pluginConfiguration:
|
|
468
|
-
sharedState:
|
|
469
|
-
},
|
|
491
|
+
pluginConfiguration: FeatureFlags;
|
|
492
|
+
sharedState: FeatureFlags;
|
|
493
|
+
}, FeatureFlags>>
|
|
470
494
|
];
|
|
471
495
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
472
|
-
}, import("@atlaskit/editor-
|
|
496
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
473
497
|
];
|
|
474
|
-
sharedState: import("@atlaskit/editor-
|
|
498
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
475
499
|
actions: {
|
|
476
500
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
477
501
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
478
502
|
insert: (props: {
|
|
479
|
-
triggerHandler: import("@atlaskit/editor-
|
|
480
|
-
contentItem: import("@atlaskit/editor-common/
|
|
503
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
504
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
481
505
|
query: string;
|
|
482
|
-
sourceListItem: import("@atlaskit/editor-common/
|
|
506
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
483
507
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
484
508
|
}) => boolean;
|
|
485
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
509
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
486
510
|
open: (props: {
|
|
487
|
-
triggerHandler: import("@atlaskit/editor-
|
|
488
|
-
inputMethod: import("@atlaskit/editor-
|
|
511
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
512
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
489
513
|
query?: string | undefined;
|
|
490
514
|
}) => boolean;
|
|
491
515
|
close: (props: {
|
|
@@ -493,8 +517,8 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
493
517
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
494
518
|
}) => boolean;
|
|
495
519
|
openAtTransaction: (props: {
|
|
496
|
-
triggerHandler: import("@atlaskit/editor-
|
|
497
|
-
inputMethod: import("@atlaskit/editor-
|
|
520
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
521
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
498
522
|
query?: string | undefined;
|
|
499
523
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
500
524
|
};
|
|
@@ -508,36 +532,36 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
508
532
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
509
533
|
dependencies: [
|
|
510
534
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
511
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
535
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
512
536
|
sharedState: {
|
|
513
537
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
514
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
515
|
-
performanceTracking:
|
|
538
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
539
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
516
540
|
};
|
|
517
541
|
dependencies: [
|
|
518
542
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
519
|
-
pluginConfiguration:
|
|
520
|
-
sharedState:
|
|
521
|
-
},
|
|
543
|
+
pluginConfiguration: FeatureFlags;
|
|
544
|
+
sharedState: FeatureFlags;
|
|
545
|
+
}, FeatureFlags>>
|
|
522
546
|
];
|
|
523
547
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
524
|
-
}, import("@atlaskit/editor-
|
|
548
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
525
549
|
];
|
|
526
|
-
sharedState: import("@atlaskit/editor-
|
|
550
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
527
551
|
actions: {
|
|
528
552
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
529
553
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
530
554
|
insert: (props: {
|
|
531
|
-
triggerHandler: import("@atlaskit/editor-
|
|
532
|
-
contentItem: import("@atlaskit/editor-common/
|
|
555
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
556
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
533
557
|
query: string;
|
|
534
|
-
sourceListItem: import("@atlaskit/editor-common/
|
|
558
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
535
559
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
536
560
|
}) => boolean;
|
|
537
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
561
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
538
562
|
open: (props: {
|
|
539
|
-
triggerHandler: import("@atlaskit/editor-
|
|
540
|
-
inputMethod: import("@atlaskit/editor-
|
|
563
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
564
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
541
565
|
query?: string | undefined;
|
|
542
566
|
}) => boolean;
|
|
543
567
|
close: (props: {
|
|
@@ -545,16 +569,16 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
545
569
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
546
570
|
}) => boolean;
|
|
547
571
|
openAtTransaction: (props: {
|
|
548
|
-
triggerHandler: import("@atlaskit/editor-
|
|
549
|
-
inputMethod: import("@atlaskit/editor-
|
|
572
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
573
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
550
574
|
query?: string | undefined;
|
|
551
575
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
552
576
|
};
|
|
553
577
|
}, TypeAheadPluginOptions | undefined>
|
|
554
578
|
];
|
|
555
|
-
sharedState: import("@atlaskit/editor-
|
|
579
|
+
sharedState: import("@atlaskit/editor-plugins/quick-insert").QuickInsertSharedState | null;
|
|
556
580
|
actions: {
|
|
557
|
-
openTypeAhead: (inputMethod: import("@atlaskit/editor-
|
|
581
|
+
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
558
582
|
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
559
583
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
560
584
|
};
|
|
@@ -569,29 +593,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
569
593
|
pluginConfiguration: TextFormattingOptions | undefined;
|
|
570
594
|
dependencies: [
|
|
571
595
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
572
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
596
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
573
597
|
sharedState: {
|
|
574
598
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
575
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
576
|
-
performanceTracking:
|
|
599
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
600
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
577
601
|
};
|
|
578
602
|
dependencies: [
|
|
579
603
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
580
|
-
pluginConfiguration:
|
|
581
|
-
sharedState:
|
|
582
|
-
},
|
|
604
|
+
pluginConfiguration: FeatureFlags;
|
|
605
|
+
sharedState: FeatureFlags;
|
|
606
|
+
}, FeatureFlags>>
|
|
583
607
|
];
|
|
584
608
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
585
|
-
}, import("@atlaskit/editor-
|
|
609
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
586
610
|
];
|
|
587
611
|
commands: {
|
|
588
|
-
toggleSuperscript: import("@atlaskit/editor-
|
|
589
|
-
toggleSubscript: import("@atlaskit/editor-
|
|
590
|
-
toggleStrike: import("@atlaskit/editor-
|
|
591
|
-
toggleCode: import("@atlaskit/editor-
|
|
592
|
-
toggleUnderline: import("@atlaskit/editor-
|
|
593
|
-
toggleEm: import("@atlaskit/editor-
|
|
594
|
-
toggleStrong: import("@atlaskit/editor-
|
|
612
|
+
toggleSuperscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
613
|
+
toggleSubscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
614
|
+
toggleStrike: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
615
|
+
toggleCode: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
616
|
+
toggleUnderline: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
617
|
+
toggleEm: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
618
|
+
toggleStrong: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
595
619
|
};
|
|
596
620
|
sharedState: import("@atlaskit/editor-common/types").TextFormattingState | undefined;
|
|
597
621
|
}, TextFormattingOptions | undefined>,
|
|
@@ -599,29 +623,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
599
623
|
pluginConfiguration: HyperlinkPluginOptions | undefined;
|
|
600
624
|
dependencies: [
|
|
601
625
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
602
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
626
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
603
627
|
sharedState: {
|
|
604
628
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
605
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
606
|
-
performanceTracking:
|
|
629
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
630
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
607
631
|
};
|
|
608
632
|
dependencies: [
|
|
609
633
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
610
|
-
pluginConfiguration:
|
|
611
|
-
sharedState:
|
|
612
|
-
},
|
|
634
|
+
pluginConfiguration: FeatureFlags;
|
|
635
|
+
sharedState: FeatureFlags;
|
|
636
|
+
}, FeatureFlags>>
|
|
613
637
|
];
|
|
614
638
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
615
|
-
}, import("@atlaskit/editor-
|
|
639
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
616
640
|
];
|
|
617
641
|
actions: {
|
|
618
|
-
prependToolbarButtons: import("@atlaskit/editor-
|
|
619
|
-
hideLinkToolbar: import("@atlaskit/editor-
|
|
620
|
-
insertLink: import("@atlaskit/editor-
|
|
621
|
-
updateLink: import("@atlaskit/editor-
|
|
642
|
+
prependToolbarButtons: import("@atlaskit/editor-plugins/hyperlink").PrependToolbarButtons;
|
|
643
|
+
hideLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").HideLinkToolbar;
|
|
644
|
+
insertLink: import("@atlaskit/editor-plugins/hyperlink").InsertLink;
|
|
645
|
+
updateLink: import("@atlaskit/editor-plugins/hyperlink").UpdateLink;
|
|
622
646
|
};
|
|
623
647
|
commands: {
|
|
624
|
-
showLinkToolbar: import("@atlaskit/editor-
|
|
648
|
+
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
625
649
|
};
|
|
626
650
|
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
627
651
|
}, HyperlinkPluginOptions | undefined>,
|
|
@@ -647,23 +671,34 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
647
671
|
}>>,
|
|
648
672
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
649
673
|
pluginConfiguration: AnnotationProviders | undefined;
|
|
650
|
-
sharedState: import("@atlaskit/editor-
|
|
674
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
651
675
|
dependencies: [
|
|
652
676
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
653
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
677
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
654
678
|
sharedState: {
|
|
655
679
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
656
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
657
|
-
performanceTracking:
|
|
680
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
681
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
658
682
|
};
|
|
659
683
|
dependencies: [
|
|
660
684
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
661
|
-
pluginConfiguration:
|
|
662
|
-
sharedState:
|
|
663
|
-
},
|
|
685
|
+
pluginConfiguration: FeatureFlags;
|
|
686
|
+
sharedState: FeatureFlags;
|
|
687
|
+
}, FeatureFlags>>
|
|
664
688
|
];
|
|
665
689
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
666
|
-
}, import("@atlaskit/editor-
|
|
690
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
691
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
692
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
693
|
+
pluginConfiguration?: {
|
|
694
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
695
|
+
} | undefined;
|
|
696
|
+
commands: {
|
|
697
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
698
|
+
};
|
|
699
|
+
}, {
|
|
700
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
701
|
+
} | undefined>>
|
|
667
702
|
];
|
|
668
703
|
actions: {
|
|
669
704
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -674,27 +709,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
674
709
|
pluginConfiguration: BlockTypePluginOptions | undefined;
|
|
675
710
|
dependencies: [
|
|
676
711
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
677
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
712
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
678
713
|
sharedState: {
|
|
679
714
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
680
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
681
|
-
performanceTracking:
|
|
715
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
716
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
682
717
|
};
|
|
683
718
|
dependencies: [
|
|
684
719
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
685
|
-
pluginConfiguration:
|
|
686
|
-
sharedState:
|
|
687
|
-
},
|
|
720
|
+
pluginConfiguration: FeatureFlags;
|
|
721
|
+
sharedState: FeatureFlags;
|
|
722
|
+
}, FeatureFlags>>
|
|
688
723
|
];
|
|
689
724
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
690
|
-
}, import("@atlaskit/editor-
|
|
725
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
691
726
|
];
|
|
692
|
-
sharedState: import("@atlaskit/editor-
|
|
727
|
+
sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
|
|
693
728
|
actions: {
|
|
694
|
-
insertBlockQuote: (inputMethod: import("@atlaskit/editor-
|
|
729
|
+
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
695
730
|
};
|
|
696
731
|
commands: {
|
|
697
|
-
setTextLevel: (level: import("@atlaskit/editor-
|
|
732
|
+
setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
698
733
|
};
|
|
699
734
|
}, BlockTypePluginOptions | undefined>,
|
|
700
735
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
|
|
@@ -703,36 +738,36 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
703
738
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
704
739
|
dependencies: [
|
|
705
740
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
706
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
741
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
707
742
|
sharedState: {
|
|
708
743
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
709
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
710
|
-
performanceTracking:
|
|
744
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
745
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
711
746
|
};
|
|
712
747
|
dependencies: [
|
|
713
748
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
714
|
-
pluginConfiguration:
|
|
715
|
-
sharedState:
|
|
716
|
-
},
|
|
749
|
+
pluginConfiguration: FeatureFlags;
|
|
750
|
+
sharedState: FeatureFlags;
|
|
751
|
+
}, FeatureFlags>>
|
|
717
752
|
];
|
|
718
753
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
719
|
-
}, import("@atlaskit/editor-
|
|
754
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
720
755
|
];
|
|
721
|
-
sharedState: import("@atlaskit/editor-
|
|
756
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
722
757
|
actions: {
|
|
723
758
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
724
759
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
725
760
|
insert: (props: {
|
|
726
|
-
triggerHandler: import("@atlaskit/editor-
|
|
727
|
-
contentItem: import("@atlaskit/editor-common/
|
|
761
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
762
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
728
763
|
query: string;
|
|
729
|
-
sourceListItem: import("@atlaskit/editor-common/
|
|
764
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
730
765
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
731
766
|
}) => boolean;
|
|
732
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
767
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
733
768
|
open: (props: {
|
|
734
|
-
triggerHandler: import("@atlaskit/editor-
|
|
735
|
-
inputMethod: import("@atlaskit/editor-
|
|
769
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
770
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
736
771
|
query?: string | undefined;
|
|
737
772
|
}) => boolean;
|
|
738
773
|
close: (props: {
|
|
@@ -740,54 +775,54 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
740
775
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
741
776
|
}) => boolean;
|
|
742
777
|
openAtTransaction: (props: {
|
|
743
|
-
triggerHandler: import("@atlaskit/editor-
|
|
744
|
-
inputMethod: import("@atlaskit/editor-
|
|
778
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
779
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
745
780
|
query?: string | undefined;
|
|
746
781
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
747
782
|
};
|
|
748
783
|
}, TypeAheadPluginOptions | undefined>,
|
|
749
784
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
750
|
-
sharedState: import("@atlaskit/editor-
|
|
785
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
|
|
751
786
|
}, undefined>
|
|
752
787
|
];
|
|
753
788
|
}, undefined>>,
|
|
754
789
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
755
|
-
sharedState: import("@atlaskit/editor-
|
|
790
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
|
|
756
791
|
}, undefined>>,
|
|
757
792
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
758
793
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
759
794
|
dependencies: [
|
|
760
795
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
761
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
796
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
762
797
|
sharedState: {
|
|
763
798
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
764
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
765
|
-
performanceTracking:
|
|
799
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
800
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
766
801
|
};
|
|
767
802
|
dependencies: [
|
|
768
803
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
769
|
-
pluginConfiguration:
|
|
770
|
-
sharedState:
|
|
771
|
-
},
|
|
804
|
+
pluginConfiguration: FeatureFlags;
|
|
805
|
+
sharedState: FeatureFlags;
|
|
806
|
+
}, FeatureFlags>>
|
|
772
807
|
];
|
|
773
808
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
774
|
-
}, import("@atlaskit/editor-
|
|
809
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
775
810
|
];
|
|
776
|
-
sharedState: import("@atlaskit/editor-
|
|
811
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
777
812
|
actions: {
|
|
778
813
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
779
814
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
780
815
|
insert: (props: {
|
|
781
|
-
triggerHandler: import("@atlaskit/editor-
|
|
782
|
-
contentItem: import("@atlaskit/editor-common/
|
|
816
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
817
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
783
818
|
query: string;
|
|
784
|
-
sourceListItem: import("@atlaskit/editor-common/
|
|
819
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
785
820
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
786
821
|
}) => boolean;
|
|
787
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
822
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
788
823
|
open: (props: {
|
|
789
|
-
triggerHandler: import("@atlaskit/editor-
|
|
790
|
-
inputMethod: import("@atlaskit/editor-
|
|
824
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
825
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
791
826
|
query?: string | undefined;
|
|
792
827
|
}) => boolean;
|
|
793
828
|
close: (props: {
|
|
@@ -795,14 +830,14 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
795
830
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
796
831
|
}) => boolean;
|
|
797
832
|
openAtTransaction: (props: {
|
|
798
|
-
triggerHandler: import("@atlaskit/editor-
|
|
799
|
-
inputMethod: import("@atlaskit/editor-
|
|
833
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
834
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
800
835
|
query?: string | undefined;
|
|
801
836
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
802
837
|
};
|
|
803
838
|
}, TypeAheadPluginOptions | undefined>,
|
|
804
839
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
805
|
-
sharedState: import("@atlaskit/editor-
|
|
840
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
806
841
|
actions: {
|
|
807
842
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
808
843
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -812,17 +847,31 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
812
847
|
pluginConfiguration: BasePluginOptions | undefined;
|
|
813
848
|
dependencies: [
|
|
814
849
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
815
|
-
pluginConfiguration:
|
|
816
|
-
sharedState:
|
|
817
|
-
},
|
|
850
|
+
pluginConfiguration: FeatureFlags;
|
|
851
|
+
sharedState: FeatureFlags;
|
|
852
|
+
}, FeatureFlags>>,
|
|
853
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
854
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
855
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
856
|
+
commands: {
|
|
857
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
858
|
+
};
|
|
859
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
818
860
|
];
|
|
819
|
-
sharedState: import("@atlaskit/editor-
|
|
861
|
+
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
820
862
|
actions: {
|
|
821
863
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
822
864
|
};
|
|
823
865
|
}, BasePluginOptions | undefined>,
|
|
866
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
867
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
868
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
869
|
+
commands: {
|
|
870
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
871
|
+
};
|
|
872
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>,
|
|
824
873
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
825
|
-
sharedState: import("@atlaskit/editor-
|
|
874
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
826
875
|
}, undefined>,
|
|
827
876
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
828
877
|
sharedState: {
|
|
@@ -834,30 +883,30 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
834
883
|
pluginConfiguration: PastePluginOptions;
|
|
835
884
|
dependencies: [
|
|
836
885
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
837
|
-
pluginConfiguration:
|
|
838
|
-
sharedState:
|
|
839
|
-
},
|
|
886
|
+
pluginConfiguration: FeatureFlags;
|
|
887
|
+
sharedState: FeatureFlags;
|
|
888
|
+
}, FeatureFlags>>,
|
|
840
889
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
|
|
841
890
|
dependencies: [
|
|
842
891
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
843
|
-
pluginConfiguration:
|
|
844
|
-
sharedState:
|
|
845
|
-
},
|
|
892
|
+
pluginConfiguration: FeatureFlags;
|
|
893
|
+
sharedState: FeatureFlags;
|
|
894
|
+
}, FeatureFlags>>,
|
|
846
895
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
847
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
896
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
848
897
|
sharedState: {
|
|
849
898
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
850
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
851
|
-
performanceTracking:
|
|
899
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
900
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
852
901
|
};
|
|
853
902
|
dependencies: [
|
|
854
903
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
855
|
-
pluginConfiguration:
|
|
856
|
-
sharedState:
|
|
857
|
-
},
|
|
904
|
+
pluginConfiguration: FeatureFlags;
|
|
905
|
+
sharedState: FeatureFlags;
|
|
906
|
+
}, FeatureFlags>>
|
|
858
907
|
];
|
|
859
908
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
860
|
-
}, import("@atlaskit/editor-
|
|
909
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
861
910
|
];
|
|
862
911
|
actions: {
|
|
863
912
|
isInsideListItem: import("@atlaskit/editor-plugin-list").IsInsideListItem;
|
|
@@ -872,35 +921,35 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
872
921
|
sharedState: import("@atlaskit/editor-plugin-list").ListState | undefined;
|
|
873
922
|
}, undefined>>,
|
|
874
923
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
875
|
-
actions: import("@atlaskit/editor-
|
|
924
|
+
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
876
925
|
}, undefined>,
|
|
877
926
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
878
927
|
pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
|
|
879
928
|
dependencies: [
|
|
880
929
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
881
|
-
pluginConfiguration:
|
|
882
|
-
sharedState:
|
|
883
|
-
},
|
|
930
|
+
pluginConfiguration: FeatureFlags;
|
|
931
|
+
sharedState: FeatureFlags;
|
|
932
|
+
}, FeatureFlags>>,
|
|
884
933
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
885
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
934
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
886
935
|
sharedState: {
|
|
887
936
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
888
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
889
|
-
performanceTracking:
|
|
937
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
938
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
890
939
|
};
|
|
891
940
|
dependencies: [
|
|
892
941
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
893
|
-
pluginConfiguration:
|
|
894
|
-
sharedState:
|
|
895
|
-
},
|
|
942
|
+
pluginConfiguration: FeatureFlags;
|
|
943
|
+
sharedState: FeatureFlags;
|
|
944
|
+
}, FeatureFlags>>
|
|
896
945
|
];
|
|
897
946
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
898
|
-
}, import("@atlaskit/editor-
|
|
947
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
899
948
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
900
949
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
901
950
|
}, undefined>,
|
|
902
951
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
903
|
-
sharedState: import("@atlaskit/editor-
|
|
952
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
904
953
|
actions: {
|
|
905
954
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
906
955
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -915,7 +964,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
915
964
|
];
|
|
916
965
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
917
966
|
actions: {
|
|
918
|
-
displayGrid: (view:
|
|
967
|
+
displayGrid: (view: EditorView) => (props: {
|
|
919
968
|
visible: boolean;
|
|
920
969
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
921
970
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -925,11 +974,11 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
925
974
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
926
975
|
dependencies: [
|
|
927
976
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
928
|
-
pluginConfiguration:
|
|
929
|
-
sharedState:
|
|
930
|
-
},
|
|
977
|
+
pluginConfiguration: FeatureFlags;
|
|
978
|
+
sharedState: FeatureFlags;
|
|
979
|
+
}, FeatureFlags>>,
|
|
931
980
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
932
|
-
sharedState: import("@atlaskit/editor-
|
|
981
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
933
982
|
actions: {
|
|
934
983
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
935
984
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -944,29 +993,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
944
993
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
945
994
|
dependencies: [
|
|
946
995
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
947
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
996
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
948
997
|
sharedState: {
|
|
949
998
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
950
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
951
|
-
performanceTracking:
|
|
999
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1000
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
952
1001
|
};
|
|
953
1002
|
dependencies: [
|
|
954
1003
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
955
|
-
pluginConfiguration:
|
|
956
|
-
sharedState:
|
|
957
|
-
},
|
|
1004
|
+
pluginConfiguration: FeatureFlags;
|
|
1005
|
+
sharedState: FeatureFlags;
|
|
1006
|
+
}, FeatureFlags>>
|
|
958
1007
|
];
|
|
959
1008
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
960
|
-
}, import("@atlaskit/editor-
|
|
1009
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
961
1010
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
962
|
-
pluginConfiguration:
|
|
963
|
-
sharedState:
|
|
964
|
-
},
|
|
1011
|
+
pluginConfiguration: FeatureFlags;
|
|
1012
|
+
sharedState: FeatureFlags;
|
|
1013
|
+
}, FeatureFlags>>,
|
|
965
1014
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
966
1015
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
967
1016
|
}, undefined>,
|
|
968
1017
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
969
|
-
sharedState: import("@atlaskit/editor-
|
|
1018
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
970
1019
|
actions: {
|
|
971
1020
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
972
1021
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -976,7 +1025,14 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
976
1025
|
actions: {
|
|
977
1026
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
978
1027
|
};
|
|
979
|
-
}, undefined
|
|
1028
|
+
}, undefined>>,
|
|
1029
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1030
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1031
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1032
|
+
commands: {
|
|
1033
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1034
|
+
};
|
|
1035
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
980
1036
|
];
|
|
981
1037
|
sharedState: {
|
|
982
1038
|
showContextPanel: boolean | undefined;
|
|
@@ -984,7 +1040,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
984
1040
|
actions: {
|
|
985
1041
|
editSelectedExtension: () => boolean;
|
|
986
1042
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
987
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1043
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
988
1044
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
989
1045
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
990
1046
|
};
|
|
@@ -992,27 +1048,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
992
1048
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
993
1049
|
dependencies: [
|
|
994
1050
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
995
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1051
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
996
1052
|
sharedState: {
|
|
997
1053
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
998
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
999
|
-
performanceTracking:
|
|
1054
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1055
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1000
1056
|
};
|
|
1001
1057
|
dependencies: [
|
|
1002
1058
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1003
|
-
pluginConfiguration:
|
|
1004
|
-
sharedState:
|
|
1005
|
-
},
|
|
1059
|
+
pluginConfiguration: FeatureFlags;
|
|
1060
|
+
sharedState: FeatureFlags;
|
|
1061
|
+
}, FeatureFlags>>
|
|
1006
1062
|
];
|
|
1007
1063
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1008
|
-
}, import("@atlaskit/editor-
|
|
1064
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1009
1065
|
];
|
|
1010
1066
|
actions: {
|
|
1011
1067
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1012
1068
|
};
|
|
1013
1069
|
}, undefined>,
|
|
1014
1070
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1015
|
-
sharedState: import("@atlaskit/editor-
|
|
1071
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1016
1072
|
}, undefined>,
|
|
1017
1073
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1018
1074
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -1027,40 +1083,40 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1027
1083
|
} | undefined>>
|
|
1028
1084
|
];
|
|
1029
1085
|
actions: {
|
|
1030
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
1086
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
1031
1087
|
};
|
|
1032
1088
|
sharedState: {
|
|
1033
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
1034
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
1089
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
1090
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
1035
1091
|
} | undefined;
|
|
1036
1092
|
}, undefined>,
|
|
1037
1093
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
1038
1094
|
pluginConfiguration: HyperlinkPluginOptions | undefined;
|
|
1039
1095
|
dependencies: [
|
|
1040
1096
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1041
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1097
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1042
1098
|
sharedState: {
|
|
1043
1099
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1044
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1045
|
-
performanceTracking:
|
|
1100
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1101
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1046
1102
|
};
|
|
1047
1103
|
dependencies: [
|
|
1048
1104
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1049
|
-
pluginConfiguration:
|
|
1050
|
-
sharedState:
|
|
1051
|
-
},
|
|
1105
|
+
pluginConfiguration: FeatureFlags;
|
|
1106
|
+
sharedState: FeatureFlags;
|
|
1107
|
+
}, FeatureFlags>>
|
|
1052
1108
|
];
|
|
1053
1109
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1054
|
-
}, import("@atlaskit/editor-
|
|
1110
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1055
1111
|
];
|
|
1056
1112
|
actions: {
|
|
1057
|
-
prependToolbarButtons: import("@atlaskit/editor-
|
|
1058
|
-
hideLinkToolbar: import("@atlaskit/editor-
|
|
1059
|
-
insertLink: import("@atlaskit/editor-
|
|
1060
|
-
updateLink: import("@atlaskit/editor-
|
|
1113
|
+
prependToolbarButtons: import("@atlaskit/editor-plugins/hyperlink").PrependToolbarButtons;
|
|
1114
|
+
hideLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").HideLinkToolbar;
|
|
1115
|
+
insertLink: import("@atlaskit/editor-plugins/hyperlink").InsertLink;
|
|
1116
|
+
updateLink: import("@atlaskit/editor-plugins/hyperlink").UpdateLink;
|
|
1061
1117
|
};
|
|
1062
1118
|
commands: {
|
|
1063
|
-
showLinkToolbar: import("@atlaskit/editor-
|
|
1119
|
+
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
1064
1120
|
};
|
|
1065
1121
|
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
1066
1122
|
}, HyperlinkPluginOptions | undefined>
|
|
@@ -1069,42 +1125,49 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1069
1125
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1070
1126
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions>>,
|
|
1071
1127
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1072
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1128
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1073
1129
|
sharedState: {
|
|
1074
1130
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1075
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1076
|
-
performanceTracking:
|
|
1131
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1132
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1077
1133
|
};
|
|
1078
1134
|
dependencies: [
|
|
1079
1135
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1080
|
-
pluginConfiguration:
|
|
1081
|
-
sharedState:
|
|
1082
|
-
},
|
|
1136
|
+
pluginConfiguration: FeatureFlags;
|
|
1137
|
+
sharedState: FeatureFlags;
|
|
1138
|
+
}, FeatureFlags>>
|
|
1083
1139
|
];
|
|
1084
1140
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1085
|
-
}, import("@atlaskit/editor-
|
|
1141
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1086
1142
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
1087
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1143
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
1088
1144
|
dependencies: [
|
|
1089
1145
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1090
|
-
pluginConfiguration:
|
|
1091
|
-
sharedState:
|
|
1092
|
-
},
|
|
1146
|
+
pluginConfiguration: FeatureFlags;
|
|
1147
|
+
sharedState: FeatureFlags;
|
|
1148
|
+
}, FeatureFlags>>,
|
|
1093
1149
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1094
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1150
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1095
1151
|
sharedState: {
|
|
1096
1152
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1097
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1098
|
-
performanceTracking:
|
|
1153
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1154
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1099
1155
|
};
|
|
1100
1156
|
dependencies: [
|
|
1101
1157
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1102
|
-
pluginConfiguration:
|
|
1103
|
-
sharedState:
|
|
1104
|
-
},
|
|
1158
|
+
pluginConfiguration: FeatureFlags;
|
|
1159
|
+
sharedState: FeatureFlags;
|
|
1160
|
+
}, FeatureFlags>>
|
|
1105
1161
|
];
|
|
1106
1162
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1107
|
-
}, import("@atlaskit/editor-
|
|
1163
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1164
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1165
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1166
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1167
|
+
commands: {
|
|
1168
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1169
|
+
};
|
|
1170
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
1108
1171
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
1109
1172
|
dependencies: [
|
|
1110
1173
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -1125,7 +1188,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1125
1188
|
];
|
|
1126
1189
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
1127
1190
|
actions: {
|
|
1128
|
-
displayGrid: (view:
|
|
1191
|
+
displayGrid: (view: EditorView) => (props: {
|
|
1129
1192
|
visible: boolean;
|
|
1130
1193
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
1131
1194
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -1136,7 +1199,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1136
1199
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1137
1200
|
}, undefined>,
|
|
1138
1201
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1139
|
-
sharedState: import("@atlaskit/editor-
|
|
1202
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1140
1203
|
actions: {
|
|
1141
1204
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1142
1205
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1145,11 +1208,11 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1145
1208
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1146
1209
|
dependencies: [
|
|
1147
1210
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1148
|
-
pluginConfiguration:
|
|
1149
|
-
sharedState:
|
|
1150
|
-
},
|
|
1211
|
+
pluginConfiguration: FeatureFlags;
|
|
1212
|
+
sharedState: FeatureFlags;
|
|
1213
|
+
}, FeatureFlags>>,
|
|
1151
1214
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1152
|
-
sharedState: import("@atlaskit/editor-
|
|
1215
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1153
1216
|
actions: {
|
|
1154
1217
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1155
1218
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1164,29 +1227,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1164
1227
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1165
1228
|
dependencies: [
|
|
1166
1229
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1167
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1230
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1168
1231
|
sharedState: {
|
|
1169
1232
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1170
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1171
|
-
performanceTracking:
|
|
1233
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1234
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1172
1235
|
};
|
|
1173
1236
|
dependencies: [
|
|
1174
1237
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1175
|
-
pluginConfiguration:
|
|
1176
|
-
sharedState:
|
|
1177
|
-
},
|
|
1238
|
+
pluginConfiguration: FeatureFlags;
|
|
1239
|
+
sharedState: FeatureFlags;
|
|
1240
|
+
}, FeatureFlags>>
|
|
1178
1241
|
];
|
|
1179
1242
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1180
|
-
}, import("@atlaskit/editor-
|
|
1243
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1181
1244
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1182
|
-
pluginConfiguration:
|
|
1183
|
-
sharedState:
|
|
1184
|
-
},
|
|
1245
|
+
pluginConfiguration: FeatureFlags;
|
|
1246
|
+
sharedState: FeatureFlags;
|
|
1247
|
+
}, FeatureFlags>>,
|
|
1185
1248
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1186
1249
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1187
1250
|
}, undefined>,
|
|
1188
1251
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1189
|
-
sharedState: import("@atlaskit/editor-
|
|
1252
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1190
1253
|
actions: {
|
|
1191
1254
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1192
1255
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1196,7 +1259,14 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1196
1259
|
actions: {
|
|
1197
1260
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1198
1261
|
};
|
|
1199
|
-
}, undefined
|
|
1262
|
+
}, undefined>>,
|
|
1263
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1264
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1265
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1266
|
+
commands: {
|
|
1267
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1268
|
+
};
|
|
1269
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
1200
1270
|
];
|
|
1201
1271
|
sharedState: {
|
|
1202
1272
|
showContextPanel: boolean | undefined;
|
|
@@ -1204,7 +1274,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1204
1274
|
actions: {
|
|
1205
1275
|
editSelectedExtension: () => boolean;
|
|
1206
1276
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
1207
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1277
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1208
1278
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1209
1279
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1210
1280
|
};
|
|
@@ -1212,27 +1282,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1212
1282
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1213
1283
|
dependencies: [
|
|
1214
1284
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1215
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1285
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1216
1286
|
sharedState: {
|
|
1217
1287
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1218
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1219
|
-
performanceTracking:
|
|
1288
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1289
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1220
1290
|
};
|
|
1221
1291
|
dependencies: [
|
|
1222
1292
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1223
|
-
pluginConfiguration:
|
|
1224
|
-
sharedState:
|
|
1225
|
-
},
|
|
1293
|
+
pluginConfiguration: FeatureFlags;
|
|
1294
|
+
sharedState: FeatureFlags;
|
|
1295
|
+
}, FeatureFlags>>
|
|
1226
1296
|
];
|
|
1227
1297
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1228
|
-
}, import("@atlaskit/editor-
|
|
1298
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1229
1299
|
];
|
|
1230
1300
|
actions: {
|
|
1231
1301
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1232
1302
|
};
|
|
1233
1303
|
}, undefined>,
|
|
1234
1304
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1235
|
-
sharedState: import("@atlaskit/editor-
|
|
1305
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1236
1306
|
}, undefined>,
|
|
1237
1307
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1238
1308
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -1247,15 +1317,15 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1247
1317
|
} | undefined>>
|
|
1248
1318
|
];
|
|
1249
1319
|
actions: {
|
|
1250
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
1320
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
1251
1321
|
};
|
|
1252
1322
|
sharedState: {
|
|
1253
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
1254
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
1323
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
1324
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
1255
1325
|
} | undefined;
|
|
1256
1326
|
}, undefined>,
|
|
1257
1327
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1258
|
-
sharedState: import("@atlaskit/editor-
|
|
1328
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1259
1329
|
}, undefined>,
|
|
1260
1330
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
1261
1331
|
sharedState: {
|
|
@@ -1263,46 +1333,46 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1263
1333
|
};
|
|
1264
1334
|
}, undefined>,
|
|
1265
1335
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1266
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1267
|
-
actions: import("@atlaskit/editor-
|
|
1336
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
1337
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1268
1338
|
commands: {
|
|
1269
1339
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1270
1340
|
};
|
|
1271
1341
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1272
|
-
}, import("@atlaskit/editor-
|
|
1342
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
1273
1343
|
];
|
|
1274
|
-
sharedState: import("@atlaskit/editor-
|
|
1344
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1275
1345
|
actions: {
|
|
1276
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
1346
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
1277
1347
|
};
|
|
1278
|
-
}, import("@atlaskit/editor-
|
|
1348
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
1279
1349
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1280
1350
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1281
1351
|
dependencies: [
|
|
1282
1352
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1283
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1353
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1284
1354
|
sharedState: {
|
|
1285
1355
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1286
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1287
|
-
performanceTracking:
|
|
1356
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1357
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1288
1358
|
};
|
|
1289
1359
|
dependencies: [
|
|
1290
1360
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1291
|
-
pluginConfiguration:
|
|
1292
|
-
sharedState:
|
|
1293
|
-
},
|
|
1361
|
+
pluginConfiguration: FeatureFlags;
|
|
1362
|
+
sharedState: FeatureFlags;
|
|
1363
|
+
}, FeatureFlags>>
|
|
1294
1364
|
];
|
|
1295
1365
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1296
|
-
}, import("@atlaskit/editor-
|
|
1366
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1297
1367
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1298
|
-
pluginConfiguration:
|
|
1299
|
-
sharedState:
|
|
1300
|
-
},
|
|
1368
|
+
pluginConfiguration: FeatureFlags;
|
|
1369
|
+
sharedState: FeatureFlags;
|
|
1370
|
+
}, FeatureFlags>>,
|
|
1301
1371
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1302
1372
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1303
1373
|
}, undefined>,
|
|
1304
1374
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1305
|
-
sharedState: import("@atlaskit/editor-
|
|
1375
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1306
1376
|
actions: {
|
|
1307
1377
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1308
1378
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1312,7 +1382,14 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1312
1382
|
actions: {
|
|
1313
1383
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1314
1384
|
};
|
|
1315
|
-
}, undefined
|
|
1385
|
+
}, undefined>>,
|
|
1386
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1387
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1388
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1389
|
+
commands: {
|
|
1390
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1391
|
+
};
|
|
1392
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
1316
1393
|
];
|
|
1317
1394
|
sharedState: {
|
|
1318
1395
|
showContextPanel: boolean | undefined;
|
|
@@ -1320,30 +1397,41 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1320
1397
|
actions: {
|
|
1321
1398
|
editSelectedExtension: () => boolean;
|
|
1322
1399
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
1323
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1400
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1324
1401
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1325
1402
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1326
1403
|
};
|
|
1327
1404
|
}, import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined>>,
|
|
1328
1405
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1329
1406
|
pluginConfiguration: AnnotationProviders | undefined;
|
|
1330
|
-
sharedState: import("@atlaskit/editor-
|
|
1407
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
1331
1408
|
dependencies: [
|
|
1332
1409
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1333
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1410
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1334
1411
|
sharedState: {
|
|
1335
1412
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1336
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1337
|
-
performanceTracking:
|
|
1413
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1414
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1338
1415
|
};
|
|
1339
1416
|
dependencies: [
|
|
1340
1417
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1341
|
-
pluginConfiguration:
|
|
1342
|
-
sharedState:
|
|
1343
|
-
},
|
|
1418
|
+
pluginConfiguration: FeatureFlags;
|
|
1419
|
+
sharedState: FeatureFlags;
|
|
1420
|
+
}, FeatureFlags>>
|
|
1344
1421
|
];
|
|
1345
1422
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1346
|
-
}, import("@atlaskit/editor-
|
|
1423
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1424
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1425
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1426
|
+
pluginConfiguration?: {
|
|
1427
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1428
|
+
} | undefined;
|
|
1429
|
+
commands: {
|
|
1430
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1431
|
+
};
|
|
1432
|
+
}, {
|
|
1433
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1434
|
+
} | undefined>>
|
|
1347
1435
|
];
|
|
1348
1436
|
actions: {
|
|
1349
1437
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -1351,33 +1439,33 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1351
1439
|
}, AnnotationProviders | undefined>>
|
|
1352
1440
|
];
|
|
1353
1441
|
sharedState: {
|
|
1354
|
-
lastContentPasted: import("@atlaskit/editor-
|
|
1442
|
+
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
1355
1443
|
};
|
|
1356
1444
|
}, PastePluginOptions>,
|
|
1357
1445
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
1358
|
-
actions: import("@atlaskit/editor-
|
|
1446
|
+
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
1359
1447
|
}, undefined>,
|
|
1360
1448
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1361
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1449
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1362
1450
|
sharedState: {
|
|
1363
1451
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1364
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1365
|
-
performanceTracking:
|
|
1452
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1453
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1366
1454
|
};
|
|
1367
1455
|
dependencies: [
|
|
1368
1456
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1369
|
-
pluginConfiguration:
|
|
1370
|
-
sharedState:
|
|
1371
|
-
},
|
|
1457
|
+
pluginConfiguration: FeatureFlags;
|
|
1458
|
+
sharedState: FeatureFlags;
|
|
1459
|
+
}, FeatureFlags>>
|
|
1372
1460
|
];
|
|
1373
1461
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1374
|
-
}, import("@atlaskit/editor-
|
|
1462
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1375
1463
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1376
|
-
pluginConfiguration:
|
|
1377
|
-
sharedState:
|
|
1378
|
-
},
|
|
1464
|
+
pluginConfiguration: FeatureFlags;
|
|
1465
|
+
sharedState: FeatureFlags;
|
|
1466
|
+
}, FeatureFlags>
|
|
1379
1467
|
]>;
|
|
1380
|
-
export declare function useDefaultPreset(props:
|
|
1468
|
+
export declare function useDefaultPreset(props: DefaultPresetPluginOptions): EditorPresetBuilder<[
|
|
1381
1469
|
"codeBlock",
|
|
1382
1470
|
"selection",
|
|
1383
1471
|
"floatingToolbar",
|
|
@@ -1399,6 +1487,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1399
1487
|
"typeAhead",
|
|
1400
1488
|
"decorations",
|
|
1401
1489
|
"base",
|
|
1490
|
+
"contextIdentifier",
|
|
1402
1491
|
"composition",
|
|
1403
1492
|
"focus",
|
|
1404
1493
|
"clipboard",
|
|
@@ -1411,51 +1500,51 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1411
1500
|
pluginConfiguration: CodeBlockOptions;
|
|
1412
1501
|
dependencies: [
|
|
1413
1502
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1414
|
-
sharedState: import("@atlaskit/editor-
|
|
1503
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1415
1504
|
actions: {
|
|
1416
1505
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1417
1506
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
1418
1507
|
};
|
|
1419
1508
|
}, undefined>,
|
|
1420
1509
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
1421
|
-
sharedState: import("@atlaskit/editor-
|
|
1510
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
1422
1511
|
}, undefined>,
|
|
1423
1512
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1424
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1513
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1425
1514
|
sharedState: {
|
|
1426
1515
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1427
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1428
|
-
performanceTracking:
|
|
1516
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1517
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1429
1518
|
};
|
|
1430
1519
|
dependencies: [
|
|
1431
1520
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1432
|
-
pluginConfiguration:
|
|
1433
|
-
sharedState:
|
|
1434
|
-
},
|
|
1521
|
+
pluginConfiguration: FeatureFlags;
|
|
1522
|
+
sharedState: FeatureFlags;
|
|
1523
|
+
}, FeatureFlags>>
|
|
1435
1524
|
];
|
|
1436
1525
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1437
|
-
}, import("@atlaskit/editor-
|
|
1526
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1438
1527
|
];
|
|
1439
1528
|
actions: {
|
|
1440
1529
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1441
1530
|
};
|
|
1442
1531
|
}, CodeBlockOptions>,
|
|
1443
1532
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1444
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1445
|
-
actions: import("@atlaskit/editor-
|
|
1533
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
1534
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1446
1535
|
commands: {
|
|
1447
1536
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1448
1537
|
};
|
|
1449
1538
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1450
|
-
}, import("@atlaskit/editor-
|
|
1539
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
1451
1540
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1452
1541
|
dependencies: [
|
|
1453
1542
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1454
|
-
pluginConfiguration:
|
|
1455
|
-
sharedState:
|
|
1456
|
-
},
|
|
1543
|
+
pluginConfiguration: FeatureFlags;
|
|
1544
|
+
sharedState: FeatureFlags;
|
|
1545
|
+
}, FeatureFlags>>,
|
|
1457
1546
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1458
|
-
sharedState: import("@atlaskit/editor-
|
|
1547
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1459
1548
|
actions: {
|
|
1460
1549
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1461
1550
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1470,29 +1559,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1470
1559
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1471
1560
|
dependencies: [
|
|
1472
1561
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1473
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1562
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1474
1563
|
sharedState: {
|
|
1475
1564
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1476
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1477
|
-
performanceTracking:
|
|
1565
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1566
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1478
1567
|
};
|
|
1479
1568
|
dependencies: [
|
|
1480
1569
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1481
|
-
pluginConfiguration:
|
|
1482
|
-
sharedState:
|
|
1483
|
-
},
|
|
1570
|
+
pluginConfiguration: FeatureFlags;
|
|
1571
|
+
sharedState: FeatureFlags;
|
|
1572
|
+
}, FeatureFlags>>
|
|
1484
1573
|
];
|
|
1485
1574
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1486
|
-
}, import("@atlaskit/editor-
|
|
1575
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1487
1576
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1488
|
-
pluginConfiguration:
|
|
1489
|
-
sharedState:
|
|
1490
|
-
},
|
|
1577
|
+
pluginConfiguration: FeatureFlags;
|
|
1578
|
+
sharedState: FeatureFlags;
|
|
1579
|
+
}, FeatureFlags>>,
|
|
1491
1580
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1492
1581
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1493
1582
|
}, undefined>,
|
|
1494
1583
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1495
|
-
sharedState: import("@atlaskit/editor-
|
|
1584
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1496
1585
|
actions: {
|
|
1497
1586
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1498
1587
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1502,7 +1591,14 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1502
1591
|
actions: {
|
|
1503
1592
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1504
1593
|
};
|
|
1505
|
-
}, undefined
|
|
1594
|
+
}, undefined>>,
|
|
1595
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1596
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1597
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1598
|
+
commands: {
|
|
1599
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1600
|
+
};
|
|
1601
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
1506
1602
|
];
|
|
1507
1603
|
sharedState: {
|
|
1508
1604
|
showContextPanel: boolean | undefined;
|
|
@@ -1510,7 +1606,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1510
1606
|
actions: {
|
|
1511
1607
|
editSelectedExtension: () => boolean;
|
|
1512
1608
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
1513
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1609
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1514
1610
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1515
1611
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1516
1612
|
};
|
|
@@ -1518,27 +1614,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1518
1614
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1519
1615
|
dependencies: [
|
|
1520
1616
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1521
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1617
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1522
1618
|
sharedState: {
|
|
1523
1619
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1524
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1525
|
-
performanceTracking:
|
|
1620
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1621
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1526
1622
|
};
|
|
1527
1623
|
dependencies: [
|
|
1528
1624
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1529
|
-
pluginConfiguration:
|
|
1530
|
-
sharedState:
|
|
1531
|
-
},
|
|
1625
|
+
pluginConfiguration: FeatureFlags;
|
|
1626
|
+
sharedState: FeatureFlags;
|
|
1627
|
+
}, FeatureFlags>>
|
|
1532
1628
|
];
|
|
1533
1629
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1534
|
-
}, import("@atlaskit/editor-
|
|
1630
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1535
1631
|
];
|
|
1536
1632
|
actions: {
|
|
1537
1633
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1538
1634
|
};
|
|
1539
1635
|
}, undefined>,
|
|
1540
1636
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1541
|
-
sharedState: import("@atlaskit/editor-
|
|
1637
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1542
1638
|
}, undefined>,
|
|
1543
1639
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1544
1640
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -1553,60 +1649,67 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1553
1649
|
} | undefined>>
|
|
1554
1650
|
];
|
|
1555
1651
|
actions: {
|
|
1556
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
1652
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
1557
1653
|
};
|
|
1558
1654
|
sharedState: {
|
|
1559
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
1560
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
1655
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
1656
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
1561
1657
|
} | undefined;
|
|
1562
1658
|
}, undefined>,
|
|
1563
1659
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1564
1660
|
dependencies: [
|
|
1565
1661
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1566
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1662
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1567
1663
|
sharedState: {
|
|
1568
1664
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1569
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1570
|
-
performanceTracking:
|
|
1665
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1666
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1571
1667
|
};
|
|
1572
1668
|
dependencies: [
|
|
1573
1669
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1574
|
-
pluginConfiguration:
|
|
1575
|
-
sharedState:
|
|
1576
|
-
},
|
|
1670
|
+
pluginConfiguration: FeatureFlags;
|
|
1671
|
+
sharedState: FeatureFlags;
|
|
1672
|
+
}, FeatureFlags>>
|
|
1577
1673
|
];
|
|
1578
1674
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1579
|
-
}, import("@atlaskit/editor-
|
|
1675
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1580
1676
|
];
|
|
1581
1677
|
actions: {
|
|
1582
1678
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1583
1679
|
};
|
|
1584
1680
|
}, undefined>,
|
|
1585
1681
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
1586
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1682
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined;
|
|
1587
1683
|
dependencies: [
|
|
1588
1684
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
1589
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1685
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
1590
1686
|
dependencies: [
|
|
1591
1687
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1592
|
-
pluginConfiguration:
|
|
1593
|
-
sharedState:
|
|
1594
|
-
},
|
|
1688
|
+
pluginConfiguration: FeatureFlags;
|
|
1689
|
+
sharedState: FeatureFlags;
|
|
1690
|
+
}, FeatureFlags>>,
|
|
1595
1691
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1596
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1692
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1597
1693
|
sharedState: {
|
|
1598
1694
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1599
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1600
|
-
performanceTracking:
|
|
1695
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1696
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1601
1697
|
};
|
|
1602
1698
|
dependencies: [
|
|
1603
1699
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1604
|
-
pluginConfiguration:
|
|
1605
|
-
sharedState:
|
|
1606
|
-
},
|
|
1700
|
+
pluginConfiguration: FeatureFlags;
|
|
1701
|
+
sharedState: FeatureFlags;
|
|
1702
|
+
}, FeatureFlags>>
|
|
1607
1703
|
];
|
|
1608
1704
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1609
|
-
}, import("@atlaskit/editor-
|
|
1705
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1706
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1707
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1708
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1709
|
+
commands: {
|
|
1710
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1711
|
+
};
|
|
1712
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
1610
1713
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
1611
1714
|
dependencies: [
|
|
1612
1715
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -1627,7 +1730,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1627
1730
|
];
|
|
1628
1731
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
1629
1732
|
actions: {
|
|
1630
|
-
displayGrid: (view:
|
|
1733
|
+
displayGrid: (view: EditorView) => (props: {
|
|
1631
1734
|
visible: boolean;
|
|
1632
1735
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
1633
1736
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -1638,7 +1741,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1638
1741
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1639
1742
|
}, undefined>,
|
|
1640
1743
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1641
|
-
sharedState: import("@atlaskit/editor-
|
|
1744
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1642
1745
|
actions: {
|
|
1643
1746
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1644
1747
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1647,11 +1750,11 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1647
1750
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1648
1751
|
dependencies: [
|
|
1649
1752
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1650
|
-
pluginConfiguration:
|
|
1651
|
-
sharedState:
|
|
1652
|
-
},
|
|
1753
|
+
pluginConfiguration: FeatureFlags;
|
|
1754
|
+
sharedState: FeatureFlags;
|
|
1755
|
+
}, FeatureFlags>>,
|
|
1653
1756
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1654
|
-
sharedState: import("@atlaskit/editor-
|
|
1757
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1655
1758
|
actions: {
|
|
1656
1759
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1657
1760
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1666,29 +1769,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1666
1769
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1667
1770
|
dependencies: [
|
|
1668
1771
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1669
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1772
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1670
1773
|
sharedState: {
|
|
1671
1774
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1672
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1673
|
-
performanceTracking:
|
|
1775
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1776
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1674
1777
|
};
|
|
1675
1778
|
dependencies: [
|
|
1676
1779
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1677
|
-
pluginConfiguration:
|
|
1678
|
-
sharedState:
|
|
1679
|
-
},
|
|
1780
|
+
pluginConfiguration: FeatureFlags;
|
|
1781
|
+
sharedState: FeatureFlags;
|
|
1782
|
+
}, FeatureFlags>>
|
|
1680
1783
|
];
|
|
1681
1784
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1682
|
-
}, import("@atlaskit/editor-
|
|
1785
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1683
1786
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1684
|
-
pluginConfiguration:
|
|
1685
|
-
sharedState:
|
|
1686
|
-
},
|
|
1787
|
+
pluginConfiguration: FeatureFlags;
|
|
1788
|
+
sharedState: FeatureFlags;
|
|
1789
|
+
}, FeatureFlags>>,
|
|
1687
1790
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1688
1791
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1689
1792
|
}, undefined>,
|
|
1690
1793
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1691
|
-
sharedState: import("@atlaskit/editor-
|
|
1794
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1692
1795
|
actions: {
|
|
1693
1796
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1694
1797
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1698,7 +1801,14 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1698
1801
|
actions: {
|
|
1699
1802
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1700
1803
|
};
|
|
1701
|
-
}, undefined
|
|
1804
|
+
}, undefined>>,
|
|
1805
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1806
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1807
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1808
|
+
commands: {
|
|
1809
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1810
|
+
};
|
|
1811
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
1702
1812
|
];
|
|
1703
1813
|
sharedState: {
|
|
1704
1814
|
showContextPanel: boolean | undefined;
|
|
@@ -1706,7 +1816,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1706
1816
|
actions: {
|
|
1707
1817
|
editSelectedExtension: () => boolean;
|
|
1708
1818
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
1709
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1819
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1710
1820
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1711
1821
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1712
1822
|
};
|
|
@@ -1714,27 +1824,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1714
1824
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1715
1825
|
dependencies: [
|
|
1716
1826
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1717
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1827
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1718
1828
|
sharedState: {
|
|
1719
1829
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1720
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1721
|
-
performanceTracking:
|
|
1830
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1831
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1722
1832
|
};
|
|
1723
1833
|
dependencies: [
|
|
1724
1834
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1725
|
-
pluginConfiguration:
|
|
1726
|
-
sharedState:
|
|
1727
|
-
},
|
|
1835
|
+
pluginConfiguration: FeatureFlags;
|
|
1836
|
+
sharedState: FeatureFlags;
|
|
1837
|
+
}, FeatureFlags>>
|
|
1728
1838
|
];
|
|
1729
1839
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1730
|
-
}, import("@atlaskit/editor-
|
|
1840
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1731
1841
|
];
|
|
1732
1842
|
actions: {
|
|
1733
1843
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1734
1844
|
};
|
|
1735
1845
|
}, undefined>,
|
|
1736
1846
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1737
|
-
sharedState: import("@atlaskit/editor-
|
|
1847
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1738
1848
|
}, undefined>,
|
|
1739
1849
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1740
1850
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -1749,15 +1859,15 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1749
1859
|
} | undefined>>
|
|
1750
1860
|
];
|
|
1751
1861
|
actions: {
|
|
1752
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
1862
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
1753
1863
|
};
|
|
1754
1864
|
sharedState: {
|
|
1755
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
1756
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
1865
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
1866
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
1757
1867
|
} | undefined;
|
|
1758
1868
|
}, undefined>,
|
|
1759
1869
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1760
|
-
sharedState: import("@atlaskit/editor-
|
|
1870
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1761
1871
|
}, undefined>,
|
|
1762
1872
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
1763
1873
|
sharedState: {
|
|
@@ -1765,23 +1875,23 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1765
1875
|
};
|
|
1766
1876
|
}, undefined>,
|
|
1767
1877
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1768
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1769
|
-
actions: import("@atlaskit/editor-
|
|
1878
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
1879
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1770
1880
|
commands: {
|
|
1771
1881
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1772
1882
|
};
|
|
1773
1883
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1774
|
-
}, import("@atlaskit/editor-
|
|
1884
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
1775
1885
|
];
|
|
1776
|
-
sharedState: import("@atlaskit/editor-
|
|
1886
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1777
1887
|
actions: {
|
|
1778
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
1888
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
1779
1889
|
};
|
|
1780
|
-
}, import("@atlaskit/editor-
|
|
1890
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
1781
1891
|
];
|
|
1782
|
-
}, import("@atlaskit/editor-
|
|
1892
|
+
}, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>,
|
|
1783
1893
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1784
|
-
sharedState: import("@atlaskit/editor-
|
|
1894
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1785
1895
|
}, undefined>,
|
|
1786
1896
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>,
|
|
1787
1897
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
@@ -1793,42 +1903,42 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1793
1903
|
};
|
|
1794
1904
|
}, undefined>,
|
|
1795
1905
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
1796
|
-
sharedState: import("@atlaskit/editor-
|
|
1906
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
1797
1907
|
}, undefined>,
|
|
1798
1908
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
1799
1909
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
1800
1910
|
dependencies: [
|
|
1801
1911
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1802
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1912
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1803
1913
|
sharedState: {
|
|
1804
1914
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1805
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1806
|
-
performanceTracking:
|
|
1915
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1916
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1807
1917
|
};
|
|
1808
1918
|
dependencies: [
|
|
1809
1919
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1810
|
-
pluginConfiguration:
|
|
1811
|
-
sharedState:
|
|
1812
|
-
},
|
|
1920
|
+
pluginConfiguration: FeatureFlags;
|
|
1921
|
+
sharedState: FeatureFlags;
|
|
1922
|
+
}, FeatureFlags>>
|
|
1813
1923
|
];
|
|
1814
1924
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1815
|
-
}, import("@atlaskit/editor-
|
|
1925
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1816
1926
|
];
|
|
1817
|
-
sharedState: import("@atlaskit/editor-
|
|
1927
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1818
1928
|
actions: {
|
|
1819
1929
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1820
1930
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1821
1931
|
insert: (props: {
|
|
1822
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1823
|
-
contentItem: import("@atlaskit/editor-common/
|
|
1932
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1933
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
1824
1934
|
query: string;
|
|
1825
|
-
sourceListItem: import("@atlaskit/editor-common/
|
|
1935
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
1826
1936
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1827
1937
|
}) => boolean;
|
|
1828
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
1938
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1829
1939
|
open: (props: {
|
|
1830
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1831
|
-
inputMethod: import("@atlaskit/editor-
|
|
1940
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1941
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
1832
1942
|
query?: string | undefined;
|
|
1833
1943
|
}) => boolean;
|
|
1834
1944
|
close: (props: {
|
|
@@ -1836,8 +1946,8 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1836
1946
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1837
1947
|
}) => boolean;
|
|
1838
1948
|
openAtTransaction: (props: {
|
|
1839
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1840
|
-
inputMethod: import("@atlaskit/editor-
|
|
1949
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1950
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
1841
1951
|
query?: string | undefined;
|
|
1842
1952
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1843
1953
|
};
|
|
@@ -1851,36 +1961,36 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1851
1961
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
1852
1962
|
dependencies: [
|
|
1853
1963
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1854
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1964
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1855
1965
|
sharedState: {
|
|
1856
1966
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1857
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1858
|
-
performanceTracking:
|
|
1967
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1968
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1859
1969
|
};
|
|
1860
1970
|
dependencies: [
|
|
1861
1971
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1862
|
-
pluginConfiguration:
|
|
1863
|
-
sharedState:
|
|
1864
|
-
},
|
|
1972
|
+
pluginConfiguration: FeatureFlags;
|
|
1973
|
+
sharedState: FeatureFlags;
|
|
1974
|
+
}, FeatureFlags>>
|
|
1865
1975
|
];
|
|
1866
1976
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1867
|
-
}, import("@atlaskit/editor-
|
|
1977
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1868
1978
|
];
|
|
1869
|
-
sharedState: import("@atlaskit/editor-
|
|
1979
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1870
1980
|
actions: {
|
|
1871
1981
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1872
1982
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1873
1983
|
insert: (props: {
|
|
1874
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1875
|
-
contentItem: import("@atlaskit/editor-common/
|
|
1984
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1985
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
1876
1986
|
query: string;
|
|
1877
|
-
sourceListItem: import("@atlaskit/editor-common/
|
|
1987
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
1878
1988
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1879
1989
|
}) => boolean;
|
|
1880
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
1990
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1881
1991
|
open: (props: {
|
|
1882
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1883
|
-
inputMethod: import("@atlaskit/editor-
|
|
1992
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1993
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
1884
1994
|
query?: string | undefined;
|
|
1885
1995
|
}) => boolean;
|
|
1886
1996
|
close: (props: {
|
|
@@ -1888,16 +1998,16 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1888
1998
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1889
1999
|
}) => boolean;
|
|
1890
2000
|
openAtTransaction: (props: {
|
|
1891
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1892
|
-
inputMethod: import("@atlaskit/editor-
|
|
2001
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2002
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
1893
2003
|
query?: string | undefined;
|
|
1894
2004
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1895
2005
|
};
|
|
1896
2006
|
}, TypeAheadPluginOptions | undefined>
|
|
1897
2007
|
];
|
|
1898
|
-
sharedState: import("@atlaskit/editor-
|
|
2008
|
+
sharedState: import("@atlaskit/editor-plugins/quick-insert").QuickInsertSharedState | null;
|
|
1899
2009
|
actions: {
|
|
1900
|
-
openTypeAhead: (inputMethod: import("@atlaskit/editor-
|
|
2010
|
+
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
1901
2011
|
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
1902
2012
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
1903
2013
|
};
|
|
@@ -1912,29 +2022,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1912
2022
|
pluginConfiguration: TextFormattingOptions | undefined;
|
|
1913
2023
|
dependencies: [
|
|
1914
2024
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1915
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2025
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1916
2026
|
sharedState: {
|
|
1917
2027
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1918
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1919
|
-
performanceTracking:
|
|
2028
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2029
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1920
2030
|
};
|
|
1921
2031
|
dependencies: [
|
|
1922
2032
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1923
|
-
pluginConfiguration:
|
|
1924
|
-
sharedState:
|
|
1925
|
-
},
|
|
2033
|
+
pluginConfiguration: FeatureFlags;
|
|
2034
|
+
sharedState: FeatureFlags;
|
|
2035
|
+
}, FeatureFlags>>
|
|
1926
2036
|
];
|
|
1927
2037
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1928
|
-
}, import("@atlaskit/editor-
|
|
2038
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1929
2039
|
];
|
|
1930
2040
|
commands: {
|
|
1931
|
-
toggleSuperscript: import("@atlaskit/editor-
|
|
1932
|
-
toggleSubscript: import("@atlaskit/editor-
|
|
1933
|
-
toggleStrike: import("@atlaskit/editor-
|
|
1934
|
-
toggleCode: import("@atlaskit/editor-
|
|
1935
|
-
toggleUnderline: import("@atlaskit/editor-
|
|
1936
|
-
toggleEm: import("@atlaskit/editor-
|
|
1937
|
-
toggleStrong: import("@atlaskit/editor-
|
|
2041
|
+
toggleSuperscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
2042
|
+
toggleSubscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
2043
|
+
toggleStrike: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
2044
|
+
toggleCode: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
2045
|
+
toggleUnderline: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
2046
|
+
toggleEm: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
2047
|
+
toggleStrong: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
1938
2048
|
};
|
|
1939
2049
|
sharedState: import("@atlaskit/editor-common/types").TextFormattingState | undefined;
|
|
1940
2050
|
}, TextFormattingOptions | undefined>,
|
|
@@ -1942,29 +2052,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1942
2052
|
pluginConfiguration: HyperlinkPluginOptions | undefined;
|
|
1943
2053
|
dependencies: [
|
|
1944
2054
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1945
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2055
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1946
2056
|
sharedState: {
|
|
1947
2057
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1948
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1949
|
-
performanceTracking:
|
|
2058
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2059
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1950
2060
|
};
|
|
1951
2061
|
dependencies: [
|
|
1952
2062
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1953
|
-
pluginConfiguration:
|
|
1954
|
-
sharedState:
|
|
1955
|
-
},
|
|
2063
|
+
pluginConfiguration: FeatureFlags;
|
|
2064
|
+
sharedState: FeatureFlags;
|
|
2065
|
+
}, FeatureFlags>>
|
|
1956
2066
|
];
|
|
1957
2067
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1958
|
-
}, import("@atlaskit/editor-
|
|
2068
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1959
2069
|
];
|
|
1960
2070
|
actions: {
|
|
1961
|
-
prependToolbarButtons: import("@atlaskit/editor-
|
|
1962
|
-
hideLinkToolbar: import("@atlaskit/editor-
|
|
1963
|
-
insertLink: import("@atlaskit/editor-
|
|
1964
|
-
updateLink: import("@atlaskit/editor-
|
|
2071
|
+
prependToolbarButtons: import("@atlaskit/editor-plugins/hyperlink").PrependToolbarButtons;
|
|
2072
|
+
hideLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").HideLinkToolbar;
|
|
2073
|
+
insertLink: import("@atlaskit/editor-plugins/hyperlink").InsertLink;
|
|
2074
|
+
updateLink: import("@atlaskit/editor-plugins/hyperlink").UpdateLink;
|
|
1965
2075
|
};
|
|
1966
2076
|
commands: {
|
|
1967
|
-
showLinkToolbar: import("@atlaskit/editor-
|
|
2077
|
+
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
1968
2078
|
};
|
|
1969
2079
|
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
1970
2080
|
}, HyperlinkPluginOptions | undefined>,
|
|
@@ -1990,23 +2100,34 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1990
2100
|
}>>,
|
|
1991
2101
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1992
2102
|
pluginConfiguration: AnnotationProviders | undefined;
|
|
1993
|
-
sharedState: import("@atlaskit/editor-
|
|
2103
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
1994
2104
|
dependencies: [
|
|
1995
2105
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1996
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2106
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1997
2107
|
sharedState: {
|
|
1998
2108
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1999
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2000
|
-
performanceTracking:
|
|
2109
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2110
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2001
2111
|
};
|
|
2002
2112
|
dependencies: [
|
|
2003
2113
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2004
|
-
pluginConfiguration:
|
|
2005
|
-
sharedState:
|
|
2006
|
-
},
|
|
2114
|
+
pluginConfiguration: FeatureFlags;
|
|
2115
|
+
sharedState: FeatureFlags;
|
|
2116
|
+
}, FeatureFlags>>
|
|
2007
2117
|
];
|
|
2008
2118
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2009
|
-
}, import("@atlaskit/editor-
|
|
2119
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2120
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2121
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2122
|
+
pluginConfiguration?: {
|
|
2123
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2124
|
+
} | undefined;
|
|
2125
|
+
commands: {
|
|
2126
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2127
|
+
};
|
|
2128
|
+
}, {
|
|
2129
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2130
|
+
} | undefined>>
|
|
2010
2131
|
];
|
|
2011
2132
|
actions: {
|
|
2012
2133
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -2017,27 +2138,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2017
2138
|
pluginConfiguration: BlockTypePluginOptions | undefined;
|
|
2018
2139
|
dependencies: [
|
|
2019
2140
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2020
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2141
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2021
2142
|
sharedState: {
|
|
2022
2143
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2023
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2024
|
-
performanceTracking:
|
|
2144
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2145
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2025
2146
|
};
|
|
2026
2147
|
dependencies: [
|
|
2027
2148
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2028
|
-
pluginConfiguration:
|
|
2029
|
-
sharedState:
|
|
2030
|
-
},
|
|
2149
|
+
pluginConfiguration: FeatureFlags;
|
|
2150
|
+
sharedState: FeatureFlags;
|
|
2151
|
+
}, FeatureFlags>>
|
|
2031
2152
|
];
|
|
2032
2153
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2033
|
-
}, import("@atlaskit/editor-
|
|
2154
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2034
2155
|
];
|
|
2035
|
-
sharedState: import("@atlaskit/editor-
|
|
2156
|
+
sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
|
|
2036
2157
|
actions: {
|
|
2037
|
-
insertBlockQuote: (inputMethod: import("@atlaskit/editor-
|
|
2158
|
+
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2038
2159
|
};
|
|
2039
2160
|
commands: {
|
|
2040
|
-
setTextLevel: (level: import("@atlaskit/editor-
|
|
2161
|
+
setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2041
2162
|
};
|
|
2042
2163
|
}, BlockTypePluginOptions | undefined>,
|
|
2043
2164
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
|
|
@@ -2046,36 +2167,36 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2046
2167
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
2047
2168
|
dependencies: [
|
|
2048
2169
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2049
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2170
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2050
2171
|
sharedState: {
|
|
2051
2172
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2052
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2053
|
-
performanceTracking:
|
|
2173
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2174
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2054
2175
|
};
|
|
2055
2176
|
dependencies: [
|
|
2056
2177
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2057
|
-
pluginConfiguration:
|
|
2058
|
-
sharedState:
|
|
2059
|
-
},
|
|
2178
|
+
pluginConfiguration: FeatureFlags;
|
|
2179
|
+
sharedState: FeatureFlags;
|
|
2180
|
+
}, FeatureFlags>>
|
|
2060
2181
|
];
|
|
2061
2182
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2062
|
-
}, import("@atlaskit/editor-
|
|
2183
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2063
2184
|
];
|
|
2064
|
-
sharedState: import("@atlaskit/editor-
|
|
2185
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2065
2186
|
actions: {
|
|
2066
2187
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2067
2188
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2068
2189
|
insert: (props: {
|
|
2069
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2070
|
-
contentItem: import("@atlaskit/editor-common/
|
|
2190
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2191
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
2071
2192
|
query: string;
|
|
2072
|
-
sourceListItem: import("@atlaskit/editor-common/
|
|
2193
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
2073
2194
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
2074
2195
|
}) => boolean;
|
|
2075
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
2196
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
2076
2197
|
open: (props: {
|
|
2077
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2078
|
-
inputMethod: import("@atlaskit/editor-
|
|
2198
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2199
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
2079
2200
|
query?: string | undefined;
|
|
2080
2201
|
}) => boolean;
|
|
2081
2202
|
close: (props: {
|
|
@@ -2083,54 +2204,54 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2083
2204
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
2084
2205
|
}) => boolean;
|
|
2085
2206
|
openAtTransaction: (props: {
|
|
2086
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2087
|
-
inputMethod: import("@atlaskit/editor-
|
|
2207
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2208
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
2088
2209
|
query?: string | undefined;
|
|
2089
2210
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2090
2211
|
};
|
|
2091
2212
|
}, TypeAheadPluginOptions | undefined>,
|
|
2092
2213
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
2093
|
-
sharedState: import("@atlaskit/editor-
|
|
2214
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
|
|
2094
2215
|
}, undefined>
|
|
2095
2216
|
];
|
|
2096
2217
|
}, undefined>>,
|
|
2097
2218
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
2098
|
-
sharedState: import("@atlaskit/editor-
|
|
2219
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
|
|
2099
2220
|
}, undefined>>,
|
|
2100
2221
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
2101
2222
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
2102
2223
|
dependencies: [
|
|
2103
2224
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2104
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2225
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2105
2226
|
sharedState: {
|
|
2106
2227
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2107
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2108
|
-
performanceTracking:
|
|
2228
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2229
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2109
2230
|
};
|
|
2110
2231
|
dependencies: [
|
|
2111
2232
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2112
|
-
pluginConfiguration:
|
|
2113
|
-
sharedState:
|
|
2114
|
-
},
|
|
2233
|
+
pluginConfiguration: FeatureFlags;
|
|
2234
|
+
sharedState: FeatureFlags;
|
|
2235
|
+
}, FeatureFlags>>
|
|
2115
2236
|
];
|
|
2116
2237
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2117
|
-
}, import("@atlaskit/editor-
|
|
2238
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2118
2239
|
];
|
|
2119
|
-
sharedState: import("@atlaskit/editor-
|
|
2240
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2120
2241
|
actions: {
|
|
2121
2242
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2122
2243
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2123
2244
|
insert: (props: {
|
|
2124
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2125
|
-
contentItem: import("@atlaskit/editor-common/
|
|
2245
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2246
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
2126
2247
|
query: string;
|
|
2127
|
-
sourceListItem: import("@atlaskit/editor-common/
|
|
2248
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
2128
2249
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
2129
2250
|
}) => boolean;
|
|
2130
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
2251
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
2131
2252
|
open: (props: {
|
|
2132
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2133
|
-
inputMethod: import("@atlaskit/editor-
|
|
2253
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2254
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
2134
2255
|
query?: string | undefined;
|
|
2135
2256
|
}) => boolean;
|
|
2136
2257
|
close: (props: {
|
|
@@ -2138,14 +2259,14 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2138
2259
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
2139
2260
|
}) => boolean;
|
|
2140
2261
|
openAtTransaction: (props: {
|
|
2141
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2142
|
-
inputMethod: import("@atlaskit/editor-
|
|
2262
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2263
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
2143
2264
|
query?: string | undefined;
|
|
2144
2265
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2145
2266
|
};
|
|
2146
2267
|
}, TypeAheadPluginOptions | undefined>,
|
|
2147
2268
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2148
|
-
sharedState: import("@atlaskit/editor-
|
|
2269
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2149
2270
|
actions: {
|
|
2150
2271
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2151
2272
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2155,17 +2276,31 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2155
2276
|
pluginConfiguration: BasePluginOptions | undefined;
|
|
2156
2277
|
dependencies: [
|
|
2157
2278
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2158
|
-
pluginConfiguration:
|
|
2159
|
-
sharedState:
|
|
2160
|
-
},
|
|
2279
|
+
pluginConfiguration: FeatureFlags;
|
|
2280
|
+
sharedState: FeatureFlags;
|
|
2281
|
+
}, FeatureFlags>>,
|
|
2282
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2283
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2284
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2285
|
+
commands: {
|
|
2286
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2287
|
+
};
|
|
2288
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
2161
2289
|
];
|
|
2162
|
-
sharedState: import("@atlaskit/editor-
|
|
2290
|
+
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
2163
2291
|
actions: {
|
|
2164
2292
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
2165
2293
|
};
|
|
2166
2294
|
}, BasePluginOptions | undefined>,
|
|
2295
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2296
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2297
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2298
|
+
commands: {
|
|
2299
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2300
|
+
};
|
|
2301
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>,
|
|
2167
2302
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
2168
|
-
sharedState: import("@atlaskit/editor-
|
|
2303
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
2169
2304
|
}, undefined>,
|
|
2170
2305
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2171
2306
|
sharedState: {
|
|
@@ -2177,30 +2312,30 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2177
2312
|
pluginConfiguration: PastePluginOptions;
|
|
2178
2313
|
dependencies: [
|
|
2179
2314
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2180
|
-
pluginConfiguration:
|
|
2181
|
-
sharedState:
|
|
2182
|
-
},
|
|
2315
|
+
pluginConfiguration: FeatureFlags;
|
|
2316
|
+
sharedState: FeatureFlags;
|
|
2317
|
+
}, FeatureFlags>>,
|
|
2183
2318
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
|
|
2184
2319
|
dependencies: [
|
|
2185
2320
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2186
|
-
pluginConfiguration:
|
|
2187
|
-
sharedState:
|
|
2188
|
-
},
|
|
2321
|
+
pluginConfiguration: FeatureFlags;
|
|
2322
|
+
sharedState: FeatureFlags;
|
|
2323
|
+
}, FeatureFlags>>,
|
|
2189
2324
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2190
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2325
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2191
2326
|
sharedState: {
|
|
2192
2327
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2193
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2194
|
-
performanceTracking:
|
|
2328
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2329
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2195
2330
|
};
|
|
2196
2331
|
dependencies: [
|
|
2197
2332
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2198
|
-
pluginConfiguration:
|
|
2199
|
-
sharedState:
|
|
2200
|
-
},
|
|
2333
|
+
pluginConfiguration: FeatureFlags;
|
|
2334
|
+
sharedState: FeatureFlags;
|
|
2335
|
+
}, FeatureFlags>>
|
|
2201
2336
|
];
|
|
2202
2337
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2203
|
-
}, import("@atlaskit/editor-
|
|
2338
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2204
2339
|
];
|
|
2205
2340
|
actions: {
|
|
2206
2341
|
isInsideListItem: import("@atlaskit/editor-plugin-list").IsInsideListItem;
|
|
@@ -2215,35 +2350,35 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2215
2350
|
sharedState: import("@atlaskit/editor-plugin-list").ListState | undefined;
|
|
2216
2351
|
}, undefined>>,
|
|
2217
2352
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
2218
|
-
actions: import("@atlaskit/editor-
|
|
2353
|
+
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
2219
2354
|
}, undefined>,
|
|
2220
2355
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
2221
2356
|
pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
|
|
2222
2357
|
dependencies: [
|
|
2223
2358
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2224
|
-
pluginConfiguration:
|
|
2225
|
-
sharedState:
|
|
2226
|
-
},
|
|
2359
|
+
pluginConfiguration: FeatureFlags;
|
|
2360
|
+
sharedState: FeatureFlags;
|
|
2361
|
+
}, FeatureFlags>>,
|
|
2227
2362
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2228
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2363
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2229
2364
|
sharedState: {
|
|
2230
2365
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2231
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2232
|
-
performanceTracking:
|
|
2366
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2367
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2233
2368
|
};
|
|
2234
2369
|
dependencies: [
|
|
2235
2370
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2236
|
-
pluginConfiguration:
|
|
2237
|
-
sharedState:
|
|
2238
|
-
},
|
|
2371
|
+
pluginConfiguration: FeatureFlags;
|
|
2372
|
+
sharedState: FeatureFlags;
|
|
2373
|
+
}, FeatureFlags>>
|
|
2239
2374
|
];
|
|
2240
2375
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2241
|
-
}, import("@atlaskit/editor-
|
|
2376
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2242
2377
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2243
2378
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2244
2379
|
}, undefined>,
|
|
2245
2380
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2246
|
-
sharedState: import("@atlaskit/editor-
|
|
2381
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2247
2382
|
actions: {
|
|
2248
2383
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2249
2384
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2258,7 +2393,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2258
2393
|
];
|
|
2259
2394
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
2260
2395
|
actions: {
|
|
2261
|
-
displayGrid: (view:
|
|
2396
|
+
displayGrid: (view: EditorView) => (props: {
|
|
2262
2397
|
visible: boolean;
|
|
2263
2398
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
2264
2399
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -2268,11 +2403,11 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2268
2403
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2269
2404
|
dependencies: [
|
|
2270
2405
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2271
|
-
pluginConfiguration:
|
|
2272
|
-
sharedState:
|
|
2273
|
-
},
|
|
2406
|
+
pluginConfiguration: FeatureFlags;
|
|
2407
|
+
sharedState: FeatureFlags;
|
|
2408
|
+
}, FeatureFlags>>,
|
|
2274
2409
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2275
|
-
sharedState: import("@atlaskit/editor-
|
|
2410
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2276
2411
|
actions: {
|
|
2277
2412
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2278
2413
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2287,29 +2422,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2287
2422
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
2288
2423
|
dependencies: [
|
|
2289
2424
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2290
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2425
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2291
2426
|
sharedState: {
|
|
2292
2427
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2293
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2294
|
-
performanceTracking:
|
|
2428
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2429
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2295
2430
|
};
|
|
2296
2431
|
dependencies: [
|
|
2297
2432
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2298
|
-
pluginConfiguration:
|
|
2299
|
-
sharedState:
|
|
2300
|
-
},
|
|
2433
|
+
pluginConfiguration: FeatureFlags;
|
|
2434
|
+
sharedState: FeatureFlags;
|
|
2435
|
+
}, FeatureFlags>>
|
|
2301
2436
|
];
|
|
2302
2437
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2303
|
-
}, import("@atlaskit/editor-
|
|
2438
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2304
2439
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2305
|
-
pluginConfiguration:
|
|
2306
|
-
sharedState:
|
|
2307
|
-
},
|
|
2440
|
+
pluginConfiguration: FeatureFlags;
|
|
2441
|
+
sharedState: FeatureFlags;
|
|
2442
|
+
}, FeatureFlags>>,
|
|
2308
2443
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2309
2444
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2310
2445
|
}, undefined>,
|
|
2311
2446
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2312
|
-
sharedState: import("@atlaskit/editor-
|
|
2447
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2313
2448
|
actions: {
|
|
2314
2449
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2315
2450
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2319,7 +2454,14 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2319
2454
|
actions: {
|
|
2320
2455
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2321
2456
|
};
|
|
2322
|
-
}, undefined
|
|
2457
|
+
}, undefined>>,
|
|
2458
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2459
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2460
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2461
|
+
commands: {
|
|
2462
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2463
|
+
};
|
|
2464
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
2323
2465
|
];
|
|
2324
2466
|
sharedState: {
|
|
2325
2467
|
showContextPanel: boolean | undefined;
|
|
@@ -2327,7 +2469,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2327
2469
|
actions: {
|
|
2328
2470
|
editSelectedExtension: () => boolean;
|
|
2329
2471
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
2330
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
2472
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
2331
2473
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
2332
2474
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2333
2475
|
};
|
|
@@ -2335,27 +2477,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2335
2477
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
2336
2478
|
dependencies: [
|
|
2337
2479
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2338
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2480
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2339
2481
|
sharedState: {
|
|
2340
2482
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2341
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2342
|
-
performanceTracking:
|
|
2483
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2484
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2343
2485
|
};
|
|
2344
2486
|
dependencies: [
|
|
2345
2487
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2346
|
-
pluginConfiguration:
|
|
2347
|
-
sharedState:
|
|
2348
|
-
},
|
|
2488
|
+
pluginConfiguration: FeatureFlags;
|
|
2489
|
+
sharedState: FeatureFlags;
|
|
2490
|
+
}, FeatureFlags>>
|
|
2349
2491
|
];
|
|
2350
2492
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2351
|
-
}, import("@atlaskit/editor-
|
|
2493
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2352
2494
|
];
|
|
2353
2495
|
actions: {
|
|
2354
2496
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
2355
2497
|
};
|
|
2356
2498
|
}, undefined>,
|
|
2357
2499
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2358
|
-
sharedState: import("@atlaskit/editor-
|
|
2500
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2359
2501
|
}, undefined>,
|
|
2360
2502
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2361
2503
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -2370,40 +2512,40 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2370
2512
|
} | undefined>>
|
|
2371
2513
|
];
|
|
2372
2514
|
actions: {
|
|
2373
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
2515
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
2374
2516
|
};
|
|
2375
2517
|
sharedState: {
|
|
2376
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
2377
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
2518
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
2519
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
2378
2520
|
} | undefined;
|
|
2379
2521
|
}, undefined>,
|
|
2380
2522
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
2381
2523
|
pluginConfiguration: HyperlinkPluginOptions | undefined;
|
|
2382
2524
|
dependencies: [
|
|
2383
2525
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2384
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2526
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2385
2527
|
sharedState: {
|
|
2386
2528
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2387
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2388
|
-
performanceTracking:
|
|
2529
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2530
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2389
2531
|
};
|
|
2390
2532
|
dependencies: [
|
|
2391
2533
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2392
|
-
pluginConfiguration:
|
|
2393
|
-
sharedState:
|
|
2394
|
-
},
|
|
2534
|
+
pluginConfiguration: FeatureFlags;
|
|
2535
|
+
sharedState: FeatureFlags;
|
|
2536
|
+
}, FeatureFlags>>
|
|
2395
2537
|
];
|
|
2396
2538
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2397
|
-
}, import("@atlaskit/editor-
|
|
2539
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2398
2540
|
];
|
|
2399
2541
|
actions: {
|
|
2400
|
-
prependToolbarButtons: import("@atlaskit/editor-
|
|
2401
|
-
hideLinkToolbar: import("@atlaskit/editor-
|
|
2402
|
-
insertLink: import("@atlaskit/editor-
|
|
2403
|
-
updateLink: import("@atlaskit/editor-
|
|
2542
|
+
prependToolbarButtons: import("@atlaskit/editor-plugins/hyperlink").PrependToolbarButtons;
|
|
2543
|
+
hideLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").HideLinkToolbar;
|
|
2544
|
+
insertLink: import("@atlaskit/editor-plugins/hyperlink").InsertLink;
|
|
2545
|
+
updateLink: import("@atlaskit/editor-plugins/hyperlink").UpdateLink;
|
|
2404
2546
|
};
|
|
2405
2547
|
commands: {
|
|
2406
|
-
showLinkToolbar: import("@atlaskit/editor-
|
|
2548
|
+
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
2407
2549
|
};
|
|
2408
2550
|
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
2409
2551
|
}, HyperlinkPluginOptions | undefined>
|
|
@@ -2412,42 +2554,49 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2412
2554
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
2413
2555
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions>>,
|
|
2414
2556
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2415
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2557
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2416
2558
|
sharedState: {
|
|
2417
2559
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2418
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2419
|
-
performanceTracking:
|
|
2560
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2561
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2420
2562
|
};
|
|
2421
2563
|
dependencies: [
|
|
2422
2564
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2423
|
-
pluginConfiguration:
|
|
2424
|
-
sharedState:
|
|
2425
|
-
},
|
|
2565
|
+
pluginConfiguration: FeatureFlags;
|
|
2566
|
+
sharedState: FeatureFlags;
|
|
2567
|
+
}, FeatureFlags>>
|
|
2426
2568
|
];
|
|
2427
2569
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2428
|
-
}, import("@atlaskit/editor-
|
|
2570
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2429
2571
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
2430
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2572
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
2431
2573
|
dependencies: [
|
|
2432
2574
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2433
|
-
pluginConfiguration:
|
|
2434
|
-
sharedState:
|
|
2435
|
-
},
|
|
2575
|
+
pluginConfiguration: FeatureFlags;
|
|
2576
|
+
sharedState: FeatureFlags;
|
|
2577
|
+
}, FeatureFlags>>,
|
|
2436
2578
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2437
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2579
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2438
2580
|
sharedState: {
|
|
2439
2581
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2440
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2441
|
-
performanceTracking:
|
|
2582
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2583
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2442
2584
|
};
|
|
2443
2585
|
dependencies: [
|
|
2444
2586
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2445
|
-
pluginConfiguration:
|
|
2446
|
-
sharedState:
|
|
2447
|
-
},
|
|
2587
|
+
pluginConfiguration: FeatureFlags;
|
|
2588
|
+
sharedState: FeatureFlags;
|
|
2589
|
+
}, FeatureFlags>>
|
|
2448
2590
|
];
|
|
2449
2591
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2450
|
-
}, import("@atlaskit/editor-
|
|
2592
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2593
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2594
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2595
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2596
|
+
commands: {
|
|
2597
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2598
|
+
};
|
|
2599
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
2451
2600
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
2452
2601
|
dependencies: [
|
|
2453
2602
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -2468,7 +2617,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2468
2617
|
];
|
|
2469
2618
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
2470
2619
|
actions: {
|
|
2471
|
-
displayGrid: (view:
|
|
2620
|
+
displayGrid: (view: EditorView) => (props: {
|
|
2472
2621
|
visible: boolean;
|
|
2473
2622
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
2474
2623
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -2479,7 +2628,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2479
2628
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2480
2629
|
}, undefined>,
|
|
2481
2630
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2482
|
-
sharedState: import("@atlaskit/editor-
|
|
2631
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2483
2632
|
actions: {
|
|
2484
2633
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2485
2634
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2488,11 +2637,11 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2488
2637
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2489
2638
|
dependencies: [
|
|
2490
2639
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2491
|
-
pluginConfiguration:
|
|
2492
|
-
sharedState:
|
|
2493
|
-
},
|
|
2640
|
+
pluginConfiguration: FeatureFlags;
|
|
2641
|
+
sharedState: FeatureFlags;
|
|
2642
|
+
}, FeatureFlags>>,
|
|
2494
2643
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2495
|
-
sharedState: import("@atlaskit/editor-
|
|
2644
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2496
2645
|
actions: {
|
|
2497
2646
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2498
2647
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2507,29 +2656,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2507
2656
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
2508
2657
|
dependencies: [
|
|
2509
2658
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2510
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2659
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2511
2660
|
sharedState: {
|
|
2512
2661
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2513
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2514
|
-
performanceTracking:
|
|
2662
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2663
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2515
2664
|
};
|
|
2516
2665
|
dependencies: [
|
|
2517
2666
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2518
|
-
pluginConfiguration:
|
|
2519
|
-
sharedState:
|
|
2520
|
-
},
|
|
2667
|
+
pluginConfiguration: FeatureFlags;
|
|
2668
|
+
sharedState: FeatureFlags;
|
|
2669
|
+
}, FeatureFlags>>
|
|
2521
2670
|
];
|
|
2522
2671
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2523
|
-
}, import("@atlaskit/editor-
|
|
2672
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2524
2673
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2525
|
-
pluginConfiguration:
|
|
2526
|
-
sharedState:
|
|
2527
|
-
},
|
|
2674
|
+
pluginConfiguration: FeatureFlags;
|
|
2675
|
+
sharedState: FeatureFlags;
|
|
2676
|
+
}, FeatureFlags>>,
|
|
2528
2677
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2529
2678
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2530
2679
|
}, undefined>,
|
|
2531
2680
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2532
|
-
sharedState: import("@atlaskit/editor-
|
|
2681
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2533
2682
|
actions: {
|
|
2534
2683
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2535
2684
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2539,7 +2688,14 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2539
2688
|
actions: {
|
|
2540
2689
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2541
2690
|
};
|
|
2542
|
-
}, undefined
|
|
2691
|
+
}, undefined>>,
|
|
2692
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2693
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2694
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2695
|
+
commands: {
|
|
2696
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2697
|
+
};
|
|
2698
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
2543
2699
|
];
|
|
2544
2700
|
sharedState: {
|
|
2545
2701
|
showContextPanel: boolean | undefined;
|
|
@@ -2547,7 +2703,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2547
2703
|
actions: {
|
|
2548
2704
|
editSelectedExtension: () => boolean;
|
|
2549
2705
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
2550
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
2706
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
2551
2707
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
2552
2708
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2553
2709
|
};
|
|
@@ -2555,27 +2711,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2555
2711
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
2556
2712
|
dependencies: [
|
|
2557
2713
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2558
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2714
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2559
2715
|
sharedState: {
|
|
2560
2716
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2561
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2562
|
-
performanceTracking:
|
|
2717
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2718
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2563
2719
|
};
|
|
2564
2720
|
dependencies: [
|
|
2565
2721
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2566
|
-
pluginConfiguration:
|
|
2567
|
-
sharedState:
|
|
2568
|
-
},
|
|
2722
|
+
pluginConfiguration: FeatureFlags;
|
|
2723
|
+
sharedState: FeatureFlags;
|
|
2724
|
+
}, FeatureFlags>>
|
|
2569
2725
|
];
|
|
2570
2726
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2571
|
-
}, import("@atlaskit/editor-
|
|
2727
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2572
2728
|
];
|
|
2573
2729
|
actions: {
|
|
2574
2730
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
2575
2731
|
};
|
|
2576
2732
|
}, undefined>,
|
|
2577
2733
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2578
|
-
sharedState: import("@atlaskit/editor-
|
|
2734
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2579
2735
|
}, undefined>,
|
|
2580
2736
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2581
2737
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -2590,15 +2746,15 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2590
2746
|
} | undefined>>
|
|
2591
2747
|
];
|
|
2592
2748
|
actions: {
|
|
2593
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
2749
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
2594
2750
|
};
|
|
2595
2751
|
sharedState: {
|
|
2596
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
2597
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
2752
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
2753
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
2598
2754
|
} | undefined;
|
|
2599
2755
|
}, undefined>,
|
|
2600
2756
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2601
|
-
sharedState: import("@atlaskit/editor-
|
|
2757
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2602
2758
|
}, undefined>,
|
|
2603
2759
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2604
2760
|
sharedState: {
|
|
@@ -2606,46 +2762,46 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2606
2762
|
};
|
|
2607
2763
|
}, undefined>,
|
|
2608
2764
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2609
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2610
|
-
actions: import("@atlaskit/editor-
|
|
2765
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
2766
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
2611
2767
|
commands: {
|
|
2612
2768
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2613
2769
|
};
|
|
2614
2770
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2615
|
-
}, import("@atlaskit/editor-
|
|
2771
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
2616
2772
|
];
|
|
2617
|
-
sharedState: import("@atlaskit/editor-
|
|
2773
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2618
2774
|
actions: {
|
|
2619
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
2775
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
2620
2776
|
};
|
|
2621
|
-
}, import("@atlaskit/editor-
|
|
2777
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
2622
2778
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2623
2779
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
2624
2780
|
dependencies: [
|
|
2625
2781
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2626
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2782
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2627
2783
|
sharedState: {
|
|
2628
2784
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2629
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2630
|
-
performanceTracking:
|
|
2785
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2786
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2631
2787
|
};
|
|
2632
2788
|
dependencies: [
|
|
2633
2789
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2634
|
-
pluginConfiguration:
|
|
2635
|
-
sharedState:
|
|
2636
|
-
},
|
|
2790
|
+
pluginConfiguration: FeatureFlags;
|
|
2791
|
+
sharedState: FeatureFlags;
|
|
2792
|
+
}, FeatureFlags>>
|
|
2637
2793
|
];
|
|
2638
2794
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2639
|
-
}, import("@atlaskit/editor-
|
|
2795
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2640
2796
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2641
|
-
pluginConfiguration:
|
|
2642
|
-
sharedState:
|
|
2643
|
-
},
|
|
2797
|
+
pluginConfiguration: FeatureFlags;
|
|
2798
|
+
sharedState: FeatureFlags;
|
|
2799
|
+
}, FeatureFlags>>,
|
|
2644
2800
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2645
2801
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2646
2802
|
}, undefined>,
|
|
2647
2803
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2648
|
-
sharedState: import("@atlaskit/editor-
|
|
2804
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2649
2805
|
actions: {
|
|
2650
2806
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2651
2807
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2655,7 +2811,14 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2655
2811
|
actions: {
|
|
2656
2812
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2657
2813
|
};
|
|
2658
|
-
}, undefined
|
|
2814
|
+
}, undefined>>,
|
|
2815
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2816
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2817
|
+
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2818
|
+
commands: {
|
|
2819
|
+
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2820
|
+
};
|
|
2821
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
2659
2822
|
];
|
|
2660
2823
|
sharedState: {
|
|
2661
2824
|
showContextPanel: boolean | undefined;
|
|
@@ -2663,30 +2826,41 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2663
2826
|
actions: {
|
|
2664
2827
|
editSelectedExtension: () => boolean;
|
|
2665
2828
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
2666
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
2829
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
2667
2830
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
2668
2831
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2669
2832
|
};
|
|
2670
2833
|
}, import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined>>,
|
|
2671
2834
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2672
2835
|
pluginConfiguration: AnnotationProviders | undefined;
|
|
2673
|
-
sharedState: import("@atlaskit/editor-
|
|
2836
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2674
2837
|
dependencies: [
|
|
2675
2838
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2676
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2839
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2677
2840
|
sharedState: {
|
|
2678
2841
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2679
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2680
|
-
performanceTracking:
|
|
2842
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2843
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2681
2844
|
};
|
|
2682
2845
|
dependencies: [
|
|
2683
2846
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2684
|
-
pluginConfiguration:
|
|
2685
|
-
sharedState:
|
|
2686
|
-
},
|
|
2847
|
+
pluginConfiguration: FeatureFlags;
|
|
2848
|
+
sharedState: FeatureFlags;
|
|
2849
|
+
}, FeatureFlags>>
|
|
2687
2850
|
];
|
|
2688
2851
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2689
|
-
}, import("@atlaskit/editor-
|
|
2852
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2853
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2854
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2855
|
+
pluginConfiguration?: {
|
|
2856
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2857
|
+
} | undefined;
|
|
2858
|
+
commands: {
|
|
2859
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2860
|
+
};
|
|
2861
|
+
}, {
|
|
2862
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2863
|
+
} | undefined>>
|
|
2690
2864
|
];
|
|
2691
2865
|
actions: {
|
|
2692
2866
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -2694,29 +2868,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2694
2868
|
}, AnnotationProviders | undefined>>
|
|
2695
2869
|
];
|
|
2696
2870
|
sharedState: {
|
|
2697
|
-
lastContentPasted: import("@atlaskit/editor-
|
|
2871
|
+
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
2698
2872
|
};
|
|
2699
2873
|
}, PastePluginOptions>,
|
|
2700
2874
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
2701
|
-
actions: import("@atlaskit/editor-
|
|
2875
|
+
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
2702
2876
|
}, undefined>,
|
|
2703
2877
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2704
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2878
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2705
2879
|
sharedState: {
|
|
2706
2880
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2707
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2708
|
-
performanceTracking:
|
|
2881
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2882
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2709
2883
|
};
|
|
2710
2884
|
dependencies: [
|
|
2711
2885
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2712
|
-
pluginConfiguration:
|
|
2713
|
-
sharedState:
|
|
2714
|
-
},
|
|
2886
|
+
pluginConfiguration: FeatureFlags;
|
|
2887
|
+
sharedState: FeatureFlags;
|
|
2888
|
+
}, FeatureFlags>>
|
|
2715
2889
|
];
|
|
2716
2890
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2717
|
-
}, import("@atlaskit/editor-
|
|
2891
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2718
2892
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2719
|
-
pluginConfiguration:
|
|
2720
|
-
sharedState:
|
|
2721
|
-
},
|
|
2893
|
+
pluginConfiguration: FeatureFlags;
|
|
2894
|
+
sharedState: FeatureFlags;
|
|
2895
|
+
}, FeatureFlags>
|
|
2722
2896
|
]>[];
|