@gooddata/sdk-embedding 11.55.0 → 11.56.0-alpha.1
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.
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
// (C) 2020-2026 GoodData Corporation
|
|
2
2
|
import { getEventType, isCommandFailedData, } from "./common.js";
|
|
3
|
-
export { GdcAdCommandType };
|
|
4
3
|
/**
|
|
5
4
|
* All AD command Types
|
|
6
5
|
*
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
9
|
-
var GdcAdCommandType;
|
|
8
|
+
export var GdcAdCommandType;
|
|
10
9
|
(function (GdcAdCommandType) {
|
|
11
10
|
/**
|
|
12
11
|
* The command set drillable items
|
|
@@ -71,13 +70,12 @@ var GdcAdCommandType;
|
|
|
71
70
|
*/
|
|
72
71
|
GdcAdCommandType["SetTimezone"] = "setTimezone";
|
|
73
72
|
})(GdcAdCommandType || (GdcAdCommandType = {}));
|
|
74
|
-
export { GdcAdEventType };
|
|
75
73
|
/**
|
|
76
74
|
* All event types on AD
|
|
77
75
|
*
|
|
78
76
|
* @public
|
|
79
77
|
*/
|
|
80
|
-
var GdcAdEventType;
|
|
78
|
+
export var GdcAdEventType;
|
|
81
79
|
(function (GdcAdEventType) {
|
|
82
80
|
/**
|
|
83
81
|
* Type represent that AD is listening for drillable items command.
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
// (C) 2020-2026 GoodData Corporation
|
|
2
2
|
import { getEventType, } from "./common.js";
|
|
3
|
-
export { GdcKdCommandType };
|
|
4
3
|
/**
|
|
5
4
|
* All KD command Types.
|
|
6
5
|
*
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
9
|
-
var GdcKdCommandType;
|
|
8
|
+
export var GdcKdCommandType;
|
|
10
9
|
(function (GdcKdCommandType) {
|
|
11
10
|
/**
|
|
12
11
|
* The command save a dashboard.
|
|
@@ -77,13 +76,12 @@ var GdcKdCommandType;
|
|
|
77
76
|
*/
|
|
78
77
|
GdcKdCommandType["SetTimezone"] = "setTimezone";
|
|
79
78
|
})(GdcKdCommandType || (GdcKdCommandType = {}));
|
|
80
|
-
export { GdcKdEventType };
|
|
81
79
|
/**
|
|
82
80
|
* All KD event types.
|
|
83
81
|
*
|
|
84
82
|
* @public
|
|
85
83
|
*/
|
|
86
|
-
var GdcKdEventType;
|
|
84
|
+
export var GdcKdEventType;
|
|
87
85
|
(function (GdcKdEventType) {
|
|
88
86
|
/**
|
|
89
87
|
* Type represent that the dashboard listening for drilling event.
|
|
@@ -374,13 +372,12 @@ export function isKdSetFilterParentsCommandData(obj) {
|
|
|
374
372
|
typeof obj === "object" &&
|
|
375
373
|
getEventType(obj) === GdcKdCommandType.SetFilterParents);
|
|
376
374
|
}
|
|
377
|
-
export { KdSetFilterParentsErrorCode };
|
|
378
375
|
/**
|
|
379
376
|
* Error type within AppCommandFailed event body when setFilterParents command is not successful
|
|
380
377
|
*
|
|
381
378
|
* @public
|
|
382
379
|
*/
|
|
383
|
-
var KdSetFilterParentsErrorCode;
|
|
380
|
+
export var KdSetFilterParentsErrorCode;
|
|
384
381
|
(function (KdSetFilterParentsErrorCode) {
|
|
385
382
|
/**
|
|
386
383
|
* Command data format is invalid e.g. missing properties or wrong types.
|
package/esm/iframe/common.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
// (C) 2020-2026 GoodData Corporation
|
|
2
|
-
export { GdcProductName };
|
|
3
2
|
/**
|
|
4
3
|
* List of products using post events
|
|
5
4
|
*
|
|
6
5
|
* @public
|
|
7
6
|
*/
|
|
8
|
-
var GdcProductName;
|
|
7
|
+
export var GdcProductName;
|
|
9
8
|
(function (GdcProductName) {
|
|
10
9
|
/**
|
|
11
10
|
* AD product name
|
|
@@ -16,26 +15,24 @@ var GdcProductName;
|
|
|
16
15
|
*/
|
|
17
16
|
GdcProductName["KPI_DASHBOARD"] = "dashboard";
|
|
18
17
|
})(GdcProductName || (GdcProductName = {}));
|
|
19
|
-
export { GdcEventType };
|
|
20
18
|
/**
|
|
21
19
|
* Common event types in application
|
|
22
20
|
*
|
|
23
21
|
* @public
|
|
24
22
|
*/
|
|
25
|
-
var GdcEventType;
|
|
23
|
+
export var GdcEventType;
|
|
26
24
|
(function (GdcEventType) {
|
|
27
25
|
/**
|
|
28
26
|
* Event to notify outer application that the command is invalid or have errors while processing
|
|
29
27
|
*/
|
|
30
28
|
GdcEventType["AppCommandFailed"] = "appCommandFailed";
|
|
31
29
|
})(GdcEventType || (GdcEventType = {}));
|
|
32
|
-
export { GdcErrorType };
|
|
33
30
|
/**
|
|
34
31
|
* Enumeration of possible types of error messages posted from the apps.
|
|
35
32
|
*
|
|
36
33
|
* @public
|
|
37
34
|
*/
|
|
38
|
-
var GdcErrorType;
|
|
35
|
+
export var GdcErrorType;
|
|
39
36
|
(function (GdcErrorType) {
|
|
40
37
|
/**
|
|
41
38
|
* The posted command is not recognized.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messagingUtils.d.ts","sourceRoot":"","sources":["../../src/internal/messagingUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAG/B,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,WAAW,KAAK;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,KAAK,CAAC;CAClB;AAuCD;;;;GAIG;AACH,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"messagingUtils.d.ts","sourceRoot":"","sources":["../../src/internal/messagingUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAG/B,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,WAAW,KAAK;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,KAAK,CAAC;CAClB;AAuCD;;;;GAIG;AACH,eAAO,MAAM,OAAO,MAAO,KAAK,KAAG,IAElC,CAAC;AAEF;;GAEG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,uBAAuB,EAAE,MAAM,EAAE,GAAG,IAAI,CAElF;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,uBAAuB,EAAE,MAAM,6BAAS,GAAG,IAAI,CAIpF;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,uBAAuB,EAAE,MAAM,6BAAS,GAAG,IAAI,CAMvF;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAa/F;AAED,eAAO,MAAM,cAAc;iBAjDA,KAAK,KAAG,IAAI;;;;;CAuDtC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-embedding",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.56.0-alpha.1",
|
|
4
4
|
"description": "GoodData Embedding APIs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"lodash-es": "^4.17.23",
|
|
30
30
|
"ts-invariant": "0.10.3",
|
|
31
31
|
"tslib": "2.8.1",
|
|
32
|
-
"@gooddata/sdk-model": "11.
|
|
32
|
+
"@gooddata/sdk-model": "11.56.0-alpha.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@microsoft/api-documenter": "7.30.10",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@types/lodash-es": "4.17.12",
|
|
38
38
|
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
39
39
|
"@typescript-eslint/parser": "8.58.0",
|
|
40
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
40
|
+
"@typescript/native-preview": "7.0.0-dev.20260501.1",
|
|
41
41
|
"dependency-cruiser": "17.3.10",
|
|
42
42
|
"eslint": "^9.39.2",
|
|
43
43
|
"eslint-plugin-headers": "1.3.3",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"oxlint-tsgolint": "0.15.0",
|
|
52
52
|
"typescript": "5.9.3",
|
|
53
53
|
"vitest": "4.1.8",
|
|
54
|
-
"@gooddata/eslint-config": "11.
|
|
55
|
-
"@gooddata/oxlint-config": "11.
|
|
54
|
+
"@gooddata/eslint-config": "11.56.0-alpha.1",
|
|
55
|
+
"@gooddata/oxlint-config": "11.56.0-alpha.1"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"_phase:build": "npm run build",
|