@gooddata/sdk-ui-ext 11.68.0-alpha.8 → 11.68.0

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 (247) hide show
  1. package/NOTICE +45 -376
  2. package/esm/internal/components/BaseVisualization.d.ts.map +1 -1
  3. package/esm/internal/components/BaseVisualization.js +2 -3
  4. package/esm/internal/components/configurationControls/CheckboxControl.d.ts.map +1 -1
  5. package/esm/internal/components/configurationControls/CheckboxControl.js +2 -3
  6. package/esm/internal/components/configurationControls/ConfigSection.d.ts.map +1 -1
  7. package/esm/internal/components/configurationControls/ConfigSection.js +2 -3
  8. package/esm/internal/components/configurationControls/ConfigSubsection.d.ts.map +1 -1
  9. package/esm/internal/components/configurationControls/ConfigSubsection.js +2 -3
  10. package/esm/internal/components/configurationControls/ContinuousLineControl.d.ts.map +1 -1
  11. package/esm/internal/components/configurationControls/ContinuousLineControl.js +2 -3
  12. package/esm/internal/components/configurationControls/DistintcPointShapesControl.d.ts.map +1 -1
  13. package/esm/internal/components/configurationControls/DistintcPointShapesControl.js +2 -3
  14. package/esm/internal/components/configurationControls/DropdownControl.d.ts.map +1 -1
  15. package/esm/internal/components/configurationControls/DropdownControl.js +2 -3
  16. package/esm/internal/components/configurationControls/GeoViewportControl.d.ts.map +1 -1
  17. package/esm/internal/components/configurationControls/GeoViewportControl.js +13 -14
  18. package/esm/internal/components/configurationControls/InputControl.d.ts.map +1 -1
  19. package/esm/internal/components/configurationControls/InputControl.js +2 -3
  20. package/esm/internal/components/configurationControls/LineShapeControl.d.ts.map +1 -1
  21. package/esm/internal/components/configurationControls/LineShapeControl.js +2 -3
  22. package/esm/internal/components/configurationControls/PagingSection.d.ts.map +1 -1
  23. package/esm/internal/components/configurationControls/PagingSection.js +3 -4
  24. package/esm/internal/components/configurationControls/PushpinShapeControl.d.ts.map +1 -1
  25. package/esm/internal/components/configurationControls/PushpinShapeControl.js +3 -4
  26. package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts.map +1 -1
  27. package/esm/internal/components/configurationControls/advanced/AdvancedSection.js +2 -3
  28. package/esm/internal/components/configurationControls/advanced/ConfigEditor.js +2 -2
  29. package/esm/internal/components/configurationControls/colors/ColorsSection.d.ts.map +1 -1
  30. package/esm/internal/components/configurationControls/colors/ColorsSection.js +3 -4
  31. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.d.ts.map +1 -1
  32. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.js +2 -3
  33. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.d.ts.map +1 -1
  34. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.js +2 -3
  35. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.d.ts.map +1 -1
  36. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.js +4 -5
  37. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.d.ts.map +1 -1
  38. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +2 -3
  39. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
  40. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +2 -3
  41. package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.d.ts.map +1 -1
  42. package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.js +2 -3
  43. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts +1 -2
  44. package/esm/internal/components/configurationControls/interactions/InteractionsSection.d.ts.map +1 -1
  45. package/esm/internal/components/configurationControls/interactions/InteractionsSection.js +2 -2
  46. package/esm/internal/components/configurationControls/total/TotalSection.d.ts.map +1 -1
  47. package/esm/internal/components/configurationControls/total/TotalSection.js +2 -3
  48. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts.map +1 -1
  49. package/esm/internal/components/configurationPanels/ConfigurationPanelContent.js +1 -2
  50. package/esm/internal/components/configurationPanels/UnsupportedConfigurationPanel.js +2 -2
  51. package/esm/internal/components/insightList/useInsightPagedList.d.ts.map +1 -1
  52. package/esm/internal/components/insightList/useInsightPagedList.js +2 -3
  53. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.d.ts.map +1 -1
  54. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.js +2 -3
  55. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.d.ts.map +1 -1
  56. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.js +2 -3
  57. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js +3 -3
  58. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.d.ts.map +1 -1
  59. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.js +2 -4
  60. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.d.ts.map +1 -1
  61. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js +3 -4
  62. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.js +3 -3
  63. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.d.ts.map +1 -1
  64. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.js +2 -4
  65. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.d.ts.map +1 -1
  66. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +5 -7
  67. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.d.ts.map +1 -1
  68. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.js +10 -12
  69. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.d.ts.map +1 -1
  70. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.js +6 -7
  71. package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.js +3 -3
  72. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.d.ts.map +1 -1
  73. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.js +4 -5
  74. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.d.ts.map +1 -1
  75. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.js +4 -5
  76. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.d.ts.map +1 -1
  77. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.js +5 -6
  78. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.d.ts.map +1 -1
  79. package/esm/internal/components/pluggableVisualizations/pivotTable/pivotTableAdditionalFactories.js +2 -2
  80. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.d.ts.map +1 -1
  81. package/esm/internal/components/pluggableVisualizations/pivotTableNext/pivotTableNextAdditionalFactories.js +2 -2
  82. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.d.ts.map +1 -1
  83. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.js +2 -3
  84. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.d.ts.map +1 -1
  85. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.js +2 -4
  86. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.d.ts.map +1 -1
  87. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.js +3 -5
  88. package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.js +4 -4
  89. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.d.ts.map +1 -1
  90. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.js +7 -8
  91. package/esm/internal/translations/de-DE.localization-bundle.d.ts +7 -0
  92. package/esm/internal/translations/de-DE.localization-bundle.d.ts.map +1 -1
  93. package/esm/internal/translations/de-DE.localization-bundle.js +12 -5
  94. package/esm/internal/translations/en-AU.localization-bundle.d.ts +7 -0
  95. package/esm/internal/translations/en-AU.localization-bundle.d.ts.map +1 -1
  96. package/esm/internal/translations/en-AU.localization-bundle.js +7 -0
  97. package/esm/internal/translations/en-GB.localization-bundle.d.ts +7 -0
  98. package/esm/internal/translations/en-GB.localization-bundle.d.ts.map +1 -1
  99. package/esm/internal/translations/en-GB.localization-bundle.js +7 -0
  100. package/esm/internal/translations/en-US.localization-bundle.d.ts +28 -0
  101. package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
  102. package/esm/internal/translations/en-US.localization-bundle.js +29 -1
  103. package/esm/internal/translations/es-419.localization-bundle.d.ts +7 -0
  104. package/esm/internal/translations/es-419.localization-bundle.d.ts.map +1 -1
  105. package/esm/internal/translations/es-419.localization-bundle.js +7 -0
  106. package/esm/internal/translations/es-ES.localization-bundle.d.ts +7 -0
  107. package/esm/internal/translations/es-ES.localization-bundle.d.ts.map +1 -1
  108. package/esm/internal/translations/es-ES.localization-bundle.js +7 -0
  109. package/esm/internal/translations/fi-FI.localization-bundle.d.ts +7 -0
  110. package/esm/internal/translations/fi-FI.localization-bundle.d.ts.map +1 -1
  111. package/esm/internal/translations/fi-FI.localization-bundle.js +7 -0
  112. package/esm/internal/translations/fr-CA.localization-bundle.d.ts +7 -0
  113. package/esm/internal/translations/fr-CA.localization-bundle.d.ts.map +1 -1
  114. package/esm/internal/translations/fr-CA.localization-bundle.js +7 -0
  115. package/esm/internal/translations/fr-FR.localization-bundle.d.ts +7 -0
  116. package/esm/internal/translations/fr-FR.localization-bundle.d.ts.map +1 -1
  117. package/esm/internal/translations/fr-FR.localization-bundle.js +7 -0
  118. package/esm/internal/translations/id-ID.localization-bundle.d.ts +7 -0
  119. package/esm/internal/translations/id-ID.localization-bundle.d.ts.map +1 -1
  120. package/esm/internal/translations/id-ID.localization-bundle.js +7 -0
  121. package/esm/internal/translations/it-IT.localization-bundle.d.ts +7 -0
  122. package/esm/internal/translations/it-IT.localization-bundle.d.ts.map +1 -1
  123. package/esm/internal/translations/it-IT.localization-bundle.js +7 -0
  124. package/esm/internal/translations/ja-JP.localization-bundle.d.ts +7 -0
  125. package/esm/internal/translations/ja-JP.localization-bundle.d.ts.map +1 -1
  126. package/esm/internal/translations/ja-JP.localization-bundle.js +7 -0
  127. package/esm/internal/translations/ko-KR.localization-bundle.d.ts +7 -0
  128. package/esm/internal/translations/ko-KR.localization-bundle.d.ts.map +1 -1
  129. package/esm/internal/translations/ko-KR.localization-bundle.js +7 -0
  130. package/esm/internal/translations/nl-NL.localization-bundle.d.ts +7 -0
  131. package/esm/internal/translations/nl-NL.localization-bundle.d.ts.map +1 -1
  132. package/esm/internal/translations/nl-NL.localization-bundle.js +7 -0
  133. package/esm/internal/translations/pl-PL.localization-bundle.d.ts +7 -0
  134. package/esm/internal/translations/pl-PL.localization-bundle.d.ts.map +1 -1
  135. package/esm/internal/translations/pl-PL.localization-bundle.js +7 -0
  136. package/esm/internal/translations/pt-BR.localization-bundle.d.ts +7 -0
  137. package/esm/internal/translations/pt-BR.localization-bundle.d.ts.map +1 -1
  138. package/esm/internal/translations/pt-BR.localization-bundle.js +7 -0
  139. package/esm/internal/translations/pt-PT.localization-bundle.d.ts +7 -0
  140. package/esm/internal/translations/pt-PT.localization-bundle.d.ts.map +1 -1
  141. package/esm/internal/translations/pt-PT.localization-bundle.js +7 -0
  142. package/esm/internal/translations/ru-RU.localization-bundle.d.ts +7 -0
  143. package/esm/internal/translations/ru-RU.localization-bundle.d.ts.map +1 -1
  144. package/esm/internal/translations/ru-RU.localization-bundle.js +7 -0
  145. package/esm/internal/translations/sl-SI.localization-bundle.d.ts +7 -0
  146. package/esm/internal/translations/sl-SI.localization-bundle.d.ts.map +1 -1
  147. package/esm/internal/translations/sl-SI.localization-bundle.js +7 -0
  148. package/esm/internal/translations/th-TH.localization-bundle.d.ts +7 -0
  149. package/esm/internal/translations/th-TH.localization-bundle.d.ts.map +1 -1
  150. package/esm/internal/translations/th-TH.localization-bundle.js +7 -0
  151. package/esm/internal/translations/tr-TR.localization-bundle.d.ts +7 -0
  152. package/esm/internal/translations/tr-TR.localization-bundle.d.ts.map +1 -1
  153. package/esm/internal/translations/tr-TR.localization-bundle.js +7 -0
  154. package/esm/internal/translations/uk-UA.localization-bundle.d.ts +7 -0
  155. package/esm/internal/translations/uk-UA.localization-bundle.d.ts.map +1 -1
  156. package/esm/internal/translations/uk-UA.localization-bundle.js +7 -0
  157. package/esm/internal/translations/vi-VN.localization-bundle.d.ts +7 -0
  158. package/esm/internal/translations/vi-VN.localization-bundle.d.ts.map +1 -1
  159. package/esm/internal/translations/vi-VN.localization-bundle.js +7 -0
  160. package/esm/internal/translations/zh-HK.localization-bundle.d.ts +7 -0
  161. package/esm/internal/translations/zh-HK.localization-bundle.d.ts.map +1 -1
  162. package/esm/internal/translations/zh-HK.localization-bundle.js +7 -0
  163. package/esm/internal/translations/zh-Hans.localization-bundle.d.ts +7 -0
  164. package/esm/internal/translations/zh-Hans.localization-bundle.d.ts.map +1 -1
  165. package/esm/internal/translations/zh-Hans.localization-bundle.js +7 -0
  166. package/esm/internal/translations/zh-Hant.localization-bundle.d.ts +7 -0
  167. package/esm/internal/translations/zh-Hant.localization-bundle.d.ts.map +1 -1
  168. package/esm/internal/translations/zh-Hant.localization-bundle.js +7 -0
  169. package/esm/internal/utils/bucketConfig.d.ts.map +1 -1
  170. package/esm/internal/utils/bucketConfig.js +2 -3
  171. package/esm/internal/utils/bucketHelper.js +7 -7
  172. package/esm/internal/utils/colors.d.ts.map +1 -1
  173. package/esm/internal/utils/colors.js +6 -7
  174. package/esm/internal/utils/controlsHelper.d.ts.map +1 -1
  175. package/esm/internal/utils/controlsHelper.js +7 -7
  176. package/esm/internal/utils/drillablePredicates.d.ts.map +1 -1
  177. package/esm/internal/utils/drillablePredicates.js +4 -4
  178. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.d.ts.map +1 -1
  179. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.js +5 -6
  180. package/esm/internal/utils/propertiesHelper.js +8 -8
  181. package/esm/internal/utils/translations.d.ts.map +1 -1
  182. package/esm/internal/utils/translations.js +2 -3
  183. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.d.ts.map +1 -1
  184. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.js +9 -10
  185. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.d.ts.map +1 -1
  186. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.js +16 -17
  187. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.d.ts.map +1 -1
  188. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.js +6 -7
  189. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.d.ts.map +1 -1
  190. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.js +4 -5
  191. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.d.ts.map +1 -1
  192. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.js +6 -7
  193. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.d.ts.map +1 -1
  194. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.js +8 -9
  195. package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.d.ts.map +1 -1
  196. package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.js +4 -5
  197. package/esm/internal/utils/uiConfigHelpers/donutChartUiConfigHelper.d.ts.map +1 -1
  198. package/esm/internal/utils/uiConfigHelpers/donutChartUiConfigHelper.js +3 -4
  199. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.d.ts.map +1 -1
  200. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.js +4 -5
  201. package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.d.ts.map +1 -1
  202. package/esm/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.js +3 -3
  203. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.d.ts.map +1 -1
  204. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.js +14 -15
  205. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.d.ts.map +1 -1
  206. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.js +9 -10
  207. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.d.ts.map +1 -1
  208. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.js +5 -6
  209. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.d.ts.map +1 -1
  210. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.js +11 -12
  211. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.d.ts.map +1 -1
  212. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.js +6 -7
  213. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.d.ts.map +1 -1
  214. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.js +9 -10
  215. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.d.ts.map +1 -1
  216. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.js +13 -14
  217. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.d.ts.map +1 -1
  218. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.js +13 -14
  219. package/esm/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.d.ts.map +1 -1
  220. package/esm/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.js +3 -4
  221. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.d.ts.map +1 -1
  222. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.js +11 -12
  223. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.d.ts.map +1 -1
  224. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.js +9 -10
  225. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.d.ts.map +1 -1
  226. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.js +6 -7
  227. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.d.ts.map +1 -1
  228. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.js +6 -7
  229. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.d.ts.map +1 -1
  230. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.js +10 -11
  231. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.d.ts.map +1 -1
  232. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.js +9 -10
  233. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.d.ts.map +1 -1
  234. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.js +3 -4
  235. package/esm/sdk-ui-ext.d.ts +1 -1
  236. package/esm/share/ObjectShareDialog.d.ts +1 -1
  237. package/esm/share/ObjectShareDialog.js +3 -3
  238. package/esm/share/messages.d.ts +28 -0
  239. package/esm/share/messages.d.ts.map +1 -1
  240. package/esm/share/messages.js +14 -0
  241. package/esm/share/removeAccessConfirm.d.ts +21 -0
  242. package/esm/share/removeAccessConfirm.d.ts.map +1 -0
  243. package/esm/share/removeAccessConfirm.js +27 -0
  244. package/esm/share/useObjectShareDialog.d.ts +14 -11
  245. package/esm/share/useObjectShareDialog.d.ts.map +1 -1
  246. package/esm/share/useObjectShareDialog.js +54 -24
  247. package/package.json +21 -21
