@atlaskit/editor-common 100.4.3 → 101.0.0
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 +45 -0
- package/ai-messages/package.json +17 -0
- package/dist/cjs/ai-messages/ai-config-items.js +489 -0
- package/dist/cjs/ai-messages/ai-experience-application.js +131 -0
- package/dist/cjs/ai-messages/ai-failed-state.js +56 -0
- package/dist/cjs/ai-messages/ai-languages.js +368 -0
- package/dist/cjs/ai-messages/ai.js +122 -0
- package/dist/cjs/ai-messages/index.js +68 -0
- package/dist/cjs/card/index.js +13 -0
- package/dist/cjs/card/link-toolbar-button-group-options.js +2 -2
- package/dist/cjs/card/link-toolbar-dropdown-options.js +33 -0
- package/dist/cjs/element-browser/components/ElementList/EmptyState.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/cjs/media/messages/altText.js +5 -0
- package/dist/cjs/messages/index.js +0 -28
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +35 -8
- package/dist/cjs/selection/gap-cursor/styles.js +1 -1
- package/dist/cjs/type-ahead/messages.js +10 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/Button.js +5 -2
- package/dist/cjs/ui/FloatingToolbar/Separator.js +12 -6
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +2 -1
- package/dist/es2019/ai-messages/ai-config-items.js +483 -0
- package/dist/es2019/ai-messages/ai-experience-application.js +124 -0
- package/dist/es2019/ai-messages/ai-failed-state.js +49 -0
- package/dist/es2019/ai-messages/ai-languages.js +361 -0
- package/dist/es2019/ai-messages/ai.js +116 -0
- package/dist/es2019/ai-messages/index.js +12 -0
- package/dist/es2019/card/index.js +2 -1
- package/dist/es2019/card/link-toolbar-button-group-options.js +1 -1
- package/dist/es2019/card/link-toolbar-dropdown-options.js +26 -0
- package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/es2019/media/messages/altText.js +5 -0
- package/dist/es2019/messages/index.js +0 -4
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +34 -8
- package/dist/es2019/selection/gap-cursor/styles.js +1 -1
- package/dist/es2019/type-ahead/messages.js +10 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/Button.js +5 -1
- package/dist/es2019/ui/FloatingToolbar/Separator.js +11 -4
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +2 -1
- package/dist/esm/ai-messages/ai-config-items.js +483 -0
- package/dist/esm/ai-messages/ai-experience-application.js +124 -0
- package/dist/esm/ai-messages/ai-failed-state.js +49 -0
- package/dist/esm/ai-messages/ai-languages.js +361 -0
- package/dist/esm/ai-messages/ai.js +116 -0
- package/dist/esm/ai-messages/index.js +12 -0
- package/dist/esm/card/index.js +2 -1
- package/dist/esm/card/link-toolbar-button-group-options.js +1 -1
- package/dist/esm/card/link-toolbar-dropdown-options.js +26 -0
- package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/esm/media/messages/altText.js +5 -0
- package/dist/esm/messages/index.js +0 -4
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +35 -8
- package/dist/esm/selection/gap-cursor/styles.js +1 -1
- package/dist/esm/type-ahead/messages.js +10 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/Button.js +5 -2
- package/dist/esm/ui/FloatingToolbar/Separator.js +12 -6
- package/dist/esm/ui-menu/ColorPickerButton/index.js +2 -1
- package/dist/types/ai-messages/ai-config-items.d.ts +462 -0
- package/dist/types/ai-messages/ai-experience-application.d.ts +122 -0
- package/dist/types/ai-messages/ai-failed-state.d.ts +47 -0
- package/dist/types/ai-messages/ai-languages.d.ts +357 -0
- package/dist/types/ai-messages/ai.d.ts +107 -0
- package/dist/types/ai-messages/index.d.ts +9 -0
- package/dist/types/card/index.d.ts +2 -1
- package/dist/types/card/link-toolbar-button-group-options.d.ts +51 -0
- package/dist/types/card/link-toolbar-dropdown-options.d.ts +4 -0
- package/dist/types/media/messages/altText.d.ts +5 -0
- package/dist/types/messages/index.d.ts +0 -4
- package/dist/types/type-ahead/messages.d.ts +10 -0
- package/dist/types-ts4.5/ai-messages/ai-config-items.d.ts +462 -0
- package/dist/types-ts4.5/ai-messages/ai-experience-application.d.ts +122 -0
- package/dist/types-ts4.5/ai-messages/ai-failed-state.d.ts +47 -0
- package/dist/types-ts4.5/ai-messages/ai-languages.d.ts +357 -0
- package/dist/types-ts4.5/ai-messages/ai.d.ts +107 -0
- package/dist/types-ts4.5/ai-messages/index.d.ts +9 -0
- package/dist/types-ts4.5/card/index.d.ts +2 -1
- package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +51 -0
- package/dist/types-ts4.5/card/link-toolbar-dropdown-options.d.ts +4 -0
- package/dist/types-ts4.5/media/messages/altText.d.ts +5 -0
- package/dist/types-ts4.5/messages/index.d.ts +0 -4
- package/dist/types-ts4.5/type-ahead/messages.d.ts +10 -0
- package/package.json +9 -11
- /package/dist/cjs/{messages → ai-messages}/ai-definitions.js +0 -0
- /package/dist/cjs/{messages → ai-messages}/ai-proactive-setting.js +0 -0
- /package/dist/cjs/{messages → ai-messages}/ai-proactive-transform.js +0 -0
- /package/dist/cjs/{messages → ai-messages}/ai-proactive.js +0 -0
- /package/dist/es2019/{messages → ai-messages}/ai-definitions.js +0 -0
- /package/dist/es2019/{messages → ai-messages}/ai-proactive-setting.js +0 -0
- /package/dist/es2019/{messages → ai-messages}/ai-proactive-transform.js +0 -0
- /package/dist/es2019/{messages → ai-messages}/ai-proactive.js +0 -0
- /package/dist/esm/{messages → ai-messages}/ai-definitions.js +0 -0
- /package/dist/esm/{messages → ai-messages}/ai-proactive-setting.js +0 -0
- /package/dist/esm/{messages → ai-messages}/ai-proactive-transform.js +0 -0
- /package/dist/esm/{messages → ai-messages}/ai-proactive.js +0 -0
- /package/dist/types/{messages → ai-messages}/ai-definitions.d.ts +0 -0
- /package/dist/types/{messages → ai-messages}/ai-proactive-setting.d.ts +0 -0
- /package/dist/types/{messages → ai-messages}/ai-proactive-transform.d.ts +0 -0
- /package/dist/types/{messages → ai-messages}/ai-proactive.d.ts +0 -0
- /package/dist/types-ts4.5/{messages → ai-messages}/ai-definitions.d.ts +0 -0
- /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive-setting.d.ts +0 -0
- /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive-transform.d.ts +0 -0
- /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive.d.ts +0 -0
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
// eslint-disable-next-line no-restricted-imports
|
|
2
|
+
import { defineMessages } from 'react-intl-next';
|
|
3
|
+
export const aiLanguageMessages = defineMessages({
|
|
4
|
+
// Language Messages
|
|
5
|
+
nestingParentTitle: {
|
|
6
|
+
id: 'fabric.editor.ai.config.item.translate.nestingParentTitle.ga',
|
|
7
|
+
defaultMessage: 'Translate',
|
|
8
|
+
description: 'The nested title which shows in the generative-ai-modal'
|
|
9
|
+
},
|
|
10
|
+
nestingParentTitlePostGA: {
|
|
11
|
+
id: 'fabric.editor.ai.config.item.translate.nestingParentTitlePostGA',
|
|
12
|
+
defaultMessage: 'Translate to ...',
|
|
13
|
+
description: 'The nested title which shows in the generative-ai-modal'
|
|
14
|
+
},
|
|
15
|
+
chineseSimplified: {
|
|
16
|
+
id: 'fabric.editor.ai.config.item.translate.chineseSimplified',
|
|
17
|
+
defaultMessage: 'Chinese (Simplified)',
|
|
18
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Chinese (Simplified)'
|
|
19
|
+
},
|
|
20
|
+
chineseTraditional: {
|
|
21
|
+
id: 'fabric.editor.ai.config.item.translate.chineseTraditional',
|
|
22
|
+
defaultMessage: 'Chinese (Traditional)',
|
|
23
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Chinese (Traditional)'
|
|
24
|
+
},
|
|
25
|
+
czech: {
|
|
26
|
+
id: 'fabric.editor.ai.config.item.translate.czech',
|
|
27
|
+
defaultMessage: 'Czech',
|
|
28
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Czech'
|
|
29
|
+
},
|
|
30
|
+
danish: {
|
|
31
|
+
id: 'fabric.editor.ai.config.item.translate.danish',
|
|
32
|
+
defaultMessage: 'Danish',
|
|
33
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Danish'
|
|
34
|
+
},
|
|
35
|
+
dutch: {
|
|
36
|
+
id: 'fabric.editor.ai.config.item.translate.dutch',
|
|
37
|
+
defaultMessage: 'Dutch',
|
|
38
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Dutch'
|
|
39
|
+
},
|
|
40
|
+
english: {
|
|
41
|
+
id: 'fabric.editor.ai.config.item.translate.english',
|
|
42
|
+
defaultMessage: 'English',
|
|
43
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for English'
|
|
44
|
+
},
|
|
45
|
+
finnish: {
|
|
46
|
+
id: 'fabric.editor.ai.config.item.translate.finnish',
|
|
47
|
+
defaultMessage: 'Finnish',
|
|
48
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Finnish'
|
|
49
|
+
},
|
|
50
|
+
french: {
|
|
51
|
+
id: 'fabric.editor.ai.config.item.translate.french',
|
|
52
|
+
defaultMessage: 'French',
|
|
53
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for French'
|
|
54
|
+
},
|
|
55
|
+
german: {
|
|
56
|
+
id: 'fabric.editor.ai.config.item.translate.german',
|
|
57
|
+
defaultMessage: 'German',
|
|
58
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for German'
|
|
59
|
+
},
|
|
60
|
+
hungarian: {
|
|
61
|
+
id: 'fabric.editor.ai.config.item.translate.hungarian',
|
|
62
|
+
defaultMessage: 'Hungarian',
|
|
63
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Hungarian'
|
|
64
|
+
},
|
|
65
|
+
italian: {
|
|
66
|
+
id: 'fabric.editor.ai.config.item.translate.italian',
|
|
67
|
+
defaultMessage: 'Italian',
|
|
68
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Italian'
|
|
69
|
+
},
|
|
70
|
+
japanese: {
|
|
71
|
+
id: 'fabric.editor.ai.config.item.translate.japanese',
|
|
72
|
+
defaultMessage: 'Japanese',
|
|
73
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Japanese'
|
|
74
|
+
},
|
|
75
|
+
korean: {
|
|
76
|
+
id: 'fabric.editor.ai.config.item.translate.korean',
|
|
77
|
+
defaultMessage: 'Korean',
|
|
78
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Korean'
|
|
79
|
+
},
|
|
80
|
+
norwegian: {
|
|
81
|
+
id: 'fabric.editor.ai.config.item.translate.norwegian',
|
|
82
|
+
defaultMessage: 'Norwegian',
|
|
83
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Norwegian'
|
|
84
|
+
},
|
|
85
|
+
polish: {
|
|
86
|
+
id: 'fabric.editor.ai.config.item.translate.polish',
|
|
87
|
+
defaultMessage: 'Polish',
|
|
88
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Polish'
|
|
89
|
+
},
|
|
90
|
+
portugueseBrazilian: {
|
|
91
|
+
id: 'fabric.editor.ai.config.item.translate.portugueseBrazilian',
|
|
92
|
+
defaultMessage: 'Portuguese (Brazilian)',
|
|
93
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Portuguese (Brazilian)'
|
|
94
|
+
},
|
|
95
|
+
russian: {
|
|
96
|
+
id: 'fabric.editor.ai.config.item.translate.russian',
|
|
97
|
+
defaultMessage: 'Russian',
|
|
98
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Russian'
|
|
99
|
+
},
|
|
100
|
+
spanish: {
|
|
101
|
+
id: 'fabric.editor.ai.config.item.translate.spanish',
|
|
102
|
+
defaultMessage: 'Spanish',
|
|
103
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Spanish'
|
|
104
|
+
},
|
|
105
|
+
swedish: {
|
|
106
|
+
id: 'fabric.editor.ai.config.item.translate.swedish',
|
|
107
|
+
defaultMessage: 'Swedish',
|
|
108
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Swedish'
|
|
109
|
+
},
|
|
110
|
+
turkish: {
|
|
111
|
+
id: 'fabric.editor.ai.config.item.translate.turkish',
|
|
112
|
+
defaultMessage: 'Turkish',
|
|
113
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Turkish'
|
|
114
|
+
},
|
|
115
|
+
thai: {
|
|
116
|
+
id: 'fabric.editor.ai.config.item.translate.thai',
|
|
117
|
+
defaultMessage: 'Thai',
|
|
118
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Thai'
|
|
119
|
+
},
|
|
120
|
+
ukrainian: {
|
|
121
|
+
id: 'fabric.editor.ai.config.item.translate.ukrainian',
|
|
122
|
+
defaultMessage: 'Ukrainian',
|
|
123
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Ukrainian'
|
|
124
|
+
},
|
|
125
|
+
vietnamese: {
|
|
126
|
+
id: 'fabric.editor.ai.config.item.translate.vietnamese',
|
|
127
|
+
defaultMessage: 'Vietnamese',
|
|
128
|
+
description: 'Language string referenced in UIs involving the translation AI prompt for Vietnamese'
|
|
129
|
+
},
|
|
130
|
+
// Translate to messages
|
|
131
|
+
chineseSimplifiedTitle: {
|
|
132
|
+
id: 'fabric.editor.ai.config.item.translateTo.chineseSimplified.title',
|
|
133
|
+
defaultMessage: 'Translate to Chinese (Simplified)',
|
|
134
|
+
description: 'Title of a prompt that translates the selected content into Chinese (Simplified)'
|
|
135
|
+
},
|
|
136
|
+
chineseSimplifiedDescription: {
|
|
137
|
+
id: 'fabric.editor.ai.config.item.translateTo.chineseSimplified.description',
|
|
138
|
+
defaultMessage: "Translates the text you're working on to Chinese (Simplified)",
|
|
139
|
+
description: 'Description for prompt that translates selected content into Chinese (Simplified)'
|
|
140
|
+
},
|
|
141
|
+
chineseTraditionalTitle: {
|
|
142
|
+
id: 'fabric.editor.ai.config.item.translateTo.chineseTraditional.title',
|
|
143
|
+
defaultMessage: 'Translate to Chinese (Traditional)',
|
|
144
|
+
description: 'Title of a prompt that translates the selected content into Chinese (Traditional)'
|
|
145
|
+
},
|
|
146
|
+
chineseTraditionalDescription: {
|
|
147
|
+
id: 'fabric.editor.ai.config.item.translateTo.chineseTraditional.description',
|
|
148
|
+
defaultMessage: "Translates the text you're working on to Chinese (Traditional)",
|
|
149
|
+
description: 'Description for prompt that translates selected content into Chinese (Traditional)'
|
|
150
|
+
},
|
|
151
|
+
czechTitle: {
|
|
152
|
+
id: 'fabric.editor.ai.config.item.translateTo.czech.title',
|
|
153
|
+
defaultMessage: 'Translate to Czech',
|
|
154
|
+
description: 'Title of a prompt that translates the selected content into Czech'
|
|
155
|
+
},
|
|
156
|
+
czechDescription: {
|
|
157
|
+
id: 'fabric.editor.ai.config.item.translateTo.czech.description',
|
|
158
|
+
defaultMessage: "Translates the text you're working on to Czech",
|
|
159
|
+
description: 'Description for prompt that translates selected content into Czech'
|
|
160
|
+
},
|
|
161
|
+
danishTitle: {
|
|
162
|
+
id: 'fabric.editor.ai.config.item.translateTo.danish.title',
|
|
163
|
+
defaultMessage: 'Translate to Danish',
|
|
164
|
+
description: 'Title of a prompt that translates the selected content into Danish'
|
|
165
|
+
},
|
|
166
|
+
danishDescription: {
|
|
167
|
+
id: 'fabric.editor.ai.config.item.translateTo.danish.description',
|
|
168
|
+
defaultMessage: "Translates the text you're working on to Danish",
|
|
169
|
+
description: 'Description for prompt that translates selected content into Danish'
|
|
170
|
+
},
|
|
171
|
+
dutchTitle: {
|
|
172
|
+
id: 'fabric.editor.ai.config.item.translateTo.dutch.title',
|
|
173
|
+
defaultMessage: 'Translate to Dutch',
|
|
174
|
+
description: 'Title of a prompt that translates the selected content into Dutch'
|
|
175
|
+
},
|
|
176
|
+
dutchDescription: {
|
|
177
|
+
id: 'fabric.editor.ai.config.item.translateTo.dutch.description',
|
|
178
|
+
defaultMessage: "Translates the text you're working on to Dutch",
|
|
179
|
+
description: 'Description for prompt that translates selected content into Dutch'
|
|
180
|
+
},
|
|
181
|
+
englishTitle: {
|
|
182
|
+
id: 'fabric.editor.ai.config.item.translateTo.english.title',
|
|
183
|
+
defaultMessage: 'Translate to English',
|
|
184
|
+
description: 'Title of a prompt that translates the selected content into English'
|
|
185
|
+
},
|
|
186
|
+
englishDescription: {
|
|
187
|
+
id: 'fabric.editor.ai.config.item.translateTo.english.description',
|
|
188
|
+
defaultMessage: "Translates the text you're working on to English",
|
|
189
|
+
description: 'Description for prompt that translates selected content into English'
|
|
190
|
+
},
|
|
191
|
+
finnishTitle: {
|
|
192
|
+
id: 'fabric.editor.ai.config.item.translateTo.finnish.title',
|
|
193
|
+
defaultMessage: 'Translate to Finnish',
|
|
194
|
+
description: 'Title of a prompt that translates the selected content into Finnish'
|
|
195
|
+
},
|
|
196
|
+
finnishDescription: {
|
|
197
|
+
id: 'fabric.editor.ai.config.item.translateTo.finnish.description',
|
|
198
|
+
defaultMessage: "Translates the text you're working on to Finnish",
|
|
199
|
+
description: 'Description for prompt that translates selected content into Finnish'
|
|
200
|
+
},
|
|
201
|
+
frenchTitle: {
|
|
202
|
+
id: 'fabric.editor.ai.config.item.translateTo.french.title',
|
|
203
|
+
defaultMessage: 'Translate to French',
|
|
204
|
+
description: 'Title of a prompt that translates the selected content into French'
|
|
205
|
+
},
|
|
206
|
+
frenchDescription: {
|
|
207
|
+
id: 'fabric.editor.ai.config.item.translateTo.french.description',
|
|
208
|
+
defaultMessage: "Translates the text you're working on to French",
|
|
209
|
+
description: 'Description for prompt that translates selected content into French'
|
|
210
|
+
},
|
|
211
|
+
germanTitle: {
|
|
212
|
+
id: 'fabric.editor.ai.config.item.translateTo.german.title',
|
|
213
|
+
defaultMessage: 'Translate to German',
|
|
214
|
+
description: 'Title of a prompt that translates the selected content into German'
|
|
215
|
+
},
|
|
216
|
+
germanDescription: {
|
|
217
|
+
id: 'fabric.editor.ai.config.item.translateTo.german.description',
|
|
218
|
+
defaultMessage: "Translates the text you're working on to German",
|
|
219
|
+
description: 'Description for prompt that translates selected content into German'
|
|
220
|
+
},
|
|
221
|
+
hungarianTitle: {
|
|
222
|
+
id: 'fabric.editor.ai.config.item.translateTo.hungarian.title',
|
|
223
|
+
defaultMessage: 'Translate to Hungarian',
|
|
224
|
+
description: 'Title of a prompt that translates the selected content into Hungarian'
|
|
225
|
+
},
|
|
226
|
+
hungarianDescription: {
|
|
227
|
+
id: 'fabric.editor.ai.config.item.translateTo.hungarian.description',
|
|
228
|
+
defaultMessage: "Translates the text you're working on to Hungarian",
|
|
229
|
+
description: 'Description for prompt that translates selected content into Hungarian'
|
|
230
|
+
},
|
|
231
|
+
italianTitle: {
|
|
232
|
+
id: 'fabric.editor.ai.config.item.translateTo.italian.title',
|
|
233
|
+
defaultMessage: 'Translate to Italian',
|
|
234
|
+
description: 'Title of a prompt that translates the selected content into Italian'
|
|
235
|
+
},
|
|
236
|
+
italianDescription: {
|
|
237
|
+
id: 'fabric.editor.ai.config.item.translateTo.italian.description',
|
|
238
|
+
defaultMessage: "Translates the text you're working on to Italian",
|
|
239
|
+
description: 'Description for prompt that translates selected content into Italian'
|
|
240
|
+
},
|
|
241
|
+
japaneseTitle: {
|
|
242
|
+
id: 'fabric.editor.ai.config.item.translateTo.japanese.title',
|
|
243
|
+
defaultMessage: 'Translate to Japanese',
|
|
244
|
+
description: 'Title of a prompt that translates the selected content into Japanese'
|
|
245
|
+
},
|
|
246
|
+
japaneseDescription: {
|
|
247
|
+
id: 'fabric.editor.ai.config.item.translateTo.japanese.description',
|
|
248
|
+
defaultMessage: "Translates the text you're working on to Japanese",
|
|
249
|
+
description: 'Description for prompt that translates selected content into Japanese'
|
|
250
|
+
},
|
|
251
|
+
koreanTitle: {
|
|
252
|
+
id: 'fabric.editor.ai.config.item.translateTo.korean.title',
|
|
253
|
+
defaultMessage: 'Translate to Korean',
|
|
254
|
+
description: 'Title of a prompt that translates the selected content into Korean'
|
|
255
|
+
},
|
|
256
|
+
koreanDescription: {
|
|
257
|
+
id: 'fabric.editor.ai.config.item.translateTo.korean.description',
|
|
258
|
+
defaultMessage: "Translates the text you're working on to Korean",
|
|
259
|
+
description: 'Description for prompt that translates selected content into Korean'
|
|
260
|
+
},
|
|
261
|
+
norwegianTitle: {
|
|
262
|
+
id: 'fabric.editor.ai.config.item.translateTo.norwegian.title',
|
|
263
|
+
defaultMessage: 'Translate to Norwegian',
|
|
264
|
+
description: 'Title of a prompt that translates the selected content into Norwegian'
|
|
265
|
+
},
|
|
266
|
+
norwegianDescription: {
|
|
267
|
+
id: 'fabric.editor.ai.config.item.translateTo.norwegian.description',
|
|
268
|
+
defaultMessage: "Translates the text you're working on to Norwegian",
|
|
269
|
+
description: 'Description for prompt that translates selected content into Norwegian'
|
|
270
|
+
},
|
|
271
|
+
polishTitle: {
|
|
272
|
+
id: 'fabric.editor.ai.config.item.translateTo.polish.title',
|
|
273
|
+
defaultMessage: 'Translate to Polish',
|
|
274
|
+
description: 'Title of a prompt that translates the selected content into Polish'
|
|
275
|
+
},
|
|
276
|
+
polishDescription: {
|
|
277
|
+
id: 'fabric.editor.ai.config.item.translateTo.polish.description',
|
|
278
|
+
defaultMessage: "Translates the text you're working on to Polish",
|
|
279
|
+
description: 'Description for prompt that translates selected content into Polish'
|
|
280
|
+
},
|
|
281
|
+
portugueseBrazilianTitle: {
|
|
282
|
+
id: 'fabric.editor.ai.config.item.translateTo.portugueseBrazilian.title',
|
|
283
|
+
defaultMessage: 'Translate to Portuguese (Brazilian)',
|
|
284
|
+
description: 'Title of a prompt that translates the selected content into Portuguese (Brazilian)'
|
|
285
|
+
},
|
|
286
|
+
portugueseBrazilianDescription: {
|
|
287
|
+
id: 'fabric.editor.ai.config.item.translateTo.portugueseBrazilian.description',
|
|
288
|
+
defaultMessage: "Translates the text you're working on to Portuguese (Brazilian)",
|
|
289
|
+
description: 'Description for prompt that translates selected content into Portuguese (Brazilian)'
|
|
290
|
+
},
|
|
291
|
+
russianTitle: {
|
|
292
|
+
id: 'fabric.editor.ai.config.item.translateTo.russian.title',
|
|
293
|
+
defaultMessage: 'Translate to Russian',
|
|
294
|
+
description: 'Title of a prompt that translates the selected content into Russian'
|
|
295
|
+
},
|
|
296
|
+
russianDescription: {
|
|
297
|
+
id: 'fabric.editor.ai.config.item.translateTo.russian.description',
|
|
298
|
+
defaultMessage: "Translates the text you're working on to Russian",
|
|
299
|
+
description: 'Description for prompt that translates selected content into Russian'
|
|
300
|
+
},
|
|
301
|
+
spanishTitle: {
|
|
302
|
+
id: 'fabric.editor.ai.config.item.translateTo.spanish.title',
|
|
303
|
+
defaultMessage: 'Translate to Spanish',
|
|
304
|
+
description: 'Title of a prompt that translates the selected content into Spanish'
|
|
305
|
+
},
|
|
306
|
+
spanishDescription: {
|
|
307
|
+
id: 'fabric.editor.ai.config.item.translateTo.spanish.description',
|
|
308
|
+
defaultMessage: "Translates the text you're working on to Spanish",
|
|
309
|
+
description: 'Description for prompt that translates selected content into Spanish'
|
|
310
|
+
},
|
|
311
|
+
swedishTitle: {
|
|
312
|
+
id: 'fabric.editor.ai.config.item.translateTo.swedish.title',
|
|
313
|
+
defaultMessage: 'Translate to Swedish',
|
|
314
|
+
description: 'Title of a prompt that translates the selected content into Swedish'
|
|
315
|
+
},
|
|
316
|
+
swedishDescription: {
|
|
317
|
+
id: 'fabric.editor.ai.config.item.translateTo.swedish.description',
|
|
318
|
+
defaultMessage: "Translates the text you're working on to Swedish",
|
|
319
|
+
description: 'Description for prompt that translates selected content into Swedish'
|
|
320
|
+
},
|
|
321
|
+
turkishTitle: {
|
|
322
|
+
id: 'fabric.editor.ai.config.item.translateTo.turkish.title',
|
|
323
|
+
defaultMessage: 'Translate to Turkish',
|
|
324
|
+
description: 'Title of a prompt that translates the selected content into Turkish'
|
|
325
|
+
},
|
|
326
|
+
turkishDescription: {
|
|
327
|
+
id: 'fabric.editor.ai.config.item.translateTo.turkish.description',
|
|
328
|
+
defaultMessage: "Translates the text you're working on to Turkish",
|
|
329
|
+
description: 'Description for prompt that translates selected content into Turkish'
|
|
330
|
+
},
|
|
331
|
+
thaiTitle: {
|
|
332
|
+
id: 'fabric.editor.ai.config.item.translateTo.thai.title',
|
|
333
|
+
defaultMessage: 'Translate to Thai',
|
|
334
|
+
description: 'Title of a prompt that translates the selected content into Thai'
|
|
335
|
+
},
|
|
336
|
+
thaiDescription: {
|
|
337
|
+
id: 'fabric.editor.ai.config.item.translateTo.thai.description',
|
|
338
|
+
defaultMessage: "Translates the text you're working on to Thai",
|
|
339
|
+
description: 'Description for prompt that translates selected content into Thai'
|
|
340
|
+
},
|
|
341
|
+
ukrainianTitle: {
|
|
342
|
+
id: 'fabric.editor.ai.config.item.translateTo.ukrainian.title',
|
|
343
|
+
defaultMessage: 'Translate to Ukrainian',
|
|
344
|
+
description: 'Title of a prompt that translates the selected content into Ukrainian'
|
|
345
|
+
},
|
|
346
|
+
ukrainianDescription: {
|
|
347
|
+
id: 'fabric.editor.ai.config.item.translateTo.ukrainian.description',
|
|
348
|
+
defaultMessage: "Translates the text you're working on to Ukrainian",
|
|
349
|
+
description: 'Description for prompt that translates selected content into Ukrainian'
|
|
350
|
+
},
|
|
351
|
+
vietnameseTitle: {
|
|
352
|
+
id: 'fabric.editor.ai.config.item.translateTo.vietnamese.title',
|
|
353
|
+
defaultMessage: 'Translate to Vietnamese',
|
|
354
|
+
description: 'Title of a prompt that translates the selected content into Vietnamese'
|
|
355
|
+
},
|
|
356
|
+
vietnameseDescription: {
|
|
357
|
+
id: 'fabric.editor.ai.config.item.translateTo.vietnamese.description',
|
|
358
|
+
defaultMessage: "Translates the text you're working on to Vietnamese",
|
|
359
|
+
description: 'Description for prompt that translates selected content into Vietnamese'
|
|
360
|
+
}
|
|
361
|
+
});
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export const aiMessages = defineMessages({
|
|
3
|
+
// Event hub messages
|
|
4
|
+
eventHubfallbackSuggestedTitle: {
|
|
5
|
+
id: 'fabric.editor.ai.eventHub.fallbackSuggestedTitle',
|
|
6
|
+
defaultMessage: 'Page title',
|
|
7
|
+
description: 'A fallback suggested title for the suggest title prompt'
|
|
8
|
+
},
|
|
9
|
+
// Toolbar messages
|
|
10
|
+
aiToolbarTitle: {
|
|
11
|
+
id: 'fabric.editor.ai.toolbar.titleText',
|
|
12
|
+
defaultMessage: 'Atlassian Intelligence',
|
|
13
|
+
description: 'Title for Atlassian Intelligence button in editor selection floating toolbar'
|
|
14
|
+
},
|
|
15
|
+
improveWritingToolbarIconTitle: {
|
|
16
|
+
id: 'fabric.editor.ai.toolbar.improveWriting.title',
|
|
17
|
+
defaultMessage: 'Improve writing',
|
|
18
|
+
description: 'Title for an option to use Atlassian Intellgience to improve the writing of content currently selected by the user'
|
|
19
|
+
},
|
|
20
|
+
improveWritingToolbarIconTooltip: {
|
|
21
|
+
id: 'fabric.editor.ai.toolbar.improveWriting.tooltip',
|
|
22
|
+
defaultMessage: 'Tell Atlassian Intelligence to improve the writing of your selection',
|
|
23
|
+
description: 'Tooltip text for an option to use Atlassian Intellgience to improve the writing of content currently selected by the user'
|
|
24
|
+
},
|
|
25
|
+
tryAIToolbarIconTitle: {
|
|
26
|
+
id: 'fabric.editor.ai.toolbar.tryAI.title',
|
|
27
|
+
defaultMessage: 'Try AI',
|
|
28
|
+
description: 'Title for an option to use Atlassian Intellgience'
|
|
29
|
+
},
|
|
30
|
+
tryAIToolbarIconTooltip: {
|
|
31
|
+
id: 'fabric.editor.ai.toolbar.tryAI.tooltip',
|
|
32
|
+
defaultMessage: 'Open Atlassian Intelligence',
|
|
33
|
+
description: 'Tooltip text for an option to use Atlassian Intellgience'
|
|
34
|
+
},
|
|
35
|
+
simplifiedAIToolbarIconTitle: {
|
|
36
|
+
id: 'fabric.editor.ai.toolbar.simplifiedAI.title',
|
|
37
|
+
defaultMessage: 'AI',
|
|
38
|
+
description: 'Title for Atlassian Intelligence button in editor selection floating toolbar'
|
|
39
|
+
},
|
|
40
|
+
// Prebuilt messages
|
|
41
|
+
atlasGenerateContentConfigItemDescription: {
|
|
42
|
+
id: 'fabric.editor.ai.atlas-prebuilt.atlasGenerateContentConfigItemDescription',
|
|
43
|
+
defaultMessage: `Generates content to be inserted into the update`,
|
|
44
|
+
description: 'Description for AI Generate content prompt'
|
|
45
|
+
},
|
|
46
|
+
atlasSummarizePageConfigItemDescription: {
|
|
47
|
+
id: 'fabric.editor.ai.atlas-prebuilt.atlasSummarizePageConfigItemDescription',
|
|
48
|
+
defaultMessage: `Summarizes the content of the update`,
|
|
49
|
+
description: 'Description for AI Summarise content prompt'
|
|
50
|
+
},
|
|
51
|
+
confluenceChangeToneSelectionToolbarDropdownMenuTitle: {
|
|
52
|
+
id: 'fabric.editor.ai.confluence-prebuilt.confluenceChangeToneSelectionToolbarDropdownMenuTitle',
|
|
53
|
+
defaultMessage: 'Change tone',
|
|
54
|
+
description: 'Title for Atlassian Intelligence "Change Tone" dropdown in editor selection floating toolbar'
|
|
55
|
+
},
|
|
56
|
+
confluenceRewriteSelectionToolbarDropdownMenuTitle: {
|
|
57
|
+
id: 'fabric.editor.ai.confluence-prebuilt.confluenceRewriteSelectionToolbarDropdownMenuTitle',
|
|
58
|
+
defaultMessage: 'Rewrite',
|
|
59
|
+
description: 'Title for Atlassian Intelligence "Rewrite" dropdown in editor selection floating toolbar'
|
|
60
|
+
},
|
|
61
|
+
confluenceTranslateSelectionToolbarDropdownMenuTitle: {
|
|
62
|
+
id: 'fabric.editor.ai.confluence-prebuilt.confluenceTranslateSelectionToolbarDropdownMenuTitle',
|
|
63
|
+
defaultMessage: 'Translate',
|
|
64
|
+
description: 'Title for Atlassian Intelligence "Translate" dropdown in editor selection floating toolbar'
|
|
65
|
+
},
|
|
66
|
+
// AI Panel Action items messages
|
|
67
|
+
actionItemsPageTitle: {
|
|
68
|
+
id: 'fabric.editor.ai.ai-panels.actionItemsPageTitle',
|
|
69
|
+
defaultMessage: `Action items panel (Beta)`,
|
|
70
|
+
description: 'Title for AI action items panel'
|
|
71
|
+
},
|
|
72
|
+
actionItemsPageDescription: {
|
|
73
|
+
id: 'fabric.editor.ai.ai-panels.actionItemsPageDescription',
|
|
74
|
+
defaultMessage: `Use Atlassian Intelligence to find action items and display in a panel`,
|
|
75
|
+
description: 'Description for AI action items panel'
|
|
76
|
+
},
|
|
77
|
+
// AI Panel Summarise page messages
|
|
78
|
+
summarizePageTitle: {
|
|
79
|
+
id: 'fabric.editor.ai.ai-panels.summarizePageTitle',
|
|
80
|
+
defaultMessage: `Page summary panel (Beta)`,
|
|
81
|
+
description: 'Title for AI summary panel'
|
|
82
|
+
},
|
|
83
|
+
summarisePageDescription: {
|
|
84
|
+
id: 'fabric.editor.ai.ai-panels.summarizePageDescription',
|
|
85
|
+
defaultMessage: `Use Atlassian Intelligence to summarize this page and display in a panel`,
|
|
86
|
+
description: 'Description for AI summary panel'
|
|
87
|
+
},
|
|
88
|
+
// Agent messages
|
|
89
|
+
agentsDropdownTitle: {
|
|
90
|
+
id: 'rovo.agents.dropdown.title',
|
|
91
|
+
defaultMessage: 'Agents',
|
|
92
|
+
description: 'Title for the agents dropdown in the editor toolbar'
|
|
93
|
+
},
|
|
94
|
+
agentsViewAgentsLabel: {
|
|
95
|
+
id: 'rovo.agents.dropdown.viewAgents.label',
|
|
96
|
+
defaultMessage: 'View all agents',
|
|
97
|
+
description: 'Label for the dropdown option that allows a user to View all available Agents'
|
|
98
|
+
},
|
|
99
|
+
// Error messages
|
|
100
|
+
unhandledErrorMessage: {
|
|
101
|
+
id: 'fabric.editor.ai.experience-application.unhandledErrorMessage',
|
|
102
|
+
defaultMessage: "We're having trouble. Close the dialog and try again.",
|
|
103
|
+
description: 'Message to users that displays when an unexpected error happens'
|
|
104
|
+
},
|
|
105
|
+
markdownErrorMessage: {
|
|
106
|
+
id: 'fabric.editor.ai.experience-application.error-boundary.markdownErrorMessage',
|
|
107
|
+
defaultMessage: "We're having trouble generating the preview. Close the dialog and try again.",
|
|
108
|
+
description: 'Message to users that displays when an error occurs while generating a preview.'
|
|
109
|
+
},
|
|
110
|
+
// Prompt Builder messages
|
|
111
|
+
promptBuilderFromButton: {
|
|
112
|
+
id: 'fabric.editor.ai.commandPalette.promptBuilderForm.buttons.submit',
|
|
113
|
+
defaultMessage: 'Generate',
|
|
114
|
+
description: 'Label for the Submit button in the command palette'
|
|
115
|
+
}
|
|
116
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Disable no-re-export rule for entry point files
|
|
2
|
+
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
3
|
+
|
|
4
|
+
export { aiConfigItemMessages } from './ai-config-items';
|
|
5
|
+
export { aiDefinitionsMessages } from './ai-definitions';
|
|
6
|
+
export { aiExperienceApplicationMessages } from './ai-experience-application';
|
|
7
|
+
export { aiFailedStateMessages } from './ai-failed-state';
|
|
8
|
+
export { aiLanguageMessages } from './ai-languages';
|
|
9
|
+
export { aiProactiveMessages } from './ai-proactive';
|
|
10
|
+
export { aiMessages } from './ai';
|
|
11
|
+
export { aiProactiveSettingMessages } from './ai-proactive-setting';
|
|
12
|
+
export { aiProactiveTransformMessages } from './ai-proactive-transform';
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
export { addLinkMetadata, getLinkMetadataFromTransaction, commandWithMetadata } from './utils';
|
|
5
5
|
export { default as buildLayoutButtons, alignmentIcons, wrappingIcons, layoutToMessages } from './MediaAndEmbedsToolbar';
|
|
6
6
|
export { LinkToolbarButtonGroup } from './LinkToolbarButtonGroup';
|
|
7
|
-
export { getButtonGroupOption } from './link-toolbar-button-group-options';
|
|
7
|
+
export { appearancePropsMap, getButtonGroupOption } from './link-toolbar-button-group-options';
|
|
8
|
+
export { getDropdownOption } from './link-toolbar-dropdown-options';
|
|
8
9
|
export const DATASOURCE_INNER_CONTAINER_CLASSNAME = 'datasourceView-content-inner-wrap';
|
|
9
10
|
export { IconCard } from './ui/assets/card';
|
|
10
11
|
export { IconInline } from './ui/assets/inline';
|
|
@@ -7,7 +7,7 @@ import { IconCard } from './ui/assets/card';
|
|
|
7
7
|
import { IconEmbed } from './ui/assets/embed';
|
|
8
8
|
import { IconInline } from './ui/assets/inline';
|
|
9
9
|
import { IconUrl } from './ui/assets/url';
|
|
10
|
-
const appearancePropsMap = {
|
|
10
|
+
export const appearancePropsMap = {
|
|
11
11
|
url: {
|
|
12
12
|
title: messages.urlTitle,
|
|
13
13
|
icon: MinusIcon,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { appearancePropsMap } from './link-toolbar-button-group-options';
|
|
3
|
+
export const getDropdownOption = (intl, dispatchCommand, {
|
|
4
|
+
disabled,
|
|
5
|
+
onClick,
|
|
6
|
+
selected,
|
|
7
|
+
appearance,
|
|
8
|
+
testId,
|
|
9
|
+
tooltip
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
title,
|
|
13
|
+
icon: Icon
|
|
14
|
+
} = appearancePropsMap[appearance !== null && appearance !== void 0 ? appearance : 'url'];
|
|
15
|
+
return {
|
|
16
|
+
title: intl.formatMessage(title),
|
|
17
|
+
icon: /*#__PURE__*/React.createElement(Icon, {
|
|
18
|
+
label: intl.formatMessage(title)
|
|
19
|
+
}),
|
|
20
|
+
onClick: () => dispatchCommand(onClick),
|
|
21
|
+
disabled: Boolean(disabled),
|
|
22
|
+
testId,
|
|
23
|
+
selected,
|
|
24
|
+
tooltip: tooltip !== null && tooltip !== void 0 ? tooltip : ''
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -40,7 +40,7 @@ export default function EmptyState({
|
|
|
40
40
|
})))));
|
|
41
41
|
}
|
|
42
42
|
const emptyStateHeading = css({
|
|
43
|
-
font: "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
43
|
+
font: "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
44
44
|
color: "var(--ds-text, rgb(23, 43, 77))",
|
|
45
45
|
marginTop: "var(--ds-space-300, 24px)"
|
|
46
46
|
});
|
|
@@ -32,7 +32,7 @@ const buttonStyles = css({
|
|
|
32
32
|
borderRadius: "var(--ds-border-radius, 4px)",
|
|
33
33
|
paddingLeft: "var(--ds-space-150, 12px)",
|
|
34
34
|
paddingRight: "var(--ds-space-150, 12px)",
|
|
35
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
35
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
36
36
|
'&:hover': {
|
|
37
37
|
backgroundColor: "var(--ds-background-input-hovered, #F7F8F9)"
|
|
38
38
|
},
|
|
@@ -72,7 +72,7 @@ const labelStyles = css({
|
|
|
72
72
|
'&.remove-nested-left-margin': {
|
|
73
73
|
marginLeft: 0
|
|
74
74
|
},
|
|
75
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
75
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
76
76
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
77
77
|
'&.with-bodied-macro-live-page-styles': {
|
|
78
78
|
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
@@ -60,7 +60,7 @@ const textLabelMargin = css({
|
|
|
60
60
|
const inputLabel = css({
|
|
61
61
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
62
62
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
63
|
-
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
63
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
64
64
|
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
65
65
|
});
|
|
66
66
|
const inputWrapperPosition = css({
|
|
@@ -5,6 +5,11 @@ export const altTextMessages = defineMessages({
|
|
|
5
5
|
defaultMessage: 'Alt text',
|
|
6
6
|
description: 'Add an alt text for this image'
|
|
7
7
|
},
|
|
8
|
+
addAltText: {
|
|
9
|
+
id: 'fabric.editor.addUpdatedAltText',
|
|
10
|
+
defaultMessage: 'Add alt text',
|
|
11
|
+
description: 'Add an alt text for this image'
|
|
12
|
+
},
|
|
8
13
|
editAltText: {
|
|
9
14
|
id: 'fabric.editor.editAltText',
|
|
10
15
|
defaultMessage: 'Edit alt text',
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
3
3
|
|
|
4
4
|
import { defineMessages } from 'react-intl-next';
|
|
5
|
-
export { aiDefinitionsMessages } from './ai-definitions';
|
|
6
|
-
export { aiProactiveMessages } from './ai-proactive';
|
|
7
|
-
export { aiProactiveSettingMessages } from './ai-proactive-setting';
|
|
8
|
-
export { aiProactiveTransformMessages } from './ai-proactive-transform';
|
|
9
5
|
export { alignmentMessages } from './alignment';
|
|
10
6
|
export { annotationMessages } from './annotation';
|
|
11
7
|
export { messages as blockTypeMessages } from './block-type';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "
|
|
4
|
+
const packageVersion = "101.0.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// TODO: Sanitise the URL instead of just removing it
|