@atlaskit/editor-common 100.4.3 → 101.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/ai-messages/package.json +17 -0
  3. package/dist/cjs/ai-messages/ai-config-items.js +489 -0
  4. package/dist/cjs/ai-messages/ai-experience-application.js +131 -0
  5. package/dist/cjs/ai-messages/ai-failed-state.js +56 -0
  6. package/dist/cjs/ai-messages/ai-languages.js +368 -0
  7. package/dist/cjs/ai-messages/ai.js +122 -0
  8. package/dist/cjs/ai-messages/index.js +68 -0
  9. package/dist/cjs/card/index.js +13 -0
  10. package/dist/cjs/card/link-toolbar-button-group-options.js +2 -2
  11. package/dist/cjs/card/link-toolbar-dropdown-options.js +33 -0
  12. package/dist/cjs/element-browser/components/ElementList/EmptyState.js +1 -1
  13. package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +1 -1
  14. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  15. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  16. package/dist/cjs/media/messages/altText.js +5 -0
  17. package/dist/cjs/messages/index.js +0 -28
  18. package/dist/cjs/monitoring/error.js +1 -1
  19. package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +35 -8
  20. package/dist/cjs/selection/gap-cursor/styles.js +1 -1
  21. package/dist/cjs/type-ahead/messages.js +10 -0
  22. package/dist/cjs/ui/DropList/index.js +1 -1
  23. package/dist/cjs/ui/FloatingToolbar/Button.js +5 -2
  24. package/dist/cjs/ui/FloatingToolbar/Separator.js +12 -6
  25. package/dist/cjs/ui-menu/ColorPickerButton/index.js +2 -1
  26. package/dist/es2019/ai-messages/ai-config-items.js +483 -0
  27. package/dist/es2019/ai-messages/ai-experience-application.js +124 -0
  28. package/dist/es2019/ai-messages/ai-failed-state.js +49 -0
  29. package/dist/es2019/ai-messages/ai-languages.js +361 -0
  30. package/dist/es2019/ai-messages/ai.js +116 -0
  31. package/dist/es2019/ai-messages/index.js +12 -0
  32. package/dist/es2019/card/index.js +2 -1
  33. package/dist/es2019/card/link-toolbar-button-group-options.js +1 -1
  34. package/dist/es2019/card/link-toolbar-dropdown-options.js +26 -0
  35. package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -1
  36. package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -1
  37. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  38. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  39. package/dist/es2019/media/messages/altText.js +5 -0
  40. package/dist/es2019/messages/index.js +0 -4
  41. package/dist/es2019/monitoring/error.js +1 -1
  42. package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +34 -8
  43. package/dist/es2019/selection/gap-cursor/styles.js +1 -1
  44. package/dist/es2019/type-ahead/messages.js +10 -0
  45. package/dist/es2019/ui/DropList/index.js +1 -1
  46. package/dist/es2019/ui/FloatingToolbar/Button.js +5 -1
  47. package/dist/es2019/ui/FloatingToolbar/Separator.js +11 -4
  48. package/dist/es2019/ui-menu/ColorPickerButton/index.js +2 -1
  49. package/dist/esm/ai-messages/ai-config-items.js +483 -0
  50. package/dist/esm/ai-messages/ai-experience-application.js +124 -0
  51. package/dist/esm/ai-messages/ai-failed-state.js +49 -0
  52. package/dist/esm/ai-messages/ai-languages.js +361 -0
  53. package/dist/esm/ai-messages/ai.js +116 -0
  54. package/dist/esm/ai-messages/index.js +12 -0
  55. package/dist/esm/card/index.js +2 -1
  56. package/dist/esm/card/link-toolbar-button-group-options.js +1 -1
  57. package/dist/esm/card/link-toolbar-dropdown-options.js +26 -0
  58. package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -1
  59. package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -1
  60. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  61. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  62. package/dist/esm/media/messages/altText.js +5 -0
  63. package/dist/esm/messages/index.js +0 -4
  64. package/dist/esm/monitoring/error.js +1 -1
  65. package/dist/esm/react-node-view/getInlineNodeViewProducer.js +35 -8
  66. package/dist/esm/selection/gap-cursor/styles.js +1 -1
  67. package/dist/esm/type-ahead/messages.js +10 -0
  68. package/dist/esm/ui/DropList/index.js +1 -1
  69. package/dist/esm/ui/FloatingToolbar/Button.js +5 -2
  70. package/dist/esm/ui/FloatingToolbar/Separator.js +12 -6
  71. package/dist/esm/ui-menu/ColorPickerButton/index.js +2 -1
  72. package/dist/types/ai-messages/ai-config-items.d.ts +462 -0
  73. package/dist/types/ai-messages/ai-experience-application.d.ts +122 -0
  74. package/dist/types/ai-messages/ai-failed-state.d.ts +47 -0
  75. package/dist/types/ai-messages/ai-languages.d.ts +357 -0
  76. package/dist/types/ai-messages/ai.d.ts +107 -0
  77. package/dist/types/ai-messages/index.d.ts +9 -0
  78. package/dist/types/card/index.d.ts +2 -1
  79. package/dist/types/card/link-toolbar-button-group-options.d.ts +51 -0
  80. package/dist/types/card/link-toolbar-dropdown-options.d.ts +4 -0
  81. package/dist/types/media/messages/altText.d.ts +5 -0
  82. package/dist/types/messages/index.d.ts +0 -4
  83. package/dist/types/type-ahead/messages.d.ts +10 -0
  84. package/dist/types-ts4.5/ai-messages/ai-config-items.d.ts +462 -0
  85. package/dist/types-ts4.5/ai-messages/ai-experience-application.d.ts +122 -0
  86. package/dist/types-ts4.5/ai-messages/ai-failed-state.d.ts +47 -0
  87. package/dist/types-ts4.5/ai-messages/ai-languages.d.ts +357 -0
  88. package/dist/types-ts4.5/ai-messages/ai.d.ts +107 -0
  89. package/dist/types-ts4.5/ai-messages/index.d.ts +9 -0
  90. package/dist/types-ts4.5/card/index.d.ts +2 -1
  91. package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +51 -0
  92. package/dist/types-ts4.5/card/link-toolbar-dropdown-options.d.ts +4 -0
  93. package/dist/types-ts4.5/media/messages/altText.d.ts +5 -0
  94. package/dist/types-ts4.5/messages/index.d.ts +0 -4
  95. package/dist/types-ts4.5/type-ahead/messages.d.ts +10 -0
  96. package/package.json +9 -11
  97. /package/dist/cjs/{messages → ai-messages}/ai-definitions.js +0 -0
  98. /package/dist/cjs/{messages → ai-messages}/ai-proactive-setting.js +0 -0
  99. /package/dist/cjs/{messages → ai-messages}/ai-proactive-transform.js +0 -0
  100. /package/dist/cjs/{messages → ai-messages}/ai-proactive.js +0 -0
  101. /package/dist/es2019/{messages → ai-messages}/ai-definitions.js +0 -0
  102. /package/dist/es2019/{messages → ai-messages}/ai-proactive-setting.js +0 -0
  103. /package/dist/es2019/{messages → ai-messages}/ai-proactive-transform.js +0 -0
  104. /package/dist/es2019/{messages → ai-messages}/ai-proactive.js +0 -0
  105. /package/dist/esm/{messages → ai-messages}/ai-definitions.js +0 -0
  106. /package/dist/esm/{messages → ai-messages}/ai-proactive-setting.js +0 -0
  107. /package/dist/esm/{messages → ai-messages}/ai-proactive-transform.js +0 -0
  108. /package/dist/esm/{messages → ai-messages}/ai-proactive.js +0 -0
  109. /package/dist/types/{messages → ai-messages}/ai-definitions.d.ts +0 -0
  110. /package/dist/types/{messages → ai-messages}/ai-proactive-setting.d.ts +0 -0
  111. /package/dist/types/{messages → ai-messages}/ai-proactive-transform.d.ts +0 -0
  112. /package/dist/types/{messages → ai-messages}/ai-proactive.d.ts +0 -0
  113. /package/dist/types-ts4.5/{messages → ai-messages}/ai-definitions.d.ts +0 -0
  114. /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive-setting.d.ts +0 -0
  115. /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive-transform.d.ts +0 -0
  116. /package/dist/types-ts4.5/{messages → ai-messages}/ai-proactive.d.ts +0 -0
