@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,5 +1,5 @@
|
|
|
1
1
|
import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
import { IColorPalette, ObjRef, IDateFilterConfig, IDashboard, ISettings, ISeparators, IEntitlementDescriptor, IWebhookDefinitionObject, IAutomationMetadataObject, IWorkspaceUser } from "@gooddata/sdk-model";
|
|
2
|
+
import { IColorPalette, ObjRef, IDateFilterConfig, IDashboard, ISettings, ISeparators, IEntitlementDescriptor, IWebhookDefinitionObject, IAutomationMetadataObject, IWorkspaceUser, ISmtpDefinitionObject } from "@gooddata/sdk-model";
|
|
3
3
|
import { ILocale } from "@gooddata/sdk-ui";
|
|
4
4
|
import { IDashboardFilter, IMenuButtonItemsVisibility, RenderMode } from "../../types.js";
|
|
5
5
|
import { ExtendedDashboardWidget } from "./layoutTypes.js";
|
|
@@ -383,6 +383,12 @@ export type FiltersInfo = {
|
|
|
383
383
|
* @alpha
|
|
384
384
|
*/
|
|
385
385
|
export type Webhooks = IWebhookDefinitionObject[];
|
|
386
|
+
/**
|
|
387
|
+
* Organization smtps
|
|
388
|
+
*
|
|
389
|
+
* @alpha
|
|
390
|
+
*/
|
|
391
|
+
export type Smtps = ISmtpDefinitionObject[];
|
|
386
392
|
/**
|
|
387
393
|
* Workspace automations
|
|
388
394
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonTypes.d.ts","sourceRoot":"","sources":["../../../src/model/types/commonTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACH,aAAa,EACb,MAAM,EACN,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,WAAW,EACX,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"commonTypes.d.ts","sourceRoot":"","sources":["../../../src/model/types/commonTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EACH,aAAa,EACb,MAAM,EACN,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,WAAW,EACX,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,cAAc,EACd,qBAAqB,EACxB,M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IACtB,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;CAChD,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,wBAAwB,EAAE,CAAC;AAElD;;;;GAIG;AACH,MAAM,MAAM,KAAK,GAAG,qBAAqB,EAAE,CAAC;AAE5C;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,yBAAyB,EAAE,CAAC;AAEtD;;;;GAIG;AACH,MAAM,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonTypes.js","sourceRoot":"","sources":["../../../src/model/types/commonTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"commonTypes.js","sourceRoot":"","sources":["../../../src/model/types/commonTypes.ts"],"names":[],"mappings":"AAgBA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAoP1C,MAAM,kBAAkB,GAA0B;IAC9C,kBAAkB;IAClB,QAAQ;IACR,YAAY;IACZ,cAAc;IACd,UAAU;CACb,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,MAAwB;IACrD,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC;IAErC,OAAO,kBAAkB,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,QAAQ,CAAC,eAAe,EAAE,GAAG,CAAC,CAAC,CAAC;AAC7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../src/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAcnD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../src/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAcnD;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8CzD,CAAC"}
|
|
@@ -23,7 +23,7 @@ export const AlertingDialog = (props) => {
|
|
|
23
23
|
return null;
|
|
24
24
|
}
|
|
25
25
|
const classes = cx("configuration-scrollable-panel", "s-configuration-scrollable-panel", `s-alert-${editAlert.id}`);
|
|
26
|
-
return (React.createElement(ConfigurationBubble, { alignPoints: defaultAlignPoints, arrowOffsets: defaultArrowOffsets, alignTo: `#${anchorEl.id}`, onClose: onCancel },
|
|
26
|
+
return (React.createElement(ConfigurationBubble, { alignPoints: defaultAlignPoints, arrowOffsets: defaultArrowOffsets, alignTo: `#${anchorEl.id}`, onClose: onCancel, overlayPositionType: "fixed" },
|
|
27
27
|
React.createElement(ScrollablePanel, { className: classes },
|
|
28
28
|
React.createElement(OverlayControllerProvider, { overlayController: overlayController },
|
|
29
29
|
React.createElement(EditAlert, { alert: editAlert, hasAlerts: hasAlerts, destinations: destinations, measures: supportedMeasures, onUpdate: (alert) => {
|
|
@@ -32,6 +32,6 @@ export const AlertingDialog = (props) => {
|
|
|
32
32
|
}, onCancel: () => {
|
|
33
33
|
cancelAlertEditing();
|
|
34
34
|
onCancel();
|
|
35
|
-
}, onClose: onCancel })))));
|
|
35
|
+
}, onClose: onCancel, overlayPositionType: "fixed" })))));
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=DefaultAlertingDialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultAlertingDialog.js","sourceRoot":"","sources":["../../../../src/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGH,iBAAiB,EACjB,yBAAyB,EACzB,eAAe,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,oEAAoE,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,MAAM,mFAAmF,CAAC;AAC7H,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAAC;AAExF,MAAM,kBAAkB,GAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AAEnF,MAAM,mBAAmB,GAAiB;IACtC,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;IACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAmC,CAAC,KAAK,EAAE,EAAE;IACpE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC;IAEhG,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,GACzF,wBAAwB,CAAC,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;IAEvF,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,OAAO,GAAG,EAAE,CACd,gCAAgC,EAChC,kCAAkC,EAClC,WAAW,SAAS,CAAC,EAAE,EAAE,CAC5B,CAAC;IAEF,OAAO,CACH,oBAAC,mBAAmB,IAChB,WAAW,EAAE,kBAAkB,EAC/B,YAAY,EAAE,mBAAmB,EACjC,OAAO,EAAE,IAAI,QAAQ,CAAC,EAAE,EAAE,EAC1B,OAAO,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"DefaultAlertingDialog.js","sourceRoot":"","sources":["../../../../src/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGH,iBAAiB,EACjB,yBAAyB,EACzB,eAAe,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,oEAAoE,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,MAAM,mFAAmF,CAAC;AAC7H,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAAC;AAExF,MAAM,kBAAkB,GAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AAEnF,MAAM,mBAAmB,GAAiB;IACtC,OAAO,EAAE,CA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,CAAC;oBACpB,CAAC,EACD,QAAQ,EAAE,GAAG,EAAE;wBACX,kBAAkB,EAAE,CAAC;wBACrB,QAAQ,EAAE,CAAC;oBACf,CAAC,EACD,OAAO,EAAE,QAAQ,EACjB,mBAAmB,EAAC,OAAO,GAC7B,CACsB,CACd,CACA,CACzB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAG7D,OAAO,EACH,yBAAyB,EACzB,cAAc,EAEd,wBAAwB,EAC3B,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAG7D,OAAO,EACH,yBAAyB,EACzB,cAAc,EAEd,wBAAwB,EAC3B,MAAM,qBAAqB,CAAC;AAa7B,UAAU,WAAW;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACrD,MAAM,EAAE,CACJ,KAAK,EAAE,yBAAyB,EAChC,MAAM,EAAE,cAAc,GAAG,SAAS,EAClC,MAAM,EAAE,WAAW,GAAG,IAAI,EAC1B,QAAQ,EAAE,MAAM,IAAI,KACnB,IAAI,CAAC;IACV,OAAO,EAAE,CAAC,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpE,KAAK,EAAE,yBAAyB,CAAC;IACjC,QAAQ,EAAE,wBAAwB,EAAE,CAAC;CACxC;AAOD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAsHvC,CAAC"}
|
|
@@ -5,10 +5,11 @@ import cx from "classnames";
|
|
|
5
5
|
import { isInsightWidget, } from "@gooddata/sdk-model";
|
|
6
6
|
import { Icon, ShortenedText } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
8
|
-
import { gdColorStateBlank } from "../../../constants/colors.js";
|
|
8
|
+
import { gdColorNegative, gdColorStateBlank } from "../../../constants/colors.js";
|
|
9
9
|
import { selectWidgetByRef, useDashboardSelector } from "../../../../model/index.js";
|
|
10
|
-
import { translateOperator } from "../../DefaultAlertingDialog/operator.js";
|
|
11
10
|
import { AlertDropdown } from "./AlertDropdown.js";
|
|
11
|
+
import { useAlertValidation } from "../../../widget/insight/configuration/InsightAlertConfig/hooks/useAlertValidation.js";
|
|
12
|
+
import { getAlertThreshold, getOperatorTitle, } from "../../../widget/insight/configuration/InsightAlertConfig/utils.js";
|
|
12
13
|
const TEXT_TOOLTIP_ALIGN_POINTS = [
|
|
13
14
|
{ align: "tc bc", offset: { x: 0, y: 0 } },
|
|
14
15
|
{ align: "bc tc", offset: { x: 0, y: 0 } },
|
|
@@ -17,25 +18,26 @@ export const Alert = (props) => {
|
|
|
17
18
|
const theme = useTheme();
|
|
18
19
|
const { alert, onDelete, onEdit, onPause } = props;
|
|
19
20
|
const intl = useIntl();
|
|
20
|
-
const
|
|
21
|
-
const threshold = alert.alert
|
|
21
|
+
const { isValid } = useAlertValidation(alert);
|
|
22
|
+
const threshold = getAlertThreshold(alert.alert);
|
|
22
23
|
const iconColor = theme?.palette?.complementary?.c6 ?? gdColorStateBlank;
|
|
24
|
+
const iconColorError = theme?.palette?.error?.base ?? gdColorNegative;
|
|
23
25
|
const iconActive = React.createElement(Icon.Alert, { width: 16, height: 16, color: iconColor });
|
|
24
26
|
const iconPaused = React.createElement(Icon.AlertPaused, { width: 16, height: 16, color: iconColor });
|
|
27
|
+
const iconError = React.createElement(Icon.Warning, { width: 16, height: 16, color: iconColorError });
|
|
25
28
|
const paused = alert.alert?.trigger.state === "PAUSED";
|
|
26
29
|
const editWidgetId = alert.metadata?.widget;
|
|
27
30
|
const editWidgetRef = editWidgetId ? { identifier: editWidgetId } : undefined;
|
|
28
31
|
const widget = useDashboardSelector(selectWidgetByRef(editWidgetRef));
|
|
29
32
|
const insightWidget = isInsightWidget(widget) ? widget : undefined;
|
|
30
33
|
const widgetName = insightWidget?.title ?? "";
|
|
31
|
-
const subtitle = [`${
|
|
34
|
+
const subtitle = [`${getOperatorTitle(intl, alert.alert)} ${threshold}`, widgetName]
|
|
32
35
|
.filter(Boolean)
|
|
33
36
|
.join(" • ");
|
|
34
37
|
const [hover, setHover] = useState(false);
|
|
35
38
|
const [dropdownOpened, toggleDropdownOpened] = useState(false);
|
|
36
39
|
const buttonRef = useRef(null);
|
|
37
|
-
const openDropdown = (
|
|
38
|
-
buttonRef.current = e.currentTarget;
|
|
40
|
+
const openDropdown = () => {
|
|
39
41
|
toggleDropdownOpened(true);
|
|
40
42
|
setHover(true);
|
|
41
43
|
};
|
|
@@ -63,10 +65,13 @@ export const Alert = (props) => {
|
|
|
63
65
|
closeDropdown();
|
|
64
66
|
}, [alert, onPause]);
|
|
65
67
|
return (React.createElement("div", { className: cx("gd-notifications-channel", "s-alert", { editable: true, hover }) },
|
|
68
|
+
dropdownOpened && buttonRef.current ? (React.createElement(AlertDropdown, { paused: paused, alignTo: buttonRef.current, onClose: closeDropdown, onEdit: handleEdit, onDelete: handleRemove, onPause: handlePause, onResume: handleResume })) : null,
|
|
66
69
|
React.createElement("div", { className: "gd-notifications-channel-menu" },
|
|
67
|
-
React.createElement("span", { className: "gd-notifications-channel-menu-icon s-alert-menu-icon", id: `alert-menu-${alert.id}`, onClick: openDropdown })),
|
|
70
|
+
React.createElement("span", { className: "gd-notifications-channel-menu-icon s-alert-menu-icon", id: `alert-menu-${alert.id}`, ref: buttonRef, onClick: openDropdown })),
|
|
68
71
|
React.createElement("div", { className: "gd-notifications-channel-content", onClick: handleEdit },
|
|
69
|
-
React.createElement("div", { className: "gd-notifications-channel-icon"
|
|
72
|
+
React.createElement("div", { className: cx("gd-notifications-channel-icon", {
|
|
73
|
+
"gd-notifications-channel-icon-invalid": !isValid,
|
|
74
|
+
}) }, !isValid ? iconError : paused ? iconPaused : iconActive),
|
|
70
75
|
React.createElement("div", { className: "gd-notifications-channel-text-content" },
|
|
71
76
|
React.createElement("div", { className: "gd-notifications-channel-title" },
|
|
72
77
|
React.createElement("strong", null,
|
|
@@ -74,7 +79,6 @@ export const Alert = (props) => {
|
|
|
74
79
|
intl.formatMessage({ id: "dialogs.alerting.title.placeholder" })))),
|
|
75
80
|
React.createElement("div", null,
|
|
76
81
|
React.createElement("span", { className: "gd-notifications-channel-subtitle" },
|
|
77
|
-
React.createElement(ShortenedText, { className: "gd-notifications-channel-shortened-text", tooltipAlignPoints: TEXT_TOOLTIP_ALIGN_POINTS }, subtitle)))))
|
|
78
|
-
dropdownOpened && buttonRef.current ? (React.createElement(AlertDropdown, { paused: paused, alignTo: buttonRef.current, onClose: closeDropdown, onEdit: handleEdit, onDelete: handleRemove, onPause: handlePause, onResume: handleResume })) : null));
|
|
82
|
+
React.createElement(ShortenedText, { className: "gd-notifications-channel-shortened-text", tooltipAlignPoints: TEXT_TOOLTIP_ALIGN_POINTS }, subtitle)))))));
|
|
79
83
|
};
|
|
80
84
|
//# sourceMappingURL=Alert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../../src/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAGH,eAAe,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../../src/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAGH,eAAe,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE3D,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sFAAsF,CAAC;AAC1H,OAAO,EACH,iBAAiB,EACjB,gBAAgB,GACnB,MAAM,mEAAmE,CAAC;AAe3E,MAAM,yBAAyB,GAAG;IAC9B,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE;IAC1C,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B,CAAC,KAAK,EAAE,EAAE;IAClD,MAAM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C,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CACtD;YACN,6BAAK,SAAS,EAAC,uCAAuC;gBAClD,6BAAK,SAAS,EAAC,gCAAgC;oBAC3C;wBACI,oBAAC,aAAa,IACV,SAAS,EAAC,yCAAyC,EACnD,kBAAkB,EAAE,yBAAyB,IAE5C,KAAK,CAAC,KAAK;4BACR,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,oCAAoC,EAAE,CAAC,CACxD,CACX,CACP;gBACN;oBACI,8BAAM,SAAS,EAAC,mCAAmC;wBAC/C,oBAAC,aAAa,IACV,SAAS,EAAC,yCAAyC,EACnD,kBAAkB,EAAE,yBAAyB,IAE5C,QAAQ,CACG,CACb,CACL,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAyBrD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"AlertDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAyBrD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA2DvD,CAAC"}
|
package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js
CHANGED
|
@@ -40,7 +40,7 @@ export const AlertDropdown = (props) => {
|
|
|
40
40
|
separator: "up",
|
|
41
41
|
},
|
|
42
42
|
];
|
|
43
|
-
return (React.createElement(Overlay, { className: "s-alert-dropdown", closeOnOutsideClick: true, alignTo: alignTo, alignPoints: [{ align: "br tr" }, { align: "tr br" }], onClose: onClose },
|
|
43
|
+
return (React.createElement(Overlay, { className: "s-alert-dropdown", closeOnOutsideClick: true, alignTo: alignTo, alignPoints: [{ align: "br tr" }, { align: "tr br" }], onClose: onClose, positionType: "fixed" },
|
|
44
44
|
React.createElement("div", { className: cx("gd-notifications-channels-dialog-menu", "gd-dropdown gd-menu-wrapper gd-menu-wrapper-small-spacing") }, dropdownActions.map((item) => {
|
|
45
45
|
return (React.createElement(Fragment, { key: item.labelIntlKey },
|
|
46
46
|
item.separator === "up" && React.createElement(Separator, null),
|
package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertDropdown.js","sourceRoot":"","sources":["../../../../../src/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAW9D,MAAM,YAAY,GAAiC,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,EAAE,EAAE;IACzF,MAAM,UAAU,GAAG,EAAE,CAAC,2BAA2B,EAAE,UAAU,CAAC,CAAC;IAC/D,OAAO,CACH,6BAAK,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO;QACxC,oBAAC,gBAAgB,IAAC,EAAE,EAA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rD,OAAO,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"AlertDropdown.js","sourceRoot":"","sources":["../../../../../src/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAW9D,MAAM,YAAY,GAAiC,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,EAAE,EAAE;IACzF,MAAM,UAAU,GAAG,EAAE,CAAC,2BAA2B,EAAE,UAAU,CAAC,CAAC;IAC/D,OAAO,CACH,6BAAK,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO;QACxC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,YAAY,GAAI,CACpC,CACT,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,cAAc,CAAC;IACjC,MAAM,EAAE,EAAE,EAAE,EAAE,4BAA4B,EAAE;IAC5C,KAAK,EAAE,EAAE,EAAE,EAAE,2BAA2B,EAAE;IAC1C,MAAM,EAAE,EAAE,EAAE,EAAE,4BAA4B,EAAE;IAC5C,IAAI,EAAE,EAAE,EAAE,EAAE,0BAA0B,EAAE;CAC3C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAkC,CAAC,KAAK,EAAE,EAAE;IAClE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEhF,MAAM,eAAe,GAAyB;QAC1C;YACI,YAAY,EAAE,aAAa,CAAC,IAAI,CAAC,EAAE;YACnC,UAAU,EAAE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@
|
|
|
1
1
|
import { ComponentType } from "react";
|
|
2
2
|
import { IDashboardAttributeFilterProps, IDashboardAttributeFilterPlaceholderProps, IDashboardDateFilterProps } from "../filterBar/types.js";
|
|
3
|
-
import { IDashboardInsightProps, IDashboardKpiProps, IDashboardRichTextProps, IDashboardWidgetProps } from "../widget/types.js";
|
|
4
|
-
import { AttributeFilterDraggableItem, CustomDraggableItem, DateFilterDraggableItem, DraggableContentItemType, IWrapCreatePanelItemWithDragComponent, InsightDraggableItem, KpiDraggableItem, RichTextDraggableItem } from "../dragAndDrop/types.js";
|
|
5
|
-
import { AttributeFilterComponentProvider, DateFilterComponentProvider, InsightComponentProvider, KpiComponentProvider, RichTextComponentProvider, WidgetComponentProvider } from "../dashboardContexts/types.js";
|
|
6
|
-
import { IInsightWidget, IKpiWidget, IRichTextWidget } from "@gooddata/sdk-model";
|
|
3
|
+
import { IDashboardInsightProps, IDashboardKpiProps, IDashboardRichTextProps, IDashboardVisualizationSwitcherProps, IDashboardWidgetProps } from "../widget/types.js";
|
|
4
|
+
import { AttributeFilterDraggableItem, CustomDraggableItem, DateFilterDraggableItem, DraggableContentItemType, IWrapCreatePanelItemWithDragComponent, InsightDraggableItem, KpiDraggableItem, RichTextDraggableItem, VisualizationSwitcherDraggableItem } from "../dragAndDrop/types.js";
|
|
5
|
+
import { AttributeFilterComponentProvider, DateFilterComponentProvider, InsightComponentProvider, KpiComponentProvider, RichTextComponentProvider, WidgetComponentProvider, VisualizationSwitcherComponentProvider } from "../dashboardContexts/types.js";
|
|
6
|
+
import { IInsightWidget, IKpiWidget, IRichTextWidget, IVisualizationSwitcherWidget } from "@gooddata/sdk-model";
|
|
7
7
|
import { ICustomWidget } from "../../model/index.js";
|
|
8
8
|
/**
|
|
9
9
|
* @internal
|
|
@@ -59,6 +59,13 @@ export type IRichTextDraggingComponentProps = {
|
|
|
59
59
|
itemType: "richText";
|
|
60
60
|
item: RichTextDraggableItem;
|
|
61
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
export type IVisualizationSwitcherDraggingComponentProps = {
|
|
66
|
+
itemType: "visualizationSwitcher";
|
|
67
|
+
item: VisualizationSwitcherDraggableItem;
|
|
68
|
+
};
|
|
62
69
|
/**
|
|
63
70
|
* @internal
|
|
64
71
|
*/
|
|
@@ -86,6 +93,10 @@ export type KpiDraggingComponent = ComponentType<IKpiDraggingComponentProps>;
|
|
|
86
93
|
* @internal
|
|
87
94
|
*/
|
|
88
95
|
export type RichTextDraggingComponent = ComponentType<IRichTextDraggingComponentProps>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
export type VisualizationSwitcherDraggingComponent = ComponentType<IVisualizationSwitcherDraggingComponentProps>;
|
|
89
100
|
/**
|
|
90
101
|
* @internal
|
|
91
102
|
*/
|
|
@@ -125,6 +136,13 @@ export type RichTextDraggableComponent = {
|
|
|
125
136
|
DraggingComponent?: RichTextDraggingComponent;
|
|
126
137
|
type: "richText";
|
|
127
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
export type VisualizationSwitcherDraggableComponent = {
|
|
143
|
+
DraggingComponent?: VisualizationSwitcherDraggingComponent;
|
|
144
|
+
type: "visualizationSwitcher";
|
|
145
|
+
};
|
|
128
146
|
/**
|
|
129
147
|
* @internal
|
|
130
148
|
*/
|
|
@@ -137,7 +155,7 @@ export type CustomDraggableComponent = {
|
|
|
137
155
|
* @internal
|
|
138
156
|
*/
|
|
139
157
|
export type DraggableComponent = {
|
|
140
|
-
dragging: AttributeFilterDraggableComponent | DateFilterDraggableComponent | KpiDraggableComponent | InsightDraggableComponent | RichTextDraggableComponent | CustomDraggableComponent;
|
|
158
|
+
dragging: AttributeFilterDraggableComponent | DateFilterDraggableComponent | KpiDraggableComponent | InsightDraggableComponent | RichTextDraggableComponent | VisualizationSwitcherDraggableComponent | CustomDraggableComponent;
|
|
141
159
|
};
|
|
142
160
|
/**
|
|
143
161
|
* Capability saying the component can receive draggable items.
|
|
@@ -245,6 +263,11 @@ export type InsightWidgetComponentSet = CustomComponentBase<IDashboardInsightPro
|
|
|
245
263
|
* @internal
|
|
246
264
|
*/
|
|
247
265
|
export type RichTextWidgetComponentSet = CustomComponentBase<IDashboardRichTextProps, Parameters<RichTextComponentProvider>> & DraggableComponent & Partial<CreatableByDragComponent> & Partial<CreatablePlaceholderComponent<IDashboardWidgetProps>> & ConfigurableWidget<IRichTextWidget>;
|
|
266
|
+
/**
|
|
267
|
+
* Definition of VisualizationSwitcher widget
|
|
268
|
+
* @internal
|
|
269
|
+
*/
|
|
270
|
+
export type VisualizationSwitcherWidgetComponentSet = CustomComponentBase<IDashboardVisualizationSwitcherProps, Parameters<VisualizationSwitcherComponentProvider>> & DraggableComponent & Partial<CreatableByDragComponent> & Partial<CreatablePlaceholderComponent<IDashboardWidgetProps>> & ConfigurableWidget<IVisualizationSwitcherWidget>;
|
|
248
271
|
/**
|
|
249
272
|
* Definition of widget
|
|
250
273
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/componentDefinition/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACH,8BAA8B,EAC9B,yCAAyC,EACzC,yBAAyB,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACH,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACH,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,EACvB,wBAAwB,EACxB,qCAAqC,EACrC,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/componentDefinition/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,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AC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/presentation/constants/colors.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,eAAe,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/presentation/constants/colors.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,eAAe,YAAY,CAAC;AACzC,eAAO,MAAM,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../../src/presentation/constants/colors.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,MAAM,CAAC,MAAM,iBAAiB,GAAG,SAAS,CAAC;AAC3C,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../../src/presentation/constants/colors.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,MAAM,CAAC,MAAM,iBAAiB,GAAG,SAAS,CAAC;AAC3C,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC;AACzC,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardHeader.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/DashboardHeader.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DashboardHeader.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/DashboardHeader.tsx"],"names":[],"mappings":";AAuDA,eAAO,MAAM,eAAe,QAAO,WAiBlC,CAAC"}
|
|
@@ -8,6 +8,7 @@ import { ShareDialogDashboardHeader } from "./ShareDialogDashboardHeader.js";
|
|
|
8
8
|
import { ScheduledEmailDialogProvider } from "./ScheduledEmailDialogProvider.js";
|
|
9
9
|
import { AlertingDialogProvider } from "./AlertingDialogProvider.js";
|
|
10
10
|
import { DeleteDialog, useDeleteDialogProps } from "../../deleteDialog/index.js";
|
|
11
|
+
import { WidgetDeleteDialog, useWidgetDeleteDialogProps } from "../../widgetDeleteDialog/index.js";
|
|
11
12
|
import { KpiDeleteDialog, useKpiDeleteDialogProps } from "../../kpiDeleteDialog/index.js";
|
|
12
13
|
import { CancelEditDialog, useCancelEditDialog } from "../../cancelEditDialog/index.js";
|
|
13
14
|
import { ToastMessages } from "../components/ToastMessages.js";
|
|
@@ -17,6 +18,10 @@ const DeleteDialogWrapper = () => {
|
|
|
17
18
|
const deleteDialogProps = useDeleteDialogProps();
|
|
18
19
|
return React.createElement(DeleteDialog, { ...deleteDialogProps });
|
|
19
20
|
};
|
|
21
|
+
const WidgetDeleteDialogWrapper = () => {
|
|
22
|
+
const widgetDeleteDialogProps = useWidgetDeleteDialogProps();
|
|
23
|
+
return React.createElement(WidgetDeleteDialog, { ...widgetDeleteDialogProps });
|
|
24
|
+
};
|
|
20
25
|
const KpiDeleteDialogWrapper = () => {
|
|
21
26
|
const kpiDeleteDialogProps = useKpiDeleteDialogProps();
|
|
22
27
|
return React.createElement(KpiDeleteDialog, { ...kpiDeleteDialogProps });
|
|
@@ -47,6 +52,7 @@ export const DashboardHeader = () => {
|
|
|
47
52
|
React.createElement(AlertingDialogProvider, null),
|
|
48
53
|
React.createElement(ShareDialogDashboardHeader, null),
|
|
49
54
|
React.createElement(DeleteDialogWrapper, null),
|
|
55
|
+
React.createElement(WidgetDeleteDialogWrapper, null),
|
|
50
56
|
React.createElement(KpiDeleteDialogWrapper, null),
|
|
51
57
|
React.createElement(SaveAsDialogWrapper, null),
|
|
52
58
|
React.createElement(TopBarWrapper, null),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardHeader.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/D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D,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,GAAG,EAAE;IACvB,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,OAAO,oBAAC,MAAM,OAAK,WAAW,GAAI,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAC1B,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAC;IAC3C,OAAO,oBAAC,SAAS,OAAK,cAAc,GAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACjC,MAAM,qBAAqB,GAAG,mBAAmB,EAAE,CAAC;IACpD,OAAO,oBAAC,gBAAgB,OAAK,qBAAqB,GAAI,CAAC;AAC3D,CAAC,CAAC;AAEF,yEAAyE;AACzE,kEAAkE;AAClE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAgB,EAAE;IAC7C,OAAO,CACH;QACI,oBAAC,aAAa,OAAG;QACjB,oBAAC,oBAAoB,OAAG;QACxB,oBAAC,4BAA4B,OAAG;QAChC,oBAAC,sBAAsB,OAAG;QAC1B,oBAAC,0BAA0B,OAAG;QAC9B,oBAAC,mBAAmB,OAAG;QACvB,oBAAC,sBAAsB,OAAG;QAC1B,oBAAC,mBAAmB,OAAG;QACvB,oBAAC,aAAa,OAAG;QACjB,oBAAC,gBAAgB,OAAG;QACpB,oBAAC,uBAAuB,OAAG,CAC5B,CACN,CAAC;AACN,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"DashboardHeader.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/DashboardHeader.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,M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,aAAa,GAAG,GAAG,EAAE;IACvB,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,OAAO,oBAAC,MAAM,OAAK,WAAW,GAAI,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAC1B,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAC;IAC3C,OAAO,oBAAC,SAAS,OAAK,cAAc,GAAI,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACjC,MAAM,qBAAqB,GAAG,mBAAmB,EAAE,CAAC;IACpD,OAAO,oBAAC,gBAAgB,OAAK,qBAAqB,GAAI,CAAC;AAC3D,CAAC,CAAC;AAEF,yEAAyE;AACzE,kEAAkE;AAClE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAgB,EAAE;IAC7C,OAAO,CACH;QACI,oBAAC,aAAa,OAAG;QACjB,oBAAC,oBAAoB,OAAG;QACxB,oBAAC,4BAA4B,OAAG;QAChC,oBAAC,sBAAsB,OAAG;QAC1B,oBAAC,0BAA0B,OAAG;QAC9B,oBAAC,mBAAmB,OAAG;QACvB,oBAAC,yBAAyB,OAAG;QAC7B,oBAAC,sBAAsB,OAAG;QAC1B,oBAAC,mBAAmB,OAAG;QACvB,oBAAC,aAAa,OAAG;QACjB,oBAAC,gBAAgB,OAAG;QACpB,oBAAC,uBAAuB,OAAG,CAC5B,CACN,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledEmailDialogProvider.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogProvider.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,4BAA4B,yBA+DxC,CAAC"}
|
|
@@ -3,9 +3,9 @@ import React from "react";
|
|
|
3
3
|
import { ScheduledEmailDialog, ScheduledEmailManagementDialog } from "../../scheduledEmail/index.js";
|
|
4
4
|
import { useDashboardScheduledEmails } from "../../../model/index.js";
|
|
5
5
|
export const ScheduledEmailDialogProvider = () => {
|
|
6
|
-
const { users, webhooks, automations, schedulingLoadError, isScheduleLoading, isScheduleEmailingDialogOpen, scheduleEmailingDialogContext, isScheduleEmailingManagementDialogOpen, scheduleEmailingManagementDialogContext, onScheduleEmailingCancel, onScheduleEmailingCreateError, onScheduleEmailingCreateSuccess, onScheduleEmailingManagementAdd, onScheduleEmailingManagementEdit, scheduledEmailToEdit, onScheduleEmailingSaveError, onScheduleEmailingSaveSuccess, onScheduleEmailingManagementClose, onScheduleEmailingManagementDeleteSuccess, onScheduleEmailingManagementDeleteError, } = useDashboardScheduledEmails();
|
|
6
|
+
const { users, emails, webhooks, automations, schedulingLoadError, isScheduleLoading, isScheduleEmailingDialogOpen, scheduleEmailingDialogContext, isScheduleEmailingManagementDialogOpen, scheduleEmailingManagementDialogContext, onScheduleEmailingCancel, onScheduleEmailingCreateError, onScheduleEmailingCreateSuccess, onScheduleEmailingManagementAdd, onScheduleEmailingManagementEdit, scheduledEmailToEdit, onScheduleEmailingSaveError, onScheduleEmailingSaveSuccess, onScheduleEmailingManagementClose, onScheduleEmailingManagementDeleteSuccess, onScheduleEmailingManagementDeleteError, } = useDashboardScheduledEmails();
|
|
7
7
|
return (React.createElement(React.Fragment, null,
|
|
8
|
-
isScheduleEmailingManagementDialogOpen ? (React.createElement(ScheduledEmailManagementDialog, { isVisible: isScheduleEmailingManagementDialogOpen, context: scheduleEmailingManagementDialogContext, onAdd: onScheduleEmailingManagementAdd, onEdit: onScheduleEmailingManagementEdit, onClose: onScheduleEmailingManagementClose, onDeleteSuccess: onScheduleEmailingManagementDeleteSuccess, onDeleteError: onScheduleEmailingManagementDeleteError, isLoadingScheduleData: isScheduleLoading, automations: automations, webhooks: webhooks, scheduleDataError: schedulingLoadError })) : null,
|
|
9
|
-
isScheduleEmailingDialogOpen ? (React.createElement(ScheduledEmailDialog, { isVisible: isScheduleEmailingDialogOpen, context: scheduleEmailingDialogContext, onCancel: onScheduleEmailingCancel, onError: onScheduleEmailingCreateError, onSuccess: onScheduleEmailingCreateSuccess, editSchedule: scheduledEmailToEdit, onSaveError: onScheduleEmailingSaveError, onSaveSuccess: onScheduleEmailingSaveSuccess, onDeleteSuccess: onScheduleEmailingManagementDeleteSuccess, onDeleteError: onScheduleEmailingManagementDeleteError, users: users, webhooks: webhooks, automations: automations })) : null));
|
|
8
|
+
isScheduleEmailingManagementDialogOpen ? (React.createElement(ScheduledEmailManagementDialog, { isVisible: isScheduleEmailingManagementDialogOpen, context: scheduleEmailingManagementDialogContext, onAdd: onScheduleEmailingManagementAdd, onEdit: onScheduleEmailingManagementEdit, onClose: onScheduleEmailingManagementClose, onDeleteSuccess: onScheduleEmailingManagementDeleteSuccess, onDeleteError: onScheduleEmailingManagementDeleteError, isLoadingScheduleData: isScheduleLoading, automations: automations, webhooks: webhooks, emails: emails, scheduleDataError: schedulingLoadError })) : null,
|
|
9
|
+
isScheduleEmailingDialogOpen ? (React.createElement(ScheduledEmailDialog, { isVisible: isScheduleEmailingDialogOpen, context: scheduleEmailingDialogContext, onCancel: onScheduleEmailingCancel, onError: onScheduleEmailingCreateError, onSuccess: onScheduleEmailingCreateSuccess, editSchedule: scheduledEmailToEdit, onSaveError: onScheduleEmailingSaveError, onSaveSuccess: onScheduleEmailingSaveSuccess, onDeleteSuccess: onScheduleEmailingManagementDeleteSuccess, onDeleteError: onScheduleEmailingManagementDeleteError, users: users, webhooks: webhooks, emails: emails, automations: automations })) : null));
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=ScheduledEmailDialogProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledEmailDialogProvider.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAErG,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAEtE,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,EAAE;IAC7C,MAAM,EACF,KAAK,EACL,QAAQ,EACR,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,sCAAsC,EACtC,uCAAuC,EACvC,wBAAwB,EACxB,6BAA6B,EAC7B,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,EAChC,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,iCAAiC,EACjC,yCAAyC,EACzC,uCAAuC,GAC1C,GAAG,2BAA2B,EAAE,CAAC;IAElC,OAAO,CACH;QACK,sCAAsC,CAAC,CAAC,CAAC,CACtC,oBAAC,8BAA8B,IAC3B,SAAS,EAAE,sCAAsC,EACjD,OAAO,EAAE,uCAAuC,EAChD,KAAK,EAAE,+BAA+B,EACtC,MAAM,EAAE,gCAAgC,EACxC,OAAO,EAAE,iCAAiC,EAC1C,eAAe,EAAE,yCAAyC,EAC1D,aAAa,EAAE,uCAAuC,EACtD,qBAAqB,EAAE,iBAAiB,EACxC,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,mBAAmB,GACxC,CACL,CAAC,CAAC,CAAC,IAAI;QACP,4BAA4B,CAAC,CAAC,CAAC,CAC5B,oBAAC,oBAAoB,IACjB,SAAS,EAAE,4BAA4B,EACvC,OAAO,EAAE,6BAA6B,EACtC,QAAQ,EAAE,wBAAwB,EAClC,OAAO,EAAE,6BAA6B,EACtC,SAAS,EAAE,+BAA+B,EAC1C,YAAY,EAAE,oBAAoB,EAClC,WAAW,EAAE,2BAA2B,EACxC,aAAa,EAAE,6BAA6B,EAC5C,eAAe,EAAE,yCAAyC,EAC1D,aAAa,EAAE,uCAAuC,EACtD,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,GAC1B,CACL,CAAC,CAAC,CAAC,IAAI,CACT,CACN,CAAC;AACN,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ScheduledEmailDialogProvider.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAErG,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAEtE,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,EAAE;IAC7C,MAAM,EACF,KAAK,EACL,MAAM,EACN,QAAQ,EACR,WAAW,EACX,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,sCAAsC,EACtC,uCAAuC,EACvC,wBAAwB,EACxB,6BAA6B,EAC7B,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,EAChC,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,iCAAiC,EACjC,yCAAyC,EACzC,uCAAuC,GAC1C,GAAG,2BAA2B,EAAE,CAAC;IAElC,OAAO,CACH;QACK,sCAAsC,CAAC,CAAC,CAAC,CACtC,oBAAC,8BAA8B,IAC3B,SAAS,EAAE,sCAAsC,EACjD,OAAO,EAAE,uCAAuC,EAChD,KAAK,EAAE,+BAA+B,EACtC,MAAM,EAAE,gCAAgC,EACxC,OAAO,EAAE,iCAAiC,EAC1C,eAAe,EAAE,yCAAyC,EAC1D,aAAa,EAAE,uCAAuC,EACtD,qBAAqB,EAAE,iBAAiB,EACxC,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,mBAAmB,GACxC,CACL,CAAC,CAAC,CAAC,IAAI;QACP,4BAA4B,CAAC,CAAC,CAAC,CAC5B,oBAAC,oBAAoB,IACjB,SAAS,EAAE,4BAA4B,EACvC,OAAO,EAAE,6BAA6B,EACtC,QAAQ,EAAE,wBAAwB,EAClC,OAAO,EAAE,6BAA6B,EACtC,SAAS,EAAE,+BAA+B,EAC1C,YAAY,EAAE,oBAAoB,EAClC,WAAW,EAAE,2BAA2B,EACxC,aAAa,EAAE,6BAA6B,EAC5C,eAAe,EAAE,yCAAyC,EAC1D,aAAa,EAAE,uCAAuC,EACtD,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,GAC1B,CACL,CAAC,CAAC,CAAC,IAAI,CACT,CACN,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IWrapCreatePanelItemWithDragComponent, IWrapInsightListItemWithDragComponent } from "../../dragAndDrop/types.js";
|
|
3
|
-
import { AttributeFilterComponentSet, InsightWidgetComponentSet, KpiWidgetComponentSet, RichTextWidgetComponentSet } from "../../componentDefinition/index.js";
|
|
3
|
+
import { AttributeFilterComponentSet, InsightWidgetComponentSet, KpiWidgetComponentSet, RichTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet } from "../../componentDefinition/index.js";
|
|
4
4
|
interface ICreationPanelProps {
|
|
5
5
|
className?: string;
|
|
6
6
|
WrapCreatePanelItemWithDragComponent?: IWrapCreatePanelItemWithDragComponent;
|
|
@@ -9,6 +9,7 @@ interface ICreationPanelProps {
|
|
|
9
9
|
AttributeFilterComponentSet?: AttributeFilterComponentSet;
|
|
10
10
|
InsightWidgetComponentSet?: InsightWidgetComponentSet;
|
|
11
11
|
RichTextWidgetComponentSet?: RichTextWidgetComponentSet;
|
|
12
|
+
VisualizationSwitcherWidgetComponentSet?: VisualizationSwitcherWidgetComponentSet;
|
|
12
13
|
}
|
|
13
14
|
export declare const CreationPanel: React.FC<ICreationPanelProps>;
|
|
14
15
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreationPanel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/CreationPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CreationPanel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/CreationPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAkBvC,OAAO,EACH,qCAAqC,EACrC,qCAAqC,EACxC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,uCAAuC,EAC1C,MAAM,oCAAoC,CAAC;AAE5C,UAAU,mBAAmB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC,CAAC,EAAE,qCAAqC,CAAC;IAC7E,oCAAoC,CAAC,EAAE,qCAAqC,CAAC;IAC7E,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;IAC1D,yBAAyB,CAAC,EAAE,yBAAyB,CAAC;IACtD,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;IACxD,uCAAuC,CAAC,EAAE,uCAAuC,CAAC;CACrF;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAwEvD,CAAC"}
|
|
@@ -5,13 +5,14 @@ import compact from "lodash/compact.js";
|
|
|
5
5
|
import sortBy from "lodash/sortBy.js";
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
7
|
import { DraggableInsightList } from "./DraggableInsightList/index.js";
|
|
8
|
-
import { selectSupportsKpiWidgetCapability, selectIsAnalyticalDesignerEnabled, useDashboardSelector, selectIsNewDashboard, selectSettings, selectEnableKDRichText, selectSupportsRichTextWidgets, } from "../../../model/index.js";
|
|
8
|
+
import { selectSupportsKpiWidgetCapability, selectIsAnalyticalDesignerEnabled, useDashboardSelector, selectIsNewDashboard, selectSettings, selectEnableKDRichText, selectSupportsRichTextWidgets, selectEnableVisualizationSwitcher, } from "../../../model/index.js";
|
|
9
9
|
import cx from "classnames";
|
|
10
10
|
export const CreationPanel = (props) => {
|
|
11
11
|
const { className, WrapCreatePanelItemWithDragComponent, WrapInsightListItemWithDragComponent } = props;
|
|
12
12
|
const supportsKpis = useDashboardSelector(selectSupportsKpiWidgetCapability);
|
|
13
13
|
const supportsRichText = useDashboardSelector(selectSupportsRichTextWidgets);
|
|
14
14
|
const enableRichText = useDashboardSelector(selectEnableKDRichText);
|
|
15
|
+
const enableVisualizationSwitcher = useDashboardSelector(selectEnableVisualizationSwitcher);
|
|
15
16
|
const isAnalyticalDesignerEnabled = useDashboardSelector(selectIsAnalyticalDesignerEnabled);
|
|
16
17
|
const isNewDashboard = useDashboardSelector(selectIsNewDashboard);
|
|
17
18
|
const settings = useDashboardSelector(selectSettings);
|
|
@@ -19,11 +20,13 @@ export const CreationPanel = (props) => {
|
|
|
19
20
|
const AttributeFilterComponentSet = props.AttributeFilterComponentSet;
|
|
20
21
|
const InsightWidgetComponentSet = props.InsightWidgetComponentSet;
|
|
21
22
|
const RichTextWidgetComponentSet = props.RichTextWidgetComponentSet;
|
|
23
|
+
const VisualizationSwitcherWidgetComponentSet = props.VisualizationSwitcherWidgetComponentSet;
|
|
22
24
|
const addItemPanelItems = useMemo(() => {
|
|
23
25
|
const items = compact([
|
|
24
26
|
supportsKpis && KpiWidgetComponentSet.creating,
|
|
25
27
|
AttributeFilterComponentSet.creating,
|
|
26
28
|
InsightWidgetComponentSet.creating,
|
|
29
|
+
enableVisualizationSwitcher && VisualizationSwitcherWidgetComponentSet.creating,
|
|
27
30
|
supportsRichText && enableRichText && RichTextWidgetComponentSet.creating,
|
|
28
31
|
]);
|
|
29
32
|
return sortBy(items, (item) => item.priority ?? 0).map(({ CreatePanelListItemComponent, type }) => {
|
|
@@ -34,6 +37,7 @@ export const CreationPanel = (props) => {
|
|
|
34
37
|
KpiWidgetComponentSet,
|
|
35
38
|
InsightWidgetComponentSet,
|
|
36
39
|
RichTextWidgetComponentSet,
|
|
40
|
+
VisualizationSwitcherWidgetComponentSet,
|
|
37
41
|
supportsKpis,
|
|
38
42
|
supportsRichText,
|
|
39
43
|
enableRichText,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreationPanel.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/CreationPanel.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EACH,iCAAiC,EACjC,iCAAiC,EACjC,oBAAoB,EACpB,oBAAoB,EACpB,cAAc,EACd,sBAAsB,EACtB,6BAA6B,
|
|
1
|
+
{"version":3,"file":"CreationPanel.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/CreationPanel.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAA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C,CAAC,CAC3B,6BAAK,SAAS,EAAC,uFAAuF;gBAClG,oBAAC,UAAU,IAAC,OAAO,EAAC,IAAI;oBACpB,oBAAC,gBAAgB,IAAC,EAAE,EAAC,wCAAwC,GAAG,CACvD;gBACb,oBAAC,oBAAoB,IACjB,oCAAoC,EAAE,oCAAoC,EAC1E,wBAAwB,EAAE,SAAS,EACnC,eAAe,EAAE,CAAC,cAAc,EAChC,kBAAkB,EAAE,QAAQ,EAAE,kBAAkB,GAClD,CACA,CACT,CAAC,CAAC,CAAC,IAAI,CACN,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardSidebar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/DashboardSidebar.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,gBAAgB,UAAW,aAAa,KAAG,
|
|
1
|
+
{"version":3,"file":"DashboardSidebar.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/DashboardSidebar.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,gBAAgB,UAAW,aAAa,KAAG,WA4BvD,CAAC"}
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import { useDashboardComponentsContext } from "../../dashboardContexts/index.js";
|
|
4
4
|
export const DashboardSidebar = (props) => {
|
|
5
5
|
const { WrapCreatePanelItemWithDragComponent, WrapInsightListItemWithDragComponent, DeleteDropZoneComponent, } = props;
|
|
6
|
-
const { SidebarComponent, KpiWidgetComponentSet, AttributeFilterComponentSet, InsightWidgetComponentSet, RichTextWidgetComponentSet, } = useDashboardComponentsContext();
|
|
7
|
-
return (React.createElement(SidebarComponent, { ...props, KpiWidgetComponentSet: KpiWidgetComponentSet, AttributeFilterComponentSet: AttributeFilterComponentSet, InsightWidgetComponentSet: InsightWidgetComponentSet, RichTextWidgetComponentSet: RichTextWidgetComponentSet, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent, WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, DeleteDropZoneComponent: DeleteDropZoneComponent }));
|
|
6
|
+
const { SidebarComponent, KpiWidgetComponentSet, AttributeFilterComponentSet, InsightWidgetComponentSet, RichTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet, } = useDashboardComponentsContext();
|
|
7
|
+
return (React.createElement(SidebarComponent, { ...props, KpiWidgetComponentSet: KpiWidgetComponentSet, AttributeFilterComponentSet: AttributeFilterComponentSet, InsightWidgetComponentSet: InsightWidgetComponentSet, RichTextWidgetComponentSet: RichTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet: VisualizationSwitcherWidgetComponentSet, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent, WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, DeleteDropZoneComponent: DeleteDropZoneComponent }));
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=DashboardSidebar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardSidebar.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/DashboardSidebar.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAIjF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAoB,EAAe,EAAE;IAClE,MAAM,EACF,oCAAoC,EACpC,oCAAoC,EACpC,uBAAuB,GAC1B,GAAG,KAAK,CAAC;IACV,MAAM,EACF,gBAAgB,EAChB,qBAAqB,EACrB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"DashboardSidebar.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/DashboardSidebar.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAIjF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAoB,EAAe,EAAE;IAClE,MAAM,EACF,oCAAoC,EACpC,oCAAoC,EACpC,uBAAuB,GAC1B,GAAG,KAAK,CAAC;IACV,MAAM,EACF,gBAAgB,EAChB,qBAAqB,EACrB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,uCAAuC,GAC1C,GAAG,6BAA6B,EAAE,CAAC;IAEpC,OAAO,CACH,oBAAC,gBAAgB,OACT,KAAK,EACT,qBAAqB,EAAE,qBAAqB,EAC5C,2BAA2B,EAAE,2BAA2B,EACxD,yBAAyB,EAAE,yBAAyB,EACpD,0BAA0B,EAAE,0BAA0B,EACtD,uCAAuC,EAAE,uCAAuC,EAChF,oCAAoC,EAAE,oCAAoC,EAC1E,oCAAoC,EAAE,oCAAoC,EAC1E,uBAAuB,EAAE,uBAAuB,GAClD,CACL,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarConfigurationPanel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"SidebarConfigurationPanel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAiCrF,CAAC"}
|
|
@@ -6,12 +6,12 @@ import { CreationPanel } from "./CreationPanel.js";
|
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
8
|
export const SidebarConfigurationPanel = (props) => {
|
|
9
|
-
const { configurationPanelClassName, WrapCreatePanelItemWithDragComponent, WrapInsightListItemWithDragComponent, KpiWidgetComponentSet, AttributeFilterComponentSet, InsightWidgetComponentSet, RichTextWidgetComponentSet, } = props;
|
|
9
|
+
const { configurationPanelClassName, WrapCreatePanelItemWithDragComponent, WrapInsightListItemWithDragComponent, KpiWidgetComponentSet, AttributeFilterComponentSet, InsightWidgetComponentSet, RichTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet, } = props;
|
|
10
10
|
const { deselectWidgets } = useWidgetSelection();
|
|
11
11
|
const DeleteDropZoneComponent = props.DeleteDropZoneComponent;
|
|
12
12
|
return (React.createElement("div", { className: "col gd-flex-item gd-sidebar-container", onClick: deselectWidgets },
|
|
13
13
|
React.createElement("div", { className: "flex-panel-full-height" },
|
|
14
|
-
React.createElement(CreationPanel, { className: configurationPanelClassName, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent, WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, KpiWidgetComponentSet: KpiWidgetComponentSet, AttributeFilterComponentSet: AttributeFilterComponentSet, InsightWidgetComponentSet: InsightWidgetComponentSet, RichTextWidgetComponentSet: RichTextWidgetComponentSet })),
|
|
14
|
+
React.createElement(CreationPanel, { className: configurationPanelClassName, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent, WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, KpiWidgetComponentSet: KpiWidgetComponentSet, AttributeFilterComponentSet: AttributeFilterComponentSet, InsightWidgetComponentSet: InsightWidgetComponentSet, RichTextWidgetComponentSet: RichTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet: VisualizationSwitcherWidgetComponentSet })),
|
|
15
15
|
React.createElement(DeleteDropZoneComponent, null)));
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=SidebarConfigurationPanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarConfigurationPanel.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoD,CACtF,KAAK,EACM,EAAE;IACb,MAAM,EACF,2BAA2B,EAC3B,oCAAoC,EACpC,oCAAoC,EACpC,qBAAqB,EACrB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"SidebarConfigurationPanel.js","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/SidebarConfigurationPanel.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoD,CACtF,KAAK,EACM,EAAE;IACb,MAAM,EACF,2BAA2B,EAC3B,oCAAoC,EACpC,oCAAoC,EACpC,qBAAqB,EACrB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,uCAAuC,GAC1C,GAAG,KAAK,CAAC;IACV,MAAM,EAAE,eAAe,EAAE,GAAG,kBAAkB,EAAE,CAAC;IACjD,MAAM,uBAAuB,GAAG,KAAK,CAAC,uBAAwB,CAAC;IAE/D,OAAO,CACH,6BAAK,SAAS,EAAC,uCAAuC,EAAC,OAAO,EAAE,eAAe;QAC3E,6BAAK,SAAS,EAAC,wBAAwB;YACnC,oBAAC,aAAa,IACV,SAAS,EAAE,2BAA2B,EACtC,oCAAoC,EAAE,oCAAoC,EAC1E,oCAAoC,EAAE,oCAAoC,EAC1E,qBAAqB,EAAE,qBAAqB,EAC5C,2BAA2B,EAAE,2BAA2B,EACxD,yBAAyB,EAAE,yBAAyB,EACpD,0BAA0B,EAAE,0BAA0B,EACtD,uCAAuC,EAAE,uCAAuC,GAClF,CACA;QACN,oBAAC,uBAAuB,OAAG,CACzB,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType } from "react";
|
|
2
|
-
import { AttributeFilterComponentSet, InsightWidgetComponentSet, KpiWidgetComponentSet, RichTextWidgetComponentSet } from "../../componentDefinition/index.js";
|
|
2
|
+
import { AttributeFilterComponentSet, InsightWidgetComponentSet, KpiWidgetComponentSet, RichTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet } from "../../componentDefinition/index.js";
|
|
3
3
|
import { IWrapCreatePanelItemWithDragComponent, IWrapInsightListItemWithDragComponent } from "../../dragAndDrop/types.js";
|
|
4
4
|
/**
|
|
5
5
|
* @alpha
|
|
@@ -56,6 +56,13 @@ export interface ISidebarProps {
|
|
|
56
56
|
* @internal
|
|
57
57
|
*/
|
|
58
58
|
RichTextWidgetComponentSet?: RichTextWidgetComponentSet;
|
|
59
|
+
/**
|
|
60
|
+
* Visualization switcher widget component set.
|
|
61
|
+
* Do not set or override this property, it's injected by the Dashboard.
|
|
62
|
+
*
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
VisualizationSwitcherWidgetComponentSet?: VisualizationSwitcherWidgetComponentSet;
|
|
59
66
|
/**
|
|
60
67
|
* Component, that renders delete drop zone.
|
|
61
68
|
* Do not set or override this property, it's injected by the Dashboard.
|