@antv/g2 5.0.18 → 5.0.20
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 +3 -3
- package/dist/g2.min.js +3 -3
- package/esm/api/chart.d.ts +175 -85
- package/esm/api/chart.js +3 -259
- package/esm/api/chart.js.map +1 -1
- package/esm/api/composition.d.ts +37 -0
- package/esm/api/{composition/base.js → composition.js} +17 -5
- 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 +10 -0
- package/esm/api/extend.js +9 -0
- package/esm/api/extend.js.map +1 -0
- package/esm/api/index.d.ts +2 -0
- package/esm/api/index.js +2 -0
- package/esm/api/index.js.map +1 -1
- package/esm/api/library.d.ts +171 -1
- package/esm/api/library.js +2 -2
- package/esm/api/library.js.map +1 -1
- package/esm/api/mark.d.ts +29 -0
- package/esm/api/{mark/base.js → mark.js} +16 -4
- package/esm/api/mark.js.map +1 -0
- package/esm/api/node.d.ts +2 -2
- package/esm/api/node.js.map +1 -1
- package/esm/api/props.d.ts +170 -12
- package/esm/api/props.js +21 -102
- package/esm/api/props.js.map +1 -1
- package/esm/api/runtime.d.ts +66 -0
- package/esm/api/runtime.js +294 -0
- package/esm/api/runtime.js.map +1 -0
- package/esm/api/types.d.ts +60 -5
- package/esm/api/utils.d.ts +1 -1
- package/esm/api/utils.js +11 -13
- package/esm/api/utils.js.map +1 -1
- package/esm/component/axis.js +7 -4
- package/esm/component/axis.js.map +1 -1
- package/esm/component/legendCategory.js +4 -5
- package/esm/component/legendCategory.js.map +1 -1
- package/esm/composition/d3Projection.js.map +1 -0
- package/esm/composition/geoPath.js.map +1 -0
- package/esm/{geo → composition}/geoView.js +1 -1
- package/esm/composition/geoView.js.map +1 -0
- package/esm/composition/index.d.ts +2 -0
- package/esm/composition/index.js +2 -0
- package/esm/composition/index.js.map +1 -1
- package/esm/data/index.d.ts +2 -0
- package/esm/data/index.js +1 -0
- package/esm/data/index.js.map +1 -1
- 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/index.d.ts +4 -3
- package/esm/index.js +3 -2
- package/esm/index.js.map +1 -1
- package/esm/interaction/brushFilter.js +18 -16
- package/esm/interaction/brushFilter.js.map +1 -1
- package/esm/interaction/chartIndex.js +25 -22
- package/esm/interaction/chartIndex.js.map +1 -1
- package/esm/interaction/fisheye.js +17 -13
- package/esm/interaction/fisheye.js.map +1 -1
- package/esm/interaction/legendFilter.js +32 -26
- package/esm/interaction/legendFilter.js.map +1 -1
- package/esm/interaction/sliderFilter.js +8 -9
- package/esm/interaction/sliderFilter.js.map +1 -1
- package/esm/interaction/tooltip.d.ts +1 -1
- package/esm/interaction/tooltip.js +39 -4
- package/esm/interaction/tooltip.js.map +1 -1
- package/esm/label-transform/overlapDodgeY.js.map +1 -1
- package/esm/lib/core.d.ts +159 -0
- package/esm/lib/core.js +175 -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 +4 -0
- package/esm/lib/graph.js +8 -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 +11 -0
- package/esm/lib/plot.js +16 -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.js +14 -5
- package/esm/mark/area.js.map +1 -1
- package/esm/mark/box.js +9 -2
- package/esm/mark/box.js.map +1 -1
- package/esm/mark/cell.js +11 -5
- package/esm/mark/cell.js.map +1 -1
- package/esm/mark/connector.js +6 -2
- package/esm/mark/connector.js.map +1 -1
- package/esm/mark/density.js +10 -7
- package/esm/mark/density.js.map +1 -1
- package/esm/mark/forceGraph.js +0 -3
- package/esm/mark/forceGraph.js.map +1 -1
- package/esm/mark/heatmap.js +9 -4
- package/esm/mark/heatmap.js.map +1 -1
- package/esm/mark/image.js +9 -4
- package/esm/mark/image.js.map +1 -1
- package/esm/mark/interval.js +13 -7
- package/esm/mark/interval.js.map +1 -1
- package/esm/mark/line.js +15 -4
- package/esm/mark/line.js.map +1 -1
- package/esm/mark/lineX.js +8 -3
- package/esm/mark/lineX.js.map +1 -1
- package/esm/mark/lineY.js +8 -3
- package/esm/mark/lineY.js.map +1 -1
- package/esm/mark/link.js +12 -4
- package/esm/mark/link.js.map +1 -1
- package/esm/mark/path.js +7 -2
- package/esm/mark/path.js.map +1 -1
- package/esm/mark/point.js +28 -29
- package/esm/mark/point.js.map +1 -1
- package/esm/mark/polygon.js +7 -2
- package/esm/mark/polygon.js.map +1 -1
- package/esm/mark/range.js +4 -2
- package/esm/mark/range.js.map +1 -1
- package/esm/mark/rangeX.js +6 -2
- package/esm/mark/rangeX.js.map +1 -1
- package/esm/mark/rangeY.js +6 -2
- package/esm/mark/rangeY.js.map +1 -1
- package/esm/mark/rect.js +9 -3
- package/esm/mark/rect.js.map +1 -1
- package/esm/mark/shape.js +9 -3
- package/esm/mark/shape.js.map +1 -1
- package/esm/mark/text.js +10 -4
- package/esm/mark/text.js.map +1 -1
- package/esm/mark/treemap.js.map +1 -1
- package/esm/mark/utils.d.ts +11 -8
- package/esm/mark/utils.js +8 -7
- package/esm/mark/utils.js.map +1 -1
- package/esm/mark/vector.js +6 -2
- package/esm/mark/vector.js.map +1 -1
- package/esm/runtime/index.d.ts +1 -1
- package/esm/runtime/index.js +1 -1
- package/esm/runtime/index.js.map +1 -1
- package/esm/runtime/plot.js +32 -13
- package/esm/runtime/plot.js.map +1 -1
- package/esm/runtime/render.js +3 -6
- package/esm/runtime/render.js.map +1 -1
- package/esm/runtime/types/component.d.ts +1 -1
- package/esm/runtime/types/mark.d.ts +4 -0
- package/esm/runtime/types/options.d.ts +4 -1
- package/esm/shape/index.d.ts +106 -101
- package/esm/shape/index.js +58 -53
- package/esm/shape/index.js.map +1 -1
- package/esm/shape/text/advance.js +3 -3
- package/esm/shape/text/advance.js.map +1 -1
- package/esm/spec/composition.d.ts +7 -0
- package/esm/spec/dataTransform.d.ts +3 -2
- package/esm/spec/index.d.ts +1 -0
- package/esm/spec/index.js.map +1 -1
- package/esm/spec/interaction.d.ts +4 -1
- package/esm/theme/academy.js +6 -6
- package/esm/theme/classic.js +6 -7
- package/esm/theme/classic.js.map +1 -1
- package/esm/theme/classicDark.js +6 -6
- package/esm/utils/coordinate.d.ts +2 -2
- package/esm/utils/scale.d.ts +1 -1
- package/esm/utils/scale.js +1 -1
- package/esm/utils/scale.js.map +1 -1
- package/lib/api/chart.d.ts +175 -85
- package/lib/api/chart.js +4 -263
- package/lib/api/chart.js.map +1 -1
- package/lib/api/composition.d.ts +37 -0
- package/lib/api/{composition/base.js → composition.js} +16 -5
- 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 +10 -0
- package/lib/api/extend.js +13 -0
- package/lib/api/extend.js.map +1 -0
- package/lib/api/index.d.ts +2 -0
- package/lib/api/index.js +5 -1
- package/lib/api/index.js.map +1 -1
- package/lib/api/library.d.ts +171 -1
- package/lib/api/library.js +2 -2
- package/lib/api/library.js.map +1 -1
- package/lib/api/mark.d.ts +29 -0
- package/lib/api/{mark/base.js → mark.js} +15 -4
- package/lib/api/mark.js.map +1 -0
- package/lib/api/node.d.ts +2 -2
- package/lib/api/node.js.map +1 -1
- package/lib/api/props.d.ts +170 -12
- package/lib/api/props.js +22 -106
- package/lib/api/props.js.map +1 -1
- package/lib/api/runtime.d.ts +66 -0
- package/lib/api/runtime.js +301 -0
- package/lib/api/runtime.js.map +1 -0
- package/lib/api/types.d.ts +60 -5
- package/lib/api/utils.d.ts +1 -1
- package/lib/api/utils.js +14 -16
- package/lib/api/utils.js.map +1 -1
- package/lib/component/axis.js +7 -4
- package/lib/component/axis.js.map +1 -1
- package/lib/component/legendCategory.js +4 -5
- package/lib/component/legendCategory.js.map +1 -1
- package/lib/composition/d3Projection.js.map +1 -0
- package/lib/composition/geoPath.js.map +1 -0
- package/lib/{geo → composition}/geoView.js +1 -1
- package/lib/composition/geoView.js.map +1 -0
- package/lib/composition/index.d.ts +2 -0
- package/lib/composition/index.js +5 -1
- package/lib/composition/index.js.map +1 -1
- package/lib/data/index.d.ts +2 -0
- package/lib/data/index.js +3 -1
- package/lib/data/index.js.map +1 -1
- 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/index.d.ts +4 -3
- package/lib/index.js +8 -3
- package/lib/index.js.map +1 -1
- package/lib/interaction/brushFilter.js +18 -16
- package/lib/interaction/brushFilter.js.map +1 -1
- package/lib/interaction/chartIndex.js +25 -22
- package/lib/interaction/chartIndex.js.map +1 -1
- package/lib/interaction/fisheye.js +17 -13
- package/lib/interaction/fisheye.js.map +1 -1
- package/lib/interaction/legendFilter.js +32 -26
- package/lib/interaction/legendFilter.js.map +1 -1
- package/lib/interaction/sliderFilter.js +8 -9
- package/lib/interaction/sliderFilter.js.map +1 -1
- package/lib/interaction/tooltip.d.ts +1 -1
- package/lib/interaction/tooltip.js +38 -3
- package/lib/interaction/tooltip.js.map +1 -1
- package/lib/label-transform/overlapDodgeY.js.map +1 -1
- package/lib/lib/core.d.ts +159 -0
- package/lib/lib/core.js +179 -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 +4 -0
- package/lib/lib/graph.js +12 -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 +11 -0
- package/lib/lib/plot.js +20 -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.js +14 -5
- package/lib/mark/area.js.map +1 -1
- package/lib/mark/box.js +9 -2
- package/lib/mark/box.js.map +1 -1
- package/lib/mark/cell.js +11 -5
- package/lib/mark/cell.js.map +1 -1
- package/lib/mark/connector.js +6 -2
- package/lib/mark/connector.js.map +1 -1
- package/lib/mark/density.js +10 -7
- package/lib/mark/density.js.map +1 -1
- package/lib/mark/forceGraph.js +0 -3
- package/lib/mark/forceGraph.js.map +1 -1
- package/lib/mark/heatmap.js +9 -4
- package/lib/mark/heatmap.js.map +1 -1
- package/lib/mark/image.js +9 -4
- package/lib/mark/image.js.map +1 -1
- package/lib/mark/interval.js +13 -7
- package/lib/mark/interval.js.map +1 -1
- package/lib/mark/line.js +15 -4
- package/lib/mark/line.js.map +1 -1
- package/lib/mark/lineX.js +8 -3
- package/lib/mark/lineX.js.map +1 -1
- package/lib/mark/lineY.js +8 -3
- package/lib/mark/lineY.js.map +1 -1
- package/lib/mark/link.js +12 -4
- package/lib/mark/link.js.map +1 -1
- package/lib/mark/path.js +7 -2
- package/lib/mark/path.js.map +1 -1
- package/lib/mark/point.js +28 -29
- package/lib/mark/point.js.map +1 -1
- package/lib/mark/polygon.js +7 -2
- package/lib/mark/polygon.js.map +1 -1
- package/lib/mark/range.js +4 -2
- package/lib/mark/range.js.map +1 -1
- package/lib/mark/rangeX.js +6 -2
- package/lib/mark/rangeX.js.map +1 -1
- package/lib/mark/rangeY.js +6 -2
- package/lib/mark/rangeY.js.map +1 -1
- package/lib/mark/rect.js +9 -3
- package/lib/mark/rect.js.map +1 -1
- package/lib/mark/shape.js +9 -3
- package/lib/mark/shape.js.map +1 -1
- package/lib/mark/text.js +10 -4
- package/lib/mark/text.js.map +1 -1
- package/lib/mark/treemap.js.map +1 -1
- package/lib/mark/utils.d.ts +11 -8
- package/lib/mark/utils.js +8 -7
- package/lib/mark/utils.js.map +1 -1
- package/lib/mark/vector.js +6 -2
- package/lib/mark/vector.js.map +1 -1
- package/lib/runtime/index.d.ts +1 -1
- package/lib/runtime/index.js +4 -4
- package/lib/runtime/index.js.map +1 -1
- package/lib/runtime/plot.js +32 -13
- package/lib/runtime/plot.js.map +1 -1
- package/lib/runtime/render.js +3 -6
- package/lib/runtime/render.js.map +1 -1
- package/lib/runtime/types/component.d.ts +1 -1
- package/lib/runtime/types/mark.d.ts +4 -0
- package/lib/runtime/types/options.d.ts +4 -1
- package/lib/shape/index.d.ts +106 -101
- package/lib/shape/index.js +71 -61
- package/lib/shape/index.js.map +1 -1
- package/lib/shape/text/advance.js +3 -3
- package/lib/shape/text/advance.js.map +1 -1
- package/lib/spec/composition.d.ts +7 -0
- package/lib/spec/dataTransform.d.ts +3 -2
- package/lib/spec/index.d.ts +1 -0
- package/lib/spec/index.js.map +1 -1
- package/lib/spec/interaction.d.ts +4 -1
- package/lib/theme/academy.js +6 -6
- package/lib/theme/classic.js +6 -7
- package/lib/theme/classic.js.map +1 -1
- package/lib/theme/classicDark.js +6 -6
- package/lib/utils/coordinate.d.ts +2 -2
- package/lib/utils/scale.d.ts +1 -1
- package/lib/utils/scale.js +1 -1
- package/lib/utils/scale.js.map +1 -1
- package/package.json +8 -7
- package/src/api/chart.ts +5 -341
- package/src/api/{composition/base.ts → composition.ts} +16 -8
- package/src/api/define.ts +128 -0
- package/src/api/extend.ts +36 -0
- package/src/api/index.ts +2 -0
- package/src/api/library.ts +2 -2
- package/src/api/{mark/base.ts → mark.ts} +10 -7
- package/src/api/node.ts +3 -3
- package/src/api/props.ts +30 -114
- package/src/api/runtime.ts +366 -0
- package/src/api/types.ts +95 -17
- package/src/api/utils.ts +28 -11
- package/src/component/axis.ts +10 -5
- package/src/component/legendCategory.ts +4 -6
- package/src/{geo → composition}/geoView.ts +1 -1
- package/src/composition/index.ts +2 -0
- package/src/data/index.ts +2 -0
- package/src/data/log.ts +16 -0
- package/src/index.ts +12 -3
- package/src/interaction/brushFilter.ts +31 -28
- package/src/interaction/chartIndex.ts +26 -23
- package/src/interaction/fisheye.ts +16 -12
- package/src/interaction/legendFilter.ts +45 -40
- package/src/interaction/sliderFilter.ts +15 -16
- package/src/interaction/tooltip.ts +47 -3
- package/src/label-transform/overlapDodgeY.ts +0 -1
- package/src/{stdlib/index.ts → lib/core.ts} +76 -258
- package/src/lib/geo.ts +9 -0
- package/src/lib/graph.ts +8 -0
- package/src/lib/index.ts +6 -0
- package/src/lib/lite.ts +127 -0
- package/src/lib/plot.ts +16 -0
- package/src/lib/std.ts +13 -0
- package/src/mark/area.ts +15 -6
- package/src/mark/box.ts +10 -2
- package/src/mark/cell.ts +12 -6
- package/src/mark/connector.ts +7 -3
- package/src/mark/density.ts +11 -8
- package/src/mark/forceGraph.ts +0 -3
- package/src/mark/heatmap.ts +10 -5
- package/src/mark/image.ts +10 -5
- package/src/mark/interval.ts +22 -10
- package/src/mark/line.ts +23 -5
- package/src/mark/lineX.ts +9 -4
- package/src/mark/lineY.ts +9 -4
- package/src/mark/link.ts +13 -5
- package/src/mark/path.ts +8 -3
- package/src/mark/point.ts +49 -30
- package/src/mark/polygon.ts +8 -3
- package/src/mark/range.ts +5 -3
- package/src/mark/rangeX.ts +7 -3
- package/src/mark/rangeY.ts +7 -3
- package/src/mark/rect.ts +10 -4
- package/src/mark/shape.ts +14 -3
- package/src/mark/text.ts +11 -5
- package/src/mark/treemap.ts +0 -1
- package/src/mark/utils.ts +9 -8
- package/src/mark/vector.ts +7 -3
- package/src/runtime/index.ts +1 -1
- package/src/runtime/plot.ts +41 -17
- package/src/runtime/render.ts +3 -6
- package/src/runtime/types/component.ts +1 -2
- package/src/runtime/types/mark.ts +4 -0
- package/src/runtime/types/options.ts +4 -1
- package/src/shape/index.ts +106 -110
- package/src/shape/text/advance.ts +1 -2
- package/src/spec/composition.ts +7 -0
- package/src/spec/dataTransform.ts +5 -0
- package/src/spec/index.ts +1 -0
- package/src/spec/interaction.ts +5 -1
- package/src/theme/academy.ts +6 -6
- package/src/theme/classic.ts +6 -7
- package/src/theme/classicDark.ts +6 -6
- package/src/utils/scale.ts +1 -1
- package/esm/api/composition/base.d.ts +0 -28
- package/esm/api/composition/base.js.map +0 -1
- package/esm/api/composition/facetCircle.d.ts +0 -17
- package/esm/api/composition/facetCircle.js +0 -27
- package/esm/api/composition/facetCircle.js.map +0 -1
- package/esm/api/composition/facetRect.d.ts +0 -17
- package/esm/api/composition/facetRect.js +0 -27
- package/esm/api/composition/facetRect.js.map +0 -1
- package/esm/api/composition/geoPath.d.ts +0 -20
- package/esm/api/composition/geoPath.js +0 -30
- package/esm/api/composition/geoPath.js.map +0 -1
- package/esm/api/composition/geoView.d.ts +0 -19
- package/esm/api/composition/geoView.js +0 -28
- package/esm/api/composition/geoView.js.map +0 -1
- package/esm/api/composition/index.d.ts +0 -33
- package/esm/api/composition/index.js +0 -32
- package/esm/api/composition/index.js.map +0 -1
- package/esm/api/composition/repeatMatrix.d.ts +0 -17
- package/esm/api/composition/repeatMatrix.js +0 -27
- package/esm/api/composition/repeatMatrix.js.map +0 -1
- package/esm/api/composition/spaceFlex.d.ts +0 -12
- package/esm/api/composition/spaceFlex.js +0 -19
- package/esm/api/composition/spaceFlex.js.map +0 -1
- package/esm/api/composition/spaceLayer.d.ts +0 -12
- package/esm/api/composition/spaceLayer.js +0 -19
- package/esm/api/composition/spaceLayer.js.map +0 -1
- package/esm/api/composition/timingKeyframe.d.ts +0 -11
- package/esm/api/composition/timingKeyframe.js +0 -19
- package/esm/api/composition/timingKeyframe.js.map +0 -1
- package/esm/api/composition/view.d.ts +0 -19
- package/esm/api/composition/view.js +0 -29
- package/esm/api/composition/view.js.map +0 -1
- package/esm/api/mark/base.d.ts +0 -22
- package/esm/api/mark/base.js.map +0 -1
- package/esm/api/mark/index.d.ts +0 -75
- package/esm/api/mark/index.js +0 -39
- package/esm/api/mark/index.js.map +0 -1
- package/esm/api/mark/mark.d.ts +0 -212
- package/esm/api/mark/mark.js +0 -339
- package/esm/api/mark/mark.js.map +0 -1
- package/esm/api/mark/types.d.ts +0 -26
- package/esm/api/mark/types.js +0 -2
- package/esm/api/mark/types.js.map +0 -1
- package/esm/geo/d3Projection.js.map +0 -1
- package/esm/geo/geoPath.js.map +0 -1
- package/esm/geo/geoView.js.map +0 -1
- package/esm/geo/index.d.ts +0 -9
- package/esm/geo/index.js +0 -8
- package/esm/geo/index.js.map +0 -1
- package/esm/stdlib/index.d.ts +0 -2
- package/esm/stdlib/index.js +0 -21
- package/esm/stdlib/index.js.map +0 -1
- package/lib/api/composition/base.d.ts +0 -28
- package/lib/api/composition/base.js.map +0 -1
- package/lib/api/composition/facetCircle.d.ts +0 -17
- package/lib/api/composition/facetCircle.js +0 -30
- package/lib/api/composition/facetCircle.js.map +0 -1
- package/lib/api/composition/facetRect.d.ts +0 -17
- package/lib/api/composition/facetRect.js +0 -30
- package/lib/api/composition/facetRect.js.map +0 -1
- package/lib/api/composition/geoPath.d.ts +0 -20
- package/lib/api/composition/geoPath.js +0 -33
- package/lib/api/composition/geoPath.js.map +0 -1
- package/lib/api/composition/geoView.d.ts +0 -19
- package/lib/api/composition/geoView.js +0 -31
- package/lib/api/composition/geoView.js.map +0 -1
- package/lib/api/composition/index.d.ts +0 -33
- package/lib/api/composition/index.js +0 -44
- package/lib/api/composition/index.js.map +0 -1
- package/lib/api/composition/repeatMatrix.d.ts +0 -17
- package/lib/api/composition/repeatMatrix.js +0 -30
- package/lib/api/composition/repeatMatrix.js.map +0 -1
- package/lib/api/composition/spaceFlex.d.ts +0 -12
- package/lib/api/composition/spaceFlex.js +0 -22
- package/lib/api/composition/spaceFlex.js.map +0 -1
- package/lib/api/composition/spaceLayer.d.ts +0 -12
- package/lib/api/composition/spaceLayer.js +0 -22
- package/lib/api/composition/spaceLayer.js.map +0 -1
- package/lib/api/composition/timingKeyframe.d.ts +0 -11
- package/lib/api/composition/timingKeyframe.js +0 -22
- package/lib/api/composition/timingKeyframe.js.map +0 -1
- package/lib/api/composition/view.d.ts +0 -19
- package/lib/api/composition/view.js +0 -32
- package/lib/api/composition/view.js.map +0 -1
- package/lib/api/mark/base.d.ts +0 -22
- package/lib/api/mark/base.js.map +0 -1
- package/lib/api/mark/index.d.ts +0 -75
- package/lib/api/mark/index.js +0 -43
- package/lib/api/mark/index.js.map +0 -1
- package/lib/api/mark/mark.d.ts +0 -212
- package/lib/api/mark/mark.js +0 -342
- package/lib/api/mark/mark.js.map +0 -1
- package/lib/api/mark/types.d.ts +0 -26
- package/lib/api/mark/types.js +0 -3
- package/lib/api/mark/types.js.map +0 -1
- package/lib/geo/d3Projection.js.map +0 -1
- package/lib/geo/geoPath.js.map +0 -1
- package/lib/geo/geoView.js.map +0 -1
- package/lib/geo/index.d.ts +0 -9
- package/lib/geo/index.js +0 -12
- package/lib/geo/index.js.map +0 -1
- package/lib/stdlib/index.d.ts +0 -2
- package/lib/stdlib/index.js +0 -25
- package/lib/stdlib/index.js.map +0 -1
- package/src/api/composition/facetCircle.ts +0 -36
- package/src/api/composition/facetRect.ts +0 -36
- package/src/api/composition/geoPath.ts +0 -37
- package/src/api/composition/geoView.ts +0 -39
- package/src/api/composition/index.ts +0 -57
- package/src/api/composition/repeatMatrix.ts +0 -36
- package/src/api/composition/spaceFlex.ts +0 -18
- package/src/api/composition/spaceLayer.ts +0 -18
- package/src/api/composition/timingKeyframe.ts +0 -16
- package/src/api/composition/view.ts +0 -42
- package/src/api/mark/index.ts +0 -113
- package/src/api/mark/mark.ts +0 -439
- package/src/api/mark/types.ts +0 -31
- package/src/geo/index.ts +0 -12
- /package/esm/{geo → composition}/d3Projection.d.ts +0 -0
- /package/esm/{geo → composition}/d3Projection.js +0 -0
- /package/esm/{geo → composition}/geoPath.d.ts +0 -0
- /package/esm/{geo → composition}/geoPath.js +0 -0
- /package/esm/{geo → composition}/geoView.d.ts +0 -0
- /package/lib/{geo → composition}/d3Projection.d.ts +0 -0
- /package/lib/{geo → composition}/d3Projection.js +0 -0
- /package/lib/{geo → composition}/geoPath.d.ts +0 -0
- /package/lib/{geo → composition}/geoPath.js +0 -0
- /package/lib/{geo → composition}/geoView.d.ts +0 -0
- /package/src/{geo → composition}/d3Projection.ts +0 -0
- /package/src/{geo → composition}/geoPath.ts +0 -0
package/lib/runtime/render.js
CHANGED
|
@@ -9,7 +9,6 @@ const g_canvas_1 = require("@antv/g-canvas");
|
|
|
9
9
|
const g_plugin_dragndrop_1 = require("@antv/g-plugin-dragndrop");
|
|
10
10
|
const util_1 = require("@antv/util");
|
|
11
11
|
const event_emitter_1 = __importDefault(require("@antv/event-emitter"));
|
|
12
|
-
const stdlib_1 = require("../stdlib");
|
|
13
12
|
const selection_1 = require("../utils/selection");
|
|
14
13
|
const event_1 = require("../utils/event");
|
|
15
14
|
const helper_1 = require("../utils/helper");
|
|
@@ -73,9 +72,8 @@ function render(options, context = {}, resolve = () => { }, reject = (e) => {
|
|
|
73
72
|
(0, helper_1.error)('ChartOptions.theme is required, such as `const chart = new Chart({ theme: "classic"})`.');
|
|
74
73
|
}
|
|
75
74
|
const keyed = inferKeys(options);
|
|
76
|
-
const { canvas = Canvas(width, height),
|
|
75
|
+
const { canvas = Canvas(width, height), emitter = new event_emitter_1.default(), library, } = context;
|
|
77
76
|
context.canvas = canvas;
|
|
78
|
-
context.library = library;
|
|
79
77
|
context.emitter = emitter;
|
|
80
78
|
canvas.resize(width, height);
|
|
81
79
|
emitter.emit(event_1.ChartEvent.BEFORE_RENDER);
|
|
@@ -102,15 +100,14 @@ function renderToMountedElement(options, context = {}, resolve = () => { }, reje
|
|
|
102
100
|
throw e;
|
|
103
101
|
}) {
|
|
104
102
|
// Initialize the context if it is not provided.
|
|
105
|
-
const { width = 640, height = 480
|
|
103
|
+
const { width = 640, height = 480 } = options;
|
|
106
104
|
const keyed = inferKeys(options);
|
|
107
|
-
const {
|
|
105
|
+
const { group = new g_1.Group(), emitter = new event_emitter_1.default(), library, } = context;
|
|
108
106
|
if (!(group === null || group === void 0 ? void 0 : group.parentElement)) {
|
|
109
107
|
(0, helper_1.error)(`renderToMountedElement can't render chart to unmounted group.`);
|
|
110
108
|
}
|
|
111
109
|
const selection = (0, selection_1.select)(group);
|
|
112
110
|
context.group = group;
|
|
113
|
-
context.library = library;
|
|
114
111
|
context.emitter = emitter;
|
|
115
112
|
emitter.emit(event_1.ChartEvent.BEFORE_RENDER);
|
|
116
113
|
// Plot the chart and mutate context.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.js","sourceRoot":"src/","sources":["runtime/render.ts"],"names":[],"mappings":";;;;;;AAAA,+BAAkE;AAClE,6CAA4D;AAC5D,iEAAuE;AACvE,qCAAqC;AACrC,wEAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"render.js","sourceRoot":"src/","sources":["runtime/render.ts"],"names":[],"mappings":";;;;;;AAAA,+BAAkE;AAClE,6CAA4D;AAC5D,iEAAuE;AACvE,qCAAqC;AACrC,wEAA+C;AAC/C,kDAA4C;AAC5C,0CAA4C;AAC5C,4CAAwC;AAExC,iCAA8B;AAC9B,yCAA6C;AAE7C;;;;;GAKG;AACH,SAAS,SAAS,CAAoC,OAAU;IAC9D,MAAM,IAAI,GAAG,IAAA,cAAO,EAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAClC,MAAM,UAAU,GAAG,IAAI,GAAG,CAAO,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACjD,MAAM,SAAS,GAAG,IAAI,GAAG,CAAY,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,MAAM,UAAU,GAAG,CAAC,I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CAAC,KAAK,EAAE,EAAE;QAC5B,MAAM,EAAE,eAAe,GAAG,IAAI,GAAG,EAAE,EAAE,GAAwB,KAAK,CAAC;QACnE,IAAI,CAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,IAAI,IAAG,CAAC,EAAE;YAC7B,KAAK,CAAC,IAAI,CAAC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;gBAC3D,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EAAE,CAAC;YACnB,CAAC,CAAC,CAAC;SACJ;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,kBAAkB,CAAC,SAA+B;IACzD,OAAO,OAAO,SAAS,KAAK,QAAQ;QAClC,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC;QACpC,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC"}
|
|
@@ -10,7 +10,7 @@ import { Transform, TransformComponent } from './transform';
|
|
|
10
10
|
export type G2ComponentNamespaces = 'coordinate' | 'encode' | 'mark' | 'palette' | 'scale' | 'shape' | 'theme' | 'transform' | 'component' | 'animation' | 'action' | 'interaction' | 'composition' | 'data' | 'labelTransform';
|
|
11
11
|
export type G2Component = EncodeComponent | ScaleComponent | CoordinateComponent | PaletteComponent | MarkComponent | ShapeComponent | ThemeComponent | GuideComponentComponent | AnimationComponent | InteractionComponent | CompositionComponent | TransformComponent | DataComponent | LabelTransformComponent;
|
|
12
12
|
export type G2ComponentValue = Transform | Encode | Scale | CoordinateTransform | Palette | Mark | Shape | Theme | GuideComponent | Animation | Interaction | Composition | LabelTransform;
|
|
13
|
-
export type G2BaseComponent<R = any, O = Record<string, unknown
|
|
13
|
+
export type G2BaseComponent<R = any, O = Record<string, unknown>, P = Record<string, unknown>, C = Record<string, unknown>> = {
|
|
14
14
|
(options?: O, context?: C): R;
|
|
15
15
|
props?: P;
|
|
16
16
|
};
|
|
@@ -19,6 +19,10 @@ export type MarkProps = {
|
|
|
19
19
|
channels?: Channel[];
|
|
20
20
|
preInference?: TransformSpec[];
|
|
21
21
|
postInference?: TransformSpec[];
|
|
22
|
+
shape?: Record<string, {
|
|
23
|
+
(...args: any[]): any;
|
|
24
|
+
props?: Record<string, any>;
|
|
25
|
+
}>;
|
|
22
26
|
composite?: boolean;
|
|
23
27
|
interaction?: {
|
|
24
28
|
shareTooltip?: boolean;
|
|
@@ -17,7 +17,10 @@ export type Node = {
|
|
|
17
17
|
key?: string;
|
|
18
18
|
[key: string]: any;
|
|
19
19
|
};
|
|
20
|
-
export type G2Library = Record<`${G2ComponentNamespaces}.${string}`,
|
|
20
|
+
export type G2Library = Record<`${G2ComponentNamespaces}.${string}`, {
|
|
21
|
+
(...args: any[]): any;
|
|
22
|
+
props?: Record<string, any>;
|
|
23
|
+
}>;
|
|
21
24
|
export type G2Context = {
|
|
22
25
|
library?: G2Library;
|
|
23
26
|
canvas?: Canvas;
|
package/lib/shape/index.d.ts
CHANGED
|
@@ -1,102 +1,107 @@
|
|
|
1
|
-
export { Rect } from './interval/rect';
|
|
2
|
-
export { Hollow as
|
|
3
|
-
export { Funnel } from './interval/funnel';
|
|
4
|
-
export { Pyramid } from './interval/pyramid';
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
1
|
+
export { Rect as IntervalShape } from './interval/rect';
|
|
2
|
+
export { Hollow as IntervalHollow } from './interval/hollow';
|
|
3
|
+
export { Funnel as IntervalFunnel } from './interval/funnel';
|
|
4
|
+
export { Pyramid as IntervalPyramid } from './interval/pyramid';
|
|
5
|
+
export { Rect as CellShape } from './interval/rect';
|
|
6
|
+
export { Hollow as CellHollow } from './interval/hollow';
|
|
7
|
+
export { Line as LineShape } from './line/line';
|
|
8
|
+
export { Smooth as LineSmooth } from './line/smooth';
|
|
9
|
+
export { HV as LineHV } from './line/hv';
|
|
10
|
+
export { VH as LineVH } from './line/vh';
|
|
11
|
+
export { HVH as LineHVH } from './line/hvh';
|
|
12
|
+
export { Trail as LineTrail } from './line/trail';
|
|
13
|
+
export { HollowBowtie as PointHollowBowtie } from './point/hollowBowtie';
|
|
14
|
+
export { HollowDiamond as PointHollowDiamond } from './point/hollowDiamond';
|
|
15
|
+
export { HollowHexagon as PointHollowHexagon } from './point/hollowHexagon';
|
|
16
|
+
export { HollowPoint as PointHollow } from './point/hollow';
|
|
17
|
+
export { HollowSquare as PointHollowSquare } from './point/hollowSquare';
|
|
18
|
+
export { HollowTriangle as PointHollowTriangle } from './point/hollowTriangle';
|
|
19
|
+
export { HollowTriangleDown as PointHollowTriangleDown } from './point/hollowTriangleDown';
|
|
20
|
+
export { Bowtie as PointBowtie } from './point/bowtie';
|
|
21
|
+
export { Cross as PointCross } from './point/cross';
|
|
22
|
+
export { Diamond as PointDiamond } from './point/diamond';
|
|
23
|
+
export { Hexagon as PointHexagon } from './point/hexagon';
|
|
24
|
+
export { Hyphen as PointHyphen } from './point/hyphen';
|
|
25
|
+
export { Line as PointLine } from './point/line';
|
|
26
|
+
export { Plus as PointPlus } from './point/plus';
|
|
27
|
+
export { Point as PointShape } from './point/point';
|
|
28
|
+
export { Square as PointSquare } from './point/square';
|
|
29
|
+
export { Tick as PointTick } from './point/tick';
|
|
30
|
+
export { Triangle as PointTriangle } from './point/triangle';
|
|
31
|
+
export { TriangleDown as PointTriangleDown } from './point/triangleDown';
|
|
32
|
+
export { Vector as VectorShape } from './vector/vector';
|
|
33
|
+
export { Text as TextShape } from './text/text';
|
|
34
|
+
export { Badge as TextBadge } from './text/badge';
|
|
35
|
+
export { Area as AreaShape } from './area/area';
|
|
36
|
+
export { Smooth as AreaSmooth } from './area/smooth';
|
|
37
|
+
export { HVH as AreaHVH } from './area/hvh';
|
|
38
|
+
export { VH as AreaVH } from './area/vh';
|
|
39
|
+
export { HV as AreaHV } from './area/hv';
|
|
40
|
+
export { Link as LinkShape } from './link/link';
|
|
41
|
+
export { Smooth as LinkSmooth } from './link/smooth';
|
|
42
|
+
export { VHV as LinkVHV } from './link/vhv';
|
|
43
|
+
export { Arc as LinkArc } from './link/arc';
|
|
44
|
+
export { Image as ImageShape } from './image/image';
|
|
45
|
+
export { Polygon as PolygonShape } from './polygon/polygon';
|
|
46
|
+
export { Ribbon as PolygonRibbon } from './polygon/ribbon';
|
|
47
|
+
export { Box as BoxShape } from './box/box';
|
|
48
|
+
export { Violin as BoxViolin } from './box/violin';
|
|
47
49
|
export { Line as LineXY } from './lineXY/line';
|
|
48
|
-
export { Connector } from './connector/connector';
|
|
49
|
-
export { Label } from './label/label';
|
|
50
|
-
export { Path } from './path/path';
|
|
51
|
-
export { Hollow as
|
|
52
|
-
export { Density } from './density/density';
|
|
53
|
-
export { Heatmap } from './heatmap/heatmap';
|
|
54
|
-
export {
|
|
55
|
-
export
|
|
56
|
-
export
|
|
57
|
-
export
|
|
58
|
-
export type {
|
|
59
|
-
export type {
|
|
60
|
-
export type {
|
|
61
|
-
export type {
|
|
62
|
-
export type {
|
|
63
|
-
export type {
|
|
64
|
-
export type {
|
|
65
|
-
export type {
|
|
66
|
-
export type {
|
|
67
|
-
export type {
|
|
68
|
-
export type {
|
|
69
|
-
export type {
|
|
70
|
-
export type {
|
|
71
|
-
export type {
|
|
72
|
-
export type {
|
|
73
|
-
export type {
|
|
74
|
-
export type {
|
|
75
|
-
export type {
|
|
76
|
-
export type {
|
|
77
|
-
export type {
|
|
78
|
-
export type {
|
|
79
|
-
export type {
|
|
80
|
-
export type {
|
|
81
|
-
export type {
|
|
82
|
-
export type {
|
|
83
|
-
export type {
|
|
84
|
-
export type {
|
|
85
|
-
export type {
|
|
86
|
-
export type {
|
|
87
|
-
export type {
|
|
88
|
-
export type {
|
|
89
|
-
export type {
|
|
90
|
-
export type {
|
|
91
|
-
export type {
|
|
92
|
-
export type {
|
|
93
|
-
export type {
|
|
94
|
-
export type {
|
|
95
|
-
export type {
|
|
96
|
-
export type {
|
|
97
|
-
export type {
|
|
98
|
-
export type {
|
|
99
|
-
export type {
|
|
100
|
-
export type {
|
|
101
|
-
export type {
|
|
102
|
-
export type {
|
|
50
|
+
export { Connector as ConnectorShape } from './connector/connector';
|
|
51
|
+
export { Label as LabelShape } from './label/label';
|
|
52
|
+
export { Path as PathShape } from './path/path';
|
|
53
|
+
export { Hollow as PathHollow } from './path/hollow';
|
|
54
|
+
export { Density as DensityShape } from './density/density';
|
|
55
|
+
export { Heatmap as HeatmapShape } from './heatmap/heatmap';
|
|
56
|
+
export { Rect as RangeShape } from './interval/rect';
|
|
57
|
+
export { Rect as RectShape } from './interval/rect';
|
|
58
|
+
export { Hollow as RectHollow } from './interval/hollow';
|
|
59
|
+
export { Shape as ShapeShape } from './shape/shape';
|
|
60
|
+
export type { RectOptions as IntervalShapeOptions } from './interval/rect';
|
|
61
|
+
export type { HollowOptions as IntervalHollowOptions } from './interval/hollow';
|
|
62
|
+
export type { FunnelOptions as IntervalFunnelOptions } from './interval/funnel';
|
|
63
|
+
export type { PyramidOptions as IntervalPyramidOptions } from './interval/pyramid';
|
|
64
|
+
export type { LineOptions as LineShapeOptions } from './line/line';
|
|
65
|
+
export type { SmoothOptions as LineSmoothOptions } from './line/smooth';
|
|
66
|
+
export type { HVOptions as LineHVOptions } from './line/hv';
|
|
67
|
+
export type { VHOptions as LineVHOptions } from './line/vh';
|
|
68
|
+
export type { HVHOptions as LineHVHOptions } from './line/hvh';
|
|
69
|
+
export type { TrailOptions as LineTrailOptions } from './line/trail';
|
|
70
|
+
export type { BowtieOptions as PointBowtieOptions } from './point/bowtie';
|
|
71
|
+
export type { CrossOptions as PointCrossOptions } from './point/cross';
|
|
72
|
+
export type { DiamondOptions as PointDiamondOptions } from './point/diamond';
|
|
73
|
+
export type { HexagonOptions as PointHexagonOptions } from './point/hexagon';
|
|
74
|
+
export type { HollowBowtieOptions as PointHollowBowtieOptions } from './point/hollowBowtie';
|
|
75
|
+
export type { HollowDiamondOptions as PointHollowDiamondOptions } from './point/hollowDiamond';
|
|
76
|
+
export type { HollowHexagonOptions as PointHollowHexagonOptions } from './point/hollowHexagon';
|
|
77
|
+
export type { HollowPointOptions as PointHollowPointOptions } from './point/hollow';
|
|
78
|
+
export type { HollowSquareOptions as PointHollowSquareOptions } from './point/hollowSquare';
|
|
79
|
+
export type { HollowTriangleOptions as PointHollowTriangleOptions } from './point/hollowTriangle';
|
|
80
|
+
export type { HollowTriangleDownOptions as PointHollowTriangleDownOptions } from './point/hollowTriangleDown';
|
|
81
|
+
export type { HyphenOptions as PointHyphenOptions } from './point/hyphen';
|
|
82
|
+
export type { LineOptions as PointLineOptions } from './point/line';
|
|
83
|
+
export type { PlusOptions as PointPlusOptions } from './point/plus';
|
|
84
|
+
export type { PointOptions as PointShapeOptions } from './point/point';
|
|
85
|
+
export type { SquareOptions as PointSquareOptions } from './point/square';
|
|
86
|
+
export type { TickOptions as PointTickOptions } from './point/tick';
|
|
87
|
+
export type { TriangleOptions as PointTriangleOptions } from './point/triangle';
|
|
88
|
+
export type { TriangleDownOptions as PointTriangleDownOptions } from './point/triangleDown';
|
|
89
|
+
export type { VectorOptions as VectorShapeOptions } from './vector/vector';
|
|
90
|
+
export type { TextOptions as TextShapeOptions } from './text/text';
|
|
91
|
+
export type { BadgeOptions as TextBadgeOptions } from './text/badge';
|
|
92
|
+
export type { AreaOptions as AreaShapeOptions } from './area/area';
|
|
93
|
+
export type { SmoothOptions as AreaSmoothOptions } from './area/smooth';
|
|
94
|
+
export type { HVHOptions as AreaHVHAreaOptions } from './area/hvh';
|
|
95
|
+
export type { VHOptions as AreaVHAreaOptions } from './area/vh';
|
|
96
|
+
export type { HVOptions as AreaHVAreaOptions } from './area/hv';
|
|
97
|
+
export type { LinkOptions as LinkShapeOptions } from './link/link';
|
|
98
|
+
export type { ImageOptions as ImageShapeOptions } from './image/image';
|
|
99
|
+
export type { PolygonOptions as PolygonShapeOptions } from './polygon/polygon';
|
|
100
|
+
export type { BoxOptions as BoxShapeOptions } from './box/box';
|
|
101
|
+
export type { ViolinOptions as BoxViolinOptions } from './box/violin';
|
|
102
|
+
export type { HeatmapOptions as HeatmapOptions } from './heatmap/heatmap';
|
|
103
|
+
export type { LineOptions as LineLineXYOptions } from './lineXY/line';
|
|
104
|
+
export type { ConnectorOptions as ConnectorShapeOptions } from './connector/connector';
|
|
105
|
+
export type { LabelOptions as LabelShapeOptions } from './label/label';
|
|
106
|
+
export type { DensityOptions as DensityShapeOptions } from './density/density';
|
|
107
|
+
export type { ShapeOptions as ShapeShapeOptions } from './shape/shape';
|
package/lib/shape/index.js
CHANGED
|
@@ -1,113 +1,123 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.ConnectorShape = exports.LineXY = exports.BoxViolin = exports.BoxShape = exports.PolygonRibbon = exports.PolygonShape = exports.ImageShape = exports.LinkArc = exports.LinkVHV = exports.LinkSmooth = exports.LinkShape = exports.AreaHV = exports.AreaVH = exports.AreaHVH = exports.AreaSmooth = exports.AreaShape = exports.TextBadge = exports.TextShape = exports.VectorShape = exports.PointTriangleDown = exports.PointTriangle = exports.PointTick = exports.PointSquare = exports.PointShape = exports.PointPlus = exports.PointLine = exports.PointHyphen = exports.PointHexagon = exports.PointDiamond = exports.PointCross = exports.PointBowtie = exports.PointHollowTriangleDown = exports.PointHollowTriangle = exports.PointHollowSquare = exports.PointHollow = exports.PointHollowHexagon = exports.PointHollowDiamond = exports.PointHollowBowtie = exports.LineTrail = exports.LineHVH = exports.LineVH = exports.LineHV = exports.LineSmooth = exports.LineShape = exports.CellHollow = exports.CellShape = exports.IntervalPyramid = exports.IntervalFunnel = exports.IntervalHollow = exports.IntervalShape = void 0;
|
|
4
|
+
exports.ShapeShape = exports.RectHollow = exports.RectShape = exports.RangeShape = exports.HeatmapShape = exports.DensityShape = exports.PathHollow = exports.PathShape = exports.LabelShape = void 0;
|
|
5
5
|
var rect_1 = require("./interval/rect");
|
|
6
|
-
Object.defineProperty(exports, "
|
|
6
|
+
Object.defineProperty(exports, "IntervalShape", { enumerable: true, get: function () { return rect_1.Rect; } });
|
|
7
7
|
var hollow_1 = require("./interval/hollow");
|
|
8
|
-
Object.defineProperty(exports, "
|
|
8
|
+
Object.defineProperty(exports, "IntervalHollow", { enumerable: true, get: function () { return hollow_1.Hollow; } });
|
|
9
9
|
var funnel_1 = require("./interval/funnel");
|
|
10
|
-
Object.defineProperty(exports, "
|
|
10
|
+
Object.defineProperty(exports, "IntervalFunnel", { enumerable: true, get: function () { return funnel_1.Funnel; } });
|
|
11
11
|
var pyramid_1 = require("./interval/pyramid");
|
|
12
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "IntervalPyramid", { enumerable: true, get: function () { return pyramid_1.Pyramid; } });
|
|
13
|
+
var rect_2 = require("./interval/rect");
|
|
14
|
+
Object.defineProperty(exports, "CellShape", { enumerable: true, get: function () { return rect_2.Rect; } });
|
|
15
|
+
var hollow_2 = require("./interval/hollow");
|
|
16
|
+
Object.defineProperty(exports, "CellHollow", { enumerable: true, get: function () { return hollow_2.Hollow; } });
|
|
13
17
|
var line_1 = require("./line/line");
|
|
14
|
-
Object.defineProperty(exports, "
|
|
18
|
+
Object.defineProperty(exports, "LineShape", { enumerable: true, get: function () { return line_1.Line; } });
|
|
15
19
|
var smooth_1 = require("./line/smooth");
|
|
16
|
-
Object.defineProperty(exports, "
|
|
20
|
+
Object.defineProperty(exports, "LineSmooth", { enumerable: true, get: function () { return smooth_1.Smooth; } });
|
|
17
21
|
var hv_1 = require("./line/hv");
|
|
18
|
-
Object.defineProperty(exports, "
|
|
22
|
+
Object.defineProperty(exports, "LineHV", { enumerable: true, get: function () { return hv_1.HV; } });
|
|
19
23
|
var vh_1 = require("./line/vh");
|
|
20
|
-
Object.defineProperty(exports, "
|
|
24
|
+
Object.defineProperty(exports, "LineVH", { enumerable: true, get: function () { return vh_1.VH; } });
|
|
21
25
|
var hvh_1 = require("./line/hvh");
|
|
22
|
-
Object.defineProperty(exports, "
|
|
26
|
+
Object.defineProperty(exports, "LineHVH", { enumerable: true, get: function () { return hvh_1.HVH; } });
|
|
23
27
|
var trail_1 = require("./line/trail");
|
|
24
|
-
Object.defineProperty(exports, "
|
|
25
|
-
var bowtie_1 = require("./point/bowtie");
|
|
26
|
-
Object.defineProperty(exports, "Bowtie", { enumerable: true, get: function () { return bowtie_1.Bowtie; } });
|
|
27
|
-
var cross_1 = require("./point/cross");
|
|
28
|
-
Object.defineProperty(exports, "Cross", { enumerable: true, get: function () { return cross_1.Cross; } });
|
|
29
|
-
var diamond_1 = require("./point/diamond");
|
|
30
|
-
Object.defineProperty(exports, "Diamond", { enumerable: true, get: function () { return diamond_1.Diamond; } });
|
|
31
|
-
var hexagon_1 = require("./point/hexagon");
|
|
32
|
-
Object.defineProperty(exports, "Hexagon", { enumerable: true, get: function () { return hexagon_1.Hexagon; } });
|
|
28
|
+
Object.defineProperty(exports, "LineTrail", { enumerable: true, get: function () { return trail_1.Trail; } });
|
|
33
29
|
var hollowBowtie_1 = require("./point/hollowBowtie");
|
|
34
|
-
Object.defineProperty(exports, "
|
|
30
|
+
Object.defineProperty(exports, "PointHollowBowtie", { enumerable: true, get: function () { return hollowBowtie_1.HollowBowtie; } });
|
|
35
31
|
var hollowDiamond_1 = require("./point/hollowDiamond");
|
|
36
|
-
Object.defineProperty(exports, "
|
|
32
|
+
Object.defineProperty(exports, "PointHollowDiamond", { enumerable: true, get: function () { return hollowDiamond_1.HollowDiamond; } });
|
|
37
33
|
var hollowHexagon_1 = require("./point/hollowHexagon");
|
|
38
|
-
Object.defineProperty(exports, "
|
|
39
|
-
var
|
|
40
|
-
Object.defineProperty(exports, "
|
|
34
|
+
Object.defineProperty(exports, "PointHollowHexagon", { enumerable: true, get: function () { return hollowHexagon_1.HollowHexagon; } });
|
|
35
|
+
var hollow_3 = require("./point/hollow");
|
|
36
|
+
Object.defineProperty(exports, "PointHollow", { enumerable: true, get: function () { return hollow_3.HollowPoint; } });
|
|
41
37
|
var hollowSquare_1 = require("./point/hollowSquare");
|
|
42
|
-
Object.defineProperty(exports, "
|
|
38
|
+
Object.defineProperty(exports, "PointHollowSquare", { enumerable: true, get: function () { return hollowSquare_1.HollowSquare; } });
|
|
43
39
|
var hollowTriangle_1 = require("./point/hollowTriangle");
|
|
44
|
-
Object.defineProperty(exports, "
|
|
40
|
+
Object.defineProperty(exports, "PointHollowTriangle", { enumerable: true, get: function () { return hollowTriangle_1.HollowTriangle; } });
|
|
45
41
|
var hollowTriangleDown_1 = require("./point/hollowTriangleDown");
|
|
46
|
-
Object.defineProperty(exports, "
|
|
42
|
+
Object.defineProperty(exports, "PointHollowTriangleDown", { enumerable: true, get: function () { return hollowTriangleDown_1.HollowTriangleDown; } });
|
|
43
|
+
var bowtie_1 = require("./point/bowtie");
|
|
44
|
+
Object.defineProperty(exports, "PointBowtie", { enumerable: true, get: function () { return bowtie_1.Bowtie; } });
|
|
45
|
+
var cross_1 = require("./point/cross");
|
|
46
|
+
Object.defineProperty(exports, "PointCross", { enumerable: true, get: function () { return cross_1.Cross; } });
|
|
47
|
+
var diamond_1 = require("./point/diamond");
|
|
48
|
+
Object.defineProperty(exports, "PointDiamond", { enumerable: true, get: function () { return diamond_1.Diamond; } });
|
|
49
|
+
var hexagon_1 = require("./point/hexagon");
|
|
50
|
+
Object.defineProperty(exports, "PointHexagon", { enumerable: true, get: function () { return hexagon_1.Hexagon; } });
|
|
47
51
|
var hyphen_1 = require("./point/hyphen");
|
|
48
|
-
Object.defineProperty(exports, "
|
|
52
|
+
Object.defineProperty(exports, "PointHyphen", { enumerable: true, get: function () { return hyphen_1.Hyphen; } });
|
|
49
53
|
var line_2 = require("./point/line");
|
|
50
|
-
Object.defineProperty(exports, "
|
|
54
|
+
Object.defineProperty(exports, "PointLine", { enumerable: true, get: function () { return line_2.Line; } });
|
|
51
55
|
var plus_1 = require("./point/plus");
|
|
52
|
-
Object.defineProperty(exports, "
|
|
56
|
+
Object.defineProperty(exports, "PointPlus", { enumerable: true, get: function () { return plus_1.Plus; } });
|
|
53
57
|
var point_1 = require("./point/point");
|
|
54
|
-
Object.defineProperty(exports, "
|
|
58
|
+
Object.defineProperty(exports, "PointShape", { enumerable: true, get: function () { return point_1.Point; } });
|
|
55
59
|
var square_1 = require("./point/square");
|
|
56
|
-
Object.defineProperty(exports, "
|
|
60
|
+
Object.defineProperty(exports, "PointSquare", { enumerable: true, get: function () { return square_1.Square; } });
|
|
57
61
|
var tick_1 = require("./point/tick");
|
|
58
|
-
Object.defineProperty(exports, "
|
|
62
|
+
Object.defineProperty(exports, "PointTick", { enumerable: true, get: function () { return tick_1.Tick; } });
|
|
59
63
|
var triangle_1 = require("./point/triangle");
|
|
60
|
-
Object.defineProperty(exports, "
|
|
64
|
+
Object.defineProperty(exports, "PointTriangle", { enumerable: true, get: function () { return triangle_1.Triangle; } });
|
|
61
65
|
var triangleDown_1 = require("./point/triangleDown");
|
|
62
|
-
Object.defineProperty(exports, "
|
|
66
|
+
Object.defineProperty(exports, "PointTriangleDown", { enumerable: true, get: function () { return triangleDown_1.TriangleDown; } });
|
|
63
67
|
var vector_1 = require("./vector/vector");
|
|
64
|
-
Object.defineProperty(exports, "
|
|
68
|
+
Object.defineProperty(exports, "VectorShape", { enumerable: true, get: function () { return vector_1.Vector; } });
|
|
65
69
|
var text_1 = require("./text/text");
|
|
66
|
-
Object.defineProperty(exports, "
|
|
70
|
+
Object.defineProperty(exports, "TextShape", { enumerable: true, get: function () { return text_1.Text; } });
|
|
67
71
|
var badge_1 = require("./text/badge");
|
|
68
|
-
Object.defineProperty(exports, "
|
|
72
|
+
Object.defineProperty(exports, "TextBadge", { enumerable: true, get: function () { return badge_1.Badge; } });
|
|
69
73
|
var area_1 = require("./area/area");
|
|
70
|
-
Object.defineProperty(exports, "
|
|
74
|
+
Object.defineProperty(exports, "AreaShape", { enumerable: true, get: function () { return area_1.Area; } });
|
|
71
75
|
var smooth_2 = require("./area/smooth");
|
|
72
|
-
Object.defineProperty(exports, "
|
|
76
|
+
Object.defineProperty(exports, "AreaSmooth", { enumerable: true, get: function () { return smooth_2.Smooth; } });
|
|
73
77
|
var hvh_2 = require("./area/hvh");
|
|
74
|
-
Object.defineProperty(exports, "
|
|
78
|
+
Object.defineProperty(exports, "AreaHVH", { enumerable: true, get: function () { return hvh_2.HVH; } });
|
|
75
79
|
var vh_2 = require("./area/vh");
|
|
76
|
-
Object.defineProperty(exports, "
|
|
80
|
+
Object.defineProperty(exports, "AreaVH", { enumerable: true, get: function () { return vh_2.VH; } });
|
|
77
81
|
var hv_2 = require("./area/hv");
|
|
78
|
-
Object.defineProperty(exports, "
|
|
82
|
+
Object.defineProperty(exports, "AreaHV", { enumerable: true, get: function () { return hv_2.HV; } });
|
|
79
83
|
var link_1 = require("./link/link");
|
|
80
|
-
Object.defineProperty(exports, "
|
|
84
|
+
Object.defineProperty(exports, "LinkShape", { enumerable: true, get: function () { return link_1.Link; } });
|
|
81
85
|
var smooth_3 = require("./link/smooth");
|
|
82
|
-
Object.defineProperty(exports, "
|
|
86
|
+
Object.defineProperty(exports, "LinkSmooth", { enumerable: true, get: function () { return smooth_3.Smooth; } });
|
|
83
87
|
var vhv_1 = require("./link/vhv");
|
|
84
|
-
Object.defineProperty(exports, "
|
|
88
|
+
Object.defineProperty(exports, "LinkVHV", { enumerable: true, get: function () { return vhv_1.VHV; } });
|
|
85
89
|
var arc_1 = require("./link/arc");
|
|
86
|
-
Object.defineProperty(exports, "
|
|
90
|
+
Object.defineProperty(exports, "LinkArc", { enumerable: true, get: function () { return arc_1.Arc; } });
|
|
87
91
|
var image_1 = require("./image/image");
|
|
88
|
-
Object.defineProperty(exports, "
|
|
92
|
+
Object.defineProperty(exports, "ImageShape", { enumerable: true, get: function () { return image_1.Image; } });
|
|
89
93
|
var polygon_1 = require("./polygon/polygon");
|
|
90
|
-
Object.defineProperty(exports, "
|
|
94
|
+
Object.defineProperty(exports, "PolygonShape", { enumerable: true, get: function () { return polygon_1.Polygon; } });
|
|
91
95
|
var ribbon_1 = require("./polygon/ribbon");
|
|
92
|
-
Object.defineProperty(exports, "
|
|
96
|
+
Object.defineProperty(exports, "PolygonRibbon", { enumerable: true, get: function () { return ribbon_1.Ribbon; } });
|
|
93
97
|
var box_1 = require("./box/box");
|
|
94
|
-
Object.defineProperty(exports, "
|
|
98
|
+
Object.defineProperty(exports, "BoxShape", { enumerable: true, get: function () { return box_1.Box; } });
|
|
95
99
|
var violin_1 = require("./box/violin");
|
|
96
|
-
Object.defineProperty(exports, "
|
|
100
|
+
Object.defineProperty(exports, "BoxViolin", { enumerable: true, get: function () { return violin_1.Violin; } });
|
|
97
101
|
var line_3 = require("./lineXY/line");
|
|
98
102
|
Object.defineProperty(exports, "LineXY", { enumerable: true, get: function () { return line_3.Line; } });
|
|
99
103
|
var connector_1 = require("./connector/connector");
|
|
100
|
-
Object.defineProperty(exports, "
|
|
104
|
+
Object.defineProperty(exports, "ConnectorShape", { enumerable: true, get: function () { return connector_1.Connector; } });
|
|
101
105
|
var label_1 = require("./label/label");
|
|
102
|
-
Object.defineProperty(exports, "
|
|
106
|
+
Object.defineProperty(exports, "LabelShape", { enumerable: true, get: function () { return label_1.Label; } });
|
|
103
107
|
var path_1 = require("./path/path");
|
|
104
|
-
Object.defineProperty(exports, "
|
|
105
|
-
var
|
|
106
|
-
Object.defineProperty(exports, "
|
|
108
|
+
Object.defineProperty(exports, "PathShape", { enumerable: true, get: function () { return path_1.Path; } });
|
|
109
|
+
var hollow_4 = require("./path/hollow");
|
|
110
|
+
Object.defineProperty(exports, "PathHollow", { enumerable: true, get: function () { return hollow_4.Hollow; } });
|
|
107
111
|
var density_1 = require("./density/density");
|
|
108
|
-
Object.defineProperty(exports, "
|
|
112
|
+
Object.defineProperty(exports, "DensityShape", { enumerable: true, get: function () { return density_1.Density; } });
|
|
109
113
|
var heatmap_1 = require("./heatmap/heatmap");
|
|
110
|
-
Object.defineProperty(exports, "
|
|
114
|
+
Object.defineProperty(exports, "HeatmapShape", { enumerable: true, get: function () { return heatmap_1.Heatmap; } });
|
|
115
|
+
var rect_3 = require("./interval/rect");
|
|
116
|
+
Object.defineProperty(exports, "RangeShape", { enumerable: true, get: function () { return rect_3.Rect; } });
|
|
117
|
+
var rect_4 = require("./interval/rect");
|
|
118
|
+
Object.defineProperty(exports, "RectShape", { enumerable: true, get: function () { return rect_4.Rect; } });
|
|
119
|
+
var hollow_5 = require("./interval/hollow");
|
|
120
|
+
Object.defineProperty(exports, "RectHollow", { enumerable: true, get: function () { return hollow_5.Hollow; } });
|
|
111
121
|
var shape_1 = require("./shape/shape");
|
|
112
|
-
Object.defineProperty(exports, "
|
|
122
|
+
Object.defineProperty(exports, "ShapeShape", { enumerable: true, get: function () { return shape_1.Shape; } });
|
|
113
123
|
//# sourceMappingURL=index.js.map
|
package/lib/shape/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["shape/index.ts"],"names":[],"mappings":";;;;A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AAI,OAAa;AAC1B,4CAAyD;AAAhD,oGAAA,MAAM,OAAc;AAC7B,uCAAoD;AAA3C,mGAAA,KAAK,OAAc"}
|
|
@@ -84,9 +84,9 @@ function inferConnectorPath(shape, points, controlPoints, coordCenter) {
|
|
|
84
84
|
return (0, d3_shape_1.line)()(P);
|
|
85
85
|
}
|
|
86
86
|
exports.Advance = (0, createElement_1.createElement)((g) => {
|
|
87
|
-
const _a = g.attributes, {
|
|
87
|
+
const _a = g.attributes, { className,
|
|
88
88
|
// Do not pass className
|
|
89
|
-
class: _c, transform, rotate, labelTransform, labelTransformOrigin, x, y, x0 = x, y0 = y, text, background, connector, startMarker, endMarker, coordCenter, innerHTML } = _a, rest = __rest(_a, ["
|
|
89
|
+
class: _c, transform, rotate, labelTransform, labelTransformOrigin, x, y, x0 = x, y0 = y, text, background, connector, startMarker, endMarker, coordCenter, innerHTML } = _a, rest = __rest(_a, ["className", "class", "transform", "rotate", "labelTransform", "labelTransformOrigin", "x", "y", "x0", "y0", "text", "background", "connector", "startMarker", "endMarker", "coordCenter", "innerHTML"]);
|
|
90
90
|
// Position is invalid, do not render the UI,
|
|
91
91
|
// or clear previous elements.
|
|
92
92
|
if ([x, y, x0, y0].some((v) => !(0, util_1.isNumber)(v))) {
|
|
@@ -103,7 +103,7 @@ exports.Advance = (0, createElement_1.createElement)((g) => {
|
|
|
103
103
|
// Use html to customize advance text.
|
|
104
104
|
if (innerHTML) {
|
|
105
105
|
textShape = (0, selection_1.select)(g)
|
|
106
|
-
.maybeAppend(
|
|
106
|
+
.maybeAppend('html', 'html', className)
|
|
107
107
|
.style('zIndex', 0)
|
|
108
108
|
.style('innerHTML', innerHTML)
|
|
109
109
|
.call(utils_1.applyStyle, Object.assign({ transform: labelTransform, transformOrigin: labelTransformOrigin }, rest))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advance.js","sourceRoot":"src/","sources":["shape/text/advance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AASA,qC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