@gooddata/sdk-ui-ext 11.68.0-alpha.1 → 11.68.0-alpha.11

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.
Files changed (230) hide show
  1. package/NOTICE +8336 -63104
  2. package/esm/insightView/InsightRenderer.d.ts.map +1 -1
  3. package/esm/insightView/InsightRenderer.js +4 -4
  4. package/esm/internal/components/BaseVisualization.d.ts.map +1 -1
  5. package/esm/internal/components/BaseVisualization.js +7 -7
  6. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.js +2 -2
  7. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.d.ts.map +1 -1
  8. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.js +4 -4
  9. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.d.ts.map +1 -1
  10. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.js +2 -2
  11. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts.map +1 -1
  12. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.js +2 -2
  13. package/esm/internal/components/configurationControls/CheckboxControl.d.ts.map +1 -1
  14. package/esm/internal/components/configurationControls/CheckboxControl.js +3 -3
  15. package/esm/internal/components/configurationControls/ConfigSection.d.ts.map +1 -1
  16. package/esm/internal/components/configurationControls/ConfigSection.js +3 -3
  17. package/esm/internal/components/configurationControls/ConfigSubsection.d.ts.map +1 -1
  18. package/esm/internal/components/configurationControls/ConfigSubsection.js +3 -3
  19. package/esm/internal/components/configurationControls/ContinuousLineControl.js +3 -3
  20. package/esm/internal/components/configurationControls/DistintcPointShapesControl.js +3 -3
  21. package/esm/internal/components/configurationControls/DropdownControl.d.ts.map +1 -1
  22. package/esm/internal/components/configurationControls/DropdownControl.js +3 -3
  23. package/esm/internal/components/configurationControls/GeoViewportControl.d.ts.map +1 -1
  24. package/esm/internal/components/configurationControls/GeoViewportControl.js +14 -14
  25. package/esm/internal/components/configurationControls/InputControl.d.ts.map +1 -1
  26. package/esm/internal/components/configurationControls/InputControl.js +4 -4
  27. package/esm/internal/components/configurationControls/LineShapeControl.d.ts.map +1 -1
  28. package/esm/internal/components/configurationControls/LineShapeControl.js +2 -2
  29. package/esm/internal/components/configurationControls/PagingSection.js +5 -5
  30. package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.d.ts.map +1 -1
  31. package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.js +3 -3
  32. package/esm/internal/components/configurationControls/PushpinShapeControl.d.ts.map +1 -1
  33. package/esm/internal/components/configurationControls/PushpinShapeControl.js +5 -5
  34. package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts.map +1 -1
  35. package/esm/internal/components/configurationControls/advanced/AdvancedSection.js +3 -3
  36. package/esm/internal/components/configurationControls/advanced/ConfigEditor.js +2 -2
  37. package/esm/internal/components/configurationControls/colors/ColorsSection.js +3 -3
  38. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.d.ts.map +1 -1
  39. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.js +4 -4
  40. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.d.ts.map +1 -1
  41. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.js +3 -3
  42. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.d.ts.map +1 -1
  43. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.js +6 -6
  44. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.d.ts.map +1 -1
  45. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +3 -3
  46. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
  47. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +2 -2
  48. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
  49. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +3 -3
  50. package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.js +3 -3
  51. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts +1 -2
  52. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map +1 -1
  53. package/esm/internal/components/configurationControls/interactions/InteractionsSection.js +2 -2
  54. package/esm/internal/components/configurationControls/total/TotalSection.d.ts.map +1 -1
  55. package/esm/internal/components/configurationControls/total/TotalSection.js +4 -4
  56. package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.js +2 -2
  57. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts.map +1 -1
  58. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.js +1 -2
  59. package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js +1 -1
  60. package/esm/internal/components/configurationPanels/UnsupportedConfigurationPanel.js +2 -2
  61. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.d.ts.map +1 -1
  62. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.js +3 -3
  63. package/esm/internal/components/dialogs/userManagementDialogs/types.d.ts.map +1 -1
  64. package/esm/internal/components/dialogs/userManagementDialogs/types.js +6 -6
  65. package/esm/internal/components/insightList/useInsightPagedList.d.ts.map +1 -1
  66. package/esm/internal/components/insightList/useInsightPagedList.js +3 -3
  67. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts.map +1 -1
  68. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.js +4 -4
  69. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.d.ts.map +1 -1
  70. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.js +3 -4
  71. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.d.ts.map +1 -1
  72. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.js +6 -6
  73. package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.d.ts.map +1 -1
  74. package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.js +7 -7
  75. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.d.ts.map +1 -1
  76. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js +9 -8
  77. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.d.ts.map +1 -1
  78. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.js +4 -5
  79. package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.d.ts.map +1 -1
  80. package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.js +3 -3
  81. package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.d.ts.map +1 -1
  82. package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.js +7 -7
  83. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.d.ts.map +1 -1
  84. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js +6 -6
  85. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.d.ts.map +1 -1
  86. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.js +5 -4
  87. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.d.ts.map +1 -1
  88. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.js +4 -5
  89. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts.map +1 -1
  90. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +8 -9
  91. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.d.ts.map +1 -1
  92. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.js +15 -16
  93. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.d.ts.map +1 -1
  94. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.js +8 -8
  95. package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.d.ts.map +1 -1
  96. package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.js +2 -3
  97. package/esm/internal/components/pluggableVisualizations/headline/headlineBucketHelper.js +3 -3
  98. package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.d.ts.map +1 -1
  99. package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.js +8 -7
  100. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.d.ts.map +1 -1
  101. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.js +8 -8
  102. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.d.ts.map +1 -1
  103. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.js +11 -11
  104. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.d.ts.map +1 -1
  105. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.js +8 -8
  106. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.d.ts.map +1 -1
  107. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.js +5 -5
  108. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.d.ts.map +1 -1
  109. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.js +2 -2
  110. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableConfigFromInsight.d.ts.map +1 -1
  111. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableConfigFromInsight.js +6 -6
  112. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.d.ts.map +1 -1
  113. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.js +4 -5
  114. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.d.ts.map +1 -1
  115. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.js +2 -2
  116. package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.d.ts.map +1 -1
  117. package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.js +2 -2
  118. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.d.ts.map +1 -1
  119. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.js +4 -4
  120. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.d.ts.map +1 -1
  121. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.js +6 -7
  122. package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.d.ts.map +1 -1
  123. package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.js +3 -4
  124. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.d.ts.map +1 -1
  125. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.js +5 -6
  126. package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.d.ts.map +1 -1
  127. package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.js +6 -5
  128. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.d.ts.map +1 -1
  129. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.js +11 -11
  130. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts.map +1 -1
  131. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.js +2 -3
  132. package/esm/internal/interfaces/Visualization.d.ts.map +1 -1
  133. package/esm/internal/interfaces/Visualization.js +6 -6
  134. package/esm/internal/translations/en-US.localization-bundle.d.ts +28 -0
  135. package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
  136. package/esm/internal/translations/en-US.localization-bundle.js +29 -1
  137. package/esm/internal/translations/fr-CA.localization-bundle.js +1 -1
  138. package/esm/internal/translations/it-IT.localization-bundle.js +2 -2
  139. package/esm/internal/translations/ru-RU.localization-bundle.js +1 -1
  140. package/esm/internal/translations/tr-TR.localization-bundle.js +1 -1
  141. package/esm/internal/translations/zh-Hant.localization-bundle.js +4 -4
  142. package/esm/internal/utils/bucketConfig.d.ts.map +1 -1
  143. package/esm/internal/utils/bucketConfig.js +5 -5
  144. package/esm/internal/utils/bucketHelper.d.ts.map +1 -1
  145. package/esm/internal/utils/bucketHelper.js +15 -14
  146. package/esm/internal/utils/bucketRules.d.ts.map +1 -1
  147. package/esm/internal/utils/bucketRules.js +3 -2
  148. package/esm/internal/utils/colors.d.ts.map +1 -1
  149. package/esm/internal/utils/colors.js +11 -11
  150. package/esm/internal/utils/controlsHelper.d.ts.map +1 -1
  151. package/esm/internal/utils/controlsHelper.js +7 -7
  152. package/esm/internal/utils/dimensions.d.ts.map +1 -1
  153. package/esm/internal/utils/dimensions.js +4 -4
  154. package/esm/internal/utils/drillablePredicates.d.ts.map +1 -1
  155. package/esm/internal/utils/drillablePredicates.js +4 -4
  156. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.d.ts.map +1 -1
  157. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.js +11 -11
  158. package/esm/internal/utils/propertiesHelper.d.ts.map +1 -1
  159. package/esm/internal/utils/propertiesHelper.js +16 -15
  160. package/esm/internal/utils/removeUseless.js +3 -3
  161. package/esm/internal/utils/sort.d.ts.map +1 -1
  162. package/esm/internal/utils/sort.js +9 -8
  163. package/esm/internal/utils/translations.d.ts.map +1 -1
  164. package/esm/internal/utils/translations.js +2 -3
  165. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.d.ts.map +1 -1
  166. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.js +10 -10
  167. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.d.ts.map +1 -1
  168. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.js +19 -19
  169. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.d.ts.map +1 -1
  170. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.js +8 -8
  171. package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.d.ts.map +1 -1
  172. package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.js +2 -2
  173. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.d.ts.map +1 -1
  174. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.js +6 -6
  175. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.d.ts.map +1 -1
  176. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.js +8 -8
  177. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.d.ts.map +1 -1
  178. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.js +10 -10
  179. package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.js +6 -6
  180. package/esm/internal/utils/uiConfigHelpers/donutChartUiConfigHelper.js +5 -5
  181. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.d.ts.map +1 -1
  182. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.js +6 -6
  183. package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.d.ts.map +1 -1
  184. package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.js +3 -3
  185. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.d.ts.map +1 -1
  186. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.js +15 -15
  187. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.d.ts.map +1 -1
  188. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.js +10 -10
  189. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.d.ts.map +1 -1
  190. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.js +7 -7
  191. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.d.ts.map +1 -1
  192. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.js +13 -13
  193. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.d.ts.map +1 -1
  194. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.js +7 -7
  195. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.d.ts.map +1 -1
  196. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.js +12 -12
  197. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.d.ts.map +1 -1
  198. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.js +14 -14
  199. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.d.ts.map +1 -1
  200. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.js +14 -14
  201. package/esm/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.js +5 -5
  202. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.d.ts.map +1 -1
  203. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.js +13 -13
  204. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.d.ts.map +1 -1
  205. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.js +14 -14
  206. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.d.ts.map +1 -1
  207. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.js +10 -10
  208. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.d.ts.map +1 -1
  209. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.js +8 -8
  210. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.d.ts.map +1 -1
  211. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.js +12 -12
  212. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.d.ts.map +1 -1
  213. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.js +11 -11
  214. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.d.ts.map +1 -1
  215. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.js +5 -5
  216. package/esm/notificationsPanel/Notification/Notification.d.ts.map +1 -1
  217. package/esm/notificationsPanel/Notification/Notification.js +4 -4
  218. package/esm/sdk-ui-ext.d.ts +1 -1
  219. package/esm/share/ObjectShareDialog.d.ts +1 -1
  220. package/esm/share/ObjectShareDialog.js +3 -3
  221. package/esm/share/messages.d.ts +28 -0
  222. package/esm/share/messages.d.ts.map +1 -1
  223. package/esm/share/messages.js +14 -0
  224. package/esm/share/removeAccessConfirm.d.ts +21 -0
  225. package/esm/share/removeAccessConfirm.d.ts.map +1 -0
  226. package/esm/share/removeAccessConfirm.js +27 -0
  227. package/esm/share/useObjectShareDialog.d.ts +14 -11
  228. package/esm/share/useObjectShareDialog.d.ts.map +1 -1
  229. package/esm/share/useObjectShareDialog.js +54 -24
  230. package/package.json +21 -21