@@ -1,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { messages } from "../../../locales.js";
6
5
  import { ATTRIBUTE, BUCKETS, DATE } from "../../constants/bucket.js";
7
6
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -39,7 +38,7 @@ function setLineChartBucketWarningMessages(referencePoint, intl) {
39
38
  warningMessage = getTranslation(messages["categorySegment"].id, intl);
40
39
  }
41
40
  if (warningMessage) {
42
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
41
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
43
42
  }
44
43
  }
45
44
  });
@@ -52,14 +51,14 @@ export function setLineChartUiConfig(referencePoint, intl, visualizationType) {
52
51
  const segmentCanAddItems = hasSomeSegmentByItems(buckets) ||
53
52
  hasNoMeasures(buckets) ||
54
53
  hasOneMeasureOrAlsoLineStyleControlMeasure(buckets);
55
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
56
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
57
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "canAddItems"], true);
58
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], segmentCanAddItems);
59
- set(referencePointConfigured, UICONFIG, setLineChartBucketWarningMessages(referencePointConfigured, intl));
60
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePoint.properties));
61
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], lineMeasuresIcon);
62
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "icon"], lineTrendIcon);
63
- 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);
64
63
  return referencePointConfigured;
65
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;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
+ {"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,7 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { BUCKETS } from "../../constants/bucket.js";
6
5
  import { UICONFIG } from "../../constants/uiConfig.js";
7
6
  import { setBucketTitles } from "../bucketHelper.js";
@@ -12,10 +11,10 @@ const mekkoViewIcon = "local:mekko/bucket-title-view.svg";
12
11
  const mekkoStackIcon = "local:mekko/bucket-title-stack.svg";
13
12
  export function setMekkoUiConfig(referencePoint, intl, visualizationType) {
14
13
  const referencePointConfigured = _cloneDeep(referencePoint);
15
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], mekkoWidthIcon);
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], mekkoHeightIcon);
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], mekkoViewIcon);
19
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], mekkoStackIcon);
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);
20
19
  return referencePointConfigured;
