@gooddata/sdk-ui-gen-ai 11.59.0-alpha.1 → 11.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +4 -4
- package/esm/components/GenAIChat.d.ts.map +1 -1
- package/esm/components/GenAIChat.js +2 -1
- package/esm/components/GenAIChatContextIndicator.d.ts.map +1 -1
- package/esm/components/GenAIChatContextIndicator.js +2 -1
- package/esm/components/GenAIStandaloneInput.d.ts.map +1 -1
- package/esm/components/GenAIStandaloneInput.js +2 -1
- package/esm/components/GenAiStore.d.ts +6 -0
- package/esm/components/GenAiStore.d.ts.map +1 -1
- package/esm/components/GenAiStore.js +2 -1
- package/esm/components/completion/plugins/rehype-references.d.ts.map +1 -1
- package/esm/components/completion/plugins/rehype-references.js +34 -23
- package/esm/components/messages/conversationContents/ConversationVisualisation.d.ts.map +1 -1
- package/esm/components/messages/conversationContents/ConversationVisualisation.js +24 -1
- package/esm/hooks/useGenAIStore.d.ts +2 -0
- package/esm/hooks/useGenAIStore.d.ts.map +1 -1
- package/esm/hooks/useGenAIStore.js +11 -3
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/sdk-ui-gen-ai.d.ts +10 -0
- package/esm/store/chatWindow/chatWindowSelectors.d.ts +1 -0
- package/esm/store/chatWindow/chatWindowSelectors.d.ts.map +1 -1
- package/esm/store/chatWindow/chatWindowSelectors.js +3 -0
- package/esm/store/chatWindow/chatWindowSlice.d.ts +5 -1
- package/esm/store/chatWindow/chatWindowSlice.d.ts.map +1 -1
- package/esm/store/chatWindow/chatWindowSlice.js +6 -1
- package/esm/store/messages/messagesSelectors.d.ts +4 -0
- package/esm/store/messages/messagesSelectors.d.ts.map +1 -1
- package/esm/store/messages/messagesSelectors.js +3 -0
- package/esm/store/messages/messagesSlice.d.ts +6 -2
- package/esm/store/messages/messagesSlice.d.ts.map +1 -1
- package/esm/store/messages/messagesSlice.js +6 -7
- package/esm/store/sideEffects/index.d.ts +2 -1
- package/esm/store/sideEffects/index.d.ts.map +1 -1
- package/esm/store/sideEffects/index.js +15 -5
- package/esm/store/sideEffects/loadAgents.d.ts +12 -1
- package/esm/store/sideEffects/loadAgents.d.ts.map +1 -1
- package/esm/store/sideEffects/loadAgents.js +18 -2
- package/esm/store/sideEffects/loadCatalogItems.d.ts +13 -2
- package/esm/store/sideEffects/loadCatalogItems.d.ts.map +1 -1
- package/esm/store/sideEffects/loadCatalogItems.js +20 -4
- package/esm/store/store.d.ts +2 -1
- package/esm/store/store.d.ts.map +1 -1
- package/esm/store/store.js +2 -2
- package/esm/tsdoc-metadata.json +1 -1
- package/esm/types.d.ts +4 -0
- package/esm/types.d.ts.map +1 -1
- package/package.json +23 -23
- package/styles/css/main.css +20 -0
- package/styles/css/main.css.map +1 -1
- package/styles/css/messages.css +20 -0
- package/styles/css/messages.css.map +1 -1
- package/styles/scss/messages.scss +17 -0
package/NOTICE
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
|
|
9
9
|
|
|
10
|
-
Date generated: 2026-9-
|
|
10
|
+
Date generated: 2026-9-25
|
|
11
11
|
|
|
12
|
-
Revision ID:
|
|
12
|
+
Revision ID: 7aafbc41b1e160f8395e93ba8e2641b345382639
|
|
13
13
|
|
|
14
14
|
================================================================================
|
|
15
15
|
================================================================================
|
|
@@ -24657,7 +24657,7 @@ MIT
|
|
|
24657
24657
|
|
|
24658
24658
|
Authors: se.mo.moosavi@gmail.com
|
|
24659
24659
|
Package Manager: NPM
|
|
24660
|
-
Project URL: https://
|
|
24660
|
+
Project URL: https://github.com/date-fns-jalali/date-fns-jalali#readme
|
|
24661
24661
|
Package Download URL: https://registry.npmjs.org/date-fns-jalali/-/date-fns-jalali-4.1.0-0.tgz
|
|
24662
24662
|
Dependency Path: react-day-picker > date-fns-jalali
|
|
24663
24663
|
File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
|
|
@@ -64914,4 +64914,4 @@ File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
|
|
|
64914
64914
|
--------------------------------------------------------------------------------
|
|
64915
64915
|
--------------------------------------------------------------------------------
|
|
64916
64916
|
|
|
64917
|
-
Report Generated by FOSSA on 2026-9-
|
|
64917
|
+
Report Generated by FOSSA on 2026-9-25
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenAIChat.d.ts","sourceRoot":"","sources":["../../src/components/GenAIChat.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"GenAIChat.d.ts","sourceRoot":"","sources":["../../src/components/GenAIChat.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAQ7E,OAAO,EAAkB,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEpG,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAInE;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG;IAClE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,cAAc,EAAE,gBAAgB,KAAK,MAAM,GAAG,SAAS,CAAC;IAEvE;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,0BAA0B,CAAC;IAE/C;;OAEG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAE7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAE1B;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CA0DxD;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,uBAAiB,CAAC"}
|
|
@@ -9,6 +9,7 @@ import { ConfigProvider } from "./ConfigContext.js";
|
|
|
9
9
|
import { CustomizationProvider } from "./CustomizationProvider.js";
|
|
10
10
|
import { GenAIChatWrapper } from "./GenAIChatWrapper.js";
|
|
11
11
|
import { GenAiStore } from "./GenAiStore.js";
|
|
12
|
+
const DEPENDENCIES_TO_LOAD = ["catalogItems", "agents"];
|
|
12
13
|
/**
|
|
13
14
|
* UI component that renders the Gen AI assistant.
|
|
14
15
|
* @public
|
|
@@ -17,7 +18,7 @@ export function GenAIAssistant(props) {
|
|
|
17
18
|
const { backend, workspace, locale, colorPalette, eventHandlers, settings, objectTypes, catalogItems, dashboards, visualizations, includeTags, excludeTags, isPreview, allowInteractionIntelligence, providedStore, onDispatcher, onLinkClick, mode, allowNativeLinks, } = props;
|
|
18
19
|
const effectiveBackend = useBackendStrict(backend);
|
|
19
20
|
const effectiveWorkspace = useWorkspaceStrict(workspace);
|
|
20
|
-
return (_jsx(IntlWrapper, { locale: locale, children: _jsx(GenAiStore, { backend: effectiveBackend, workspace: effectiveWorkspace, onDispatcher: onDispatcher, colorPalette: colorPalette, mode: mode, eventHandlers: eventHandlers, allowNativeLinks: allowNativeLinks, onLinkClick: onLinkClick, settings: settings, objectTypes: objectTypes, includeTags: includeTags, excludeTags: excludeTags, catalogItems: catalogItems, dashboards: dashboards, visualizations: visualizations, isPreview: isPreview, allowInteractionIntelligence: allowInteractionIntelligence, providedStore: providedStore, children: _jsx(BackendProvider, { backend: effectiveBackend, children: _jsx(WorkspaceProvider, { workspace: effectiveWorkspace, children: _jsx(PermissionsProvider, { children: _jsx(GenAIContent, { ...props }) }) }) }) }) }));
|
|
21
|
+
return (_jsx(IntlWrapper, { locale: locale, children: _jsx(GenAiStore, { backend: effectiveBackend, workspace: effectiveWorkspace, onDispatcher: onDispatcher, colorPalette: colorPalette, mode: mode, eventHandlers: eventHandlers, allowNativeLinks: allowNativeLinks, onLinkClick: onLinkClick, settings: settings, objectTypes: objectTypes, includeTags: includeTags, excludeTags: excludeTags, catalogItems: catalogItems, dashboards: dashboards, visualizations: visualizations, isPreview: isPreview, allowInteractionIntelligence: allowInteractionIntelligence, providedStore: providedStore, initializeOnStart: DEPENDENCIES_TO_LOAD, children: _jsx(BackendProvider, { backend: effectiveBackend, children: _jsx(WorkspaceProvider, { workspace: effectiveWorkspace, children: _jsx(PermissionsProvider, { children: _jsx(GenAIContent, { ...props }) }) }) }) }) }));
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* UI component that renders the Gen AI chat.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenAIChatContextIndicator.d.ts","sourceRoot":"","sources":["../../src/components/GenAIChatContextIndicator.tsx"],"names":[],"mappings":"AA2CA,KAAK,iCAAiC,GAAG;IACrC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,QAAQ,EAAE,EAAE,iCAAiC,
|
|
1
|
+
{"version":3,"file":"GenAIChatContextIndicator.d.ts","sourceRoot":"","sources":["../../src/components/GenAIChatContextIndicator.tsx"],"names":[],"mappings":"AA2CA,KAAK,iCAAiC,GAAG;IACrC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,QAAQ,EAAE,EAAE,iCAAiC,kDAwKxF"}
|
|
@@ -66,8 +66,9 @@ export function GenAIChatContextIndicator({ onUpdate }) {
|
|
|
66
66
|
const onOpenStateChanged = useCallback(() => {
|
|
67
67
|
setSearch("");
|
|
68
68
|
}, [setSearch]);
|
|
69
|
+
const isSelected = Boolean(selectedContext || references.length > 0);
|
|
69
70
|
const announcement = useContextChangeAnnouncement(selectedContext, references);
|
|
70
|
-
if (!isContextSetupEnabled) {
|
|
71
|
+
if (!isContextSetupEnabled || !isSelected) {
|
|
71
72
|
return null;
|
|
72
73
|
}
|
|
73
74
|
return (_jsxs(_Fragment, { children: [_jsxs(ContextWrapper, { groupLabel: msgs.groupLabel, groupLabelId: groupLabelId, children: [selectedContext?.dashboard || ambientLoading ? (_jsx(Dropdown, { alignPoints: [{ align: "tl bl", offset: { x: 0, y: 0 } }], closeOnEscape: true, fullscreenOnMobile: false, autofocusOnOpen: true, accessibilityConfig: { popupRole: "dialog" }, onOpenStateChanged: onOpenStateChanged, renderButton: ({ isOpen, toggleDropdown, accessibilityConfig }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenAIStandaloneInput.d.ts","sourceRoot":"","sources":["../../src/components/GenAIStandaloneInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GenAIStandaloneInput.d.ts","sourceRoot":"","sources":["../../src/components/GenAIStandaloneInput.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAWnE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG;IACxE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC;AA6FF;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CAmBpE"}
|
|
@@ -62,6 +62,7 @@ function StandaloneInputContent({ onStart, onAgentSet, className, canManage, can
|
|
|
62
62
|
"gd-gen-ai-chat__input--agent-switching": agentSwitchingEnabled,
|
|
63
63
|
}), children: _jsx("div", { className: "gd-gen-ai-chat__input__content", children: _jsxs("div", { className: "gd-gen-ai-chat__input__container", children: [_jsx("div", { className: "gd-gen-ai-chat__input__text", ...ref, children: _jsx(SyntaxHighlightingInput, { className: "gd-gen-ai-chat__input__mc", placeholder: placeholder ?? intl.formatMessage(msgs.placeholder), value: value, onApi: setApi, onChange: setValue, onKeyDown: handleKeyDown, beforeExtensions: beforeExtensions, extensions: extensions, onCompletion: onCompletion }) }), _jsx(GenAiChatAgentSwitching, { disabled: !value.trim(), agentDropdownDisabled: false, isAssistantLoading: false, isConversationsLoading: false, handleSubmit: handleSubmit })] }) }) }));
|
|
64
64
|
}
|
|
65
|
+
const DEPENDENCIES_TO_LOAD = ["catalogItems", "agents"];
|
|
65
66
|
/**
|
|
66
67
|
* @internal
|
|
67
68
|
*/
|
|
@@ -69,5 +70,5 @@ export function GenAIStandaloneInput(props) {
|
|
|
69
70
|
const { backend, workspace, locale, slots, ...rest } = props;
|
|
70
71
|
const effectiveBackend = useBackendStrict(backend);
|
|
71
72
|
const effectiveWorkspace = useWorkspaceStrict(workspace);
|
|
72
|
-
return (_jsx(IntlWrapper, { locale: locale, children: _jsx(GenAiStore, { ...props, backend: effectiveBackend, workspace: effectiveWorkspace, children: _jsx(CustomizationProvider, { slots: slots, children: _jsx(StandaloneInputContent, { ...rest }) }) }) }));
|
|
73
|
+
return (_jsx(IntlWrapper, { locale: locale, children: _jsx(GenAiStore, { ...props, backend: effectiveBackend, workspace: effectiveWorkspace, initializeOnStart: DEPENDENCIES_TO_LOAD, children: _jsx(CustomizationProvider, { slots: slots, children: _jsx(StandaloneInputContent, { ...rest }) }) }) }));
|
|
73
74
|
}
|
|
@@ -3,6 +3,7 @@ import { type EnhancedStore, type Store } from "@reduxjs/toolkit";
|
|
|
3
3
|
import { type IAnalyticalBackend, type IUserWorkspaceSettings } from "@gooddata/sdk-backend-spi";
|
|
4
4
|
import { type CatalogItem, type GenAIObjectType, type IColorPalette, type IInsight, type IListedDashboard } from "@gooddata/sdk-model";
|
|
5
5
|
import { type ChatEventHandler } from "../store/events.js";
|
|
6
|
+
import { type GenAIInitializeOnStart } from "../types.js";
|
|
6
7
|
import { type GenAIAssistantDisplayMode, type GenAIAssistantMode, type LinkHandlerEvent } from "./ConfigContext.js";
|
|
7
8
|
/**
|
|
8
9
|
* Props for the GenAiStore component.
|
|
@@ -109,6 +110,11 @@ export type GenAiStoreProps = {
|
|
|
109
110
|
* @internal
|
|
110
111
|
*/
|
|
111
112
|
allowInteractionIntelligence?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
* Whether to load the Gen AI store on start.
|
|
116
|
+
*/
|
|
117
|
+
initializeOnStart?: GenAIInitializeOnStart;
|
|
112
118
|
};
|
|
113
119
|
/**
|
|
114
120
|
* Provides the Gen AI store to the application.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenAiStore.d.ts","sourceRoot":"","sources":["../../src/components/GenAiStore.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAmC,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGlE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACxB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"GenAiStore.d.ts","sourceRoot":"","sources":["../../src/components/GenAiStore.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAmC,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGlE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACxB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAG3D,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,OAAO,EAEH,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACxB,MAAM,oBAAoB,CAAC;AAE5B;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,aAAa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AC,EAAE,sBAAsB,CAAC;CAC9C,CAAC;AAEF;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,kDAmDhD"}
|
|
@@ -75,7 +75,7 @@ function InjectedStore({ onDispatcher, children, currentStore, onLinkClick, }) {
|
|
|
75
75
|
const content = typeof children === "function" ? children(currentStore) : children;
|
|
76
76
|
return _jsx(StoreProvider, { store: currentStore, children: content });
|
|
77
77
|
}
|
|
78
|
-
function InternalStore({ backend, workspace, onDispatcher, children, eventHandlers, settings, catalogItems, dashboards, visualizations, includeTags, excludeTags, objectTypes, allowNativeLinks, onLinkClick, mode, isPreview, allowInteractionIntelligence, colorPalette, }) {
|
|
78
|
+
function InternalStore({ backend, workspace, onDispatcher, children, eventHandlers, settings, catalogItems, dashboards, visualizations, includeTags, excludeTags, objectTypes, allowNativeLinks, onLinkClick, mode, isPreview, allowInteractionIntelligence, colorPalette, initializeOnStart, }) {
|
|
79
79
|
const effectiveBackend = useBackendStrict(backend);
|
|
80
80
|
const effectiveWorkspace = useWorkspaceStrict(workspace);
|
|
81
81
|
const genAIStore = useGenAIStore(effectiveBackend, effectiveWorkspace, {
|
|
@@ -89,6 +89,7 @@ function InternalStore({ backend, workspace, onDispatcher, children, eventHandle
|
|
|
89
89
|
dashboards,
|
|
90
90
|
visualizations,
|
|
91
91
|
isPreview,
|
|
92
|
+
initializeOnStart,
|
|
92
93
|
allowInteractionIntelligence,
|
|
93
94
|
allowNativeLinks,
|
|
94
95
|
onLinkClick,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rehype-references.d.ts","sourceRoot":"","sources":["../../../../src/components/completion/plugins/rehype-references.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"rehype-references.d.ts","sourceRoot":"","sources":["../../../../src/components/completion/plugins/rehype-references.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAO3D;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,iBAAiB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,gBAEnD,IAAI,UA2ClC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2022-2026 GoodData Corporation
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { PLACEHOLDER_START, getPlaceholderRegex } from "./reference-placeholder.js";
|
|
4
|
+
const VERBATIM_TAG_NAMES = ["code", "pre"];
|
|
4
5
|
/**
|
|
5
6
|
* `tokens` must be the `tokens` array `extractReferences()` returned for the same
|
|
6
7
|
* Markdown text — placeholders are resolved by looking up their embedded index in it.
|
|
@@ -51,55 +52,65 @@ export function rehypeReferences(references, tokens) {
|
|
|
51
52
|
};
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
|
-
function iterateTree(node, references, tokens, callbacks) {
|
|
55
|
+
function iterateTree(node, references, tokens, callbacks, verbatim = false) {
|
|
55
56
|
if (node.type === "text") {
|
|
56
57
|
const value = node.value;
|
|
57
58
|
if (!value.includes(PLACEHOLDER_START)) {
|
|
58
59
|
return [node];
|
|
59
60
|
}
|
|
60
|
-
|
|
61
|
-
return callbacks.onTextNodeReference(node, ref);
|
|
62
|
-
});
|
|
63
|
-
if (res.length) {
|
|
64
|
-
return res;
|
|
65
|
-
}
|
|
66
|
-
node.value = restoreUnresolvedPlaceholders(value, tokens);
|
|
67
|
-
return [node];
|
|
61
|
+
return splitTextNode(node, references, tokens, callbacks.onTextNodeReference, verbatim);
|
|
68
62
|
}
|
|
63
|
+
const inVerbatim = verbatim || VERBATIM_TAG_NAMES.includes(node.tagName);
|
|
69
64
|
if (node.children) {
|
|
70
65
|
node.children = node.children.reduce((acc, child) => {
|
|
71
|
-
return [...acc, ...iterateTree(child, references, tokens, callbacks)];
|
|
66
|
+
return [...acc, ...iterateTree(child, references, tokens, callbacks, inVerbatim)];
|
|
72
67
|
}, []);
|
|
73
68
|
return [node];
|
|
74
69
|
}
|
|
75
70
|
return [node];
|
|
76
71
|
}
|
|
77
72
|
/**
|
|
78
|
-
* Replaces
|
|
79
|
-
* resolve to a reference chip) with their original `{type/id}` token text, so the
|
|
73
|
+
* Replaces placeholder occurrences with their original `{type/id}` token text, so the
|
|
80
74
|
* output never leaks a raw placeholder sentinel (an invisible PUA-wrapped digit)
|
|
81
75
|
* as visible text.
|
|
82
76
|
*/
|
|
83
|
-
function
|
|
77
|
+
function restorePlaceholders(value, tokens) {
|
|
84
78
|
return value.replace(getPlaceholderRegex(), (match, indexStr) => {
|
|
85
79
|
const originalToken = tokens[Number(indexStr)];
|
|
86
80
|
return originalToken ?? match;
|
|
87
81
|
});
|
|
88
82
|
}
|
|
89
|
-
function
|
|
90
|
-
const
|
|
83
|
+
function splitTextNode(text, references, tokens, onTextNodeReference, verbatim) {
|
|
84
|
+
const nodes = [];
|
|
91
85
|
const regex = getPlaceholderRegex();
|
|
92
|
-
let
|
|
86
|
+
let lastIndex = 0;
|
|
87
|
+
const pushText = (value) => {
|
|
88
|
+
if (value) {
|
|
89
|
+
const textNode = { ...text, value: restorePlaceholders(value, tokens) };
|
|
90
|
+
nodes.push(textNode);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
let match = regex.exec(text.value);
|
|
93
94
|
while (match) {
|
|
94
95
|
const originalToken = tokens[Number(match[1])];
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
const ref = resolveReference(originalToken, references);
|
|
97
|
+
if (ref) {
|
|
98
|
+
pushText(text.value.slice(lastIndex, match.index));
|
|
99
|
+
nodes.push(...onTextNodeReference(text, ref));
|
|
100
|
+
if (verbatim) {
|
|
101
|
+
pushText(` ${originalToken}`);
|
|
100
102
|
}
|
|
103
|
+
lastIndex = match.index + match[0].length;
|
|
101
104
|
}
|
|
102
|
-
match = regex.exec(value);
|
|
105
|
+
match = regex.exec(text.value);
|
|
106
|
+
}
|
|
107
|
+
pushText(text.value.slice(lastIndex));
|
|
108
|
+
return nodes;
|
|
109
|
+
}
|
|
110
|
+
function resolveReference(originalToken, references) {
|
|
111
|
+
if (!originalToken) {
|
|
112
|
+
return undefined;
|
|
103
113
|
}
|
|
104
|
-
|
|
114
|
+
const [type, id] = originalToken.slice(1, -1).split("/");
|
|
115
|
+
return references.find((ref) => ref.id === id && ref.type === type);
|
|
105
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationVisualisation.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationVisualisation.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAGH,KAAK,aAAa,EAElB,KAAK,gBAAgB,EAGrB,KAAK,WAAW,EASnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEH,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAInB,MAAM,kBAAkB,CAAC;AAwB1B,OAAO,EACH,KAAK,kCAAkC,EAE1C,MAAM,4BAA4B,CAAC;AAkBpC,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConversationVisualisation.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationVisualisation.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAGH,KAAK,aAAa,EAElB,KAAK,gBAAgB,EAGrB,KAAK,WAAW,EASnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEH,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAInB,MAAM,kBAAkB,CAAC;AAwB1B,OA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enableChartSorting: true,
|
|
34
|
+
enableReversedStacking: true,
|
|
35
|
+
enableSeparateTotalLabels: true,
|
|
36
|
+
};
|
|
32
37
|
const SLICED_CHARTS = {
|
|
33
38
|
"local:pie": PieChart,
|
|
34
39
|
"local:donut": DonutChart,
|
|
@@ -286,6 +291,7 @@ const renderAreaChart = (locale, visualization, buckets, filters, sortBy, colorP
|
|
|
286
291
|
const { metrics, view, stack } = buckets;
|
|
287
292
|
const controls = visualization.insight.properties["controls"];
|
|
288
293
|
return (_jsx(AreaChart, { locale: locale, height: VIS_HEIGHT, measures: metrics, viewBy: view, stackBy: stack[0], filters: filters, sortBy: sortBy, config: {
|
|
294
|
+
...defaultsChartOptions,
|
|
289
295
|
...visualizationTooltipOptions,
|
|
290
296
|
...legendTooltipOptions,
|
|
291
297
|
colorPalette,
|
|
@@ -298,6 +304,7 @@ const renderAreaChart = (locale, visualization, buckets, filters, sortBy, colorP
|
|
|
298
304
|
const renderBarChart = (locale, buckets, filters, sortBy, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
299
305
|
const { metrics, view, stack } = buckets;
|
|
300
306
|
return (_jsx(BarChart, { locale: locale, height: VIS_HEIGHT, measures: stack[0] ? [metrics[0]] : metrics, viewBy: view[0], stackBy: stack[0], sortBy: sortBy, config: {
|
|
307
|
+
...defaultsChartOptions,
|
|
301
308
|
...visualizationTooltipOptions,
|
|
302
309
|
...legendTooltipOptions,
|
|
303
310
|
colorPalette,
|
|
@@ -309,7 +316,8 @@ const renderBarChart = (locale, buckets, filters, sortBy, colorPalette, onError,
|
|
|
309
316
|
};
|
|
310
317
|
const renderColumnChart = (locale, buckets, filters, sortBy, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
311
318
|
const { metrics, view, stack } = buckets;
|
|
312
|
-
return (_jsx(ColumnChart, { locale: locale, height: VIS_HEIGHT, measures: metrics, viewBy: view, stackBy: stack[0], sortBy: sortBy, config: {
|
|
319
|
+
return (_jsx(ColumnChart, { locale: locale, height: VIS_HEIGHT, measures: stack[0] ? [metrics[0]] : metrics, viewBy: view, stackBy: stack[0], sortBy: sortBy, config: {
|
|
320
|
+
...defaultsChartOptions,
|
|
313
321
|
...visualizationTooltipOptions,
|
|
314
322
|
...legendTooltipOptions,
|
|
315
323
|
colorPalette,
|
|
@@ -326,6 +334,7 @@ const renderLineChart = (locale, visualization, buckets, filters, sortBy, colorP
|
|
|
326
334
|
const outliersConfig = mapVisualizationAnomalyDetectionToBackendConfig(visualization.insight.properties["controls"]);
|
|
327
335
|
const { metrics, trend, segment } = buckets;
|
|
328
336
|
return (_jsx(LineChart, { locale: locale, height: VIS_HEIGHT, measures: metrics, trendBy: trend[0], segmentBy: segment[0], filters: filters, sortBy: sortBy, config: {
|
|
337
|
+
...defaultsChartOptions,
|
|
329
338
|
...visualizationTooltipOptions,
|
|
330
339
|
...legendTooltipOptions,
|
|
331
340
|
colorPalette,
|
|
@@ -338,6 +347,7 @@ const renderLineChart = (locale, visualization, buckets, filters, sortBy, colorP
|
|
|
338
347
|
const renderSlicedChart = (Chart, locale, buckets, filters, sortBy, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
339
348
|
const { metrics, view } = buckets;
|
|
340
349
|
return (_jsx(Chart, { locale: locale, height: VIS_HEIGHT, measures: metrics, viewBy: view[0], filters: filters, sortBy: sortBy, config: {
|
|
350
|
+
...defaultsChartOptions,
|
|
341
351
|
...visualizationTooltipOptions,
|
|
342
352
|
...legendTooltipOptions,
|
|
343
353
|
colorPalette,
|
|
@@ -348,6 +358,7 @@ const renderSlicedChart = (Chart, locale, buckets, filters, sortBy, colorPalette
|
|
|
348
358
|
const renderBubbleChart = (locale, buckets, filters, sortBy, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
349
359
|
const { metrics, secondary_metrics, tertiary_metrics, view } = buckets;
|
|
350
360
|
return (_jsx(BubbleChart, { locale: locale, height: VIS_HEIGHT, xAxisMeasure: metrics[0], yAxisMeasure: secondary_metrics[0], size: tertiary_metrics[0], viewBy: view[0], filters: filters, sortBy: sortBy, config: {
|
|
361
|
+
...defaultsChartOptions,
|
|
351
362
|
...visualizationTooltipOptions,
|
|
352
363
|
...legendTooltipOptions,
|
|
353
364
|
colorPalette,
|
|
@@ -358,6 +369,7 @@ const renderBubbleChart = (locale, buckets, filters, sortBy, colorPalette, onErr
|
|
|
358
369
|
const renderBulletChart = (locale, buckets, filters, sortBy, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
359
370
|
const { metrics, secondary_metrics, tertiary_metrics, view } = buckets;
|
|
360
371
|
return (_jsx(BulletChart, { locale: locale, height: VIS_HEIGHT, primaryMeasure: metrics[0], targetMeasure: secondary_metrics[0], comparativeMeasure: tertiary_metrics[0], viewBy: view, filters: filters, sortBy: sortBy, config: {
|
|
372
|
+
...defaultsChartOptions,
|
|
361
373
|
...visualizationTooltipOptions,
|
|
362
374
|
...legendTooltipOptions,
|
|
363
375
|
colorPalette,
|
|
@@ -369,6 +381,7 @@ const renderComboChart = (locale, visualization, buckets, filters, sortBy, color
|
|
|
369
381
|
const { metrics, secondary_metrics, view } = buckets;
|
|
370
382
|
const controls = visualization.insight.properties["controls"];
|
|
371
383
|
return (_jsx(ComboChart, { locale: locale, height: VIS_HEIGHT, primaryMeasures: metrics, secondaryMeasures: secondary_metrics, viewBy: view[0], filters: filters, sortBy: sortBy, config: {
|
|
384
|
+
...defaultsChartOptions,
|
|
372
385
|
...visualizationTooltipOptions,
|
|
373
386
|
...legendTooltipOptions,
|
|
374
387
|
colorPalette,
|
|
@@ -382,6 +395,7 @@ const renderComboChart = (locale, visualization, buckets, filters, sortBy, color
|
|
|
382
395
|
const renderFlowDiagram = (Chart, locale, buckets, filters, sortBy, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
383
396
|
const { metrics, attribute_from, attribute_to } = buckets;
|
|
384
397
|
return (_jsx(Chart, { locale: locale, height: VIS_HEIGHT, measure: metrics[0], attributeFrom: attribute_from[0], attributeTo: attribute_to[0], filters: filters, sortBy: sortBy, config: {
|
|
398
|
+
...defaultsChartOptions,
|
|
385
399
|
...visualizationTooltipOptions,
|
|
386
400
|
...legendTooltipOptions,
|
|
387
401
|
colorPalette,
|
|
@@ -394,6 +408,7 @@ const renderScatterPlot = (locale, visualization, buckets, filters, sortBy, colo
|
|
|
394
408
|
const clusteringConfig = mapVisualizationClusteringToBackendConfig(visualization.insight.properties["controls"]);
|
|
395
409
|
const { metrics, secondary_metrics, attribute, segment } = buckets;
|
|
396
410
|
return (_jsx(ScatterPlot, { locale: locale, height: VIS_HEIGHT, xAxisMeasure: metrics[0], yAxisMeasure: secondary_metrics[0], attribute: attribute[0], segmentBy: segment[0], filters: filters, sortBy: sortBy, config: {
|
|
411
|
+
...defaultsChartOptions,
|
|
397
412
|
...visualizationTooltipOptions,
|
|
398
413
|
...legendTooltipOptions,
|
|
399
414
|
colorPalette,
|
|
@@ -405,6 +420,7 @@ const renderScatterPlot = (locale, visualization, buckets, filters, sortBy, colo
|
|
|
405
420
|
const renderRadarChart = (locale, buckets, filters, sortBy, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
406
421
|
const { metrics, trend, segment } = buckets;
|
|
407
422
|
return (_jsx(RadarChart, { locale: locale, height: VIS_HEIGHT, measures: metrics, trendBy: trend[0], segmentBy: segment[0], filters: filters, sortBy: sortBy, config: {
|
|
423
|
+
...defaultsChartOptions,
|
|
408
424
|
...visualizationTooltipOptions,
|
|
409
425
|
...legendTooltipOptions,
|
|
410
426
|
colorPalette,
|
|
@@ -418,6 +434,7 @@ const renderTreemap = (locale, buckets, filters, colorPalette, onError, onSucces
|
|
|
418
434
|
const { metrics, view, segment } = buckets;
|
|
419
435
|
const viewBy = metrics.length === 1 ? view[0] : undefined;
|
|
420
436
|
return (_jsx(Treemap, { locale: locale, height: VIS_HEIGHT, measures: metrics, viewBy: viewBy, segmentBy: segment[0], filters: filters, config: {
|
|
437
|
+
...defaultsChartOptions,
|
|
421
438
|
...visualizationTooltipOptions,
|
|
422
439
|
...legendTooltipOptions,
|
|
423
440
|
colorPalette,
|
|
@@ -428,6 +445,7 @@ const renderTreemap = (locale, buckets, filters, colorPalette, onError, onSucces
|
|
|
428
445
|
const renderHeatmap = (locale, buckets, filters, sortBy, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
429
446
|
const { metrics, view, stack } = buckets;
|
|
430
447
|
return (_jsx(Heatmap, { locale: locale, height: VIS_HEIGHT, measure: metrics[0], rows: view[0], columns: stack[0], filters: filters, sortBy: sortBy.length ? sortBy : undefined, config: {
|
|
448
|
+
...defaultsChartOptions,
|
|
431
449
|
...visualizationTooltipOptions,
|
|
432
450
|
...legendTooltipOptions,
|
|
433
451
|
colorPalette,
|
|
@@ -439,6 +457,7 @@ const renderWaterfallChart = (locale, visualization, buckets, filters, sortBy, c
|
|
|
439
457
|
const { metrics, view } = buckets;
|
|
440
458
|
const total = visualization.insight.properties["controls"]?.["total"];
|
|
441
459
|
return (_jsx(WaterfallChart, { locale: locale, height: VIS_HEIGHT, measures: metrics, viewBy: view[0], filters: filters, sortBy: sortBy, config: {
|
|
460
|
+
...defaultsChartOptions,
|
|
442
461
|
...visualizationTooltipOptions,
|
|
443
462
|
...legendTooltipOptions,
|
|
444
463
|
colorPalette,
|
|
@@ -450,6 +469,7 @@ const renderWaterfallChart = (locale, visualization, buckets, filters, sortBy, c
|
|
|
450
469
|
const renderRepeater = (locale, visualization, buckets, filters, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
451
470
|
const { attribute, columns, view } = buckets;
|
|
452
471
|
return (_jsx(Repeater, { locale: locale, height: VIS_HEIGHT, attribute: attribute[0], columns: columns, viewBy: view[0], filters: filters, config: {
|
|
472
|
+
...defaultsChartOptions,
|
|
453
473
|
colorPalette,
|
|
454
474
|
separators: props.separators,
|
|
455
475
|
inlineVisualizations: visualization.insight.properties["inlineVisualizations"],
|
|
@@ -474,6 +494,7 @@ const renderPushpinChart = (locale, visualization, buckets, filters, sortBy, col
|
|
|
474
494
|
return null;
|
|
475
495
|
}
|
|
476
496
|
return (_jsx("div", { style: { height: VIS_HEIGHT }, children: _jsx(GeoPushpinChart, { locale: locale, latitude: geo.latitude, longitude: geo.longitude, size: size[0], color: color[0], segmentBy: segment[0], filters: filters, sortBy: sortBy, config: {
|
|
497
|
+
...defaultsChartOptions,
|
|
477
498
|
...legendTooltipOptions,
|
|
478
499
|
colorPalette,
|
|
479
500
|
separators: props.separators,
|
|
@@ -486,6 +507,7 @@ const renderChoroplethChart = (locale, buckets, filters, sortBy, colorPalette, o
|
|
|
486
507
|
return null;
|
|
487
508
|
}
|
|
488
509
|
return (_jsx("div", { style: { height: VIS_HEIGHT }, children: _jsx(GeoAreaChart, { locale: locale, area: area[0], color: color[0], segmentBy: segment[0], filters: filters, sortBy: sortBy, config: {
|
|
510
|
+
...defaultsChartOptions,
|
|
489
511
|
...legendTooltipOptions,
|
|
490
512
|
colorPalette,
|
|
491
513
|
separators: props.separators,
|
|
@@ -504,6 +526,7 @@ const renderTable = (locale, buckets, filters, sortBy, onError, onSuccess, onDri
|
|
|
504
526
|
const renderHeadline = (locale, theme, buckets, filters, colorPalette, onError, onSuccess, onDrill, props) => {
|
|
505
527
|
const { metrics, secondary_metrics } = buckets;
|
|
506
528
|
return (_jsx(ScopedThemeProvider, { theme: theme, children: _jsx(Headline, { locale: locale, primaryMeasure: metrics[0], secondaryMeasures: secondary_metrics, filters: filters, config: {
|
|
529
|
+
...defaultsChartOptions,
|
|
507
530
|
...visualizationTooltipOptions,
|
|
508
531
|
...getHeadlineComparison(metrics),
|
|
509
532
|
colorPalette,
|
|
@@ -3,6 +3,7 @@ import { type IAnalyticalBackend, type IUserWorkspaceSettings } from "@gooddata/
|
|
|
3
3
|
import { type CatalogItem, type GenAIObjectType, type IColorPalette, type IInsight, type IListedDashboard } from "@gooddata/sdk-model";
|
|
4
4
|
import type { GenAIAssistantMode, LinkHandlerEvent } from "../components/ConfigContext.js";
|
|
5
5
|
import { type ChatEventHandler } from "../store/events.js";
|
|
6
|
+
import { type GenAIInitializeOnStart } from "../types.js";
|
|
6
7
|
export declare const useGenAIStore: (backend: IAnalyticalBackend, workspace: string, opts: {
|
|
7
8
|
eventHandlers?: ChatEventHandler[];
|
|
8
9
|
colorPalette?: IColorPalette;
|
|
@@ -14,6 +15,7 @@ export declare const useGenAIStore: (backend: IAnalyticalBackend, workspace: str
|
|
|
14
15
|
dashboards?: IListedDashboard[];
|
|
15
16
|
visualizations?: IInsight[];
|
|
16
17
|
isPreview?: boolean;
|
|
18
|
+
initializeOnStart?: GenAIInitializeOnStart;
|
|
17
19
|
allowInteractionIntelligence?: boolean;
|
|
18
20
|
onLinkClick?: (linkClickEvent: LinkHandlerEvent) => string | undefined;
|
|
19
21
|
allowNativeLinks?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGenAIStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useGenAIStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EAGxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAW3F,OAAO,EAAE,KAAK,gBAAgB,EAAmB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"useGenAIStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useGenAIStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EAGxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAW3F,OAAO,EAAE,KAAK,gBAAgB,EAAmB,MAAM,oBAAoB,CAAC;AAG5E,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAG1D,eAAO,MAAM,aAAa,YACb,kBAAkB,aAChB,MAAM,QACX;IACF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC,WAAW,CAAC,EAAE,eAAe,EAAE,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAChC,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;IAC3C,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,WAAW,CAAC,EAAE,CAAC,cAAc,EAAE,gBAAgB,KAAK,MAAM,GAAG,SAAS,CAAC;IACvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,IAAI,CAAC,EAAE,kBAAkB,CAAC;CAC7B,KACF,aAqJF,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { OptionsDispatcher } from "../store/options.js";
|
|
|
7
7
|
import { getStore } from "../store/store.js";
|
|
8
8
|
import { toContextListItem } from "../utils.js";
|
|
9
9
|
export const useGenAIStore = (backend, workspace, opts) => {
|
|
10
|
-
const { eventHandlers, colorPalette, settings, objectTypes, includeTags, excludeTags, catalogItems, dashboards, visualizations, isPreview, allowInteractionIntelligence, onLinkClick, allowNativeLinks, mode, } = opts;
|
|
10
|
+
const { eventHandlers, colorPalette, settings, objectTypes, includeTags, excludeTags, catalogItems, dashboards, visualizations, isPreview, initializeOnStart, allowInteractionIntelligence, onLinkClick, allowNativeLinks, mode, } = opts;
|
|
11
11
|
// Instantiate EventDispatcher. It's a designed to hold a reference to the handlers, so that
|
|
12
12
|
// we don't update the context every time a new array of handlers is passed.
|
|
13
13
|
// Similar to how React handles event listeners.
|
|
@@ -17,8 +17,16 @@ export const useGenAIStore = (backend, workspace, opts) => {
|
|
|
17
17
|
// Initialize new Redux Store for each instance of GenAI Chat
|
|
18
18
|
// It OK to discard the store when backend or workspace changes
|
|
19
19
|
const store = useMemo(() => {
|
|
20
|
-
return getStore(backend, workspace, eventDispatcher, optionsDispatcher, isPreview, allowInteractionIntelligence);
|
|
21
|
-
}, [
|
|
20
|
+
return getStore(backend, workspace, eventDispatcher, optionsDispatcher, isPreview, allowInteractionIntelligence, initializeOnStart);
|
|
21
|
+
}, [
|
|
22
|
+
backend,
|
|
23
|
+
workspace,
|
|
24
|
+
eventDispatcher,
|
|
25
|
+
optionsDispatcher,
|
|
26
|
+
isPreview,
|
|
27
|
+
allowInteractionIntelligence,
|
|
28
|
+
initializeOnStart,
|
|
29
|
+
]);
|
|
22
30
|
useEffect(() => {
|
|
23
31
|
if (colorPalette) {
|
|
24
32
|
optionsDispatcher.setColorPalette(colorPalette);
|
package/esm/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* @beta
|
|
5
5
|
*/
|
|
6
6
|
export { GenAIChat, GenAIAssistant, type GenAIChatProps, type GenAIAssistantProps, } from "./components/GenAIChat.js";
|
|
7
|
+
export { type GenAIInitializeOnStart } from "./types.js";
|
|
7
8
|
export { GenAIConversations, type GenAIConversationsProps } from "./components/GenAiConversations.js";
|
|
8
9
|
export { GenAiStore, type GenAiStoreProps } from "./components/GenAiStore.js";
|
|
9
10
|
export { makeUserItem, makeAssistantItem, type TextContentObject, type IChatConversationLocalContent, type IChatConversationLocalItem, type IChatConversationErrorContent, type IChatConversationMultipartLocalPart, type IChatConversationLocal, type IChatConversationSystemContent, type GenAIAgent, } from "./model.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,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EACH,YAAY,EACZ,iBAAiB,EACjB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EACnC,KAAK,UAAU,GAClB,MAAM,YAAY,CAAC;AACpB,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,SAAS,EACd,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC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,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,uCAAuC,EAAE,MAAM,6DAA6D,CAAC;AACtH,OAAO,EAAE,8BAA8B,EAAE,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/sdk-ui-gen-ai.d.ts
CHANGED
|
@@ -628,6 +628,11 @@ export declare type GenAIConversationsProps = Omit<GenAiStoreProps, "children">
|
|
|
628
628
|
slots?: IGenAIAssistantSlots;
|
|
629
629
|
};
|
|
630
630
|
|
|
631
|
+
/**
|
|
632
|
+
* @internal
|
|
633
|
+
*/
|
|
634
|
+
export declare type GenAIInitializeOnStart = ("catalogItems" | "agents")[];
|
|
635
|
+
|
|
631
636
|
/**
|
|
632
637
|
* The Interaction Intelligence panel: a single timeline of the processing steps behind one
|
|
633
638
|
* assistant response, with a list view and a per-category detail view. Loads its own data on
|
|
@@ -747,6 +752,11 @@ export declare type GenAiStoreProps = {
|
|
|
747
752
|
* @internal
|
|
748
753
|
*/
|
|
749
754
|
allowInteractionIntelligence?: boolean;
|
|
755
|
+
/**
|
|
756
|
+
* @internal
|
|
757
|
+
* Whether to load the Gen AI store on start.
|
|
758
|
+
*/
|
|
759
|
+
initializeOnStart?: GenAIInitializeOnStart;
|
|
750
760
|
};
|
|
751
761
|
|
|
752
762
|
/**
|
|
@@ -23,6 +23,7 @@ export declare const tagsSelector: (state: RootState) => {
|
|
|
23
23
|
excludeTags: string[] | undefined;
|
|
24
24
|
};
|
|
25
25
|
export declare const catalogItemsSelector: (state: RootState) => CatalogItem[];
|
|
26
|
+
export declare const catalogItemsStateSelector: (state: RootState) => RootState["chatWindow"]["catalogItemsState"];
|
|
26
27
|
export declare const contextObjectsSelector: (state: RootState) => ContextObjectsState;
|
|
27
28
|
export declare const contextObjectsSearchSelector: (state: RootState) => string;
|
|
28
29
|
export declare const inputValueSelector: (state: RootState) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatWindowSelectors.d.ts","sourceRoot":"","sources":["../../../src/store/chatWindow/chatWindowSelectors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,iBAAiB,EAEzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAM7C,eAAO,MAAM,cAAc,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,OAGlD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,OAG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,SAAS,KAAK,OAAO,GAAG,SAG3E,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,OAe5D,CAAC"}
|
|
@@ -34,6 +34,9 @@ export const tagsSelector = createSelector(chatWindowSliceSelector, (state) => {
|
|
|
34
34
|
export const catalogItemsSelector = createSelector(chatWindowSliceSelector, (state) => {
|
|
35
35
|
return state.catalogItems ?? [];
|
|
36
36
|
});
|
|
37
|
+
export const catalogItemsStateSelector = createSelector(chatWindowSliceSelector, (state) => {
|
|
38
|
+
return state.catalogItemsState;
|
|
39
|
+
});
|
|
37
40
|
export const contextObjectsSelector = createSelector(chatWindowSliceSelector, (state) => state.contextObjects);
|
|
38
41
|
export const contextObjectsSearchSelector = createSelector(chatWindowSliceSelector, (state) => state.contextObjectsSearch);
|
|
39
42
|
export const inputValueSelector = createSelector(chatWindowSliceSelector, (state) => state.inputValue);
|
|
@@ -40,6 +40,10 @@ type ChatWindowSliceState = {
|
|
|
40
40
|
* Catalog items for autocomplete.
|
|
41
41
|
*/
|
|
42
42
|
catalogItems?: CatalogItem[];
|
|
43
|
+
/**
|
|
44
|
+
* Indicates whether catalog items are loading.
|
|
45
|
+
*/
|
|
46
|
+
catalogItemsState: "pending" | "loading" | "loaded";
|
|
43
47
|
/**
|
|
44
48
|
* Dashboards and visualizations offered by the context chooser, on top of the ambient ones.
|
|
45
49
|
*/
|
|
@@ -104,7 +108,7 @@ export declare const setOpenAction: import("@reduxjs/toolkit").ActionCreatorWith
|
|
|
104
108
|
}, "chatWindow/setObjectTypesAction">, setTagsAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
105
109
|
includeTags?: string[];
|
|
106
110
|
excludeTags?: string[];
|
|
107
|
-
}, "chatWindow/setTagsAction">, setCatalogItemsActions: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<CatalogItem[] | undefined, "chatWindow/setCatalogItemsActions">, setInputValueAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
111
|
+
}, "chatWindow/setTagsAction">, setCatalogItemsActions: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<CatalogItem[] | undefined, "chatWindow/setCatalogItemsActions">, setCatalogItemsLoadingAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"chatWindow/setCatalogItemsLoadingAction">, setInputValueAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
108
112
|
value: string;
|
|
109
113
|
}, "chatWindow/setInputValueAction">, initContextObjectsAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"chatWindow/initContextObjectsAction">, loadContextObjectsNextPageAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
110
114
|
kind: ContextObjectKind;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatWindowSlice.d.ts","sourceRoot":"","sources":["../../../src/store/chatWindow/chatWindowSlice.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,OAAO,EAAe,MAAM,kBAAkB,CAAC;AAEjF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,QAAQ,EAEhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAUjE,OAAO,EACH,KAAK,iBAAiB,EAEtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,YAAY,EACpB,MAAM,gBAAgB,CAAC;AAGxB,KAAK,oBAAoB,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAC;IACnC;;OAEG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,eAAe,EAAE,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,cAAc,EAAE,mBAAmB,CAAC;IACpC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;OAEG;IACH,wBAAwB,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACtD;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"chatWindowSlice.d.ts","sourceRoot":"","sources":["../../../src/store/chatWindow/chatWindowSlice.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,OAAO,EAAe,MAAM,kBAAkB,CAAC;AAEjF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,QAAQ,EAEhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,cAAc,EA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