@performant-software/geospatial 3.0.1-beta.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +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.cjs76.js +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.es15.js +5 -5
- package/dist/index.es16.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es21.js +2 -2
- package/dist/index.es22.js +2 -2
- package/dist/index.es244.js +1 -1
- package/dist/index.es246.js +1 -1
- package/dist/index.es250.js +1 -1
- package/dist/index.es251.js +2 -2
- package/dist/index.es254.js +1 -1
- package/dist/index.es257.js +2 -70
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +15 -4
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +4 -15
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +70 -2
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es52.js +5 -5
- package/dist/index.es61.js +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es65.js +2 -107
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +107 -10
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +10 -2
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +2 -55
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +4 -48
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +55 -37
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +47 -11
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +38 -14
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +11 -29
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +10 -10
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +29 -13
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +12 -10
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +14 -4
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +11 -2
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/build/index.js +0 -2
- package/build/index.js.map +0 -1
- package/build/main.css +0 -127
- package/types/components/LocationMarker.js.flow +0 -82
package/dist/index.cjs76.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("react"),i=require("./index.cjs188.js"),c=require("./index.cjs16.js");function l(t){const n=c(({mapLib:o})=>new o.NavigationControl(t),{position:t.position});return e.useEffect(()=>{i.applyReactStyle(n._container,t.style)},[t.style]),null}const r=e.memo(l);module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs76.js.map
|
package/dist/index.cjs76.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs76.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index.cjs76.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/navigation-control.js"],"sourcesContent":["import { useEffect, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction NavigationControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.NavigationControl(props), {\n position: props.position\n });\n useEffect(() => {\n applyReactStyle(ctrl._container, props.style);\n }, [props.style]);\n return null;\n}\nexport default memo(NavigationControl);\n//# sourceMappingURL=navigation-control.js.map"],"names":["NavigationControl","props","ctrl","useControl","mapLib","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAkBC,EAAO,CACxB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,kBAAkBH,CAAK,EAAG,CACzE,SAAUA,EAAM,QAAA,CACnB,EACDI,OAAAA,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAJ,EAAK,WAAYD,EAAM,KAAK,CAAA,EAC7C,CAACA,EAAM,KAAK,CAAC,EACT,IACX,CACA,MAAeM,EAAAA,EAAAA,KAAKP,CAAiB","x_google_ignoreList":[0]}
|
package/dist/index.cjs77.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const n=require("react"),a=require("./index.cjs188.js"),l=require("./index.cjs16.js");function r(t){const e=l(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{a.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
|
|
2
2
|
//# sourceMappingURL=index.cjs77.js.map
|
package/dist/index.cjs77.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs77.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs77.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/scale-control.js"],"sourcesContent":["import { useEffect, useRef, memo } from 'react';\nimport { applyReactStyle } from '../utils/apply-react-style';\nimport useControl from './use-control';\nfunction ScaleControl(props) {\n const ctrl = useControl(({ mapLib }) => new mapLib.ScaleControl(props), {\n position: props.position\n });\n const propsRef = useRef(props);\n const prevProps = propsRef.current;\n propsRef.current = props;\n const { style } = props;\n if (props.maxWidth !== undefined && props.maxWidth !== prevProps.maxWidth) {\n ctrl.options.maxWidth = props.maxWidth;\n }\n if (props.unit !== undefined && props.unit !== prevProps.unit) {\n ctrl.setUnit(props.unit);\n }\n useEffect(() => {\n applyReactStyle(ctrl._container, style);\n }, [style]);\n return null;\n}\nexport default memo(ScaleControl);\n//# sourceMappingURL=scale-control.js.map"],"names":["ScaleControl","props","ctrl","useControl","mapLib","propsRef","useRef","prevProps","style","useEffect","applyReactStyle","memo"],"mappings":"mGAGA,SAASA,EAAaC,EAAO,CACnB,MAAAC,EAAOC,EAAW,CAAC,CAAE,OAAAC,KAAa,IAAIA,EAAO,aAAaH,CAAK,EAAG,CACpE,SAAUA,EAAM,QAAA,CACnB,EACKI,EAAWC,SAAOL,CAAK,EACvBM,EAAYF,EAAS,QAC3BA,EAAS,QAAUJ,EACb,KAAA,CAAE,MAAAO,CAAU,EAAAP,EAClB,OAAIA,EAAM,WAAa,QAAaA,EAAM,WAAaM,EAAU,WACxDL,EAAA,QAAQ,SAAWD,EAAM,UAE9BA,EAAM,OAAS,QAAaA,EAAM,OAASM,EAAU,MAChDL,EAAA,QAAQD,EAAM,IAAI,EAE3BQ,EAAAA,UAAU,IAAM,CACIC,EAAAA,gBAAAR,EAAK,WAAYM,CAAK,CAAA,EACvC,CAACA,CAAK,CAAC,EACH,IACX,CACeG,OAAKX,CAAY","x_google_ignoreList":[0]}
|
package/dist/index.cjs78.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs70.js");function c(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const s=c(o),u=s.createContext(null);function i(){var e;const n=(e=o.useContext(u))===null||e===void 0?void 0:e.maps,t=o.useContext(a.MapContext);return o.useMemo(()=>({...n,current:t==null?void 0:t.map}),[n,t])}exports.MountedMapsContext=u;exports.useMap=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs78.js.map
|
package/dist/index.cjs78.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs78.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs78.js","sources":["../../../node_modules/react-map-gl/dist/esm/components/use-map.js"],"sourcesContent":["import * as React from 'react';\nimport { useState, useCallback, useMemo, useContext } from 'react';\nimport { MapContext } from './map';\nexport const MountedMapsContext = React.createContext(null);\nexport const MapProvider = props => {\n const [maps, setMaps] = useState({});\n const onMapMount = useCallback((map, id = 'default') => {\n setMaps(currMaps => {\n if (id === 'current') {\n throw new Error(\"'current' cannot be used as map id\");\n }\n if (currMaps[id]) {\n throw new Error(`Multiple maps with the same id: ${id}`);\n }\n return { ...currMaps, [id]: map };\n });\n }, []);\n const onMapUnmount = useCallback((id = 'default') => {\n setMaps(currMaps => {\n if (currMaps[id]) {\n const nextMaps = { ...currMaps };\n delete nextMaps[id];\n return nextMaps;\n }\n return currMaps;\n });\n }, []);\n return (React.createElement(MountedMapsContext.Provider, { value: {\n maps,\n onMapMount,\n onMapUnmount\n } }, props.children));\n};\nexport function useMap() {\n var _a;\n const maps = (_a = useContext(MountedMapsContext)) === null || _a === void 0 ? void 0 : _a.maps;\n const currentMap = useContext(MapContext);\n const mapsWithCurrent = useMemo(() => {\n return { ...maps, current: currentMap === null || currentMap === void 0 ? void 0 : currentMap.map };\n }, [maps, currentMap]);\n return mapsWithCurrent;\n}\n//# sourceMappingURL=use-map.js.map"],"names":["MountedMapsContext","React","useMap","_a","maps","useContext","currentMap","MapContext","useMemo"],"mappings":"iaAGaA,EAAqBC,EAAM,cAAc,IAAI,EA8BnD,SAASC,GAAS,CACjB,IAAAC,EACE,MAAAC,GAAQD,EAAKE,EAAW,WAAAL,CAAkB,KAAO,MAAQG,IAAO,OAAS,OAASA,EAAG,KACrFG,EAAaD,aAAWE,EAAAA,UAAU,EAIjC,OAHiBC,EAAAA,QAAQ,KACrB,CAAE,GAAGJ,EAAM,QAASE,GAAe,KAAgC,OAASA,EAAW,GAAI,GACnG,CAACF,EAAME,CAAU,CAAC,CAEzB","x_google_ignoreList":[0]}
|
package/dist/index.cjs80.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("react"),m=require("./index.
|
|
1
|
+
"use strict";const u=require("react"),m=require("./index.cjs70.js"),L=require("./index.cjs190.js"),s=require("./index.cjs189.js");function q(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:l,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)s.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)s.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}s.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||l!==o.maxzoom)&&t.setLayerZoomRange(e,f,l)}function g(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let x=0;function h(t){const e=u.useContext(m.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${x++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{q(e,r,t,a.current)}catch(y){console.warn(y)}else g(e,r,t);return a.current=t,null}module.exports=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs80.js.map
|
package/dist/index.cjs81.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const l=require("react"),f=require("./index.
|
|
1
|
+
"use strict";const l=require("react"),f=require("./index.cjs70.js"),d=require("./index.cjs190.js"),y=require("./index.cjs189.js");function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const S=g(l);let m=0;function b(t,e,n){if(t.style&&t.style._loaded){const o={...n};return delete o.id,delete o.children,t.addSource(e,o),t.getSource(e)}return null}function h(t,e,n){d(e.id===n.id,"source id changed"),d(e.type===n.type,"source type changed");let o="",c=0;for(const r in e)r!=="children"&&r!=="id"&&!y.deepEqual(n[r],e[r])&&(o=r,c++);if(!c)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else if("setCoordinates"in t&&c===1&&o==="coordinates")t.setCoordinates(e.coordinates);else if("setUrl"in t)switch(o){case"url":t.setUrl(e.url);break;case"tiles":t.setTiles(e.tiles);break}else console.warn(`Unable to update <Source> prop: ${o}`)}function C(t){const e=l.useContext(f.MapContext).map.getMap(),n=l.useRef(t),[,o]=l.useState(0),c=l.useMemo(()=>t.id||`jsx-source-${m++}`,[]);l.useEffect(()=>{if(e){const r=()=>setTimeout(()=>o(i=>i+1),0);return e.on("styledata",r),r(),()=>{var i;if(e.off("styledata",r),e.style&&e.style._loaded&&e.getSource(c)){const u=(i=e.getStyle())===null||i===void 0?void 0:i.layers;if(u)for(const s of u)s.source===c&&e.removeLayer(s.id);e.removeSource(c)}}}},[e]);let a=e&&e.style&&e.getSource(c);return a?h(a,t,n.current):a=b(e,c,t),n.current=t,a&&S.Children.map(t.children,r=>r&&l.cloneElement(r,{source:c}))||null}module.exports=C;
|
|
2
2
|
//# sourceMappingURL=index.cjs81.js.map
|
package/dist/index.es15.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import p from "./index.
|
|
3
|
-
import "./index.es69.js";
|
|
4
|
-
import "./index.es70.js";
|
|
2
|
+
import p from "./index.es70.js";
|
|
5
3
|
import "./index.es71.js";
|
|
6
4
|
import "./index.es72.js";
|
|
7
5
|
import "./index.es73.js";
|
|
8
|
-
import
|
|
6
|
+
import "./index.es74.js";
|
|
9
7
|
import "./index.es75.js";
|
|
8
|
+
import m from "./index.es76.js";
|
|
9
|
+
import "./index.es77.js";
|
|
10
10
|
import a from "./index.es80.js";
|
|
11
11
|
import n from "./index.es81.js";
|
|
12
|
-
import { useMap as e } from "./index.
|
|
12
|
+
import { useMap as e } from "./index.es78.js";
|
|
13
13
|
function C() {
|
|
14
14
|
return e();
|
|
15
15
|
}
|
package/dist/index.es16.js
CHANGED
package/dist/index.es19.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal as nd, getDefaultExportFromCjs as od } from "./index.es63.js";
|
|
2
|
-
import { __module as lu } from "./index.
|
|
2
|
+
import { __module as lu } from "./index.es65.js";
|
|
3
3
|
function ld(an, vl) {
|
|
4
4
|
for (var Ur = 0; Ur < vl.length; Ur++) {
|
|
5
5
|
const cr = vl[Ur];
|
package/dist/index.es21.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenIcon as a } from "./index.
|
|
2
|
-
import "./index.
|
|
1
|
+
import { GenIcon as a } from "./index.es66.js";
|
|
2
|
+
import "./index.es67.js";
|
|
3
3
|
function c(t) {
|
|
4
4
|
return a({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.598.598 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.598.598 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.598.598 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535L7.733.063z" }, child: [] }, { tag: "path", attr: { d: "m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.598.598 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.659z" }, child: [] }] })(t);
|
|
5
5
|
}
|
package/dist/index.es22.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenIcon as o } from "./index.
|
|
2
|
-
import "./index.
|
|
1
|
+
import { GenIcon as o } from "./index.es66.js";
|
|
2
|
+
import "./index.es67.js";
|
|
3
3
|
function e(t) {
|
|
4
4
|
return o({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "M416 128 192 384l-96-96" }, child: [] }] })(t);
|
|
5
5
|
}
|
package/dist/index.es244.js
CHANGED
package/dist/index.es246.js
CHANGED
package/dist/index.es250.js
CHANGED
package/dist/index.es251.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.es241.js";
|
|
2
2
|
import { circleStream as $ } from "./index.es240.js";
|
|
3
3
|
import { pi as v, cos as F, epsilon as x, abs as G, sqrt as b } from "./index.es242.js";
|
|
4
|
-
import J from "./index.
|
|
5
|
-
import m from "./index.
|
|
4
|
+
import J from "./index.es259.js";
|
|
5
|
+
import m from "./index.es260.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.es254.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c from "./index.es256.js";
|
|
2
|
-
import n from "./index.
|
|
2
|
+
import n from "./index.es258.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.es257.js
CHANGED
|
@@ -1,74 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import D from "./index.es246.js";
|
|
3
|
-
import { halfPi as S, epsilon as R } from "./index.es242.js";
|
|
4
|
-
import F from "./index.es199.js";
|
|
5
|
-
import "./index.es198.js";
|
|
6
|
-
import G from "./index.es247.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
|
+
function o() {
|
|
70
2
|
}
|
|
71
3
|
export {
|
|
72
|
-
|
|
4
|
+
o as default
|
|
73
5
|
};
|
|
74
6
|
//# sourceMappingURL=index.es257.js.map
|
package/dist/index.es257.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es257.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es257.js","sources":["../../../node_modules/d3-geo/src/noop.js"],"sourcesContent":["export default function noop() {}\n"],"names":["noop"],"mappings":"AAAA,SAAwBA,IAAO;AAAC;","x_google_ignoreList":[0]}
|
package/dist/index.es258.js
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import r from "./index.es257.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.es258.js.map
|
package/dist/index.es258.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es258.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es258.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.es259.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.es242.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.es259.js.map
|
package/dist/index.es259.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es259.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es259.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.es260.js
CHANGED
|
@@ -1,6 +1,74 @@
|
|
|
1
|
-
|
|
1
|
+
import A from "./index.es244.js";
|
|
2
|
+
import D from "./index.es246.js";
|
|
3
|
+
import { halfPi as S, epsilon as R } from "./index.es242.js";
|
|
4
|
+
import F from "./index.es199.js";
|
|
5
|
+
import "./index.es198.js";
|
|
6
|
+
import G from "./index.es247.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]);
|
|
2
70
|
}
|
|
3
71
|
export {
|
|
4
|
-
|
|
72
|
+
T as default
|
|
5
73
|
};
|
|
6
74
|
//# sourceMappingURL=index.es260.js.map
|
package/dist/index.es260.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es260.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es260.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.es52.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import p from "./index.
|
|
3
|
-
import "./index.es69.js";
|
|
4
|
-
import "./index.es70.js";
|
|
2
|
+
import p from "./index.es70.js";
|
|
5
3
|
import "./index.es71.js";
|
|
6
|
-
import
|
|
4
|
+
import "./index.es72.js";
|
|
7
5
|
import "./index.es73.js";
|
|
8
|
-
import "./index.es74.js";
|
|
6
|
+
import i from "./index.es74.js";
|
|
9
7
|
import "./index.es75.js";
|
|
10
8
|
import "./index.es76.js";
|
|
9
|
+
import "./index.es77.js";
|
|
10
|
+
import "./index.es78.js";
|
|
11
11
|
const n = import("./index.es19.js").then((r) => r.o);
|
|
12
12
|
m.forwardRef(function(o, t) {
|
|
13
13
|
return p(o, t, n);
|
package/dist/index.es61.js
CHANGED
package/dist/index.es62.js
CHANGED
package/dist/index.es65.js
CHANGED
|
@@ -1,110 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { IconContext as s, DefaultContext as y } from "./index.es66.js";
|
|
3
|
-
var O = ["attr", "size", "title"];
|
|
4
|
-
function v(e, t) {
|
|
5
|
-
if (e == null)
|
|
6
|
-
return {};
|
|
7
|
-
var r = p(e, t), n, i;
|
|
8
|
-
if (Object.getOwnPropertySymbols) {
|
|
9
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
10
|
-
for (i = 0; i < o.length; i++)
|
|
11
|
-
n = o[i], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]);
|
|
12
|
-
}
|
|
13
|
-
return r;
|
|
14
|
-
}
|
|
15
|
-
function p(e, t) {
|
|
16
|
-
if (e == null)
|
|
17
|
-
return {};
|
|
18
|
-
var r = {}, n = Object.keys(e), i, o;
|
|
19
|
-
for (o = 0; o < n.length; o++)
|
|
20
|
-
i = n[o], !(t.indexOf(i) >= 0) && (r[i] = e[i]);
|
|
21
|
-
return r;
|
|
22
|
-
}
|
|
23
|
-
function c() {
|
|
24
|
-
return c = Object.assign ? Object.assign.bind() : function(e) {
|
|
25
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
26
|
-
var r = arguments[t];
|
|
27
|
-
for (var n in r)
|
|
28
|
-
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
29
|
-
}
|
|
30
|
-
return e;
|
|
31
|
-
}, c.apply(this, arguments);
|
|
32
|
-
}
|
|
33
|
-
function m(e, t) {
|
|
34
|
-
var r = Object.keys(e);
|
|
35
|
-
if (Object.getOwnPropertySymbols) {
|
|
36
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
37
|
-
t && (n = n.filter(function(i) {
|
|
38
|
-
return Object.getOwnPropertyDescriptor(e, i).enumerable;
|
|
39
|
-
})), r.push.apply(r, n);
|
|
40
|
-
}
|
|
41
|
-
return r;
|
|
42
|
-
}
|
|
43
|
-
function u(e) {
|
|
44
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
45
|
-
var r = arguments[t] != null ? arguments[t] : {};
|
|
46
|
-
t % 2 ? m(Object(r), !0).forEach(function(n) {
|
|
47
|
-
j(e, n, r[n]);
|
|
48
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : m(Object(r)).forEach(function(n) {
|
|
49
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
return e;
|
|
53
|
-
}
|
|
54
|
-
function j(e, t, r) {
|
|
55
|
-
return t = P(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
56
|
-
}
|
|
57
|
-
function P(e) {
|
|
58
|
-
var t = h(e, "string");
|
|
59
|
-
return typeof t == "symbol" ? t : String(t);
|
|
60
|
-
}
|
|
61
|
-
function h(e, t) {
|
|
62
|
-
if (typeof e != "object" || e === null)
|
|
63
|
-
return e;
|
|
64
|
-
var r = e[Symbol.toPrimitive];
|
|
65
|
-
if (r !== void 0) {
|
|
66
|
-
var n = r.call(e, t || "default");
|
|
67
|
-
if (typeof n != "object")
|
|
68
|
-
return n;
|
|
69
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
70
|
-
}
|
|
71
|
-
return (t === "string" ? String : Number)(e);
|
|
72
|
-
}
|
|
73
|
-
function b(e) {
|
|
74
|
-
return e && e.map((t, r) => /* @__PURE__ */ l.createElement(t.tag, u({
|
|
75
|
-
key: r
|
|
76
|
-
}, t.attr), b(t.child)));
|
|
77
|
-
}
|
|
78
|
-
function _(e) {
|
|
79
|
-
return (t) => /* @__PURE__ */ l.createElement(d, c({
|
|
80
|
-
attr: u({}, e.attr)
|
|
81
|
-
}, t), b(e.child));
|
|
82
|
-
}
|
|
83
|
-
function d(e) {
|
|
84
|
-
var t = (r) => {
|
|
85
|
-
var {
|
|
86
|
-
attr: n,
|
|
87
|
-
size: i,
|
|
88
|
-
title: o
|
|
89
|
-
} = e, g = v(e, O), f = i || r.size || "1em", a;
|
|
90
|
-
return r.className && (a = r.className), e.className && (a = (a ? a + " " : "") + e.className), /* @__PURE__ */ l.createElement("svg", c({
|
|
91
|
-
stroke: "currentColor",
|
|
92
|
-
fill: "currentColor",
|
|
93
|
-
strokeWidth: "0"
|
|
94
|
-
}, r.attr, n, g, {
|
|
95
|
-
className: a,
|
|
96
|
-
style: u(u({
|
|
97
|
-
color: e.color || r.color
|
|
98
|
-
}, r.style), e.style),
|
|
99
|
-
height: f,
|
|
100
|
-
width: f,
|
|
101
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
102
|
-
}), o && /* @__PURE__ */ l.createElement("title", null, o), e.children);
|
|
103
|
-
};
|
|
104
|
-
return s !== void 0 ? /* @__PURE__ */ l.createElement(s.Consumer, null, (r) => t(r)) : t(y);
|
|
105
|
-
}
|
|
1
|
+
var e = { exports: {} };
|
|
106
2
|
export {
|
|
107
|
-
|
|
108
|
-
d as IconBase
|
|
3
|
+
e as __module
|
|
109
4
|
};
|
|
110
5
|
//# sourceMappingURL=index.es65.js.map
|
package/dist/index.es65.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es65.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.es65.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|