21
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pieChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,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,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,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { messages } from "../../../locales.js";
6
5
  import { BUCKETS } from "../../constants/bucket.js";
7
6
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -34,7 +33,7 @@ function setPieChartBucketWarningMessages(referencePoint, intl) {
34
33
  }
35
34
  if (warningMessageId) {
36
35
  const warningMessage = getTranslation(warningMessageId, intl);
37
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
36
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
38
37
  }
39
38
  }
40
39
  });
@@ -45,12 +44,12 @@ export function setPieChartUiConfig(referencePoint, intl, visualizationType) {
45
44
  const buckets = referencePointConfigured?.buckets ?? [];
46
45
  const measuresCanAddItems = !hasMoreThanOneCategory(buckets);
47
46
  const viewCanAddItems = !hasMoreThanOneMasterMeasure(buckets, BucketNames.MEASURES);
48
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
49
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
50
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
51
- set(referencePointConfigured, UICONFIG, setPieChartBucketWarningMessages(referencePointConfigured, intl));
52
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePoint.properties));
53
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], pieMeasuresIcon);
54
- 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);
55
54
  return referencePointConfigured;
56
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;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
+ {"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,7 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames, OverTimeComparisonTypes } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { messages } from "../../../locales.js";
6
5
  import { BUCKETS } from "../../constants/bucket.js";
7
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";
@@ -49,7 +48,7 @@ function setPivotTableNextBucketWarningMessages(referencePoint, intl) {
49
48
  }
50
49
  if (warningMessageId) {
51
50
  const warningMessage = getTranslation(warningMessageId, intl, warningMessageValues);
52
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
51
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
53
52
  }
54
53
  }
