@antv/g2 5.0.18 → 5.0.19
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 +1017 -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 +9 -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 +170 -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/index.d.ts +4 -3
- package/esm/index.js +3 -2
- package/esm/index.js.map +1 -1
- package/esm/label-transform/overlapDodgeY.js.map +1 -1
- package/esm/lib/core.d.ts +158 -0
- package/esm/lib/core.js +174 -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 +170 -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 +11 -7
- 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/index.d.ts +1 -0
- package/esm/spec/index.js.map +1 -1
- package/esm/spec/interaction.d.ts +2 -0
- 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 +1017 -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 +9 -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 +170 -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/index.d.ts +4 -3
- package/lib/index.js +8 -3
- package/lib/index.js.map +1 -1
- package/lib/label-transform/overlapDodgeY.js.map +1 -1
- package/lib/lib/core.d.ts +158 -0
- package/lib/lib/core.js +178 -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 +170 -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 +11 -7
- 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/index.d.ts +1 -0
- package/lib/spec/index.js.map +1 -1
- package/lib/spec/interaction.d.ts +2 -0
- 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 +34 -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/index.ts +12 -3
- package/src/label-transform/overlapDodgeY.ts +0 -1
- package/src/{stdlib/index.ts → lib/core.ts} +74 -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 +19 -10
- 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/index.ts +1 -0
- package/src/spec/interaction.ts +2 -0
- 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/lib/core.js
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.corelib = void 0;
|
|
4
|
+
const coordinate_1 = require("../coordinate");
|
|
5
|
+
const encode_1 = require("../encode");
|
|
6
|
+
const mark_1 = require("../mark");
|
|
7
|
+
const palette_1 = require("../palette");
|
|
8
|
+
const scale_1 = require("../scale");
|
|
9
|
+
const theme_1 = require("../theme");
|
|
10
|
+
const component_1 = require("../component");
|
|
11
|
+
const animation_1 = require("../animation");
|
|
12
|
+
const interaction_1 = require("../interaction");
|
|
13
|
+
const composition_1 = require("../composition");
|
|
14
|
+
const transform_1 = require("../transform");
|
|
15
|
+
const data_1 = require("../data");
|
|
16
|
+
const label_transform_1 = require("../label-transform");
|
|
17
|
+
const shape_1 = require("../shape");
|
|
18
|
+
function corelib() {
|
|
19
|
+
return {
|
|
20
|
+
'data.fetch': data_1.Fetch,
|
|
21
|
+
'data.inline': data_1.Inline,
|
|
22
|
+
'data.sortBy': data_1.SortBy,
|
|
23
|
+
'data.sort': data_1.Sort,
|
|
24
|
+
'data.filter': data_1.Filter,
|
|
25
|
+
'data.pick': data_1.Pick,
|
|
26
|
+
'data.rename': data_1.Rename,
|
|
27
|
+
'data.fold': data_1.Fold,
|
|
28
|
+
'data.slice': data_1.Slice,
|
|
29
|
+
'data.custom': data_1.Custom,
|
|
30
|
+
'data.map': data_1.Map,
|
|
31
|
+
'data.join': data_1.Join,
|
|
32
|
+
'data.kde': data_1.KDE,
|
|
33
|
+
'transform.stackY': transform_1.StackY,
|
|
34
|
+
'transform.binX': transform_1.BinX,
|
|
35
|
+
'transform.bin': transform_1.Bin,
|
|
36
|
+
'transform.dodgeX': transform_1.DodgeX,
|
|
37
|
+
'transform.jitter': transform_1.Jitter,
|
|
38
|
+
'transform.jitterX': transform_1.JitterX,
|
|
39
|
+
'transform.symmetryY': transform_1.SymmetryY,
|
|
40
|
+
'transform.diffY': transform_1.DiffY,
|
|
41
|
+
'transform.stackEnter': transform_1.StackEnter,
|
|
42
|
+
'transform.normalizeY': transform_1.NormalizeY,
|
|
43
|
+
'transform.select': transform_1.Select,
|
|
44
|
+
'transform.selectX': transform_1.SelectX,
|
|
45
|
+
'transform.selectY': transform_1.SelectY,
|
|
46
|
+
'transform.groupX': transform_1.GroupX,
|
|
47
|
+
'transform.groupY': transform_1.GroupY,
|
|
48
|
+
'transform.groupColor': transform_1.GroupColor,
|
|
49
|
+
'transform.group': transform_1.Group,
|
|
50
|
+
'transform.sortX': transform_1.SortX,
|
|
51
|
+
'transform.sortY': transform_1.SortY,
|
|
52
|
+
'transform.sortColor': transform_1.SortColor,
|
|
53
|
+
'transform.flexX': transform_1.FlexX,
|
|
54
|
+
'transform.pack': transform_1.Pack,
|
|
55
|
+
'transform.sample': transform_1.Sample,
|
|
56
|
+
'transform.filter': transform_1.Filter,
|
|
57
|
+
'coordinate.cartesian': coordinate_1.Cartesian,
|
|
58
|
+
'coordinate.polar': coordinate_1.Polar,
|
|
59
|
+
'coordinate.helix': coordinate_1.Helix,
|
|
60
|
+
'coordinate.transpose': coordinate_1.Transpose,
|
|
61
|
+
'coordinate.theta': coordinate_1.Theta,
|
|
62
|
+
'coordinate.parallel': coordinate_1.Parallel,
|
|
63
|
+
'coordinate.fisheye': coordinate_1.Fisheye,
|
|
64
|
+
'coordinate.radial': coordinate_1.Radial,
|
|
65
|
+
'coordinate.radar': coordinate_1.Radar,
|
|
66
|
+
'encode.constant': encode_1.Constant,
|
|
67
|
+
'encode.field': encode_1.Field,
|
|
68
|
+
'encode.transform': encode_1.Transform,
|
|
69
|
+
'encode.column': encode_1.Column,
|
|
70
|
+
'mark.interval': mark_1.Interval,
|
|
71
|
+
'mark.rect': mark_1.Rect,
|
|
72
|
+
'mark.line': mark_1.Line,
|
|
73
|
+
'mark.point': mark_1.Point,
|
|
74
|
+
'mark.text': mark_1.Text,
|
|
75
|
+
'mark.cell': mark_1.Cell,
|
|
76
|
+
'mark.area': mark_1.Area,
|
|
77
|
+
'mark.link': mark_1.Link,
|
|
78
|
+
'mark.image': mark_1.Image,
|
|
79
|
+
'mark.polygon': mark_1.Polygon,
|
|
80
|
+
'mark.box': mark_1.Box,
|
|
81
|
+
'mark.vector': mark_1.Vector,
|
|
82
|
+
'mark.lineX': mark_1.LineX,
|
|
83
|
+
'mark.lineY': mark_1.LineY,
|
|
84
|
+
'mark.connector': mark_1.Connector,
|
|
85
|
+
'mark.range': mark_1.Range,
|
|
86
|
+
'mark.rangeX': mark_1.RangeX,
|
|
87
|
+
'mark.rangeY': mark_1.RangeY,
|
|
88
|
+
'mark.path': mark_1.Path,
|
|
89
|
+
'mark.shape': mark_1.Shape,
|
|
90
|
+
'mark.density': mark_1.Density,
|
|
91
|
+
'mark.heatmap': mark_1.Heatmap,
|
|
92
|
+
'shape.label.label': shape_1.LabelShape,
|
|
93
|
+
'palette.category10': palette_1.Category10,
|
|
94
|
+
'palette.category20': palette_1.Category20,
|
|
95
|
+
'scale.linear': scale_1.Linear,
|
|
96
|
+
'scale.ordinal': scale_1.Ordinal,
|
|
97
|
+
'scale.band': scale_1.Band,
|
|
98
|
+
'scale.identity': scale_1.Identity,
|
|
99
|
+
'scale.point': scale_1.Point,
|
|
100
|
+
'scale.time': scale_1.Time,
|
|
101
|
+
'scale.log': scale_1.Log,
|
|
102
|
+
'scale.pow': scale_1.Pow,
|
|
103
|
+
'scale.sqrt': scale_1.Sqrt,
|
|
104
|
+
'scale.threshold': scale_1.Threshold,
|
|
105
|
+
'scale.quantile': scale_1.Quantile,
|
|
106
|
+
'scale.quantize': scale_1.Quantize,
|
|
107
|
+
'scale.sequential': scale_1.Sequential,
|
|
108
|
+
'scale.constant': scale_1.Constant,
|
|
109
|
+
'theme.classic': theme_1.Classic,
|
|
110
|
+
'theme.classicDark': theme_1.ClassicDark,
|
|
111
|
+
'theme.academy': theme_1.Academy,
|
|
112
|
+
'component.axisX': component_1.AxisX,
|
|
113
|
+
'component.axisY': component_1.AxisY,
|
|
114
|
+
'component.axisRadar': component_1.AxisRadar,
|
|
115
|
+
'component.axisLinear': component_1.AxisLinear,
|
|
116
|
+
'component.axisArc': component_1.AxisArc,
|
|
117
|
+
'component.legendCategory': component_1.LegendCategory,
|
|
118
|
+
'component.legendContinuous': component_1.LegendContinuous,
|
|
119
|
+
'component.legendContinuousBlock': component_1.LegendContinuousBlock,
|
|
120
|
+
'component.legendContinuousBlockSize': component_1.LegendContinuousBlockSize,
|
|
121
|
+
'component.legendContinuousSize': component_1.LegendContinuousSize,
|
|
122
|
+
'component.legends': component_1.Legends,
|
|
123
|
+
'component.title': component_1.TitleComponent,
|
|
124
|
+
'component.sliderX': component_1.SliderX,
|
|
125
|
+
'component.sliderY': component_1.SliderY,
|
|
126
|
+
'component.scrollbarX': component_1.ScrollbarX,
|
|
127
|
+
'component.scrollbarY': component_1.ScrollbarY,
|
|
128
|
+
'animation.scaleInX': animation_1.ScaleInX,
|
|
129
|
+
'animation.scaleOutX': animation_1.ScaleOutX,
|
|
130
|
+
'animation.scaleInY': animation_1.ScaleInY,
|
|
131
|
+
'animation.scaleOutY': animation_1.ScaleOutY,
|
|
132
|
+
'animation.waveIn': animation_1.WaveIn,
|
|
133
|
+
'animation.fadeIn': animation_1.FadeIn,
|
|
134
|
+
'animation.fadeOut': animation_1.FadeOut,
|
|
135
|
+
'animation.zoomIn': animation_1.ZoomIn,
|
|
136
|
+
'animation.zoomOut': animation_1.ZoomOut,
|
|
137
|
+
'animation.pathIn': animation_1.PathIn,
|
|
138
|
+
'animation.morphing': animation_1.Morphing,
|
|
139
|
+
'animation.growInX': animation_1.GrowInX,
|
|
140
|
+
'animation.growInY': animation_1.GrowInY,
|
|
141
|
+
'interaction.elementHighlight': interaction_1.ElementHighlight,
|
|
142
|
+
'interaction.elementHighlightByX': interaction_1.ElementHighlightByX,
|
|
143
|
+
'interaction.elementHighlightByColor': interaction_1.ElementHighlightByColor,
|
|
144
|
+
'interaction.elementSelect': interaction_1.ElementSelect,
|
|
145
|
+
'interaction.elementSelectByX': interaction_1.ElementSelectByX,
|
|
146
|
+
'interaction.elementSelectByColor': interaction_1.ElementSelectByColor,
|
|
147
|
+
'interaction.fisheye': interaction_1.Fisheye,
|
|
148
|
+
'interaction.chartIndex': interaction_1.ChartIndex,
|
|
149
|
+
'interaction.tooltip': interaction_1.Tooltip,
|
|
150
|
+
'interaction.legendFilter': interaction_1.LegendFilter,
|
|
151
|
+
'interaction.legendHighlight': interaction_1.LegendHighlight,
|
|
152
|
+
'interaction.brushHighlight': interaction_1.BrushHighlight,
|
|
153
|
+
'interaction.brushXHighlight': interaction_1.BrushXHighlight,
|
|
154
|
+
'interaction.brushYHighlight': interaction_1.BrushYHighlight,
|
|
155
|
+
'interaction.brushAxisHighlight': interaction_1.BrushAxisHighlight,
|
|
156
|
+
'interaction.brushFilter': interaction_1.BrushFilter,
|
|
157
|
+
'interaction.brushXFilter': interaction_1.BrushXFilter,
|
|
158
|
+
'interaction.brushYFilter': interaction_1.BrushYFilter,
|
|
159
|
+
'interaction.sliderFilter': interaction_1.SliderFilter,
|
|
160
|
+
'interaction.scrollbarFilter': interaction_1.ScrollbarFilter,
|
|
161
|
+
'interaction.poptip': interaction_1.Poptip,
|
|
162
|
+
'interaction.event': interaction_1.Event,
|
|
163
|
+
'composition.spaceLayer': composition_1.SpaceLayer,
|
|
164
|
+
'composition.spaceFlex': composition_1.SpaceFlex,
|
|
165
|
+
'composition.mark': composition_1.Mark,
|
|
166
|
+
'composition.view': composition_1.View,
|
|
167
|
+
'composition.facetRect': composition_1.FacetRect,
|
|
168
|
+
'composition.repeatMatrix': composition_1.RepeatMatrix,
|
|
169
|
+
'composition.facetCircle': composition_1.FacetCircle,
|
|
170
|
+
'composition.timingKeyframe': composition_1.TimingKeyframe,
|
|
171
|
+
'labelTransform.overlapHide': label_transform_1.OverlapHide,
|
|
172
|
+
'labelTransform.overlapDodgeY': label_transform_1.OverlapDodgeY,
|
|
173
|
+
'labelTransform.overflowHide': label_transform_1.OverflowHide,
|
|
174
|
+
'labelTransform.contrastReverse': label_transform_1.ContrastReverse,
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
exports.corelib = corelib;
|
|
178
|
+
//# sourceMappingURL=core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.js","sourceRoot":"src/","sources":["lib/core.ts"],"names":[],"mappings":";;;AAAA,8CAUuB;AACvB,sCAA+D;AAC/D,kCAuBiB;AACjB,wCAAoD;AACpD,oCAekB;AAClB,oCAAyD;AACzD,4CAiBsB;AACtB,4CAcsB;AACtB,gDAuBwB;AACxB,gDASwB;AACxB,4CAyBsB;AACtB,kCAciB;AACjB,wDAK4B;AAC5B,oCAAsC;AAEtC,SAAgB,OAAO;IACrB,OAAO;QACL,YAAY,EAAE,YAAS;QACvB,aAAa,EAAE,aAAU;QACzB,aAAa,EAAE,aAAU;QACzB,WAAW,EAAE,WAAQ;QACrB,aAAa,EAAE,aAAU;QACzB,WAAW,EAAE,WAAQ;QACrB,aAAa,EAAE,aAAU;QACzB,WAAW,EAAE,WAAQ;QACrB,YAAY,EAAE,YAAS;QACvB,aAAa,EAAE,aAAU;QACzB,UAAU,EAAE,UAAO;QACnB,WAAW,EAAE,WAAQ;QACrB,UAAU,EAAE,UAAO;QACnB,kBAAkB,EAAE,kBAAM;QAC1B,gBAAgB,EAAE,gBAAI;QACtB,eAAe,EAAE,eAAG;QACpB,kBAAkB,EAAE,kBAAM;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W;QACzC,8BAA8B,EAAE,+BAAa;QAC7C,6BAA6B,EAAE,8BAAY;QAC3C,gCAAgC,EAAE,iCAAe;KACzC,CAAC;AACb,CAAC;AA9JD,0BA8JC"}
|
package/lib/lib/geo.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function geolib(): {
|
|
2
|
+
readonly 'composition.geoView': import("../runtime").CompositionComponent<import("../composition/geoView").GeoViewOptions>;
|
|
3
|
+
readonly 'composition.geoPath': import("../runtime").CompositionComponent<import("../composition/geoPath").GeoPathOptions>;
|
|
4
|
+
};
|
package/lib/lib/geo.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.geolib = void 0;
|
|
4
|
+
const geoView_1 = require("../composition/geoView");
|
|
5
|
+
const geoPath_1 = require("../composition/geoPath");
|
|
6
|
+
function geolib() {
|
|
7
|
+
return {
|
|
8
|
+
'composition.geoView': geoView_1.GeoView,
|
|
9
|
+
'composition.geoPath': geoPath_1.GeoPath,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
exports.geolib = geolib;
|
|
13
|
+
//# sourceMappingURL=geo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geo.js","sourceRoot":"src/","sources":["lib/geo.ts"],"names":[],"mappings":";;;AAAA,oDAAiD;AACjD,oDAAiD;AAEjD,SAAgB,MAAM;IACpB,OAAO;QACL,qBAAqB,EAAE,iBAAO;QAC9B,qBAAqB,EAAE,iBAAO;KACtB,CAAC;AACb,CAAC;AALD,wBAKC"}
|
package/lib/lib/graph.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.graphlib = void 0;
|
|
4
|
+
const mark_1 = require("../mark");
|
|
5
|
+
function graphlib() {
|
|
6
|
+
return {
|
|
7
|
+
'mark.forceGraph': mark_1.ForceGraph,
|
|
8
|
+
'mark.tree': mark_1.Tree,
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
exports.graphlib = graphlib;
|
|
12
|
+
//# sourceMappingURL=graph.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph.js","sourceRoot":"src/","sources":["lib/graph.ts"],"names":[],"mappings":";;;AAAA,kCAA2C;AAE3C,SAAgB,QAAQ;IACtB,OAAO;QACL,iBAAiB,EAAE,iBAAU;QAC7B,WAAW,EAAE,WAAI;KACT,CAAC;AACb,CAAC;AALD,4BAKC"}
|
package/lib/lib/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.litelib = exports.stdlib = exports.plotlib = exports.graphlib = exports.geolib = exports.corelib = void 0;
|
|
4
|
+
var core_1 = require("./core");
|
|
5
|
+
Object.defineProperty(exports, "corelib", { enumerable: true, get: function () { return core_1.corelib; } });
|
|
6
|
+
var geo_1 = require("./geo");
|
|
7
|
+
Object.defineProperty(exports, "geolib", { enumerable: true, get: function () { return geo_1.geolib; } });
|
|
8
|
+
var graph_1 = require("./graph");
|
|
9
|
+
Object.defineProperty(exports, "graphlib", { enumerable: true, get: function () { return graph_1.graphlib; } });
|
|
10
|
+
var plot_1 = require("./plot");
|
|
11
|
+
Object.defineProperty(exports, "plotlib", { enumerable: true, get: function () { return plot_1.plotlib; } });
|
|
12
|
+
var std_1 = require("./std");
|
|
13
|
+
Object.defineProperty(exports, "stdlib", { enumerable: true, get: function () { return std_1.stdlib; } });
|
|
14
|
+
var lite_1 = require("./lite");
|
|
15
|
+
Object.defineProperty(exports, "litelib", { enumerable: true, get: function () { return lite_1.litelib; } });
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["lib/index.ts"],"names":[],"mappings":";;;AAAA,+BAAiC;AAAxB,+FAAA,OAAO,OAAA;AAChB,6BAA+B;AAAtB,6FAAA,MAAM,OAAA;AACf,iCAAmC;AAA1B,iGAAA,QAAQ,OAAA;AACjB,+BAAiC;AAAxB,+FAAA,OAAO,OAAA;AAChB,6BAA+B;AAAtB,6FAAA,MAAM,OAAA;AACf,+BAAiC;AAAxB,+FAAA,OAAO,OAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Tooltip, LegendFilter, LegendHighlight, SliderFilter, Poptip, Event, ScrollbarFilter } from '../interaction';
|
|
2
|
+
/**
|
|
3
|
+
* In test stage, don't use it.
|
|
4
|
+
*/
|
|
5
|
+
export declare function litelib(): {
|
|
6
|
+
readonly 'data.inline': import("../runtime").DataComponent<import("../data").InlineOptions>;
|
|
7
|
+
readonly 'coordinate.cartesian': import("../runtime").CoordinateComponent<import("../coordinate").CartesianOptions>;
|
|
8
|
+
readonly 'encode.constant': import("../runtime").EncodeComponent<import("../encode").ConstantOptions>;
|
|
9
|
+
readonly 'encode.field': import("../runtime").EncodeComponent<import("../encode").FieldOptions>;
|
|
10
|
+
readonly 'encode.transform': import("../runtime").EncodeComponent<import("../encode").TransformOptions>;
|
|
11
|
+
readonly 'encode.column': import("../runtime").EncodeComponent<import("../encode").ColumnOptions>;
|
|
12
|
+
readonly 'mark.interval': import("../runtime").MarkComponent<import("../mark").IntervalOptions>;
|
|
13
|
+
readonly 'shape.label.label': import("../runtime").ShapeComponent<import("../shape").LabelShapeOptions>;
|
|
14
|
+
readonly 'palette.category10': import("../runtime").PaletteComponent<import("../palette").Category10Options>;
|
|
15
|
+
readonly 'palette.category20': import("../runtime").PaletteComponent<import("../palette").Category20Options>;
|
|
16
|
+
readonly 'scale.linear': import("../runtime").ScaleComponent<import("../scale").LinearOptions>;
|
|
17
|
+
readonly 'scale.ordinal': import("../runtime").ScaleComponent<import("../scale").OrdinalOptions>;
|
|
18
|
+
readonly 'scale.band': import("../runtime").ScaleComponent<import("../scale").BandOptions>;
|
|
19
|
+
readonly 'scale.identity': import("../runtime").ScaleComponent<import("../scale").IdentityOptions>;
|
|
20
|
+
readonly 'scale.point': import("../runtime").ScaleComponent<import("../scale").PointOptions>;
|
|
21
|
+
readonly 'scale.time': import("../runtime").ScaleComponent<import("../scale").TimeOptions>;
|
|
22
|
+
readonly 'scale.log': import("../runtime").ScaleComponent<import("../scale").LogOptions>;
|
|
23
|
+
readonly 'scale.pow': import("../runtime").ScaleComponent<import("../scale").PowOptions>;
|
|
24
|
+
readonly 'scale.sqrt': import("../runtime").ScaleComponent<import("../scale").SqrtOptions>;
|
|
25
|
+
readonly 'scale.threshold': import("../runtime").ScaleComponent<import("../scale").ThresholdOptions>;
|
|
26
|
+
readonly 'scale.quantile': import("../runtime").ScaleComponent<import("../scale").QuantileOptions>;
|
|
27
|
+
readonly 'scale.quantize': import("../runtime").ScaleComponent<import("../scale").QuantizeOptions>;
|
|
28
|
+
readonly 'scale.sequential': import("../runtime").ScaleComponent<import("../scale").SequentialOptions>;
|
|
29
|
+
readonly 'scale.constant': import("../runtime").ScaleComponent<import("../scale").ConstantOptions>;
|
|
30
|
+
readonly 'theme.classic': import("../runtime").ThemeComponent<import("../runtime").G2Theme>;
|
|
31
|
+
readonly 'component.axisX': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
|
|
32
|
+
readonly 'component.axisY': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
|
|
33
|
+
readonly 'component.axisRadar': import("../runtime").GuideComponentComponent<import("../component/axisRadar").AxisRadarOptions>;
|
|
34
|
+
readonly 'component.axisLinear': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
|
|
35
|
+
readonly 'component.axisArc': import("../runtime").GuideComponentComponent<import("../component/axis").AxisOptions>;
|
|
36
|
+
readonly 'component.legendCategory': import("../runtime").GuideComponentComponent<import("../component").LegendCategoryOptions>;
|
|
37
|
+
readonly 'component.legendContinuous': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
|
|
38
|
+
readonly 'component.legendContinuousBlock': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
|
|
39
|
+
readonly 'component.legendContinuousBlockSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
|
|
40
|
+
readonly 'component.legendContinuousSize': import("../runtime").GuideComponentComponent<import("../component").LegendContinuousOptions>;
|
|
41
|
+
readonly 'component.legends': import("../runtime").GuideComponentComponent<import("../component").LegendsOptions>;
|
|
42
|
+
readonly 'component.title': import("../runtime").GuideComponentComponent<import("../runtime").G2Title>;
|
|
43
|
+
readonly 'component.sliderX': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
|
|
44
|
+
readonly 'component.sliderY': import("../runtime").GuideComponentComponent<import("../component/slider").SliderOptions>;
|
|
45
|
+
readonly 'component.scrollbarX': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
|
|
46
|
+
readonly 'component.scrollbarY': import("../runtime").GuideComponentComponent<import("../component/scrollbar").ScrollbarOptions>;
|
|
47
|
+
readonly 'animation.scaleInX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
48
|
+
readonly 'animation.scaleOutX': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
49
|
+
readonly 'animation.scaleInY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
50
|
+
readonly 'animation.scaleOutY': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
51
|
+
readonly 'animation.waveIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
52
|
+
readonly 'animation.fadeIn': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
53
|
+
readonly 'animation.fadeOut': import("../runtime").AnimationComponent<import("../animation/types").Animation>;
|
|
54
|
+
readonly 'animation.morphing': import("../runtime").AnimationComponent<import("../animation").MorphingOptions>;
|
|
55
|
+
readonly 'interaction.tooltip': typeof Tooltip;
|
|
56
|
+
readonly 'interaction.legendFilter': typeof LegendFilter;
|
|
57
|
+
readonly 'interaction.legendHighlight': typeof LegendHighlight;
|
|
58
|
+
readonly 'interaction.sliderFilter': typeof SliderFilter;
|
|
59
|
+
readonly 'interaction.scrollbarFilter': typeof ScrollbarFilter;
|
|
60
|
+
readonly 'interaction.poptip': typeof Poptip;
|
|
61
|
+
readonly 'interaction.event': typeof Event;
|
|
62
|
+
readonly 'composition.mark': import("../runtime").CompositionComponent<import("../composition").MarkOptions>;
|
|
63
|
+
readonly 'composition.view': import("../runtime").CompositionComponent<import("../composition").ViewOptions>;
|
|
64
|
+
};
|
package/lib/lib/lite.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.litelib = void 0;
|
|
4
|
+
const coordinate_1 = require("../coordinate");
|
|
5
|
+
const encode_1 = require("../encode");
|
|
6
|
+
const mark_1 = require("../mark");
|
|
7
|
+
const palette_1 = require("../palette");
|
|
8
|
+
const scale_1 = require("../scale");
|
|
9
|
+
const theme_1 = require("../theme");
|
|
10
|
+
const component_1 = require("../component");
|
|
11
|
+
const animation_1 = require("../animation");
|
|
12
|
+
const interaction_1 = require("../interaction");
|
|
13
|
+
const composition_1 = require("../composition");
|
|
14
|
+
const shape_1 = require("../shape");
|
|
15
|
+
const data_1 = require("../data");
|
|
16
|
+
/**
|
|
17
|
+
* In test stage, don't use it.
|
|
18
|
+
*/
|
|
19
|
+
function litelib() {
|
|
20
|
+
return {
|
|
21
|
+
'data.inline': data_1.Inline,
|
|
22
|
+
'coordinate.cartesian': coordinate_1.Cartesian,
|
|
23
|
+
'encode.constant': encode_1.Constant,
|
|
24
|
+
'encode.field': encode_1.Field,
|
|
25
|
+
'encode.transform': encode_1.Transform,
|
|
26
|
+
'encode.column': encode_1.Column,
|
|
27
|
+
'mark.interval': mark_1.Interval,
|
|
28
|
+
'shape.label.label': shape_1.LabelShape,
|
|
29
|
+
'palette.category10': palette_1.Category10,
|
|
30
|
+
'palette.category20': palette_1.Category20,
|
|
31
|
+
'scale.linear': scale_1.Linear,
|
|
32
|
+
'scale.ordinal': scale_1.Ordinal,
|
|
33
|
+
'scale.band': scale_1.Band,
|
|
34
|
+
'scale.identity': scale_1.Identity,
|
|
35
|
+
'scale.point': scale_1.Point,
|
|
36
|
+
'scale.time': scale_1.Time,
|
|
37
|
+
'scale.log': scale_1.Log,
|
|
38
|
+
'scale.pow': scale_1.Pow,
|
|
39
|
+
'scale.sqrt': scale_1.Sqrt,
|
|
40
|
+
'scale.threshold': scale_1.Threshold,
|
|
41
|
+
'scale.quantile': scale_1.Quantile,
|
|
42
|
+
'scale.quantize': scale_1.Quantize,
|
|
43
|
+
'scale.sequential': scale_1.Sequential,
|
|
44
|
+
'scale.constant': scale_1.Constant,
|
|
45
|
+
'theme.classic': theme_1.Classic,
|
|
46
|
+
'component.axisX': component_1.AxisX,
|
|
47
|
+
'component.axisY': component_1.AxisY,
|
|
48
|
+
'component.axisRadar': component_1.AxisRadar,
|
|
49
|
+
'component.axisLinear': component_1.AxisLinear,
|
|
50
|
+
'component.axisArc': component_1.AxisArc,
|
|
51
|
+
'component.legendCategory': component_1.LegendCategory,
|
|
52
|
+
'component.legendContinuous': component_1.LegendContinuous,
|
|
53
|
+
'component.legendContinuousBlock': component_1.LegendContinuousBlock,
|
|
54
|
+
'component.legendContinuousBlockSize': component_1.LegendContinuousBlockSize,
|
|
55
|
+
'component.legendContinuousSize': component_1.LegendContinuousSize,
|
|
56
|
+
'component.legends': component_1.Legends,
|
|
57
|
+
'component.title': component_1.TitleComponent,
|
|
58
|
+
'component.sliderX': component_1.SliderX,
|
|
59
|
+
'component.sliderY': component_1.SliderY,
|
|
60
|
+
'component.scrollbarX': component_1.ScrollbarX,
|
|
61
|
+
'component.scrollbarY': component_1.ScrollbarY,
|
|
62
|
+
'animation.scaleInX': animation_1.ScaleInX,
|
|
63
|
+
'animation.scaleOutX': animation_1.ScaleOutX,
|
|
64
|
+
'animation.scaleInY': animation_1.ScaleInY,
|
|
65
|
+
'animation.scaleOutY': animation_1.ScaleOutY,
|
|
66
|
+
'animation.waveIn': animation_1.WaveIn,
|
|
67
|
+
'animation.fadeIn': animation_1.FadeIn,
|
|
68
|
+
'animation.fadeOut': animation_1.FadeOut,
|
|
69
|
+
'animation.morphing': animation_1.Morphing,
|
|
70
|
+
'interaction.tooltip': interaction_1.Tooltip,
|
|
71
|
+
'interaction.legendFilter': interaction_1.LegendFilter,
|
|
72
|
+
'interaction.legendHighlight': interaction_1.LegendHighlight,
|
|
73
|
+
'interaction.sliderFilter': interaction_1.SliderFilter,
|
|
74
|
+
'interaction.scrollbarFilter': interaction_1.ScrollbarFilter,
|
|
75
|
+
'interaction.poptip': interaction_1.Poptip,
|
|
76
|
+
'interaction.event': interaction_1.Event,
|
|
77
|
+
'composition.mark': composition_1.Mark,
|
|
78
|
+
'composition.view': composition_1.View,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
exports.litelib = litelib;
|
|
82
|
+
//# sourceMappingURL=lite.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lite.js","sourceRoot":"src/","sources":["lib/lite.ts"],"names":[],"mappings":";;;AAAA,8CAA0C;AAC1C,sCAA+D;AAC/D,kCAAmC;AACnC,wCAAoD;AACpD,oCAekB;AAClB,oCAAmC;AACnC,4CAiBsB;AACtB,4CASsB;AACtB,gDAQwB;AACxB,gDAA4C;AAC5C,oCAAsC;AACtC,kCAAiC;AAEjC;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO;QACL,aAAa,EAAE,aAAM;QACrB,sBAAsB,EAAE,sBAAS;QACjC,iBAAiB,EAAE,iBAAQ;QAC3B,cAAc,EAAE,cAAK;QACrB,kBAAkB,EAAE,kBAAS;QAC7B,eAAe,EAAE,eAAM;QACvB,eAAe,EAAE,eAAQ;QACzB,mBAAmB,EAAE,kBAAU;QAC/B,oBAAoB,EA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ACxC,6BAA6B,EAAE,6BAAe;QAC9C,oBAAoB,EAAE,oBAAM;QAC5B,mBAAmB,EAAE,mBAAK;QAC1B,kBAAkB,EAAE,kBAAI;QACxB,kBAAkB,EAAE,kBAAI;KAChB,CAAC;AACb,CAAC;AA7DD,0BA6DC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function plotlib(): {
|
|
2
|
+
readonly 'data.venn': import("../runtime").DataComponent<import("../data").VennOptions>;
|
|
3
|
+
readonly 'data.arc': import("../runtime").DataComponent<import("../data").ArcOptions>;
|
|
4
|
+
readonly 'data.cluster': import("../runtime").DataComponent<import("../data").ClusterOptions>;
|
|
5
|
+
readonly 'mark.sankey': import("../runtime").CompositeMarkComponent<import("../mark").SankeyOptions>;
|
|
6
|
+
readonly 'mark.treemap': import("../runtime").CompositionComponent<import("../mark").TreemapOptions>;
|
|
7
|
+
readonly 'mark.boxplot': import("../runtime").CompositeMarkComponent<import("../mark/boxplot").BoxPlotOptions>;
|
|
8
|
+
readonly 'mark.pack': import("../runtime").CompositionComponent<import("../mark").PackOptions>;
|
|
9
|
+
readonly 'mark.gauge': import("../runtime").CompositeMarkComponent<import("../mark").GaugeOptions>;
|
|
10
|
+
readonly 'mark.wordCloud': import("../runtime").CompositeMarkComponent<import("../mark").WordCloudOptions>;
|
|
11
|
+
};
|
package/lib/lib/plot.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.plotlib = void 0;
|
|
4
|
+
const mark_1 = require("../mark");
|
|
5
|
+
const data_1 = require("../data");
|
|
6
|
+
function plotlib() {
|
|
7
|
+
return {
|
|
8
|
+
'data.venn': data_1.Venn,
|
|
9
|
+
'data.arc': data_1.Arc,
|
|
10
|
+
'data.cluster': data_1.Cluster,
|
|
11
|
+
'mark.sankey': mark_1.Sankey,
|
|
12
|
+
'mark.treemap': mark_1.Treemap,
|
|
13
|
+
'mark.boxplot': mark_1.Boxplot,
|
|
14
|
+
'mark.pack': mark_1.Pack,
|
|
15
|
+
'mark.gauge': mark_1.Gauge,
|
|
16
|
+
'mark.wordCloud': mark_1.WordCloud,
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
exports.plotlib = plotlib;
|
|
20
|
+
//# sourceMappingURL=plot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plot.js","sourceRoot":"src/","sources":["lib/plot.ts"],"names":[],"mappings":";;;AAAA,kCAA2E;AAC3E,kCAA6C;AAE7C,SAAgB,OAAO;IACrB,OAAO;QACL,WAAW,EAAE,WAAI;QACjB,UAAU,EAAE,UAAG;QACf,cAAc,EAAE,cAAO;QACvB,aAAa,EAAE,aAAM;QACrB,cAAc,EAAE,cAAO;QACvB,cAAc,EAAE,cAAO;QACvB,WAAW,EAAE,WAAI;QACjB,YAAY,EAAE,YAAK;QACnB,gBAAgB,EAAE,gBAAS;KACnB,CAAC;AACb,CAAC;AAZD,0BAYC"}
|