@veritone-ce/design-system 2.9.0-next.2 → 2.9.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/bundled_modules/d3-array/src/ascending.js +9 -0
- package/dist/cjs/bundled_modules/d3-array/src/bisect.js +16 -0
- package/dist/cjs/bundled_modules/d3-array/src/bisector.js +62 -0
- package/dist/cjs/bundled_modules/d3-array/src/descending.js +13 -0
- package/dist/cjs/bundled_modules/d3-array/src/deviation.js +12 -0
- package/dist/cjs/bundled_modules/d3-array/src/fsum.js +45 -0
- package/dist/cjs/bundled_modules/d3-array/src/intersection.js +25 -0
- package/dist/cjs/bundled_modules/d3-array/src/max.js +26 -0
- package/dist/cjs/bundled_modules/d3-array/src/mean.js +25 -0
- package/dist/cjs/bundled_modules/d3-array/src/median.js +11 -0
- package/dist/cjs/bundled_modules/d3-array/src/merge.js +15 -0
- package/dist/cjs/bundled_modules/d3-array/src/min.js +26 -0
- package/dist/cjs/bundled_modules/d3-array/src/number.js +27 -0
- package/dist/cjs/bundled_modules/d3-array/src/permute.js +9 -0
- package/dist/cjs/bundled_modules/d3-array/src/quantile.js +36 -0
- package/dist/cjs/bundled_modules/d3-array/src/quickselect.js +59 -0
- package/dist/cjs/bundled_modules/d3-array/src/range.js +19 -0
- package/dist/cjs/bundled_modules/d3-array/src/sort.js +20 -0
- package/dist/cjs/bundled_modules/d3-array/src/sum.js +17 -0
- package/dist/cjs/bundled_modules/d3-array/src/ticks.js +63 -0
- package/dist/cjs/bundled_modules/d3-array/src/union.js +17 -0
- package/dist/cjs/bundled_modules/d3-array/src/variance.js +31 -0
- package/dist/cjs/bundled_modules/d3-color/src/color.js +410 -0
- package/dist/cjs/bundled_modules/d3-color/src/cubehelix.js +68 -0
- package/dist/cjs/bundled_modules/d3-color/src/define.js +17 -0
- package/dist/cjs/bundled_modules/d3-color/src/lab.js +124 -0
- package/dist/cjs/bundled_modules/d3-color/src/math.js +7 -0
- package/dist/cjs/bundled_modules/d3-delaunay/src/delaunay.js +254 -0
- package/dist/cjs/bundled_modules/d3-delaunay/src/path.js +43 -0
- package/dist/cjs/bundled_modules/d3-delaunay/src/polygon.js +23 -0
- package/dist/cjs/bundled_modules/d3-delaunay/src/voronoi.js +338 -0
- package/dist/cjs/bundled_modules/d3-dispatch/src/dispatch.js +88 -0
- package/dist/cjs/bundled_modules/d3-dsv/src/dsv.js +170 -0
- package/dist/cjs/bundled_modules/d3-force/src/center.js +46 -0
- package/dist/cjs/bundled_modules/d3-force/src/collide.js +106 -0
- package/dist/cjs/bundled_modules/d3-force/src/constant.js +11 -0
- package/dist/cjs/bundled_modules/d3-force/src/jiggle.js +9 -0
- package/dist/cjs/bundled_modules/d3-force/src/lcg.js +15 -0
- package/dist/cjs/bundled_modules/d3-force/src/link.js +123 -0
- package/dist/cjs/bundled_modules/d3-force/src/manyBody.js +122 -0
- package/dist/cjs/bundled_modules/d3-force/src/simulation.js +164 -0
- package/dist/cjs/bundled_modules/d3-force/src/x.js +47 -0
- package/dist/cjs/bundled_modules/d3-force/src/y.js +47 -0
- package/dist/cjs/bundled_modules/d3-format/src/defaultLocale.js +24 -0
- package/dist/cjs/bundled_modules/d3-format/src/exponent.js +11 -0
- package/dist/cjs/bundled_modules/d3-format/src/formatDecimal.js +27 -0
- package/dist/cjs/bundled_modules/d3-format/src/formatGroup.js +24 -0
- package/dist/cjs/bundled_modules/d3-format/src/formatNumerals.js +13 -0
- package/dist/cjs/bundled_modules/d3-format/src/formatPrefixAuto.js +22 -0
- package/dist/cjs/bundled_modules/d3-format/src/formatRounded.js +17 -0
- package/dist/cjs/bundled_modules/d3-format/src/formatSpecifier.js +54 -0
- package/dist/cjs/bundled_modules/d3-format/src/formatTrim.js +17 -0
- package/dist/cjs/bundled_modules/d3-format/src/formatTypes.js +25 -0
- package/dist/cjs/bundled_modules/d3-format/src/identity.js +9 -0
- package/dist/cjs/bundled_modules/d3-format/src/locale.js +154 -0
- package/dist/cjs/bundled_modules/d3-format/src/precisionFixed.js +11 -0
- package/dist/cjs/bundled_modules/d3-format/src/precisionPrefix.js +11 -0
- package/dist/cjs/bundled_modules/d3-format/src/precisionRound.js +12 -0
- package/dist/cjs/bundled_modules/d3-geo/src/area.js +83 -0
- package/dist/cjs/bundled_modules/d3-geo/src/bounds.js +185 -0
- package/dist/cjs/bundled_modules/d3-geo/src/cartesian.js +43 -0
- package/dist/cjs/bundled_modules/d3-geo/src/centroid.js +149 -0
- package/dist/cjs/bundled_modules/d3-geo/src/circle.js +35 -0
- package/dist/cjs/bundled_modules/d3-geo/src/clip/antimeridian.js +98 -0
- package/dist/cjs/bundled_modules/d3-geo/src/clip/buffer.js +30 -0
- package/dist/cjs/bundled_modules/d3-geo/src/clip/circle.js +183 -0
- package/dist/cjs/bundled_modules/d3-geo/src/clip/index.js +137 -0
- package/dist/cjs/bundled_modules/d3-geo/src/clip/line.js +65 -0
- package/dist/cjs/bundled_modules/d3-geo/src/clip/rectangle.js +174 -0
- package/dist/cjs/bundled_modules/d3-geo/src/clip/rejoin.js +109 -0
- package/dist/cjs/bundled_modules/d3-geo/src/compose.js +18 -0
- package/dist/cjs/bundled_modules/d3-geo/src/graticule.js +107 -0
- package/dist/cjs/bundled_modules/d3-geo/src/identity.js +7 -0
- package/dist/cjs/bundled_modules/d3-geo/src/math.js +57 -0
- package/dist/cjs/bundled_modules/d3-geo/src/noop.js +7 -0
- package/dist/cjs/bundled_modules/d3-geo/src/path/area.js +54 -0
- package/dist/cjs/bundled_modules/d3-geo/src/path/bounds.js +32 -0
- package/dist/cjs/bundled_modules/d3-geo/src/path/centroid.js +104 -0
- package/dist/cjs/bundled_modules/d3-geo/src/path/context.js +51 -0
- package/dist/cjs/bundled_modules/d3-geo/src/path/index.js +82 -0
- package/dist/cjs/bundled_modules/d3-geo/src/path/measure.js +49 -0
- package/dist/cjs/bundled_modules/d3-geo/src/path/string.js +92 -0
- package/dist/cjs/bundled_modules/d3-geo/src/pointEqual.js +11 -0
- package/dist/cjs/bundled_modules/d3-geo/src/polygonContains.js +80 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/albers.js +16 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/albersUsa.js +117 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthal.js +32 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthalEqualArea.js +24 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthalEquidistant.js +24 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/conic.js +19 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/conicConformal.js +45 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/conicEqualArea.js +40 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/conicEquidistant.js +39 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/cylindricalEqualArea.js +19 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/equalEarth.js +43 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/equirectangular.js +19 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/fit.js +54 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/gnomonic.js +23 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/identity.js +91 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/index.js +184 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/mercator.js +60 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/naturalEarth1.js +35 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/orthographic.js +22 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/resample.js +108 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/stereographic.js +25 -0
- package/dist/cjs/bundled_modules/d3-geo/src/projection/transverseMercator.js +34 -0
- package/dist/cjs/bundled_modules/d3-geo/src/rotation.js +86 -0
- package/dist/cjs/bundled_modules/d3-geo/src/stream.js +75 -0
- package/dist/cjs/bundled_modules/d3-geo/src/transform.js +24 -0
- package/dist/cjs/bundled_modules/d3-geo-projection/src/math.js +28 -0
- package/dist/cjs/bundled_modules/d3-geo-projection/src/mollweide.js +38 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/accessors.js +13 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/array.js +27 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/cluster.js +90 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/constant.js +16 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/ancestors.js +13 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/count.js +18 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/descendants.js +9 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/each.js +13 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/eachAfter.js +21 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/eachBefore.js +18 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/find.js +14 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/index.js +99 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/iterator.js +20 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/leaves.js +15 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/links.js +15 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/path.js +36 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/sort.js +13 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/sum.js +15 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/lcg.js +15 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/enclose.js +122 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/index.js +87 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/siblings.js +118 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/partition.js +58 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/stratify.js +151 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/tree.js +243 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/binary.js +52 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/dice.js +18 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/index.js +100 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/resquarify.js +42 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/round.js +12 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/slice.js +18 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/sliceDice.js +12 -0
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/squarify.js +74 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/array.js +29 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/basis.js +26 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/basisClosed.js +19 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/color.js +37 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/constant.js +7 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/cubehelix.js +36 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/date.js +12 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/discrete.js +12 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/hcl.js +28 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/hsl.js +28 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/hue.js +15 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/index.js +53 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/lab.js +22 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/number.js +11 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/numberArray.js +21 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/object.js +29 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/piecewise.js +17 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/quantize.js +11 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/rgb.js +63 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/round.js +11 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/string.js +70 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/transform/decompose.js +33 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/transform/index.js +68 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/transform/parse.js +23 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/value.js +28 -0
- package/dist/cjs/bundled_modules/d3-interpolate/src/zoom.js +77 -0
- package/dist/cjs/bundled_modules/d3-path/src/path.js +157 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/add.js +91 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/cover.js +49 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/data.js +13 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/extent.js +11 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/find.js +76 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/quad.js +13 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/quadtree.js +79 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/remove.js +69 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/root.js +9 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/size.js +13 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/visit.js +22 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/visitAfter.js +27 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/x.js +14 -0
- package/dist/cjs/bundled_modules/d3-quadtree/src/y.js +14 -0
- package/dist/cjs/bundled_modules/d3-scale/src/constant.js +11 -0
- package/dist/cjs/bundled_modules/d3-scale/src/continuous.js +136 -0
- package/dist/cjs/bundled_modules/d3-scale/src/diverging.js +116 -0
- package/dist/cjs/bundled_modules/d3-scale/src/identity.js +34 -0
- package/dist/cjs/bundled_modules/d3-scale/src/init.js +31 -0
- package/dist/cjs/bundled_modules/d3-scale/src/linear.js +77 -0
- package/dist/cjs/bundled_modules/d3-scale/src/log.js +148 -0
- package/dist/cjs/bundled_modules/d3-scale/src/nice.js +24 -0
- package/dist/cjs/bundled_modules/d3-scale/src/number.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale/src/ordinal.js +53 -0
- package/dist/cjs/bundled_modules/d3-scale/src/pow.js +58 -0
- package/dist/cjs/bundled_modules/d3-scale/src/quantile.js +65 -0
- package/dist/cjs/bundled_modules/d3-scale/src/quantize.js +62 -0
- package/dist/cjs/bundled_modules/d3-scale/src/sequential.js +119 -0
- package/dist/cjs/bundled_modules/d3-scale/src/symlog.js +42 -0
- package/dist/cjs/bundled_modules/d3-scale/src/threshold.js +45 -0
- package/dist/cjs/bundled_modules/d3-scale/src/tickFormat.js +39 -0
- package/dist/cjs/bundled_modules/d3-scale/src/time.js +85 -0
- package/dist/cjs/bundled_modules/d3-scale/src/utcTime.js +21 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Accent.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Dark2.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Paired.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Pastel1.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Pastel2.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set1.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set2.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set3.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/category10.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/observable10.js +9 -0
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/colors.js +11 -0
- package/dist/cjs/bundled_modules/d3-shape/src/arc.js +274 -0
- package/dist/cjs/bundled_modules/d3-shape/src/area.js +118 -0
- package/dist/cjs/bundled_modules/d3-shape/src/array.js +11 -0
- package/dist/cjs/bundled_modules/d3-shape/src/constant.js +11 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/basis.js +59 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/basisClosed.js +58 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/basisOpen.js +45 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/bundle.js +62 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinal.js +69 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinalClosed.js +68 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinalOpen.js +56 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRom.js +95 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRomClosed.js +80 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRomOpen.js +68 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/linear.js +37 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/linearClosed.js +31 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/monotone.js +109 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/natural.js +71 -0
- package/dist/cjs/bundled_modules/d3-shape/src/curve/step.js +61 -0
- package/dist/cjs/bundled_modules/d3-shape/src/line.js +64 -0
- package/dist/cjs/bundled_modules/d3-shape/src/math.js +36 -0
- package/dist/cjs/bundled_modules/d3-shape/src/noop.js +7 -0
- package/dist/cjs/bundled_modules/d3-shape/src/path.js +23 -0
- package/dist/cjs/bundled_modules/d3-shape/src/point.js +12 -0
- package/dist/cjs/bundled_modules/d3-shape/src/symbol/circle.js +15 -0
- package/dist/cjs/bundled_modules/d3-shape/src/symbol.js +38 -0
- package/dist/cjs/bundled_modules/d3-time/src/day.js +41 -0
- package/dist/cjs/bundled_modules/d3-time/src/duration.js +17 -0
- package/dist/cjs/bundled_modules/d3-time/src/hour.js +31 -0
- package/dist/cjs/bundled_modules/d3-time/src/interval.js +73 -0
- package/dist/cjs/bundled_modules/d3-time/src/millisecond.js +29 -0
- package/dist/cjs/bundled_modules/d3-time/src/minute.js +31 -0
- package/dist/cjs/bundled_modules/d3-time/src/month.js +32 -0
- package/dist/cjs/bundled_modules/d3-time/src/second.js +18 -0
- package/dist/cjs/bundled_modules/d3-time/src/ticks.js +64 -0
- package/dist/cjs/bundled_modules/d3-time/src/week.js +73 -0
- package/dist/cjs/bundled_modules/d3-time/src/year.js +54 -0
- package/dist/cjs/bundled_modules/d3-time-format/src/defaultLocale.js +33 -0
- package/dist/cjs/bundled_modules/d3-time-format/src/locale.js +694 -0
- package/dist/cjs/bundled_modules/d3-timer/src/interval.js +23 -0
- package/dist/cjs/bundled_modules/d3-timer/src/timer.js +117 -0
- package/dist/cjs/bundled_modules/delaunator/index.js +485 -0
- package/dist/cjs/bundled_modules/internmap/src/index.js +66 -0
- package/dist/cjs/bundled_modules/json-stringify-pretty-compact/index.js +104 -0
- package/dist/cjs/bundled_modules/robust-predicates/esm/orient2d.js +184 -0
- package/dist/cjs/bundled_modules/robust-predicates/esm/util.js +95 -0
- package/dist/cjs/bundled_modules/topojson-client/src/feature.js +77 -0
- package/dist/cjs/bundled_modules/topojson-client/src/identity.js +9 -0
- package/dist/cjs/bundled_modules/topojson-client/src/mesh.js +60 -0
- package/dist/cjs/bundled_modules/topojson-client/src/reverse.js +10 -0
- package/dist/cjs/bundled_modules/topojson-client/src/stitch.js +79 -0
- package/dist/cjs/bundled_modules/topojson-client/src/transform.js +25 -0
- package/dist/cjs/bundled_modules/vega/build/vega.module.js +272 -0
- package/dist/cjs/bundled_modules/vega-canvas/build/vega-canvas.browser.js +18 -0
- package/dist/cjs/bundled_modules/vega-crossfilter/build/vega-crossfilter.js +676 -0
- package/dist/cjs/bundled_modules/vega-dataflow/build/vega-dataflow.js +2102 -0
- package/dist/cjs/bundled_modules/vega-embed/build/embed.js +2939 -0
- package/dist/cjs/bundled_modules/vega-encode/build/vega-encode.js +962 -0
- package/dist/cjs/bundled_modules/vega-event-selector/build/vega-event-selector.js +192 -0
- package/dist/cjs/bundled_modules/vega-expression/build/vega-expression.js +1615 -0
- package/dist/cjs/bundled_modules/vega-force/build/vega-force.js +295 -0
- package/dist/cjs/bundled_modules/vega-format/build/vega-format.js +201 -0
- package/dist/cjs/bundled_modules/vega-functions/build/vega-functions.js +842 -0
- package/dist/cjs/bundled_modules/vega-geo/build/vega-geo.js +1333 -0
- package/dist/cjs/bundled_modules/vega-hierarchy/build/vega-hierarchy.js +580 -0
- package/dist/cjs/bundled_modules/vega-interpreter/build/vega-interpreter.js +310 -0
- package/dist/cjs/bundled_modules/vega-label/build/vega-label.js +876 -0
- package/dist/cjs/bundled_modules/vega-lite/build/index.js +20157 -0
- package/dist/cjs/bundled_modules/vega-loader/build/vega-loader.browser.js +337 -0
- package/dist/cjs/bundled_modules/vega-parser/build/vega-parser.js +3805 -0
- package/dist/cjs/bundled_modules/vega-projection/build/vega-projection.js +90 -0
- package/dist/cjs/bundled_modules/vega-regression/build/vega-regression.js +236 -0
- package/dist/cjs/bundled_modules/vega-runtime/build/vega-runtime.js +588 -0
- package/dist/cjs/bundled_modules/vega-scale/build/vega-scale.js +846 -0
- package/dist/cjs/bundled_modules/vega-scenegraph/build/vega-scenegraph.js +5040 -0
- package/dist/cjs/bundled_modules/vega-schema-url-parser/dist/parser.modern.js +7 -0
- package/dist/cjs/bundled_modules/vega-selections/build/vega-selection.js +342 -0
- package/dist/cjs/bundled_modules/vega-statistics/build/vega-statistics.js +1193 -0
- package/dist/cjs/bundled_modules/vega-themes/build/index.js +853 -0
- package/dist/cjs/bundled_modules/vega-time/build/vega-time.js +342 -0
- package/dist/cjs/bundled_modules/vega-tooltip/build/index.js +353 -0
- package/dist/cjs/bundled_modules/vega-transforms/build/vega-transforms.js +3781 -0
- package/dist/cjs/bundled_modules/vega-util/build/vega-util.js +824 -0
- package/dist/cjs/bundled_modules/vega-view/build/vega-view.js +1306 -0
- package/dist/cjs/bundled_modules/vega-view-transforms/build/vega-view-transforms.js +1313 -0
- package/dist/cjs/bundled_modules/vega-voronoi/build/vega-voronoi.js +80 -0
- package/dist/cjs/bundled_modules/vega-wordcloud/build/vega-wordcloud.js +540 -0
- package/dist/cjs/unstable/extras/chart/BarChart.js +42 -0
- package/dist/cjs/unstable/extras/chart/Chart.js +100 -0
- package/dist/cjs/unstable/extras/chart/DistributionChart.js +84 -0
- package/dist/cjs/unstable/extras/chart/DonutChart.js +43 -0
- package/dist/cjs/unstable/extras/chart/LineChart.js +45 -0
- package/dist/cjs/unstable/extras/chart/PieChart.js +39 -0
- package/dist/cjs/unstable/extras/chart/TimelineChart.js +48 -0
- package/dist/cjs/unstable/extras/chart/index.js +23 -0
- package/dist/esm/bundled_modules/d3-array/src/ascending.js +5 -0
- package/dist/esm/bundled_modules/d3-array/src/bisect.js +10 -0
- package/dist/esm/bundled_modules/d3-array/src/bisector.js +58 -0
- package/dist/esm/bundled_modules/d3-array/src/descending.js +9 -0
- package/dist/esm/bundled_modules/d3-array/src/deviation.js +8 -0
- package/dist/esm/bundled_modules/d3-array/src/fsum.js +43 -0
- package/dist/esm/bundled_modules/d3-array/src/intersection.js +21 -0
- package/dist/esm/bundled_modules/d3-array/src/max.js +22 -0
- package/dist/esm/bundled_modules/d3-array/src/mean.js +21 -0
- package/dist/esm/bundled_modules/d3-array/src/median.js +7 -0
- package/dist/esm/bundled_modules/d3-array/src/merge.js +11 -0
- package/dist/esm/bundled_modules/d3-array/src/min.js +22 -0
- package/dist/esm/bundled_modules/d3-array/src/number.js +22 -0
- package/dist/esm/bundled_modules/d3-array/src/permute.js +5 -0
- package/dist/esm/bundled_modules/d3-array/src/quantile.js +31 -0
- package/dist/esm/bundled_modules/d3-array/src/quickselect.js +55 -0
- package/dist/esm/bundled_modules/d3-array/src/range.js +15 -0
- package/dist/esm/bundled_modules/d3-array/src/sort.js +17 -0
- package/dist/esm/bundled_modules/d3-array/src/sum.js +13 -0
- package/dist/esm/bundled_modules/d3-array/src/ticks.js +57 -0
- package/dist/esm/bundled_modules/d3-array/src/union.js +13 -0
- package/dist/esm/bundled_modules/d3-array/src/variance.js +27 -0
- package/dist/esm/bundled_modules/d3-color/src/color.js +398 -0
- package/dist/esm/bundled_modules/d3-color/src/cubehelix.js +63 -0
- package/dist/esm/bundled_modules/d3-color/src/define.js +12 -0
- package/dist/esm/bundled_modules/d3-color/src/lab.js +117 -0
- package/dist/esm/bundled_modules/d3-color/src/math.js +4 -0
- package/dist/esm/bundled_modules/d3-delaunay/src/delaunay.js +250 -0
- package/dist/esm/bundled_modules/d3-delaunay/src/path.js +39 -0
- package/dist/esm/bundled_modules/d3-delaunay/src/polygon.js +19 -0
- package/dist/esm/bundled_modules/d3-delaunay/src/voronoi.js +334 -0
- package/dist/esm/bundled_modules/d3-dispatch/src/dispatch.js +84 -0
- package/dist/esm/bundled_modules/d3-dsv/src/dsv.js +166 -0
- package/dist/esm/bundled_modules/d3-force/src/center.js +42 -0
- package/dist/esm/bundled_modules/d3-force/src/collide.js +102 -0
- package/dist/esm/bundled_modules/d3-force/src/constant.js +7 -0
- package/dist/esm/bundled_modules/d3-force/src/jiggle.js +5 -0
- package/dist/esm/bundled_modules/d3-force/src/lcg.js +11 -0
- package/dist/esm/bundled_modules/d3-force/src/link.js +119 -0
- package/dist/esm/bundled_modules/d3-force/src/manyBody.js +118 -0
- package/dist/esm/bundled_modules/d3-force/src/simulation.js +158 -0
- package/dist/esm/bundled_modules/d3-force/src/x.js +43 -0
- package/dist/esm/bundled_modules/d3-force/src/y.js +43 -0
- package/dist/esm/bundled_modules/d3-format/src/defaultLocale.js +20 -0
- package/dist/esm/bundled_modules/d3-format/src/exponent.js +7 -0
- package/dist/esm/bundled_modules/d3-format/src/formatDecimal.js +22 -0
- package/dist/esm/bundled_modules/d3-format/src/formatGroup.js +20 -0
- package/dist/esm/bundled_modules/d3-format/src/formatNumerals.js +9 -0
- package/dist/esm/bundled_modules/d3-format/src/formatPrefixAuto.js +18 -0
- package/dist/esm/bundled_modules/d3-format/src/formatRounded.js +13 -0
- package/dist/esm/bundled_modules/d3-format/src/formatSpecifier.js +49 -0
- package/dist/esm/bundled_modules/d3-format/src/formatTrim.js +13 -0
- package/dist/esm/bundled_modules/d3-format/src/formatTypes.js +21 -0
- package/dist/esm/bundled_modules/d3-format/src/identity.js +5 -0
- package/dist/esm/bundled_modules/d3-format/src/locale.js +150 -0
- package/dist/esm/bundled_modules/d3-format/src/precisionFixed.js +7 -0
- package/dist/esm/bundled_modules/d3-format/src/precisionPrefix.js +7 -0
- package/dist/esm/bundled_modules/d3-format/src/precisionRound.js +8 -0
- package/dist/esm/bundled_modules/d3-geo/src/area.js +78 -0
- package/dist/esm/bundled_modules/d3-geo/src/bounds.js +181 -0
- package/dist/esm/bundled_modules/d3-geo/src/cartesian.js +35 -0
- package/dist/esm/bundled_modules/d3-geo/src/centroid.js +145 -0
- package/dist/esm/bundled_modules/d3-geo/src/circle.js +33 -0
- package/dist/esm/bundled_modules/d3-geo/src/clip/antimeridian.js +94 -0
- package/dist/esm/bundled_modules/d3-geo/src/clip/buffer.js +26 -0
- package/dist/esm/bundled_modules/d3-geo/src/clip/circle.js +179 -0
- package/dist/esm/bundled_modules/d3-geo/src/clip/index.js +133 -0
- package/dist/esm/bundled_modules/d3-geo/src/clip/line.js +61 -0
- package/dist/esm/bundled_modules/d3-geo/src/clip/rectangle.js +170 -0
- package/dist/esm/bundled_modules/d3-geo/src/clip/rejoin.js +105 -0
- package/dist/esm/bundled_modules/d3-geo/src/compose.js +14 -0
- package/dist/esm/bundled_modules/d3-geo/src/graticule.js +103 -0
- package/dist/esm/bundled_modules/d3-geo/src/identity.js +3 -0
- package/dist/esm/bundled_modules/d3-geo/src/math.js +33 -0
- package/dist/esm/bundled_modules/d3-geo/src/noop.js +3 -0
- package/dist/esm/bundled_modules/d3-geo/src/path/area.js +50 -0
- package/dist/esm/bundled_modules/d3-geo/src/path/bounds.js +28 -0
- package/dist/esm/bundled_modules/d3-geo/src/path/centroid.js +100 -0
- package/dist/esm/bundled_modules/d3-geo/src/path/context.js +47 -0
- package/dist/esm/bundled_modules/d3-geo/src/path/index.js +78 -0
- package/dist/esm/bundled_modules/d3-geo/src/path/measure.js +45 -0
- package/dist/esm/bundled_modules/d3-geo/src/path/string.js +88 -0
- package/dist/esm/bundled_modules/d3-geo/src/pointEqual.js +7 -0
- package/dist/esm/bundled_modules/d3-geo/src/polygonContains.js +76 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/albers.js +12 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/albersUsa.js +113 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthal.js +29 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthalEqualArea.js +19 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthalEquidistant.js +19 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/conic.js +17 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/conicConformal.js +40 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/conicEqualArea.js +35 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/conicEquidistant.js +34 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/cylindricalEqualArea.js +17 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/equalEarth.js +38 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/equirectangular.js +14 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/fit.js +49 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/gnomonic.js +18 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/identity.js +87 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/index.js +179 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/mercator.js +54 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/naturalEarth1.js +30 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/orthographic.js +17 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/resample.js +104 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/stereographic.js +20 -0
- package/dist/esm/bundled_modules/d3-geo/src/projection/transverseMercator.js +29 -0
- package/dist/esm/bundled_modules/d3-geo/src/rotation.js +81 -0
- package/dist/esm/bundled_modules/d3-geo/src/stream.js +71 -0
- package/dist/esm/bundled_modules/d3-geo/src/transform.js +22 -0
- package/dist/esm/bundled_modules/d3-geo-projection/src/math.js +18 -0
- package/dist/esm/bundled_modules/d3-geo-projection/src/mollweide.js +31 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/accessors.js +10 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/array.js +22 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/cluster.js +86 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/constant.js +11 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/ancestors.js +9 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/count.js +14 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/descendants.js +5 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/each.js +9 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/eachAfter.js +17 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/eachBefore.js +14 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/find.js +10 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/index.js +93 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/iterator.js +16 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/leaves.js +11 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/links.js +11 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/path.js +32 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/sort.js +9 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/sum.js +11 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/lcg.js +11 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/pack/enclose.js +120 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/pack/index.js +83 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/pack/siblings.js +116 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/partition.js +54 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/stratify.js +147 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/tree.js +239 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/binary.js +48 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/dice.js +14 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/index.js +96 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/resquarify.js +38 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/round.js +8 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/slice.js +14 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/sliceDice.js +8 -0
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/squarify.js +68 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/array.js +24 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/basis.js +21 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/basisClosed.js +15 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/color.js +31 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/constant.js +3 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/cubehelix.js +31 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/date.js +8 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/discrete.js +8 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/hcl.js +23 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/hsl.js +23 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/hue.js +11 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/index.js +21 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/lab.js +18 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/number.js +7 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/object.js +25 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/piecewise.js +13 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/quantize.js +7 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/rgb.js +57 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/round.js +7 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/string.js +66 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/transform/decompose.js +28 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/transform/index.js +65 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/transform/parse.js +20 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/value.js +24 -0
- package/dist/esm/bundled_modules/d3-interpolate/src/zoom.js +73 -0
- package/dist/esm/bundled_modules/d3-path/src/path.js +154 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/add.js +86 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/cover.js +45 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/data.js +9 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/extent.js +7 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/find.js +72 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/quad.js +9 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/quadtree.js +75 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/remove.js +64 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/root.js +5 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/size.js +9 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/visit.js +18 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/visitAfter.js +23 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/x.js +9 -0
- package/dist/esm/bundled_modules/d3-quadtree/src/y.js +9 -0
- package/dist/esm/bundled_modules/d3-scale/src/constant.js +7 -0
- package/dist/esm/bundled_modules/d3-scale/src/continuous.js +129 -0
- package/dist/esm/bundled_modules/d3-scale/src/diverging.js +108 -0
- package/dist/esm/bundled_modules/d3-scale/src/identity.js +30 -0
- package/dist/esm/bundled_modules/d3-scale/src/init.js +28 -0
- package/dist/esm/bundled_modules/d3-scale/src/linear.js +72 -0
- package/dist/esm/bundled_modules/d3-scale/src/log.js +143 -0
- package/dist/esm/bundled_modules/d3-scale/src/nice.js +20 -0
- package/dist/esm/bundled_modules/d3-scale/src/number.js +5 -0
- package/dist/esm/bundled_modules/d3-scale/src/ordinal.js +48 -0
- package/dist/esm/bundled_modules/d3-scale/src/pow.js +52 -0
- package/dist/esm/bundled_modules/d3-scale/src/quantile.js +61 -0
- package/dist/esm/bundled_modules/d3-scale/src/quantize.js +58 -0
- package/dist/esm/bundled_modules/d3-scale/src/sequential.js +110 -0
- package/dist/esm/bundled_modules/d3-scale/src/symlog.js +37 -0
- package/dist/esm/bundled_modules/d3-scale/src/threshold.js +41 -0
- package/dist/esm/bundled_modules/d3-scale/src/tickFormat.js +35 -0
- package/dist/esm/bundled_modules/d3-scale/src/time.js +80 -0
- package/dist/esm/bundled_modules/d3-scale/src/utcTime.js +17 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Accent.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Dark2.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Paired.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Pastel1.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Pastel2.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set1.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set2.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set3.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/category10.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/observable10.js +5 -0
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/colors.js +7 -0
- package/dist/esm/bundled_modules/d3-shape/src/arc.js +270 -0
- package/dist/esm/bundled_modules/d3-shape/src/area.js +114 -0
- package/dist/esm/bundled_modules/d3-shape/src/array.js +7 -0
- package/dist/esm/bundled_modules/d3-shape/src/constant.js +7 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/basis.js +53 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/basisClosed.js +54 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/basisOpen.js +41 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/bundle.js +58 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/cardinal.js +63 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/cardinalClosed.js +63 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/cardinalOpen.js +51 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRom.js +90 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRomClosed.js +76 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRomOpen.js +64 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/linear.js +33 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/linearClosed.js +27 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/monotone.js +106 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/natural.js +67 -0
- package/dist/esm/bundled_modules/d3-shape/src/curve/step.js +55 -0
- package/dist/esm/bundled_modules/d3-shape/src/line.js +60 -0
- package/dist/esm/bundled_modules/d3-shape/src/math.js +22 -0
- package/dist/esm/bundled_modules/d3-shape/src/noop.js +3 -0
- package/dist/esm/bundled_modules/d3-shape/src/path.js +21 -0
- package/dist/esm/bundled_modules/d3-shape/src/point.js +9 -0
- package/dist/esm/bundled_modules/d3-shape/src/symbol/circle.js +11 -0
- package/dist/esm/bundled_modules/d3-shape/src/symbol.js +34 -0
- package/dist/esm/bundled_modules/d3-time/src/day.js +37 -0
- package/dist/esm/bundled_modules/d3-time/src/duration.js +9 -0
- package/dist/esm/bundled_modules/d3-time/src/hour.js +28 -0
- package/dist/esm/bundled_modules/d3-time/src/interval.js +71 -0
- package/dist/esm/bundled_modules/d3-time/src/millisecond.js +27 -0
- package/dist/esm/bundled_modules/d3-time/src/minute.js +28 -0
- package/dist/esm/bundled_modules/d3-time/src/month.js +29 -0
- package/dist/esm/bundled_modules/d3-time/src/second.js +16 -0
- package/dist/esm/bundled_modules/d3-time/src/ticks.js +59 -0
- package/dist/esm/bundled_modules/d3-time/src/week.js +58 -0
- package/dist/esm/bundled_modules/d3-time/src/year.js +51 -0
- package/dist/esm/bundled_modules/d3-time-format/src/defaultLocale.js +29 -0
- package/dist/esm/bundled_modules/d3-time-format/src/locale.js +690 -0
- package/dist/esm/bundled_modules/d3-timer/src/interval.js +19 -0
- package/dist/esm/bundled_modules/d3-timer/src/timer.js +112 -0
- package/dist/esm/bundled_modules/delaunator/index.js +481 -0
- package/dist/esm/bundled_modules/internmap/src/index.js +63 -0
- package/dist/esm/bundled_modules/json-stringify-pretty-compact/index.js +100 -0
- package/dist/esm/bundled_modules/robust-predicates/esm/orient2d.js +182 -0
- package/dist/esm/bundled_modules/robust-predicates/esm/util.js +88 -0
- package/dist/esm/bundled_modules/topojson-client/src/feature.js +72 -0
- package/dist/esm/bundled_modules/topojson-client/src/identity.js +5 -0
- package/dist/esm/bundled_modules/topojson-client/src/mesh.js +55 -0
- package/dist/esm/bundled_modules/topojson-client/src/reverse.js +6 -0
- package/dist/esm/bundled_modules/topojson-client/src/stitch.js +75 -0
- package/dist/esm/bundled_modules/topojson-client/src/transform.js +21 -0
- package/dist/esm/bundled_modules/vega/build/vega.module.js +38 -0
- package/dist/esm/bundled_modules/vega-canvas/build/vega-canvas.browser.js +14 -0
- package/dist/esm/bundled_modules/vega-crossfilter/build/vega-crossfilter.js +673 -0
- package/dist/esm/bundled_modules/vega-dataflow/build/vega-dataflow.js +2080 -0
- package/dist/esm/bundled_modules/vega-embed/build/embed.js +2932 -0
- package/dist/esm/bundled_modules/vega-encode/build/vega-encode.js +952 -0
- package/dist/esm/bundled_modules/vega-event-selector/build/vega-event-selector.js +190 -0
- package/dist/esm/bundled_modules/vega-expression/build/vega-expression.js +1597 -0
- package/dist/esm/bundled_modules/vega-force/build/vega-force.js +293 -0
- package/dist/esm/bundled_modules/vega-format/build/vega-format.js +191 -0
- package/dist/esm/bundled_modules/vega-functions/build/vega-functions.js +779 -0
- package/dist/esm/bundled_modules/vega-geo/build/vega-geo.js +1322 -0
- package/dist/esm/bundled_modules/vega-hierarchy/build/vega-hierarchy.js +572 -0
- package/dist/esm/bundled_modules/vega-interpreter/build/vega-interpreter.js +308 -0
- package/dist/esm/bundled_modules/vega-label/build/vega-label.js +874 -0
- package/dist/esm/bundled_modules/vega-lite/build/index.js +20110 -0
- package/dist/esm/bundled_modules/vega-loader/build/vega-loader.browser.js +328 -0
- package/dist/esm/bundled_modules/vega-parser/build/vega-parser.js +3783 -0
- package/dist/esm/bundled_modules/vega-projection/build/vega-projection.js +86 -0
- package/dist/esm/bundled_modules/vega-regression/build/vega-regression.js +233 -0
- package/dist/esm/bundled_modules/vega-runtime/build/vega-runtime.js +586 -0
- package/dist/esm/bundled_modules/vega-scale/build/vega-scale.js +799 -0
- package/dist/esm/bundled_modules/vega-scenegraph/build/vega-scenegraph.js +4982 -0
- package/dist/esm/bundled_modules/vega-schema-url-parser/dist/parser.modern.js +3 -0
- package/dist/esm/bundled_modules/vega-selections/build/vega-selection.js +336 -0
- package/dist/esm/bundled_modules/vega-statistics/build/vega-statistics.js +1157 -0
- package/dist/esm/bundled_modules/vega-themes/build/index.js +837 -0
- package/dist/esm/bundled_modules/vega-time/build/vega-time.js +314 -0
- package/dist/esm/bundled_modules/vega-tooltip/build/index.js +339 -0
- package/dist/esm/bundled_modules/vega-transforms/build/vega-transforms.js +3740 -0
- package/dist/esm/bundled_modules/vega-util/build/vega-util.js +753 -0
- package/dist/esm/bundled_modules/vega-view/build/vega-view.js +1304 -0
- package/dist/esm/bundled_modules/vega-view-transforms/build/vega-view-transforms.js +1306 -0
- package/dist/esm/bundled_modules/vega-voronoi/build/vega-voronoi.js +78 -0
- package/dist/esm/bundled_modules/vega-wordcloud/build/vega-wordcloud.js +538 -0
- package/dist/esm/unstable/extras/chart/BarChart.js +40 -0
- package/dist/esm/unstable/extras/chart/Chart.js +96 -0
- package/dist/esm/unstable/extras/chart/DistributionChart.js +82 -0
- package/dist/esm/unstable/extras/chart/DonutChart.js +41 -0
- package/dist/esm/unstable/extras/chart/LineChart.js +43 -0
- package/dist/esm/unstable/extras/chart/PieChart.js +37 -0
- package/dist/esm/unstable/extras/chart/TimelineChart.js +46 -0
- package/dist/esm/unstable/extras/chart/index.js +8 -0
- package/dist/types/unstable/extras/chart/BarChart.d.ts +16 -0
- package/dist/types/unstable/extras/chart/Chart.d.ts +33 -0
- package/dist/types/unstable/extras/chart/DistributionChart.d.ts +18 -0
- package/dist/types/unstable/extras/chart/DonutChart.d.ts +16 -0
- package/dist/types/unstable/extras/chart/LineChart.d.ts +16 -0
- package/dist/types/unstable/extras/chart/PieChart.d.ts +14 -0
- package/dist/types/unstable/extras/chart/TimelineChart.d.ts +15 -0
- package/dist/types/unstable/extras/chart/index.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// Note: This regex matches even invalid JSON strings, but since we’re
|
|
2
|
+
// working on the output of `JSON.stringify` we know that only valid strings
|
|
3
|
+
// are present (unless the user supplied a weird `options.indent` but in
|
|
4
|
+
// that case we don’t care since the output would be invalid anyway).
|
|
5
|
+
const stringOrChar = /("(?:[^\\"]|\\.)*")|[:,]/g;
|
|
6
|
+
|
|
7
|
+
function stringify(passedObj, options = {}) {
|
|
8
|
+
const indent = JSON.stringify(
|
|
9
|
+
[1],
|
|
10
|
+
undefined,
|
|
11
|
+
options.indent === undefined ? 2 : options.indent
|
|
12
|
+
).slice(2, -3);
|
|
13
|
+
|
|
14
|
+
const maxLength =
|
|
15
|
+
indent === ""
|
|
16
|
+
? Infinity
|
|
17
|
+
: options.maxLength === undefined
|
|
18
|
+
? 80
|
|
19
|
+
: options.maxLength;
|
|
20
|
+
|
|
21
|
+
let { replacer } = options;
|
|
22
|
+
|
|
23
|
+
return (function _stringify(obj, currentIndent, reserved) {
|
|
24
|
+
if (obj && typeof obj.toJSON === "function") {
|
|
25
|
+
obj = obj.toJSON();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const string = JSON.stringify(obj, replacer);
|
|
29
|
+
|
|
30
|
+
if (string === undefined) {
|
|
31
|
+
return string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const length = maxLength - currentIndent.length - reserved;
|
|
35
|
+
|
|
36
|
+
if (string.length <= length) {
|
|
37
|
+
const prettified = string.replace(
|
|
38
|
+
stringOrChar,
|
|
39
|
+
(match, stringLiteral) => {
|
|
40
|
+
return stringLiteral || `${match} `;
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
if (prettified.length <= length) {
|
|
44
|
+
return prettified;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (replacer != null) {
|
|
49
|
+
obj = JSON.parse(string);
|
|
50
|
+
replacer = undefined;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
if (typeof obj === "object" && obj !== null) {
|
|
54
|
+
const nextIndent = currentIndent + indent;
|
|
55
|
+
const items = [];
|
|
56
|
+
let index = 0;
|
|
57
|
+
let start;
|
|
58
|
+
let end;
|
|
59
|
+
|
|
60
|
+
if (Array.isArray(obj)) {
|
|
61
|
+
start = "[";
|
|
62
|
+
end = "]";
|
|
63
|
+
const { length } = obj;
|
|
64
|
+
for (; index < length; index++) {
|
|
65
|
+
items.push(
|
|
66
|
+
_stringify(obj[index], nextIndent, index === length - 1 ? 0 : 1) ||
|
|
67
|
+
"null"
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
} else {
|
|
71
|
+
start = "{";
|
|
72
|
+
end = "}";
|
|
73
|
+
const keys = Object.keys(obj);
|
|
74
|
+
const { length } = keys;
|
|
75
|
+
for (; index < length; index++) {
|
|
76
|
+
const key = keys[index];
|
|
77
|
+
const keyPart = `${JSON.stringify(key)}: `;
|
|
78
|
+
const value = _stringify(
|
|
79
|
+
obj[key],
|
|
80
|
+
nextIndent,
|
|
81
|
+
keyPart.length + (index === length - 1 ? 0 : 1)
|
|
82
|
+
);
|
|
83
|
+
if (value !== undefined) {
|
|
84
|
+
items.push(keyPart + value);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (items.length > 0) {
|
|
90
|
+
return [start, indent + items.join(`,\n${nextIndent}`), end].join(
|
|
91
|
+
`\n${currentIndent}`
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return string;
|
|
97
|
+
})(passedObj, "", 0);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export { stringify as default };
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { epsilon, vec, estimate, resulterrbound, splitter, sum } from './util.js';
|
|
2
|
+
|
|
3
|
+
const ccwerrboundA = (3 + 16 * epsilon) * epsilon;
|
|
4
|
+
const ccwerrboundB = (2 + 12 * epsilon) * epsilon;
|
|
5
|
+
const ccwerrboundC = (9 + 64 * epsilon) * epsilon * epsilon;
|
|
6
|
+
|
|
7
|
+
const B = vec(4);
|
|
8
|
+
const C1 = vec(8);
|
|
9
|
+
const C2 = vec(12);
|
|
10
|
+
const D = vec(16);
|
|
11
|
+
const u = vec(4);
|
|
12
|
+
|
|
13
|
+
function orient2dadapt(ax, ay, bx, by, cx, cy, detsum) {
|
|
14
|
+
let acxtail, acytail, bcxtail, bcytail;
|
|
15
|
+
let bvirt, c, ahi, alo, bhi, blo, _i, _j, _0, s1, s0, t1, t0, u3;
|
|
16
|
+
|
|
17
|
+
const acx = ax - cx;
|
|
18
|
+
const bcx = bx - cx;
|
|
19
|
+
const acy = ay - cy;
|
|
20
|
+
const bcy = by - cy;
|
|
21
|
+
|
|
22
|
+
s1 = acx * bcy;
|
|
23
|
+
c = splitter * acx;
|
|
24
|
+
ahi = c - (c - acx);
|
|
25
|
+
alo = acx - ahi;
|
|
26
|
+
c = splitter * bcy;
|
|
27
|
+
bhi = c - (c - bcy);
|
|
28
|
+
blo = bcy - bhi;
|
|
29
|
+
s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo);
|
|
30
|
+
t1 = acy * bcx;
|
|
31
|
+
c = splitter * acy;
|
|
32
|
+
ahi = c - (c - acy);
|
|
33
|
+
alo = acy - ahi;
|
|
34
|
+
c = splitter * bcx;
|
|
35
|
+
bhi = c - (c - bcx);
|
|
36
|
+
blo = bcx - bhi;
|
|
37
|
+
t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo);
|
|
38
|
+
_i = s0 - t0;
|
|
39
|
+
bvirt = s0 - _i;
|
|
40
|
+
B[0] = s0 - (_i + bvirt) + (bvirt - t0);
|
|
41
|
+
_j = s1 + _i;
|
|
42
|
+
bvirt = _j - s1;
|
|
43
|
+
_0 = s1 - (_j - bvirt) + (_i - bvirt);
|
|
44
|
+
_i = _0 - t1;
|
|
45
|
+
bvirt = _0 - _i;
|
|
46
|
+
B[1] = _0 - (_i + bvirt) + (bvirt - t1);
|
|
47
|
+
u3 = _j + _i;
|
|
48
|
+
bvirt = u3 - _j;
|
|
49
|
+
B[2] = _j - (u3 - bvirt) + (_i - bvirt);
|
|
50
|
+
B[3] = u3;
|
|
51
|
+
|
|
52
|
+
let det = estimate(4, B);
|
|
53
|
+
let errbound = ccwerrboundB * detsum;
|
|
54
|
+
if (det >= errbound || -det >= errbound) {
|
|
55
|
+
return det;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
bvirt = ax - acx;
|
|
59
|
+
acxtail = ax - (acx + bvirt) + (bvirt - cx);
|
|
60
|
+
bvirt = bx - bcx;
|
|
61
|
+
bcxtail = bx - (bcx + bvirt) + (bvirt - cx);
|
|
62
|
+
bvirt = ay - acy;
|
|
63
|
+
acytail = ay - (acy + bvirt) + (bvirt - cy);
|
|
64
|
+
bvirt = by - bcy;
|
|
65
|
+
bcytail = by - (bcy + bvirt) + (bvirt - cy);
|
|
66
|
+
|
|
67
|
+
if (acxtail === 0 && acytail === 0 && bcxtail === 0 && bcytail === 0) {
|
|
68
|
+
return det;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
errbound = ccwerrboundC * detsum + resulterrbound * Math.abs(det);
|
|
72
|
+
det += (acx * bcytail + bcy * acxtail) - (acy * bcxtail + bcx * acytail);
|
|
73
|
+
if (det >= errbound || -det >= errbound) return det;
|
|
74
|
+
|
|
75
|
+
s1 = acxtail * bcy;
|
|
76
|
+
c = splitter * acxtail;
|
|
77
|
+
ahi = c - (c - acxtail);
|
|
78
|
+
alo = acxtail - ahi;
|
|
79
|
+
c = splitter * bcy;
|
|
80
|
+
bhi = c - (c - bcy);
|
|
81
|
+
blo = bcy - bhi;
|
|
82
|
+
s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo);
|
|
83
|
+
t1 = acytail * bcx;
|
|
84
|
+
c = splitter * acytail;
|
|
85
|
+
ahi = c - (c - acytail);
|
|
86
|
+
alo = acytail - ahi;
|
|
87
|
+
c = splitter * bcx;
|
|
88
|
+
bhi = c - (c - bcx);
|
|
89
|
+
blo = bcx - bhi;
|
|
90
|
+
t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo);
|
|
91
|
+
_i = s0 - t0;
|
|
92
|
+
bvirt = s0 - _i;
|
|
93
|
+
u[0] = s0 - (_i + bvirt) + (bvirt - t0);
|
|
94
|
+
_j = s1 + _i;
|
|
95
|
+
bvirt = _j - s1;
|
|
96
|
+
_0 = s1 - (_j - bvirt) + (_i - bvirt);
|
|
97
|
+
_i = _0 - t1;
|
|
98
|
+
bvirt = _0 - _i;
|
|
99
|
+
u[1] = _0 - (_i + bvirt) + (bvirt - t1);
|
|
100
|
+
u3 = _j + _i;
|
|
101
|
+
bvirt = u3 - _j;
|
|
102
|
+
u[2] = _j - (u3 - bvirt) + (_i - bvirt);
|
|
103
|
+
u[3] = u3;
|
|
104
|
+
const C1len = sum(4, B, 4, u, C1);
|
|
105
|
+
|
|
106
|
+
s1 = acx * bcytail;
|
|
107
|
+
c = splitter * acx;
|
|
108
|
+
ahi = c - (c - acx);
|
|
109
|
+
alo = acx - ahi;
|
|
110
|
+
c = splitter * bcytail;
|
|
111
|
+
bhi = c - (c - bcytail);
|
|
112
|
+
blo = bcytail - bhi;
|
|
113
|
+
s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo);
|
|
114
|
+
t1 = acy * bcxtail;
|
|
115
|
+
c = splitter * acy;
|
|
116
|
+
ahi = c - (c - acy);
|
|
117
|
+
alo = acy - ahi;
|
|
118
|
+
c = splitter * bcxtail;
|
|
119
|
+
bhi = c - (c - bcxtail);
|
|
120
|
+
blo = bcxtail - bhi;
|
|
121
|
+
t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo);
|
|
122
|
+
_i = s0 - t0;
|
|
123
|
+
bvirt = s0 - _i;
|
|
124
|
+
u[0] = s0 - (_i + bvirt) + (bvirt - t0);
|
|
125
|
+
_j = s1 + _i;
|
|
126
|
+
bvirt = _j - s1;
|
|
127
|
+
_0 = s1 - (_j - bvirt) + (_i - bvirt);
|
|
128
|
+
_i = _0 - t1;
|
|
129
|
+
bvirt = _0 - _i;
|
|
130
|
+
u[1] = _0 - (_i + bvirt) + (bvirt - t1);
|
|
131
|
+
u3 = _j + _i;
|
|
132
|
+
bvirt = u3 - _j;
|
|
133
|
+
u[2] = _j - (u3 - bvirt) + (_i - bvirt);
|
|
134
|
+
u[3] = u3;
|
|
135
|
+
const C2len = sum(C1len, C1, 4, u, C2);
|
|
136
|
+
|
|
137
|
+
s1 = acxtail * bcytail;
|
|
138
|
+
c = splitter * acxtail;
|
|
139
|
+
ahi = c - (c - acxtail);
|
|
140
|
+
alo = acxtail - ahi;
|
|
141
|
+
c = splitter * bcytail;
|
|
142
|
+
bhi = c - (c - bcytail);
|
|
143
|
+
blo = bcytail - bhi;
|
|
144
|
+
s0 = alo * blo - (s1 - ahi * bhi - alo * bhi - ahi * blo);
|
|
145
|
+
t1 = acytail * bcxtail;
|
|
146
|
+
c = splitter * acytail;
|
|
147
|
+
ahi = c - (c - acytail);
|
|
148
|
+
alo = acytail - ahi;
|
|
149
|
+
c = splitter * bcxtail;
|
|
150
|
+
bhi = c - (c - bcxtail);
|
|
151
|
+
blo = bcxtail - bhi;
|
|
152
|
+
t0 = alo * blo - (t1 - ahi * bhi - alo * bhi - ahi * blo);
|
|
153
|
+
_i = s0 - t0;
|
|
154
|
+
bvirt = s0 - _i;
|
|
155
|
+
u[0] = s0 - (_i + bvirt) + (bvirt - t0);
|
|
156
|
+
_j = s1 + _i;
|
|
157
|
+
bvirt = _j - s1;
|
|
158
|
+
_0 = s1 - (_j - bvirt) + (_i - bvirt);
|
|
159
|
+
_i = _0 - t1;
|
|
160
|
+
bvirt = _0 - _i;
|
|
161
|
+
u[1] = _0 - (_i + bvirt) + (bvirt - t1);
|
|
162
|
+
u3 = _j + _i;
|
|
163
|
+
bvirt = u3 - _j;
|
|
164
|
+
u[2] = _j - (u3 - bvirt) + (_i - bvirt);
|
|
165
|
+
u[3] = u3;
|
|
166
|
+
const Dlen = sum(C2len, C2, 4, u, D);
|
|
167
|
+
|
|
168
|
+
return D[Dlen - 1];
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function orient2d(ax, ay, bx, by, cx, cy) {
|
|
172
|
+
const detleft = (ay - cy) * (bx - cx);
|
|
173
|
+
const detright = (ax - cx) * (by - cy);
|
|
174
|
+
const det = detleft - detright;
|
|
175
|
+
|
|
176
|
+
const detsum = Math.abs(detleft + detright);
|
|
177
|
+
if (Math.abs(det) >= ccwerrboundA * detsum) return det;
|
|
178
|
+
|
|
179
|
+
return -orient2dadapt(ax, ay, bx, by, cx, cy, detsum);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export { orient2d };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
const epsilon = 1.1102230246251565e-16;
|
|
2
|
+
const splitter = 134217729;
|
|
3
|
+
const resulterrbound = (3 + 8 * epsilon) * epsilon;
|
|
4
|
+
|
|
5
|
+
// fast_expansion_sum_zeroelim routine from oritinal code
|
|
6
|
+
function sum(elen, e, flen, f, h) {
|
|
7
|
+
let Q, Qnew, hh, bvirt;
|
|
8
|
+
let enow = e[0];
|
|
9
|
+
let fnow = f[0];
|
|
10
|
+
let eindex = 0;
|
|
11
|
+
let findex = 0;
|
|
12
|
+
if ((fnow > enow) === (fnow > -enow)) {
|
|
13
|
+
Q = enow;
|
|
14
|
+
enow = e[++eindex];
|
|
15
|
+
} else {
|
|
16
|
+
Q = fnow;
|
|
17
|
+
fnow = f[++findex];
|
|
18
|
+
}
|
|
19
|
+
let hindex = 0;
|
|
20
|
+
if (eindex < elen && findex < flen) {
|
|
21
|
+
if ((fnow > enow) === (fnow > -enow)) {
|
|
22
|
+
Qnew = enow + Q;
|
|
23
|
+
hh = Q - (Qnew - enow);
|
|
24
|
+
enow = e[++eindex];
|
|
25
|
+
} else {
|
|
26
|
+
Qnew = fnow + Q;
|
|
27
|
+
hh = Q - (Qnew - fnow);
|
|
28
|
+
fnow = f[++findex];
|
|
29
|
+
}
|
|
30
|
+
Q = Qnew;
|
|
31
|
+
if (hh !== 0) {
|
|
32
|
+
h[hindex++] = hh;
|
|
33
|
+
}
|
|
34
|
+
while (eindex < elen && findex < flen) {
|
|
35
|
+
if ((fnow > enow) === (fnow > -enow)) {
|
|
36
|
+
Qnew = Q + enow;
|
|
37
|
+
bvirt = Qnew - Q;
|
|
38
|
+
hh = Q - (Qnew - bvirt) + (enow - bvirt);
|
|
39
|
+
enow = e[++eindex];
|
|
40
|
+
} else {
|
|
41
|
+
Qnew = Q + fnow;
|
|
42
|
+
bvirt = Qnew - Q;
|
|
43
|
+
hh = Q - (Qnew - bvirt) + (fnow - bvirt);
|
|
44
|
+
fnow = f[++findex];
|
|
45
|
+
}
|
|
46
|
+
Q = Qnew;
|
|
47
|
+
if (hh !== 0) {
|
|
48
|
+
h[hindex++] = hh;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
while (eindex < elen) {
|
|
53
|
+
Qnew = Q + enow;
|
|
54
|
+
bvirt = Qnew - Q;
|
|
55
|
+
hh = Q - (Qnew - bvirt) + (enow - bvirt);
|
|
56
|
+
enow = e[++eindex];
|
|
57
|
+
Q = Qnew;
|
|
58
|
+
if (hh !== 0) {
|
|
59
|
+
h[hindex++] = hh;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
while (findex < flen) {
|
|
63
|
+
Qnew = Q + fnow;
|
|
64
|
+
bvirt = Qnew - Q;
|
|
65
|
+
hh = Q - (Qnew - bvirt) + (fnow - bvirt);
|
|
66
|
+
fnow = f[++findex];
|
|
67
|
+
Q = Qnew;
|
|
68
|
+
if (hh !== 0) {
|
|
69
|
+
h[hindex++] = hh;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
if (Q !== 0 || hindex === 0) {
|
|
73
|
+
h[hindex++] = Q;
|
|
74
|
+
}
|
|
75
|
+
return hindex;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function estimate(elen, e) {
|
|
79
|
+
let Q = e[0];
|
|
80
|
+
for (let i = 1; i < elen; i++) Q += e[i];
|
|
81
|
+
return Q;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function vec(n) {
|
|
85
|
+
return new Float64Array(n);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export { epsilon, estimate, resulterrbound, splitter, sum, vec };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import reverse from './reverse.js';
|
|
2
|
+
import transform from './transform.js';
|
|
3
|
+
|
|
4
|
+
function feature(topology, o) {
|
|
5
|
+
if (typeof o === "string") o = topology.objects[o];
|
|
6
|
+
return o.type === "GeometryCollection"
|
|
7
|
+
? {type: "FeatureCollection", features: o.geometries.map(function(o) { return feature$1(topology, o); })}
|
|
8
|
+
: feature$1(topology, o);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function feature$1(topology, o) {
|
|
12
|
+
var id = o.id,
|
|
13
|
+
bbox = o.bbox,
|
|
14
|
+
properties = o.properties == null ? {} : o.properties,
|
|
15
|
+
geometry = object(topology, o);
|
|
16
|
+
return id == null && bbox == null ? {type: "Feature", properties: properties, geometry: geometry}
|
|
17
|
+
: bbox == null ? {type: "Feature", id: id, properties: properties, geometry: geometry}
|
|
18
|
+
: {type: "Feature", id: id, bbox: bbox, properties: properties, geometry: geometry};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function object(topology, o) {
|
|
22
|
+
var transformPoint = transform(topology.transform),
|
|
23
|
+
arcs = topology.arcs;
|
|
24
|
+
|
|
25
|
+
function arc(i, points) {
|
|
26
|
+
if (points.length) points.pop();
|
|
27
|
+
for (var a = arcs[i < 0 ? ~i : i], k = 0, n = a.length; k < n; ++k) {
|
|
28
|
+
points.push(transformPoint(a[k], k));
|
|
29
|
+
}
|
|
30
|
+
if (i < 0) reverse(points, n);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function point(p) {
|
|
34
|
+
return transformPoint(p);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function line(arcs) {
|
|
38
|
+
var points = [];
|
|
39
|
+
for (var i = 0, n = arcs.length; i < n; ++i) arc(arcs[i], points);
|
|
40
|
+
if (points.length < 2) points.push(points[0]); // This should never happen per the specification.
|
|
41
|
+
return points;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function ring(arcs) {
|
|
45
|
+
var points = line(arcs);
|
|
46
|
+
while (points.length < 4) points.push(points[0]); // This may happen if an arc has only two points.
|
|
47
|
+
return points;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function polygon(arcs) {
|
|
51
|
+
return arcs.map(ring);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function geometry(o) {
|
|
55
|
+
var type = o.type, coordinates;
|
|
56
|
+
switch (type) {
|
|
57
|
+
case "GeometryCollection": return {type: type, geometries: o.geometries.map(geometry)};
|
|
58
|
+
case "Point": coordinates = point(o.coordinates); break;
|
|
59
|
+
case "MultiPoint": coordinates = o.coordinates.map(point); break;
|
|
60
|
+
case "LineString": coordinates = line(o.arcs); break;
|
|
61
|
+
case "MultiLineString": coordinates = o.arcs.map(line); break;
|
|
62
|
+
case "Polygon": coordinates = polygon(o.arcs); break;
|
|
63
|
+
case "MultiPolygon": coordinates = o.arcs.map(polygon); break;
|
|
64
|
+
default: return null;
|
|
65
|
+
}
|
|
66
|
+
return {type: type, coordinates: coordinates};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return geometry(o);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export { feature as default, object };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { object } from './feature.js';
|
|
2
|
+
import stitch from './stitch.js';
|
|
3
|
+
|
|
4
|
+
function mesh(topology) {
|
|
5
|
+
return object(topology, meshArcs.apply(this, arguments));
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
function meshArcs(topology, object, filter) {
|
|
9
|
+
var arcs, i, n;
|
|
10
|
+
if (arguments.length > 1) arcs = extractArcs(topology, object, filter);
|
|
11
|
+
else for (i = 0, arcs = new Array(n = topology.arcs.length); i < n; ++i) arcs[i] = i;
|
|
12
|
+
return {type: "MultiLineString", arcs: stitch(topology, arcs)};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function extractArcs(topology, object, filter) {
|
|
16
|
+
var arcs = [],
|
|
17
|
+
geomsByArc = [],
|
|
18
|
+
geom;
|
|
19
|
+
|
|
20
|
+
function extract0(i) {
|
|
21
|
+
var j = i < 0 ? ~i : i;
|
|
22
|
+
(geomsByArc[j] || (geomsByArc[j] = [])).push({i: i, g: geom});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function extract1(arcs) {
|
|
26
|
+
arcs.forEach(extract0);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function extract2(arcs) {
|
|
30
|
+
arcs.forEach(extract1);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function extract3(arcs) {
|
|
34
|
+
arcs.forEach(extract2);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function geometry(o) {
|
|
38
|
+
switch (geom = o, o.type) {
|
|
39
|
+
case "GeometryCollection": o.geometries.forEach(geometry); break;
|
|
40
|
+
case "LineString": extract1(o.arcs); break;
|
|
41
|
+
case "MultiLineString": case "Polygon": extract2(o.arcs); break;
|
|
42
|
+
case "MultiPolygon": extract3(o.arcs); break;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
geometry(object);
|
|
47
|
+
|
|
48
|
+
geomsByArc.forEach(filter == null
|
|
49
|
+
? function(geoms) { arcs.push(geoms[0].i); }
|
|
50
|
+
: function(geoms) { if (filter(geoms[0].g, geoms[geoms.length - 1].g)) arcs.push(geoms[0].i); });
|
|
51
|
+
|
|
52
|
+
return arcs;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { mesh as default, meshArcs };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
function stitch(topology, arcs) {
|
|
2
|
+
var stitchedArcs = {},
|
|
3
|
+
fragmentByStart = {},
|
|
4
|
+
fragmentByEnd = {},
|
|
5
|
+
fragments = [],
|
|
6
|
+
emptyIndex = -1;
|
|
7
|
+
|
|
8
|
+
// Stitch empty arcs first, since they may be subsumed by other arcs.
|
|
9
|
+
arcs.forEach(function(i, j) {
|
|
10
|
+
var arc = topology.arcs[i < 0 ? ~i : i], t;
|
|
11
|
+
if (arc.length < 3 && !arc[1][0] && !arc[1][1]) {
|
|
12
|
+
t = arcs[++emptyIndex], arcs[emptyIndex] = i, arcs[j] = t;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
arcs.forEach(function(i) {
|
|
17
|
+
var e = ends(i),
|
|
18
|
+
start = e[0],
|
|
19
|
+
end = e[1],
|
|
20
|
+
f, g;
|
|
21
|
+
|
|
22
|
+
if (f = fragmentByEnd[start]) {
|
|
23
|
+
delete fragmentByEnd[f.end];
|
|
24
|
+
f.push(i);
|
|
25
|
+
f.end = end;
|
|
26
|
+
if (g = fragmentByStart[end]) {
|
|
27
|
+
delete fragmentByStart[g.start];
|
|
28
|
+
var fg = g === f ? f : f.concat(g);
|
|
29
|
+
fragmentByStart[fg.start = f.start] = fragmentByEnd[fg.end = g.end] = fg;
|
|
30
|
+
} else {
|
|
31
|
+
fragmentByStart[f.start] = fragmentByEnd[f.end] = f;
|
|
32
|
+
}
|
|
33
|
+
} else if (f = fragmentByStart[end]) {
|
|
34
|
+
delete fragmentByStart[f.start];
|
|
35
|
+
f.unshift(i);
|
|
36
|
+
f.start = start;
|
|
37
|
+
if (g = fragmentByEnd[start]) {
|
|
38
|
+
delete fragmentByEnd[g.end];
|
|
39
|
+
var gf = g === f ? f : g.concat(f);
|
|
40
|
+
fragmentByStart[gf.start = g.start] = fragmentByEnd[gf.end = f.end] = gf;
|
|
41
|
+
} else {
|
|
42
|
+
fragmentByStart[f.start] = fragmentByEnd[f.end] = f;
|
|
43
|
+
}
|
|
44
|
+
} else {
|
|
45
|
+
f = [i];
|
|
46
|
+
fragmentByStart[f.start = start] = fragmentByEnd[f.end = end] = f;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
function ends(i) {
|
|
51
|
+
var arc = topology.arcs[i < 0 ? ~i : i], p0 = arc[0], p1;
|
|
52
|
+
if (topology.transform) p1 = [0, 0], arc.forEach(function(dp) { p1[0] += dp[0], p1[1] += dp[1]; });
|
|
53
|
+
else p1 = arc[arc.length - 1];
|
|
54
|
+
return i < 0 ? [p1, p0] : [p0, p1];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function flush(fragmentByEnd, fragmentByStart) {
|
|
58
|
+
for (var k in fragmentByEnd) {
|
|
59
|
+
var f = fragmentByEnd[k];
|
|
60
|
+
delete fragmentByStart[f.start];
|
|
61
|
+
delete f.start;
|
|
62
|
+
delete f.end;
|
|
63
|
+
f.forEach(function(i) { stitchedArcs[i < 0 ? ~i : i] = 1; });
|
|
64
|
+
fragments.push(f);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
flush(fragmentByEnd, fragmentByStart);
|
|
69
|
+
flush(fragmentByStart, fragmentByEnd);
|
|
70
|
+
arcs.forEach(function(i) { if (!stitchedArcs[i < 0 ? ~i : i]) fragments.push([i]); });
|
|
71
|
+
|
|
72
|
+
return fragments;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { stitch as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import identity from './identity.js';
|
|
2
|
+
|
|
3
|
+
function transform(transform) {
|
|
4
|
+
if (transform == null) return identity;
|
|
5
|
+
var x0,
|
|
6
|
+
y0,
|
|
7
|
+
kx = transform.scale[0],
|
|
8
|
+
ky = transform.scale[1],
|
|
9
|
+
dx = transform.translate[0],
|
|
10
|
+
dy = transform.translate[1];
|
|
11
|
+
return function(input, i) {
|
|
12
|
+
if (!i) x0 = y0 = 0;
|
|
13
|
+
var j = 2, n = input.length, output = new Array(n);
|
|
14
|
+
output[0] = (x0 += input[0]) * kx + dx;
|
|
15
|
+
output[1] = (y0 += input[1]) * ky + dy;
|
|
16
|
+
while (j < n) output[j] = input[j], ++j;
|
|
17
|
+
return output;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { transform as default };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { extend } from '../../vega-util/build/vega-util.js';
|
|
2
|
+
export { Debug, DisallowedObjectProperties, Error, Info, None, Warn, accessor, accessorFields, accessorName, array, ascending, clampRange, compare, constant, debounce, error, extent, extentIndex, falsy, fastmap, field, flush, hasOwnProperty, id, identity, inherits, inrange, isArray, isBoolean, isDate, isFunction, isIterable, isNumber, isObject, isRegExp, isString, key, lerp, logger, lruCache, merge, mergeConfig, one, pad, panLinear, panLog, panPow, panSymlog, peek, quarter, repeat, span, splitAccessPath, stringValue, toBoolean, toDate, toNumber, toSet, toString, truncate, truthy, utcquarter, visitArray, writeConfig, zero, zoomLinear, zoomLog, zoomPow, zoomSymlog } from '../../vega-util/build/vega-util.js';
|
|
3
|
+
import { transforms } from '../../vega-dataflow/build/vega-dataflow.js';
|
|
4
|
+
export { Dataflow, EventStream, MultiPulse, Operator, Parameters, Pulse, Transform, changeset, definition, ingest, isTuple, transform, tupleid } from '../../vega-dataflow/build/vega-dataflow.js';
|
|
5
|
+
import * as vegaTransforms from '../../vega-transforms/build/vega-transforms.js';
|
|
6
|
+
import * as vegaViewTransforms from '../../vega-view-transforms/build/vega-view-transforms.js';
|
|
7
|
+
import * as vegaEncode from '../../vega-encode/build/vega-encode.js';
|
|
8
|
+
import * as vegaGeo from '../../vega-geo/build/vega-geo.js';
|
|
9
|
+
import * as vegaForce from '../../vega-force/build/vega-force.js';
|
|
10
|
+
import * as vegaHierarchy from '../../vega-hierarchy/build/vega-hierarchy.js';
|
|
11
|
+
import * as vegaLabel from '../../vega-label/build/vega-label.js';
|
|
12
|
+
import * as vegaRegression from '../../vega-regression/build/vega-regression.js';
|
|
13
|
+
import * as vegaVoronoi from '../../vega-voronoi/build/vega-voronoi.js';
|
|
14
|
+
import * as vegaWordcloud from '../../vega-wordcloud/build/vega-wordcloud.js';
|
|
15
|
+
import * as vegaCrossfilter from '../../vega-crossfilter/build/vega-crossfilter.js';
|
|
16
|
+
export { bandwidthNRD, bin, bootstrapCI, cumulativeLogNormal, cumulativeNormal, cumulativeUniform, densityLogNormal, densityNormal, densityUniform, dotbin, quantileLogNormal, quantileNormal, quantileUniform, quantiles, quartiles, random, randomInteger, randomKDE, randomLCG, randomLogNormal, randomMixture, randomNormal, randomUniform, regressionConstant, regressionExp, regressionLinear, regressionLoess, regressionLog, regressionPoly, regressionPow, regressionQuad, sampleCurve, sampleLogNormal, sampleNormal, sampleUniform, setRandom } from '../../vega-statistics/build/vega-statistics.js';
|
|
17
|
+
export { DATE, DAY, DAYOFYEAR, HOURS, MILLISECONDS, MINUTES, MONTH, QUARTER, SECONDS, TIME_UNITS, WEEK, YEAR, dayofyear, timeBin, timeFloor, timeInterval, timeOffset, timeSequence, timeUnitSpecifier, timeUnits, utcFloor, utcInterval, utcOffset, utcSequence, utcdayofyear, utcweek, week } from '../../vega-time/build/vega-time.js';
|
|
18
|
+
export { format, formats, inferType, inferTypes, loader, read, responseType, typeParsers } from '../../vega-loader/build/vega-loader.browser.js';
|
|
19
|
+
export { Bounds, CanvasHandler, CanvasRenderer, Gradient, GroupItem, Handler, HybridHandler, HybridRenderer, Item, Marks, RenderType, Renderer, ResourceLoader, SVGHandler, SVGRenderer, SVGStringRenderer, Scenegraph, boundClip, boundContext, boundItem, boundMark, boundStroke, domChild, domClear, domCreate, domFind, font, fontFamily, fontSize, intersect, intersectBoxLine, intersectPath, intersectPoint, intersectRule, lineHeight, markup, multiLineOffset, pathCurves, pathEqual, pathParse, pathRectangle, pathRender, pathSymbols, pathTrail, point, renderModule, resetSVGDefIds, sceneEqual, sceneFromJSON, scenePickVisit, sceneToJSON, sceneVisit, sceneZOrder, serializeXML, setHybridRendererOptions, textMetrics } from '../../vega-scenegraph/build/vega-scenegraph.js';
|
|
20
|
+
export { interpolate, interpolateColors, interpolateRange, quantizeInterpolator, scale, scheme } from '../../vega-scale/build/vega-scale.js';
|
|
21
|
+
export { projection } from '../../vega-projection/build/vega-projection.js';
|
|
22
|
+
export { View } from '../../vega-view/build/vega-view.js';
|
|
23
|
+
export { defaultLocale, numberFormatDefaultLocale as formatLocale, locale, resetDefaultLocale, timeFormatDefaultLocale as timeFormatLocale } from '../../vega-format/build/vega-format.js';
|
|
24
|
+
export { expressionFunction } from '../../vega-functions/build/vega-functions.js';
|
|
25
|
+
export { parse } from '../../vega-parser/build/vega-parser.js';
|
|
26
|
+
export { context as runtimeContext } from '../../vega-runtime/build/vega-runtime.js';
|
|
27
|
+
export { codegenExpression, parseExpression } from '../../vega-expression/build/vega-expression.js';
|
|
28
|
+
export { parseSelector } from '../../vega-event-selector/build/vega-event-selector.js';
|
|
29
|
+
export { path } from '../../d3-path/src/path.js';
|
|
30
|
+
|
|
31
|
+
var version$1 = "6.2.0";
|
|
32
|
+
|
|
33
|
+
// -- Transforms -----
|
|
34
|
+
|
|
35
|
+
extend(transforms, vegaTransforms, vegaViewTransforms, vegaEncode, vegaGeo, vegaForce, vegaLabel, vegaHierarchy, vegaRegression, vegaVoronoi, vegaWordcloud, vegaCrossfilter);
|
|
36
|
+
const version = version$1;
|
|
37
|
+
|
|
38
|
+
export { extend, transforms, version };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function domCanvas(w, h) {
|
|
2
|
+
if (typeof document !== 'undefined' && document.createElement) {
|
|
3
|
+
const c = document.createElement('canvas');
|
|
4
|
+
if (c && c.getContext) {
|
|
5
|
+
c.width = w;
|
|
6
|
+
c.height = h;
|
|
7
|
+
return c;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
const domImage = () => typeof Image !== 'undefined' ? Image : null;
|
|
13
|
+
|
|
14
|
+
export { domCanvas as canvas, domCanvas, domImage as image };
|