@gooddata/sdk-ui-ext 11.68.0-alpha.0 → 11.68.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/NOTICE +8338 -63070
  2. package/esm/insightPicker/InsightPickerCore.d.ts +1 -1
  3. package/esm/insightPicker/InsightPickerCore.d.ts.map +1 -1
  4. package/esm/insightPicker/InsightPickerCore.js +8 -6
  5. package/esm/insightPicker/InsightPickerMenu.d.ts +1 -1
  6. package/esm/insightPicker/InsightPickerMenu.d.ts.map +1 -1
  7. package/esm/insightPicker/InsightPickerMenu.js +5 -1
  8. package/esm/insightPicker/types.d.ts +5 -1
  9. package/esm/insightPicker/types.d.ts.map +1 -1
  10. package/esm/insightPicker/useInsightPickerHybridSearch.d.ts.map +1 -1
  11. package/esm/insightPicker/useInsightPickerHybridSearch.js +2 -0
  12. package/esm/insightView/InsightRenderer.d.ts.map +1 -1
  13. package/esm/insightView/InsightRenderer.js +4 -4
  14. package/esm/internal/components/BaseVisualization.d.ts.map +1 -1
  15. package/esm/internal/components/BaseVisualization.js +7 -7
  16. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogFooter.js +2 -2
  17. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.d.ts.map +1 -1
  18. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeHierarchyDialogProvider.js +4 -4
  19. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.d.ts.map +1 -1
  20. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/useBackendProvider.js +2 -2
  21. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts.map +1 -1
  22. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.js +2 -2
  23. package/esm/internal/components/configurationControls/CheckboxControl.d.ts.map +1 -1
  24. package/esm/internal/components/configurationControls/CheckboxControl.js +3 -3
  25. package/esm/internal/components/configurationControls/ConfigSection.d.ts.map +1 -1
  26. package/esm/internal/components/configurationControls/ConfigSection.js +3 -3
  27. package/esm/internal/components/configurationControls/ConfigSubsection.d.ts.map +1 -1
  28. package/esm/internal/components/configurationControls/ConfigSubsection.js +3 -3
  29. package/esm/internal/components/configurationControls/ContinuousLineControl.js +3 -3
  30. package/esm/internal/components/configurationControls/DistintcPointShapesControl.js +3 -3
  31. package/esm/internal/components/configurationControls/DropdownControl.d.ts.map +1 -1
  32. package/esm/internal/components/configurationControls/DropdownControl.js +3 -3
  33. package/esm/internal/components/configurationControls/GeoViewportControl.d.ts.map +1 -1
  34. package/esm/internal/components/configurationControls/GeoViewportControl.js +14 -14
  35. package/esm/internal/components/configurationControls/InputControl.d.ts.map +1 -1
  36. package/esm/internal/components/configurationControls/InputControl.js +4 -4
  37. package/esm/internal/components/configurationControls/LineShapeControl.d.ts.map +1 -1
  38. package/esm/internal/components/configurationControls/LineShapeControl.js +3 -2
  39. package/esm/internal/components/configurationControls/PagingSection.js +5 -5
  40. package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.d.ts.map +1 -1
  41. package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.js +3 -3
  42. package/esm/internal/components/configurationControls/PushpinShapeControl.d.ts.map +1 -1
  43. package/esm/internal/components/configurationControls/PushpinShapeControl.js +5 -5
  44. package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts.map +1 -1
  45. package/esm/internal/components/configurationControls/advanced/AdvancedSection.js +3 -3
  46. package/esm/internal/components/configurationControls/colors/ColorsSection.js +3 -3
  47. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.d.ts.map +1 -1
  48. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.js +4 -4
  49. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.d.ts.map +1 -1
  50. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.js +3 -3
  51. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.d.ts.map +1 -1
  52. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.js +6 -6
  53. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.d.ts.map +1 -1
  54. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +3 -3
  55. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
  56. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +2 -2
  57. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
  58. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +3 -3
  59. package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.js +3 -3
  60. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts +1 -2
  61. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map +1 -1
  62. package/esm/internal/components/configurationControls/interactions/InteractionsSection.js +2 -2
  63. package/esm/internal/components/configurationControls/total/TotalSection.d.ts.map +1 -1
  64. package/esm/internal/components/configurationControls/total/TotalSection.js +4 -4
  65. package/esm/internal/components/configurationPanels/BaseChartConfigurationPanel.js +2 -2
  66. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts.map +1 -1
  67. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.js +1 -2
  68. package/esm/internal/components/configurationPanels/LineChartBasedConfigurationPanel.js +1 -1
  69. package/esm/internal/components/configurationPanels/UnsupportedConfigurationPanel.js +2 -2
  70. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.d.ts.map +1 -1
  71. package/esm/internal/components/dialogs/userManagementDialogs/Workspace/WorkspaceItem/granularPermissionUtils.js +3 -3
  72. package/esm/internal/components/dialogs/userManagementDialogs/types.d.ts.map +1 -1
  73. package/esm/internal/components/dialogs/userManagementDialogs/types.js +6 -6
  74. package/esm/internal/components/insightList/useInsightPagedList.d.ts.map +1 -1
  75. package/esm/internal/components/insightList/useInsightPagedList.js +3 -3
  76. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts.map +1 -1
  77. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.js +4 -4
  78. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.d.ts.map +1 -1
  79. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.js +3 -4
  80. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.d.ts.map +1 -1
  81. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.js +6 -6
  82. package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.d.ts.map +1 -1
  83. package/esm/internal/components/pluggableVisualizations/barChart/PluggableBarChart.js +7 -7
  84. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.d.ts.map +1 -1
  85. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js +9 -8
  86. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.d.ts.map +1 -1
  87. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.js +4 -5
  88. package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.d.ts.map +1 -1
  89. package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.js +3 -3
  90. package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.d.ts.map +1 -1
  91. package/esm/internal/components/pluggableVisualizations/columnChart/PluggableColumnChart.js +7 -7
  92. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.d.ts.map +1 -1
  93. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js +6 -6
  94. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.d.ts.map +1 -1
  95. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.js +5 -4
  96. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.d.ts.map +1 -1
  97. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.js +4 -5
  98. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts.map +1 -1
  99. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +8 -9
  100. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.d.ts.map +1 -1
  101. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.js +15 -16
  102. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.d.ts.map +1 -1
  103. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.js +8 -8
  104. package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.d.ts.map +1 -1
  105. package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.js +2 -3
  106. package/esm/internal/components/pluggableVisualizations/headline/headlineBucketHelper.js +3 -3
  107. package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.d.ts.map +1 -1
  108. package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.js +8 -7
  109. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.d.ts.map +1 -1
  110. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.js +8 -8
  111. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.d.ts.map +1 -1
  112. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.js +11 -11
  113. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.d.ts.map +1 -1
  114. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.js +8 -8
  115. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.d.ts.map +1 -1
  116. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.js +5 -5
  117. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.d.ts.map +1 -1
  118. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.js +2 -2
  119. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableConfigFromInsight.d.ts.map +1 -1
  120. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableConfigFromInsight.js +6 -6
  121. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.d.ts.map +1 -1
  122. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.js +4 -5
  123. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.d.ts.map +1 -1
  124. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.js +2 -2
  125. package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.d.ts.map +1 -1
  126. package/esm/internal/components/pluggableVisualizations/pivotTableNext/sortHelpers.js +2 -2
  127. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.d.ts.map +1 -1
  128. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.js +4 -4
  129. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.d.ts.map +1 -1
  130. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.js +6 -7
  131. package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.d.ts.map +1 -1
  132. package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.js +3 -4
  133. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.d.ts.map +1 -1
  134. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.js +5 -6
  135. package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.d.ts.map +1 -1
  136. package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.js +6 -5
  137. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.d.ts.map +1 -1
  138. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.js +11 -11
  139. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts.map +1 -1
  140. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.js +2 -3
  141. package/esm/internal/interfaces/Visualization.d.ts.map +1 -1
  142. package/esm/internal/interfaces/Visualization.js +6 -6
  143. package/esm/internal/translations/en-US.localization-bundle.d.ts +28 -0
  144. package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
  145. package/esm/internal/translations/en-US.localization-bundle.js +29 -1
  146. package/esm/internal/translations/fr-CA.localization-bundle.js +1 -1
  147. package/esm/internal/translations/it-IT.localization-bundle.js +2 -2
  148. package/esm/internal/translations/ru-RU.localization-bundle.js +1 -1
  149. package/esm/internal/translations/tr-TR.localization-bundle.js +1 -1
  150. package/esm/internal/translations/zh-Hant.localization-bundle.js +4 -4
  151. package/esm/internal/utils/bucketConfig.d.ts.map +1 -1
  152. package/esm/internal/utils/bucketConfig.js +5 -5
  153. package/esm/internal/utils/bucketHelper.d.ts.map +1 -1
  154. package/esm/internal/utils/bucketHelper.js +15 -14
  155. package/esm/internal/utils/bucketRules.d.ts.map +1 -1
  156. package/esm/internal/utils/bucketRules.js +3 -2
  157. package/esm/internal/utils/colors.d.ts.map +1 -1
  158. package/esm/internal/utils/colors.js +11 -11
  159. package/esm/internal/utils/controlsHelper.d.ts.map +1 -1
  160. package/esm/internal/utils/controlsHelper.js +7 -7
  161. package/esm/internal/utils/dimensions.d.ts.map +1 -1
  162. package/esm/internal/utils/dimensions.js +4 -4
  163. package/esm/internal/utils/drillablePredicates.d.ts.map +1 -1
  164. package/esm/internal/utils/drillablePredicates.js +4 -4
  165. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.d.ts.map +1 -1
  166. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.js +11 -10
  167. package/esm/internal/utils/propertiesHelper.d.ts.map +1 -1
  168. package/esm/internal/utils/propertiesHelper.js +16 -15
  169. package/esm/internal/utils/removeUseless.js +3 -3
  170. package/esm/internal/utils/sort.d.ts.map +1 -1
  171. package/esm/internal/utils/sort.js +9 -8
  172. package/esm/internal/utils/translations.d.ts.map +1 -1
  173. package/esm/internal/utils/translations.js +2 -3
  174. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.d.ts.map +1 -1
  175. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.js +10 -10
  176. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.d.ts.map +1 -1
  177. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.js +19 -19
  178. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.d.ts.map +1 -1
  179. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.js +8 -8
  180. package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.d.ts.map +1 -1
  181. package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.js +2 -2
  182. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.d.ts.map +1 -1
  183. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.js +6 -6
  184. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.d.ts.map +1 -1
  185. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.js +8 -8
  186. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.d.ts.map +1 -1
  187. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.js +10 -10
  188. package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.js +6 -6
  189. package/esm/internal/utils/uiConfigHelpers/donutChartUiConfigHelper.js +5 -5
  190. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.d.ts.map +1 -1
  191. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.js +6 -6
  192. package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.d.ts.map +1 -1
  193. package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.js +3 -3
  194. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.d.ts.map +1 -1
  195. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.js +15 -15
  196. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.d.ts.map +1 -1
  197. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.js +10 -10
  198. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.d.ts.map +1 -1
  199. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.js +7 -7
  200. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.d.ts.map +1 -1
  201. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.js +13 -13
  202. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.d.ts.map +1 -1
  203. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.js +7 -7
  204. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.d.ts.map +1 -1
  205. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.js +12 -12
  206. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.d.ts.map +1 -1
  207. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.js +14 -14
  208. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.d.ts.map +1 -1
  209. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.js +14 -14
  210. package/esm/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.js +5 -5
  211. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.d.ts.map +1 -1
  212. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.js +13 -13
  213. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.d.ts.map +1 -1
  214. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.js +14 -14
  215. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.d.ts.map +1 -1
  216. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.js +10 -10
  217. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.d.ts.map +1 -1
  218. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.js +8 -8
  219. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.d.ts.map +1 -1
  220. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.js +12 -12
  221. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.d.ts.map +1 -1
  222. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.js +11 -11
  223. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.d.ts.map +1 -1
  224. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.js +5 -5
  225. package/esm/notificationsPanel/Notification/Notification.d.ts.map +1 -1
  226. package/esm/notificationsPanel/Notification/Notification.js +4 -4
  227. package/esm/sdk-ui-ext.d.ts +6 -2
  228. package/esm/share/ObjectShareDialog.d.ts +1 -1
  229. package/esm/share/ObjectShareDialog.js +3 -3
  230. package/esm/share/messages.d.ts +28 -0
  231. package/esm/share/messages.d.ts.map +1 -1
  232. package/esm/share/messages.js +14 -0
  233. package/esm/share/removeAccessConfirm.d.ts +21 -0
  234. package/esm/share/removeAccessConfirm.d.ts.map +1 -0
  235. package/esm/share/removeAccessConfirm.js +27 -0
  236. package/esm/share/useObjectShareDialog.d.ts +14 -11
  237. package/esm/share/useObjectShareDialog.d.ts.map +1 -1
  238. package/esm/share/useObjectShareDialog.js +54 -24
  239. package/package.json +21 -21
