@gooddata/sdk-ui-dashboard 10.9.0-alpha.8 → 10.9.0-beta.0
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 +35 -3
- 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/ellipsis-hover.svg +1 -0
- package/esm/assets/ellipsis.svg +1 -0
- package/esm/assets/filter.svg +1 -0
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +9 -0
- package/esm/locales.js.map +1 -1
- package/esm/model/commandHandlers/alerts/createAlertHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/alerts/createAlertHandler.js +2 -4
- package/esm/model/commandHandlers/alerts/createAlertHandler.js.map +1 -1
- package/esm/model/commandHandlers/alerts/saveAlertHandler.d.ts +6 -0
- package/esm/model/commandHandlers/alerts/saveAlertHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/alerts/saveAlertHandler.js +15 -0
- package/esm/model/commandHandlers/alerts/saveAlertHandler.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.d.ts +2 -2
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.js +4 -4
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +6 -5
- 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/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +2 -4
- package/esm/model/commandHandlers/index.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.js +3 -3
- package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.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/alerts.d.ts +16 -45
- package/esm/model/commands/alerts.d.ts.map +1 -1
- package/esm/model/commands/alerts.js +6 -24
- package/esm/model/commands/alerts.js.map +1 -1
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/index.d.ts +3 -3
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +1 -1
- package/esm/model/commands/index.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/events/alerts.d.ts +10 -48
- package/esm/model/events/alerts.d.ts.map +1 -1
- package/esm/model/events/alerts.js +4 -24
- package/esm/model/events/alerts.js.map +1 -1
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/base.js.map +1 -1
- package/esm/model/events/index.d.ts +3 -3
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/index.js +1 -1
- package/esm/model/events/index.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/useDashboardAlerts.d.ts +33 -0
- package/esm/model/react/useDashboardAlerts.d.ts.map +1 -0
- package/esm/model/react/useDashboardAlerts.js +145 -0
- package/esm/model/react/useDashboardAlerts.js.map +1 -0
- package/esm/model/react/useDashboardCommand.d.ts +1 -2
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +2 -6
- package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.d.ts +3 -5
- package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.js +6 -29
- package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
- package/esm/model/store/automations/automationsReducers.d.ts +3 -2
- package/esm/model/store/automations/automationsReducers.d.ts.map +1 -1
- package/esm/model/store/automations/automationsReducers.js +2 -2
- package/esm/model/store/automations/automationsReducers.js.map +1 -1
- package/esm/model/store/automations/automationsSelectors.d.ts +31 -0
- package/esm/model/store/automations/automationsSelectors.d.ts.map +1 -1
- package/esm/model/store/automations/automationsSelectors.js +46 -1
- package/esm/model/store/automations/automationsSelectors.js.map +1 -1
- package/esm/model/store/automations/automationsState.d.ts +2 -1
- package/esm/model/store/automations/automationsState.d.ts.map +1 -1
- package/esm/model/store/automations/automationsState.js +1 -1
- package/esm/model/store/automations/automationsState.js.map +1 -1
- package/esm/model/store/automations/index.d.ts +2 -2
- 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 +10 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +14 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +4 -4
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +3 -3
- 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 +17 -0
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +18 -1
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +23 -0
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +17 -0
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +16 -0
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +14 -0
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +10 -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/alerting/AlertingDialog.d.ts +7 -0
- package/esm/presentation/alerting/AlertingDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/AlertingDialog.js +11 -0
- package/esm/presentation/alerting/AlertingDialog.js.map +1 -0
- package/esm/presentation/alerting/AlertingManagementDialog.d.ts +7 -0
- package/esm/presentation/alerting/AlertingManagementDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/AlertingManagementDialog.js +11 -0
- package/esm/presentation/alerting/AlertingManagementDialog.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +7 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +37 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/index.d.ts +2 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/index.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/index.js +3 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/index.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.d.ts +4 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.js +31 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.d.ts +2 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.js +5 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.d.ts +7 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.js +59 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts +12 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js +80 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +4 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js +51 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts +14 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.js +21 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts +12 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js +29 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +12 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +43 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.d.ts +2 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.d.ts.map +1 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.js +3 -0
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.js.map +1 -0
- package/esm/presentation/alerting/index.d.ts +6 -0
- package/esm/presentation/alerting/index.d.ts.map +1 -0
- package/esm/presentation/alerting/index.js +6 -0
- package/esm/presentation/alerting/index.js.map +1 -0
- package/esm/presentation/alerting/types.d.ts +107 -0
- package/esm/presentation/alerting/types.d.ts.map +1 -0
- package/esm/presentation/alerting/types.js +2 -0
- package/esm/presentation/alerting/types.js.map +1 -0
- 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/constants/zIndex.d.ts +1 -0
- package/esm/presentation/constants/zIndex.d.ts.map +1 -1
- package/esm/presentation/constants/zIndex.js +3 -1
- package/esm/presentation/constants/zIndex.js.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts +3 -0
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts.map +1 -0
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js +11 -0
- package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js.map +1 -0
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js +3 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js +2 -5
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/types.d.ts +13 -0
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +3 -0
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +2 -0
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.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/index.d.ts +1 -0
- package/esm/presentation/index.d.ts.map +1 -1
- package/esm/presentation/index.js +2 -1
- package/esm/presentation/index.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 +302 -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/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 +166 -120
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +3 -4
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/common/useWidgetFilters.d.ts +1 -1
- package/esm/presentation/widget/common/useWidgetFilters.d.ts.map +1 -1
- package/esm/presentation/widget/common/useWidgetFilters.js +1 -1
- package/esm/presentation/widget/common/useWidgetFilters.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 +77 -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 +26 -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 +18 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +31 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +13 -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 +16 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +7 -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 +57 -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 +20 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js +37 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.d.ts +11 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.js +27 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +21 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +97 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +28 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +179 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts +29 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js +51 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.d.ts +11 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.js +27 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts +57 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js +59 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.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/insight/index.d.ts +1 -0
- package/esm/presentation/widget/insight/index.d.ts.map +1 -1
- package/esm/presentation/widget/insight/index.js +2 -1
- package/esm/presentation/widget/insight/index.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/kpi/ViewModeDashboardKpi/useKpiAlertOperations.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/useKpiAlertOperations.js +9 -20
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/useKpiAlertOperations.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +8 -6
- 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 +401 -149
- package/esm/types.d.ts +9 -0
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js.map +1 -1
- package/package.json +16 -15
- package/styles/css/alerting.css +286 -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 +60 -5
- 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 +355 -5
- package/styles/css/main.css.map +1 -1
- package/styles/css/scheduled_mail.css +60 -5
- package/styles/css/scheduled_mail.css.map +1 -1
- package/styles/scss/alerting.scss +292 -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 +69 -3
- package/esm/model/commandHandlers/alerts/removeAlertsHandler.d.ts +0 -6
- package/esm/model/commandHandlers/alerts/removeAlertsHandler.d.ts.map +0 -1
- package/esm/model/commandHandlers/alerts/removeAlertsHandler.js +0 -20
- package/esm/model/commandHandlers/alerts/removeAlertsHandler.js.map +0 -1
- package/esm/model/commandHandlers/alerts/updateAlertHandler.d.ts +0 -6
- package/esm/model/commandHandlers/alerts/updateAlertHandler.d.ts.map +0 -1
- package/esm/model/commandHandlers/alerts/updateAlertHandler.js +0 -17
- package/esm/model/commandHandlers/alerts/updateAlertHandler.js.map +0 -1
- package/esm/model/commandHandlers/alerts/validation/alertsValidation.d.ts +0 -20
- package/esm/model/commandHandlers/alerts/validation/alertsValidation.d.ts.map +0 -1
- package/esm/model/commandHandlers/alerts/validation/alertsValidation.js +0 -22
- package/esm/model/commandHandlers/alerts/validation/alertsValidation.js.map +0 -1
|
@@ -3,7 +3,7 @@ import React, { useMemo, useCallback } from "react";
|
|
|
3
3
|
import cx from "classnames";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { widgetTitle, insightVisualizationType } from "@gooddata/sdk-model";
|
|
6
|
-
import { useDashboardSelector, selectSettings, isCustomWidget, useDashboardScheduledEmails,
|
|
6
|
+
import { useDashboardSelector, selectSettings, isCustomWidget, useDashboardScheduledEmails, } from "../../../../model/index.js";
|
|
7
7
|
import { DashboardItem, DashboardItemHeadline, DashboardItemVisualization, getVisTypeCssClass, } from "../../../presentationComponents/index.js";
|
|
8
8
|
import { DashboardInsight } from "../../insight/index.js";
|
|
9
9
|
import { useInsightExport } from "../../common/index.js";
|
|
@@ -19,10 +19,8 @@ export const DefaultDashboardInsightWidget = (props) => {
|
|
|
19
19
|
*/
|
|
20
20
|
const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, onExportReady, onLoadingChanged, dashboardItemClasses }) => {
|
|
21
21
|
const intl = useIntl();
|
|
22
|
-
const
|
|
23
|
-
const { onScheduleEmailingOpen, onScheduleEmailingManagementOpen, isScheduledEmailingVisible, isScheduledManagementEmailingVisible, } = useDashboardScheduledEmails(
|
|
24
|
-
dashboard,
|
|
25
|
-
});
|
|
22
|
+
const settings = useDashboardSelector(selectSettings);
|
|
23
|
+
const { onScheduleEmailingOpen, onScheduleEmailingManagementOpen, isScheduledEmailingVisible, isScheduledManagementEmailingVisible, numberOfAvailableWebhooks, } = useDashboardScheduledEmails();
|
|
26
24
|
const visType = insightVisualizationType(insight);
|
|
27
25
|
const { ref: widgetRef } = widget;
|
|
28
26
|
const { exportCSVEnabled, exportXLSXEnabled, onExportCSV, onExportXLSX } = useInsightExport({
|
|
@@ -38,6 +36,9 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
38
36
|
}, [onScheduleEmailingManagementOpen, widget]);
|
|
39
37
|
const scheduleExportEnabled = !isCustomWidget(widget);
|
|
40
38
|
const scheduleExportManagementEnabled = !isCustomWidget(widget);
|
|
39
|
+
const isHeadline = visType === "headline";
|
|
40
|
+
const isAlertingVisible = isHeadline && !isCustomWidget(widget) && settings.enableAlerting === true;
|
|
41
|
+
const alertingDisabled = numberOfAvailableWebhooks === 0;
|
|
41
42
|
const { closeMenu, isMenuOpen, menuItems, openMenu } = useInsightMenu({
|
|
42
43
|
insight,
|
|
43
44
|
widget,
|
|
@@ -51,6 +52,8 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
51
52
|
onScheduleManagementExport,
|
|
52
53
|
isScheduleExportVisible: isScheduledEmailingVisible,
|
|
53
54
|
isScheduleExportManagementVisible: isScheduledManagementEmailingVisible,
|
|
55
|
+
isAlertingVisible,
|
|
56
|
+
alertingDisabled,
|
|
54
57
|
});
|
|
55
58
|
const toggleMenu = useCallback(() => {
|
|
56
59
|
if (isMenuOpen) {
|
|
@@ -63,7 +66,6 @@ const DefaultDashboardInsightWidgetCore = ({ widget, insight, screen, onError, o
|
|
|
63
66
|
const { InsightMenuButtonComponentProvider, InsightMenuComponentProvider, ErrorComponent, LoadingComponent, } = useDashboardComponentsContext();
|
|
64
67
|
const InsightMenuButtonComponent = useMemo(() => InsightMenuButtonComponentProvider(insight, widget), [InsightMenuButtonComponentProvider, insight, widget]);
|
|
65
68
|
const InsightMenuComponent = useMemo(() => InsightMenuComponentProvider(insight, widget), [InsightMenuComponentProvider, insight, widget]);
|
|
66
|
-
const settings = useDashboardSelector(selectSettings);
|
|
67
69
|
return (React.createElement(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", getVisTypeCssClass(widget.type, visType)), screen: screen },
|
|
68
70
|
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
71
|
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,
|
|
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,GAC9B,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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EAAE,SAAS,EAClB,KAAK,EAAE,SAAS,GAClB,CACL,CAAC;YACN,CAAC,IAEA,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAChC,oBAAC,gBAAgB,IACb,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,qCAAqC;AAErC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAA4B,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAE9F,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAoB,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"useInsightMenu.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useInsightMenu.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAA4B,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAE9F,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAoB,MAAM,4BAA4B,CAAC;AAmB1F,MAAM,CAAC,MAAM,cAAc,GAAG,CAC1B,MAA4B,EACuE,EAAE;IACrG,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAEnC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,WAAW,CAAC,GAAG,EAA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