@gooddata/sdk-ui-dashboard 10.20.0-alpha.39 → 10.20.0-alpha.4
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/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 -67
- 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/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 +17 -27
- 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 +2 -40
- 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 -702
- 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 +1 -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 +11 -22
- 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 -22
- 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 +1 -3
- 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 +1 -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 +2 -4
- 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 +5 -13
- 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 -13
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +1 -1
- 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/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/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/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 +15 -29
- 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/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 +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.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 +75 -1053
- 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/dashboardNestedLayoutWidget.css +0 -6
- package/styles/css/dashboardNestedLayoutWidget.css.map +1 -1
- package/styles/css/main.css +1 -22
- package/styles/css/main.css.map +1 -1
- 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/index.d.ts +0 -8
- package/esm/_staging/slideshow/index.d.ts.map +0 -1
- package/esm/_staging/slideshow/index.js +0 -9
- 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 -8
- package/esm/_staging/slideshow/layoutTransformer.d.ts.map +0 -1
- package/esm/_staging/slideshow/layoutTransformer.js +0 -18
- 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/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 -7
- package/esm/_staging/slideshow/utils/index.d.ts.map +0 -1
- package/esm/_staging/slideshow/utils/index.js +0 -24
- 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 -66
- 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 -11
- package/esm/presentation/export/useExportData.d.ts.map +0 -1
- package/esm/presentation/export/useExportData.js +0 -38
- 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 -8
- 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 -17
- 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 -17
- 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.4";
|
|
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"}
|
|
@@ -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;AAExC,OAAO,EACH,eAAe,EAIf,0BAA0B,EAO1B,kCAAkC,EAElC,QAAQ,EACR,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,aAAa,EAAE,MAAM,g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AI,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;
|
|
@@ -64,7 +64,7 @@ async function loadDashboardFromBackend(ctx, privateCtx, dashboardRef, hasPersis
|
|
|
64
64
|
return backend
|
|
65
65
|
.workspace(workspace)
|
|
66
66
|
.dashboards()
|
|
67
|
-
.getDashboardReferencedObjects(preloadedDashboard, ["insight"
|
|
67
|
+
.getDashboardReferencedObjects(preloadedDashboard, ["insight"])
|
|
68
68
|
.then((references) => {
|
|
69
69
|
return {
|
|
70
70
|
dashboard: preloadedDashboard,
|
|
@@ -75,10 +75,7 @@ async function loadDashboardFromBackend(ctx, privateCtx, dashboardRef, hasPersis
|
|
|
75
75
|
return backend
|
|
76
76
|
.workspace(workspace)
|
|
77
77
|
.dashboards()
|
|
78
|
-
.getDashboardWithReferences(dashboardRef, filterContextRef, { loadUserData: true }, [
|
|
79
|
-
"insight",
|
|
80
|
-
"dataSet",
|
|
81
|
-
]);
|
|
78
|
+
.getDashboardWithReferences(dashboardRef, filterContextRef, { loadUserData: true }, ["insight"]);
|
|
82
79
|
}
|
|
83
80
|
async function loadInsightsForPersistedDashboard(ctx, dashboard) {
|
|
84
81
|
if (!dashboard?.layout) {
|
|
@@ -111,24 +108,16 @@ async function loadInsightsForPersistedDashboard(ctx, dashboard) {
|
|
|
111
108
|
const uniqueRefs = uniqBy(referencedInsights, serializeObjRef);
|
|
112
109
|
return Promise.all(uniqueRefs.map((ref) => backend.workspace(workspace).insights().getInsight(ref)));
|
|
113
110
|
}
|
|
114
|
-
function* decideAndLoadFullCatalog(ctx, cmd) {
|
|
115
|
-
// defer catalog loading when optimizations enabled
|
|
116
|
-
if (cmd.payload.config?.settings?.enableCriticalContentPerformanceOptimizations) {
|
|
117
|
-
return null;
|
|
118
|
-
}
|
|
119
|
-
const fullCatalog = yield call(loadCatalog, ctx, cmd);
|
|
120
|
-
return fullCatalog;
|
|
121
|
-
}
|
|
122
111
|
function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
123
112
|
const { backend } = ctx;
|
|
124
113
|
const privateCtx = yield call(getPrivateContext);
|
|
125
114
|
const { usesStrictAccessControl } = backend.capabilities;
|
|
126
115
|
const calls = [
|
|
127
116
|
call(loadDashboardFromBackend, ctx, privateCtx, dashboardRef, !!cmd.payload.persistedDashboard),
|
|
128
|
-
call(
|
|
117
|
+
call(resolveDashboardConfig, ctx, cmd),
|
|
129
118
|
call(resolvePermissions, ctx, cmd),
|
|
130
119
|
call(resolveEntitlements, ctx),
|
|
131
|
-
call(
|
|
120
|
+
call(loadCatalog, ctx, cmd),
|
|
132
121
|
call(loadDashboardAlerts, ctx),
|
|
133
122
|
call(loadUser, ctx),
|
|
134
123
|
call(loadDashboardList, ctx),
|
|
@@ -140,30 +129,31 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
140
129
|
if (!usesStrictAccessControl) {
|
|
141
130
|
calls.push(call(loadAccessibleDashboardList, ctx));
|
|
142
131
|
}
|
|
143
|
-
const [dashboardWithReferences,
|
|
132
|
+
const [dashboardWithReferences, config, permissions, entitlements, catalog, alerts, user, listedDashboards, legacyDashboards, dashboardPermissions, dateHierarchyTemplates, filterViews, accessibleDashboards,] = yield all(calls);
|
|
144
133
|
const { dashboard: loadedDashboard, references: { insights }, } = dashboardWithReferences;
|
|
145
134
|
const dashboard = applyDefaultFilterView(loadedDashboard, filterViews, config.settings);
|
|
146
135
|
const effectiveDateFilterConfig = yield call(mergeDateFilterConfigWithOverrides, ctx, cmd, config.dateFilterConfig, dashboard.dateFilterConfig);
|
|
147
|
-
const initActions = yield call(actionsToInitializeExistingDashboard, ctx, dashboard, insights, config.settings, effectiveDateFilterConfig.config, catalog
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
facts: catalog.facts(),
|
|
155
|
-
measures: catalog.measures(),
|
|
156
|
-
attributeHierarchies: catalog.attributeHierarchies(),
|
|
157
|
-
}
|
|
158
|
-
: {}),
|
|
159
|
-
};
|
|
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);
|
|
160
143
|
const batch = batchActions([
|
|
161
144
|
backendCapabilitiesActions.setBackendCapabilities(backend.capabilities),
|
|
162
145
|
configActions.setConfig(config),
|
|
163
146
|
entitlementsActions.setEntitlements(entitlements),
|
|
164
147
|
userActions.setUser(user),
|
|
165
148
|
permissionsActions.setPermissions(permissions),
|
|
166
|
-
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
|
+
}),
|
|
167
157
|
...initActions,
|
|
168
158
|
alertsActions.setAlerts(alerts),
|
|
169
159
|
dateFilterConfigActions.setDateFilterConfig({
|
|
@@ -183,7 +173,7 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
183
173
|
uiActions.setMenuButtonItemsVisibility(config.menuButtonItemsVisibility),
|
|
184
174
|
renderModeActions.setRenderMode(config.initialRenderMode),
|
|
185
175
|
dashboardPermissionsActions.setDashboardPermissions(dashboardPermissions),
|
|
186
|
-
automationsActions.setAllAutomationsCount(
|
|
176
|
+
automationsActions.setAllAutomationsCount(allAutomationsCount),
|
|
187
177
|
notificationChannelsActions.setNotificationChannelsCount(notificationChannelsCount),
|
|
188
178
|
filterViewsActions.setFilterViews({
|
|
189
179
|
dashboard: ctx.dashboardRef, // should be defined as we are in existing dashboard load fn
|
|
@@ -198,8 +188,8 @@ function* loadExistingDashboard(ctx, cmd, dashboardRef) {
|
|
|
198
188
|
}
|
|
199
189
|
function* initializeNewDashboard(ctx, cmd) {
|
|
200
190
|
const { backend } = ctx;
|
|
201
|
-
const [
|
|
202
|
-
call(
|
|
191
|
+
const [config, permissions, entitlements, catalog, user, listedDashboards, accessibleDashboards, legacyDashboards, dateHierarchyTemplates,] = yield all([
|
|
192
|
+
call(resolveDashboardConfig, ctx, cmd),
|
|
203
193
|
call(resolvePermissions, ctx, cmd),
|
|
204
194
|
call(resolveEntitlements, ctx),
|
|
205
195
|
call(loadCatalog, ctx, cmd),
|
|
@@ -210,6 +200,12 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
210
200
|
call(loadDateHierarchyTemplates, ctx),
|
|
211
201
|
call(loadFilterViews, ctx),
|
|
212
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);
|
|
213
209
|
const batch = batchActions([
|
|
214
210
|
backendCapabilitiesActions.setBackendCapabilities(backend.capabilities),
|
|
215
211
|
configActions.setConfig(config),
|
|
@@ -243,7 +239,7 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
243
239
|
canEditDashboard: true,
|
|
244
240
|
canEditLockedDashboard: true,
|
|
245
241
|
}),
|
|
246
|
-
automationsActions.setAllAutomationsCount(
|
|
242
|
+
automationsActions.setAllAutomationsCount(allAutomationsCount),
|
|
247
243
|
notificationChannelsActions.setNotificationChannelsCount(notificationChannelsCount),
|
|
248
244
|
], "@@GDC.DASH/BATCH.INIT.NEW");
|
|
249
245
|
const event = dashboardInitialized(ctx, undefined, [], config, permissions, cmd.correlationId);
|
|
@@ -252,27 +248,6 @@ function* initializeNewDashboard(ctx, cmd) {
|
|
|
252
248
|
event,
|
|
253
249
|
};
|
|
254
250
|
}
|
|
255
|
-
export function* requestCatalog(ctx) {
|
|
256
|
-
const [catalog, dateHierarchyTemplates] = yield all([
|
|
257
|
-
call(loadCatalog, ctx, { payload: { config: {} } }),
|
|
258
|
-
call(loadDateHierarchyTemplates, ctx),
|
|
259
|
-
]);
|
|
260
|
-
yield put(catalogActions.setCatalogItems({
|
|
261
|
-
attributes: catalog.attributes(),
|
|
262
|
-
dateDatasets: catalog.dateDatasets(),
|
|
263
|
-
facts: catalog.facts(),
|
|
264
|
-
measures: catalog.measures(),
|
|
265
|
-
attributeHierarchies: catalog.attributeHierarchies(),
|
|
266
|
-
dateHierarchyTemplates: dateHierarchyTemplates,
|
|
267
|
-
}));
|
|
268
|
-
}
|
|
269
|
-
export function* preloadAttributeFiltersData(ctx, dashboard) {
|
|
270
|
-
const attributesWithReferences = yield call(preloadAttributeFiltersDataFromBackend, ctx, dashboard);
|
|
271
|
-
yield put(filterContextActions.setPreloadedAttributesWithReferences(attributesWithReferences));
|
|
272
|
-
}
|
|
273
|
-
function* advancedLoader(ctx, dashboard) {
|
|
274
|
-
yield all([call(requestCatalog, ctx), call(preloadAttributeFiltersData, ctx, dashboard)]);
|
|
275
|
-
}
|
|
276
251
|
export function* initializeDashboardHandler(ctx, cmd) {
|
|
277
252
|
const { dashboardRef } = ctx;
|
|
278
253
|
try {
|
|
@@ -286,13 +261,7 @@ export function* initializeDashboardHandler(ctx, cmd) {
|
|
|
286
261
|
}
|
|
287
262
|
yield put(result.batch);
|
|
288
263
|
yield put(loadingActions.setLoadingSuccess());
|
|
289
|
-
|
|
290
|
-
if (result.event.payload.config.settings?.enableCriticalContentPerformanceOptimizations &&
|
|
291
|
-
dashboardRef) {
|
|
292
|
-
// let's run effects which are not essential for the existing
|
|
293
|
-
// dashboard to be rendered, such as catalog load
|
|
294
|
-
yield spawn(advancedLoader, ctx, result.event.payload.dashboard);
|
|
295
|
-
}
|
|
264
|
+
return result.event;
|
|
296
265
|
}
|
|
297
266
|
catch (e) {
|
|
298
267
|
yield put(loadingActions.setLoadingError(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,kDAAkD,EAAE,MAAM,6BAA6B,CAAC;AACjG,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,kBAAkB,EAAE,MAAM,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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,IACI,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,6CAA6C;YACnF,YAAY,EACd,CAAC;YACC,6DAA6D;YAC7D,iDAAiD;YACjD,MAAM,KAAK,CAAC,cAAc,EAAE,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACrE,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,GAAG,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,oBAAoB,CAAC;AAEpE,OAAO,EAAwB,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAA4B,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAA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qB,EACrB,GAAwB;IAExB,MAAM,EAAE,YAAY,EAAE,GAAG,GAAG,CAAC;IAC7B,IAAI,CAAC;QACD,MAAM,GAAG,CAAC,cAAc,CAAC,eAAe,EAAE,CAAC,CAAC;QAE5C,IAAI,MAA2B,CAAC;QAEhC,IAAI,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,OAAO,MAAM,CAAC,KAAK,CAAC;IACxB,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 +1 @@
|
|
|
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,OAAO,EAAE,CAAC;AAC3C,CAAC"}
|
package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts
CHANGED
|
@@ -7,14 +7,4 @@ import { DashboardContext, ResolvedDashboardConfig } from "../../../types/common
|
|
|
7
7
|
* backend queries and post-processing is done.
|
|
8
8
|
*/
|
|
9
9
|
export declare function resolveDashboardConfig(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator<ResolvedDashboardConfig>;
|
|
10
|
-
/**
|
|
11
|
-
* Resolves dashboard config
|
|
12
|
-
*/
|
|
13
|
-
export declare function resolveDashboardConfigAndFeatureFlagDependentCalls(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator<{
|
|
14
|
-
resolvedConfig: ResolvedDashboardConfig;
|
|
15
|
-
additionalData: {
|
|
16
|
-
notificationChannelsCount: number;
|
|
17
|
-
workspaceAutomationsCount: number;
|
|
18
|
-
};
|
|
19
|
-
}>;
|
|
20
10
|
//# sourceMappingURL=resolveDashboardConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveDashboardConfig.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAc1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAEH,gBAAgB,EAEhB,uBAAuB,EAC1B,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"resolveDashboardConfig.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAc1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAEH,gBAAgB,EAEhB,uBAAuB,EAC1B,MAAM,+BAA+B,CAAC;AAsHvC;;;;GAIG;AACH,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC,uBAAuB,CAAC,CA4DvC"}
|
package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js
CHANGED
|
@@ -8,7 +8,6 @@ import { dateFilterConfigActions } from "../../../store/dateFilterConfig/index.j
|
|
|
8
8
|
import { isResolvedConfig, } from "../../../types/commonTypes.js";
|
|
9
9
|
import { sanitizeUnfinishedFeatureSettings } from "./sanitizeUnfinishedFeatureSettings.js";
|
|
10
10
|
import { onDateFilterConfigValidationError } from "./onDateFilterConfigValidationError.js";
|
|
11
|
-
import { loadAutomationsData } from "../common/loadAutomationsData.js";
|
|
12
11
|
function loadDateFilterConfig(ctx) {
|
|
13
12
|
const { backend, workspace } = ctx;
|
|
14
13
|
return backend
|
|
@@ -26,7 +25,6 @@ function loadSettingsForCurrentUser(ctx) {
|
|
|
26
25
|
const { backend, workspace } = ctx;
|
|
27
26
|
return backend.workspace(workspace).settings().getSettingsForCurrentUser();
|
|
28
27
|
}
|
|
29
|
-
///
|
|
30
28
|
async function loadCustomDateFilterConfig(ctx) {
|
|
31
29
|
const { backend, workspace } = ctx;
|
|
32
30
|
const customDateFilterConfig = await backend
|
|
@@ -46,12 +44,9 @@ function loadColorPalette(ctx) {
|
|
|
46
44
|
return backend.workspace(workspace).styling().getColorPalette();
|
|
47
45
|
}
|
|
48
46
|
function* resolveDateFilterConfig(ctx, config, cmd) {
|
|
49
|
-
if (config.dateFilterConfig) {
|
|
47
|
+
if (config.dateFilterConfig !== undefined) {
|
|
50
48
|
return config.dateFilterConfig;
|
|
51
49
|
}
|
|
52
|
-
else if (config?.settings?.dateFilterConfig) {
|
|
53
|
-
return config.settings.dateFilterConfig;
|
|
54
|
-
}
|
|
55
50
|
const customDateFilterConfig = yield call(loadCustomDateFilterConfig, ctx);
|
|
56
51
|
if (customDateFilterConfig) {
|
|
57
52
|
return customDateFilterConfig;
|
|
@@ -158,15 +153,4 @@ function applyConfigDefaults(config) {
|
|
|
158
153
|
widgetsOverlay: config.widgetsOverlay ?? {},
|
|
159
154
|
};
|
|
160
155
|
}
|
|
161
|
-
/**
|
|
162
|
-
* Resolves dashboard config
|
|
163
|
-
*/
|
|
164
|
-
export function* resolveDashboardConfigAndFeatureFlagDependentCalls(ctx, cmd) {
|
|
165
|
-
const resolvedConfig = yield call(resolveDashboardConfig, ctx, cmd);
|
|
166
|
-
const additionalData = yield call(loadAutomationsData, ctx, resolvedConfig.settings);
|
|
167
|
-
return {
|
|
168
|
-
resolvedConfig,
|
|
169
|
-
additionalData,
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
156
|
//# sourceMappingURL=resolveDashboardConfig.js.map
|