@gooddata/sdk-ui-dashboard 10.14.0-alpha.2 → 10.14.0-alpha.20
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/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/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +12 -4
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +3 -2
- package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +5 -1
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -2
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js +4 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +1 -1
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +1 -1
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +18 -6
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +5 -5
- 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 +13 -6
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -1
- package/esm/presentation/constants/classes.d.ts +2 -0
- package/esm/presentation/constants/classes.d.ts.map +1 -0
- package/esm/presentation/constants/classes.js +3 -0
- package/esm/presentation/constants/classes.js.map +1 -0
- package/esm/presentation/constants/index.d.ts +1 -0
- package/esm/presentation/constants/index.d.ts.map +1 -1
- package/esm/presentation/constants/index.js +1 -0
- package/esm/presentation/constants/index.js.map +1 -1
- package/esm/presentation/constants/layout.d.ts +1 -0
- package/esm/presentation/constants/layout.d.ts.map +1 -1
- package/esm/presentation/constants/layout.js +1 -1
- package/esm/presentation/constants/layout.js.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +7 -2
- 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 +7 -2
- package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlay.d.ts +11 -0
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlay.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlay.js +53 -0
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlay.js.map +1 -0
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +8 -0
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.js +17 -0
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.js.map +1 -0
- package/esm/presentation/flexibleLayout/DashboardLayout.d.ts +7 -0
- package/esm/presentation/flexibleLayout/DashboardLayout.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DashboardLayout.js +11 -0
- package/esm/presentation/flexibleLayout/DashboardLayout.js.map +1 -0
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts +8 -0
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +199 -0
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts +9 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +54 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts +4 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +23 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +21 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +17 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +7 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +39 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +15 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +19 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts +6 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +33 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.d.ts +3 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +40 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +25 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +51 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts +24 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +15 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts +9 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +12 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts +4 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +17 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts +3 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +11 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts +4 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +22 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.d.ts +3 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +24 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/EditableLabelWithBubble.d.ts +16 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/EditableLabelWithBubble.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/EditableLabelWithBubble.js +38 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/EditableLabelWithBubble.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts +8 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +66 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/sectionHeaderHelper.d.ts +7 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/sectionHeaderHelper.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/sectionHeaderHelper.js +18 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/sectionHeaderHelper.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +39 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +63 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts +8 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js +14 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.d.ts +8 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js +14 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts +2 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js +3 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts +19 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js +14 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +343 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.js +2 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts +4 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js +34 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +3 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +31 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.d.ts +7 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js +33 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +51 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +360 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.d.ts +22 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.js +96 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutUtils.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts +7 -0
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +101 -0
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardError.d.ts +3 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardError.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardError.js +10 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardError.js.map +1 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.d.ts +3 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js +9 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js.map +1 -0
- package/esm/presentation/flexibleLayout/constants.d.ts +4 -0
- package/esm/presentation/flexibleLayout/constants.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/constants.js +14 -0
- package/esm/presentation/flexibleLayout/constants.js.map +1 -0
- package/esm/presentation/flexibleLayout/index.d.ts +4 -0
- package/esm/presentation/flexibleLayout/index.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/index.js +5 -0
- package/esm/presentation/flexibleLayout/index.js.map +1 -0
- package/esm/presentation/flexibleLayout/refs.d.ts +5 -0
- package/esm/presentation/flexibleLayout/refs.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/refs.js +7 -0
- package/esm/presentation/flexibleLayout/refs.js.map +1 -0
- package/esm/presentation/flexibleLayout/types.d.ts +26 -0
- package/esm/presentation/flexibleLayout/types.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/types.js +2 -0
- package/esm/presentation/flexibleLayout/types.js.map +1 -0
- package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.js +16 -8
- package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +10 -0
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +2 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.d.ts +14 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.js +139 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +2 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +2 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +11 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +7 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +7 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +12 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.d.ts +12 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.js +86 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +6 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +6 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +5 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +21 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +19 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +204 -2
- 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 +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
- package/esm/presentation/widget/insight/types.d.ts +7 -1
- package/esm/presentation/widget/insight/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/types.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuBubble.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuBubble.js +2 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuBubble.js.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +8 -3
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.js +11 -2
- package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.js.map +1 -1
- package/esm/presentation/widget/widget/types.d.ts +7 -1
- package/esm/presentation/widget/widget/types.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +19 -8
- package/package.json +15 -15
- package/styles/css/alerting.css +59 -5
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/dashboard.css +117 -0
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dragAndDrop.css +5 -0
- package/styles/css/dragAndDrop.css.map +1 -1
- package/styles/css/flexibleLayout.css +425 -0
- package/styles/css/flexibleLayout.css.map +1 -0
- package/styles/css/layout.css +111 -0
- package/styles/css/layout.css.map +1 -1
- package/styles/css/main.css +188 -6
- package/styles/css/main.css.map +1 -1
- package/styles/css/visualization.css +7 -1
- package/styles/css/visualization.css.map +1 -1
- package/styles/scss/alerting.scss +69 -5
- package/styles/scss/dashboard.scss +12 -0
- package/styles/scss/dragAndDrop.scss +8 -0
- package/styles/scss/flexibleLayout.scss +410 -0
- package/styles/scss/layout.scss +77 -0
- package/styles/scss/visualization.scss +10 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyDashboardError.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/EmptyDashboardError.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAE9E,MAAM,CAAC,MAAM,mBAAmB,GAAa,GAAG,EAAE;IAC9C,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,EAAE,cAAc,EAAE,GAAG,6BAA6B,EAAE,CAAC;IAC3D,OAAO,CACH,oBAAC,cAAc,IACX,SAAS,EAAC,gBAAgB,EAC1B,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,+BAA+B,EAAE,CAAC,EACpE,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,4BAA4B,EAAE,CAAC,GACvE,CACL,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyDashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/EmptyDashboardLayout.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,oBAAoB,mCAG/B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
import { renderModeAware } from "../componentDefinition/index.js";
|
|
3
|
+
import { EmptyDashboardDropZone } from "../dragAndDrop/index.js";
|
|
4
|
+
import { EmptyDashboardError } from "./EmptyDashboardError.js";
|
|
5
|
+
export const EmptyDashboardLayout = renderModeAware({
|
|
6
|
+
view: EmptyDashboardError,
|
|
7
|
+
edit: EmptyDashboardDropZone,
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=EmptyDashboardLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/EmptyDashboardLayout.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAChD,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,sBAAsB;CAC/B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD,eAAO,MAAM,YAAY,SASb,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
export const DEFAULT_COLUMN_CLIENT_WIDTH = 100;
|
|
3
|
+
export const DEFAULT_WIDTH_RESIZER_HEIGHT = 300;
|
|
4
|
+
export const emptyDOMRect = {
|
|
5
|
+
x: 0,
|
|
6
|
+
y: 0,
|
|
7
|
+
bottom: 0,
|
|
8
|
+
top: 0,
|
|
9
|
+
left: 0,
|
|
10
|
+
right: 0,
|
|
11
|
+
height: 0,
|
|
12
|
+
width: 0,
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/constants.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAC/C,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAC;AAEhD,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,MAAM,EAAE,CAAC;IACT,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;CACA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ObjRef } from "@gooddata/sdk-model";
|
|
2
|
+
import { IDashboardLayoutSectionFacade, IDashboardLayoutItemFacade } from "../../_staging/dashboard/fluidLayout/index.js";
|
|
3
|
+
export declare function getRefsForSection(section: IDashboardLayoutSectionFacade<unknown>): (ObjRef | undefined)[];
|
|
4
|
+
export declare function getRefsForItem(item: IDashboardLayoutItemFacade<unknown>): (ObjRef | undefined)[];
|
|
5
|
+
//# sourceMappingURL=refs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refs.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/refs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACH,6BAA6B,EAC7B,0BAA0B,EAC7B,MAAM,+CAA+C,CAAC;AAEvD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAEzG;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,0BAA0B,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAEhG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refs.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/refs.ts"],"names":[],"mappings":"AAOA,MAAM,UAAU,iBAAiB,CAAC,OAA+C;IAC7E,OAAO,OAAO,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,IAAyC;IACpE,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AACxB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentType } from "react";
|
|
2
|
+
import { IErrorProps, OnError } from "@gooddata/sdk-ui";
|
|
3
|
+
import { FilterContextItem, IDashboardLayout, ScreenSize, IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
|
|
4
|
+
import { IDashboardFilter, OnFiredDashboardDrillEvent } from "../../types.js";
|
|
5
|
+
import { ExtendedDashboardWidget } from "../../model/index.js";
|
|
6
|
+
/**
|
|
7
|
+
* @alpha
|
|
8
|
+
*/
|
|
9
|
+
export interface IDashboardLayoutProps {
|
|
10
|
+
ErrorComponent?: React.ComponentType<IErrorProps>;
|
|
11
|
+
onFiltersChange?: (filters: (IDashboardFilter | FilterContextItem)[], resetOthers?: boolean) => void;
|
|
12
|
+
onDrill?: OnFiredDashboardDrillEvent;
|
|
13
|
+
onError?: OnError;
|
|
14
|
+
layout?: IDashboardLayout<ExtendedDashboardWidget>;
|
|
15
|
+
screen?: ScreenSize;
|
|
16
|
+
parentLayoutItemSize?: IDashboardLayoutSizeByScreenSize;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @alpha
|
|
20
|
+
*/
|
|
21
|
+
export type CustomDashboardLayoutComponent = ComponentType<IDashboardLayoutProps>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export type CustomEmptyLayoutDropZoneBodyComponent = ComponentType;
|
|
26
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EACH,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,gCAAgC,EACnC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAElD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,gBAAgB,GAAG,iBAAiB,CAAC,EAAE,EAAE,WAAW,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACrG,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,MAAM,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,CAAC;IAEnD,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB,oBAAoB,CAAC,EAAE,gCAAgC,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAC;AAElF;;GAEG;AACH,MAAM,MAAM,sCAAsC,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/presentation/layout/DefaultDashboardLayout.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DefaultDashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/presentation/layout/DefaultDashboardLayout.tsx"],"names":[],"mappings":";AA6BA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA+InD;;GAEG;AACH,eAAO,MAAM,sBAAsB,UAAW,qBAAqB,KAAG,WAMrE,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
// (C) 2020-
|
|
1
|
+
// (C) 2020-2024 GoodData Corporation
|
|
2
2
|
import React, { useCallback, useMemo } from "react";
|
|
3
3
|
import { objRefToString, isWidget, } from "@gooddata/sdk-model";
|
|
4
4
|
import { LRUCache } from "lru-cache";
|
|
5
5
|
import max from "lodash/max.js";
|
|
6
|
-
import { useDashboardSelector, selectIsExport, selectIsLayoutEmpty, selectLayout, selectInsightsMap, selectEnableWidgetCustomHeight, selectRenderMode, } from "../../model/index.js";
|
|
6
|
+
import { useDashboardSelector, selectIsExport, selectIsLayoutEmpty, selectLayout, selectInsightsMap, selectEnableWidgetCustomHeight, selectRenderMode, selectEnableFlexibleLayout, } from "../../model/index.js";
|
|
7
|
+
import { SectionHotspot } from "../dragAndDrop/index.js";
|
|
8
|
+
import { isInitialPlaceholderWidget } from "../../widgets/index.js";
|
|
9
|
+
import { DefaultFlexibleDashboardLayout } from "../flexibleLayout/index.js";
|
|
7
10
|
import { DashboardLayoutWidget } from "./DashboardLayoutWidget.js";
|
|
8
11
|
import { DashboardLayout, DashboardLayoutBuilder, } from "./DefaultDashboardLayoutRenderer/index.js";
|
|
9
12
|
import { renderModeAwareDashboardLayoutSectionRenderer } from "./DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js";
|
|
10
13
|
import { renderModeAwareDashboardLayoutSectionHeaderRenderer } from "./DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js";
|
|
11
14
|
import { getMemoizedWidgetSanitizer } from "./DefaultDashboardLayoutUtils.js";
|
|
12
|
-
import { SectionHotspot } from "../dragAndDrop/index.js";
|
|
13
|
-
import { isInitialPlaceholderWidget } from "../../widgets/index.js";
|
|
14
15
|
import { EmptyDashboardLayout } from "./EmptyDashboardLayout.js";
|
|
15
16
|
/**
|
|
16
17
|
* Get dashboard layout for exports.
|
|
@@ -57,10 +58,7 @@ const itemKeyGetter = (keyGetterProps) => {
|
|
|
57
58
|
}
|
|
58
59
|
return keyGetterProps.item.index().toString();
|
|
59
60
|
};
|
|
60
|
-
|
|
61
|
-
* @alpha
|
|
62
|
-
*/
|
|
63
|
-
export const DefaultDashboardLayout = (props) => {
|
|
61
|
+
const LegacyDefaultDashboardLayout = (props) => {
|
|
64
62
|
const { onFiltersChange, onDrill, onError } = props;
|
|
65
63
|
const layout = useDashboardSelector(selectLayout);
|
|
66
64
|
const isLayoutEmpty = useDashboardSelector(selectIsLayoutEmpty);
|
|
@@ -97,4 +95,14 @@ export const DefaultDashboardLayout = (props) => {
|
|
|
97
95
|
React.createElement(DashboardLayout, { className: isExport ? "export-mode" : "", layout: transformedLayout, itemKeyGetter: itemKeyGetter, widgetRenderer: widgetRenderer, enableCustomHeight: enableWidgetCustomHeight, sectionRenderer: renderModeAwareDashboardLayoutSectionRenderer, sectionHeaderRenderer: renderModeAwareDashboardLayoutSectionHeaderRenderer, renderMode: renderMode }),
|
|
98
96
|
!!shouldRenderSectionHotspot && (React.createElement(SectionHotspot, { index: transformedLayout.sections.length, targetPosition: "below" }))));
|
|
99
97
|
};
|
|
98
|
+
/**
|
|
99
|
+
* @alpha
|
|
100
|
+
*/
|
|
101
|
+
export const DefaultDashboardLayout = (props) => {
|
|
102
|
+
const isFlexibleLayoutEnabled = useDashboardSelector(selectEnableFlexibleLayout);
|
|
103
|
+
if (isFlexibleLayoutEnabled) {
|
|
104
|
+
return React.createElement(DefaultFlexibleDashboardLayout, { ...props });
|
|
105
|
+
}
|
|
106
|
+
return React.createElement(LegacyDefaultDashboardLayout, { ...props });
|
|
107
|
+
};
|
|
100
108
|
//# sourceMappingURL=DefaultDashboardLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/layout/DefaultDashboardLayout.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAGH,cAAc,EACd,QAAQ,GAGX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,GAAG,MAAM,eAAe,CAAC;AAEhC,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,YAAY,EAEZ,iBAAiB,EACjB,8BAA8B,EAC9B,gBAAgB,
|
|
1
|
+
{"version":3,"file":"DefaultDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/layout/DefaultDashboardLayout.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAGH,cAAc,EACd,QAAQ,GAGX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,GAAG,MAAM,eAAe,CAAC;AAEhC,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,YAAY,EAEZ,iBAAiB,EACjB,8BAA8B,EAC9B,gBAAgB,EAChB,0BAA0B,GAC7B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,8BAA8B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"comment": "Title of the section in insight configuration",
|
|
2970
2970
|
"limit": 0
|
|
2971
2971
|
},
|
|
2972
|
+
"insightAlert.config.for": {
|
|
2973
|
+
"value": "For",
|
|
2974
|
+
"comment": "Title of the section in insight configuration",
|
|
2975
|
+
"limit": 0
|
|
2976
|
+
},
|
|
2972
2977
|
"insightAlert.config.warning.destination": {
|
|
2973
2978
|
"value": "The selected destination only supports sending the alert to yourself.",
|
|
2974
2979
|
"comment": "Alert warning message",
|
|
@@ -3088,5 +3093,10 @@
|
|
|
3088
3093
|
"value": "Select a metric",
|
|
3089
3094
|
"comment": "Label of metric select dropdown",
|
|
3090
3095
|
"limit": 0
|
|
3096
|
+
},
|
|
3097
|
+
"insightAlert.config.selectAttribute": {
|
|
3098
|
+
"value": "All",
|
|
3099
|
+
"comment": "Label of attribute select dropdown",
|
|
3100
|
+
"limit": 0
|
|
3091
3101
|
}
|
|
3092
3102
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationBubble.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/common/configuration/ConfigurationBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,eAAe,EACf,YAAY,EAEZ,WAAW,EACX,mBAAmB,EACtB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfigurationBubble.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/common/configuration/ConfigurationBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,eAAe,EACf,YAAY,EAEZ,WAAW,EACX,mBAAmB,EACtB,MAAM,sBAAsB,CAAC;AAI9B,UAAU,yBAAyB;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,WAAW,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,eAAe,CAAC,EAAE,eAAe,CAAC;CACrC;AAED,eAAO,MAAM,kBAAkB,EAAE,WAAW,EAM3C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,YAMjC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,eAGpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA8BnE,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import cx from "classnames";
|
|
4
4
|
import { Bubble, } from "@gooddata/sdk-ui-kit";
|
|
5
|
+
import { IGNORED_CONFIGURATION_MENU_CLICK_CLASS } from "../../../constants/index.js";
|
|
5
6
|
export const defaultAlignPoints = [
|
|
6
7
|
{ align: "tr tl" },
|
|
7
8
|
{ align: "br bl" },
|
|
@@ -22,7 +23,7 @@ export const defaultArrowDirections = {
|
|
|
22
23
|
};
|
|
23
24
|
export const ConfigurationBubble = (props) => {
|
|
24
25
|
const { children, classNames, onClose, alignTo = ".s-dash-item.is-selected", alignPoints = defaultAlignPoints, arrowOffsets = defaultArrowOffsets, overlayPositionType, arrowDirections = defaultArrowDirections, } = props;
|
|
25
|
-
const ignoreClicksOnByClass = [alignTo]; // do not close on click to the widget
|
|
26
|
+
const ignoreClicksOnByClass = [alignTo, `.${IGNORED_CONFIGURATION_MENU_CLICK_CLASS}`]; // do not close on click to the widget
|
|
26
27
|
return (React.createElement(Bubble, { className: cx("bubble-light gd-configuration-bubble s-gd-configuration-bubble", classNames), overlayClassName: "gd-configuration-bubble-wrapper sdk-edit-mode-on", alignTo: alignTo, alignPoints: alignPoints, arrowOffsets: arrowOffsets, arrowDirections: arrowDirections, closeOnOutsideClick: true, closeOnParentScroll: false, ignoreClicksOnByClass: ignoreClicksOnByClass, onClose: onClose, overlayPositionType: overlayPositionType }, children));
|
|
27
28
|
};
|
|
28
29
|
//# sourceMappingURL=ConfigurationBubble.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationBubble.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/common/configuration/ConfigurationBubble.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAGH,MAAM,GAGT,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfigurationBubble.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/common/configuration/ConfigurationBubble.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAGH,MAAM,GAGT,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,sCAAsC,EAAE,MAAM,6BAA6B,CAAC;AAarF,MAAM,CAAC,MAAM,kBAAkB,GAAkB;IAC7C,EAAE,KAAK,EAAE,OAAO,EAAE;IAClB,EAAE,KAAK,EAAE,OAAO,EAAE;IAClB,EAAE,KAAK,EAAE,OAAO,EAAE;IAClB,EAAE,KAAK,EAAE,OAAO,EAAE;IAClB,EAAE,KAAK,EAAE,OAAO,EAAE;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAiB;IAC7C,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;IAChB,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;IACjB,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC;IAClB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAoB;IACnD,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAwC,CAAC,KAAK,EAAE,EAAE;IAC9E,MAAM,EACF,QAAQ,EACR,UAAU,EACV,OAAO,EACP,OAAO,GAAG,0BAA0B,EACpC,WAAW,GAAG,kBAAkB,EAChC,YAAY,GAAG,mBAAmB,EAClC,mBAAmB,EACnB,eAAe,GAAG,sBAAsB,GAC3C,GAAG,KAAK,CAAC;IACV,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,IAAI,sCAAsC,EAAE,CAAC,CAAC,CAAC,sCAAsC;IAE7H,OAAO,CACH,oBAAC,MAAM,IACH,SAAS,EAAE,EAAE,CAAC,gEAAgE,EAAE,UAAU,CAAC,EAC3F,gBAAgB,EAAC,kDAAkD,EACnE,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,eAAe,EAAE,eAAe,EAChC,mBAAmB,QACnB,mBAAmB,EAAE,KAAK,EAC1B,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,EAAE,OAAO,EAChB,mBAAmB,EAAE,mBAAmB,IAEvC,QAAQ,CACJ,CACZ,CAAC;AACN,CAAC,CAAC"}
|
package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IAttributeMetadataObject } from "@gooddata/sdk-model";
|
|
3
|
+
import { AlertAttribute } from "../../types.js";
|
|
4
|
+
import { IExecutionResultEnvelope } from "../../../../../model/index.js";
|
|
5
|
+
export interface IAlertAttributeSelectProps {
|
|
6
|
+
execResult: IExecutionResultEnvelope | undefined;
|
|
7
|
+
selectedAttribute: AlertAttribute | undefined;
|
|
8
|
+
selectedValue: string | null | undefined;
|
|
9
|
+
onAttributeChange: (attribute: AlertAttribute | undefined, value: string | undefined) => void;
|
|
10
|
+
attributes: AlertAttribute[];
|
|
11
|
+
catalogAttributes: IAttributeMetadataObject[];
|
|
12
|
+
}
|
|
13
|
+
export declare const AlertAttributeSelect: ({ execResult, selectedAttribute, selectedValue, onAttributeChange, attributes, catalogAttributes, }: IAlertAttributeSelectProps) => React.JSX.Element;
|
|
14
|
+
//# sourceMappingURL=AlertAttributeSelecxt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertAttributeSelecxt.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAYzD,OAAO,EAAmB,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAKhD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAQzE,MAAM,WAAW,0BAA0B;IACvC,UAAU,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACjD,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,iBAAiB,EAAE,CAAC,SAAS,EAAE,cAAc,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9F,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,iBAAiB,EAAE,wBAAwB,EAAE,CAAC;CACjD;AAED,eAAO,MAAM,oBAAoB,wGAO9B,0BAA0B,sBAyN5B,CAAC"}
|
package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.js
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
|
+
import React, { useMemo, useRef, useState } from "react";
|
|
3
|
+
import { Button, Menu, ItemsWrapper, Item, SubMenu, Separator, InvertableSelectSearchBar, } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import cx from "classnames";
|
|
5
|
+
import { useIntl } from "react-intl";
|
|
6
|
+
import { areObjRefsEqual } from "@gooddata/sdk-model";
|
|
7
|
+
import { DASHBOARD_DIALOG_OVERS_Z_INDEX, IGNORED_CONFIGURATION_MENU_CLICK_CLASS, } from "../../../../constants/index.js";
|
|
8
|
+
import { getAttributeTitle } from "./utils.js";
|
|
9
|
+
import { useAttributeValuesFromExecResults, } from "./hooks/useAttributeValuesFromExecResults.js";
|
|
10
|
+
export const AlertAttributeSelect = ({ execResult, selectedAttribute, selectedValue, onAttributeChange, attributes, catalogAttributes, }) => {
|
|
11
|
+
const intl = useIntl();
|
|
12
|
+
const ref = useRef(null);
|
|
13
|
+
const [searchString, setSearchString] = useState("");
|
|
14
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
15
|
+
const [isOpenAttribute, setIsOpenAttribute] = useState(null);
|
|
16
|
+
const { isResultLoading, getAttributeValues } = useAttributeValuesFromExecResults(execResult);
|
|
17
|
+
const selectedAttr = useMemo(() => selectedAttribute && getSelectedCatalogAttribute(catalogAttributes, selectedAttribute), [catalogAttributes, selectedAttribute]);
|
|
18
|
+
const selectedVal = useMemo(() => getSelectedCatalogAttributeValue(selectedAttr, getAttributeValues, selectedValue), [selectedAttr, getAttributeValues, selectedValue]);
|
|
19
|
+
const opened = Boolean(isOpen && !isResultLoading);
|
|
20
|
+
return (React.createElement("div", { className: "gd-alert-attribute-select" },
|
|
21
|
+
React.createElement(Menu, { toggler: React.createElement("div", { ref: (item) => {
|
|
22
|
+
ref.current = item;
|
|
23
|
+
} },
|
|
24
|
+
React.createElement(Button, { className: cx("gd-alert-attribute-select__button s-alert-attribute-select", {
|
|
25
|
+
"is-active": opened,
|
|
26
|
+
}), size: "small", disabled: isResultLoading, variant: "secondary", iconLeft: "gd-icon-attribute", iconRight: `gd-icon-navigate${opened ? "up" : "down"}`, onClick: () => {
|
|
27
|
+
if (isResultLoading) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
setIsOpen(!isOpen);
|
|
31
|
+
setIsOpenAttribute(null);
|
|
32
|
+
} }, selectedAttribute ? (React.createElement("span", null,
|
|
33
|
+
selectedAttr?.title,
|
|
34
|
+
React.createElement("span", null,
|
|
35
|
+
"\u00A0",
|
|
36
|
+
"/",
|
|
37
|
+
"\u00A0"),
|
|
38
|
+
selectedVal
|
|
39
|
+
? (selectedVal.title ?? selectedVal.name) ||
|
|
40
|
+
`(${intl.formatMessage({ id: "empty_value" })})`
|
|
41
|
+
: intl.formatMessage({ id: "insightAlert.config.selectAttribute" }))) : (React.createElement(React.Fragment, null, intl.formatMessage({ id: "insightAlert.config.selectAttribute" }))))), togglerWrapperClassName: "gd-alert-attribute-select__button_wrapper", opened: opened, onOpenedChange: ({ opened }) => {
|
|
42
|
+
setIsOpen(opened);
|
|
43
|
+
}, openAction: "click" },
|
|
44
|
+
React.createElement(ItemsWrapper, { style: {
|
|
45
|
+
width: ref.current?.offsetWidth ?? 0,
|
|
46
|
+
zIndex: DASHBOARD_DIALOG_OVERS_Z_INDEX,
|
|
47
|
+
}, className: IGNORED_CONFIGURATION_MENU_CLICK_CLASS },
|
|
48
|
+
React.createElement("div", { className: "gd-alert-attribute-select__submenu s-alert-attribute-menu-content" },
|
|
49
|
+
React.createElement(Item, { className: "gd-alert-attribute-select__menu-item_wrapper", checked: !selectedAttr, onClick: (e) => {
|
|
50
|
+
onAttributeChange(undefined, undefined);
|
|
51
|
+
setIsOpen(false);
|
|
52
|
+
setIsOpenAttribute(null);
|
|
53
|
+
e.preventDefault();
|
|
54
|
+
e.stopPropagation();
|
|
55
|
+
} },
|
|
56
|
+
React.createElement("div", { className: "gd-alert-attribute-select__menu-item s-menu-alert-attribute-item-value" }, intl.formatMessage({ id: "insightAlert.config.selectAttribute" }))),
|
|
57
|
+
React.createElement(Separator, null),
|
|
58
|
+
attributes.map((attribute, i) => {
|
|
59
|
+
const item = getSelectedCatalogAttribute(catalogAttributes, attribute);
|
|
60
|
+
if (!item) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
const isSelected = selectedAttr?.id === item.id;
|
|
64
|
+
const values = getAttributeValues(item);
|
|
65
|
+
return (React.createElement(SubMenu, { key: i, toggler: React.createElement(Item, { checked: isSelected, subMenu: true, className: "gd-alert-attribute-select__menu-item_wrapper" },
|
|
66
|
+
React.createElement("div", { className: "gd-alert-attribute-select__menu-item s-menu-alert-attribute-item" }, item.title ||
|
|
67
|
+
`(${intl.formatMessage({ id: "empty_value" })})`)), openAction: "click", opened: isOpenAttribute === attribute.attribute.attribute.localIdentifier, onOpenedChange: ({ opened }) => {
|
|
68
|
+
setIsOpenAttribute(opened ? attribute.attribute.attribute.localIdentifier : null);
|
|
69
|
+
setSearchString("");
|
|
70
|
+
} },
|
|
71
|
+
React.createElement(ItemsWrapper, { style: {
|
|
72
|
+
zIndex: DASHBOARD_DIALOG_OVERS_Z_INDEX + 1,
|
|
73
|
+
}, className: IGNORED_CONFIGURATION_MENU_CLICK_CLASS },
|
|
74
|
+
React.createElement("div", { className: cx("gd-alert-attribute-select__submenu-content", "s-alert-attribute-submenu-content") },
|
|
75
|
+
values.length > 5 && (React.createElement("div", null,
|
|
76
|
+
React.createElement(InvertableSelectSearchBar, { onSearch: setSearchString, searchString: searchString, searchPlaceholder: intl.formatMessage({
|
|
77
|
+
id: "attributesDropdown.placeholder",
|
|
78
|
+
}), className: "gd-alert-attribute-select__menu-item_search" }))),
|
|
79
|
+
React.createElement(Item, { className: "gd-alert-attribute-select__menu-item_wrapper", checked: Boolean(isSelected && !selectedVal), onClick: (e) => {
|
|
80
|
+
onAttributeChange(attribute, undefined);
|
|
81
|
+
setIsOpen(false);
|
|
82
|
+
setIsOpenAttribute(null);
|
|
83
|
+
e.preventDefault();
|
|
84
|
+
e.stopPropagation();
|
|
85
|
+
} },
|
|
86
|
+
React.createElement("div", { className: "gd-alert-attribute-select__menu-item s-menu-alert-attribute-item-value" },
|
|
87
|
+
intl.formatMessage({
|
|
88
|
+
id: "insightAlert.config.selectAttribute",
|
|
89
|
+
}),
|
|
90
|
+
" ",
|
|
91
|
+
"(",
|
|
92
|
+
values.length,
|
|
93
|
+
")")),
|
|
94
|
+
React.createElement(Separator, null),
|
|
95
|
+
React.createElement("div", { className: "gd-alert-attribute-select__menu-item__values" }, values
|
|
96
|
+
.filter((item) => {
|
|
97
|
+
if (searchString) {
|
|
98
|
+
return item.title
|
|
99
|
+
.toLowerCase()
|
|
100
|
+
.includes(searchString.toLowerCase());
|
|
101
|
+
}
|
|
102
|
+
return true;
|
|
103
|
+
})
|
|
104
|
+
.map((value, j) => (React.createElement(Item, { key: j, checked: Boolean(isSelected &&
|
|
105
|
+
value.value === selectedVal?.value), className: "gd-alert-attribute-select__menu-item_wrapper", onClick: (e) => {
|
|
106
|
+
onAttributeChange(attribute, value.value);
|
|
107
|
+
setIsOpen(false);
|
|
108
|
+
setIsOpenAttribute(null);
|
|
109
|
+
e.preventDefault();
|
|
110
|
+
e.stopPropagation();
|
|
111
|
+
} },
|
|
112
|
+
React.createElement("div", { className: "gd-alert-attribute-select__menu-item s-menu-alert-attribute-item-value" }, (value.title ?? value.name) ||
|
|
113
|
+
`(${intl.formatMessage({
|
|
114
|
+
id: "empty_value",
|
|
115
|
+
})})`)))))))));
|
|
116
|
+
}))))));
|
|
117
|
+
};
|
|
118
|
+
function getSelectedCatalogAttribute(catalogAttributes, attribute) {
|
|
119
|
+
const item = catalogAttributes.find((a) => {
|
|
120
|
+
const self = areObjRefsEqual(a.ref, attribute.attribute.attribute.displayForm);
|
|
121
|
+
const rf = a.displayForms.find((df) => areObjRefsEqual(df.ref, attribute.attribute.attribute.displayForm));
|
|
122
|
+
return self || rf;
|
|
123
|
+
});
|
|
124
|
+
if (!item) {
|
|
125
|
+
return undefined;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
...item,
|
|
129
|
+
title: getAttributeTitle(attribute.attribute) ?? item?.title,
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function getSelectedCatalogAttributeValue(attribute, getAttributeValue, selectedValue) {
|
|
133
|
+
if (!attribute) {
|
|
134
|
+
return undefined;
|
|
135
|
+
}
|
|
136
|
+
const values = getAttributeValue(attribute);
|
|
137
|
+
return values.find((value) => value.value === selectedValue);
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=AlertAttributeSelecxt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertAttributeSelecxt.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelecxt.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACH,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,IAAI,EACJ,OAAO,EACP,SAAS,EACT,yBAAyB,GAC5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,eAAe,EAA4B,MAAM,qBAAqB,CAAC;AAGhF,OAAO,EACH,8BAA8B,EAC9B,sCAAsC,GACzC,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAEH,iCAAiC,GACpC,MAAM,8CAA8C,CAAC;AAWtD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACjC,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,iBAAiB,GACQ,EAAE,EAAE;IAC7B,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,GAAG,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AAC,CACrE,CAAC;QAEF,OAAO,IAAI,IAAI,EAAE,CAAC;IACtB,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,OAAO;QACH,GAAG,IAAI;QACP,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,IAAI,EAAE,KAAK;KAC/D,CAAC;AACN,CAAC;AAED,SAAS,gCAAgC,CACrC,SAA+C,EAC/C,iBAAuE,EACvE,aAAwC;IAExC,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,MAAM,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC;IAC5C,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC;AACjE,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IAutomationMetadataObject } from "@gooddata/sdk-model";
|
|
2
|
+
import { IAutomationMetadataObject, ISeparators } from "@gooddata/sdk-model";
|
|
3
3
|
interface IAlertsListProps {
|
|
4
4
|
isLoading: boolean;
|
|
5
|
+
separators?: ISeparators;
|
|
5
6
|
alerts: IAutomationMetadataObject[];
|
|
6
7
|
onCreateAlert: () => void;
|
|
7
8
|
onEditAlert: (alert: IAutomationMetadataObject) => void;
|
package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertsList.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"AlertsList.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,yBAAyB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAO7E,UAAU,gBAAgB;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,yBAAyB,EAAE,CAAC;IACpC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACxD,YAAY,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC1D,aAAa,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC1D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;CAChC;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAuEjD,CAAC"}
|
|
@@ -5,12 +5,12 @@ import { AlertsListItem } from "./AlertsListItem.js";
|
|
|
5
5
|
import { DashboardInsightSubmenuContainer } from "../../../insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.js";
|
|
6
6
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
7
7
|
import Skeleton from "react-loading-skeleton";
|
|
8
|
-
export const AlertsList = ({ isLoading, alerts, onCreateAlert, onEditAlert, onPauseAlert, onResumeAlert, onDeleteAlert, onClose, onGoBack, maxAutomationsReached, canCreateAutomation, }) => {
|
|
8
|
+
export const AlertsList = ({ isLoading, separators, alerts, onCreateAlert, onEditAlert, onPauseAlert, onResumeAlert, onDeleteAlert, onClose, onGoBack, maxAutomationsReached, canCreateAutomation, }) => {
|
|
9
9
|
const intl = useIntl();
|
|
10
10
|
return (React.createElement(DashboardInsightSubmenuContainer, { title: intl.formatMessage({ id: "insightAlert.config.alerts" }), onClose: onClose, onBack: onGoBack },
|
|
11
11
|
React.createElement("div", { className: "gd-alerts-list" },
|
|
12
12
|
React.createElement("div", { className: "gd-alerts-list__items" }, isLoading ? (React.createElement(LoadingSkeleton, null)) : (React.createElement(React.Fragment, null, alerts.length > 0 ? (alerts.map((alert) => {
|
|
13
|
-
return (React.createElement(AlertsListItem, { key: alert.id, alert: alert, onEditAlert: onEditAlert, onPauseAlert: onPauseAlert, onResumeAlert: onResumeAlert, onDeleteAlert: onDeleteAlert }));
|
|
13
|
+
return (React.createElement(AlertsListItem, { key: alert.id, alert: alert, separators: separators, onEditAlert: onEditAlert, onPauseAlert: onPauseAlert, onResumeAlert: onResumeAlert, onDeleteAlert: onDeleteAlert }));
|
|
14
14
|
})) : (React.createElement("div", { className: "gd-alerts-list__empty" },
|
|
15
15
|
React.createElement(FormattedMessage, { id: "insightAlert.config.alerts.empty" })))))),
|
|
16
16
|
canCreateAutomation ? (React.createElement(React.Fragment, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertsList.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gCAAgC,EAAE,MAAM,2GAA2G,CAAC;AAC7J,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,QAAQ,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"AlertsList.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gCAAgC,EAAE,MAAM,2GAA2G,CAAC;AAC7J,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAiB9C,MAAM,CAAC,MAAM,UAAU,GAA+B,CAAC,EACnD,SAAS,EACT,UAAU,EACV,MAAM,EACN,aAAa,EACb,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,qBAAqB,EACrB,mBAAmB,GACtB,EAAE,EAAE;IACD,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,OAAO,CACH,oBAAC,gCAAgC,IAC7B,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,4BAA4B,EAAE,CAAC,EAC/D,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,QAAQ;QAEhB,6BAAK,SAAS,EAAC,gBAAgB;YAC3B,6BAAK,SAAS,EAAC,uBAAuB,IACjC,SAAS,CAAC,CAAC,CAAC,CACT,oBAAC,eAAe,OAAG,CACtB,CAAC,CAAC,CAAC,CACA,0CACK,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACjB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;gBACjB,OAAO,CACH,oBAAC,cAAc,IACX,GAAG,EAAE,KAAK,CAAC,EAAE,EACb,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU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QACI,oBAAC,mBAAmB,OAAG;QACvB,oBAAC,mBAAmB,OAAG,CACxB,CACN,CAAC;AACN,CAAC,CAAC"}
|
package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IAutomationMetadataObject } from "@gooddata/sdk-model";
|
|
2
|
+
import { IAutomationMetadataObject, ISeparators } from "@gooddata/sdk-model";
|
|
3
3
|
interface IAlertsListItemProps {
|
|
4
4
|
alert: IAutomationMetadataObject;
|
|
5
|
+
separators?: ISeparators;
|
|
5
6
|
onEditAlert: (alert: IAutomationMetadataObject) => void;
|
|
6
7
|
onPauseAlert: (alert: IAutomationMetadataObject) => void;
|
|
7
8
|
onDeleteAlert: (alert: IAutomationMetadataObject) => void;
|
package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertsListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"AlertsListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,yBAAyB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAe7E,UAAU,oBAAoB;IAC1B,KAAK,EAAE,yBAAyB,CAAC;IACjC,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACxD,YAAY,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC1D,aAAa,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;CAC7D;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwDzD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2022-2024 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
|
+
import { ClientFormatterFacade } from "@gooddata/number-formatter";
|
|
4
5
|
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
5
6
|
import { Icon } from "@gooddata/sdk-ui-kit";
|
|
6
7
|
import cx from "classnames";
|
|
@@ -9,12 +10,11 @@ import { getAlertThreshold, getOperatorTitle, getValueSuffix } from "./utils.js"
|
|
|
9
10
|
import { gdColorNegative } from "../../../../constants/colors.js";
|
|
10
11
|
import { useAlertValidation } from "./hooks/useAlertValidation.js";
|
|
11
12
|
import { selectCanManageWorkspace, selectCurrentUser, useDashboardSelector, } from "../../../../../model/index.js";
|
|
12
|
-
export const AlertsListItem = ({ alert, onEditAlert, onPauseAlert, onDeleteAlert, onResumeAlert, }) => {
|
|
13
|
+
export const AlertsListItem = ({ alert, separators, onEditAlert, onPauseAlert, onDeleteAlert, onResumeAlert, }) => {
|
|
13
14
|
const theme = useTheme();
|
|
14
15
|
const intl = useIntl();
|
|
15
16
|
const isPaused = alert.alert?.trigger?.state === "PAUSED";
|
|
16
|
-
const
|
|
17
|
-
const description = `${getOperatorTitle(intl, alert.alert)} ${getAlertThreshold(alert.alert)}${valueSuffix}`;
|
|
17
|
+
const description = getDescription(intl, alert, separators);
|
|
18
18
|
const { isValid } = useAlertValidation(alert);
|
|
19
19
|
const currentUser = useDashboardSelector(selectCurrentUser);
|
|
20
20
|
const canManageWorkspace = useDashboardSelector(selectCanManageWorkspace);
|
|
@@ -30,4 +30,12 @@ export const AlertsListItem = ({ alert, onEditAlert, onPauseAlert, onDeleteAlert
|
|
|
30
30
|
React.createElement("div", { className: "gd-alerts-list-item__actions" },
|
|
31
31
|
React.createElement(AlertActionsDropdown, { isReadOnly: !canEdit, alert: alert, onEdit: () => onEditAlert(alert), onPause: () => onPauseAlert(alert), onDelete: () => onDeleteAlert(alert), onResume: () => onResumeAlert(alert), isPaused: isPaused }))));
|
|
32
32
|
};
|
|
33
|
+
function getDescription(intl, alert, separators) {
|
|
34
|
+
const valueSuffix = getValueSuffix(alert.alert) ?? "";
|
|
35
|
+
const title = getOperatorTitle(intl, alert.alert);
|
|
36
|
+
const threshold = getAlertThreshold(alert.alert);
|
|
37
|
+
const convertedValue = ClientFormatterFacade.convertValue(threshold);
|
|
38
|
+
const { formattedValue } = ClientFormatterFacade.formatValue(convertedValue, undefined, separators);
|
|
39
|
+
return `${title} ${formattedValue}${valueSuffix}`;
|
|
40
|
+
}
|
|
33
41
|
//# sourceMappingURL=AlertsListItem.js.map
|
package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertsListItem.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"AlertsListItem.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,OAAO,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC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