@gooddata/sdk-ui-pluggable-host 11.41.0-alpha.1 → 11.41.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/tsdoc-metadata.json
CHANGED
|
@@ -18,7 +18,8 @@ export interface ISemanticSearchProps {
|
|
|
18
18
|
enableUseGenAIChat?: boolean;
|
|
19
19
|
useHostedMetricEditor?: boolean;
|
|
20
20
|
useHostedAnalyticalDesigner?: boolean;
|
|
21
|
+
useHostedLdmModeler?: boolean;
|
|
21
22
|
onAskAiAssistant?: (question: string) => void;
|
|
22
23
|
onEvent?: (event: SemanticSearchEvent) => void;
|
|
23
24
|
}
|
|
24
|
-
export declare function SemanticSearch({ backend, workspaceId, metadataTimeZone, canManage, canAnalyze, canFullControl, isTrial, enableUseGenAIChat, useHostedMetricEditor, useHostedAnalyticalDesigner, onAskAiAssistant, onEvent }: ISemanticSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function SemanticSearch({ backend, workspaceId, metadataTimeZone, canManage, canAnalyze, canFullControl, isTrial, enableUseGenAIChat, useHostedMetricEditor, useHostedAnalyticalDesigner, useHostedLdmModeler, onAskAiAssistant, onEvent }: ISemanticSearchProps): import("react/jsx-runtime").JSX.Element;
|
package/esm/ui/SemanticSearch.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useCallback, useEffect, useMemo } from "react";
|
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { FooterButtonAiAssistant, SearchOverlay, useSearchMetrics, } from "@gooddata/sdk-ui-semantic-search/internal";
|
|
6
6
|
const RESULTS_LIMIT = 10;
|
|
7
|
-
export function SemanticSearch({ backend, workspaceId, metadataTimeZone, canManage = false, canAnalyze = false, canFullControl = false, isTrial = false, enableUseGenAIChat = false, useHostedMetricEditor = false, useHostedAnalyticalDesigner = false, onAskAiAssistant, onEvent, }) {
|
|
7
|
+
export function SemanticSearch({ backend, workspaceId, metadataTimeZone, canManage = false, canAnalyze = false, canFullControl = false, isTrial = false, enableUseGenAIChat = false, useHostedMetricEditor = false, useHostedAnalyticalDesigner = false, useHostedLdmModeler = false, onAskAiAssistant, onEvent, }) {
|
|
8
8
|
const intl = useIntl();
|
|
9
9
|
const objectTypes = useMemo(() => {
|
|
10
10
|
const types = ["dashboard", "visualization"];
|
|
@@ -42,5 +42,5 @@ export function SemanticSearch({ backend, workspaceId, metadataTimeZone, canMana
|
|
|
42
42
|
onAskAiAssistant?.(intl.formatMessage({ id: "gen-ai.ask-assistant.search" }, { question: props.value }));
|
|
43
43
|
} }));
|
|
44
44
|
};
|
|
45
|
-
return (_jsx(SearchOverlay, { limit: RESULTS_LIMIT, onSelect: onSelect, onSearch: onSearchMetrics, deepSearch: false, objectTypes: objectTypes, workspace: workspaceId, backend: backend, canManage: canManage, canAnalyze: canAnalyze, canFullControl: canFullControl, metadataTimezone: metadataTimeZone, uiPathOptions: { useHostedMetricEditor, useHostedAnalyticalDesigner }, renderFooter: renderFooter }));
|
|
45
|
+
return (_jsx(SearchOverlay, { limit: RESULTS_LIMIT, onSelect: onSelect, onSearch: onSearchMetrics, deepSearch: false, objectTypes: objectTypes, workspace: workspaceId, backend: backend, canManage: canManage, canAnalyze: canAnalyze, canFullControl: canFullControl, metadataTimezone: metadataTimeZone, uiPathOptions: { useHostedMetricEditor, useHostedAnalyticalDesigner, useHostedLdmModeler }, renderFooter: renderFooter }));
|
|
46
46
|
}
|
|
@@ -13,6 +13,6 @@ export function useHostChromeSearch({ features, isTrial, onAskAiAssistant, telem
|
|
|
13
13
|
const handleSearchEvent = useCallback((event) => {
|
|
14
14
|
telemetry?.trackEvent(event.name, event.payload);
|
|
15
15
|
}, [telemetry]);
|
|
16
|
-
const element = features.showSearch && features.workspaceId ? (_jsx(SemanticSearch, { backend: getBackend(), workspaceId: features.workspaceId, canManage: features.canManageProject, canAnalyze: features.canCreateVisualization, canFullControl: features.canFullControl, metadataTimeZone: features.settings.metadataTimeZone, isTrial: isTrial, enableUseGenAIChat: features.showChat, useHostedMetricEditor: Boolean(features.settings.enableShellApplication_metricEditor), useHostedAnalyticalDesigner: Boolean(features.settings.enableShellApplication_analyticalDesigner), onAskAiAssistant: onAskAiAssistant, onEvent: handleSearchEvent })) : null;
|
|
16
|
+
const element = features.showSearch && features.workspaceId ? (_jsx(SemanticSearch, { backend: getBackend(), workspaceId: features.workspaceId, canManage: features.canManageProject, canAnalyze: features.canCreateVisualization, canFullControl: features.canFullControl, metadataTimeZone: features.settings.metadataTimeZone, isTrial: isTrial, enableUseGenAIChat: features.showChat, useHostedMetricEditor: Boolean(features.settings.enableShellApplication_metricEditor), useHostedAnalyticalDesigner: Boolean(features.settings.enableShellApplication_analyticalDesigner), useHostedLdmModeler: Boolean(features.settings.enableShellApplication_ldmModeler), onAskAiAssistant: onAskAiAssistant, onEvent: handleSearchEvent })) : null;
|
|
17
17
|
return { element };
|
|
18
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-pluggable-host",
|
|
3
|
-
"version": "11.41.0-alpha.
|
|
3
|
+
"version": "11.41.0-alpha.3",
|
|
4
4
|
"description": "GoodData SDK runtime for hosting pluggable applications — registry, loader, routing, platform context, default UI chrome",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@module-federation/runtime": "2.3.1",
|
|
31
31
|
"lodash-es": "^4.17.23",
|
|
32
|
-
"@gooddata/sdk-backend-base": "11.41.0-alpha.
|
|
33
|
-
"@gooddata/sdk-backend-spi": "11.41.0-alpha.
|
|
34
|
-
"@gooddata/sdk-
|
|
35
|
-
"@gooddata/sdk-
|
|
36
|
-
"@gooddata/sdk-
|
|
37
|
-
"@gooddata/sdk-pluggable-application-model": "11.41.0-alpha.
|
|
38
|
-
"@gooddata/sdk-ui": "11.41.0-alpha.
|
|
39
|
-
"@gooddata/sdk-ui-application-header": "11.41.0-alpha.
|
|
40
|
-
"@gooddata/sdk-ui-ext": "11.41.0-alpha.
|
|
41
|
-
"@gooddata/sdk-ui-gen-ai": "11.41.0-alpha.
|
|
42
|
-
"@gooddata/sdk-ui-kit": "11.41.0-alpha.
|
|
43
|
-
"@gooddata/sdk-ui-semantic-search": "11.41.0-alpha.
|
|
44
|
-
"@gooddata/sdk-ui-theme-provider": "11.41.0-alpha.
|
|
45
|
-
"@gooddata/util": "11.41.0-alpha.
|
|
32
|
+
"@gooddata/sdk-backend-base": "11.41.0-alpha.3",
|
|
33
|
+
"@gooddata/sdk-backend-spi": "11.41.0-alpha.3",
|
|
34
|
+
"@gooddata/sdk-embedding": "11.41.0-alpha.3",
|
|
35
|
+
"@gooddata/sdk-model": "11.41.0-alpha.3",
|
|
36
|
+
"@gooddata/sdk-backend-tiger": "11.41.0-alpha.3",
|
|
37
|
+
"@gooddata/sdk-pluggable-application-model": "11.41.0-alpha.3",
|
|
38
|
+
"@gooddata/sdk-ui": "11.41.0-alpha.3",
|
|
39
|
+
"@gooddata/sdk-ui-application-header": "11.41.0-alpha.3",
|
|
40
|
+
"@gooddata/sdk-ui-ext": "11.41.0-alpha.3",
|
|
41
|
+
"@gooddata/sdk-ui-gen-ai": "11.41.0-alpha.3",
|
|
42
|
+
"@gooddata/sdk-ui-kit": "11.41.0-alpha.3",
|
|
43
|
+
"@gooddata/sdk-ui-semantic-search": "11.41.0-alpha.3",
|
|
44
|
+
"@gooddata/sdk-ui-theme-provider": "11.41.0-alpha.3",
|
|
45
|
+
"@gooddata/util": "11.41.0-alpha.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"react": "19.1.1",
|
|
78
78
|
"react-dom": "19.1.1",
|
|
79
79
|
"react-intl": "7.1.11",
|
|
80
|
-
"react-router": "7.
|
|
80
|
+
"react-router": "7.15.0",
|
|
81
81
|
"rolldown": "1.0.3",
|
|
82
82
|
"sass": "1.70.0",
|
|
83
83
|
"tslib": "2.8.1",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"vite": "8.0.16",
|
|
86
86
|
"vitest": "4.1.8",
|
|
87
87
|
"vitest-dom": "0.1.1",
|
|
88
|
-
"@gooddata/eslint-config": "11.41.0-alpha.
|
|
89
|
-
"@gooddata/oxlint-config": "11.41.0-alpha.
|
|
88
|
+
"@gooddata/eslint-config": "11.41.0-alpha.3",
|
|
89
|
+
"@gooddata/oxlint-config": "11.41.0-alpha.3"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"react": ">=18.3.1",
|