@atlaskit/editor-core 209.0.0 → 209.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/cjs/create-editor/ReactEditorView.js +2 -10
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +2 -10
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +2 -10
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/editor-internal.d.ts +0 -1
- package/dist/types/create-editor/ReactEditorView/useDispatchTransaction.d.ts +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +79 -920
- package/dist/types/create-editor/editorStateNotificationPlugin.d.ts +2 -2
- package/dist/types/create-editor/get-ui-component.d.ts +0 -1
- package/dist/types/presets/universal.d.ts +79 -925
- package/dist/types/presets/useUniversalPreset.d.ts +79 -920
- package/dist/types/test-utils.d.ts +1 -1
- package/dist/types/types/with-appearance-component.d.ts +0 -1
- package/dist/types/ui/Addon/types.d.ts +0 -1
- package/dist/types/ui/Appearance/Chromeless.d.ts +7 -7
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +7 -7
- package/dist/types/ui/Appearance/FullPage/getEditorViewModeSync.d.ts +1 -1
- package/dist/types/ui/CollapsedEditor/index.d.ts +1 -1
- package/dist/types/ui/ContentStyles/ai-panels.d.ts +1 -1
- package/dist/types/ui/ContentStyles/layout.d.ts +1 -1
- package/dist/types/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.d.ts +0 -1
- package/dist/types/ui/Toolbar/Toolbar.d.ts +0 -1
- package/dist/types/utils/is-full-page.d.ts +1 -1
- package/dist/types/utils/prepare-extension-provider.d.ts +1 -1
- package/dist/types/utils/prepare-quick-insert-provider.d.ts +0 -1
- package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +0 -1
- package/dist/types-ts4.5/create-editor/ReactEditorView/useDispatchTransaction.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +104 -1073
- package/dist/types-ts4.5/create-editor/editorStateNotificationPlugin.d.ts +2 -2
- package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +0 -1
- package/dist/types-ts4.5/presets/universal.d.ts +104 -1078
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +104 -1073
- package/dist/types-ts4.5/test-utils.d.ts +1 -1
- package/dist/types-ts4.5/types/with-appearance-component.d.ts +0 -1
- package/dist/types-ts4.5/ui/Addon/types.d.ts +0 -1
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +7 -7
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +7 -7
- package/dist/types-ts4.5/ui/Appearance/FullPage/getEditorViewModeSync.d.ts +1 -1
- package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/ai-panels.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/layout.d.ts +1 -1
- package/dist/types-ts4.5/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.d.ts +0 -1
- package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +0 -1
- package/dist/types-ts4.5/utils/is-full-page.d.ts +1 -1
- package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +1 -1
- package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +0 -1
- package/package.json +5 -5
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
2
|
import type { EditorAppearance, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
4
3
|
import { type EmojiPluginOptions } from '@atlaskit/editor-plugins/emoji';
|
|
@@ -152,8 +151,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
152
151
|
sharedState: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginState | undefined;
|
|
153
152
|
dependencies: import("packages/editor/editor-plugin-find-replace/dist/types/findReplacePluginType").FindReplacePluginDependencies;
|
|
154
153
|
actions: {
|
|
155
|
-
registerToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) =>
|
|
156
|
-
activateFindReplace: (triggerMethod?: import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.SHORTCUT | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.TOOLBAR | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.EXTERNAL
|
|
154
|
+
registerToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) => React.ReactNode;
|
|
155
|
+
activateFindReplace: (triggerMethod?: import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.SHORTCUT | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.TOOLBAR | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.EXTERNAL) => boolean;
|
|
157
156
|
};
|
|
158
157
|
}, import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions> | undefined,
|
|
159
158
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"avatarGroup", {
|
|
@@ -165,11 +164,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
165
164
|
}, import("@atlaskit/editor-plugins/avatar-group").AvatarGroupPluginOptions>,
|
|
166
165
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"beforePrimaryToolbar", {
|
|
167
166
|
pluginConfiguration: {
|
|
168
|
-
beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents
|
|
167
|
+
beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents;
|
|
169
168
|
};
|
|
170
169
|
dependencies: import("packages/editor/editor-plugin-before-primary-toolbar/dist/types/beforePrimaryToolbarPluginType").BeforePrimaryToolbarPluginDependencies;
|
|
171
170
|
}, {
|
|
172
|
-
beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents
|
|
171
|
+
beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents;
|
|
173
172
|
}> | undefined,
|
|
174
173
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"insertBlock", {
|
|
175
174
|
pluginConfiguration: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined;
|
|
@@ -217,7 +216,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
217
216
|
pluginConfiguration: import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined;
|
|
218
217
|
dependencies: import("packages/editor/editor-plugin-layout/dist/types/layoutPluginType").LayoutPluginDependencies;
|
|
219
218
|
actions: {
|
|
220
|
-
insertLayoutColumns:
|
|
219
|
+
insertLayoutColumns: ReturnType<typeof import("packages/editor/editor-plugin-layout/dist/types/pm-plugins/actions").insertLayoutColumnsWithAnalytics>;
|
|
221
220
|
};
|
|
222
221
|
}, import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined> | undefined,
|
|
223
222
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholderText", {
|
|
@@ -225,7 +224,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
225
224
|
pluginConfiguration: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions;
|
|
226
225
|
sharedState: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginState | undefined;
|
|
227
226
|
actions: {
|
|
228
|
-
showPlaceholderFloatingToolbar:
|
|
227
|
+
showPlaceholderFloatingToolbar: typeof import("packages/editor/editor-plugin-placeholder-text/dist/types/editor-actions/actions").showPlaceholderFloatingToolbar;
|
|
229
228
|
};
|
|
230
229
|
}, import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions> | undefined,
|
|
231
230
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"date", {
|
|
@@ -234,17 +233,17 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
234
233
|
sharedState: import("@atlaskit/editor-plugins/date").DatePluginSharedState;
|
|
235
234
|
commands: {
|
|
236
235
|
insertDate: import("@atlaskit/editor-plugins/date").InsertDate;
|
|
237
|
-
deleteDate: import("
|
|
236
|
+
deleteDate: import("packages/editor/editor-plugin-date/dist/types/types").DeleteDate;
|
|
238
237
|
};
|
|
239
238
|
}, import("@atlaskit/editor-plugins/date").DatePluginOptions | undefined> | undefined,
|
|
240
239
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
241
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").
|
|
240
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationPluginOptions | undefined;
|
|
242
241
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
243
242
|
dependencies: import("packages/editor/editor-plugin-annotation/dist/types/annotationPluginType").AnnotationPluginDependencies;
|
|
244
243
|
actions: {
|
|
245
244
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
246
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType
|
|
247
|
-
showCommentForBlockNode:
|
|
245
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType, targetNodeId?: string, isOpeningMediaCommentFromToolbar?: boolean) => import("@atlaskit/editor-common/types").Command;
|
|
246
|
+
showCommentForBlockNode: ReturnType<typeof import("packages/editor/editor-plugin-annotation/dist/types/editor-commands").showInlineCommentForBlockNode>;
|
|
248
247
|
hasAnyUnResolvedAnnotationInPage: (state: import("prosemirror-state").EditorState) => boolean;
|
|
249
248
|
};
|
|
250
249
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined,
|
|
@@ -253,26 +252,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
253
252
|
dependencies: import("packages/editor/editor-plugin-extension/dist/types/extensionPluginType").ExtensionPluginDependencies;
|
|
254
253
|
sharedState: {
|
|
255
254
|
showContextPanel: boolean | undefined;
|
|
256
|
-
extensionProvider?: import("
|
|
257
|
-
|
|
258
|
-
* to configuring plugins.
|
|
259
|
-
*
|
|
260
|
-
* Note: not all plugins are configurable via this mechanism, and for plugins configured -- it is only doing a subset of the configuration.
|
|
261
|
-
*/
|
|
262
|
-
processParametersAfter?: import("@atlaskit/editor-common/extensions").TransformAfter<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
|
|
255
|
+
extensionProvider?: import("packages/editor/editor-plugin-extension/dist/types/extensionPluginType").ExtensionState["extensionProvider"];
|
|
256
|
+
processParametersAfter?: import("packages/editor/editor-plugin-extension/dist/types/extensionPluginType").ExtensionState["processParametersAfter"];
|
|
263
257
|
} | undefined;
|
|
264
258
|
actions: import("packages/editor/editor-plugin-extension/dist/types/extensionPluginType").ExtensionPluginActions;
|
|
265
259
|
}, ExtensionPluginOptions | undefined> | undefined,
|
|
266
260
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
|
|
267
261
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
268
262
|
actions: {
|
|
269
|
-
applyChange:
|
|
270
|
-
showPanel?: import("
|
|
271
|
-
closePanel?: import("
|
|
272
|
-
closePanelById?: import("
|
|
263
|
+
applyChange: typeof import("packages/editor/editor-plugin-context-panel/dist/types/pm-plugins/transforms").applyChange;
|
|
264
|
+
showPanel?: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions["objectSideBar"]["showPanel"];
|
|
265
|
+
closePanel?: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions["objectSideBar"]["closePanel"];
|
|
266
|
+
closePanelById?: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions["objectSideBar"]["closePanelById"];
|
|
273
267
|
};
|
|
274
268
|
sharedState: {
|
|
275
|
-
contents:
|
|
269
|
+
contents: React.ReactNode[] | undefined;
|
|
276
270
|
} | undefined;
|
|
277
271
|
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined> | undefined,
|
|
278
272
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"panel", {
|
|
@@ -287,7 +281,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
287
281
|
pluginConfiguration: number | undefined;
|
|
288
282
|
}, number | undefined> | undefined,
|
|
289
283
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
290
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").
|
|
284
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginOptions;
|
|
291
285
|
dependencies: import("packages/editor/editor-plugin-collab-edit/dist/types/collabEditPluginType").CollabEditPluginDependencies;
|
|
292
286
|
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
293
287
|
actions: {
|
|
@@ -308,7 +302,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
308
302
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
309
303
|
getCurrentCollabState: () => {
|
|
310
304
|
version: number | undefined;
|
|
311
|
-
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps |
|
|
305
|
+
sendableSteps: import("@atlaskit/editor-plugins/collab-edit").CollabSendableSteps | undefined | null;
|
|
312
306
|
content: import("@atlaskit/editor-json-transformer").JSONNode | undefined;
|
|
313
307
|
};
|
|
314
308
|
validatePMJSONDocument: (doc: any) => boolean;
|
|
@@ -318,7 +312,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
318
312
|
};
|
|
319
313
|
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions> | undefined,
|
|
320
314
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
321
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/media").
|
|
315
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
322
316
|
dependencies: import("packages/editor/editor-plugin-media/dist/types/mediaPluginType").MediaPluginDependencies;
|
|
323
317
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
324
318
|
actions: {
|
|
@@ -357,17 +351,17 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
357
351
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeedbackInfo;
|
|
358
352
|
dependencies: import("packages/editor/editor-plugin-feedback-dialog/dist/types/feedbackDialogPluginType").FeedbackDialogPluginDependencies;
|
|
359
353
|
actions: {
|
|
360
|
-
openFeedbackDialog:
|
|
354
|
+
openFeedbackDialog: typeof import("packages/editor/editor-plugin-feedback-dialog/dist/types/feedbackDialogPlugin").openFeedbackDialog;
|
|
361
355
|
};
|
|
362
356
|
}, import("@atlaskit/editor-common/types").FeedbackInfo> | undefined,
|
|
363
357
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"taskDecision", {
|
|
364
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/tasks-and-decisions").
|
|
358
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskDecisionPluginOptions | undefined;
|
|
365
359
|
sharedState: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskAndDecisionsSharedState | undefined;
|
|
366
360
|
dependencies: import("packages/editor/editor-plugin-tasks-and-decisions/dist/types/tasksAndDecisionsPluginType").TasksAndDecisionsPluginDependencies;
|
|
367
361
|
actions: {
|
|
368
|
-
insertTaskDecision:
|
|
369
|
-
indentTaskList:
|
|
370
|
-
outdentTaskList:
|
|
362
|
+
insertTaskDecision: ReturnType<typeof import("packages/editor/editor-plugin-tasks-and-decisions/dist/types/pm-plugins/insert-commands").insertTaskDecisionCommand>;
|
|
363
|
+
indentTaskList: ReturnType<typeof import("packages/editor/editor-plugin-tasks-and-decisions/dist/types/pm-plugins/keymaps").getIndentCommand>;
|
|
364
|
+
outdentTaskList: ReturnType<typeof import("packages/editor/editor-plugin-tasks-and-decisions/dist/types/pm-plugins/keymaps").getUnindentCommand>;
|
|
371
365
|
setProvider: (provider: Promise<import("@atlaskit/task-decision").TaskDecisionProvider>) => Promise<boolean>;
|
|
372
366
|
};
|
|
373
367
|
commands: {
|
|
@@ -378,7 +372,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
378
372
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"table", {
|
|
379
373
|
pluginConfiguration: import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined;
|
|
380
374
|
actions: import("packages/editor/editor-plugin-table/dist/types/tablePluginType").TablePluginActions;
|
|
381
|
-
sharedState?: import("@atlaskit/editor-plugins/table/types").TableSharedState
|
|
375
|
+
sharedState?: import("@atlaskit/editor-plugins/table/types").TableSharedState;
|
|
382
376
|
commands: import("packages/editor/editor-plugin-table/dist/types/tablePluginType").TablePluginCommands;
|
|
383
377
|
dependencies: import("packages/editor/editor-plugin-table/dist/types/tablePluginType").TablePluginDependencies;
|
|
384
378
|
}, import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined> | undefined,
|
|
@@ -390,7 +384,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
390
384
|
actions: import("packages/editor/editor-plugin-emoji/dist/types/emojiPluginType").EmojiPluginActions;
|
|
391
385
|
}, EmojiPluginOptions | undefined> | undefined,
|
|
392
386
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
|
|
393
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").
|
|
387
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionPluginOptions | undefined;
|
|
394
388
|
dependencies: import("packages/editor/editor-plugin-mentions/dist/types/mentionsPluginType").MentionPluginDependencies;
|
|
395
389
|
sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
|
|
396
390
|
actions: import("packages/editor/editor-plugin-mentions/dist/types/mentionsPluginType").MentionActions;
|
|
@@ -405,7 +399,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
405
399
|
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined;
|
|
406
400
|
}, import("packages/editor/editor-plugin-media-insert/dist/types/mediaInsertPluginType").MediaInsertPluginConfig | undefined> | undefined,
|
|
407
401
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
408
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/media").
|
|
402
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
409
403
|
dependencies: import("packages/editor/editor-plugin-media/dist/types/mediaPluginType").MediaPluginDependencies;
|
|
410
404
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
411
405
|
actions: {
|
|
@@ -419,13 +413,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
419
413
|
};
|
|
420
414
|
}, import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined> | undefined,
|
|
421
415
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
422
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").
|
|
416
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationPluginOptions | undefined;
|
|
423
417
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
424
418
|
dependencies: import("packages/editor/editor-plugin-annotation/dist/types/annotationPluginType").AnnotationPluginDependencies;
|
|
425
419
|
actions: {
|
|
426
420
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
427
|
-
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType
|
|
428
|
-
showCommentForBlockNode:
|
|
421
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType, targetNodeId?: string, isOpeningMediaCommentFromToolbar?: boolean) => import("@atlaskit/editor-common/types").Command;
|
|
422
|
+
showCommentForBlockNode: ReturnType<typeof import("packages/editor/editor-plugin-annotation/dist/types/editor-commands").showInlineCommentForBlockNode>;
|
|
429
423
|
hasAnyUnResolvedAnnotationInPage: (state: import("prosemirror-state").EditorState) => boolean;
|
|
430
424
|
};
|
|
431
425
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined,
|
|
@@ -450,8 +444,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
450
444
|
pluginConfiguration: import("@atlaskit/editor-plugins/expand").ExpandPluginOptions | undefined;
|
|
451
445
|
dependencies: import("packages/editor/editor-plugin-expand/dist/types/types").ExpandPluginDependencies;
|
|
452
446
|
actions: {
|
|
453
|
-
insertExpand: import("
|
|
454
|
-
insertExpandWithInputMethod:
|
|
447
|
+
insertExpand: ReturnType<typeof import("packages/editor/editor-plugin-expand/dist/types/legacyExpand/commands").insertExpand>;
|
|
448
|
+
insertExpandWithInputMethod: ReturnType<typeof import("packages/editor/editor-plugin-expand/dist/types/legacyExpand/commands").insertExpandWithInputMethod>;
|
|
455
449
|
};
|
|
456
450
|
}, import("@atlaskit/editor-plugins/expand").ExpandPluginOptions | undefined> | undefined,
|
|
457
451
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"rule", {
|
|
@@ -465,16 +459,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
465
459
|
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
466
460
|
};
|
|
467
461
|
dependencies: [
|
|
468
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
469
|
-
pluginConfiguration: FeatureFlags;
|
|
470
|
-
sharedState: FeatureFlags;
|
|
471
|
-
}, FeatureFlags>>
|
|
462
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/feature-flags").FeatureFlagsPlugin>
|
|
472
463
|
];
|
|
473
464
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
474
465
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
475
466
|
];
|
|
476
467
|
actions: {
|
|
477
|
-
insertHorizontalRule:
|
|
468
|
+
insertHorizontalRule: ReturnType<typeof import("packages/editor/editor-plugin-rule/dist/types/pm-plugins/commands").insertHorizontalRule>;
|
|
478
469
|
};
|
|
479
470
|
}, undefined> | undefined,
|
|
480
471
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
|
|
@@ -487,7 +478,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
487
478
|
pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
|
|
488
479
|
dependencies: import("packages/editor/editor-plugin-text-color/dist/types/textColorPluginType").Dependencies;
|
|
489
480
|
actions: {
|
|
490
|
-
changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod
|
|
481
|
+
changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
491
482
|
};
|
|
492
483
|
sharedState: import("@atlaskit/editor-plugins/text-color").TextColorPluginState | undefined;
|
|
493
484
|
}, import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined> | undefined,
|
|
@@ -512,7 +503,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
512
503
|
dependencies: [
|
|
513
504
|
];
|
|
514
505
|
actions: {
|
|
515
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes
|
|
506
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes) => void;
|
|
516
507
|
};
|
|
517
508
|
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
518
509
|
}, undefined>,
|
|
@@ -524,8 +515,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
524
515
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
525
516
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
526
517
|
actions: {
|
|
527
|
-
hoverDecoration:
|
|
528
|
-
removeDecoration: import("
|
|
518
|
+
hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler;
|
|
519
|
+
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
529
520
|
};
|
|
530
521
|
}, undefined>,
|
|
531
522
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
@@ -539,19 +530,16 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
539
530
|
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
540
531
|
};
|
|
541
532
|
dependencies: [
|
|
542
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
543
|
-
pluginConfiguration: FeatureFlags;
|
|
544
|
-
sharedState: FeatureFlags;
|
|
545
|
-
}, FeatureFlags>>
|
|
533
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/feature-flags").FeatureFlagsPlugin>
|
|
546
534
|
];
|
|
547
535
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
548
536
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
549
537
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
550
538
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
551
|
-
pluginConfiguration: import("
|
|
552
|
-
}, import("
|
|
539
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginOptions | undefined;
|
|
540
|
+
}, import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginOptions | undefined>>,
|
|
553
541
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
554
|
-
pluginConfiguration:
|
|
542
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/feature-flags").FeatureFlagsPluginOptions;
|
|
555
543
|
sharedState: FeatureFlags;
|
|
556
544
|
}, FeatureFlags>>,
|
|
557
545
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"interaction", {
|
|
@@ -564,7 +552,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
564
552
|
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
565
553
|
dependencies: [
|
|
566
554
|
];
|
|
567
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginOptions
|
|
555
|
+
pluginConfiguration?: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginOptions;
|
|
568
556
|
commands: {
|
|
569
557
|
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
570
558
|
};
|
|
@@ -581,12 +569,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
581
569
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
582
570
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
583
571
|
dependencies: [
|
|
584
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
585
|
-
sharedState: import("@atlaskit/editor-plugins/interaction").SharedInteractionState;
|
|
586
|
-
commands: {
|
|
587
|
-
handleInteraction: import("@atlaskit/editor-common/types").EditorCommand;
|
|
588
|
-
};
|
|
589
|
-
}, undefined>>
|
|
572
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/interaction").InteractionPlugin>
|
|
590
573
|
];
|
|
591
574
|
commands: {
|
|
592
575
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -607,32 +590,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
607
590
|
}, undefined>,
|
|
608
591
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
609
592
|
dependencies: [
|
|
610
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
611
|
-
|
|
612
|
-
sharedState: {
|
|
613
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
614
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
615
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
616
|
-
};
|
|
617
|
-
dependencies: [
|
|
618
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
619
|
-
pluginConfiguration: FeatureFlags;
|
|
620
|
-
sharedState: FeatureFlags;
|
|
621
|
-
}, FeatureFlags>>
|
|
622
|
-
];
|
|
623
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
624
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
625
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
626
|
-
dependencies: [
|
|
627
|
-
];
|
|
628
|
-
actions: {
|
|
629
|
-
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
630
|
-
};
|
|
631
|
-
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
632
|
-
}, undefined>>
|
|
593
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>,
|
|
594
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPlugin>
|
|
633
595
|
];
|
|
634
596
|
actions: {
|
|
635
|
-
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command
|
|
597
|
+
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>, hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler | undefined) => Array<import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>>;
|
|
636
598
|
};
|
|
637
599
|
}, undefined>,
|
|
638
600
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
@@ -641,8 +603,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
641
603
|
}, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>,
|
|
642
604
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
643
605
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
644
|
-
pluginConfiguration: import("
|
|
645
|
-
}, import("
|
|
606
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginOptions | undefined;
|
|
607
|
+
}, import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginOptions | undefined>,
|
|
646
608
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>,
|
|
647
609
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
648
610
|
pluginConfiguration: import("@atlaskit/editor-plugins/placeholder").PlaceholderPluginOptions | undefined;
|
|
@@ -650,315 +612,22 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
650
612
|
setPlaceholder: (placeholder: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
651
613
|
};
|
|
652
614
|
dependencies: [
|
|
653
|
-
import("@atlaskit/editor-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
657
|
-
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
658
|
-
}, undefined>,
|
|
659
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
660
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined;
|
|
661
|
-
dependencies: [
|
|
662
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
663
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
664
|
-
sharedState: {
|
|
665
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
666
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
667
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
668
|
-
};
|
|
669
|
-
dependencies: [
|
|
670
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
671
|
-
pluginConfiguration: FeatureFlags;
|
|
672
|
-
sharedState: FeatureFlags;
|
|
673
|
-
}, FeatureFlags>>
|
|
674
|
-
];
|
|
675
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
676
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
677
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
678
|
-
pluginConfiguration: FeatureFlags;
|
|
679
|
-
sharedState: FeatureFlags;
|
|
680
|
-
}, FeatureFlags>>,
|
|
681
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
682
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types/connectivityPluginType").PublicPluginState;
|
|
683
|
-
commands: {
|
|
684
|
-
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
685
|
-
};
|
|
686
|
-
}, undefined>>,
|
|
687
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
|
|
688
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
689
|
-
actions: {
|
|
690
|
-
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
691
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").ShowObjectSidebar | undefined;
|
|
692
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").HideObjectSidebar | undefined;
|
|
693
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").HideObjectSidebarById | undefined;
|
|
694
|
-
};
|
|
695
|
-
sharedState: {
|
|
696
|
-
contents: import("react").ReactNode[] | undefined;
|
|
697
|
-
} | undefined;
|
|
698
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
699
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
700
|
-
pluginConfiguration?: import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined;
|
|
701
|
-
dependencies: [
|
|
702
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
703
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
704
|
-
sharedState: {
|
|
705
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
706
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
707
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
708
|
-
};
|
|
709
|
-
dependencies: [
|
|
710
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
711
|
-
pluginConfiguration: FeatureFlags;
|
|
712
|
-
sharedState: FeatureFlags;
|
|
713
|
-
}, FeatureFlags>>
|
|
714
|
-
];
|
|
715
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
716
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
717
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
718
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
719
|
-
actions: {
|
|
720
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
721
|
-
};
|
|
722
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
723
|
-
dependencies: [
|
|
724
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
725
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
726
|
-
sharedState: {
|
|
727
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
728
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
729
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
730
|
-
};
|
|
731
|
-
dependencies: [
|
|
732
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
733
|
-
pluginConfiguration: FeatureFlags;
|
|
734
|
-
sharedState: FeatureFlags;
|
|
735
|
-
}, FeatureFlags>>
|
|
736
|
-
];
|
|
737
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
738
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
739
|
-
];
|
|
740
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
741
|
-
];
|
|
742
|
-
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
743
|
-
commands: {
|
|
744
|
-
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
745
|
-
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
746
|
-
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
747
|
-
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
748
|
-
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
749
|
-
shouldStartTimer?: boolean | undefined;
|
|
750
|
-
shouldPersistActiveSession?: boolean | undefined;
|
|
751
|
-
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
752
|
-
};
|
|
753
|
-
}, import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined>>
|
|
754
|
-
];
|
|
755
|
-
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
756
|
-
actions: {
|
|
757
|
-
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
758
|
-
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
759
|
-
insert: (props: {
|
|
760
|
-
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
761
|
-
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
762
|
-
query: string;
|
|
763
|
-
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
764
|
-
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
765
|
-
}) => boolean;
|
|
766
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
767
|
-
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types/types").OpenTypeAheadProps) => boolean;
|
|
768
|
-
close: (props: {
|
|
769
|
-
insertCurrentQueryAsRawText: boolean;
|
|
770
|
-
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
771
|
-
}) => boolean;
|
|
772
|
-
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
773
|
-
};
|
|
774
|
-
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>
|
|
615
|
+
import("@atlaskit/editor-plugins/focus").FocusPlugin,
|
|
616
|
+
import("@atlaskit/editor-plugins/composition").CompositionPlugin,
|
|
617
|
+
import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin
|
|
775
618
|
];
|
|
776
619
|
}, import("@atlaskit/editor-plugins/placeholder").PlaceholderPluginOptions | undefined>,
|
|
777
620
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"quickInsert", {
|
|
778
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
621
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-quick-insert").QuickInsertPluginOptions | undefined;
|
|
779
622
|
dependencies: [
|
|
780
|
-
import("@atlaskit/editor-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
784
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
785
|
-
sharedState: {
|
|
786
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
787
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
788
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
789
|
-
};
|
|
790
|
-
dependencies: [
|
|
791
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
792
|
-
pluginConfiguration: FeatureFlags;
|
|
793
|
-
sharedState: FeatureFlags;
|
|
794
|
-
}, FeatureFlags>>
|
|
795
|
-
];
|
|
796
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
797
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
798
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
799
|
-
pluginConfiguration: FeatureFlags;
|
|
800
|
-
sharedState: FeatureFlags;
|
|
801
|
-
}, FeatureFlags>>,
|
|
802
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
803
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types/connectivityPluginType").PublicPluginState;
|
|
804
|
-
commands: {
|
|
805
|
-
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
806
|
-
};
|
|
807
|
-
}, undefined>>,
|
|
808
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
|
|
809
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
810
|
-
actions: {
|
|
811
|
-
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
812
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").ShowObjectSidebar | undefined;
|
|
813
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").HideObjectSidebar | undefined;
|
|
814
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").HideObjectSidebarById | undefined;
|
|
815
|
-
};
|
|
816
|
-
sharedState: {
|
|
817
|
-
contents: import("react").ReactNode[] | undefined;
|
|
818
|
-
} | undefined;
|
|
819
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
820
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
821
|
-
pluginConfiguration?: import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined;
|
|
822
|
-
dependencies: [
|
|
823
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
824
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
825
|
-
sharedState: {
|
|
826
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
827
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
828
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
829
|
-
};
|
|
830
|
-
dependencies: [
|
|
831
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
832
|
-
pluginConfiguration: FeatureFlags;
|
|
833
|
-
sharedState: FeatureFlags;
|
|
834
|
-
}, FeatureFlags>>
|
|
835
|
-
];
|
|
836
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
837
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
838
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
839
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
840
|
-
actions: {
|
|
841
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
842
|
-
};
|
|
843
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
844
|
-
dependencies: [
|
|
845
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
846
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
847
|
-
sharedState: {
|
|
848
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
849
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
850
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
851
|
-
};
|
|
852
|
-
dependencies: [
|
|
853
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
854
|
-
pluginConfiguration: FeatureFlags;
|
|
855
|
-
sharedState: FeatureFlags;
|
|
856
|
-
}, FeatureFlags>>
|
|
857
|
-
];
|
|
858
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
859
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
860
|
-
];
|
|
861
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
862
|
-
];
|
|
863
|
-
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
864
|
-
commands: {
|
|
865
|
-
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
866
|
-
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
867
|
-
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
868
|
-
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
869
|
-
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
870
|
-
shouldStartTimer?: boolean | undefined;
|
|
871
|
-
shouldPersistActiveSession?: boolean | undefined;
|
|
872
|
-
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
873
|
-
};
|
|
874
|
-
}, import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined>>
|
|
875
|
-
];
|
|
876
|
-
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
877
|
-
actions: {
|
|
878
|
-
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
879
|
-
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
880
|
-
insert: (props: {
|
|
881
|
-
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
882
|
-
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
883
|
-
query: string;
|
|
884
|
-
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
885
|
-
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
886
|
-
}) => boolean;
|
|
887
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
888
|
-
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types/types").OpenTypeAheadProps) => boolean;
|
|
889
|
-
close: (props: {
|
|
890
|
-
insertCurrentQueryAsRawText: boolean;
|
|
891
|
-
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
892
|
-
}) => boolean;
|
|
893
|
-
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
894
|
-
};
|
|
895
|
-
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
|
|
896
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
897
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types/connectivityPluginType").PublicPluginState;
|
|
898
|
-
commands: {
|
|
899
|
-
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
900
|
-
};
|
|
901
|
-
}, undefined>>,
|
|
902
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
903
|
-
pluginConfiguration?: import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined;
|
|
904
|
-
dependencies: [
|
|
905
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
906
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
907
|
-
sharedState: {
|
|
908
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
909
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
910
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
911
|
-
};
|
|
912
|
-
dependencies: [
|
|
913
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
914
|
-
pluginConfiguration: FeatureFlags;
|
|
915
|
-
sharedState: FeatureFlags;
|
|
916
|
-
}, FeatureFlags>>
|
|
917
|
-
];
|
|
918
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
919
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
920
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
921
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
922
|
-
actions: {
|
|
923
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
924
|
-
};
|
|
925
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
926
|
-
dependencies: [
|
|
927
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
928
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
929
|
-
sharedState: {
|
|
930
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
931
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
932
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
933
|
-
};
|
|
934
|
-
dependencies: [
|
|
935
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
936
|
-
pluginConfiguration: FeatureFlags;
|
|
937
|
-
sharedState: FeatureFlags;
|
|
938
|
-
}, FeatureFlags>>
|
|
939
|
-
];
|
|
940
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
941
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
942
|
-
];
|
|
943
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
944
|
-
];
|
|
945
|
-
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
946
|
-
commands: {
|
|
947
|
-
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
948
|
-
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
949
|
-
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
950
|
-
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
951
|
-
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
952
|
-
shouldStartTimer?: boolean | undefined;
|
|
953
|
-
shouldPersistActiveSession?: boolean | undefined;
|
|
954
|
-
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
955
|
-
};
|
|
956
|
-
}, import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined>>
|
|
623
|
+
import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin,
|
|
624
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>,
|
|
625
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/metrics").MetricsPlugin>
|
|
957
626
|
];
|
|
958
627
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
959
628
|
actions: {
|
|
960
|
-
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod, removePrefixTriggerOnCancel?: boolean
|
|
961
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR
|
|
629
|
+
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod, removePrefixTriggerOnCancel?: boolean) => boolean;
|
|
630
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) => import("@atlaskit/editor-common/types").Command;
|
|
962
631
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
963
632
|
};
|
|
964
633
|
commands: {
|
|
@@ -970,178 +639,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
970
639
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
971
640
|
}, undefined>,
|
|
972
641
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"textFormatting", {
|
|
973
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
642
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/text-formatting").TextFormattingPluginOptions | undefined;
|
|
974
643
|
dependencies: [
|
|
975
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
981
|
-
};
|
|
982
|
-
dependencies: [
|
|
983
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
984
|
-
pluginConfiguration: FeatureFlags;
|
|
985
|
-
sharedState: FeatureFlags;
|
|
986
|
-
}, FeatureFlags>>
|
|
987
|
-
];
|
|
988
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
989
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
990
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
991
|
-
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
992
|
-
actions: {
|
|
993
|
-
registerComponent: ({ name, component, }: {
|
|
994
|
-
name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
|
|
995
|
-
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
996
|
-
}) => void;
|
|
997
|
-
};
|
|
998
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
999
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1000
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"base", {
|
|
1001
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined;
|
|
1002
|
-
dependencies: [
|
|
1003
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1004
|
-
pluginConfiguration: FeatureFlags;
|
|
1005
|
-
sharedState: FeatureFlags;
|
|
1006
|
-
}, FeatureFlags>>,
|
|
1007
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1008
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierPluginOptions | undefined;
|
|
1009
|
-
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1010
|
-
commands: {
|
|
1011
|
-
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1012
|
-
};
|
|
1013
|
-
}, import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierPluginOptions | undefined>>
|
|
1014
|
-
];
|
|
1015
|
-
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
1016
|
-
actions: {
|
|
1017
|
-
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
1018
|
-
registerMarks: (callback: import("packages/editor/editor-plugin-base/dist/types/basePluginType").Callback) => void;
|
|
1019
|
-
resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
|
|
1020
|
-
};
|
|
1021
|
-
}, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>>,
|
|
1022
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1023
|
-
sharedState: {
|
|
1024
|
-
toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking;
|
|
1025
|
-
};
|
|
1026
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1027
|
-
dependencies: [
|
|
1028
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1029
|
-
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1030
|
-
dependencies: [
|
|
1031
|
-
];
|
|
1032
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginOptions | undefined;
|
|
1033
|
-
commands: {
|
|
1034
|
-
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1035
|
-
};
|
|
1036
|
-
}, import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginOptions | undefined>>,
|
|
1037
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1038
|
-
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1039
|
-
actions: {
|
|
1040
|
-
registerComponent: ({ name, component, }: {
|
|
1041
|
-
name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
|
|
1042
|
-
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1043
|
-
}) => void;
|
|
1044
|
-
};
|
|
1045
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1046
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1047
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1048
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1049
|
-
sharedState: {
|
|
1050
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1051
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1052
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1053
|
-
};
|
|
1054
|
-
dependencies: [
|
|
1055
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1056
|
-
pluginConfiguration: FeatureFlags;
|
|
1057
|
-
sharedState: FeatureFlags;
|
|
1058
|
-
}, FeatureFlags>>
|
|
1059
|
-
];
|
|
1060
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1061
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1062
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1063
|
-
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
1064
|
-
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1065
|
-
commands: {
|
|
1066
|
-
moveToLayout: (start: number, to: number, options?: {
|
|
1067
|
-
moveToEnd?: boolean | undefined;
|
|
1068
|
-
selectMovedNode?: boolean | undefined;
|
|
1069
|
-
moveNodeAtCursorPos?: boolean | undefined;
|
|
1070
|
-
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1071
|
-
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
1072
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1073
|
-
toggleBlockMenu: (options?: {
|
|
1074
|
-
closeMenu?: boolean | undefined;
|
|
1075
|
-
anchorName?: string | undefined;
|
|
1076
|
-
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1077
|
-
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1078
|
-
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1079
|
-
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1080
|
-
};
|
|
1081
|
-
}, undefined>>,
|
|
1082
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1083
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types/connectivityPluginType").PublicPluginState;
|
|
1084
|
-
commands: {
|
|
1085
|
-
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1086
|
-
};
|
|
1087
|
-
}, undefined>>,
|
|
1088
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
1089
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
1090
|
-
actions: {
|
|
1091
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1092
|
-
};
|
|
1093
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
1094
|
-
dependencies: [
|
|
1095
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1096
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1097
|
-
sharedState: {
|
|
1098
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1099
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1100
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1101
|
-
};
|
|
1102
|
-
dependencies: [
|
|
1103
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1104
|
-
pluginConfiguration: FeatureFlags;
|
|
1105
|
-
sharedState: FeatureFlags;
|
|
1106
|
-
}, FeatureFlags>>
|
|
1107
|
-
];
|
|
1108
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1109
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1110
|
-
];
|
|
1111
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
1112
|
-
];
|
|
1113
|
-
actions?: {
|
|
1114
|
-
suppressToolbar?: (() => boolean) | undefined;
|
|
1115
|
-
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1116
|
-
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
1117
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
1118
|
-
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1119
|
-
} | undefined;
|
|
1120
|
-
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>,
|
|
1121
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
1122
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
1123
|
-
actions: {
|
|
1124
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1125
|
-
};
|
|
1126
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
1127
|
-
dependencies: [
|
|
1128
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1129
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1130
|
-
sharedState: {
|
|
1131
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1132
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1133
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1134
|
-
};
|
|
1135
|
-
dependencies: [
|
|
1136
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1137
|
-
pluginConfiguration: FeatureFlags;
|
|
1138
|
-
sharedState: FeatureFlags;
|
|
1139
|
-
}, FeatureFlags>>
|
|
1140
|
-
];
|
|
1141
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1142
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1143
|
-
];
|
|
1144
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
644
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>,
|
|
645
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPlugin>,
|
|
646
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/base").BasePlugin>,
|
|
647
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPlugin>,
|
|
648
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>
|
|
1145
649
|
];
|
|
1146
650
|
commands: {
|
|
1147
651
|
toggleSuperscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
@@ -1155,7 +659,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1155
659
|
sharedState: import("@atlaskit/editor-common/types").TextFormattingState | undefined;
|
|
1156
660
|
}, import("@atlaskit/editor-common/types").TextFormattingOptions | undefined>,
|
|
1157
661
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
1158
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
662
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginOptions | undefined;
|
|
1159
663
|
dependencies: import("packages/editor/editor-plugin-hyperlink/dist/types/hyperlinkPluginType").HyperlinkPluginDependencies;
|
|
1160
664
|
actions: import("packages/editor/editor-plugin-hyperlink/dist/types/hyperlinkPluginType").HyperlinkPluginActions;
|
|
1161
665
|
commands: {
|
|
@@ -1171,411 +675,46 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1171
675
|
};
|
|
1172
676
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1173
677
|
dependencies: [
|
|
1174
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1181
|
-
};
|
|
1182
|
-
}, import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginOptions | undefined>>,
|
|
1183
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1184
|
-
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1185
|
-
actions: {
|
|
1186
|
-
registerComponent: ({ name, component, }: {
|
|
1187
|
-
name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
|
|
1188
|
-
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1189
|
-
}) => void;
|
|
1190
|
-
};
|
|
1191
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1192
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1193
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1194
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1195
|
-
sharedState: {
|
|
1196
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1197
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1198
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1199
|
-
};
|
|
1200
|
-
dependencies: [
|
|
1201
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1202
|
-
pluginConfiguration: FeatureFlags;
|
|
1203
|
-
sharedState: FeatureFlags;
|
|
1204
|
-
}, FeatureFlags>>
|
|
1205
|
-
];
|
|
1206
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1207
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1208
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1209
|
-
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
1210
|
-
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1211
|
-
commands: {
|
|
1212
|
-
moveToLayout: (start: number, to: number, options?: {
|
|
1213
|
-
moveToEnd?: boolean | undefined;
|
|
1214
|
-
selectMovedNode?: boolean | undefined;
|
|
1215
|
-
moveNodeAtCursorPos?: boolean | undefined;
|
|
1216
|
-
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1217
|
-
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
1218
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1219
|
-
toggleBlockMenu: (options?: {
|
|
1220
|
-
closeMenu?: boolean | undefined;
|
|
1221
|
-
anchorName?: string | undefined;
|
|
1222
|
-
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1223
|
-
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1224
|
-
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1225
|
-
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1226
|
-
};
|
|
1227
|
-
}, undefined>>,
|
|
1228
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1229
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types/connectivityPluginType").PublicPluginState;
|
|
1230
|
-
commands: {
|
|
1231
|
-
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1232
|
-
};
|
|
1233
|
-
}, undefined>>,
|
|
1234
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
1235
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
1236
|
-
actions: {
|
|
1237
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1238
|
-
};
|
|
1239
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
1240
|
-
dependencies: [
|
|
1241
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1242
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1243
|
-
sharedState: {
|
|
1244
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1245
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1246
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1247
|
-
};
|
|
1248
|
-
dependencies: [
|
|
1249
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1250
|
-
pluginConfiguration: FeatureFlags;
|
|
1251
|
-
sharedState: FeatureFlags;
|
|
1252
|
-
}, FeatureFlags>>
|
|
1253
|
-
];
|
|
1254
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1255
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1256
|
-
];
|
|
1257
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
678
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePlugin>,
|
|
679
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPlugin>,
|
|
680
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>,
|
|
681
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
|
|
682
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>,
|
|
683
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>
|
|
1258
684
|
];
|
|
1259
685
|
actions?: {
|
|
1260
|
-
suppressToolbar?: (
|
|
1261
|
-
unsuppressToolbar?: (
|
|
1262
|
-
setToolbarDocking?: (
|
|
1263
|
-
forceToolbarDockingWithoutAnalytics?: (
|
|
1264
|
-
refreshToolbarDocking?: (
|
|
1265
|
-
}
|
|
686
|
+
suppressToolbar?: () => boolean;
|
|
687
|
+
unsuppressToolbar?: () => boolean;
|
|
688
|
+
setToolbarDocking?: (toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean;
|
|
689
|
+
forceToolbarDockingWithoutAnalytics?: (toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean;
|
|
690
|
+
refreshToolbarDocking?: () => boolean;
|
|
691
|
+
};
|
|
1266
692
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>,
|
|
1267
693
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
|
|
1268
694
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
|
|
1269
695
|
pluginConfiguration: import("@atlaskit/editor-plugins/block-type").BlockTypePluginOptions | undefined;
|
|
1270
696
|
dependencies: [
|
|
1271
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1276
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1277
|
-
};
|
|
1278
|
-
dependencies: [
|
|
1279
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1280
|
-
pluginConfiguration: FeatureFlags;
|
|
1281
|
-
sharedState: FeatureFlags;
|
|
1282
|
-
}, FeatureFlags>>
|
|
1283
|
-
];
|
|
1284
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1285
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1286
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1287
|
-
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1288
|
-
actions: {
|
|
1289
|
-
registerComponent: ({ name, component, }: {
|
|
1290
|
-
name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
|
|
1291
|
-
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1292
|
-
}) => void;
|
|
1293
|
-
};
|
|
1294
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1295
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1296
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1297
|
-
sharedState: {
|
|
1298
|
-
toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking;
|
|
1299
|
-
};
|
|
1300
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1301
|
-
dependencies: [
|
|
1302
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1303
|
-
sharedState: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginState | null;
|
|
1304
|
-
dependencies: [
|
|
1305
|
-
];
|
|
1306
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginOptions | undefined;
|
|
1307
|
-
commands: {
|
|
1308
|
-
updateViewMode: (mode: import("@atlaskit/editor-plugins/editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1309
|
-
};
|
|
1310
|
-
}, import("@atlaskit/editor-plugins/editor-viewmode").EditorViewModePluginOptions | undefined>>,
|
|
1311
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1312
|
-
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1313
|
-
actions: {
|
|
1314
|
-
registerComponent: ({ name, component, }: {
|
|
1315
|
-
name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
|
|
1316
|
-
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1317
|
-
}) => void;
|
|
1318
|
-
};
|
|
1319
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1320
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1321
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1322
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1323
|
-
sharedState: {
|
|
1324
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1325
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1326
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1327
|
-
};
|
|
1328
|
-
dependencies: [
|
|
1329
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1330
|
-
pluginConfiguration: FeatureFlags;
|
|
1331
|
-
sharedState: FeatureFlags;
|
|
1332
|
-
}, FeatureFlags>>
|
|
1333
|
-
];
|
|
1334
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1335
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1336
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1337
|
-
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
1338
|
-
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1339
|
-
commands: {
|
|
1340
|
-
moveToLayout: (start: number, to: number, options?: {
|
|
1341
|
-
moveToEnd?: boolean | undefined;
|
|
1342
|
-
selectMovedNode?: boolean | undefined;
|
|
1343
|
-
moveNodeAtCursorPos?: boolean | undefined;
|
|
1344
|
-
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1345
|
-
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
1346
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1347
|
-
toggleBlockMenu: (options?: {
|
|
1348
|
-
closeMenu?: boolean | undefined;
|
|
1349
|
-
anchorName?: string | undefined;
|
|
1350
|
-
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1351
|
-
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1352
|
-
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1353
|
-
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1354
|
-
};
|
|
1355
|
-
}, undefined>>,
|
|
1356
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1357
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types/connectivityPluginType").PublicPluginState;
|
|
1358
|
-
commands: {
|
|
1359
|
-
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1360
|
-
};
|
|
1361
|
-
}, undefined>>,
|
|
1362
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
1363
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
1364
|
-
actions: {
|
|
1365
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1366
|
-
};
|
|
1367
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
1368
|
-
dependencies: [
|
|
1369
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1370
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1371
|
-
sharedState: {
|
|
1372
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1373
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1374
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1375
|
-
};
|
|
1376
|
-
dependencies: [
|
|
1377
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1378
|
-
pluginConfiguration: FeatureFlags;
|
|
1379
|
-
sharedState: FeatureFlags;
|
|
1380
|
-
}, FeatureFlags>>
|
|
1381
|
-
];
|
|
1382
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1383
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1384
|
-
];
|
|
1385
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
1386
|
-
];
|
|
1387
|
-
actions?: {
|
|
1388
|
-
suppressToolbar?: (() => boolean) | undefined;
|
|
1389
|
-
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1390
|
-
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
1391
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
1392
|
-
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1393
|
-
} | undefined;
|
|
1394
|
-
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>,
|
|
1395
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
1396
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
1397
|
-
actions: {
|
|
1398
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1399
|
-
};
|
|
1400
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
1401
|
-
dependencies: [
|
|
1402
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1403
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1404
|
-
sharedState: {
|
|
1405
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1406
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1407
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1408
|
-
};
|
|
1409
|
-
dependencies: [
|
|
1410
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1411
|
-
pluginConfiguration: FeatureFlags;
|
|
1412
|
-
sharedState: FeatureFlags;
|
|
1413
|
-
}, FeatureFlags>>
|
|
1414
|
-
];
|
|
1415
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1416
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1417
|
-
];
|
|
1418
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
697
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>,
|
|
698
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPlugin>,
|
|
699
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPlugin>,
|
|
700
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPlugin>
|
|
1419
701
|
];
|
|
1420
702
|
sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
|
|
1421
703
|
actions: {
|
|
1422
704
|
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
1423
705
|
};
|
|
1424
706
|
commands: {
|
|
1425
|
-
setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod, fromBlockQuote?: boolean
|
|
707
|
+
setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod, fromBlockQuote?: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1426
708
|
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1427
709
|
clearFormatting: (inputMethod: import("packages/editor/editor-plugin-block-type/dist/types/pm-plugins/commands/block-type").ClearFormattingInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1428
710
|
};
|
|
1429
711
|
}, import("@atlaskit/editor-plugins/block-type").BlockTypePluginOptions | undefined>,
|
|
1430
712
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
|
|
1431
713
|
dependencies: [
|
|
1432
|
-
import("@atlaskit/editor-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1437
|
-
sharedState: {
|
|
1438
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1439
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1440
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1441
|
-
};
|
|
1442
|
-
dependencies: [
|
|
1443
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1444
|
-
pluginConfiguration: FeatureFlags;
|
|
1445
|
-
sharedState: FeatureFlags;
|
|
1446
|
-
}, FeatureFlags>>
|
|
1447
|
-
];
|
|
1448
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1449
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1450
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1451
|
-
pluginConfiguration: FeatureFlags;
|
|
1452
|
-
sharedState: FeatureFlags;
|
|
1453
|
-
}, FeatureFlags>>,
|
|
1454
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1455
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types/connectivityPluginType").PublicPluginState;
|
|
1456
|
-
commands: {
|
|
1457
|
-
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1458
|
-
};
|
|
1459
|
-
}, undefined>>,
|
|
1460
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
|
|
1461
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
1462
|
-
actions: {
|
|
1463
|
-
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1464
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").ShowObjectSidebar | undefined;
|
|
1465
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").HideObjectSidebar | undefined;
|
|
1466
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").HideObjectSidebarById | undefined;
|
|
1467
|
-
};
|
|
1468
|
-
sharedState: {
|
|
1469
|
-
contents: import("react").ReactNode[] | undefined;
|
|
1470
|
-
} | undefined;
|
|
1471
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1472
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1473
|
-
pluginConfiguration?: import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined;
|
|
1474
|
-
dependencies: [
|
|
1475
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1476
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1477
|
-
sharedState: {
|
|
1478
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1479
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1480
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1481
|
-
};
|
|
1482
|
-
dependencies: [
|
|
1483
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1484
|
-
pluginConfiguration: FeatureFlags;
|
|
1485
|
-
sharedState: FeatureFlags;
|
|
1486
|
-
}, FeatureFlags>>
|
|
1487
|
-
];
|
|
1488
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1489
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1490
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
1491
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
1492
|
-
actions: {
|
|
1493
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1494
|
-
};
|
|
1495
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
1496
|
-
dependencies: [
|
|
1497
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1498
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1499
|
-
sharedState: {
|
|
1500
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1501
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1502
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1503
|
-
};
|
|
1504
|
-
dependencies: [
|
|
1505
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1506
|
-
pluginConfiguration: FeatureFlags;
|
|
1507
|
-
sharedState: FeatureFlags;
|
|
1508
|
-
}, FeatureFlags>>
|
|
1509
|
-
];
|
|
1510
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1511
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1512
|
-
];
|
|
1513
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
1514
|
-
];
|
|
1515
|
-
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1516
|
-
commands: {
|
|
1517
|
-
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1518
|
-
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1519
|
-
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1520
|
-
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1521
|
-
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1522
|
-
shouldStartTimer?: boolean | undefined;
|
|
1523
|
-
shouldPersistActiveSession?: boolean | undefined;
|
|
1524
|
-
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1525
|
-
};
|
|
1526
|
-
}, import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined>>
|
|
1527
|
-
];
|
|
1528
|
-
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1529
|
-
actions: {
|
|
1530
|
-
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1531
|
-
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1532
|
-
insert: (props: {
|
|
1533
|
-
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1534
|
-
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
1535
|
-
query: string;
|
|
1536
|
-
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
1537
|
-
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1538
|
-
}) => boolean;
|
|
1539
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1540
|
-
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types/types").OpenTypeAheadProps) => boolean;
|
|
1541
|
-
close: (props: {
|
|
1542
|
-
insertCurrentQueryAsRawText: boolean;
|
|
1543
|
-
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1544
|
-
}) => boolean;
|
|
1545
|
-
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1546
|
-
};
|
|
1547
|
-
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
|
|
1548
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
1549
|
-
sharedState: import("packages/editor/editor-plugin-history/dist/types/historyPluginType").HistoryPluginSharedState | undefined;
|
|
1550
|
-
commands: {
|
|
1551
|
-
updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1552
|
-
};
|
|
1553
|
-
}, undefined>,
|
|
1554
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1555
|
-
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1556
|
-
actions: {
|
|
1557
|
-
registerComponent: ({ name, component, }: {
|
|
1558
|
-
name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
|
|
1559
|
-
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1560
|
-
}) => void;
|
|
1561
|
-
};
|
|
1562
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1563
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1564
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1565
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1566
|
-
sharedState: {
|
|
1567
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1568
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1569
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1570
|
-
};
|
|
1571
|
-
dependencies: [
|
|
1572
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1573
|
-
pluginConfiguration: FeatureFlags;
|
|
1574
|
-
sharedState: FeatureFlags;
|
|
1575
|
-
}, FeatureFlags>>
|
|
1576
|
-
];
|
|
1577
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1578
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
714
|
+
import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin,
|
|
715
|
+
import("@atlaskit/editor-plugins/history").HistoryPlugin,
|
|
716
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPlugin>,
|
|
717
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
1579
718
|
];
|
|
1580
719
|
actions: {
|
|
1581
720
|
undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
@@ -1590,7 +729,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1590
729
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1591
730
|
}) => void;
|
|
1592
731
|
};
|
|
1593
|
-
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions
|
|
732
|
+
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions;
|
|
1594
733
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>,
|
|
1595
734
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
1596
735
|
sharedState: import("packages/editor/editor-plugin-history/dist/types/historyPluginType").HistoryPluginSharedState | undefined;
|
|
@@ -1601,98 +740,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1601
740
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
1602
741
|
pluginConfiguration: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined;
|
|
1603
742
|
dependencies: [
|
|
1604
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1610
|
-
};
|
|
1611
|
-
dependencies: [
|
|
1612
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1613
|
-
pluginConfiguration: FeatureFlags;
|
|
1614
|
-
sharedState: FeatureFlags;
|
|
1615
|
-
}, FeatureFlags>>
|
|
1616
|
-
];
|
|
1617
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1618
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1619
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1620
|
-
pluginConfiguration: FeatureFlags;
|
|
1621
|
-
sharedState: FeatureFlags;
|
|
1622
|
-
}, FeatureFlags>>,
|
|
1623
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1624
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types/connectivityPluginType").PublicPluginState;
|
|
1625
|
-
commands: {
|
|
1626
|
-
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1627
|
-
};
|
|
1628
|
-
}, undefined>>,
|
|
1629
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
|
|
1630
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
1631
|
-
actions: {
|
|
1632
|
-
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1633
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").ShowObjectSidebar | undefined;
|
|
1634
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").HideObjectSidebar | undefined;
|
|
1635
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types/types/object-siderbar-types").HideObjectSidebarById | undefined;
|
|
1636
|
-
};
|
|
1637
|
-
sharedState: {
|
|
1638
|
-
contents: import("react").ReactNode[] | undefined;
|
|
1639
|
-
} | undefined;
|
|
1640
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1641
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1642
|
-
pluginConfiguration?: import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined;
|
|
1643
|
-
dependencies: [
|
|
1644
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1645
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1646
|
-
sharedState: {
|
|
1647
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1648
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1649
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1650
|
-
};
|
|
1651
|
-
dependencies: [
|
|
1652
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1653
|
-
pluginConfiguration: FeatureFlags;
|
|
1654
|
-
sharedState: FeatureFlags;
|
|
1655
|
-
}, FeatureFlags>>
|
|
1656
|
-
];
|
|
1657
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1658
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1659
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
1660
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
1661
|
-
actions: {
|
|
1662
|
-
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1663
|
-
};
|
|
1664
|
-
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
1665
|
-
dependencies: [
|
|
1666
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1667
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1668
|
-
sharedState: {
|
|
1669
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1670
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1671
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1672
|
-
};
|
|
1673
|
-
dependencies: [
|
|
1674
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1675
|
-
pluginConfiguration: FeatureFlags;
|
|
1676
|
-
sharedState: FeatureFlags;
|
|
1677
|
-
}, FeatureFlags>>
|
|
1678
|
-
];
|
|
1679
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1680
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1681
|
-
];
|
|
1682
|
-
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions>>
|
|
1683
|
-
];
|
|
1684
|
-
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1685
|
-
commands: {
|
|
1686
|
-
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1687
|
-
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1688
|
-
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1689
|
-
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1690
|
-
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1691
|
-
shouldStartTimer?: boolean | undefined;
|
|
1692
|
-
shouldPersistActiveSession?: boolean | undefined;
|
|
1693
|
-
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1694
|
-
};
|
|
1695
|
-
}, import("packages/editor/editor-plugin-metrics/dist/types").MetricsPluginOptions | undefined>>
|
|
743
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>,
|
|
744
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/feature-flags").FeatureFlagsPlugin>,
|
|
745
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/connectivity").ConnectivityPlugin>,
|
|
746
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/context-panel").ContextPanelPlugin>,
|
|
747
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/metrics").MetricsPlugin>
|
|
1696
748
|
];
|
|
1697
749
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1698
750
|
actions: {
|
|
@@ -1703,13 +755,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1703
755
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
1704
756
|
query: string;
|
|
1705
757
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
1706
|
-
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode
|
|
758
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode;
|
|
1707
759
|
}) => boolean;
|
|
1708
760
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1709
761
|
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types/types").OpenTypeAheadProps) => boolean;
|
|
1710
762
|
close: (props: {
|
|
1711
763
|
insertCurrentQueryAsRawText: boolean;
|
|
1712
|
-
attachCommand?: import("@atlaskit/editor-common/types").Command
|
|
764
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command;
|
|
1713
765
|
}) => boolean;
|
|
1714
766
|
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1715
767
|
};
|
|
@@ -1717,28 +769,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1717
769
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1718
770
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1719
771
|
actions: {
|
|
1720
|
-
hoverDecoration:
|
|
1721
|
-
removeDecoration: import("
|
|
772
|
+
hoverDecoration: import("@atlaskit/editor-plugins/decorations").HoverDecorationHandler;
|
|
773
|
+
removeDecoration: typeof import("packages/editor/editor-plugin-decorations/dist/types/pm-plugins/main").removeDecoration;
|
|
1722
774
|
};
|
|
1723
775
|
}, undefined>,
|
|
1724
776
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"base", {
|
|
1725
777
|
pluginConfiguration: import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined;
|
|
1726
778
|
dependencies: [
|
|
1727
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
1728
|
-
|
|
1729
|
-
sharedState: FeatureFlags;
|
|
1730
|
-
}, FeatureFlags>>,
|
|
1731
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1732
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierPluginOptions | undefined;
|
|
1733
|
-
sharedState: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1734
|
-
commands: {
|
|
1735
|
-
setProvider: (config: import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1736
|
-
};
|
|
1737
|
-
}, import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierPluginOptions | undefined>>
|
|
779
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/feature-flags").FeatureFlagsPlugin>,
|
|
780
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/context-identifier").ContextIdentifierPlugin>
|
|
1738
781
|
];
|
|
1739
782
|
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
1740
783
|
actions: {
|
|
1741
|
-
setKeyboardHeight:
|
|
784
|
+
setKeyboardHeight: typeof import("packages/editor/editor-plugin-base/dist/types/editor-commands/set-keyboard-height").setKeyboardHeight;
|
|
1742
785
|
registerMarks: (callback: import("packages/editor/editor-plugin-base/dist/types/basePluginType").Callback) => void;
|
|
1743
786
|
resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
|
|
1744
787
|
};
|
|
@@ -1762,25 +805,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1762
805
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"userPreferences", {
|
|
1763
806
|
pluginConfiguration: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions;
|
|
1764
807
|
actions: {
|
|
1765
|
-
updateUserPreference: (key: "
|
|
808
|
+
updateUserPreference: (key: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").PrefKey, value: import("@atlaskit/editor-common/user-preferences").ResolvedUserPreferences[import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").PrefKey]) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1766
809
|
};
|
|
1767
810
|
sharedState: import("packages/editor/editor-plugin-user-preferences/dist/types/userPreferencesPluginType").UserPreferencesSharedState;
|
|
1768
811
|
dependencies: [
|
|
1769
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
1770
|
-
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1771
|
-
sharedState: {
|
|
1772
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1773
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1774
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1775
|
-
};
|
|
1776
|
-
dependencies: [
|
|
1777
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1778
|
-
pluginConfiguration: FeatureFlags;
|
|
1779
|
-
sharedState: FeatureFlags;
|
|
1780
|
-
}, FeatureFlags>>
|
|
1781
|
-
];
|
|
1782
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1783
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
812
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>
|
|
1784
813
|
];
|
|
1785
814
|
}, import("@atlaskit/editor-plugin-user-preferences").UserPreferencesPluginOptions> | undefined,
|
|
1786
815
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
@@ -1805,15 +834,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1805
834
|
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1806
835
|
};
|
|
1807
836
|
dependencies: [
|
|
1808
|
-
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-
|
|
1809
|
-
pluginConfiguration: FeatureFlags;
|
|
1810
|
-
sharedState: FeatureFlags;
|
|
1811
|
-
}, FeatureFlags>>
|
|
837
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/feature-flags").FeatureFlagsPlugin>
|
|
1812
838
|
];
|
|
1813
839
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1814
840
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions> | undefined,
|
|
1815
841
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1816
|
-
pluginConfiguration:
|
|
842
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/feature-flags").FeatureFlagsPluginOptions;
|
|
1817
843
|
sharedState: FeatureFlags;
|
|
1818
844
|
}, FeatureFlags>
|
|
1819
845
|
]>;
|