@@ -1,9 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2019-2026 GoodData Corporation
3
- import { cloneDeep, isEmpty, set } from "lodash-es";
4
2
  import { attributeAlias, attributeDisplayFormRef, attributeLocalId, bucketAttribute, idRef, insightBucket, insightBuckets, insightFilters, insightHasDataDefined, isUriRef, newAttribute, newAttributeSort, newBucket, uriRef, } from "@gooddata/sdk-model";
5
3
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
6
4
  import { CoreGeoChart, getGeoChartDimensions, } from "@gooddata/sdk-ui-geo";
5
+ import { _cloneDeep, _isEmpty, _set } from "@gooddata/util";
7
6
  import { ATTRIBUTE, BUCKETS, METRIC } from "../../../constants/bucket.js";
8
7
  import { sanitizeGeoMapStyleOptions } from "../../../constants/geoMapStyle.js";
9
8
  import { ANALYTICAL_ENVIRONMENT, DASHBOARDS_ENVIRONMENT } from "../../../constants/properties.js";
@@ -86,7 +85,7 @@ export class PluggableGeoPushpinChart extends PluggableBaseChart {
86
85
  });
87
86
  }
88
87
  getUiConfig() {
89
- return cloneDeep(GEO_PUSHPIN_CHART_UICONFIG);
88
+ return _cloneDeep(GEO_PUSHPIN_CHART_UICONFIG);
90
89
  }
