@atlaskit/editor-core 201.1.0 → 201.1.2
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 +17 -0
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +1 -1
- package/dist/cjs/ui/Toolbar/ToolbarInner.js +1 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarInner.js +1 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarInner.js +1 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +243 -34
- package/dist/types/presets/default.d.ts +156 -28
- package/dist/types/presets/universal.d.ts +243 -34
- package/dist/types/presets/useUniversalPreset.d.ts +243 -34
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +293 -34
- package/dist/types-ts4.5/presets/default.d.ts +186 -28
- package/dist/types-ts4.5/presets/universal.d.ts +293 -34
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +293 -34
- package/package.json +10 -13
|
@@ -258,7 +258,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
258
258
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
259
259
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
260
260
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
261
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
262
261
|
};
|
|
263
262
|
commands: {
|
|
264
263
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -267,7 +266,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
267
266
|
}, QuickInsertPluginOptions | undefined>>];
|
|
268
267
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
269
268
|
commands: {
|
|
270
|
-
moveToLayout: (start: number, to: number,
|
|
269
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
270
|
+
moveToEnd?: boolean | undefined;
|
|
271
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
271
272
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
272
273
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
273
274
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -607,7 +608,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
607
608
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
608
609
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
609
610
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
610
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
611
611
|
};
|
|
612
612
|
commands: {
|
|
613
613
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -616,7 +616,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
616
616
|
}, QuickInsertPluginOptions | undefined>>];
|
|
617
617
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
618
618
|
commands: {
|
|
619
|
-
moveToLayout: (start: number, to: number,
|
|
619
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
620
|
+
moveToEnd?: boolean | undefined;
|
|
621
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
620
622
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
621
623
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
622
624
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -800,7 +802,27 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
800
802
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
801
803
|
pluginConfiguration: FeatureFlags;
|
|
802
804
|
sharedState: FeatureFlags;
|
|
803
|
-
}, FeatureFlags
|
|
805
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
806
|
+
actions: {
|
|
807
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
808
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
809
|
+
};
|
|
810
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
811
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
812
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
813
|
+
sharedState: {
|
|
814
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
815
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
816
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
817
|
+
};
|
|
818
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
819
|
+
pluginConfiguration: FeatureFlags;
|
|
820
|
+
sharedState: FeatureFlags;
|
|
821
|
+
}, FeatureFlags>>];
|
|
822
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
823
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
824
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
825
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
|
|
804
826
|
actions: {
|
|
805
827
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
806
828
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -927,7 +949,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
927
949
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
928
950
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
929
951
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
930
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
931
952
|
};
|
|
932
953
|
commands: {
|
|
933
954
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -1205,7 +1226,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1205
1226
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
1206
1227
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1207
1228
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
1208
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
1209
1229
|
};
|
|
1210
1230
|
commands: {
|
|
1211
1231
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -1214,7 +1234,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1214
1234
|
}, QuickInsertPluginOptions | undefined>>];
|
|
1215
1235
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1216
1236
|
commands: {
|
|
1217
|
-
moveToLayout: (start: number, to: number,
|
|
1237
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
1238
|
+
moveToEnd?: boolean | undefined;
|
|
1239
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1218
1240
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1219
1241
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
1220
1242
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -1786,7 +1808,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1786
1808
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
1787
1809
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1788
1810
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
1789
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
1790
1811
|
};
|
|
1791
1812
|
commands: {
|
|
1792
1813
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -1795,7 +1816,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1795
1816
|
}, QuickInsertPluginOptions | undefined>>];
|
|
1796
1817
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1797
1818
|
commands: {
|
|
1798
|
-
moveToLayout: (start: number, to: number,
|
|
1819
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
1820
|
+
moveToEnd?: boolean | undefined;
|
|
1821
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1799
1822
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1800
1823
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
1801
1824
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -2140,7 +2163,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2140
2163
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2141
2164
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2142
2165
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2143
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
2144
2166
|
};
|
|
2145
2167
|
commands: {
|
|
2146
2168
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -2149,7 +2171,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2149
2171
|
}, QuickInsertPluginOptions | undefined>>];
|
|
2150
2172
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2151
2173
|
commands: {
|
|
2152
|
-
moveToLayout: (start: number, to: number,
|
|
2174
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
2175
|
+
moveToEnd?: boolean | undefined;
|
|
2176
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2153
2177
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2154
2178
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2155
2179
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -2333,7 +2357,27 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2333
2357
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2334
2358
|
pluginConfiguration: FeatureFlags;
|
|
2335
2359
|
sharedState: FeatureFlags;
|
|
2336
|
-
}, FeatureFlags
|
|
2360
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
2361
|
+
actions: {
|
|
2362
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
2363
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
2364
|
+
};
|
|
2365
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
2366
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2367
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2368
|
+
sharedState: {
|
|
2369
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2370
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2371
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2372
|
+
};
|
|
2373
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2374
|
+
pluginConfiguration: FeatureFlags;
|
|
2375
|
+
sharedState: FeatureFlags;
|
|
2376
|
+
}, FeatureFlags>>];
|
|
2377
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2378
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
2379
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2380
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
|
|
2337
2381
|
actions: {
|
|
2338
2382
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2339
2383
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2489,7 +2533,27 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2489
2533
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2490
2534
|
pluginConfiguration: FeatureFlags;
|
|
2491
2535
|
sharedState: FeatureFlags;
|
|
2492
|
-
}, FeatureFlags
|
|
2536
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
2537
|
+
actions: {
|
|
2538
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
2539
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
2540
|
+
};
|
|
2541
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
2542
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2543
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2544
|
+
sharedState: {
|
|
2545
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2546
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2547
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2548
|
+
};
|
|
2549
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2550
|
+
pluginConfiguration: FeatureFlags;
|
|
2551
|
+
sharedState: FeatureFlags;
|
|
2552
|
+
}, FeatureFlags>>];
|
|
2553
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2554
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
2555
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2556
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
|
|
2493
2557
|
actions: {
|
|
2494
2558
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2495
2559
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2805,7 +2869,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2805
2869
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
2806
2870
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2807
2871
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2808
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
2809
2872
|
};
|
|
2810
2873
|
commands: {
|
|
2811
2874
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -2814,7 +2877,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2814
2877
|
}, QuickInsertPluginOptions | undefined>>];
|
|
2815
2878
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2816
2879
|
commands: {
|
|
2817
|
-
moveToLayout: (start: number, to: number,
|
|
2880
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
2881
|
+
moveToEnd?: boolean | undefined;
|
|
2882
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2818
2883
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2819
2884
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2820
2885
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -3154,7 +3219,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3154
3219
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
3155
3220
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3156
3221
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3157
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
3158
3222
|
};
|
|
3159
3223
|
commands: {
|
|
3160
3224
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -3163,7 +3227,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3163
3227
|
}, QuickInsertPluginOptions | undefined>>];
|
|
3164
3228
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3165
3229
|
commands: {
|
|
3166
|
-
moveToLayout: (start: number, to: number,
|
|
3230
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
3231
|
+
moveToEnd?: boolean | undefined;
|
|
3232
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3167
3233
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3168
3234
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3169
3235
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -3347,7 +3413,27 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3347
3413
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3348
3414
|
pluginConfiguration: FeatureFlags;
|
|
3349
3415
|
sharedState: FeatureFlags;
|
|
3350
|
-
}, FeatureFlags
|
|
3416
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
3417
|
+
actions: {
|
|
3418
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
3419
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
3420
|
+
};
|
|
3421
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
3422
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3423
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
3424
|
+
sharedState: {
|
|
3425
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
3426
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3427
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
3428
|
+
};
|
|
3429
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3430
|
+
pluginConfiguration: FeatureFlags;
|
|
3431
|
+
sharedState: FeatureFlags;
|
|
3432
|
+
}, FeatureFlags>>];
|
|
3433
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3434
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
3435
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
3436
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
|
|
3351
3437
|
actions: {
|
|
3352
3438
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3353
3439
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3474,7 +3560,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3474
3560
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
3475
3561
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3476
3562
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3477
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
3478
3563
|
};
|
|
3479
3564
|
commands: {
|
|
3480
3565
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -3752,7 +3837,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3752
3837
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
3753
3838
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3754
3839
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3755
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
3756
3840
|
};
|
|
3757
3841
|
commands: {
|
|
3758
3842
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -3761,7 +3845,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3761
3845
|
}, QuickInsertPluginOptions | undefined>>];
|
|
3762
3846
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3763
3847
|
commands: {
|
|
3764
|
-
moveToLayout: (start: number, to: number,
|
|
3848
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
3849
|
+
moveToEnd?: boolean | undefined;
|
|
3850
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3765
3851
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3766
3852
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3767
3853
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -4333,7 +4419,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4333
4419
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
4334
4420
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4335
4421
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
4336
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
4337
4422
|
};
|
|
4338
4423
|
commands: {
|
|
4339
4424
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -4342,7 +4427,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4342
4427
|
}, QuickInsertPluginOptions | undefined>>];
|
|
4343
4428
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4344
4429
|
commands: {
|
|
4345
|
-
moveToLayout: (start: number, to: number,
|
|
4430
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
4431
|
+
moveToEnd?: boolean | undefined;
|
|
4432
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4346
4433
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4347
4434
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4348
4435
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -4687,7 +4774,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4687
4774
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
4688
4775
|
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 | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4689
4776
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
4690
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
4691
4777
|
};
|
|
4692
4778
|
commands: {
|
|
4693
4779
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -4696,7 +4782,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4696
4782
|
}, QuickInsertPluginOptions | undefined>>];
|
|
4697
4783
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4698
4784
|
commands: {
|
|
4699
|
-
moveToLayout: (start: number, to: number,
|
|
4785
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
4786
|
+
moveToEnd?: boolean | undefined;
|
|
4787
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4700
4788
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4701
4789
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4702
4790
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
@@ -4880,7 +4968,27 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4880
4968
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4881
4969
|
pluginConfiguration: FeatureFlags;
|
|
4882
4970
|
sharedState: FeatureFlags;
|
|
4883
|
-
}, FeatureFlags
|
|
4971
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
4972
|
+
actions: {
|
|
4973
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
4974
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
4975
|
+
};
|
|
4976
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
4977
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4978
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
4979
|
+
sharedState: {
|
|
4980
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
4981
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
4982
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
4983
|
+
};
|
|
4984
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4985
|
+
pluginConfiguration: FeatureFlags;
|
|
4986
|
+
sharedState: FeatureFlags;
|
|
4987
|
+
}, FeatureFlags>>];
|
|
4988
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4989
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
4990
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4991
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
|
|
4884
4992
|
actions: {
|
|
4885
4993
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4886
4994
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -5036,7 +5144,27 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5036
5144
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5037
5145
|
pluginConfiguration: FeatureFlags;
|
|
5038
5146
|
sharedState: FeatureFlags;
|
|
5039
|
-
}, FeatureFlags
|
|
5147
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
5148
|
+
actions: {
|
|
5149
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
5150
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
5151
|
+
};
|
|
5152
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
5153
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5154
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
5155
|
+
sharedState: {
|
|
5156
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
5157
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
5158
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
5159
|
+
};
|
|
5160
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5161
|
+
pluginConfiguration: FeatureFlags;
|
|
5162
|
+
sharedState: FeatureFlags;
|
|
5163
|
+
}, FeatureFlags>>];
|
|
5164
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5165
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
5166
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
5167
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
|
|
5040
5168
|
actions: {
|
|
5041
5169
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5042
5170
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|