@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":"translations.d.ts","sourceRoot":"","sources":["../../../src/internal/utils/translations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAEH,KAAK,aAAa,EAErB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,wBAAgB,cAAc,CAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,IAAI,CAAC,EAAE,SAAS,EAChB,MAAM,GAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAO,GACvC,MAAM,CAKR;AAED,wBAAgB,0BAA0B,CAAC,aAAa,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,GAAG,aAAa,EAAE,CAM3G;AAQD;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAyDxC;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,CAAoC,CAAC;AAE5G,eAAO,MAAM,gBAAgB;;;;CAK5B,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/internal/utils/translations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAEH,KAAK,aAAa,EAErB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,wBAAgB,cAAc,CAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,IAAI,CAAC,EAAE,SAAS,EAChB,MAAM,GAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAO,GACvC,MAAM,CAKR;AAED,wBAAgB,0BAA0B,CAAC,aAAa,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,SAAS,GAAG,aAAa,EAAE,CAM3G;AAQD;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAyDxC;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,CAAqC,CAAC;AAE7G,eAAO,MAAM,gBAAgB;;;;CAK5B,CAAC"}
@@ -1,7 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { memoize } from "lodash-es";
3
2
  import { DEFAULT_MESSAGES as DEFAULT_MESSAGES_SDK_UI, resolveMessages as sdkUiresolveMessages, } from "@gooddata/sdk-ui";
4
- import { removeMetadata } from "@gooddata/util";
3
+ import { _memoize, removeMetadata } from "@gooddata/util";
5
4
  export function getTranslation(translationId, intl, values = {}) {
6
5
  if (!translationId) {
7
6
  return "";
@@ -80,7 +79,7 @@ const resolveMessagesInternal = async (locale) => {
80
79
  *
81
80
  * @internal
82
81
  */
83
- export const resolveMessages = memoize(resolveMessagesInternal);
82
+ export const resolveMessages = _memoize(resolveMessagesInternal);
84
83
  export const DEFAULT_MESSAGES = {
85
84
  [DEFAULT_LANGUAGE]: {
86
85
  ...DEFAULT_OWN_MESSAGES,
@@ -1 +1 @@
1
- {"version":3,"file":"areaChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAGH,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AAiE3C,wBAAgB,oBAAoB,CAChC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAuCzB"}
1
+ {"version":3,"file":"areaChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EAGH,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AAiE3C,wBAAgB,oBAAoB,CAChC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAuCzB"}
@@ -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";
@@ -45,11 +45,11 @@ function setAreaChartBucketWarningMessages(referencePoint, messageConfig) {
45
45
  if (!uiConfig) {
46
46
  return uiConfig;
47
47
  }
48
- return set(uiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
48
+ return _set(uiConfig, [BUCKETS, localIdentifier, "warningMessage"], warningMessage);
49
49
  }, updatedUiConfig);
50
50
  }
51
51
  export function setAreaChartUiConfig(referencePoint, intl, visualizationType) {
52
- const referencePointConfigured = cloneDeep(referencePoint);
52
+ const referencePointConfigured = _cloneDeep(referencePoint);
53
53
  const buckets = referencePointConfigured?.buckets ?? [];
54
54
  const categoriesCount = getItemsCount(buckets, BucketNames.VIEW);
55
55
  const stackItems = getStackItems(buckets, [ATTRIBUTE, DATE]);
@@ -64,13 +64,13 @@ export function setAreaChartUiConfig(referencePoint, intl, visualizationType) {
64
64
  [BucketNames.VIEW]: getWarningMessageForViewByBucket(intl, measuresCount, stackItems),
65
65
  [BucketNames.STACK]: getWarningMessageForStackByBucket(intl, categoriesCount),
66
66
  };
67
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
68
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canAddMeasuresItems);
69
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], canAddViewItems);
70
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "canAddItems"], canAddStackItems);
67
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
68
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canAddMeasuresItems);
69
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], canAddViewItems);
70
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "canAddItems"], canAddStackItems);
71
71
  setAreaChartBucketWarningMessages(referencePointConfigured, messageConfig);
72
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], areaMeasuresIcon);
73
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], areaViewIcon);
74
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], areaStackIcon);
72
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], areaMeasuresIcon);
73
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], areaViewIcon);
74
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], areaStackIcon);
75
75
  return referencePointConfigured;