55
54
  });
@@ -63,25 +62,25 @@ export function getPivotTableNextMeasuresLimit(_settings, buckets) {
63
62
  }
64
63
  export function setPivotTableNextUiConfig(referencePoint, intl, visualizationType, _settings) {
65
64
  const buckets = referencePoint?.buckets ?? [];
66
- set(referencePoint, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
65
+ _set(referencePoint, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
67
66
  const messageId = referencePoint.properties?.controls?.["measureGroupDimension"] === "rows"
68
67
  ? messages["inRows"].id
69
68
  : messages["inColumns"].id;
70
69
  const subtitle = getTranslation(messageId, intl);
71
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "subtitle"], subtitle);
70
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "subtitle"], subtitle);
72
71
  const canMeasuresAddItems = canIncreasedTableMeasuresAddMoreItems(buckets);
73
72
  const canAttributesAddItems = canIncreasedTableAttributesAddMoreItems(buckets);
74
73
  const columnsCanAddItems = hasMeasuresOrRowsUnderLowerLimit(buckets);
75
74
  const columnsEmpty = hasNoColumns(buckets);
76
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canMeasuresAddItems);
77
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], canAttributesAddItems);
78
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
79
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_MEASURE_ITEMS_LIMIT : MAX_METRICS_COUNT);
80
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_ATTRIBUTES_ITEMS_LIMIT : MAX_TABLE_CATEGORIES_COUNT);
81
- set(referencePoint, UICONFIG, setPivotTableNextBucketWarningMessages(referencePoint, intl));
82
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], tableMeasuresIcon);
83
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], tableRowsIcon);
84
- 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);
85
84
  }