@@ -11,7 +11,7 @@ import React from 'react';
11
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
12
  import { jsx } from '@emotion/react';
13
13
  import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
14
- import { fg } from '@atlaskit/platform-feature-flags';
14
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
15
15
  import { ACTION_SUBJECT, ACTION_SUBJECT_ID } from '../analytics';
16
16
  import { ErrorBoundary } from '../ui/ErrorBoundary';
17
17
  import { analyticsEventKey, browser, getPerformanceOptions, startMeasureReactNodeViewRendered, stopMeasureReactNodeViewRendered } from '../utils';
@@ -19,16 +19,42 @@ import { ZERO_WIDTH_SPACE } from '../whitespace';
19
19
  import { generateUniqueNodeKey } from './generateUniqueNodeKey';
20
20
  import { getOrCreateOnVisibleObserver } from './onVisibleObserverFactory';
21
21
  export var inlineNodeViewClassname = 'inlineNodeView';
22
+
23
+ // number of initial nodes to allow React to render before switching to fallback
24
+ var initialReactRenderedNodeCount = 0;
22
25
  var canRenderFallback = function canRenderFallback(node) {
23
26
  return node.type.isInline && node.type.isAtom && node.type.isLeaf;
24
27
  };
28
+ var virtualisationConfiguration = function virtualisationConfiguration() {
29
+ var enableVirtualization = false;
30
+ var reactRenderedDocumentPositionThreshold = 0;
31
+ if (editorExperiment('platform_editor_inline_node_virtualization', 'off')) {
32
+ enableVirtualization = false;
33
+ } else if (editorExperiment('platform_editor_inline_node_virtualization', 'fallbackall')) {
34
+ enableVirtualization = true;
35
+ reactRenderedDocumentPositionThreshold = 0;
36
+ } else if (editorExperiment('platform_editor_inline_node_virtualization', 'fallbackoffscreen')) {
37
+ enableVirtualization = true;
38
+ reactRenderedDocumentPositionThreshold = 100;
39
+ }
40
+ return {
41
+ enableVirtualization: enableVirtualization,
42
+ reactRenderedDocumentPositionThreshold: reactRenderedDocumentPositionThreshold,
43
+ virtualizeCurrentNode: function virtualizeCurrentNode() {
44
+ return enableVirtualization && !(initialReactRenderedNodeCount < reactRenderedDocumentPositionThreshold);
45
+ }
46
+ };
47
+ };
25
48
  function createNodeView(_ref) {
26
49
  var nodeViewParams = _ref.nodeViewParams,
27
50
  pmPluginFactoryParams = _ref.pmPluginFactoryParams,
28
51
  Component = _ref.Component,
29
52
  extraComponentProps = _ref.extraComponentProps,
30
53
  extraNodeViewProps = _ref.extraNodeViewProps;
31
- var shouldVirtualize = fg('platform_editor_lego__inline_node_virtualization');
54
+ var _virtualisationConfig = virtualisationConfiguration(),
55
+ enableVirtualization = _virtualisationConfig.enableVirtualization,
56
+ virtualizeCurrentNode = _virtualisationConfig.virtualizeCurrentNode;
57
+ var virtualizeNode = virtualizeCurrentNode();
32
58
  // We set a variable for the current node which is
33
59
  // used for comparisions when doing updates, before being
34
60
  // overwritten to the updated node.
@@ -94,7 +120,7 @@ function createNodeView(_ref) {
94
120
  });