76
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"baseChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EACH,KAAK,WAAW,EAEhB,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AA8D3C,wBAAgB,oBAAoB,CAChC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAwDzB;AAED,wBAAgB,mCAAmC,CAC/C,cAAc,EAAE,uBAAuB,EACvC,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAoBzB;AAgBD,wBAAgB,4BAA4B,CACxC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,IAAI,EAAE,SAAS,EACf,WAAW,EAAE,WAAW,EAAE,GAC3B,MAAM,CAMR"}
1
+ {"version":3,"file":"baseChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EACH,KAAK,WAAW,EAEhB,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AA8D3C,wBAAgB,oBAAoB,CAChC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAwDzB;AAED,wBAAgB,mCAAmC,CAC/C,cAAc,EAAE,uBAAuB,EACvC,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAoBzB;AAgBD,wBAAgB,4BAA4B,CACxC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,IAAI,EAAE,SAAS,EACf,WAAW,EAAE,WAAW,EAAE,GAC3B,MAAM,CAMR"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
3
2
  import { BucketNames, VisualizationTypes } 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, RECOMMENDATIONS, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -19,7 +19,7 @@ const barViewIcon = "local:bar/bucket-title-view.svg";
19
19
  const barStackIcon = "local:bar/bucket-title-stack.svg";
20
20
  function setBaseChartBucketWarningMessages(referencePoint, intl) {
21
21
  const buckets = referencePoint?.buckets ?? [];
22
- const updatedUiConfig = cloneDeep(referencePoint?.uiConfig);
22
+ const updatedUiConfig = _cloneDeep(referencePoint?.uiConfig);
23
23
  const stackItems = getStackItems(buckets, [ATTRIBUTE, DATE]);
24
24
  if (!updatedUiConfig) {
25
25
  return updatedUiConfig;
@@ -40,22 +40,22 @@ function setBaseChartBucketWarningMessages(referencePoint, intl) {
40
40
  warningMessage = getTranslation(messages["categoryStack"].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 setBaseChartUiConfig(referencePoint, intl, visualizationType) {
50
- const referencePointConfigured = cloneDeep(referencePoint);
50
+ const referencePointConfigured = _cloneDeep(referencePoint);
51
51
  const buckets = referencePointConfigured?.buckets ?? [];
52
52
  const measuresCanAddItems = hasNoMeasures(buckets) || hasNoStacksWithDate(buckets);
53
53
  const stackCanAddItems = !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"], true);
57
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "canAddItems"], stackCanAddItems);
58
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePointConfigured.properties));
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"], true);
57
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "canAddItems"], stackCanAddItems);
58
+ _set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], !hasColorMapping(referencePointConfigured.properties));
59
59
  const iconsMap = {
60
60
  column: {
61
61
  [BucketNames.MEASURES]: columnMeasuresIcon,
@@ -68,26 +68,26 @@ export function setBaseChartUiConfig(referencePoint, intl, visualizationType) {
68
68
  [BucketNames.STACK]: barStackIcon,
69
69
  },
70
70
  };
71
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], iconsMap[visualizationType]?.[BucketNames.MEASURES]);
72
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], iconsMap[visualizationType]?.[BucketNames.VIEW]);
73
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], iconsMap[visualizationType]?.[BucketNames.STACK]);
74
- set(referencePointConfigured, UICONFIG, setBaseChartBucketWarningMessages(referencePointConfigured, intl));
71
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], iconsMap[visualizationType]?.[BucketNames.MEASURES]);
72
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], iconsMap[visualizationType]?.[BucketNames.VIEW]);
73
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], iconsMap[visualizationType]?.[BucketNames.STACK]);
74
+ _set(referencePointConfigured, UICONFIG, setBaseChartBucketWarningMessages(referencePointConfigured, intl));
75
75
  return referencePointConfigured;
76
76
  }
