@gooddata/sdk-ui-dashboard 11.65.0-alpha.13 → 11.65.0-alpha.14
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 -3
- package/README.md +1 -1
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.js +1 -4
- package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.js +2 -6
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContent.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContent.js +2 -5
- package/esm/presentation/automations/shared/utils/automationUtils.d.ts +1 -2
- package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
- package/esm/presentation/automations/shared/utils/automationUtils.js +0 -1
- package/esm/presentation/insightEditor/useExploreFilterTransfer.d.ts +5 -3
- package/esm/presentation/insightEditor/useExploreFilterTransfer.d.ts.map +1 -1
- package/esm/presentation/insightEditor/useExploreFilterTransfer.js +6 -5
- package/esm/presentation/shareDialog/DefaultShareDialog.d.ts.map +1 -1
- package/esm/presentation/shareDialog/DefaultShareDialog.js +2 -5
- package/package.json +23 -23
package/NOTICE
CHANGED
|
@@ -11,9 +11,9 @@ This product includes a number of subcomponents with separate copyright notices
|
|
|
11
11
|
|
|
12
12
|
The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
|
|
13
13
|
|
|
14
|
-
Date generated: 2026-10-
|
|
14
|
+
Date generated: 2026-10-29
|
|
15
15
|
|
|
16
|
-
Revision ID:
|
|
16
|
+
Revision ID: 8570c58d52cb39d1b33f44345f6e61a87fa5fd49
|
|
17
17
|
|
|
18
18
|
================================================================================
|
|
19
19
|
================================================================================
|
|
@@ -72036,4 +72036,4 @@ MIT
|
|
|
72036
72036
|
--------------------------------------------------------------------------------
|
|
72037
72037
|
--------------------------------------------------------------------------------
|
|
72038
72038
|
|
|
72039
|
-
Report Generated by FOSSA on 2026-10-
|
|
72039
|
+
Report Generated by FOSSA on 2026-10-29
|
package/README.md
CHANGED
|
@@ -11,6 +11,6 @@ This package contains the [Dashboard component](https://sdk.gooddata.com/gooddat
|
|
|
11
11
|
|
|
12
12
|
## License
|
|
13
13
|
|
|
14
|
-
(C) 2017-
|
|
14
|
+
(C) 2017-2026 GoodData Corporation
|
|
15
15
|
|
|
16
16
|
This project is under commercial license. See [LICENSE](https://github.com/gooddata/gooddata-ui-sdk/blob/master/libs/sdk-ui-all/LICENSE).
|
package/esm/__version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "11.65.0-alpha.
|
|
1
|
+
export declare const LIB_VERSION = "11.65.0-alpha.14";
|
|
2
2
|
export declare const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
3
3
|
export declare const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
4
4
|
//# sourceMappingURL=__version.d.ts.map
|
package/esm/__version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021 GoodData Corporation
|
|
2
2
|
// DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
|
|
3
|
-
export const LIB_VERSION = "11.65.0-alpha.
|
|
3
|
+
export const LIB_VERSION = "11.65.0-alpha.14";
|
|
4
4
|
export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
5
5
|
export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultAlertingManagementDialogContent.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAqBrE,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultAlertingManagementDialogContent.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAqBrE,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAQ3E,UAAU,4CAA4C;IAClD,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACnD,mBAAmB,CAAC,EAAE,6BAA6B,CAAC;CACvD;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,EACnD,KAAK,EACL,OAAO,EACP,MAAM,EACN,mBAAmB,EAAE,yBAAyB,GACjD,EAAE,4CAA4C,2CAqJ9C"}
|
|
@@ -11,7 +11,6 @@ import { AUTOMATIONS_COLUMN_CONFIG, AUTOMATIONS_MAX_HEIGHT } from "../../../cons
|
|
|
11
11
|
import { DASHBOARD_DIALOG_OVERS_Z_INDEX } from "../../../constants/zIndex.js";
|
|
12
12
|
import { useAlertingManagementDialogContext } from "../../contexts/AlertingManagementDialogContext.js";
|
|
13
13
|
import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
14
|
-
import { computeUseHostRoute } from "../../shared/utils/automationUtils.js";
|
|
15
14
|
import { ALERTING_DIALOG_ID } from "../DefaultAlertingDialog/constants.js";
|
|
16
15
|
import { useAlertingDialogAccessibility } from "../hooks/useAlertingDialogAccessibility.js";
|
|
17
16
|
import { useGetSupportedMeasures } from "../hooks/useGetSupportedMeasures.js";
|
|
@@ -29,7 +28,6 @@ export function DefaultAlertingManagementDialogContent({ onAdd, onClose, onEdit,
|
|
|
29
28
|
const timezone = useAutomationsContext().timezone;
|
|
30
29
|
const enableBulkActions = !enableAccessibilityMode;
|
|
31
30
|
const { returnFocusTo } = useAlertingDialogAccessibility();
|
|
32
|
-
const useHostRoute = computeUseHostRoute(useAutomationsContext().settings);
|
|
33
31
|
const isMobile = isMobileView();
|
|
34
32
|
// Check if widget has metrics for alert creation
|
|
35
33
|
const widget = getWidgetByRef(managementDialogContext.widgetRef);
|
|
@@ -49,11 +47,10 @@ export function DefaultAlertingManagementDialogContent({ onAdd, onClose, onEdit,
|
|
|
49
47
|
dashboardId,
|
|
50
48
|
tabId,
|
|
51
49
|
isEmbedded,
|
|
52
|
-
useHostRoute,
|
|
53
50
|
queryParams: externalRecipientOverride
|
|
54
51
|
? { recipient: externalRecipientOverride }
|
|
55
52
|
: undefined,
|
|
56
|
-
}), [customDashboardUrlBuilder, isEmbedded,
|
|
53
|
+
}), [customDashboardUrlBuilder, isEmbedded, externalRecipientOverride]);
|
|
57
54
|
const titleElementId = useId();
|
|
58
55
|
return (_jsx(Dialog, { displayCloseButton: true, onCancel: onClose, shouldCloseOnClick: () => false, autofocusOnOpen: true, className: cx("gd-notifications-channels-management-dialog s-alerting-management-dialog", "gd-dialog--wide gd-notifications-channels-management-dialog--wide", "gd-dialog--no-padding"), accessibilityConfig: { titleElementId, isModal: true }, returnFocusTo: returnFocusTo, returnFocusAfterClose: true, refocusKey: isAlertDialogOpen, children: _jsxs(OverlayControllerProvider, { overlayController: overlayController, children: [_jsx("div", { className: "gd-notifications-channels-management-dialog-title", children: _jsx(Typography, { tagName: "h3", className: "gd-dialog-header", id: titleElementId, children: _jsx(FormattedMessage, { id: "dialogs.alerting.management.title" }) }) }), _jsx(ContentDivider, { className: "gd-content-divider--no-spacing" }), _jsx("div", { className: "gd-notifications-channels-content", children: _jsx(Automations, { workspace: workspace, timezone: timezone, backend: backend, scope: "workspace", type: "alert", maxHeight: AUTOMATIONS_MAX_HEIGHT, isMobileView: isMobile, tableVariant: "small", editAutomation: onEdit, preselectedFilters: {
|
|
59
56
|
dashboard: dashboardId
|
package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAutomationManagementEditRouting.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useAutomationManagementEditRouting.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAOrE;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAC9C,WAAW,EAAE,CAAC,UAAU,EAAE,yBAAyB,KAAK,IAAI,GAC7D,CAAC,UAAU,EAAE,yBAAyB,KAAK,IAAI,CA4BjD"}
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { buildAutomationUrl, navigate, useWorkspaceStrict } from "@gooddata/sdk-ui";
|
|
4
4
|
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
|
|
5
|
-
import { selectExternalRecipient, selectIsEmbedded
|
|
5
|
+
import { selectExternalRecipient, selectIsEmbedded } from "../../../../model/store/config/configSelectors.js";
|
|
6
6
|
import { selectDashboardId } from "../../../../model/store/meta/metaSelectors.js";
|
|
7
|
-
import { computeUseHostRoute } from "../../shared/utils/automationUtils.js";
|
|
8
7
|
/**
|
|
9
8
|
* Handles cross-dashboard edit routing for automation management dialogs.
|
|
10
9
|
*
|
|
@@ -18,8 +17,6 @@ export function useAutomationManagementEditRouting(onLocalEdit) {
|
|
|
18
17
|
const dashboardId = useDashboardSelector(selectDashboardId);
|
|
19
18
|
const isEmbedded = useDashboardSelector(selectIsEmbedded);
|
|
20
19
|
const externalRecipientOverride = useDashboardSelector(selectExternalRecipient);
|
|
21
|
-
const settings = useDashboardSelector(selectSettings);
|
|
22
|
-
const useHostRoute = computeUseHostRoute(settings);
|
|
23
20
|
return useCallback((automation) => {
|
|
24
21
|
const targetDashboardId = automation.dashboard?.id;
|
|
25
22
|
if (targetDashboardId && targetDashboardId !== dashboardId) {
|
|
@@ -28,7 +25,6 @@ export function useAutomationManagementEditRouting(onLocalEdit) {
|
|
|
28
25
|
dashboardId: targetDashboardId,
|
|
29
26
|
automationId: automation.id,
|
|
30
27
|
isEmbedded,
|
|
31
|
-
useHostRoute,
|
|
32
28
|
queryParams: externalRecipientOverride
|
|
33
29
|
? { recipient: externalRecipientOverride }
|
|
34
30
|
: undefined,
|
|
@@ -36,5 +32,5 @@ export function useAutomationManagementEditRouting(onLocalEdit) {
|
|
|
36
32
|
return;
|
|
37
33
|
}
|
|
38
34
|
onLocalEdit(automation);
|
|
39
|
-
}, [onLocalEdit, dashboardId, workspace, isEmbedded,
|
|
35
|
+
}, [onLocalEdit, dashboardId, workspace, isEmbedded, externalRecipientOverride]);
|
|
40
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultScheduledEmailManagementDialogContent.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContent.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAqBrE,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultScheduledEmailManagementDialogContent.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContent.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAqBrE,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAO3E,UAAU,kDAAkD;IACxD,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,CAAC,cAAc,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC5D,mBAAmB,CAAC,EAAE,6BAA6B,CAAC;CACvD;AAED,wBAAgB,4CAA4C,CAAC,EACzD,KAAK,EACL,OAAO,EACP,MAAM,EACN,mBAAmB,EAAE,yBAAyB,GACjD,EAAE,kDAAkD,2CA+JpD"}
|
|
@@ -11,7 +11,6 @@ import { AUTOMATIONS_COLUMN_CONFIG, AUTOMATIONS_MAX_HEIGHT } from "../../../cons
|
|
|
11
11
|
import { DASHBOARD_DIALOG_OVERS_Z_INDEX } from "../../../constants/zIndex.js";
|
|
12
12
|
import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
|
|
13
13
|
import { useScheduledEmailManagementDialogContext } from "../../contexts/ScheduledEmailManagementDialogContext.js";
|
|
14
|
-
import { computeUseHostRoute } from "../../shared/utils/automationUtils.js";
|
|
15
14
|
import { SCHEDULED_EMAIL_DIALOG_ID } from "../DefaultScheduledEmailDialog/constants.js";
|
|
16
15
|
import { useScheduleEmailDialogAccessibility } from "../hooks/useScheduleEmailDialogAccessibility.js";
|
|
17
16
|
import { isMobileView } from "../utils/responsive.js";
|
|
@@ -21,10 +20,9 @@ export function DefaultScheduledEmailManagementDialogContent({ onAdd, onClose, o
|
|
|
21
20
|
const isMobile = isMobileView();
|
|
22
21
|
const workspace = useWorkspace();
|
|
23
22
|
const backend = useBackend();
|
|
24
|
-
const { timezone, locale,
|
|
23
|
+
const { timezone, locale, isWhiteLabeled, isExecutionTimestampMode, externalRecipient: externalRecipientOverride, features: { canCreateAutomation }, } = useAutomationsContext();
|
|
25
24
|
const { dashboardId, dashboardTitle, enableAccessibilityMode, isScheduleEmailDialogOpen: isEditDialogOpen, automationsInvalidationId, isEmbedded, maxAutomations, unlimitedAutomations, automations, isLoading: isLoadingScheduleData, } = useScheduledEmailManagementDialogContext();
|
|
26
25
|
const enableBulkActions = !enableAccessibilityMode;
|
|
27
|
-
const useHostRoute = computeUseHostRoute(settings);
|
|
28
26
|
const { returnFocusTo } = useScheduleEmailDialogAccessibility();
|
|
29
27
|
const maxAutomationsReached = automations.length >= maxAutomations && !unlimitedAutomations;
|
|
30
28
|
const isAddButtonDisabled = useMemo(() => isLoadingScheduleData || maxAutomationsReached || isExecutionTimestampMode, [isLoadingScheduleData, maxAutomationsReached, isExecutionTimestampMode]);
|
|
@@ -41,11 +39,10 @@ export function DefaultScheduledEmailManagementDialogContent({ onAdd, onClose, o
|
|
|
41
39
|
dashboardId,
|
|
42
40
|
tabId,
|
|
43
41
|
isEmbedded,
|
|
44
|
-
useHostRoute,
|
|
45
42
|
queryParams: externalRecipientOverride
|
|
46
43
|
? { recipient: externalRecipientOverride }
|
|
47
44
|
: undefined,
|
|
48
|
-
}), [customDashboardUrlBuilder, isEmbedded,
|
|
45
|
+
}), [customDashboardUrlBuilder, isEmbedded, externalRecipientOverride]);
|
|
49
46
|
const titleElementId = useId();
|
|
50
47
|
return (_jsx(Dialog, { displayCloseButton: true, autofocusOnOpen: true, onCancel: onClose, className: cx("gd-notifications-channels-management-dialog s-scheduled-email-management-dialog", "gd-dialog--wide gd-notifications-channels-management-dialog--wide", "gd-dialog--no-padding"), accessibilityConfig: { titleElementId, isModal: true }, returnFocusAfterClose: true, returnFocusTo: returnFocusTo, refocusKey: isEditDialogOpen, children: _jsxs(OverlayControllerProvider, { overlayController: overlayController, children: [_jsx("div", { className: "gd-notifications-channels-management-dialog-title", children: _jsx(Typography, { tagName: "h3", className: "gd-dialog-header", id: titleElementId, children: intl.formatMessage({ id: "dialogs.schedule.management.title" }) }) }), _jsx(ContentDivider, { className: "gd-content-divider--no-spacing" }), _jsx("div", { className: "gd-notifications-channels-content", children: _jsx(Automations, { workspace: workspace, timezone: timezone, type: "schedule", backend: backend, scope: "workspace", maxHeight: AUTOMATIONS_MAX_HEIGHT, isMobileView: isMobile, tableVariant: "small", editAutomation: onEdit, preselectedFilters: {
|
|
51
48
|
dashboard: dashboardId
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IExportDefinitionMetadataObject, type IExportDefinitionMetadataObjectDefinition, type IFilter, type
|
|
1
|
+
import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IExportDefinitionMetadataObject, type IExportDefinitionMetadataObjectDefinition, type IFilter, type IUser } from "@gooddata/sdk-model";
|
|
2
2
|
export declare const isDashboardAutomation: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => boolean;
|
|
3
3
|
export declare const isVisualisationAutomation: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => boolean;
|
|
4
4
|
export declare const isCsvVisualizationAutomation: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => boolean;
|
|
@@ -19,5 +19,4 @@ export declare const getAutomationAlertFilters: (automation: IAutomationMetadata
|
|
|
19
19
|
export declare const areAutomationsEqual: (originalAutomation: IAutomationMetadataObjectDefinition, updatedAutomation: IAutomationMetadataObjectDefinition) => boolean;
|
|
20
20
|
export declare const convertUserToAutomationRecipient: (user: IUser) => IAutomationRecipient;
|
|
21
21
|
export declare const convertExternalRecipientToAutomationRecipient: (externalRecipient: string) => IAutomationRecipient;
|
|
22
|
-
export declare const computeUseHostRoute: (settings: ISettings | undefined) => boolean;
|
|
23
22
|
//# sourceMappingURL=automationUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/utils/automationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,
|
|
1
|
+
{"version":3,"file":"automationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/utils/automationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,KAAK,EAKb,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBACzB,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,mCAAmC,qBAC1B,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,iBAAiB,EAAE,GAAG,SAUxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,eAC/B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAUxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAC9B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF;IAAE,gBAAgB,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAAC,kBAAkB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAA;CAqBhG,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,OAAO,EAAE,GAAG,SAMd,CAAC;AAOF,eAAO,MAAM,mBAAmB,uBACR,mCAAmC,qBACpC,mCAAmC,YAmBzD,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,KAAK,KAAG,oBAO9D,CAAC;AAEF,eAAO,MAAM,6CAA6C,sBACnC,MAAM,KAC1B,oBAOF,CAAC"}
|
|
@@ -116,4 +116,3 @@ export const convertExternalRecipientToAutomationRecipient = (externalRecipient)
|
|
|
116
116
|
type: "externalUser",
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
export const computeUseHostRoute = (settings) => Boolean(settings?.enableShellApplication) && Boolean(settings?.enableShellApplication_dashboards);
|
|
@@ -12,10 +12,12 @@ export interface IExploreFilterTransfer {
|
|
|
12
12
|
* explored insight shows the same data as the widget.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* The transfer starts when
|
|
15
|
+
* The transfer starts when the opened insight first renders. Analytical Designer replaces its filters
|
|
16
|
+
* with each answer of the visualization to a reference point change. An answer that the opened
|
|
17
|
+
* insight requested can arrive after the filters were set, and then removes them without an error.
|
|
16
18
|
* When Analytical Designer is not ready yet (its date datasets still load), the command fails and the
|
|
17
|
-
* transfer retries until it succeeds or takes too long.
|
|
18
|
-
*
|
|
19
|
+
* transfer retries until it succeeds or takes too long. A later render starts the transfer again if
|
|
20
|
+
* the retries stopped too early.
|
|
19
21
|
*/
|
|
20
22
|
export declare function useExploreFilterTransfer(target: InsightEditorTarget, isExplore: boolean, apiRef: RefObject<IAnalyticalDesignerApi | null>): IExploreFilterTransfer;
|
|
21
23
|
//# sourceMappingURL=useExploreFilterTransfer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExploreFilterTransfer.d.ts","sourceRoot":"","sources":["../../../src/presentation/insightEditor/useExploreFilterTransfer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAA2C,MAAM,OAAO,CAAC;AAIhF,OAAO,EAKH,KAAK,kBAAkB,EAC1B,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAoBnF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAmBnF,MAAM,WAAW,sBAAsB;IACnC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,eAAe,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3E;AAED
|
|
1
|
+
{"version":3,"file":"useExploreFilterTransfer.d.ts","sourceRoot":"","sources":["../../../src/presentation/insightEditor/useExploreFilterTransfer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAA2C,MAAM,OAAO,CAAC;AAIhF,OAAO,EAKH,KAAK,kBAAkB,EAC1B,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAoBnF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAmBnF,MAAM,WAAW,sBAAsB;IACnC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,eAAe,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3E;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,mBAAmB,EAC3B,SAAS,EAAE,OAAO,EAClB,MAAM,EAAE,SAAS,CAAC,sBAAsB,GAAG,IAAI,CAAC,GACjD,sBAAsB,CAqLxB"}
|
|
@@ -31,10 +31,12 @@ const messages = defineMessages({
|
|
|
31
31
|
* explored insight shows the same data as the widget.
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* The transfer starts when
|
|
34
|
+
* The transfer starts when the opened insight first renders. Analytical Designer replaces its filters
|
|
35
|
+
* with each answer of the visualization to a reference point change. An answer that the opened
|
|
36
|
+
* insight requested can arrive after the filters were set, and then removes them without an error.
|
|
35
37
|
* When Analytical Designer is not ready yet (its date datasets still load), the command fails and the
|
|
36
|
-
* transfer retries until it succeeds or takes too long.
|
|
37
|
-
*
|
|
38
|
+
* transfer retries until it succeeds or takes too long. A later render starts the transfer again if
|
|
39
|
+
* the retries stopped too early.
|
|
38
40
|
*/
|
|
39
41
|
export function useExploreFilterTransfer(target, isExplore, apiRef) {
|
|
40
42
|
const dispatch = useDashboardDispatch();
|
|
@@ -163,8 +165,7 @@ export function useExploreFilterTransfer(target, isExplore, apiRef) {
|
|
|
163
165
|
};
|
|
164
166
|
apiRef.current?.sendCommand(command);
|
|
165
167
|
}
|
|
166
|
-
|
|
167
|
-
}, [isExplore, apiRef, keepFilterContext]);
|
|
168
|
+
}, [isExplore, apiRef]);
|
|
168
169
|
const onInsightRendered = useCallback(() => {
|
|
169
170
|
if (isExplore) {
|
|
170
171
|
void keepFilterContext();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultShareDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/shareDialog/DefaultShareDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AASnD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,SAAS,EACT,OAAO,EACP,SAAS,EACT,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,OAAO,EACP,QAAQ,EACR,OAAO,EACP,aAAa,EACb,eAAe,GAClB,EAAE,iBAAiB,GAAG,YAAY,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"DefaultShareDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/shareDialog/DefaultShareDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AASnD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,SAAS,EACT,OAAO,EACP,SAAS,EACT,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,OAAO,EACP,QAAQ,EACR,OAAO,EACP,aAAa,EACb,eAAe,GAClB,EAAE,iBAAiB,GAAG,YAAY,GAAG,IAAI,CAiDzC"}
|
|
@@ -4,16 +4,13 @@ import { useMemo } from "react";
|
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { ShareDialog } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
|
|
7
|
-
import { selectLocale
|
|
7
|
+
import { selectLocale } from "../../model/store/config/configSelectors.js";
|
|
8
8
|
/**
|
|
9
9
|
* @alpha
|
|
10
10
|
*/
|
|
11
11
|
export function DefaultShareDialog({ workspace, backend, isVisible, sharedObject, currentUser, isLockingSupported, isCurrentUserWorkspaceManager, currentUserPermissions, dashboardFilters, dashboardParameters, isShareGrantHidden, applyShareGrantOnSelect, showDashboardShareLink, isGranteeShareLoading, onApply, onCancel, onError, onInteraction, onShareLinkCopy, }) {
|
|
12
12
|
const locale = useDashboardSelector(selectLocale);
|
|
13
|
-
const
|
|
14
|
-
const dashboardLinkBasePath = settings.enableShellApplication_dashboards
|
|
15
|
-
? `/workspace/${workspace}/dashboards/`
|
|
16
|
-
: undefined;
|
|
13
|
+
const dashboardLinkBasePath = `/workspace/${workspace}/dashboards/`;
|
|
17
14
|
const intl = useIntl();
|
|
18
15
|
const labels = useMemo(() => ({
|
|
19
16
|
accessTypeLabel: intl.formatMessage({ id: "dashboard.shareDialog.lock.label" }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.65.0-alpha.
|
|
3
|
+
"version": "11.65.0-alpha.14",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -60,22 +60,22 @@
|
|
|
60
60
|
"ts-invariant": "0.10.3",
|
|
61
61
|
"tslib": "2.8.1",
|
|
62
62
|
"uuid": "11.1.1",
|
|
63
|
-
"@gooddata/sdk-backend-
|
|
64
|
-
"@gooddata/sdk-
|
|
65
|
-
"@gooddata/sdk-model": "11.65.0-alpha.
|
|
66
|
-
"@gooddata/sdk-ui": "11.65.0-alpha.
|
|
67
|
-
"@gooddata/sdk-
|
|
68
|
-
"@gooddata/sdk-
|
|
69
|
-
"@gooddata/sdk-ui-charts": "11.65.0-alpha.
|
|
70
|
-
"@gooddata/sdk-ui-
|
|
71
|
-
"@gooddata/sdk-ui-geo": "11.65.0-alpha.
|
|
72
|
-
"@gooddata/sdk-ui-
|
|
73
|
-
"@gooddata/sdk-ui-
|
|
74
|
-
"@gooddata/sdk-ui-semantic-search": "11.65.0-alpha.
|
|
75
|
-
"@gooddata/sdk-ui-
|
|
76
|
-
"@gooddata/sdk-ui-
|
|
77
|
-
"@gooddata/
|
|
78
|
-
"@gooddata/
|
|
63
|
+
"@gooddata/sdk-backend-base": "11.65.0-alpha.14",
|
|
64
|
+
"@gooddata/sdk-embedding": "11.65.0-alpha.14",
|
|
65
|
+
"@gooddata/sdk-model": "11.65.0-alpha.14",
|
|
66
|
+
"@gooddata/sdk-ui-analytical-designer": "11.65.0-alpha.14",
|
|
67
|
+
"@gooddata/sdk-ui": "11.65.0-alpha.14",
|
|
68
|
+
"@gooddata/sdk-backend-spi": "11.65.0-alpha.14",
|
|
69
|
+
"@gooddata/sdk-ui-charts": "11.65.0-alpha.14",
|
|
70
|
+
"@gooddata/sdk-ui-ext": "11.65.0-alpha.14",
|
|
71
|
+
"@gooddata/sdk-ui-geo": "11.65.0-alpha.14",
|
|
72
|
+
"@gooddata/sdk-ui-filters": "11.65.0-alpha.14",
|
|
73
|
+
"@gooddata/sdk-ui-kit": "11.65.0-alpha.14",
|
|
74
|
+
"@gooddata/sdk-ui-semantic-search": "11.65.0-alpha.14",
|
|
75
|
+
"@gooddata/sdk-ui-pivot": "11.65.0-alpha.14",
|
|
76
|
+
"@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.14",
|
|
77
|
+
"@gooddata/sdk-ui-vis-commons": "11.65.0-alpha.14",
|
|
78
|
+
"@gooddata/util": "11.65.0-alpha.14"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"svgo": "2.8.4",
|
|
118
118
|
"typescript": "7.0.2",
|
|
119
119
|
"vitest": "5.0.4",
|
|
120
|
-
"@gooddata/
|
|
121
|
-
"@gooddata/i18n-toolkit": "11.65.0-alpha.
|
|
122
|
-
"@gooddata/
|
|
123
|
-
"@gooddata/
|
|
124
|
-
"@gooddata/
|
|
125
|
-
"@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.
|
|
120
|
+
"@gooddata/eslint-config": "11.65.0-alpha.14",
|
|
121
|
+
"@gooddata/i18n-toolkit": "11.65.0-alpha.14",
|
|
122
|
+
"@gooddata/oxlint-config": "11.65.0-alpha.14",
|
|
123
|
+
"@gooddata/stylelint-config": "11.65.0-alpha.14",
|
|
124
|
+
"@gooddata/reference-workspace": "11.65.0-alpha.14",
|
|
125
|
+
"@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.14"
|
|
126
126
|
},
|
|
127
127
|
"peerDependencies": {
|
|
128
128
|
"react": "^18.0.0 || ^19.0.0",
|