@gooddata/sdk-ui-dashboard 10.11.0-alpha.8 → 10.11.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 +57 -15
- 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/dashboard/fluidLayout/index.d.ts +2 -2
- package/esm/_staging/dashboard/fluidLayout/index.d.ts.map +1 -1
- package/esm/_staging/dashboard/fluidLayout/index.js +1 -1
- package/esm/_staging/dashboard/fluidLayout/index.js.map +1 -1
- package/esm/_staging/drills/drillingUtils.d.ts +2 -1
- package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
- package/esm/_staging/drills/drillingUtils.js.map +1 -1
- package/esm/index.d.ts +3 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -2
- package/esm/index.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts +4 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +103 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -18
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.js +8 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +7 -3
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.js +17 -20
- package/esm/model/commandHandlers/drill/drillDownHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +2 -3
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToInsightHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToInsightHandler.js +2 -3
- package/esm/model/commandHandlers/drill/drillToInsightHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +20 -3
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +4 -0
- package/esm/model/commandHandlers/index.js.map +1 -1
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js +1 -3
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js +27 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js.map +1 -0
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js +1 -3
- 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 +8 -12
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.js +19 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.js.map +1 -0
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.d.ts +14 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.js +24 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.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 +33 -16
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +6 -5
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/visualizationSwitcher.d.ts +77 -0
- package/esm/model/commands/visualizationSwitcher.d.ts.map +1 -0
- package/esm/model/commands/visualizationSwitcher.js +45 -0
- package/esm/model/commands/visualizationSwitcher.js.map +1 -0
- 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 +38 -18
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/index.js +7 -6
- package/esm/model/events/index.js.map +1 -1
- package/esm/model/events/visualizationSwitcher.d.ts +72 -0
- package/esm/model/events/visualizationSwitcher.d.ts.map +1 -0
- package/esm/model/events/visualizationSwitcher.js +45 -0
- package/esm/model/events/visualizationSwitcher.js.map +1 -0
- package/esm/model/headlessDashboard/index.d.ts +2 -1
- package/esm/model/headlessDashboard/index.d.ts.map +1 -1
- package/esm/model/headlessDashboard/index.js +1 -1
- package/esm/model/headlessDashboard/index.js.map +1 -1
- package/esm/model/index.d.ts +13 -9
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js +1 -1
- package/esm/model/index.js.map +1 -1
- package/esm/model/queries/index.d.ts +21 -11
- package/esm/model/queries/index.d.ts.map +1 -1
- package/esm/model/queries/index.js +2 -2
- package/esm/model/queries/index.js.map +1 -1
- package/esm/model/react/index.d.ts +11 -6
- package/esm/model/react/index.d.ts.map +1 -1
- package/esm/model/react/index.js +1 -1
- package/esm/model/react/index.js.map +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +2 -0
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +8 -0
- package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.js +3 -2
- package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +0 -12
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +1 -17
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducers.d.ts +4 -0
- package/esm/model/store/filterViews/filterViewsReducers.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducers.js +5 -0
- package/esm/model/store/filterViews/filterViewsReducers.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducersSelectors.d.ts +4 -0
- package/esm/model/store/filterViews/filterViewsReducersSelectors.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js +4 -0
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsState.d.ts +1 -0
- package/esm/model/store/filterViews/filterViewsState.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsState.js +1 -1
- package/esm/model/store/filterViews/filterViewsState.js.map +1 -1
- package/esm/model/store/filterViews/index.d.ts +6 -2
- package/esm/model/store/filterViews/index.d.ts.map +1 -1
- package/esm/model/store/filterViews/index.js +1 -1
- package/esm/model/store/filterViews/index.js.map +1 -1
- package/esm/model/store/index.d.ts +36 -34
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +4 -8
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +8 -0
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.d.ts +11 -1
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js +27 -2
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +5 -2
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/model/store/permissions/permissionsSelectors.d.ts +12 -0
- package/esm/model/store/permissions/permissionsSelectors.d.ts.map +1 -1
- package/esm/model/store/permissions/permissionsSelectors.js +17 -1
- package/esm/model/store/permissions/permissionsSelectors.js.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +10 -10
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
- package/esm/plugins/index.d.ts +5 -3
- package/esm/plugins/index.d.ts.map +1 -1
- package/esm/plugins/index.js +0 -1
- package/esm/plugins/index.js.map +1 -1
- package/esm/presentation/alerting/index.d.ts +1 -1
- package/esm/presentation/alerting/index.d.ts.map +1 -1
- package/esm/presentation/cancelEditDialog/index.d.ts +1 -1
- package/esm/presentation/cancelEditDialog/index.d.ts.map +1 -1
- package/esm/presentation/cancelEditDialog/index.js +1 -1
- package/esm/presentation/cancelEditDialog/index.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +2 -2
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +7 -2
- package/esm/presentation/dashboard/hooks/useDashboard.js.map +1 -1
- package/esm/presentation/dashboard/index.d.ts +1 -1
- package/esm/presentation/dashboard/index.d.ts.map +1 -1
- package/esm/presentation/dashboard/index.js +1 -1
- package/esm/presentation/dashboard/types.d.ts +13 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -0
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js.map +1 -1
- package/esm/presentation/dashboardContexts/types.d.ts +9 -1
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/index.d.ts +1 -1
- package/esm/presentation/deleteDialog/index.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/index.js +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +2 -4
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts +1 -2
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +4 -11
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js.map +1 -1
- package/esm/presentation/drill/index.d.ts +17 -9
- package/esm/presentation/drill/index.d.ts.map +1 -1
- package/esm/presentation/drill/index.js +1 -2
- package/esm/presentation/drill/index.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.js +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +8 -2
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.js +15 -9
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.js.map +1 -1
- package/esm/presentation/index.d.ts +2 -1
- package/esm/presentation/index.d.ts.map +1 -1
- package/esm/presentation/index.js +1 -1
- package/esm/presentation/index.js.map +1 -1
- package/esm/presentation/kpiDeleteDialog/index.d.ts +1 -1
- package/esm/presentation/kpiDeleteDialog/index.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/index.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts +7 -5
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +65 -0
- package/esm/presentation/saveAs/index.d.ts +1 -1
- package/esm/presentation/saveAs/index.d.ts.map +1 -1
- package/esm/presentation/saveAs/index.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +7 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +2 -6
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts +6 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +14 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +17 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js +8 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +3 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/index.d.ts +1 -1
- package/esm/presentation/scheduledEmail/index.d.ts.map +1 -1
- package/esm/presentation/shareDialog/index.d.ts +1 -1
- package/esm/presentation/shareDialog/index.d.ts.map +1 -1
- package/esm/presentation/shareDialog/index.js +1 -1
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.d.ts +4 -2
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.d.ts.map +1 -1
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.js +3 -3
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.js.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +12 -4
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/common/InsightDropdown.d.ts +10 -0
- package/esm/presentation/widget/common/InsightDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/{insight/configuration/DrillTargets → common}/InsightDropdown.js +5 -26
- package/esm/presentation/widget/common/InsightDropdown.js.map +1 -0
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +5 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +4 -4
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.js +3 -3
- package/esm/presentation/widget/common/useInsightExport.js.map +1 -1
- package/esm/presentation/widget/description/index.d.ts +1 -1
- package/esm/presentation/widget/description/index.d.ts.map +1 -1
- package/esm/presentation/widget/index.d.ts +2 -1
- package/esm/presentation/widget/index.d.ts.map +1 -1
- package/esm/presentation/widget/index.js +0 -1
- package/esm/presentation/widget/index.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.js +4 -14
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargetInsightItem.js +3 -3
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargetInsightItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/{InsightDropdown.d.ts → DrillingInsightDropdown.d.ts} +3 -3
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.js +28 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +6 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +8 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +4 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +7 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +51 -34
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +4 -6
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js.map +1 -1
- package/esm/presentation/widget/insight/index.d.ts +1 -1
- package/esm/presentation/widget/insight/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightEditMenuBubble.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts +7 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +1 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +5 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.d.ts +4 -2
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.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/kpi/ViewModeDashboardKpi/KpiAlerts/index.d.ts +2 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.js +2 -2
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.js.map +1 -1
- package/esm/presentation/widget/kpi/index.d.ts +1 -1
- package/esm/presentation/widget/kpi/index.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/index.js +1 -1
- package/esm/presentation/widget/richText/index.d.ts +1 -1
- package/esm/presentation/widget/richText/index.d.ts.map +1 -1
- package/esm/presentation/widget/types.d.ts +7 -6
- package/esm/presentation/widget/types.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js +24 -4
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.js +10 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.d.ts +9 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.js +18 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js +73 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.js +9 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js +66 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.d.ts +6 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.js +27 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.js +36 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.d.ts +12 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.js +39 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.d.ts +18 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.js +3 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts +4 -1
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/index.js +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts +10 -1
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +2 -2
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +7 -3
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +4 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js +2 -2
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +32 -6
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js +3 -3
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts +4 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/index.d.ts +1 -1
- package/esm/presentation/widget/widget/index.d.ts.map +1 -1
- package/esm/presentation/widgetDeleteDialog/index.d.ts +1 -1
- package/esm/presentation/widgetDeleteDialog/index.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +243 -19
- package/esm/tools/index.d.ts +2 -1
- package/esm/tools/index.d.ts.map +1 -1
- package/esm/tools/index.js +1 -2
- package/esm/tools/index.js.map +1 -1
- package/package.json +16 -15
- package/styles/css/alerting.css +8 -0
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/main.css +149 -0
- package/styles/css/main.css.map +1 -1
- package/styles/css/visualizationSwitcherToolbar.css +147 -0
- package/styles/css/visualizationSwitcherToolbar.css.map +1 -0
- package/styles/scss/alerting.scss +8 -0
- package/styles/scss/main.scss +1 -0
- package/styles/scss/visualizationSwitcherToolbar.scss +163 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/InsightDropdown.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/InsightDropdown.js.map +0 -1
|
@@ -1,18 +1,44 @@
|
|
|
1
1
|
// (C) 2020-2024 GoodData Corporation
|
|
2
|
-
|
|
2
|
+
/* eslint-disable no-console */
|
|
3
|
+
import React, { useMemo, useState, useCallback } from "react";
|
|
4
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
3
5
|
import cx from "classnames";
|
|
4
6
|
import { widgetRef } from "@gooddata/sdk-model";
|
|
7
|
+
import { ConfirmDialog, OverlayController, OverlayControllerProvider } from "@gooddata/sdk-ui-kit";
|
|
5
8
|
import { DashboardItem, DashboardItemBase } from "../../../presentationComponents/index.js";
|
|
6
|
-
import { selectIsDashboardSaving, useDashboardSelector, useWidgetSelection, } from "../../../../model/index.js";
|
|
9
|
+
import { addVisualizationToSwitcherWidgetContent, updateVisualizationsFromSwitcherWidgetContent, eagerRemoveSectionItemByWidgetRef, selectIsDashboardSaving, useDashboardDispatch, useDashboardSelector, useWidgetSelection, } from "../../../../model/index.js";
|
|
7
10
|
import { DashboardVisualizationSwitcher } from "../../visualizationSwitcher/DashboardVisualizationSwitcher.js";
|
|
11
|
+
import { useDashboardComponentsContext } from "../../../dashboardContexts/index.js";
|
|
12
|
+
import { DASHBOARD_OVERLAYS_FILTER_Z_INDEX } from "../../../../presentation/constants/index.js";
|
|
13
|
+
const overlayController = OverlayController.getInstance(DASHBOARD_OVERLAYS_FILTER_Z_INDEX);
|
|
8
14
|
/**
|
|
9
15
|
* @internal
|
|
10
16
|
*/
|
|
11
|
-
export const EditableDashboardVisualizationSwitcherWidget = ({ widget, screen, dashboardItemClasses }) => {
|
|
12
|
-
const
|
|
17
|
+
export const EditableDashboardVisualizationSwitcherWidget = ({ widget, screen, dashboardItemClasses, onError, onExportReady, onLoadingChanged }) => {
|
|
18
|
+
const dispatch = useDashboardDispatch();
|
|
19
|
+
const intl = useIntl();
|
|
20
|
+
const { isSelectable, isSelected, onSelected, hasConfigPanelOpen } = useWidgetSelection(widgetRef(widget));
|
|
13
21
|
const isSaving = useDashboardSelector(selectIsDashboardSaving);
|
|
14
22
|
const isEditable = !isSaving;
|
|
15
|
-
|
|
16
|
-
|
|
23
|
+
const [activeVisualizationId, setActiveVisualizationId] = useState(widget.visualizations[0]?.identifier);
|
|
24
|
+
const { VisualizationSwitcherToolbarComponentProvider } = useDashboardComponentsContext();
|
|
25
|
+
const [isConfirmDeleteDialogVisible, setIsConfirmDeleteDialogVisible] = useState(false);
|
|
26
|
+
const VisualizationSwitcherToolbarComponent = useMemo(() => VisualizationSwitcherToolbarComponentProvider(widget), [VisualizationSwitcherToolbarComponentProvider, widget]);
|
|
27
|
+
const addVisualization = useCallback((insightWidget, insight, sizeInfo) => {
|
|
28
|
+
dispatch(addVisualizationToSwitcherWidgetContent(widget.ref, insightWidget, insight, sizeInfo));
|
|
29
|
+
}, [widget.ref]);
|
|
30
|
+
const changedVisualizations = useCallback((visualizations) => {
|
|
31
|
+
dispatch(updateVisualizationsFromSwitcherWidgetContent(widget.ref, visualizations));
|
|
32
|
+
}, [widget.ref]);
|
|
33
|
+
return (React.createElement(React.Fragment, null,
|
|
34
|
+
React.createElement(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", "is-edit-mode", { "is-selected": isSelected }), screen: screen },
|
|
35
|
+
React.createElement(DashboardItemBase, { isSelectable: isSelectable, isSelected: isSelected, onSelected: onSelected, contentClassName: cx({ "is-editable": isEditable }), visualizationClassName: "gd-visualization-switcher-widget-wrapper", renderAfterContent: () => {
|
|
36
|
+
return (React.createElement(React.Fragment, null,
|
|
37
|
+
!!isSelected && (React.createElement("div", { className: "dash-item-action dash-item-action-lw-options", onClick: onSelected })),
|
|
38
|
+
!!hasConfigPanelOpen && (React.createElement(VisualizationSwitcherToolbarComponent, { widget: widget, onWidgetDelete: () => setIsConfirmDeleteDialogVisible(true), onVisualizationsChanged: changedVisualizations, onSelectedVisualizationChanged: setActiveVisualizationId, onVisualizationAdded: addVisualization }))));
|
|
39
|
+
} }, ({ clientWidth, clientHeight }) => (React.createElement(DashboardVisualizationSwitcher, { widget: widget, clientHeight: clientHeight, clientWidth: clientWidth, activeVisualizationId: activeVisualizationId, onError: onError, onExportReady: onExportReady, onLoadingChanged: onLoadingChanged, screen: screen })))),
|
|
40
|
+
isConfirmDeleteDialogVisible ? (React.createElement(OverlayControllerProvider, { overlayController: overlayController },
|
|
41
|
+
React.createElement(ConfirmDialog, { className: "s-visualization-switcher-remove-confirm-dialog", onSubmit: () => dispatch(eagerRemoveSectionItemByWidgetRef(widget.ref)), onCancel: () => setIsConfirmDeleteDialogVisible(false), headline: intl.formatMessage({ id: "visualizationSwitcher.deleteDialog.header" }), submitButtonText: intl.formatMessage({ id: "delete" }), cancelButtonText: intl.formatMessage({ id: "cancel" }) },
|
|
42
|
+
React.createElement(FormattedMessage, { id: "visualizationSwitcher.deleteDialog.message" })))) : null));
|
|
17
43
|
};
|
|
18
44
|
//# sourceMappingURL=EditableDashboardVisualizationSwitcherWidget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableDashboardVisualizationSwitcherWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"EditableDashboardVisualizationSwitcherWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,+BAA+B;AAE/B,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAA4B,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAE1E,OAAO,EAAE,aAAa,EAAE,iBAAiB,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ModeAwareDashboardVisualizationSwitcherWidget: import("react").ComponentType<import("./types.js").IDefaultDashboardVisualizationSwitcherWidgetProps>;
|
|
6
6
|
//# sourceMappingURL=RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":";AAMA;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":";AAMA;;GAEG;AACH,eAAO,MAAM,mDAAmD,uGAG9D,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// (C) 2024 GoodData Corporation
|
|
2
2
|
import { renderModeAware } from "../../../componentDefinition/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { DefaultDashboardVisualizationSwitcherWidget } from "./DefaultDashboardVisualizationSwitcherWidget.js";
|
|
4
4
|
import { EditableDashboardVisualizationSwitcherWidget } from "./EditableDashboardVisualizationSwitcherWidget.js";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
|
-
export const
|
|
9
|
-
view:
|
|
8
|
+
export const RenderModeAwareDashboardVisualizationSwitcherWidget = renderModeAware({
|
|
9
|
+
view: DefaultDashboardVisualizationSwitcherWidget,
|
|
10
10
|
edit: EditableDashboardVisualizationSwitcherWidget,
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=RenderModeAwareDashboardVisualizationSwitcherWidget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderModeAwareDashboardVisualizationSwitcherWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"RenderModeAwareDashboardVisualizationSwitcherWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,2CAA2C,EAAE,MAAM,kDAAkD,CAAC;AAC/G,OAAO,EAAE,4CAA4C,EAAE,MAAM,mDAAmD,CAAC;AAEjH;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAG,eAAe,CAAC;IAC/E,IAAI,EAAE,2CAA2C;IACjD,IAAI,EAAE,4CAA4C;CACrD,CAAC,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { IVisualizationSwitcherWidget, ScreenSize } from "@gooddata/sdk-model";
|
|
2
|
+
import { OnError, OnExportReady, OnLoadingChanged } from "@gooddata/sdk-ui";
|
|
2
3
|
export interface IDefaultDashboardVisualizationSwitcherWidgetProps {
|
|
3
4
|
widget: IVisualizationSwitcherWidget;
|
|
4
5
|
screen: ScreenSize;
|
|
5
6
|
dashboardItemClasses: string;
|
|
7
|
+
onLoadingChanged?: OnLoadingChanged;
|
|
8
|
+
onExportReady?: OnExportReady;
|
|
9
|
+
onError?: OnError;
|
|
6
10
|
}
|
|
7
11
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,WAAW,iDAAiD;IAC9D,MAAM,EAAE,4BAA4B,CAAC;IACrC,MAAM,EAAE,UAAU,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { IDashboardWidgetProps, CustomDashboardWidgetComponent } from "./types.js";
|
|
1
|
+
export type { IDashboardWidgetProps, CustomDashboardWidgetComponent } from "./types.js";
|
|
2
2
|
export { DefaultDashboardWidget } from "./DefaultDashboardWidget.js";
|
|
3
3
|
export { DashboardWidget } from "./DashboardWidget.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/index.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/widget/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,qBAAqB,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { DefaultWidgetDeleteDialog, useWidgetDeleteDialogProps } from "./DefaultWidgetDeleteDialog.js";
|
|
2
|
-
export { CustomWidgetDeleteDialogComponent, IWidgetDeleteDialogProps } from "./types.js";
|
|
2
|
+
export type { CustomWidgetDeleteDialogComponent, IWidgetDeleteDialogProps } from "./types.js";
|
|
3
3
|
export { WidgetDeleteDialog } from "./WidgetDeleteDialog.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACvG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACvG,YAAY,EAAE,iCAAiC,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAC9F,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC"}
|