@gooddata/sdk-ui-dashboard 10.9.0-alpha.2 → 10.9.0-alpha.21
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/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/drills/drillingUtils.d.ts +2 -14
- package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
- package/esm/_staging/drills/drillingUtils.js +2 -62
- package/esm/_staging/drills/drillingUtils.js.map +1 -1
- package/esm/assets/filter.svg +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.js +24 -2
- package/esm/model/commandHandlers/drill/drillDownHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +24 -0
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js +23 -2
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/common/drillDown.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/common/drillDown.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/common/drillDown.js +22 -0
- package/esm/model/commandHandlers/widgets/common/drillDown.js.map +1 -0
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js +23 -2
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js +15 -2
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commands/insight.d.ts +17 -3
- package/esm/model/commands/insight.d.ts.map +1 -1
- package/esm/model/commands/insight.js +7 -3
- package/esm/model/commands/insight.js.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.d.ts +23 -1
- package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.js +9 -3
- package/esm/model/store/catalog/catalogSelectors.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +3 -3
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +2 -2
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +4 -0
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.d.ts +6 -1
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js +10 -0
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/ui/index.d.ts +7 -0
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +8 -1
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +7 -0
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +9 -0
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +8 -0
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +8 -0
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +4 -0
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +14 -11
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
- package/esm/model/types/commonTypes.d.ts +2 -2
- package/esm/model/types/commonTypes.d.ts.map +1 -1
- package/esm/presentation/constants/index.d.ts +1 -0
- package/esm/presentation/constants/index.d.ts.map +1 -1
- package/esm/presentation/constants/index.js +2 -1
- package/esm/presentation/constants/index.js.map +1 -1
- package/esm/presentation/drill/types.d.ts +1 -0
- package/esm/presentation/drill/types.d.ts.map +1 -1
- package/esm/presentation/drill/types.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -8
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +43 -12
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +1 -0
- package/esm/presentation/localization/bundles/en-AU.json +475 -0
- package/esm/presentation/localization/bundles/en-GB.json +1 -0
- package/esm/presentation/localization/bundles/en-US.json +162 -2
- package/esm/presentation/localization/bundles/es-419.json +1 -0
- package/esm/presentation/localization/bundles/es-ES.json +1 -0
- package/esm/presentation/localization/bundles/fi-FI.json +475 -0
- package/esm/presentation/localization/bundles/fr-CA.json +1 -0
- package/esm/presentation/localization/bundles/fr-FR.json +1 -0
- package/esm/presentation/localization/bundles/it-IT.json +1 -0
- package/esm/presentation/localization/bundles/ja-JP.json +1 -0
- package/esm/presentation/localization/bundles/nl-NL.json +1 -0
- package/esm/presentation/localization/bundles/pt-BR.json +1 -0
- package/esm/presentation/localization/bundles/pt-PT.json +1 -0
- package/esm/presentation/localization/bundles/zh-HK.json +475 -0
- package/esm/presentation/localization/bundles/zh-Hans.json +1 -0
- package/esm/presentation/localization/bundles/zh-Hant.json +475 -0
- package/esm/presentation/localization/translations.d.ts.map +1 -1
- package/esm/presentation/localization/translations.js +8 -0
- package/esm/presentation/localization/translations.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/types.d.ts +3 -3
- package/esm/presentation/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +157 -120
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargets.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargets.js +1 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargets.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts +12 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js +74 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts +8 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +25 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.d.ts +7 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.js +13 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts +9 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +23 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +9 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +22 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts +8 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js +35 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +16 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +18 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +12 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +16 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +17 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +12 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +18 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +53 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +10 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +47 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts +23 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js +36 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts +51 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js +53 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.d.ts +21 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.js +97 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.d.ts +29 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.js +151 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +16 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +86 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts +4 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js +38 -0
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +23 -5
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.js +25 -3
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.d.ts +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.js +5 -4
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.d.ts +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.d.ts +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.js +4 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +3 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +2 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +28 -7
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
- package/esm/presentation/widget/insightMenu/index.d.ts +1 -1
- package/esm/presentation/widget/insightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/types.d.ts +28 -6
- package/esm/presentation/widget/insightMenu/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +7 -2
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +2 -0
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +13 -8
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +90 -12
- package/esm/types.d.ts +5 -0
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js.map +1 -1
- package/package.json +15 -15
- package/styles/css/alerting.css +214 -0
- package/styles/css/alerting.css.map +1 -0
- package/styles/css/configurationPanel.css +3 -0
- package/styles/css/configurationPanel.css.map +1 -1
- package/styles/css/dashboard.css +6 -1
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/icons.css +7 -0
- package/styles/css/icons.css.map +1 -1
- package/styles/css/main.css +229 -1
- package/styles/css/main.css.map +1 -1
- package/styles/css/scheduled_mail.css +6 -1
- package/styles/css/scheduled_mail.css.map +1 -1
- package/styles/scss/alerting.scss +257 -0
- package/styles/scss/configurationPanel.scss +5 -0
- package/styles/scss/icons.scss +9 -0
- package/styles/scss/main.scss +1 -0
- package/styles/scss/scheduled_mail.scss +7 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2021-
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import { Separator } from "@gooddata/sdk-ui-kit";
|
|
4
4
|
import { DashboardInsightMenuContainer } from "./DashboardInsightMenuContainer.js";
|
|
@@ -9,8 +9,8 @@ import { DashboardInsightMenuBubble } from "./DashboardInsightMenuBubble.js";
|
|
|
9
9
|
import { DashboardInsightEditMenuBubble } from "./DashboardInsightEditMenuBubble.js";
|
|
10
10
|
const DashboardInsightMenuBody = (props) => {
|
|
11
11
|
const { items, widget, insight, submenu, setSubmenu, onClose, renderMode } = props;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
const renderSubmenuComponent = submenu ? (React.createElement(submenu.SubmenuComponent, { widget: widget, onClose: onClose, onGoBack: () => setSubmenu(null) })) : null;
|
|
13
|
+
return submenu ? (submenu.renderSubmenuComponentOnly ? (renderSubmenuComponent) : (React.createElement(DashboardInsightSubmenuContainer, { onClose: onClose, title: submenu.itemName, onBack: () => setSubmenu(null) }, renderSubmenuComponent))) : (React.createElement(DashboardInsightMenuContainer, { onClose: onClose, widget: widget, insight: insight, renderMode: renderMode },
|
|
14
14
|
React.createElement(DashboardInsightMenuRoot, { items: items, setSubmenu: setSubmenu })));
|
|
15
15
|
};
|
|
16
16
|
export const DashboardInsightMenu = (props) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAGrF,MAAM,wBAAwB,GAM1B,CAAC,KAAK,EAAE,EAAE;IACV,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAEnF,OAAO,OAAO,CAAC,CAAC,CAAC,CACb,oBAAC,gCAAgC,IAC7B,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,OAAO,CAAC,QAAQ,EACvB,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAA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AAE,CAAC;YAC1B,OAAO,CACH,oBAAC,8BAA8B,IAC3B,GAAG,EAAE,IAAI,CAAC,MAAM,KACZ,IAAI,EACR,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;oBACf,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;wBACf,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;oBACxB,CAAC;oBAED,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrB,CAAC,EACD,OAAO,EAAE,IAAI,GACf,CACL,CAAC;QACN,CAAC;QACD,OAAO,oBAAC,8BAA8B,IAAC,GAAG,EAAE,IAAI,CAAC,MAAM,KAAM,IAAI,GAAI,CAAC;IAC1E,CAAC,CAAC,CACH,CACN,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -16,5 +16,7 @@ export declare function getDefaultInsightMenuItems(intl: IntlShape, config: {
|
|
|
16
16
|
isScheduleExportVisible: boolean;
|
|
17
17
|
isScheduleExportManagementVisible: boolean;
|
|
18
18
|
isDataError: boolean;
|
|
19
|
+
isAlertingVisible: boolean;
|
|
20
|
+
alertingDisabled: boolean;
|
|
19
21
|
}): IInsightMenuItem[];
|
|
20
22
|
//# sourceMappingURL=getDefaultInsightMenuItems.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultInsightMenuItems.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.
|
|
1
|
+
{"version":3,"file":"getDefaultInsightMenuItems.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG/C;;GAEG;AACH,wBAAgB,0BAA0B,CACtC,IAAI,EAAE,SAAS,EACf,MAAM,EAAE;IACJ,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,OAAO,CAAC;IAChC,4BAA4B,EAAE,oBAAoB,GAAG,WAAW,GAAG,SAAS,CAAC;IAC7E,gCAAgC,EAAE,OAAO,CAAC;IAC1C,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,uBAAuB,EAAE,OAAO,CAAC;IACjC,iCAAiC,EAAE,OAAO,CAAC;IAC3C,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;CAC7B,GACF,gBAAgB,EAAE,CA+GpB"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
1
3
|
import compact from "lodash/compact.js";
|
|
4
|
+
import { InsightAlerts } from "../../insight/configuration/InsightAlerts.js";
|
|
2
5
|
/**
|
|
3
6
|
* @internal
|
|
4
7
|
*/
|
|
5
8
|
export function getDefaultInsightMenuItems(intl, config) {
|
|
6
|
-
const { exportCSVDisabled, exportXLSXDisabled, scheduleExportDisabled, scheduleExportDisabledReason, scheduleExportManagementDisabled, onExportCSV, onExportXLSX, onScheduleExport, onScheduleManagementExport, isScheduleExportVisible, isScheduleExportManagementVisible, isDataError, } = config;
|
|
9
|
+
const { exportCSVDisabled, exportXLSXDisabled, scheduleExportDisabled, scheduleExportDisabledReason, scheduleExportManagementDisabled, onExportCSV, onExportXLSX, onScheduleExport, onScheduleManagementExport, isScheduleExportVisible, isScheduleExportManagementVisible, isDataError, isAlertingVisible, alertingDisabled, } = config;
|
|
7
10
|
const defaultWidgetTooltip = isDataError
|
|
8
11
|
? intl.formatMessage({ id: "options.menu.unsupported.error" })
|
|
9
12
|
: intl.formatMessage({ id: "options.menu.unsupported.loading" });
|
|
@@ -13,10 +16,9 @@ export function getDefaultInsightMenuItems(intl, config) {
|
|
|
13
16
|
const incompatibleWidgetTooltip = intl.formatMessage({
|
|
14
17
|
id: "options.menu.unsupported.incompatibleWidget",
|
|
15
18
|
});
|
|
16
|
-
const isSomeExportVisible = !exportXLSXDisabled || !exportCSVDisabled;
|
|
17
19
|
const isSomeScheduleVisible = (isScheduleExportVisible && !scheduleExportDisabled) ||
|
|
18
20
|
(isScheduleExportManagementVisible && !scheduleExportManagementDisabled);
|
|
19
|
-
|
|
21
|
+
const menuItems = [
|
|
20
22
|
{
|
|
21
23
|
type: "button",
|
|
22
24
|
itemId: "ExportXLSXBubble",
|
|
@@ -37,9 +39,27 @@ export function getDefaultInsightMenuItems(intl, config) {
|
|
|
37
39
|
icon: "gd-icon-download",
|
|
38
40
|
className: "s-options-menu-export-csv",
|
|
39
41
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
isAlertingVisible && {
|
|
43
|
+
itemId: "AlertingSeparator",
|
|
44
|
+
type: "separator",
|
|
45
|
+
},
|
|
46
|
+
isAlertingVisible && {
|
|
47
|
+
type: "submenu",
|
|
48
|
+
itemId: "Alerts",
|
|
49
|
+
itemName: intl.formatMessage({ id: "widget.options.menu.alerts" }),
|
|
50
|
+
icon: "gd-icon-bell",
|
|
51
|
+
className: "s-options-menu-alerting",
|
|
52
|
+
SubmenuComponent: InsightAlerts,
|
|
53
|
+
renderSubmenuComponentOnly: true,
|
|
54
|
+
tooltip: alertingDisabled
|
|
55
|
+
? intl.formatMessage({ id: "insightAlert.noDestination.tooltip" }, {
|
|
56
|
+
a: (chunk) => (React.createElement("a", { href: "/settings", rel: "noopener noreferrer", target: "_blank" }, chunk)),
|
|
57
|
+
})
|
|
58
|
+
: undefined,
|
|
59
|
+
disabled: alertingDisabled,
|
|
60
|
+
},
|
|
61
|
+
isSomeScheduleVisible && {
|
|
62
|
+
itemId: "SchedulingSeparator",
|
|
43
63
|
type: "separator",
|
|
44
64
|
},
|
|
45
65
|
isScheduleExportVisible && {
|
|
@@ -66,6 +86,7 @@ export function getDefaultInsightMenuItems(intl, config) {
|
|
|
66
86
|
icon: "gd-icon-list",
|
|
67
87
|
className: "s-options-menu-schedule-export-edit",
|
|
68
88
|
},
|
|
69
|
-
]
|
|
89
|
+
];
|
|
90
|
+
return compact(menuItems);
|
|
70
91
|
}
|
|
71
92
|
//# sourceMappingURL=getDefaultInsightMenuItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultInsightMenuItems.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.
|
|
1
|
+
{"version":3,"file":"getDefaultInsightMenuItems.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAE7E;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACtC,IAAe,EACf,MAeC;IAED,MAAM,EACF,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,4BAA4B,EAC5B,gCAAgC,EAChC,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACvB,iCAAiC,EACjC,WAAW,EACX,iBAAiB,EACjB,gBAAgB,GACnB,GAAG,MAAM,CAAC;IAEX,MAAM,oBAAoB,GAAG,WAAW;QACpC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,gCAAgC,EAAE,CAAC;QAC9D,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,kCAAkC,EAAE,C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"./DefaultDashboardInsightMenu/index.js";
|
|
|
2
2
|
export { DashboardInsightMenuButton } from "./DashboardInsightMenuButton.js";
|
|
3
3
|
export { DashboardInsightMenu } from "./DashboardInsightMenu.js";
|
|
4
4
|
export { DashboardInsightMenuTitle } from "./DashboardInsightMenuTitle.js";
|
|
5
|
-
export { CustomDashboardInsightMenuButtonComponent, CustomDashboardInsightMenuComponent, CustomDashboardInsightMenuTitleComponent, IDashboardInsightMenuButtonProps, IDashboardInsightMenuProps, IDashboardInsightMenuTitleProps, IInsightMenuItem, IInsightMenuSubmenu, IInsightMenuItemButton, IInsightMenuItemSeparator, } from "./types.js";
|
|
5
|
+
export { CustomDashboardInsightMenuButtonComponent, CustomDashboardInsightMenuComponent, CustomDashboardInsightMenuTitleComponent, IDashboardInsightMenuButtonProps, IDashboardInsightMenuProps, IDashboardInsightMenuTitleProps, IInsightMenuItem, IInsightMenuSubmenu, IInsightMenuItemButton, IInsightMenuItemSeparator, IInsightMenuSubmenuComponentProps, } from "./types.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insightMenu/index.ts"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACH,yCAAyC,EACzC,mCAAmC,EACnC,wCAAwC,EACxC,gCAAgC,EAChC,0BAA0B,EAC1B,+BAA+B,EAC/B,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insightMenu/index.ts"],"names":[],"mappings":"AACA,cAAc,wCAAwC,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACH,yCAAyC,EACzC,mCAAmC,EACnC,wCAAwC,EACxC,gCAAgC,EAChC,0BAA0B,EAC1B,+BAA+B,EAC/B,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,GACpC,MAAM,YAAY,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentType, MouseEvent } from "react";
|
|
1
|
+
import { ComponentType, MouseEvent, ReactNode } from "react";
|
|
2
2
|
import { IInsight, IInsightWidget } from "@gooddata/sdk-model";
|
|
3
3
|
import { RenderMode } from "../../../types.js";
|
|
4
4
|
/**
|
|
@@ -12,7 +12,7 @@ export interface IInsightMenuItemButton {
|
|
|
12
12
|
/**
|
|
13
13
|
* If specified, the value is shown on hover of the item as a tooltip.
|
|
14
14
|
*/
|
|
15
|
-
tooltip?: string;
|
|
15
|
+
tooltip?: string | ReactNode;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
icon?: JSX.Element | string;
|
|
18
18
|
/**
|
|
@@ -27,6 +27,23 @@ export interface IInsightMenuItemSeparator {
|
|
|
27
27
|
type: "separator";
|
|
28
28
|
itemId: string;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* @alpha
|
|
32
|
+
*/
|
|
33
|
+
export interface IInsightMenuSubmenuComponentProps {
|
|
34
|
+
/**
|
|
35
|
+
* The widget for which the menu is rendered.
|
|
36
|
+
*/
|
|
37
|
+
widget: IInsightWidget;
|
|
38
|
+
/**
|
|
39
|
+
* Closes the insight menu.
|
|
40
|
+
*/
|
|
41
|
+
onClose: () => void;
|
|
42
|
+
/**
|
|
43
|
+
* Go back to the root menu.
|
|
44
|
+
*/
|
|
45
|
+
onGoBack: () => void;
|
|
46
|
+
}
|
|
30
47
|
/**
|
|
31
48
|
* @beta
|
|
32
49
|
*/
|
|
@@ -35,13 +52,18 @@ export interface IInsightMenuSubmenu {
|
|
|
35
52
|
itemId: string;
|
|
36
53
|
itemName: string;
|
|
37
54
|
/** @alpha */
|
|
38
|
-
SubmenuComponent: ComponentType<
|
|
39
|
-
|
|
40
|
-
|
|
55
|
+
SubmenuComponent: ComponentType<IInsightMenuSubmenuComponentProps>;
|
|
56
|
+
/**
|
|
57
|
+
* Should the submenu component be rendered only?
|
|
58
|
+
* If so, it won't be wrapped inside the default container
|
|
59
|
+
* and the default header won't be rendered.
|
|
60
|
+
* @alpha
|
|
61
|
+
*/
|
|
62
|
+
renderSubmenuComponentOnly?: boolean;
|
|
41
63
|
/**
|
|
42
64
|
* If specified, the value is shown on hover of the item as a tooltip.
|
|
43
65
|
*/
|
|
44
|
-
tooltip?: string;
|
|
66
|
+
tooltip?: string | ReactNode;
|
|
45
67
|
disabled?: boolean;
|
|
46
68
|
icon?: JSX.Element | string;
|
|
47
69
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insightMenu/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insightMenu/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAM/C;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,Q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W,gCAAgC;IAC7C,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;CAC1B;AAMD;;GAEG;AACH,MAAM,MAAM,yCAAyC,GAAG,aAAa,CAAC,gCAAgC,CAAC,CAAC;AAExG;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAC,0BAA0B,CAAC,CAAC;AAE5F;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG,aAAa,CAAC,+BAA+B,CAAC,CAAC"}
|
|
@@ -20,7 +20,8 @@ export const DefaultDashboardInsightWidget = (props) => {
|
|
|
20
20
|
const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, onExportReady, onLoadingChanged, dashboardItemClasses }) => {
|
|
21
21
|
const intl = useIntl();
|
|
22
22
|
const dashboard = useDashboardSelector(selectDashboardId);
|
|
23
|
-
const
|
|
23
|
+
const settings = useDashboardSelector(selectSettings);
|
|
24
|
+
const { onScheduleEmailingOpen, onScheduleEmailingManagementOpen, isScheduledEmailingVisible, isScheduledManagementEmailingVisible, numberOfAvailableWebhooks, } = useDashboardScheduledEmails({
|
|
24
25
|
dashboard,
|
|
25
26
|
});
|
|
26
27
|
const visType = insightVisualizationType(insight);
|
|
@@ -38,6 +39,9 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
38
39
|
}, [onScheduleEmailingManagementOpen, widget]);
|
|
39
40
|
const scheduleExportEnabled = !isCustomWidget(widget);
|
|
40
41
|
const scheduleExportManagementEnabled = !isCustomWidget(widget);
|
|
42
|
+
const isHeadline = visType === "headline";
|
|
43
|
+
const isAlertingVisible = isHeadline && !isCustomWidget(widget) && settings.enableAlerting === true;
|
|
44
|
+
const alertingDisabled = numberOfAvailableWebhooks === 0;
|
|
41
45
|
const { closeMenu, isMenuOpen, menuItems, openMenu } = useInsightMenu({
|
|
42
46
|
insight,
|
|
43
47
|
widget,
|
|
@@ -51,6 +55,8 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
51
55
|
onScheduleManagementExport,
|
|
52
56
|
isScheduleExportVisible: isScheduledEmailingVisible,
|
|
53
57
|
isScheduleExportManagementVisible: isScheduledManagementEmailingVisible,
|
|
58
|
+
isAlertingVisible,
|
|
59
|
+
alertingDisabled,
|
|
54
60
|
});
|
|
55
61
|
const toggleMenu = useCallback(() => {
|
|
56
62
|
if (isMenuOpen) {
|
|
@@ -63,7 +69,6 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
63
69
|
const { InsightMenuButtonComponentProvider, InsightMenuComponentProvider, ErrorComponent, LoadingComponent, } = useDashboardComponentsContext();
|
|
64
70
|
const InsightMenuButtonComponent = useMemo(() => InsightMenuButtonComponentProvider(insight, widget), [InsightMenuButtonComponentProvider, insight, widget]);
|
|
65
71
|
const InsightMenuComponent = useMemo(() => InsightMenuComponentProvider(insight, widget), [InsightMenuComponentProvider, insight, widget]);
|
|
66
|
-
const settings = useDashboardSelector(selectSettings);
|
|
67
72
|
return (React.createElement(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", getVisTypeCssClass(widget.type, visType)), screen: screen },
|
|
68
73
|
React.createElement(DashboardItemVisualization, { renderHeadline: (clientHeight) => !widget.configuration?.hideTitle && (React.createElement(DashboardItemHeadline, { title: widget.title, clientHeight: clientHeight })), renderBeforeVisualization: () => (React.createElement("div", { className: "gd-absolute-row" },
|
|
69
74
|
settings?.enableDescriptions ? (React.createElement(InsightWidgetDescriptionTrigger, { insight: insight, widget: widget, screen: screen })) : null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardInsightWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAY,WAAW,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAGtF,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,aAAa,EACb,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,GACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AAEvG,MAAM,CAAC,MAAM,6BAA6B,GAAmE,CACzG,KAAK,EACP,EAAE;IACA,OAAO,oBAAC,2BAA2B,OAAK,KAAK,EAAE,SAAS,EAAE,iCAAiC,GAAI,CAAC;AACpG,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,iCAAiC,GAEnC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IAChG,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultDashboardInsightWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAY,WAAW,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAGtF,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,aAAa,EACb,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,GACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AAEvG,MAAM,CAAC,MAAM,6BAA6B,GAAmE,CACzG,KAAK,EACP,EAAE;IACA,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b,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB,GACpC,CACL,CACwB,CACjB,CACnB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -13,6 +13,8 @@ type UseInsightMenuConfig = {
|
|
|
13
13
|
onScheduleManagementExport: () => void;
|
|
14
14
|
isScheduleExportVisible: boolean;
|
|
15
15
|
isScheduleExportManagementVisible: boolean;
|
|
16
|
+
isAlertingVisible: boolean;
|
|
17
|
+
alertingDisabled: boolean;
|
|
16
18
|
};
|
|
17
19
|
export declare const useInsightMenu: (config: UseInsightMenuConfig) => {
|
|
18
20
|
menuItems: IInsightMenuItem[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInsightMenu.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useInsightMenu.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAM/D,OAAO,EAA8B,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE1F,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,cAAc,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,+BAA+B,EAAE,OAAO,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,uBAAuB,EAAE,OAAO,CAAC;IACjC,iCAAiC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useInsightMenu.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useInsightMenu.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAM/D,OAAO,EAA8B,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE1F,KAAK,oBAAoB,GAAG;IACxB,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,cAAc,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,+BAA+B,EAAE,OAAO,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,uBAAuB,EAAE,OAAO,CAAC;IACjC,iCAAiC,EAAE,OAAO,CAAC;IAC3C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,cAAc,WACf,oBAAoB;eAChB,gBAAgB,EAAE;gBAAc,OAAO;cAAY,MAAM,IAAI;eAAa,MAAM,IAAI;CAiBnG,CAAC"}
|
|
@@ -20,7 +20,7 @@ export const useInsightMenu = (config) => {
|
|
|
20
20
|
return { menuItems, isMenuOpen, openMenu, closeMenu };
|
|
21
21
|
};
|
|
22
22
|
function useDefaultMenuItems(config, setIsMenuOpen) {
|
|
23
|
-
const { exportCSVEnabled, exportXLSXEnabled, scheduleExportEnabled, scheduleExportManagementEnabled, onExportCSV, onExportXLSX, onScheduleExport, onScheduleManagementExport, isScheduleExportVisible, isScheduleExportManagementVisible, widget, } = config;
|
|
23
|
+
const { exportCSVEnabled, exportXLSXEnabled, scheduleExportEnabled, scheduleExportManagementEnabled, onExportCSV, onExportXLSX, onScheduleExport, onScheduleManagementExport, isScheduleExportVisible, isScheduleExportManagementVisible, isAlertingVisible, alertingDisabled, widget, } = config;
|
|
24
24
|
const intl = useIntl();
|
|
25
25
|
const execution = useDashboardSelector(selectExecutionResultByRef(widget.ref));
|
|
26
26
|
//NOTE: Check if widget has localIdentifier, if not that is probably widget from old dashboard
|
|
@@ -58,21 +58,26 @@ function useDefaultMenuItems(config, setIsMenuOpen) {
|
|
|
58
58
|
isScheduleExportVisible,
|
|
59
59
|
isScheduleExportManagementVisible,
|
|
60
60
|
isDataError: isDataError(execution?.error),
|
|
61
|
+
isAlertingVisible,
|
|
62
|
+
alertingDisabled,
|
|
61
63
|
});
|
|
62
64
|
}, [
|
|
63
|
-
|
|
65
|
+
intl,
|
|
64
66
|
exportCSVEnabled,
|
|
65
67
|
exportXLSXEnabled,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
scheduleExportManagementDisabled,
|
|
69
|
+
scheduleExportDisabled,
|
|
70
|
+
noLocalIdentifier,
|
|
71
|
+
isScheduleExportVisible,
|
|
72
|
+
isScheduleExportManagementVisible,
|
|
73
|
+
execution?.error,
|
|
74
|
+
isAlertingVisible,
|
|
75
|
+
alertingDisabled,
|
|
76
|
+
setIsMenuOpen,
|
|
68
77
|
onExportCSV,
|
|
69
78
|
onExportXLSX,
|
|
70
79
|
onScheduleExport,
|
|
71
80
|
onScheduleManagementExport,
|
|
72
|
-
isScheduleExportVisible,
|
|
73
|
-
isScheduleExportManagementVisible,
|
|
74
|
-
intl,
|
|
75
|
-
setIsMenuOpen,
|
|
76
81
|
]);
|
|
77
82
|
}
|
|
78
83
|
//# sourceMappingURL=useInsightMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInsightMenu.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useInsightMenu.ts"],"names":[],"mappings":"AAAA,qC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AC,gBAAgB;YACpC,kBAAkB,EAAE,CAAC,iBAAiB;YACtC,gCAAgC;YAChC,sBAAsB;YACtB,4BAA4B,EAAE,sBAAsB;gBAChD,CAAC,CAAC,iBAAiB;oBACf,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,oBAAoB;gBAC1B,CAAC,CAAC,SAAS;YACf,WAAW,EAAE,GAAG,EAAE;gBACd,aAAa,CAAC,KAAK,CAAC,CAAC;gBACrB,WAAW,EAAE,CAAC;YAClB,CAAC;YACD,YAAY,EAAE,GAAG,EAAE;gBACf,aAAa,CAAC,KAAK,CAAC,CAAC;gBACrB,YAAY,EAAE,CAAC;YACnB,CAAC;YACD,gBAAgB,EAAE,GAAG,EAAE;gBACnB,aAAa,CAAC,KAAK,CAAC,CAAC;gBACrB,gBAAgB,EAAE,CAAC;YACvB,CAAC;YACD,0BAA0B,EAAE,GAAG,EAAE;gBAC7B,aAAa,CAAC,KAAK,CAAC,CAAC;gBACrB,0BAA0B,EAAE,CAAC;YACjC,CAAC;YACD,uBAAuB;YACvB,iCAAiC;YACjC,WAAW,EAAE,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC;YAC1C,iBAAiB;YACjB,gBAAgB;SACnB,CAAC,CAAC;IACP,CAAC,EAAE;QACC,IAAI;QACJ,gBAAgB;QAChB,iBAAiB;QACjB,gCAAgC;QAChC,sBAAsB;QACtB,iBAAiB;QACjB,uBAAuB;QACvB,iCAAiC;QACjC,SAAS,EAAE,KAAK;QAChB,iBAAiB;QACjB,gBAAgB;QAChB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,gBAAgB;QAChB,0BAA0B;KAC7B,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -129,6 +129,7 @@ import { EntityId } from '@reduxjs/toolkit';
|
|
|
129
129
|
import { EntityState } from '@reduxjs/toolkit';
|
|
130
130
|
import { ExplicitDrill } from '@gooddata/sdk-ui';
|
|
131
131
|
import { FilterContextItem } from '@gooddata/sdk-model';
|
|
132
|
+
import { FilterViewDialogMode as FilterViewDialogMode_2 } from './uiState.js';
|
|
132
133
|
import { GoodDataSdkError } from '@gooddata/sdk-ui';
|
|
133
134
|
import { IAbsoluteDateFilter } from '@gooddata/sdk-model';
|
|
134
135
|
import { IAccessControlAware } from '@gooddata/sdk-model';
|
|
@@ -249,7 +250,7 @@ import { ITranslations } from '@gooddata/sdk-ui';
|
|
|
249
250
|
import { IUser } from '@gooddata/sdk-model';
|
|
250
251
|
import { IUserWorkspaceSettings } from '@gooddata/sdk-backend-spi';
|
|
251
252
|
import { IVisualizationCallbacks } from '@gooddata/sdk-ui';
|
|
252
|
-
import {
|
|
253
|
+
import { IWebhookDefinitionObject } from '@gooddata/sdk-model';
|
|
253
254
|
import { IWidget } from '@gooddata/sdk-model';
|
|
254
255
|
import { IWidgetAlert } from '@gooddata/sdk-model';
|
|
255
256
|
import { IWidgetAlertDefinition } from '@gooddata/sdk-model';
|
|
@@ -449,12 +450,13 @@ export declare interface AddDrillDownForInsightWidget extends IDashboardCommand
|
|
|
449
450
|
* @param attributeIdentifier - drill localIdentifier that should be added.
|
|
450
451
|
* @param drillDownIdentifier - drill down hierarchy localIdentifier that should be added.
|
|
451
452
|
* @param drillDownAttributeHierarchyRef - drill down hierarchy reference that should be added.
|
|
453
|
+
* @param intersectionIgnoredAttributes - specify local identifiers of attributes that should be ignored in drill intersection during drill down.
|
|
452
454
|
* @param correlationId - specify correlation id to use for this command. this will be included in all
|
|
453
455
|
* events that will be emitted during the command processing
|
|
454
456
|
*
|
|
455
457
|
* @alpha
|
|
456
458
|
*/
|
|
457
|
-
export declare function addDrillDownForInsightWidget(ref: ObjRef, attributeIdentifier: ObjRef, drillDownIdentifier: string, drillDownAttributeHierarchyRef: ObjRef, correlationId?: string): AddDrillDownForInsightWidget;
|
|
459
|
+
export declare function addDrillDownForInsightWidget(ref: ObjRef, attributeIdentifier: ObjRef, drillDownIdentifier: string, drillDownAttributeHierarchyRef: ObjRef, intersectionIgnoredAttributes?: string[], correlationId?: string): AddDrillDownForInsightWidget;
|
|
458
460
|
|
|
459
461
|
/**
|
|
460
462
|
* Payload of the {@link AddDrillDownForInsightWidget} command.
|
|
@@ -477,6 +479,10 @@ export declare interface AddDrillDownForInsightWidgetPayload {
|
|
|
477
479
|
* Specify drill down hierarchy reference that should be added.
|
|
478
480
|
*/
|
|
479
481
|
readonly drillDownAttributeHierarchyRef: ObjRef;
|
|
482
|
+
/**
|
|
483
|
+
* Specify local identifiers of attributes that should be ignored in drill intersection.
|
|
484
|
+
*/
|
|
485
|
+
readonly intersectionIgnoredAttributes: string[];
|
|
480
486
|
}
|
|
481
487
|
|
|
482
488
|
/**
|
|
@@ -7117,6 +7123,11 @@ export declare type FiltersInfo = {
|
|
|
7117
7123
|
resolvedFilterValues?: IResolvedFilterValues;
|
|
7118
7124
|
};
|
|
7119
7125
|
|
|
7126
|
+
/**
|
|
7127
|
+
* @beta
|
|
7128
|
+
*/
|
|
7129
|
+
export declare type FilterViewDialogMode = "list" | "add";
|
|
7130
|
+
|
|
7120
7131
|
/**
|
|
7121
7132
|
* @alpha
|
|
7122
7133
|
*/
|
|
@@ -7159,6 +7170,8 @@ export declare function getDefaultInsightMenuItems(intl: IntlShape, config: {
|
|
|
7159
7170
|
isScheduleExportVisible: boolean;
|
|
7160
7171
|
isScheduleExportManagementVisible: boolean;
|
|
7161
7172
|
isDataError: boolean;
|
|
7173
|
+
isAlertingVisible: boolean;
|
|
7174
|
+
alertingDisabled: boolean;
|
|
7162
7175
|
}): IInsightMenuItem[];
|
|
7163
7176
|
|
|
7164
7177
|
/**
|
|
@@ -9430,6 +9443,11 @@ export declare interface IDrillDownDefinition {
|
|
|
9430
9443
|
* Title for the target attribute.
|
|
9431
9444
|
*/
|
|
9432
9445
|
title?: string;
|
|
9446
|
+
/**
|
|
9447
|
+
* Reference to the attribute hierarchy that triggered the drill down.
|
|
9448
|
+
* Is required if enableDrillDownIntersectionIgnoredAttributes feature flag is set to true.
|
|
9449
|
+
*/
|
|
9450
|
+
hierarchyRef?: ObjRef;
|
|
9433
9451
|
}
|
|
9434
9452
|
|
|
9435
9453
|
/**
|
|
@@ -9797,7 +9815,7 @@ export declare interface IInsightMenuItemButton {
|
|
|
9797
9815
|
/**
|
|
9798
9816
|
* If specified, the value is shown on hover of the item as a tooltip.
|
|
9799
9817
|
*/
|
|
9800
|
-
tooltip?: string;
|
|
9818
|
+
tooltip?: string | ReactNode;
|
|
9801
9819
|
disabled?: boolean;
|
|
9802
9820
|
icon?: JSX.Element | string;
|
|
9803
9821
|
/**
|
|
@@ -9822,13 +9840,18 @@ export declare interface IInsightMenuSubmenu {
|
|
|
9822
9840
|
itemId: string;
|
|
9823
9841
|
itemName: string;
|
|
9824
9842
|
/** @alpha */
|
|
9825
|
-
SubmenuComponent: ComponentType<
|
|
9826
|
-
|
|
9827
|
-
|
|
9843
|
+
SubmenuComponent: ComponentType<IInsightMenuSubmenuComponentProps>;
|
|
9844
|
+
/**
|
|
9845
|
+
* Should the submenu component be rendered only?
|
|
9846
|
+
* If so, it won't be wrapped inside the default container
|
|
9847
|
+
* and the default header won't be rendered.
|
|
9848
|
+
* @alpha
|
|
9849
|
+
*/
|
|
9850
|
+
renderSubmenuComponentOnly?: boolean;
|
|
9828
9851
|
/**
|
|
9829
9852
|
* If specified, the value is shown on hover of the item as a tooltip.
|
|
9830
9853
|
*/
|
|
9831
|
-
tooltip?: string;
|
|
9854
|
+
tooltip?: string | ReactNode;
|
|
9832
9855
|
disabled?: boolean;
|
|
9833
9856
|
icon?: JSX.Element | string;
|
|
9834
9857
|
/**
|
|
@@ -9838,6 +9861,24 @@ export declare interface IInsightMenuSubmenu {
|
|
|
9838
9861
|
onClick?: (e: MouseEvent_2) => void;
|
|
9839
9862
|
}
|
|
9840
9863
|
|
|
9864
|
+
/**
|
|
9865
|
+
* @alpha
|
|
9866
|
+
*/
|
|
9867
|
+
export declare interface IInsightMenuSubmenuComponentProps {
|
|
9868
|
+
/**
|
|
9869
|
+
* The widget for which the menu is rendered.
|
|
9870
|
+
*/
|
|
9871
|
+
widget: IInsightWidget;
|
|
9872
|
+
/**
|
|
9873
|
+
* Closes the insight menu.
|
|
9874
|
+
*/
|
|
9875
|
+
onClose: () => void;
|
|
9876
|
+
/**
|
|
9877
|
+
* Go back to the root menu.
|
|
9878
|
+
*/
|
|
9879
|
+
onGoBack: () => void;
|
|
9880
|
+
}
|
|
9881
|
+
|
|
9841
9882
|
/**
|
|
9842
9883
|
* @internal
|
|
9843
9884
|
*/
|
|
@@ -10542,7 +10583,7 @@ export declare interface IScheduledEmailDialogProps {
|
|
|
10542
10583
|
/**
|
|
10543
10584
|
* Webhooks in organization
|
|
10544
10585
|
*/
|
|
10545
|
-
webhooks:
|
|
10586
|
+
webhooks: IWebhookDefinitionObject[];
|
|
10546
10587
|
/**
|
|
10547
10588
|
* Automations in workspace
|
|
10548
10589
|
*/
|
|
@@ -10591,7 +10632,7 @@ export declare interface IScheduledEmailManagementDialogProps {
|
|
|
10591
10632
|
/**
|
|
10592
10633
|
* Webhooks in organization
|
|
10593
10634
|
*/
|
|
10594
|
-
webhooks:
|
|
10635
|
+
webhooks: IWebhookDefinitionObject[];
|
|
10595
10636
|
/**
|
|
10596
10637
|
* Automations in workspace
|
|
10597
10638
|
*/
|
|
@@ -12150,12 +12191,13 @@ export declare interface ModifyDrillDownForInsightWidget extends IDashboardComma
|
|
|
12150
12191
|
* @param attributeIdentifier - drill localIdentifier and its hierarchy should be modified.
|
|
12151
12192
|
* @param attributeHierarchyRef - drill attribute hierarchy ref to be modified.
|
|
12152
12193
|
* @param blacklistHierarchies - drill localIdentifiers and its hierarchy should be modified
|
|
12194
|
+
* @param intersectionIgnoredAttributes - specify local identifiers of attributes that should be ignored in drill intersection during drill down.
|
|
12153
12195
|
* @param correlationId - specify correlation id to use for this command. this will be included in all
|
|
12154
12196
|
* events that will be emitted during the command processing
|
|
12155
12197
|
*
|
|
12156
12198
|
* @alpha
|
|
12157
12199
|
*/
|
|
12158
|
-
export declare function modifyDrillDownForInsightWidget(ref: ObjRef, attributeIdentifier: ObjRef, attributeHierarchyRef: ObjRef, blacklistHierarchies: IDrillDownReference[], correlationId?: string): ModifyDrillDownForInsightWidget;
|
|
12200
|
+
export declare function modifyDrillDownForInsightWidget(ref: ObjRef, attributeIdentifier: ObjRef, attributeHierarchyRef: ObjRef, blacklistHierarchies: IDrillDownReference[], intersectionIgnoredAttributes?: string[], correlationId?: string): ModifyDrillDownForInsightWidget;
|
|
12159
12201
|
|
|
12160
12202
|
/**
|
|
12161
12203
|
* Payload of the {@link ModifyDrillDownForInsightWidget} command.
|
|
@@ -12175,9 +12217,16 @@ export declare interface ModifyDrillDownForInsightWidgetPayload {
|
|
|
12175
12217
|
*/
|
|
12176
12218
|
readonly attributeHierarchyRef: ObjRef;
|
|
12177
12219
|
/**
|
|
12178
|
-
* Specify
|
|
12220
|
+
* Specify hierarchies that should be added to the ignored hierarchies of the widget.
|
|
12221
|
+
* If no blacklistHierarchies are provided, ignored hierarchies keep unchanged.
|
|
12179
12222
|
*/
|
|
12180
12223
|
readonly blacklistHierarchies: IDrillDownReference[];
|
|
12224
|
+
/**
|
|
12225
|
+
* Specify local identifiers of attributes that should be ignored in drill intersection
|
|
12226
|
+
* during drill down.
|
|
12227
|
+
* If no intersectionIgnoredAttributes are provided, ignored attributes keep unchanged.
|
|
12228
|
+
*/
|
|
12229
|
+
readonly intersectionIgnoredAttributes?: string[];
|
|
12181
12230
|
}
|
|
12182
12231
|
|
|
12183
12232
|
/**
|
|
@@ -13620,6 +13669,7 @@ export declare interface RemoveDrillDownForInsightWidgetPayload {
|
|
|
13620
13669
|
readonly ref: ObjRef;
|
|
13621
13670
|
/**
|
|
13622
13671
|
* Specify drill localIdentifier and its hierarchy should be removed.
|
|
13672
|
+
* Ignored intersection attributes for specified herarchies will be removed as well.
|
|
13623
13673
|
*/
|
|
13624
13674
|
readonly blacklistHierarchies: IDrillDownReference[];
|
|
13625
13675
|
}
|
|
@@ -15570,6 +15620,13 @@ export declare const selectEnableClickableAttributeURL: DashboardSelector<boolea
|
|
|
15570
15620
|
*/
|
|
15571
15621
|
export declare const selectEnableCompanyLogoInEmbeddedUI: DashboardSelector<boolean>;
|
|
15572
15622
|
|
|
15623
|
+
/**
|
|
15624
|
+
* Returns whether drill down intersection ignored attributes is enabled.
|
|
15625
|
+
*
|
|
15626
|
+
* @internal
|
|
15627
|
+
*/
|
|
15628
|
+
export declare const selectEnableDrillDownIntersectionIgnoredAttributes: DashboardSelector<boolean>;
|
|
15629
|
+
|
|
15573
15630
|
/**
|
|
15574
15631
|
* Returns whether drill intersection ignored attributes is enabled.
|
|
15575
15632
|
*
|
|
@@ -15897,6 +15954,11 @@ export declare const selectFilterContextIdentity: DashboardSelector<IDashboardOb
|
|
|
15897
15954
|
*/
|
|
15898
15955
|
export declare const selectFilterViews: DashboardSelector<IDashboardFilterView[]>;
|
|
15899
15956
|
|
|
15957
|
+
/**
|
|
15958
|
+
* @internal
|
|
15959
|
+
*/
|
|
15960
|
+
export declare const selectFilterViewsDialogMode: DashboardSelector<FilterViewDialogMode>;
|
|
15961
|
+
|
|
15900
15962
|
/**
|
|
15901
15963
|
* @internal
|
|
15902
15964
|
*/
|
|
@@ -16198,6 +16260,11 @@ export declare const selectIsFilterAttributeSelectionOpen: DashboardSelector<boo
|
|
|
16198
16260
|
*/
|
|
16199
16261
|
export declare const selectIsFilterFromCrossFilteringByLocalIdentifier: (localIdentifier: string) => DashboardSelector<boolean>;
|
|
16200
16262
|
|
|
16263
|
+
/**
|
|
16264
|
+
* @internal
|
|
16265
|
+
*/
|
|
16266
|
+
export declare const selectIsFilterViewsDialogOpen: DashboardSelector<boolean>;
|
|
16267
|
+
|
|
16201
16268
|
/**
|
|
16202
16269
|
* Returns whether the current Dashboard is on edit mode.
|
|
16203
16270
|
*
|
|
@@ -17547,6 +17614,13 @@ payload: Record<string, IDashboardWidgetOverlay_2>;
|
|
|
17547
17614
|
type: string;
|
|
17548
17615
|
}) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17549
17616
|
hideAllWidgetsOverlay: (state: WritableDraft<UiState_2>, action: AnyAction) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17617
|
+
toggleFilterViewsDialog: (state: WritableDraft<UiState_2>, action: {
|
|
17618
|
+
payload: {
|
|
17619
|
+
open?: boolean | undefined;
|
|
17620
|
+
mode?: FilterViewDialogMode_2 | undefined;
|
|
17621
|
+
} | undefined;
|
|
17622
|
+
type: string;
|
|
17623
|
+
}) => void | UiState_2 | WritableDraft<UiState_2>;
|
|
17550
17624
|
}, "uiSlice">;
|
|
17551
17625
|
|
|
17552
17626
|
/**
|
|
@@ -17571,6 +17645,10 @@ export declare interface UiState {
|
|
|
17571
17645
|
deleteDialog: {
|
|
17572
17646
|
open: boolean;
|
|
17573
17647
|
};
|
|
17648
|
+
filterViews: {
|
|
17649
|
+
open: boolean;
|
|
17650
|
+
mode: FilterViewDialogMode;
|
|
17651
|
+
};
|
|
17574
17652
|
kpiDeleteDialog: {
|
|
17575
17653
|
/**
|
|
17576
17654
|
* Undefined means the dialog should be closed
|
|
@@ -18691,7 +18769,7 @@ export declare type ValuesLimitingItem = IDashboardAttributeFilterParentItem | O
|
|
|
18691
18769
|
*
|
|
18692
18770
|
* @alpha
|
|
18693
18771
|
*/
|
|
18694
|
-
export declare type Webhooks =
|
|
18772
|
+
export declare type Webhooks = IWebhookDefinitionObject[];
|
|
18695
18773
|
|
|
18696
18774
|
/**
|
|
18697
18775
|
* @alpha
|
package/esm/types.d.ts
CHANGED
|
@@ -64,6 +64,11 @@ export interface IDrillDownDefinition {
|
|
|
64
64
|
* Title for the target attribute.
|
|
65
65
|
*/
|
|
66
66
|
title?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Reference to the attribute hierarchy that triggered the drill down.
|
|
69
|
+
* Is required if enableDrillDownIntersectionIgnoredAttributes feature flag is set to true.
|
|
70
|
+
*/
|
|
71
|
+
hierarchyRef?: ObjRef;
|
|
67
72
|
}
|
|
68
73
|
/**
|
|
69
74
|
* Type-guard testing whether the provided object is an instance of {@link IDrillDownDefinition}.
|