@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
|
@@ -475,7 +475,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
475
475
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
476
476
|
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;
|
|
477
477
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
478
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
479
478
|
};
|
|
480
479
|
commands: {
|
|
481
480
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -485,7 +484,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
485
484
|
];
|
|
486
485
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
487
486
|
commands: {
|
|
488
|
-
moveToLayout: (start: number, to: number,
|
|
487
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
488
|
+
moveToEnd?: boolean | undefined;
|
|
489
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
489
490
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
490
491
|
(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;
|
|
491
492
|
(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;
|
|
@@ -902,7 +903,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
902
903
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
903
904
|
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;
|
|
904
905
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
905
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
906
906
|
};
|
|
907
907
|
commands: {
|
|
908
908
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -912,7 +912,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
912
912
|
];
|
|
913
913
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
914
914
|
commands: {
|
|
915
|
-
moveToLayout: (start: number, to: number,
|
|
915
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
916
|
+
moveToEnd?: boolean | undefined;
|
|
917
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
916
918
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
917
919
|
(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;
|
|
918
920
|
(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;
|
|
@@ -1129,7 +1131,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1129
1131
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1130
1132
|
pluginConfiguration: FeatureFlags;
|
|
1131
1133
|
sharedState: FeatureFlags;
|
|
1132
|
-
}, FeatureFlags
|
|
1134
|
+
}, FeatureFlags>>,
|
|
1135
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
1136
|
+
actions: {
|
|
1137
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
1138
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
1139
|
+
};
|
|
1140
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
1141
|
+
dependencies: [
|
|
1142
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1143
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
1144
|
+
sharedState: {
|
|
1145
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1146
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1147
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1148
|
+
};
|
|
1149
|
+
dependencies: [
|
|
1150
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1151
|
+
pluginConfiguration: FeatureFlags;
|
|
1152
|
+
sharedState: FeatureFlags;
|
|
1153
|
+
}, FeatureFlags>>
|
|
1154
|
+
];
|
|
1155
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1156
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
1157
|
+
];
|
|
1158
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
1159
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
1133
1160
|
];
|
|
1134
1161
|
actions: {
|
|
1135
1162
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -1315,7 +1342,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1315
1342
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1316
1343
|
pluginConfiguration: FeatureFlags;
|
|
1317
1344
|
sharedState: FeatureFlags;
|
|
1318
|
-
}, FeatureFlags
|
|
1345
|
+
}, FeatureFlags>>,
|
|
1346
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
1347
|
+
actions: {
|
|
1348
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
1349
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
1350
|
+
};
|
|
1351
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
1352
|
+
dependencies: [
|
|
1353
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1354
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
1355
|
+
sharedState: {
|
|
1356
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1357
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1358
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1359
|
+
};
|
|
1360
|
+
dependencies: [
|
|
1361
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1362
|
+
pluginConfiguration: FeatureFlags;
|
|
1363
|
+
sharedState: FeatureFlags;
|
|
1364
|
+
}, FeatureFlags>>
|
|
1365
|
+
];
|
|
1366
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1367
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
1368
|
+
];
|
|
1369
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
1370
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
1319
1371
|
];
|
|
1320
1372
|
actions: {
|
|
1321
1373
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -2129,7 +2181,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2129
2181
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2130
2182
|
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;
|
|
2131
2183
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2132
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
2133
2184
|
};
|
|
2134
2185
|
commands: {
|
|
2135
2186
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -2139,7 +2190,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2139
2190
|
];
|
|
2140
2191
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2141
2192
|
commands: {
|
|
2142
|
-
moveToLayout: (start: number, to: number,
|
|
2193
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
2194
|
+
moveToEnd?: boolean | undefined;
|
|
2195
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2143
2196
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2144
2197
|
(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;
|
|
2145
2198
|
(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;
|
|
@@ -2493,7 +2546,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2493
2546
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2494
2547
|
pluginConfiguration: FeatureFlags;
|
|
2495
2548
|
sharedState: FeatureFlags;
|
|
2496
|
-
}, FeatureFlags
|
|
2549
|
+
}, FeatureFlags>>,
|
|
2550
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
2551
|
+
actions: {
|
|
2552
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
2553
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
2554
|
+
};
|
|
2555
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
2556
|
+
dependencies: [
|
|
2557
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2558
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2559
|
+
sharedState: {
|
|
2560
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2561
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2562
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
2563
|
+
};
|
|
2564
|
+
dependencies: [
|
|
2565
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2566
|
+
pluginConfiguration: FeatureFlags;
|
|
2567
|
+
sharedState: FeatureFlags;
|
|
2568
|
+
}, FeatureFlags>>
|
|
2569
|
+
];
|
|
2570
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2571
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
2572
|
+
];
|
|
2573
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
2574
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
2497
2575
|
];
|
|
2498
2576
|
actions: {
|
|
2499
2577
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -3029,7 +3107,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3029
3107
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
3030
3108
|
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;
|
|
3031
3109
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3032
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
3033
3110
|
};
|
|
3034
3111
|
commands: {
|
|
3035
3112
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -3039,7 +3116,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3039
3116
|
];
|
|
3040
3117
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3041
3118
|
commands: {
|
|
3042
|
-
moveToLayout: (start: number, to: number,
|
|
3119
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
3120
|
+
moveToEnd?: boolean | undefined;
|
|
3121
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3043
3122
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3044
3123
|
(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;
|
|
3045
3124
|
(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;
|
|
@@ -3256,7 +3335,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3256
3335
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3257
3336
|
pluginConfiguration: FeatureFlags;
|
|
3258
3337
|
sharedState: FeatureFlags;
|
|
3259
|
-
}, FeatureFlags
|
|
3338
|
+
}, FeatureFlags>>,
|
|
3339
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
3340
|
+
actions: {
|
|
3341
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
3342
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
3343
|
+
};
|
|
3344
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
3345
|
+
dependencies: [
|
|
3346
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3347
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3348
|
+
sharedState: {
|
|
3349
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
3350
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3351
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3352
|
+
};
|
|
3353
|
+
dependencies: [
|
|
3354
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3355
|
+
pluginConfiguration: FeatureFlags;
|
|
3356
|
+
sharedState: FeatureFlags;
|
|
3357
|
+
}, FeatureFlags>>
|
|
3358
|
+
];
|
|
3359
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3360
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
3361
|
+
];
|
|
3362
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
3363
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
3260
3364
|
];
|
|
3261
3365
|
actions: {
|
|
3262
3366
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -3369,7 +3473,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3369
3473
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
3370
3474
|
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;
|
|
3371
3475
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3372
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
3373
3476
|
};
|
|
3374
3477
|
commands: {
|
|
3375
3478
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -4107,7 +4210,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4107
4210
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
4108
4211
|
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;
|
|
4109
4212
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
4110
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
4111
4213
|
};
|
|
4112
4214
|
commands: {
|
|
4113
4215
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -4117,7 +4219,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4117
4219
|
];
|
|
4118
4220
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4119
4221
|
commands: {
|
|
4120
|
-
moveToLayout: (start: number, to: number,
|
|
4222
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
4223
|
+
moveToEnd?: boolean | undefined;
|
|
4224
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4121
4225
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4122
4226
|
(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;
|
|
4123
4227
|
(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;
|
|
@@ -4334,7 +4438,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4334
4438
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4335
4439
|
pluginConfiguration: FeatureFlags;
|
|
4336
4440
|
sharedState: FeatureFlags;
|
|
4337
|
-
}, FeatureFlags
|
|
4441
|
+
}, FeatureFlags>>,
|
|
4442
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
4443
|
+
actions: {
|
|
4444
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
4445
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
4446
|
+
};
|
|
4447
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
4448
|
+
dependencies: [
|
|
4449
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4450
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
4451
|
+
sharedState: {
|
|
4452
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
4453
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
4454
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
4455
|
+
};
|
|
4456
|
+
dependencies: [
|
|
4457
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4458
|
+
pluginConfiguration: FeatureFlags;
|
|
4459
|
+
sharedState: FeatureFlags;
|
|
4460
|
+
}, FeatureFlags>>
|
|
4461
|
+
];
|
|
4462
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4463
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
4464
|
+
];
|
|
4465
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
4466
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
4338
4467
|
];
|
|
4339
4468
|
actions: {
|
|
4340
4469
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -4656,7 +4785,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4656
4785
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
4657
4786
|
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;
|
|
4658
4787
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
4659
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
4660
4788
|
};
|
|
4661
4789
|
commands: {
|
|
4662
4790
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -4666,7 +4794,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4666
4794
|
];
|
|
4667
4795
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4668
4796
|
commands: {
|
|
4669
|
-
moveToLayout: (start: number, to: number,
|
|
4797
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
4798
|
+
moveToEnd?: boolean | undefined;
|
|
4799
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4670
4800
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4671
4801
|
(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;
|
|
4672
4802
|
(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;
|
|
@@ -4883,7 +5013,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4883
5013
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4884
5014
|
pluginConfiguration: FeatureFlags;
|
|
4885
5015
|
sharedState: FeatureFlags;
|
|
4886
|
-
}, FeatureFlags
|
|
5016
|
+
}, FeatureFlags>>,
|
|
5017
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
5018
|
+
actions: {
|
|
5019
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
5020
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
5021
|
+
};
|
|
5022
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
5023
|
+
dependencies: [
|
|
5024
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5025
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
5026
|
+
sharedState: {
|
|
5027
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
5028
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
5029
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
5030
|
+
};
|
|
5031
|
+
dependencies: [
|
|
5032
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5033
|
+
pluginConfiguration: FeatureFlags;
|
|
5034
|
+
sharedState: FeatureFlags;
|
|
5035
|
+
}, FeatureFlags>>
|
|
5036
|
+
];
|
|
5037
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5038
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
5039
|
+
];
|
|
5040
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
5041
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
4887
5042
|
];
|
|
4888
5043
|
actions: {
|
|
4889
5044
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -5008,7 +5163,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5008
5163
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5009
5164
|
pluginConfiguration: FeatureFlags;
|
|
5010
5165
|
sharedState: FeatureFlags;
|
|
5011
|
-
}, FeatureFlags
|
|
5166
|
+
}, FeatureFlags>>,
|
|
5167
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
5168
|
+
actions: {
|
|
5169
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
5170
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
5171
|
+
};
|
|
5172
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
5173
|
+
dependencies: [
|
|
5174
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5175
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
5176
|
+
sharedState: {
|
|
5177
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
5178
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
5179
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
5180
|
+
};
|
|
5181
|
+
dependencies: [
|
|
5182
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5183
|
+
pluginConfiguration: FeatureFlags;
|
|
5184
|
+
sharedState: FeatureFlags;
|
|
5185
|
+
}, FeatureFlags>>
|
|
5186
|
+
];
|
|
5187
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
5188
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
5189
|
+
];
|
|
5190
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
5191
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
5012
5192
|
];
|
|
5013
5193
|
actions: {
|
|
5014
5194
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -5575,7 +5755,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5575
5755
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
5576
5756
|
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;
|
|
5577
5757
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
5578
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
5579
5758
|
};
|
|
5580
5759
|
commands: {
|
|
5581
5760
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -5585,7 +5764,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5585
5764
|
];
|
|
5586
5765
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5587
5766
|
commands: {
|
|
5588
|
-
moveToLayout: (start: number, to: number,
|
|
5767
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
5768
|
+
moveToEnd?: boolean | undefined;
|
|
5769
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5589
5770
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
5590
5771
|
(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;
|
|
5591
5772
|
(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;
|
|
@@ -5997,7 +6178,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5997
6178
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
5998
6179
|
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;
|
|
5999
6180
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
6000
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
6001
6181
|
};
|
|
6002
6182
|
commands: {
|
|
6003
6183
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -6007,7 +6187,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6007
6187
|
];
|
|
6008
6188
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
6009
6189
|
commands: {
|
|
6010
|
-
moveToLayout: (start: number, to: number,
|
|
6190
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
6191
|
+
moveToEnd?: boolean | undefined;
|
|
6192
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6011
6193
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
6012
6194
|
(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;
|
|
6013
6195
|
(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;
|
|
@@ -6224,7 +6406,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6224
6406
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6225
6407
|
pluginConfiguration: FeatureFlags;
|
|
6226
6408
|
sharedState: FeatureFlags;
|
|
6227
|
-
}, FeatureFlags
|
|
6409
|
+
}, FeatureFlags>>,
|
|
6410
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
6411
|
+
actions: {
|
|
6412
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
6413
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
6414
|
+
};
|
|
6415
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
6416
|
+
dependencies: [
|
|
6417
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
6418
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
6419
|
+
sharedState: {
|
|
6420
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
6421
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
6422
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
6423
|
+
};
|
|
6424
|
+
dependencies: [
|
|
6425
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6426
|
+
pluginConfiguration: FeatureFlags;
|
|
6427
|
+
sharedState: FeatureFlags;
|
|
6428
|
+
}, FeatureFlags>>
|
|
6429
|
+
];
|
|
6430
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
6431
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
6432
|
+
];
|
|
6433
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
6434
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
6228
6435
|
];
|
|
6229
6436
|
actions: {
|
|
6230
6437
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -6375,7 +6582,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6375
6582
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
6376
6583
|
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;
|
|
6377
6584
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
6378
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
6379
6585
|
};
|
|
6380
6586
|
commands: {
|
|
6381
6587
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -6714,7 +6920,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6714
6920
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
6715
6921
|
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;
|
|
6716
6922
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
6717
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
6718
6923
|
};
|
|
6719
6924
|
commands: {
|
|
6720
6925
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -6724,7 +6929,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6724
6929
|
];
|
|
6725
6930
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
6726
6931
|
commands: {
|
|
6727
|
-
moveToLayout: (start: number, to: number,
|
|
6932
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
6933
|
+
moveToEnd?: boolean | undefined;
|
|
6934
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6728
6935
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
6729
6936
|
(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;
|
|
6730
6937
|
(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;
|
|
@@ -7412,7 +7619,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7412
7619
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
7413
7620
|
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;
|
|
7414
7621
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
7415
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
7416
7622
|
};
|
|
7417
7623
|
commands: {
|
|
7418
7624
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -7422,7 +7628,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7422
7628
|
];
|
|
7423
7629
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
7424
7630
|
commands: {
|
|
7425
|
-
moveToLayout: (start: number, to: number,
|
|
7631
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
7632
|
+
moveToEnd?: boolean | undefined;
|
|
7633
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7426
7634
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
7427
7635
|
(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;
|
|
7428
7636
|
(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;
|
|
@@ -7839,7 +8047,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7839
8047
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
7840
8048
|
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;
|
|
7841
8049
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
7842
|
-
onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
|
|
7843
8050
|
};
|
|
7844
8051
|
commands: {
|
|
7845
8052
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -7849,7 +8056,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7849
8056
|
];
|
|
7850
8057
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
7851
8058
|
commands: {
|
|
7852
|
-
moveToLayout: (start: number, to: number,
|
|
8059
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
8060
|
+
moveToEnd?: boolean | undefined;
|
|
8061
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7853
8062
|
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
7854
8063
|
(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;
|
|
7855
8064
|
(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;
|
|
@@ -8066,7 +8275,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
8066
8275
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
8067
8276
|
pluginConfiguration: FeatureFlags;
|
|
8068
8277
|
sharedState: FeatureFlags;
|
|
8069
|
-
}, FeatureFlags
|
|
8278
|
+
}, FeatureFlags>>,
|
|
8279
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
8280
|
+
actions: {
|
|
8281
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
8282
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
8283
|
+
};
|
|
8284
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
8285
|
+
dependencies: [
|
|
8286
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
8287
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
8288
|
+
sharedState: {
|
|
8289
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
8290
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
8291
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
8292
|
+
};
|
|
8293
|
+
dependencies: [
|
|
8294
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
8295
|
+
pluginConfiguration: FeatureFlags;
|
|
8296
|
+
sharedState: FeatureFlags;
|
|
8297
|
+
}, FeatureFlags>>
|
|
8298
|
+
];
|
|
8299
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
8300
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
8301
|
+
];
|
|
8302
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
8303
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
8070
8304
|
];
|
|
8071
8305
|
actions: {
|
|
8072
8306
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -8252,7 +8486,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
8252
8486
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
8253
8487
|
pluginConfiguration: FeatureFlags;
|
|
8254
8488
|
sharedState: FeatureFlags;
|
|
8255
|
-
}, FeatureFlags
|
|
8489
|
+
}, FeatureFlags>>,
|
|
8490
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
|
|
8491
|
+
actions: {
|
|
8492
|
+
startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
|
|
8493
|
+
stopMessage: (messageId: string) => Promise<boolean>;
|
|
8494
|
+
};
|
|
8495
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
|
|
8496
|
+
dependencies: [
|
|
8497
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
8498
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
8499
|
+
sharedState: {
|
|
8500
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
8501
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
8502
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
8503
|
+
};
|
|
8504
|
+
dependencies: [
|
|
8505
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
8506
|
+
pluginConfiguration: FeatureFlags;
|
|
8507
|
+
sharedState: FeatureFlags;
|
|
8508
|
+
}, FeatureFlags>>
|
|
8509
|
+
];
|
|
8510
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
8511
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
8512
|
+
];
|
|
8513
|
+
sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
|
|
8514
|
+
}, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
|
|
8256
8515
|
];
|
|
8257
8516
|
actions: {
|
|
8258
8517
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|