@@ -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"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
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 { INCREASE_MAX_TABLE_ATTRIBUTES_ITEMS_LIMIT, INCREASE_MAX_TABLE_MEASURE_ITEMS_LIMIT, MAX_METRICS_COUNT, MAX_TABLE_CATEGORIES_COUNT, UICONFIG, defaultFilters, defaultRootUiConfigProperties, disabledOpenAsReportConfig, measuresBase, viewBase, } from "../../constants/uiConfig.js";
@@ -15,7 +15,7 @@ const tableRowsIcon = "local:table/bucket-title-rows.svg";
15
15
  const tableColumnsIcon = "local:table/bucket-title-columns.svg";
16
16
  function setPivotTableNextBucketWarningMessages(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
  }
@@ -48,7 +48,7 @@ function setPivotTableNextBucketWarningMessages(referencePoint, intl) {
48
48
  }
49
49
  if (warningMessageId) {
50
50
  const warningMessage = getTranslation(warningMessageId, intl, warningMessageValues);
51
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
51
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
52
52
  }
53
53
  }
54
54
  });
@@ -62,25 +62,25 @@ export function getPivotTableNextMeasuresLimit(_settings, buckets) {
62
62
  }
63
63
  export function setPivotTableNextUiConfig(referencePoint, intl, visualizationType, _settings) {
64
64
  const buckets = referencePoint?.buckets ?? [];
65
- set(referencePoint, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
65
+ _set(referencePoint, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
66
66
  const messageId = referencePoint.properties?.controls?.["measureGroupDimension"] === "rows"
67
67
  ? messages["inRows"].id
68
68
  : messages["inColumns"].id;
69
69
  const subtitle = getTranslation(messageId, intl);
70
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "subtitle"], subtitle);
70
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "subtitle"], subtitle);
71
71
  const canMeasuresAddItems = canIncreasedTableMeasuresAddMoreItems(buckets);
