@gooddata/sdk-ui-dashboard 10.35.0-alpha.9 → 10.36.0-alpha.1
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 +2207 -1777
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/accessibility/elementId.d.ts.map +1 -1
- package/esm/_staging/automation/index.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterContext.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterContext.js +2 -2
- package/esm/_staging/dashboard/dashboardFilterContext.js.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.js +2 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.js.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/layoutConfiguration.d.ts.map +1 -1
- package/esm/_staging/dateFilterConfig/dateFilterOptionConverters.d.ts.map +1 -1
- package/esm/_staging/dateFilterConfig/dateFilterOptionConverters.js +2 -1
- package/esm/_staging/dateFilterConfig/dateFilterOptionConverters.js.map +1 -1
- package/esm/_staging/dateFilterConfig/dateFilterOptionMapping.d.ts.map +1 -1
- package/esm/_staging/dateFilterConfig/dateFilterOptionMapping.js +33 -7
- package/esm/_staging/dateFilterConfig/dateFilterOptionMapping.js.map +1 -1
- package/esm/_staging/dateFilterConfig/defaultConfig.d.ts.map +1 -1
- package/esm/_staging/dateFilterConfig/defaultConfig.js +2 -3
- package/esm/_staging/dateFilterConfig/defaultConfig.js.map +1 -1
- package/esm/_staging/dateFilterConfig/sanitization.d.ts +2 -1
- package/esm/_staging/dateFilterConfig/sanitization.d.ts.map +1 -1
- package/esm/_staging/insight/insightBuilder.d.ts.map +1 -1
- package/esm/_staging/layout/coordinates.d.ts.map +1 -1
- package/esm/_staging/layout/coordinates.js +1 -1
- package/esm/_staging/layout/coordinates.js.map +1 -1
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +5 -5
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/_staging/listedDashboard/listedDashboardUtils.d.ts.map +1 -1
- package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useCommonDateFilterTitle.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useDateFiltersTitles.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useDateFiltersTitles.js +1 -1
- package/esm/_staging/sharedHooks/useDateFiltersTitles.js.map +1 -1
- package/esm/_staging/sharedHooks/useEventToastMessage.d.ts +1 -1
- package/esm/_staging/sharedHooks/useEventToastMessage.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useEventToastMessage.js +1 -1
- package/esm/_staging/sharedHooks/useEventToastMessage.js.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts +2 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.js +1 -0
- package/esm/_staging/sharedHooks/useFiltersNamings.js.map +1 -1
- package/esm/_staging/slideshow/utils/index.d.ts.map +1 -1
- package/esm/converters/filterConverters.d.ts.map +1 -1
- package/esm/converters/filterConverters.js +2 -2
- package/esm/converters/filterConverters.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeSharingHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeSharingHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +2 -2
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/deleteDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/deleteDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +14 -4
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/sanitizeUnfinishedFeatureSettings.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +4 -3
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.js +3 -3
- package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +3 -3
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +7 -6
- package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/moveAttributeFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/moveAttributeFilterHandler.js +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/moveAttributeFilterHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +6 -0
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/addDateFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/addDateFilterHandler.js +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/addDateFilterHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +5 -4
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/moveDateFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/moveDateFilterHandler.js +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/moveDateFilterHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +5 -8
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js +2 -2
- package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/containerWidthSanitization.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
- package/esm/model/commandHandlers/render/renderingWorker.d.ts.map +1 -1
- package/esm/model/commandHandlers/renderMode/changeRenderModeHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/renderMode/changeRenderModeHandler.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.js.map +1 -1
- package/esm/model/commandHandlers/widgets/changeKpiWidgetComparisonHandler.js +1 -1
- package/esm/model/commandHandlers/widgets/changeKpiWidgetComparisonHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/changeKpiWidgetMeasureHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/changeKpiWidgetMeasureHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/common/drillDown.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js.map +1 -1
- package/esm/model/commands/filters.d.ts +15 -4
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +11 -5
- package/esm/model/commands/filters.js.map +1 -1
- package/esm/model/eventHandlers/drillToSameDashboardHandlerFactory.d.ts.map +1 -1
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/util.d.ts +1 -1
- package/esm/model/events/util.d.ts.map +1 -1
- package/esm/model/headlessDashboard/HeadlessDashboard.d.ts.map +1 -1
- package/esm/model/queryServices/queryAttributeByDisplayForm.js.map +1 -1
- package/esm/model/queryServices/queryInsightDateDatasets.js.map +1 -1
- package/esm/model/queryServices/queryMeasureDateDatasets.js.map +1 -1
- package/esm/model/react/filtering/selectors.d.ts.map +1 -1
- package/esm/model/react/filtering/useDashboardScheduledExportFilters.d.ts.map +1 -1
- package/esm/model/react/filtering/useScheduledExportFilters.d.ts.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts +9 -9
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsData.d.ts.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.d.ts +0 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.d.ts.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts.map +1 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlerts.d.ts +4 -4
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsData.d.ts.map +1 -1
- package/esm/model/react/useDashboardAlerting/useEnableAutomationFilterContext.d.ts.map +1 -1
- package/esm/model/react/useDashboardAsyncRender.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +3 -136
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +6 -414
- package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
- package/esm/model/react/useDashboardEventDispatch.d.ts +1 -1
- package/esm/model/react/useDashboardEventDispatch.d.ts.map +1 -1
- package/esm/model/react/useDashboardQueryProcessing.d.ts +4 -4
- package/esm/model/react/useDashboardQueryProcessing.d.ts.map +1 -1
- package/esm/model/react/useDispatchDashboardCommand.d.ts +1 -1
- package/esm/model/react/useDispatchDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/store/_infra/generators.d.ts.map +1 -1
- package/esm/model/store/_infra/rootCommandHandler.d.ts.map +1 -1
- package/esm/model/store/_infra/rootCommandHandler.js.map +1 -1
- package/esm/model/store/_infra/rootEventEmitter.d.ts +1 -1
- package/esm/model/store/_infra/rootEventEmitter.d.ts.map +1 -1
- package/esm/model/store/_infra/selectors.d.ts.map +1 -1
- package/esm/model/store/_infra/undoEnhancer.d.ts +3 -6
- package/esm/model/store/_infra/undoEnhancer.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +5 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +7 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/dateFilterConfig/index.d.ts +1 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts +3 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.js +21 -3
- package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.d.ts +19 -0
- package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.js +36 -0
- package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextState.d.ts +6 -0
- package/esm/model/store/filterContext/filterContextState.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextState.js +1 -0
- package/esm/model/store/filterContext/filterContextState.js.map +1 -1
- package/esm/model/store/filterContext/filterContextUtils.js +1 -1
- package/esm/model/store/filterContext/filterContextUtils.js.map +1 -1
- package/esm/model/store/filterContext/index.d.ts +3 -3
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js +2 -2
- package/esm/model/store/filterViews/filterViewsReducersSelectors.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/insightsSelectors.d.ts.map +1 -1
- package/esm/model/store/insights/insightsSelectors.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +14 -14
- package/esm/model/store/layout/layoutReducers.d.ts +2 -5
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/meta/index.d.ts +2 -2
- package/esm/model/store/showWidgetAsTable/showWidgetAsTableSelectors.d.ts.map +1 -1
- package/esm/model/store/storeAccessors/DashboardStoreAccessor.d.ts.map +1 -1
- package/esm/model/store/ui/index.d.ts +4 -4
- package/esm/model/store/ui/uiReducers.d.ts +4 -4
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +2 -2
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/plugins/customizationApis/attributeFiltersCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
- package/esm/plugins/customizationApis/customizationLogging.d.ts.map +1 -1
- package/esm/plugins/customizationApis/dashboardContentCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/dashboardEventHandling.d.ts +2 -2
- package/esm/plugins/customizationApis/dashboardEventHandling.d.ts.map +1 -1
- package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/filterBarCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/filterBarCustomizer.js.map +1 -1
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/insightCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/layoutCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/loadingCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/richTextCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/titleCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/topBarCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/visualizationSwitcherCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/widgetCustomizer.d.ts.map +1 -1
- package/esm/presentation/alerting/AlertingDialog.d.ts +0 -1
- package/esm/presentation/alerting/AlertingDialog.d.ts.map +1 -1
- package/esm/presentation/alerting/AlertingManagementDialog.d.ts +0 -1
- package/esm/presentation/alerting/AlertingManagementDialog.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertAttributeSelectOld.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/hooks/useCreateAlert.d.ts +4 -4
- package/esm/presentation/alerting/DefaultAlertingDialog/hooks/useCreateAlert.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts +2 -3
- package/esm/presentation/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/hooks/useThresholdValue.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/hooks/useUpdateAlert.d.ts +4 -4
- package/esm/presentation/alerting/DefaultAlertingDialog/hooks/useUpdateAlert.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/getters.d.ts +3 -3
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/getters.js +2 -2
- package/esm/presentation/alerting/DefaultAlertingDialog/utils/getters.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationAttributeFilterContext.d.ts.map +1 -1
- package/esm/presentation/automationFilters/hooks/useAutomationVisibleFilters.d.ts.map +1 -1
- package/esm/presentation/automationFilters/useAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automationFilters/useAutomationFiltersSelect.d.ts +2 -2
- package/esm/presentation/automationFilters/useAutomationFiltersSelect.d.ts.map +1 -1
- package/esm/presentation/automationFilters/utils.d.ts.map +1 -1
- package/esm/presentation/constants.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardContent.d.ts +0 -1
- package/esm/presentation/dashboard/DashboardContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts +0 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/SettingsDialogProvider.d.ts +0 -1
- package/esm/presentation/dashboard/DashboardHeader/SettingsDialogProvider.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/ShareDialogDashboardHeader.d.ts +0 -1
- package/esm/presentation/dashboard/DashboardHeader/ShareDialogDashboardHeader.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DashboardSidebar.d.ts +0 -1
- package/esm/presentation/dashboard/DashboardSidebar/DashboardSidebar.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/defaultDashboardThemeModifier.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardList/DashboardListItem.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/DashboardSettingsDialog.d.ts +0 -1
- package/esm/presentation/dashboardSettingsDialog/DashboardSettingsDialog.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.d.ts +0 -1
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/useDialogData.d.ts +0 -1
- package/esm/presentation/dashboardSettingsDialog/useDialogData.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/DefaultDeleteDialog.d.ts +0 -1
- package/esm/presentation/deleteDialog/DefaultDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/DeleteDialog.d.ts +0 -1
- package/esm/presentation/deleteDialog/DeleteDialog.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DraggableAttributeFilter.js +3 -3
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DraggableAttributeFilter.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js +3 -3
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js.map +1 -1
- package/esm/presentation/dragAndDrop/useCurrentDateFilterConfig.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useDashboardDrag.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useDashboardDrop.d.ts +7 -1
- package/esm/presentation/dragAndDrop/useDashboardDrop.d.ts.map +1 -1
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/DisplayFormParam.js +2 -2
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/DisplayFormParam.js.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +6 -6
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js.map +1 -1
- package/esm/presentation/drill/DrillSelect/WithDrillSelect.d.ts +0 -1
- package/esm/presentation/drill/DrillSelect/WithDrillSelect.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useCrossFiltering.d.ts +1 -1
- package/esm/presentation/drill/hooks/useCrossFiltering.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrill.d.ts +1 -1
- package/esm/presentation/drill/hooks/useDrill.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillDown.d.ts +1 -1
- package/esm/presentation/drill/hooks/useDrillDown.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillToAttributeUrl.d.ts +1 -1
- package/esm/presentation/drill/hooks/useDrillToAttributeUrl.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillToCustomUrl.d.ts +1 -1
- package/esm/presentation/drill/hooks/useDrillToCustomUrl.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillToDashboard.d.ts +1 -1
- package/esm/presentation/drill/hooks/useDrillToDashboard.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillToInsight.d.ts +1 -1
- package/esm/presentation/drill/hooks/useDrillToInsight.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillToLegacyDashboard.d.ts +1 -1
- package/esm/presentation/drill/hooks/useDrillToLegacyDashboard.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrills.d.ts +8 -8
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts.map +1 -1
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +17 -10
- package/esm/presentation/export/hooks/useDashboardRelatedFilters.js.map +1 -1
- package/esm/presentation/export/hooks/useMinimalSizeValidation.d.ts +0 -1
- package/esm/presentation/export/hooks/useMinimalSizeValidation.d.ts.map +1 -1
- package/esm/presentation/export/useExportData.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/CustomDropdownActions.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/CustomDropdownActions.js +3 -5
- package/esm/presentation/filterBar/attributeFilter/CustomDropdownActions.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts +0 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +38 -16
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/HiddenDashboardAttributeFilter.d.ts +0 -1
- package/esm/presentation/filterBar/attributeFilter/HiddenDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/addAttributeFilterUtils.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useLimitingItemsConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useSelectionModeConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useValidNeighbourAttributes.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/telemetryUtils.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/types.d.ts +2 -1
- package/esm/presentation/filterBar/attributeFilter/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +4 -7
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +3 -4
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js.map +1 -1
- package/esm/presentation/filterBar/configuration/ConfigurationModeSelectItem.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts +0 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +4 -5
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js.map +1 -1
- package/esm/presentation/filterBar/dateFilter/HiddenDashboardDateFilter.d.ts +0 -1
- package/esm/presentation/filterBar/dateFilter/HiddenDashboardDateFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/useDateFilterConfig.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts +0 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +18 -20
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +42 -21
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/FilterBar.d.ts +0 -1
- package/esm/presentation/filterBar/filterBar/FilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/HiddenFilterBar.d.ts +0 -1
- package/esm/presentation/filterBar/filterBar/HiddenFilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +3 -3
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useFilterBarState.d.ts +0 -1
- package/esm/presentation/filterBar/filterBar/hooks/useFilterBarState.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useFilterBarState.js +3 -3
- package/esm/presentation/filterBar/filterBar/hooks/useFilterBarState.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +27 -10
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js.map +1 -1
- package/esm/presentation/filterBar/utils.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.d.ts +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts +0 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.d.ts +0 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts +0 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useUpdateWidgetDefaultSizeByParent.d.ts +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useUpdateWidgetDefaultSizeByParent.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -1
- package/esm/presentation/insightList/types.d.ts +0 -1
- package/esm/presentation/insightList/types.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.d.ts +0 -1
- package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/KpiDeleteDialog.d.ts +0 -1
- package/esm/presentation/kpiDeleteDialog/KpiDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardLayout.d.ts +0 -1
- package/esm/presentation/layout/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.d.ts +0 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutUtils.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutUtils.d.ts.map +1 -1
- package/esm/presentation/layout/EmptyDashboardLayout.d.ts +0 -1
- package/esm/presentation/layout/EmptyDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +4 -4
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.json +4 -4
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.json +4 -4
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +690 -1536
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +34 -66
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +34 -66
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/es-419.json +4 -4
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.json +4 -4
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.json +4 -4
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.json +4 -4
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.json +4 -4
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.json +4 -4
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.json +4 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.json +4 -4
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.json +4 -4
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.json +4 -4
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.json +4 -4
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.json +4 -4
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.json +4 -4
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.json +4 -4
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.json +4 -4
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.json +4 -4
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.json +4 -4
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +4 -4
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/SaveAsDialogRenderer.d.ts.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/index.d.ts +0 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/index.d.ts.map +1 -1
- package/esm/presentation/saveAs/DefaultSaveAsDialog/useSaveAs.d.ts.map +1 -1
- package/esm/presentation/saveAs/SaveAsDialog.d.ts +0 -1
- package/esm/presentation/saveAs/SaveAsDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/DashboardAttachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/AttachmentsOld/WidgetAttachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.d.ts +4 -4
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.d.ts +4 -4
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/ScheduledEmailDialog.d.ts +0 -1
- package/esm/presentation/scheduledEmail/ScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/ScheduledEmailManagementDialog.d.ts +0 -1
- package/esm/presentation/scheduledEmail/ScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/utils/date.d.ts.map +1 -1
- package/esm/presentation/shareDialog/DefaultShareDialog.d.ts +0 -1
- package/esm/presentation/shareDialog/DefaultShareDialog.d.ts.map +1 -1
- package/esm/presentation/shareDialog/ShareDialog.d.ts +0 -1
- package/esm/presentation/shareDialog/ShareDialog.d.ts.map +1 -1
- package/esm/presentation/toolbar/Toolbar.d.ts +0 -1
- package/esm/presentation/toolbar/Toolbar.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/ButtonBar.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/ButtonBar.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/HiddenButtonBar.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/HiddenButtonBar.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/cancelButton/CancelButton.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/button/cancelButton/CancelButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/EditButton.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/button/editButton/EditButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/SaveAsNewButton.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/button/saveAsButton/SaveAsNewButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/saveButton/SaveButton.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/button/saveButton/SaveButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/settingButton/SettingButton.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/button/settingButton/SettingButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/HiddenShareButton.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/HiddenShareButton.d.ts.map +1 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/ShareButton.d.ts +0 -1
- package/esm/presentation/topBar/buttonBar/button/shareButton/ShareButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts +0 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/HiddenMenuButton.d.ts +0 -1
- package/esm/presentation/topBar/menuButton/HiddenMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/MenuButton.d.ts +0 -1
- package/esm/presentation/topBar/menuButton/MenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.d.ts.map +1 -1
- package/esm/presentation/topBar/shareIndicators/lockedStatus/LockedStatusIndicator.d.ts +0 -1
- package/esm/presentation/topBar/shareIndicators/lockedStatus/LockedStatusIndicator.d.ts.map +1 -1
- package/esm/presentation/topBar/shareIndicators/shareStatus/ShareStatusIndicator.d.ts +0 -1
- package/esm/presentation/topBar/shareIndicators/shareStatus/ShareStatusIndicator.d.ts.map +1 -1
- package/esm/presentation/topBar/title/HiddenTitle.d.ts +0 -1
- package/esm/presentation/topBar/title/HiddenTitle.d.ts.map +1 -1
- package/esm/presentation/topBar/title/Title.d.ts +0 -1
- package/esm/presentation/topBar/title/Title.d.ts.map +1 -1
- package/esm/presentation/topBar/topBar/DefaultTopBar.d.ts +0 -1
- package/esm/presentation/topBar/topBar/DefaultTopBar.d.ts.map +1 -1
- package/esm/presentation/topBar/topBar/HiddenTopBar.d.ts +0 -1
- package/esm/presentation/topBar/topBar/HiddenTopBar.d.ts.map +1 -1
- package/esm/presentation/topBar/topBar/TopBar.d.ts +0 -1
- package/esm/presentation/topBar/topBar/TopBar.d.ts.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
- package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts +3 -3
- package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts.map +1 -1
- package/esm/presentation/widget/common/useWidgetHighlighting.d.ts +0 -1
- package/esm/presentation/widget/common/useWidgetHighlighting.d.ts.map +1 -1
- package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts +0 -1
- package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/widget/dashboardLayout/DefaultDashboardLayout.d.ts +0 -1
- package/esm/presentation/widget/dashboardLayout/DefaultDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/widget/description/useInsightWidgetDescription.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DashboardInsight.d.ts +0 -1
- package/esm/presentation/widget/insight/DashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultDashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/EditModeDashboardInsight/EditModeDashboardInsight.d.ts +0 -1
- package/esm/presentation/widget/insight/EditModeDashboardInsight/EditModeDashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.d.ts +0 -1
- package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/CustomError/sizingUtils.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.d.ts +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsightWithDrillSelect.d.ts +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsightWithDrillSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.d.ts +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogInsightDrills.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/ViewModeDashboardInsight.d.ts +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/ViewModeDashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/useInsightPositionStyle.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/useResolveDashboardInsightProperties.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/ButtonWithIcon.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributes.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/useAttributeHierarchy.d.ts +0 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/useAttributeHierarchy.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightWidgetAlerting.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useDrillConfigIncompleteItems.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/useDrillTargetTypeItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DashboardInsightMenu.d.ts +0 -1
- package/esm/presentation/widget/insightMenu/DashboardInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DashboardInsightMenuButton.d.ts +0 -1
- package/esm/presentation/widget/insightMenu/DashboardInsightMenuButton.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DashboardInsightMenuTitle.d.ts +0 -1
- package/esm/presentation/widget/insightMenu/DashboardInsightMenuTitle.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.d.ts +0 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DefaultDashboardInsightMenu.d.ts +0 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DefaultDashboardInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DefaultDashboardInsightMenuButton.d.ts +0 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DefaultDashboardInsightMenuButton.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getExportTooltips.d.ts +3 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getExportTooltips.d.ts.map +1 -1
- package/esm/presentation/widget/richText/DashboardRichText.d.ts +0 -1
- package/esm/presentation/widget/richText/DashboardRichText.d.ts.map +1 -1
- package/esm/presentation/widget/richText/DefaultDashboardRichText.d.ts +0 -1
- package/esm/presentation/widget/richText/DefaultDashboardRichText.d.ts.map +1 -1
- package/esm/presentation/widget/richText/useEditableRichTextMenu.d.ts.map +1 -1
- package/esm/presentation/widget/richTextMenu/DashboardRichTextMenuTitle.d.ts +0 -1
- package/esm/presentation/widget/richTextMenu/DashboardRichTextMenuTitle.d.ts.map +1 -1
- package/esm/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/DefaultDashboardRichTextMenu.d.ts +0 -1
- package/esm/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/DefaultDashboardRichTextMenu.d.ts.map +1 -1
- package/esm/presentation/widget/showAsTableButton/DefaultShowAsTableButton/DefaultShowAsTableButton.d.ts +0 -1
- package/esm/presentation/widget/showAsTableButton/DefaultShowAsTableButton/DefaultShowAsTableButton.d.ts.map +1 -1
- package/esm/presentation/widget/showAsTableButton/DefaultShowAsTableButton/ShowAsTableButton.d.ts +0 -1
- package/esm/presentation/widget/showAsTableButton/DefaultShowAsTableButton/ShowAsTableButton.d.ts.map +1 -1
- package/esm/presentation/widget/showAsTableButton/ShowAsTableButton.d.ts +0 -1
- package/esm/presentation/widget/showAsTableButton/ShowAsTableButton.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.d.ts +0 -1
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.d.ts +0 -1
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.d.ts +0 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js +3 -3
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/useVisualizationSwitcherEditableInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/useExecutionProgress.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts +0 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DashboardWidget.d.ts +0 -1
- package/esm/presentation/widget/widget/DashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.d.ts +0 -1
- package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts +2 -2
- package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.d.ts +0 -1
- package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts +0 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts +0 -1
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/widgetDeleteDialog/WidgetDeleteDialog.d.ts +0 -1
- package/esm/presentation/widgetDeleteDialog/WidgetDeleteDialog.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +91 -557
- package/esm/tsdoc-metadata.json +1 -1
- package/package.json +27 -27
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/attributeFilterConfig.css.map +1 -1
- package/styles/css/configurationPanel.css.map +1 -1
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardNestedLayoutWidget.css.map +1 -1
- package/styles/css/dateFilterConfig.css.map +1 -1
- package/styles/css/dragAndDrop.css.map +1 -1
- package/styles/css/drillConfigPanel.css.map +1 -1
- package/styles/css/drillDialog.css.map +1 -1
- package/styles/css/drillSelect.css.map +1 -1
- package/styles/css/export.css.map +1 -1
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/grouped-navigation.css.map +1 -1
- package/styles/css/icons.css.map +1 -1
- package/styles/css/insightConfiguration.css.map +1 -1
- package/styles/css/kpi_alert_dialog.css.map +1 -1
- package/styles/css/layout.css.map +1 -1
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/resizing.css.map +1 -1
- package/styles/css/saveAsDialog.css.map +1 -1
- package/styles/css/scheduled_mail_recipients.css.map +1 -1
- package/styles/css/shareIndicators.css.map +1 -1
- package/styles/css/sharedFilterConfig.css.map +1 -1
- package/styles/css/sidebar.css.map +1 -1
- package/styles/css/topBar.css.map +1 -1
- package/styles/css/visualizationSwitcherToolbar.css.map +1 -1
- package/styles/css/visualizationSwitcherWidget.css.map +1 -1
- package/styles/scss/alerting.scss +2 -0
- package/styles/scss/configurationPanel.scss +18 -2
- package/styles/scss/dashboard.scss +19 -4
- package/styles/scss/dashboardNestedLayoutWidget.scss +11 -0
- package/styles/scss/dragAndDrop.scss +7 -2
- package/styles/scss/drillConfigPanel.scss +7 -0
- package/styles/scss/drillDialog.scss +3 -0
- package/styles/scss/drillSelect.scss +1 -0
- package/styles/scss/export.scss +1 -0
- package/styles/scss/filterBar.scss +8 -2
- package/styles/scss/grouped-navigation.scss +4 -2
- package/styles/scss/icons.scss +8 -0
- package/styles/scss/insightConfiguration.scss +6 -0
- package/styles/scss/kpi_alert_dialog.scss +2 -1
- package/styles/scss/layout.scss +4 -0
- package/styles/scss/notifications_channels_dialog.scss +6 -0
- package/styles/scss/resizing.scss +13 -1
- package/styles/scss/saveAsDialog.scss +3 -1
- package/styles/scss/scheduled_mail_recipients.scss +1 -0
- package/styles/scss/shareIndicators.scss +3 -1
- package/styles/scss/sharedFilterConfig.scss +1 -0
- package/styles/scss/sidebar.scss +3 -1
- package/styles/scss/topBar.scss +1 -0
- package/styles/scss/visualizationSwitcherToolbar.scss +22 -1
- package/styles/scss/visualizationSwitcherWidget.scss +5 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addAttributeFilterUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/addAttributeFilterUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAA4C,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAIvE,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"addAttributeFilterUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/addAttributeFilterUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAA4C,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAIvE,eAAO,MAAM,qBAAqB,GAC9B,gBAAgB,uBAAuB,EAAE,EACzC,aAAa,SAAS,CAAC,QAAQ,CAAC,YAMnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLimitingItemsConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useLimitingItemsConfiguration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAWxE,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"useLimitingItemsConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useLimitingItemsConfiguration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAWxE,eAAO,MAAM,6BAA6B,GAAI,eAAe,yBAAyB;;;mCAoBhC,MAAM,EAAE;;;CAqB7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSelectionModeConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useSelectionModeConfiguration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qCAAqC,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAOvG,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"useSelectionModeConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useSelectionModeConfiguration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qCAAqC,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAOvG,eAAO,MAAM,6BAA6B,GAAI,iBAAiB,yBAAyB;;;;mCAkBlC,qCAAqC;;CA+B1F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useValidNeighbourAttributes.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useValidNeighbourAttributes.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAUpD,UAAU,kCAAkC;IACxC,wBAAwB,EAAE,MAAM,EAAE,CAAC;IACnC,+BAA+B,EAAE,OAAO,CAAC;IACzC,6BAA6B,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC/D;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"useValidNeighbourAttributes.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useValidNeighbourAttributes.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAUpD,UAAU,kCAAkC;IACxC,wBAAwB,EAAE,MAAM,EAAE,CAAC;IACnC,+BAA+B,EAAE,OAAO,CAAC;IACzC,6BAA6B,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC/D;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GACpC,4BAA4B,MAAM,EAClC,6BAA6B,MAAM,EAAE,KACtC,kCA0DF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryUtils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/telemetryUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF,eAAO,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"telemetryUtils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/telemetryUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF,eAAO,MAAM,gCAAgC,GACzC,MAAM,kBAAkB,KACzB,8BAcF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitingItemsHook.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EACH,MAAM,EAKN,mBAAmB,EAGnB,oBAAoB,EAEvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAIH,mCAAmC,EACnC,gBAAgB,EAGhB,6BAA6B,EAIhC,MAAM,qCAAqC,CAAC;AAG7C,MAAM,WAAW,4BAA4B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,kBAAkB,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACzC;AAkED,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"limitingItemsHook.d.ts","sourceRoot":"","sources":["../../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EACH,MAAM,EAKN,mBAAmB,EAGnB,oBAAoB,EAEvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAIH,mCAAmC,EACnC,gBAAgB,EAGhB,6BAA6B,EAIhC,MAAM,qCAAqC,CAAC;AAG7C,MAAM,WAAW,4BAA4B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,kBAAkB,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACzC;AAkED,eAAO,MAAM,kBAAkB,GAC3B,GAAG,4BAA4B,EAC/B,GAAG,4BAA4B,KAChC,MAMF,CAAC;AAsBF,eAAO,MAAM,gBAAgB,GACzB,eAAe,mCAAmC,EAAE,EACpD,oBAAoB,MAAM,EAAE,EAC5B,oBAAoB,MAAM,EAAE,EAC5B,iBAAiB,gBAAgB,EACjC,sBAAsB,6BAA6B,EAAE,EACrD,mBAAmB,mBAAmB,EAAE,EACxC,2CAA2C,OAAO,EAClD,YAAY,OAAO,EACnB,MAAM,SAAS,KAChB,4BAA4B,EAoD9B,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACnC,wBAAwB,MAAM,EAAE,KACjC,4BAA4B,EAsB9B,CAAC;AAEF,eAAO,MAAM,cAAc,GACvB,eAAe,mCAAmC,EAAE,EACpD,oBAAoB,MAAM,EAAE,EAC5B,sBAAsB,6BAA6B,EAAE,EACrD,mBAAmB,mBAAmB,EAAE,EACxC,2BAA2B,oBAAoB,EAC/C,2CAA2C,OAAO,EAClD,YAAY,OAAO,EACnB,MAAM,SAAS,KAChB,4BAA4B,EAuD9B,CAAC;AAgEF,eAAO,MAAM,kBAAkB,GAC3B,mBAAmB,mBAAmB,EAAE,EACxC,2BAA2B,oBAAoB,EAC/C,uBAAuB,6BAA6B,EAAE,KACvD,4BAA4B,EAyB9B,CAAC;AAoBF,eAAO,MAAM,2BAA2B,GACpC,SAAS,MAAM,GAAG,SAAS,EAC3B,sBAAsB,6BAA6B,EAAE,KACtD,MAYF,CAAC"}
|
|
@@ -26,8 +26,9 @@ export interface IDashboardAttributeFilterProps {
|
|
|
26
26
|
* @param isResultOfMigration - internal value, specifies that filter change was caused by displayAsLabel
|
|
27
27
|
* ad-hoc migration, the param will be removed once the usage of displayAsLabel is migrated on database
|
|
28
28
|
* metadata level.
|
|
29
|
+
* @param isSelectionInvalid - specifies if filter selection is invalid
|
|
29
30
|
*/
|
|
30
|
-
onFilterChanged: (filter: IDashboardAttributeFilter, displayAsLabel?: ObjRef, isWorkingSelectionChange?: boolean, isResultOfMigration?: boolean) => void;
|
|
31
|
+
onFilterChanged: (filter: IDashboardAttributeFilter, displayAsLabel?: ObjRef, isWorkingSelectionChange?: boolean, isResultOfMigration?: boolean, isSelectionInvalid?: boolean) => void;
|
|
31
32
|
/**
|
|
32
33
|
* Callback to be called, when user closes filter dropdown
|
|
33
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACH,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,MAAM,EACT,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,mCAAmC,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7G,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,8BAA8B,EAAE,MAAM,kDAAkD,CAAC;AAClG,OAAO,EAAE,8BAA8B,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,MAAM,EAAE,yBAAyB,CAAC;IAElC;;OAEG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;IAE1C
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACH,iBAAiB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AC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uBAAuB,CAAC,EAAE,aAAa,CAAC,8BAA8B,CAAC,CAAC;IACxE,sBAAsB,CAAC,EAAE,aAAa,CAAC;IACvC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,8BAA8B,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1E,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,GAAG,mBAAmB,KAAK,MAAM,GAAG,SAAS,CAAC;CAC9F;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,GAAG,MAAM,GAAG,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDependentDateFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useDependentDateFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAAwC,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useDependentDateFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useDependentDateFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAAwC,MAAM,qBAAqB,CAAC;AAUtG,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,yBAAyB,EAAE,sBAAsB,CAAC,CAAC;AAE7F;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,GAAI,QAAQ,yBAAyB,KAAG,sBAgD3E,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { invariant } from "ts-invariant";
|
|
4
4
|
import { objRefToString } from "@gooddata/sdk-model";
|
|
5
|
-
import {
|
|
5
|
+
import { selectFilterContextDateFilter, selectFilterContextDateFiltersWithDimension, selectIsApplyFiltersAllAtOnceEnabledAndSet, selectWorkingFilterContextDateFilter, selectWorkingFilterContextDateFiltersWithDimension, useDashboardSelector, } from "../../../model/index.js";
|
|
6
6
|
/**
|
|
7
7
|
* Returns depdent date filtering input props for {@link @gooddata/sdk-ui-filters#AttributeFilter} for particular dashboard attribute filter.
|
|
8
8
|
*
|
|
@@ -11,16 +11,13 @@ import { selectDashboardFiltersApplyMode, selectEnableDashboardFiltersApplyModes
|
|
|
11
11
|
* @beta
|
|
12
12
|
*/
|
|
13
13
|
export const useDependentDateFilters = (filter) => {
|
|
14
|
-
const
|
|
15
|
-
const dashboardFiltersApplyMode = useDashboardSelector(selectDashboardFiltersApplyMode);
|
|
14
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
16
15
|
const allAppliedDateFilters = useDashboardSelector(selectFilterContextDateFiltersWithDimension);
|
|
17
16
|
const allWorkingDateFilters = useDashboardSelector(selectWorkingFilterContextDateFiltersWithDimension);
|
|
18
|
-
const allDateFilters =
|
|
19
|
-
? allWorkingDateFilters
|
|
20
|
-
: allAppliedDateFilters;
|
|
17
|
+
const allDateFilters = isApplyAllAtOnceEnabledAndSet ? allWorkingDateFilters : allAppliedDateFilters;
|
|
21
18
|
const commonAppliedDateFilter = useDashboardSelector(selectFilterContextDateFilter);
|
|
22
19
|
const commonWorkingDateFilter = useDashboardSelector(selectWorkingFilterContextDateFilter);
|
|
23
|
-
const commonDateFilter =
|
|
20
|
+
const commonDateFilter = isApplyAllAtOnceEnabledAndSet
|
|
24
21
|
? commonWorkingDateFilter
|
|
25
22
|
: commonAppliedDateFilter;
|
|
26
23
|
const commonDateFilterWithAllTime = getCommonDateFilterWithAllTime(commonDateFilter);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDependentDateFilters.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useDependentDateFilters.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAmD,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEtG,OAAO,EACH
|
|
1
|
+
{"version":3,"file":"useDependentDateFilters.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useDependentDateFilters.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAmD,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEtG,OAAO,EACH,6BAA6B,EAC7B,2CAA2C,EAC3C,0CAA0C,EAC1C,oCAAoC,EACpC,kDAAkD,EAClD,oBAAoB,GACvB,MAAM,yBAAyB,CAAC;AAUjC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,MAAiC,EAA0B,EAAE;IACjG,MAAM,6BAA6B,GAAG,oBAAoB,CAAC,0CAA0C,CAAC,CAAC;IAEvG,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,2CAA2C,CAAC,CAAC;IAChG,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,kDAAkD,CAAC,CAAC;IACvG,MAAM,cAAc,GAAG,6BAA6B,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,qBAAqB,CAAC;IAErG,MAAM,uBAAuB,GAAG,oBAAoB,CAAC,6BAA6B,CAA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QACH,oBAAoB;KACvB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,8BAA8B,GAAG,CAAC,UAAiC,EAAwB,EAAE;IAC/F,IAAI,UAAU,EAAE,CAAC;QACb,OAAO,UAAU,CAAC;IACtB,CAAC;SAAM,CAAC;QACJ,OAAO;YACH,UAAU,EAAE;gBACR,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,UAAU;aACnB;SACJ,CAAC;IACN,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useParentFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useParentFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EAA4B,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useParentFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useParentFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EAA4B,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAU1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACrC,yBAAyB,EACzB,eAAe,GAAG,2BAA2B,CAChD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,yBAAyB,KAAG,sBAyCpE,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { invariant } from "ts-invariant";
|
|
4
4
|
import { dashboardAttributeFilterToAttributeFilter } from "../../../_staging/dashboard/dashboardFilterConverter.js";
|
|
5
|
-
import {
|
|
5
|
+
import { selectFilterContextAttributeFilters, selectSupportsSettingConnectingAttributes, selectWorkingFilterContextAttributeFilters, selectIsApplyFiltersAllAtOnceEnabledAndSet, useDashboardSelector, } from "../../../model/index.js";
|
|
6
6
|
/**
|
|
7
7
|
* Returns parent filtering input props for {@link @gooddata/sdk-ui-filters#AttributeFilter} for particular dashboard attribute filter.
|
|
8
8
|
*
|
|
@@ -11,11 +11,10 @@ import { selectDashboardFiltersApplyMode, selectEnableDashboardFiltersApplyModes
|
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
13
|
export const useParentFilters = (filter) => {
|
|
14
|
-
const
|
|
15
|
-
const dashboardFiltersApplyMode = useDashboardSelector(selectDashboardFiltersApplyMode);
|
|
14
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
16
15
|
const allAppliedAttributeFilters = useDashboardSelector(selectFilterContextAttributeFilters);
|
|
17
16
|
const allWorkingAttributeFilters = useDashboardSelector(selectWorkingFilterContextAttributeFilters);
|
|
18
|
-
const allAttributeFilters =
|
|
17
|
+
const allAttributeFilters = isApplyAllAtOnceEnabledAndSet
|
|
19
18
|
? allWorkingAttributeFilters
|
|
20
19
|
: allAppliedAttributeFilters;
|
|
21
20
|
const supportsSettingConnectingAttributes = useDashboardSelector(selectSupportsSettingConnectingAttributes);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useParentFilters.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useParentFilters.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,yCAAyC,EAAE,MAAM,yDAAyD,CAAC;AACpH,OAAO,EACH
|
|
1
|
+
{"version":3,"file":"useParentFilters.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useParentFilters.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,yC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,IAAI,EAAE,EAAE,CAAC,yCAAyC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IACpG,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAExB,MAAM,gBAAgB,GAAG,OAAO,CAAC,GAAG,EAAE;QAClC,gDAAgD;QAChD,0EAA0E;QAC1E,IAAI,CAAC,iBAAiB,IAAI,CAAC,mCAAmC,EAAE,CAAC;YAC7D,OAAO,SAAS,CAAC;QACrB,CAAC;QAED,OAAO,CAAC,aAA+B,EAAE,KAAa,EAAU,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,IAAK,CAAC;IACtG,CAAC,EAAE,CAAC,iBAAiB,EAAE,mCAAmC,CAAC,CAAC,CAAC;IAE7D,OAAO;QACH,aAAa;QACb,yBAAyB,EAAE,gBAAgB;KAC9C,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationModeSelectItem.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/configuration/ConfigurationModeSelectItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAM3C;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACxD;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"ConfigurationModeSelectItem.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/configuration/ConfigurationModeSelectItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAM3C;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACxD;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,oBAAoB,sBAuBzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardDateFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DefaultDashboardDateFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAevD;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GAAI,OAAO,yBAAyB,KAAG,GAAG,CAAC,OAsJjF,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { DateFilter, getLocalizedIcuDateFormatPattern, } from "@gooddata/sdk-ui-
|
|
|
5
5
|
import { areObjRefsEqual, DashboardDateFilterConfigModeValues, } from "@gooddata/sdk-model";
|
|
6
6
|
import { dateFilterOptionToDashboardDateFilter } from "../../../_staging/dashboard/dashboardFilterConverter.js";
|
|
7
7
|
import { matchDateFilterToDateFilterOptionWithPreference } from "../../../_staging/dateFilterConfig/dateFilterOptionMapping.js";
|
|
8
|
-
import { selectBackendCapabilities, selectCatalogDateDatasets,
|
|
8
|
+
import { selectBackendCapabilities, selectCatalogDateDatasets, selectIsApplyFiltersAllAtOnceEnabledAndSet, selectIsInEditMode, selectLocale, selectSettings, selectWeekStart, useDashboardSelector, } from "../../../model/index.js";
|
|
9
9
|
import { getVisibilityIcon } from "../utils.js";
|
|
10
10
|
import { DateFilterConfigurationBody } from "./configuration/DateFilterConfigurationBody.js";
|
|
11
11
|
import { useCurrentDateFilterConfig } from "../../dragAndDrop/index.js";
|
|
@@ -23,8 +23,7 @@ export const DefaultDashboardDateFilter = (props) => {
|
|
|
23
23
|
const locale = useDashboardSelector(selectLocale);
|
|
24
24
|
const isInEditMode = useDashboardSelector(selectIsInEditMode);
|
|
25
25
|
const weekStart = useDashboardSelector(selectWeekStart);
|
|
26
|
-
const
|
|
27
|
-
const enableDashboardFiltersApplyModes = useDashboardSelector(selectEnableDashboardFiltersApplyModes);
|
|
26
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
28
27
|
const { filter, workingFilter, onFilterChanged, config, readonly, autoOpen, ButtonComponent, overlayPositionType, } = props;
|
|
29
28
|
const allDateDatasets = useDashboardSelector(selectCatalogDateDatasets);
|
|
30
29
|
let defaultDateFilterName;
|
|
@@ -62,8 +61,8 @@ export const DefaultDashboardDateFilter = (props) => {
|
|
|
62
61
|
return (React.createElement(DateFilterConfigurationBody, { ...props, intl: intl, dateDataSet: filter?.dateFilter.dataSet, defaultDateFilterName: defaultDateFilterName }));
|
|
63
62
|
};
|
|
64
63
|
}, [intl, filter?.dateFilter.dataSet, defaultDateFilterName]);
|
|
65
|
-
return (React.createElement(DateFilter, { excludeCurrentPeriod: excludeCurrentPeriod, selectedFilterOption: dateFilterOption, workingExcludeCurrentPeriod:
|
|
64
|
+
return (React.createElement(DateFilter, { excludeCurrentPeriod: excludeCurrentPeriod, selectedFilterOption: dateFilterOption, workingExcludeCurrentPeriod: isApplyAllAtOnceEnabledAndSet ? workingExcludeCurrentPeriod : undefined, workingSelectedFilterOption: isApplyAllAtOnceEnabledAndSet ? workingFilterOption : undefined, dateFilterMode: readonly
|
|
66
65
|
? DashboardDateFilterConfigModeValues.READONLY
|
|
67
|
-
: DashboardDateFilterConfigModeValues.ACTIVE, filterOptions: config.dateFilterOptions, availableGranularities: config.availableGranularities, customFilterName: title, onApply: onApply, onSelect:
|
|
66
|
+
: DashboardDateFilterConfigModeValues.ACTIVE, filterOptions: config.dateFilterOptions, availableGranularities: config.availableGranularities, customFilterName: title, onApply: onApply, onSelect: isApplyAllAtOnceEnabledAndSet ? onSelect : undefined, dateFormat: dateFormat, locale: locale, isTimeForAbsoluteRangeEnabled: isTimeForAbsoluteRangeEnabled, isEditMode: isInEditMode, openOnInit: autoOpen, weekStart: weekStart, customIcon: visibilityIcon, showDropDownHeaderMessage: !filter?.dateFilter.dataSet, FilterConfigurationComponent: isConfigurationEnabled ? FilterConfigurationComponent : undefined, withoutApply: isApplyAllAtOnceEnabledAndSet, ButtonComponent: ButtonComponent, overlayPositionType: overlayPositionType }));
|
|
68
67
|
};
|
|
69
68
|
//# sourceMappingURL=DefaultDashboardDateFilter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardDateFilter.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EACH,UAAU,EACV,gCAAgC,GAGnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,eAAe,EACf,mCAAmC,GAEtC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,qCAAqC,EAAE,MAAM,yDAAyD,CAAC;AAChH,OAAO,EAAE,+CAA+C,EAAE,MAAM,+DAA+D,CAAC;AAGhI,OAAO,EACH,yBAAyB,EACzB,yBAAyB,EACzB
|
|
1
|
+
{"version":3,"file":"DefaultDashboardDateFilter.js","sourceR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,KAAK,EACvB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,6BAA6B,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAC9D,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,EACd,6BAA6B,EAAE,6BAA6B,EAC5D,UAAU,EAAE,YAAY,EACxB,UAAU,EAAE,QAAQ,EACpB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,cAAc,EAC1B,yBAAyB,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,EACtD,4BAA4B,EAAE,sBAAsB,CAAC,CAAC,CAAC,4BAA4B,CAAC,CAAC,CAAC,SAAS,EAC/F,YAAY,EAAE,6BAA6B,EAC3C,eAAe,EAAE,eAAe,EAChC,mBAAmB,EAAE,mBAAmB,GAC1C,CACL,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenDashboardDateFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/HiddenDashboardDateFilter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HiddenDashboardDateFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/HiddenDashboardDateFilter.tsx"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,QAAO,GAAG,CAAC,OAAO,GAAG,IAE1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDateFilterConfig.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/useDateFilterConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,EAAmB,MAAM,qBAAqB,CAAC;AAY7F,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"useDateFilterConfig.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/useDateFilterConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,EAAmB,MAAM,qBAAqB,CAAC;AAY7F,eAAO,MAAM,mBAAmB,GAAI,aAAa,MAAM,GAAG,SAAS,EAAE,wBAAwB,MAAM;;6BAmBlE,6BAA6B;;;;;;;CAU7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultFilterBar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DefaultFilterBar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBar.tsx"],"names":[],"mappings":"AAyDA,OAAO,EAA8B,eAAe,EAAE,MAAM,aAAa,CAAC;AAgB1E;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAO,eA0JpC,CAAC;AAEF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA2NpE"}
|
|
@@ -3,7 +3,7 @@ import React, { useCallback } from "react";
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { invariant } from "ts-invariant";
|
|
5
5
|
import { areObjRefsEqual, DashboardAttributeFilterConfigModeValues, DashboardDateFilterConfigModeValues, isAllTimeDashboardDateFilter, isDashboardAttributeFilter, isDashboardDateFilter, objRefToString, serializeObjRef, } from "@gooddata/sdk-model";
|
|
6
|
-
import { changeAttributeFilterSelection, changeMigratedAttributeFilterSelection, changeDateFilterSelection, clearDateFilterSelection, selectEffectiveDateFilterAvailableGranularities, selectEffectiveDateFilterMode, selectEffectiveDateFilterOptions, selectFilterContextFilters, selectIsExport, selectSupportsElementUris, useDashboardDispatch, useDashboardSelector, selectIsInEditMode, selectAttributeFilterDisplayFormsMap, selectEffectiveAttributeFiltersModeMap, selectCanAddMoreFilters, selectCatalogDateDatasets, selectEffectiveDateFiltersModeMap, selectAttributeFilterConfigsDisplayAsLabelMap, selectEnableDuplicatedLabelValuesInAttributeFilter, setAttributeFilterDisplayForm, setDashboardAttributeFilterConfigDisplayAsLabel, changeWorkingAttributeFilterSelection,
|
|
6
|
+
import { changeAttributeFilterSelection, changeMigratedAttributeFilterSelection, changeDateFilterSelection, clearDateFilterSelection, selectEffectiveDateFilterAvailableGranularities, selectEffectiveDateFilterMode, selectEffectiveDateFilterOptions, selectFilterContextFilters, selectIsExport, selectSupportsElementUris, useDashboardDispatch, useDashboardSelector, selectIsInEditMode, selectAttributeFilterDisplayFormsMap, selectEffectiveAttributeFiltersModeMap, selectCanAddMoreFilters, selectCatalogDateDatasets, selectEffectiveDateFiltersModeMap, selectAttributeFilterConfigsDisplayAsLabelMap, selectEnableDuplicatedLabelValuesInAttributeFilter, setAttributeFilterDisplayForm, setDashboardAttributeFilterConfigDisplayAsLabel, changeWorkingAttributeFilterSelection, selectWorkingFilterContextFilters, selectCrossFilteringFiltersLocalIdentifiers, selectIsWorkingFilterContextChanged, selectCatalogAttributes, selectEnableDateFilterIdentifiers, selectIsApplyFiltersAllAtOnceEnabledAndSet, } from "../../../model/index.js";
|
|
7
7
|
import { useDashboardComponentsContext } from "../../dashboardContexts/index.js";
|
|
8
8
|
import { DraggableFilterDropZone, DraggableFilterDropZoneHint, DraggableAttributeFilter, DraggableDateFilter, } from "../../dragAndDrop/index.js";
|
|
9
9
|
import { HiddenDashboardDateFilter } from "../dateFilter/index.js";
|
|
@@ -22,10 +22,10 @@ export const useFilterBarProps = () => {
|
|
|
22
22
|
const workingFilters = useDashboardSelector(selectWorkingFilterContextFilters);
|
|
23
23
|
const supportElementUris = useDashboardSelector(selectSupportsElementUris);
|
|
24
24
|
const enableDuplicatedLabelValuesInAttributeFilter = useDashboardSelector(selectEnableDuplicatedLabelValuesInAttributeFilter);
|
|
25
|
-
const
|
|
25
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
26
26
|
const enableDateFilterIdentifiers = useDashboardSelector(selectEnableDateFilterIdentifiers);
|
|
27
27
|
const dispatch = useDashboardDispatch();
|
|
28
|
-
const onAttributeFilterChanged = useCallback((filter, displayAsLabel, isWorkingSelectionChange, isResultOfMigration) => {
|
|
28
|
+
const onAttributeFilterChanged = useCallback((filter, displayAsLabel, isWorkingSelectionChange, isResultOfMigration, isSelectionInvalid) => {
|
|
29
29
|
const convertedFilter = supportElementUris
|
|
30
30
|
? filter
|
|
31
31
|
: convertDashboardAttributeFilterElementsValuesToUris(filter);
|
|
@@ -38,14 +38,14 @@ export const useFilterBarProps = () => {
|
|
|
38
38
|
};
|
|
39
39
|
const currentFilter = getCurrentFilter(filters, localIdentifier);
|
|
40
40
|
if (!areObjRefsEqual(filter.attributeFilter.displayForm, currentFilter?.attributeFilter.displayForm)) {
|
|
41
|
-
dispatch(setAttributeFilterDisplayForm(localIdentifier, filter.attributeFilter.displayForm, isWorkingSelectionChange &&
|
|
41
|
+
dispatch(setAttributeFilterDisplayForm(localIdentifier, filter.attributeFilter.displayForm, isWorkingSelectionChange && isApplyAllAtOnceEnabledAndSet, isResultOfMigration));
|
|
42
42
|
}
|
|
43
43
|
if (displayAsLabel) {
|
|
44
44
|
dispatch(setDashboardAttributeFilterConfigDisplayAsLabel(localIdentifier, displayAsLabel));
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
if (isWorkingSelectionChange &&
|
|
48
|
-
dispatch(changeWorkingAttributeFilterSelection(localIdentifier, attributeElements, negativeSelection ? "NOT_IN" : "IN"));
|
|
47
|
+
if (isWorkingSelectionChange && isApplyAllAtOnceEnabledAndSet) {
|
|
48
|
+
dispatch(changeWorkingAttributeFilterSelection(localIdentifier, attributeElements, negativeSelection ? "NOT_IN" : "IN", undefined, isSelectionInvalid));
|
|
49
49
|
}
|
|
50
50
|
else if (isResultOfMigration) {
|
|
51
51
|
dispatch(changeMigratedAttributeFilterSelection(localIdentifier, attributeElements, negativeSelection ? "NOT_IN" : "IN"));
|
|
@@ -58,21 +58,21 @@ export const useFilterBarProps = () => {
|
|
|
58
58
|
supportElementUris,
|
|
59
59
|
enableDuplicatedLabelValuesInAttributeFilter,
|
|
60
60
|
filters,
|
|
61
|
-
|
|
61
|
+
isApplyAllAtOnceEnabledAndSet,
|
|
62
62
|
]);
|
|
63
63
|
const onDateFilterChanged = useCallback((filter, dateFilterOptionLocalId, isWorkingSelectionChange) => {
|
|
64
64
|
if (!filter) {
|
|
65
|
-
dispatch(clearDateFilterSelection(undefined, undefined, isWorkingSelectionChange &&
|
|
65
|
+
dispatch(clearDateFilterSelection(undefined, undefined, isWorkingSelectionChange && isApplyAllAtOnceEnabledAndSet));
|
|
66
66
|
}
|
|
67
67
|
else if (isAllTimeDashboardDateFilter(filter)) {
|
|
68
|
-
const localIdentifier = filter?.dateFilter.localIdentifier ?? enableDateFilterIdentifiers
|
|
68
|
+
const localIdentifier = (filter?.dateFilter.localIdentifier ?? enableDateFilterIdentifiers)
|
|
69
69
|
? generateDateFilterLocalIdentifier(0, filter?.dateFilter.dataSet)
|
|
70
70
|
: undefined;
|
|
71
71
|
// all time filter
|
|
72
|
-
dispatch(clearDateFilterSelection(undefined, filter?.dateFilter.dataSet, isWorkingSelectionChange &&
|
|
72
|
+
dispatch(clearDateFilterSelection(undefined, filter?.dateFilter.dataSet, isWorkingSelectionChange && isApplyAllAtOnceEnabledAndSet, localIdentifier));
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
|
-
const { type, granularity, from, to, dataSet, localIdentifier } = filter.dateFilter;
|
|
75
|
+
const { type, granularity, from, to, dataSet, localIdentifier, boundedFilter } = filter.dateFilter;
|
|
76
76
|
const filterIndex = filters
|
|
77
77
|
.filter(isDashboardDateFilter)
|
|
78
78
|
.findIndex((filter) => areObjRefsEqual(filter.dateFilter.dataSet, dataSet));
|
|
@@ -80,9 +80,9 @@ export const useFilterBarProps = () => {
|
|
|
80
80
|
const newLocalIdentifier = enableDateFilterIdentifiers
|
|
81
81
|
? generateDateFilterLocalIdentifier(sanitizedFilterIndex, dataSet)
|
|
82
82
|
: undefined;
|
|
83
|
-
dispatch(changeDateFilterSelection(type, granularity, from, to, dateFilterOptionLocalId, undefined, dataSet, isWorkingSelectionChange &&
|
|
83
|
+
dispatch(changeDateFilterSelection(type, granularity, from, to, dateFilterOptionLocalId, undefined, dataSet, isWorkingSelectionChange && isApplyAllAtOnceEnabledAndSet, localIdentifier ?? newLocalIdentifier, boundedFilter));
|
|
84
84
|
}
|
|
85
|
-
}, [dispatch,
|
|
85
|
+
}, [dispatch, isApplyAllAtOnceEnabledAndSet, filters, enableDateFilterIdentifiers]);
|
|
86
86
|
return { filters, workingFilters, onAttributeFilterChanged, onDateFilterChanged, DefaultFilterBar };
|
|
87
87
|
};
|
|
88
88
|
/**
|
|
@@ -108,8 +108,7 @@ export function DefaultFilterBar(props) {
|
|
|
108
108
|
const haveAllFiltersHidden = areAllFiltersHidden(draggableFiltersWithPlaceholder, commonDateFilterMode, attributeFiltersModeMap, dateFiltersModeMap);
|
|
109
109
|
const crossFilterLocalIds = useDashboardSelector(selectCrossFilteringFiltersLocalIdentifiers);
|
|
110
110
|
const isWorkingFilterContextChanged = useDashboardSelector(selectIsWorkingFilterContextChanged);
|
|
111
|
-
const
|
|
112
|
-
const enableDashboardFiltersApplyModes = useDashboardSelector(selectEnableDashboardFiltersApplyModes);
|
|
111
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
113
112
|
if (isExport || haveAllFiltersHidden) {
|
|
114
113
|
return React.createElement(HiddenFilterBar, { ...props });
|
|
115
114
|
}
|
|
@@ -122,7 +121,7 @@ export function DefaultFilterBar(props) {
|
|
|
122
121
|
React.createElement("div", { className: classNames("dash-filters-date", {
|
|
123
122
|
"dash-filter-is-edit-mode": isInEditMode,
|
|
124
123
|
}) }, commonDateFilterMode === DashboardDateFilterConfigModeValues.HIDDEN ? (React.createElement(HiddenDashboardDateFilter, null)) : (React.createElement(React.Fragment, null,
|
|
125
|
-
React.createElement(CustomCommonDateFilterComponent, { filter: commonDateFilter, workingFilter:
|
|
124
|
+
React.createElement(CustomCommonDateFilterComponent, { filter: commonDateFilter, workingFilter: isApplyAllAtOnceEnabledAndSet ? commonWorkingDateFilter : undefined, onFilterChanged: onDateFilterChanged, config: commonDateFilterComponentConfig, readonly: commonDateFilterMode === DashboardDateFilterConfigModeValues.READONLY }),
|
|
126
125
|
React.createElement(DraggableFilterDropZoneHint, { placement: "outside", hintPosition: "next", targetIndex: 0, onAddAttributePlaceholder: addDraggableFilterPlaceholder, acceptPlaceholder: canAddMoreFilters })))),
|
|
127
126
|
draggableFiltersWithPlaceholder.map((filterOrPlaceholder) => {
|
|
128
127
|
if (isFilterBarFilterPlaceholder(filterOrPlaceholder)) {
|
|
@@ -153,11 +152,10 @@ export function DefaultFilterBar(props) {
|
|
|
153
152
|
if (filter.attributeFilter.localIdentifier &&
|
|
154
153
|
crossFilterLocalIds.includes(filter.attributeFilter.localIdentifier) &&
|
|
155
154
|
isWorkingFilterContextChanged &&
|
|
156
|
-
|
|
157
|
-
enableDashboardFiltersApplyModes) {
|
|
155
|
+
isApplyAllAtOnceEnabledAndSet) {
|
|
158
156
|
return null;
|
|
159
157
|
}
|
|
160
|
-
return (React.createElement(DraggableAttributeFilter, { key: `${objRefToString(displayForm.attribute)}-${filter.attributeFilter.localIdentifier}`, autoOpen: areObjRefsEqual(filter.attributeFilter.displayForm, autoOpenFilter), filter: filter, workingFilter:
|
|
158
|
+
return (React.createElement(DraggableAttributeFilter, { key: `${objRefToString(displayForm.attribute)}-${filter.attributeFilter.localIdentifier}`, autoOpen: areObjRefsEqual(filter.attributeFilter.displayForm, autoOpenFilter), filter: filter, workingFilter: isApplyAllAtOnceEnabledAndSet ? workingFilter : undefined, filterIndex: filterIndex, readonly: attributeFilterMode === DashboardAttributeFilterConfigModeValues.READONLY, displayAsLabel: displayAsLabel, FilterComponent: CustomAttributeFilterComponent, onAttributeFilterChanged: onAttributeFilterChanged, onAttributeFilterAdded: addDraggableFilterPlaceholder, onAttributeFilterClose: onCloseAttributeFilter }));
|
|
161
159
|
}
|
|
162
160
|
else {
|
|
163
161
|
if (filterOrPlaceholder.filter.dateFilter.dataSet) {
|
|
@@ -169,7 +167,7 @@ export function DefaultFilterBar(props) {
|
|
|
169
167
|
return null;
|
|
170
168
|
}
|
|
171
169
|
const defaultDateFilterName = allDateDatasets.find((ds) => areObjRefsEqual(ds.dataSet.ref, filter.dateFilter.dataSet))?.dataSet?.title;
|
|
172
|
-
return (React.createElement(DraggableDateFilter, { key: objRefToString(filterOrPlaceholder.filter.dateFilter.dataSet), autoOpen: areObjRefsEqual(filterOrPlaceholder.filter.dateFilter.dataSet, autoOpenFilter), filter: filter, workingFilter:
|
|
170
|
+
return (React.createElement(DraggableDateFilter, { key: objRefToString(filterOrPlaceholder.filter.dateFilter.dataSet), autoOpen: areObjRefsEqual(filterOrPlaceholder.filter.dateFilter.dataSet, autoOpenFilter), filter: filter, workingFilter: isApplyAllAtOnceEnabledAndSet ? workingFilter : undefined, filterIndex: filterIndex, config: {
|
|
173
171
|
...commonDateFilterComponentConfig,
|
|
174
172
|
customFilterName: defaultDateFilterName,
|
|
175
173
|
}, readonly: dateFilterMode === DashboardDateFilterConfigModeValues.READONLY, FilterComponent: CustomDateFilterComponent, onDateFilterChanged: onDateFilterChanged, onDateFilterAdded: addDraggableFilterPlaceholder, onDateFilterClose: onCloseAttributeFilter }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultFilterBar.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBar.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACH,eAAe,EACf,wCAAwC,EACxC,mCAAmC,EAInC,4BAA4B,EAC5B,0BAA0B,EAC1B,qBAAqB,EAErB,cAAc,EACd,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,8BAA8B,EAC9B,sCAAsC,EACtC,yBAAyB,EACzB,wBAAwB,EACxB,+CAA+C,EAC/C,6BAA6B,EAC7B,gCAAgC,EAChC,0BAA0B,EAC1B,cAAc,EACd,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,oCAAoC,EACpC,sCAAsC,EACtC,uBAAuB,EACvB,yBAAyB,EACzB,iCAAiC,EACjC,6CAA6C,EAC7C,kDAAkD,EAClD,6BAA6B,EAC7B,+CAA+C,EAC/C,qCAAqC,EACrC,
|
|
1
|
+
{"version":3,"file":"DefaultFilterBar.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBar.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACH,eAAe,EACf,wCAAwC,EACxC,mCAAmC,EAInC,4BAA4B,EAC5B,0BAA0B,EAC1B,qBAAqB,EAErB,cAAc,EACd,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,8BAA8B,EAC9B,sCAAsC,EACtC,yBAAyB,EACzB,wBAAwB,EACxB,+CAA+C,EAC/C,6BAA6B,EAC7B,gCAAgC,EAChC,0BAA0B,EAC1B,cAAc,EACd,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,oCAAoC,EACpC,sCAAsC,EACtC,uBAAuB,EACvB,yBAAyB,EACzB,iCAAiC,EACjC,6CAA6C,EAC7C,kDAAkD,EAClD,6BAA6B,EAC7B,+CAA+C,EAC/C,qCAAqC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+B;4BAClC,gBAAgB,EAAE,qBAAqB;yBAC1C,EACD,QAAQ,EAAE,cAAc,KAAK,mCAAmC,CAAC,QAAQ,EACzE,eAAe,EAAE,yBAAyB,EAC1C,mBAAmB,EAAE,mBAAmB,EACxC,iBAAiB,EAAE,6BAA6B,EAChD,iBAAiB,EAAE,sBAAsB,GAC3C,CACL,CAAC;gBACN,CAAC;gBACD,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC,CAAC;QACD,iBAAiB,CAAC,CAAC,CAAC,CACjB,oBAAC,uBAAuB,IACpB,WAAW,EAAE,qBAAqB,EAClC,MAAM,EAAE,6BAA6B,GACvC,CACL,CAAC,CAAC,CAAC,IAAI;QACR,oBAAC,kBAAkB,OAAG;QACtB,6BAAK,SAAS,EAAC,+BAA+B;YAC1C,oBAAC,2BAA2B,IACxB,SAAS,EAAC,SAAS,EACnB,YAAY,EAAC,MAAM,EACnB,iBAAiB,EAAE,KAAK,EACxB,WAAW,EAAE,qBAAqB,GACpC,CACA,CACkB,CAC/B,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultFilterBarContainer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBarContainer.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"DefaultFilterBarContainer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBarContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAgVtE;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAQ9E,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// (C) 2021-2025 GoodData Corporation
|
|
2
|
-
import React, { useCallback, useRef, useState } from "react";
|
|
2
|
+
import React, { useCallback, useMemo, useRef, useState } from "react";
|
|
3
3
|
import DefaultMeasure from "react-measure";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { defaultImport } from "default-import";
|
|
6
|
-
import { Message, UiButton, makeHorizontalKeyboardNavigation } from "@gooddata/sdk-ui-kit";
|
|
6
|
+
import { Message, UiButton, makeHorizontalKeyboardNavigation, Bubble, BubbleHoverTrigger, } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { isFocusVisible } from "@react-aria/interactions";
|
|
8
8
|
import { IntlWrapper } from "../../localization/index.js";
|
|
9
|
-
import { selectLocale, useDashboardSelector, useDashboardDispatch, selectEnableFilterViews, selectEnableFlexibleLayout, applyFilterContextWorkingSelection, selectIsWorkingFilterContextChanged,
|
|
9
|
+
import { selectLocale, useDashboardSelector, useDashboardDispatch, selectEnableFilterViews, selectEnableFlexibleLayout, applyFilterContextWorkingSelection, selectIsWorkingFilterContextChanged, selectIsApplyFiltersAllAtOnceEnabledAndSet, selectIsInEditMode, selectNamesOfFiltersWithInvalidSelection, } from "../../../model/index.js";
|
|
10
10
|
import { ShowAllFiltersButton } from "./ShowAllFiltersButton.js";
|
|
11
11
|
import { useRowsCalculator } from "./hooks/useRowsCalculator.js";
|
|
12
12
|
import { useFilterBarState } from "./hooks/useFilterBarState.js";
|
|
@@ -26,14 +26,19 @@ const DefaultFilterBarContainerCore = ({ children }) => {
|
|
|
26
26
|
const isFilterViewsFeatureFlagEnabled = useDashboardSelector(selectEnableFilterViews);
|
|
27
27
|
const isFlexibleLayoutEnabled = useDashboardSelector(selectEnableFlexibleLayout);
|
|
28
28
|
const isWorkingFilterContextChanged = useDashboardSelector(selectIsWorkingFilterContextChanged);
|
|
29
|
-
const
|
|
30
|
-
const
|
|
29
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
30
|
+
const filtersWithInvalidSelection = useDashboardSelector(selectNamesOfFiltersWithInvalidSelection);
|
|
31
|
+
const hasInvalidFilterSelections = filtersWithInvalidSelection.length > 0;
|
|
31
32
|
const isInEditMode = useDashboardSelector(selectIsInEditMode);
|
|
32
33
|
const { showExecutionTimestampMessage, formattedDate, onShowCurrentTimestampDashboard } = useExecutionTimestampMessage();
|
|
33
34
|
const dispatch = useDashboardDispatch();
|
|
34
35
|
const applyAllDashboardFilters = useCallback(() => {
|
|
35
36
|
dispatch(applyFilterContextWorkingSelection());
|
|
36
37
|
}, [dispatch]);
|
|
38
|
+
const configurationStyle = useMemo(() => ({
|
|
39
|
+
alignItems: isApplyAllAtOnceEnabledAndSet ? "center" : undefined,
|
|
40
|
+
paddingRight: isApplyAllAtOnceEnabledAndSet ? "10px" : undefined,
|
|
41
|
+
}), [isApplyAllAtOnceEnabledAndSet]);
|
|
37
42
|
const intl = useIntl();
|
|
38
43
|
const [expandedAutomatically, setExpandedAutomatically] = useState(false);
|
|
39
44
|
const onContainerFocus = useCallback(() => {
|
|
@@ -50,32 +55,32 @@ const DefaultFilterBarContainerCore = ({ children }) => {
|
|
|
50
55
|
setExpandedAutomatically(false);
|
|
51
56
|
}
|
|
52
57
|
}, [setFilterBarExpanded, expandedAutomatically]);
|
|
58
|
+
const bubbleText = hasInvalidFilterSelections
|
|
59
|
+
? intl.formatMessage({ id: "filterBar.invalidFilterSelection" }, { names: filtersWithInvalidSelection.join(", ") })
|
|
60
|
+
: null;
|
|
53
61
|
return (React.createElement(React.Fragment, null,
|
|
54
62
|
React.createElement("div", { className: "dash-filters-wrapper s-gd-dashboard-filter-bar", ref: dropRef, onFocus: onContainerFocus, onBlur: onContainerBlur },
|
|
55
63
|
React.createElement("div", { style: { height }, className: cx("dash-filters-visible", {
|
|
56
64
|
scrollable: scrollable,
|
|
57
65
|
"s-dash-filters-visible-all": isFilterBarExpanded,
|
|
58
|
-
"apply-all-at-once":
|
|
66
|
+
"apply-all-at-once": isApplyAllAtOnceEnabledAndSet,
|
|
59
67
|
}) },
|
|
60
68
|
React.createElement(AllFiltersContainer, { setCalculatedRows: setCalculatedRows }, children),
|
|
61
69
|
React.createElement(FiltersRows, { rows: rows }),
|
|
62
|
-
React.createElement("div", { className: "filter-bar-configuration", style:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
filtersApplyMode.mode === "ALL_AT_ONCE" &&
|
|
67
|
-
enableDashboardFiltersApplyModes &&
|
|
68
|
-
isWorkingFilterContextChanged ? (React.createElement(UiButton, { label: intl.formatMessage({ id: "apply" }), variant: "primary", onClick: applyAllDashboardFilters })) : null,
|
|
70
|
+
React.createElement("div", { className: "filter-bar-configuration", style: configurationStyle },
|
|
71
|
+
isApplyAllAtOnceEnabledAndSet && isWorkingFilterContextChanged ? (React.createElement(BubbleHoverTrigger, { showDelay: 100, hideDelay: 0 },
|
|
72
|
+
React.createElement(UiButton, { label: intl.formatMessage({ id: "apply" }), variant: "primary", onClick: applyAllDashboardFilters, isDisabled: hasInvalidFilterSelections }),
|
|
73
|
+
bubbleText ? React.createElement(Bubble, null, bubbleText) : null)) : null,
|
|
69
74
|
isFilterViewsFeatureFlagEnabled ? React.createElement(FilterViews, null) : null)),
|
|
70
75
|
React.createElement(ShowAllFiltersButton, { isFilterBarExpanded: isFilterBarExpanded, isVisible: rows.length > 1, onToggle: (isExpanded) => setFilterBarExpanded(isExpanded) }),
|
|
71
76
|
isInEditMode ? isFlexibleLayoutEnabled ? React.createElement(FlexibleBulletsBar, null) : React.createElement(FluidBulletsBar, null) : null),
|
|
72
|
-
isWorkingFilterContextChanged &&
|
|
73
|
-
filtersApplyMode.mode === "ALL_AT_ONCE" &&
|
|
74
|
-
enableDashboardFiltersApplyModes ? (React.createElement("div", { className: "filters-message", style: { marginTop: rows.length > 1 ? "35px" : "10px" } },
|
|
77
|
+
isWorkingFilterContextChanged && isApplyAllAtOnceEnabledAndSet ? (React.createElement("div", { className: "filters-message", style: { marginTop: rows.length > 1 ? "35px" : "10px" } },
|
|
75
78
|
React.createElement(Message, { type: "progress" },
|
|
76
79
|
React.createElement(FormattedMessage, { id: "filterBar.unappliedFiltersNotification", values: {
|
|
77
80
|
link: (chunks) => (React.createElement("strong", null,
|
|
78
|
-
React.createElement(
|
|
81
|
+
React.createElement(BubbleHoverTrigger, { showDelay: 100, hideDelay: 0 },
|
|
82
|
+
React.createElement(UiButton, { variant: "link", onClick: applyAllDashboardFilters, label: chunks, isDisabled: hasInvalidFilterSelections }),
|
|
83
|
+
hasInvalidFilterSelections ? (React.createElement(Bubble, null, bubbleText)) : null))),
|
|
79
84
|
} })))) : null,
|
|
80
85
|
showExecutionTimestampMessage ? (React.createElement("div", { className: "filters-message", style: { marginTop: rows.length > 1 ? "35px" : "10px" } },
|
|
81
86
|
React.createElement(Message, { type: "progress" },
|
|
@@ -91,6 +96,21 @@ const DefaultFilterBarContainerCore = ({ children }) => {
|
|
|
91
96
|
const AllFiltersContainer = ({ setCalculatedRows, children }) => {
|
|
92
97
|
const ref = useRef(null);
|
|
93
98
|
const rowCalculator = useRowsCalculator(ref);
|
|
99
|
+
const prevDimensions = useRef(null);
|
|
100
|
+
const handleResize = useCallback((dimensions) => {
|
|
101
|
+
const areBoundsEqual = (prevBounds, currentBounds) => {
|
|
102
|
+
return (prevBounds?.width === currentBounds?.width && prevBounds?.height === currentBounds?.height);
|
|
103
|
+
};
|
|
104
|
+
// Only call setCalculatedRows when dimensions actually change
|
|
105
|
+
if (!prevDimensions.current ||
|
|
106
|
+
!areBoundsEqual(prevDimensions.current.bounds, dimensions.bounds)) {
|
|
107
|
+
setCalculatedRows(rowCalculator(dimensions));
|
|
108
|
+
prevDimensions.current = dimensions;
|
|
109
|
+
}
|
|
110
|
+
}, [rowCalculator, setCalculatedRows]);
|
|
111
|
+
return (React.createElement(Measure, { bounds: true, innerRef: (rf) => (ref.current = rf), onResize: handleResize }, ({ measureRef }) => React.createElement(MeasuredDiv, { measureRef: measureRef }, children)));
|
|
112
|
+
};
|
|
113
|
+
const MeasuredDiv = ({ measureRef, children }) => {
|
|
94
114
|
const containerRef = useRef(null);
|
|
95
115
|
const [activeFilterIndex, setActiveFilterIndex] = useState(null);
|
|
96
116
|
const getActiveIndexAndFilterElements = () => {
|
|
@@ -147,11 +167,12 @@ const AllFiltersContainer = ({ setCalculatedRows, children }) => {
|
|
|
147
167
|
}
|
|
148
168
|
},
|
|
149
169
|
});
|
|
170
|
+
const setRefs = useCallback((node) => {
|
|
171
|
+
measureRef(node);
|
|
172
|
+
containerRef.current = node;
|
|
173
|
+
}, [measureRef]);
|
|
150
174
|
const intl = useIntl();
|
|
151
|
-
return (React.createElement(
|
|
152
|
-
measureRef(ref);
|
|
153
|
-
containerRef.current = ref;
|
|
154
|
-
}, onKeyDown: keyboardNavigation }, children))));
|
|
175
|
+
return (React.createElement("div", { className: "dash-filters-all", role: "region", "aria-label": intl.formatMessage({ id: "filterBar.label" }), ref: setRefs, onKeyDown: keyboardNavigation }, children));
|
|
155
176
|
};
|
|
156
177
|
const FiltersRows = ({ rows }) => {
|
|
157
178
|
return (React.createElement(React.Fragment, null, rows.length > 1 && (React.createElement("div", { className: "dash-filters-rows" }, rows.map((height, index) => (React.createElement("div", { className: "dash-filters-row", style: { height }, key: index })))))));
|