@performant-software/geospatial 2.1.0-beta.3 → 2.1.0-beta.31
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.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs19.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs225.js +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.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs24.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs3.js.map +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs35.js.map +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs5.js.map +1 -1
- package/dist/index.cjs6.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.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs9.js.map +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.cjs93.js +1 -1
- package/dist/index.cjs94.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.es.js +8 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +39 -2102
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es11.js +2102 -19
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es12.js +19 -12
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es122.js +2 -2
- package/dist/index.es123.js +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es129.js +1 -1
- package/dist/index.es13.js +12 -6
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es14.js +6 -5
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es15.js +6 -28
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es16.js +6 -8
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es17.js +5 -5
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es18.js +28 -10
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es19.js +8 -17
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es191.js +2 -2
- package/dist/index.es199.js +1 -1
- package/dist/index.es2.js +3 -3
- package/dist/index.es20.js +5 -5
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +1 -1
- package/dist/index.es202.js +1 -1
- package/dist/index.es203.js +1 -1
- package/dist/index.es205.js +1 -1
- package/dist/index.es206.js +2 -2
- package/dist/index.es208.js +1 -1
- package/dist/index.es209.js +2 -2
- package/dist/index.es21.js +9 -4
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es211.js +2 -2
- package/dist/index.es216.js +1 -1
- package/dist/index.es218.js +1 -1
- package/dist/index.es22.js +17 -5
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es220.js +1 -1
- package/dist/index.es221.js +1 -1
- package/dist/index.es225.js +1 -1
- package/dist/index.es226.js +3 -46
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +5 -22
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +8 -3
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +44 -6
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +5 -7
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es230.js +22 -5
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es238.js +1 -1
- package/dist/index.es24.js +5 -7
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es243.js +1 -1
- package/dist/index.es246.js +1 -1
- package/dist/index.es25.js +5 -4
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es250.js +4 -15
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +15 -4
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es26.js +7 -4
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +6 -6
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +4 -15
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +4 -12
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +22 -63
- package/dist/index.es3.js.map +1 -1
- package/dist/index.es30.js +7 -15
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +14 -6
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +12 -5
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +15 -4
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +6 -17
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +5 -18
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +4 -14
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +17 -5
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +17 -6
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +12 -8
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +8 -8
- package/dist/index.es40.js +6 -4
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +6 -18
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +10 -6
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +4 -6
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +21 -1
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +1 -39
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es5.js +27 -19
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es6.js +6 -6
- 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.es7.js +7 -7
- package/dist/index.es70.js +1 -1
- package/dist/index.es74.js +26 -26
- package/dist/index.es75.js +2 -2
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +1 -1
- package/dist/index.es89.js +2 -2
- package/dist/index.es9.js +18 -10
- package/dist/index.es9.js.map +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.es93.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/index.es96.js +4 -4
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +2 -2
- package/src/components/GeoJsonLayer.js +10 -66
- package/src/components/LocationMarkers.js +51 -8
- package/src/index.js +1 -0
- package/src/utils/Map.js +29 -1
- package/src/utils/MapStyles.js +9 -3
- package/types/components/GeoJsonLayer.js.flow +10 -66
- package/types/components/LocationMarkers.js.flow +51 -8
- package/types/index.js.flow +1 -0
- package/types/utils/Map.js.flow +29 -1
- package/types/utils/MapStyles.js.flow +9 -3
package/dist/index.es23.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./index.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
o.toPath = f;
|
|
1
|
+
import r from "./index.es199.js";
|
|
2
|
+
import { isIE11 as t } from "./index.es20.js";
|
|
3
|
+
import { ie11fingerprint as o, mapMethods as i } from "./index.es205.js";
|
|
4
|
+
const a = t ? o(i) : r("Map");
|
|
7
5
|
export {
|
|
8
|
-
|
|
6
|
+
a as default
|
|
9
7
|
};
|
|
10
8
|
//# sourceMappingURL=index.es23.js.map
|
package/dist/index.es23.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es23.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es23.js","sources":["../../../node_modules/underscore/modules/isMap.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, mapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');\n"],"names":["isMap","isIE11","ie11fingerprint","mapMethods","tagTester"],"mappings":";;;AAIA,MAAeA,IAAAC,IAASC,EAAgBC,CAAU,IAAIC,EAAU,KAAK;","x_google_ignoreList":[0]}
|
package/dist/index.es230.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.es230.js.map
|
package/dist/index.es230.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es230.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es230.js","sources":["../../../node_modules/react-map-gl/dist/esm/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;AACM,WAAA;AAQP,MANA,OAAOA,KAAU,aAGjB,UAAUA,MACVA,IAAQA,EAAM,SAEd,CAACA,EAAM;AACA,WAAAA;AAEX,QAAMC,IAAa,CAAA;AACR,aAAAC,KAASF,EAAM;AACX,IAAAC,EAAAC,EAAM,EAAE,IAAIA;AAE3B,QAAMC,IAASH,EAAM,OAAO,IAAI,CAASE,MAAA;AACrC,QAAIE,IAAkB;AACtB,IAAI,iBAAiBF,MACjBE,IAAkB,OAAO,OAAO,CAAC,GAAGF,CAAK,GAGzC,OAAOE,EAAgB;AAIrB,UAAAC,IAAWJ,EAAWC,EAAM,GAAG;AACrC,QAAIG,GAAU;AACV,MAAAD,IAAkBA,KAAmB,OAAO,OAAO,IAAIF,CAAK,GAE5D,OAAOE,EAAgB;AAEvB,iBAAWE,KAAYR;AACnB,QAAIQ,KAAYD,MACID,EAAAE,CAAQ,IAAID,EAASC,CAAQ;AAAA,IAGzD;AACA,WAAOF,KAAmBF;AAAA,EAAA,CAC7B;AAEM,SAAA,EAAE,GAAGF,GAAO,QAAAG;AACvB;","x_google_ignoreList":[0]}
|
package/dist/index.es238.js
CHANGED
package/dist/index.es24.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
r.iteratee = a;
|
|
1
|
+
import e from "./index.es199.js";
|
|
2
|
+
import { isIE11 as r } from "./index.es20.js";
|
|
3
|
+
import { ie11fingerprint as t, weakMapMethods as a } from "./index.es205.js";
|
|
4
|
+
const m = r ? t(a) : e("WeakMap");
|
|
7
5
|
export {
|
|
8
|
-
|
|
6
|
+
m as default
|
|
9
7
|
};
|
|
10
8
|
//# sourceMappingURL=index.es24.js.map
|
package/dist/index.es24.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es24.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es24.js","sources":["../../../node_modules/underscore/modules/isWeakMap.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, weakMapMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap');\n"],"names":["isWeakMap","isIE11","ie11fingerprint","weakMapMethods","tagTester"],"mappings":";;;AAIA,MAAeA,IAAAC,IAASC,EAAgBC,CAAc,IAAIC,EAAU,SAAS;","x_google_ignoreList":[0]}
|
package/dist/index.es243.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.es233.js";
|
|
2
2
|
import { circleStream as $ } from "./index.es232.js";
|
|
3
3
|
import { pi as v, cos as F, epsilon as x, abs as G, sqrt as b } from "./index.es234.js";
|
|
4
|
-
import J from "./index.
|
|
4
|
+
import J from "./index.es250.js";
|
|
5
5
|
import m from "./index.es252.js";
|
|
6
6
|
function fn(S, V) {
|
|
7
7
|
var A = F(S), C = A > 0, W = G(A) > x;
|
package/dist/index.es246.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c from "./index.es248.js";
|
|
2
|
-
import n from "./index.
|
|
2
|
+
import n from "./index.es251.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.es25.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import t from "./index.es199.js";
|
|
2
|
+
import { isIE11 as e } from "./index.es20.js";
|
|
3
|
+
import { ie11fingerprint as r, setMethods as o } from "./index.es205.js";
|
|
4
|
+
const f = e ? r(o) : t("Set");
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
f as default
|
|
6
7
|
};
|
|
7
8
|
//# sourceMappingURL=index.es25.js.map
|
package/dist/index.es25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es25.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es25.js","sources":["../../../node_modules/underscore/modules/isSet.js"],"sourcesContent":["import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, setMethods } from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set');\n"],"names":["isSet","isIE11","ie11fingerprint","setMethods","tagTester"],"mappings":";;;AAIA,MAAeA,IAAAC,IAASC,EAAgBC,CAAU,IAAIC,EAAU,KAAK;","x_google_ignoreList":[0]}
|
package/dist/index.es250.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.es234.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.es250.js.map
|
package/dist/index.es250.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es250.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es250.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.es251.js
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import r from "./index.es249.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.es251.js.map
|
package/dist/index.es251.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es251.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es251.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.es26.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import o from "./index.es22.js";
|
|
2
|
+
import t from "./index.es90.js";
|
|
3
|
+
function f(r) {
|
|
4
|
+
return t(r) ? r : [r];
|
|
5
|
+
}
|
|
6
|
+
o.toPath = f;
|
|
4
7
|
export {
|
|
5
|
-
|
|
8
|
+
f as default
|
|
6
9
|
};
|
|
7
10
|
//# sourceMappingURL=index.es26.js.map
|
package/dist/index.es26.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es26.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es26.js","sources":["../../../node_modules/underscore/modules/toPath.js"],"sourcesContent":["import _ from './underscore.js';\nimport isArray from './isArray.js';\n\n// Normalize a (deep) property `path` to array.\n// Like `_.iteratee`, this function can be customized.\nexport default function toPath(path) {\n return isArray(path) ? path : [path];\n}\n_.toPath = toPath;\n"],"names":["toPath","path","isArray","_"],"mappings":";;AAKA,SAAwBA,EAAOC,GAAM;AACnC,SAAOC,EAAQD,CAAI,IAAIA,IAAO,CAACA,CAAI;AACrC;AACAE,EAAE,SAASH;","x_google_ignoreList":[0]}
|
package/dist/index.es27.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import r from "./index.es22.js";
|
|
2
|
+
import i from "./index.es216.js";
|
|
3
|
+
function a(e, t) {
|
|
4
|
+
return i(e, t, 1 / 0);
|
|
5
|
+
}
|
|
6
|
+
r.iteratee = a;
|
|
7
7
|
export {
|
|
8
8
|
a as default
|
|
9
9
|
};
|
package/dist/index.es27.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es27.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es27.js","sources":["../../../node_modules/underscore/modules/iteratee.js"],"sourcesContent":["import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\n\n// External wrapper for our callback generator. Users may customize\n// `_.iteratee` if they want additional predicate/iteratee shorthand styles.\n// This abstraction hides the internal-only `argCount` argument.\nexport default function iteratee(value, context) {\n return baseIteratee(value, context, Infinity);\n}\n_.iteratee = iteratee;\n"],"names":["iteratee","value","context","baseIteratee","_"],"mappings":";;AAMwB,SAAAA,EAASC,GAAOC,GAAS;AACxC,SAAAC,EAAaF,GAAOC,GAAS,KAAQ;AAC9C;AACAE,EAAE,WAAWJ;","x_google_ignoreList":[0]}
|
package/dist/index.es28.js
CHANGED
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
var l = m(function(u, e) {
|
|
5
|
-
var h = l.placeholder, o = function() {
|
|
6
|
-
for (var t = 0, n = e.length, a = Array(n), r = 0; r < n; r++)
|
|
7
|
-
a[r] = e[r] === h ? arguments[t++] : e[r];
|
|
8
|
-
for (; t < arguments.length; )
|
|
9
|
-
a.push(arguments[t++]);
|
|
10
|
-
return p(u, o, this, this, a);
|
|
11
|
-
};
|
|
12
|
-
return o;
|
|
13
|
-
});
|
|
14
|
-
l.placeholder = s;
|
|
1
|
+
import e from "./index.es213.js";
|
|
2
|
+
import a from "./index.es214.js";
|
|
3
|
+
const o = e(a);
|
|
15
4
|
export {
|
|
16
|
-
|
|
5
|
+
o as default
|
|
17
6
|
};
|
|
18
7
|
//# sourceMappingURL=index.es28.js.map
|
package/dist/index.es28.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es28.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es28.js","sources":["../../../node_modules/underscore/modules/escape.js"],"sourcesContent":["import createEscaper from './_createEscaper.js';\nimport escapeMap from './_escapeMap.js';\n\n// Function for escaping strings to HTML interpolation.\nexport default createEscaper(escapeMap);\n"],"names":["escape","createEscaper","escapeMap"],"mappings":";;AAIA,MAAeA,IAAAC,EAAcC,CAAS;","x_google_ignoreList":[0]}
|
package/dist/index.es29.js
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
const a = o(function(t, r, e) {
|
|
5
|
-
if (!u(t))
|
|
6
|
-
throw new TypeError("Bind must be called on a function");
|
|
7
|
-
var n = o(function(i) {
|
|
8
|
-
return c(t, n, r, this, e.concat(i));
|
|
9
|
-
});
|
|
10
|
-
return n;
|
|
11
|
-
});
|
|
1
|
+
import e from "./index.es213.js";
|
|
2
|
+
import a from "./index.es215.js";
|
|
3
|
+
const o = e(a);
|
|
12
4
|
export {
|
|
13
|
-
|
|
5
|
+
o as default
|
|
14
6
|
};
|
|
15
7
|
//# sourceMappingURL=index.es29.js.map
|
package/dist/index.es29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es29.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es29.js","sources":["../../../node_modules/underscore/modules/unescape.js"],"sourcesContent":["import createEscaper from './_createEscaper.js';\nimport unescapeMap from './_unescapeMap.js';\n\n// Function for unescaping strings from HTML interpolation.\nexport default createEscaper(unescapeMap);\n"],"names":["unescape","createEscaper","unescapeMap"],"mappings":";;AAIA,MAAeA,IAAAC,EAAcC,CAAW;","x_google_ignoreList":[0]}
|
package/dist/index.es3.js
CHANGED
|
@@ -1,84 +1,38 @@
|
|
|
1
|
-
import { j as e } from "./index.
|
|
2
|
-
import { useState as
|
|
3
|
-
import { Source as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import "./index.es19.js";
|
|
10
|
-
import "./index.es20.js";
|
|
11
|
-
import "./index.es21.js";
|
|
12
|
-
import "./index.es22.js";
|
|
13
|
-
import "./index.es23.js";
|
|
14
|
-
import "./index.es24.js";
|
|
15
|
-
import "./index.es25.js";
|
|
16
|
-
import "./index.es26.js";
|
|
17
|
-
import "./index.es27.js";
|
|
18
|
-
import "./index.es28.js";
|
|
19
|
-
import "./index.es29.js";
|
|
20
|
-
import "./index.es30.js";
|
|
21
|
-
import "./index.es31.js";
|
|
22
|
-
import "./index.es32.js";
|
|
23
|
-
import "./index.es33.js";
|
|
24
|
-
import "./index.es34.js";
|
|
25
|
-
import "./index.es35.js";
|
|
26
|
-
import "./index.es36.js";
|
|
27
|
-
import "./index.es37.js";
|
|
28
|
-
import "./index.es38.js";
|
|
29
|
-
import "./index.es39.js";
|
|
30
|
-
import "./index.es40.js";
|
|
31
|
-
import "./index.es41.js";
|
|
32
|
-
const n = "#CC3333", m = "#990000", T = {
|
|
33
|
-
"fill-color": n,
|
|
34
|
-
"fill-opacity": 0.2
|
|
35
|
-
}, j = {
|
|
36
|
-
"line-color": m,
|
|
37
|
-
"line-opacity": 0.6
|
|
38
|
-
}, d = {
|
|
39
|
-
"circle-radius": [
|
|
40
|
-
"interpolate",
|
|
41
|
-
["linear"],
|
|
42
|
-
["number", ["get", "point_count"], 1],
|
|
43
|
-
0,
|
|
44
|
-
4,
|
|
45
|
-
10,
|
|
46
|
-
14
|
|
47
|
-
],
|
|
48
|
-
"circle-stroke-width": 1,
|
|
49
|
-
"circle-color": n,
|
|
50
|
-
"circle-stroke-color": m
|
|
51
|
-
}, Z = (t) => {
|
|
52
|
-
const [c, p] = S(t.data), i = L((o, f) => _.defaults(o, f), []), a = r(() => i(t.fillStyle, T), [i, t.fillStyle]), s = r(() => i(t.lineStyle, j), [i, t.lineStyle]), y = r(() => i(t.pointStyle, d), [i, t.pointStyle]);
|
|
53
|
-
return u(() => {
|
|
54
|
-
t.url && fetch(t.url).then((o) => o.json()).then((o) => p(o));
|
|
1
|
+
import { j as e } from "./index.es14.js";
|
|
2
|
+
import { useState as a, useEffect as f } from "react";
|
|
3
|
+
import { Source as y, Layer as i } from "./index.es12.js";
|
|
4
|
+
import n from "./index.es10.js";
|
|
5
|
+
const s = (t) => {
|
|
6
|
+
const [o, r] = a(t.data);
|
|
7
|
+
return f(() => {
|
|
8
|
+
t.url && fetch(t.url).then((l) => l.json()).then((l) => r(l));
|
|
55
9
|
}, [t.url]), /* @__PURE__ */ e.jsxs(
|
|
56
|
-
|
|
10
|
+
y,
|
|
57
11
|
{
|
|
58
|
-
data:
|
|
12
|
+
data: o,
|
|
59
13
|
type: "geojson",
|
|
60
14
|
children: [
|
|
61
15
|
/* @__PURE__ */ e.jsx(
|
|
62
|
-
|
|
16
|
+
i,
|
|
63
17
|
{
|
|
64
18
|
filter: ["!=", "$type", "Point"],
|
|
65
|
-
paint:
|
|
19
|
+
paint: t.fillStyle,
|
|
66
20
|
type: "fill"
|
|
67
21
|
}
|
|
68
22
|
),
|
|
69
23
|
/* @__PURE__ */ e.jsx(
|
|
70
|
-
|
|
24
|
+
i,
|
|
71
25
|
{
|
|
72
26
|
filter: ["!=", "$type", "Point"],
|
|
73
|
-
paint:
|
|
27
|
+
paint: t.lineStyle,
|
|
74
28
|
type: "line"
|
|
75
29
|
}
|
|
76
30
|
),
|
|
77
31
|
/* @__PURE__ */ e.jsx(
|
|
78
|
-
|
|
32
|
+
i,
|
|
79
33
|
{
|
|
80
34
|
filter: ["==", "$type", "Point"],
|
|
81
|
-
paint:
|
|
35
|
+
paint: t.pointStyle,
|
|
82
36
|
type: "circle"
|
|
83
37
|
}
|
|
84
38
|
)
|
|
@@ -86,7 +40,12 @@ const n = "#CC3333", m = "#990000", T = {
|
|
|
86
40
|
}
|
|
87
41
|
);
|
|
88
42
|
};
|
|
43
|
+
s.defaultProps = {
|
|
44
|
+
fillStyle: n.fill,
|
|
45
|
+
pointStyle: n.point,
|
|
46
|
+
strokeStyle: n.stroke
|
|
47
|
+
};
|
|
89
48
|
export {
|
|
90
|
-
|
|
49
|
+
s as default
|
|
91
50
|
};
|
|
92
51
|
//# sourceMappingURL=index.es3.js.map
|
package/dist/index.es3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es3.js","sources":["../src/components/GeoJsonLayer.js"],"sourcesContent":["// @flow\n\nimport React, {\n
|
|
1
|
+
{"version":3,"file":"index.es3.js","sources":["../src/components/GeoJsonLayer.js"],"sourcesContent":["// @flow\n\nimport React, {\n useEffect,\n useState\n} from 'react';\nimport { Layer, Source } from 'react-map-gl';\nimport MapStyles from '../utils/MapStyles';\n\ntype Props = {\n data?: { [key: string]: any },\n fillStyle?: { [key: string]: any },\n lineStyle?: { [key: string]: any },\n pointStyle?: { [key: string]: any },\n url?: string\n};\n\nconst GeoJsonLayer = (props: Props) => {\n const [data, setData] = useState(props.data);\n\n /**\n * If the data is passed as a URL, fetches the passed URL and sets the response on the state.\n */\n useEffect(() => {\n if (props.url) {\n fetch(props.url)\n .then((response) => response.json())\n .then((json) => setData(json));\n }\n }, [props.url]);\n\n return (\n <Source\n data={data}\n type='geojson'\n >\n <Layer\n filter={['!=', '$type', 'Point']}\n paint={props.fillStyle}\n type='fill'\n />\n <Layer\n filter={['!=', '$type', 'Point']}\n paint={props.lineStyle}\n type='line'\n />\n <Layer\n filter={['==', '$type', 'Point']}\n paint={props.pointStyle}\n type='circle'\n />\n </Source>\n );\n};\n\nGeoJsonLayer.defaultProps = {\n fillStyle: MapStyles.fill,\n pointStyle: MapStyles.point,\n strokeStyle: MapStyles.stroke\n};\n\nexport default GeoJsonLayer;\n"],"names":["GeoJsonLayer","props","data","setData","useState","useEffect","response","json","jsxs","Source","jsx","Layer","MapStyles"],"mappings":";;;;AAiBM,MAAAA,IAAe,CAACC,MAAiB;AACrC,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAASH,EAAM,IAAI;AAK3C,SAAAI,EAAU,MAAM;AACd,IAAIJ,EAAM,OACR,MAAMA,EAAM,GAAG,EACZ,KAAK,CAACK,MAAaA,EAAS,KAAK,CAAC,EAClC,KAAK,CAACC,MAASJ,EAAQI,CAAI,CAAC;AAAA,EACjC,GACC,CAACN,EAAM,GAAG,CAAC,GAGZO,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAAP;AAAA,MACA,MAAK;AAAA,MAEL,UAAA;AAAA,QAAAQ,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,QAAQ,CAAC,MAAM,SAAS,OAAO;AAAA,YAC/B,OAAOV,EAAM;AAAA,YACb,MAAK;AAAA,UAAA;AAAA,QACP;AAAA,QACAS,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,QAAQ,CAAC,MAAM,SAAS,OAAO;AAAA,YAC/B,OAAOV,EAAM;AAAA,YACb,MAAK;AAAA,UAAA;AAAA,QACP;AAAA,QACAS,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,QAAQ,CAAC,MAAM,SAAS,OAAO;AAAA,YAC/B,OAAOV,EAAM;AAAA,YACb,MAAK;AAAA,UAAA;AAAA,QACP;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;AAEAD,EAAa,eAAe;AAAA,EAC1B,WAAWY,EAAU;AAAA,EACrB,YAAYA,EAAU;AAAA,EACtB,aAAaA,EAAU;AACzB;"}
|
package/dist/index.es30.js
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
if (n < 1)
|
|
8
|
-
throw new Error("bindAll must be passed function names");
|
|
9
|
-
for (; n--; ) {
|
|
10
|
-
var e = t[n];
|
|
11
|
-
r[e] = l(r[e], r);
|
|
12
|
-
}
|
|
13
|
-
return r;
|
|
14
|
-
});
|
|
1
|
+
import t from "./index.es22.js";
|
|
2
|
+
const a = t.templateSettings = {
|
|
3
|
+
evaluate: /<%([\s\S]+?)%>/g,
|
|
4
|
+
interpolate: /<%=([\s\S]+?)%>/g,
|
|
5
|
+
escape: /<%-([\s\S]+?)%>/g
|
|
6
|
+
};
|
|
15
7
|
export {
|
|
16
|
-
|
|
8
|
+
a as default
|
|
17
9
|
};
|
|
18
10
|
//# sourceMappingURL=index.es30.js.map
|
package/dist/index.es30.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es30.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es30.js","sources":["../../../node_modules/underscore/modules/templateSettings.js"],"sourcesContent":["import _ from './underscore.js';\n\n// By default, Underscore uses ERB-style template delimiters. Change the\n// following template settings to use alternative delimiters.\nexport default _.templateSettings = {\n evaluate: /<%([\\s\\S]+?)%>/g,\n interpolate: /<%=([\\s\\S]+?)%>/g,\n escape: /<%-([\\s\\S]+?)%>/g\n};\n"],"names":["templateSettings","_"],"mappings":";AAIA,MAAeA,IAAAC,EAAE,mBAAmB;AAAA,EAClC,UAAU;AAAA,EACV,aAAa;AAAA,EACb,QAAQ;AACV;","x_google_ignoreList":[0]}
|
package/dist/index.es31.js
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import m from "./index.es76.js";
|
|
2
|
+
import p from "./index.es217.js";
|
|
3
|
+
import s from "./index.es22.js";
|
|
4
|
+
var l = m(function(u, e) {
|
|
5
|
+
var h = l.placeholder, o = function() {
|
|
6
|
+
for (var t = 0, n = e.length, a = Array(n), r = 0; r < n; r++)
|
|
7
|
+
a[r] = e[r] === h ? arguments[t++] : e[r];
|
|
8
|
+
for (; t < arguments.length; )
|
|
9
|
+
a.push(arguments[t++]);
|
|
10
|
+
return p(u, o, this, this, a);
|
|
11
|
+
};
|
|
12
|
+
return o;
|
|
6
13
|
});
|
|
14
|
+
l.placeholder = s;
|
|
7
15
|
export {
|
|
8
|
-
|
|
16
|
+
l as default
|
|
9
17
|
};
|
|
10
18
|
//# sourceMappingURL=index.es31.js.map
|
package/dist/index.es31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es31.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es31.js","sources":["../../../node_modules/underscore/modules/partial.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport executeBound from './_executeBound.js';\nimport _ from './underscore.js';\n\n// Partially apply a function by creating a version that has had some of its\n// arguments pre-filled, without changing its dynamic `this` context. `_` acts\n// as a placeholder by default, allowing any combination of arguments to be\n// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument.\nvar partial = restArguments(function(func, boundArgs) {\n var placeholder = partial.placeholder;\n var bound = function() {\n var position = 0, length = boundArgs.length;\n var args = Array(length);\n for (var i = 0; i < length; i++) {\n args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i];\n }\n while (position < arguments.length) args.push(arguments[position++]);\n return executeBound(func, bound, this, this, args);\n };\n return bound;\n});\n\npartial.placeholder = _;\nexport default partial;\n"],"names":["partial","restArguments","func","boundArgs","placeholder","bound","position","length","args","i","executeBound","_"],"mappings":";;;AAQA,IAAIA,IAAUC,EAAc,SAASC,GAAMC,GAAW;AACpD,MAAIC,IAAcJ,EAAQ,aACtBK,IAAQ,WAAW;AAGrB,aAFIC,IAAW,GAAGC,IAASJ,EAAU,QACjCK,IAAO,MAAMD,CAAM,GACdE,IAAI,GAAGA,IAAIF,GAAQE;AACrB,MAAAD,EAAAC,CAAC,IAAIN,EAAUM,CAAC,MAAML,IAAc,UAAUE,GAAU,IAAIH,EAAUM,CAAC;AAE9E,WAAOH,IAAW,UAAU;AAAa,MAAAE,EAAA,KAAK,UAAUF,GAAU,CAAC;AACnE,WAAOI,EAAaR,GAAMG,GAAO,MAAM,MAAMG,CAAI;AAAA,EAAA;AAE5C,SAAAH;AACT,CAAC;AAEDL,EAAQ,cAAcW;","x_google_ignoreList":[0]}
|
package/dist/index.es32.js
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import o from "./index.es76.js";
|
|
2
|
+
import u from "./index.es19.js";
|
|
3
|
+
import c from "./index.es217.js";
|
|
4
|
+
const a = o(function(t, r, e) {
|
|
5
|
+
if (!u(t))
|
|
6
|
+
throw new TypeError("Bind must be called on a function");
|
|
7
|
+
var n = o(function(i) {
|
|
8
|
+
return c(t, n, r, this, e.concat(i));
|
|
9
|
+
});
|
|
10
|
+
return n;
|
|
11
|
+
});
|
|
5
12
|
export {
|
|
6
|
-
|
|
13
|
+
a as default
|
|
7
14
|
};
|
|
8
15
|
//# sourceMappingURL=index.es32.js.map
|
package/dist/index.es32.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es32.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es32.js","sources":["../../../node_modules/underscore/modules/bind.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport executeBound from './_executeBound.js';\n\n// Create a function bound to a given object (assigning `this`, and arguments,\n// optionally).\nexport default restArguments(function(func, context, args) {\n if (!isFunction(func)) throw new TypeError('Bind must be called on a function');\n var bound = restArguments(function(callArgs) {\n return executeBound(func, bound, context, this, args.concat(callArgs));\n });\n return bound;\n});\n"],"names":["bind","restArguments","func","context","args","isFunction","bound","callArgs","executeBound"],"mappings":";;;AAMA,MAAeA,IAAAC,EAAc,SAASC,GAAMC,GAASC,GAAM;AACrD,MAAA,CAACC,EAAWH,CAAI;AAAS,UAAA,IAAI,UAAU,mCAAmC;AAC1E,MAAAI,IAAQL,EAAc,SAASM,GAAU;AACpC,WAAAC,EAAaN,GAAMI,GAAOH,GAAS,MAAMC,EAAK,OAAOG,CAAQ,CAAC;AAAA,EAAA,CACtE;AACM,SAAAD;AACT,CAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es33.js
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import i from "./index.es76.js";
|
|
2
|
+
import f from "./index.es218.js";
|
|
3
|
+
import l from "./index.es32.js";
|
|
4
|
+
const s = i(function(r, t) {
|
|
5
|
+
t = f(t, !1, !1);
|
|
6
|
+
var n = t.length;
|
|
7
|
+
if (n < 1)
|
|
8
|
+
throw new Error("bindAll must be passed function names");
|
|
9
|
+
for (; n--; ) {
|
|
10
|
+
var e = t[n];
|
|
11
|
+
r[e] = l(r[e], r);
|
|
12
|
+
}
|
|
13
|
+
return r;
|
|
14
|
+
});
|
|
4
15
|
export {
|
|
5
|
-
|
|
16
|
+
s as default
|
|
6
17
|
};
|
|
7
18
|
//# sourceMappingURL=index.es33.js.map
|
package/dist/index.es33.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es33.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es33.js","sources":["../../../node_modules/underscore/modules/bindAll.js"],"sourcesContent":["import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport bind from './bind.js';\n\n// Bind a number of an object's methods to that object. Remaining arguments\n// are the method names to be bound. Useful for ensuring that all callbacks\n// defined on an object belong to it.\nexport default restArguments(function(obj, keys) {\n keys = flatten(keys, false, false);\n var index = keys.length;\n if (index < 1) throw new Error('bindAll must be passed function names');\n while (index--) {\n var key = keys[index];\n obj[key] = bind(obj[key], obj);\n }\n return obj;\n});\n"],"names":["bindAll","restArguments","obj","keys","flatten","index","key","bind"],"mappings":";;;AAOA,MAAAA,IAAeC,EAAc,SAASC,GAAKC,GAAM;AACxC,EAAAA,IAAAC,EAAQD,GAAM,IAAO,EAAK;AACjC,MAAIE,IAAQF,EAAK;AACjB,MAAIE,IAAQ;AAAS,UAAA,IAAI,MAAM,uCAAuC;AACtE,SAAOA,OAAS;AACV,QAAAC,IAAMH,EAAKE,CAAK;AACpB,IAAAH,EAAII,CAAG,IAAIC,EAAKL,EAAII,CAAG,GAAGJ,CAAG;AAAA,EAC/B;AACO,SAAAA;AACT,CAAC;","x_google_ignoreList":[0]}
|