@performant-software/geospatial 3.1.3-beta.0 → 3.1.3-beta.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/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs236.js +7 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -7
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +9 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +17 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -9
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -17
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +743 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs80.js +1 -743
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.es14.js +2 -2
- package/dist/index.es15.js +4 -4
- package/dist/index.es16.js +3 -3
- package/dist/index.es17.js +3 -3
- package/dist/index.es18.js +1 -1
- package/dist/index.es186.js +144 -239
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +6 -42
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +5 -3
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +3 -13
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es190.js +3 -13
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +33 -28
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +3 -16
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +22 -4
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +2 -150
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +3 -9
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +2 -7
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +33 -3
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +14 -2
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +13 -35
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +11 -3
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +242 -22
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +45 -2
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +5 -3
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +13 -2
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +10 -30
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +31 -13
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +13 -13
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +4 -8
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es211.js +1 -1
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es231.js +1 -1
- package/dist/index.es236.js +7506 -20
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +2 -23
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +5 -7506
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +3 -2
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +8 -3
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +19 -6
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +22 -5
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es244.js +1 -1
- package/dist/index.es247.js +1 -1
- package/dist/index.es248.js +1 -1
- package/dist/index.es250.js +1 -1
- package/dist/index.es253.js +2 -2
- package/dist/index.es254.js +1 -1
- package/dist/index.es255.js +2 -2
- package/dist/index.es258.js +1 -1
- package/dist/index.es259.js +1 -1
- package/dist/index.es261.js +69 -2
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +4 -15
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +15 -4
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +2 -69
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es27.js +1 -1
- package/dist/index.es28.js +2 -2
- package/dist/index.es29.js +2 -2
- package/dist/index.es31.js +2 -2
- package/dist/index.es33.js +2 -2
- package/dist/index.es34.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es70.js +12 -12
- package/dist/index.es71.js +7 -1992
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +2 -6
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +26 -2
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +588 -7
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +1993 -2
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +5 -25
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +2 -589
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +21350 -104
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +2 -10
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es80.js +104 -21350
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +10 -2
- package/dist/index.es81.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es239.js
CHANGED
package/dist/index.es239.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es239.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index.es239.js","sources":["../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["hasObjectTag","tagTester"],"mappings":";AAEA,MAAAA,IAAeC,EAAU,QAAQ;","x_google_ignoreList":[0]}
|
package/dist/index.es24.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo as e, useEffect as l } from "react";
|
|
2
|
-
import { applyReactStyle as r } from "./index.
|
|
2
|
+
import { applyReactStyle as r } from "./index.es205.js";
|
|
3
3
|
import { useControl as i } from "./index.es25.js";
|
|
4
4
|
function m(o) {
|
|
5
5
|
const t = i(({ mapLib: n }) => new n.LogoControl(o), { position: o.position });
|
package/dist/index.es240.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { MAX_ARRAY_INDEX as o } from "./index.es36.js";
|
|
2
|
+
function u(e) {
|
|
3
|
+
return function(t) {
|
|
4
|
+
var r = e(t);
|
|
5
|
+
return typeof r == "number" && r >= 0 && r <= o;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
3
8
|
export {
|
|
4
|
-
|
|
9
|
+
u as default
|
|
5
10
|
};
|
|
6
11
|
//# sourceMappingURL=index.es240.js.map
|
package/dist/index.es240.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es240.js","sources":["../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es240.js","sources":["../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":";AAGA,SAAwBA,EAAwBC,GAAiB;AAC/D,SAAO,SAASC,GAAY;AAC1B,QAAIC,IAAeF,EAAgBC,CAAU;AAC7C,WAAO,OAAOC,KAAgB,YAAYA,KAAgB,KAAKA,KAAgBC;AAAA,EACjF;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es241.js
CHANGED
|
@@ -1,11 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
return
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { deepEqual as a } from "./index.es206.js";
|
|
2
|
+
function g(i) {
|
|
3
|
+
return {
|
|
4
|
+
longitude: i.center.lng,
|
|
5
|
+
latitude: i.center.lat,
|
|
6
|
+
zoom: i.zoom,
|
|
7
|
+
pitch: i.pitch,
|
|
8
|
+
bearing: i.bearing,
|
|
9
|
+
padding: i.padding
|
|
6
10
|
};
|
|
7
11
|
}
|
|
12
|
+
function c(i, t) {
|
|
13
|
+
const n = t.viewState || t, e = {};
|
|
14
|
+
if ("longitude" in n && "latitude" in n && (n.longitude !== i.center.lng || n.latitude !== i.center.lat)) {
|
|
15
|
+
const o = i.center.constructor;
|
|
16
|
+
e.center = new o(n.longitude, n.latitude);
|
|
17
|
+
}
|
|
18
|
+
return "zoom" in n && n.zoom !== i.zoom && (e.zoom = n.zoom), "bearing" in n && n.bearing !== i.bearing && (e.bearing = n.bearing), "pitch" in n && n.pitch !== i.pitch && (e.pitch = n.pitch), n.padding && i.padding && !a(n.padding, i.padding) && (e.padding = n.padding), e;
|
|
19
|
+
}
|
|
8
20
|
export {
|
|
9
|
-
|
|
21
|
+
c as applyViewStateToTransform,
|
|
22
|
+
g as transformToViewState
|
|
10
23
|
};
|
|
11
24
|
//# sourceMappingURL=index.es241.js.map
|
package/dist/index.es241.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es241.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es241.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/transform.js"],"sourcesContent":["import { deepEqual } from \"./deep-equal.js\";\n/**\n * Capture a transform's current state\n * @param transform\n * @returns descriptor of the view state\n */\nexport function transformToViewState(tr) {\n return {\n longitude: tr.center.lng,\n latitude: tr.center.lat,\n zoom: tr.zoom,\n pitch: tr.pitch,\n bearing: tr.bearing,\n padding: tr.padding\n };\n}\n/* eslint-disable complexity */\n/**\n * Applies requested view state to a transform\n * @returns an object containing detected changes\n */\nexport function applyViewStateToTransform(\n/** An object that describes Maplibre's camera state */\ntr, \n/** Props from Map component */\nprops) {\n const v = props.viewState || props;\n const changes = {};\n if ('longitude' in v &&\n 'latitude' in v &&\n (v.longitude !== tr.center.lng || v.latitude !== tr.center.lat)) {\n const LngLat = tr.center.constructor;\n // @ts-expect-error we should not import LngLat class from maplibre-gl because we don't know the source of mapLib\n changes.center = new LngLat(v.longitude, v.latitude);\n }\n if ('zoom' in v && v.zoom !== tr.zoom) {\n changes.zoom = v.zoom;\n }\n if ('bearing' in v && v.bearing !== tr.bearing) {\n changes.bearing = v.bearing;\n }\n if ('pitch' in v && v.pitch !== tr.pitch) {\n changes.pitch = v.pitch;\n }\n if (v.padding && tr.padding && !deepEqual(v.padding, tr.padding)) {\n changes.padding = v.padding;\n }\n return changes;\n}\n//# sourceMappingURL=transform.js.map"],"names":["transformToViewState","tr","applyViewStateToTransform","props","v","changes","LngLat","deepEqual"],"mappings":";AAMO,SAASA,EAAqBC,GAAI;AACrC,SAAO;AAAA,IACH,WAAWA,EAAG,OAAO;AAAA,IACrB,UAAUA,EAAG,OAAO;AAAA,IACpB,MAAMA,EAAG;AAAA,IACT,OAAOA,EAAG;AAAA,IACV,SAASA,EAAG;AAAA,IACZ,SAASA,EAAG;AAAA,EAAA;AAEpB;AAMO,SAASC,EAEhBD,GAEAE,GAAO;AACH,QAAMC,IAAID,EAAM,aAAaA,GACvBE,IAAU,CAAA;AAChB,MAAI,eAAeD,KACf,cAAcA,MACbA,EAAE,cAAcH,EAAG,OAAO,OAAOG,EAAE,aAAaH,EAAG,OAAO,MAAM;AACjE,UAAMK,IAASL,EAAG,OAAO;AAEzB,IAAAI,EAAQ,SAAS,IAAIC,EAAOF,EAAE,WAAWA,EAAE,QAAQ;AAAA,EACvD;AACA,SAAI,UAAUA,KAAKA,EAAE,SAASH,EAAG,SAC7BI,EAAQ,OAAOD,EAAE,OAEjB,aAAaA,KAAKA,EAAE,YAAYH,EAAG,YACnCI,EAAQ,UAAUD,EAAE,UAEpB,WAAWA,KAAKA,EAAE,UAAUH,EAAG,UAC/BI,EAAQ,QAAQD,EAAE,QAElBA,EAAE,WAAWH,EAAG,WAAW,CAACM,EAAUH,EAAE,SAASH,EAAG,OAAO,MAC3DI,EAAQ,UAAUD,EAAE,UAEjBC;AACX;","x_google_ignoreList":[0]}
|
package/dist/index.es242.js
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const a = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"];
|
|
2
|
+
function c(r) {
|
|
3
|
+
if (!r)
|
|
4
|
+
return null;
|
|
5
|
+
if (typeof r == "string" || ("toJS" in r && (r = r.toJS()), !r.layers))
|
|
6
|
+
return r;
|
|
7
|
+
const t = {};
|
|
8
|
+
for (const e of r.layers)
|
|
9
|
+
t[e.id] = e;
|
|
10
|
+
const f = r.layers.map((e) => {
|
|
11
|
+
let n = null;
|
|
12
|
+
"interactive" in e && (n = Object.assign({}, e), delete n.interactive);
|
|
13
|
+
const o = t[e.ref];
|
|
14
|
+
if (o) {
|
|
15
|
+
n = n || Object.assign({}, e), delete n.ref;
|
|
16
|
+
for (const i of a)
|
|
17
|
+
i in o && (n[i] = o[i]);
|
|
18
|
+
}
|
|
19
|
+
return n || e;
|
|
20
|
+
});
|
|
21
|
+
return { ...r, layers: f };
|
|
5
22
|
}
|
|
6
23
|
export {
|
|
7
|
-
|
|
24
|
+
c as normalizeStyle
|
|
8
25
|
};
|
|
9
26
|
//# sourceMappingURL=index.es242.js.map
|
package/dist/index.es242.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es242.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es242.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/style-utils.js"],"sourcesContent":["const refProps = ['type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', 'layout'];\n// Prepare a map style object for diffing\n// If immutable - convert to plain object\n// Work around some issues in older styles that would fail Mapbox's diffing\nexport function normalizeStyle(style) {\n if (!style) {\n return null;\n }\n if (typeof style === 'string') {\n return style;\n }\n if ('toJS' in style) {\n style = style.toJS();\n }\n if (!style.layers) {\n return style;\n }\n const layerIndex = {};\n for (const layer of style.layers) {\n layerIndex[layer.id] = layer;\n }\n const layers = style.layers.map(layer => {\n let normalizedLayer = null;\n if ('interactive' in layer) {\n normalizedLayer = Object.assign({}, layer);\n // Breaks style diffing :(\n // @ts-ignore legacy field not typed\n delete normalizedLayer.interactive;\n }\n // Style diffing doesn't work with refs so expand them out manually before diffing.\n // @ts-ignore legacy field not typed\n const layerRef = layerIndex[layer.ref];\n if (layerRef) {\n normalizedLayer = normalizedLayer || Object.assign({}, layer);\n // @ts-ignore\n delete normalizedLayer.ref;\n // https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/deref.js\n for (const propName of refProps) {\n if (propName in layerRef) {\n normalizedLayer[propName] = layerRef[propName];\n }\n }\n }\n return normalizedLayer || layer;\n });\n // Do not mutate the style object provided by the user\n return { ...style, layers };\n}\n//# sourceMappingURL=style-utils.js.map"],"names":["refProps","normalizeStyle","style","layerIndex","layer","layers","normalizedLayer","layerRef","propName"],"mappings":"AAAA,MAAMA,IAAW,CAAC,QAAQ,UAAU,gBAAgB,WAAW,WAAW,UAAU,QAAQ;AAIrF,SAASC,EAAeC,GAAO;AAClC,MAAI,CAACA;AACD,WAAO;AAQX,MANI,OAAOA,KAAU,aAGjB,UAAUA,MACVA,IAAQA,EAAM,KAAA,IAEd,CAACA,EAAM;AACP,WAAOA;AAEX,QAAMC,IAAa,CAAA;AACnB,aAAWC,KAASF,EAAM;AACtB,IAAAC,EAAWC,EAAM,EAAE,IAAIA;AAE3B,QAAMC,IAASH,EAAM,OAAO,IAAI,CAAAE,MAAS;AACrC,QAAIE,IAAkB;AACtB,IAAI,iBAAiBF,MACjBE,IAAkB,OAAO,OAAO,CAAA,GAAIF,CAAK,GAGzC,OAAOE,EAAgB;AAI3B,UAAMC,IAAWJ,EAAWC,EAAM,GAAG;AACrC,QAAIG,GAAU;AACV,MAAAD,IAAkBA,KAAmB,OAAO,OAAO,CAAA,GAAIF,CAAK,GAE5D,OAAOE,EAAgB;AAEvB,iBAAWE,KAAYR;AACnB,QAAIQ,KAAYD,MACZD,EAAgBE,CAAQ,IAAID,EAASC,CAAQ;AAAA,IAGzD;AACA,WAAOF,KAAmBF;AAAA,EAC9B,CAAC;AAED,SAAO,EAAE,GAAGF,GAAO,QAAAG,EAAA;AACvB;","x_google_ignoreList":[0]}
|
package/dist/index.es244.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spherical as p, cartesian as x, cartesianNormalizeInPlace as z } from "./index.es245.js";
|
|
2
2
|
import { tau as l, acos as I, epsilon as N, cos as v, sin as R } from "./index.es246.js";
|
|
3
|
-
import "./index.
|
|
3
|
+
import "./index.es191.js";
|
|
4
4
|
function g(m, r, e, c, a, s) {
|
|
5
5
|
if (e) {
|
|
6
6
|
var u = v(r), o = R(r), n = c * e;
|
package/dist/index.es247.js
CHANGED
|
@@ -2,7 +2,7 @@ import { abs as q, epsilon as z } from "./index.es246.js";
|
|
|
2
2
|
import X from "./index.es248.js";
|
|
3
3
|
import Y from "./index.es249.js";
|
|
4
4
|
import Z from "./index.es250.js";
|
|
5
|
-
import "./index.
|
|
5
|
+
import "./index.es192.js";
|
|
6
6
|
import $ from "./index.es251.js";
|
|
7
7
|
var S = 1e9, B = -S;
|
|
8
8
|
function en(c, _, E, u) {
|
package/dist/index.es248.js
CHANGED
package/dist/index.es250.js
CHANGED
package/dist/index.es253.js
CHANGED
|
@@ -4,8 +4,8 @@ import { clipExtent as F } from "./index.es247.js";
|
|
|
4
4
|
import H from "./index.es256.js";
|
|
5
5
|
import T from "./index.es257.js";
|
|
6
6
|
import { radians as n, degrees as i, sqrt as I } from "./index.es246.js";
|
|
7
|
-
import { rotateRadians as J } from "./index.
|
|
8
|
-
import { transformer as K } from "./index.
|
|
7
|
+
import { rotateRadians as J } from "./index.es191.js";
|
|
8
|
+
import { transformer as K } from "./index.es197.js";
|
|
9
9
|
import { fitExtent as N, fitSize as O } from "./index.es258.js";
|
|
10
10
|
import w from "./index.es259.js";
|
|
11
11
|
var Q = K({
|
package/dist/index.es254.js
CHANGED
package/dist/index.es255.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cartesian as Q, cartesianCross as T, cartesianDot as R, cartesianScale as g, cartesianAddInPlace as y, spherical as U } from "./index.es245.js";
|
|
2
2
|
import { circleStream as $ } from "./index.es244.js";
|
|
3
3
|
import { pi as v, cos as F, epsilon as x, abs as G, sqrt as b } from "./index.es246.js";
|
|
4
|
-
import J from "./index.
|
|
5
|
-
import m from "./index.
|
|
4
|
+
import J from "./index.es262.js";
|
|
5
|
+
import m from "./index.es261.js";
|
|
6
6
|
function fn(S, V) {
|
|
7
7
|
var A = F(S), C = A > 0, W = G(A) > x;
|
|
8
8
|
function X(n, i, o, e) {
|
package/dist/index.es258.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c from "./index.es260.js";
|
|
2
|
-
import n from "./index.
|
|
2
|
+
import n from "./index.es263.js";
|
|
3
3
|
function S(l, a, r) {
|
|
4
4
|
var f = a[1][0] - a[0][0], m = a[1][1] - a[0][1], i = l.clipExtent && l.clipExtent();
|
|
5
5
|
l.scale(150).translate([0, 0]), i != null && l.clipExtent(null), c(r, l.stream(n));
|
package/dist/index.es259.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cartesian as J } from "./index.es245.js";
|
|
2
2
|
import { atan2 as K, asin as O, abs as B, sqrt as Q, cos as R, radians as U, epsilon as H } from "./index.es246.js";
|
|
3
|
-
import { transformer as V } from "./index.
|
|
3
|
+
import { transformer as V } from "./index.es197.js";
|
|
4
4
|
var I = 16, W = R(30 * U);
|
|
5
5
|
function h(e, t) {
|
|
6
6
|
return +t ? Y(e, t) : X(e);
|
package/dist/index.es261.js
CHANGED
|
@@ -1,6 +1,73 @@
|
|
|
1
|
-
|
|
1
|
+
import A from "./index.es248.js";
|
|
2
|
+
import D from "./index.es250.js";
|
|
3
|
+
import { halfPi as S, epsilon as R } from "./index.es246.js";
|
|
4
|
+
import F from "./index.es193.js";
|
|
5
|
+
import "./index.es192.js";
|
|
6
|
+
import G from "./index.es251.js";
|
|
7
|
+
function T(e, p, m, v) {
|
|
8
|
+
return function(g, n) {
|
|
9
|
+
var d = p(n), j = g.invert(v[0], v[1]), h = A(), c = p(h), l = !1, a, f, u, r = {
|
|
10
|
+
point: y,
|
|
11
|
+
lineStart: x,
|
|
12
|
+
lineEnd: s,
|
|
13
|
+
polygonStart: function() {
|
|
14
|
+
r.point = B, r.lineStart = w, r.lineEnd = z, f = [], a = [];
|
|
15
|
+
},
|
|
16
|
+
polygonEnd: function() {
|
|
17
|
+
r.point = y, r.lineStart = x, r.lineEnd = s, f = G(f);
|
|
18
|
+
var o = F(a, j);
|
|
19
|
+
f.length ? (l || (n.polygonStart(), l = !0), D(f, J, o, m, n)) : o && (l || (n.polygonStart(), l = !0), n.lineStart(), m(null, null, 1, n), n.lineEnd()), l && (n.polygonEnd(), l = !1), f = a = null;
|
|
20
|
+
},
|
|
21
|
+
sphere: function() {
|
|
22
|
+
n.polygonStart(), n.lineStart(), m(null, null, 1, n), n.lineEnd(), n.polygonEnd();
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
function y(o, t) {
|
|
26
|
+
var i = g(o, t);
|
|
27
|
+
e(o = i[0], t = i[1]) && n.point(o, t);
|
|
28
|
+
}
|
|
29
|
+
function q(o, t) {
|
|
30
|
+
var i = g(o, t);
|
|
31
|
+
d.point(i[0], i[1]);
|
|
32
|
+
}
|
|
33
|
+
function x() {
|
|
34
|
+
r.point = q, d.lineStart();
|
|
35
|
+
}
|
|
36
|
+
function s() {
|
|
37
|
+
r.point = y, d.lineEnd();
|
|
38
|
+
}
|
|
39
|
+
function B(o, t) {
|
|
40
|
+
u.push([o, t]);
|
|
41
|
+
var i = g(o, t);
|
|
42
|
+
c.point(i[0], i[1]);
|
|
43
|
+
}
|
|
44
|
+
function w() {
|
|
45
|
+
c.lineStart(), u = [];
|
|
46
|
+
}
|
|
47
|
+
function z() {
|
|
48
|
+
B(u[0][0], u[0][1]), c.lineEnd();
|
|
49
|
+
var o = c.clean(), t = h.result(), i, I = t.length, P, E, C;
|
|
50
|
+
if (u.pop(), a.push(u), u = null, !!I) {
|
|
51
|
+
if (o & 1) {
|
|
52
|
+
if (E = t[0], (P = E.length - 1) > 0) {
|
|
53
|
+
for (l || (n.polygonStart(), l = !0), n.lineStart(), i = 0; i < P; ++i) n.point((C = E[i])[0], C[1]);
|
|
54
|
+
n.lineEnd();
|
|
55
|
+
}
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
I > 1 && o & 2 && t.push(t.pop().concat(t.shift())), f.push(t.filter(H));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return r;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function H(e) {
|
|
65
|
+
return e.length > 1;
|
|
66
|
+
}
|
|
67
|
+
function J(e, p) {
|
|
68
|
+
return ((e = e.x)[0] < 0 ? e[1] - S - R : S - e[1]) - ((p = p.x)[0] < 0 ? p[1] - S - R : S - p[1]);
|
|
2
69
|
}
|
|
3
70
|
export {
|
|
4
|
-
|
|
71
|
+
T as default
|
|
5
72
|
};
|
|
6
73
|
//# sourceMappingURL=index.es261.js.map
|
package/dist/index.es261.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es261.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es261.js","sources":["../../../node_modules/d3-geo/src/clip/index.js"],"sourcesContent":["import clipBuffer from \"./buffer\";\nimport clipPolygon from \"./polygon\";\nimport {epsilon, halfPi} from \"../math\";\nimport polygonContains from \"../polygonContains\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(rotate, sink) {\n var line = clipLine(sink),\n rotatedStart = rotate.invert(start[0], start[1]),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n"],"names":["clip","pointVisible","clipLine","interpolate","start","rotate","sink","line","rotatedStart","ringBuffer","clipBuffer","ringSink","polygonStarted","polygon","segments","ring","point","lineStart","lineEnd","pointRing","ringStart","ringEnd","merge","startInside","polygonContains","clipPolygon","compareIntersection","lambda","phi","pointLine","clean","ringSegments","n","m","segment","validSegment","a","b","halfPi","epsilon"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.es262.js
CHANGED
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import r from "./index.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
lineStart: r,
|
|
5
|
-
lineEnd: r,
|
|
6
|
-
polygonStart: r,
|
|
7
|
-
polygonEnd: r,
|
|
8
|
-
result: function() {
|
|
9
|
-
var n = [[o, f], [t, a]];
|
|
10
|
-
return t = a = -(f = o = 1 / 0), n;
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
function u(n, i) {
|
|
14
|
-
n < o && (o = n), n > t && (t = n), i < f && (f = i), i > a && (a = i);
|
|
1
|
+
import { abs as n, epsilon as r } from "./index.es246.js";
|
|
2
|
+
function i(o, t) {
|
|
3
|
+
return n(o[0] - t[0]) < r && n(o[1] - t[1]) < r;
|
|
15
4
|
}
|
|
16
5
|
export {
|
|
17
|
-
|
|
6
|
+
i as default
|
|
18
7
|
};
|
|
19
8
|
//# sourceMappingURL=index.es262.js.map
|
package/dist/index.es262.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es262.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es262.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":";AAEA,SAAAA,EAAwBC,GAAGC,GAAG;AAC5B,SAAOC,EAAIF,EAAE,CAAC,IAAIC,EAAE,CAAC,CAAC,IAAIE,KAAWD,EAAIF,EAAE,CAAC,IAAIC,EAAE,CAAC,CAAC,IAAIE;AAC1D;","x_google_ignoreList":[0]}
|
package/dist/index.es263.js
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import r from "./index.es264.js";
|
|
2
|
+
var o = 1 / 0, f = o, t = -o, a = t, d = {
|
|
3
|
+
point: u,
|
|
4
|
+
lineStart: r,
|
|
5
|
+
lineEnd: r,
|
|
6
|
+
polygonStart: r,
|
|
7
|
+
polygonEnd: r,
|
|
8
|
+
result: function() {
|
|
9
|
+
var n = [[o, f], [t, a]];
|
|
10
|
+
return t = a = -(f = o = 1 / 0), n;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
function u(n, i) {
|
|
14
|
+
n < o && (o = n), n > t && (t = n), i < f && (f = i), i > a && (a = i);
|
|
4
15
|
}
|
|
5
16
|
export {
|
|
6
|
-
|
|
17
|
+
d as default
|
|
7
18
|
};
|
|
8
19
|
//# sourceMappingURL=index.es263.js.map
|
package/dist/index.es263.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es263.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es263.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":";AAEA,IAAIA,IAAK,OACLC,IAAKD,GACLE,IAAK,CAACF,GACNG,IAAKD,GAELE,IAAe;AAAA,EACjB,OAAOC;AAAA,EACP,WAAWC;AAAA,EACX,SAASA;AAAA,EACT,cAAcA;AAAA,EACd,YAAYA;AAAA,EACZ,QAAQ,WAAW;AACjB,QAAIC,IAAS,CAAC,CAACP,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,CAAC;AAChC,WAAAD,IAAKC,IAAK,EAAEF,IAAKD,IAAK,QACfO;AAAA,EACT;AACF;AAEA,SAASF,EAAYG,GAAGC,GAAG;AACzB,EAAID,IAAIR,MAAIA,IAAKQ,IACbA,IAAIN,MAAIA,IAAKM,IACbC,IAAIR,MAAIA,IAAKQ,IACbA,IAAIN,MAAIA,IAAKM;AACnB;","x_google_ignoreList":[0]}
|
package/dist/index.es264.js
CHANGED
|
@@ -1,73 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import D from "./index.es250.js";
|
|
3
|
-
import { halfPi as S, epsilon as R } from "./index.es246.js";
|
|
4
|
-
import F from "./index.es201.js";
|
|
5
|
-
import "./index.es200.js";
|
|
6
|
-
import G from "./index.es251.js";
|
|
7
|
-
function T(e, p, m, v) {
|
|
8
|
-
return function(g, n) {
|
|
9
|
-
var d = p(n), j = g.invert(v[0], v[1]), h = A(), c = p(h), l = !1, a, f, u, r = {
|
|
10
|
-
point: y,
|
|
11
|
-
lineStart: x,
|
|
12
|
-
lineEnd: s,
|
|
13
|
-
polygonStart: function() {
|
|
14
|
-
r.point = B, r.lineStart = w, r.lineEnd = z, f = [], a = [];
|
|
15
|
-
},
|
|
16
|
-
polygonEnd: function() {
|
|
17
|
-
r.point = y, r.lineStart = x, r.lineEnd = s, f = G(f);
|
|
18
|
-
var o = F(a, j);
|
|
19
|
-
f.length ? (l || (n.polygonStart(), l = !0), D(f, J, o, m, n)) : o && (l || (n.polygonStart(), l = !0), n.lineStart(), m(null, null, 1, n), n.lineEnd()), l && (n.polygonEnd(), l = !1), f = a = null;
|
|
20
|
-
},
|
|
21
|
-
sphere: function() {
|
|
22
|
-
n.polygonStart(), n.lineStart(), m(null, null, 1, n), n.lineEnd(), n.polygonEnd();
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
function y(o, t) {
|
|
26
|
-
var i = g(o, t);
|
|
27
|
-
e(o = i[0], t = i[1]) && n.point(o, t);
|
|
28
|
-
}
|
|
29
|
-
function q(o, t) {
|
|
30
|
-
var i = g(o, t);
|
|
31
|
-
d.point(i[0], i[1]);
|
|
32
|
-
}
|
|
33
|
-
function x() {
|
|
34
|
-
r.point = q, d.lineStart();
|
|
35
|
-
}
|
|
36
|
-
function s() {
|
|
37
|
-
r.point = y, d.lineEnd();
|
|
38
|
-
}
|
|
39
|
-
function B(o, t) {
|
|
40
|
-
u.push([o, t]);
|
|
41
|
-
var i = g(o, t);
|
|
42
|
-
c.point(i[0], i[1]);
|
|
43
|
-
}
|
|
44
|
-
function w() {
|
|
45
|
-
c.lineStart(), u = [];
|
|
46
|
-
}
|
|
47
|
-
function z() {
|
|
48
|
-
B(u[0][0], u[0][1]), c.lineEnd();
|
|
49
|
-
var o = c.clean(), t = h.result(), i, I = t.length, P, E, C;
|
|
50
|
-
if (u.pop(), a.push(u), u = null, !!I) {
|
|
51
|
-
if (o & 1) {
|
|
52
|
-
if (E = t[0], (P = E.length - 1) > 0) {
|
|
53
|
-
for (l || (n.polygonStart(), l = !0), n.lineStart(), i = 0; i < P; ++i) n.point((C = E[i])[0], C[1]);
|
|
54
|
-
n.lineEnd();
|
|
55
|
-
}
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
I > 1 && o & 2 && t.push(t.pop().concat(t.shift())), f.push(t.filter(H));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return r;
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function H(e) {
|
|
65
|
-
return e.length > 1;
|
|
66
|
-
}
|
|
67
|
-
function J(e, p) {
|
|
68
|
-
return ((e = e.x)[0] < 0 ? e[1] - S - R : S - e[1]) - ((p = p.x)[0] < 0 ? p[1] - S - R : S - p[1]);
|
|
1
|
+
function o() {
|
|
69
2
|
}
|
|
70
3
|
export {
|
|
71
|
-
|
|
4
|
+
o as default
|
|
72
5
|
};
|
|
73
6
|
//# sourceMappingURL=index.es264.js.map
|
package/dist/index.es264.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es264.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es264.js","sources":["../../../node_modules/d3-geo/src/noop.js"],"sourcesContent":["export default function noop() {}\n"],"names":["noop"],"mappings":"AAAA,SAAwBA,IAAO;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es27.js
CHANGED
package/dist/index.es28.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
2
|
import { useContext as s, useRef as f, useState as y, useMemo as m, useEffect as g, cloneElement as S } from "react";
|
|
3
3
|
import { MapContext as h } from "./index.es15.js";
|
|
4
|
-
import u from "./index.
|
|
5
|
-
import { deepEqual as C } from "./index.
|
|
4
|
+
import u from "./index.es208.js";
|
|
5
|
+
import { deepEqual as C } from "./index.es206.js";
|
|
6
6
|
let b = 0;
|
|
7
7
|
function k(t, e, a) {
|
|
8
8
|
if (t.style && t.style._loaded) {
|
package/dist/index.es29.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useContext as m, useRef as L, useState as g, useMemo as x, useEffect as h } from "react";
|
|
2
2
|
import { MapContext as b } from "./index.es15.js";
|
|
3
|
-
import d from "./index.
|
|
4
|
-
import { deepEqual as l } from "./index.
|
|
3
|
+
import d from "./index.es208.js";
|
|
4
|
+
import { deepEqual as l } from "./index.es206.js";
|
|
5
5
|
function k(t, e, a, o) {
|
|
6
6
|
if (d(a.id === o.id, "layer id changed"), d(a.type === o.type, "layer type changed"), a.type === "custom" || o.type === "custom")
|
|
7
7
|
return;
|
package/dist/index.es31.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as f } from "./index.
|
|
2
|
-
import { __require as n } from "./index.
|
|
1
|
+
import { getDefaultExportFromCjs as f } from "./index.es76.js";
|
|
2
|
+
import { __require as n } from "./index.es78.js";
|
|
3
3
|
function s(t, i) {
|
|
4
4
|
for (var o = 0; o < i.length; o++) {
|
|
5
5
|
const e = i[o];
|
package/dist/index.es33.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenIcon as a } from "./index.
|
|
2
|
-
import "./index.
|
|
1
|
+
import { GenIcon as a } from "./index.es80.js";
|
|
2
|
+
import "./index.es81.js";
|
|
3
3
|
function l(t) {
|
|
4
4
|
return a({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.6.6 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.6.6 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.6.6 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535z" }, child: [] }, { tag: "path", attr: { d: "m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.6.6 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0z" }, child: [] }] })(t);
|
|
5
5
|
}
|
package/dist/index.es34.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenIcon as o } from "./index.
|
|
2
|
-
import "./index.
|
|
1
|
+
import { GenIcon as o } from "./index.es80.js";
|
|
2
|
+
import "./index.es81.js";
|
|
3
3
|
function e(t) {
|
|
4
4
|
return o({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "M416 128 192 384l-96-96" }, child: [] }] })(t);
|
|
5
5
|
}
|
package/dist/index.es38.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { supportsDataView as e } from "./index.es36.js";
|
|
2
|
-
import a from "./index.
|
|
2
|
+
import a from "./index.es239.js";
|
|
3
3
|
var i = e && (!/\[native code\]/.test(String(DataView)) || a(new DataView(new ArrayBuffer(8)))), o = typeof Map < "u" && a(/* @__PURE__ */ new Map());
|
|
4
4
|
export {
|
|
5
5
|
i as hasDataViewBug,
|
package/dist/index.es68.js
CHANGED
package/dist/index.es70.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { center as O } from "./index.
|
|
2
|
-
import q from "./index.
|
|
3
|
-
import { featureEach as v, geomEach as d } from "./index.
|
|
1
|
+
import { center as O } from "./index.es187.js";
|
|
2
|
+
import q from "./index.es188.js";
|
|
3
|
+
import { featureEach as v, geomEach as d } from "./index.es186.js";
|
|
4
|
+
import "./index.es189.js";
|
|
5
|
+
import "./index.es190.js";
|
|
6
|
+
import "./index.es191.js";
|
|
7
|
+
import "./index.es192.js";
|
|
8
|
+
import "./index.es193.js";
|
|
9
|
+
import "./index.es194.js";
|
|
10
|
+
import "./index.es195.js";
|
|
11
|
+
import "./index.es196.js";
|
|
4
12
|
import "./index.es197.js";
|
|
5
13
|
import "./index.es198.js";
|
|
6
|
-
import "./index.es199.js";
|
|
14
|
+
import A from "./index.es199.js";
|
|
7
15
|
import "./index.es200.js";
|
|
8
|
-
import "./index.es201.js";
|
|
9
|
-
import "./index.es202.js";
|
|
10
|
-
import "./index.es203.js";
|
|
11
|
-
import "./index.es204.js";
|
|
12
|
-
import "./index.es205.js";
|
|
13
|
-
import "./index.es206.js";
|
|
14
|
-
import A from "./index.es207.js";
|
|
15
|
-
import "./index.es208.js";
|
|
16
16
|
import { featureCollection as c, radiansToLength as F, lengthToRadians as R, feature as g, earthRadius as B } from "./index.es66.js";
|
|
17
17
|
var { BufferOp: J, GeoJSONReader: S, GeoJSONWriter: T } = q;
|
|
18
18
|
function Z(r, e, t) {
|