@gooddata/sdk-ui-ext 11.55.0 → 11.56.0-alpha.1
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 +5 -5
- 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.js +2 -8
- 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 +2 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +2 -1
- package/esm/insightPicker/InsightPickerCore.js +2 -4
- package/esm/insightPicker/InsightPickerFilterBar.js +1 -3
- package/esm/insightPicker/InsightPickerMenu.js +1 -2
- package/esm/insightPicker/InsightPickerRow.js +1 -2
- package/esm/insightPicker/InsightPickerSortDropdown.js +3 -8
- package/esm/insightPicker/messages.d.ts.map +1 -1
- package/esm/insightPicker/useInsightPickerHybridSearch.d.ts.map +1 -1
- package/esm/insightPicker/useInsightPickerState.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.js +2 -4
- 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/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/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.js +1 -2
- package/esm/internal/components/configurationControls/ColumnHeadersPositionControl.js +1 -2
- package/esm/internal/components/configurationControls/ConfigSection.js +2 -6
- package/esm/internal/components/configurationControls/ConfigSubsection.js +2 -7
- package/esm/internal/components/configurationControls/ContinuousLineControl.js +1 -4
- package/esm/internal/components/configurationControls/DataLabelsControl.js +1 -2
- 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/InputControl.js +1 -4
- 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/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/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/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/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.js +1 -3
- 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.js +1 -2
- package/esm/internal/components/configurationControls/comparison/indicators/IndicatorSubSection.js +1 -3
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorsControl.js +1 -5
- package/esm/internal/components/configurationControls/comparison/label/LabelSubSection.js +1 -4
- package/esm/internal/components/configurationControls/comparison/values/ValueSubSection.js +1 -3
- package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +1 -3
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.js +7 -20
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +6 -17
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +5 -18
- 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 +6 -6
- package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts.map +1 -1
- 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.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/DataSources/AddDataSource.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/DataSourceItem.js +1 -2
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdown.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/DataSources/PermissionsDropdownItem.js +1 -3
- 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/OrganizationMemberDropdown.js +3 -9
- 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/AddUserGroupContent.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/UserGroups/UserGroupItem.js +1 -3
- 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/AddUserContent.js +2 -4
- package/esm/internal/components/dialogs/userManagementDialogs/Users/AsyncSelectComponents.d.ts +1 -1
- 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.js +1 -8
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AddWorkspace.js +1 -3
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AsyncSelectComponents.d.ts +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/AsyncSelectComponents.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.js +2 -7
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/GranularPermissionsWorkspaceItem.js +1 -4
- 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.js +1 -3
- 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.js +1 -2
- 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/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/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/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.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/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 +2 -2
- package/esm/internal/translations/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-AU.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-GB.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-US.localization-bundle.d.ts +1408 -1408
- 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 +2 -2
- package/esm/internal/translations/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/es-ES.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fi-FI.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fr-CA.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fr-FR.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/id-ID.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/it-IT.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ja-JP.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ko-KR.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/nl-NL.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pl-PL.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pt-BR.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pt-PT.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ru-RU.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/sl-SI.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/th-TH.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/tr-TR.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/uk-UA.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/vi-VN.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-HK.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-Hans.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-Hant.localization-bundle.d.ts +2 -2
- package/esm/internal/translations/zh-Hant.localization-bundle.d.ts.map +1 -1
- 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/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/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.js +1 -6
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js +2 -4
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.js +1 -2
- 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/Tooltip.js +1 -2
- package/esm/notificationsPanel/data/useNotifications.d.ts.map +1 -1
- package/esm/sdk-ui-ext.d.ts +75 -7
- package/esm/share/ObjectShareDialog.js +4 -6
- package/esm/share/accessSummary.d.ts +28 -3
- package/esm/share/accessSummary.d.ts.map +1 -1
- package/esm/share/accessSummary.js +42 -3
- package/esm/share/messages.d.ts.map +1 -1
- package/esm/share/objectShareController.helpers.d.ts.map +1 -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 +5 -2
- 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 +48 -0
- package/esm/share/useObjectShareController.js +5 -6
- package/esm/share/useObjectShareDialog.d.ts.map +1 -1
- package/package.json +23 -23
- package/styles/css/main.css.map +1 -1
- package/styles/internal/css/charts.css.map +1 -1
|
@@ -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: () => {
|
|
@@ -185,7 +176,5 @@ export function ConditionalFormattingDialog({ rule: initialRule, isNew, targetOp
|
|
|
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
178
|
onSave(isNew ? { ...rule, id: uuid() } : rule);
|
|
188
|
-
} })
|
|
189
|
-
] })
|
|
190
|
-
] }) }));
|
|
179
|
+
} })] })] }) }));
|
|
191
180
|
}
|
|
@@ -14,9 +14,7 @@ import { useCfDateFilterOptions } from "./useCfDateFilterOptions.js";
|
|
|
14
14
|
const SECTION_ID = "conditionalFormatting_section";
|
|
15
15
|
// Array order = evaluation order (first-match-wins).
|
|
16
16
|
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
|
-
] }));
|
|
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: [_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
18
|
}
|
|
21
19
|
// A held-open semantic dialog is a snapshot from when "View" was clicked — re-derive it against the
|
|
22
20
|
// current semantic payload every render so it tracks edits, and disappears (rather than showing stale
|
|
@@ -58,10 +56,7 @@ function dialogKey(dialog) {
|
|
|
58
56
|
// "Use default rule" checkbox that switches it to Custom. The row itself only ever offers the
|
|
59
57
|
// on/off toggle (`suppressedTargets` suppression) and, while on, a way to open that dialog.
|
|
60
58
|
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 }))] }));
|
|
59
|
+
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
60
|
}
|
|
66
61
|
export function ConditionalFormattingSection({ properties, propertiesMeta, insight, targetData, backend, workspace, dateSettings, separators, isLoading, pushData, enableConditionalFormatting = true, enableSemanticConditionalFormatting = false, }) {
|
|
67
62
|
const intl = useIntl();
|
|
@@ -202,24 +197,16 @@ export function ConditionalFormattingSection({ properties, propertiesMeta, insig
|
|
|
202
197
|
// decides whether to render a disabled delete affordance for the "nothing authored yet" case,
|
|
203
198
|
// not a no-op we hand it.
|
|
204
199
|
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 ? (
|
|
200
|
+
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
201
|
// The empty-state hint would contradict an inherited row rendered just below it.
|
|
211
202
|
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
203
|
const option = findTargetOption(targetOptions, rule.target);
|
|
213
204
|
// A missing target flags immediately; value validation waits for date metadata.
|
|
214
205
|
const invalid = !option || (targetDataReady && !isRuleComplete(rule, option.date));
|
|
215
206
|
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({
|
|
207
|
+
} }) }))] })) : 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
208
|
kind: "semantic",
|
|
221
209
|
rule: semanticRuleFor(option, semantic),
|
|
222
210
|
option,
|
|
223
|
-
}) }, option.value))) })
|
|
224
|
-
] })) : null, activeDialog ? (_jsx(ConditionalFormattingDialog, { rule: activeDialog.rule, isNew: dialogIsNew, fixedTarget: activeDialog.kind === "semantic", semanticByTarget: semanticMap, targetOptions: targetOptions, separators: separators, dateFilterOptions: dateFilterOptions, dateSettings: dateSettings, alignTo: ".s-cf-popover-anchor", onDelete: hasAuthoredRule ? () => deleteRule(activeDialog.rule.id) : undefined, onRevertToDefault: revertToInherited, onSave: (rule) => saveRule(rule, dialogIsNew), onClose: () => setDialog(null) }, dialogKey(activeDialog))) : null] }));
|
|
211
|
+
}) }, option.value))) })] })) : null, activeDialog ? (_jsx(ConditionalFormattingDialog, { rule: activeDialog.rule, isNew: dialogIsNew, fixedTarget: activeDialog.kind === "semantic", semanticByTarget: semanticMap, targetOptions: targetOptions, separators: separators, dateFilterOptions: dateFilterOptions, dateSettings: dateSettings, alignTo: ".s-cf-popover-anchor", onDelete: hasAuthoredRule ? () => deleteRule(activeDialog.rule.id) : undefined, onRevertToDefault: revertToInherited, onSave: (rule) => saveRule(rule, dialogIsNew), onClose: () => setDialog(null) }, dialogKey(activeDialog))) : null] }));
|
|
225
212
|
}
|
|
@@ -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"}
|
|
@@ -97,7 +97,7 @@ export declare const isSuppressedTarget: (config: IConditionalFormatting | undef
|
|
|
97
97
|
* by every place that builds an `IConditionalFormatting` payload (Section today, a future catalog
|
|
98
98
|
* authoring adapter next) so this normalization can't be forgotten in one of them.
|
|
99
99
|
*/
|
|
100
|
-
export declare const withSuppressedTargets: (config: IConditionalFormatting, suppressedTargets:
|
|
100
|
+
export declare const withSuppressedTargets: (config: IConditionalFormatting, suppressedTargets: IConditionalFormatting["suppressedTargets"]) => IConditionalFormatting;
|
|
101
101
|
/**
|
|
102
102
|
* Synthesizes a rule for the dialog from an inherited semantic-layer condition set, seeding it with
|
|
103
103
|
* a display-only id (mirroring the engine's own `semantic:<kind>:<localId>` convention in
|
|
@@ -105,9 +105,9 @@ export declare const withSuppressedTargets: (config: IConditionalFormatting, sup
|
|
|
105
105
|
* the moment the user customizes and saves, so this synthetic id itself is never persisted.
|
|
106
106
|
*/
|
|
107
107
|
export declare const semanticRuleFor: (option: ITargetOption, semantic: ISemanticConditionalFormatting) => IConditionalFormattingRule;
|
|
108
|
-
export declare const operatorsForTarget: (kind: "
|
|
108
|
+
export declare const operatorsForTarget: (kind: ConditionalFormattingTarget["kind"], isDate: boolean) => ConditionalFormattingOperator[];
|
|
109
109
|
export declare const operatorIcon: (operator: ConditionalFormattingOperator) => string | undefined;
|
|
110
|
-
export declare const targetIcon: (kind: "
|
|
110
|
+
export declare const targetIcon: (kind: ConditionalFormattingTarget["kind"], isDate?: boolean) => string;
|
|
111
111
|
export type OperatorArity = "none" | "single" | "range";
|
|
112
112
|
export declare const operatorArity: (operator: ConditionalFormattingOperator) => OperatorArity;
|
|
113
113
|
export type ConditionValueEditor = "none" | "number" | "combobox" | "text" | "range" | "date";
|
|
@@ -116,7 +116,7 @@ export type ConditionValueEditor = "none" | "number" | "combobox" | "text" | "ra
|
|
|
116
116
|
* Is / Is not (per design) — substring operators keep the plain text input. A date target's single
|
|
117
117
|
* operand is always the period picker.
|
|
118
118
|
*/
|
|
119
|
-
export declare const valueEditorKind: (condition: IConditionalFormattingCondition, kind: "
|
|
119
|
+
export declare const valueEditorKind: (condition: IConditionalFormattingCondition, kind: ConditionalFormattingTarget["kind"], hasSuggestions: boolean, isDate: boolean) => ConditionValueEditor;
|
|
120
120
|
/**
|
|
121
121
|
* Whether a stored value's shape is one `editorKind`'s control can represent. Editing always keeps
|
|
122
122
|
* this true (operator changes normalize the value's shape, and {@link sanitizeRuleForEditing} clears
|
|
@@ -181,7 +181,7 @@ export interface IConditionValidation {
|
|
|
181
181
|
* while the editor renders `error` unconditionally and `missing` only once the field has been
|
|
182
182
|
* visited (a value the user hasn't reached yet is incomplete, not wrong).
|
|
183
183
|
*/
|
|
184
|
-
export declare const validateCondition: (condition: IConditionalFormattingCondition, kind: "
|
|
184
|
+
export declare const validateCondition: (condition: IConditionalFormattingCondition, kind: ConditionalFormattingTarget["kind"], date?: ICfDateMeta) => IConditionValidation;
|
|
185
185
|
/** A rule is saveable when every condition has a valid operand for its operator. */
|
|
186
|
-
export declare const isRuleComplete: (rule: IConditionalFormattingRule, date?: ICfDateMeta
|
|
186
|
+
export declare const isRuleComplete: (rule: IConditionalFormattingRule, date?: ICfDateMeta) => boolean;
|
|
187
187
|
//# 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,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;;;;;GAKG;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,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;;;;GAIG;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"}
|
|
@@ -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"}
|
|
@@ -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"}
|
|
@@ -8,9 +8,7 @@ import { CheckboxControl } from "../CheckboxControl.js";
|
|
|
8
8
|
import { ConfigSection } from "../ConfigSection.js";
|
|
9
9
|
const TOOLTIP_ALIGN_POINTS = [{ align: "cr cl", offset: { x: 5, y: 0 } }];
|
|
10
10
|
export function QuestionMarkTooltip(props) {
|
|
11
|
-
return (_jsxs(BubbleHoverTrigger, { children: [
|
|
12
|
-
_jsx("span", { className: "gd-interactions-section__question-mark gd-icon-circle-question" }), _jsx(Bubble, { alignPoints: TOOLTIP_ALIGN_POINTS, children: _jsx(FormattedMessage, { id: props.tooltipText }) })
|
|
13
|
-
] }));
|
|
11
|
+
return (_jsxs(BubbleHoverTrigger, { children: [_jsx("span", { className: "gd-interactions-section__question-mark gd-icon-circle-question" }), _jsx(Bubble, { alignPoints: TOOLTIP_ALIGN_POINTS, children: _jsx(FormattedMessage, { id: props.tooltipText }) })] }));
|
|
14
12
|
}
|
|
15
13
|
export const InteractionsSection = memo(function InteractionsSection({ metrics, areControlsDisabledGetter, properties, propertiesMeta, pushData, InteractionsDetailRenderer, supportsAlertConfiguration, supportsDrillDownConfiguration, supportsScheduledExportsConfiguration, supportsKeyDriveAnalysis, showImplicitDrillToUrl, enableDrillToUrlByDefault, }) {
|
|
16
14
|
const isDrillDownDisabled = properties?.controls?.["disableDrillDown"] ?? false;
|
|
@@ -20,22 +18,12 @@ export const InteractionsSection = memo(function InteractionsSection({ metrics,
|
|
|
20
18
|
const isKdaDisabled = properties?.controls?.["disableKeyDriveAnalysis"] ?? false;
|
|
21
19
|
const isSeparatorVisible = supportsDrillDownConfiguration &&
|
|
22
20
|
(supportsAlertConfiguration || supportsScheduledExportsConfiguration);
|
|
23
|
-
return (_jsxs(ConfigSection, { id: "interactions_section", className: "gd-interactions-section", title: messages["interactions"].id, propertiesMeta: propertiesMeta, pushData: pushData, children: [supportsAlertConfiguration ? (_jsxs("div", { className: "gd-interactions-section__control-with-tooltip", children: [
|
|
24
|
-
_jsx(CheckboxControl, { valuePath: "disableAlerts", labelText: messages["interactionsAlerts"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.alerts"), checked: !isAlertsDisabled, pushData: pushData, isValueInverted: true }), _jsx(QuestionMarkTooltip, { tooltipText: messages["interactionsAlertsTooltip"].id })
|
|
25
|
-
] })) : null, supportsScheduledExportsConfiguration ? (_jsxs("div", { className: "gd-interactions-section__control-with-tooltip", children: [
|
|
26
|
-
_jsx(CheckboxControl, { valuePath: "disableScheduledExports", labelText: messages["interactionsScheduledExports"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.scheduled_exports"), checked: !isScheduledExportsDisabled, pushData: pushData, isValueInverted: true }), _jsx(QuestionMarkTooltip, { tooltipText: messages["interactionsScheduledExportsTooltip"].id })
|
|
27
|
-
] })) : null, supportsKeyDriveAnalysis && metrics && metrics.length > 0 ? (_jsxs(_Fragment, { children: [
|
|
28
|
-
_jsxs("div", { className: "gd-interactions-section__control-with-tooltip", children: [
|
|
29
|
-
_jsx(CheckboxControl, { valuePath: "disableKeyDriveAnalysis", labelText: messages["interactionsKda"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.kda"), checked: !isKdaDisabled, pushData: pushData, isValueInverted: true }), _jsx(QuestionMarkTooltip, { tooltipText: messages["interactionsKdaTooltip"].id })
|
|
30
|
-
] }), _jsx("div", { className: "gd-interactions-section__kda_metrics_list", children: metrics.map((m) => {
|
|
21
|
+
return (_jsxs(ConfigSection, { id: "interactions_section", className: "gd-interactions-section", title: messages["interactions"].id, propertiesMeta: propertiesMeta, pushData: pushData, children: [supportsAlertConfiguration ? (_jsxs("div", { className: "gd-interactions-section__control-with-tooltip", children: [_jsx(CheckboxControl, { valuePath: "disableAlerts", labelText: messages["interactionsAlerts"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.alerts"), checked: !isAlertsDisabled, pushData: pushData, isValueInverted: true }), _jsx(QuestionMarkTooltip, { tooltipText: messages["interactionsAlertsTooltip"].id })] })) : null, supportsScheduledExportsConfiguration ? (_jsxs("div", { className: "gd-interactions-section__control-with-tooltip", children: [_jsx(CheckboxControl, { valuePath: "disableScheduledExports", labelText: messages["interactionsScheduledExports"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.scheduled_exports"), checked: !isScheduledExportsDisabled, pushData: pushData, isValueInverted: true }), _jsx(QuestionMarkTooltip, { tooltipText: messages["interactionsScheduledExportsTooltip"].id })] })) : null, supportsKeyDriveAnalysis && metrics && metrics.length > 0 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "gd-interactions-section__control-with-tooltip", children: [_jsx(CheckboxControl, { valuePath: "disableKeyDriveAnalysis", labelText: messages["interactionsKda"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.kda"), checked: !isKdaDisabled, pushData: pushData, isValueInverted: true }), _jsx(QuestionMarkTooltip, { tooltipText: messages["interactionsKdaTooltip"].id })] }), _jsx("div", { className: "gd-interactions-section__kda_metrics_list", children: metrics.map((m) => {
|
|
31
22
|
const isKdaMetricDisabled = getKdaMetricDisabled(properties, m);
|
|
32
|
-
return (_jsx("div", { className: "gd-interactions-section__kda_metrics_list__item", children: _jsx(CheckboxControl, { valuePath: `disableKeyDriveAnalysisOn.${m.measure.localIdentifier}`, labelContent: _jsxs("div", { className: "gd-interactions-section__kda_metrics_list__item__label", children: [
|
|
33
|
-
_jsx("span", { className: "gd-interactions-section__kda_metrics_list__item__label__icon", children: _jsx(UiIcon, { type: "metric", color: "currentColor", size: 20 }) }), _jsx(ShortenedText, { className: "gd-interactions-section__kda_metrics_list__item__title", ellipsisPosition: "end", tooltipAlignPoints: [
|
|
23
|
+
return (_jsx("div", { className: "gd-interactions-section__kda_metrics_list__item", children: _jsx(CheckboxControl, { valuePath: `disableKeyDriveAnalysisOn.${m.measure.localIdentifier}`, labelContent: _jsxs("div", { className: "gd-interactions-section__kda_metrics_list__item__label", children: [_jsx("span", { className: "gd-interactions-section__kda_metrics_list__item__label__icon", children: _jsx(UiIcon, { type: "metric", color: "currentColor", size: 20 }) }), _jsx(ShortenedText, { className: "gd-interactions-section__kda_metrics_list__item__title", ellipsisPosition: "end", tooltipAlignPoints: [
|
|
34
24
|
{ align: "cr cl", offset: { x: 5, y: 0 } },
|
|
35
|
-
], children: m.measure.title ?? "" })
|
|
36
|
-
|
|
37
|
-
}) })
|
|
38
|
-
] })) : null, isSeparatorVisible ? _jsx(SeparatorLine, { mT: 10, mB: 10 }) : null, supportsDrillDownConfiguration ? (_jsx(CheckboxControl, { valuePath: "disableDrillDown", labelText: messages["interactionsDrillDown"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.drill_down"), checked: !isDrillDownDisabled, pushData: pushData, isValueInverted: true })) : null, InteractionsDetailRenderer ? InteractionsDetailRenderer() : null, showImplicitDrillToUrl ? (_jsx(CheckboxControl, { valuePath: "disableDrillIntoURL", labelText: messages["interactionsDrillIntoURL"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.drill_into_url"), checked: !isDrillIntoURLDisabled, pushData: pushData, isValueInverted: true, defaultValue: !enableDrillToUrlByDefault })) : null] }));
|
|
25
|
+
], children: m.measure.title ?? "" })] }), properties: properties, disabled: areControlsDisabledGetter?.("interactions.kda") || isKdaDisabled, checked: !isKdaDisabled && !isKdaMetricDisabled, pushData: pushData, isValueInverted: true }) }, m.measure.localIdentifier));
|
|
26
|
+
}) })] })) : null, isSeparatorVisible ? _jsx(SeparatorLine, { mT: 10, mB: 10 }) : null, supportsDrillDownConfiguration ? (_jsx(CheckboxControl, { valuePath: "disableDrillDown", labelText: messages["interactionsDrillDown"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.drill_down"), checked: !isDrillDownDisabled, pushData: pushData, isValueInverted: true })) : null, InteractionsDetailRenderer ? InteractionsDetailRenderer() : null, showImplicitDrillToUrl ? (_jsx(CheckboxControl, { valuePath: "disableDrillIntoURL", labelText: messages["interactionsDrillIntoURL"].id, properties: properties, disabled: areControlsDisabledGetter?.("interactions.drill_into_url"), checked: !isDrillIntoURLDisabled, pushData: pushData, isValueInverted: true, defaultValue: !enableDrillToUrlByDefault })) : null] }));
|
|
39
27
|
});
|
|
40
28
|
function getKdaMetricDisabled(properties, m) {
|
|
41
29
|
return properties?.controls?.["disableKeyDriveAnalysisOn"]?.[m.measure.localIdentifier] ?? false;
|
|
@@ -12,6 +12,6 @@ export interface IGeoLegendPositionControlProps {
|
|
|
12
12
|
properties: IVisualizationProperties;
|
|
13
13
|
pushData: (data: IGeoLegendPushData) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare const GeoLegendPositionControl: import("react").
|
|
15
|
+
export declare const GeoLegendPositionControl: import("react").MemoExoticComponent<({ disabled, value, showDisabledMessage, properties, pushData, }: IGeoLegendPositionControlProps) => import("react/jsx-runtime").JSX.Element>;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=GeoLegendPositionControl.d.ts.map
|
package/esm/internal/components/configurationControls/legend/GeoLegendPositionControl.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoLegendPositionControl.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/legend/GeoLegendPositionControl.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAIrF,UAAU,kBAAkB;IACxB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED,MAAM,WAAW,8BAA8B;IAC3C,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,kBAAkB,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"GeoLegendPositionControl.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/legend/GeoLegendPositionControl.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAIrF,UAAU,kBAAkB;IACxB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED,MAAM,WAAW,8BAA8B;IAC3C,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,kBAAkB,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,wBAAwB,wGAMlC,8BAA8B,6CAuC/B,CAAC"}
|
|
@@ -15,6 +15,6 @@ export interface IGeoLegendSectionProps {
|
|
|
15
15
|
defaultLegendEnabled?: boolean;
|
|
16
16
|
pushData?: (data: IGeoLegendPushData) => void;
|
|
17
17
|
}
|
|
18
|
-
export declare const GeoLegendSection: import("react").
|
|
18
|
+
export declare const GeoLegendSection: import("react").MemoExoticComponent<({ controlsDisabled, properties, propertiesMeta, defaultLegendEnabled, pushData, }: IGeoLegendSectionProps) => import("react/jsx-runtime").JSX.Element>;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=GeoLegendSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoLegendSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/legend/GeoLegendSection.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAKrF,KAAK,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;AAE9F,UAAU,kBAAkB;IACxB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED,MAAM,WAAW,sBAAsB;IACnC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACjD;AAED,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"GeoLegendSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/legend/GeoLegendSection.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAKrF,KAAK,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;AAE9F,UAAU,kBAAkB;IACxB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED,MAAM,WAAW,sBAAsB;IACnC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACjD;AAED,eAAO,MAAM,gBAAgB,0HAM1B,sBAAsB,6CA+BvB,CAAC"}
|
|
@@ -6,5 +6,5 @@ export interface ILegendPositionControl {
|
|
|
6
6
|
properties: IVisualizationProperties;
|
|
7
7
|
pushData: (data: any) => any;
|
|
8
8
|
}
|
|
9
|
-
export declare const LegendPositionControl: import("react").
|
|
9
|
+
export declare const LegendPositionControl: import("react").MemoExoticComponent<(props: ILegendPositionControl) => import("react/jsx-runtime").JSX.Element>;
|
|
10
10
|
//# sourceMappingURL=LegendPositionControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendPositionControl.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/legend/LegendPositionControl.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAIrF,MAAM,WAAW,sBAAsB;IACnC,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,qBAAqB,
|
|
1
|
+
{"version":3,"file":"LegendPositionControl.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/legend/LegendPositionControl.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAIrF,MAAM,WAAW,sBAAsB;IACnC,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,qBAAqB,8CAA8C,sBAAsB,6CAkBpG,CAAC"}
|
|
@@ -6,5 +6,5 @@ export interface ILegendSection {
|
|
|
6
6
|
defaultLegendEnabled?: boolean;
|
|
7
7
|
pushData?: (data: any) => any;
|
|
8
8
|
}
|
|
9
|
-
export declare const LegendSection: import("react").
|
|
9
|
+
export declare const LegendSection: import("react").MemoExoticComponent<({ controlsDisabled, properties, propertiesMeta, defaultLegendEnabled, pushData, }: ILegendSection) => import("react/jsx-runtime").JSX.Element>;
|
|
10
10
|
//# sourceMappingURL=LegendSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/legend/LegendSection.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAKrF,MAAM,WAAW,cAAc;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CACjC;AAED,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"LegendSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/legend/LegendSection.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAKrF,MAAM,WAAW,cAAc;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CACjC;AAED,eAAO,MAAM,aAAa,0HAMvB,cAAc,6CA+Bf,CAAC"}
|
|
@@ -5,5 +5,5 @@ export interface ITotalSectionProps {
|
|
|
5
5
|
propertiesMeta: any;
|
|
6
6
|
pushData: (data: any) => any;
|
|
7
7
|
}
|
|
8
|
-
export declare const TotalSection: import("react").
|
|
8
|
+
export declare const TotalSection: import("react").MemoExoticComponent<({ controlsDisabled, properties, propertiesMeta, pushData, }: ITotalSectionProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
9
|
//# sourceMappingURL=TotalSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TotalSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/total/TotalSection.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAMrF,MAAM,WAAW,kBAAkB;IAC/B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,wBAAwB,CAAC;IACrC,cAAc,EAAE,GAAG,CAAC;IACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CAChC;AAID,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"TotalSection.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/configurationControls/total/TotalSection.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAMrF,MAAM,WAAW,kBAAkB;IAC/B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,wBAAwB,CAAC;IACrC,cAAc,EAAE,GAAG,CAAC;IACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;CAChC;AAID,eAAO,MAAM,YAAY,oGAKtB,kBAAkB,6CAkDnB,CAAC"}
|
|
@@ -24,17 +24,13 @@ export class BaseChartConfigurationPanel extends ConfigurationPanelContent {
|
|
|
24
24
|
const { buckets } = insight.insight;
|
|
25
25
|
const stackBy = bucketsById(buckets, BucketNames.STACK);
|
|
26
26
|
const isNotStacked = isEmpty(stackBy);
|
|
27
|
-
return (_jsxs(ConfigSection, { id: "canvas_section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [
|
|
28
|
-
_jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, isTotalsDisabled: controlsDisabled ||
|
|
27
|
+
return (_jsxs(ConfigSection, { id: "canvas_section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, isTotalsDisabled: controlsDisabled ||
|
|
29
28
|
!!properties?.controls?.["stackMeasuresToPercent"] ||
|
|
30
|
-
(isNotStacked && !properties?.controls?.["stackMeasures"]), enableSeparateTotalLabels: true }), _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData })
|
|
31
|
-
] }));
|
|
29
|
+
(isNotStacked && !properties?.controls?.["stackMeasures"]), enableSeparateTotalLabels: true }), _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData })] }));
|
|
32
30
|
}
|
|
33
31
|
renderConfigurationPanel() {
|
|
34
32
|
const { axes } = this.getControlProperties();
|
|
35
|
-
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [
|
|
36
|
-
_jsxs("div", { children: [this.renderColorSection(), this.getBaseChartAxisSection(axes), this.renderLegendSection(), this.renderInteractionsSection(), this.renderCanvasSection(), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })
|
|
37
|
-
] }));
|
|
33
|
+
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.getBaseChartAxisSection(axes), this.renderLegendSection(), this.renderInteractionsSection(), this.renderCanvasSection(), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
|
|
38
34
|
}
|
|
39
35
|
getAxesConfiguration(type) {
|
|
40
36
|
return BASE_CHART_AXIS_CONFIG[type];
|
|
@@ -79,8 +75,7 @@ export class BaseChartConfigurationPanel extends ConfigurationPanelContent {
|
|
|
79
75
|
const disabled = controlsDisabled || (!axis.primary && !isViewedBy);
|
|
80
76
|
const nameSubsectionDisabled = axis.primary && itemsOnAxes[axis.name] > 1;
|
|
81
77
|
const { name, title, subtitle, visible } = axis;
|
|
82
|
-
return (_jsxs(ConfigSection, { id: `${name}_section`, title: title, subtitle: subtitle, valuePath: `${name}.visible`, canBeToggled: true, toggledOn: visible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [
|
|
83
|
-
_jsx(NameSubsection, { disabled: disabled || nameSubsectionDisabled, configPanelDisabled: controlsDisabled, axis: axis.name, properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: disabled, configPanelDisabled: controlsDisabled, axis: axis.name, properties: properties, pushData: pushData, showFormat: axis.primary }), axis.primary ? this.renderMinMax(axis.name) : null] }, name));
|
|
78
|
+
return (_jsxs(ConfigSection, { id: `${name}_section`, title: title, subtitle: subtitle, valuePath: `${name}.visible`, canBeToggled: true, toggledOn: visible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(NameSubsection, { disabled: disabled || nameSubsectionDisabled, configPanelDisabled: controlsDisabled, axis: axis.name, properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: disabled, configPanelDisabled: controlsDisabled, axis: axis.name, properties: properties, pushData: pushData, showFormat: axis.primary }), axis.primary ? this.renderMinMax(axis.name) : null] }, name));
|
|
84
79
|
});
|
|
85
80
|
}
|
|
86
81
|
renderMinMax(basePath) {
|
|
@@ -25,13 +25,7 @@ export class BubbleChartConfigurationPanel extends ConfigurationPanelContent {
|
|
|
25
25
|
const { xaxis: itemsOnXAxis, yaxis: itemsOnYAxis } = countItemsOnAxes(type, controls, insight);
|
|
26
26
|
const xAxisNameSectionDisabled = controlsDisabled || itemsOnXAxis !== 1;
|
|
27
27
|
const yAxisNameSectionDisabled = controlsDisabled || itemsOnYAxis !== 1;
|
|
28
|
-
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [
|
|
29
|
-
_jsxs("div", { children: [this.renderColorSection(), _jsxs(ConfigSection, { id: "xaxis_section", title: messages["xaxisTitle"].id, valuePath: "xaxis.visible", canBeToggled: true, toggledOn: xAxisVisible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [
|
|
30
|
-
_jsx(NameSubsection, { disabled: xAxisNameSectionDisabled, configPanelDisabled: controlsDisabled, axis: "xaxis", properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: controlsDisabled, configPanelDisabled: controlsDisabled, axis: "xaxis", properties: properties, pushData: pushData, showFormat: true }), this.renderMinMax("xaxis")] }), _jsxs(ConfigSection, { id: "yaxis_section", title: messages["yaxisTitle"].id, valuePath: "yaxis.visible", canBeToggled: true, toggledOn: yAxisVisible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [
|
|
31
|
-
_jsx(NameSubsection, { disabled: yAxisNameSectionDisabled, configPanelDisabled: controlsDisabled, axis: "yaxis", properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: controlsDisabled, configPanelDisabled: controlsDisabled, axis: "yaxis", properties: properties, pushData: pushData, showFormat: true }), this.renderMinMax("yaxis")] }), this.renderLegendSection(), this.renderInteractionsSection(), _jsxs(ConfigSection, { id: "canvas_section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [
|
|
32
|
-
_jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: this.areDataLabelsDisabled(), defaultValue: false, showDisabledMessage: this.isDataLabelsWarningShown() }), _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData })
|
|
33
|
-
] }), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })
|
|
34
|
-
] }));
|
|
28
|
+
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), _jsxs(ConfigSection, { id: "xaxis_section", title: messages["xaxisTitle"].id, valuePath: "xaxis.visible", canBeToggled: true, toggledOn: xAxisVisible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(NameSubsection, { disabled: xAxisNameSectionDisabled, configPanelDisabled: controlsDisabled, axis: "xaxis", properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: controlsDisabled, configPanelDisabled: controlsDisabled, axis: "xaxis", properties: properties, pushData: pushData, showFormat: true }), this.renderMinMax("xaxis")] }), _jsxs(ConfigSection, { id: "yaxis_section", title: messages["yaxisTitle"].id, valuePath: "yaxis.visible", canBeToggled: true, toggledOn: yAxisVisible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(NameSubsection, { disabled: yAxisNameSectionDisabled, configPanelDisabled: controlsDisabled, axis: "yaxis", properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: controlsDisabled, configPanelDisabled: controlsDisabled, axis: "yaxis", properties: properties, pushData: pushData, showFormat: true }), this.renderMinMax("yaxis")] }), this.renderLegendSection(), this.renderInteractionsSection(), _jsxs(ConfigSection, { id: "canvas_section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: this.areDataLabelsDisabled(), defaultValue: false, showDisabledMessage: this.isDataLabelsWarningShown() }), _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData })] }), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
|
|
35
29
|
}
|
|
36
30
|
renderMinMax(basePath) {
|
|
37
31
|
const { pushData, properties, propertiesMeta } = this.props;
|
|
@@ -23,12 +23,7 @@ export class BulletChartConfigurationPanel extends ConfigurationPanelContent {
|
|
|
23
23
|
const { xaxis: itemsOnXAxis, yaxis: itemsOnYAxis } = countItemsOnAxes(type, controls, insight);
|
|
24
24
|
const xAxisNameSectionDisabled = controlsDisabled || itemsOnXAxis !== 1;
|
|
25
25
|
const yAxisNameSubsectionDisabled = controlsDisabled || itemsOnYAxis === 0;
|
|
26
|
-
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [
|
|
27
|
-
_jsxs("div", { children: [this.renderColorSection(), _jsxs(ConfigSection, { id: "xaxis_section", title: messages["xaxisTitle"].id, valuePath: "xaxis.visible", canBeToggled: true, toggledOn: xAxisVisible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [
|
|
28
|
-
_jsx(NameSubsection, { disabled: xAxisNameSectionDisabled, configPanelDisabled: controlsDisabled, axis: "xaxis", properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: controlsDisabled, configPanelDisabled: controlsDisabled, axis: "xaxis", properties: properties, pushData: pushData, showFormat: true }), this.renderMinMax("xaxis")] }), _jsxs(ConfigSection, { id: "yaxis_section", title: messages["yaxisTitle"].id, valuePath: "yaxis.visible", canBeToggled: true, toggledOn: yAxisVisible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [
|
|
29
|
-
_jsx(NameSubsection, { disabled: yAxisNameSubsectionDisabled, configPanelDisabled: controlsDisabled, axis: "yaxis", properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: controlsDisabled || itemsOnYAxis === 0, configPanelDisabled: controlsDisabled, axis: "yaxis", properties: properties, pushData: pushData })
|
|
30
|
-
] }), this.renderLegendSection(), this.renderInteractionsSection(), _jsx(ConfigSection, { id: "canvas_section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData }) }), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })
|
|
31
|
-
] }));
|
|
26
|
+
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), _jsxs(ConfigSection, { id: "xaxis_section", title: messages["xaxisTitle"].id, valuePath: "xaxis.visible", canBeToggled: true, toggledOn: xAxisVisible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(NameSubsection, { disabled: xAxisNameSectionDisabled, configPanelDisabled: controlsDisabled, axis: "xaxis", properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: controlsDisabled, configPanelDisabled: controlsDisabled, axis: "xaxis", properties: properties, pushData: pushData, showFormat: true }), this.renderMinMax("xaxis")] }), _jsxs(ConfigSection, { id: "yaxis_section", title: messages["yaxisTitle"].id, valuePath: "yaxis.visible", canBeToggled: true, toggledOn: yAxisVisible, toggleDisabled: controlsDisabled, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(NameSubsection, { disabled: yAxisNameSubsectionDisabled, configPanelDisabled: controlsDisabled, axis: "yaxis", properties: properties, pushData: pushData }), _jsx(LabelSubsection, { disabled: controlsDisabled || itemsOnYAxis === 0, configPanelDisabled: controlsDisabled, axis: "yaxis", properties: properties, pushData: pushData })] }), this.renderLegendSection(), this.renderInteractionsSection(), _jsx(ConfigSection, { id: "canvas_section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: _jsx(CheckboxControl, { valuePath: "grid.enabled", labelText: messages["canvasGridLine"].id, properties: properties, checked: gridEnabled, disabled: controlsDisabled, pushData: pushData }) }), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
|
|
32
27
|
}
|
|
33
28
|
renderMinMax(basePath) {
|
|
34
29
|
const { pushData, properties, propertiesMeta } = this.props;
|
|
@@ -11,9 +11,7 @@ export class FunnelChartConfigurationPanel extends ConfigurationPanelContent {
|
|
|
11
11
|
renderConfigurationPanel() {
|
|
12
12
|
const { propertiesMeta, properties, pushData } = this.props;
|
|
13
13
|
const controlsDisabled = this.isControlDisabled();
|
|
14
|
-
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [
|
|
15
|
-
_jsxs("div", { children: [this.renderColorSection(), this.renderLegendSection(), this.renderInteractionsSection(), _jsx(ConfigSection, { id: "canvas_section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: _jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, defaultValue: "auto", enablePercentLabels: true }) }), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })
|
|
16
|
-
] }));
|
|
14
|
+
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.renderLegendSection(), this.renderInteractionsSection(), _jsx(ConfigSection, { id: "canvas_section", title: messages["canvasTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: _jsx(DataLabelsControl, { pushData: pushData, properties: properties, isDisabled: controlsDisabled, defaultValue: "auto", enablePercentLabels: true }) }), this.renderCustomTooltipSection(), this.renderAdvancedSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
|
|
17
15
|
}
|
|
18
16
|
getBubbleClassNames() {
|
|
19
17
|
return cx("bubble-primary", {
|
|
@@ -65,8 +65,7 @@ export class GeoPushpinConfigurationPanel extends ConfigurationPanelContent {
|
|
|
65
65
|
const isClusteringDisabled = isControlDisabled || !isPushpinClusteringEditable(insight, shapeType);
|
|
66
66
|
const isPushpinSizeControlDisabled = isControlDisabled || !hasSizeMeasure(insight);
|
|
67
67
|
const hasSizeOrColorMeasure = hasSizeMeasure(insight) || hasColorMeasure(insight);
|
|
68
|
-
return (_jsxs(ConfigSection, { id: "points_section", title: messages["pointsTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [
|
|
69
|
-
_jsx(CheckboxControl, { valuePath: "points.groupNearbyPoints", labelText: messages["pointsGroupNearbyPoints"].id, properties: properties, checked: groupNearbyPoints, disabled: isClusteringDisabled, showDisabledMessage: isClusteringDisabled, pushData: pushData }), iconEnabled ? (_jsx(PushpinShapeControl, { properties: properties, disabled: isControlDisabled, pushData: pushData, spriteIcons: spriteIcons, hasGeoIconLabel: hasGeoIconLabel, hasSizeOrColorMeasure: hasSizeOrColorMeasure })) : null, shouldRenderPushpinSizeControl ? (_jsx(PushpinSizeControl, { properties: properties, disabled: isPushpinSizeControlDisabled, pushData: pushData })) : null] }));
|
|
68
|
+
return (_jsxs(ConfigSection, { id: "points_section", title: messages["pointsTitle"].id, propertiesMeta: propertiesMeta, properties: properties, pushData: pushData, children: [_jsx(CheckboxControl, { valuePath: "points.groupNearbyPoints", labelText: messages["pointsGroupNearbyPoints"].id, properties: properties, checked: groupNearbyPoints, disabled: isClusteringDisabled, showDisabledMessage: isClusteringDisabled, pushData: pushData }), iconEnabled ? (_jsx(PushpinShapeControl, { properties: properties, disabled: isControlDisabled, pushData: pushData, spriteIcons: spriteIcons, hasGeoIconLabel: hasGeoIconLabel, hasSizeOrColorMeasure: hasSizeOrColorMeasure })) : null, shouldRenderPushpinSizeControl ? (_jsx(PushpinSizeControl, { properties: properties, disabled: isPushpinSizeControlDisabled, pushData: pushData })) : null] }));
|
|
70
69
|
}
|
|
71
70
|
isControlDisabled() {
|
|
72
71
|
const { insight, isError, isLoading } = this.props;
|
|
@@ -78,9 +77,7 @@ export class GeoPushpinConfigurationPanel extends ConfigurationPanelContent {
|
|
|
78
77
|
});
|
|
79
78
|
}
|
|
80
79
|
renderConfigurationPanel() {
|
|
81
|
-
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [
|
|
82
|
-
_jsxs("div", { children: [this.renderColorSection(), this.renderLegendSection(), this.renderViewportSection(), this.renderPointsSection(), this.renderCustomTooltipSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })
|
|
83
|
-
] }));
|
|
80
|
+
return (_jsxs(BubbleHoverTrigger, { showDelay: SHOW_DELAY_DEFAULT, hideDelay: HIDE_DELAY_DEFAULT, children: [_jsxs("div", { children: [this.renderColorSection(), this.renderLegendSection(), this.renderViewportSection(), this.renderPointsSection(), this.renderCustomTooltipSection()] }), _jsx(Bubble, { className: this.getBubbleClassNames(), arrowOffsets: { "tc bc": [BUBBLE_ARROW_OFFSET_X, BUBBLE_ARROW_OFFSET_Y] }, alignPoints: [{ align: "tc bc" }], children: _jsx(FormattedMessage, { id: "properties.config.not_applicable" }) })] }));
|
|
84
81
|
}
|
|
85
82
|
renderColorSection() {
|
|
86
83
|
const { properties, propertiesMeta, pushData, colors, references, isLoading } = this.props;
|