@gooddata/sdk-ui-dashboard 10.33.0-alpha.82 → 10.33.0-alpha.9
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 +2342 -3859
- 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 +0 -1
- package/esm/_staging/dashboard/flexibleLayout/config.d.ts.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/config.js +1 -2
- 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 +5 -7
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/model/commandHandlers/layout/containerHeightSanitization.d.ts +0 -10
- package/esm/model/commandHandlers/layout/containerHeightSanitization.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/containerHeightSanitization.js +60 -142
- package/esm/model/commandHandlers/layout/containerHeightSanitization.js.map +1 -1
- package/esm/model/commandHandlers/layout/containerWidthSanitization.d.ts +4 -9
- package/esm/model/commandHandlers/layout/containerWidthSanitization.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/containerWidthSanitization.js +12 -21
- 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 +7 -10
- 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 +10 -14
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
- 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 +1 -3
- 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 +3 -4
- package/esm/model/headlessDashboard/HeadlessDashboard.js.map +1 -1
- package/esm/model/index.d.ts +3 -1
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js +3 -1
- package/esm/model/index.js.map +1 -1
- package/esm/model/queryServices/index.d.ts +0 -3
- package/esm/model/queryServices/index.d.ts.map +1 -1
- package/esm/model/queryServices/index.js +0 -3
- package/esm/model/queryServices/index.js.map +1 -1
- package/esm/model/queryServices/queryInsightAttributesMeta.d.ts +2 -9
- 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 +2 -9
- 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 +2 -9
- 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 +3 -0
- package/esm/model/store/_infra/undoEnhancer.d.ts.map +1 -1
- package/esm/model/store/accessibleDashboards/accessibleDashboardsEntityAdapter.d.ts +1 -2
- 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 +9 -7
- package/esm/model/store/accessibleDashboards/index.d.ts.map +1 -1
- package/esm/model/store/accessibleDashboards/index.js +2 -3
- 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 +19 -9
- package/esm/model/store/attributeFilterConfigs/index.d.ts.map +1 -1
- package/esm/model/store/attributeFilterConfigs/index.js +3 -4
- 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 +20 -10
- package/esm/model/store/automations/index.d.ts.map +1 -1
- package/esm/model/store/automations/index.js +2 -3
- 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 +7 -6
- package/esm/model/store/backendCapabilities/index.d.ts.map +1 -1
- package/esm/model/store/backendCapabilities/index.js +2 -3
- 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 +23 -10
- package/esm/model/store/catalog/index.d.ts.map +1 -1
- package/esm/model/store/catalog/index.js +2 -3
- 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 +7 -6
- package/esm/model/store/config/index.d.ts.map +1 -1
- package/esm/model/store/config/index.js +2 -3
- 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 +7 -6
- package/esm/model/store/dashboardPermissions/index.d.ts.map +1 -1
- package/esm/model/store/dashboardPermissions/index.js +2 -3
- 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 +31 -15
- package/esm/model/store/dateFilterConfig/index.d.ts.map +1 -1
- package/esm/model/store/dateFilterConfig/index.js +2 -3
- 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 +19 -9
- package/esm/model/store/dateFilterConfigs/index.d.ts.map +1 -1
- package/esm/model/store/dateFilterConfigs/index.js +2 -3
- 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 +12 -8
- 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 +1 -2
- 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 +10 -7
- package/esm/model/store/drillTargets/index.d.ts.map +1 -1
- package/esm/model/store/drillTargets/index.js +2 -3
- 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 +7 -6
- package/esm/model/store/entitlements/index.d.ts.map +1 -1
- package/esm/model/store/entitlements/index.js +2 -3
- 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 +5 -7
- package/esm/model/store/executed/index.d.ts.map +1 -1
- package/esm/model/store/executed/index.js +2 -3
- package/esm/model/store/executed/index.js.map +1 -1
- package/esm/model/store/executionResults/executionResultsEntityAdapter.d.ts +1 -2
- 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 +1 -7
- 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 +11 -8
- package/esm/model/store/executionResults/index.d.ts.map +1 -1
- package/esm/model/store/executionResults/index.js +2 -3
- 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 +102 -35
- package/esm/model/store/filterContext/index.d.ts.map +1 -1
- package/esm/model/store/filterContext/index.js +2 -3
- 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 +11 -7
- package/esm/model/store/filterViews/index.d.ts.map +1 -1
- package/esm/model/store/filterViews/index.js +2 -3
- package/esm/model/store/filterViews/index.js.map +1 -1
- package/esm/model/store/inaccessibleDashboards/inaccessibleDashboardsEntityAdapter.d.ts +1 -2
- 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 +10 -7
- package/esm/model/store/inaccessibleDashboards/index.d.ts.map +1 -1
- package/esm/model/store/inaccessibleDashboards/index.js +2 -3
- 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 +24 -9
- package/esm/model/store/insights/index.d.ts.map +1 -1
- package/esm/model/store/insights/index.js +2 -3
- package/esm/model/store/insights/index.js.map +1 -1
- package/esm/model/store/insights/insightsEntityAdapter.d.ts +1 -2
- 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 +133 -99
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/index.js +2 -3
- 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 +17 -8
- package/esm/model/store/listedDashboards/index.d.ts.map +1 -1
- package/esm/model/store/listedDashboards/index.js +2 -3
- package/esm/model/store/listedDashboards/index.js.map +1 -1
- package/esm/model/store/listedDashboards/listedDashboardsEntityAdapter.d.ts +1 -2
- 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 +9 -8
- package/esm/model/store/loading/index.d.ts.map +1 -1
- package/esm/model/store/loading/index.js +2 -3
- 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 +36 -15
- package/esm/model/store/meta/index.d.ts.map +1 -1
- package/esm/model/store/meta/index.js +4 -3
- 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 +11 -7
- package/esm/model/store/notificationChannels/index.d.ts.map +1 -1
- package/esm/model/store/notificationChannels/index.js +2 -3
- 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 +7 -6
- package/esm/model/store/permissions/index.d.ts.map +1 -1
- package/esm/model/store/permissions/index.js +2 -3
- 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 +10 -9
- package/esm/model/store/renderMode/index.d.ts.map +1 -1
- package/esm/model/store/renderMode/index.js +2 -3
- 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 +9 -8
- package/esm/model/store/saving/index.d.ts.map +1 -1
- package/esm/model/store/saving/index.js +2 -3
- 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 +1 -3
- 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 +168 -80
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/index.js +2 -3
- package/esm/model/store/ui/index.js.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +2 -5
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +3 -6
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +1 -5
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +1 -5
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +1 -3
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +0 -1
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/model/store/user/index.d.ts +7 -6
- package/esm/model/store/user/index.d.ts.map +1 -1
- package/esm/model/store/user/index.js +2 -3
- 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 +15 -8
- package/esm/model/store/users/index.d.ts.map +1 -1
- package/esm/model/store/users/index.js +2 -3
- 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 +0 -1
- 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 +1 -3
- package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.js +2 -6
- 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 +11 -7
- 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 +6 -11
- 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 +3 -2
- 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 +3 -4
- 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 +7 -6
- 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 +3 -12
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js +16 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js +20 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/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 +1 -2
- 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 +5 -6
- 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 +4 -7
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +19 -37
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +3 -6
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +30 -59
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts +1 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +11 -21
- 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 +2 -5
- package/esm/presentation/flexibleLayout/rowEndHotspotHelper.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/rowEndHotspotHelper.js +3 -25
- 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 +1 -2
- 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 +3 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +1 -22
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.json +1 -22
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.json +1 -22
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +473 -538
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +3393 -685
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +3394 -686
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/es-419.json +1 -22
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.json +1 -22
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.json +1 -22
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.json +1 -22
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.json +1 -22
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.json +1 -22
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.json +1 -22
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.json +1 -22
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.json +1 -22
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.json +1 -22
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.json +1 -22
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.json +1 -22
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.json +1 -22
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.json +1 -22
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.json +1 -22
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.json +1 -22
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +2 -23
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.json +1 -22
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +0 -21
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +2 -23
- 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 +1 -5
- 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 +2 -13
- 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 +5 -12
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentFiltersList.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentItems.d.ts +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +11 -6
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +37 -31
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +16 -6
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +27 -30
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +5 -10
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +19 -76
- 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 +4 -13
- 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 +4 -0
- 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 +270 -166
- package/esm/types.d.ts +0 -5
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js.map +1 -1
- package/package.json +23 -22
- package/styles/css/attributeFilterConfig.css +1 -1
- package/styles/css/dashboard.css +5 -100
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardNestedLayoutWidget.css +49 -88
- package/styles/css/dashboardNestedLayoutWidget.css.map +1 -1
- package/styles/css/dragAndDrop.css +20 -27
- package/styles/css/dragAndDrop.css.map +1 -1
- package/styles/css/drillConfigPanel.css +14 -14
- package/styles/css/icons.css +24 -32
- package/styles/css/icons.css.map +1 -1
- package/styles/css/main.css +147 -352
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +2 -88
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/poweredByGDLogo.css +2 -2
- package/styles/css/resizing.css +15 -69
- package/styles/css/resizing.css.map +1 -1
- package/styles/css/sidebar.css +4 -6
- package/styles/css/sidebar.css.map +1 -1
- package/styles/scss/attributeFilterConfig.scss +1 -1
- package/styles/scss/dashboard.scss +3 -15
- package/styles/scss/dashboardNestedLayoutWidget.scss +77 -142
- package/styles/scss/dragAndDrop.scss +48 -63
- package/styles/scss/drillConfigPanel.scss +14 -14
- package/styles/scss/icons.scss +79 -77
- package/styles/scss/notifications_channels_dialog.scss +1 -89
- package/styles/scss/poweredByGDLogo.scss +3 -3
- package/styles/scss/resizing.scss +13 -83
- package/styles/scss/sidebar.scss +4 -6
- package/esm/assets/flexible-layouts-tooltip.gif +0 -0
- package/esm/model/commandHandlers/layout/rowContainerSanitization.d.ts +0 -15
- package/esm/model/commandHandlers/layout/rowContainerSanitization.d.ts.map +0 -1
- package/esm/model/commandHandlers/layout/rowContainerSanitization.js +0 -82
- package/esm/model/commandHandlers/layout/rowContainerSanitization.js.map +0 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.d.ts +0 -8
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.js +0 -23
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts +0 -10
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js +0 -71
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsList.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.d.ts +0 -17
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.js +0 -100
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentsSelect.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFilters.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFilters.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFiltersList.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentFiltersList.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentItems.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentItems.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.d.ts +0 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.js +0 -10
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/AttachmentsWrapper.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.d.ts +0 -17
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.js +0 -47
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.d.ts +0 -20
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.js +0 -33
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.js.map +0 -1
- /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentFilters.d.ts +0 -0
- /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentFilters.js +0 -0
- /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentFiltersList.d.ts +0 -0
- /package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/{AttachmentsOld → Attachments}/AttachmentItems.js +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
2
|
+
import React from "react";
|
3
|
+
import classnames from "classnames";
|
4
|
+
export const Bullet = ({ isCurrent, isInitial, isLast, index }) => {
|
5
|
+
const bulletStyle = classnames("gd-resize-bullet", `s-resize-bullet-${index}`, {
|
6
|
+
"gd-resize-bullet--last": isLast,
|
7
|
+
});
|
8
|
+
return (React.createElement("div", { className: bulletStyle },
|
9
|
+
React.createElement("svg", { className: "gd-resize-bullet-icon" },
|
10
|
+
React.createElement("circle", { cx: "3", cy: "3", r: "3", className: classnames({
|
11
|
+
active: isCurrent,
|
12
|
+
initial: isInitial,
|
13
|
+
passive: !isCurrent && !isInitial,
|
14
|
+
}) }))));
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=Bullet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Bullet.js","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AASpC,MAAM,CAAC,MAAM,MAAM,GAA0B,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACrF,MAAM,WAAW,GAAG,UAAU,CAAC,kBAAkB,EAAE,mBAAmB,KAAK,EAAE,EAAE;QAC3E,wBAAwB,EAAE,MAAM;KACnC,CAAC,CAAC;IACH,OAAO,CACH,6BAAK,SAAS,EAAE,WAAW;QACvB,6BAAK,SAAS,EAAC,uBAAuB;YAClC,gCACI,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,EACN,CAAC,EAAC,GAAG,EACL,SAAS,EAAE,UAAU,CAAC;oBAClB,MAAM,EAAE,SAAS;oBACjB,OAAO,EAAE,SAAS;oBAClB,OAAO,EAAE,CAAC,SAAS,IAAI,CAAC,SAAS;iBACpC,CAAC,GACJ,CACA,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"BulletsBar.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAuC9B,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
2
|
+
import React from "react";
|
3
|
+
import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../../../_staging/dashboard/flexibleLayout/config.js";
|
4
|
+
import { useResizeWidthStatus } from "../../../../dragAndDrop/index.js";
|
5
|
+
import { Bullet } from "./Bullet.js";
|
6
|
+
export const BulletsBar = () => {
|
7
|
+
const widthResizingStatus = useResizeWidthStatus();
|
8
|
+
if (!widthResizingStatus.isResizingWidth) {
|
9
|
+
return null;
|
10
|
+
}
|
11
|
+
// CSS Grid: grid setup copies the main dashboard grid with 12 columns. Each column contains one bullet
|
12
|
+
// that marks the grid column start. The last bullet is rendered next to the grid in flex container and
|
13
|
+
// shifted via CSS to the left so, it is placed directly on the grid line. This could be done entirely
|
14
|
+
// in CSS, but we need to be able to style bullets based on state (current, initial).
|
15
|
+
return (React.createElement("div", { className: "gd-grid-layout__ruler" },
|
16
|
+
React.createElement("div", { className: "gd-grid-layout__container--root" }, [...Array(DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT)].map((_, index) => (React.createElement("div", { key: index, className: "gd-grid-layout__item--span-1" },
|
17
|
+
React.createElement(Bullet, { key: index, index: index, isInitial: widthResizingStatus.initialIndex === index, isCurrent: widthResizingStatus.currentIndex === index }),
|
18
|
+
index === DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT - 1 ? (React.createElement(Bullet, { index: DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, isInitial: widthResizingStatus.initialIndex === DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, isCurrent: widthResizingStatus.currentIndex === DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, isLast: true })) : null))))));
|
19
|
+
};
|
20
|
+
//# sourceMappingURL=BulletsBar.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"BulletsBar.js","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,mCAAmC,EAAE,MAAM,4DAA4D,CAAC;AACjH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAa,GAAG,EAAE;IACrC,MAAM,mBAAmB,GAAG,oBAAoB,EAAE,CAAC;IAEnD,IAAI,CAAC,mBAAmB,CAAC,eAAe,EAAE,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,uGAAuG;IACvG,uGAAuG;IACvG,sGAAsG;IACtG,qFAAqF;IACrF,OAAO,CACH,6BAAK,SAAS,EAAC,uBAAuB;QAClC,6BAAK,SAAS,EAAC,iCAAiC,IAC3C,CAAC,GAAG,KAAK,CAAC,mCAAmC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CAC/D,6BAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAC,8BAA8B;YACrD,oBAAC,MAAM,IACH,GAAG,EAAE,KAAK,EACV,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,mBAAmB,CAAC,YAAY,KAAK,KAAK,EACrD,SAAS,EAAE,mBAAmB,CAAC,YAAY,KAAK,KAAK,GACvD;YACD,KAAK,KAAK,mCAAmC,GAAG,CAAC,CAAC,CAAC,CAAC,CACjD,oBAAC,MAAM,IACH,KAAK,EAAE,mCAAmC,EAC1C,SAAS,EACL,mBAAmB,CAAC,YAAY,KAAK,mCAAmC,EAE5E,SAAS,EACL,mBAAmB,CAAC,YAAY,KAAK,mCAAmC,EAE5E,MAAM,EAAE,IAAI,GACd,CACL,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC,CACA,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeightResizerHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAW,UAAU,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAoB/E,OAAO,EACH,0BAA0B,EAC1B,6BAA6B,EAChC,MAAM,oEAAoE,CAAC;AAI5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAQvE,MAAM,MAAM,yBAAyB,GAAG;IACpC,OAAO,EAAE,6BAA6B,CAAC,uBAAuB,CAAC,CAAC;IAChE,KAAK,EAAE,0BAA0B,CAAC,uBAAuB,CAAC,EAAE,CAAC;IAC7D,mBAAmB,EAAE,MAAM,OAAO,CAAC;CACtC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,yBAAyB,
|
1
|
+
{"version":3,"file":"HeightResizerHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAW,UAAU,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAoB/E,OAAO,EACH,0BAA0B,EAC1B,6BAA6B,EAChC,MAAM,oEAAoE,CAAC;AAI5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAQvE,MAAM,MAAM,yBAAyB,GAAG;IACpC,OAAO,EAAE,6BAA6B,CAAC,uBAAuB,CAAC,CAAC;IAChE,KAAK,EAAE,0BAA0B,CAAC,uBAAuB,CAAC,EAAE,CAAC;IAC7D,mBAAmB,EAAE,MAAM,OAAO,CAAC;CACtC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,yBAAyB,qBAuHtG;AAED,wBAAgB,YAAY,CACxB,KAAK,EAAE,0BAA0B,CAAC,uBAAuB,CAAC,EAAE,EAC5D,UAAU,EAAE,SAAS,CAAC,QAAQ,CAAC,EAC/B,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,SAAS,YAWtB;AAED,wBAAgB,cAAc,CAC1B,aAAa,EAAE,MAAM,EAAE,EACvB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACjB,MAAM,CAKR"}
|
@@ -55,10 +55,9 @@ export function HeightResizerHotspot({ section, items, getLayoutDimensions }) {
|
|
55
55
|
resizeEnd();
|
56
56
|
},
|
57
57
|
}, [layoutItems, insightsMap, customWidgetsRestrictions.heightLimit, screen, settings]);
|
58
|
-
const isItemNested = !!section.index().parent;
|
59
58
|
useEffect(() => {
|
60
59
|
if (isDragging) {
|
61
|
-
resizeStart("height", widgetIdentifiers
|
60
|
+
resizeStart("height", widgetIdentifiers);
|
62
61
|
}
|
63
62
|
// eslint-disable-next-line react-hooks/exhaustive-deps -- we want to run this only when isDragging changes
|
64
63
|
}, [isDragging]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeightResizerHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,qBAAqB,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAC/F,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EACH,kBAAkB,EAClB,6BAA6B,EAC7B,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,uBAAuB,GAC1B,MAAM,uCAAuC,CAAC;AAK/C,OAAO,EAAE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AC,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;gBAC5D,uBAAuB;gBACvB,aAAa,EAAE,SAAS;gBACxB,QAAQ;gBACR,QAAQ;aACX,CAAC;QACN,CAAC;QACD,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE;YACvB,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;YAE/C,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;YACzD,MAAM,QAAQ,GAAG,YAAY,CACzB,WAAW,EACX,WAAW,EACX,MAAM,EACN,QAAQ,EACR,yBAAyB,CAAC,WAAW,CACxC,CAAC;YACF,MAAM,QAAQ,GAAG,YAAY,CAAC,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;YAC1E,MAAM,WAAW,GAAG,cAAc,CAC9B,aAAa,EACb,OAAO,CAAC,8BAA8B,EAAE,EAAE,CAAC,IAAI,CAAC,EAChD,gBAAgB,CAAC,CAAC,EAClB,QAAQ,EACR,QAAQ,CACX,CAAC;YAEF,QAAQ,CAAC,6BAA6B,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC;YAC/E,SAAS,EAAE,CAAC;QAChB,CAAC;KACJ,EAED,CAAC,WAAW,EAAE,WAAW,EAAE,yBAAyB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CACtF,CAAC;IAEF,
|
1
|
+
{"version":3,"file":"HeightResizerHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,qBAAqB,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAC/F,OAAO,OAAO,MAAM,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AACD,SAAS,2BAA2B,CAAC,KAA4C;IAC7E,MAAM,iBAAiB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAEpF,MAAM,WAAW,GAAG,iBAAiB,CAAC,MAAM,CAAS,CAAC,qBAAqB,EAAE,IAAI,EAAE,EAAE;QACjF,MAAM,EACF,EAAE,EAAE,EAAE,UAAU,GAAG,gCAAgC,CAAC,MAAM,CAAC,OAAO,EAAE,GACvE,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;QAE9B,OAAO,IAAI,CAAC,GAAG,CAAC,qBAAqB,EAAE,UAAU,CAAC,CAAC;IACvD,CAAC,EAAE,CAAC,CAAC,CAAC;IAEN,OAAO;QACH,iBAAiB,EAAE,iBAAiB,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM;QAC1D,WAAW,EAAE,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;KAC9D,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WidthResizerHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;
|
1
|
+
{"version":3,"file":"WidthResizerHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AAWpG,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;IAC1C,uBAAuB,EAAE,MAAM,MAAM,CAAC;IACtC,kBAAkB,EAAE,MAAM,MAAM,CAAC;IACjC,mBAAmB,EAAE,MAAM,OAAO,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAaF,wBAAgB,mBAAmB,CAAC,EAChC,IAAI,EACJ,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,QAAQ,GACX,EAAE,wBAAwB,4BAsG1B"}
|
@@ -11,7 +11,6 @@ import { useScreenSize } from "../../../dashboard/components/DashboardScreenSize
|
|
11
11
|
import { useHoveredWidget } from "../../../dragAndDrop/HoveredWidgetContext.js";
|
12
12
|
import { getLayoutConfiguration } from "../../../../_staging/dashboard/flexibleLayout/layoutConfiguration.js";
|
13
13
|
import { WidthResizer } from "./WidthResizer.js";
|
14
|
-
import { DASHBOARD_LAYOUT_GRID_SINGLE_COLUMN } from "../../../../_staging/dashboard/flexibleLayout/config.js";
|
15
14
|
const getItemOrParentDirection = (itemFacade, parentLayoutDirection) => {
|
16
15
|
const item = itemFacade.raw();
|
17
16
|
if (isDashboardLayout(item.widget)) {
|
@@ -37,7 +36,7 @@ export function WidthResizerHotspot({ item, getGridColumnWidth, getGridColumnHei
|
|
37
36
|
const onMouseEnter = () => setResizerVisibility(true);
|
38
37
|
const onMouseLeave = () => setResizerVisibility(false);
|
39
38
|
const layoutPath = item.index();
|
40
|
-
const currentWidth = item.sizeForScreen(screen)
|
39
|
+
const currentWidth = item.sizeForScreen(screen).gridWidth;
|
41
40
|
const minLimit = getMinWidth(widget, insightsMap, screen, settings, itemDirection);
|
42
41
|
const maxLimit = getDashboardLayoutItemMaxGridWidth(item, screen);
|
43
42
|
const [{ isDragging }, dragRef] = useDashboardDrag({
|
@@ -64,19 +63,18 @@ export function WidthResizerHotspot({ item, getGridColumnWidth, getGridColumnHei
|
|
64
63
|
setResizerVisibility(false);
|
65
64
|
},
|
66
65
|
}, [widget, insightsMap, layoutPath, currentWidth, minLimit, maxLimit, rowIndex]);
|
67
|
-
const isItemNested = layoutPath.length > 1;
|
68
66
|
useEffect(() => {
|
69
67
|
if (isDragging) {
|
70
|
-
resizeStart("width", [widgetIdentifier],
|
68
|
+
resizeStart("width", [widgetIdentifier], getLayoutDimensions);
|
71
69
|
}
|
72
70
|
else {
|
73
71
|
resizeEnd();
|
74
72
|
}
|
75
|
-
}, [
|
73
|
+
}, [isDragging]);
|
76
74
|
const isThisResizing = isWidthResizing && isActive;
|
77
75
|
const isColumnContainer = parentLayoutDirection === "column";
|
78
76
|
const showHotspot = (!isDragging || isWidthResizing || isResizerVisible) && !isColumnContainer;
|
79
|
-
const showResizer = isResizerVisible || isThisResizing
|
77
|
+
const showResizer = isResizerVisible || isThisResizing;
|
80
78
|
const status = isDragging ? "muted" : isHovered(widget.ref) ? "default" : "active";
|
81
79
|
if (!showHotspot) {
|
82
80
|
return null;
|
@@ -84,6 +82,7 @@ export function WidthResizerHotspot({ item, getGridColumnWidth, getGridColumnHei
|
|
84
82
|
return (React.createElement("div", { className: cx("dash-width-resizer-container", {
|
85
83
|
"gd-first-container-row-widget": rowIndex === 0,
|
86
84
|
}) },
|
85
|
+
status === "default" ? (React.createElement("div", { className: "dash-width-resizer-hotspot s-dash-width-resizer-hotspot" }, React.createElement(WidthResizer, { status: status }))) : null,
|
87
86
|
React.createElement("div", { className: "dash-width-resizer-hotspot s-dash-width-resizer-hotspot", onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, ref: dragRef }, showResizer ? React.createElement(WidthResizer, { status: status }) : null)));
|
88
87
|
}
|
89
88
|
//# sourceMappingURL=WidthResizerHotspot.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WidthResizerHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAW,iBAAiB,EAAsC,MAAM,qBAAqB,CAAC;AACrG,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EACH,2BAA2B,EAC3B,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,GACjB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,+CAA+C,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9G,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sEAAsE,CAAC;AAE9G,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
1
|
+
{"version":3,"file":"WidthResizerHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAW,iBAAiB,EAAsC,MAAM,qBAAqB,CAAC;AACrG,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EACH,2BAA2B,EAC3B,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,GACjB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,+CAA+C,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AC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEnF,IAAI,CAAC,WAAW,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,6BACI,SAAS,EAAE,EAAE,CAAC,8BAA8B,EAAE;YAC1C,+BAA+B,EAAE,QAAQ,KAAK,CAAC;SAClD,CAAC;QAED,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,CACpB,6BAAK,SAAS,EAAC,yDAAyD,IACnE,oBAAC,YAAY,IAAC,MAAM,EAAE,MAAM,GAAI,CAC/B,CACT,CAAC,CAAC,CAAC,IAAI;QACR,6BACI,SAAS,EAAC,yDAAyD,EACnE,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,GAAG,EAAE,OAAO,IAEX,WAAW,CAAC,CAAC,CAAC,oBAAC,YAAY,IAAC,MAAM,EAAE,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,CACpD,CACJ,CACT,CAAC;AACN,CAAC"}
|
package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js
CHANGED
@@ -30,7 +30,7 @@ export const DropZoneMessage = ({ canDrop = false }) => {
|
|
30
30
|
} })));
|
31
31
|
};
|
32
32
|
export const DefaultEmptyNestedLayoutDropZoneBody = () => {
|
33
|
-
return (React.createElement("div", { className: "drag-info-placeholder-box
|
33
|
+
return (React.createElement("div", { className: "drag-info-placeholder-box s-drag-info-placeholder-box" },
|
34
34
|
React.createElement(DropZoneMessage, null)));
|
35
35
|
};
|
36
36
|
export const EmptyNestedLayoutDropZone = () => {
|
package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EmptyNestedLayoutDropZone.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop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ACH,CACO,CAChB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAa,GAAG,EAAE;IAC/D,OAAO,CACH,6BAAK,SAAS,EAAC,
|
1
|
+
{"version":3,"file":"EmptyNestedLayoutDropZone.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAa,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kEAAkE,CAAC;AAC/G,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,MAAM,qBAAqB,GAAkD;IACzE,qBAAqB,EAAE,SAAS;IAChC,eAAe,EAAE,eAAe;IAChC,iBAAiB,EAAE,KAAK;IACxB,gBAAgB,EAAE,UAAU;IAC5B,6BAA6B,EAAE,uBAAuB;IACtD,uBAAuB,EAAE,iBAAiB;CAC7C,CAAC;AAEF,MAAM,QAAQ,GAAG,cAAc,CAAC;IAC5B,eAAe,EAAE;QACb,EAAE,EAAE,oCAAoC;KAC3C;IACD,qBAAqB,EAAE;QACnB,EAAE,EAAE,2CAA2C;KAClD;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,eAAe,GAAoC,CAAC,EAAE,OAAO,GAAG,KAAK,EAAE,EAAE,EAAE;IACpF,OAAO,CACH,oBAAC,UAAU,IAAC,OAAO,EAAC,GAAG,EAAC,SAAS,EAAC,qBAAqB;QACnD,oBAAC,gBAAgB,IACb,EAAE,EAAE,OAAO,CAAC,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AE,CAAC,6BAA6B,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,EACxF,GAAG,EAAE,OAAO;YAGZ,oBAAC,oCAAoC,OAAG;YACxC,6BAAK,SAAS,EAAC,uEAAuE;gBAClF,6BAAK,SAAS,EAAC,mBAAmB;oBAC9B,oBAAC,eAAe,IAAC,OAAO,EAAE,OAAO,GAAI,CACnC,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,14 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import {
|
3
|
-
import { ILayoutItemPath, DropZoneType } from "../../../../types.js";
|
2
|
+
import { ILayoutItemPath } from "../../../../types.js";
|
4
3
|
interface IHotspotProps {
|
5
4
|
layoutPath: ILayoutItemPath;
|
6
|
-
dropZoneType:
|
7
|
-
direction: IDashboardLayoutContainerDirection;
|
5
|
+
dropZoneType: "prev" | "next";
|
8
6
|
isEndingHotspot?: boolean;
|
9
|
-
|
10
|
-
|
11
|
-
isInFirstRow?: boolean;
|
7
|
+
classNames?: string;
|
8
|
+
hideBorder?: boolean;
|
12
9
|
}
|
13
10
|
export declare const Hotspot: React.FC<IHotspotProps>;
|
14
11
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Hotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkD,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Hotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAiBvE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAUvD,UAAU,aAAa;IACnB,UAAU,EAAE,eAAe,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyG3C,CAAC"}
|
@@ -1,22 +1,20 @@
|
|
1
1
|
// (C) 2022-2025 GoodData Corporation
|
2
2
|
import cx from "classnames";
|
3
3
|
import React, { useCallback, useEffect, useRef, useMemo } from "react";
|
4
|
-
import { bemFactory } from "@gooddata/sdk-ui-kit";
|
5
4
|
import { getDropZoneDebugStyle } from "../../../dragAndDrop/debug.js";
|
6
5
|
import { isDashboardLayoutDraggableItem, isInsightDraggableItem, isKpiDraggableItem, isRichTextDraggableItem, isVisualizationSwitcherDraggableItem, } from "../../../dragAndDrop/types.js";
|
7
6
|
import { useDashboardDrop } from "../../../dragAndDrop/index.js";
|
8
|
-
import { areLayoutPathsEqual, updateItem, getItemIndex, serializeLayoutItemPath, } from "../../../../_staging/layout/coordinates.js";
|
9
|
-
import { draggableWidgetDropHandler } from "../../../dragAndDrop/draggableWidget/draggableWidgetDropHandler.js";
|
10
7
|
import { useInsightListItemDropHandler } from "./useInsightListItemDropHandler.js";
|
11
8
|
import { useInsightPlaceholderDropHandler } from "./useInsightPlaceholderDropHandler.js";
|
12
9
|
import { useMoveWidgetDropHandler } from "./useMoveWidgetHandler.js";
|
13
10
|
import { useRichTextPlaceholderDropHandler } from "./useRichTextPlaceholderDropHandler.js";
|
14
11
|
import { useVisualizationSwitcherPlaceholderDropHandler } from "./useVisualizationSwitcherPlaceholderDropHandler.js";
|
15
12
|
import { useDashboardLayoutPlaceholderDropHandler } from "./useDashboardLayoutPlaceholderDropHandler.js";
|
13
|
+
import { areLayoutPathsEqual, updateItem, getItemIndex, serializeLayoutItemPath, } from "../../../../_staging/layout/coordinates.js";
|
14
|
+
import { draggableWidgetDropHandler } from "../../../dragAndDrop/draggableWidget/draggableWidgetDropHandler.js";
|
16
15
|
import { useWidgetDragHoverHandlers } from "./useWidgetDragHoverHandlers.js";
|
17
|
-
const { e: dropzoneBemElement, b: dropzoneBemBlock } = bemFactory("gd-grid-layout-dropzone");
|
18
16
|
export const Hotspot = (props) => {
|
19
|
-
const { layoutPath,
|
17
|
+
const { layoutPath, classNames, dropZoneType, isEndingHotspot, hideBorder = false } = props;
|
20
18
|
const isOverLastValue = useRef(false);
|
21
19
|
const currentItemIndex = getItemIndex(layoutPath);
|
22
20
|
// for "next" we need to add the item after the current index, for "prev" on the current one
|
@@ -65,29 +63,10 @@ export const Hotspot = (props) => {
|
|
65
63
|
]);
|
66
64
|
useEffect(() => {
|
67
65
|
if (isOver) {
|
68
|
-
|
69
|
-
// dropzone, otherwise it would render also on the previous row when there is a space on that
|
70
|
-
// row and the mouse is on the "prev" hotspot on the left most item of the row. However, the
|
71
|
-
// ending hotspot is registered as "prev" for insertion indexes being set up correctly. When
|
72
|
-
// a user would hover over the hotspot, "prev" would be reported by the handler below and the drop
|
73
|
-
// zone would be hidden. Therefore, we need to send "next" to satisfy the condition.
|
74
|
-
handleDragHoverStart(desiredDestination, isEndingHotspot ? "next" : dropZoneType);
|
66
|
+
handleDragHoverStart(desiredDestination);
|
75
67
|
isOverLastValue.current = isOver;
|
76
68
|
}
|
77
|
-
}, [isOver, desiredDestination, handleDragHoverStart
|
78
|
-
const [canBeDisplayed, setCanBeDisplayed] = React.useState(false);
|
79
|
-
const isDragging = !!item;
|
80
|
-
React.useEffect(() => {
|
81
|
-
// There is a bug in Chrome that calls dragstop immediately after dragstart unless we defer the visibility
|
82
|
-
// of the hotspot to setTimeout. Chrome doesn't like a new element suddenly appearing under the mouse cursor
|
83
|
-
// immediately when dragging starts and just aborts the whole thing.
|
84
|
-
const timeout = setTimeout(() => {
|
85
|
-
setCanBeDisplayed(isDragging);
|
86
|
-
}, 0);
|
87
|
-
return () => {
|
88
|
-
clearTimeout(timeout);
|
89
|
-
};
|
90
|
-
}, [isDragging]);
|
69
|
+
}, [isOver, desiredDestination, handleDragHoverStart]);
|
91
70
|
const debugStyle = getDropZoneDebugStyle({ isOver });
|
92
71
|
const canDropSafe = useCallback((item) => {
|
93
72
|
if (!item) {
|
@@ -102,18 +81,21 @@ export const Hotspot = (props) => {
|
|
102
81
|
}
|
103
82
|
return true;
|
104
83
|
}, [isEndingHotspot, layoutPath]);
|
105
|
-
return (React.createElement("div", { className: cx(
|
106
|
-
|
107
|
-
type: dropZoneType,
|
108
|
-
active: isOver,
|
84
|
+
return (React.createElement("div", { className: cx(classNames, "dropzone", dropZoneType, {
|
85
|
+
hidden: !canDrop || !canDropSafe(item),
|
109
86
|
full: isEndingHotspot,
|
110
|
-
|
111
|
-
isInFirstRow,
|
112
|
-
isOverNestedLayout,
|
113
|
-
}), `s-dropzone-${dropZoneType}`, {
|
87
|
+
active: isOver,
|
114
88
|
[`s-dropzone-${serializeLayoutItemPath(layoutPath)}`]: !!layoutPath,
|
115
|
-
}), style: debugStyle, ref: dropRef },
|
116
|
-
|
117
|
-
|
89
|
+
}), style: debugStyle, ref: dropRef }, hideBorder ? null : React.createElement(HotspotBorder, null)));
|
90
|
+
};
|
91
|
+
/**
|
92
|
+
* A functional component that render hotspot border as dropzone
|
93
|
+
* @returns A JSX element representing the hotspot border.
|
94
|
+
*/
|
95
|
+
const HotspotBorder = () => {
|
96
|
+
const status = "active";
|
97
|
+
return (React.createElement("div", { className: "gd-hotspot-border__container" },
|
98
|
+
React.createElement("div", { className: `gd-hotspot-border__drop-target ${status}` },
|
99
|
+
React.createElement("div", { className: "drop-target-inner" }))));
|
118
100
|
};
|
119
101
|
//# sourceMappingURL=Hotspot.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Hotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"Hotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EACH,8BAA8B,EAC9B,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,oCAAoC,GACvC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,8CAA8C,EAAE,MAAM,qDAAqD,CAAC;AACrH,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AAEzG,OAAO,EACH,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,uBAAuB,GAC1B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,oEAAoE,CAAC;AAChH,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAU7E,MAAM,CAAC,MAAM,OAAO,GAA4B,CAAC,KAAK,EAAE,EAAE;IACtD,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAA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D,MAAM,EAAE,CAAC,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;YACtC,IAAI,EAAE,eAAe;YACrB,MAAM,EAAE,MAAM;YACd,CAAC,cAAc,uBAAuB,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,UAAU;SACtE,CAAC,EACF,KAAK,EAAE,UAAU,EACjB,GAAG,EAAE,OAAO,IAEX,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,aAAa,OAAG,CACpC,CACT,CAAC;AACN,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,aAAa,GAAa,GAAG,EAAE;IACjC,MAAM,MAAM,GAAG,QAAQ,CAAC;IACxB,OAAO,CACH,6BAAK,SAAS,EAAC,8BAA8B;QACzC,6BAAK,SAAS,EAAE,kCAAkC,MAAM,EAAE;YACtD,6BAAK,SAAS,EAAC,mBAAmB,GAAG,CACnC,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,16 +1,13 @@
|
|
1
1
|
import { IDashboardWidget } from "@gooddata/sdk-model";
|
2
2
|
import React from "react";
|
3
|
-
import { ExtendedDashboardWidget } from "../../../../model/index.js";
|
4
3
|
import { IDashboardLayoutItemFacade } from "../../../../_staging/dashboard/flexibleLayout/index.js";
|
5
|
-
export declare const useShouldShowRowEndHotspot: (item: IDashboardLayoutItemFacade<
|
4
|
+
export declare const useShouldShowRowEndHotspot: (item: IDashboardLayoutItemFacade<unknown>, rowIndex: number) => {
|
6
5
|
enableRowEndHotspot: boolean;
|
7
|
-
|
8
|
-
gridHeight: number;
|
9
|
-
hideDropzoneText: boolean;
|
6
|
+
remainingRowGridWidth: number;
|
10
7
|
};
|
11
8
|
export type RowEndHotspotProps<TWidget = IDashboardWidget> = {
|
12
9
|
item: IDashboardLayoutItemFacade<TWidget>;
|
13
10
|
rowIndex: number;
|
14
11
|
};
|
15
|
-
export declare const RowEndHotspot: ({ item, rowIndex }: RowEndHotspotProps<
|
12
|
+
export declare const RowEndHotspot: ({ item, rowIndex }: RowEndHotspotProps<unknown>) => React.JSX.Element | null;
|
16
13
|
//# sourceMappingURL=RowEndHotspot.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RowEndHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"RowEndHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EACH,0BAA0B,EAE7B,MAAM,wDAAwD,CAAC;AAUhE,eAAO,MAAM,0BAA0B,SAAU,2BAA2B,OAAO,CAAC,YAAY,MAAM;;;CAoBrG,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,OAAO,GAAG,gBAAgB,IAAI;IACzD,IAAI,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;IAC1C,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,uBAAwB,mBAAmB,OAAO,CAAC,6BAqD5E,CAAC"}
|
@@ -1,81 +1,52 @@
|
|
1
1
|
import cx from "classnames";
|
2
2
|
import React, { useMemo } from "react";
|
3
|
-
import { isCustomWidget
|
3
|
+
import { isCustomWidget } from "../../../../model/index.js";
|
4
4
|
import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, } from "../../../../_staging/dashboard/flexibleLayout/index.js";
|
5
5
|
import { updateItem } from "../../../../_staging/layout/coordinates.js";
|
6
6
|
import { useScreenSize } from "../../../dashboard/components/DashboardScreenSizeContext.js";
|
7
7
|
import { GridLayoutElement } from "../../DefaultDashboardLayoutRenderer/GridLayoutElement.js";
|
8
|
-
import { getRemainingWidthInRow
|
8
|
+
import { getRemainingWidthInRow } from "../../rowEndHotspotHelper.js";
|
9
9
|
import { getLayoutConfiguration } from "../../../../_staging/dashboard/flexibleLayout/layoutConfiguration.js";
|
10
|
-
import { getDashboardLayoutItemHeight } from "../../../../_staging/layout/sizing.js";
|
11
|
-
import { useDashboardItemPathAndSize } from "../../../dashboard/components/DashboardItemPathAndSizeContext.js";
|
12
10
|
import { WidgetDropZoneColumn } from "./WidgetDropZoneColumn.js";
|
13
11
|
import { Hotspot } from "./Hotspot.js";
|
14
|
-
const MINIMUM_DROPZONE_WIDTH_TO_RENDER_TEXT = 2;
|
15
|
-
const MINIMUM_DROPZONE_HEIGHT_TO_RENDER_TEXT = 7;
|
16
12
|
export const useShouldShowRowEndHotspot = (item, rowIndex) => {
|
17
13
|
const screen = useScreenSize();
|
18
|
-
const
|
19
|
-
const { layoutItem: parentLayoutItem } = useDashboardItemPathAndSize();
|
14
|
+
const remainingRowGridWidth = useMemo(() => (isCustomWidget(item.widget()) ? 0 : getRemainingWidthInRow(item, screen, rowIndex)), [item, screen, rowIndex]);
|
20
15
|
const { direction } = getLayoutConfiguration(item.section().layout().raw());
|
21
|
-
const
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
};
|
33
|
-
}
|
34
|
-
else {
|
35
|
-
const remainingGridWidthInRow = isCustomWidget(item.widget())
|
36
|
-
? 0
|
37
|
-
: getRemainingWidthInRow(item, screen, rowIndex, draggedItem?.layoutPath);
|
38
|
-
const rowGridHeight = item.size()[screen]?.gridHeight ?? 0;
|
39
|
-
return {
|
40
|
-
enableRowEndHotspot: item.isLastInRow(screen) && remainingGridWidthInRow > 0,
|
41
|
-
gridWidth: remainingGridWidthInRow,
|
42
|
-
gridHeight: rowGridHeight,
|
43
|
-
hideDropzoneText: remainingGridWidthInRow < MINIMUM_DROPZONE_WIDTH_TO_RENDER_TEXT,
|
44
|
-
};
|
45
|
-
}
|
16
|
+
const showEndingHotspot = item.isLastInSection() || item.isLastInRow(screen);
|
17
|
+
const isColumnContainer = direction === "column";
|
18
|
+
const isLastInColumn = isColumnContainer && item.isLastInSection();
|
19
|
+
const isDropZoneVisible = remainingRowGridWidth > 0;
|
20
|
+
const hotZoneWidth = isColumnContainer
|
21
|
+
? item.section().layout().size()?.gridWidth ?? DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT
|
22
|
+
: remainingRowGridWidth;
|
23
|
+
return {
|
24
|
+
enableRowEndHotspot: isLastInColumn || (showEndingHotspot && isDropZoneVisible),
|
25
|
+
remainingRowGridWidth: hotZoneWidth,
|
26
|
+
};
|
46
27
|
};
|
47
28
|
export const RowEndHotspot = ({ item, rowIndex }) => {
|
48
|
-
const { enableRowEndHotspot,
|
29
|
+
const { enableRowEndHotspot, remainingRowGridWidth } = useShouldShowRowEndHotspot(item, rowIndex);
|
49
30
|
const { direction } = getLayoutConfiguration(item.section().layout().raw());
|
50
|
-
const layoutItemSize = useMemo(() => {
|
51
|
-
const gridHeightProp = gridHeight > 0 ? { gridHeight: gridHeight } : {};
|
52
|
-
return {
|
53
|
-
xl: {
|
54
|
-
gridWidth,
|
55
|
-
...gridHeightProp,
|
56
|
-
},
|
57
|
-
};
|
58
|
-
}, [gridWidth, gridHeight]);
|
59
|
-
const layoutPathForEndHotspot = useMemo(() => {
|
60
|
-
const layoutPath = item.index();
|
61
|
-
return updateItem(layoutPath, layoutPath[layoutPath.length - 1].sectionIndex, layoutPath[layoutPath.length - 1].itemIndex + 1); // increment item index manually as end hotspot is rendered as prev type
|
62
|
-
}, [item]);
|
63
|
-
const style = useMemo(() => {
|
64
|
-
const computedHeight = getDashboardLayoutItemHeight(layoutItemSize.xl);
|
65
|
-
return computedHeight === undefined ? {} : { height: computedHeight };
|
66
|
-
}, [layoutItemSize]);
|
67
31
|
if (!enableRowEndHotspot) {
|
68
32
|
return null;
|
69
33
|
}
|
34
|
+
const layoutPath = item.index();
|
35
|
+
const layoutPathForEndHotspot = updateItem(layoutPath, layoutPath[layoutPath.length - 1].sectionIndex, layoutPath[layoutPath.length - 1].itemIndex + 1); // increment item index manually as end hotspot is rendered as prev type
|
70
36
|
return (React.createElement(React.Fragment, null,
|
71
|
-
React.createElement(GridLayoutElement, { type: "item", layoutItemSize:
|
72
|
-
|
37
|
+
React.createElement(GridLayoutElement, { type: "item", layoutItemSize: {
|
38
|
+
xl: { gridWidth: remainingRowGridWidth },
|
39
|
+
lg: { gridWidth: remainingRowGridWidth },
|
40
|
+
md: { gridWidth: remainingRowGridWidth },
|
41
|
+
sm: { gridWidth: remainingRowGridWidth },
|
42
|
+
xs: { gridWidth: remainingRowGridWidth },
|
43
|
+
}, className: cx("gd-fluidlayout-column", "gd-fluidlayout-column-dropzone", "s-fluid-layout-column", "gd-fluidlayout-column-row-end-hotspot", {
|
44
|
+
"gd-fluidlayout-column-dropzone__text--hidden": remainingRowGridWidth < 2,
|
73
45
|
"gd-first-container-row-dropzone": rowIndex === 0,
|
74
|
-
"gd-fluidlayout-column-row-end-hotspot--
|
75
|
-
"gd-fluidlayout-column-row-end-hotspot--
|
76
|
-
|
77
|
-
|
78
|
-
React.createElement(
|
79
|
-
React.createElement(Hotspot, { dropZoneType: "prev", direction: direction, layoutPath: layoutPathForEndHotspot, isEndingHotspot: true, hideDropTarget: true }))));
|
46
|
+
"gd-fluidlayout-column-row-end-hotspot--row": direction === "row",
|
47
|
+
"gd-fluidlayout-column-row-end-hotspot--column": direction === "column",
|
48
|
+
}) },
|
49
|
+
React.createElement(WidgetDropZoneColumn, { layoutPath: layoutPathForEndHotspot, gridWidthOverride: remainingRowGridWidth, isLastInSection: true }),
|
50
|
+
React.createElement(Hotspot, { dropZoneType: "prev", layoutPath: layoutPathForEndHotspot, isEndingHotspot: true, hideBorder: true }))));
|
80
51
|
};
|
81
52
|
//# sourceMappingURL=RowEndHotspot.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RowEndHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,
|
1
|
+
{"version":3,"file":"RowEndHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAEH,mCAAmC,GACtC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAC5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAC9F,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sEAAsE,CAAC;AAE9G,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,IAAyC,EAAE,QAAgB,EAAE,EAAE;IACtG,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,qBAAqB,GAAG,OAAO,CACjC,GAAG,EAAE,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CA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type WidgetDropZoneColumnProps = {
|
|
4
4
|
layoutPath: ILayoutItemPath;
|
5
5
|
isLastInSection?: boolean;
|
6
6
|
gridWidthOverride?: number;
|
7
|
-
gridHeightOverride?: number;
|
8
7
|
};
|
9
|
-
export declare const WidgetDropZoneColumn: ({ layoutPath, isLastInSection, gridWidthOverride,
|
8
|
+
export declare const WidgetDropZoneColumn: ({ layoutPath, isLastInSection, gridWidthOverride, }: WidgetDropZoneColumnProps) => React.JSX.Element | null;
|
10
9
|
//# sourceMappingURL=WidgetDropZoneColumn.d.ts.map
|
package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WidgetDropZoneColumn.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WidgetDropZoneColumn.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAevC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAKvD,MAAM,MAAM,yBAAyB,GAAG;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,oBAAoB,wDAI9B,yBAAyB,6BAmF3B,CAAC"}
|