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

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 (150) hide show
  1. package/NOTICE +172 -137
  2. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.d.ts.map +1 -1
  3. package/esm/internal/components/attributeHierarchies/attributeHierarchyDialog/utils.js +2 -2
  4. package/esm/internal/components/configurationControls/CheckboxControl.d.ts.map +1 -1
  5. package/esm/internal/components/configurationControls/CheckboxControl.js +3 -2
  6. package/esm/internal/components/configurationControls/ConfigSection.d.ts.map +1 -1
  7. package/esm/internal/components/configurationControls/ConfigSection.js +3 -2
  8. package/esm/internal/components/configurationControls/ConfigSubsection.d.ts.map +1 -1
  9. package/esm/internal/components/configurationControls/ConfigSubsection.js +3 -2
  10. package/esm/internal/components/configurationControls/ContinuousLineControl.d.ts.map +1 -1
  11. package/esm/internal/components/configurationControls/ContinuousLineControl.js +3 -2
  12. package/esm/internal/components/configurationControls/DistintcPointShapesControl.d.ts.map +1 -1
  13. package/esm/internal/components/configurationControls/DistintcPointShapesControl.js +3 -2
  14. package/esm/internal/components/configurationControls/DropdownControl.d.ts.map +1 -1
  15. package/esm/internal/components/configurationControls/DropdownControl.js +3 -2
  16. package/esm/internal/components/configurationControls/GeoViewportControl.d.ts.map +1 -1
  17. package/esm/internal/components/configurationControls/GeoViewportControl.js +3 -2
  18. package/esm/internal/components/configurationControls/InputControl.d.ts.map +1 -1
  19. package/esm/internal/components/configurationControls/InputControl.js +4 -3
  20. package/esm/internal/components/configurationControls/LineShapeControl.d.ts.map +1 -1
  21. package/esm/internal/components/configurationControls/LineShapeControl.js +3 -2
  22. package/esm/internal/components/configurationControls/PagingSection.d.ts.map +1 -1
  23. package/esm/internal/components/configurationControls/PagingSection.js +4 -3
  24. package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.d.ts.map +1 -1
  25. package/esm/internal/components/configurationControls/PivotTableTextWrappingControl.js +3 -3
  26. package/esm/internal/components/configurationControls/PushpinShapeControl.d.ts.map +1 -1
  27. package/esm/internal/components/configurationControls/PushpinShapeControl.js +4 -3
  28. package/esm/internal/components/configurationControls/advanced/AdvancedSection.d.ts.map +1 -1
  29. package/esm/internal/components/configurationControls/advanced/AdvancedSection.js +3 -2
  30. package/esm/internal/components/configurationControls/colors/ColorsSection.d.ts.map +1 -1
  31. package/esm/internal/components/configurationControls/colors/ColorsSection.js +3 -2
  32. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.d.ts.map +1 -1
  33. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorCheckbox.js +4 -3
  34. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.d.ts.map +1 -1
  35. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorItem.js +3 -2
  36. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.d.ts.map +1 -1
  37. package/esm/internal/components/configurationControls/comparison/indicators/colorsControl/ColorResetButton.js +4 -3
  38. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.d.ts.map +1 -1
  39. package/esm/internal/components/configurationControls/comparison/values/numberFormat/NumberFormatControl.js +3 -2
  40. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
  41. package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +3 -2
  42. package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.d.ts.map +1 -1
  43. package/esm/internal/components/configurationControls/customTooltip/CustomTooltipSection.js +3 -2
  44. package/esm/internal/components/configurationControls/total/TotalSection.d.ts.map +1 -1
  45. package/esm/internal/components/configurationControls/total/TotalSection.js +4 -3
  46. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.d.ts.map +1 -1
  47. package/esm/internal/components/pluggableVisualizations/AbstractPluggableVisualization.js +2 -3
  48. package/esm/internal/components/pluggableVisualizations/PluggableColumnBarCharts.js +3 -3
  49. package/esm/internal/components/pluggableVisualizations/areaChart/PluggableAreaChart.js +4 -4
  50. package/esm/internal/components/pluggableVisualizations/baseChart/PluggableBaseChart.js +5 -5
  51. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.d.ts.map +1 -1
  52. package/esm/internal/components/pluggableVisualizations/bubbleChart/PluggableBubbleChart.js +4 -3
  53. package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.d.ts.map +1 -1
  54. package/esm/internal/components/pluggableVisualizations/bulletChart/PluggableBulletChart.js +3 -3
  55. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChart.js +4 -4
  56. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.d.ts.map +1 -1
  57. package/esm/internal/components/pluggableVisualizations/comboChart/PluggableComboChartDeprecated.js +4 -3
  58. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.d.ts.map +1 -1
  59. package/esm/internal/components/pluggableVisualizations/geoAreaChart/PluggableGeoAreaChart.js +4 -3
  60. package/esm/internal/components/pluggableVisualizations/geoChart/PluggableGeoPushpinChart.js +4 -4
  61. package/esm/internal/components/pluggableVisualizations/geoChartNext/PluggableGeoPushpinChartNext.js +10 -10
  62. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.d.ts.map +1 -1
  63. package/esm/internal/components/pluggableVisualizations/geoCommon/geoPropertySanitization.js +4 -3
  64. package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.d.ts.map +1 -1
  65. package/esm/internal/components/pluggableVisualizations/headline/PluggableHeadline.js +2 -3
  66. package/esm/internal/components/pluggableVisualizations/headline/headlineBucketHelper.js +3 -3
  67. package/esm/internal/components/pluggableVisualizations/heatMap/PluggableHeatmap.js +4 -4
  68. package/esm/internal/components/pluggableVisualizations/lineChart/PluggableLineChart.js +4 -4
  69. package/esm/internal/components/pluggableVisualizations/mekko/PluggableMekko.js +4 -4
  70. package/esm/internal/components/pluggableVisualizations/pieChart/PluggablePieChart.js +6 -6
  71. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.d.ts.map +1 -1
  72. package/esm/internal/components/pluggableVisualizations/pivotTable/PluggablePivotTable.js +2 -3
  73. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.d.ts.map +1 -1
  74. package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.js +2 -4
  75. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.d.ts.map +1 -1
  76. package/esm/internal/components/pluggableVisualizations/radarChart/PluggableRadarChart.js +4 -3
  77. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.d.ts.map +1 -1
  78. package/esm/internal/components/pluggableVisualizations/repeater/PluggableRepeater.js +6 -5
  79. package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.d.ts.map +1 -1
  80. package/esm/internal/components/pluggableVisualizations/sankeyChart/PluggableSankeyChart.js +3 -4
  81. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.d.ts.map +1 -1
  82. package/esm/internal/components/pluggableVisualizations/scatterPlot/PluggableScatterPlot.js +4 -3
  83. package/esm/internal/components/pluggableVisualizations/treeMap/PluggableTreemap.js +3 -3
  84. package/esm/internal/components/pluggableVisualizations/waterfallChart/PluggableWaterfallChart.js +6 -6
  85. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.d.ts.map +1 -1
  86. package/esm/internal/components/pluggableVisualizations/xirr/PluggableXirr.js +2 -3
  87. package/esm/internal/utils/bucketConfig.js +4 -4
  88. package/esm/internal/utils/bucketHelper.js +7 -7
  89. package/esm/internal/utils/colors.js +7 -7
  90. package/esm/internal/utils/dimensions.d.ts.map +1 -1
  91. package/esm/internal/utils/dimensions.js +4 -4
  92. package/esm/internal/utils/embeddingCodeGenerator/getReactEmbeddingCodeGenerator.js +5 -5
  93. package/esm/internal/utils/propertiesHelper.js +6 -6
  94. package/esm/internal/utils/removeUseless.d.ts.map +1 -1
  95. package/esm/internal/utils/removeUseless.js +2 -3
  96. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.d.ts.map +1 -1
  97. package/esm/internal/utils/uiConfigHelpers/areaChartUiConfigHelper.js +3 -2
  98. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.d.ts.map +1 -1
  99. package/esm/internal/utils/uiConfigHelpers/baseChartUiConfigHelper.js +5 -4
  100. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.d.ts.map +1 -1
  101. package/esm/internal/utils/uiConfigHelpers/bubbleChartUiConfigHelper.js +4 -3
  102. package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.d.ts.map +1 -1
  103. package/esm/internal/utils/uiConfigHelpers/bulletChartUiConfigHelper.js +2 -2
  104. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.d.ts.map +1 -1
  105. package/esm/internal/utils/uiConfigHelpers/columnBarChartUiConfigHelper.js +4 -3
  106. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.d.ts.map +1 -1
  107. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelper.js +4 -3
  108. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.d.ts.map +1 -1
  109. package/esm/internal/utils/uiConfigHelpers/comboChartUiConfigHelperDeprecated.js +4 -3
  110. package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.d.ts.map +1 -1
  111. package/esm/internal/utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.js +4 -3
  112. package/esm/internal/utils/uiConfigHelpers/donutChartUiConfigHelper.d.ts.map +1 -1
  113. package/esm/internal/utils/uiConfigHelpers/donutChartUiConfigHelper.js +4 -3
  114. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.d.ts.map +1 -1
  115. package/esm/internal/utils/uiConfigHelpers/funnelChartUiConfigHelper.js +4 -3
  116. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.d.ts.map +1 -1
  117. package/esm/internal/utils/uiConfigHelpers/geoPushpinChartUiConfigHelper.js +3 -2
  118. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.d.ts.map +1 -1
  119. package/esm/internal/utils/uiConfigHelpers/headlineUiConfigHelper.js +3 -2
  120. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.d.ts.map +1 -1
  121. package/esm/internal/utils/uiConfigHelpers/heatmapUiConfigHelper.js +4 -3
  122. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.d.ts.map +1 -1
  123. package/esm/internal/utils/uiConfigHelpers/lineChartUiConfigHelper.js +4 -3
  124. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.d.ts.map +1 -1
  125. package/esm/internal/utils/uiConfigHelpers/mekkoUiConfigHelper.js +3 -2
  126. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.d.ts.map +1 -1
  127. package/esm/internal/utils/uiConfigHelpers/pieChartUiConfigHelper.js +5 -4
  128. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.d.ts.map +1 -1
  129. package/esm/internal/utils/uiConfigHelpers/pivotTableNextUiConfigHelper.js +3 -2
  130. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.d.ts.map +1 -1
  131. package/esm/internal/utils/uiConfigHelpers/pivotTableUiConfigHelper.js +3 -2
  132. package/esm/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.d.ts.map +1 -1
  133. package/esm/internal/utils/uiConfigHelpers/pyramidChartUiConfigHelper.js +4 -3
  134. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.d.ts.map +1 -1
  135. package/esm/internal/utils/uiConfigHelpers/radarChartUiConfigHelper.js +4 -3
  136. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.d.ts.map +1 -1
  137. package/esm/internal/utils/uiConfigHelpers/repeaterUiConfigHelper.js +7 -6
  138. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.d.ts.map +1 -1
  139. package/esm/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.js +6 -5
  140. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.d.ts.map +1 -1
  141. package/esm/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.js +4 -3
  142. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.d.ts.map +1 -1
  143. package/esm/internal/utils/uiConfigHelpers/treemapUiConfigHelper.js +4 -3
  144. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.d.ts.map +1 -1
  145. package/esm/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.js +4 -3
  146. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.d.ts.map +1 -1
  147. package/esm/internal/utils/uiConfigHelpers/xirrUiConfigHelper.js +4 -3
  148. package/esm/notificationsPanel/Notification/Notification.d.ts.map +1 -1
  149. package/esm/notificationsPanel/Notification/Notification.js +4 -4
  150. package/package.json +21 -21
