@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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
|
+
import { widgetSlideTransformer } from "./widgetSlideTransformer.js";
|
|
3
|
+
/**
|
|
4
|
+
* Returns definition of whole layout with single widget.
|
|
5
|
+
*/
|
|
6
|
+
export function singleWidgetTransformer(layout, widget) {
|
|
7
|
+
return {
|
|
8
|
+
...layout,
|
|
9
|
+
type: "IDashboardLayout",
|
|
10
|
+
sections: [
|
|
11
|
+
...widgetSlideTransformer({
|
|
12
|
+
type: "IDashboardLayoutItem",
|
|
13
|
+
widget,
|
|
14
|
+
size: {
|
|
15
|
+
xl: { gridWidth: 12, gridHeight: 22 },
|
|
16
|
+
},
|
|
17
|
+
}),
|
|
18
|
+
],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=singleWidgetTransformer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"singleWidgetTransformer.js","sourceRoot":"","sources":["../../../src/_staging/slideshow/singleWidgetTransformer.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAGhC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;GAEG;AACH,MAAM,UAAU,uBAAuB,CACnC,MAAiC,EACjC,MAAe;IAEf,OAAO;QACH,GAAG,MAAM;QACT,IAAI,EAAE,kBAAkB;QACxB,QAAQ,EAAE;YACN,GAAG,sBAAsB,CAAC;gBACtB,IAAI,EAAE,sBAAsB;gBAC5B,MAAM;gBACN,IAAI,EAAE;oBACF,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;iBACxC;aACJ,CAAC;SACL;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IDashboardLayoutItem, IDashboardLayoutSection } from "@gooddata/sdk-model";
|
|
2
|
+
/**
|
|
3
|
+
* This function is used to transform switcher widget to multiple slides. Each slide contains one visualization
|
|
4
|
+
* from the switcher.
|
|
5
|
+
*
|
|
6
|
+
* @param item - current item to transform
|
|
7
|
+
*/
|
|
8
|
+
export declare function switcherSlideTransformer<TWidget>(item: IDashboardLayoutItem<TWidget>): IDashboardLayoutSection<TWidget>[] | undefined;
|
|
9
|
+
//# sourceMappingURL=switcherSlideTransformer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switcherSlideTransformer.d.ts","sourceRoot":"","sources":["../../../src/_staging/slideshow/switcherSlideTransformer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EAE1B,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAC5C,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC,GACpC,uBAAuB,CAAC,OAAO,CAAC,EAAE,GAAG,SAAS,CA4BhD"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
|
2
|
+
import { isVisualizationSwitcherWidget, } from "@gooddata/sdk-model";
|
|
3
|
+
/**
|
|
4
|
+
* This function is used to transform switcher widget to multiple slides. Each slide contains one visualization
|
|
5
|
+
* from the switcher.
|
|
6
|
+
*
|
|
7
|
+
* @param item - current item to transform
|
|
8
|
+
*/
|
|
9
|
+
export function switcherSlideTransformer(item) {
|
|
10
|
+
if (isVisualizationSwitcherWidget(item.widget)) {
|
|
11
|
+
const base = {
|
|
12
|
+
...item.size.xl,
|
|
13
|
+
gridWidth: 12,
|
|
14
|
+
gridHeight: 22,
|
|
15
|
+
};
|
|
16
|
+
return item.widget.visualizations.map((visualization) => {
|
|
17
|
+
return {
|
|
18
|
+
type: "IDashboardLayoutSection",
|
|
19
|
+
items: [
|
|
20
|
+
{
|
|
21
|
+
widget: visualization,
|
|
22
|
+
type: "IDashboardLayoutItem",
|
|
23
|
+
size: {
|
|
24
|
+
xl: base,
|
|
25
|
+
md: base,
|
|
26
|
+
lg: base,
|
|
27
|
+
sm: base,
|
|
28
|
+
xs: base,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=switcherSlideTransformer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switcherSlideTransformer.js","sourceRoot":"","sources":["../../../src/_staging/slideshow/switcherSlideTransformer.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAGH,6BAA6B,GAChC,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CACpC,IAAmC;IAEnC,IAAI,6BAA6B,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QAC7C,MAAM,IAAI,GAAG;YACT,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE;YACf,SAAS,EAAE,EAAE;YACb,UAAU,EAAE,EAAE;SACjB,CAAC;QAEF,OAAO,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,aAAa,EAAE,EAAE;YACpD,OAAO;gBACH,IAAI,EAAE,yBAAyB;gBAC/B,KAAK,EAAE;oBACH;wBACI,MAAM,EAAE,aAAwB;wBAChC,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE;4BACF,EAAE,EAAE,IAAI;4BACR,EAAE,EAAE,IAAI;4BACR,EAAE,EAAE,IAAI;4BACR,EAAE,EAAE,IAAI;4BACR,EAAE,EAAE,IAAI;yBACX;qBACJ;iBACJ;aACgC,CAAC;QAC1C,CAAC,CAAC,CAAC;IACP,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IDashboardLayout } from "@gooddata/sdk-model";
|
|
2
|
+
/**
|
|
3
|
+
* This function checks if the layout widget contains a visualization switcher somewhere in its structure.
|
|
4
|
+
*
|
|
5
|
+
* @param widget - widget to check
|
|
6
|
+
*/
|
|
7
|
+
export declare function containsVisualizationSwitcher<TWidget>(widget: TWidget): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* This function is used to find a focused widget in the layout structure.
|
|
10
|
+
*
|
|
11
|
+
* @param layout - dashboard layout
|
|
12
|
+
* @param widgetId - widget identifier to find
|
|
13
|
+
* @returns
|
|
14
|
+
*/
|
|
15
|
+
export declare const findFocusedWidget: <TWidget>(layout: IDashboardLayout<TWidget>, widgetId: string | undefined) => TWidget | undefined;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_staging/slideshow/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EACH,gBAAgB,EAOnB,MAAM,qBAAqB,CAAC;AAE7B;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,WAcrE;AAqBD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,yDAEhB,MAAM,GAAG,SAAS,wBAQ/B,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
|
2
|
+
import { isDashboardLayout, isInsightWidget, isKpiWidget, isRichTextWidget, isVisualizationSwitcherWidget, } from "@gooddata/sdk-model";
|
|
3
|
+
/**
|
|
4
|
+
* This function checks if the layout widget contains a visualization switcher somewhere in its structure.
|
|
5
|
+
*
|
|
6
|
+
* @param widget - widget to check
|
|
7
|
+
*/
|
|
8
|
+
export function containsVisualizationSwitcher(widget) {
|
|
9
|
+
if (!isDashboardLayout(widget)) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
for (const section of widget.sections) {
|
|
13
|
+
for (const item of section.items) {
|
|
14
|
+
if (isDashboardLayout(item.widget)) {
|
|
15
|
+
return containsVisualizationSwitcher(item.widget);
|
|
16
|
+
}
|
|
17
|
+
else if (isVisualizationSwitcherWidget(item.widget)) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
function getAllWidgetsFromLayout(layout) {
|
|
25
|
+
return layout.sections.flatMap((section) => section.items.flatMap((item) => {
|
|
26
|
+
const widget = item.widget;
|
|
27
|
+
if (!widget)
|
|
28
|
+
return [];
|
|
29
|
+
if (isKpiWidget(widget) || isInsightWidget(widget) || isRichTextWidget(widget)) {
|
|
30
|
+
return [widget];
|
|
31
|
+
}
|
|
32
|
+
else if (isVisualizationSwitcherWidget(widget)) {
|
|
33
|
+
return [widget, ...widget.visualizations];
|
|
34
|
+
}
|
|
35
|
+
else if (isDashboardLayout(widget)) {
|
|
36
|
+
return [...getAllWidgetsFromLayout(widget)];
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
return [];
|
|
40
|
+
}
|
|
41
|
+
}));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* This function is used to find a focused widget in the layout structure.
|
|
45
|
+
*
|
|
46
|
+
* @param layout - dashboard layout
|
|
47
|
+
* @param widgetId - widget identifier to find
|
|
48
|
+
* @returns
|
|
49
|
+
*/
|
|
50
|
+
export const findFocusedWidget = (layout, widgetId) => {
|
|
51
|
+
if (!widgetId) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
const allWidgets = getAllWidgetsFromLayout(layout);
|
|
55
|
+
return allWidgets.find((widget) => widget.identifier === widgetId);
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_staging/slideshow/utils/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAEH,iBAAiB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M,CAAC,EAAE,CAAC;YACnC,OAAO,CAAC,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;QAChD,CAAC;aAAM,CAAC;YACJ,OAAO,EAAE,CAAC;QACd,CAAC;IACL,CAAC,CAAC,CACL,CAAC;AACN,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC7B,MAAiC,EACjC,QAA4B,EACT,EAAE;IACrB,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,UAAU,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACnD,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,KAAK,QAAQ,CAAY,CAAC;AAClF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widgetSlideTransformer.d.ts","sourceRoot":"","sources":["../../../src/_staging/slideshow/widgetSlideTransformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAEpF,wBAAgB,sBAAsB,CAAC,OAAO,EAC1C,IAAI,EAAE,oBAAoB,CAAC,OAAO,CAAC,GACpC,uBAAuB,CAAC,OAAO,CAAC,EAAE,CAuBpC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function widgetSlideTransformer(item) {
|
|
2
|
+
const base = {
|
|
3
|
+
gridWidth: 12,
|
|
4
|
+
gridHeight: 22,
|
|
5
|
+
};
|
|
6
|
+
return [
|
|
7
|
+
{
|
|
8
|
+
type: "IDashboardLayoutSection",
|
|
9
|
+
items: [
|
|
10
|
+
{
|
|
11
|
+
...item,
|
|
12
|
+
size: {
|
|
13
|
+
xl: base,
|
|
14
|
+
xs: base,
|
|
15
|
+
md: base,
|
|
16
|
+
sm: base,
|
|
17
|
+
lg: base,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
];
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=widgetSlideTransformer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widgetSlideTransformer.js","sourceRoot":"","sources":["../../../src/_staging/slideshow/widgetSlideTransformer.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,sBAAsB,CAClC,IAAmC;IAEnC,MAAM,IAAI,GAAG;QACT,SAAS,EAAE,EAAE;QACb,UAAU,EAAE,EAAE;KACjB,CAAC;IAEF,OAAO;QACH;YACI,IAAI,EAAE,yBAAyB;YAC/B,KAAK,EAAE;gBACH;oBACI,GAAG,IAAI;oBACP,IAAI,EAAE;wBACF,EAAE,EAAE,IAAI;wBACR,EAAE,EAAE,IAAI;wBACR,EAAE,EAAE,IAAI;wBACR,EAAE,EAAE,IAAI;wBACR,EAAE,EAAE,IAAI;qBACX;iBACJ;aACJ;SACJ;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -5,10 +5,10 @@ interface IInvalidDrillInfo {
|
|
|
5
5
|
invalidDrills: DrillDefinition[];
|
|
6
6
|
widget: IInsightWidget;
|
|
7
7
|
}
|
|
8
|
-
export declare function validateDrills(ctx: DashboardContext, cmd: IDashboardCommand, widgets: (IKpiWidget | IInsightWidget | IRichTextWidget | IVisualizationSwitcherWidget)[]): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<IInvalidDrillInfo>> | import("redux-saga/effects").PutEffect<{
|
|
8
|
+
export declare function validateDrills(ctx: DashboardContext, cmd: IDashboardCommand, widgets: (IKpiWidget | IInsightWidget | IRichTextWidget | IVisualizationSwitcherWidget)[]): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<void>> | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<IInvalidDrillInfo>> | import("redux-saga/effects").PutEffect<{
|
|
9
9
|
payload: import("@gooddata/sdk-model").ObjRef[];
|
|
10
10
|
type: "uiSlice/removeInvalidDrillWidgetRefs";
|
|
11
|
-
}> | import("redux-saga/effects").
|
|
11
|
+
}> | import("redux-saga/effects").PutEffect<{
|
|
12
12
|
payload: import("@gooddata/sdk-model").ObjRef[];
|
|
13
13
|
type: "uiSlice/addInvalidDrillWidgetRefs";
|
|
14
14
|
}>, void, IInvalidDrillInfo[]>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ISettings } from "@gooddata/sdk-model";
|
|
2
|
+
import { DashboardContext } from "../../../types/commonTypes.js";
|
|
3
|
+
export declare function loadAutomationsData(ctx: DashboardContext, settings: ISettings): Promise<{
|
|
4
|
+
notificationChannelsCount: number;
|
|
5
|
+
workspaceAutomationsCount: number;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=loadAutomationsData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadAutomationsData.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/common/loadAutomationsData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAIjE,wBAAsB,mBAAmB,CACrC,GAAG,EAAE,gBAAgB,EACrB,QAAQ,EAAE,SAAS,GACpB,OAAO,CAAC;IACP,yBAAyB,EAAE,MAAM,CAAC;IAClC,yBAAyB,EAAE,MAAM,CAAC;CACrC,CAAC,CAUD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { loadNotificationChannelsCount } from "./loadNotificationChannelsCount.js";
|
|
2
|
+
import { loadWorkspaceAutomationsCount } from "./loadWorkspaceAutomationsCount.js";
|
|
3
|
+
export async function loadAutomationsData(ctx, settings) {
|
|
4
|
+
const [notificationChannelsCount, workspaceAutomationsCount] = await Promise.all([
|
|
5
|
+
loadNotificationChannelsCount(ctx, settings),
|
|
6
|
+
loadWorkspaceAutomationsCount(ctx, settings),
|
|
7
|
+
]);
|
|
8
|
+
return {
|
|
9
|
+
notificationChannelsCount,
|
|
10
|
+
workspaceAutomationsCount,
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=loadAutomationsData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadAutomationsData.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/common/loadAutomationsData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACrC,GAAqB,EACrB,QAAmB;IAKnB,MAAM,CAAC,yBAAyB,EAAE,yBAAyB,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC7E,6BAA6B,CAAC,GAAG,EAAE,QAAQ,CAAC;QAC5C,6BAA6B,CAAC,GAAG,EAAE,QAAQ,CAAC;KAC/C,CAAC,CAAC;IAEH,OAAO;QACH,yBAAyB;QACzB,yBAAyB;KAC5B,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateInitializers.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/common/stateInitializers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAEH,QAAQ,EACR,iBAAiB,EAGjB,mCAAmC,EACnC,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,mBAAmB,EAEnB,MAAM,EAGN,sBAAsB,EACzB,MAAM,qBAAqB,CAAC;AAe7B,OAAO,EAAE,gBAAgB,EAA2B,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AASvE,eAAO,MAAM,oBAAoB,EAAE,gBAAgB,CAAC,OAAO,CAG1D,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC3C,gBAAgB,EAAE,iBAAiB,GACpC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAY3B;AAoBD,wBAAgB,YAAY,CACxB,GAAG,EAAE,gBAAgB,EACrB,WAAW,EAAE,MAAM,EAAE,GACtB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAInC;
|
|
1
|
+
{"version":3,"file":"stateInitializers.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/common/stateInitializers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAEH,QAAQ,EACR,iBAAiB,EAGjB,mCAAmC,EACnC,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,mBAAmB,EAEnB,MAAM,EAGN,sBAAsB,EACzB,MAAM,qBAAqB,CAAC;AAe7B,OAAO,EAAE,gBAAgB,EAA2B,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AASvE,eAAO,MAAM,oBAAoB,EAAE,gBAAgB,CAAC,OAAO,CAG1D,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC3C,gBAAgB,EAAE,iBAAiB,GACpC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAY3B;AAoBD,wBAAgB,YAAY,CACxB,GAAG,EAAE,gBAAgB,EACrB,WAAW,EAAE,MAAM,EAAE,GACtB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAInC;AA8FD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAiB,oCAAoC,CACjD,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,QAAQ,EAAE,EACpB,QAAQ,EAAE,SAAS,EACnB,gBAAgB,EAAE,iBAAiB,EACnC,YAAY,EAAE,mBAAmB,EAAE,GAAG,IAAI,EAC1C,YAAY,CAAC,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC7D,kBAAkB,CAAC,EAAE,UAAU,GAChC,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAuEzC"}
|
|
@@ -55,7 +55,7 @@ export function loadDataSets(ctx, dataSetRefs) {
|
|
|
55
55
|
const { backend, workspace } = ctx;
|
|
56
56
|
return backend.workspace(workspace).datasets().getDataSets(dataSetRefs);
|
|
57
57
|
}
|
|
58
|
-
function* sanitizeFilterContext(ctx, filterContext, catalogDateDataSets, dataSets = [], displayForms) {
|
|
58
|
+
function* sanitizeFilterContext(ctx, filterContext, catalogDateDataSets, dataSets = [], displayForms, settings) {
|
|
59
59
|
// we don't need sanitize filter references, if backend guarantees consistent references
|
|
60
60
|
if (!ctx.backend.capabilities.allowsInconsistentRelations) {
|
|
61
61
|
return filterContext;
|
|
@@ -82,7 +82,7 @@ function* sanitizeFilterContext(ctx, filterContext, catalogDateDataSets, dataSet
|
|
|
82
82
|
else {
|
|
83
83
|
availableRefs = yield call(loadAvailableDisplayFormRefs, ctx, usedFilterDisplayForms);
|
|
84
84
|
}
|
|
85
|
-
if (
|
|
85
|
+
if (settings?.enableCriticalContentPerformanceOptimizations) {
|
|
86
86
|
// full catalog may not be available here, just related datasets to the dashboard
|
|
87
87
|
// -- find out if some datasets are still missing and if needed, fetch them
|
|
88
88
|
// additional date filters, let them validate
|
|
@@ -139,7 +139,7 @@ function getDisplayAsLabels(dashboard) {
|
|
|
139
139
|
* @param persistedDashboard - dashboard to use for the persisted dashboard state slice in case it needs to be different from the dashboard param
|
|
140
140
|
*/
|
|
141
141
|
export function* actionsToInitializeExistingDashboard(ctx, dashboard, insights, settings, dateFilterConfig, dateDataSets, displayForms, persistedDashboard) {
|
|
142
|
-
const sanitizedFilterContext = yield call(sanitizeFilterContext, ctx, dashboard.filterContext, dateDataSets, dashboard.dataSets, displayForms);
|
|
142
|
+
const sanitizedFilterContext = yield call(sanitizeFilterContext, ctx, dashboard.filterContext, dateDataSets, dashboard.dataSets, displayForms, settings);
|
|
143
143
|
const sanitizedDashboard = {
|
|
144
144
|
...dashboard,
|
|
145
145
|
layout: dashboard.layout ?? EmptyDashboardLayout,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateInitializers.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/common/stateInitializers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EACH,eAAe,EAIf,0BAA0B,EAO1B,kCAAkC,EAElC,QAAQ,EACR,eAAe,GAElB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EACH,gCAAgC,EAChC,8BAA8B,GACjC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,m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AAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC;AACnG,CAAC,CAAC;AAEF,MAAM,UAAU,YAAY,CACxB,GAAqB,EACrB,WAAqB;IAErB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC;IAEnC,OAAO,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;AAC5E,CAAC;AAED,QAAQ,CAAC,CAAC,qBAAqB,CAC3B,GAAqB,EACrB,aAA0C,EAC1C,mBAAiD,EACjD,WAAqC,EAAE,EACvC,YAA6D;
|
|
1
|
+
{"version":3,"file":"stateInitializers.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/common/stateInitializers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EACH,eAAe,EAIf,0BAA0B,EAO1B,kCAAkC,EAElC,QAAQ,EACR,eAAe,GAElB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EACH,gCAAgC,EAChC,8BAA8B,GACjC,MAAM,0DAA0D,C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AAuB;YACxD,uBAAuB;YACvB,qBAAqB;YACrB,2BAA2B;SAC9B,CAAC;QACF,aAAa,CAAC,SAAS,CAAC,eAAe,CAAC;QACxC,WAAW,CAAC,OAAO,CAAC;YAChB,SAAS,EAAE,kBAAkB,IAAI,SAAS;SAC7C,CAAC;QACF,6BAA6B,CAAC,yBAAyB,CAAC;YACpD,sBAAsB,EAAE,SAAS,CAAC,sBAAsB;SAC3D,CAAC;QACF,uBAAuB,CAAC,sBAAsB,CAAC,SAAS,CAAC,gBAAiB,CAAC;QAC3E,wBAAwB,CAAC,oBAAoB,CAAC;YAC1C,iBAAiB,EAAE,SAAS,CAAC,iBAAiB;SACjD,CAAC;QACF,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAC;QACrC,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,6EAA6E;QAC7H,SAAS,CAAC,oBAAoB,EAAE;QAChC,SAAS,CAAC,iBAAiB,CAAC,eAAe,CAAC;QAC5C,YAAY,CAAC,mBAAmB,EAAE;KACrC,CAAC;AACN,CAAC"}
|
|
@@ -2,10 +2,14 @@ import { SagaIterator } from "redux-saga";
|
|
|
2
2
|
import { InitializeDashboard } from "../../../commands/dashboard.js";
|
|
3
3
|
import { DashboardContext } from "../../../types/commonTypes.js";
|
|
4
4
|
import { IWorkspaceCatalog } from "@gooddata/sdk-backend-spi";
|
|
5
|
-
import { IDateHierarchyTemplate } from "@gooddata/sdk-model";
|
|
6
|
-
export declare function requestCatalog(ctx: DashboardContext): Generator<import("redux-saga/effects").CallEffect<IWorkspaceCatalog> | import("redux-saga/effects").CallEffect<IDateHierarchyTemplate[]
|
|
5
|
+
import { IDashboard, IDateHierarchyTemplate } from "@gooddata/sdk-model";
|
|
6
|
+
export declare function requestCatalog(ctx: DashboardContext): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<IWorkspaceCatalog> | import("redux-saga/effects").CallEffect<IDateHierarchyTemplate[]>> | import("redux-saga/effects").PutEffect<{
|
|
7
7
|
payload: import("../../../store/catalog/catalogReducers.js").SetCatalogItemsPayload;
|
|
8
8
|
type: "catalog/setCatalogItems";
|
|
9
|
-
}>, void, IWorkspaceCatalog
|
|
9
|
+
}>, void, [IWorkspaceCatalog, IDateHierarchyTemplate[]]>;
|
|
10
|
+
export declare function preloadAttributeFiltersData(ctx: DashboardContext, dashboard: IDashboard): Generator<import("redux-saga/effects").CallEffect<import("@gooddata/sdk-backend-spi").IAttributeWithReferences[]> | import("redux-saga/effects").PutEffect<{
|
|
11
|
+
payload: import("@gooddata/sdk-backend-spi").IAttributeWithReferences[];
|
|
12
|
+
type: "filterContext/setPreloadedAttributesWithReferences";
|
|
13
|
+
}>, void, import("@gooddata/sdk-backend-spi").IAttributeWithReferences[]>;
|
|
10
14
|
export declare function initializeDashboardHandler(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator;
|
|
11
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAGrE,OAAO,EAAE,gBAAgB,EAA2B,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAAwC,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAqBpG,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAGrE,OAAO,EAAE,gBAAgB,EAA2B,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAAwC,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAqBpG,OAAO,EAEH,UAAU,EAOV,sBAAsB,EACzB,MAAM,qBAAqB,CAAC;AAsX7B,wBAAiB,cAAc,CAAC,GAAG,EAAE,gBAAgB;;;yDAgBpD;AAED,wBAAiB,2BAA2B,CAAC,GAAG,EAAE,gBAAgB,EAAE,SAAS,EAAE,UAAU;;;0EAKxF;AAMD,wBAAiB,0BAA0B,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,mBAAmB,GAAG,YAAY,CAgCzG"}
|
|
@@ -2,7 +2,7 @@ import { spawn, all, call, put } from "redux-saga/effects";
|
|
|
2
2
|
import { dashboardInitialized } from "../../../events/dashboard.js";
|
|
3
3
|
import { loadingActions } from "../../../store/loading/index.js";
|
|
4
4
|
import { walkLayout } from "@gooddata/sdk-backend-spi";
|
|
5
|
-
import {
|
|
5
|
+
import { resolveDashboardConfigAndFeatureFlagDependentCalls } from "./resolveDashboardConfig.js";
|
|
6
6
|
import { configActions } from "../../../store/config/index.js";
|
|
7
7
|
import { entitlementsActions } from "../../../store/entitlements/index.js";
|
|
8
8
|
import { dateFilterConfigActions } from "../../../store/dateFilterConfig/index.js";
|
|
@@ -41,9 +41,9 @@ import { automationsActions } from "../../../store/automations/index.js";
|
|
|
41
41
|
import { notificationChannelsActions } from "../../../store/notificationChannels/index.js";
|
|
42
42
|
import { filterViewsActions } from "../../../store/filterViews/index.js";
|
|
43
43
|
import { loadFilterViews } from "./loadFilterViews.js";
|
|
44
|
-
import { loadWorkspaceAutomationsCount } from "../common/loadWorkspaceAutomationsCount.js";
|
|
45
|
-
import { loadNotificationChannelsCount } from "../common/loadNotificationChannelsCount.js";
|
|
46
44
|
import { applyDefaultFilterView } from "../common/filterViews.js";
|
|
45
|
+
import { preloadAttributeFiltersData as preloadAttributeFiltersDataFromBackend } from "./preloadAttributeFiltersData.js";
|
|
46
|
+
import { filterContextActions } from "../../../store/filterContext/index.js";
|
|
47
47
|
async function loadDashboardFromBackend(ctx, privateCtx, dashboardRef, hasPersistedDashboard) {
|
|
48
48
|
const { backend, workspace, filterContextRef } = ctx;
|
|
49
49
|
const { preloadedDashboard } = privateCtx;
|
|
@@ -52,6 +52,13 @@ async function loadDashboardFromBackend(ctx, privateCtx, dashboardRef, hasPersis
|
|
|
52
52
|
// as our version of dashboard differs from what is on the backend
|
|
53
53
|
// hence we must do the resolution on the client
|
|
54
54
|
if (hasPersistedDashboard) {
|
|
55
|
+
if (ctx.config?.settings?.enableCriticalContentPerformanceOptimizations &&
|
|
56
|
+
ctx.config?.references) {
|
|
57
|
+
return {
|
|
58
|
+
dashboard: preloadedDashboard,
|
|
59
|
+
references: ctx.config.references,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
55
62
|
const insights = await loadInsightsForPersistedDashboard(ctx, preloadedDashboard);
|
|
56
63
|
return {
|
|
57
64
|
dashboard: preloadedDashboard,
|
|
@@ -113,7 +120,7 @@ async function loadInsightsForPersistedDashboard(ctx, dashboard) {
|
|
|
113
120
|
}
|
|
114
121
|
function* decideAndLoadFullCatalog(ctx, cmd) {
|
|
115
122
|
// defer catalog loading when optimizations enabled
|
|
116
|
-
if (
|
|
123
|
+
if (cmd.payload.config?.settings?.enableCriticalContentPerformanceOptimizations) {
|
|
117
124
|
return null;
|
|
118
125
|
}
|
|
119
126
|
const fullCatalog = yield call(loadCatalog, ctx, cmd);
|
|
@@ -125,7 +132,7 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
125
132
|
const { usesStrictAccessControl } = backend.capabilities;
|
|
126
133
|
const calls = [
|
|
127
134
|
call(loadDashboardFromBackend, ctx, privateCtx, dashboardRef, !!cmd.payload.persistedDashboard),
|
|
128
|
-
call(
|
|
135
|
+
call(resolveDashboardConfigAndFeatureFlagDependentCalls, ctx, cmd),
|
|
129
136
|
call(resolvePermissions, ctx, cmd),
|
|
130
137
|
call(resolveEntitlements, ctx),
|
|
131
138
|
call(decideAndLoadFullCatalog, ctx, cmd),
|
|
@@ -140,17 +147,11 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
140
147
|
if (!usesStrictAccessControl) {
|
|
141
148
|
calls.push(call(loadAccessibleDashboardList, ctx));
|
|
142
149
|
}
|
|
143
|
-
const [dashboardWithReferences, config, permissions, entitlements, catalog, alerts, user, listedDashboards, legacyDashboards, dashboardPermissions, dateHierarchyTemplates, filterViews, accessibleDashboards,] = yield all(calls);
|
|
150
|
+
const [dashboardWithReferences, { resolvedConfig: config, additionalData: { workspaceAutomationsCount, notificationChannelsCount }, }, permissions, entitlements, catalog, alerts, user, listedDashboards, legacyDashboards, dashboardPermissions, dateHierarchyTemplates, filterViews, accessibleDashboards,] = yield all(calls);
|
|
144
151
|
const { dashboard: loadedDashboard, references: { insights }, } = dashboardWithReferences;
|
|
145
152
|
const dashboard = applyDefaultFilterView(loadedDashboard, filterViews, config.settings);
|
|
146
153
|
const effectiveDateFilterConfig = yield call(mergeDateFilterConfigWithOverrides, ctx, cmd, config.dateFilterConfig, dashboard.dateFilterConfig);
|
|
147
154
|
const initActions = yield call(actionsToInitializeExistingDashboard, ctx, dashboard, insights, config.settings, effectiveDateFilterConfig.config, catalog ? catalog.dateDatasets() : [], catalog ? createDisplayFormMapFromCatalog(catalog) : createDisplayFormMap([], []), cmd.payload.persistedDashboard);
|
|
148
|
-
// After FF removal, we can move this to other calls and call it in parallel
|
|
149
|
-
const ffCalls = [
|
|
150
|
-
call(loadWorkspaceAutomationsCount, ctx, config.settings),
|
|
151
|
-
call(loadNotificationChannelsCount, ctx, config.settings),
|
|
152
|
-
];
|
|
153
|
-
const [allAutomationsCount, notificationChannelsCount] = yield all(ffCalls);
|
|
154
155
|
const catalogPayload = {
|
|
155
156
|
dateHierarchyTemplates,
|
|
156
157
|
...(catalog
|
|
@@ -189,7 +190,7 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
189
190
|
uiActions.setMenuButtonItemsVisibility(config.menuButtonItemsVisibility),
|
|
190
191
|
renderModeActions.setRenderMode(config.initialRenderMode),
|
|
191
192
|
dashboardPermissionsActions.setDashboardPermissions(dashboardPermissions),
|
|
192
|
-
automationsActions.setAllAutomationsCount(
|
|
193
|
+
automationsActions.setAllAutomationsCount(workspaceAutomationsCount),
|
|
193
194
|
notificationChannelsActions.setNotificationChannelsCount(notificationChannelsCount),
|
|
194
195
|
filterViewsActions.setFilterViews({
|
|
195
196
|
dashboard: ctx.dashboardRef, // should be defined as we are in existing dashboard load fn
|
|
@@ -204,8 +205,8 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
204
205
|
}
|
|
205
206
|
function* initializeNewDashboard(ctx, cmd) {
|
|
206
207
|
const { backend } = ctx;
|
|
207
|
-
const [config, permissions, entitlements, catalog, user, listedDashboards, accessibleDashboards, legacyDashboards, dateHierarchyTemplates,] = yield all([
|
|
208
|
-
call(
|
|
208
|
+
const [{ resolvedConfig: config, additionalData: { notificationChannelsCount, workspaceAutomationsCount }, }, permissions, entitlements, catalog, user, listedDashboards, accessibleDashboards, legacyDashboards, dateHierarchyTemplates,] = yield all([
|
|
209
|
+
call(resolveDashboardConfigAndFeatureFlagDependentCalls, ctx, cmd),
|
|
209
210
|
call(resolvePermissions, ctx, cmd),
|
|
210
211
|
call(resolveEntitlements, ctx),
|
|
211
212
|
call(loadCatalog, ctx, cmd),
|
|
@@ -216,12 +217,6 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
216
217
|
call(loadDateHierarchyTemplates, ctx),
|
|
217
218
|
call(loadFilterViews, ctx),
|
|
218
219
|
]);
|
|
219
|
-
// After FF removal, we can move this to other calls and call it in parallel
|
|
220
|
-
const ffCalls = [
|
|
221
|
-
call(loadWorkspaceAutomationsCount, ctx, config.settings),
|
|
222
|
-
call(loadNotificationChannelsCount, ctx, config.settings),
|
|
223
|
-
];
|
|
224
|
-
const [allAutomationsCount, notificationChannelsCount] = yield all(ffCalls);
|
|
225
220
|
const batch = batchActions([
|
|
226
221
|
backendCapabilitiesActions.setBackendCapabilities(backend.capabilities),
|
|
227
222
|
configActions.setConfig(config),
|
|
@@ -255,7 +250,7 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
255
250
|
canEditDashboard: true,
|
|
256
251
|
canEditLockedDashboard: true,
|
|
257
252
|
}),
|
|
258
|
-
automationsActions.setAllAutomationsCount(
|
|
253
|
+
automationsActions.setAllAutomationsCount(workspaceAutomationsCount),
|
|
259
254
|
notificationChannelsActions.setNotificationChannelsCount(notificationChannelsCount),
|
|
260
255
|
], "@@GDC.DASH/BATCH.INIT.NEW");
|
|
261
256
|
const event = dashboardInitialized(ctx, undefined, [], config, permissions, cmd.correlationId);
|
|
@@ -265,8 +260,10 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
265
260
|
};
|
|
266
261
|
}
|
|
267
262
|
export function* requestCatalog(ctx) {
|
|
268
|
-
const catalog = yield
|
|
269
|
-
|
|
263
|
+
const [catalog, dateHierarchyTemplates] = yield all([
|
|
264
|
+
call(loadCatalog, ctx, { payload: { config: {} } }),
|
|
265
|
+
call(loadDateHierarchyTemplates, ctx),
|
|
266
|
+
]);
|
|
270
267
|
yield put(catalogActions.setCatalogItems({
|
|
271
268
|
attributes: catalog.attributes(),
|
|
272
269
|
dateDatasets: catalog.dateDatasets(),
|
|
@@ -276,8 +273,12 @@ export function* requestCatalog(ctx) {
|
|
|
276
273
|
dateHierarchyTemplates: dateHierarchyTemplates,
|
|
277
274
|
}));
|
|
278
275
|
}
|
|
279
|
-
function*
|
|
280
|
-
yield call(
|
|
276
|
+
export function* preloadAttributeFiltersData(ctx, dashboard) {
|
|
277
|
+
const attributesWithReferences = yield call(preloadAttributeFiltersDataFromBackend, ctx, dashboard);
|
|
278
|
+
yield put(filterContextActions.setPreloadedAttributesWithReferences(attributesWithReferences));
|
|
279
|
+
}
|
|
280
|
+
function* advancedLoader(ctx, dashboard) {
|
|
281
|
+
yield all([call(requestCatalog, ctx), call(preloadAttributeFiltersData, ctx, dashboard)]);
|
|
281
282
|
}
|
|
282
283
|
export function* initializeDashboardHandler(ctx, cmd) {
|
|
283
284
|
const { dashboardRef } = ctx;
|
|
@@ -293,10 +294,11 @@ export function* initializeDashboardHandler(ctx, cmd) {
|
|
|
293
294
|
yield put(result.batch);
|
|
294
295
|
yield put(loadingActions.setLoadingSuccess());
|
|
295
296
|
yield put(result.event);
|
|
296
|
-
if (
|
|
297
|
+
if (result.event.payload.config.settings?.enableCriticalContentPerformanceOptimizations &&
|
|
298
|
+
dashboardRef) {
|
|
297
299
|
// let's run effects which are not essential for the existing
|
|
298
300
|
// dashboard to be rendered, such as catalog load
|
|
299
|
-
yield spawn(advancedLoader, ctx);
|
|
301
|
+
yield spawn(advancedLoader, ctx, result.event.payload.dashboard);
|
|
300
302
|
}
|
|
301
303
|
}
|
|
302
304
|
catch (e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,oBAAoB,CAAC;AAE3E,OAAO,EAAwB,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAA4B,UAAU,EAAqB,MAAM,2BAA2B,CAAC;AACpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAyB,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,kB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YAAY,EAAE,CAAC;YACf,MAAM,GAAG,MAAM,IAAI,CAAC,qBAAqB,EAAE,GAAG,EAAE,GAAG,EAAE,YAAY,CAAC,CAAC;QACvE,CAAC;aAAM,CAAC;YACJ,MAAM,GAAG,MAAM,IAAI,CAAC,sBAAsB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAC1D,CAAC;QAED,MAAM,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAExB,MAAM,GAAG,CAAC,cAAc,CAAC,iBAAiB,EAAE,CAAC,CAAC;QAE9C,MAAM,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAExB,IAAI,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,6CAA6C,IAAI,YAAY,EAAE,CAAC;YACtF,6DAA6D;YAC7D,iDAAiD;YACjD,MAAM,KAAK,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;QACrC,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,GAAG,CAAC,cAAc,CAAC,eAAe,CAAC,CAAU,CAAC,CAAC,CAAC;QAEtD,MAAM,CAAC,CAAC;IACZ,CAAC;AACL,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,oBAAoB,CAAC;AAE3E,OAAO,EAAwB,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAA4B,UAAU,EAAqB,MAAM,2BAA2B,CAAC;AACpG,OAAO,EAAE,kDAAkD,EAAE,MAAM,6BAA6B,CAAC;AACjG,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAA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|
1
|
-
{"version":3,"file":"loadUser.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,QAAQ,CAAC,GAAqB;IAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;IAExB,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"loadUser.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,QAAQ,CAAC,GAAqB;IAC1C,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;IAExB,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC,kBAAkB,EAAE,CAAC;AACtD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IDashboard } from "@gooddata/sdk-model";
|
|
2
|
+
import { DashboardContext } from "../../../types/commonTypes.js";
|
|
3
|
+
import { IAttributeWithReferences } from "@gooddata/sdk-backend-spi";
|
|
4
|
+
export declare function preloadAttributeFiltersData(ctx: DashboardContext, dashboard?: IDashboard): Promise<IAttributeWithReferences[]>;
|
|
5
|
+
//# sourceMappingURL=preloadAttributeFiltersData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preloadAttributeFiltersData.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAA8B,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAErE,wBAAgB,2BAA2B,CACvC,GAAG,EAAE,gBAAgB,EACrB,SAAS,CAAC,EAAE,UAAU,GACvB,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAcrC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
|
2
|
+
import { isDashboardAttributeFilter } from "@gooddata/sdk-model";
|
|
3
|
+
export function preloadAttributeFiltersData(ctx, dashboard) {
|
|
4
|
+
const { backend, workspace } = ctx;
|
|
5
|
+
const dashboardAttributeFilterRefs = dashboard?.filterContext?.filters
|
|
6
|
+
.filter(isDashboardAttributeFilter)
|
|
7
|
+
.map((filter) => filter.attributeFilter.displayForm);
|
|
8
|
+
if (!dashboardAttributeFilterRefs?.length) {
|
|
9
|
+
return Promise.resolve([]);
|
|
10
|
+
}
|
|
11
|
+
return backend
|
|
12
|
+
.workspace(workspace)
|
|
13
|
+
.attributes()
|
|
14
|
+
.getAttributesWithReferences(dashboardAttributeFilterRefs);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=preloadAttributeFiltersData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preloadAttributeFiltersData.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAc,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAI7E,MAAM,UAAU,2BAA2B,CACvC,GAAqB,EACrB,SAAsB;IAEtB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC;IACnC,MAAM,4BAA4B,GAAG,SAAS,EAAE,aAAa,EAAE,OAAO;SACjE,MAAM,CAAC,0BAA0B,CAAC;SAClC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;IAEzD,IAAI,CAAC,4BAA4B,EAAE,MAAM,EAAE,CAAC;QACxC,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC/B,CAAC;IAED,OAAO,OAAO;SACT,SAAS,CAAC,SAAS,CAAC;SACpB,UAAU,EAAE;SACZ,2BAA2B,CAAC,4BAA4B,CAAC,CAAC;AACnE,CAAC"}
|