86
85
  export function getPivotTableNextDefaultUiConfig() {
87
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;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
+ {"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,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames, OverTimeComparisonTypes } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { messages } from "../../../locales.js";
6
5
  import { BUCKETS } from "../../constants/bucket.js";
7
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";
@@ -49,7 +48,7 @@ function setPivotTableBucketWarningMessages(referencePoint, intl) {
49
48
  }
50
49
  if (warningMessageId) {
51
50
  const warningMessage = getTranslation(warningMessageId, intl, warningMessageValues);
52
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
51
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
53
52
  }
54
53
  }
55
54
  });
@@ -63,25 +62,25 @@ export function getPivotTableMeasuresLimit(_settings, buckets) {
63
62
  }
64
63
  export function setPivotTableUiConfig(referencePoint, intl, visualizationType, _settings) {
65
64
  const buckets = referencePoint?.buckets ?? [];
66
- set(referencePoint, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
65
+ _set(referencePoint, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
67
66
  const messageId = referencePoint.properties?.controls?.["measureGroupDimension"] === "rows"
68
67
  ? messages["inRows"].id
69
68
  : messages["inColumns"].id;
70
69
  const subtitle = getTranslation(messageId, intl);
71
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "subtitle"], subtitle);
70
+ _set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "subtitle"], subtitle);
72
71
  const canMeasuresAddItems = canIncreasedTableMeasuresAddMoreItems(buckets);
73
72
  const canAttributesAddItems = canIncreasedTableAttributesAddMoreItems(buckets);
74
73
  const columnsCanAddItems = hasMeasuresOrRowsUnderLowerLimit(buckets);