@@ -1 +1 @@
1
- {"version":3,"file":"sankeyChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAwB,MAAM,mCAAmC,CAAC;AAkDvG,eAAO,MAAM,aAAa,2BAA4B,uBAAuB,KAAG,uBAoB/E,CAAC;AAEF,eAAO,MAAM,oBAAoB,2BACL,uBAAuB,QACzC,SAAS,qBACI,MAAM,KAC1B,uBAcF,CAAC"}
1
+ {"version":3,"file":"sankeyChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/sankeyChartUiConfigHelper.ts"],"names":[],"mappings":"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,6 +1,7 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
2
+ import { set } from "lodash-es";
3
3
  import { BucketNames } from "@gooddata/sdk-ui";
4
+ import { _cloneDeep } from "@gooddata/util";
4
5
  import { BUCKETS } from "../../constants/bucket.js";
5
6
  import { UICONFIG } from "../../constants/uiConfig.js";
6
7
  import { getAllAttributeItems, getAttributeFromItems, getAttributeToItems, getMeasureItems, limitNumberOfMeasuresInBuckets, setBucketTitles, } from "../bucketHelper.js";
@@ -11,7 +12,7 @@ const measureIcon = "local:sankey/bucket-title-measures.svg";
11
12
  const fromIcon = "local:sankey/bucket-title-from.svg";