72
72
  const canAttributesAddItems = canIncreasedTableAttributesAddMoreItems(buckets);
73
73
  const columnsCanAddItems = hasMeasuresOrRowsUnderLowerLimit(buckets);
74
74
  const columnsEmpty = hasNoColumns(buckets);
75
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canMeasuresAddItems);
76
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], canAttributesAddItems);
77
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
78
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_MEASURE_ITEMS_LIMIT : MAX_METRICS_COUNT);
79
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_ATTRIBUTES_ITEMS_LIMIT : MAX_TABLE_CATEGORIES_COUNT);
80
- set(referencePoint, UICONFIG, setPivotTableNextBucketWarningMessages(referencePoint, intl));
81
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], tableMeasuresIcon);
82
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], tableRowsIcon);
83
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "icon"], tableColumnsIcon);
75
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canMeasuresAddItems);
76
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], canAttributesAddItems);
77
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
78
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_MEASURE_ITEMS_LIMIT : MAX_METRICS_COUNT);
79
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_ATTRIBUTES_ITEMS_LIMIT : MAX_TABLE_CATEGORIES_COUNT);
80
+ _set(referencePoint, UICONFIG, setPivotTableNextBucketWarningMessages(referencePoint, intl));
81
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], tableMeasuresIcon);
82
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], tableRowsIcon);
83
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "icon"], tableColumnsIcon);
84
84
  }
