@antv/g2 5.0.17 → 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/component/legendContinuous.js +6 -5
- package/esm/component/legendContinuous.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/interaction/legendFilter.d.ts +2 -0
- package/esm/interaction/legendFilter.js +66 -37
- package/esm/interaction/legendFilter.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 +13 -6
- package/esm/mark/lineX.js.map +1 -1
- package/esm/mark/lineY.js +13 -6
- 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 +14 -10
- 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/runtime/types/theme.d.ts +1 -0
- 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/label/label.d.ts +7 -1
- package/esm/shape/label/label.js +11 -2
- package/esm/shape/label/label.js.map +1 -1
- package/esm/shape/text/advance.js +24 -11
- 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 +12 -6
- package/esm/theme/academy.js.map +1 -1
- package/esm/theme/classic.js +12 -7
- package/esm/theme/classic.js.map +1 -1
- package/esm/theme/classicDark.js +12 -6
- package/esm/theme/classicDark.js.map +1 -1
- package/esm/transform/filter.js +19 -6
- package/esm/transform/filter.js.map +1 -1
- 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/esm/utils/selection.d.ts +1 -1
- package/esm/utils/selection.js +3 -1
- package/esm/utils/selection.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/component/legendContinuous.js +5 -4
- package/lib/component/legendContinuous.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/interaction/legendFilter.d.ts +2 -0
- package/lib/interaction/legendFilter.js +67 -37
- package/lib/interaction/legendFilter.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 +12 -5
- package/lib/mark/lineX.js.map +1 -1
- package/lib/mark/lineY.js +12 -5
- 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 +14 -10
- 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/runtime/types/theme.d.ts +1 -0
- 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/label/label.d.ts +7 -1
- package/lib/shape/label/label.js +11 -2
- package/lib/shape/label/label.js.map +1 -1
- package/lib/shape/text/advance.js +24 -11
- 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 +12 -6
- package/lib/theme/academy.js.map +1 -1
- package/lib/theme/classic.js +12 -7
- package/lib/theme/classic.js.map +1 -1
- package/lib/theme/classicDark.js +12 -6
- package/lib/theme/classicDark.js.map +1 -1
- package/lib/transform/filter.js +19 -6
- package/lib/transform/filter.js.map +1 -1
- 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/lib/utils/selection.d.ts +1 -1
- package/lib/utils/selection.js +3 -1
- package/lib/utils/selection.js.map +1 -1
- package/package.json +11 -10
- 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/component/legendContinuous.ts +9 -5
- package/src/{geo → composition}/geoView.ts +1 -1
- package/src/composition/index.ts +2 -0
- package/src/index.ts +12 -3
- package/src/interaction/legendFilter.ts +96 -49
- 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 +20 -9
- package/src/mark/lineY.ts +20 -9
- 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 +26 -12
- 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/runtime/types/theme.ts +1 -0
- package/src/shape/index.ts +106 -110
- package/src/shape/label/label.ts +21 -2
- package/src/shape/text/advance.ts +38 -14
- 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 +12 -6
- package/src/theme/classic.ts +12 -7
- package/src/theme/classicDark.ts +12 -6
- package/src/transform/filter.ts +16 -5
- package/src/utils/scale.ts +1 -1
- package/src/utils/selection.ts +6 -1
- package/CHANGELOG.md +0 -251
- 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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"facetRect.js","sourceRoot":"src/","sources":["api/composition/facetRect.ts"],"names":[],"mappings":";;;;;;;;;AACA,oCAAkD;AAOlD,kCAAqC;AACrC,mCAAuD;AAsBhD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,uBAAqC;IAClE;QACE,KAAK,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;IACzB,CAAC;CACF,CAAA;AAJY,SAAS;IATrB,IAAA,mBAAW,EAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE;QACpC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;QAChC,GAAG,IAAA,iBAAS,EAAC,WAAI,CAAC;KACnB,CAAC;GACW,SAAS,CAIrB;AAJY,8BAAS"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { GeoPathComposition } from '../../spec';
|
|
2
|
-
import { ValueAttribute, ObjectAttribute, Concrete } from '../types';
|
|
3
|
-
import { Mark } from '../mark';
|
|
4
|
-
import { Composition, CompositionNode } from './index';
|
|
5
|
-
type GeoPathSpec = Concrete<GeoPathComposition>;
|
|
6
|
-
export interface GeoPath extends Mark, Composition {
|
|
7
|
-
data: ValueAttribute<GeoPathSpec['data'], GeoPath>;
|
|
8
|
-
coordinate: ValueAttribute<GeoPathSpec['coordinate'], GeoPath>;
|
|
9
|
-
interaction: ObjectAttribute<GeoPathSpec['interaction'], GeoPath>;
|
|
10
|
-
style: ObjectAttribute<GeoPathSpec['style'], GeoPath>;
|
|
11
|
-
theme: ObjectAttribute<GeoPathSpec['theme'], GeoPath>;
|
|
12
|
-
scale: ObjectAttribute<GeoPathSpec['scale'], GeoPath>;
|
|
13
|
-
encode: ObjectAttribute<GeoPathSpec['encode'], GeoPath>;
|
|
14
|
-
legend: ObjectAttribute<GeoPathSpec['legend'], GeoPath>;
|
|
15
|
-
state: ObjectAttribute<GeoPathSpec['state'], GeoPath>;
|
|
16
|
-
}
|
|
17
|
-
export declare class GeoPath extends CompositionNode<GeoPathComposition> {
|
|
18
|
-
constructor();
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.GeoPath = void 0;
|
|
10
|
-
const props_1 = require("../props");
|
|
11
|
-
const mark_1 = require("../mark");
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
let GeoPath = class GeoPath extends index_1.CompositionNode {
|
|
14
|
-
constructor() {
|
|
15
|
-
super({}, 'geoPath');
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
GeoPath = __decorate([
|
|
19
|
-
(0, props_1.defineProps)([
|
|
20
|
-
{ type: 'value', name: 'data' },
|
|
21
|
-
{ type: 'value', name: 'coordinate' },
|
|
22
|
-
{ type: 'object', name: 'interaction' },
|
|
23
|
-
{ type: 'object', name: 'theme' },
|
|
24
|
-
{ type: 'object', name: 'style' },
|
|
25
|
-
{ type: 'object', name: 'scale' },
|
|
26
|
-
{ type: 'object', name: 'encode' },
|
|
27
|
-
{ type: 'object', name: 'legend' },
|
|
28
|
-
{ type: 'object', name: 'state' },
|
|
29
|
-
...(0, props_1.nodeProps)(mark_1.mark),
|
|
30
|
-
])
|
|
31
|
-
], GeoPath);
|
|
32
|
-
exports.GeoPath = GeoPath;
|
|
33
|
-
//# sourceMappingURL=geoPath.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"geoPath.js","sourceRoot":"src/","sources":["api/composition/geoPath.ts"],"names":[],"mappings":";;;;;;;;;AACA,oCAAkD;AAElD,kCAAqC;AACrC,mCAAuD;AA4BhD,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,uBAAmC;IAC9D;QACE,KAAK,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IACvB,CAAC;CACF,CAAA;AAJY,OAAO;IAZnB,IAAA,mBAAW,EAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE;QACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE;QACvC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,GAAG,IAAA,iBAAS,EAAC,WAAI,CAAC;KACnB,CAAC;GACW,OAAO,CAInB;AAJY,0BAAO"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { GeoViewComposition } from '../../spec';
|
|
2
|
-
import { ValueAttribute, ObjectAttribute, ArrayAttribute, Concrete } from '../types';
|
|
3
|
-
import { Mark } from '../mark';
|
|
4
|
-
import { Composition, CompositionNode } from './index';
|
|
5
|
-
type GeoViewSpec = Concrete<GeoViewComposition>;
|
|
6
|
-
export interface GeoView extends Mark, Composition {
|
|
7
|
-
data: ValueAttribute<GeoViewSpec['data'], GeoView>;
|
|
8
|
-
key: ValueAttribute<GeoViewSpec['key'], GeoView>;
|
|
9
|
-
coordinate: ArrayAttribute<GeoViewSpec['coordinate'], GeoView>;
|
|
10
|
-
interaction: ObjectAttribute<GeoViewSpec['interaction'], GeoView>;
|
|
11
|
-
style: ObjectAttribute<GeoViewSpec['style'], GeoView>;
|
|
12
|
-
theme: ObjectAttribute<GeoViewSpec['theme'], GeoView>;
|
|
13
|
-
scale: ObjectAttribute<GeoViewSpec['scale'], GeoView>;
|
|
14
|
-
legend: ObjectAttribute<GeoViewSpec['legend'], GeoView>;
|
|
15
|
-
}
|
|
16
|
-
export declare class GeoView extends CompositionNode<GeoViewComposition> {
|
|
17
|
-
constructor();
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.GeoView = void 0;
|
|
10
|
-
const props_1 = require("../props");
|
|
11
|
-
const mark_1 = require("../mark");
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
let GeoView = class GeoView extends index_1.CompositionNode {
|
|
14
|
-
constructor() {
|
|
15
|
-
super({}, 'geoView');
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
GeoView = __decorate([
|
|
19
|
-
(0, props_1.defineProps)([
|
|
20
|
-
{ type: 'value', name: 'data' },
|
|
21
|
-
{ type: 'value', name: 'coordinate' },
|
|
22
|
-
{ type: 'object', name: 'interaction' },
|
|
23
|
-
{ type: 'object', name: 'theme' },
|
|
24
|
-
{ type: 'object', name: 'style' },
|
|
25
|
-
{ type: 'object', name: 'scale' },
|
|
26
|
-
{ type: 'object', name: 'legend' },
|
|
27
|
-
...(0, props_1.nodeProps)(mark_1.mark),
|
|
28
|
-
])
|
|
29
|
-
], GeoView);
|
|
30
|
-
exports.GeoView = GeoView;
|
|
31
|
-
//# sourceMappingURL=geoView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"geoView.js","sourceRoot":"src/","sources":["api/composition/geoView.ts"],"names":[],"mappings":";;;;;;;;;AACA,oCAAkD;AAOlD,kCAAqC;AACrC,mCAAuD;AAyBhD,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,uBAAmC;IAC9D;QACE,KAAK,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IACvB,CAAC;CACF,CAAA;AAJY,OAAO;IAVnB,IAAA,mBAAW,EAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE;QACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE;QACvC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,GAAG,IAAA,iBAAS,EAAC,WAAI,CAAC;KACnB,CAAC;GACW,OAAO,CAInB;AAJY,0BAAO"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { CompositionNode } from './base';
|
|
2
|
-
import { View } from './view';
|
|
3
|
-
import { SpaceLayer } from './spaceLayer';
|
|
4
|
-
import { SpaceFlex } from './spaceFlex';
|
|
5
|
-
import { FacetRect } from './facetRect';
|
|
6
|
-
import { FacetCircle } from './facetCircle';
|
|
7
|
-
import { RepeatMatrix } from './repeatMatrix';
|
|
8
|
-
import { TimingKeyframe } from './timingKeyframe';
|
|
9
|
-
import { GeoView } from './geoView';
|
|
10
|
-
import { GeoPath } from './geoPath';
|
|
11
|
-
export declare const composition: {
|
|
12
|
-
view: typeof View;
|
|
13
|
-
spaceLayer: typeof SpaceLayer;
|
|
14
|
-
spaceFlex: typeof SpaceFlex;
|
|
15
|
-
facetRect: typeof FacetRect;
|
|
16
|
-
facetCircle: typeof FacetCircle;
|
|
17
|
-
repeatMatrix: typeof RepeatMatrix;
|
|
18
|
-
timingKeyframe: typeof TimingKeyframe;
|
|
19
|
-
geoView: typeof GeoView;
|
|
20
|
-
geoPath: typeof GeoPath;
|
|
21
|
-
};
|
|
22
|
-
export interface Composition {
|
|
23
|
-
view(): View;
|
|
24
|
-
spaceLayer(): SpaceLayer;
|
|
25
|
-
spaceFlex(): SpaceFlex;
|
|
26
|
-
facetRect(): FacetRect;
|
|
27
|
-
facetCircle(): FacetCircle;
|
|
28
|
-
repeatMatrix(): RepeatMatrix;
|
|
29
|
-
timingKeyframe(): TimingKeyframe;
|
|
30
|
-
geoView(): GeoView;
|
|
31
|
-
geoPath(): GeoPath;
|
|
32
|
-
}
|
|
33
|
-
export { CompositionNode, View, SpaceLayer, SpaceFlex, FacetRect, FacetCircle, RepeatMatrix, TimingKeyframe, GeoView, GeoPath, };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GeoPath = exports.GeoView = exports.TimingKeyframe = exports.RepeatMatrix = exports.FacetCircle = exports.FacetRect = exports.SpaceFlex = exports.SpaceLayer = exports.View = exports.CompositionNode = exports.composition = void 0;
|
|
4
|
-
const props_1 = require("../props");
|
|
5
|
-
const base_1 = require("./base");
|
|
6
|
-
Object.defineProperty(exports, "CompositionNode", { enumerable: true, get: function () { return base_1.CompositionNode; } });
|
|
7
|
-
const view_1 = require("./view");
|
|
8
|
-
Object.defineProperty(exports, "View", { enumerable: true, get: function () { return view_1.View; } });
|
|
9
|
-
const spaceLayer_1 = require("./spaceLayer");
|
|
10
|
-
Object.defineProperty(exports, "SpaceLayer", { enumerable: true, get: function () { return spaceLayer_1.SpaceLayer; } });
|
|
11
|
-
const spaceFlex_1 = require("./spaceFlex");
|
|
12
|
-
Object.defineProperty(exports, "SpaceFlex", { enumerable: true, get: function () { return spaceFlex_1.SpaceFlex; } });
|
|
13
|
-
const facetRect_1 = require("./facetRect");
|
|
14
|
-
Object.defineProperty(exports, "FacetRect", { enumerable: true, get: function () { return facetRect_1.FacetRect; } });
|
|
15
|
-
const facetCircle_1 = require("./facetCircle");
|
|
16
|
-
Object.defineProperty(exports, "FacetCircle", { enumerable: true, get: function () { return facetCircle_1.FacetCircle; } });
|
|
17
|
-
const repeatMatrix_1 = require("./repeatMatrix");
|
|
18
|
-
Object.defineProperty(exports, "RepeatMatrix", { enumerable: true, get: function () { return repeatMatrix_1.RepeatMatrix; } });
|
|
19
|
-
const timingKeyframe_1 = require("./timingKeyframe");
|
|
20
|
-
Object.defineProperty(exports, "TimingKeyframe", { enumerable: true, get: function () { return timingKeyframe_1.TimingKeyframe; } });
|
|
21
|
-
const geoView_1 = require("./geoView");
|
|
22
|
-
Object.defineProperty(exports, "GeoView", { enumerable: true, get: function () { return geoView_1.GeoView; } });
|
|
23
|
-
const geoPath_1 = require("./geoPath");
|
|
24
|
-
Object.defineProperty(exports, "GeoPath", { enumerable: true, get: function () { return geoPath_1.GeoPath; } });
|
|
25
|
-
exports.composition = {
|
|
26
|
-
view: view_1.View,
|
|
27
|
-
spaceLayer: spaceLayer_1.SpaceLayer,
|
|
28
|
-
spaceFlex: spaceFlex_1.SpaceFlex,
|
|
29
|
-
facetRect: facetRect_1.FacetRect,
|
|
30
|
-
facetCircle: facetCircle_1.FacetCircle,
|
|
31
|
-
repeatMatrix: repeatMatrix_1.RepeatMatrix,
|
|
32
|
-
timingKeyframe: timingKeyframe_1.TimingKeyframe,
|
|
33
|
-
geoView: geoView_1.GeoView,
|
|
34
|
-
geoPath: geoPath_1.GeoPath,
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Define composition node api for composition node dynamically,
|
|
38
|
-
* which can avoid circular dependency.
|
|
39
|
-
* @todo Remove view as composition.
|
|
40
|
-
*/
|
|
41
|
-
for (const Ctor of Object.values(exports.composition)) {
|
|
42
|
-
(0, props_1.defineProps)((0, props_1.nodeProps)(exports.composition))(Ctor);
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["api/composition/index.ts"],"names":[],"mappings":";;;AAAA,oCAAkD;AAClD,iCAAyC;AAoCvC,gGApCO,sBAAe,OAoCP;AAnCjB,iCAA8B;AAoC5B,qFApCO,WAAI,OAoCP;AAnCN,6CAA0C;AAoCxC,2FApCO,uBAAU,OAoCP;AAnCZ,2CAAwC;AAoCtC,0FApCO,qBAAS,OAoCP;AAnCX,2CAAwC;AAoCtC,0FApCO,qBAAS,OAoCP;AAnCX,+CAA4C;AAoC1C,4FApCO,yBAAW,OAoCP;AAnCb,iDAA8C;AAoC5C,6FApCO,2BAAY,OAoCP;AAnCd,qDAAkD;AAoChD,+FApCO,+BAAc,OAoCP;AAnChB,uCAAoC;AAoClC,wFApCO,iBAAO,OAoCP;AAnCT,uCAAoC;AAoClC,wFApCO,iBAAO,OAoCP;AAlCI,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,WAAI;IACV,UAAU,EAAE,uBAAU;IACtB,SAAS,EAAE,qBAAS;IACpB,SAAS,EAAE,qBAAS;IACpB,WAAW,EAAE,yBAAW;IACxB,YAAY,EAAE,2BAAY;IAC1B,cAAc,EAAE,+BAAc;IAC9B,OAAO,EAAE,iBAAO;IAChB,OAAO,EAAE,iBAAO;CACjB,CAAC;AA2BF;;;;GAIG;AACH,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,mBAAW,CAAC,EAAE;IAC7C,IAAA,mBAAW,EAAC,IAAA,iBAAS,EAAC,mBAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;CAC3C"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { RepeatMatrixComposition } from '../../spec';
|
|
2
|
-
import { ValueAttribute, Concrete, ArrayAttribute, ObjectAttribute } from '../types';
|
|
3
|
-
import { Mark } from '../mark';
|
|
4
|
-
import { Composition, CompositionNode } from './index';
|
|
5
|
-
type RepeatMatrixSpec = Concrete<RepeatMatrixComposition>;
|
|
6
|
-
export interface RepeatMatrix extends Composition, Mark {
|
|
7
|
-
data: ValueAttribute<RepeatMatrixSpec['data'], RepeatMatrix>;
|
|
8
|
-
transform: ArrayAttribute<RepeatMatrixSpec['transform'], RepeatMatrix>;
|
|
9
|
-
encode: ObjectAttribute<RepeatMatrixSpec['encode'], RepeatMatrix>;
|
|
10
|
-
scale: ObjectAttribute<RepeatMatrixSpec['scale'], RepeatMatrix>;
|
|
11
|
-
legend: ObjectAttribute<RepeatMatrixSpec['legend'], RepeatMatrix>;
|
|
12
|
-
axis: ObjectAttribute<RepeatMatrixSpec['axis'], RepeatMatrix>;
|
|
13
|
-
}
|
|
14
|
-
export declare class RepeatMatrix extends CompositionNode<RepeatMatrixComposition> {
|
|
15
|
-
constructor();
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.RepeatMatrix = void 0;
|
|
10
|
-
const props_1 = require("../props");
|
|
11
|
-
const mark_1 = require("../mark");
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
let RepeatMatrix = class RepeatMatrix extends index_1.CompositionNode {
|
|
14
|
-
constructor() {
|
|
15
|
-
super({}, 'repeatMatrix');
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
RepeatMatrix = __decorate([
|
|
19
|
-
(0, props_1.defineProps)([
|
|
20
|
-
{ type: 'value', name: 'data' },
|
|
21
|
-
{ type: 'array', name: 'transform' },
|
|
22
|
-
{ type: 'object', name: 'scale' },
|
|
23
|
-
{ type: 'object', name: 'encode' },
|
|
24
|
-
{ type: 'object', name: 'encode' },
|
|
25
|
-
{ type: 'object', name: 'legend' },
|
|
26
|
-
...(0, props_1.nodeProps)(mark_1.mark),
|
|
27
|
-
])
|
|
28
|
-
], RepeatMatrix);
|
|
29
|
-
exports.RepeatMatrix = RepeatMatrix;
|
|
30
|
-
//# sourceMappingURL=repeatMatrix.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"repeatMatrix.js","sourceRoot":"src/","sources":["api/composition/repeatMatrix.ts"],"names":[],"mappings":";;;;;;;;;AACA,oCAAkD;AAOlD,kCAAqC;AACrC,mCAAuD;AAsBhD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,uBAAwC;IACxE;QACE,KAAK,CAAC,EAAE,EAAE,cAAc,CAAC,CAAC;IAC5B,CAAC;CACF,CAAA;AAJY,YAAY;IATxB,IAAA,mBAAW,EAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE;QACpC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,GAAG,IAAA,iBAAS,EAAC,WAAI,CAAC;KACnB,CAAC;GACW,YAAY,CAIxB;AAJY,oCAAY"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SpaceFlexComposition } from '../../spec';
|
|
2
|
-
import { ValueAttribute, Concrete } from '../types';
|
|
3
|
-
import { Mark } from '../mark';
|
|
4
|
-
import { Composition, CompositionNode } from './index';
|
|
5
|
-
type SpaceFlexSpec = Concrete<SpaceFlexComposition>;
|
|
6
|
-
export interface SpaceFlex extends Composition, Mark {
|
|
7
|
-
data: ValueAttribute<SpaceFlexSpec['data'], SpaceFlex>;
|
|
8
|
-
}
|
|
9
|
-
export declare class SpaceFlex extends CompositionNode<SpaceFlexSpec> {
|
|
10
|
-
constructor();
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.SpaceFlex = void 0;
|
|
10
|
-
const props_1 = require("../props");
|
|
11
|
-
const mark_1 = require("../mark");
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
let SpaceFlex = class SpaceFlex extends index_1.CompositionNode {
|
|
14
|
-
constructor() {
|
|
15
|
-
super({}, 'spaceFlex');
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
SpaceFlex = __decorate([
|
|
19
|
-
(0, props_1.defineProps)([{ type: 'value', name: 'data' }, ...(0, props_1.nodeProps)(mark_1.mark)])
|
|
20
|
-
], SpaceFlex);
|
|
21
|
-
exports.SpaceFlex = SpaceFlex;
|
|
22
|
-
//# sourceMappingURL=spaceFlex.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spaceFlex.js","sourceRoot":"src/","sources":["api/composition/spaceFlex.ts"],"names":[],"mappings":";;;;;;;;;AACA,oCAAkD;AAElD,kCAAqC;AACrC,mCAAuD;AAShD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,uBAA8B;IAC3D;QACE,KAAK,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;IACzB,CAAC;CACF,CAAA;AAJY,SAAS;IADrB,IAAA,mBAAW,EAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,IAAA,iBAAS,EAAC,WAAI,CAAC,CAAC,CAAC;GACtD,SAAS,CAIrB;AAJY,8BAAS"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SpaceLayerComposition } from '../../spec';
|
|
2
|
-
import { ValueAttribute, Concrete } from '../types';
|
|
3
|
-
import { Mark } from '../mark';
|
|
4
|
-
import { Composition, CompositionNode } from './index';
|
|
5
|
-
type SpaceLayerSpec = Concrete<SpaceLayerComposition>;
|
|
6
|
-
export interface SpaceLayer extends Composition, Mark {
|
|
7
|
-
data: ValueAttribute<SpaceLayerSpec['data'], SpaceLayer>;
|
|
8
|
-
}
|
|
9
|
-
export declare class SpaceLayer extends CompositionNode<SpaceLayerComposition> {
|
|
10
|
-
constructor();
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.SpaceLayer = void 0;
|
|
10
|
-
const props_1 = require("../props");
|
|
11
|
-
const mark_1 = require("../mark");
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
let SpaceLayer = class SpaceLayer extends index_1.CompositionNode {
|
|
14
|
-
constructor() {
|
|
15
|
-
super({}, 'spaceLayer');
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
SpaceLayer = __decorate([
|
|
19
|
-
(0, props_1.defineProps)([{ type: 'value', name: 'data' }, ...(0, props_1.nodeProps)(mark_1.mark)])
|
|
20
|
-
], SpaceLayer);
|
|
21
|
-
exports.SpaceLayer = SpaceLayer;
|
|
22
|
-
//# sourceMappingURL=spaceLayer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spaceLayer.js","sourceRoot":"src/","sources":["api/composition/spaceLayer.ts"],"names":[],"mappings":";;;;;;;;;AACA,oCAAkD;AAElD,kCAAqC;AACrC,mCAAuD;AAShD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,uBAAsC;IACpE;QACE,KAAK,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC;IAC1B,CAAC;CACF,CAAA;AAJY,UAAU;IADtB,IAAA,mBAAW,EAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,IAAA,iBAAS,EAAC,WAAI,CAAC,CAAC,CAAC;GACtD,UAAU,CAItB;AAJY,gCAAU"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TimingKeyframeComposition } from '../../spec';
|
|
2
|
-
import { Concrete } from '../types';
|
|
3
|
-
import { Mark } from '../mark';
|
|
4
|
-
import { Composition, CompositionNode } from './index';
|
|
5
|
-
type TimingKeyframeSpec = Concrete<TimingKeyframeComposition>;
|
|
6
|
-
export interface TimingKeyframe extends Composition, Mark {
|
|
7
|
-
}
|
|
8
|
-
export declare class TimingKeyframe extends CompositionNode<TimingKeyframeSpec> {
|
|
9
|
-
constructor();
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.TimingKeyframe = void 0;
|
|
10
|
-
const props_1 = require("../props");
|
|
11
|
-
const mark_1 = require("../mark");
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
let TimingKeyframe = class TimingKeyframe extends index_1.CompositionNode {
|
|
14
|
-
constructor() {
|
|
15
|
-
super({}, 'timingKeyframe');
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
TimingKeyframe = __decorate([
|
|
19
|
-
(0, props_1.defineProps)([...(0, props_1.nodeProps)(mark_1.mark)])
|
|
20
|
-
], TimingKeyframe);
|
|
21
|
-
exports.TimingKeyframe = TimingKeyframe;
|
|
22
|
-
//# sourceMappingURL=timingKeyframe.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"timingKeyframe.js","sourceRoot":"src/","sources":["api/composition/timingKeyframe.ts"],"names":[],"mappings":";;;;;;;;;AACA,oCAAkD;AAElD,kCAAqC;AACrC,mCAAuD;AAOhD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,uBAAmC;IACrE;QACE,KAAK,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC;IAC9B,CAAC;CACF,CAAA;AAJY,cAAc;IAD1B,IAAA,mBAAW,EAAC,CAAC,GAAG,IAAA,iBAAS,EAAC,WAAI,CAAC,CAAC,CAAC;GACrB,cAAc,CAI1B;AAJY,wCAAc"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ViewComposition } from '../../spec';
|
|
2
|
-
import { ValueAttribute, ObjectAttribute, ArrayAttribute, Concrete } from '../types';
|
|
3
|
-
import { Mark } from '../mark';
|
|
4
|
-
import { CompositionNode } from './base';
|
|
5
|
-
type ViewSpec = Concrete<ViewComposition>;
|
|
6
|
-
export interface View extends Mark {
|
|
7
|
-
data: ValueAttribute<ViewSpec['data'], View>;
|
|
8
|
-
coordinate: ArrayAttribute<ViewSpec['coordinate'], View>;
|
|
9
|
-
interaction: ObjectAttribute<ViewSpec['interaction'], View>;
|
|
10
|
-
theme: ObjectAttribute<ViewSpec['theme'], View>;
|
|
11
|
-
style: ObjectAttribute<ViewSpec['style'], View>;
|
|
12
|
-
scale: ObjectAttribute<ViewSpec['scale'], View>;
|
|
13
|
-
axis: ObjectAttribute<ViewSpec['axis'], View>;
|
|
14
|
-
legend: ObjectAttribute<ViewSpec['legend'], View>;
|
|
15
|
-
}
|
|
16
|
-
export declare class View<ViewProps extends ViewComposition = ViewComposition> extends CompositionNode<ViewProps> {
|
|
17
|
-
constructor(options?: {}, type?: string);
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.View = void 0;
|
|
10
|
-
const props_1 = require("../props");
|
|
11
|
-
const mark_1 = require("../mark");
|
|
12
|
-
const base_1 = require("./base");
|
|
13
|
-
let View = class View extends base_1.CompositionNode {
|
|
14
|
-
constructor(options = {}, type = 'view') {
|
|
15
|
-
super(options, type);
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
View = __decorate([
|
|
19
|
-
(0, props_1.defineProps)([
|
|
20
|
-
{ type: 'value', name: 'data' },
|
|
21
|
-
{ type: 'value', name: 'coordinate' },
|
|
22
|
-
{ type: 'object', name: 'interaction' },
|
|
23
|
-
{ type: 'object', name: 'theme' },
|
|
24
|
-
{ type: 'object', name: 'style' },
|
|
25
|
-
{ type: 'object', name: 'scale' },
|
|
26
|
-
{ type: 'object', name: 'axis' },
|
|
27
|
-
{ type: 'object', name: 'legend' },
|
|
28
|
-
...(0, props_1.nodeProps)(mark_1.mark),
|
|
29
|
-
])
|
|
30
|
-
], View);
|
|
31
|
-
exports.View = View;
|
|
32
|
-
//# sourceMappingURL=view.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"view.js","sourceRoot":"src/","sources":["api/composition/view.ts"],"names":[],"mappings":";;;;;;;;;AACA,oCAAkD;AAOlD,kCAAqC;AACrC,iCAAyC;AA0BlC,IAAM,IAAI,GAAV,MAAM,IAEX,SAAQ,sBAA0B;IAClC,YAAY,OAAO,GAAG,EAAE,EAAE,IAAI,GAAG,MAAM;QACrC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvB,CAAC;CACF,CAAA;AANY,IAAI;IAXhB,IAAA,mBAAW,EAAC;QACX,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE;QACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE;QACvC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;QAChC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,GAAG,IAAA,iBAAS,EAAC,WAAI,CAAC;KACnB,CAAC;GACW,IAAI,CAMhB;AANY,oBAAI"}
|
package/lib/api/mark/base.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { DisplayObject } from '@antv/g';
|
|
2
|
-
import { Node } from '../node';
|
|
3
|
-
import { G2MarkState, Scale } from '../../runtime';
|
|
4
|
-
export declare class MarkNode<Value extends Record<string, any> = Record<string, any>, ParentValue extends Record<string, any> = Record<string, any>, ChildValue extends Record<string, any> = Record<string, any>> extends Node<Value, ParentValue, ChildValue> {
|
|
5
|
-
changeData(data: any): Promise<import("..").Chart>;
|
|
6
|
-
/**
|
|
7
|
-
* Get mark from chart views.
|
|
8
|
-
*/
|
|
9
|
-
getMark(): G2MarkState;
|
|
10
|
-
/**
|
|
11
|
-
* Get all scales instance.
|
|
12
|
-
*/
|
|
13
|
-
getScale(): Record<string, Scale>;
|
|
14
|
-
/**
|
|
15
|
-
* Get the scale instance by channel.
|
|
16
|
-
*/
|
|
17
|
-
getScaleByChannel(channel: string): Scale;
|
|
18
|
-
/**
|
|
19
|
-
* Get canvas group.
|
|
20
|
-
*/
|
|
21
|
-
getGroup(): DisplayObject;
|
|
22
|
-
}
|
package/lib/api/mark/base.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"src/","sources":["api/mark/base.ts"],"names":[],"mappings":";;;AACA,kCAA+B;AAG/B,MAAa,QAIX,SAAQ,WAAoC;IAC5C,UAAU,CAAC,IAAS;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC7B,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,EAAE,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,OAAO;;QACL,MAAM,SAAS,GAAG,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,OAAO,EAAE,CAAC;QAC5C,IAAI,CAAC,SAAS;YAAE,OAAO,SAAS,CAAC;QACjC,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;QAChC,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAC/C,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CACxC,CAAC;QACF,OAAO,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,QAAQ;;QACN,MAAM,SAAS,GAAG,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,OAAO,EAAE,CAAC;QAC5C,IAAI,CAAC,SAAS;YAAE,OAAO,SAAS,CAAC;QACjC,OAAO,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,iBAAiB,CAAC,OAAe;;QAC/B,MAAM,SAAS,GAAG,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,OAAO,EAAE,CAAC;QAC5C,IAAI,CAAC,SAAS;YAAE,OAAO,SAAS,CAAC;QACjC,OAAO,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK,0CAAG,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC7B,IAAI,CAAC,GAAG;YAAE,OAAO,SAAS,CAAC;QAC3B,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC7B,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACvD,OAAO,UAAU,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;CACF;AArDD,4BAqDC"}
|
package/lib/api/mark/index.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { CompositeMarkType } from '../../spec';
|
|
2
|
-
import { Interval, Rect, Point, Area, Line, Cell, Vector, Link, Polygon, Image, Text, Box, LineX, LineY, Range, RangeX, RangeY, Connector, Sankey, Treemap, Boxplot, Density, Heatmap, Path, Shape, Pack, ForceGraph, Tree, WordCloud, Composite, Gauge, AxisX, AxisY, Legends } from './mark';
|
|
3
|
-
export interface Mark {
|
|
4
|
-
mark(Composite: CompositeMarkType): Composite;
|
|
5
|
-
interval(): Interval;
|
|
6
|
-
rect(): Rect;
|
|
7
|
-
point(): Point;
|
|
8
|
-
area(): Area;
|
|
9
|
-
line(): Line;
|
|
10
|
-
cell(): Cell;
|
|
11
|
-
vector(): Vector;
|
|
12
|
-
link(): Link;
|
|
13
|
-
polygon(): Polygon;
|
|
14
|
-
image(): Image;
|
|
15
|
-
text(): Text;
|
|
16
|
-
box(): Box;
|
|
17
|
-
lineX(): LineX;
|
|
18
|
-
lineY(): LineY;
|
|
19
|
-
range(): Range;
|
|
20
|
-
rangeX(): RangeX;
|
|
21
|
-
rangeY(): RangeY;
|
|
22
|
-
connector(): Connector;
|
|
23
|
-
sankey(): Sankey;
|
|
24
|
-
treemap(): Treemap;
|
|
25
|
-
boxplot(): Boxplot;
|
|
26
|
-
density(): Density;
|
|
27
|
-
heatmap(): Heatmap;
|
|
28
|
-
path(): Path;
|
|
29
|
-
shape(): Shape;
|
|
30
|
-
pack(): Pack;
|
|
31
|
-
forceGraph(): ForceGraph;
|
|
32
|
-
tree(): Tree;
|
|
33
|
-
wordCloud(): WordCloud;
|
|
34
|
-
gauge(): Gauge;
|
|
35
|
-
axisX(): AxisX;
|
|
36
|
-
axisY(): AxisY;
|
|
37
|
-
legends(): Legends;
|
|
38
|
-
}
|
|
39
|
-
export { MarkNode } from './base';
|
|
40
|
-
export declare const mark: {
|
|
41
|
-
mark: typeof Composite;
|
|
42
|
-
interval: typeof Interval;
|
|
43
|
-
rect: typeof Rect;
|
|
44
|
-
point: typeof Point;
|
|
45
|
-
area: typeof Area;
|
|
46
|
-
line: typeof Line;
|
|
47
|
-
cell: typeof Cell;
|
|
48
|
-
vector: typeof Vector;
|
|
49
|
-
link: typeof Link;
|
|
50
|
-
polygon: typeof Polygon;
|
|
51
|
-
image: typeof Image;
|
|
52
|
-
text: typeof Text;
|
|
53
|
-
box: typeof Box;
|
|
54
|
-
lineX: typeof LineX;
|
|
55
|
-
lineY: typeof LineY;
|
|
56
|
-
range: typeof Range;
|
|
57
|
-
rangeX: typeof RangeX;
|
|
58
|
-
rangeY: typeof RangeY;
|
|
59
|
-
connector: typeof Connector;
|
|
60
|
-
sankey: typeof Sankey;
|
|
61
|
-
treemap: typeof Treemap;
|
|
62
|
-
boxplot: typeof Boxplot;
|
|
63
|
-
density: typeof Density;
|
|
64
|
-
heatmap: typeof Heatmap;
|
|
65
|
-
path: typeof Path;
|
|
66
|
-
shape: typeof Shape;
|
|
67
|
-
pack: typeof Pack;
|
|
68
|
-
forceGraph: typeof ForceGraph;
|
|
69
|
-
tree: typeof Tree;
|
|
70
|
-
wordCloud: typeof WordCloud;
|
|
71
|
-
gauge: typeof Gauge;
|
|
72
|
-
axisX: typeof AxisX;
|
|
73
|
-
axisY: typeof AxisY;
|
|
74
|
-
legends: typeof Legends;
|
|
75
|
-
};
|
package/lib/api/mark/index.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mark = exports.MarkNode = void 0;
|
|
4
|
-
const mark_1 = require("./mark");
|
|
5
|
-
var base_1 = require("./base");
|
|
6
|
-
Object.defineProperty(exports, "MarkNode", { enumerable: true, get: function () { return base_1.MarkNode; } });
|
|
7
|
-
exports.mark = {
|
|
8
|
-
mark: mark_1.Composite,
|
|
9
|
-
interval: mark_1.Interval,
|
|
10
|
-
rect: mark_1.Rect,
|
|
11
|
-
point: mark_1.Point,
|
|
12
|
-
area: mark_1.Area,
|
|
13
|
-
line: mark_1.Line,
|
|
14
|
-
cell: mark_1.Cell,
|
|
15
|
-
vector: mark_1.Vector,
|
|
16
|
-
link: mark_1.Link,
|
|
17
|
-
polygon: mark_1.Polygon,
|
|
18
|
-
image: mark_1.Image,
|
|
19
|
-
text: mark_1.Text,
|
|
20
|
-
box: mark_1.Box,
|
|
21
|
-
lineX: mark_1.LineX,
|
|
22
|
-
lineY: mark_1.LineY,
|
|
23
|
-
range: mark_1.Range,
|
|
24
|
-
rangeX: mark_1.RangeX,
|
|
25
|
-
rangeY: mark_1.RangeY,
|
|
26
|
-
connector: mark_1.Connector,
|
|
27
|
-
sankey: mark_1.Sankey,
|
|
28
|
-
treemap: mark_1.Treemap,
|
|
29
|
-
boxplot: mark_1.Boxplot,
|
|
30
|
-
density: mark_1.Density,
|
|
31
|
-
heatmap: mark_1.Heatmap,
|
|
32
|
-
path: mark_1.Path,
|
|
33
|
-
shape: mark_1.Shape,
|
|
34
|
-
pack: mark_1.Pack,
|
|
35
|
-
forceGraph: mark_1.ForceGraph,
|
|
36
|
-
tree: mark_1.Tree,
|
|
37
|
-
wordCloud: mark_1.WordCloud,
|
|
38
|
-
gauge: mark_1.Gauge,
|
|
39
|
-
axisX: mark_1.AxisX,
|
|
40
|
-
axisY: mark_1.AxisY,
|
|
41
|
-
legends: mark_1.Legends,
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["api/mark/index.ts"],"names":[],"mappings":";;;AACA,iCAmCgB;AAuChB,+BAAkC;AAAzB,gGAAA,QAAQ,OAAA;AAEJ,QAAA,IAAI,GAAG;IAClB,IAAI,EAAE,gBAAS;IACf,QAAQ,EAAE,eAAQ;IAClB,IAAI,EAAE,WAAI;IACV,KAAK,EAAE,YAAK;IACZ,IAAI,EAAE,WAAI;IACV,IAAI,EAAE,WAAI;IACV,IAAI,EAAE,WAAI;IACV,MAAM,EAAE,aAAM;IACd,IAAI,EAAE,WAAI;IACV,OAAO,EAAE,cAAO;IAChB,KAAK,EAAE,YAAK;IACZ,IAAI,EAAE,WAAI;IACV,GAAG,EAAE,UAAG;IACR,KAAK,EAAE,YAAK;IACZ,KAAK,EAAE,YAAK;IACZ,KAAK,EAAE,YAAK;IACZ,MAAM,EAAE,aAAM;IACd,MAAM,EAAE,aAAM;IACd,SAAS,EAAE,gBAAS;IACpB,MAAM,EAAE,aAAM;IACd,OAAO,EAAE,cAAO;IAChB,OAAO,EAAE,cAAO;IAChB,OAAO,EAAE,cAAO;IAChB,OAAO,EAAE,cAAO;IAChB,IAAI,EAAE,WAAI;IACV,KAAK,EAAE,YAAK;IACZ,IAAI,EAAE,WAAI;IACV,UAAU,EAAE,iBAAU;IACtB,IAAI,EAAE,WAAI;IACV,SAAS,EAAE,gBAAS;IACpB,KAAK,EAAE,YAAK;IACZ,KAAK,EAAE,YAAK;IACZ,KAAK,EAAE,YAAK;IACZ,OAAO,EAAE,cAAO;CACjB,CAAC"}
|