77
77
  export function setBaseChartUiConfigRecommendations(referencePoint, visualizationType) {
78
78
  if (visualizationType === VisualizationTypes.COLUMN) {
79
- const newReferencePoint = cloneDeep(referencePoint);
79
+ const newReferencePoint = _cloneDeep(referencePoint);
80
80
  const buckets = newReferencePoint?.buckets;
81
81
  const filters = newReferencePoint?.filters;
82
82
  const percentEnabled = percentRecommendationEnabled(buckets, filters);
83
83
  const comparisonAndTrending = comparisonAndTrendingRecommendationEnabled(buckets);
84
84
  const overTimeComparison = overTimeComparisonRecommendationEnabled(newReferencePoint);
85
85
  const previousPeriod = previousPeriodRecommendationEnabled(buckets);
86
- set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "percent"], percentEnabled);
87
- set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "comparison"], comparisonAndTrending);
88
- set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "trending"], comparisonAndTrending);
89
- set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "overTimeComparison"], overTimeComparison);
90
- set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "previousPeriod"], previousPeriod);
86
+ _set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "percent"], percentEnabled);
87
+ _set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "comparison"], comparisonAndTrending);
88
+ _set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "trending"], comparisonAndTrending);
89
+ _set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "overTimeComparison"], overTimeComparison);
90
+ _set(newReferencePoint, [UICONFIG, RECOMMENDATIONS, "previousPeriod"], previousPeriod);
91
91
  return newReferencePoint;
92
92
  }
93
93
  return referencePoint;
@@ -1 +1 @@
1
- {"version":3,"file":"bubbleChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.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,CAezB"}
1
+ {"version":3,"file":"bubbleChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.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,CAmBzB"}
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  import { setBucketTitles } from "../bucketHelper.js";
@@ -12,11 +12,11 @@ const bubbleMeasuresYIcon = "local:bubble/bucket-title-measures-y.svg";
12
12
  const bubbleSizeIcon = "local:bubble/bucket-title-size.svg";
13
13
  const bubbleViewByIcon = "local:bubble/bucket-title-view-by.svg";
14
14
  export function setBubbleChartUiConfig(referencePoint, intl, visualizationType) {
15
- const referencePointConfigured = cloneDeep(referencePoint);
16
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], bubbleMeasuresXIcon);
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], bubbleMeasuresYIcon);
19
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TERTIARY_MEASURES, "icon"], bubbleSizeIcon);
20
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], bubbleViewByIcon);
15
+ const referencePointConfigured = _cloneDeep(referencePoint);
16
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], bubbleMeasuresXIcon);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], bubbleMeasuresYIcon);
19
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.TERTIARY_MEASURES, "icon"], bubbleSizeIcon);
20
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], bubbleViewByIcon);
21
21
  return referencePointConfigured;
22
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bulletChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAYjF,wBAAgB,sBAAsB,CAClC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CA0CzB"}
1
+ {"version":3,"file":"bulletChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAYjF,wBAAgB,sBAAsB,CAClC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CA0CzB"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep } from "@gooddata/util";
4
4
  import { messages } from "../../../locales.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  import { getItemsCount, setBucketTitles } from "../bucketHelper.js";
@@ -13,7 +13,7 @@ const bulletTargetMeasureIcon = "local:bullet/bucket-title-target.svg";
13
13
  const bulletComparativeMeasureIcon = "local:bullet/bucket-title-comparative.svg";
14
14
  const bulletViewByIcon = "local:bullet/bucket-title-view-by.svg";
15
15
  export function getBulletChartUiConfig(referencePoint, intl, visualizationType) {
16
- const referencePointConfigured = cloneDeep(referencePoint);
16
+ const referencePointConfigured = _cloneDeep(referencePoint);
17
17
  referencePointConfigured[UICONFIG] = setBucketTitles(referencePointConfigured, visualizationType, intl);
18
18
  const buckets = referencePoint?.buckets ?? [];
19
19
  const primaryMeasuresCount = getItemsCount(buckets, BucketNames.MEASURES);
@@ -1 +1 @@
1
- {"version":3,"file":"columnBarChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAIjF,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAwBzB"}
1
+ {"version":3,"file":"columnBarChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAIjF,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAwBzB"}
@@ -1,20 +1,20 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames, OverTimeComparisonTypes } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { messages } from "../../../locales.js";
5
5
  import { BUCKETS } from "../../constants/bucket.js";
6
6
  import { SUPPORTED_COMPARISON_TYPES, UICONFIG } from "../../constants/uiConfig.js";
7
7
  import { getMeasureItems } from "../bucketHelper.js";
8
8
  import { getTranslation } from "../translations.js";