85
85
  export function getPivotTableNextDefaultUiConfig() {
86
86
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"pivotTableUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.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,0BAA0B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,YAMvF;AAED,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,SAAS,GACrB,IAAI,CAsCN;AAED,wBAAgB,4BAA4B,IAAI,SAAS,CAsCxD"}
1
+ {"version":3,"file":"pivotTableUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.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,0BAA0B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,YAMvF;AAED,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,EACzB,SAAS,EAAE,SAAS,GACrB,IAAI,CAsCN;AAED,wBAAgB,4BAA4B,IAAI,SAAS,CAsCxD"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
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 { INCREASE_MAX_TABLE_ATTRIBUTES_ITEMS_LIMIT, INCREASE_MAX_TABLE_MEASURE_ITEMS_LIMIT, MAX_METRICS_COUNT, MAX_TABLE_CATEGORIES_COUNT, UICONFIG, defaultFilters, defaultRootUiConfigProperties, disabledOpenAsReportConfig, measuresBase, viewBase, } from "../../constants/uiConfig.js";
@@ -15,7 +15,7 @@ const tableRowsIcon = "local:table/bucket-title-rows.svg";
15
15
  const tableColumnsIcon = "local:table/bucket-title-columns.svg";
16
16
  function setPivotTableBucketWarningMessages(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
  }
@@ -48,7 +48,7 @@ function setPivotTableBucketWarningMessages(referencePoint, intl) {
48
48
  }
49
49
  if (warningMessageId) {
50
50
  const warningMessage = getTranslation(warningMessageId, intl, warningMessageValues);
51
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
51
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
52
52
  }
53
53
  }