75
74
  const columnsEmpty = hasNoColumns(buckets);
76
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canMeasuresAddItems);
77
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], canAttributesAddItems);
78
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
79
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_MEASURE_ITEMS_LIMIT : MAX_METRICS_COUNT);
80
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "itemsLimit"], columnsEmpty ? INCREASE_MAX_TABLE_ATTRIBUTES_ITEMS_LIMIT : MAX_TABLE_CATEGORIES_COUNT);
81
- set(referencePoint, UICONFIG, setPivotTableBucketWarningMessages(referencePoint, intl));
82
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], tableMeasuresIcon);
83
- set(referencePoint, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], tableRowsIcon);
84
- 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);
85
84
  }
86
85
  export function getPivotTableDefaultUiConfig() {
87
86
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"pyramidChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAQjF,wBAAgB,uBAAuB,CAAC,cAAc,EAAE,uBAAuB,GAAG,uBAAuB,CASxG"}
1
+ {"version":3,"file":"pyramidChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAQjF,wBAAgB,uBAAuB,CAAC,cAAc,EAAE,uBAAuB,GAAG,uBAAuB,CASxG"}
@@ -1,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { BUCKETS } from "../../constants/bucket.js";
6
5
  import { UICONFIG, disabledOpenAsReportConfig } from "../../constants/uiConfig.js";
7
6
  // If you need to edit these icons
@@ -12,7 +11,7 @@ const pyramidViewIcon = "local:pyramid/bucket-title-view.svg";
12
11
  export function setPyramidChartUiConfig(referencePoint) {
13
12
  const referencePointConfigured = _cloneDeep(referencePoint);
14
13
  Object.assign(referencePointConfigured[UICONFIG], disabledOpenAsReportConfig);
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], pyramidMeasuresIcon);
16
- 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);
17
16
  return referencePointConfigured;
18
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;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
+ {"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,7 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { messages } from "../../../locales.js";
6
5
  import { ATTRIBUTE, BUCKETS, DATE } from "../../constants/bucket.js";
7
6
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -35,7 +34,7 @@ function setRadarChartBucketWarningMessages(referencePoint, intl) {
35
34
  warningMessage = getTranslation(messages["categorySegment"].id, intl);
36
35
  }
37
36
  if (warningMessage) {
38
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
37
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
39
38
  }
40
39
  }
41
40
  });
@@ -46,14 +45,14 @@ export function setRadarChartUiConfig(referencePoint, intl, visualizationType) {
46
45
  const buckets = referencePointConfigured?.buckets ?? [];
47
46
  const measuresCanAddItems = hasNoMeasures(buckets) || hasNoStacksWithDate(buckets);
48
47
  const segmentCanAddItems = hasSomeSegmentByItems(buckets) || hasNoMeasures(buckets) || hasOneMeasure(buckets);
49
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
50
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
51
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "canAddItems"], true);
52
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], segmentCanAddItems);
53
- set(referencePointConfigured, UICONFIG, setRadarChartBucketWarningMessages(referencePointConfigured, intl));
54
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], false);
55
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], radarMeasuresIcon);
56
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TREND, "icon"], radarTrendIcon);
57
- 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);
58
57
  return referencePointConfigured;
59
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;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
+ {"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,8 +1,7 @@
1
1
  // (C) 2024-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { areObjRefsEqual } from "@gooddata/sdk-model";
4
3
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
5
- import { _cloneDeep } from "@gooddata/util";
4
+ import { _cloneDeep, _set } from "@gooddata/util";
6
5
  import { ATTRIBUTE, BUCKETS, DATE } from "../../constants/bucket.js";
7
6
  import { DEFAULT_REPEATER_UI_CONFIG, UICONFIG } from "../../constants/uiConfig.js";
8
7
  import { getBucketItems, getMainRowAttribute, setBucketTitles } from "../bucketHelper.js";
@@ -21,19 +20,19 @@ export function setRepeaterUiConfig(referencePoint, intl) {
21
20
  const emptyColumns = hasNoColumns(buckets);
22
21
  const columnsCanAddItems = !attributeCanAddItems || !emptyColumns;
23
22
  const viewCanAddItems = true; // !attributeCanAddItems || !emptyColumns;
24
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, VisualizationTypes.REPEATER, intl));
25
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], attributeCanAddItems);
26
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "canAddItems"], columnsCanAddItems);
27
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
28
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], repeaterRowsIcon);
29
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLUMNS, "icon"], repeaterColumnsIcon);
30
- 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);
31
30
  return referencePointConfigured;
32
31
  }