9
9
  export function setColumnBarChartUiConfig(referencePoint, intl) {
10
- const referencePointConfigured = cloneDeep(referencePoint);
11
- set(referencePointConfigured, [UICONFIG, SUPPORTED_COMPARISON_TYPES], [OverTimeComparisonTypes.SAME_PERIOD_PREVIOUS_YEAR, OverTimeComparisonTypes.PREVIOUS_PERIOD]);
10
+ const referencePointConfigured = _cloneDeep(referencePoint);
11
+ _set(referencePointConfigured, [UICONFIG, SUPPORTED_COMPARISON_TYPES], [OverTimeComparisonTypes.SAME_PERIOD_PREVIOUS_YEAR, OverTimeComparisonTypes.PREVIOUS_PERIOD]);
12
12
  const buckets = referencePointConfigured?.buckets ?? [];
13
13
  const measures = getMeasureItems(buckets);
14
14
  if (measures.length > 1) {
15
15
  const warningMessage = getTranslation(messages["measureStack"].id, intl);
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "canAddItems"], false);
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "warningMessage"], warningMessage);
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "canAddItems"], false);
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "warningMessage"], warningMessage);
18
18
  }
19
19
  return referencePointConfigured;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"comboChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAe,KAAK,SAAS,EAAsB,MAAM,kBAAkB,CAAC;AAMnF,OAAO,EAEH,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AA8C3C,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,SAAS,GAC7B,uBAAuB,CA6BzB"}
1
+ {"version":3,"file":"comboChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAe,KAAK,SAAS,EAAsB,MAAM,kBAAkB,CAAC;AAOnF,OAAO,EAEH,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AA8C3C,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,SAAS,GAC7B,uBAAuB,CA6BzB"}
@@ -1,7 +1,7 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
4
3
  import { isLineChart } from "@gooddata/sdk-ui-charts";
4
+ import { _cloneDeep, _set } from "@gooddata/util";
5
5
  import { messages } from "../../../locales.js";
6
6
  import { BUCKETS } from "../../constants/bucket.js";
7
7
  import { UICONFIG } from "../../constants/uiConfig.js";
@@ -38,10 +38,10 @@ const VIEW_BY_ICONS = {
38
38
  };
39
39
  function setCanStackInPercent(uiConfig, secondaryChartType, isDualAxis) {
40
40
  const canStackInPercent = !(isDualAxis === false && isLineChart(secondaryChartType));
41
- set(uiConfig, "optionalStacking.canStackInPercent", canStackInPercent);
41
+ _set(uiConfig, "optionalStacking.canStackInPercent", canStackInPercent);
42
42
  }
43
43
  export function setComboChartUiConfig(referencePoint, intl, visualizationType) {
44
- const referencePointConfigured = cloneDeep(referencePoint);
44
+ const referencePointConfigured = _cloneDeep(referencePoint);
45
45
  const measureBuckets = getBucketsByNames(referencePointConfigured?.buckets, [
46
46
  BucketNames.MEASURES,
47
47
  BucketNames.SECONDARY_MEASURES,
@@ -57,10 +57,10 @@ export function setComboChartUiConfig(referencePoint, intl, visualizationType) {
57
57
  const type = chartTypes[index];
58
58
  const localIdentifier = bucket?.localIdentifier ?? "";
59
59
  const subtitle = getTranslation(messages[type].id, intl);
60
- set(updatedUiConfig, [BUCKETS, localIdentifier, "subtitle"], subtitle);
61
- set(updatedUiConfig, [BUCKETS, localIdentifier, "icon"], MEASURE_BUCKET_ICONS[type]);
60
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "subtitle"], subtitle);
61
+ _set(updatedUiConfig, [BUCKETS, localIdentifier, "icon"], MEASURE_BUCKET_ICONS[type]);
62
62
  });
63
- set(updatedUiConfig, [BUCKETS, BucketNames.VIEW, "icon"], VIEW_BY_ICONS[chartTypes.join("-")]);
64
- set(referencePointConfigured, UICONFIG, updatedUiConfig);
63
+ _set(updatedUiConfig, [BUCKETS, BucketNames.VIEW, "icon"], VIEW_BY_ICONS[chartTypes.join("-")]);
64
+ _set(referencePointConfigured, UICONFIG, updatedUiConfig);
65
65
  return referencePointConfigured;
