@gooddata/sdk-ui-dashboard 10.10.0-alpha.9 → 10.10.0
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 +3 -3
- 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/drills/drillingUtils.d.ts +12 -1
- package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
- package/esm/_staging/drills/drillingUtils.js +20 -1
- package/esm/_staging/drills/drillingUtils.js.map +1 -1
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +4 -1
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts +7 -0
- package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -0
- package/esm/_staging/sharedHooks/useFiltersNamings.js +70 -0
- package/esm/_staging/sharedHooks/useFiltersNamings.js.map +1 -0
- package/esm/model/commandHandlers/common/validateDrills.d.ts +2 -2
- package/esm/model/commandHandlers/common/validateDrills.d.ts.map +1 -1
- package/esm/model/commandHandlers/common/validateDrills.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadOrganizationSmtps.d.ts +4 -0
- package/esm/model/commandHandlers/dashboard/common/loadOrganizationSmtps.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/common/loadOrganizationSmtps.js +13 -0
- package/esm/model/commandHandlers/dashboard/common/loadOrganizationSmtps.js.map +1 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +8 -2
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillDownHandler.js +5 -2
- package/esm/model/commandHandlers/drill/drillDownHandler.js.map +1 -1
- package/esm/model/index.d.ts +1 -1
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js.map +1 -1
- package/esm/model/queryServices/queryWidgetFilters.d.ts.map +1 -1
- package/esm/model/queryServices/queryWidgetFilters.js.map +1 -1
- package/esm/model/react/useDashboardAlerts.d.ts.map +1 -1
- package/esm/model/react/useDashboardAlerts.js +5 -4
- package/esm/model/react/useDashboardAlerts.js.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.d.ts +2 -1
- package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.js +8 -7
- package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
- package/esm/model/store/automations/automationsSelectors.d.ts +2 -2
- package/esm/model/store/automations/automationsSelectors.d.ts.map +1 -1
- package/esm/model/store/automations/automationsSelectors.js +14 -4
- package/esm/model/store/automations/automationsSelectors.js.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.d.ts +4 -0
- package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.js +9 -0
- package/esm/model/store/catalog/catalogSelectors.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +2 -0
- package/esm/model/store/dashboardStore.js.map +1 -1
- package/esm/model/store/index.d.ts +5 -3
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +4 -3
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/layoutUtils.d.ts +1 -1
- package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
- package/esm/model/store/layout/layoutUtils.js +5 -2
- package/esm/model/store/layout/layoutUtils.js.map +1 -1
- package/esm/model/store/smtps/index.d.ts +8 -0
- package/esm/model/store/smtps/index.d.ts.map +1 -0
- package/esm/model/store/smtps/index.js +12 -0
- package/esm/model/store/smtps/index.js.map +1 -0
- package/esm/model/store/smtps/smtpsReducers.d.ts +12 -0
- package/esm/model/store/smtps/smtpsReducers.d.ts.map +1 -0
- package/esm/model/store/smtps/smtpsReducers.js +9 -0
- package/esm/model/store/smtps/smtpsReducers.js.map +1 -0
- package/esm/model/store/smtps/smtpsSelectors.d.ts +22 -0
- package/esm/model/store/smtps/smtpsSelectors.d.ts.map +1 -0
- package/esm/model/store/smtps/smtpsSelectors.js +28 -0
- package/esm/model/store/smtps/smtpsSelectors.js.map +1 -0
- package/esm/model/store/smtps/smtpsState.d.ts +12 -0
- package/esm/model/store/smtps/smtpsState.d.ts.map +1 -0
- package/esm/model/store/smtps/smtpsState.js +3 -0
- package/esm/model/store/smtps/smtpsState.js.map +1 -0
- package/esm/model/store/types.d.ts +3 -0
- package/esm/model/store/types.d.ts.map +1 -1
- package/esm/model/store/ui/index.d.ts +5 -0
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +5 -0
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +10 -0
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +8 -0
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +8 -0
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +4 -0
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +4 -0
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/model/types/commonTypes.d.ts +7 -1
- package/esm/model/types/commonTypes.d.ts.map +1 -1
- package/esm/model/types/commonTypes.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +2 -2
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js +15 -11
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js.map +1 -1
- package/esm/presentation/componentDefinition/types.d.ts +28 -5
- package/esm/presentation/componentDefinition/types.d.ts.map +1 -1
- package/esm/presentation/constants/colors.d.ts +1 -0
- package/esm/presentation/constants/colors.d.ts.map +1 -1
- package/esm/presentation/constants/colors.js +2 -1
- package/esm/presentation/constants/colors.js.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js +6 -0
- package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js +3 -3
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts +2 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +5 -1
- package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DashboardSidebar.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/DashboardSidebar.js +2 -2
- package/esm/presentation/dashboard/DashboardSidebar/DashboardSidebar.js.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.js +2 -2
- package/esm/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.js.map +1 -1
- package/esm/presentation/dashboard/DashboardSidebar/types.d.ts +8 -1
- package/esm/presentation/dashboard/DashboardSidebar/types.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +2 -0
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardMainContent.js +2 -0
- package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -3
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts +4 -2
- package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
- package/esm/presentation/dashboard/hooks/useDashboard.js +11 -2
- package/esm/presentation/dashboard/hooks/useDashboard.js.map +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 +4 -2
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +2 -0
- package/esm/presentation/dashboardContexts/DashboardComponentsContext.js.map +1 -1
- package/esm/presentation/dashboardContexts/types.d.ts +10 -2
- package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/DefaultDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/DefaultDeleteDialog.js +29 -21
- package/esm/presentation/deleteDialog/DefaultDeleteDialog.js.map +1 -1
- package/esm/presentation/deleteDialog/types.d.ts +5 -2
- package/esm/presentation/deleteDialog/types.d.ts.map +1 -1
- package/esm/presentation/deleteDialog/types.js +1 -1
- package/esm/presentation/deleteDialog/types.js.map +1 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js +3 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.d.ts +3 -0
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js +20 -0
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts +16 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js +18 -0
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js +16 -2
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js +15 -3
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js +19 -2
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.d.ts +4 -0
- package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.js +10 -0
- package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +17 -3
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts +3 -0
- package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/index.js +3 -0
- package/esm/presentation/dragAndDrop/draggableWidget/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js +4 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.js +2 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts +2 -2
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +2 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +46 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +2 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +45 -0
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/dragAndDrop/types.d.ts +25 -3
- package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/types.js +12 -0
- package/esm/presentation/dragAndDrop/types.js.map +1 -1
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.js +2 -0
- package/esm/presentation/dragAndDrop/useDashboardDragScroll.js.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts +12 -2
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +39 -9
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js.map +1 -1
- package/esm/presentation/drill/index.d.ts +2 -2
- package/esm/presentation/drill/index.d.ts.map +1 -1
- package/esm/presentation/drill/index.js +2 -2
- package/esm/presentation/drill/index.js.map +1 -1
- package/esm/presentation/drill/types.d.ts +3 -0
- package/esm/presentation/drill/types.d.ts.map +1 -1
- package/esm/presentation/drill/types.js.map +1 -1
- package/esm/presentation/drill/utils/drillDownUtils.d.ts +7 -2
- package/esm/presentation/drill/utils/drillDownUtils.d.ts.map +1 -1
- package/esm/presentation/drill/utils/drillDownUtils.js +21 -5
- package/esm/presentation/drill/utils/drillDownUtils.js.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js +12 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +135 -32
- package/esm/presentation/localization/bundles/zh-HK.json +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +0 -7
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +44 -52
- 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 +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +5 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.d.ts +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js +5 -68
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +3 -9
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +12 -25
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts +5 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.js +14 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +10 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.js +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.js.map +1 -1
- package/esm/presentation/scheduledEmail/types.d.ts +9 -1
- package/esm/presentation/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +3 -3
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +3 -3
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/index.d.ts +1 -0
- package/esm/presentation/widget/index.d.ts.map +1 -1
- package/esm/presentation/widget/index.js +1 -0
- 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 +18 -5
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/DashboardInsightWithDrillDialog.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts +8 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +33 -11
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts +4 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +7 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +5 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts +3 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +1 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +2 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +0 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +15 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +5 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +7 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +51 -13
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +2 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts +30 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js +73 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.d.ts +7 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.js +25 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +4 -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 +10 -46
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +19 -7
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useOperators.d.ts +9 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useOperators.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useOperators.js +22 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useOperators.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts +30 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js +30 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +20 -7
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +305 -19
- 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 +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.js +3 -12
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.js.map +1 -1
- package/esm/presentation/widget/insight/types.d.ts +22 -1
- package/esm/presentation/widget/insight/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/types.js +8 -1
- package/esm/presentation/widget/insight/types.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.d.ts +2 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.js +6 -4
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.js.map +1 -1
- package/esm/presentation/widget/types.d.ts +1 -0
- package/esm/presentation/widget/types.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/CreatableVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/CreatableVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/CreatableVisualizationSwitcher.js +13 -0
- package/esm/presentation/widget/visualizationSwitcher/CreatableVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.js +13 -0
- package/esm/presentation/widget/visualizationSwitcher/DashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.d.ts +8 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js +14 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcherComponentSetFactory.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcherComponentSetFactory.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcherComponentSetFactory.js +24 -0
- package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcherComponentSetFactory.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js +17 -0
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts +7 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +9 -0
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts +4 -0
- package/esm/presentation/widget/visualizationSwitcher/index.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/index.js +4 -0
- package/esm/presentation/widget/visualizationSwitcher/index.js.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts +53 -0
- package/esm/presentation/widget/visualizationSwitcher/types.d.ts.map +1 -0
- package/esm/presentation/widget/visualizationSwitcher/types.js +3 -0
- package/esm/presentation/widget/visualizationSwitcher/types.js.map +1 -0
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +5 -1
- 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 +6 -5
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.js +12 -3
- package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts +7 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js +13 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts +7 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +18 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts +6 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js +12 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/index.d.ts +2 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/index.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/index.js +3 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/index.js.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts +7 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts.map +1 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.js +3 -0
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.js.map +1 -0
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts +11 -0
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts.map +1 -0
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.js +76 -0
- package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.js.map +1 -0
- package/esm/presentation/widgetDeleteDialog/WidgetDeleteDialog.d.ts +7 -0
- package/esm/presentation/widgetDeleteDialog/WidgetDeleteDialog.d.ts.map +1 -0
- package/esm/presentation/widgetDeleteDialog/WidgetDeleteDialog.js +11 -0
- package/esm/presentation/widgetDeleteDialog/WidgetDeleteDialog.js.map +1 -0
- package/esm/presentation/widgetDeleteDialog/index.d.ts +4 -0
- package/esm/presentation/widgetDeleteDialog/index.d.ts.map +1 -0
- package/esm/presentation/widgetDeleteDialog/index.js +4 -0
- package/esm/presentation/widgetDeleteDialog/index.js.map +1 -0
- package/esm/presentation/widgetDeleteDialog/types.d.ts +18 -0
- package/esm/presentation/widgetDeleteDialog/types.d.ts.map +1 -0
- package/esm/presentation/widgetDeleteDialog/types.js +3 -0
- package/esm/presentation/widgetDeleteDialog/types.js.map +1 -0
- package/esm/sdk-ui-dashboard.d.ts +244 -9
- package/esm/widgets/placeholders/types.js +1 -1
- package/package.json +15 -15
- package/styles/css/alerting.css +22 -0
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/dashboard.css +5 -1
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/deleteDialog.css +6 -0
- package/styles/css/deleteDialog.css.map +1 -0
- package/styles/css/main.css +72 -1
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +5 -1
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/sidebar.css +19 -0
- package/styles/css/sidebar.css.map +1 -1
- package/styles/css/visualizationSwitcherWidget.css +27 -0
- package/styles/css/visualizationSwitcherWidget.css.map +1 -0
- package/styles/scss/alerting.scss +23 -0
- package/styles/scss/deleteDialog.scss +6 -0
- package/styles/scss/main.scss +2 -0
- package/styles/scss/notifications_channels_dialog.scss +6 -3
- package/styles/scss/sidebar.scss +26 -0
- package/styles/scss/visualizationSwitcherWidget.scss +23 -0
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.d.ts +0 -4
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.d.ts.map +0 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.js +0 -31
- package/esm/presentation/alerting/DefaultAlertingDialog/operator.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentDragPreview.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAM,OAAO,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIpD,SAAS,aAAa,CAAC,aAA6B,EAAE,YAA4B;IAC9E,IAAI,CAAC,aAAa,IAAI,CAAC,YAAY,EAAE,CAAC;QAClC,OAAO;YACH,OAAO,EAAE,MAAM;SAClB,CAAC;IACN,CAAC;IAED,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,YAAY,CAAC;IAE9B,MAAM,SAAS,GAAG,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC;IAC9C,OAAO;QACH,SAAS;QACT,eAAe,EAAE,SAAS;KAC7B,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAA+C,CAAC,KAAK,EAAE,EAAE;IACpF,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE9D,MAAM,EACF,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"ContentDragPreview.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAM,OAAO,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIpD,SAAS,aAAa,CAAC,aAA6B,EAAE,YAA4B;IAC9E,IAAI,CAAC,aAAa,IAAI,CAAC,YAAY,EAAE,CAAC;QAClC,OAAO;YACH,OAAO,EAAE,MAAM;SAClB,CAAC;IACN,CAAC;IAED,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG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I,qBAAqB,EAAE,CAAC;gBACxB,OAAO,CAAC,IAAI,CAAC,iBAAiB,QAAQ,iCAAiC,CAAC,CAAC;YAC7E,CAAC;YACD,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,MAAM,SAAS,GAAG,oBAAoB,CAAC,QAAoC,CAAC,CAAC;QAC7E,OAAO,oBAAC,SAAS,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;IACzD,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAAoB,EAAE,IAAI,CAAC,CAAC,CAAC;IAE3C,OAAO,CACH,6BAAK,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,aAAa,CAAC,aAAa,EAAE,YAAY,CAAC,IAC1E,SAAS,CACR,CACT,CAAC;AACN,CAAC,CAAC"}
|
package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddVisualizationSwitcherWidgetButton.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,oCAAoC,EAAE,KAAK,CAAC,EAuBxD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FormattedMessage } from "react-intl";
|
|
4
|
+
import cx from "classnames";
|
|
5
|
+
import { Bubble, BubbleHoverTrigger, Icon, useMediaQuery } from "@gooddata/sdk-ui-kit";
|
|
6
|
+
const bubbleAlignPoints = [{ align: "cr cl", offset: { x: 5, y: 0 } }];
|
|
7
|
+
export const AddVisualizationSwitcherWidgetButton = () => {
|
|
8
|
+
const isMobileDevice = useMediaQuery("mobileDevice");
|
|
9
|
+
return (React.createElement("div", { className: "add-item-placeholder add-item-placeholder-visualization-switcher s-add-visualization-switcher" },
|
|
10
|
+
React.createElement(Icon.VisualizationSwitcher, null),
|
|
11
|
+
React.createElement(FormattedMessage, { id: "addPanel.visualizationSwitcher" }),
|
|
12
|
+
React.createElement(BubbleHoverTrigger, { eventsOnBubble: true, className: "gd-add-visualization-switcher s-add-visualization-switcher-bubble-trigger" },
|
|
13
|
+
React.createElement("div", { className: cx("s-description-trigger", {
|
|
14
|
+
"is-mobile": isMobileDevice,
|
|
15
|
+
}) },
|
|
16
|
+
React.createElement("div", { className: "gd-icon-circle-question" })),
|
|
17
|
+
React.createElement(Bubble, { alignPoints: bubbleAlignPoints },
|
|
18
|
+
React.createElement(FormattedMessage, { id: "addPanel.visualizationSwitcher.tooltip" })))));
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=AddVisualizationSwitcherWidgetButton.js.map
|
package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddVisualizationSwitcherWidgetButton.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAe,IAAI,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEpG,MAAM,iBAAiB,GAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;AAEtF,MAAM,CAAC,MAAM,oCAAoC,GAAa,GAAG,EAAE;IAC/D,MAAM,cAAc,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;IACrD,OAAO,CACH,6BAAK,SAAS,EAAC,+FAA+F;QAC1G,oBAAC,IAAI,CAAC,qBAAqB,OAAG;QAC9B,oBAAC,gBAAgB,IAAC,EAAE,EAAC,gCAAgC,GAAG;QACxD,oBAAC,kBAAkB,IACf,cAAc,EAAE,IAAI,EACpB,SAAS,EAAC,2EAA2E;YAErF,6BACI,SAAS,EAAE,EAAE,CAAC,uBAAuB,EAAE;oBACnC,WAAW,EAAE,cAAc;iBAC9B,CAAC;gBAEF,6BAAK,SAAS,EAAC,yBAAyB,GAAG,CACzC;YACN,oBAAC,MAAM,IAAC,WAAW,EAAE,iBAAiB;gBAClC,oBAAC,gBAAgB,IAAC,EAAE,EAAC,wCAAwC,GAAG,CAC3D,CACQ,CACnB,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CustomCreatePanelItemComponent } from "../../componentDefinition/index.js";
|
|
3
|
+
import { IWrapCreatePanelItemWithDragComponent } from "../types.js";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
interface IDraggableRichTextCreatePanelItemProps {
|
|
8
|
+
CreatePanelItemComponent: CustomCreatePanelItemComponent;
|
|
9
|
+
WrapCreatePanelItemWithDragComponent?: IWrapCreatePanelItemWithDragComponent;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const DraggableVisualizationSwitcherCreatePanelItem: React.FC<IDraggableRichTextCreatePanelItemProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=DraggableVisualizationSwitcherCreatePanelItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggableVisualizationSwitcherCreatePanelItem.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAEpF,OAAO,EAAiB,qCAAqC,EAAE,MAAM,aAAa,CAAC;AAEnF;;GAEG;AACH,UAAU,sCAAsC;IAC5C,wBAAwB,EAAE,8BAA8B,CAAC;IACzD,oCAAoC,CAAC,EAAE,qCAAqC,CAAC;CAChF;AAUD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,KAAK,CAAC,EAAE,CAChE,sCAAsC,CAUzC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_DEFAULT } from "@gooddata/sdk-ui-ext";
|
|
4
|
+
import { DraggableCreatePanelItem } from "../DraggableCreatePanelItem.js";
|
|
5
|
+
const dragItem = {
|
|
6
|
+
type: "visualizationSwitcherListItem",
|
|
7
|
+
size: {
|
|
8
|
+
gridHeight: VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_DEFAULT.height.default,
|
|
9
|
+
gridWidth: VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_DEFAULT.width.default,
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export const DraggableVisualizationSwitcherCreatePanelItem = ({ CreatePanelItemComponent, WrapCreatePanelItemWithDragComponent }) => {
|
|
16
|
+
return (React.createElement(DraggableCreatePanelItem, { Component: CreatePanelItemComponent, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent, dragItem: dragItem, hideDefaultPreview: false }));
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=DraggableVisualizationSwitcherCreatePanelItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggableVisualizationSwitcherCreatePanelItem.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,+CAA+C,EAAE,MAAM,sBAAsB,CAAC;AAGvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAW1E,MAAM,QAAQ,GAAkB;IAC5B,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACF,UAAU,EAAE,+CAA+C,CAAC,MAAM,CAAC,OAAO;QAC1E,SAAS,EAAE,+CAA+C,CAAC,KAAK,CAAC,OAAO;KAC3E;CACJ,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAEtD,CAAC,EAAE,wBAAwB,EAAE,oCAAoC,EAAE,EAAE,EAAE;IACvE,OAAO,CACH,oBAAC,wBAAwB,IACrB,SAAS,EAAE,wBAAwB,EACnC,oCAAoC,EAAE,oCAAoC,EAC1E,QAAQ,EAAE,QAAQ,EAClB,kBAAkB,EAAE,KAAK,GAC3B,CACL,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyDashboardDropZone.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"EmptyDashboardDropZone.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiC1B,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAkG1C,CAAC"}
|
|
@@ -5,7 +5,7 @@ import cx from "classnames";
|
|
|
5
5
|
import { Typography } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { Col } from "react-grid-system";
|
|
7
7
|
import { useDashboardDrop } from "../useDashboardDrop.js";
|
|
8
|
-
import { isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableListItem, } from "../types.js";
|
|
8
|
+
import { isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableListItem, isVisualizationSwitcherDraggableListItem, } from "../types.js";
|
|
9
9
|
import { useDashboardDispatch, useDashboardSelector, selectWidgetPlaceholder } from "../../../model/index.js";
|
|
10
10
|
import { useDashboardComponentsContext } from "../../dashboardContexts/index.js";
|
|
11
11
|
import { useNewSectionInsightListItemDropHandler } from "./useNewSectionInsightListItemDropHandler.js";
|
|
@@ -13,11 +13,13 @@ import { useNewSectionKpiPlaceholderDropHandler } from "./useNewSectionKpiPlaceh
|
|
|
13
13
|
import { useNewSectionInsightPlaceholderDropHandler } from "./useNewSectionInsightPlaceholderDropHandler.js";
|
|
14
14
|
import { getDashboardLayoutItemHeightForGrid } from "../../../_staging/layout/sizing.js";
|
|
15
15
|
import { useNewSectionRichTextPlaceholderDropHandler } from "./useNewSectionRichTextPlaceholderDropHandler.js";
|
|
16
|
+
import { useNewSectionVisualizationSwitcherPlaceholderDropHandler } from "./useNewSectionVisualizationSwitcherPlaceholderDropHandler.js";
|
|
16
17
|
const widgetCategoryMapping = {
|
|
17
18
|
"insight-placeholder": "insight",
|
|
18
19
|
insightListItem: "visualization",
|
|
19
20
|
"kpi-placeholder": "kpi",
|
|
20
21
|
richTextListItem: "richText",
|
|
22
|
+
visualizationSwitcherListItem: "visualizationSwitcher",
|
|
21
23
|
};
|
|
22
24
|
export const EmptyDashboardDropZone = () => {
|
|
23
25
|
const dispatch = useDashboardDispatch();
|
|
@@ -27,7 +29,14 @@ export const EmptyDashboardDropZone = () => {
|
|
|
27
29
|
const handleKpiPlaceholderDrop = useNewSectionKpiPlaceholderDropHandler(0);
|
|
28
30
|
const handleInsightPlaceholderDrop = useNewSectionInsightPlaceholderDropHandler(0);
|
|
29
31
|
const handleRichTextPlaceholderDrop = useNewSectionRichTextPlaceholderDropHandler(0);
|
|
30
|
-
const
|
|
32
|
+
const handleVisualizationSwitcherPlaceholderDrop = useNewSectionVisualizationSwitcherPlaceholderDropHandler(0);
|
|
33
|
+
const [{ canDrop, isOver, itemType, item }, dropRef] = useDashboardDrop([
|
|
34
|
+
"insightListItem",
|
|
35
|
+
"kpi-placeholder",
|
|
36
|
+
"insight-placeholder",
|
|
37
|
+
"richTextListItem",
|
|
38
|
+
"visualizationSwitcherListItem",
|
|
39
|
+
], {
|
|
31
40
|
drop: (item) => {
|
|
32
41
|
if (isInsightDraggableListItem(item)) {
|
|
33
42
|
handleInsightListItemDrop(item.insight);
|
|
@@ -41,6 +50,9 @@ export const EmptyDashboardDropZone = () => {
|
|
|
41
50
|
if (isRichTextDraggableListItem(item)) {
|
|
42
51
|
handleRichTextPlaceholderDrop();
|
|
43
52
|
}
|
|
53
|
+
if (isVisualizationSwitcherDraggableListItem(item)) {
|
|
54
|
+
handleVisualizationSwitcherPlaceholderDrop();
|
|
55
|
+
}
|
|
44
56
|
},
|
|
45
57
|
}, [
|
|
46
58
|
dispatch,
|
|
@@ -48,6 +60,7 @@ export const EmptyDashboardDropZone = () => {
|
|
|
48
60
|
handleInsightListItemDrop,
|
|
49
61
|
handleKpiPlaceholderDrop,
|
|
50
62
|
handleInsightPlaceholderDrop,
|
|
63
|
+
handleVisualizationSwitcherPlaceholderDrop,
|
|
51
64
|
]);
|
|
52
65
|
const { gridWidth = 12, gridHeight } = item?.size || {};
|
|
53
66
|
const message = React.createElement(FormattedMessage, { id: "newDashboard.dropInsight" });
|
|
@@ -63,6 +76,7 @@ export const EmptyDashboardDropZone = () => {
|
|
|
63
76
|
React.createElement(EmptyLayoutDropZoneBodyComponent, null),
|
|
64
77
|
React.createElement("div", { className: "drag-info-placeholder-drop-target s-drag-info-placeholder-drop-target" },
|
|
65
78
|
React.createElement("div", { className: "drop-target-inner" },
|
|
79
|
+
React.createElement(Typography, { tagName: "p", className: "drop-target-message visualization-switcher-drop-target" }, message),
|
|
66
80
|
React.createElement(Typography, { tagName: "p", className: "drop-target-message richText-drop-target" }, message),
|
|
67
81
|
React.createElement(Typography, { tagName: "p", className: "drop-target-message kpi-drop-target" }, message),
|
|
68
82
|
React.createElement(Typography, { tagName: "p", className: "drop-target-message visualization-drop-target" }, message))))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyDashboardDropZone.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAGH,0BAA0B,EAC1B,iCAAiC,EACjC,6BAA6B,EAC7B,2BAA2B,
|
|
1
|
+
{"version":3,"file":"EmptyDashboardDropZone.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAGH,0BAA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E;YACH,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,mCAAmC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;SACtF,EACD,SAAS,EAAE,EAAE,CAAC,uBAAuB,EAAE,WAAW,EAAE;YAChD,CAAC,QAAQ,cAAc,EAAE,CAAC,EAAE,CAAC,CAAC,cAAc;YAC5C,WAAW,EAAE,CAAC,cAAc;YAC5B,sBAAsB,EAAE,OAAO;SAClC,CAAC;QAEF,6BACI,SAAS,EAAE,EAAE,CAAC,6BAA6B,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,EACxF,GAAG,EAAE,OAAO;YAEZ,oBAAC,gCAAgC,OAAG;YACpC,6BAAK,SAAS,EAAC,uEAAuE;gBAClF,6BAAK,SAAS,EAAC,mBAAmB;oBAC9B,oBAAC,UAAU,IACP,OAAO,EAAC,GAAG,EACX,SAAS,EAAC,wDAAwD,IAEjE,OAAO,CACC;oBACb,oBAAC,UAAU,IAAC,OAAO,EAAC,GAAG,EAAC,SAAS,EAAC,0CAA0C,IACvE,OAAO,CACC;oBACb,oBAAC,UAAU,IAAC,OAAO,EAAC,GAAG,EAAC,SAAS,EAAC,qCAAqC,IAClE,OAAO,CACC;oBACb,oBAAC,UAAU,IAAC,OAAO,EAAC,GAAG,EAAC,SAAS,EAAC,+CAA+C,IAC5E,OAAO,CACC,CACX,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hotspot.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Hotspot.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAuB9D,UAAU,aAAa;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2G3C,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import React, { useCallback, useEffect, useRef } from "react";
|
|
4
4
|
import { getDropZoneDebugStyle } from "../debug.js";
|
|
5
|
-
import { isInsightDraggableItem, isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableItem, isRichTextDraggableListItem, } from "../types.js";
|
|
5
|
+
import { isInsightDraggableItem, isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableItem, isRichTextDraggableListItem, isVisualizationSwitcherDraggableItem, isVisualizationSwitcherDraggableListItem, } from "../types.js";
|
|
6
6
|
import { useDashboardDrop } from "../useDashboardDrop.js";
|
|
7
7
|
import { useInsightListItemDropHandler } from "./useInsightListItemDropHandler.js";
|
|
8
8
|
import { useInsightPlaceholderDropHandler } from "./useInsightPlaceholderDropHandler.js";
|
|
@@ -10,6 +10,7 @@ import { useKpiPlaceholderDropHandler } from "./useKpiPlaceholderDropHandler.js"
|
|
|
10
10
|
import { useMoveWidgetDropHandler } from "./useMoveWidgetHandler.js";
|
|
11
11
|
import { useWidgetDragHoverHandlers } from "./useWidgetDragHoverHandlers.js";
|
|
12
12
|
import { useRichTextPlaceholderDropHandler } from "./useRichTextPlaceholderDropHandler.js";
|
|
13
|
+
import { useVisualizationSwitcherPlaceholderDropHandler } from "./useVisualizationSwitcherPlaceholderDropHandler.js";
|
|
13
14
|
export const Hotspot = (props) => {
|
|
14
15
|
const { itemIndex, sectionIndex, classNames, dropZoneType, isEndingHotspot } = props;
|
|
15
16
|
const isOverLastValue = useRef(false);
|
|
@@ -19,6 +20,7 @@ export const Hotspot = (props) => {
|
|
|
19
20
|
const handleInsightPlaceholderDrop = useInsightPlaceholderDropHandler(sectionIndex, targetItemIndex);
|
|
20
21
|
const handleKpiPlaceholderDrop = useKpiPlaceholderDropHandler(sectionIndex, targetItemIndex);
|
|
21
22
|
const handleRichTextPlaceholderDrop = useRichTextPlaceholderDropHandler(sectionIndex, targetItemIndex);
|
|
23
|
+
const handleVisualizationSwitcherPlaceholderDrop = useVisualizationSwitcherPlaceholderDropHandler(sectionIndex, targetItemIndex);
|
|
22
24
|
const handleWidgetDrop = useMoveWidgetDropHandler(sectionIndex, targetItemIndex);
|
|
23
25
|
const { handleDragHoverStart } = useWidgetDragHoverHandlers();
|
|
24
26
|
const [{ canDrop, isOver, item }, dropRef] = useDashboardDrop([
|
|
@@ -29,6 +31,8 @@ export const Hotspot = (props) => {
|
|
|
29
31
|
"insight",
|
|
30
32
|
"richText",
|
|
31
33
|
"richTextListItem",
|
|
34
|
+
"visualizationSwitcher",
|
|
35
|
+
"visualizationSwitcherListItem",
|
|
32
36
|
], {
|
|
33
37
|
drop: (item) => {
|
|
34
38
|
if (isInsightDraggableListItem(item)) {
|
|
@@ -43,9 +47,13 @@ export const Hotspot = (props) => {
|
|
|
43
47
|
if (isRichTextDraggableListItem(item)) {
|
|
44
48
|
handleRichTextPlaceholderDrop();
|
|
45
49
|
}
|
|
50
|
+
if (isVisualizationSwitcherDraggableListItem(item)) {
|
|
51
|
+
handleVisualizationSwitcherPlaceholderDrop();
|
|
52
|
+
}
|
|
46
53
|
if (isInsightDraggableItem(item) ||
|
|
47
54
|
isKpiDraggableItem(item) ||
|
|
48
|
-
isRichTextDraggableItem(item)
|
|
55
|
+
isRichTextDraggableItem(item) ||
|
|
56
|
+
isVisualizationSwitcherDraggableItem(item)) {
|
|
49
57
|
handleWidgetDrop(item);
|
|
50
58
|
}
|
|
51
59
|
},
|
|
@@ -56,6 +64,7 @@ export const Hotspot = (props) => {
|
|
|
56
64
|
handleInsightPlaceholderDrop,
|
|
57
65
|
handleKpiPlaceholderDrop,
|
|
58
66
|
handleWidgetDrop,
|
|
67
|
+
handleVisualizationSwitcherPlaceholderDrop,
|
|
59
68
|
]);
|
|
60
69
|
useEffect(() => {
|
|
61
70
|
if (isOver) {
|
|
@@ -68,7 +77,10 @@ export const Hotspot = (props) => {
|
|
|
68
77
|
if (!item) {
|
|
69
78
|
return false;
|
|
70
79
|
}
|
|
71
|
-
if (isInsightDraggableItem(item) ||
|
|
80
|
+
if (isInsightDraggableItem(item) ||
|
|
81
|
+
isKpiDraggableItem(item) ||
|
|
82
|
+
isRichTextDraggableItem(item) ||
|
|
83
|
+
isVisualizationSwitcherDraggableItem(item)) {
|
|
72
84
|
return isEndingHotspot || item.sectionIndex !== sectionIndex || item.itemIndex !== itemIndex;
|
|
73
85
|
}
|
|
74
86
|
return true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hotspot.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EACH,sBAAsB,EACtB,0BAA0B,EAC1B,iCAAiC,EACjC,kBAAkB,EAClB,6BAA6B,EAC7B,uBAAuB,EACvB,2BAA2B,
|
|
1
|
+
{"version":3,"file":"Hotspot.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;A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,EAAE,UAAU,EACjB,GAAG,EAAE,OAAO,GACd,CACL,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHotspot.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/SectionHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SectionHotspot.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/SectionHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAyBzC,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;AAE5C,UAAU,oBAAoB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,WAAW,CAAC;CAChC;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAqGzD,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import React, { useEffect } from "react";
|
|
4
4
|
import { useDashboardDispatch } from "../../../model/index.js";
|
|
5
|
-
import { isBaseDraggableMovingItem, isInsightDraggableItem, isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableItem, isRichTextDraggableListItem, } from "../types.js";
|
|
5
|
+
import { isBaseDraggableMovingItem, isInsightDraggableItem, isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableItem, isRichTextDraggableListItem, isVisualizationSwitcherDraggableItem, isVisualizationSwitcherDraggableListItem, } from "../types.js";
|
|
6
6
|
import { getDropZoneDebugStyle } from "../debug.js";
|
|
7
7
|
import { useDashboardDrop } from "../useDashboardDrop.js";
|
|
8
8
|
import { SectionDropZoneBox } from "./SectionDropZoneBox.js";
|
|
@@ -12,6 +12,7 @@ import { useNewSectionInsightPlaceholderDropHandler } from "./useNewSectionInsig
|
|
|
12
12
|
import { useNewSectionKpiPlaceholderDropHandler } from "./useNewSectionKpiPlaceholderDropHandler.js";
|
|
13
13
|
import { useWidgetDragHoverHandlers } from "./useWidgetDragHoverHandlers.js";
|
|
14
14
|
import { useNewSectionRichTextPlaceholderDropHandler } from "./useNewSectionRichTextPlaceholderDropHandler.js";
|
|
15
|
+
import { useNewSectionVisualizationSwitcherPlaceholderDropHandler } from "./useNewSectionVisualizationSwitcherPlaceholderDropHandler.js";
|
|
15
16
|
export const SectionHotspot = (props) => {
|
|
16
17
|
const { index, targetPosition } = props;
|
|
17
18
|
const dispatch = useDashboardDispatch();
|
|
@@ -19,6 +20,7 @@ export const SectionHotspot = (props) => {
|
|
|
19
20
|
const handleKpiPlaceholderDrop = useNewSectionKpiPlaceholderDropHandler(index);
|
|
20
21
|
const handleInsightPlaceholderDrop = useNewSectionInsightPlaceholderDropHandler(index);
|
|
21
22
|
const handleRichTextPlaceholderDrop = useNewSectionRichTextPlaceholderDropHandler(index);
|
|
23
|
+
const handleVisualizationSwitcherPlaceholderDrop = useNewSectionVisualizationSwitcherPlaceholderDropHandler(index);
|
|
22
24
|
const moveWidgetToNewSection = useMoveWidgetToNewSectionDropHandler(index);
|
|
23
25
|
const { handleDragHoverEnd } = useWidgetDragHoverHandlers();
|
|
24
26
|
const [{ canDrop, isOver }, dropRef] = useDashboardDrop([
|
|
@@ -29,6 +31,8 @@ export const SectionHotspot = (props) => {
|
|
|
29
31
|
"insight",
|
|
30
32
|
"richText",
|
|
31
33
|
"richTextListItem",
|
|
34
|
+
"visualizationSwitcher",
|
|
35
|
+
"visualizationSwitcherListItem",
|
|
32
36
|
], {
|
|
33
37
|
drop: (item) => {
|
|
34
38
|
if (isInsightDraggableListItem(item)) {
|
|
@@ -46,6 +50,12 @@ export const SectionHotspot = (props) => {
|
|
|
46
50
|
if (isRichTextDraggableItem(item)) {
|
|
47
51
|
moveWidgetToNewSection(item);
|
|
48
52
|
}
|
|
53
|
+
if (isVisualizationSwitcherDraggableItem(item)) {
|
|
54
|
+
moveWidgetToNewSection(item);
|
|
55
|
+
}
|
|
56
|
+
if (isVisualizationSwitcherDraggableListItem(item)) {
|
|
57
|
+
handleVisualizationSwitcherPlaceholderDrop();
|
|
58
|
+
}
|
|
49
59
|
if (isKpiDraggableItem(item)) {
|
|
50
60
|
moveWidgetToNewSection(item);
|
|
51
61
|
}
|
|
@@ -60,7 +70,14 @@ export const SectionHotspot = (props) => {
|
|
|
60
70
|
}
|
|
61
71
|
return true;
|
|
62
72
|
},
|
|
63
|
-
}, [
|
|
73
|
+
}, [
|
|
74
|
+
dispatch,
|
|
75
|
+
index,
|
|
76
|
+
handleInsightListItemDrop,
|
|
77
|
+
handleKpiPlaceholderDrop,
|
|
78
|
+
handleInsightPlaceholderDrop,
|
|
79
|
+
handleVisualizationSwitcherPlaceholderDrop,
|
|
80
|
+
]);
|
|
64
81
|
useEffect(() => {
|
|
65
82
|
if (isOver) {
|
|
66
83
|
handleDragHoverEnd();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHotspot.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/SectionHotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACH,yBAAyB,EACzB,sBAAsB,EACtB,0BAA0B,EAC1B,iCAAiC,EACjC,kBAAkB,EAClB,6BAA6B,EAC7B,uBAAuB,EACvB,2BAA2B,
|
|
1
|
+
{"version":3,"file":"SectionHotspot.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/SectionHotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC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AE,GAAG,EAAE,OAAO,IAC1F,CAAC,CAAC,MAAM,IAAI,oBAAC,kBAAkB,IAAC,MAAM,EAAE,MAAM,GAAI,CACjD,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IVisualizationSwitcherDraggingComponentProps } from "../../componentDefinition/types.js";
|
|
3
|
+
export declare function VisualizationSwitcherDraggingComponent(_props: IVisualizationSwitcherDraggingComponentProps): React.JSX.Element;
|
|
4
|
+
//# sourceMappingURL=VisualizationSwitcherDraggingComponent.d.ts.map
|
package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VisualizationSwitcherDraggingComponent.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,4CAA4C,EAAE,MAAM,oCAAoC,CAAC;AAMlG,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,4CAA4C,qBAE1G"}
|
package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AddVisualizationSwitcherWidgetButton } from "./AddVisualizationSwitcherWidgetButton.js";
|
|
4
|
+
/*
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export function VisualizationSwitcherDraggingComponent(_props) {
|
|
8
|
+
return React.createElement(AddVisualizationSwitcherWidgetButton, null);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=VisualizationSwitcherDraggingComponent.js.map
|
package/esm/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VisualizationSwitcherDraggingComponent.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/VisualizationSwitcherDraggingComponent.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEjG;;GAEG;AACH,MAAM,UAAU,sCAAsC,CAAC,MAAoD;IACvG,OAAO,oBAAC,oCAAoC,OAAG,CAAC;AACpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetDropZoneColumn.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WidgetDropZoneColumn.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAkB,MAAM,OAAO,CAAC;AA6BvC,MAAM,MAAM,yBAAyB,GAAG;IACpC,MAAM,EAAE,UAAU,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAW,yBAAyB,6BAuGpE,CAAC"}
|
|
@@ -9,8 +9,9 @@ import { useInsightPlaceholderDropHandler } from "./useInsightPlaceholderDropHan
|
|
|
9
9
|
import { useKpiPlaceholderDropHandler } from "./useKpiPlaceholderDropHandler.js";
|
|
10
10
|
import { useMoveWidgetDropHandler } from "./useMoveWidgetHandler.js";
|
|
11
11
|
import { getDashboardLayoutItemHeightForGrid } from "../../../_staging/layout/sizing.js";
|
|
12
|
-
import { isInsightDraggableItem, isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableItem, isRichTextDraggableListItem, } from "../types.js";
|
|
12
|
+
import { isInsightDraggableItem, isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableItem, isRichTextDraggableListItem, isVisualizationSwitcherDraggableItem, isVisualizationSwitcherDraggableListItem, } from "../types.js";
|
|
13
13
|
import { useRichTextPlaceholderDropHandler } from "./useRichTextPlaceholderDropHandler.js";
|
|
14
|
+
import { useVisualizationSwitcherPlaceholderDropHandler } from "./useVisualizationSwitcherPlaceholderDropHandler.js";
|
|
14
15
|
export const WidgetDropZoneColumn = (props) => {
|
|
15
16
|
const { sectionIndex, itemIndex, isLastInSection = false } = props;
|
|
16
17
|
const dropzoneCoordinates = useDashboardSelector(selectDraggingWidgetTarget);
|
|
@@ -18,6 +19,7 @@ export const WidgetDropZoneColumn = (props) => {
|
|
|
18
19
|
const handleInsightPlaceholderDrop = useInsightPlaceholderDropHandler(sectionIndex, itemIndex);
|
|
19
20
|
const handleKpiPlaceholderDrop = useKpiPlaceholderDropHandler(sectionIndex, itemIndex);
|
|
20
21
|
const handleRichTextPlaceholderDrop = useRichTextPlaceholderDropHandler(sectionIndex, itemIndex);
|
|
22
|
+
const handleVisualizationSwitcherPlaceholderDrop = useVisualizationSwitcherPlaceholderDropHandler(sectionIndex, itemIndex);
|
|
21
23
|
const handleWidgetDrop = useMoveWidgetDropHandler(sectionIndex, itemIndex);
|
|
22
24
|
const dispatch = useDashboardDispatch();
|
|
23
25
|
const [collectedProps, dropRef] = useDashboardDrop([
|
|
@@ -28,6 +30,8 @@ export const WidgetDropZoneColumn = (props) => {
|
|
|
28
30
|
"insight",
|
|
29
31
|
"richText",
|
|
30
32
|
"richTextListItem",
|
|
33
|
+
"visualizationSwitcher",
|
|
34
|
+
"visualizationSwitcherListItem",
|
|
31
35
|
], {
|
|
32
36
|
drop: (item) => {
|
|
33
37
|
if (isInsightDraggableListItem(item)) {
|
|
@@ -42,13 +46,23 @@ export const WidgetDropZoneColumn = (props) => {
|
|
|
42
46
|
if (isRichTextDraggableListItem(item)) {
|
|
43
47
|
handleRichTextPlaceholderDrop();
|
|
44
48
|
}
|
|
49
|
+
if (isVisualizationSwitcherDraggableListItem(item)) {
|
|
50
|
+
handleVisualizationSwitcherPlaceholderDrop();
|
|
51
|
+
}
|
|
45
52
|
if (isInsightDraggableItem(item) ||
|
|
46
53
|
isKpiDraggableItem(item) ||
|
|
47
|
-
isRichTextDraggableItem(item)
|
|
54
|
+
isRichTextDraggableItem(item) ||
|
|
55
|
+
isVisualizationSwitcherDraggableItem(item)) {
|
|
48
56
|
handleWidgetDrop(item);
|
|
49
57
|
}
|
|
50
58
|
},
|
|
51
|
-
}, [
|
|
59
|
+
}, [
|
|
60
|
+
dispatch,
|
|
61
|
+
handleInsightListItemDrop,
|
|
62
|
+
handleInsightPlaceholderDrop,
|
|
63
|
+
handleKpiPlaceholderDrop,
|
|
64
|
+
handleVisualizationSwitcherPlaceholderDrop,
|
|
65
|
+
]);
|
|
52
66
|
const showDropZone = useMemo(() => dropzoneCoordinates?.sectionIndex === sectionIndex &&
|
|
53
67
|
dropzoneCoordinates?.itemIndex === itemIndex, [dropzoneCoordinates?.itemIndex, dropzoneCoordinates?.sectionIndex, itemIndex, sectionIndex]);
|
|
54
68
|
if (!showDropZone) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetDropZoneColumn.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EACH,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,mCAAmC,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EAEH,sBAAsB,EACtB,0BAA0B,EAC1B,iCAAiC,EACjC,kBAAkB,EAClB,6BAA6B,EAC7B,uBAAuB,EACvB,2BAA2B,
|
|
1
|
+
{"version":3,"file":"WidgetDropZoneColumn.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EACH,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,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AAI,CAAC,cAAc,EAAE,IAAI,EAAE,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,IAAI,GAAI,cAAc,CAAC,IAAgC,CAAC,IAAI,CAAC;IAEnE,OAAO,CACH,oBAAC,GAAG,IACA,EAAE,EAAE,IAAI,CAAC,SAAS,EAClB,EAAE,EAAE,IAAI,CAAC,SAAS,EAClB,EAAE,EAAE,IAAI,CAAC,SAAS,EAClB,EAAE,EAAE,IAAI,CAAC,SAAS,EAClB,EAAE,EAAE,IAAI,CAAC,SAAS,EAClB,SAAS,EAAE,EAAE,CAAC,uBAAuB,EAAE,gCAAgC,EAAE,uBAAuB,CAAC,EACjG,KAAK,EAAE;YACH,SAAS,EAAE,mCAAmC,CAAC,IAAI,CAAC,UAAU,CAAC;SAClE;QAED,oBAAC,cAAc,IACX,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,GAClB,CACA,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from "./DraggableInsightListItem.js";
|
|
2
2
|
export * from "./DraggableKpiCreatePanelItem.js";
|
|
3
3
|
export * from "./DraggableRichTextCreatePanelItem.js";
|
|
4
|
+
export * from "./DraggableVisualizationSwitcherCreatePanelItem.js";
|
|
4
5
|
export * from "./AddKpiWidgetButton.js";
|
|
5
6
|
export * from "./AddRichTextWidgetButton.js";
|
|
7
|
+
export * from "./AddVisualizationSwitcherWidgetButton.js";
|
|
6
8
|
export * from "./SectionHotspot.js";
|
|
7
9
|
export * from "./RowEndHotspot.js";
|
|
8
10
|
export * from "./Hotspot.js";
|
|
@@ -19,4 +21,5 @@ export * from "./DefaultEmptyLayoutDropZoneBody.js";
|
|
|
19
21
|
export * from "./InsightDraggingComponent.js";
|
|
20
22
|
export * from "./KpiDraggingComponent.js";
|
|
21
23
|
export * from "./RichTextDraggingComponent.js";
|
|
24
|
+
export * from "./VisualizationSwitcherDraggingComponent.js";
|
|
22
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/index.ts"],"names":[],"mappings":"AACA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oDAAoD,CAAC;AACnE,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC"}
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
export * from "./DraggableInsightListItem.js";
|
|
3
3
|
export * from "./DraggableKpiCreatePanelItem.js";
|
|
4
4
|
export * from "./DraggableRichTextCreatePanelItem.js";
|
|
5
|
+
export * from "./DraggableVisualizationSwitcherCreatePanelItem.js";
|
|
5
6
|
export * from "./AddKpiWidgetButton.js";
|
|
6
7
|
export * from "./AddRichTextWidgetButton.js";
|
|
8
|
+
export * from "./AddVisualizationSwitcherWidgetButton.js";
|
|
7
9
|
export * from "./SectionHotspot.js";
|
|
8
10
|
export * from "./RowEndHotspot.js";
|
|
9
11
|
export * from "./Hotspot.js";
|
|
@@ -20,4 +22,5 @@ export * from "./DefaultEmptyLayoutDropZoneBody.js";
|
|
|
20
22
|
export * from "./InsightDraggingComponent.js";
|
|
21
23
|
export * from "./KpiDraggingComponent.js";
|
|
22
24
|
export * from "./RichTextDraggingComponent.js";
|
|
25
|
+
export * from "./VisualizationSwitcherDraggingComponent.js";
|
|
23
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,oDAAoD,CAAC;AACnE,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAddInitialSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.ts"],"names":[],"mappings":"AAWA,OAAO,EACH,aAAa,
|
|
1
|
+
{"version":3,"file":"useAddInitialSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.ts"],"names":[],"mappings":"AAWA,OAAO,EACH,aAAa,EAMhB,MAAM,aAAa,CAAC;AAIrB,wBAAgB,2BAA2B,WAM5B,aAAa,UAyC3B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2022-2024 GoodData Corporation
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { useDashboardSelector, useDashboardDispatch, selectIsLayoutEmpty, addLayoutSection, selectSettings, } from "../../../model/index.js";
|
|
4
|
-
import { isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableListItem, } from "../types.js";
|
|
4
|
+
import { isInsightDraggableListItem, isInsightPlaceholderDraggableItem, isKpiPlaceholderDraggableItem, isRichTextDraggableListItem, isVisualizationSwitcherDraggableListItem, } from "../types.js";
|
|
5
5
|
import { newInitialPlaceholderWidget } from "../../../widgets/index.js";
|
|
6
6
|
import { getInsightPlaceholderSizeInfo, getSizeInfo } from "../../../_staging/layout/sizing.js";
|
|
7
7
|
export function useAddInitialSectionHandler() {
|
|
@@ -23,6 +23,9 @@ export function useAddInitialSectionHandler() {
|
|
|
23
23
|
if (isRichTextDraggableListItem(item)) {
|
|
24
24
|
sizeInfo = getSizeInfo(settings, "richText");
|
|
25
25
|
}
|
|
26
|
+
if (isVisualizationSwitcherDraggableListItem(item)) {
|
|
27
|
+
sizeInfo = getSizeInfo(settings, "visualizationSwitcher");
|
|
28
|
+
}
|
|
26
29
|
if (sizeInfo) {
|
|
27
30
|
dispatch(addLayoutSection(0, {}, [
|
|
28
31
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAddInitialSectionHandler.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGpC,OAAO,EACH,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,GACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEH,0BAA0B,EAC1B,iCAAiC,EACjC,6BAA6B,EAC7B,2BAA2B,
|
|
1
|
+
{"version":3,"file":"useAddInitialSectionHandler.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGpC,OAAO,EACH,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,GACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEH,0BAA0B,EAC1B,iCAAiC,EACjC,6BAA6B,EAC7B,2BAA2B,EAC3B,wCAAwC,GAC3C,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEhG,MAAM,UAAU,2BAA2B;IACvC,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACtD,MAAM,aAAa,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;IAEhE,OAAO,WAAW,CACd,CAAC,IAAmB,EAAE,EAAE;QACpB,IAAI,aAAa,EAAE,CAAC;YAChB,IAAI,QAA4C,CAAC;YACjD,IAAI,0BAA0B,CAAC,IAAI,CAAC,EAAE,CAAC;gBACnC,QAAQ,GAAG,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;YAC9D,CAAC;YACD,IAAI,iCAAiC,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC1C,QAAQ,GAAG,6BAA6B,CAAC,QAAQ,CAAC,CAAC;YACvD,CAAC;YACD,IAAI,6BAA6B,CAAC,IAAI,CAAC,EAAE,CAAC;gBACtC,QAAQ,GAAG,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;YAC5C,CAAC;YAED,IAAI,2BAA2B,CAAC,IAAI,CAAC,EAAE,CAAC;gBACpC,QAAQ,GAAG,WAAW,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;YACjD,CAAC;YAED,IAAI,wCAAwC,CAAC,IAAI,CAAC,EAAE,CAAC;gBACjD,QAAQ,GAAG,WAAW,CAAC,QAAQ,EAAE,uBAAuB,CAAC,CAAC;YAC9D,CAAC;YAED,IAAI,QAAQ,EAAE,CAAC;gBACX,QAAQ,CACJ,gBAAgB,CAAC,CAAC,EAAE,EAAE,EAAE;oBACpB;wBACI,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE;4BACF,EAAE,EAAE;gCACA,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAQ;gCACpC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAQ;6BACrC;yBACJ;wBACD,MAAM,EAAE,2BAA2B,EAAE;qBACxC;iBACJ,CAAC,CACL,CAAC;YACN,CAAC;QACL,CAAC;IACL,CAAC,EACD,CAAC,QAAQ,EAAE,aAAa,EAAE,QAAQ,CAAC,CACtC,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsDraggingWidget.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.ts"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"useIsDraggingWidget.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.ts"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB,YAkBlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsDraggingWidget.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,UAAU,mBAAmB;IAC/B,MAAM,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC,GAAG,gBAAgB,CACpD;QACI,iBAAiB;QACjB,iBAAiB;QACjB,qBAAqB;QACrB,KAAK;QACL,SAAS;QACT,UAAU;QACV,kBAAkB;
|
|
1
|
+
{"version":3,"file":"useIsDraggingWidget.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useIsDraggingWidget.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,UAAU,mBAAmB;IAC/B,MAAM,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC,GAAG,gBAAgB,CACpD;QACI,iBAAiB;QACjB,iBAAiB;QACjB,qBAAqB;QACrB,KAAK;QACL,SAAS;QACT,UAAU;QACV,kBAAkB;QAClB,uBAAuB;QACvB,+BAA+B;KAClC,EACD,EAAE,EACF,EAAE,CACL,CAAC;IAEF,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { InsightDraggableItem, KpiDraggableItem, RichTextDraggableItem } from "../types.js";
|
|
2
|
-
export declare function useMoveWidgetDropHandler(sectionIndex: number, itemIndex: number): (item: KpiDraggableItem | InsightDraggableItem | RichTextDraggableItem) => void;
|
|
1
|
+
import { InsightDraggableItem, KpiDraggableItem, RichTextDraggableItem, VisualizationSwitcherDraggableItem } from "../types.js";
|
|
2
|
+
export declare function useMoveWidgetDropHandler(sectionIndex: number, itemIndex: number): (item: KpiDraggableItem | InsightDraggableItem | RichTextDraggableItem | VisualizationSwitcherDraggableItem) => void;
|
|
3
3
|
//# sourceMappingURL=useMoveWidgetHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMoveWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.ts"],"names":[],"mappings":"AAOA,OAAO,
|
|
1
|
+
{"version":3,"file":"useMoveWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,kCAAkC,EACrC,MAAM,aAAa,CAAC;AAErB,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,UAM9D,gBAAgB,GAChB,oBAAoB,GACpB,qBAAqB,GACrB,kCAAkC,UA2BnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMoveWidgetHandler.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EACH,oBAAoB,EACpB,8CAA8C,GACjD,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"useMoveWidgetHandler.js","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EACH,oBAAoB,EACpB,8CAA8C,GACjD,MAAM,yBAAyB,CAAC;AAQjC,MAAM,UAAU,wBAAwB,CAAC,YAAoB,EAAE,SAAiB;IAC5E,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,OAAO,WAAW,CACd,CACI,IAIwC,EAC1C,EAAE;QACA,IAAI,WAAW,GAAG,SAAS,CAAC;QAE5B,IAAI,IAAI,CAAC,YAAY,KAAK,YAAY,EAAE,CAAC;YACrC,yFAAyF;YACzF,IAAI,IAAI,CAAC,SAAS,GAAG,SAAS,EAAE,CAAC;gBAC7B,WAAW,GAAG,SAAS,GAAG,CAAC,CAAC;YAChC,CAAC;YAED,IAAI,IAAI,CAAC,SAAS,KAAK,WAAW,EAAE,CAAC;gBACjC,+CAA+C;gBAC/C,OAAO;YACX,CAAC;QACL,CAAC;QAED,QAAQ,CACJ,8CAA8C,CAC1C,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,SAAS,EACd,YAAY,EACZ,WAAW,CACd,CACJ,CAAC;IACN,CAAC,EACD,CAAC,QAAQ,EAAE,SAAS,EAAE,YAAY,CAAC,CACtC,CAAC;AACN,CAAC"}
|