@amcharts/amcharts5 5.19.0 → 5.19.1
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/.internal/charts/map/MapChart.d.ts +10 -12
- package/.internal/charts/map/MapChart.d.ts.map +1 -1
- package/.internal/charts/map/MapChart.js.map +1 -1
- package/.internal/core/Registry.js +1 -1
- package/.internal/core/Registry.js.map +1 -1
- package/.internal/plugins/json/ChartSerializer.d.ts.map +1 -1
- package/.internal/plugins/json/ChartSerializer.js +27 -3
- package/.internal/plugins/json/ChartSerializer.js.map +1 -1
- package/.internal/plugins/json/Classes.d.ts.map +1 -1
- package/.internal/plugins/json/Classes.js +1 -4
- package/.internal/plugins/json/Classes.js.map +1 -1
- package/CHANGELOG.md +7 -0
- package/examples/javascript/flow-arc-horizontal/package.json +1 -1
- package/examples/javascript/flow-arc-vertical/package.json +1 -1
- package/examples/javascript/flow-chord/package.json +1 -1
- package/examples/javascript/flow-chord-directed/package.json +1 -1
- package/examples/javascript/flow-chord-non-ribbon/package.json +1 -1
- package/examples/javascript/flow-sankey/package.json +1 -1
- package/examples/javascript/gantt/package.json +1 -1
- package/examples/javascript/gantt-multilevel/package.json +1 -1
- package/examples/javascript/gantt-simple/package.json +1 -1
- package/examples/javascript/gauge/package.json +1 -1
- package/examples/javascript/gauge-bands/package.json +1 -1
- package/examples/javascript/hierarchy-force-directed/package.json +1 -1
- package/examples/javascript/hierarchy-pack/package.json +1 -1
- package/examples/javascript/hierarchy-partition/package.json +1 -1
- package/examples/javascript/hierarchy-sunburst/package.json +1 -1
- package/examples/javascript/hierarchy-tree/package.json +1 -1
- package/examples/javascript/hierarchy-treemap/package.json +1 -1
- package/examples/javascript/hierarchy-voronoi-treemap/package.json +1 -1
- package/examples/javascript/jest/package.json +1 -1
- package/examples/javascript/json-pie/package.json +1 -1
- package/examples/javascript/json-xy/package.json +1 -1
- package/examples/javascript/map-animating-along-lines/package.json +1 -1
- package/examples/javascript/map-clustered-points/package.json +1 -1
- package/examples/javascript/map-day-and-night/package.json +1 -1
- package/examples/javascript/map-globe-rotate-to-country/package.json +1 -1
- package/examples/javascript/map-globe-with-projected-circles/package.json +1 -1
- package/examples/javascript/map-sankey/package.json +1 -1
- package/examples/javascript/map-sankey-waypoints/package.json +1 -1
- package/examples/javascript/map-with-bubbles/package.json +1 -1
- package/examples/javascript/map-zoom-to-country/package.json +1 -1
- package/examples/javascript/misc-40-charts/package.json +1 -1
- package/examples/javascript/misc-microchart-grid/package.json +1 -1
- package/examples/javascript/pie-chart/package.json +1 -1
- package/examples/javascript/pie-donut-chart/package.json +1 -1
- package/examples/javascript/pie-variable-radius/package.json +1 -1
- package/examples/javascript/radar-column-iwatch-style/package.json +1 -1
- package/examples/javascript/radar-heat-map/package.json +1 -1
- package/examples/javascript/radar-line/package.json +1 -1
- package/examples/javascript/radar-time-line/package.json +1 -1
- package/examples/javascript/sliced-funnel/package.json +1 -1
- package/examples/javascript/sliced-pictorial-stacked/package.json +1 -1
- package/examples/javascript/sliced-pyramid/package.json +1 -1
- package/examples/javascript/stock-chart/package.json +1 -1
- package/examples/javascript/stock-chart-comparing-stocks/package.json +1 -1
- package/examples/javascript/stock-chart-data-granularity/package.json +1 -1
- package/examples/javascript/stock-chart-data-grouping/package.json +1 -1
- package/examples/javascript/stock-chart-intraday/package.json +1 -1
- package/examples/javascript/stock-chart-live/package.json +1 -1
- package/examples/javascript/stock-chart-volume-separate-panel/package.json +1 -1
- package/examples/javascript/timeline-horizontal-serpentine-chart/package.json +1 -1
- package/examples/javascript/timeline-linear-process-diagram/package.json +1 -1
- package/examples/javascript/timeline-serpentine-chart/package.json +1 -1
- package/examples/javascript/timeline-spiral-chart/package.json +1 -1
- package/examples/javascript/venn-diagram/package.json +1 -1
- package/examples/javascript/wordcloud-with-data/package.json +1 -1
- package/examples/javascript/wordcloud-with-text/package.json +1 -1
- package/examples/javascript/xy-100-percent-stacked-column/package.json +1 -1
- package/examples/javascript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
- package/examples/javascript/xy-bubble/package.json +1 -1
- package/examples/javascript/xy-candlestick/package.json +1 -1
- package/examples/javascript/xy-clustered-column/package.json +1 -1
- package/examples/javascript/xy-column/package.json +1 -1
- package/examples/javascript/xy-comparing-series-google-analytics-style/package.json +1 -1
- package/examples/javascript/xy-data-grouping/package.json +1 -1
- package/examples/javascript/xy-draggable-range/package.json +1 -1
- package/examples/javascript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
- package/examples/javascript/xy-dumbbell plot/package.json +1 -1
- package/examples/javascript/xy-evenly-spaced-date-axis/package.json +1 -1
- package/examples/javascript/xy-line/package.json +1 -1
- package/examples/javascript/xy-line-highlight-on-legend-hover/package.json +1 -1
- package/examples/javascript/xy-live-data/package.json +1 -1
- package/examples/javascript/xy-multiple-synced-value-axes/package.json +1 -1
- package/examples/javascript/xy-ohlc/package.json +1 -1
- package/examples/javascript/xy-real-time-data-sorting/package.json +1 -1
- package/examples/javascript/xy-smoothed-line/package.json +1 -1
- package/examples/javascript/xy-stacked-and-clustered-column/package.json +1 -1
- package/examples/javascript/xy-stacked-column/package.json +1 -1
- package/examples/javascript/xy-stacked-step/package.json +1 -1
- package/examples/javascript/xy-stock/package.json +1 -1
- package/examples/javascript/xy-stock-comparing/package.json +1 -1
- package/examples/typescript/flow-arc-horizontal/package.json +1 -1
- package/examples/typescript/flow-arc-vertical/package.json +1 -1
- package/examples/typescript/flow-chord/package.json +1 -1
- package/examples/typescript/flow-chord-directed/package.json +1 -1
- package/examples/typescript/flow-chord-non-ribbon/package.json +1 -1
- package/examples/typescript/flow-sankey/package.json +1 -1
- package/examples/typescript/gantt/package.json +1 -1
- package/examples/typescript/gantt-multilevel/package.json +1 -1
- package/examples/typescript/gantt-simple/package.json +1 -1
- package/examples/typescript/gauge/package.json +1 -1
- package/examples/typescript/gauge-bands/package.json +1 -1
- package/examples/typescript/hierarchy-force-directed/package.json +1 -1
- package/examples/typescript/hierarchy-pack/package.json +1 -1
- package/examples/typescript/hierarchy-partition/package.json +1 -1
- package/examples/typescript/hierarchy-sunburst/package.json +1 -1
- package/examples/typescript/hierarchy-tree/package.json +1 -1
- package/examples/typescript/hierarchy-treemap/package.json +1 -1
- package/examples/typescript/hierarchy-voronoi-treemap/package.json +1 -1
- package/examples/typescript/jest/package.json +1 -1
- package/examples/typescript/json-pie/package.json +1 -1
- package/examples/typescript/json-xy/package.json +1 -1
- package/examples/typescript/map-animating-along-lines/package.json +1 -1
- package/examples/typescript/map-clustered-points/package.json +1 -1
- package/examples/typescript/map-day-and-night/package.json +1 -1
- package/examples/typescript/map-globe-rotate-to-country/package.json +1 -1
- package/examples/typescript/map-globe-with-projected-circles/package.json +1 -1
- package/examples/typescript/map-sankey/package.json +1 -1
- package/examples/typescript/map-sankey-waypoints/package.json +1 -1
- package/examples/typescript/map-with-bubbles/package.json +1 -1
- package/examples/typescript/map-zoom-to-country/package.json +1 -1
- package/examples/typescript/misc-40-charts/package.json +1 -1
- package/examples/typescript/misc-microchart-grid/package.json +1 -1
- package/examples/typescript/pie-chart/package.json +1 -1
- package/examples/typescript/pie-donut-chart/package.json +1 -1
- package/examples/typescript/pie-variable-radius/package.json +1 -1
- package/examples/typescript/radar-column-iwatch-style/package.json +1 -1
- package/examples/typescript/radar-heat-map/package.json +1 -1
- package/examples/typescript/radar-line/package.json +1 -1
- package/examples/typescript/radar-time-line/package.json +1 -1
- package/examples/typescript/sliced-funnel/package.json +1 -1
- package/examples/typescript/sliced-pictorial-stacked/package.json +1 -1
- package/examples/typescript/sliced-pyramid/package.json +1 -1
- package/examples/typescript/stock-chart/package.json +1 -1
- package/examples/typescript/stock-chart-comparing-stocks/package.json +1 -1
- package/examples/typescript/stock-chart-data-granularity/package.json +1 -1
- package/examples/typescript/stock-chart-data-grouping/package.json +1 -1
- package/examples/typescript/stock-chart-intraday/package.json +1 -1
- package/examples/typescript/stock-chart-live/package.json +1 -1
- package/examples/typescript/stock-chart-volume-separate-panel/package.json +1 -1
- package/examples/typescript/timeline-horizontal-serpentine-chart/package.json +1 -1
- package/examples/typescript/timeline-linear-process-diagram/package.json +1 -1
- package/examples/typescript/timeline-serpentine-chart/package.json +1 -1
- package/examples/typescript/timeline-spiral-chart/package.json +1 -1
- package/examples/typescript/venn-diagram/package.json +1 -1
- package/examples/typescript/wordcloud-with-data/package.json +1 -1
- package/examples/typescript/wordcloud-with-text/package.json +1 -1
- package/examples/typescript/xy-100-percent-stacked-column/package.json +1 -1
- package/examples/typescript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
- package/examples/typescript/xy-bubble/package.json +1 -1
- package/examples/typescript/xy-candlestick/package.json +1 -1
- package/examples/typescript/xy-clustered-column/package.json +1 -1
- package/examples/typescript/xy-column/package.json +1 -1
- package/examples/typescript/xy-comparing-series-google-analytics-style/package.json +1 -1
- package/examples/typescript/xy-data-grouping/package.json +1 -1
- package/examples/typescript/xy-draggable-range/package.json +1 -1
- package/examples/typescript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
- package/examples/typescript/xy-dumbbell plot/package.json +1 -1
- package/examples/typescript/xy-evenly-spaced-date-axis/package.json +1 -1
- package/examples/typescript/xy-line/package.json +1 -1
- package/examples/typescript/xy-line-highlight-on-legend-hover/package.json +1 -1
- package/examples/typescript/xy-live-data/package.json +1 -1
- package/examples/typescript/xy-multiple-synced-value-axes/package.json +1 -1
- package/examples/typescript/xy-ohlc/package.json +1 -1
- package/examples/typescript/xy-real-time-data-sorting/package.json +1 -1
- package/examples/typescript/xy-smoothed-line/package.json +1 -1
- package/examples/typescript/xy-stacked-and-clustered-column/package.json +1 -1
- package/examples/typescript/xy-stacked-column/package.json +1 -1
- package/examples/typescript/xy-stacked-step/package.json +1 -1
- package/examples/typescript/xy-stock/package.json +1 -1
- package/examples/typescript/xy-stock-comparing/package.json +1 -1
- package/map.d.ts +6 -1
- package/map.d.ts.map +1 -1
- package/map.js +12 -1
- package/map.js.map +1 -1
- package/package.json +2 -2
- package/.internal/charts/map/MapChartProjections.d.ts +0 -3
- package/.internal/charts/map/MapChartProjections.d.ts.map +0 -1
- package/.internal/charts/map/MapChartProjections.js +0 -20
- package/.internal/charts/map/MapChartProjections.js.map +0 -1
- package/.internal/charts/map/MapProjections.d.ts +0 -13
- package/.internal/charts/map/MapProjections.d.ts.map +0 -1
- package/.internal/charts/map/MapProjections.js +0 -15
- package/.internal/charts/map/MapProjections.js.map +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "amcharts5-example-timeline-horizontal-serpentine-chart",
|
|
4
4
|
"version": "0.1.0",
|
|
5
5
|
"devDependencies": {
|
|
6
|
-
"@amcharts/amcharts5": "^5.19.
|
|
6
|
+
"@amcharts/amcharts5": "^5.19.1",
|
|
7
7
|
"source-map-loader": "^4.0.1",
|
|
8
8
|
"ts-loader": "^9.2.2",
|
|
9
9
|
"typescript": "^4.3.4",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "amcharts5-example-xy-animated-bullet-at-the-end-of-the-series",
|
|
4
4
|
"version": "0.1.0",
|
|
5
5
|
"devDependencies": {
|
|
6
|
-
"@amcharts/amcharts5": "^5.19.
|
|
6
|
+
"@amcharts/amcharts5": "^5.19.1",
|
|
7
7
|
"source-map-loader": "^4.0.1",
|
|
8
8
|
"ts-loader": "^9.2.2",
|
|
9
9
|
"typescript": "^4.3.4",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "amcharts5-example-xy-comparing-series-google-analytics-style",
|
|
4
4
|
"version": "0.1.0",
|
|
5
5
|
"devDependencies": {
|
|
6
|
-
"@amcharts/amcharts5": "^5.19.
|
|
6
|
+
"@amcharts/amcharts5": "^5.19.1",
|
|
7
7
|
"source-map-loader": "^4.0.1",
|
|
8
8
|
"ts-loader": "^9.2.2",
|
|
9
9
|
"typescript": "^4.3.4",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "amcharts5-example-xy-drawing-series-with-mouse-or-touch",
|
|
4
4
|
"version": "0.1.0",
|
|
5
5
|
"devDependencies": {
|
|
6
|
-
"@amcharts/amcharts5": "^5.19.
|
|
6
|
+
"@amcharts/amcharts5": "^5.19.1",
|
|
7
7
|
"source-map-loader": "^4.0.1",
|
|
8
8
|
"ts-loader": "^9.2.2",
|
|
9
9
|
"typescript": "^4.3.4",
|
package/map.d.ts
CHANGED
|
@@ -11,7 +11,12 @@ export { MapSankeySeries, IMapSankeySeriesSettings, IMapSankeySeriesDataItem, IM
|
|
|
11
11
|
export { MapSeries, IMapSeriesSettings, IMapSeriesDataItem, IMapSeriesEvents, IMapSeriesPrivate } from "./.internal/charts/map/MapSeries";
|
|
12
12
|
export { ZoomControl, IZoomControlSettings, IZoomControlPrivate } from "./.internal/charts/map/ZoomControl";
|
|
13
13
|
export { getGeoRectangle, getGeoCircle, normalizeGeoPoint, getGeoCentroid, getGeoBounds, getGeoArea } from "./.internal/charts/map/MapUtils";
|
|
14
|
-
export
|
|
14
|
+
export declare const geoMercator: () => import("d3-geo").GeoProjection;
|
|
15
|
+
export declare const geoOrthographic: () => import("d3-geo").GeoProjection;
|
|
16
|
+
export declare const geoEquirectangular: () => import("d3-geo").GeoProjection;
|
|
17
|
+
export declare const geoAlbersUsa: () => import("d3-geo").GeoProjection;
|
|
18
|
+
export declare const geoEqualEarth: () => import("d3-geo").GeoProjection;
|
|
19
|
+
export declare const geoNaturalEarth1: () => import("d3-geo").GeoProjection;
|
|
15
20
|
import { MapChartDefaultTheme } from "./.internal/charts/map/MapChartDefaultTheme";
|
|
16
21
|
export { MapChartDefaultTheme as DefaultTheme };
|
|
17
22
|
//# sourceMappingURL=map.d.ts.map
|
package/map.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../src/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACtJ,OAAO,EAAE,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c,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAS7I,eAAO,MAAM,WAAW,sCAAoD,CAAC;AAC7E,eAAO,MAAM,eAAe,sCAA4D,CAAC;AACzF,eAAO,MAAM,kBAAkB,sCAAkE,CAAC;AAClG,eAAO,MAAM,YAAY,sCAAsD,CAAC;AAChF,eAAO,MAAM,aAAa,sCAAwD,CAAC;AACnF,eAAO,MAAM,gBAAgB,sCAA8D,CAAC;AAE5F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,oBAAoB,IAAI,YAAY,EAAE,CAAC"}
|
package/map.js
CHANGED
|
@@ -11,7 +11,18 @@ export { MapSankeySeries } from "./.internal/charts/map/MapSankeySeries";
|
|
|
11
11
|
export { MapSeries } from "./.internal/charts/map/MapSeries";
|
|
12
12
|
export { ZoomControl } from "./.internal/charts/map/ZoomControl";
|
|
13
13
|
export { getGeoRectangle, getGeoCircle, normalizeGeoPoint, getGeoCentroid, getGeoBounds, getGeoArea } from "./.internal/charts/map/MapUtils";
|
|
14
|
-
|
|
14
|
+
import { geoMercator as d3_geoMercator, geoOrthographic as d3_geoOrthographic, geoEquirectangular as d3_geoEquirectangular, geoAlbersUsa as d3_geoAlbersUsa, geoEqualEarth as d3_geoEqualEarth, geoNaturalEarth1 as d3_geoNaturalEarth1 } from "d3-geo";
|
|
15
|
+
import { registerProjection } from "./.internal/charts/map/MapChart";
|
|
16
|
+
// Register the bundled projections (so `projectionName` resolves whenever the map
|
|
17
|
+
// code is loaded, including script/CDN builds) and export the name-tagged
|
|
18
|
+
// factories (so charts that set `projection` directly still serialize back to a
|
|
19
|
+
// `projectionName`). registerProjection both registers and returns the tagged factory.
|
|
20
|
+
export const geoMercator = registerProjection("geoMercator", d3_geoMercator);
|
|
21
|
+
export const geoOrthographic = registerProjection("geoOrthographic", d3_geoOrthographic);
|
|
22
|
+
export const geoEquirectangular = registerProjection("geoEquirectangular", d3_geoEquirectangular);
|
|
23
|
+
export const geoAlbersUsa = registerProjection("geoAlbersUsa", d3_geoAlbersUsa);
|
|
24
|
+
export const geoEqualEarth = registerProjection("geoEqualEarth", d3_geoEqualEarth);
|
|
25
|
+
export const geoNaturalEarth1 = registerProjection("geoNaturalEarth1", d3_geoNaturalEarth1);
|
|
15
26
|
import { MapChartDefaultTheme } from "./.internal/charts/map/MapChartDefaultTheme";
|
|
16
27
|
export { MapChartDefaultTheme as DefaultTheme };
|
|
17
28
|
//# sourceMappingURL=map.js.map
|
package/map.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA+E,MAAM,wCAAwC,CAAC;AACtJ,OAAO,EAAE,QAAQ,EAAwD,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACzJ,OAAO,EAAE,OAAO,EAAqC,MAAM,gCAAgC,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAyE,MAAM,sCAAsC,CAAC;AAC5I,OAAO,EAAE,cAAc,EAA4E,MAAM,uCAAuC,CAAC;AACjJ,OAAO,EAAE,UAAU,EAA2C,MAAM,mCAAmC,CAAC;AACxG,OAAO,EAAE,gBAAgB,EAAkF,MAAM,yCAAyC,CAAC;AAC3J,OAAO,EAAE,oBAAoB,EAA8F,MAAM,6CAA6C,CAAC;AAC/K,OAAO,EAAE,cAAc,EAAmG,MAAM,uCAAuC,CAAC;AACxK,OAAO,EAAE,eAAe,EAA+F,MAAM,wCAAwC,CAAC;AACtK,OAAO,EAAE,SAAS,EAA+E,MAAM,kCAAkC,CAAC;AAC1I,OAAO,EAAE,WAAW,EAA6C,MAAM,oCAAoC,CAAC;AAC5G,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7I,OAAO,EAAE,WA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uFAAuF;AACvF,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AACzF,MAAM,CAAC,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,CAAC;AAClG,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;AAChF,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AACnF,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC;AAE5F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,oBAAoB,IAAI,YAAY,EAAE,CAAC","sourcesContent":["export { GraticuleSeries, IGraticuleSeriesSettings, IGraticuleSeriesDataItem, IGraticuleSeriesPrivate } from \"./.internal/charts/map/GraticuleSeries\";\nexport { MapChart, IMapChartSettings, IMapChartEvents, IMapChartPrivate, projectionRegistry, registerProjection } from \"./.internal/charts/map/MapChart\";\nexport { MapLine, IMapLineSettings, IMapLinePrivate } from \"./.internal/charts/map/MapLine\";\nexport { MapLineSeries, IMapLineSeriesSettings, IMapLineSeriesDataItem, IMapLineSeriesPrivate } from \"./.internal/charts/map/MapLineSeries\";\nexport { MapPointSeries, IMapPointSeriesSettings, IMapPointSeriesDataItem, IMapPointSeriesPrivate } from \"./.internal/charts/map/MapPointSeries\";\nexport { MapPolygon, IMapPolygonSettings, IMapPolygonPrivate } from \"./.internal/charts/map/MapPolygon\";\nexport { MapPolygonSeries, IMapPolygonSeriesSettings, IMapPolygonSeriesDataItem, IMapPolygonSeriesPrivate } from \"./.internal/charts/map/MapPolygonSeries\";\nexport { ClusteredPointSeries, IClusteredPointSeriesSettings, IClusteredPointSeriesDataItem, IClusteredPointSeriesPrivate } from \"./.internal/charts/map/ClusteredPointSeries\";\nexport { MapSankeyNodes, IMapSankeyNodesSettings, IMapSankeyNodesDataItem, IMapSankeyNodesPrivate, IMapSankeyNodesEvents } from \"./.internal/charts/map/MapSankeyNodes\";\nexport { MapSankeySeries, IMapSankeySeriesSettings, IMapSankeySeriesDataItem, IMapSankeySeriesPrivate, IBezierSegment } from \"./.internal/charts/map/MapSankeySeries\";\nexport { MapSeries, IMapSeriesSettings, IMapSeriesDataItem, IMapSeriesEvents, IMapSeriesPrivate } from \"./.internal/charts/map/MapSeries\";\nexport { ZoomControl, IZoomControlSettings, IZoomControlPrivate } from \"./.internal/charts/map/ZoomControl\";\nexport { getGeoRectangle, getGeoCircle, normalizeGeoPoint, getGeoCentroid, getGeoBounds, getGeoArea } from \"./.internal/charts/map/MapUtils\";\n\nimport { geoMercator as d3_geoMercator, geoOrthographic as d3_geoOrthographic, geoEquirectangular as d3_geoEquirectangular, geoAlbersUsa as d3_geoAlbersUsa, geoEqualEarth as d3_geoEqualEarth, geoNaturalEarth1 as d3_geoNaturalEarth1 } from \"d3-geo\";\nimport { registerProjection } from \"./.internal/charts/map/MapChart\";\n\n// Register the bundled projections (so `projectionName` resolves whenever the map\n// code is loaded, including script/CDN builds) and export the name-tagged\n// factories (so charts that set `projection` directly still serialize back to a\n// `projectionName`). registerProjection both registers and returns the tagged factory.\nexport const geoMercator = registerProjection(\"geoMercator\", d3_geoMercator);\nexport const geoOrthographic = registerProjection(\"geoOrthographic\", d3_geoOrthographic);\nexport const geoEquirectangular = registerProjection(\"geoEquirectangular\", d3_geoEquirectangular);\nexport const geoAlbersUsa = registerProjection(\"geoAlbersUsa\", d3_geoAlbersUsa);\nexport const geoEqualEarth = registerProjection(\"geoEqualEarth\", d3_geoEqualEarth);\nexport const geoNaturalEarth1 = registerProjection(\"geoNaturalEarth1\", d3_geoNaturalEarth1);\n\nimport { MapChartDefaultTheme } from \"./.internal/charts/map/MapChartDefaultTheme\";\nexport { MapChartDefaultTheme as DefaultTheme };"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amcharts/amcharts5",
|
|
3
|
-
"version": "5.19.
|
|
3
|
+
"version": "5.19.1",
|
|
4
4
|
"author": "amCharts <contact@amcharts.com> (https://www.amcharts.com/)",
|
|
5
5
|
"description": "amCharts 5",
|
|
6
6
|
"homepage": "https://www.amcharts.com/",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"main": "index.js",
|
|
23
23
|
"module": "index.js",
|
|
24
24
|
"sideEffects": [
|
|
25
|
-
"**/
|
|
25
|
+
"**/map.{ts,js}"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@types/d3": "^7.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapChartProjections.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/charts/map/MapChartProjections.ts"],"names":[],"mappings":"AAAA,cAAc,CAAA,MAAM"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/** @ignore */ /** */
|
|
2
|
-
/**
|
|
3
|
-
* Side-effect-only module that registers the bundled d3-geo projections so they
|
|
4
|
-
* can be referenced by name via `MapChart`'s `projectionName` setting.
|
|
5
|
-
*
|
|
6
|
-
* This is imported lazily by the JSON config loader, so the projections are only
|
|
7
|
-
* pulled into the bundle when JSON (or this module) is actually used — keeping
|
|
8
|
-
* them out of the bundle for code-only consumers that set `projection` directly.
|
|
9
|
-
*/
|
|
10
|
-
import { projectionRegistry } from "./MapChart";
|
|
11
|
-
import { geoMercator, geoOrthographic, geoEquirectangular, geoAlbersUsa, geoEqualEarth, geoNaturalEarth1 } from "./MapProjections";
|
|
12
|
-
// Register the same name-tagged factories that `am5map` exports, so there is a
|
|
13
|
-
// single tagging path shared between the public exports and the registry.
|
|
14
|
-
projectionRegistry["geoMercator"] = geoMercator;
|
|
15
|
-
projectionRegistry["geoOrthographic"] = geoOrthographic;
|
|
16
|
-
projectionRegistry["geoEquirectangular"] = geoEquirectangular;
|
|
17
|
-
projectionRegistry["geoAlbersUsa"] = geoAlbersUsa;
|
|
18
|
-
projectionRegistry["geoEqualEarth"] = geoEqualEarth;
|
|
19
|
-
projectionRegistry["geoNaturalEarth1"] = geoNaturalEarth1;
|
|
20
|
-
//# sourceMappingURL=MapChartProjections.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapChartProjections.js","sourceRoot":"","sources":["../../../../../src/.internal/charts/map/MapChartProjections.ts"],"names":[],"mappings":"AAAA,cAAc,CAAA,MAAM;AAEpB;;;;;;;GAOG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEnI,+EAA+E;AAC/E,0EAA0E;AAC1E,kBAAkB,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;AAChD,kBAAkB,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAC;AACxD,kBAAkB,CAAC,oBAAoB,CAAC,GAAG,kBAAkB,CAAC;AAC9D,kBAAkB,CAAC,cAAc,CAAC,GAAG,YAAY,CAAC;AAClD,kBAAkB,CAAC,eAAe,CAAC,GAAG,aAAa,CAAC;AACpD,kBAAkB,CAAC,kBAAkB,CAAC,GAAG,gBAAgB,CAAC","sourcesContent":["/** @ignore *//** */\n\n/**\n * Side-effect-only module that registers the bundled d3-geo projections so they\n * can be referenced by name via `MapChart`'s `projectionName` setting.\n *\n * This is imported lazily by the JSON config loader, so the projections are only\n * pulled into the bundle when JSON (or this module) is actually used — keeping\n * them out of the bundle for code-only consumers that set `projection` directly.\n */\n\nimport { projectionRegistry } from \"./MapChart\";\nimport { geoMercator, geoOrthographic, geoEquirectangular, geoAlbersUsa, geoEqualEarth, geoNaturalEarth1 } from \"./MapProjections\";\n\n// Register the same name-tagged factories that `am5map` exports, so there is a\n// single tagging path shared between the public exports and the registry.\nprojectionRegistry[\"geoMercator\"] = geoMercator;\nprojectionRegistry[\"geoOrthographic\"] = geoOrthographic;\nprojectionRegistry[\"geoEquirectangular\"] = geoEquirectangular;\nprojectionRegistry[\"geoAlbersUsa\"] = geoAlbersUsa;\nprojectionRegistry[\"geoEqualEarth\"] = geoEqualEarth;\nprojectionRegistry[\"geoNaturalEarth1\"] = geoNaturalEarth1;\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** @ignore */ /** */
|
|
2
|
-
/**
|
|
3
|
-
* The bundled d3-geo projections, name-tagged so charts that use them can be
|
|
4
|
-
* serialized back to a `projectionName`. These are re-exported by the `am5map`
|
|
5
|
-
* entry point (e.g. `am5map.geoOrthographic()`).
|
|
6
|
-
*/
|
|
7
|
-
export declare const geoMercator: () => import("d3-geo").GeoProjection;
|
|
8
|
-
export declare const geoOrthographic: () => import("d3-geo").GeoProjection;
|
|
9
|
-
export declare const geoEquirectangular: () => import("d3-geo").GeoProjection;
|
|
10
|
-
export declare const geoAlbersUsa: () => import("d3-geo").GeoProjection;
|
|
11
|
-
export declare const geoEqualEarth: () => import("d3-geo").GeoProjection;
|
|
12
|
-
export declare const geoNaturalEarth1: () => import("d3-geo").GeoProjection;
|
|
13
|
-
//# sourceMappingURL=MapProjections.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapProjections.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/charts/map/MapProjections.ts"],"names":[],"mappings":"AAAA,cAAc,CAAA,MAAM;AAKpB;;;;GAIG;AACH,eAAO,MAAM,WAAW,sCAA+C,CAAC;AACxE,eAAO,MAAM,eAAe,sCAAuD,CAAC;AACpF,eAAO,MAAM,kBAAkB,sCAA6D,CAAC;AAC7F,eAAO,MAAM,YAAY,sCAAiD,CAAC;AAC3E,eAAO,MAAM,aAAa,sCAAmD,CAAC;AAC9E,eAAO,MAAM,gBAAgB,sCAAyD,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** @ignore */ /** */
|
|
2
|
-
import { geoMercator as d3_geoMercator, geoOrthographic as d3_geoOrthographic, geoEquirectangular as d3_geoEquirectangular, geoAlbersUsa as d3_geoAlbersUsa, geoEqualEarth as d3_geoEqualEarth, geoNaturalEarth1 as d3_geoNaturalEarth1 } from "d3-geo";
|
|
3
|
-
import { tagProjection } from "./MapChart";
|
|
4
|
-
/**
|
|
5
|
-
* The bundled d3-geo projections, name-tagged so charts that use them can be
|
|
6
|
-
* serialized back to a `projectionName`. These are re-exported by the `am5map`
|
|
7
|
-
* entry point (e.g. `am5map.geoOrthographic()`).
|
|
8
|
-
*/
|
|
9
|
-
export const geoMercator = tagProjection("geoMercator", d3_geoMercator);
|
|
10
|
-
export const geoOrthographic = tagProjection("geoOrthographic", d3_geoOrthographic);
|
|
11
|
-
export const geoEquirectangular = tagProjection("geoEquirectangular", d3_geoEquirectangular);
|
|
12
|
-
export const geoAlbersUsa = tagProjection("geoAlbersUsa", d3_geoAlbersUsa);
|
|
13
|
-
export const geoEqualEarth = tagProjection("geoEqualEarth", d3_geoEqualEarth);
|
|
14
|
-
export const geoNaturalEarth1 = tagProjection("geoNaturalEarth1", d3_geoNaturalEarth1);
|
|
15
|
-
//# sourceMappingURL=MapProjections.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MapProjections.js","sourceRoot":"","sources":["../../../../../src/.internal/charts/map/MapProjections.ts"],"names":[],"mappings":"AAAA,cAAc,CAAA,MAAM;AAEpB,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,eAAe,IAAI,kBAAkB,EAAE,kBAAkB,IAAI,qBAAqB,EAAE,YAAY,IAAI,eAAe,EAAE,aAAa,IAAI,gBAAgB,EAAE,gBAAgB,IAAI,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AACxP,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC;AACxE,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AACpF,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,CAAC;AAC7F,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AAC9E,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC","sourcesContent":["/** @ignore *//** */\n\nimport { geoMercator as d3_geoMercator, geoOrthographic as d3_geoOrthographic, geoEquirectangular as d3_geoEquirectangular, geoAlbersUsa as d3_geoAlbersUsa, geoEqualEarth as d3_geoEqualEarth, geoNaturalEarth1 as d3_geoNaturalEarth1 } from \"d3-geo\";\nimport { tagProjection } from \"./MapChart\";\n\n/**\n * The bundled d3-geo projections, name-tagged so charts that use them can be\n * serialized back to a `projectionName`. These are re-exported by the `am5map`\n * entry point (e.g. `am5map.geoOrthographic()`).\n */\nexport const geoMercator = tagProjection(\"geoMercator\", d3_geoMercator);\nexport const geoOrthographic = tagProjection(\"geoOrthographic\", d3_geoOrthographic);\nexport const geoEquirectangular = tagProjection(\"geoEquirectangular\", d3_geoEquirectangular);\nexport const geoAlbersUsa = tagProjection(\"geoAlbersUsa\", d3_geoAlbersUsa);\nexport const geoEqualEarth = tagProjection(\"geoEqualEarth\", d3_geoEqualEarth);\nexport const geoNaturalEarth1 = tagProjection(\"geoNaturalEarth1\", d3_geoNaturalEarth1);\n"]}
|