@gooddata/sdk-ui-geo 11.56.0-alpha.0 → 11.56.0-alpha.2
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.
- package/esm/core/CoreGeoChart.d.ts +4 -2
- package/esm/core/CoreGeoChart.d.ts.map +1 -1
- package/esm/core/MapboxTokenProvider.d.ts.map +1 -1
- package/esm/core/geoChart/GeoChartInner.d.ts +4 -2
- package/esm/core/geoChart/GeoChartInner.d.ts.map +1 -1
- package/esm/core/geoChart/GeoChartLegendRenderer.js +1 -3
- package/esm/core/geoChart/GeoChartRenderer.d.ts +4 -3
- package/esm/core/geoChart/GeoChartRenderer.d.ts.map +1 -1
- package/esm/core/geoChart/constants/geoChart.d.ts.map +1 -1
- package/esm/core/geoChart/geoChartColor.d.ts.map +1 -1
- package/esm/core/geoChart/geoChartDataSource.d.ts +1 -1
- package/esm/core/geoChart/geoChartDataSource.d.ts.map +1 -1
- package/esm/core/geoChart/geoChartTooltip.d.ts +1 -1
- package/esm/core/geoChart/geoChartTooltip.d.ts.map +1 -1
- package/esm/core/geoChart/legends/PushpinSizeLegend.js +2 -12
- package/esm/next/components/GeoChartDataLoader.d.ts +1 -1
- package/esm/next/components/GeoChartDataLoader.d.ts.map +1 -1
- package/esm/next/components/GeoChartProviders.d.ts +1 -1
- package/esm/next/components/GeoChartProviders.d.ts.map +1 -1
- package/esm/next/components/RenderGeoChart.js +2 -4
- package/esm/next/components/multiLayerLegend/ChevronIcon.d.ts +2 -1
- package/esm/next/components/multiLayerLegend/ChevronIcon.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/GeoChartLegendOverlay.d.ts +1 -1
- package/esm/next/components/multiLayerLegend/GeoChartLegendOverlay.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/LayerToggleSwitch.d.ts +2 -1
- package/esm/next/components/multiLayerLegend/LayerToggleSwitch.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/LayerToggleSwitch.js +1 -3
- package/esm/next/components/multiLayerLegend/LegendGroupColor.d.ts +2 -1
- package/esm/next/components/multiLayerLegend/LegendGroupColor.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/LegendGroupColor.js +4 -8
- package/esm/next/components/multiLayerLegend/LegendGroupColorScale.d.ts +2 -1
- package/esm/next/components/multiLayerLegend/LegendGroupColorScale.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/LegendGroupColorScale.js +1 -5
- package/esm/next/components/multiLayerLegend/LegendGroupContainer.d.ts +2 -2
- package/esm/next/components/multiLayerLegend/LegendGroupContainer.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/LegendGroupSize.d.ts +2 -1
- package/esm/next/components/multiLayerLegend/LegendGroupSize.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/LegendGroupSize.js +4 -9
- package/esm/next/components/multiLayerLegend/MultiLayerLegendPanel.d.ts +2 -1
- package/esm/next/components/multiLayerLegend/MultiLayerLegendPanel.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/MultiLayerLegendSection.d.ts +2 -1
- package/esm/next/components/multiLayerLegend/MultiLayerLegendSection.d.ts.map +1 -1
- package/esm/next/components/multiLayerLegend/MultiLayerLegendSection.js +1 -6
- package/esm/next/constants/defaults.d.ts.map +1 -1
- package/esm/next/context/GeoLayersContext.d.ts +1 -1
- package/esm/next/context/GeoLayersContext.d.ts.map +1 -1
- package/esm/next/context/InitialExecutionContext.d.ts +1 -1
- package/esm/next/context/InitialExecutionContext.d.ts.map +1 -1
- package/esm/next/context/MapRuntimeContext.d.ts +1 -1
- package/esm/next/context/MapRuntimeContext.d.ts.map +1 -1
- package/esm/next/hooks/layers/processSettledLayerResults.d.ts +1 -1
- package/esm/next/hooks/layers/processSettledLayerResults.d.ts.map +1 -1
- package/esm/next/hooks/layers/useApplyLayerSegmentFiltering.d.ts +1 -1
- package/esm/next/hooks/layers/useApplyLayerSegmentFiltering.d.ts.map +1 -1
- package/esm/next/hooks/layers/useApplyLayerVisibility.d.ts +1 -1
- package/esm/next/hooks/layers/useApplyLayerVisibility.d.ts.map +1 -1
- package/esm/next/hooks/layers/useInitLayersToMap.d.ts +1 -1
- package/esm/next/hooks/layers/useInitLayersToMap.d.ts.map +1 -1
- package/esm/next/hooks/layers/useLayerTooltips.d.ts +1 -1
- package/esm/next/hooks/layers/useLayerTooltips.d.ts.map +1 -1
- package/esm/next/hooks/layers/useUpdateLayersOnMap.d.ts +1 -1
- package/esm/next/hooks/layers/useUpdateLayersOnMap.d.ts.map +1 -1
- package/esm/next/layers/area/operations.d.ts.map +1 -1
- package/esm/next/layers/common/constants.d.ts.map +1 -1
- package/esm/next/layers/common/customTooltipSection.d.ts.map +1 -1
- package/esm/next/layers/pushpin/coloring/palette.d.ts.map +1 -1
- package/esm/next/layers/pushpin/constants.d.ts.map +1 -1
- package/esm/next/layers/pushpin/operations.d.ts.map +1 -1
- package/esm/next/map/MapController.d.ts +1 -1
- package/esm/next/map/MapController.d.ts.map +1 -1
- package/esm/next/map/runtime/mapConfig.d.ts.map +1 -1
- package/esm/next/map/runtime/mapInitialization.d.ts +1 -1
- package/esm/next/map/runtime/mapInitialization.d.ts.map +1 -1
- package/esm/next/utils/layerConversion.d.ts.map +1 -1
- package/esm/next/utils/mapCanvasAccessibility.d.ts +1 -1
- package/esm/next/utils/mapCanvasAccessibility.d.ts.map +1 -1
- package/esm/sdk-ui-geo.d.ts +9 -4
- package/package.json +14 -14
- package/styles/css/main.css +1 -1
- package/styles/css/main.css.map +1 -1
- package/styles/scss/_geo-multi-layer-legend.scss +4 -4
- package/styles/scss/tooltip.scss +2 -2
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type IntlShape } from "react-intl";
|
|
2
2
|
import { type ICoreGeoChartProps } from "./geoChart/GeoChartInner.js";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export declare function CoreGeoChart(props: ICoreGeoChartProps &
|
|
6
|
+
export declare function CoreGeoChart(props: ICoreGeoChartProps & {
|
|
7
|
+
intl: IntlShape;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
//# sourceMappingURL=CoreGeoChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoreGeoChart.d.ts","sourceRoot":"","sources":["../../src/core/CoreGeoChart.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"CoreGeoChart.d.ts","sourceRoot":"","sources":["../../src/core/CoreGeoChart.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAK5C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAStE;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,kBAAkB,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,2CAM3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapboxTokenProvider.d.ts","sourceRoot":"","sources":["../../src/core/MapboxTokenProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAItF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"MapboxTokenProvider.d.ts","sourceRoot":"","sources":["../../src/core/MapboxTokenProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAItF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;iBAAgC,MAAM,GAAG,SAAS;EAE/E,CAAC;AAEH;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAI/F;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS;IAAE,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,EAC7D,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,GACjC,aAAa,CAAC,CAAC,CAAC,CAYlB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAC/B,MAAM,CAAC,EAAE,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,EACrC,WAAW,CAAC,EAAE,MAAM,GACrB,CAAC,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SAAS,CAO5C;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,CAAC,EAAE,MAAM,UAMxD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,WAAW,CAAC,EAAE,MAAM,sBAIlD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactElement } from "react";
|
|
2
|
-
import { type
|
|
2
|
+
import { type IntlShape } from "react-intl";
|
|
3
3
|
import { type IColorPalette, type ITheme } from "@gooddata/sdk-model";
|
|
4
4
|
import { type IColorAssignment, type IDataVisualizationProps, type ILoadingInjectedProps } from "@gooddata/sdk-ui";
|
|
5
5
|
import { type IColorStrategy, type IPushpinCategoryLegendItem } from "@gooddata/sdk-ui-vis-commons";
|
|
@@ -24,7 +24,9 @@ export interface ICoreGeoChartProps extends IDataVisualizationProps {
|
|
|
24
24
|
/**
|
|
25
25
|
* @internal
|
|
26
26
|
*/
|
|
27
|
-
export type IGeoChartInnerProps = ICoreGeoChartProps & ILoadingInjectedProps &
|
|
27
|
+
export type IGeoChartInnerProps = ICoreGeoChartProps & ILoadingInjectedProps & {
|
|
28
|
+
intl: IntlShape;
|
|
29
|
+
};
|
|
28
30
|
export interface IGeoChartInnerState {
|
|
29
31
|
enabledLegendItems: boolean[];
|
|
30
32
|
showFluidLegend: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoChartInner.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/GeoChartInner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAA+C,MAAM,OAAO,CAAC;AAKvF,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"GeoChartInner.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/GeoChartInner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAA+C,MAAM,OAAO,CAAC;AAKvF,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAK5C,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAE5B,KAAK,qBAAqB,EAK7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,KAAK,cAAc,EAGnB,KAAK,0BAA0B,EAMlC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAA0B,KAAK,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AACxG,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAoCpE;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB;IAC/D,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,YAAY,CAAC;IAChE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,4BAA4B,KAAK,YAAY,CAAC;IACvE,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACvD,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,GAChD,qBAAqB,GAAG;IACpB,IAAI,EAAE,SAAS,CAAC;CACnB,CAAC;AAEN,MAAM,WAAW,mBAAmB;IAChC,kBAAkB,EAAE,OAAO,EAAE,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,mBAAmB,EAAE,gBAAgB,EAAE,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,OAAO,EAAE,QAAQ,CAAC;IAClB,aAAa,EAAE,0BAA0B,EAAE,CAAC;IAC5C,aAAa,EAAE,cAAc,CAAC;IAC9B,YAAY,EAAE,aAAa,CAAC;CAC/B;AAMD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CA4UtE"}
|
|
@@ -72,9 +72,7 @@ function ColorAndSizeLegendWithPaging(props) {
|
|
|
72
72
|
const showPrevPage = () => setPage(1);
|
|
73
73
|
const { availableLegends } = props;
|
|
74
74
|
const classNames = getClassnames(props, availableLegends);
|
|
75
|
-
return (_jsxs("div", { className: classNames, children: [
|
|
76
|
-
_jsxs("div", { className: "geo-legend-paging", children: [renderPushpinColorLegend(props, page === 1), renderPushpinSizeLegend(props, page === 2)] }), _jsx(Paging, { page: page, pagesCount: 2, showNextPage: showNextPage, showPrevPage: showPrevPage })
|
|
77
|
-
] }));
|
|
75
|
+
return (_jsxs("div", { className: classNames, children: [_jsxs("div", { className: "geo-legend-paging", children: [renderPushpinColorLegend(props, page === 1), renderPushpinSizeLegend(props, page === 2)] }), _jsx(Paging, { page: page, pagesCount: 2, showNextPage: showNextPage, showPrevPage: showPrevPage })] }));
|
|
78
76
|
}
|
|
79
77
|
function renderColorAndSizeLegend(props, availableLegends) {
|
|
80
78
|
const { hasColorLegend, hasSizeLegend } = availableLegends;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type IntlShape } from "react-intl";
|
|
2
2
|
import { type IDataView } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { type IDrillConfig, type IHeaderPredicate, type OnError } from "@gooddata/sdk-ui";
|
|
4
4
|
import { type IColorStrategy } from "@gooddata/sdk-ui-vis-commons";
|
|
@@ -7,7 +7,8 @@ import type { IGeoLngLat } from "../../publicTypes/geoCommon.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* @internal
|
|
9
9
|
*/
|
|
10
|
-
export interface IGeoChartRendererProps
|
|
10
|
+
export interface IGeoChartRendererProps {
|
|
11
|
+
intl: IntlShape;
|
|
11
12
|
config: IGeoConfig;
|
|
12
13
|
drillableItems: IHeaderPredicate[];
|
|
13
14
|
drillConfig: IDrillConfig;
|
|
@@ -19,5 +20,5 @@ export interface IGeoChartRendererProps extends WrappedComponentProps {
|
|
|
19
20
|
onZoomChanged(zoom: number): void;
|
|
20
21
|
onError?: OnError;
|
|
21
22
|
}
|
|
22
|
-
export declare function GeoChartRenderer({ config, drillableItems, drillConfig, dataView, geoData, colorStrategy, afterRender, onCenterPositionChanged, onZoomChanged, onError, intl }: IGeoChartRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function GeoChartRenderer({ config, drillableItems, drillConfig, dataView, geoData, colorStrategy, afterRender, onCenterPositionChanged, onZoomChanged, onError, intl, }: IGeoChartRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
23
24
|
//# sourceMappingURL=GeoChartRenderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoChartRenderer.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/GeoChartRenderer.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,
|
|
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,UAAU,EAAE,MAAM,gCAAgC,CAAC;AA8BjE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,SAAS,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geoChart.d.ts","sourceRoot":"","sources":["../../../../src/core/geoChart/constants/geoChart.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AAKtC,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAEpE,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"geoChart.d.ts","sourceRoot":"","sources":["../../../../src/core/geoChart/constants/geoChart.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AAKtC,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAEpE,eAAO,MAAM,oBAAoB;IAAK,SAAS;QAAI,GAAG;QAAO,GAAG;;IAAU,SAAS;QAAI,GAAG;QAAM,GAAG;;CAAS,CAAC;AAE7G,eAAO,MAAM,SAAS,EAAE,aA0BvB,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAAyB,CAAC;AAC7D,eAAO,MAAM,6BAA6B;IACtC,EAAE;IACF,IAAI,EAAE,QAAQ;IACd,MAAM;QACF,oBAAoB;QACpB,YAAY;QACZ,WAAW;QACX,WAAW;;IAEf,KAAK;QACD,YAAY;;CAEnB,CAAC;AACF,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AACxD,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,6BAA6B,EAAE,QAAQ,CAAC,WAYpD,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,UAQnD,CAAC;AACF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,UAMlD,CAAC;AAEF,eAAO,MAAM,wBAAwB;IACjC,GAAG;QACC,OAAO;QACP,MAAM;QACN,OAAO;QACP,MAAM;QACN,OAAO;QACP,MAAM;;IAEV,GAAG;QACC,OAAO;QACP,MAAM;QACN,OAAO;QACP,MAAM;QACN,OAAO;QACP,MAAM;;CAEb,CAAC;AACF,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAEzC,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAC/C,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAC1D,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAEhD,eAAO,MAAM,kBAAkB,YAC3B,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,iBAAiB,CACX,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,MAAM,EAA8C,CAAC;AAGlF,eAAO,MAAM,YAAY,EAAE,MAAU,CAAC;AACtC,eAAO,MAAM,cAAc,EAAE,UAG5B,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBAAqB,CAAC;AAErE,eAAO,MAAM,6BAA6B,MAAM,CAAC;AAEjD,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAC7C,eAAO,MAAM,2BAA2B,QAAoB,CAAC;AAE7D,eAAO,MAAM,uBAAuB;IAChC,qBAAqB;CACxB,CAAC;AAIF,eAAO,MAAM,sBAAsB,EAAE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAmBlE,CAAC;AAEF,eAAO,MAAM,uBAAuB;IAChC,WAAW;IACX,YAAY;IACZ,MAAM;CACT,CAAC;AAEF,eAAO,MAAM,oBAAoB,WAAW,CAAC;AAC7C,eAAO,MAAM,0BAA0B,iBAAiB,CAAC;AACzD,eAAO,MAAM,yBAAyB,kBAAkB,CAAC;AACzD,eAAO,MAAM,iCAAiC,wBAAwB,CAAC;AACvE,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAC1D,eAAO,MAAM,wBAAwB,WAAW,CAAC;AAEjD,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAEtC,eAAO,MAAM,oBAAoB,MAAM,CAAC"}
|
|
@@ -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,CAoBzF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAC5B,WAAW,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,EACjC,aAAa,
|
|
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,CAoBzF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAC5B,WAAW,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,EACjC,aAAa,EAAE,MAAM,EAAE,YAAK,EAC5B,aAAa,EAAE,cAAc,GAC9B,aAAa,EAAE,CAkDjB;AAED,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,GAAG,gBAAgB,EAAE,CA0BtG"}
|
|
@@ -8,6 +8,6 @@ export interface IGeoDataSourceProps {
|
|
|
8
8
|
}
|
|
9
9
|
type IGeoDataSourceFeature = GeoJSON.Feature<GeoJSON.Point, GeoJSON.GeoJsonProperties>;
|
|
10
10
|
export type IGeoDataSourceFeatures = IGeoDataSourceFeature[];
|
|
11
|
-
export declare const createPushpinDataSource: (dataSourceProps: IGeoDataSourceProps) =>
|
|
11
|
+
export declare const createPushpinDataSource: (dataSourceProps: IGeoDataSourceProps) => mapboxgl.GeoJSONSourceRaw;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=geoChartDataSource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geoChartDataSource.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/geoChartDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,QAAQ,EAA6C,MAAM,mBAAmB,CAAC;AAW9G,MAAM,WAAW,mBAAmB;IAChC,aAAa,EAAE,cAAc,CAAC;IAC9B,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,EAAE,QAAQ,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;CAC1B;AAED,KAAK,qBAAqB,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;AACvF,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,EAAE,CAAC;AAiH7D,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"geoChartDataSource.d.ts","sourceRoot":"","sources":["../../../src/core/geoChart/geoChartDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,QAAQ,EAA6C,MAAM,mBAAmB,CAAC;AAW9G,MAAM,WAAW,mBAAmB;IAChC,aAAa,EAAE,cAAc,CAAC;IAC9B,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,EAAE,QAAQ,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;CAC1B;AAED,KAAK,qBAAqB,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;AACvF,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,EAAE,CAAC;AAiH7D,eAAO,MAAM,uBAAuB,oBAAqB,mBAAmB,KAAG,QAAQ,CAAC,gBAkBvF,CAAC"}
|
|
@@ -6,6 +6,6 @@ import { type IGeoConfig } from "../../GeoChart.js";
|
|
|
6
6
|
export declare const TOOLTIP_MAX_WIDTH = 320;
|
|
7
7
|
export declare function shouldShowTooltip(geoProperties: GeoJSON.GeoJsonProperties | undefined): boolean;
|
|
8
8
|
export declare function getTooltipHtml(geoProperties: GeoJSON.GeoJsonProperties, tooltipStroke: string, maxWidth: number, separators?: ISeparators, drillableItems?: IHeaderPredicate[], intl?: IntlShape): string;
|
|
9
|
-
export declare const handlePushpinMouseEnter: (e: mapboxgl.EventData, chart: mapboxgl.Map, tooltip: mapboxgl.Popup, config: IGeoConfig, drillableItems?: IHeaderPredicate[]
|
|
9
|
+
export declare const handlePushpinMouseEnter: (e: mapboxgl.EventData, chart: mapboxgl.Map, tooltip: mapboxgl.Popup, config: IGeoConfig, drillableItems?: IHeaderPredicate[], intl?: IntlShape) => void;
|
|
10
10
|
export declare const handlePushpinMouseLeave: (_e: mapboxgl.EventData, chart: mapboxgl.Map, tooltip: mapboxgl.Popup, config: IGeoConfig) => void;
|
|
11
11
|
//# sourceMappingURL=geoChartTooltip.d.ts.map
|
|
@@ -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,
|
|
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"}
|
|
@@ -20,22 +20,12 @@ export function PushpinSizeLegend(props) {
|
|
|
20
20
|
"is-small-container": isSmall,
|
|
21
21
|
});
|
|
22
22
|
const classNamesCircles = cx("pushpin-size-legend-circle-list", { "is-small-circles": isSmall });
|
|
23
|
-
return (_jsxs("div", { className: classNamesContainer, children: [measureName ? (_jsxs("div", { className: "metric-name", title: measureName, children: [measureName, ":"] })) : null, _jsxs("div", { className: classNamesCircles, children: [
|
|
24
|
-
_jsxs("div", { className: "pushpin-size-legend-circle circle-min-value", children: [
|
|
25
|
-
_jsx("span", { className: "circle-min-icon" }), _jsx("span", { className: "circle-value", children: formatLegendLabel(min, format, diff, numericSymbols) })
|
|
26
|
-
] }), showMiddleCircle ? renderMiddleCircle(props) : null, measureName ? null : _jsx("div", { className: "circle-separator" }), _jsxs("div", { className: "pushpin-size-legend-circle circle-max-value", children: [
|
|
27
|
-
_jsx("span", { className: "circle-max-icon" }), _jsx("span", { className: "circle-value", children: formatLegendLabel(max, format, diff, numericSymbols) })
|
|
28
|
-
] })
|
|
29
|
-
] })
|
|
30
|
-
] }));
|
|
23
|
+
return (_jsxs("div", { className: classNamesContainer, children: [measureName ? (_jsxs("div", { className: "metric-name", title: measureName, children: [measureName, ":"] })) : null, _jsxs("div", { className: classNamesCircles, children: [_jsxs("div", { className: "pushpin-size-legend-circle circle-min-value", children: [_jsx("span", { className: "circle-min-icon" }), _jsx("span", { className: "circle-value", children: formatLegendLabel(min, format, diff, numericSymbols) })] }), showMiddleCircle ? renderMiddleCircle(props) : null, measureName ? null : _jsx("div", { className: "circle-separator" }), _jsxs("div", { className: "pushpin-size-legend-circle circle-max-value", children: [_jsx("span", { className: "circle-max-icon" }), _jsx("span", { className: "circle-value", children: formatLegendLabel(max, format, diff, numericSymbols) })] })] })] }));
|
|
31
24
|
}
|
|
32
25
|
function renderMiddleCircle({ sizes = [], format, numericSymbols = [], measureName, }) {
|
|
33
26
|
const sizeData = getSizeData(sizes);
|
|
34
27
|
const diff = getMax(sizeData) - getMin(sizeData);
|
|
35
|
-
return (_jsxs(Fragment, { children: [!measureName && _jsx("div", { className: "circle-separator" }), _jsxs("div", { className: "pushpin-size-legend-circle circle-average-value", children: [
|
|
36
|
-
_jsx("span", { className: "circle-average-icon" }), _jsx("span", { className: "circle-value", children: formatLegendLabel(calculateAverage(sizeData), format, diff, numericSymbols) })
|
|
37
|
-
] })
|
|
38
|
-
] }));
|
|
28
|
+
return (_jsxs(Fragment, { children: [!measureName && _jsx("div", { className: "circle-separator" }), _jsxs("div", { className: "pushpin-size-legend-circle circle-average-value", children: [_jsx("span", { className: "circle-average-icon" }), _jsx("span", { className: "circle-value", children: formatLegendLabel(calculateAverage(sizeData), format, diff, numericSymbols) })] })] }));
|
|
39
29
|
}
|
|
40
30
|
function getSizeData(sizes) {
|
|
41
31
|
return sizes.filter((value) => value !== null && isFinite(value) && !isNaN(value));
|
|
@@ -6,7 +6,7 @@ import { type ILayerExecutionRecord } from "../types/props/geoChart/internal.js"
|
|
|
6
6
|
*
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
|
-
export declare function GeoChartDataLoader({ layerExecutions }: {
|
|
9
|
+
export declare function GeoChartDataLoader({ layerExecutions, }: {
|
|
10
10
|
layerExecutions: ILayerExecutionRecord[];
|
|
11
11
|
}): ReactElement;
|
|
12
12
|
//# sourceMappingURL=GeoChartDataLoader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoChartDataLoader.d.ts","sourceRoot":"","sources":["../../../src/next/components/GeoChartDataLoader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAqB,MAAM,OAAO,CAAC;AAe7D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAQjF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,eAAe,
|
|
1
|
+
{"version":3,"file":"GeoChartDataLoader.d.ts","sourceRoot":"","sources":["../../../src/next/components/GeoChartDataLoader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAqB,MAAM,OAAO,CAAC;AAe7D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAQjF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,eAAe,GAClB,EAAE;IACC,eAAe,EAAE,qBAAqB,EAAE,CAAC;CAC5C,GAAG,YAAY,CA6Gf"}
|
|
@@ -8,6 +8,6 @@ interface IGeoChartProvidersProps {
|
|
|
8
8
|
layerOutputs: Map<string, ILayerPreparedData>;
|
|
9
9
|
tooltipLookups: Map<string, IGeoLayerTooltipLookup>;
|
|
10
10
|
}
|
|
11
|
-
export declare function GeoChartProviders({ children, layerExecutions, layerOutputs, tooltipLookups }: IGeoChartProvidersProps): ReactElement;
|
|
11
|
+
export declare function GeoChartProviders({ children, layerExecutions, layerOutputs, tooltipLookups, }: IGeoChartProvidersProps): ReactElement;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=GeoChartProviders.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoChartProviders.d.ts","sourceRoot":"","sources":["../../../src/next/components/GeoChartProviders.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAKnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAEjF,UAAU,uBAAuB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,EAAE,qBAAqB,EAAE,CAAC;IACzC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC9C,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACvD;AAED,wBAAgB,iBAAiB,CAAC,EAC9B,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,cAAc,
|
|
1
|
+
{"version":3,"file":"GeoChartProviders.d.ts","sourceRoot":"","sources":["../../../src/next/components/GeoChartProviders.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAKnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAEjF,UAAU,uBAAuB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,EAAE,qBAAqB,EAAE,CAAC;IACzC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC9C,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACvD;AAED,wBAAgB,iBAAiB,CAAC,EAC9B,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,cAAc,GACjB,EAAE,uBAAuB,GAAG,YAAY,CAYxC"}
|
|
@@ -49,9 +49,7 @@ export function RenderGeoChart({ onMapError }) {
|
|
|
49
49
|
const containerClass = cx("gd-geo-chart-next__container", "gd-geo-component", containerBaseId, containerId, {
|
|
50
50
|
isExportMode,
|
|
51
51
|
});
|
|
52
|
-
return (_jsx(Measure, { client: true, onResize: setChartContainerRect, children: ({ measureRef }) => (_jsxs("div", { id: containerId, "data-testid": isExportMode ? "geo-chart-next-export-mode" : containerBaseId, className: containerClass, ref: measureRef, children: [
|
|
53
|
-
_jsx("div", { ref: mapContainerRef, className: "gd-geo-chart-next__map", children: _jsx(IntlTranslationsProvider, { children: (translationProps) => (_jsx(GeoChartLegendOverlay, { config: props.config, chartContainerRect: chartContainerRect, layers: layers, layerExecutions: layerExecutions, primaryLayer: primaryLayer, numericSymbols: translationProps.numericSymbols, formatMessage: legendMessageFormatter, setLegendPanelElementRef: (element) => {
|
|
52
|
+
return (_jsx(Measure, { client: true, onResize: setChartContainerRect, children: ({ measureRef }) => (_jsxs("div", { id: containerId, "data-testid": isExportMode ? "geo-chart-next-export-mode" : containerBaseId, className: containerClass, ref: measureRef, children: [_jsx("div", { ref: mapContainerRef, className: "gd-geo-chart-next__map", children: _jsx(IntlTranslationsProvider, { children: (translationProps) => (_jsx(GeoChartLegendOverlay, { config: props.config, chartContainerRect: chartContainerRect, layers: layers, layerExecutions: layerExecutions, primaryLayer: primaryLayer, numericSymbols: translationProps.numericSymbols, formatMessage: legendMessageFormatter, setLegendPanelElementRef: (element) => {
|
|
54
53
|
legendPanelRef.current = element;
|
|
55
|
-
} })) }) }), isGeoChartA11yImprovementsEnabled && mapInstructionsId ? (_jsx("p", { id: mapInstructionsId, className: "sr-only", children: instructionMessage })) : null, _jsx(MapController, { mapContainerRef: mapContainerRef, chartContainerRect: chartContainerRect, initialViewport: initialViewport, dataViewport: dataViewport, layerExecutions: layerExecutions, drillablePredicates: drillablePredicates, onCenterPositionChanged: props.onCenterPositionChanged, onZoomChanged: props.onZoomChanged, onBoundsChanged: props.onBoundsChanged, onViewportInteractionEnd: props.onViewportInteractionEnd, onDrill: props.onDrill, afterRender: props.afterRender, config: props.config, backend: props.backend, locale: props.locale, mapInstructionsId: mapInstructionsId, mapCanvasTitle: mapCanvasTitle, legendPanelRef: legendPanelRef, onMapError: onMapError }), _jsx(PushDataSync, { availableLegends: availableLegends, geoLayerType: props.type })
|
|
56
|
-
] })) }));
|
|
54
|
+
} })) }) }), isGeoChartA11yImprovementsEnabled && mapInstructionsId ? (_jsx("p", { id: mapInstructionsId, className: "sr-only", children: instructionMessage })) : null, _jsx(MapController, { mapContainerRef: mapContainerRef, chartContainerRect: chartContainerRect, initialViewport: initialViewport, dataViewport: dataViewport, layerExecutions: layerExecutions, drillablePredicates: drillablePredicates, onCenterPositionChanged: props.onCenterPositionChanged, onZoomChanged: props.onZoomChanged, onBoundsChanged: props.onBoundsChanged, onViewportInteractionEnd: props.onViewportInteractionEnd, onDrill: props.onDrill, afterRender: props.afterRender, config: props.config, backend: props.backend, locale: props.locale, mapInstructionsId: mapInstructionsId, mapCanvasTitle: mapCanvasTitle, legendPanelRef: legendPanelRef, onMapError: onMapError }), _jsx(PushDataSync, { availableLegends: availableLegends, geoLayerType: props.type })] })) }));
|
|
57
55
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
1
2
|
/**
|
|
2
3
|
* Props for ChevronIcon component.
|
|
3
4
|
*
|
|
@@ -23,5 +24,5 @@ export interface IChevronIconProps {
|
|
|
23
24
|
*
|
|
24
25
|
* @internal
|
|
25
26
|
*/
|
|
26
|
-
export declare const ChevronIcon: import("react").
|
|
27
|
+
export declare const ChevronIcon: import("react").MemoExoticComponent<({ isExpanded, className, }: IChevronIconProps) => ReactElement>;
|
|
27
28
|
//# sourceMappingURL=ChevronIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronIcon.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/ChevronIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChevronIcon.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/ChevronIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAQ,MAAM,OAAO,CAAC;AAMhD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,mEAGrB,iBAAiB,KAAG,YAAY,CAUjC,CAAC"}
|
|
@@ -28,5 +28,5 @@ export interface IGeoChartLegendOverlayProps {
|
|
|
28
28
|
*
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
|
-
export declare function GeoChartLegendOverlay({ config, chartContainerRect, layers, layerExecutions, primaryLayer, numericSymbols, formatMessage, setLegendPanelElementRef }: IGeoChartLegendOverlayProps): ReactElement | null;
|
|
31
|
+
export declare function GeoChartLegendOverlay({ config, chartContainerRect, layers, layerExecutions, primaryLayer, numericSymbols, formatMessage, setLegendPanelElementRef, }: IGeoChartLegendOverlayProps): ReactElement | null;
|
|
32
32
|
//# sourceMappingURL=GeoChartLegendOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoChartLegendOverlay.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/GeoChartLegendOverlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAwB,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAKvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE;;;;;;;;GAQG;AACH,MAAM,WAAW,2BAA2B;IACxC,MAAM,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,kBAAkB,EAAE,WAAW,GAAG,IAAI,CAAC;IACvC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACnC,eAAe,EAAE,qBAAqB,EAAE,CAAC;IACzC,YAAY,EAAE,aAAa,GAAG,IAAI,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;CACvE;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EAClC,MAAM,EACN,kBAAkB,EAClB,MAAM,EACN,eAAe,EACf,YAAY,EACZ,cAAc,EACd,aAAa,EACb,wBAAwB,
|
|
1
|
+
{"version":3,"file":"GeoChartLegendOverlay.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/GeoChartLegendOverlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAwB,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAKvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAEpF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAGlE;;;;;;;;GAQG;AACH,MAAM,WAAW,2BAA2B;IACxC,MAAM,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,kBAAkB,EAAE,WAAW,GAAG,IAAI,CAAC;IACvC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACnC,eAAe,EAAE,qBAAqB,EAAE,CAAC;IACzC,YAAY,EAAE,aAAa,GAAG,IAAI,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;CACvE;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EAClC,MAAM,EACN,kBAAkB,EAClB,MAAM,EACN,eAAe,EACf,YAAY,EACZ,cAAc,EACd,aAAa,EACb,wBAAwB,GAC3B,EAAE,2BAA2B,GAAG,YAAY,GAAG,IAAI,CA2DnD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
1
2
|
/**
|
|
2
3
|
* Props for LayerToggleSwitch component.
|
|
3
4
|
*
|
|
@@ -34,5 +35,5 @@ export interface ILayerToggleSwitchProps {
|
|
|
34
35
|
*
|
|
35
36
|
* @internal
|
|
36
37
|
*/
|
|
37
|
-
export declare const LayerToggleSwitch: import("react").
|
|
38
|
+
export declare const LayerToggleSwitch: import("react").MemoExoticComponent<({ id, checked, onChange, ariaLabel, disabled, }: ILayerToggleSwitchProps) => ReactElement>;
|
|
38
39
|
//# sourceMappingURL=LayerToggleSwitch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerToggleSwitch.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LayerToggleSwitch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LayerToggleSwitch.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LayerToggleSwitch.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAQ,MAAM,OAAO,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAErC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,wFAM3B,uBAAuB,KAAG,YAAY,CAiBvC,CAAC"}
|
|
@@ -11,7 +11,5 @@ import { memo } from "react";
|
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
13
|
export const LayerToggleSwitch = memo(function LayerToggleSwitch({ id, checked, onChange, ariaLabel, disabled = false, }) {
|
|
14
|
-
return (_jsxs("label", { className: "input-checkbox-toggle gd-geo-multi-layer-legend__toggle-switch", children: [
|
|
15
|
-
_jsx("input", { id: id, type: "checkbox", role: "switch", "aria-checked": checked, "aria-label": ariaLabel, checked: checked, disabled: disabled, onChange: () => onChange(!checked), "data-testid": `gd-geo-legend-toggle-${id}` }), _jsx("span", { className: "input-label-text" })
|
|
16
|
-
] }));
|
|
14
|
+
return (_jsxs("label", { className: "input-checkbox-toggle gd-geo-multi-layer-legend__toggle-switch", children: [_jsx("input", { id: id, type: "checkbox", role: "switch", "aria-checked": checked, "aria-label": ariaLabel, checked: checked, disabled: disabled, onChange: () => onChange(!checked), "data-testid": `gd-geo-legend-toggle-${id}` }), _jsx("span", { className: "input-label-text" })] }));
|
|
17
15
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
1
2
|
import { type ILegendGroup } from "../../types/legend/model.js";
|
|
2
3
|
/**
|
|
3
4
|
* Props for LegendGroupColor component.
|
|
@@ -19,5 +20,5 @@ export interface ILegendGroupColorProps {
|
|
|
19
20
|
*/
|
|
20
21
|
enableGeoChartA11yImprovements?: boolean;
|
|
21
22
|
}
|
|
22
|
-
export declare const LegendGroupColor: import("react").
|
|
23
|
+
export declare const LegendGroupColor: import("react").MemoExoticComponent<({ group, onItemClick, enableGeoChartA11yImprovements, }: ILegendGroupColorProps) => ReactElement>;
|
|
23
24
|
//# sourceMappingURL=LegendGroupColor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendGroupColor.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LegendGroupColor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LegendGroupColor.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LegendGroupColor.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIH,KAAK,YAAY,EAQpB,MAAM,OAAO,CAAC;AAOf,OAAO,EAEH,KAAK,YAAY,EAEpB,MAAM,6BAA6B,CAAC;AAIrC;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAEpC;;OAEG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC5C;AA2PD,eAAO,MAAM,gBAAgB,gGAI1B,sBAAsB,KAAG,YAAY,CAMtC,CAAC"}
|
|
@@ -12,8 +12,7 @@ function EnhancedColorCategoryItem({ item, id, isActive, isInteractive, onClick,
|
|
|
12
12
|
"gd-geo-multi-layer-legend__color-item--disabled": !item.isVisible,
|
|
13
13
|
"gd-geo-multi-layer-legend__color-item--active": isActive,
|
|
14
14
|
});
|
|
15
|
-
return (_jsxs("div", { id: id, className: itemClassName, role: isInteractive ? "option" : "listitem", "aria-selected": isInteractive ? item.isVisible : undefined, "aria-label": item.label, onClick: isInteractive ? onClick : undefined, "data-testid": `gd-geo-legend-color-item-${item.uri}`, children: [
|
|
16
|
-
_jsx("span", { className: "gd-geo-multi-layer-legend__color-swatch", style: { backgroundColor: item.color } }), _jsx("span", { className: "gd-geo-multi-layer-legend__color-label", children: item.label }), item.count !== undefined && (_jsxs("span", { className: "gd-geo-multi-layer-legend__color-count", children: ["(", item.count, ")"] }))] }));
|
|
15
|
+
return (_jsxs("div", { id: id, className: itemClassName, role: isInteractive ? "option" : "listitem", "aria-selected": isInteractive ? item.isVisible : undefined, "aria-label": item.label, onClick: isInteractive ? onClick : undefined, "data-testid": `gd-geo-legend-color-item-${item.uri}`, children: [_jsx("span", { className: "gd-geo-multi-layer-legend__color-swatch", style: { backgroundColor: item.color } }), _jsx("span", { className: "gd-geo-multi-layer-legend__color-label", children: item.label }), item.count !== undefined && (_jsxs("span", { className: "gd-geo-multi-layer-legend__color-count", children: ["(", item.count, ")"] }))] }));
|
|
17
16
|
}
|
|
18
17
|
function LegacyColorCategoryItem({ item, onClick }) {
|
|
19
18
|
const handleClick = () => {
|
|
@@ -30,8 +29,7 @@ function LegacyColorCategoryItem({ item, onClick }) {
|
|
|
30
29
|
"gd-geo-multi-layer-legend__color-item--clickable": isClickable,
|
|
31
30
|
"gd-geo-multi-layer-legend__color-item--disabled": !item.isVisible,
|
|
32
31
|
});
|
|
33
|
-
return (_jsxs("div", { className: itemClassName, role: isClickable ? "button" : undefined, tabIndex: isClickable ? 0 : undefined, onClick: isClickable ? handleClick : undefined, onKeyDown: isClickable ? handleKeyDown : undefined, "aria-pressed": isClickable ? item.isVisible : undefined, "aria-label": `Category: ${item.label}, Color: ${item.color}${item.isVisible ? "" : " (hidden)"}`, "data-testid": `gd-geo-legend-color-item-${item.uri}`, children: [
|
|
34
|
-
_jsx("span", { className: "gd-geo-multi-layer-legend__color-swatch", style: { backgroundColor: item.color } }), _jsx("span", { className: "gd-geo-multi-layer-legend__color-label", title: item.label, children: item.label }), item.count !== undefined && (_jsxs("span", { className: "gd-geo-multi-layer-legend__color-count", children: ["(", item.count, ")"] }))] }));
|
|
32
|
+
return (_jsxs("div", { className: itemClassName, role: isClickable ? "button" : undefined, tabIndex: isClickable ? 0 : undefined, onClick: isClickable ? handleClick : undefined, onKeyDown: isClickable ? handleKeyDown : undefined, "aria-pressed": isClickable ? item.isVisible : undefined, "aria-label": `Category: ${item.label}, Color: ${item.color}${item.isVisible ? "" : " (hidden)"}`, "data-testid": `gd-geo-legend-color-item-${item.uri}`, children: [_jsx("span", { className: "gd-geo-multi-layer-legend__color-swatch", style: { backgroundColor: item.color } }), _jsx("span", { className: "gd-geo-multi-layer-legend__color-label", title: item.label, children: item.label }), item.count !== undefined && (_jsxs("span", { className: "gd-geo-multi-layer-legend__color-count", children: ["(", item.count, ")"] }))] }));
|
|
35
33
|
}
|
|
36
34
|
function makeItemId(prefix, index) {
|
|
37
35
|
return `${prefix}-item-${index}`;
|
|
@@ -54,8 +52,7 @@ function LegacyLegendGroupColor({ group, onItemClick, }) {
|
|
|
54
52
|
const isInteractive = resolveGroupInteractivity(group, onItemClick);
|
|
55
53
|
const onItemClickHandler = isInteractive ? onItemClick : undefined;
|
|
56
54
|
const groupTitle = resolveLegendGroupTitle(group);
|
|
57
|
-
return (_jsxs("div", { className: "gd-geo-multi-layer-legend__group gd-geo-multi-layer-legend__group--color", children: [groupTitle ? (_jsx("div", { className: "gd-geo-multi-layer-legend__group-title", title: groupTitle, children: groupTitle })) : null, _jsx("div", { className: "gd-geo-multi-layer-legend__color-list", children: colorItems.map((item) => (_jsx(LegacyColorCategoryItem, { item: item, onClick: onItemClickHandler }, item.uri))) })
|
|
58
|
-
] }));
|
|
55
|
+
return (_jsxs("div", { className: "gd-geo-multi-layer-legend__group gd-geo-multi-layer-legend__group--color", children: [groupTitle ? (_jsx("div", { className: "gd-geo-multi-layer-legend__group-title", title: groupTitle, children: groupTitle })) : null, _jsx("div", { className: "gd-geo-multi-layer-legend__color-list", children: colorItems.map((item) => (_jsx(LegacyColorCategoryItem, { item: item, onClick: onItemClickHandler }, item.uri))) })] }));
|
|
59
56
|
}
|
|
60
57
|
function EnhancedLegendGroupColor({ group, onItemClick, }) {
|
|
61
58
|
const colorItems = group.items.filter(isLegendColorCategoryItem);
|
|
@@ -115,8 +112,7 @@ function EnhancedLegendGroupColor({ group, onItemClick, }) {
|
|
|
115
112
|
const handleListFocus = useCallback(() => {
|
|
116
113
|
ensureActiveItemVisible();
|
|
117
114
|
}, [ensureActiveItemVisible]);
|
|
118
|
-
return (_jsxs("div", { className: "gd-geo-multi-layer-legend__group gd-geo-multi-layer-legend__group--color", role: "group", "aria-labelledby": groupTitle ? titleId : undefined, children: [groupTitle ? (_jsx("div", { id: titleId, className: "gd-geo-multi-layer-legend__group-title", children: groupTitle })) : null, _jsx("div", { ref: listRef, className: "gd-geo-multi-layer-legend__color-list", role: isInteractive ? "listbox" : "list", "aria-label": groupTitle, "aria-multiselectable": isInteractive ? true : undefined, "aria-activedescendant": isInteractive && colorItems.length > 0 ? makeItemId(idPrefix, clampedIndex) : undefined, tabIndex: isInteractive ? 0 : undefined, onKeyDown: isInteractive ? handleKeyDown : undefined, onFocus: isInteractive ? handleListFocus : undefined, children: colorItems.map((item, index) => (_jsx(EnhancedColorCategoryItem, { item: item, id: makeItemId(idPrefix, index), isActive: isInteractive ? index === clampedIndex : false, isInteractive: isInteractive, onClick: () => onItemClickHandler?.(item.uri) }, item.uri))) })
|
|
119
|
-
] }));
|
|
115
|
+
return (_jsxs("div", { className: "gd-geo-multi-layer-legend__group gd-geo-multi-layer-legend__group--color", role: "group", "aria-labelledby": groupTitle ? titleId : undefined, children: [groupTitle ? (_jsx("div", { id: titleId, className: "gd-geo-multi-layer-legend__group-title", children: groupTitle })) : null, _jsx("div", { ref: listRef, className: "gd-geo-multi-layer-legend__color-list", role: isInteractive ? "listbox" : "list", "aria-label": groupTitle, "aria-multiselectable": isInteractive ? true : undefined, "aria-activedescendant": isInteractive && colorItems.length > 0 ? makeItemId(idPrefix, clampedIndex) : undefined, tabIndex: isInteractive ? 0 : undefined, onKeyDown: isInteractive ? handleKeyDown : undefined, onFocus: isInteractive ? handleListFocus : undefined, children: colorItems.map((item, index) => (_jsx(EnhancedColorCategoryItem, { item: item, id: makeItemId(idPrefix, index), isActive: isInteractive ? index === clampedIndex : false, isInteractive: isInteractive, onClick: () => onItemClickHandler?.(item.uri) }, item.uri))) })] }));
|
|
120
116
|
}
|
|
121
117
|
export const LegendGroupColor = memo(function LegendGroupColor({ group, onItemClick, enableGeoChartA11yImprovements = false, }) {
|
|
122
118
|
if (!enableGeoChartA11yImprovements) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
1
2
|
import { type ILegendGroup } from "../../types/legend/model.js";
|
|
2
3
|
import { type LegendMessageFormatter } from "./legendMessages.js";
|
|
3
4
|
/**
|
|
@@ -33,5 +34,5 @@ export interface ILegendGroupColorScaleProps {
|
|
|
33
34
|
*
|
|
34
35
|
* @internal
|
|
35
36
|
*/
|
|
36
|
-
export declare const LegendGroupColorScale: import("react").
|
|
37
|
+
export declare const LegendGroupColorScale: import("react").MemoExoticComponent<({ group, enableGeoChartA11yImprovements, formatMessage, isFocusable, }: ILegendGroupColorScaleProps) => ReactElement>;
|
|
37
38
|
//# sourceMappingURL=LegendGroupColorScale.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendGroupColorScale.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LegendGroupColorScale.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LegendGroupColorScale.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LegendGroupColorScale.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAQ,MAAM,OAAO,CAAC;AAEhD,OAAO,EAEH,KAAK,YAAY,EAEpB,MAAM,6BAA6B,CAAC;AAIrC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IAEpB;;OAEG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAEzC;;OAEG;IACH,aAAa,CAAC,EAAE,sBAAsB,CAAC;IAEvC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAqDD;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB,+GAK/B,2BAA2B,KAAG,YAAY,CAuC3C,CAAC"}
|
|
@@ -18,11 +18,7 @@ function ColorScaleItem({ item, enableGeoChartA11yImprovements, formatMessage, }
|
|
|
18
18
|
min: item.minLabel,
|
|
19
19
|
max: item.maxLabel,
|
|
20
20
|
}) ?? `Color scale from ${item.minLabel} to ${item.maxLabel}`;
|
|
21
|
-
return (_jsxs("div", { className: "gd-geo-multi-layer-legend__color-scale", children: [
|
|
22
|
-
_jsx("div", { className: "gd-geo-multi-layer-legend__color-scale-bar", style: barStyle, role: enableGeoChartA11yImprovements ? "img" : undefined, "aria-label": enableGeoChartA11yImprovements ? scaleLabel : undefined }), _jsxs("div", { className: "gd-geo-multi-layer-legend__color-scale-labels", children: [
|
|
23
|
-
_jsx("span", { className: "gd-geo-multi-layer-legend__color-scale-min", title: enableGeoChartA11yImprovements ? undefined : item.minLabel, children: item.minLabel }), _jsx("span", { className: "gd-geo-multi-layer-legend__color-scale-max", title: enableGeoChartA11yImprovements ? undefined : item.maxLabel, children: item.maxLabel })
|
|
24
|
-
] })
|
|
25
|
-
] }));
|
|
21
|
+
return (_jsxs("div", { className: "gd-geo-multi-layer-legend__color-scale", children: [_jsx("div", { className: "gd-geo-multi-layer-legend__color-scale-bar", style: barStyle, role: enableGeoChartA11yImprovements ? "img" : undefined, "aria-label": enableGeoChartA11yImprovements ? scaleLabel : undefined }), _jsxs("div", { className: "gd-geo-multi-layer-legend__color-scale-labels", children: [_jsx("span", { className: "gd-geo-multi-layer-legend__color-scale-min", title: enableGeoChartA11yImprovements ? undefined : item.minLabel, children: item.minLabel }), _jsx("span", { className: "gd-geo-multi-layer-legend__color-scale-max", title: enableGeoChartA11yImprovements ? undefined : item.maxLabel, children: item.maxLabel })] })] }));
|
|
26
22
|
}
|
|
27
23
|
/**
|
|
28
24
|
* Legend group displaying a numeric color scale (gradient).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from "react";
|
|
1
|
+
import { type ReactElement, type ReactNode } from "react";
|
|
2
2
|
interface ILegendGroupContainerProps {
|
|
3
3
|
variantClassName: string;
|
|
4
4
|
title?: string;
|
|
@@ -11,6 +11,6 @@ interface ILegendGroupContainerProps {
|
|
|
11
11
|
*
|
|
12
12
|
* Keeps role/label/focusability behavior consistent across group variants.
|
|
13
13
|
*/
|
|
14
|
-
export declare const LegendGroupContainer: import("react").
|
|
14
|
+
export declare const LegendGroupContainer: import("react").MemoExoticComponent<({ variantClassName, title, isFocusable, useFocusTarget, children, }: ILegendGroupContainerProps) => ReactElement>;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=LegendGroupContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendGroupContainer.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LegendGroupContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"LegendGroupContainer.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LegendGroupContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAe,MAAM,OAAO,CAAC;AAIvE,UAAU,0BAA0B;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,4GAM9B,0BAA0B,KAAG,YAAY,CAiC1C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
1
2
|
import { type ILegendGroup } from "../../types/legend/model.js";
|
|
2
3
|
/**
|
|
3
4
|
* Props for LegendGroupSize component.
|
|
@@ -28,5 +29,5 @@ export interface ILegendGroupSizeProps {
|
|
|
28
29
|
*
|
|
29
30
|
* @internal
|
|
30
31
|
*/
|
|
31
|
-
export declare const LegendGroupSize: import("react").
|
|
32
|
+
export declare const LegendGroupSize: import("react").MemoExoticComponent<({ group, enableGeoChartA11yImprovements, isFocusable, }: ILegendGroupSizeProps) => ReactElement>;
|
|
32
33
|
//# sourceMappingURL=LegendGroupSize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendGroupSize.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LegendGroupSize.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LegendGroupSize.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/LegendGroupSize.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAQ,MAAM,OAAO,CAAC;AAEhD,OAAO,EACH,KAAK,YAAY,EAGpB,MAAM,6BAA6B,CAAC;AAKrC;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IAEpB;;OAEG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAEzC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAsBD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,gGAIzB,qBAAqB,KAAG,YAAY,CAgDrC,CAAC"}
|
|
@@ -8,12 +8,10 @@ import { LegendGroupContainer } from "./LegendGroupContainer.js";
|
|
|
8
8
|
* Renders a single size anchor (circle) with its label.
|
|
9
9
|
*/
|
|
10
10
|
function SizeAnchorItem({ item }) {
|
|
11
|
-
return (_jsx("div", { className: "gd-geo-multi-layer-legend__size-anchor-wrapper", role: "listitem", children: _jsxs("div", { className: "gd-geo-multi-layer-legend__size-anchor", children: [
|
|
12
|
-
_jsx("span", { className: "gd-geo-multi-layer-legend__size-circle", style: {
|
|
11
|
+
return (_jsx("div", { className: "gd-geo-multi-layer-legend__size-anchor-wrapper", role: "listitem", children: _jsxs("div", { className: "gd-geo-multi-layer-legend__size-anchor", children: [_jsx("span", { className: "gd-geo-multi-layer-legend__size-circle", style: {
|
|
13
12
|
width: item.sizePx,
|
|
14
13
|
height: item.sizePx,
|
|
15
|
-
} }), _jsx("span", { className: "gd-geo-multi-layer-legend__size-label", children: item.label })
|
|
16
|
-
] }) }));
|
|
14
|
+
} }), _jsx("span", { className: "gd-geo-multi-layer-legend__size-label", children: item.label })] }) }));
|
|
17
15
|
}
|
|
18
16
|
/**
|
|
19
17
|
* Legend group displaying size anchors for pushpin layers.
|
|
@@ -29,13 +27,10 @@ export const LegendGroupSize = memo(function LegendGroupSize({ group, enableGeoC
|
|
|
29
27
|
const sizeItems = group.items.filter(isLegendSizeAnchorItem);
|
|
30
28
|
const groupTitle = resolveLegendGroupTitle(group);
|
|
31
29
|
if (!enableGeoChartA11yImprovements) {
|
|
32
|
-
return (_jsxs("div", { className: "gd-geo-multi-layer-legend__group gd-geo-multi-layer-legend__group--size", children: [groupTitle ? (_jsx("div", { className: "gd-geo-multi-layer-legend__group-title", title: groupTitle, children: groupTitle })) : null, _jsx("div", { className: "gd-geo-multi-layer-legend__size-list", children: sizeItems.map((item, index) => (_jsxs("div", { className: "gd-geo-multi-layer-legend__size-anchor", "aria-label": `Size: ${item.label}`, children: [
|
|
33
|
-
_jsx("span", { className: "gd-geo-multi-layer-legend__size-circle", style: {
|
|
30
|
+
return (_jsxs("div", { className: "gd-geo-multi-layer-legend__group gd-geo-multi-layer-legend__group--size", children: [groupTitle ? (_jsx("div", { className: "gd-geo-multi-layer-legend__group-title", title: groupTitle, children: groupTitle })) : null, _jsx("div", { className: "gd-geo-multi-layer-legend__size-list", children: sizeItems.map((item, index) => (_jsxs("div", { className: "gd-geo-multi-layer-legend__size-anchor", "aria-label": `Size: ${item.label}`, children: [_jsx("span", { className: "gd-geo-multi-layer-legend__size-circle", style: {
|
|
34
31
|
width: item.sizePx,
|
|
35
32
|
height: item.sizePx,
|
|
36
|
-
} }), _jsx("span", { className: "gd-geo-multi-layer-legend__size-label", children: item.label })
|
|
37
|
-
] }, index))) })
|
|
38
|
-
] }));
|
|
33
|
+
} }), _jsx("span", { className: "gd-geo-multi-layer-legend__size-label", children: item.label })] }, index))) })] }));
|
|
39
34
|
}
|
|
40
35
|
return (_jsx(LegendGroupContainer, { variantClassName: "gd-geo-multi-layer-legend__group--size", title: groupTitle, isFocusable: isFocusable, useFocusTarget: true, children: _jsx("div", { className: "gd-geo-multi-layer-legend__size-list", role: "list", "aria-label": groupTitle, children: sizeItems.map((item, index) => (_jsx(SizeAnchorItem, { item: item }, index))) }) }));
|
|
41
36
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
1
2
|
import { type GeoLegendPosition } from "../../types/config/legend.js";
|
|
2
3
|
import { type ILegendModel } from "../../types/legend/model.js";
|
|
3
4
|
import { type LegendMessageFormatter } from "./legendMessages.js";
|
|
@@ -55,5 +56,5 @@ export interface IMultiLayerLegendPanelProps {
|
|
|
55
56
|
*/
|
|
56
57
|
setPanelElementRef?: (element: HTMLDivElement | null) => void;
|
|
57
58
|
}
|
|
58
|
-
export declare const MultiLayerLegendPanel: import("react").
|
|
59
|
+
export declare const MultiLayerLegendPanel: import("react").MemoExoticComponent<({ model, enabled, position, maxHeightPx, hiddenLayers, onLayerVisibilityChange, onItemClick, enableGeoChartA11yImprovements, formatMessage, setPanelElementRef, }: IMultiLayerLegendPanelProps) => ReactElement | null>;
|
|
59
60
|
//# sourceMappingURL=MultiLayerLegendPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiLayerLegendPanel.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/MultiLayerLegendPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiLayerLegendPanel.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/MultiLayerLegendPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,YAAY,EASpB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAgC,KAAK,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACpG,OAAO,EACH,KAAK,YAAY,EAGpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AA+GlE;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IAEpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAE7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAE3B;;;OAGG;IACH,uBAAuB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAEpD;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAErD;;OAEG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAEzC;;OAEG;IACH,aAAa,CAAC,EAAE,sBAAsB,CAAC;IAEvC;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;CACjE;AA2BD,eAAO,MAAM,qBAAqB,0MAW/B,2BAA2B,KAAG,YAAY,GAAG,IAAI,CAoLlD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
1
2
|
import { type ILegendSection } from "../../types/legend/model.js";
|
|
2
3
|
import { type LegendMessageFormatter } from "./legendMessages.js";
|
|
3
4
|
/**
|
|
@@ -78,5 +79,5 @@ export interface IMultiLayerLegendSectionProps {
|
|
|
78
79
|
*
|
|
79
80
|
* @internal
|
|
80
81
|
*/
|
|
81
|
-
export declare const MultiLayerLegendSection: import("react").
|
|
82
|
+
export declare const MultiLayerLegendSection: import("react").MemoExoticComponent<({ section, sectionId, isExpanded, isVisible, showToggle, isFlexible, setSectionRef, sectionElement, onExpandedChange, onVisibilityChange, onItemClick, enableGeoChartA11yImprovements, formatMessage, }: IMultiLayerLegendSectionProps) => ReactElement>;
|
|
82
83
|
//# sourceMappingURL=MultiLayerLegendSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiLayerLegendSection.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/MultiLayerLegendSection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiLayerLegendSection.d.ts","sourceRoot":"","sources":["../../../../src/next/components/multiLayerLegend/MultiLayerLegendSection.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,YAAY,EAOpB,MAAM,OAAO,CAAC;AAIf,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAQrF,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAElE;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;IAExB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IAEzD;;;OAGG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAEhE;;;OAGG;IACH,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAEjE;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAErD;;OAEG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAEzC;;OAEG;IACH,aAAa,CAAC,EAAE,sBAAsB,CAAC;CAC1C;AAwFD;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,gPAcjC,6BAA6B,KAAG,YAAY,CA6O7C,CAAC"}
|
|
@@ -164,10 +164,5 @@ export const MultiLayerLegendSection = memo(function MultiLayerLegendSection({ s
|
|
|
164
164
|
"gd-geo-multi-layer-legend__section--hidden": !isVisible,
|
|
165
165
|
"gd-geo-multi-layer-legend__section--flexible": isFlexible && isExpanded,
|
|
166
166
|
});
|
|
167
|
-
return (_jsxs("div", { className: sectionClassName, role: "group", "aria-labelledby": titleId, "data-testid": `gd-geo-legend-section-${section.layerId}`, onTransitionEnd: handleSectionTransitionEnd, ref: setSectionRef, children: [enableGeoChartA11yImprovements ? (_jsxs("div", { className: "gd-geo-multi-layer-legend__section-header", children: [
|
|
168
|
-
_jsxs("button", { type: "button", className: "gd-geo-multi-layer-legend__section-header-btn", onClick: handleExpandClick, "aria-expanded": isExpanded, "aria-controls": `${sectionId}-content`, children: [
|
|
169
|
-
_jsx("span", { className: "gd-geo-multi-layer-legend__section-chevron", children: _jsx(ChevronIcon, { isExpanded: isExpanded }) }), _jsx("span", { id: titleId, className: "gd-geo-multi-layer-legend__section-title", children: displayTitle })
|
|
170
|
-
] }), showToggle ? (_jsx("span", { className: "gd-geo-multi-layer-legend__section-toggle", children: _jsx(LayerToggleSwitch, { id: toggleId, checked: isVisible, onChange: handleVisibilityChange, ariaLabel: `Toggle ${displayTitle} visibility` }) })) : null] })) : (_jsxs("div", { className: "gd-geo-multi-layer-legend__section-header", onClick: handleExpandClick, onKeyDown: handleLegacyHeaderKeyDown, role: "button", tabIndex: 0, "aria-expanded": isExpanded, "aria-controls": `${sectionId}-content`, children: [
|
|
171
|
-
_jsx("span", { className: "gd-geo-multi-layer-legend__section-chevron", children: _jsx(ChevronIcon, { isExpanded: isExpanded }) }), _jsx("span", { id: titleId, className: "gd-geo-multi-layer-legend__section-title", title: displayTitle, children: displayTitle }), showToggle ? (_jsx("span", { className: "gd-geo-multi-layer-legend__section-toggle", onClick: (e) => e.stopPropagation(), onKeyDown: (e) => e.stopPropagation(), children: _jsx(LayerToggleSwitch, { id: toggleId, checked: isVisible, onChange: handleVisibilityChange, ariaLabel: `Toggle ${displayTitle} visibility` }) })) : null] })), _jsx("div", { className: "gd-geo-multi-layer-legend__section-content-wrapper", children: _jsx("div", { id: `${sectionId}-content`, className: "gd-geo-multi-layer-legend__section-content", ...contentA11yProps, children: section.groups.map((group, index) => renderGroup(group, index, isSectionContentAccessible, enableGeoChartA11yImprovements, formatMessage, itemClickHandler)) }) })
|
|
172
|
-
] }));
|
|
167
|
+
return (_jsxs("div", { className: sectionClassName, role: "group", "aria-labelledby": titleId, "data-testid": `gd-geo-legend-section-${section.layerId}`, onTransitionEnd: handleSectionTransitionEnd, ref: setSectionRef, children: [enableGeoChartA11yImprovements ? (_jsxs("div", { className: "gd-geo-multi-layer-legend__section-header", children: [_jsxs("button", { type: "button", className: "gd-geo-multi-layer-legend__section-header-btn", onClick: handleExpandClick, "aria-expanded": isExpanded, "aria-controls": `${sectionId}-content`, children: [_jsx("span", { className: "gd-geo-multi-layer-legend__section-chevron", children: _jsx(ChevronIcon, { isExpanded: isExpanded }) }), _jsx("span", { id: titleId, className: "gd-geo-multi-layer-legend__section-title", children: displayTitle })] }), showToggle ? (_jsx("span", { className: "gd-geo-multi-layer-legend__section-toggle", children: _jsx(LayerToggleSwitch, { id: toggleId, checked: isVisible, onChange: handleVisibilityChange, ariaLabel: `Toggle ${displayTitle} visibility` }) })) : null] })) : (_jsxs("div", { className: "gd-geo-multi-layer-legend__section-header", onClick: handleExpandClick, onKeyDown: handleLegacyHeaderKeyDown, role: "button", tabIndex: 0, "aria-expanded": isExpanded, "aria-controls": `${sectionId}-content`, children: [_jsx("span", { className: "gd-geo-multi-layer-legend__section-chevron", children: _jsx(ChevronIcon, { isExpanded: isExpanded }) }), _jsx("span", { id: titleId, className: "gd-geo-multi-layer-legend__section-title", title: displayTitle, children: displayTitle }), showToggle ? (_jsx("span", { className: "gd-geo-multi-layer-legend__section-toggle", onClick: (e) => e.stopPropagation(), onKeyDown: (e) => e.stopPropagation(), children: _jsx(LayerToggleSwitch, { id: toggleId, checked: isVisible, onChange: handleVisibilityChange, ariaLabel: `Toggle ${displayTitle} visibility` }) })) : null] })), _jsx("div", { className: "gd-geo-multi-layer-legend__section-content-wrapper", children: _jsx("div", { id: `${sectionId}-content`, className: "gd-geo-multi-layer-legend__section-content", ...contentA11yProps, children: section.groups.map((group, index) => renderGroup(group, index, isSectionContentAccessible, enableGeoChartA11yImprovements, formatMessage, itemClickHandler)) }) })] }));
|
|
173
168
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/next/constants/defaults.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;IAC3B;;OAEG;;
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/next/constants/defaults.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;IAC3B;;OAEG;aACH,iBAAiB,EAAE,GAAG;IAEtB;;OAEG;aACH,iBAAiB,EAAE,SAAS;IAE5B;;OAEG;aACH,iBAAiB,EAAE,CAAC;IAEpB;;OAEG;aACH,gBAAgB;IAEhB;;OAEG;aACH,gBAAgB;IAEhB;;OAEG;aACH,2BAA2B;IAE3B;;OAEG;aACH,aAAa;IAEb;;OAEG;aACH,eAAe;IAEf;;OAEG;aACH,cAAc;IAEd;;OAEG;aACH,eAAe,EAAE,MAAM;IAEvB;;OAEG;aACH,iBAAiB;CACX,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,kBAAkB,CAAC"}
|
|
@@ -98,7 +98,7 @@ export interface IGeoLayersContext {
|
|
|
98
98
|
*
|
|
99
99
|
* @internal
|
|
100
100
|
*/
|
|
101
|
-
export declare function GeoLayersProvider({ children, layerExecutions, layerOutputs, tooltipLookups }: {
|
|
101
|
+
export declare function GeoLayersProvider({ children, layerExecutions, layerOutputs, tooltipLookups, }: {
|
|
102
102
|
children: ReactNode;
|
|
103
103
|
layerExecutions: ILayerExecutionRecord[];
|
|
104
104
|
layerOutputs: Map<string, ILayerPreparedData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoLayersContext.d.ts","sourceRoot":"","sources":["../../../src/next/context/GeoLayersContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAC;AAE3E,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAUjF;;;;;;;;GAQG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,YAAY,CAAC;IAExB;;OAEG;IACH,MAAM,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAE1C;;OAEG;IACH,OAAO,EAAE,eAAe,GAAG,YAAY,GAAG,IAAI,CAAC;IAE/C;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAC;IAEzB;;OAEG;IACH,aAAa,EAAE,cAAc,GAAG,IAAI,CAAC;IAErC;;OAEG;IACH,eAAe,EAAE,cAAc,EAAE,CAAC;IAElC;;OAEG;IACH,gBAAgB,EAAE,iBAAiB,CAAC;IAEpC;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAE9C;;OAEG;IACH,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;CAChD;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,eAAe,EAAE,qBAAqB,EAAE,CAAC;IAEzC;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAEnC;;OAEG;IACH,YAAY,EAAE,aAAa,GAAG,IAAI,CAAC;IAEnC;;OAEG;IACH,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACvD;AAID;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,cAAc,
|
|
1
|
+
{"version":3,"file":"GeoLayersContext.d.ts","sourceRoot":"","sources":["../../../src/next/context/GeoLayersContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,OAAO,CAAC;AAE3E,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAUjF;;;;;;;;GAQG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,YAAY,CAAC;IAExB;;OAEG;IACH,MAAM,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAE1C;;OAEG;IACH,OAAO,EAAE,eAAe,GAAG,YAAY,GAAG,IAAI,CAAC;IAE/C;;OAEG;IACH,QAAQ,EAAE,cAAc,CAAC;IAEzB;;OAEG;IACH,aAAa,EAAE,cAAc,GAAG,IAAI,CAAC;IAErC;;OAEG;IACH,eAAe,EAAE,cAAc,EAAE,CAAC;IAElC;;OAEG;IACH,gBAAgB,EAAE,iBAAiB,CAAC;IAEpC;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAE9C;;OAEG;IACH,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;CAChD;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,eAAe,EAAE,qBAAqB,EAAE,CAAC;IAEzC;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAEnC;;OAEG;IACH,YAAY,EAAE,aAAa,GAAG,IAAI,CAAC;IAEnC;;OAEG;IACH,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACvD;AAID;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,cAAc,GACjB,EAAE;IACC,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,EAAE,qBAAqB,EAAE,CAAC;IACzC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC9C,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACvD,2CAsCA;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,iBAAiB,CAQhD"}
|