@gooddata/sdk-ui-ext 11.68.0-alpha.1 → 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.
Files changed (229) 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 +3 -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/colors/ColorsSection.js +3 -3
  37. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.d.ts.map +1 -1
  38. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.js +4 -4
  39. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.d.ts.map +1 -1
  40. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.js +3 -3
  41. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.d.ts.map +1 -1
  42. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.js +6 -6
  43. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.d.ts.map +1 -1
  44. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +3 -3
  45. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
  46. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +2 -2
  47. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
  48. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +3 -3
  49. package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.js +3 -3
  50. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts +1 -2
  51. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map +1 -1
  52. package/esm/internal/components/configurationControls/interactions/InteractionsSection.js +2 -2
  53. package/esm/internal/components/configurationControls/total/TotalSection.d.ts.map +1 -1
  54. package/esm/internal/components/configurationControls/total/TotalSection.js +4 -4
  55. package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.js +2 -2
  56. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts.map +1 -1
  57. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.js +1 -2
  58. package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js +1 -1
  59. package/esm/internal/components/configurationPanels/UnsupportedConfigurationPanel.js +2 -2
  60. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.d.ts.map +1 -1
  61. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.js +3 -3
  62. package/esm/internal/components/dialogs/userManagementDialogs/types.d.ts.map +1 -1
  63. package/esm/internal/components/dialogs/userManagementDialogs/types.js +6 -6
  64. package/esm/internal/components/insightList/useInsightPagedList.d.ts.map +1 -1
  65. package/esm/internal/components/insightList/useInsightPagedList.js +3 -3
  66. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts.map +1 -1
  67. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.js +4 -4
  68. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.d.ts.map +1 -1
  69. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.js +3 -4
  70. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.d.ts.map +1 -1
  71. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.js +6 -6
  72. package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.d.ts.map +1 -1
  73. package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.js +7 -7
  74. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.d.ts.map +1 -1
  75. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js +9 -8
  76. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.d.ts.map +1 -1
  77. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.js +4 -5
  78. package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.d.ts.map +1 -1
  79. package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.js +3 -3
  80. package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.d.ts.map +1 -1
  81. package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.js +7 -7
  82. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.d.ts.map +1 -1
  83. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js +6 -6
  84. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.d.ts.map +1 -1
  85. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.js +5 -4
  86. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.d.ts.map +1 -1
  87. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.js +4 -5
  88. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts.map +1 -1
  89. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +8 -9
  90. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.d.ts.map +1 -1
  91. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.js +15 -16
  92. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.d.ts.map +1 -1
  93. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.js +8 -8
  94. package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.d.ts.map +1 -1
  95. package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.js +2 -3
  96. package/esm/internal/components/pluggableVisualizations/headline/headlineBucketHelper.js +3 -3
  97. package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.d.ts.map +1 -1
  98. package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.js +8 -7
  99. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.d.ts.map +1 -1
  100. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.js +8 -8
  101. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.d.ts.map +1 -1
  102. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.js +11 -11
  103. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.d.ts.map +1 -1
  104. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.js +8 -8
  105. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.d.ts.map +1 -1
  106. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.js +5 -5
  107. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.d.ts.map +1 -1
  108. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.js +2 -2
  109. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableConfigFromInsight.d.ts.map +1 -1
  110. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableConfigFromInsight.js +6 -6
  111. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.d.ts.map +1 -1
  112. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.js +4 -5
  113. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.d.ts.map +1 -1
  114. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.js +2 -2
  115. package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.d.ts.map +1 -1
  116. package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.js +2 -2
  117. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.d.ts.map +1 -1
  118. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.js +4 -4
  119. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.d.ts.map +1 -1
  120. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.js +6 -7
  121. package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.d.ts.map +1 -1
  122. package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.js +3 -4
  123. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.d.ts.map +1 -1
  124. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.js +5 -6
  125. package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.d.ts.map +1 -1
  126. package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.js +6 -5
  127. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.d.ts.map +1 -1
  128. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.js +11 -11
  129. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts.map +1 -1
  130. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.js +2 -3
  131. package/esm/internal/interfaces/Visualization.d.ts.map +1 -1
  132. package/esm/internal/interfaces/Visualization.js +6 -6
  133. package/esm/internal/translations/en-US.localization-bundle.d.ts +28 -0
  134. package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
  135. package/esm/internal/translations/en-US.localization-bundle.js +29 -1
  136. package/esm/internal/translations/fr-CA.localization-bundle.js +1 -1
  137. package/esm/internal/translations/it-IT.localization-bundle.js +2 -2
  138. package/esm/internal/translations/ru-RU.localization-bundle.js +1 -1
  139. package/esm/internal/translations/tr-TR.localization-bundle.js +1 -1
  140. package/esm/internal/translations/zh-Hant.localization-bundle.js +4 -4
  141. package/esm/internal/utils/bucketConfig.d.ts.map +1 -1
  142. package/esm/internal/utils/bucketConfig.js +5 -5
  143. package/esm/internal/utils/bucketHelper.d.ts.map +1 -1
  144. package/esm/internal/utils/bucketHelper.js +15 -14
  145. package/esm/internal/utils/bucketRules.d.ts.map +1 -1
  146. package/esm/internal/utils/bucketRules.js +3 -2
  147. package/esm/internal/utils/colors.d.ts.map +1 -1
  148. package/esm/internal/utils/colors.js +11 -11
  149. package/esm/internal/utils/controlsHelper.d.ts.map +1 -1
  150. package/esm/internal/utils/controlsHelper.js +7 -7
  151. package/esm/internal/utils/dimensions.d.ts.map +1 -1
  152. package/esm/internal/utils/dimensions.js +4 -4
  153. package/esm/internal/utils/drillablePredicates.d.ts.map +1 -1
  154. package/esm/internal/utils/drillablePredicates.js +4 -4
  155. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.d.ts.map +1 -1
  156. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.js +11 -10
  157. package/esm/internal/utils/propertiesHelper.d.ts.map +1 -1
  158. package/esm/internal/utils/propertiesHelper.js +16 -15
  159. package/esm/internal/utils/removeUseless.js +3 -3
  160. package/esm/internal/utils/sort.d.ts.map +1 -1
  161. package/esm/internal/utils/sort.js +9 -8
  162. package/esm/internal/utils/translations.d.ts.map +1 -1
  163. package/esm/internal/utils/translations.js +2 -3
  164. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.d.ts.map +1 -1
  165. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.js +10 -10
  166. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.d.ts.map +1 -1
  167. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.js +19 -19
  168. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.d.ts.map +1 -1
  169. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.js +8 -8
  170. package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.d.ts.map +1 -1
  171. package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.js +2 -2
  172. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.d.ts.map +1 -1
  173. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.js +6 -6
  174. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.d.ts.map +1 -1
  175. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.js +8 -8
  176. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.d.ts.map +1 -1
  177. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.js +10 -10
  178. package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.js +6 -6
  179. package/esm/internal/utils/uiConfigHelpers/donutChartUiConfigHelper.js +5 -5
  180. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.d.ts.map +1 -1
  181. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.js +6 -6
  182. package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.d.ts.map +1 -1
  183. package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.js +3 -3
  184. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.d.ts.map +1 -1
  185. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.js +15 -15
  186. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.d.ts.map +1 -1
  187. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.js +10 -10
  188. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.d.ts.map +1 -1
  189. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.js +7 -7
  190. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.d.ts.map +1 -1
  191. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.js +13 -13
  192. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.d.ts.map +1 -1
  193. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.js +7 -7
  194. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.d.ts.map +1 -1
  195. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.js +12 -12
  196. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.d.ts.map +1 -1
  197. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.js +14 -14
  198. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.d.ts.map +1 -1
  199. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.js +14 -14
  200. package/esm/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.js +5 -5
  201. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.d.ts.map +1 -1
  202. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.js +13 -13
  203. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.d.ts.map +1 -1
  204. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.js +14 -14
  205. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.d.ts.map +1 -1
  206. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.js +10 -10
  207. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.d.ts.map +1 -1
  208. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.js +8 -8
  209. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.d.ts.map +1 -1
  210. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.js +12 -12
  211. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.d.ts.map +1 -1
  212. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.js +11 -11
  213. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.d.ts.map +1 -1
  214. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.js +5 -5
  215. package/esm/notificationsPanel/Notification/Notification.d.ts.map +1 -1
  216. package/esm/notificationsPanel/Notification/Notification.js +4 -4
  217. package/esm/sdk-ui-ext.d.ts +1 -1
  218. package/esm/share/ObjectShareDialog.d.ts +1 -1
  219. package/esm/share/ObjectShareDialog.js +3 -3
  220. package/esm/share/messages.d.ts +28 -0
  221. package/esm/share/messages.d.ts.map +1 -1
  222. package/esm/share/messages.js +14 -0
  223. package/esm/share/removeAccessConfirm.d.ts +21 -0
  224. package/esm/share/removeAccessConfirm.d.ts.map +1 -0
  225. package/esm/share/removeAccessConfirm.js +27 -0
  226. package/esm/share/useObjectShareDialog.d.ts +14 -11
  227. package/esm/share/useObjectShareDialog.d.ts.map +1 -1
  228. package/esm/share/useObjectShareDialog.js +54 -24
  229. package/package.json +21 -21
