@atlaskit/editor-common 109.5.0 → 109.7.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 +34 -0
- package/dist/cjs/ai-messages/ai-config-items.js +5 -0
- package/dist/cjs/analytics/types/enums.js +6 -0
- package/dist/cjs/element-browser/components/ViewMore.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/toolbar/EditorToolbarUIProvider.js +7 -3
- 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/cjs/ui/Shortcut/index.js +1 -1
- package/dist/cjs/ui/Toolbar/ButtonGroup.js +1 -1
- package/dist/cjs/ui/Toolbar/DropdownTriggerWrapper.js +1 -1
- package/dist/cjs/ui/Toolbar/DropdownWrapper.compiled.css +1 -2
- package/dist/cjs/ui/Toolbar/DropdownWrapper.js +1 -1
- package/dist/cjs/ui/Toolbar/ExpandIcon.js +1 -1
- package/dist/cjs/ui/Toolbar/Separator.js +1 -1
- package/dist/es2019/ai-messages/ai-config-items.js +5 -0
- package/dist/es2019/analytics/types/enums.js +6 -0
- package/dist/es2019/element-browser/components/ViewMore.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 +4 -3
- package/dist/es2019/toolbar/EditorToolbarUIProvider.js +7 -3
- 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/es2019/ui/Shortcut/index.js +1 -1
- package/dist/es2019/ui/Toolbar/ButtonGroup.js +1 -1
- package/dist/es2019/ui/Toolbar/DropdownTriggerWrapper.js +1 -1
- package/dist/es2019/ui/Toolbar/DropdownWrapper.compiled.css +1 -2
- package/dist/es2019/ui/Toolbar/DropdownWrapper.js +1 -1
- package/dist/es2019/ui/Toolbar/ExpandIcon.js +1 -1
- package/dist/es2019/ui/Toolbar/Separator.js +1 -1
- package/dist/esm/ai-messages/ai-config-items.js +5 -0
- package/dist/esm/analytics/types/enums.js +6 -0
- package/dist/esm/element-browser/components/ViewMore.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/toolbar/EditorToolbarUIProvider.js +7 -3
- 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/esm/ui/Shortcut/index.js +1 -1
- package/dist/esm/ui/Toolbar/ButtonGroup.js +1 -1
- package/dist/esm/ui/Toolbar/DropdownTriggerWrapper.js +1 -1
- package/dist/esm/ui/Toolbar/DropdownWrapper.compiled.css +1 -2
- package/dist/esm/ui/Toolbar/DropdownWrapper.js +1 -1
- package/dist/esm/ui/Toolbar/ExpandIcon.js +1 -1
- package/dist/esm/ui/Toolbar/Separator.js +1 -1
- package/dist/types/ai-messages/ai-config-items.d.ts +5 -0
- package/dist/types/analytics/types/enums.d.ts +7 -1
- package/dist/types/analytics/types/general-events.d.ts +11 -1
- package/dist/types/analytics/types/view-events.d.ts +4 -1
- 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/toolbar/EditorToolbarUIProvider.d.ts +2 -2
- 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/analytics/types/enums.d.ts +7 -1
- package/dist/types-ts4.5/analytics/types/general-events.d.ts +11 -1
- package/dist/types-ts4.5/analytics/types/view-events.d.ts +4 -1
- 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/toolbar/EditorToolbarUIProvider.d.ts +2 -2
- package/dist/types-ts4.5/transforms/list-transforms.d.ts +1 -1
- package/package.json +4 -101
package/dist/esm/i18n/sr_RS.js
CHANGED
|
@@ -338,7 +338,6 @@ export default {
|
|
|
338
338
|
'fabric.editor.annotationToolbar': 'Traka sa alatkama za napomene',
|
|
339
339
|
'fabric.editor.backLink': 'Nazad',
|
|
340
340
|
'fabric.editor.backgroundColor': 'Boja pozadine',
|
|
341
|
-
'fabric.editor.block.menu.code.block': 'Raspored',
|
|
342
341
|
'fabric.editor.block.menu.copy.block': 'Kopiraj blok',
|
|
343
342
|
'fabric.editor.block.menu.copy.link': 'Kopiraj link',
|
|
344
343
|
'fabric.editor.block.menu.delete.block': 'Izbriši',
|
package/dist/esm/i18n/sr_YR.js
CHANGED
|
@@ -338,7 +338,6 @@ export default {
|
|
|
338
338
|
'fabric.editor.annotationToolbar': 'Трака са алаткама за напомене',
|
|
339
339
|
'fabric.editor.backLink': 'Назад',
|
|
340
340
|
'fabric.editor.backgroundColor': 'Боја позадине',
|
|
341
|
-
'fabric.editor.block.menu.code.block': 'Распоред',
|
|
342
341
|
'fabric.editor.block.menu.copy.block': 'Копирај блок',
|
|
343
342
|
'fabric.editor.block.menu.copy.link': 'Копирај линк',
|
|
344
343
|
'fabric.editor.block.menu.delete.block': 'Избриши',
|
package/dist/esm/i18n/sv.js
CHANGED
|
@@ -267,7 +267,6 @@ export default {
|
|
|
267
267
|
'fabric.editor.annotationToolbar': 'Verktygsfält för kommentarer',
|
|
268
268
|
'fabric.editor.backLink': 'Gå tillbaka',
|
|
269
269
|
'fabric.editor.backgroundColor': 'Bakgrundsfärg',
|
|
270
|
-
'fabric.editor.block.menu.code.block': 'Layout',
|
|
271
270
|
'fabric.editor.block.menu.copy.block': 'Kopiera block',
|
|
272
271
|
'fabric.editor.block.menu.copy.link': 'Kopiera länk',
|
|
273
272
|
'fabric.editor.block.menu.delete.block': 'Radera',
|
package/dist/esm/i18n/th.js
CHANGED
|
@@ -253,7 +253,6 @@ export default {
|
|
|
253
253
|
'fabric.editor.annotationToolbar': 'แถบเครื่องมือข้อความหมายเหตุ',
|
|
254
254
|
'fabric.editor.backLink': 'ย้อนกลับ',
|
|
255
255
|
'fabric.editor.backgroundColor': 'สีพื้นหลัง',
|
|
256
|
-
'fabric.editor.block.menu.code.block': 'เค้าโครง',
|
|
257
256
|
'fabric.editor.block.menu.copy.block': 'คัดลอกบล็อก',
|
|
258
257
|
'fabric.editor.block.menu.copy.link': 'คัดลอกลิงก์',
|
|
259
258
|
'fabric.editor.block.menu.delete.block': 'ลบ',
|
package/dist/esm/i18n/tr.js
CHANGED
|
@@ -268,7 +268,6 @@ export default {
|
|
|
268
268
|
'fabric.editor.annotationToolbar': 'Not ekleme araç çubuğu',
|
|
269
269
|
'fabric.editor.backLink': 'Geri dön',
|
|
270
270
|
'fabric.editor.backgroundColor': 'Arkaplan rengi',
|
|
271
|
-
'fabric.editor.block.menu.code.block': 'Yerleşim',
|
|
272
271
|
'fabric.editor.block.menu.copy.block': 'Bloğu kopyala',
|
|
273
272
|
'fabric.editor.block.menu.copy.link': 'Bağlantıyı kopyala',
|
|
274
273
|
'fabric.editor.block.menu.delete.block': 'Sil',
|
package/dist/esm/i18n/uk.js
CHANGED
|
@@ -253,7 +253,6 @@ export default {
|
|
|
253
253
|
'fabric.editor.annotationToolbar': 'Панель приміток',
|
|
254
254
|
'fabric.editor.backLink': 'Назад',
|
|
255
255
|
'fabric.editor.backgroundColor': 'Колір фону',
|
|
256
|
-
'fabric.editor.block.menu.code.block': 'Макет',
|
|
257
256
|
'fabric.editor.block.menu.copy.block': 'Копіювати блок',
|
|
258
257
|
'fabric.editor.block.menu.copy.link': 'Копіювати посилання',
|
|
259
258
|
'fabric.editor.block.menu.delete.block': 'Видалити',
|
package/dist/esm/i18n/vi.js
CHANGED
|
@@ -253,7 +253,6 @@ export default {
|
|
|
253
253
|
'fabric.editor.annotationToolbar': 'Thanh công cụ chú thích',
|
|
254
254
|
'fabric.editor.backLink': 'Quay lại',
|
|
255
255
|
'fabric.editor.backgroundColor': 'Màu nền',
|
|
256
|
-
'fabric.editor.block.menu.code.block': 'Bố cục',
|
|
257
256
|
'fabric.editor.block.menu.copy.block': 'Sao chép khối',
|
|
258
257
|
'fabric.editor.block.menu.copy.link': 'Sao chép liên kết',
|
|
259
258
|
'fabric.editor.block.menu.delete.block': 'Xóa',
|
package/dist/esm/i18n/zh.js
CHANGED
|
@@ -268,7 +268,6 @@ export default {
|
|
|
268
268
|
'fabric.editor.annotationToolbar': '标注工具栏',
|
|
269
269
|
'fabric.editor.backLink': '返回',
|
|
270
270
|
'fabric.editor.backgroundColor': '背景颜色',
|
|
271
|
-
'fabric.editor.block.menu.code.block': '布局',
|
|
272
271
|
'fabric.editor.block.menu.copy.block': '复制区块',
|
|
273
272
|
'fabric.editor.block.menu.copy.link': '复制链接',
|
|
274
273
|
'fabric.editor.block.menu.delete.block': '删除',
|
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -189,6 +189,7 @@ export default {
|
|
|
189
189
|
'fabric.editor.ai.experience-application.rateLimitEnforced': '我們近期收到過多 Atlassian Intelligence (AI) 要求。請在幾分鐘後再試一次,或參閱 <link>AI 使用過量</link>。',
|
|
190
190
|
'fabric.editor.ai.experience-application.tokenLimitExceeded': '我們無法取得回應。您的提示或回應已超過此要求的限制。請關閉對話方塊,然後再試一次。',
|
|
191
191
|
'fabric.editor.ai.experience-application.unhandledErrorMessage': '我們遇到問題。請關閉對話方塊,然後再試一次。',
|
|
192
|
+
'fabric.editor.ai.experience.adfStreamingError': '很抱歉,我們無法取得回應。',
|
|
192
193
|
'fabric.editor.ai.experience.apiError': '我們無法收到回覆,請再試一次。',
|
|
193
194
|
'fabric.editor.ai.experience.aupViolationMessage': '您的提示或內容可能不符合我們的《可接受使用政策》。請檢閱提示和內容,並視需要參閱我們的<link>《可接受使用政策》</link>。如果問題仍然存在,請考慮嘗試不同的提示或內容。',
|
|
194
195
|
'fabric.editor.ai.experience.browseMore.agents': '瀏覽客服人員',
|
|
@@ -196,7 +197,7 @@ export default {
|
|
|
196
197
|
'fabric.editor.ai.experience.cmdPaletteAupViolationMessage': '我們無法完成該要求,因為它不符合我們的<link>可接受使用政策</link>。',
|
|
197
198
|
'fabric.editor.ai.experience.discardMessagePrompt': '您要捨棄提示嗎?',
|
|
198
199
|
'fabric.editor.ai.experience.discardMessageResponse': '您要捨棄回覆嗎?',
|
|
199
|
-
'fabric.editor.ai.experience.discardStreamingInDocumennt': '
|
|
200
|
+
'fabric.editor.ai.experience.discardStreamingInDocumennt': '要取消要求並捨棄回應嗎?',
|
|
200
201
|
'fabric.editor.ai.experience.elevateDisabledGenetateError': '自由生成目前已在 Elevate 中停用。',
|
|
201
202
|
'fabric.editor.ai.experience.engagementBannerLinksText': '🚀 您現在可以在提示中貼上 Jira 和 Confluence 內容的連結 🔗。',
|
|
202
203
|
'fabric.editor.ai.experience.footerRightText.agents': '由 Rovo 提供技術支援',
|
|
@@ -231,6 +232,7 @@ export default {
|
|
|
231
232
|
'fabric.editor.ai.selectionToolbar.define.disabled.tooltip': '突顯術語、縮寫或簡稱',
|
|
232
233
|
'fabric.editor.ai.selectionToolbar.define.title': '定義',
|
|
233
234
|
'fabric.editor.ai.telepointer.rovo': 'Rovo',
|
|
235
|
+
'fabric.editor.ai.toolbar.DefineDropdownIconTitle.title': '定義',
|
|
234
236
|
'fabric.editor.ai.toolbar.askAI.title': '詢問 Atlassian Intelligence',
|
|
235
237
|
'fabric.editor.ai.toolbar.askRovo.title': '詢問 Rovo',
|
|
236
238
|
'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand': "詢問 Rovo {key}+'",
|
|
@@ -268,10 +270,11 @@ export default {
|
|
|
268
270
|
'fabric.editor.annotationToolbar': '註解工具列',
|
|
269
271
|
'fabric.editor.backLink': '返回',
|
|
270
272
|
'fabric.editor.backgroundColor': '背景顏色',
|
|
271
|
-
'fabric.editor.block.menu.
|
|
273
|
+
'fabric.editor.block.menu.codeblock': '程式碼區塊',
|
|
272
274
|
'fabric.editor.block.menu.copy.block': '複製區塊',
|
|
273
275
|
'fabric.editor.block.menu.copy.link': '複製連結',
|
|
274
276
|
'fabric.editor.block.menu.delete.block': '刪除',
|
|
277
|
+
'fabric.editor.block.menu.layout': '版面配置',
|
|
275
278
|
'fabric.editor.block.menu.move.down': '向下移動',
|
|
276
279
|
'fabric.editor.block.menu.move.up': '向上移動',
|
|
277
280
|
'fabric.editor.block.menu.paragraph': '段落',
|
|
@@ -513,6 +516,7 @@ export default {
|
|
|
513
516
|
'fabric.editor.help.description': '瀏覽所有鍵盤快速鍵和 Markdown 選項',
|
|
514
517
|
'fabric.editor.helpDialogTips': '您可以隨時按下 {keyMap} 來快速開啟此對話方塊',
|
|
515
518
|
'fabric.editor.highlight': '醒目提示顏色',
|
|
519
|
+
'fabric.editor.highlight.removeColor': '移除顏色',
|
|
516
520
|
'fabric.editor.highlightColor': '切換醒目提示調色盤',
|
|
517
521
|
'fabric.editor.highlightFloatingToolbar': '醒目提示',
|
|
518
522
|
'fabric.editor.horizontalRule': '分隔線',
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "109.
|
|
10
|
+
var packageVersion = "109.6.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -33,6 +33,9 @@ export var attachGenericProseMirrorMetadata = function attachGenericProseMirrorM
|
|
|
33
33
|
name = _ref3[0],
|
|
34
34
|
value = _ref3[1];
|
|
35
35
|
dom.setAttribute(name, value);
|
|
36
|
+
if (name === 'data-node-anchor' && expValEquals('platform_editor_native_anchor_support', 'isEnabled', true)) {
|
|
37
|
+
dom.style.setProperty('anchor-name', value);
|
|
38
|
+
}
|
|
36
39
|
});
|
|
37
40
|
};
|
|
38
41
|
|
|
@@ -5,6 +5,7 @@ import { css } from '@emotion/react';
|
|
|
5
5
|
import { tableCellContentDomSelector, tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@atlaskit/adf-schema';
|
|
6
6
|
import { akEditorBreakoutPadding, akEditorFullWidthLayoutWidth, akEditorSelectedNodeClassName, akEditorTableBorder, akEditorTableNumberColumnWidth, akEditorTableToolbar, akEditorWideLayoutWidth, overflowShadow } from '@atlaskit/editor-shared-styles';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
9
|
import { browser } from '../../utils/browser';
|
|
9
10
|
import { CodeBlockSharedCssClassName } from './code-block';
|
|
10
11
|
import { tableCellBackgroundStyleOverride } from './tableCell';
|
|
@@ -53,7 +54,7 @@ var firstNodeWithNotMarginTop = function firstNodeWithNotMarginTop() {
|
|
|
53
54
|
|
|
54
55
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Appears safe to auto-fix, but leaving it up to the team to remediate as the readability only gets worse with autofixing
|
|
55
56
|
var tableSharedStyle = function tableSharedStyle() {
|
|
56
|
-
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t", "\n\t.", " {\n\t\tposition: relative;\n\t\tmargin: 0 auto ", ";\n\t\tbox-sizing: border-box;\n\n\t\t/**\n * Fix block top alignment inside table cells.\n */\n\t\t.decisionItemView-content-wrap:first-of-type > div {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.", "[data-number-column='true'] {\n\t\tpadding-left: ", "px;\n\t\tclear: both;\n\t}\n\n\t.", " {\n\t\twill-change: width, margin-left;\n\t}\n\n\t.", " table {\n\t\twill-change: width;\n\t}\n\n\t.", " > table {\n\t\tmargin: ", " 0 0 0;\n\t}\n\n\t.", " > table,\n\t.", " > table {\n\t\tmargin: ", " ", " 0 0;\n\t}\n\n\t/* support panel nested in table */\n\t", "\n\n\t/* avoid applying styles to nested tables (possible via extensions) */\n\t.", " > table,\n\t.", " > table,\n\t.", " > table {\n\t\tborder-collapse: collapse;\n\t\tborder: ", "px solid\n\t\t\t", ";\n\t\ttable-layout: fixed;\n\t\tfont-size: 1em;\n\t\twidth: 100%;\n\n\t\t&[data-autosize='true'] {\n\t\t\ttable-layout: auto;\n\t\t}\n\n\t\t& {\n\t\t\t* {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t}\n\t\t\thr {\n\t\t\t\tbox-sizing: content-box;\n\t\t\t}\n\n\t\t\ttbody {\n\t\t\t\tborder-bottom: none;\n\t\t\t}\n\t\t\tth td {\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\n\
|
|
57
|
+
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t", "\n\t.", " {\n\t\tposition: relative;\n\t\tmargin: 0 auto ", ";\n\t\tbox-sizing: border-box;\n\n\t\t/**\n * Fix block top alignment inside table cells.\n */\n\t\t.decisionItemView-content-wrap:first-of-type > div {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.", "[data-number-column='true'] {\n\t\tpadding-left: ", "px;\n\t\tclear: both;\n\t}\n\n\t.", " {\n\t\twill-change: width, margin-left;\n\t}\n\n\t.", " table {\n\t\twill-change: width;\n\t}\n\n\t.", " > table {\n\t\tmargin: ", " 0 0 0;\n\t}\n\n\t.", " > table,\n\t.", " > table {\n\t\tmargin: ", " ", " 0 0;\n\t}\n\n\t/* support panel nested in table */\n\t", "\n\n\t/* avoid applying styles to nested tables (possible via extensions) */\n\t.", " > table,\n\t.", " > table,\n\t.", " > table {\n\t\tborder-collapse: collapse;\n\t\tborder: ", "px solid\n\t\t\t", ";\n\t\ttable-layout: fixed;\n\t\tfont-size: 1em;\n\t\twidth: 100%;\n\n\t\t&[data-autosize='true'] {\n\t\t\ttable-layout: auto;\n\t\t}\n\n\t\t& {\n\t\t\t* {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t}\n\t\t\thr {\n\t\t\t\tbox-sizing: content-box;\n\t\t\t}\n\n\t\t\ttbody {\n\t\t\t\tborder-bottom: none;\n\t\t\t}\n\t\t\tth td {\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\n\t\t\t> tbody > tr > th,\n\t\t\t> tbody > tr > td {\n\t\t\t\tmin-width: ", "px;\n\t\t\t\tfont-weight: ", ";\n\t\t\t\tvertical-align: top;\n\t\t\t\tborder: 1px solid ", ";\n\t\t\t\tborder-right-width: 0;\n\t\t\t\tborder-bottom-width: 0;\n\n\t\t\t\tpadding: ", ";\n\t\t\t\t/* https://stackoverflow.com/questions/7517127/borders-not-shown-in-firefox-with-border-collapse-on-table-position-relative-o */\n\t\t\t\t", "\n\n\t\t\t\t", "\n\n\t\t\t\tth p:not(:first-of-type),\n\t\t\t\ttd p:not(:first-of-type) {\n\t\t\t\t\tmargin-top: ", ";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t/* Ensures nested tables are compatible with parent table background color - uses specificity to ensure tables nested by extensions are not affected */\n\t\t\t> tbody > tr > td {\n\t\t\t\tbackground-color: ", ";\n\t\t\t}\n\n\t\t\tth {\n\t\t\t\tbackground-color: ", ";\n\t\t\t\ttext-align: left;\n\n\t\t\t\t/* only apply this styling to codeblocks in default background headercells */\n\t\t\t\t/* TODO this needs to be overhauled as it relies on unsafe selectors */\n\t\t\t\t", " {\n\t\t\t\t\t.", ":not(.danger) {\n\t\t\t\t\t\tbackground-color: ", ";\n\n\t\t\t\t\t\t:not(.", ") {\n\t\t\t\t\t\t\tbox-shadow: 0px 0px 0px 1px ", ";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t.", " {\n\t\t\t\t\t\t\tbackground-image: ", ";\n\n\t\t\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t.", " {\n\t\t\t\t\t\t\tbackground-color: ", ";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t/* this is only relevant to the element taken care of by renderer */\n\t\t\t\t\t\t> [data-ds--code--code-block] {\n\t\t\t\t\t\t\tbackground-image: ", "!important;\n\n\t\t\t\t\t\t\tbackground-color: ", "!important;\n\n\t\t\t\t\t\t\t/* selector lives inside @atlaskit/code */\n\t\t\t\t\t\t\t--ds--code--line-number-bg-color: ", ";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n"])), tableCellBackgroundStyleOverride(), TableSharedCssClassName.TABLE_CONTAINER, "var(--ds-space-200, 16px)", TableSharedCssClassName.TABLE_CONTAINER, akEditorTableNumberColumnWidth - 1, TableSharedCssClassName.TABLE_RESIZER_CONTAINER, TableSharedCssClassName.TABLE_RESIZER_CONTAINER, TableSharedCssClassName.TABLE_NODE_WRAPPER, "var(--ds-space-300, 24px)", TableSharedCssClassName.TABLE_CONTAINER, TableSharedCssClassName.TABLE_STICKY_WRAPPER, "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", fg('platform_editor_bordered_panel_nested_in_table') ? ".".concat(TableSharedCssClassName.TABLE_NODE_WRAPPER, " .ak-editor-panel {\n\t\t\tborder: ", "var(--ds-border-width, 1px)", " solid ", "var(--ds-border, #d9dbea)", ";\n\t\t}") : '', TableSharedCssClassName.TABLE_CONTAINER, TableSharedCssClassName.TABLE_NODE_WRAPPER, TableSharedCssClassName.TABLE_STICKY_WRAPPER, tableCellBorderWidth, "var(--ds-background-accent-gray-subtler, ".concat(akEditorTableBorder, ")"), "var(--ds-background-neutral-subtle, white)", tableCellMinWidth, "var(--ds-font-weight-regular, 400)", "var(--ds-background-accent-gray-subtler, ".concat(akEditorTableBorder, ")"), "var(--ds-space-100, 8px)", browser.gecko || browser.ie || browser.mac && browser.chrome ? 'background-clip: padding-box;' : '', firstNodeWithNotMarginTop(), "var(--ds-space-150, 12px)", "var(--ds-surface, #FFFFFF)", "var(--ds-background-accent-gray-subtlest, ".concat(akEditorTableToolbar, ")"), expValEquals('platform_editor_native_anchor_support', 'isEnabled', true) ? '&:not(.danger)' : '&:not([style]):not(.danger)', CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, "var(--ds-surface-raised, rgb(235, 237, 240))", akEditorSelectedNodeClassName, "var(--ds-border, transparent)", CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, overflowShadow({
|
|
57
58
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
58
59
|
}), "var(--ds-background-neutral, rgb(235, 237, 240))", CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER, "var(--ds-background-neutral, rgb(226, 229, 233))", overflowShadow({
|
|
59
60
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
@@ -6,7 +6,8 @@ export var EditorToolbarUIProvider = function EditorToolbarUIProvider(_ref) {
|
|
|
6
6
|
isDisabled = _ref.isDisabled,
|
|
7
7
|
popupsMountPoint = _ref.popupsMountPoint,
|
|
8
8
|
popupsBoundariesElement = _ref.popupsBoundariesElement,
|
|
9
|
-
popupsScrollableElement = _ref.popupsScrollableElement
|
|
9
|
+
popupsScrollableElement = _ref.popupsScrollableElement,
|
|
10
|
+
fireAnalyticsEvent = _ref.fireAnalyticsEvent;
|
|
10
11
|
var onDropdownOpenChanged = useCallback(function (_ref2) {
|
|
11
12
|
var isOpen = _ref2.isOpen;
|
|
12
13
|
if (!isOpen) {
|
|
@@ -14,7 +15,9 @@ export var EditorToolbarUIProvider = function EditorToolbarUIProvider(_ref) {
|
|
|
14
15
|
// Hence, `.focus()` should also be called in requestAnimationFrame
|
|
15
16
|
setTimeout(function () {
|
|
16
17
|
return requestAnimationFrame(function () {
|
|
17
|
-
api === null || api === void 0 || api.core.actions.focus(
|
|
18
|
+
api === null || api === void 0 || api.core.actions.focus({
|
|
19
|
+
scrollIntoView: false
|
|
20
|
+
});
|
|
18
21
|
});
|
|
19
22
|
}, 1);
|
|
20
23
|
}
|
|
@@ -25,6 +28,7 @@ export var EditorToolbarUIProvider = function EditorToolbarUIProvider(_ref) {
|
|
|
25
28
|
isDisabled: isDisabled,
|
|
26
29
|
popupsMountPoint: popupsMountPoint,
|
|
27
30
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
28
|
-
popupsScrollableElement: popupsScrollableElement
|
|
31
|
+
popupsScrollableElement: popupsScrollableElement,
|
|
32
|
+
fireAnalyticsEvent: fireAnalyticsEvent
|
|
29
33
|
}, children);
|
|
30
34
|
};
|
|
@@ -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.6.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* DropdownTriggerWrapper.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* DropdownTriggerWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
import "./DropdownTriggerWrapper.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
._1fvdglyw button:not([disabled]):after{border:none}._18u0idpf{margin-left:0}
|
|
3
3
|
._1e0c1txw{display:flex}
|
|
4
4
|
._1ul91wug{min-width:auto}
|
|
5
|
-
._1xdi1txw >span{display:flex}
|
|
6
5
|
._1ylx1txw >div>div{display:flex}
|
|
7
6
|
._4cvr1h6o{align-items:center}
|
|
8
|
-
._p7r11txw >div{display:flex}
|
|
7
|
+
._p7r11txw >div, ._1xdi1txw >span{display:flex}
|
|
@@ -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;
|
|
@@ -316,7 +316,9 @@ export declare enum ACTION_SUBJECT {
|
|
|
316
316
|
AI_DEFINITIONS = "aiDefinitions",
|
|
317
317
|
USER_PREFERENCES = "userPreferences",
|
|
318
318
|
ALIGNMENT = "alignment",
|
|
319
|
-
OFFLINE_EDITING = "offlineEditing"
|
|
319
|
+
OFFLINE_EDITING = "offlineEditing",
|
|
320
|
+
TOOLBAR_DROPDOWN_MENU = "toolbarDropdownMenu",
|
|
321
|
+
TOOLBAR_DROPDOWN_MENU_ITEM = "toolbarDropdownMenuItem"
|
|
320
322
|
}
|
|
321
323
|
export declare enum ACTION_SUBJECT_ID {
|
|
322
324
|
ACTION = "action",
|
|
@@ -330,6 +332,9 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
330
332
|
AI_PROACTIVE_FEEDBACK_DIALOG = "aiProactiveFeedbackDialog",
|
|
331
333
|
AI_ASK_ROVO_BUTTON = "aiAskRovoButton",
|
|
332
334
|
AI_HERO_PROMPT_BUTTON = "aiHeroPromptButton",
|
|
335
|
+
AI_MORE_ROVO_OPTIONS = "aiMoreRovoOptions",
|
|
336
|
+
AI_TRANSLATE = "aiTranslate",
|
|
337
|
+
AI_CHANGE_TONE = "aiChangeTone",
|
|
333
338
|
ALL = "all",
|
|
334
339
|
ALT_TEXT = "altText",
|
|
335
340
|
ANNOTATE_BUTTON = "annotateButton",
|
|
@@ -475,6 +480,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
475
480
|
MULTI_BODIED_EXTENSION = "multiBodiedExtension",
|
|
476
481
|
UPLOAD_MEDIA = "uploadMedia",
|
|
477
482
|
SELECTION_TOOLBAR_PREFERENCES = "selectionToolbarPreferences",
|
|
483
|
+
SELECTION_TOOLBAR = "selectionToolbar",
|
|
478
484
|
EDITOR_PLUGIN_SELECTION_EXTENSION_DROPDOWN = "editorPluginSelectionExtensionDropdown",
|
|
479
485
|
EDITOR_PLUGIN_SELECTION_EXTENSION_ITEM = "editorPluginSelectionExtensionItem",
|
|
480
486
|
EDITOR_PLUGIN_SELECTION_EXTENSION_COMPONENT = "editorPluginSelectionExtensionComponent"
|
|
@@ -197,5 +197,15 @@ type CopyLinkToAnchorButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.COPY_LINK_TO_ANCHOR
|
|
|
197
197
|
inputMethod: INPUT_METHOD;
|
|
198
198
|
isLivePage?: boolean;
|
|
199
199
|
}>;
|
|
200
|
-
|
|
200
|
+
type RovoMoreOptionsClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.AI_MORE_ROVO_OPTIONS, {
|
|
201
|
+
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
|
|
202
|
+
opened: boolean;
|
|
203
|
+
}>;
|
|
204
|
+
type ChangeToneMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_CHANGE_TONE, {
|
|
205
|
+
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
|
|
206
|
+
}>;
|
|
207
|
+
type TranslateMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_TRANSLATE, {
|
|
208
|
+
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
|
|
209
|
+
}>;
|
|
210
|
+
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | AnnotationErrorAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamplingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP;
|
|
201
211
|
export {};
|
|
@@ -25,4 +25,7 @@ export type ViewDefineButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTO
|
|
|
25
25
|
selectionCharCount: number;
|
|
26
26
|
selectionWordCount: number;
|
|
27
27
|
}, undefined>;
|
|
28
|
-
export type
|
|
28
|
+
export type ViewSelectionToolbarEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.TOOLBAR, ACTION_SUBJECT_ID.SELECTION_TOOLBAR, {
|
|
29
|
+
mode: MODE.EDITOR;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
export type ViewEventPayload = ViewAIRovoButtonEventAEP | ViewAIHeroPromptButtonEventAEP | ViewDefineButtonEventAEP | ViewInlineCommentsButtonEventAEP | ViewSelectionToolbarEventAEP;
|
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;
|