@atlaskit/editor-common 112.13.0 → 112.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/ai-messages/ai-autocomplete.js +30 -0
- package/dist/cjs/ai-messages/index.js +8 -1
- package/dist/es2019/ai-messages/ai-autocomplete.js +25 -0
- package/dist/es2019/ai-messages/index.js +2 -1
- package/dist/esm/ai-messages/ai-autocomplete.js +25 -0
- package/dist/esm/ai-messages/index.js +2 -1
- package/dist/types/ai-messages/ai-autocomplete.d.ts +22 -0
- package/dist/types/ai-messages/index.d.ts +1 -0
- package/dist/types-ts4.5/ai-messages/ai-autocomplete.d.ts +22 -0
- package/dist/types-ts4.5/ai-messages/index.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.aiAutocompleteMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
/**
|
|
9
|
+
* Default keyword lists omit longer phrases when a shorter phrase in the same list already
|
|
10
|
+
* matches as a whole word within them (case-insensitive), e.g. drop `in summary` when `summary`
|
|
11
|
+
* is present.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
var aiAutocompleteMessages = exports.aiAutocompleteMessages = (0, _reactIntlNext.defineMessages)({
|
|
15
|
+
summaryKeywords: {
|
|
16
|
+
id: 'fabric.editor.ai.autocomplete.summary.trigger.keywords.non-final',
|
|
17
|
+
defaultMessage: 'summary, tldr, tl;dr, tl dr, overview, synopsis, recap, abstract, brief, outline, quick, in short, rundown, review, roundup, highlights, key points, snapshot, at a glance, in essence, takeaways, to summarize, to summarise',
|
|
18
|
+
description: 'Comma-separated heading phrases that trigger AI autocomplete when the user finishes typing one as a whole token at the cursor. Translators may reorder or localize phrases; keep comma separation.'
|
|
19
|
+
},
|
|
20
|
+
conclusionKeywords: {
|
|
21
|
+
id: 'fabric.editor.ai.autocomplete.conclusion.trigger.keywords.non-final',
|
|
22
|
+
defaultMessage: 'conclusion, conclusions, findings, results, outcome, outcomes, final thoughts, takeaway, takeaways, verdict, determination, resolution, final analysis, deduction, judgment, decision, culmination, end result, bottom line, final word, closing, to conclude, final notes, learnings, what we learned, overall',
|
|
23
|
+
description: 'Comma-separated phrases that trigger AI autocomplete for a conclusion-style completion when typed in the last lines of the document. Translators may reorder or localize; keep comma separation.'
|
|
24
|
+
},
|
|
25
|
+
nextStepsKeywords: {
|
|
26
|
+
id: 'fabric.editor.ai.autocomplete.next.steps.trigger.keywords.non-final',
|
|
27
|
+
defaultMessage: "recommendations, follow-through, implementation, moving forward, going forward, deliverables, path forward, what is next, way forward, what's next, next steps, priorities, whats next, task list, follow-up, follow up, next step, followup, priority, next up, up next, roadmap, actions, action, tasks, todos, to do, to-do, todo, plan",
|
|
28
|
+
description: 'Comma-separated phrases that trigger AI autocomplete for a next-steps-style completion when typed in the last lines of the document. Translators may reorder or localize; keep comma separation. Prefer longer phrases before shorter ones that are suffixes.'
|
|
29
|
+
}
|
|
30
|
+
});
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
Object.defineProperty(exports, "aiAutocompleteMessages", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _aiAutocomplete.aiAutocompleteMessages;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
6
12
|
Object.defineProperty(exports, "aiConfigItemMessages", {
|
|
7
13
|
enumerable: true,
|
|
8
14
|
get: function get() {
|
|
@@ -79,4 +85,5 @@ var _ai = require("./ai");
|
|
|
79
85
|
var _aiProactiveSetting = require("./ai-proactive-setting");
|
|
80
86
|
var _aiProactiveTransform = require("./ai-proactive-transform");
|
|
81
87
|
var _aiQuickPrompt = require("./ai-quick-prompt");
|
|
82
|
-
var _aiSuggestions = require("./ai-suggestions");
|
|
88
|
+
var _aiSuggestions = require("./ai-suggestions");
|
|
89
|
+
var _aiAutocomplete = require("./ai-autocomplete");
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Default keyword lists omit longer phrases when a shorter phrase in the same list already
|
|
5
|
+
* matches as a whole word within them (case-insensitive), e.g. drop `in summary` when `summary`
|
|
6
|
+
* is present.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export const aiAutocompleteMessages = defineMessages({
|
|
10
|
+
summaryKeywords: {
|
|
11
|
+
id: 'fabric.editor.ai.autocomplete.summary.trigger.keywords.non-final',
|
|
12
|
+
defaultMessage: 'summary, tldr, tl;dr, tl dr, overview, synopsis, recap, abstract, brief, outline, quick, in short, rundown, review, roundup, highlights, key points, snapshot, at a glance, in essence, takeaways, to summarize, to summarise',
|
|
13
|
+
description: 'Comma-separated heading phrases that trigger AI autocomplete when the user finishes typing one as a whole token at the cursor. Translators may reorder or localize phrases; keep comma separation.'
|
|
14
|
+
},
|
|
15
|
+
conclusionKeywords: {
|
|
16
|
+
id: 'fabric.editor.ai.autocomplete.conclusion.trigger.keywords.non-final',
|
|
17
|
+
defaultMessage: 'conclusion, conclusions, findings, results, outcome, outcomes, final thoughts, takeaway, takeaways, verdict, determination, resolution, final analysis, deduction, judgment, decision, culmination, end result, bottom line, final word, closing, to conclude, final notes, learnings, what we learned, overall',
|
|
18
|
+
description: 'Comma-separated phrases that trigger AI autocomplete for a conclusion-style completion when typed in the last lines of the document. Translators may reorder or localize; keep comma separation.'
|
|
19
|
+
},
|
|
20
|
+
nextStepsKeywords: {
|
|
21
|
+
id: 'fabric.editor.ai.autocomplete.next.steps.trigger.keywords.non-final',
|
|
22
|
+
defaultMessage: "recommendations, follow-through, implementation, moving forward, going forward, deliverables, path forward, what is next, way forward, what's next, next steps, priorities, whats next, task list, follow-up, follow up, next step, followup, priority, next up, up next, roadmap, actions, action, tasks, todos, to do, to-do, todo, plan",
|
|
23
|
+
description: 'Comma-separated phrases that trigger AI autocomplete for a next-steps-style completion when typed in the last lines of the document. Translators may reorder or localize; keep comma separation. Prefer longer phrases before shorter ones that are suffixes.'
|
|
24
|
+
}
|
|
25
|
+
});
|
|
@@ -11,4 +11,5 @@ export { aiMessages } from './ai';
|
|
|
11
11
|
export { aiProactiveSettingMessages } from './ai-proactive-setting';
|
|
12
12
|
export { aiProactiveTransformMessages } from './ai-proactive-transform';
|
|
13
13
|
export { aiQuickPromptMessages } from './ai-quick-prompt';
|
|
14
|
-
export { aiSuggestionsMessages } from './ai-suggestions';
|
|
14
|
+
export { aiSuggestionsMessages } from './ai-suggestions';
|
|
15
|
+
export { aiAutocompleteMessages } from './ai-autocomplete';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Default keyword lists omit longer phrases when a shorter phrase in the same list already
|
|
5
|
+
* matches as a whole word within them (case-insensitive), e.g. drop `in summary` when `summary`
|
|
6
|
+
* is present.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export var aiAutocompleteMessages = defineMessages({
|
|
10
|
+
summaryKeywords: {
|
|
11
|
+
id: 'fabric.editor.ai.autocomplete.summary.trigger.keywords.non-final',
|
|
12
|
+
defaultMessage: 'summary, tldr, tl;dr, tl dr, overview, synopsis, recap, abstract, brief, outline, quick, in short, rundown, review, roundup, highlights, key points, snapshot, at a glance, in essence, takeaways, to summarize, to summarise',
|
|
13
|
+
description: 'Comma-separated heading phrases that trigger AI autocomplete when the user finishes typing one as a whole token at the cursor. Translators may reorder or localize phrases; keep comma separation.'
|
|
14
|
+
},
|
|
15
|
+
conclusionKeywords: {
|
|
16
|
+
id: 'fabric.editor.ai.autocomplete.conclusion.trigger.keywords.non-final',
|
|
17
|
+
defaultMessage: 'conclusion, conclusions, findings, results, outcome, outcomes, final thoughts, takeaway, takeaways, verdict, determination, resolution, final analysis, deduction, judgment, decision, culmination, end result, bottom line, final word, closing, to conclude, final notes, learnings, what we learned, overall',
|
|
18
|
+
description: 'Comma-separated phrases that trigger AI autocomplete for a conclusion-style completion when typed in the last lines of the document. Translators may reorder or localize; keep comma separation.'
|
|
19
|
+
},
|
|
20
|
+
nextStepsKeywords: {
|
|
21
|
+
id: 'fabric.editor.ai.autocomplete.next.steps.trigger.keywords.non-final',
|
|
22
|
+
defaultMessage: "recommendations, follow-through, implementation, moving forward, going forward, deliverables, path forward, what is next, way forward, what's next, next steps, priorities, whats next, task list, follow-up, follow up, next step, followup, priority, next up, up next, roadmap, actions, action, tasks, todos, to do, to-do, todo, plan",
|
|
23
|
+
description: 'Comma-separated phrases that trigger AI autocomplete for a next-steps-style completion when typed in the last lines of the document. Translators may reorder or localize; keep comma separation. Prefer longer phrases before shorter ones that are suffixes.'
|
|
24
|
+
}
|
|
25
|
+
});
|
|
@@ -11,4 +11,5 @@ export { aiMessages } from './ai';
|
|
|
11
11
|
export { aiProactiveSettingMessages } from './ai-proactive-setting';
|
|
12
12
|
export { aiProactiveTransformMessages } from './ai-proactive-transform';
|
|
13
13
|
export { aiQuickPromptMessages } from './ai-quick-prompt';
|
|
14
|
-
export { aiSuggestionsMessages } from './ai-suggestions';
|
|
14
|
+
export { aiSuggestionsMessages } from './ai-suggestions';
|
|
15
|
+
export { aiAutocompleteMessages } from './ai-autocomplete';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default keyword lists omit longer phrases when a shorter phrase in the same list already
|
|
3
|
+
* matches as a whole word within them (case-insensitive), e.g. drop `in summary` when `summary`
|
|
4
|
+
* is present.
|
|
5
|
+
*/
|
|
6
|
+
export declare const aiAutocompleteMessages: {
|
|
7
|
+
conclusionKeywords: {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
nextStepsKeywords: {
|
|
13
|
+
defaultMessage: string;
|
|
14
|
+
description: string;
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
summaryKeywords: {
|
|
18
|
+
defaultMessage: string;
|
|
19
|
+
description: string;
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -9,3 +9,4 @@ export { aiProactiveSettingMessages } from './ai-proactive-setting';
|
|
|
9
9
|
export { aiProactiveTransformMessages } from './ai-proactive-transform';
|
|
10
10
|
export { aiQuickPromptMessages } from './ai-quick-prompt';
|
|
11
11
|
export { aiSuggestionsMessages } from './ai-suggestions';
|
|
12
|
+
export { aiAutocompleteMessages } from './ai-autocomplete';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default keyword lists omit longer phrases when a shorter phrase in the same list already
|
|
3
|
+
* matches as a whole word within them (case-insensitive), e.g. drop `in summary` when `summary`
|
|
4
|
+
* is present.
|
|
5
|
+
*/
|
|
6
|
+
export declare const aiAutocompleteMessages: {
|
|
7
|
+
conclusionKeywords: {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
nextStepsKeywords: {
|
|
13
|
+
defaultMessage: string;
|
|
14
|
+
description: string;
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
summaryKeywords: {
|
|
18
|
+
defaultMessage: string;
|
|
19
|
+
description: string;
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -9,3 +9,4 @@ export { aiProactiveSettingMessages } from './ai-proactive-setting';
|
|
|
9
9
|
export { aiProactiveTransformMessages } from './ai-proactive-transform';
|
|
10
10
|
export { aiQuickPromptMessages } from './ai-quick-prompt';
|
|
11
11
|
export { aiSuggestionsMessages } from './ai-suggestions';
|
|
12
|
+
export { aiAutocompleteMessages } from './ai-autocomplete';
|
package/package.json
CHANGED