@gooddata/sdk-ui-gen-ai 11.60.0-alpha.2 → 11.60.0-alpha.3
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/esm/components/GenAIChatContextIndicator.d.ts.map +1 -1
- package/esm/components/GenAIChatContextIndicator.js +12 -1
- package/esm/components/GenAIStandaloneInput.d.ts +10 -0
- package/esm/components/GenAIStandaloneInput.d.ts.map +1 -1
- package/esm/components/GenAIStandaloneInput.js +8 -3
- package/esm/components/GenAiChatAgentSwitching.d.ts +2 -0
- package/esm/components/GenAiChatAgentSwitching.d.ts.map +1 -1
- package/esm/components/GenAiChatAgentSwitching.js +2 -2
- package/esm/components/Input.d.ts.map +1 -1
- package/esm/components/Input.js +3 -6
- package/esm/components/messages/components/SemanticSearchTreeView.d.ts.map +1 -1
- package/esm/components/messages/components/SemanticSearchTreeView.js +0 -2
- package/esm/components/messages/contents/CustomHyperlink.d.ts.map +1 -1
- package/esm/components/messages/contents/CustomHyperlink.js +4 -7
- package/esm/components/messages/conversationContents/ConversationDashboardContent.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/ConversationDashboardContent.js +20 -3
- package/esm/components/messages/conversationContents/ConversationVisualizationContent.d.ts +2 -1
- package/esm/components/messages/conversationContents/ConversationVisualizationContent.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/ConversationVisualizationContent.js +15 -12
- package/esm/context/build.d.ts.map +1 -1
- package/esm/context/build.js +1 -3
- package/esm/hooks/useGenAIStandaloneInputData.d.ts +2 -1
- package/esm/hooks/useGenAIStandaloneInputData.d.ts.map +1 -1
- package/esm/hooks/useGenAIStandaloneInputData.js +17 -4
- 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 +1 -5
- package/esm/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/de-DE.localization-bundle.js +2 -6
- package/esm/localization/bundles/en-AU.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-AU.localization-bundle.js +2 -6
- package/esm/localization/bundles/en-GB.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-GB.localization-bundle.js +2 -6
- package/esm/localization/bundles/en-US.localization-bundle.d.ts +12 -16
- package/esm/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-US.localization-bundle.js +15 -19
- package/esm/localization/bundles/es-419.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/es-419.localization-bundle.js +2 -6
- package/esm/localization/bundles/es-ES.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/es-ES.localization-bundle.js +2 -6
- package/esm/localization/bundles/fi-FI.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fi-FI.localization-bundle.js +2 -6
- package/esm/localization/bundles/fr-CA.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fr-CA.localization-bundle.js +2 -6
- package/esm/localization/bundles/fr-FR.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fr-FR.localization-bundle.js +2 -6
- package/esm/localization/bundles/id-ID.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/id-ID.localization-bundle.js +2 -6
- package/esm/localization/bundles/it-IT.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/it-IT.localization-bundle.js +2 -6
- package/esm/localization/bundles/ja-JP.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ja-JP.localization-bundle.js +2 -6
- package/esm/localization/bundles/ko-KR.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ko-KR.localization-bundle.js +2 -6
- package/esm/localization/bundles/nl-NL.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/nl-NL.localization-bundle.js +2 -6
- package/esm/localization/bundles/pl-PL.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pl-PL.localization-bundle.js +2 -6
- package/esm/localization/bundles/pt-BR.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pt-BR.localization-bundle.js +2 -6
- package/esm/localization/bundles/pt-PT.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pt-PT.localization-bundle.js +2 -6
- package/esm/localization/bundles/ru-RU.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ru-RU.localization-bundle.js +2 -6
- package/esm/localization/bundles/sl-SI.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/sl-SI.localization-bundle.js +2 -6
- package/esm/localization/bundles/th-TH.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/th-TH.localization-bundle.js +2 -6
- package/esm/localization/bundles/tr-TR.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/tr-TR.localization-bundle.js +2 -6
- package/esm/localization/bundles/uk-UA.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/uk-UA.localization-bundle.js +2 -6
- package/esm/localization/bundles/vi-VN.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/vi-VN.localization-bundle.js +2 -6
- package/esm/localization/bundles/zh-HK.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-HK.localization-bundle.js +2 -6
- package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-Hans.localization-bundle.js +2 -6
- package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts +1 -5
- package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-Hant.localization-bundle.js +2 -6
- package/esm/model.d.ts +5 -0
- package/esm/model.d.ts.map +1 -1
- package/esm/sdk-ui-gen-ai.d.ts +37 -0
- package/esm/store/messages/messagesSlice.d.ts +23 -11
- package/esm/store/messages/messagesSlice.d.ts.map +1 -1
- package/esm/store/messages/messagesSlice.js +13 -1
- package/esm/store/sideEffects/loadAgents.js +1 -0
- package/esm/store/sideEffects/onVisualizationSuccessSave.d.ts +1 -2
- package/esm/store/sideEffects/onVisualizationSuccessSave.d.ts.map +1 -1
- package/esm/store/sideEffects/onVisualizationSuccessSave.js +2 -5
- package/esm/utils.d.ts +2 -2
- package/esm/utils.d.ts.map +1 -1
- package/esm/utils.js +5 -9
- package/package.json +20 -20
- package/styles/css/main.css +54 -60
- package/styles/css/main.css.map +1 -1
- package/styles/css/messages.css +54 -60
- package/styles/css/messages.css.map +1 -1
- package/styles/scss/messages.scss +56 -10
package/esm/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EAExB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,gBAAgB,EAExB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,eAAe,GAAG,SAAS,CAAC;IACrG,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,iBAAiB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,CAAC;KACtB,CAAC;IACF,KAAK,CAAC,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAClC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,SAAU,qBAAqB,KAAG,0BAKjE,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB,aAChB,6BAA6B,OAClC,MAAM,aACA,OAAO,KACnB,0BAYD,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY,aACX,6BAA6B,OAClC,MAAM,KACZ,0BAYD,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,6BAG7B;IACC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,0BAWF,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB,YAAa,MAAM,SAAS,MAAM,KAAG,6BAIhE,CAAC"}
|
package/esm/sdk-ui-gen-ai.d.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import { ActionCreatorWithoutPayload } from '@reduxjs/toolkit';
|
|
8
8
|
import { ActionCreatorWithPayload } from '@reduxjs/toolkit';
|
|
9
|
+
import { AgentCustomSkill } from '@gooddata/sdk-model';
|
|
9
10
|
import { CatalogItem } from '@gooddata/sdk-model';
|
|
10
11
|
import { ComponentType } from 'react';
|
|
11
12
|
import { DashboardSelectorEvaluator } from '@gooddata/sdk-ui-dashboard';
|
|
@@ -480,6 +481,16 @@ export declare function DefaultMessageTextContent(props: IGenAIAssistantMessageT
|
|
|
480
481
|
*/
|
|
481
482
|
export declare function DefaultUserMessage(props: IGenAIAssistantUserMessageProps): JSX.Element;
|
|
482
483
|
|
|
484
|
+
/**
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
export declare const /**
|
|
488
|
+
* @public
|
|
489
|
+
*/
|
|
490
|
+
deleteConversationAction: ActionCreatorWithPayload< {
|
|
491
|
+
conversation: IChatConversationLocal;
|
|
492
|
+
}, "messages/deleteConversationAction">;
|
|
493
|
+
|
|
483
494
|
/**
|
|
484
495
|
* @public
|
|
485
496
|
* Describes an AI assistant agent.
|
|
@@ -505,6 +516,10 @@ export declare type GenAIAgent = {
|
|
|
505
516
|
* The date and time when the agent was last used.
|
|
506
517
|
*/
|
|
507
518
|
lastUsedAt?: string;
|
|
519
|
+
/**
|
|
520
|
+
* A list of skills that the agent can perform.
|
|
521
|
+
*/
|
|
522
|
+
effectiveSkills?: AgentCustomSkill[];
|
|
508
523
|
};
|
|
509
524
|
|
|
510
525
|
/**
|
|
@@ -1579,6 +1594,28 @@ export declare const /**
|
|
|
1579
1594
|
*/
|
|
1580
1595
|
newMessageAction: ActionCreatorWithPayload<IChatConversationLocalItem, "messages/newMessageAction">;
|
|
1581
1596
|
|
|
1597
|
+
/**
|
|
1598
|
+
* @public
|
|
1599
|
+
*/
|
|
1600
|
+
export declare const /**
|
|
1601
|
+
* @public
|
|
1602
|
+
*/
|
|
1603
|
+
pinConversationAction: ActionCreatorWithPayload< {
|
|
1604
|
+
conversation: IChatConversationLocal;
|
|
1605
|
+
pinned: boolean;
|
|
1606
|
+
}, "messages/pinConversationAction">;
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* @public
|
|
1610
|
+
*/
|
|
1611
|
+
export declare const /**
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1614
|
+
renameConversationAction: ActionCreatorWithPayload< {
|
|
1615
|
+
conversation: IChatConversationLocal;
|
|
1616
|
+
title: string;
|
|
1617
|
+
}, "messages/renameConversationAction">;
|
|
1618
|
+
|
|
1582
1619
|
/**
|
|
1583
1620
|
* @public
|
|
1584
1621
|
*/
|
|
@@ -178,29 +178,21 @@ export declare const loadThreadAction: import("@reduxjs/toolkit").ActionCreatorW
|
|
|
178
178
|
conversationLocalId: string;
|
|
179
179
|
}, "messages/revertAgentSwitchAction">, setAgentsAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
180
180
|
agents: GenAIAgent[] | undefined;
|
|
181
|
-
}, "messages/setAgentsAction">, setAgentsLoadingAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"messages/setAgentsLoadingAction">,
|
|
182
|
-
conversation: IChatConversationLocal;
|
|
183
|
-
pinned: boolean;
|
|
184
|
-
}, "messages/pinConversationAction">, pinConversationSuccessAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
181
|
+
}, "messages/setAgentsAction">, setAgentsLoadingAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"messages/setAgentsLoadingAction">, pinConversationSuccessAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
185
182
|
conversation: IChatConversationLocal;
|
|
186
183
|
pinned: boolean;
|
|
187
184
|
}, "messages/pinConversationSuccessAction">, pinConversationFailureAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
188
185
|
conversation: IChatConversationLocal;
|
|
189
186
|
error: Error;
|
|
190
187
|
pinned?: boolean;
|
|
191
|
-
}, "messages/pinConversationFailureAction">,
|
|
192
|
-
conversation: IChatConversationLocal;
|
|
193
|
-
title: string;
|
|
194
|
-
}, "messages/renameConversationAction">, renameConversationSuccessAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
188
|
+
}, "messages/pinConversationFailureAction">, renameConversationSuccessAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
195
189
|
conversation: IChatConversationLocal;
|
|
196
190
|
title: string;
|
|
197
191
|
}, "messages/renameConversationSuccessAction">, renameConversationFailureAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
198
192
|
conversation: IChatConversationLocal;
|
|
199
193
|
error: Error;
|
|
200
194
|
title?: string;
|
|
201
|
-
}, "messages/renameConversationFailureAction">,
|
|
202
|
-
conversation: IChatConversationLocal;
|
|
203
|
-
}, "messages/deleteConversationAction">, deleteConversationStartAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
195
|
+
}, "messages/renameConversationFailureAction">, deleteConversationStartAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
204
196
|
conversation: IChatConversationLocal;
|
|
205
197
|
}, "messages/deleteConversationStartAction">, deleteConversationSuccessAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
206
198
|
conversation: IChatConversationLocal;
|
|
@@ -210,6 +202,26 @@ export declare const loadThreadAction: import("@reduxjs/toolkit").ActionCreatorW
|
|
|
210
202
|
}, "messages/deleteConversationFailureAction">, filledFormAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
211
203
|
assistantMessageId: string;
|
|
212
204
|
}, "messages/filledFormAction">, refocusInput: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"messages/refocusInput">,
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
renameConversationAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
209
|
+
conversation: IChatConversationLocal;
|
|
210
|
+
title: string;
|
|
211
|
+
}, "messages/renameConversationAction">,
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
pinConversationAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
216
|
+
conversation: IChatConversationLocal;
|
|
217
|
+
pinned: boolean;
|
|
218
|
+
}, "messages/pinConversationAction">,
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
deleteConversationAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
223
|
+
conversation: IChatConversationLocal;
|
|
224
|
+
}, "messages/deleteConversationAction">,
|
|
213
225
|
/**
|
|
214
226
|
* @public
|
|
215
227
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messagesSlice.d.ts","sour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;wBACN,MAAM;aACjB,OAAO;wCAoU5B,wBAAwB;qBApSK,MAAM;wBACH,MAAM;yCAoStC,4BAA4B;WAxQT;QACH,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACnB;qBACgB,MAAM;wBACH,MAAM;qBACT,MAAM;6CAmQnC,8BAA8B;qBApOD,MAAM;wBACH,MAAM;0BACJ,MAAM;qBACX,MAAM;aACd,OAAO;+CAiO5B,mCAAmC;qBApMN,MAAM;wBACH,MAAM;YAClB,YAAY,GAAG,kBAAkB,GAAG,sBAAsB,GAAG,SAAS,GAAG,YAAY;oDAmMzG,0CAA0C;qBA3Lb,MAAM;wBACH,MAAM;YAClB,YAAY,GAAG,kBAAkB,GAAG,sBAAsB,GAAG,SAAS,GAAG,YAAY;2DA0LzG,wBAAwB;eAhKD,YAAY;mBACR,MAAM;yCAgKjC,2BAA2B;oBA3kBC,MAAM;UAChB,gCAAgC;4CA2kBlD,wBAAwB;oBAtjBI,MAAM;gBACV,MAAM;YACV,MAAM;YACN,6BAA6B;yCAojBjD,0BAA0B;oBAliBE,MAAM;gBACV,MAAM;YACV,6BAA6B;2CAiiBjD,6BAA6B;yBAjhB6B,MAAM;wBAAsB,MAAM;8CAkhB5F,uBAAuB;qBAvfM,MAAM,GAAG,SAAS;mBACpB,MAAM;yBACA,MAAM;wCAsfvC,eAAe;YAldmD,UAAU,EAAE,GAAG,SAAS;gCAmd1F,sBAAsB,6FACtB,
|
|
1
|
+
{"version":3,"file":"messagesSlice.d.ts","sourceRoot":"","sources":["../../../src/store/messages/messagesSlice.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,OAAO,EAAe,MAAM,kBAAkB,CAAC;AAEjF,OAAO,EAAE,KAAK,gCAAgC,EAAE,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC9G,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAClG,OAAO,EAA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,SAAS;sBAClB,OAAO;;AAoqBrC;;GAEG;AACH,uBAAuB;YA7nBmD,eAAe;;AA8nBzF;;GAEG;AACH,4BAA4B;kBAzsBuB,sBAAsB;;AA0sBzE;;GAEG;AACH,0BAA0B;AAC1B;;GAEG;AACH,iBAAiB;AACjB;;GAEG;AACH,gBAAgB,8GACK,CAAC"}
|
|
@@ -712,7 +712,19 @@ const messagesSlice = createSlice({
|
|
|
712
712
|
});
|
|
713
713
|
const errorToObject = (error) => Object.fromEntries(Object.getOwnPropertyNames(error).map((key) => [key, error[key]]));
|
|
714
714
|
export const messagesSliceReducer = messagesSlice.reducer;
|
|
715
|
-
export const { loadThreadAction, loadThreadErrorAction, loadConversationsSuccessAction, loadConversationSuccessAction, clearThreadErrorAction, clearConversationSuccessAction, evaluateConversationTitleAction, evaluateMessageAction, evaluateMessageErrorAction, evaluateMessageStreamingAction, evaluateMessageUpdateAction, evaluateMessageCompleteAction, setMessagesAction, setVerboseAction, setGlobalErrorAction, cancelAsyncAction, clearConversationLoadingAction, setUserFeedback, setUserFeedbackError, saveVisualizationAction, savedVisualizationAction, saveVisualizationErrorAction, saveVisualizationSuccessAction, saveVisualisationRenderStatusAction, saveVisualisationRenderStatusSuccessAction, visualizationErrorAction, appendInteractionStepAction, appendTracedActionAction, appendResponseDetailAction, applyPendingAgentSwitchAction, revertAgentSwitchAction, setAgentsAction, setAgentsLoadingAction,
|
|
715
|
+
export const { loadThreadAction, loadThreadErrorAction, loadConversationsSuccessAction, loadConversationSuccessAction, clearThreadErrorAction, clearConversationSuccessAction, evaluateConversationTitleAction, evaluateMessageAction, evaluateMessageErrorAction, evaluateMessageStreamingAction, evaluateMessageUpdateAction, evaluateMessageCompleteAction, setMessagesAction, setVerboseAction, setGlobalErrorAction, cancelAsyncAction, clearConversationLoadingAction, setUserFeedback, setUserFeedbackError, saveVisualizationAction, savedVisualizationAction, saveVisualizationErrorAction, saveVisualizationSuccessAction, saveVisualisationRenderStatusAction, saveVisualisationRenderStatusSuccessAction, visualizationErrorAction, appendInteractionStepAction, appendTracedActionAction, appendResponseDetailAction, applyPendingAgentSwitchAction, revertAgentSwitchAction, setAgentsAction, setAgentsLoadingAction, pinConversationSuccessAction, pinConversationFailureAction, renameConversationSuccessAction, renameConversationFailureAction, deleteConversationStartAction, deleteConversationSuccessAction, deleteConversationFailureAction, filledFormAction, refocusInput,
|
|
716
|
+
/**
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
renameConversationAction,
|
|
720
|
+
/**
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
pinConversationAction,
|
|
724
|
+
/**
|
|
725
|
+
* @public
|
|
726
|
+
*/
|
|
727
|
+
deleteConversationAction,
|
|
716
728
|
/**
|
|
717
729
|
* @public
|
|
718
730
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type PayloadAction } from "@reduxjs/toolkit";
|
|
2
|
-
import { type IUserWorkspaceSettings } from "@gooddata/sdk-backend-spi";
|
|
3
2
|
import { type OptionsDispatcher } from "../options.js";
|
|
4
3
|
export declare function onVisualizationSuccessSave({ payload, }: PayloadAction<{
|
|
5
4
|
visualizationId: string;
|
|
@@ -10,5 +9,5 @@ export declare function onVisualizationSuccessSave({ payload, }: PayloadAction<{
|
|
|
10
9
|
localId: string;
|
|
11
10
|
generatingTitle?: boolean;
|
|
12
11
|
inProgress?: boolean;
|
|
13
|
-
}
|
|
12
|
+
}>;
|
|
14
13
|
//# sourceMappingURL=onVisualizationSuccessSave.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onVisualizationSuccessSave.d.ts","sourceRoot":"","sources":["../../../src/store/sideEffects/onVisualizationSuccessSave.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"onVisualizationSuccessSave.d.ts","sourceRoot":"","sources":["../../../src/store/sideEffects/onVisualizationSuccessSave.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,wBAAiB,0BAA0B,CAAC,EACxC,OAAO,GACV,EAAE,aAAa,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC;;;;GA6BD"}
|
|
@@ -2,20 +2,17 @@
|
|
|
2
2
|
import noop from "lodash-es/noop.js";
|
|
3
3
|
import { getContext, select } from "redux-saga/effects";
|
|
4
4
|
import { getVisualizationHref } from "../../utils.js";
|
|
5
|
-
import { settingsSelector } from "../chatWindow/chatWindowSelectors.js";
|
|
6
5
|
import { conversationSelector } from "../messages/messagesSelectors.js";
|
|
7
6
|
export function* onVisualizationSuccessSave({ payload, }) {
|
|
8
7
|
// Retrieve backend from context
|
|
9
8
|
const workspace = yield getContext("workspace");
|
|
10
9
|
const options = yield getContext("optionsDispatcher");
|
|
11
10
|
const conversation = yield select(conversationSelector);
|
|
12
|
-
const settings = yield select(settingsSelector);
|
|
13
|
-
const useHostedAnalyticalDesigner = Boolean(settings?.enableShellApplication_analyticalDesigner);
|
|
14
11
|
const { onLinkClick, allowNativeLinks } = options.getOnLinkClick();
|
|
15
12
|
const visualizationStatus = "saved";
|
|
16
13
|
if (conversation && payload.explore) {
|
|
17
14
|
if (allowNativeLinks) {
|
|
18
|
-
window.location.href = getVisualizationHref(workspace, payload.savedVisualizationId, visualizationStatus
|
|
15
|
+
window.location.href = getVisualizationHref(workspace, payload.savedVisualizationId, visualizationStatus);
|
|
19
16
|
}
|
|
20
17
|
else {
|
|
21
18
|
onLinkClick?.({
|
|
@@ -24,7 +21,7 @@ export function* onVisualizationSuccessSave({ payload, }) {
|
|
|
24
21
|
workspaceId: workspace,
|
|
25
22
|
newTab: true,
|
|
26
23
|
preventDefault: noop,
|
|
27
|
-
itemUrl: getVisualizationHref(workspace, payload.savedVisualizationId, visualizationStatus
|
|
24
|
+
itemUrl: getVisualizationHref(workspace, payload.savedVisualizationId, visualizationStatus),
|
|
28
25
|
visualizationStatus,
|
|
29
26
|
action: "open",
|
|
30
27
|
});
|
package/esm/utils.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { type GenAIObjectReferenceType, type IAttributeOrMeasure, type ObjRef }
|
|
|
3
3
|
import { type IChatConversationLocal, type IChatConversationLocalItem } from "./model.js";
|
|
4
4
|
import { type IGenAIContextListItem, type IGenAIContextObject } from "./types.js";
|
|
5
5
|
export declare function toContextListItem(ref: ObjRef, title: string, visualizationUrl?: string): IGenAIContextListItem;
|
|
6
|
-
export declare function getVisualizationHref(wsId: string, visId: string, status: "draft" | "saved"
|
|
6
|
+
export declare function getVisualizationHref(wsId: string, visId: string, status: "draft" | "saved"): string;
|
|
7
7
|
export declare function getDashboardHref(wsId: string, dasId: string, status: "draft" | "saved", useHostedDashboards?: boolean): string;
|
|
8
|
-
export declare function getAbsoluteVisualizationHref(wsId: string, visId: string, status: "draft" | "saved"
|
|
8
|
+
export declare function getAbsoluteVisualizationHref(wsId: string, visId: string, status: "draft" | "saved"): string;
|
|
9
9
|
export declare function getSettingHref(section: string, action?: string): string;
|
|
10
10
|
export declare function getAbsoluteSettingHref(section: string, action?: string): string;
|
|
11
11
|
export declare function getWorkspaceSettingHref(workspaceId: string, section: string, action?: string): string;
|
package/esm/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,MAAM,EAEd,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,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title, visualizationUrl) {
|
|
|
9
9
|
...(visualizationUrl ? { visualizationUrl } : {}),
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
export function getVisualizationHref(wsId, visId, status
|
|
12
|
+
export function getVisualizationHref(wsId, visId, status) {
|
|
13
13
|
if (status === "draft") {
|
|
14
|
-
return
|
|
15
|
-
? `/workspace/${wsId}/analyze/?aibuilder=${visId}`
|
|
16
|
-
: `/analyze/#/${wsId}/?aibuilder=${visId}`;
|
|
14
|
+
return `/workspace/${wsId}/analyze/?aibuilder=${visId}`;
|
|
17
15
|
}
|
|
18
|
-
return
|
|
19
|
-
? `/workspace/${wsId}/analyze/#/${visId}/edit`
|
|
20
|
-
: `/analyze/#/${wsId}/${visId}/edit`;
|
|
16
|
+
return `/workspace/${wsId}/analyze/#/${visId}/edit`;
|
|
21
17
|
}
|
|
22
18
|
export function getDashboardHref(wsId, dasId, status, useHostedDashboards) {
|
|
23
19
|
if (status === "draft") {
|
|
@@ -29,8 +25,8 @@ export function getDashboardHref(wsId, dasId, status, useHostedDashboards) {
|
|
|
29
25
|
? `/workspace/${wsId}/dashboards/#/dashboard/${dasId}/tab/defaultTabId`
|
|
30
26
|
: `/dashboards/#/workspace/${wsId}/${dasId}/tab/defaultTabId`;
|
|
31
27
|
}
|
|
32
|
-
export function getAbsoluteVisualizationHref(wsId, visId, status
|
|
33
|
-
return `${window.location.origin}${getVisualizationHref(wsId, visId, status
|
|
28
|
+
export function getAbsoluteVisualizationHref(wsId, visId, status) {
|
|
29
|
+
return `${window.location.origin}${getVisualizationHref(wsId, visId, status)}`;
|
|
34
30
|
}
|
|
35
31
|
export function getSettingHref(section, action) {
|
|
36
32
|
if (!action) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-gen-ai",
|
|
3
|
-
"version": "11.60.0-alpha.
|
|
3
|
+
"version": "11.60.0-alpha.3",
|
|
4
4
|
"description": "GoodData GenAI SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -57,19 +57,19 @@
|
|
|
57
57
|
"reselect": "5.1.1",
|
|
58
58
|
"tslib": "2.8.1",
|
|
59
59
|
"uuid": "11.1.1",
|
|
60
|
-
"@gooddata/api-client-tiger": "11.60.0-alpha.
|
|
61
|
-
"@gooddata/sdk-backend-spi": "11.60.0-alpha.
|
|
62
|
-
"@gooddata/sdk-
|
|
63
|
-
"@gooddata/sdk-
|
|
64
|
-
"@gooddata/sdk-ui-charts": "11.60.0-alpha.
|
|
65
|
-
"@gooddata/sdk-ui-
|
|
66
|
-
"@gooddata/sdk-ui-geo": "11.60.0-alpha.
|
|
67
|
-
"@gooddata/sdk-ui-
|
|
68
|
-
"@gooddata/sdk-ui-
|
|
69
|
-
"@gooddata/sdk-ui-
|
|
70
|
-
"@gooddata/sdk-ui-
|
|
71
|
-
"@gooddata/sdk-ui-theme-provider": "11.60.0-alpha.
|
|
72
|
-
"@gooddata/util": "11.60.0-alpha.
|
|
60
|
+
"@gooddata/api-client-tiger": "11.60.0-alpha.3",
|
|
61
|
+
"@gooddata/sdk-backend-spi": "11.60.0-alpha.3",
|
|
62
|
+
"@gooddata/sdk-ui": "11.60.0-alpha.3",
|
|
63
|
+
"@gooddata/sdk-model": "11.60.0-alpha.3",
|
|
64
|
+
"@gooddata/sdk-ui-charts": "11.60.0-alpha.3",
|
|
65
|
+
"@gooddata/sdk-ui-dashboard": "11.60.0-alpha.3",
|
|
66
|
+
"@gooddata/sdk-ui-geo": "11.60.0-alpha.3",
|
|
67
|
+
"@gooddata/sdk-ui-filters": "11.60.0-alpha.3",
|
|
68
|
+
"@gooddata/sdk-ui-kit": "11.60.0-alpha.3",
|
|
69
|
+
"@gooddata/sdk-ui-pivot": "11.60.0-alpha.3",
|
|
70
|
+
"@gooddata/sdk-ui-semantic-search": "11.60.0-alpha.3",
|
|
71
|
+
"@gooddata/sdk-ui-theme-provider": "11.60.0-alpha.3",
|
|
72
|
+
"@gooddata/util": "11.60.0-alpha.3"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -108,12 +108,12 @@
|
|
|
108
108
|
"typescript": "7.0.2",
|
|
109
109
|
"vitest": "4.1.11",
|
|
110
110
|
"vitest-dom": "0.1.1",
|
|
111
|
-
"@gooddata/eslint-config": "11.60.0-alpha.
|
|
112
|
-
"@gooddata/i18n-toolkit": "11.60.0-alpha.
|
|
113
|
-
"@gooddata/
|
|
114
|
-
"@gooddata/
|
|
115
|
-
"@gooddata/sdk-backend-mockingbird": "11.60.0-alpha.
|
|
116
|
-
"@gooddata/stylelint-config": "11.60.0-alpha.
|
|
111
|
+
"@gooddata/eslint-config": "11.60.0-alpha.3",
|
|
112
|
+
"@gooddata/i18n-toolkit": "11.60.0-alpha.3",
|
|
113
|
+
"@gooddata/oxlint-config": "11.60.0-alpha.3",
|
|
114
|
+
"@gooddata/reference-workspace": "11.60.0-alpha.3",
|
|
115
|
+
"@gooddata/sdk-backend-mockingbird": "11.60.0-alpha.3",
|
|
116
|
+
"@gooddata/stylelint-config": "11.60.0-alpha.3"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
119
|
"react": "^18.0.0 || ^19.0.0",
|
package/styles/css/main.css
CHANGED
|
@@ -13399,9 +13399,7 @@ body.gd-kda-dialog-opened .highcharts-tooltip-container {
|
|
|
13399
13399
|
.gd-gen-ai-chat__conversation__item__content--alertProposal, .gd-gen-ai-chat__conversation__item__content--dashboard {
|
|
13400
13400
|
display: grid;
|
|
13401
13401
|
}
|
|
13402
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-header,
|
|
13403
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-header, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-header,
|
|
13404
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-header {
|
|
13402
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-header, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-header {
|
|
13405
13403
|
display: flex;
|
|
13406
13404
|
flex-direction: row;
|
|
13407
13405
|
align-items: center;
|
|
@@ -13421,9 +13419,7 @@ body.gd-kda-dialog-opened .highcharts-tooltip-container {
|
|
|
13421
13419
|
font-weight: 400;
|
|
13422
13420
|
color: var(--gd-palette-complementary-7, #6d7680);
|
|
13423
13421
|
}
|
|
13424
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame,
|
|
13425
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame,
|
|
13426
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame {
|
|
13422
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame {
|
|
13427
13423
|
display: flex;
|
|
13428
13424
|
max-height: 500px;
|
|
13429
13425
|
padding: 10px;
|
|
@@ -13436,80 +13432,34 @@ body.gd-kda-dialog-opened .highcharts-tooltip-container {
|
|
|
13436
13432
|
overflow-y: auto;
|
|
13437
13433
|
overscroll-behavior: auto;
|
|
13438
13434
|
}
|
|
13439
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul,
|
|
13440
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame ul, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul,
|
|
13441
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame ul {
|
|
13435
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul {
|
|
13442
13436
|
padding: 0 0 0 20px;
|
|
13443
13437
|
margin: 0;
|
|
13444
13438
|
}
|
|
13445
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title,
|
|
13446
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-title,
|
|
13447
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title,
|
|
13448
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-title, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title,
|
|
13449
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-title,
|
|
13450
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title,
|
|
13451
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-title {
|
|
13439
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title {
|
|
13452
13440
|
display: inline-block;
|
|
13453
13441
|
margin-right: 5px;
|
|
13454
13442
|
}
|
|
13455
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description,
|
|
13456
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description,
|
|
13457
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description,
|
|
13458
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description,
|
|
13459
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description,
|
|
13460
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description,
|
|
13461
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description {
|
|
13443
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description {
|
|
13462
13444
|
display: inline;
|
|
13463
13445
|
}
|
|
13464
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p,
|
|
13465
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description p,
|
|
13466
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p,
|
|
13467
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p,
|
|
13468
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description p,
|
|
13469
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p,
|
|
13470
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description p {
|
|
13446
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p {
|
|
13471
13447
|
display: inline;
|
|
13472
13448
|
}
|
|
13473
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p,
|
|
13474
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p,
|
|
13475
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p,
|
|
13476
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p,
|
|
13477
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p,
|
|
13478
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p,
|
|
13479
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p,
|
|
13480
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p,
|
|
13481
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p,
|
|
13482
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p,
|
|
13483
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p,
|
|
13484
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p,
|
|
13485
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p {
|
|
13449
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p {
|
|
13486
13450
|
font-weight: bold;
|
|
13487
13451
|
}
|
|
13488
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code,
|
|
13489
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description code,
|
|
13490
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code,
|
|
13491
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description code, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code,
|
|
13492
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description code,
|
|
13493
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code,
|
|
13494
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-description code {
|
|
13452
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code {
|
|
13495
13453
|
background: var(--gd-palette-complementary-2, #ebeff4);
|
|
13496
13454
|
padding: 2px 4px;
|
|
13497
13455
|
border-radius: 4px;
|
|
13498
13456
|
}
|
|
13499
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format,
|
|
13500
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format,
|
|
13501
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format {
|
|
13457
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format {
|
|
13502
13458
|
margin-left: 5px;
|
|
13503
13459
|
display: inline;
|
|
13504
13460
|
color: var(--gd-palette-complementary-6, #94a1ad);
|
|
13505
13461
|
}
|
|
13506
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons,
|
|
13507
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
|
|
13508
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons,
|
|
13509
|
-
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons,
|
|
13510
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
|
|
13511
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons,
|
|
13512
|
-
.gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons {
|
|
13462
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons {
|
|
13513
13463
|
display: flex;
|
|
13514
13464
|
align-items: center;
|
|
13515
13465
|
justify-content: flex-end;
|
|
@@ -13533,6 +13483,47 @@ body.gd-kda-dialog-opened .highcharts-tooltip-container {
|
|
|
13533
13483
|
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly .alertProposal-operand, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly .alertProposal-operand {
|
|
13534
13484
|
display: inline-block;
|
|
13535
13485
|
}
|
|
13486
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame {
|
|
13487
|
+
display: flex;
|
|
13488
|
+
max-height: 500px;
|
|
13489
|
+
padding: 10px;
|
|
13490
|
+
flex-direction: row;
|
|
13491
|
+
align-items: center;
|
|
13492
|
+
gap: 10px;
|
|
13493
|
+
align-self: stretch;
|
|
13494
|
+
border-radius: 8px;
|
|
13495
|
+
border: 1px solid var(--gd-palette-complementary-3, #dde4eb);
|
|
13496
|
+
background: var(--gd-palette-complementary-0, #fff);
|
|
13497
|
+
overflow-y: auto;
|
|
13498
|
+
overscroll-behavior: auto;
|
|
13499
|
+
}
|
|
13500
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon {
|
|
13501
|
+
flex-grow: 0;
|
|
13502
|
+
flex-shrink: 0;
|
|
13503
|
+
}
|
|
13504
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content {
|
|
13505
|
+
display: flex;
|
|
13506
|
+
flex-direction: column;
|
|
13507
|
+
flex-grow: 1;
|
|
13508
|
+
}
|
|
13509
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title {
|
|
13510
|
+
align-self: stretch;
|
|
13511
|
+
color: var(--gd-palette-complementary-8);
|
|
13512
|
+
font-size: 14px;
|
|
13513
|
+
font-style: normal;
|
|
13514
|
+
font-weight: 700;
|
|
13515
|
+
line-height: 23px;
|
|
13516
|
+
}
|
|
13517
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date {
|
|
13518
|
+
color: var(--gd-palette-complementary-7);
|
|
13519
|
+
font-size: 12px;
|
|
13520
|
+
font-style: normal;
|
|
13521
|
+
font-weight: 400;
|
|
13522
|
+
line-height: normal;
|
|
13523
|
+
}
|
|
13524
|
+
.gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons {
|
|
13525
|
+
flex-grow: 0;
|
|
13526
|
+
}
|
|
13536
13527
|
.gd-gen-ai-chat__conversation__item__content--kda__button {
|
|
13537
13528
|
margin-top: 15px;
|
|
13538
13529
|
display: flex;
|
|
@@ -13722,6 +13713,9 @@ body.gd-kda-dialog-opened .highcharts-tooltip-container {
|
|
|
13722
13713
|
.gd-gen-ai-chat__conversation__visualization__buttons.active .gd-gen-ai-chat__conversation__visualization__save button:not(:focus):not(:focus-visible) {
|
|
13723
13714
|
opacity: 1;
|
|
13724
13715
|
}
|
|
13716
|
+
.gd-gen-ai-chat__conversation__visualization__buttons:empty {
|
|
13717
|
+
display: none;
|
|
13718
|
+
}
|
|
13725
13719
|
.gd-gen-ai-chat__conversation__visualization__suggestions {
|
|
13726
13720
|
display: flex;
|
|
13727
13721
|
flex-wrap: wrap;
|