33
32
  export const configRepeaterBuckets = (extendedReferencePoint) => {
34
33
  const newExtendedReferencePoint = _cloneDeep(extendedReferencePoint);
35
34
  const { attribute, columns, view } = getRepeaterBucketItems(newExtendedReferencePoint);
36
- set(newExtendedReferencePoint, BUCKETS, [
35
+ _set(newExtendedReferencePoint, BUCKETS, [
37
36
  {
38
37
  localIdentifier: BucketNames.ATTRIBUTE,
39
38
  items: attribute,
@@ -1 +1 @@
1
- {"version":3,"file":"sankeyChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,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
+ {"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,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { BUCKETS } from "../../constants/bucket.js";
6
5
  import { UICONFIG } from "../../constants/uiConfig.js";
7
6
  import { getAllAttributeItems, getAttributeFromItems, getAttributeToItems, getMeasureItems, limitNumberOfMeasuresInBuckets, setBucketTitles, } from "../bucketHelper.js";
@@ -38,7 +37,7 @@ const getBucketItems = (extendedReferencePoint) => {
38
37
  export const configBuckets = (extendedReferencePoint) => {
39
38
  const config = _cloneDeep(extendedReferencePoint);
40
39
  const { measures, attributeFroms, attributeTos } = getBucketItems(config);
41
- set(config, BUCKETS, [
40
+ _set(config, BUCKETS, [
42
41
  {
43
42
  localIdentifier: BucketNames.MEASURES,
44
43
  items: measures,
@@ -56,9 +55,9 @@ export const configBuckets = (extendedReferencePoint) => {
56
55
  };
57
56
  export const configSankeyUiConfig = (extendedReferencePoint, intl, visualizationType) => {
58
57
  const referencePointConfigured = _cloneDeep(extendedReferencePoint);
59
- set(referencePointConfigured, [UICONFIG], setBucketTitles(referencePointConfigured, visualizationType, intl));
60
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], measureIcon);
61
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_FROM, "icon"], fromIcon);
62
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_TO, "icon"], toIcon);
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);
63
62
  return referencePointConfigured;
64
63
  };
@@ -1 +1 @@
1
- {"version":3,"file":"scatterPlotUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.ts"],"names":[],"mappings":"AAGA,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
+ {"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,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { BUCKETS } from "../../constants/bucket.js";
6
5
  import { UICONFIG } from "../../constants/uiConfig.js";
7
6
  import { getBucketItems, setBucketTitles } from "../bucketHelper.js";
@@ -14,11 +13,11 @@ const scatterViewIcon = "local:scatter/bucket-title-view.svg";
14
13
  const scatterSegmentIcon = "local:scatter/bucket-title-segment.svg";
15
14
  export function setScatterPlotUiConfig(referencePoint, intl, visualizationType) {
16
15
  let referencePointConfigured = _cloneDeep(referencePoint);
17
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], scatterMeasuresXIcon);
19
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], scatterMeasuresYIcon);
20
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE, "icon"], scatterViewIcon);
21
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], scatterSegmentIcon);
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);
22
21
  referencePointConfigured = disableClusteringIfSegmentationIsActive(referencePointConfigured);
23
22
  return referencePointConfigured;
24
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;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
+ {"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,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { messages } from "../../../locales.js";
6
5
  import { ATTRIBUTE, BUCKETS, DATE } from "../../constants/bucket.js";
7
6
  import { UICONFIG } from "../../constants/uiConfig.js";
@@ -41,7 +40,7 @@ function setTreemapBucketWarningMessages(referencePoint, intl) {
41
40
  warningMessage = getTranslation(messages["categorySegment"].id, intl);
42
41
  }
43
42
  if (warningMessage) {
44
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
43
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
45
44
  }
46
45
  }
47
46
  });
@@ -52,13 +51,13 @@ export function setTreemapUiConfig(referencePoint, intl, visualizationType) {
52
51
  const buckets = referencePointConfigured?.buckets ?? [];
53
52
  const measuresCanAddItems = !hasOneCategory(buckets) || hasNoMeasures(buckets);
54
53
  const viewCanAddItems = !hasMoreThanOneMasterMeasure(buckets, BucketNames.MEASURES);
55
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
56
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
57
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
58
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], true);
59
- set(referencePointConfigured, UICONFIG, setTreemapBucketWarningMessages(referencePointConfigured, intl));
60
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], treemapMeasuresIcon);
61
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], treemapViewIcon);
62
- 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);
63
62
  return referencePointConfigured;
64
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;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"}
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"}
@@ -1,7 +1,6 @@
1
1
  // (C) 2023-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { messages } from "../../../locales.js";
6
5
  import { BUCKETS } from "../../constants/bucket.js";