12
13
  const toIcon = "local:sankey/bucket-title-to.svg";
13
14
  const getBucketItems = (extendedReferencePoint) => {
14
- const config = cloneDeep(extendedReferencePoint);
15
+ const config = _cloneDeep(extendedReferencePoint);
15
16
  const buckets = config?.buckets ?? [];
16
17
  const limitedBuckets = limitNumberOfMeasuresInBuckets(buckets, 1);
17
18
  const measures = getMeasureItems(limitedBuckets);
@@ -35,7 +36,7 @@ const getBucketItems = (extendedReferencePoint) => {
35
36
  };
36
37
  };
37
38
  export const configBuckets = (extendedReferencePoint) => {
38
- const config = cloneDeep(extendedReferencePoint);
39
+ const config = _cloneDeep(extendedReferencePoint);
39
40
  const { measures, attributeFroms, attributeTos } = getBucketItems(config);
40
41
  set(config, BUCKETS, [
41
42
  {
@@ -54,7 +55,7 @@ export const configBuckets = (extendedReferencePoint) => {
54
55
  return config;
55
56
  };
56
57
  export const configSankeyUiConfig = (extendedReferencePoint, intl, visualizationType) => {
57
- const referencePointConfigured = cloneDeep(extendedReferencePoint);
58
+ const referencePointConfigured = _cloneDeep(extendedReferencePoint);
58
59
  set(referencePointConfigured, [UICONFIG], setBucketTitles(referencePointConfigured, visualizationType, intl));
59
60
  set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], measureIcon);
60
61
  set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.ATTRIBUTE_FROM, "icon"], fromIcon);
@@ -1 +1 @@
1
- {"version":3,"file":"scatterPlotUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAM5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAWjF,wBAAgB,sBAAsB,CAClC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAiBzB"}
1
+ {"version":3,"file":"scatterPlotUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/scatterPlotUiConfigHelper.ts"],"names":[],"mappings":"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,6 +1,7 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
2
+ import { set } from "lodash-es";
3
3
  import { BucketNames } from "@gooddata/sdk-ui";
4
+ import { _cloneDeep } from "@gooddata/util";
4
5
  import { BUCKETS } from "../../constants/bucket.js";
5
6
  import { UICONFIG } from "../../constants/uiConfig.js";
6
7
  import { getBucketItems, setBucketTitles } from "../bucketHelper.js";
@@ -12,7 +13,7 @@ const scatterMeasuresYIcon = "local:scatter/bucket-title-measures-y.svg";
12
13
  const scatterViewIcon = "local:scatter/bucket-title-view.svg";
13
14
  const scatterSegmentIcon = "local:scatter/bucket-title-segment.svg";
14
15
  export function setScatterPlotUiConfig(referencePoint, intl, visualizationType) {
15
- let referencePointConfigured = cloneDeep(referencePoint);
16
+ let referencePointConfigured = _cloneDeep(referencePoint);
16
17
  set(referencePointConfigured, UICONFIG, setBucketTitles(referencePoint, visualizationType, intl));
17
18
  set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.MEASURES, "icon"], scatterMeasuresXIcon);