@@ -1,6 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep } from "@gooddata/util";
4
4
  import { messages } from "../../../locales.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  import { getItemsCount, setBucketTitles } from "../bucketHelper.js";
@@ -13,7 +13,7 @@ const bulletTargetMeasureIcon = "local:bullet/bucket-title-target.svg";
13
13
  const bulletComparativeMeasureIcon = "local:bullet/bucket-title-comparative.svg";
14
14
  const bulletViewByIcon = "local:bullet/bucket-title-view-by.svg";
15
15
  export function getBulletChartUiConfig(referencePoint, intl, visualizationType) {
16
- const referencePointConfigured = cloneDeep(referencePoint);
16
+ const referencePointConfigured = _cloneDeep(referencePoint);
17
17
  referencePointConfigured[UICONFIG] = setBucketTitles(referencePointConfigured, visualizationType, intl);
18
18
  const buckets = referencePoint?.buckets ?? [];
19
19
  const primaryMeasuresCount = getItemsCount(buckets, BucketNames.MEASURES);
@@ -1 +1 @@
1
- {"version":3,"file":"columnBarChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAIjF,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAwBzB"}
1
+ {"version":3,"file":"columnBarChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAIjF,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAwBzB"}
@@ -1,20 +1,20 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames, OverTimeComparisonTypes } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { messages } from "../../../locales.js";
5
5
  import { BUCKETS } from "../../constants/bucket.js";
