@gooddata/sdk-ui-dashboard 11.70.0-alpha.3 → 11.70.0-alpha.5
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 +49 -49
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/automation/index.d.ts +1 -0
- package/esm/_staging/automation/index.d.ts.map +1 -1
- package/esm/_staging/automation/index.js +16 -5
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts +9 -3
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts.map +1 -1
- package/esm/_staging/dashboard/absoluteGranularityDateFilters.js +22 -13
- package/esm/_staging/dashboard/dashboardFilterContext.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterContext.js +11 -1
- package/esm/_staging/dashboard/dashboardFilterContextValidation.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterContextValidation.js +9 -9
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts +3 -3
- package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardFilterConverter.js +14 -2
- package/esm/_staging/dashboard/parameterizedDateFilters.d.ts +9 -0
- package/esm/_staging/dashboard/parameterizedDateFilters.d.ts.map +1 -1
- package/esm/_staging/dashboard/parameterizedDateFilters.js +27 -0
- package/esm/_staging/exportUtils/filterUtils.d.ts.map +1 -1
- package/esm/_staging/exportUtils/filterUtils.js +5 -3
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.js +9 -7
- package/esm/index.d.ts +8 -8
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +5 -5
- package/esm/kdaDialog/dialog/KdaDialog.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/KdaDialog.js +15 -11
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts +17 -0
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts.map +1 -1
- package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.js +44 -2
- package/esm/model/DashboardTester.d.ts.map +1 -1
- package/esm/model/DashboardTester.js +0 -2
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts +2 -0
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +6 -1
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +7 -3
- package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.js +9 -4
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +23 -11
- package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.js +7 -8
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +6 -3
- package/esm/model/commandHandlers/drill/common/sourceDrillFilters.js +2 -2
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +18 -6
- package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.js +3 -5
- package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.js +3 -5
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +3 -5
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +21 -42
- package/esm/model/commandHandlers/filterContext/common.d.ts +2 -2
- package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/common.js +16 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts +2 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +56 -34
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +8 -3
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts +8 -0
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.js +42 -9
- package/esm/model/commandHandlers/filterContext/tabSync/writtenTargets.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/tabSync/writtenTargets.js +2 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +6 -1
- package/esm/model/commandHandlers/layout/undoLayoutChangesHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/undoLayoutChangesHandler.js +3 -1
- package/esm/model/commandHandlers/parameters/addParametersHandler.d.ts +6 -0
- package/esm/model/commandHandlers/parameters/addParametersHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/addParametersHandler.js +43 -0
- package/esm/model/commandHandlers/parameters/removeParametersHandler.d.ts +6 -0
- package/esm/model/commandHandlers/parameters/removeParametersHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/removeParametersHandler.js +29 -0
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +10 -4
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js +3 -1
- package/esm/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.js +2 -0
- package/esm/model/commandHandlers/widgets/refreshInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/refreshInsightWidgetHandler.js +2 -0
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/filters.d.ts +88 -4
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +33 -21
- package/esm/model/commands/index.d.ts +3 -3
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/parameters.d.ts +78 -1
- package/esm/model/commands/parameters.d.ts.map +1 -1
- package/esm/model/commands/parameters.js +47 -0
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/filters.d.ts +70 -1
- package/esm/model/events/filters.d.ts.map +1 -1
- package/esm/model/events/filters.js +36 -0
- package/esm/model/events/index.d.ts +3 -3
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/parameters.d.ts +43 -1
- package/esm/model/events/parameters.d.ts.map +1 -1
- package/esm/model/events/parameters.js +26 -0
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.js +5 -0
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.d.ts.map +1 -1
- package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.js +5 -0
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js +0 -2
- package/esm/model/react/useWidgetFilters.d.ts.map +1 -1
- package/esm/model/react/useWidgetFilters.js +5 -2
- package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
- package/esm/model/store/filtering/dashboardFilterSelectors.js +10 -2
- package/esm/model/store/meta/metaSelectors.js +3 -3
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +31 -2
- package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextReducers.js +66 -12
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts +29 -3
- package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextSelectors.js +29 -3
- package/esm/model/store/tabs/filterContext/filterContextState.d.ts +2 -2
- package/esm/model/store/tabs/filterContext/filterContextState.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterContextUtils.js +80 -24
- package/esm/model/store/tabs/filterContext/filterSync.d.ts +7 -1
- package/esm/model/store/tabs/filterContext/filterSync.d.ts.map +1 -1
- package/esm/model/store/tabs/filterContext/filterSync.js +58 -21
- package/esm/model/store/tabs/layout/layoutSelectors.js +2 -2
- package/esm/model/utils/widgetFilters.js +2 -2
- package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
- package/esm/plugins/customizationApis/customizationBuilder.js +3 -1
- package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts +4 -3
- package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/dateFiltersCustomizer.js +23 -41
- package/esm/plugins/customizer.d.ts +16 -1
- package/esm/plugins/customizer.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/AlertingConnector.js +14 -1
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +14 -1
- package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.d.ts +8 -0
- package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.d.ts.map +1 -0
- package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.js +16 -0
- package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.d.ts +13 -0
- package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.d.ts.map +1 -0
- package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.js +29 -0
- package/esm/presentation/automations/shared/exportUtils/filterUtils.d.ts.map +1 -1
- package/esm/presentation/automations/shared/exportUtils/filterUtils.js +4 -2
- package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
- package/esm/presentation/automations/shared/utils/automationUtils.js +10 -4
- package/esm/presentation/componentDefinition/types.d.ts +3 -3
- package/esm/presentation/componentDefinition/types.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.js +56 -20
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -2
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +8 -3
- package/esm/presentation/dashboard/types.d.ts +12 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -2
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -1
- package/esm/presentation/dashboardContexts/types.d.ts +13 -2
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts +4 -4
- package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useFilterDeleteDrop.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useFilterDeleteDrop.js +6 -4
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +10 -2
- package/esm/presentation/drill/DrillSelect/WithDrillSelect.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/WithDrillSelect.js +15 -7
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.js +62 -6
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +3 -2
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts +2 -2
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +30 -14
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.d.ts +2 -2
- package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.d.ts.map +1 -1
- package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.d.ts +7 -0
- package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.d.ts.map +1 -0
- package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.js +40 -0
- package/esm/presentation/filterBar/dateFilter/types.d.ts +43 -1
- package/esm/presentation/filterBar/dateFilter/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +13 -5
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +3 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +2 -2
- package/esm/presentation/filterBar/filterBar/ShowAllFiltersButton.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/ShowAllFiltersButton.js +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +21 -3
- package/esm/presentation/filterBar/filterBar/types.d.ts +3 -3
- package/esm/presentation/filterBar/filterBar/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts +3 -3
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.js +3 -3
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.js +11 -13
- package/esm/presentation/insightEditor/filterContext/dateFilters.d.ts.map +1 -1
- package/esm/presentation/insightEditor/filterContext/dateFilters.js +2 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +52 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +52 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +3 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +2 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +2 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +2 -0
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +33 -6
- package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.d.ts.map +1 -1
- package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.js +2 -2
- package/esm/presentation/widget/description/DescriptionClickTrigger.d.ts.map +1 -1
- package/esm/presentation/widget/description/DescriptionClickTrigger.js +19 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +19 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +12 -5
- package/esm/sdk-ui-dashboard.d.ts +451 -16
- package/package.json +23 -23
- package/styles/css/filterBar.css +5 -0
- package/styles/css/filterBar.css.map +1 -1
- package/styles/css/main.css +6 -3
- package/styles/css/main.css.map +1 -1
- package/styles/css/timezoneIndicator.css +1 -3
- package/styles/css/timezoneIndicator.css.map +1 -1
- package/styles/scss/filterBar.scss +4 -0
- package/styles/scss/timezoneIndicator.scss +1 -3
- package/esm/assets/timezone.svg +0 -1
- package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts +0 -3
- package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts.map +0 -1
- package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.js +0 -26
|
@@ -3,6 +3,7 @@ import { pick } from "lodash-es";
|
|
|
3
3
|
import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilterContextItem, isFilterOfAnyType, } from "@gooddata/sdk-model";
|
|
4
4
|
import { _isEqual, _omit } from "@gooddata/util";
|
|
5
5
|
import { assertNoAbsoluteGranularityDateFilter } from "../../../../_staging/dashboard/absoluteGranularityDateFilters.js";
|
|
6
|
+
import { assertNoDashboardParameterizedDateFilter } from "../../../../_staging/dashboard/parameterizedDateFilters.js";
|
|
6
7
|
export const isDashboardAutomation = (automation) => {
|
|
7
8
|
if (!automation) {
|
|
8
9
|
return false;
|
|
@@ -52,8 +53,9 @@ export const getAutomationDashboardFilters = (automation) => {
|
|
|
52
53
|
const filters = automation.exportDefinitions?.find((exportDefinition) => {
|
|
53
54
|
return isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload);
|
|
54
55
|
})?.requestPayload?.content.filters;
|
|
55
|
-
// The filter below drops absolute date filters
|
|
56
|
+
// The filter below drops absolute granularity and parameterized date filters, so saving would lose them.
|
|
56
57
|
assertNoAbsoluteGranularityDateFilter(filters);
|
|
58
|
+
assertNoDashboardParameterizedDateFilter(filters);
|
|
57
59
|
return filters?.filter((f) => isFilterContextItem(f));
|
|
58
60
|
};
|
|
59
61
|
/**
|
|
@@ -67,8 +69,11 @@ export const getAutomationDashboardFiltersByTab = (automation) => {
|
|
|
67
69
|
const filtersByTab = automation.exportDefinitions?.find((exportDefinition) => {
|
|
68
70
|
return isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload);
|
|
69
71
|
})?.requestPayload?.content.filtersByTab;
|
|
70
|
-
// Tab filters go to the edit dialog as is, which cannot show
|
|
71
|
-
Object.values(filtersByTab ?? {}).forEach((filters) =>
|
|
72
|
+
// Tab filters go to the edit dialog as is, which cannot show granularity or parameterized date filters.
|
|
73
|
+
Object.values(filtersByTab ?? {}).forEach((filters) => {
|
|
74
|
+
assertNoAbsoluteGranularityDateFilter(filters);
|
|
75
|
+
assertNoDashboardParameterizedDateFilter(filters);
|
|
76
|
+
});
|
|
72
77
|
return filtersByTab;
|
|
73
78
|
};
|
|
74
79
|
export const getAutomationVisualizationFilters = (automation) => {
|
|
@@ -81,8 +86,9 @@ export const getAutomationVisualizationFilters = (automation) => {
|
|
|
81
86
|
const visualizationFilters = automation.exportDefinitions?.find((exportDefinition) => {
|
|
82
87
|
return isExportDefinitionVisualizationObjectRequestPayload(exportDefinition.requestPayload);
|
|
83
88
|
})?.requestPayload?.content.filters;
|
|
84
|
-
// The filter below drops absolute date filters
|
|
89
|
+
// The filter below drops absolute granularity and parameterized date filters, so saving would lose them.
|
|
85
90
|
assertNoAbsoluteGranularityDateFilter(visualizationFilters);
|
|
91
|
+
assertNoDashboardParameterizedDateFilter(visualizationFilters);
|
|
86
92
|
const filterContextItems = visualizationFilters?.filter((f) => isFilterContextItem(f));
|
|
87
93
|
return {
|
|
88
94
|
executionFilters: (executionFilters ?? []).length > 0 ? executionFilters : undefined,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type ComponentType } from "react";
|
|
2
2
|
import { type IDashboardLayout, type IInsightWidget, type IRichTextWidget, type IVisualizationSwitcherWidget } from "@gooddata/sdk-model";
|
|
3
3
|
import type { ICustomWidget } from "../../model/types/layoutTypes.js";
|
|
4
|
-
import { type AttributeFilterComponentProvider, type DashboardLayoutComponentProvider, type
|
|
4
|
+
import { type AttributeFilterComponentProvider, type DashboardLayoutComponentProvider, type DateFilterOfAnyTypeComponentProvider, type InsightComponentProvider, type RichTextComponentProvider, type VisualizationSwitcherComponentProvider, type WidgetComponentProvider } from "../dashboardContexts/types.js";
|
|
5
5
|
import { type AttributeFilterDraggableItem, type CustomDraggableItem, type DashboardLayoutDraggableItem, type DateFilterDraggableItem, type DraggableContentItemType, type IWrapCreatePanelItemWithDragComponent, type InsightDraggableItem, type KpiDraggableItem, type RichTextDraggableItem, type VisualizationSwitcherDraggableItem } from "../dragAndDrop/types.js";
|
|
6
6
|
import { type IDashboardAttributeFilterPlaceholderProps, type IDashboardAttributeFilterProps } from "../filterBar/attributeFilter/types.js";
|
|
7
|
-
import { type
|
|
7
|
+
import { type IDashboardDateFilterOfAnyTypeProps } from "../filterBar/dateFilter/types.js";
|
|
8
8
|
import { type IDashboardLayoutProps as IDashboardNestedLayoutProps } from "../widget/dashboardLayout/types.js";
|
|
9
9
|
import { type IDashboardInsightProps } from "../widget/insight/types.js";
|
|
10
10
|
import { type IDashboardRichTextProps } from "../widget/richText/types.js";
|
|
@@ -269,7 +269,7 @@ export type AttributeFilterComponentSet = ICustomComponentBase<IDashboardAttribu
|
|
|
269
269
|
* Definition of date filter components
|
|
270
270
|
* @internal
|
|
271
271
|
*/
|
|
272
|
-
export type DateFilterComponentSet = ICustomComponentBase<
|
|
272
|
+
export type DateFilterComponentSet = ICustomComponentBase<IDashboardDateFilterOfAnyTypeProps, Parameters<DateFilterOfAnyTypeComponentProvider>> & DraggableComponent & CreatablePlaceholderComponent<IDashboardAttributeFilterPlaceholderProps> & // placeholder is shared with AF
|
|
273
273
|
CreatableByDragComponent;
|
|
274
274
|
/**
|
|
275
275
|
* Definition of Insight widget
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/componentDefinition/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACpC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACH,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/componentDefinition/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACpC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACH,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,uBAAuB,EAC/B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,E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,CAAC,GACnE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;AAEzC;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CACvD,qBAAqB,EACrB,UAAU,CAAC,uBAAuB,CAAC,CACtC,GACG,kBAAkB,GAClB,OAAO,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,GAC1C,OAAO,CAAC,wBAAwB,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,CACtC,mBAAmB,EAAE,yBAAyB,KAC7C,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteInsightDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeleteInsightDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,QAAQ,EAEb,KAAK,MAAM,EAKd,MAAM,qBAAqB,CAAC;AAuC7B;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,OAAO,EAAE,QAAQ,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAiGD,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,yBAAyB,2CA2K7F"}
|
package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
// (C) 2026 GoodData Corporation
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { FormattedMessage, defineMessages, useIntl } from "react-intl";
|
|
5
|
-
import { insightRef, insightTitle, serializeObjRef } from "@gooddata/sdk-model";
|
|
5
|
+
import { insightRef, insightTitle, objRefToString, serializeObjRef, } from "@gooddata/sdk-model";
|
|
6
6
|
import { useBackendStrict, useCancelablePromise, useWorkspaceStrict } from "@gooddata/sdk-ui";
|
|
7
7
|
import { ConfirmDialog, LoadingSpinner, Message, useToastMessage } from "@gooddata/sdk-ui-kit";
|
|
8
8
|
import { deleteInsight } from "../../../../model/commands/insightDelete.js";
|
|
@@ -11,6 +11,7 @@ import { useDashboardCommandProcessing } from "../../../../model/react/useDashbo
|
|
|
11
11
|
import { selectAccessibleDashboardsMap } from "../../../../model/store/accessibleDashboards/accessibleDashboardsSelectors.js";
|
|
12
12
|
import { selectIsInsightUsedByDashboard } from "../../../../model/store/insights/insightUsageSelectors.js";
|
|
13
13
|
import { selectDashboardId } from "../../../../model/store/meta/metaSelectors.js";
|
|
14
|
+
import { selectPermissions } from "../../../../model/store/permissions/permissionsSelectors.js";
|
|
14
15
|
const messages = defineMessages({
|
|
15
16
|
headline: { id: "deleteInsightDialog.headline" },
|
|
16
17
|
submit: { id: "delete" },
|
|
@@ -29,18 +30,46 @@ const messages = defineMessages({
|
|
|
29
30
|
showLess: { id: "deleteInsightDialog.usage.showLess" },
|
|
30
31
|
inaccessibleDashboards: { id: "deleteInsightDialog.inaccessibleDashboards" },
|
|
31
32
|
inaccessibleDashboardsOnly: { id: "deleteInsightDialog.inaccessibleDashboardsOnly" },
|
|
33
|
+
inaccessibleDocuments: { id: "deleteInsightDialog.inaccessibleDocuments" },
|
|
34
|
+
inaccessibleDocumentsOnly: { id: "deleteInsightDialog.inaccessibleDocumentsOnly" },
|
|
32
35
|
usedOnThisDashboard: { id: "deleteInsightDialog.usedOnThisDashboard" },
|
|
33
36
|
success: { id: "deleteInsightDialog.success" },
|
|
34
37
|
error: { id: "deleteInsightDialog.error" },
|
|
35
38
|
});
|
|
36
39
|
const strong = (chunks) => _jsx("strong", { children: chunks });
|
|
37
|
-
function UsageWarning({ usage, titles, inaccessibleCount
|
|
40
|
+
function UsageWarning({ usage, titles, inaccessibleCount, inaccessible, inaccessibleOnly, }) {
|
|
38
41
|
const intl = useIntl();
|
|
39
42
|
const [isExpanded, setIsExpanded] = useState(false);
|
|
40
43
|
const count = titles.length + inaccessibleCount;
|
|
41
|
-
return (_jsxs(Message, { type: "warning", className: "gd-delete-insight-dialog__usage s-delete-insight-dialog-usage", children: [_jsxs("div", { className: "gd-delete-insight-dialog__usage-header", children: [_jsx("span", { children: _jsx(FormattedMessage, { ...usage, values: { count, strong } }) }), _jsx("button", { type: "button", className: "gd-delete-insight-dialog__usage-toggle s-delete-insight-dialog-usage-toggle", "aria-expanded": isExpanded, onClick: () => setIsExpanded((expanded) => !expanded), children: intl.formatMessage(isExpanded ? messages.showLess : messages.showMore) })] }), isExpanded ? (_jsxs("div", { className: "gd-delete-insight-dialog__usage-details", children: [titles.length > 0 ? (_jsx("ul", { className: "gd-delete-insight-dialog__usage-list", children: titles.map((itemTitle, index) => (_jsx("li", { children: itemTitle }, index))) })) : null, inaccessibleCount > 0 ? (_jsx("p", { className: "gd-delete-insight-dialog__usage-inaccessible s-delete-insight-dialog-inaccessible", children: _jsx(FormattedMessage, { ...(titles.length > 0
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
return (_jsxs(Message, { type: "warning", className: "gd-delete-insight-dialog__usage s-delete-insight-dialog-usage", children: [_jsxs("div", { className: "gd-delete-insight-dialog__usage-header", children: [_jsx("span", { children: _jsx(FormattedMessage, { ...usage, values: { count, strong } }) }), _jsx("button", { type: "button", className: "gd-delete-insight-dialog__usage-toggle s-delete-insight-dialog-usage-toggle", "aria-expanded": isExpanded, onClick: () => setIsExpanded((expanded) => !expanded), children: intl.formatMessage(isExpanded ? messages.showLess : messages.showMore) })] }), isExpanded ? (_jsxs("div", { className: "gd-delete-insight-dialog__usage-details", children: [titles.length > 0 ? (_jsx("ul", { className: "gd-delete-insight-dialog__usage-list", children: titles.map((itemTitle, index) => (_jsx("li", { children: itemTitle }, index))) })) : null, inaccessibleCount > 0 ? (_jsx("p", { className: "gd-delete-insight-dialog__usage-inaccessible s-delete-insight-dialog-inaccessible", children: _jsx(FormattedMessage, { ...(titles.length > 0 ? inaccessible : inaccessibleOnly), values: { count: inaccessibleCount, strong } }) })) : null] })) : null] }));
|
|
45
|
+
}
|
|
46
|
+
async function loadAccessibleDocumentIds(backend, workspace, documentIds) {
|
|
47
|
+
try {
|
|
48
|
+
const result = await backend
|
|
49
|
+
.workspace(workspace)
|
|
50
|
+
.publisherV2()
|
|
51
|
+
.getDocumentsQuery()
|
|
52
|
+
.withFilter({ id: documentIds })
|
|
53
|
+
.withSize(documentIds.length)
|
|
54
|
+
.query();
|
|
55
|
+
return result.items.map((document) => objRefToString(document.ref));
|
|
56
|
+
}
|
|
57
|
+
catch {
|
|
58
|
+
return [];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The documents the user may open: all of them when the user may create documents, otherwise the ones the
|
|
63
|
+
* backend returns. When they cannot be loaded, none count as open, so no document the user may not see is named.
|
|
64
|
+
* Templates are visible to every user.
|
|
65
|
+
*/
|
|
66
|
+
async function loadVisibleDocuments(backend, workspace, documents, canCreateDocument) {
|
|
67
|
+
const documentIds = documents.filter(({ type }) => type === "document").map(({ id }) => id);
|
|
68
|
+
if (documentIds.length === 0 || canCreateDocument) {
|
|
69
|
+
return documents;
|
|
70
|
+
}
|
|
71
|
+
const accessibleIds = await loadAccessibleDocumentIds(backend, workspace, documentIds);
|
|
72
|
+
return documents.filter(({ id, type }) => type !== "document" || accessibleIds.includes(id));
|
|
44
73
|
}
|
|
45
74
|
export function DeleteInsightDialog({ insight, onClose, onDeleted }) {
|
|
46
75
|
const intl = useIntl();
|
|
@@ -50,16 +79,22 @@ export function DeleteInsightDialog({ insight, onClose, onDeleted }) {
|
|
|
50
79
|
const ref = insightRef(insight);
|
|
51
80
|
const title = insightTitle(insight);
|
|
52
81
|
const refKey = serializeObjRef(ref);
|
|
82
|
+
const canCreateDocument = useDashboardSelector(selectPermissions).canCreateDocument ?? false;
|
|
53
83
|
const usage = useCancelablePromise({
|
|
54
|
-
promise: () =>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
84
|
+
promise: async () => {
|
|
85
|
+
const references = await backend
|
|
86
|
+
.workspace(workspace)
|
|
87
|
+
.insights()
|
|
88
|
+
.getInsightReferencingObjects(ref);
|
|
89
|
+
const documents = references.documents ?? [];
|
|
90
|
+
const visibleDocuments = await loadVisibleDocuments(backend, workspace, documents, canCreateDocument);
|
|
91
|
+
return {
|
|
92
|
+
dashboards: references.analyticalDashboards ?? [],
|
|
93
|
+
documentsCount: documents.length,
|
|
94
|
+
visibleDocumentTitles: visibleDocuments.map((document) => document.title),
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
}, [backend, workspace, refKey, canCreateDocument]);
|
|
63
98
|
const accessibleDashboards = useDashboardSelector(selectAccessibleDashboardsMap);
|
|
64
99
|
const usedOnThisDashboard = useDashboardSelector(selectIsInsightUsedByDashboard(ref));
|
|
65
100
|
const dashboardId = useDashboardSelector(selectDashboardId);
|
|
@@ -77,7 +112,8 @@ export function DeleteInsightDialog({ insight, onClose, onDeleted }) {
|
|
|
77
112
|
},
|
|
78
113
|
});
|
|
79
114
|
const dashboards = usage.result?.dashboards ?? [];
|
|
80
|
-
const
|
|
115
|
+
const documentsCount = usage.result?.documentsCount ?? 0;
|
|
116
|
+
const documentTitles = usage.result?.visibleDocumentTitles ?? [];
|
|
81
117
|
const otherDashboards = dashboards.filter((dashboard) => dashboard.id !== dashboardId);
|
|
82
118
|
const accessibleTitles = otherDashboards
|
|
83
119
|
.map((dashboard) => accessibleDashboards.get(dashboard.ref)?.title)
|
|
@@ -86,9 +122,9 @@ export function DeleteInsightDialog({ insight, onClose, onDeleted }) {
|
|
|
86
122
|
const isChecking = usage.status === "pending" || usage.status === "loading";
|
|
87
123
|
const canDelete = usage.status === "success" &&
|
|
88
124
|
otherDashboards.length === 0 &&
|
|
89
|
-
|
|
125
|
+
documentsCount === 0 &&
|
|
90
126
|
!usedOnThisDashboard;
|
|
91
|
-
const documentsWarning =
|
|
127
|
+
const documentsWarning = documentsCount > 0 ? (_jsx(UsageWarning, { usage: messages.documentsUsage, titles: documentTitles, inaccessibleCount: documentsCount - documentTitles.length, inaccessible: messages.inaccessibleDocuments, inaccessibleOnly: messages.inaccessibleDocumentsOnly })) : null;
|
|
92
128
|
const isDeleting = status === "running";
|
|
93
129
|
let body;
|
|
94
130
|
if (isChecking) {
|
|
@@ -98,11 +134,11 @@ export function DeleteInsightDialog({ insight, onClose, onDeleted }) {
|
|
|
98
134
|
body = (_jsx("p", { role: "alert", className: "s-delete-insight-dialog-check-failed", children: intl.formatMessage(messages.checkFailed) }));
|
|
99
135
|
}
|
|
100
136
|
else if (otherDashboards.length > 0) {
|
|
101
|
-
body = (_jsxs(_Fragment, { children: [_jsx("p", { className: "s-delete-insight-dialog-used-on-dashboards", children: _jsx(FormattedMessage, { ...(
|
|
137
|
+
body = (_jsxs(_Fragment, { children: [_jsx("p", { className: "s-delete-insight-dialog-used-on-dashboards", children: _jsx(FormattedMessage, { ...(documentsCount > 0
|
|
102
138
|
? messages.usedInDocumentsAndDashboards
|
|
103
|
-
: messages.usedOnDashboards), values: { title, strong } }) }), _jsx(UsageWarning, { usage: messages.usage, titles: accessibleTitles, inaccessibleCount: inaccessibleCount }), documentsWarning] }));
|
|
139
|
+
: messages.usedOnDashboards), values: { title, strong } }) }), _jsx(UsageWarning, { usage: messages.usage, titles: accessibleTitles, inaccessibleCount: inaccessibleCount, inaccessible: messages.inaccessibleDashboards, inaccessibleOnly: messages.inaccessibleDashboardsOnly }), documentsWarning] }));
|
|
104
140
|
}
|
|
105
|
-
else if (
|
|
141
|
+
else if (documentsCount > 0) {
|
|
106
142
|
body = (_jsxs(_Fragment, { children: [_jsx("p", { className: "s-delete-insight-dialog-used-in-documents", children: _jsx(FormattedMessage, { ...(usedOnThisDashboard
|
|
107
143
|
? messages.usedInDocumentsAndThisDashboard
|
|
108
144
|
: messages.usedInDocuments), values: { title, strong } }) }), documentsWarning] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardRenderer.tsx"],"names":[],"mappings":"AA8CA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAqEnD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"DashboardRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardRenderer.tsx"],"names":[],"mappings":"AA8CA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAqEnD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,2CAgNvD"}
|
|
@@ -94,7 +94,7 @@ function shouldUseThemeProvider(props, hasThemeProvider) {
|
|
|
94
94
|
export function DashboardRenderer(props) {
|
|
95
95
|
const { backend, workspace, hasThemeProvider, dashboardOrRef, attributeFilterProvider, dateFilterProvider, measureValueFilterProvider, filterGroupProvider, widgetProvider, insightProvider, insightBodyProvider, insightMenuButtonProvider, dashboardContentProvider, insightMenuProvider, richTextMenuProvider, richTextMenuTitleProvider, insightMenuTitleProvider, insightWidgetComponentSet, attributeFilterComponentSet, dateFilterComponentSet, richTextProvider, restrictedPlaceholderProvider, restrictedFiltersPlaceholderProvider, visualizationSwitcherProvider, richTextWidgetComponentSet, visualizationSwitcherWidgetComponentSet, visualizationSwitcherToolbarComponentProvider, dashboardLayoutWidgetComponentSet, showAsTableButtonComponentProvider, drillDialogExportDropdownProvider, } = useDashboard(props);
|
|
96
96
|
const components = resolveComponentsWithDefaults(props);
|
|
97
|
-
const dashboardRender = (_jsx(BackendProvider, { backend: backend, children: _jsx(WorkspaceProvider, { workspace: workspace, children: _jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(DashboardStoreProvider, { backend: props.backend, workspace: props.workspace, dashboard: dashboardOrRef, persistedDashboard: props.persistedDashboard, filterContextRef: props.filterContextRef, eventHandlers: props.eventHandlers, config: props.config, permissions: props.permissions, onStateChange: props.onStateChange, onEventingInitialized: props.onEventingInitialized, additionalReduxContext: props.additionalReduxContext, customizationFns: props.customizationFns, widgetsOverlayFn: props.widgetsOverlayFn, initialTabId: props.initialTabId, children: _jsx(ExportTemplateDialogContextProvider, { children: _jsx(ExportXlsxDialogContextProvider, { children: _jsx(ExportCsvDialogContextProvider, { children: _jsx(ExportTabularPdfDialogContextProvider, { children: _jsx(DashboardCustomizationsProvider, { insightMenuItemsProvider: props.insightMenuItemsProvider, richTextMenuItemsProvider: props.richTextMenuItemsProvider, existingExportTransformFn: props.customizationFns?.existingExportTransformFn, slideConfig: props.config?.slideConfig, children: _jsx(DashboardComponentsProvider, { ErrorComponent: components.ErrorComponent, LoadingComponent: components.LoadingComponent, LayoutComponent: components.LayoutComponent, InsightComponentProvider: insightProvider, InsightBodyComponentProvider: insightBodyProvider, InsightMenuButtonComponentProvider: insightMenuButtonProvider, InsightMenuTitleComponentProvider: insightMenuTitleProvider, InsightMenuComponentProvider: insightMenuProvider, VisualizationSwitcherToolbarComponentProvider: visualizationSwitcherToolbarComponentProvider, RichTextComponentProvider: richTextProvider, RestrictedPlaceholderComponentProvider: restrictedPlaceholderProvider, RestrictedFiltersPlaceholderComponentProvider: restrictedFiltersPlaceholderProvider, RichTextMenuComponentProvider: richTextMenuProvider, RichTextMenuTitleComponentProvider: richTextMenuTitleProvider, VisualizationSwitcherComponentProvider: visualizationSwitcherProvider, WidgetComponentProvider: widgetProvider, ButtonBarComponent: components.ButtonBarComponent, MenuButtonComponent: components.MenuButtonComponent, TopBarComponent: components.TopBarComponent, ToolbarComponent: components.ToolbarComponent, TitleComponent: components.TitleComponent, ScheduledEmailDialogComponent: components.ScheduledEmailDialogComponent, ScheduledEmailDialogContextDecoratorComponent: components.ScheduledEmailDialogContextDecoratorComponent, ScheduledEmailManagementDialogComponent: components.ScheduledEmailManagementDialogComponent, ScheduledEmailManagementDialogContextDecoratorComponent: components.ScheduledEmailManagementDialogContextDecoratorComponent, ShareDialogComponent: components.ShareDialogComponent, AlertingManagementDialogComponent: components.AlertingManagementDialogComponent, AlertingManagementDialogContextDecoratorComponent: components.AlertingManagementDialogContextDecoratorComponent, AutomationsContextDecoratorComponent: components.AutomationsContextDecoratorComponent, AlertingDialogComponent: components.AlertingDialogComponent, AlertingDialogContextDecoratorComponent: components.AlertingDialogContextDecoratorComponent, SaveAsDialogComponent: components.SaveAsDialogComponent, DashboardAttributeFilterComponentProvider: attributeFilterProvider,
|
|
97
|
+
const dashboardRender = (_jsx(BackendProvider, { backend: backend, children: _jsx(WorkspaceProvider, { workspace: workspace, children: _jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(DashboardStoreProvider, { backend: props.backend, workspace: props.workspace, dashboard: dashboardOrRef, persistedDashboard: props.persistedDashboard, filterContextRef: props.filterContextRef, eventHandlers: props.eventHandlers, config: props.config, permissions: props.permissions, onStateChange: props.onStateChange, onEventingInitialized: props.onEventingInitialized, additionalReduxContext: props.additionalReduxContext, customizationFns: props.customizationFns, widgetsOverlayFn: props.widgetsOverlayFn, initialTabId: props.initialTabId, children: _jsx(ExportTemplateDialogContextProvider, { children: _jsx(ExportXlsxDialogContextProvider, { children: _jsx(ExportCsvDialogContextProvider, { children: _jsx(ExportTabularPdfDialogContextProvider, { children: _jsx(DashboardCustomizationsProvider, { insightMenuItemsProvider: props.insightMenuItemsProvider, richTextMenuItemsProvider: props.richTextMenuItemsProvider, existingExportTransformFn: props.customizationFns?.existingExportTransformFn, slideConfig: props.config?.slideConfig, children: _jsx(DashboardComponentsProvider, { ErrorComponent: components.ErrorComponent, LoadingComponent: components.LoadingComponent, LayoutComponent: components.LayoutComponent, InsightComponentProvider: insightProvider, InsightBodyComponentProvider: insightBodyProvider, InsightMenuButtonComponentProvider: insightMenuButtonProvider, InsightMenuTitleComponentProvider: insightMenuTitleProvider, InsightMenuComponentProvider: insightMenuProvider, VisualizationSwitcherToolbarComponentProvider: visualizationSwitcherToolbarComponentProvider, RichTextComponentProvider: richTextProvider, RestrictedPlaceholderComponentProvider: restrictedPlaceholderProvider, RestrictedFiltersPlaceholderComponentProvider: restrictedFiltersPlaceholderProvider, RichTextMenuComponentProvider: richTextMenuProvider, RichTextMenuTitleComponentProvider: richTextMenuTitleProvider, VisualizationSwitcherComponentProvider: visualizationSwitcherProvider, WidgetComponentProvider: widgetProvider, ButtonBarComponent: components.ButtonBarComponent, MenuButtonComponent: components.MenuButtonComponent, TopBarComponent: components.TopBarComponent, ToolbarComponent: components.ToolbarComponent, TitleComponent: components.TitleComponent, ScheduledEmailDialogComponent: components.ScheduledEmailDialogComponent, ScheduledEmailDialogContextDecoratorComponent: components.ScheduledEmailDialogContextDecoratorComponent, ScheduledEmailManagementDialogComponent: components.ScheduledEmailManagementDialogComponent, ScheduledEmailManagementDialogContextDecoratorComponent: components.ScheduledEmailManagementDialogContextDecoratorComponent, ShareDialogComponent: components.ShareDialogComponent, AlertingManagementDialogComponent: components.AlertingManagementDialogComponent, AlertingManagementDialogContextDecoratorComponent: components.AlertingManagementDialogContextDecoratorComponent, AutomationsContextDecoratorComponent: components.AutomationsContextDecoratorComponent, AlertingDialogComponent: components.AlertingDialogComponent, AlertingDialogContextDecoratorComponent: components.AlertingDialogContextDecoratorComponent, SaveAsDialogComponent: components.SaveAsDialogComponent, DashboardAttributeFilterComponentProvider: attributeFilterProvider, DashboardDateFilterOfAnyTypeComponentProvider: dateFilterProvider, DashboardMeasureValueFilterComponentProvider: measureValueFilterProvider, DashboardFilterGroupComponentProvider: filterGroupProvider, FilterBarComponent: components.FilterBarComponent, SidebarComponent: components.SidebarComponent, InsightWidgetComponentSet: insightWidgetComponentSet, RichTextWidgetComponentSet: richTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet: visualizationSwitcherWidgetComponentSet, DashboardLayoutWidgetComponentSet: dashboardLayoutWidgetComponentSet, AttributeFilterComponentSet: attributeFilterComponentSet, DateFilterComponentSet: dateFilterComponentSet, EmptyLayoutDropZoneBodyComponent: components.EmptyLayoutDropZoneBodyComponent, SaveButtonComponent: components.SaveButtonComponent, DashboardContentComponentProvider: dashboardContentProvider, SettingButtonComponent: components.SettingButtonComponent, DashboardSettingsDialogComponent: components.DashboardSettingsDialogComponent, ShowAsTableButtonComponentProvider: showAsTableButtonComponentProvider, DrillDialogExportDropdownComponentProvider: drillDialogExportDropdownProvider, children: _jsx(DashboardConfigProvider, { menuButtonConfig: props.menuButtonConfig, children: _jsx(DndProvider, { backend: HTML5Backend, children: _jsx(LayoutResizeStateProvider, { children: _jsx(DashboardItemPathAndSizeProvider, { children: _jsxs(HoveredWidgetProvider, { children: [_jsx(DensityInitializer, {}), _jsx(DashboardLoading, { ...props })] }) }) }) }) }) }) }) }) }) }) }) }) }) }) }));
|
|
98
98
|
if (shouldUseThemeProvider(props, hasThemeProvider)) {
|
|
99
99
|
return (_jsx(ThemeProvider, { theme: props.theme, modifier: props.themeModifier ?? defaultDashboardThemeModifier, backend: backend, workspace: workspace,
|
|
100
100
|
// Do not remove global theme styles on unmount, if the theme is provided as a prop,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
2
2
|
import { type IdentifierRef, type UriRef } from "@gooddata/sdk-model";
|
|
3
3
|
import { type AttributeFilterComponentSet, type DashboardLayoutWidgetComponentSet, type DateFilterComponentSet, type InsightWidgetComponentSet, type RichTextWidgetComponentSet, type VisualizationSwitcherWidgetComponentSet } from "../../componentDefinition/types.js";
|
|
4
|
-
import { type AttributeFilterComponentProvider, type DashboardContentComponentProvider, type DashboardLayoutComponentProvider, type
|
|
4
|
+
import { type AttributeFilterComponentProvider, type DashboardContentComponentProvider, type DashboardLayoutComponentProvider, type DateFilterOfAnyTypeComponentProvider, type DrillDialogExportDropdownComponentProvider, type FilterGroupComponentProvider, type InsightBodyComponentProvider, type InsightComponentProvider, type InsightMenuButtonComponentProvider, type InsightMenuComponentProvider, type InsightMenuTitleComponentProvider, type MeasureValueFilterComponentProvider, type RestrictedFiltersPlaceholderComponentProvider, type RestrictedPlaceholderComponentProvider, type RichTextComponentProvider, type RichTextMenuComponentProvider, type RichTextMenuTitleComponentProvider, type ShowAsTableButtonComponentProvider, type VisualizationSwitcherComponentProvider, type VisualizationSwitcherToolbarComponentProvider, type WidgetComponentProvider } from "../../dashboardContexts/types.js";
|
|
5
5
|
import { type IDashboardProps } from "../types.js";
|
|
6
6
|
interface IUseDashboardResult {
|
|
7
7
|
backend: IAnalyticalBackend;
|
|
@@ -10,7 +10,7 @@ interface IUseDashboardResult {
|
|
|
10
10
|
hasThemeProvider: boolean;
|
|
11
11
|
attributeFilterProvider: AttributeFilterComponentProvider;
|
|
12
12
|
filterGroupProvider: FilterGroupComponentProvider;
|
|
13
|
-
dateFilterProvider:
|
|
13
|
+
dateFilterProvider: DateFilterOfAnyTypeComponentProvider;
|
|
14
14
|
measureValueFilterProvider: MeasureValueFilterComponentProvider;
|
|
15
15
|
widgetProvider: WidgetComponentProvider;
|
|
16
16
|
insightProvider: InsightComponentProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDashboard.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/hooks/useDashboard.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAS,MAAM,qBAAqB,CAAC;AAI7E,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC/C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACH,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EACrC,KAAK,
|
|
1
|
+
{"version":3,"file":"useDashboard.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/hooks/useDashboard.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAS,MAAM,qBAAqB,CAAC;AAI7E,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC/C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACH,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,0CAA0C,EAC/C,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,6CAA6C,EAClD,KAAK,sCAAsC,EAC3C,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,sCAAsC,EAC3C,KAAK,6CAA6C,EAClD,KAAK,uBAAuB,EAC/B,MAAM,kCAAkC,CAAC;AA6B1C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,UAAU,mBAAmB;IACzB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAAC;IACnD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,uBAAuB,EAAE,gCAAgC,CAAC;IAC1D,mBAAmB,EAAE,4BAA4B,CAAC;IAClD,kBAAkB,EAAE,oCAAoC,CAAC;IACzD,0BAA0B,EAAE,mCAAmC,CAAC;IAChE,cAAc,EAAE,uBAAuB,CAAC;IACxC,eAAe,EAAE,wBAAwB,CAAC;IAC1C,mBAAmB,EAAE,4BAA4B,CAAC;IAClD,yBAAyB,EAAE,kCAAkC,CAAC;IAC9D,mBAAmB,EAAE,4BAA4B,CAAC;IAClD,oBAAoB,EAAE,6BAA6B,CAAC;IACpD,wBAAwB,EAAE,iCAAiC,CAAC;IAC5D,yBAAyB,EAAE,kCAAkC,CAAC;IAC9D,wBAAwB,EAAE,iCAAiC,CAAC;IAC5D,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,gBAAgB,EAAE,yBAAyB,CAAC;IAC5C,6BAA6B,EAAE,sCAAsC,CAAC;IACtE,oCAAoC,EAAE,6CAA6C,CAAC;IACpF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,6BAA6B,EAAE,sCAAsC,CAAC;IACtE,uCAAuC,EAAE,uCAAuC,CAAC;IACjF,6CAA6C,EAAE,6CAA6C,CAAC;IAC7F,uBAAuB,EAAE,gCAAgC,CAAC;IAC1D,iCAAiC,EAAE,iCAAiC,CAAC;IACrE,kCAAkC,EAAE,kCAAkC,CAAC;IACvE,iCAAiC,EAAE,0CAA0C,CAAC;CACjF;AAED,eAAO,MAAM,YAAY,UAAW,eAAe,KAAG,mBA4RrD,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { useBackendStrict, useWorkspaceStrict } from "@gooddata/sdk-ui";
|
|
|
5
5
|
import { useThemeIsLoading } from "@gooddata/sdk-ui-theme-provider";
|
|
6
6
|
import { DefaultDashboardAttributeFilter } from "../../filterBar/attributeFilter/DefaultDashboardAttributeFilter.js";
|
|
7
7
|
import { DefaultDashboardAttributeFilterComponentSetFactory } from "../../filterBar/attributeFilter/DefaultDashboardAttributeFilterComponentSetFactory.js";
|
|
8
|
+
import { toDateFilterOfAnyTypeProvider } from "../../filterBar/dateFilter/dateFilterOfAnyTypeProvider.js";
|
|
8
9
|
import { DefaultDashboardDateFilter } from "../../filterBar/dateFilter/DefaultDashboardDateFilter.js";
|
|
9
10
|
import { DefaultDashboardDateFilterComponentSetFactory } from "../../filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.js";
|
|
10
11
|
import { DefaultDashboardFilterGroup } from "../../filterBar/filterBar/DefaultDashboardFilterGroup.js";
|
|
@@ -31,7 +32,7 @@ import { DefaultDashboardVisualizationSwitcherComponentSetFactory } from "../../
|
|
|
31
32
|
import { DefaultDashboardWidget } from "../../widget/widget/DefaultDashboardWidget.js";
|
|
32
33
|
import { DefaultDashboardMainContent } from "../DefaultDashboardContent/DefaultDashboardMainContent.js";
|
|
33
34
|
export const useDashboard = (props) => {
|
|
34
|
-
const { dashboard, DashboardAttributeFilterComponentProvider, DashboardDateFilterComponentProvider, DashboardMeasureValueFilterComponentProvider, DashboardFilterGroupComponentProvider, WidgetComponentProvider, InsightComponentProvider, InsightBodyComponentProvider, InsightMenuButtonComponentProvider, InsightMenuComponentProvider, InsightMenuTitleComponentProvider, InsightComponentSetProvider, DashboardContentComponentProvider, RichTextComponentProvider, RestrictedFiltersPlaceholderComponentProvider, RestrictedPlaceholderComponentProvider, RichTextMenuComponentProvider, RichTextMenuTitleComponentProvider, VisualizationSwitcherComponentProvider, VisualizationSwitcherToolbarComponentProvider, DashboardLayoutComponentProvider, ShowAsTableButtonComponentProvider, DrillDialogExportDropdownComponentProvider, } = props;
|
|
35
|
+
const { dashboard, DashboardAttributeFilterComponentProvider, DashboardDateFilterComponentProvider, DashboardDateFilterOfAnyTypeComponentProvider, DashboardMeasureValueFilterComponentProvider, DashboardFilterGroupComponentProvider, WidgetComponentProvider, InsightComponentProvider, InsightBodyComponentProvider, InsightMenuButtonComponentProvider, InsightMenuComponentProvider, InsightMenuTitleComponentProvider, InsightComponentSetProvider, DashboardContentComponentProvider, RichTextComponentProvider, RestrictedFiltersPlaceholderComponentProvider, RestrictedPlaceholderComponentProvider, RichTextMenuComponentProvider, RichTextMenuTitleComponentProvider, VisualizationSwitcherComponentProvider, VisualizationSwitcherToolbarComponentProvider, DashboardLayoutComponentProvider, ShowAsTableButtonComponentProvider, DrillDialogExportDropdownComponentProvider, } = props;
|
|
35
36
|
const backend = useBackendStrict(props.backend);
|
|
36
37
|
const workspace = useWorkspaceStrict(props.workspace);
|
|
37
38
|
const attributeFilterProvider = useCallback((filter) => {
|
|
@@ -46,10 +47,14 @@ export const useDashboard = (props) => {
|
|
|
46
47
|
const userSpecified = DashboardContentComponentProvider?.(dashboard);
|
|
47
48
|
return userSpecified ?? DefaultDashboardMainContent;
|
|
48
49
|
}, [DashboardContentComponentProvider]);
|
|
50
|
+
const convertedDateFilterProvider = useMemo(() => DashboardDateFilterComponentProvider
|
|
51
|
+
? toDateFilterOfAnyTypeProvider(DashboardDateFilterComponentProvider)
|
|
52
|
+
: undefined, [DashboardDateFilterComponentProvider]);
|
|
49
53
|
const dateFilterProvider = useCallback((filter) => {
|
|
50
|
-
const userSpecified =
|
|
54
|
+
const userSpecified = DashboardDateFilterOfAnyTypeComponentProvider?.(filter) ??
|
|
55
|
+
convertedDateFilterProvider?.(filter);
|
|
51
56
|
return userSpecified ?? DefaultDashboardDateFilter;
|
|
52
|
-
}, [
|
|
57
|
+
}, [DashboardDateFilterOfAnyTypeComponentProvider, convertedDateFilterProvider]);
|
|
53
58
|
const measureValueFilterProvider = useCallback((filter) => {
|
|
54
59
|
const userSpecified = DashboardMeasureValueFilterComponentProvider?.(filter);
|
|
55
60
|
return userSpecified ?? DefaultDashboardMeasureValueFilter;
|
|
@@ -10,7 +10,7 @@ import { type CustomAutomationsContextDecoratorComponent } from "../../types.js"
|
|
|
10
10
|
import { type CustomAlertingDialogComponent, type CustomAlertingDialogContextDecoratorComponent, type CustomAlertingManagementDialogComponent, type CustomAlertingManagementDialogContextDecoratorComponent } from "../automations/alerting/types.js";
|
|
11
11
|
import { type CustomScheduledEmailDialogComponent, type CustomScheduledEmailDialogContextDecoratorComponent, type CustomScheduledEmailManagementDialogComponent, type CustomScheduledEmailManagementDialogContextDecoratorComponent } from "../automations/scheduledEmail/types.js";
|
|
12
12
|
import { type InsightComponentSetProvider } from "../componentDefinition/types.js";
|
|
13
|
-
import { type InsightMenuItemsProvider, type OptionalAttributeFilterComponentProvider, type OptionalDashboardContentComponentProvider, type OptionalDashboardLayoutComponentProvider, type OptionalDateFilterComponentProvider, type OptionalDrillDialogExportDropdownComponentProvider, type OptionalFilterGroupComponentProvider, type OptionalInsightBodyComponentProvider, type OptionalInsightComponentProvider, type OptionalInsightMenuButtonComponentProvider, type OptionalInsightMenuComponentProvider, type OptionalInsightMenuTitleComponentProvider, type OptionalMeasureValueFilterComponentProvider, type OptionalRestrictedFiltersPlaceholderComponentProvider, type OptionalRestrictedPlaceholderComponentProvider, type OptionalRichTextComponentProvider, type OptionalRichTextMenuComponentProvider, type OptionalRichTextMenuTitleComponentProvider, type OptionalShowAsTableButtonComponentProvider, type OptionalVisualizationSwitcherComponentProvider, type OptionalVisualizationSwitcherToolbarComponentProvider, type OptionalWidgetComponentProvider, type RichTextMenuItemsProvider } from "../dashboardContexts/types.js";
|
|
13
|
+
import { type InsightMenuItemsProvider, type OptionalAttributeFilterComponentProvider, type OptionalDashboardContentComponentProvider, type OptionalDashboardLayoutComponentProvider, type OptionalDateFilterComponentProvider, type OptionalDateFilterOfAnyTypeComponentProvider, type OptionalDrillDialogExportDropdownComponentProvider, type OptionalFilterGroupComponentProvider, type OptionalInsightBodyComponentProvider, type OptionalInsightComponentProvider, type OptionalInsightMenuButtonComponentProvider, type OptionalInsightMenuComponentProvider, type OptionalInsightMenuTitleComponentProvider, type OptionalMeasureValueFilterComponentProvider, type OptionalRestrictedFiltersPlaceholderComponentProvider, type OptionalRestrictedPlaceholderComponentProvider, type OptionalRichTextComponentProvider, type OptionalRichTextMenuComponentProvider, type OptionalRichTextMenuTitleComponentProvider, type OptionalShowAsTableButtonComponentProvider, type OptionalVisualizationSwitcherComponentProvider, type OptionalVisualizationSwitcherToolbarComponentProvider, type OptionalWidgetComponentProvider, type RichTextMenuItemsProvider } from "../dashboardContexts/types.js";
|
|
14
14
|
import { type CustomDashboardSettingsDialogComponent } from "../dashboardSettingsDialog/types.js";
|
|
15
15
|
import { type CustomFilterBarComponent } from "../filterBar/filterBar/types.js";
|
|
16
16
|
import { type CustomEmptyLayoutDropZoneBodyComponent } from "../flexibleLayout/types.js";
|
|
@@ -406,6 +406,17 @@ export interface IDashboardCustomComponentProps {
|
|
|
406
406
|
* @alpha
|
|
407
407
|
*/
|
|
408
408
|
DashboardDateFilterComponentProvider?: OptionalDateFilterComponentProvider;
|
|
409
|
+
/**
|
|
410
|
+
* Specify component to use for rendering the date filters of any type, including the absolute date filter
|
|
411
|
+
* with granularity.
|
|
412
|
+
*
|
|
413
|
+
* @remarks
|
|
414
|
+
* For a date filter of the other types, a component provided here is used before the one of
|
|
415
|
+
* {@link IDashboardCustomComponentProps.DashboardDateFilterComponentProvider}.
|
|
416
|
+
*
|
|
417
|
+
* @alpha
|
|
418
|
+
*/
|
|
419
|
+
DashboardDateFilterOfAnyTypeComponentProvider?: OptionalDateFilterOfAnyTypeComponentProvider;
|
|
409
420
|
/**
|
|
410
421
|
* Specify component to use for rendering the measure value filters.
|
|
411
422
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,OAAO,EAAE,KAAK,k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,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IAEzC;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IAEpC;;OAEG;IACH,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;CACjD;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,wBACb,SACI,kBAAkB,EAClB,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB;IAC1B;;;;;;;;;;;OAWG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;CACnE;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,wBAAwB;IAClF,QAAQ,CAAC,EAAE,YAAY,GAAG,CAAC,CAAC,SAAS,EAAE,GAAG,KAAK,YAAY,CAAC,CAAC;IAC7D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,UAAU,CAAC;CACnC"}
|
|
@@ -18,7 +18,7 @@ import { type CustomMenuButtonComponent } from "../topBar/menuButton/types.js";
|
|
|
18
18
|
import { type CustomTitleComponent } from "../topBar/title/types.js";
|
|
19
19
|
import { type CustomTopBarComponent } from "../topBar/topBar/types.js";
|
|
20
20
|
import { type CustomDashboardLayoutComponent } from "../widget/dashboardLayout/types.js";
|
|
21
|
-
import { type AttributeFilterComponentProvider, type DashboardContentComponentProvider, type
|
|
21
|
+
import { type AttributeFilterComponentProvider, type DashboardContentComponentProvider, type DateFilterOfAnyTypeComponentProvider, type DrillDialogExportDropdownComponentProvider, type FilterGroupComponentProvider, type InsightBodyComponentProvider, type InsightComponentProvider, type InsightMenuButtonComponentProvider, type InsightMenuComponentProvider, type InsightMenuTitleComponentProvider, type MeasureValueFilterComponentProvider, type RestrictedFiltersPlaceholderComponentProvider, type RestrictedPlaceholderComponentProvider, type RichTextComponentProvider, type RichTextMenuComponentProvider, type RichTextMenuTitleComponentProvider, type ShowAsTableButtonComponentProvider, type VisualizationSwitcherComponentProvider, type VisualizationSwitcherToolbarComponentProvider, type WidgetComponentProvider } from "./types.js";
|
|
22
22
|
/**
|
|
23
23
|
* @internal
|
|
24
24
|
*/
|
|
@@ -56,7 +56,7 @@ interface IDashboardComponentsContext {
|
|
|
56
56
|
ShareDialogComponent: CustomShareDialogComponent;
|
|
57
57
|
SaveAsDialogComponent: CustomSaveAsDialogComponent;
|
|
58
58
|
DashboardAttributeFilterComponentProvider: AttributeFilterComponentProvider;
|
|
59
|
-
|
|
59
|
+
DashboardDateFilterOfAnyTypeComponentProvider: DateFilterOfAnyTypeComponentProvider;
|
|
60
60
|
DashboardMeasureValueFilterComponentProvider: MeasureValueFilterComponentProvider;
|
|
61
61
|
DashboardFilterGroupComponentProvider: FilterGroupComponentProvider;
|
|
62
62
|
FilterBarComponent: CustomFilterBarComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardComponentsContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAEzG,OAAO,EAEH,KAAK,WAAW,EAChB,KAAK,aAAa,EAGrB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,0CAA0C,EAAE,MAAM,gBAAgB,CAAC;AACjF,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,6CAA6C,EAClD,KAAK,uCAAuC,EAC5C,KAAK,uDAAuD,EAC/D,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,mDAAmD,EACxD,KAAK,6CAA6C,EAClD,KAAK,6DAA6D,EACrE,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC/C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AACrF,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,qCAAqC,CAAC;AAClG,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,KAAK,sCAAsC,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AACtG,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAEzF,OAAO,EACH,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,
|
|
1
|
+
{"version":3,"file":"DashboardComponentsContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EA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AAkC,EAAE,kCAAkC,CAAC;IACvE,0CAA0C,EAAE,0CAA0C,CAAC;CAC1F;AA4FD;;GAEG;AACH,eAAO,MAAM,6BAA6B,6BACZ,OAAO,CAAC,2BAA2B,CAAC,KAC/D,2BAUF,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,2BAA2B;IAClF,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,EACxC,QAAQ,EACR,GAAG,UAAU,EAChB,EAAE,iCAAiC,GAAG,YAAY,CAMlD"}
|
|
@@ -41,7 +41,7 @@ const DashboardComponentsContext = createContext({
|
|
|
41
41
|
ShareDialogComponent: ThrowMissingComponentError("ShareDialogComponent"),
|
|
42
42
|
SaveAsDialogComponent: ThrowMissingComponentError("SaveAsDialogComponent"),
|
|
43
43
|
DashboardAttributeFilterComponentProvider: ThrowMissingComponentError("DashboardAttributeFilterComponentProvider"),
|
|
44
|
-
|
|
44
|
+
DashboardDateFilterOfAnyTypeComponentProvider: ThrowMissingComponentError("DashboardDateFilterOfAnyTypeComponentProvider"),
|
|
45
45
|
DashboardMeasureValueFilterComponentProvider: ThrowMissingComponentError("DashboardMeasureValueFilterComponentProvider"),
|
|
46
46
|
DashboardFilterGroupComponentProvider: ThrowMissingComponentError("DashboardFilterGroupComponentProvider"),
|
|
47
47
|
FilterBarComponent: ThrowMissingComponentError("FilterBarComponent"),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type ComponentType } from "react";
|
|
2
2
|
import { type IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
3
|
-
import { type DashboardAttributeFilterItem, type IDashboard, type IDashboardDateFilter, type IDashboardFilterGroup, type IDashboardLayout, type IDashboardMeasureValueFilter, type IInsight, type IInsightWidget, type IRichTextWidget, type IVisualizationSwitcherWidget, type IWorkspacePermissions, type ObjRef } from "@gooddata/sdk-model";
|
|
3
|
+
import { type DashboardAttributeFilterItem, type DashboardDateFilterOfAnyType, type IDashboard, type IDashboardDateFilter, type IDashboardFilterGroup, type IDashboardLayout, type IDashboardMeasureValueFilter, type IInsight, type IInsightWidget, type IRichTextWidget, type IVisualizationSwitcherWidget, type IWorkspacePermissions, type ObjRef } from "@gooddata/sdk-model";
|
|
4
4
|
import { type ILoadingProps } from "@gooddata/sdk-ui";
|
|
5
5
|
import { type DashboardConfig } from "../../model/types/commonTypes.js";
|
|
6
6
|
import { type ExtendedDashboardWidget } from "../../model/types/layoutTypes.js";
|
|
7
7
|
import { type RenderMode } from "../../types.js";
|
|
8
8
|
import { type CustomDashboardAttributeFilterComponent, type CustomDashboardFilterGroupComponent } from "../filterBar/attributeFilter/types.js";
|
|
9
|
-
import { type CustomDashboardDateFilterComponent } from "../filterBar/dateFilter/types.js";
|
|
9
|
+
import { type CustomDashboardDateFilterComponent, type CustomDashboardDateFilterOfAnyTypeComponent } from "../filterBar/dateFilter/types.js";
|
|
10
10
|
import { type IRestrictedFiltersPlaceholderProps } from "../filterBar/filterBar/RestrictedFiltersPlaceholder.js";
|
|
11
11
|
import { type CustomFilterBarComponent, type IFilterBarProps } from "../filterBar/filterBar/types.js";
|
|
12
12
|
import { type CustomDashboardMeasureValueFilterComponent } from "../filterBar/measureValueFilter/types.js";
|
|
@@ -193,6 +193,17 @@ export type DateFilterComponentProvider = (filter: IDashboardDateFilter) => Cust
|
|
|
193
193
|
* @public
|
|
194
194
|
*/
|
|
195
195
|
export type OptionalDateFilterComponentProvider = OptionalProvider<DateFilterComponentProvider>;
|
|
196
|
+
/**
|
|
197
|
+
* Provider of a component that renders a date filter of any type, including the absolute date filter
|
|
198
|
+
* with granularity.
|
|
199
|
+
*
|
|
200
|
+
* @alpha
|
|
201
|
+
*/
|
|
202
|
+
export type DateFilterOfAnyTypeComponentProvider = (filter: DashboardDateFilterOfAnyType) => CustomDashboardDateFilterOfAnyTypeComponent;
|
|
203
|
+
/**
|
|
204
|
+
* @alpha
|
|
205
|
+
*/
|
|
206
|
+
export type OptionalDateFilterOfAnyTypeComponentProvider = OptionalProvider<DateFilterOfAnyTypeComponentProvider>;
|
|
196
207
|
/**
|
|
197
208
|
* @public
|
|
198
209
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,4BAA4B,EACjC,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EACH,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EAC3C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB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AC;AAE5G;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;IAEzC;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;CACvC;AACD;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,aAAa,CAAC,0BAA0B,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type IDashboardDateFilter } from "@gooddata/sdk-model";
|
|
2
|
-
import { type
|
|
1
|
+
import { type DashboardDateFilterOfAnyType, type IDashboardDateFilter } from "@gooddata/sdk-model";
|
|
2
|
+
import { type CustomDashboardDateFilterOfAnyTypeComponent, type IDashboardDateFilterConfig } from "../../filterBar/dateFilter/types.js";
|
|
3
3
|
type DraggableDateFilterProps = {
|
|
4
4
|
filter: IDashboardDateFilter;
|
|
5
5
|
workingFilter?: IDashboardDateFilter;
|
|
@@ -7,8 +7,8 @@ type DraggableDateFilterProps = {
|
|
|
7
7
|
config: IDashboardDateFilterConfig;
|
|
8
8
|
autoOpen: boolean;
|
|
9
9
|
readonly: boolean;
|
|
10
|
-
FilterComponent:
|
|
11
|
-
onDateFilterChanged: (filter:
|
|
10
|
+
FilterComponent: CustomDashboardDateFilterOfAnyTypeComponent;
|
|
11
|
+
onDateFilterChanged: (filter: DashboardDateFilterOfAnyType | undefined, dateFilterOptionLocalId?: string, isWorkingSelectionChange?: boolean) => void;
|
|
12
12
|
onDateFilterAdded: (index: number) => void;
|
|
13
13
|
onDateFilterClose: () => void;
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableDateFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"DraggableDateFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,4BAA4B,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAMnG,OAAO,EACH,KAAK,2CAA2C,EAChD,KAAK,0BAA0B,EAClC,MAAM,qCAAqC,CAAC;AAI7C,KAAK,wBAAwB,GAAG;IAC5B,MAAM,EAAE,oBAAoB,CAAC;IAC7B,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,0BAA0B,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,2CAA2C,CAAC;IAC7D,mBAAmB,EAAE,CACjB,MAAM,EAAE,4BAA4B,GAAG,SAAS,EAChD,uBAAuB,CAAC,EAAE,MAAM,EAChC,wBAAwB,CAAC,EAAE,OAAO,KACjC,IAAI,CAAC;IACV,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,iBAAiB,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAChC,eAAe,EACf,MAAM,EACN,aAAa,EACb,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,GACT,EAAE,wBAAwB,2CA2D1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFilterDeleteDrop.d.ts","sourceRoot":"","sources":["../../../src/presentation/dragAndDrop/useFilterDeleteDrop.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFilterDeleteDrop.d.ts","sourceRoot":"","sources":["../../../src/presentation/dragAndDrop/useFilterDeleteDrop.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,wBAAgB,mBAAmB;;;;;6DAuBlC"}
|