@gooddata/sdk-ui-dashboard 10.35.0-alpha.4 → 10.35.0-alpha.40
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 +1081 -603
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/accessibility/elementId.d.ts.map +1 -1
- package/esm/_staging/automation/index.d.ts +4 -1
- package/esm/_staging/automation/index.d.ts.map +1 -1
- package/esm/_staging/automation/index.js +9 -2
- package/esm/_staging/automation/index.js.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/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 +5 -5
- 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/layout/resizeWidthHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/resizeWidthHandler.js +31 -7
- package/esm/model/commandHandlers/layout/resizeWidthHandler.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 +7 -2
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +7 -3
- 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/filtering/useWidgetScheduledExportFilters.d.ts.map +1 -1
- package/esm/model/react/filtering/useWidgetScheduledExportFilters.js +1 -1
- package/esm/model/react/filtering/useWidgetScheduledExportFilters.js.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 +2 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.js +9 -2
- package/esm/model/store/filterContext/filterContextReducers.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 +1 -1
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +1 -1
- 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/hooks/useDefaultSelectedFiltersForExistingAutomation.d.ts.map +1 -1
- package/esm/presentation/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.js +5 -2
- package/esm/presentation/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.js.map +1 -1
- package/esm/presentation/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automationFilters/hooks/useValidateExistingAutomationFilters.js +16 -2
- package/esm/presentation/automationFilters/hooks/useValidateExistingAutomationFilters.js.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 +1 -1
- 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 +8 -10
- 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/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 +16 -18
- 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 +31 -19
- 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 +686 -1536
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +33 -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 +33 -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.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +4 -5
- 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 +54 -554
- package/esm/tsdoc-metadata.json +1 -1
- package/package.json +24 -23
- 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":"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,eAuJpC,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,7 +22,7 @@ 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
28
|
const onAttributeFilterChanged = useCallback((filter, displayAsLabel, isWorkingSelectionChange, isResultOfMigration) => {
|
|
@@ -38,13 +38,13 @@ 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 &&
|
|
47
|
+
if (isWorkingSelectionChange && isApplyAllAtOnceEnabledAndSet) {
|
|
48
48
|
dispatch(changeWorkingAttributeFilterSelection(localIdentifier, attributeElements, negativeSelection ? "NOT_IN" : "IN"));
|
|
49
49
|
}
|
|
50
50
|
else if (isResultOfMigration) {
|
|
@@ -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,EACrC,iCAAiC,EACjC,2CAA2C,EAC3C,mCAAmC,EACnC,uBAAuB,EACvB,iCAAiC,EACjC,0CAA0C,GAC7C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACH,uBAAuB,EACvB,2BAA2B,EAC3B,wBAAwB,EACxB,mBAAmB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB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AW,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;AAsTtE;;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
6
|
import { Message, UiButton, makeHorizontalKeyboardNavigation } 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, } 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,17 @@ 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 enableDashboardFiltersApplyModes = useDashboardSelector(selectEnableDashboardFiltersApplyModes);
|
|
29
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
31
30
|
const isInEditMode = useDashboardSelector(selectIsInEditMode);
|
|
32
31
|
const { showExecutionTimestampMessage, formattedDate, onShowCurrentTimestampDashboard } = useExecutionTimestampMessage();
|
|
33
32
|
const dispatch = useDashboardDispatch();
|
|
34
33
|
const applyAllDashboardFilters = useCallback(() => {
|
|
35
34
|
dispatch(applyFilterContextWorkingSelection());
|
|
36
35
|
}, [dispatch]);
|
|
36
|
+
const configurationStyle = useMemo(() => ({
|
|
37
|
+
alignItems: isApplyAllAtOnceEnabledAndSet ? "center" : undefined,
|
|
38
|
+
paddingRight: isApplyAllAtOnceEnabledAndSet ? "10px" : undefined,
|
|
39
|
+
}), [isApplyAllAtOnceEnabledAndSet]);
|
|
37
40
|
const intl = useIntl();
|
|
38
41
|
const [expandedAutomatically, setExpandedAutomatically] = useState(false);
|
|
39
42
|
const onContainerFocus = useCallback(() => {
|
|
@@ -55,23 +58,16 @@ const DefaultFilterBarContainerCore = ({ children }) => {
|
|
|
55
58
|
React.createElement("div", { style: { height }, className: cx("dash-filters-visible", {
|
|
56
59
|
scrollable: scrollable,
|
|
57
60
|
"s-dash-filters-visible-all": isFilterBarExpanded,
|
|
58
|
-
"apply-all-at-once":
|
|
61
|
+
"apply-all-at-once": isApplyAllAtOnceEnabledAndSet,
|
|
59
62
|
}) },
|
|
60
63
|
React.createElement(AllFiltersContainer, { setCalculatedRows: setCalculatedRows }, children),
|
|
61
64
|
React.createElement(FiltersRows, { rows: rows }),
|
|
62
|
-
React.createElement("div", { className: "filter-bar-configuration", style:
|
|
63
|
-
|
|
64
|
-
paddingRight: enableDashboardFiltersApplyModes ? "10px" : undefined,
|
|
65
|
-
} },
|
|
66
|
-
filtersApplyMode.mode === "ALL_AT_ONCE" &&
|
|
67
|
-
enableDashboardFiltersApplyModes &&
|
|
68
|
-
isWorkingFilterContextChanged ? (React.createElement(UiButton, { label: intl.formatMessage({ id: "apply" }), variant: "primary", onClick: applyAllDashboardFilters })) : null,
|
|
65
|
+
React.createElement("div", { className: "filter-bar-configuration", style: configurationStyle },
|
|
66
|
+
isApplyAllAtOnceEnabledAndSet && isWorkingFilterContextChanged ? (React.createElement(UiButton, { label: intl.formatMessage({ id: "apply" }), variant: "primary", onClick: applyAllDashboardFilters })) : null,
|
|
69
67
|
isFilterViewsFeatureFlagEnabled ? React.createElement(FilterViews, null) : null)),
|
|
70
68
|
React.createElement(ShowAllFiltersButton, { isFilterBarExpanded: isFilterBarExpanded, isVisible: rows.length > 1, onToggle: (isExpanded) => setFilterBarExpanded(isExpanded) }),
|
|
71
69
|
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" } },
|
|
70
|
+
isWorkingFilterContextChanged && isApplyAllAtOnceEnabledAndSet ? (React.createElement("div", { className: "filters-message", style: { marginTop: rows.length > 1 ? "35px" : "10px" } },
|
|
75
71
|
React.createElement(Message, { type: "progress" },
|
|
76
72
|
React.createElement(FormattedMessage, { id: "filterBar.unappliedFiltersNotification", values: {
|
|
77
73
|
link: (chunks) => (React.createElement("strong", null,
|
|
@@ -91,6 +87,21 @@ const DefaultFilterBarContainerCore = ({ children }) => {
|
|
|
91
87
|
const AllFiltersContainer = ({ setCalculatedRows, children }) => {
|
|
92
88
|
const ref = useRef(null);
|
|
93
89
|
const rowCalculator = useRowsCalculator(ref);
|
|
90
|
+
const prevDimensions = useRef(null);
|
|
91
|
+
const handleResize = useCallback((dimensions) => {
|
|
92
|
+
const areBoundsEqual = (prevBounds, currentBounds) => {
|
|
93
|
+
return (prevBounds?.width === currentBounds?.width && prevBounds?.height === currentBounds?.height);
|
|
94
|
+
};
|
|
95
|
+
// Only call setCalculatedRows when dimensions actually change
|
|
96
|
+
if (!prevDimensions.current ||
|
|
97
|
+
!areBoundsEqual(prevDimensions.current.bounds, dimensions.bounds)) {
|
|
98
|
+
setCalculatedRows(rowCalculator(dimensions));
|
|
99
|
+
prevDimensions.current = dimensions;
|
|
100
|
+
}
|
|
101
|
+
}, [rowCalculator, setCalculatedRows]);
|
|
102
|
+
return (React.createElement(Measure, { bounds: true, innerRef: (rf) => (ref.current = rf), onResize: handleResize }, ({ measureRef }) => React.createElement(MeasuredDiv, { measureRef: measureRef }, children)));
|
|
103
|
+
};
|
|
104
|
+
const MeasuredDiv = ({ measureRef, children }) => {
|
|
94
105
|
const containerRef = useRef(null);
|
|
95
106
|
const [activeFilterIndex, setActiveFilterIndex] = useState(null);
|
|
96
107
|
const getActiveIndexAndFilterElements = () => {
|
|
@@ -147,11 +158,12 @@ const AllFiltersContainer = ({ setCalculatedRows, children }) => {
|
|
|
147
158
|
}
|
|
148
159
|
},
|
|
149
160
|
});
|
|
161
|
+
const setRefs = useCallback((node) => {
|
|
162
|
+
measureRef(node);
|
|
163
|
+
containerRef.current = node;
|
|
164
|
+
}, [measureRef]);
|
|
150
165
|
const intl = useIntl();
|
|
151
|
-
return (React.createElement(
|
|
152
|
-
measureRef(ref);
|
|
153
|
-
containerRef.current = ref;
|
|
154
|
-
}, onKeyDown: keyboardNavigation }, children))));
|
|
166
|
+
return (React.createElement("div", { className: "dash-filters-all", role: "region", "aria-label": intl.formatMessage({ id: "filterBar.label" }), ref: setRefs, onKeyDown: keyboardNavigation }, children));
|
|
155
167
|
};
|
|
156
168
|
const FiltersRows = ({ rows }) => {
|
|
157
169
|
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 })))))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultFilterBarContainer.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBarContainer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultFilterBarContainer.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/DefaultFilterBarContainer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,cAA+B,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,OAAO,E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sx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/FilterBar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,eAAe,KAAG,GAAG,CAAC,OAItD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenFilterBar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/HiddenFilterBar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HiddenFilterBar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/HiddenFilterBar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,eAAe,KAAG,GAAG,CAAC,OAAO,GAAG,IAEvE,CAAC"}
|
|
@@ -5,7 +5,7 @@ import cx from "classnames";
|
|
|
5
5
|
import { v4 as uuid } from "uuid";
|
|
6
6
|
import { DropdownButton, useMediaQuery, useIdPrefixed, UiReturnFocusOnUnmount, } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { ConfigurationBubble } from "../../../widget/common/configuration/ConfigurationBubble.js";
|
|
8
|
-
import { useDashboardSelector, selectFilterViews, selectIsInEditMode, useDashboardDispatch, uiActions, selectDisableFilterViews, selectIsFilterViewsDialogOpen, selectFilterViewsDialogMode, selectIsNewDashboard, selectCanCreateFilterView, useDashboardUserInteraction, selectIsReadOnly,
|
|
8
|
+
import { useDashboardSelector, selectFilterViews, selectIsInEditMode, useDashboardDispatch, uiActions, selectDisableFilterViews, selectIsFilterViewsDialogOpen, selectFilterViewsDialogMode, selectIsNewDashboard, selectCanCreateFilterView, useDashboardUserInteraction, selectIsReadOnly, selectIsApplyFiltersAllAtOnceEnabledAndSet, } from "../../../../model/index.js";
|
|
9
9
|
import { FilterViewsList } from "./FilterViewsList.js";
|
|
10
10
|
import { useFilterViewsToastMessages } from "./useFilterViewsToastMessages.js";
|
|
11
11
|
import { AddFilterView } from "./AddFilterView.js";
|
|
@@ -52,7 +52,7 @@ export const FilterViews = () => {
|
|
|
52
52
|
const isNewDashboard = useDashboardSelector(selectIsNewDashboard);
|
|
53
53
|
const canCreateFilterView = useDashboardSelector(selectCanCreateFilterView);
|
|
54
54
|
const isMobile = useMediaQuery("mobileDevice");
|
|
55
|
-
const
|
|
55
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
56
56
|
const { toggleDialog, openAddDialog, openListDialog, closeDialog } = useCallbacks(isDialogOpen, filterViews.length);
|
|
57
57
|
useFilterViewsToastMessages();
|
|
58
58
|
// filter views dropdown should be visible when user looses the permission but had some views created
|
|
@@ -67,7 +67,7 @@ export const FilterViews = () => {
|
|
|
67
67
|
const dropdownAnchorClassName = useMemo(() => `gd-filter-views__dropdown-anchor-${uuid()}`, []);
|
|
68
68
|
const buttonClassNames = cx("gd-filter-views-button", dropdownAnchorClassName, "gd-button-large", {
|
|
69
69
|
"gd-filter-views-button--open": isDialogOpen,
|
|
70
|
-
"deprecated-margin-top": !
|
|
70
|
+
"deprecated-margin-top": !isApplyAllAtOnceEnabledAndSet,
|
|
71
71
|
});
|
|
72
72
|
const triggerId = useIdPrefixed("FilterViewsTrigger");
|
|
73
73
|
const isReadOnly = useDashboardSelector(selectIsReadOnly);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterViews.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACH,cAAc,EACd,aAAa,EAEb,aAAa,EACb,sBAAsB,GACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAClG,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"FilterViews.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACH,cAAc,EACd,aAAa,EAEb,aAAa,EACb,sBAAsB,GACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAClG,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,gBAAgB,EAChB,0CAA0C,GAC7C,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,2BAA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C,CACZ,oBAAC,sBAAsB,IAAC,aAAa,EAAE,SAAS;YAC5C,oBAAC,mBAAmB,IAChB,UAAU,EAAC,yBAAyB,EACpC,OAAO,EAAE,WAAW,EACpB,aAAa,QACb,OAAO,EAAE,IAAI,uBAAuB,EAAE,EACtC,WAAW,EAAE,mBAAmB,IAE/B,UAAU,KAAK,KAAK,CAAC,CAAC,CAAC,CACpB,oBAAC,aAAa,IAAC,OAAO,EAAE,cAAc,GAAI,CAC7C,CAAC,CAAC,CAAC,CACA,oBAAC,eAAe,IACZ,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,aAAa,EACvB,OAAO,EAAE,WAAW,GACtB,CACL,CACiB,CACD,CAC5B,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFilterBarState.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/hooks/useFilterBarState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFilterBarState.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/hooks/useFilterBarState.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAyB,MAAM,wBAAwB,CAAC;AAa/E,wBAAgB,iBAAiB;;;;;;uCAUZ,OAAO;;;;EAc3B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// (C) 2021-
|
|
2
|
-
import { useState, useEffect } from "react";
|
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
|
2
|
+
import { useState, useEffect, useCallback } from "react";
|
|
3
3
|
import { CalculatedRowsDefault } from "./useRowsCalculator.js";
|
|
4
4
|
import { useDashboardDispatch, useDashboardSelector, selectFilterBarExpanded, uiActions, } from "../../../../model/index.js";
|
|
5
5
|
//NOTE: This 1px is size of border bottom on filter bar
|
|
@@ -12,7 +12,7 @@ export function useFilterBarState() {
|
|
|
12
12
|
const dispatch = useDashboardDispatch();
|
|
13
13
|
const isFilterBarExpanded = useDashboardSelector(selectFilterBarExpanded);
|
|
14
14
|
const scrollable = useScrollable(isFilterBarExpanded);
|
|
15
|
-
const setFilterBarExpanded = (isExpanded) => dispatch(uiActions.setFilterBarExpanded(isExpanded));
|
|
15
|
+
const setFilterBarExpanded = useCallback((isExpanded) => dispatch(uiActions.setFilterBarExpanded(isExpanded)), [dispatch]);
|
|
16
16
|
const innerHeight = isFilterBarExpanded ? expandedHeight : collapsedHeight;
|
|
17
17
|
return {
|
|
18
18
|
rows,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFilterBarState.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/hooks/useFilterBarState.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useFilterBarState.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/hooks/useFilterBarState.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAkB,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EACH,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,SAAS,GACZ,MAAM,4BAA4B,CAAC;AAEpC,uDAAuD;AACvD,MAAM,WAAW,GAAG,CAAC,CAAC;AACtB,qDAAqD;AACrD,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAE7B,MAAM,UAAU,iBAAiB;IAC7B,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAiB,qBAAqB,CAAC,CAAC;IAC5F,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,GAAG,cAAc,CAAC;IAEjE,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAA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terBar/hooks/useResetFiltersButton.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useResetFiltersButton.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/hooks/useResetFiltersButton.ts"],"names":[],"mappings":"AAkDA;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,QAAO;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,KAAK,GAAG,aAAa,CAAC;IACjC,YAAY,EAAE,MAAM,IAAI,CAAC;CAmJ5B,CAAC"}
|
|
@@ -3,9 +3,18 @@ import React from "react";
|
|
|
3
3
|
import isEqual from "lodash/isEqual.js";
|
|
4
4
|
import partition from "lodash/partition.js";
|
|
5
5
|
import difference from "lodash/difference.js";
|
|
6
|
-
import { dashboardFilterLocalIdentifier, isDashboardAttributeFilter, isDashboardCommonDateFilter, isDashboardDateFilter, newAllTimeDashboardDateFilter, } from "@gooddata/sdk-model";
|
|
7
|
-
import { changeFilterContextSelection, removeAttributeFilters, selectEnableKDCrossFiltering, selectFilterContextFilters, selectIsInEditMode, selectOriginalFilterContextFilters, selectSupportsCrossFiltering, drillActions, useDashboardDispatch, useDashboardSelector, useDashboardUserInteraction, selectDisableDashboardCrossFiltering, selectDisableDashboardUserFilterReset, selectIsDisabledCrossFiltering, selectIsDisableUserFilterReset, selectIsWorkingFilterContextChanged, resetFilterContextWorkingSelection,
|
|
6
|
+
import { dashboardFilterLocalIdentifier, isDashboardAttributeFilter, isDashboardCommonDateFilter, isDashboardDateFilter, newAllTimeDashboardDateFilter, isAllTimeDashboardDateFilter, } from "@gooddata/sdk-model";
|
|
7
|
+
import { changeFilterContextSelection, removeAttributeFilters, selectEnableKDCrossFiltering, selectFilterContextFilters, selectIsInEditMode, selectOriginalFilterContextFilters, selectSupportsCrossFiltering, drillActions, useDashboardDispatch, useDashboardSelector, useDashboardUserInteraction, selectDisableDashboardCrossFiltering, selectDisableDashboardUserFilterReset, selectIsDisabledCrossFiltering, selectIsDisableUserFilterReset, selectIsWorkingFilterContextChanged, resetFilterContextWorkingSelection, selectEnableDateFilterIdentifiers, selectIsApplyFiltersAllAtOnceEnabledAndSet, } from "../../../../model/index.js";
|
|
8
8
|
import { generateDateFilterLocalIdentifier } from "@gooddata/sdk-backend-base";
|
|
9
|
+
const normalizeFiltersForComparison = (filters) => {
|
|
10
|
+
// Remove any "all time" common date filters to normalize the comparison
|
|
11
|
+
return filters.filter((filter) => {
|
|
12
|
+
if (isDashboardCommonDateFilter(filter)) {
|
|
13
|
+
return !isDashboardDateFilter(filter) || !isAllTimeDashboardDateFilter(filter);
|
|
14
|
+
}
|
|
15
|
+
return true;
|
|
16
|
+
});
|
|
17
|
+
};
|
|
9
18
|
/**
|
|
10
19
|
* @returns tuple with two items:
|
|
11
20
|
* - a boolean specifying if the reset option makes sense for a given state (i.e. if the button should be visible)
|
|
@@ -24,8 +33,7 @@ export const useResetFiltersButton = () => {
|
|
|
24
33
|
const disableUserFilterResetByConfig = useDashboardSelector(selectIsDisableUserFilterReset);
|
|
25
34
|
const disableUserFilterReset = useDashboardSelector(selectDisableDashboardUserFilterReset);
|
|
26
35
|
const isWorkingFilterContextChanged = useDashboardSelector(selectIsWorkingFilterContextChanged);
|
|
27
|
-
const
|
|
28
|
-
const dashboardFiltersApplyMode = useDashboardSelector(selectDashboardFiltersApplyMode).mode;
|
|
36
|
+
const isApplyAllAtOnceEnabledAndSet = useDashboardSelector(selectIsApplyFiltersAllAtOnceEnabledAndSet);
|
|
29
37
|
const enableDateFilterIdentifiers = useDashboardSelector(selectEnableDateFilterIdentifiers);
|
|
30
38
|
const dispatch = useDashboardDispatch();
|
|
31
39
|
const { filterContextStateReset } = useDashboardUserInteraction();
|
|
@@ -59,22 +67,29 @@ export const useResetFiltersButton = () => {
|
|
|
59
67
|
})
|
|
60
68
|
: currentFilters;
|
|
61
69
|
}, [enableDateFilterIdentifiers, originalFilters, currentFilters]);
|
|
70
|
+
// Normalize filters for comparison to handle "all time" common date filters consistently
|
|
71
|
+
const normalizedCurrentFilters = React.useMemo(() => {
|
|
72
|
+
return normalizeFiltersForComparison(sanitizedCurrentFilters);
|
|
73
|
+
}, [sanitizedCurrentFilters]);
|
|
74
|
+
const normalizedOriginalFilters = React.useMemo(() => {
|
|
75
|
+
return normalizeFiltersForComparison(originalFilters);
|
|
76
|
+
}, [originalFilters]);
|
|
62
77
|
const canReset = React.useMemo(() => {
|
|
63
78
|
return (!isEditMode &&
|
|
64
|
-
((!isEqual(
|
|
79
|
+
((!isEqual(normalizedCurrentFilters, normalizedOriginalFilters) &&
|
|
65
80
|
// If the cross filter add some filters, we should allow the reset
|
|
66
81
|
((!disableUserFilterReset && !disableUserFilterResetByConfig) ||
|
|
67
82
|
newlyAddedFiltersLocalIds.length > 0)) ||
|
|
68
|
-
(!!isWorkingFilterContextChanged &&
|
|
83
|
+
(!!isWorkingFilterContextChanged && isApplyAllAtOnceEnabledAndSet)));
|
|
69
84
|
}, [
|
|
70
85
|
isEditMode,
|
|
71
|
-
|
|
72
|
-
|
|
86
|
+
normalizedCurrentFilters,
|
|
87
|
+
normalizedOriginalFilters,
|
|
73
88
|
disableUserFilterReset,
|
|
74
89
|
disableUserFilterResetByConfig,
|
|
75
90
|
newlyAddedFiltersLocalIds.length,
|
|
76
91
|
isWorkingFilterContextChanged,
|
|
77
|
-
|
|
92
|
+
isApplyAllAtOnceEnabledAndSet,
|
|
78
93
|
]);
|
|
79
94
|
const resetFilters = React.useCallback(() => {
|
|
80
95
|
if (!canReset) {
|
|
@@ -84,7 +99,7 @@ export const useResetFiltersButton = () => {
|
|
|
84
99
|
if (!disableUserFilterReset) {
|
|
85
100
|
// Normalize filters to include "All time" date filter
|
|
86
101
|
const [[commonDateFilter], otherFilters] = partition(originalFilters, isDashboardCommonDateFilter);
|
|
87
|
-
if (
|
|
102
|
+
if (isApplyAllAtOnceEnabledAndSet) {
|
|
88
103
|
dispatch(resetFilterContextWorkingSelection());
|
|
89
104
|
}
|
|
90
105
|
// Dispatch a command, so it goes through the proper piping and trigger all the events
|
|
@@ -117,6 +132,8 @@ export const useResetFiltersButton = () => {
|
|
|
117
132
|
disableCrossFiltering,
|
|
118
133
|
disableUserFilterReset,
|
|
119
134
|
disableCrossFilteringByConfig,
|
|
135
|
+
enableDateFilterIdentifiers,
|
|
136
|
+
isApplyAllAtOnceEnabledAndSet,
|
|
120
137
|
]);
|
|
121
138
|
return {
|
|
122
139
|
canReset,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResetFiltersButton.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/hooks/useResetFiltersButton.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAC5C,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EACH,8BAA8B,EAG9B,0BAA0B,EAC1B,2BAA2B,EAC3B,qBAAqB,EACrB,6BAA6B,
|
|
1
|
+
{"version":3,"file":"useResetFiltersButton.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/hooks/useResetFiltersButton.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAC5C,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EACH,8BAA8B,EAG9B,0BAA0B,EAC1B,2BAA2B,EAC3B,qBAAqB,EACrB,6BAA6B,EAE7B,4BAA4B,GAC/B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACH,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,EAClB,kCAAkC,EAClC,4BAA4B,EAC5B,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,E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FAA+F;QAC/F,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC1B,sDAAsD;YACtD,MAAM,CAAC,CAAC,gBAAgB,CAAC,EAAE,YAAY,CAAC,GAAG,SAAS,CAChD,eAAe,EACf,2BAA2B,CACuD,CAAC;YAEvF,IAAI,6BAA6B,EAAE,CAAC;gBAChC,QAAQ,CAAC,kCAAkC,EAAE,CAAC,CAAC;YACnD,CAAC;YACD,sFAAsF;YACtF,QAAQ,CACJ,4BAA4B,CAAC;gBACzB,gBAAgB;oBACZ,6BAA6B,CACzB,SAAS,EACT,2BAA2B;wBACvB,CAAC,CAAC,iCAAiC,CAAC,CAAC,EAAE,SAAS,CAAC;wBACjD,CAAC,CAAC,SAAS,CAClB;gBACL,GAAG,YAAY;aAClB,CAAC,CACL,CAAC;QACN,CAAC;QAED,4GAA4G;QAC5G,IACI,sBAAsB;YACtB,sBAAsB;YACtB,CAAC,qBAAqB;YACtB,CAAC,6BAA6B,EAChC,CAAC;YACC,QAAQ,CAAC,sBAAsB,CAAC,yBAAyB,CAAC,CAAC,CAAC;YAC5D,QAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,CAAC,CAAC;QACjD,CAAC;QACD,uCAAuC;QACvC,uBAAuB,EAAE,CAAC;IAC9B,CAAC,EAAE;QACC,QAAQ;QACR,eAAe;QACf,QAAQ;QACR,sBAAsB;QACtB,sBAAsB;QACtB,uBAAuB;QACvB,yBAAyB;QACzB,qBAAqB;QACrB,sBAAsB;QACtB,6BAA6B;QAC7B,2BAA2B;QAC3B,6BAA6B;KAChC,CAAC,CAAC;IAEH,OAAO;QACH,QAAQ;QACR,SAAS,EAAE,sBAAsB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK;QACzD,YAAY;KACf,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/presentation/filterBar/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACnF,OAAO,EACH,kCAAkC,EAElC,6BAA6B,EAGhC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAEH,uBAAuB,EAI1B,MAAM,+CAA+C,CAAC;AAMvD,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/presentation/filterBar/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACnF,OAAO,EACH,kCAAkC,EAElC,6BAA6B,EAGhC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAEH,uBAAuB,EAI1B,MAAM,+CAA+C,CAAC;AAMvD,eAAO,MAAM,iBAAiB,GAC1B,MAAM,cAAc,GAAG,SAAS,EAChC,cAAc,OAAO,EACrB,oCAAoC,OAAO,EAC3C,MAAM,SAAS,KAChB,uBAAuB,GAAG,SA0B5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC5B,kBAAkB,uBAAuB,EACzC,wBAAwB,6BAA6B,EACrD,iCAAiC,GAAG,CAAC,MAAM,EAAE,kCAAkC,CAAC,EAChF,4BAA4B,GAAG,CAAC,MAAM,EAAE,6BAA6B,CAAC,YAazE,CAAC"}
|