@gooddata/sdk-ui-gen-ai 11.64.0-alpha.0 → 11.64.0-alpha.2
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/NOTICE +4 -64198
- package/esm/components/messages/AssistantItem.d.ts.map +1 -1
- package/esm/components/messages/AssistantItem.js +2 -1
- package/esm/components/messages/ConversationItemContents.d.ts +3 -1
- package/esm/components/messages/ConversationItemContents.d.ts.map +1 -1
- package/esm/components/messages/ConversationItemContents.js +9 -1
- package/esm/components/messages/ItemsGroup.d.ts.map +1 -1
- package/esm/components/messages/ItemsGroup.js +1 -0
- package/esm/components/messages/UserItem.d.ts.map +1 -1
- package/esm/components/messages/UserItem.js +1 -1
- package/esm/components/messages/contents/ReasoningIcon.d.ts.map +1 -1
- package/esm/components/messages/contents/ReasoningIcon.js +1 -0
- package/esm/components/messages/conversationContents/ConversationClarifyingAnswersContent.d.ts +13 -0
- package/esm/components/messages/conversationContents/ConversationClarifyingAnswersContent.d.ts.map +1 -0
- package/esm/components/messages/conversationContents/ConversationClarifyingAnswersContent.js +22 -0
- package/esm/components/messages/conversationContents/ConversationMultipartContent.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/ConversationMultipartContent.js +2 -3
- package/esm/components/messages/conversationContents/ConversationSkillActivatedContent.d.ts +8 -0
- package/esm/components/messages/conversationContents/ConversationSkillActivatedContent.d.ts.map +1 -0
- package/esm/components/messages/conversationContents/ConversationSkillActivatedContent.js +9 -0
- package/esm/components/messages/conversationContents/ConversationVisualisationV2.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/ConversationVisualisationV2.js +2 -1
- package/esm/components/messages/conversationContents/ConversationVisualizationContent.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/ConversationVisualizationContent.js +2 -6
- package/esm/components/messages/conversationContents/useConversationClarifyingQuestions.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/useConversationClarifyingQuestions.js +35 -22
- package/esm/components/messages/conversationContents/useConversationClarifyingRelatedQuestions.d.ts +5 -0
- package/esm/components/messages/conversationContents/useConversationClarifyingRelatedQuestions.d.ts.map +1 -0
- package/esm/components/messages/conversationContents/useConversationClarifyingRelatedQuestions.js +24 -0
- package/esm/components/messages/conversationContents/utils/errors.d.ts +20 -0
- package/esm/components/messages/conversationContents/utils/errors.d.ts.map +1 -0
- package/esm/components/messages/conversationContents/utils/errors.js +29 -0
- package/esm/components/utils/groupUtility.js +3 -2
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/localization/bundles/de-DE.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/de-DE.localization-bundle.js +2 -0
- package/esm/localization/bundles/en-AU.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-AU.localization-bundle.js +2 -0
- package/esm/localization/bundles/en-GB.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-GB.localization-bundle.js +2 -0
- package/esm/localization/bundles/en-US.localization-bundle.d.ts +12 -0
- package/esm/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-US.localization-bundle.js +12 -0
- package/esm/localization/bundles/es-419.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/es-419.localization-bundle.js +3 -1
- package/esm/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/es-ES.localization-bundle.js +2 -0
- package/esm/localization/bundles/fi-FI.localization-bundle.d.ts +4 -0
- package/esm/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fi-FI.localization-bundle.js +4 -0
- package/esm/localization/bundles/fr-CA.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fr-CA.localization-bundle.js +2 -0
- package/esm/localization/bundles/fr-FR.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fr-FR.localization-bundle.js +2 -0
- package/esm/localization/bundles/id-ID.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/id-ID.localization-bundle.js +2 -0
- package/esm/localization/bundles/it-IT.localization-bundle.d.ts +4 -0
- package/esm/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/it-IT.localization-bundle.js +4 -0
- package/esm/localization/bundles/ja-JP.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ja-JP.localization-bundle.js +2 -0
- package/esm/localization/bundles/ko-KR.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ko-KR.localization-bundle.js +2 -0
- package/esm/localization/bundles/nl-NL.localization-bundle.d.ts +4 -0
- package/esm/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/nl-NL.localization-bundle.js +4 -0
- package/esm/localization/bundles/pl-PL.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pl-PL.localization-bundle.js +2 -0
- package/esm/localization/bundles/pt-BR.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pt-BR.localization-bundle.js +2 -0
- package/esm/localization/bundles/pt-PT.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pt-PT.localization-bundle.js +2 -0
- package/esm/localization/bundles/ru-RU.localization-bundle.d.ts +4 -0
- package/esm/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ru-RU.localization-bundle.js +4 -0
- package/esm/localization/bundles/sl-SI.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/sl-SI.localization-bundle.js +2 -0
- package/esm/localization/bundles/th-TH.localization-bundle.d.ts +4 -0
- package/esm/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/th-TH.localization-bundle.js +4 -0
- package/esm/localization/bundles/tr-TR.localization-bundle.d.ts +4 -0
- package/esm/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/tr-TR.localization-bundle.js +4 -0
- package/esm/localization/bundles/uk-UA.localization-bundle.d.ts +4 -0
- package/esm/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/uk-UA.localization-bundle.js +4 -0
- package/esm/localization/bundles/vi-VN.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/vi-VN.localization-bundle.js +2 -0
- package/esm/localization/bundles/zh-HK.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-HK.localization-bundle.js +2 -0
- package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-Hans.localization-bundle.js +2 -0
- package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts +2 -0
- package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-Hant.localization-bundle.js +2 -0
- package/esm/model.d.ts +1 -1
- package/esm/model.d.ts.map +1 -1
- package/esm/model.js +2 -2
- package/esm/sdk-ui-gen-ai.d.ts +63 -1
- package/esm/store/events.d.ts +61 -2
- package/esm/store/events.d.ts.map +1 -1
- package/esm/store/events.js +7 -0
- package/esm/store/sideEffects/converters/toChatClarificationAnswers.d.ts +4 -0
- package/esm/store/sideEffects/converters/toChatClarificationAnswers.d.ts.map +1 -0
- package/esm/store/sideEffects/converters/toChatClarificationAnswers.js +12 -0
- package/esm/store/sideEffects/onChatOpenSync.d.ts.map +1 -1
- package/esm/store/sideEffects/onChatOpenSync.js +9 -4
- package/esm/store/sideEffects/onEvent.d.ts +4 -2
- package/esm/store/sideEffects/onEvent.d.ts.map +1 -1
- package/esm/store/sideEffects/onEvent.js +23 -8
- package/esm/store/sideEffects/onThreadLoad.d.ts.map +1 -1
- package/esm/store/sideEffects/onThreadLoad.js +5 -2
- package/esm/store/sideEffects/onUserMessage.js +5 -3
- package/esm/utils.d.ts +2 -1
- package/esm/utils.d.ts.map +1 -1
- package/package.json +22 -22
- package/styles/css/main.css +15 -0
- package/styles/css/main.css.map +1 -1
- package/styles/css/messages.css +15 -0
- package/styles/css/messages.css.map +1 -1
- package/styles/scss/messages.scss +18 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantItem.d.ts","sourceRoot":"","sources":["../../../src/components/messages/AssistantItem.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAQjE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAOnE,KAAK,kBAAkB,GAAG;IACtB,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"AssistantItem.d.ts","sourceRoot":"","sources":["../../../src/components/messages/AssistantItem.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAQjE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAOnE,KAAK,kBAAkB,GAAG;IACtB,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,kBAAkB,kDA2FrF"}
|
|
@@ -39,7 +39,8 @@ export function AssistantItemComponent({ message, groups, isLast }) {
|
|
|
39
39
|
}
|
|
40
40
|
//NOTE: For now remove feedback on clarification questions that are filled
|
|
41
41
|
const isFilledClarificationQuestion = isClarificationQuestionsItem(message) && message.filled;
|
|
42
|
-
return (_jsxs("div", { className: classNames, "data-state": messageState, "data-testid": "gen-ai-conversation-assistant-message", children: [_jsx("span", { className: "gd-gen-ai-chat__visually__hidden", children: intl.formatMessage({ id: "gd.gen-ai.message.label.assistant" }) }), _jsx(ReasoningIcon, { content: message.content }), _jsx(ConversationItemContents, { role: "assistant", message: message, references: references, isLoading: messageState === "loading", isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "followUp", message: message, showSuggestions: true, references: references }), _jsxs("div", { className: "gd-gen-ai-chat__conversation__item__actions", children: [group.type === "assistant" &&
|
|
42
|
+
return (_jsxs("div", { className: classNames, "data-state": messageState, "data-testid": "gen-ai-conversation-assistant-message", children: [_jsx("span", { className: "gd-gen-ai-chat__visually__hidden", children: intl.formatMessage({ id: "gd.gen-ai.message.label.assistant" }) }), _jsx(ReasoningIcon, { content: message.content }), _jsx(ConversationItemContents, { role: "assistant", message: message, groups: groups, references: references, isLoading: messageState === "loading", isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "followUp", message: message, showSuggestions: true, references: references }), _jsxs("div", { className: "gd-gen-ai-chat__conversation__item__actions", children: [group.type === "assistant" &&
|
|
43
43
|
message.content.type !== "reasoning" &&
|
|
44
|
+
message.content.type !== "skillsActivated" &&
|
|
44
45
|
!isFilledClarificationQuestion ? (_jsx(FeedbackComponent, { group: group, message: message, isLast: Boolean(isLast), isComplete: Boolean(message.complete), isHidden: Boolean(hasInteractionIntelligenceTrigger && !isLast) })) : null, showInteractionIntelligence ? (_jsx(InteractionIntelligenceTrigger, { totals: interactionIntelligenceTotals, isOpen: isInteractionIntelligenceOpen, onToggle: () => setIsInteractionIntelligenceOpen((current) => !current) })) : null] }), showInteractionIntelligence && isInteractionIntelligenceOpen ? (_jsx(GenAiInteractionIntelligence, { responseId: message.responseId, onClose: () => setIsInteractionIntelligenceOpen(false) })) : null, _jsx(AssistantItemSuggestions, { type: "actions", message: message, showSuggestions: isLast })] }));
|
|
45
46
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { type IChatConversationLocalItem, type TextContentObject } from "../../model.js";
|
|
2
|
+
import type { IChatMessagesGroup } from "../utils/groupUtility.js";
|
|
2
3
|
type ConversationItemContentsProps = {
|
|
3
4
|
message: IChatConversationLocalItem;
|
|
5
|
+
groups: IChatMessagesGroup[];
|
|
4
6
|
references: TextContentObject[];
|
|
5
7
|
role: "user" | "assistant" | "tool";
|
|
6
8
|
isLoading: boolean;
|
|
7
9
|
isLast?: boolean;
|
|
8
10
|
};
|
|
9
|
-
export declare function ConversationItemContents({ message, references, isLoading, isLast, }: ConversationItemContentsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export declare function ConversationItemContents({ message, groups, references, isLoading, isLast, }: ConversationItemContentsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
12
|
export {};
|
|
11
13
|
//# sourceMappingURL=ConversationItemContents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationItemContents.d.ts","sourceRoot":"","sources":["../../../src/components/messages/ConversationItemContents.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACzB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConversationItemContents.d.ts","sourceRoot":"","sources":["../../../src/components/messages/ConversationItemContents.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAOnE,KAAK,6BAA6B,GAAG;IACjC,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACrC,OAAO,EACP,MAAM,EACN,UAAU,EACV,SAAS,EACT,MAAM,GACT,EAAE,6BAA6B,kDA4E/B"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCustomization } from "../CustomizationContext.js";
|
|
3
|
+
import { ConversationClarifyingAnswersContent } from "./conversationContents/ConversationClarifyingAnswersContent.js";
|
|
4
|
+
import { ConversationSkillActivatedContent } from "./conversationContents/ConversationSkillActivatedContent.js";
|
|
3
5
|
import { ConversationToolCallContent } from "./conversationContents/ConversationToolCallContent.js";
|
|
4
6
|
import { ConversationToolResultContent } from "./conversationContents/ConversationToolResultContent.js";
|
|
5
|
-
export function ConversationItemContents({ message, references, isLoading, isLast, }) {
|
|
7
|
+
export function ConversationItemContents({ message, groups, references, isLoading, isLast, }) {
|
|
6
8
|
const { MessageTextContentComponent, MessageErrorContentComponent, MessageReasoningContentComponent, MessageMultipartContentComponent, } = useCustomization();
|
|
7
9
|
const content = message.content;
|
|
8
10
|
if (content.type === "error") {
|
|
@@ -17,11 +19,17 @@ export function ConversationItemContents({ message, references, isLoading, isLas
|
|
|
17
19
|
if (content.type === "multipart") {
|
|
18
20
|
return (_jsx(MessageMultipartContentComponent, { message: message, parts: content.parts ?? [], references: references, isLast: isLast }));
|
|
19
21
|
}
|
|
22
|
+
if (content.type === "clarifyingAnswers") {
|
|
23
|
+
return (_jsx(ConversationClarifyingAnswersContent, { useMarkdown: true, groups: groups, message: message, answers: content.answers, objects: [...(content.objects ?? []), ...references], isLast: isLast }));
|
|
24
|
+
}
|
|
20
25
|
if (content.type === "toolCall") {
|
|
21
26
|
return (_jsx(ConversationToolCallContent, { name: content.name, isLoading: isLoading, arguments: content.arguments }));
|
|
22
27
|
}
|
|
23
28
|
if (content.type === "toolResult") {
|
|
24
29
|
return _jsx(ConversationToolResultContent, { result: content.result, isLoading: isLoading });
|
|
25
30
|
}
|
|
31
|
+
if (content.type === "skillsActivated") {
|
|
32
|
+
return _jsx(ConversationSkillActivatedContent, { skills: content.skills, isLoading: isLoading });
|
|
33
|
+
}
|
|
26
34
|
return null;
|
|
27
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemsGroup.d.ts","sourceRoot":"","sources":["../../../src/components/messages/ItemsGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAG1D,OAAO,EAAE,KAAK,SAAS,EAA2B,MAAM,YAAY,CAAC;AAKrE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAGnE,UAAU,gBAAgB;IACtB,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAsB9E;
|
|
1
|
+
{"version":3,"file":"ItemsGroup.d.ts","sourceRoot":"","sources":["../../../src/components/messages/ItemsGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAG1D,OAAO,EAAE,KAAK,SAAS,EAA2B,MAAM,YAAY,CAAC;AAKrE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAGnE,UAAU,gBAAgB;IACtB,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAsB9E;AA6ID,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAqBlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserItem.d.ts","sourceRoot":"","sources":["../../../src/components/messages/UserItem.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAKnE,KAAK,aAAa,GAAG;IACjB,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"UserItem.d.ts","sourceRoot":"","sources":["../../../src/components/messages/UserItem.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAKnE,KAAK,aAAa,GAAG;IACjB,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,aAAa,2CA2B3E"}
|
|
@@ -10,5 +10,5 @@ export function UserItemComponent({ message, isLast, groups }) {
|
|
|
10
10
|
const messageState = getItemState(message);
|
|
11
11
|
const references = useToolsReferences(groups);
|
|
12
12
|
const classNames = cx("gd-gen-ai-chat__messages__conversation", "gd-gen-ai-chat__messages__conversation--user", messageState === "cancelled" && "gd-gen-ai-chat__messages__conversation--cancelled");
|
|
13
|
-
return (_jsxs("div", { className: classNames, "data-state": messageState, children: [_jsx("span", { className: "gd-gen-ai-chat__visually__hidden", children: intl.formatMessage({ id: "gd.gen-ai.message.label.user" }) }), _jsx(ConversationItemContents, { role: "user", message: message, references: references, isLoading: messageState === "loading", isLast: isLast })] }));
|
|
13
|
+
return (_jsxs("div", { className: classNames, "data-state": messageState, children: [_jsx("span", { className: "gd-gen-ai-chat__visually__hidden", children: intl.formatMessage({ id: "gd.gen-ai.message.label.user" }) }), _jsx(ConversationItemContents, { role: "user", groups: groups, message: message, references: references, isLoading: messageState === "loading", isLast: isLast })] }));
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReasoningIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/contents/ReasoningIcon.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACtC,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,mBAAmB;IAChC,OAAO,EAAE,6BAA6B,GAAG,6BAA6B,GAAG,8BAA8B,CAAC;CAC3G;AAED,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ReasoningIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/contents/ReasoningIcon.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EACtC,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,mBAAmB;IAChC,OAAO,EAAE,6BAA6B,GAAG,6BAA6B,GAAG,8BAA8B,CAAC;CAC3G;AAED,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,2CAmB7D"}
|
|
@@ -7,6 +7,7 @@ export function ReasoningIcon({ content }) {
|
|
|
7
7
|
case "toolCall":
|
|
8
8
|
case "toolResult":
|
|
9
9
|
return (_jsx("div", { className: "gd-gen-ai-chat__icon__special", children: _jsx(UiIcon, { type: "code", size: 12 }) }));
|
|
10
|
+
case "skillsActivated":
|
|
10
11
|
default:
|
|
11
12
|
return _jsx("div", { className: "gd-gen-ai-chat__icon__point" });
|
|
12
13
|
}
|
package/esm/components/messages/conversationContents/ConversationClarifyingAnswersContent.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type IGenAiClarifyingAnswer } from "@gooddata/sdk-model";
|
|
2
|
+
import { type IChatConversationLocalItem, type TextContentObject } from "../../../model.js";
|
|
3
|
+
import type { IChatMessagesGroup } from "../../utils/groupUtility.js";
|
|
4
|
+
export type ConversationClarifyingAnswersContentProps = {
|
|
5
|
+
message: IChatConversationLocalItem;
|
|
6
|
+
groups: IChatMessagesGroup[];
|
|
7
|
+
objects?: TextContentObject[];
|
|
8
|
+
useMarkdown?: boolean;
|
|
9
|
+
answers: IGenAiClarifyingAnswer[];
|
|
10
|
+
isLast?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare function ConversationClarifyingAnswersContent(props: ConversationClarifyingAnswersContentProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=ConversationClarifyingAnswersContent.d.ts.map
|
package/esm/components/messages/conversationContents/ConversationClarifyingAnswersContent.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationClarifyingAnswersContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationClarifyingAnswersContent.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC5F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAOtE,MAAM,MAAM,yCAAyC,GAAG;IACpD,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,yCAAyC,2CA4CpG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2024-2026 GoodData Corporation
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
import { FormattedMessage } from "react-intl";
|
|
5
|
+
import { bemFactory } from "@gooddata/sdk-ui-kit";
|
|
6
|
+
import { MarkdownComponent } from "../contents/Markdown.js";
|
|
7
|
+
import { useConversationClarifyingRelatedQuestions } from "./useConversationClarifyingRelatedQuestions.js";
|
|
8
|
+
const bem = bemFactory("gd-gen-ai-chat-clarifying-questions");
|
|
9
|
+
export function ConversationClarifyingAnswersContent(props) {
|
|
10
|
+
const { answers, message, objects = [], groups, useMarkdown = false } = props;
|
|
11
|
+
const questions = useConversationClarifyingRelatedQuestions(groups, message);
|
|
12
|
+
if (questions.length === 0) {
|
|
13
|
+
return (_jsx("div", { className: "gd-gen-ai-chat__conversation__item__content--error", children: _jsx(FormattedMessage, { id: "gd.gen-ai.conversationContents.clarifyingAnswers.missing-error", values: {
|
|
14
|
+
b: (chunk) => _jsx("strong", { children: chunk }),
|
|
15
|
+
} }) }));
|
|
16
|
+
}
|
|
17
|
+
return (_jsx("div", { className: cx("gd-gen-ai-chat__conversation__item__content", bem.b()), children: questions.map((question, index) => {
|
|
18
|
+
const labelId = `${message.id}-clarifying-answer-${index}`;
|
|
19
|
+
const answer = answers.find((ans) => ans.questionIndex === index);
|
|
20
|
+
return (_jsxs("div", { children: [_jsx("div", { className: bem.e("header"), id: labelId, children: question.text }), answer ? (_jsx("div", { "aria-labelledby": labelId, children: _jsx(MarkdownComponent, { allowMarkdown: useMarkdown, references: objects, children: answer.answer.optionText }) })) : (_jsx("div", { "aria-labelledby": labelId, children: _jsx(FormattedMessage, { id: "gd.gen-ai.conversationContents.clarifyingAnswers.skipped" }) }))] }, index));
|
|
21
|
+
}) }));
|
|
22
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationMultipartContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationMultipartContent.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACzB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConversationMultipartContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationMultipartContent.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACzB,MAAM,mBAAmB,CAAC;AAW3B,MAAM,MAAM,iCAAiC,GAAG;IAC5C,OAAO,EAAE,0BAA0B,CAAC;IACpC,KAAK,EAAE,mCAAmC,EAAE,CAAC;IAC7C,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,4BAA4B,CAAC,EACzC,OAAO,EACP,KAAK,EACL,UAAU,EACV,MAAM,GACT,EAAE,iCAAiC,2CA6GnC"}
|
|
@@ -8,15 +8,14 @@ import { ConversationClarifyingQuestionsContent } from "./ConversationClarifying
|
|
|
8
8
|
import { ConversationDashboardContent } from "./ConversationDashboardContent.js";
|
|
9
9
|
import { ConversationPublisherDocumentContent } from "./ConversationPublisherDocumentContent.js";
|
|
10
10
|
import { ConversationSearchContent } from "./ConversationSearchContent.js";
|
|
11
|
-
import { ConversationTextContent } from "./ConversationTextContent.js";
|
|
12
11
|
import { ConversationWhatIfContent } from "./ConversationWhatIfContent.js";
|
|
13
12
|
export function ConversationMultipartContent({ message, parts, references, isLast, }) {
|
|
14
13
|
const intl = useIntl();
|
|
15
|
-
const { ConversationKdaContentComponent, ConversationVisualizationContentComponent } = useCustomization();
|
|
14
|
+
const { ConversationKdaContentComponent, ConversationVisualizationContentComponent, MessageTextContentComponent, } = useCustomization();
|
|
16
15
|
const whatIf = loadWhatIfScenarios(parts);
|
|
17
16
|
return (_jsx(_Fragment, { children: parts?.map((part, index) => {
|
|
18
17
|
if (part.type === "text") {
|
|
19
|
-
return (_jsx(
|
|
18
|
+
return (_jsx(MessageTextContentComponent, { text: part.text, objects: [...(part.objects ?? []), ...references] }, index));
|
|
20
19
|
}
|
|
21
20
|
if (part.type === "alertProposal") {
|
|
22
21
|
return (_jsx(ConversationAlertProposalContent, { message: message, part: part, alertProposal: part.alertProposal, objects: [...(part.objects ?? []), ...references] }, index));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type IChatConversationSkillActivatedContent } from "@gooddata/sdk-backend-spi";
|
|
2
|
+
export type ConversationSkillActivatedContentProps = {
|
|
3
|
+
skills: IChatConversationSkillActivatedContent["skills"];
|
|
4
|
+
className?: string;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare function ConversationSkillActivatedContent({ className, skills, }: ConversationSkillActivatedContentProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ConversationSkillActivatedContent.d.ts.map
|
package/esm/components/messages/conversationContents/ConversationSkillActivatedContent.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationSkillActivatedContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationSkillActivatedContent.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,2BAA2B,CAAC;AAGxF,MAAM,MAAM,sCAAsC,GAAG;IACjD,MAAM,EAAE,sCAAsC,CAAC,QAAQ,CAAC,CAAC;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,wBAAgB,iCAAiC,CAAC,EAC9C,SAAS,EACT,MAAM,GACT,EAAE,sCAAsC,2CA2BxC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2024-2026 GoodData Corporation
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
import { FormattedMessage } from "react-intl";
|
|
5
|
+
import { UiChip } from "@gooddata/sdk-ui-kit";
|
|
6
|
+
export function ConversationSkillActivatedContent({ className, skills, }) {
|
|
7
|
+
const classNames = cx("gd-gen-ai-chat__conversation__item__content", "gd-gen-ai-chat__conversation__item__content--skills", className);
|
|
8
|
+
return (_jsxs("div", { className: classNames, children: [_jsx("div", { className: "gd-gen-ai-chat__conversation__item__content--skills--header", children: _jsx(FormattedMessage, { id: "gd.gen-ai.messages.skills" }) }), _jsx("div", { className: "gd-gen-ai-chat__conversation__item__content--skills--content", children: skills.map((skill, index) => (_jsx(UiChip, { isDisabled: true, label: skill.title, isActionable: false, isDeletable: false, isExpandable: false, isActive: false }, index))) })] }));
|
|
9
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationVisualisationV2.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationVisualisationV2.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,qCAAqC,EAC1C,KAAK,sBAAsB,EAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEH,KAAK,aAAa,EAElB,KAAK,gBAAgB,EAGrB,KAAK,WAAW,EAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGH,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAInB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,KAAK,kCAAkC,EAE1C,MAAM,4BAA4B,CAAC;AAQpC,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConversationVisualisationV2.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationVisualisationV2.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,qCAAqC,EAC1C,KAAK,sBAAsB,EAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEH,KAAK,aAAa,EAElB,KAAK,gBAAgB,EAGrB,KAAK,WAAW,EAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGH,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAInB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,KAAK,kCAAkC,EAE1C,MAAM,4BAA4B,CAAC;AAQpC,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAsEpE,MAAM,MAAM,8BAA8B,GAAG;IACzC,OAAO,EAAE,0BAA0B,CAAC;IACpC,aAAa,EAAE,WAAW,CAAC,qCAAqC,CAAC,eAAe,CAAC,CAAC,CAAC;IACnF,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACzD,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,YAAY,CAAC,EAAE,CACX,IAAI,EAAE;QACF,aAAa,EAAE,kCAAkC,EAAE,CAAC;QACpD,KAAK,EAAE,WAAW,CAAC;KACtB,GAAG,IAAI,KACP,IAAI,CAAC;IACV,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,4BAA4B,CAAC,EAAE,OAAO,CAAC;CAC1C,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACtC,OAAO,EACP,YAAY,EACZ,UAAU,EACV,aAAa,EACb,UAAU,EACV,QAAQ,EACR,WAAW,EACX,OAAO,EACP,oBAAoB,EACpB,sBAAsB,EACtB,YAAY,EACZ,cAAqB,EACrB,oBAA4B,EAC5B,yBAAiC,EACjC,4BAAoC,GACvC,EAAE,8BAA8B,2CAqKhC"}
|
|
@@ -15,6 +15,7 @@ import { mapVisualizationForecastToChartConfig } from "../../../forecast/forecas
|
|
|
15
15
|
import { saveVisualisationRenderStatusAction, visualizationErrorAction, } from "../../../store/messages/messagesSlice.js";
|
|
16
16
|
import { storeKdaReturnFocusFromDrillContext } from "../../../utils/kdaReturnFocus.js";
|
|
17
17
|
import { changeAnalysisDrills } from "./utils/changeAnalysisDrills.js";
|
|
18
|
+
import { isViewableError } from "./utils/errors.js";
|
|
18
19
|
const visualizationTooltipOptions = {
|
|
19
20
|
tooltip: {
|
|
20
21
|
className: "gd-gen-ai-chat__vis_tooltip",
|
|
@@ -163,7 +164,7 @@ export function ConversationVisualisation({ message, colorPalette, separators, v
|
|
|
163
164
|
}, [onDrillFired, enableSecondGranularities]);
|
|
164
165
|
const locale = isLocale(intl.locale) ? intl.locale : DefaultLocale;
|
|
165
166
|
const currentError = renderError?.insight === insight ? renderError.error : undefined;
|
|
166
|
-
if (currentError) {
|
|
167
|
+
if (currentError && !isViewableError(currentError)) {
|
|
167
168
|
return _jsx(VisualizationError, { error: currentError, locale: locale });
|
|
168
169
|
}
|
|
169
170
|
return (_jsx(ScopedThemeProvider, { theme: kpiTheme, children: _jsx(InsightRenderer, { insight: insight, locale: locale, settings: settings, colorPalette: colorPalette, config: config, drillableItems: drillableItems, onDrill: handlerDrill, onError: handleSdkError, onLoadingChanged: handleLoadingChanged, onExportReady: handleSuccess, execConfig: execConfig }) }));
|
package/esm/components/messages/conversationContents/ConversationVisualizationContent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationVisualizationContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationVisualizationContent.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AA2BvF,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,mCAAmC,EAAE,MAAM,mBAAmB,CAAC;AAa9G,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAElF,OAAO,EAAE,KAAK,oDAAoD,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"ConversationVisualizationContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationVisualizationContent.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AA2BvF,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,mCAAmC,EAAE,MAAM,mBAAmB,CAAC;AAa9G,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAElF,OAAO,EAAE,KAAK,oDAAoD,EAAE,MAAM,2BAA2B,CAAC;AA6BtG,KAAK,wBAAwB,GAAG,aAAa,GAAG,aAAa,GAAG,aAAa,CAAC;AAE9E,wBAAgB,kCAAkC,CAAC,EAC/C,QAAQ,EACR,oBAAoB,EACpB,QAAQ,EACR,SAAS,GACZ,EAAE;IACC,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IACrC,SAAS,CAAC,EAAE,oDAAoD,CAAC,WAAW,CAAC,CAAC;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB,EAAE,OAAO,CAAC;CACjC,GAAG,wBAAwB,EAAE,CAyB7B;AAED,MAAM,MAAM,qCAAqC,GAAG;IAChD,OAAO,EAAE,0BAA0B,CAAC;IACpC,IAAI,EAAE,mCAAmC,CAAC;IAC1C,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IACrC,aAAa,EAAE,WAAW,CAAC,qCAAqC,CAAC,eAAe,CAAC,CAAC,CAAC;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,oDAAoD,CAAC,WAAW,CAAC,CAAC;IAC9E,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC,CAAC;AAEF,wBAAgB,gCAAgC,CAAC,EAC7C,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,SAAS,EACT,SAAS,EACT,uBAAuB,GAC1B,EAAE,qCAAqC,2CAsIvC"}
|
|
@@ -23,6 +23,7 @@ import { SaveVisualizationDialog } from "./SaveVisualizationDialog.js";
|
|
|
23
23
|
import { createKdaDefinitionFromDrill, getDashboardAttributeFilter } from "./useKdaDefinition.js";
|
|
24
24
|
import { useKdaEnabled } from "./useKdaEnabled.js";
|
|
25
25
|
import { useInsightSaveCheck } from "./useSaveCheck.js";
|
|
26
|
+
import { isFatalError } from "./utils/errors.js";
|
|
26
27
|
const MORE_MENU_BUTTON_ID = "gd-gen-ai-chat__conversation__visualization__save__more-menu-button";
|
|
27
28
|
const overlayAlignPoints = [{ align: "br tr" }];
|
|
28
29
|
export function getVisibleVisualisationMenuItemIds({ scenario, isVisualisationSaved, hasError, menuItems, }) {
|
|
@@ -72,12 +73,7 @@ export function ConversationVisualizationContent({ message, part, scenario, visu
|
|
|
72
73
|
const { onCopy, onOpen, onSave } = useHandlers({ visualization, setSaveDialogOpen });
|
|
73
74
|
const onVisualizationError = useCallback((error) => {
|
|
74
75
|
// Ignore some specific errors
|
|
75
|
-
const isFatal =
|
|
76
|
-
isNoDataSdkError(error) ||
|
|
77
|
-
isDataTooLargeToDisplay(error) ||
|
|
78
|
-
isDataTooLargeToCompute(error) ||
|
|
79
|
-
isForecastNotReceived(error) ||
|
|
80
|
-
isClusteringNotReceived(error));
|
|
76
|
+
const isFatal = isFatalError(error);
|
|
81
77
|
setVisError({ error, isFatal, visualizationId, isTable });
|
|
82
78
|
}, [isTable, visualizationId]);
|
|
83
79
|
const onVisualizationSuccess = useCallback(() => {
|
package/esm/components/messages/conversationContents/useConversationClarifyingQuestions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConversationClarifyingQuestions.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/useConversationClarifyingQuestions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAkC,MAAM,OAAO,CAAC;AAI3E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAGpE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,iBAAiB,EAAgB,MAAM,mBAAmB,CAAC;AAG1G,eAAO,MAAM,cAAc,gBAAgB,CAAC;AAE5C,MAAM,WAAW,wCAAwC;IACrD,SAAS,EAAE,wBAAwB,EAAE,CAAC;IACtC,OAAO,EAAE,0BAA0B,CAAC;IACpC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,wCAAwC;;;;+
|
|
1
|
+
{"version":3,"file":"useConversationClarifyingQuestions.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/useConversationClarifyingQuestions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAkC,MAAM,OAAO,CAAC;AAI3E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAGpE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,iBAAiB,EAAgB,MAAM,mBAAmB,CAAC;AAG1G,eAAO,MAAM,cAAc,gBAAgB,CAAC;AAE5C,MAAM,WAAW,wCAAwC;IACrD,SAAS,EAAE,wBAAwB,EAAE,CAAC;IACtC,OAAO,EAAE,0BAA0B,CAAC;IACpC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,wCAAwC;;;;+BAqD/E,wBAAwB,UAAU,MAAM;yBAqDxC,aAAa,CAAC,cAAc,CAAC;;;EAe/C"}
|
|
@@ -3,45 +3,58 @@ import { useCallback, useMemo, useState } from "react";
|
|
|
3
3
|
import { useDispatch } from "react-redux";
|
|
4
4
|
import { makeLinearKeyboardNavigation, useUiAutofocusConnectors } from "@gooddata/sdk-ui-kit";
|
|
5
5
|
import { makeUserItem } from "../../../model.js";
|
|
6
|
-
import { filledFormAction, newMessageAction
|
|
6
|
+
import { filledFormAction, newMessageAction } from "../../../store/messages/messagesSlice.js";
|
|
7
7
|
export const SKIP_BUTTON_ID = "skip-button";
|
|
8
8
|
export function useConversationClarifyingQuestions(props) {
|
|
9
9
|
const { questions, message, objects = [], isLast } = props;
|
|
10
10
|
const dispatch = useDispatch();
|
|
11
11
|
const [question, setQuestion] = useState(questions[0]);
|
|
12
|
-
const [answers, setAnswers] = useState(
|
|
12
|
+
const [answers, setAnswers] = useState([]);
|
|
13
13
|
const [index, setIndex] = useState(0);
|
|
14
14
|
const ref = useUiAutofocusConnectors({
|
|
15
15
|
active: isLast,
|
|
16
16
|
});
|
|
17
17
|
const onFinishAnswers = useCallback((newAnswers) => {
|
|
18
|
-
const entries = Object.entries(newAnswers);
|
|
19
18
|
dispatch(filledFormAction({
|
|
20
19
|
assistantMessageId: message.localId,
|
|
21
|
-
responses: newAnswers,
|
|
20
|
+
responses: newAnswers.reduce((acc, { question, answer }) => {
|
|
21
|
+
acc[question] = answer;
|
|
22
|
+
return acc;
|
|
23
|
+
}, {}),
|
|
22
24
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
dispatch(newMessageAction(makeUserItem({
|
|
26
|
+
type: "clarifyingAnswers",
|
|
27
|
+
questionsItemId: message.id,
|
|
28
|
+
answers: newAnswers.map(({ question, answer, questionIndex, optionIndex }) => {
|
|
29
|
+
return {
|
|
30
|
+
questionText: question,
|
|
31
|
+
questionIndex,
|
|
32
|
+
answer: {
|
|
33
|
+
optionIndex,
|
|
34
|
+
optionText: answer,
|
|
35
|
+
type: "singleChoice",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}),
|
|
39
|
+
objects,
|
|
40
|
+
})));
|
|
41
|
+
}, [objects, dispatch, message.localId, message.id]);
|
|
34
42
|
const onSelectOption = useCallback((question, option) => {
|
|
35
|
-
const
|
|
43
|
+
const index = questions.indexOf(question);
|
|
44
|
+
const newAnswers = [
|
|
36
45
|
...answers,
|
|
37
46
|
...(option === -1
|
|
38
|
-
?
|
|
39
|
-
:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
47
|
+
? []
|
|
48
|
+
: [
|
|
49
|
+
{
|
|
50
|
+
question: question.text,
|
|
51
|
+
answer: question.control.options[option].text,
|
|
52
|
+
optionIndex: option,
|
|
53
|
+
questionIndex: index,
|
|
54
|
+
},
|
|
55
|
+
]),
|
|
56
|
+
];
|
|
43
57
|
setAnswers(newAnswers);
|
|
44
|
-
const index = questions.indexOf(question);
|
|
45
58
|
const nextQuestion = questions[index + 1];
|
|
46
59
|
if (nextQuestion) {
|
|
47
60
|
setQuestion(nextQuestion);
|
package/esm/components/messages/conversationContents/useConversationClarifyingRelatedQuestions.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type IGenAiClarifyingQuestion } from "@gooddata/sdk-model";
|
|
2
|
+
import type { IChatConversationLocalItem } from "../../../model.js";
|
|
3
|
+
import type { IChatMessagesGroup } from "../../utils/groupUtility.js";
|
|
4
|
+
export declare function useConversationClarifyingRelatedQuestions(groups: IChatMessagesGroup[], message: IChatConversationLocalItem): IGenAiClarifyingQuestion[];
|
|
5
|
+
//# sourceMappingURL=useConversationClarifyingRelatedQuestions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConversationClarifyingRelatedQuestions.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/useConversationClarifyingRelatedQuestions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAEpE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,wBAAgB,yCAAyC,CACrD,MAAM,EAAE,kBAAkB,EAAE,EAC5B,OAAO,EAAE,0BAA0B,GACpC,wBAAwB,EAAE,CAyB5B"}
|
package/esm/components/messages/conversationContents/useConversationClarifyingRelatedQuestions.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
export function useConversationClarifyingRelatedQuestions(groups, message) {
|
|
3
|
+
if (message.content.type !== "clarifyingAnswers") {
|
|
4
|
+
return [];
|
|
5
|
+
}
|
|
6
|
+
const questionsItemId = message.content.questionsItemId;
|
|
7
|
+
let found;
|
|
8
|
+
groups.forEach((group) => {
|
|
9
|
+
group.messages.forEach((msg) => {
|
|
10
|
+
const content = msg.content;
|
|
11
|
+
if (content.type === "multipart") {
|
|
12
|
+
content.parts.forEach((part) => {
|
|
13
|
+
if (part.type === "clarifyingQuestions" && msg.id === questionsItemId) {
|
|
14
|
+
found = part;
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
if (!found) {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
return found.questions;
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type GoodDataSdkError } from "@gooddata/sdk-ui";
|
|
2
|
+
/**
|
|
3
|
+
* Determines whether the provided error is a fatal error.
|
|
4
|
+
*
|
|
5
|
+
* This function evaluates the given error and checks if it is not one of the known
|
|
6
|
+
* non-fatal error types, such as negative values, no data, data too large to display,
|
|
7
|
+
* data too large to compute, forecast not received, or clustering not received.
|
|
8
|
+
*
|
|
9
|
+
* @param {Error | GoodDataSdkError | null | undefined} error - The error to evaluate.
|
|
10
|
+
* @return {boolean} Returns true if the error is considered fatal, otherwise false.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isFatalError(error?: Error | GoodDataSdkError | null): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Determines if the provided error is viewable, based on specific error conditions.
|
|
15
|
+
*
|
|
16
|
+
* @param {Error | GoodDataSdkError | null | undefined} error - The error object to evaluate. It can be an instance of Error, GoodDataSdkError, null, or undefined.
|
|
17
|
+
* @return {boolean} Returns true if the error is viewable, otherwise false.
|
|
18
|
+
*/
|
|
19
|
+
export declare function isViewableError(error?: Error | GoodDataSdkError | null): error is import("@gooddata/sdk-ui").ClusteringNotReceivedSdkError | import("@gooddata/sdk-ui").ForecastNotReceivedSdkError | GoodDataSdkError;
|
|
20
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../src/components/messages/conversationContents/utils/errors.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EAOxB,MAAM,kBAAkB,CAAC;AAE1B;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,gBAAgB,GAAG,IAAI,WASnE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,gBAAgB,GAAG,IAAI,iJAEtE"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { isClusteringNotReceived, isDataTooLargeToCompute, isDataTooLargeToDisplay, isForecastNotReceived, isNegativeValues, isNoDataSdkError, } from "@gooddata/sdk-ui";
|
|
3
|
+
/**
|
|
4
|
+
* Determines whether the provided error is a fatal error.
|
|
5
|
+
*
|
|
6
|
+
* This function evaluates the given error and checks if it is not one of the known
|
|
7
|
+
* non-fatal error types, such as negative values, no data, data too large to display,
|
|
8
|
+
* data too large to compute, forecast not received, or clustering not received.
|
|
9
|
+
*
|
|
10
|
+
* @param {Error | GoodDataSdkError | null | undefined} error - The error to evaluate.
|
|
11
|
+
* @return {boolean} Returns true if the error is considered fatal, otherwise false.
|
|
12
|
+
*/
|
|
13
|
+
export function isFatalError(error) {
|
|
14
|
+
return !(isNegativeValues(error) ||
|
|
15
|
+
isNoDataSdkError(error) ||
|
|
16
|
+
isDataTooLargeToDisplay(error) ||
|
|
17
|
+
isDataTooLargeToCompute(error) ||
|
|
18
|
+
isForecastNotReceived(error) ||
|
|
19
|
+
isClusteringNotReceived(error));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Determines if the provided error is viewable, based on specific error conditions.
|
|
23
|
+
*
|
|
24
|
+
* @param {Error | GoodDataSdkError | null | undefined} error - The error object to evaluate. It can be an instance of Error, GoodDataSdkError, null, or undefined.
|
|
25
|
+
* @return {boolean} Returns true if the error is viewable, otherwise false.
|
|
26
|
+
*/
|
|
27
|
+
export function isViewableError(error) {
|
|
28
|
+
return isForecastNotReceived(error) || isClusteringNotReceived(error);
|
|
29
|
+
}
|
|
@@ -52,8 +52,9 @@ function getMessageType(message) {
|
|
|
52
52
|
if (message.role === "system") {
|
|
53
53
|
return "system";
|
|
54
54
|
}
|
|
55
|
-
if (message.
|
|
56
|
-
message.
|
|
55
|
+
if (message.role === "tool" ||
|
|
56
|
+
message.content.type === "reasoning" ||
|
|
57
|
+
message.content.type === "skillsActivated" ||
|
|
57
58
|
message.content.type === "toolCall" ||
|
|
58
59
|
message.content.type === "toolResult") {
|
|
59
60
|
return "reasoning";
|
package/esm/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { GenAIConversations, type GenAIConversationsProps } from "./components/G
|
|
|
8
8
|
export { GenAiStore, type GenAiStoreProps } from "./components/GenAiStore.js";
|
|
9
9
|
export { GenAiKeyDriverAnalysis, type GenAiKeyDriverAnalysisProps, } from "./components/GenAiKeyDriverAnalysis.js";
|
|
10
10
|
export { makeUserItem, makeAssistantItem, type TextContentObject, type IChatConversationLocalContent, type IChatConversationLocalItem, type IChatConversationErrorContent, type IChatConversationMultipartLocalPart, type IChatConversationLocal, type IChatConversationSystemContent, type GenAIAgent, } from "./model.js";
|
|
11
|
-
export { type ChatEventHandler, type BaseEvent, type ChatAssistantMessageEvent, type ChatUserMessageEvent, type ChatClosedEvent, type ChatOpenedEvent, type ChatResetEvent, type ChatFeedbackEvent, type ChatFeedbackErrorEvent, type ChatEvent, type ChatVisualizationErrorEvent, type ChatSaveVisualizationErrorEvent, type ChatSaveVisualizationSuccessEvent, type ChatCopyToClipboardEvent, type ChatConversationPinnedEvent, type ChatConversationPinErrorEvent, type ChatConversationDeleteEvent, type ChatConversationDeletedSuccessEvent, type ChatConversationDeletedErrorEvent, type ChatConversationRenameEvent, type ChatConversationRenamedSuccessEvent, type ChatConversationRenamedErrorEvent, type ChatConversationChangedEvent, type ChatDefinitionReceivedEvent, type ChatModeChangeEvent, type ChatAgentChangeEvent, type ChatContextChangeEvent, type ChatClarificationQuestion, type ChatClarificationQuestionsEvent, isChatAssistantMessageEvent, isChatUserMessageEvent, isChatClosedEvent, isChatOpenedEvent, isChatResetEvent, isChatFeedbackEvent, isChatFeedbackErrorEvent, isChatVisualizationErrorEvent, isChatSaveVisualizationErrorEvent, isChatSaveVisualizationSuccessEvent, isChatCopyToClipboardEvent, isChatConversationPinnedEvent, isChatConversationPinErrorEvent, isChatConversationDeleteEvent, isChatConversationDeletedErrorEvent, isChatConversationDeletedSuccessEvent, isChatConversationRenameEvent, isChatConversationRenamedSuccessEvent, isChatConversationRenamedErrorEvent, isChatConversationChangedEvent, isChatDefinitionReceivedEvent, isChatModeChangeEvent, isChatAgentChangeEvent, isChatContextChangeEvent, isChatClarificationQuestionsEvent, } from "./store/events.js";
|
|
11
|
+
export { type ChatEventHandler, type BaseEvent, type ChatAssistantMessageEvent, type ChatUserMessageEvent, type ChatClosedEvent, type ChatOpenedEvent, type ChatResetEvent, type ChatFeedbackEvent, type ChatFeedbackErrorEvent, type ChatEvent, type ChatVisualizationErrorEvent, type ChatSaveVisualizationErrorEvent, type ChatSaveVisualizationSuccessEvent, type ChatCopyToClipboardEvent, type ChatConversationPinnedEvent, type ChatConversationPinErrorEvent, type ChatConversationDeleteEvent, type ChatConversationDeletedSuccessEvent, type ChatConversationDeletedErrorEvent, type ChatConversationRenameEvent, type ChatConversationRenamedSuccessEvent, type ChatConversationRenamedErrorEvent, type ChatConversationChangedEvent, type ChatDefinitionReceivedEvent, type ChatModeChangeEvent, type ChatAgentChangeEvent, type ChatContextChangeEvent, type ChatClarificationAnswer, type ChatClarificationQuestion, type ChatClarificationQuestionsEvent, type ChatUserAnswersEvent, isChatAssistantMessageEvent, isChatUserMessageEvent, isChatClosedEvent, isChatOpenedEvent, isChatResetEvent, isChatFeedbackEvent, isChatFeedbackErrorEvent, isChatVisualizationErrorEvent, isChatSaveVisualizationErrorEvent, isChatSaveVisualizationSuccessEvent, isChatCopyToClipboardEvent, isChatConversationPinnedEvent, isChatConversationPinErrorEvent, isChatConversationDeleteEvent, isChatConversationDeletedErrorEvent, isChatConversationDeletedSuccessEvent, isChatConversationRenameEvent, isChatConversationRenamedSuccessEvent, isChatConversationRenamedErrorEvent, isChatConversationChangedEvent, isChatDefinitionReceivedEvent, isChatModeChangeEvent, isChatAgentChangeEvent, isChatContextChangeEvent, isChatClarificationQuestionsEvent, isChatUserAnswersEvent, } from "./store/events.js";
|
|
12
12
|
export { clearThreadAction, newMessageAction, startNewConversationAction, setCurrentConversationAction, setSelectedAgentAction, renameConversationAction, deleteConversationAction, pinConversationAction, publisherDocumentSavedAction, dashboardSavedAction, } from "./store/messages/messagesSlice.js";
|
|
13
13
|
export { setFullscreenAction, setUserContextAction, setAmbientUserContextAction, } from "./store/chatWindow/chatWindowSlice.js";
|
|
14
14
|
export { type LinkHandlerEvent, type GenAIAssistantMode, type GenAIAssistantDisplayMode, } from "./components/ConfigContext.js";
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AAEH,OAAO,EACH,SAAS,EACT,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,mBAAmB,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AACtG,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE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MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,qDAAqD,CAAC;AACtG,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,EAAE,+BAA+B,EAAE,MAAM,qDAAqD,CAAC;AACtG,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC"}
|
package/esm/index.js
CHANGED
|
@@ -10,7 +10,7 @@ export { GenAIConversations } from "./components/GenAiConversations.js";
|
|
|
10
10
|
export { GenAiStore } from "./components/GenAiStore.js";
|
|
11
11
|
export { GenAiKeyDriverAnalysis, } from "./components/GenAiKeyDriverAnalysis.js";
|
|
12
12
|
export { makeUserItem, makeAssistantItem, } from "./model.js";
|
|
13
|
-
export { isChatAssistantMessageEvent, isChatUserMessageEvent, isChatClosedEvent, isChatOpenedEvent, isChatResetEvent, isChatFeedbackEvent, isChatFeedbackErrorEvent, isChatVisualizationErrorEvent, isChatSaveVisualizationErrorEvent, isChatSaveVisualizationSuccessEvent, isChatCopyToClipboardEvent, isChatConversationPinnedEvent, isChatConversationPinErrorEvent, isChatConversationDeleteEvent, isChatConversationDeletedErrorEvent, isChatConversationDeletedSuccessEvent, isChatConversationRenameEvent, isChatConversationRenamedSuccessEvent, isChatConversationRenamedErrorEvent, isChatConversationChangedEvent, isChatDefinitionReceivedEvent, isChatModeChangeEvent, isChatAgentChangeEvent, isChatContextChangeEvent, isChatClarificationQuestionsEvent, } from "./store/events.js";
|
|
13
|
+
export { isChatAssistantMessageEvent, isChatUserMessageEvent, isChatClosedEvent, isChatOpenedEvent, isChatResetEvent, isChatFeedbackEvent, isChatFeedbackErrorEvent, isChatVisualizationErrorEvent, isChatSaveVisualizationErrorEvent, isChatSaveVisualizationSuccessEvent, isChatCopyToClipboardEvent, isChatConversationPinnedEvent, isChatConversationPinErrorEvent, isChatConversationDeleteEvent, isChatConversationDeletedErrorEvent, isChatConversationDeletedSuccessEvent, isChatConversationRenameEvent, isChatConversationRenamedSuccessEvent, isChatConversationRenamedErrorEvent, isChatConversationChangedEvent, isChatDefinitionReceivedEvent, isChatModeChangeEvent, isChatAgentChangeEvent, isChatContextChangeEvent, isChatClarificationQuestionsEvent, isChatUserAnswersEvent, } from "./store/events.js";
|
|
14
14
|
export { clearThreadAction, newMessageAction, startNewConversationAction, setCurrentConversationAction, setSelectedAgentAction, renameConversationAction, deleteConversationAction, pinConversationAction, publisherDocumentSavedAction, dashboardSavedAction, } from "./store/messages/messagesSlice.js";
|
|
15
15
|
export { setFullscreenAction, setUserContextAction, setAmbientUserContextAction, } from "./store/chatWindow/chatWindowSlice.js";
|
|
16
16
|
export { useGenAiChatAvailability } from "./hooks/useGenAiChatAvailability.js";
|
|
@@ -29,6 +29,8 @@ export declare const de_DE: {
|
|
|
29
29
|
"gd.gen-ai.visualization.unavailable": string;
|
|
30
30
|
"gd.gen-ai.permission-error": string;
|
|
31
31
|
"gd.gen-ai.permission-error.description": string;
|
|
32
|
+
"gd.gen-ai.conversationContents.clarifyingAnswers.missing-error": string;
|
|
33
|
+
"gd.gen-ai.conversationContents.clarifyingAnswers.skipped": string;
|
|
32
34
|
"gd.gen-ai.input-placeholder": string;
|
|
33
35
|
"gd.gen-ai.input-label": string;
|
|
34
36
|
"gd.gen-ai.context.add_context": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de-DE.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/de-DE.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;IACd,wBAAwB;IACxB,oCAAoC;IACpC,uCAAuC;IACvC,yCAAyC;IACzC,oCAAoC;IACpC,4CAA4C;IAC5C,gCAAgC;IAChC,kCAAkC;IAClC,kCAAkC;IAClC,qCAAqC;IACrC,sCAAsC;IACtC,8CAA8C;IAC9C,qCAAqC;IACrC,yBAAyB;IACzB,qCAAqC;IACrC,2CAA2C;IAC3C,uCAAuC;IACvC,8CAA8C;IAC9C,4DAA4D;IAC5D,oCAAoC;IACpC,gDAAgD;IAChD,wDAAwD;IACxD,uCAAuC;IACvC,+CAA+C;IAC/C,wCAAwC;IACxC,0CAA0C;IAC1C,8CAA8C;IAC9C,qCAAqC;IACrC,4BAA4B;IAC5B,wCAAwC;IACxC,6BAA6B;IAC7B,uBAAuB;IACvB,+BAA+B;IAC/B,4BAA4B;IAC5B,sCAAsC;IACtC,uCAAuC;IACvC,2BAA2B;IAC3B,yBAAyB;IACzB,mCAAmC;IACnC,kCAAkC;IAClC,0CAA0C;IAC1C,sCAAsC;IACtC,sCAAsC;IACtC,wCAAwC;IACxC,yCAAyC;IACzC,sCAAsC;IACtC,kCAAkC;IAClC,4BAA4B;IAC5B,wBAAwB;IACxB,kCAAkC;IAClC,sCAAsC;IACtC,oCAAoC;IACpC,kCAAkC;IAClC,mCAAmC;IACnC,kBAAkB;IAClB,0BAA0B;IAC1B,mCAAmC;IACnC,iDAAiD;IACjD,6BAA6B;IAC7B,8CAA8C;IAC9C,0BAA0B;IAC1B,iBAAiB;IACjB,2BAA2B;IAC3B,oCAAoC;IACpC,qBAAqB;IACrB,mCAAmC;IACnC,2BAA2B;IAC3B,gCAAgC;IAChC,uCAAuC;IACvC,8BAA8B;IAC9B,mCAAmC;IACnC,0CAA0C;IAC1C,yBAAyB;IACzB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C1D,4DAA4D;IAC5D,yDAAyD;IACzD,wDAAwD;IACxD,0DAA0D;IAC1D,iDAAiD;IACjD,gDAAgD;IAChD,qDAAqD;IACrD,qDAAqD;IACrD,oDAAoD;IACpD,gDAAgD;IAChD,oDAAoD;IACpD,oDAAoD;IACpD,oDAAoD;IACpD,oDAAoD;IACpD,iDAAiD;IACjD,gDAAgD;IAChD,2DAA2D;IAC3D,mDAAmD;IACnD,gDAAgD;IAChD,+CAA+C;IAC/C,kDAAkD;IAClD,oDAAoD;IACpD,qDAAqD;IACrD,wDAAwD;IACxD,iDAAiD;IACjD,qDAAqD;IACrD,oDAAoD;IACpD,0DAA0D;IAC1D,yDAAyD;IACzD,wDAAwD;IACxD,sDAAsD;IACtD,qDAAqD;IACrD,qDAAqD;IACrD,sDAAsD;IACtD,+DAA+D;IAC/D,2DAA2D;IAC3D,mEAAmE;IACnE,mEAAmE;IACnE,wDAAwD;IACxD,+DAA+D;IAC/D,+DAA+D;IAC/D,qEAAqE;IACrE,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,oBAAoB;IACpB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;IACpB,qBAAqB;CACxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"de-DE.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/de-DE.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;IACd,wBAAwB;IACxB,oCAAoC;IACpC,uCAAuC;IACvC,yCAAyC;IACzC,oCAAoC;IACpC,4CAA4C;IAC5C,gCAAgC;IAChC,kCAAkC;IAClC,kCAAkC;IAClC,qCAAqC;IACrC,sCAAsC;IACtC,8CAA8C;IAC9C,qCAAqC;IACrC,yBAAyB;IACzB,qCAAqC;IACrC,2CAA2C;IAC3C,uCAAuC;IACvC,8CAA8C;IAC9C,4DAA4D;IAC5D,oCAAoC;IACpC,gDAAgD;IAChD,wDAAwD;IACxD,uCAAuC;IACvC,+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AAqD;IACrD,qDAAqD;IACrD,sDAAsD;IACtD,+DAA+D;IAC/D,2DAA2D;IAC3D,mEAAmE;IACnE,mEAAmE;IACnE,wDAAwD;IACxD,+DAA+D;IAC/D,+DAA+D;IAC/D,qEAAqE;IACrE,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,oBAAoB;IACpB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;IACpB,qBAAqB;CACxB,CAAC"}
|
|
@@ -31,6 +31,8 @@ export const de_DE = {
|
|
|
31
31
|
"gd.gen-ai.visualization.unavailable": "Visualisierung konnte nicht angezeigt werden.",
|
|
32
32
|
"gd.gen-ai.permission-error": "Fehlende Berechtigungen",
|
|
33
33
|
"gd.gen-ai.permission-error.description": "Sie haben keinen Zugriff auf den Chatbot. Wenden Sie sich an Ihren Administrator, um den Zugriff anzufordern.",
|
|
34
|
+
"gd.gen-ai.conversationContents.clarifyingAnswers.missing-error": "<b>Keine klärenden Fragen gefunden.</b> Versuchen Sie, erneut zu fragen.",
|
|
35
|
+
"gd.gen-ai.conversationContents.clarifyingAnswers.skipped": "[Übersprungen]",
|
|
34
36
|
"gd.gen-ai.input-placeholder": "Fragen Sie hier…",
|
|
35
37
|
"gd.gen-ai.input-label": "Stellen Sie Ihre Frage. Geben Sie @ ein, um Vorschläge anzuzeigen.",
|
|
36
38
|
"gd.gen-ai.context.add_context": "Kontext hinzufügen",
|
|
@@ -29,6 +29,8 @@ export declare const en_AU: {
|
|
|
29
29
|
"gd.gen-ai.visualization.unavailable": string;
|
|
30
30
|
"gd.gen-ai.permission-error": string;
|
|
31
31
|
"gd.gen-ai.permission-error.description": string;
|
|
32
|
+
"gd.gen-ai.conversationContents.clarifyingAnswers.missing-error": string;
|
|
33
|
+
"gd.gen-ai.conversationContents.clarifyingAnswers.skipped": string;
|
|
32
34
|
"gd.gen-ai.input-placeholder": string;
|
|
33
35
|
"gd.gen-ai.input-label": string;
|
|
34
36
|
"gd.gen-ai.context.add_context": string;
|