@gooddata/sdk-ui-ext 11.56.0-alpha.0 → 11.56.0-alpha.2
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 +44 -168
- package/esm/automations/Automations.d.ts +1 -1
- package/esm/automations/Automations.d.ts.map +1 -1
- package/esm/automations/AutomationsCore.js +1 -2
- package/esm/automations/UserContext.d.ts.map +1 -1
- package/esm/automations/actions/useAutomationActions.d.ts.map +1 -1
- package/esm/automations/actions/useAutomationBulkActions.d.ts.map +1 -1
- package/esm/automations/columns/AutomationIcon.js +1 -3
- package/esm/automations/columns/AutomationIconTooltip.d.ts +1 -1
- package/esm/automations/columns/AutomationIconTooltip.d.ts.map +1 -1
- package/esm/automations/columns/AutomationIconTooltip.js +2 -8
- package/esm/automations/columns/AutomationMenu.d.ts +1 -1
- package/esm/automations/columns/AutomationMenu.d.ts.map +1 -1
- package/esm/automations/columns/AutomationMenu.js +1 -2
- package/esm/automations/columns/useAutomationColumns.d.ts.map +1 -1
- package/esm/automations/constants.d.ts +4 -4
- package/esm/automations/constants.d.ts.map +1 -1
- package/esm/automations/data/useLoadAutomations.d.ts.map +1 -1
- package/esm/automations/filters/FilterOptionsContext.d.ts.map +1 -1
- package/esm/automations/filters/useAutomationFilters.d.ts +2 -2
- package/esm/automations/filters/useAutomationFilters.d.ts.map +1 -1
- package/esm/automations/format.d.ts +4 -4
- package/esm/automations/format.d.ts.map +1 -1
- package/esm/automations/messages.d.ts.map +1 -1
- package/esm/automations/useAutomationService.d.ts.map +1 -1
- package/esm/automations/useAutomationsSmallLayout.d.ts.map +1 -1
- package/esm/automations/useAutomationsState.d.ts +1 -1
- package/esm/automations/useAutomationsState.d.ts.map +1 -1
- package/esm/automations/utils.d.ts.map +1 -1
- package/esm/dataLoaders/DataLoaderAbstractFactory.d.ts.map +1 -1
- package/esm/index.d.ts +4 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -1
- package/esm/insightPicker/InsightPickerCore.d.ts +1 -1
- package/esm/insightPicker/InsightPickerCore.d.ts.map +1 -1
- package/esm/insightPicker/InsightPickerCore.js +2 -4
- package/esm/insightPicker/InsightPickerFilterBar.d.ts +1 -1
- package/esm/insightPicker/InsightPickerFilterBar.d.ts.map +1 -1
- package/esm/insightPicker/InsightPickerFilterBar.js +1 -3
- package/esm/insightPicker/InsightPickerMenu.js +1 -2
- package/esm/insightPicker/InsightPickerRow.d.ts +1 -1
- package/esm/insightPicker/InsightPickerRow.d.ts.map +1 -1
- package/esm/insightPicker/InsightPickerRow.js +1 -2
- package/esm/insightPicker/InsightPickerSortDropdown.d.ts +1 -1
- package/esm/insightPicker/InsightPickerSortDropdown.d.ts.map +1 -1
- package/esm/insightPicker/InsightPickerSortDropdown.js +3 -8
- package/esm/insightPicker/messages.d.ts.map +1 -1
- package/esm/insightPicker/useInsightPickerHybridSearch.d.ts +1 -1
- package/esm/insightPicker/useInsightPickerHybridSearch.d.ts.map +1 -1
- package/esm/insightPicker/useInsightPickerState.d.ts.map +1 -1
- package/esm/insightView/InsightError.d.ts +1 -1
- package/esm/insightView/InsightError.d.ts.map +1 -1
- package/esm/insightView/InsightRenderer.d.ts +2 -4
- package/esm/insightView/InsightRenderer.d.ts.map +1 -1
- package/esm/insightView/InsightRenderer.js +1 -4
- package/esm/insightView/InsightView.js +1 -2
- package/esm/internal/FluidLayoutDescriptor.d.ts.map +1 -1
- package/esm/internal/components/DisabledBubbleMessage.d.ts +1 -1
- package/esm/internal/components/DisabledBubbleMessage.d.ts.map +1 -1
- package/esm/internal/components/DisabledBubbleMessage.js +1 -2
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.d.ts +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailBubble.js +2 -4
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.d.ts +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDetail/AttributeHierarchyDetailPanel.js +1 -2
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AddActionMenu.js +1 -5
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.d.ts +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialog.d.ts +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialog.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogContent.js +1 -2
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogCore.js +1 -3
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.js +2 -9
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogHeader.js +1 -3
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.d.ts +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItem.js +1 -4
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeItemActions.js +1 -2
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/DeleteAttributeHieraryConfirmation.js +1 -2
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/types.js +1 -2
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/BasemapDropdownControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/BasemapDropdownControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/CheckboxControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/CheckboxControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/CheckboxControl.js +1 -2
- package/esm/internal/components/configurationControls/ColumnHeadersPositionControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/ColumnHeadersPositionControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/ColumnHeadersPositionControl.js +1 -2
- package/esm/internal/components/configurationControls/ConfigSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/ConfigSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/ConfigSection.js +2 -6
- package/esm/internal/components/configurationControls/ConfigSubsection.d.ts +1 -1
- package/esm/internal/components/configurationControls/ConfigSubsection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/ConfigSubsection.js +2 -7
- package/esm/internal/components/configurationControls/ContinuousLineControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/ContinuousLineControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/ContinuousLineControl.js +1 -4
- package/esm/internal/components/configurationControls/DataLabelsControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/DataLabelsControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/DataLabelsControl.js +1 -2
- package/esm/internal/components/configurationControls/DataPointsControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/DataPointsControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/DistintcPointShapesControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/DistintcPointShapesControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/DistintcPointShapesControl.js +1 -4
- package/esm/internal/components/configurationControls/DropdownControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/DropdownControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/DropdownControl.js +1 -2
- package/esm/internal/components/configurationControls/GeoViewportControl.js +1 -10
- package/esm/internal/components/configurationControls/GrandTotalsControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/GrandTotalsControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/InputControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/InputControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/InputControl.js +1 -4
- package/esm/internal/components/configurationControls/MetricsPositionControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/MetricsPositionControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/MinMaxControl.js +1 -2
- package/esm/internal/components/configurationControls/OrientationDropdownControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/OrientationDropdownControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/PagingSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/PagingSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.d.ts +2 -2
- package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/PushpinShapeControl.js +1 -2
- package/esm/internal/components/configurationControls/PushpinSizeControl.js +1 -3
- package/esm/internal/components/configurationControls/RadarGridLineShapeControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/RadarGridLineShapeControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/RadarRenderAsControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/RadarRenderAsControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/TextWrappingControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/TextWrappingControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/VerticalAlignControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/VerticalAlignControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/advanced/AdvancedSection.js +1 -3
- package/esm/internal/components/configurationControls/advanced/ConfigEditor.js +2 -15
- package/esm/internal/components/configurationControls/advanced/SnippetItem.js +2 -8
- package/esm/internal/components/configurationControls/advanced/useOverflow.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomaliesSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomaliesSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomaliesSection.js +1 -5
- package/esm/internal/components/configurationControls/anomalies/AnomalyColorControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomalyColorControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomalyIndicatorControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomalyIndicatorControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomalyIndicatorControl.js +1 -3
- package/esm/internal/components/configurationControls/anomalies/AnomalySensitivityControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomalySensitivityControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomalySizeControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/anomalies/AnomalySizeControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/axis/LabelFormatControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/axis/LabelFormatControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/axis/LabelRotationControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/axis/LabelRotationControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/axis/LabelSubsection.d.ts +1 -1
- package/esm/internal/components/configurationControls/axis/LabelSubsection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/axis/LabelSubsection.js +1 -2
- package/esm/internal/components/configurationControls/axis/NamePositionControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/axis/NamePositionControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/axis/NameSubsection.d.ts +1 -1
- package/esm/internal/components/configurationControls/axis/NameSubsection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/clustering/ClusteringThresholdControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/clustering/ClusteringThresholdControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/clustering/NumberOfClustersControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/clustering/NumberOfClustersControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/ColorsSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/ColorsSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/ColorsSection.js +1 -2
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorDropdown.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorDropdown.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorDropdown.js +3 -7
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorOverlay.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorOverlay.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorOverlay.js +1 -2
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorPalette.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorPalette.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorPaletteItem.d.ts +2 -2
- package/esm/internal/components/configurationControls/colors/colorDropdown/ColorPaletteItem.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/CustomColorButton.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/CustomColorButton.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/ResetColorButton.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/colorDropdown/ResetColorButton.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItem.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItem.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItemContent.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItemContent.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItemsList.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/ColoredItemsList.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleColoredItem.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleColoredItem.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleColoredItem.js +1 -2
- package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleDialog.d.ts +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleDialog.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/colors/coloredItemsList/LineStyleDialog.js +3 -10
- package/esm/internal/components/configurationControls/comparison/ComparisonSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/ComparisonSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/ComparisonSection.js +1 -3
- package/esm/internal/components/configurationControls/comparison/calculation/CalculationControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/calculation/CalculationControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/calculation/CalculationListItem.js +1 -5
- package/esm/internal/components/configurationControls/comparison/calculation/CalculationListItemInfo.js +1 -5
- package/esm/internal/components/configurationControls/comparison/calculation/CalculationListItemInfoSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/calculation/CalculationListItemInfoSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/calculation/CalculationListItemInfoSection.js +1 -2
- package/esm/internal/components/configurationControls/comparison/indicators/IndicatorSubSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/IndicatorSubSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/IndicatorSubSection.js +1 -3
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorsControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorsControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorsControl.js +1 -5
- package/esm/internal/components/configurationControls/comparison/label/LabelSubSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/label/LabelSubSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/label/LabelSubSection.js +1 -4
- package/esm/internal/components/configurationControls/comparison/values/ComparisonPositionControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/values/ComparisonPositionControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/values/ValueSubSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/values/ValueSubSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/values/ValueSubSection.js +1 -3
- package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +1 -3
- package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatToggleButton.d.ts +1 -1
- package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatToggleButton.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/CfDateValueDropdown.d.ts +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/CfDateValueDropdown.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.d.ts +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.js +7 -20
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts +21 -8
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +12 -22
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +15 -21
- package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.d.ts +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.js +1 -3
- package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingColors.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts +12 -6
- package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.js +6 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/reorderListModel.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/useCfDateFilterOptions.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.js +1 -5
- package/esm/internal/components/configurationControls/forecast/ForecastConfidenceControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/forecast/ForecastConfidenceControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/forecast/ForecastSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/forecast/ForecastSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/forecast/ForecastSection.js +1 -4
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.js +5 -17
- package/esm/internal/components/configurationControls/legend/GeoLegendPositionControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/legend/GeoLegendPositionControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/legend/GeoLegendSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/legend/GeoLegendSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/legend/LegendPositionControl.d.ts +1 -1
- package/esm/internal/components/configurationControls/legend/LegendPositionControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/legend/LegendSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/legend/LegendSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/total/TotalSection.d.ts +1 -1
- package/esm/internal/components/configurationControls/total/TotalSection.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.js +4 -9
- package/esm/internal/components/configurationPanels/BubbleChartConfigurationPanel.js +1 -7
- package/esm/internal/components/configurationPanels/BulletChartConfigurationPanel.js +1 -6
- package/esm/internal/components/configurationPanels/FunnelChartConfigurationPanel.js +1 -3
- package/esm/internal/components/configurationPanels/GeoPushpinConfigurationPanel.js +2 -5
- package/esm/internal/components/configurationPanels/HeadlineConfigurationPanel.js +1 -4
- package/esm/internal/components/configurationPanels/HeatMapConfigurationPanel.js +1 -7
- package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js +1 -5
- package/esm/internal/components/configurationPanels/PieChartConfigurationPanel.js +1 -3
- package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.js +3 -8
- package/esm/internal/components/configurationPanels/PyramidChartConfigurationPanel.js +1 -3
- package/esm/internal/components/configurationPanels/RadarChartConfigurationPanel.js +2 -10
- package/esm/internal/components/configurationPanels/RepeaterConfigurationPanel.js +1 -5
- package/esm/internal/components/configurationPanels/SankeyChartConfigurationPanel.js +1 -3
- package/esm/internal/components/configurationPanels/ScatterPlotConfigurationPanel.js +1 -10
- package/esm/internal/components/configurationPanels/TreeMapConfigurationPanel.js +1 -3
- package/esm/internal/components/configurationPanels/WaterfallChartConfigurationPanel.js +2 -7
- package/esm/internal/components/dialogs/userManagementDialogs/ConfirmDialogs/DeleteConfirmDialog.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/ConfirmDialogs/DeleteConfirmDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/AddDataSource.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/AddDataSource.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/AddDataSource.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/AddDataSourceSelect.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/AddDataSourceSelect.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/AsyncSelectComponents.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/AsyncSelectComponents.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/DataSourceItem.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/DataSourceItem.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/DataSourceItem.js +1 -2
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/DataSourceList.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/DataSourceList.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdown.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownItem.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownItem.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownItem.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownList.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownList.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownList.js +1 -2
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/backend/loadUserDataSourceOptionsPromise.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/locales.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/useAddDataSource.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/usePermissionsDropdownState.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/DetailRow.js +1 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserDetails.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserDetails.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserGroupDetails.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/EditUserGroupDetails.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/OrganizationMemberDropdown.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/OrganizationMemberDropdown.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/OrganizationMemberDropdown.js +3 -9
- package/esm/internal/components/dialogs/userManagementDialogs/Details/UserDetailsView.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/UserDetailsView.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Details/UserDetailsView.js +3 -11
- package/esm/internal/components/dialogs/userManagementDialogs/Details/UserGroupDetailsView.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/Details/detailsHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/ErrorDialog.js +1 -5
- package/esm/internal/components/dialogs/userManagementDialogs/RemoveIcon.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/TelemetryContext.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserEditDialog.js +2 -5
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroupEditDialog.js +2 -5
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroup.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroup.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupContent.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupContent.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupContent.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupSelect.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AddUserGroupSelect.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AsyncSelectComponents.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/AsyncSelectComponents.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupItem.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupsList.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupsList.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/backend/loadUserGroupOptionsPromise.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/backend/loadUserGroupOptionsPromise.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/userGroupHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AddUser.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AddUser.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AddUserContent.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AsyncSelectComponents.d.ts +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AsyncSelectComponents.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AsyncSelectComponents.js +1 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Users/UserItem.js +3 -9
- package/esm/internal/components/dialogs/userManagementDialogs/Users/backend/loadUsersOptionsPromise.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/backend/loadUsersOptionsPromise.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Users/usersHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/ViewDialog.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/ViewDialog.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/ViewDialog.js +1 -8
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddSingleWorkspaceSelect.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddSingleWorkspaceSelect.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspaceSelect.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspaceSelect.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AsyncSelectComponents.d.ts +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AsyncSelectComponents.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissions.js +1 -6
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsItems.d.ts +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsItems.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsItems.js +2 -7
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsWorkspaceItem.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsWorkspaceItem.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsWorkspaceItem.js +1 -4
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionDropdownItem.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionDropdownItem.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionDropdownItem.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionsDropdown.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionsDropdownList.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionsDropdownList.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/HierarchicalPermissionsDropdownList.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionDropdownItem.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionDropdownItem.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionDropdownItem.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionsDropdown.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionsDropdownList.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionsDropdownList.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/PermissionsDropdownList.js +1 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/WorkspaceItem.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/WorkspaceItem.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/WorkspaceItem.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/locales.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/usePermissionsDropdownState.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/backend/loadWorkspaceOptionsPromise.d.ts +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/backend/loadWorkspaceOptionsPromise.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/useAddWorkspace.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/useAddWorkspace.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/dialogHooks.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/dialogHooks.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/hooks/usePermissions.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/locales.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/types.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/utils.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/utils.d.ts.map +1 -1
- package/esm/internal/components/insightList/useInsightPagedList.d.ts +1 -1
- package/esm/internal/components/insightList/useInsightPagedList.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/PluggableUnknownChart.d.ts +4 -6
- package/esm/internal/components/pluggableVisualizations/PluggableUnknownChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/PluggableUnknownChart.js +4 -4
- package/esm/internal/components/pluggableVisualizations/alerts.d.ts +4 -4
- package/esm/internal/components/pluggableVisualizations/alerts.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/areaChart/AreaChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/areaChart/AreaChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/barChart/BarChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/barChart/BarChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bubbleChart/BubbleChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/bubbleChart/BubbleChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bulletChart/BulletChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/bulletChart/BulletChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bulletChart/bucketHelper.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/columnChart/ColumnChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/columnChart/ColumnChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/comboChart/ComboChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/comboChart/ComboChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/dependencyWheelChart/DependencyWheelChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/dependencyWheelChart/DependencyWheelChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/donutChart/DonutChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/donutChart/DonutChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/drillDownUtil.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/drillDownUtil.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/funnelChart/FunnelChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/funnelChart/FunnelChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoAreaChart/geoAreaConfigBuilder.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/geoAreaChart/geoAreaConfigBuilder.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/GeoPushpinChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/GeoPushpinChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +1 -3
- package/esm/internal/components/pluggableVisualizations/geoChartNext/geoConfigBuilder.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChartNext/geoConfigBuilder.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoCommon/liveMapViewTracking.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/headline/HeadlineDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/headline/HeadlineDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/heatMap/HeatmapDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/heatMap/HeatmapDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/keyDriverAnalysis.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/keyDriverAnalysis.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/lineChart/LineChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/lineChart/LineChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/mekko/MekkoDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/mekko/MekkoDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/mekko/bucketHelper.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pieChart/PieChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/pieChart/PieChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/PivotTableDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/PivotTableDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/mockReferencePoint.test.helpers.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/PivotTableNextDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/PivotTableNextDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/helpers.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/totalsHelpers.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/widthItemsHelpers.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/widthItemsHelpers.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pyramidChart/PyramidChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/pyramidChart/PyramidChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/radarChart/RadarChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/radarChart/RadarChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/repeater/RepeaterDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/repeater/RepeaterDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/sankeyChart/SankeyChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/sankeyChart/SankeyChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/scatterPlot/ScatterPlotDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/scatterPlot/ScatterPlotDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/scatterPlot/bucketHelper.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/treeMap/TreemapDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/treeMap/TreemapDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/waterfallChart/WaterfallChartDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/waterfallChart/WaterfallChartDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/xirr/XirrDescriptor.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/xirr/XirrDescriptor.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/xirr/xirrBucketHelper.d.ts.map +1 -1
- package/esm/internal/components/visConstruct.test.helpers.d.ts.map +1 -1
- package/esm/internal/constants/axis.d.ts +52 -4
- package/esm/internal/constants/axis.d.ts.map +1 -1
- package/esm/internal/constants/axis.js +1 -2
- package/esm/internal/constants/bucket.d.ts.map +1 -1
- package/esm/internal/constants/geoMapStyle.d.ts +1 -1
- package/esm/internal/constants/geoMapStyle.d.ts.map +1 -1
- package/esm/internal/constants/supportedProperties.d.ts +13 -4
- package/esm/internal/constants/supportedProperties.d.ts.map +1 -1
- package/esm/internal/constants/uiConfig.d.ts.map +1 -1
- package/esm/internal/constants/uiConfig.js +8 -8
- package/esm/internal/interfaces/SortConfig.d.ts +1 -1
- package/esm/internal/interfaces/SortConfig.d.ts.map +1 -1
- package/esm/internal/interfaces/Visualization.d.ts.map +1 -1
- package/esm/internal/testDataProvider.d.ts +6 -6
- package/esm/internal/testDataProvider.d.ts.map +1 -1
- package/esm/internal/translations/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/de-DE.localization-bundle.js +3 -3
- package/esm/internal/translations/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-AU.localization-bundle.js +3 -3
- package/esm/internal/translations/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-GB.localization-bundle.js +3 -3
- package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-US.localization-bundle.js +3 -3
- package/esm/internal/translations/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/es-419.localization-bundle.js +3 -3
- package/esm/internal/translations/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/es-ES.localization-bundle.js +3 -3
- package/esm/internal/translations/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fi-FI.localization-bundle.js +3 -3
- package/esm/internal/translations/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fr-CA.localization-bundle.js +3 -3
- package/esm/internal/translations/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fr-FR.localization-bundle.js +3 -3
- package/esm/internal/translations/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/id-ID.localization-bundle.js +3 -3
- package/esm/internal/translations/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/it-IT.localization-bundle.js +3 -3
- package/esm/internal/translations/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ja-JP.localization-bundle.js +3 -3
- package/esm/internal/translations/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ko-KR.localization-bundle.js +3 -3
- package/esm/internal/translations/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/nl-NL.localization-bundle.js +3 -3
- package/esm/internal/translations/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pl-PL.localization-bundle.js +3 -3
- package/esm/internal/translations/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pt-BR.localization-bundle.js +3 -3
- package/esm/internal/translations/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pt-PT.localization-bundle.js +3 -3
- package/esm/internal/translations/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ru-RU.localization-bundle.js +3 -3
- package/esm/internal/translations/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/sl-SI.localization-bundle.js +3 -3
- package/esm/internal/translations/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/th-TH.localization-bundle.js +3 -3
- package/esm/internal/translations/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/tr-TR.localization-bundle.js +4 -4
- package/esm/internal/translations/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/uk-UA.localization-bundle.js +3 -3
- package/esm/internal/translations/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/vi-VN.localization-bundle.js +3 -3
- package/esm/internal/translations/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-HK.localization-bundle.js +5 -5
- package/esm/internal/translations/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-Hans.localization-bundle.js +3 -3
- package/esm/internal/translations/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-Hant.localization-bundle.js +4 -4
- package/esm/internal/utils/bucketHelper.d.ts.map +1 -1
- package/esm/internal/utils/comparisonHelper.d.ts +2 -2
- package/esm/internal/utils/comparisonHelper.d.ts.map +1 -1
- package/esm/internal/utils/controlsHelper.d.ts +5 -1
- package/esm/internal/utils/controlsHelper.d.ts.map +1 -1
- package/esm/internal/utils/drillablePredicates.d.ts +1 -1
- package/esm/internal/utils/drillablePredicates.d.ts.map +1 -1
- package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.d.ts +1 -1
- package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.d.ts.map +1 -1
- package/esm/internal/utils/embeddingCodeGenerator/getWebComponentsCodeGenerator.d.ts.map +1 -1
- package/esm/internal/utils/embeddingCodeGenerator/insightToPropsConverter/convenience.d.ts.map +1 -1
- package/esm/internal/utils/embeddingInsightViewCodeGenerator/insightViewCodeGenerator.d.ts +2 -2
- package/esm/internal/utils/embeddingInsightViewCodeGenerator/insightViewCodeGenerator.d.ts.map +1 -1
- package/esm/internal/utils/internalIntlProvider.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigMocks.test.helpers.d.ts.map +1 -1
- package/esm/locales.d.ts.map +1 -1
- package/esm/notificationsPanel/Notification/DefaultNotification.d.ts +1 -1
- package/esm/notificationsPanel/Notification/DefaultNotification.d.ts.map +1 -1
- package/esm/notificationsPanel/Notification/Notification.d.ts +1 -1
- package/esm/notificationsPanel/Notification/Notification.d.ts.map +1 -1
- package/esm/notificationsPanel/Notification/Notification.js +7 -21
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.js +1 -3
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.js +1 -2
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.d.ts +1 -1
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.d.ts.map +1 -1
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.js +1 -6
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.d.ts +1 -1
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.d.ts.map +1 -1
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.d.ts +1 -1
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.d.ts.map +1 -1
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.d.ts +1 -1
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.d.ts.map +1 -1
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js +2 -4
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.d.ts +1 -1
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.d.ts.map +1 -1
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.js +1 -2
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.d.ts +1 -1
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.d.ts.map +1 -1
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.js +1 -3
- package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.js +1 -2
- package/esm/notificationsPanel/bem.d.ts +2 -2
- package/esm/notificationsPanel/bem.d.ts.map +1 -1
- package/esm/notificationsPanel/components/DetailsDialog.js +1 -5
- package/esm/notificationsPanel/components/Popup.d.ts +1 -1
- package/esm/notificationsPanel/components/Popup.d.ts.map +1 -1
- package/esm/notificationsPanel/components/Tooltip.js +1 -2
- package/esm/notificationsPanel/data/NotificationsContext.d.ts +1 -1
- package/esm/notificationsPanel/data/NotificationsContext.d.ts.map +1 -1
- package/esm/notificationsPanel/data/useFetchNotifications.d.ts +1 -1
- package/esm/notificationsPanel/data/useFetchNotifications.d.ts.map +1 -1
- package/esm/notificationsPanel/data/useNotifications.d.ts +1 -1
- package/esm/notificationsPanel/data/useNotifications.d.ts.map +1 -1
- package/esm/sdk-ui-ext.d.ts +141 -27
- package/esm/share/ObjectShareDialog.js +4 -6
- package/esm/share/accessSummary.d.ts +36 -3
- package/esm/share/accessSummary.d.ts.map +1 -1
- package/esm/share/accessSummary.js +53 -3
- package/esm/share/messages.d.ts.map +1 -1
- package/esm/share/objectShareController.helpers.d.ts +15 -1
- package/esm/share/objectShareController.helpers.d.ts.map +1 -1
- package/esm/share/objectShareController.helpers.js +22 -1
- package/esm/share/objectShareController.types.d.ts +3 -0
- package/esm/share/objectShareController.types.d.ts.map +1 -1
- package/esm/share/types.d.ts +3 -0
- package/esm/share/types.d.ts.map +1 -1
- package/esm/share/useAccessList.d.ts.map +1 -1
- package/esm/share/useAccessList.js +9 -6
- package/esm/share/useLabelScope.d.ts.map +1 -1
- package/esm/share/useObjectAccessLevel.d.ts +40 -0
- package/esm/share/useObjectAccessLevel.d.ts.map +1 -0
- package/esm/share/useObjectAccessLevel.js +49 -0
- package/esm/share/useObjectShareController.js +5 -6
- package/esm/share/useObjectShareDialog.d.ts +1 -1
- package/esm/share/useObjectShareDialog.d.ts.map +1 -1
- package/package.json +24 -24
- package/styles/css/main.css.map +1 -1
- package/styles/internal/css/charts.css +1 -1
- package/styles/internal/css/charts.css.map +1 -1
- package/styles/internal/css/repeater.css +5 -5
|
@@ -2,6 +2,20 @@ import { type ISemanticConditionalFormatting, type ISeparators } from "@gooddata
|
|
|
2
2
|
import { type IDateFilterOptionsByType } from "@gooddata/sdk-ui-filters";
|
|
3
3
|
import { type ConditionalFormattingTarget, type IConditionalFormattingRule } from "@gooddata/sdk-ui-pivot/next";
|
|
4
4
|
import { type ICfDateSettings, type ITargetOption } from "./conditionalFormattingModel.js";
|
|
5
|
+
/**
|
|
6
|
+
* What the dialog's Save button decided: revert this target to its semantic default, or persist an
|
|
7
|
+
* authored rule.
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export type ConditionalFormattingDialogSubmitIntent = {
|
|
12
|
+
mode: "inherited";
|
|
13
|
+
target: ConditionalFormattingTarget;
|
|
14
|
+
ruleId: string;
|
|
15
|
+
} | {
|
|
16
|
+
mode: "custom";
|
|
17
|
+
rule: IConditionalFormattingRule;
|
|
18
|
+
};
|
|
5
19
|
/**
|
|
6
20
|
* @internal
|
|
7
21
|
*/
|
|
@@ -29,18 +43,17 @@ export interface IConditionalFormattingDialogProps {
|
|
|
29
43
|
/** Deletes THIS specific authored rule (wired only when one exists) — the trash button. */
|
|
30
44
|
onDelete?: () => void;
|
|
31
45
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
46
|
+
* Called when the user confirms Save — either `"inherited"` (revert to the semantic default:
|
|
47
|
+
* clears every authored rule for `target`, since a target can have several stacked custom rules,
|
|
48
|
+
* not just this one, plus this rule's own original id, since a non-fixedTarget dialog lets the
|
|
49
|
+
* user retarget before saving) or `"custom"` (persist the authored rule as-is). The dialog closes
|
|
50
|
+
* itself immediately after calling this — callers must not also close it.
|
|
37
51
|
*/
|
|
38
|
-
|
|
39
|
-
onSave: (rule: IConditionalFormattingRule) => void;
|
|
52
|
+
onSubmit: (intent: ConditionalFormattingDialogSubmitIntent) => void;
|
|
40
53
|
onClose: () => void;
|
|
41
54
|
}
|
|
42
55
|
/**
|
|
43
56
|
* @internal
|
|
44
57
|
*/
|
|
45
|
-
export declare function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOptions, separators, dateFilterOptions, dateSettings, alignTo, fixedTarget, semanticByTarget, onDelete,
|
|
58
|
+
export declare function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOptions, separators, dateFilterOptions, dateSettings, alignTo, fixedTarget, semanticByTarget, onDelete, onSubmit, onClose, }: IConditionalFormattingDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
46
59
|
//# sourceMappingURL=ConditionalFormattingDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionalFormattingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,8BAA8B,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,OAAO,EACH,KAAK,2BAA2B,EAEhC,KAAK,0BAA0B,EAClC,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,aAAa,EASrB,MAAM,iCAAiC,CAAC;AAiCzC;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C,IAAI,EAAE,0BAA0B,CAAC;IACjC,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,uFAAuF;IACvF,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,mGAAmG;IACnG,iBAAiB,CAAC,EAAE,wBAAwB,CAAC;IAC7C,uFAAuF;IACvF,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC;IAChB,mGAAmG;IACnG,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC;IAClE,
|
|
1
|
+
{"version":3,"file":"ConditionalFormattingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,8BAA8B,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,OAAO,EACH,KAAK,2BAA2B,EAEhC,KAAK,0BAA0B,EAClC,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,aAAa,EASrB,MAAM,iCAAiC,CAAC;AAiCzC;;;;;GAKG;AACH,MAAM,MAAM,uCAAuC,GAC7C;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,2BAA2B,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAC1E;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,0BAA0B,CAAA;CAAE,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C,IAAI,EAAE,0BAA0B,CAAC;IACjC,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,uFAAuF;IACvF,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,mGAAmG;IACnG,iBAAiB,CAAC,EAAE,wBAAwB,CAAC;IAC7C,uFAAuF;IACvF,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC;IAChB,mGAAmG;IACnG,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC;IAClE,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;;;;OAMG;IACH,QAAQ,EAAE,CAAC,MAAM,EAAE,uCAAuC,KAAK,IAAI,CAAC;IACpE,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,EACxC,IAAI,EAAE,WAAW,EACjB,KAAK,EACL,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,WAAmB,EACnB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,OAAO,GACV,EAAE,iCAAiC,2CA2SnC"}
|
|
@@ -28,7 +28,7 @@ function InfoTooltip({ text }) {
|
|
|
28
28
|
/**
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
|
-
export function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOptions, separators, dateFilterOptions, dateSettings, alignTo, fixedTarget = false, semanticByTarget, onDelete,
|
|
31
|
+
export function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOptions, separators, dateFilterOptions, dateSettings, alignTo, fixedTarget = false, semanticByTarget, onDelete, onSubmit, onClose, }) {
|
|
32
32
|
const intl = useIntl();
|
|
33
33
|
const initial = sanitizeRuleForEditing(initialRule, isDateTarget(findTargetOption(targetOptions, initialRule.target)));
|
|
34
34
|
const [rule, setRule] = useState(initial);
|
|
@@ -127,20 +127,13 @@ export function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOp
|
|
|
127
127
|
// affordance for at all — everywhere else (a semantic-fallback view, or an existing authored
|
|
128
128
|
// rule) shows one, disabled per `deleteDisabled` above when there's genuinely nothing to delete.
|
|
129
129
|
const showDelete = fixedTarget || !isNew;
|
|
130
|
-
return (_jsx(Overlay, { alignTo: alignTo, alignPoints: POPOVER_ALIGN_POINTS, closeOnParentScroll: true, closeOnMouseDrag: true, onClose: onClose, children: _jsxs("div", { className: "gd-cf-dialog", "aria-label": title, children: [
|
|
131
|
-
_jsxs("div", { className: "gd-cf-dialog__header", children: [
|
|
132
|
-
_jsx("h3", { className: "gd-cf-dialog__title", children: title }), _jsx(Button, { className: "gd-button-link gd-button-icon-only gd-icon-cross", accessibilityConfig: {
|
|
130
|
+
return (_jsx(Overlay, { alignTo: alignTo, alignPoints: POPOVER_ALIGN_POINTS, closeOnParentScroll: true, closeOnMouseDrag: true, onClose: onClose, children: _jsxs("div", { className: "gd-cf-dialog", "aria-label": title, children: [_jsxs("div", { className: "gd-cf-dialog__header", children: [_jsx("h3", { className: "gd-cf-dialog__title", children: title }), _jsx(Button, { className: "gd-button-link gd-button-icon-only gd-icon-cross", accessibilityConfig: {
|
|
133
131
|
ariaLabel: intl.formatMessage(conditionalFormattingMessages.dialogCancel),
|
|
134
|
-
}, onClick: onClose })
|
|
135
|
-
] }), _jsxs("div", { className: "gd-cf-dialog__body", children: [
|
|
136
|
-
_jsx("span", { className: "gd-cf-dialog__label", children: intl.formatMessage(conditionalFormattingMessages.dialogTarget) }), singleTarget ? (_jsxs("div", { className: "gd-cf-dialog__static-target", children: [
|
|
137
|
-
_jsx("span", { className: cx("gd-cf-type-icon", targetIcon(singleTarget.target.kind, isDateTarget(singleTarget))), "aria-hidden": "true" }), _jsx("span", { className: "gd-cf-dialog__static-target-title", children: singleTarget.title })
|
|
138
|
-
] })) : (_jsx("fieldset", { className: "gd-cf-dialog__target-picker", disabled: locked, children: _jsx(CfSelect, { value: selectedTarget?.value, items: targetOptions.map((option) => ({
|
|
132
|
+
}, onClick: onClose })] }), _jsxs("div", { className: "gd-cf-dialog__body", children: [_jsx("span", { className: "gd-cf-dialog__label", children: intl.formatMessage(conditionalFormattingMessages.dialogTarget) }), singleTarget ? (_jsxs("div", { className: "gd-cf-dialog__static-target", children: [_jsx("span", { className: cx("gd-cf-type-icon", targetIcon(singleTarget.target.kind, isDateTarget(singleTarget))), "aria-hidden": "true" }), _jsx("span", { className: "gd-cf-dialog__static-target-title", children: singleTarget.title })] })) : (_jsx("fieldset", { className: "gd-cf-dialog__target-picker", disabled: locked, children: _jsx(CfSelect, { value: selectedTarget?.value, items: targetOptions.map((option) => ({
|
|
139
133
|
value: option.value,
|
|
140
134
|
title: option.title,
|
|
141
135
|
icon: targetIcon(option.target.kind, isDateTarget(option)),
|
|
142
|
-
})), onSelect: changeTarget, placeholder: intl.formatMessage(conditionalFormattingMessages.dialogSelectTarget) }) })), activeSemantic ? (_jsxs("div", { className: "gd-cf-dialog__use-default", children: [
|
|
143
|
-
_jsx(UiCheckbox, { checked: usingDefault, onChange: (e) => {
|
|
136
|
+
})), onSelect: changeTarget, placeholder: intl.formatMessage(conditionalFormattingMessages.dialogSelectTarget) }) })), activeSemantic ? (_jsxs("div", { className: "gd-cf-dialog__use-default", children: [_jsx(UiCheckbox, { checked: usingDefault, onChange: (e) => {
|
|
144
137
|
const nextUseDefault = e.target.checked;
|
|
145
138
|
// Reseed from the live semantic value exactly at the moment of
|
|
146
139
|
// unchecking — but only while the draft is still just a mirror of
|
|
@@ -157,11 +150,9 @@ export function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOp
|
|
|
157
150
|
setRule((current) => sanitizeRuleForEditing({ ...current, conditions: activeSemantic.conditions }, isDateTarget(selectedTarget)));
|
|
158
151
|
}
|
|
159
152
|
setWantsDefault(nextUseDefault);
|
|
160
|
-
}, label: intl.formatMessage(conditionalFormattingMessages.dialogUseDefaultRule) }), _jsx(InfoTooltip, { text: intl.formatMessage(conditionalFormattingMessages.dialogUseDefaultRuleInfo) })
|
|
161
|
-
] })) : null, _jsxs("fieldset", { disabled: locked, className: cx("gd-cf-dialog__editable", {
|
|
153
|
+
}, label: intl.formatMessage(conditionalFormattingMessages.dialogUseDefaultRule) }), _jsx(InfoTooltip, { text: intl.formatMessage(conditionalFormattingMessages.dialogUseDefaultRuleInfo) })] })) : null, _jsxs("fieldset", { disabled: locked, className: cx("gd-cf-dialog__editable", {
|
|
162
154
|
"gd-cf-dialog__editable--readonly": locked,
|
|
163
|
-
}), children: [_jsx(ReorderList, { items: displayRule.conditions, getKey: (condition) => condition.id, onReorder: reorderConditions, disabled: locked, renderItem: (condition, slot) => (_jsx(ConditionEditor, { condition: condition, kind: rule.target.kind, isPercent: isPercent, separators: separators, suggestions: suggestions, date: selectedTarget?.date, dateFilterOptions: dateFilterOptions, dateSettings: dateSettings, removable: displayRule.conditions.length > 1, slot: slot, readOnly: locked, onChange: (next) => updateCondition(condition.id, next), onRemove: () => removeCondition(condition.id) })) }), locked ? null : (_jsx(Button, { className: "gd-button-secondary gd-cf-dialog__add-condition", iconLeft: "gd-icon-plus", value: intl.formatMessage(conditionalFormattingMessages.dialogAddCondition), onClick: addCondition }))] })
|
|
164
|
-
] }), _jsxs("div", { className: "gd-cf-dialog__footer", children: [showDelete ? (_jsx(DisabledBubbleMessage, { className: "gd-cf-dialog__delete", showDisabledMessage: deleteDisabled, messageId: conditionalFormattingMessages.dialogRuleCannotBeDeleted.id, children: _jsx(UiIconButton, { icon: "trash", size: "small", variant: "tertiary", isDesctructive: true, isDisabled: deleteDisabled, label: intl.formatMessage(conditionalFormattingMessages.ruleDelete), onClick: () => {
|
|
155
|
+
}), children: [_jsx(ReorderList, { items: displayRule.conditions, getKey: (condition) => condition.id, onReorder: reorderConditions, disabled: locked, renderItem: (condition, slot) => (_jsx(ConditionEditor, { condition: condition, kind: rule.target.kind, isPercent: isPercent, separators: separators, suggestions: suggestions, date: selectedTarget?.date, dateFilterOptions: dateFilterOptions, dateSettings: dateSettings, removable: displayRule.conditions.length > 1, slot: slot, readOnly: locked, onChange: (next) => updateCondition(condition.id, next), onRemove: () => removeCondition(condition.id) })) }), locked ? null : (_jsx(Button, { className: "gd-button-secondary gd-cf-dialog__add-condition", iconLeft: "gd-icon-plus", value: intl.formatMessage(conditionalFormattingMessages.dialogAddCondition), onClick: addCondition }))] })] }), _jsxs("div", { className: "gd-cf-dialog__footer", children: [showDelete ? (_jsx(DisabledBubbleMessage, { className: "gd-cf-dialog__delete", showDisabledMessage: deleteDisabled, messageId: conditionalFormattingMessages.dialogRuleCannotBeDeleted.id, children: _jsx(UiIconButton, { icon: "trash", size: "small", variant: "tertiary", isDesctructive: true, isDisabled: deleteDisabled, label: intl.formatMessage(conditionalFormattingMessages.ruleDelete), onClick: () => {
|
|
165
156
|
onDelete?.();
|
|
166
157
|
onClose();
|
|
167
158
|
} }) })) : null, _jsx(Button, { className: "gd-button-secondary", value: intl.formatMessage(conditionalFormattingMessages.dialogCancel), onClick: onClose }), _jsx(Button, { className: "gd-button-action", value: intl.formatMessage(conditionalFormattingMessages.dialogSave), disabled: usingDefault ? false : !complete || !isDirty, onClick: () => {
|
|
@@ -171,12 +162,12 @@ export function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOp
|
|
|
171
162
|
// together because a retarget-then-revert (no fixedTarget) means
|
|
172
163
|
// the rule being edited may still sit under its OLD target in
|
|
173
164
|
// `rules`, not yet the one now selected in this draft. Gated on
|
|
174
|
-
// `isNew` alone, deliberately NOT on `deleteDisabled` —
|
|
175
|
-
//
|
|
165
|
+
// `isNew` alone, deliberately NOT on `deleteDisabled` — the revert
|
|
166
|
+
// intent and the delete button are independent, and tying revert
|
|
176
167
|
// eligibility to whether a delete callback happens to be provided
|
|
177
168
|
// would silently skip a valid revert for a caller that only wired one.
|
|
178
169
|
if (!isNew) {
|
|
179
|
-
|
|
170
|
+
onSubmit({ mode: "inherited", target: rule.target, ruleId: rule.id });
|
|
180
171
|
}
|
|
181
172
|
onClose();
|
|
182
173
|
return;
|
|
@@ -184,8 +175,7 @@ export function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOp
|
|
|
184
175
|
// A dialog opened straight from a semantic row (`semanticRuleFor`) still
|
|
185
176
|
// carries that display-only synthetic id — give it a real one the instant
|
|
186
177
|
// it's actually persisted, exactly like every other freshly authored rule.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
] }) }));
|
|
178
|
+
onSubmit({ mode: "custom", rule: isNew ? { ...rule, id: uuid() } : rule });
|
|
179
|
+
onClose();
|
|
180
|
+
} })] })] }) }));
|
|
191
181
|
}
|
|
@@ -33,5 +33,5 @@ export interface IConditionalFormattingSectionProps {
|
|
|
33
33
|
*/
|
|
34
34
|
enableSemanticConditionalFormatting?: boolean;
|
|
35
35
|
}
|
|
36
|
-
export declare function ConditionalFormattingSection({ properties, propertiesMeta, insight, targetData, backend, workspace, dateSettings, separators, isLoading, pushData, enableConditionalFormatting, enableSemanticConditionalFormatting }: IConditionalFormattingSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare function ConditionalFormattingSection({ properties, propertiesMeta, insight, targetData, backend, workspace, dateSettings, separators, isLoading, pushData, enableConditionalFormatting, enableSemanticConditionalFormatting, }: IConditionalFormattingSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
//# sourceMappingURL=ConditionalFormattingSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionalFormattingSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EACH,KAAK,kBAAkB,EAEvB,KAAK,WAAW,
|
|
1
|
+
{"version":3,"file":"ConditionalFormattingSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EACH,KAAK,kBAAkB,EAEvB,KAAK,WAAW,EAEnB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAIrF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,aAAa,EAcrB,MAAM,iCAAiC,CAAC;AAYzC,MAAM,WAAW,kCAAkC;IAC/C,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,yFAAyF;IACzF,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;;;;;;OAQG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC;;;;;;OAMG;IACH,mCAAmC,CAAC,EAAE,OAAO,CAAC;CACjD;AAkJD,wBAAgB,4BAA4B,CAAC,EACzC,UAAU,EACV,cAAc,EACd,OAAO,EACP,UAAU,EACV,OAAO,EACP,SAAS,EACT,YAAY,EACZ,UAAU,EACV,SAAS,EACT,QAAQ,EACR,2BAAkC,EAClC,mCAA2C,GAC9C,EAAE,kCAAkC,2CA6SpC"}
|
|
@@ -4,6 +4,7 @@ import { useState } from "react";
|
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { cloneDeep, set } from "lodash-es";
|
|
6
6
|
import { useIntl } from "react-intl";
|
|
7
|
+
import { isSemanticConditionalFormattingEnabled, } from "@gooddata/sdk-model";
|
|
7
8
|
import { Button, UiIconButton } from "@gooddata/sdk-ui-kit";
|
|
8
9
|
import { conditionalFormattingMessages } from "../../../../locales.js";
|
|
9
10
|
import { ConfigSection } from "../ConfigSection.js";
|
|
@@ -14,9 +15,7 @@ import { useCfDateFilterOptions } from "./useCfDateFilterOptions.js";
|
|
|
14
15
|
const SECTION_ID = "conditionalFormatting_section";
|
|
15
16
|
// Array order = evaluation order (first-match-wins).
|
|
16
17
|
function RuleChip({ rule, option, invalid, editable, labels, slot, onEdit, onDelete }) {
|
|
17
|
-
return (_jsxs("div", { className: cx("gd-cf-rule", slot.className), ...slot.rootProps, children: [slot.handle, _jsxs("button", { type: "button", className: "gd-cf-rule__body", onClick: onEdit, title: labels.edit, disabled: !editable, children: [
|
|
18
|
-
_jsx("span", { className: `gd-cf-type-icon ${targetIcon(rule.target.kind, isDateTarget(option))}`, "aria-hidden": "true" }), _jsx("span", { className: "gd-cf-rule__title", children: option ? option.title : targetLocalId(rule.target) }), invalid ? (_jsx("span", { className: "gd-cf-rule__invalid", children: option ? labels.invalidValue : labels.invalid })) : null] }), _jsx("span", { className: "gd-cf-rule__delete", children: _jsx(UiIconButton, { icon: "trash", size: "small", variant: "tertiary", isDesctructive: true, label: labels.delete, onClick: onDelete }) })
|
|
19
|
-
] }));
|
|
18
|
+
return (_jsxs("div", { className: cx("gd-cf-rule", slot.className), ...slot.rootProps, children: [slot.handle, _jsxs("button", { type: "button", className: "gd-cf-rule__body", onClick: onEdit, title: labels.edit, disabled: !editable, children: [_jsx("span", { className: `gd-cf-type-icon ${targetIcon(rule.target.kind, isDateTarget(option))}`, "aria-hidden": "true" }), _jsx("span", { className: "gd-cf-rule__title", children: option ? option.title : targetLocalId(rule.target) }), invalid ? (_jsx("span", { className: "gd-cf-rule__invalid", children: option ? labels.invalidValue : labels.invalid })) : null] }), _jsx("span", { className: "gd-cf-rule__delete", children: _jsx(UiIconButton, { icon: "trash", size: "small", variant: "tertiary", isDesctructive: true, label: labels.delete, onClick: onDelete }) })] }));
|
|
20
19
|
}
|
|
21
20
|
// A held-open semantic dialog is a snapshot from when "View" was clicked — re-derive it against the
|
|
22
21
|
// current semantic payload every render so it tracks edits, and disappears (rather than showing stale
|
|
@@ -58,10 +57,7 @@ function dialogKey(dialog) {
|
|
|
58
57
|
// "Use default rule" checkbox that switches it to Custom. The row itself only ever offers the
|
|
59
58
|
// on/off toggle (`suppressedTargets` suppression) and, while on, a way to open that dialog.
|
|
60
59
|
function SemanticRuleRow({ option, editLabel, toggleAriaLabel, off, onToggleOff, onEdit, }) {
|
|
61
|
-
return (_jsxs("div", { className: cx("gd-cf-rule", "gd-cf-rule--semantic", { "gd-cf-rule--off": off }), children: [
|
|
62
|
-
_jsxs("label", { className: "input-checkbox-toggle s-checkbox-toggle-label gd-cf-rule__toggle", children: [
|
|
63
|
-
_jsx("input", { "aria-label": toggleAriaLabel, type: "checkbox", checked: !off, onChange: (e) => onToggleOff(!e.target.checked), className: `s-checkbox-toggle ${off ? "s-disabled" : "s-enabled"}` }), _jsx("span", { className: "input-label-text" })
|
|
64
|
-
] }), _jsx("span", { className: `gd-cf-type-icon ${targetIcon(option.target.kind, isDateTarget(option))}`, "aria-hidden": "true" }), _jsx("span", { className: "gd-cf-rule__title", children: option.title }), off ? null : (_jsx(Button, { className: "gd-button-link gd-cf-rule__view", value: editLabel, onClick: onEdit }))] }));
|
|
60
|
+
return (_jsxs("div", { className: cx("gd-cf-rule", "gd-cf-rule--semantic", { "gd-cf-rule--off": off }), children: [_jsxs("label", { className: "input-checkbox-toggle s-checkbox-toggle-label gd-cf-rule__toggle", children: [_jsx("input", { "aria-label": toggleAriaLabel, type: "checkbox", checked: !off, onChange: (e) => onToggleOff(!e.target.checked), className: `s-checkbox-toggle ${off ? "s-disabled" : "s-enabled"}` }), _jsx("span", { className: "input-label-text" })] }), _jsx("span", { className: `gd-cf-type-icon ${targetIcon(option.target.kind, isDateTarget(option))}`, "aria-hidden": "true" }), _jsx("span", { className: "gd-cf-rule__title", children: option.title }), off ? null : (_jsx(Button, { className: "gd-button-link gd-cf-rule__view", value: editLabel, onClick: onEdit }))] }));
|
|
65
61
|
}
|
|
66
62
|
export function ConditionalFormattingSection({ properties, propertiesMeta, insight, targetData, backend, workspace, dateSettings, separators, isLoading, pushData, enableConditionalFormatting = true, enableSemanticConditionalFormatting = false, }) {
|
|
67
63
|
const intl = useIntl();
|
|
@@ -73,6 +69,9 @@ export function ConditionalFormattingSection({ properties, propertiesMeta, insig
|
|
|
73
69
|
// Only date pickers consume the catalog — skip the backend query when no target is date-eligible.
|
|
74
70
|
const dateFilterOptions = useCfDateFilterOptions(backend, workspace, targetOptions.some(isDateTarget));
|
|
75
71
|
const semanticMap = targetData?.semantic ?? {};
|
|
72
|
+
// A catalog rule toggled off is not a live default (same as materializeSemanticRules in sdk-ui-pivot).
|
|
73
|
+
// The raw semanticMap stays in use for suppression pruning, where a disabled rule is not a deleted one.
|
|
74
|
+
const activeSemanticMap = Object.fromEntries(Object.entries(semanticMap).filter(([, semantic]) => isSemanticConditionalFormattingEnabled(semantic)));
|
|
76
75
|
// Targets with a semantic-layer rule, minus any that have their own authored rule (those render
|
|
77
76
|
// as a RuleChip above instead). A `suppressedTargets`-suppressed target still renders here (tagged
|
|
78
77
|
// `off`) — it needs a row to turn back on. NOT gated on the toggle above: the engine's `enabled`
|
|
@@ -86,7 +85,7 @@ export function ConditionalFormattingSection({ properties, propertiesMeta, insig
|
|
|
86
85
|
// ones while the map is confirmed stale, rather than only guarding the persistence side.
|
|
87
86
|
const semanticRows = enableSemanticConditionalFormatting && targetData?.semanticFresh !== false
|
|
88
87
|
? targetOptions.flatMap((option) => {
|
|
89
|
-
const rule =
|
|
88
|
+
const rule = activeSemanticMap[targetLocalId(option.target)];
|
|
90
89
|
const value = targetToValue(option.target);
|
|
91
90
|
// When insight-level CF is off, the engine never sees `rules` at all (the renderer
|
|
92
91
|
// passes it `undefined`) — every target resolves as Inherited regardless of what's
|
|
@@ -101,7 +100,7 @@ export function ConditionalFormattingSection({ properties, propertiesMeta, insig
|
|
|
101
100
|
return [{ option, semantic: rule, off: isSuppressedTarget(config, option.target) }];
|
|
102
101
|
})
|
|
103
102
|
: [];
|
|
104
|
-
const activeDialog = resolveActiveDialog(dialog,
|
|
103
|
+
const activeDialog = resolveActiveDialog(dialog, activeSemanticMap, config, targetOptions);
|
|
105
104
|
// `resolveActiveDialog` only hides an invalidated semantic dialog from render — without also
|
|
106
105
|
// clearing the underlying state here, a later data view that happens to carry a rule for the same
|
|
107
106
|
// (possibly stale) target would silently reopen it, with no new View click.
|
|
@@ -154,6 +153,8 @@ export function ConditionalFormattingSection({ properties, propertiesMeta, insig
|
|
|
154
153
|
// Turn a still-Inherited target off (Custom-with-zero-rules, per the engine's suppression
|
|
155
154
|
// convention) or back on — never touches `rules`, only `suppressedTargets` membership.
|
|
156
155
|
const setSuppressed = (target, suppressed) => setTargetMode(target, suppressed ? "off" : "inherited");
|
|
156
|
+
// Doesn't close the dialog itself — `ConditionalFormattingDialog` closes itself right after
|
|
157
|
+
// calling `onSubmit`, for every branch, so no caller needs to duplicate that.
|
|
157
158
|
const saveRule = (rule, isNew) => {
|
|
158
159
|
const rulesNext = isNew
|
|
159
160
|
? [...rules, rule]
|
|
@@ -161,7 +162,6 @@ export function ConditionalFormattingSection({ properties, propertiesMeta, insig
|
|
|
161
162
|
// Enable on save for a freshly authored rule so it takes effect without a second click; when
|
|
162
163
|
// editing an existing rule, preserve the current toggle (don't silently re-enable).
|
|
163
164
|
commit(rulesNext, isNew ? true : enabled);
|
|
164
|
-
setDialog(null);
|
|
165
165
|
};
|
|
166
166
|
// Also strips the deleted rule's target from `suppressedTargets`, in case it's stale-listed there
|
|
167
167
|
// too (e.g. externally-authored data, or a target once suppressed then later given its own
|
|
@@ -202,24 +202,18 @@ export function ConditionalFormattingSection({ properties, propertiesMeta, insig
|
|
|
202
202
|
// decides whether to render a disabled delete affordance for the "nothing authored yet" case,
|
|
203
203
|
// not a no-op we hand it.
|
|
204
204
|
const hasAuthoredRule = activeDialog ? rules.some((rule) => rule.id === activeDialog.rule.id) : false;
|
|
205
|
-
return (_jsxs(ConfigSection, { id: SECTION_ID, className: "gd-cf-section", title: conditionalFormattingMessages.sectionTitle.id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, canBeToggled: enableConditionalFormatting, toggledOn: enabled, toggleDisabled: isLoading, onToggle: (checked) => commit(rules, checked), children: [
|
|
206
|
-
_jsx("span", { className: "s-cf-popover-anchor gd-cf-section__anchor" }), enableConditionalFormatting ? (_jsxs(_Fragment, { children: [
|
|
207
|
-
_jsxs("div", { className: "gd-cf-section__subcategory", children: [
|
|
208
|
-
_jsx("span", { className: "gd-cf-section__rules-label", children: intl.formatMessage(conditionalFormattingMessages.rulesLabel) }), _jsx("span", { className: "gd-cf-section__divider" }), _jsx(Button, { className: "gd-button-link gd-cf-section__add", iconLeft: "gd-icon-plus", value: intl.formatMessage(conditionalFormattingMessages.addRule), disabled: !canAddRule, onClick: () => setDialog({ kind: "custom", rule: newRule(targetOptions[0]), isNew: true }) })
|
|
209
|
-
] }), rules.length === 0 ? (
|
|
205
|
+
return (_jsxs(ConfigSection, { id: SECTION_ID, className: "gd-cf-section", title: conditionalFormattingMessages.sectionTitle.id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, canBeToggled: enableConditionalFormatting, toggledOn: enabled, toggleDisabled: isLoading, onToggle: (checked) => commit(rules, checked), children: [_jsx("span", { className: "s-cf-popover-anchor gd-cf-section__anchor" }), enableConditionalFormatting ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "gd-cf-section__subcategory", children: [_jsx("span", { className: "gd-cf-section__rules-label", children: intl.formatMessage(conditionalFormattingMessages.rulesLabel) }), _jsx("span", { className: "gd-cf-section__divider" }), _jsx(Button, { className: "gd-button-link gd-cf-section__add", iconLeft: "gd-icon-plus", value: intl.formatMessage(conditionalFormattingMessages.addRule), disabled: !canAddRule, onClick: () => setDialog({ kind: "custom", rule: newRule(targetOptions[0]), isNew: true }) })] }), rules.length === 0 ? (
|
|
210
206
|
// The empty-state hint would contradict an inherited row rendered just below it.
|
|
211
207
|
semanticRows.length === 0 ? (_jsx("div", { className: "gd-cf-section__empty", children: intl.formatMessage(conditionalFormattingMessages.empty) })) : null) : (_jsx("div", { className: "gd-cf-section__rules", children: _jsx(ReorderList, { items: rules, getKey: (rule) => rule.id, onReorder: (next) => commit(next, enabled), renderItem: (rule, slot) => {
|
|
212
208
|
const option = findTargetOption(targetOptions, rule.target);
|
|
213
209
|
// A missing target flags immediately; value validation waits for date metadata.
|
|
214
210
|
const invalid = !option || (targetDataReady && !isRuleComplete(rule, option.date));
|
|
215
211
|
return (_jsx(RuleChip, { rule: rule, option: option, invalid: invalid, editable: targetDataReady, labels: chipLabels, slot: slot, onEdit: () => setDialog({ kind: "custom", rule, isNew: false }), onDelete: () => deleteRule(rule.id) }));
|
|
216
|
-
} }) }))] })) : null, semanticRows.length > 0 ? (_jsxs("div", { className: "gd-cf-section__semantic", children: [
|
|
217
|
-
_jsxs("div", { className: "gd-cf-section__subcategory", children: [
|
|
218
|
-
_jsx("span", { className: "gd-cf-section__rules-label", children: intl.formatMessage(conditionalFormattingMessages.semanticLabel) }), _jsx("span", { className: "gd-cf-section__divider" })
|
|
219
|
-
] }), _jsx("div", { className: "gd-cf-section__rules", children: semanticRows.map(({ option, semantic, off }) => (_jsx(SemanticRuleRow, { option: option, editLabel: editLabel, toggleAriaLabel: intl.formatMessage(conditionalFormattingMessages.semanticToggleAriaLabel, { title: option.title }), off: off, onToggleOff: (nextOff) => setSuppressed(option.target, nextOff), onEdit: () => setDialog({
|
|
212
|
+
} }) }))] })) : null, semanticRows.length > 0 ? (_jsxs("div", { className: "gd-cf-section__semantic", children: [_jsxs("div", { className: "gd-cf-section__subcategory", children: [_jsx("span", { className: "gd-cf-section__rules-label", children: intl.formatMessage(conditionalFormattingMessages.semanticLabel) }), _jsx("span", { className: "gd-cf-section__divider" })] }), _jsx("div", { className: "gd-cf-section__rules", children: semanticRows.map(({ option, semantic, off }) => (_jsx(SemanticRuleRow, { option: option, editLabel: editLabel, toggleAriaLabel: intl.formatMessage(conditionalFormattingMessages.semanticToggleAriaLabel, { title: option.title }), off: off, onToggleOff: (nextOff) => setSuppressed(option.target, nextOff), onEdit: () => setDialog({
|
|
220
213
|
kind: "semantic",
|
|
221
214
|
rule: semanticRuleFor(option, semantic),
|
|
222
215
|
option,
|
|
223
|
-
}) }, option.value))) })
|
|
224
|
-
|
|
216
|
+
}) }, option.value))) })] })) : null, activeDialog ? (_jsx(ConditionalFormattingDialog, { rule: activeDialog.rule, isNew: dialogIsNew, fixedTarget: activeDialog.kind === "semantic", semanticByTarget: activeSemanticMap, targetOptions: targetOptions, separators: separators, dateFilterOptions: dateFilterOptions, dateSettings: dateSettings, alignTo: ".s-cf-popover-anchor", onDelete: hasAuthoredRule ? () => deleteRule(activeDialog.rule.id) : undefined, onSubmit: (intent) => intent.mode === "inherited"
|
|
217
|
+
? revertToInherited(intent.target, intent.ruleId)
|
|
218
|
+
: saveRule(intent.rule, dialogIsNew), onClose: () => setDialog(null) }, dialogKey(activeDialog))) : null] }));
|
|
225
219
|
}
|
package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.d.ts
CHANGED
|
@@ -22,6 +22,6 @@ export interface IReorderListProps<T> {
|
|
|
22
22
|
* The render prop keeps the consumer's own row markup; the whole row drags (the grip is a hover
|
|
23
23
|
* affordance). Pointer-only — no keyboard reorder yet.
|
|
24
24
|
*/
|
|
25
|
-
export declare function ReorderList<T>({ items, getKey, onReorder, renderItem, disabled }: IReorderListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function ReorderList<T>({ items, getKey, onReorder, renderItem, disabled, }: IReorderListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export {};
|
|
27
27
|
//# sourceMappingURL=ReorderList.d.ts.map
|
package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReorderList.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/ReorderList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,cAAc,EAAE,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAC;AAMxF,KAAK,iBAAiB,GAAG,IAAI,CACzB,cAAc,CAAC,WAAW,CAAC,EACzB,WAAW,GACX,eAAe,GACf,aAAa,GACb,aAAa,GACb,YAAY,GACZ,aAAa,GACb,QAAQ,GACR,WAAW,CAChB,CAAC;AAEF,MAAM,WAAW,YAAY;IACzB,oFAAoF;IACpF,MAAM,EAAE,SAAS,CAAC;IAClB,wCAAwC;IACxC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAChC,KAAK,EAAE,SAAS,CAAC,EAAE,CAAC;IACpB,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC5B,yCAAyC;IACzC,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAChC,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IACtE,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,EAC3B,KAAK,EACL,MAAM,EACN,SAAS,EACT,UAAU,EACV,QAAgB,
|
|
1
|
+
{"version":3,"file":"ReorderList.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/ReorderList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,cAAc,EAAE,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAC;AAMxF,KAAK,iBAAiB,GAAG,IAAI,CACzB,cAAc,CAAC,WAAW,CAAC,EACzB,WAAW,GACX,eAAe,GACf,aAAa,GACb,aAAa,GACb,YAAY,GACZ,aAAa,GACb,QAAQ,GACR,WAAW,CAChB,CAAC;AAEF,MAAM,WAAW,YAAY;IACzB,oFAAoF;IACpF,MAAM,EAAE,SAAS,CAAC;IAClB,wCAAwC;IACxC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAChC,KAAK,EAAE,SAAS,CAAC,EAAE,CAAC;IACpB,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC5B,yCAAyC;IACzC,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAChC,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IACtE,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,EAC3B,KAAK,EACL,MAAM,EACN,SAAS,EACT,UAAU,EACV,QAAgB,GACnB,EAAE,iBAAiB,CAAC,CAAC,CAAC,2CA6FtB"}
|
|
@@ -24,9 +24,7 @@ export function ReorderList({ items, getKey, onReorder, renderItem, disabled = f
|
|
|
24
24
|
return (_jsx(_Fragment, { children: items.map((item, index) => {
|
|
25
25
|
const slot = enabled
|
|
26
26
|
? {
|
|
27
|
-
handle: (
|
|
28
|
-
// Visual affordance only; the whole row initiates the drag.
|
|
29
|
-
_jsx("span", { className: "gd-cf-reorder__handle", "aria-hidden": "true" })),
|
|
27
|
+
handle: (_jsx("span", { className: "gd-cf-reorder__handle", "aria-hidden": "true" })),
|
|
30
28
|
className: cx("gd-cf-reorder-item", {
|
|
31
29
|
"gd-cf-reorder-item--dragging": dragIndex === index,
|
|
32
30
|
"gd-cf-reorder-item--drop-above": moves && dropGap === index,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionalFormattingColors.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/conditionalFormattingColors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAK3F,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAG1C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAAuD,CAAC;AAKvF,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"conditionalFormattingColors.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/conditionalFormattingColors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAK3F,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAG1C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAAuD,CAAC;AAKvF,eAAO,MAAM,QAAQ,gBAAiB,cAAc,KAAG,MACoB,CAAC;AAK5E,wGAAwG;AACxG,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAOtE;AAED,6FAA6F;AAC7F,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKhD"}
|
|
@@ -70,6 +70,7 @@ export declare function buildTargetOptions(insight: IInsightDefinition, data?: I
|
|
|
70
70
|
export declare const findTargetOption: (options: ITargetOption[], target: ConditionalFormattingTarget) => ITargetOption | undefined;
|
|
71
71
|
/** Date-eligible target: the option carries execution-resolved date metadata. */
|
|
72
72
|
export declare const isDateTarget: (option: ITargetOption | undefined) => boolean;
|
|
73
|
+
/** @internal */
|
|
73
74
|
export declare const targetLocalId: (target: ConditionalFormattingTarget) => string;
|
|
74
75
|
/**
|
|
75
76
|
* Whether `target` is already in Custom mode on this insight config — an insight rule targets it,
|
|
@@ -97,17 +98,19 @@ export declare const isSuppressedTarget: (config: IConditionalFormatting | undef
|
|
|
97
98
|
* by every place that builds an `IConditionalFormatting` payload (Section today, a future catalog
|
|
98
99
|
* authoring adapter next) so this normalization can't be forgotten in one of them.
|
|
99
100
|
*/
|
|
100
|
-
export declare const withSuppressedTargets: (config: IConditionalFormatting, suppressedTargets:
|
|
101
|
+
export declare const withSuppressedTargets: (config: IConditionalFormatting, suppressedTargets: IConditionalFormatting["suppressedTargets"]) => IConditionalFormatting;
|
|
101
102
|
/**
|
|
102
103
|
* Synthesizes a rule for the dialog from an inherited semantic-layer condition set, seeding it with
|
|
103
104
|
* a display-only id (mirroring the engine's own `semantic:<kind>:<localId>` convention in
|
|
104
105
|
* semanticConditionalFormatting.ts, for consistency only) — the dialog swaps this for a real uuid()
|
|
105
106
|
* the moment the user customizes and saves, so this synthetic id itself is never persisted.
|
|
107
|
+
*
|
|
108
|
+
* @internal
|
|
106
109
|
*/
|
|
107
110
|
export declare const semanticRuleFor: (option: ITargetOption, semantic: ISemanticConditionalFormatting) => IConditionalFormattingRule;
|
|
108
|
-
export declare const operatorsForTarget: (kind: "
|
|
111
|
+
export declare const operatorsForTarget: (kind: ConditionalFormattingTarget["kind"], isDate: boolean) => ConditionalFormattingOperator[];
|
|
109
112
|
export declare const operatorIcon: (operator: ConditionalFormattingOperator) => string | undefined;
|
|
110
|
-
export declare const targetIcon: (kind: "
|
|
113
|
+
export declare const targetIcon: (kind: ConditionalFormattingTarget["kind"], isDate?: boolean) => string;
|
|
111
114
|
export type OperatorArity = "none" | "single" | "range";
|
|
112
115
|
export declare const operatorArity: (operator: ConditionalFormattingOperator) => OperatorArity;
|
|
113
116
|
export type ConditionValueEditor = "none" | "number" | "combobox" | "text" | "range" | "date";
|
|
@@ -116,7 +119,7 @@ export type ConditionValueEditor = "none" | "number" | "combobox" | "text" | "ra
|
|
|
116
119
|
* Is / Is not (per design) — substring operators keep the plain text input. A date target's single
|
|
117
120
|
* operand is always the period picker.
|
|
118
121
|
*/
|
|
119
|
-
export declare const valueEditorKind: (condition: IConditionalFormattingCondition, kind: "
|
|
122
|
+
export declare const valueEditorKind: (condition: IConditionalFormattingCondition, kind: ConditionalFormattingTarget["kind"], hasSuggestions: boolean, isDate: boolean) => ConditionValueEditor;
|
|
120
123
|
/**
|
|
121
124
|
* Whether a stored value's shape is one `editorKind`'s control can represent. Editing always keeps
|
|
122
125
|
* this true (operator changes normalize the value's shape, and {@link sanitizeRuleForEditing} clears
|
|
@@ -140,6 +143,7 @@ export declare const literalRaw: (value: ConditionalFormattingValue) => number |
|
|
|
140
143
|
/** One finite bound of a range operand, or null (blank input). */
|
|
141
144
|
export declare const rangeRaw: (value: ConditionalFormattingValue, bound: "from" | "to") => number | null;
|
|
142
145
|
export declare const newCondition: (isDate?: boolean) => IConditionalFormattingCondition;
|
|
146
|
+
/** @internal */
|
|
143
147
|
export declare const newRule: (option: ITargetOption) => IConditionalFormattingRule;
|
|
144
148
|
/**
|
|
145
149
|
* Rule re-pointed at a new target. Crossing target kinds — or the date/plain boundary within
|
|
@@ -152,6 +156,8 @@ export declare const ruleWithTarget: (rule: IConditionalFormattingRule, next: IT
|
|
|
152
156
|
* Percent = the format contains a `%` outside quoted/escaped literals (those render a % sign without
|
|
153
157
|
* percent scaling). A heuristic by design: it only picks the authoring input's display units; the
|
|
154
158
|
* contract compares the raw value either way. Scaled formats are out of scope.
|
|
159
|
+
*
|
|
160
|
+
* @internal
|
|
155
161
|
*/
|
|
156
162
|
export declare const isPercentFormat: (format: string | undefined) => boolean;
|
|
157
163
|
/** Raw stored number -> the number the user sees in a percent input (×100). */
|
|
@@ -181,7 +187,7 @@ export interface IConditionValidation {
|
|
|
181
187
|
* while the editor renders `error` unconditionally and `missing` only once the field has been
|
|
182
188
|
* visited (a value the user hasn't reached yet is incomplete, not wrong).
|
|
183
189
|
*/
|
|
184
|
-
export declare const validateCondition: (condition: IConditionalFormattingCondition, kind: "
|
|
190
|
+
export declare const validateCondition: (condition: IConditionalFormattingCondition, kind: ConditionalFormattingTarget["kind"], date?: ICfDateMeta) => IConditionValidation;
|
|
185
191
|
/** A rule is saveable when every condition has a valid operand for its operator. */
|
|
186
|
-
export declare const isRuleComplete: (rule: IConditionalFormattingRule, date?: ICfDateMeta
|
|
192
|
+
export declare const isRuleComplete: (rule: IConditionalFormattingRule, date?: ICfDateMeta) => boolean;
|
|
187
193
|
//# sourceMappingURL=conditionalFormattingModel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionalFormattingModel.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,SAAS,EAajB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAIlC,MAAM,6BAA6B,CAAC;AAIrC;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IACxB,WAAW,EAAE,qBAAqB,CAAC;IACnC,
|
|
1
|
+
{"version":3,"file":"conditionalFormattingModel.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,SAAS,EAajB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAIlC,MAAM,6BAA6B,CAAC;AAIrC;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IACxB,WAAW,EAAE,qBAAqB,CAAC;IACnC,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,2BAA2B,CAAC;IACpC,sGAAsG;IACtG,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8GAA8G;IAC9G,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,yGAAyG;IACzG,IAAI,CAAC,EAAE,WAAW,CAAC;CACtB;AAKD,eAAO,MAAM,aAAa,WAAY,2BAA2B,KAAG,MAGjB,CAAC;AAEpD,wGAAwG;AACxG,MAAM,WAAW,aAAa;IAC1B,6GAA6G;IAC7G,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC,yGAAyG;IACzG,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACpC,gGAAgG;IAChG,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC;IAC1D;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;GAIG;AAIH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,cAAc,GAAG,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC,CAgC1G;AAiCD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,EAAE,IAAI,GAAE,aAAkB,GAAG,aAAa,EAAE,CAmCzG;AAED,eAAO,MAAM,gBAAgB,YAChB,aAAa,EAAE,UAChB,2BAA2B,KACpC,aAAa,GAAG,SAA6E,CAAC;AAEjG,iFAAiF;AACjF,eAAO,MAAM,YAAY,WAAY,aAAa,GAAG,SAAS,KAAG,OAAqC,CAAC;AAEvG,gBAAgB;AAChB,eAAO,MAAM,aAAa,WAAY,2BAA2B,KAAG,MACiB,CAAC;AAEtF;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,WACf,sBAAsB,GAAG,SAAS,UAClC,2BAA2B,KACpC,OAQF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,WACnB,sBAAsB,GAAG,SAAS,UAClC,2BAA2B,KACpC,OAKF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,WACtB,sBAAsB,qBACX,sBAAsB,CAAC,mBAAmB,CAAC,KAC/D,sBAMF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,WAChB,aAAa,YACX,8BAA8B,KACzC,0BAID,CAAC;AAuDH,eAAO,MAAM,kBAAkB,SACrB,2BAA2B,CAAC,MAAM,CAAC,UACjC,OAAO,KAChB,6BAA6B,EAK/B,CAAC;AAgBF,eAAO,MAAM,YAAY,aAAc,6BAA6B,KAAG,MAAM,GAAG,SAG/E,CAAC;AAIF,eAAO,MAAM,UAAU,SAAU,2BAA2B,CAAC,MAAM,CAAC,uBAAmB,MAKtF,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,eAAO,MAAM,aAAa,aAAc,6BAA6B,KAAG,aAKvE,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAK9F;;;;GAIG;AACH,eAAO,MAAM,eAAe,cACb,+BAA+B,QACpC,2BAA2B,CAAC,MAAM,CAAC,kBACzB,OAAO,UACf,OAAO,KAChB,oBAeF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,eACnB,oBAAoB,SACzB,0BAA0B,KAClC,OAiBF,CAAC;AAEF,2GAA2G;AAC3G,eAAO,MAAM,YAAY,UAAW,0BAA0B,KAAG,MAahE,CAAC;AAIF,+DAA+D;AAC/D,eAAO,MAAM,qBAAqB,aACpB,6BAA6B,uBAExC,0BAaF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,aACf,6BAA6B,YAC7B,0BAA0B,UAC5B,OAAO,KAChB,0BAYF,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,WAAW,UAAW,0BAA0B,KAAG,MACT,CAAC;AAExD,6FAA6F;AAC7F,eAAO,MAAM,UAAU,UAAW,0BAA0B,KAAG,MAAM,GAAG,IAMvE,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,QAAQ,UAAW,0BAA0B,SAAS,MAAM,GAAG,IAAI,KAAG,MAAM,GAAG,IAM3F,CAAC;AAKF,eAAO,MAAM,YAAY,wBAAqB,+BAM5C,CAAC;AAEH,gBAAgB;AAChB,eAAO,MAAM,OAAO,WAAY,aAAa,KAAG,0BAI9C,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,cAAc,SACjB,0BAA0B,QAC1B,aAAa,YACT,aAAa,GAAG,SAAS,KACpC,0BAuCF,CAAC;AAIF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,WAAY,MAAM,GAAG,SAAS,KAAG,OAKvC,CAAC;AAKvB,+EAA+E;AAC/E,eAAO,MAAM,kBAAkB,QAAS,MAAM,WAAW,OAAO,KAAG,MAC7B,CAAC;AAEvC,sFAAsF;AACtF,eAAO,MAAM,kBAAkB,YAAa,MAAM,WAAW,OAAO,KAAG,MACzB,CAAC;AAI/C,wEAAwE;AACxE,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,kBAAkB,CAAC;AAEtE,uGAAuG;AACvG,MAAM,MAAM,+BAA+B,GAAG,qBAAqB,GAAG,YAAY,CAAC;AAInF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,SACzB,0BAA0B,uBAEjC,0BA4CF,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACjC,8FAA8F;IAC9F,OAAO,EAAE,OAAO,CAAC;IACjB,mGAAmG;IACnG,KAAK,CAAC,EAAE,qBAAqB,CAAC;CACjC;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,cACf,+BAA+B,QACpC,2BAA2B,CAAC,MAAM,CAAC,SAClC,WAAW,KACnB,oBA+BF,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,cAAc,SAAU,0BAA0B,SAAS,WAAW,KAAG,OAKhF,CAAC"}
|
|
@@ -118,6 +118,7 @@ export function buildTargetOptions(insight, data = {}) {
|
|
|
118
118
|
export const findTargetOption = (options, target) => options.find((option) => option.value === targetToValue(target));
|
|
119
119
|
/** Date-eligible target: the option carries execution-resolved date metadata. */
|
|
120
120
|
export const isDateTarget = (option) => option?.date !== undefined;
|
|
121
|
+
/** @internal */
|
|
121
122
|
export const targetLocalId = (target) => target.kind === "measure" ? target.measureIdentifier : target.attributeIdentifier;
|
|
122
123
|
/**
|
|
123
124
|
* Whether `target` is already in Custom mode on this insight config — an insight rule targets it,
|
|
@@ -164,6 +165,8 @@ export const withSuppressedTargets = (config, suppressedTargets) => {
|
|
|
164
165
|
* a display-only id (mirroring the engine's own `semantic:<kind>:<localId>` convention in
|
|
165
166
|
* semanticConditionalFormatting.ts, for consistency only) — the dialog swaps this for a real uuid()
|
|
166
167
|
* the moment the user customizes and saves, so this synthetic id itself is never persisted.
|
|
168
|
+
*
|
|
169
|
+
* @internal
|
|
167
170
|
*/
|
|
168
171
|
export const semanticRuleFor = (option, semantic) => ({
|
|
169
172
|
id: `semantic:${option.target.kind}:${targetLocalId(option.target)}`,
|
|
@@ -370,6 +373,7 @@ export const newCondition = (isDate = false) => ({
|
|
|
370
373
|
// Default: colored text on a transparent background (no fill).
|
|
371
374
|
format: { color: CF_DEFAULT_COLOR, scope: "cell" },
|
|
372
375
|
});
|
|
376
|
+
/** @internal */
|
|
373
377
|
export const newRule = (option) => ({
|
|
374
378
|
id: uuid(),
|
|
375
379
|
target: option.target,
|
|
@@ -426,6 +430,8 @@ export const ruleWithTarget = (rule, next, previous) => {
|
|
|
426
430
|
* Percent = the format contains a `%` outside quoted/escaped literals (those render a % sign without
|
|
427
431
|
* percent scaling). A heuristic by design: it only picks the authoring input's display units; the
|
|
428
432
|
* contract compares the raw value either way. Scaled formats are out of scope.
|
|
433
|
+
*
|
|
434
|
+
* @internal
|
|
429
435
|
*/
|
|
430
436
|
export const isPercentFormat = (format) => typeof format === "string" &&
|
|
431
437
|
format
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reorderListModel.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/reorderListModel.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"reorderListModel.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/reorderListModel.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,SAAU,MAAM,OAAO,MAAM,KAAG,MAAM,GAAG,IAGlE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,SAAS,CAAC,EAAE,QAAQ,MAAM,MAAM,MAAM,KAAG,CAAC,EAK5E,CAAC;AAIF,eAAO,MAAM,iBAAiB,WAAY,WAAW,GAAG,IAAI,KAAG,OACoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCfDateFilterOptions.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/useCfDateFilterOptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EACH,KAAK,wBAAwB,EAIhC,MAAM,0BAA0B,CAAC;AAMlC;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAClC,OAAO,EAAE,kBAAkB,GAAG,SAAS,EACvC,SAAS,EAAE,MAAM,GAAG,SAAS;AAC7B,
|
|
1
|
+
{"version":3,"file":"useCfDateFilterOptions.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/conditionalFormatting/useCfDateFilterOptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EACH,KAAK,wBAAwB,EAIhC,MAAM,0BAA0B,CAAC;AAMlC;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAClC,OAAO,EAAE,kBAAkB,GAAG,SAAS,EACvC,SAAS,EAAE,MAAM,GAAG,SAAS;AAC7B,gGAAgG;AAChG,OAAO,EAAE,OAAO,GACjB,wBAAwB,GAAG,SAAS,CAkCtC"}
|
package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export interface ICustomTooltipSectionProps {
|
|
|
5
5
|
propertiesMeta?: any;
|
|
6
6
|
pushData?: (data: any) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare function CustomTooltipSection({ controlsDisabled, properties, propertiesMeta, pushData }: ICustomTooltipSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function CustomTooltipSection({ controlsDisabled, properties, propertiesMeta, pushData, }: ICustomTooltipSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=CustomTooltipSection.d.ts.map
|
package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomTooltipSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/customTooltip/CustomTooltipSection.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAarF,MAAM,WAAW,0BAA0B;IACvC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAClC;AAED,wBAAgB,oBAAoB,CAAC,EACjC,gBAAwB,EACxB,UAAe,EACf,cAAmB,EACnB,QAAmB,
|
|
1
|
+
{"version":3,"file":"CustomTooltipSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/customTooltip/CustomTooltipSection.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAarF,MAAM,WAAW,0BAA0B;IACvC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAClC;AAED,wBAAgB,oBAAoB,CAAC,EACjC,gBAAwB,EACxB,UAAe,EACf,cAAmB,EACnB,QAAmB,GACtB,EAAE,0BAA0B,2CA2H5B"}
|
|
@@ -73,9 +73,5 @@ export function CustomTooltipSection({ controlsDisabled = false, properties = {}
|
|
|
73
73
|
};
|
|
74
74
|
const textareaId = useId();
|
|
75
75
|
const placementItems = getTranslatedDropdownItems(customTooltipPlacementDropdownItems, intl);
|
|
76
|
-
return (_jsxs(ConfigSection, { id: "custom_tooltip_section", valuePath: "customTooltip.enabled", className: "gd-custom-tooltip-section", title: messages.customTooltipTitle.id, propertiesMeta: propertiesMeta, properties: properties, canBeToggled: true, toggleDisabled: toggleDisabled, toggledOn: enabled, pushData: pushData, children: [
|
|
77
|
-
_jsx(DropdownControl, { value: placement, valuePath: "customTooltip.placement", labelText: messages.customTooltipPlacement.id, disabled: contentDisabled, showDisabledMessage: contentDisabled, properties: properties, pushData: pushData, items: placementItems, width: 220 }), _jsx("label", { className: "input-label-text", htmlFor: textareaId, children: _jsx(FormattedMessage, { id: messages.customTooltipContentLabel.id }) }), _jsx(DisabledBubbleMessage, { showDisabledMessage: contentDisabled, children: _jsx("textarea", { id: textareaId, className: "gd-input-field gd-custom-tooltip-textarea s-custom-tooltip-textarea", value: localContent, onChange: onContentChange, onBlur: onContentBlur, disabled: contentDisabled, placeholder: intl.formatMessage({ id: messages.customTooltipPlaceholder.id }), rows: 8 }) }), _jsx("div", { className: "gd-custom-tooltip-formatting-link", children: _jsxs(UiLink, { variant: "secondary", href: FORMATTING_OPTIONS_DOC_URL, rel: "noopener noreferrer", target: "_blank", children: [
|
|
78
|
-
_jsx(UiIcon, { type: "question", size: 12, color: "currentColor" }), _jsx(FormattedMessage, { id: messages.customTooltipFormattingOptions.id })
|
|
79
|
-
] }) })
|
|
80
|
-
] }));
|
|
76
|
+
return (_jsxs(ConfigSection, { id: "custom_tooltip_section", valuePath: "customTooltip.enabled", className: "gd-custom-tooltip-section", title: messages.customTooltipTitle.id, propertiesMeta: propertiesMeta, properties: properties, canBeToggled: true, toggleDisabled: toggleDisabled, toggledOn: enabled, pushData: pushData, children: [_jsx(DropdownControl, { value: placement, valuePath: "customTooltip.placement", labelText: messages.customTooltipPlacement.id, disabled: contentDisabled, showDisabledMessage: contentDisabled, properties: properties, pushData: pushData, items: placementItems, width: 220 }), _jsx("label", { className: "input-label-text", htmlFor: textareaId, children: _jsx(FormattedMessage, { id: messages.customTooltipContentLabel.id }) }), _jsx(DisabledBubbleMessage, { showDisabledMessage: contentDisabled, children: _jsx("textarea", { id: textareaId, className: "gd-input-field gd-custom-tooltip-textarea s-custom-tooltip-textarea", value: localContent, onChange: onContentChange, onBlur: onContentBlur, disabled: contentDisabled, placeholder: intl.formatMessage({ id: messages.customTooltipPlaceholder.id }), rows: 8 }) }), _jsx("div", { className: "gd-custom-tooltip-formatting-link", children: _jsxs(UiLink, { variant: "secondary", href: FORMATTING_OPTIONS_DOC_URL, rel: "noopener noreferrer", target: "_blank", children: [_jsx(UiIcon, { type: "question", size: 12, color: "currentColor" }), _jsx(FormattedMessage, { id: messages.customTooltipFormattingOptions.id })] }) })] }));
|
|
81
77
|
}
|
package/esm/internal/components/configurationControls/forecast/ForecastConfidenceControl.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export interface IForecastConfidenceControl {
|
|
|
6
6
|
properties: IVisualizationProperties;
|
|
7
7
|
pushData: (data: any) => any;
|
|
8
8
|
}
|
|
9
|
-
export declare const ForecastConfidenceControl: import("react").
|
|
9
|
+
export declare const ForecastConfidenceControl: import("react").MemoExoticComponent<(props: IForecastConfidenceControl) => import("react/jsx-runtime").JSX.Element>;
|
|
10
10
|
//# sourceMappingURL=ForecastConfidenceControl.d.ts.map
|
package/esm/internal/components/configurationControls/forecast/ForecastConfidenceControl.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForecastConfidenceControl.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/forecast/ForecastConfidenceControl.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAIrF,MAAM,WAAW,0BAA0B;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,wBAAwB,CAAC;IACrC,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CAChC;AAED,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"ForecastConfidenceControl.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/forecast/ForecastConfidenceControl.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAIrF,MAAM,WAAW,0BAA0B;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,wBAAwB,CAAC;IACrC,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CAChC;AAED,eAAO,MAAM,yBAAyB,8CAC3B,0BAA0B,6CAmBnC,CAAC"}
|
|
@@ -7,5 +7,5 @@ export interface IForecastSection {
|
|
|
7
7
|
defaultForecastEnabled?: boolean;
|
|
8
8
|
pushData?: (data: any) => any;
|
|
9
9
|
}
|
|
10
|
-
export declare const ForecastSection: import("react").
|
|
10
|
+
export declare const ForecastSection: import("react").MemoExoticComponent<({ controlsDisabled, enabled, properties, propertiesMeta, defaultForecastEnabled, pushData, }: IForecastSection) => import("react/jsx-runtime").JSX.Element>;
|
|
11
11
|
//# sourceMappingURL=ForecastSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForecastSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/forecast/ForecastSection.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAOrF,MAAM,WAAW,gBAAgB;IAC7B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CACjC;AAED,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"ForecastSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/forecast/ForecastSection.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAOrF,MAAM,WAAW,gBAAgB;IAC7B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CACjC;AAED,eAAO,MAAM,eAAe,qIAOzB,gBAAgB,6CA4DjB,CAAC"}
|
|
@@ -18,8 +18,5 @@ export const ForecastSection = memo(function ForecastSection({ controlsDisabled
|
|
|
18
18
|
const toggleDisabled = controlsDisabled || forecastToggleDisabledByVisualization || !enabled;
|
|
19
19
|
const forecastControlsDisabled = !forecastEnabled || toggleDisabled;
|
|
20
20
|
const showDisabledMessage = controlsDisabled || forecastToggleDisabledByVisualization || !enabled;
|
|
21
|
-
return (_jsxs(ConfigSection, { id: "forecast_section", valuePath: "forecast.enabled", className: "gd-forecast-section", title: messages["forecastTitle"].id, propertiesMeta: propertiesMeta, properties: properties, canBeToggled: true, toggleDisabled: toggleDisabled, toggledOn: forecastEnabled, pushData: pushData, showDisabledMessage: showDisabledMessage, toggleMessageId: messages["forecastDisabledTooltip"].id, children: [
|
|
22
|
-
_jsx(InputControl, { value: forecastPeriod, valuePath: "forecast.period", labelText: messages["forecastPeriod"].id, placeholder: messages["forecastPeriodPlaceholder"].id, disabled: forecastControlsDisabled, properties: properties, pushData: pushData }), _jsx(ForecastConfidenceControl, { disabled: forecastControlsDisabled, value: forecastConfidence, showDisabledMessage: showDisabledMessage, properties: properties, pushData: pushData }), _jsx(CheckboxControl, { valuePath: "forecast.seasonal", checked: forecastSeasonal, labelText: messages["forecastSeasonal"].id, disabled: forecastControlsDisabled, properties: properties, pushData: pushData }), Boolean(slicedForecast) && (_jsxs(Message, { type: "progress", className: "adi-input-progress gd-slicedForecast-message", children: [
|
|
23
|
-
_jsx(FormattedMessage, { id: messages["forecastSlicedWarningTitle"].id, tagName: "strong" }), _jsx(FormattedMessage, { id: messages["forecastSlicedWarningDescription"].id, tagName: "div" })
|
|
24
|
-
] }))] }));
|
|
21
|
+
return (_jsxs(ConfigSection, { id: "forecast_section", valuePath: "forecast.enabled", className: "gd-forecast-section", title: messages["forecastTitle"].id, propertiesMeta: propertiesMeta, properties: properties, canBeToggled: true, toggleDisabled: toggleDisabled, toggledOn: forecastEnabled, pushData: pushData, showDisabledMessage: showDisabledMessage, toggleMessageId: messages["forecastDisabledTooltip"].id, children: [_jsx(InputControl, { value: forecastPeriod, valuePath: "forecast.period", labelText: messages["forecastPeriod"].id, placeholder: messages["forecastPeriodPlaceholder"].id, disabled: forecastControlsDisabled, properties: properties, pushData: pushData }), _jsx(ForecastConfidenceControl, { disabled: forecastControlsDisabled, value: forecastConfidence, showDisabledMessage: showDisabledMessage, properties: properties, pushData: pushData }), _jsx(CheckboxControl, { valuePath: "forecast.seasonal", checked: forecastSeasonal, labelText: messages["forecastSeasonal"].id, disabled: forecastControlsDisabled, properties: properties, pushData: pushData }), Boolean(slicedForecast) && (_jsxs(Message, { type: "progress", className: "adi-input-progress gd-slicedForecast-message", children: [_jsx(FormattedMessage, { id: messages["forecastSlicedWarningTitle"].id, tagName: "strong" }), _jsx(FormattedMessage, { id: messages["forecastSlicedWarningDescription"].id, tagName: "div" })] }))] }));
|
|
25
22
|
});
|
|
@@ -20,5 +20,5 @@ export interface IInteractionsSectionProps {
|
|
|
20
20
|
export declare function QuestionMarkTooltip(props: {
|
|
21
21
|
tooltipText: string;
|
|
22
22
|
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export declare const InteractionsSection: import("react").
|
|
23
|
+
export declare const InteractionsSection: import("react").MemoExoticComponent<({ metrics, areControlsDisabledGetter, properties, propertiesMeta, pushData, InteractionsDetailRenderer, supportsAlertConfiguration, supportsDrillDownConfiguration, supportsScheduledExportsConfiguration, supportsKeyDriveAnalysis, showImplicitDrillToUrl, enableDrillToUrlByDefault, }: IInteractionsSectionProps) => import("react/jsx-runtime").JSX.Element>;
|
|
24
24
|
//# sourceMappingURL=InteractionsSection.d.ts.map
|
package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionsSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/interactions/InteractionsSection.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,OAAO,CAAC;AAI7C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAIpD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AACrF,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAI5E,MAAM,WAAW,yBAAyB;IACtC,OAAO,CAAC,EAAE,QAAQ,EAAE,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,yBAAyB,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC;IACnE,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;IAC9B,0BAA0B,CAAC,EAAE,MAAM,SAAS,CAAC;IAC7C,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAChD,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC;AAGD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,2CASjE;AAED,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"InteractionsSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/interactions/InteractionsSection.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,OAAO,CAAC;AAI7C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAIpD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AACrF,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAI5E,MAAM,WAAW,yBAAyB;IACtC,OAAO,CAAC,EAAE,QAAQ,EAAE,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,yBAAyB,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC;IACnE,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;IAC9B,0BAA0B,CAAC,EAAE,MAAM,SAAS,CAAC;IAC7C,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAChD,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC;AAGD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,2CASjE;AAED,eAAO,MAAM,mBAAmB,kUAa7B,yBAAyB,6CAgI1B,CAAC"}
|