66
66
  }
@@ -1 +1 @@
1
- {"version":3,"file":"comboChartUiConfigHelperDeprecated.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI/D,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAUjF,wBAAgB,+BAA+B,CAC3C,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,SAAS,GAC7B,uBAAuB,CAiBzB"}
1
+ {"version":3,"file":"comboChartUiConfigHelperDeprecated.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAK/D,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAUjF,wBAAgB,+BAA+B,CAC3C,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,SAAS,GAC7B,uBAAuB,CAiBzB"}
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  import { setBucketTitles } from "../bucketHelper.js";
@@ -11,13 +11,13 @@ const comboSecondaryMeasuresIcon = "local:combo/bucket-title-secondary-measures.
11
11
  const columnMeasureIcon = "local:combo/bucket-title-measures-column.svg";
12
12
  const columnLineIcon = "local:combo/bucket-title-view-column-line.svg";
13
13
  export function setComboChartUiConfigDeprecated(referencePoint, intl, visualizationType) {
14
- const referencePointConfigured = cloneDeep(referencePoint);
15
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], true);
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], true);
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], true);
19
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], columnMeasureIcon);
20
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], comboSecondaryMeasuresIcon);
21
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], columnLineIcon);
14
+ const referencePointConfigured = _cloneDeep(referencePoint);
15
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], true);
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], true);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "canAddItems"], true);
19
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], columnMeasureIcon);
20
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], comboSecondaryMeasuresIcon);
21
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], columnLineIcon);
22
22
  return referencePointConfigured;
23
23
  }
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  // If you need to edit these icons
@@ -10,9 +10,9 @@ const measureIcon = "local:dependencyWheel/bucket-title-measures.svg";
10
10
  const fromIcon = "local:dependencyWheel/bucket-title-from.svg";
11
11
  const toIcon = "local:dependencyWheel/bucket-title-to.svg";
12
12
  export const configDependencyWheelUiConfig = (extendedReferencePoint) => {
13
- const referencePointConfigured = cloneDeep(extendedReferencePoint);
14
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], measureIcon);
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_FROM, "icon"], fromIcon);
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_TO, "icon"], toIcon);
13
+ const referencePointConfigured = _cloneDeep(extendedReferencePoint);
14
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], measureIcon);
15
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_FROM, "icon"], fromIcon);
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_TO, "icon"], toIcon);
17
17
  return referencePointConfigured;
18
18
  };
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG, disabledOpenAsReportConfig } from "../../constants/uiConfig.js";
6
6
  // If you need to edit these icons
@@ -9,9 +9,9 @@ import { UICONFIG, disabledOpenAsReportConfig } from "../../constants/uiConfig.j
9
9
  const donutMeasuresIcon = "local:donut/bucket-title-measures.svg";
10
10
  const donutViewIcon = "local:donut/bucket-title-view.svg";
11
11
  export function setDonutChartUiConfig(referencePoint) {
12
- const referencePointConfigured = cloneDeep(referencePoint);
12
+ const referencePointConfigured = _cloneDeep(referencePoint);
13
13
  Object.assign(referencePointConfigured[UICONFIG], disabledOpenAsReportConfig);
14
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], donutMeasuresIcon);
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], donutViewIcon);
14
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], donutMeasuresIcon);
15
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], donutViewIcon);
16
16
  return referencePointConfigured;
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"funnelChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AASjF,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,uBAAuB,GAAG,uBAAuB,CAavG"}
1
+ {"version":3,"file":"funnelChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AASjF,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,uBAAuB,GAAG,uBAAuB,CAiBvG"}
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG, disabledOpenAsReportConfig } from "../../constants/uiConfig.js";
6
6
  import { configurePercent } from "../bucketConfig.js";
@@ -10,12 +10,12 @@ import { configurePercent } from "../bucketConfig.js";
10
10
  const funnelMeasuresIcon = "local:funnel/bucket-title-measures.svg";
11
11
  const funnelViewIcon = "local:funnel/bucket-title-view.svg";