54
54
  });
@@ -62,25 +62,25 @@ export function getPivotTableMeasuresLimit(_settings, buckets) {
62
62
  }
63
63
  export function setPivotTableUiConfig(referencePoint, intl, visualizationType, _settings) {
64
64
  const buckets = referencePoint?.buckets ?? [];
65
- set(referencePoint, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
65
+ _set(referencePoint, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
66
66
  const messageId = referencePoint.properties?.controls?.["measureGroupDimension"] === "rows"
67
67
  ? messages["inRows"].id
68
68
  : messages["inColumns"].id;
69
69
  const subtitle = getTranslation(messageId, intl);
70
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "subtitle"], subtitle);
70
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "subtitle"], subtitle);
71
71
  const canMeasuresAddItems = canIncreasedTableMeasuresAddMoreItems(buckets);
72
72
  const canAttributesAddItems = canIncreasedTableAttributesAddMoreItems(buckets);
73
73
  const columnsCanAddItems = hasMeasuresOrRowsUnderLowerLimit(buckets);
74
74
  const columnsEmpty = hasNoColumns(buckets);
75
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canMeasuresAddItems);
76
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], canAttributesAddItems);
77
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
78
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_MEASURE_ITEMS_LIMIT : MAX_METRICS_COUNT);
79
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_ATTRIBUTES_ITEMS_LIMIT : MAX_TABLE_CATEGORIES_COUNT);
80
- set(referencePoint, UICONFIG, setPivotTableBucketWarningMessages(referencePoint, intl));
81
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], tableMeasuresIcon);
82
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], tableRowsIcon);
83
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "icon"], tableColumnsIcon);
75
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canMeasuresAddItems);
76
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], canAttributesAddItems);
77
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
78
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_MEASURE_ITEMS_LIMIT : MAX_METRICS_COUNT);
79
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_ATTRIBUTES_ITEMS_LIMIT : MAX_TABLE_CATEGORIES_COUNT);
80
+ _set(referencePoint, UICONFIG, setPivotTableBucketWarningMessages(referencePoint, intl));
81
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], tableMeasuresIcon);
82
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], tableRowsIcon);
83
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "icon"], tableColumnsIcon);
84
84
  }
85
85
  export function getPivotTableDefaultUiConfig() {
86
86
  return {
@@ -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 pyramidMeasuresIcon = "local:pyramid/bucket-title-measures.svg";
10
10
  const pyramidViewIcon = "local:pyramid/bucket-title-view.svg";
11
11
  export function setPyramidChartUiConfig(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"], pyramidMeasuresIcon);
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], pyramidViewIcon);
14
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], pyramidMeasuresIcon);
15
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], pyramidViewIcon);
16
16
  return referencePointConfigured;
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"radarChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AA8CjF,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAgCzB"}
1
+ {"version":3,"file":"radarChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AA8CjF,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAgCzB"}
@@ -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 { 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";
@@ -13,7 +13,7 @@ const radarTrendIcon = "local:radar/bucket-title-trend.svg";
13
13
  const radarSegmentIcon = "local:radar/bucket-title-segment.svg";
14
14
  function setRadarChartBucketWarningMessages(referencePoint, intl) {
15
15
  const buckets = referencePoint?.buckets || [];
16
- const updatedUiConfig = cloneDeep(referencePoint?.uiConfig);
16
+ const updatedUiConfig = _cloneDeep(referencePoint?.uiConfig);
17
17
  const stackItems = getStackItems(buckets, [ATTRIBUTE, DATE]);
18
18
  if (!updatedUiConfig) {
19
19
  return updatedUiConfig;
@@ -34,25 +34,25 @@ function setRadarChartBucketWarningMessages(referencePoint, intl) {
34
34
  warningMessage = getTranslation(messages["categorySegment"].id, intl);
35
35
  }
36
36
  if (warningMessage) {
37
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
37
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
38
38
  }
39
39
  }
40
40
  });
41
41
  return updatedUiConfig;
42
42
  }