6
6
  import { SUPPORTED_COMPARISON_TYPES, UICONFIG } from "../../constants/uiConfig.js";
7
7
  import { getMeasureItems } from "../bucketHelper.js";
8
8
  import { getTranslation } from "../translations.js";
9
9
  export function setColumnBarChartUiConfig(referencePoint, intl) {
10
- const referencePointConfigured = cloneDeep(referencePoint);
11
- set(referencePointConfigured, [UICONFIG, SUPPORTED_COMPARISON_TYPES], [OverTimeComparisonTypes.SAME_PERIOD_PREVIOUS_YEAR, OverTimeComparisonTypes.PREVIOUS_PERIOD]);
10
+ const referencePointConfigured = _cloneDeep(referencePoint);
11
+ _set(referencePointConfigured, [UICONFIG, SUPPORTED_COMPARISON_TYPES], [OverTimeComparisonTypes.SAME_PERIOD_PREVIOUS_YEAR, OverTimeComparisonTypes.PREVIOUS_PERIOD]);
12
12
  const buckets = referencePointConfigured?.buckets ?? [];
13
13
  const measures = getMeasureItems(buckets);
14
14
  if (measures.length > 1) {
15
15
  const warningMessage = getTranslation(messages["measureStack"].id, intl);
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "canAddItems"], false);
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "warningMessage"], warningMessage);
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "canAddItems"], false);
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "warningMessage"], warningMessage);
18
18
  }
19
19
  return referencePointConfigured;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"comboChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAe,KAAK,SAAS,EAAsB,MAAM,kBAAkB,CAAC;AAMnF,OAAO,EAEH,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AA8C3C,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,SAAS,GAC7B,uBAAuB,CA6BzB"}
1
+ {"version":3,"file":"comboChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAe,KAAK,SAAS,EAAsB,MAAM,kBAAkB,CAAC;AAOnF,OAAO,EAEH,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AA8C3C,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,SAAS,GAC7B,uBAAuB,CA6BzB"}
@@ -1,7 +1,7 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
4
3
  import { isLineChart } from "@gooddata/sdk-ui-charts";
4
+ import { _cloneDeep, _set } from "@gooddata/util";
5
5
  import { messages } from "../../../locales.js";
6
6
  import { BUCKETS } from "../../constants/bucket.js";
7
7
  import { UICONFIG } from "../../constants/uiConfig.js";
@@ -38,10 +38,10 @@ const VIEW_BY_ICONS = {
38
38
  };
39
39
  function setCanStackInPercent(uiConfig, secondaryChartType, isDualAxis) {
40
40
  const canStackInPercent = !(isDualAxis === false && isLineChart(secondaryChartType));
41
- set(uiConfig, "optionalStacking.canStackInPercent", canStackInPercent);
41
+ _set(uiConfig, "optionalStacking.canStackInPercent", canStackInPercent);
42
42
  }
43
43
  export function setComboChartUiConfig(referencePoint, intl, visualizationType) {
44
- const referencePointConfigured = cloneDeep(referencePoint);
44
+ const referencePointConfigured = _cloneDeep(referencePoint);
45
45
  const measureBuckets = getBucketsByNames(referencePointConfigured?.buckets, [
46
46
  BucketNames.MEASURES,
47
47
  BucketNames.SECONDARY_MEASURES,
@@ -57,10 +57,10 @@ export function setComboChartUiConfig(referencePoint, intl, visualizationType) {
57
57
  const type = chartTypes[index];
58
58
  const localIdentifier = bucket?.localIdentifier ?? "";
59
59
  const subtitle = getTranslation(messages[type].id, intl);
60
- set(updatedUiConfig, [BUCKETS, localIdentifier, "subtitle"], subtitle);
61
- set(updatedUiConfig, [BUCKETS, localIdentifier, "icon"], MEASURE_BUCKET_ICONS[type]);
60
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "subtitle"], subtitle);
61
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "icon"], MEASURE_BUCKET_ICONS[type]);
62
62
  });
