@atlaskit/editor-common 109.6.0 → 109.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/cjs/ai-messages/ai-config-items.js +5 -0
- package/dist/cjs/block-menu/rank.js +1 -1
- package/dist/cjs/i18n/cs.js +0 -1
- package/dist/cjs/i18n/da.js +0 -1
- package/dist/cjs/i18n/de.js +0 -1
- package/dist/cjs/i18n/en.js +5 -1
- package/dist/cjs/i18n/en_GB.js +5 -1
- package/dist/cjs/i18n/en_ZZ.js +5 -1
- package/dist/cjs/i18n/es.js +0 -1
- package/dist/cjs/i18n/fi.js +0 -1
- package/dist/cjs/i18n/fr.js +0 -1
- package/dist/cjs/i18n/hr.js +0 -1
- package/dist/cjs/i18n/hu.js +0 -1
- package/dist/cjs/i18n/it.js +0 -1
- package/dist/cjs/i18n/ja.js +0 -1
- package/dist/cjs/i18n/ko.js +0 -1
- package/dist/cjs/i18n/nb.js +0 -1
- package/dist/cjs/i18n/nl.js +0 -1
- package/dist/cjs/i18n/pl.js +0 -1
- package/dist/cjs/i18n/pt_BR.js +0 -1
- package/dist/cjs/i18n/ru.js +0 -1
- package/dist/cjs/i18n/sl.js +0 -1
- package/dist/cjs/i18n/sr_RS.js +0 -1
- package/dist/cjs/i18n/sr_YR.js +0 -1
- package/dist/cjs/i18n/sv.js +0 -1
- package/dist/cjs/i18n/th.js +0 -1
- package/dist/cjs/i18n/tr.js +0 -1
- package/dist/cjs/i18n/uk.js +0 -1
- package/dist/cjs/i18n/vi.js +0 -1
- package/dist/cjs/i18n/zh.js +0 -1
- package/dist/cjs/i18n/zh_TW.js +6 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/safe-plugin/index.js +3 -0
- package/dist/cjs/styles/shared/table.js +2 -1
- package/dist/cjs/transforms/list-transforms.js +24 -9
- package/dist/cjs/transforms/list-utils.js +14 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-config-items.js +5 -0
- package/dist/es2019/block-menu/rank.js +1 -1
- package/dist/es2019/i18n/cs.js +0 -1
- package/dist/es2019/i18n/da.js +0 -1
- package/dist/es2019/i18n/de.js +0 -1
- package/dist/es2019/i18n/en.js +5 -1
- package/dist/es2019/i18n/en_GB.js +5 -1
- package/dist/es2019/i18n/en_ZZ.js +5 -1
- package/dist/es2019/i18n/es.js +0 -1
- package/dist/es2019/i18n/fi.js +0 -1
- package/dist/es2019/i18n/fr.js +0 -1
- package/dist/es2019/i18n/hr.js +0 -1
- package/dist/es2019/i18n/hu.js +0 -1
- package/dist/es2019/i18n/it.js +0 -1
- package/dist/es2019/i18n/ja.js +0 -1
- package/dist/es2019/i18n/ko.js +0 -1
- package/dist/es2019/i18n/nb.js +0 -1
- package/dist/es2019/i18n/nl.js +0 -1
- package/dist/es2019/i18n/pl.js +0 -1
- package/dist/es2019/i18n/pt_BR.js +0 -1
- package/dist/es2019/i18n/ru.js +0 -1
- package/dist/es2019/i18n/sl.js +0 -1
- package/dist/es2019/i18n/sr_RS.js +0 -1
- package/dist/es2019/i18n/sr_YR.js +0 -1
- package/dist/es2019/i18n/sv.js +0 -1
- package/dist/es2019/i18n/th.js +0 -1
- package/dist/es2019/i18n/tr.js +0 -1
- package/dist/es2019/i18n/uk.js +0 -1
- package/dist/es2019/i18n/vi.js +0 -1
- package/dist/es2019/i18n/zh.js +0 -1
- package/dist/es2019/i18n/zh_TW.js +6 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/safe-plugin/index.js +3 -0
- package/dist/es2019/styles/shared/table.js +2 -1
- package/dist/es2019/transforms/list-transforms.js +21 -6
- package/dist/es2019/transforms/list-utils.js +13 -2
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-config-items.js +5 -0
- package/dist/esm/block-menu/rank.js +1 -1
- package/dist/esm/i18n/cs.js +0 -1
- package/dist/esm/i18n/da.js +0 -1
- package/dist/esm/i18n/de.js +0 -1
- package/dist/esm/i18n/en.js +5 -1
- package/dist/esm/i18n/en_GB.js +5 -1
- package/dist/esm/i18n/en_ZZ.js +5 -1
- package/dist/esm/i18n/es.js +0 -1
- package/dist/esm/i18n/fi.js +0 -1
- package/dist/esm/i18n/fr.js +0 -1
- package/dist/esm/i18n/hr.js +0 -1
- package/dist/esm/i18n/hu.js +0 -1
- package/dist/esm/i18n/it.js +0 -1
- package/dist/esm/i18n/ja.js +0 -1
- package/dist/esm/i18n/ko.js +0 -1
- package/dist/esm/i18n/nb.js +0 -1
- package/dist/esm/i18n/nl.js +0 -1
- package/dist/esm/i18n/pl.js +0 -1
- package/dist/esm/i18n/pt_BR.js +0 -1
- package/dist/esm/i18n/ru.js +0 -1
- package/dist/esm/i18n/sl.js +0 -1
- package/dist/esm/i18n/sr_RS.js +0 -1
- package/dist/esm/i18n/sr_YR.js +0 -1
- package/dist/esm/i18n/sv.js +0 -1
- package/dist/esm/i18n/th.js +0 -1
- package/dist/esm/i18n/tr.js +0 -1
- package/dist/esm/i18n/uk.js +0 -1
- package/dist/esm/i18n/vi.js +0 -1
- package/dist/esm/i18n/zh.js +0 -1
- package/dist/esm/i18n/zh_TW.js +6 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/safe-plugin/index.js +3 -0
- package/dist/esm/styles/shared/table.js +2 -1
- package/dist/esm/transforms/list-transforms.js +24 -9
- package/dist/esm/transforms/list-utils.js +14 -2
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-config-items.d.ts +5 -0
- package/dist/types/i18n/cs.d.ts +0 -1
- package/dist/types/i18n/da.d.ts +0 -1
- package/dist/types/i18n/de.d.ts +0 -1
- package/dist/types/i18n/en.d.ts +5 -1
- package/dist/types/i18n/en_GB.d.ts +5 -1
- package/dist/types/i18n/en_ZZ.d.ts +5 -1
- package/dist/types/i18n/es.d.ts +0 -1
- package/dist/types/i18n/fi.d.ts +0 -1
- package/dist/types/i18n/fr.d.ts +0 -1
- package/dist/types/i18n/hr.d.ts +0 -1
- package/dist/types/i18n/hu.d.ts +0 -1
- package/dist/types/i18n/it.d.ts +0 -1
- package/dist/types/i18n/ja.d.ts +0 -1
- package/dist/types/i18n/ko.d.ts +0 -1
- package/dist/types/i18n/nb.d.ts +0 -1
- package/dist/types/i18n/nl.d.ts +0 -1
- package/dist/types/i18n/pl.d.ts +0 -1
- package/dist/types/i18n/pt_BR.d.ts +0 -1
- package/dist/types/i18n/ru.d.ts +0 -1
- package/dist/types/i18n/sl.d.ts +0 -1
- package/dist/types/i18n/sr_RS.d.ts +0 -1
- package/dist/types/i18n/sr_YR.d.ts +0 -1
- package/dist/types/i18n/sv.d.ts +0 -1
- package/dist/types/i18n/th.d.ts +0 -1
- package/dist/types/i18n/tr.d.ts +0 -1
- package/dist/types/i18n/uk.d.ts +0 -1
- package/dist/types/i18n/vi.d.ts +0 -1
- package/dist/types/i18n/zh.d.ts +0 -1
- package/dist/types/i18n/zh_TW.d.ts +5 -1
- package/dist/types/provider-factory/quick-insert-provider.d.ts +1 -1
- package/dist/types/transforms/list-transforms.d.ts +1 -1
- package/dist/types-ts4.5/ai-messages/ai-config-items.d.ts +5 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -1
- package/dist/types-ts4.5/i18n/da.d.ts +0 -1
- package/dist/types-ts4.5/i18n/de.d.ts +0 -1
- package/dist/types-ts4.5/i18n/en.d.ts +5 -1
- package/dist/types-ts4.5/i18n/en_GB.d.ts +5 -1
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +5 -1
- package/dist/types-ts4.5/i18n/es.d.ts +0 -1
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -1
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -1
- package/dist/types-ts4.5/i18n/hr.d.ts +0 -1
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -1
- package/dist/types-ts4.5/i18n/it.d.ts +0 -1
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -1
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -1
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -1
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -1
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -1
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -1
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -1
- package/dist/types-ts4.5/i18n/sl.d.ts +0 -1
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -1
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -1
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -1
- package/dist/types-ts4.5/i18n/th.d.ts +0 -1
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -1
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -1
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -1
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -1
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +5 -1
- package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +1 -1
- package/dist/types-ts4.5/transforms/list-transforms.d.ts +1 -1
- package/package.json +3 -100
|
@@ -5,7 +5,16 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
|
|
6
6
|
import { findChildrenByType, findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
7
7
|
import { getSupportedListTypesSet, isBulletOrOrderedList, isTaskList, convertBlockToInlineContent } from './list-utils';
|
|
8
|
-
var
|
|
8
|
+
var getContentSupportChecker = function getContentSupportChecker(targetNodeType) {
|
|
9
|
+
return function (node) {
|
|
10
|
+
try {
|
|
11
|
+
return targetNodeType.validContent(Fragment.from(node));
|
|
12
|
+
} catch (_unused) {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
var _transformListRecursively = function transformListRecursively(props, onhandleUnsupportedContent) {
|
|
9
18
|
var transformedItems = [];
|
|
10
19
|
var listNode = props.listNode,
|
|
11
20
|
isSourceBulletOrOrdered = props.isSourceBulletOrOrdered,
|
|
@@ -30,7 +39,9 @@ var _transformListRecursively = function transformListRecursively(props) {
|
|
|
30
39
|
if (supportedListTypes.has(grandChild.type) && grandChild.type !== taskList) {
|
|
31
40
|
nestedTaskLists.push(_transformListRecursively(_objectSpread(_objectSpread({}, props), {}, {
|
|
32
41
|
listNode: grandChild
|
|
33
|
-
})));
|
|
42
|
+
}), onhandleUnsupportedContent));
|
|
43
|
+
} else if (!getContentSupportChecker(taskItem)(grandChild) && !grandChild.isTextblock) {
|
|
44
|
+
onhandleUnsupportedContent === null || onhandleUnsupportedContent === void 0 || onhandleUnsupportedContent(grandChild);
|
|
34
45
|
} else {
|
|
35
46
|
inlineContent.push.apply(inlineContent, _toConsumableArray(convertBlockToInlineContent(grandChild, schema)));
|
|
36
47
|
}
|
|
@@ -47,7 +58,7 @@ var _transformListRecursively = function transformListRecursively(props) {
|
|
|
47
58
|
} else if (child.type === taskList) {
|
|
48
59
|
var transformedNestedList = _transformListRecursively(_objectSpread(_objectSpread({}, props), {}, {
|
|
49
60
|
listNode: child
|
|
50
|
-
}));
|
|
61
|
+
}), onhandleUnsupportedContent);
|
|
51
62
|
var lastItem = transformedItems[transformedItems.length - 1];
|
|
52
63
|
if ((lastItem === null || lastItem === void 0 ? void 0 : lastItem.type) === listItem) {
|
|
53
64
|
// Attach nested list to previous item
|
|
@@ -65,7 +76,7 @@ var _transformListRecursively = function transformListRecursively(props) {
|
|
|
65
76
|
if (supportedListTypes.has(grandChild.type) && grandChild.type !== targetNodeType) {
|
|
66
77
|
var convertedNode = _transformListRecursively(_objectSpread(_objectSpread({}, props), {}, {
|
|
67
78
|
listNode: grandChild
|
|
68
|
-
}));
|
|
79
|
+
}), onhandleUnsupportedContent);
|
|
69
80
|
convertedNestedLists.push(convertedNode);
|
|
70
81
|
} else {
|
|
71
82
|
convertedNestedLists.push(grandChild);
|
|
@@ -88,6 +99,10 @@ export var transformListStructure = function transformListStructure(context) {
|
|
|
88
99
|
sourcePos = context.sourcePos,
|
|
89
100
|
targetNodeType = context.targetNodeType;
|
|
90
101
|
var nodes = tr.doc.type.schema.nodes;
|
|
102
|
+
var unsupportedContent = [];
|
|
103
|
+
var onhandleUnsupportedContent = function onhandleUnsupportedContent(content) {
|
|
104
|
+
unsupportedContent.push(content);
|
|
105
|
+
};
|
|
91
106
|
try {
|
|
92
107
|
var listNode = {
|
|
93
108
|
node: sourceNode,
|
|
@@ -111,10 +126,10 @@ export var transformListStructure = function transformListStructure(context) {
|
|
|
111
126
|
schema: tr.doc.type.schema,
|
|
112
127
|
supportedListTypes: supportedListTypes,
|
|
113
128
|
targetNodeType: targetNodeType
|
|
114
|
-
});
|
|
115
|
-
tr.replaceWith(listPos, listPos + sourceList.nodeSize, newList);
|
|
129
|
+
}, onhandleUnsupportedContent);
|
|
130
|
+
tr.replaceWith(listPos, listPos + sourceList.nodeSize, [newList].concat(unsupportedContent));
|
|
116
131
|
return tr;
|
|
117
|
-
} catch (
|
|
132
|
+
} catch (_unused2) {
|
|
118
133
|
return tr;
|
|
119
134
|
}
|
|
120
135
|
};
|
|
@@ -163,7 +178,7 @@ export var transformBetweenListTypes = function transformBetweenListTypes(contex
|
|
|
163
178
|
} else {
|
|
164
179
|
return transformListStructure(context);
|
|
165
180
|
}
|
|
166
|
-
} catch (
|
|
181
|
+
} catch (_unused3) {
|
|
167
182
|
return null;
|
|
168
183
|
}
|
|
169
184
|
};
|
|
@@ -200,7 +215,7 @@ export var transformToTaskList = function transformToTaskList(tr, range, targetN
|
|
|
200
215
|
// Replace the range with the new list
|
|
201
216
|
tr.replaceWith(range.start, range.end, newList);
|
|
202
217
|
return tr;
|
|
203
|
-
} catch (
|
|
218
|
+
} catch (_unused4) {
|
|
204
219
|
return null;
|
|
205
220
|
}
|
|
206
221
|
};
|
|
@@ -17,13 +17,25 @@ export var getSupportedListTypesSet = function getSupportedListTypesSet(nodes) {
|
|
|
17
17
|
* Convert a block node to inline content suitable for task items
|
|
18
18
|
*/
|
|
19
19
|
export var convertBlockToInlineContent = function convertBlockToInlineContent(node, schema) {
|
|
20
|
-
var
|
|
20
|
+
var _schema$nodes = schema.nodes,
|
|
21
|
+
paragraph = _schema$nodes.paragraph,
|
|
22
|
+
hardBreak = _schema$nodes.hardBreak;
|
|
21
23
|
if (node.type === paragraph) {
|
|
22
24
|
return _toConsumableArray(node.content.content);
|
|
23
25
|
}
|
|
24
26
|
if (node.isBlock) {
|
|
25
27
|
var textContent = node.textContent;
|
|
26
|
-
|
|
28
|
+
var lines = textContent.split('\n');
|
|
29
|
+
var newText = [];
|
|
30
|
+
lines.forEach(function (line, index) {
|
|
31
|
+
if (line !== '') {
|
|
32
|
+
newText.push(line ? schema.text(line) : schema.text(' '));
|
|
33
|
+
}
|
|
34
|
+
if (lines.length > 1 && index !== lines.length - 1) {
|
|
35
|
+
newText.push(hardBreak.create());
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
return newText;
|
|
27
39
|
}
|
|
28
40
|
return [node];
|
|
29
41
|
};
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "109.
|
|
24
|
+
var packageVersion = "109.7.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -294,6 +294,11 @@ export declare const aiConfigItemMessages: {
|
|
|
294
294
|
defaultMessage: string;
|
|
295
295
|
description: string;
|
|
296
296
|
};
|
|
297
|
+
freeGenerateRovoPromptHint: {
|
|
298
|
+
id: string;
|
|
299
|
+
defaultMessage: string;
|
|
300
|
+
description: string;
|
|
301
|
+
};
|
|
297
302
|
freeGenerateDisabledPromptHint: {
|
|
298
303
|
id: string;
|
|
299
304
|
defaultMessage: string;
|
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/da.d.ts
CHANGED
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/de.d.ts
CHANGED
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -195,6 +195,7 @@ declare const _default: {
|
|
|
195
195
|
'fabric.editor.ai.experience-application.rateLimitEnforced': string;
|
|
196
196
|
'fabric.editor.ai.experience-application.tokenLimitExceeded': string;
|
|
197
197
|
'fabric.editor.ai.experience-application.unhandledErrorMessage': string;
|
|
198
|
+
'fabric.editor.ai.experience.adfStreamingError': string;
|
|
198
199
|
'fabric.editor.ai.experience.apiError': string;
|
|
199
200
|
'fabric.editor.ai.experience.aupViolationMessage': string;
|
|
200
201
|
'fabric.editor.ai.experience.browseMore.agents': string;
|
|
@@ -309,6 +310,7 @@ declare const _default: {
|
|
|
309
310
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
310
311
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
311
312
|
'fabric.editor.ai.telepointer.rovo': string;
|
|
313
|
+
'fabric.editor.ai.toolbar.DefineDropdownIconTitle.title': string;
|
|
312
314
|
'fabric.editor.ai.toolbar.askAI.title': string;
|
|
313
315
|
'fabric.editor.ai.toolbar.askRovo.title': string;
|
|
314
316
|
'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand': string;
|
|
@@ -346,10 +348,11 @@ declare const _default: {
|
|
|
346
348
|
'fabric.editor.annotationToolbar': string;
|
|
347
349
|
'fabric.editor.backLink': string;
|
|
348
350
|
'fabric.editor.backgroundColor': string;
|
|
349
|
-
'fabric.editor.block.menu.
|
|
351
|
+
'fabric.editor.block.menu.codeblock': string;
|
|
350
352
|
'fabric.editor.block.menu.copy.block': string;
|
|
351
353
|
'fabric.editor.block.menu.copy.link': string;
|
|
352
354
|
'fabric.editor.block.menu.delete.block': string;
|
|
355
|
+
'fabric.editor.block.menu.layout': string;
|
|
353
356
|
'fabric.editor.block.menu.move.down': string;
|
|
354
357
|
'fabric.editor.block.menu.move.up': string;
|
|
355
358
|
'fabric.editor.block.menu.paragraph': string;
|
|
@@ -592,6 +595,7 @@ declare const _default: {
|
|
|
592
595
|
'fabric.editor.help.description': string;
|
|
593
596
|
'fabric.editor.helpDialogTips': string;
|
|
594
597
|
'fabric.editor.highlight': string;
|
|
598
|
+
'fabric.editor.highlight.removeColor': string;
|
|
595
599
|
'fabric.editor.highlightColor': string;
|
|
596
600
|
'fabric.editor.highlightFloatingToolbar': string;
|
|
597
601
|
'fabric.editor.horizontalRule': string;
|
|
@@ -195,6 +195,7 @@ declare const _default: {
|
|
|
195
195
|
'fabric.editor.ai.experience-application.rateLimitEnforced': string;
|
|
196
196
|
'fabric.editor.ai.experience-application.tokenLimitExceeded': string;
|
|
197
197
|
'fabric.editor.ai.experience-application.unhandledErrorMessage': string;
|
|
198
|
+
'fabric.editor.ai.experience.adfStreamingError': string;
|
|
198
199
|
'fabric.editor.ai.experience.apiError': string;
|
|
199
200
|
'fabric.editor.ai.experience.aupViolationMessage': string;
|
|
200
201
|
'fabric.editor.ai.experience.browseMore.agents': string;
|
|
@@ -309,6 +310,7 @@ declare const _default: {
|
|
|
309
310
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
310
311
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
311
312
|
'fabric.editor.ai.telepointer.rovo': string;
|
|
313
|
+
'fabric.editor.ai.toolbar.DefineDropdownIconTitle.title': string;
|
|
312
314
|
'fabric.editor.ai.toolbar.askAI.title': string;
|
|
313
315
|
'fabric.editor.ai.toolbar.askRovo.title': string;
|
|
314
316
|
'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand': string;
|
|
@@ -346,10 +348,11 @@ declare const _default: {
|
|
|
346
348
|
'fabric.editor.annotationToolbar': string;
|
|
347
349
|
'fabric.editor.backLink': string;
|
|
348
350
|
'fabric.editor.backgroundColor': string;
|
|
349
|
-
'fabric.editor.block.menu.
|
|
351
|
+
'fabric.editor.block.menu.codeblock': string;
|
|
350
352
|
'fabric.editor.block.menu.copy.block': string;
|
|
351
353
|
'fabric.editor.block.menu.copy.link': string;
|
|
352
354
|
'fabric.editor.block.menu.delete.block': string;
|
|
355
|
+
'fabric.editor.block.menu.layout': string;
|
|
353
356
|
'fabric.editor.block.menu.move.down': string;
|
|
354
357
|
'fabric.editor.block.menu.move.up': string;
|
|
355
358
|
'fabric.editor.block.menu.paragraph': string;
|
|
@@ -592,6 +595,7 @@ declare const _default: {
|
|
|
592
595
|
'fabric.editor.help.description': string;
|
|
593
596
|
'fabric.editor.helpDialogTips': string;
|
|
594
597
|
'fabric.editor.highlight': string;
|
|
598
|
+
'fabric.editor.highlight.removeColor': string;
|
|
595
599
|
'fabric.editor.highlightColor': string;
|
|
596
600
|
'fabric.editor.highlightFloatingToolbar': string;
|
|
597
601
|
'fabric.editor.horizontalRule': string;
|
|
@@ -195,6 +195,7 @@ declare const _default: {
|
|
|
195
195
|
'fabric.editor.ai.experience-application.rateLimitEnforced': string;
|
|
196
196
|
'fabric.editor.ai.experience-application.tokenLimitExceeded': string;
|
|
197
197
|
'fabric.editor.ai.experience-application.unhandledErrorMessage': string;
|
|
198
|
+
'fabric.editor.ai.experience.adfStreamingError': string;
|
|
198
199
|
'fabric.editor.ai.experience.apiError': string;
|
|
199
200
|
'fabric.editor.ai.experience.aupViolationMessage': string;
|
|
200
201
|
'fabric.editor.ai.experience.browseMore.agents': string;
|
|
@@ -309,6 +310,7 @@ declare const _default: {
|
|
|
309
310
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
310
311
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
311
312
|
'fabric.editor.ai.telepointer.rovo': string;
|
|
313
|
+
'fabric.editor.ai.toolbar.DefineDropdownIconTitle.title': string;
|
|
312
314
|
'fabric.editor.ai.toolbar.askAI.title': string;
|
|
313
315
|
'fabric.editor.ai.toolbar.askRovo.title': string;
|
|
314
316
|
'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand': string;
|
|
@@ -346,10 +348,11 @@ declare const _default: {
|
|
|
346
348
|
'fabric.editor.annotationToolbar': string;
|
|
347
349
|
'fabric.editor.backLink': string;
|
|
348
350
|
'fabric.editor.backgroundColor': string;
|
|
349
|
-
'fabric.editor.block.menu.
|
|
351
|
+
'fabric.editor.block.menu.codeblock': string;
|
|
350
352
|
'fabric.editor.block.menu.copy.block': string;
|
|
351
353
|
'fabric.editor.block.menu.copy.link': string;
|
|
352
354
|
'fabric.editor.block.menu.delete.block': string;
|
|
355
|
+
'fabric.editor.block.menu.layout': string;
|
|
353
356
|
'fabric.editor.block.menu.move.down': string;
|
|
354
357
|
'fabric.editor.block.menu.move.up': string;
|
|
355
358
|
'fabric.editor.block.menu.paragraph': string;
|
|
@@ -592,6 +595,7 @@ declare const _default: {
|
|
|
592
595
|
'fabric.editor.help.description': string;
|
|
593
596
|
'fabric.editor.helpDialogTips': string;
|
|
594
597
|
'fabric.editor.highlight': string;
|
|
598
|
+
'fabric.editor.highlight.removeColor': string;
|
|
595
599
|
'fabric.editor.highlightColor': string;
|
|
596
600
|
'fabric.editor.highlightFloatingToolbar': string;
|
|
597
601
|
'fabric.editor.horizontalRule': string;
|
package/dist/types/i18n/es.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/fi.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/fr.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/hr.d.ts
CHANGED
|
@@ -336,7 +336,6 @@ declare const _default: {
|
|
|
336
336
|
'fabric.editor.annotationToolbar': string;
|
|
337
337
|
'fabric.editor.backLink': string;
|
|
338
338
|
'fabric.editor.backgroundColor': string;
|
|
339
|
-
'fabric.editor.block.menu.code.block': string;
|
|
340
339
|
'fabric.editor.block.menu.copy.block': string;
|
|
341
340
|
'fabric.editor.block.menu.copy.link': string;
|
|
342
341
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/hu.d.ts
CHANGED
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/it.d.ts
CHANGED
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/ko.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/nb.d.ts
CHANGED
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/pl.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
|
@@ -264,7 +264,6 @@ declare const _default: {
|
|
|
264
264
|
'fabric.editor.annotationToolbar': string;
|
|
265
265
|
'fabric.editor.backLink': string;
|
|
266
266
|
'fabric.editor.backgroundColor': string;
|
|
267
|
-
'fabric.editor.block.menu.code.block': string;
|
|
268
267
|
'fabric.editor.block.menu.copy.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.link': string;
|
|
270
269
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/ru.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/sl.d.ts
CHANGED
|
@@ -334,7 +334,6 @@ declare const _default: {
|
|
|
334
334
|
'fabric.editor.annotationToolbar': string;
|
|
335
335
|
'fabric.editor.backLink': string;
|
|
336
336
|
'fabric.editor.backgroundColor': string;
|
|
337
|
-
'fabric.editor.block.menu.code.block': string;
|
|
338
337
|
'fabric.editor.block.menu.copy.block': string;
|
|
339
338
|
'fabric.editor.block.menu.copy.link': string;
|
|
340
339
|
'fabric.editor.block.menu.delete.block': string;
|
|
@@ -336,7 +336,6 @@ declare const _default: {
|
|
|
336
336
|
'fabric.editor.annotationToolbar': string;
|
|
337
337
|
'fabric.editor.backLink': string;
|
|
338
338
|
'fabric.editor.backgroundColor': string;
|
|
339
|
-
'fabric.editor.block.menu.code.block': string;
|
|
340
339
|
'fabric.editor.block.menu.copy.block': string;
|
|
341
340
|
'fabric.editor.block.menu.copy.link': string;
|
|
342
341
|
'fabric.editor.block.menu.delete.block': string;
|
|
@@ -336,7 +336,6 @@ declare const _default: {
|
|
|
336
336
|
'fabric.editor.annotationToolbar': string;
|
|
337
337
|
'fabric.editor.backLink': string;
|
|
338
338
|
'fabric.editor.backgroundColor': string;
|
|
339
|
-
'fabric.editor.block.menu.code.block': string;
|
|
340
339
|
'fabric.editor.block.menu.copy.block': string;
|
|
341
340
|
'fabric.editor.block.menu.copy.link': string;
|
|
342
341
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -251,7 +251,6 @@ declare const _default: {
|
|
|
251
251
|
'fabric.editor.annotationToolbar': string;
|
|
252
252
|
'fabric.editor.backLink': string;
|
|
253
253
|
'fabric.editor.backgroundColor': string;
|
|
254
|
-
'fabric.editor.block.menu.code.block': string;
|
|
255
254
|
'fabric.editor.block.menu.copy.block': string;
|
|
256
255
|
'fabric.editor.block.menu.copy.link': string;
|
|
257
256
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -251,7 +251,6 @@ declare const _default: {
|
|
|
251
251
|
'fabric.editor.annotationToolbar': string;
|
|
252
252
|
'fabric.editor.backLink': string;
|
|
253
253
|
'fabric.editor.backgroundColor': string;
|
|
254
|
-
'fabric.editor.block.menu.code.block': string;
|
|
255
254
|
'fabric.editor.block.menu.copy.block': string;
|
|
256
255
|
'fabric.editor.block.menu.copy.link': string;
|
|
257
256
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -251,7 +251,6 @@ declare const _default: {
|
|
|
251
251
|
'fabric.editor.annotationToolbar': string;
|
|
252
252
|
'fabric.editor.backLink': string;
|
|
253
253
|
'fabric.editor.backgroundColor': string;
|
|
254
|
-
'fabric.editor.block.menu.code.block': string;
|
|
255
254
|
'fabric.editor.block.menu.copy.block': string;
|
|
256
255
|
'fabric.editor.block.menu.copy.link': string;
|
|
257
256
|
'fabric.editor.block.menu.delete.block': string;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
|
@@ -187,6 +187,7 @@ declare const _default: {
|
|
|
187
187
|
'fabric.editor.ai.experience-application.rateLimitEnforced': string;
|
|
188
188
|
'fabric.editor.ai.experience-application.tokenLimitExceeded': string;
|
|
189
189
|
'fabric.editor.ai.experience-application.unhandledErrorMessage': string;
|
|
190
|
+
'fabric.editor.ai.experience.adfStreamingError': string;
|
|
190
191
|
'fabric.editor.ai.experience.apiError': string;
|
|
191
192
|
'fabric.editor.ai.experience.aupViolationMessage': string;
|
|
192
193
|
'fabric.editor.ai.experience.browseMore.agents': string;
|
|
@@ -229,6 +230,7 @@ declare const _default: {
|
|
|
229
230
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
230
231
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
231
232
|
'fabric.editor.ai.telepointer.rovo': string;
|
|
233
|
+
'fabric.editor.ai.toolbar.DefineDropdownIconTitle.title': string;
|
|
232
234
|
'fabric.editor.ai.toolbar.askAI.title': string;
|
|
233
235
|
'fabric.editor.ai.toolbar.askRovo.title': string;
|
|
234
236
|
'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand': string;
|
|
@@ -266,10 +268,11 @@ declare const _default: {
|
|
|
266
268
|
'fabric.editor.annotationToolbar': string;
|
|
267
269
|
'fabric.editor.backLink': string;
|
|
268
270
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.
|
|
271
|
+
'fabric.editor.block.menu.codeblock': string;
|
|
270
272
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
273
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
274
|
'fabric.editor.block.menu.delete.block': string;
|
|
275
|
+
'fabric.editor.block.menu.layout': string;
|
|
273
276
|
'fabric.editor.block.menu.move.down': string;
|
|
274
277
|
'fabric.editor.block.menu.move.up': string;
|
|
275
278
|
'fabric.editor.block.menu.paragraph': string;
|
|
@@ -511,6 +514,7 @@ declare const _default: {
|
|
|
511
514
|
'fabric.editor.help.description': string;
|
|
512
515
|
'fabric.editor.helpDialogTips': string;
|
|
513
516
|
'fabric.editor.highlight': string;
|
|
517
|
+
'fabric.editor.highlight.removeColor': string;
|
|
514
518
|
'fabric.editor.highlightColor': string;
|
|
515
519
|
'fabric.editor.highlightFloatingToolbar': string;
|
|
516
520
|
'fabric.editor.horizontalRule': string;
|
|
@@ -5,7 +5,7 @@ import type { TypeAheadItem } from '../types/type-ahead';
|
|
|
5
5
|
export type QuickInsertActionInsert = (node?: Node | Record<string, any> | string, opts?: {
|
|
6
6
|
selectInlineNode?: boolean;
|
|
7
7
|
}) => Transaction;
|
|
8
|
-
export type QuickInsertItemId = 'hyperlink' | 'table' | 'helpdialog' | 'date' | 'media' | 'media-insert' | 'blockquote' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6' | 'codeblock' | 'unorderedList' | 'feedbackdialog' | 'orderedList' | 'rule' | 'status' | 'mention' | 'emoji' | 'action' | 'decision' | 'infopanel' | 'notepanel' | 'successpanel' | 'warningpanel' | 'errorpanel' | 'custompanel' | 'layout' | 'expand' | 'placeholderText' | 'datasource' | 'loom' | 'onecolumnlayout' | 'twocolumnslayout' | 'threecolumnslayout' | 'fourcolumnslayout' | 'fivecolumnslayout';
|
|
8
|
+
export type QuickInsertItemId = 'hyperlink' | 'table' | 'helpdialog' | 'date' | 'media' | 'media-insert' | 'blockquote' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6' | 'codeblock' | 'unorderedList' | 'feedbackdialog' | 'orderedList' | 'rule' | 'status' | 'mention' | 'emoji' | 'action' | 'decision' | 'infopanel' | 'notepanel' | 'successpanel' | 'warningpanel' | 'errorpanel' | 'custompanel' | 'layout' | 'expand' | 'placeholderText' | 'datasource' | 'loom' | 'onecolumnlayout' | 'twocolumnslayout' | 'threecolumnslayout' | 'fourcolumnslayout' | 'fivecolumnslayout' | 'syncBlock';
|
|
9
9
|
export type QuickInsertItem = TypeAheadItem & {
|
|
10
10
|
/**
|
|
11
11
|
* What to do on insert
|
|
@@ -11,7 +11,7 @@ type TransformListRecursivelyProps = {
|
|
|
11
11
|
supportedListTypes: Set<NodeType>;
|
|
12
12
|
targetNodeType: NodeType;
|
|
13
13
|
};
|
|
14
|
-
export declare const transformListRecursively: (props: TransformListRecursivelyProps) => PMNode;
|
|
14
|
+
export declare const transformListRecursively: (props: TransformListRecursivelyProps, onhandleUnsupportedContent?: (content: PMNode) => void) => PMNode;
|
|
15
15
|
/**
|
|
16
16
|
* Transform list structure between different list types
|
|
17
17
|
*/
|
|
@@ -294,6 +294,11 @@ export declare const aiConfigItemMessages: {
|
|
|
294
294
|
defaultMessage: string;
|
|
295
295
|
description: string;
|
|
296
296
|
};
|
|
297
|
+
freeGenerateRovoPromptHint: {
|
|
298
|
+
id: string;
|
|
299
|
+
defaultMessage: string;
|
|
300
|
+
description: string;
|
|
301
|
+
};
|
|
297
302
|
freeGenerateDisabledPromptHint: {
|
|
298
303
|
id: string;
|
|
299
304
|
defaultMessage: string;
|
|
@@ -266,7 +266,6 @@ declare const _default: {
|
|
|
266
266
|
'fabric.editor.annotationToolbar': string;
|
|
267
267
|
'fabric.editor.backLink': string;
|
|
268
268
|
'fabric.editor.backgroundColor': string;
|
|
269
|
-
'fabric.editor.block.menu.code.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.block': string;
|
|
271
270
|
'fabric.editor.block.menu.copy.link': string;
|
|
272
271
|
'fabric.editor.block.menu.delete.block': string;
|
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
|
@@ -265,7 +265,6 @@ declare const _default: {
|
|
|
265
265
|
'fabric.editor.annotationToolbar': string;
|
|
266
266
|
'fabric.editor.backLink': string;
|
|
267
267
|
'fabric.editor.backgroundColor': string;
|
|
268
|
-
'fabric.editor.block.menu.code.block': string;
|
|
269
268
|
'fabric.editor.block.menu.copy.block': string;
|
|
270
269
|
'fabric.editor.block.menu.copy.link': string;
|
|
271
270
|
'fabric.editor.block.menu.delete.block': string;
|
|
@@ -195,6 +195,7 @@ declare const _default: {
|
|
|
195
195
|
'fabric.editor.ai.experience-application.rateLimitEnforced': string;
|
|
196
196
|
'fabric.editor.ai.experience-application.tokenLimitExceeded': string;
|
|
197
197
|
'fabric.editor.ai.experience-application.unhandledErrorMessage': string;
|
|
198
|
+
'fabric.editor.ai.experience.adfStreamingError': string;
|
|
198
199
|
'fabric.editor.ai.experience.apiError': string;
|
|
199
200
|
'fabric.editor.ai.experience.aupViolationMessage': string;
|
|
200
201
|
'fabric.editor.ai.experience.browseMore.agents': string;
|
|
@@ -309,6 +310,7 @@ declare const _default: {
|
|
|
309
310
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': string;
|
|
310
311
|
'fabric.editor.ai.selectionToolbar.define.title': string;
|
|
311
312
|
'fabric.editor.ai.telepointer.rovo': string;
|
|
313
|
+
'fabric.editor.ai.toolbar.DefineDropdownIconTitle.title': string;
|
|
312
314
|
'fabric.editor.ai.toolbar.askAI.title': string;
|
|
313
315
|
'fabric.editor.ai.toolbar.askRovo.title': string;
|
|
314
316
|
'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand': string;
|
|
@@ -346,10 +348,11 @@ declare const _default: {
|
|
|
346
348
|
'fabric.editor.annotationToolbar': string;
|
|
347
349
|
'fabric.editor.backLink': string;
|
|
348
350
|
'fabric.editor.backgroundColor': string;
|
|
349
|
-
'fabric.editor.block.menu.
|
|
351
|
+
'fabric.editor.block.menu.codeblock': string;
|
|
350
352
|
'fabric.editor.block.menu.copy.block': string;
|
|
351
353
|
'fabric.editor.block.menu.copy.link': string;
|
|
352
354
|
'fabric.editor.block.menu.delete.block': string;
|
|
355
|
+
'fabric.editor.block.menu.layout': string;
|
|
353
356
|
'fabric.editor.block.menu.move.down': string;
|
|
354
357
|
'fabric.editor.block.menu.move.up': string;
|
|
355
358
|
'fabric.editor.block.menu.paragraph': string;
|
|
@@ -592,6 +595,7 @@ declare const _default: {
|
|
|
592
595
|
'fabric.editor.help.description': string;
|
|
593
596
|
'fabric.editor.helpDialogTips': string;
|
|
594
597
|
'fabric.editor.highlight': string;
|
|
598
|
+
'fabric.editor.highlight.removeColor': string;
|
|
595
599
|
'fabric.editor.highlightColor': string;
|
|
596
600
|
'fabric.editor.highlightFloatingToolbar': string;
|
|
597
601
|
'fabric.editor.horizontalRule': string;
|