@veritone-ce/design-system 2.8.13-next.1 → 2.8.13
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/Dialog/components.js +90 -29
- package/dist/cjs/Dialog/state.js +8 -2
- package/dist/cjs/Dialog/styles.module.scss.js +2 -2
- package/dist/cjs/FileUploader/controlled.js +0 -7
- package/dist/cjs/Menu/controlled.js +77 -2
- package/dist/cjs/Select/controlled.js +3 -0
- package/dist/cjs/Table/AutoTable/controlled.js +1 -2
- package/dist/cjs/Table/AutoTable/styles.module.scss.js +1 -1
- package/dist/cjs/TablePagination/index.js +8 -21
- package/dist/cjs/index.js +0 -11
- package/dist/cjs/styles/createPalette.js +0 -11
- package/dist/cjs/styles.css +1 -1
- package/dist/cjs/unstable/Card/index.js +33 -0
- package/dist/cjs/unstable/Card/styles.module.scss.js +1 -1
- package/dist/cjs/unstable/index.js +13 -39
- package/dist/esm/Dialog/components.js +89 -28
- package/dist/esm/Dialog/state.js +8 -2
- package/dist/esm/Dialog/styles.module.scss.js +2 -2
- package/dist/esm/FileUploader/controlled.js +0 -7
- package/dist/esm/Menu/controlled.js +77 -2
- package/dist/esm/Select/controlled.js +3 -0
- package/dist/esm/Table/AutoTable/controlled.js +1 -2
- package/dist/esm/Table/AutoTable/styles.module.scss.js +1 -1
- package/dist/esm/TablePagination/index.js +8 -21
- package/dist/esm/index.js +1 -1
- package/dist/esm/styles/createPalette.js +1 -1
- package/dist/esm/styles.css +1 -1
- package/dist/esm/unstable/Card/index.js +29 -0
- package/dist/esm/unstable/Card/styles.module.scss.js +1 -1
- package/dist/esm/unstable/index.js +1 -5
- package/dist/types/Dialog/components.d.ts +20 -27
- package/dist/types/Dialog/factory.d.ts +5 -4
- package/dist/types/Dialog/state.d.ts +15 -1
- package/dist/types/Menu/controlled.d.ts +9 -1
- package/dist/types/Select/types.d.ts +8 -0
- package/dist/types/TablePagination/index.d.ts +1 -1
- package/dist/types/styles/createPalette.d.ts +2 -13
- package/dist/types/unstable/Card/index.d.ts +11 -2
- package/dist/types/unstable/extras/chart/index.d.ts +33 -15
- package/dist/types/unstable/index.d.ts +0 -3
- package/package.json +7 -1
- package/dist/cjs/bundled_modules/d3-array/src/ascending.js +0 -9
- package/dist/cjs/bundled_modules/d3-array/src/bisect.js +0 -16
- package/dist/cjs/bundled_modules/d3-array/src/bisector.js +0 -62
- package/dist/cjs/bundled_modules/d3-array/src/descending.js +0 -13
- package/dist/cjs/bundled_modules/d3-array/src/deviation.js +0 -12
- package/dist/cjs/bundled_modules/d3-array/src/fsum.js +0 -45
- package/dist/cjs/bundled_modules/d3-array/src/intersection.js +0 -25
- package/dist/cjs/bundled_modules/d3-array/src/max.js +0 -26
- package/dist/cjs/bundled_modules/d3-array/src/mean.js +0 -25
- package/dist/cjs/bundled_modules/d3-array/src/median.js +0 -11
- package/dist/cjs/bundled_modules/d3-array/src/merge.js +0 -15
- package/dist/cjs/bundled_modules/d3-array/src/min.js +0 -26
- package/dist/cjs/bundled_modules/d3-array/src/number.js +0 -27
- package/dist/cjs/bundled_modules/d3-array/src/permute.js +0 -9
- package/dist/cjs/bundled_modules/d3-array/src/quantile.js +0 -36
- package/dist/cjs/bundled_modules/d3-array/src/quickselect.js +0 -59
- package/dist/cjs/bundled_modules/d3-array/src/range.js +0 -19
- package/dist/cjs/bundled_modules/d3-array/src/sort.js +0 -20
- package/dist/cjs/bundled_modules/d3-array/src/sum.js +0 -17
- package/dist/cjs/bundled_modules/d3-array/src/ticks.js +0 -63
- package/dist/cjs/bundled_modules/d3-array/src/union.js +0 -17
- package/dist/cjs/bundled_modules/d3-array/src/variance.js +0 -31
- package/dist/cjs/bundled_modules/d3-color/src/color.js +0 -410
- package/dist/cjs/bundled_modules/d3-color/src/cubehelix.js +0 -68
- package/dist/cjs/bundled_modules/d3-color/src/define.js +0 -17
- package/dist/cjs/bundled_modules/d3-color/src/lab.js +0 -124
- package/dist/cjs/bundled_modules/d3-color/src/math.js +0 -7
- package/dist/cjs/bundled_modules/d3-delaunay/src/delaunay.js +0 -254
- package/dist/cjs/bundled_modules/d3-delaunay/src/path.js +0 -43
- package/dist/cjs/bundled_modules/d3-delaunay/src/polygon.js +0 -23
- package/dist/cjs/bundled_modules/d3-delaunay/src/voronoi.js +0 -338
- package/dist/cjs/bundled_modules/d3-dispatch/src/dispatch.js +0 -88
- package/dist/cjs/bundled_modules/d3-dsv/src/dsv.js +0 -170
- package/dist/cjs/bundled_modules/d3-force/src/center.js +0 -46
- package/dist/cjs/bundled_modules/d3-force/src/collide.js +0 -106
- package/dist/cjs/bundled_modules/d3-force/src/constant.js +0 -11
- package/dist/cjs/bundled_modules/d3-force/src/jiggle.js +0 -9
- package/dist/cjs/bundled_modules/d3-force/src/lcg.js +0 -15
- package/dist/cjs/bundled_modules/d3-force/src/link.js +0 -123
- package/dist/cjs/bundled_modules/d3-force/src/manyBody.js +0 -122
- package/dist/cjs/bundled_modules/d3-force/src/simulation.js +0 -164
- package/dist/cjs/bundled_modules/d3-force/src/x.js +0 -47
- package/dist/cjs/bundled_modules/d3-force/src/y.js +0 -47
- package/dist/cjs/bundled_modules/d3-format/src/defaultLocale.js +0 -24
- package/dist/cjs/bundled_modules/d3-format/src/exponent.js +0 -11
- package/dist/cjs/bundled_modules/d3-format/src/formatDecimal.js +0 -27
- package/dist/cjs/bundled_modules/d3-format/src/formatGroup.js +0 -24
- package/dist/cjs/bundled_modules/d3-format/src/formatNumerals.js +0 -13
- package/dist/cjs/bundled_modules/d3-format/src/formatPrefixAuto.js +0 -22
- package/dist/cjs/bundled_modules/d3-format/src/formatRounded.js +0 -17
- package/dist/cjs/bundled_modules/d3-format/src/formatSpecifier.js +0 -54
- package/dist/cjs/bundled_modules/d3-format/src/formatTrim.js +0 -17
- package/dist/cjs/bundled_modules/d3-format/src/formatTypes.js +0 -25
- package/dist/cjs/bundled_modules/d3-format/src/identity.js +0 -9
- package/dist/cjs/bundled_modules/d3-format/src/locale.js +0 -154
- package/dist/cjs/bundled_modules/d3-format/src/precisionFixed.js +0 -11
- package/dist/cjs/bundled_modules/d3-format/src/precisionPrefix.js +0 -11
- package/dist/cjs/bundled_modules/d3-format/src/precisionRound.js +0 -12
- package/dist/cjs/bundled_modules/d3-geo/src/area.js +0 -83
- package/dist/cjs/bundled_modules/d3-geo/src/bounds.js +0 -185
- package/dist/cjs/bundled_modules/d3-geo/src/cartesian.js +0 -43
- package/dist/cjs/bundled_modules/d3-geo/src/centroid.js +0 -149
- package/dist/cjs/bundled_modules/d3-geo/src/circle.js +0 -35
- package/dist/cjs/bundled_modules/d3-geo/src/clip/antimeridian.js +0 -98
- package/dist/cjs/bundled_modules/d3-geo/src/clip/buffer.js +0 -30
- package/dist/cjs/bundled_modules/d3-geo/src/clip/circle.js +0 -183
- package/dist/cjs/bundled_modules/d3-geo/src/clip/index.js +0 -137
- package/dist/cjs/bundled_modules/d3-geo/src/clip/line.js +0 -65
- package/dist/cjs/bundled_modules/d3-geo/src/clip/rectangle.js +0 -174
- package/dist/cjs/bundled_modules/d3-geo/src/clip/rejoin.js +0 -109
- package/dist/cjs/bundled_modules/d3-geo/src/compose.js +0 -18
- package/dist/cjs/bundled_modules/d3-geo/src/graticule.js +0 -107
- package/dist/cjs/bundled_modules/d3-geo/src/identity.js +0 -7
- package/dist/cjs/bundled_modules/d3-geo/src/math.js +0 -57
- package/dist/cjs/bundled_modules/d3-geo/src/noop.js +0 -7
- package/dist/cjs/bundled_modules/d3-geo/src/path/area.js +0 -54
- package/dist/cjs/bundled_modules/d3-geo/src/path/bounds.js +0 -32
- package/dist/cjs/bundled_modules/d3-geo/src/path/centroid.js +0 -104
- package/dist/cjs/bundled_modules/d3-geo/src/path/context.js +0 -51
- package/dist/cjs/bundled_modules/d3-geo/src/path/index.js +0 -82
- package/dist/cjs/bundled_modules/d3-geo/src/path/measure.js +0 -49
- package/dist/cjs/bundled_modules/d3-geo/src/path/string.js +0 -92
- package/dist/cjs/bundled_modules/d3-geo/src/pointEqual.js +0 -11
- package/dist/cjs/bundled_modules/d3-geo/src/polygonContains.js +0 -80
- package/dist/cjs/bundled_modules/d3-geo/src/projection/albers.js +0 -16
- package/dist/cjs/bundled_modules/d3-geo/src/projection/albersUsa.js +0 -117
- package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthal.js +0 -32
- package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthalEqualArea.js +0 -24
- package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthalEquidistant.js +0 -24
- package/dist/cjs/bundled_modules/d3-geo/src/projection/conic.js +0 -19
- package/dist/cjs/bundled_modules/d3-geo/src/projection/conicConformal.js +0 -45
- package/dist/cjs/bundled_modules/d3-geo/src/projection/conicEqualArea.js +0 -40
- package/dist/cjs/bundled_modules/d3-geo/src/projection/conicEquidistant.js +0 -39
- package/dist/cjs/bundled_modules/d3-geo/src/projection/cylindricalEqualArea.js +0 -19
- package/dist/cjs/bundled_modules/d3-geo/src/projection/equalEarth.js +0 -43
- package/dist/cjs/bundled_modules/d3-geo/src/projection/equirectangular.js +0 -19
- package/dist/cjs/bundled_modules/d3-geo/src/projection/fit.js +0 -54
- package/dist/cjs/bundled_modules/d3-geo/src/projection/gnomonic.js +0 -23
- package/dist/cjs/bundled_modules/d3-geo/src/projection/identity.js +0 -91
- package/dist/cjs/bundled_modules/d3-geo/src/projection/index.js +0 -184
- package/dist/cjs/bundled_modules/d3-geo/src/projection/mercator.js +0 -60
- package/dist/cjs/bundled_modules/d3-geo/src/projection/naturalEarth1.js +0 -35
- package/dist/cjs/bundled_modules/d3-geo/src/projection/orthographic.js +0 -22
- package/dist/cjs/bundled_modules/d3-geo/src/projection/resample.js +0 -108
- package/dist/cjs/bundled_modules/d3-geo/src/projection/stereographic.js +0 -25
- package/dist/cjs/bundled_modules/d3-geo/src/projection/transverseMercator.js +0 -34
- package/dist/cjs/bundled_modules/d3-geo/src/rotation.js +0 -86
- package/dist/cjs/bundled_modules/d3-geo/src/stream.js +0 -75
- package/dist/cjs/bundled_modules/d3-geo/src/transform.js +0 -24
- package/dist/cjs/bundled_modules/d3-geo-projection/src/math.js +0 -28
- package/dist/cjs/bundled_modules/d3-geo-projection/src/mollweide.js +0 -38
- package/dist/cjs/bundled_modules/d3-hierarchy/src/accessors.js +0 -13
- package/dist/cjs/bundled_modules/d3-hierarchy/src/array.js +0 -27
- package/dist/cjs/bundled_modules/d3-hierarchy/src/cluster.js +0 -90
- package/dist/cjs/bundled_modules/d3-hierarchy/src/constant.js +0 -16
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/ancestors.js +0 -13
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/count.js +0 -18
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/descendants.js +0 -9
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/each.js +0 -13
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/eachAfter.js +0 -21
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/eachBefore.js +0 -18
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/find.js +0 -14
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/index.js +0 -99
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/iterator.js +0 -20
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/leaves.js +0 -15
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/links.js +0 -15
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/path.js +0 -36
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/sort.js +0 -13
- package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/sum.js +0 -15
- package/dist/cjs/bundled_modules/d3-hierarchy/src/lcg.js +0 -15
- package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/enclose.js +0 -122
- package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/index.js +0 -87
- package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/siblings.js +0 -118
- package/dist/cjs/bundled_modules/d3-hierarchy/src/partition.js +0 -58
- package/dist/cjs/bundled_modules/d3-hierarchy/src/stratify.js +0 -151
- package/dist/cjs/bundled_modules/d3-hierarchy/src/tree.js +0 -243
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/binary.js +0 -52
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/dice.js +0 -18
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/index.js +0 -100
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/resquarify.js +0 -42
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/round.js +0 -12
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/slice.js +0 -18
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/sliceDice.js +0 -12
- package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/squarify.js +0 -74
- package/dist/cjs/bundled_modules/d3-interpolate/src/array.js +0 -29
- package/dist/cjs/bundled_modules/d3-interpolate/src/basis.js +0 -26
- package/dist/cjs/bundled_modules/d3-interpolate/src/basisClosed.js +0 -19
- package/dist/cjs/bundled_modules/d3-interpolate/src/color.js +0 -37
- package/dist/cjs/bundled_modules/d3-interpolate/src/constant.js +0 -7
- package/dist/cjs/bundled_modules/d3-interpolate/src/cubehelix.js +0 -36
- package/dist/cjs/bundled_modules/d3-interpolate/src/date.js +0 -12
- package/dist/cjs/bundled_modules/d3-interpolate/src/discrete.js +0 -12
- package/dist/cjs/bundled_modules/d3-interpolate/src/hcl.js +0 -28
- package/dist/cjs/bundled_modules/d3-interpolate/src/hsl.js +0 -28
- package/dist/cjs/bundled_modules/d3-interpolate/src/hue.js +0 -15
- package/dist/cjs/bundled_modules/d3-interpolate/src/index.js +0 -53
- package/dist/cjs/bundled_modules/d3-interpolate/src/lab.js +0 -22
- package/dist/cjs/bundled_modules/d3-interpolate/src/number.js +0 -11
- package/dist/cjs/bundled_modules/d3-interpolate/src/numberArray.js +0 -21
- package/dist/cjs/bundled_modules/d3-interpolate/src/object.js +0 -29
- package/dist/cjs/bundled_modules/d3-interpolate/src/piecewise.js +0 -17
- package/dist/cjs/bundled_modules/d3-interpolate/src/quantize.js +0 -11
- package/dist/cjs/bundled_modules/d3-interpolate/src/rgb.js +0 -63
- package/dist/cjs/bundled_modules/d3-interpolate/src/round.js +0 -11
- package/dist/cjs/bundled_modules/d3-interpolate/src/string.js +0 -70
- package/dist/cjs/bundled_modules/d3-interpolate/src/transform/decompose.js +0 -33
- package/dist/cjs/bundled_modules/d3-interpolate/src/transform/index.js +0 -68
- package/dist/cjs/bundled_modules/d3-interpolate/src/transform/parse.js +0 -23
- package/dist/cjs/bundled_modules/d3-interpolate/src/value.js +0 -28
- package/dist/cjs/bundled_modules/d3-interpolate/src/zoom.js +0 -77
- package/dist/cjs/bundled_modules/d3-path/src/path.js +0 -157
- package/dist/cjs/bundled_modules/d3-quadtree/src/add.js +0 -91
- package/dist/cjs/bundled_modules/d3-quadtree/src/cover.js +0 -49
- package/dist/cjs/bundled_modules/d3-quadtree/src/data.js +0 -13
- package/dist/cjs/bundled_modules/d3-quadtree/src/extent.js +0 -11
- package/dist/cjs/bundled_modules/d3-quadtree/src/find.js +0 -76
- package/dist/cjs/bundled_modules/d3-quadtree/src/quad.js +0 -13
- package/dist/cjs/bundled_modules/d3-quadtree/src/quadtree.js +0 -79
- package/dist/cjs/bundled_modules/d3-quadtree/src/remove.js +0 -69
- package/dist/cjs/bundled_modules/d3-quadtree/src/root.js +0 -9
- package/dist/cjs/bundled_modules/d3-quadtree/src/size.js +0 -13
- package/dist/cjs/bundled_modules/d3-quadtree/src/visit.js +0 -22
- package/dist/cjs/bundled_modules/d3-quadtree/src/visitAfter.js +0 -27
- package/dist/cjs/bundled_modules/d3-quadtree/src/x.js +0 -14
- package/dist/cjs/bundled_modules/d3-quadtree/src/y.js +0 -14
- package/dist/cjs/bundled_modules/d3-scale/src/constant.js +0 -11
- package/dist/cjs/bundled_modules/d3-scale/src/continuous.js +0 -136
- package/dist/cjs/bundled_modules/d3-scale/src/diverging.js +0 -116
- package/dist/cjs/bundled_modules/d3-scale/src/identity.js +0 -34
- package/dist/cjs/bundled_modules/d3-scale/src/init.js +0 -31
- package/dist/cjs/bundled_modules/d3-scale/src/linear.js +0 -77
- package/dist/cjs/bundled_modules/d3-scale/src/log.js +0 -148
- package/dist/cjs/bundled_modules/d3-scale/src/nice.js +0 -24
- package/dist/cjs/bundled_modules/d3-scale/src/number.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale/src/ordinal.js +0 -53
- package/dist/cjs/bundled_modules/d3-scale/src/pow.js +0 -58
- package/dist/cjs/bundled_modules/d3-scale/src/quantile.js +0 -65
- package/dist/cjs/bundled_modules/d3-scale/src/quantize.js +0 -62
- package/dist/cjs/bundled_modules/d3-scale/src/sequential.js +0 -119
- package/dist/cjs/bundled_modules/d3-scale/src/symlog.js +0 -42
- package/dist/cjs/bundled_modules/d3-scale/src/threshold.js +0 -45
- package/dist/cjs/bundled_modules/d3-scale/src/tickFormat.js +0 -39
- package/dist/cjs/bundled_modules/d3-scale/src/time.js +0 -85
- package/dist/cjs/bundled_modules/d3-scale/src/utcTime.js +0 -21
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Accent.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Dark2.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Paired.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Pastel1.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Pastel2.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set1.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set2.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set3.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/category10.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/observable10.js +0 -9
- package/dist/cjs/bundled_modules/d3-scale-chromatic/src/colors.js +0 -11
- package/dist/cjs/bundled_modules/d3-shape/src/arc.js +0 -274
- package/dist/cjs/bundled_modules/d3-shape/src/area.js +0 -118
- package/dist/cjs/bundled_modules/d3-shape/src/array.js +0 -11
- package/dist/cjs/bundled_modules/d3-shape/src/constant.js +0 -11
- package/dist/cjs/bundled_modules/d3-shape/src/curve/basis.js +0 -59
- package/dist/cjs/bundled_modules/d3-shape/src/curve/basisClosed.js +0 -58
- package/dist/cjs/bundled_modules/d3-shape/src/curve/basisOpen.js +0 -45
- package/dist/cjs/bundled_modules/d3-shape/src/curve/bundle.js +0 -62
- package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinal.js +0 -69
- package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinalClosed.js +0 -68
- package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinalOpen.js +0 -56
- package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRom.js +0 -95
- package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRomClosed.js +0 -80
- package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRomOpen.js +0 -68
- package/dist/cjs/bundled_modules/d3-shape/src/curve/linear.js +0 -37
- package/dist/cjs/bundled_modules/d3-shape/src/curve/linearClosed.js +0 -31
- package/dist/cjs/bundled_modules/d3-shape/src/curve/monotone.js +0 -109
- package/dist/cjs/bundled_modules/d3-shape/src/curve/natural.js +0 -71
- package/dist/cjs/bundled_modules/d3-shape/src/curve/step.js +0 -61
- package/dist/cjs/bundled_modules/d3-shape/src/line.js +0 -64
- package/dist/cjs/bundled_modules/d3-shape/src/math.js +0 -36
- package/dist/cjs/bundled_modules/d3-shape/src/noop.js +0 -7
- package/dist/cjs/bundled_modules/d3-shape/src/path.js +0 -23
- package/dist/cjs/bundled_modules/d3-shape/src/point.js +0 -12
- package/dist/cjs/bundled_modules/d3-shape/src/symbol/circle.js +0 -15
- package/dist/cjs/bundled_modules/d3-shape/src/symbol.js +0 -38
- package/dist/cjs/bundled_modules/d3-time/src/day.js +0 -41
- package/dist/cjs/bundled_modules/d3-time/src/duration.js +0 -17
- package/dist/cjs/bundled_modules/d3-time/src/hour.js +0 -31
- package/dist/cjs/bundled_modules/d3-time/src/interval.js +0 -73
- package/dist/cjs/bundled_modules/d3-time/src/millisecond.js +0 -29
- package/dist/cjs/bundled_modules/d3-time/src/minute.js +0 -31
- package/dist/cjs/bundled_modules/d3-time/src/month.js +0 -32
- package/dist/cjs/bundled_modules/d3-time/src/second.js +0 -18
- package/dist/cjs/bundled_modules/d3-time/src/ticks.js +0 -64
- package/dist/cjs/bundled_modules/d3-time/src/week.js +0 -73
- package/dist/cjs/bundled_modules/d3-time/src/year.js +0 -54
- package/dist/cjs/bundled_modules/d3-time-format/src/defaultLocale.js +0 -33
- package/dist/cjs/bundled_modules/d3-time-format/src/locale.js +0 -694
- package/dist/cjs/bundled_modules/d3-timer/src/interval.js +0 -23
- package/dist/cjs/bundled_modules/d3-timer/src/timer.js +0 -117
- package/dist/cjs/bundled_modules/delaunator/index.js +0 -485
- package/dist/cjs/bundled_modules/internmap/src/index.js +0 -66
- package/dist/cjs/bundled_modules/json-stringify-pretty-compact/index.js +0 -104
- package/dist/cjs/bundled_modules/robust-predicates/esm/orient2d.js +0 -184
- package/dist/cjs/bundled_modules/robust-predicates/esm/util.js +0 -95
- package/dist/cjs/bundled_modules/topojson-client/src/feature.js +0 -77
- package/dist/cjs/bundled_modules/topojson-client/src/identity.js +0 -9
- package/dist/cjs/bundled_modules/topojson-client/src/mesh.js +0 -60
- package/dist/cjs/bundled_modules/topojson-client/src/reverse.js +0 -10
- package/dist/cjs/bundled_modules/topojson-client/src/stitch.js +0 -79
- package/dist/cjs/bundled_modules/topojson-client/src/transform.js +0 -25
- package/dist/cjs/bundled_modules/vega/build/vega.module.js +0 -272
- package/dist/cjs/bundled_modules/vega-canvas/build/vega-canvas.browser.js +0 -18
- package/dist/cjs/bundled_modules/vega-crossfilter/build/vega-crossfilter.js +0 -676
- package/dist/cjs/bundled_modules/vega-dataflow/build/vega-dataflow.js +0 -2102
- package/dist/cjs/bundled_modules/vega-embed/build/embed.js +0 -2939
- package/dist/cjs/bundled_modules/vega-encode/build/vega-encode.js +0 -962
- package/dist/cjs/bundled_modules/vega-event-selector/build/vega-event-selector.js +0 -192
- package/dist/cjs/bundled_modules/vega-expression/build/vega-expression.js +0 -1615
- package/dist/cjs/bundled_modules/vega-force/build/vega-force.js +0 -295
- package/dist/cjs/bundled_modules/vega-format/build/vega-format.js +0 -201
- package/dist/cjs/bundled_modules/vega-functions/build/vega-functions.js +0 -842
- package/dist/cjs/bundled_modules/vega-geo/build/vega-geo.js +0 -1333
- package/dist/cjs/bundled_modules/vega-hierarchy/build/vega-hierarchy.js +0 -580
- package/dist/cjs/bundled_modules/vega-interpreter/build/vega-interpreter.js +0 -310
- package/dist/cjs/bundled_modules/vega-label/build/vega-label.js +0 -876
- package/dist/cjs/bundled_modules/vega-lite/build/index.js +0 -20157
- package/dist/cjs/bundled_modules/vega-loader/build/vega-loader.browser.js +0 -337
- package/dist/cjs/bundled_modules/vega-parser/build/vega-parser.js +0 -3805
- package/dist/cjs/bundled_modules/vega-projection/build/vega-projection.js +0 -90
- package/dist/cjs/bundled_modules/vega-regression/build/vega-regression.js +0 -236
- package/dist/cjs/bundled_modules/vega-runtime/build/vega-runtime.js +0 -588
- package/dist/cjs/bundled_modules/vega-scale/build/vega-scale.js +0 -846
- package/dist/cjs/bundled_modules/vega-scenegraph/build/vega-scenegraph.js +0 -5040
- package/dist/cjs/bundled_modules/vega-schema-url-parser/dist/parser.modern.js +0 -7
- package/dist/cjs/bundled_modules/vega-selections/build/vega-selection.js +0 -342
- package/dist/cjs/bundled_modules/vega-statistics/build/vega-statistics.js +0 -1193
- package/dist/cjs/bundled_modules/vega-themes/build/index.js +0 -853
- package/dist/cjs/bundled_modules/vega-time/build/vega-time.js +0 -342
- package/dist/cjs/bundled_modules/vega-tooltip/build/index.js +0 -353
- package/dist/cjs/bundled_modules/vega-transforms/build/vega-transforms.js +0 -3781
- package/dist/cjs/bundled_modules/vega-util/build/vega-util.js +0 -824
- package/dist/cjs/bundled_modules/vega-view/build/vega-view.js +0 -1306
- package/dist/cjs/bundled_modules/vega-view-transforms/build/vega-view-transforms.js +0 -1313
- package/dist/cjs/bundled_modules/vega-voronoi/build/vega-voronoi.js +0 -80
- package/dist/cjs/bundled_modules/vega-wordcloud/build/vega-wordcloud.js +0 -540
- package/dist/cjs/styles/entrypoint.scss.js +0 -7
- package/dist/cjs/unstable/Card/components.js +0 -213
- package/dist/cjs/unstable/Card/state.js +0 -53
- package/dist/cjs/unstable/StatCard/index.js +0 -124
- package/dist/cjs/unstable/StatCard/index.module.scss.js +0 -7
- package/dist/cjs/unstable/extras/chart/BarChart.js +0 -42
- package/dist/cjs/unstable/extras/chart/Chart.js +0 -100
- package/dist/cjs/unstable/extras/chart/DistributionChart.js +0 -84
- package/dist/cjs/unstable/extras/chart/DonutChart.js +0 -43
- package/dist/cjs/unstable/extras/chart/LineChart.js +0 -45
- package/dist/cjs/unstable/extras/chart/PieChart.js +0 -39
- package/dist/cjs/unstable/extras/chart/TimelineChart.js +0 -48
- package/dist/cjs/unstable/extras/chart/index.js +0 -23
- package/dist/cjs/unstable/skeleton/index.js +0 -74
- package/dist/cjs/unstable/skeleton/index.module.scss.js +0 -7
- package/dist/cjs/unstable/suspense/index.js +0 -18
- package/dist/cjs/unstable/suspense/index.module.scss.js +0 -7
- package/dist/cjs/unstable/suspense/loader.js +0 -23
- package/dist/esm/bundled_modules/d3-array/src/ascending.js +0 -5
- package/dist/esm/bundled_modules/d3-array/src/bisect.js +0 -10
- package/dist/esm/bundled_modules/d3-array/src/bisector.js +0 -58
- package/dist/esm/bundled_modules/d3-array/src/descending.js +0 -9
- package/dist/esm/bundled_modules/d3-array/src/deviation.js +0 -8
- package/dist/esm/bundled_modules/d3-array/src/fsum.js +0 -43
- package/dist/esm/bundled_modules/d3-array/src/intersection.js +0 -21
- package/dist/esm/bundled_modules/d3-array/src/max.js +0 -22
- package/dist/esm/bundled_modules/d3-array/src/mean.js +0 -21
- package/dist/esm/bundled_modules/d3-array/src/median.js +0 -7
- package/dist/esm/bundled_modules/d3-array/src/merge.js +0 -11
- package/dist/esm/bundled_modules/d3-array/src/min.js +0 -22
- package/dist/esm/bundled_modules/d3-array/src/number.js +0 -22
- package/dist/esm/bundled_modules/d3-array/src/permute.js +0 -5
- package/dist/esm/bundled_modules/d3-array/src/quantile.js +0 -31
- package/dist/esm/bundled_modules/d3-array/src/quickselect.js +0 -55
- package/dist/esm/bundled_modules/d3-array/src/range.js +0 -15
- package/dist/esm/bundled_modules/d3-array/src/sort.js +0 -17
- package/dist/esm/bundled_modules/d3-array/src/sum.js +0 -13
- package/dist/esm/bundled_modules/d3-array/src/ticks.js +0 -57
- package/dist/esm/bundled_modules/d3-array/src/union.js +0 -13
- package/dist/esm/bundled_modules/d3-array/src/variance.js +0 -27
- package/dist/esm/bundled_modules/d3-color/src/color.js +0 -398
- package/dist/esm/bundled_modules/d3-color/src/cubehelix.js +0 -63
- package/dist/esm/bundled_modules/d3-color/src/define.js +0 -12
- package/dist/esm/bundled_modules/d3-color/src/lab.js +0 -117
- package/dist/esm/bundled_modules/d3-color/src/math.js +0 -4
- package/dist/esm/bundled_modules/d3-delaunay/src/delaunay.js +0 -250
- package/dist/esm/bundled_modules/d3-delaunay/src/path.js +0 -39
- package/dist/esm/bundled_modules/d3-delaunay/src/polygon.js +0 -19
- package/dist/esm/bundled_modules/d3-delaunay/src/voronoi.js +0 -334
- package/dist/esm/bundled_modules/d3-dispatch/src/dispatch.js +0 -84
- package/dist/esm/bundled_modules/d3-dsv/src/dsv.js +0 -166
- package/dist/esm/bundled_modules/d3-force/src/center.js +0 -42
- package/dist/esm/bundled_modules/d3-force/src/collide.js +0 -102
- package/dist/esm/bundled_modules/d3-force/src/constant.js +0 -7
- package/dist/esm/bundled_modules/d3-force/src/jiggle.js +0 -5
- package/dist/esm/bundled_modules/d3-force/src/lcg.js +0 -11
- package/dist/esm/bundled_modules/d3-force/src/link.js +0 -119
- package/dist/esm/bundled_modules/d3-force/src/manyBody.js +0 -118
- package/dist/esm/bundled_modules/d3-force/src/simulation.js +0 -158
- package/dist/esm/bundled_modules/d3-force/src/x.js +0 -43
- package/dist/esm/bundled_modules/d3-force/src/y.js +0 -43
- package/dist/esm/bundled_modules/d3-format/src/defaultLocale.js +0 -20
- package/dist/esm/bundled_modules/d3-format/src/exponent.js +0 -7
- package/dist/esm/bundled_modules/d3-format/src/formatDecimal.js +0 -22
- package/dist/esm/bundled_modules/d3-format/src/formatGroup.js +0 -20
- package/dist/esm/bundled_modules/d3-format/src/formatNumerals.js +0 -9
- package/dist/esm/bundled_modules/d3-format/src/formatPrefixAuto.js +0 -18
- package/dist/esm/bundled_modules/d3-format/src/formatRounded.js +0 -13
- package/dist/esm/bundled_modules/d3-format/src/formatSpecifier.js +0 -49
- package/dist/esm/bundled_modules/d3-format/src/formatTrim.js +0 -13
- package/dist/esm/bundled_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/esm/bundled_modules/d3-format/src/identity.js +0 -5
- package/dist/esm/bundled_modules/d3-format/src/locale.js +0 -150
- package/dist/esm/bundled_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/esm/bundled_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/esm/bundled_modules/d3-format/src/precisionRound.js +0 -8
- package/dist/esm/bundled_modules/d3-geo/src/area.js +0 -78
- package/dist/esm/bundled_modules/d3-geo/src/bounds.js +0 -181
- package/dist/esm/bundled_modules/d3-geo/src/cartesian.js +0 -35
- package/dist/esm/bundled_modules/d3-geo/src/centroid.js +0 -145
- package/dist/esm/bundled_modules/d3-geo/src/circle.js +0 -33
- package/dist/esm/bundled_modules/d3-geo/src/clip/antimeridian.js +0 -94
- package/dist/esm/bundled_modules/d3-geo/src/clip/buffer.js +0 -26
- package/dist/esm/bundled_modules/d3-geo/src/clip/circle.js +0 -179
- package/dist/esm/bundled_modules/d3-geo/src/clip/index.js +0 -133
- package/dist/esm/bundled_modules/d3-geo/src/clip/line.js +0 -61
- package/dist/esm/bundled_modules/d3-geo/src/clip/rectangle.js +0 -170
- package/dist/esm/bundled_modules/d3-geo/src/clip/rejoin.js +0 -105
- package/dist/esm/bundled_modules/d3-geo/src/compose.js +0 -14
- package/dist/esm/bundled_modules/d3-geo/src/graticule.js +0 -103
- package/dist/esm/bundled_modules/d3-geo/src/identity.js +0 -3
- package/dist/esm/bundled_modules/d3-geo/src/math.js +0 -33
- package/dist/esm/bundled_modules/d3-geo/src/noop.js +0 -3
- package/dist/esm/bundled_modules/d3-geo/src/path/area.js +0 -50
- package/dist/esm/bundled_modules/d3-geo/src/path/bounds.js +0 -28
- package/dist/esm/bundled_modules/d3-geo/src/path/centroid.js +0 -100
- package/dist/esm/bundled_modules/d3-geo/src/path/context.js +0 -47
- package/dist/esm/bundled_modules/d3-geo/src/path/index.js +0 -78
- package/dist/esm/bundled_modules/d3-geo/src/path/measure.js +0 -45
- package/dist/esm/bundled_modules/d3-geo/src/path/string.js +0 -88
- package/dist/esm/bundled_modules/d3-geo/src/pointEqual.js +0 -7
- package/dist/esm/bundled_modules/d3-geo/src/polygonContains.js +0 -76
- package/dist/esm/bundled_modules/d3-geo/src/projection/albers.js +0 -12
- package/dist/esm/bundled_modules/d3-geo/src/projection/albersUsa.js +0 -113
- package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthal.js +0 -29
- package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthalEqualArea.js +0 -19
- package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthalEquidistant.js +0 -19
- package/dist/esm/bundled_modules/d3-geo/src/projection/conic.js +0 -17
- package/dist/esm/bundled_modules/d3-geo/src/projection/conicConformal.js +0 -40
- package/dist/esm/bundled_modules/d3-geo/src/projection/conicEqualArea.js +0 -35
- package/dist/esm/bundled_modules/d3-geo/src/projection/conicEquidistant.js +0 -34
- package/dist/esm/bundled_modules/d3-geo/src/projection/cylindricalEqualArea.js +0 -17
- package/dist/esm/bundled_modules/d3-geo/src/projection/equalEarth.js +0 -38
- package/dist/esm/bundled_modules/d3-geo/src/projection/equirectangular.js +0 -14
- package/dist/esm/bundled_modules/d3-geo/src/projection/fit.js +0 -49
- package/dist/esm/bundled_modules/d3-geo/src/projection/gnomonic.js +0 -18
- package/dist/esm/bundled_modules/d3-geo/src/projection/identity.js +0 -87
- package/dist/esm/bundled_modules/d3-geo/src/projection/index.js +0 -179
- package/dist/esm/bundled_modules/d3-geo/src/projection/mercator.js +0 -54
- package/dist/esm/bundled_modules/d3-geo/src/projection/naturalEarth1.js +0 -30
- package/dist/esm/bundled_modules/d3-geo/src/projection/orthographic.js +0 -17
- package/dist/esm/bundled_modules/d3-geo/src/projection/resample.js +0 -104
- package/dist/esm/bundled_modules/d3-geo/src/projection/stereographic.js +0 -20
- package/dist/esm/bundled_modules/d3-geo/src/projection/transverseMercator.js +0 -29
- package/dist/esm/bundled_modules/d3-geo/src/rotation.js +0 -81
- package/dist/esm/bundled_modules/d3-geo/src/stream.js +0 -71
- package/dist/esm/bundled_modules/d3-geo/src/transform.js +0 -22
- package/dist/esm/bundled_modules/d3-geo-projection/src/math.js +0 -18
- package/dist/esm/bundled_modules/d3-geo-projection/src/mollweide.js +0 -31
- package/dist/esm/bundled_modules/d3-hierarchy/src/accessors.js +0 -10
- package/dist/esm/bundled_modules/d3-hierarchy/src/array.js +0 -22
- package/dist/esm/bundled_modules/d3-hierarchy/src/cluster.js +0 -86
- package/dist/esm/bundled_modules/d3-hierarchy/src/constant.js +0 -11
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/ancestors.js +0 -9
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/count.js +0 -14
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/descendants.js +0 -5
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/each.js +0 -9
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/eachAfter.js +0 -17
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/eachBefore.js +0 -14
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/find.js +0 -10
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/index.js +0 -93
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/iterator.js +0 -16
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/leaves.js +0 -11
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/links.js +0 -11
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/path.js +0 -32
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/sort.js +0 -9
- package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/sum.js +0 -11
- package/dist/esm/bundled_modules/d3-hierarchy/src/lcg.js +0 -11
- package/dist/esm/bundled_modules/d3-hierarchy/src/pack/enclose.js +0 -120
- package/dist/esm/bundled_modules/d3-hierarchy/src/pack/index.js +0 -83
- package/dist/esm/bundled_modules/d3-hierarchy/src/pack/siblings.js +0 -116
- package/dist/esm/bundled_modules/d3-hierarchy/src/partition.js +0 -54
- package/dist/esm/bundled_modules/d3-hierarchy/src/stratify.js +0 -147
- package/dist/esm/bundled_modules/d3-hierarchy/src/tree.js +0 -239
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/binary.js +0 -48
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/dice.js +0 -14
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/index.js +0 -96
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/resquarify.js +0 -38
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/round.js +0 -8
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/slice.js +0 -14
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/sliceDice.js +0 -8
- package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/squarify.js +0 -68
- package/dist/esm/bundled_modules/d3-interpolate/src/array.js +0 -24
- package/dist/esm/bundled_modules/d3-interpolate/src/basis.js +0 -21
- package/dist/esm/bundled_modules/d3-interpolate/src/basisClosed.js +0 -15
- package/dist/esm/bundled_modules/d3-interpolate/src/color.js +0 -31
- package/dist/esm/bundled_modules/d3-interpolate/src/constant.js +0 -3
- package/dist/esm/bundled_modules/d3-interpolate/src/cubehelix.js +0 -31
- package/dist/esm/bundled_modules/d3-interpolate/src/date.js +0 -8
- package/dist/esm/bundled_modules/d3-interpolate/src/discrete.js +0 -8
- package/dist/esm/bundled_modules/d3-interpolate/src/hcl.js +0 -23
- package/dist/esm/bundled_modules/d3-interpolate/src/hsl.js +0 -23
- package/dist/esm/bundled_modules/d3-interpolate/src/hue.js +0 -11
- package/dist/esm/bundled_modules/d3-interpolate/src/index.js +0 -21
- package/dist/esm/bundled_modules/d3-interpolate/src/lab.js +0 -18
- package/dist/esm/bundled_modules/d3-interpolate/src/number.js +0 -7
- package/dist/esm/bundled_modules/d3-interpolate/src/numberArray.js +0 -16
- package/dist/esm/bundled_modules/d3-interpolate/src/object.js +0 -25
- package/dist/esm/bundled_modules/d3-interpolate/src/piecewise.js +0 -13
- package/dist/esm/bundled_modules/d3-interpolate/src/quantize.js +0 -7
- package/dist/esm/bundled_modules/d3-interpolate/src/rgb.js +0 -57
- package/dist/esm/bundled_modules/d3-interpolate/src/round.js +0 -7
- package/dist/esm/bundled_modules/d3-interpolate/src/string.js +0 -66
- package/dist/esm/bundled_modules/d3-interpolate/src/transform/decompose.js +0 -28
- package/dist/esm/bundled_modules/d3-interpolate/src/transform/index.js +0 -65
- package/dist/esm/bundled_modules/d3-interpolate/src/transform/parse.js +0 -20
- package/dist/esm/bundled_modules/d3-interpolate/src/value.js +0 -24
- package/dist/esm/bundled_modules/d3-interpolate/src/zoom.js +0 -73
- package/dist/esm/bundled_modules/d3-path/src/path.js +0 -154
- package/dist/esm/bundled_modules/d3-quadtree/src/add.js +0 -86
- package/dist/esm/bundled_modules/d3-quadtree/src/cover.js +0 -45
- package/dist/esm/bundled_modules/d3-quadtree/src/data.js +0 -9
- package/dist/esm/bundled_modules/d3-quadtree/src/extent.js +0 -7
- package/dist/esm/bundled_modules/d3-quadtree/src/find.js +0 -72
- package/dist/esm/bundled_modules/d3-quadtree/src/quad.js +0 -9
- package/dist/esm/bundled_modules/d3-quadtree/src/quadtree.js +0 -75
- package/dist/esm/bundled_modules/d3-quadtree/src/remove.js +0 -64
- package/dist/esm/bundled_modules/d3-quadtree/src/root.js +0 -5
- package/dist/esm/bundled_modules/d3-quadtree/src/size.js +0 -9
- package/dist/esm/bundled_modules/d3-quadtree/src/visit.js +0 -18
- package/dist/esm/bundled_modules/d3-quadtree/src/visitAfter.js +0 -23
- package/dist/esm/bundled_modules/d3-quadtree/src/x.js +0 -9
- package/dist/esm/bundled_modules/d3-quadtree/src/y.js +0 -9
- package/dist/esm/bundled_modules/d3-scale/src/constant.js +0 -7
- package/dist/esm/bundled_modules/d3-scale/src/continuous.js +0 -129
- package/dist/esm/bundled_modules/d3-scale/src/diverging.js +0 -108
- package/dist/esm/bundled_modules/d3-scale/src/identity.js +0 -30
- package/dist/esm/bundled_modules/d3-scale/src/init.js +0 -28
- package/dist/esm/bundled_modules/d3-scale/src/linear.js +0 -72
- package/dist/esm/bundled_modules/d3-scale/src/log.js +0 -143
- package/dist/esm/bundled_modules/d3-scale/src/nice.js +0 -20
- package/dist/esm/bundled_modules/d3-scale/src/number.js +0 -5
- package/dist/esm/bundled_modules/d3-scale/src/ordinal.js +0 -48
- package/dist/esm/bundled_modules/d3-scale/src/pow.js +0 -52
- package/dist/esm/bundled_modules/d3-scale/src/quantile.js +0 -61
- package/dist/esm/bundled_modules/d3-scale/src/quantize.js +0 -58
- package/dist/esm/bundled_modules/d3-scale/src/sequential.js +0 -110
- package/dist/esm/bundled_modules/d3-scale/src/symlog.js +0 -37
- package/dist/esm/bundled_modules/d3-scale/src/threshold.js +0 -41
- package/dist/esm/bundled_modules/d3-scale/src/tickFormat.js +0 -35
- package/dist/esm/bundled_modules/d3-scale/src/time.js +0 -80
- package/dist/esm/bundled_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Accent.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Dark2.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Paired.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Pastel1.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Pastel2.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set1.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set2.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set3.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/category10.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/observable10.js +0 -5
- package/dist/esm/bundled_modules/d3-scale-chromatic/src/colors.js +0 -7
- package/dist/esm/bundled_modules/d3-shape/src/arc.js +0 -270
- package/dist/esm/bundled_modules/d3-shape/src/area.js +0 -114
- package/dist/esm/bundled_modules/d3-shape/src/array.js +0 -7
- package/dist/esm/bundled_modules/d3-shape/src/constant.js +0 -7
- package/dist/esm/bundled_modules/d3-shape/src/curve/basis.js +0 -53
- package/dist/esm/bundled_modules/d3-shape/src/curve/basisClosed.js +0 -54
- package/dist/esm/bundled_modules/d3-shape/src/curve/basisOpen.js +0 -41
- package/dist/esm/bundled_modules/d3-shape/src/curve/bundle.js +0 -58
- package/dist/esm/bundled_modules/d3-shape/src/curve/cardinal.js +0 -63
- package/dist/esm/bundled_modules/d3-shape/src/curve/cardinalClosed.js +0 -63
- package/dist/esm/bundled_modules/d3-shape/src/curve/cardinalOpen.js +0 -51
- package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRom.js +0 -90
- package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRomClosed.js +0 -76
- package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRomOpen.js +0 -64
- package/dist/esm/bundled_modules/d3-shape/src/curve/linear.js +0 -33
- package/dist/esm/bundled_modules/d3-shape/src/curve/linearClosed.js +0 -27
- package/dist/esm/bundled_modules/d3-shape/src/curve/monotone.js +0 -106
- package/dist/esm/bundled_modules/d3-shape/src/curve/natural.js +0 -67
- package/dist/esm/bundled_modules/d3-shape/src/curve/step.js +0 -55
- package/dist/esm/bundled_modules/d3-shape/src/line.js +0 -60
- package/dist/esm/bundled_modules/d3-shape/src/math.js +0 -22
- package/dist/esm/bundled_modules/d3-shape/src/noop.js +0 -3
- package/dist/esm/bundled_modules/d3-shape/src/path.js +0 -21
- package/dist/esm/bundled_modules/d3-shape/src/point.js +0 -9
- package/dist/esm/bundled_modules/d3-shape/src/symbol/circle.js +0 -11
- package/dist/esm/bundled_modules/d3-shape/src/symbol.js +0 -34
- package/dist/esm/bundled_modules/d3-time/src/day.js +0 -37
- package/dist/esm/bundled_modules/d3-time/src/duration.js +0 -9
- package/dist/esm/bundled_modules/d3-time/src/hour.js +0 -28
- package/dist/esm/bundled_modules/d3-time/src/interval.js +0 -71
- package/dist/esm/bundled_modules/d3-time/src/millisecond.js +0 -27
- package/dist/esm/bundled_modules/d3-time/src/minute.js +0 -28
- package/dist/esm/bundled_modules/d3-time/src/month.js +0 -29
- package/dist/esm/bundled_modules/d3-time/src/second.js +0 -16
- package/dist/esm/bundled_modules/d3-time/src/ticks.js +0 -59
- package/dist/esm/bundled_modules/d3-time/src/week.js +0 -58
- package/dist/esm/bundled_modules/d3-time/src/year.js +0 -51
- package/dist/esm/bundled_modules/d3-time-format/src/defaultLocale.js +0 -29
- package/dist/esm/bundled_modules/d3-time-format/src/locale.js +0 -690
- package/dist/esm/bundled_modules/d3-timer/src/interval.js +0 -19
- package/dist/esm/bundled_modules/d3-timer/src/timer.js +0 -112
- package/dist/esm/bundled_modules/delaunator/index.js +0 -481
- package/dist/esm/bundled_modules/internmap/src/index.js +0 -63
- package/dist/esm/bundled_modules/json-stringify-pretty-compact/index.js +0 -100
- package/dist/esm/bundled_modules/robust-predicates/esm/orient2d.js +0 -182
- package/dist/esm/bundled_modules/robust-predicates/esm/util.js +0 -88
- package/dist/esm/bundled_modules/topojson-client/src/feature.js +0 -72
- package/dist/esm/bundled_modules/topojson-client/src/identity.js +0 -5
- package/dist/esm/bundled_modules/topojson-client/src/mesh.js +0 -55
- package/dist/esm/bundled_modules/topojson-client/src/reverse.js +0 -6
- package/dist/esm/bundled_modules/topojson-client/src/stitch.js +0 -75
- package/dist/esm/bundled_modules/topojson-client/src/transform.js +0 -21
- package/dist/esm/bundled_modules/vega/build/vega.module.js +0 -38
- package/dist/esm/bundled_modules/vega-canvas/build/vega-canvas.browser.js +0 -14
- package/dist/esm/bundled_modules/vega-crossfilter/build/vega-crossfilter.js +0 -673
- package/dist/esm/bundled_modules/vega-dataflow/build/vega-dataflow.js +0 -2080
- package/dist/esm/bundled_modules/vega-embed/build/embed.js +0 -2932
- package/dist/esm/bundled_modules/vega-encode/build/vega-encode.js +0 -952
- package/dist/esm/bundled_modules/vega-event-selector/build/vega-event-selector.js +0 -190
- package/dist/esm/bundled_modules/vega-expression/build/vega-expression.js +0 -1597
- package/dist/esm/bundled_modules/vega-force/build/vega-force.js +0 -293
- package/dist/esm/bundled_modules/vega-format/build/vega-format.js +0 -191
- package/dist/esm/bundled_modules/vega-functions/build/vega-functions.js +0 -779
- package/dist/esm/bundled_modules/vega-geo/build/vega-geo.js +0 -1322
- package/dist/esm/bundled_modules/vega-hierarchy/build/vega-hierarchy.js +0 -572
- package/dist/esm/bundled_modules/vega-interpreter/build/vega-interpreter.js +0 -308
- package/dist/esm/bundled_modules/vega-label/build/vega-label.js +0 -874
- package/dist/esm/bundled_modules/vega-lite/build/index.js +0 -20110
- package/dist/esm/bundled_modules/vega-loader/build/vega-loader.browser.js +0 -328
- package/dist/esm/bundled_modules/vega-parser/build/vega-parser.js +0 -3783
- package/dist/esm/bundled_modules/vega-projection/build/vega-projection.js +0 -86
- package/dist/esm/bundled_modules/vega-regression/build/vega-regression.js +0 -233
- package/dist/esm/bundled_modules/vega-runtime/build/vega-runtime.js +0 -586
- package/dist/esm/bundled_modules/vega-scale/build/vega-scale.js +0 -799
- package/dist/esm/bundled_modules/vega-scenegraph/build/vega-scenegraph.js +0 -4982
- package/dist/esm/bundled_modules/vega-schema-url-parser/dist/parser.modern.js +0 -3
- package/dist/esm/bundled_modules/vega-selections/build/vega-selection.js +0 -336
- package/dist/esm/bundled_modules/vega-statistics/build/vega-statistics.js +0 -1157
- package/dist/esm/bundled_modules/vega-themes/build/index.js +0 -837
- package/dist/esm/bundled_modules/vega-time/build/vega-time.js +0 -314
- package/dist/esm/bundled_modules/vega-tooltip/build/index.js +0 -339
- package/dist/esm/bundled_modules/vega-transforms/build/vega-transforms.js +0 -3740
- package/dist/esm/bundled_modules/vega-util/build/vega-util.js +0 -753
- package/dist/esm/bundled_modules/vega-view/build/vega-view.js +0 -1304
- package/dist/esm/bundled_modules/vega-view-transforms/build/vega-view-transforms.js +0 -1306
- package/dist/esm/bundled_modules/vega-voronoi/build/vega-voronoi.js +0 -78
- package/dist/esm/bundled_modules/vega-wordcloud/build/vega-wordcloud.js +0 -538
- package/dist/esm/styles/entrypoint.scss.js +0 -3
- package/dist/esm/unstable/Card/components.js +0 -182
- package/dist/esm/unstable/Card/state.js +0 -30
- package/dist/esm/unstable/StatCard/index.js +0 -116
- package/dist/esm/unstable/StatCard/index.module.scss.js +0 -3
- package/dist/esm/unstable/extras/chart/BarChart.js +0 -40
- package/dist/esm/unstable/extras/chart/Chart.js +0 -96
- package/dist/esm/unstable/extras/chart/DistributionChart.js +0 -82
- package/dist/esm/unstable/extras/chart/DonutChart.js +0 -41
- package/dist/esm/unstable/extras/chart/LineChart.js +0 -43
- package/dist/esm/unstable/extras/chart/PieChart.js +0 -37
- package/dist/esm/unstable/extras/chart/TimelineChart.js +0 -46
- package/dist/esm/unstable/extras/chart/index.js +0 -8
- package/dist/esm/unstable/skeleton/index.js +0 -69
- package/dist/esm/unstable/skeleton/index.module.scss.js +0 -3
- package/dist/esm/unstable/suspense/index.js +0 -15
- package/dist/esm/unstable/suspense/index.module.scss.js +0 -3
- package/dist/esm/unstable/suspense/loader.js +0 -20
- package/dist/types/unstable/Card/components.d.ts +0 -90
- package/dist/types/unstable/Card/state.d.ts +0 -20
- package/dist/types/unstable/StatCard/index.d.ts +0 -33
- package/dist/types/unstable/extras/chart/BarChart.d.ts +0 -16
- package/dist/types/unstable/extras/chart/Chart.d.ts +0 -33
- package/dist/types/unstable/extras/chart/DistributionChart.d.ts +0 -18
- package/dist/types/unstable/extras/chart/DonutChart.d.ts +0 -16
- package/dist/types/unstable/extras/chart/LineChart.d.ts +0 -16
- package/dist/types/unstable/extras/chart/PieChart.d.ts +0 -14
- package/dist/types/unstable/extras/chart/TimelineChart.d.ts +0 -15
- package/dist/types/unstable/skeleton/index.d.ts +0 -15
- package/dist/types/unstable/suspense/index.d.ts +0 -9
- package/dist/types/unstable/suspense/loader.d.ts +0 -7
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Basis } from './basis.js';
|
|
2
|
-
|
|
3
|
-
function Bundle(context, beta) {
|
|
4
|
-
this._basis = new Basis(context);
|
|
5
|
-
this._beta = beta;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
Bundle.prototype = {
|
|
9
|
-
lineStart: function() {
|
|
10
|
-
this._x = [];
|
|
11
|
-
this._y = [];
|
|
12
|
-
this._basis.lineStart();
|
|
13
|
-
},
|
|
14
|
-
lineEnd: function() {
|
|
15
|
-
var x = this._x,
|
|
16
|
-
y = this._y,
|
|
17
|
-
j = x.length - 1;
|
|
18
|
-
|
|
19
|
-
if (j > 0) {
|
|
20
|
-
var x0 = x[0],
|
|
21
|
-
y0 = y[0],
|
|
22
|
-
dx = x[j] - x0,
|
|
23
|
-
dy = y[j] - y0,
|
|
24
|
-
i = -1,
|
|
25
|
-
t;
|
|
26
|
-
|
|
27
|
-
while (++i <= j) {
|
|
28
|
-
t = i / j;
|
|
29
|
-
this._basis.point(
|
|
30
|
-
this._beta * x[i] + (1 - this._beta) * (x0 + t * dx),
|
|
31
|
-
this._beta * y[i] + (1 - this._beta) * (y0 + t * dy)
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
this._x = this._y = null;
|
|
37
|
-
this._basis.lineEnd();
|
|
38
|
-
},
|
|
39
|
-
point: function(x, y) {
|
|
40
|
-
this._x.push(+x);
|
|
41
|
-
this._y.push(+y);
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
var curveBundle = (function custom(beta) {
|
|
46
|
-
|
|
47
|
-
function bundle(context) {
|
|
48
|
-
return beta === 1 ? new Basis(context) : new Bundle(context, beta);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
bundle.beta = function(beta) {
|
|
52
|
-
return custom(+beta);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
return bundle;
|
|
56
|
-
})(0.85);
|
|
57
|
-
|
|
58
|
-
export { curveBundle as default };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
function point(that, x, y) {
|
|
2
|
-
that._context.bezierCurveTo(
|
|
3
|
-
that._x1 + that._k * (that._x2 - that._x0),
|
|
4
|
-
that._y1 + that._k * (that._y2 - that._y0),
|
|
5
|
-
that._x2 + that._k * (that._x1 - x),
|
|
6
|
-
that._y2 + that._k * (that._y1 - y),
|
|
7
|
-
that._x2,
|
|
8
|
-
that._y2
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
function Cardinal(context, tension) {
|
|
13
|
-
this._context = context;
|
|
14
|
-
this._k = (1 - tension) / 6;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
Cardinal.prototype = {
|
|
18
|
-
areaStart: function() {
|
|
19
|
-
this._line = 0;
|
|
20
|
-
},
|
|
21
|
-
areaEnd: function() {
|
|
22
|
-
this._line = NaN;
|
|
23
|
-
},
|
|
24
|
-
lineStart: function() {
|
|
25
|
-
this._x0 = this._x1 = this._x2 =
|
|
26
|
-
this._y0 = this._y1 = this._y2 = NaN;
|
|
27
|
-
this._point = 0;
|
|
28
|
-
},
|
|
29
|
-
lineEnd: function() {
|
|
30
|
-
switch (this._point) {
|
|
31
|
-
case 2: this._context.lineTo(this._x2, this._y2); break;
|
|
32
|
-
case 3: point(this, this._x1, this._y1); break;
|
|
33
|
-
}
|
|
34
|
-
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
|
|
35
|
-
this._line = 1 - this._line;
|
|
36
|
-
},
|
|
37
|
-
point: function(x, y) {
|
|
38
|
-
x = +x, y = +y;
|
|
39
|
-
switch (this._point) {
|
|
40
|
-
case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
|
|
41
|
-
case 1: this._point = 2; this._x1 = x, this._y1 = y; break;
|
|
42
|
-
case 2: this._point = 3; // falls through
|
|
43
|
-
default: point(this, x, y); break;
|
|
44
|
-
}
|
|
45
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
46
|
-
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
var curveCardinal = (function custom(tension) {
|
|
51
|
-
|
|
52
|
-
function cardinal(context) {
|
|
53
|
-
return new Cardinal(context, tension);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
cardinal.tension = function(tension) {
|
|
57
|
-
return custom(+tension);
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
return cardinal;
|
|
61
|
-
})(0);
|
|
62
|
-
|
|
63
|
-
export { Cardinal, curveCardinal as default, point };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import noop from '../noop.js';
|
|
2
|
-
import { point } from './cardinal.js';
|
|
3
|
-
|
|
4
|
-
function CardinalClosed(context, tension) {
|
|
5
|
-
this._context = context;
|
|
6
|
-
this._k = (1 - tension) / 6;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
CardinalClosed.prototype = {
|
|
10
|
-
areaStart: noop,
|
|
11
|
-
areaEnd: noop,
|
|
12
|
-
lineStart: function() {
|
|
13
|
-
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =
|
|
14
|
-
this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
|
|
15
|
-
this._point = 0;
|
|
16
|
-
},
|
|
17
|
-
lineEnd: function() {
|
|
18
|
-
switch (this._point) {
|
|
19
|
-
case 1: {
|
|
20
|
-
this._context.moveTo(this._x3, this._y3);
|
|
21
|
-
this._context.closePath();
|
|
22
|
-
break;
|
|
23
|
-
}
|
|
24
|
-
case 2: {
|
|
25
|
-
this._context.lineTo(this._x3, this._y3);
|
|
26
|
-
this._context.closePath();
|
|
27
|
-
break;
|
|
28
|
-
}
|
|
29
|
-
case 3: {
|
|
30
|
-
this.point(this._x3, this._y3);
|
|
31
|
-
this.point(this._x4, this._y4);
|
|
32
|
-
this.point(this._x5, this._y5);
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
point: function(x, y) {
|
|
38
|
-
x = +x, y = +y;
|
|
39
|
-
switch (this._point) {
|
|
40
|
-
case 0: this._point = 1; this._x3 = x, this._y3 = y; break;
|
|
41
|
-
case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;
|
|
42
|
-
case 2: this._point = 3; this._x5 = x, this._y5 = y; break;
|
|
43
|
-
default: point(this, x, y); break;
|
|
44
|
-
}
|
|
45
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
46
|
-
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
var curveCardinalClosed = (function custom(tension) {
|
|
51
|
-
|
|
52
|
-
function cardinal(context) {
|
|
53
|
-
return new CardinalClosed(context, tension);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
cardinal.tension = function(tension) {
|
|
57
|
-
return custom(+tension);
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
return cardinal;
|
|
61
|
-
})(0);
|
|
62
|
-
|
|
63
|
-
export { CardinalClosed, curveCardinalClosed as default };
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { point } from './cardinal.js';
|
|
2
|
-
|
|
3
|
-
function CardinalOpen(context, tension) {
|
|
4
|
-
this._context = context;
|
|
5
|
-
this._k = (1 - tension) / 6;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
CardinalOpen.prototype = {
|
|
9
|
-
areaStart: function() {
|
|
10
|
-
this._line = 0;
|
|
11
|
-
},
|
|
12
|
-
areaEnd: function() {
|
|
13
|
-
this._line = NaN;
|
|
14
|
-
},
|
|
15
|
-
lineStart: function() {
|
|
16
|
-
this._x0 = this._x1 = this._x2 =
|
|
17
|
-
this._y0 = this._y1 = this._y2 = NaN;
|
|
18
|
-
this._point = 0;
|
|
19
|
-
},
|
|
20
|
-
lineEnd: function() {
|
|
21
|
-
if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();
|
|
22
|
-
this._line = 1 - this._line;
|
|
23
|
-
},
|
|
24
|
-
point: function(x, y) {
|
|
25
|
-
x = +x, y = +y;
|
|
26
|
-
switch (this._point) {
|
|
27
|
-
case 0: this._point = 1; break;
|
|
28
|
-
case 1: this._point = 2; break;
|
|
29
|
-
case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;
|
|
30
|
-
case 3: this._point = 4; // falls through
|
|
31
|
-
default: point(this, x, y); break;
|
|
32
|
-
}
|
|
33
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
34
|
-
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
var curveCardinalOpen = (function custom(tension) {
|
|
39
|
-
|
|
40
|
-
function cardinal(context) {
|
|
41
|
-
return new CardinalOpen(context, tension);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
cardinal.tension = function(tension) {
|
|
45
|
-
return custom(+tension);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
return cardinal;
|
|
49
|
-
})(0);
|
|
50
|
-
|
|
51
|
-
export { CardinalOpen, curveCardinalOpen as default };
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { epsilon } from '../math.js';
|
|
2
|
-
import { Cardinal } from './cardinal.js';
|
|
3
|
-
|
|
4
|
-
function point(that, x, y) {
|
|
5
|
-
var x1 = that._x1,
|
|
6
|
-
y1 = that._y1,
|
|
7
|
-
x2 = that._x2,
|
|
8
|
-
y2 = that._y2;
|
|
9
|
-
|
|
10
|
-
if (that._l01_a > epsilon) {
|
|
11
|
-
var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,
|
|
12
|
-
n = 3 * that._l01_a * (that._l01_a + that._l12_a);
|
|
13
|
-
x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;
|
|
14
|
-
y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
if (that._l23_a > epsilon) {
|
|
18
|
-
var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,
|
|
19
|
-
m = 3 * that._l23_a * (that._l23_a + that._l12_a);
|
|
20
|
-
x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;
|
|
21
|
-
y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function CatmullRom(context, alpha) {
|
|
28
|
-
this._context = context;
|
|
29
|
-
this._alpha = alpha;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
CatmullRom.prototype = {
|
|
33
|
-
areaStart: function() {
|
|
34
|
-
this._line = 0;
|
|
35
|
-
},
|
|
36
|
-
areaEnd: function() {
|
|
37
|
-
this._line = NaN;
|
|
38
|
-
},
|
|
39
|
-
lineStart: function() {
|
|
40
|
-
this._x0 = this._x1 = this._x2 =
|
|
41
|
-
this._y0 = this._y1 = this._y2 = NaN;
|
|
42
|
-
this._l01_a = this._l12_a = this._l23_a =
|
|
43
|
-
this._l01_2a = this._l12_2a = this._l23_2a =
|
|
44
|
-
this._point = 0;
|
|
45
|
-
},
|
|
46
|
-
lineEnd: function() {
|
|
47
|
-
switch (this._point) {
|
|
48
|
-
case 2: this._context.lineTo(this._x2, this._y2); break;
|
|
49
|
-
case 3: this.point(this._x2, this._y2); break;
|
|
50
|
-
}
|
|
51
|
-
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
|
|
52
|
-
this._line = 1 - this._line;
|
|
53
|
-
},
|
|
54
|
-
point: function(x, y) {
|
|
55
|
-
x = +x, y = +y;
|
|
56
|
-
|
|
57
|
-
if (this._point) {
|
|
58
|
-
var x23 = this._x2 - x,
|
|
59
|
-
y23 = this._y2 - y;
|
|
60
|
-
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
switch (this._point) {
|
|
64
|
-
case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
|
|
65
|
-
case 1: this._point = 2; break;
|
|
66
|
-
case 2: this._point = 3; // falls through
|
|
67
|
-
default: point(this, x, y); break;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a;
|
|
71
|
-
this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
|
|
72
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
73
|
-
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
var curveCatmullRom = (function custom(alpha) {
|
|
78
|
-
|
|
79
|
-
function catmullRom(context) {
|
|
80
|
-
return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
catmullRom.alpha = function(alpha) {
|
|
84
|
-
return custom(+alpha);
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
return catmullRom;
|
|
88
|
-
})(0.5);
|
|
89
|
-
|
|
90
|
-
export { curveCatmullRom as default, point };
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { CardinalClosed } from './cardinalClosed.js';
|
|
2
|
-
import noop from '../noop.js';
|
|
3
|
-
import { point } from './catmullRom.js';
|
|
4
|
-
|
|
5
|
-
function CatmullRomClosed(context, alpha) {
|
|
6
|
-
this._context = context;
|
|
7
|
-
this._alpha = alpha;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
CatmullRomClosed.prototype = {
|
|
11
|
-
areaStart: noop,
|
|
12
|
-
areaEnd: noop,
|
|
13
|
-
lineStart: function() {
|
|
14
|
-
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =
|
|
15
|
-
this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
|
|
16
|
-
this._l01_a = this._l12_a = this._l23_a =
|
|
17
|
-
this._l01_2a = this._l12_2a = this._l23_2a =
|
|
18
|
-
this._point = 0;
|
|
19
|
-
},
|
|
20
|
-
lineEnd: function() {
|
|
21
|
-
switch (this._point) {
|
|
22
|
-
case 1: {
|
|
23
|
-
this._context.moveTo(this._x3, this._y3);
|
|
24
|
-
this._context.closePath();
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
case 2: {
|
|
28
|
-
this._context.lineTo(this._x3, this._y3);
|
|
29
|
-
this._context.closePath();
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
case 3: {
|
|
33
|
-
this.point(this._x3, this._y3);
|
|
34
|
-
this.point(this._x4, this._y4);
|
|
35
|
-
this.point(this._x5, this._y5);
|
|
36
|
-
break;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
point: function(x, y) {
|
|
41
|
-
x = +x, y = +y;
|
|
42
|
-
|
|
43
|
-
if (this._point) {
|
|
44
|
-
var x23 = this._x2 - x,
|
|
45
|
-
y23 = this._y2 - y;
|
|
46
|
-
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
switch (this._point) {
|
|
50
|
-
case 0: this._point = 1; this._x3 = x, this._y3 = y; break;
|
|
51
|
-
case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;
|
|
52
|
-
case 2: this._point = 3; this._x5 = x, this._y5 = y; break;
|
|
53
|
-
default: point(this, x, y); break;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a;
|
|
57
|
-
this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
|
|
58
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
59
|
-
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
var curveCatmullRomClosed = (function custom(alpha) {
|
|
64
|
-
|
|
65
|
-
function catmullRom(context) {
|
|
66
|
-
return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
catmullRom.alpha = function(alpha) {
|
|
70
|
-
return custom(+alpha);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
return catmullRom;
|
|
74
|
-
})(0.5);
|
|
75
|
-
|
|
76
|
-
export { curveCatmullRomClosed as default };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { CardinalOpen } from './cardinalOpen.js';
|
|
2
|
-
import { point } from './catmullRom.js';
|
|
3
|
-
|
|
4
|
-
function CatmullRomOpen(context, alpha) {
|
|
5
|
-
this._context = context;
|
|
6
|
-
this._alpha = alpha;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
CatmullRomOpen.prototype = {
|
|
10
|
-
areaStart: function() {
|
|
11
|
-
this._line = 0;
|
|
12
|
-
},
|
|
13
|
-
areaEnd: function() {
|
|
14
|
-
this._line = NaN;
|
|
15
|
-
},
|
|
16
|
-
lineStart: function() {
|
|
17
|
-
this._x0 = this._x1 = this._x2 =
|
|
18
|
-
this._y0 = this._y1 = this._y2 = NaN;
|
|
19
|
-
this._l01_a = this._l12_a = this._l23_a =
|
|
20
|
-
this._l01_2a = this._l12_2a = this._l23_2a =
|
|
21
|
-
this._point = 0;
|
|
22
|
-
},
|
|
23
|
-
lineEnd: function() {
|
|
24
|
-
if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();
|
|
25
|
-
this._line = 1 - this._line;
|
|
26
|
-
},
|
|
27
|
-
point: function(x, y) {
|
|
28
|
-
x = +x, y = +y;
|
|
29
|
-
|
|
30
|
-
if (this._point) {
|
|
31
|
-
var x23 = this._x2 - x,
|
|
32
|
-
y23 = this._y2 - y;
|
|
33
|
-
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
switch (this._point) {
|
|
37
|
-
case 0: this._point = 1; break;
|
|
38
|
-
case 1: this._point = 2; break;
|
|
39
|
-
case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;
|
|
40
|
-
case 3: this._point = 4; // falls through
|
|
41
|
-
default: point(this, x, y); break;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a;
|
|
45
|
-
this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
|
|
46
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
47
|
-
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
var curveCatmullRomOpen = (function custom(alpha) {
|
|
52
|
-
|
|
53
|
-
function catmullRom(context) {
|
|
54
|
-
return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
catmullRom.alpha = function(alpha) {
|
|
58
|
-
return custom(+alpha);
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
return catmullRom;
|
|
62
|
-
})(0.5);
|
|
63
|
-
|
|
64
|
-
export { curveCatmullRomOpen as default };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
function Linear(context) {
|
|
2
|
-
this._context = context;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
Linear.prototype = {
|
|
6
|
-
areaStart: function() {
|
|
7
|
-
this._line = 0;
|
|
8
|
-
},
|
|
9
|
-
areaEnd: function() {
|
|
10
|
-
this._line = NaN;
|
|
11
|
-
},
|
|
12
|
-
lineStart: function() {
|
|
13
|
-
this._point = 0;
|
|
14
|
-
},
|
|
15
|
-
lineEnd: function() {
|
|
16
|
-
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
|
|
17
|
-
this._line = 1 - this._line;
|
|
18
|
-
},
|
|
19
|
-
point: function(x, y) {
|
|
20
|
-
x = +x, y = +y;
|
|
21
|
-
switch (this._point) {
|
|
22
|
-
case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
|
|
23
|
-
case 1: this._point = 2; // falls through
|
|
24
|
-
default: this._context.lineTo(x, y); break;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
function curveLinear(context) {
|
|
30
|
-
return new Linear(context);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { curveLinear as default };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import noop from '../noop.js';
|
|
2
|
-
|
|
3
|
-
function LinearClosed(context) {
|
|
4
|
-
this._context = context;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
LinearClosed.prototype = {
|
|
8
|
-
areaStart: noop,
|
|
9
|
-
areaEnd: noop,
|
|
10
|
-
lineStart: function() {
|
|
11
|
-
this._point = 0;
|
|
12
|
-
},
|
|
13
|
-
lineEnd: function() {
|
|
14
|
-
if (this._point) this._context.closePath();
|
|
15
|
-
},
|
|
16
|
-
point: function(x, y) {
|
|
17
|
-
x = +x, y = +y;
|
|
18
|
-
if (this._point) this._context.lineTo(x, y);
|
|
19
|
-
else this._point = 1, this._context.moveTo(x, y);
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
function curveLinearClosed(context) {
|
|
24
|
-
return new LinearClosed(context);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { curveLinearClosed as default };
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
function sign(x) {
|
|
2
|
-
return x < 0 ? -1 : 1;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
// Calculate the slopes of the tangents (Hermite-type interpolation) based on
|
|
6
|
-
// the following paper: Steffen, M. 1990. A Simple Method for Monotonic
|
|
7
|
-
// Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.
|
|
8
|
-
// NOV(II), P. 443, 1990.
|
|
9
|
-
function slope3(that, x2, y2) {
|
|
10
|
-
var h0 = that._x1 - that._x0,
|
|
11
|
-
h1 = x2 - that._x1,
|
|
12
|
-
s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),
|
|
13
|
-
s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),
|
|
14
|
-
p = (s0 * h1 + s1 * h0) / (h0 + h1);
|
|
15
|
-
return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Calculate a one-sided slope.
|
|
19
|
-
function slope2(that, t) {
|
|
20
|
-
var h = that._x1 - that._x0;
|
|
21
|
-
return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations
|
|
25
|
-
// "you can express cubic Hermite interpolation in terms of cubic Bézier curves
|
|
26
|
-
// with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1".
|
|
27
|
-
function point(that, t0, t1) {
|
|
28
|
-
var x0 = that._x0,
|
|
29
|
-
y0 = that._y0,
|
|
30
|
-
x1 = that._x1,
|
|
31
|
-
y1 = that._y1,
|
|
32
|
-
dx = (x1 - x0) / 3;
|
|
33
|
-
that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function MonotoneX(context) {
|
|
37
|
-
this._context = context;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
MonotoneX.prototype = {
|
|
41
|
-
areaStart: function() {
|
|
42
|
-
this._line = 0;
|
|
43
|
-
},
|
|
44
|
-
areaEnd: function() {
|
|
45
|
-
this._line = NaN;
|
|
46
|
-
},
|
|
47
|
-
lineStart: function() {
|
|
48
|
-
this._x0 = this._x1 =
|
|
49
|
-
this._y0 = this._y1 =
|
|
50
|
-
this._t0 = NaN;
|
|
51
|
-
this._point = 0;
|
|
52
|
-
},
|
|
53
|
-
lineEnd: function() {
|
|
54
|
-
switch (this._point) {
|
|
55
|
-
case 2: this._context.lineTo(this._x1, this._y1); break;
|
|
56
|
-
case 3: point(this, this._t0, slope2(this, this._t0)); break;
|
|
57
|
-
}
|
|
58
|
-
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
|
|
59
|
-
this._line = 1 - this._line;
|
|
60
|
-
},
|
|
61
|
-
point: function(x, y) {
|
|
62
|
-
var t1 = NaN;
|
|
63
|
-
|
|
64
|
-
x = +x, y = +y;
|
|
65
|
-
if (x === this._x1 && y === this._y1) return; // Ignore coincident points.
|
|
66
|
-
switch (this._point) {
|
|
67
|
-
case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
|
|
68
|
-
case 1: this._point = 2; break;
|
|
69
|
-
case 2: this._point = 3; point(this, slope2(this, t1 = slope3(this, x, y)), t1); break;
|
|
70
|
-
default: point(this, this._t0, t1 = slope3(this, x, y)); break;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
this._x0 = this._x1, this._x1 = x;
|
|
74
|
-
this._y0 = this._y1, this._y1 = y;
|
|
75
|
-
this._t0 = t1;
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
function MonotoneY(context) {
|
|
80
|
-
this._context = new ReflectContext(context);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
(MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) {
|
|
84
|
-
MonotoneX.prototype.point.call(this, y, x);
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
function ReflectContext(context) {
|
|
88
|
-
this._context = context;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
ReflectContext.prototype = {
|
|
92
|
-
moveTo: function(x, y) { this._context.moveTo(y, x); },
|
|
93
|
-
closePath: function() { this._context.closePath(); },
|
|
94
|
-
lineTo: function(x, y) { this._context.lineTo(y, x); },
|
|
95
|
-
bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
function monotoneX(context) {
|
|
99
|
-
return new MonotoneX(context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
function monotoneY(context) {
|
|
103
|
-
return new MonotoneY(context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export { monotoneX, monotoneY };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
function Natural(context) {
|
|
2
|
-
this._context = context;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
Natural.prototype = {
|
|
6
|
-
areaStart: function() {
|
|
7
|
-
this._line = 0;
|
|
8
|
-
},
|
|
9
|
-
areaEnd: function() {
|
|
10
|
-
this._line = NaN;
|
|
11
|
-
},
|
|
12
|
-
lineStart: function() {
|
|
13
|
-
this._x = [];
|
|
14
|
-
this._y = [];
|
|
15
|
-
},
|
|
16
|
-
lineEnd: function() {
|
|
17
|
-
var x = this._x,
|
|
18
|
-
y = this._y,
|
|
19
|
-
n = x.length;
|
|
20
|
-
|
|
21
|
-
if (n) {
|
|
22
|
-
this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);
|
|
23
|
-
if (n === 2) {
|
|
24
|
-
this._context.lineTo(x[1], y[1]);
|
|
25
|
-
} else {
|
|
26
|
-
var px = controlPoints(x),
|
|
27
|
-
py = controlPoints(y);
|
|
28
|
-
for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {
|
|
29
|
-
this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
if (this._line || (this._line !== 0 && n === 1)) this._context.closePath();
|
|
35
|
-
this._line = 1 - this._line;
|
|
36
|
-
this._x = this._y = null;
|
|
37
|
-
},
|
|
38
|
-
point: function(x, y) {
|
|
39
|
-
this._x.push(+x);
|
|
40
|
-
this._y.push(+y);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
// See https://www.particleincell.com/2012/bezier-splines/ for derivation.
|
|
45
|
-
function controlPoints(x) {
|
|
46
|
-
var i,
|
|
47
|
-
n = x.length - 1,
|
|
48
|
-
m,
|
|
49
|
-
a = new Array(n),
|
|
50
|
-
b = new Array(n),
|
|
51
|
-
r = new Array(n);
|
|
52
|
-
a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];
|
|
53
|
-
for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];
|
|
54
|
-
a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];
|
|
55
|
-
for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];
|
|
56
|
-
a[n - 1] = r[n - 1] / b[n - 1];
|
|
57
|
-
for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i];
|
|
58
|
-
b[n - 1] = (x[n] + a[n - 1]) / 2;
|
|
59
|
-
for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1];
|
|
60
|
-
return [a, b];
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
function curveNatural(context) {
|
|
64
|
-
return new Natural(context);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export { curveNatural as default };
|