@antv/g2 5.3.1 → 5.3.2
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/g2.lite.min.js +59 -0
- package/dist/g2.min.js +59 -0
- package/esm/animation/fadeIn.d.ts +7 -0
- package/esm/animation/fadeIn.js +20 -0
- package/esm/animation/fadeIn.js.map +1 -0
- package/esm/animation/fadeOut.d.ts +7 -0
- package/esm/animation/fadeOut.js +20 -0
- package/esm/animation/fadeOut.js.map +1 -0
- package/esm/animation/growInX.d.ts +7 -0
- package/esm/animation/growInX.js +24 -0
- package/esm/animation/growInX.js.map +1 -0
- package/esm/animation/growInY.d.ts +7 -0
- package/esm/animation/growInY.js +24 -0
- package/esm/animation/growInY.js.map +1 -0
- package/esm/animation/index.d.ts +24 -0
- package/esm/animation/index.js +14 -0
- package/esm/animation/index.js.map +1 -0
- package/esm/animation/morphing.d.ts +13 -0
- package/esm/animation/morphing.js +235 -0
- package/esm/animation/morphing.js.map +1 -0
- package/esm/animation/pathIn.d.ts +7 -0
- package/esm/animation/pathIn.js +17 -0
- package/esm/animation/pathIn.js.map +1 -0
- package/esm/animation/scaleInX.d.ts +7 -0
- package/esm/animation/scaleInX.js +46 -0
- package/esm/animation/scaleInX.js.map +1 -0
- package/esm/animation/scaleInY.d.ts +7 -0
- package/esm/animation/scaleInY.js +95 -0
- package/esm/animation/scaleInY.js.map +1 -0
- package/esm/animation/scaleOutX.d.ts +7 -0
- package/esm/animation/scaleOutX.js +43 -0
- package/esm/animation/scaleOutX.js.map +1 -0
- package/esm/animation/scaleOutY.d.ts +7 -0
- package/esm/animation/scaleOutY.js +43 -0
- package/esm/animation/scaleOutY.js.map +1 -0
- package/esm/animation/types.d.ts +6 -0
- package/esm/animation/types.js +2 -0
- package/esm/animation/types.js.map +1 -0
- package/esm/animation/utils.d.ts +12 -0
- package/esm/animation/utils.js +47 -0
- package/esm/animation/utils.js.map +1 -0
- package/esm/animation/waveIn.d.ts +7 -0
- package/esm/animation/waveIn.js +66 -0
- package/esm/animation/waveIn.js.map +1 -0
- package/esm/animation/zoomIn.d.ts +4 -0
- package/esm/animation/zoomIn.js +37 -0
- package/esm/animation/zoomIn.js.map +1 -0
- package/esm/animation/zoomOut.d.ts +4 -0
- package/esm/animation/zoomOut.js +31 -0
- package/esm/animation/zoomOut.js.map +1 -0
- package/esm/api/chart.d.ts +13 -0
- package/esm/api/chart.js +5 -0
- package/esm/api/chart.js.map +1 -0
- package/esm/api/composition.d.ts +37 -0
- package/esm/api/composition.js +87 -0
- package/esm/api/composition.js.map +1 -0
- package/esm/api/define.d.ts +14 -0
- package/esm/api/define.js +92 -0
- package/esm/api/define.js.map +1 -0
- package/esm/api/extend.d.ts +15 -0
- package/esm/api/extend.js +9 -0
- package/esm/api/extend.js.map +1 -0
- package/esm/api/index.d.ts +4 -0
- package/esm/api/index.js +5 -0
- package/esm/api/index.js.map +1 -0
- package/esm/api/library.d.ts +4 -0
- package/esm/api/library.js +10 -0
- package/esm/api/library.js.map +1 -0
- package/esm/api/mark.d.ts +29 -0
- package/esm/api/mark.js +66 -0
- package/esm/api/mark.js.map +1 -0
- package/esm/api/node.d.ts +40 -0
- package/esm/api/node.js +121 -0
- package/esm/api/node.js.map +1 -0
- package/esm/api/props.d.ts +171 -0
- package/esm/api/props.js +22 -0
- package/esm/api/props.js.map +1 -0
- package/esm/api/runtime.d.ts +67 -0
- package/esm/api/runtime.js +306 -0
- package/esm/api/runtime.js.map +1 -0
- package/esm/api/types.d.ts +65 -0
- package/esm/api/types.js +2 -0
- package/esm/api/types.js.map +1 -0
- package/esm/api/utils.d.ts +25 -0
- package/esm/api/utils.js +252 -0
- package/esm/api/utils.js.map +1 -0
- package/esm/component/axis.d.ts +29 -0
- package/esm/component/axis.js +404 -0
- package/esm/component/axis.js.map +1 -0
- package/esm/component/axisArc.d.ts +7 -0
- package/esm/component/axisArc.js +9 -0
- package/esm/component/axisArc.js.map +1 -0
- package/esm/component/axisRadar.d.ts +9 -0
- package/esm/component/axisRadar.js +47 -0
- package/esm/component/axisRadar.js.map +1 -0
- package/esm/component/axisX.d.ts +8 -0
- package/esm/component/axisX.js +15 -0
- package/esm/component/axisX.js.map +1 -0
- package/esm/component/axisY.d.ts +7 -0
- package/esm/component/axisY.js +13 -0
- package/esm/component/axisY.js.map +1 -0
- package/esm/component/constant.d.ts +14 -0
- package/esm/component/constant.js +241 -0
- package/esm/component/constant.js.map +1 -0
- package/esm/component/index.d.ts +26 -0
- package/esm/component/index.js +16 -0
- package/esm/component/index.js.map +1 -0
- package/esm/component/legendCategory.d.ts +15 -0
- package/esm/component/legendCategory.js +175 -0
- package/esm/component/legendCategory.js.map +1 -0
- package/esm/component/legendContinuous.d.ts +12 -0
- package/esm/component/legendContinuous.js +147 -0
- package/esm/component/legendContinuous.js.map +1 -0
- package/esm/component/legendContinuousBlock.d.ts +4 -0
- package/esm/component/legendContinuousBlock.js +6 -0
- package/esm/component/legendContinuousBlock.js.map +1 -0
- package/esm/component/legendContinuousBlockSize.d.ts +4 -0
- package/esm/component/legendContinuousBlockSize.js +7 -0
- package/esm/component/legendContinuousBlockSize.js.map +1 -0
- package/esm/component/legendContinuousSize.d.ts +4 -0
- package/esm/component/legendContinuousSize.js +17 -0
- package/esm/component/legendContinuousSize.js.map +1 -0
- package/esm/component/legends.d.ts +3 -0
- package/esm/component/legends.js +9 -0
- package/esm/component/legends.js.map +1 -0
- package/esm/component/scrollbar.d.ts +10 -0
- package/esm/component/scrollbar.js +41 -0
- package/esm/component/scrollbar.js.map +1 -0
- package/esm/component/scrollbarX.d.ts +7 -0
- package/esm/component/scrollbarX.js +9 -0
- package/esm/component/scrollbarX.js.map +1 -0
- package/esm/component/scrollbarY.d.ts +7 -0
- package/esm/component/scrollbarY.js +9 -0
- package/esm/component/scrollbarY.js.map +1 -0
- package/esm/component/slider.d.ts +13 -0
- package/esm/component/slider.js +95 -0
- package/esm/component/slider.js.map +1 -0
- package/esm/component/sliderX.d.ts +7 -0
- package/esm/component/sliderX.js +9 -0
- package/esm/component/sliderX.js.map +1 -0
- package/esm/component/sliderY.d.ts +7 -0
- package/esm/component/sliderY.js +9 -0
- package/esm/component/sliderY.js.map +1 -0
- package/esm/component/title.d.ts +6 -0
- package/esm/component/title.js +79 -0
- package/esm/component/title.js.map +1 -0
- package/esm/component/utils.d.ts +36 -0
- package/esm/component/utils.js +147 -0
- package/esm/component/utils.js.map +1 -0
- package/esm/composition/d3Projection.d.ts +1 -0
- package/esm/composition/d3Projection.js +2 -0
- package/esm/composition/d3Projection.js.map +1 -0
- package/esm/composition/facetCircle.d.ts +7 -0
- package/esm/composition/facetCircle.js +85 -0
- package/esm/composition/facetCircle.js.map +1 -0
- package/esm/composition/facetRect.d.ts +31 -0
- package/esm/composition/facetRect.js +296 -0
- package/esm/composition/facetRect.js.map +1 -0
- package/esm/composition/geoPath.d.ts +7 -0
- package/esm/composition/geoPath.js +37 -0
- package/esm/composition/geoPath.js.map +1 -0
- package/esm/composition/geoView.d.ts +7 -0
- package/esm/composition/geoView.js +219 -0
- package/esm/composition/geoView.js.map +1 -0
- package/esm/composition/index.d.ts +18 -0
- package/esm/composition/index.js +11 -0
- package/esm/composition/index.js.map +1 -0
- package/esm/composition/mark.d.ts +4 -0
- package/esm/composition/mark.js +51 -0
- package/esm/composition/mark.js.map +1 -0
- package/esm/composition/repeatMatrix.d.ts +8 -0
- package/esm/composition/repeatMatrix.js +152 -0
- package/esm/composition/repeatMatrix.js.map +1 -0
- package/esm/composition/spaceFlex.d.ts +7 -0
- package/esm/composition/spaceFlex.js +40 -0
- package/esm/composition/spaceFlex.js.map +1 -0
- package/esm/composition/spaceLayer.d.ts +7 -0
- package/esm/composition/spaceLayer.js +29 -0
- package/esm/composition/spaceLayer.js.map +1 -0
- package/esm/composition/timingKeyframe.d.ts +7 -0
- package/esm/composition/timingKeyframe.js +80 -0
- package/esm/composition/timingKeyframe.js.map +1 -0
- package/esm/composition/utils.d.ts +18 -0
- package/esm/composition/utils.js +41 -0
- package/esm/composition/utils.js.map +1 -0
- package/esm/composition/view.d.ts +9 -0
- package/esm/composition/view.js +33 -0
- package/esm/composition/view.js.map +1 -0
- package/esm/coordinate/cartesian.d.ts +7 -0
- package/esm/coordinate/cartesian.js +6 -0
- package/esm/coordinate/cartesian.js.map +1 -0
- package/esm/coordinate/fisheye.d.ts +7 -0
- package/esm/coordinate/fisheye.js +6 -0
- package/esm/coordinate/fisheye.js.map +1 -0
- package/esm/coordinate/helix.d.ts +7 -0
- package/esm/coordinate/helix.js +11 -0
- package/esm/coordinate/helix.js.map +1 -0
- package/esm/coordinate/index.d.ts +18 -0
- package/esm/coordinate/index.js +10 -0
- package/esm/coordinate/index.js.map +1 -0
- package/esm/coordinate/parallel.d.ts +7 -0
- package/esm/coordinate/parallel.js +6 -0
- package/esm/coordinate/parallel.js.map +1 -0
- package/esm/coordinate/polar.d.ts +15 -0
- package/esm/coordinate/polar.js +26 -0
- package/esm/coordinate/polar.js.map +1 -0
- package/esm/coordinate/radar.d.ts +7 -0
- package/esm/coordinate/radar.js +14 -0
- package/esm/coordinate/radar.js.map +1 -0
- package/esm/coordinate/radial.d.ts +14 -0
- package/esm/coordinate/radial.js +25 -0
- package/esm/coordinate/radial.js.map +1 -0
- package/esm/coordinate/theta.d.ts +15 -0
- package/esm/coordinate/theta.js +23 -0
- package/esm/coordinate/theta.js.map +1 -0
- package/esm/coordinate/transpose.d.ts +7 -0
- package/esm/coordinate/transpose.js +11 -0
- package/esm/coordinate/transpose.js.map +1 -0
- package/esm/data/arc.d.ts +6 -0
- package/esm/data/arc.js +11 -0
- package/esm/data/arc.js.map +1 -0
- package/esm/data/cluster.d.ts +7 -0
- package/esm/data/cluster.js +37 -0
- package/esm/data/cluster.js.map +1 -0
- package/esm/data/custom.d.ts +7 -0
- package/esm/data/custom.js +10 -0
- package/esm/data/custom.js.map +1 -0
- package/esm/data/ema.d.ts +10 -0
- package/esm/data/ema.js +44 -0
- package/esm/data/ema.js.map +1 -0
- package/esm/data/fetch.d.ts +4 -0
- package/esm/data/fetch.js +28 -0
- package/esm/data/fetch.js.map +1 -0
- package/esm/data/filter.d.ts +9 -0
- package/esm/data/filter.js +13 -0
- package/esm/data/filter.js.map +1 -0
- package/esm/data/fold.d.ts +10 -0
- package/esm/data/fold.js +18 -0
- package/esm/data/fold.js.map +1 -0
- package/esm/data/index.d.ts +42 -0
- package/esm/data/index.js +22 -0
- package/esm/data/index.js.map +1 -0
- package/esm/data/inline.d.ts +4 -0
- package/esm/data/inline.js +6 -0
- package/esm/data/inline.js.map +1 -0
- package/esm/data/join.d.ts +7 -0
- package/esm/data/join.js +22 -0
- package/esm/data/join.js.map +1 -0
- package/esm/data/kde.d.ts +10 -0
- package/esm/data/kde.js +30 -0
- package/esm/data/kde.js.map +1 -0
- package/esm/data/log.d.ts +7 -0
- package/esm/data/log.js +11 -0
- package/esm/data/log.js.map +1 -0
- package/esm/data/map.d.ts +7 -0
- package/esm/data/map.js +10 -0
- package/esm/data/map.js.map +1 -0
- package/esm/data/pick.d.ts +7 -0
- package/esm/data/pick.js +18 -0
- package/esm/data/pick.js.map +1 -0
- package/esm/data/rename.d.ts +8 -0
- package/esm/data/rename.js +16 -0
- package/esm/data/rename.js.map +1 -0
- package/esm/data/sankey.d.ts +7 -0
- package/esm/data/sankey.js +77 -0
- package/esm/data/sankey.js.map +1 -0
- package/esm/data/slice.d.ts +8 -0
- package/esm/data/slice.js +10 -0
- package/esm/data/slice.js.map +1 -0
- package/esm/data/sort.d.ts +8 -0
- package/esm/data/sort.js +12 -0
- package/esm/data/sort.js.map +1 -0
- package/esm/data/sortBy.d.ts +7 -0
- package/esm/data/sortBy.js +24 -0
- package/esm/data/sortBy.js.map +1 -0
- package/esm/data/tree.d.ts +3 -0
- package/esm/data/tree.js +7 -0
- package/esm/data/tree.js.map +1 -0
- package/esm/data/utils/arc/arc.d.ts +31 -0
- package/esm/data/utils/arc/arc.js +161 -0
- package/esm/data/utils/arc/arc.js.map +1 -0
- package/esm/data/utils/arc/index.d.ts +2 -0
- package/esm/data/utils/arc/index.js +2 -0
- package/esm/data/utils/arc/index.js.map +1 -0
- package/esm/data/utils/arc/sort.d.ts +4 -0
- package/esm/data/utils/arc/sort.js +13 -0
- package/esm/data/utils/arc/sort.js.map +1 -0
- package/esm/data/utils/arc/types.d.ts +51 -0
- package/esm/data/utils/arc/types.js +2 -0
- package/esm/data/utils/arc/types.js.map +1 -0
- package/esm/data/utils/d3-cloud/index.d.ts +1 -0
- package/esm/data/utils/d3-cloud/index.js +398 -0
- package/esm/data/utils/d3-cloud/index.js.map +1 -0
- package/esm/data/utils/d3-sankey/align.d.ts +4 -0
- package/esm/data/utils/d3-sankey/align.js +21 -0
- package/esm/data/utils/d3-sankey/align.js.map +1 -0
- package/esm/data/utils/d3-sankey/constant.d.ts +1 -0
- package/esm/data/utils/d3-sankey/constant.js +6 -0
- package/esm/data/utils/d3-sankey/constant.js.map +1 -0
- package/esm/data/utils/d3-sankey/index.d.ts +12 -0
- package/esm/data/utils/d3-sankey/index.js +13 -0
- package/esm/data/utils/d3-sankey/index.js.map +1 -0
- package/esm/data/utils/d3-sankey/sankey.d.ts +24 -0
- package/esm/data/utils/d3-sankey/sankey.js +388 -0
- package/esm/data/utils/d3-sankey/sankey.js.map +1 -0
- package/esm/data/utils/fields.d.ts +6 -0
- package/esm/data/utils/fields.js +15 -0
- package/esm/data/utils/fields.js.map +1 -0
- package/esm/data/utils/flow.d.ts +9 -0
- package/esm/data/utils/flow.js +45 -0
- package/esm/data/utils/flow.js.map +1 -0
- package/esm/data/utils/memo.d.ts +17 -0
- package/esm/data/utils/memo.js +79 -0
- package/esm/data/utils/memo.js.map +1 -0
- package/esm/data/utils/venn/circleintersection.d.ts +33 -0
- package/esm/data/utils/venn/circleintersection.js +192 -0
- package/esm/data/utils/venn/circleintersection.js.map +1 -0
- package/esm/data/utils/venn/diagram.d.ts +2 -0
- package/esm/data/utils/venn/diagram.js +44 -0
- package/esm/data/utils/venn/diagram.js.map +1 -0
- package/esm/data/utils/venn/index.d.ts +5 -0
- package/esm/data/utils/venn/index.js +6 -0
- package/esm/data/utils/venn/index.js.map +1 -0
- package/esm/data/utils/venn/layout.d.ts +27 -0
- package/esm/data/utils/venn/layout.js +607 -0
- package/esm/data/utils/venn/layout.js.map +1 -0
- package/esm/data/venn.d.ts +7 -0
- package/esm/data/venn.js +34 -0
- package/esm/data/venn.js.map +1 -0
- package/esm/data/wordCloud.d.ts +110 -0
- package/esm/data/wordCloud.js +121 -0
- package/esm/data/wordCloud.js.map +1 -0
- package/esm/encode/column.d.ts +7 -0
- package/esm/encode/column.js +8 -0
- package/esm/encode/column.js.map +1 -0
- package/esm/encode/constant.d.ts +7 -0
- package/esm/encode/constant.js +8 -0
- package/esm/encode/constant.js.map +1 -0
- package/esm/encode/field.d.ts +7 -0
- package/esm/encode/field.js +8 -0
- package/esm/encode/field.js.map +1 -0
- package/esm/encode/index.d.ts +8 -0
- package/esm/encode/index.js +5 -0
- package/esm/encode/index.js.map +1 -0
- package/esm/encode/transform.d.ts +9 -0
- package/esm/encode/transform.js +10 -0
- package/esm/encode/transform.js.map +1 -0
- package/esm/exports.d.ts +12 -0
- package/esm/exports.js +11 -0
- package/esm/exports.js.map +1 -0
- package/esm/index.d.ts +356 -0
- package/esm/index.js +10 -0
- package/esm/index.js.map +1 -0
- package/esm/interaction/brushAxisHighlight.d.ts +29 -0
- package/esm/interaction/brushAxisHighlight.js +281 -0
- package/esm/interaction/brushAxisHighlight.js.map +1 -0
- package/esm/interaction/brushFilter.d.ts +18 -0
- package/esm/interaction/brushFilter.js +142 -0
- package/esm/interaction/brushFilter.js.map +1 -0
- package/esm/interaction/brushHighlight.d.ts +48 -0
- package/esm/interaction/brushHighlight.js +586 -0
- package/esm/interaction/brushHighlight.js.map +1 -0
- package/esm/interaction/brushXFilter.d.ts +1 -0
- package/esm/interaction/brushXFilter.js +6 -0
- package/esm/interaction/brushXFilter.js.map +1 -0
- package/esm/interaction/brushXHighlight.d.ts +7 -0
- package/esm/interaction/brushXHighlight.js +9 -0
- package/esm/interaction/brushXHighlight.js.map +1 -0
- package/esm/interaction/brushYFilter.d.ts +1 -0
- package/esm/interaction/brushYFilter.js +6 -0
- package/esm/interaction/brushYFilter.js.map +1 -0
- package/esm/interaction/brushYHighlight.d.ts +7 -0
- package/esm/interaction/brushYHighlight.js +9 -0
- package/esm/interaction/brushYHighlight.js.map +1 -0
- package/esm/interaction/chartIndex.d.ts +9 -0
- package/esm/interaction/chartIndex.js +178 -0
- package/esm/interaction/chartIndex.js.map +1 -0
- package/esm/interaction/elementHighlight.d.ts +23 -0
- package/esm/interaction/elementHighlight.js +169 -0
- package/esm/interaction/elementHighlight.js.map +1 -0
- package/esm/interaction/elementHighlightByColor.d.ts +6 -0
- package/esm/interaction/elementHighlightByColor.js +9 -0
- package/esm/interaction/elementHighlightByColor.js.map +1 -0
- package/esm/interaction/elementHighlightByX.d.ts +6 -0
- package/esm/interaction/elementHighlightByX.js +9 -0
- package/esm/interaction/elementHighlightByX.js.map +1 -0
- package/esm/interaction/elementPointMove.d.ts +9 -0
- package/esm/interaction/elementPointMove.js +506 -0
- package/esm/interaction/elementPointMove.js.map +1 -0
- package/esm/interaction/elementSelect.d.ts +24 -0
- package/esm/interaction/elementSelect.js +234 -0
- package/esm/interaction/elementSelect.js.map +1 -0
- package/esm/interaction/elementSelectByColor.d.ts +6 -0
- package/esm/interaction/elementSelectByColor.js +9 -0
- package/esm/interaction/elementSelectByColor.js.map +1 -0
- package/esm/interaction/elementSelectByX.d.ts +6 -0
- package/esm/interaction/elementSelectByX.js +9 -0
- package/esm/interaction/elementSelectByX.js.map +1 -0
- package/esm/interaction/event.d.ts +6 -0
- package/esm/interaction/event.js +129 -0
- package/esm/interaction/event.js.map +1 -0
- package/esm/interaction/fisheye.d.ts +4 -0
- package/esm/interaction/fisheye.js +57 -0
- package/esm/interaction/fisheye.js.map +1 -0
- package/esm/interaction/index.d.ts +24 -0
- package/esm/interaction/index.js +25 -0
- package/esm/interaction/index.js.map +1 -0
- package/esm/interaction/legendFilter.d.ts +14 -0
- package/esm/interaction/legendFilter.js +292 -0
- package/esm/interaction/legendFilter.js.map +1 -0
- package/esm/interaction/legendHighlight.d.ts +1 -0
- package/esm/interaction/legendHighlight.js +125 -0
- package/esm/interaction/legendHighlight.js.map +1 -0
- package/esm/interaction/poptip.d.ts +10 -0
- package/esm/interaction/poptip.js +94 -0
- package/esm/interaction/poptip.js.map +1 -0
- package/esm/interaction/scrollbarFilter.d.ts +2 -0
- package/esm/interaction/scrollbarFilter.js +27 -0
- package/esm/interaction/scrollbarFilter.js.map +1 -0
- package/esm/interaction/sliderFilter.d.ts +5 -0
- package/esm/interaction/sliderFilter.js +173 -0
- package/esm/interaction/sliderFilter.js.map +1 -0
- package/esm/interaction/tooltip.d.ts +16 -0
- package/esm/interaction/tooltip.js +871 -0
- package/esm/interaction/tooltip.js.map +1 -0
- package/esm/interaction/treemapDrillDown.d.ts +10 -0
- package/esm/interaction/treemapDrillDown.js +226 -0
- package/esm/interaction/treemapDrillDown.js.map +1 -0
- package/esm/interaction/utils.d.ts +68 -0
- package/esm/interaction/utils.js +478 -0
- package/esm/interaction/utils.js.map +1 -0
- package/esm/label-transform/contrastReverse.d.ts +9 -0
- package/esm/label-transform/contrastReverse.js +50 -0
- package/esm/label-transform/contrastReverse.js.map +1 -0
- package/esm/label-transform/exceedAdjust.d.ts +7 -0
- package/esm/label-transform/exceedAdjust.js +51 -0
- package/esm/label-transform/exceedAdjust.js.map +1 -0
- package/esm/label-transform/index.d.ts +10 -0
- package/esm/label-transform/index.js +6 -0
- package/esm/label-transform/index.js.map +1 -0
- package/esm/label-transform/overflowHide.d.ts +7 -0
- package/esm/label-transform/overflowHide.js +19 -0
- package/esm/label-transform/overflowHide.js.map +1 -0
- package/esm/label-transform/overlapDodgeY.d.ts +7 -0
- package/esm/label-transform/overlapDodgeY.js +75 -0
- package/esm/label-transform/overlapDodgeY.js.map +1 -0
- package/esm/label-transform/overlapHide.d.ts +7 -0
- package/esm/label-transform/overlapHide.js +25 -0
- package/esm/label-transform/overlapHide.js.map +1 -0
- package/esm/lib/builtinlib.d.ts +13 -0
- package/esm/lib/builtinlib.js +21 -0
- package/esm/lib/builtinlib.js.map +1 -0
- package/esm/lib/core.d.ts +158 -0
- package/esm/lib/core.js +173 -0
- package/esm/lib/core.js.map +1 -0
- package/esm/lib/geo.d.ts +4 -0
- package/esm/lib/geo.js +9 -0
- package/esm/lib/geo.js.map +1 -0
- package/esm/lib/graph.d.ts +10 -0
- package/esm/lib/graph.js +15 -0
- package/esm/lib/graph.js.map +1 -0
- package/esm/lib/index.d.ts +6 -0
- package/esm/lib/index.js +7 -0
- package/esm/lib/index.js.map +1 -0
- package/esm/lib/lite.d.ts +64 -0
- package/esm/lib/lite.js +78 -0
- package/esm/lib/lite.js.map +1 -0
- package/esm/lib/plot.d.ts +7 -0
- package/esm/lib/plot.js +12 -0
- package/esm/lib/plot.js.map +1 -0
- package/esm/lib/std.d.ts +171 -0
- package/esm/lib/std.js +8 -0
- package/esm/lib/std.js.map +1 -0
- package/esm/mark/area.d.ts +4 -0
- package/esm/mark/area.js +86 -0
- package/esm/mark/area.js.map +1 -0
- package/esm/mark/box.d.ts +34 -0
- package/esm/mark/box.js +96 -0
- package/esm/mark/box.js.map +1 -0
- package/esm/mark/boxplot.d.ts +4 -0
- package/esm/mark/boxplot.js +102 -0
- package/esm/mark/boxplot.js.map +1 -0
- package/esm/mark/cell.d.ts +9 -0
- package/esm/mark/cell.js +50 -0
- package/esm/mark/cell.js.map +1 -0
- package/esm/mark/chord.d.ts +4 -0
- package/esm/mark/chord.js +120 -0
- package/esm/mark/chord.js.map +1 -0
- package/esm/mark/connector.d.ts +4 -0
- package/esm/mark/connector.js +23 -0
- package/esm/mark/connector.js.map +1 -0
- package/esm/mark/density.d.ts +4 -0
- package/esm/mark/density.js +64 -0
- package/esm/mark/density.js.map +1 -0
- package/esm/mark/forceGraph.d.ts +4 -0
- package/esm/mark/forceGraph.js +115 -0
- package/esm/mark/forceGraph.js.map +1 -0
- package/esm/mark/gauge.d.ts +11 -0
- package/esm/mark/gauge.js +178 -0
- package/esm/mark/gauge.js.map +1 -0
- package/esm/mark/heatmap.d.ts +7 -0
- package/esm/mark/heatmap.js +41 -0
- package/esm/mark/heatmap.js.map +1 -0
- package/esm/mark/image.d.ts +4 -0
- package/esm/mark/image.js +40 -0
- package/esm/mark/image.js.map +1 -0
- package/esm/mark/index.d.ts +62 -0
- package/esm/mark/index.js +33 -0
- package/esm/mark/index.js.map +1 -0
- package/esm/mark/interval.d.ts +12 -0
- package/esm/mark/interval.js +77 -0
- package/esm/mark/interval.js.map +1 -0
- package/esm/mark/line.d.ts +7 -0
- package/esm/mark/line.js +96 -0
- package/esm/mark/line.js.map +1 -0
- package/esm/mark/lineX.d.ts +4 -0
- package/esm/mark/lineX.js +32 -0
- package/esm/mark/lineX.js.map +1 -0
- package/esm/mark/lineY.d.ts +4 -0
- package/esm/mark/lineY.js +32 -0
- package/esm/mark/lineY.js.map +1 -0
- package/esm/mark/link.d.ts +7 -0
- package/esm/mark/link.js +41 -0
- package/esm/mark/link.js.map +1 -0
- package/esm/mark/liquid.d.ts +7 -0
- package/esm/mark/liquid.js +84 -0
- package/esm/mark/liquid.js.map +1 -0
- package/esm/mark/pack.d.ts +4 -0
- package/esm/mark/pack.js +78 -0
- package/esm/mark/pack.js.map +1 -0
- package/esm/mark/path.d.ts +7 -0
- package/esm/mark/path.js +30 -0
- package/esm/mark/path.js.map +1 -0
- package/esm/mark/point.d.ts +9 -0
- package/esm/mark/point.js +84 -0
- package/esm/mark/point.js.map +1 -0
- package/esm/mark/polygon.d.ts +7 -0
- package/esm/mark/polygon.js +45 -0
- package/esm/mark/polygon.js.map +1 -0
- package/esm/mark/range.d.ts +8 -0
- package/esm/mark/range.js +47 -0
- package/esm/mark/range.js.map +1 -0
- package/esm/mark/rangeX.d.ts +4 -0
- package/esm/mark/rangeX.js +23 -0
- package/esm/mark/rangeX.js.map +1 -0
- package/esm/mark/rangeY.d.ts +4 -0
- package/esm/mark/rangeY.js +23 -0
- package/esm/mark/rangeY.js.map +1 -0
- package/esm/mark/rect.d.ts +4 -0
- package/esm/mark/rect.js +37 -0
- package/esm/mark/rect.js.map +1 -0
- package/esm/mark/sankey.d.ts +8 -0
- package/esm/mark/sankey.js +113 -0
- package/esm/mark/sankey.js.map +1 -0
- package/esm/mark/shape.d.ts +7 -0
- package/esm/mark/shape.js +40 -0
- package/esm/mark/shape.js.map +1 -0
- package/esm/mark/text.d.ts +4 -0
- package/esm/mark/text.js +43 -0
- package/esm/mark/text.js.map +1 -0
- package/esm/mark/tree.d.ts +4 -0
- package/esm/mark/tree.js +71 -0
- package/esm/mark/tree.js.map +1 -0
- package/esm/mark/treemap.d.ts +4 -0
- package/esm/mark/treemap.js +106 -0
- package/esm/mark/treemap.js.map +1 -0
- package/esm/mark/utils.d.ts +67 -0
- package/esm/mark/utils.js +110 -0
- package/esm/mark/utils.js.map +1 -0
- package/esm/mark/vector.d.ts +8 -0
- package/esm/mark/vector.js +44 -0
- package/esm/mark/vector.js.map +1 -0
- package/esm/mark/wordCloud.d.ts +4 -0
- package/esm/mark/wordCloud.js +59 -0
- package/esm/mark/wordCloud.js.map +1 -0
- package/esm/palette/category10.d.ts +7 -0
- package/esm/palette/category10.js +19 -0
- package/esm/palette/category10.js.map +1 -0
- package/esm/palette/category20.d.ts +7 -0
- package/esm/palette/category20.js +29 -0
- package/esm/palette/category20.js.map +1 -0
- package/esm/palette/index.d.ts +4 -0
- package/esm/palette/index.js +3 -0
- package/esm/palette/index.js.map +1 -0
- package/esm/runtime/component.d.ts +18 -0
- package/esm/runtime/component.js +771 -0
- package/esm/runtime/component.js.map +1 -0
- package/esm/runtime/constant.d.ts +9 -0
- package/esm/runtime/constant.js +10 -0
- package/esm/runtime/constant.js.map +1 -0
- package/esm/runtime/coordinate.d.ts +24 -0
- package/esm/runtime/coordinate.js +88 -0
- package/esm/runtime/coordinate.js.map +1 -0
- package/esm/runtime/index.d.ts +9 -0
- package/esm/runtime/index.js +10 -0
- package/esm/runtime/index.js.map +1 -0
- package/esm/runtime/layout.d.ts +10 -0
- package/esm/runtime/layout.js +582 -0
- package/esm/runtime/layout.js.map +1 -0
- package/esm/runtime/library.d.ts +5 -0
- package/esm/runtime/library.js +37 -0
- package/esm/runtime/library.js.map +1 -0
- package/esm/runtime/mark.d.ts +6 -0
- package/esm/runtime/mark.js +130 -0
- package/esm/runtime/mark.js.map +1 -0
- package/esm/runtime/option-preprocess/index.d.ts +2 -0
- package/esm/runtime/option-preprocess/index.js +16 -0
- package/esm/runtime/option-preprocess/index.js.map +1 -0
- package/esm/runtime/option-preprocess/style.d.ts +2 -0
- package/esm/runtime/option-preprocess/style.js +12 -0
- package/esm/runtime/option-preprocess/style.js.map +1 -0
- package/esm/runtime/plot.d.ts +5 -0
- package/esm/runtime/plot.js +1212 -0
- package/esm/runtime/plot.js.map +1 -0
- package/esm/runtime/render.d.ts +5 -0
- package/esm/runtime/render.js +166 -0
- package/esm/runtime/render.js.map +1 -0
- package/esm/runtime/scale.d.ts +14 -0
- package/esm/runtime/scale.js +558 -0
- package/esm/runtime/scale.js.map +1 -0
- package/esm/runtime/transform.d.ts +16 -0
- package/esm/runtime/transform.js +286 -0
- package/esm/runtime/transform.js.map +1 -0
- package/esm/runtime/types/common.d.ts +159 -0
- package/esm/runtime/types/common.js +2 -0
- package/esm/runtime/types/common.js.map +1 -0
- package/esm/runtime/types/component.d.ts +103 -0
- package/esm/runtime/types/component.js +2 -0
- package/esm/runtime/types/component.js.map +1 -0
- package/esm/runtime/types/data.d.ts +8 -0
- package/esm/runtime/types/data.js +2 -0
- package/esm/runtime/types/data.js.map +1 -0
- package/esm/runtime/types/encode.d.ts +23 -0
- package/esm/runtime/types/encode.js +2 -0
- package/esm/runtime/types/encode.js.map +1 -0
- package/esm/runtime/types/mark.d.ts +36 -0
- package/esm/runtime/types/mark.js +2 -0
- package/esm/runtime/types/mark.js.map +1 -0
- package/esm/runtime/types/options.d.ts +145 -0
- package/esm/runtime/types/options.js +2 -0
- package/esm/runtime/types/options.js.map +1 -0
- package/esm/runtime/types/scale.d.ts +21 -0
- package/esm/runtime/types/scale.js +22 -0
- package/esm/runtime/types/scale.js.map +1 -0
- package/esm/runtime/types/theme.d.ts +91 -0
- package/esm/runtime/types/theme.js +2 -0
- package/esm/runtime/types/theme.js.map +1 -0
- package/esm/runtime/types/transform.d.ts +14 -0
- package/esm/runtime/types/transform.js +2 -0
- package/esm/runtime/types/transform.js.map +1 -0
- package/esm/scale/band.d.ts +4 -0
- package/esm/scale/band.js +6 -0
- package/esm/scale/band.js.map +1 -0
- package/esm/scale/constant.d.ts +4 -0
- package/esm/scale/constant.js +6 -0
- package/esm/scale/constant.js.map +1 -0
- package/esm/scale/identity.d.ts +4 -0
- package/esm/scale/identity.js +6 -0
- package/esm/scale/identity.js.map +1 -0
- package/esm/scale/index.d.ts +28 -0
- package/esm/scale/index.js +15 -0
- package/esm/scale/index.js.map +1 -0
- package/esm/scale/linear.d.ts +4 -0
- package/esm/scale/linear.js +6 -0
- package/esm/scale/linear.js.map +1 -0
- package/esm/scale/log.d.ts +4 -0
- package/esm/scale/log.js +6 -0
- package/esm/scale/log.js.map +1 -0
- package/esm/scale/ordinal.d.ts +4 -0
- package/esm/scale/ordinal.js +6 -0
- package/esm/scale/ordinal.js.map +1 -0
- package/esm/scale/point.d.ts +4 -0
- package/esm/scale/point.js +6 -0
- package/esm/scale/point.js.map +1 -0
- package/esm/scale/pow.d.ts +4 -0
- package/esm/scale/pow.js +6 -0
- package/esm/scale/pow.js.map +1 -0
- package/esm/scale/quantile.d.ts +4 -0
- package/esm/scale/quantile.js +6 -0
- package/esm/scale/quantile.js.map +1 -0
- package/esm/scale/quantize.d.ts +4 -0
- package/esm/scale/quantize.js +6 -0
- package/esm/scale/quantize.js.map +1 -0
- package/esm/scale/sequential.d.ts +4 -0
- package/esm/scale/sequential.js +6 -0
- package/esm/scale/sequential.js.map +1 -0
- package/esm/scale/sqrt.d.ts +4 -0
- package/esm/scale/sqrt.js +6 -0
- package/esm/scale/sqrt.js.map +1 -0
- package/esm/scale/threshold.d.ts +4 -0
- package/esm/scale/threshold.js +6 -0
- package/esm/scale/threshold.js.map +1 -0
- package/esm/scale/time.d.ts +4 -0
- package/esm/scale/time.js +6 -0
- package/esm/scale/time.js.map +1 -0
- package/esm/shape/area/area.d.ts +3 -0
- package/esm/shape/area/area.js +12 -0
- package/esm/shape/area/area.js.map +1 -0
- package/esm/shape/area/curve.d.ts +8 -0
- package/esm/shape/area/curve.js +171 -0
- package/esm/shape/area/curve.js.map +1 -0
- package/esm/shape/area/hv.d.ts +3 -0
- package/esm/shape/area/hv.js +9 -0
- package/esm/shape/area/hv.js.map +1 -0
- package/esm/shape/area/hvh.d.ts +3 -0
- package/esm/shape/area/hvh.js +9 -0
- package/esm/shape/area/hvh.js.map +1 -0
- package/esm/shape/area/smooth.d.ts +3 -0
- package/esm/shape/area/smooth.js +28 -0
- package/esm/shape/area/smooth.js.map +1 -0
- package/esm/shape/area/vh.d.ts +3 -0
- package/esm/shape/area/vh.js +9 -0
- package/esm/shape/area/vh.js.map +1 -0
- package/esm/shape/box/box.d.ts +3 -0
- package/esm/shape/box/box.js +90 -0
- package/esm/shape/box/box.js.map +1 -0
- package/esm/shape/box/violin.d.ts +3 -0
- package/esm/shape/box/violin.js +84 -0
- package/esm/shape/box/violin.js.map +1 -0
- package/esm/shape/connector/connector.d.ts +11 -0
- package/esm/shape/connector/connector.js +82 -0
- package/esm/shape/connector/connector.js.map +1 -0
- package/esm/shape/density/density.d.ts +8 -0
- package/esm/shape/density/density.js +49 -0
- package/esm/shape/density/density.js.map +1 -0
- package/esm/shape/gauge/round.d.ts +3 -0
- package/esm/shape/gauge/round.js +40 -0
- package/esm/shape/gauge/round.js.map +1 -0
- package/esm/shape/heatmap/heatmap.d.ts +4 -0
- package/esm/shape/heatmap/heatmap.js +67 -0
- package/esm/shape/heatmap/heatmap.js.map +1 -0
- package/esm/shape/heatmap/renderer/gradient.d.ts +5 -0
- package/esm/shape/heatmap/renderer/gradient.js +13 -0
- package/esm/shape/heatmap/renderer/gradient.js.map +1 -0
- package/esm/shape/heatmap/renderer/index.d.ts +6 -0
- package/esm/shape/heatmap/renderer/index.js +122 -0
- package/esm/shape/heatmap/renderer/index.js.map +1 -0
- package/esm/shape/heatmap/renderer/types.d.ts +36 -0
- package/esm/shape/heatmap/renderer/types.js +2 -0
- package/esm/shape/heatmap/renderer/types.js.map +1 -0
- package/esm/shape/image/image.d.ts +3 -0
- package/esm/shape/image/image.js +46 -0
- package/esm/shape/image/image.js.map +1 -0
- package/esm/shape/index.d.ts +114 -0
- package/esm/shape/index.js +65 -0
- package/esm/shape/index.js.map +1 -0
- package/esm/shape/interval/color.d.ts +25 -0
- package/esm/shape/interval/color.js +133 -0
- package/esm/shape/interval/color.js.map +1 -0
- package/esm/shape/interval/funnel.d.ts +10 -0
- package/esm/shape/interval/funnel.js +57 -0
- package/esm/shape/interval/funnel.js.map +1 -0
- package/esm/shape/interval/hollow.d.ts +6 -0
- package/esm/shape/interval/hollow.js +9 -0
- package/esm/shape/interval/hollow.js.map +1 -0
- package/esm/shape/interval/pyramid.d.ts +6 -0
- package/esm/shape/interval/pyramid.js +38 -0
- package/esm/shape/interval/pyramid.js.map +1 -0
- package/esm/shape/interval/rect.d.ts +20 -0
- package/esm/shape/interval/rect.js +10 -0
- package/esm/shape/interval/rect.js.map +1 -0
- package/esm/shape/label/label.d.ts +13 -0
- package/esm/shape/label/label.js +71 -0
- package/esm/shape/label/label.js.map +1 -0
- package/esm/shape/label/position/area.d.ts +13 -0
- package/esm/shape/label/position/area.js +28 -0
- package/esm/shape/label/position/area.js.map +1 -0
- package/esm/shape/label/position/bottom.d.ts +1 -0
- package/esm/shape/label/position/bottom.js +2 -0
- package/esm/shape/label/position/bottom.js.map +1 -0
- package/esm/shape/label/position/bottomLeft.d.ts +1 -0
- package/esm/shape/label/position/bottomLeft.js +2 -0
- package/esm/shape/label/position/bottomLeft.js.map +1 -0
- package/esm/shape/label/position/bottomRight.d.ts +1 -0
- package/esm/shape/label/position/bottomRight.js +2 -0
- package/esm/shape/label/position/bottomRight.js.map +1 -0
- package/esm/shape/label/position/default.d.ts +18 -0
- package/esm/shape/label/position/default.js +112 -0
- package/esm/shape/label/position/default.js.map +1 -0
- package/esm/shape/label/position/index.d.ts +13 -0
- package/esm/shape/label/position/index.js +14 -0
- package/esm/shape/label/position/index.js.map +1 -0
- package/esm/shape/label/position/inside.d.ts +1 -0
- package/esm/shape/label/position/inside.js +2 -0
- package/esm/shape/label/position/inside.js.map +1 -0
- package/esm/shape/label/position/left.d.ts +1 -0
- package/esm/shape/label/position/left.js +2 -0
- package/esm/shape/label/position/left.js.map +1 -0
- package/esm/shape/label/position/outside.d.ts +18 -0
- package/esm/shape/label/position/outside.js +67 -0
- package/esm/shape/label/position/outside.js.map +1 -0
- package/esm/shape/label/position/right.d.ts +1 -0
- package/esm/shape/label/position/right.js +2 -0
- package/esm/shape/label/position/right.js.map +1 -0
- package/esm/shape/label/position/spider.d.ts +8 -0
- package/esm/shape/label/position/spider.js +50 -0
- package/esm/shape/label/position/spider.js.map +1 -0
- package/esm/shape/label/position/surround.d.ts +7 -0
- package/esm/shape/label/position/surround.js +35 -0
- package/esm/shape/label/position/surround.js.map +1 -0
- package/esm/shape/label/position/top.d.ts +1 -0
- package/esm/shape/label/position/top.js +2 -0
- package/esm/shape/label/position/top.js.map +1 -0
- package/esm/shape/label/position/topLeft.d.ts +1 -0
- package/esm/shape/label/position/topLeft.js +2 -0
- package/esm/shape/label/position/topLeft.js.map +1 -0
- package/esm/shape/label/position/topRight.d.ts +1 -0
- package/esm/shape/label/position/topRight.js +2 -0
- package/esm/shape/label/position/topRight.js.map +1 -0
- package/esm/shape/label/position/utils.d.ts +2 -0
- package/esm/shape/label/position/utils.js +68 -0
- package/esm/shape/label/position/utils.js.map +1 -0
- package/esm/shape/line/curve.d.ts +8 -0
- package/esm/shape/line/curve.js +136 -0
- package/esm/shape/line/curve.js.map +1 -0
- package/esm/shape/line/hv.d.ts +3 -0
- package/esm/shape/line/hv.js +7 -0
- package/esm/shape/line/hv.js.map +1 -0
- package/esm/shape/line/hvh.d.ts +3 -0
- package/esm/shape/line/hvh.js +7 -0
- package/esm/shape/line/hvh.js.map +1 -0
- package/esm/shape/line/line.d.ts +3 -0
- package/esm/shape/line/line.js +12 -0
- package/esm/shape/line/line.js.map +1 -0
- package/esm/shape/line/smooth.d.ts +3 -0
- package/esm/shape/line/smooth.js +28 -0
- package/esm/shape/line/smooth.js.map +1 -0
- package/esm/shape/line/trail.d.ts +3 -0
- package/esm/shape/line/trail.js +77 -0
- package/esm/shape/line/trail.js.map +1 -0
- package/esm/shape/line/vh.d.ts +3 -0
- package/esm/shape/line/vh.js +7 -0
- package/esm/shape/line/vh.js.map +1 -0
- package/esm/shape/lineXY/line.d.ts +24 -0
- package/esm/shape/lineXY/line.js +71 -0
- package/esm/shape/lineXY/line.js.map +1 -0
- package/esm/shape/link/arc.d.ts +8 -0
- package/esm/shape/link/arc.js +55 -0
- package/esm/shape/link/arc.js.map +1 -0
- package/esm/shape/link/link.d.ts +8 -0
- package/esm/shape/link/link.js +18 -0
- package/esm/shape/link/link.js.map +1 -0
- package/esm/shape/link/smooth.d.ts +6 -0
- package/esm/shape/link/smooth.js +43 -0
- package/esm/shape/link/smooth.js.map +1 -0
- package/esm/shape/link/vhv.d.ts +12 -0
- package/esm/shape/link/vhv.js +73 -0
- package/esm/shape/link/vhv.js.map +1 -0
- package/esm/shape/liquid/liquid.d.ts +3 -0
- package/esm/shape/liquid/liquid.js +79 -0
- package/esm/shape/liquid/liquid.js.map +1 -0
- package/esm/shape/liquid/shapes.d.ts +38 -0
- package/esm/shape/liquid/shapes.js +93 -0
- package/esm/shape/liquid/shapes.js.map +1 -0
- package/esm/shape/liquid/wave.d.ts +16 -0
- package/esm/shape/liquid/wave.js +192 -0
- package/esm/shape/liquid/wave.js.map +1 -0
- package/esm/shape/path/color.d.ts +9 -0
- package/esm/shape/path/color.js +38 -0
- package/esm/shape/path/color.js.map +1 -0
- package/esm/shape/path/hollow.d.ts +8 -0
- package/esm/shape/path/hollow.js +14 -0
- package/esm/shape/path/hollow.js.map +1 -0
- package/esm/shape/path/path.d.ts +8 -0
- package/esm/shape/path/path.js +14 -0
- package/esm/shape/path/path.js.map +1 -0
- package/esm/shape/point/bowtie.d.ts +6 -0
- package/esm/shape/point/bowtie.js +9 -0
- package/esm/shape/point/bowtie.js.map +1 -0
- package/esm/shape/point/circle.d.ts +16 -0
- package/esm/shape/point/circle.js +56 -0
- package/esm/shape/point/circle.js.map +1 -0
- package/esm/shape/point/color.d.ts +13 -0
- package/esm/shape/point/color.js +65 -0
- package/esm/shape/point/color.js.map +1 -0
- package/esm/shape/point/cross.d.ts +6 -0
- package/esm/shape/point/cross.js +9 -0
- package/esm/shape/point/cross.js.map +1 -0
- package/esm/shape/point/diamond.d.ts +6 -0
- package/esm/shape/point/diamond.js +9 -0
- package/esm/shape/point/diamond.js.map +1 -0
- package/esm/shape/point/hexagon.d.ts +6 -0
- package/esm/shape/point/hexagon.js +9 -0
- package/esm/shape/point/hexagon.js.map +1 -0
- package/esm/shape/point/hollow.d.ts +6 -0
- package/esm/shape/point/hollow.js +9 -0
- package/esm/shape/point/hollow.js.map +1 -0
- package/esm/shape/point/hollowBowtie.d.ts +6 -0
- package/esm/shape/point/hollowBowtie.js +9 -0
- package/esm/shape/point/hollowBowtie.js.map +1 -0
- package/esm/shape/point/hollowCircle.d.ts +6 -0
- package/esm/shape/point/hollowCircle.js +9 -0
- package/esm/shape/point/hollowCircle.js.map +1 -0
- package/esm/shape/point/hollowDiamond.d.ts +6 -0
- package/esm/shape/point/hollowDiamond.js +9 -0
- package/esm/shape/point/hollowDiamond.js.map +1 -0
- package/esm/shape/point/hollowHexagon.d.ts +6 -0
- package/esm/shape/point/hollowHexagon.js +9 -0
- package/esm/shape/point/hollowHexagon.js.map +1 -0
- package/esm/shape/point/hollowSquare.d.ts +6 -0
- package/esm/shape/point/hollowSquare.js +9 -0
- package/esm/shape/point/hollowSquare.js.map +1 -0
- package/esm/shape/point/hollowTriangle.d.ts +6 -0
- package/esm/shape/point/hollowTriangle.js +9 -0
- package/esm/shape/point/hollowTriangle.js.map +1 -0
- package/esm/shape/point/hollowTriangleDown.d.ts +6 -0
- package/esm/shape/point/hollowTriangleDown.js +9 -0
- package/esm/shape/point/hollowTriangleDown.js.map +1 -0
- package/esm/shape/point/hyphen.d.ts +6 -0
- package/esm/shape/point/hyphen.js +9 -0
- package/esm/shape/point/hyphen.js.map +1 -0
- package/esm/shape/point/line.d.ts +6 -0
- package/esm/shape/point/line.js +9 -0
- package/esm/shape/point/line.js.map +1 -0
- package/esm/shape/point/plus.d.ts +6 -0
- package/esm/shape/point/plus.js +9 -0
- package/esm/shape/point/plus.js.map +1 -0
- package/esm/shape/point/point.d.ts +6 -0
- package/esm/shape/point/point.js +9 -0
- package/esm/shape/point/point.js.map +1 -0
- package/esm/shape/point/square.d.ts +6 -0
- package/esm/shape/point/square.js +9 -0
- package/esm/shape/point/square.js.map +1 -0
- package/esm/shape/point/tick.d.ts +6 -0
- package/esm/shape/point/tick.js +9 -0
- package/esm/shape/point/tick.js.map +1 -0
- package/esm/shape/point/triangle.d.ts +6 -0
- package/esm/shape/point/triangle.js +9 -0
- package/esm/shape/point/triangle.js.map +1 -0
- package/esm/shape/point/triangleDown.d.ts +6 -0
- package/esm/shape/point/triangleDown.js +9 -0
- package/esm/shape/point/triangleDown.js.map +1 -0
- package/esm/shape/polygon/polygon.d.ts +3 -0
- package/esm/shape/polygon/polygon.js +70 -0
- package/esm/shape/polygon/polygon.js.map +1 -0
- package/esm/shape/polygon/ribbon.d.ts +15 -0
- package/esm/shape/polygon/ribbon.js +73 -0
- package/esm/shape/polygon/ribbon.js.map +1 -0
- package/esm/shape/shape/shape.d.ts +6 -0
- package/esm/shape/shape/shape.js +28 -0
- package/esm/shape/shape/shape.js.map +1 -0
- package/esm/shape/text/advance.d.ts +2 -0
- package/esm/shape/text/advance.js +176 -0
- package/esm/shape/text/advance.js.map +1 -0
- package/esm/shape/text/badge.d.ts +7 -0
- package/esm/shape/text/badge.js +78 -0
- package/esm/shape/text/badge.js.map +1 -0
- package/esm/shape/text/tag.d.ts +7 -0
- package/esm/shape/text/tag.js +40 -0
- package/esm/shape/text/tag.js.map +1 -0
- package/esm/shape/text/text.d.ts +6 -0
- package/esm/shape/text/text.js +35 -0
- package/esm/shape/text/text.js.map +1 -0
- package/esm/shape/utils.d.ts +56 -0
- package/esm/shape/utils.js +166 -0
- package/esm/shape/utils.js.map +1 -0
- package/esm/shape/vector/vector.d.ts +8 -0
- package/esm/shape/vector/vector.js +53 -0
- package/esm/shape/vector/vector.js.map +1 -0
- package/esm/spec/animate.d.ts +23 -0
- package/esm/spec/animate.js +2 -0
- package/esm/spec/animate.js.map +1 -0
- package/esm/spec/component.d.ts +72 -0
- package/esm/spec/component.js +2 -0
- package/esm/spec/component.js.map +1 -0
- package/esm/spec/composition.d.ts +196 -0
- package/esm/spec/composition.js +2 -0
- package/esm/spec/composition.js.map +1 -0
- package/esm/spec/coordinate.d.ts +56 -0
- package/esm/spec/coordinate.js +2 -0
- package/esm/spec/coordinate.js.map +1 -0
- package/esm/spec/coordinateTransform.d.ts +13 -0
- package/esm/spec/coordinateTransform.js +2 -0
- package/esm/spec/coordinateTransform.js.map +1 -0
- package/esm/spec/data.d.ts +17 -0
- package/esm/spec/data.js +2 -0
- package/esm/spec/data.js.map +1 -0
- package/esm/spec/dataTransform.d.ts +152 -0
- package/esm/spec/dataTransform.js +2 -0
- package/esm/spec/dataTransform.js.map +1 -0
- package/esm/spec/encode.d.ts +23 -0
- package/esm/spec/encode.js +2 -0
- package/esm/spec/encode.js.map +1 -0
- package/esm/spec/index.d.ts +24 -0
- package/esm/spec/index.js +16 -0
- package/esm/spec/index.js.map +1 -0
- package/esm/spec/interaction.d.ts +143 -0
- package/esm/spec/interaction.js +2 -0
- package/esm/spec/interaction.js.map +1 -0
- package/esm/spec/labelTransform.d.ts +33 -0
- package/esm/spec/labelTransform.js +2 -0
- package/esm/spec/labelTransform.js.map +1 -0
- package/esm/spec/mark.d.ts +209 -0
- package/esm/spec/mark.js +2 -0
- package/esm/spec/mark.js.map +1 -0
- package/esm/spec/palette.d.ts +13 -0
- package/esm/spec/palette.js +2 -0
- package/esm/spec/palette.js.map +1 -0
- package/esm/spec/scale.d.ts +39 -0
- package/esm/spec/scale.js +2 -0
- package/esm/spec/scale.js.map +1 -0
- package/esm/spec/theme.d.ts +21 -0
- package/esm/spec/theme.js +2 -0
- package/esm/spec/theme.js.map +1 -0
- package/esm/spec/transform.d.ts +166 -0
- package/esm/spec/transform.js +2 -0
- package/esm/spec/transform.js.map +1 -0
- package/esm/spec/utils.d.ts +12 -0
- package/esm/spec/utils.js +2 -0
- package/esm/spec/utils.js.map +1 -0
- package/esm/theme/academy.d.ts +20 -0
- package/esm/theme/academy.js +102 -0
- package/esm/theme/academy.js.map +1 -0
- package/esm/theme/classic.d.ts +6 -0
- package/esm/theme/classic.js +13 -0
- package/esm/theme/classic.js.map +1 -0
- package/esm/theme/classicDark.d.ts +6 -0
- package/esm/theme/classicDark.js +12 -0
- package/esm/theme/classicDark.js.map +1 -0
- package/esm/theme/create.d.ts +443 -0
- package/esm/theme/create.js +427 -0
- package/esm/theme/create.js.map +1 -0
- package/esm/theme/dark.d.ts +20 -0
- package/esm/theme/dark.js +77 -0
- package/esm/theme/dark.js.map +1 -0
- package/esm/theme/index.d.ts +5 -0
- package/esm/theme/index.js +6 -0
- package/esm/theme/index.js.map +1 -0
- package/esm/theme/light.d.ts +23 -0
- package/esm/theme/light.js +60 -0
- package/esm/theme/light.js.map +1 -0
- package/esm/transform/bin.d.ts +12 -0
- package/esm/transform/bin.js +82 -0
- package/esm/transform/bin.js.map +1 -0
- package/esm/transform/binX.d.ts +4 -0
- package/esm/transform/binX.js +7 -0
- package/esm/transform/binX.js.map +1 -0
- package/esm/transform/diffY.d.ts +8 -0
- package/esm/transform/diffY.js +40 -0
- package/esm/transform/diffY.js.map +1 -0
- package/esm/transform/dodgeX.d.ts +9 -0
- package/esm/transform/dodgeX.js +65 -0
- package/esm/transform/dodgeX.js.map +1 -0
- package/esm/transform/filter.d.ts +7 -0
- package/esm/transform/filter.js +86 -0
- package/esm/transform/filter.js.map +1 -0
- package/esm/transform/flexX.d.ts +7 -0
- package/esm/transform/flexX.js +31 -0
- package/esm/transform/flexX.js.map +1 -0
- package/esm/transform/group.d.ts +10 -0
- package/esm/transform/group.js +23 -0
- package/esm/transform/group.js.map +1 -0
- package/esm/transform/groupColor.d.ts +7 -0
- package/esm/transform/groupColor.js +9 -0
- package/esm/transform/groupColor.js.map +1 -0
- package/esm/transform/groupN.d.ts +9 -0
- package/esm/transform/groupN.js +116 -0
- package/esm/transform/groupN.js.map +1 -0
- package/esm/transform/groupX.d.ts +7 -0
- package/esm/transform/groupX.js +9 -0
- package/esm/transform/groupX.js.map +1 -0
- package/esm/transform/groupY.d.ts +7 -0
- package/esm/transform/groupY.js +9 -0
- package/esm/transform/groupY.js.map +1 -0
- package/esm/transform/index.d.ts +89 -0
- package/esm/transform/index.js +47 -0
- package/esm/transform/index.js.map +1 -0
- package/esm/transform/jitter.d.ts +10 -0
- package/esm/transform/jitter.js +45 -0
- package/esm/transform/jitter.js.map +1 -0
- package/esm/transform/jitterX.d.ts +8 -0
- package/esm/transform/jitterX.js +25 -0
- package/esm/transform/jitterX.js.map +1 -0
- package/esm/transform/jitterY.d.ts +8 -0
- package/esm/transform/jitterY.js +25 -0
- package/esm/transform/jitterY.js.map +1 -0
- package/esm/transform/maybeDefaultX.d.ts +7 -0
- package/esm/transform/maybeDefaultX.js +29 -0
- package/esm/transform/maybeDefaultX.js.map +1 -0
- package/esm/transform/maybeDefaultY.d.ts +7 -0
- package/esm/transform/maybeDefaultY.js +29 -0
- package/esm/transform/maybeDefaultY.js.map +1 -0
- package/esm/transform/maybeFunctionAttribute.d.ts +6 -0
- package/esm/transform/maybeFunctionAttribute.js +19 -0
- package/esm/transform/maybeFunctionAttribute.js.map +1 -0
- package/esm/transform/maybeGradient.d.ts +7 -0
- package/esm/transform/maybeGradient.js +25 -0
- package/esm/transform/maybeGradient.js.map +1 -0
- package/esm/transform/maybeIdentityX.d.ts +7 -0
- package/esm/transform/maybeIdentityX.js +18 -0
- package/esm/transform/maybeIdentityX.js.map +1 -0
- package/esm/transform/maybeIdentityY.d.ts +7 -0
- package/esm/transform/maybeIdentityY.js +18 -0
- package/esm/transform/maybeIdentityY.js.map +1 -0
- package/esm/transform/maybeKey.d.ts +6 -0
- package/esm/transform/maybeKey.js +32 -0
- package/esm/transform/maybeKey.js.map +1 -0
- package/esm/transform/maybeSeries.d.ts +6 -0
- package/esm/transform/maybeSeries.js +17 -0
- package/esm/transform/maybeSeries.js.map +1 -0
- package/esm/transform/maybeSize.d.ts +7 -0
- package/esm/transform/maybeSize.js +20 -0
- package/esm/transform/maybeSize.js.map +1 -0
- package/esm/transform/maybeStackY.d.ts +9 -0
- package/esm/transform/maybeStackY.js +30 -0
- package/esm/transform/maybeStackY.js.map +1 -0
- package/esm/transform/maybeTitle.d.ts +8 -0
- package/esm/transform/maybeTitle.js +45 -0
- package/esm/transform/maybeTitle.js.map +1 -0
- package/esm/transform/maybeTooltip.d.ts +8 -0
- package/esm/transform/maybeTooltip.js +36 -0
- package/esm/transform/maybeTooltip.js.map +1 -0
- package/esm/transform/maybeTuple.d.ts +7 -0
- package/esm/transform/maybeTuple.js +19 -0
- package/esm/transform/maybeTuple.js.map +1 -0
- package/esm/transform/maybeTupleX.d.ts +7 -0
- package/esm/transform/maybeTupleX.js +16 -0
- package/esm/transform/maybeTupleX.js.map +1 -0
- package/esm/transform/maybeTupleY.d.ts +7 -0
- package/esm/transform/maybeTupleY.js +16 -0
- package/esm/transform/maybeTupleY.js.map +1 -0
- package/esm/transform/maybeVisualPosition.d.ts +7 -0
- package/esm/transform/maybeVisualPosition.js +45 -0
- package/esm/transform/maybeVisualPosition.js.map +1 -0
- package/esm/transform/maybeZeroPadding.d.ts +6 -0
- package/esm/transform/maybeZeroPadding.js +14 -0
- package/esm/transform/maybeZeroPadding.js.map +1 -0
- package/esm/transform/maybeZeroX.d.ts +7 -0
- package/esm/transform/maybeZeroX.js +23 -0
- package/esm/transform/maybeZeroX.js.map +1 -0
- package/esm/transform/maybeZeroY.d.ts +6 -0
- package/esm/transform/maybeZeroY.js +22 -0
- package/esm/transform/maybeZeroY.js.map +1 -0
- package/esm/transform/maybeZeroY1.d.ts +6 -0
- package/esm/transform/maybeZeroY1.js +21 -0
- package/esm/transform/maybeZeroY1.js.map +1 -0
- package/esm/transform/maybeZeroZ.d.ts +6 -0
- package/esm/transform/maybeZeroZ.js +22 -0
- package/esm/transform/maybeZeroZ.js.map +1 -0
- package/esm/transform/normalizeY.d.ts +9 -0
- package/esm/transform/normalizeY.js +74 -0
- package/esm/transform/normalizeY.js.map +1 -0
- package/esm/transform/pack.d.ts +9 -0
- package/esm/transform/pack.js +62 -0
- package/esm/transform/pack.js.map +1 -0
- package/esm/transform/sample.d.ts +8 -0
- package/esm/transform/sample.js +64 -0
- package/esm/transform/sample.js.map +1 -0
- package/esm/transform/select.d.ts +9 -0
- package/esm/transform/select.js +41 -0
- package/esm/transform/select.js.map +1 -0
- package/esm/transform/selectX.d.ts +7 -0
- package/esm/transform/selectX.js +21 -0
- package/esm/transform/selectX.js.map +1 -0
- package/esm/transform/selectY.d.ts +7 -0
- package/esm/transform/selectY.js +21 -0
- package/esm/transform/selectY.js.map +1 -0
- package/esm/transform/sort.d.ts +14 -0
- package/esm/transform/sort.js +60 -0
- package/esm/transform/sort.js.map +1 -0
- package/esm/transform/sortColor.d.ts +7 -0
- package/esm/transform/sortColor.js +9 -0
- package/esm/transform/sortColor.js.map +1 -0
- package/esm/transform/sortX.d.ts +7 -0
- package/esm/transform/sortX.js +9 -0
- package/esm/transform/sortX.js.map +1 -0
- package/esm/transform/sortY.d.ts +7 -0
- package/esm/transform/sortY.js +9 -0
- package/esm/transform/sortY.js.map +1 -0
- package/esm/transform/stackEnter.d.ts +14 -0
- package/esm/transform/stackEnter.js +72 -0
- package/esm/transform/stackEnter.js.map +1 -0
- package/esm/transform/stackY.d.ts +9 -0
- package/esm/transform/stackY.js +107 -0
- package/esm/transform/stackY.js.map +1 -0
- package/esm/transform/symmetryY.d.ts +8 -0
- package/esm/transform/symmetryY.js +60 -0
- package/esm/transform/symmetryY.js.map +1 -0
- package/esm/transform/utils/helper.d.ts +28 -0
- package/esm/transform/utils/helper.js +50 -0
- package/esm/transform/utils/helper.js.map +1 -0
- package/esm/transform/utils/lttb.d.ts +5 -0
- package/esm/transform/utils/lttb.js +56 -0
- package/esm/transform/utils/lttb.js.map +1 -0
- package/esm/transform/utils/order.d.ts +9 -0
- package/esm/transform/utils/order.js +74 -0
- package/esm/transform/utils/order.js.map +1 -0
- package/esm/utils/angle.d.ts +6 -0
- package/esm/utils/angle.js +25 -0
- package/esm/utils/angle.js.map +1 -0
- package/esm/utils/array.d.ts +22 -0
- package/esm/utils/array.js +77 -0
- package/esm/utils/array.js.map +1 -0
- package/esm/utils/bounds.d.ts +28 -0
- package/esm/utils/bounds.js +48 -0
- package/esm/utils/bounds.js.map +1 -0
- package/esm/utils/color.d.ts +6 -0
- package/esm/utils/color.js +7 -0
- package/esm/utils/color.js.map +1 -0
- package/esm/utils/container.d.ts +8 -0
- package/esm/utils/container.js +16 -0
- package/esm/utils/container.js.map +1 -0
- package/esm/utils/coordinate.d.ts +16 -0
- package/esm/utils/coordinate.js +75 -0
- package/esm/utils/coordinate.js.map +1 -0
- package/esm/utils/createElement.d.ts +5 -0
- package/esm/utils/createElement.js +16 -0
- package/esm/utils/createElement.js.map +1 -0
- package/esm/utils/dateFormat.d.ts +1 -0
- package/esm/utils/dateFormat.js +18 -0
- package/esm/utils/dateFormat.js.map +1 -0
- package/esm/utils/event.d.ts +32 -0
- package/esm/utils/event.js +34 -0
- package/esm/utils/event.js.map +1 -0
- package/esm/utils/expr.d.ts +8 -0
- package/esm/utils/expr.js +51 -0
- package/esm/utils/expr.js.map +1 -0
- package/esm/utils/flow.d.ts +7 -0
- package/esm/utils/flow.js +12 -0
- package/esm/utils/flow.js.map +1 -0
- package/esm/utils/helper.d.ts +55 -0
- package/esm/utils/helper.js +195 -0
- package/esm/utils/helper.js.map +1 -0
- package/esm/utils/lru.d.ts +4 -0
- package/esm/utils/lru.js +18 -0
- package/esm/utils/lru.js.map +1 -0
- package/esm/utils/mark.d.ts +4 -0
- package/esm/utils/mark.js +29 -0
- package/esm/utils/mark.js.map +1 -0
- package/esm/utils/marker.d.ts +10 -0
- package/esm/utils/marker.js +250 -0
- package/esm/utils/marker.js.map +1 -0
- package/esm/utils/number.d.ts +8 -0
- package/esm/utils/number.js +15 -0
- package/esm/utils/number.js.map +1 -0
- package/esm/utils/scale.d.ts +6 -0
- package/esm/utils/scale.js +74 -0
- package/esm/utils/scale.js.map +1 -0
- package/esm/utils/selection.d.ts +67 -0
- package/esm/utils/selection.js +303 -0
- package/esm/utils/selection.js.map +1 -0
- package/esm/utils/size.d.ts +17 -0
- package/esm/utils/size.js +43 -0
- package/esm/utils/size.js.map +1 -0
- package/esm/utils/string.d.ts +12 -0
- package/esm/utils/string.js +19 -0
- package/esm/utils/string.js.map +1 -0
- package/esm/utils/style.d.ts +5 -0
- package/esm/utils/style.js +23 -0
- package/esm/utils/style.js.map +1 -0
- package/esm/utils/treeDataTransform.d.ts +28 -0
- package/esm/utils/treeDataTransform.js +94 -0
- package/esm/utils/treeDataTransform.js.map +1 -0
- package/esm/utils/vector.d.ts +20 -0
- package/esm/utils/vector.js +52 -0
- package/esm/utils/vector.js.map +1 -0
- package/lib/animation/fadeIn.d.ts +7 -0
- package/lib/animation/fadeIn.js +24 -0
- package/lib/animation/fadeIn.js.map +1 -0
- package/lib/animation/fadeOut.d.ts +7 -0
- package/lib/animation/fadeOut.js +24 -0
- package/lib/animation/fadeOut.js.map +1 -0
- package/lib/animation/growInX.d.ts +7 -0
- package/lib/animation/growInX.js +28 -0
- package/lib/animation/growInX.js.map +1 -0
- package/lib/animation/growInY.d.ts +7 -0
- package/lib/animation/growInY.js +28 -0
- package/lib/animation/growInY.js.map +1 -0
- package/lib/animation/index.d.ts +24 -0
- package/lib/animation/index.js +30 -0
- package/lib/animation/index.js.map +1 -0
- package/lib/animation/morphing.d.ts +13 -0
- package/lib/animation/morphing.js +239 -0
- package/lib/animation/morphing.js.map +1 -0
- package/lib/animation/pathIn.d.ts +7 -0
- package/lib/animation/pathIn.js +21 -0
- package/lib/animation/pathIn.js.map +1 -0
- package/lib/animation/scaleInX.d.ts +7 -0
- package/lib/animation/scaleInX.js +50 -0
- package/lib/animation/scaleInX.js.map +1 -0
- package/lib/animation/scaleInY.d.ts +7 -0
- package/lib/animation/scaleInY.js +99 -0
- package/lib/animation/scaleInY.js.map +1 -0
- package/lib/animation/scaleOutX.d.ts +7 -0
- package/lib/animation/scaleOutX.js +47 -0
- package/lib/animation/scaleOutX.js.map +1 -0
- package/lib/animation/scaleOutY.d.ts +7 -0
- package/lib/animation/scaleOutY.js +47 -0
- package/lib/animation/scaleOutY.js.map +1 -0
- package/lib/animation/types.d.ts +6 -0
- package/lib/animation/types.js +3 -0
- package/lib/animation/types.js.map +1 -0
- package/lib/animation/utils.d.ts +12 -0
- package/lib/animation/utils.js +51 -0
- package/lib/animation/utils.js.map +1 -0
- package/lib/animation/waveIn.d.ts +7 -0
- package/lib/animation/waveIn.js +70 -0
- package/lib/animation/waveIn.js.map +1 -0
- package/lib/animation/zoomIn.d.ts +4 -0
- package/lib/animation/zoomIn.js +41 -0
- package/lib/animation/zoomIn.js.map +1 -0
- package/lib/animation/zoomOut.d.ts +4 -0
- package/lib/animation/zoomOut.js +35 -0
- package/lib/animation/zoomOut.js.map +1 -0
- package/lib/api/chart.d.ts +13 -0
- package/lib/api/chart.js +8 -0
- package/lib/api/chart.js.map +1 -0
- package/lib/api/composition.d.ts +37 -0
- package/lib/api/composition.js +90 -0
- package/lib/api/composition.js.map +1 -0
- package/lib/api/define.d.ts +14 -0
- package/lib/api/define.js +97 -0
- package/lib/api/define.js.map +1 -0
- package/lib/api/extend.d.ts +15 -0
- package/lib/api/extend.js +13 -0
- package/lib/api/extend.js.map +1 -0
- package/lib/api/index.d.ts +4 -0
- package/lib/api/index.js +12 -0
- package/lib/api/index.js.map +1 -0
- package/lib/api/library.d.ts +4 -0
- package/lib/api/library.js +14 -0
- package/lib/api/library.js.map +1 -0
- package/lib/api/mark.d.ts +29 -0
- package/lib/api/mark.js +69 -0
- package/lib/api/mark.js.map +1 -0
- package/lib/api/node.d.ts +40 -0
- package/lib/api/node.js +125 -0
- package/lib/api/node.js.map +1 -0
- package/lib/api/props.d.ts +171 -0
- package/lib/api/props.js +25 -0
- package/lib/api/props.js.map +1 -0
- package/lib/api/runtime.d.ts +67 -0
- package/lib/api/runtime.js +313 -0
- package/lib/api/runtime.js.map +1 -0
- package/lib/api/types.d.ts +65 -0
- package/lib/api/types.js +3 -0
- package/lib/api/types.js.map +1 -0
- package/lib/api/utils.d.ts +25 -0
- package/lib/api/utils.js +263 -0
- package/lib/api/utils.js.map +1 -0
- package/lib/component/axis.d.ts +29 -0
- package/lib/component/axis.js +408 -0
- package/lib/component/axis.js.map +1 -0
- package/lib/component/axisArc.d.ts +7 -0
- package/lib/component/axisArc.js +13 -0
- package/lib/component/axisArc.js.map +1 -0
- package/lib/component/axisRadar.d.ts +9 -0
- package/lib/component/axisRadar.js +51 -0
- package/lib/component/axisRadar.js.map +1 -0
- package/lib/component/axisX.d.ts +8 -0
- package/lib/component/axisX.js +20 -0
- package/lib/component/axisX.js.map +1 -0
- package/lib/component/axisY.d.ts +7 -0
- package/lib/component/axisY.js +17 -0
- package/lib/component/axisY.js.map +1 -0
- package/lib/component/constant.d.ts +14 -0
- package/lib/component/constant.js +244 -0
- package/lib/component/constant.js.map +1 -0
- package/lib/component/index.d.ts +26 -0
- package/lib/component/index.js +35 -0
- package/lib/component/index.js.map +1 -0
- package/lib/component/legendCategory.d.ts +15 -0
- package/lib/component/legendCategory.js +179 -0
- package/lib/component/legendCategory.js.map +1 -0
- package/lib/component/legendContinuous.d.ts +12 -0
- package/lib/component/legendContinuous.js +151 -0
- package/lib/component/legendContinuous.js.map +1 -0
- package/lib/component/legendContinuousBlock.d.ts +4 -0
- package/lib/component/legendContinuousBlock.js +10 -0
- package/lib/component/legendContinuousBlock.js.map +1 -0
- package/lib/component/legendContinuousBlockSize.d.ts +4 -0
- package/lib/component/legendContinuousBlockSize.js +11 -0
- package/lib/component/legendContinuousBlockSize.js.map +1 -0
- package/lib/component/legendContinuousSize.d.ts +4 -0
- package/lib/component/legendContinuousSize.js +21 -0
- package/lib/component/legendContinuousSize.js.map +1 -0
- package/lib/component/legends.d.ts +3 -0
- package/lib/component/legends.js +13 -0
- package/lib/component/legends.js.map +1 -0
- package/lib/component/scrollbar.d.ts +10 -0
- package/lib/component/scrollbar.js +45 -0
- package/lib/component/scrollbar.js.map +1 -0
- package/lib/component/scrollbarX.d.ts +7 -0
- package/lib/component/scrollbarX.js +13 -0
- package/lib/component/scrollbarX.js.map +1 -0
- package/lib/component/scrollbarY.d.ts +7 -0
- package/lib/component/scrollbarY.js +13 -0
- package/lib/component/scrollbarY.js.map +1 -0
- package/lib/component/slider.d.ts +13 -0
- package/lib/component/slider.js +99 -0
- package/lib/component/slider.js.map +1 -0
- package/lib/component/sliderX.d.ts +7 -0
- package/lib/component/sliderX.js +13 -0
- package/lib/component/sliderX.js.map +1 -0
- package/lib/component/sliderY.d.ts +7 -0
- package/lib/component/sliderY.js +13 -0
- package/lib/component/sliderY.js.map +1 -0
- package/lib/component/title.d.ts +6 -0
- package/lib/component/title.js +83 -0
- package/lib/component/title.js.map +1 -0
- package/lib/component/utils.d.ts +36 -0
- package/lib/component/utils.js +162 -0
- package/lib/component/utils.js.map +1 -0
- package/lib/composition/d3Projection.d.ts +1 -0
- package/lib/composition/d3Projection.js +36 -0
- package/lib/composition/d3Projection.js.map +1 -0
- package/lib/composition/facetCircle.d.ts +7 -0
- package/lib/composition/facetCircle.js +89 -0
- package/lib/composition/facetCircle.js.map +1 -0
- package/lib/composition/facetRect.d.ts +31 -0
- package/lib/composition/facetRect.js +301 -0
- package/lib/composition/facetRect.js.map +1 -0
- package/lib/composition/geoPath.d.ts +7 -0
- package/lib/composition/geoPath.js +41 -0
- package/lib/composition/geoPath.js.map +1 -0
- package/lib/composition/geoView.d.ts +7 -0
- package/lib/composition/geoView.js +246 -0
- package/lib/composition/geoView.js.map +1 -0
- package/lib/composition/index.d.ts +18 -0
- package/lib/composition/index.js +24 -0
- package/lib/composition/index.js.map +1 -0
- package/lib/composition/mark.d.ts +4 -0
- package/lib/composition/mark.js +55 -0
- package/lib/composition/mark.js.map +1 -0
- package/lib/composition/repeatMatrix.d.ts +8 -0
- package/lib/composition/repeatMatrix.js +156 -0
- package/lib/composition/repeatMatrix.js.map +1 -0
- package/lib/composition/spaceFlex.d.ts +7 -0
- package/lib/composition/spaceFlex.js +44 -0
- package/lib/composition/spaceFlex.js.map +1 -0
- package/lib/composition/spaceLayer.d.ts +7 -0
- package/lib/composition/spaceLayer.js +33 -0
- package/lib/composition/spaceLayer.js.map +1 -0
- package/lib/composition/timingKeyframe.d.ts +7 -0
- package/lib/composition/timingKeyframe.js +84 -0
- package/lib/composition/timingKeyframe.js.map +1 -0
- package/lib/composition/utils.d.ts +18 -0
- package/lib/composition/utils.js +48 -0
- package/lib/composition/utils.js.map +1 -0
- package/lib/composition/view.d.ts +9 -0
- package/lib/composition/view.js +37 -0
- package/lib/composition/view.js.map +1 -0
- package/lib/coordinate/cartesian.d.ts +7 -0
- package/lib/coordinate/cartesian.js +10 -0
- package/lib/coordinate/cartesian.js.map +1 -0
- package/lib/coordinate/fisheye.d.ts +7 -0
- package/lib/coordinate/fisheye.js +10 -0
- package/lib/coordinate/fisheye.js.map +1 -0
- package/lib/coordinate/helix.d.ts +7 -0
- package/lib/coordinate/helix.js +15 -0
- package/lib/coordinate/helix.js.map +1 -0
- package/lib/coordinate/index.d.ts +18 -0
- package/lib/coordinate/index.js +25 -0
- package/lib/coordinate/index.js.map +1 -0
- package/lib/coordinate/parallel.d.ts +7 -0
- package/lib/coordinate/parallel.js +10 -0
- package/lib/coordinate/parallel.js.map +1 -0
- package/lib/coordinate/polar.d.ts +15 -0
- package/lib/coordinate/polar.js +31 -0
- package/lib/coordinate/polar.js.map +1 -0
- package/lib/coordinate/radar.d.ts +7 -0
- package/lib/coordinate/radar.js +18 -0
- package/lib/coordinate/radar.js.map +1 -0
- package/lib/coordinate/radial.d.ts +14 -0
- package/lib/coordinate/radial.js +30 -0
- package/lib/coordinate/radial.js.map +1 -0
- package/lib/coordinate/theta.d.ts +15 -0
- package/lib/coordinate/theta.js +28 -0
- package/lib/coordinate/theta.js.map +1 -0
- package/lib/coordinate/transpose.d.ts +7 -0
- package/lib/coordinate/transpose.js +15 -0
- package/lib/coordinate/transpose.js.map +1 -0
- package/lib/data/arc.d.ts +6 -0
- package/lib/data/arc.js +15 -0
- package/lib/data/arc.js.map +1 -0
- package/lib/data/cluster.d.ts +7 -0
- package/lib/data/cluster.js +42 -0
- package/lib/data/cluster.js.map +1 -0
- package/lib/data/custom.d.ts +7 -0
- package/lib/data/custom.js +14 -0
- package/lib/data/custom.js.map +1 -0
- package/lib/data/ema.d.ts +10 -0
- package/lib/data/ema.js +49 -0
- package/lib/data/ema.js.map +1 -0
- package/lib/data/fetch.d.ts +4 -0
- package/lib/data/fetch.js +32 -0
- package/lib/data/fetch.js.map +1 -0
- package/lib/data/filter.d.ts +9 -0
- package/lib/data/filter.js +18 -0
- package/lib/data/filter.js.map +1 -0
- package/lib/data/fold.d.ts +10 -0
- package/lib/data/fold.js +23 -0
- package/lib/data/fold.js.map +1 -0
- package/lib/data/index.d.ts +42 -0
- package/lib/data/index.js +46 -0
- package/lib/data/index.js.map +1 -0
- package/lib/data/inline.d.ts +4 -0
- package/lib/data/inline.js +10 -0
- package/lib/data/inline.js.map +1 -0
- package/lib/data/join.d.ts +7 -0
- package/lib/data/join.js +26 -0
- package/lib/data/join.js.map +1 -0
- package/lib/data/kde.d.ts +10 -0
- package/lib/data/kde.js +38 -0
- package/lib/data/kde.js.map +1 -0
- package/lib/data/log.d.ts +7 -0
- package/lib/data/log.js +15 -0
- package/lib/data/log.js.map +1 -0
- package/lib/data/map.d.ts +7 -0
- package/lib/data/map.js +14 -0
- package/lib/data/map.js.map +1 -0
- package/lib/data/pick.d.ts +7 -0
- package/lib/data/pick.js +22 -0
- package/lib/data/pick.js.map +1 -0
- package/lib/data/rename.d.ts +8 -0
- package/lib/data/rename.js +21 -0
- package/lib/data/rename.js.map +1 -0
- package/lib/data/sankey.d.ts +7 -0
- package/lib/data/sankey.js +81 -0
- package/lib/data/sankey.js.map +1 -0
- package/lib/data/slice.d.ts +8 -0
- package/lib/data/slice.js +14 -0
- package/lib/data/slice.js.map +1 -0
- package/lib/data/sort.d.ts +8 -0
- package/lib/data/sort.js +17 -0
- package/lib/data/sort.js.map +1 -0
- package/lib/data/sortBy.d.ts +7 -0
- package/lib/data/sortBy.js +28 -0
- package/lib/data/sortBy.js.map +1 -0
- package/lib/data/tree.d.ts +3 -0
- package/lib/data/tree.js +11 -0
- package/lib/data/tree.js.map +1 -0
- package/lib/data/utils/arc/arc.d.ts +31 -0
- package/lib/data/utils/arc/arc.js +188 -0
- package/lib/data/utils/arc/arc.js.map +1 -0
- package/lib/data/utils/arc/index.d.ts +2 -0
- package/lib/data/utils/arc/index.js +6 -0
- package/lib/data/utils/arc/index.js.map +1 -0
- package/lib/data/utils/arc/sort.d.ts +4 -0
- package/lib/data/utils/arc/sort.js +20 -0
- package/lib/data/utils/arc/sort.js.map +1 -0
- package/lib/data/utils/arc/types.d.ts +51 -0
- package/lib/data/utils/arc/types.js +3 -0
- package/lib/data/utils/arc/types.js.map +1 -0
- package/lib/data/utils/d3-cloud/index.d.ts +1 -0
- package/lib/data/utils/d3-cloud/index.js +402 -0
- package/lib/data/utils/d3-cloud/index.js.map +1 -0
- package/lib/data/utils/d3-sankey/align.d.ts +4 -0
- package/lib/data/utils/d3-sankey/align.js +28 -0
- package/lib/data/utils/d3-sankey/align.js.map +1 -0
- package/lib/data/utils/d3-sankey/constant.d.ts +1 -0
- package/lib/data/utils/d3-sankey/constant.js +10 -0
- package/lib/data/utils/d3-sankey/constant.js.map +1 -0
- package/lib/data/utils/d3-sankey/index.d.ts +12 -0
- package/lib/data/utils/d3-sankey/index.js +20 -0
- package/lib/data/utils/d3-sankey/index.js.map +1 -0
- package/lib/data/utils/d3-sankey/sankey.d.ts +24 -0
- package/lib/data/utils/d3-sankey/sankey.js +392 -0
- package/lib/data/utils/d3-sankey/sankey.js.map +1 -0
- package/lib/data/utils/fields.d.ts +6 -0
- package/lib/data/utils/fields.js +19 -0
- package/lib/data/utils/fields.js.map +1 -0
- package/lib/data/utils/flow.d.ts +9 -0
- package/lib/data/utils/flow.js +49 -0
- package/lib/data/utils/flow.js.map +1 -0
- package/lib/data/utils/memo.d.ts +17 -0
- package/lib/data/utils/memo.js +85 -0
- package/lib/data/utils/memo.js.map +1 -0
- package/lib/data/utils/venn/circleintersection.d.ts +33 -0
- package/lib/data/utils/venn/circleintersection.js +202 -0
- package/lib/data/utils/venn/circleintersection.js.map +1 -0
- package/lib/data/utils/venn/diagram.d.ts +2 -0
- package/lib/data/utils/venn/diagram.js +48 -0
- package/lib/data/utils/venn/diagram.js.map +1 -0
- package/lib/data/utils/venn/index.d.ts +5 -0
- package/lib/data/utils/venn/index.js +12 -0
- package/lib/data/utils/venn/index.js.map +1 -0
- package/lib/data/utils/venn/layout.d.ts +27 -0
- package/lib/data/utils/venn/layout.js +620 -0
- package/lib/data/utils/venn/layout.js.map +1 -0
- package/lib/data/venn.d.ts +7 -0
- package/lib/data/venn.js +38 -0
- package/lib/data/venn.js.map +1 -0
- package/lib/data/wordCloud.d.ts +110 -0
- package/lib/data/wordCloud.js +127 -0
- package/lib/data/wordCloud.js.map +1 -0
- package/lib/encode/column.d.ts +7 -0
- package/lib/encode/column.js +12 -0
- package/lib/encode/column.js.map +1 -0
- package/lib/encode/constant.d.ts +7 -0
- package/lib/encode/constant.js +12 -0
- package/lib/encode/constant.js.map +1 -0
- package/lib/encode/field.d.ts +7 -0
- package/lib/encode/field.js +12 -0
- package/lib/encode/field.js.map +1 -0
- package/lib/encode/index.d.ts +8 -0
- package/lib/encode/index.js +12 -0
- package/lib/encode/index.js.map +1 -0
- package/lib/encode/transform.d.ts +9 -0
- package/lib/encode/transform.js +14 -0
- package/lib/encode/transform.js.map +1 -0
- package/lib/exports.d.ts +12 -0
- package/lib/exports.js +55 -0
- package/lib/exports.js.map +1 -0
- package/lib/index.d.ts +356 -0
- package/lib/index.js +31 -0
- package/lib/index.js.map +1 -0
- package/lib/interaction/brushAxisHighlight.d.ts +29 -0
- package/lib/interaction/brushAxisHighlight.js +286 -0
- package/lib/interaction/brushAxisHighlight.js.map +1 -0
- package/lib/interaction/brushFilter.d.ts +18 -0
- package/lib/interaction/brushFilter.js +147 -0
- package/lib/interaction/brushFilter.js.map +1 -0
- package/lib/interaction/brushHighlight.d.ts +48 -0
- package/lib/interaction/brushHighlight.js +592 -0
- package/lib/interaction/brushHighlight.js.map +1 -0
- package/lib/interaction/brushXFilter.d.ts +1 -0
- package/lib/interaction/brushXFilter.js +10 -0
- package/lib/interaction/brushXFilter.js.map +1 -0
- package/lib/interaction/brushXHighlight.d.ts +7 -0
- package/lib/interaction/brushXHighlight.js +14 -0
- package/lib/interaction/brushXHighlight.js.map +1 -0
- package/lib/interaction/brushYFilter.d.ts +1 -0
- package/lib/interaction/brushYFilter.js +10 -0
- package/lib/interaction/brushYFilter.js.map +1 -0
- package/lib/interaction/brushYHighlight.d.ts +7 -0
- package/lib/interaction/brushYHighlight.js +14 -0
- package/lib/interaction/brushYHighlight.js.map +1 -0
- package/lib/interaction/chartIndex.d.ts +9 -0
- package/lib/interaction/chartIndex.js +182 -0
- package/lib/interaction/chartIndex.js.map +1 -0
- package/lib/interaction/elementHighlight.d.ts +23 -0
- package/lib/interaction/elementHighlight.js +174 -0
- package/lib/interaction/elementHighlight.js.map +1 -0
- package/lib/interaction/elementHighlightByColor.d.ts +6 -0
- package/lib/interaction/elementHighlightByColor.js +13 -0
- package/lib/interaction/elementHighlightByColor.js.map +1 -0
- package/lib/interaction/elementHighlightByX.d.ts +6 -0
- package/lib/interaction/elementHighlightByX.js +13 -0
- package/lib/interaction/elementHighlightByX.js.map +1 -0
- package/lib/interaction/elementPointMove.d.ts +9 -0
- package/lib/interaction/elementPointMove.js +510 -0
- package/lib/interaction/elementPointMove.js.map +1 -0
- package/lib/interaction/elementSelect.d.ts +24 -0
- package/lib/interaction/elementSelect.js +239 -0
- package/lib/interaction/elementSelect.js.map +1 -0
- package/lib/interaction/elementSelectByColor.d.ts +6 -0
- package/lib/interaction/elementSelectByColor.js +13 -0
- package/lib/interaction/elementSelectByColor.js.map +1 -0
- package/lib/interaction/elementSelectByX.d.ts +6 -0
- package/lib/interaction/elementSelectByX.js +13 -0
- package/lib/interaction/elementSelectByX.js.map +1 -0
- package/lib/interaction/event.d.ts +6 -0
- package/lib/interaction/event.js +133 -0
- package/lib/interaction/event.js.map +1 -0
- package/lib/interaction/fisheye.d.ts +4 -0
- package/lib/interaction/fisheye.js +61 -0
- package/lib/interaction/fisheye.js.map +1 -0
- package/lib/interaction/index.d.ts +24 -0
- package/lib/interaction/index.js +52 -0
- package/lib/interaction/index.js.map +1 -0
- package/lib/interaction/legendFilter.d.ts +14 -0
- package/lib/interaction/legendFilter.js +304 -0
- package/lib/interaction/legendFilter.js.map +1 -0
- package/lib/interaction/legendHighlight.d.ts +1 -0
- package/lib/interaction/legendHighlight.js +129 -0
- package/lib/interaction/legendHighlight.js.map +1 -0
- package/lib/interaction/poptip.d.ts +10 -0
- package/lib/interaction/poptip.js +98 -0
- package/lib/interaction/poptip.js.map +1 -0
- package/lib/interaction/scrollbarFilter.d.ts +2 -0
- package/lib/interaction/scrollbarFilter.js +31 -0
- package/lib/interaction/scrollbarFilter.js.map +1 -0
- package/lib/interaction/sliderFilter.d.ts +5 -0
- package/lib/interaction/sliderFilter.js +177 -0
- package/lib/interaction/sliderFilter.js.map +1 -0
- package/lib/interaction/tooltip.d.ts +16 -0
- package/lib/interaction/tooltip.js +877 -0
- package/lib/interaction/tooltip.js.map +1 -0
- package/lib/interaction/treemapDrillDown.d.ts +10 -0
- package/lib/interaction/treemapDrillDown.js +230 -0
- package/lib/interaction/treemapDrillDown.js.map +1 -0
- package/lib/interaction/utils.d.ts +68 -0
- package/lib/interaction/utils.js +507 -0
- package/lib/interaction/utils.js.map +1 -0
- package/lib/label-transform/contrastReverse.d.ts +9 -0
- package/lib/label-transform/contrastReverse.js +54 -0
- package/lib/label-transform/contrastReverse.js.map +1 -0
- package/lib/label-transform/exceedAdjust.d.ts +7 -0
- package/lib/label-transform/exceedAdjust.js +55 -0
- package/lib/label-transform/exceedAdjust.js.map +1 -0
- package/lib/label-transform/index.d.ts +10 -0
- package/lib/label-transform/index.js +14 -0
- package/lib/label-transform/index.js.map +1 -0
- package/lib/label-transform/overflowHide.d.ts +7 -0
- package/lib/label-transform/overflowHide.js +23 -0
- package/lib/label-transform/overflowHide.js.map +1 -0
- package/lib/label-transform/overlapDodgeY.d.ts +7 -0
- package/lib/label-transform/overlapDodgeY.js +79 -0
- package/lib/label-transform/overlapDodgeY.js.map +1 -0
- package/lib/label-transform/overlapHide.d.ts +7 -0
- package/lib/label-transform/overlapHide.js +29 -0
- package/lib/label-transform/overlapHide.js.map +1 -0
- package/lib/lib/builtinlib.d.ts +13 -0
- package/lib/lib/builtinlib.js +25 -0
- package/lib/lib/builtinlib.js.map +1 -0
- package/lib/lib/core.d.ts +158 -0
- package/lib/lib/core.js +177 -0
- package/lib/lib/core.js.map +1 -0
- package/lib/lib/geo.d.ts +4 -0
- package/lib/lib/geo.js +13 -0
- package/lib/lib/geo.js.map +1 -0
- package/lib/lib/graph.d.ts +10 -0
- package/lib/lib/graph.js +19 -0
- package/lib/lib/graph.js.map +1 -0
- package/lib/lib/index.d.ts +6 -0
- package/lib/lib/index.js +16 -0
- package/lib/lib/index.js.map +1 -0
- package/lib/lib/lite.d.ts +64 -0
- package/lib/lib/lite.js +82 -0
- package/lib/lib/lite.js.map +1 -0
- package/lib/lib/plot.d.ts +7 -0
- package/lib/lib/plot.js +16 -0
- package/lib/lib/plot.js.map +1 -0
- package/lib/lib/std.d.ts +171 -0
- package/lib/lib/std.js +12 -0
- package/lib/lib/std.js.map +1 -0
- package/lib/mark/area.d.ts +4 -0
- package/lib/mark/area.js +90 -0
- package/lib/mark/area.js.map +1 -0
- package/lib/mark/box.d.ts +34 -0
- package/lib/mark/box.js +100 -0
- package/lib/mark/box.js.map +1 -0
- package/lib/mark/boxplot.d.ts +4 -0
- package/lib/mark/boxplot.js +106 -0
- package/lib/mark/boxplot.js.map +1 -0
- package/lib/mark/cell.d.ts +9 -0
- package/lib/mark/cell.js +54 -0
- package/lib/mark/cell.js.map +1 -0
- package/lib/mark/chord.d.ts +4 -0
- package/lib/mark/chord.js +124 -0
- package/lib/mark/chord.js.map +1 -0
- package/lib/mark/connector.d.ts +4 -0
- package/lib/mark/connector.js +27 -0
- package/lib/mark/connector.js.map +1 -0
- package/lib/mark/density.d.ts +4 -0
- package/lib/mark/density.js +68 -0
- package/lib/mark/density.js.map +1 -0
- package/lib/mark/forceGraph.d.ts +4 -0
- package/lib/mark/forceGraph.js +119 -0
- package/lib/mark/forceGraph.js.map +1 -0
- package/lib/mark/gauge.d.ts +11 -0
- package/lib/mark/gauge.js +182 -0
- package/lib/mark/gauge.js.map +1 -0
- package/lib/mark/heatmap.d.ts +7 -0
- package/lib/mark/heatmap.js +45 -0
- package/lib/mark/heatmap.js.map +1 -0
- package/lib/mark/image.d.ts +4 -0
- package/lib/mark/image.js +44 -0
- package/lib/mark/image.js.map +1 -0
- package/lib/mark/index.d.ts +62 -0
- package/lib/mark/index.js +68 -0
- package/lib/mark/index.js.map +1 -0
- package/lib/mark/interval.d.ts +12 -0
- package/lib/mark/interval.js +81 -0
- package/lib/mark/interval.js.map +1 -0
- package/lib/mark/line.d.ts +7 -0
- package/lib/mark/line.js +100 -0
- package/lib/mark/line.js.map +1 -0
- package/lib/mark/lineX.d.ts +4 -0
- package/lib/mark/lineX.js +36 -0
- package/lib/mark/lineX.js.map +1 -0
- package/lib/mark/lineY.d.ts +4 -0
- package/lib/mark/lineY.js +36 -0
- package/lib/mark/lineY.js.map +1 -0
- package/lib/mark/link.d.ts +7 -0
- package/lib/mark/link.js +45 -0
- package/lib/mark/link.js.map +1 -0
- package/lib/mark/liquid.d.ts +7 -0
- package/lib/mark/liquid.js +88 -0
- package/lib/mark/liquid.js.map +1 -0
- package/lib/mark/pack.d.ts +4 -0
- package/lib/mark/pack.js +82 -0
- package/lib/mark/pack.js.map +1 -0
- package/lib/mark/path.d.ts +7 -0
- package/lib/mark/path.js +34 -0
- package/lib/mark/path.js.map +1 -0
- package/lib/mark/point.d.ts +9 -0
- package/lib/mark/point.js +88 -0
- package/lib/mark/point.js.map +1 -0
- package/lib/mark/polygon.d.ts +7 -0
- package/lib/mark/polygon.js +49 -0
- package/lib/mark/polygon.js.map +1 -0
- package/lib/mark/range.d.ts +8 -0
- package/lib/mark/range.js +52 -0
- package/lib/mark/range.js.map +1 -0
- package/lib/mark/rangeX.d.ts +4 -0
- package/lib/mark/rangeX.js +27 -0
- package/lib/mark/rangeX.js.map +1 -0
- package/lib/mark/rangeY.d.ts +4 -0
- package/lib/mark/rangeY.js +27 -0
- package/lib/mark/rangeY.js.map +1 -0
- package/lib/mark/rect.d.ts +4 -0
- package/lib/mark/rect.js +41 -0
- package/lib/mark/rect.js.map +1 -0
- package/lib/mark/sankey.d.ts +8 -0
- package/lib/mark/sankey.js +117 -0
- package/lib/mark/sankey.js.map +1 -0
- package/lib/mark/shape.d.ts +7 -0
- package/lib/mark/shape.js +44 -0
- package/lib/mark/shape.js.map +1 -0
- package/lib/mark/text.d.ts +4 -0
- package/lib/mark/text.js +47 -0
- package/lib/mark/text.js.map +1 -0
- package/lib/mark/tree.d.ts +4 -0
- package/lib/mark/tree.js +75 -0
- package/lib/mark/tree.js.map +1 -0
- package/lib/mark/treemap.d.ts +4 -0
- package/lib/mark/treemap.js +110 -0
- package/lib/mark/treemap.js.map +1 -0
- package/lib/mark/utils.d.ts +67 -0
- package/lib/mark/utils.js +129 -0
- package/lib/mark/utils.js.map +1 -0
- package/lib/mark/vector.d.ts +8 -0
- package/lib/mark/vector.js +48 -0
- package/lib/mark/vector.js.map +1 -0
- package/lib/mark/wordCloud.d.ts +4 -0
- package/lib/mark/wordCloud.js +63 -0
- package/lib/mark/wordCloud.js.map +1 -0
- package/lib/palette/category10.d.ts +7 -0
- package/lib/palette/category10.js +23 -0
- package/lib/palette/category10.js.map +1 -0
- package/lib/palette/category20.d.ts +7 -0
- package/lib/palette/category20.js +33 -0
- package/lib/palette/category20.js.map +1 -0
- package/lib/palette/index.d.ts +4 -0
- package/lib/palette/index.js +8 -0
- package/lib/palette/index.js.map +1 -0
- package/lib/runtime/component.d.ts +18 -0
- package/lib/runtime/component.js +784 -0
- package/lib/runtime/component.js.map +1 -0
- package/lib/runtime/constant.d.ts +9 -0
- package/lib/runtime/constant.js +13 -0
- package/lib/runtime/constant.js.map +1 -0
- package/lib/runtime/coordinate.d.ts +24 -0
- package/lib/runtime/coordinate.js +103 -0
- package/lib/runtime/coordinate.js.map +1 -0
- package/lib/runtime/index.d.ts +9 -0
- package/lib/runtime/index.js +30 -0
- package/lib/runtime/index.js.map +1 -0
- package/lib/runtime/layout.d.ts +10 -0
- package/lib/runtime/layout.js +589 -0
- package/lib/runtime/layout.js.map +1 -0
- package/lib/runtime/library.d.ts +5 -0
- package/lib/runtime/library.js +42 -0
- package/lib/runtime/library.js.map +1 -0
- package/lib/runtime/mark.d.ts +6 -0
- package/lib/runtime/mark.js +135 -0
- package/lib/runtime/mark.js.map +1 -0
- package/lib/runtime/option-preprocess/index.d.ts +2 -0
- package/lib/runtime/option-preprocess/index.js +20 -0
- package/lib/runtime/option-preprocess/index.js.map +1 -0
- package/lib/runtime/option-preprocess/style.d.ts +2 -0
- package/lib/runtime/option-preprocess/style.js +16 -0
- package/lib/runtime/option-preprocess/style.js.map +1 -0
- package/lib/runtime/plot.d.ts +5 -0
- package/lib/runtime/plot.js +1217 -0
- package/lib/runtime/plot.js.map +1 -0
- package/lib/runtime/render.d.ts +5 -0
- package/lib/runtime/render.js +175 -0
- package/lib/runtime/render.js.map +1 -0
- package/lib/runtime/scale.d.ts +14 -0
- package/lib/runtime/scale.js +594 -0
- package/lib/runtime/scale.js.map +1 -0
- package/lib/runtime/transform.d.ts +16 -0
- package/lib/runtime/transform.js +300 -0
- package/lib/runtime/transform.js.map +1 -0
- package/lib/runtime/types/common.d.ts +159 -0
- package/lib/runtime/types/common.js +3 -0
- package/lib/runtime/types/common.js.map +1 -0
- package/lib/runtime/types/component.d.ts +103 -0
- package/lib/runtime/types/component.js +3 -0
- package/lib/runtime/types/component.js.map +1 -0
- package/lib/runtime/types/data.d.ts +8 -0
- package/lib/runtime/types/data.js +3 -0
- package/lib/runtime/types/data.js.map +1 -0
- package/lib/runtime/types/encode.d.ts +23 -0
- package/lib/runtime/types/encode.js +3 -0
- package/lib/runtime/types/encode.js.map +1 -0
- package/lib/runtime/types/mark.d.ts +36 -0
- package/lib/runtime/types/mark.js +3 -0
- package/lib/runtime/types/mark.js.map +1 -0
- package/lib/runtime/types/options.d.ts +145 -0
- package/lib/runtime/types/options.js +3 -0
- package/lib/runtime/types/options.js.map +1 -0
- package/lib/runtime/types/scale.d.ts +21 -0
- package/lib/runtime/types/scale.js +25 -0
- package/lib/runtime/types/scale.js.map +1 -0
- package/lib/runtime/types/theme.d.ts +91 -0
- package/lib/runtime/types/theme.js +3 -0
- package/lib/runtime/types/theme.js.map +1 -0
- package/lib/runtime/types/transform.d.ts +14 -0
- package/lib/runtime/types/transform.js +3 -0
- package/lib/runtime/types/transform.js.map +1 -0
- package/lib/scale/band.d.ts +4 -0
- package/lib/scale/band.js +10 -0
- package/lib/scale/band.js.map +1 -0
- package/lib/scale/constant.d.ts +4 -0
- package/lib/scale/constant.js +10 -0
- package/lib/scale/constant.js.map +1 -0
- package/lib/scale/identity.d.ts +4 -0
- package/lib/scale/identity.js +10 -0
- package/lib/scale/identity.js.map +1 -0
- package/lib/scale/index.d.ts +28 -0
- package/lib/scale/index.js +32 -0
- package/lib/scale/index.js.map +1 -0
- package/lib/scale/linear.d.ts +4 -0
- package/lib/scale/linear.js +10 -0
- package/lib/scale/linear.js.map +1 -0
- package/lib/scale/log.d.ts +4 -0
- package/lib/scale/log.js +10 -0
- package/lib/scale/log.js.map +1 -0
- package/lib/scale/ordinal.d.ts +4 -0
- package/lib/scale/ordinal.js +10 -0
- package/lib/scale/ordinal.js.map +1 -0
- package/lib/scale/point.d.ts +4 -0
- package/lib/scale/point.js +10 -0
- package/lib/scale/point.js.map +1 -0
- package/lib/scale/pow.d.ts +4 -0
- package/lib/scale/pow.js +10 -0
- package/lib/scale/pow.js.map +1 -0
- package/lib/scale/quantile.d.ts +4 -0
- package/lib/scale/quantile.js +10 -0
- package/lib/scale/quantile.js.map +1 -0
- package/lib/scale/quantize.d.ts +4 -0
- package/lib/scale/quantize.js +10 -0
- package/lib/scale/quantize.js.map +1 -0
- package/lib/scale/sequential.d.ts +4 -0
- package/lib/scale/sequential.js +10 -0
- package/lib/scale/sequential.js.map +1 -0
- package/lib/scale/sqrt.d.ts +4 -0
- package/lib/scale/sqrt.js +10 -0
- package/lib/scale/sqrt.js.map +1 -0
- package/lib/scale/threshold.d.ts +4 -0
- package/lib/scale/threshold.js +10 -0
- package/lib/scale/threshold.js.map +1 -0
- package/lib/scale/time.d.ts +4 -0
- package/lib/scale/time.js +10 -0
- package/lib/scale/time.js.map +1 -0
- package/lib/shape/area/area.d.ts +3 -0
- package/lib/shape/area/area.js +16 -0
- package/lib/shape/area/area.js.map +1 -0
- package/lib/shape/area/curve.d.ts +8 -0
- package/lib/shape/area/curve.js +175 -0
- package/lib/shape/area/curve.js.map +1 -0
- package/lib/shape/area/hv.d.ts +3 -0
- package/lib/shape/area/hv.js +13 -0
- package/lib/shape/area/hv.js.map +1 -0
- package/lib/shape/area/hvh.d.ts +3 -0
- package/lib/shape/area/hvh.js +13 -0
- package/lib/shape/area/hvh.js.map +1 -0
- package/lib/shape/area/smooth.d.ts +3 -0
- package/lib/shape/area/smooth.js +32 -0
- package/lib/shape/area/smooth.js.map +1 -0
- package/lib/shape/area/vh.d.ts +3 -0
- package/lib/shape/area/vh.js +13 -0
- package/lib/shape/area/vh.js.map +1 -0
- package/lib/shape/box/box.d.ts +3 -0
- package/lib/shape/box/box.js +94 -0
- package/lib/shape/box/box.js.map +1 -0
- package/lib/shape/box/violin.d.ts +3 -0
- package/lib/shape/box/violin.js +88 -0
- package/lib/shape/box/violin.js.map +1 -0
- package/lib/shape/connector/connector.d.ts +11 -0
- package/lib/shape/connector/connector.js +86 -0
- package/lib/shape/connector/connector.js.map +1 -0
- package/lib/shape/density/density.d.ts +8 -0
- package/lib/shape/density/density.js +53 -0
- package/lib/shape/density/density.js.map +1 -0
- package/lib/shape/gauge/round.d.ts +3 -0
- package/lib/shape/gauge/round.js +44 -0
- package/lib/shape/gauge/round.js.map +1 -0
- package/lib/shape/heatmap/heatmap.d.ts +4 -0
- package/lib/shape/heatmap/heatmap.js +71 -0
- package/lib/shape/heatmap/heatmap.js.map +1 -0
- package/lib/shape/heatmap/renderer/gradient.d.ts +5 -0
- package/lib/shape/heatmap/renderer/gradient.js +17 -0
- package/lib/shape/heatmap/renderer/gradient.js.map +1 -0
- package/lib/shape/heatmap/renderer/index.d.ts +6 -0
- package/lib/shape/heatmap/renderer/index.js +126 -0
- package/lib/shape/heatmap/renderer/index.js.map +1 -0
- package/lib/shape/heatmap/renderer/types.d.ts +36 -0
- package/lib/shape/heatmap/renderer/types.js +3 -0
- package/lib/shape/heatmap/renderer/types.js.map +1 -0
- package/lib/shape/image/image.d.ts +3 -0
- package/lib/shape/image/image.js +50 -0
- package/lib/shape/image/image.js.map +1 -0
- package/lib/shape/index.d.ts +114 -0
- package/lib/shape/index.js +133 -0
- package/lib/shape/index.js.map +1 -0
- package/lib/shape/interval/color.d.ts +25 -0
- package/lib/shape/interval/color.js +138 -0
- package/lib/shape/interval/color.js.map +1 -0
- package/lib/shape/interval/funnel.d.ts +10 -0
- package/lib/shape/interval/funnel.js +61 -0
- package/lib/shape/interval/funnel.js.map +1 -0
- package/lib/shape/interval/hollow.d.ts +6 -0
- package/lib/shape/interval/hollow.js +13 -0
- package/lib/shape/interval/hollow.js.map +1 -0
- package/lib/shape/interval/pyramid.d.ts +6 -0
- package/lib/shape/interval/pyramid.js +42 -0
- package/lib/shape/interval/pyramid.js.map +1 -0
- package/lib/shape/interval/rect.d.ts +20 -0
- package/lib/shape/interval/rect.js +14 -0
- package/lib/shape/interval/rect.js.map +1 -0
- package/lib/shape/label/label.d.ts +13 -0
- package/lib/shape/label/label.js +98 -0
- package/lib/shape/label/label.js.map +1 -0
- package/lib/shape/label/position/area.d.ts +13 -0
- package/lib/shape/label/position/area.js +32 -0
- package/lib/shape/label/position/area.js.map +1 -0
- package/lib/shape/label/position/bottom.d.ts +1 -0
- package/lib/shape/label/position/bottom.js +6 -0
- package/lib/shape/label/position/bottom.js.map +1 -0
- package/lib/shape/label/position/bottomLeft.d.ts +1 -0
- package/lib/shape/label/position/bottomLeft.js +6 -0
- package/lib/shape/label/position/bottomLeft.js.map +1 -0
- package/lib/shape/label/position/bottomRight.d.ts +1 -0
- package/lib/shape/label/position/bottomRight.js +6 -0
- package/lib/shape/label/position/bottomRight.js.map +1 -0
- package/lib/shape/label/position/default.d.ts +18 -0
- package/lib/shape/label/position/default.js +121 -0
- package/lib/shape/label/position/default.js.map +1 -0
- package/lib/shape/label/position/index.d.ts +13 -0
- package/lib/shape/label/position/index.js +30 -0
- package/lib/shape/label/position/index.js.map +1 -0
- package/lib/shape/label/position/inside.d.ts +1 -0
- package/lib/shape/label/position/inside.js +6 -0
- package/lib/shape/label/position/inside.js.map +1 -0
- package/lib/shape/label/position/left.d.ts +1 -0
- package/lib/shape/label/position/left.js +6 -0
- package/lib/shape/label/position/left.js.map +1 -0
- package/lib/shape/label/position/outside.d.ts +18 -0
- package/lib/shape/label/position/outside.js +75 -0
- package/lib/shape/label/position/outside.js.map +1 -0
- package/lib/shape/label/position/right.d.ts +1 -0
- package/lib/shape/label/position/right.js +6 -0
- package/lib/shape/label/position/right.js.map +1 -0
- package/lib/shape/label/position/spider.d.ts +8 -0
- package/lib/shape/label/position/spider.js +54 -0
- package/lib/shape/label/position/spider.js.map +1 -0
- package/lib/shape/label/position/surround.d.ts +7 -0
- package/lib/shape/label/position/surround.js +39 -0
- package/lib/shape/label/position/surround.js.map +1 -0
- package/lib/shape/label/position/top.d.ts +1 -0
- package/lib/shape/label/position/top.js +6 -0
- package/lib/shape/label/position/top.js.map +1 -0
- package/lib/shape/label/position/topLeft.d.ts +1 -0
- package/lib/shape/label/position/topLeft.js +6 -0
- package/lib/shape/label/position/topLeft.js.map +1 -0
- package/lib/shape/label/position/topRight.d.ts +1 -0
- package/lib/shape/label/position/topRight.js +6 -0
- package/lib/shape/label/position/topRight.js.map +1 -0
- package/lib/shape/label/position/utils.d.ts +2 -0
- package/lib/shape/label/position/utils.js +73 -0
- package/lib/shape/label/position/utils.js.map +1 -0
- package/lib/shape/line/curve.d.ts +8 -0
- package/lib/shape/line/curve.js +140 -0
- package/lib/shape/line/curve.js.map +1 -0
- package/lib/shape/line/hv.d.ts +3 -0
- package/lib/shape/line/hv.js +11 -0
- package/lib/shape/line/hv.js.map +1 -0
- package/lib/shape/line/hvh.d.ts +3 -0
- package/lib/shape/line/hvh.js +11 -0
- package/lib/shape/line/hvh.js.map +1 -0
- package/lib/shape/line/line.d.ts +3 -0
- package/lib/shape/line/line.js +16 -0
- package/lib/shape/line/line.js.map +1 -0
- package/lib/shape/line/smooth.d.ts +3 -0
- package/lib/shape/line/smooth.js +32 -0
- package/lib/shape/line/smooth.js.map +1 -0
- package/lib/shape/line/trail.d.ts +3 -0
- package/lib/shape/line/trail.js +81 -0
- package/lib/shape/line/trail.js.map +1 -0
- package/lib/shape/line/vh.d.ts +3 -0
- package/lib/shape/line/vh.js +11 -0
- package/lib/shape/line/vh.js.map +1 -0
- package/lib/shape/lineXY/line.d.ts +24 -0
- package/lib/shape/lineXY/line.js +75 -0
- package/lib/shape/lineXY/line.js.map +1 -0
- package/lib/shape/link/arc.d.ts +8 -0
- package/lib/shape/link/arc.js +59 -0
- package/lib/shape/link/arc.js.map +1 -0
- package/lib/shape/link/link.d.ts +8 -0
- package/lib/shape/link/link.js +22 -0
- package/lib/shape/link/link.js.map +1 -0
- package/lib/shape/link/smooth.d.ts +6 -0
- package/lib/shape/link/smooth.js +47 -0
- package/lib/shape/link/smooth.js.map +1 -0
- package/lib/shape/link/vhv.d.ts +12 -0
- package/lib/shape/link/vhv.js +77 -0
- package/lib/shape/link/vhv.js.map +1 -0
- package/lib/shape/liquid/liquid.d.ts +3 -0
- package/lib/shape/liquid/liquid.js +83 -0
- package/lib/shape/liquid/liquid.js.map +1 -0
- package/lib/shape/liquid/shapes.d.ts +38 -0
- package/lib/shape/liquid/shapes.js +96 -0
- package/lib/shape/liquid/shapes.js.map +1 -0
- package/lib/shape/liquid/wave.d.ts +16 -0
- package/lib/shape/liquid/wave.js +196 -0
- package/lib/shape/liquid/wave.js.map +1 -0
- package/lib/shape/path/color.d.ts +9 -0
- package/lib/shape/path/color.js +42 -0
- package/lib/shape/path/color.js.map +1 -0
- package/lib/shape/path/hollow.d.ts +8 -0
- package/lib/shape/path/hollow.js +18 -0
- package/lib/shape/path/hollow.js.map +1 -0
- package/lib/shape/path/path.d.ts +8 -0
- package/lib/shape/path/path.js +18 -0
- package/lib/shape/path/path.js.map +1 -0
- package/lib/shape/point/bowtie.d.ts +6 -0
- package/lib/shape/point/bowtie.js +13 -0
- package/lib/shape/point/bowtie.js.map +1 -0
- package/lib/shape/point/circle.d.ts +16 -0
- package/lib/shape/point/circle.js +61 -0
- package/lib/shape/point/circle.js.map +1 -0
- package/lib/shape/point/color.d.ts +13 -0
- package/lib/shape/point/color.js +70 -0
- package/lib/shape/point/color.js.map +1 -0
- package/lib/shape/point/cross.d.ts +6 -0
- package/lib/shape/point/cross.js +13 -0
- package/lib/shape/point/cross.js.map +1 -0
- package/lib/shape/point/diamond.d.ts +6 -0
- package/lib/shape/point/diamond.js +13 -0
- package/lib/shape/point/diamond.js.map +1 -0
- package/lib/shape/point/hexagon.d.ts +6 -0
- package/lib/shape/point/hexagon.js +13 -0
- package/lib/shape/point/hexagon.js.map +1 -0
- package/lib/shape/point/hollow.d.ts +6 -0
- package/lib/shape/point/hollow.js +13 -0
- package/lib/shape/point/hollow.js.map +1 -0
- package/lib/shape/point/hollowBowtie.d.ts +6 -0
- package/lib/shape/point/hollowBowtie.js +13 -0
- package/lib/shape/point/hollowBowtie.js.map +1 -0
- package/lib/shape/point/hollowCircle.d.ts +6 -0
- package/lib/shape/point/hollowCircle.js +13 -0
- package/lib/shape/point/hollowCircle.js.map +1 -0
- package/lib/shape/point/hollowDiamond.d.ts +6 -0
- package/lib/shape/point/hollowDiamond.js +13 -0
- package/lib/shape/point/hollowDiamond.js.map +1 -0
- package/lib/shape/point/hollowHexagon.d.ts +6 -0
- package/lib/shape/point/hollowHexagon.js +13 -0
- package/lib/shape/point/hollowHexagon.js.map +1 -0
- package/lib/shape/point/hollowSquare.d.ts +6 -0
- package/lib/shape/point/hollowSquare.js +13 -0
- package/lib/shape/point/hollowSquare.js.map +1 -0
- package/lib/shape/point/hollowTriangle.d.ts +6 -0
- package/lib/shape/point/hollowTriangle.js +13 -0
- package/lib/shape/point/hollowTriangle.js.map +1 -0
- package/lib/shape/point/hollowTriangleDown.d.ts +6 -0
- package/lib/shape/point/hollowTriangleDown.js +13 -0
- package/lib/shape/point/hollowTriangleDown.js.map +1 -0
- package/lib/shape/point/hyphen.d.ts +6 -0
- package/lib/shape/point/hyphen.js +13 -0
- package/lib/shape/point/hyphen.js.map +1 -0
- package/lib/shape/point/line.d.ts +6 -0
- package/lib/shape/point/line.js +13 -0
- package/lib/shape/point/line.js.map +1 -0
- package/lib/shape/point/plus.d.ts +6 -0
- package/lib/shape/point/plus.js +13 -0
- package/lib/shape/point/plus.js.map +1 -0
- package/lib/shape/point/point.d.ts +6 -0
- package/lib/shape/point/point.js +13 -0
- package/lib/shape/point/point.js.map +1 -0
- package/lib/shape/point/square.d.ts +6 -0
- package/lib/shape/point/square.js +13 -0
- package/lib/shape/point/square.js.map +1 -0
- package/lib/shape/point/tick.d.ts +6 -0
- package/lib/shape/point/tick.js +13 -0
- package/lib/shape/point/tick.js.map +1 -0
- package/lib/shape/point/triangle.d.ts +6 -0
- package/lib/shape/point/triangle.js +13 -0
- package/lib/shape/point/triangle.js.map +1 -0
- package/lib/shape/point/triangleDown.d.ts +6 -0
- package/lib/shape/point/triangleDown.js +13 -0
- package/lib/shape/point/triangleDown.js.map +1 -0
- package/lib/shape/polygon/polygon.d.ts +3 -0
- package/lib/shape/polygon/polygon.js +74 -0
- package/lib/shape/polygon/polygon.js.map +1 -0
- package/lib/shape/polygon/ribbon.d.ts +15 -0
- package/lib/shape/polygon/ribbon.js +77 -0
- package/lib/shape/polygon/ribbon.js.map +1 -0
- package/lib/shape/shape/shape.d.ts +6 -0
- package/lib/shape/shape/shape.js +32 -0
- package/lib/shape/shape/shape.js.map +1 -0
- package/lib/shape/text/advance.d.ts +2 -0
- package/lib/shape/text/advance.js +179 -0
- package/lib/shape/text/advance.js.map +1 -0
- package/lib/shape/text/badge.d.ts +7 -0
- package/lib/shape/text/badge.js +82 -0
- package/lib/shape/text/badge.js.map +1 -0
- package/lib/shape/text/tag.d.ts +7 -0
- package/lib/shape/text/tag.js +44 -0
- package/lib/shape/text/tag.js.map +1 -0
- package/lib/shape/text/text.d.ts +6 -0
- package/lib/shape/text/text.js +39 -0
- package/lib/shape/text/text.js.map +1 -0
- package/lib/shape/utils.d.ts +56 -0
- package/lib/shape/utils.js +180 -0
- package/lib/shape/utils.js.map +1 -0
- package/lib/shape/vector/vector.d.ts +8 -0
- package/lib/shape/vector/vector.js +57 -0
- package/lib/shape/vector/vector.js.map +1 -0
- package/lib/spec/animate.d.ts +23 -0
- package/lib/spec/animate.js +3 -0
- package/lib/spec/animate.js.map +1 -0
- package/lib/spec/component.d.ts +72 -0
- package/lib/spec/component.js +3 -0
- package/lib/spec/component.js.map +1 -0
- package/lib/spec/composition.d.ts +196 -0
- package/lib/spec/composition.js +3 -0
- package/lib/spec/composition.js.map +1 -0
- package/lib/spec/coordinate.d.ts +56 -0
- package/lib/spec/coordinate.js +3 -0
- package/lib/spec/coordinate.js.map +1 -0
- package/lib/spec/coordinateTransform.d.ts +13 -0
- package/lib/spec/coordinateTransform.js +3 -0
- package/lib/spec/coordinateTransform.js.map +1 -0
- package/lib/spec/data.d.ts +17 -0
- package/lib/spec/data.js +3 -0
- package/lib/spec/data.js.map +1 -0
- package/lib/spec/dataTransform.d.ts +152 -0
- package/lib/spec/dataTransform.js +3 -0
- package/lib/spec/dataTransform.js.map +1 -0
- package/lib/spec/encode.d.ts +23 -0
- package/lib/spec/encode.js +3 -0
- package/lib/spec/encode.js.map +1 -0
- package/lib/spec/index.d.ts +24 -0
- package/lib/spec/index.js +32 -0
- package/lib/spec/index.js.map +1 -0
- package/lib/spec/interaction.d.ts +143 -0
- package/lib/spec/interaction.js +3 -0
- package/lib/spec/interaction.js.map +1 -0
- package/lib/spec/labelTransform.d.ts +33 -0
- package/lib/spec/labelTransform.js +3 -0
- package/lib/spec/labelTransform.js.map +1 -0
- package/lib/spec/mark.d.ts +209 -0
- package/lib/spec/mark.js +3 -0
- package/lib/spec/mark.js.map +1 -0
- package/lib/spec/palette.d.ts +13 -0
- package/lib/spec/palette.js +3 -0
- package/lib/spec/palette.js.map +1 -0
- package/lib/spec/scale.d.ts +39 -0
- package/lib/spec/scale.js +3 -0
- package/lib/spec/scale.js.map +1 -0
- package/lib/spec/theme.d.ts +21 -0
- package/lib/spec/theme.js +3 -0
- package/lib/spec/theme.js.map +1 -0
- package/lib/spec/transform.d.ts +166 -0
- package/lib/spec/transform.js +3 -0
- package/lib/spec/transform.js.map +1 -0
- package/lib/spec/utils.d.ts +12 -0
- package/lib/spec/utils.js +3 -0
- package/lib/spec/utils.js.map +1 -0
- package/lib/theme/academy.d.ts +20 -0
- package/lib/theme/academy.js +106 -0
- package/lib/theme/academy.js.map +1 -0
- package/lib/theme/classic.d.ts +6 -0
- package/lib/theme/classic.js +17 -0
- package/lib/theme/classic.js.map +1 -0
- package/lib/theme/classicDark.d.ts +6 -0
- package/lib/theme/classicDark.js +16 -0
- package/lib/theme/classicDark.js.map +1 -0
- package/lib/theme/create.d.ts +443 -0
- package/lib/theme/create.js +431 -0
- package/lib/theme/create.js.map +1 -0
- package/lib/theme/dark.d.ts +20 -0
- package/lib/theme/dark.js +81 -0
- package/lib/theme/dark.js.map +1 -0
- package/lib/theme/index.d.ts +5 -0
- package/lib/theme/index.js +14 -0
- package/lib/theme/index.js.map +1 -0
- package/lib/theme/light.d.ts +23 -0
- package/lib/theme/light.js +64 -0
- package/lib/theme/light.js.map +1 -0
- package/lib/transform/bin.d.ts +12 -0
- package/lib/transform/bin.js +86 -0
- package/lib/transform/bin.js.map +1 -0
- package/lib/transform/binX.d.ts +4 -0
- package/lib/transform/binX.js +11 -0
- package/lib/transform/binX.js.map +1 -0
- package/lib/transform/diffY.d.ts +8 -0
- package/lib/transform/diffY.js +44 -0
- package/lib/transform/diffY.js.map +1 -0
- package/lib/transform/dodgeX.d.ts +9 -0
- package/lib/transform/dodgeX.js +69 -0
- package/lib/transform/dodgeX.js.map +1 -0
- package/lib/transform/filter.d.ts +7 -0
- package/lib/transform/filter.js +90 -0
- package/lib/transform/filter.js.map +1 -0
- package/lib/transform/flexX.d.ts +7 -0
- package/lib/transform/flexX.js +35 -0
- package/lib/transform/flexX.js.map +1 -0
- package/lib/transform/group.d.ts +10 -0
- package/lib/transform/group.js +27 -0
- package/lib/transform/group.js.map +1 -0
- package/lib/transform/groupColor.d.ts +7 -0
- package/lib/transform/groupColor.js +13 -0
- package/lib/transform/groupColor.js.map +1 -0
- package/lib/transform/groupN.d.ts +9 -0
- package/lib/transform/groupN.js +120 -0
- package/lib/transform/groupN.js.map +1 -0
- package/lib/transform/groupX.d.ts +7 -0
- package/lib/transform/groupX.js +13 -0
- package/lib/transform/groupX.js.map +1 -0
- package/lib/transform/groupY.d.ts +7 -0
- package/lib/transform/groupY.js +13 -0
- package/lib/transform/groupY.js.map +1 -0
- package/lib/transform/index.d.ts +89 -0
- package/lib/transform/index.js +96 -0
- package/lib/transform/index.js.map +1 -0
- package/lib/transform/jitter.d.ts +10 -0
- package/lib/transform/jitter.js +51 -0
- package/lib/transform/jitter.js.map +1 -0
- package/lib/transform/jitterX.d.ts +8 -0
- package/lib/transform/jitterX.js +29 -0
- package/lib/transform/jitterX.js.map +1 -0
- package/lib/transform/jitterY.d.ts +8 -0
- package/lib/transform/jitterY.js +29 -0
- package/lib/transform/jitterY.js.map +1 -0
- package/lib/transform/maybeDefaultX.d.ts +7 -0
- package/lib/transform/maybeDefaultX.js +33 -0
- package/lib/transform/maybeDefaultX.js.map +1 -0
- package/lib/transform/maybeDefaultY.d.ts +7 -0
- package/lib/transform/maybeDefaultY.js +33 -0
- package/lib/transform/maybeDefaultY.js.map +1 -0
- package/lib/transform/maybeFunctionAttribute.d.ts +6 -0
- package/lib/transform/maybeFunctionAttribute.js +23 -0
- package/lib/transform/maybeFunctionAttribute.js.map +1 -0
- package/lib/transform/maybeGradient.d.ts +7 -0
- package/lib/transform/maybeGradient.js +29 -0
- package/lib/transform/maybeGradient.js.map +1 -0
- package/lib/transform/maybeIdentityX.d.ts +7 -0
- package/lib/transform/maybeIdentityX.js +22 -0
- package/lib/transform/maybeIdentityX.js.map +1 -0
- package/lib/transform/maybeIdentityY.d.ts +7 -0
- package/lib/transform/maybeIdentityY.js +22 -0
- package/lib/transform/maybeIdentityY.js.map +1 -0
- package/lib/transform/maybeKey.d.ts +6 -0
- package/lib/transform/maybeKey.js +36 -0
- package/lib/transform/maybeKey.js.map +1 -0
- package/lib/transform/maybeSeries.d.ts +6 -0
- package/lib/transform/maybeSeries.js +21 -0
- package/lib/transform/maybeSeries.js.map +1 -0
- package/lib/transform/maybeSize.d.ts +7 -0
- package/lib/transform/maybeSize.js +24 -0
- package/lib/transform/maybeSize.js.map +1 -0
- package/lib/transform/maybeStackY.d.ts +9 -0
- package/lib/transform/maybeStackY.js +34 -0
- package/lib/transform/maybeStackY.js.map +1 -0
- package/lib/transform/maybeTitle.d.ts +8 -0
- package/lib/transform/maybeTitle.js +49 -0
- package/lib/transform/maybeTitle.js.map +1 -0
- package/lib/transform/maybeTooltip.d.ts +8 -0
- package/lib/transform/maybeTooltip.js +40 -0
- package/lib/transform/maybeTooltip.js.map +1 -0
- package/lib/transform/maybeTuple.d.ts +7 -0
- package/lib/transform/maybeTuple.js +23 -0
- package/lib/transform/maybeTuple.js.map +1 -0
- package/lib/transform/maybeTupleX.d.ts +7 -0
- package/lib/transform/maybeTupleX.js +20 -0
- package/lib/transform/maybeTupleX.js.map +1 -0
- package/lib/transform/maybeTupleY.d.ts +7 -0
- package/lib/transform/maybeTupleY.js +20 -0
- package/lib/transform/maybeTupleY.js.map +1 -0
- package/lib/transform/maybeVisualPosition.d.ts +7 -0
- package/lib/transform/maybeVisualPosition.js +49 -0
- package/lib/transform/maybeVisualPosition.js.map +1 -0
- package/lib/transform/maybeZeroPadding.d.ts +6 -0
- package/lib/transform/maybeZeroPadding.js +18 -0
- package/lib/transform/maybeZeroPadding.js.map +1 -0
- package/lib/transform/maybeZeroX.d.ts +7 -0
- package/lib/transform/maybeZeroX.js +27 -0
- package/lib/transform/maybeZeroX.js.map +1 -0
- package/lib/transform/maybeZeroY.d.ts +6 -0
- package/lib/transform/maybeZeroY.js +26 -0
- package/lib/transform/maybeZeroY.js.map +1 -0
- package/lib/transform/maybeZeroY1.d.ts +6 -0
- package/lib/transform/maybeZeroY1.js +25 -0
- package/lib/transform/maybeZeroY1.js.map +1 -0
- package/lib/transform/maybeZeroZ.d.ts +6 -0
- package/lib/transform/maybeZeroZ.js +26 -0
- package/lib/transform/maybeZeroZ.js.map +1 -0
- package/lib/transform/normalizeY.d.ts +9 -0
- package/lib/transform/normalizeY.js +78 -0
- package/lib/transform/normalizeY.js.map +1 -0
- package/lib/transform/pack.d.ts +9 -0
- package/lib/transform/pack.js +66 -0
- package/lib/transform/pack.js.map +1 -0
- package/lib/transform/sample.d.ts +8 -0
- package/lib/transform/sample.js +68 -0
- package/lib/transform/sample.js.map +1 -0
- package/lib/transform/select.d.ts +9 -0
- package/lib/transform/select.js +45 -0
- package/lib/transform/select.js.map +1 -0
- package/lib/transform/selectX.d.ts +7 -0
- package/lib/transform/selectX.js +25 -0
- package/lib/transform/selectX.js.map +1 -0
- package/lib/transform/selectY.d.ts +7 -0
- package/lib/transform/selectY.js +25 -0
- package/lib/transform/selectY.js.map +1 -0
- package/lib/transform/sort.d.ts +14 -0
- package/lib/transform/sort.js +64 -0
- package/lib/transform/sort.js.map +1 -0
- package/lib/transform/sortColor.d.ts +7 -0
- package/lib/transform/sortColor.js +13 -0
- package/lib/transform/sortColor.js.map +1 -0
- package/lib/transform/sortX.d.ts +7 -0
- package/lib/transform/sortX.js +13 -0
- package/lib/transform/sortX.js.map +1 -0
- package/lib/transform/sortY.d.ts +7 -0
- package/lib/transform/sortY.js +13 -0
- package/lib/transform/sortY.js.map +1 -0
- package/lib/transform/stackEnter.d.ts +14 -0
- package/lib/transform/stackEnter.js +76 -0
- package/lib/transform/stackEnter.js.map +1 -0
- package/lib/transform/stackY.d.ts +9 -0
- package/lib/transform/stackY.js +111 -0
- package/lib/transform/stackY.js.map +1 -0
- package/lib/transform/symmetryY.d.ts +8 -0
- package/lib/transform/symmetryY.js +64 -0
- package/lib/transform/symmetryY.js.map +1 -0
- package/lib/transform/utils/helper.d.ts +28 -0
- package/lib/transform/utils/helper.js +61 -0
- package/lib/transform/utils/helper.js.map +1 -0
- package/lib/transform/utils/lttb.d.ts +5 -0
- package/lib/transform/utils/lttb.js +60 -0
- package/lib/transform/utils/lttb.js.map +1 -0
- package/lib/transform/utils/order.d.ts +9 -0
- package/lib/transform/utils/order.js +81 -0
- package/lib/transform/utils/order.js.map +1 -0
- package/lib/utils/angle.d.ts +6 -0
- package/lib/utils/angle.js +31 -0
- package/lib/utils/angle.js.map +1 -0
- package/lib/utils/array.d.ts +22 -0
- package/lib/utils/array.js +89 -0
- package/lib/utils/array.js.map +1 -0
- package/lib/utils/bounds.d.ts +28 -0
- package/lib/utils/bounds.js +55 -0
- package/lib/utils/bounds.js.map +1 -0
- package/lib/utils/color.d.ts +6 -0
- package/lib/utils/color.js +11 -0
- package/lib/utils/color.js.map +1 -0
- package/lib/utils/container.d.ts +8 -0
- package/lib/utils/container.js +19 -0
- package/lib/utils/container.js.map +1 -0
- package/lib/utils/coordinate.d.ts +16 -0
- package/lib/utils/coordinate.js +92 -0
- package/lib/utils/coordinate.js.map +1 -0
- package/lib/utils/createElement.d.ts +5 -0
- package/lib/utils/createElement.js +20 -0
- package/lib/utils/createElement.js.map +1 -0
- package/lib/utils/dateFormat.d.ts +1 -0
- package/lib/utils/dateFormat.js +22 -0
- package/lib/utils/dateFormat.js.map +1 -0
- package/lib/utils/event.d.ts +32 -0
- package/lib/utils/event.js +37 -0
- package/lib/utils/event.js.map +1 -0
- package/lib/utils/expr.d.ts +8 -0
- package/lib/utils/expr.js +55 -0
- package/lib/utils/expr.js.map +1 -0
- package/lib/utils/flow.d.ts +7 -0
- package/lib/utils/flow.js +16 -0
- package/lib/utils/flow.js.map +1 -0
- package/lib/utils/helper.d.ts +55 -0
- package/lib/utils/helper.js +221 -0
- package/lib/utils/helper.js.map +1 -0
- package/lib/utils/lru.d.ts +4 -0
- package/lib/utils/lru.js +25 -0
- package/lib/utils/lru.js.map +1 -0
- package/lib/utils/mark.d.ts +4 -0
- package/lib/utils/mark.js +36 -0
- package/lib/utils/mark.js.map +1 -0
- package/lib/utils/marker.d.ts +10 -0
- package/lib/utils/marker.js +256 -0
- package/lib/utils/marker.js.map +1 -0
- package/lib/utils/number.d.ts +8 -0
- package/lib/utils/number.js +20 -0
- package/lib/utils/number.js.map +1 -0
- package/lib/utils/scale.d.ts +6 -0
- package/lib/utils/scale.js +83 -0
- package/lib/utils/scale.js.map +1 -0
- package/lib/utils/selection.d.ts +67 -0
- package/lib/utils/selection.js +308 -0
- package/lib/utils/selection.js.map +1 -0
- package/lib/utils/size.d.ts +17 -0
- package/lib/utils/size.js +48 -0
- package/lib/utils/size.js.map +1 -0
- package/lib/utils/string.d.ts +12 -0
- package/lib/utils/string.js +24 -0
- package/lib/utils/string.js.map +1 -0
- package/lib/utils/style.d.ts +5 -0
- package/lib/utils/style.js +30 -0
- package/lib/utils/style.js.map +1 -0
- package/lib/utils/treeDataTransform.d.ts +28 -0
- package/lib/utils/treeDataTransform.js +98 -0
- package/lib/utils/treeDataTransform.js.map +1 -0
- package/lib/utils/vector.d.ts +20 -0
- package/lib/utils/vector.js +63 -0
- package/lib/utils/vector.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,592 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.BrushHighlight = exports.brushHighlight = exports.brush = void 0;
|
|
15
|
+
const g_1 = require("@antv/g");
|
|
16
|
+
const helper_1 = require("../utils/helper");
|
|
17
|
+
const scale_1 = require("../utils/scale");
|
|
18
|
+
const createElement_1 = require("../utils/createElement");
|
|
19
|
+
const selection_1 = require("../utils/selection");
|
|
20
|
+
const utils_1 = require("./utils");
|
|
21
|
+
function intersect(bbox1, bbox2) {
|
|
22
|
+
const [minX1, minY1, maxX1, maxY1] = bbox1;
|
|
23
|
+
const [minX2, minY2, maxX2, maxY2] = bbox2;
|
|
24
|
+
return !(minX2 > maxX1 || maxX2 < minX1 || minY2 > maxY1 || maxY2 < minY1);
|
|
25
|
+
}
|
|
26
|
+
function normalizeBounds(x, y, x1, y1, extent) {
|
|
27
|
+
const [minX, minY, maxX, maxY] = extent;
|
|
28
|
+
return [
|
|
29
|
+
Math.max(minX, Math.min(x, x1)),
|
|
30
|
+
Math.max(minY, Math.min(y, y1)),
|
|
31
|
+
Math.min(maxX, Math.max(x, x1)),
|
|
32
|
+
Math.min(maxY, Math.max(y, y1)),
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
function bboxOf(root) {
|
|
36
|
+
const { width, height } = root.getBBox();
|
|
37
|
+
return [0, 0, width, height];
|
|
38
|
+
}
|
|
39
|
+
function applyStyle(selection, style) {
|
|
40
|
+
for (const [key, value] of Object.entries(style)) {
|
|
41
|
+
selection.style(key, value);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const ResizableMask = (0, createElement_1.createElement)((g) => {
|
|
45
|
+
const _a = g.attributes, { x, y, width, height, class: className, renders = {}, handleSize: size = 10, document } = _a, style = __rest(_a, ["x", "y", "width", "height", "class", "renders", "handleSize", "document"]);
|
|
46
|
+
if (!document ||
|
|
47
|
+
width === undefined ||
|
|
48
|
+
height === undefined ||
|
|
49
|
+
x === undefined ||
|
|
50
|
+
y === undefined)
|
|
51
|
+
return;
|
|
52
|
+
const half = size / 2;
|
|
53
|
+
const renderRect = (g, options, document) => {
|
|
54
|
+
if (!g.handle) {
|
|
55
|
+
g.handle = document.createElement('rect');
|
|
56
|
+
g.append(g.handle);
|
|
57
|
+
}
|
|
58
|
+
const { handle } = g;
|
|
59
|
+
handle.attr(options);
|
|
60
|
+
return handle;
|
|
61
|
+
};
|
|
62
|
+
const _b = (0, helper_1.subObject)((0, helper_1.omitPrefixObject)(style, 'handleNW', 'handleNE'), 'handleN'), { render: handleNRender = renderRect } = _b, handleNStyle = __rest(_b, ["render"]);
|
|
63
|
+
const _c = (0, helper_1.subObject)(style, 'handleE'), { render: handleERender = renderRect } = _c, handleEStyle = __rest(_c, ["render"]);
|
|
64
|
+
const _d = (0, helper_1.subObject)((0, helper_1.omitPrefixObject)(style, 'handleSE', 'handleSW'), 'handleS'), { render: handleSRender = renderRect } = _d, handleSStyle = __rest(_d, ["render"]);
|
|
65
|
+
const _e = (0, helper_1.subObject)(style, 'handleW'), { render: handleWRender = renderRect } = _e, handleWStyle = __rest(_e, ["render"]);
|
|
66
|
+
const _f = (0, helper_1.subObject)(style, 'handleNW'), { render: handleNWRender = renderRect } = _f, handleNWStyle = __rest(_f, ["render"]);
|
|
67
|
+
const _g = (0, helper_1.subObject)(style, 'handleNE'), { render: handleNERender = renderRect } = _g, handleNEStyle = __rest(_g, ["render"]);
|
|
68
|
+
const _h = (0, helper_1.subObject)(style, 'handleSE'), { render: handleSERender = renderRect } = _h, handleSEStyle = __rest(_h, ["render"]);
|
|
69
|
+
const _j = (0, helper_1.subObject)(style, 'handleSW'), { render: handleSWRender = renderRect } = _j, handleSWStyle = __rest(_j, ["render"]);
|
|
70
|
+
const renderHandle = (g, renderNode) => {
|
|
71
|
+
const { id } = g;
|
|
72
|
+
const handle = renderNode(g, g.attributes, document);
|
|
73
|
+
handle.id = id;
|
|
74
|
+
handle.style.draggable = true;
|
|
75
|
+
};
|
|
76
|
+
const appendHandle = (handleRender) => {
|
|
77
|
+
return () => {
|
|
78
|
+
const Node = (0, createElement_1.createElement)((g) => renderHandle(g, handleRender));
|
|
79
|
+
return new Node({});
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
const container = (0, selection_1.select)(g)
|
|
83
|
+
.attr('className', className)
|
|
84
|
+
.style('transform', `translate(${x}, ${y})`)
|
|
85
|
+
.style('draggable', true);
|
|
86
|
+
container
|
|
87
|
+
.maybeAppend('selection', 'rect')
|
|
88
|
+
.style('draggable', true)
|
|
89
|
+
.style('fill', 'transparent')
|
|
90
|
+
.call(applyStyle, Object.assign(Object.assign({ width,
|
|
91
|
+
height }, (0, helper_1.omitPrefixObject)(style, 'handle')), { transform: undefined }));
|
|
92
|
+
container
|
|
93
|
+
.maybeAppend('handle-n', appendHandle(handleNRender))
|
|
94
|
+
.style('x', half)
|
|
95
|
+
.style('y', -half)
|
|
96
|
+
.style('width', width - size)
|
|
97
|
+
.style('height', size)
|
|
98
|
+
.style('fill', 'transparent')
|
|
99
|
+
.call(applyStyle, handleNStyle);
|
|
100
|
+
container
|
|
101
|
+
.maybeAppend('handle-e', appendHandle(handleERender))
|
|
102
|
+
.style('x', width - half)
|
|
103
|
+
.style('y', half)
|
|
104
|
+
.style('width', size)
|
|
105
|
+
.style('height', height - size)
|
|
106
|
+
.style('fill', 'transparent')
|
|
107
|
+
.call(applyStyle, handleEStyle);
|
|
108
|
+
container
|
|
109
|
+
.maybeAppend('handle-s', appendHandle(handleSRender))
|
|
110
|
+
.style('x', half)
|
|
111
|
+
.style('y', height - half)
|
|
112
|
+
.style('width', width - size)
|
|
113
|
+
.style('height', size)
|
|
114
|
+
.style('fill', 'transparent')
|
|
115
|
+
.call(applyStyle, handleSStyle);
|
|
116
|
+
container
|
|
117
|
+
.maybeAppend('handle-w', appendHandle(handleWRender))
|
|
118
|
+
.style('x', -half)
|
|
119
|
+
.style('y', half)
|
|
120
|
+
.style('width', size)
|
|
121
|
+
.style('height', height - size)
|
|
122
|
+
.style('fill', 'transparent')
|
|
123
|
+
.call(applyStyle, handleWStyle);
|
|
124
|
+
container
|
|
125
|
+
.maybeAppend('handle-nw', appendHandle(handleNWRender))
|
|
126
|
+
.style('x', -half)
|
|
127
|
+
.style('y', -half)
|
|
128
|
+
.style('width', size)
|
|
129
|
+
.style('height', size)
|
|
130
|
+
.style('fill', 'transparent')
|
|
131
|
+
.call(applyStyle, handleNWStyle);
|
|
132
|
+
container
|
|
133
|
+
.maybeAppend('handle-ne', appendHandle(handleNERender))
|
|
134
|
+
.style('x', width - half)
|
|
135
|
+
.style('y', -half)
|
|
136
|
+
.style('width', size)
|
|
137
|
+
.style('height', size)
|
|
138
|
+
.style('fill', 'transparent')
|
|
139
|
+
.call(applyStyle, handleNEStyle);
|
|
140
|
+
container
|
|
141
|
+
.maybeAppend('handle-se', appendHandle(handleSERender))
|
|
142
|
+
.style('x', width - half)
|
|
143
|
+
.style('y', height - half)
|
|
144
|
+
.style('width', size)
|
|
145
|
+
.style('height', size)
|
|
146
|
+
.style('fill', 'transparent')
|
|
147
|
+
.call(applyStyle, handleSEStyle);
|
|
148
|
+
container
|
|
149
|
+
.maybeAppend('handle-sw', appendHandle(handleSWRender))
|
|
150
|
+
.style('x', -half)
|
|
151
|
+
.style('y', height - half)
|
|
152
|
+
.style('width', size)
|
|
153
|
+
.style('height', size)
|
|
154
|
+
.style('fill', 'transparent')
|
|
155
|
+
.call(applyStyle, handleSWStyle);
|
|
156
|
+
});
|
|
157
|
+
function brush(root, _a) {
|
|
158
|
+
var { brushed = () => { }, brushended = () => { }, brushcreated = () => { }, brushstarted = () => { }, brushupdated = () => { }, extent = bboxOf(root), brushRegion = (x, y, x1, y1, extent) => [x, y, x1, y1], reverse = false, fill = '#777', fillOpacity = '0.3', stroke = '#fff', selectedHandles = [
|
|
159
|
+
'handle-n',
|
|
160
|
+
'handle-e',
|
|
161
|
+
'handle-s',
|
|
162
|
+
'handle-w',
|
|
163
|
+
'handle-nw',
|
|
164
|
+
'handle-ne',
|
|
165
|
+
'handle-se',
|
|
166
|
+
'handle-sw',
|
|
167
|
+
] } = _a, style = __rest(_a, ["brushed", "brushended", "brushcreated", "brushstarted", "brushupdated", "extent", "brushRegion", "reverse", "fill", "fillOpacity", "stroke", "selectedHandles"]);
|
|
168
|
+
let start = null; // Start point of mask.
|
|
169
|
+
let end = null; // End point of mask.
|
|
170
|
+
let moveStart = null; // Start point of moving mask.
|
|
171
|
+
let mask = null; // Mask instance.
|
|
172
|
+
let background = null;
|
|
173
|
+
let creating = false;
|
|
174
|
+
const [originX, originY, width, height] = extent;
|
|
175
|
+
(0, utils_1.setCursor)(root, 'crosshair');
|
|
176
|
+
root.style.draggable = true; // Make it response to drag event.
|
|
177
|
+
// Remove old mask and init new mask.
|
|
178
|
+
const initMask = (x, y, event) => {
|
|
179
|
+
brushstarted(event);
|
|
180
|
+
if (mask)
|
|
181
|
+
mask.remove();
|
|
182
|
+
if (background)
|
|
183
|
+
background.remove();
|
|
184
|
+
start = [x, y];
|
|
185
|
+
if (reverse)
|
|
186
|
+
return initReverseMask();
|
|
187
|
+
initNormalMask();
|
|
188
|
+
};
|
|
189
|
+
const initReverseMask = () => {
|
|
190
|
+
background = new g_1.Path({
|
|
191
|
+
style: Object.assign(Object.assign({}, style), { fill,
|
|
192
|
+
fillOpacity,
|
|
193
|
+
stroke, pointerEvents: 'none' }),
|
|
194
|
+
});
|
|
195
|
+
mask = new ResizableMask({
|
|
196
|
+
// @ts-ignore
|
|
197
|
+
style: {
|
|
198
|
+
x: 0,
|
|
199
|
+
y: 0,
|
|
200
|
+
width: 0,
|
|
201
|
+
height: 0,
|
|
202
|
+
draggable: true,
|
|
203
|
+
document: root.ownerDocument,
|
|
204
|
+
},
|
|
205
|
+
className: 'mask',
|
|
206
|
+
});
|
|
207
|
+
root.appendChild(background);
|
|
208
|
+
root.appendChild(mask);
|
|
209
|
+
};
|
|
210
|
+
const initNormalMask = () => {
|
|
211
|
+
mask = new ResizableMask({
|
|
212
|
+
// @ts-ignore
|
|
213
|
+
style: Object.assign(Object.assign({ document: root.ownerDocument, x: 0, y: 0 }, style), { fill,
|
|
214
|
+
fillOpacity,
|
|
215
|
+
stroke, draggable: true }),
|
|
216
|
+
className: 'mask',
|
|
217
|
+
});
|
|
218
|
+
root.appendChild(mask);
|
|
219
|
+
};
|
|
220
|
+
// Remove mask and reset states.
|
|
221
|
+
const removeMask = (emit = true) => {
|
|
222
|
+
if (mask)
|
|
223
|
+
mask.remove();
|
|
224
|
+
if (background)
|
|
225
|
+
background.remove();
|
|
226
|
+
start = null;
|
|
227
|
+
end = null;
|
|
228
|
+
moveStart = null;
|
|
229
|
+
creating = false;
|
|
230
|
+
mask = null;
|
|
231
|
+
background = null;
|
|
232
|
+
brushended(emit);
|
|
233
|
+
};
|
|
234
|
+
// Update mask and invoke brushended callback.
|
|
235
|
+
const updateMask = (start, end, emit = true) => {
|
|
236
|
+
const [x, y, x1, y1] = normalizeBounds(start[0], start[1], end[0], end[1], extent);
|
|
237
|
+
const [fx, fy, fx1, fy1] = brushRegion(x, y, x1, y1, extent);
|
|
238
|
+
if (reverse)
|
|
239
|
+
updateReverseMask(fx, fy, fx1, fy1);
|
|
240
|
+
else
|
|
241
|
+
updateNormalMask(fx, fy, fx1, fy1);
|
|
242
|
+
brushed(fx, fy, fx1, fy1, emit);
|
|
243
|
+
return [fx, fy, fx1, fy1];
|
|
244
|
+
};
|
|
245
|
+
const updateNormalMask = (x, y, x1, y1) => {
|
|
246
|
+
mask.style.x = x;
|
|
247
|
+
mask.style.y = y;
|
|
248
|
+
mask.style.width = x1 - x;
|
|
249
|
+
mask.style.height = y1 - y;
|
|
250
|
+
};
|
|
251
|
+
const updateReverseMask = (x, y, x1, y1) => {
|
|
252
|
+
background.style.d = `
|
|
253
|
+
M${originX},${originY}L${width},${originY}L${width},${height}L${originX},${height}Z
|
|
254
|
+
M${x},${y}L${x},${y1}L${x1},${y1}L${x1},${y}Z
|
|
255
|
+
`;
|
|
256
|
+
mask.style.x = x;
|
|
257
|
+
mask.style.y = y;
|
|
258
|
+
mask.style.width = x1 - x;
|
|
259
|
+
mask.style.height = y1 - y;
|
|
260
|
+
};
|
|
261
|
+
// Move and update mask.
|
|
262
|
+
const moveMask = (current) => {
|
|
263
|
+
const clip = (dt, start, end, min, max) => {
|
|
264
|
+
if (dt + start < min)
|
|
265
|
+
return min - start;
|
|
266
|
+
if (dt + end > max)
|
|
267
|
+
return max - end;
|
|
268
|
+
return dt;
|
|
269
|
+
};
|
|
270
|
+
const dx = current[0] - moveStart[0];
|
|
271
|
+
const dy = current[1] - moveStart[1];
|
|
272
|
+
const dx1 = clip(dx, start[0], end[0], originX, width);
|
|
273
|
+
const dy1 = clip(dy, start[1], end[1], originY, height);
|
|
274
|
+
const currentStart = [start[0] + dx1, start[1] + dy1];
|
|
275
|
+
const currentEnd = [end[0] + dx1, end[1] + dy1];
|
|
276
|
+
updateMask(currentStart, currentEnd);
|
|
277
|
+
};
|
|
278
|
+
const handles = {
|
|
279
|
+
'handle-n': { vector: [0, 1, 0, 0], cursor: 'ns-resize' },
|
|
280
|
+
'handle-e': { vector: [0, 0, 1, 0], cursor: 'ew-resize' },
|
|
281
|
+
'handle-s': { vector: [0, 0, 0, 1], cursor: 'ns-resize' },
|
|
282
|
+
'handle-w': { vector: [1, 0, 0, 0], cursor: 'ew-resize' },
|
|
283
|
+
'handle-nw': { vector: [1, 1, 0, 0], cursor: 'nwse-resize' },
|
|
284
|
+
'handle-ne': { vector: [0, 1, 1, 0], cursor: 'nesw-resize' },
|
|
285
|
+
'handle-se': { vector: [0, 0, 1, 1], cursor: 'nwse-resize' },
|
|
286
|
+
'handle-sw': { vector: [1, 0, 0, 1], cursor: 'nesw-resize' },
|
|
287
|
+
};
|
|
288
|
+
const isMask = (target) => {
|
|
289
|
+
return isSelection(target) || isHandle(target);
|
|
290
|
+
};
|
|
291
|
+
const isHandle = (target) => {
|
|
292
|
+
const { id } = target;
|
|
293
|
+
if (selectedHandles.indexOf(id) === -1)
|
|
294
|
+
return false;
|
|
295
|
+
return new Set(Object.keys(handles)).has(id);
|
|
296
|
+
};
|
|
297
|
+
const isSelection = (target) => {
|
|
298
|
+
return target === mask.getElementById('selection');
|
|
299
|
+
};
|
|
300
|
+
// If target is plot area, create mask.
|
|
301
|
+
// If target is mask, about to update position.
|
|
302
|
+
const dragstart = (event) => {
|
|
303
|
+
const { target } = event;
|
|
304
|
+
const [offsetX, offsetY] = (0, utils_1.brushMousePosition)(root, event);
|
|
305
|
+
if (!mask || !isMask(target)) {
|
|
306
|
+
initMask(offsetX, offsetY, event);
|
|
307
|
+
creating = true;
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
if (isMask(target)) {
|
|
311
|
+
moveStart = [offsetX, offsetY];
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
const drag = (event) => {
|
|
315
|
+
const { target } = event;
|
|
316
|
+
const mouse = (0, utils_1.brushMousePosition)(root, event);
|
|
317
|
+
if (!start)
|
|
318
|
+
return;
|
|
319
|
+
// If target is plot area, resize mask.
|
|
320
|
+
if (!moveStart)
|
|
321
|
+
return updateMask(start, mouse);
|
|
322
|
+
// If target is selection area, move mask.
|
|
323
|
+
if (isSelection(target))
|
|
324
|
+
return moveMask(mouse);
|
|
325
|
+
// If target is handle area, resize mask.
|
|
326
|
+
const [dx, dy] = [mouse[0] - moveStart[0], mouse[1] - moveStart[1]];
|
|
327
|
+
const { id } = target;
|
|
328
|
+
if (handles[id]) {
|
|
329
|
+
const [sx, sy, ex, ey] = handles[id].vector;
|
|
330
|
+
return updateMask([start[0] + dx * sx, start[1] + dy * sy], [end[0] + dx * ex, end[1] + dy * ey]);
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
// If target is plot area, finish creating.
|
|
334
|
+
// If target is mask, finish moving mask.
|
|
335
|
+
const dragend = (event) => {
|
|
336
|
+
if (moveStart) {
|
|
337
|
+
moveStart = null;
|
|
338
|
+
// Update start and end;
|
|
339
|
+
const { x, y, width, height } = mask.style;
|
|
340
|
+
start = [x, y];
|
|
341
|
+
end = [x + width, y + height];
|
|
342
|
+
brushupdated(x, y, x + width, y + height, event);
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
end = (0, utils_1.brushMousePosition)(root, event);
|
|
346
|
+
const [fx, fy, fx1, fy1] = updateMask(start, end);
|
|
347
|
+
creating = false;
|
|
348
|
+
brushcreated(fx, fy, fx1, fy1, event);
|
|
349
|
+
};
|
|
350
|
+
// Hide mask.
|
|
351
|
+
const click = (event) => {
|
|
352
|
+
const { target } = event;
|
|
353
|
+
if (mask && !isMask(target))
|
|
354
|
+
removeMask();
|
|
355
|
+
};
|
|
356
|
+
// Update cursor depends on hovered element.
|
|
357
|
+
const pointermove = (event) => {
|
|
358
|
+
const { target } = event;
|
|
359
|
+
if (!mask || !isMask(target) || creating)
|
|
360
|
+
(0, utils_1.setCursor)(root, 'crosshair');
|
|
361
|
+
else if (isSelection(target))
|
|
362
|
+
(0, utils_1.setCursor)(root, 'move');
|
|
363
|
+
else if (isHandle(target))
|
|
364
|
+
(0, utils_1.setCursor)(root, handles[target.id].cursor);
|
|
365
|
+
};
|
|
366
|
+
const pointerleave = () => {
|
|
367
|
+
(0, utils_1.setCursor)(root, 'default');
|
|
368
|
+
};
|
|
369
|
+
root.addEventListener('dragstart', dragstart);
|
|
370
|
+
root.addEventListener('drag', drag);
|
|
371
|
+
root.addEventListener('dragend', dragend);
|
|
372
|
+
root.addEventListener('click', click);
|
|
373
|
+
root.addEventListener('pointermove', pointermove);
|
|
374
|
+
root.addEventListener('pointerleave', pointerleave);
|
|
375
|
+
return {
|
|
376
|
+
mask,
|
|
377
|
+
move(x, y, x1, y1, emit = true) {
|
|
378
|
+
if (!mask)
|
|
379
|
+
initMask(x, y, {});
|
|
380
|
+
start = [x, y];
|
|
381
|
+
end = [x1, y1];
|
|
382
|
+
updateMask([x, y], [x1, y1], emit);
|
|
383
|
+
},
|
|
384
|
+
remove(emit = true) {
|
|
385
|
+
if (mask)
|
|
386
|
+
removeMask(emit);
|
|
387
|
+
},
|
|
388
|
+
destroy() {
|
|
389
|
+
// Do not emit brush:end event.
|
|
390
|
+
if (mask)
|
|
391
|
+
removeMask(false);
|
|
392
|
+
(0, utils_1.setCursor)(root, 'default');
|
|
393
|
+
root.removeEventListener('dragstart', dragstart);
|
|
394
|
+
root.removeEventListener('drag', drag);
|
|
395
|
+
root.removeEventListener('dragend', dragend);
|
|
396
|
+
root.removeEventListener('click', click);
|
|
397
|
+
root.removeEventListener('pointermove', pointermove);
|
|
398
|
+
root.removeEventListener('pointerleave', pointerleave);
|
|
399
|
+
},
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
exports.brush = brush;
|
|
403
|
+
function selectSiblingViews(target, viewInstances, brushKey) {
|
|
404
|
+
return viewInstances.filter((d) => {
|
|
405
|
+
if (d === target)
|
|
406
|
+
return false;
|
|
407
|
+
const { interaction = {} } = d.options;
|
|
408
|
+
return Object.values(interaction).find((d) => d.brushKey === brushKey);
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
function selectSiblingContainers(target, viewInstances, brushKey) {
|
|
412
|
+
return selectSiblingViews(target, viewInstances, brushKey).map((d) => (0, utils_1.selectPlotArea)(d.container));
|
|
413
|
+
}
|
|
414
|
+
function selectSiblingOptions(target, viewInstances, brushKey) {
|
|
415
|
+
return selectSiblingViews(target, viewInstances, brushKey).map((d) => d.options);
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @todo Brush over view for series view.
|
|
419
|
+
* @todo Test perf.
|
|
420
|
+
*/
|
|
421
|
+
function brushHighlight(root, _a) {
|
|
422
|
+
var { elements: elementof, selectedHandles, siblings: siblingsof = (root) => [], datum, brushRegion, extent: optionalExtent, reverse, scale, coordinate, series = false, key = (d) => d, bboxOf = (root) => {
|
|
423
|
+
const { x, y, width, height } = root.style;
|
|
424
|
+
return { x, y, width, height };
|
|
425
|
+
}, state = {}, emitter } = _a, rest = __rest(_a, ["elements", "selectedHandles", "siblings", "datum", "brushRegion", "extent", "reverse", "scale", "coordinate", "series", "key", "bboxOf", "state", "emitter"]);
|
|
426
|
+
const elements = elementof(root);
|
|
427
|
+
const siblings = siblingsof(root);
|
|
428
|
+
const siblingElements = siblings.flatMap(elementof);
|
|
429
|
+
const valueof = (0, utils_1.createValueof)(elements, datum);
|
|
430
|
+
const brushStyle = (0, helper_1.subObject)(rest, 'mask');
|
|
431
|
+
const { setState, removeState } = (0, utils_1.useState)(state, valueof);
|
|
432
|
+
const clonedElement = new Map();
|
|
433
|
+
const { width: rootWidth, height: rootHeight, x: ordinalX = 0, y: ordinalY = 0, } = bboxOf(root);
|
|
434
|
+
const extent = optionalExtent
|
|
435
|
+
? optionalExtent
|
|
436
|
+
: [0, 0, rootWidth, rootHeight];
|
|
437
|
+
const brushended = () => {
|
|
438
|
+
for (const element of [...elements, ...siblingElements]) {
|
|
439
|
+
removeState(element, 'active', 'inactive');
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
const brushed = (x, y, x1, y1) => {
|
|
443
|
+
var _a;
|
|
444
|
+
// Hide brush for the sibling view.
|
|
445
|
+
for (const sibling of siblings)
|
|
446
|
+
(_a = sibling.brush) === null || _a === void 0 ? void 0 : _a.remove();
|
|
447
|
+
// Store the key of the active element.
|
|
448
|
+
const keys = new Set();
|
|
449
|
+
// Highlight and store selected elements.
|
|
450
|
+
for (const element of elements) {
|
|
451
|
+
const { min, max } = element.getLocalBounds();
|
|
452
|
+
const [ex, ey] = min;
|
|
453
|
+
const [ex1, ey1] = max;
|
|
454
|
+
if (!intersect([ex, ey, ex1, ey1], [x, y, x1, y1])) {
|
|
455
|
+
setState(element, 'inactive');
|
|
456
|
+
}
|
|
457
|
+
else {
|
|
458
|
+
setState(element, 'active');
|
|
459
|
+
keys.add(key(element));
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
// Highlight elements with same key in sibling view.
|
|
463
|
+
for (const element of siblingElements) {
|
|
464
|
+
if (keys.has(key(element)))
|
|
465
|
+
setState(element, 'active');
|
|
466
|
+
else
|
|
467
|
+
setState(element, 'inactive');
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
const seriesBrushend = () => {
|
|
471
|
+
for (const element of elements)
|
|
472
|
+
removeState(element, 'inactive');
|
|
473
|
+
for (const cloned of clonedElement.values())
|
|
474
|
+
cloned.remove();
|
|
475
|
+
clonedElement.clear();
|
|
476
|
+
};
|
|
477
|
+
const seriesBrushed = (x, y, x1, y1) => {
|
|
478
|
+
const clone = (element) => {
|
|
479
|
+
const cloned = element.cloneNode();
|
|
480
|
+
cloned.__data__ = element.__data__;
|
|
481
|
+
element.parentNode.appendChild(cloned);
|
|
482
|
+
clonedElement.set(element, cloned);
|
|
483
|
+
return cloned;
|
|
484
|
+
};
|
|
485
|
+
// Create a clipPath shared between all children.
|
|
486
|
+
const clipPath = new g_1.Rect({
|
|
487
|
+
style: {
|
|
488
|
+
x: x + ordinalX,
|
|
489
|
+
y: y + ordinalY,
|
|
490
|
+
width: x1 - x,
|
|
491
|
+
height: y1 - y,
|
|
492
|
+
},
|
|
493
|
+
});
|
|
494
|
+
root.appendChild(clipPath);
|
|
495
|
+
for (const element of elements) {
|
|
496
|
+
const cloned = clonedElement.get(element) || clone(element);
|
|
497
|
+
cloned.style.clipPath = clipPath;
|
|
498
|
+
setState(element, 'inactive');
|
|
499
|
+
setState(cloned, 'active');
|
|
500
|
+
}
|
|
501
|
+
};
|
|
502
|
+
const brushHandler = brush(root, Object.assign(Object.assign({}, brushStyle), { extent,
|
|
503
|
+
brushRegion,
|
|
504
|
+
reverse,
|
|
505
|
+
selectedHandles, brushended: (emit) => {
|
|
506
|
+
const handler = series ? seriesBrushend : brushended;
|
|
507
|
+
if (emit) {
|
|
508
|
+
emitter.emit('brush:remove', { nativeEvent: true });
|
|
509
|
+
}
|
|
510
|
+
handler();
|
|
511
|
+
}, brushed: (x, y, x1, y1, emit) => {
|
|
512
|
+
const selection = (0, scale_1.selectionOf)(x, y, x1, y1, scale, coordinate);
|
|
513
|
+
if (emit) {
|
|
514
|
+
emitter.emit('brush:highlight', {
|
|
515
|
+
nativeEvent: true,
|
|
516
|
+
data: { selection },
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
const handler = series ? seriesBrushed : brushed;
|
|
520
|
+
handler(x, y, x1, y1);
|
|
521
|
+
}, brushcreated: (x, y, x1, y1, event) => {
|
|
522
|
+
const selection = (0, scale_1.selectionOf)(x, y, x1, y1, scale, coordinate);
|
|
523
|
+
emitter.emit('brush:end', Object.assign(Object.assign({}, event), { nativeEvent: true, data: { selection } }));
|
|
524
|
+
}, brushupdated: (x, y, x1, y1, event) => {
|
|
525
|
+
const selection = (0, scale_1.selectionOf)(x, y, x1, y1, scale, coordinate);
|
|
526
|
+
emitter.emit('brush:end', Object.assign(Object.assign({}, event), { nativeEvent: true, data: { selection } }));
|
|
527
|
+
}, brushstarted: (e) => {
|
|
528
|
+
emitter.emit('brush:start', e);
|
|
529
|
+
} }));
|
|
530
|
+
// Move brush and highlight data.
|
|
531
|
+
const onHighlight = ({ nativeEvent, data }) => {
|
|
532
|
+
if (nativeEvent)
|
|
533
|
+
return;
|
|
534
|
+
const { selection } = data;
|
|
535
|
+
const [x, y, x1, y1] = (0, scale_1.pixelsOf)(selection, scale, coordinate);
|
|
536
|
+
brushHandler.move(x, y, x1, y1, false);
|
|
537
|
+
};
|
|
538
|
+
emitter.on('brush:highlight', onHighlight);
|
|
539
|
+
// Remove brush and reset data.
|
|
540
|
+
const onRemove = ({ nativeEvent } = {}) => {
|
|
541
|
+
if (nativeEvent)
|
|
542
|
+
return;
|
|
543
|
+
brushHandler.remove(false);
|
|
544
|
+
};
|
|
545
|
+
emitter.on('brush:remove', onRemove);
|
|
546
|
+
// Remove event handlers.
|
|
547
|
+
const preBrushDestroy = brushHandler.destroy.bind(brushHandler);
|
|
548
|
+
brushHandler.destroy = () => {
|
|
549
|
+
emitter.off('brush:highlight', onHighlight);
|
|
550
|
+
emitter.off('brush:remove', onRemove);
|
|
551
|
+
preBrushDestroy();
|
|
552
|
+
};
|
|
553
|
+
return brushHandler;
|
|
554
|
+
}
|
|
555
|
+
exports.brushHighlight = brushHighlight;
|
|
556
|
+
function BrushHighlight(_a) {
|
|
557
|
+
var { facet, brushKey } = _a, rest = __rest(_a, ["facet", "brushKey"]);
|
|
558
|
+
return (target, viewInstances, emitter) => {
|
|
559
|
+
const { container, view, options } = target;
|
|
560
|
+
const plotArea = (0, utils_1.selectPlotArea)(container);
|
|
561
|
+
const defaultOptions = {
|
|
562
|
+
maskFill: '#777',
|
|
563
|
+
maskFillOpacity: '0.3',
|
|
564
|
+
maskStroke: '#fff',
|
|
565
|
+
reverse: false,
|
|
566
|
+
};
|
|
567
|
+
const defaultStates = ['active', ['inactive', { opacity: 0.5 }]];
|
|
568
|
+
const { scale, coordinate } = view;
|
|
569
|
+
if (facet) {
|
|
570
|
+
const bbox = plotArea.getBounds();
|
|
571
|
+
const x = bbox.min[0];
|
|
572
|
+
const y = bbox.min[1];
|
|
573
|
+
const x1 = bbox.max[0];
|
|
574
|
+
const y1 = bbox.max[1];
|
|
575
|
+
return brushHighlight(plotArea.parentNode.parentNode, Object.assign(Object.assign({ elements: () => (0, utils_1.selectFacetG2Elements)(target, viewInstances), datum: (0, utils_1.createDatumof)((0, utils_1.selectFacetViews)(target, viewInstances).map((d) => d.view)), brushRegion: (x, y, x1, y1) => [x, y, x1, y1], extent: [x, y, x1, y1], state: (0, utils_1.mergeState)((0, utils_1.selectFacetViews)(target, viewInstances).map((d) => d.options), defaultStates), emitter,
|
|
576
|
+
scale,
|
|
577
|
+
coordinate, selectedHandles: undefined }, defaultOptions), rest));
|
|
578
|
+
}
|
|
579
|
+
const brush = brushHighlight(plotArea, Object.assign(Object.assign({ elements: utils_1.selectG2Elements, key: (element) => element.__data__.key, siblings: () => selectSiblingContainers(target, viewInstances, brushKey), datum: (0, utils_1.createDatumof)([
|
|
580
|
+
view,
|
|
581
|
+
...selectSiblingViews(target, viewInstances, brushKey).map((d) => d.view),
|
|
582
|
+
]), brushRegion: (x, y, x1, y1) => [x, y, x1, y1], extent: undefined, state: (0, utils_1.mergeState)([options, ...selectSiblingOptions(target, viewInstances, brushKey)], defaultStates), emitter,
|
|
583
|
+
scale,
|
|
584
|
+
coordinate, selectedHandles: undefined }, defaultOptions), rest));
|
|
585
|
+
// Bind brush to the view it belongs to.
|
|
586
|
+
//@ts-ignore
|
|
587
|
+
plotArea.brush = brush;
|
|
588
|
+
return () => brush.destroy();
|
|
589
|
+
};
|
|
590
|
+
}
|
|
591
|
+
exports.BrushHighlight = BrushHighlight;
|
|
592
|
+
//# sourceMappingURL=brushHighlight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brushHighlight.js","sourceRoot":"src/","sources":["interaction/brushHighlight.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+BAAoD;AACpD,4CAA8D;AAC9D,0CAAuD;AACvD,0DAAuD;AACvD,kDAAkE;AAClE,mCAWiB;AAEjB,SAAS,SAAS,CAAC,KAAU,EAAE,KAAU;IACvC,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC;IAC3C,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,GAAG,KAAK,CAAC;IAC3C,OAAO,CAAC,CAAC,KAAK,GAAG,KAAK,IAAI,KAAK,GAAG,KAAK,IAAI,KAAK,GAAG,KAAK,IAAI,KAAK,GAAG,KAAK,CAAC,CAAC;AAC7E,CAAC;AAED,SAAS,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM;IAC3C,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC;IACxC,OAAO;QACL,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CA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AAQ,gCACnC,QAAQ,EAAE,wBAAgB,EAC1B,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,EACtC,QAAQ,EAAE,GAAG,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,CAAC,EACxE,KAAK,EAAE,IAAA,qBAAa,EAAC;gBACnB,IAAI;gBACJ,GAAG,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,GAAG,CACxD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CACd;aACF,CAAC,EACF,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAC7C,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,IAAA,kBAAU,EACf,CAAC,OAAO,EAAE,GAAG,oBAAoB,CAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,EACnE,aAAa,CACd,EACD,OAAO;YACP,KAAK;YACL,UAAU,EACV,eAAe,EAAE,SAAS,IACvB,cAAc,GACd,IAAI,EACP,CAAC;QAEH,wCAAwC;QACxC,YAAY;QACZ,QAAQ,CAAC,KAAK,GAAG,KAAK,CAAC;QAEvB,OAAO,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;IAC/B,CAAC,CAAC;AACJ,CAAC;AArED,wCAqEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function BrushXFilter(options: any): (target: any, viewInstances: any, emitter: any) => () => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BrushXFilter = void 0;
|
|
4
|
+
const brushFilter_1 = require("./brushFilter");
|
|
5
|
+
const brushXHighlight_1 = require("./brushXHighlight");
|
|
6
|
+
function BrushXFilter(options) {
|
|
7
|
+
return (0, brushFilter_1.BrushFilter)(Object.assign(Object.assign({ hideX: true }, options), { brushRegion: brushXHighlight_1.brushXRegion }));
|
|
8
|
+
}
|
|
9
|
+
exports.BrushXFilter = BrushXFilter;
|
|
10
|
+
//# sourceMappingURL=brushXFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brushXFilter.js","sourceRoot":"src/","sources":["interaction/brushXFilter.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAC5C,uDAAiD;AAEjD,SAAgB,YAAY,CAAC,OAAO;IAClC,OAAO,IAAA,yBAAW,gCAChB,KAAK,EAAE,IAAI,IACR,OAAO,KACV,WAAW,EAAE,8BAAY,IACzB,CAAC;AACL,CAAC;AAND,oCAMC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function brushXRegion(x: any, y: any, x1: any, y1: any, extent: any): any[];
|
|
2
|
+
export declare function BrushXHighlight(options: any): (target: any, viewInstances: any, emitter: any) => {
|
|
3
|
+
mask: any;
|
|
4
|
+
move(x: any, y: any, x1: any, y1: any, emit?: boolean): void;
|
|
5
|
+
remove(emit?: boolean): void;
|
|
6
|
+
destroy(): void;
|
|
7
|
+
} | (() => void);
|