91
90
  getExecution(options, insight, executionFactory) {
92
91
  const { executionConfig } = options;
@@ -112,7 +111,7 @@ export class PluggableGeoPushpinChart extends PluggableBaseChart {
112
111
  const colorMeasures = (secondaryMeasures.length > 0
113
112
  ? secondaryMeasures
114
113
  : allMeasures.filter((measure) => !sizeMeasures.includes(measure))).slice(0, this.getPreferredBucketItemLimit(BucketNames.COLOR));
115
- set(newExtendedReferencePoint, BUCKETS, [
114
+ _set(newExtendedReferencePoint, BUCKETS, [
116
115
  {
117
116
  localIdentifier: BucketNames.LOCATION,
118
117
  items: this.getLocationItems(buckets),
@@ -159,7 +158,7 @@ export class PluggableGeoPushpinChart extends PluggableBaseChart {
159
158
  const legendProp = legend ? { legend } : {};
160
159
  const { isInEditMode, isExportMode } = config;
161
160
  if (this.environment === DASHBOARDS_ENVIRONMENT) {
162
- set(supportedControls, "legend.responsive", "autoPositionWithPopup");
161
+ _set(supportedControls, "legend.responsive", "autoPositionWithPopup");
163
162
  }
164
163
  const viewportProp = {
165
164
  viewport: {
@@ -259,7 +258,7 @@ export class PluggableGeoPushpinChart extends PluggableBaseChart {
259
258
  getSegmentItems(buckets) {
260
259
  let segments = getPreferredBucketItems(buckets, [BucketNames.STACK, BucketNames.SEGMENT, BucketNames.COLUMNS], [ATTRIBUTE]);
261
260
  const nonSegmentAttributes = getAttributeItemsWithoutStacks(buckets);
262
- if (nonSegmentAttributes.length > 1 && isEmpty(segments)) {
261
+ if (nonSegmentAttributes.length > 1 && _isEmpty(segments)) {
263
262
  const locationItems = this.getLocationItems(buckets);
264
263
  segments = nonSegmentAttributes
265
264
  .filter((attribute) => !locationItems.includes(attribute))
@@ -282,7 +281,7 @@ export class PluggableGeoPushpinChart extends PluggableBaseChart {
282
281
  if (!locationItem) {
283
282
  return referencePoint;
284
283
  }
285
- const referencePointConfigured = cloneDeep(referencePoint);
284
+ const referencePointConfigured = _cloneDeep(referencePoint);
286
285
  const visualizationProperties = this.visualizationProperties || {};
287
286
  const { controls = {} } = visualizationProperties;
288
287
  const hasSizeMeasure = getItemsCount(buckets, BucketNames.SIZE) > 0;
@@ -291,7 +290,7 @@ export class PluggableGeoPushpinChart extends PluggableBaseChart {
291
290
  const hasSegmentAttribute = getItemsCount(buckets, BucketNames.SEGMENT) > 0;
292
291
  const groupNearbyPoints = hasLocationAttribute && !hasColorMeasure && !hasSizeMeasure && !hasSegmentAttribute;
293
292
  const locationProperties = this.getLocationProperties(locationItem);
294
- set(referencePointConfigured, "properties", {
293
+ _set(referencePointConfigured, "properties", {
295
294
  controls: {
296
295
  points: {
297
296
  groupNearbyPoints,
@@ -301,7 +300,7 @@ export class PluggableGeoPushpinChart extends PluggableBaseChart {
301
300
  },
302
301
  });
303
302
  if (this.references) {
304
- set(referencePointConfigured, "references", this.references);
303
+ _set(referencePointConfigured, "references", this.references);
305
304
  }
306
305
  return referencePointConfigured;
307
306
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PluggableGeoPushpinChartNext.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEH,KAAK,kBAAkB,EAO1B,MAAM,qBAAqB,CAAC;AA0B7B,OAAO,EAEH,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,SAAS,EAEjB,MAAM,sCAAsC,CAAC;AAY9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAqCxE;;;;;;;;GAQG;AACH,qBAAa,4BAA6B,SAAQ,kBAAkB;IAChE,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,oBAAoB,CAAC,CAAS;IACtC,OAAO,CAAC,qBAAqB,CAAC,CAAS;IACvC,OAAO,CAAC,qBAAqB,CAAS;IACtC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAwB;IAC3D,YAAY,KAAK,EAAE,aAAa,EAQ/B;IAEe,kDAAkD,CAC9D,qBAAqB,EAAE,eAAe,EACtC,kBAAkB,EAAE,eAAe,GACpC,OAAO,CAQT;IAID,OAAO,CAAC,wBAAwB;IAMhC;;;;;;OAMG;IACa,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAyClC;IAEe,WAAW,IAAI,SAAS,CAMvC;IAED,UAAmB,0BAA0B,IAAI,MAAM,EAAE,CAExD;IAED;;;OAGG;IACH,UAAmB,gBAAgB,CAC/B,sBAAsB,EAAE,uBAAuB,GAChD,uBAAuB,CA2BzB;IAED;;OAEG;IACH,OAAO,CAAC,yBAAyB;IA6BjC;;;;;;;;OAQG;IACH,UAAmB,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAwBzE;IAED;;;;;;;;;OASG;IACa,YAAY,CACxB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,kBAAkB,CAsBpB;IAEe,aAAa,CACzB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,kBAAkB,EAAE,CAsBtB;IAED,OAAO,CAAC,gBAAgB;YAMV,eAAe;IA8B7B,OAAO,CAAC,eAAe;IAcvB,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA0DjG;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,2BAA2B;IAenC,OAAO,CAAC,oBAAoB;IAe5B,UAAmB,mBAAmB,CAClC,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,IAAI,CAyCN;IAED,OAAO,CAAC,wBAAwB;IA8ChC,OAAO,CAAC,8BAA8B;IAyBtC,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,8BAA8B;IAUtC,OAAO,CAAC,8CAA8C;IAuBtD,OAAO,CAAC,qCAAqC;IAa7C,OAAO,CAAC,cAAc,CAOnB;IAEH,OAAO,CAAC,2BAA2B,CAAmD;IACtF,OAAO,CAAC,iBAAiB,CAAyC;IAClE,OAAO,CAAC,mBAAmB,CAA2C;IACtE,OAAO,CAAC,8BAA8B,CAAsD;IAC5F,OAAO,CAAC,iBAAiB,CAA0E;CACtG"}
1
+ {"version":3,"file":"PluggableGeoPushpinChartNext.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEH,KAAK,kBAAkB,EAO1B,MAAM,qBAAqB,CAAC;AA2B7B,OAAO,EAEH,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,SAAS,EAEjB,MAAM,sCAAsC,CAAC;AAY9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAqCxE;;;;;;;;GAQG;AACH,qBAAa,4BAA6B,SAAQ,kBAAkB;IAChE,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,oBAAoB,CAAC,CAAS;IACtC,OAAO,CAAC,qBAAqB,CAAC,CAAS;IACvC,OAAO,CAAC,qBAAqB,CAAS;IACtC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAwB;IAC3D,YAAY,KAAK,EAAE,aAAa,EAQ/B;IAEe,kDAAkD,CAC9D,qBAAqB,EAAE,eAAe,EACtC,kBAAkB,EAAE,eAAe,GACpC,OAAO,CAQT;IAID,OAAO,CAAC,wBAAwB;IAMhC;;;;;;OAMG;IACa,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAyClC;IAEe,WAAW,IAAI,SAAS,CAMvC;IAED,UAAmB,0BAA0B,IAAI,MAAM,EAAE,CAExD;IAED;;;OAGG;IACH,UAAmB,gBAAgB,CAC/B,sBAAsB,EAAE,uBAAuB,GAChD,uBAAuB,CA2BzB;IAED;;OAEG;IACH,OAAO,CAAC,yBAAyB;IA6BjC;;;;;;;;OAQG;IACH,UAAmB,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAwBzE;IAED;;;;;;;;;OASG;IACa,YAAY,CACxB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,kBAAkB,CAsBpB;IAEe,aAAa,CACzB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,kBAAkB,EAAE,CAsBtB;IAED,OAAO,CAAC,gBAAgB;YAMV,eAAe;IA8B7B,OAAO,CAAC,eAAe;IAcvB,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA0DjG;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,2BAA2B;IAenC,OAAO,CAAC,oBAAoB;IAe5B,UAAmB,mBAAmB,CAClC,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,IAAI,CAyCN;IAED,OAAO,CAAC,wBAAwB;IA8ChC,OAAO,CAAC,8BAA8B;IAyBtC,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,8BAA8B;IAUtC,OAAO,CAAC,8CAA8C;IAuBtD,OAAO,CAAC,qCAAqC;IAa7C,OAAO,CAAC,cAAc,CAOnB;IAEH,OAAO,CAAC,2BAA2B,CAAmD;IACtF,OAAO,CAAC,iBAAiB,CAAyC;IAClE,OAAO,CAAC,mBAAmB,CAA2C;IACtE,OAAO,CAAC,8BAA8B,CAAsD;IAC5F,OAAO,CAAC,iBAAiB,CAA0E;CACtG"}
@@ -1,10 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2025-2026 GoodData Corporation
3
- import { cloneDeep, isEqual, set } from "lodash-es";
4
2
  import { insightBuckets, insightFilters, insightHasDataDefined, insightLayers, insightSorts, insightTitle, } from "@gooddata/sdk-model";
5
3
  import { BucketNames, GeoLocationMissingSdkError, VisualizationTypes } from "@gooddata/sdk-ui";
6
4
  import { isGeoLayerPushpin, } from "@gooddata/sdk-ui-geo";
7
5
  import { GeoChartInternal, PUSHPIN_LAYER_ID, buildLayerExecution, insightLayerToGeoLayer, insightLayersToGeoLayers, } from "@gooddata/sdk-ui-geo/internal";
6
+ import { _cloneDeep, _isEqual, _set } from "@gooddata/util";
8
7
  import { BUCKETS } from "../../../constants/bucket.js";
9
8
  import { isGeoChartsViewportConfigEnabled, isGeoPushpinIconEnabled, } from "../../../constants/featureFlags.js";
10
9
  import { sanitizeGeoMapStyleOptions } from "../../../constants/geoMapStyle.js";
@@ -62,7 +61,7 @@ export class PluggableGeoPushpinChartNext extends PluggableBaseChart {
62
61
  }
63
62
  haveSomePropertiesRelevantForReferencePointChanged(currentReferencePoint, nextReferencePoint) {
64
63
  return (getPushpinShapeType(currentReferencePoint) !== getPushpinShapeType(nextReferencePoint) ||
65
- !isEqual(currentReferencePoint?.properties?.sortItems ?? [], nextReferencePoint?.properties?.sortItems ?? []));
64
+ !_isEqual(currentReferencePoint?.properties?.sortItems ?? [], nextReferencePoint?.properties?.sortItems ?? []));
66
65
  }
67
66
  // Clear stale propertiesMeta synchronously. useGeoPushData will push the
68
67
  // computed value once async data loading completes.
@@ -84,7 +83,7 @@ export class PluggableGeoPushpinChartNext extends PluggableBaseChart {
84
83
  // The generic sanitizeFilters() (in PluggableBaseChart) does not know about additional layers and can
85
84
  // incorrectly drop MVFs that are meant for non-root layers. We keep the original filter bucket intact
86
85
  // and rely on per-layer execution sanitization instead.
87
- const originalFilters = cloneDeep(referencePoint.filters);
86
+ const originalFilters = _cloneDeep(referencePoint.filters);
88
87
  return super
89
88
  .getExtendedReferencePoint(referencePoint)
90
89
  .then((extendedReferencePoint) => {
@@ -109,7 +108,7 @@ export class PluggableGeoPushpinChartNext extends PluggableBaseChart {
109
108
  });
110
109
  }
111
110
  getUiConfig() {
112
- const config = cloneDeep(GEO_PUSHPIN_CHART_UICONFIG);
111
+ const config = _cloneDeep(GEO_PUSHPIN_CHART_UICONFIG);
113
112
  if (!isGeoPushpinIconEnabled(this.featureFlags)) {
114
113
  delete config.buckets[BucketNames.MEASURES];
115
114
  }
@@ -133,7 +132,7 @@ export class PluggableGeoPushpinChartNext extends PluggableBaseChart {
133
132
  const uiConfig = this.getUiConfig();
134
133
  const { sizeMeasures, colorMeasures, metricMeasures } = distributeMeasures(buckets, uiConfig);
135
134
  const configuredBuckets = createConfiguredBuckets(buckets, sizeMeasures, colorMeasures, metricMeasures, uiConfig);
136
- set(sanitized, BUCKETS, configuredBuckets);
135
+ _set(sanitized, BUCKETS, configuredBuckets);
137
136
  return sanitized;
138
137
  }
139
138
  /**
@@ -146,20 +145,20 @@ export class PluggableGeoPushpinChartNext extends PluggableBaseChart {
146
145
  if (!locationItem) {
147
146
  return referencePoint;
148
147
  }
149
- const referencePointConfigured = cloneDeep(referencePoint);
148
+ const referencePointConfigured = _cloneDeep(referencePoint);
150
149
  const controls = referencePointConfigured.properties?.controls ?? {};
151
150
  const locationProperties = getLocationProperties(locationItem);
152
151
  // Don't add groupNearbyPoints if it wasn't already in the properties.
153
152
  // This prevents marking the insight as "dirty" when just opening it.
154
153
  // The rendering code handles the default value (true when clustering is allowed).
155
- set(referencePointConfigured, "properties", {
154
+ _set(referencePointConfigured, "properties", {
156
155
  controls: {
157
156
  ...controls,
158
157
  ...locationProperties,
159
158
  },
160
159
  });
161
160
  if (this.references) {
162
- set(referencePointConfigured, "references", this.references);
161
+ _set(referencePointConfigured, "references", this.references);
163
162
  }
164
163
  return referencePointConfigured;
165
164
  }
@@ -461,7 +460,7 @@ export class PluggableGeoPushpinChartNext extends PluggableBaseChart {
461
460
  (this.environment !== ANALYTICAL_ENVIRONMENT || this.cachedHasGeoIconLabel));
462
461
  }
463
462
  getResolvedReferencePointWithFallback(referencePoint) {
464
- return set(cloneDeep(referencePoint), "properties", getGeoVisualizationPropertiesWithFallback(this.visualizationProperties ?? {}, referencePoint.properties?.controls ?? {}));
463
+ return _set(_cloneDeep(referencePoint), "properties", getGeoVisualizationPropertiesWithFallback(this.visualizationProperties ?? {}, referencePoint.properties?.controls ?? {}));
465
464
  }
466
465
  syncedHandlers = createSyncedViewportHandlers(this.liveMapView, {
467
466
  getEnvironment: () => this.environment,
@@ -488,8 +487,8 @@ function sanitizeGeoPointProperties(referencePoint) {
488
487
  }
489
488
  const shapeType = controls["points"]?.shapeType ?? "circle";
490
489
  if (shapeType !== "oneIcon" && controls["points"]?.icon !== undefined) {
491
- const updated = cloneDeep(referencePoint);
492
- set(updated, "properties.controls.points.icon", undefined);
490
+ const updated = _cloneDeep(referencePoint);
491
+ _set(updated, "properties.controls.points.icon", undefined);
493
492
  return updated;
494
493
  }
495
494
  return referencePoint;
@@ -499,7 +498,7 @@ function disableClusteringIfNotEditable(referencePoint) {
499
498
  const shapeType = getPushpinShapeType(referencePoint);
500
499
  const clusteringEnabled = referencePoint.properties?.controls?.["points"]?.groupNearbyPoints === true;
501
500
  if (clusteringEnabled && !isPushpinClusteringEditableForBuckets(referencePoint.buckets, shapeType)) {
502
- updatedReferencePoint = set(referencePoint, "properties.controls.points.groupNearbyPoints", false);
501
+ updatedReferencePoint = _set(referencePoint, "properties.controls.points.groupNearbyPoints", false);
503
502
  }
504
503
  return updatedReferencePoint;
505
504
  }
@@ -508,20 +507,20 @@ function disableClusteringInVisualizationPropertiesWhenNotEditable(visualization
508
507
  if (isPushpinClusteringEditable(insight, shapeType)) {
509
508
  return visualizationProperties;
510
509
  }
511
- return set(cloneDeep(visualizationProperties), "controls.points.groupNearbyPoints", false);
510
+ return _set(_cloneDeep(visualizationProperties), "controls.points.groupNearbyPoints", false);
512
511
  }
513
512
  function getPushpinShapeType(referencePoint) {
514
513
  return referencePoint.properties?.controls?.["points"]?.shapeType ?? "circle";
515
514
  }
516
515
  function resetIconByValueShapeType(referencePoint) {
517
516
  if (getPushpinShapeType(referencePoint) === "iconByValue") {
518
- return set(cloneDeep(referencePoint), "properties.controls.points.shapeType", "circle");
517
+ return _set(_cloneDeep(referencePoint), "properties.controls.points.shapeType", "circle");
519
518
  }
520
519
  return referencePoint;
521
520
  }
522
521
  function resetIconByValueInVisualizationProperties(properties, hasGeoIconLabel) {
523
522
  if (properties?.controls?.["points"]?.shapeType === "iconByValue" && !hasGeoIconLabel) {
524
- return set(cloneDeep(properties), "controls.points.shapeType", "circle");
523
+ return _set(_cloneDeep(properties), "controls.points.shapeType", "circle");
525
524
  }
526
525
  return properties;
527
526
  }
@@ -1 +1 @@
1
- {"version":3,"file":"geoPropertySanitization.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAEpF;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CACzC,cAAc,EAAE,uBAAuB,GACxC,uBAAuB,CAgCzB"}
1
+ {"version":3,"file":"geoPropertySanitization.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAEpF;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CACzC,cAAc,EAAE,uBAAuB,GACxC,uBAAuB,CAgCzB"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
3
2
  import { isConcreteViewportPreset } from "@gooddata/sdk-ui-geo/internal";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  /**
5
5
  * Strips viewport-related properties that are incompatible with the current viewport mode.
6
6
  *
@@ -23,17 +23,17 @@ export function sanitizeGeoViewportProperties(referencePoint) {
23
23
  if (!hasBounds && !hasCenter && !hasZoom) {
24
24
  return referencePoint;
25
25
  }
26
- const updated = cloneDeep(referencePoint);
27
- set(updated, "properties.controls.bounds", undefined);
28
- set(updated, "properties.controls.center", undefined);
29
- set(updated, "properties.controls.zoom", undefined);
26
+ const updated = _cloneDeep(referencePoint);
27
+ _set(updated, "properties.controls.bounds", undefined);
28
+ _set(updated, "properties.controls.center", undefined);
29
+ _set(updated, "properties.controls.zoom", undefined);
30
30
  return updated;
31
31
  }
32
32
  if (viewportArea === "custom" && hasBounds && (hasCenter || hasZoom)) {
33
33
  // Custom viewport with bounds — strip redundant center/zoom
34
- const updated = cloneDeep(referencePoint);
35
- set(updated, "properties.controls.center", undefined);
36
- set(updated, "properties.controls.zoom", undefined);
34
+ const updated = _cloneDeep(referencePoint);
35
+ _set(updated, "properties.controls.center", undefined);
36
+ _set(updated, "properties.controls.zoom", undefined);
37
37
  return updated;
38
38
  }
39
39
  return referencePoint;
@@ -1 +1 @@
1
- {"version":3,"file":"PluggableHeadline.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/headline/PluggableHeadline.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACH,KAAK,kBAAkB,EAc1B,MAAM,qBAAqB,CAAC;AAW7B,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EAIjB,MAAM,sCAAsC,CAAC;AAwB9C,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAItF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,iBAAkB,SAAQ,8BAA8B;IACjE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAY;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkB;IAC7C,OAAO,CAAC,6BAA6B,CAAS;IAE9C,YAAY,KAAK,EAAE,aAAa,EAQ/B;IAEM,OAAO,IAAI,IAAI,CAErB;IAEM,yBAAyB,CAC5B,cAAc,EAAE,QAAQ,CAAC,eAAe,CAAC,GAC1C,OAAO,CAAC,uBAAuB,CAAC,CA6DlC;IAEM,YAAY,CACf,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,0DAStC;IAED,UAAmB,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAazE;IAED,SAAS,CAAC,mBAAmB,CACzB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,IAAI,CA0CN;IAED,SAAS,CAAC,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA2BxF;IAED,UAAmB,uBAAuB,CACtC,cAAc,EAAE,eAAe,EAC/B,MAAM,EAAE,YAAY,EACpB,qBAAqB,EAAE,WAAW,EAAE,GACrC,WAAW,EAAE,CAqBf;IAED,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,qBAAqB,EAAE,GAAG,GAC3B,IAAI,CAqBN;IAED,OAAO,CAAC,iCAAiC;IAazC,OAAO,CAAC,+BAA+B;CAY1C"}
1
+ {"version":3,"file":"PluggableHeadline.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/headline/PluggableHeadline.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACH,KAAK,kBAAkB,EAc1B,MAAM,qBAAqB,CAAC;AAY7B,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EAIjB,MAAM,sCAAsC,CAAC;AAwB9C,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAItF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,iBAAkB,SAAQ,8BAA8B;IACjE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAY;IACtC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkB;IAC7C,OAAO,CAAC,6BAA6B,CAAS;IAE9C,YAAY,KAAK,EAAE,aAAa,EAQ/B;IAEM,OAAO,IAAI,IAAI,CAErB;IAEM,yBAAyB,CAC5B,cAAc,EAAE,QAAQ,CAAC,eAAe,CAAC,GAC1C,OAAO,CAAC,uBAAuB,CAAC,CA6DlC;IAEM,YAAY,CACf,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,0DAStC;IAED,UAAmB,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAazE;IAED,SAAS,CAAC,mBAAmB,CACzB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,IAAI,CA0CN;IAED,SAAS,CAAC,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA2BxF;IAED,UAAmB,uBAAuB,CACtC,cAAc,EAAE,eAAe,EAC/B,MAAM,EAAE,YAAY,EACpB,qBAAqB,EAAE,WAAW,EAAE,GACrC,WAAW,EAAE,CAqBf;IAED,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,qBAAqB,EAAE,GAAG,GAC3B,IAAI,CAqBN;IAED,OAAO,CAAC,iCAAiC;IAazC,OAAO,CAAC,+BAA+B;CAY1C"}
@@ -1,9 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2019-2026 GoodData Corporation
3
- import { cloneDeep } from "lodash-es";
4
2
  import { MeasureGroupIdentifier, bucketIsEmpty, insightBucket, insightBuckets, insightFilters, insightHasDataDefined, insightId, insightProperties, insightSorts, isInsight, isSeparators, newDimension, } from "@gooddata/sdk-model";
5
3
  import { BucketNames } from "@gooddata/sdk-ui";
6
4
  import { CoreHeadline, createHeadlineProvider } from "@gooddata/sdk-ui-charts";
5
+ import { _cloneDeep } from "@gooddata/util";
7
6
  import { METRIC } from "../../../constants/bucket.js";
8
7
  import { HEADLINE_DEFAULT_CONTROL_PROPERTIES, HEADLINE_DEFAULT_MIGRATION_CONTROL_PROPERTIES, HEADLINE_SUPPORTED_PROPERTIES, } from "../../../constants/supportedProperties.js";
9
8
  import { InvalidBucketsSdkError, } from "../../../interfaces/Visualization.js";
@@ -57,7 +56,7 @@ export class PluggableHeadline extends AbstractPluggableVisualization {
57
56
  this.unmountFun([this.getElement(), this.getConfigPanelElement()]);
58
57
  }
59
58
  getExtendedReferencePoint(referencePoint) {
60
- const referencePointCloned = cloneDeep(referencePoint);
59
+ const referencePointCloned = _cloneDeep(referencePoint);
61
60
  let newReferencePoint = {
62
61
  ...referencePointCloned,
63
62
  uiConfig: getDefaultHeadlineUiConfig(),
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep } from "@gooddata/util";
4
4
  import { BUCKETS, METRIC } from "../../../constants/bucket.js";
5
5
  import { findDerivedBucketItems, findMasterBucketItem, findMasterBucketItems, isDerivedBucketItem, } from "../../../utils/bucketHelper.js";
6
6
  export function findSecondMasterMeasure(allMeasures) {
@@ -41,7 +41,7 @@ export function tryToMapForeignBuckets(extendedReferencePoint) {
41
41
  return allMeasuresCompatible ? newReferencePoint : null;
42
42
  }
43
43
  export function setHeadlineRefPointBuckets(extendedReferencePoint, primaryMeasure, secondaryMeasure) {
44
- const newReferencePoint = cloneDeep(extendedReferencePoint);
44
+ const newReferencePoint = _cloneDeep(extendedReferencePoint);
45
45
  newReferencePoint[BUCKETS] = [
46
46
  {
47
47
  localIdentifier: BucketNames.MEASURES,
@@ -1 +1 @@
1
- {"version":3,"file":"PluggableHeatmap.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAoB,MAAM,qBAAqB,CAAC;AAW/F,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,iBAAiB,EAEtB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACjB,MAAM,sCAAsC,CAAC;AAiB9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAGxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,gBAAiB,SAAQ,kBAAkB;IACpD,YAAY,KAAK,EAAE,aAAa,EAO/B;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAwDlC;IAED,OAAO,CAAC,UAAU;IAeF,8BAA8B,CAC1C,MAAM,EAAE,QAAQ,EAChB,gBAAgB,EAAE,iBAAiB,EACnC,0BAA0B,EAAE,OAAO,GACpC,QAAQ,CAQV;IAED,SAAS,CAAC,0BAA0B,CAChC,QAAQ,EAAE,WAAW,EAAE,EACvB,MAAM,EAAE,WAAW,EAAE,EACrB,OAAO,EAAE,WAAW,EAAE,GACvB;QACC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;QACxC,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;KACjD,CAqCA;IAED,OAAO,CAAC,cAAc;IAkBN,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAsBnF;IAED,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA8BjG;CACJ"}
1
+ {"version":3,"file":"PluggableHeatmap.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAoB,MAAM,qBAAqB,CAAC;AAY/F,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,iBAAiB,EAEtB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACjB,MAAM,sCAAsC,CAAC;AAiB9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAGxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,gBAAiB,SAAQ,kBAAkB;IACpD,YAAY,KAAK,EAAE,aAAa,EAO/B;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAwDlC;IAED,OAAO,CAAC,UAAU;IAeF,8BAA8B,CAC1C,MAAM,EAAE,QAAQ,EAChB,gBAAgB,EAAE,iBAAiB,EACnC,0BAA0B,EAAE,OAAO,GACpC,QAAQ,CAQV;IAED,SAAS,CAAC,0BAA0B,CAChC,QAAQ,EAAE,WAAW,EAAE,EACvB,MAAM,EAAE,WAAW,EAAE,EACrB,OAAO,EAAE,WAAW,EAAE,GACvB;QACC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;QACxC,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;KACjD,CAqCA;IAED,OAAO,CAAC,cAAc;IAkBN,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAsBnF;IAED,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA8BjG;CACJ"}
@@ -1,8 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2019-2026 GoodData Corporation
3
- import { cloneDeep, isEmpty, set, tail } from "lodash-es";
3
+ import { tail } from "lodash-es";
4
4
  import { newAttributeSort } from "@gooddata/sdk-model";
5
5
  import { BucketNames, VisualizationTypes, isDrillIntersectionAttributeItem, } from "@gooddata/sdk-ui";
6
+ import { _cloneDeep, _isEmpty, _set } from "@gooddata/util";
6
7
  import { ATTRIBUTE, BUCKETS, DATE } from "../../../constants/bucket.js";
7
8
  import { HEATMAP_SUPPORTED_PROPERTIES } from "../../../constants/supportedProperties.js";
8
9
  import { DEFAULT_HEATMAP_UICONFIG } from "../../../constants/uiConfig.js";
@@ -54,8 +55,8 @@ export class PluggableHeatmap extends PluggableBaseChart {
54
55
  this.initializeProperties(props.visualizationProperties);
55
56
  }
56
57
  getExtendedReferencePoint(referencePoint) {
57
- const clonedReferencePoint = cloneDeep(referencePoint);
58
- const uiConfig = cloneDeep(DEFAULT_HEATMAP_UICONFIG);
58
+ const clonedReferencePoint = _cloneDeep(referencePoint);
59
+ const uiConfig = _cloneDeep(DEFAULT_HEATMAP_UICONFIG);
59
60
  let newReferencePoint = {
60
61
  ...clonedReferencePoint,
61
62
  uiConfig,
@@ -76,7 +77,7 @@ export class PluggableHeatmap extends PluggableBaseChart {
76
77
  return !stackItems.includes(attribute);
77
78
  });
78
79
  const columnItems = rowItems.length > 1 ? tail(rowItems) : stackItems;
79
- set(newReferencePoint, BUCKETS, [
80
+ _set(newReferencePoint, BUCKETS, [
80
81
  {
81
82
  localIdentifier: BucketNames.MEASURES,
82
83
  items: measures,
@@ -107,7 +108,7 @@ export class PluggableHeatmap extends PluggableBaseChart {
107
108
  return modifyBucketsAttributesForDrillDown(withFilters, drillDownContext.drillDefinition);
108
109
  }
109
110
  getDefaultAndAvailableSort(measures, viewBy, stackBy) {
110
- if (!isEmpty(viewBy) && !isEmpty(stackBy) && !isEmpty(measures)) {
111
+ if (!_isEmpty(viewBy) && !_isEmpty(stackBy) && !_isEmpty(measures)) {
111
112
  return {
112
113
  defaultSort: [
113
114
  newAttributeSort(viewBy[0].localIdentifier, "desc"),
@@ -119,7 +120,7 @@ export class PluggableHeatmap extends PluggableBaseChart {
119
120
  ],
120
121
  };
121
122
  }
122
- if (!isEmpty(measures) && !isEmpty(viewBy)) {
123
+ if (!_isEmpty(measures) && !_isEmpty(viewBy)) {
123
124
  return {
124
125
  defaultSort: [newAttributeSort(viewBy[0].localIdentifier, "desc")],
125
126
  availableSorts: [
@@ -127,7 +128,7 @@ export class PluggableHeatmap extends PluggableBaseChart {
127
128
  ],
128
129
  };
129
130
  }
130
- if (!isEmpty(measures) && !isEmpty(stackBy)) {
131
+ if (!_isEmpty(measures) && !_isEmpty(stackBy)) {
131
132
  return {
132
133
  defaultSort: [newAttributeSort(stackBy[0].localIdentifier, "asc")],
133
134
  availableSorts: [newAvailableSortsGroup(stackBy[0].localIdentifier)],
@@ -1 +1 @@
1
- {"version":3,"file":"PluggableLineChart.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAoB,MAAM,qBAAqB,CAAC;AAO/F,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EAGH,KAAK,iBAAiB,EAEtB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,SAAS,EACjB,MAAM,sCAAsC,CAAC;AAqB9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAOxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,kBAAmB,SAAQ,kBAAkB;IACtD,YAAY,KAAK,EAAE,aAAa,EAQ/B;IAEe,0BAA0B,IAAI,MAAM,EAAE,CAErD;IAEe,WAAW,IAAI,SAAS,CAEvC;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CA2BlC;IAEe,8BAA8B,CAC1C,MAAM,EAAE,QAAQ,EAChB,gBAAgB,EAAE,iBAAiB,EACnC,0BAA0B,EAAE,OAAO,GACpC,QAAQ,CAQV;IAEe,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAkBnF;IAED,OAAO,CAAC,iBAAiB;IAKzB,UAAmB,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,IAAI,CAEpF;IAED,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA+BjG;IAED,OAAO,CAAC,iCAAiC;IAiDzC,OAAO,CAAC,UAAU;IAUlB,OAAO,CAAC,0BAA0B;IAoClC,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,sBAAsB;IAoB9B,OAAO,CAAC,6BAA6B;CASxC"}
1
+ {"version":3,"file":"PluggableLineChart.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAoB,MAAM,qBAAqB,CAAC;AAQ/F,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EAGH,KAAK,iBAAiB,EAEtB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,SAAS,EACjB,MAAM,sCAAsC,CAAC;AAqB9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAOxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,kBAAmB,SAAQ,kBAAkB;IACtD,YAAY,KAAK,EAAE,aAAa,EAQ/B;IAEe,0BAA0B,IAAI,MAAM,EAAE,CAErD;IAEe,WAAW,IAAI,SAAS,CAEvC;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CA2BlC;IAEe,8BAA8B,CAC1C,MAAM,EAAE,QAAQ,EAChB,gBAAgB,EAAE,iBAAiB,EACnC,0BAA0B,EAAE,OAAO,GACpC,QAAQ,CAQV;IAEe,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAkBnF;IAED,OAAO,CAAC,iBAAiB;IAKzB,UAAmB,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,IAAI,CAEpF;IAED,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA+BjG;IAED,OAAO,CAAC,iCAAiC;IAiDzC,OAAO,CAAC,UAAU;IAUlB,OAAO,CAAC,0BAA0B;IAoClC,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,sBAAsB;IAoB9B,OAAO,CAAC,6BAA6B;CASxC"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2019-2026 GoodData Corporation
3
- import { cloneDeep, isEmpty, isEqual, set } from "lodash-es";
4
3
  import { newAttributeSort } from "@gooddata/sdk-model";
5
4
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
5
+ import { _cloneDeep, _isEmpty, _isEqual, _set } from "@gooddata/util";
6
6
  import { AXIS, AXIS_NAME } from "../../../constants/axis.js";
7
7
  import { ATTRIBUTE, BUCKETS, DATE } from "../../../constants/bucket.js";
8
8
  import { LINE_CHART_SUPPORTED_PROPERTIES } from "../../../constants/supportedProperties.js";
@@ -61,10 +61,10 @@ export class PluggableLineChart extends PluggableBaseChart {
61
61
  return LINE_CHART_SUPPORTED_PROPERTIES[this.axis];
62
62
  }
63
63
  getUiConfig() {
64
- return cloneDeep(LINE_UICONFIG_WITH_MULTIPLE_DATES);
64
+ return _cloneDeep(LINE_UICONFIG_WITH_MULTIPLE_DATES);
65
65
  }
66
66
  getExtendedReferencePoint(referencePoint) {
67
- const clonedReferencePoint = cloneDeep(referencePoint);
67
+ const clonedReferencePoint = _cloneDeep(referencePoint);
68
68
  let newReferencePoint = {
69
69
  ...clonedReferencePoint,
70
70
  uiConfig: this.getUiConfig(),
@@ -143,7 +143,7 @@ export class PluggableLineChart extends PluggableBaseChart {
143
143
  }
144
144
  attributes = getAttributeItemsWithoutStacks(buckets, [ATTRIBUTE, DATE]).slice(0, 1);
145
145
  }
146
- set(newReferencePoint, BUCKETS, [
146
+ _set(newReferencePoint, BUCKETS, [
147
147
  {
148
148
  localIdentifier: BucketNames.MEASURES,
149
149
  items: this.getBucketMeasures(newReferencePoint.buckets),
@@ -169,7 +169,7 @@ export class PluggableLineChart extends PluggableBaseChart {
169
169
  const segmentBy = getBucketItems(buckets, BucketNames.SEGMENT);
170
170
  const defaultSort = trendBy.length > 0 ? [newAttributeSort(trendBy[0].localIdentifier, "asc")] : [];
171
171
  if (measures.length > 0 && trendBy.length === 1) {
172
- if (isEmpty(segmentBy)) {
172
+ if (_isEmpty(segmentBy)) {
173
173
  return {
174
174
  defaultSort,
175
175
  availableSorts: [
@@ -206,12 +206,12 @@ export class PluggableLineChart extends PluggableBaseChart {
206
206
  const existingThresholdMeasures = properties?.controls?.["thresholdMeasures"] || [];
207
207
  if (measureItems.length <= 1 && existingThresholdMeasures.length > 0) {
208
208
  // In case there's just one measure item, we need to reset the threshold measures
209
- set(referencePoint, "properties.controls.thresholdMeasures", []);
209
+ _set(referencePoint, "properties.controls.thresholdMeasures", []);
210
210
  }
211
- if (isEqual(listThresholdMeasures, existingThresholdMeasures)) {
211
+ if (_isEqual(listThresholdMeasures, existingThresholdMeasures)) {
212
212
  return referencePoint;
213
213
  }
214
- set(referencePoint, "properties.controls.thresholdMeasures", listThresholdMeasures);
214
+ _set(referencePoint, "properties.controls.thresholdMeasures", listThresholdMeasures);
215
215
  return referencePoint;
216
216
  }
217
217
  isDistinctPointShapesDisabled() {
@@ -1 +1 @@
1
- {"version":3,"file":"PluggableMekko.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/mekko/PluggableMekko.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACH,KAAK,kBAAkB,EAO1B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAK5D,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,sCAAsC,CAAC;AAU9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAyBxE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,cAAe,SAAQ,kBAAkB;IAClD,YAAY,KAAK,EAAE,aAAa,EAK/B;IAEe,YAAY,CACxB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,0DActC;IAGD,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,iBAAiB,CAAC,EAAE,wBAAwB,GAC7C,YAAY,CAMd;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAyBlC;IAEe,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CA4CnF;CACJ"}
1
+ {"version":3,"file":"PluggableMekko.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/mekko/PluggableMekko.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACH,KAAK,kBAAkB,EAO1B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAM5D,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,sCAAsC,CAAC;AAU9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAyBxE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,cAAe,SAAQ,kBAAkB;IAClD,YAAY,KAAK,EAAE,aAAa,EAK/B;IAEe,YAAY,CACxB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,0DActC;IAGD,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,iBAAiB,CAAC,EAAE,wBAAwB,GAC7C,YAAY,CAMd;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAyBlC;IAEe,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CA4CnF;CACJ"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { cloneDeep, isEmpty, set } from "lodash-es";
3
2
  import { bucketIsEmpty, insightBucket, insightSorts, isMeasureSort, newAttributeSort, } from "@gooddata/sdk-model";
4
3
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
4
+ import { _cloneDeep, _isEmpty, _set } from "@gooddata/util";
5
5
  import { BUCKETS } from "../../../constants/bucket.js";
6
6
  import { MEKKO_SUPPORTED_PROPERTIES } from "../../../constants/supportedProperties.js";
7
7
  import { DEFAULT_MEKKO_UICONFIG } from "../../../constants/uiConfig.js";
@@ -15,13 +15,13 @@ import { transformBuckets } from "./bucketHelper.js";
15
15
  /** Declares "Stack to 100%" visibility (the app heuristic misses a Height-only metric) and locks it checked for Width-only + Stack By — uiConfig only, never the durable user property. */
16
16
  function configurePercentStacking(referencePoint) {
17
17
  const buckets = referencePoint[BUCKETS];
18
- const hasWidth = !isEmpty(getBucketItems(buckets, BucketNames.MEASURES));
19
- const hasHeight = !isEmpty(getBucketItems(buckets, BucketNames.SECONDARY_MEASURES));
20
- const hasStack = !isEmpty(getBucketItems(buckets, BucketNames.STACK));
21
- set(referencePoint, ["uiConfig", "optionalStacking", "stackToPercentVisible"], hasStack && (hasWidth || hasHeight));
18
+ const hasWidth = !_isEmpty(getBucketItems(buckets, BucketNames.MEASURES));
19
+ const hasHeight = !_isEmpty(getBucketItems(buckets, BucketNames.SECONDARY_MEASURES));
20
+ const hasStack = !_isEmpty(getBucketItems(buckets, BucketNames.STACK));
21
+ _set(referencePoint, ["uiConfig", "optionalStacking", "stackToPercentVisible"], hasStack && (hasWidth || hasHeight));
22
22
  if (hasWidth && !hasHeight && hasStack) {
23
- set(referencePoint, ["uiConfig", "optionalStacking", "disabled"], true);
24
- set(referencePoint, ["uiConfig", "optionalStacking", "stackMeasuresToPercent"], true);
23
+ _set(referencePoint, ["uiConfig", "optionalStacking", "disabled"], true);
24
+ _set(referencePoint, ["uiConfig", "optionalStacking", "stackMeasuresToPercent"], true);
25
25
  }
26
26
  return referencePoint;
27
27
  }
@@ -80,8 +80,8 @@ export class PluggableMekko extends PluggableBaseChart {
80
80
  };
81
81
  }
82
82
  getExtendedReferencePoint(referencePoint) {
83
- const clonedReferencePoint = cloneDeep(referencePoint);
84
- const uiConfig = cloneDeep(DEFAULT_MEKKO_UICONFIG);
83
+ const clonedReferencePoint = _cloneDeep(referencePoint);
84
+ const uiConfig = _cloneDeep(DEFAULT_MEKKO_UICONFIG);
85
85
  let newReferencePoint = {
86
86
  ...clonedReferencePoint,
87
87
  uiConfig,
@@ -107,7 +107,7 @@ export class PluggableMekko extends PluggableBaseChart {
107
107
  ...getBucketItems(buckets, BucketNames.SECONDARY_MEASURES),
108
108
  ];
109
109
  // Sorting needs a column attribute and at least one measure to sort by.
110
- const disabled = isEmpty(viewBy) || isEmpty(measures);
110
+ const disabled = _isEmpty(viewBy) || _isEmpty(measures);
111
111
  // Sort by the single view-by attribute; use viewBy[0] to stay consistent with availableSorts.
112
112
  const defaultSort = viewBy
113
113
  .slice(0, 1)
@@ -119,7 +119,7 @@ export class PluggableMekko extends PluggableBaseChart {
119
119
  // when stacked these apply client-side — see getExecution above
120
120
  measures.map((m) => m.localIdentifier), true,
121
121
  // area sort (by the stacked total) only makes sense with stacked segments
122
- !isEmpty(stackBy)),
122
+ !_isEmpty(stackBy)),
123
123
  ];
124
124
  return Promise.resolve({
125
125
  supported: true,
@@ -1 +1 @@
1
- {"version":3,"file":"PluggablePieChart.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAkB,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,yBAAyB,CAAC;AAYjE,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,sCAAsC,CAAC;AAe9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,iBAAkB,SAAQ,kBAAkB;IACrD,YAAY,KAAK,EAAE,aAAa,EAM/B;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CA6DlC;IAED,SAAS,CAAC,0BAA0B,CAChC,QAAQ,EAAE,WAAW,EAAE,EACvB,MAAM,EAAE,WAAW,EAAE,GACtB;QACC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;QACxC,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;KACjD,CAmBA;IAED,OAAO,CAAC,cAAc;IAYN,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAqBnF;IAED,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA6BjG;IAED,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,iBAAiB,EAAE,wBAAwB,GAC5C,YAAY,CAWd;CACJ"}
1
+ {"version":3,"file":"PluggablePieChart.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kBAAkB,EAAkB,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,yBAAyB,CAAC;AAajE,OAAO,EAAE,KAAK,WAAW,EAA0B,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,sCAAsC,CAAC;AAe9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,iBAAkB,SAAQ,kBAAkB;IACrD,YAAY,KAAK,EAAE,aAAa,EAM/B;IAEe,yBAAyB,CACrC,cAAc,EAAE,eAAe,GAChC,OAAO,CAAC,uBAAuB,CAAC,CA6DlC;IAED,SAAS,CAAC,0BAA0B,CAChC,QAAQ,EAAE,WAAW,EAAE,EACvB,MAAM,EAAE,WAAW,EAAE,GACtB;QACC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;QACxC,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;KACjD,CAmBA;IAED,OAAO,CAAC,cAAc;IAYN,aAAa,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAqBnF;IAED,UAAmB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CA6BjG;IAED,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,iBAAiB,EAAE,wBAAwB,GAC5C,YAAY,CAWd;CACJ"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2019-2026 GoodData Corporation
3
- import { cloneDeep, isEmpty, set } from "lodash-es";
4
3
  import { newMeasureSort } from "@gooddata/sdk-model";
5
4
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
6
5
  import { TOP } from "@gooddata/sdk-ui-charts";
6
+ import { _cloneDeep, _isEmpty, _set } from "@gooddata/util";
7
7
  import { BUCKETS } from "../../../constants/bucket.js";
8
8
  import { DASHBOARDS_ENVIRONMENT } from "../../../constants/properties.js";
9
9
  import { PIECHART_SUPPORTED_PROPERTIES } from "../../../constants/supportedProperties.js";
@@ -58,8 +58,8 @@ export class PluggablePieChart extends PluggableBaseChart {
58
58
  this.initializeProperties(props.visualizationProperties);
59
59
  }
60
60
  getExtendedReferencePoint(referencePoint) {
61
- const clonedReferencePoint = cloneDeep(referencePoint);
62
- const uiConfig = cloneDeep(DEFAULT_PIE_UICONFIG);
61
+ const clonedReferencePoint = _cloneDeep(referencePoint);
62
+ const uiConfig = _cloneDeep(DEFAULT_PIE_UICONFIG);
63
63
  let newReferencePoint = {
64
64
  ...clonedReferencePoint,
65
65
  uiConfig,
@@ -71,7 +71,7 @@ export class PluggablePieChart extends PluggableBaseChart {
71
71
  if (attributes.length) {
72
72
  const limitedBuckets = limitNumberOfMeasuresInBuckets(buckets, 1);
73
73
  const limitedMeasures = getMeasureItems(limitedBuckets);
74
- set(newReferencePoint, BUCKETS, [
74
+ _set(newReferencePoint, BUCKETS, [
75
75
  {
76
76
  localIdentifier: BucketNames.MEASURES,
77
77
  items: limitedMeasures,
@@ -86,12 +86,12 @@ export class PluggablePieChart extends PluggableBaseChart {
86
86
  const limitedBuckets = limitNumberOfMeasuresInBuckets(buckets, DEFAULT_PIE_ONLY_MAX_METRICS_COUNT, true);
87
87
  const limitedMeasures = getMeasureItems(limitedBuckets);
88
88
  if (limitedMeasures.length > 1) {
89
- set(newReferencePoint, UICONFIG, cloneDeep(PIE_UICONFIG_WITH_MULTIPLE_METRICS));
89
+ _set(newReferencePoint, UICONFIG, _cloneDeep(PIE_UICONFIG_WITH_MULTIPLE_METRICS));
90
90
  }
91
91
  else {
92
- set(newReferencePoint, UICONFIG, cloneDeep(PIE_UICONFIG_WITH_ONE_METRIC));
92
+ _set(newReferencePoint, UICONFIG, _cloneDeep(PIE_UICONFIG_WITH_ONE_METRIC));
93
93
  }
94
- set(newReferencePoint, BUCKETS, [
94
+ _set(newReferencePoint, BUCKETS, [
95
95
  {
96
96
  localIdentifier: BucketNames.MEASURES,
97
97
  items: limitedMeasures,
@@ -109,7 +109,7 @@ export class PluggablePieChart extends PluggableBaseChart {
109
109
  return Promise.resolve(sanitizeFilters(newReferencePoint, referencePoint));
110
110
  }
111
111
  getDefaultAndAvailableSort(measures, viewBy) {
112
- if (!isEmpty(measures) && !isEmpty(viewBy)) {
112
+ if (!_isEmpty(measures) && !_isEmpty(viewBy)) {
113
113
  return {
114
114
  defaultSort: [newMeasureSort(measures[0].localIdentifier, "desc")],
115
115
  availableSorts: [
@@ -1 +1 @@
1
- {"version":3,"file":"PluggablePivotTable.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9F,OAAO,EACH,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAWjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,KAAK,wBAAwB,EAAsB,MAAM,kBAAkB,CAAC;AAClG,OAAO,EAEH,KAAK,eAAe,EAIpB,KAAK,iBAAiB,EAGzB,MAAM,wBAAwB,CAAC;AAKhC,OAAO,EAEH,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,wBAAwB,EAGhC,MAAM,sCAAsC,CAAC;AA0B9C,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAwBtF,eAAO,MAAM,mBAAmB,YAAa,YAAY,EAAE,KAAG,WAAW,EAMxE,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,YAAY,EAAE,KAAG,WAAW,EAerE,CAAC;AAIF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,mBAAoB,SAAQ,8BAA8B;IACnE,OAAO,CAAC,WAAW,CAAuC;IAC1D,OAAO,CAAC,SAAS,CAAiB;IAClC,OAAO,CAAC,UAAU,CAAkB;IACpC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAY;IACrC,OAAO,CAAC,mBAAmB,CAAuB;IAElD,YAAY,KAAK,EAAE,aAAa,EAa/B;IAEM,OAAO,IAAI,IAAI,CAErB;IAEM,yBAAyB,CAC5B,cAAc,EAAE,eAAe,EAC/B,sBAAsB,CAAC,EAAE,eAAe,GACzC,OAAO,CAAC,uBAAuB,CAAC,CAqIlC;IAEe,8BAA8B,CAC1C,mBAAmB,EAAE,QAAQ,EAC7B,gBAAgB,EAAE,iBAAiB,EACnC,0BAA0B,EAAE,OAAO,GACpC,QAAQ,CAWV;IAEM,YAAY,CACf,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,0DAUtC;IAED,SAAS,CAAC,oBAAoB,CAAC,uBAAuB,EAAE,wBAAwB,GAAG,IAAI,CAWtF;IAED,OAAO,CAAC,yBAAyB,CAc/B;IAEF,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,qBAAqB,EAAE,GAAG,GAC3B,IAAI,CASN;IAED,SAAS,CAAC,mBAAmB,CACzB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,IAAI,CA0FN;IAED,SAAS,CAAC,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CAuCxF;IAED,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,kBAAkB,EAAE,yBAAyB,CAAC,EAAE,GAAG,GAAG,UAAU,EAAE,CAElG;IAED,OAAO,CAAC,wBAAwB;IAYhC,OAAO,CAAC,oBAAoB;IA6B5B,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,cAAc;CAmBzB;AAMD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAClC,MAAM,EAAE,UAAU,EAClB,WAAW,EAAE,wBAAwB,EACrC,QAAQ,EAAE,SAAS,EACnB,YAAY,EAAE,oBAAoB,EAClC,YAAY,CAAC,EAAE,eAAe,EAAE,GACjC,iBAAiB,CAsDnB"}
1
+ {"version":3,"file":"PluggablePivotTable.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9F,OAAO,EACH,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAWjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,KAAK,wBAAwB,EAAsB,MAAM,kBAAkB,CAAC;AAClG,OAAO,EAEH,KAAK,eAAe,EAIpB,KAAK,iBAAiB,EAGzB,MAAM,wBAAwB,CAAC;AAMhC,OAAO,EAEH,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,wBAAwB,EAGhC,MAAM,sCAAsC,CAAC;AA0B9C,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAwBtF,eAAO,MAAM,mBAAmB,YAAa,YAAY,EAAE,KAAG,WAAW,EAMxE,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,YAAY,EAAE,KAAG,WAAW,EAerE,CAAC;AAIF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,mBAAoB,SAAQ,8BAA8B;IACnE,OAAO,CAAC,WAAW,CAAuC;IAC1D,OAAO,CAAC,SAAS,CAAiB;IAClC,OAAO,CAAC,UAAU,CAAkB;IACpC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAY;IACrC,OAAO,CAAC,mBAAmB,CAAuB;IAElD,YAAY,KAAK,EAAE,aAAa,EAa/B;IAEM,OAAO,IAAI,IAAI,CAErB;IAEM,yBAAyB,CAC5B,cAAc,EAAE,eAAe,EAC/B,sBAAsB,CAAC,EAAE,eAAe,GACzC,OAAO,CAAC,uBAAuB,CAAC,CAqIlC;IAEe,8BAA8B,CAC1C,mBAAmB,EAAE,QAAQ,EAC7B,gBAAgB,EAAE,iBAAiB,EACnC,0BAA0B,EAAE,OAAO,GACpC,QAAQ,CAWV;IAEM,YAAY,CACf,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,0DAUtC;IAED,SAAS,CAAC,oBAAoB,CAAC,uBAAuB,EAAE,wBAAwB,GAAG,IAAI,CAWtF;IAED,OAAO,CAAC,yBAAyB,CAc/B;IAEF,UAAmB,wBAAwB,CACvC,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,qBAAqB,EAAE,GAAG,GAC3B,IAAI,CASN;IAED,SAAS,CAAC,mBAAmB,CACzB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,iBAAiB,GACpC,IAAI,CA0FN;IAED,SAAS,CAAC,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,SAAS,GAAG,IAAI,CAuCxF;IAED,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,kBAAkB,EAAE,yBAAyB,CAAC,EAAE,GAAG,GAAG,UAAU,EAAE,CAElG;IAED,OAAO,CAAC,wBAAwB;IAYhC,OAAO,CAAC,oBAAoB;IA6B5B,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,cAAc;CAmBzB;AAMD;;;;GAIG;AACH,wBAAgB,sBAAsB,CAClC,MAAM,EAAE,UAAU,EAClB,WAAW,EAAE,wBAAwB,EACrC,QAAQ,EAAE,SAAS,EACnB,YAAY,EAAE,oBAAoB,EAClC,YAAY,CAAC,EAAE,eAAe,EAAE,GACjC,iBAAiB,CAsDnB"}
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { defaultImport } from "default-import";
3
- import { cloneDeep, isEmpty, isEqual } from "lodash-es";
4
3
  import Measure from "react-measure";
5
4
  import { bucketAttribute, insightBucket, insightBuckets, insightHasDataDefined, insightProperties, insightSanitize, insightSorts, newAttributeSort, } from "@gooddata/sdk-model";
6
5
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
7
6
  import { CorePivotTable, pivotTableMenuForCapabilities, } from "@gooddata/sdk-ui-pivot";
7
+ import { _cloneDeep, _isEmpty, _isEqual } from "@gooddata/util";
8
8
  import { ATTRIBUTE, DATE, METRIC } from "../../../constants/bucket.js";
9
9
  import { ANALYTICAL_ENVIRONMENT, DASHBOARDS_ENVIRONMENT } from "../../../constants/properties.js";
10
10
  import { PIVOT_TABLE_SUPPORTED_PROPERTIES } from "../../../constants/supportedProperties.js";
@@ -94,7 +94,7 @@ export class PluggablePivotTable extends AbstractPluggableVisualization {
94
94
  this.unmountFun([this.getElement(), this.getConfigPanelElement()]);
95
95
  }
96
96
  getExtendedReferencePoint(referencePoint, previousReferencePoint) {
97
- const clonedReferencePoint = cloneDeep(referencePoint);
97
+ const clonedReferencePoint = _cloneDeep(referencePoint);
98
98
  const newReferencePoint = {
99
99
  ...clonedReferencePoint,
100
100
  uiConfig: getPivotTableDefaultUiConfig(),
@@ -308,11 +308,11 @@ export class PluggablePivotTable extends AbstractPluggableVisualization {
308
308
  }
309
309
  }
310
310
  sanitizeColumnWidths(columnWidths, insight, visualizationProperties, measureGroupDimension) {
311
- if (isEmpty(insightBuckets(insight))) {
311
+ if (_isEmpty(insightBuckets(insight))) {
312
312
  return;
313
313
  }
314
314
  const adaptedColumnWidths = adaptMdObjectWidthItemsToPivotTable(columnWidths, insight, measureGroupDimension);
315
- if (!isEqual(columnWidths, adaptedColumnWidths)) {
315
+ if (!_isEqual(columnWidths, adaptedColumnWidths)) {
316
316
  this.visualizationProperties.controls["columnWidths"] = adaptedColumnWidths;
317
317
  this.pushData({
318
318
  properties: {
@@ -426,7 +426,7 @@ export function createPivotTableConfig(config, environment, settings, capabiliti
426
426
  function getPivotTableSortItems(insight) {
427
427
  const sorts = insightSorts(insight);
428
428
  const mesureGroupDimension = getMeasureGroupDimensionFromProperties(insightProperties(insight));
429
- if (!isEmpty(sorts)) {
429
+ if (!_isEmpty(sorts)) {
430
430
  /*
431
431
  * This is here to ensure that when rendering pivot table in KD, all invalid sort items
432
432
  * are filtered out. At this moment, core pivot table does not handle invalid sorts so well and