@gooddata/sdk-ui-dashboard 10.27.0-alpha.5 → 10.27.0-alpha.50
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 +720 -41
- 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/model/react/useDashboardAlerting/useDashboardAlertsData.d.ts.map +1 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsData.js +3 -3
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsData.js.map +1 -1
- package/esm/model/store/automations/automationsSelectors.js +2 -2
- package/esm/model/store/automations/automationsSelectors.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 +1 -1
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +1 -1
- package/esm/model/store/index.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialogNew.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialogNew.js +24 -19
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialogNew.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts +2 -2
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.js +34 -36
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +18 -19
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts +2 -2
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.js +18 -20
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js +13 -14
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogOld.js +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogOld.js.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationAttributeFilter.js +3 -5
- package/esm/presentation/automationFilters/components/AutomationAttributeFilter.js.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationDateFilter.d.ts +1 -0
- package/esm/presentation/automationFilters/components/AutomationDateFilter.d.ts.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationDateFilter.js +2 -3
- package/esm/presentation/automationFilters/components/AutomationDateFilter.js.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.d.ts +16 -1
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.d.ts.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.js +70 -9
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.js.map +1 -1
- package/esm/presentation/automationFilters/useAutomationFilters.d.ts +3 -3
- package/esm/presentation/automationFilters/useAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automationFilters/useAutomationFilters.js +8 -2
- package/esm/presentation/automationFilters/useAutomationFilters.js.map +1 -1
- package/esm/presentation/automationFilters/useAutomationFiltersData.d.ts +1 -0
- package/esm/presentation/automationFilters/useAutomationFiltersData.d.ts.map +1 -1
- package/esm/presentation/automationFilters/useAutomationFiltersData.js +6 -1
- package/esm/presentation/automationFilters/useAutomationFiltersData.js.map +1 -1
- package/esm/presentation/automationFilters/utils.d.ts +11 -2
- package/esm/presentation/automationFilters/utils.d.ts.map +1 -1
- package/esm/presentation/automationFilters/utils.js +26 -8
- package/esm/presentation/automationFilters/utils.js.map +1 -1
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts +1 -4
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts.map +1 -1
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +67 -23
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +64 -8
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.d.ts +5 -0
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.d.ts.map +1 -0
- package/esm/presentation/drill/DrillSelect/{DrillSelectListItem.js → DrillSelectDropdownMenuItem.js} +13 -15
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.js.map +1 -0
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts +20 -0
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts.map +1 -0
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.js +42 -0
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.js.map +1 -0
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +0 -5
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +3 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +11 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +5 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js +6 -2
- package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +11 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +5 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +45 -10
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.json +48 -13
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +48 -13
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.json +47 -12
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +47 -12
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +17 -2
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +16 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +17 -2
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/es-419.json +45 -10
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.json +45 -10
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.json +45 -10
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.json +45 -10
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.json +45 -10
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.json +45 -10
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.json +45 -10
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.json +45 -10
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.json +45 -10
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.json +47 -12
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +47 -12
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.json +2 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.json +45 -10
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.json +46 -11
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +46 -11
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.json +45 -10
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +35 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +45 -10
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.d.ts +4 -0
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js +2 -2
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemVisualization.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemVisualization.js +6 -2
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemVisualization.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +29 -23
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.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/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +6 -9
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.js +5 -3
- package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.js.map +1 -1
- package/esm/presentation/topBar/menuButton/types.d.ts +1 -0
- package/esm/presentation/topBar/menuButton/types.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +6 -0
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts +2 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js +12 -11
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/{DrillModalFooter.d.ts → DrillDialogExportDropdown.d.ts} +3 -3
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.js +59 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.js.map +1 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.d.ts +40 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.d.ts.map +1 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.js +100 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.js.map +1 -0
- package/esm/sdk-ui-dashboard.d.ts +8 -0
- package/package.json +18 -16
- package/styles/css/alerting.css +3 -19
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/attributeFilterConfig.css +4 -1
- package/styles/css/attributeFilterConfig.css.map +1 -1
- package/styles/css/automationFilters.css +4 -25
- package/styles/css/automationFilters.css.map +1 -1
- package/styles/css/dashboard.css +14 -2
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dateFilterConfig.css +4 -1
- package/styles/css/dateFilterConfig.css.map +1 -1
- package/styles/css/drillConfigPanel.css +9 -9
- package/styles/css/drillDialog.css +6 -3
- package/styles/css/drillDialog.css.map +1 -1
- package/styles/css/drillSelect.css +4 -1
- package/styles/css/drillSelect.css.map +1 -1
- package/styles/css/export.css +22 -0
- package/styles/css/export.css.map +1 -1
- package/styles/css/main.css +70 -64
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +8 -2
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/scheduled_mail_recipients.css +6 -0
- package/styles/css/scheduled_mail_recipients.css.map +1 -1
- package/styles/css/sharedFilterConfig.css +4 -1
- package/styles/css/sharedFilterConfig.css.map +1 -1
- package/styles/scss/alerting.scss +3 -28
- package/styles/scss/automationFilters.scss +4 -32
- package/styles/scss/drillConfigPanel.scss +5 -5
- package/styles/scss/drillDialog.scss +2 -1
- package/styles/scss/drillSelect.scss +5 -1
- package/styles/scss/export.scss +33 -0
- package/styles/scss/notifications_channels_dialog.scss +8 -2
- package/styles/scss/scheduled_mail_recipients.scss +7 -0
- package/styles/scss/sharedFilterConfig.scss +2 -1
- package/esm/presentation/automationFilters/AutomationFilters.d.ts +0 -19
- package/esm/presentation/automationFilters/AutomationFilters.d.ts.map +0 -1
- package/esm/presentation/automationFilters/AutomationFilters.js +0 -73
- package/esm/presentation/automationFilters/AutomationFilters.js.map +0 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectList.d.ts +0 -9
- package/esm/presentation/drill/DrillSelect/DrillSelectList.d.ts.map +0 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectList.js +0 -51
- package/esm/presentation/drill/DrillSelect/DrillSelectList.js.map +0 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectListBody.d.ts +0 -10
- package/esm/presentation/drill/DrillSelect/DrillSelectListBody.d.ts.map +0 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectListBody.js +0 -13
- package/esm/presentation/drill/DrillSelect/DrillSelectListBody.js.map +0 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectListItem.d.ts +0 -11
- package/esm/presentation/drill/DrillSelect/DrillSelectListItem.d.ts.map +0 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectListItem.js.map +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.d.ts +0 -12
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.d.ts.map +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.js +0 -21
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.js.map +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.d.ts.map +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.js +0 -41
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.js.map +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.d.ts +0 -15
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.d.ts.map +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.js +0 -61
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.js.map +0 -1
package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js
CHANGED
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
// (C) 2019-2025 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import cx from "classnames";
|
|
4
|
-
import { FormattedMessage } from "react-intl";
|
|
5
|
-
import { Button, Bubble, BubbleHoverTrigger, ShortenedText } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
5
|
+
import { Button, Bubble, BubbleHoverTrigger, ShortenedText, DialogBase, useId, } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { selectCanExportTabular, selectSettings, useDashboardSelector } from "../../../../../model/index.js";
|
|
7
7
|
import { PoweredByGDLogo } from "./PoweredByGDLogo.js";
|
|
8
|
-
import {
|
|
8
|
+
import { DrillDialogExportDropdown } from "./DrillDialogExportDropdown.js";
|
|
9
9
|
import { getTitleWithBreadcrumbs } from "./getTitleWithBreadcrumbs.js";
|
|
10
10
|
const tooltipAlignPoints = [{ align: "cc tc", offset: { x: -20, y: 10 } }];
|
|
11
11
|
const bubbleAlignPoints = [{ align: "bc tc", offset: { x: -5, y: -5 } }];
|
|
12
|
-
export const DrillDialog = ({ insightTitle, breadcrumbs, onCloseDialog, onBackButtonClick, isBackButtonVisible, children, enableDrillDescription, exportAvailable, exportXLSXEnabled, exportCSVEnabled, exportCSVRawEnabled, onExportCSV, onExportXLSX, onExportCSVRaw, isLoading, isExporting, isExportRawVisible, }) => {
|
|
12
|
+
export const DrillDialog = ({ insightTitle, breadcrumbs, onCloseDialog, onBackButtonClick, isBackButtonVisible, children, enableDrillDescription, exportAvailable, exportXLSXEnabled, exportCSVEnabled, exportCSVRawEnabled, onExportCSV, onExportXLSX, onExportCSVRaw, isLoading, isExporting, isExportRawVisible, initialFocus, returnFocusTo, }) => {
|
|
13
13
|
const settings = useDashboardSelector(selectSettings);
|
|
14
14
|
const canExport = useDashboardSelector(selectCanExportTabular);
|
|
15
15
|
const shouldShowDrilledInsightExport = settings?.enableDrilledInsightExport && canExport;
|
|
16
16
|
const titleWithBreadcrumbs = getTitleWithBreadcrumbs(insightTitle, breadcrumbs);
|
|
17
|
-
|
|
17
|
+
const titleElementId = useId();
|
|
18
|
+
const { formatMessage } = useIntl();
|
|
19
|
+
return (React.createElement(DialogBase, { submitOnEnterKey: false, className: cx("gd-drill-modal-dialog s-drill-modal-dialog", {
|
|
18
20
|
"gd-ff-drill-description": enableDrillDescription,
|
|
19
|
-
}) },
|
|
21
|
+
}), onClose: onCloseDialog, displayCloseButton: true, accessibilityConfig: { isModal: true, titleElementId }, initialFocus: initialFocus, returnFocusTo: returnFocusTo, shouldCloseOnEscape: true },
|
|
20
22
|
React.createElement("div", { className: cx("gd-dialog-header gd-dialog-header-with-border gd-drill-modal-dialog-header", {
|
|
21
23
|
"gd-ff-drill-description": enableDrillDescription,
|
|
22
24
|
}) },
|
|
23
25
|
isBackButtonVisible ? (React.createElement(BubbleHoverTrigger, null,
|
|
24
|
-
React.createElement(Button, { className: "gd-button-primary gd-button-icon-only gd-icon-navigateleft s-drill-reset-button gd-drill-reset-button", onClick: onBackButtonClick }),
|
|
26
|
+
React.createElement(Button, { className: "gd-button-primary gd-button-icon-only gd-icon-navigateleft s-drill-reset-button gd-drill-reset-button", onClick: onBackButtonClick, accessibilityConfig: { ariaLabel: formatMessage({ id: "drillModal.backToTop" }) } }),
|
|
25
27
|
React.createElement(Bubble, { className: "bubble-primary", alignPoints: bubbleAlignPoints },
|
|
26
28
|
React.createElement(FormattedMessage, { id: "drillModal.backToTop", tagName: "span" })))) : null,
|
|
27
|
-
React.createElement("div", { className: "gd-drill-title s-drill-title" },
|
|
28
|
-
React.createElement(ShortenedText, { tagName: "div", tooltipAlignPoints: tooltipAlignPoints, tooltipVisibleOnMouseOver: false }, titleWithBreadcrumbs)),
|
|
29
|
-
React.createElement(Button, { className: "gd-button-link gd-button-icon-only gd-icon-cross gd-drill-close-button s-drill-close-button", onClick: onCloseDialog })),
|
|
29
|
+
React.createElement("div", { className: "gd-drill-title s-drill-title", id: titleElementId },
|
|
30
|
+
React.createElement(ShortenedText, { tagName: "div", tooltipAlignPoints: tooltipAlignPoints, tooltipVisibleOnMouseOver: false }, titleWithBreadcrumbs))),
|
|
30
31
|
React.createElement("div", { className: cx("gd-drill-modal-dialog-content visualization", {
|
|
31
32
|
"gd-ff-drill-description": enableDrillDescription,
|
|
32
33
|
}) },
|
|
33
34
|
React.createElement("div", { className: "gd-drill-modal-dialog-content-base" }, children)),
|
|
34
35
|
shouldShowDrilledInsightExport ? (React.createElement("div", { className: "gd-drill-modal-dialog-footer gd-drill-modal-dialog-footer-with-border s-drill-modal-dialog-footer" },
|
|
35
|
-
React.createElement(
|
|
36
|
+
React.createElement(DrillDialogExportDropdown, { exportAvailable: exportAvailable, exportXLSXEnabled: exportXLSXEnabled, exportCSVEnabled: exportCSVEnabled, exportCSVRawEnabled: exportCSVRawEnabled, onExportXLSX: onExportXLSX, onExportCSV: onExportCSV, onExportCSVRaw: onExportCSVRaw, isLoading: isLoading, isExporting: isExporting, isExportRawVisible: isExportRawVisible }))) : null,
|
|
36
37
|
React.createElement(PoweredByGDLogo, { isSmall: true })));
|
|
37
38
|
};
|
|
38
39
|
//# sourceMappingURL=DrillDialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrillDialog.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"DrillDialog.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EACH,MAAM,EACN,MAAM,EACN,kBAAkB,EAClB,aAAa,EAEb,UAAU,EACV,KAAK,GAER,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAuBvE,MAAM,kBAAkB,GAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;AAC1F,MAAM,iBAAiB,GAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAExF,MAAM,CAAC,MAAM,WAAW,GAA+B,CAAC,EACpD,YAAY,EACZ,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,mBAAmB,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C,gBAAgB,EAAC,WAAW,EAAE,iBAAiB;oBAC7D,oBAAC,gBAAgB,IAAC,EAAE,EAAC,sBAAsB,EAAC,OAAO,EAAC,MAAM,GAAG,CACxD,CACQ,CACxB,CAAC,CAAC,CAAC,IAAI;YACR,6BAAK,SAAS,EAAC,8BAA8B,EAAC,EAAE,EAAE,cAAc;gBAC5D,oBAAC,aAAa,IACV,OAAO,EAAC,KAAK,EACb,kBAAkB,EAAE,kBAAkB,EACtC,yBAAyB,EAAE,KAAK,IAE/B,oBAAoB,CACT,CACd,CACJ;QACN,6BACI,SAAS,EAAE,EAAE,CAAC,6CAA6C,EAAE;gBACzD,yBAAyB,EAAE,sBAAsB;aACpD,CAAC;YAEF,6BAAK,SAAS,EAAC,oCAAoC,IAAE,QAAQ,CAAO,CAClE;QACL,8BAA8B,CAAC,CAAC,CAAC,CAC9B,6BAAK,SAAS,EAAC,mGAAmG;YAC9G,oBAAC,yBAAyB,IACtB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EACxC,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,cAAc,EAC9B,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,EACxB,kBAAkB,EAAE,kBAAkB,GACxC,CACA,CACT,CAAC,CAAC,CAAC,IAAI;QACR,oBAAC,eAAe,IAAC,OAAO,SAAG,CAClB,CAChB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export interface
|
|
2
|
+
export interface IDrillDialogShareDropdownProps {
|
|
3
3
|
exportAvailable: boolean;
|
|
4
4
|
exportXLSXEnabled: boolean;
|
|
5
5
|
exportCSVRawEnabled: boolean;
|
|
@@ -11,5 +11,5 @@ export interface IDrillModalFooterProps {
|
|
|
11
11
|
isExporting: boolean;
|
|
12
12
|
isExportRawVisible: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare const
|
|
15
|
-
//# sourceMappingURL=
|
|
14
|
+
export declare const DrillDialogExportDropdown: React.FC<IDrillDialogShareDropdownProps>;
|
|
15
|
+
//# sourceMappingURL=DrillDialogExportDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrillDialogExportDropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B,MAAM,WAAW,8BAA8B;IAC3C,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAcD,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA8E9E,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FormattedMessage } from "react-intl";
|
|
4
|
+
import cx from "classnames";
|
|
5
|
+
import { Bubble, BubbleHoverTrigger, Button, DefaultUiMenuInteractiveItemComponent, Dropdown, UiMenu, } from "@gooddata/sdk-ui-kit";
|
|
6
|
+
import { useDrillDialogExportItems, } from "./useDrillDialogExportItems.js";
|
|
7
|
+
const dropdownAlignPoints = [
|
|
8
|
+
{
|
|
9
|
+
align: "tc bc",
|
|
10
|
+
offset: {
|
|
11
|
+
x: -10,
|
|
12
|
+
y: -5,
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
const dropdownDisabledBubbleAlignPoints = [{ align: "tc bc" }];
|
|
17
|
+
const itemBubbleAlignPoints = [{ align: "cl br" }];
|
|
18
|
+
export const DrillDialogExportDropdown = ({ exportAvailable, exportXLSXEnabled, onExportXLSX, exportCSVEnabled, exportCSVRawEnabled, onExportCSV, onExportCSVRaw, isExporting, isExportRawVisible, }) => {
|
|
19
|
+
const isExportDisabled = !exportAvailable || (!exportXLSXEnabled && !exportCSVEnabled);
|
|
20
|
+
const isDropdownDisabled = isExportDisabled && !isExportRawVisible;
|
|
21
|
+
const classNames = cx("s-export-drilled-insight export-drilled-insight", {
|
|
22
|
+
"is-disabled": isDropdownDisabled,
|
|
23
|
+
});
|
|
24
|
+
const items = useDrillDialogExportItems({
|
|
25
|
+
isExporting,
|
|
26
|
+
isDropdownDisabled,
|
|
27
|
+
isExportRawVisible,
|
|
28
|
+
isExportXLSXEnabled: exportXLSXEnabled,
|
|
29
|
+
isExportCSVEnabled: exportCSVEnabled,
|
|
30
|
+
isExportCSVRawEnabled: exportCSVRawEnabled,
|
|
31
|
+
onExportXLSX,
|
|
32
|
+
onExportCSV,
|
|
33
|
+
onExportCSVRaw,
|
|
34
|
+
});
|
|
35
|
+
const handleSelectItem = React.useCallback((item) => {
|
|
36
|
+
item.data.action();
|
|
37
|
+
}, []);
|
|
38
|
+
const itemClassName = React.useCallback((item) => (item.type === "interactive" ? item.data.className : undefined), []);
|
|
39
|
+
return (React.createElement("div", { className: classNames },
|
|
40
|
+
React.createElement(Dropdown, { autofocusOnOpen: true, alignPoints: dropdownAlignPoints, renderBody: ({ closeDropdown, ariaAttributes }) => (React.createElement(UiMenu, { onClose: closeDropdown, ariaAttributes: ariaAttributes, onSelect: handleSelectItem, items: items, className: "s-drill-modal-export-options", itemClassName: itemClassName, InteractiveItemComponent: DrillModalExportMenuItem })), renderButton: (buttonRenderProps) => {
|
|
41
|
+
return isDropdownDisabled ? (React.createElement("div", { className: classNames },
|
|
42
|
+
React.createElement(BubbleHoverTrigger, null,
|
|
43
|
+
React.createElement(DropdownTriggerButton, { ...buttonRenderProps, isDisabled: true }),
|
|
44
|
+
React.createElement(Bubble, { className: "bubble-primary", alignPoints: dropdownDisabledBubbleAlignPoints },
|
|
45
|
+
React.createElement(FormattedMessage, { id: "export_unsupported.disabled" }))))) : (React.createElement(DropdownTriggerButton, { ...buttonRenderProps }));
|
|
46
|
+
} })));
|
|
47
|
+
};
|
|
48
|
+
const DrillModalExportMenuItem = (props) => {
|
|
49
|
+
const { item } = props;
|
|
50
|
+
const tooltip = item.data.disabledTooltip;
|
|
51
|
+
return item.isDisabled && tooltip !== undefined ? (React.createElement(BubbleHoverTrigger, null,
|
|
52
|
+
React.createElement(DefaultUiMenuInteractiveItemComponent, { ...props }),
|
|
53
|
+
React.createElement(Bubble, { className: "bubble-primary", alignPoints: itemBubbleAlignPoints }, tooltip))) : (React.createElement(DefaultUiMenuInteractiveItemComponent, { ...props }));
|
|
54
|
+
};
|
|
55
|
+
const DropdownTriggerButton = ({ toggleDropdown, buttonRef, ariaAttributes, isDisabled, }) => (React.createElement(Button, { onClick: toggleDropdown, className: cx("gd-button-link-dimmed gd-button gd-icon-download export-menu-toggle-button", {
|
|
56
|
+
disabled: isDisabled,
|
|
57
|
+
}), disabled: isDisabled, type: "button", buttonRef: buttonRef, ...ariaAttributes },
|
|
58
|
+
React.createElement(FormattedMessage, { id: "dialogs.export.submit" })));
|
|
59
|
+
//# sourceMappingURL=DrillDialogExportDropdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrillDialogExportDropdown.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,g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EAAE;IAC5F,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEvB,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;IAE1C,OAAO,IAAI,CAAC,UAAU,IAAI,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAC9C,oBAAC,kBAAkB;QACf,oBAAC,qCAAqC,OAAK,KAAK,GAAI;QACpD,oBAAC,MAAM,IAAC,SAAS,EAAC,gBAAgB,EAAC,WAAW,EAAE,qBAAqB,IAChE,OAAO,CACH,CACQ,CACxB,CAAC,CAAC,CAAC,CACA,oBAAC,qCAAqC,OAAK,KAAK,GAAI,CACvD,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAoE,CAAC,EAC5F,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,GACb,EAAE,EAAE,CAAC,CACF,oBAAC,MAAM,IACH,OAAO,EAAE,cAAc,EACvB,SAAS,EAAE,EAAE,CAAC,4EAA4E,EAAE;QACxF,QAAQ,EAAE,UAAU;KACvB,CAAC,EACF,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,SAAsD,KAC7D,cAAc;IAElB,oBAAC,gBAAgB,IAAC,EAAE,EAAC,uBAAuB,GAAG,CAC1C,CACZ,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IUiMenuInteractiveItem, IUiMenuItem } from "@gooddata/sdk-ui-kit";
|
|
2
|
+
import { IExecutionResultEnvelope } from "../../../../../model/index.js";
|
|
3
|
+
export interface IMenuItemData {
|
|
4
|
+
interactive: {
|
|
5
|
+
action: () => void;
|
|
6
|
+
disabledTooltip?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export type IMenuItem = IUiMenuItem<IMenuItemData>;
|
|
11
|
+
export type IMenuInteractiveItem = IUiMenuInteractiveItem<IMenuItemData>;
|
|
12
|
+
export declare const DRILL_MODAL_EXECUTION_PSEUDO_REF: import("@gooddata/sdk-model").IdentifierRef;
|
|
13
|
+
export declare const itemMessages: {
|
|
14
|
+
xlsx: {
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
csvFormatted: {
|
|
18
|
+
id: string;
|
|
19
|
+
};
|
|
20
|
+
csvRaw: {
|
|
21
|
+
id: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const getExportTooltip: ({ isRawExportsEnabled, isExporting, execution, }: {
|
|
25
|
+
execution?: IExecutionResultEnvelope | undefined;
|
|
26
|
+
isExporting: boolean;
|
|
27
|
+
isRawExportsEnabled?: boolean | undefined;
|
|
28
|
+
}) => string;
|
|
29
|
+
export declare const useDrillDialogExportItems: ({ isExporting, isDropdownDisabled, isExportRawVisible, isExportXLSXEnabled, isExportCSVEnabled, isExportCSVRawEnabled, onExportXLSX, onExportCSV, onExportCSVRaw, }: {
|
|
30
|
+
isExporting: boolean;
|
|
31
|
+
isDropdownDisabled: boolean;
|
|
32
|
+
isExportRawVisible: boolean;
|
|
33
|
+
isExportXLSXEnabled: boolean;
|
|
34
|
+
isExportCSVEnabled: boolean;
|
|
35
|
+
isExportCSVRawEnabled: boolean;
|
|
36
|
+
onExportXLSX: () => void;
|
|
37
|
+
onExportCSV: () => void;
|
|
38
|
+
onExportCSVRaw: () => void;
|
|
39
|
+
}) => IMenuInteractiveItem[];
|
|
40
|
+
//# sourceMappingURL=useDrillDialogExportItems.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrillDialogExportItems.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE3E,OAAO,EACH,wBAAwB,EAI3B,MAAM,+BAA+B,CAAC;AAKvC,MAAM,WAAW,aAAa;IAC1B,WAAW,EAAE;QACT,MAAM,EAAE,MAAM,IAAI,CAAC;QACnB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,SAAS,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACL;AAED,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;AACnD,MAAM,MAAM,oBAAoB,GAAG,sBAAsB,CAAC,aAAa,CAAC,CAAC;AAEzE,eAAO,MAAM,gCAAgC,6CAA6B,CAAC;AAU3E,eAAO,MAAM,YAAY;;;;;;;;;;CAIvB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;iBAMZ,OAAO;;MAEpB,MAeH,CAAC;AAEF,eAAO,MAAM,yBAAyB;iBAcrB,OAAO;wBAEA,OAAO;wBACP,OAAO;yBAEN,OAAO;wBACR,OAAO;2BACJ,OAAO;kBAEhB,MAAM,IAAI;iBACX,MAAM,IAAI;oBACP,MAAM,IAAI;MAC1B,oBAAoB,EAmEvB,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
|
+
import { defineMessages, useIntl } from "react-intl";
|
|
3
|
+
import { selectExecutionResultByRef, selectSettings, useDashboardSelector, } from "../../../../../model/index.js";
|
|
4
|
+
import { isDataError, isDataErrorTooLarge } from "../../../../../_staging/errors/errorPredicates.js";
|
|
5
|
+
import { idRef } from "@gooddata/sdk-model";
|
|
6
|
+
import React from "react";
|
|
7
|
+
export const DRILL_MODAL_EXECUTION_PSEUDO_REF = idRef("@@GDC_DRILL_MODAL");
|
|
8
|
+
const tooltipMessages = defineMessages({
|
|
9
|
+
tooLarge: { id: "options.menu.data.too.large" },
|
|
10
|
+
rawError: { id: "options.menu.unsupported.raw.error" },
|
|
11
|
+
dataError: { id: "options.menu.unsupported.error" },
|
|
12
|
+
loading: { id: "options.menu.unsupported.loading" },
|
|
13
|
+
exporting: { id: "options.menu.export.in.progress" },
|
|
14
|
+
});
|
|
15
|
+
export const itemMessages = defineMessages({
|
|
16
|
+
xlsx: { id: "widget.drill.dialog.exportToXLSX" },
|
|
17
|
+
csvFormatted: { id: "widget.drill.dialog.exportToCSV.formatted" },
|
|
18
|
+
csvRaw: { id: "widget.drill.dialog.exportToCSV.raw" },
|
|
19
|
+
});
|
|
20
|
+
export const getExportTooltip = ({ isRawExportsEnabled, isExporting, execution, }) => {
|
|
21
|
+
if (isExporting) {
|
|
22
|
+
return tooltipMessages.exporting.id;
|
|
23
|
+
}
|
|
24
|
+
if (isDataErrorTooLarge(execution?.error)) {
|
|
25
|
+
return tooltipMessages.tooLarge.id;
|
|
26
|
+
}
|
|
27
|
+
else if (isDataError(execution?.error)) {
|
|
28
|
+
if (isRawExportsEnabled) {
|
|
29
|
+
return tooltipMessages.rawError.id;
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
return tooltipMessages.dataError.id;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return tooltipMessages.loading.id;
|
|
36
|
+
};
|
|
37
|
+
export const useDrillDialogExportItems = ({ isExporting, isDropdownDisabled, isExportRawVisible, isExportXLSXEnabled, isExportCSVEnabled, isExportCSVRawEnabled, onExportXLSX, onExportCSV, onExportCSVRaw, }) => {
|
|
38
|
+
const { formatMessage } = useIntl();
|
|
39
|
+
const execution = useDashboardSelector(selectExecutionResultByRef(DRILL_MODAL_EXECUTION_PSEUDO_REF));
|
|
40
|
+
const settings = useDashboardSelector(selectSettings);
|
|
41
|
+
const disabledTooltip = formatMessage({
|
|
42
|
+
id: getExportTooltip({ execution, isExporting, isRawExportsEnabled: settings?.enableRawExports }),
|
|
43
|
+
});
|
|
44
|
+
return React.useMemo(() => {
|
|
45
|
+
const allItems = [
|
|
46
|
+
{
|
|
47
|
+
type: "interactive",
|
|
48
|
+
data: {
|
|
49
|
+
action: onExportXLSX,
|
|
50
|
+
className: "s-export-drilled-insight-xlsx",
|
|
51
|
+
disabledTooltip,
|
|
52
|
+
},
|
|
53
|
+
id: "xslx",
|
|
54
|
+
stringTitle: formatMessage({ id: itemMessages.xlsx.id }),
|
|
55
|
+
isDisabled: !isExportXLSXEnabled,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
type: "interactive",
|
|
59
|
+
data: {
|
|
60
|
+
action: onExportCSV,
|
|
61
|
+
className: "s-export-drilled-insight-csv-formatted",
|
|
62
|
+
disabledTooltip,
|
|
63
|
+
},
|
|
64
|
+
id: "csv-formatted",
|
|
65
|
+
stringTitle: formatMessage({ id: itemMessages.csvFormatted.id }),
|
|
66
|
+
isDisabled: !isExportCSVEnabled,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: "interactive",
|
|
70
|
+
data: {
|
|
71
|
+
action: onExportCSVRaw,
|
|
72
|
+
className: "s-export-drilled-insight-csv-raw",
|
|
73
|
+
disabledTooltip,
|
|
74
|
+
},
|
|
75
|
+
id: "csv-raw",
|
|
76
|
+
stringTitle: formatMessage({ id: itemMessages.csvRaw.id }),
|
|
77
|
+
isDisabled: !isExportCSVRawEnabled,
|
|
78
|
+
},
|
|
79
|
+
];
|
|
80
|
+
if (isExportRawVisible) {
|
|
81
|
+
return allItems;
|
|
82
|
+
}
|
|
83
|
+
if (isDropdownDisabled) {
|
|
84
|
+
return [];
|
|
85
|
+
}
|
|
86
|
+
return allItems.filter((item) => !item.isDisabled);
|
|
87
|
+
}, [
|
|
88
|
+
onExportXLSX,
|
|
89
|
+
disabledTooltip,
|
|
90
|
+
formatMessage,
|
|
91
|
+
isExportXLSXEnabled,
|
|
92
|
+
onExportCSV,
|
|
93
|
+
isExportCSVEnabled,
|
|
94
|
+
onExportCSVRaw,
|
|
95
|
+
isExportCSVRawEnabled,
|
|
96
|
+
isExportRawVisible,
|
|
97
|
+
isDropdownDisabled,
|
|
98
|
+
]);
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=useDrillDialogExportItems.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrillDialogExportItems.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAGhC,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAEH,0BAA0B,EAC1B,cAAc,EACd,oBAAoB,GACvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACrG,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,MAAM,CAAC,MAAM,gCAAgC,GAAG,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAE3E,MAAM,eAAe,GAAG,cAAc,CAAC;IACnC,QAAQ,EAAE,EAAE,EAAE,EAAE,6BAA6B,EAAE;IAC/C,QAAQ,EAAE,EAAE,EAAE,EAAE,oCAAoC,EAAE;IACtD,SAAS,EAAE,EAAE,EAAE,EAAE,gCAAgC,EAAE;IACnD,OAAO,EAAE,EAAE,EAAE,EAAE,kCAAkC,EAAE;IACnD,SAAS,EAAE,EAAE,EAAE,EAAE,iCAAiC,EAAE;CACvD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACvC,IAAI,EAAE,EAAE,EAAE,EAAE,kCAAkC,EAAE;IAChD,YAAY,EAAE,EAAE,EAAE,EAAE,2CAA2C,EAAE;IACjE,MAAM,EAAE,EAAE,EAAE,EAAE,qCAAqC,EAAE;CACxD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC7B,mBAAmB,EACnB,WAAW,EACX,SAAS,GAKZ,EAAU,EAAE;IACT,IAAI,WAAW,EAAE,CAAC;QACd,OAAO,eAAe,CAAC,SAAS,CAAC,EAAE,CAAC;IACxC,CAAC;IAED,IAAI,mBAAmB,CAAC,SAAS,EAAE,K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AE,CAAC;gBACxD,UAAU,EAAE,CAAC,mBAAmB;aACnC;YACD;gBACI,IAAI,EAAE,aAAsB;gBAC5B,IAAI,EAAE;oBACF,MAAM,EAAE,WAAW;oBACnB,SAAS,EAAE,wCAAwC;oBACnD,eAAe;iBAClB;gBACD,EAAE,EAAE,eAAe;gBACnB,WAAW,EAAE,aAAa,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC;gBAChE,UAAU,EAAE,CAAC,kBAAkB;aAClC;YACD;gBACI,IAAI,EAAE,aAAsB;gBAC5B,IAAI,EAAE;oBACF,MAAM,EAAE,cAAc;oBACtB,SAAS,EAAE,kCAAkC;oBAC7C,eAAe;iBAClB;gBACD,EAAE,EAAE,SAAS;gBACb,WAAW,EAAE,aAAa,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;gBAC1D,UAAU,EAAE,CAAC,qBAAqB;aACrC;SACJ,CAAC;QAEF,IAAI,kBAAkB,EAAE,CAAC;YACrB,OAAO,QAAQ,CAAC;QACpB,CAAC;QAED,IAAI,kBAAkB,EAAE,CAAC;YACrB,OAAO,EAAE,CAAC;QACd,CAAC;QAED,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACvD,CAAC,EAAE;QACC,YAAY;QACZ,eAAe;QACf,aAAa;QACb,mBAAmB;QACnB,WAAW;QACX,kBAAkB;QAClB,cAAc;QACd,qBAAqB;QACrB,kBAAkB;QAClB,kBAAkB;KACrB,CAAC,CAAC;AACP,CAAC,CAAC"}
|
|
@@ -12306,6 +12306,7 @@ export declare interface IMenuButtonItemButton extends IMenuItemCommonProps {
|
|
|
12306
12306
|
tooltip?: string | ReactNode;
|
|
12307
12307
|
disabled?: boolean;
|
|
12308
12308
|
icon?: string | ReactNode;
|
|
12309
|
+
opensDialog?: boolean;
|
|
12309
12310
|
}
|
|
12310
12311
|
|
|
12311
12312
|
/**
|
|
@@ -20033,6 +20034,13 @@ export declare const selectEnableScheduling: DashboardSelector<boolean>;
|
|
|
20033
20034
|
*/
|
|
20034
20035
|
export declare const selectEnableSlideshowExports: DashboardSelector<boolean>;
|
|
20035
20036
|
|
|
20037
|
+
/**
|
|
20038
|
+
* Returns whether snapshot export accessibility is enabled.
|
|
20039
|
+
*
|
|
20040
|
+
* @internal
|
|
20041
|
+
*/
|
|
20042
|
+
export declare const selectEnableSnapshotExportAccessibility: DashboardSelector<boolean>;
|
|
20043
|
+
|
|
20036
20044
|
/**
|
|
20037
20045
|
* Returns whether the unrelated data datasets are shown.
|
|
20038
20046
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "10.27.0-alpha.
|
|
3
|
+
"version": "10.27.0-alpha.50",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,24 +57,26 @@
|
|
|
57
57
|
"ts-invariant": "^0.7.5",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2",
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@gooddata/sdk-backend-
|
|
63
|
-
"@gooddata/sdk-
|
|
64
|
-
"@gooddata/sdk-ui": "10.27.0-alpha.
|
|
65
|
-
"@gooddata/sdk-ui-
|
|
66
|
-
"@gooddata/sdk-
|
|
67
|
-
"@gooddata/sdk-ui-
|
|
68
|
-
"@gooddata/sdk-ui-
|
|
69
|
-
"@gooddata/
|
|
70
|
-
"@gooddata/sdk-ui-
|
|
60
|
+
"@codemirror/language": "~6.11.0",
|
|
61
|
+
"@lezer/highlight": "~1.2.1",
|
|
62
|
+
"@gooddata/sdk-backend-base": "10.27.0-alpha.50",
|
|
63
|
+
"@gooddata/sdk-model": "10.27.0-alpha.50",
|
|
64
|
+
"@gooddata/sdk-ui": "10.27.0-alpha.50",
|
|
65
|
+
"@gooddata/sdk-ui-ext": "10.27.0-alpha.50",
|
|
66
|
+
"@gooddata/sdk-backend-spi": "10.27.0-alpha.50",
|
|
67
|
+
"@gooddata/sdk-ui-filters": "10.27.0-alpha.50",
|
|
68
|
+
"@gooddata/sdk-ui-geo": "10.27.0-alpha.50",
|
|
69
|
+
"@gooddata/sdk-ui-kit": "10.27.0-alpha.50",
|
|
70
|
+
"@gooddata/sdk-ui-theme-provider": "10.27.0-alpha.50",
|
|
71
|
+
"@gooddata/sdk-ui-vis-commons": "10.27.0-alpha.50",
|
|
72
|
+
"@gooddata/util": "10.27.0-alpha.50"
|
|
71
73
|
},
|
|
72
74
|
"peerDependencies": {
|
|
73
75
|
"react": "^16.10.0 || ^17.0.0 || ^18.0.0",
|
|
74
76
|
"react-dom": "^16.10.0 || ^17.0.0 || ^18.0.0"
|
|
75
77
|
},
|
|
76
78
|
"devDependencies": {
|
|
77
|
-
"@gooddata/eslint-config": "^4.1.
|
|
79
|
+
"@gooddata/eslint-config": "^4.1.1",
|
|
78
80
|
"@microsoft/api-documenter": "^7.17.0",
|
|
79
81
|
"@microsoft/api-extractor": "^7.36.0",
|
|
80
82
|
"@testing-library/dom": "~9.2.0",
|
|
@@ -120,9 +122,9 @@
|
|
|
120
122
|
"typescript": "5.3.3",
|
|
121
123
|
"vitest": "3.0.8",
|
|
122
124
|
"vitest-dom": "0.1.1",
|
|
123
|
-
"@gooddata/i18n-toolkit": "10.27.0-alpha.
|
|
124
|
-
"@gooddata/
|
|
125
|
-
"@gooddata/
|
|
125
|
+
"@gooddata/i18n-toolkit": "10.27.0-alpha.50",
|
|
126
|
+
"@gooddata/sdk-backend-mockingbird": "10.27.0-alpha.50",
|
|
127
|
+
"@gooddata/reference-workspace": "10.27.0-alpha.50"
|
|
126
128
|
},
|
|
127
129
|
"scripts": {
|
|
128
130
|
"clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
|
package/styles/css/alerting.css
CHANGED
|
@@ -171,18 +171,16 @@
|
|
|
171
171
|
flex: 1 1 auto;
|
|
172
172
|
min-height: 0;
|
|
173
173
|
}
|
|
174
|
+
.gd-edit-alert__form button {
|
|
175
|
+
margin-bottom: 10px;
|
|
176
|
+
}
|
|
174
177
|
|
|
175
178
|
.gd-edit-alert__destination-label,
|
|
176
179
|
.gd-edit-alert__title-label {
|
|
177
180
|
margin-bottom: 5px;
|
|
178
181
|
}
|
|
179
182
|
|
|
180
|
-
.gd-edit-alert__measure-label {
|
|
181
|
-
margin-bottom: 5px;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
183
|
.gd-edit-alert__measure-info {
|
|
185
|
-
margin-top: 10px;
|
|
186
184
|
margin-bottom: 10px;
|
|
187
185
|
display: flex;
|
|
188
186
|
gap: 5px;
|
|
@@ -279,11 +277,6 @@
|
|
|
279
277
|
line-height: 17px;
|
|
280
278
|
}
|
|
281
279
|
|
|
282
|
-
.gd-alert-measure-select,
|
|
283
|
-
.gd-alert-attribute-select {
|
|
284
|
-
margin-bottom: 10px;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
280
|
.gd-alert-measure-select__button,
|
|
288
281
|
.gd-alert-attribute-select__button {
|
|
289
282
|
width: 100%;
|
|
@@ -369,19 +362,10 @@
|
|
|
369
362
|
max-height: 400px;
|
|
370
363
|
}
|
|
371
364
|
|
|
372
|
-
.gd-alert-comparison-operator-select {
|
|
373
|
-
margin-bottom: 10px;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
365
|
.gd-alert-comparison-operator-select__button {
|
|
377
366
|
width: 100%;
|
|
378
367
|
}
|
|
379
368
|
|
|
380
|
-
.gd-alert-destination-select,
|
|
381
|
-
.gd-alert-comparison-select {
|
|
382
|
-
margin-bottom: 10px;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
369
|
.gd-button.gd-alert-destination-select__button,
|
|
386
370
|
.gd-button.gd-alert-comparison-select__button {
|
|
387
371
|
margin-top: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../node_modules/react-loading-skeleton/dist/skeleton.css","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Bubble/_variables.scss","../scss/alerting.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss","../scss/_variables.scss"],"names":[],"mappings":"AAAA;EACE;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAMA;EAEA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;ACuEJ;AA4DA;ACjLA;AAAA;AAAA;ACKA;EACI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;AAAA;AAAA;AAAA;EAIA;AAAA;AAAA;AAAA;;;AAOR;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;;AAKZ;EACI;EACA;EACA;EACA;EACA,OC3CmB;;;ADiDvB;EACI;EACA;EACA;EACA;;AAEA;EACI,kBC8BgB;;AD3BpB;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI,kBCaoB;EDZpB;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,kBC9CkB;;;ADkD1B;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA,OC5FY;ED6FZ;EACA;EACA;EAEA;EAEA;EAEA;;;AAMJ;EACI;EACA;EACA,OC9GY;ED+GZ;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../node_modules/react-loading-skeleton/dist/skeleton.css","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Bubble/_variables.scss","../scss/alerting.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss","../scss/_variables.scss"],"names":[],"mappings":"AAAA;EACE;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAMA;EAEA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;ACuEJ;AA4DA;ACjLA;AAAA;AAAA;ACKA;EACI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI;AAAA;AAAA;AAAA;EAIA;AAAA;AAAA;AAAA;;;AAOR;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;;AAKZ;EACI;EACA;EACA;EACA;EACA,OC3CmB;;;ADiDvB;EACI;EACA;EACA;EACA;;AAEA;EACI,kBC8BgB;;AD3BpB;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI,kBCaoB;EDZpB;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,kBC9CkB;;;ADkD1B;EACI;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA,OC5FY;ED6FZ;EACA;EACA;EAEA;EAEA;EAEA;;;AAMJ;EACI;EACA;EACA,OC9GY;ED+GZ;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;AACA;EACI;;;AAIR;AAAA;EAEI;;;AAGJ;EACI;EACA;EACA;EACA;EACA,OC5IY;;AD8IZ;EACI;;;AAIR;EACI;AAEA;AAOA;;AANA;AAAA;EAEI;EACA;;AAIJ;EACI;EACA;;;AAIR;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI,OCzLmB;;;AD4LvB;EACI;EACA;;AAEA;EACI;EACA;;;AAOR;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI,OC9MY;ED+MZ;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAOA;EACI;EACA;EACA;;;AAIR;AAAA;EAEI;;;AAEJ;EACI;;;AAGJ;AAAA;EAEI;;;AAGJ;AAAA;EAEI;;AAEA;AAAA;EACI;;;AAIR;EACI;;;AAGJ;EACI;;;AAGJ;EAEI;;AAEA;EAEI;;AAGJ;EACI,OC9QkB;ED+QlB;;;AAIR;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;AAEA;EACI;;;AAIR;EACI;EACA;;;AAIA;EAEI;EAEA;;AAGJ;EACI;;;AAKJ;EACI;;;AAKJ;AAAA;EAEI;;;AAKJ;EACI,YE5QgC;;;AFgRxC;EACI;;;AAKJ;AAAA;EAEI;EACA;EAEA;;;AAMJ;EACI;;;AAMJ;EACI;EACA;EACA;;AAEA;EAEI,kBC3Qe;;AD8QnB;EACI;EACA;EACA;EACA;EACA;;;AAKJ;EACI,OCrZY;EDsZZ,kBCrWkB","file":"alerting.css"}
|
|
@@ -28,8 +28,11 @@
|
|
|
28
28
|
cursor: pointer;
|
|
29
29
|
}
|
|
30
30
|
.attribute-filter-dropdown-configuration .configuration-panel-header-title i,
|
|
31
|
+
.attribute-filter-dropdown-configuration .configuration-panel-header i,
|
|
31
32
|
.date-filter-dropdown-configuration .configuration-panel-header-title i,
|
|
32
|
-
.
|
|
33
|
+
.date-filter-dropdown-configuration .configuration-panel-header i,
|
|
34
|
+
.gd-header-menu-overlay .configuration-panel-header-title i,
|
|
35
|
+
.gd-header-menu-overlay .configuration-panel-header i {
|
|
33
36
|
font-size: 14px;
|
|
34
37
|
margin-right: 5px;
|
|
35
38
|
position: relative;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Bubble/_variables.scss","../scss/sharedFilterConfig.scss","../scss/attributeFilterConfig.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;ACjLA;AAAA;AAAA;ACAI;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;;AAEJ;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Bubble/_variables.scss","../scss/sharedFilterConfig.scss","../scss/attributeFilterConfig.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;ACjLA;AAAA;AAAA;ACAI;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;;AAEJ;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;EAEI;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EAEA;EAEA;;AAGJ;AAAA;AAAA;EACI;EACA;;AAEA;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;;AAEA;AAAA;AAAA;EACI;;AAKZ;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;;AAEA;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMR;EACI;EACA;;;AChFR;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;;AAKJ;EACI;EACA;EACA;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAEA;EACI;EACA,OCzBW;ED0BX;;AAIR;EACI;;AAGJ;EACI;;AAEA;EACI;;AAIR;EACI;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAIR;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;;AAEA;EACI;;AAOJ;EACI;;AAGJ;AAAA;EAEI;;;AAMR;EACI;;AAGJ;EACI;;;AAIR;EACI;EACA;EACA;;AAEA;EALJ;IAMQ;;;;AAMA;EACI;EACA;EACA;EACA;EACA;;;AAKZ;EACI;;;AAGJ;EACI;;AAEA;EACI;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA,OC5JY;ED6JZ;;;AAKZ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI,OCpKoB;;;ADwK5B;EACI;;AAKI;EACI;EACA,OChJuB;;ADoJ/B;EACI;;AAGJ;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA,OCrMQ;;ADyMR;EACI;;AAIR;EACI;;;AAIR;EACI;EACA;EACA;EACA,OCpNoB;;ADsNpB;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA,OC5OmB;ED6OnB;EACA;EACA;;;AAGJ;EACI,OCtPwB;;;ADyP5B;AAAA;EAEI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAIA;EACI;;AAGJ;EACI,OC7QoB;ED8QpB;;;AAKJ;EACI;;AAQQ;EACI,OCnRJ;;;AD0RhB;EACI;EACA;EACA;EACA;;AAEA;EACI,YClNgB;;;ADsNxB;EACI,OCtSY;EDuSZ;EACA;;;AAGJ;EACI,OChTY;;;ADmThB;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAIA;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA","file":"attributeFilterConfig.css"}
|
|
@@ -2,27 +2,10 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
}
|
|
4
4
|
.gd-automation-filters__list {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
.gd-automation-filters__list--expanded {
|
|
11
|
-
max-height: 100%;
|
|
12
|
-
}
|
|
13
|
-
.gd-automation-filters__list-item {
|
|
14
|
-
display: inline-block;
|
|
15
|
-
vertical-align: top;
|
|
16
|
-
height: 27px;
|
|
17
|
-
margin-right: 5px;
|
|
18
|
-
margin-bottom: 5px;
|
|
19
|
-
}
|
|
20
|
-
.gd-automation-filters__list-item > div {
|
|
21
|
-
vertical-align: top;
|
|
22
|
-
}
|
|
23
|
-
.gd-automation-filters__expansion-button {
|
|
24
|
-
float: right;
|
|
25
|
-
height: 27px;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
gap: 5px;
|
|
8
|
+
align-items: center;
|
|
26
9
|
}
|
|
27
10
|
.gd-automation-filters__message {
|
|
28
11
|
color: var(--gd-palette-complementary-7, #6d7680);
|
|
@@ -39,10 +22,6 @@
|
|
|
39
22
|
line-height: 21px;
|
|
40
23
|
margin-top: 5px;
|
|
41
24
|
}
|
|
42
|
-
.gd-automation-filters__dropdown {
|
|
43
|
-
display: inline-block;
|
|
44
|
-
vertical-align: top;
|
|
45
|
-
}
|
|
46
25
|
.gd-automation-filters__dropdown-header {
|
|
47
26
|
display: flex;
|
|
48
27
|
justify-content: space-between;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../scss/automationFilters.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../scss/automationFilters.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AAIA;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI,OCoDuB;EDnDvB;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA,YCyEgB;;ADvEhB;EACI,OChBW;EDiBX;EACA;EACA;EACA;;AAIR;EACI;EACA,OC1Be;ED2Bf;EACA;EACA;;AAGJ;EACI;;AAEA;EACI,OCjCI;;ADqCZ;EACI;EACA;EACA","file":"automationFilters.css"}
|
package/styles/css/dashboard.css
CHANGED
|
@@ -1194,8 +1194,8 @@
|
|
|
1194
1194
|
align-items: center;
|
|
1195
1195
|
}
|
|
1196
1196
|
.gd-input-component .gd-label {
|
|
1197
|
-
width:
|
|
1198
|
-
min-width:
|
|
1197
|
+
width: 95px;
|
|
1198
|
+
min-width: 95px;
|
|
1199
1199
|
}
|
|
1200
1200
|
.gd-input-component .gd-input {
|
|
1201
1201
|
flex-grow: 1;
|
|
@@ -1791,6 +1791,12 @@
|
|
|
1791
1791
|
margin-bottom: 20px;
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
|
+
.gd-notifications-channels-dialog-error-scrollable {
|
|
1795
|
+
min-height: unset;
|
|
1796
|
+
max-height: 100%;
|
|
1797
|
+
overflow: unset;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1794
1800
|
.gd-notifications-channels-dialog-warning {
|
|
1795
1801
|
width: 100%;
|
|
1796
1802
|
margin-bottom: 20px;
|
|
@@ -2189,6 +2195,12 @@
|
|
|
2189
2195
|
min-height: 23px;
|
|
2190
2196
|
flex: 1;
|
|
2191
2197
|
min-width: 200px;
|
|
2198
|
+
max-width: 240px;
|
|
2199
|
+
}
|
|
2200
|
+
.gd-dashboard-alerting-dialog-form-field__content-container-full-width {
|
|
2201
|
+
min-height: 23px;
|
|
2202
|
+
flex: 1;
|
|
2203
|
+
min-width: 200px;
|
|
2192
2204
|
}
|
|
2193
2205
|
|
|
2194
2206
|
.gd-dashboard-alerting-dialog-form-field-group {
|