@gooddata/sdk-ui-semantic-search 11.40.0-alpha.4 → 11.40.0-alpha.5
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/utils/getUIPath.d.ts +1 -0
- package/esm/utils/getUIPath.js +3 -0
- package/package.json +12 -12
package/esm/utils/getUIPath.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
export type UIPathObjectTypes = "dashboard" | "dashboardVisualization" | "visualization" | "metric" | "dataset" | "date" | "fact" | "attribute" | "label";
|
|
6
6
|
export type UIPathOptions = {
|
|
7
7
|
useHostedMetricEditor?: boolean;
|
|
8
|
+
useHostedAnalyticalDesigner?: boolean;
|
|
8
9
|
};
|
|
9
10
|
/**
|
|
10
11
|
* Get the UI path for the given object type, object ID, and workspace ID.
|
package/esm/utils/getUIPath.js
CHANGED
|
@@ -13,6 +13,9 @@ export const getUIPath = (objectType, objectId, workspaceId, visualizationId, op
|
|
|
13
13
|
case "dashboardVisualization":
|
|
14
14
|
return `/dashboards/#/workspace/${workspaceId}/dashboard/${objectId}?visualizationId=${visualizationId}`;
|
|
15
15
|
case "visualization":
|
|
16
|
+
if (options.useHostedAnalyticalDesigner) {
|
|
17
|
+
return `/workspace/${workspaceId}/analyze/#/${objectId}/edit`;
|
|
18
|
+
}
|
|
16
19
|
return `/analyze/#/${workspaceId}/${objectId}/edit`;
|
|
17
20
|
case "metric":
|
|
18
21
|
if (options.useHostedMetricEditor) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-semantic-search",
|
|
3
|
-
"version": "11.40.0-alpha.
|
|
3
|
+
"version": "11.40.0-alpha.5",
|
|
4
4
|
"description": "GoodData SDK TypeScript & React skeleton",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"lodash-es": "^4.17.23",
|
|
36
36
|
"react-intl": "7.1.11",
|
|
37
37
|
"tslib": "2.8.1",
|
|
38
|
-
"@gooddata/sdk-
|
|
39
|
-
"@gooddata/sdk-
|
|
40
|
-
"@gooddata/sdk-ui": "11.40.0-alpha.
|
|
41
|
-
"@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.
|
|
42
|
-
"@gooddata/sdk-
|
|
43
|
-
"@gooddata/util": "11.40.0-alpha.
|
|
38
|
+
"@gooddata/sdk-model": "11.40.0-alpha.5",
|
|
39
|
+
"@gooddata/sdk-ui": "11.40.0-alpha.5",
|
|
40
|
+
"@gooddata/sdk-ui-kit": "11.40.0-alpha.5",
|
|
41
|
+
"@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.5",
|
|
42
|
+
"@gooddata/sdk-backend-spi": "11.40.0-alpha.5",
|
|
43
|
+
"@gooddata/util": "11.40.0-alpha.5"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
"typescript": "5.9.3",
|
|
81
81
|
"vitest": "4.1.8",
|
|
82
82
|
"vitest-dom": "0.1.1",
|
|
83
|
-
"@gooddata/eslint-config": "11.40.0-alpha.
|
|
84
|
-
"@gooddata/i18n-toolkit": "11.40.0-alpha.
|
|
85
|
-
"@gooddata/oxlint-config": "11.40.0-alpha.
|
|
86
|
-
"@gooddata/
|
|
87
|
-
"@gooddata/
|
|
83
|
+
"@gooddata/eslint-config": "11.40.0-alpha.5",
|
|
84
|
+
"@gooddata/i18n-toolkit": "11.40.0-alpha.5",
|
|
85
|
+
"@gooddata/oxlint-config": "11.40.0-alpha.5",
|
|
86
|
+
"@gooddata/stylelint-config": "11.40.0-alpha.5",
|
|
87
|
+
"@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.5"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"react": "^18.0.0 || ^19.0.0",
|