@gooddata/sdk-ui-dashboard 10.11.0-alpha.3 → 10.11.0-alpha.30
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 +62 -160
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/dashboard/fluidLayout/index.d.ts +2 -2
- package/esm/_staging/dashboard/fluidLayout/index.d.ts.map +1 -1
- package/esm/_staging/dashboard/fluidLayout/index.js +1 -1
- package/esm/_staging/dashboard/fluidLayout/index.js.map +1 -1
- package/esm/_staging/drills/drillingUtils.d.ts +2 -1
- package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
- package/esm/_staging/drills/drillingUtils.js.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts +2 -2
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.js +6 -3
- package/esm/_staging/sharedHooks/useFiltersNamings.js.map +1 -1
- package/esm/index.d.ts +3 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -2
- package/esm/index.js.map +1 -1
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +2 -0
- package/esm/locales.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts +4 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.js +103 -0
- package/esm/model/commandHandlers/dashboard/common/filterViews.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.js +4 -7
- package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -18
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.js +8 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadFilterViews.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +7 -3
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.js +17 -20
- package/esm/model/commandHandlers/drill/drillDownHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +2 -3
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToInsightHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToInsightHandler.js +2 -3
- package/esm/model/commandHandlers/drill/drillToInsightHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js +20 -3
- package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +6 -0
- package/esm/model/commandHandlers/index.js.map +1 -1
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js +1 -3
- package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js +27 -0
- package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js.map +1 -0
- package/esm/model/commandHandlers/widgets/changeInsightWidgetIgnoreCrossFilteringHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/changeInsightWidgetIgnoreCrossFilteringHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/changeInsightWidgetIgnoreCrossFilteringHandler.js +20 -0
- package/esm/model/commandHandlers/widgets/changeInsightWidgetIgnoreCrossFilteringHandler.js.map +1 -0
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js +1 -3
- package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js +8 -12
- package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js.map +1 -1
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.d.ts +6 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.js +19 -0
- package/esm/model/commandHandlers/widgets/updateVisualizationsFromSwitcherWidgetHandler.js.map +1 -0
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.d.ts +14 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.d.ts.map +1 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.js +24 -1
- package/esm/model/commandHandlers/widgets/validation/widgetValidations.js.map +1 -1
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/index.d.ts +34 -17
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +7 -6
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/insight.d.ts +33 -0
- package/esm/model/commands/insight.d.ts.map +1 -1
- package/esm/model/commands/insight.js +21 -0
- package/esm/model/commands/insight.js.map +1 -1
- package/esm/model/commands/visualizationSwitcher.d.ts +77 -0
- package/esm/model/commands/visualizationSwitcher.d.ts.map +1 -0
- package/esm/model/commands/visualizationSwitcher.js +45 -0
- package/esm/model/commands/visualizationSwitcher.js.map +1 -0
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/base.js.map +1 -1
- package/esm/model/events/index.d.ts +38 -18
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/index.js +7 -6
- package/esm/model/events/index.js.map +1 -1
- package/esm/model/events/insight.d.ts +26 -0
- package/esm/model/events/insight.d.ts.map +1 -1
- package/esm/model/events/insight.js +11 -0
- package/esm/model/events/insight.js.map +1 -1
- package/esm/model/events/visualizationSwitcher.d.ts +72 -0
- package/esm/model/events/visualizationSwitcher.d.ts.map +1 -0
- package/esm/model/events/visualizationSwitcher.js +45 -0
- package/esm/model/events/visualizationSwitcher.js.map +1 -0
- package/esm/model/headlessDashboard/index.d.ts +2 -1
- package/esm/model/headlessDashboard/index.d.ts.map +1 -1
- package/esm/model/headlessDashboard/index.js +1 -1
- package/esm/model/headlessDashboard/index.js.map +1 -1
- package/esm/model/index.d.ts +13 -9
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js +1 -1
- package/esm/model/index.js.map +1 -1
- package/esm/model/queries/index.d.ts +21 -11
- package/esm/model/queries/index.d.ts.map +1 -1
- package/esm/model/queries/index.js +2 -2
- package/esm/model/queries/index.js.map +1 -1
- package/esm/model/react/index.d.ts +11 -6
- package/esm/model/react/index.d.ts.map +1 -1
- package/esm/model/react/index.js +1 -1
- package/esm/model/react/index.js.map +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +3 -0
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +8 -0
- package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.js +3 -2
- package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +6 -12
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +9 -17
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducers.d.ts +4 -0
- package/esm/model/store/filterViews/filterViewsReducers.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducers.js +5 -0
- package/esm/model/store/filterViews/filterViewsReducers.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducersSelectors.d.ts +4 -0
- package/esm/model/store/filterViews/filterViewsReducersSelectors.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js +4 -0
- package/esm/model/store/filterViews/filterViewsReducersSelectors.js.map +1 -1
- package/esm/model/store/filterViews/filterViewsState.d.ts +1 -0
- package/esm/model/store/filterViews/filterViewsState.d.ts.map +1 -1
- package/esm/model/store/filterViews/filterViewsState.js +1 -1
- package/esm/model/store/filterViews/filterViewsState.js.map +1 -1
- package/esm/model/store/filterViews/index.d.ts +6 -2
- package/esm/model/store/filterViews/index.d.ts.map +1 -1
- package/esm/model/store/filterViews/index.js +1 -1
- package/esm/model/store/filterViews/index.js.map +1 -1
- package/esm/model/store/index.d.ts +36 -34
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +4 -8
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +12 -0
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.d.ts +16 -1
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js +35 -2
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts +7 -1
- package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +27 -5
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/model/store/permissions/permissionsSelectors.d.ts +12 -0
- package/esm/model/store/permissions/permissionsSelectors.d.ts.map +1 -1
- package/esm/model/store/permissions/permissionsSelectors.js +17 -1
- package/esm/model/store/permissions/permissionsSelectors.js.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +10 -10
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
- package/esm/plugins/index.d.ts +5 -3
- package/esm/plugins/index.d.ts.map +1 -1
- package/esm/plugins/index.js +0 -1
- package/esm/plugins/index.js.map +1 -1
- package/esm/presentation/alerting/index.d.ts +1 -1
- package/esm/presentation/alerting/index.d.ts.map +1 -1
- package/esm/presentation/cancelEditDialog/index.d.ts +1 -1
- package/esm/presentation/cancelEditDialog/index.d.ts.map +1 -1
- package/esm/presentation/cancelEditDialog/index.js +1 -1
- package/esm/presentation/cancelEditDialog/index.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +2 -2
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +7 -2
- package/esm/presentation/dashboard/hooks/useDashboard.js.map +1 -1
- package/esm/presentation/dashboard/index.d.ts +1 -1
- package/esm/presentation/dashboard/index.d.ts.map +1 -1
- package/esm/presentation/dashboard/index.js +1 -1
- package/esm/presentation/dashboard/types.d.ts +13 -1
- package/esm/presentation/dashboard/types.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -0
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js.map +1 -1
- package/esm/presentation/dashboardContexts/types.d.ts +9 -1
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/index.d.ts +1 -1
- package/esm/presentation/deleteDialog/index.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/index.js +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +2 -4
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts +1 -2
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +4 -11
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js.map +1 -1
- package/esm/presentation/drill/index.d.ts +17 -9
- package/esm/presentation/drill/index.d.ts.map +1 -1
- package/esm/presentation/drill/index.js +1 -2
- package/esm/presentation/drill/index.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.js +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/AddFilterView.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +8 -2
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.js +15 -9
- package/esm/presentation/filterBar/filterBar/filterViews/FilterViewsList.js.map +1 -1
- package/esm/presentation/index.d.ts +2 -1
- package/esm/presentation/index.d.ts.map +1 -1
- package/esm/presentation/index.js +1 -1
- package/esm/presentation/index.js.map +1 -1
- package/esm/presentation/kpiDeleteDialog/index.d.ts +1 -1
- package/esm/presentation/kpiDeleteDialog/index.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/index.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts +7 -5
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +80 -0
- package/esm/presentation/saveAs/index.d.ts +1 -1
- package/esm/presentation/saveAs/index.d.ts.map +1 -1
- package/esm/presentation/saveAs/index.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +7 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js +29 -39
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +2 -6
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts +6 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +14 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +17 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js +8 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +3 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/index.d.ts +1 -1
- package/esm/presentation/scheduledEmail/index.d.ts.map +1 -1
- package/esm/presentation/shareDialog/index.d.ts +1 -1
- package/esm/presentation/shareDialog/index.d.ts.map +1 -1
- package/esm/presentation/shareDialog/index.js +1 -1
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.d.ts +4 -2
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.d.ts.map +1 -1
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.js +3 -3
- package/esm/presentation/toolbar/DefaultDashboardToolbar/index.js.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +12 -4
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/common/InsightDropdown.d.ts +10 -0
- package/esm/presentation/widget/common/InsightDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/{insight/configuration/DrillTargets → common}/InsightDropdown.js +5 -26
- package/esm/presentation/widget/common/InsightDropdown.js.map +1 -0
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +5 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +4 -4
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
- package/esm/presentation/widget/common/useInsightExport.js +3 -3
- package/esm/presentation/widget/common/useInsightExport.js.map +1 -1
- package/esm/presentation/widget/description/index.d.ts +1 -1
- package/esm/presentation/widget/description/index.d.ts.map +1 -1
- package/esm/presentation/widget/index.d.ts +2 -1
- package/esm/presentation/widget/index.d.ts.map +1 -1
- package/esm/presentation/widget/index.js +0 -1
- package/esm/presentation/widget/index.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.js +4 -14
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargetInsightItem.js +3 -3
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargetInsightItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/{InsightDropdown.d.ts → DrillingInsightDropdown.d.ts} +3 -3
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.js +28 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/DrillingInsightDropdown.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +6 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +8 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +4 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +7 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +82 -60
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js +3 -3
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.d.ts +8 -0
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.js +32 -0
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +4 -6
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightFilters.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightFilters.js +4 -2
- package/esm/presentation/widget/insight/configuration/InsightFilters.js.map +1 -1
- package/esm/presentation/widget/insight/index.d.ts +1 -1
- package/esm/presentation/widget/insight/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightEditMenuBubble.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts +7 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +2 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +15 -8
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.d.ts +4 -2
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/index.js.map +1 -1
- package/esm/presentation/widget/insightMenu/index.d.ts +1 -1
- package/esm/presentation/widget/insightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.d.ts +2 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.js +2 -2
- package/esm/presentation/widget/kpi/ViewModeDashboardKpi/KpiAlerts/index.js.map +1 -1
- package/esm/presentation/widget/kpi/index.d.ts +1 -1
- package/esm/presentation/widget/kpi/index.d.ts.map +1 -1
- package/esm/presentation/widget/kpi/index.js +1 -1
- package/esm/presentation/widget/richText/index.d.ts +1 -1
- package/esm/presentation/widget/richText/index.d.ts.map +1 -1
- package/esm/presentation/widget/types.d.ts +7 -6
- package/esm/presentation/widget/types.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js +24 -4
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.js +10 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/DefaultVisualizationSwitcherToolbar.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.d.ts +9 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.js +18 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/InsightPicker.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js +73 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.js +9 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarBottom.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js +66 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.d.ts +6 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.js +27 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationConfig.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.d.ts +13 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.js +36 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.d.ts +12 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.js +39 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsPage.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.d.ts +18 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.js +3 -0
- package/esm/presentation/widget/visualizationSwitcher/configuration/types.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts +4 -1
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/index.js +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts +10 -1
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +2 -2
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +15 -8
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +4 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js +2 -2
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +32 -6
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js +3 -3
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts +4 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts.map +1 -1
- package/esm/presentation/widget/widget/index.d.ts +1 -1
- package/esm/presentation/widget/widget/index.d.ts.map +1 -1
- package/esm/presentation/widgetDeleteDialog/index.d.ts +1 -1
- package/esm/presentation/widgetDeleteDialog/index.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +287 -20
- package/esm/tools/index.d.ts +2 -1
- package/esm/tools/index.d.ts.map +1 -1
- package/esm/tools/index.js +1 -2
- package/esm/tools/index.js.map +1 -1
- package/package.json +16 -15
- package/styles/css/alerting.css +8 -0
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/configurationPanel.css +9 -0
- package/styles/css/configurationPanel.css.map +1 -1
- package/styles/css/main.css +158 -0
- package/styles/css/main.css.map +1 -1
- package/styles/css/visualizationSwitcherToolbar.css +147 -0
- package/styles/css/visualizationSwitcherToolbar.css.map +1 -0
- package/styles/scss/alerting.scss +8 -0
- package/styles/scss/configurationPanel.scss +10 -0
- package/styles/scss/main.scss +1 -0
- package/styles/scss/visualizationSwitcherToolbar.scss +163 -0
- package/esm/presentation/widget/insight/configuration/DrillTargets/InsightDropdown.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillTargets/InsightDropdown.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Dashboard } from "./Dashboard.js";
|
|
2
2
|
export { defaultDashboardThemeModifier } from "./defaultDashboardThemeModifier.js";
|
|
3
|
-
export { CustomSidebarComponent, ISidebarProps } from "./DashboardSidebar/types.js";
|
|
3
|
+
export type { CustomSidebarComponent, ISidebarProps } from "./DashboardSidebar/types.js";
|
|
4
4
|
export { SidebarConfigurationPanel } from "./DashboardSidebar/index.js";
|
|
5
5
|
export { DefaultDashboardMainContent } from "./DefaultDashboardContent/DefaultDashboardMainContent.js";
|
|
6
6
|
export * from "./types.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,YAAY,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,cAAc,YAAY,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2021-
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
2
|
export { Dashboard } from "./Dashboard.js";
|
|
3
3
|
export { defaultDashboardThemeModifier } from "./defaultDashboardThemeModifier.js";
|
|
4
4
|
export { SidebarConfigurationPanel } from "./DashboardSidebar/index.js";
|
|
@@ -10,7 +10,7 @@ import { CustomScheduledEmailDialogComponent, CustomScheduledEmailManagementDial
|
|
|
10
10
|
import { CustomButtonBarComponent, CustomMenuButtonComponent, CustomSaveButtonComponent, CustomTitleComponent, CustomTopBarComponent, IMenuButtonConfiguration } from "../topBar/index.js";
|
|
11
11
|
import { CustomSaveAsDialogComponent } from "../saveAs/index.js";
|
|
12
12
|
import { CustomShareDialogComponent } from "../shareDialog/index.js";
|
|
13
|
-
import { InsightMenuItemsProvider, OptionalAttributeFilterComponentProvider, OptionalInsightComponentProvider, OptionalInsightMenuButtonComponentProvider, OptionalInsightMenuComponentProvider, OptionalInsightBodyComponentProvider, OptionalKpiComponentProvider, OptionalWidgetComponentProvider, OptionalDateFilterComponentProvider, OptionalInsightMenuTitleComponentProvider, OptionalDashboardContentComponentProvider, OptionalRichTextComponentProvider, OptionalVisualizationSwitcherComponentProvider } from "../dashboardContexts/index.js";
|
|
13
|
+
import { InsightMenuItemsProvider, OptionalAttributeFilterComponentProvider, OptionalInsightComponentProvider, OptionalInsightMenuButtonComponentProvider, OptionalInsightMenuComponentProvider, OptionalInsightBodyComponentProvider, OptionalKpiComponentProvider, OptionalWidgetComponentProvider, OptionalDateFilterComponentProvider, OptionalInsightMenuTitleComponentProvider, OptionalDashboardContentComponentProvider, OptionalRichTextComponentProvider, OptionalVisualizationSwitcherComponentProvider, OptionalVisualizationSwitcherToolbarComponentProvider } from "../dashboardContexts/index.js";
|
|
14
14
|
import { CustomSidebarComponent } from "./DashboardSidebar/types.js";
|
|
15
15
|
import { InsightComponentSetProvider } from "../componentDefinition/types.js";
|
|
16
16
|
import { CustomToolbarComponent } from "../toolbar/index.js";
|
|
@@ -187,6 +187,18 @@ export interface IDashboardCustomComponentProps {
|
|
|
187
187
|
* @public
|
|
188
188
|
*/
|
|
189
189
|
VisualizationSwitcherComponentProvider?: OptionalVisualizationSwitcherComponentProvider;
|
|
190
|
+
/**
|
|
191
|
+
* Specify function to obtain custom component to use for rendering a visualization switcher toolbar.
|
|
192
|
+
*
|
|
193
|
+
* @remarks
|
|
194
|
+
* - If not provided, the default implementation {@link DefaultVisualizationSwitcherToolbar} will be used.
|
|
195
|
+
* - If factory function is provided and it returns undefined, then the default implementation {@link DefaultVisualizationSwitcherToolbar}.
|
|
196
|
+
* This is useful if you want to customize just one particular visualization switcher toolbar and keep default rendering for
|
|
197
|
+
* the other visualization switchers.
|
|
198
|
+
*
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
VisualizationSwitcherToolbarComponentProvider?: OptionalVisualizationSwitcherToolbarComponentProvider;
|
|
190
202
|
/**
|
|
191
203
|
* Specify component to use for rendering the scheduled email dialog.
|
|
192
204
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EACH,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,8BAA8B,EAC9B,cAAc,EACd,gBAAgB,EACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,8BAA8B,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AAC5G,OAAO,EACH,mCAAmC,EACnC,6CAA6C,EAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACH,wBAAwB,EACxB,wCAAwC,EACxC,gCAAgC,EAChC,0CAA0C,EAC1C,oCAAoC,EACpC,oCAAoC,EACpC,4BAA4B,EAC5B,+BAA+B,EAC/B,mCAAmC,EACnC,yCAAyC,EACzC,yCAAyC,EACzC,iCAAiC,EACjC,8CAA8C,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EACH,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,8BAA8B,EAC9B,cAAc,EACd,gBAAgB,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types.js";
|
|
7
7
|
import { CustomSaveAsDialogComponent } from "../saveAs/types.js";
|
|
8
8
|
import { CustomShareDialogComponent } from "../shareDialog/types.js";
|
|
9
|
-
import { AttributeFilterComponentProvider, DashboardContentComponentProvider, DateFilterComponentProvider, InsightBodyComponentProvider, InsightComponentProvider, InsightMenuButtonComponentProvider, InsightMenuComponentProvider, InsightMenuTitleComponentProvider, KpiComponentProvider, RichTextComponentProvider, VisualizationSwitcherComponentProvider, WidgetComponentProvider } from "./types.js";
|
|
9
|
+
import { AttributeFilterComponentProvider, DashboardContentComponentProvider, DateFilterComponentProvider, InsightBodyComponentProvider, InsightComponentProvider, InsightMenuButtonComponentProvider, InsightMenuComponentProvider, InsightMenuTitleComponentProvider, KpiComponentProvider, RichTextComponentProvider, VisualizationSwitcherComponentProvider, VisualizationSwitcherToolbarComponentProvider, WidgetComponentProvider } from "./types.js";
|
|
10
10
|
import { CustomSidebarComponent } from "../dashboard/DashboardSidebar/types.js";
|
|
11
11
|
import { AttributeFilterComponentSet, DateFilterComponentSet, InsightWidgetComponentSet, KpiWidgetComponentSet, RichTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet } from "../componentDefinition/types.js";
|
|
12
12
|
import { CustomToolbarComponent } from "../toolbar/types.js";
|
|
@@ -24,6 +24,7 @@ interface IDashboardComponentsContext {
|
|
|
24
24
|
InsightMenuButtonComponentProvider: InsightMenuButtonComponentProvider;
|
|
25
25
|
InsightMenuComponentProvider: InsightMenuComponentProvider;
|
|
26
26
|
InsightMenuTitleComponentProvider: InsightMenuTitleComponentProvider;
|
|
27
|
+
VisualizationSwitcherToolbarComponentProvider: VisualizationSwitcherToolbarComponentProvider;
|
|
27
28
|
KpiComponentProvider: KpiComponentProvider;
|
|
28
29
|
RichTextComponentProvider: RichTextComponentProvider;
|
|
29
30
|
VisualizationSwitcherComponentProvider: VisualizationSwitcherComponentProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardComponentsContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EAEH,WAAW,EACX,aAAa,EAGhB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,8BAA8B,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AAC5G,OAAO,EACH,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EAC5B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACH,mCAAmC,EACnC,6CAA6C,EAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACH,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,EACxB,kCAAkC,EAClC,4BAA4B,EAC5B,iCAAiC,EACjC,oBAAoB,EACpB,yBAAyB,EACzB,sCAAsC,EACtC,uBAAuB,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EACH,2BAA2B,EAC3B,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,uCAAuC,EAC1C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAC;AAE9G;;GAEG;AACH,UAAU,2BAA2B;IACjC,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IACjD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa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,"file":"DashboardComponentsContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EAEH,WAAW,EACX,aAAa,EAGhB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,8BAA8B,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AAC5G,OAAO,EACH,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EAC5B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACH,mCAAmC,EACnC,6CAA6C,EAChD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACH,gCAAgC,EAChC,iCAAiC,EACjC,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,EACxB,kCAAkC,EAClC,4BAA4B,EAC5B,iCAAiC,EACjC,oBAAoB,EACpB,yBAAyB,EACzB,sCAAsC,EACtC,6CAA6C,EAC7C,uBAAuB,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EACH,2BAA2B,EAC3B,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,uCAAuC,EAC1C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAC;AAE9G;;GAEG;AACH,UAAU,2BAA2B;IACjC,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IACjD,gB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,yBAAyB,CAAC;IAC/C,iCAAiC,EAAE,iCAAiC,CAAC;CACxE;AA4DD;;GAEG;AACH,eAAO,MAAM,6BAA6B,6BACZ,QAAQ,2BAA2B,CAAC,KAC/D,2BAOF,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,2BAA2B;IAClF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,iCAAiC,GAAG,GAAG,CAAC,OAAO,CAOjG"}
|
|
@@ -44,6 +44,7 @@ const DashboardComponentsContext = createContext({
|
|
|
44
44
|
EmptyLayoutDropZoneBodyComponent: ThrowMissingComponentError("EmptyLayoutDropZoneBodyComponent"),
|
|
45
45
|
SaveButtonComponent: ThrowMissingComponentError("SaveButtonComponent"),
|
|
46
46
|
DashboardContentComponentProvider: ThrowMissingComponentError("DashboardContentComponentProvider"),
|
|
47
|
+
VisualizationSwitcherToolbarComponentProvider: ThrowMissingComponentError("VisualizationSwitcherToolbarComponentProvider"),
|
|
47
48
|
});
|
|
48
49
|
DashboardComponentsContext.displayName = "DashboardComponentsContext";
|
|
49
50
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardComponentsContext.js","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACH,cAAc,EAGd,gBAAgB,EAChB,kBAAkB,GACrB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardComponentsContext.js","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/DashboardComponentsContext.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACz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AG,CAAC;IACf,CAAC,EAAE,EAA+C,CAAC,CAAC;AACxD,CAAC,CAAC;AASF;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAwC;IAChF,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAC;IAC1C,OAAO,CACH,oBAAC,0BAA0B,CAAC,QAAQ,IAAC,KAAK,EAAE,UAAU,IACjD,QAAQ,CACyB,CACzC,CAAC;AACN,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
import { CustomDashboardInsightComponent, CustomDashboardInsightMenuButtonComponent, CustomDashboardInsightMenuComponent, CustomDashboardInsightMenuTitleComponent, CustomDashboardKpiComponent, CustomDashboardWidgetComponent, CustomInsightBodyComponent, IInsightMenuItem, CustomDashboardRichTextComponent, CustomDashboardVisualizationSwitcherComponent } from "../widget/types.js";
|
|
2
|
+
import { CustomDashboardInsightComponent, CustomDashboardInsightMenuButtonComponent, CustomDashboardInsightMenuComponent, CustomDashboardInsightMenuTitleComponent, CustomDashboardKpiComponent, CustomDashboardWidgetComponent, CustomInsightBodyComponent, IInsightMenuItem, CustomDashboardRichTextComponent, CustomDashboardVisualizationSwitcherComponent, CustomVisualizationSwitcherToolbarComponent } from "../widget/types.js";
|
|
3
3
|
import { DashboardConfig, ExtendedDashboardWidget } from "../../model/index.js";
|
|
4
4
|
import { CustomDashboardAttributeFilterComponent, CustomDashboardDateFilterComponent } from "../filterBar/types.js";
|
|
5
5
|
import { RenderMode } from "../../types.js";
|
|
@@ -81,6 +81,14 @@ export type OptionalRichTextComponentProvider = OptionalProvider<RichTextCompone
|
|
|
81
81
|
* @public
|
|
82
82
|
*/
|
|
83
83
|
export type VisualizationSwitcherComponentProvider = (visualizationSwitcher: IVisualizationSwitcherWidget) => CustomDashboardVisualizationSwitcherComponent;
|
|
84
|
+
/**
|
|
85
|
+
* @alpha
|
|
86
|
+
*/
|
|
87
|
+
export type VisualizationSwitcherToolbarComponentProvider = (widget: IVisualizationSwitcherWidget) => CustomVisualizationSwitcherToolbarComponent;
|
|
88
|
+
/**
|
|
89
|
+
* @alpha
|
|
90
|
+
*/
|
|
91
|
+
export type OptionalVisualizationSwitcherToolbarComponentProvider = OptionalProvider<VisualizationSwitcherToolbarComponentProvider>;
|
|
84
92
|
/**
|
|
85
93
|
* @public
|
|
86
94
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACH,+BAA+B,EAC/B,yCAAyC,EACzC,mCAAmC,EACnC,wCAAwC,EACxC,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,EAC1B,gBAAgB,EAChB,gCAAgC,EAChC,6CAA6C,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACH,+BAA+B,EAC/B,yCAAyC,EACzC,mCAAmC,EACnC,wCAAwC,EACxC,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,EAC1B,gBAAgB,EAChB,gCAAgC,EAChC,6CAA6C,EAC7C,2CAA2C,EAC9C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EACH,uCAAuC,EACvC,kCAAkC,EACrC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EACH,QAAQ,EACR,yBAAyB,EACzB,UAAU,EACV,cAAc,EACd,IAAI,EACJ,oBAAoB,EACpB,MAAM,EACN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AAoB,KAC3B,kCAAkC,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,gBAAgB,CAAC,2BAA2B,CAAC,CAAC;AAEhG;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG,CAC3C,MAAM,EAAE,yBAAyB,KAChC,uCAAuC,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG,gBAAgB,CAAC,gCAAgC,CAAC,CAAC;AAE1G;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG,CAC5C,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,KACvC,+BAA+B,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,yCAAyC,GAAG,gBAAgB,CAAC,iCAAiC,CAAC,CAAC;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,4 +1,4 @@
|
|
|
1
1
|
export { DefaultDeleteDialog, useDeleteDialogProps } from "./DefaultDeleteDialog.js";
|
|
2
|
-
export { CustomDeleteDialogComponent, IDeleteDialogProps } from "./types.js";
|
|
2
|
+
export type { CustomDeleteDialogComponent, IDeleteDialogProps } from "./types.js";
|
|
3
3
|
export { DeleteDialog } from "./DeleteDialog.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/deleteDialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrF,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/deleteDialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrF,YAAY,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { DashboardLayoutSectionBorder } from "./DashboardLayoutSectionBorder.js";
|
|
2
2
|
export { DashboardLayoutSectionBorderLine } from "./DashboardLayoutSectionBorderLine.js";
|
|
3
|
-
export { DashboardLayoutSectionBorderStatus } from "./types.js";
|
|
3
|
+
export type { DashboardLayoutSectionBorderStatus } from "./types.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,YAAY,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2022 GoodData Corporation
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
2
|
export { DashboardLayoutSectionBorder } from "./DashboardLayoutSectionBorder.js";
|
|
3
3
|
export { DashboardLayoutSectionBorderLine } from "./DashboardLayoutSectionBorderLine.js";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAcA,wBAAgB,wDAAwD,CAAC,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAcA,wBAAgB,wDAAwD,CAAC,YAAY,EAAE,MAAM,cAuC5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNewSectionVisualizationSwitcherPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,+CAA+C,EAAE,MAAM,sBAAsB,CAAC;AAEvF,OAAO,EACH,oBAAoB,EACpB,6BAA6B,EAC7B,SAAS,EACT,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,wDAAwD,CAAC,YAAoB;IACzF,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,GAAG,EAAE,iDAAiD,EAAE,GAAG,6BAA6B,CAAC;QAC7F,cAAc,EAAE,gBAAgB;QAChC,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,yCAAyC;QACvD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACvD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;YACtC,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC,GAAG,EAAE;QACpB,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QACpB,iDAAiD,CAAC,YAAY,EAAE,EAAE,EAAE;YAChE;gBACI,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE;oBACF,EAAE,EAAE;wBACA,UAAU,EAAE,+CAA+C,CAAC,MAAM,CAAC,OAAQ;wBAC3E,SAAS,EAAE,+CAA+C,CAAC,KAAK,CAAC,OAAQ;qBAC5E;iBACJ;gBACD,MAAM,EAAE;oBACJ,IAAI,EAAE,uBAAuB;oBAC7B,cAAc,EAAE,EAAE;oBAClB
|
|
1
|
+
{"version":3,"file":"useNewSectionVisualizationSwitcherPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,+CAA+C,EAAE,MAAM,sBAAsB,CAAC;AAEvF,OAAO,EACH,oBAAoB,EACpB,6BAA6B,EAC7B,SAAS,EACT,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,wDAAwD,CAAC,YAAoB;IACzF,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,GAAG,EAAE,iDAAiD,EAAE,GAAG,6BAA6B,CAAC;QAC7F,cAAc,EAAE,gBAAgB;QAChC,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,yCAAyC;QACvD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACvD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;YACtC,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC,GAAG,EAAE;QACpB,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QACpB,iDAAiD,CAAC,YAAY,EAAE,EAAE,EAAE;YAChE;gBACI,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE;oBACF,EAAE,EAAE;wBACA,UAAU,EAAE,+CAA+C,CAAC,MAAM,CAAC,OAAQ;wBAC3E,SAAS,EAAE,+CAA+C,CAAC,KAAK,CAAC,OAAQ;qBAC5E;iBACJ;gBACD,MAAM,EAAE;oBACJ,IAAI,EAAE,uBAAuB;oBAC7B,cAAc,EAAE,EAAE;oBAClB,WAAW,EAAE,EAAE;oBACf,MAAM,EAAE,EAAE;oBACV,sBAAsB,EAAE,EAAE;oBAC1B,KAAK,EAAE,EAAE;oBACT,UAAU,EAAE,EAAE;oBACd,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;oBACd,GAAG,EAAE,IAAI,EAAE,EAAE;iBAChB;aACJ;SACJ,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,iDAAiD,EAAE,YAAY,CAAC,CAAC,CAAC;AAC1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVisualizationSwitcherPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useVisualizationSwitcherPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAcA,wBAAgB,8CAA8C,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,cAqCrG"}
|
|
@@ -3,10 +3,9 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { v4 as uuidv4 } from "uuid";
|
|
4
4
|
import { idRef } from "@gooddata/sdk-model";
|
|
5
5
|
import { VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_DEFAULT } from "@gooddata/sdk-ui-ext";
|
|
6
|
-
import { addSectionItem,
|
|
6
|
+
import { addSectionItem, uiActions, useDashboardCommandProcessing, useDashboardDispatch, } from "../../../model/index.js";
|
|
7
7
|
export function useVisualizationSwitcherPlaceholderDropHandler(sectionIndex, itemIndex) {
|
|
8
8
|
const dispatch = useDashboardDispatch();
|
|
9
|
-
const settings = useDashboardSelector(selectSettings);
|
|
10
9
|
const { run: createVisualizationSwitcher } = useDashboardCommandProcessing({
|
|
11
10
|
commandCreator: addSectionItem,
|
|
12
11
|
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
@@ -29,7 +28,6 @@ export function useVisualizationSwitcherPlaceholderDropHandler(sectionIndex, ite
|
|
|
29
28
|
},
|
|
30
29
|
widget: {
|
|
31
30
|
type: "visualizationSwitcher",
|
|
32
|
-
selectedVisualizationIdentifier: "",
|
|
33
31
|
visualizations: [],
|
|
34
32
|
description: "",
|
|
35
33
|
drills: [],
|
|
@@ -40,6 +38,6 @@ export function useVisualizationSwitcherPlaceholderDropHandler(sectionIndex, ite
|
|
|
40
38
|
uri: `/${id}`,
|
|
41
39
|
},
|
|
42
40
|
});
|
|
43
|
-
}, [createVisualizationSwitcher, itemIndex, sectionIndex
|
|
41
|
+
}, [createVisualizationSwitcher, itemIndex, sectionIndex]);
|
|
44
42
|
}
|
|
45
43
|
//# sourceMappingURL=useVisualizationSwitcherPlaceholderDropHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVisualizationSwitcherPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,+CAA+C,EAAE,MAAM,sBAAsB,CAAC;AAEvF,OAAO,EACH,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"useVisualizationSwitcherPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,+CAA+C,EAAE,MAAM,sBAAsB,CAAC;AAEvF,OAAO,EACH,cAAc,EACd,SAAS,EACT,6BAA6B,EAC7B,oBAAoB,GACvB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,8CAA8C,CAAC,YAAoB,EAAE,SAAiB;IAClG,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,GAAG,EAAE,2BAA2B,EAAE,GAAG,6BAA6B,CAAC;QACvE,cAAc,EAAE,cAAc;QAC9B,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,uCAAuC;QACrD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACpD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;YACtC,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC,GAAG,EAAE;QACpB,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QACpB,2BAA2B,CAAC,YAAY,EAAE,SAAS,EAAE;YACjD,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE;gBACF,EAAE,EAAE;oBACA,UAAU,EAAE,+CAA+C,CAAC,MAAM,CAAC,OAAQ;oBAC3E,SAAS,EAAE,+CAA+C,CAAC,KAAK,CAAC,OAAQ;iBAC5E;aACJ;YACD,MAAM,EAAE;gBACJ,IAAI,EAAE,uBAAuB;gBAC7B,cAAc,EAAE,EAAE;gBAClB,WAAW,EAAE,EAAE;gBACf,MAAM,EAAE,EAAE;gBACV,sBAAsB,EAAE,EAAE;gBAC1B,KAAK,EAAE,EAAE;gBACT,UAAU,EAAE,EAAE;gBACd,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;gBACd,GAAG,EAAE,IAAI,EAAE,EAAE;aAChB;SACJ,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,2BAA2B,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -12,7 +12,7 @@ export interface DrillSelectDropdownProps extends DrillSelectContext {
|
|
|
12
12
|
onSelect: (item: DashboardDrillDefinition) => void;
|
|
13
13
|
}
|
|
14
14
|
export declare const DrillSelectDropdown: React.FC<DrillSelectDropdownProps>;
|
|
15
|
-
export declare const createDrillSelectItems: ({ drillDefinitions, drillEvent, insights, dashboardList, dashboardTitle, intl, widget, attributeDisplayForms,
|
|
15
|
+
export declare const createDrillSelectItems: ({ drillDefinitions, drillEvent, insights, dashboardList, dashboardTitle, intl, widget, attributeDisplayForms, }: {
|
|
16
16
|
drillDefinitions: DashboardDrillDefinition[];
|
|
17
17
|
drillEvent: IDrillEvent;
|
|
18
18
|
insights: ObjRefMap<IInsight>;
|
|
@@ -21,6 +21,5 @@ export declare const createDrillSelectItems: ({ drillDefinitions, drillEvent, in
|
|
|
21
21
|
intl: IntlShape;
|
|
22
22
|
widget?: IWidget | undefined;
|
|
23
23
|
attributeDisplayForms: Record<string, IAttributeDisplayFormMetadataObject>;
|
|
24
|
-
enableDrillDownIntersectionIgnoredAttributes: boolean;
|
|
25
24
|
}) => DrillSelectItem[];
|
|
26
25
|
//# sourceMappingURL=DrillSelectDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrillSelectDropdown.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectDropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAW,SAAS,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAyB,MAAM,mBAAmB,CAAC;AACpF,OAAO,EACH,QAAQ,EAOR,gBAAgB,EAGhB,mCAAmC,EAEnC,OAAO,EACV,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAE,kBAAkB,EAAa,eAAe,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"DrillSelectDropdown.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectDropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAW,SAAS,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAyB,MAAM,mBAAmB,CAAC;AACpF,OAAO,EACH,QAAQ,EAOR,gBAAgB,EAGhB,mCAAmC,EAEnC,OAAO,EACV,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAE,kBAAkB,EAAa,eAAe,EAAE,MAAM,YAAY,CAAC;AAW5E,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGpE,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB;IAChE,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,wBAAwB,KAAK,IAAI,CAAC;CACtD;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA6ClE,CAAC;AASF,eAAO,MAAM,sBAAsB;sBAUb,wBAAwB,EAAE;gBAChC,WAAW;cACb,UAAU,QAAQ,CAAC;mBACd,gBAAgB,EAAE;oBACjB,MAAM;UAChB,SAAS;;2BAEQ,OAAO,MAAM,EAAE,mCAAmC,CAAC;MAC1E,eAAe,EA0FlB,CAAC"}
|
|
@@ -11,7 +11,7 @@ import { isDrillToUrl } from "../types.js";
|
|
|
11
11
|
import { DrillSelectListBody } from "./DrillSelectListBody.js";
|
|
12
12
|
import { getDrillDownTitle, getDrillOriginAttributeElementTitle, getTotalDrillToUrlCount, } from "../utils/drillDownUtils.js";
|
|
13
13
|
import { DrillType } from "./types.js";
|
|
14
|
-
import { selectAccessibleDashboards, selectCatalogAttributeDisplayFormsById, selectDashboardTitle,
|
|
14
|
+
import { selectAccessibleDashboards, selectCatalogAttributeDisplayFormsById, selectDashboardTitle, selectInsightsMap, selectWidgetByRef, useDashboardSelector, } from "../../../model/index.js";
|
|
15
15
|
import { dashboardMatch } from "../utils/dashboardPredicate.js";
|
|
16
16
|
import { getDrillOriginLocalIdentifier } from "../../../_staging/drills/drillingUtils.js";
|
|
17
17
|
import compact from "lodash/compact.js";
|
|
@@ -23,7 +23,6 @@ export const DrillSelectDropdown = (props) => {
|
|
|
23
23
|
const insights = useDashboardSelector(selectInsightsMap);
|
|
24
24
|
const widget = useDashboardSelector(selectWidgetByRef(drillEvent.widgetRef));
|
|
25
25
|
const attributeDisplayForms = useDashboardSelector(selectCatalogAttributeDisplayFormsById);
|
|
26
|
-
const enableDrillDownIntersectionIgnoredAttributes = useDashboardSelector(selectEnableDrillDownIntersectionIgnoredAttributes);
|
|
27
26
|
const drillSelectItems = useMemo(() => createDrillSelectItems({
|
|
28
27
|
drillDefinitions,
|
|
29
28
|
drillEvent,
|
|
@@ -31,7 +30,6 @@ export const DrillSelectDropdown = (props) => {
|
|
|
31
30
|
dashboardList,
|
|
32
31
|
dashboardTitle,
|
|
33
32
|
attributeDisplayForms,
|
|
34
|
-
enableDrillDownIntersectionIgnoredAttributes,
|
|
35
33
|
intl,
|
|
36
34
|
widget: widget,
|
|
37
35
|
}), [
|
|
@@ -43,7 +41,6 @@ export const DrillSelectDropdown = (props) => {
|
|
|
43
41
|
intl,
|
|
44
42
|
widget,
|
|
45
43
|
attributeDisplayForms,
|
|
46
|
-
enableDrillDownIntersectionIgnoredAttributes,
|
|
47
44
|
]);
|
|
48
45
|
return isOpen ? (React.createElement("div", { className: "gd-drill-modal-picker-overlay-mask" },
|
|
49
46
|
React.createElement(Overlay, { closeOnOutsideClick: true, closeOnEscape: true, alignTo: `.${dropDownAnchorClass}`, onClose: onClose },
|
|
@@ -53,7 +50,7 @@ const getDashboardTitle = (dashboardRef, dashboardList) => {
|
|
|
53
50
|
const dashboard = dashboardList.find((dashboard) => dashboardMatch(dashboard.identifier, dashboard.ref, dashboardRef));
|
|
54
51
|
return dashboard ? dashboard.title : null;
|
|
55
52
|
};
|
|
56
|
-
export const createDrillSelectItems = ({ drillDefinitions, drillEvent, insights, dashboardList, dashboardTitle, intl, widget, attributeDisplayForms,
|
|
53
|
+
export const createDrillSelectItems = ({ drillDefinitions, drillEvent, insights, dashboardList, dashboardTitle, intl, widget, attributeDisplayForms, }) => {
|
|
57
54
|
const totalDrillToUrls = getTotalDrillToUrlCount(drillDefinitions);
|
|
58
55
|
return drillDefinitions.map((drillDefinition) => {
|
|
59
56
|
invariant(!isDrillToLegacyDashboard(drillDefinition), "Drill to pixel perfect dashboards from insight is not supported.");
|
|
@@ -62,12 +59,8 @@ export const createDrillSelectItems = ({ drillDefinitions, drillEvent, insights,
|
|
|
62
59
|
const drillTargetIdentifier = isIdentifierRef(drillDefinition.target)
|
|
63
60
|
? drillDefinition.target.identifier
|
|
64
61
|
: drillDefinition.target.uri;
|
|
65
|
-
const drillTargetDisplayForm =
|
|
66
|
-
|
|
67
|
-
: undefined;
|
|
68
|
-
const title = getDrillDownTitle(drillDefinition, drillEvent, enableDrillDownIntersectionIgnoredAttributes
|
|
69
|
-
? widget?.drillDownIntersectionIgnoredAttributes
|
|
70
|
-
: undefined, drillTargetDisplayForm);
|
|
62
|
+
const drillTargetDisplayForm = attributeDisplayForms[drillTargetIdentifier];
|
|
63
|
+
const title = getDrillDownTitle(drillDefinition, drillEvent, widget?.drillDownIntersectionIgnoredAttributes, drillTargetDisplayForm);
|
|
71
64
|
return {
|
|
72
65
|
type: DrillType.DRILL_DOWN,
|
|
73
66
|
name: drillTitle ?? title ?? "NULL", // TODO localize this? drilldown is currently only on bear and that does not support nulls anyway
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrillSelectDropdown.js","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectDropdown.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAa,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAe,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAA4B,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAEH,YAAY,EAEZ,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,wBAAwB,EAExB,gBAAgB,EAChB,qBAAqB,EAErB,eAAe,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EACH,iBAAiB,EACjB,mCAAmC,EACnC,uBAAuB,GAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAsB,SAAS,EAAmB,MAAM,YAAY,CAAC;AAC5E,OAAO,EACH,0BAA0B,EAC1B,sCAAsC,EACtC,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"DrillSelectDropdown.js","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectDropdown.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAa,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAe,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAA4B,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAEH,YAAY,EAEZ,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,wBAAwB,EAExB,gBAAgB,EAChB,qBAAqB,EAErB,eAAe,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EACH,iBAAiB,EACjB,mCAAmC,EACnC,uBAAuB,GAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAsB,SAAS,EAAmB,MAAM,YAAY,CAAC;AAC5E,OAAO,EACH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ps } from "./hooks/useDrill.js";
|
|
2
|
+
export { useDrill } from "./hooks/useDrill.js";
|
|
3
|
+
export type { UseDrillDownProps } from "./hooks/useDrillDown.js";
|
|
4
|
+
export { useDrillDown } from "./hooks/useDrillDown.js";
|
|
5
|
+
export type { UseDrillToInsightProps } from "./hooks/useDrillToInsight.js";
|
|
6
|
+
export { useDrillToInsight } from "./hooks/useDrillToInsight.js";
|
|
7
|
+
export type { UseDrillToDashboardProps } from "./hooks/useDrillToDashboard.js";
|
|
8
|
+
export { useDrillToDashboard } from "./hooks/useDrillToDashboard.js";
|
|
9
|
+
export type { UseDrillToAttributeUrlProps } from "./hooks/useDrillToAttributeUrl.js";
|
|
10
|
+
export { useDrillToAttributeUrl } from "./hooks/useDrillToAttributeUrl.js";
|
|
11
|
+
export type { UseDrillToCustomUrlProps } from "./hooks/useDrillToCustomUrl.js";
|
|
12
|
+
export { useDrillToCustomUrl } from "./hooks/useDrillToCustomUrl.js";
|
|
13
|
+
export type { UseDrillToLegacyDashboardProps } from "./hooks/useDrillToLegacyDashboard.js";
|
|
14
|
+
export { useDrillToLegacyDashboard } from "./hooks/useDrillToLegacyDashboard.js";
|
|
15
|
+
export type { WithDrillSelectProps } from "./DrillSelect/WithDrillSelect.js";
|
|
16
|
+
export { WithDrillSelect } from "./DrillSelect/WithDrillSelect.js";
|
|
17
|
+
export type { OnWidgetDrill, OnDashboardDrill, DrillStep, OnDrillDown, OnDrillToAttributeUrl, OnDrillToCustomUrl, OnDrillToDashboard, OnDrillToInsight, OnDashboardDrillError, OnDashboardDrillSuccess, OnDrillDownSuccess, OnDrillToAttributeUrlSuccess, OnDrillToCustomUrlSuccess, OnDrillToDashboardSuccess, OnDrillToInsightSuccess, OnDrillToLegacyDashboard, OnDrillToLegacyDashboardSuccess, IDrillToUrl, } from "./types.js";
|
|
10
18
|
export { getDrillDownTitle } from "./utils/drillDownUtils.js";
|
|
11
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/drill/index.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/drill/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,YAAY,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,YAAY,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,YAAY,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,YAAY,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,YAAY,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAC3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,YAAY,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,YAAY,EACR,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,+BAA+B,EAC/B,WAAW,GACd,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
// (C) 2021-2024 GoodData Corporation
|
|
2
1
|
export { useDrill } from "./hooks/useDrill.js";
|
|
3
2
|
export { useDrillDown } from "./hooks/useDrillDown.js";
|
|
4
3
|
export { useDrillToInsight } from "./hooks/useDrillToInsight.js";
|
|
5
4
|
export { useDrillToDashboard } from "./hooks/useDrillToDashboard.js";
|
|
6
5
|
export { useDrillToAttributeUrl } from "./hooks/useDrillToAttributeUrl.js";
|
|
7
6
|
export { useDrillToCustomUrl } from "./hooks/useDrillToCustomUrl.js";
|
|
8
|
-
export { useDrillToLegacyDashboard
|
|
7
|
+
export { useDrillToLegacyDashboard } from "./hooks/useDrillToLegacyDashboard.js";
|
|
9
8
|
export { WithDrillSelect } from "./DrillSelect/WithDrillSelect.js";
|
|
10
9
|
export { getDrillDownTitle } from "./utils/drillDownUtils.js";
|
|
11
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presentation/drill/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presentation/drill/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAEjF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAqBnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddFilterView.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/AddFilterView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,mBAAmB;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"AddFilterView.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/AddFilterView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,mBAAmB;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA+DvD,CAAC"}
|
|
@@ -23,7 +23,7 @@ export const AddFilterView = ({ onClose }) => {
|
|
|
23
23
|
React.createElement("span", { className: "gd-icon-navigateleft" }),
|
|
24
24
|
React.createElement(FormattedMessage, { id: "filters.filterViews.add.title" })))),
|
|
25
25
|
React.createElement("div", { className: "configuration-category" },
|
|
26
|
-
React.createElement(Input, { value: name, isSmall: true, onChange: onInputChange, label: intl.formatMessage({ id: "filters.filterViews.add.nameLabel" }), placeholder: intl.formatMessage({ id: "filters.filterViews.add.namePlaceholder" }) }),
|
|
26
|
+
React.createElement(Input, { value: name, isSmall: true, onChange: onInputChange, label: intl.formatMessage({ id: "filters.filterViews.add.nameLabel" }), placeholder: intl.formatMessage({ id: "filters.filterViews.add.namePlaceholder" }), onEnterKeyPress: handleSave, autofocus: true }),
|
|
27
27
|
React.createElement("div", { className: "gd-filter-view-add-checkbox-row" },
|
|
28
28
|
React.createElement(Checkbox, { value: isDefault, onChange: setDefault, text: intl.formatMessage({ id: "filters.filterViews.add.setAsDefaultLabel" }) })),
|
|
29
29
|
React.createElement("div", { className: "gd-message progress gd-filter-view-add-hint" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddFilterView.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/AddFilterView.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAMlF,MAAM,CAAC,MAAM,aAAa,GAAkC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACxE,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC3C,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;IAC7C,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,aAAa,GAAG,CAAC,KAAsB,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAEzE,MAAM,UAAU,GAAG,GAAG,EAAE;QACpB,IAAI,aAAa,EAAE,CAAC;YAChB,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC;YACjD,OAAO,EAAE,CAAC;QACd,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACH,6BAAK,SAAS,EAAC,2DAA2D;QACtE,6BAAK,SAAS,EAAC,4BAA4B;YACvC,oBAAC,UAAU,IACP,OAAO,EAAC,IAAI,EACZ,SAAS,EAAC,4CAA4C,EACtD,OAAO,EAAE,OAAO;gBAEhB,6BAAK,SAAS,EAAC,oBAAoB;oBAC/B,8BAAM,SAAS,EAAC,sBAAsB,GAAG;oBACzC,oBAAC,gBAAgB,IAAC,EAAE,EAAC,+BAA+B,GAAG,CACrD,CACG,CACX;QACN,6BAAK,SAAS,EAAC,wBAAwB;YACnC,oBAAC,KAAK,IACF,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,IAAI,EACb,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,mCAAmC,EAAE,CAAC,EACtE,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,yCAAyC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"AddFilterView.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/AddFilterView.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAMlF,MAAM,CAAC,MAAM,aAAa,GAAkC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACxE,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,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6BAAK,SAAS,EAAC,iCAAiC;gBAC5C,oBAAC,QAAQ,IACL,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,2CAA2C,EAAE,CAAC,GAC/E,CACA;YACN,6BAAK,SAAS,EAAC,6CAA6C;gBACxD,oBAAC,gBAAgB,IAAC,EAAE,EAAC,8BAA8B,GAAG,CACpD,CACJ;QACN,6BAAK,SAAS,EAAC,4BAA4B;YACvC,6BAAK,SAAS,EAAC,qCAAqC;gBAChD,oBAAC,MAAM,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,+BAA+B;oBAC5E,oBAAC,gBAAgB,IAAC,EAAE,EAAC,sCAAsC,GAAG,CACzD;gBACT,oBAAC,MAAM,IAAC,MAAM,EAAC,QAAQ,EAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,aAAa;oBAC9E,oBAAC,gBAAgB,IAAC,EAAE,EAAC,oCAAoC,GAAG,CACvD,CACP,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterViews.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterViews.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAkF3C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAgE/B,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { FormattedMessage } from "react-intl";
|
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { DropdownButton, useMediaQuery } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { ConfigurationBubble } from "../../../widget/common/configuration/ConfigurationBubble.js";
|
|
7
|
-
import { useDashboardSelector, selectFilterViews, selectIsInEditMode, useDashboardDispatch, uiActions, selectDisableFilterViews, selectIsFilterViewsDialogOpen, selectFilterViewsDialogMode, } from "../../../../model/index.js";
|
|
7
|
+
import { useDashboardSelector, selectFilterViews, selectIsInEditMode, useDashboardDispatch, uiActions, selectDisableFilterViews, selectIsFilterViewsDialogOpen, selectFilterViewsDialogMode, selectIsNewDashboard, selectCanCreateFilterView, } from "../../../../model/index.js";
|
|
8
8
|
import { FilterViewsList } from "./FilterViewsList.js";
|
|
9
9
|
import { useFilterViewsToastMessages } from "./useFilterViewsToastMessages.js";
|
|
10
10
|
import { AddFilterView } from "./AddFilterView.js";
|
|
@@ -39,12 +39,18 @@ export const FilterViews = () => {
|
|
|
39
39
|
const isDashboardEditMode = useDashboardSelector(selectIsInEditMode);
|
|
40
40
|
const filterViews = useDashboardSelector(selectFilterViews);
|
|
41
41
|
const isFilterViewsEnabledForDashboard = !useDashboardSelector(selectDisableFilterViews);
|
|
42
|
+
const isNewDashboard = useDashboardSelector(selectIsNewDashboard);
|
|
43
|
+
const canCreateFilterView = useDashboardSelector(selectCanCreateFilterView);
|
|
42
44
|
const isMobile = useMediaQuery("mobileDevice");
|
|
43
45
|
const { toggleDialog, openAddDialog, openListDialog, closeDialog } = useCallbacks();
|
|
44
46
|
useFilterViewsToastMessages();
|
|
47
|
+
// filter views dropdown should be visible when user looses the permission but had some views created
|
|
48
|
+
const isUserPermittedToSeeDropdown = filterViews.length > 0 || canCreateFilterView;
|
|
45
49
|
// On mobile the dropdown button is not on filter bar but rendered inside the "..." dashboard menu.
|
|
46
50
|
// The dropdown body must still be rendered so the body can be opened when user uses the menu.
|
|
47
|
-
|
|
51
|
+
// Also, the menu is not available for new dashboard as new filter view can be saved only for an existing
|
|
52
|
+
// dashboard with ref id.
|
|
53
|
+
const showDropdownButton = isFilterViewsEnabledForDashboard && isUserPermittedToSeeDropdown && !isNewDashboard && !isMobile;
|
|
48
54
|
const buttonClassNames = cx("gd-filter-views-button", "gd-filter-views__dropdown-anchor", "gd-button-large", {
|
|
49
55
|
"gd-filter-views-button--open": isDialogOpen,
|
|
50
56
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterViews.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAe,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGlF,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,
|
|
1
|
+
{"version":3,"file":"FilterViews.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAe,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGlF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAClG,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA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c,IAAI,CAAC,QAAQ,CAAC;IAErG,MAAM,gBAAgB,GAAG,EAAE,CACvB,wBAAwB,EACxB,kCAAkC,EAClC,iBAAiB,EACjB;QACI,8BAA8B,EAAE,YAAY;KAC/C,CACJ,CAAC;IAEF,OAAO,CACH,6BAAK,SAAS,EAAC,iBAAiB;QAC3B,kBAAkB,CAAC,CAAC,CAAC,CAClB;YACI,oBAAC,cAAc,IAAC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,EAAE,YAAY;gBACpF,oBAAC,mBAAmB,IAAC,WAAW,EAAE,WAAW,GAAI,CACpC;YAChB,mBAAmB,CAAC,CAAC,CAAC,6BAAK,SAAS,EAAC,kCAAkC,GAAG,CAAC,CAAC,CAAC,IAAI,CACnF,CACN,CAAC,CAAC,CAAC,CACA,6BAAK,SAAS,EAAC,kCAAkC,GAAG,CACvD;QACA,YAAY,CAAC,CAAC,CAAC,CACZ,oBAAC,mBAAmB,IAChB,UAAU,EAAC,yBAAyB,EACpC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAC,mCAAmC,EAC3C,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,CACzB,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterViewsList.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViewsList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,oBAAoB,EAAkB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterViewsList.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViewsList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,oBAAoB,EAAkB,MAAM,qBAAqB,CAAC;AAkF3E,MAAM,WAAW,6BAA6B;IAC1C,WAAW,EAAE,oBAAoB,EAAE,GAAG,SAAS,CAAC;IAChD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CA0GnE,CAAC"}
|