7
6
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -29,7 +28,7 @@ function setWaterfallChartBucketWarningMessages(referencePoint, intl) {
29
28
  }
30
29
  if (!bucketUiConfig?.canAddItems && bucket.localIdentifier === BucketNames.VIEW) {
31
30
  const warningMessage = getTranslation(messages["category"].id, intl);
32
- set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
31
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
33
32
  }
34
33
  });
35
34
  return updatedUiConfig;
@@ -39,13 +38,13 @@ export function setWaterfallChartUiConfig(referencePoint, intl, visualizationTyp
39
38
  const buckets = referencePointConfigured?.buckets ?? [];
40
39
  const measuresCanAddItems = !hasMoreThanOneCategory(buckets);
41
40
  const viewCanAddItems = !hasMoreThanOneMasterMeasure(buckets, BucketNames.MEASURES);
42
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
43
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
44
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
45
- set(referencePointConfigured, UICONFIG, setWaterfallChartBucketWarningMessages(referencePointConfigured, intl));
46
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePoint.properties));
47
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], waterfallMeasuresIcon);
48
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], waterfallViewIcon);
41
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
42
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], measuresCanAddItems);
43
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], viewCanAddItems);
44
+ _set(referencePointConfigured, UICONFIG, setWaterfallChartBucketWarningMessages(referencePointConfigured, intl));
45
+ _set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePoint.properties));
46
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], waterfallMeasuresIcon);
47
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], waterfallViewIcon);
49
48
  return referencePointConfigured;
50
49
  }
51
50
  export function isWaterfallColorHeaderItemKey(headerName) {
@@ -1 +1 @@
1
- {"version":3,"file":"xirrUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/xirrUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAqB,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAI5G,eAAO,MAAM,sBAAsB,QAAO,SAA8C,CAAC;AAmBzF,eAAO,MAAM,eAAe,mBAAoB,eAAe,QAAQ,SAAS,KAAG,SAqBlF,CAAC"}
1
+ {"version":3,"file":"xirrUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/xirrUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAqB,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAI5G,eAAO,MAAM,sBAAsB,QAAO,SAA8C,CAAC;AAmBzF,eAAO,MAAM,eAAe,mBAAoB,eAAe,QAAQ,SAAS,KAAG,SAqBlF,CAAC"}
@@ -1,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { set } from "lodash-es";
3
2
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
4
- import { _cloneDeep } from "@gooddata/util";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
5
4
  import { BUCKETS } from "../../constants/bucket.js";
6
5
  import { DEFAULT_XIRR_UICONFIG } from "../../constants/uiConfig.js";
7
6
  import { getItemsCount, setBucketTitles } from "../bucketHelper.js";
@@ -26,8 +25,8 @@ export const getXirrUiConfig = (referencePoint, intl) => {
26
25
  const buckets = referencePoint?.buckets ?? [];
27
26
  const canAddMeasures = hasNoMeasures(buckets);
28
27
  const canAddAttribute = hasNoAttribute(buckets);
29
- set(uiConfig, [BUCKETS, BucketNames.MEASURES, "canAddItems"], canAddMeasures);
30
- set(uiConfig, [BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], canAddAttribute);
28
+ _set(uiConfig, [BUCKETS, BucketNames.MEASURES, "canAddItems"], canAddMeasures);
29
+ _set(uiConfig, [BUCKETS, BucketNames.ATTRIBUTE, "canAddItems"], canAddAttribute);
31
30
  uiConfig.customError = getCustomError(referencePoint, intl.formatMessage);
32
31
  return uiConfig;
33
32
  };
@@ -2234,7 +2234,7 @@ export declare function NotificationsPanel(props: INotificationsPanelProps): JSX
2234
2234
 
2235
2235
  /**
2236
2236
  * Connected share dialog. Renders the main share modal, the add-grantee
2237
- * sub-dialog and the general-access confirm dialog, all driven by one
2237
+ * sub-dialog and the confirm dialogs, all driven by one
2238
2238
  * controller. Each underlying dialog manages its own open state, so they can
2239
2239
  * be safely co-mounted; focus, backdrop and portal lifecycles are owned by
2240
2240
  * `UiModalDialog` inside the kit.
@@ -66,7 +66,7 @@ export interface IObjectShareDialogProps {
66
66
  }
67
67
  /**
68
68
  * Connected share dialog. Renders the main share modal, the add-grantee
69
- * sub-dialog and the general-access confirm dialog, all driven by one
69
+ * sub-dialog and the confirm dialogs, all driven by one
70
70
  * controller. Each underlying dialog manages its own open state, so they can
71
71
  * be safely co-mounted; focus, backdrop and portal lifecycles are owned by
72
72
  * `UiModalDialog` inside the kit.