63
- set(updatedUiConfig, [BUCKETS, BucketNames.VIEW, "icon"], VIEW_BY_ICONS[chartTypes.join("-")]);
64
- set(referencePointConfigured, UICONFIG, updatedUiConfig);
63
+ _set(updatedUiConfig, [BUCKETS, BucketNames.VIEW, "icon"], VIEW_BY_ICONS[chartTypes.join("-")]);
64
+ _set(referencePointConfigured, UICONFIG, updatedUiConfig);
65
65
  return referencePointConfigured;
66
66
  }
@@ -1 +1 @@
1
- {"version":3,"file":"comboChartUiConfigHelperDeprecated.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI/D,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAUjF,wBAAgB,+BAA+B,CAC3C,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,SAAS,GAC7B,uBAAuB,CAiBzB"}
1
+ {"version":3,"file":"comboChartUiConfigHelperDeprecated.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAK/D,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAUjF,wBAAgB,+BAA+B,CAC3C,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,SAAS,GAC7B,uBAAuB,CAiBzB"}
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  import { setBucketTitles } from "../bucketHelper.js";
@@ -11,13 +11,13 @@ const comboSecondaryMeasuresIcon = "local:combo/bucket-title-secondary-measures.
11
11
  const columnMeasureIcon = "local:combo/bucket-title-measures-column.svg";
12
12
  const columnLineIcon = "local:combo/bucket-title-view-column-line.svg";
13
13
  export function setComboChartUiConfigDeprecated(referencePoint, intl, visualizationType) {
14
- const referencePointConfigured = cloneDeep(referencePoint);
15
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], true);
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], true);
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], true);
19
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], columnMeasureIcon);
20
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], comboSecondaryMeasuresIcon);
21
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], columnLineIcon);
14
+ const referencePointConfigured = _cloneDeep(referencePoint);
15
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], true);
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], true);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], true);
19
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], columnMeasureIcon);
20
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], comboSecondaryMeasuresIcon);
21
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], columnLineIcon);
22
22
  return referencePointConfigured;
23
23
  }
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  // If you need to edit these icons
@@ -10,9 +10,9 @@ const measureIcon = "local:dependencyWheel/bucket-title-measures.svg";
10
10
  const fromIcon = "local:dependencyWheel/bucket-title-from.svg";
11
11
  const toIcon = "local:dependencyWheel/bucket-title-to.svg";
12
12
  export const configDependencyWheelUiConfig = (extendedReferencePoint) => {
13
- const referencePointConfigured = cloneDeep(extendedReferencePoint);
14
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], measureIcon);
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_FROM, "icon"], fromIcon);
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_TO, "icon"], toIcon);
13
+ const referencePointConfigured = _cloneDeep(extendedReferencePoint);
14
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], measureIcon);
15
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_FROM, "icon"], fromIcon);
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_TO, "icon"], toIcon);
17
17
  return referencePointConfigured;
18
18
  };
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG, disabledOpenAsReportConfig } from "../../constants/uiConfig.js";
6
6
  // If you need to edit these icons
@@ -9,9 +9,9 @@ import { UICONFIG, disabledOpenAsReportConfig } from "../../constants/uiConfig.j
9
9
  const donutMeasuresIcon = "local:donut/bucket-title-measures.svg";
10
10
  const donutViewIcon = "local:donut/bucket-title-view.svg";
11
11
  export function setDonutChartUiConfig(referencePoint) {
12
- const referencePointConfigured = cloneDeep(referencePoint);
12
+ const referencePointConfigured = _cloneDeep(referencePoint);
13
13
  Object.assign(referencePointConfigured[UICONFIG], disabledOpenAsReportConfig);
14
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], donutMeasuresIcon);
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], donutViewIcon);
14
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], donutMeasuresIcon);
15
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], donutViewIcon);
16
16
  return referencePointConfigured;
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"funnelChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AASjF,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,uBAAuB,GAAG,uBAAuB,CAavG"}
1
+ {"version":3,"file":"funnelChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AASjF,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,uBAAuB,GAAG,uBAAuB,CAiBvG"}
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG, disabledOpenAsReportConfig } from "../../constants/uiConfig.js";
6
6
  import { configurePercent } from "../bucketConfig.js";
@@ -10,12 +10,12 @@ import { configurePercent } from "../bucketConfig.js";
10
10
  const funnelMeasuresIcon = "local:funnel/bucket-title-measures.svg";
