@gooddata/sdk-ui-ext 11.68.0-alpha.0 → 11.68.0-alpha.10
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 +8338 -63070
- package/esm/insightPicker/InsightPickerCore.d.ts +1 -1
- package/esm/insightPicker/InsightPickerCore.d.ts.map +1 -1
- package/esm/insightPicker/InsightPickerCore.js +8 -6
- package/esm/insightPicker/InsightPickerMenu.d.ts +1 -1
- package/esm/insightPicker/InsightPickerMenu.d.ts.map +1 -1
- package/esm/insightPicker/InsightPickerMenu.js +5 -1
- package/esm/insightPicker/types.d.ts +5 -1
- package/esm/insightPicker/types.d.ts.map +1 -1
- package/esm/insightPicker/useInsightPickerHybridSearch.d.ts.map +1 -1
- package/esm/insightPicker/useInsightPickerHybridSearch.js +2 -0
- package/esm/insightView/InsightRenderer.d.ts.map +1 -1
- package/esm/insightView/InsightRenderer.js +4 -4
- package/esm/internal/components/BaseVisualization.d.ts.map +1 -1
- package/esm/internal/components/BaseVisualization.js +7 -7
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.js +2 -2
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.js +4 -4
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.js +2 -2
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts.map +1 -1
- package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.js +2 -2
- package/esm/internal/components/configurationControls/CheckboxControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/CheckboxControl.js +3 -3
- package/esm/internal/components/configurationControls/ConfigSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/ConfigSection.js +3 -3
- package/esm/internal/components/configurationControls/ConfigSubsection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/ConfigSubsection.js +3 -3
- package/esm/internal/components/configurationControls/ContinuousLineControl.js +3 -3
- package/esm/internal/components/configurationControls/DistintcPointShapesControl.js +3 -3
- package/esm/internal/components/configurationControls/DropdownControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/DropdownControl.js +3 -3
- package/esm/internal/components/configurationControls/GeoViewportControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/GeoViewportControl.js +14 -14
- package/esm/internal/components/configurationControls/InputControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/InputControl.js +4 -4
- package/esm/internal/components/configurationControls/LineShapeControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/LineShapeControl.js +3 -2
- package/esm/internal/components/configurationControls/PagingSection.js +5 -5
- package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.js +3 -3
- package/esm/internal/components/configurationControls/PushpinShapeControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/PushpinShapeControl.js +5 -5
- package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/advanced/AdvancedSection.js +3 -3
- package/esm/internal/components/configurationControls/colors/ColorsSection.js +3 -3
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.js +4 -4
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.js +3 -3
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.js +6 -6
- package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +3 -3
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +2 -2
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +3 -3
- package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.js +3 -3
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts +1 -2
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/interactions/InteractionsSection.js +2 -2
- package/esm/internal/components/configurationControls/total/TotalSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/total/TotalSection.js +4 -4
- package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.js +2 -2
- package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/ConfigurationPanelContent.js +1 -2
- package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js +1 -1
- package/esm/internal/components/configurationPanels/UnsupportedConfigurationPanel.js +2 -2
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.js +3 -3
- package/esm/internal/components/dialogs/userManagementDialogs/types.d.ts.map +1 -1
- package/esm/internal/components/dialogs/userManagementDialogs/types.js +6 -6
- package/esm/internal/components/insightList/useInsightPagedList.d.ts.map +1 -1
- package/esm/internal/components/insightList/useInsightPagedList.js +3 -3
- package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.js +4 -4
- package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.js +3 -4
- package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.js +6 -6
- package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.js +7 -7
- package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js +9 -8
- package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.js +4 -5
- package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.js +3 -3
- package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.js +7 -7
- package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js +6 -6
- package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.js +5 -4
- package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.js +4 -5
- package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +8 -9
- package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.js +15 -16
- package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.js +8 -8
- package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.js +2 -3
- package/esm/internal/components/pluggableVisualizations/headline/headlineBucketHelper.js +3 -3
- package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.js +8 -7
- package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.js +8 -8
- package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.js +11 -11
- package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.js +8 -8
- package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.js +5 -5
- package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.js +2 -2
- package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableConfigFromInsight.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableConfigFromInsight.js +6 -6
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.js +4 -5
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.js +2 -2
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.js +2 -2
- package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.js +4 -4
- package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.js +6 -7
- package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.js +3 -4
- package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.js +5 -6
- package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.js +6 -5
- package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.js +11 -11
- package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.js +2 -3
- package/esm/internal/interfaces/Visualization.d.ts.map +1 -1
- package/esm/internal/interfaces/Visualization.js +6 -6
- package/esm/internal/translations/en-US.localization-bundle.d.ts +28 -0
- package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-US.localization-bundle.js +29 -1
- package/esm/internal/translations/fr-CA.localization-bundle.js +1 -1
- package/esm/internal/translations/it-IT.localization-bundle.js +2 -2
- package/esm/internal/translations/ru-RU.localization-bundle.js +1 -1
- package/esm/internal/translations/tr-TR.localization-bundle.js +1 -1
- package/esm/internal/translations/zh-Hant.localization-bundle.js +4 -4
- package/esm/internal/utils/bucketConfig.d.ts.map +1 -1
- package/esm/internal/utils/bucketConfig.js +5 -5
- package/esm/internal/utils/bucketHelper.d.ts.map +1 -1
- package/esm/internal/utils/bucketHelper.js +15 -14
- package/esm/internal/utils/bucketRules.d.ts.map +1 -1
- package/esm/internal/utils/bucketRules.js +3 -2
- package/esm/internal/utils/colors.d.ts.map +1 -1
- package/esm/internal/utils/colors.js +11 -11
- package/esm/internal/utils/controlsHelper.d.ts.map +1 -1
- package/esm/internal/utils/controlsHelper.js +7 -7
- package/esm/internal/utils/dimensions.d.ts.map +1 -1
- package/esm/internal/utils/dimensions.js +4 -4
- package/esm/internal/utils/drillablePredicates.d.ts.map +1 -1
- package/esm/internal/utils/drillablePredicates.js +4 -4
- package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.d.ts.map +1 -1
- package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.js +11 -10
- package/esm/internal/utils/propertiesHelper.d.ts.map +1 -1
- package/esm/internal/utils/propertiesHelper.js +16 -15
- package/esm/internal/utils/removeUseless.js +3 -3
- package/esm/internal/utils/sort.d.ts.map +1 -1
- package/esm/internal/utils/sort.js +9 -8
- package/esm/internal/utils/translations.d.ts.map +1 -1
- package/esm/internal/utils/translations.js +2 -3
- package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.js +10 -10
- package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.js +19 -19
- package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.js +8 -8
- package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.js +2 -2
- package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.js +6 -6
- package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.js +8 -8
- package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.js +10 -10
- package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.js +6 -6
- package/esm/internal/utils/uiConfigHelpers/donutChartUiConfigHelper.js +5 -5
- package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.js +6 -6
- package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.js +3 -3
- package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.js +15 -15
- package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.js +10 -10
- package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.js +7 -7
- package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.js +13 -13
- package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.js +7 -7
- package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.js +12 -12
- package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.js +14 -14
- package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.js +14 -14
- package/esm/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.js +5 -5
- package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.js +13 -13
- package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.js +14 -14
- package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.js +10 -10
- package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.js +8 -8
- package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.js +12 -12
- package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.js +11 -11
- package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.d.ts.map +1 -1
- package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.js +5 -5
- package/esm/notificationsPanel/Notification/Notification.d.ts.map +1 -1
- package/esm/notificationsPanel/Notification/Notification.js +4 -4
- package/esm/sdk-ui-ext.d.ts +6 -2
- package/esm/share/ObjectShareDialog.d.ts +1 -1
- package/esm/share/ObjectShareDialog.js +3 -3
- package/esm/share/messages.d.ts +28 -0
- package/esm/share/messages.d.ts.map +1 -1
- package/esm/share/messages.js +14 -0
- package/esm/share/removeAccessConfirm.d.ts +21 -0
- package/esm/share/removeAccessConfirm.d.ts.map +1 -0
- package/esm/share/removeAccessConfirm.js +27 -0
- package/esm/share/useObjectShareDialog.d.ts +14 -11
- package/esm/share/useObjectShareDialog.d.ts.map +1 -1
- package/esm/share/useObjectShareDialog.js +54 -24
- package/package.json +21 -21
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type IInsightPickerProps } from "./types.js";
|
|
2
|
-
export declare function InsightPickerCore({ backend: backendProp, workspace: workspaceProp, includeTags, excludeTags, author, enabledVisualizationClassesUrls, selectedInsightId, metadataTimeZone, searchQuery, onSearchChange, sortBy, sortDirection, onSortChange, authorFilter, onAuthorFilterChange, isAuthorFilterModified, tagFilter, onTagFilterChange, enableSemanticSearch, maxHeight, width, onSelect, onDescriptionPanelOpen, onItemActivate, menuActions, renderMenu, renderItem: renderItemProp, }: IInsightPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function InsightPickerCore({ backend: backendProp, workspace: workspaceProp, includeTags, excludeTags, author, enabledVisualizationClassesUrls, selectedInsightId, metadataTimeZone, searchQuery, onSearchChange, sortBy, sortDirection, onSortChange, authorFilter, onAuthorFilterChange, isAuthorFilterModified, tagFilter, onTagFilterChange, enableSemanticSearch, includePermissions, maxHeight, width, onSelect, onDescriptionPanelOpen, onItemActivate, menuActions, renderMenu, renderItem: renderItemProp, }: IInsightPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=InsightPickerCore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightPickerCore.d.ts","sourceRoot":"","sources":["../../src/insightPicker/InsightPickerCore.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAA2B,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA+B/E,wBAAgB,iBAAiB,CAAC,EAC9B,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,aAAa,EACxB,WAAW,EACX,WAAW,EACX,MAAM,EACN,+BAAoC,EACpC,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,MAAM,EACN,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,oBAA4B,EAC5B,SAAe,EACf,KAAW,EACX,QAAQ,EACR,sBAAsB,EACtB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EAAE,cAAc,GAC7B,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"InsightPickerCore.d.ts","sourceRoot":"","sources":["../../src/insightPicker/InsightPickerCore.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAA2B,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA+B/E,wBAAgB,iBAAiB,CAAC,EAC9B,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,aAAa,EACxB,WAAW,EACX,WAAW,EACX,MAAM,EACN,+BAAoC,EACpC,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,MAAM,EACN,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EACtB,SAAS,EACT,iBAAiB,EACjB,oBAA4B,EAC5B,kBAA0B,EAC1B,SAAe,EACf,KAAW,EACX,QAAQ,EACR,sBAAsB,EACtB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EAAE,cAAc,GAC7B,EAAE,mBAAmB,2CA4SrB"}
|
|
@@ -32,7 +32,7 @@ function useDebouncedSearchQuery(searchQuery, delayMs) {
|
|
|
32
32
|
}
|
|
33
33
|
const ITEM_HEIGHT = 50;
|
|
34
34
|
const SUGGESTIONS_HEADER_HEIGHT = 30;
|
|
35
|
-
export function InsightPickerCore({ backend: backendProp, workspace: workspaceProp, includeTags, excludeTags, author, enabledVisualizationClassesUrls = [], selectedInsightId, metadataTimeZone, searchQuery, onSearchChange, sortBy, sortDirection, onSortChange, authorFilter, onAuthorFilterChange, isAuthorFilterModified, tagFilter, onTagFilterChange, enableSemanticSearch = false, maxHeight = 350, width = 700, onSelect, onDescriptionPanelOpen, onItemActivate, menuActions, renderMenu, renderItem: renderItemProp, }) {
|
|
35
|
+
export function InsightPickerCore({ backend: backendProp, workspace: workspaceProp, includeTags, excludeTags, author, enabledVisualizationClassesUrls = [], selectedInsightId, metadataTimeZone, searchQuery, onSearchChange, sortBy, sortDirection, onSortChange, authorFilter, onAuthorFilterChange, isAuthorFilterModified, tagFilter, onTagFilterChange, enableSemanticSearch = false, includePermissions = false, maxHeight = 350, width = 700, onSelect, onDescriptionPanelOpen, onItemActivate, menuActions, renderMenu, renderItem: renderItemProp, }) {
|
|
36
36
|
const intl = useIntl();
|
|
37
37
|
const backend = useBackendStrict(backendProp);
|
|
38
38
|
const workspace = useWorkspaceStrict(workspaceProp);
|
|
@@ -61,6 +61,7 @@ export function InsightPickerCore({ backend: backendProp, workspace: workspacePr
|
|
|
61
61
|
sortDirection,
|
|
62
62
|
createdByFilter: authorFilter.length > 0 ? authorFilter : undefined,
|
|
63
63
|
includeAuthorInfo: true,
|
|
64
|
+
includePermissions,
|
|
64
65
|
searchTerm: debouncedSearchQuery,
|
|
65
66
|
});
|
|
66
67
|
// Fetch on mount
|
|
@@ -73,7 +74,7 @@ export function InsightPickerCore({ backend: backendProp, workspace: workspacePr
|
|
|
73
74
|
const tagFilterKey = tagFilter.join(",");
|
|
74
75
|
const searchKey = debouncedSearchQuery;
|
|
75
76
|
// Holds the filters the loaded items belong to. The reload effect below advances it.
|
|
76
|
-
const prevKeys = useRef({ sortingKey, authorFilterKey, tagFilterKey, searchKey });
|
|
77
|
+
const prevKeys = useRef({ sortingKey, authorFilterKey, tagFilterKey, searchKey, includePermissions });
|
|
77
78
|
// The picker opens filtered to the current user. A user who authored nothing would face an
|
|
78
79
|
// empty picker, so drop that default and let the reload below fetch every author. The filter
|
|
79
80
|
// state must change, not just one query: every page is fetched from this state.
|
|
@@ -108,17 +109,18 @@ export function InsightPickerCore({ backend: backendProp, workspace: workspacePr
|
|
|
108
109
|
tagFilterKey,
|
|
109
110
|
searchKey,
|
|
110
111
|
]);
|
|
111
|
-
// Reload when sorting, filters
|
|
112
|
+
// Reload when sorting, filters, the search term or the permissions request change (after initial load)
|
|
112
113
|
useEffect(() => {
|
|
113
114
|
const prev = prevKeys.current;
|
|
114
115
|
if (sortingKey !== prev.sortingKey ||
|
|
115
116
|
authorFilterKey !== prev.authorFilterKey ||
|
|
116
117
|
tagFilterKey !== prev.tagFilterKey ||
|
|
117
|
-
searchKey !== prev.searchKey
|
|
118
|
-
|
|
118
|
+
searchKey !== prev.searchKey ||
|
|
119
|
+
includePermissions !== prev.includePermissions) {
|
|
120
|
+
prevKeys.current = { sortingKey, authorFilterKey, tagFilterKey, searchKey, includePermissions };
|
|
119
121
|
resetItems();
|
|
120
122
|
}
|
|
121
|
-
}, [sortingKey, authorFilterKey, tagFilterKey, searchKey, resetItems]);
|
|
123
|
+
}, [sortingKey, authorFilterKey, tagFilterKey, searchKey, includePermissions, resetItems]);
|
|
122
124
|
// --- Insight lookup ---
|
|
123
125
|
const insightsByIdentifier = useMemo(() => new Map(insights.map((insight) => [insightId(insight), insight])), [insights]);
|
|
124
126
|
// --- Hybrid search ---
|
|
@@ -5,6 +5,6 @@ interface IInsightPickerMenuComponentProps {
|
|
|
5
5
|
menuActions?: IInsightPickerMenuAction[];
|
|
6
6
|
renderMenu?: (props: IInsightPickerMenuProps) => ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare function InsightPickerMenu({ item, menuActions, renderMenu }: IInsightPickerMenuComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function InsightPickerMenu({ item, menuActions, renderMenu }: IInsightPickerMenuComponentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=InsightPickerMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightPickerMenu.d.ts","sourceRoot":"","sources":["../../src/insightPicker/InsightPickerMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOjD,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC/B,MAAM,YAAY,CAAC;AAEpB,UAAU,gCAAgC;IACtC,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACzC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,SAAS,CAAC;CAC9D;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE,gCAAgC,
|
|
1
|
+
{"version":3,"file":"InsightPickerMenu.d.ts","sourceRoot":"","sources":["../../src/insightPicker/InsightPickerMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOjD,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC/B,MAAM,YAAY,CAAC;AAEpB,UAAU,gCAAgC;IACtC,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACzC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,SAAS,CAAC;CAC9D;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE,gCAAgC,kDA0DpG"}
|
|
@@ -6,11 +6,15 @@ import { Dropdown, ItemsWrapper, SingleSelectListItem, UiIconButton } from "@goo
|
|
|
6
6
|
import { messages } from "./messages.js";
|
|
7
7
|
export function InsightPickerMenu({ item, menuActions, renderMenu }) {
|
|
8
8
|
const intl = useIntl();
|
|
9
|
+
const actions = menuActions?.filter((action) => action.isAvailable?.(item) ?? true) ?? [];
|
|
10
|
+
if (!renderMenu && actions.length === 0) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
9
13
|
return (_jsx(Dropdown, { alignPoints: [{ align: "br tr" }, { align: "tr br" }], renderButton: ({ toggleDropdown, isOpen }) => (_jsx(UiIconButton, { icon: "ellipsis", label: intl.formatMessage(messages.menuActions), size: "xlarge", variant: "table", isActive: isOpen, dataId: "menu-button", onClick: toggleDropdown })), renderBody: ({ closeDropdown }) => {
|
|
10
14
|
if (renderMenu) {
|
|
11
15
|
return renderMenu({ item, closeMenu: closeDropdown });
|
|
12
16
|
}
|
|
13
|
-
return (_jsx(ItemsWrapper, { smallItemsSpacing: true, children:
|
|
17
|
+
return (_jsx(ItemsWrapper, { smallItemsSpacing: true, children: actions.map((action, index) => (_jsxs(Fragment, { children: [action.hasSeparator && index > 0 ? (_jsx(SingleSelectListItem, { type: "separator", accessibilityConfig: { role: "separator" } })) : null, _jsx(SingleSelectListItem, { className: action.isDestructive
|
|
14
18
|
? "gd-ui-ext-insight-picker-menu-destructive"
|
|
15
19
|
: undefined, title: action.title, onClick: () => {
|
|
16
20
|
closeDropdown();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactElement, type ReactNode } from "react";
|
|
2
2
|
import { type IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
3
|
-
import { type IInsight, type ObjRef } from "@gooddata/sdk-model";
|
|
3
|
+
import { type AccessGranularPermission, type IInsight, type ObjRef } from "@gooddata/sdk-model";
|
|
4
4
|
import { type ILocale } from "@gooddata/sdk-ui";
|
|
5
5
|
/**
|
|
6
6
|
* Sort field for the insight picker.
|
|
@@ -26,6 +26,8 @@ export interface IInsightPickerItem {
|
|
|
26
26
|
created?: string;
|
|
27
27
|
updated?: string;
|
|
28
28
|
visualizationUrl: string;
|
|
29
|
+
permissions?: AccessGranularPermission[];
|
|
30
|
+
isRelated?: boolean;
|
|
29
31
|
}
|
|
30
32
|
/**
|
|
31
33
|
* Menu action for the insight picker's three-dots menu.
|
|
@@ -35,6 +37,7 @@ export interface IInsightPickerMenuAction {
|
|
|
35
37
|
id: string;
|
|
36
38
|
title: string;
|
|
37
39
|
onClick: (item: IInsightPickerItem) => void;
|
|
40
|
+
isAvailable?: (item: IInsightPickerItem) => boolean;
|
|
38
41
|
isDestructive?: boolean;
|
|
39
42
|
hasSeparator?: boolean;
|
|
40
43
|
}
|
|
@@ -87,6 +90,7 @@ export interface IInsightPickerProps {
|
|
|
87
90
|
* `enableCatalogSmartSearchResults` flag this is gated on, so it defaults to off.
|
|
88
91
|
*/
|
|
89
92
|
enableSemanticSearch?: boolean;
|
|
93
|
+
includePermissions?: boolean;
|
|
90
94
|
maxHeight?: number;
|
|
91
95
|
width?: number;
|
|
92
96
|
searchQuery: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/insightPicker/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceR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,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACpD;;;;OAIG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAGhC,gDAAgD;IAChD,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAG9C,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACjE,sBAAsB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,aAAa,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;IAG9E,WAAW,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACzC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,SAAS,CAAC;IAC3D,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,6BAA6B,KAAK,YAAY,CAAC;CACvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInsightPickerHybridSearch.d.ts","sourceRoot":"","sources":["../../src/insightPicker/useInsightPickerHybridSearch.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,QAAQ,EAWhB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"useInsightPickerHybridSearch.d.ts","sourceRoot":"","sources":["../../src/insightPicker/useInsightPickerHybridSearch.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,QAAQ,EAWhB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAuBrD,UAAU,oCAAoC;IAC1C,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,EACzC,QAAQ,EACR,WAAW,EACX,cAAc,EACd,oBAA4B,EAC5B,WAAW,EACX,WAAW,GACd,EAAE,oCAAoC;;;;;;gCA+CvB,MAAM;EAoCrB"}
|
|
@@ -9,6 +9,7 @@ const insightItemBuilder = (item, { ref }) => ({
|
|
|
9
9
|
description: item.description,
|
|
10
10
|
identifier: item.id,
|
|
11
11
|
isLocked: false,
|
|
12
|
+
isRelated: true,
|
|
12
13
|
created: item.createdAt,
|
|
13
14
|
updated: item.modifiedAt ?? item.createdAt,
|
|
14
15
|
visualizationUrl: item.visualizationUrl ?? "",
|
|
@@ -29,6 +30,7 @@ export function useInsightPickerHybridSearch({ insights, searchQuery, onSearchCh
|
|
|
29
30
|
created: insightCreated(insight),
|
|
30
31
|
updated: insightUpdated(insight),
|
|
31
32
|
visualizationUrl: insightVisualizationUrl(insight),
|
|
33
|
+
permissions: insight.insight.permissions,
|
|
32
34
|
})), [insights]);
|
|
33
35
|
const matcher = useMemo(() => customMatcher(["title", "description", "identifier"]), []);
|
|
34
36
|
const { searchState, semanticSearchState, search: hybridSearch, onSearchQueryChange: setHybridSearchQuery, } = useHybridSearch({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightRenderer.d.ts","sourceRoot":"","sources":["../../src/insightView/InsightRenderer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InsightRenderer.d.ts","sourceRoot":"","sources":["../../src/insightView/InsightRenderer.tsx"],"names":[],"mappings":"AAWA,OAAO,EAGH,KAAK,sBAAsB,EAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,qBAAqB,EAM7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAKH,KAAK,OAAO,EACZ,KAAK,aAAa,EAGlB,KAAK,OAAO,EAMf,MAAM,kBAAkB,CAAC;AAK1B,OAAO,EAGH,KAAK,iBAAiB,EAKzB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAC/C,iBAAiB,EACjB,SAAS,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,WAAW,CACjE;IACG,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC7C,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,YAAY,EAAE,aAAa,GAAG,SAAS,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB;;;OAGG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;CAC3B;AAiYD,eAAO,MAAM,mBAAmB;cA/XoC,aAAa;EA+Xb,CAAC;AAwBrE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,qBAAqB,kDAuC3D"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2020-2026 GoodData Corporation
|
|
3
3
|
import { memo, useCallback, useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
4
|
-
import { isEqual } from "lodash-es";
|
|
5
4
|
import { createRoot } from "react-dom/client";
|
|
6
5
|
import { v4 as uuidv4 } from "uuid";
|
|
7
6
|
import { ExecutionFactoryUpgradingToExecByReference, ExecutionFactoryWithFixedFilters, } from "@gooddata/sdk-backend-base";
|
|
@@ -9,6 +8,7 @@ import { insightProperties, insightSetProperties, insightTitle, insightVisualiza
|
|
|
9
8
|
import { DefaultLocale, ErrorComponent, IntlWrapper, LoadingComponent, fillMissingFormats, fillMissingTitlesWithMessages, ignoreTitlesForSimpleMeasures, useResolveMessages, withContexts, } from "@gooddata/sdk-ui";
|
|
10
9
|
import { OverlayZIndexContext, useContainingOverlayZIndex } from "@gooddata/sdk-ui-kit";
|
|
11
10
|
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
11
|
+
import { _isEqual } from "@gooddata/util";
|
|
12
12
|
import { DEFAULT_MESSAGES, FullVisualizationCatalog, resolveMessages, } from "../internal/index.js";
|
|
13
13
|
const getElementId = () => `gd-vis-${uuidv4()}`;
|
|
14
14
|
const visualizationUriRootStyle = {
|
|
@@ -241,9 +241,9 @@ const InsightRendererCore = memo(function InsightRendererCore(props) {
|
|
|
241
241
|
*/
|
|
242
242
|
const prevInsightForCompare = prevProps.insight && insightSetProperties(prevProps.insight, {});
|
|
243
243
|
const newInsightForCompare = currentProps.insight && insightSetProperties(currentProps.insight, {});
|
|
244
|
-
const needsNewSetup = !
|
|
245
|
-
!
|
|
246
|
-
!
|
|
244
|
+
const needsNewSetup = !_isEqual(newInsightForCompare, prevInsightForCompare) ||
|
|
245
|
+
!_isEqual(currentProps.filters, prevProps.filters) ||
|
|
246
|
+
!_isEqual(currentProps.settings, prevProps.settings) ||
|
|
247
247
|
currentProps.workspace !== prevProps.workspace;
|
|
248
248
|
if (needsNewSetup) {
|
|
249
249
|
setupVisualization();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseVisualization.d.ts","sourceRoot":"","sources":["../../../src/internal/components/BaseVisualization.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseVisualization.d.ts","sourceRoot":"","sources":["../../../src/internal/components/BaseVisualization.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,kBAAkB,EAEvB,KAAK,kBAAk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2HA+c7B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2019-2026 GoodData Corporation
|
|
3
3
|
import { forwardRef, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from "react";
|
|
4
|
-
import { isEmpty, isEqual, omit } from "lodash-es";
|
|
5
4
|
import { createRoot } from "react-dom/client";
|
|
6
5
|
import { v4 as uuidv4 } from "uuid";
|
|
7
6
|
import { insightProperties, isInsight, visClassUrl, } from "@gooddata/sdk-model";
|
|
8
7
|
import { OverlayZIndexContext, useContainingOverlayZIndex } from "@gooddata/sdk-ui-kit";
|
|
8
|
+
import { _isEmpty, _isEqual, _omit } from "@gooddata/util";
|
|
9
9
|
import { ConfigPanelClassName, } from "../interfaces/Visualization.js";
|
|
10
10
|
import { cleanupKeyDriverAnalysisOnMetrics, hideKeyDriverOnMetrics } from "../utils/keyDriverAnalysis.js";
|
|
11
11
|
import { FullVisualizationCatalog } from "./VisualizationCatalog.js";
|
|
@@ -14,10 +14,10 @@ function getVisualizationId(insight) {
|
|
|
14
14
|
return isInsight(insight) ? insight.insight.identifier : "__new_visualization__";
|
|
15
15
|
}
|
|
16
16
|
function bucketReferencePointHasChanged(currentReferencePoint, nextReferencePoint) {
|
|
17
|
-
return !
|
|
17
|
+
return !_isEqual(_omit(currentReferencePoint, ["properties", "availableSorts"]), _omit(nextReferencePoint, ["properties", "availableSorts"]));
|
|
18
18
|
}
|
|
19
19
|
function propertiesControlsHasChanged(currentReferencePoint, nextReferencePoint) {
|
|
20
|
-
return !
|
|
20
|
+
return !_isEqual(currentReferencePoint?.properties?.controls, nextReferencePoint?.properties?.controls);
|
|
21
21
|
}
|
|
22
22
|
export const BaseVisualization = forwardRef(function BaseVisualization(props, ref) {
|
|
23
23
|
const { visualizationCatalog = FullVisualizationCatalog, newDerivedBucketItems = [], referencePoint = undefined, onExtendedReferencePointChanged = noop, onNewDerivedBucketItemsPlaced = noop, isMdObjectValid = true, configPanelClassName = ConfigPanelClassName, featureFlags = {}, } = props;
|
|
@@ -245,8 +245,8 @@ export const BaseVisualization = forwardRef(function BaseVisualization(props, re
|
|
|
245
245
|
// the very first run, there is nothing to diff against yet
|
|
246
246
|
return;
|
|
247
247
|
}
|
|
248
|
-
const newDerivedBucketItemsChanged = !
|
|
249
|
-
!
|
|
248
|
+
const newDerivedBucketItemsChanged = !_isEmpty(currentProps.newDerivedBucketItems) &&
|
|
249
|
+
!_isEqual(currentProps.newDerivedBucketItems, previousProps.newDerivedBucketItems);
|
|
250
250
|
if (newDerivedBucketItemsChanged) {
|
|
251
251
|
triggerPlaceNewDerivedBucketItems(currentProps);
|
|
252
252
|
return;
|
|
@@ -258,10 +258,10 @@ export const BaseVisualization = forwardRef(function BaseVisualization(props, re
|
|
|
258
258
|
triggerExtendedReferencePointChanged(currentProps, previousProps);
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
|
-
const visualizationClassChanged = !
|
|
261
|
+
const visualizationClassChanged = !_isEqual(currentProps.visualizationClass, previousProps.visualizationClass);
|
|
262
262
|
const referencePointChanged = bucketReferencePointHasChanged(previousProps.referencePoint, currentProps.referencePoint);
|
|
263
263
|
const relevantPropertiesChanged = somePropertiesRelevantForReferencePointChanged(previousProps.referencePoint, currentProps.referencePoint);
|
|
264
|
-
const labelsChanged = !
|
|
264
|
+
const labelsChanged = !_isEqual(previousProps.insight?.insight.attributeFilterConfigs, currentProps.insight?.insight.attributeFilterConfigs);
|
|
265
265
|
const propertiesControlsChanged = propertiesControlsHasChanged(previousProps.referencePoint, currentProps.referencePoint);
|
|
266
266
|
if (visualizationClassChanged) {
|
|
267
267
|
const newVisElementId = uuidv4();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { isEmpty } from "lodash-es";
|
|
3
2
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
4
3
|
import { messages } from "@gooddata/sdk-ui";
|
|
5
4
|
import { Button } from "@gooddata/sdk-ui-kit";
|
|
5
|
+
import { _isEmpty } from "@gooddata/util";
|
|
6
6
|
import { useAttributeHierarchyDialog } from "./AttributeHierarchyDialogProvider.js";
|
|
7
7
|
const HOW_TO_WORK_DOCUMENTATION_LINK = "https://www.gooddata.com/docs/cloud/create-dashboards/drilling-in-dashboards/set-drill-down/";
|
|
8
8
|
export function AttributeHierarchyDialogFooter() {
|
|
9
9
|
const { formatMessage } = useIntl();
|
|
10
10
|
const { isEditing, isDirty, isLoading, attributes, onSaveAttributeHierarchy, onClose, setDisplayDeleteConfirmation, } = useAttributeHierarchyDialog();
|
|
11
|
-
const isSaveDisabled =
|
|
11
|
+
const isSaveDisabled = _isEmpty(attributes) || !isDirty;
|
|
12
12
|
const onDelete = () => {
|
|
13
13
|
setDisplayDeleteConfirmation(true);
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeHierarchyDialogProvider.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAA2D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AttributeHierarchyDialogProvider.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAA2D,MAAM,OAAO,CAAC;AAIhG,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGnF,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EAC1B,MAAM,YAAY,CAAC;AAQpB,UAAU,sCAAsC;IAC5C,mBAAmB,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F,wBAAgB,gCAAgC,CAAC,EAC7C,mBAAmB,EACnB,yBAAyB,EACzB,QAAQ,EACR,OAAO,EACP,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,wBAAwB,GAC3B,EAAE,sCAAsC,2CAsGxC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// (C) 2023-
|
|
2
|
+
// (C) 2023-2026 GoodData Corporation
|
|
3
3
|
import { createContext, useContext, useEffect, useMemo, useState } from "react";
|
|
4
4
|
import stableStringify from "json-stable-stringify";
|
|
5
|
-
import {
|
|
5
|
+
import { _isEmpty } from "@gooddata/util";
|
|
6
6
|
import { useBackendProvider } from "./useBackendProvider.js";
|
|
7
7
|
import { appendEmptyAttribute, convertToCatalogAttributeDataByRefs, findCatalogAttributeByRef, } from "./utils.js";
|
|
8
8
|
export const AttributeHierarchyDialogProviderContext = createContext({
|
|
@@ -66,7 +66,7 @@ export function AttributeHierarchyDialogProvider({ initialAttributeRef, editingA
|
|
|
66
66
|
setAttributes(newAttributes);
|
|
67
67
|
};
|
|
68
68
|
useEffect(() => {
|
|
69
|
-
if (editingAttributeHierarchy && !
|
|
69
|
+
if (editingAttributeHierarchy && !_isEmpty(catalogAttributesMap)) {
|
|
70
70
|
const refs = editingAttributeHierarchy.attributeHierarchy.attributes;
|
|
71
71
|
const initialAttributes = convertToCatalogAttributeDataByRefs(catalogAttributesMap, refs).map((attribute) => ({
|
|
72
72
|
...attribute,
|
|
@@ -76,7 +76,7 @@ export function AttributeHierarchyDialogProvider({ initialAttributeRef, editingA
|
|
|
76
76
|
setInitialAttributes(initialAttributes);
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
|
-
if (initialAttributeRef && !
|
|
79
|
+
if (initialAttributeRef && !_isEmpty(catalogAttributesMap)) {
|
|
80
80
|
const initialAttribute = findCatalogAttributeByRef(catalogAttributesMap, initialAttributeRef);
|
|
81
81
|
if (initialAttribute) {
|
|
82
82
|
const initialAttributes = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBackendProvider.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useBackendProvider.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,0BAA0B,EAAe,MAAM,qBAAqB,CAAC;AAKnF,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EAC1B,MAAM,YAAY,CAAC;AAGpB,UAAU,2BAA2B;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,yBAAyB,CAAC,EAAE,0BAA0B,CAAC;IACvD,UAAU,EAAE,kBAAkB,CAAC;IAC/B,qBAAqB,CAAC,EAAE,oBAAoB,CAAC;IAC7C,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAChC;AAED,eAAO,MAAM,kBAAkB,WAAY,2BAA2B;;;;mCAqB7C,MAAM;CA8H9B,CAAC"}
|
package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// (C) 2023-2026 GoodData Corporation
|
|
2
2
|
import { useCallback, useEffect, useState } from "react";
|
|
3
|
-
import { isEmpty } from "lodash-es";
|
|
4
3
|
import { useIntl } from "react-intl";
|
|
5
4
|
import { messages, useBackendStrict, useWorkspaceStrict } from "@gooddata/sdk-ui";
|
|
6
5
|
import { useToastMessage } from "@gooddata/sdk-ui-kit";
|
|
6
|
+
import { _isEmpty } from "@gooddata/util";
|
|
7
7
|
import { convertToCatalogAttributeData, convertToCatalogAttributeDataByRefs } from "./utils.js";
|
|
8
8
|
export const useBackendProvider = (params) => {
|
|
9
9
|
const { title, attributes, editingAttributeHierarchy, setLoading, onSaveOrUpdateSuccess, onClose, onDeleteSuccess, onCreateHierarchyClicked, } = params;
|
|
@@ -108,7 +108,7 @@ export const useBackendProvider = (params) => {
|
|
|
108
108
|
};
|
|
109
109
|
// Prepare all catalog attributes
|
|
110
110
|
useEffect(() => {
|
|
111
|
-
if (
|
|
111
|
+
if (_isEmpty(catalogAttributesMap)) {
|
|
112
112
|
void backend
|
|
113
113
|
.workspace(workspace)
|
|
114
114
|
.catalog()
|
package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,MAAM,EAEd,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAA4B,KAAK,cAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEvG,eAAO,MAAM,yBAAyB,yBACZ,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,OACnD,MAAM,KACZ,qBAAqB,GAAG,SAE1B,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,iBAAiB,EAAE,SACxB,mBAAmB,EAAE,KAC7B,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAqBnC,CAAC;AAEF,eAAO,MAAM,mCAAmC,yBACtB,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,QAClD,MAAM,EAAE,KACf,qBAAqB,EAEvB,CAAC;AAEF,eAAO,MAAM,oBAAoB,eAAgB,cAAc,EAAE,gBAAgB,MAAM,qBAStF,CAAC;AAEF,eAAO,MAAM,gBAAgB,eACb,qBAAqB,EAAE,eACtB,MAAM,gBACL,MAAM,4BAKvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2023-2026 GoodData Corporation
|
|
2
|
-
import { compact } from "lodash-es";
|
|
3
2
|
import { serializeObjRef, } from "@gooddata/sdk-model";
|
|
3
|
+
import { _compact } from "@gooddata/util";
|
|
4
4
|
import { CatalogAttributeDataType } from "./types.js";
|
|
5
5
|
export const findCatalogAttributeByRef = (catalogAttributesMap, ref) => {
|
|
6
6
|
return catalogAttributesMap.get(getCatalogKey(ref));
|
|
@@ -26,7 +26,7 @@ export const convertToCatalogAttributeData = (attributes, dates) => {
|
|
|
26
26
|
}, new Map());
|
|
27
27
|
};
|
|
28
28
|
export const convertToCatalogAttributeDataByRefs = (catalogAttributesMap, refs) => {
|
|
29
|
-
return
|
|
29
|
+
return _compact(refs.map((ref) => findCatalogAttributeByRef(catalogAttributesMap, ref)));
|
|
30
30
|
};
|
|
31
31
|
export const appendEmptyAttribute = (attributes, baseRowIndex) => {
|
|
32
32
|
const uncompletedItemIndex = attributes.findIndex((attribute) => !attribute.completed);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxControl.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/CheckboxControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAAe,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CheckboxControl.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/CheckboxControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAAe,MAAM,OAAO,CAAC;AAMtE,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAIlF,MAAM,WAAW,qBAAqB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,eAAe,CAAC,EAC5B,OAAe,EACf,QAAgB,EAChB,mBAA2B,EAC3B,SAAS,EACT,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,eAAuB,EACvB,YAAY,GACf,EAAE,qBAAqB,2CAiCvB"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2019-2026 GoodData Corporation
|
|
3
3
|
import { useCallback } from "react";
|
|
4
|
-
import { cloneDeep, set } from "lodash-es";
|
|
5
4
|
import { useIntl } from "react-intl";
|
|
5
|
+
import { _cloneDeep, _set } from "@gooddata/util";
|
|
6
6
|
import { getTranslation } from "../../utils/translations.js";
|
|
7
7
|
import { DisabledBubbleMessage } from "../DisabledBubbleMessage.js";
|
|
8
8
|
export function CheckboxControl({ checked = false, disabled = false, showDisabledMessage = false, labelText, labelContent, valuePath, disabledMessageId, properties, pushData, isValueInverted = false, defaultValue, }) {
|
|
9
9
|
const intl = useIntl();
|
|
10
10
|
const onValueChanged = useCallback((event) => {
|
|
11
|
-
const clonedProperties =
|
|
11
|
+
const clonedProperties = _cloneDeep(properties);
|
|
12
12
|
const value = isValueInverted ? !event.target.checked : event.target.checked;
|
|
13
13
|
// When the value matches the default, set to undefined so the property gets removed
|
|
14
14
|
// during merge. This prevents the Save button from staying enabled when toggling
|
|
15
15
|
// back to the default state.
|
|
16
16
|
const valueToSet = value === defaultValue ? undefined : value;
|
|
17
|
-
|
|
17
|
+
_set(clonedProperties, `controls.${valuePath}`, valueToSet);
|
|
18
18
|
pushData?.({ properties: clonedProperties });
|
|
19
19
|
}, [properties, isValueInverted, pushData, valuePath, defaultValue]);
|
|
20
20
|
return (_jsx(DisabledBubbleMessage, { showDisabledMessage: showDisabledMessage, messageId: disabledMessageId, children: _jsxs("label", { className: "input-checkbox-label", children: [_jsx("input", { checked: checked, disabled: disabled, type: "checkbox", className: "input-checkbox", onChange: onValueChanged }), labelText ? (_jsx("span", { className: "input-label-text", children: getTranslation(labelText, intl) })) : null, labelContent ? _jsx("span", { className: "input-label-text", children: labelContent }) : null] }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigSection.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/ConfigSection.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAA6C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfigSection.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/ConfigSection.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAA6C,MAAM,OAAO,CAAC;AAUpG,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,QAAQ,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACrC;AAED,wBAAgB,aAAa,CAAC,EAC1B,EAAE,EACF,SAAS,EACT,YAAoB,EACpB,cAAsB,EACtB,SAAgB,EAChB,cAAc,EACd,UAAe,EACf,KAAK,EACL,QAAQ,EACR,mBAA2B,EAC3B,SAAc,EACd,QAAmB,EACnB,QAAQ,EACR,eAAe,EACf,QAAQ,GACX,EAAE,mBAAmB,2CA2GrB"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
// (C) 2019-2026 GoodData Corporation
|
|
3
3
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
|
-
import { cloneDeep, set } from "lodash-es";
|
|
6
5
|
import { useIntl } from "react-intl";
|
|
6
|
+
import { _cloneDeep, _set } from "@gooddata/util";
|
|
7
7
|
import { getTranslation } from "../../utils/translations.js";
|
|
8
8
|
import { DisabledBubbleMessage } from "../DisabledBubbleMessage.js";
|
|
9
9
|
export function ConfigSection({ id, valuePath, canBeToggled = false, toggleDisabled = false, toggledOn = true, propertiesMeta, properties = {}, title, subtitle, showDisabledMessage = false, className = "", pushData = () => { }, children, toggleMessageId, onToggle, }) {
|
|
@@ -28,8 +28,8 @@ export function ConfigSection({ id, valuePath, canBeToggled = false, toggleDisab
|
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
30
|
if (valuePath && properties && pushData) {
|
|
31
|
-
const clonedProperties =
|
|
32
|
-
|
|
31
|
+
const clonedProperties = _cloneDeep(properties);
|
|
32
|
+
_set(clonedProperties, `controls.${valuePath}`, event.target.checked);
|
|
33
33
|
pushData({ properties: clonedProperties });
|
|
34
34
|
}
|
|
35
35
|
}, [onToggle, valuePath, properties, pushData]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigSubsection.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/ConfigSubsection.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfigSubsection.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/ConfigSubsection.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAI7D,MAAM,WAAW,yBAAyB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,QAAQ,CAAC,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAG,yBAAyB,CAAC;AAE/D,wBAAgB,gBAAgB,CAAC,EAC7B,KAAK,EACL,YAAoB,EACpB,cAAsB,EACtB,SAAgB,EAChB,QAAmB,EACnB,mBAA2B,EAC3B,SAAS,EACT,UAAU,EACV,QAAQ,EACR,QAAQ,GACX,EAAE,sBAAsB,2CAqDxB"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cloneDeep, set } from "lodash-es";
|
|
3
2
|
import { useIntl } from "react-intl";
|
|
3
|
+
import { _cloneDeep, _set } from "@gooddata/util";
|
|
4
4
|
import { getTranslation } from "../../utils/translations.js";
|
|
5
5
|
import { DisabledBubbleMessage } from "../DisabledBubbleMessage.js";
|
|
6
6
|
export function ConfigSubsection({ title, canBeToggled = false, toggleDisabled = false, toggledOn = true, pushData = () => { }, showDisabledMessage = false, valuePath, properties, axisType, children, }) {
|
|
7
7
|
const intl = useIntl();
|
|
8
8
|
const toggleValue = (event) => {
|
|
9
9
|
if (valuePath && properties && pushData) {
|
|
10
|
-
const clonedProperties =
|
|
11
|
-
|
|
10
|
+
const clonedProperties = _cloneDeep(properties);
|
|
11
|
+
_set(clonedProperties, `controls.${valuePath}`, event.target.checked);
|
|
12
12
|
pushData({ properties: clonedProperties });
|
|
13
13
|
}
|
|
14
14
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cloneDeep, set } from "lodash-es";
|
|
3
2
|
import { useIntl } from "react-intl";
|
|
4
3
|
import { UiTooltip, useIdPrefixed } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import { _cloneDeep, _set } from "@gooddata/util";
|
|
5
5
|
import { messages } from "../../../locales.js";
|
|
6
6
|
import { getTranslation } from "../../utils/translations.js";
|
|
7
7
|
export function ContinuousLineControl({ properties, valuePath = "continuousLine.enabled", checked = false, disabled = false, pushData, }) {
|
|
8
8
|
const intl = useIntl();
|
|
9
9
|
const tooltipId = useIdPrefixed("continuous-line-tooltip");
|
|
10
10
|
const onValueChanged = (event) => {
|
|
11
|
-
const clonedProperties =
|
|
12
|
-
|
|
11
|
+
const clonedProperties = _cloneDeep(properties);
|
|
12
|
+
_set(clonedProperties, `controls.${valuePath}`, event.target.checked);
|
|
13
13
|
pushData?.({ properties: clonedProperties });
|
|
14
14
|
};
|
|
15
15
|
const hasTooltip = !disabled;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cloneDeep, set } from "lodash-es";
|
|
3
2
|
import { useIntl } from "react-intl";
|
|
4
3
|
import { UiTooltip, useIdPrefixed } from "@gooddata/sdk-ui-kit";
|
|
4
|
+
import { _cloneDeep, _set } from "@gooddata/util";
|
|
5
5
|
import { messages } from "../../../locales.js";
|
|
6
6
|
import { getTranslation } from "../../utils/translations.js";
|
|
7
7
|
export function DistinctPointShapesControl({ properties, valuePath = "distinctPointShapes.enabled", checked = false, disabled = false, pushData, }) {
|
|
8
8
|
const intl = useIntl();
|
|
9
9
|
const tooltipId = useIdPrefixed("distinct-point-shapes-tooltip");
|
|
10
10
|
const onValueChanged = (event) => {
|
|
11
|
-
const clonedProperties =
|
|
12
|
-
|
|
11
|
+
const clonedProperties = _cloneDeep(properties);
|
|
12
|
+
_set(clonedProperties, `controls.${valuePath}`, event.target.checked);
|
|
13
13
|
pushData?.({ properties: clonedProperties });
|
|
14
14
|
};
|
|
15
15
|
const hasTooltip = disabled;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownControl.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/DropdownControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownControl.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/DropdownControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAsC,MAAM,OAAO,CAAC;AAI/E,OAAO,EAIH,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAElC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAIlF,MAAM,WAAW,qBAAqB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,0BAA0B,CAAC,EAAE,WAAW,EAAE,CAAC;IAC3C,cAAc,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;IAC3D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,QAAQ,CAAC,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAAC;CAC9B;AAMD,eAAO,MAAM,eAAe,iOAczB,qBAAqB,6CAqHtB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2019-2026 GoodData Corporation
|
|
3
3
|
import { memo, useCallback, useId, useState } from "react";
|
|
4
|
-
import { cloneDeep, set } from "lodash-es";
|
|
5
4
|
import { useIntl } from "react-intl";
|
|
6
5
|
import { Dropdown, DropdownButton, DropdownList, SingleSelectListItem, } from "@gooddata/sdk-ui-kit";
|
|
6
|
+
import { _cloneDeep, _set } from "@gooddata/util";
|
|
7
7
|
import { getTranslation } from "../../utils/translations.js";
|
|
8
8
|
import { DisabledBubbleMessage } from "../DisabledBubbleMessage.js";
|
|
9
9
|
const alignPoints = ["bl tl", "tl bl", "br tr", "tr br"];
|
|
@@ -28,8 +28,8 @@ export const DropdownControl = memo(function DropdownControl({ valuePath, proper
|
|
|
28
28
|
const onSelect = (selectedItem) => {
|
|
29
29
|
// we must not change the properties at any cost, so deep clone for now.
|
|
30
30
|
// ideally we should use st. like immer with copy on write to not clone everything all the time
|
|
31
|
-
const clonedProperties =
|
|
32
|
-
|
|
31
|
+
const clonedProperties = _cloneDeep(properties);
|
|
32
|
+
_set(clonedProperties, `controls.${valuePath}`, selectedItem.value);
|
|
33
33
|
pushData?.({ properties: clonedProperties });
|
|
34
34
|
};
|
|
35
35
|
const getDropdownButton = (selectedItem, disabled, isOpen, toggleDropdown) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoViewportControl.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/GeoViewportControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GeoViewportControl.d.ts","sourceRoot":"","sources":["../../../../src/internal/components/configurationControls/GeoViewportControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AAIhF,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAGH,KAAK,UAAU,EACf,KAAK,gBAAgB,EACxB,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAMlF,MAAM,WAAW,eAAe;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,eAAe,CAAC;IAC1C,uBAAuB,CAAC,EAAE,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAqBD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CA4I3E"}
|