@gooddata/sdk-ui-dashboard 10.20.0-alpha.9 → 10.20.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 +3 -3
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/layout/sizing.d.ts +1 -1
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +4 -1
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/_staging/sharedHooks/useAttributes.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useAttributes.js +10 -4
- package/esm/_staging/sharedHooks/useAttributes.js.map +1 -1
- package/esm/_staging/slideshow/breakupSlideTransformer.d.ts +10 -0
- package/esm/_staging/slideshow/breakupSlideTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/breakupSlideTransformer.js +20 -0
- package/esm/_staging/slideshow/breakupSlideTransformer.js.map +1 -0
- package/esm/_staging/slideshow/containerSlideTransformer.d.ts +11 -0
- package/esm/_staging/slideshow/containerSlideTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/containerSlideTransformer.js +49 -0
- package/esm/_staging/slideshow/containerSlideTransformer.js.map +1 -0
- package/esm/_staging/slideshow/containerSwitcherSlideTransformer.d.ts +8 -0
- package/esm/_staging/slideshow/containerSwitcherSlideTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/containerSwitcherSlideTransformer.js +115 -0
- package/esm/_staging/slideshow/containerSwitcherSlideTransformer.js.map +1 -0
- package/esm/_staging/slideshow/index.d.ts +10 -0
- package/esm/_staging/slideshow/index.d.ts.map +1 -0
- package/esm/_staging/slideshow/index.js +11 -0
- package/esm/_staging/slideshow/index.js.map +1 -0
- package/esm/_staging/slideshow/itemsSlideTransformer.d.ts +9 -0
- package/esm/_staging/slideshow/itemsSlideTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/itemsSlideTransformer.js +13 -0
- package/esm/_staging/slideshow/itemsSlideTransformer.js.map +1 -0
- package/esm/_staging/slideshow/layoutTransformer.d.ts +9 -0
- package/esm/_staging/slideshow/layoutTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/layoutTransformer.js +24 -0
- package/esm/_staging/slideshow/layoutTransformer.js.map +1 -0
- package/esm/_staging/slideshow/sectionSlideTransformer.d.ts +4 -0
- package/esm/_staging/slideshow/sectionSlideTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/sectionSlideTransformer.js +19 -0
- package/esm/_staging/slideshow/sectionSlideTransformer.js.map +1 -0
- package/esm/_staging/slideshow/singleWidgetTransformer.d.ts +6 -0
- package/esm/_staging/slideshow/singleWidgetTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/singleWidgetTransformer.js +21 -0
- package/esm/_staging/slideshow/singleWidgetTransformer.js.map +1 -0
- package/esm/_staging/slideshow/switcherSlideTransformer.d.ts +9 -0
- package/esm/_staging/slideshow/switcherSlideTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/switcherSlideTransformer.js +37 -0
- package/esm/_staging/slideshow/switcherSlideTransformer.js.map +1 -0
- package/esm/_staging/slideshow/utils/index.d.ts +16 -0
- package/esm/_staging/slideshow/utils/index.d.ts.map +1 -0
- package/esm/_staging/slideshow/utils/index.js +57 -0
- package/esm/_staging/slideshow/utils/index.js.map +1 -0
- package/esm/_staging/slideshow/widgetSlideTransformer.d.ts +3 -0
- package/esm/_staging/slideshow/widgetSlideTransformer.d.ts.map +1 -0
- package/esm/_staging/slideshow/widgetSlideTransformer.js +24 -0
- package/esm/_staging/slideshow/widgetSlideTransformer.js.map +1 -0
- package/esm/model/commandHandlers/common/validateDrills.d.ts +2 -2
- package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.d.ts +7 -0
- package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.js +13 -0
- package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +3 -3
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +7 -3
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +30 -28
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.js +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts +5 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +16 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts +10 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +17 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +8 -2
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.d.ts +4 -0
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +10 -2
- package/esm/model/commandHandlers/filterContext/common.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +6 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +3 -8
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
- package/esm/model/index.d.ts +1 -1
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js.map +1 -1
- package/esm/model/queryServices/queryAttributeByDisplayForm.d.ts.map +1 -1
- package/esm/model/queryServices/queryAttributeByDisplayForm.js +16 -9
- package/esm/model/queryServices/queryAttributeByDisplayForm.js.map +1 -1
- package/esm/model/queryServices/queryAttributeDataset.d.ts +1 -1
- package/esm/model/queryServices/queryAttributeDataset.d.ts.map +1 -1
- package/esm/model/queryServices/queryAttributeDataset.js +14 -6
- package/esm/model/queryServices/queryAttributeDataset.js.map +1 -1
- package/esm/model/queryServices/queryWidgetFilters.d.ts +1 -1
- package/esm/model/queryServices/queryWidgetFilters.d.ts.map +1 -1
- package/esm/model/queryServices/queryWidgetFilters.js +12 -13
- package/esm/model/queryServices/queryWidgetFilters.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +4 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +6 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +3 -2
- package/esm/model/store/dashboardStore.js.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts +4 -0
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js +8 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts +5 -0
- package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.js +8 -1
- package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.d.ts +7 -0
- package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.js +9 -1
- package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextState.d.ts +6 -0
- package/esm/model/store/filterContext/filterContextState.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextState.js +2 -1
- package/esm/model/store/filterContext/filterContextState.js.map +1 -1
- package/esm/model/store/filterContext/index.d.ts +4 -0
- package/esm/model/store/filterContext/index.d.ts.map +1 -1
- package/esm/model/store/index.d.ts +4 -4
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +4 -4
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/renderMode/index.d.ts +1 -0
- package/esm/model/store/renderMode/index.d.ts.map +1 -1
- package/esm/model/store/renderMode/renderModeReducers.d.ts +1 -0
- package/esm/model/store/renderMode/renderModeReducers.d.ts.map +1 -1
- package/esm/model/store/renderMode/renderModeReducers.js +4 -0
- package/esm/model/store/renderMode/renderModeReducers.js.map +1 -1
- package/esm/model/store/renderMode/renderModeSelectors.d.ts +6 -0
- package/esm/model/store/renderMode/renderModeSelectors.d.ts.map +1 -1
- package/esm/model/store/renderMode/renderModeSelectors.js +7 -1
- package/esm/model/store/renderMode/renderModeSelectors.js.map +1 -1
- package/esm/model/types/commonTypes.d.ts +48 -3
- package/esm/model/types/commonTypes.d.ts.map +1 -1
- package/esm/model/types/commonTypes.js.map +1 -1
- package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
- package/esm/plugins/customizationApis/customizationBuilder.js +1 -0
- package/esm/plugins/customizationApis/customizationBuilder.js.map +1 -1
- package/esm/plugins/customizationApis/exportLayoutCustomizer.d.ts +13 -0
- package/esm/plugins/customizationApis/exportLayoutCustomizer.d.ts.map +1 -0
- package/esm/plugins/customizationApis/exportLayoutCustomizer.js +47 -0
- package/esm/plugins/customizationApis/exportLayoutCustomizer.js.map +1 -0
- package/esm/plugins/customizationApis/filterBarCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/filterBarCustomizer.js +2 -2
- package/esm/plugins/customizationApis/filterBarCustomizer.js.map +1 -1
- package/esm/plugins/customizationApis/layoutCustomizer.d.ts +5 -1
- package/esm/plugins/customizationApis/layoutCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/layoutCustomizer.js +57 -0
- package/esm/plugins/customizationApis/layoutCustomizer.js.map +1 -1
- package/esm/plugins/customizationApis/titleCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/titleCustomizer.js +2 -2
- package/esm/plugins/customizationApis/titleCustomizer.js.map +1 -1
- package/esm/plugins/customizationApis/topBarCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/topBarCustomizer.js +2 -2
- package/esm/plugins/customizationApis/topBarCustomizer.js.map +1 -1
- package/esm/plugins/customizationApis/types.d.ts +2 -1
- package/esm/plugins/customizationApis/types.d.ts.map +1 -1
- package/esm/plugins/customizationApis/types.js +1 -0
- package/esm/plugins/customizationApis/types.js.map +1 -1
- package/esm/plugins/customizer.d.ts +113 -0
- package/esm/plugins/customizer.d.ts.map +1 -1
- package/esm/plugins/index.d.ts +1 -1
- package/esm/plugins/index.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +3 -3
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js.map +1 -1
- package/esm/presentation/componentDefinition/renderModeAware.d.ts.map +1 -1
- package/esm/presentation/componentDefinition/renderModeAware.js +5 -3
- package/esm/presentation/componentDefinition/renderModeAware.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.js +11 -2
- package/esm/presentation/dashboard/components/DashboardInner.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +6 -6
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/types.d.ts +42 -0
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboard/types.js +9 -1
- package/esm/presentation/dashboard/types.js.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.d.ts +3 -0
- package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.js +1 -1
- package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.js.map +1 -1
- package/esm/presentation/dashboardContexts/index.d.ts +1 -0
- package/esm/presentation/dashboardContexts/index.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/index.js +2 -1
- package/esm/presentation/dashboardContexts/index.js.map +1 -1
- package/esm/presentation/dashboardContexts/useSlideData.d.ts +19 -0
- package/esm/presentation/dashboardContexts/useSlideData.d.ts.map +1 -0
- package/esm/presentation/dashboardContexts/useSlideData.js +39 -0
- package/esm/presentation/dashboardContexts/useSlideData.js.map +1 -0
- package/esm/presentation/export/index.d.ts +3 -0
- package/esm/presentation/export/index.d.ts.map +1 -0
- package/esm/presentation/export/index.js +4 -0
- package/esm/presentation/export/index.js.map +1 -0
- package/esm/presentation/export/types.d.ts +67 -0
- package/esm/presentation/export/types.d.ts.map +1 -0
- package/esm/presentation/export/types.js +3 -0
- package/esm/presentation/export/types.js.map +1 -0
- package/esm/presentation/export/useExportData.d.ts +15 -0
- package/esm/presentation/export/useExportData.d.ts.map +1 -0
- package/esm/presentation/export/useExportData.js +54 -0
- package/esm/presentation/export/useExportData.js.map +1 -0
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +8 -5
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useAttributeDataSet.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useAttributeDataSet.js +8 -4
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useAttributeDataSet.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.d.ts +6 -0
- package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.d.ts.map +1 -0
- package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.js +12 -0
- package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.js.map +1 -0
- package/esm/presentation/filterBar/filterBar/index.d.ts +1 -0
- package/esm/presentation/filterBar/filterBar/index.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/index.js +2 -1
- package/esm/presentation/filterBar/filterBar/index.js.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +6 -3
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +24 -11
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts +4 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js +25 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +2 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +16 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts +2 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +3 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +3 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.d.ts +2 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +3 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts +3 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js +13 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +9 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +7 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js +3 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js +3 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +27 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +5 -2
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +0 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -1
- package/esm/presentation/index.d.ts +1 -0
- package/esm/presentation/index.d.ts.map +1 -1
- package/esm/presentation/index.js +2 -1
- package/esm/presentation/index.js.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js +6 -3
- package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.js +6 -3
- package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js +16 -6
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts +4 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts.map +1 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js +12 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js.map +1 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +4 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts +2 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +4 -4
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts +2 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +3 -3
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts +3 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts.map +1 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js +18 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js.map +1 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js +3 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js +3 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts +18 -0
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +16 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts +3 -0
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js +2 -2
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.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 +3 -3
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.d.ts +1 -0
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.js +3 -2
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.js.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.d.ts +2 -0
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js +2 -2
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadlineContainer.d.ts +2 -0
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadlineContainer.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadlineContainer.js +5 -5
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadlineContainer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts +2 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js +8 -8
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +4 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +4 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +4 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.d.ts +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.js +4 -4
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +6 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.d.ts +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.js +4 -4
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.js.map +1 -1
- package/esm/presentation/topBar/title/RenderModeAwareTitle.d.ts +2 -2
- package/esm/presentation/topBar/title/RenderModeAwareTitle.d.ts.map +1 -1
- package/esm/presentation/topBar/title/RenderModeAwareTitle.js +3 -1
- package/esm/presentation/topBar/title/RenderModeAwareTitle.js.map +1 -1
- package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.d.ts +6 -0
- package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.d.ts.map +1 -0
- package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.js +12 -0
- package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.js.map +1 -0
- package/esm/presentation/topBar/topBar/index.d.ts +1 -0
- package/esm/presentation/topBar/topBar/index.d.ts.map +1 -1
- package/esm/presentation/topBar/topBar/index.js +2 -1
- package/esm/presentation/topBar/topBar/index.js.map +1 -1
- package/esm/presentation/widget/common/useWidgetHighlighting.d.ts.map +1 -1
- package/esm/presentation/widget/common/useWidgetHighlighting.js +5 -2
- package/esm/presentation/widget/common/useWidgetHighlighting.js.map +1 -1
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts +9 -0
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts.map +1 -0
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +19 -0
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js.map +1 -0
- package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.d.ts +12 -0
- package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.d.ts.map +1 -0
- package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.js +15 -0
- package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.js.map +1 -0
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +8 -12
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js.map +1 -1
- package/esm/presentation/widget/description/types.d.ts +2 -0
- package/esm/presentation/widget/description/types.d.ts.map +1 -1
- package/esm/presentation/widget/description/useInsightWidgetDescription.d.ts +7 -0
- package/esm/presentation/widget/description/useInsightWidgetDescription.d.ts.map +1 -0
- package/esm/presentation/widget/description/useInsightWidgetDescription.js +21 -0
- package/esm/presentation/widget/description/useInsightWidgetDescription.js.map +1 -0
- package/esm/presentation/widget/insight/DefaultDashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsight.js +3 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsight.js.map +1 -1
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.d.ts +4 -0
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.d.ts.map +1 -0
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.js +7 -0
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.js.map +1 -0
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.d.ts +2 -0
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.d.ts.map +1 -0
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.js +3 -0
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.js.map +1 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +35 -16
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.js +3 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +4 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +4 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +2 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts +2 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +3 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +3 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +6 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +4 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +7 -7
- 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 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +8 -17
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.d.ts +3 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.d.ts +12 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.js +26 -7
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.d.ts +6 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js +43 -18
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
- package/esm/presentation/widget/insight/types.d.ts +5 -0
- package/esm/presentation/widget/insight/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/types.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +2 -2
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js.map +1 -1
- package/esm/presentation/widget/richText/DefaultDashboardRichText.d.ts.map +1 -1
- package/esm/presentation/widget/richText/DefaultDashboardRichText.js +3 -1
- package/esm/presentation/widget/richText/DefaultDashboardRichText.js.map +1 -1
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.d.ts +4 -0
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.d.ts.map +1 -0
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.js +10 -0
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.js.map +1 -0
- package/esm/presentation/widget/richText/types.d.ts +7 -0
- package/esm/presentation/widget/richText/types.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.d.ts +2 -0
- package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.js +3 -3
- package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js +3 -1
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.js +10 -0
- package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +12 -7
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/types.js +1 -1
- package/esm/presentation/widget/visualizationSwitcher/types.js.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +6 -6
- 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 +12 -6
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.d.ts +10 -0
- package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.js +16 -0
- package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.js.map +1 -0
- package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.js +3 -1
- package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/types.d.ts +2 -0
- package/esm/presentation/widget/widget/InsightWidget/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.d.ts +7 -0
- package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.js +13 -0
- package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.js.map +1 -0
- package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.js +3 -1
- package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.js.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/types.d.ts +2 -0
- package/esm/presentation/widget/widget/RichTextWidget/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.d.ts +7 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.js +13 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js +3 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts +2 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +5 -5
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts +2 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.js +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.js.map +1 -1
- package/esm/presentation/widget/widget/types.d.ts +7 -0
- package/esm/presentation/widget/widget/types.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +386 -6
- package/esm/types.d.ts +1 -1
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js +1 -1
- package/package.json +15 -15
- package/styles/css/dashboard.css +5 -2
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/kpi_alert_dialog.css.map +1 -1
- package/styles/css/layout.css +1 -1
- package/styles/css/layout.css.map +1 -1
- package/styles/css/main.css +21 -3
- package/styles/css/main.css.map +1 -1
- package/styles/css/remove.css +8 -0
- package/styles/css/remove.css.map +1 -0
- package/styles/css/resizing.css.map +1 -1
- package/styles/css/topBar.css.map +1 -1
- package/styles/scss/_zIndexes.scss +2 -2
- package/styles/scss/dashboard.scss +5 -1
- package/styles/scss/main.scss +2 -1
- package/styles/scss/remove.scss +9 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import union from "lodash/union.js";
|
|
4
4
|
import { FluidLayoutCustomizer } from "./fluidLayoutCustomizer.js";
|
|
5
|
+
import { ExportLayoutCustomizer } from "./exportLayoutCustomizer.js";
|
|
5
6
|
import { DefaultDashboardLayout as DefaultDashboardLayoutComponent, } from "../../presentation/index.js";
|
|
6
7
|
import { InvariantError } from "ts-invariant";
|
|
7
8
|
const DefaultDashboardLayout = () => {
|
|
@@ -59,6 +60,7 @@ export class DefaultLayoutCustomizer {
|
|
|
59
60
|
logger;
|
|
60
61
|
mutationContext;
|
|
61
62
|
fluidLayoutTransformations = [];
|
|
63
|
+
exportLayoutTransformations = [];
|
|
62
64
|
sealed = false;
|
|
63
65
|
state;
|
|
64
66
|
constructor(logger, mutationContext, defaultProvider = DefaultDashboardLayout) {
|
|
@@ -75,6 +77,15 @@ export class DefaultLayoutCustomizer {
|
|
|
75
77
|
}
|
|
76
78
|
return this;
|
|
77
79
|
};
|
|
80
|
+
customizeExportLayout = (customizationFn) => {
|
|
81
|
+
if (!this.sealed) {
|
|
82
|
+
this.exportLayoutTransformations.push(customizationFn);
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
this.logger.warn(`Attempting to add layout export customization outside of plugin registration. Ignoring.`);
|
|
86
|
+
}
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
78
89
|
withCustomProvider = (provider) => {
|
|
79
90
|
if (this.sealed) {
|
|
80
91
|
// eslint-disable-next-line no-console
|
|
@@ -163,5 +174,51 @@ export class DefaultLayoutCustomizer {
|
|
|
163
174
|
};
|
|
164
175
|
};
|
|
165
176
|
};
|
|
177
|
+
getExistingLayoutTransformFn = () => {
|
|
178
|
+
const snapshot = [...this.exportLayoutTransformations];
|
|
179
|
+
const { logger, mutationContext } = this;
|
|
180
|
+
function handler(layout) {
|
|
181
|
+
/*
|
|
182
|
+
* Once the dashboard component supports multiple layout types, then the code here must only
|
|
183
|
+
* perform the transformations applicable for the dashboard's layout type..
|
|
184
|
+
*
|
|
185
|
+
* At this point, since dashboard only supports fluid layout, the code tests that there is a
|
|
186
|
+
* layout in a dashboard and is of expected type. This condition will be always true for
|
|
187
|
+
* non-empty, non-corrupted dashboards
|
|
188
|
+
*/
|
|
189
|
+
if (!layout || layout.type !== "IDashboardLayout") {
|
|
190
|
+
return undefined;
|
|
191
|
+
}
|
|
192
|
+
//We need to skip export layout changes if nothing defined, than default transformer
|
|
193
|
+
//will be used
|
|
194
|
+
if (snapshot.length === 0) {
|
|
195
|
+
return undefined;
|
|
196
|
+
}
|
|
197
|
+
const newLayout = snapshot.reduce((currentLayout, fn) => {
|
|
198
|
+
// Create a new fluid layout customizer just for this round of processing
|
|
199
|
+
const customizer = new ExportLayoutCustomizer(logger, mutationContext);
|
|
200
|
+
try {
|
|
201
|
+
// call out to the plugin-provided function with the current value of the layout & the
|
|
202
|
+
// customizer to use. the custom function may now inspect the layout & use the customizer
|
|
203
|
+
// to add sections or items. customizer will not reflect those changes immediately. instead
|
|
204
|
+
// it will accumulate those operations
|
|
205
|
+
fn(currentLayout, customizer);
|
|
206
|
+
// now make the customizer apply the registered layout modifications; this is done so that
|
|
207
|
+
// customizer can guarantee that all new items are added at first (keeping the original
|
|
208
|
+
// section indexes) and only then new sections are added
|
|
209
|
+
return customizer.applyTransformations(currentLayout);
|
|
210
|
+
}
|
|
211
|
+
catch (e) {
|
|
212
|
+
logger.error("An error has occurred while transforming export dashboard layout. Skipping failed transformation.", e);
|
|
213
|
+
return currentLayout;
|
|
214
|
+
}
|
|
215
|
+
}, layout);
|
|
216
|
+
return {
|
|
217
|
+
...layout,
|
|
218
|
+
sections: newLayout.sections,
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
return handler;
|
|
222
|
+
};
|
|
166
223
|
}
|
|
167
224
|
//# sourceMappingURL=layoutCustomizer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layoutCustomizer.js","sourceRoot":"","sources":["../../../src/plugins/customizationApis/layoutCustomizer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"layoutCustomizer.js","sourceRoot":"","sources":["../../../src/plugins/customizationApis/layoutCustomizer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAOpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAKrE,OAAO,EAIH,sBAAsB,IAAI,+BAA+B,GAC5D,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAY9C,MAAM,sBAAsB,GAA4B,GAAG,EAAE;IACzD,OAAO,+BAA+B,CAAC;AAC3C,CAAC,CAAC;AAEF,MAAM,4BAA4B;IAC9B;;;;;;;;OAQG;IACc,iBAAiB,CAA4B;IAE9D;;OAEG;IACc,YAAY,GAA4B,CAAC,MAAM,EAAE,EAAE;QAChE,MAAM,aAAa,GAAG,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC,CAAC,OAAO,EAAE,CAAC;QAE5D,KAAK,MAAM,QAAQ,IAAI,aAAa,EAAE,CAAC;YACnC,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;YAEnC,IAAI,SAAS,EAAE,CAAC;gBACZ,OAAO,SAAS,CAAC;YACrB,CAAC;QACL,CAAC;QAED,mGAAmG;QACnG,yCAAyC;QACzC,MAAM,IAAI,cAAc,EAAE,CAAC;IAC/B,CAAC,CAAC;IAEF;;;;;;;OAOG;IACK,YAAY,GAA4B,IAAI,C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A,CAAC;gBACnD,CAAC;gBAAC,OAAO,CAAC,EAAE,CAAC;oBACT,MAAM,CAAC,KAAK,CACR,mGAAmG,EACnG,CAAC,CACJ,CAAC;oBAEF,OAAO,aAA0D,CAAC;gBACtE,CAAC;YACL,CAAC,EAAE,MAAmD,CAAC,CAAC;YAExD,OAAO;gBACH,GAAG,MAAM;gBACT,QAAQ,EAAE,SAAS,CAAC,QAAQ;aACF,CAAC;QACnC,CAAC;QAED,OAAO,OAAO,CAAC;IACnB,CAAC,CAAC;CACL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titleCustomizer.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/titleCustomizer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EACH,oBAAoB,
|
|
1
|
+
{"version":3,"file":"titleCustomizer.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/titleCustomizer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EACH,oBAAoB,EACpB,8BAA8B,EAE9B,sBAAsB,EACzB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAaxD,UAAU,sBAAsB;IAC5B,cAAc,EAAE,oBAAoB,GAAG,SAAS,CAAC;CACpD;AA2FD;;;;;;;;;;GAUG;AACH,qBAAa,sBAAuB,YAAW,gBAAgB;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IACvD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA6B;IAC7D,OAAO,CAAC,KAAK,CAAwB;gBAGjC,MAAM,EAAE,6BAA6B,EACrC,eAAe,EAAE,0BAA0B,EAC3C,eAAe,GAAE,sBAAqD;IAOnE,kBAAkB,aAAc,8BAA8B,KAAG,gBAAgB,CAKtF;IAEK,mBAAmB,CACtB,eAAe,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,8BAA8B,GAClF,gBAAgB;IA0BnB,mBAAmB,QAAO,sBAAsB,CAO9C;IAEK,cAAc,QAAO,IAAI,CAE9B;CACL"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// (C) 2021-2025 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { InvariantError } from "ts-invariant";
|
|
4
|
-
import {
|
|
4
|
+
import { RenderModeAwareTitle, } from "../../presentation/index.js";
|
|
5
5
|
import union from "lodash/union.js";
|
|
6
6
|
const DefaultTitleRendererProvider = () => {
|
|
7
|
-
return
|
|
7
|
+
return RenderModeAwareTitle;
|
|
8
8
|
};
|
|
9
9
|
class DefaultTitleCustomizerState {
|
|
10
10
|
/*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titleCustomizer.js","sourceRoot":"","sources":["../../../src/plugins/customizationApis/titleCustomizer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,
|
|
1
|
+
{"version":3,"file":"titleCustomizer.js","sourceRoot":"","sources":["../../../src/plugins/customizationApis/titleCustomizer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EAGH,oBAAoB,GAEvB,MAAM,6BAA6B,CAAC;AAIrC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAEpC,MAAM,4BAA4B,GAA2B,GAAG,EAAE;IAC9D,OAAO,oBAAoB,CAAC;AAChC,CAAC,CAAC;AAYF,MAAM,2BAA2B;IAC7B;;;;;;;;OAQG;IACc,iBAAiB,CAA2B;IAE7D;;OAE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AChC,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC;QAC/C,IAAI,CAAC,eAAe,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;QAE9E,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,mBAAmB,GAAG,GAA2B,EAAE;QAC/C,OAAO;YACH,cAAc,EAAE,CAAC,KAAK,EAAE,EAAE;gBACtB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC,KAAK,CAAC,CAAC;gBACjD,OAAO,oBAAC,IAAI,OAAK,KAAK,GAAI,CAAC;YAC/B,CAAC;SACJ,CAAC;IACN,CAAC,CAAC;IAEK,cAAc,GAAG,GAAS,EAAE;QAC/B,IAAI,CAAC,KAAK,GAAG,IAAI,0BAA0B,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACzE,CAAC,CAAC;CACL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topBarCustomizer.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/topBarCustomizer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACH,qBAAqB,
|
|
1
|
+
{"version":3,"file":"topBarCustomizer.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/topBarCustomizer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACH,qBAAqB,EACrB,+BAA+B,EAE/B,uBAAuB,EAC1B,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAaxD,UAAU,uBAAuB;IAC7B,eAAe,EAAE,qBAAqB,GAAG,SAAS,CAAC;CACtD;AA+FD;;;;;;;;;;GAUG;AACH,qBAAa,uBAAwB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IACvD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA6B;IAC7D,OAAO,CAAC,KAAK,CAAyB;gBAGlC,MAAM,EAAE,6BAA6B,EACrC,eAAe,EAAE,0BAA0B,EAC3C,eAAe,GAAE,uBAAuD;IAOrE,kBAAkB,aAAc,+BAA+B,KAAG,iBAAiB,CAKxF;IAEK,mBAAmB,CACtB,eAAe,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,+BAA+B,GACpF,iBAAiB;IA0BpB,mBAAmB,QAAO,uBAAuB,CAO/C;IAEK,cAAc,QAAO,IAAI,CAE9B;CACL"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// (C) 2021-2025 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { InvariantError } from "ts-invariant";
|
|
4
|
-
import {
|
|
4
|
+
import { RenderModeAwareTopBar, } from "../../presentation/index.js";
|
|
5
5
|
import union from "lodash/union.js";
|
|
6
6
|
const DefaultTopBarRendererProvider = () => {
|
|
7
|
-
return
|
|
7
|
+
return RenderModeAwareTopBar;
|
|
8
8
|
};
|
|
9
9
|
class DefaultTopBarCustomizerState {
|
|
10
10
|
/*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topBarCustomizer.js","sourceRoot":"","sources":["../../../src/plugins/customizationApis/topBarCustomizer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,
|
|
1
|
+
{"version":3,"file":"topBarCustomizer.js","sourceRoot":"","sources":["../../../src/plugins/customizationApis/topBarCustomizer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAA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CAAC,YAAY,CAAC,CAAC;QACxD,mGAAmG;QACnG,+CAA+C;QAC/C,MAAM,eAAe,GAA4B,CAAC,KAAK,EAAE,EAAE;YACvD,MAAM,SAAS,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;YAE3C,IAAI,SAAS,EAAE,CAAC;gBACZ,OAAO,SAAS,CAAC;YACrB,CAAC;YAED,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC,CAAC;QAEF,gGAAgG;QAChG,gCAAgC;QAChC,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC;QAC/C,IAAI,CAAC,eAAe,CAAC,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;QAEhF,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,mBAAmB,GAAG,GAA4B,EAAE;QAChD,OAAO;YACH,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;gBACvB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC,KAAK,CAAC,CAAC;gBACjD,OAAO,oBAAC,IAAI,OAAK,KAAK,GAAI,CAAC;YAC/B,CAAC;SACJ,CAAC;IACN,CAAC,CAAC;IAEK,cAAc,GAAG,GAAS,EAAE;QAC/B,IAAI,CAAC,KAAK,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1E,CAAC,CAAC;CACL"}
|
|
@@ -12,7 +12,8 @@ export type CustomizerMutationsContext = {
|
|
|
12
12
|
visualizationSwitcher: CustomizerMutationsType[];
|
|
13
13
|
visualizationSwitcherToolbar: CustomizerMutationsType[];
|
|
14
14
|
layouts: Record<string, CustomizerMutationsType>;
|
|
15
|
+
exports: CustomizerMutationsType[];
|
|
15
16
|
};
|
|
16
|
-
export type CustomizerMutationsType = "tag" | "provider" | "body" | "decorator" | "inserted";
|
|
17
|
+
export type CustomizerMutationsType = "tag" | "provider" | "body" | "decorator" | "inserted" | "transformed";
|
|
17
18
|
export declare function createCustomizerMutationsContext(): CustomizerMutationsContext;
|
|
18
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,0BAA0B,GAAG;IACrC,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACnC,GAAG,EAAE,uBAAuB,EAAE,CAAC;IAC/B,eAAe,EAAE,uBAAuB,EAAE,CAAC;IAC3C,gBAAgB,EAAE,uBAAuB,EAAE,CAAC;IAC5C,MAAM,EAAE,uBAAuB,EAAE,CAAC;IAClC,SAAS,EAAE,uBAAuB,EAAE,CAAC;IACrC,MAAM,EAAE,uBAAuB,EAAE,CAAC;IAClC,QAAQ,EAAE,uBAAuB,EAAE,CAAC;IACpC,KAAK,EAAE,uBAAuB,EAAE,CAAC;IACjC,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACnC,qBAAqB,EAAE,uBAAuB,EAAE,CAAC;IACjD,4BAA4B,EAAE,uBAAuB,EAAE,CAAC;IACxD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,0BAA0B,GAAG;IACrC,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACnC,GAAG,EAAE,uBAAuB,EAAE,CAAC;IAC/B,eAAe,EAAE,uBAAuB,EAAE,CAAC;IAC3C,gBAAgB,EAAE,uBAAuB,EAAE,CAAC;IAC5C,MAAM,EAAE,uBAAuB,EAAE,CAAC;IAClC,SAAS,EAAE,uBAAuB,EAAE,CAAC;IACrC,MAAM,EAAE,uBAAuB,EAAE,CAAC;IAClC,QAAQ,EAAE,uBAAuB,EAAE,CAAC;IACpC,KAAK,EAAE,uBAAuB,EAAE,CAAC;IACjC,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACnC,qBAAqB,EAAE,uBAAuB,EAAE,CAAC;IACjD,4BAA4B,EAAE,uBAAuB,EAAE,CAAC;IACxD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IACjD,OAAO,EAAE,uBAAuB,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,KAAK,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,aAAa,CAAC;AAE7G,wBAAgB,gCAAgC,IAAI,0BAA0B,CAiB7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/plugins/customizationApis/types.ts"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/plugins/customizationApis/types.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAqBrC,MAAM,UAAU,gCAAgC;IAC5C,OAAO;QACH,OAAO,EAAE,EAAE;QACX,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,EAAE;QACV,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,EAAE;QACnB,4BAA4B,EAAE,EAAE;QAChC,qBAAqB,EAAE,EAAE;QACzB,gBAAgB,EAAE,EAAE;QACpB,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,EAAE;KACd,CAAC;AACN,CAAC"}
|
|
@@ -275,6 +275,102 @@ export interface IFluidLayoutCustomizer {
|
|
|
275
275
|
* @public
|
|
276
276
|
*/
|
|
277
277
|
export type FluidLayoutCustomizationFn = (layout: IDashboardLayout<ExtendedDashboardWidget>, customizer: IFluidLayoutCustomizer) => void;
|
|
278
|
+
/**
|
|
279
|
+
* Set of functions you can use to customize the export layout of the dashboard rendered.
|
|
280
|
+
*
|
|
281
|
+
* @alpha
|
|
282
|
+
*/
|
|
283
|
+
export interface IExportLayoutCustomizer<TWidget> {
|
|
284
|
+
addTransformer(fn: SectionSlidesTransformer<TWidget>): IExportLayoutCustomizer<TWidget>;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* @alpha
|
|
288
|
+
*/
|
|
289
|
+
export type ExportLayoutCustomizationFn = <TWidget>(layout: IDashboardLayout, customizer: IExportLayoutCustomizer<TWidget>) => void;
|
|
290
|
+
/**
|
|
291
|
+
* @alpha
|
|
292
|
+
*/
|
|
293
|
+
export type SectionSlidesTransformer<TWidget> = (section: IDashboardLayoutSection<TWidget>, fn: SectionSlidesTransformerFunction<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* @alpha
|
|
296
|
+
*/
|
|
297
|
+
export interface SectionSlidesTransformerFunction<TWidget> {
|
|
298
|
+
/**
|
|
299
|
+
* Default transformer for the section. This is used as default transformation method for the section in
|
|
300
|
+
* case that no plugin override it. Can be used to provide default transformation for the section in custom
|
|
301
|
+
* plugin.
|
|
302
|
+
*
|
|
303
|
+
* @param section - Section to transform
|
|
304
|
+
*/
|
|
305
|
+
defaultSection: (section: IDashboardLayoutSection<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* Default transformer for the items. This is used as default transformation method for the items in
|
|
308
|
+
* section in case that no plugin override it. Can be used to provide default transformation for the items in
|
|
309
|
+
* custom plugin.
|
|
310
|
+
*
|
|
311
|
+
* @param section - Section to transform
|
|
312
|
+
*/
|
|
313
|
+
defaultItems: (section: IDashboardLayoutSection<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* This transformer ís used to extract break up slide from current section. Break up slide is created
|
|
316
|
+
* from section title and description. This transformer only create slide when section has title or description.
|
|
317
|
+
*
|
|
318
|
+
* @param section - Section to transform
|
|
319
|
+
*/
|
|
320
|
+
breakUpSlide: (section: IDashboardLayoutSection<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
321
|
+
/**
|
|
322
|
+
* This transformer is used to extract widget slide from current section and provided item. Widget slide is created from
|
|
323
|
+
* provided item. Widget slide always contains only one item that mean there will be one item on created slide.
|
|
324
|
+
*
|
|
325
|
+
* @param item - Layout item (widget, kpi, ...) to transform
|
|
326
|
+
*/
|
|
327
|
+
widgetSlide: (item: IDashboardLayoutItem<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* This transformer is used to create multiple slides from switcher widget. Each slide contains one visualization
|
|
330
|
+
* that is part of the switcher.
|
|
331
|
+
*
|
|
332
|
+
* @param item - Layout item specifically visualization switcher to transform
|
|
333
|
+
*/
|
|
334
|
+
switcherSlide: (item: IDashboardLayoutItem<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* This is more complex transformer that is used to transform container item in the layout to a slide. Container item is
|
|
337
|
+
* transformed as a structured slide, but if it contains a visualization switcher, it is transformed to a flat list of visualizations
|
|
338
|
+
* that are part of container item.
|
|
339
|
+
*
|
|
340
|
+
* @param item - Layout item specifically container to transform
|
|
341
|
+
* @param transform - function to transform each section in the layout
|
|
342
|
+
*/
|
|
343
|
+
containerSlide: (item: IDashboardLayoutItem<TWidget>, transform: (section: IDashboardLayoutSection<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* This is more complex transformer that is used to transform container item in the layout to a slide. Container item is
|
|
346
|
+
* transformed as a structured slide, but if it contains a visualization switcher, switcher is spread into multiple slides
|
|
347
|
+
* where each slide contains one visualization from each switcher.
|
|
348
|
+
*
|
|
349
|
+
* @remarks
|
|
350
|
+
* If there are 2 switchers in the container, one with 3 visualizations and the other with 2 visualizations, then
|
|
351
|
+
* this transformer will create 3 slides. First slide will contain first visualizations from both switchers, second slide
|
|
352
|
+
* will contain second visualizations from both switchers and last slide will contain third visualization from the first
|
|
353
|
+
* switcher and empty item from the second switcher.
|
|
354
|
+
*
|
|
355
|
+
* @param item - Layout item specifically container to transform
|
|
356
|
+
* @param transform - function to transform each section in the layout
|
|
357
|
+
*/
|
|
358
|
+
containerSwitcherSlide: (item: IDashboardLayoutItem<TWidget>, transform: (section: IDashboardLayoutSection<TWidget>) => IDashboardLayoutSection<TWidget>[] | undefined) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
359
|
+
/**
|
|
360
|
+
* This is helper function that is used to iterate all items in the section. On every item
|
|
361
|
+
* it calls provided transform function. This function is used to transform all items in the section.
|
|
362
|
+
*
|
|
363
|
+
* @param section - Section to transform
|
|
364
|
+
* @param transform - function to transform each item in the layout
|
|
365
|
+
*/
|
|
366
|
+
itemsSlide: (section: IDashboardLayoutSection<TWidget>, transform: (item: IDashboardLayoutItem<TWidget>) => IDashboardLayoutSection<TWidget>[]) => IDashboardLayoutSection<TWidget>[] | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* This function is used to determine if the section contains visualization switcher.
|
|
369
|
+
*
|
|
370
|
+
* @param section - Section to check
|
|
371
|
+
*/
|
|
372
|
+
containsVisualisationSwitcher: (section: IDashboardLayoutSection<TWidget>) => boolean;
|
|
373
|
+
}
|
|
278
374
|
/**
|
|
279
375
|
* @alpha
|
|
280
376
|
*/
|
|
@@ -348,6 +444,23 @@ export interface IDashboardLayoutCustomizer {
|
|
|
348
444
|
* be called.
|
|
349
445
|
*/
|
|
350
446
|
customizeFluidLayout(fun: FluidLayoutCustomizationFn): IDashboardLayoutCustomizer;
|
|
447
|
+
/**
|
|
448
|
+
* Register customization of the export layout that is used to render the dashboard.
|
|
449
|
+
*
|
|
450
|
+
* @remarks
|
|
451
|
+
* At this point, you can register a function which will be called after dashboard component loads
|
|
452
|
+
* the dashboard and before it starts rendering the layout itself. The function will be called
|
|
453
|
+
* with two arguments:
|
|
454
|
+
*
|
|
455
|
+
* - The actual dashboard layout
|
|
456
|
+
* - Customizer that allows the plugin to work with export definition
|
|
457
|
+
*
|
|
458
|
+
* Your customization function may introspect the original layout and then register its customizations.
|
|
459
|
+
*
|
|
460
|
+
* If the dashboard is not rendering export layout, then the registered function will not
|
|
461
|
+
* be called.
|
|
462
|
+
*/
|
|
463
|
+
customizeExportLayout(fun: ExportLayoutCustomizationFn): IDashboardLayoutCustomizer;
|
|
351
464
|
/**
|
|
352
465
|
* Register a provider for React components to render layout.
|
|
353
466
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customizer.d.ts","sourceRoot":"","sources":["../../src/plugins/customizer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,oBAAoB,EACpB,gCAAgC,EAChC,oCAAoC,EACpC,4BAA4B,EAC5B,mCAAmC,EACnC,wCAAwC,EACxC,gCAAgC,EAChC,iCAAiC,EACjC,yCAAyC,EACzC,+BAA+B,EAC/B,uBAAuB,EACvB,kCAAkC,EAClC,0BAA0B,EAC1B,8BAA8B,EAC9B,sBAAsB,EACtB,+BAA+B,EAC/B,uBAAuB,EACvB,gCAAgC,EAChC,wBAAwB,EACxB,iCAAiC,EACjC,yBAAyB,EACzB,8CAA8C,EAC9C,sCAAsC,EACtC,qDAAqD,EACrD,6CAA6C,EAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,uBAAuB,EACvB,qBAAqB,EACrB,aAAa,EAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACtG,OAAO,E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AC5C,QAAQ,EAAE,uBAAuB,CAAC,OAAO,CAAC,GAC3C,uBAAuB,CAAC;IAE3B;;;;;;;;;OASG;IACH,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,GAAG,uBAAuB,CAAC;IAE/E;;;;;;;;;OASG;IACH,wBAAwB,CAAC,OAAO,EAAE,qBAAqB,GAAG,uBAAuB,CAAC;IAElF;;;;;;;;;;;;;;;;;OAiBG;IACH,uBAAuB,CAAC,QAAQ,EAAE,4BAA4B,GAAG,uBAAuB,CAAC;IAEzF;;;;;OAKG;IACH,2BAA2B,CAAC,QAAQ,EAAE,4BAA4B,GAAG,uBAAuB,CAAC;CAChG"}
|
|
1
|
+
{"version":3,"file":"customizer.d.ts","sourceRoot":"","sources":["../../src/plugins/customizer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,oBAAoB,EACpB,gCAAgC,EAChC,oCAAoC,EACpC,4BAA4B,EAC5B,mCAAmC,EACnC,wCAAwC,EACxC,gCAAgC,EAChC,iCAAiC,EACjC,yCAAyC,EACzC,+BAA+B,EAC/B,uBAAuB,EACvB,kCAAkC,EAClC,0BAA0B,EAC1B,8BAA8B,EAC9B,sBAAsB,EACtB,+BAA+B,EAC/B,uBAAuB,EACvB,gCAAgC,EAChC,wBAAwB,EACxB,iCAAiC,EACjC,yBAAyB,EACzB,8CAA8C,EAC9C,sCAAsC,EACtC,qDAAqD,EACrD,6CAA6C,EAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,uBAAuB,EACvB,qBAAqB,EACrB,aAAa,EAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACtG,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,M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AAC;IAEzF;;;;;OAKG;IACH,2BAA2B,CAAC,QAAQ,EAAE,4BAA4B,GAAG,uBAAuB,CAAC;CAChG"}
|
package/esm/plugins/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export type { IDashboardPluginContract_V1, DashboardPluginDescriptor } from "./p
|
|
|
2
2
|
export { DashboardPluginV1 } from "./plugin.js";
|
|
3
3
|
export type { IDashboardEngine } from "./engine.js";
|
|
4
4
|
export { newDashboardEngine } from "./engine.js";
|
|
5
|
-
export type { IDashboardEventHandling, IDashboardCustomizer, IDashboardInsightCustomizer, IDashboardKpiCustomizer, IDashboardLayoutCustomizer, IDashboardContentCustomizer, IDashboardWidgetCustomizer, FluidLayoutCustomizationFn, IFluidLayoutCustomizer, IFilterBarCustomizer, DashboardStateChangeCallback, FilterBarRenderingMode, IAttributeFiltersCustomizer, IDateFiltersCustomizer, IFiltersCustomizer, ITitleCustomizer, ITopBarCustomizer, ILoadingCustomizer, IVisualizationSwitcherCustomizer, IRichTextCustomizer, } from "./customizer.js";
|
|
5
|
+
export type { IDashboardEventHandling, IDashboardCustomizer, IDashboardInsightCustomizer, IDashboardKpiCustomizer, IDashboardLayoutCustomizer, IDashboardContentCustomizer, IDashboardWidgetCustomizer, FluidLayoutCustomizationFn, IFluidLayoutCustomizer, IFilterBarCustomizer, DashboardStateChangeCallback, FilterBarRenderingMode, IAttributeFiltersCustomizer, IDateFiltersCustomizer, IFiltersCustomizer, ITitleCustomizer, ITopBarCustomizer, ILoadingCustomizer, IVisualizationSwitcherCustomizer, IRichTextCustomizer, ExportLayoutCustomizationFn, IExportLayoutCustomizer, SectionSlidesTransformer, SectionSlidesTransformerFunction, } from "./customizer.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM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 2022-2025 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { OverlayController, OverlayControllerProvider, ScrollablePanel, } from "@gooddata/sdk-ui-kit";
|
|
4
4
|
import cx from "classnames";
|
|
@@ -18,7 +18,7 @@ const defaultArrowOffsets = {
|
|
|
18
18
|
*/
|
|
19
19
|
export const AlertingDialog = (props) => {
|
|
20
20
|
const { editAlert, editWidget, anchorEl, onCancel = () => noop, onUpdate = () => noop } = props;
|
|
21
|
-
const { execResult, hasAlerts, destinations, users, supportedMeasures, supportedAttributes,
|
|
21
|
+
const { execResult, hasAlerts, destinations, users, supportedMeasures, supportedAttributes, measureFormatMap, catalogAttributes, catalogDateDatasets, canManageAttributes, canManageComparison, cancelAlertEditing, updateExistingAlert, maxAutomationsRecipients, } = useInsightWidgetAlerting({ closeInsightWidgetMenu: onCancel, widget: editWidget });
|
|
22
22
|
if (!anchorEl?.id || !editAlert) {
|
|
23
23
|
return null;
|
|
24
24
|
}
|
|
@@ -32,6 +32,6 @@ export const AlertingDialog = (props) => {
|
|
|
32
32
|
}, onCancel: () => {
|
|
33
33
|
cancelAlertEditing();
|
|
34
34
|
onCancel();
|
|
35
|
-
}, onClose: onCancel, overlayPositionType: "fixed",
|
|
35
|
+
}, onClose: onCancel, overlayPositionType: "fixed", measureFormatMap: measureFormatMap, catalogAttributes: catalogAttributes, catalogDateDatasets: catalogDateDatasets, maxAutomationsRecipients: maxAutomationsRecipients })))));
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=DefaultAlertingDialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultAlertingDialog.js","sourceRoot":"","sources":["../../../../src/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGH,iBAAiB,EACjB,yBAAyB,EACzB,eAAe,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,oEAAoE,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,MAAM,mFAAmF,CAAC;AAC7H,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAAC;AAExF,MAAM,kBAAkB,GAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AAEnF,MAAM,mBAAmB,GAAiB;IACtC,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;IACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAmC,CAAC,KAAK,EAAE,EAAE;IACpE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC;IAEhG,MAAM,EACF,UAAU,EACV,SAAS,EACT,YAAY,EACZ,KAAK,EACL,iBAAiB,EACjB,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialog.js","sourceRoot":"","sources":["../../../../src/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGH,iBAAiB,EACjB,yBAAyB,EACzB,eAAe,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B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sx"],"names":[],"mappings":"AACA,OAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,aAAa,CAAC,GAAG,CAAC,EACxD,UAAU,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,GACzD,aAAa,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"renderModeAware.d.ts","sourceRoot":"","sources":["../../../src/presentation/componentDefinition/renderModeAware.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,aAAa,CAAC,GAAG,CAAC,EACxD,UAAU,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,GACzD,aAAa,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAUzC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// (C) 2022 GoodData Corporation
|
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { useDashboardSelector, selectRenderMode } from "../../model/index.js";
|
|
3
|
+
import { useDashboardSelector, selectRenderMode, selectEnableSlideshowExports } from "../../model/index.js";
|
|
4
4
|
/**
|
|
5
5
|
* Returns a component that wraps components for different render modes and automatically chooses the correct one.
|
|
6
6
|
* If component for current render mode is not defined, component for "view" mode is used.
|
|
@@ -11,7 +11,9 @@ import { useDashboardSelector, selectRenderMode } from "../../model/index.js";
|
|
|
11
11
|
export function renderModeAware(components) {
|
|
12
12
|
return function RenderModeAware(props) {
|
|
13
13
|
const renderMode = useDashboardSelector(selectRenderMode);
|
|
14
|
-
const
|
|
14
|
+
const isExportModeEnabled = useDashboardSelector(selectEnableSlideshowExports);
|
|
15
|
+
const sanitizedRenderMode = isExportModeEnabled || renderMode !== "export" ? renderMode : "view";
|
|
16
|
+
const Component = components[sanitizedRenderMode] ?? components["view"];
|
|
15
17
|
return React.createElement(Component, { ...props });
|
|
16
18
|
};
|
|
17
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderModeAware.js","sourceRoot":"","sources":["../../../src/presentation/componentDefinition/renderModeAware.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"renderModeAware.js","sourceRoot":"","sources":["../../../src/presentation/componentDefinition/renderModeAware.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAG5G;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAC3B,UAAwD;IAExD,OAAO,SAAS,eAAe,CAAC,KAA+B;QAC3D,MAAM,UAAU,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;QAC1D,MAAM,mBAAmB,GAAG,oBAAoB,CAAC,4BAA4B,CAAC,CAAC;QAC/E,MAAM,mBAAmB,GAAG,mBAAmB,IAAI,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC;QAEjG,MAAM,SAAS,GAAG,UAAU,CAAC,mBAAmB,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;QAExE,OAAO,oBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;IACpC,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardInner.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardInner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAmB9C,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"DashboardInner.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardInner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAmB9C,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA2EpD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2022-
|
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
|
2
2
|
import React, { useEffect, useRef } from "react";
|
|
3
3
|
import cx from "classnames";
|
|
4
4
|
import { IntlWrapper } from "../../localization/index.js";
|
|
@@ -32,6 +32,15 @@ export const DashboardInner = (props) => {
|
|
|
32
32
|
const DragLayerComponent = isFlexibleLayoutEnabled
|
|
33
33
|
? FlexibleDragLayerComponent
|
|
34
34
|
: FlexibleFluidDragLayerComponent;
|
|
35
|
+
const mainContentNavigationConfig = props.keyboardNavigation?.mainContent;
|
|
36
|
+
const mainContentNavigationProps = mainContentNavigationConfig
|
|
37
|
+
? {
|
|
38
|
+
tabIndex: mainContentNavigationConfig.tabIndex,
|
|
39
|
+
id: mainContentNavigationConfig.targetElementId,
|
|
40
|
+
role: "main",
|
|
41
|
+
["aria-label"]: mainContentNavigationConfig.ariaLabel,
|
|
42
|
+
}
|
|
43
|
+
: {};
|
|
35
44
|
return (React.createElement(IntlWrapper, { locale: locale },
|
|
36
45
|
React.createElement("div", { className: cx("component-root", {
|
|
37
46
|
"sdk-edit-mode-on": isEditMode,
|
|
@@ -40,7 +49,7 @@ export const DashboardInner = (props) => {
|
|
|
40
49
|
React.createElement(DragLayerComponent, null),
|
|
41
50
|
React.createElement("div", { className: "gd-dashboards-root gd-flex-container" },
|
|
42
51
|
React.createElement(DashboardSidebar, { DefaultSidebar: RenderModeAwareDashboardSidebar, DeleteDropZoneComponent: DeleteDropZone, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDrag, WrapInsightListItemWithDragComponent: WrapInsightListItemWithDrag }),
|
|
43
|
-
React.createElement("
|
|
52
|
+
React.createElement("main", { className: "gd-dash-content", ...mainContentNavigationProps },
|
|
44
53
|
React.createElement("div", { className: "gd-dash-header-wrapper gd-dash-header-wrapper-sdk-8-12", ref: headerRef },
|
|
45
54
|
React.createElement(OverlayControllerProvider, { overlayController: overlayController },
|
|
46
55
|
React.createElement(DashboardHeader, null))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardInner.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardInner.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACH,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EACH,sBAAsB,EACtB,cAAc,EACd,2BAA2B,GAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB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B;QAC9C,CAAC,CAAC,0BAA0B;QAC5B,CAAC,CAAC,+BAA+B,CAAC;IAEtC,OAAO,CACH,oBAAC,WAAW,IAAC,MAAM,EAAE,MAAM;QAEvB,6BACI,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE;gBAC5B,kBAAkB,EAAE,UAAU;gBAC9B,mBAAmB,EAAE,eAAe;aACvC,CAAC;YAEF,oBAAC,kBAAkB,OAAG;YACtB,6BAAK,SAAS,EAAC,sCAAsC;gBACjD,oBAAC,gBAAgB,IACb,cAAc,EAAE,+BAA+B,EAC/C,uBAAuB,EAAE,cAAc,EACvC,oCAAoC,EAAE,2BAA2B,EACjE,oCAAoC,EAAE,2BAA2B,GACnE;gBACF,
|
|
1
|
+
{"version":3,"file":"DashboardInner.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardInner.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACH,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EACH,sBAAsB,EACtB,cAAc,EACd,2BAA2B,GAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,iCAAiC,EAAE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AAkB,EAAE,WAAW,CAAC;IAE1E,MAAM,0BAA0B,GAAG,2BAA2B;QAC1D,CAAC,CAAC;YACI,QAAQ,EAAE,2BAA2B,CAAC,QAAQ;YAC9C,EAAE,EAAE,2BAA2B,CAAC,eAAe;YAC/C,IAAI,EAAE,MAAM;YACZ,CAAC,YAAY,CAAC,EAAE,2BAA2B,CAAC,SAAS;SACxD;QACH,CAAC,CAAC,EAAE,CAAC;IAET,OAAO,CACH,oBAAC,WAAW,IAAC,MAAM,EAAE,MAAM;QAEvB,6BACI,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE;gBAC5B,kBAAkB,EAAE,UAAU;gBAC9B,mBAAmB,EAAE,eAAe;aACvC,CAAC;YAEF,oBAAC,kBAAkB,OAAG;YACtB,6BAAK,SAAS,EAAC,sCAAsC;gBACjD,oBAAC,gBAAgB,IACb,cAAc,EAAE,+BAA+B,EAC/C,uBAAuB,EAAE,cAAc,EACvC,oCAAoC,EAAE,2BAA2B,EACjE,oCAAoC,EAAE,2BAA2B,GACnE;gBACF,8BAAM,SAAS,EAAC,iBAAiB,KAAK,0BAA0B;oBAE5D,6BACI,SAAS,EAAC,wDAAwD,EAClE,GAAG,EAAE,SAAS;wBAGd,oBAAC,yBAAyB,IAAC,iBAAiB,EAAE,iBAAiB;4BAC3D,oBAAC,eAAe,OAAG,CACK,CAC1B;oBACN,6BACI,SAAS,EAAC,qDAAqD,EAC/D,GAAG,EAAE,SAAsC;wBAE3C,oBAAC,2BAA2B;4BACxB,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CACL,CAC5B;oBACN,6BAAK,SAAS,EAAC,+BAA+B,EAAC,GAAG,EAAE,SAAS,GAAI,CAC9D,CACL;YACN,oBAAC,OAAO,OAAG,CACT,CACI,CACjB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardRenderer.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardRenderer.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAe9C;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgKvD,CAAC"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
// (C) 2022-
|
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
|
2
2
|
import { BackendProvider, WorkspaceProvider, ErrorComponent as DefaultError, LoadingComponent as DefaultLoading, } from "@gooddata/sdk-ui";
|
|
3
3
|
import { OverlayControllerProvider, OverlayController, ToastMessageContextProvider, } from "@gooddata/sdk-ui-kit";
|
|
4
4
|
import { ThemeProvider } from "@gooddata/sdk-ui-theme-provider";
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { DashboardStoreProvider } from "../../../model/index.js";
|
|
7
7
|
import { ExportDialogContextProvider, DashboardCustomizationsProvider, DashboardComponentsProvider, DashboardConfigProvider, } from "../../dashboardContexts/index.js";
|
|
8
|
-
import { DefaultFilterBar } from "../../filterBar/index.js";
|
|
9
8
|
import { DefaultDashboardLayout } from "../../layout/index.js";
|
|
10
9
|
import { DefaultSaveAsDialog } from "../../saveAs/index.js";
|
|
11
10
|
import { DefaultScheduledEmailDialog, DefaultScheduledEmailManagementDialog, } from "../../scheduledEmail/index.js";
|
|
12
11
|
import { DefaultAlertingManagementDialog, DefaultAlertingDialog } from "../../alerting/index.js";
|
|
13
12
|
import { DefaultShareDialog } from "../../shareDialog/index.js";
|
|
14
|
-
import { DefaultButtonBar, DefaultMenuButton, DefaultSaveButton,
|
|
13
|
+
import { DefaultButtonBar, DefaultMenuButton, DefaultSaveButton, RenderModeAwareTitle, RenderModeAwareTopBar, } from "../../topBar/index.js";
|
|
15
14
|
import { HiddenToolbar } from "../../toolbar/index.js";
|
|
16
15
|
import { defaultDashboardThemeModifier } from "../defaultDashboardThemeModifier.js";
|
|
17
16
|
import { useDashboard } from "../hooks/useDashboard.js";
|
|
@@ -22,6 +21,7 @@ import { DefaultEmptyLayoutDropZoneBody, LayoutResizeStateProvider, HoveredWidge
|
|
|
22
21
|
import { RenderModeAwareDashboardSidebar } from "../DashboardSidebar/RenderModeAwareDashboardSidebar.js";
|
|
23
22
|
import { DASHBOARD_OVERLAYS_Z_INDEX } from "../../constants/index.js";
|
|
24
23
|
import { DashboardItemPathAndSizeProvider } from "./DashboardItemPathAndSizeContext.js";
|
|
24
|
+
import { RenderModeAwareFilterBar } from "../../filterBar/index.js";
|
|
25
25
|
const overlayController = OverlayController.getInstance(DASHBOARD_OVERLAYS_Z_INDEX);
|
|
26
26
|
/**
|
|
27
27
|
* @internal
|
|
@@ -34,10 +34,10 @@ export const DashboardRenderer = (props) => {
|
|
|
34
34
|
React.createElement(DashboardStoreProvider, { backend: props.backend, workspace: props.workspace, dashboard: dashboardOrRef, persistedDashboard: props.persistedDashboard, filterContextRef: props.filterContextRef, eventHandlers: props.eventHandlers, config: props.config, permissions: props.permissions, onStateChange: props.onStateChange, onEventingInitialized: props.onEventingInitialized, additionalReduxContext: props.additionalReduxContext, customizationFns: props.customizationFns, widgetsOverlayFn: props.widgetsOverlayFn },
|
|
35
35
|
React.createElement(ToastMessageContextProvider, null,
|
|
36
36
|
React.createElement(ExportDialogContextProvider, null,
|
|
37
|
-
React.createElement(DashboardCustomizationsProvider, { insightMenuItemsProvider: props.insightMenuItemsProvider },
|
|
38
|
-
React.createElement(DashboardComponentsProvider, { ErrorComponent: props.ErrorComponent ?? DefaultError, LoadingComponent: props.LoadingComponent ?? DefaultLoading, LayoutComponent: props.LayoutComponent ?? DefaultDashboardLayout, InsightComponentProvider: insightProvider, InsightBodyComponentProvider: insightBodyProvider, InsightMenuButtonComponentProvider: insightMenuButtonProvider, InsightMenuTitleComponentProvider: insightMenuTitleProvider, InsightMenuComponentProvider: insightMenuProvider, VisualizationSwitcherToolbarComponentProvider: visualizationSwitcherToolbarComponentProvider, KpiComponentProvider: kpiProvider, RichTextComponentProvider: richTextProvider, VisualizationSwitcherComponentProvider: visualizationSwitcherProvider, WidgetComponentProvider: widgetProvider, ButtonBarComponent: props.ButtonBarComponent ?? DefaultButtonBar, MenuButtonComponent: props.MenuButtonComponent ?? DefaultMenuButton, TopBarComponent: props.TopBarComponent ??
|
|
37
|
+
React.createElement(DashboardCustomizationsProvider, { insightMenuItemsProvider: props.insightMenuItemsProvider, existingExportTransformFn: props.customizationFns?.existingExportTransformFn, slideConfig: props.config?.slideConfig },
|
|
38
|
+
React.createElement(DashboardComponentsProvider, { ErrorComponent: props.ErrorComponent ?? DefaultError, LoadingComponent: props.LoadingComponent ?? DefaultLoading, LayoutComponent: props.LayoutComponent ?? DefaultDashboardLayout, InsightComponentProvider: insightProvider, InsightBodyComponentProvider: insightBodyProvider, InsightMenuButtonComponentProvider: insightMenuButtonProvider, InsightMenuTitleComponentProvider: insightMenuTitleProvider, InsightMenuComponentProvider: insightMenuProvider, VisualizationSwitcherToolbarComponentProvider: visualizationSwitcherToolbarComponentProvider, KpiComponentProvider: kpiProvider, RichTextComponentProvider: richTextProvider, VisualizationSwitcherComponentProvider: visualizationSwitcherProvider, WidgetComponentProvider: widgetProvider, ButtonBarComponent: props.ButtonBarComponent ?? DefaultButtonBar, MenuButtonComponent: props.MenuButtonComponent ?? DefaultMenuButton, TopBarComponent: props.TopBarComponent ?? RenderModeAwareTopBar, ToolbarComponent: props.ToolbarComponent ?? HiddenToolbar, TitleComponent: props.TitleComponent ?? RenderModeAwareTitle, ScheduledEmailDialogComponent: props.ScheduledEmailDialogComponent ?? DefaultScheduledEmailDialog, ScheduledEmailManagementDialogComponent: props.ScheduledEmailManagementDialogComponent ??
|
|
39
39
|
DefaultScheduledEmailManagementDialog, ShareDialogComponent: props.ShareDialogComponent ?? DefaultShareDialog, AlertingManagementDialogComponent: props.AlertingManagementDialogComponent ??
|
|
40
|
-
DefaultAlertingManagementDialog, AlertingDialogComponent: props.AlertingDialogComponent ?? DefaultAlertingDialog, SaveAsDialogComponent: props.SaveAsDialogComponent ?? DefaultSaveAsDialog, DashboardAttributeFilterComponentProvider: attributeFilterProvider, DashboardDateFilterComponentProvider: dateFilterProvider, FilterBarComponent: props.FilterBarComponent ??
|
|
40
|
+
DefaultAlertingManagementDialog, AlertingDialogComponent: props.AlertingDialogComponent ?? DefaultAlertingDialog, SaveAsDialogComponent: props.SaveAsDialogComponent ?? DefaultSaveAsDialog, DashboardAttributeFilterComponentProvider: attributeFilterProvider, DashboardDateFilterComponentProvider: dateFilterProvider, FilterBarComponent: props.FilterBarComponent ?? RenderModeAwareFilterBar, SidebarComponent: props.SidebarComponent ?? RenderModeAwareDashboardSidebar, InsightWidgetComponentSet: insightWidgetComponentSet, KpiWidgetComponentSet: kpiWidgetComponentSet, RichTextWidgetComponentSet: richTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet: visualizationSwitcherWidgetComponentSet, DashboardLayoutWidgetComponentSet: dashboardLayoutWidgetComponentSet, AttributeFilterComponentSet: attributeFilterComponentSet, DateFilterComponentSet: dateFilterComponentSet, EmptyLayoutDropZoneBodyComponent: props.EmptyLayoutDropZoneBodyComponent ??
|
|
41
41
|
DefaultEmptyLayoutDropZoneBody, SaveButtonComponent: props.SaveButtonComponent ?? DefaultSaveButton, DashboardContentComponentProvider: dashboardContentProvider },
|
|
42
42
|
React.createElement(DashboardConfigProvider, { menuButtonConfig: props.menuButtonConfig },
|
|
43
43
|
React.createElement(DndProvider, { backend: HTML5Backend },
|