@atlaskit/editor-common 117.2.3 → 117.4.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 +67 -0
- package/analytics/types/quick-insert-events/package.json +10 -0
- package/block-menu/block-transform-extension/package.json +10 -0
- package/dist/cjs/analytics/types/enums.js +2 -0
- package/dist/cjs/analytics/types/quick-insert-events.js +5 -0
- package/dist/cjs/block-menu/block-transform-extension.js +5 -0
- package/dist/cjs/messages/mentions.js +0 -5
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/getQuickInsertMenuItemParents.js +62 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Toolbar/ButtonGroup.compiled.css +3 -3
- package/dist/cjs/ui/Toolbar/ButtonGroup.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +28 -0
- package/dist/cjs/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +75 -0
- package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +60 -0
- package/dist/cjs/ui-color/index.js +7 -0
- package/dist/es2019/analytics/types/enums.js +2 -0
- package/dist/es2019/analytics/types/quick-insert-events.js +1 -0
- package/dist/es2019/block-menu/block-transform-extension.js +1 -0
- package/dist/es2019/messages/mentions.js +0 -5
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/getQuickInsertMenuItemParents.js +40 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Toolbar/ButtonGroup.compiled.css +3 -3
- package/dist/es2019/ui/Toolbar/ButtonGroup.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +21 -0
- package/dist/es2019/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +75 -0
- package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +60 -0
- package/dist/es2019/ui-color/index.js +1 -0
- package/dist/esm/analytics/types/enums.js +2 -0
- package/dist/esm/analytics/types/quick-insert-events.js +1 -0
- package/dist/esm/block-menu/block-transform-extension.js +1 -0
- package/dist/esm/messages/mentions.js +0 -5
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/getQuickInsertMenuItemParents.js +55 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Toolbar/ButtonGroup.compiled.css +3 -3
- package/dist/esm/ui/Toolbar/ButtonGroup.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.js +21 -0
- package/dist/esm/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.js +75 -0
- package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +60 -0
- package/dist/esm/ui-color/index.js +1 -0
- package/dist/types/analytics/types/ai-suggestions-events.d.ts +8 -1
- package/dist/types/analytics/types/enums.d.ts +2 -0
- package/dist/types/analytics/types/events.d.ts +2 -1
- package/dist/types/analytics/types/quick-insert-events.d.ts +41 -0
- package/dist/types/block-menu/block-transform-extension.d.ts +13 -0
- package/dist/types/block-menu/rank-deprecated.d.ts +60 -8
- package/dist/types/block-menu/rank.d.ts +56 -11
- package/dist/types/extensions/types/extension-manifest.d.ts +2 -0
- package/dist/types/messages/mentions.d.ts +0 -5
- package/dist/types/quick-insert/getQuickInsertMenuItemParents.d.ts +11 -0
- package/dist/types/ui-color/ColorPalette/Palettes/cellBackgroundColorPaletteNew.d.ts +8 -0
- package/dist/types/ui-color/ColorPalette/Palettes/lightBackgroundPaletteTooltipMessages.d.ts +75 -0
- package/dist/types/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +60 -0
- package/dist/types/ui-color/index.d.ts +1 -0
- package/package.json +5 -5
- package/quick-insert/get-menu-item-parents/package.json +10 -0
- package/tsconfig.json +5 -14
|
@@ -15,6 +15,11 @@ export const lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Bold blue',
|
|
16
16
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold blue color option.'
|
|
17
17
|
},
|
|
18
|
+
'#ADCBFB': {
|
|
19
|
+
id: 'fabric.theme.bold-blue-new',
|
|
20
|
+
defaultMessage: 'Bold blue',
|
|
21
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold blue color option.'
|
|
22
|
+
},
|
|
18
23
|
'#E6FCFF': {
|
|
19
24
|
id: 'fabric.theme.subtle-teal',
|
|
20
25
|
defaultMessage: 'Subtle teal',
|
|
@@ -30,6 +35,11 @@ export const lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
30
35
|
defaultMessage: 'Bold teal',
|
|
31
36
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold teal color option.'
|
|
32
37
|
},
|
|
38
|
+
'#B1E4F7': {
|
|
39
|
+
id: 'fabric.theme.bold-teal-new',
|
|
40
|
+
defaultMessage: 'Bold teal',
|
|
41
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold teal color option.'
|
|
42
|
+
},
|
|
33
43
|
'#E3FCEF': {
|
|
34
44
|
id: 'fabric.theme.subtle-green',
|
|
35
45
|
defaultMessage: 'Subtle green',
|
|
@@ -45,6 +55,11 @@ export const lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
45
55
|
defaultMessage: 'Bold green',
|
|
46
56
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold green color option.'
|
|
47
57
|
},
|
|
58
|
+
'#97EDC9': {
|
|
59
|
+
id: 'fabric.theme.bold-green-new',
|
|
60
|
+
defaultMessage: 'Bold green',
|
|
61
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold green color option.'
|
|
62
|
+
},
|
|
48
63
|
'#FFFAE6': {
|
|
49
64
|
id: 'fabric.theme.subtle-yellow',
|
|
50
65
|
defaultMessage: 'Subtle yellow',
|
|
@@ -80,6 +95,11 @@ export const lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
80
95
|
defaultMessage: 'Bold red',
|
|
81
96
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold red color option.'
|
|
82
97
|
},
|
|
98
|
+
'#FFB8B2': {
|
|
99
|
+
id: 'fabric.theme.bold-red-new',
|
|
100
|
+
defaultMessage: 'Bold red',
|
|
101
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold red color option.'
|
|
102
|
+
},
|
|
83
103
|
'#EAE6FF': {
|
|
84
104
|
id: 'fabric.theme.subtle-purple',
|
|
85
105
|
defaultMessage: 'Subtle purple',
|
|
@@ -95,6 +115,11 @@ export const lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
95
115
|
defaultMessage: 'Bold purple',
|
|
96
116
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold purple color option.'
|
|
97
117
|
},
|
|
118
|
+
'#E3BDFA': {
|
|
119
|
+
id: 'fabric.theme.bold-purple-new',
|
|
120
|
+
defaultMessage: 'Bold purple',
|
|
121
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold purple color option.'
|
|
122
|
+
},
|
|
98
123
|
'#FFFFFF': {
|
|
99
124
|
id: 'fabric.theme.white',
|
|
100
125
|
defaultMessage: 'White',
|
|
@@ -109,5 +134,55 @@ export const lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
109
134
|
id: 'fabric.theme.bold-gray',
|
|
110
135
|
defaultMessage: 'Bold gray',
|
|
111
136
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold gray color option.'
|
|
137
|
+
},
|
|
138
|
+
'#B7B9BE': {
|
|
139
|
+
id: 'fabric.theme.bold-gray-new',
|
|
140
|
+
defaultMessage: 'Bold gray',
|
|
141
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold gray color option.'
|
|
142
|
+
},
|
|
143
|
+
'#EFFFD6': {
|
|
144
|
+
id: 'fabric.theme.subtle-lime',
|
|
145
|
+
defaultMessage: 'Subtle lime',
|
|
146
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle lime color option.'
|
|
147
|
+
},
|
|
148
|
+
'#D3F1A7': {
|
|
149
|
+
id: 'fabric.theme.lime',
|
|
150
|
+
defaultMessage: 'Lime',
|
|
151
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the lime color option.'
|
|
152
|
+
},
|
|
153
|
+
'#BDE97C': {
|
|
154
|
+
id: 'fabric.theme.bold-lime',
|
|
155
|
+
defaultMessage: 'Bold lime',
|
|
156
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold lime color option.'
|
|
157
|
+
},
|
|
158
|
+
'#FFF5DB': {
|
|
159
|
+
id: 'fabric.theme.subtle-orange',
|
|
160
|
+
defaultMessage: 'Subtle orange',
|
|
161
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle orange color option.'
|
|
162
|
+
},
|
|
163
|
+
'#FCE4A6': {
|
|
164
|
+
id: 'fabric.theme.orange',
|
|
165
|
+
defaultMessage: 'Orange',
|
|
166
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the orange color option.'
|
|
167
|
+
},
|
|
168
|
+
'#FBD779': {
|
|
169
|
+
id: 'fabric.theme.bold-orange',
|
|
170
|
+
defaultMessage: 'Bold orange',
|
|
171
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold orange color option.'
|
|
172
|
+
},
|
|
173
|
+
'#FFECF8': {
|
|
174
|
+
id: 'fabric.theme.subtle-magenta',
|
|
175
|
+
defaultMessage: 'Subtle magenta',
|
|
176
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle magenta color option.'
|
|
177
|
+
},
|
|
178
|
+
'#FDD0EC': {
|
|
179
|
+
id: 'fabric.theme.magenta',
|
|
180
|
+
defaultMessage: 'Magenta',
|
|
181
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the magenta color option.'
|
|
182
|
+
},
|
|
183
|
+
'#FCB6E1': {
|
|
184
|
+
id: 'fabric.theme.bold-magenta',
|
|
185
|
+
defaultMessage: 'Bold magenta',
|
|
186
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold magenta color option.'
|
|
112
187
|
}
|
|
113
188
|
});
|
|
@@ -150,6 +150,66 @@ const _default_1 = defineMessages({
|
|
|
150
150
|
defaultMessage: 'Bold gray',
|
|
151
151
|
description: 'Tooltip label for the bold gray color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
152
152
|
},
|
|
153
|
+
'subtle-lime': {
|
|
154
|
+
id: 'fabric.theme.subtle-lime',
|
|
155
|
+
defaultMessage: 'Subtle lime',
|
|
156
|
+
description: 'Tooltip label for the subtle lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
157
|
+
},
|
|
158
|
+
'bold-lime': {
|
|
159
|
+
id: 'fabric.theme.bold-lime',
|
|
160
|
+
defaultMessage: 'Bold lime',
|
|
161
|
+
description: 'Tooltip label for the bold lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
162
|
+
},
|
|
163
|
+
'subtle-orange': {
|
|
164
|
+
id: 'fabric.theme.subtle-orange',
|
|
165
|
+
defaultMessage: 'Subtle orange',
|
|
166
|
+
description: 'Tooltip label for the subtle orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
167
|
+
},
|
|
168
|
+
'bold-orange': {
|
|
169
|
+
id: 'fabric.theme.bold-orange',
|
|
170
|
+
defaultMessage: 'Bold orange',
|
|
171
|
+
description: 'Tooltip label for the bold orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
172
|
+
},
|
|
173
|
+
'subtle-magenta': {
|
|
174
|
+
id: 'fabric.theme.subtle-magenta',
|
|
175
|
+
defaultMessage: 'Subtle magenta',
|
|
176
|
+
description: 'Tooltip label for the subtle magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
177
|
+
},
|
|
178
|
+
'bold-magenta': {
|
|
179
|
+
id: 'fabric.theme.bold-magenta',
|
|
180
|
+
defaultMessage: 'Bold magenta',
|
|
181
|
+
description: 'Tooltip label for the bold magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
182
|
+
},
|
|
183
|
+
'bold-blue': {
|
|
184
|
+
id: 'fabric.theme.bold-blue',
|
|
185
|
+
defaultMessage: 'Bold blue',
|
|
186
|
+
description: 'Tooltip label for the bold blue color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
187
|
+
},
|
|
188
|
+
'bold-teal': {
|
|
189
|
+
id: 'fabric.theme.bold-teal',
|
|
190
|
+
defaultMessage: 'Bold teal',
|
|
191
|
+
description: 'Tooltip label for the bold teal color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
192
|
+
},
|
|
193
|
+
'bold-green': {
|
|
194
|
+
id: 'fabric.theme.bold-green',
|
|
195
|
+
defaultMessage: 'Bold green',
|
|
196
|
+
description: 'Tooltip label for the bold green color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
197
|
+
},
|
|
198
|
+
'bold-yellow': {
|
|
199
|
+
id: 'fabric.theme.bold-yellow',
|
|
200
|
+
defaultMessage: 'Bold yellow',
|
|
201
|
+
description: 'Tooltip label for the bold yellow color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
202
|
+
},
|
|
203
|
+
'bold-red': {
|
|
204
|
+
id: 'fabric.theme.bold-red',
|
|
205
|
+
defaultMessage: 'Bold red',
|
|
206
|
+
description: 'Tooltip label for the bold red color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
207
|
+
},
|
|
208
|
+
'bold-purple': {
|
|
209
|
+
id: 'fabric.theme.bold-purple',
|
|
210
|
+
defaultMessage: 'Bold purple',
|
|
211
|
+
description: 'Tooltip label for the bold purple color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
212
|
+
},
|
|
153
213
|
// Colors only used in highlight palette
|
|
154
214
|
'no-color': {
|
|
155
215
|
id: 'fabric.theme.no-color',
|
|
@@ -10,6 +10,7 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
|
|
|
10
10
|
export { getHighlightColorInNonActiveTheme } from './ColorPalette/getHighlightColorInNonActiveTheme';
|
|
11
11
|
export { getTextColorInNonActiveTheme } from './ColorPalette/getTextColorInNonActiveTheme';
|
|
12
12
|
export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
|
|
13
|
+
export { default as cellBackgroundColorPaletteNew } from './ColorPalette/Palettes/cellBackgroundColorPaletteNew';
|
|
13
14
|
export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
|
|
14
15
|
export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
15
16
|
export { panelBackgroundPaletteNew } from './ColorPalette/Palettes/panelBackgroundPaletteNew';
|
|
@@ -110,6 +110,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
110
110
|
ACTION["PASTED_AS_PLAIN"] = "pastedAsPlain";
|
|
111
111
|
ACTION["PASTED_TIMED"] = "pastedTimed";
|
|
112
112
|
ACTION["PRESSED"] = "pressed";
|
|
113
|
+
ACTION["QUICK_INSERT_INFORMATION"] = "quickInsertInformation";
|
|
113
114
|
ACTION["PROSEMIRROR_RENDERED"] = "proseMirrorRendered";
|
|
114
115
|
ACTION["REACT_NODEVIEW_RENDERED"] = "reactNodeViewRendered";
|
|
115
116
|
ACTION["REFERENCE_SYNCED_BLOCK_DELETE"] = "referenceSyncedBlockDelete";
|
|
@@ -404,6 +405,7 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
|
|
|
404
405
|
ACTION_SUBJECT["BLOCK_MENU"] = "blockMenu";
|
|
405
406
|
ACTION_SUBJECT["BLOCK_MENU_ITEM"] = "blockMenuItem";
|
|
406
407
|
ACTION_SUBJECT["PASTE_ACTIONS_MENU"] = "pasteActionsMenu";
|
|
408
|
+
ACTION_SUBJECT["QUICK_INSERT"] = "quickInsert";
|
|
407
409
|
ACTION_SUBJECT["SYNCED_BLOCK"] = "syncedBlock";
|
|
408
410
|
ACTION_SUBJECT["NATIVE_EMBED"] = "nativeEmbed";
|
|
409
411
|
ACTION_SUBJECT["NATIVE_EMBED_FALLBACK"] = "nativeEmbedFallback";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -35,11 +35,6 @@ export var mentionMessages = defineMessages({
|
|
|
35
35
|
defaultMessage: 'Send request to invite teammate',
|
|
36
36
|
description: 'By line text for send request to invite teammate option shown in mentions.'
|
|
37
37
|
},
|
|
38
|
-
inviteButton: {
|
|
39
|
-
id: 'fabric.editor.inviteItem.inviteButton',
|
|
40
|
-
defaultMessage: 'Invite',
|
|
41
|
-
description: 'Label for the invite button shown in the mention typeahead invite item.'
|
|
42
|
-
},
|
|
43
38
|
typeAheadSectionPeople: {
|
|
44
39
|
id: 'fabric.editor.typeAhead.mentionSection.people',
|
|
45
40
|
defaultMessage: 'People',
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "117.
|
|
23
|
+
var packageVersion = "117.3.0";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// Ignored via go/ees007
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
5
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
6
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
|
+
import { BLOCK_TEMPLATES_SECTION, DATA_AND_CHARTS_SECTION, EMBED_SECTION, MEDIA_SECTION, OTHER_SECTION, ROVO_SECTION, STRUCTURE_SECTION, TEXT_FORMATTING_SECTION } from './keys';
|
|
8
|
+
var categorySections = {
|
|
9
|
+
admin: STRUCTURE_SECTION,
|
|
10
|
+
ai: ROVO_SECTION,
|
|
11
|
+
'block-templates': BLOCK_TEMPLATES_SECTION,
|
|
12
|
+
communication: MEDIA_SECTION,
|
|
13
|
+
'confluence-content': STRUCTURE_SECTION,
|
|
14
|
+
'data-and-charts': DATA_AND_CHARTS_SECTION,
|
|
15
|
+
development: DATA_AND_CHARTS_SECTION,
|
|
16
|
+
embed: EMBED_SECTION,
|
|
17
|
+
'external-content': EMBED_SECTION,
|
|
18
|
+
formatting: STRUCTURE_SECTION,
|
|
19
|
+
media: MEDIA_SECTION,
|
|
20
|
+
navigation: STRUCTURE_SECTION,
|
|
21
|
+
other: OTHER_SECTION,
|
|
22
|
+
reporting: DATA_AND_CHARTS_SECTION,
|
|
23
|
+
skills: ROVO_SECTION,
|
|
24
|
+
structure: STRUCTURE_SECTION,
|
|
25
|
+
'text-formatting': TEXT_FORMATTING_SECTION,
|
|
26
|
+
visuals: MEDIA_SECTION
|
|
27
|
+
};
|
|
28
|
+
export var getQuickInsertMenuItemParents = function getQuickInsertMenuItemParents(_ref) {
|
|
29
|
+
var categories = _ref.categories,
|
|
30
|
+
rank = _ref.rank;
|
|
31
|
+
var sections = new Map();
|
|
32
|
+
var _iterator = _createForOfIteratorHelper(categories !== null && categories !== void 0 ? categories : []),
|
|
33
|
+
_step;
|
|
34
|
+
try {
|
|
35
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
36
|
+
var category = _step.value;
|
|
37
|
+
var section = categorySections[category.trim().toLowerCase()];
|
|
38
|
+
if (section) {
|
|
39
|
+
sections.set(section.key, section);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
} catch (err) {
|
|
43
|
+
_iterator.e(err);
|
|
44
|
+
} finally {
|
|
45
|
+
_iterator.f();
|
|
46
|
+
}
|
|
47
|
+
if (sections.size === 0) {
|
|
48
|
+
sections.set(OTHER_SECTION.key, OTHER_SECTION);
|
|
49
|
+
}
|
|
50
|
+
return Array.from(sections.values(), function (section) {
|
|
51
|
+
return _objectSpread(_objectSpread({}, section), {}, {
|
|
52
|
+
rank: rank
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
};
|
|
@@ -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 = "117.
|
|
24
|
+
var packageVersion = "117.3.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
._1p8dglyw button:not(#local-media-upload-button):not([disabled]):after{border:none}
|
|
2
2
|
._89rs1b66 div[role=group]{gap:var(--ds-space-050,4px)}
|
|
3
|
-
._zulp1b66{gap:var(--ds-space-050,4px)}.
|
|
4
|
-
.
|
|
5
|
-
.
|
|
3
|
+
._zulp1b66{gap:var(--ds-space-050,4px)}._1e0c116y{display:inline-flex}
|
|
4
|
+
._4cvr1h6o{align-items:center}
|
|
5
|
+
._sox11txw>div:not(:where([popover],dialog)){display:flex}
|
|
@@ -9,6 +9,6 @@ var buttonGroupStyleUnbounded = null;
|
|
|
9
9
|
export function ToolbarButtonGroup(_ref) {
|
|
10
10
|
var children = _ref.children;
|
|
11
11
|
return /*#__PURE__*/React.createElement("span", {
|
|
12
|
-
className: ax(["_zulp1b66 _1e0c116y _4cvr1h6o", "
|
|
12
|
+
className: ax(["_zulp1b66 _1e0c116y _4cvr1h6o", "_sox11txw _1p8dglyw _89rs1b66"])
|
|
13
13
|
}, children);
|
|
14
14
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { tableBackgroundBorderColor, tableBackgroundColorPaletteNew } from '@atlaskit/adf-schema/tableNodes';
|
|
2
|
+
import getColorMessage from './getColorMessage';
|
|
3
|
+
import paletteMessages from './paletteMessages';
|
|
4
|
+
/**
|
|
5
|
+
* Expanded 10-column (30-entry) UI palette that adds lime, orange, and magenta columns
|
|
6
|
+
* and updates the bold row to use `subtler.hovered` design tokens.
|
|
7
|
+
* This is a superset of the default {@link cellBackgroundColorPalette}.
|
|
8
|
+
*/
|
|
9
|
+
var cellBackgroundColorPaletteNew = [];
|
|
10
|
+
tableBackgroundColorPaletteNew.forEach(function (label, color) {
|
|
11
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
|
|
12
|
+
var key = label.toLowerCase().replace(' ', '-');
|
|
13
|
+
var message = getColorMessage(paletteMessages, key);
|
|
14
|
+
cellBackgroundColorPaletteNew.push({
|
|
15
|
+
value: color,
|
|
16
|
+
label: label,
|
|
17
|
+
border: tableBackgroundBorderColor,
|
|
18
|
+
message: message
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
export default cellBackgroundColorPaletteNew;
|
|
@@ -15,6 +15,11 @@ export var lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Bold blue',
|
|
16
16
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold blue color option.'
|
|
17
17
|
},
|
|
18
|
+
'#ADCBFB': {
|
|
19
|
+
id: 'fabric.theme.bold-blue-new',
|
|
20
|
+
defaultMessage: 'Bold blue',
|
|
21
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold blue color option.'
|
|
22
|
+
},
|
|
18
23
|
'#E6FCFF': {
|
|
19
24
|
id: 'fabric.theme.subtle-teal',
|
|
20
25
|
defaultMessage: 'Subtle teal',
|
|
@@ -30,6 +35,11 @@ export var lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
30
35
|
defaultMessage: 'Bold teal',
|
|
31
36
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold teal color option.'
|
|
32
37
|
},
|
|
38
|
+
'#B1E4F7': {
|
|
39
|
+
id: 'fabric.theme.bold-teal-new',
|
|
40
|
+
defaultMessage: 'Bold teal',
|
|
41
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold teal color option.'
|
|
42
|
+
},
|
|
33
43
|
'#E3FCEF': {
|
|
34
44
|
id: 'fabric.theme.subtle-green',
|
|
35
45
|
defaultMessage: 'Subtle green',
|
|
@@ -45,6 +55,11 @@ export var lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
45
55
|
defaultMessage: 'Bold green',
|
|
46
56
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold green color option.'
|
|
47
57
|
},
|
|
58
|
+
'#97EDC9': {
|
|
59
|
+
id: 'fabric.theme.bold-green-new',
|
|
60
|
+
defaultMessage: 'Bold green',
|
|
61
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold green color option.'
|
|
62
|
+
},
|
|
48
63
|
'#FFFAE6': {
|
|
49
64
|
id: 'fabric.theme.subtle-yellow',
|
|
50
65
|
defaultMessage: 'Subtle yellow',
|
|
@@ -80,6 +95,11 @@ export var lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
80
95
|
defaultMessage: 'Bold red',
|
|
81
96
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold red color option.'
|
|
82
97
|
},
|
|
98
|
+
'#FFB8B2': {
|
|
99
|
+
id: 'fabric.theme.bold-red-new',
|
|
100
|
+
defaultMessage: 'Bold red',
|
|
101
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold red color option.'
|
|
102
|
+
},
|
|
83
103
|
'#EAE6FF': {
|
|
84
104
|
id: 'fabric.theme.subtle-purple',
|
|
85
105
|
defaultMessage: 'Subtle purple',
|
|
@@ -95,6 +115,11 @@ export var lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
95
115
|
defaultMessage: 'Bold purple',
|
|
96
116
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold purple color option.'
|
|
97
117
|
},
|
|
118
|
+
'#E3BDFA': {
|
|
119
|
+
id: 'fabric.theme.bold-purple-new',
|
|
120
|
+
defaultMessage: 'Bold purple',
|
|
121
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold purple color option.'
|
|
122
|
+
},
|
|
98
123
|
'#FFFFFF': {
|
|
99
124
|
id: 'fabric.theme.white',
|
|
100
125
|
defaultMessage: 'White',
|
|
@@ -109,5 +134,55 @@ export var lightBackgroundPaletteTooltipMessages = defineMessages({
|
|
|
109
134
|
id: 'fabric.theme.bold-gray',
|
|
110
135
|
defaultMessage: 'Bold gray',
|
|
111
136
|
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold gray color option.'
|
|
137
|
+
},
|
|
138
|
+
'#B7B9BE': {
|
|
139
|
+
id: 'fabric.theme.bold-gray-new',
|
|
140
|
+
defaultMessage: 'Bold gray',
|
|
141
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold gray color option.'
|
|
142
|
+
},
|
|
143
|
+
'#EFFFD6': {
|
|
144
|
+
id: 'fabric.theme.subtle-lime',
|
|
145
|
+
defaultMessage: 'Subtle lime',
|
|
146
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle lime color option.'
|
|
147
|
+
},
|
|
148
|
+
'#D3F1A7': {
|
|
149
|
+
id: 'fabric.theme.lime',
|
|
150
|
+
defaultMessage: 'Lime',
|
|
151
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the lime color option.'
|
|
152
|
+
},
|
|
153
|
+
'#BDE97C': {
|
|
154
|
+
id: 'fabric.theme.bold-lime',
|
|
155
|
+
defaultMessage: 'Bold lime',
|
|
156
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold lime color option.'
|
|
157
|
+
},
|
|
158
|
+
'#FFF5DB': {
|
|
159
|
+
id: 'fabric.theme.subtle-orange',
|
|
160
|
+
defaultMessage: 'Subtle orange',
|
|
161
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle orange color option.'
|
|
162
|
+
},
|
|
163
|
+
'#FCE4A6': {
|
|
164
|
+
id: 'fabric.theme.orange',
|
|
165
|
+
defaultMessage: 'Orange',
|
|
166
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the orange color option.'
|
|
167
|
+
},
|
|
168
|
+
'#FBD779': {
|
|
169
|
+
id: 'fabric.theme.bold-orange',
|
|
170
|
+
defaultMessage: 'Bold orange',
|
|
171
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold orange color option.'
|
|
172
|
+
},
|
|
173
|
+
'#FFECF8': {
|
|
174
|
+
id: 'fabric.theme.subtle-magenta',
|
|
175
|
+
defaultMessage: 'Subtle magenta',
|
|
176
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the subtle magenta color option.'
|
|
177
|
+
},
|
|
178
|
+
'#FDD0EC': {
|
|
179
|
+
id: 'fabric.theme.magenta',
|
|
180
|
+
defaultMessage: 'Magenta',
|
|
181
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the magenta color option.'
|
|
182
|
+
},
|
|
183
|
+
'#FCB6E1': {
|
|
184
|
+
id: 'fabric.theme.bold-magenta',
|
|
185
|
+
defaultMessage: 'Bold magenta',
|
|
186
|
+
description: 'The text is shown as a tooltip label for a color swatch in the editor background color picker when the user hovers over the bold magenta color option.'
|
|
112
187
|
}
|
|
113
188
|
});
|
|
@@ -150,6 +150,66 @@ var _default_1 = defineMessages({
|
|
|
150
150
|
defaultMessage: 'Bold gray',
|
|
151
151
|
description: 'Tooltip label for the bold gray color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
152
152
|
},
|
|
153
|
+
'subtle-lime': {
|
|
154
|
+
id: 'fabric.theme.subtle-lime',
|
|
155
|
+
defaultMessage: 'Subtle lime',
|
|
156
|
+
description: 'Tooltip label for the subtle lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
157
|
+
},
|
|
158
|
+
'bold-lime': {
|
|
159
|
+
id: 'fabric.theme.bold-lime',
|
|
160
|
+
defaultMessage: 'Bold lime',
|
|
161
|
+
description: 'Tooltip label for the bold lime color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
162
|
+
},
|
|
163
|
+
'subtle-orange': {
|
|
164
|
+
id: 'fabric.theme.subtle-orange',
|
|
165
|
+
defaultMessage: 'Subtle orange',
|
|
166
|
+
description: 'Tooltip label for the subtle orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
167
|
+
},
|
|
168
|
+
'bold-orange': {
|
|
169
|
+
id: 'fabric.theme.bold-orange',
|
|
170
|
+
defaultMessage: 'Bold orange',
|
|
171
|
+
description: 'Tooltip label for the bold orange color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
172
|
+
},
|
|
173
|
+
'subtle-magenta': {
|
|
174
|
+
id: 'fabric.theme.subtle-magenta',
|
|
175
|
+
defaultMessage: 'Subtle magenta',
|
|
176
|
+
description: 'Tooltip label for the subtle magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
177
|
+
},
|
|
178
|
+
'bold-magenta': {
|
|
179
|
+
id: 'fabric.theme.bold-magenta',
|
|
180
|
+
defaultMessage: 'Bold magenta',
|
|
181
|
+
description: 'Tooltip label for the bold magenta color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
182
|
+
},
|
|
183
|
+
'bold-blue': {
|
|
184
|
+
id: 'fabric.theme.bold-blue',
|
|
185
|
+
defaultMessage: 'Bold blue',
|
|
186
|
+
description: 'Tooltip label for the bold blue color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
187
|
+
},
|
|
188
|
+
'bold-teal': {
|
|
189
|
+
id: 'fabric.theme.bold-teal',
|
|
190
|
+
defaultMessage: 'Bold teal',
|
|
191
|
+
description: 'Tooltip label for the bold teal color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
192
|
+
},
|
|
193
|
+
'bold-green': {
|
|
194
|
+
id: 'fabric.theme.bold-green',
|
|
195
|
+
defaultMessage: 'Bold green',
|
|
196
|
+
description: 'Tooltip label for the bold green color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
197
|
+
},
|
|
198
|
+
'bold-yellow': {
|
|
199
|
+
id: 'fabric.theme.bold-yellow',
|
|
200
|
+
defaultMessage: 'Bold yellow',
|
|
201
|
+
description: 'Tooltip label for the bold yellow color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
202
|
+
},
|
|
203
|
+
'bold-red': {
|
|
204
|
+
id: 'fabric.theme.bold-red',
|
|
205
|
+
defaultMessage: 'Bold red',
|
|
206
|
+
description: 'Tooltip label for the bold red color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
207
|
+
},
|
|
208
|
+
'bold-purple': {
|
|
209
|
+
id: 'fabric.theme.bold-purple',
|
|
210
|
+
defaultMessage: 'Bold purple',
|
|
211
|
+
description: 'Tooltip label for the bold purple color swatch displayed in the editor toolbar color palette when users select text or highlight colors.'
|
|
212
|
+
},
|
|
153
213
|
// Colors only used in highlight palette
|
|
154
214
|
'no-color': {
|
|
155
215
|
id: 'fabric.theme.no-color',
|
|
@@ -10,6 +10,7 @@ export { DEFAULT_COLOR_PICKER_COLUMNS, getColorsPerRowFromPalette, getSelectedRo
|
|
|
10
10
|
export { getHighlightColorInNonActiveTheme } from './ColorPalette/getHighlightColorInNonActiveTheme';
|
|
11
11
|
export { getTextColorInNonActiveTheme } from './ColorPalette/getTextColorInNonActiveTheme';
|
|
12
12
|
export { default as cellBackgroundColorPalette } from './ColorPalette/Palettes/cellBackgroundColorPalette';
|
|
13
|
+
export { default as cellBackgroundColorPaletteNew } from './ColorPalette/Palettes/cellBackgroundColorPaletteNew';
|
|
13
14
|
export { default as colorPaletteMessages } from './ColorPalette/Palettes/paletteMessages';
|
|
14
15
|
export { panelBackgroundPalette } from './ColorPalette/Palettes/panelBackgroundPalette';
|
|
15
16
|
export { panelBackgroundPaletteNew } from './ColorPalette/Palettes/panelBackgroundPaletteNew';
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
2
|
import type { OperationalAEP, TrackAEP } from './utils';
|
|
3
|
-
export type AiSuggestionsEntryPoint = 'primaryToolbar' | 'commentsEmptyState' | 'objectSidebarControl'
|
|
3
|
+
export type AiSuggestionsEntryPoint = 'primaryToolbar' | 'commentsEmptyState' | 'objectSidebarControl'
|
|
4
|
+
/**
|
|
5
|
+
* Generation started automatically because a suggestions surface was opened
|
|
6
|
+
* with nothing to show — no explicit user action. Kept distinct from
|
|
7
|
+
* `commentsEmptyState` (the "Review" button in that empty state) so the two
|
|
8
|
+
* can be told apart in analytics.
|
|
9
|
+
*/
|
|
10
|
+
| 'suggestionsPanelMount';
|
|
4
11
|
export type AiSuggestionInteractionPoint = 'sidebar' | 'card' | 'statusBar';
|
|
5
12
|
export type AiSuggestionsConversationErrorReason = 'agentDeactivated' | 'conversationSetup' | 'streamError';
|
|
6
13
|
type NoDiffSuggestionAEP = OperationalAEP<ACTION.NO_DIFF_FOUND, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
|
|
@@ -107,6 +107,7 @@ export declare enum ACTION {
|
|
|
107
107
|
PASTED_AS_PLAIN = "pastedAsPlain",
|
|
108
108
|
PASTED_TIMED = "pastedTimed",
|
|
109
109
|
PRESSED = "pressed",
|
|
110
|
+
QUICK_INSERT_INFORMATION = "quickInsertInformation",
|
|
110
111
|
PROSEMIRROR_RENDERED = "proseMirrorRendered",
|
|
111
112
|
REACT_NODEVIEW_RENDERED = "reactNodeViewRendered",
|
|
112
113
|
REFERENCE_SYNCED_BLOCK_DELETE = "referenceSyncedBlockDelete",
|
|
@@ -381,6 +382,7 @@ export declare enum ACTION_SUBJECT {
|
|
|
381
382
|
BLOCK_MENU = "blockMenu",
|
|
382
383
|
BLOCK_MENU_ITEM = "blockMenuItem",
|
|
383
384
|
PASTE_ACTIONS_MENU = "pasteActionsMenu",
|
|
385
|
+
QUICK_INSERT = "quickInsert",
|
|
384
386
|
SYNCED_BLOCK = "syncedBlock",
|
|
385
387
|
NATIVE_EMBED = "nativeEmbed",
|
|
386
388
|
NATIVE_EMBED_FALLBACK = "nativeEmbedFallback"
|
|
@@ -52,6 +52,7 @@ import type { NestedTableActionsEventPayload } from './nested-table-events';
|
|
|
52
52
|
import type { NodeEventPayload } from './node-events';
|
|
53
53
|
import type { OfflineEditingEventPayload } from './offline-editing-event';
|
|
54
54
|
import type { PasteActionsMenuEventPayload, PasteEventPayload } from './paste-events';
|
|
55
|
+
import type { QuickInsertInformationEventPayload } from './quick-insert-events';
|
|
55
56
|
import type { ReferentialityEventPayload } from './referentiality-events';
|
|
56
57
|
import type { SelectionEventPayload } from './selection-events';
|
|
57
58
|
import type { SelectionExtensionEventPayload } from './selection-extension-events';
|
|
@@ -72,7 +73,7 @@ export type SimplifiedNode = {
|
|
|
72
73
|
pos: number;
|
|
73
74
|
type: string;
|
|
74
75
|
};
|
|
75
|
-
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | PasteActionsMenuEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | PreviewItemClickedAEP | OpenLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | ContainerNodeActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AiAutocompleteEventPayload | AiSuggestionsEventPayload | ContextualTypeaheadEventPayload | AIQuickPromptEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | BlockMenuEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | ExperienceEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | AgentEditShimmerNotShownAEP | FloatingToolbarOverflowEventPayload | SyncBlockEventPayload | FloatingToolbarEventPayload;
|
|
76
|
+
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | PasteActionsMenuEventPayload | QuickInsertInformationEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | PreviewItemClickedAEP | OpenLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | ContainerNodeActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AiAutocompleteEventPayload | AiSuggestionsEventPayload | ContextualTypeaheadEventPayload | AIQuickPromptEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | BlockMenuEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | ExperienceEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | AgentEditShimmerNotShownAEP | FloatingToolbarOverflowEventPayload | SyncBlockEventPayload | FloatingToolbarEventPayload;
|
|
76
77
|
type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
|
|
77
78
|
newColor: string;
|
|
78
79
|
previousColor: string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
+
import type { OperationalAEP } from './utils';
|
|
3
|
+
type CategoryInformation = {
|
|
4
|
+
appCount: number;
|
|
5
|
+
};
|
|
6
|
+
export type QuickInsertInformationAttributes = {
|
|
7
|
+
category: {
|
|
8
|
+
blockTemplates: CategoryInformation;
|
|
9
|
+
dataAndCharts: CategoryInformation;
|
|
10
|
+
embed: CategoryInformation;
|
|
11
|
+
media: CategoryInformation;
|
|
12
|
+
other: CategoryInformation;
|
|
13
|
+
rovo: CategoryInformation;
|
|
14
|
+
structure: CategoryInformation;
|
|
15
|
+
textFormatting: CategoryInformation;
|
|
16
|
+
};
|
|
17
|
+
legacyCategory: {
|
|
18
|
+
admin: CategoryInformation;
|
|
19
|
+
ai: CategoryInformation;
|
|
20
|
+
'block-templates': CategoryInformation;
|
|
21
|
+
communication: CategoryInformation;
|
|
22
|
+
'confluence-content': CategoryInformation;
|
|
23
|
+
'data-and-charts': CategoryInformation;
|
|
24
|
+
development: CategoryInformation;
|
|
25
|
+
embed: CategoryInformation;
|
|
26
|
+
'external-content': CategoryInformation;
|
|
27
|
+
formatting: CategoryInformation;
|
|
28
|
+
media: CategoryInformation;
|
|
29
|
+
navigation: CategoryInformation;
|
|
30
|
+
other: CategoryInformation;
|
|
31
|
+
reporting: CategoryInformation;
|
|
32
|
+
skills: CategoryInformation;
|
|
33
|
+
structure: CategoryInformation;
|
|
34
|
+
'text-formatting': CategoryInformation;
|
|
35
|
+
uncategorized: CategoryInformation;
|
|
36
|
+
visuals: CategoryInformation;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export type QuickInsertInformationAEP = OperationalAEP<ACTION.QUICK_INSERT_INFORMATION, ACTION_SUBJECT.QUICK_INSERT, undefined, QuickInsertInformationAttributes>;
|
|
40
|
+
export type QuickInsertInformationEventPayload = QuickInsertInformationAEP;
|
|
41
|
+
export {};
|