@gooddata/sdk-ui-gen-ai 11.48.0-alpha.0 → 11.48.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/esm/components/GenAIChatContextIndicator.d.ts +7 -0
- package/esm/components/GenAIChatContextIndicator.d.ts.map +1 -0
- package/esm/components/GenAIChatContextIndicator.js +35 -0
- package/esm/components/GenAIChatDialogConnected.d.ts +8 -1
- package/esm/components/GenAIChatDialogConnected.d.ts.map +1 -1
- package/esm/components/GenAIChatDialogConnected.js +10 -2
- package/esm/components/GenAiChatAgentSwitching.d.ts +14 -0
- package/esm/components/GenAiChatAgentSwitching.d.ts.map +1 -0
- package/esm/components/GenAiChatAgentSwitching.js +81 -0
- package/esm/components/GenAiChatContextChooser.d.ts +8 -0
- package/esm/components/GenAiChatContextChooser.d.ts.map +1 -0
- package/esm/components/GenAiChatContextChooser.js +43 -0
- package/esm/components/Input.d.ts.map +1 -1
- package/esm/components/Input.js +23 -54
- package/esm/components/hooks/useContextItems.d.ts +7 -0
- package/esm/components/hooks/useContextItems.d.ts.map +1 -0
- package/esm/components/hooks/useContextItems.js +31 -0
- package/esm/components/utils/icons.d.ts +7 -0
- package/esm/components/utils/icons.d.ts.map +1 -0
- package/esm/components/utils/icons.js +16 -0
- package/esm/context/addContextReference.d.ts +4 -0
- package/esm/context/addContextReference.d.ts.map +1 -0
- package/esm/context/addContextReference.js +19 -0
- package/esm/context/build.d.ts +7 -0
- package/esm/context/build.d.ts.map +1 -0
- package/esm/context/build.js +18 -0
- package/esm/context/collectContextReferences.d.ts +11 -0
- package/esm/context/collectContextReferences.d.ts.map +1 -0
- package/esm/context/collectContextReferences.js +29 -0
- package/esm/context/dashboard.d.ts +21 -0
- package/esm/context/dashboard.d.ts.map +1 -0
- package/esm/context/dashboard.js +144 -0
- package/esm/context/isReferenceChanged.d.ts +3 -0
- package/esm/context/isReferenceChanged.d.ts.map +1 -0
- package/esm/context/isReferenceChanged.js +7 -0
- package/esm/context/referencedObjects.d.ts +10 -0
- package/esm/context/referencedObjects.d.ts.map +1 -0
- package/esm/context/referencedObjects.js +19 -0
- package/esm/context/removeContextReference.d.ts +4 -0
- package/esm/context/removeContextReference.d.ts.map +1 -0
- package/esm/context/removeContextReference.js +26 -0
- package/esm/context.d.ts +5 -0
- package/esm/context.d.ts.map +1 -0
- package/esm/context.js +6 -0
- package/esm/internal.d.ts +2 -2
- package/esm/internal.d.ts.map +1 -1
- package/esm/internal.js +2 -2
- package/esm/localization/bundles/de-DE.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/de-DE.localization-bundle.js +1 -0
- package/esm/localization/bundles/en-AU.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-AU.localization-bundle.js +1 -0
- package/esm/localization/bundles/en-GB.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-GB.localization-bundle.js +1 -0
- package/esm/localization/bundles/en-US.localization-bundle.d.ts +4 -0
- package/esm/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/en-US.localization-bundle.js +4 -0
- package/esm/localization/bundles/es-419.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/es-419.localization-bundle.js +1 -0
- package/esm/localization/bundles/es-ES.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/es-ES.localization-bundle.js +1 -0
- package/esm/localization/bundles/fi-FI.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fi-FI.localization-bundle.js +1 -0
- package/esm/localization/bundles/fr-CA.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fr-CA.localization-bundle.js +1 -0
- package/esm/localization/bundles/fr-FR.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/fr-FR.localization-bundle.js +1 -0
- package/esm/localization/bundles/id-ID.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/id-ID.localization-bundle.js +1 -0
- package/esm/localization/bundles/it-IT.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/it-IT.localization-bundle.js +1 -0
- package/esm/localization/bundles/ja-JP.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ja-JP.localization-bundle.js +1 -0
- package/esm/localization/bundles/ko-KR.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ko-KR.localization-bundle.js +1 -0
- package/esm/localization/bundles/nl-NL.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/nl-NL.localization-bundle.js +1 -0
- package/esm/localization/bundles/pl-PL.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pl-PL.localization-bundle.js +1 -0
- package/esm/localization/bundles/pt-BR.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pt-BR.localization-bundle.js +1 -0
- package/esm/localization/bundles/pt-PT.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/pt-PT.localization-bundle.js +1 -0
- package/esm/localization/bundles/ru-RU.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/ru-RU.localization-bundle.js +1 -0
- package/esm/localization/bundles/sl-SI.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/sl-SI.localization-bundle.js +1 -0
- package/esm/localization/bundles/th-TH.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/th-TH.localization-bundle.js +1 -0
- package/esm/localization/bundles/tr-TR.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/tr-TR.localization-bundle.js +1 -0
- package/esm/localization/bundles/uk-UA.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/uk-UA.localization-bundle.js +1 -0
- package/esm/localization/bundles/vi-VN.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/vi-VN.localization-bundle.js +1 -0
- package/esm/localization/bundles/zh-HK.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-HK.localization-bundle.js +1 -0
- package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-Hans.localization-bundle.js +1 -0
- package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts +1 -0
- package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/localization/bundles/zh-Hant.localization-bundle.js +1 -0
- package/esm/store/chatWindow/chatWindowSelectors.d.ts +9 -1
- package/esm/store/chatWindow/chatWindowSelectors.d.ts.map +1 -1
- package/esm/store/chatWindow/chatWindowSelectors.js +14 -1
- package/esm/store/chatWindow/chatWindowSlice.d.ts +20 -7
- package/esm/store/chatWindow/chatWindowSlice.d.ts.map +1 -1
- package/esm/store/chatWindow/chatWindowSlice.js +34 -4
- package/esm/store/sideEffects/onUserMessage.d.ts.map +1 -1
- package/esm/store/sideEffects/onUserMessage.js +14 -10
- package/esm/types.d.ts +20 -1
- package/esm/types.d.ts.map +1 -1
- package/package.json +21 -20
- package/styles/css/input.css +7 -0
- package/styles/css/input.css.map +1 -1
- package/styles/css/main.css +19 -1
- package/styles/css/main.css.map +1 -1
- package/styles/scss/input.scss +8 -0
- package/styles/scss/main.scss +11 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { isIdentifierRef, } from "@gooddata/sdk-model";
|
|
3
|
+
export function collectContextReferences(context, type) {
|
|
4
|
+
if (!context) {
|
|
5
|
+
return [];
|
|
6
|
+
}
|
|
7
|
+
const references = [];
|
|
8
|
+
// dashboard
|
|
9
|
+
const dashboard = context.view?.dashboard;
|
|
10
|
+
if (dashboard) {
|
|
11
|
+
const ref = dashboard.ref;
|
|
12
|
+
const id = isIdentifierRef(ref) ? ref.identifier : ref.uri;
|
|
13
|
+
references.push({
|
|
14
|
+
id,
|
|
15
|
+
ref,
|
|
16
|
+
type: "dashboard",
|
|
17
|
+
where: "view.dashboard",
|
|
18
|
+
title: dashboard.title ?? id,
|
|
19
|
+
nesting: 0,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//NOTE: For ambient we need to return only one object with
|
|
23
|
+
// most deep nesting level.
|
|
24
|
+
if (type === "ambient") {
|
|
25
|
+
return references.sort((a, b) => b.nesting - a.nesting).slice(0, 1);
|
|
26
|
+
}
|
|
27
|
+
//NOTE: For user we need to return all objects.
|
|
28
|
+
return references;
|
|
29
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type FilterContextItem, type GenAIUserContextFilter, type IAttributeDisplayFormMetadataObject, type IGenAIDashboardContext, type IGenAIObjectReference, type IGenAIUserContext, type IGenAIWidgetDescriptor, type IWidget, type ObjRef } from "@gooddata/sdk-model";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildDashboardContext(dashboard: IGenAIDashboardContext): IGenAIUserContext;
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildWidgetContext(title: string, widgetRef: ObjRef, widgetType: "insight" | "visualizationSwitcher" | "richText", props?: Partial<Omit<IGenAIWidgetDescriptor, "title" | "widgetRef" | "widgetType">>): IGenAIWidgetDescriptor;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare function buildFiltersContext(filters: FilterContextItem[], displayForms?: Pick<Map<ObjRef, IAttributeDisplayFormMetadataObject>, "get">): GenAIUserContextFilter[];
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare function buildWidgetsContext(widgetsMap: Pick<Map<ObjRef, IWidget>, "values" | "get">, resultsIdMap?: Pick<Map<string, string | undefined>, "values" | "get">): {
|
|
18
|
+
widgets: IGenAIWidgetDescriptor[];
|
|
19
|
+
referencedObjects: IGenAIObjectReference[];
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=dashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/context/dashboard.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAEtB,KAAK,sBAAsB,EAC3B,KAAK,OAAO,EACZ,KAAK,MAAM,EASd,MAAM,qBAAqB,CAAC;AAM7B;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,sBAAsB,GAAG,iBAAiB,CAM1F;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAC9B,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,SAAS,GAAG,uBAAuB,GAAG,UAAU,EAC5D,KAAK,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,OAAO,GAAG,WAAW,GAAG,YAAY,CAAC,CAAC,GACpF,sBAAsB,CAOxB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,iBAAiB,EAAE,EAC5B,YAAY,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,mCAAmC,CAAC,EAAE,KAAK,CAAC,GAC7E,sBAAsB,EAAE,CA2E1B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAC/B,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,EACxD,YAAY,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,GACvE;IAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAAC,iBAAiB,EAAE,qBAAqB,EAAE,CAAA;CAAE,CAkDnF"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { isAttributeElementsByRef, isDashboardAttributeFilter, isDashboardDateFilter, isInsightWidget, isRichTextWidget, isVisualizationSwitcherWidget, objRefToString, serializeObjRef, } from "@gooddata/sdk-model";
|
|
3
|
+
import { DEFAULT_MESSAGES } from "@gooddata/sdk-ui";
|
|
4
|
+
import { DateFilterHelpers } from "@gooddata/sdk-ui-filters";
|
|
5
|
+
import { buildContext } from "./build.js";
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export function buildDashboardContext(dashboard) {
|
|
10
|
+
return buildContext({
|
|
11
|
+
view: {
|
|
12
|
+
dashboard,
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export function buildWidgetContext(title, widgetRef, widgetType, props) {
|
|
20
|
+
return {
|
|
21
|
+
title,
|
|
22
|
+
widgetRef,
|
|
23
|
+
widgetType,
|
|
24
|
+
...props,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
export function buildFiltersContext(filters, displayForms) {
|
|
31
|
+
const converted = [];
|
|
32
|
+
for (const filter of filters) {
|
|
33
|
+
if (isDashboardAttributeFilter(filter)) {
|
|
34
|
+
const { displayForm, negativeSelection, attributeElements, title } = filter.attributeFilter;
|
|
35
|
+
const elements = isAttributeElementsByRef(attributeElements)
|
|
36
|
+
? attributeElements.uris
|
|
37
|
+
: attributeElements.values;
|
|
38
|
+
const values = (elements ?? []).filter((value) => value != null);
|
|
39
|
+
if (values.length > 0) {
|
|
40
|
+
converted.push({
|
|
41
|
+
type: "attribute_filter",
|
|
42
|
+
using: objRefToString(displayForm),
|
|
43
|
+
state: negativeSelection ? { exclude: values } : { include: values },
|
|
44
|
+
title: title ?? displayForms?.get(displayForm)?.title,
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if (isDashboardDateFilter(filter)) {
|
|
49
|
+
const { type, granularity, from, to, dataSet } = filter.dateFilter;
|
|
50
|
+
const using = dataSet ? objRefToString(dataSet) : undefined;
|
|
51
|
+
if (type === "absolute" && typeof from === "string" && typeof to === "string") {
|
|
52
|
+
converted.push({
|
|
53
|
+
title: DateFilterHelpers.getDateFilterRepresentation({
|
|
54
|
+
...filter.dateFilter,
|
|
55
|
+
type: "absoluteForm",
|
|
56
|
+
visible: true,
|
|
57
|
+
localIdentifier: filter.dateFilter.localIdentifier,
|
|
58
|
+
from,
|
|
59
|
+
to,
|
|
60
|
+
}, "en-US", DEFAULT_MESSAGES["en-US"], "full"),
|
|
61
|
+
type: "date_filter",
|
|
62
|
+
using,
|
|
63
|
+
from,
|
|
64
|
+
to,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
if (type === "relative" && typeof from === "number" && typeof to === "number") {
|
|
68
|
+
const genAIGranularity = GRANULARITY_TO_GENAI[granularity];
|
|
69
|
+
if (genAIGranularity) {
|
|
70
|
+
converted.push({
|
|
71
|
+
title: DateFilterHelpers.getDateFilterRepresentation({
|
|
72
|
+
...filter.dateFilter,
|
|
73
|
+
type: "relativeForm",
|
|
74
|
+
visible: true,
|
|
75
|
+
localIdentifier: filter.dateFilter.localIdentifier,
|
|
76
|
+
from,
|
|
77
|
+
to,
|
|
78
|
+
}, "en-US", DEFAULT_MESSAGES["en-US"], "full"),
|
|
79
|
+
granularity: genAIGranularity,
|
|
80
|
+
type: "date_filter",
|
|
81
|
+
using,
|
|
82
|
+
from,
|
|
83
|
+
to,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return converted;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
export function buildWidgetsContext(widgetsMap, resultsIdMap) {
|
|
95
|
+
const widgets = [];
|
|
96
|
+
const referencedObjects = [];
|
|
97
|
+
const switcherChildRefs = new Set();
|
|
98
|
+
for (const widget of widgetsMap.values()) {
|
|
99
|
+
if (isVisualizationSwitcherWidget(widget)) {
|
|
100
|
+
for (const visualization of widget.visualizations) {
|
|
101
|
+
switcherChildRefs.add(serializeObjRef(visualization.ref));
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
for (const widget of widgetsMap.values()) {
|
|
106
|
+
if (isInsightWidget(widget)) {
|
|
107
|
+
if (!switcherChildRefs.has(serializeObjRef(widget.ref))) {
|
|
108
|
+
widgets.push(buildWidgetContext(widget.title, widget.ref, "insight", {
|
|
109
|
+
insightRef: widget.insight,
|
|
110
|
+
resultId: resultsIdMap?.get(serializeObjRef(widget.ref)),
|
|
111
|
+
}));
|
|
112
|
+
referencedObjects.push({ type: "WIDGET", ref: widget.ref });
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
if (isVisualizationSwitcherWidget(widget)) {
|
|
116
|
+
const activeVisualization = widget.visualizations[0];
|
|
117
|
+
widgets.push(buildWidgetContext(widget.title, widget.ref, "visualizationSwitcher", {
|
|
118
|
+
insightRef: activeVisualization?.insight,
|
|
119
|
+
resultId: activeVisualization
|
|
120
|
+
? resultsIdMap?.get(serializeObjRef(activeVisualization.ref))
|
|
121
|
+
: undefined,
|
|
122
|
+
// All child insights, so the BE can execute the non-active children
|
|
123
|
+
// (which have no cached result).
|
|
124
|
+
visualizationRefs: widget.visualizations.map((v) => v.insight),
|
|
125
|
+
}));
|
|
126
|
+
referencedObjects.push({ type: "WIDGET", ref: widget.ref });
|
|
127
|
+
}
|
|
128
|
+
if (isRichTextWidget(widget)) {
|
|
129
|
+
widgets.push(buildWidgetContext(widget.title, widget.ref, "richText", {
|
|
130
|
+
content: widget.content,
|
|
131
|
+
}));
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return { widgets, referencedObjects };
|
|
135
|
+
}
|
|
136
|
+
const GRANULARITY_TO_GENAI = {
|
|
137
|
+
"GDC.time.minute": "MINUTE",
|
|
138
|
+
"GDC.time.hour": "HOUR",
|
|
139
|
+
"GDC.time.date": "DAY",
|
|
140
|
+
"GDC.time.week_us": "WEEK_US",
|
|
141
|
+
"GDC.time.month": "MONTH",
|
|
142
|
+
"GDC.time.quarter": "QUARTER",
|
|
143
|
+
"GDC.time.year": "YEAR",
|
|
144
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isReferenceChanged.d.ts","sourceRoot":"","sources":["../../src/context/isReferenceChanged.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAmB,MAAM,qBAAqB,CAAC;AAE9E,wBAAgB,kBAAkB,CAC9B,UAAU,EAAE,iBAAiB,GAAG,SAAS,EACzC,UAAU,EAAE,iBAAiB,GAAG,SAAS,GAC1C,OAAO,CAKT"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { areObjRefsEqual } from "@gooddata/sdk-model";
|
|
3
|
+
export function isReferenceChanged(oldContext, newContext) {
|
|
4
|
+
const oldDashboardRef = oldContext?.view?.dashboard?.ref;
|
|
5
|
+
const newDashboardRef = newContext?.view?.dashboard?.ref;
|
|
6
|
+
return !areObjRefsEqual(oldDashboardRef, newDashboardRef);
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IGenAIObjectReference, IGenAIObjectReferenceGroup, IGenAIUserContext } from "@gooddata/sdk-model";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildReferencedContext(referencedObjects: IGenAIObjectReferenceGroup[]): IGenAIUserContext;
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildReferenceContext(objects: IGenAIObjectReference[], context?: IGenAIObjectReference): IGenAIObjectReferenceGroup;
|
|
10
|
+
//# sourceMappingURL=referencedObjects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referencedObjects.d.ts","sourceRoot":"","sources":["../../src/context/referencedObjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACR,qBAAqB,EACrB,0BAA0B,EAC1B,iBAAiB,EACpB,MAAM,qBAAqB,CAAC;AAI7B;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,GAAG,iBAAiB,CAIzG;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACjC,OAAO,EAAE,qBAAqB,EAAE,EAChC,OAAO,CAAC,EAAE,qBAAqB,GAChC,0BAA0B,CAK5B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { buildContext } from "./build.js";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export function buildReferencedContext(referencedObjects) {
|
|
7
|
+
return buildContext({
|
|
8
|
+
referencedObjects,
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export function buildReferenceContext(objects, context) {
|
|
15
|
+
return {
|
|
16
|
+
context,
|
|
17
|
+
objects,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type IGenAIUserContext } from "@gooddata/sdk-model";
|
|
2
|
+
import type { IGenAIContextObject } from "./collectContextReferences.js";
|
|
3
|
+
export declare function removeContextReference(context: IGenAIUserContext | undefined, reference?: IGenAIContextObject): IGenAIUserContext | undefined;
|
|
4
|
+
//# sourceMappingURL=removeContextReference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeContextReference.d.ts","sourceRoot":"","sources":["../../src/context/removeContextReference.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,wBAAgB,sBAAsB,CAClC,OAAO,EAAE,iBAAiB,GAAG,SAAS,EACtC,SAAS,CAAC,EAAE,mBAAmB,GAChC,iBAAiB,GAAG,SAAS,CA6B/B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
export function removeContextReference(context, reference) {
|
|
3
|
+
if (!context) {
|
|
4
|
+
return undefined;
|
|
5
|
+
}
|
|
6
|
+
if (!reference) {
|
|
7
|
+
return context;
|
|
8
|
+
}
|
|
9
|
+
const newContext = { ...context };
|
|
10
|
+
// remove dashboard reference
|
|
11
|
+
if (reference.where === "view.dashboard" && newContext.view) {
|
|
12
|
+
newContext.view = { ...newContext.view };
|
|
13
|
+
delete newContext.view.dashboard;
|
|
14
|
+
}
|
|
15
|
+
// make clean context
|
|
16
|
+
if (newContext.view && Object.keys(newContext.view).length === 0) {
|
|
17
|
+
delete newContext.view;
|
|
18
|
+
}
|
|
19
|
+
if (newContext.referencedObjects?.length === 0) {
|
|
20
|
+
delete newContext.referencedObjects;
|
|
21
|
+
}
|
|
22
|
+
if (Object.keys(newContext).length === 0) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
return newContext;
|
|
26
|
+
}
|
package/esm/context.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { mergeContexts } from "./context/build.js";
|
|
2
|
+
import { buildDashboardContext, buildFiltersContext, buildWidgetContext, buildWidgetsContext } from "./context/dashboard.js";
|
|
3
|
+
import { buildReferenceContext, buildReferencedContext } from "./context/referencedObjects.js";
|
|
4
|
+
export { mergeContexts, buildDashboardContext, buildWidgetContext, buildWidgetsContext, buildReferencedContext, buildReferenceContext, buildFiltersContext, };
|
|
5
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EACH,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE/F,OAAO,EACH,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,GACtB,CAAC"}
|
package/esm/context.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
/* oxlint-disable no-barrel-files/no-barrel-files */
|
|
3
|
+
import { mergeContexts } from "./context/build.js";
|
|
4
|
+
import { buildDashboardContext, buildFiltersContext, buildWidgetContext, buildWidgetsContext, } from "./context/dashboard.js";
|
|
5
|
+
import { buildReferenceContext, buildReferencedContext } from "./context/referencedObjects.js";
|
|
6
|
+
export { mergeContexts, buildDashboardContext, buildWidgetContext, buildWidgetsContext, buildReferencedContext, buildReferenceContext, buildFiltersContext, };
|
package/esm/internal.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { makeTextContents, makeUserMessage } from "./model.js";
|
|
2
|
-
import { setUserContextAction } from "./store/chatWindow/chatWindowSlice.js";
|
|
2
|
+
import { setAmbientUserContextAction, setUserContextAction } from "./store/chatWindow/chatWindowSlice.js";
|
|
3
3
|
import { clearThreadAction, newMessageAction } from "./store/messages/messagesSlice.js";
|
|
4
4
|
export { ChatSkeleton } from "./components/ChatSkeleton.js";
|
|
5
5
|
export { GenAIChatDialog, type GenAIChatDialogProps } from "./components/GenAIChatDialog.js";
|
|
6
6
|
export { GenAIChatDialogConnected, type IGenAIChatDialogConnectedProps, type GenAIChatConnectedEvent, } from "./components/GenAIChatDialogConnected.js";
|
|
7
|
-
export { clearThreadAction, newMessageAction, makeUserMessage, makeTextContents, setUserContextAction };
|
|
7
|
+
export { clearThreadAction, newMessageAction, makeUserMessage, makeTextContents, setUserContextAction, setAmbientUserContextAction, };
|
|
8
8
|
//# sourceMappingURL=internal.d.ts.map
|
package/esm/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC1G,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAExF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC7F,OAAO,EACH,wBAAwB,EACxB,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,GAC/B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACH,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,GAC9B,CAAC"}
|
package/esm/internal.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// (C) 2024-2026 GoodData Corporation
|
|
2
2
|
/* oxlint-disable no-barrel-files/no-barrel-files */
|
|
3
3
|
import { makeTextContents, makeUserMessage } from "./model.js";
|
|
4
|
-
import { setUserContextAction } from "./store/chatWindow/chatWindowSlice.js";
|
|
4
|
+
import { setAmbientUserContextAction, setUserContextAction } from "./store/chatWindow/chatWindowSlice.js";
|
|
5
5
|
import { clearThreadAction, newMessageAction } from "./store/messages/messagesSlice.js";
|
|
6
6
|
export { ChatSkeleton } from "./components/ChatSkeleton.js";
|
|
7
7
|
export { GenAIChatDialog } from "./components/GenAIChatDialog.js";
|
|
8
8
|
export { GenAIChatDialogConnected, } from "./components/GenAIChatDialogConnected.js";
|
|
9
|
-
export { clearThreadAction, newMessageAction, makeUserMessage, makeTextContents, setUserContextAction };
|
|
9
|
+
export { clearThreadAction, newMessageAction, makeUserMessage, makeTextContents, setUserContextAction, setAmbientUserContextAction, };
|
|
@@ -29,6 +29,7 @@ export declare const de_DE: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de-DE.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/de-DE.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"de-DE.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/de-DE.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const de_DE = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Fragen Sie hier…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Stellen Sie Ihre Frage. Verwenden Sie Strg+Leerzeichen oder cmd+I für Vorschläge.",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Stellen Sie Ihre Frage. Verwenden Sie Strg+Leerzeichen oder Strg+I für Vorschläge.",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Kontext hinzufügen",
|
|
34
35
|
"gd.gen-ai.agents": "Agenten",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Wird geladen",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "Kein Agent verfügbar",
|
|
@@ -29,6 +29,7 @@ export declare const en_AU: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-AU.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/en-AU.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"en-AU.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/en-AU.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const en_AU = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Ask here…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Ask your question. Use control+space or cmd+I for suggestions",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Ask your question. Use control+space or control+I for suggestions",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Add context",
|
|
34
35
|
"gd.gen-ai.agents": "Agents",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Loading",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "No agent available",
|
|
@@ -29,6 +29,7 @@ export declare const en_GB: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-GB.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/en-GB.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"en-GB.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/en-GB.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const en_GB = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Ask here…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Ask your question. Use control+space or cmd+I for suggestions.",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Ask your question. Use Ctrl+Space or Ctrl+I for suggestions.",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Add context",
|
|
34
35
|
"gd.gen-ai.agents": "Agents",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Loading",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "No agent available",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6tBjB,CAAC"}
|
|
@@ -121,6 +121,10 @@ export const en_US = {
|
|
|
121
121
|
"text": "Ask your question. Use control+space or control+I for suggestions.",
|
|
122
122
|
"crowdinContext": "Label for the input field where Windows users type their questions to the AI chatbot"
|
|
123
123
|
},
|
|
124
|
+
"gd.gen-ai.context.add_context": {
|
|
125
|
+
"text": "Add context",
|
|
126
|
+
"crowdinContext": "Label for the button that adds a new context to the AI chatbot"
|
|
127
|
+
},
|
|
124
128
|
"gd.gen-ai.agents": {
|
|
125
129
|
"text": "Agents",
|
|
126
130
|
"crowdinContext": "Label for the agent selector in the AI chatbot input"
|
|
@@ -29,6 +29,7 @@ export declare const es_419: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-419.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/es-419.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"es-419.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/es-419.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLlB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const es_419 = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Pregunte aquí…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Formule su pregunta. Utilice control+espacio o cmd+I para obtener sugerencias.",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Haz tu pregunta. Utilice control+espacio o control+I para sugerencias.",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Agregar contexto",
|
|
34
35
|
"gd.gen-ai.agents": "Agentes",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Cargando",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "No hay agentes disponibles",
|
|
@@ -29,6 +29,7 @@ export declare const es_ES: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-ES.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/es-ES.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"es-ES.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/es-ES.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const es_ES = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Pregunte aquí…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Formule su pregunta. Utilice control+espacio o cmd+I para obtener sugerencias.",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Haz tu pregunta. Utilice control+espacio o control+I para sugerencias.",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Agregar contexto",
|
|
34
35
|
"gd.gen-ai.agents": "Agentes",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Cargando",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "No hay ningún agente disponible",
|
|
@@ -29,6 +29,7 @@ export declare const fi_FI: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fi-FI.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/fi-FI.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"fi-FI.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/fi-FI.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const fi_FI = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Kysy täältä…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Esitä kysymyksesi. Käytä ehdotuksiin ohjausta+tilaa tai cmd+I: tä.",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Esitä kysymyksesi. Käytä ehdotuksiin ohjausta+tilaa tai ohjausta+I.",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Lisää konteksti",
|
|
34
35
|
"gd.gen-ai.agents": "Agentit",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Ladataan",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "Agenttia ei ole saatavilla",
|
|
@@ -29,6 +29,7 @@ export declare const fr_CA: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr-CA.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/fr-CA.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"fr-CA.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/fr-CA.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const fr_CA = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Demandez ici…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Posez votre question. Utilisez contrôle+espace ou cmd+I pour obtenir des suggestions.",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Posez votre question. Utilisez contrôle+espace ou contrôle+I pour les suggestions.",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Ajouter un contexte",
|
|
34
35
|
"gd.gen-ai.agents": "Agents",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Chargement en cours",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "Aucun agent disponible",
|
|
@@ -29,6 +29,7 @@ export declare const fr_FR: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr-FR.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/fr-FR.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"fr-FR.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/fr-FR.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const fr_FR = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Posez votre question ici…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Posez votre question. Utilisez Ctrl+Espace ou Cmd+I pour obtenir des suggestions.",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Posez votre question. Utilisez Ctrl+Espace ou Ctrl+I pour obtenir des suggestions.",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Ajouter un contexte",
|
|
34
35
|
"gd.gen-ai.agents": "Agents",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Chargement en cours",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "Aucun agent disponible",
|
|
@@ -29,6 +29,7 @@ export declare const id_ID: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-ID.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/id-ID.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"id-ID.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/id-ID.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|
|
@@ -31,6 +31,7 @@ export const id_ID = {
|
|
|
31
31
|
"gd.gen-ai.input-placeholder": "Tanyakan di sini…",
|
|
32
32
|
"gd.gen-ai.input-label.mac": "Ajukan pertanyaan Anda. Gunakan Control+Space atau Cmd+I untuk saran.",
|
|
33
33
|
"gd.gen-ai.input-label.win": "Ajukan pertanyaan Anda. Gunakan Control+Space atau Control+I untuk saran.",
|
|
34
|
+
"gd.gen-ai.context.add_context": "Tambahkan konteks",
|
|
34
35
|
"gd.gen-ai.agents": "Agen",
|
|
35
36
|
"gd.gen-ai.agents.loading": "Memuat",
|
|
36
37
|
"gd.gen-ai.agent.unavailable": "Tidak ada agen yang tersedia",
|
|
@@ -29,6 +29,7 @@ export declare const it_IT: {
|
|
|
29
29
|
"gd.gen-ai.input-placeholder": string;
|
|
30
30
|
"gd.gen-ai.input-label.mac": string;
|
|
31
31
|
"gd.gen-ai.input-label.win": string;
|
|
32
|
+
"gd.gen-ai.context.add_context": string;
|
|
32
33
|
"gd.gen-ai.agents": string;
|
|
33
34
|
"gd.gen-ai.agents.loading": string;
|
|
34
35
|
"gd.gen-ai.agent.unavailable": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"it-IT.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/it-IT.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"it-IT.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/it-IT.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLjB,CAAC"}
|