@performant-software/geospatial 2.1.2-beta.2 → 2.1.2-beta.3
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.cjs178.js +1 -1
- package/dist/index.cjs178.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs179.js.map +1 -1
- package/dist/index.cjs180.js +4 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs182.js.map +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs184.js.map +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs185.js.map +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 -4
- 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.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.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs8.js.map +1 -1
- package/dist/index.es178.js +7 -320
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es179.js +144 -71
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es180.js +12197 -3
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +3 -18
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +3 -13
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +33 -28
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +3 -7
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +23 -2
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +2 -10
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +3 -150
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +2 -12199
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +34 -3
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es190.js +14 -2
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +13 -35
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +11 -3
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +319 -21
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +77 -2
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +5 -3
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +18 -2
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +10 -31
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +31 -13
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +4 -13
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +2 -9
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es228.js +1 -1
- package/dist/index.es234.js +1 -1
- package/dist/index.es237.js +1 -1
- package/dist/index.es240.js +1 -1
- package/dist/index.es243.js +2 -2
- package/dist/index.es245.js +1 -1
- package/dist/index.es248.js +1 -1
- package/dist/index.es249.js +1 -1
- package/dist/index.es252.js +15 -4
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +4 -15
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +2 -2
- package/dist/index.es51.js +1 -1
- package/dist/index.es53.js +12 -12
- package/dist/index.es62.js +1 -1
- package/dist/index.es63.js +4 -4
- package/dist/index.es64.js +2 -2
- package/dist/index.es65.js +2 -2
- package/dist/index.es66.js +1 -1
- package/dist/index.es67.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es69.js +1 -1
- package/dist/index.es70.js +1 -1
- package/dist/index.es71.js +2 -2
- package/dist/index.es72.js +2 -2
- package/dist/index.es8.js +0 -1
- package/dist/index.es8.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MapDraw.js +0 -1
- package/types/components/MapDraw.js.flow +0 -1
package/dist/index.es194.js
CHANGED
|
@@ -1,3 +1,78 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
const a = [
|
|
2
|
+
"setMaxBounds",
|
|
3
|
+
"setMinZoom",
|
|
4
|
+
"setMaxZoom",
|
|
5
|
+
"setMinPitch",
|
|
6
|
+
"setMaxPitch",
|
|
7
|
+
"setRenderWorldCopies",
|
|
8
|
+
"setProjection",
|
|
9
|
+
"setStyle",
|
|
10
|
+
"addSource",
|
|
11
|
+
"removeSource",
|
|
12
|
+
"addLayer",
|
|
13
|
+
"removeLayer",
|
|
14
|
+
"setLayerZoomRange",
|
|
15
|
+
"setFilter",
|
|
16
|
+
"setPaintProperty",
|
|
17
|
+
"setLayoutProperty",
|
|
18
|
+
"setLight",
|
|
19
|
+
"setTerrain",
|
|
20
|
+
"setFog",
|
|
21
|
+
"remove"
|
|
22
|
+
];
|
|
23
|
+
function i(e) {
|
|
24
|
+
if (!e)
|
|
25
|
+
return null;
|
|
26
|
+
const r = e.map, o = {
|
|
27
|
+
getMap: () => r,
|
|
28
|
+
// Overwrite getters to use our shadow transform
|
|
29
|
+
getCenter: () => e.transform.center,
|
|
30
|
+
getZoom: () => e.transform.zoom,
|
|
31
|
+
getBearing: () => e.transform.bearing,
|
|
32
|
+
getPitch: () => e.transform.pitch,
|
|
33
|
+
getPadding: () => e.transform.padding,
|
|
34
|
+
getBounds: () => e.transform.getBounds(),
|
|
35
|
+
project: (t) => {
|
|
36
|
+
const n = r.transform;
|
|
37
|
+
r.transform = e.transform;
|
|
38
|
+
const s = r.project(t);
|
|
39
|
+
return r.transform = n, s;
|
|
40
|
+
},
|
|
41
|
+
unproject: (t) => {
|
|
42
|
+
const n = r.transform;
|
|
43
|
+
r.transform = e.transform;
|
|
44
|
+
const s = r.unproject(t);
|
|
45
|
+
return r.transform = n, s;
|
|
46
|
+
},
|
|
47
|
+
// options diverge between mapbox and maplibre
|
|
48
|
+
queryTerrainElevation: (t, n) => {
|
|
49
|
+
const s = r.transform;
|
|
50
|
+
r.transform = e.transform;
|
|
51
|
+
const f = r.queryTerrainElevation(t, n);
|
|
52
|
+
return r.transform = s, f;
|
|
53
|
+
},
|
|
54
|
+
queryRenderedFeatures: (t, n) => {
|
|
55
|
+
const s = r.transform;
|
|
56
|
+
r.transform = e.transform;
|
|
57
|
+
const f = r.queryRenderedFeatures(t, n);
|
|
58
|
+
return r.transform = s, f;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
for (const t of u(r))
|
|
62
|
+
!(t in o) && !a.includes(t) && (o[t] = r[t].bind(r));
|
|
63
|
+
return o;
|
|
64
|
+
}
|
|
65
|
+
function u(e) {
|
|
66
|
+
const r = /* @__PURE__ */ new Set();
|
|
67
|
+
let o = e;
|
|
68
|
+
for (; o; ) {
|
|
69
|
+
for (const t of Object.getOwnPropertyNames(o))
|
|
70
|
+
t[0] !== "_" && typeof e[t] == "function" && t !== "fire" && t !== "setEventedParent" && r.add(t);
|
|
71
|
+
o = Object.getPrototypeOf(o);
|
|
72
|
+
}
|
|
73
|
+
return Array.from(r);
|
|
74
|
+
}
|
|
75
|
+
export {
|
|
76
|
+
i as default
|
|
77
|
+
};
|
|
3
78
|
//# sourceMappingURL=index.es194.js.map
|
package/dist/index.es194.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es194.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es194.js","sources":["../../../node_modules/react-map-gl/dist/esm/mapbox/create-ref.js"],"sourcesContent":["/** These methods may break the react binding if called directly */\nconst skipMethods = [\n 'setMaxBounds',\n 'setMinZoom',\n 'setMaxZoom',\n 'setMinPitch',\n 'setMaxPitch',\n 'setRenderWorldCopies',\n 'setProjection',\n 'setStyle',\n 'addSource',\n 'removeSource',\n 'addLayer',\n 'removeLayer',\n 'setLayerZoomRange',\n 'setFilter',\n 'setPaintProperty',\n 'setLayoutProperty',\n 'setLight',\n 'setTerrain',\n 'setFog',\n 'remove'\n];\nexport default function createRef(mapInstance) {\n if (!mapInstance) {\n return null;\n }\n const map = mapInstance.map;\n const result = {\n getMap: () => map,\n // Overwrite getters to use our shadow transform\n getCenter: () => mapInstance.transform.center,\n getZoom: () => mapInstance.transform.zoom,\n getBearing: () => mapInstance.transform.bearing,\n getPitch: () => mapInstance.transform.pitch,\n getPadding: () => mapInstance.transform.padding,\n getBounds: () => mapInstance.transform.getBounds(),\n project: (lnglat) => {\n const tr = map.transform;\n map.transform = mapInstance.transform;\n const result = map.project(lnglat);\n map.transform = tr;\n return result;\n },\n unproject: (point) => {\n const tr = map.transform;\n map.transform = mapInstance.transform;\n const result = map.unproject(point);\n map.transform = tr;\n return result;\n },\n // options diverge between mapbox and maplibre\n queryTerrainElevation: (lnglat, options) => {\n const tr = map.transform;\n map.transform = mapInstance.transform;\n const result = map.queryTerrainElevation(lnglat, options);\n map.transform = tr;\n return result;\n },\n queryRenderedFeatures: (geometry, options) => {\n const tr = map.transform;\n map.transform = mapInstance.transform;\n const result = map.queryRenderedFeatures(geometry, options);\n map.transform = tr;\n return result;\n }\n };\n for (const key of getMethodNames(map)) {\n // @ts-expect-error\n if (!(key in result) && !skipMethods.includes(key)) {\n result[key] = map[key].bind(map);\n }\n }\n return result;\n}\nfunction getMethodNames(obj) {\n const result = new Set();\n let proto = obj;\n while (proto) {\n for (const key of Object.getOwnPropertyNames(proto)) {\n if (key[0] !== '_' &&\n typeof obj[key] === 'function' &&\n key !== 'fire' &&\n key !== 'setEventedParent') {\n result.add(key);\n }\n }\n proto = Object.getPrototypeOf(proto);\n }\n return Array.from(result);\n}\n//# sourceMappingURL=create-ref.js.map"],"names":["skipMethods","createRef","mapInstance","map","result","lnglat","tr","point","options","geometry","key","getMethodNames","obj","proto"],"mappings":"AACA,MAAMA,IAAc;AAAA,EAChB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;AACA,SAAwBC,EAAUC,GAAa;AAC3C,MAAI,CAACA;AACM,WAAA;AAEX,QAAMC,IAAMD,EAAY,KAClBE,IAAS;AAAA,IACX,QAAQ,MAAMD;AAAA;AAAA,IAEd,WAAW,MAAMD,EAAY,UAAU;AAAA,IACvC,SAAS,MAAMA,EAAY,UAAU;AAAA,IACrC,YAAY,MAAMA,EAAY,UAAU;AAAA,IACxC,UAAU,MAAMA,EAAY,UAAU;AAAA,IACtC,YAAY,MAAMA,EAAY,UAAU;AAAA,IACxC,WAAW,MAAMA,EAAY,UAAU,UAAU;AAAA,IACjD,SAAS,CAACG,MAAW;AACjB,YAAMC,IAAKH,EAAI;AACf,MAAAA,EAAI,YAAYD,EAAY;AACtBE,YAAAA,IAASD,EAAI,QAAQE,CAAM;AACjC,aAAAF,EAAI,YAAYG,GACTF;AAAAA,IACX;AAAA,IACA,WAAW,CAACG,MAAU;AAClB,YAAMD,IAAKH,EAAI;AACf,MAAAA,EAAI,YAAYD,EAAY;AACtBE,YAAAA,IAASD,EAAI,UAAUI,CAAK;AAClC,aAAAJ,EAAI,YAAYG,GACTF;AAAAA,IACX;AAAA;AAAA,IAEA,uBAAuB,CAACC,GAAQG,MAAY;AACxC,YAAMF,IAAKH,EAAI;AACf,MAAAA,EAAI,YAAYD,EAAY;AAC5B,YAAME,IAASD,EAAI,sBAAsBE,GAAQG,CAAO;AACxD,aAAAL,EAAI,YAAYG,GACTF;AAAAA,IACX;AAAA,IACA,uBAAuB,CAACK,GAAUD,MAAY;AAC1C,YAAMF,IAAKH,EAAI;AACf,MAAAA,EAAI,YAAYD,EAAY;AAC5B,YAAME,IAASD,EAAI,sBAAsBM,GAAUD,CAAO;AAC1D,aAAAL,EAAI,YAAYG,GACTF;AAAAA,IACX;AAAA,EAAA;AAEO,aAAAM,KAAOC,EAAeR,CAAG;AAEhC,IAAI,EAAEO,KAAON,MAAW,CAACJ,EAAY,SAASU,CAAG,MAC7CN,EAAOM,CAAG,IAAIP,EAAIO,CAAG,EAAE,KAAKP,CAAG;AAGhC,SAAAC;AACX;AACA,SAASO,EAAeC,GAAK;AACnB,QAAAR,wBAAa;AACnB,MAAIS,IAAQD;AACZ,SAAOC,KAAO;AACV,eAAWH,KAAO,OAAO,oBAAoBG,CAAK;AAC9C,MAAIH,EAAI,CAAC,MAAM,OACX,OAAOE,EAAIF,CAAG,KAAM,cACpBA,MAAQ,UACRA,MAAQ,sBACRN,EAAO,IAAIM,CAAG;AAGd,IAAAG,IAAA,OAAO,eAAeA,CAAK;AAAA,EACvC;AACO,SAAA,MAAM,KAAKT,CAAM;AAC5B;","x_google_ignoreList":[0]}
|
package/dist/index.es195.js
CHANGED
package/dist/index.es195.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es195.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es195.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/use-isomorphic-layout-effect.js"],"sourcesContent":["// From https://github.com/streamich/react-use/blob/master/src/useIsomorphicLayoutEffect.ts\n// useLayoutEffect but does not trigger warning in server-side rendering\nimport { useEffect, useLayoutEffect } from 'react';\nconst useIsomorphicLayoutEffect = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;\n//# sourceMappingURL=use-isomorphic-layout-effect.js.map"],"names":["useIsomorphicLayoutEffect","useLayoutEffect","useEffect"],"mappings":";AAGA,MAAMA,IAA4B,OAAO,WAAa,MAAcC,IAAkBC;","x_google_ignoreList":[0]}
|
package/dist/index.es196.js
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
const s = [
|
|
2
|
+
"baseApiUrl",
|
|
3
|
+
"maxParallelImageRequests",
|
|
4
|
+
"workerClass",
|
|
5
|
+
"workerCount",
|
|
6
|
+
"workerUrl"
|
|
7
|
+
];
|
|
8
|
+
function a(e, l) {
|
|
9
|
+
for (const t of s)
|
|
10
|
+
t in l && (e[t] = l[t]);
|
|
11
|
+
const { RTLTextPlugin: o = "https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js" } = l;
|
|
12
|
+
o && e.getRTLTextPluginStatus && e.getRTLTextPluginStatus() === "unavailable" && e.setRTLTextPlugin(o, (t) => {
|
|
13
|
+
t && console.error(t);
|
|
14
|
+
}, !0);
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
a as default
|
|
18
|
+
};
|
|
3
19
|
//# sourceMappingURL=index.es196.js.map
|
package/dist/index.es196.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es196.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es196.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/set-globals.js"],"sourcesContent":["const globalSettings = [\n 'baseApiUrl',\n 'maxParallelImageRequests',\n 'workerClass',\n 'workerCount',\n 'workerUrl'\n];\nexport default function setGlobals(mapLib, props) {\n for (const key of globalSettings) {\n if (key in props) {\n mapLib[key] = props[key];\n }\n }\n const { RTLTextPlugin = 'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js' } = props;\n if (RTLTextPlugin &&\n mapLib.getRTLTextPluginStatus &&\n mapLib.getRTLTextPluginStatus() === 'unavailable') {\n mapLib.setRTLTextPlugin(RTLTextPlugin, (error) => {\n if (error) {\n // eslint-disable-next-line\n console.error(error);\n }\n }, true);\n }\n}\n//# sourceMappingURL=set-globals.js.map"],"names":["globalSettings","setGlobals","mapLib","props","key","RTLTextPlugin","error"],"mappings":"AAAA,MAAMA,IAAiB;AAAA,EACnB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;AACwB,SAAAC,EAAWC,GAAQC,GAAO;AAC9C,aAAWC,KAAOJ;AACd,IAAII,KAAOD,MACAD,EAAAE,CAAG,IAAID,EAAMC,CAAG;AAGzB,QAAA,EAAE,eAAAC,IAAgB,8FAAkG,IAAAF;AAC1H,EAAIE,KACAH,EAAO,0BACPA,EAAO,6BAA6B,iBAC7BA,EAAA,iBAAiBG,GAAe,CAACC,MAAU;AAC9C,IAAIA,KAEA,QAAQ,MAAMA,CAAK;AAAA,KAExB,EAAI;AAEf;","x_google_ignoreList":[0]}
|
package/dist/index.es197.js
CHANGED
|
@@ -1,35 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
function o() {
|
|
10
|
-
}
|
|
11
|
-
o.prototype = {
|
|
12
|
-
constructor: o,
|
|
13
|
-
point: function(t, n) {
|
|
14
|
-
this.stream.point(t, n);
|
|
15
|
-
},
|
|
16
|
-
sphere: function() {
|
|
17
|
-
this.stream.sphere();
|
|
18
|
-
},
|
|
19
|
-
lineStart: function() {
|
|
20
|
-
this.stream.lineStart();
|
|
21
|
-
},
|
|
22
|
-
lineEnd: function() {
|
|
23
|
-
this.stream.lineEnd();
|
|
24
|
-
},
|
|
25
|
-
polygonStart: function() {
|
|
26
|
-
this.stream.polygonStart();
|
|
27
|
-
},
|
|
28
|
-
polygonEnd: function() {
|
|
29
|
-
this.stream.polygonEnd();
|
|
1
|
+
const r = /box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;
|
|
2
|
+
function c(n, t) {
|
|
3
|
+
if (!n || !t)
|
|
4
|
+
return;
|
|
5
|
+
const o = n.style;
|
|
6
|
+
for (const e in t) {
|
|
7
|
+
const i = t[e];
|
|
8
|
+
Number.isFinite(i) && !r.test(e) ? o[e] = `${i}px` : o[e] = i;
|
|
30
9
|
}
|
|
31
|
-
}
|
|
10
|
+
}
|
|
32
11
|
export {
|
|
33
|
-
|
|
12
|
+
c as applyReactStyle
|
|
34
13
|
};
|
|
35
14
|
//# sourceMappingURL=index.es197.js.map
|
package/dist/index.es197.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es197.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es197.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/apply-react-style.js"],"sourcesContent":["// This is a simplified version of\n// https://github.com/facebook/react/blob/4131af3e4bf52f3a003537ec95a1655147c81270/src/renderers/dom/shared/CSSPropertyOperations.js#L62\nconst unitlessNumber = /box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;\nexport function applyReactStyle(element, styles) {\n if (!element || !styles) {\n return;\n }\n const style = element.style;\n for (const key in styles) {\n const value = styles[key];\n if (Number.isFinite(value) && !unitlessNumber.test(key)) {\n style[key] = `${value}px`;\n }\n else {\n style[key] = value;\n }\n }\n}\n//# sourceMappingURL=apply-react-style.js.map"],"names":["unitlessNumber","applyReactStyle","element","styles","style","key","value"],"mappings":"AAEA,MAAMA,IAAiB;AACP,SAAAC,EAAgBC,GAASC,GAAQ;AACzC,MAAA,CAACD,KAAW,CAACC;AACb;AAEJ,QAAMC,IAAQF,EAAQ;AACtB,aAAWG,KAAOF,GAAQ;AAChB,UAAAG,IAAQH,EAAOE,CAAG;AACpB,IAAA,OAAO,SAASC,CAAK,KAAK,CAACN,EAAe,KAAKK,CAAG,IAC5CD,EAAAC,CAAG,IAAI,GAAGC,CAAK,OAGrBF,EAAMC,CAAG,IAAIC;AAAA,EAErB;AACJ;","x_google_ignoreList":[0]}
|
package/dist/index.es198.js
CHANGED
|
@@ -1,16 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
function i(e, r) {
|
|
2
|
+
const t = Array.isArray(e) ? e[0] : e ? e.x : 0, s = Array.isArray(e) ? e[1] : e ? e.y : 0, n = Array.isArray(r) ? r[0] : r ? r.x : 0, f = Array.isArray(r) ? r[1] : r ? r.y : 0;
|
|
3
|
+
return t === n && s === f;
|
|
4
|
+
}
|
|
5
|
+
function y(e, r) {
|
|
6
|
+
if (e === r)
|
|
7
|
+
return !0;
|
|
8
|
+
if (!e || !r)
|
|
9
|
+
return !1;
|
|
10
|
+
if (Array.isArray(e)) {
|
|
11
|
+
if (!Array.isArray(r) || e.length !== r.length)
|
|
12
|
+
return !1;
|
|
13
|
+
for (let t = 0; t < e.length; t++)
|
|
14
|
+
if (!y(e[t], r[t]))
|
|
15
|
+
return !1;
|
|
16
|
+
return !0;
|
|
17
|
+
} else if (Array.isArray(r))
|
|
18
|
+
return !1;
|
|
19
|
+
if (typeof e == "object" && typeof r == "object") {
|
|
20
|
+
const t = Object.keys(e), s = Object.keys(r);
|
|
21
|
+
if (t.length !== s.length)
|
|
22
|
+
return !1;
|
|
23
|
+
for (const n of t)
|
|
24
|
+
if (!r.hasOwnProperty(n) || !y(e[n], r[n]))
|
|
25
|
+
return !1;
|
|
26
|
+
return !0;
|
|
27
|
+
}
|
|
28
|
+
return !1;
|
|
29
|
+
}
|
|
13
30
|
export {
|
|
14
|
-
|
|
31
|
+
i as arePointsEqual,
|
|
32
|
+
y as deepEqual
|
|
15
33
|
};
|
|
16
34
|
//# sourceMappingURL=index.es198.js.map
|
package/dist/index.es198.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es198.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es198.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/deep-equal.js"],"sourcesContent":["/**\n * Compare two points\n * @param a\n * @param b\n * @returns true if the points are equal\n */\nexport function arePointsEqual(a, b) {\n const ax = Array.isArray(a) ? a[0] : a ? a.x : 0;\n const ay = Array.isArray(a) ? a[1] : a ? a.y : 0;\n const bx = Array.isArray(b) ? b[0] : b ? b.x : 0;\n const by = Array.isArray(b) ? b[1] : b ? b.y : 0;\n return ax === bx && ay === by;\n}\n/* eslint-disable complexity */\n/**\n * Compare any two objects\n * @param a\n * @param b\n * @returns true if the objects are deep equal\n */\nexport function deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (!a || !b) {\n return false;\n }\n if (Array.isArray(a)) {\n if (!Array.isArray(b) || a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n else if (Array.isArray(b)) {\n return false;\n }\n if (typeof a === 'object' && typeof b === 'object') {\n const aKeys = Object.keys(a);\n const bKeys = Object.keys(b);\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n for (const key of aKeys) {\n if (!b.hasOwnProperty(key)) {\n return false;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return false;\n}\n//# sourceMappingURL=deep-equal.js.map"],"names":["arePointsEqual","a","b","ax","ay","bx","by","deepEqual","i","aKeys","bKeys","key"],"mappings":"AAMgB,SAAAA,EAAeC,GAAGC,GAAG;AAC3B,QAAAC,IAAK,MAAM,QAAQF,CAAC,IAAIA,EAAE,CAAC,IAAIA,IAAIA,EAAE,IAAI,GACzCG,IAAK,MAAM,QAAQH,CAAC,IAAIA,EAAE,CAAC,IAAIA,IAAIA,EAAE,IAAI,GACzCI,IAAK,MAAM,QAAQH,CAAC,IAAIA,EAAE,CAAC,IAAIA,IAAIA,EAAE,IAAI,GACzCI,IAAK,MAAM,QAAQJ,CAAC,IAAIA,EAAE,CAAC,IAAIA,IAAIA,EAAE,IAAI;AACxC,SAAAC,MAAOE,KAAMD,MAAOE;AAC/B;AAQgB,SAAAC,EAAUN,GAAGC,GAAG;AAC5B,MAAID,MAAMC;AACC,WAAA;AAEP,MAAA,CAACD,KAAK,CAACC;AACA,WAAA;AAEP,MAAA,MAAM,QAAQD,CAAC,GAAG;AACd,QAAA,CAAC,MAAM,QAAQC,CAAC,KAAKD,EAAE,WAAWC,EAAE;AAC7B,aAAA;AAEX,aAASM,IAAI,GAAGA,IAAIP,EAAE,QAAQO;AACtB,UAAA,CAACD,EAAUN,EAAEO,CAAC,GAAGN,EAAEM,CAAC,CAAC;AACd,eAAA;AAGR,WAAA;AAAA,EAEF,WAAA,MAAM,QAAQN,CAAC;AACb,WAAA;AAEX,MAAI,OAAOD,KAAM,YAAY,OAAOC,KAAM,UAAU;AAC1C,UAAAO,IAAQ,OAAO,KAAKR,CAAC,GACrBS,IAAQ,OAAO,KAAKR,CAAC;AACvB,QAAAO,EAAM,WAAWC,EAAM;AAChB,aAAA;AAEX,eAAWC,KAAOF;AAIV,UAHA,CAACP,EAAE,eAAeS,CAAG,KAGrB,CAACJ,EAAUN,EAAEU,CAAG,GAAGT,EAAES,CAAG,CAAC;AAClB,eAAA;AAGR,WAAA;AAAA,EACX;AACO,SAAA;AACX;","x_google_ignoreList":[0]}
|
package/dist/index.es199.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var i = o(function(t) {
|
|
5
|
-
return (t = r(t)) && t / a(t);
|
|
6
|
-
});
|
|
7
|
-
i.invert = n(function(t) {
|
|
8
|
-
return t;
|
|
9
|
-
});
|
|
10
|
-
function f() {
|
|
11
|
-
return u(i).scale(79.4188).clipAngle(180 - 1e-3);
|
|
1
|
+
function e(r, t) {
|
|
2
|
+
if (!r)
|
|
3
|
+
throw new Error(t);
|
|
12
4
|
}
|
|
13
5
|
export {
|
|
14
|
-
|
|
15
|
-
f as default
|
|
6
|
+
e as default
|
|
16
7
|
};
|
|
17
8
|
//# sourceMappingURL=index.es199.js.map
|
package/dist/index.es199.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es199.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es199.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/assert.js"],"sourcesContent":["export default function assert(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n}\n//# sourceMappingURL=assert.js.map"],"names":["assert","condition","message"],"mappings":"AAAwB,SAAAA,EAAOC,GAAWC,GAAS;AAC/C,MAAI,CAACD;AACK,UAAA,IAAI,MAAMC,CAAO;AAE/B;","x_google_ignoreList":[0]}
|
package/dist/index.es200.js
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import "./index.es192.js";
|
|
3
|
-
import "./index.es191.js";
|
|
4
|
-
import "./index.es197.js";
|
|
5
|
-
function r(t, i) {
|
|
6
|
-
return [t, i];
|
|
7
|
-
}
|
|
8
|
-
r.invert = r;
|
|
1
|
+
var a = {};
|
|
9
2
|
export {
|
|
10
|
-
|
|
3
|
+
a as __exports
|
|
11
4
|
};
|
|
12
5
|
//# sourceMappingURL=index.es200.js.map
|
package/dist/index.es200.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es200.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.es200.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.es228.js
CHANGED
package/dist/index.es234.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spherical as p, cartesian as x, cartesianNormalizeInPlace as z } from "./index.es235.js";
|
|
2
2
|
import { tau as l, cos as v, sin as R, acos as I, epsilon as N } from "./index.es236.js";
|
|
3
|
-
import "./index.
|
|
3
|
+
import "./index.es183.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.es237.js
CHANGED
|
@@ -2,7 +2,7 @@ import { abs as q, epsilon as z } from "./index.es236.js";
|
|
|
2
2
|
import X from "./index.es238.js";
|
|
3
3
|
import Y from "./index.es239.js";
|
|
4
4
|
import Z from "./index.es240.js";
|
|
5
|
-
import "./index.
|
|
5
|
+
import "./index.es184.js";
|
|
6
6
|
import $ from "./index.es241.js";
|
|
7
7
|
var S = 1e9, B = -S;
|
|
8
8
|
function en(c, _, E, u) {
|
package/dist/index.es240.js
CHANGED
package/dist/index.es243.js
CHANGED
|
@@ -4,8 +4,8 @@ import { clipExtent as F } from "./index.es237.js";
|
|
|
4
4
|
import H from "./index.es246.js";
|
|
5
5
|
import T from "./index.es247.js";
|
|
6
6
|
import { degrees as i, radians as n, sqrt as I } from "./index.es236.js";
|
|
7
|
-
import { rotateRadians as J } from "./index.
|
|
8
|
-
import { transformer as K } from "./index.
|
|
7
|
+
import { rotateRadians as J } from "./index.es183.js";
|
|
8
|
+
import { transformer as K } from "./index.es189.js";
|
|
9
9
|
import { fitExtent as N, fitSize as O } from "./index.es248.js";
|
|
10
10
|
import w from "./index.es249.js";
|
|
11
11
|
var Q = K({
|
package/dist/index.es245.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cartesian as Q, cartesianCross as T, cartesianDot as R, cartesianScale as g, cartesianAddInPlace as y, spherical as U } from "./index.es235.js";
|
|
2
2
|
import { circleStream as $ } from "./index.es234.js";
|
|
3
3
|
import { pi as v, cos as F, epsilon as x, abs as G, sqrt as b } from "./index.es236.js";
|
|
4
|
-
import J from "./index.
|
|
4
|
+
import J from "./index.es253.js";
|
|
5
5
|
import m from "./index.es254.js";
|
|
6
6
|
function fn(S, V) {
|
|
7
7
|
var A = F(S), C = A > 0, W = G(A) > x;
|
package/dist/index.es248.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c from "./index.es250.js";
|
|
2
|
-
import n from "./index.
|
|
2
|
+
import n from "./index.es252.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.es249.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cartesian as J } from "./index.es235.js";
|
|
2
2
|
import { abs as B, cos as K, radians as O, sqrt as Q, asin as R, epsilon as H, atan2 as U } from "./index.es236.js";
|
|
3
|
-
import { transformer as V } from "./index.
|
|
3
|
+
import { transformer as V } from "./index.es189.js";
|
|
4
4
|
var I = 16, W = K(30 * O);
|
|
5
5
|
function h(e, t) {
|
|
6
6
|
return +t ? Y(e, t) : X(e);
|
package/dist/index.es252.js
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import r from "./index.es251.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.es252.js.map
|
package/dist/index.es252.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es252.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es252.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;AACb,QAAAC,IAAS,CAAC,CAACP,GAAIC,CAAE,GAAG,CAACC,GAAIC,CAAE,CAAC;AAC3B,WAAAD,IAAAC,IAAK,EAAEF,IAAKD,IAAK,QACfO;AAAA,EACT;AACF;AAEA,SAASF,EAAYG,GAAGC,GAAG;AACzB,EAAID,IAAIR,MAASA,IAAAQ,IACbA,IAAIN,MAASA,IAAAM,IACbC,IAAIR,MAASA,IAAAQ,IACbA,IAAIN,MAASA,IAAAM;AACnB;","x_google_ignoreList":[0]}
|
package/dist/index.es253.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.es236.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.es253.js.map
|
package/dist/index.es253.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es253.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es253.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.es254.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import A from "./index.es238.js";
|
|
2
2
|
import D from "./index.es240.js";
|
|
3
3
|
import { halfPi as S, epsilon as R } from "./index.es236.js";
|
|
4
|
-
import F from "./index.
|
|
5
|
-
import "./index.
|
|
4
|
+
import F from "./index.es185.js";
|
|
5
|
+
import "./index.es184.js";
|
|
6
6
|
import G from "./index.es241.js";
|
|
7
7
|
function T(e, p, m, v) {
|
|
8
8
|
return function(g, n) {
|
package/dist/index.es51.js
CHANGED
package/dist/index.es53.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import O from "./index.
|
|
2
|
-
import { GeoJSONReader as q, BufferOp as A, GeoJSONWriter as F } from "./index.
|
|
3
|
-
import { featureEach as v, geomEach as d } from "./index.
|
|
1
|
+
import O from "./index.es178.js";
|
|
2
|
+
import { GeoJSONReader as q, BufferOp as A, GeoJSONWriter as F } from "./index.es180.js";
|
|
3
|
+
import { featureEach as v, geomEach as d } from "./index.es179.js";
|
|
4
|
+
import "./index.es181.js";
|
|
5
|
+
import "./index.es182.js";
|
|
6
|
+
import "./index.es183.js";
|
|
7
|
+
import "./index.es184.js";
|
|
8
|
+
import "./index.es185.js";
|
|
9
|
+
import "./index.es186.js";
|
|
10
|
+
import "./index.es187.js";
|
|
11
|
+
import "./index.es188.js";
|
|
4
12
|
import "./index.es189.js";
|
|
5
13
|
import "./index.es190.js";
|
|
6
|
-
import "./index.es191.js";
|
|
14
|
+
import R from "./index.es191.js";
|
|
7
15
|
import "./index.es192.js";
|
|
8
|
-
import "./index.es193.js";
|
|
9
|
-
import "./index.es194.js";
|
|
10
|
-
import "./index.es195.js";
|
|
11
|
-
import "./index.es196.js";
|
|
12
|
-
import "./index.es197.js";
|
|
13
|
-
import "./index.es198.js";
|
|
14
|
-
import R from "./index.es199.js";
|
|
15
|
-
import "./index.es200.js";
|
|
16
16
|
import { featureCollection as c, radiansToLength as g, lengthToRadians as B, feature as J, earthRadius as S } from "./index.es50.js";
|
|
17
17
|
function Y(r, e, t) {
|
|
18
18
|
t = t || {};
|
package/dist/index.es62.js
CHANGED
package/dist/index.es63.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
2
|
import { useContext as b, useState as E, useRef as c, useEffect as x, useImperativeHandle as w, useMemo as y } from "react";
|
|
3
3
|
import { MountedMapsContext as L } from "./index.es73.js";
|
|
4
|
-
import m from "./index.
|
|
5
|
-
import I from "./index.
|
|
6
|
-
import C from "./index.
|
|
7
|
-
import g from "./index.
|
|
4
|
+
import m from "./index.es193.js";
|
|
5
|
+
import I from "./index.es194.js";
|
|
6
|
+
import C from "./index.es195.js";
|
|
7
|
+
import g from "./index.es196.js";
|
|
8
8
|
const R = l.createContext(null);
|
|
9
9
|
function A(e, f, d) {
|
|
10
10
|
const o = b(L), [i, p] = E(null), s = c(), { current: a } = c({ mapLib: null, map: null });
|
package/dist/index.es64.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as k from "react";
|
|
2
2
|
import { memo as A, forwardRef as P, useContext as C, useRef as D, useMemo as M, useEffect as h, useImperativeHandle as y } from "react";
|
|
3
3
|
import { createPortal as w } from "react-dom";
|
|
4
|
-
import { applyReactStyle as x } from "./index.
|
|
4
|
+
import { applyReactStyle as x } from "./index.es197.js";
|
|
5
5
|
import { MapContext as O } from "./index.es63.js";
|
|
6
|
-
import { arePointsEqual as S } from "./index.
|
|
6
|
+
import { arePointsEqual as S } from "./index.es198.js";
|
|
7
7
|
function q(o, E) {
|
|
8
8
|
const { map: R, mapLib: b } = C(O), i = D({ props: o });
|
|
9
9
|
i.current.props = o;
|
package/dist/index.es65.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createPortal as h } from "react-dom";
|
|
2
2
|
import { memo as L, forwardRef as v, useContext as C, useMemo as f, useRef as x, useEffect as m, useImperativeHandle as N } from "react";
|
|
3
|
-
import { applyReactStyle as M } from "./index.
|
|
3
|
+
import { applyReactStyle as M } from "./index.es197.js";
|
|
4
4
|
import { MapContext as O } from "./index.es63.js";
|
|
5
|
-
import { deepEqual as y } from "./index.
|
|
5
|
+
import { deepEqual as y } from "./index.es198.js";
|
|
6
6
|
function r(t) {
|
|
7
7
|
return new Set(t ? t.trim().split(/\s+/) : []);
|
|
8
8
|
}
|
package/dist/index.es66.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo as i, useEffect as r } from "react";
|
|
2
|
-
import { applyReactStyle as e } from "./index.
|
|
2
|
+
import { applyReactStyle as e } from "./index.es197.js";
|
|
3
3
|
import l from "./index.es14.js";
|
|
4
4
|
function m(t) {
|
|
5
5
|
const o = l(({ mapLib: n }) => new n.AttributionControl(t), {
|
package/dist/index.es67.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo as o, useEffect as l } from "react";
|
|
2
|
-
import { applyReactStyle as r } from "./index.
|
|
2
|
+
import { applyReactStyle as r } from "./index.es197.js";
|
|
3
3
|
import c from "./index.es14.js";
|
|
4
4
|
function i(t) {
|
|
5
5
|
const n = c(({ mapLib: e }) => new e.FullscreenControl({
|
package/dist/index.es68.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo as s, forwardRef as d, useRef as v, useImperativeHandle as _, useEffect as f } from "react";
|
|
2
|
-
import { applyReactStyle as p } from "./index.
|
|
2
|
+
import { applyReactStyle as p } from "./index.es197.js";
|
|
3
3
|
import m from "./index.es14.js";
|
|
4
4
|
function b(e, c) {
|
|
5
5
|
const a = v({ props: e }), l = m(({ mapLib: i }) => {
|
package/dist/index.es69.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo as i, useEffect as e } from "react";
|
|
2
|
-
import { applyReactStyle as l } from "./index.
|
|
2
|
+
import { applyReactStyle as l } from "./index.es197.js";
|
|
3
3
|
import r from "./index.es14.js";
|
|
4
4
|
function m(t) {
|
|
5
5
|
const o = r(({ mapLib: n }) => new n.NavigationControl(t), {
|