@gooddata/sdk-ui-semantic-search 11.40.0-alpha.4 → 11.40.0-alpha.6
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 +16 -16
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.6",
|
|
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-backend-spi": "11.40.0-alpha.
|
|
39
|
-
"@gooddata/sdk-model": "11.40.0-alpha.
|
|
40
|
-
"@gooddata/sdk-ui": "11.40.0-alpha.
|
|
41
|
-
"@gooddata/sdk-ui
|
|
42
|
-
"@gooddata/sdk-ui-kit": "11.40.0-alpha.
|
|
43
|
-
"@gooddata/util": "11.40.0-alpha.
|
|
38
|
+
"@gooddata/sdk-backend-spi": "11.40.0-alpha.6",
|
|
39
|
+
"@gooddata/sdk-model": "11.40.0-alpha.6",
|
|
40
|
+
"@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.6",
|
|
41
|
+
"@gooddata/sdk-ui": "11.40.0-alpha.6",
|
|
42
|
+
"@gooddata/sdk-ui-kit": "11.40.0-alpha.6",
|
|
43
|
+
"@gooddata/util": "11.40.0-alpha.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
55
55
|
"@typescript-eslint/parser": "8.58.0",
|
|
56
56
|
"@typescript/native-preview": "7.0.0-dev.20260202.1",
|
|
57
|
-
"@vitest/eslint-plugin": "1.6.
|
|
57
|
+
"@vitest/eslint-plugin": "1.6.19",
|
|
58
58
|
"dependency-cruiser": "17.3.10",
|
|
59
59
|
"eslint": "^9.39.2",
|
|
60
60
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"eslint-plugin-react": "7.37.5",
|
|
68
68
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
69
69
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
70
|
-
"happy-dom": "
|
|
70
|
+
"happy-dom": "20.9.0",
|
|
71
71
|
"npm-run-all": "^4.1.5",
|
|
72
72
|
"oxfmt": "0.52.0",
|
|
73
73
|
"oxlint": "1.51.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/
|
|
86
|
-
"@gooddata/
|
|
87
|
-
"@gooddata/stylelint-config": "11.40.0-alpha.
|
|
83
|
+
"@gooddata/eslint-config": "11.40.0-alpha.6",
|
|
84
|
+
"@gooddata/i18n-toolkit": "11.40.0-alpha.6",
|
|
85
|
+
"@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.6",
|
|
86
|
+
"@gooddata/oxlint-config": "11.40.0-alpha.6",
|
|
87
|
+
"@gooddata/stylelint-config": "11.40.0-alpha.6"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
"dep-cruiser": "depcruise --validate .dependency-cruiser.js --output-type err-long src/",
|
|
104
104
|
"format-check": "oxfmt --check .",
|
|
105
105
|
"format-write": "oxfmt .",
|
|
106
|
-
"lint": "oxlint . --
|
|
107
|
-
"lint-fix": "oxlint . --
|
|
106
|
+
"lint": "oxlint . --quiet && eslint .",
|
|
107
|
+
"lint-fix": "oxlint . --quiet --fix && eslint . --fix",
|
|
108
108
|
"scss": "sass --load-path=node_modules styles/scss:styles/css",
|
|
109
109
|
"stylelint": "stylelint '**/*.scss'",
|
|
110
110
|
"stylelint-fix": "stylelint '**/*.scss' --fix",
|