@gooddata/sdk-ui-geo 11.68.0-alpha.1 → 11.68.0-alpha.11

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 (30) hide show
  1. package/NOTICE +5938 -63188
  2. package/esm/GeoPushpinChart.d.ts.map +1 -1
  3. package/esm/GeoPushpinChart.js +6 -3
  4. package/esm/core/geoChart/GeoChartRenderer.d.ts.map +1 -1
  5. package/esm/core/geoChart/GeoChartRenderer.js +2 -2
  6. package/esm/core/geoChart/GeoValidatorHOC.d.ts.map +1 -1
  7. package/esm/core/geoChart/GeoValidatorHOC.js +3 -3
  8. package/esm/core/geoChart/colorStrategy/geoChart.d.ts.map +1 -1
  9. package/esm/core/geoChart/colorStrategy/geoChart.js +3 -3
  10. package/esm/core/geoChart/geoChartColor.d.ts.map +1 -1
  11. package/esm/core/geoChart/geoChartColor.js +3 -3
  12. package/esm/core/geoChart/geoChartTooltip.d.ts.map +1 -1
  13. package/esm/core/geoChart/geoChartTooltip.js +3 -2
  14. package/esm/core/geoChart/helpers/geoChart/colors.d.ts.map +1 -1
  15. package/esm/core/geoChart/helpers/geoChart/colors.js +3 -3
  16. package/esm/core/geoChart/helpers/geoChart/common.d.ts.map +1 -1
  17. package/esm/core/geoChart/helpers/geoChart/common.js +3 -3
  18. package/esm/core/geoChart/helpers/geoChart/drilling.d.ts.map +1 -1
  19. package/esm/core/geoChart/helpers/geoChart/drilling.js +3 -2
  20. package/esm/next/layers/area/coloring/colorStrategy.d.ts.map +1 -1
  21. package/esm/next/layers/area/coloring/colorStrategy.js +3 -3
  22. package/esm/next/layers/execution/layerInsightFactory.d.ts.map +1 -1
  23. package/esm/next/layers/execution/layerInsightFactory.js +2 -2
  24. package/esm/next/layers/pushpin/coloring/colorStrategy.d.ts.map +1 -1
  25. package/esm/next/layers/pushpin/coloring/colorStrategy.js +2 -2
  26. package/esm/next/layers/pushpin/coloring/palette.d.ts.map +1 -1
  27. package/esm/next/layers/pushpin/coloring/palette.js +4 -4
  28. package/esm/next/layers/pushpin/tooltip/tooltipManagement.d.ts.map +1 -1
  29. package/esm/next/layers/pushpin/tooltip/tooltipManagement.js +3 -2
  30. package/package.json +12 -11