11
11
  const funnelViewIcon = "local:funnel/bucket-title-view.svg";
12
12
  export function setFunnelChartUiConfig(referencePoint) {
13
- const referencePointConfigured = cloneDeep(referencePoint);
13
+ const referencePointConfigured = _cloneDeep(referencePoint);
14
14
  Object.assign(referencePointConfigured[UICONFIG], disabledOpenAsReportConfig);
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], funnelMeasuresIcon);
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], funnelViewIcon);
15
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], funnelMeasuresIcon);
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], funnelViewIcon);
17
17
  // always disabled for funnel
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "isShowInPercentVisible"], false);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "isShowInPercentVisible"], false);
19
19
  configurePercent(referencePointConfigured, true);
20
20
  return referencePointConfigured;
21
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"geoAreaChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAK5C,OAAO,EAAE,KAAK,uBAAuB,EAAkB,MAAM,mCAAmC,CAAC;AAejG;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAWzB"}
1
+ {"version":3,"file":"geoAreaChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAkB,MAAM,mCAAmC,CAAC;AAejG;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAWzB"}
@@ -1,6 +1,6 @@
1
- // (C) 2025 GoodData Corporation
2
- import { set } from "lodash-es";
1
+ // (C) 2025-2026 GoodData Corporation
3
2
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
3
+ import { _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { setBucketTitles } from "../bucketHelper.js";
6
6
  const geoAreaBucketAreaIcon = "local:geoPushpin/bucket-title-location-icon.svg";
@@ -10,7 +10,7 @@ function setBucketIcon(uiConfig, bucketName, icon) {
10
10
  if (!uiConfig) {
11
11
  return;
12
12
  }
13
- set(uiConfig, [BUCKETS, bucketName, "icon"], icon);
13
+ _set(uiConfig, [BUCKETS, bucketName, "icon"], icon);
14
14
  }
15
15
  /**
16
16
  * Sets the UI config for geo area chart reference point.
@@ -1 +1 @@
1
- {"version":3,"file":"geoPushpinChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuBjF,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,CAAC,EAAE,SAAS,GACzB,uBAAuB,CAwEzB;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,GAAG,UAAU,CAS5F"}
1
+ {"version":3,"file":"geoPushpinChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMvD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuBjF,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,CAAC,EAAE,SAAS,GACzB,uBAAuB,CAwEzB;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,GAAG,UAAU,CAS5F"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { isGeoPushpinIconEnabled } from "../../constants/featureFlags.js";
6
6
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -22,23 +22,23 @@ function canAddItemsToBucket(referencePoint, bucketName) {
22
22
  return getItemsCount(referencePoint.buckets ?? [], bucketName) < itemsLimit;
23
23
  }
24
24
  export function setGeoPushpinUiConfig(referencePoint, intl, visualizationType, featureFlags) {
25
- const referencePointConfigured = cloneDeep(referencePoint);
26
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
27
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.LOCATION, "icon"], geoPushPinBucketLocationIcon);
28
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SIZE, "icon"], geoPushPinBucketSizeIcon);
29
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLOR, "icon"], geoPushPinBucketColorIcon);
30
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], geoPushPinBucketSegmentIcon);
31
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], geoPushPinBucketMetricIcon);
25
+ const referencePointConfigured = _cloneDeep(referencePoint);
26
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
27
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.LOCATION, "icon"], geoPushPinBucketLocationIcon);
28
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SIZE, "icon"], geoPushPinBucketSizeIcon);
29
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLOR, "icon"], geoPushPinBucketColorIcon);
30
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], geoPushPinBucketSegmentIcon);
31
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], geoPushPinBucketMetricIcon);
32
32
  // overide base config
33
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], false);
33
+ _set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], false);
34
34
  const iconEnabled = isGeoPushpinIconEnabled(featureFlags);
35
35
  const shapeType = referencePointConfigured.properties?.controls?.["points"]?.shapeType ?? "circle";
36
36
  const sizeColorBucketsEditable = arePushpinSizeColorBucketsEditable(shapeType);
37
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.LOCATION, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.LOCATION));
38
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SIZE, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.SIZE) && sizeColorBucketsEditable);
39
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLOR, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.COLOR) && sizeColorBucketsEditable);
40
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.SEGMENT) && sizeColorBucketsEditable);
41
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.MEASURES));
37
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.LOCATION, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.LOCATION));
38
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SIZE, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.SIZE) && sizeColorBucketsEditable);
39
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLOR, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.COLOR) && sizeColorBucketsEditable);
40
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.SEGMENT) && sizeColorBucketsEditable);
41
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.MEASURES));
42
42
  // Build the filtered bucket set
43
43
  const filteredBuckets = {
44
44
  [BucketNames.LOCATION]: referencePointConfigured?.uiConfig?.buckets?.[BucketNames.LOCATION],
@@ -53,7 +53,7 @@ export function setGeoPushpinUiConfig(referencePoint, intl, visualizationType, f
53
53
  referencePointConfigured?.uiConfig?.buckets?.[BucketNames.MEASURES];
54
54
  }
55
55
  // only apply related bucket uiConfig
56
- set(referencePointConfigured, [UICONFIG, BUCKETS], filteredBuckets);
56
+ _set(referencePointConfigured, [UICONFIG, BUCKETS], filteredBuckets);
57
57
  return referencePointConfigured;
58
58
  }
59
59
  export function updateConfigWithSettings(config, settings) {
@@ -1 +1 @@
1
- {"version":3,"file":"headlineUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/headlineUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAEH,KAAK,aAAa,EAElB,KAAK,kBAAkB,EAEvB,KAAK,SAAS,EACd,KAAK,MAAM,EAOd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAGH,KAAK,YAAY,EAIpB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,mCAAmC,CAAC;AAW3C,wBAAgB,0BAA0B,IAAI,SAAS,CAItD;AAED,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,GAAG,SAAS,CAyC/F;AAED,wBAAgB,gCAAgC,CAC5C,uBAAuB,EAAE,wBAAwB,EACjD,QAAQ,EAAE,SAAS,GAAG,SAAS,EAC/B,OAAO,EAAE,SAAS,GACnB,YAAY,CAad;AAED,wBAAgB,8BAA8B,CAC1C,uBAAuB,EAAE,wBAAwB,GAClD,wBAAwB,CAAC,yBAAyB,CAAC,CAarD;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,OAAO,CAQpF;AAED,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,kBAAkB,qDAM9E;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAavE"}
1
+ {"version":3,"file":"headlineUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/headlineUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAEH,KAAK,aAAa,EAElB,KAAK,kBAAkB,EAEvB,KAAK,SAAS,EACd,KAAK,MAAM,EAOd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAGH,KAAK,YAAY,EAIpB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,mCAAmC,CAAC;AAW3C,wBAAgB,0BAA0B,IAAI,SAAS,CAItD;AAED,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,GAAG,SAAS,CAyC/F;AAED,wBAAgB,gCAAgC,CAC5C,uBAAuB,EAAE,wBAAwB,EACjD,QAAQ,EAAE,SAAS,GAAG,SAAS,EAC/B,OAAO,EAAE,SAAS,GACnB,YAAY,CAad;AAED,wBAAgB,8BAA8B,CAC1C,uBAAuB,EAAE,wBAAwB,GAClD,wBAAwB,CAAC,yBAAyB,CAAC,CAarD;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,OAAO,CAQpF;AAED,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,kBAAkB,qDAM9E;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAavE"}
@@ -1,9 +1,9 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
3
2
  import { bucketMeasure, bucketMeasures, insightBucket, isPoPMeasure, isPreviousPeriodMeasure, } from "@gooddata/sdk-model";
4
3
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
5
4
  import { CalculateAs, ComparisonColorType, getComparisonRgbColor, updateConfigWithSettings, } from "@gooddata/sdk-ui-charts";
6
5
  import { parseRGBString } from "@gooddata/sdk-ui-vis-commons";
6
+ import { _cloneDeep, _set } from "@gooddata/util";
7
7
  import { messages } from "../../../locales.js";
8
8
  import { BUCKETS } from "../../constants/bucket.js";
9
9
  import { HEADLINE_DEFAULT_CONTROL_PROPERTIES } from "../../constants/supportedProperties.js";
@@ -17,8 +17,8 @@ import { getTranslation } from "../translations.js";
17
17
  const headlineMeasuresIcon = "local:headline/bucket-title-measures.svg";
18
18
  const headlineSecondaryMeasuresIcon = "local:headline/bucket-title-secondary-measures.svg";
19
19
  export function getDefaultHeadlineUiConfig() {
20
- const uiConfig = cloneDeep(DEFAULT_HEADLINE_UICONFIG);
21
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "itemsLimit"], 2);
20
+ const uiConfig = _cloneDeep(DEFAULT_HEADLINE_UICONFIG);
21
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "itemsLimit"], 2);
22
22
  return uiConfig;
23
23
  }
24
24
  export function getHeadlineUiConfig(referencePoint, intl) {
@@ -30,10 +30,10 @@ export function getHeadlineUiConfig(referencePoint, intl) {
30
30
  ...referencePoint,
31
31
  uiConfig,
32
32
  }, VisualizationTypes.HEADLINE, intl);
33
- set(uiConfig, [BUCKETS, BucketNames.MEASURES, "canAddItems"], viewCanAddPrimaryItems);
34
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], viewCanAddSecondaryItems);
35
- set(uiConfig, [BUCKETS, BucketNames.MEASURES, "icon"], headlineMeasuresIcon);
36
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], headlineSecondaryMeasuresIcon);
33
+ _set(uiConfig, [BUCKETS, BucketNames.MEASURES, "canAddItems"], viewCanAddPrimaryItems);
34
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], viewCanAddSecondaryItems);
35
+ _set(uiConfig, [BUCKETS, BucketNames.MEASURES, "icon"], headlineMeasuresIcon);
36
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], headlineSecondaryMeasuresIcon);
37
37
  const primaryMeasuresCount = getItemsCount(buckets, BucketNames.MEASURES);
38
38
  const secondaryMeasuresCount = getItemsCount(buckets, BucketNames.SECONDARY_MEASURES);
39
39
  if (primaryMeasuresCount === 0 && secondaryMeasuresCount !== 0) {
@@ -42,9 +42,9 @@ export function getHeadlineUiConfig(referencePoint, intl) {
42
42
  text: getTranslation(messages["text"].id, intl),
43
43
  };
44
44
  }
45
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], true);
46
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "itemsLimit"], noDerivedMeasurePresent(buckets) ? 2 : 1);
47
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "allowsReordering"], true);
45
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], true);
46
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "itemsLimit"], noDerivedMeasurePresent(buckets) ? 2 : 1);
47
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "allowsReordering"], true);
48
48
  return uiConfig;
49
49
  }
50
50
  export function buildHeadlineVisualizationConfig(visualizationProperties, settings, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"heatmapUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAUjF,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAUzB"}
1
+ {"version":3,"file":"heatmapUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAUjF,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAUzB"}
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  import { setBucketTitles } from "../bucketHelper.js";
@@ -11,10 +11,10 @@ const heatmapMeasuresIcon = "local:heatmap/bucket-title-measures.svg";
11
11
  const heatmapViewIcon = "local:heatmap/bucket-title-view.svg";
12
12
  const heatmapStackIcon = "local:heatmap/bucket-title-stack.svg";
13
13
  export function setHeatmapUiConfig(referencePoint, intl, visualizationType) {
14
- const referencePointConfigured = cloneDeep(referencePoint);
15
- set(referencePointConfigured, [UICONFIG], setBucketTitles(referencePoint, visualizationType, intl));
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], heatmapMeasuresIcon);
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], heatmapViewIcon);
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], heatmapStackIcon);
14
+ const referencePointConfigured = _cloneDeep(referencePoint);
15
+ _set(referencePointConfigured, [UICONFIG], setBucketTitles(referencePoint, visualizationType, intl));
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], heatmapMeasuresIcon);
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], heatmapViewIcon);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], heatmapStackIcon);
19
19
  return referencePointConfigured;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lineChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuDjF,wBAAgB,oBAAoB,CAChC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAsCzB"}
1
+ {"version":3,"file":"lineChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuDjF,wBAAgB,oBAAoB,CAChC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAsCzB"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { messages } from "../../../locales.js";
5
5
  import { ATTRIBUTE, BUCKETS, DATE } from "../../constants/bucket.js";
6
6
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -17,7 +17,7 @@ const lineTrendIcon = "local:line/bucket-title-trend.svg";
17
17
  const lineSegmentIcon = "local:line/bucket-title-segment.svg";
18
18
  function setLineChartBucketWarningMessages(referencePoint, intl) {
19
19
  const buckets = referencePoint?.buckets || [];
20
- const updatedUiConfig = cloneDeep(referencePoint?.uiConfig);
20
+ const updatedUiConfig = _cloneDeep(referencePoint?.uiConfig);
21
21
  const stackItems = getStackItems(buckets, [ATTRIBUTE, DATE]);
22
22
  if (!updatedUiConfig) {
23
23
  return updatedUiConfig;
@@ -38,27 +38,27 @@ function setLineChartBucketWarningMessages(referencePoint, intl) {
38
38
  warningMessage = getTranslation(messages["categorySegment"].id, intl);
39
39
  }
40
40
  if (warningMessage) {
41
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
41
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
42
42
  }
43
43
  }
44
44
  });
45
45
  return updatedUiConfig;
46
46
  }
47
47
  export function setLineChartUiConfig(referencePoint, intl, visualizationType) {
48
- const referencePointConfigured = cloneDeep(referencePoint);
48
+ const referencePointConfigured = _cloneDeep(referencePoint);
49
49
  const buckets = referencePointConfigured?.buckets ?? [];
50
50
  const measuresCanAddItems = hasNoMeasures(buckets) || hasNoStacksWithDate(buckets);
51
51
  const segmentCanAddItems = hasSomeSegmentByItems(buckets) ||
52
52
  hasNoMeasures(buckets) ||
53
53
  hasOneMeasureOrAlsoLineStyleControlMeasure(buckets);
54
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
55
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
56
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "canAddItems"], true);
57
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], segmentCanAddItems);
58
- set(referencePointConfigured, UICONFIG, setLineChartBucketWarningMessages(referencePointConfigured, intl));
59
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePoint.properties));
60
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], lineMeasuresIcon);
61
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "icon"], lineTrendIcon);
62
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], lineSegmentIcon);
54
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
55
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
56
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "canAddItems"], true);
57
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], segmentCanAddItems);
58
+ _set(referencePointConfigured, UICONFIG, setLineChartBucketWarningMessages(referencePointConfigured, intl));
59
+ _set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePoint.properties));
60
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], lineMeasuresIcon);
61
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "icon"], lineTrendIcon);
62
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], lineSegmentIcon);
63
63
  return referencePointConfigured;
64
64
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mekkoUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AASjF,wBAAgB,gBAAgB,CAC5B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAezB"}
1
+ {"version":3,"file":"mekkoUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AASjF,wBAAgB,gBAAgB,CAC5B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAezB"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  import { setBucketTitles } from "../bucketHelper.js";
@@ -10,11 +10,11 @@ const mekkoHeightIcon = "local:mekko/bucket-title-height.svg";
10
10
  const mekkoViewIcon = "local:mekko/bucket-title-view.svg";
11
11
  const mekkoStackIcon = "local:mekko/bucket-title-stack.svg";
12
12
  export function setMekkoUiConfig(referencePoint, intl, visualizationType) {
13
- const referencePointConfigured = cloneDeep(referencePoint);
14
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], mekkoWidthIcon);
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], mekkoHeightIcon);
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], mekkoViewIcon);
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], mekkoStackIcon);
13
+ const referencePointConfigured = _cloneDeep(referencePoint);
14
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
15
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], mekkoWidthIcon);
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], mekkoHeightIcon);
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], mekkoViewIcon);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], mekkoStackIcon);
19
19
  return referencePointConfigured;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pieChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AA6CjF,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAyBzB"}
1
+ {"version":3,"file":"pieChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AA6CjF,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CA6BzB"}
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { messages } from "../../../locales.js";
5
5
  import { BUCKETS } from "../../constants/bucket.js";
6
6
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -15,7 +15,7 @@ const pieMeasuresIcon = "local:pie/bucket-title-measures.svg";
15
15
  const pieViewIcon = "local:pie/bucket-title-view.svg";
16
16
  function setPieChartBucketWarningMessages(referencePoint, intl) {
17
17
  const buckets = referencePoint?.buckets;
18
- const updatedUiConfig = cloneDeep(referencePoint?.uiConfig);
18
+ const updatedUiConfig = _cloneDeep(referencePoint?.uiConfig);
19
19
  if (!updatedUiConfig) {
20
20
  return updatedUiConfig;
21
21
  }
@@ -33,23 +33,23 @@ function setPieChartBucketWarningMessages(referencePoint, intl) {
33
33
  }
34
34
  if (warningMessageId) {
35
35
  const warningMessage = getTranslation(warningMessageId, intl);
36
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
36
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
37
37
  }
38
38
  }
39
39
  });
40
40
  return updatedUiConfig;
41
41
  }
42
42
  export function setPieChartUiConfig(referencePoint, intl, visualizationType) {
43
- const referencePointConfigured = cloneDeep(referencePoint);
43
+ const referencePointConfigured = _cloneDeep(referencePoint);
44
44
  const buckets = referencePointConfigured?.buckets ?? [];
45
45
  const measuresCanAddItems = !hasMoreThanOneCategory(buckets);
46
46
  const viewCanAddItems = !hasMoreThanOneMasterMeasure(buckets, BucketNames.MEASURES);
47
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
48
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
49
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
50
- set(referencePointConfigured, UICONFIG, setPieChartBucketWarningMessages(referencePointConfigured, intl));
51
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePoint.properties));
52
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], pieMeasuresIcon);
53
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], pieViewIcon);
47
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
48
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
49
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
50
+ _set(referencePointConfigured, UICONFIG, setPieChartBucketWarningMessages(referencePointConfigured, intl));
51
+ _set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePoint.properties));
52
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], pieMeasuresIcon);
53
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], pieViewIcon);
54
54
  return referencePointConfigured;
55
55
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pivotTableNextUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAiBrD,OAAO,EACH,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACjB,MAAM,mCAAmC,CAAC;AAgE3C,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,YAM3F;AAED,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,SAAS,GACrB,IAAI,CAsCN;AAED,wBAAgB,gCAAgC,IAAI,SAAS,CAsC5D"}
1
+ {"version":3,"file":"pivotTableNextUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAkBrD,OAAO,EACH,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACjB,MAAM,mCAAmC,CAAC;AAgE3C,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,YAM3F;AAED,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,SAAS,GACrB,IAAI,CAsCN;AAED,wBAAgB,gCAAgC,IAAI,SAAS,CAsC5D"}