12
12
  export function setFunnelChartUiConfig(referencePoint) {
13
- const referencePointConfigured = cloneDeep(referencePoint);
13
+ const referencePointConfigured = _cloneDeep(referencePoint);
14
14
  Object.assign(referencePointConfigured[UICONFIG], disabledOpenAsReportConfig);
15
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], funnelMeasuresIcon);
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], funnelViewIcon);
15
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], funnelMeasuresIcon);
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], funnelViewIcon);
17
17
  // always disabled for funnel
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "isShowInPercentVisible"], false);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "isShowInPercentVisible"], false);
19
19
  configurePercent(referencePointConfigured, true);
20
20
  return referencePointConfigured;
21
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"geoAreaChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAK5C,OAAO,EAAE,KAAK,uBAAuB,EAAkB,MAAM,mCAAmC,CAAC;AAejG;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAWzB"}
1
+ {"version":3,"file":"geoAreaChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/geoAreaChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAkB,MAAM,mCAAmC,CAAC;AAejG;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,GAChB,uBAAuB,CAWzB"}
@@ -1,6 +1,6 @@
1
- // (C) 2025 GoodData Corporation
2
- import { set } from "lodash-es";
1
+ // (C) 2025-2026 GoodData Corporation
3
2
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
3
+ import { _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { setBucketTitles } from "../bucketHelper.js";
6
6
  const geoAreaBucketAreaIcon = "local:geoPushpin/bucket-title-location-icon.svg";
@@ -10,7 +10,7 @@ function setBucketIcon(uiConfig, bucketName, icon) {
10
10
  if (!uiConfig) {
11
11
  return;
12
12
  }
13
- set(uiConfig, [BUCKETS, bucketName, "icon"], icon);
13
+ _set(uiConfig, [BUCKETS, bucketName, "icon"], icon);
14
14
  }
15
15
  /**
16
16
  * Sets the UI config for geo area chart reference point.
@@ -1 +1 @@
1
- {"version":3,"file":"geoPushpinChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAKvD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuBjF,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,CAAC,EAAE,SAAS,GACzB,uBAAuB,CAwEzB;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,GAAG,UAAU,CAS5F"}
1
+ {"version":3,"file":"geoPushpinChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMvD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuBjF,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,EACzB,YAAY,CAAC,EAAE,SAAS,GACzB,uBAAuB,CAwEzB;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,GAAG,UAAU,CAS5F"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { isGeoPushpinIconEnabled } from "../../constants/featureFlags.js";
6
6
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -22,23 +22,23 @@ function canAddItemsToBucket(referencePoint, bucketName) {
22
22
  return getItemsCount(referencePoint.buckets ?? [], bucketName) < itemsLimit;
23
23
  }
24
24
  export function setGeoPushpinUiConfig(referencePoint, intl, visualizationType, featureFlags) {
25
- const referencePointConfigured = cloneDeep(referencePoint);
26
- set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
27
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.LOCATION, "icon"], geoPushPinBucketLocationIcon);
28
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SIZE, "icon"], geoPushPinBucketSizeIcon);
29
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLOR, "icon"], geoPushPinBucketColorIcon);
30
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], geoPushPinBucketSegmentIcon);
31
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], geoPushPinBucketMetricIcon);
25
+ const referencePointConfigured = _cloneDeep(referencePoint);
26
+ _set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
27
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.LOCATION, "icon"], geoPushPinBucketLocationIcon);
28
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SIZE, "icon"], geoPushPinBucketSizeIcon);
29
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLOR, "icon"], geoPushPinBucketColorIcon);
30
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "icon"], geoPushPinBucketSegmentIcon);
31
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], geoPushPinBucketMetricIcon);
32
32
  // overide base config
33
- set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], false);
33
+ _set(referencePointConfigured, [UICONFIG, OPEN_AS_REPORT, SUPPORTED], false);
34
34
  const iconEnabled = isGeoPushpinIconEnabled(featureFlags);
35
35
  const shapeType = referencePointConfigured.properties?.controls?.["points"]?.shapeType ?? "circle";
36
36
  const sizeColorBucketsEditable = arePushpinSizeColorBucketsEditable(shapeType);
37
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.LOCATION, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.LOCATION));
38
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SIZE, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.SIZE) && sizeColorBucketsEditable);
39
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLOR, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.COLOR) && sizeColorBucketsEditable);
40
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.SEGMENT) && sizeColorBucketsEditable);
41
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.MEASURES));
37
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.LOCATION, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.LOCATION));
38
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SIZE, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.SIZE) && sizeColorBucketsEditable);
39
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.COLOR, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.COLOR) && sizeColorBucketsEditable);
40
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SEGMENT, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.SEGMENT) && sizeColorBucketsEditable);
41
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "canAddItems"], canAddItemsToBucket(referencePointConfigured, BucketNames.MEASURES));
42
42
  // Build the filtered bucket set
43
43
  const filteredBuckets = {
44
44
  [BucketNames.LOCATION]: referencePointConfigured?.uiConfig?.buckets?.[BucketNames.LOCATION],
@@ -53,7 +53,7 @@ export function setGeoPushpinUiConfig(referencePoint, intl, visualizationType, f
53
53
  referencePointConfigured?.uiConfig?.buckets?.[BucketNames.MEASURES];
54
54
  }
55
55
  // only apply related bucket uiConfig
56
- set(referencePointConfigured, [UICONFIG, BUCKETS], filteredBuckets);
56
+ _set(referencePointConfigured, [UICONFIG, BUCKETS], filteredBuckets);
57
57
  return referencePointConfigured;
58
58
  }
59
59
  export function updateConfigWithSettings(config, settings) {
@@ -1 +1 @@
1
- {"version":3,"file":"headlineUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/headlineUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAEH,KAAK,aAAa,EAElB,KAAK,kBAAkB,EAEvB,KAAK,SAAS,EACd,KAAK,MAAM,EAOd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAGH,KAAK,YAAY,EAIpB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,mCAAmC,CAAC;AAW3C,wBAAgB,0BAA0B,IAAI,SAAS,CAItD;AAED,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,GAAG,SAAS,CAyC/F;AAED,wBAAgB,gCAAgC,CAC5C,uBAAuB,EAAE,wBAAwB,EACjD,QAAQ,EAAE,SAAS,GAAG,SAAS,EAC/B,OAAO,EAAE,SAAS,GACnB,YAAY,CAad;AAED,wBAAgB,8BAA8B,CAC1C,uBAAuB,EAAE,wBAAwB,GAClD,wBAAwB,CAAC,yBAAyB,CAAC,CAarD;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,OAAO,CAQpF;AAED,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,kBAAkB,qDAM9E;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAavE"}
1
+ {"version":3,"file":"headlineUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/headlineUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAEH,KAAK,aAAa,EAElB,KAAK,kBAAkB,EAEvB,KAAK,SAAS,EACd,KAAK,MAAM,EAOd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAGH,KAAK,YAAY,EAIpB,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,wBAAwB,EAChC,MAAM,mCAAmC,CAAC;AAW3C,wBAAgB,0BAA0B,IAAI,SAAS,CAItD;AAED,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,GAAG,SAAS,CAyC/F;AAED,wBAAgB,gCAAgC,CAC5C,uBAAuB,EAAE,wBAAwB,EACjD,QAAQ,EAAE,SAAS,GAAG,SAAS,EAC/B,OAAO,EAAE,SAAS,GACnB,YAAY,CAad;AAED,wBAAgB,8BAA8B,CAC1C,uBAAuB,EAAE,wBAAwB,GAClD,wBAAwB,CAAC,yBAAyB,CAAC,CAarD;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,OAAO,CAQpF;AAED,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,kBAAkB,qDAM9E;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAavE"}
@@ -1,9 +1,9 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
3
2
  import { bucketMeasure, bucketMeasures, insightBucket, isPoPMeasure, isPreviousPeriodMeasure, } from "@gooddata/sdk-model";
4
3
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
5
4
  import { CalculateAs, ComparisonColorType, getComparisonRgbColor, updateConfigWithSettings, } from "@gooddata/sdk-ui-charts";
6
5
  import { parseRGBString } from "@gooddata/sdk-ui-vis-commons";
6
+ import { _cloneDeep, _set } from "@gooddata/util";
7
7
  import { messages } from "../../../locales.js";
8
8
  import { BUCKETS } from "../../constants/bucket.js";
9
9
  import { HEADLINE_DEFAULT_CONTROL_PROPERTIES } from "../../constants/supportedProperties.js";
@@ -17,8 +17,8 @@ import { getTranslation } from "../translations.js";
17
17
  const headlineMeasuresIcon = "local:headline/bucket-title-measures.svg";
18
18
  const headlineSecondaryMeasuresIcon = "local:headline/bucket-title-secondary-measures.svg";
19
19
  export function getDefaultHeadlineUiConfig() {
20
- const uiConfig = cloneDeep(DEFAULT_HEADLINE_UICONFIG);
21
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "itemsLimit"], 2);
20
+ const uiConfig = _cloneDeep(DEFAULT_HEADLINE_UICONFIG);
21
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "itemsLimit"], 2);
22
22
  return uiConfig;
23
23
  }
24
24
  export function getHeadlineUiConfig(referencePoint, intl) {
@@ -30,10 +30,10 @@ export function getHeadlineUiConfig(referencePoint, intl) {
30
30
  ...referencePoint,
31
31
  uiConfig,
32
32
  }, VisualizationTypes.HEADLINE, intl);
33
- set(uiConfig, [BUCKETS, BucketNames.MEASURES, "canAddItems"], viewCanAddPrimaryItems);
34
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], viewCanAddSecondaryItems);
35
- set(uiConfig, [BUCKETS, BucketNames.MEASURES, "icon"], headlineMeasuresIcon);
36
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], headlineSecondaryMeasuresIcon);
33
+ _set(uiConfig, [BUCKETS, BucketNames.MEASURES, "canAddItems"], viewCanAddPrimaryItems);
34
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], viewCanAddSecondaryItems);
35
+ _set(uiConfig, [BUCKETS, BucketNames.MEASURES, "icon"], headlineMeasuresIcon);
36
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], headlineSecondaryMeasuresIcon);
37
37
  const primaryMeasuresCount = getItemsCount(buckets, BucketNames.MEASURES);
38
38
  const secondaryMeasuresCount = getItemsCount(buckets, BucketNames.SECONDARY_MEASURES);
39
39
  if (primaryMeasuresCount === 0 && secondaryMeasuresCount !== 0) {
@@ -42,9 +42,9 @@ export function getHeadlineUiConfig(referencePoint, intl) {
42
42
  text: getTranslation(messages["text"].id, intl),
43
43
  };
44
44
  }
45
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], true);
46
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "itemsLimit"], noDerivedMeasurePresent(buckets) ? 2 : 1);
47
- set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "allowsReordering"], true);
45
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "canAddItems"], true);
46
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "itemsLimit"], noDerivedMeasurePresent(buckets) ? 2 : 1);
47
+ _set(uiConfig, [BUCKETS, BucketNames.SECONDARY_MEASURES, "allowsReordering"], true);
48
48
  return uiConfig;
49
49
  }
50
50
  export function buildHeadlineVisualizationConfig(visualizationProperties, settings, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"heatmapUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAUjF,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAUzB"}
1
+ {"version":3,"file":"heatmapUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAUjF,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAUzB"}
@@ -1,6 +1,6 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
3
+ import { _cloneDeep, _set } from "@gooddata/util";
4
4
  import { BUCKETS } from "../../constants/bucket.js";
5
5
  import { UICONFIG } from "../../constants/uiConfig.js";
6
6
  import { setBucketTitles } from "../bucketHelper.js";
@@ -11,10 +11,10 @@ const heatmapMeasuresIcon = "local:heatmap/bucket-title-measures.svg";
11
11
  const heatmapViewIcon = "local:heatmap/bucket-title-view.svg";
12
12
  const heatmapStackIcon = "local:heatmap/bucket-title-stack.svg";
13
13
  export function setHeatmapUiConfig(referencePoint, intl, visualizationType) {
14
- const referencePointConfigured = cloneDeep(referencePoint);
15
- set(referencePointConfigured, [UICONFIG], setBucketTitles(referencePoint, visualizationType, intl));
16
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], heatmapMeasuresIcon);
17
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], heatmapViewIcon);
18
- set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], heatmapStackIcon);
14
+ const referencePointConfigured = _cloneDeep(referencePoint);
15
+ _set(referencePointConfigured, [UICONFIG], setBucketTitles(referencePoint, visualizationType, intl));
16
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], heatmapMeasuresIcon);
17
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.VIEW, "icon"], heatmapViewIcon);
18
+ _set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.STACK, "icon"], heatmapStackIcon);
19
19
  return referencePointConfigured;
20
20
  }