43
43
  export function setRadarChartUiConfig(referencePoint, intl, visualizationType) {
44
- const referencePointConfigured = cloneDeep(referencePoint);
44
+ const referencePointConfigured = _cloneDeep(referencePoint);
45
45
  const buckets = referencePointConfigured?.buckets ?? [];
46
46
  const measuresCanAddItems = hasNoMeasures(buckets) || hasNoStacksWithDate(buckets);
47
47
  const segmentCanAddItems = hasSomeSegmentByItems(buckets) || hasNoMeasures(buckets) || hasOneMeasure(buckets);
48
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
49
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
50
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "canAddItems"], true);
51
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], segmentCanAddItems);
52
- set(referencePointConfigured, UICONFIG, setRadarChartBucketWarningMessages(referencePointConfigured, intl));
53
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], false);
54
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], radarMeasuresIcon);
55
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "icon"], radarTrendIcon);
56
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], radarSegmentIcon);
48
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
49
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
50
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "canAddItems"], true);
51
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], segmentCanAddItems);
52
+ _set(referencePointConfigured, UICONFIG, setRadarChartBucketWarningMessages(referencePointConfigured, intl));
53
+ _set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], false);
54
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], radarMeasuresIcon);
55
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "icon"], radarTrendIcon);
56
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], radarSegmentIcon);
57
57
  return referencePointConfigured;
58
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"repeaterUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EACH,KAAK,uBAAuB,EAE5B,KAAK,SAAS,EACjB,MAAM,mCAAmC,CAAC;AAI3C,eAAO,MAAM,0BAA0B,QAAO,SAAkD,CAAC;AASjG,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAgCzB;AAED,eAAO,MAAM,qBAAqB,2BACN,uBAAuB,KAChD,uBAoBF,CAAC"}
1
+ {"version":3,"file":"repeaterUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EACH,KAAK,uBAAuB,EAE5B,KAAK,SAAS,EACjB,MAAM,mCAAmC,CAAC;AAI3C,eAAO,MAAM,0BAA0B,QAAO,SAAmD,CAAC;AASlG,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAgCzB;AAED,eAAO,MAAM,qBAAqB,2BACN,uBAAuB,KAChD,uBAoBF,CAAC"}
@@ -1,12 +1,12 @@
1
- // (C) 2024-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2024-2026 GoodData Corporation
3
2
  import { areObjRefsEqual } from "@gooddata/sdk-model";
4
3
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
4
+ import { _cloneDeep, _set } from "@gooddata/util";
5
5
  import { ATTRIBUTE, BUCKETS, DATE } from "../../constants/bucket.js";
6
6
  import { DEFAULT_REPEATER_UI_CONFIG, UICONFIG } from "../../constants/uiConfig.js";
7
7
  import { getBucketItems, getMainRowAttribute, setBucketTitles } from "../bucketHelper.js";
8
8
  import { hasNoAttribute, hasNoColumns } from "../bucketRules.js";
9
- export const getDefaultRepeaterUiConfig = () => cloneDeep(DEFAULT_REPEATER_UI_CONFIG);
9
+ export const getDefaultRepeaterUiConfig = () => _cloneDeep(DEFAULT_REPEATER_UI_CONFIG);
10
10
  // If you need to edit these icons
11
11
  // reflect changes also in gdc-analytical-designer
12
12
  // https://github.com/gooddata/gdc-analytical-designer/blob/develop/app/components/buckets/BucketIcon.tsx
@@ -14,25 +14,25 @@ const repeaterRowsIcon = "local:repeater/bucket-title-rows.svg";
14
14
  const repeaterColumnsIcon = "local:repeater/bucket-title-columns.svg";
15
15
  const repeaterViewIcon = "local:repeater/bucket-title-view.svg";
16
16
  export function setRepeaterUiConfig(referencePoint, intl) {
17
- const referencePointConfigured = cloneDeep(referencePoint);
17
+ const referencePointConfigured = _cloneDeep(referencePoint);
18
18
  const buckets = referencePointConfigured?.buckets ?? [];
19
19
  const attributeCanAddItems = hasNoAttribute(buckets);
20
20
  const emptyColumns = hasNoColumns(buckets);
21
21
  const columnsCanAddItems = !attributeCanAddItems || !emptyColumns;
22
22
  const viewCanAddItems = true; // !attributeCanAddItems || !emptyColumns;
23
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, VisualizationTypes.REPEATER, intl));
24
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], attributeCanAddItems);
25
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
26
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
27
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], repeaterRowsIcon);
28
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "icon"], repeaterColumnsIcon);
29
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], repeaterViewIcon);
23
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, VisualizationTypes.REPEATER, intl));
24
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], attributeCanAddItems);
25
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
26
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
27
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], repeaterRowsIcon);
28
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "icon"], repeaterColumnsIcon);
29
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], repeaterViewIcon);
30
30
  return referencePointConfigured;
