@atlaskit/editor-common 99.4.2 → 99.5.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 +38 -0
- package/dist/cjs/analytics/fire-analytics-event.js +8 -3
- package/dist/cjs/analytics/types/activity-session-events.js +5 -0
- package/dist/cjs/analytics/types/ai-events.js +5 -0
- package/dist/cjs/analytics/types/enums.js +6 -0
- package/dist/cjs/messages/ai-proactive-setting.js +109 -0
- package/dist/cjs/messages/ai-proactive-transform.js +99 -0
- package/dist/cjs/messages/ai-proactive.js +159 -0
- package/dist/cjs/messages/index.js +21 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/fire-analytics-event.js +8 -3
- package/dist/es2019/analytics/types/activity-session-events.js +1 -0
- package/dist/es2019/analytics/types/ai-events.js +1 -0
- package/dist/es2019/analytics/types/enums.js +6 -0
- package/dist/es2019/messages/ai-proactive-setting.js +103 -0
- package/dist/es2019/messages/ai-proactive-transform.js +93 -0
- package/dist/es2019/messages/ai-proactive.js +153 -0
- package/dist/es2019/messages/index.js +3 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/fire-analytics-event.js +8 -3
- package/dist/esm/analytics/types/activity-session-events.js +1 -0
- package/dist/esm/analytics/types/ai-events.js +1 -0
- package/dist/esm/analytics/types/enums.js +6 -0
- package/dist/esm/messages/ai-proactive-setting.js +103 -0
- package/dist/esm/messages/ai-proactive-transform.js +93 -0
- package/dist/esm/messages/ai-proactive.js +153 -0
- package/dist/esm/messages/index.js +3 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/api.d.ts +4 -1
- package/dist/types/analytics/index.d.ts +3 -1
- package/dist/types/analytics/types/activity-session-events.d.ts +24 -0
- package/dist/types/analytics/types/ai-events.d.ts +15 -0
- package/dist/types/analytics/types/ai-proactive-events.d.ts +4 -12
- package/dist/types/analytics/types/ai-unified-events.d.ts +7 -9
- package/dist/types/analytics/types/enums.d.ts +12 -0
- package/dist/types/analytics/types/events.d.ts +9 -5
- package/dist/types/collab/index.d.ts +1 -0
- package/dist/types/messages/ai-proactive-setting.d.ts +102 -0
- package/dist/types/messages/ai-proactive-transform.d.ts +92 -0
- package/dist/types/messages/ai-proactive.d.ts +152 -0
- package/dist/types/messages/index.d.ts +3 -0
- package/dist/types/types/feature-flags.d.ts +0 -8
- package/dist/types-ts4.5/analytics/api.d.ts +4 -1
- package/dist/types-ts4.5/analytics/index.d.ts +3 -1
- package/dist/types-ts4.5/analytics/types/activity-session-events.d.ts +24 -0
- package/dist/types-ts4.5/analytics/types/ai-events.d.ts +15 -0
- package/dist/types-ts4.5/analytics/types/ai-proactive-events.d.ts +4 -12
- package/dist/types-ts4.5/analytics/types/ai-unified-events.d.ts +7 -9
- package/dist/types-ts4.5/analytics/types/enums.d.ts +12 -0
- package/dist/types-ts4.5/analytics/types/events.d.ts +9 -5
- package/dist/types-ts4.5/collab/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/ai-proactive-setting.d.ts +102 -0
- package/dist/types-ts4.5/messages/ai-proactive-transform.d.ts +92 -0
- package/dist/types-ts4.5/messages/ai-proactive.d.ts +152 -0
- package/dist/types-ts4.5/messages/index.d.ts +3 -0
- package/dist/types-ts4.5/types/feature-flags.d.ts +0 -8
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 99.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#104870](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104870)
|
|
8
|
+
[`79e0bedfbaf1f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/79e0bedfbaf1f) -
|
|
9
|
+
EDF-2202 copy ai-proactive from editor-plugin-ai to editor-plugin-ai-proactive
|
|
10
|
+
|
|
11
|
+
## 99.5.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#104835](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104835)
|
|
16
|
+
[`c9125a4a01da7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c9125a4a01da7) -
|
|
17
|
+
[ux] Added the aiProactive primary toolbar placeholder. Also added the existing the suggested
|
|
18
|
+
edits toolbar button to the proactive ai plugin.
|
|
19
|
+
|
|
20
|
+
Also added a new configuration option to the ai plugin to hide the primary toolbar button.
|
|
21
|
+
|
|
22
|
+
- [#105175](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105175)
|
|
23
|
+
[`6e108c69a21f1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6e108c69a21f1) -
|
|
24
|
+
EDF-2257: Clean up unused analytic event types and export common unified attributes types.
|
|
25
|
+
- [#104129](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104129)
|
|
26
|
+
[`75414d4282d9a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/75414d4282d9a) -
|
|
27
|
+
[ux] EDF-2131: Trigger Proactive Feedback Dialog more frequently (on modal dismiss or thumbs down
|
|
28
|
+
click, and every 3rd dismissal from context panel buttons) behind fg
|
|
29
|
+
platform_editor_ai_aggressive_feedback_proactive
|
|
30
|
+
- [#105399](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105399)
|
|
31
|
+
[`ed98e34b5912b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ed98e34b5912b) -
|
|
32
|
+
ED-26234 Fire analytics at end of editor session
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- [#105400](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105400)
|
|
37
|
+
[`cb3c65a390b04`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb3c65a390b04) -
|
|
38
|
+
Removing onChangeCalled event as it is spamming GASV3.
|
|
39
|
+
- Updated dependencies
|
|
40
|
+
|
|
3
41
|
## 99.4.2
|
|
4
42
|
|
|
5
43
|
### Patch Changes
|
|
@@ -7,7 +7,7 @@ exports.fireAnalyticsEvent = exports.editorAnalyticsChannel = void 0;
|
|
|
7
7
|
var _types = require("@atlaskit/analytics-listeners/types");
|
|
8
8
|
var _analyticsQueue = require("./analytics-queue");
|
|
9
9
|
var editorAnalyticsChannel = exports.editorAnalyticsChannel = _types.FabricChannel.editor;
|
|
10
|
-
var fireAnalyticsEvent = exports.fireAnalyticsEvent = function fireAnalyticsEvent(createAnalyticsEvent) {
|
|
10
|
+
var fireAnalyticsEvent = exports.fireAnalyticsEvent = function fireAnalyticsEvent(createAnalyticsEvent, options) {
|
|
11
11
|
return function (_ref) {
|
|
12
12
|
var payload = _ref.payload,
|
|
13
13
|
_ref$channel = _ref.channel,
|
|
@@ -15,10 +15,15 @@ var fireAnalyticsEvent = exports.fireAnalyticsEvent = function fireAnalyticsEven
|
|
|
15
15
|
if (!createAnalyticsEvent) {
|
|
16
16
|
return;
|
|
17
17
|
}
|
|
18
|
+
if (options !== null && options !== void 0 && options.immediate) {
|
|
19
|
+
var _createAnalyticsEvent;
|
|
20
|
+
(_createAnalyticsEvent = createAnalyticsEvent(payload)) === null || _createAnalyticsEvent === void 0 || _createAnalyticsEvent.fire(channel);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
18
23
|
var queue = _analyticsQueue.AnalyticsQueue.get();
|
|
19
24
|
queue.schedule(function () {
|
|
20
|
-
var
|
|
21
|
-
return (
|
|
25
|
+
var _createAnalyticsEvent2;
|
|
26
|
+
return (_createAnalyticsEvent2 = createAnalyticsEvent(payload)) === null || _createAnalyticsEvent2 === void 0 ? void 0 : _createAnalyticsEvent2.fire(channel);
|
|
22
27
|
});
|
|
23
28
|
};
|
|
24
29
|
};
|
|
@@ -55,6 +55,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
55
55
|
ACTION["EDITOR_TTI"] = "tti";
|
|
56
56
|
ACTION["EDITOR_CONTENT_RETRIEVAL_PERFORMED"] = "contentRetrievalPerformed";
|
|
57
57
|
ACTION["RE_RENDERED"] = "reRendered";
|
|
58
|
+
ACTION["ENDED"] = "ended";
|
|
58
59
|
ACTION["ENTERED"] = "entered";
|
|
59
60
|
ACTION["ERROR"] = "error";
|
|
60
61
|
ACTION["ERRORED"] = "errored";
|
|
@@ -119,6 +120,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
119
120
|
ACTION["TRANSACTION_MUTATED_AFTER_DISPATCH"] = "transactionMutatedAfterDispatched";
|
|
120
121
|
ACTION["TYPING_FINISHED"] = "typingFinished";
|
|
121
122
|
ACTION["TYPING_STARTED"] = "typingStarted";
|
|
123
|
+
ACTION["UNHANDLED_ERROR_CAUGHT"] = "unhandledErrorCaught";
|
|
122
124
|
ACTION["UNLINK"] = "unlinked";
|
|
123
125
|
ACTION["UNSUPPORTED_CONTENT_ENCOUNTERED"] = "unsupportedContentEncounteredV2";
|
|
124
126
|
ACTION["UPDATED"] = "updated";
|
|
@@ -229,6 +231,7 @@ var ACTION_SUBJECT = exports.ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJ
|
|
|
229
231
|
ACTION_SUBJECT["DATE_SEGMENT"] = "dateSegment";
|
|
230
232
|
ACTION_SUBJECT["DOCUMENT"] = "document";
|
|
231
233
|
ACTION_SUBJECT["EDITOR"] = "editor";
|
|
234
|
+
ACTION_SUBJECT["ACTIVITY_SESSION"] = "activitySession";
|
|
232
235
|
ACTION_SUBJECT["ELEMENT_BROWSER"] = "elementBrowser";
|
|
233
236
|
ACTION_SUBJECT["EMBEDS"] = "embeds";
|
|
234
237
|
ACTION_SUBJECT["EXPAND"] = "expand";
|
|
@@ -289,11 +292,13 @@ var ACTION_SUBJECT = exports.ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJ
|
|
|
289
292
|
}({});
|
|
290
293
|
var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
291
294
|
ACTION_SUBJECT_ID["ACTION"] = "action";
|
|
295
|
+
ACTION_SUBJECT_ID["ACTIVITY"] = "activity";
|
|
292
296
|
ACTION_SUBJECT_ID["AI_DEFINITIONS_DEFINE_BUTTON"] = "aiDefinitionsDefineButton";
|
|
293
297
|
ACTION_SUBJECT_ID["AI_DEFINITIONS_AUTO_HIGHLIGHT"] = "aiDefinitionsAutoHighlight";
|
|
294
298
|
ACTION_SUBJECT_ID["AI_PANELS_BODIED_EXTENSION"] = "aiPanelsBodiedExtension";
|
|
295
299
|
ACTION_SUBJECT_ID["AI_PROMPT_LINK_PICKER_BUTTON"] = "aiPromptLinkPickerButton";
|
|
296
300
|
ACTION_SUBJECT_ID["AI_PROMPT_MENTION_BUTTON"] = "aiPromptMentionButton";
|
|
301
|
+
ACTION_SUBJECT_ID["AI_PROACTIVE_FEEDBACK_DIALOG"] = "aiProactiveFeedbackDialog";
|
|
297
302
|
ACTION_SUBJECT_ID["ALL"] = "all";
|
|
298
303
|
ACTION_SUBJECT_ID["ALT_TEXT"] = "altText";
|
|
299
304
|
ACTION_SUBJECT_ID["ANNOTATE_BUTTON"] = "annotateButton";
|
|
@@ -328,6 +333,7 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
|
|
|
328
333
|
ACTION_SUBJECT_ID["EMBEDS"] = "embeds";
|
|
329
334
|
ACTION_SUBJECT_ID["EMOJI"] = "emoji";
|
|
330
335
|
ACTION_SUBJECT_ID["EXPAND"] = "expand";
|
|
336
|
+
ACTION_SUBJECT_ID["EXPERIENCE_APPLICATION"] = "experienceApplication";
|
|
331
337
|
ACTION_SUBJECT_ID["EXTENSION"] = "extension";
|
|
332
338
|
ACTION_SUBJECT_ID["EXTENSION_API"] = "extensionApi";
|
|
333
339
|
ACTION_SUBJECT_ID["EXTENSION_BLOCK"] = "extension";
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.aiProactiveSettingMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var aiProactiveSettingMessages = exports.aiProactiveSettingMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
toggleAllSuggestionsTitle: {
|
|
10
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleAllSuggestionsTitle.non-final',
|
|
11
|
+
defaultMessage: 'All suggestions',
|
|
12
|
+
description: 'This is the title displayed in the modal to allow the user to toggle all suggestions on or off'
|
|
13
|
+
},
|
|
14
|
+
toggleAllSuggestionsDescription: {
|
|
15
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleAllSuggestionsDescription.non-final',
|
|
16
|
+
defaultMessage: 'Toggle to turn suggested edits on or off',
|
|
17
|
+
description: 'This is the description displayed in the modal to allow the user to toggle all suggestions on or off'
|
|
18
|
+
},
|
|
19
|
+
toggleAllPanelSuggestionsTitle: {
|
|
20
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleAllPanelSuggestionsTitle.non-final',
|
|
21
|
+
defaultMessage: 'Panels',
|
|
22
|
+
description: 'This is the title displayed in the modal to allow the user to toggle all suggestions on or off'
|
|
23
|
+
},
|
|
24
|
+
toggleAllPanelSuggestionsDescription: {
|
|
25
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleAllPanelSuggestionsDescription.non-final',
|
|
26
|
+
defaultMessage: 'Use panels to make your message stand out',
|
|
27
|
+
description: 'This is the description displayed in the modal to allow the user to toggle all suggestions on or off'
|
|
28
|
+
},
|
|
29
|
+
toggleErrorPanelTitle: {
|
|
30
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleErrorPanelTitle.non-final',
|
|
31
|
+
defaultMessage: 'Error panel',
|
|
32
|
+
description: 'This is the title displayed in the modal to allow the user to toggle error panel on or off'
|
|
33
|
+
},
|
|
34
|
+
toggleErrorPanelDescription: {
|
|
35
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleErrorPanelDescription.non-final',
|
|
36
|
+
defaultMessage: 'Transform text into a red error panel',
|
|
37
|
+
description: 'This is the description displayed in the modal to allow the user to toggle error panel on or off'
|
|
38
|
+
},
|
|
39
|
+
toggleInfoPanelTitle: {
|
|
40
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleInfoPanelTitle.non-final',
|
|
41
|
+
defaultMessage: 'Info panel',
|
|
42
|
+
description: 'This is the title displayed in the modal to allow the user to toggle info panel on or off'
|
|
43
|
+
},
|
|
44
|
+
toggleInfoPanelDescription: {
|
|
45
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleInfoPanelDescription.non-final',
|
|
46
|
+
defaultMessage: 'Transform text into a blue information panel',
|
|
47
|
+
description: 'This is the description displayed in the modal to allow the user to toggle info panel on or off'
|
|
48
|
+
},
|
|
49
|
+
toggleNotePanelTitle: {
|
|
50
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleNotePanelTitle.non-final',
|
|
51
|
+
defaultMessage: 'Note panel',
|
|
52
|
+
description: 'This is the title displayed in the modal to allow the user to toggle success panel on or off'
|
|
53
|
+
},
|
|
54
|
+
toggleNotePanelDescription: {
|
|
55
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleNotePanelDescription.non-final',
|
|
56
|
+
defaultMessage: 'Transform text into a purple note panel',
|
|
57
|
+
description: 'This is the description displayed in the modal to allow the user to toggle success panel on or off'
|
|
58
|
+
},
|
|
59
|
+
toggleSuccessPanelTitle: {
|
|
60
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleSuccessPanelTitle.non-final',
|
|
61
|
+
defaultMessage: 'Success panel',
|
|
62
|
+
description: 'This is the title displayed in the modal to allow the user to toggle success panel on or off'
|
|
63
|
+
},
|
|
64
|
+
toggleSuccessPanelDescription: {
|
|
65
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleSuccessPanelDescription.non-final',
|
|
66
|
+
defaultMessage: 'Transform text into a green success panel',
|
|
67
|
+
description: 'This is the description displayed in the modal to allow the user to toggle success panel on or off'
|
|
68
|
+
},
|
|
69
|
+
toggleWarningPanelTitle: {
|
|
70
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleWarningPanelTitle.non-final',
|
|
71
|
+
defaultMessage: 'Warning panel',
|
|
72
|
+
description: 'This is the title displayed in the modal to allow the user to toggle warning panel on or off'
|
|
73
|
+
},
|
|
74
|
+
toggleWarningPanelDescription: {
|
|
75
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleWarningPanelDescription.non-final',
|
|
76
|
+
defaultMessage: 'Transform text into a yellow warning panel',
|
|
77
|
+
description: 'This is the description displayed in the modal to allow the user to toggle warning panel on or off'
|
|
78
|
+
},
|
|
79
|
+
toggleTableTitle: {
|
|
80
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleTableTitle.non-final',
|
|
81
|
+
defaultMessage: 'Table',
|
|
82
|
+
description: 'This is the title displayed in the modal to allow the user to toggle table on or off'
|
|
83
|
+
},
|
|
84
|
+
toggleTableDescription: {
|
|
85
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleTableDescription.non-final',
|
|
86
|
+
defaultMessage: 'Format content in a table to improve readability',
|
|
87
|
+
description: 'This is the description displayed in the modal to allow the user to toggle table on or off'
|
|
88
|
+
},
|
|
89
|
+
toggleSplitParagraphTitle: {
|
|
90
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleSplitParagraphTitle.non-final',
|
|
91
|
+
defaultMessage: 'Paragraph break',
|
|
92
|
+
description: 'This is the title displayed in the modal to allow the user to toggle paragraph break on or off'
|
|
93
|
+
},
|
|
94
|
+
toggleSplitParagraphDescription: {
|
|
95
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleSplitParagraphDescription.non-final',
|
|
96
|
+
defaultMessage: 'Add paragraph breaks to separate key ideas',
|
|
97
|
+
description: 'This is the description displayed in the modal to allow the user to toggle paragraph break on or off'
|
|
98
|
+
},
|
|
99
|
+
toggleFormatParagraphTitle: {
|
|
100
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleFormatParagraphTitle.non-final',
|
|
101
|
+
defaultMessage: 'Improve paragraph',
|
|
102
|
+
description: 'This is the title displayed in the modal to allow the user to toggle format paragraph on or off'
|
|
103
|
+
},
|
|
104
|
+
toggleFormatParagraphDescription: {
|
|
105
|
+
id: 'fabric.editor.ai.proactive.moreMenu.toggleFormatParagraphDescription.non-final',
|
|
106
|
+
defaultMessage: 'Simplify content and fix spelling and grammar.',
|
|
107
|
+
description: 'This is the description displayed in the modal to allow the user to toggle format paragraph on or off'
|
|
108
|
+
}
|
|
109
|
+
});
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.aiProactiveTransformMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var aiProactiveTransformMessages = exports.aiProactiveTransformMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
recommendationDefaultTitle: {
|
|
10
|
+
id: 'fabric.editor.ai.proactive.recommendation.default.title.non-final',
|
|
11
|
+
defaultMessage: 'Suggestion',
|
|
12
|
+
description: 'The default generic title displayed in the side context panel for AI recommendations which have not explicit matching override'
|
|
13
|
+
},
|
|
14
|
+
recommendationDefaultDescription: {
|
|
15
|
+
id: 'fabric.editor.ai.proactive.recommendation.default.description.non-final',
|
|
16
|
+
defaultMessage: 'A suggestion to improve the content.',
|
|
17
|
+
description: 'The default generic description displayed in the side context panel for AI recommendations which have no explicit matching override'
|
|
18
|
+
},
|
|
19
|
+
recommendationConvertToTableTitle: {
|
|
20
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToTable.title.non-final',
|
|
21
|
+
defaultMessage: 'Format in table',
|
|
22
|
+
description: 'The title displayed in the side context panel for AI recommendations which suggest a conversion to table operation'
|
|
23
|
+
},
|
|
24
|
+
recommendationConvertToTableDescription: {
|
|
25
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToTable.description.non-final',
|
|
26
|
+
defaultMessage: 'Format content in a table to improve readability.',
|
|
27
|
+
description: 'The description displayed in the side context panel for AI recommendations which suggest a conversion to table operation'
|
|
28
|
+
},
|
|
29
|
+
recommendationConvertToNotePanelTitle: {
|
|
30
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToNotePanel.title.non-final',
|
|
31
|
+
defaultMessage: 'Frame with note panel',
|
|
32
|
+
description: 'The title displayed in the side context panel for AI recommendations which suggest a conversion to note panel operation'
|
|
33
|
+
},
|
|
34
|
+
recommendationConvertToNotePanelDescription: {
|
|
35
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToNotePanel.description.non-final',
|
|
36
|
+
defaultMessage: 'Use a purple note panel to make your message stand out.',
|
|
37
|
+
description: 'The description displayed in the side context panel for AI recommendations which suggest a conversion to note panel operation'
|
|
38
|
+
},
|
|
39
|
+
recommendationConvertToInfoPanelTitle: {
|
|
40
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToInfoPanel.title.non-final',
|
|
41
|
+
defaultMessage: 'Frame with info panel',
|
|
42
|
+
description: 'The title displayed in the side context panel for AI recommendations which suggest a conversion to note panel operation'
|
|
43
|
+
},
|
|
44
|
+
recommendationConvertToInfoPanelDescription: {
|
|
45
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToInfoPanel.description.non-final',
|
|
46
|
+
defaultMessage: 'Use a blue info panel to make your message stand out. ',
|
|
47
|
+
description: 'The description displayed in the side context panel for AI recommendations which suggest a conversion to info panel operation'
|
|
48
|
+
},
|
|
49
|
+
recommendationConvertToWarnPanelTitle: {
|
|
50
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToWarnPanel.title.non-final',
|
|
51
|
+
defaultMessage: 'Frame with warning panel',
|
|
52
|
+
description: 'The title displayed in the side context panel for AI recommendations which suggest a conversion to warning panel operation'
|
|
53
|
+
},
|
|
54
|
+
recommendationConvertToWarnPanelDescription: {
|
|
55
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToWarnPanel.description.non-final',
|
|
56
|
+
defaultMessage: 'Use a yellow warning panel to make your message stand out.',
|
|
57
|
+
description: 'The description displayed in the side context panel for AI recommendations which suggest a conversion to warning panel operation'
|
|
58
|
+
},
|
|
59
|
+
recommendationConvertToErrorPanelTitle: {
|
|
60
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToErrorPanel.title.non-final',
|
|
61
|
+
defaultMessage: 'Frame with error panel',
|
|
62
|
+
description: 'The title displayed in the side context panel for AI recommendations which suggest a conversion to error panel operation'
|
|
63
|
+
},
|
|
64
|
+
recommendationConvertToErrorPanelDescription: {
|
|
65
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToErrorPanel.description.non-final',
|
|
66
|
+
defaultMessage: 'Use a red error panel to make your message stand out.',
|
|
67
|
+
description: 'The description displayed in the side context panel for AI recommendations which suggest a conversion to error panel operation'
|
|
68
|
+
},
|
|
69
|
+
recommendationConvertToSuccessPanelTitle: {
|
|
70
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToSuccessPanel.title.non-final',
|
|
71
|
+
defaultMessage: 'Frame with success panel',
|
|
72
|
+
description: 'The title displayed in the side context panel for AI recommendations which suggest a conversion to success panel operation'
|
|
73
|
+
},
|
|
74
|
+
recommendationConvertToSuccessPanelDescription: {
|
|
75
|
+
id: 'fabric.editor.ai.proactive.recommendation.convertToSuccessPanel.description.non-final',
|
|
76
|
+
defaultMessage: 'Use a green success panel to make your message stand out.',
|
|
77
|
+
description: 'The description displayed in the side context panel for AI recommendations which suggest a conversion to success panel operation'
|
|
78
|
+
},
|
|
79
|
+
recommendationSplitParagraphTitle: {
|
|
80
|
+
id: 'fabric.editor.ai.proactive.recommendation.splitParagraph.title.non-final',
|
|
81
|
+
defaultMessage: 'Divide paragraph',
|
|
82
|
+
description: 'The title displayed in the side context panel for AI recommendations which suggest a split paragraph operation'
|
|
83
|
+
},
|
|
84
|
+
recommendationSplitParagraphDescription: {
|
|
85
|
+
id: 'fabric.editor.ai.proactive.recommendation.splitParagraph.description.non-final',
|
|
86
|
+
defaultMessage: 'Add paragraph breaks to separate key ideas.',
|
|
87
|
+
description: 'The description displayed in the side context panel for AI recommendations which suggest a split paragraph operation'
|
|
88
|
+
},
|
|
89
|
+
recommendationFormatParagraphTitle: {
|
|
90
|
+
id: 'fabric.editor.ai.proactive.recommendation.formatParagraph.title.non-final',
|
|
91
|
+
defaultMessage: 'Improve paragraph',
|
|
92
|
+
description: 'The title displayed in the side context panel for AI recommendations which suggest a format paragraph operation'
|
|
93
|
+
},
|
|
94
|
+
recommendationFormatParagraphDescription: {
|
|
95
|
+
id: 'fabric.editor.ai.proactive.recommendation.formatParagraph.description.non-final',
|
|
96
|
+
defaultMessage: 'Simplify content and fix spelling and grammar.',
|
|
97
|
+
description: 'The description displayed in the side context panel for AI recommendations which suggest a format paragraph operation'
|
|
98
|
+
}
|
|
99
|
+
});
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.aiProactiveMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var aiProactiveMessages = exports.aiProactiveMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
loadingIconAltText: {
|
|
10
|
+
id: 'fabric.editor.ai.proactive.loading.iconAltText.non-final',
|
|
11
|
+
defaultMessage: 'Loading icon',
|
|
12
|
+
description: 'Icon alt text of the Loading icon'
|
|
13
|
+
},
|
|
14
|
+
findingSuggestionsLabel: {
|
|
15
|
+
id: 'fabric.editor.ai.proactive.findingSuggestionsLabel.non-final',
|
|
16
|
+
defaultMessage: 'Finding suggestions',
|
|
17
|
+
description: 'The label next to the spinner which indicates recommendations are being requested.'
|
|
18
|
+
},
|
|
19
|
+
findingSuggestionsLoadingLabel: {
|
|
20
|
+
id: 'fabric.editor.ai.proactive.findingSuggestionsLoadingLabel.non-final',
|
|
21
|
+
defaultMessage: 'Finding suggestions',
|
|
22
|
+
description: 'This is the label under the loading spinner when suggestions are being reloaded.'
|
|
23
|
+
},
|
|
24
|
+
findingMoreSuggestionsLoadingLabel: {
|
|
25
|
+
id: 'fabric.editor.ai.proactive.findingMoreSuggestionsLoadingLabel.non-final',
|
|
26
|
+
defaultMessage: 'Finding more suggestions',
|
|
27
|
+
description: 'The label next to the spinner which indicates more recommendations are being requested.'
|
|
28
|
+
},
|
|
29
|
+
unhandledErrorMessage: {
|
|
30
|
+
id: 'fabric.editor.ai.proactive.error.unhandledErrorMessage',
|
|
31
|
+
defaultMessage: "We're having trouble. Close the dialog and try again.",
|
|
32
|
+
description: 'Message to users that displays when an unexpected error happens'
|
|
33
|
+
},
|
|
34
|
+
markdownErrorMessage: {
|
|
35
|
+
id: 'fabric.editor.ai.proactive.error.markdownErrorMessage',
|
|
36
|
+
defaultMessage: "We're having trouble generating the preview. Close the dialog and try again.",
|
|
37
|
+
description: 'Message to users that displays when an error occurs while generating a preview.'
|
|
38
|
+
},
|
|
39
|
+
recommendationPreviewButtonLabel: {
|
|
40
|
+
id: 'fabric.editor.ai.proactive.recommendation.preview.button.non-final',
|
|
41
|
+
defaultMessage: 'Preview',
|
|
42
|
+
description: 'The preview button label which allows the user to open the preview modal and see the AI recommendation which will be applied when the user inserts'
|
|
43
|
+
},
|
|
44
|
+
recommendationReplaceButtonLabel: {
|
|
45
|
+
id: 'fabric.editor.ai.proactive.recommendation.replace.button.non-final',
|
|
46
|
+
defaultMessage: 'Replace',
|
|
47
|
+
description: 'The replace button label, when clicked the AI recommendation which immediately be inserted'
|
|
48
|
+
},
|
|
49
|
+
recommendationDismissButtonLabel: {
|
|
50
|
+
id: 'fabric.editor.ai.proactive.recommendation.dismiss.button.non-final',
|
|
51
|
+
defaultMessage: 'Dismiss',
|
|
52
|
+
description: 'The dismiss button label,when clicked the AI recommendation will be removed from the list and no longer displayed to the user'
|
|
53
|
+
},
|
|
54
|
+
dismissProactiveRecommendation: {
|
|
55
|
+
id: 'fabric.editor.ai.proactive.preview.dismissProactiveRecommendation.non-final',
|
|
56
|
+
defaultMessage: 'Dismiss',
|
|
57
|
+
description: 'Label for button to dismiss the proactive recommendation'
|
|
58
|
+
},
|
|
59
|
+
insertBelowProactiveRecommendation: {
|
|
60
|
+
id: 'fabric.editor.ai.proactive.preview.insertBelowProactiveRecommendation',
|
|
61
|
+
defaultMessage: 'Insert below',
|
|
62
|
+
description: 'Label for button to insert the proactive recommendation below the user selection'
|
|
63
|
+
},
|
|
64
|
+
replaceProactiveRecommendation: {
|
|
65
|
+
id: 'fabric.editor.ai.proactive.preview.replaceProactiveRecommendation',
|
|
66
|
+
defaultMessage: 'Replace',
|
|
67
|
+
description: 'Label for button to replace selection with proactive recommendation'
|
|
68
|
+
},
|
|
69
|
+
spellingAndGrammarLabel: {
|
|
70
|
+
id: 'fabric.editor.ai.proactive.spellingAndGrammar.label.non-final',
|
|
71
|
+
defaultMessage: 'Spelling and grammar',
|
|
72
|
+
description: 'The label displayed in the context panel on the spelling and grammar item which display the total spelling and grammar issues found'
|
|
73
|
+
},
|
|
74
|
+
ManageSuggestionTitle: {
|
|
75
|
+
id: 'fabric.editor.ai.proactive.moreMenu.manageSuggestionsTitle.non-final',
|
|
76
|
+
defaultMessage: 'Manage suggestions',
|
|
77
|
+
description: 'This is the message displayed in the more menu dropdown in the context panel to allow the user to manage suggestions on the suggestions'
|
|
78
|
+
},
|
|
79
|
+
closeButtonLabel: {
|
|
80
|
+
id: 'fabric.editor.ai.proactive.close.label.non-final',
|
|
81
|
+
defaultMessage: 'Close',
|
|
82
|
+
description: 'This is the text applied to the Close icon button label'
|
|
83
|
+
},
|
|
84
|
+
suggestionsTitle: {
|
|
85
|
+
id: 'fabric.editor.ai.proactive.suggestions.title.non-final',
|
|
86
|
+
defaultMessage: 'Suggestions',
|
|
87
|
+
description: 'The title displayed at the top of the context panel for all recommendations displayed'
|
|
88
|
+
},
|
|
89
|
+
betaLabel: {
|
|
90
|
+
id: 'fabric.editor.ai.proactive.beta.label.non-final',
|
|
91
|
+
defaultMessage: 'BETA',
|
|
92
|
+
description: 'This is a lozenge displayed in the suggested edits header to signify that this is a beta feature'
|
|
93
|
+
},
|
|
94
|
+
moreMenuLabel: {
|
|
95
|
+
id: 'fabric.editor.ai.proactive.moreMenu.label.non-final',
|
|
96
|
+
defaultMessage: 'more',
|
|
97
|
+
description: 'This is the message displayed tooltip in the more menu dropdown in the context panel'
|
|
98
|
+
},
|
|
99
|
+
moreMenuManageSuggestions: {
|
|
100
|
+
id: 'fabric.editor.ai.proactive.moreMenu.manageSuggestions.non-final',
|
|
101
|
+
defaultMessage: 'Manage Suggestions',
|
|
102
|
+
description: 'This is the message displayed in the more menu dropdown in the context panel to allow the user to manage suggestions on the suggestions'
|
|
103
|
+
},
|
|
104
|
+
moreMenuGiveFeedback: {
|
|
105
|
+
id: 'fabric.editor.ai.proactive.moreMenu.giveFeedback.non-final',
|
|
106
|
+
defaultMessage: 'Give feedback',
|
|
107
|
+
description: 'This is the message displayed in the more menu dropdown in the context panel to allow the user to give feedback on the suggestions'
|
|
108
|
+
},
|
|
109
|
+
moreActionsLabel: {
|
|
110
|
+
id: 'fabric.editor.ai.proactive.moreActions.label.non-final',
|
|
111
|
+
defaultMessage: 'More actions',
|
|
112
|
+
description: 'This is the text applied to the More icon button label'
|
|
113
|
+
},
|
|
114
|
+
reloadSuggestionsStateTitle: {
|
|
115
|
+
id: 'fabric.editor.ai.proactive.reloadSuggestionsState.title.non-final',
|
|
116
|
+
defaultMessage: 'Your content’s looking good',
|
|
117
|
+
description: 'This is the title of the message displayed in the suggested edits panel when there are new recommendations left after a user has dismissed them all.'
|
|
118
|
+
},
|
|
119
|
+
reloadSuggestionsStateDescription: {
|
|
120
|
+
id: 'fabric.editor.ai.proactive.reloadSuggestionsState.description.non-final',
|
|
121
|
+
defaultMessage: 'Any new suggestions will appear here.',
|
|
122
|
+
description: 'This is the message displayed in the suggested edits panel when there are no new recommendations left after a user has dismissed them all.'
|
|
123
|
+
},
|
|
124
|
+
reloadSuggestionsButtonLabel: {
|
|
125
|
+
id: 'fabric.editor.ai.proactive.reloadSuggestionsButtonLabel.non-final',
|
|
126
|
+
defaultMessage: 'View past suggestions',
|
|
127
|
+
description: 'This is the button label to reload suggestions when a user has dismised all recommendations.'
|
|
128
|
+
},
|
|
129
|
+
noSuggestionsStateTitle: {
|
|
130
|
+
id: 'fabric.editor.ai.proactive.noSuggestionsState.title.non-final',
|
|
131
|
+
defaultMessage: 'Suggestions will appear here',
|
|
132
|
+
description: 'This is the title of the message displayed in the suggested edits panel when there are no recommendations available.'
|
|
133
|
+
},
|
|
134
|
+
noSuggestionsStateDescription: {
|
|
135
|
+
id: 'fabric.editor.ai.proactive.noSuggestionsState.description.non-final',
|
|
136
|
+
defaultMessage: 'You can also ask AI to improve your page with requests such as <i>Add a table of contents</i> or <i>Create headings</i>.',
|
|
137
|
+
description: 'This is the message displayed in the suggested edits panel when there are no recommendations available'
|
|
138
|
+
},
|
|
139
|
+
askAIButtonLabel: {
|
|
140
|
+
id: 'fabric.editor.ai.proactive.askAIButtonLabel.non-final',
|
|
141
|
+
defaultMessage: 'Ask AI',
|
|
142
|
+
description: 'This is the button label to open the AI modal.'
|
|
143
|
+
},
|
|
144
|
+
enableSuggestionsStateTitle: {
|
|
145
|
+
id: 'fabric.editor.ai.proactive.enableSuggestionsState.title.non-final',
|
|
146
|
+
defaultMessage: 'You create. We polish.',
|
|
147
|
+
description: 'This is the title of the message displayed in the suggested edits panel when suggestions are disabled.'
|
|
148
|
+
},
|
|
149
|
+
enableSuggestionsStateDescription: {
|
|
150
|
+
id: 'fabric.editor.ai.proactive.enableSuggestionsState.description.non-final',
|
|
151
|
+
defaultMessage: 'Turn on suggested edits to quickly preview content improvements.',
|
|
152
|
+
description: 'This is the message displayed in the suggested edits panel when suggestions are disabled.'
|
|
153
|
+
},
|
|
154
|
+
enableSuggestionsButtonLabel: {
|
|
155
|
+
id: 'fabric.editor.ai.proactive.enableSuggestionsButtonLabel.non-final',
|
|
156
|
+
defaultMessage: 'Turn on',
|
|
157
|
+
description: 'This is the button label in the suggested edits panel when suggestions are disabled.'
|
|
158
|
+
}
|
|
159
|
+
});
|
|
@@ -9,6 +9,24 @@ Object.defineProperty(exports, "aiDefinitionsMessages", {
|
|
|
9
9
|
return _aiDefinitions.aiDefinitionsMessages;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
Object.defineProperty(exports, "aiProactiveMessages", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _aiProactive.aiProactiveMessages;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "aiProactiveSettingMessages", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _aiProactiveSetting.aiProactiveSettingMessages;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "aiProactiveTransformMessages", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _aiProactiveTransform.aiProactiveTransformMessages;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
12
30
|
Object.defineProperty(exports, "alignmentMessages", {
|
|
13
31
|
enumerable: true,
|
|
14
32
|
get: function get() {
|
|
@@ -204,6 +222,9 @@ Object.defineProperty(exports, "unsupportedContentMessages", {
|
|
|
204
222
|
});
|
|
205
223
|
var _reactIntlNext = require("react-intl-next");
|
|
206
224
|
var _aiDefinitions = require("./ai-definitions");
|
|
225
|
+
var _aiProactive = require("./ai-proactive");
|
|
226
|
+
var _aiProactiveSetting = require("./ai-proactive-setting");
|
|
227
|
+
var _aiProactiveTransform = require("./ai-proactive-transform");
|
|
207
228
|
var _alignment = require("./alignment");
|
|
208
229
|
var _annotation = require("./annotation");
|
|
209
230
|
var _blockType = require("./block-type");
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "99.
|
|
20
|
+
var packageVersion = "99.5.1";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "99.
|
|
26
|
+
var packageVersion = "99.5.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { FabricChannel } from '@atlaskit/analytics-listeners/types';
|
|
2
2
|
import { AnalyticsQueue } from './analytics-queue';
|
|
3
3
|
export const editorAnalyticsChannel = FabricChannel.editor;
|
|
4
|
-
export const fireAnalyticsEvent = createAnalyticsEvent => ({
|
|
4
|
+
export const fireAnalyticsEvent = (createAnalyticsEvent, options) => ({
|
|
5
5
|
payload,
|
|
6
6
|
channel = editorAnalyticsChannel
|
|
7
7
|
}) => {
|
|
8
8
|
if (!createAnalyticsEvent) {
|
|
9
9
|
return;
|
|
10
10
|
}
|
|
11
|
+
if (options !== null && options !== void 0 && options.immediate) {
|
|
12
|
+
var _createAnalyticsEvent;
|
|
13
|
+
(_createAnalyticsEvent = createAnalyticsEvent(payload)) === null || _createAnalyticsEvent === void 0 ? void 0 : _createAnalyticsEvent.fire(channel);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
11
16
|
const queue = AnalyticsQueue.get();
|
|
12
17
|
queue.schedule(() => {
|
|
13
|
-
var
|
|
14
|
-
return (
|
|
18
|
+
var _createAnalyticsEvent2;
|
|
19
|
+
return (_createAnalyticsEvent2 = createAnalyticsEvent(payload)) === null || _createAnalyticsEvent2 === void 0 ? void 0 : _createAnalyticsEvent2.fire(channel);
|
|
15
20
|
});
|
|
16
21
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -49,6 +49,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
49
49
|
ACTION["EDITOR_TTI"] = "tti";
|
|
50
50
|
ACTION["EDITOR_CONTENT_RETRIEVAL_PERFORMED"] = "contentRetrievalPerformed";
|
|
51
51
|
ACTION["RE_RENDERED"] = "reRendered";
|
|
52
|
+
ACTION["ENDED"] = "ended";
|
|
52
53
|
ACTION["ENTERED"] = "entered";
|
|
53
54
|
ACTION["ERROR"] = "error";
|
|
54
55
|
ACTION["ERRORED"] = "errored";
|
|
@@ -113,6 +114,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
113
114
|
ACTION["TRANSACTION_MUTATED_AFTER_DISPATCH"] = "transactionMutatedAfterDispatched";
|
|
114
115
|
ACTION["TYPING_FINISHED"] = "typingFinished";
|
|
115
116
|
ACTION["TYPING_STARTED"] = "typingStarted";
|
|
117
|
+
ACTION["UNHANDLED_ERROR_CAUGHT"] = "unhandledErrorCaught";
|
|
116
118
|
ACTION["UNLINK"] = "unlinked";
|
|
117
119
|
ACTION["UNSUPPORTED_CONTENT_ENCOUNTERED"] = "unsupportedContentEncounteredV2";
|
|
118
120
|
ACTION["UPDATED"] = "updated";
|
|
@@ -223,6 +225,7 @@ export let ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
|
|
|
223
225
|
ACTION_SUBJECT["DATE_SEGMENT"] = "dateSegment";
|
|
224
226
|
ACTION_SUBJECT["DOCUMENT"] = "document";
|
|
225
227
|
ACTION_SUBJECT["EDITOR"] = "editor";
|
|
228
|
+
ACTION_SUBJECT["ACTIVITY_SESSION"] = "activitySession";
|
|
226
229
|
ACTION_SUBJECT["ELEMENT_BROWSER"] = "elementBrowser";
|
|
227
230
|
ACTION_SUBJECT["EMBEDS"] = "embeds";
|
|
228
231
|
ACTION_SUBJECT["EXPAND"] = "expand";
|
|
@@ -283,11 +286,13 @@ export let ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
|
|
|
283
286
|
}({});
|
|
284
287
|
export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
285
288
|
ACTION_SUBJECT_ID["ACTION"] = "action";
|
|
289
|
+
ACTION_SUBJECT_ID["ACTIVITY"] = "activity";
|
|
286
290
|
ACTION_SUBJECT_ID["AI_DEFINITIONS_DEFINE_BUTTON"] = "aiDefinitionsDefineButton";
|
|
287
291
|
ACTION_SUBJECT_ID["AI_DEFINITIONS_AUTO_HIGHLIGHT"] = "aiDefinitionsAutoHighlight";
|
|
288
292
|
ACTION_SUBJECT_ID["AI_PANELS_BODIED_EXTENSION"] = "aiPanelsBodiedExtension";
|
|
289
293
|
ACTION_SUBJECT_ID["AI_PROMPT_LINK_PICKER_BUTTON"] = "aiPromptLinkPickerButton";
|
|
290
294
|
ACTION_SUBJECT_ID["AI_PROMPT_MENTION_BUTTON"] = "aiPromptMentionButton";
|
|
295
|
+
ACTION_SUBJECT_ID["AI_PROACTIVE_FEEDBACK_DIALOG"] = "aiProactiveFeedbackDialog";
|
|
291
296
|
ACTION_SUBJECT_ID["ALL"] = "all";
|
|
292
297
|
ACTION_SUBJECT_ID["ALT_TEXT"] = "altText";
|
|
293
298
|
ACTION_SUBJECT_ID["ANNOTATE_BUTTON"] = "annotateButton";
|
|
@@ -322,6 +327,7 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
322
327
|
ACTION_SUBJECT_ID["EMBEDS"] = "embeds";
|
|
323
328
|
ACTION_SUBJECT_ID["EMOJI"] = "emoji";
|
|
324
329
|
ACTION_SUBJECT_ID["EXPAND"] = "expand";
|
|
330
|
+
ACTION_SUBJECT_ID["EXPERIENCE_APPLICATION"] = "experienceApplication";
|
|
325
331
|
ACTION_SUBJECT_ID["EXTENSION"] = "extension";
|
|
326
332
|
ACTION_SUBJECT_ID["EXTENSION_API"] = "extensionApi";
|
|
327
333
|
ACTION_SUBJECT_ID["EXTENSION_BLOCK"] = "extension";
|