@performant-software/geospatial 2.2.3-beta.105 → 2.2.3-beta.106
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.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.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 -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.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.cjs209.js +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +4 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs244.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.cjs254.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +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.cjs72.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -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.cjs77.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es100.js +2 -2
- package/dist/index.es101.js +1 -1
- package/dist/index.es106.js +1 -1
- package/dist/index.es107.js +1 -1
- package/dist/index.es108.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es112.js +2 -2
- package/dist/index.es113.js +2 -2
- package/dist/index.es114.js +1 -1
- package/dist/index.es118.js +2 -2
- package/dist/index.es121.js +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es128.js +1 -1
- package/dist/index.es13.js +7 -7
- package/dist/index.es136.js +1 -1
- package/dist/index.es137.js +1 -1
- package/dist/index.es138.js +1 -1
- package/dist/index.es139.js +2 -2
- package/dist/index.es14.js +1 -1
- package/dist/index.es140.js +1 -1
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es144.js +2 -2
- package/dist/index.es145.js +2 -2
- package/dist/index.es146.js +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es150.js +2 -2
- package/dist/index.es151.js +2 -2
- package/dist/index.es152.js +1 -1
- package/dist/index.es155.js +2 -2
- package/dist/index.es156.js +2 -2
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +1 -1
- package/dist/index.es160.js +2 -2
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +2 -2
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +2 -2
- package/dist/index.es173.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es186.js +7 -7
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +4 -147
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +4 -12197
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +5 -3
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es190.js +5 -3
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +8 -35
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +24 -3
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +20 -21
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +16 -2
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +19 -3
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +8 -2
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +8 -31
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +7 -13
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +21 -13
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +9 -8
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +9 -8
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +4 -5
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +11 -4
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +9 -3
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +23 -3
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +11 -8
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +17 -20
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +4 -22
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +16 -12
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es210.js +10 -15
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +3 -5
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +4 -8
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +7 -6
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +146 -20
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +12196 -9
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +3 -11
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +3 -6
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +35 -10
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +3 -11
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +22 -22
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +2 -14
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +3 -21
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +2 -6
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +30 -16
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +13 -12
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +13 -3
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +8 -4
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +3 -8
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +8 -3
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es234.js +1 -1
- package/dist/index.es237.js +1 -1
- package/dist/index.es24.js +2 -2
- package/dist/index.es240.js +1 -1
- package/dist/index.es243.js +2 -2
- package/dist/index.es244.js +1 -1
- package/dist/index.es245.js +2 -2
- 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 +70 -15
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +4 -70
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es26.js +2 -2
- package/dist/index.es27.js +2 -2
- package/dist/index.es28.js +2 -2
- package/dist/index.es30.js +1 -1
- package/dist/index.es31.js +2 -2
- package/dist/index.es32.js +2 -2
- package/dist/index.es34.js +1 -1
- package/dist/index.es35.js +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es40.js +2 -2
- package/dist/index.es41.js +3 -3
- package/dist/index.es42.js +1 -1
- package/dist/index.es44.js +1 -1
- package/dist/index.es45.js +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es53.js +15 -15
- package/dist/index.es57.js +1 -1
- package/dist/index.es58.js +1 -1
- package/dist/index.es62.js +28 -2
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +55 -2
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +47 -29
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +37 -55
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +11 -47
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +11 -38
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +29 -11
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +10 -10
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +13 -29
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +52 -11
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +66 -13
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +4 -51
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +2 -65
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +2 -4
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es77.js +1 -1
- package/dist/index.es84.js +1 -1
- package/dist/index.es85.js +1 -1
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es88.js +1 -1
- package/dist/index.es89.js +1 -1
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es98.js +3 -3
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
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.es218.js";
|
|
8
|
+
import { transformer as K } from "./index.es224.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.es244.js
CHANGED
package/dist/index.es245.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.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.
|
|
5
|
-
import m from "./index.
|
|
4
|
+
import J from "./index.es254.js";
|
|
5
|
+
import m from "./index.es253.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.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.es224.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,74 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var n = [[
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
function
|
|
14
|
-
|
|
1
|
+
import A from "./index.es238.js";
|
|
2
|
+
import D from "./index.es240.js";
|
|
3
|
+
import { halfPi as S, epsilon as R } from "./index.es236.js";
|
|
4
|
+
import F from "./index.es220.js";
|
|
5
|
+
import "./index.es219.js";
|
|
6
|
+
import G from "./index.es241.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)
|
|
54
|
+
n.point((C = E[i])[0], C[1]);
|
|
55
|
+
n.lineEnd();
|
|
56
|
+
}
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
I > 1 && o & 2 && t.push(t.pop().concat(t.shift())), f.push(t.filter(H));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return r;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function H(e) {
|
|
66
|
+
return e.length > 1;
|
|
67
|
+
}
|
|
68
|
+
function J(e, p) {
|
|
69
|
+
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]);
|
|
15
70
|
}
|
|
16
71
|
export {
|
|
17
|
-
|
|
72
|
+
T as default
|
|
18
73
|
};
|
|
19
74
|
//# 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/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.es254.js
CHANGED
|
@@ -1,74 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import F from "./index.es193.js";
|
|
5
|
-
import "./index.es192.js";
|
|
6
|
-
import G from "./index.es241.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)
|
|
54
|
-
n.point((C = E[i])[0], C[1]);
|
|
55
|
-
n.lineEnd();
|
|
56
|
-
}
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
I > 1 && o & 2 && t.push(t.pop().concat(t.shift())), f.push(t.filter(H));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
return r;
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
function H(e) {
|
|
66
|
-
return e.length > 1;
|
|
67
|
-
}
|
|
68
|
-
function J(e, p) {
|
|
69
|
-
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
|
+
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;
|
|
70
4
|
}
|
|
71
5
|
export {
|
|
72
|
-
|
|
6
|
+
i as default
|
|
73
7
|
};
|
|
74
8
|
//# sourceMappingURL=index.es254.js.map
|
package/dist/index.es254.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es254.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es254.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.es26.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import r from "./index.
|
|
1
|
+
import r from "./index.es186.js";
|
|
2
2
|
import { isIE11 as t } from "./index.es23.js";
|
|
3
|
-
import { ie11fingerprint as o, mapMethods as i } from "./index.
|
|
3
|
+
import { ie11fingerprint as o, mapMethods as i } from "./index.es192.js";
|
|
4
4
|
const a = t ? o(i) : r("Map");
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
package/dist/index.es27.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import e from "./index.
|
|
1
|
+
import e from "./index.es186.js";
|
|
2
2
|
import { isIE11 as r } from "./index.es23.js";
|
|
3
|
-
import { ie11fingerprint as t, weakMapMethods as a } from "./index.
|
|
3
|
+
import { ie11fingerprint as t, weakMapMethods as a } from "./index.es192.js";
|
|
4
4
|
const m = r ? t(a) : e("WeakMap");
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
package/dist/index.es28.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import t from "./index.
|
|
1
|
+
import t from "./index.es186.js";
|
|
2
2
|
import { isIE11 as e } from "./index.es23.js";
|
|
3
|
-
import { ie11fingerprint as r, setMethods as o } from "./index.
|
|
3
|
+
import { ie11fingerprint as r, setMethods as o } from "./index.es192.js";
|
|
4
4
|
const f = e ? r(o) : t("Set");
|
|
5
5
|
export {
|
|
6
6
|
f as default
|
package/dist/index.es30.js
CHANGED
package/dist/index.es31.js
CHANGED
package/dist/index.es32.js
CHANGED
package/dist/index.es34.js
CHANGED
package/dist/index.es35.js
CHANGED
package/dist/index.es36.js
CHANGED
package/dist/index.es40.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import u from "./index.es78.js";
|
|
2
2
|
import l from "./index.es22.js";
|
|
3
3
|
import t from "./index.es145.js";
|
|
4
|
-
import s from "./index.
|
|
5
|
-
import d from "./index.
|
|
4
|
+
import s from "./index.es197.js";
|
|
5
|
+
import d from "./index.es196.js";
|
|
6
6
|
const k = u(function(f, r, m) {
|
|
7
7
|
var e, n;
|
|
8
8
|
return l(r) ? n = r : (r = d(r), e = r.slice(0, -1), r = r[r.length - 1]), t(f, function(i) {
|
package/dist/index.es41.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import l from "./index.es78.js";
|
|
2
2
|
import a from "./index.es22.js";
|
|
3
|
-
import p from "./index.
|
|
3
|
+
import p from "./index.es199.js";
|
|
4
4
|
import u from "./index.es101.js";
|
|
5
|
-
import c from "./index.
|
|
6
|
-
import g from "./index.
|
|
5
|
+
import c from "./index.es211.js";
|
|
6
|
+
import g from "./index.es205.js";
|
|
7
7
|
const z = l(function(t, r) {
|
|
8
8
|
var i = {}, f = r[0];
|
|
9
9
|
if (t == null)
|
package/dist/index.es42.js
CHANGED
|
@@ -2,7 +2,7 @@ import n from "./index.es78.js";
|
|
|
2
2
|
import f from "./index.es22.js";
|
|
3
3
|
import e from "./index.es132.js";
|
|
4
4
|
import a from "./index.es145.js";
|
|
5
|
-
import p from "./index.
|
|
5
|
+
import p from "./index.es205.js";
|
|
6
6
|
import u from "./index.es152.js";
|
|
7
7
|
import c from "./index.es41.js";
|
|
8
8
|
const F = n(function(i, t) {
|
package/dist/index.es44.js
CHANGED
package/dist/index.es45.js
CHANGED
package/dist/index.es47.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import i from "./index.es25.js";
|
|
2
2
|
import p from "./index.es144.js";
|
|
3
3
|
import { ArrayProto as e } from "./index.es21.js";
|
|
4
|
-
import s from "./index.
|
|
4
|
+
import s from "./index.es212.js";
|
|
5
5
|
p(["pop", "push", "reverse", "shift", "sort", "splice", "unshift"], function(r) {
|
|
6
6
|
var o = e[r];
|
|
7
7
|
i.prototype[r] = function() {
|
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.
|
|
4
|
-
import "./index.
|
|
5
|
-
import "./index.
|
|
6
|
-
import "./index.
|
|
7
|
-
import "./index.
|
|
8
|
-
import "./index.
|
|
9
|
-
import "./index.
|
|
10
|
-
import "./index.
|
|
11
|
-
import "./index.
|
|
12
|
-
import "./index.
|
|
13
|
-
import "./index.
|
|
14
|
-
import R from "./index.
|
|
15
|
-
import "./index.
|
|
1
|
+
import O from "./index.es213.js";
|
|
2
|
+
import { GeoJSONReader as q, BufferOp as A, GeoJSONWriter as F } from "./index.es215.js";
|
|
3
|
+
import { featureEach as v, geomEach as d } from "./index.es214.js";
|
|
4
|
+
import "./index.es216.js";
|
|
5
|
+
import "./index.es217.js";
|
|
6
|
+
import "./index.es218.js";
|
|
7
|
+
import "./index.es219.js";
|
|
8
|
+
import "./index.es220.js";
|
|
9
|
+
import "./index.es221.js";
|
|
10
|
+
import "./index.es222.js";
|
|
11
|
+
import "./index.es223.js";
|
|
12
|
+
import "./index.es224.js";
|
|
13
|
+
import "./index.es225.js";
|
|
14
|
+
import R from "./index.es226.js";
|
|
15
|
+
import "./index.es227.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.es57.js
CHANGED
package/dist/index.es58.js
CHANGED
package/dist/index.es62.js
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as a } from "./index.es185.js";
|
|
2
|
+
function i(r, s) {
|
|
3
|
+
for (var o = 0; o < s.length; o++) {
|
|
4
|
+
const e = s[o];
|
|
5
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
6
|
+
for (const t in e)
|
|
7
|
+
if (t !== "default" && !(t in r)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(e, t);
|
|
9
|
+
n && Object.defineProperty(r, t, n.get ? n : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => e[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var f = a.printMsg = function() {
|
|
19
|
+
console.log("This is a message from the demo package");
|
|
20
|
+
};
|
|
21
|
+
const p = /* @__PURE__ */ i({
|
|
22
|
+
__proto__: null,
|
|
23
|
+
default: a,
|
|
24
|
+
printMsg: f
|
|
25
|
+
}, [a]);
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
a as default,
|
|
28
|
+
p as i,
|
|
29
|
+
f as printMsg
|
|
4
30
|
};
|
|
5
31
|
//# sourceMappingURL=index.es62.js.map
|
package/dist/index.es62.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es62.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index.es62.js","sources":["../../../node_modules/mapbox-gl/index.js"],"sourcesContent":["exports.printMsg = function() {\r\n console.log(\"This is a message from the demo package\");\r\n }"],"names":["printMsg","mapboxGl"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,IAAAC,EAAA,WAAmB,WAAW;AAC1B,UAAQ,IAAI,yCAAyC;AACvD;;;;;;","x_google_ignoreList":[0]}
|
package/dist/index.es63.js
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
|
-
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { useContext as b, useState as E, useRef as c, useEffect as x, useImperativeHandle as w, useMemo as y } from "react";
|
|
3
|
+
import { MountedMapsContext as L } from "./index.es73.js";
|
|
4
|
+
import m from "./index.es178.js";
|
|
5
|
+
import I from "./index.es179.js";
|
|
6
|
+
import C from "./index.es180.js";
|
|
7
|
+
import g from "./index.es181.js";
|
|
8
|
+
const R = l.createContext(null);
|
|
9
|
+
function A(e, f, d) {
|
|
10
|
+
const o = b(L), [i, p] = E(null), s = c(), { current: a } = c({ mapLib: null, map: null });
|
|
11
|
+
x(() => {
|
|
12
|
+
const v = e.mapLib;
|
|
13
|
+
let u = !0, n;
|
|
14
|
+
return Promise.resolve(v || d).then((r) => {
|
|
15
|
+
if (!u)
|
|
16
|
+
return;
|
|
17
|
+
if (!r)
|
|
18
|
+
throw new Error("Invalid mapLib");
|
|
19
|
+
const t = "Map" in r ? r : r.default;
|
|
20
|
+
if (!t.Map)
|
|
21
|
+
throw new Error("Invalid mapLib");
|
|
22
|
+
if (g(t, e), !t.supported || t.supported(e))
|
|
23
|
+
e.reuseMaps && (n = m.reuse(e, s.current)), n || (n = new m(t.Map, e, s.current)), a.map = I(n), a.mapLib = t, p(n), o == null || o.onMapMount(a.map, e.id);
|
|
24
|
+
else
|
|
25
|
+
throw new Error("Map is not supported by this browser");
|
|
26
|
+
}).catch((r) => {
|
|
27
|
+
const { onError: t } = e;
|
|
28
|
+
t ? t({
|
|
29
|
+
type: "error",
|
|
30
|
+
target: null,
|
|
31
|
+
originalEvent: null,
|
|
32
|
+
error: r
|
|
33
|
+
}) : console.error(r);
|
|
34
|
+
}), () => {
|
|
35
|
+
u = !1, n && (o == null || o.onMapUnmount(e.id), e.reuseMaps ? n.recycle() : n.destroy());
|
|
36
|
+
};
|
|
37
|
+
}, []), C(() => {
|
|
38
|
+
i && i.setProps(e);
|
|
39
|
+
}), w(f, () => a.map, [i]);
|
|
40
|
+
const M = y(() => ({
|
|
41
|
+
position: "relative",
|
|
42
|
+
width: "100%",
|
|
43
|
+
height: "100%",
|
|
44
|
+
...e.style
|
|
45
|
+
}), [e.style]), h = {
|
|
46
|
+
height: "100%"
|
|
47
|
+
};
|
|
48
|
+
return l.createElement("div", { id: e.id, ref: s, style: M }, i && l.createElement(
|
|
49
|
+
R.Provider,
|
|
50
|
+
{ value: a },
|
|
51
|
+
l.createElement("div", { "mapboxgl-children": "", style: h }, e.children)
|
|
52
|
+
));
|
|
53
|
+
}
|
|
2
54
|
export {
|
|
3
|
-
|
|
55
|
+
R as MapContext,
|
|
56
|
+
A as default
|
|
4
57
|
};
|
|
5
58
|
//# sourceMappingURL=index.es63.js.map
|
package/dist/index.es63.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es63.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index.es63.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useRef, useEffect, useContext, useMemo, useImperativeHandle } from 'react';\nimport { MountedMapsContext } from './use-map';\nimport Mapbox from '../mapbox/mapbox';\nimport createRef from '../mapbox/create-ref';\nimport useIsomorphicLayoutEffect from '../utils/use-isomorphic-layout-effect';\nimport setGlobals from '../utils/set-globals';\nexport const MapContext = React.createContext(null);\nexport default function Map(props, ref, defaultLib) {\n const mountedMapsContext = useContext(MountedMapsContext);\n const [mapInstance, setMapInstance] = useState(null);\n const containerRef = useRef();\n const { current: contextValue } = useRef({ mapLib: null, map: null });\n useEffect(() => {\n const mapLib = props.mapLib;\n let isMounted = true;\n let mapbox;\n Promise.resolve(mapLib || defaultLib)\n .then((module) => {\n if (!isMounted) {\n return;\n }\n if (!module) {\n throw new Error('Invalid mapLib');\n }\n const mapboxgl = 'Map' in module ? module : module.default;\n if (!mapboxgl.Map) {\n throw new Error('Invalid mapLib');\n }\n // workerUrl & workerClass may change the result of supported()\n // https://github.com/visgl/react-map-gl/discussions/2027\n setGlobals(mapboxgl, props);\n if (!mapboxgl.supported || mapboxgl.supported(props)) {\n if (props.reuseMaps) {\n mapbox = Mapbox.reuse(props, containerRef.current);\n }\n if (!mapbox) {\n mapbox = new Mapbox(mapboxgl.Map, props, containerRef.current);\n }\n contextValue.map = createRef(mapbox);\n contextValue.mapLib = mapboxgl;\n setMapInstance(mapbox);\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapMount(contextValue.map, props.id);\n }\n else {\n throw new Error('Map is not supported by this browser');\n }\n })\n .catch(error => {\n const { onError } = props;\n if (onError) {\n onError({\n type: 'error',\n target: null,\n originalEvent: null,\n error\n });\n }\n else {\n console.error(error); // eslint-disable-line\n }\n });\n return () => {\n isMounted = false;\n if (mapbox) {\n mountedMapsContext === null || mountedMapsContext === void 0 ? void 0 : mountedMapsContext.onMapUnmount(props.id);\n if (props.reuseMaps) {\n mapbox.recycle();\n }\n else {\n mapbox.destroy();\n }\n }\n };\n }, []);\n useIsomorphicLayoutEffect(() => {\n if (mapInstance) {\n mapInstance.setProps(props);\n }\n });\n useImperativeHandle(ref, () => contextValue.map, [mapInstance]);\n const style = useMemo(() => ({\n position: 'relative',\n width: '100%',\n height: '100%',\n ...props.style\n }), [props.style]);\n const CHILD_CONTAINER_STYLE = {\n height: '100%'\n };\n return (React.createElement(\"div\", { id: props.id, ref: containerRef, style: style }, mapInstance && (React.createElement(MapContext.Provider, { value: contextValue },\n React.createElement(\"div\", { \"mapboxgl-children\": \"\", style: CHILD_CONTAINER_STYLE }, props.children)))));\n}\n//# sourceMappingURL=map.js.map"],"names":["MapContext","React","Map","props","ref","defaultLib","mountedMapsContext","useContext","MountedMapsContext","mapInstance","setMapInstance","useState","containerRef","useRef","contextValue","useEffect","mapLib","isMounted","mapbox","module","mapboxgl","setGlobals","Mapbox","createRef","error","onError","useIsomorphicLayoutEffect","useImperativeHandle","style","useMemo","CHILD_CONTAINER_STYLE"],"mappings":";;;;;;;AAOa,MAAAA,IAAaC,EAAM,cAAc,IAAI;AAC1B,SAAAC,EAAIC,GAAOC,GAAKC,GAAY;AAC1C,QAAAC,IAAqBC,EAAWC,CAAkB,GAClD,CAACC,GAAaC,CAAc,IAAIC,EAAS,IAAI,GAC7CC,IAAeC,KACf,EAAE,SAASC,EAAA,IAAiBD,EAAO,EAAE,QAAQ,MAAM,KAAK,KAAA,CAAM;AACpE,EAAAE,EAAU,MAAM;AACZ,UAAMC,IAASb,EAAM;AACrB,QAAIc,IAAY,IACZC;AACJ,mBAAQ,QAAQF,KAAUX,CAAU,EAC/B,KAAK,CAACc,MAAW;AAClB,UAAI,CAACF;AACD;AAEJ,UAAI,CAACE;AACK,cAAA,IAAI,MAAM,gBAAgB;AAEpC,YAAMC,IAAW,SAASD,IAASA,IAASA,EAAO;AAC/C,UAAA,CAACC,EAAS;AACJ,cAAA,IAAI,MAAM,gBAAgB;AAKpC,UADAC,EAAWD,GAAUjB,CAAK,GACtB,CAACiB,EAAS,aAAaA,EAAS,UAAUjB,CAAK;AAC/C,QAAIA,EAAM,cACNe,IAASI,EAAO,MAAMnB,GAAOS,EAAa,OAAO,IAEhDM,MACDA,IAAS,IAAII,EAAOF,EAAS,KAAKjB,GAAOS,EAAa,OAAO,IAEpDE,EAAA,MAAMS,EAAUL,CAAM,GACnCJ,EAAa,SAASM,GACtBV,EAAeQ,CAAM,GACEZ,KAAA,QAAiDA,EAAmB,WAAWQ,EAAa,KAAKX,EAAM,EAAE;AAAA;AAG1H,cAAA,IAAI,MAAM,sCAAsC;AAAA,IAC1D,CACH,EACI,MAAM,CAASqB,MAAA;AACV,YAAA,EAAE,SAAAC,EAAY,IAAAtB;AACpB,MAAIsB,IACQA,EAAA;AAAA,QACJ,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,eAAe;AAAA,QACf,OAAAD;AAAA,MAAA,CACH,IAGD,QAAQ,MAAMA,CAAK;AAAA,IACvB,CACH,GACM,MAAM;AACG,MAAAP,IAAA,IACRC,MACAZ,KAAuB,QAAiDA,EAAmB,aAAaH,EAAM,EAAE,GAC5GA,EAAM,YACNe,EAAO,QAAQ,IAGfA,EAAO,QAAQ;AAAA,IAEvB;AAAA,EAER,GAAG,CAAE,CAAA,GACLQ,EAA0B,MAAM;AAC5B,IAAIjB,KACAA,EAAY,SAASN,CAAK;AAAA,EAC9B,CACH,GACDwB,EAAoBvB,GAAK,MAAMU,EAAa,KAAK,CAACL,CAAW,CAAC;AACxD,QAAAmB,IAAQC,EAAQ,OAAO;AAAA,IACzB,UAAU;AAAA,IACV,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,GAAG1B,EAAM;AAAA,EACT,IAAA,CAACA,EAAM,KAAK,CAAC,GACX2B,IAAwB;AAAA,IAC1B,QAAQ;AAAA,EAAA;AAEZ,SAAQ7B,EAAM,cAAc,OAAO,EAAE,IAAIE,EAAM,IAAI,KAAKS,GAAc,OAAAgB,EAAgB,GAAAnB,KAAgBR,EAAM;AAAA,IAAcD,EAAW;AAAA,IAAU,EAAE,OAAOc,EAAa;AAAA,IACjKb,EAAM,cAAc,OAAO,EAAE,qBAAqB,IAAI,OAAO6B,EAAA,GAAyB3B,EAAM,QAAQ;AAAA,EAAA,CAAG;AAC/G;","x_google_ignoreList":[0]}
|