31
31
  }
32
32
  export const configRepeaterBuckets = (extendedReferencePoint) => {
33
- const newExtendedReferencePoint = cloneDeep(extendedReferencePoint);
33
+ const newExtendedReferencePoint = _cloneDeep(extendedReferencePoint);
34
34
  const { attribute, columns, view } = getRepeaterBucketItems(newExtendedReferencePoint);
35
- set(newExtendedReferencePoint, BUCKETS, [
35
+ _set(newExtendedReferencePoint, BUCKETS, [
36
36
  {
37
37
  localIdentifier: BucketNames.ATTRIBUTE,
38
38
  items: attribute,
@@ -49,7 +49,7 @@ export const configRepeaterBuckets = (extendedReferencePoint) => {
49
49
  return newExtendedReferencePoint;
50
50
  };
51
51
  const getRepeaterBucketItems = (extendedReferencePoint) => {
52
- const newExtendedReferencePoint = cloneDeep(extendedReferencePoint);
52
+ const newExtendedReferencePoint = _cloneDeep(extendedReferencePoint);
53
53
  const buckets = newExtendedReferencePoint?.buckets ?? [];
54
54
  const rowAttribute = getMainRowAttribute(buckets);
55
55
  const columns = getBucketItems(buckets, BucketNames.COLUMNS);
@@ -1 +1 @@
1
- {"version":3,"file":"sankeyChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAwB,MAAM,mCAAmC,CAAC;AAkDvG,eAAO,MAAM,aAAa,2BAA4B,uBAAuB,KAAG,uBAoB/E,CAAC;AAEF,eAAO,MAAM,oBAAoB,2BACL,uBAAuB,QACzC,SAAS,qBACI,MAAM,KAC1B,uBAcF,CAAC"}
1
+ {"version":3,"file":"sankeyChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAwB,MAAM,mCAAmC,CAAC;AAkDvG,eAAO,MAAM,aAAa,2BAA4B,uBAAuB,KAAG,uBAoB/E,CAAC;AAEF,eAAO,MAAM,oBAAoB,2BACL,uBAAuB,QACzC,SAAS,qBACI,MAAM,KAC1B,uBAcF,CAAC"}
@@ -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 { getAllAttributeItems, getAttributeFromItems, getAttributeToItems, getMeasureItems, limitNumberOfMeasuresInBuckets, setBucketTitles, } from "../bucketHelper.js";
@@ -11,7 +11,7 @@ const measureIcon = "local:sankey/bucket-title-measures.svg";
11
11
  const fromIcon = "local:sankey/bucket-title-from.svg";
12
12
  const toIcon = "local:sankey/bucket-title-to.svg";
13
13
  const getBucketItems = (extendedReferencePoint) => {
14
- const config = cloneDeep(extendedReferencePoint);
14
+ const config = _cloneDeep(extendedReferencePoint);
15
15
  const buckets = config?.buckets ?? [];
16
16
  const limitedBuckets = limitNumberOfMeasuresInBuckets(buckets, 1);
17
17
  const measures = getMeasureItems(limitedBuckets);
@@ -35,9 +35,9 @@ const getBucketItems = (extendedReferencePoint) => {
35
35
  };
36
36
  };
37
37
  export const configBuckets = (extendedReferencePoint) => {
38
- const config = cloneDeep(extendedReferencePoint);
38
+ const config = _cloneDeep(extendedReferencePoint);
39
39
  const { measures, attributeFroms, attributeTos } = getBucketItems(config);
40
- set(config, BUCKETS, [
40
+ _set(config, BUCKETS, [
41
41
  {
42
42
  localIdentifier: BucketNames.MEASURES,
43
43
  items: measures,
@@ -54,10 +54,10 @@ export const configBuckets = (extendedReferencePoint) => {
54
54
  return config;
55
55
  };
56
56
  export const configSankeyUiConfig = (extendedReferencePoint, intl, visualizationType) => {
57
- const referencePointConfigured = cloneDeep(extendedReferencePoint);
58
- set(referencePointConfigured, [UICONFIG], setBucketTitles(referencePointConfigured, visualizationType, intl));
59
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], measureIcon);
60
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_FROM, "icon"], fromIcon);
61
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_TO, "icon"], toIcon);
57
+ const referencePointConfigured = _cloneDeep(extendedReferencePoint);
58
+ _set(referencePointConfigured, [UICONFIG], setBucketTitles(referencePointConfigured, visualizationType, intl));
59
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], measureIcon);
60
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_FROM, "icon"], fromIcon);
61
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_TO, "icon"], toIcon);
62
62
  return referencePointConfigured;
63
63
  };
@@ -1 +1 @@
1
- {"version":3,"file":"scatterPlotUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAWjF,wBAAgB,sBAAsB,CAClC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAiBzB"}
1
+ {"version":3,"file":"scatterPlotUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAWjF,wBAAgB,sBAAsB,CAClC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,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 { getBucketItems, setBucketTitles } from "../bucketHelper.js";
@@ -12,12 +12,12 @@ const scatterMeasuresYIcon = "local:scatter/bucket-title-measures-y.svg";
12
12
  const scatterViewIcon = "local:scatter/bucket-title-view.svg";
13
13
  const scatterSegmentIcon = "local:scatter/bucket-title-segment.svg";
14
14
  export function setScatterPlotUiConfig(referencePoint, intl, visualizationType) {
15
- let referencePointConfigured = cloneDeep(referencePoint);
16
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], scatterMeasuresXIcon);
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], scatterMeasuresYIcon);
19
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], scatterViewIcon);
20
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], scatterSegmentIcon);
15
+ let referencePointConfigured = _cloneDeep(referencePoint);
16
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], scatterMeasuresXIcon);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], scatterMeasuresYIcon);
19
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], scatterViewIcon);
20
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], scatterSegmentIcon);
21
21
  referencePointConfigured = disableClusteringIfSegmentationIsActive(referencePointConfigured);