@@ -1 +1 @@
1
- {"version":3,"file":"GeoPushpinChart.d.ts","sourceRoot":"","sources":["../src/GeoPushpinChart.tsx"],"names":[],"mappings":"AAMA,OAAO,EAIH,KAAK,UAAU,EACf,KAAK,oBAAoB,EAS5B,MAAM,qBAAqB,CAAC;AAY7B,OAAO,EAEH,KAAK,4CAA4C,EACjD,KAAK,2BAA2B,EAEnC,MAAM,eAAe,CAAC;AAyBvB;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,oBAAoB,GAAG,UAAU,EAAE,CAM7E;AA4FD;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,KAAK,EAAE,2BAA2B,GAAG,4CAA4C,2CAMpF"}
1
+ {"version":3,"file":"GeoPushpinChart.d.ts","sourceRoot":"","sources":["../src/GeoPushpinChart.tsx"],"names":[],"mappings":"AAIA,OAAO,EAIH,KAAK,UAAU,EACf,KAAK,oBAAoB,EAS5B,MAAM,qBAAqB,CAAC;AAa7B,OAAO,EAEH,KAAK,4CAA4C,EACjD,KAAK,2BAA2B,EAEnC,MAAM,eAAe,CAAC;AAyBvB;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,oBAAoB,GAAG,UAAU,EAAE,CAS7E;AA4FD;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,KAAK,EAAE,2BAA2B,GAAG,4CAA4C,2CAMpF"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { compact, omit } from "lodash-es";
3
2
  import { MeasureGroupIdentifier, bucketsAttributes, bucketsMeasures, disableComputeRatio, newBucket, newDimension, } from "@gooddata/sdk-model";
4
3
  import { BucketNames, IntlTranslationsProvider, IntlWrapper, useResolveValuesWithPlaceholders, withContexts, } from "@gooddata/sdk-ui";
5
4
  import { useTheme } from "@gooddata/sdk-ui-theme-provider";
5
+ import { _compact, _omit } from "@gooddata/util";
6
6
  import { CoreGeoChart } from "./core/CoreGeoChart.js";
7
7
  import { isGeoPushpinChartProps, } from "./GeoChart.js";
8
8
  const getBuckets = (props) => {
@@ -34,7 +34,10 @@ export function getGeoChartDimensions(def) {
34
34
  const buckets = def.buckets;
35
35
  const measures = bucketsMeasures(buckets);
36
36
  const attributes = bucketsAttributes(buckets);
37
- return compact([measures.length > 0 && newDimension([MeasureGroupIdentifier]), newDimension(attributes)]);
37
+ return _compact([
38
+ measures.length > 0 && newDimension([MeasureGroupIdentifier]),
39
+ newDimension(attributes),
40
+ ]);
38
41
  }
39
42
  /**
40
43
  * Specifies props that are on geo chart props but not on core chart props - these must not be passed
@@ -59,7 +62,7 @@ function GeoPushpinChartInner(props) {
59
62
  const { backend, workspace, sortBy, filters, exportTitle, execConfig = {} } = props;
60
63
  const theme = useTheme();
61
64
  const buckets = getBuckets(props);
62
- const newProps = omit(props, getNonCoreProps(props));
65
+ const newProps = _omit(props, getNonCoreProps(props));
63
66
  const execution = backend
64
67
  .withTelemetry("GeoPushpinChart", props)
65
68
  .workspace(workspace)
@@ -1 +1 @@
1
- {"version":3,"file":"GeoChartRenderer.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/GeoChartRenderer.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAGH,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,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S,CAAC;IAChB,MAAM,EAAE,UAAU,CAAC;IACnB,cAAc,EAAE,gBAAgB,EAAE,CAAC;IACnC,WAAW,EAAE,YAAY,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,QAAQ,CAAC;IAClB,aAAa,EAAE,cAAc,CAAC;IAC9B,WAAW,IAAI,IAAI,CAAC;IACpB,uBAAuB,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAClD,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAC7B,MAA4B,EAC5B,cAAc,EACd,WAAW,EACX,QAAQ,EACR,OAAO,EACP,aAAa,EACb,WAAsB,EACtB,uBAAkC,EAClC,aAAwB,EACxB,OAAO,EACP,IAAI,GACP,EAAE,sBAAsB,2CA0jBxB"}
@@ -2,10 +2,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2007-2026 GoodData Corporation
3
3
  import { useCallback, useEffect, useRef } from "react";
4
4
  import cx from "classnames";
5
- import { isEqual } from "lodash-es";
6
5
  import mapboxgl from "mapbox-gl";
7
6
  import { invariant } from "ts-invariant";
8
7
  import { DataViewFacade, GeoTokenMissingSdkError, } from "@gooddata/sdk-ui";
8
+ import { _isEqual } from "@gooddata/util";
9
9
  import { DEFAULT_CLUSTER_LABELS_CONFIG, DEFAULT_CLUSTER_LAYER_NAME, DEFAULT_DATA_SOURCE_NAME, DEFAULT_LAYER_NAME, DEFAULT_MAPBOX_OPTIONS, DEFAULT_TOOLTIP_OPTIONS, INTERACTION_EVENTS, LAYER_STYLE_LABEL_PREFIX, ZOOM_CONTROLS_HEIGHT, } from "./constants/geoChart.js";
10
10
  import { createClusterLabels, createClusterPoints, createPushpinDataLayer, createPushpinFilter, createUnclusterPoints, } from "./geoChartDataLayers.js";
11
11
  import { createPushpinDataSource } from "./geoChartDataSource.js";
@@ -415,7 +415,7 @@ export function GeoChartRenderer({ config = { mapboxToken: "" }, drillableItems,
415
415
  return;
416
416
  }
417
417
  const isColorChanged = isColorAssignmentItemChanged(prevColorStrategy.getColorAssignment(), colorStrategy.getColorAssignment());
418
- const selectedSegmentItemsChanged = selectedSegmentItems && !isEqual(selectedSegmentItems, prevSelectedSegmentItems);
418
+ const selectedSegmentItemsChanged = selectedSegmentItems && !_isEqual(selectedSegmentItems, prevSelectedSegmentItems);
419
419
  if (!isColorChanged && selectedSegmentItemsChanged) {
420
420
  setFilterMap();
421
421
  prevPropsRef.current = {
@@ -1 +1 @@
1
- {"version":3,"file":"GeoValidatorHOC.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/GeoValidatorHOC.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,aAAa,EAMrB,MAAM,OAAO,CAAC;AAqBf,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAG9D,KAAK,kBAAkB,GAAG,mBAAmB,CAAC;AAyC9C,wBAAgB,eAAe,CAAC,CAAC,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG,kBAAkB,CAAC,CA4F3G"}
1
+ {"version":3,"file":"GeoValidatorHOC.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/GeoValidatorHOC.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,aAAa,EAMrB,MAAM,OAAO,CAAC;AAoBf,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAG9D,KAAK,kBAAkB,GAAG,mBAAmB,CAAC;AAyC9C,wBAAgB,eAAe,CAAC,CAAC,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG,kBAAkB,CAAC,CA4F3G"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2020-2026 GoodData Corporation
3
3
  import { memo, useCallback, useEffect, useRef, useState, } from "react";
4
- import { isEqual } from "lodash-es";
5
4
  import { ErrorComponent as DefaultErrorComponent, ErrorCodes, GeoLocationMissingSdkError, GeoTokenMissingSdkError, IntlWrapper, isGeoTokenMissing, newErrorMapping, } from "@gooddata/sdk-ui";
5
+ import { _isEqual } from "@gooddata/util";
6
6
  import { isLocationSet } from "./helpers/geoChart/common.js";
7
7
  // Helper functions moved outside the component
8
8
  const isSameConfig = (config, nextConfig) => {
@@ -16,7 +16,7 @@ const isSameConfig = (config, nextConfig) => {
16
16
  ...nextConfig,
17
17
  colorMapping: nextColorMapping,
18
18
  };
19
- return isEqual(configProps, nextConfigProps);
19
+ return _isEqual(configProps, nextConfigProps);
20
20
  };
21
21
  const isSameData = (execution, nextExecution) => {
22
22
  if (!execution || !nextExecution) {
@@ -86,7 +86,7 @@ export function geoValidatorHOC(InnerComponent) {
86
86
  // check if buckets, filters and config are changed
87
87
  const isSameConfigResult = isSameConfig(config, nextConfig);
88
88
  const isSameDataSource = isSameData(execution, nextExecution);
89
- const isSameDrillableItems = isEqual(drillableItems, nextDrillableItems);
89
+ const isSameDrillableItems = _isEqual(drillableItems, nextDrillableItems);
90
90
  // Return true if props are equal (should NOT re-render)
91
91
  // This is the opposite of shouldComponentUpdate
92
92
  return isSameConfigResult && isSameDataSource && isSameDrillableItems;
@@ -1 +1 @@
1
- {"version":3,"file":"geoChart.d.ts","sourceRoot":"","sources":["../../../../src/core/geoChart/colorStrategy/geoChart.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0C,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAGH,KAAK,aAAa,EAClB,KAAK,cAAc,EAItB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAqErD,wBAAgB,gBAAgB,CAC5B,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,EAC7B,OAAO,EAAE,QAAQ,EACjB,EAAE,EAAE,cAAc,GACnB,cAAc,CAgBhB"}
1
+ {"version":3,"file":"geoChart.d.ts","sourceRoot":"","sources":["../../../../src/core/geoChart/colorStrategy/geoChart.ts"],"names":[],"mappings":"AAEA,OAAO,EAA0C,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAGH,KAAK,aAAa,EAClB,KAAK,cAAc,EAItB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAqErD,wBAAgB,gBAAgB,CAC5B,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,EAC7B,OAAO,EAAE,QAAQ,EACjB,EAAE,EAAE,cAAc,GACnB,cAAc,CAgBhB"}
@@ -1,6 +1,6 @@
1
- // (C) 2020-2025 GoodData Corporation
2
- import { omit } from "lodash-es";
1
+ // (C) 2020-2026 GoodData Corporation
3
2
  import { AttributeColorStrategy, ColorStrategy, getColorFromMapping, isValidMappedColor, } from "@gooddata/sdk-ui-vis-commons";
3
+ import { _omit } from "@gooddata/util";
4
4
  import { findGeoAttributesInDimension } from "../helpers/geoChart/data.js";
5
5
  class GeoChartColorStrategy extends ColorStrategy {
6
6
  createColorAssignment(colorPalette, colorMapping, locationAttribute, segmentByAttribute, dv) {
@@ -38,7 +38,7 @@ class GeoChartColorStrategy extends ColorStrategy {
38
38
  export function getColorStrategy(colorPalette, colorMapping, geoData, dv) {
39
39
  const { locationAttribute, segmentByAttribute } = findGeoAttributesInDimension(dv, geoData);
40
40
  const locationAttributeHeader = {
41
- attributeHeader: omit(locationAttribute, "items"),
41
+ attributeHeader: _omit(locationAttribute, "items"),
42
42
  };
43
43
  return new GeoChartColorStrategy(colorPalette, colorMapping, locationAttributeHeader, segmentByAttribute, dv);
44
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"geoChartColor.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/geoChartColor.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE1F,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAavD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAiB7F;AAED,KAAK,mBAAmB,GAAG;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAC;AAE5D,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,cAAc,GAAG,mBAAmB,CAqBzF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAC5B,WAAW,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,EACjC,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,YAAK,EACxC,aAAa,EAAE,cAAc,GAC9B,aAAa,EAAE,CAkDjB;AAED,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,GAAG,gBAAgB,EAAE,CA0BtG"}
1
+ {"version":3,"file":"geoChartColor.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/geoChartColor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAG1F,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAavD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAiB7F;AAED,KAAK,mBAAmB,GAAG;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAC;AAE5D,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,cAAc,GAAG,mBAAmB,CAqBzF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAC5B,WAAW,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,EACjC,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,YAAK,EACxC,aAAa,EAAE,cAAc,GAC9B,aAAa,EAAE,CAkDjB;AAED,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,GAAG,gBAAgB,EAAE,CA0BtG"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
- import { isEmpty, range } from "lodash-es";
3
2
  import { isAttributeDescriptor, isResultAttributeHeader } from "@gooddata/sdk-model";
3
+ import { _isEmpty, _range } from "@gooddata/util";
4
4
  import { DEFAULT_PUSHPIN_BORDER_COLOR_VALUE, DEFAULT_PUSHPIN_COLOR_OPACITY, DEFAULT_PUSHPIN_COLOR_SCALE, } from "./constants/geoChart.js";
5
5
  import { getColorPalette, rgbToRgba } from "./helpers/geoChart/colors.js";
6
6
  import { getMinMax } from "./helpers/geoChart/common.js";
@@ -96,7 +96,7 @@ export function getPushpinColors(colorValues, segmentValues = [], colorStrategy)
96
96
  });
97
97
  }
98
98
  export function generateLegendColorData(colorSeries, colorString) {
99
- if (isEmpty(colorSeries)) {
99
+ if (_isEmpty(colorSeries)) {
100
100
  return [];
101
101
  }
102
102
  const colorPalette = getColorPalette(colorString, DEFAULT_PUSHPIN_COLOR_OPACITY);
@@ -106,7 +106,7 @@ export function generateLegendColorData(colorSeries, colorString) {
106
106
  if (min === max) {
107
107
  return [];
108
108
  }
109
- return range(0, DEFAULT_PUSHPIN_COLOR_SCALE).map((index) => {
109
+ return _range(0, DEFAULT_PUSHPIN_COLOR_SCALE).map((index) => {
110
110
  const from = min + offset * index;
111
111
  const isLastItem = index === DEFAULT_PUSHPIN_COLOR_SCALE - 1;
112
112
  const to = isLastItem ? max : from + offset;
@@ -1 +1 @@
1
- {"version":3,"file":"geoChartTooltip.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/geoChartTooltip.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAE,KAAK,UAAU,EAAwB,MAAM,mBAAmB,CAAC;AAO1E,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAuCrC,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,OAAO,CAAC,iBAAiB,GAAG,SAAS,GAAG,OAAO,CAY/F;AAQD,wBAAgB,cAAc,CAC1B,aAAa,EAAE,OAAO,CAAC,iBAAiB,EACxC,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAChB,UAAU,CAAC,EAAE,WAAW,EACxB,cAAc,CAAC,EAAE,gBAAgB,EAAE,EACnC,IAAI,CAAC,EAAE,SAAS,GACjB,MAAM,CAiBR;AAkBD,eAAO,MAAM,uBAAuB,MAC7B,QAAQ,CAAC,SAAS,SACd,QAAQ,CAAC,GAAG,WACV,QAAQ,CAAC,KAAK,UACf,UAAU,mBACD,gBAAgB,EAAE,SAC5B,SAAS,KACjB,IAuCF,CAAC;AAEF,eAAO,MAAM,uBAAuB,OAC5B,QAAQ,CAAC,SAAS,SACf,QAAQ,CAAC,GAAG,WACV,QAAQ,CAAC,KAAK,UACf,UAAU,KACnB,IAMF,CAAC"}
1
+ {"version":3,"file":"geoChartTooltip.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/geoChartTooltip.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,OAAO,EAAE,KAAK,UAAU,EAAwB,MAAM,mBAAmB,CAAC;AAO1E,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAuCrC,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,OAAO,CAAC,iBAAiB,GAAG,SAAS,GAAG,OAAO,CAY/F;AAQD,wBAAgB,cAAc,CAC1B,aAAa,EAAE,OAAO,CAAC,iBAAiB,EACxC,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAChB,UAAU,CAAC,EAAE,WAAW,EACxB,cAAc,CAAC,EAAE,gBAAgB,EAAE,EACnC,IAAI,CAAC,EAAE,SAAS,GACjB,MAAM,CAiBR;AAkBD,eAAO,MAAM,uBAAuB,MAC7B,QAAQ,CAAC,SAAS,SACd,QAAQ,CAAC,GAAG,WACV,QAAQ,CAAC,KAAK,UACf,UAAU,mBACD,gBAAgB,EAAE,SAC5B,SAAS,KACjB,IAuCF,CAAC;AAEF,eAAO,MAAM,uBAAuB,OAC5B,QAAQ,CAAC,SAAS,SACf,QAAQ,CAAC,GAAG,WACV,QAAQ,CAAC,KAAK,UACf,UAAU,KACnB,IAMF,CAAC"}
@@ -1,5 +1,6 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
- import { escape, isEmpty } from "lodash-es";
2
+ import { escape } from "lodash-es";
3
+ import { _isEmpty } from "@gooddata/util";
3
4
  import { DEFAULT_PUSHPIN_COLOR_VALUE, NULL_TOOLTIP_VALUE } from "./constants/geoChart.js";
4
5
  import { parseGeoProperties } from "./helpers/geoChart/data.js";
5
6
  import { formatValueForTooltip, getTooltipContentWidth } from "./helpers/geoChart/format.js";
@@ -37,7 +38,7 @@ function isTooltipShownInFullScreen() {
37
38
  return document.documentElement.clientWidth <= TOOLTIP_FULLSCREEN_THRESHOLD;
38
39
  }
39
40
  export function shouldShowTooltip(geoProperties) {
40
- if (isEmpty(geoProperties)) {
41
+ if (_isEmpty(geoProperties)) {
41
42
  return false;
42
43
  }
43
44
  const { locationName, color, size, segment } = geoProperties;
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/colors.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAiD1D,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,EAAE,OAAO,GAAE,MAAU,GAAG,MAAM,EAAE,CAOjG;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,MAAU,GAAG,MAAM,CAGpE"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/colors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAkD1D,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,EAAE,OAAO,GAAE,MAAU,GAAG,MAAM,EAAE,CAOjG;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,MAAU,GAAG,MAAM,CAGpE"}
@@ -1,5 +1,5 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import { range } from "lodash-es";
1
+ // (C) 2019-2026 GoodData Corporation
2
+ import { _range } from "@gooddata/util";
3
3
  function formatColor(red, green, blue, opacity = 1) {
4
4
  if (opacity === 1) {
5
5
  return `rgb(${red},${green},${blue})`;
@@ -17,7 +17,7 @@ function getCalculatedChannel(channel, index, step) {
17
17
  return Math.trunc(channel + index * step);
18
18
  }
19
19
  function getCalculatedColors(count, channels, steps, opacity = 1) {
20
- return range(1, count).map((index) => formatColor(getCalculatedChannel(channels[0], index, steps[0]), getCalculatedChannel(channels[1], index, steps[1]), getCalculatedChannel(channels[2], index, steps[2]), opacity));
20
+ return _range(1, count).map((index) => formatColor(getCalculatedChannel(channels[0], index, steps[0]), getCalculatedChannel(channels[1], index, steps[1]), getCalculatedChannel(channels[2], index, steps[2]), opacity));
21
21
  }
22
22
  function getRGBColorCode(color) {
23
23
  if (typeof color === "string") {
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/common.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,aAAa,EAGrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAe,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAE3F,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAI/E,wBAAgB,0BAA0B,CAAC,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,GAAG,aAAa,EAAE,EAAE,CAOnG;AAED,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAOpG;AAID,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,CASzD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,GAAE,MAAM,EAAO,GAAG,MAAM,CAK9D;AAED,wBAAgB,8BAA8B,CAAC,EAAE,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAI/F;AAGD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAA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ED,wBAAgB,gBAAgB,CAAC,MAAM,GAAE,MAAM,EAAO,GAAG,MAAM,CAK9D;AAED,wBAAgB,8BAA8B,CAAC,EAAE,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAI/F;AAGD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,GAAE,OAAc,GAAG,OAAO,CAIjG;AAED,wBAAgB,qBAAqB,CACjC,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,EAC9C,YAAY,EAAE,gBAAgB,GAAG,SAAS,GAC3C,OAAO,CAET;AAED,UAAU,OAAO;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAkBjD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAWzD;AAED,wBAAgB,oBAAoB,CAChC,UAAU,EAAE,OAAO,GAAG,uBAAuB,EAC7C,eAAe,EAAE,OAAO,GACzB,OAAO,CAET;AAED,wBAAgB,4BAA4B,CACxC,mBAAmB,EAAE,gBAAgB,EAAE,EACvC,eAAe,EAAE,gBAAgB,EAAE,GACpC,OAAO,CAET"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
- import { isEqual } from "lodash-es";
3
2
  import { bucketIsEmpty, bucketsFind, } from "@gooddata/sdk-model";
4
3
  import { BucketNames } from "@gooddata/sdk-ui";
4
+ import { _isEqual } from "@gooddata/util";
5
5
  import { getResponsiveInfo } from "./responsive.js";
6
6
  export function getGeoAttributeHeaderItems(dv, geoData) {
7
7
  const { color, size } = geoData;
@@ -40,7 +40,7 @@ export function isClusteringAllowed(geoData, groupNearbyPoints = true) {
40
40
  return Boolean(groupNearbyPoints && location && !(color || segment || size));
41
41
  }
42
42
  export function isPointsConfigChanged(prevPointsConfig, pointsConfig) {
43
- return !isEqual(prevPointsConfig, pointsConfig);
43
+ return !_isEqual(prevPointsConfig, pointsConfig);
44
44
  }
45
45
  /**
46
46
  * Get min/max values in number array and ignore NaN values
@@ -75,5 +75,5 @@ export function isFluidLegendEnabled(responsive, showFluidLegend) {
75
75
  return getResponsiveInfo(responsive) === true && showFluidLegend;
76
76
  }
77
77
  export function isColorAssignmentItemChanged(prevColorAssignment, colorAssignment) {
78
- return !isEqual(prevColorAssignment, colorAssignment);
78
+ return !_isEqual(prevColorAssignment, colorAssignment);
79
79
  }
@@ -1 +1 @@
1
- {"version":3,"file":"drilling.d.ts","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/drilling.ts"],"names":[],"mappings":"AASA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,YAAY,EAGjB,KAAK,gBAAgB,EAIxB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,QAAQ,EAAuB,MAAM,yBAAyB,CAAC;AA4F7E,wBAAgB,0BAA0B,CACtC,cAAc,EAAE,gBAAgB,EAAE,EAClC,WAAW,EAAE,YAAY,EACzB,EAAE,EAAE,cAAc,EAClB,OAAO,EAAE,QAAQ,EACjB,aAAa,EAAE,OAAO,CAAC,iBAAiB,EACxC,cAAc,EAAE,MAAM,EAAE,EACxB,MAAM,EAAE,WAAW,EACnB,UAAU,CAAC,EAAE,UAAU,GACxB,IAAI,CAoDN"}
1
+ {"version":3,"file":"drilling.d.ts","sourceRoot":"","sources":["../../../../../src/core/geoChart/helpers/geoChart/drilling.ts"],"names":[],"mappings":"AASA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,YAAY,EAGjB,KAAK,gBAAgB,EAIxB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,KAAK,QAAQ,EAAuB,MAAM,yBAAyB,CAAC;AA4F7E,wBAAgB,0BAA0B,CACtC,cAAc,EAAE,gBAAgB,EAAE,EAClC,WAAW,EAAE,YAAY,EACzB,EAAE,EAAE,cAAc,EAClB,OAAO,EAAE,QAAQ,EACjB,aAAa,EAAE,OAAO,CAAC,iBAAiB,EACxC,cAAc,EAAE,MAAM,EAAE,EACxB,MAAM,EAAE,WAAW,EACnB,UAAU,CAAC,EAAE,UAAU,GACxB,IAAI,CAoDN"}
@@ -1,7 +1,8 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
- import { omit, without } from "lodash-es";
2
+ import { without } from "lodash-es";
3
3
  import { isResultAttributeHeader, } from "@gooddata/sdk-model";
4
4
  import { getDrillIntersection, isSomeHeaderPredicateMatched, } from "@gooddata/sdk-ui";
5
+ import { _omit } from "@gooddata/util";
5
6
  import { findGeoAttributesInDimension, parseGeoProperties } from "./data.js";
6
7
  function getDrillIntersectionForGeoChart(drillableItems, dv, geoData, locationIndex) {
7
8
  const measureGroupItems = dv.meta().measureDescriptors();
@@ -36,7 +37,7 @@ function getDrillIntersectionForGeoChart(drillableItems, dv, geoData, locationIn
36
37
  function getAttributeHeader(attribute, dataIndex) {
37
38
  if (attribute) {
38
39
  return {
39
- attributeHeader: { attributeHeader: omit(attribute, "items") },
40
+ attributeHeader: { attributeHeader: _omit(attribute, "items") },
40
41
  attributeHeaderItem: attribute.items[dataIndex],
41
42
  };
42
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"colorStrategy.d.ts","sourceRoot":"","sources":["../../../../../src/next/layers/area/coloring/colorStrategy.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0C,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAGH,KAAK,aAAa,EAClB,KAAK,cAAc,EAItB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AA4FnE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAChC,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,EAC7B,OAAO,EAAE,YAAY,EACrB,EAAE,EAAE,cAAc,GACnB,cAAc,CAWhB"}
1
+ {"version":3,"file":"colorStrategy.d.ts","sourceRoot":"","sources":["../../../../../src/next/layers/area/coloring/colorStrategy.ts"],"names":[],"mappings":"AAEA,OAAO,EAA0C,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAGH,KAAK,aAAa,EAClB,KAAK,cAAc,EAItB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AA4FnE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAChC,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,EAC7B,OAAO,EAAE,YAAY,EACrB,EAAE,EAAE,cAAc,GACnB,cAAc,CAWhB"}
@@ -1,6 +1,6 @@
1
- // (C) 2025 GoodData Corporation
2
- import { omit } from "lodash-es";
1
+ // (C) 2025-2026 GoodData Corporation
3
2
  import { AttributeColorStrategy, ColorStrategy, getColorFromMapping, isValidMappedColor, } from "@gooddata/sdk-ui-vis-commons";
3
+ import { _omit } from "@gooddata/util";
4
4
  import { findAreaAttributesInDimension } from "../data/transformation.js";
5
5
  /**
6
6
  * Color strategy for GeoAreaChart
@@ -76,7 +76,7 @@ class AreaColorStrategy extends ColorStrategy {
76
76
  export function getAreaColorStrategy(colorPalette, colorMapping, geoData, dv) {
77
77
  const { areaAttribute, segmentByAttribute } = findAreaAttributesInDimension(dv, geoData);
78
78
  const areaAttributeHeader = {
79
- attributeHeader: omit(areaAttribute, "items"),
79
+ attributeHeader: _omit(areaAttribute, "items"),
80
80
  };
81
81
  return new AreaColorStrategy(colorPalette, colorMapping, areaAttributeHeader, segmentByAttribute, dv);
82
82
  }
@@ -1 +1 @@
1
- {"version":3,"file":"layerInsightFactory.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/execution/layerInsightFactory.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,SAAS,EAEjB,MAAM,qBAAqB,CAAC;AAI7B;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IACvC,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;CACxB,GAAG,kBAAkB,CAUrB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,eAAe,EAAE,GAAG,OAAO,EAAE,CAE3E;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,CAAC,EAAE,eAAe,EAAE,GAAG,eAAe,EAAE,CAEpF;AAED;;;;;;;;;GASG;AACH,wBAAgB,iCAAiC,CAC7C,YAAY,CAAC,EAAE,eAAe,EAAE,EAChC,aAAa,CAAC,EAAE,eAAe,EAAE,GAClC,eAAe,EAAE,CAOnB"}
1
+ {"version":3,"file":"layerInsightFactory.d.ts","sourceRoot":"","sources":["../../../../src/next/layers/execution/layerInsightFactory.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,SAAS,EAEjB,MAAM,qBAAqB,CAAC;AAK7B;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IACvC,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;CACxB,GAAG,kBAAkB,CAUrB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,eAAe,EAAE,GAAG,OAAO,EAAE,CAE3E;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,CAAC,EAAE,eAAe,EAAE,GAAG,eAAe,EAAE,CAEpF;AAED;;;;;;;;;GASG;AACH,wBAAgB,iCAAiC,CAC7C,YAAY,CAAC,EAAE,eAAe,EAAE,EAChC,aAAa,CAAC,EAAE,eAAe,EAAE,GAClC,eAAe,EAAE,CAOnB"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { isEqual } from "lodash-es";
3
2
  import { newInsightDefinition, } from "@gooddata/sdk-model";
3
+ import { _isEqual } from "@gooddata/util";
4
4
  const GEO_LAYER_VIZ_URL = "local:geo.layer";
5
5
  /**
6
6
  * Creates a synthetic insight used to execute an individual geo layer.
@@ -45,5 +45,5 @@ export function sanitizeGlobalFilters(filters) {
45
45
  export function sanitizeDeduplicatedGlobalFilters(layerFilters, globalFilters) {
46
46
  const sanitizedLayerFilters = sanitizeLayerFilters(layerFilters);
47
47
  const sanitizedGlobalFilters = sanitizeGlobalFilters(globalFilters);
48
- return sanitizedGlobalFilters.filter((globalFilter) => !sanitizedLayerFilters.some((layerFilter) => isEqual(layerFilter, globalFilter)));
48
+ return sanitizedGlobalFilters.filter((globalFilter) => !sanitizedLayerFilters.some((layerFilter) => _isEqual(layerFilter, globalFilter)));
49
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"colorStrategy.d.ts","sourceRoot":"","sources":["../../../../../src/next/layers/pushpin/coloring/colorStrategy.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0C,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAGH,KAAK,aAAa,EAClB,KAAK,cAAc,EAItB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mCAAmC,CAAC;AA+FzE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CACnC,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,EAC7B,OAAO,EAAE,eAAe,EACxB,EAAE,EAAE,cAAc,GACnB,cAAc,CAehB"}
1
+ {"version":3,"file":"colorStrategy.d.ts","sourceRoot":"","sources":["../../../../../src/next/layers/pushpin/coloring/colorStrategy.ts"],"names":[],"mappings":"AAEA,OAAO,EAA0C,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAGH,KAAK,aAAa,EAClB,KAAK,cAAc,EAItB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mCAAmC,CAAC;AA+FzE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CACnC,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,EAC7B,OAAO,EAAE,eAAe,EACxB,EAAE,EAAE,cAAc,GACnB,cAAc,CAehB"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { omit } from "lodash-es";
3
2
  import { AttributeColorStrategy, ColorStrategy, getColorFromMapping, isValidMappedColor, } from "@gooddata/sdk-ui-vis-commons";
3
+ import { _omit } from "@gooddata/util";
4
4
  import { findPushpinAttributesInDimension, } from "../data/transformation.js";
5
5
  /**
6
6
  * Color strategy for GeoPushpinChart
@@ -76,7 +76,7 @@ class PushpinColorStrategy extends ColorStrategy {
76
76
  export function getPushpinColorStrategy(colorPalette, colorMapping, geoData, dv) {
77
77
  const { locationAttribute, segmentByAttribute } = findPushpinAttributesInDimension(dv, geoData);
78
78
  const locationAttributeHeader = {
79
- attributeHeader: omit(locationAttribute, "items"),
79
+ attributeHeader: _omit(locationAttribute, "items"),
80
80
  };
81
81
  return new PushpinColorStrategy(colorPalette, colorMapping, locationAttributeHeader, segmentByAttribute, dv);
82
82
  }
@@ -1 +1 @@
1
- {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../../../src/next/layers/pushpin/coloring/palette.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,cAAc,EAAkD,MAAM,qBAAqB,CAAC;AAC1G,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE1F,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAuEvE;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,EAAE,OAAO,SAAI,GAAG,MAAM,EAAE,CAOzF;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,SAAI,GAAG,MAAM,CAG5D;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAiB7F;AAED;;GAEG;AACH,KAAK,mBAAmB,GAAG;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAC;AAE5D;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,cAAc,GAAG,mBAAmB,CAwBzF;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,CAC5B,WAAW,EAAE,aAAa,CAAC,MAAM,GAAG,IAAI,CAAC,EACzC,aAAa,EAAE,MAAM,EAAE,YAAK,EAC5B,aAAa,EAAE,cAAc,GAC9B,aAAa,EAAE,CA8DjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MA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 2025-2026 GoodData Corporation
2
- import { isEmpty, range } from "lodash-es";
3
2
  import { isAttributeDescriptor, isResultAttributeHeader } from "@gooddata/sdk-model";
3
+ import { _isEmpty, _range } from "@gooddata/util";
4
4
  import { isFiniteNumber } from "../../../utils/guards.js";
5
5
  import { DEFAULT_PUSHPIN_BORDER_COLOR_VALUE, DEFAULT_PUSHPIN_COLOR_OPACITY, DEFAULT_PUSHPIN_COLOR_SCALE, } from "../constants.js";
6
6
  import { getMinMax } from "../size/calculations.js";
@@ -40,7 +40,7 @@ function getCalculatedChannel(channel, index, step) {
40
40
  * Generates an array of gradient colors
41
41
  */
42
42
  function getCalculatedColors(count, channels, steps, opacity = 1) {
43
- return range(1, count).map((index) => formatColor(getCalculatedChannel(channels[0], index, steps[0]), getCalculatedChannel(channels[1], index, steps[1]), getCalculatedChannel(channels[2], index, steps[2]), opacity));
43
+ return _range(1, count).map((index) => formatColor(getCalculatedChannel(channels[0], index, steps[0]), getCalculatedChannel(channels[1], index, steps[1]), getCalculatedChannel(channels[2], index, steps[2]), opacity));
44
44
  }
45
45
  /**
46
46
  * Converts color to RGB color code object
@@ -219,7 +219,7 @@ export function getPushpinColors(colorValues, segmentValues = [], colorStrategy)
219
219
  * @internal
220
220
  */
221
221
  export function generateLegendColorData(colorSeries, colorString) {
222
- if (isEmpty(colorSeries)) {
222
+ if (_isEmpty(colorSeries)) {
223
223
  return [];
224
224
  }
225
225
  const colorPalette = getColorPalette(colorString, DEFAULT_PUSHPIN_COLOR_OPACITY);
@@ -229,7 +229,7 @@ export function generateLegendColorData(colorSeries, colorString) {
229
229
  if (min === max) {
230
230
  return [];
231
231
  }
232
- return range(0, DEFAULT_PUSHPIN_COLOR_SCALE).map((index) => {
232
+ return _range(0, DEFAULT_PUSHPIN_COLOR_SCALE).map((index) => {
233
233
  const from = min + offset * index;
234
234
  const isLastItem = index === DEFAULT_PUSHPIN_COLOR_SCALE - 1;
235
235
  const to = isLastItem ? max : from + offset;
@@ -1 +1 @@
1
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AAa,CAAC,EAAE,qBAAqB,EACrC,aAAa,CAAC,EAAE,sBAAsB,GACvC,MAAM,CA4CR;AAcD;;;;;;;;;;;GAWG;AACH,wBAAgB,0BAA0B,CACtC,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,sBAAsB,EAC9B,cAAc,EAAE,gBAAgB,EAAE,GAAG,SAAS,EAC9C,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,MAAM,EAAE,EAClB,aAAa,CAAC,EAAE,qBAAqB,EACrC,aAAa,CAAC,EAAE,sBAAsB,GACvC,iBAAiB,CAuEnB"}
@@ -1,6 +1,7 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { escape, isEmpty } from "lodash-es";
2
+ import { escape } from "lodash-es";
3
3
  import { buildTooltipLocalizedStrings } from "@gooddata/sdk-ui-vis-commons";
4
+ import { _isEmpty } from "@gooddata/util";
4
5
  import { getTooltipContentWidth } from "../../../map/style/tooltipFormatting.js";
5
6
  import { isGeoJsonPoint, isLngLatTuple, isRecord, } from "../../../utils/guards.js";
6
7
  import { buildCustomTooltipPieces, composeTooltipBody } from "../../common/customTooltipSection.js";
@@ -63,7 +64,7 @@ function isTooltipShownInFullScreen() {
63
64
  * @internal
64
65
  */
65
66
  export function shouldShowTooltip(geoProperties) {
66
- if (isEmpty(geoProperties)) {
67
+ if (_isEmpty(geoProperties)) {
67
68
  return false;
68
69
  }
69
70
  const { locationName, color, size, segment, tooltipText, measures } = geoProperties ?? {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-geo",
3
- "version": "11.68.0-alpha.1",
3
+ "version": "11.68.0-alpha.11",
4
4
  "description": "GoodData.UI SDK - Geo Charts",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -45,12 +45,13 @@
45
45
  "ts-invariant": "0.10.3",
46
46
  "tslib": "2.8.1",
47
47
  "uuid": "11.1.1",
48
- "@gooddata/sdk-backend-spi": "11.68.0-alpha.1",
49
- "@gooddata/sdk-model": "11.68.0-alpha.1",
50
- "@gooddata/sdk-ui": "11.68.0-alpha.1",
51
- "@gooddata/sdk-ui-kit": "11.68.0-alpha.1",
52
- "@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.1",
53
- "@gooddata/sdk-ui-vis-commons": "11.68.0-alpha.1"
48
+ "@gooddata/sdk-backend-spi": "11.68.0-alpha.11",
49
+ "@gooddata/sdk-model": "11.68.0-alpha.11",
50
+ "@gooddata/sdk-ui": "11.68.0-alpha.11",
51
+ "@gooddata/sdk-ui-kit": "11.68.0-alpha.11",
52
+ "@gooddata/sdk-ui-theme-provider": "11.68.0-alpha.11",
53
+ "@gooddata/sdk-ui-vis-commons": "11.68.0-alpha.11",
54
+ "@gooddata/util": "11.68.0-alpha.11"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@microsoft/api-documenter": "7.30.20",
@@ -89,10 +90,10 @@
89
90
  "stylelint": "16.26.1",
90
91
  "typescript": "7.0.2",
91
92
  "vitest": "5.0.4",
92
- "@gooddata/eslint-config": "11.68.0-alpha.1",
93
- "@gooddata/stylelint-config": "11.68.0-alpha.1",
94
- "@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.1",
95
- "@gooddata/oxlint-config": "11.68.0-alpha.1"
93
+ "@gooddata/eslint-config": "11.68.0-alpha.11",
94
+ "@gooddata/oxlint-config": "11.68.0-alpha.11",
95
+ "@gooddata/sdk-backend-mockingbird": "11.68.0-alpha.11",
96
+ "@gooddata/stylelint-config": "11.68.0-alpha.11"
96
97
  },
97
98
  "peerDependencies": {
98
99
  "react": "^18.0.0 || ^19.0.0",