@gooddata/sdk-ui-dashboard 10.33.0-alpha.9 → 10.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +3859 -2342
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/config.d.ts +1 -0
- package/esm/_staging/dashboard/flexibleLayout/config.d.ts.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/config.js +2 -1
- package/esm/_staging/dashboard/flexibleLayout/config.js.map +1 -1
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +27 -43
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/assets/flexible-layouts-tooltip.gif +0 -0
- package/esm/model/commandHandlers/layout/containerHeightSanitization.d.ts +10 -0
- package/esm/model/commandHandlers/layout/containerHeightSanitization.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/containerHeightSanitization.js +142 -60
- package/esm/model/commandHandlers/layout/containerHeightSanitization.js.map +1 -1
- package/esm/model/commandHandlers/layout/containerWidthSanitization.d.ts +9 -4
- package/esm/model/commandHandlers/layout/containerWidthSanitization.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/containerWidthSanitization.js +21 -12
- package/esm/model/commandHandlers/layout/containerWidthSanitization.js.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.js +10 -7
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js +14 -10
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/rowContainerSanitization.d.ts +15 -0
- package/esm/model/commandHandlers/layout/rowContainerSanitization.d.ts.map +1 -0
- package/esm/model/commandHandlers/layout/rowContainerSanitization.js +82 -0
- package/esm/model/commandHandlers/layout/rowContainerSanitization.js.map +1 -0
- package/esm/model/commandHandlers/layout/toggleLayoutDirectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/toggleLayoutDirectionHandler.js +1 -1
- package/esm/model/commandHandlers/layout/toggleLayoutDirectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +3 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
- package/esm/model/headlessDashboard/HeadlessDashboard.d.ts.map +1 -1
- package/esm/model/headlessDashboard/HeadlessDashboard.js +4 -3
- package/esm/model/headlessDashboard/HeadlessDashboard.js.map +1 -1
- package/esm/model/index.d.ts +1 -3
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js +1 -3
- package/esm/model/index.js.map +1 -1
- package/esm/model/queryServices/index.d.ts +3 -0
- package/esm/model/queryServices/index.d.ts.map +1 -1
- package/esm/model/queryServices/index.js +3 -0
- package/esm/model/queryServices/index.js.map +1 -1
- package/esm/model/queryServices/queryInsightAttributesMeta.d.ts +9 -2
- package/esm/model/queryServices/queryInsightAttributesMeta.d.ts.map +1 -1
- package/esm/model/queryServices/queryInsightAttributesMeta.js.map +1 -1
- package/esm/model/queryServices/queryInsightDateDatasets.d.ts +9 -2
- package/esm/model/queryServices/queryInsightDateDatasets.d.ts.map +1 -1
- package/esm/model/queryServices/queryInsightDateDatasets.js.map +1 -1
- package/esm/model/queryServices/queryMeasureDateDatasets.d.ts +9 -2
- package/esm/model/queryServices/queryMeasureDateDatasets.d.ts.map +1 -1
- package/esm/model/queryServices/queryMeasureDateDatasets.js.map +1 -1
- package/esm/model/react/DashboardStoreProvider.d.ts +2 -2
- package/esm/model/react/DashboardStoreProvider.d.ts.map +1 -1
- package/esm/model/react/DashboardStoreProvider.js +1 -1
- package/esm/model/react/DashboardStoreProvider.js.map +1 -1
- package/esm/model/react/filtering/selectors.js +1 -1
- package/esm/model/react/filtering/selectors.js.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js.map +1 -1
- package/esm/model/store/_infra/queryProcessing.d.ts +2 -2
- package/esm/model/store/_infra/queryProcessing.d.ts.map +1 -1
- package/esm/model/store/_infra/queryProcessing.js +1 -1
- package/esm/model/store/_infra/queryProcessing.js.map +1 -1
- package/esm/model/store/_infra/queryService.d.ts +2 -2
- package/esm/model/store/_infra/queryService.d.ts.map +1 -1
- package/esm/model/store/_infra/queryService.js +1 -1
- package/esm/model/store/_infra/queryService.js.map +1 -1
- package/esm/model/store/_infra/undoEnhancer.d.ts +0 -3
- package/esm/model/store/_infra/undoEnhancer.d.ts.map +1 -1
- package/esm/model/store/accessibleDashboards/accessibleDashboardsEntityAdapter.d.ts +2 -1
- package/esm/model/store/accessibleDashboards/accessibleDashboardsEntityAdapter.d.ts.map +1 -1
- package/esm/model/store/accessibleDashboards/accessibleDashboardsEntityAdapter.js +1 -1
- package/esm/model/store/accessibleDashboards/accessibleDashboardsEntityAdapter.js.map +1 -1
- package/esm/model/store/accessibleDashboards/accessibleDashboardsSelectors.js +1 -1
- package/esm/model/store/accessibleDashboards/accessibleDashboardsSelectors.js.map +1 -1
- package/esm/model/store/accessibleDashboards/index.d.ts +7 -9
- package/esm/model/store/accessibleDashboards/index.d.ts.map +1 -1
- package/esm/model/store/accessibleDashboards/index.js +3 -2
- package/esm/model/store/accessibleDashboards/index.js.map +1 -1
- package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsSelectors.js +1 -1
- package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsSelectors.js.map +1 -1
- package/esm/model/store/attributeFilterConfigs/index.d.ts +9 -19
- package/esm/model/store/attributeFilterConfigs/index.d.ts.map +1 -1
- package/esm/model/store/attributeFilterConfigs/index.js +4 -3
- package/esm/model/store/attributeFilterConfigs/index.js.map +1 -1
- package/esm/model/store/automations/automationsReducers.d.ts +1 -1
- package/esm/model/store/automations/automationsSelectors.js +1 -1
- package/esm/model/store/automations/automationsSelectors.js.map +1 -1
- package/esm/model/store/automations/index.d.ts +10 -20
- package/esm/model/store/automations/index.d.ts.map +1 -1
- package/esm/model/store/automations/index.js +3 -2
- package/esm/model/store/automations/index.js.map +1 -1
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.js +1 -1
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.js.map +1 -1
- package/esm/model/store/backendCapabilities/index.d.ts +6 -7
- package/esm/model/store/backendCapabilities/index.d.ts.map +1 -1
- package/esm/model/store/backendCapabilities/index.js +3 -2
- package/esm/model/store/backendCapabilities/index.js.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.js +1 -1
- package/esm/model/store/catalog/catalogSelectors.js.map +1 -1
- package/esm/model/store/catalog/index.d.ts +10 -23
- package/esm/model/store/catalog/index.d.ts.map +1 -1
- package/esm/model/store/catalog/index.js +3 -2
- package/esm/model/store/catalog/index.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +2 -2
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +6 -6
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/config/index.d.ts +6 -7
- package/esm/model/store/config/index.d.ts.map +1 -1
- package/esm/model/store/config/index.js +3 -2
- package/esm/model/store/config/index.js.map +1 -1
- package/esm/model/store/dashboardPermissions/dashboardPermissionsSelectors.js +1 -1
- package/esm/model/store/dashboardPermissions/dashboardPermissionsSelectors.js.map +1 -1
- package/esm/model/store/dashboardPermissions/index.d.ts +6 -7
- package/esm/model/store/dashboardPermissions/index.d.ts.map +1 -1
- package/esm/model/store/dashboardPermissions/index.js +3 -2
- package/esm/model/store/dashboardPermissions/index.js.map +1 -1
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +1 -1
- package/esm/model/store/dashboardStore.js.map +1 -1
- package/esm/model/store/dateFilterConfig/dateFilterConfigSelectors.js +1 -1
- package/esm/model/store/dateFilterConfig/dateFilterConfigSelectors.js.map +1 -1
- package/esm/model/store/dateFilterConfig/index.d.ts +15 -31
- package/esm/model/store/dateFilterConfig/index.d.ts.map +1 -1
- package/esm/model/store/dateFilterConfig/index.js +3 -2
- package/esm/model/store/dateFilterConfig/index.js.map +1 -1
- package/esm/model/store/dateFilterConfigs/dateFilterConfigsSelectors.js +1 -1
- package/esm/model/store/dateFilterConfigs/dateFilterConfigsSelectors.js.map +1 -1
- package/esm/model/store/dateFilterConfigs/index.d.ts +9 -19
- package/esm/model/store/dateFilterConfigs/index.d.ts.map +1 -1
- package/esm/model/store/dateFilterConfigs/index.js +3 -2
- package/esm/model/store/dateFilterConfigs/index.js.map +1 -1
- package/esm/model/store/drill/drillReducers.d.ts +1 -1
- package/esm/model/store/drill/drillSelectors.js +1 -1
- package/esm/model/store/drill/drillSelectors.js.map +1 -1
- package/esm/model/store/drill/index.d.ts +8 -12
- package/esm/model/store/drill/index.d.ts.map +1 -1
- package/esm/model/store/drill/index.js +2 -2
- package/esm/model/store/drill/index.js.map +1 -1
- package/esm/model/store/drillTargets/drillTargetsEntityAdapter.d.ts +2 -1
- package/esm/model/store/drillTargets/drillTargetsEntityAdapter.d.ts.map +1 -1
- package/esm/model/store/drillTargets/drillTargetsEntityAdapter.js +1 -1
- package/esm/model/store/drillTargets/drillTargetsEntityAdapter.js.map +1 -1
- package/esm/model/store/drillTargets/drillTargetsSelectors.js +1 -1
- package/esm/model/store/drillTargets/drillTargetsSelectors.js.map +1 -1
- package/esm/model/store/drillTargets/index.d.ts +7 -10
- package/esm/model/store/drillTargets/index.d.ts.map +1 -1
- package/esm/model/store/drillTargets/index.js +3 -2
- package/esm/model/store/drillTargets/index.js.map +1 -1
- package/esm/model/store/entitlements/entitlementsSelectors.js +1 -1
- package/esm/model/store/entitlements/entitlementsSelectors.js.map +1 -1
- package/esm/model/store/entitlements/index.d.ts +6 -7
- package/esm/model/store/entitlements/index.d.ts.map +1 -1
- package/esm/model/store/entitlements/index.js +3 -2
- package/esm/model/store/entitlements/index.js.map +1 -1
- package/esm/model/store/executed/executedSelectors.js +1 -1
- package/esm/model/store/executed/executedSelectors.js.map +1 -1
- package/esm/model/store/executed/index.d.ts +7 -5
- package/esm/model/store/executed/index.d.ts.map +1 -1
- package/esm/model/store/executed/index.js +3 -2
- package/esm/model/store/executed/index.js.map +1 -1
- package/esm/model/store/executionResults/executionResultsEntityAdapter.d.ts +2 -1
- package/esm/model/store/executionResults/executionResultsEntityAdapter.d.ts.map +1 -1
- package/esm/model/store/executionResults/executionResultsEntityAdapter.js +1 -1
- package/esm/model/store/executionResults/executionResultsEntityAdapter.js.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts +7 -1
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js.map +1 -1
- package/esm/model/store/executionResults/index.d.ts +8 -11
- package/esm/model/store/executionResults/index.d.ts.map +1 -1
- package/esm/model/store/executionResults/index.js +3 -2
- package/esm/model/store/executionResults/index.js.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.js +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
- package/esm/model/store/filterContext/index.d.ts +35 -102
- package/esm/model/store/filterContext/index.d.ts.map +1 -1
- package/esm/model/store/filterContext/index.js +3 -2
- package/esm/model/store/filterContext/index.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js +1 -1
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js.map +1 -1
- package/esm/model/store/filterViews/index.d.ts +7 -11
- package/esm/model/store/filterViews/index.d.ts.map +1 -1
- package/esm/model/store/filterViews/index.js +3 -2
- package/esm/model/store/filterViews/index.js.map +1 -1
- package/esm/model/store/inaccessibleDashboards/inaccessibleDashboardsEntityAdapter.d.ts +2 -1
- package/esm/model/store/inaccessibleDashboards/inaccessibleDashboardsEntityAdapter.d.ts.map +1 -1
- package/esm/model/store/inaccessibleDashboards/inaccessibleDashboardsEntityAdapter.js +1 -1
- package/esm/model/store/inaccessibleDashboards/inaccessibleDashboardsEntityAdapter.js.map +1 -1
- package/esm/model/store/inaccessibleDashboards/inaccessibleDashboardsSelectors.js +1 -1
- package/esm/model/store/inaccessibleDashboards/inaccessibleDashboardsSelectors.js.map +1 -1
- package/esm/model/store/inaccessibleDashboards/index.d.ts +7 -10
- package/esm/model/store/inaccessibleDashboards/index.d.ts.map +1 -1
- package/esm/model/store/inaccessibleDashboards/index.js +3 -2
- package/esm/model/store/inaccessibleDashboards/index.js.map +1 -1
- package/esm/model/store/index.d.ts +2 -2
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +2 -2
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/insights/index.d.ts +9 -24
- package/esm/model/store/insights/index.d.ts.map +1 -1
- package/esm/model/store/insights/index.js +3 -2
- package/esm/model/store/insights/index.js.map +1 -1
- package/esm/model/store/insights/insightsEntityAdapter.d.ts +2 -1
- package/esm/model/store/insights/insightsEntityAdapter.d.ts.map +1 -1
- package/esm/model/store/insights/insightsEntityAdapter.js +1 -1
- package/esm/model/store/insights/insightsEntityAdapter.js.map +1 -1
- package/esm/model/store/insights/insightsSelectors.js +1 -1
- package/esm/model/store/insights/insightsSelectors.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +99 -133
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/index.js +3 -2
- package/esm/model/store/layout/index.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +1 -1
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/model/store/listedDashboards/index.d.ts +8 -17
- package/esm/model/store/listedDashboards/index.d.ts.map +1 -1
- package/esm/model/store/listedDashboards/index.js +3 -2
- package/esm/model/store/listedDashboards/index.js.map +1 -1
- package/esm/model/store/listedDashboards/listedDashboardsEntityAdapter.d.ts +2 -1
- package/esm/model/store/listedDashboards/listedDashboardsEntityAdapter.d.ts.map +1 -1
- package/esm/model/store/listedDashboards/listedDashboardsEntityAdapter.js +1 -1
- package/esm/model/store/listedDashboards/listedDashboardsEntityAdapter.js.map +1 -1
- package/esm/model/store/listedDashboards/listedDashboardsSelectors.js +1 -1
- package/esm/model/store/listedDashboards/listedDashboardsSelectors.js.map +1 -1
- package/esm/model/store/loading/index.d.ts +8 -9
- package/esm/model/store/loading/index.d.ts.map +1 -1
- package/esm/model/store/loading/index.js +3 -2
- package/esm/model/store/loading/index.js.map +1 -1
- package/esm/model/store/loading/loadingSelectors.js +1 -1
- package/esm/model/store/loading/loadingSelectors.js.map +1 -1
- package/esm/model/store/meta/index.d.ts +15 -36
- package/esm/model/store/meta/index.d.ts.map +1 -1
- package/esm/model/store/meta/index.js +3 -4
- package/esm/model/store/meta/index.js.map +1 -1
- package/esm/model/store/meta/metaSelectors.js +1 -1
- package/esm/model/store/meta/metaSelectors.js.map +1 -1
- package/esm/model/store/notificationChannels/index.d.ts +7 -11
- package/esm/model/store/notificationChannels/index.d.ts.map +1 -1
- package/esm/model/store/notificationChannels/index.js +3 -2
- package/esm/model/store/notificationChannels/index.js.map +1 -1
- package/esm/model/store/notificationChannels/notificationChannelsSelectors.js +1 -1
- package/esm/model/store/notificationChannels/notificationChannelsSelectors.js.map +1 -1
- package/esm/model/store/permissions/index.d.ts +6 -7
- package/esm/model/store/permissions/index.d.ts.map +1 -1
- package/esm/model/store/permissions/index.js +3 -2
- package/esm/model/store/permissions/index.js.map +1 -1
- package/esm/model/store/permissions/permissionsSelectors.js +1 -1
- package/esm/model/store/permissions/permissionsSelectors.js.map +1 -1
- package/esm/model/store/renderMode/index.d.ts +9 -10
- package/esm/model/store/renderMode/index.d.ts.map +1 -1
- package/esm/model/store/renderMode/index.js +3 -2
- package/esm/model/store/renderMode/index.js.map +1 -1
- package/esm/model/store/renderMode/renderModeSelectors.js +1 -1
- package/esm/model/store/renderMode/renderModeSelectors.js.map +1 -1
- package/esm/model/store/saving/index.d.ts +8 -9
- package/esm/model/store/saving/index.d.ts.map +1 -1
- package/esm/model/store/saving/index.js +3 -2
- package/esm/model/store/saving/index.js.map +1 -1
- package/esm/model/store/saving/savingSelectors.js +1 -1
- package/esm/model/store/saving/savingSelectors.js.map +1 -1
- package/esm/model/store/showWidgetAsTable/index.d.ts +3 -1
- package/esm/model/store/showWidgetAsTable/index.d.ts.map +1 -1
- package/esm/model/store/showWidgetAsTable/index.js +1 -1
- package/esm/model/store/showWidgetAsTable/index.js.map +1 -1
- package/esm/model/store/topBar/topBarSelectors.js +1 -1
- package/esm/model/store/topBar/topBarSelectors.js.map +1 -1
- package/esm/model/store/types.d.ts +6 -6
- package/esm/model/store/types.d.ts.map +1 -1
- package/esm/model/store/ui/index.d.ts +80 -168
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/index.js +3 -2
- package/esm/model/store/ui/index.js.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +5 -2
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +6 -3
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +5 -1
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +5 -1
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +3 -1
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +1 -0
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/model/store/user/index.d.ts +6 -7
- package/esm/model/store/user/index.d.ts.map +1 -1
- package/esm/model/store/user/index.js +3 -2
- package/esm/model/store/user/index.js.map +1 -1
- package/esm/model/store/user/userSelectors.js +1 -1
- package/esm/model/store/user/userSelectors.js.map +1 -1
- package/esm/model/store/users/index.d.ts +8 -15
- package/esm/model/store/users/index.d.ts.map +1 -1
- package/esm/model/store/users/index.js +3 -2
- package/esm/model/store/users/index.js.map +1 -1
- package/esm/model/store/users/usersSelectors.js +1 -1
- package/esm/model/store/users/usersSelectors.js.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
- package/esm/model/store/widgetExports/widgetExportsSelectors.js +1 -1
- package/esm/model/store/widgetExports/widgetExportsSelectors.js.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +1 -0
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DateFilterConfigWarnings.js +1 -1
- package/esm/presentation/dashboard/components/DateFilterConfigWarnings.js.map +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts +3 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.js +6 -2
- package/esm/presentation/dragAndDrop/LayoutResizeContext.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.js +1 -1
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js +7 -11
- package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js.map +1 -1
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.js +11 -6
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +2 -3
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +4 -3
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +6 -7
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +3 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.d.ts +2 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.js +5 -5
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +12 -3
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.d.ts +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.js +23 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +2 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +6 -5
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts +7 -4
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +37 -19
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +6 -3
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +59 -30
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts +2 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +21 -11
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -1
- package/esm/presentation/flexibleLayout/rowEndHotspotHelper.d.ts +5 -2
- package/esm/presentation/flexibleLayout/rowEndHotspotHelper.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/rowEndHotspotHelper.js +25 -3
- package/esm/presentation/flexibleLayout/rowEndHotspotHelper.js.map +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.d.ts +2 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js +4 -3
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +22 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.json +22 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.json +22 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +538 -473
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +685 -3393
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +686 -3394
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/es-419.json +22 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.json +22 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.json +22 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.json +22 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.json +22 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.json +22 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.json +22 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.json +22 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.json +22 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.json +22 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.json +22 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.json +22 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.json +22 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.json +22 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.json +22 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.json +22 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.json +22 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +21 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +23 -2
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js +5 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js +13 -2
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +12 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts +10 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js +71 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.d.ts +17 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.js +100 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +6 -11
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +31 -37
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +6 -16
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +30 -27
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFilters.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFilters.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFiltersList.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{Attachments → AttachmentsOld}/AttachmentFiltersList.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFiltersList.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{Attachments → AttachmentsOld}/AttachmentItems.d.ts +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentItems.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentItems.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.d.ts +5 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.js +10 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.d.ts +17 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.js +47 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.d.ts +20 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.js +33 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +10 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +76 -19
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.d.ts +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.js.map +1 -1
- package/esm/presentation/widget/common/useWidgetHighlighting.js +1 -1
- package/esm/presentation/widget/common/useWidgetHighlighting.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 +13 -4
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/PoweredByGDLogo.js +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/PoweredByGDLogo.js.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js +0 -4
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/LayoutDirectionConfigurationDialog.js +7 -7
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/LayoutDirectionConfigurationDialog.js.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js +3 -3
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +166 -270
- package/esm/types.d.ts +5 -0
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js.map +1 -1
- package/package.json +22 -23
- package/styles/css/attributeFilterConfig.css +1 -1
- package/styles/css/dashboard.css +100 -5
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardNestedLayoutWidget.css +88 -49
- package/styles/css/dashboardNestedLayoutWidget.css.map +1 -1
- package/styles/css/dragAndDrop.css +27 -20
- package/styles/css/dragAndDrop.css.map +1 -1
- package/styles/css/drillConfigPanel.css +14 -14
- package/styles/css/icons.css +32 -24
- package/styles/css/icons.css.map +1 -1
- package/styles/css/main.css +352 -147
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +88 -2
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/poweredByGDLogo.css +2 -2
- package/styles/css/resizing.css +69 -15
- package/styles/css/resizing.css.map +1 -1
- package/styles/css/sidebar.css +6 -4
- package/styles/css/sidebar.css.map +1 -1
- package/styles/scss/attributeFilterConfig.scss +1 -1
- package/styles/scss/dashboard.scss +15 -3
- package/styles/scss/dashboardNestedLayoutWidget.scss +142 -77
- package/styles/scss/dragAndDrop.scss +63 -48
- package/styles/scss/drillConfigPanel.scss +14 -14
- package/styles/scss/icons.scss +77 -79
- package/styles/scss/notifications_channels_dialog.scss +89 -1
- package/styles/scss/poweredByGDLogo.scss +3 -3
- package/styles/scss/resizing.scss +83 -13
- package/styles/scss/sidebar.scss +6 -4
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts +0 -9
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js +0 -16
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +0 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts +0 -3
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js +0 -20
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js.map +0 -1
- /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{Attachments → AttachmentsOld}/AttachmentFilters.d.ts +0 -0
- /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{Attachments → AttachmentsOld}/AttachmentFilters.js +0 -0
- /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{Attachments → AttachmentsOld}/AttachmentFiltersList.d.ts +0 -0
- /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{Attachments → AttachmentsOld}/AttachmentItems.js +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
// (C) 2025 GoodData Corporation
|
2
|
-
import { isDashboardLayout } from "@gooddata/sdk-model";
|
2
|
+
import { isDashboardLayout, } from "@gooddata/sdk-model";
|
3
3
|
import { findItem } from "../../../_staging/layout/coordinates.js";
|
4
|
-
import { implicitLayoutItemSizeFromXlSize, getMinWidth } from "../../../_staging/layout/sizing.js";
|
4
|
+
import { implicitLayoutItemSizeFromXlSize, getMinWidth, determineWidthForScreen, } from "../../../_staging/layout/sizing.js";
|
5
5
|
import { getLayoutConfiguration } from "../../../_staging/dashboard/flexibleLayout/layoutConfiguration.js";
|
6
6
|
export const getUpdatedSizesOnly = (layout, itemsWithSizes, screen) => {
|
7
7
|
return itemsWithSizes.filter(({ itemPath, width }) => {
|
@@ -14,13 +14,19 @@ const getLayoutDirection = (layout) => getLayoutConfiguration(layout).direction;
|
|
14
14
|
/**
|
15
15
|
* Collects layout paths of all child widgets that need width updates when a nested layout is resized.
|
16
16
|
* For nested layouts with a "column" direction, it processes children recursively.
|
17
|
-
* For other widgets (including nested layouts with "row" direction), it returns their paths directly
|
17
|
+
* For other widgets (including nested layouts with "row" direction), it returns their paths directly unless
|
18
|
+
* the processAllContainers is true.
|
19
|
+
*
|
20
|
+
* @param layoutItem - The layout item to process
|
21
|
+
* @param layoutItemPath - The path to the provided layout item (this could be a nested layout, and we need to know his preceding path)
|
22
|
+
* @param processAllContainers - If true, process all containers, including those with a "row" direction, otherwise only process containers with a "column" direction
|
18
23
|
*/
|
19
|
-
export function getChildWidgetLayoutPaths(
|
20
|
-
return
|
21
|
-
const currentPath = [...
|
22
|
-
return isDashboardLayout(item.widget) &&
|
23
|
-
|
24
|
+
export function getChildWidgetLayoutPaths(layoutItem, layoutItemPath, processAllContainers = false) {
|
25
|
+
return layoutItem.sections.flatMap((section, sectionIndex) => section.items.flatMap((item, itemIndex) => {
|
26
|
+
const currentPath = [...layoutItemPath, { sectionIndex, itemIndex }];
|
27
|
+
return isDashboardLayout(item.widget) &&
|
28
|
+
(processAllContainers || getLayoutDirection(item.widget) === "column")
|
29
|
+
? [currentPath, ...getChildWidgetLayoutPaths(item.widget, currentPath, processAllContainers)]
|
24
30
|
: [currentPath];
|
25
31
|
}));
|
26
32
|
}
|
@@ -30,7 +36,7 @@ export function getChildWidgetLayoutPaths(layout, parentPath) {
|
|
30
36
|
* For other widgets (including nested layouts with "row" direction), it returns their paths and
|
31
37
|
* minimum widths directly.
|
32
38
|
*/
|
33
|
-
export function getChildWidgetLayoutPathsWithMinWidths(layout, parentPath, settings, insightMap, screen) {
|
39
|
+
export function getChildWidgetLayoutPathsWithMinWidths(layout, parentPath, settings, insightMap, screen, parentDirection) {
|
34
40
|
return layout.sections.flatMap((section, sectionIndex) => section.items.flatMap((item, itemIndex) => {
|
35
41
|
const currentPath = [...parentPath, { sectionIndex, itemIndex }];
|
36
42
|
if (item.widget === undefined) {
|
@@ -39,15 +45,18 @@ export function getChildWidgetLayoutPathsWithMinWidths(layout, parentPath, setti
|
|
39
45
|
if (isDashboardLayout(item.widget) && getLayoutDirection(item.widget) === "column") {
|
40
46
|
// For nested layouts with a column direction, process children recursively and include
|
41
47
|
// the container itself
|
42
|
-
const childItems = getChildWidgetLayoutPathsWithMinWidths(item.widget, currentPath, settings, insightMap, screen);
|
43
48
|
const containerMinWidth = getMinWidth(item.widget, insightMap, screen, settings, "column");
|
49
|
+
const childItems = getChildWidgetLayoutPathsWithMinWidths(item.widget, currentPath, settings, insightMap, screen, "column");
|
44
50
|
return [...childItems, { itemPath: currentPath, width: containerMinWidth }];
|
45
51
|
}
|
46
52
|
else {
|
47
53
|
// For other widgets (including nested layouts with a row direction, layout will never be
|
48
|
-
// a column at this point), return their path and minimum default width
|
54
|
+
// a column at this point), return their path and minimum default width or
|
55
|
+
// current width when they are inside of column group (= stretched and can not be smaller).
|
49
56
|
const minWidth = getMinWidth(item.widget, insightMap, screen, settings, "row");
|
50
|
-
|
57
|
+
const currentWidth = determineWidthForScreen(screen, item.size);
|
58
|
+
const width = parentDirection === "column" ? currentWidth : minWidth;
|
59
|
+
return [{ itemPath: currentPath, width }];
|
51
60
|
}
|
52
61
|
}));
|
53
62
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"containerWidthSanitization.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/containerWidthSanitization.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,
|
1
|
+
{"version":3,"file":"containerWidthSanitization.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/containerWidthSanitization.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAKH,iBAAiB,GAEpB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,EACH,gCAAgC,EAChC,WAAW,EACX,uBAAuB,GAC1B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mEAAmE,CAAC;AAG3G,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,MAAiD,EACjD,c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AAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC;YACrE,OAAO,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC;QAC9C,CAAC;IACL,CAAC,CAAC,CACL,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"moveSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,+BAA+B,EAA0B,MAAM,wBAAwB,CAAC;AA2BjG,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;
|
1
|
+
{"version":3,"file":"moveSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,+BAA+B,EAA0B,MAAM,wBAAwB,CAAC;AA2BjG,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AA4LxE,wBAAgB,8BAA8B,CAC1C,YAAY,EAAE,eAAe,EAC7B,UAAU,GAAE,eAAoB,GACjC,kBAAkB,CAmBpB;AAED,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,eAAe,GACrB,YAAY,CAAC,+BAA+B,CAAC,CAgG/C"}
|
@@ -11,6 +11,7 @@ import { selectSettings } from "../../store/config/configSelectors.js";
|
|
11
11
|
import { selectInsightsMap } from "../../store/insights/insightsSelectors.js";
|
12
12
|
import { normalizeItemSizeToParent } from "../../../_staging/layout/sizing.js";
|
13
13
|
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
14
|
+
import { buildRowContainerSanitizationActions } from "./rowContainerSanitization.js";
|
14
15
|
function validateAndResolve(commandCtx) {
|
15
16
|
const { ctx, layout, cmd: { payload: { sectionIndex, toSectionIndex, toItemIndex, itemIndex, fromPath, toPath, removeOriginalSectionIfEmpty, }, }, } = commandCtx;
|
16
17
|
if (fromPath === undefined && toPath === undefined) {
|
@@ -129,12 +130,16 @@ export function* moveSectionItemHandler(ctx, cmd) {
|
|
129
130
|
const insightsMap = yield select(selectInsightsMap);
|
130
131
|
const screen = yield select(selectScreen);
|
131
132
|
const { item: itemWithNormalizedSize, sizeChanged: shouldChangeSize } = normalizeItemSizeToParent(itemToMove, targetIndex, commandCtx.layout, settings, insightsMap, screen);
|
133
|
+
const currentItemIndex = fromPath === undefined ? [{ sectionIndex, itemIndex }] : fromPath;
|
134
|
+
const toItemIndex = targetIndex === undefined
|
135
|
+
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
136
|
+
: targetIndex;
|
137
|
+
const rowContainerSanitizationActions = buildRowContainerSanitizationActions(cmd, commandCtx.layout, itemWithNormalizedSize, currentItemIndex, toItemIndex, screen);
|
132
138
|
yield put(batchActions([
|
139
|
+
...rowContainerSanitizationActions, // process first to avoid remapping of the paths
|
133
140
|
layoutActions.moveSectionItem({
|
134
|
-
itemIndex:
|
135
|
-
toItemIndex
|
136
|
-
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
137
|
-
: targetIndex,
|
141
|
+
itemIndex: currentItemIndex,
|
142
|
+
toItemIndex,
|
138
143
|
undo: {
|
139
144
|
cmd,
|
140
145
|
},
|
@@ -154,9 +159,7 @@ export function* moveSectionItemHandler(ctx, cmd) {
|
|
154
159
|
...(shouldChangeSize
|
155
160
|
? [
|
156
161
|
layoutActions.changeItemWidth({
|
157
|
-
layoutPath:
|
158
|
-
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
159
|
-
: targetIndex,
|
162
|
+
layoutPath: toItemIndex,
|
160
163
|
width: itemWithNormalizedSize.size.xl.gridWidth,
|
161
164
|
}),
|
162
165
|
]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"moveSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAkB,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAIvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAmC,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACjG,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EACH,QAAQ,EACR,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,aAAa,GAChB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"moveSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAkB,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAIvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAmC,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACjG,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EACH,QAAQ,EACR,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,aAAa,GAChB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAG1E,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AAQrF,SAAS,kBAAkB,CAAC,UAAkC;IAC1D,MAAM,EACF,GAAG,EACH,MAAM,EACN,GAAG,EAAE,EACD,OAAO,EAAE,EACL,YAAY,EACZ,cAAc,EACd,WAAW,EACX,SAAS,EACT,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,sBAAsB,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5D,MAAM,IAAI,CAAC,sBAAsB,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;IAE/D,MAAM,yBAAyB,GAC3B,kBAAkB,KAAK,SAAS;QAC5B,CAAC,CAAC,eAAe,CAAC,WAAW,CAAC;QAC9B,CAAC,CAAC,mBAAmB,IAAI,YAAY,GAAG,kBAAkB;YAC1D,CAAC,CAAC,YAAY,GAAG,CAAC;YAClB,CAAC,CAAC,kBAAkB,CAAC;IAE7B,OAAO,sBAAsB,CACzB,GAAG,EACH,sBAAsB,EACtB,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,EACjE,yBAAyB,EACzB,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,EAC3D,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,CAAC,EACvE,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjE,WAAW,KAAK,SAAS;QACrB,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,yBAA0B,EAAE,SAAS,EAAE,WAAY,EAAE,CAAC;QACzE,CAAC,CAAC,WAAW,EACjB,mBAAmB,EACnB,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"moveSectionItemToNewSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EACH,2CAA2C,EAE9C,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;
|
1
|
+
{"version":3,"file":"moveSectionItemToNewSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EACH,2CAA2C,EAE9C,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAkK9D,wBAAiB,kCAAkC,CAC/C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,2BAA2B,GACjC,YAAY,CAAC,2CAA2C,CAAC,CAqH3D"}
|
@@ -11,6 +11,7 @@ import { selectSettings } from "../../store/config/configSelectors.js";
|
|
11
11
|
import { selectInsightsMap } from "../../store/insights/insightsSelectors.js";
|
12
12
|
import { normalizeItemSizeToParent } from "../../../_staging/layout/sizing.js";
|
13
13
|
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
14
|
+
import { buildRowContainerSanitizationActions } from "./rowContainerSanitization.js";
|
14
15
|
function validateAndResolve(commandCtx) {
|
15
16
|
const { ctx, layout, cmd: { payload: { itemPath, sectionIndex, itemIndex, toSectionIndex, toSection, removeOriginalSectionIfEmpty, }, }, } = commandCtx;
|
16
17
|
if (itemPath === undefined && toSection === undefined) {
|
@@ -61,10 +62,11 @@ function requiresSectionShift(fromItemPath, toItemPath) {
|
|
61
62
|
const commonPath = fromItemPath.slice(0, toItemPath.length);
|
62
63
|
const commonPathParent = getParentPath(commonPath);
|
63
64
|
const toItemPathParent = getParentPath(toItemPath);
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
65
|
+
const emptyOrSameParent = (commonPathParent === undefined && toItemPathParent === undefined) ||
|
66
|
+
(commonPathParent !== undefined &&
|
67
|
+
toItemPathParent !== undefined &&
|
68
|
+
areLayoutPathsEqual(commonPathParent, toItemPathParent));
|
69
|
+
return emptyOrSameParent && toIsBeforeFrom(toItemPath, commonPath);
|
68
70
|
}
|
69
71
|
function getItemPathWithSectionsShifted(fromItemPath, toItemPath) {
|
70
72
|
if (fromItemPath && toItemPath && requiresSectionShift(fromItemPath, toItemPath)) {
|
@@ -99,7 +101,13 @@ export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
99
101
|
const insightsMap = yield select(selectInsightsMap);
|
100
102
|
const screen = yield select(selectScreen);
|
101
103
|
const { item: itemWithNormalizedSize, sizeChanged: shouldChangeSize } = normalizeItemSizeToParent(itemToMove, toItemIndex, commandCtx.layout, settings, insightsMap, screen);
|
104
|
+
const sourceItemIndex = itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath;
|
105
|
+
const destinationItemIndex = toItemIndex === undefined
|
106
|
+
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
107
|
+
: toItemIndex;
|
108
|
+
const rowContainerSanitizationActions = buildRowContainerSanitizationActions(cmd, commandCtx.layout, itemWithNormalizedSize, sourceItemIndex, destinationItemIndex, screen);
|
102
109
|
yield put(batchActions([
|
110
|
+
...rowContainerSanitizationActions, // process first to avoid remapping of the paths
|
103
111
|
layoutActions.addSection({
|
104
112
|
index: toItemIndex === undefined
|
105
113
|
? { parent: undefined, sectionIndex: targetSectionIndex }
|
@@ -114,9 +122,7 @@ export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
114
122
|
itemIndex: itemPathWithSectionsShifted === undefined
|
115
123
|
? [{ sectionIndex: itemSectionIndex, itemIndex }]
|
116
124
|
: itemPathWithSectionsShifted,
|
117
|
-
toItemIndex:
|
118
|
-
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
119
|
-
: toItemIndex,
|
125
|
+
toItemIndex: destinationItemIndex,
|
120
126
|
undo: {
|
121
127
|
cmd,
|
122
128
|
},
|
@@ -124,9 +130,7 @@ export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
124
130
|
...(shouldChangeSize
|
125
131
|
? [
|
126
132
|
layoutActions.changeItemWidth({
|
127
|
-
layoutPath:
|
128
|
-
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
129
|
-
: toItemIndex,
|
133
|
+
layoutPath: destinationItemIndex,
|
130
134
|
width: itemWithNormalizedSize.size.xl.gridWidth,
|
131
135
|
}),
|
132
136
|
]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"moveSectionItemToNewSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,EAAkB,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAEH,kCAAkC,GACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGnF,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,mBAAmB,GACtB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"moveSectionItemToNewSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,EAAkB,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAEH,kCAAkC,GACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGnF,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,mBAAmB,GACtB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AAQrF,SAAS,kBAAkB,CAAC,UAA8C;IACtE,MAAM,EACF,GAAG,EACH,MAAM,EACN,GAAG,EAAE,EACD,OAAO,EAAE,EACL,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,cAAc,EACd,S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,CAAC;IAC5D,MAAM,IAAI,CAAC,sBAAsB,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;IAE/D,OAAO,kCAAkC,CACrC,GAAG,EACH,sBAAsB,EACtB,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,EACjE,kBAAkB,KAAK,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,kBAAkB,EACpF,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,EAC3D,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,eAAe,EAC3E,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjE,WAAW,KAAK,SAAS;QACrB,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,kBAAkB,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;QACpE,CAAC,CAAC,WAAW,EACjB,mBAAmB,EACnB,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { AnyAction } from "@reduxjs/toolkit";
|
2
|
+
import { IDashboardLayout, ScreenSize, IDashboardLayoutItem } from "@gooddata/sdk-model";
|
3
|
+
import { ExtendedDashboardWidget } from "../../types/layoutTypes.js";
|
4
|
+
import { ILayoutItemPath } from "../../../types.js";
|
5
|
+
import { IDashboardCommand } from "../../commands/index.js";
|
6
|
+
/**
|
7
|
+
* Builds actions for row container sanitization when moving items between layouts.
|
8
|
+
*
|
9
|
+
* If a container is being moved, we need to check if it has a row direction, and it is being moved to
|
10
|
+
* a column layout. If yes, we need to change its direction to column. In any case, we need to check all
|
11
|
+
* its children and find all the row containers and change their direction to column. We will also need to
|
12
|
+
* update the width of all the children to match the moved container width.
|
13
|
+
*/
|
14
|
+
export declare function buildRowContainerSanitizationActions(cmd: IDashboardCommand, rootLayout: IDashboardLayout<ExtendedDashboardWidget>, possibleContainer: IDashboardLayoutItem<ExtendedDashboardWidget>, fromItemIndex: ILayoutItemPath, toItemIndex: ILayoutItemPath, screen: ScreenSize): AnyAction[];
|
15
|
+
//# sourceMappingURL=rowContainerSanitization.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rowContainerSanitization.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/rowContainerSanitization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAqB,gBAAgB,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE5G,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAyF5D;;;;;;;GAOG;AACH,wBAAgB,oCAAoC,CAChD,GAAG,EAAE,iBAAiB,EACtB,UAAU,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACrD,iBAAiB,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,EAChE,aAAa,EAAE,eAAe,EAC9B,WAAW,EAAE,eAAe,EAC5B,MAAM,EAAE,UAAU,GACnB,SAAS,EAAE,CA0Bb"}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
2
|
+
import { isDashboardLayout } from "@gooddata/sdk-model";
|
3
|
+
import { getLayoutConfiguration, getContainerDirectionAtPath, } from "../../../_staging/dashboard/flexibleLayout/layoutConfiguration.js";
|
4
|
+
import { getParentPath } from "../../../_staging/layout/coordinates.js";
|
5
|
+
import { layoutActions } from "../../store/layout/index.js";
|
6
|
+
import { getChildWidgetLayoutPaths, getUpdatedSizesOnly } from "./containerWidthSanitization.js";
|
7
|
+
function findNestedRowContainers(container, containerLayoutPath) {
|
8
|
+
if (!isDashboardLayout(container)) {
|
9
|
+
return [];
|
10
|
+
}
|
11
|
+
return [
|
12
|
+
// include itself if the container has a row direction
|
13
|
+
...(getLayoutConfiguration(container).direction === "row" ? [containerLayoutPath] : []),
|
14
|
+
// process nested items and look for row containers
|
15
|
+
...container.sections.flatMap((section, sectionIndex) => section.items.flatMap((item, itemIndex) => {
|
16
|
+
const currentPath = [...containerLayoutPath, { sectionIndex, itemIndex }];
|
17
|
+
return item.widget && isDashboardLayout(item.widget)
|
18
|
+
? findNestedRowContainers(item.widget, currentPath)
|
19
|
+
: [];
|
20
|
+
})),
|
21
|
+
];
|
22
|
+
}
|
23
|
+
function mapChildrenWithNewWidth(rootLayout, container, containerLayoutPath, newWidth, screen) {
|
24
|
+
if (!isDashboardLayout(container)) {
|
25
|
+
return [];
|
26
|
+
}
|
27
|
+
const children = getChildWidgetLayoutPaths(container, containerLayoutPath, true);
|
28
|
+
const childrenWithNewSize = children.map((itemPath) => ({
|
29
|
+
itemPath,
|
30
|
+
width: newWidth,
|
31
|
+
}));
|
32
|
+
return getUpdatedSizesOnly(rootLayout, childrenWithNewSize, screen);
|
33
|
+
}
|
34
|
+
function shouldChangeNestedContainersDirectionToColumn(rootLayout, item, targetItemIndex) {
|
35
|
+
const targetParentPath = getParentPath(targetItemIndex);
|
36
|
+
const targetLayoutDirection = getContainerDirectionAtPath(rootLayout, targetParentPath);
|
37
|
+
return isDashboardLayout(item.widget) && targetLayoutDirection === "column";
|
38
|
+
}
|
39
|
+
function calculateRowContainerSanitization(rootLayout, possibleContainer, fromItemIndex, toItemIndex, screen) {
|
40
|
+
const changeNestedContainersDirectionToColumn = shouldChangeNestedContainersDirectionToColumn(rootLayout, possibleContainer, toItemIndex);
|
41
|
+
if (!changeNestedContainersDirectionToColumn) {
|
42
|
+
return {
|
43
|
+
containersForDirectionChange: [],
|
44
|
+
childrenWithNewWidth: [],
|
45
|
+
};
|
46
|
+
}
|
47
|
+
const containersForDirectionChange = findNestedRowContainers(possibleContainer.widget, fromItemIndex);
|
48
|
+
const newWidth = possibleContainer.size.xl.gridWidth;
|
49
|
+
const childrenWithNewWidth = mapChildrenWithNewWidth(rootLayout, possibleContainer.widget, fromItemIndex, newWidth, screen);
|
50
|
+
return {
|
51
|
+
containersForDirectionChange,
|
52
|
+
childrenWithNewWidth,
|
53
|
+
};
|
54
|
+
}
|
55
|
+
/**
|
56
|
+
* Builds actions for row container sanitization when moving items between layouts.
|
57
|
+
*
|
58
|
+
* If a container is being moved, we need to check if it has a row direction, and it is being moved to
|
59
|
+
* a column layout. If yes, we need to change its direction to column. In any case, we need to check all
|
60
|
+
* its children and find all the row containers and change their direction to column. We will also need to
|
61
|
+
* update the width of all the children to match the moved container width.
|
62
|
+
*/
|
63
|
+
export function buildRowContainerSanitizationActions(cmd, rootLayout, possibleContainer, fromItemIndex, toItemIndex, screen) {
|
64
|
+
const { containersForDirectionChange, childrenWithNewWidth } = calculateRowContainerSanitization(rootLayout, possibleContainer, fromItemIndex, toItemIndex, screen);
|
65
|
+
return [
|
66
|
+
...containersForDirectionChange.map((itemPath) => layoutActions.toggleLayoutDirection({
|
67
|
+
layoutPath: itemPath,
|
68
|
+
direction: "column",
|
69
|
+
undo: {
|
70
|
+
cmd,
|
71
|
+
},
|
72
|
+
})),
|
73
|
+
...(childrenWithNewWidth.length > 0
|
74
|
+
? [
|
75
|
+
layoutActions.updateWidthOfMultipleItems({
|
76
|
+
itemsWithSizes: childrenWithNewWidth,
|
77
|
+
}),
|
78
|
+
]
|
79
|
+
: []),
|
80
|
+
];
|
81
|
+
}
|
82
|
+
//# sourceMappingURL=rowContainerSanitization.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rowContainerSanitization.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/rowContainerSanitization.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ACR,MAAM,CACT,CAAC;IAEF,OAAO;QACH,4BAA4B;QAC5B,oBAAoB;KACvB,CAAC;AACN,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,oCAAoC,CAChD,GAAsB,EACtB,UAAqD,EACrD,iBAAgE,EAChE,aAA8B,EAC9B,WAA4B,EAC5B,MAAkB;IAElB,MAAM,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,GAAG,iCAAiC,CAC5F,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,MAAM,CACT,CAAC;IACF,OAAO;QACH,GAAG,4BAA4B,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAC7C,aAAa,CAAC,qBAAqB,CAAC;YAChC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE;gBACF,GAAG;aACN;SACJ,CAAC,CACL;QACD,GAAG,CAAC,oBAAoB,CAAC,MAAM,GAAG,CAAC;YAC/B,CAAC,CAAC;gBACI,aAAa,CAAC,0BAA0B,CAAC;oBACrC,cAAc,EAAE,oBAAoB;iBACvC,CAAC;aACL;YACH,CAAC,CAAC,EAAE,CAAC;KACZ,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toggleLayoutDirectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/toggleLayoutDirectionHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAW1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAA0B,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;
|
1
|
+
{"version":3,"file":"toggleLayoutDirectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/toggleLayoutDirectionHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAW1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAA0B,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AA0CjE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,qBAAqB,GAC3B,YAAY,CAAC,sBAAsB,CAAC,CAqCtC"}
|
@@ -12,7 +12,7 @@ function findChildItemsWithNewWidth({ payload: { layoutPath, direction } }, layo
|
|
12
12
|
const parent = layoutPath === undefined ? layout : findItem(layout, layoutPath);
|
13
13
|
if (isDashboardLayoutItem(parent) && isDashboardLayout(parent.widget)) {
|
14
14
|
return direction === "row"
|
15
|
-
? getChildWidgetLayoutPathsWithMinWidths(parent.widget, parentPath, settings, insightMap, screen)
|
15
|
+
? getChildWidgetLayoutPathsWithMinWidths(parent.widget, parentPath, settings, insightMap, screen, direction)
|
16
16
|
: getChildWidgetLayoutPaths(parent.widget, parentPath).map((itemPath) => ({
|
17
17
|
itemPath,
|
18
18
|
width: parent.size.xl.gridWidth,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"toggleLayoutDirectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/toggleLayoutDirectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EACH,iBAAiB,EAKjB,qBAAqB,GACxB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAA0B,MAAM,wBAAwB,CAAC;AAGxF,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAGnE,OAAO,EACH,sCAAsC,EACtC,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,iCAAiC,CAAC;AAEzC,SAAS,0BAA0B,CAC/B,EAAE,OAAO,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,EAAyB,EAC7D,MAAiD,EACjD,UAA+B,EAC/B,QAAmB,EACnB,MAAkB;IAElB,MAAM,UAAU,GAAG,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC;IAC9D,MAAM,MAAM,GAAG,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAEhF,IAAI,qBAAqB,CAAC,MAAM,CAAC,IAAI,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QACpE,OAAO,SAAS,KAAK,KAAK;YACtB,CAAC,CAAC,sCAAsC,
|
1
|
+
{"version":3,"file":"toggleLayoutDirectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/toggleLayoutDirectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EACH,iBAAiB,EAKjB,qBAAqB,GACxB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAA0B,MAAM,wBAAwB,CAAC;AAGxF,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OA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,MAAM,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACnD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC;IAC1C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,CAAC;IAE9C,MAAM,GAAG,CACL,aAAa,CAAC,qBAAqB,CAAC;QAChC,UAAU;QACV,SAAS;QACT,IAAI,EAAE;YACF,GAAG;SACN;KACJ,CAAC,CACL,CAAC;IAEF,MAAM,sBAAsB,GAAqB,0BAA0B,CACvE,GAAG,EACH,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,CACT,CAAC;IACF,MAAM,qBAAqB,GAAG,mBAAmB,CAAC,MAAM,EAAE,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAE1F,IAAI,qBAAqB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACnC,MAAM,GAAG,CACL,aAAa,CAAC,0BAA0B,CAAC;YACrC,cAAc,EAAE,qBAAqB;SACxC,CAAC,CACL,CAAC;IACN,CAAC;IAED,OAAO,sBAAsB,CAAC,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;AACjF,CAAC"}
|
@@ -123,7 +123,9 @@ function extractRelevantFilters(targetAutomation, insight) {
|
|
123
123
|
}
|
124
124
|
function extractExportDefinitionFilters(content) {
|
125
125
|
if (isExportDefinitionDashboardRequestPayload(content)) {
|
126
|
-
|
126
|
+
// The filters in dashboard case may be undefined or an array depending
|
127
|
+
// on whether they should override filter context or use live filter context.
|
128
|
+
return content.content.filters ? compact(content.content.filters) : undefined;
|
127
129
|
}
|
128
130
|
if (isExportDefinitionVisualizationObjectRequestPayload(content)) {
|
129
131
|
return compact(content.content.filters?.filter(isDashboardFilter).map((filter) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"initializeAutomationsHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names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,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"initializeAutomationsHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIhD,OAAO,EACH,iBAAiB,EACjB,uBAAuB,EACvB,mCAAmC,EAEnC,gBAAgB,EAChB,uBAAuB,EACvB,0CAA0C,GAC7C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACnG,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EACH,8BAA8B,EAC9B,0BAA0B,GAC7B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EACH,qBAAqB,EACrB,YAAY,EACZ,KAAK,EAGL,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EAEpB,eAAe,EAKf,yCAAyC,EACzC,mDAAmD,EAEnD,8BAA8B,EAC9B,qBAAqB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mCAAmC,EAAE,MAAM,yDAAyD,CAAC;AAC9G,OAAO,EAAE,4BAA4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c,EAAE,KAAK,CAAC,eAAe,CAAC,CAAM;gBAE1C,GAAG,EAAE,gBAAgB,EAAE,MAAM,CAAC,EAAE,uBAAuB;IAgCnE,SAAS,CAAC,0BAA0B,eAAgB,MAAM,KAAG,eAAe,CA0B1E;IAEF,OAAO,CAAC,gBAAgB,CAMtB;IAEF,OAAO,CAAC,YAAY,CAElB;IAEK,QAAQ,CAAC,MAAM,EAAE,iBAAiB,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,IAAI;IAWrE;;;;;;OAMG;IACI,kBAAkB,CACrB,MAAM,EAAE,iBAAiB,GAAG,aAAa,CAAC,GAAG,CAAC,EAC9C,UAAU,EAAE,kBAAkB,GAAG,oBAAoB,GAAG,MAAM,EAC9D,OAAO,GAAE,MAAa,GACvB,OAAO,CAAC,GAAG,CAAC;IAMf,OAAO,CAAC,2BAA2B,CAQjC;IAEF,OAAO,CAAC,0BAA0B,CAWhC;IAEF;;;;OAIG;IACI,KAAK,CAAC,YAAY,EAAE,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,YAAY,CAAC;IAM1E;;;;;OAKG;IACI,OAAO,CACV,UAAU,EAAE,kBAAkB,GAAG,oBAAoB,GAAG,MAAM,EAC9D,OAAO,GAAE,MAAa,GACvB,OAAO,CAAC,GAAG,CAAC;IAef;;OAEG;IACH,MAAM,CAAC,gBAAgB,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,eAAe,EAAE,gBAAgB;IAI1F;;OAEG;IACH,SAAS,CAAC,KAAK,IAAI,cAAc;CAGpC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// (C) 2022 GoodData Corporation
|
1
|
+
// (C) 2022-2025 GoodData Corporation
|
2
2
|
import noop from "lodash/noop.js";
|
3
3
|
import { createDashboardStore } from "../store/dashboardStore.js";
|
4
4
|
import { queryEnvelopeWithPromise } from "../store/_infra/queryProcessing.js";
|
@@ -13,11 +13,12 @@ export class HeadlessDashboard {
|
|
13
13
|
constructor(ctx, config) {
|
14
14
|
// Middleware to store the actions and create promises
|
15
15
|
const actionsMiddleware = () => (next) => (action) => {
|
16
|
-
|
16
|
+
const typedAction = action;
|
17
|
+
if (typedAction.type?.startsWith("@@redux/")) {
|
17
18
|
//
|
18
19
|
}
|
19
20
|
else {
|
20
|
-
this.onActionCaptured(
|
21
|
+
this.onActionCaptured(typedAction);
|
21
22
|
}
|
22
23
|
return next(action);
|
23
24
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeadlessDashboard.js","sourceRoot":"","sources":["../../../src/model/headlessDashboard/HeadlessDashboard.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"HeadlessDashboard.js","sourceRoot":"","sources":["../../../src/model/headlessDashboard/HeadlessDashboard.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAMrC,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAKlC,OAAO,EAAE,oBAAoB,EAAyB,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAqB9E;;GAEG;AACH,MAAM,OAAO,iBAAiB;IACT,YAAY,CAAwB;IAC3C,gBAAgB,GAAoC,EAAE,CAAC;IACvD,eAAe,GAA8B,EAAE,CAAC;IAChD,cAAc,GAA2B,EAAE,CAAC;IAEtD,YAAY,GAAqB,EAAE,MAAgC;QAC/D,sDAAsD;QACtD,MAAM,iBAAiB,GAAe,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAe,EAAE,EAAE;YACtE,MAAM,WAAW,GAAG,MAAuB,CAAC;YAC5C,IAAI,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;gBAC3C,EAAE;YACN,CAAC;iBAAM,CAAC;gBACJ,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;YACvC,CAAC;YAED,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;QACxB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ED
@@ -15,9 +15,7 @@ export * from "./commands/index.js";
|
|
15
15
|
export * from "./events/index.js";
|
16
16
|
export * from "./queries/index.js";
|
17
17
|
export * from "./store/index.js";
|
18
|
-
export { selectDateDatasetsForInsight } from "./queryServices/
|
19
|
-
export { selectInsightAttributesMeta } from "./queryServices/queryInsightAttributesMeta.js";
|
20
|
-
export { selectDateDatasetsForMeasure } from "./queryServices/queryMeasureDateDatasets.js";
|
18
|
+
export { selectDateDatasetsForInsight, selectInsightAttributesMeta, selectDateDatasetsForMeasure, type selectDateDatasetsForInsightType, type selectInsightAttributesMetaType, type selectDateDatasetsForMeasureType, } from "./queryServices/index.js";
|
21
19
|
export type { RenderingWorkerConfiguration } from "./commandHandlers/render/types.js";
|
22
20
|
export type { DashboardEventHandler, DashboardEventHandlerFn, DashboardEventEvalFn, } from "./eventHandlers/eventHandler.js";
|
23
21
|
export { anyEventHandler, anyDashboardEventHandler, singleEventTypeHandler, commandStartedEventHandler, commandFailedEventHandler, } from "./eventHandlers/eventHandler.js";
|
package/esm/model/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAcA,YAAY,EACR,gBAAgB,EAChB,aAAa,EACb,0BAA0B,EAC1B,iCAAiC,EACjC,wBAAwB,EACxB,eAAe,EACf,0BAA0B,EAC1B,oBAAoB,EACpB,8BAA8B,EAC9B,oBAAoB,EACpB,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,gCAAgC,EAChC,4BAA4B,EAC5B,mCAAmC,GACtC,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACR,aAAa,EACb,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB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+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAcA,YAAY,EACR,gBAAgB,EAChB,aAAa,EACb,0BAA0B,EAC1B,iCAAiC,EACjC,wBAAwB,EACxB,eAAe,EACf,0BAA0B,EAC1B,oBAAoB,EACpB,8BAA8B,EAC9B,oBAAoB,EACpB,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,gCAAgC,EAChC,4BAA4B,EAC5B,mCAAmC,GACtC,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACR,aAAa,EACb,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC9B,aAAa,EACb,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,yBAAyB,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,cAAc,EACd,sBAAsB,EACtB,+BAA+B,GAClC,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACR,QAAQ,EACR,kBAAkB,EAClB,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,GACpB,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EACR,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,8BAA8B,GACjC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAEtG,YAAY,EAAE,gBAAgB,EAA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";
|
9
9
|
export * from "./queries/index.js";
|
10
10
|
export * from "./store/index.js";
|
11
|
-
export { selectDateDatasetsForInsight } from "./queryServices/
|
12
|
-
export { selectInsightAttributesMeta } from "./queryServices/queryInsightAttributesMeta.js";
|
13
|
-
export { selectDateDatasetsForMeasure } from "./queryServices/queryMeasureDateDatasets.js";
|
11
|
+
export { selectDateDatasetsForInsight, selectInsightAttributesMeta, selectDateDatasetsForMeasure, } from "./queryServices/index.js";
|
14
12
|
export { anyEventHandler, anyDashboardEventHandler, singleEventTypeHandler, commandStartedEventHandler, commandFailedEventHandler, } from "./eventHandlers/eventHandler.js";
|
15
13
|
export { newDrillToSameDashboardHandler } from "./eventHandlers/drillToSameDashboardHandlerFactory.js";
|
16
14
|
export * from "./headlessDashboard/index.js";
|
package/esm/model/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAuDrC,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,cAAc,EACd,sBAAsB,EACtB,+BAA+B,GAClC,MAAM,wBAAwB,CAAC;AAuBhC,OAAO,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAatG,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAMjE,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AAEjC,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAuDrC,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,cAAc,EACd,sBAAsB,EACtB,+BAA+B,GAClC,MAAM,wBAAwB,CAAC;AAuBhC,OAAO,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAatG,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAMjE,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EACH,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,GAI/B,MAAM,0BAA0B,CAAC;AAQlC,OAAO,EACH,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,GAC5B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,cAAc,8BAA8B,CAAC;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
|
@@ -1,2 +1,5 @@
|
|
1
1
|
export declare const AllQueryServices: (Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryInsightDateDatasets, import("../index.js").InsightDateDatasets>> | Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryInsightAttributesMeta, import("../index.js").InsightAttributesMeta>> | import("../index.js").IDashboardQueryService<import("../index.js").QueryWidgetFilters, import("@gooddata/sdk-model").IFilter[]> | Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryMeasureDateDatasets, import("../index.js").MeasureDateDatasets>> | import("../index.js").IDashboardQueryService<import("../index.js").QueryWidgetBrokenAlerts, import("../index.js").IBrokenAlertFilterBasicInfo<import("@gooddata/sdk-model").FilterContextItem>[]> | import("../index.js").IDashboardQueryService<import("../index.js").QueryWidgetAlertCount, number> | Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryConnectingAttributes, import("../index.js").IConnectingAttribute[][]>> | Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryAttributeByDisplayForm, import("@gooddata/sdk-model").IAttributeMetadataObject[]>> | Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryAttributeDataSet, import("@gooddata/sdk-model").IMetadataObject>> | Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryAttributeElements, import("../index.js").IUseAttributeElements>> | Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryConnectedAttributes, import("@gooddata/sdk-model").ObjRef[]>> | Required<import("../index.js").IDashboardQueryService<import("../index.js").QueryMetricsAndFacts, import("../index.js").IMetricsAndFacts>> | import("../index.js").IDashboardQueryService<import("../index.js").QueryAvailableDatasetsForItems, import("@gooddata/sdk-model").ICatalogDateDataset[]>)[];
|
2
|
+
export { selectDateDatasetsForInsight, type selectDateDatasetsForInsightType, } from "./queryInsightDateDatasets.js";
|
3
|
+
export { selectInsightAttributesMeta, type selectInsightAttributesMetaType, } from "./queryInsightAttributesMeta.js";
|
4
|
+
export { selectDateDatasetsForMeasure, type selectDateDatasetsForMeasureType, } from "./queryMeasureDateDatasets.js";
|
2
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/queryServices/index.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,gBAAgB,84DAc5B,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/queryServices/index.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,gBAAgB,84DAc5B,CAAC;AAEF,OAAO,EACH,4BAA4B,EAC5B,KAAK,gCAAgC,GACxC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACH,2BAA2B,EAC3B,KAAK,+BAA+B,GACvC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACH,4BAA4B,EAC5B,KAAK,gCAAgC,GACxC,MAAM,+BAA+B,CAAC"}
|