@gooddata/sdk-ui-dashboard 11.2.0-alpha.1 → 11.2.0-alpha.2
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 +190 -46
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/model/commandHandlers/drillTargets/addDrillTargetsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drillTargets/addDrillTargetsHandler.js +2 -5
- package/esm/model/commandHandlers/drillTargets/addDrillTargetsHandler.js.map +1 -1
- package/esm/model/react/index.d.ts +1 -0
- package/esm/model/react/index.d.ts.map +1 -1
- package/esm/model/react/index.js +1 -0
- package/esm/model/react/index.js.map +1 -1
- package/esm/model/react/useAutomationsInitialFocus.d.ts +11 -0
- package/esm/model/react/useAutomationsInitialFocus.d.ts.map +1 -0
- package/esm/model/react/useAutomationsInitialFocus.js +20 -0
- package/esm/model/react/useAutomationsInitialFocus.js.map +1 -0
- package/esm/model/store/config/configSelectors.d.ts +0 -84
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +0 -110
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +1 -1
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +1 -1
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/topBar/topBarSelectors.d.ts.map +1 -1
- package/esm/model/store/topBar/topBarSelectors.js +3 -8
- package/esm/model/store/topBar/topBarSelectors.js.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +9 -12
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +4 -3
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js.map +1 -1
- package/esm/presentation/constants/automations.d.ts.map +1 -1
- package/esm/presentation/constants/automations.js +3 -7
- package/esm/presentation/constants/automations.js.map +1 -1
- package/esm/presentation/deleteDialog/DefaultDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/DefaultDeleteDialog.js +3 -5
- package/esm/presentation/deleteDialog/DefaultDeleteDialog.js.map +1 -1
- package/esm/presentation/deleteDialog/types.d.ts +0 -1
- package/esm/presentation/deleteDialog/types.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/types.js +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js +2 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js.map +1 -1
- package/esm/presentation/localization/createInternalIntl.d.ts.map +1 -1
- package/esm/presentation/localization/createInternalIntl.js +1 -7
- package/esm/presentation/localization/createInternalIntl.js.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/SaveAsDialogRenderer.d.ts +0 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/SaveAsDialogRenderer.d.ts.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/SaveAsDialogRenderer.js +4 -5
- package/esm/presentation/saveAs/DefaultSaveAsDialog/SaveAsDialogRenderer.js.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/index.d.ts.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/index.js +2 -2
- package/esm/presentation/saveAs/DefaultSaveAsDialog/index.js.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/useSaveAs.d.ts +0 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/useSaveAs.d.ts.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/useSaveAs.js +1 -3
- package/esm/presentation/saveAs/DefaultSaveAsDialog/useSaveAs.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +11 -10
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.d.ts +1 -0
- package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.js +3 -3
- package/esm/presentation/widget/common/useInsightExport.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.js +4 -16
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js +2 -4
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +1 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/PoweredByGDLogo.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/PoweredByGDLogo.js +2 -2
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/PoweredByGDLogo.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogInsightDrills.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogInsightDrills.js +5 -6
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogInsightDrills.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/useResolveDashboardInsightProperties.js +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/useResolveDashboardInsightProperties.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillOriginItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillOriginItem.js +3 -5
- package/esm/presentation/widget/insight/configuration/DrillOriginItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightConfiguration.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightConfiguration.js +1 -2
- package/esm/presentation/widget/insight/configuration/InsightConfiguration.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/InsightDrillConfigPanel.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/InsightDrillConfigPanel.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/InsightDrillConfigPanel.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.d.ts +0 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.js +1 -4
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/useDrillTargetTypeItems.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/useDrillTargetTypeItems.js +13 -21
- package/esm/presentation/widget/insight/configuration/useDrillTargetTypeItems.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.js +2 -7
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +10 -98
- package/package.json +16 -16
- package/esm/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.d.ts +0 -5
- package/esm/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.d.ts.map +0 -1
- package/esm/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.js +0 -12
- package/esm/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.js.map +0 -1
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
3
|
import { messages as uiMessages } from "@gooddata/sdk-ui";
|
|
4
4
|
import { messages } from "../../../../locales.js";
|
|
5
|
-
import {
|
|
5
|
+
import { selectSupportsAttributeHierarchies, useDashboardSelector } from "../../../../model/index.js";
|
|
6
6
|
import { DRILL_TARGET_TYPE } from "../../../drill/types.js";
|
|
7
7
|
export const useDrillTargetTypeItems = (disableDrillDown) => {
|
|
8
|
-
const dropdownItems = [];
|
|
9
8
|
const intl = useIntl();
|
|
10
|
-
const enableKPIDashboardDrillToDashboard = useDashboardSelector(selectEnableKPIDashboardDrillToDashboard);
|
|
11
|
-
const enableKPIDashboardDrillToInsight = useDashboardSelector(selectEnableKPIDashboardDrillToInsight);
|
|
12
|
-
const enableKPIDashboardDrillToURL = useDashboardSelector(selectEnableKPIDashboardDrillToURL);
|
|
13
9
|
const supportsAttributeHierarchies = useDashboardSelector(selectSupportsAttributeHierarchies);
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
const dropdownItems = [
|
|
11
|
+
{
|
|
16
12
|
id: DRILL_TARGET_TYPE.DRILL_TO_DASHBOARD,
|
|
17
13
|
title: intl.formatMessage(messages.drillToDashboardConfig),
|
|
18
14
|
tooltipMessage: uiMessages["drillToDashboardTooltip"].id,
|
|
19
15
|
documentUrl: "https://www.gooddata.com/docs/cloud/create-dashboards/drilling-in-dashboards/set-drill-into-dashboard/",
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
if (enableKPIDashboardDrillToInsight) {
|
|
23
|
-
dropdownItems.push({
|
|
16
|
+
},
|
|
17
|
+
{
|
|
24
18
|
id: DRILL_TARGET_TYPE.DRILL_TO_INSIGHT,
|
|
25
19
|
title: intl.formatMessage(messages.drillIntoInsight),
|
|
26
20
|
tooltipMessage: uiMessages["drillToInsightTooltip"].id,
|
|
27
21
|
documentUrl: "https://www.gooddata.com/docs/cloud/create-dashboards/drilling-in-dashboards/set-drill-into-insight/",
|
|
28
|
-
}
|
|
29
|
-
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: DRILL_TARGET_TYPE.DRILL_TO_URL,
|
|
25
|
+
title: intl.formatMessage(messages.drillToUrlConfig),
|
|
26
|
+
tooltipMessage: uiMessages["drillToUrlTooltip"].id,
|
|
27
|
+
documentUrl: "https://www.gooddata.com/docs/cloud/create-dashboards/drilling-in-dashboards/set-drill-into-hyperlink/",
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
30
|
if (supportsAttributeHierarchies) {
|
|
31
31
|
dropdownItems.push({
|
|
32
32
|
id: DRILL_TARGET_TYPE.DRILL_DOWN,
|
|
@@ -39,14 +39,6 @@ export const useDrillTargetTypeItems = (disableDrillDown) => {
|
|
|
39
39
|
documentUrl: "https://www.gooddata.com/docs/cloud/create-dashboards/drilling-in-dashboards/set-drill-down/",
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
if (enableKPIDashboardDrillToURL) {
|
|
43
|
-
dropdownItems.push({
|
|
44
|
-
id: DRILL_TARGET_TYPE.DRILL_TO_URL,
|
|
45
|
-
title: intl.formatMessage(messages.drillToUrlConfig),
|
|
46
|
-
tooltipMessage: uiMessages["drillToUrlTooltip"].id,
|
|
47
|
-
documentUrl: "https://www.gooddata.com/docs/cloud/create-dashboards/drilling-in-dashboards/set-drill-into-hyperlink/",
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
42
|
return dropdownItems;
|
|
51
43
|
};
|
|
52
44
|
//# sourceMappingURL=useDrillTargetTypeItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDrillTargetTypeItems.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/useDrillTargetTypeItems.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"useDrillTargetTypeItems.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/useDrillTargetTypeItems.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,kCAAkC,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAW5D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,gBAA0B,EAAsB,EAAE;IACtF,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,4BAA4B,GAAG,oBAAoB,CAAC,kCAAkC,CAAC,CAAC;IAE9F,MAAM,aAAa,GAAuB;QACtC;YACI,EAAE,EAAE,iBAAiB,CAAC,kBAAkB;YACxC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,sBAAsB,CAAC;YAC1D,cAAc,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC,EAAE;YACxD,WAAW,EACP,wGAAwG;SAC/G;QACD;YACI,EAAE,EAAE,iBAAiB,CAAC,gBAAgB;YACtC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,gBAAgB,CAAC;YACpD,cAAc,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC,EAAE;YACtD,WAAW,EACP,sGAAsG;SAC7G;QACD;YACI,EAAE,EAAE,iBAAiB,CAAC,YAAY;YAClC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,gBAAgB,CAAC;YACpD,cAAc,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC,EAAE;YAClD,WAAW,EACP,wGAAwG;SAC/G;KACJ,CAAC;IAEF,IAAI,4BAA4B,EAAE,CAAC;QAC/B,aAAa,CAAC,IAAI,CAAC;YACf,EAAE,EAAE,iBAAiB,CAAC,UAAU;YAChC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,eAAe,CAAC;YACnD,QAAQ,EAAE,gBAAgB;YAC1B,qBAAqB,EAAE,gBAAgB;gBACnC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,uBAAuB,CAAC;gBACtD,CAAC,CAAC,SAAS;YACf,cAAc,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAC,EAAE;YACjD,WAAW,EACP,8FAA8F;SACrG,CAAC,CAAC;IACP,CAAC;IAED,OAAO,aAAa,CAAC;AACzB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditableInsightMenu.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useEditableInsightMenu.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useEditableInsightMenu.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useEditableInsightMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAa/D,OAAO,EAAE,gBAAgB,EAAkC,MAAM,4BAA4B,CAAC;AAE9F,KAAK,4BAA4B,GAAG;IAChC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAC/B,QAAQ,4BAA4B,KACrC;IAAE,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAyDjC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2021-2025 GoodData Corporation
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
|
-
import { selectDashboardUserAutomationAlertsInContext, selectDashboardUserAutomationSchedulesInContext, selectDrillTargetsByWidgetRef, selectEnableAlerting, selectEnableScheduling,
|
|
4
|
+
import { selectDashboardUserAutomationAlertsInContext, selectDashboardUserAutomationSchedulesInContext, selectDrillTargetsByWidgetRef, selectEnableAlerting, selectEnableScheduling, useDashboardDispatch, useDashboardEventDispatch, useDashboardSelector, } from "../../../../model/index.js";
|
|
5
5
|
import { useDashboardCustomizationsContext } from "../../../dashboardContexts/index.js";
|
|
6
6
|
import { getDefaultInsightEditMenuItems } from "../../insightMenu/index.js";
|
|
7
7
|
export const useEditableInsightMenu = (config) => {
|
|
@@ -9,15 +9,10 @@ export const useEditableInsightMenu = (config) => {
|
|
|
9
9
|
const intl = useIntl();
|
|
10
10
|
const dispatch = useDashboardDispatch();
|
|
11
11
|
const eventDispatch = useDashboardEventDispatch();
|
|
12
|
-
const settings = useDashboardSelector(selectSettings);
|
|
13
|
-
const { enableKPIDashboardDrillToURL, enableKPIDashboardDrillToDashboard, enableKPIDashboardDrillToInsight, } = settings;
|
|
14
12
|
const configItems = useDashboardSelector(selectDrillTargetsByWidgetRef(widget.ref));
|
|
15
|
-
const someDrillingEnabled = enableKPIDashboardDrillToURL ||
|
|
16
|
-
enableKPIDashboardDrillToDashboard ||
|
|
17
|
-
enableKPIDashboardDrillToInsight;
|
|
18
13
|
const availableDrillTargets = configItems?.availableDrillTargets;
|
|
19
14
|
const someAvailableDrillTargetsExist = !!availableDrillTargets?.attributes?.length || !!availableDrillTargets?.measures?.length;
|
|
20
|
-
const includeInteractions =
|
|
15
|
+
const includeInteractions = someAvailableDrillTargetsExist && Boolean(insight);
|
|
21
16
|
const includeConfigurations = Boolean(insight);
|
|
22
17
|
const isSchedulingEnabled = useDashboardSelector(selectEnableScheduling);
|
|
23
18
|
const isAlertingEnabled = useDashboardSelector(selectEnableAlerting);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditableInsightMenu.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useEditableInsightMenu.ts"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"useEditableInsightMenu.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useEditableInsightMenu.ts"],"names":[],"mappings":"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"}
|
|
@@ -19782,13 +19782,6 @@ export declare const selectDisableDefaultDrills: DashboardSelector<boolean>;
|
|
|
19782
19782
|
*/
|
|
19783
19783
|
export declare const selectDisableFilterViews: DashboardSelector<boolean>;
|
|
19784
19784
|
|
|
19785
|
-
/**
|
|
19786
|
-
* Returns whether we should disable the underline in KPIs when they are drillable.
|
|
19787
|
-
*
|
|
19788
|
-
* @internal
|
|
19789
|
-
*/
|
|
19790
|
-
export declare const selectDisableKpiDashboardHeadlineUnderline: DashboardSelector<boolean>;
|
|
19791
|
-
|
|
19792
19785
|
/**
|
|
19793
19786
|
* @internal
|
|
19794
19787
|
*/
|
|
@@ -19935,13 +19928,6 @@ export declare const selectEnableAlertsEvaluationFrequencySetup: DashboardSelect
|
|
|
19935
19928
|
*/
|
|
19936
19929
|
export declare const selectEnableAnalyticalDashboardPermissions: DashboardSelector<boolean>;
|
|
19937
19930
|
|
|
19938
|
-
/**
|
|
19939
|
-
* Returns whether KD attribute filter values validation/filtering is enabled.
|
|
19940
|
-
*
|
|
19941
|
-
* @internal
|
|
19942
|
-
*/
|
|
19943
|
-
export declare const selectEnableAttributeFilterValuesValidation: DashboardSelector<boolean>;
|
|
19944
|
-
|
|
19945
19931
|
/**
|
|
19946
19932
|
* Feature flag
|
|
19947
19933
|
* @internal
|
|
@@ -19974,27 +19960,6 @@ export declare const selectEnableAutomationManagement: DashboardSelector<boolean
|
|
|
19974
19960
|
*/
|
|
19975
19961
|
export declare const selectEnableAutomations: DashboardSelector<boolean>;
|
|
19976
19962
|
|
|
19977
|
-
/**
|
|
19978
|
-
* Selector for the centralized automation management feature flag
|
|
19979
|
-
*
|
|
19980
|
-
* @internal
|
|
19981
|
-
*/
|
|
19982
|
-
export declare const selectEnableCentralizedAutomationManagement: DashboardSelector<boolean>;
|
|
19983
|
-
|
|
19984
|
-
/**
|
|
19985
|
-
* Returns whether implicit drill to attributes url enabled
|
|
19986
|
-
*
|
|
19987
|
-
* @public
|
|
19988
|
-
*/
|
|
19989
|
-
export declare const selectEnableClickableAttributeURL: DashboardSelector<boolean>;
|
|
19990
|
-
|
|
19991
|
-
/**
|
|
19992
|
-
* Returns whether company logo should be visible in embedded dashboard.
|
|
19993
|
-
*
|
|
19994
|
-
* @public
|
|
19995
|
-
*/
|
|
19996
|
-
export declare const selectEnableCompanyLogoInEmbeddedUI: DashboardSelector<boolean>;
|
|
19997
|
-
|
|
19998
19963
|
/**
|
|
19999
19964
|
* @alpha
|
|
20000
19965
|
*/
|
|
@@ -20158,34 +20123,6 @@ export declare const selectEnableKDDependentFilters: DashboardSelector<boolean>;
|
|
|
20158
20123
|
*/
|
|
20159
20124
|
export declare const selectEnableKDRichText: DashboardSelector<boolean>;
|
|
20160
20125
|
|
|
20161
|
-
/**
|
|
20162
|
-
* Returns whether drill fromAttribute is enabled
|
|
20163
|
-
*
|
|
20164
|
-
* @public
|
|
20165
|
-
*/
|
|
20166
|
-
export declare const selectEnableKPIDashboardDrillFromAttribute: DashboardSelector<boolean>;
|
|
20167
|
-
|
|
20168
|
-
/**
|
|
20169
|
-
* Returns whether the drill to dashboard is enabled.
|
|
20170
|
-
*
|
|
20171
|
-
* @public
|
|
20172
|
-
*/
|
|
20173
|
-
export declare const selectEnableKPIDashboardDrillToDashboard: DashboardSelector<boolean>;
|
|
20174
|
-
|
|
20175
|
-
/**
|
|
20176
|
-
* Returns whether drill to insight is enabled
|
|
20177
|
-
*
|
|
20178
|
-
* @public
|
|
20179
|
-
*/
|
|
20180
|
-
export declare const selectEnableKPIDashboardDrillToInsight: DashboardSelector<boolean>;
|
|
20181
|
-
|
|
20182
|
-
/**
|
|
20183
|
-
* Returns whether drill to url is enabled
|
|
20184
|
-
*
|
|
20185
|
-
* @public
|
|
20186
|
-
*/
|
|
20187
|
-
export declare const selectEnableKPIDashboardDrillToURL: DashboardSelector<boolean>;
|
|
20188
|
-
|
|
20189
20126
|
/**
|
|
20190
20127
|
* Returns whether the export to pdf is enabled.
|
|
20191
20128
|
*
|
|
@@ -20200,27 +20137,6 @@ export declare const selectEnableKPIDashboardExportPDF: DashboardSelector<string
|
|
|
20200
20137
|
*/
|
|
20201
20138
|
export declare const selectEnableKPIDashboardImplicitDrillDown: DashboardSelector<boolean>;
|
|
20202
20139
|
|
|
20203
|
-
/**
|
|
20204
|
-
* Returns whether the save as new dashboard functionality is enabled.
|
|
20205
|
-
*
|
|
20206
|
-
* @public
|
|
20207
|
-
*/
|
|
20208
|
-
export declare const selectEnableKPIDashboardSaveAsNew: DashboardSelector<boolean>;
|
|
20209
|
-
|
|
20210
|
-
/**
|
|
20211
|
-
* Returns whether the current user can schedule emails.
|
|
20212
|
-
*
|
|
20213
|
-
* @public
|
|
20214
|
-
*/
|
|
20215
|
-
export declare const selectEnableKPIDashboardSchedule: DashboardSelector<boolean>;
|
|
20216
|
-
|
|
20217
|
-
/**
|
|
20218
|
-
* Returns whether the current user can share scheduled email to other recipients.
|
|
20219
|
-
*
|
|
20220
|
-
* @public
|
|
20221
|
-
*/
|
|
20222
|
-
export declare const selectEnableKPIDashboardScheduleRecipients: DashboardSelector<boolean>;
|
|
20223
|
-
|
|
20224
20140
|
/**
|
|
20225
20141
|
* Returns whether multiple date filters are enabled.
|
|
20226
20142
|
*
|
|
@@ -20242,13 +20158,6 @@ export declare const selectEnableNewScheduledExport: DashboardSelector<boolean>;
|
|
|
20242
20158
|
*/
|
|
20243
20159
|
export declare const selectEnableOrchestratedTabularExports: DashboardSelector<boolean>;
|
|
20244
20160
|
|
|
20245
|
-
/**
|
|
20246
|
-
* Returns whether we should call measures metrics (true) or measures (false).
|
|
20247
|
-
*
|
|
20248
|
-
* @internal
|
|
20249
|
-
*/
|
|
20250
|
-
export declare const selectEnableRenamingMeasureToMetric: DashboardSelector<boolean>;
|
|
20251
|
-
|
|
20252
20161
|
/**
|
|
20253
20162
|
* Returns whether we should call workspaces workspaces (true) or projects (false).
|
|
20254
20163
|
*
|
|
@@ -20725,13 +20634,6 @@ export declare const selectIsAlertingManagementDialogContext: DashboardSelector<
|
|
|
20725
20634
|
*/
|
|
20726
20635
|
export declare const selectIsAlertsManagementDialogOpen: DashboardSelector<boolean>;
|
|
20727
20636
|
|
|
20728
|
-
/**
|
|
20729
|
-
* Returns whether choice of alternate display forms is enabled.
|
|
20730
|
-
*
|
|
20731
|
-
* @internal
|
|
20732
|
-
*/
|
|
20733
|
-
export declare const selectIsAlternativeDisplayFormSelectionEnabled: DashboardSelector<boolean>;
|
|
20734
|
-
|
|
20735
20637
|
/**
|
|
20736
20638
|
* Returns whether analytical designer is enabled.
|
|
20737
20639
|
*
|
|
@@ -23013,6 +22915,16 @@ export declare interface UpsertExecutionResult extends IDashboardCommand {
|
|
|
23013
22915
|
*/
|
|
23014
22916
|
export declare function useAutomationAvailableDashboardFilters(): FilterContextItem[] | undefined;
|
|
23015
22917
|
|
|
22918
|
+
/**
|
|
22919
|
+
* Manages inital focus in dialogs using the Automations component.
|
|
22920
|
+
*
|
|
22921
|
+
* @alpha
|
|
22922
|
+
*/
|
|
22923
|
+
export declare const useAutomationsInitialFocus: () => {
|
|
22924
|
+
addButtonRef: RefObject<HTMLButtonElement | null>;
|
|
22925
|
+
onAutomationsLoad: (items: Array<IAutomationMetadataObject>, isInitialState: boolean) => void;
|
|
22926
|
+
};
|
|
22927
|
+
|
|
23016
22928
|
/**
|
|
23017
22929
|
* Creates and registers a ref for invalidating automations from outside the Automation embedded component.
|
|
23018
22930
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.2.0-alpha.
|
|
3
|
+
"version": "11.2.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
"ts-invariant": "^0.7.5",
|
|
61
61
|
"tslib": "2.8.1",
|
|
62
62
|
"uuid": "^11.1.0",
|
|
63
|
-
"@gooddata/sdk-backend-base": "11.2.0-alpha.
|
|
64
|
-
"@gooddata/sdk-
|
|
65
|
-
"@gooddata/sdk-ui": "11.2.0-alpha.
|
|
66
|
-
"@gooddata/sdk-
|
|
67
|
-
"@gooddata/sdk-
|
|
68
|
-
"@gooddata/sdk-ui-filters": "11.2.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-geo": "11.2.0-alpha.
|
|
70
|
-
"@gooddata/sdk-ui-kit": "11.2.0-alpha.
|
|
71
|
-
"@gooddata/sdk-ui-pivot": "11.2.0-alpha.
|
|
72
|
-
"@gooddata/sdk-ui-theme-provider": "11.2.0-alpha.
|
|
73
|
-
"@gooddata/sdk-ui-vis-commons": "11.2.0-alpha.
|
|
74
|
-
"@gooddata/util": "11.2.0-alpha.
|
|
63
|
+
"@gooddata/sdk-backend-base": "11.2.0-alpha.2",
|
|
64
|
+
"@gooddata/sdk-model": "11.2.0-alpha.2",
|
|
65
|
+
"@gooddata/sdk-ui-ext": "11.2.0-alpha.2",
|
|
66
|
+
"@gooddata/sdk-backend-spi": "11.2.0-alpha.2",
|
|
67
|
+
"@gooddata/sdk-ui": "11.2.0-alpha.2",
|
|
68
|
+
"@gooddata/sdk-ui-filters": "11.2.0-alpha.2",
|
|
69
|
+
"@gooddata/sdk-ui-geo": "11.2.0-alpha.2",
|
|
70
|
+
"@gooddata/sdk-ui-kit": "11.2.0-alpha.2",
|
|
71
|
+
"@gooddata/sdk-ui-pivot": "11.2.0-alpha.2",
|
|
72
|
+
"@gooddata/sdk-ui-theme-provider": "11.2.0-alpha.2",
|
|
73
|
+
"@gooddata/sdk-ui-vis-commons": "11.2.0-alpha.2",
|
|
74
|
+
"@gooddata/util": "11.2.0-alpha.2"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@gooddata/eslint-config": "^4.1.1",
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
"typescript": "5.8.3",
|
|
120
120
|
"vitest": "3.2.4",
|
|
121
121
|
"vitest-dom": "0.1.1",
|
|
122
|
-
"@gooddata/i18n-toolkit": "11.2.0-alpha.
|
|
123
|
-
"@gooddata/reference-workspace": "11.2.0-alpha.
|
|
124
|
-
"@gooddata/sdk-backend-mockingbird": "11.2.0-alpha.
|
|
122
|
+
"@gooddata/i18n-toolkit": "11.2.0-alpha.2",
|
|
123
|
+
"@gooddata/reference-workspace": "11.2.0-alpha.2",
|
|
124
|
+
"@gooddata/sdk-backend-mockingbird": "11.2.0-alpha.2"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
127
|
"react": "^18.0.0 || ^19.0.0",
|
package/esm/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IAvailableDrillTargets } from "@gooddata/sdk-ui";
|
|
2
|
-
import { IDashboardCommand } from "../../../commands/index.js";
|
|
3
|
-
import { DashboardContext } from "../../../types/commonTypes.js";
|
|
4
|
-
export declare function availableDrillTargetsValidation(availableDrillTargets: IAvailableDrillTargets, enableKPIDashboardDrillFromAttribute: boolean, ctx: DashboardContext, cmd: IDashboardCommand): IAvailableDrillTargets;
|
|
5
|
-
//# sourceMappingURL=availableDrillTargetsValidation.d.ts.map
|
package/esm/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"availableDrillTargetsValidation.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,wBAAgB,+BAA+B,CAC3C,qBAAqB,EAAE,sBAAsB,EAC7C,oCAAoC,EAAE,OAAO,EAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,GACvB,sBAAsB,CAcxB"}
|
package/esm/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// (C) 2021-2025 GoodData Corporation
|
|
2
|
-
import { invalidArgumentsProvided } from "../../../events/general.js";
|
|
3
|
-
export function availableDrillTargetsValidation(availableDrillTargets, enableKPIDashboardDrillFromAttribute, ctx, cmd) {
|
|
4
|
-
const items = availableDrillTargets;
|
|
5
|
-
const attributeItems = items?.attributes;
|
|
6
|
-
// Validate availableDrillTargets when enableKPIDashboardDrillFromAttribute FF false, we reject availableDrillTargets attributes to save.
|
|
7
|
-
if (!enableKPIDashboardDrillFromAttribute && attributeItems && attributeItems.length > 0) {
|
|
8
|
-
throw invalidArgumentsProvided(ctx, cmd, `Attributes in availableDrillTargets are not supported when enableKPIDashboardDrillFromAttribute FF is set to false`);
|
|
9
|
-
}
|
|
10
|
-
return items;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=availableDrillTargetsValidation.js.map
|
package/esm/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"availableDrillTargetsValidation.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/drillTargets/validation/availableDrillTargetsValidation.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAKrC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAGtE,MAAM,UAAU,+BAA+B,CAC3C,qBAA6C,EAC7C,oCAA6C,EAC7C,GAAqB,EACrB,GAAsB;IAEtB,MAAM,KAAK,GAAG,qBAAqB,CAAC;IACpC,MAAM,cAAc,GAAG,KAAK,EAAE,UAAU,CAAC;IAEzC,yIAAyI;IACzI,IAAI,CAAC,oCAAoC,IAAI,cAAc,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvF,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,oHAAoH,CACvH,CAAC;IACN,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC"}
|