@gooddata/sdk-ui-analytical-designer 11.65.0-alpha.8 → 11.65.0-alpha.9
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 +3 -91
- package/esm/actions/app_context_actions.d.ts +0 -10
- package/esm/actions/app_context_actions.d.ts.map +1 -1
- package/esm/actions/app_context_actions.js +0 -1
- package/esm/backend.d.ts +20 -13
- package/esm/backend.d.ts.map +1 -1
- package/esm/backend.js +32 -89
- package/esm/components/DragScroller/DragScroller.js +1 -1
- package/esm/components/ReportTitle.js +1 -1
- package/esm/components/buckets/MeasureDateFilter.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/AdditionalDateAttributes.js +1 -1
- package/esm/components/header/VisualizationsDropdown.js +1 -1
- package/esm/components/report/PluggableVisualization.d.ts.map +1 -1
- package/esm/components/report/PluggableVisualization.js +0 -3
- package/esm/components/sort/chart_sort_button_combiners.js +1 -1
- package/esm/constants/actions.d.ts +0 -1
- package/esm/constants/actions.d.ts.map +1 -1
- package/esm/constants/actions.js +0 -2
- package/esm/embedding/AnalyticalDesigner.d.ts +0 -1
- package/esm/embedding/AnalyticalDesigner.d.ts.map +1 -1
- package/esm/embedding/AnalyticalDesigner.js +0 -1
- package/esm/embedding/AnalyticalDesignerEmbedded.d.ts +7 -7
- package/esm/embedding/AnalyticalDesignerEmbedded.d.ts.map +1 -1
- package/esm/embedding/AnalyticalDesignerEmbedded.js +4 -9
- package/esm/embedding/platformContext.d.ts +4 -3
- package/esm/embedding/platformContext.d.ts.map +1 -1
- package/esm/embedding/platformContext.js +4 -5
- package/esm/internal.d.ts +3 -2
- package/esm/internal.d.ts.map +1 -1
- package/esm/internal.js +3 -2
- package/esm/models/decorated_bucket_item.js +2 -2
- package/esm/postMessageApi/outgoing/open_insight_events.d.ts +1 -1
- package/esm/postMessageApi/sagas/api_token_received_saga.d.ts +4 -1
- package/esm/postMessageApi/sagas/api_token_received_saga.d.ts.map +1 -1
- package/esm/postMessageApi/sagas/api_token_received_saga.js +8 -19
- package/esm/postMessageApi/sagas/command_received_saga.d.ts +4 -1
- package/esm/postMessageApi/sagas/command_received_saga.d.ts.map +1 -1
- package/esm/sagas/bootstrap_sagas.d.ts +1 -6
- package/esm/sagas/bootstrap_sagas.d.ts.map +1 -1
- package/esm/sagas/bootstrap_sagas.js +2 -7
- package/esm/sagas/open_report_sagas.d.ts.map +1 -1
- package/esm/sagas/open_report_sagas.js +0 -1
- package/esm/sagas/sagas.d.ts.map +1 -1
- package/esm/sagas/sagas.js +0 -2
- package/esm/selectors/bootstrap_selector.d.ts +0 -21
- package/esm/selectors/bootstrap_selector.d.ts.map +1 -1
- package/esm/selectors/bootstrap_selector.js +0 -2
- package/esm/selectors/route_selector.d.ts +1 -1
- package/esm/selectors/save_report_from_kd_dialog_selector.js +1 -1
- package/esm/typings/bear/bearTypes.d.ts +0 -6
- package/esm/typings/bear/bearTypes.d.ts.map +1 -1
- package/esm/utils/appHeader.d.ts +2 -2
- package/esm/utils/appHeader.js +2 -2
- package/esm/utils/custom_mouse_backend.d.ts +1 -1
- package/esm/utils/location.d.ts +0 -1
- package/esm/utils/location.d.ts.map +1 -1
- package/esm/utils/location.js +0 -6
- package/esm/utils/organized_catalog_api.d.ts.map +1 -1
- package/esm/utils/organized_catalog_api.js +0 -1
- package/package.json +21 -22
- package/styles/scss/editor_header.scss +1 -1
- package/styles/scss/filter_bucket.scss +2 -2
- package/esm/sagas/external_scripts_saga.d.ts +0 -4
- package/esm/sagas/external_scripts_saga.d.ts.map +0 -1
- package/esm/sagas/external_scripts_saga.js +0 -13
- package/esm/tigerNotAuthenticatedHandler.d.ts +0 -8
- package/esm/tigerNotAuthenticatedHandler.d.ts.map +0 -1
- package/esm/tigerNotAuthenticatedHandler.js +0 -24
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../src/utils/location.ts"],"names":[],"mappings":"AAOA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kBAAkB,CAuBpB;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,OAAO,CAAC,kBAAkB,CAAC,UAE7D;AAuBD,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,GAAE,OAAO,CAAC,kBAAkB,CAAM,UAOtF;AAID,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,UAExC;AAED,MAAM,WAAW,kBAAkB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,4BAA4B,CAAC,EAAE,OAAO,CAAC;CAC1C;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,kBAAkB,KAAK,MAAM,CAAC;AAEjE,wBAAgB,UAAU,CACtB,MAAM,EAAE,WAAW,EACnB,EAAE,SAAS,EAAE,QAA0B,EAAE,4BAAoC,EAAE,EAAE,kBAAkB,QAGtG;AAED,wBAAgB,iBAAiB,CAAC,iBAAiB,EAAE,kBAAkB,GAAG,kBAAkB,CAe3F;AAED,wBAAgB,6BAA6B,wBAI5C;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,QAe3C"}
|
package/esm/utils/location.js
CHANGED
|
@@ -86,12 +86,6 @@ export function shouldWaitForInjectedApiToken() {
|
|
|
86
86
|
const isApiTokenAuthentication = locationHash?.query?.apiTokenAuthentication === "true";
|
|
87
87
|
return window.EMBEDDED && isApiTokenAuthentication;
|
|
88
88
|
}
|
|
89
|
-
export const getExternalProviderIdParam = () => {
|
|
90
|
-
const locationHash = parseHash(getCurrentHash());
|
|
91
|
-
return window.EMBEDDED && locationHash.query?.externalProviderId
|
|
92
|
-
? decodeURIComponent(locationHash.query?.externalProviderId)
|
|
93
|
-
: undefined;
|
|
94
|
-
};
|
|
95
89
|
export function setLocation(location) {
|
|
96
90
|
// Hosted-component mode: navigation goes to the memory router, never to the real browser URL.
|
|
97
91
|
const virtualNavigate = getVirtualNavigate();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organized_catalog_api.d.ts","sourceRoot":"","sources":["../../src/utils/organized_catalog_api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"organized_catalog_api.d.ts","sourceRoot":"","sources":["../../src/utils/organized_catalog_api.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EAE1B,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAI9D;;;;GAIG;AACH,iBAAe,8BAA8B,CACzC,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,kBAAkB,EACrC,OAAO,EAAE;IACL,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC9B,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACtC,GACF,OAAO,CAAC,KAAK,CAAC,iBAAiB,GAAG,yBAAyB,CAAC,CAAC,CAiC/D;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAC3C,UAAU,EAAE,aAAa,CAAC,iBAAiB,CAAC,EAC5C,kBAAkB,EAAE,aAAa,CAAC,yBAAyB,CAAC,GAC7D,KAAK,CAAC,iBAAiB,GAAG,yBAAyB,CAAC,CAMtD;AAED,eAAO,MAAM,GAAG;;CAEf,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// (C) 2019-2026 GoodData Corporation
|
|
2
|
-
// TODO: this file will be moved into gooddata-js repository as being said in BB-1683
|
|
3
2
|
import { isCatalogComputedAttribute, } from "@gooddata/sdk-model";
|
|
4
3
|
import { backend } from "../backend.js";
|
|
5
4
|
import { mergeSortedAlphabeticallyByTitle } from "./merge_sorted_by_title.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-analytical-designer",
|
|
3
|
-
"version": "11.65.0-alpha.
|
|
3
|
+
"version": "11.65.0-alpha.9",
|
|
4
4
|
"description": "Analytical Designer UI library — core components, sagas, reducers, and application logic",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": {
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@evil-internetmann/react-dnd": "16.2.1",
|
|
41
41
|
"@formatjs/intl-pluralrules": "1.5.9",
|
|
42
|
-
"@gooddata/js-utils": "4.1.0",
|
|
43
42
|
"@opentelemetry/api": "1.9.0",
|
|
44
43
|
"@reduxjs/toolkit": "2.9.0",
|
|
45
44
|
"classnames": "2.5.1",
|
|
@@ -65,21 +64,21 @@
|
|
|
65
64
|
"rxjs": "6.6.7",
|
|
66
65
|
"uuid": "11.1.1",
|
|
67
66
|
"web-vitals": "3.5.2",
|
|
68
|
-
"@gooddata/sdk-backend-base": "11.65.0-alpha.
|
|
69
|
-
"@gooddata/sdk-backend-
|
|
70
|
-
"@gooddata/sdk-backend-
|
|
71
|
-
"@gooddata/sdk-
|
|
72
|
-
"@gooddata/sdk-
|
|
73
|
-
"@gooddata/sdk-
|
|
74
|
-
"@gooddata/sdk-ui
|
|
75
|
-
"@gooddata/sdk-ui-
|
|
76
|
-
"@gooddata/sdk-ui-
|
|
77
|
-
"@gooddata/sdk-ui-
|
|
78
|
-
"@gooddata/sdk-ui-
|
|
79
|
-
"@gooddata/sdk-
|
|
80
|
-
"@gooddata/sdk-ui-
|
|
81
|
-
"@gooddata/sdk-ui-
|
|
82
|
-
"@gooddata/util": "11.65.0-alpha.
|
|
67
|
+
"@gooddata/sdk-backend-base": "11.65.0-alpha.9",
|
|
68
|
+
"@gooddata/sdk-backend-spi": "11.65.0-alpha.9",
|
|
69
|
+
"@gooddata/sdk-backend-tiger": "11.65.0-alpha.9",
|
|
70
|
+
"@gooddata/sdk-embedding": "11.65.0-alpha.9",
|
|
71
|
+
"@gooddata/sdk-model": "11.65.0-alpha.9",
|
|
72
|
+
"@gooddata/sdk-pluggable-application-model": "11.65.0-alpha.9",
|
|
73
|
+
"@gooddata/sdk-ui": "11.65.0-alpha.9",
|
|
74
|
+
"@gooddata/sdk-ui-ext": "11.65.0-alpha.9",
|
|
75
|
+
"@gooddata/sdk-ui-filters": "11.65.0-alpha.9",
|
|
76
|
+
"@gooddata/sdk-ui-metric-component": "11.65.0-alpha.9",
|
|
77
|
+
"@gooddata/sdk-ui-kit": "11.65.0-alpha.9",
|
|
78
|
+
"@gooddata/sdk-ui-semantic-search": "11.65.0-alpha.9",
|
|
79
|
+
"@gooddata/sdk-ui-pivot": "11.65.0-alpha.9",
|
|
80
|
+
"@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.9",
|
|
81
|
+
"@gooddata/util": "11.65.0-alpha.9"
|
|
83
82
|
},
|
|
84
83
|
"devDependencies": {
|
|
85
84
|
"@microsoft/api-extractor": "7.59.2",
|
|
@@ -124,11 +123,11 @@
|
|
|
124
123
|
"stylelint": "16.26.1",
|
|
125
124
|
"typescript": "7.0.2",
|
|
126
125
|
"vitest": "5.0.4",
|
|
127
|
-
"@gooddata/eslint-config": "11.65.0-alpha.
|
|
128
|
-
"@gooddata/i18n-toolkit": "11.65.0-alpha.
|
|
129
|
-
"@gooddata/
|
|
130
|
-
"@gooddata/
|
|
131
|
-
"@gooddata/stylelint-config": "11.65.0-alpha.
|
|
126
|
+
"@gooddata/eslint-config": "11.65.0-alpha.9",
|
|
127
|
+
"@gooddata/i18n-toolkit": "11.65.0-alpha.9",
|
|
128
|
+
"@gooddata/oxlint-config": "11.65.0-alpha.9",
|
|
129
|
+
"@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.9",
|
|
130
|
+
"@gooddata/stylelint-config": "11.65.0-alpha.9"
|
|
132
131
|
},
|
|
133
132
|
"peerDependencies": {
|
|
134
133
|
"react": ">=18",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
padding: 4px 5px 2px 5px;
|
|
145
145
|
border: 1px solid transparent;
|
|
146
146
|
// Content-box (32 + padding + border = 40px box): resist a preloaded app's injected
|
|
147
|
-
// `*{box-sizing:border-box}` reset, which would shrink the box to 32px and clip it
|
|
147
|
+
// `*{box-sizing:border-box}` reset, which would shrink the box to 32px and clip it.
|
|
148
148
|
box-sizing: content-box;
|
|
149
149
|
font-size: 24px;
|
|
150
150
|
font-weight: bold;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
// checkMultiline reads computed height > min-height as "the filter bar wrapped". Under a host
|
|
68
68
|
// app's `*{box-sizing:border-box}` reset (ui-kit Overlay's .gd-overlay-content in the KD
|
|
69
69
|
// insight overlay), the same single-line layout computes 56px (content + 2px+2px padding) and
|
|
70
|
-
// permanently hides the recommendations panel
|
|
70
|
+
// permanently hides the recommendations panel — same fix as .adi-bucket-invitation below.
|
|
71
71
|
// The doubled class beats the reset's `.gd-overlay-content *` (0,1,0) by specificity instead
|
|
72
72
|
// of relying on stylesheet load order.
|
|
73
73
|
margin: 0 15px 0 0;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
.adi-bucket-invitation {
|
|
91
91
|
width: 194px;
|
|
92
92
|
// Content-box: resist a preloaded app's injected `*{box-sizing:border-box}` reset, which
|
|
93
|
-
// would otherwise treat 194px as the border box and shrink the content by 10px
|
|
93
|
+
// would otherwise treat 194px as the border box and shrink the content by 10px.
|
|
94
94
|
box-sizing: content-box;
|
|
95
95
|
margin: 4px 0 4px 10px;
|
|
96
96
|
padding: 3px;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type ILoadExternalScriptsAction } from "../actions/app_context_actions.js";
|
|
2
|
-
export declare function loadExternalScripts({ payload: { scripts } }: ILoadExternalScriptsAction): Generator<import("redux-saga/effects").CallEffect<any>, void, unknown>;
|
|
3
|
-
export declare function watchLoadExternalScripts(): Generator<import("redux-saga/effects").ForkEffect<never>, void, unknown>;
|
|
4
|
-
//# sourceMappingURL=external_scripts_saga.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external_scripts_saga.d.ts","sourceRoot":"","sources":["../../src/sagas/external_scripts_saga.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAGpF,wBAAiB,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,0BAA0B,0EAKxF;AAED,wBAAiB,wBAAwB,6EAExC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// (C) 2007-2026 GoodData Corporation
|
|
2
|
-
import { call, takeEvery } from "redux-saga/effects";
|
|
3
|
-
import { trialSnippet, walkMe } from "@gooddata/js-utils";
|
|
4
|
-
import { ActionTypeKeys } from "../constants/actions.js";
|
|
5
|
-
export function* loadExternalScripts({ payload: { scripts } }) {
|
|
6
|
-
// advised by walkme to put to HEAD section, we already put into HEAD in pixelperfect, so unify
|
|
7
|
-
const attachToHead = true;
|
|
8
|
-
yield call(walkMe.load, scripts.walkMe, scripts.walkMeEnvironment, attachToHead);
|
|
9
|
-
yield call(trialSnippet.load, scripts.includeTrialSnippet);
|
|
10
|
-
}
|
|
11
|
-
export function* watchLoadExternalScripts() {
|
|
12
|
-
yield takeEvery(ActionTypeKeys.LOAD_EXTERNAL_SCRIPTS_REQUESTED, loadExternalScripts);
|
|
13
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type IAuthenticationContext, type NotAuthenticated } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
/**
|
|
3
|
-
* Not authenticated handler is called every time 401 is returned from tiger backend using SDK
|
|
4
|
-
* auth calls. It redirects the browser to the tiger authentication page, unless the app waits
|
|
5
|
-
* for an injected API token, in which case the host owns the auth lifecycle.
|
|
6
|
-
*/
|
|
7
|
-
export declare function createNotAuthenticatedHandler(externalProviderId?: string): (ctx: IAuthenticationContext, err: NotAuthenticated) => void;
|
|
8
|
-
//# sourceMappingURL=tigerNotAuthenticatedHandler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tigerNotAuthenticatedHandler.d.ts","sourceRoot":"","sources":["../src/tigerNotAuthenticatedHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAK/F;;;;GAIG;AACH,wBAAgB,6BAA6B,CACzC,kBAAkB,CAAC,EAAE,MAAM,GAC5B,CAAC,GAAG,EAAE,sBAAsB,EAAE,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAe9D"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// (C) 2022-2026 GoodData Corporation
|
|
2
|
-
import { throttle } from "lodash-es";
|
|
3
|
-
import { createRedirectToTigerAuthenticationWithParams } from "@gooddata/sdk-backend-tiger";
|
|
4
|
-
import { shouldWaitForInjectedApiToken } from "./utils/location.js";
|
|
5
|
-
/**
|
|
6
|
-
* Not authenticated handler is called every time 401 is returned from tiger backend using SDK
|
|
7
|
-
* auth calls. It redirects the browser to the tiger authentication page, unless the app waits
|
|
8
|
-
* for an injected API token, in which case the host owns the auth lifecycle.
|
|
9
|
-
*/
|
|
10
|
-
export function createNotAuthenticatedHandler(externalProviderId) {
|
|
11
|
-
const params = externalProviderId ? { externalProviderId } : undefined;
|
|
12
|
-
const redirectHandler = createRedirectToTigerAuthenticationWithParams(params);
|
|
13
|
-
const debouncedRedirectHandler = throttle(redirectHandler, 500, {
|
|
14
|
-
leading: false,
|
|
15
|
-
trailing: true,
|
|
16
|
-
});
|
|
17
|
-
return (ctx, err) => {
|
|
18
|
-
if (shouldWaitForInjectedApiToken()) {
|
|
19
|
-
// noop for token authentication
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
return debouncedRedirectHandler(ctx, err);
|
|
23
|
-
};
|
|
24
|
-
}
|