22
22
  return referencePointConfigured;
23
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"treemapUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/treemapUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuDjF,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAsBzB"}
1
+ {"version":3,"file":"treemapUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/treemapUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuDjF,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAsBzB"}
@@ -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 { UICONFIG } from "../../constants/uiConfig.js";
@@ -16,7 +16,7 @@ const treemapViewIcon = "local:treemap/bucket-title-view.svg";
16
16
  const treemapSegmentIcon = "local:treemap/bucket-title-segment.svg";
17
17
  function setTreemapBucketWarningMessages(referencePoint, intl) {
18
18
  const buckets = referencePoint?.buckets || [];
19
- const updatedUiConfig = cloneDeep(referencePoint?.uiConfig);
19
+ const updatedUiConfig = _cloneDeep(referencePoint?.uiConfig);
20
20
  const viewItems = getViewItems(buckets, [ATTRIBUTE, DATE]);
21
21
  if (!updatedUiConfig) {
22
22
  return updatedUiConfig;
@@ -40,24 +40,24 @@ function setTreemapBucketWarningMessages(referencePoint, intl) {
40
40
  warningMessage = getTranslation(messages["categorySegment"].id, intl);
41
41
  }
42
42
  if (warningMessage) {
43
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
43
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
44
44
  }
45
45
  }
46
46
  });
47
47
  return updatedUiConfig;
48
48
  }
49
49
  export function setTreemapUiConfig(referencePoint, intl, visualizationType) {
50
- const referencePointConfigured = cloneDeep(referencePoint);
50
+ const referencePointConfigured = _cloneDeep(referencePoint);
51
51
  const buckets = referencePointConfigured?.buckets ?? [];
52
52
  const measuresCanAddItems = !hasOneCategory(buckets) || hasNoMeasures(buckets);
53
53
  const viewCanAddItems = !hasMoreThanOneMasterMeasure(buckets, BucketNames.MEASURES);
54
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
55
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
56
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
57
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], true);
58
- set(referencePointConfigured, UICONFIG, setTreemapBucketWarningMessages(referencePointConfigured, intl));
59
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], treemapMeasuresIcon);
60
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], treemapViewIcon);
61
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], treemapSegmentIcon);
54
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
55
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
56
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
57
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], true);
58
+ _set(referencePointConfigured, UICONFIG, setTreemapBucketWarningMessages(referencePointConfigured, intl));
59
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], treemapMeasuresIcon);
60
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], treemapViewIcon);
61
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], treemapSegmentIcon);
62
62
  return referencePointConfigured;
63
63
  }
@@ -1 +1 @@
1
- {"version":3,"file":"waterfallChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAsCjF,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CA6BzB;AAED,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,WAM/D;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,UAE7E"}
1
+ {"version":3,"file":"waterfallChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAsCjF,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CA6BzB;AAED,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,WAM/D;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,UAE7E"}