18
19
  set(referencePointConfigured, [UICONFIG, BUCKETS, BucketNames.SECONDARY_MEASURES, "icon"], scatterMeasuresYIcon);
@@ -1 +1 @@
1
- {"version":3,"file":"treemapUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/treemapUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAuDjF,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CAsBzB"}
1
+ {"version":3,"file":"treemapUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/treemapUiConfigHelper.ts"],"names":[],"mappings":"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,6 +1,7 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
2
+ import { set } from "lodash-es";
3
3
  import { BucketNames } from "@gooddata/sdk-ui";
4
+ import { _cloneDeep } from "@gooddata/util";
4
5
  import { messages } from "../../../locales.js";
5
6
  import { ATTRIBUTE, BUCKETS, DATE } from "../../constants/bucket.js";
6
7
  import { UICONFIG } from "../../constants/uiConfig.js";
@@ -16,7 +17,7 @@ const treemapViewIcon = "local:treemap/bucket-title-view.svg";
16
17
  const treemapSegmentIcon = "local:treemap/bucket-title-segment.svg";
17
18
  function setTreemapBucketWarningMessages(referencePoint, intl) {
18
19
  const buckets = referencePoint?.buckets || [];
19
- const updatedUiConfig = cloneDeep(referencePoint?.uiConfig);
20
+ const updatedUiConfig = _cloneDeep(referencePoint?.uiConfig);
20
21
  const viewItems = getViewItems(buckets, [ATTRIBUTE, DATE]);
21
22
  if (!updatedUiConfig) {
22
23
  return updatedUiConfig;
@@ -47,7 +48,7 @@ function setTreemapBucketWarningMessages(referencePoint, intl) {
47
48
  return updatedUiConfig;
48
49
  }
49
50
  export function setTreemapUiConfig(referencePoint, intl, visualizationType) {
50
- const referencePointConfigured = cloneDeep(referencePoint);
51
+ const referencePointConfigured = _cloneDeep(referencePoint);
51
52
  const buckets = referencePointConfigured?.buckets ?? [];
52
53
  const measuresCanAddItems = !hasOneCategory(buckets) || hasNoMeasures(buckets);
53
54
  const viewCanAddItems = !hasMoreThanOneMasterMeasure(buckets, BucketNames.MEASURES);
@@ -1 +1 @@
1
- {"version":3,"file":"waterfallChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAO5C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAsCjF,wBAAgB,yBAAyB,CACrC,cAAc,EAAE,uBAAuB,EACvC,IAAI,EAAE,SAAS,EACf,iBAAiB,EAAE,MAAM,GAC1B,uBAAuB,CA6BzB;AAED,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM,WAM/D;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,UAE7E"}
1
+ {"version":3,"file":"waterfallChartUiConfigHelper.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/uiConfigHelpers/waterfallChartUiConfigHelper.ts"],"names":[],"mappings":"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,6 +1,7 @@
1
1
  // (C) 2023-2026 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
2
+ import { set } from "lodash-es";
3
3
  import { BucketNames } from "@gooddata/sdk-ui";
4
+ import { _cloneDeep } from "@gooddata/util";
4
5
  import { messages } from "../../../locales.js";
5
6
  import { BUCKETS } from "../../constants/bucket.js";
6
7
  import { OPEN_AS_REPORT, SUPPORTED, UICONFIG } from "../../constants/uiConfig.js";
@@ -15,7 +16,7 @@ const waterfallMeasuresIcon = "local:waterfall/bucket-title-measures.svg";
15
16
  const waterfallViewIcon = "local:waterfall/bucket-title-view.svg";
16
17
  function setWaterfallChartBucketWarningMessages(referencePoint, intl) {
17
18
  const buckets = referencePoint?.buckets;
18
- const updatedUiConfig = cloneDeep(referencePoint?.uiConfig);
19
+ const updatedUiConfig = _cloneDeep(referencePoint?.uiConfig);
19
20
  if (!updatedUiConfig) {
20
21
  return updatedUiConfig;
21
22
  }
@@ -34,7 +35,7 @@ function setWaterfallChartBucketWarningMessages(referencePoint, intl) {
34
35
  return updatedUiConfig;
35
36
  }
36
37
  export function setWaterfallChartUiConfig(referencePoint, intl, visualizationType) {
37
- const referencePointConfigured = cloneDeep(referencePoint);
38
+ const referencePointConfigured = _cloneDeep(referencePoint);
38
39
  const buckets = referencePointConfigured?.buckets ?? [];
39
40
  const measuresCanAddItems = !hasMoreThanOneCategory(buckets);
40
41
  const viewCanAddItems = !hasMoreThanOneMasterMeasure(buckets, BucketNames.MEASURES);
@@ -1 +1 @@
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;AAM5C,OAAO,EAAqB,KAAK,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAI5G,eAAO,MAAM,sBAAsB,QAAO,SAA6C,CAAC;AAmBxF,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":"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,11 +1,12 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { cloneDeep, set } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
2
+ import { set } from "lodash-es";
3
3
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
4
+ import { _cloneDeep } from "@gooddata/util";
4
5
  import { BUCKETS } from "../../constants/bucket.js";
5
6
  import { DEFAULT_XIRR_UICONFIG } from "../../constants/uiConfig.js";
6
7
  import { getItemsCount, setBucketTitles } from "../bucketHelper.js";
7
8
  import { hasNoAttribute, hasNoMeasures } from "../bucketRules.js";
8
- export const getDefaultXirrUiConfig = () => cloneDeep(DEFAULT_XIRR_UICONFIG);
9
+ export const getDefaultXirrUiConfig = () => _cloneDeep(DEFAULT_XIRR_UICONFIG);
9
10
  function getCustomError({ buckets }, formatMessage) {
10
11
  const measuresCount = getItemsCount(buckets, BucketNames.MEASURES);
11
12
  const attributeCount = getItemsCount(buckets, BucketNames.ATTRIBUTE);
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/Notification/Notification.tsx"],"names":[],"mappings":"AAOA,OAAO,EAEH,KAAK,kBAAkB,EAGvB,KAAK,qBAAqB,EAC7B,MAAM,qBAAqB,CAAC;AAoB7B;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,YAAY,EAAE,kBAAkB,GAAG,qBAAqB,CAAC;IACzD,sBAAsB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,kBAAkB,GAAG,qBAAqB,KAAK,IAAI,CAAC;IACzF,uBAAuB,EAAE,MAAM,IAAI,CAAC;CACvC;AA4BD;;GAEG;AACH,wBAAgB,YAAY,CAAC,EACzB,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,GAC1B,EAAE,mBAAmB,2CA+HrB"}
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/notificationsPanel/Notification/Notification.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,kBAAkB,EAGvB,KAAK,qBAAqB,EAC7B,MAAM,qBAAqB,CAAC;AAqB7B;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,YAAY,EAAE,kBAAkB,GAAG,qBAAqB,CAAC;IACzD,sBAAsB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,kBAAkB,GAAG,qBAAqB,KAAK,IAAI,CAAC;IACzF,uBAAuB,EAAE,MAAM,IAAI,CAAC;CACvC;AA4BD;;GAEG;AACH,wBAAgB,YAAY,CAAC,EACzB,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,GAC1B,EAAE,mBAAmB,2CA+HrB"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2024-2026 GoodData Corporation
3
3
  import { Fragment, useCallback } from "react";
4
- import { compact } from "lodash-es";
5
4
  import { FormattedDate, FormattedMessage, FormattedTime, defineMessages, useIntl } from "react-intl";
6
5
  import { Bubble, BubbleHoverTrigger, UiButton, UiIcon, UiIconButton, getDateTimeConfig, isActionKey, useToastMessage, } from "@gooddata/sdk-ui-kit";
6
+ import { _compact } from "@gooddata/util";
7
7
  import { bem } from "../bem.js";
8
8
  import { Popup } from "../components/Popup.js";
9
9
  import { Tooltip } from "../components/Tooltip.js";
@@ -16,7 +16,7 @@ function handleScheduleNotificationClick(exports, isExpired, addWarning) {
16
16
  addWarning(messages.notificationExpired);
17
17
  return;
18
18
  }
19
- const downloadableExports = compact(exports.map(mapToDownloadableFile));
19
+ const downloadableExports = _compact(exports.map(mapToDownloadableFile));
20
20
  if (downloadableExports.length > 0) {
21
21
  void downloadFiles(downloadableExports);
22
22
  }
@@ -41,7 +41,7 @@ export function Notification({ notification, markNotificationAsRead, onNotificat
41
41
  const isScheduleNotification = notification.notificationType === "scheduleNotification";
42
42
  const isSliced = isAlertNotification && !!notification.details.data.alert.attribute;
43
43
  const hasTriggers = isAlertNotification && !!notification.details.data.alert.totalValueCount;
44
- const exports = compact([
44
+ const exports = _compact([
45
45
  notification.details.data.visualExports,
46
46
  notification.details.data.tabularExports,
47
47
  notification.details.data.imageExports,
@@ -53,7 +53,7 @@ export function Notification({ notification, markNotificationAsRead, onNotificat
53
53
  const fileExpiresAt = exports?.[0]?.expiresAt ?? null;
54
54
  const isExpired = fileExpiresAt != null && new Date(fileExpiresAt) < new Date();
55
55
  const { isError, errorTitle, errorMessage, traceId } = getNotificationErrorInfo(notification, exports);
56
- const actions = compact([
56
+ const actions = _compact([
57
57
  hasFiltersOrParameters && isAlertNotification && _jsx(NotificationFiltersDetail, { items: filterItems }),
58
58
  hasTriggers && isSliced && _jsx(NotificationTriggerDetail, { notification: notification }),
59
59
  hasExports && _jsx(FileLink, { notification: notification }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-ext",
3
- "version": "11.68.0-alpha.6",
3
+ "version": "11.68.0-alpha.8",
4
4
  "description": "GoodData.UI SDK - Extensions",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -63,20 +63,20 @@
63
63
  "ts-invariant": "0.10.3",
64
64
  "tslib": "2.8.1",
65
65
  "uuid": "11.1.1",
66
- "@gooddata/sdk-backend-base": "11.68.0-alpha.6",
67
- "@gooddata/sdk-backend-spi": "11.68.0-alpha.6",
68
- "@gooddata/sdk-embedding": "11.68.0-alpha.6",
69
- "@gooddata/sdk-ui-charts": "11.68.0-alpha.6",
70
- "@gooddata/sdk-model": "11.68.0-alpha.6",
71
- "@gooddata/sdk-ui": "11.68.0-alpha.6",
72
- "@gooddata/sdk-ui-geo": "11.68.0-alpha.6",
73
- "@gooddata/sdk-ui-filters": "11.68.0-alpha.6",
74
- "@gooddata/sdk-ui-semantic-search": "11.68.0-alpha.6",
75
- "@gooddata/sdk-ui-kit": "11.68.0-alpha.6",
76
- "@gooddata/sdk-ui-pivot": "11.68.0-alpha.6",
77
- "@gooddata/util": "11.68.0-alpha.6",
78
- "@gooddata/sdk-ui-vis-commons": "11.68.0-alpha.6",
79
- "@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.6"
66
+ "@gooddata/sdk-backend-base": "11.68.0-alpha.8",
67
+ "@gooddata/sdk-backend-spi": "11.68.0-alpha.8",
68
+ "@gooddata/sdk-embedding": "11.68.0-alpha.8",
69
+ "@gooddata/sdk-model": "11.68.0-alpha.8",
70
+ "@gooddata/sdk-ui-charts": "11.68.0-alpha.8",
71
+ "@gooddata/sdk-ui": "11.68.0-alpha.8",
72
+ "@gooddata/sdk-ui-filters": "11.68.0-alpha.8",
73
+ "@gooddata/sdk-ui-geo": "11.68.0-alpha.8",
74
+ "@gooddata/sdk-ui-kit": "11.68.0-alpha.8",
75
+ "@gooddata/sdk-ui-semantic-search": "11.68.0-alpha.8",
76
+ "@gooddata/sdk-ui-pivot": "11.68.0-alpha.8",
77
+ "@gooddata/sdk-ui-vis-commons": "11.68.0-alpha.8",
78
+ "@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.8",
79
+ "@gooddata/util": "11.68.0-alpha.8"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@microsoft/api-documenter": "7.30.20",
@@ -120,12 +120,12 @@
120
120
  "svgo": "2.8.4",
121
121
  "typescript": "7.0.2",
122
122
  "vitest": "5.0.4",
123
- "@gooddata/oxlint-config": "11.68.0-alpha.6",
124
- "@gooddata/i18n-toolkit": "11.68.0-alpha.6",
125
- "@gooddata/eslint-config": "11.68.0-alpha.6",
126
- "@gooddata/reference-workspace": "11.68.0-alpha.6",
127
- "@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.6",
128
- "@gooddata/stylelint-config": "11.68.0-alpha.6"
123
+ "@gooddata/eslint-config": "11.68.0-alpha.8",
124
+ "@gooddata/i18n-toolkit": "11.68.0-alpha.8",
125
+ "@gooddata/reference-workspace": "11.68.0-alpha.8",
126
+ "@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.8",
127
+ "@gooddata/stylelint-config": "11.68.0-alpha.8",
128
+ "@gooddata/oxlint-config": "11.68.0-alpha.8"
129
129
  },
130
130
  "peerDependencies": {
131
131
  "react": "^18.0.0 || ^19.0.0",