95
121
  }
96
122
  }
97
- if (shouldVirtualize) {
123
+ if (virtualizeNode) {
98
124
  renderFallback();
99
125
  // allow the fallback to render first before attaching the observer.
100
126
  // Will tweak this in a follow up PR to optimise rendering of visible
@@ -103,6 +129,7 @@ function createNodeView(_ref) {
103
129
  attachNodeViewObserver();
104
130
  }, 0);
105
131
  } else {
132
+ initialReactRenderedNodeCount = initialReactRenderedNodeCount + 1;
106
133
  var _getPerformanceOption = getPerformanceOptions(nodeViewParams.view),
107
134
  samplingRate = _getPerformanceOption.samplingRate,
108
135
  slowThreshold = _getPerformanceOption.slowThreshold,
@@ -120,9 +147,9 @@ function createNodeView(_ref) {
120
147
  slowThreshold: slowThreshold
121
148
  });
122
149
  }
123
- var extraNodeViewPropsWithStopEvent = _objectSpread(_objectSpread({}, extraNodeViewProps), fg('platform_editor_lego__inline_node_virtualization') ? {
150
+ var extraNodeViewPropsWithStopEvent = _objectSpread(_objectSpread({}, extraNodeViewProps), enableVirtualization ? {
124
151
  // This is not related to virtualization, but it's something we should fix/handle
125
- // Remove this comment when `platform_editor_lego__inline_node_virtualization` FF is cleaned up
152
+ // Remove this comment when virtualization experiment is cleaned up
126
153
  stopEvent: function stopEvent(event) {
127
154
  var maybeStopEvent = extraNodeViewProps === null || extraNodeViewProps === void 0 ? void 0 : extraNodeViewProps.stopEvent;
128
155
  if (typeof maybeStopEvent === 'function') {
@@ -162,7 +189,7 @@ function createNodeView(_ref) {
162
189
  setDomAttrs(nextNode, domRef);
163
190
  }
164
191
  currentNode = nextNode;
165
- if (shouldVirtualize) {
192
+ if (virtualizeNode) {
166
193
  if (didRenderComponentWithIntersectionObserver) {
167
194
  renderComponent();
168
195
  }
@@ -172,7 +199,7 @@ function createNodeView(_ref) {
172
199
  return true;
173
200
  },
174
201
  destroy: function destroy() {
175
- if (shouldVirtualize) {
202
+ if (virtualizeNode) {
176
203
  removeIntersectionObserver();
177
204
  }
178
205
 
@@ -184,7 +211,7 @@ function createNodeView(_ref) {
184
211
  // of HTMLSpanElement type however once the node view has
185
212
  // been destroyed no other consumers should still be using it.
186
213
  domRef = undefined;
187
- if (shouldVirtualize) {
214
+ if (virtualizeNode) {
188
215
  destroyed = true;
189
216
  }
190
217
  }
@@ -12,7 +12,7 @@ var gapCursorBlink = keyframes({
12
12
  });
13
13
  export var hideCaretModifier = 'ProseMirror-hide-gapcursor';
14
14
  var gapCursor = '.ProseMirror-gapcursor';
15
- var prosemirrorwidgetNotBlock = '.ProseMirror-widget:not([data-blocks-decoration-container="true"]):not([data-blocks-drag-handle-container="true"])';
15
+ var prosemirrorwidgetNotBlock = '.ProseMirror-widget:not([data-blocks-decoration-container="true"]):not([data-blocks-drag-handle-container="true"]):not([data-blocks-quick-insert-container="true"])';
16
16
  var wrapLeft = '[layout="wrap-left"]';
17
17
  var wrapRight = '[layout="wrap-right"]';
18
18
 
@@ -89,5 +89,15 @@ export var typeAheadListMessages = defineMessages({
89
89
  id: 'fablric.editor.viewAllInserts',
90
90
  defaultMessage: 'View all inserts',
91
91
  description: 'a text on a button that opens a side panel with a list of all insertable editor elements'
92
+ },
93
+ emptySearchResults: {
94
+ id: 'fabric.editor.emptySearchResults',
95
+ defaultMessage: "We couldn't find any results.",
96
+ description: 'a message displayed when there are no search results'
97
+ },
98
+ emptySearchResultsSuggestion: {
99
+ id: 'fabric.editor.emptySearchResultsSuggestion',
100
+ defaultMessage: 'Select {buttonName} to browse inserts.',
101
+ description: 'a prompt to suggest user to click a button to browse inserts when there are no search results'
92
102
  }
93
103
  });
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "100.4.3";
23
+ var packageVersion = "101.0.0";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -12,6 +12,9 @@ import Tooltip from '@atlaskit/tooltip';
12
12
  import { Pulse } from '../Pulse/Pulse';
13
13
  import { ButtonSpotlightCard } from './ButtonSpotlightCard';
14
14
  import { getButtonStyles, iconOnlySpacing } from './styles';
15
+ var minWidthStyle = {
16
+ minWidth: "var(--ds-space-400, 32px)"
17
+ };
15
18
  export default (function (_ref) {
16
19
  var title = _ref.title,
17
20
  icon = _ref.icon,
@@ -93,11 +96,11 @@ export default (function (_ref) {
93
96
  buttonStyles = _adgTheme.buttonStyles,
94
97
  rest = _objectWithoutProperties(_adgTheme, _excluded);
95
98
  return _objectSpread({
96
- buttonStyles: _objectSpread(_objectSpread(_objectSpread({}, buttonStyles), customSpacing), appearance === 'danger' && getButtonStyles({
99
+ buttonStyles: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, buttonStyles), customSpacing), appearance === 'danger' && getButtonStyles({
97
100
  appearance: appearance,
98
101
  state: themeProps.state,
99
102
  mode: themeProps.mode
100
- }))
103
+ })), editorExperiment('platform_editor_controls', 'variant1') ? minWidthStyle : {})
101
104
  }, rest);
102
105
  },
103
106
  "aria-label": ariaLabel || title,
@@ -4,6 +4,7 @@
4
4
  */
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
6
  import { css, jsx } from '@emotion/react';
7
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
8
  var separator = css({
8
9
  background: "var(--ds-border, #091E4224)",
9
10
  width: '1px',
@@ -11,16 +12,21 @@ var separator = css({
11
12
  margin: "0 ".concat("var(--ds-space-050, 4px)"),
12
13
  alignSelf: 'center'
13
14
  });
15
+ var separatorNew = css({
16
+ background: "var(--ds-border, #091E4224)",
17
+ width: '1px',
18
+ height: '20px',
19
+ alignSelf: 'center'
20
+ });
14
21
  var separatorFullHeight = css({
15
22
  height: '40px'
16
23
  });
17
24
  export default (function (_ref) {
18
25
  var fullHeight = _ref.fullHeight;
19
- return (
26
+ return jsx("div", {
27
+ css: [editorExperiment('platform_editor_controls', 'variant1') ? separatorNew : separator, fullHeight && separatorFullHeight]
20
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
21
- jsx("div", {
22
- css: [separator, fullHeight && separatorFullHeight],
23
- className: "separator"
24
- })
25
- );
29
+ ,
30
+ className: "separator"
31
+ });
26
32
  });
@@ -15,6 +15,7 @@ import LegacyExpandIcon from '@atlaskit/icon/glyph/chevron-down';
15
15
  import ChevronDownIcon from '@atlaskit/icon/utility/chevron-down';
16
16
  import { fg } from '@atlaskit/platform-feature-flags';
17
17
  import { Box, xcss, Inline } from '@atlaskit/primitives';
18
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
18
19
  import Tooltip from '@atlaskit/tooltip';
19
20
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
20
21
  import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
@@ -261,7 +262,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
261
262
  ref: buttonRef,
262
263
  "aria-label": title,
263
264
  "aria-expanded": props.isAriaExpanded ? isPopupOpen : undefined,
264
- spacing: "compact",
265
+ spacing: editorExperiment('platform_editor_controls', 'variant1') ? 'default' : 'compact',
265
266
  onClick: togglePopup,
266
267
  onKeyDown: function onKeyDown(event) {
267
268
  if (event.key === 'Enter' || event.key === ' ') {
@@ -0,0 +1,462 @@
1
+ export declare const aiConfigItemMessages: {
2
+ agentConfigTitle: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ description: string;
6
+ };
7
+ agentConfigDescription: {
8
+ id: string;
9
+ defaultMessage: string;
10
+ description: string;
11
+ };
12
+ agentConfigPromptHint: {
13
+ id: string;
14
+ defaultMessage: string;
15
+ description: string;
16
+ };
17
+ configActionInsert: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
22
+ configActionInsertAtTop: {
23
+ id: string;
24
+ defaultMessage: string;
25
+ description: string;
26
+ };
27
+ configActionInsertBelow: {
28
+ id: string;
29
+ defaultMessage: string;
30
+ description: string;
31
+ };
32
+ configActionReplace: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
37
+ configActionReplaceTitle: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
42
+ configActionReplaceTitleTooLongDisabledTooltip: {
43
+ id: string;
44
+ defaultMessage: string;
45
+ description: string;
46
+ };
47
+ configActionContinueInChatLabel: {
48
+ id: string;
49
+ defaultMessage: string;
50
+ description: string;
51
+ };
52
+ advancedPromptTitle: {
53
+ id: string;
54
+ defaultMessage: string;
55
+ description: string;
56
+ };
57
+ advancedPromptDescription: {
58
+ id: string;
59
+ defaultMessage: string;
60
+ description: string;
61
+ };
62
+ advancedPromptLabel: {
63
+ id: string;
64
+ defaultMessage: string;
65
+ description: string;
66
+ };
67
+ advancedPromptTaskLabel: {
68
+ id: string;
69
+ defaultMessage: string;
70
+ description: string;
71
+ };
72
+ advancedPromptTaskPlaceholder: {
73
+ id: string;
74
+ defaultMessage: string;
75
+ description: string;
76
+ };
77
+ advancedPromptTaskHelperMessage: {
78
+ id: string;
79
+ defaultMessage: string;
80
+ description: string;
81
+ };
82
+ advancedPromptTaskRequired: {
83
+ id: string;
84
+ defaultMessage: string;
85
+ description: string;
86
+ };
87
+ advancedPromptInstructionsLabel: {
88
+ id: string;
89
+ defaultMessage: string;
90
+ description: string;
91
+ };
92
+ advancedPromptInstructionsPlaceholder: {
93
+ id: string;
94
+ defaultMessage: string;
95
+ description: string;
96
+ };
97
+ advancedPromptInstructionsHelperMessage: {
98
+ id: string;
99
+ defaultMessage: string;
100
+ description: string;
101
+ };
102
+ advancedPromptRulesLabel: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ description: string;
106
+ };
107
+ advancedPromptRulesPlaceholder: {
108
+ id: string;
109
+ defaultMessage: string;
110
+ description: string;
111
+ };
112
+ advancedPromptRulesHelperMessage: {
113
+ id: string;
114
+ defaultMessage: string;
115
+ description: string;
116
+ };
117
+ advancedPromptToneLabel: {
118
+ id: string;
119
+ defaultMessage: string;
120
+ description: string;
121
+ };
122
+ advancedPromptToneProfessional: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ description: string;
126
+ };
127
+ advancedPromptToneEmpathetic: {
128
+ id: string;
129
+ defaultMessage: string;
130
+ description: string;
131
+ };
132
+ advancedPromptToneCasual: {
133
+ id: string;
134
+ defaultMessage: string;
135
+ description: string;
136
+ };
137
+ advancedPromptToneNeutral: {
138
+ id: string;
139
+ defaultMessage: string;
140
+ description: string;
141
+ };
142
+ advancedPromptToneEducational: {
143
+ id: string;
144
+ defaultMessage: string;
145
+ description: string;
146
+ };
147
+ advancedPromptCreativityLabel: {
148
+ id: string;
149
+ defaultMessage: string;
150
+ description: string;
151
+ };
152
+ advancedPromptCreativityLow: {
153
+ id: string;
154
+ defaultMessage: string;
155
+ description: string;
156
+ };
157
+ advancedPromptCreativityMedium: {
158
+ id: string;
159
+ defaultMessage: string;
160
+ description: string;
161
+ };
162
+ advancedPromptCreativityHigh: {
163
+ id: string;
164
+ defaultMessage: string;
165
+ description: string;
166
+ };
167
+ atlasShortenUpdatetitle: {
168
+ id: string;
169
+ defaultMessage: string;
170
+ description: string;
171
+ };
172
+ atlasShortenUpdateDescription: {
173
+ id: string;
174
+ defaultMessage: string;
175
+ description: string;
176
+ };
177
+ brainstormTitle: {
178
+ id: string;
179
+ defaultMessage: string;
180
+ description: string;
181
+ };
182
+ brainstormDescription: {
183
+ id: string;
184
+ defaultMessage: string;
185
+ description: string;
186
+ };
187
+ brainstormPromptLabel: {
188
+ id: string;
189
+ defaultMessage: string;
190
+ description: string;
191
+ };
192
+ brainstormPromptHint: {
193
+ id: string;
194
+ defaultMessage: string;
195
+ description: string;
196
+ };
197
+ changeToneNestingParentTitlePostGA: {
198
+ id: string;
199
+ defaultMessage: string;
200
+ description: string;
201
+ };
202
+ changeToneNeutralToneTitle: {
203
+ id: string;
204
+ defaultMessage: string;
205
+ description: string;
206
+ };
207
+ changeToneNeutralToneShortTitle: {
208
+ id: string;
209
+ defaultMessage: string;
210
+ description: string;
211
+ };
212
+ changeToneNeutralToneDescription: {
213
+ id: string;
214
+ defaultMessage: string;
215
+ description: string;
216
+ };
217
+ changeToneNeutralToneSelectionToolbarDropdownItemTitle: {
218
+ id: string;
219
+ defaultMessage: string;
220
+ description: string;
221
+ };
222
+ changeToneProfessionalToneTitle: {
223
+ id: string;
224
+ defaultMessage: string;
225
+ description: string;
226
+ };
227
+ changeToneProfessionalToneShortTitle: {
228
+ id: string;
229
+ defaultMessage: string;
230
+ description: string;
231
+ };
232
+ changeToneProfessionalToneDescription: {
233
+ id: string;
234
+ defaultMessage: string;
235
+ description: string;
236
+ };
237
+ changeToneProfessionalToneSelectionToolbarDropdownItemTitle: {
238
+ id: string;
239
+ defaultMessage: string;
240
+ description: string;
241
+ };
242
+ changeToneCasualToneTitle: {
243
+ id: string;
244
+ defaultMessage: string;
245
+ description: string;
246
+ };
247
+ changeToneCasualToneShortTitle: {
248
+ id: string;
249
+ defaultMessage: string;
250
+ description: string;
251
+ };
252
+ changeToneCasualToneDescription: {
253
+ id: string;
254
+ defaultMessage: string;
255
+ description: string;
256
+ };
257
+ changeToneCasualToneSelectionToolbarDropdownItemTitle: {
258
+ id: string;
259
+ defaultMessage: string;
260
+ description: string;
261
+ };
262
+ changeToneEducationalToneTitle: {
263
+ id: string;
264
+ defaultMessage: string;
265
+ description: string;
266
+ };
267
+ changeToneEducationalToneShortTitle: {
268
+ id: string;
269
+ defaultMessage: string;
270
+ description: string;
271
+ };
272
+ changeToneEducationalToneDescription: {
273
+ id: string;
274
+ defaultMessage: string;
275
+ description: string;
276
+ };
277
+ changeToneEducationalToneSelectionToolbarDropdownItemTitle: {
278
+ id: string;
279
+ defaultMessage: string;
280
+ description: string;
281
+ };
282
+ changeToneEmpatheticToneTitle: {
283
+ id: string;
284
+ defaultMessage: string;
285
+ description: string;
286
+ };
287
+ changeToneEmpatheticToneShortTitle: {
288
+ id: string;
289
+ defaultMessage: string;
290
+ description: string;
291
+ };
292
+ changeToneEmpatheticToneDescription: {
293
+ id: string;
294
+ defaultMessage: string;
295
+ description: string;
296
+ };
297
+ changeToneEmpatheticToneSelectionToolbarDropdownItemTitle: {
298
+ id: string;
299
+ defaultMessage: string;
300
+ description: string;
301
+ };
302
+ convertToBulletListTitle: {
303
+ id: string;
304
+ defaultMessage: string;
305
+ description: string;
306
+ };
307
+ convertToBulletListDescription: {
308
+ id: string;
309
+ defaultMessage: string;
310
+ description: string;
311
+ };
312
+ convertToTableTitle: {
313
+ id: string;
314
+ defaultMessage: string;
315
+ description: string;
316
+ };
317
+ convertToTableDescription: {
318
+ id: string;
319
+ defaultMessage: string;
320
+ description: string;
321
+ };
322
+ draftReplyTitle: {
323
+ id: string;
324
+ defaultMessage: string;
325
+ description: string;
326
+ };
327
+ draftReplyDescription: {
328
+ id: string;
329
+ defaultMessage: string;
330
+ description: string;
331
+ };
332
+ improveWritingTitle: {
333
+ id: string;
334
+ defaultMessage: string;
335
+ description: string;
336
+ };
337
+ improveWritingSelectionToolbarDropdownItemTitle: {
338
+ id: string;
339
+ defaultMessage: string;
340
+ description: string;
341
+ };
342
+ fixSpellingGrammarTitle: {
343
+ id: string;
344
+ defaultMessage: string;
345
+ description: string;
346
+ };
347
+ improveWritingDescription: {
348
+ id: string;
349
+ defaultMessage: string;
350
+ description: string;
351
+ };
352
+ fixSpellingGrammarDescription: {
353
+ id: string;
354
+ defaultMessage: string;
355
+ description: string;
356
+ };
357
+ fixSpellingGrammarSelectionToolbarDropdownItemTitle: {
358
+ id: string;
359
+ defaultMessage: string;
360
+ description: string;
361
+ };
362
+ findActionItemsTitle: {
363
+ id: string;
364
+ defaultMessage: string;
365
+ description: string;
366
+ };
367
+ findActionItemsDescription: {
368
+ id: string;
369
+ defaultMessage: string;
370
+ description: string;
371
+ };
372
+ freeGeneratePromptHint: {
373
+ id: string;
374
+ defaultMessage: string;
375
+ description: string;
376
+ };
377
+ freeGenerateDisabledPromptHint: {
378
+ id: string;
379
+ defaultMessage: string;
380
+ description: string;
381
+ };
382
+ reformatWithTemplateDescription: {
383
+ id: string;
384
+ defaultMessage: string;
385
+ description: string;
386
+ };
387
+ improveDescription: {
388
+ id: string;
389
+ defaultMessage: string;
390
+ description: string;
391
+ };
392
+ makeLongerTitle: {
393
+ id: string;
394
+ defaultMessage: string;
395
+ description: string;
396
+ };
397
+ makeLongerDescription: {
398
+ id: string;
399
+ defaultMessage: string;
400
+ description: string;
401
+ };
402
+ makeShorterTitle: {
403
+ id: string;
404
+ defaultMessage: string;
405
+ description: string;
406
+ };
407
+ makeShorterDescription: {
408
+ id: string;
409
+ defaultMessage: string;
410
+ description: string;
411
+ };
412
+ makeShorterSelectionToolbarDropdownItemTitle: {
413
+ id: string;
414
+ defaultMessage: string;
415
+ description: string;
416
+ };
417
+ prDescriptionTitle: {
418
+ id: string;
419
+ defaultMessage: string;
420
+ description: string;
421
+ };
422
+ prDescriptionDescription: {
423
+ id: string;
424
+ defaultMessage: string;
425
+ description: string;
426
+ };
427
+ rephraseTitle: {
428
+ id: string;
429
+ defaultMessage: string;
430
+ description: string;
431
+ };
432
+ rephraseDescription: {
433
+ id: string;
434
+ defaultMessage: string;
435
+ description: string;
436
+ };
437
+ suggestTitleTitle: {
438
+ id: string;
439
+ defaultMessage: string;
440
+ description: string;
441
+ };
442
+ suggestTitleDescription: {
443
+ id: string;
444
+ defaultMessage: string;
445
+ description: string;
446
+ };
447
+ summarizeWritingtitle: {
448
+ id: string;
449
+ defaultMessage: string;
450
+ description: string;
451
+ };
452
+ summarizeWritingDescription: {
453
+ id: string;
454
+ defaultMessage: string;
455
+ description: string;
456
+ };
457
+ summarizeWritingSelectionToolbarDropdownItemTitle: {
458
+ id: string;
459
+ defaultMessage: string;
460
+ description: string;
461
+ };
462
+ };