@gooddata/sdk-ui-dashboard 10.20.0-alpha.51 → 10.20.0-alpha.6
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 +1 -4
- 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 +4 -10
- package/esm/_staging/sharedHooks/useAttributes.js.map +1 -1
- package/esm/model/commandHandlers/common/validateDrills.d.ts +2 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts +2 -5
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +5 -31
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +2 -11
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +36 -74
- 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/resolveDashboardConfig.d.ts +0 -10
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +1 -17
- 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 +2 -8
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.d.ts +0 -4
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +2 -10
- 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 +1 -6
- 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 +8 -3
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
- package/esm/model/commandHandlers/render/renderingWorker.d.ts.map +1 -1
- package/esm/model/commandHandlers/render/renderingWorker.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 +9 -16
- 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 +6 -14
- 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 +23 -31
- package/esm/model/queryServices/queryWidgetFilters.js.map +1 -1
- package/esm/model/store/catalog/catalogReducers.d.ts +6 -6
- package/esm/model/store/catalog/catalogReducers.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.d.ts +0 -4
- package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.js +1 -14
- package/esm/model/store/catalog/catalogSelectors.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +0 -4
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +0 -6
- 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 +2 -3
- package/esm/model/store/dashboardStore.js.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts +0 -4
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js +1 -8
- package/esm/model/store/executionResults/executionResultsSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts +0 -5
- package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.js +1 -8
- package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.d.ts +0 -7
- package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.js +1 -9
- package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextState.d.ts +0 -6
- package/esm/model/store/filterContext/filterContextState.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextState.js +1 -2
- package/esm/model/store/filterContext/filterContextState.js.map +1 -1
- package/esm/model/store/filterContext/index.d.ts +0 -4
- package/esm/model/store/filterContext/index.d.ts.map +1 -1
- package/esm/model/store/index.d.ts +5 -5
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +5 -5
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/renderMode/index.d.ts +0 -1
- package/esm/model/store/renderMode/index.d.ts.map +1 -1
- package/esm/model/store/renderMode/renderModeReducers.d.ts +0 -1
- package/esm/model/store/renderMode/renderModeReducers.d.ts.map +1 -1
- package/esm/model/store/renderMode/renderModeReducers.js +0 -4
- package/esm/model/store/renderMode/renderModeReducers.js.map +1 -1
- package/esm/model/store/renderMode/renderModeSelectors.d.ts +0 -6
- package/esm/model/store/renderMode/renderModeSelectors.d.ts.map +1 -1
- package/esm/model/store/renderMode/renderModeSelectors.js +1 -7
- package/esm/model/store/renderMode/renderModeSelectors.js.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +9 -12
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
- package/esm/model/types/commonTypes.d.ts +3 -48
- 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 +1 -11
- package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
- package/esm/plugins/customizationApis/customizationBuilder.js +2 -52
- package/esm/plugins/customizationApis/customizationBuilder.js.map +1 -1
- package/esm/plugins/customizationApis/filterBarCustomizer.d.ts +2 -6
- package/esm/plugins/customizationApis/filterBarCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/filterBarCustomizer.js +7 -102
- package/esm/plugins/customizationApis/filterBarCustomizer.js.map +1 -1
- package/esm/plugins/customizationApis/layoutCustomizer.d.ts +3 -16
- package/esm/plugins/customizationApis/layoutCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/layoutCustomizer.js +2 -161
- package/esm/plugins/customizationApis/layoutCustomizer.js.map +1 -1
- package/esm/plugins/customizationApis/types.d.ts +1 -10
- package/esm/plugins/customizationApis/types.d.ts.map +1 -1
- package/esm/plugins/customizationApis/types.js +1 -10
- package/esm/plugins/customizationApis/types.js.map +1 -1
- package/esm/plugins/customizer.d.ts +37 -717
- 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 +3 -5
- 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 +3 -14
- 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 +0 -42
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboard/types.js +1 -9
- package/esm/presentation/dashboard/types.js.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.d.ts +0 -3
- 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 +0 -1
- package/esm/presentation/dashboardContexts/index.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/index.js +1 -2
- package/esm/presentation/dashboardContexts/index.js.map +1 -1
- package/esm/presentation/dashboardContexts/types.d.ts +2 -45
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- 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 +6 -6
- 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 +4 -8
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useAttributeDataSet.js.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +3 -3
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +2 -2
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/index.d.ts +0 -1
- package/esm/presentation/filterBar/filterBar/index.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/index.js +1 -2
- 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 +3 -6
- 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 +11 -24
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
- 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 +0 -2
- 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 +2 -16
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts +0 -2
- 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 +0 -2
- 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/GridLayoutElement.d.ts +0 -9
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +2 -7
- 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 +1 -3
- 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 +1 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +1 -27
- 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 +2 -5
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js +22 -13
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +6 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +6 -5
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +5 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -1
- package/esm/presentation/index.d.ts +0 -1
- package/esm/presentation/index.d.ts.map +1 -1
- package/esm/presentation/index.js +1 -2
- package/esm/presentation/index.js.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js +3 -6
- 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 +3 -6
- 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 +6 -16
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +1 -4
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts +0 -2
- 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 +0 -2
- 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/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js +1 -3
- 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 +1 -3
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts +0 -18
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +1 -16
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts +0 -3
- 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 +0 -4
- 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 +0 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.js +2 -3
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.js.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.d.ts +0 -2
- 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 +0 -2
- 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 +0 -2
- 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 +3 -4
- 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 +3 -4
- 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 +3 -4
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.d.ts +0 -1
- 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 +2 -6
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.d.ts +0 -1
- 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/buttonBar/button/editButton/DefaultEditButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.js +2 -3
- package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.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 +1 -3
- package/esm/presentation/topBar/title/RenderModeAwareTitle.js.map +1 -1
- package/esm/presentation/topBar/topBar/index.d.ts +0 -1
- package/esm/presentation/topBar/topBar/index.d.ts.map +1 -1
- package/esm/presentation/topBar/topBar/index.js +1 -2
- 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 +2 -5
- package/esm/presentation/widget/common/useWidgetHighlighting.js.map +1 -1
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +12 -8
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js.map +1 -1
- package/esm/presentation/widget/description/types.d.ts +0 -2
- package/esm/presentation/widget/description/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsight.js +1 -3
- package/esm/presentation/widget/insight/DefaultDashboardInsight.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +16 -35
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.js +3 -5
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.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 +2 -3
- 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 +2 -4
- 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 +2 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +1 -2
- 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 +1 -2
- 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 +2 -3
- 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 +2 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +5 -6
- 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 +3 -4
- 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 +17 -8
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.d.ts +2 -3
- 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 +2 -12
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.js +7 -26
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.d.ts +3 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js +14 -14
- 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 +0 -5
- 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 +1 -3
- package/esm/presentation/widget/richText/DefaultDashboardRichText.js.map +1 -1
- package/esm/presentation/widget/richText/types.d.ts +0 -7
- package/esm/presentation/widget/richText/types.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.d.ts +0 -2
- 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 +1 -3
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +7 -12
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts +0 -7
- 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 +6 -12
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.js +1 -3
- package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/types.d.ts +0 -2
- package/esm/presentation/widget/widget/InsightWidget/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.js +1 -3
- package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.js.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/types.d.ts +0 -2
- package/esm/presentation/widget/widget/RichTextWidget/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js +1 -3
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts +0 -2
- 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 +0 -2
- 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 +0 -7
- package/esm/presentation/widget/widget/types.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +68 -1075
- 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 +2 -5
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardNestedLayoutWidget.css +0 -6
- package/styles/css/dashboardNestedLayoutWidget.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 +3 -27
- package/styles/css/main.css.map +1 -1
- 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 +1 -5
- package/styles/scss/dashboardNestedLayoutWidget.scss +0 -8
- package/styles/scss/main.scss +1 -2
- package/esm/_staging/slideshow/breakupSlideTransformer.d.ts +0 -10
- package/esm/_staging/slideshow/breakupSlideTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/breakupSlideTransformer.js +0 -20
- package/esm/_staging/slideshow/breakupSlideTransformer.js.map +0 -1
- package/esm/_staging/slideshow/containerSlideTransformer.d.ts +0 -11
- package/esm/_staging/slideshow/containerSlideTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/containerSlideTransformer.js +0 -49
- package/esm/_staging/slideshow/containerSlideTransformer.js.map +0 -1
- package/esm/_staging/slideshow/containerSwitcherSlideTransformer.d.ts +0 -8
- package/esm/_staging/slideshow/containerSwitcherSlideTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/containerSwitcherSlideTransformer.js +0 -115
- package/esm/_staging/slideshow/containerSwitcherSlideTransformer.js.map +0 -1
- package/esm/_staging/slideshow/index.d.ts +0 -10
- package/esm/_staging/slideshow/index.d.ts.map +0 -1
- package/esm/_staging/slideshow/index.js +0 -11
- package/esm/_staging/slideshow/index.js.map +0 -1
- package/esm/_staging/slideshow/itemsSlideTransformer.d.ts +0 -9
- package/esm/_staging/slideshow/itemsSlideTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/itemsSlideTransformer.js +0 -13
- package/esm/_staging/slideshow/itemsSlideTransformer.js.map +0 -1
- package/esm/_staging/slideshow/layoutTransformer.d.ts +0 -9
- package/esm/_staging/slideshow/layoutTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/layoutTransformer.js +0 -24
- package/esm/_staging/slideshow/layoutTransformer.js.map +0 -1
- package/esm/_staging/slideshow/sectionSlideTransformer.d.ts +0 -4
- package/esm/_staging/slideshow/sectionSlideTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/sectionSlideTransformer.js +0 -19
- package/esm/_staging/slideshow/sectionSlideTransformer.js.map +0 -1
- package/esm/_staging/slideshow/singleWidgetTransformer.d.ts +0 -6
- package/esm/_staging/slideshow/singleWidgetTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/singleWidgetTransformer.js +0 -21
- package/esm/_staging/slideshow/singleWidgetTransformer.js.map +0 -1
- package/esm/_staging/slideshow/switcherSlideTransformer.d.ts +0 -9
- package/esm/_staging/slideshow/switcherSlideTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/switcherSlideTransformer.js +0 -37
- package/esm/_staging/slideshow/switcherSlideTransformer.js.map +0 -1
- package/esm/_staging/slideshow/utils/index.d.ts +0 -16
- package/esm/_staging/slideshow/utils/index.d.ts.map +0 -1
- package/esm/_staging/slideshow/utils/index.js +0 -57
- package/esm/_staging/slideshow/utils/index.js.map +0 -1
- package/esm/_staging/slideshow/widgetSlideTransformer.d.ts +0 -3
- package/esm/_staging/slideshow/widgetSlideTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/widgetSlideTransformer.js +0 -24
- package/esm/_staging/slideshow/widgetSlideTransformer.js.map +0 -1
- package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.d.ts +0 -7
- package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.d.ts.map +0 -1
- package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.js +0 -13
- package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.js.map +0 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts +0 -5
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +0 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +0 -16
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js.map +0 -1
- package/esm/plugins/customizationApis/exportLayoutCustomizer.d.ts +0 -13
- package/esm/plugins/customizationApis/exportLayoutCustomizer.d.ts.map +0 -1
- package/esm/plugins/customizationApis/exportLayoutCustomizer.js +0 -47
- package/esm/plugins/customizationApis/exportLayoutCustomizer.js.map +0 -1
- package/esm/plugins/customizationApis/loadingCustomizer.d.ts +0 -32
- package/esm/plugins/customizationApis/loadingCustomizer.d.ts.map +0 -1
- package/esm/plugins/customizationApis/loadingCustomizer.js +0 -144
- package/esm/plugins/customizationApis/loadingCustomizer.js.map +0 -1
- package/esm/plugins/customizationApis/richTextCustomizer.d.ts +0 -26
- package/esm/plugins/customizationApis/richTextCustomizer.d.ts.map +0 -1
- package/esm/plugins/customizationApis/richTextCustomizer.js +0 -138
- package/esm/plugins/customizationApis/richTextCustomizer.js.map +0 -1
- package/esm/plugins/customizationApis/titleCustomizer.d.ts +0 -30
- package/esm/plugins/customizationApis/titleCustomizer.d.ts.map +0 -1
- package/esm/plugins/customizationApis/titleCustomizer.js +0 -144
- package/esm/plugins/customizationApis/titleCustomizer.js.map +0 -1
- package/esm/plugins/customizationApis/topBarCustomizer.d.ts +0 -30
- package/esm/plugins/customizationApis/topBarCustomizer.d.ts.map +0 -1
- package/esm/plugins/customizationApis/topBarCustomizer.js +0 -144
- package/esm/plugins/customizationApis/topBarCustomizer.js.map +0 -1
- package/esm/plugins/customizationApis/visualizationSwitcherCustomizer.d.ts +0 -30
- package/esm/plugins/customizationApis/visualizationSwitcherCustomizer.d.ts.map +0 -1
- package/esm/plugins/customizationApis/visualizationSwitcherCustomizer.js +0 -255
- package/esm/plugins/customizationApis/visualizationSwitcherCustomizer.js.map +0 -1
- package/esm/presentation/dashboardContexts/useSlideData.d.ts +0 -19
- package/esm/presentation/dashboardContexts/useSlideData.d.ts.map +0 -1
- package/esm/presentation/dashboardContexts/useSlideData.js +0 -39
- package/esm/presentation/dashboardContexts/useSlideData.js.map +0 -1
- package/esm/presentation/export/index.d.ts +0 -3
- package/esm/presentation/export/index.d.ts.map +0 -1
- package/esm/presentation/export/index.js +0 -4
- package/esm/presentation/export/index.js.map +0 -1
- package/esm/presentation/export/types.d.ts +0 -67
- package/esm/presentation/export/types.d.ts.map +0 -1
- package/esm/presentation/export/types.js +0 -3
- package/esm/presentation/export/types.js.map +0 -1
- package/esm/presentation/export/useExportData.d.ts +0 -15
- package/esm/presentation/export/useExportData.d.ts.map +0 -1
- package/esm/presentation/export/useExportData.js +0 -54
- package/esm/presentation/export/useExportData.js.map +0 -1
- package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.d.ts +0 -6
- package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.d.ts.map +0 -1
- package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.js +0 -12
- package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.js.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts +0 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js +0 -25
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts +0 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js +0 -13
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js.map +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts +0 -4
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts.map +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js +0 -12
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js.map +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts +0 -3
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts.map +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js +0 -18
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js.map +0 -1
- package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.d.ts +0 -6
- package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.d.ts.map +0 -1
- package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.js +0 -12
- package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.js.map +0 -1
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts +0 -9
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts.map +0 -1
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +0 -19
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js.map +0 -1
- package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.d.ts +0 -12
- package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.d.ts.map +0 -1
- package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.js +0 -15
- package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.js.map +0 -1
- package/esm/presentation/widget/description/useInsightWidgetDescription.d.ts +0 -7
- package/esm/presentation/widget/description/useInsightWidgetDescription.d.ts.map +0 -1
- package/esm/presentation/widget/description/useInsightWidgetDescription.js +0 -21
- package/esm/presentation/widget/description/useInsightWidgetDescription.js.map +0 -1
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.d.ts +0 -4
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.d.ts.map +0 -1
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.js +0 -7
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.js.map +0 -1
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.d.ts +0 -2
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.d.ts.map +0 -1
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.js +0 -3
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.js.map +0 -1
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.d.ts +0 -4
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.d.ts.map +0 -1
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.js +0 -10
- package/esm/presentation/widget/richText/ExportModeDashboardRichText.js.map +0 -1
- package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.d.ts +0 -7
- package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.d.ts.map +0 -1
- package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.js +0 -10
- package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.js.map +0 -1
- package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.d.ts +0 -10
- package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.d.ts.map +0 -1
- package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.js +0 -16
- package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.js.map +0 -1
- package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.d.ts +0 -7
- package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.d.ts.map +0 -1
- package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.js +0 -13
- package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.js.map +0 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.d.ts +0 -7
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.d.ts.map +0 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.js +0 -13
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.js.map +0 -1
- package/styles/css/remove.css +0 -8
- package/styles/css/remove.css.map +0 -1
- package/styles/scss/remove.scss +0 -9
package/NOTICE
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
|
|
9
9
|
|
|
10
|
-
Date generated: 2025-1-
|
|
10
|
+
Date generated: 2025-1-9
|
|
11
11
|
|
|
12
|
-
Revision ID:
|
|
12
|
+
Revision ID: 24c3ac7c4e965114944bef9abaa18a0519f94f78
|
|
13
13
|
|
|
14
14
|
================================================================================
|
|
15
15
|
================================================================================
|
|
@@ -72660,4 +72660,4 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
72660
72660
|
--------------------------------------------------------------------------------
|
|
72661
72661
|
--------------------------------------------------------------------------------
|
|
72662
72662
|
|
|
72663
|
-
Report Generated by FOSSA on 2025-1-
|
|
72663
|
+
Report Generated by FOSSA on 2025-1-9
|
package/esm/__version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "10.20.0-alpha.
|
|
1
|
+
export declare const LIB_VERSION = "10.20.0-alpha.6";
|
|
2
2
|
//# sourceMappingURL=__version.d.ts.map
|
package/esm/__version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,oBAAoB,CAAC"}
|
package/esm/__version.js
CHANGED
package/esm/__version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__version.js","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,6DAA6D;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"__version.js","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,6DAA6D;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC"}
|
|
@@ -50,7 +50,7 @@ export declare function normalizeItemSizeToParent(itemToCheck: IDashboardLayoutI
|
|
|
50
50
|
/**
|
|
51
51
|
* @internal
|
|
52
52
|
*/
|
|
53
|
-
export declare function calculateWidgetMinHeight(layoutItem: IDashboardLayoutItem<ExtendedDashboardWidget>, currentSize: IDashboardLayoutSize | undefined, insightMap: ObjRefMap<IInsight>, settings: ISettings
|
|
53
|
+
export declare function calculateWidgetMinHeight(layoutItem: IDashboardLayoutItem<ExtendedDashboardWidget>, currentSize: IDashboardLayoutSize | undefined, insightMap: ObjRefMap<IInsight>, settings: ISettings): number | undefined;
|
|
54
54
|
export declare const getDashboardLayoutItemHeight: (size: IDashboardLayoutSize) => number | undefined;
|
|
55
55
|
export declare const getDashboardLayoutItemHeightForGrid: (gridHeight: number) => number;
|
|
56
56
|
export declare const determineSizeForScreen: (screen: ScreenSize, layoutItemSize?: IDashboardLayoutSizeByScreenSize) => IDashboardLayoutSize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sizing.d.ts","sourceRoot":"","sources":["../../../src/_staging/layout/sizing.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,oBAAoB,EACpB,oBAAoB,EACpB,QAAQ,EACR,kBAAkB,EAClB,IAAI,EAEJ,SAAS,EAWT,UAAU,EACV,oBAAoB,EACpB,gCAAgC,EAChC,gBAAgB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAMH,sBAAsB,EASzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAMr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KAAG,MACnC,CAAC;AAEvC,eAAO,MAAM,sBAAsB,WACvB,UAAU,mBACD,gCAAgC,KAClD,oBAKF,CAAC;AAEF,eAAO,MAAM,uBAAuB,WACxB,UAAU,mBACD,gCAAgC,WAgBpD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAC5C,MAAM,EAAE,oBAAoB,GAC7B,gCAAgC,CA6BlC;AAwED;;;;;;;GAOG;AACH,wBAAgB,2CAA2C,CAAC,OAAO,EAC/D,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC,EAAE,EACtC,gBAAgB,EAAE,gCAAgC,GAAG,SAAS,EAC9D,MAAM,EAAE,UAAU,GACnB,oBAAoB,CAAC,OAAO,CAAC,EAAE,EAAE,CA8BnC"}
|
|
@@ -221,13 +221,10 @@ function normalizeSizeToParent(itemSize, itemMinWidth, parent, screen = "xl") {
|
|
|
221
221
|
/**
|
|
222
222
|
* @internal
|
|
223
223
|
*/
|
|
224
|
-
export function calculateWidgetMinHeight(layoutItem, currentSize, insightMap, settings
|
|
224
|
+
export function calculateWidgetMinHeight(layoutItem, currentSize, insightMap, settings) {
|
|
225
225
|
let widgetType;
|
|
226
226
|
let content;
|
|
227
227
|
const widget = layoutItem.widget;
|
|
228
|
-
if (isExportMode) {
|
|
229
|
-
return undefined;
|
|
230
|
-
}
|
|
231
228
|
if (isWidget(widget)) {
|
|
232
229
|
widgetType = getWidgetType(widget);
|
|
233
230
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sizing.js","sourceRoot":"","sources":["../../../src/_staging/layout/sizing.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAMH,iBAAiB,EAEjB,SAAS,EACT,eAAe,EACf,KAAK,EACL,WAAW,EACX,sBAAsB,EACtB,QAAQ,EACR,UAAU,IAAI,aAAa,EAC3B,6BAA6B,EAE7B,iBAAiB,GAKpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,qBAAqB,EACr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AAC;YAChB,eAAe,GAAG,CAAC,CAAC;QACxB,CAAC;QAED,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,eAAe,GAAG,eAAe,GAAG,QAAQ,CAAC,SAAS,CAAC;IAC3D,CAAC,CAAC,CAAC;IAEH,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,YAAY,CAAC;AACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAttributes.d.ts","sourceRoot":"","sources":["../../../src/_staging/sharedHooks/useAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useAttributes.d.ts","sourceRoot":"","sources":["../../../src/_staging/sharedHooks/useAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOvE;;GAEG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE;;;;EA2BnD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// (C) 2022
|
|
1
|
+
// (C) 2022 GoodData Corporation
|
|
2
2
|
import { useEffect, useMemo } from "react";
|
|
3
|
-
import { queryAttributeByDisplayForm, useDashboardQueryProcessing,
|
|
3
|
+
import { queryAttributeByDisplayForm, useDashboardQueryProcessing, } from "../../model/index.js";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -8,15 +8,9 @@ export function useAttributes(displayForms) {
|
|
|
8
8
|
const { run: getAttributes, result: attributes, status: attributesLoadingStatus, error: attributesLoadingError, } = useDashboardQueryProcessing({
|
|
9
9
|
queryCreator: queryAttributeByDisplayForm,
|
|
10
10
|
});
|
|
11
|
-
// First wait for preloaded filter attributes, otherwise we might be spawning lot of unnecessary requests
|
|
12
|
-
const attributesWithReferences = useDashboardSelector(selectPreloadedAttributesWithReferences);
|
|
13
|
-
const enablePerfOptimizations = useDashboardSelector(selectEnableCriticalContentPerformanceOptimizations);
|
|
14
11
|
useEffect(() => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
getAttributes(displayForms);
|
|
18
|
-
}
|
|
19
|
-
}, [displayForms, getAttributes, enablePerfOptimizations, attributesWithReferences]);
|
|
12
|
+
getAttributes(displayForms);
|
|
13
|
+
}, [displayForms, getAttributes]);
|
|
20
14
|
const attributesLoading = useMemo(() => {
|
|
21
15
|
return attributesLoadingStatus === "pending" || attributesLoadingStatus === "running";
|
|
22
16
|
}, [attributesLoadingStatus]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAttributes.js","sourceRoot":"","sources":["../../../src/_staging/sharedHooks/useAttributes.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"useAttributes.js","sourceRoot":"","sources":["../../../src/_staging/sharedHooks/useAttributes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EACH,2BAA2B,EAE3B,2BAA2B,GAC9B,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,YAAsB;IAChD,MAAM,EACF,GAAG,EAAE,aAAa,EAClB,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,uBAAuB,EAC/B,KAAK,EAAE,sBAAsB,GAChC,GAAG,2BAA2B,CAI7B;QACE,YAAY,EAAE,2BAA2B;KAC5C,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,aAAa,CAAC,YAAY,CAAC,CAAC;IAChC,CAAC,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC;IAElC,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,EAAE;QACnC,OAAO,uBAAuB,KAAK,SAAS,IAAI,uBAAuB,KAAK,SAAS,CAAC;IAC1F,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC,CAAC;IAE9B,OAAO;QACH,UAAU;QACV,iBAAiB;QACjB,sBAAsB;KACzB,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<
|
|
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<{
|
|
9
9
|
payload: import("@gooddata/sdk-model").ObjRef[];
|
|
10
10
|
type: "uiSlice/removeInvalidDrillWidgetRefs";
|
|
11
|
-
}> | import("redux-saga/effects").PutEffect<{
|
|
11
|
+
}> | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<void>> | import("redux-saga/effects").PutEffect<{
|
|
12
12
|
payload: import("@gooddata/sdk-model").ObjRef[];
|
|
13
13
|
type: "uiSlice/addInvalidDrillWidgetRefs";
|
|
14
14
|
}>, void, IInvalidDrillInfo[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SagaIterator } from "redux-saga";
|
|
2
2
|
import { PayloadAction } from "@reduxjs/toolkit";
|
|
3
|
-
import { IInsight, IDateFilterConfig, IAttributeDisplayFormMetadataObject, IWidget, IDashboardLayout, IDashboard, ISettings, ICatalogDateDataset
|
|
3
|
+
import { IInsight, IDateFilterConfig, IAttributeDisplayFormMetadataObject, IWidget, IDashboardLayout, IDashboard, ISettings, ICatalogDateDataset } from "@gooddata/sdk-model";
|
|
4
4
|
import { DashboardContext } from "../../../types/commonTypes.js";
|
|
5
5
|
import { ObjRefMap } from "../../../../_staging/metadata/objRefMap.js";
|
|
6
6
|
export declare const EmptyDashboardLayout: IDashboardLayout<IWidget>;
|
|
@@ -11,7 +11,6 @@ export declare const EmptyDashboardLayout: IDashboardLayout<IWidget>;
|
|
|
11
11
|
* @param dateFilterConfig - date filter config to use for the new dashboard
|
|
12
12
|
*/
|
|
13
13
|
export declare function actionsToInitializeNewDashboard(dateFilterConfig: IDateFilterConfig): Array<PayloadAction<any>>;
|
|
14
|
-
export declare function loadDataSets(ctx: DashboardContext, dataSetRefs: ObjRef[]): Promise<IDataSetMetadataObject[]>;
|
|
15
14
|
/**
|
|
16
15
|
* Returns a list of actions which when processed will initialize filter context, layout and meta parts
|
|
17
16
|
* of the state for an existing dashboard.
|
|
@@ -31,11 +30,9 @@ export declare function loadDataSets(ctx: DashboardContext, dataSetRefs: ObjRef[
|
|
|
31
30
|
* @param dateFilterConfig - effective date filter config to use; note that this function will not store
|
|
32
31
|
* the date filter config anywhere; it uses the config during filter context sanitization & determining
|
|
33
32
|
* which date option is selected
|
|
34
|
-
* @param dateDataSets - all catalog date datasets used to validate date filters. May not be given when
|
|
35
|
-
* catalog load is being deferred
|
|
36
33
|
* @param displayForms - specify display forms that should be used for in-memory resolution of
|
|
37
34
|
* attribute filter display forms to metadata objects
|
|
38
35
|
* @param persistedDashboard - dashboard to use for the persisted dashboard state slice in case it needs to be different from the dashboard param
|
|
39
36
|
*/
|
|
40
|
-
export declare function actionsToInitializeExistingDashboard(ctx: DashboardContext, dashboard: IDashboard, insights: IInsight[], settings: ISettings, dateFilterConfig: IDateFilterConfig, dateDataSets: ICatalogDateDataset[]
|
|
37
|
+
export declare function actionsToInitializeExistingDashboard(ctx: DashboardContext, dashboard: IDashboard, insights: IInsight[], settings: ISettings, dateFilterConfig: IDateFilterConfig, dateDataSets: ICatalogDateDataset[], displayForms?: ObjRefMap<IAttributeDisplayFormMetadataObject>, persistedDashboard?: IDashboard): SagaIterator<Array<PayloadAction<any>>>;
|
|
41
38
|
//# sourceMappingURL=stateInitializers.d.ts.map
|
|
@@ -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,
|
|
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,EAKtB,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;AAiFD;;;;;;;;;;;;;;;;;;;;;;GAsBG;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,EACnC,YAAY,CAAC,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC7D,kBAAkB,CAAC,EAAE,UAAU,GAChC,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAqEzC"}
|
|
@@ -41,21 +41,16 @@ export function actionsToInitializeNewDashboard(dateFilterConfig) {
|
|
|
41
41
|
drillActions.resetCrossFiltering(),
|
|
42
42
|
];
|
|
43
43
|
}
|
|
44
|
-
const keepOnlyFiltersWithValidRef = (filter, availableDfRefs,
|
|
44
|
+
const keepOnlyFiltersWithValidRef = (filter, availableDfRefs, availableDateDatasets) => {
|
|
45
45
|
if (!isDashboardAttributeFilter(filter)) {
|
|
46
46
|
if (isDashboardDateFilterWithDimension(filter)) {
|
|
47
|
-
return (
|
|
48
|
-
validDataSetIds.includes(filter.dateFilter.dataSet?.identifier));
|
|
47
|
+
return availableDateDatasets.some((dateDataSet) => areObjRefsEqual(dateDataSet.dataSet.ref, filter.dateFilter.dataSet));
|
|
49
48
|
}
|
|
50
49
|
return true; // common date filter is kept always
|
|
51
50
|
}
|
|
52
51
|
return availableDfRefs.some((ref) => areObjRefsEqual(ref, filter.attributeFilter.displayForm));
|
|
53
52
|
};
|
|
54
|
-
|
|
55
|
-
const { backend, workspace } = ctx;
|
|
56
|
-
return backend.workspace(workspace).datasets().getDataSets(dataSetRefs);
|
|
57
|
-
}
|
|
58
|
-
function* sanitizeFilterContext(ctx, filterContext, catalogDateDataSets, dataSets = [], displayForms, settings) {
|
|
53
|
+
function* sanitizeFilterContext(ctx, filterContext, dateDataSets = [], displayForms) {
|
|
59
54
|
// we don't need sanitize filter references, if backend guarantees consistent references
|
|
60
55
|
if (!ctx.backend.capabilities.allowsInconsistentRelations) {
|
|
61
56
|
return filterContext;
|
|
@@ -82,27 +77,8 @@ function* sanitizeFilterContext(ctx, filterContext, catalogDateDataSets, dataSet
|
|
|
82
77
|
else {
|
|
83
78
|
availableRefs = yield call(loadAvailableDisplayFormRefs, ctx, usedFilterDisplayForms);
|
|
84
79
|
}
|
|
85
|
-
if (settings?.enableCriticalContentPerformanceOptimizations) {
|
|
86
|
-
// full catalog may not be available here, just related datasets to the dashboard
|
|
87
|
-
// -- find out if some datasets are still missing and if needed, fetch them
|
|
88
|
-
// additional date filters, let them validate
|
|
89
|
-
const additionalDateFilters = filterContext.filters
|
|
90
|
-
.filter((filter) => !isDashboardAttributeFilter(filter))
|
|
91
|
-
.filter(isDashboardDateFilterWithDimension)
|
|
92
|
-
.map((filter) => filter.dateFilter.dataSet);
|
|
93
|
-
// check which are missing and load them
|
|
94
|
-
const missingDataSets = additionalDateFilters
|
|
95
|
-
.filter(isIdentifierRef)
|
|
96
|
-
.filter((filter) => !dataSets.find((dataSet) => dataSet.id === filter.identifier));
|
|
97
|
-
const loadedMissing = yield call(loadDataSets, ctx, missingDataSets);
|
|
98
|
-
const resolvedDataSetsIds = [...dataSets, ...loadedMissing].map((dataSet) => dataSet.id);
|
|
99
|
-
return update("filters", (filters) => filters.filter((filter) => {
|
|
100
|
-
return keepOnlyFiltersWithValidRef(filter, availableRefs, resolvedDataSetsIds);
|
|
101
|
-
}), filterContext);
|
|
102
|
-
}
|
|
103
|
-
const dataSetIds = (catalogDateDataSets || []).map((dataSet) => dataSet.dataSet.id);
|
|
104
80
|
return update("filters", (filters) => filters.filter((filter) => {
|
|
105
|
-
return keepOnlyFiltersWithValidRef(filter, availableRefs,
|
|
81
|
+
return keepOnlyFiltersWithValidRef(filter, availableRefs, dateDataSets);
|
|
106
82
|
}), filterContext);
|
|
107
83
|
}
|
|
108
84
|
function getDisplayAsLabels(dashboard) {
|
|
@@ -132,14 +108,12 @@ function getDisplayAsLabels(dashboard) {
|
|
|
132
108
|
* @param dateFilterConfig - effective date filter config to use; note that this function will not store
|
|
133
109
|
* the date filter config anywhere; it uses the config during filter context sanitization & determining
|
|
134
110
|
* which date option is selected
|
|
135
|
-
* @param dateDataSets - all catalog date datasets used to validate date filters. May not be given when
|
|
136
|
-
* catalog load is being deferred
|
|
137
111
|
* @param displayForms - specify display forms that should be used for in-memory resolution of
|
|
138
112
|
* attribute filter display forms to metadata objects
|
|
139
113
|
* @param persistedDashboard - dashboard to use for the persisted dashboard state slice in case it needs to be different from the dashboard param
|
|
140
114
|
*/
|
|
141
115
|
export function* actionsToInitializeExistingDashboard(ctx, dashboard, insights, settings, dateFilterConfig, dateDataSets, displayForms, persistedDashboard) {
|
|
142
|
-
const sanitizedFilterContext = yield call(sanitizeFilterContext, ctx, dashboard.filterContext, dateDataSets,
|
|
116
|
+
const sanitizedFilterContext = yield call(sanitizeFilterContext, ctx, dashboard.filterContext, dateDataSets, displayForms);
|
|
143
117
|
const sanitizedDashboard = {
|
|
144
118
|
...dashboard,
|
|
145
119
|
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,
|
|
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;AA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EACH,uBAAuB,CAAC,OAAO,EAC/B,eAAe,EACf,YAAY,CACf,CAAC;IAEF;;;;;;OAMG;IACH,MAAM,eAAe,GAAG,uBAAuB,CAC3C,mBAAmB,CAAC,MAAM,IAAI,oBAAoB,EAClD,QAAQ,EACR,QAAQ,CACX,CAAC;IAEF,OAAO;QACH,oBAAoB,CAAC,gBAAgB,CAAC;YAClC,+BAA+B,EAAE,uBAAuB;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"}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import { SagaIterator } from "redux-saga";
|
|
2
2
|
import { InitializeDashboard } from "../../../commands/dashboard.js";
|
|
3
|
+
import { DashboardInitialized } from "../../../events/dashboard.js";
|
|
3
4
|
import { DashboardContext } from "../../../types/commonTypes.js";
|
|
4
|
-
|
|
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
|
-
payload: import("../../../store/catalog/catalogReducers.js").SetCatalogItemsPayload;
|
|
8
|
-
type: "catalog/setCatalogItems";
|
|
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[]>;
|
|
14
|
-
export declare function initializeDashboardHandler(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator;
|
|
5
|
+
export declare function initializeDashboardHandler(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator<DashboardInitialized>;
|
|
15
6
|
//# 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;
|
|
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;AACrE,OAAO,EAAE,oBAAoB,EAAwB,MAAM,8BAA8B,CAAC;AAE1F,OAAO,EAAE,gBAAgB,EAA2B,MAAM,+BAA+B,CAAC;AAqY1F,wBAAiB,0BAA0B,CACvC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC,oBAAoB,CAAC,CAuBpC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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 { resolveDashboardConfig } 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";
|
|
@@ -24,7 +24,7 @@ import { backendCapabilitiesActions } from "../../../store/backendCapabilities/i
|
|
|
24
24
|
import { areObjRefsEqual, isDrillToInsight, isInsightWidget, isVisualizationSwitcherWidget, serializeObjRef, } from "@gooddata/sdk-model";
|
|
25
25
|
import { actionsToInitializeExistingDashboard, actionsToInitializeNewDashboard, } from "../common/stateInitializers.js";
|
|
26
26
|
import { executionResultsActions } from "../../../store/executionResults/index.js";
|
|
27
|
-
import {
|
|
27
|
+
import { createDisplayFormMapFromCatalog } from "../../../../_staging/catalog/displayFormMap.js";
|
|
28
28
|
import { getPrivateContext } from "../../../store/_infra/contexts.js";
|
|
29
29
|
import { accessibleDashboardsActions } from "../../../store/accessibleDashboards/index.js";
|
|
30
30
|
import { loadAccessibleDashboardList } from "./loadAccessibleDashboardList.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";
|
|
44
46
|
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,13 +52,6 @@ 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
|
-
}
|
|
62
55
|
const insights = await loadInsightsForPersistedDashboard(ctx, preloadedDashboard);
|
|
63
56
|
return {
|
|
64
57
|
dashboard: preloadedDashboard,
|
|
@@ -71,7 +64,7 @@ async function loadDashboardFromBackend(ctx, privateCtx, dashboardRef, hasPersis
|
|
|
71
64
|
return backend
|
|
72
65
|
.workspace(workspace)
|
|
73
66
|
.dashboards()
|
|
74
|
-
.getDashboardReferencedObjects(preloadedDashboard, ["insight"
|
|
67
|
+
.getDashboardReferencedObjects(preloadedDashboard, ["insight"])
|
|
75
68
|
.then((references) => {
|
|
76
69
|
return {
|
|
77
70
|
dashboard: preloadedDashboard,
|
|
@@ -82,10 +75,7 @@ async function loadDashboardFromBackend(ctx, privateCtx, dashboardRef, hasPersis
|
|
|
82
75
|
return backend
|
|
83
76
|
.workspace(workspace)
|
|
84
77
|
.dashboards()
|
|
85
|
-
.getDashboardWithReferences(dashboardRef, filterContextRef, { loadUserData: true }, [
|
|
86
|
-
"insight",
|
|
87
|
-
"dataSet",
|
|
88
|
-
]);
|
|
78
|
+
.getDashboardWithReferences(dashboardRef, filterContextRef, { loadUserData: true }, ["insight"]);
|
|
89
79
|
}
|
|
90
80
|
async function loadInsightsForPersistedDashboard(ctx, dashboard) {
|
|
91
81
|
if (!dashboard?.layout) {
|
|
@@ -118,24 +108,16 @@ async function loadInsightsForPersistedDashboard(ctx, dashboard) {
|
|
|
118
108
|
const uniqueRefs = uniqBy(referencedInsights, serializeObjRef);
|
|
119
109
|
return Promise.all(uniqueRefs.map((ref) => backend.workspace(workspace).insights().getInsight(ref)));
|
|
120
110
|
}
|
|
121
|
-
function* decideAndLoadFullCatalog(ctx, cmd) {
|
|
122
|
-
// defer catalog loading when optimizations enabled
|
|
123
|
-
if (cmd.payload.config?.settings?.enableCriticalContentPerformanceOptimizations) {
|
|
124
|
-
return null;
|
|
125
|
-
}
|
|
126
|
-
const fullCatalog = yield call(loadCatalog, ctx, cmd);
|
|
127
|
-
return fullCatalog;
|
|
128
|
-
}
|
|
129
111
|
function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
130
112
|
const { backend } = ctx;
|
|
131
113
|
const privateCtx = yield call(getPrivateContext);
|
|
132
114
|
const { usesStrictAccessControl } = backend.capabilities;
|
|
133
115
|
const calls = [
|
|
134
116
|
call(loadDashboardFromBackend, ctx, privateCtx, dashboardRef, !!cmd.payload.persistedDashboard),
|
|
135
|
-
call(
|
|
117
|
+
call(resolveDashboardConfig, ctx, cmd),
|
|
136
118
|
call(resolvePermissions, ctx, cmd),
|
|
137
119
|
call(resolveEntitlements, ctx),
|
|
138
|
-
call(
|
|
120
|
+
call(loadCatalog, ctx, cmd),
|
|
139
121
|
call(loadDashboardAlerts, ctx),
|
|
140
122
|
call(loadUser, ctx),
|
|
141
123
|
call(loadDashboardList, ctx),
|
|
@@ -147,30 +129,31 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
147
129
|
if (!usesStrictAccessControl) {
|
|
148
130
|
calls.push(call(loadAccessibleDashboardList, ctx));
|
|
149
131
|
}
|
|
150
|
-
const [dashboardWithReferences,
|
|
132
|
+
const [dashboardWithReferences, config, permissions, entitlements, catalog, alerts, user, listedDashboards, legacyDashboards, dashboardPermissions, dateHierarchyTemplates, filterViews, accessibleDashboards,] = yield all(calls);
|
|
151
133
|
const { dashboard: loadedDashboard, references: { insights }, } = dashboardWithReferences;
|
|
152
134
|
const dashboard = applyDefaultFilterView(loadedDashboard, filterViews, config.settings);
|
|
153
135
|
const effectiveDateFilterConfig = yield call(mergeDateFilterConfigWithOverrides, ctx, cmd, config.dateFilterConfig, dashboard.dateFilterConfig);
|
|
154
|
-
const initActions = yield call(actionsToInitializeExistingDashboard, ctx, dashboard, insights, config.settings, effectiveDateFilterConfig.config, catalog
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
facts: catalog.facts(),
|
|
162
|
-
measures: catalog.measures(),
|
|
163
|
-
attributeHierarchies: catalog.attributeHierarchies(),
|
|
164
|
-
}
|
|
165
|
-
: {}),
|
|
166
|
-
};
|
|
136
|
+
const initActions = yield call(actionsToInitializeExistingDashboard, ctx, dashboard, insights, config.settings, effectiveDateFilterConfig.config, catalog.dateDatasets(), createDisplayFormMapFromCatalog(catalog), cmd.payload.persistedDashboard);
|
|
137
|
+
// After FF removal, we can move this to other calls and call it in parallel
|
|
138
|
+
const ffCalls = [
|
|
139
|
+
call(loadWorkspaceAutomationsCount, ctx, config.settings),
|
|
140
|
+
call(loadNotificationChannelsCount, ctx, config.settings),
|
|
141
|
+
];
|
|
142
|
+
const [allAutomationsCount, notificationChannelsCount] = yield all(ffCalls);
|
|
167
143
|
const batch = batchActions([
|
|
168
144
|
backendCapabilitiesActions.setBackendCapabilities(backend.capabilities),
|
|
169
145
|
configActions.setConfig(config),
|
|
170
146
|
entitlementsActions.setEntitlements(entitlements),
|
|
171
147
|
userActions.setUser(user),
|
|
172
148
|
permissionsActions.setPermissions(permissions),
|
|
173
|
-
catalogActions.setCatalogItems(
|
|
149
|
+
catalogActions.setCatalogItems({
|
|
150
|
+
attributes: catalog.attributes(),
|
|
151
|
+
dateDatasets: catalog.dateDatasets(),
|
|
152
|
+
facts: catalog.facts(),
|
|
153
|
+
measures: catalog.measures(),
|
|
154
|
+
attributeHierarchies: catalog.attributeHierarchies(),
|
|
155
|
+
dateHierarchyTemplates: dateHierarchyTemplates,
|
|
156
|
+
}),
|
|
174
157
|
...initActions,
|
|
175
158
|
alertsActions.setAlerts(alerts),
|
|
176
159
|
dateFilterConfigActions.setDateFilterConfig({
|
|
@@ -190,7 +173,7 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
190
173
|
uiActions.setMenuButtonItemsVisibility(config.menuButtonItemsVisibility),
|
|
191
174
|
renderModeActions.setRenderMode(config.initialRenderMode),
|
|
192
175
|
dashboardPermissionsActions.setDashboardPermissions(dashboardPermissions),
|
|
193
|
-
automationsActions.setAllAutomationsCount(
|
|
176
|
+
automationsActions.setAllAutomationsCount(allAutomationsCount),
|
|
194
177
|
notificationChannelsActions.setNotificationChannelsCount(notificationChannelsCount),
|
|
195
178
|
filterViewsActions.setFilterViews({
|
|
196
179
|
dashboard: ctx.dashboardRef, // should be defined as we are in existing dashboard load fn
|
|
@@ -205,8 +188,8 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
205
188
|
}
|
|
206
189
|
function* initializeNewDashboard(ctx, cmd) {
|
|
207
190
|
const { backend } = ctx;
|
|
208
|
-
const [
|
|
209
|
-
call(
|
|
191
|
+
const [config, permissions, entitlements, catalog, user, listedDashboards, accessibleDashboards, legacyDashboards, dateHierarchyTemplates,] = yield all([
|
|
192
|
+
call(resolveDashboardConfig, ctx, cmd),
|
|
210
193
|
call(resolvePermissions, ctx, cmd),
|
|
211
194
|
call(resolveEntitlements, ctx),
|
|
212
195
|
call(loadCatalog, ctx, cmd),
|
|
@@ -217,6 +200,12 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
217
200
|
call(loadDateHierarchyTemplates, ctx),
|
|
218
201
|
call(loadFilterViews, ctx),
|
|
219
202
|
]);
|
|
203
|
+
// After FF removal, we can move this to other calls and call it in parallel
|
|
204
|
+
const ffCalls = [
|
|
205
|
+
call(loadWorkspaceAutomationsCount, ctx, config.settings),
|
|
206
|
+
call(loadNotificationChannelsCount, ctx, config.settings),
|
|
207
|
+
];
|
|
208
|
+
const [allAutomationsCount, notificationChannelsCount] = yield all(ffCalls);
|
|
220
209
|
const batch = batchActions([
|
|
221
210
|
backendCapabilitiesActions.setBackendCapabilities(backend.capabilities),
|
|
222
211
|
configActions.setConfig(config),
|
|
@@ -250,7 +239,7 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
250
239
|
canEditDashboard: true,
|
|
251
240
|
canEditLockedDashboard: true,
|
|
252
241
|
}),
|
|
253
|
-
automationsActions.setAllAutomationsCount(
|
|
242
|
+
automationsActions.setAllAutomationsCount(allAutomationsCount),
|
|
254
243
|
notificationChannelsActions.setNotificationChannelsCount(notificationChannelsCount),
|
|
255
244
|
], "@@GDC.DASH/BATCH.INIT.NEW");
|
|
256
245
|
const event = dashboardInitialized(ctx, undefined, [], config, permissions, cmd.correlationId);
|
|
@@ -259,27 +248,6 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
259
248
|
event,
|
|
260
249
|
};
|
|
261
250
|
}
|
|
262
|
-
export function* requestCatalog(ctx) {
|
|
263
|
-
const [catalog, dateHierarchyTemplates] = yield all([
|
|
264
|
-
call(loadCatalog, ctx, { payload: { config: {} } }),
|
|
265
|
-
call(loadDateHierarchyTemplates, ctx),
|
|
266
|
-
]);
|
|
267
|
-
yield put(catalogActions.setCatalogItems({
|
|
268
|
-
attributes: catalog.attributes(),
|
|
269
|
-
dateDatasets: catalog.dateDatasets(),
|
|
270
|
-
facts: catalog.facts(),
|
|
271
|
-
measures: catalog.measures(),
|
|
272
|
-
attributeHierarchies: catalog.attributeHierarchies(),
|
|
273
|
-
dateHierarchyTemplates: dateHierarchyTemplates,
|
|
274
|
-
}));
|
|
275
|
-
}
|
|
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)]);
|
|
282
|
-
}
|
|
283
251
|
export function* initializeDashboardHandler(ctx, cmd) {
|
|
284
252
|
const { dashboardRef } = ctx;
|
|
285
253
|
try {
|
|
@@ -293,13 +261,7 @@ export function* initializeDashboardHandler(ctx, cmd) {
|
|
|
293
261
|
}
|
|
294
262
|
yield put(result.batch);
|
|
295
263
|
yield put(loadingActions.setLoadingSuccess());
|
|
296
|
-
|
|
297
|
-
if (result.event.payload.config.settings?.enableCriticalContentPerformanceOptimizations &&
|
|
298
|
-
dashboardRef) {
|
|
299
|
-
// let's run effects which are not essential for the existing
|
|
300
|
-
// dashboard to be rendered, such as catalog load
|
|
301
|
-
yield spawn(advancedLoader, ctx, result.event.payload.dashboard);
|
|
302
|
-
}
|
|
264
|
+
return result.event;
|
|
303
265
|
}
|
|
304
266
|
catch (e) {
|
|
305
267
|
yield put(loadingActions.setLoadingError(e));
|