@antv/g2plot 2.4.30 → 3.0.0-alpha.1
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/LICENSE +4 -4
- package/README.en-US.md +0 -170
- package/README.md +8 -178
- package/dist/g2plot.min.js +10 -17
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.js +2 -0
- package/esm/components/index.js.map +1 -0
- package/esm/components/mark.d.ts +5 -0
- package/esm/components/mark.js +7 -0
- package/esm/components/mark.js.map +1 -0
- package/esm/core/plot.d.ts +23 -43
- package/esm/core/plot.js +77 -192
- package/esm/core/plot.js.map +1 -1
- package/esm/index.d.ts +4 -103
- package/esm/index.js +3 -102
- package/esm/index.js.map +1 -1
- package/esm/plots/column/adaptor.d.ts +7 -15
- package/esm/plots/column/adaptor.js +14 -218
- package/esm/plots/column/adaptor.js.map +1 -1
- package/esm/plots/column/index.d.ts +9 -16
- package/esm/plots/column/index.js +16 -36
- package/esm/plots/column/index.js.map +1 -1
- package/esm/plots/column/type.d.ts +2 -0
- package/esm/plots/column/type.js +2 -0
- package/esm/plots/column/type.js.map +1 -0
- package/esm/plots/line/adaptor.d.ts +5 -24
- package/esm/plots/line/adaptor.js +9 -157
- package/esm/plots/line/adaptor.js.map +1 -1
- package/esm/plots/line/index.d.ts +7 -13
- package/esm/plots/line/index.js +14 -31
- package/esm/plots/line/index.js.map +1 -1
- package/esm/plots/line/type.d.ts +2 -0
- package/esm/plots/line/type.js +2 -0
- package/esm/plots/line/type.js.map +1 -0
- package/esm/types/common.d.ts +6 -235
- package/esm/types/common.js.map +1 -1
- package/esm/types/index.d.ts +1 -14
- package/esm/types/index.js +0 -10
- package/esm/types/index.js.map +1 -1
- package/esm/utils/index.d.ts +2 -16
- package/esm/utils/index.js +2 -16
- package/esm/utils/index.js.map +1 -1
- package/esm/utils/is-composite-plot.d.ts +5 -0
- package/esm/utils/is-composite-plot.js +5 -0
- package/esm/utils/is-composite-plot.js.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +6 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/mark.d.ts +5 -0
- package/lib/components/mark.js +11 -0
- package/lib/components/mark.js.map +1 -0
- package/lib/core/plot.d.ts +23 -43
- package/lib/core/plot.js +84 -195
- package/lib/core/plot.js.map +1 -1
- package/lib/index.d.ts +4 -103
- package/lib/index.js +31 -154
- package/lib/index.js.map +1 -1
- package/lib/plots/column/adaptor.d.ts +7 -15
- package/lib/plots/column/adaptor.js +15 -221
- package/lib/plots/column/adaptor.js.map +1 -1
- package/lib/plots/column/index.d.ts +9 -16
- package/lib/plots/column/index.js +17 -36
- package/lib/plots/column/index.js.map +1 -1
- package/lib/plots/column/type.d.ts +2 -0
- package/lib/{types/attr.js → plots/column/type.js} +1 -1
- package/lib/plots/column/type.js.map +1 -0
- package/lib/plots/line/adaptor.d.ts +5 -24
- package/lib/plots/line/adaptor.js +10 -162
- package/lib/plots/line/adaptor.js.map +1 -1
- package/lib/plots/line/index.d.ts +7 -13
- package/lib/plots/line/index.js +15 -31
- package/lib/plots/line/index.js.map +1 -1
- package/lib/plots/line/type.d.ts +2 -0
- package/lib/{types/axis.js → plots/line/type.js} +1 -1
- package/lib/plots/line/type.js.map +1 -0
- package/lib/types/common.d.ts +6 -235
- package/lib/types/common.js.map +1 -1
- package/lib/types/index.d.ts +1 -14
- package/lib/types/index.js +15 -12
- package/lib/types/index.js.map +1 -1
- package/lib/utils/index.d.ts +2 -16
- package/lib/utils/index.js +10 -38
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/is-composite-plot.d.ts +5 -0
- package/lib/utils/is-composite-plot.js +9 -0
- package/lib/utils/is-composite-plot.js.map +1 -0
- package/package.json +83 -103
- package/src/components/index.ts +1 -0
- package/src/components/mark.ts +8 -0
- package/src/core/plot.ts +58 -193
- package/src/index.ts +5 -147
- package/src/module.d.ts +1 -0
- package/src/plots/column/adaptor.ts +15 -309
- package/src/plots/column/index.ts +11 -27
- package/src/plots/column/type.ts +3 -0
- package/src/plots/line/adaptor.ts +14 -219
- package/src/plots/line/index.ts +9 -22
- package/src/plots/line/type.ts +3 -0
- package/src/types/common.ts +6 -249
- package/src/types/index.ts +2 -13
- package/src/utils/index.ts +2 -16
- package/src/utils/is-composite-plot.ts +6 -0
- package/dist/g2plot.min.js.map +0 -1
- package/esm/adaptor/brush.d.ts +0 -12
- package/esm/adaptor/brush.js +0 -48
- package/esm/adaptor/brush.js.map +0 -1
- package/esm/adaptor/common.d.ts +0 -72
- package/esm/adaptor/common.js +0 -187
- package/esm/adaptor/common.js.map +0 -1
- package/esm/adaptor/connected-area.d.ts +0 -17
- package/esm/adaptor/connected-area.js +0 -76
- package/esm/adaptor/connected-area.js.map +0 -1
- package/esm/adaptor/conversion-tag.d.ts +0 -38
- package/esm/adaptor/conversion-tag.js +0 -178
- package/esm/adaptor/conversion-tag.js.map +0 -1
- package/esm/adaptor/geometries/area.d.ts +0 -19
- package/esm/adaptor/geometries/area.js +0 -29
- package/esm/adaptor/geometries/area.js.map +0 -1
- package/esm/adaptor/geometries/base.d.ts +0 -77
- package/esm/adaptor/geometries/base.js +0 -195
- package/esm/adaptor/geometries/base.js.map +0 -1
- package/esm/adaptor/geometries/edge.d.ts +0 -17
- package/esm/adaptor/geometries/edge.js +0 -25
- package/esm/adaptor/geometries/edge.js.map +0 -1
- package/esm/adaptor/geometries/index.d.ts +0 -17
- package/esm/adaptor/geometries/index.js +0 -9
- package/esm/adaptor/geometries/index.js.map +0 -1
- package/esm/adaptor/geometries/interval.d.ts +0 -36
- package/esm/adaptor/geometries/interval.js +0 -73
- package/esm/adaptor/geometries/interval.js.map +0 -1
- package/esm/adaptor/geometries/line.d.ts +0 -23
- package/esm/adaptor/geometries/line.js +0 -29
- package/esm/adaptor/geometries/line.js.map +0 -1
- package/esm/adaptor/geometries/point.d.ts +0 -21
- package/esm/adaptor/geometries/point.js +0 -26
- package/esm/adaptor/geometries/point.js.map +0 -1
- package/esm/adaptor/geometries/polygon.d.ts +0 -17
- package/esm/adaptor/geometries/polygon.js +0 -25
- package/esm/adaptor/geometries/polygon.js.map +0 -1
- package/esm/adaptor/geometries/schema.d.ts +0 -17
- package/esm/adaptor/geometries/schema.js +0 -25
- package/esm/adaptor/geometries/schema.js.map +0 -1
- package/esm/adaptor/geometries/violin.d.ts +0 -19
- package/esm/adaptor/geometries/violin.js +0 -24
- package/esm/adaptor/geometries/violin.js.map +0 -1
- package/esm/adaptor/pattern.d.ts +0 -15
- package/esm/adaptor/pattern.js +0 -54
- package/esm/adaptor/pattern.js.map +0 -1
- package/esm/constant.d.ts +0 -4
- package/esm/constant.js +0 -26
- package/esm/constant.js.map +0 -1
- package/esm/core/adaptor.d.ts +0 -15
- package/esm/core/adaptor.js +0 -2
- package/esm/core/adaptor.js.map +0 -1
- package/esm/core/global.d.ts +0 -13
- package/esm/core/global.js +0 -17
- package/esm/core/global.js.map +0 -1
- package/esm/core/locale.d.ts +0 -15
- package/esm/core/locale.js +0 -25
- package/esm/core/locale.js.map +0 -1
- package/esm/interactions/actions/drill-down.d.ts +0 -99
- package/esm/interactions/actions/drill-down.js +0 -252
- package/esm/interactions/actions/drill-down.js.map +0 -1
- package/esm/interactions/actions/reset-button.d.ts +0 -42
- package/esm/interactions/actions/reset-button.js +0 -144
- package/esm/interactions/actions/reset-button.js.map +0 -1
- package/esm/interactions/brush.d.ts +0 -91
- package/esm/interactions/brush.js +0 -305
- package/esm/interactions/brush.js.map +0 -1
- package/esm/interactions/drag-move.d.ts +0 -1
- package/esm/interactions/drag-move.js +0 -13
- package/esm/interactions/drag-move.js.map +0 -1
- package/esm/interactions/drill-down.d.ts +0 -4
- package/esm/interactions/drill-down.js +0 -52
- package/esm/interactions/drill-down.js.map +0 -1
- package/esm/lab.d.ts +0 -18
- package/esm/lab.js +0 -39
- package/esm/lab.js.map +0 -1
- package/esm/locales/en_US.d.ts +0 -2
- package/esm/locales/en_US.js +0 -27
- package/esm/locales/en_US.js.map +0 -1
- package/esm/locales/zh_CN.d.ts +0 -2
- package/esm/locales/zh_CN.js +0 -27
- package/esm/locales/zh_CN.js.map +0 -1
- package/esm/plots/_template/adaptor.d.ts +0 -13
- package/esm/plots/_template/adaptor.js +0 -38
- package/esm/plots/_template/adaptor.js.map +0 -1
- package/esm/plots/_template/constant.d.ts +0 -0
- package/esm/plots/_template/constant.js +0 -1
- package/esm/plots/_template/constant.js.map +0 -1
- package/esm/plots/_template/index.d.ts +0 -15
- package/esm/plots/_template/index.js +0 -24
- package/esm/plots/_template/index.js.map +0 -1
- package/esm/plots/_template/types.d.ts +0 -8
- package/esm/plots/_template/types.js +0 -2
- package/esm/plots/_template/types.js.map +0 -1
- package/esm/plots/area/adaptor.d.ts +0 -10
- package/esm/plots/area/adaptor.js +0 -115
- package/esm/plots/area/adaptor.js.map +0 -1
- package/esm/plots/area/constants.d.ts +0 -4
- package/esm/plots/area/constants.js +0 -23
- package/esm/plots/area/constants.js.map +0 -1
- package/esm/plots/area/index.d.ts +0 -26
- package/esm/plots/area/index.js +0 -47
- package/esm/plots/area/index.js.map +0 -1
- package/esm/plots/area/types.d.ts +0 -60
- package/esm/plots/area/types.js +0 -2
- package/esm/plots/area/types.js.map +0 -1
- package/esm/plots/bar/adaptor.d.ts +0 -13
- package/esm/plots/bar/adaptor.js +0 -101
- package/esm/plots/bar/adaptor.js.map +0 -1
- package/esm/plots/bar/constants.d.ts +0 -4
- package/esm/plots/bar/constants.js +0 -19
- package/esm/plots/bar/constants.js.map +0 -1
- package/esm/plots/bar/index.d.ts +0 -28
- package/esm/plots/bar/index.js +0 -54
- package/esm/plots/bar/index.js.map +0 -1
- package/esm/plots/bar/types.d.ts +0 -24
- package/esm/plots/bar/types.js +0 -2
- package/esm/plots/bar/types.js.map +0 -1
- package/esm/plots/bidirectional-bar/adaptor.d.ts +0 -28
- package/esm/plots/bidirectional-bar/adaptor.js +0 -311
- package/esm/plots/bidirectional-bar/adaptor.js.map +0 -1
- package/esm/plots/bidirectional-bar/constant.d.ts +0 -4
- package/esm/plots/bidirectional-bar/constant.js +0 -5
- package/esm/plots/bidirectional-bar/constant.js.map +0 -1
- package/esm/plots/bidirectional-bar/index.d.ts +0 -24
- package/esm/plots/bidirectional-bar/index.js +0 -60
- package/esm/plots/bidirectional-bar/index.js.map +0 -1
- package/esm/plots/bidirectional-bar/types.d.ts +0 -33
- package/esm/plots/bidirectional-bar/types.js +0 -2
- package/esm/plots/bidirectional-bar/types.js.map +0 -1
- package/esm/plots/bidirectional-bar/utils.d.ts +0 -22
- package/esm/plots/bidirectional-bar/utils.js +0 -78
- package/esm/plots/bidirectional-bar/utils.js.map +0 -1
- package/esm/plots/box/adaptor.d.ts +0 -12
- package/esm/plots/box/adaptor.js +0 -150
- package/esm/plots/box/adaptor.js.map +0 -1
- package/esm/plots/box/constant.d.ts +0 -8
- package/esm/plots/box/constant.js +0 -26
- package/esm/plots/box/constant.js.map +0 -1
- package/esm/plots/box/index.d.ts +0 -26
- package/esm/plots/box/index.js +0 -49
- package/esm/plots/box/index.js.map +0 -1
- package/esm/plots/box/types.d.ts +0 -29
- package/esm/plots/box/types.js +0 -2
- package/esm/plots/box/types.js.map +0 -1
- package/esm/plots/box/utils.d.ts +0 -7
- package/esm/plots/box/utils.js +0 -20
- package/esm/plots/box/utils.js.map +0 -1
- package/esm/plots/bullet/adaptor.d.ts +0 -13
- package/esm/plots/bullet/adaptor.js +0 -174
- package/esm/plots/bullet/adaptor.js.map +0 -1
- package/esm/plots/bullet/constant.d.ts +0 -4
- package/esm/plots/bullet/constant.js +0 -32
- package/esm/plots/bullet/constant.js.map +0 -1
- package/esm/plots/bullet/index.d.ts +0 -22
- package/esm/plots/bullet/index.js +0 -43
- package/esm/plots/bullet/index.js.map +0 -1
- package/esm/plots/bullet/types.d.ts +0 -56
- package/esm/plots/bullet/types.js +0 -2
- package/esm/plots/bullet/types.js.map +0 -1
- package/esm/plots/bullet/utils.d.ts +0 -12
- package/esm/plots/bullet/utils.js +0 -69
- package/esm/plots/bullet/utils.js.map +0 -1
- package/esm/plots/chord/adaptor.d.ts +0 -8
- package/esm/plots/chord/adaptor.js +0 -148
- package/esm/plots/chord/adaptor.js.map +0 -1
- package/esm/plots/chord/constant.d.ts +0 -43
- package/esm/plots/chord/constant.js +0 -56
- package/esm/plots/chord/constant.js.map +0 -1
- package/esm/plots/chord/index.d.ts +0 -21
- package/esm/plots/chord/index.js +0 -35
- package/esm/plots/chord/index.js.map +0 -1
- package/esm/plots/chord/types.d.ts +0 -48
- package/esm/plots/chord/types.js +0 -2
- package/esm/plots/chord/types.js.map +0 -1
- package/esm/plots/circle-packing/adaptor.d.ts +0 -13
- package/esm/plots/circle-packing/adaptor.js +0 -171
- package/esm/plots/circle-packing/adaptor.js.map +0 -1
- package/esm/plots/circle-packing/constant.d.ts +0 -4
- package/esm/plots/circle-packing/constant.js +0 -30
- package/esm/plots/circle-packing/constant.js.map +0 -1
- package/esm/plots/circle-packing/index.d.ts +0 -27
- package/esm/plots/circle-packing/index.js +0 -50
- package/esm/plots/circle-packing/index.js.map +0 -1
- package/esm/plots/circle-packing/interactions/index.d.ts +0 -2
- package/esm/plots/circle-packing/interactions/index.js +0 -3
- package/esm/plots/circle-packing/interactions/index.js.map +0 -1
- package/esm/plots/circle-packing/types.d.ts +0 -38
- package/esm/plots/circle-packing/types.js +0 -2
- package/esm/plots/circle-packing/types.js.map +0 -1
- package/esm/plots/circle-packing/utils.d.ts +0 -25
- package/esm/plots/circle-packing/utils.js +0 -56
- package/esm/plots/circle-packing/utils.js.map +0 -1
- package/esm/plots/column/constants.d.ts +0 -4
- package/esm/plots/column/constants.js +0 -19
- package/esm/plots/column/constants.js.map +0 -1
- package/esm/plots/column/types.d.ts +0 -90
- package/esm/plots/column/types.js +0 -2
- package/esm/plots/column/types.js.map +0 -1
- package/esm/plots/dual-axes/adaptor.d.ts +0 -63
- package/esm/plots/dual-axes/adaptor.js +0 -424
- package/esm/plots/dual-axes/adaptor.js.map +0 -1
- package/esm/plots/dual-axes/constant.d.ts +0 -26
- package/esm/plots/dual-axes/constant.js +0 -13
- package/esm/plots/dual-axes/constant.js.map +0 -1
- package/esm/plots/dual-axes/index.d.ts +0 -16
- package/esm/plots/dual-axes/index.js +0 -31
- package/esm/plots/dual-axes/index.js.map +0 -1
- package/esm/plots/dual-axes/types.d.ts +0 -79
- package/esm/plots/dual-axes/types.js +0 -11
- package/esm/plots/dual-axes/types.js.map +0 -1
- package/esm/plots/dual-axes/util/geometry.d.ts +0 -11
- package/esm/plots/dual-axes/util/geometry.js +0 -55
- package/esm/plots/dual-axes/util/geometry.js.map +0 -1
- package/esm/plots/dual-axes/util/legend.d.ts +0 -13
- package/esm/plots/dual-axes/util/legend.js +0 -66
- package/esm/plots/dual-axes/util/legend.js.map +0 -1
- package/esm/plots/dual-axes/util/option.d.ts +0 -29
- package/esm/plots/dual-axes/util/option.js +0 -70
- package/esm/plots/dual-axes/util/option.js.map +0 -1
- package/esm/plots/dual-axes/util/render-sider.d.ts +0 -9
- package/esm/plots/dual-axes/util/render-sider.js +0 -31
- package/esm/plots/dual-axes/util/render-sider.js.map +0 -1
- package/esm/plots/facet/adaptor.d.ts +0 -8
- package/esm/plots/facet/adaptor.js +0 -107
- package/esm/plots/facet/adaptor.js.map +0 -1
- package/esm/plots/facet/constant.d.ts +0 -23
- package/esm/plots/facet/constant.js +0 -24
- package/esm/plots/facet/constant.js.map +0 -1
- package/esm/plots/facet/index.d.ts +0 -21
- package/esm/plots/facet/index.js +0 -35
- package/esm/plots/facet/index.js.map +0 -1
- package/esm/plots/facet/types.d.ts +0 -148
- package/esm/plots/facet/types.js +0 -2
- package/esm/plots/facet/types.js.map +0 -1
- package/esm/plots/facet/utils.d.ts +0 -8
- package/esm/plots/facet/utils.js +0 -75
- package/esm/plots/facet/utils.js.map +0 -1
- package/esm/plots/funnel/adaptor.d.ts +0 -18
- package/esm/plots/funnel/adaptor.js +0 -157
- package/esm/plots/funnel/adaptor.js.map +0 -1
- package/esm/plots/funnel/constant.d.ts +0 -40
- package/esm/plots/funnel/constant.js +0 -48
- package/esm/plots/funnel/constant.js.map +0 -1
- package/esm/plots/funnel/geometries/basic.d.ts +0 -13
- package/esm/plots/funnel/geometries/basic.js +0 -93
- package/esm/plots/funnel/geometries/basic.js.map +0 -1
- package/esm/plots/funnel/geometries/common.d.ts +0 -15
- package/esm/plots/funnel/geometries/common.js +0 -59
- package/esm/plots/funnel/geometries/common.js.map +0 -1
- package/esm/plots/funnel/geometries/compare.d.ts +0 -9
- package/esm/plots/funnel/geometries/compare.js +0 -140
- package/esm/plots/funnel/geometries/compare.js.map +0 -1
- package/esm/plots/funnel/geometries/dynamic-height.d.ts +0 -8
- package/esm/plots/funnel/geometries/dynamic-height.js +0 -124
- package/esm/plots/funnel/geometries/dynamic-height.js.map +0 -1
- package/esm/plots/funnel/geometries/facet.d.ts +0 -8
- package/esm/plots/funnel/geometries/facet.js +0 -50
- package/esm/plots/funnel/geometries/facet.js.map +0 -1
- package/esm/plots/funnel/index.d.ts +0 -38
- package/esm/plots/funnel/index.js +0 -73
- package/esm/plots/funnel/index.js.map +0 -1
- package/esm/plots/funnel/interactions/funnel-conversion-tag.d.ts +0 -9
- package/esm/plots/funnel/interactions/funnel-conversion-tag.js +0 -57
- package/esm/plots/funnel/interactions/funnel-conversion-tag.js.map +0 -1
- package/esm/plots/funnel/interactions/index.d.ts +0 -5
- package/esm/plots/funnel/interactions/index.js +0 -10
- package/esm/plots/funnel/interactions/index.js.map +0 -1
- package/esm/plots/funnel/types.d.ts +0 -70
- package/esm/plots/funnel/types.js +0 -2
- package/esm/plots/funnel/types.js.map +0 -1
- package/esm/plots/gauge/adaptor.d.ts +0 -17
- package/esm/plots/gauge/adaptor.js +0 -182
- package/esm/plots/gauge/adaptor.js.map +0 -1
- package/esm/plots/gauge/constants.d.ts +0 -67
- package/esm/plots/gauge/constants.js +0 -70
- package/esm/plots/gauge/constants.js.map +0 -1
- package/esm/plots/gauge/index.d.ts +0 -32
- package/esm/plots/gauge/index.js +0 -63
- package/esm/plots/gauge/index.js.map +0 -1
- package/esm/plots/gauge/shapes/indicator.d.ts +0 -1
- package/esm/plots/gauge/shapes/indicator.js +0 -30
- package/esm/plots/gauge/shapes/indicator.js.map +0 -1
- package/esm/plots/gauge/shapes/meter-gauge.d.ts +0 -1
- package/esm/plots/gauge/shapes/meter-gauge.js +0 -52
- package/esm/plots/gauge/shapes/meter-gauge.js.map +0 -1
- package/esm/plots/gauge/types.d.ts +0 -130
- package/esm/plots/gauge/types.js +0 -2
- package/esm/plots/gauge/types.js.map +0 -1
- package/esm/plots/gauge/utils.d.ts +0 -20
- package/esm/plots/gauge/utils.js +0 -38
- package/esm/plots/gauge/utils.js.map +0 -1
- package/esm/plots/heatmap/adaptor.d.ts +0 -8
- package/esm/plots/heatmap/adaptor.js +0 -163
- package/esm/plots/heatmap/adaptor.js.map +0 -1
- package/esm/plots/heatmap/constant.d.ts +0 -4
- package/esm/plots/heatmap/constant.js +0 -39
- package/esm/plots/heatmap/constant.js.map +0 -1
- package/esm/plots/heatmap/index.d.ts +0 -23
- package/esm/plots/heatmap/index.js +0 -38
- package/esm/plots/heatmap/index.js.map +0 -1
- package/esm/plots/heatmap/shapes/circle.d.ts +0 -1
- package/esm/plots/heatmap/shapes/circle.js +0 -23
- package/esm/plots/heatmap/shapes/circle.js.map +0 -1
- package/esm/plots/heatmap/shapes/square.d.ts +0 -1
- package/esm/plots/heatmap/shapes/square.js +0 -23
- package/esm/plots/heatmap/shapes/square.js.map +0 -1
- package/esm/plots/heatmap/types.d.ts +0 -63
- package/esm/plots/heatmap/types.js +0 -2
- package/esm/plots/heatmap/types.js.map +0 -1
- package/esm/plots/histogram/adaptor.d.ts +0 -8
- package/esm/plots/histogram/adaptor.js +0 -105
- package/esm/plots/histogram/adaptor.js.map +0 -1
- package/esm/plots/histogram/constant.d.ts +0 -8
- package/esm/plots/histogram/constant.js +0 -20
- package/esm/plots/histogram/constant.js.map +0 -1
- package/esm/plots/histogram/index.d.ts +0 -22
- package/esm/plots/histogram/index.js +0 -41
- package/esm/plots/histogram/index.js.map +0 -1
- package/esm/plots/histogram/types.d.ts +0 -27
- package/esm/plots/histogram/types.js +0 -2
- package/esm/plots/histogram/types.js.map +0 -1
- package/esm/plots/line/constants.d.ts +0 -4
- package/esm/plots/line/constants.js +0 -21
- package/esm/plots/line/constants.js.map +0 -1
- package/esm/plots/line/interactions/index.d.ts +0 -1
- package/esm/plots/line/interactions/index.js +0 -18
- package/esm/plots/line/interactions/index.js.map +0 -1
- package/esm/plots/line/interactions/marker-active.d.ts +0 -6
- package/esm/plots/line/interactions/marker-active.js +0 -39
- package/esm/plots/line/interactions/marker-active.js.map +0 -1
- package/esm/plots/line/types.d.ts +0 -58
- package/esm/plots/line/types.js +0 -2
- package/esm/plots/line/types.js.map +0 -1
- package/esm/plots/liquid/adaptor.d.ts +0 -13
- package/esm/plots/liquid/adaptor.js +0 -88
- package/esm/plots/liquid/adaptor.js.map +0 -1
- package/esm/plots/liquid/constants.d.ts +0 -26
- package/esm/plots/liquid/constants.js +0 -27
- package/esm/plots/liquid/constants.js.map +0 -1
- package/esm/plots/liquid/index.d.ts +0 -31
- package/esm/plots/liquid/index.js +0 -54
- package/esm/plots/liquid/index.js.map +0 -1
- package/esm/plots/liquid/shapes/liquid.d.ts +0 -16
- package/esm/plots/liquid/shapes/liquid.js +0 -368
- package/esm/plots/liquid/shapes/liquid.js.map +0 -1
- package/esm/plots/liquid/types.d.ts +0 -93
- package/esm/plots/liquid/types.js +0 -2
- package/esm/plots/liquid/types.js.map +0 -1
- package/esm/plots/liquid/utils.d.ts +0 -7
- package/esm/plots/liquid/utils.js +0 -8
- package/esm/plots/liquid/utils.js.map +0 -1
- package/esm/plots/mix/adaptor.d.ts +0 -13
- package/esm/plots/mix/adaptor.js +0 -142
- package/esm/plots/mix/adaptor.js.map +0 -1
- package/esm/plots/mix/index.d.ts +0 -24
- package/esm/plots/mix/index.js +0 -33
- package/esm/plots/mix/index.js.map +0 -1
- package/esm/plots/mix/interactions/association.d.ts +0 -1
- package/esm/plots/mix/interactions/association.js +0 -169
- package/esm/plots/mix/interactions/association.js.map +0 -1
- package/esm/plots/mix/interactions/index.d.ts +0 -4
- package/esm/plots/mix/interactions/index.js +0 -5
- package/esm/plots/mix/interactions/index.js.map +0 -1
- package/esm/plots/mix/interactions/utils.d.ts +0 -14
- package/esm/plots/mix/interactions/utils.js +0 -40
- package/esm/plots/mix/interactions/utils.js.map +0 -1
- package/esm/plots/mix/types.d.ts +0 -125
- package/esm/plots/mix/types.js +0 -2
- package/esm/plots/mix/types.js.map +0 -1
- package/esm/plots/mix/utils.d.ts +0 -82
- package/esm/plots/mix/utils.js +0 -98
- package/esm/plots/mix/utils.js.map +0 -1
- package/esm/plots/pie/adaptor.d.ts +0 -24
- package/esm/plots/pie/adaptor.js +0 -288
- package/esm/plots/pie/adaptor.js.map +0 -1
- package/esm/plots/pie/contants.d.ts +0 -4
- package/esm/plots/pie/contants.js +0 -50
- package/esm/plots/pie/contants.js.map +0 -1
- package/esm/plots/pie/index.d.ts +0 -27
- package/esm/plots/pie/index.js +0 -62
- package/esm/plots/pie/index.js.map +0 -1
- package/esm/plots/pie/interactions/actions/legend-active.d.ts +0 -20
- package/esm/plots/pie/interactions/actions/legend-active.js +0 -68
- package/esm/plots/pie/interactions/actions/legend-active.js.map +0 -1
- package/esm/plots/pie/interactions/actions/statistic-active.d.ts +0 -13
- package/esm/plots/pie/interactions/actions/statistic-active.js +0 -79
- package/esm/plots/pie/interactions/actions/statistic-active.js.map +0 -1
- package/esm/plots/pie/interactions/index.d.ts +0 -1
- package/esm/plots/pie/interactions/index.js +0 -15
- package/esm/plots/pie/interactions/index.js.map +0 -1
- package/esm/plots/pie/interactions/util.d.ts +0 -7
- package/esm/plots/pie/interactions/util.js +0 -15
- package/esm/plots/pie/interactions/util.js.map +0 -1
- package/esm/plots/pie/types.d.ts +0 -51
- package/esm/plots/pie/types.js +0 -2
- package/esm/plots/pie/types.js.map +0 -1
- package/esm/plots/pie/utils.d.ts +0 -18
- package/esm/plots/pie/utils.js +0 -47
- package/esm/plots/pie/utils.js.map +0 -1
- package/esm/plots/progress/adaptor.d.ts +0 -13
- package/esm/plots/progress/adaptor.js +0 -56
- package/esm/plots/progress/adaptor.js.map +0 -1
- package/esm/plots/progress/constants.d.ts +0 -9
- package/esm/plots/progress/constants.js +0 -10
- package/esm/plots/progress/constants.js.map +0 -1
- package/esm/plots/progress/index.d.ts +0 -23
- package/esm/plots/progress/index.js +0 -41
- package/esm/plots/progress/index.js.map +0 -1
- package/esm/plots/progress/types.d.ts +0 -21
- package/esm/plots/progress/types.js +0 -2
- package/esm/plots/progress/types.js.map +0 -1
- package/esm/plots/progress/utils.d.ts +0 -8
- package/esm/plots/progress/utils.js +0 -22
- package/esm/plots/progress/utils.js.map +0 -1
- package/esm/plots/radar/adaptor.d.ts +0 -8
- package/esm/plots/radar/adaptor.js +0 -110
- package/esm/plots/radar/adaptor.js.map +0 -1
- package/esm/plots/radar/index.d.ts +0 -22
- package/esm/plots/radar/index.js +0 -73
- package/esm/plots/radar/index.js.map +0 -1
- package/esm/plots/radar/interactions/index.d.ts +0 -1
- package/esm/plots/radar/interactions/index.js +0 -8
- package/esm/plots/radar/interactions/index.js.map +0 -1
- package/esm/plots/radar/interactions/radar-tooltip-action.d.ts +0 -15
- package/esm/plots/radar/interactions/radar-tooltip-action.js +0 -74
- package/esm/plots/radar/interactions/radar-tooltip-action.js.map +0 -1
- package/esm/plots/radar/types.d.ts +0 -55
- package/esm/plots/radar/types.js +0 -2
- package/esm/plots/radar/types.js.map +0 -1
- package/esm/plots/radial-bar/adaptor.d.ts +0 -18
- package/esm/plots/radial-bar/adaptor.js +0 -118
- package/esm/plots/radial-bar/adaptor.js.map +0 -1
- package/esm/plots/radial-bar/constant.d.ts +0 -4
- package/esm/plots/radial-bar/constant.js +0 -19
- package/esm/plots/radial-bar/constant.js.map +0 -1
- package/esm/plots/radial-bar/index.d.ts +0 -25
- package/esm/plots/radial-bar/index.js +0 -44
- package/esm/plots/radial-bar/index.js.map +0 -1
- package/esm/plots/radial-bar/types.d.ts +0 -63
- package/esm/plots/radial-bar/types.js +0 -2
- package/esm/plots/radial-bar/types.js.map +0 -1
- package/esm/plots/radial-bar/utils.d.ts +0 -6
- package/esm/plots/radial-bar/utils.js +0 -27
- package/esm/plots/radial-bar/utils.js.map +0 -1
- package/esm/plots/ring-progress/adaptor.d.ts +0 -13
- package/esm/plots/ring-progress/adaptor.js +0 -53
- package/esm/plots/ring-progress/adaptor.js.map +0 -1
- package/esm/plots/ring-progress/constants.d.ts +0 -22
- package/esm/plots/ring-progress/constants.js +0 -23
- package/esm/plots/ring-progress/constants.js.map +0 -1
- package/esm/plots/ring-progress/index.d.ts +0 -23
- package/esm/plots/ring-progress/index.js +0 -46
- package/esm/plots/ring-progress/index.js.map +0 -1
- package/esm/plots/ring-progress/types.d.ts +0 -28
- package/esm/plots/ring-progress/types.js +0 -2
- package/esm/plots/ring-progress/types.js.map +0 -1
- package/esm/plots/rose/adaptor.d.ts +0 -13
- package/esm/plots/rose/adaptor.js +0 -139
- package/esm/plots/rose/adaptor.js.map +0 -1
- package/esm/plots/rose/constant.d.ts +0 -4
- package/esm/plots/rose/constant.js +0 -28
- package/esm/plots/rose/constant.js.map +0 -1
- package/esm/plots/rose/index.d.ts +0 -26
- package/esm/plots/rose/index.js +0 -43
- package/esm/plots/rose/index.js.map +0 -1
- package/esm/plots/rose/types.d.ts +0 -55
- package/esm/plots/rose/types.js +0 -2
- package/esm/plots/rose/types.js.map +0 -1
- package/esm/plots/sankey/adaptor.d.ts +0 -18
- package/esm/plots/sankey/adaptor.js +0 -156
- package/esm/plots/sankey/adaptor.js.map +0 -1
- package/esm/plots/sankey/circle.d.ts +0 -16
- package/esm/plots/sankey/circle.js +0 -93
- package/esm/plots/sankey/circle.js.map +0 -1
- package/esm/plots/sankey/constant.d.ts +0 -5
- package/esm/plots/sankey/constant.js +0 -6
- package/esm/plots/sankey/constant.js.map +0 -1
- package/esm/plots/sankey/helper.d.ts +0 -20
- package/esm/plots/sankey/helper.js +0 -53
- package/esm/plots/sankey/helper.js.map +0 -1
- package/esm/plots/sankey/index.d.ts +0 -27
- package/esm/plots/sankey/index.js +0 -118
- package/esm/plots/sankey/index.js.map +0 -1
- package/esm/plots/sankey/interactions/actions/node-drag.d.ts +0 -46
- package/esm/plots/sankey/interactions/actions/node-drag.js +0 -137
- package/esm/plots/sankey/interactions/actions/node-drag.js.map +0 -1
- package/esm/plots/sankey/interactions/index.d.ts +0 -1
- package/esm/plots/sankey/interactions/index.js +0 -2
- package/esm/plots/sankey/interactions/index.js.map +0 -1
- package/esm/plots/sankey/interactions/node-draggable.d.ts +0 -1
- package/esm/plots/sankey/interactions/node-draggable.js +0 -16
- package/esm/plots/sankey/interactions/node-draggable.js.map +0 -1
- package/esm/plots/sankey/layout.d.ts +0 -86
- package/esm/plots/sankey/layout.js +0 -87
- package/esm/plots/sankey/layout.js.map +0 -1
- package/esm/plots/sankey/sankey/align.d.ts +0 -4
- package/esm/plots/sankey/sankey/align.js +0 -17
- package/esm/plots/sankey/sankey/align.js.map +0 -1
- package/esm/plots/sankey/sankey/helper.d.ts +0 -14
- package/esm/plots/sankey/sankey/helper.js +0 -37
- package/esm/plots/sankey/sankey/helper.js.map +0 -1
- package/esm/plots/sankey/sankey/index.d.ts +0 -11
- package/esm/plots/sankey/sankey/index.js +0 -12
- package/esm/plots/sankey/sankey/index.js.map +0 -1
- package/esm/plots/sankey/sankey/sankey.d.ts +0 -24
- package/esm/plots/sankey/sankey/sankey.js +0 -401
- package/esm/plots/sankey/sankey/sankey.js.map +0 -1
- package/esm/plots/sankey/types.d.ts +0 -143
- package/esm/plots/sankey/types.js +0 -2
- package/esm/plots/sankey/types.js.map +0 -1
- package/esm/plots/scatter/adaptor.d.ts +0 -25
- package/esm/plots/scatter/adaptor.js +0 -269
- package/esm/plots/scatter/adaptor.js.map +0 -1
- package/esm/plots/scatter/constant.d.ts +0 -4
- package/esm/plots/scatter/constant.js +0 -17
- package/esm/plots/scatter/constant.js.map +0 -1
- package/esm/plots/scatter/index.d.ts +0 -25
- package/esm/plots/scatter/index.js +0 -58
- package/esm/plots/scatter/index.js.map +0 -1
- package/esm/plots/scatter/interactions/index.d.ts +0 -1
- package/esm/plots/scatter/interactions/index.js +0 -2
- package/esm/plots/scatter/interactions/index.js.map +0 -1
- package/esm/plots/scatter/types.d.ts +0 -125
- package/esm/plots/scatter/types.js +0 -2
- package/esm/plots/scatter/types.js.map +0 -1
- package/esm/plots/scatter/util.d.ts +0 -36
- package/esm/plots/scatter/util.js +0 -231
- package/esm/plots/scatter/util.js.map +0 -1
- package/esm/plots/stock/adaptor.d.ts +0 -28
- package/esm/plots/stock/adaptor.js +0 -120
- package/esm/plots/stock/adaptor.js.map +0 -1
- package/esm/plots/stock/constant.d.ts +0 -31
- package/esm/plots/stock/constant.js +0 -54
- package/esm/plots/stock/constant.js.map +0 -1
- package/esm/plots/stock/index.d.ts +0 -27
- package/esm/plots/stock/index.js +0 -46
- package/esm/plots/stock/index.js.map +0 -1
- package/esm/plots/stock/types.d.ts +0 -28
- package/esm/plots/stock/types.js +0 -2
- package/esm/plots/stock/types.js.map +0 -1
- package/esm/plots/stock/utils.d.ts +0 -8
- package/esm/plots/stock/utils.js +0 -20
- package/esm/plots/stock/utils.js.map +0 -1
- package/esm/plots/sunburst/adaptor.d.ts +0 -23
- package/esm/plots/sunburst/adaptor.js +0 -176
- package/esm/plots/sunburst/adaptor.js.map +0 -1
- package/esm/plots/sunburst/constant.d.ts +0 -13
- package/esm/plots/sunburst/constant.js +0 -47
- package/esm/plots/sunburst/constant.js.map +0 -1
- package/esm/plots/sunburst/index.d.ts +0 -28
- package/esm/plots/sunburst/index.js +0 -43
- package/esm/plots/sunburst/index.js.map +0 -1
- package/esm/plots/sunburst/interactions/index.d.ts +0 -2
- package/esm/plots/sunburst/interactions/index.js +0 -3
- package/esm/plots/sunburst/interactions/index.js.map +0 -1
- package/esm/plots/sunburst/types.d.ts +0 -66
- package/esm/plots/sunburst/types.js +0 -2
- package/esm/plots/sunburst/types.js.map +0 -1
- package/esm/plots/sunburst/utils.d.ts +0 -6
- package/esm/plots/sunburst/utils.js +0 -56
- package/esm/plots/sunburst/utils.js.map +0 -1
- package/esm/plots/tiny-area/adaptor.d.ts +0 -13
- package/esm/plots/tiny-area/adaptor.js +0 -63
- package/esm/plots/tiny-area/adaptor.js.map +0 -1
- package/esm/plots/tiny-area/constants.d.ts +0 -33
- package/esm/plots/tiny-area/constants.js +0 -20
- package/esm/plots/tiny-area/constants.js.map +0 -1
- package/esm/plots/tiny-area/index.d.ts +0 -23
- package/esm/plots/tiny-area/index.js +0 -43
- package/esm/plots/tiny-area/index.js.map +0 -1
- package/esm/plots/tiny-area/types.d.ts +0 -27
- package/esm/plots/tiny-area/types.js +0 -2
- package/esm/plots/tiny-area/types.js.map +0 -1
- package/esm/plots/tiny-column/adaptor.d.ts +0 -10
- package/esm/plots/tiny-column/adaptor.js +0 -42
- package/esm/plots/tiny-column/adaptor.js.map +0 -1
- package/esm/plots/tiny-column/constants.d.ts +0 -35
- package/esm/plots/tiny-column/constants.js +0 -25
- package/esm/plots/tiny-column/constants.js.map +0 -1
- package/esm/plots/tiny-column/index.d.ts +0 -23
- package/esm/plots/tiny-column/index.js +0 -43
- package/esm/plots/tiny-column/index.js.map +0 -1
- package/esm/plots/tiny-column/types.d.ts +0 -17
- package/esm/plots/tiny-column/types.js +0 -2
- package/esm/plots/tiny-column/types.js.map +0 -1
- package/esm/plots/tiny-line/adaptor.d.ts +0 -10
- package/esm/plots/tiny-line/adaptor.js +0 -45
- package/esm/plots/tiny-line/adaptor.js.map +0 -1
- package/esm/plots/tiny-line/constants.d.ts +0 -45
- package/esm/plots/tiny-line/constants.js +0 -31
- package/esm/plots/tiny-line/constants.js.map +0 -1
- package/esm/plots/tiny-line/index.d.ts +0 -23
- package/esm/plots/tiny-line/index.js +0 -43
- package/esm/plots/tiny-line/index.js.map +0 -1
- package/esm/plots/tiny-line/types.d.ts +0 -28
- package/esm/plots/tiny-line/types.js +0 -2
- package/esm/plots/tiny-line/types.js.map +0 -1
- package/esm/plots/tiny-line/utils.d.ts +0 -4
- package/esm/plots/tiny-line/utils.js +0 -5
- package/esm/plots/tiny-line/utils.js.map +0 -1
- package/esm/plots/treemap/adaptor.d.ts +0 -13
- package/esm/plots/treemap/adaptor.js +0 -128
- package/esm/plots/treemap/adaptor.js.map +0 -1
- package/esm/plots/treemap/constant.d.ts +0 -36
- package/esm/plots/treemap/constant.js +0 -39
- package/esm/plots/treemap/constant.js.map +0 -1
- package/esm/plots/treemap/index.d.ts +0 -23
- package/esm/plots/treemap/index.js +0 -49
- package/esm/plots/treemap/index.js.map +0 -1
- package/esm/plots/treemap/interactions/index.d.ts +0 -4
- package/esm/plots/treemap/interactions/index.js +0 -5
- package/esm/plots/treemap/interactions/index.js.map +0 -1
- package/esm/plots/treemap/types.d.ts +0 -30
- package/esm/plots/treemap/types.js +0 -2
- package/esm/plots/treemap/types.js.map +0 -1
- package/esm/plots/treemap/utils.d.ts +0 -21
- package/esm/plots/treemap/utils.js +0 -72
- package/esm/plots/treemap/utils.js.map +0 -1
- package/esm/plots/venn/adaptor.d.ts +0 -23
- package/esm/plots/venn/adaptor.js +0 -215
- package/esm/plots/venn/adaptor.js.map +0 -1
- package/esm/plots/venn/constant.d.ts +0 -7
- package/esm/plots/venn/constant.js +0 -49
- package/esm/plots/venn/constant.js.map +0 -1
- package/esm/plots/venn/index.d.ts +0 -24
- package/esm/plots/venn/index.js +0 -47
- package/esm/plots/venn/index.js.map +0 -1
- package/esm/plots/venn/interactions/actions/active.d.ts +0 -14
- package/esm/plots/venn/interactions/actions/active.js +0 -34
- package/esm/plots/venn/interactions/actions/active.js.map +0 -1
- package/esm/plots/venn/interactions/actions/highlight.d.ts +0 -16
- package/esm/plots/venn/interactions/actions/highlight.js +0 -39
- package/esm/plots/venn/interactions/actions/highlight.js.map +0 -1
- package/esm/plots/venn/interactions/actions/selected.d.ts +0 -33
- package/esm/plots/venn/interactions/actions/selected.js +0 -70
- package/esm/plots/venn/interactions/actions/selected.js.map +0 -1
- package/esm/plots/venn/interactions/index.d.ts +0 -1
- package/esm/plots/venn/interactions/index.js +0 -48
- package/esm/plots/venn/interactions/index.js.map +0 -1
- package/esm/plots/venn/interactions/util.d.ts +0 -3
- package/esm/plots/venn/interactions/util.js +0 -11
- package/esm/plots/venn/interactions/util.js.map +0 -1
- package/esm/plots/venn/label.d.ts +0 -1
- package/esm/plots/venn/label.js +0 -31
- package/esm/plots/venn/label.js.map +0 -1
- package/esm/plots/venn/layout/circleintersection.d.ts +0 -29
- package/esm/plots/venn/layout/circleintersection.js +0 -186
- package/esm/plots/venn/layout/circleintersection.js.map +0 -1
- package/esm/plots/venn/layout/diagram.d.ts +0 -17
- package/esm/plots/venn/layout/diagram.js +0 -193
- package/esm/plots/venn/layout/diagram.js.map +0 -1
- package/esm/plots/venn/layout/layout.d.ts +0 -27
- package/esm/plots/venn/layout/layout.js +0 -594
- package/esm/plots/venn/layout/layout.js.map +0 -1
- package/esm/plots/venn/shape.d.ts +0 -1
- package/esm/plots/venn/shape.js +0 -42
- package/esm/plots/venn/shape.js.map +0 -1
- package/esm/plots/venn/types.d.ts +0 -41
- package/esm/plots/venn/types.js +0 -2
- package/esm/plots/venn/types.js.map +0 -1
- package/esm/plots/venn/utils.d.ts +0 -27
- package/esm/plots/venn/utils.js +0 -92
- package/esm/plots/venn/utils.js.map +0 -1
- package/esm/plots/violin/adaptor.d.ts +0 -12
- package/esm/plots/violin/adaptor.js +0 -228
- package/esm/plots/violin/adaptor.js.map +0 -1
- package/esm/plots/violin/constant.d.ts +0 -11
- package/esm/plots/violin/constant.js +0 -58
- package/esm/plots/violin/constant.js.map +0 -1
- package/esm/plots/violin/index.d.ts +0 -25
- package/esm/plots/violin/index.js +0 -43
- package/esm/plots/violin/index.js.map +0 -1
- package/esm/plots/violin/types.d.ts +0 -72
- package/esm/plots/violin/types.js +0 -2
- package/esm/plots/violin/types.js.map +0 -1
- package/esm/plots/violin/utils.d.ts +0 -43
- package/esm/plots/violin/utils.js +0 -55
- package/esm/plots/violin/utils.js.map +0 -1
- package/esm/plots/waterfall/adaptor.d.ts +0 -13
- package/esm/plots/waterfall/adaptor.js +0 -192
- package/esm/plots/waterfall/adaptor.js.map +0 -1
- package/esm/plots/waterfall/constant.d.ts +0 -42
- package/esm/plots/waterfall/constant.js +0 -41
- package/esm/plots/waterfall/constant.js.map +0 -1
- package/esm/plots/waterfall/index.d.ts +0 -29
- package/esm/plots/waterfall/index.js +0 -48
- package/esm/plots/waterfall/index.js.map +0 -1
- package/esm/plots/waterfall/shape.d.ts +0 -1
- package/esm/plots/waterfall/shape.js +0 -58
- package/esm/plots/waterfall/shape.js.map +0 -1
- package/esm/plots/waterfall/types.d.ts +0 -70
- package/esm/plots/waterfall/types.js +0 -2
- package/esm/plots/waterfall/types.js.map +0 -1
- package/esm/plots/waterfall/utils.d.ts +0 -17
- package/esm/plots/waterfall/utils.js +0 -47
- package/esm/plots/waterfall/utils.js.map +0 -1
- package/esm/plots/word-cloud/adaptor.d.ts +0 -13
- package/esm/plots/word-cloud/adaptor.js +0 -69
- package/esm/plots/word-cloud/adaptor.js.map +0 -1
- package/esm/plots/word-cloud/constant.d.ts +0 -6
- package/esm/plots/word-cloud/constant.js +0 -30
- package/esm/plots/word-cloud/constant.js.map +0 -1
- package/esm/plots/word-cloud/index.d.ts +0 -35
- package/esm/plots/word-cloud/index.js +0 -91
- package/esm/plots/word-cloud/index.js.map +0 -1
- package/esm/plots/word-cloud/shapes/word-cloud.d.ts +0 -1
- package/esm/plots/word-cloud/shapes/word-cloud.js +0 -28
- package/esm/plots/word-cloud/shapes/word-cloud.js.map +0 -1
- package/esm/plots/word-cloud/types.d.ts +0 -149
- package/esm/plots/word-cloud/types.js +0 -2
- package/esm/plots/word-cloud/types.js.map +0 -1
- package/esm/plots/word-cloud/utils.d.ts +0 -34
- package/esm/plots/word-cloud/utils.js +0 -218
- package/esm/plots/word-cloud/utils.js.map +0 -1
- package/esm/plugin/index.d.ts +0 -48
- package/esm/plugin/index.js +0 -58
- package/esm/plugin/index.js.map +0 -1
- package/esm/types/animation.d.ts +0 -2
- package/esm/types/animation.js +0 -2
- package/esm/types/animation.js.map +0 -1
- package/esm/types/annotation.d.ts +0 -6
- package/esm/types/annotation.js +0 -2
- package/esm/types/annotation.js.map +0 -1
- package/esm/types/attr.d.ts +0 -20
- package/esm/types/attr.js +0 -2
- package/esm/types/attr.js.map +0 -1
- package/esm/types/axis.d.ts +0 -3
- package/esm/types/axis.js +0 -2
- package/esm/types/axis.js.map +0 -1
- package/esm/types/button.d.ts +0 -33
- package/esm/types/button.js +0 -2
- package/esm/types/button.js.map +0 -1
- package/esm/types/coordinate.d.ts +0 -13
- package/esm/types/coordinate.js +0 -2
- package/esm/types/coordinate.js.map +0 -1
- package/esm/types/drill-down.d.ts +0 -39
- package/esm/types/drill-down.js +0 -2
- package/esm/types/drill-down.js.map +0 -1
- package/esm/types/interaction.d.ts +0 -49
- package/esm/types/interaction.js +0 -2
- package/esm/types/interaction.js.map +0 -1
- package/esm/types/label.d.ts +0 -17
- package/esm/types/label.js +0 -2
- package/esm/types/label.js.map +0 -1
- package/esm/types/legend.d.ts +0 -2
- package/esm/types/legend.js +0 -2
- package/esm/types/legend.js.map +0 -1
- package/esm/types/locale.d.ts +0 -24
- package/esm/types/locale.js +0 -2
- package/esm/types/locale.js.map +0 -1
- package/esm/types/meta.d.ts +0 -14
- package/esm/types/meta.js +0 -2
- package/esm/types/meta.js.map +0 -1
- package/esm/types/pattern.d.ts +0 -87
- package/esm/types/pattern.js +0 -2
- package/esm/types/pattern.js.map +0 -1
- package/esm/types/relation-data.d.ts +0 -16
- package/esm/types/relation-data.js +0 -2
- package/esm/types/relation-data.js.map +0 -1
- package/esm/types/scrollbar.d.ts +0 -2
- package/esm/types/scrollbar.js +0 -2
- package/esm/types/scrollbar.js.map +0 -1
- package/esm/types/slider.d.ts +0 -2
- package/esm/types/slider.js +0 -2
- package/esm/types/slider.js.map +0 -1
- package/esm/types/state.d.ts +0 -22
- package/esm/types/state.js +0 -2
- package/esm/types/state.js.map +0 -1
- package/esm/types/statistic.d.ts +0 -64
- package/esm/types/statistic.js +0 -2
- package/esm/types/statistic.js.map +0 -1
- package/esm/types/tooltip.d.ts +0 -15
- package/esm/types/tooltip.js +0 -2
- package/esm/types/tooltip.js.map +0 -1
- package/esm/utils/color/blend.d.ts +0 -20
- package/esm/utils/color/blend.js +0 -92
- package/esm/utils/color/blend.js.map +0 -1
- package/esm/utils/context.d.ts +0 -4
- package/esm/utils/context.js +0 -11
- package/esm/utils/context.js.map +0 -1
- package/esm/utils/conversion.d.ts +0 -6
- package/esm/utils/conversion.js +0 -23
- package/esm/utils/conversion.js.map +0 -1
- package/esm/utils/data.d.ts +0 -23
- package/esm/utils/data.js +0 -89
- package/esm/utils/data.js.map +0 -1
- package/esm/utils/deep-assign.d.ts +0 -6
- package/esm/utils/deep-assign.js +0 -86
- package/esm/utils/deep-assign.js.map +0 -1
- package/esm/utils/dom.d.ts +0 -7
- package/esm/utils/dom.js +0 -20
- package/esm/utils/dom.js.map +0 -1
- package/esm/utils/flow.d.ts +0 -7
- package/esm/utils/flow.js +0 -16
- package/esm/utils/flow.js.map +0 -1
- package/esm/utils/geometry.d.ts +0 -19
- package/esm/utils/geometry.js +0 -40
- package/esm/utils/geometry.js.map +0 -1
- package/esm/utils/hierarchy/pack.d.ts +0 -6
- package/esm/utils/hierarchy/pack.js +0 -40
- package/esm/utils/hierarchy/pack.js.map +0 -1
- package/esm/utils/hierarchy/partition.d.ts +0 -11
- package/esm/utils/hierarchy/partition.js +0 -71
- package/esm/utils/hierarchy/partition.js.map +0 -1
- package/esm/utils/hierarchy/treemap.d.ts +0 -3
- package/esm/utils/hierarchy/treemap.js +0 -86
- package/esm/utils/hierarchy/treemap.js.map +0 -1
- package/esm/utils/hierarchy/types.d.ts +0 -20
- package/esm/utils/hierarchy/types.js +0 -2
- package/esm/utils/hierarchy/types.js.map +0 -1
- package/esm/utils/hierarchy/util.d.ts +0 -14
- package/esm/utils/hierarchy/util.js +0 -64
- package/esm/utils/hierarchy/util.js.map +0 -1
- package/esm/utils/invariant.d.ts +0 -23
- package/esm/utils/invariant.js +0 -59
- package/esm/utils/invariant.js.map +0 -1
- package/esm/utils/kebab-case.d.ts +0 -6
- package/esm/utils/kebab-case.js +0 -13
- package/esm/utils/kebab-case.js.map +0 -1
- package/esm/utils/label.d.ts +0 -5
- package/esm/utils/label.js +0 -17
- package/esm/utils/label.js.map +0 -1
- package/esm/utils/matrix.d.ts +0 -6
- package/esm/utils/matrix.js +0 -13
- package/esm/utils/matrix.js.map +0 -1
- package/esm/utils/measure-text.d.ts +0 -9
- package/esm/utils/measure-text.js +0 -21
- package/esm/utils/measure-text.js.map +0 -1
- package/esm/utils/number.d.ts +0 -14
- package/esm/utils/number.js +0 -21
- package/esm/utils/number.js.map +0 -1
- package/esm/utils/padding.d.ts +0 -15
- package/esm/utils/padding.js +0 -66
- package/esm/utils/padding.js.map +0 -1
- package/esm/utils/path.d.ts +0 -17
- package/esm/utils/path.js +0 -141
- package/esm/utils/path.js.map +0 -1
- package/esm/utils/pattern/dot.d.ts +0 -32
- package/esm/utils/pattern/dot.js +0 -69
- package/esm/utils/pattern/dot.js.map +0 -1
- package/esm/utils/pattern/index.d.ts +0 -17
- package/esm/utils/pattern/index.js +0 -27
- package/esm/utils/pattern/index.js.map +0 -1
- package/esm/utils/pattern/line.d.ts +0 -25
- package/esm/utils/pattern/line.js +0 -56
- package/esm/utils/pattern/line.js.map +0 -1
- package/esm/utils/pattern/square.d.ts +0 -28
- package/esm/utils/pattern/square.js +0 -61
- package/esm/utils/pattern/square.js.map +0 -1
- package/esm/utils/pattern/util.d.ts +0 -50
- package/esm/utils/pattern/util.js +0 -90
- package/esm/utils/pattern/util.js.map +0 -1
- package/esm/utils/pick.d.ts +0 -6
- package/esm/utils/pick.js +0 -18
- package/esm/utils/pick.js.map +0 -1
- package/esm/utils/statistic.d.ts +0 -36
- package/esm/utils/statistic.js +0 -158
- package/esm/utils/statistic.js.map +0 -1
- package/esm/utils/template.d.ts +0 -7
- package/esm/utils/template.js +0 -16
- package/esm/utils/template.js.map +0 -1
- package/esm/utils/tooltip.d.ts +0 -7
- package/esm/utils/tooltip.js +0 -23
- package/esm/utils/tooltip.js.map +0 -1
- package/esm/utils/transform/chord.d.ts +0 -34
- package/esm/utils/transform/chord.js +0 -182
- package/esm/utils/transform/chord.js.map +0 -1
- package/esm/utils/transform/histogram.d.ts +0 -15
- package/esm/utils/transform/histogram.js +0 -78
- package/esm/utils/transform/histogram.js.map +0 -1
- package/esm/utils/transform/percent.d.ts +0 -26
- package/esm/utils/transform/percent.js +0 -64
- package/esm/utils/transform/percent.js.map +0 -1
- package/esm/utils/transform/quantile.d.ts +0 -62
- package/esm/utils/transform/quantile.js +0 -194
- package/esm/utils/transform/quantile.js.map +0 -1
- package/esm/utils/transform/sankey.d.ts +0 -0
- package/esm/utils/transform/sankey.js +0 -1
- package/esm/utils/transform/sankey.js.map +0 -1
- package/esm/utils/transform/word-cloud.d.ts +0 -30
- package/esm/utils/transform/word-cloud.js +0 -419
- package/esm/utils/transform/word-cloud.js.map +0 -1
- package/esm/utils/view.d.ts +0 -28
- package/esm/utils/view.js +0 -55
- package/esm/utils/view.js.map +0 -1
- package/lib/adaptor/brush.d.ts +0 -12
- package/lib/adaptor/brush.js +0 -52
- package/lib/adaptor/brush.js.map +0 -1
- package/lib/adaptor/common.d.ts +0 -72
- package/lib/adaptor/common.js +0 -203
- package/lib/adaptor/common.js.map +0 -1
- package/lib/adaptor/connected-area.d.ts +0 -17
- package/lib/adaptor/connected-area.js +0 -80
- package/lib/adaptor/connected-area.js.map +0 -1
- package/lib/adaptor/conversion-tag.d.ts +0 -38
- package/lib/adaptor/conversion-tag.js +0 -182
- package/lib/adaptor/conversion-tag.js.map +0 -1
- package/lib/adaptor/geometries/area.d.ts +0 -19
- package/lib/adaptor/geometries/area.js +0 -33
- package/lib/adaptor/geometries/area.js.map +0 -1
- package/lib/adaptor/geometries/base.d.ts +0 -77
- package/lib/adaptor/geometries/base.js +0 -201
- package/lib/adaptor/geometries/base.js.map +0 -1
- package/lib/adaptor/geometries/edge.d.ts +0 -17
- package/lib/adaptor/geometries/edge.js +0 -29
- package/lib/adaptor/geometries/edge.js.map +0 -1
- package/lib/adaptor/geometries/index.d.ts +0 -17
- package/lib/adaptor/geometries/index.js +0 -20
- package/lib/adaptor/geometries/index.js.map +0 -1
- package/lib/adaptor/geometries/interval.d.ts +0 -36
- package/lib/adaptor/geometries/interval.js +0 -77
- package/lib/adaptor/geometries/interval.js.map +0 -1
- package/lib/adaptor/geometries/line.d.ts +0 -23
- package/lib/adaptor/geometries/line.js +0 -33
- package/lib/adaptor/geometries/line.js.map +0 -1
- package/lib/adaptor/geometries/point.d.ts +0 -21
- package/lib/adaptor/geometries/point.js +0 -30
- package/lib/adaptor/geometries/point.js.map +0 -1
- package/lib/adaptor/geometries/polygon.d.ts +0 -17
- package/lib/adaptor/geometries/polygon.js +0 -29
- package/lib/adaptor/geometries/polygon.js.map +0 -1
- package/lib/adaptor/geometries/schema.d.ts +0 -17
- package/lib/adaptor/geometries/schema.js +0 -29
- package/lib/adaptor/geometries/schema.js.map +0 -1
- package/lib/adaptor/geometries/violin.d.ts +0 -19
- package/lib/adaptor/geometries/violin.js +0 -28
- package/lib/adaptor/geometries/violin.js.map +0 -1
- package/lib/adaptor/pattern.d.ts +0 -15
- package/lib/adaptor/pattern.js +0 -58
- package/lib/adaptor/pattern.js.map +0 -1
- package/lib/constant.d.ts +0 -4
- package/lib/constant.js +0 -29
- package/lib/constant.js.map +0 -1
- package/lib/core/adaptor.d.ts +0 -15
- package/lib/core/adaptor.js +0 -3
- package/lib/core/adaptor.js.map +0 -1
- package/lib/core/global.d.ts +0 -13
- package/lib/core/global.js +0 -21
- package/lib/core/global.js.map +0 -1
- package/lib/core/locale.d.ts +0 -15
- package/lib/core/locale.js +0 -30
- package/lib/core/locale.js.map +0 -1
- package/lib/interactions/actions/drill-down.d.ts +0 -99
- package/lib/interactions/actions/drill-down.js +0 -255
- package/lib/interactions/actions/drill-down.js.map +0 -1
- package/lib/interactions/actions/reset-button.d.ts +0 -42
- package/lib/interactions/actions/reset-button.js +0 -147
- package/lib/interactions/actions/reset-button.js.map +0 -1
- package/lib/interactions/brush.d.ts +0 -91
- package/lib/interactions/brush.js +0 -309
- package/lib/interactions/brush.js.map +0 -1
- package/lib/interactions/drag-move.d.ts +0 -1
- package/lib/interactions/drag-move.js +0 -15
- package/lib/interactions/drag-move.js.map +0 -1
- package/lib/interactions/drill-down.d.ts +0 -4
- package/lib/interactions/drill-down.js +0 -56
- package/lib/interactions/drill-down.js.map +0 -1
- package/lib/lab.d.ts +0 -18
- package/lib/lab.js +0 -43
- package/lib/lab.js.map +0 -1
- package/lib/locales/en_US.d.ts +0 -2
- package/lib/locales/en_US.js +0 -30
- package/lib/locales/en_US.js.map +0 -1
- package/lib/locales/zh_CN.d.ts +0 -2
- package/lib/locales/zh_CN.js +0 -30
- package/lib/locales/zh_CN.js.map +0 -1
- package/lib/plots/_template/adaptor.d.ts +0 -13
- package/lib/plots/_template/adaptor.js +0 -43
- package/lib/plots/_template/adaptor.js.map +0 -1
- package/lib/plots/_template/constant.d.ts +0 -0
- package/lib/plots/_template/constant.js +0 -1
- package/lib/plots/_template/constant.js.map +0 -1
- package/lib/plots/_template/index.d.ts +0 -15
- package/lib/plots/_template/index.js +0 -27
- package/lib/plots/_template/index.js.map +0 -1
- package/lib/plots/_template/types.d.ts +0 -8
- package/lib/plots/_template/types.js +0 -3
- package/lib/plots/_template/types.js.map +0 -1
- package/lib/plots/area/adaptor.d.ts +0 -10
- package/lib/plots/area/adaptor.js +0 -119
- package/lib/plots/area/adaptor.js.map +0 -1
- package/lib/plots/area/constants.d.ts +0 -4
- package/lib/plots/area/constants.js +0 -26
- package/lib/plots/area/constants.js.map +0 -1
- package/lib/plots/area/index.d.ts +0 -26
- package/lib/plots/area/index.js +0 -50
- package/lib/plots/area/index.js.map +0 -1
- package/lib/plots/area/types.d.ts +0 -60
- package/lib/plots/area/types.js +0 -3
- package/lib/plots/area/types.js.map +0 -1
- package/lib/plots/bar/adaptor.d.ts +0 -13
- package/lib/plots/bar/adaptor.js +0 -107
- package/lib/plots/bar/adaptor.js.map +0 -1
- package/lib/plots/bar/constants.d.ts +0 -4
- package/lib/plots/bar/constants.js +0 -22
- package/lib/plots/bar/constants.js.map +0 -1
- package/lib/plots/bar/index.d.ts +0 -28
- package/lib/plots/bar/index.js +0 -57
- package/lib/plots/bar/index.js.map +0 -1
- package/lib/plots/bar/types.d.ts +0 -24
- package/lib/plots/bar/types.js +0 -3
- package/lib/plots/bar/types.js.map +0 -1
- package/lib/plots/bidirectional-bar/adaptor.d.ts +0 -28
- package/lib/plots/bidirectional-bar/adaptor.js +0 -319
- package/lib/plots/bidirectional-bar/adaptor.js.map +0 -1
- package/lib/plots/bidirectional-bar/constant.d.ts +0 -4
- package/lib/plots/bidirectional-bar/constant.js +0 -8
- package/lib/plots/bidirectional-bar/constant.js.map +0 -1
- package/lib/plots/bidirectional-bar/index.d.ts +0 -24
- package/lib/plots/bidirectional-bar/index.js +0 -63
- package/lib/plots/bidirectional-bar/index.js.map +0 -1
- package/lib/plots/bidirectional-bar/types.d.ts +0 -33
- package/lib/plots/bidirectional-bar/types.js +0 -3
- package/lib/plots/bidirectional-bar/types.js.map +0 -1
- package/lib/plots/bidirectional-bar/utils.d.ts +0 -22
- package/lib/plots/bidirectional-bar/utils.js +0 -84
- package/lib/plots/bidirectional-bar/utils.js.map +0 -1
- package/lib/plots/box/adaptor.d.ts +0 -12
- package/lib/plots/box/adaptor.js +0 -155
- package/lib/plots/box/adaptor.js.map +0 -1
- package/lib/plots/box/constant.d.ts +0 -8
- package/lib/plots/box/constant.js +0 -29
- package/lib/plots/box/constant.js.map +0 -1
- package/lib/plots/box/index.d.ts +0 -26
- package/lib/plots/box/index.js +0 -52
- package/lib/plots/box/index.js.map +0 -1
- package/lib/plots/box/types.d.ts +0 -29
- package/lib/plots/box/types.js +0 -3
- package/lib/plots/box/types.js.map +0 -1
- package/lib/plots/box/utils.d.ts +0 -7
- package/lib/plots/box/utils.js +0 -24
- package/lib/plots/box/utils.js.map +0 -1
- package/lib/plots/bullet/adaptor.d.ts +0 -13
- package/lib/plots/bullet/adaptor.js +0 -179
- package/lib/plots/bullet/adaptor.js.map +0 -1
- package/lib/plots/bullet/constant.d.ts +0 -4
- package/lib/plots/bullet/constant.js +0 -35
- package/lib/plots/bullet/constant.js.map +0 -1
- package/lib/plots/bullet/index.d.ts +0 -22
- package/lib/plots/bullet/index.js +0 -46
- package/lib/plots/bullet/index.js.map +0 -1
- package/lib/plots/bullet/types.d.ts +0 -56
- package/lib/plots/bullet/types.js +0 -3
- package/lib/plots/bullet/types.js.map +0 -1
- package/lib/plots/bullet/utils.d.ts +0 -12
- package/lib/plots/bullet/utils.js +0 -73
- package/lib/plots/bullet/utils.js.map +0 -1
- package/lib/plots/chord/adaptor.d.ts +0 -8
- package/lib/plots/chord/adaptor.js +0 -152
- package/lib/plots/chord/adaptor.js.map +0 -1
- package/lib/plots/chord/constant.d.ts +0 -43
- package/lib/plots/chord/constant.js +0 -59
- package/lib/plots/chord/constant.js.map +0 -1
- package/lib/plots/chord/index.d.ts +0 -21
- package/lib/plots/chord/index.js +0 -38
- package/lib/plots/chord/index.js.map +0 -1
- package/lib/plots/chord/types.d.ts +0 -48
- package/lib/plots/chord/types.js +0 -3
- package/lib/plots/chord/types.js.map +0 -1
- package/lib/plots/circle-packing/adaptor.d.ts +0 -13
- package/lib/plots/circle-packing/adaptor.js +0 -176
- package/lib/plots/circle-packing/adaptor.js.map +0 -1
- package/lib/plots/circle-packing/constant.d.ts +0 -4
- package/lib/plots/circle-packing/constant.js +0 -33
- package/lib/plots/circle-packing/constant.js.map +0 -1
- package/lib/plots/circle-packing/index.d.ts +0 -27
- package/lib/plots/circle-packing/index.js +0 -53
- package/lib/plots/circle-packing/index.js.map +0 -1
- package/lib/plots/circle-packing/interactions/index.d.ts +0 -2
- package/lib/plots/circle-packing/interactions/index.js +0 -5
- package/lib/plots/circle-packing/interactions/index.js.map +0 -1
- package/lib/plots/circle-packing/types.d.ts +0 -38
- package/lib/plots/circle-packing/types.js +0 -3
- package/lib/plots/circle-packing/types.js.map +0 -1
- package/lib/plots/circle-packing/utils.d.ts +0 -25
- package/lib/plots/circle-packing/utils.js +0 -61
- package/lib/plots/circle-packing/utils.js.map +0 -1
- package/lib/plots/column/constants.d.ts +0 -4
- package/lib/plots/column/constants.js +0 -22
- package/lib/plots/column/constants.js.map +0 -1
- package/lib/plots/column/types.d.ts +0 -90
- package/lib/plots/column/types.js +0 -3
- package/lib/plots/column/types.js.map +0 -1
- package/lib/plots/dual-axes/adaptor.d.ts +0 -63
- package/lib/plots/dual-axes/adaptor.js +0 -440
- package/lib/plots/dual-axes/adaptor.js.map +0 -1
- package/lib/plots/dual-axes/constant.d.ts +0 -26
- package/lib/plots/dual-axes/constant.js +0 -16
- package/lib/plots/dual-axes/constant.js.map +0 -1
- package/lib/plots/dual-axes/index.d.ts +0 -16
- package/lib/plots/dual-axes/index.js +0 -34
- package/lib/plots/dual-axes/index.js.map +0 -1
- package/lib/plots/dual-axes/types.d.ts +0 -79
- package/lib/plots/dual-axes/types.js +0 -14
- package/lib/plots/dual-axes/types.js.map +0 -1
- package/lib/plots/dual-axes/util/geometry.d.ts +0 -11
- package/lib/plots/dual-axes/util/geometry.js +0 -59
- package/lib/plots/dual-axes/util/geometry.js.map +0 -1
- package/lib/plots/dual-axes/util/legend.d.ts +0 -13
- package/lib/plots/dual-axes/util/legend.js +0 -70
- package/lib/plots/dual-axes/util/legend.js.map +0 -1
- package/lib/plots/dual-axes/util/option.d.ts +0 -29
- package/lib/plots/dual-axes/util/option.js +0 -78
- package/lib/plots/dual-axes/util/option.js.map +0 -1
- package/lib/plots/dual-axes/util/render-sider.d.ts +0 -9
- package/lib/plots/dual-axes/util/render-sider.js +0 -35
- package/lib/plots/dual-axes/util/render-sider.js.map +0 -1
- package/lib/plots/facet/adaptor.d.ts +0 -8
- package/lib/plots/facet/adaptor.js +0 -111
- package/lib/plots/facet/adaptor.js.map +0 -1
- package/lib/plots/facet/constant.d.ts +0 -23
- package/lib/plots/facet/constant.js +0 -27
- package/lib/plots/facet/constant.js.map +0 -1
- package/lib/plots/facet/index.d.ts +0 -21
- package/lib/plots/facet/index.js +0 -38
- package/lib/plots/facet/index.js.map +0 -1
- package/lib/plots/facet/types.d.ts +0 -148
- package/lib/plots/facet/types.js +0 -3
- package/lib/plots/facet/types.js.map +0 -1
- package/lib/plots/facet/utils.d.ts +0 -8
- package/lib/plots/facet/utils.js +0 -79
- package/lib/plots/facet/utils.js.map +0 -1
- package/lib/plots/funnel/adaptor.d.ts +0 -18
- package/lib/plots/funnel/adaptor.js +0 -163
- package/lib/plots/funnel/adaptor.js.map +0 -1
- package/lib/plots/funnel/constant.d.ts +0 -40
- package/lib/plots/funnel/constant.js +0 -51
- package/lib/plots/funnel/constant.js.map +0 -1
- package/lib/plots/funnel/geometries/basic.d.ts +0 -13
- package/lib/plots/funnel/geometries/basic.js +0 -98
- package/lib/plots/funnel/geometries/basic.js.map +0 -1
- package/lib/plots/funnel/geometries/common.d.ts +0 -15
- package/lib/plots/funnel/geometries/common.js +0 -64
- package/lib/plots/funnel/geometries/common.js.map +0 -1
- package/lib/plots/funnel/geometries/compare.d.ts +0 -9
- package/lib/plots/funnel/geometries/compare.js +0 -145
- package/lib/plots/funnel/geometries/compare.js.map +0 -1
- package/lib/plots/funnel/geometries/dynamic-height.d.ts +0 -8
- package/lib/plots/funnel/geometries/dynamic-height.js +0 -128
- package/lib/plots/funnel/geometries/dynamic-height.js.map +0 -1
- package/lib/plots/funnel/geometries/facet.d.ts +0 -8
- package/lib/plots/funnel/geometries/facet.js +0 -54
- package/lib/plots/funnel/geometries/facet.js.map +0 -1
- package/lib/plots/funnel/index.d.ts +0 -38
- package/lib/plots/funnel/index.js +0 -76
- package/lib/plots/funnel/index.js.map +0 -1
- package/lib/plots/funnel/interactions/funnel-conversion-tag.d.ts +0 -9
- package/lib/plots/funnel/interactions/funnel-conversion-tag.js +0 -60
- package/lib/plots/funnel/interactions/funnel-conversion-tag.js.map +0 -1
- package/lib/plots/funnel/interactions/index.d.ts +0 -5
- package/lib/plots/funnel/interactions/index.js +0 -13
- package/lib/plots/funnel/interactions/index.js.map +0 -1
- package/lib/plots/funnel/types.d.ts +0 -70
- package/lib/plots/funnel/types.js +0 -3
- package/lib/plots/funnel/types.js.map +0 -1
- package/lib/plots/gauge/adaptor.d.ts +0 -17
- package/lib/plots/gauge/adaptor.js +0 -183
- package/lib/plots/gauge/adaptor.js.map +0 -1
- package/lib/plots/gauge/constants.d.ts +0 -67
- package/lib/plots/gauge/constants.js +0 -73
- package/lib/plots/gauge/constants.js.map +0 -1
- package/lib/plots/gauge/index.d.ts +0 -32
- package/lib/plots/gauge/index.js +0 -66
- package/lib/plots/gauge/index.js.map +0 -1
- package/lib/plots/gauge/shapes/indicator.d.ts +0 -1
- package/lib/plots/gauge/shapes/indicator.js +0 -32
- package/lib/plots/gauge/shapes/indicator.js.map +0 -1
- package/lib/plots/gauge/shapes/meter-gauge.d.ts +0 -1
- package/lib/plots/gauge/shapes/meter-gauge.js +0 -54
- package/lib/plots/gauge/shapes/meter-gauge.js.map +0 -1
- package/lib/plots/gauge/types.d.ts +0 -130
- package/lib/plots/gauge/types.js +0 -4
- package/lib/plots/gauge/types.js.map +0 -1
- package/lib/plots/gauge/utils.d.ts +0 -20
- package/lib/plots/gauge/utils.js +0 -44
- package/lib/plots/gauge/utils.js.map +0 -1
- package/lib/plots/heatmap/adaptor.d.ts +0 -8
- package/lib/plots/heatmap/adaptor.js +0 -167
- package/lib/plots/heatmap/adaptor.js.map +0 -1
- package/lib/plots/heatmap/constant.d.ts +0 -4
- package/lib/plots/heatmap/constant.js +0 -42
- package/lib/plots/heatmap/constant.js.map +0 -1
- package/lib/plots/heatmap/index.d.ts +0 -23
- package/lib/plots/heatmap/index.js +0 -41
- package/lib/plots/heatmap/index.js.map +0 -1
- package/lib/plots/heatmap/shapes/circle.d.ts +0 -1
- package/lib/plots/heatmap/shapes/circle.js +0 -25
- package/lib/plots/heatmap/shapes/circle.js.map +0 -1
- package/lib/plots/heatmap/shapes/square.d.ts +0 -1
- package/lib/plots/heatmap/shapes/square.js +0 -25
- package/lib/plots/heatmap/shapes/square.js.map +0 -1
- package/lib/plots/heatmap/types.d.ts +0 -63
- package/lib/plots/heatmap/types.js +0 -3
- package/lib/plots/heatmap/types.js.map +0 -1
- package/lib/plots/histogram/adaptor.d.ts +0 -8
- package/lib/plots/histogram/adaptor.js +0 -109
- package/lib/plots/histogram/adaptor.js.map +0 -1
- package/lib/plots/histogram/constant.d.ts +0 -8
- package/lib/plots/histogram/constant.js +0 -23
- package/lib/plots/histogram/constant.js.map +0 -1
- package/lib/plots/histogram/index.d.ts +0 -22
- package/lib/plots/histogram/index.js +0 -44
- package/lib/plots/histogram/index.js.map +0 -1
- package/lib/plots/histogram/types.d.ts +0 -27
- package/lib/plots/histogram/types.js +0 -3
- package/lib/plots/histogram/types.js.map +0 -1
- package/lib/plots/line/constants.d.ts +0 -4
- package/lib/plots/line/constants.js +0 -24
- package/lib/plots/line/constants.js.map +0 -1
- package/lib/plots/line/interactions/index.d.ts +0 -1
- package/lib/plots/line/interactions/index.js +0 -20
- package/lib/plots/line/interactions/index.js.map +0 -1
- package/lib/plots/line/interactions/marker-active.d.ts +0 -6
- package/lib/plots/line/interactions/marker-active.js +0 -42
- package/lib/plots/line/interactions/marker-active.js.map +0 -1
- package/lib/plots/line/types.d.ts +0 -58
- package/lib/plots/line/types.js +0 -3
- package/lib/plots/line/types.js.map +0 -1
- package/lib/plots/liquid/adaptor.d.ts +0 -13
- package/lib/plots/liquid/adaptor.js +0 -93
- package/lib/plots/liquid/adaptor.js.map +0 -1
- package/lib/plots/liquid/constants.d.ts +0 -26
- package/lib/plots/liquid/constants.js +0 -30
- package/lib/plots/liquid/constants.js.map +0 -1
- package/lib/plots/liquid/index.d.ts +0 -31
- package/lib/plots/liquid/index.js +0 -58
- package/lib/plots/liquid/index.js.map +0 -1
- package/lib/plots/liquid/shapes/liquid.d.ts +0 -16
- package/lib/plots/liquid/shapes/liquid.js +0 -372
- package/lib/plots/liquid/shapes/liquid.js.map +0 -1
- package/lib/plots/liquid/types.d.ts +0 -93
- package/lib/plots/liquid/types.js +0 -3
- package/lib/plots/liquid/types.js.map +0 -1
- package/lib/plots/liquid/utils.d.ts +0 -7
- package/lib/plots/liquid/utils.js +0 -12
- package/lib/plots/liquid/utils.js.map +0 -1
- package/lib/plots/mix/adaptor.d.ts +0 -13
- package/lib/plots/mix/adaptor.js +0 -147
- package/lib/plots/mix/adaptor.js.map +0 -1
- package/lib/plots/mix/index.d.ts +0 -24
- package/lib/plots/mix/index.js +0 -36
- package/lib/plots/mix/index.js.map +0 -1
- package/lib/plots/mix/interactions/association.d.ts +0 -1
- package/lib/plots/mix/interactions/association.js +0 -171
- package/lib/plots/mix/interactions/association.js.map +0 -1
- package/lib/plots/mix/interactions/index.d.ts +0 -4
- package/lib/plots/mix/interactions/index.js +0 -7
- package/lib/plots/mix/interactions/index.js.map +0 -1
- package/lib/plots/mix/interactions/utils.d.ts +0 -14
- package/lib/plots/mix/interactions/utils.js +0 -45
- package/lib/plots/mix/interactions/utils.js.map +0 -1
- package/lib/plots/mix/types.d.ts +0 -125
- package/lib/plots/mix/types.js +0 -3
- package/lib/plots/mix/types.js.map +0 -1
- package/lib/plots/mix/utils.d.ts +0 -82
- package/lib/plots/mix/utils.js +0 -102
- package/lib/plots/mix/utils.js.map +0 -1
- package/lib/plots/pie/adaptor.d.ts +0 -24
- package/lib/plots/pie/adaptor.js +0 -295
- package/lib/plots/pie/adaptor.js.map +0 -1
- package/lib/plots/pie/contants.d.ts +0 -4
- package/lib/plots/pie/contants.js +0 -53
- package/lib/plots/pie/contants.js.map +0 -1
- package/lib/plots/pie/index.d.ts +0 -27
- package/lib/plots/pie/index.js +0 -65
- package/lib/plots/pie/index.js.map +0 -1
- package/lib/plots/pie/interactions/actions/legend-active.d.ts +0 -20
- package/lib/plots/pie/interactions/actions/legend-active.js +0 -71
- package/lib/plots/pie/interactions/actions/legend-active.js.map +0 -1
- package/lib/plots/pie/interactions/actions/statistic-active.d.ts +0 -13
- package/lib/plots/pie/interactions/actions/statistic-active.js +0 -82
- package/lib/plots/pie/interactions/actions/statistic-active.js.map +0 -1
- package/lib/plots/pie/interactions/index.d.ts +0 -1
- package/lib/plots/pie/interactions/index.js +0 -18
- package/lib/plots/pie/interactions/index.js.map +0 -1
- package/lib/plots/pie/interactions/util.d.ts +0 -7
- package/lib/plots/pie/interactions/util.js +0 -19
- package/lib/plots/pie/interactions/util.js.map +0 -1
- package/lib/plots/pie/types.d.ts +0 -51
- package/lib/plots/pie/types.js +0 -3
- package/lib/plots/pie/types.js.map +0 -1
- package/lib/plots/pie/utils.d.ts +0 -18
- package/lib/plots/pie/utils.js +0 -53
- package/lib/plots/pie/utils.js.map +0 -1
- package/lib/plots/progress/adaptor.d.ts +0 -13
- package/lib/plots/progress/adaptor.js +0 -61
- package/lib/plots/progress/adaptor.js.map +0 -1
- package/lib/plots/progress/constants.d.ts +0 -9
- package/lib/plots/progress/constants.js +0 -13
- package/lib/plots/progress/constants.js.map +0 -1
- package/lib/plots/progress/index.d.ts +0 -23
- package/lib/plots/progress/index.js +0 -44
- package/lib/plots/progress/index.js.map +0 -1
- package/lib/plots/progress/types.d.ts +0 -21
- package/lib/plots/progress/types.js +0 -3
- package/lib/plots/progress/types.js.map +0 -1
- package/lib/plots/progress/utils.d.ts +0 -8
- package/lib/plots/progress/utils.js +0 -26
- package/lib/plots/progress/utils.js.map +0 -1
- package/lib/plots/radar/adaptor.d.ts +0 -8
- package/lib/plots/radar/adaptor.js +0 -114
- package/lib/plots/radar/adaptor.js.map +0 -1
- package/lib/plots/radar/index.d.ts +0 -22
- package/lib/plots/radar/index.js +0 -76
- package/lib/plots/radar/index.js.map +0 -1
- package/lib/plots/radar/interactions/index.d.ts +0 -1
- package/lib/plots/radar/interactions/index.js +0 -10
- package/lib/plots/radar/interactions/index.js.map +0 -1
- package/lib/plots/radar/interactions/radar-tooltip-action.d.ts +0 -15
- package/lib/plots/radar/interactions/radar-tooltip-action.js +0 -77
- package/lib/plots/radar/interactions/radar-tooltip-action.js.map +0 -1
- package/lib/plots/radar/types.d.ts +0 -55
- package/lib/plots/radar/types.js +0 -3
- package/lib/plots/radar/types.js.map +0 -1
- package/lib/plots/radial-bar/adaptor.d.ts +0 -18
- package/lib/plots/radial-bar/adaptor.js +0 -124
- package/lib/plots/radial-bar/adaptor.js.map +0 -1
- package/lib/plots/radial-bar/constant.d.ts +0 -4
- package/lib/plots/radial-bar/constant.js +0 -22
- package/lib/plots/radial-bar/constant.js.map +0 -1
- package/lib/plots/radial-bar/index.d.ts +0 -25
- package/lib/plots/radial-bar/index.js +0 -47
- package/lib/plots/radial-bar/index.js.map +0 -1
- package/lib/plots/radial-bar/types.d.ts +0 -63
- package/lib/plots/radial-bar/types.js +0 -3
- package/lib/plots/radial-bar/types.js.map +0 -1
- package/lib/plots/radial-bar/utils.d.ts +0 -6
- package/lib/plots/radial-bar/utils.js +0 -32
- package/lib/plots/radial-bar/utils.js.map +0 -1
- package/lib/plots/ring-progress/adaptor.d.ts +0 -13
- package/lib/plots/ring-progress/adaptor.js +0 -58
- package/lib/plots/ring-progress/adaptor.js.map +0 -1
- package/lib/plots/ring-progress/constants.d.ts +0 -22
- package/lib/plots/ring-progress/constants.js +0 -26
- package/lib/plots/ring-progress/constants.js.map +0 -1
- package/lib/plots/ring-progress/index.d.ts +0 -23
- package/lib/plots/ring-progress/index.js +0 -49
- package/lib/plots/ring-progress/index.js.map +0 -1
- package/lib/plots/ring-progress/types.d.ts +0 -28
- package/lib/plots/ring-progress/types.js +0 -3
- package/lib/plots/ring-progress/types.js.map +0 -1
- package/lib/plots/rose/adaptor.d.ts +0 -13
- package/lib/plots/rose/adaptor.js +0 -144
- package/lib/plots/rose/adaptor.js.map +0 -1
- package/lib/plots/rose/constant.d.ts +0 -4
- package/lib/plots/rose/constant.js +0 -31
- package/lib/plots/rose/constant.js.map +0 -1
- package/lib/plots/rose/index.d.ts +0 -26
- package/lib/plots/rose/index.js +0 -46
- package/lib/plots/rose/index.js.map +0 -1
- package/lib/plots/rose/types.d.ts +0 -55
- package/lib/plots/rose/types.js +0 -3
- package/lib/plots/rose/types.js.map +0 -1
- package/lib/plots/sankey/adaptor.d.ts +0 -18
- package/lib/plots/sankey/adaptor.js +0 -162
- package/lib/plots/sankey/adaptor.js.map +0 -1
- package/lib/plots/sankey/circle.d.ts +0 -16
- package/lib/plots/sankey/circle.js +0 -99
- package/lib/plots/sankey/circle.js.map +0 -1
- package/lib/plots/sankey/constant.d.ts +0 -5
- package/lib/plots/sankey/constant.js +0 -9
- package/lib/plots/sankey/constant.js.map +0 -1
- package/lib/plots/sankey/helper.d.ts +0 -20
- package/lib/plots/sankey/helper.js +0 -59
- package/lib/plots/sankey/helper.js.map +0 -1
- package/lib/plots/sankey/index.d.ts +0 -27
- package/lib/plots/sankey/index.js +0 -121
- package/lib/plots/sankey/index.js.map +0 -1
- package/lib/plots/sankey/interactions/actions/node-drag.d.ts +0 -46
- package/lib/plots/sankey/interactions/actions/node-drag.js +0 -140
- package/lib/plots/sankey/interactions/actions/node-drag.js.map +0 -1
- package/lib/plots/sankey/interactions/index.d.ts +0 -1
- package/lib/plots/sankey/interactions/index.js +0 -4
- package/lib/plots/sankey/interactions/index.js.map +0 -1
- package/lib/plots/sankey/interactions/node-draggable.d.ts +0 -1
- package/lib/plots/sankey/interactions/node-draggable.js +0 -18
- package/lib/plots/sankey/interactions/node-draggable.js.map +0 -1
- package/lib/plots/sankey/layout.d.ts +0 -86
- package/lib/plots/sankey/layout.js +0 -93
- package/lib/plots/sankey/layout.js.map +0 -1
- package/lib/plots/sankey/sankey/align.d.ts +0 -4
- package/lib/plots/sankey/sankey/align.js +0 -24
- package/lib/plots/sankey/sankey/align.js.map +0 -1
- package/lib/plots/sankey/sankey/helper.d.ts +0 -14
- package/lib/plots/sankey/sankey/helper.js +0 -44
- package/lib/plots/sankey/sankey/helper.js.map +0 -1
- package/lib/plots/sankey/sankey/index.d.ts +0 -11
- package/lib/plots/sankey/sankey/index.js +0 -19
- package/lib/plots/sankey/sankey/index.js.map +0 -1
- package/lib/plots/sankey/sankey/sankey.d.ts +0 -24
- package/lib/plots/sankey/sankey/sankey.js +0 -405
- package/lib/plots/sankey/sankey/sankey.js.map +0 -1
- package/lib/plots/sankey/types.d.ts +0 -143
- package/lib/plots/sankey/types.js +0 -3
- package/lib/plots/sankey/types.js.map +0 -1
- package/lib/plots/scatter/adaptor.d.ts +0 -25
- package/lib/plots/scatter/adaptor.js +0 -276
- package/lib/plots/scatter/adaptor.js.map +0 -1
- package/lib/plots/scatter/constant.d.ts +0 -4
- package/lib/plots/scatter/constant.js +0 -20
- package/lib/plots/scatter/constant.js.map +0 -1
- package/lib/plots/scatter/index.d.ts +0 -25
- package/lib/plots/scatter/index.js +0 -61
- package/lib/plots/scatter/index.js.map +0 -1
- package/lib/plots/scatter/interactions/index.d.ts +0 -1
- package/lib/plots/scatter/interactions/index.js +0 -4
- package/lib/plots/scatter/interactions/index.js.map +0 -1
- package/lib/plots/scatter/types.d.ts +0 -125
- package/lib/plots/scatter/types.js +0 -3
- package/lib/plots/scatter/types.js.map +0 -1
- package/lib/plots/scatter/util.d.ts +0 -36
- package/lib/plots/scatter/util.js +0 -238
- package/lib/plots/scatter/util.js.map +0 -1
- package/lib/plots/stock/adaptor.d.ts +0 -28
- package/lib/plots/stock/adaptor.js +0 -128
- package/lib/plots/stock/adaptor.js.map +0 -1
- package/lib/plots/stock/constant.d.ts +0 -31
- package/lib/plots/stock/constant.js +0 -57
- package/lib/plots/stock/constant.js.map +0 -1
- package/lib/plots/stock/index.d.ts +0 -27
- package/lib/plots/stock/index.js +0 -49
- package/lib/plots/stock/index.js.map +0 -1
- package/lib/plots/stock/types.d.ts +0 -28
- package/lib/plots/stock/types.js +0 -3
- package/lib/plots/stock/types.js.map +0 -1
- package/lib/plots/stock/utils.d.ts +0 -8
- package/lib/plots/stock/utils.js +0 -24
- package/lib/plots/stock/utils.js.map +0 -1
- package/lib/plots/sunburst/adaptor.d.ts +0 -23
- package/lib/plots/sunburst/adaptor.js +0 -183
- package/lib/plots/sunburst/adaptor.js.map +0 -1
- package/lib/plots/sunburst/constant.d.ts +0 -13
- package/lib/plots/sunburst/constant.js +0 -50
- package/lib/plots/sunburst/constant.js.map +0 -1
- package/lib/plots/sunburst/index.d.ts +0 -28
- package/lib/plots/sunburst/index.js +0 -46
- package/lib/plots/sunburst/index.js.map +0 -1
- package/lib/plots/sunburst/interactions/index.d.ts +0 -2
- package/lib/plots/sunburst/interactions/index.js +0 -5
- package/lib/plots/sunburst/interactions/index.js.map +0 -1
- package/lib/plots/sunburst/types.d.ts +0 -66
- package/lib/plots/sunburst/types.js +0 -3
- package/lib/plots/sunburst/types.js.map +0 -1
- package/lib/plots/sunburst/utils.d.ts +0 -6
- package/lib/plots/sunburst/utils.js +0 -60
- package/lib/plots/sunburst/utils.js.map +0 -1
- package/lib/plots/tiny-area/adaptor.d.ts +0 -13
- package/lib/plots/tiny-area/adaptor.js +0 -68
- package/lib/plots/tiny-area/adaptor.js.map +0 -1
- package/lib/plots/tiny-area/constants.d.ts +0 -33
- package/lib/plots/tiny-area/constants.js +0 -23
- package/lib/plots/tiny-area/constants.js.map +0 -1
- package/lib/plots/tiny-area/index.d.ts +0 -23
- package/lib/plots/tiny-area/index.js +0 -46
- package/lib/plots/tiny-area/index.js.map +0 -1
- package/lib/plots/tiny-area/types.d.ts +0 -27
- package/lib/plots/tiny-area/types.js +0 -3
- package/lib/plots/tiny-area/types.js.map +0 -1
- package/lib/plots/tiny-column/adaptor.d.ts +0 -10
- package/lib/plots/tiny-column/adaptor.js +0 -46
- package/lib/plots/tiny-column/adaptor.js.map +0 -1
- package/lib/plots/tiny-column/constants.d.ts +0 -35
- package/lib/plots/tiny-column/constants.js +0 -28
- package/lib/plots/tiny-column/constants.js.map +0 -1
- package/lib/plots/tiny-column/index.d.ts +0 -23
- package/lib/plots/tiny-column/index.js +0 -46
- package/lib/plots/tiny-column/index.js.map +0 -1
- package/lib/plots/tiny-column/types.d.ts +0 -17
- package/lib/plots/tiny-column/types.js +0 -3
- package/lib/plots/tiny-column/types.js.map +0 -1
- package/lib/plots/tiny-line/adaptor.d.ts +0 -10
- package/lib/plots/tiny-line/adaptor.js +0 -49
- package/lib/plots/tiny-line/adaptor.js.map +0 -1
- package/lib/plots/tiny-line/constants.d.ts +0 -45
- package/lib/plots/tiny-line/constants.js +0 -34
- package/lib/plots/tiny-line/constants.js.map +0 -1
- package/lib/plots/tiny-line/index.d.ts +0 -23
- package/lib/plots/tiny-line/index.js +0 -46
- package/lib/plots/tiny-line/index.js.map +0 -1
- package/lib/plots/tiny-line/types.d.ts +0 -28
- package/lib/plots/tiny-line/types.js +0 -3
- package/lib/plots/tiny-line/types.js.map +0 -1
- package/lib/plots/tiny-line/utils.d.ts +0 -4
- package/lib/plots/tiny-line/utils.js +0 -9
- package/lib/plots/tiny-line/utils.js.map +0 -1
- package/lib/plots/treemap/adaptor.d.ts +0 -13
- package/lib/plots/treemap/adaptor.js +0 -133
- package/lib/plots/treemap/adaptor.js.map +0 -1
- package/lib/plots/treemap/constant.d.ts +0 -36
- package/lib/plots/treemap/constant.js +0 -42
- package/lib/plots/treemap/constant.js.map +0 -1
- package/lib/plots/treemap/index.d.ts +0 -23
- package/lib/plots/treemap/index.js +0 -52
- package/lib/plots/treemap/index.js.map +0 -1
- package/lib/plots/treemap/interactions/index.d.ts +0 -4
- package/lib/plots/treemap/interactions/index.js +0 -7
- package/lib/plots/treemap/interactions/index.js.map +0 -1
- package/lib/plots/treemap/types.d.ts +0 -30
- package/lib/plots/treemap/types.js +0 -3
- package/lib/plots/treemap/types.js.map +0 -1
- package/lib/plots/treemap/utils.d.ts +0 -21
- package/lib/plots/treemap/utils.js +0 -80
- package/lib/plots/treemap/utils.js.map +0 -1
- package/lib/plots/venn/adaptor.d.ts +0 -23
- package/lib/plots/venn/adaptor.js +0 -221
- package/lib/plots/venn/adaptor.js.map +0 -1
- package/lib/plots/venn/constant.d.ts +0 -7
- package/lib/plots/venn/constant.js +0 -52
- package/lib/plots/venn/constant.js.map +0 -1
- package/lib/plots/venn/index.d.ts +0 -24
- package/lib/plots/venn/index.js +0 -50
- package/lib/plots/venn/index.js.map +0 -1
- package/lib/plots/venn/interactions/actions/active.d.ts +0 -14
- package/lib/plots/venn/interactions/actions/active.js +0 -37
- package/lib/plots/venn/interactions/actions/active.js.map +0 -1
- package/lib/plots/venn/interactions/actions/highlight.d.ts +0 -16
- package/lib/plots/venn/interactions/actions/highlight.js +0 -42
- package/lib/plots/venn/interactions/actions/highlight.js.map +0 -1
- package/lib/plots/venn/interactions/actions/selected.d.ts +0 -33
- package/lib/plots/venn/interactions/actions/selected.js +0 -73
- package/lib/plots/venn/interactions/actions/selected.js.map +0 -1
- package/lib/plots/venn/interactions/index.d.ts +0 -1
- package/lib/plots/venn/interactions/index.js +0 -50
- package/lib/plots/venn/interactions/index.js.map +0 -1
- package/lib/plots/venn/interactions/util.d.ts +0 -3
- package/lib/plots/venn/interactions/util.js +0 -15
- package/lib/plots/venn/interactions/util.js.map +0 -1
- package/lib/plots/venn/label.d.ts +0 -1
- package/lib/plots/venn/label.js +0 -33
- package/lib/plots/venn/label.js.map +0 -1
- package/lib/plots/venn/layout/circleintersection.d.ts +0 -29
- package/lib/plots/venn/layout/circleintersection.js +0 -196
- package/lib/plots/venn/layout/circleintersection.js.map +0 -1
- package/lib/plots/venn/layout/diagram.d.ts +0 -17
- package/lib/plots/venn/layout/diagram.js +0 -201
- package/lib/plots/venn/layout/diagram.js.map +0 -1
- package/lib/plots/venn/layout/layout.d.ts +0 -27
- package/lib/plots/venn/layout/layout.js +0 -607
- package/lib/plots/venn/layout/layout.js.map +0 -1
- package/lib/plots/venn/shape.d.ts +0 -1
- package/lib/plots/venn/shape.js +0 -44
- package/lib/plots/venn/shape.js.map +0 -1
- package/lib/plots/venn/types.d.ts +0 -41
- package/lib/plots/venn/types.js +0 -4
- package/lib/plots/venn/types.js.map +0 -1
- package/lib/plots/venn/utils.d.ts +0 -27
- package/lib/plots/venn/utils.js +0 -97
- package/lib/plots/venn/utils.js.map +0 -1
- package/lib/plots/violin/adaptor.d.ts +0 -12
- package/lib/plots/violin/adaptor.js +0 -233
- package/lib/plots/violin/adaptor.js.map +0 -1
- package/lib/plots/violin/constant.d.ts +0 -11
- package/lib/plots/violin/constant.js +0 -61
- package/lib/plots/violin/constant.js.map +0 -1
- package/lib/plots/violin/index.d.ts +0 -25
- package/lib/plots/violin/index.js +0 -46
- package/lib/plots/violin/index.js.map +0 -1
- package/lib/plots/violin/types.d.ts +0 -72
- package/lib/plots/violin/types.js +0 -3
- package/lib/plots/violin/types.js.map +0 -1
- package/lib/plots/violin/utils.d.ts +0 -43
- package/lib/plots/violin/utils.js +0 -61
- package/lib/plots/violin/utils.js.map +0 -1
- package/lib/plots/waterfall/adaptor.d.ts +0 -13
- package/lib/plots/waterfall/adaptor.js +0 -197
- package/lib/plots/waterfall/adaptor.js.map +0 -1
- package/lib/plots/waterfall/constant.d.ts +0 -42
- package/lib/plots/waterfall/constant.js +0 -44
- package/lib/plots/waterfall/constant.js.map +0 -1
- package/lib/plots/waterfall/index.d.ts +0 -29
- package/lib/plots/waterfall/index.js +0 -51
- package/lib/plots/waterfall/index.js.map +0 -1
- package/lib/plots/waterfall/shape.d.ts +0 -1
- package/lib/plots/waterfall/shape.js +0 -60
- package/lib/plots/waterfall/shape.js.map +0 -1
- package/lib/plots/waterfall/types.d.ts +0 -70
- package/lib/plots/waterfall/types.js +0 -3
- package/lib/plots/waterfall/types.js.map +0 -1
- package/lib/plots/waterfall/utils.d.ts +0 -17
- package/lib/plots/waterfall/utils.js +0 -52
- package/lib/plots/waterfall/utils.js.map +0 -1
- package/lib/plots/word-cloud/adaptor.d.ts +0 -13
- package/lib/plots/word-cloud/adaptor.js +0 -74
- package/lib/plots/word-cloud/adaptor.js.map +0 -1
- package/lib/plots/word-cloud/constant.d.ts +0 -6
- package/lib/plots/word-cloud/constant.js +0 -33
- package/lib/plots/word-cloud/constant.js.map +0 -1
- package/lib/plots/word-cloud/index.d.ts +0 -35
- package/lib/plots/word-cloud/index.js +0 -94
- package/lib/plots/word-cloud/index.js.map +0 -1
- package/lib/plots/word-cloud/shapes/word-cloud.d.ts +0 -1
- package/lib/plots/word-cloud/shapes/word-cloud.js +0 -30
- package/lib/plots/word-cloud/shapes/word-cloud.js.map +0 -1
- package/lib/plots/word-cloud/types.d.ts +0 -149
- package/lib/plots/word-cloud/types.js +0 -3
- package/lib/plots/word-cloud/types.js.map +0 -1
- package/lib/plots/word-cloud/utils.d.ts +0 -34
- package/lib/plots/word-cloud/utils.js +0 -226
- package/lib/plots/word-cloud/utils.js.map +0 -1
- package/lib/plugin/index.d.ts +0 -48
- package/lib/plugin/index.js +0 -61
- package/lib/plugin/index.js.map +0 -1
- package/lib/types/animation.d.ts +0 -2
- package/lib/types/animation.js +0 -3
- package/lib/types/animation.js.map +0 -1
- package/lib/types/annotation.d.ts +0 -6
- package/lib/types/annotation.js +0 -3
- package/lib/types/annotation.js.map +0 -1
- package/lib/types/attr.d.ts +0 -20
- package/lib/types/attr.js.map +0 -1
- package/lib/types/axis.d.ts +0 -3
- package/lib/types/axis.js.map +0 -1
- package/lib/types/button.d.ts +0 -33
- package/lib/types/button.js +0 -3
- package/lib/types/button.js.map +0 -1
- package/lib/types/coordinate.d.ts +0 -13
- package/lib/types/coordinate.js +0 -3
- package/lib/types/coordinate.js.map +0 -1
- package/lib/types/drill-down.d.ts +0 -39
- package/lib/types/drill-down.js +0 -3
- package/lib/types/drill-down.js.map +0 -1
- package/lib/types/interaction.d.ts +0 -49
- package/lib/types/interaction.js +0 -3
- package/lib/types/interaction.js.map +0 -1
- package/lib/types/label.d.ts +0 -17
- package/lib/types/label.js +0 -3
- package/lib/types/label.js.map +0 -1
- package/lib/types/legend.d.ts +0 -2
- package/lib/types/legend.js +0 -3
- package/lib/types/legend.js.map +0 -1
- package/lib/types/locale.d.ts +0 -24
- package/lib/types/locale.js +0 -3
- package/lib/types/locale.js.map +0 -1
- package/lib/types/meta.d.ts +0 -14
- package/lib/types/meta.js +0 -3
- package/lib/types/meta.js.map +0 -1
- package/lib/types/pattern.d.ts +0 -87
- package/lib/types/pattern.js +0 -3
- package/lib/types/pattern.js.map +0 -1
- package/lib/types/relation-data.d.ts +0 -16
- package/lib/types/relation-data.js +0 -3
- package/lib/types/relation-data.js.map +0 -1
- package/lib/types/scrollbar.d.ts +0 -2
- package/lib/types/scrollbar.js +0 -3
- package/lib/types/scrollbar.js.map +0 -1
- package/lib/types/slider.d.ts +0 -2
- package/lib/types/slider.js +0 -3
- package/lib/types/slider.js.map +0 -1
- package/lib/types/state.d.ts +0 -22
- package/lib/types/state.js +0 -3
- package/lib/types/state.js.map +0 -1
- package/lib/types/statistic.d.ts +0 -64
- package/lib/types/statistic.js +0 -3
- package/lib/types/statistic.js.map +0 -1
- package/lib/types/tooltip.d.ts +0 -15
- package/lib/types/tooltip.js +0 -3
- package/lib/types/tooltip.js.map +0 -1
- package/lib/utils/color/blend.d.ts +0 -20
- package/lib/utils/color/blend.js +0 -99
- package/lib/utils/color/blend.js.map +0 -1
- package/lib/utils/context.d.ts +0 -4
- package/lib/utils/context.js +0 -15
- package/lib/utils/context.js.map +0 -1
- package/lib/utils/conversion.d.ts +0 -6
- package/lib/utils/conversion.js +0 -27
- package/lib/utils/conversion.js.map +0 -1
- package/lib/utils/data.d.ts +0 -23
- package/lib/utils/data.js +0 -95
- package/lib/utils/data.js.map +0 -1
- package/lib/utils/deep-assign.d.ts +0 -6
- package/lib/utils/deep-assign.js +0 -90
- package/lib/utils/deep-assign.js.map +0 -1
- package/lib/utils/dom.d.ts +0 -7
- package/lib/utils/dom.js +0 -24
- package/lib/utils/dom.js.map +0 -1
- package/lib/utils/flow.d.ts +0 -7
- package/lib/utils/flow.js +0 -20
- package/lib/utils/flow.js.map +0 -1
- package/lib/utils/geometry.d.ts +0 -19
- package/lib/utils/geometry.js +0 -47
- package/lib/utils/geometry.js.map +0 -1
- package/lib/utils/hierarchy/pack.d.ts +0 -6
- package/lib/utils/hierarchy/pack.js +0 -45
- package/lib/utils/hierarchy/pack.js.map +0 -1
- package/lib/utils/hierarchy/partition.d.ts +0 -11
- package/lib/utils/hierarchy/partition.js +0 -76
- package/lib/utils/hierarchy/partition.js.map +0 -1
- package/lib/utils/hierarchy/treemap.d.ts +0 -3
- package/lib/utils/hierarchy/treemap.js +0 -92
- package/lib/utils/hierarchy/treemap.js.map +0 -1
- package/lib/utils/hierarchy/types.d.ts +0 -20
- package/lib/utils/hierarchy/types.js +0 -3
- package/lib/utils/hierarchy/types.js.map +0 -1
- package/lib/utils/hierarchy/util.d.ts +0 -14
- package/lib/utils/hierarchy/util.js +0 -69
- package/lib/utils/hierarchy/util.js.map +0 -1
- package/lib/utils/invariant.d.ts +0 -23
- package/lib/utils/invariant.js +0 -64
- package/lib/utils/invariant.js.map +0 -1
- package/lib/utils/kebab-case.d.ts +0 -6
- package/lib/utils/kebab-case.js +0 -17
- package/lib/utils/kebab-case.js.map +0 -1
- package/lib/utils/label.d.ts +0 -5
- package/lib/utils/label.js +0 -21
- package/lib/utils/label.js.map +0 -1
- package/lib/utils/matrix.d.ts +0 -6
- package/lib/utils/matrix.js +0 -17
- package/lib/utils/matrix.js.map +0 -1
- package/lib/utils/measure-text.d.ts +0 -9
- package/lib/utils/measure-text.js +0 -24
- package/lib/utils/measure-text.js.map +0 -1
- package/lib/utils/number.d.ts +0 -14
- package/lib/utils/number.js +0 -26
- package/lib/utils/number.js.map +0 -1
- package/lib/utils/padding.d.ts +0 -15
- package/lib/utils/padding.js +0 -72
- package/lib/utils/padding.js.map +0 -1
- package/lib/utils/path.d.ts +0 -17
- package/lib/utils/path.js +0 -148
- package/lib/utils/path.js.map +0 -1
- package/lib/utils/pattern/dot.d.ts +0 -32
- package/lib/utils/pattern/dot.js +0 -74
- package/lib/utils/pattern/dot.js.map +0 -1
- package/lib/utils/pattern/index.d.ts +0 -17
- package/lib/utils/pattern/index.js +0 -31
- package/lib/utils/pattern/index.js.map +0 -1
- package/lib/utils/pattern/line.d.ts +0 -25
- package/lib/utils/pattern/line.js +0 -61
- package/lib/utils/pattern/line.js.map +0 -1
- package/lib/utils/pattern/square.d.ts +0 -28
- package/lib/utils/pattern/square.js +0 -66
- package/lib/utils/pattern/square.js.map +0 -1
- package/lib/utils/pattern/util.d.ts +0 -50
- package/lib/utils/pattern/util.js +0 -99
- package/lib/utils/pattern/util.js.map +0 -1
- package/lib/utils/pick.d.ts +0 -6
- package/lib/utils/pick.js +0 -22
- package/lib/utils/pick.js.map +0 -1
- package/lib/utils/statistic.d.ts +0 -36
- package/lib/utils/statistic.js +0 -165
- package/lib/utils/statistic.js.map +0 -1
- package/lib/utils/template.d.ts +0 -7
- package/lib/utils/template.js +0 -20
- package/lib/utils/template.js.map +0 -1
- package/lib/utils/tooltip.d.ts +0 -7
- package/lib/utils/tooltip.js +0 -27
- package/lib/utils/tooltip.js.map +0 -1
- package/lib/utils/transform/chord.d.ts +0 -34
- package/lib/utils/transform/chord.js +0 -187
- package/lib/utils/transform/chord.js.map +0 -1
- package/lib/utils/transform/histogram.d.ts +0 -15
- package/lib/utils/transform/histogram.js +0 -82
- package/lib/utils/transform/histogram.js.map +0 -1
- package/lib/utils/transform/percent.d.ts +0 -26
- package/lib/utils/transform/percent.js +0 -70
- package/lib/utils/transform/percent.js.map +0 -1
- package/lib/utils/transform/quantile.d.ts +0 -62
- package/lib/utils/transform/quantile.js +0 -200
- package/lib/utils/transform/quantile.js.map +0 -1
- package/lib/utils/transform/sankey.d.ts +0 -0
- package/lib/utils/transform/sankey.js +0 -1
- package/lib/utils/transform/sankey.js.map +0 -1
- package/lib/utils/transform/word-cloud.d.ts +0 -30
- package/lib/utils/transform/word-cloud.js +0 -425
- package/lib/utils/transform/word-cloud.js.map +0 -1
- package/lib/utils/view.d.ts +0 -28
- package/lib/utils/view.js +0 -62
- package/lib/utils/view.js.map +0 -1
- package/src/adaptor/brush.ts +0 -58
- package/src/adaptor/common.ts +0 -228
- package/src/adaptor/connected-area.ts +0 -94
- package/src/adaptor/conversion-tag.ts +0 -253
- package/src/adaptor/geometries/area.ts +0 -50
- package/src/adaptor/geometries/base.ts +0 -281
- package/src/adaptor/geometries/edge.ts +0 -43
- package/src/adaptor/geometries/index.ts +0 -17
- package/src/adaptor/geometries/interval.ts +0 -134
- package/src/adaptor/geometries/line.ts +0 -54
- package/src/adaptor/geometries/point.ts +0 -48
- package/src/adaptor/geometries/polygon.ts +0 -43
- package/src/adaptor/geometries/schema.ts +0 -43
- package/src/adaptor/geometries/violin.ts +0 -44
- package/src/adaptor/pattern.ts +0 -66
- package/src/constant.ts +0 -25
- package/src/core/adaptor.ts +0 -17
- package/src/core/global.ts +0 -17
- package/src/core/locale.ts +0 -31
- package/src/interactions/actions/drill-down.ts +0 -302
- package/src/interactions/actions/reset-button.ts +0 -161
- package/src/interactions/brush.ts +0 -316
- package/src/interactions/drag-move.ts +0 -13
- package/src/interactions/drill-down.ts +0 -54
- package/src/lab.ts +0 -34
- package/src/locales/en_US.ts +0 -31
- package/src/locales/zh_CN.ts +0 -31
- package/src/plots/_template/adaptor.ts +0 -51
- package/src/plots/_template/constant.ts +0 -0
- package/src/plots/_template/index.ts +0 -21
- package/src/plots/_template/types.ts +0 -9
- package/src/plots/area/adaptor.ts +0 -180
- package/src/plots/area/constants.ts +0 -23
- package/src/plots/area/index.ts +0 -47
- package/src/plots/area/types.ts +0 -67
- package/src/plots/bar/adaptor.ts +0 -145
- package/src/plots/bar/constants.ts +0 -19
- package/src/plots/bar/index.ts +0 -53
- package/src/plots/bar/types.ts +0 -27
- package/src/plots/bidirectional-bar/adaptor.ts +0 -349
- package/src/plots/bidirectional-bar/constant.ts +0 -4
- package/src/plots/bidirectional-bar/index.ts +0 -68
- package/src/plots/bidirectional-bar/types.ts +0 -36
- package/src/plots/bidirectional-bar/utils.ts +0 -92
- package/src/plots/box/adaptor.ts +0 -171
- package/src/plots/box/constant.ts +0 -30
- package/src/plots/box/index.ts +0 -50
- package/src/plots/box/types.ts +0 -30
- package/src/plots/box/utils.ts +0 -22
- package/src/plots/bullet/adaptor.ts +0 -204
- package/src/plots/bullet/constant.ts +0 -32
- package/src/plots/bullet/index.ts +0 -43
- package/src/plots/bullet/types.ts +0 -57
- package/src/plots/bullet/utils.ts +0 -75
- package/src/plots/chord/adaptor.ts +0 -196
- package/src/plots/chord/constant.ts +0 -58
- package/src/plots/chord/index.ts +0 -33
- package/src/plots/chord/types.ts +0 -49
- package/src/plots/circle-packing/adaptor.ts +0 -230
- package/src/plots/circle-packing/constant.ts +0 -32
- package/src/plots/circle-packing/index.ts +0 -49
- package/src/plots/circle-packing/interactions/index.ts +0 -2
- package/src/plots/circle-packing/types.ts +0 -46
- package/src/plots/circle-packing/utils.ts +0 -89
- package/src/plots/column/constants.ts +0 -19
- package/src/plots/column/types.ts +0 -94
- package/src/plots/dual-axes/adaptor.ts +0 -511
- package/src/plots/dual-axes/constant.ts +0 -21
- package/src/plots/dual-axes/index.ts +0 -29
- package/src/plots/dual-axes/types.ts +0 -104
- package/src/plots/dual-axes/util/geometry.ts +0 -88
- package/src/plots/dual-axes/util/legend.ts +0 -85
- package/src/plots/dual-axes/util/option.ts +0 -91
- package/src/plots/dual-axes/util/render-sider.ts +0 -33
- package/src/plots/facet/adaptor.ts +0 -127
- package/src/plots/facet/constant.ts +0 -23
- package/src/plots/facet/index.ts +0 -34
- package/src/plots/facet/types.ts +0 -152
- package/src/plots/facet/utils.ts +0 -86
- package/src/plots/funnel/adaptor.ts +0 -188
- package/src/plots/funnel/constant.ts +0 -47
- package/src/plots/funnel/geometries/basic.ts +0 -118
- package/src/plots/funnel/geometries/common.ts +0 -82
- package/src/plots/funnel/geometries/compare.ts +0 -182
- package/src/plots/funnel/geometries/dynamic-height.ts +0 -156
- package/src/plots/funnel/geometries/facet.ts +0 -57
- package/src/plots/funnel/index.ts +0 -84
- package/src/plots/funnel/interactions/funnel-conversion-tag.ts +0 -57
- package/src/plots/funnel/interactions/index.ts +0 -11
- package/src/plots/funnel/types.ts +0 -75
- package/src/plots/gauge/adaptor.ts +0 -225
- package/src/plots/gauge/constants.ts +0 -71
- package/src/plots/gauge/index.ts +0 -72
- package/src/plots/gauge/shapes/indicator.ts +0 -44
- package/src/plots/gauge/shapes/meter-gauge.ts +0 -67
- package/src/plots/gauge/types.ts +0 -138
- package/src/plots/gauge/utils.ts +0 -43
- package/src/plots/heatmap/adaptor.ts +0 -204
- package/src/plots/heatmap/constant.ts +0 -39
- package/src/plots/heatmap/index.ts +0 -37
- package/src/plots/heatmap/shapes/circle.ts +0 -30
- package/src/plots/heatmap/shapes/square.ts +0 -31
- package/src/plots/heatmap/types.ts +0 -68
- package/src/plots/histogram/adaptor.ts +0 -131
- package/src/plots/histogram/constant.ts +0 -21
- package/src/plots/histogram/index.ts +0 -42
- package/src/plots/histogram/types.ts +0 -29
- package/src/plots/line/constants.ts +0 -21
- package/src/plots/line/interactions/index.ts +0 -18
- package/src/plots/line/interactions/marker-active.ts +0 -34
- package/src/plots/line/types.ts +0 -64
- package/src/plots/liquid/adaptor.ts +0 -104
- package/src/plots/liquid/constants.ts +0 -26
- package/src/plots/liquid/index.ts +0 -62
- package/src/plots/liquid/shapes/liquid.ts +0 -484
- package/src/plots/liquid/types.ts +0 -99
- package/src/plots/liquid/utils.ts +0 -8
- package/src/plots/mix/adaptor.ts +0 -178
- package/src/plots/mix/index.ts +0 -30
- package/src/plots/mix/interactions/association.ts +0 -178
- package/src/plots/mix/interactions/index.ts +0 -4
- package/src/plots/mix/interactions/utils.ts +0 -41
- package/src/plots/mix/types.ts +0 -129
- package/src/plots/mix/utils.ts +0 -183
- package/src/plots/pie/adaptor.ts +0 -340
- package/src/plots/pie/contants.ts +0 -50
- package/src/plots/pie/index.ts +0 -68
- package/src/plots/pie/interactions/actions/legend-active.ts +0 -65
- package/src/plots/pie/interactions/actions/statistic-active.ts +0 -83
- package/src/plots/pie/interactions/index.ts +0 -17
- package/src/plots/pie/interactions/util.ts +0 -16
- package/src/plots/pie/types.ts +0 -54
- package/src/plots/pie/utils.ts +0 -51
- package/src/plots/progress/adaptor.ts +0 -67
- package/src/plots/progress/constants.ts +0 -10
- package/src/plots/progress/index.ts +0 -41
- package/src/plots/progress/types.ts +0 -22
- package/src/plots/progress/utils.ts +0 -22
- package/src/plots/radar/adaptor.ts +0 -135
- package/src/plots/radar/index.ts +0 -72
- package/src/plots/radar/interactions/index.ts +0 -8
- package/src/plots/radar/interactions/radar-tooltip-action.ts +0 -64
- package/src/plots/radar/types.ts +0 -56
- package/src/plots/radial-bar/adaptor.ts +0 -147
- package/src/plots/radial-bar/constant.ts +0 -19
- package/src/plots/radial-bar/index.ts +0 -43
- package/src/plots/radial-bar/types.ts +0 -67
- package/src/plots/radial-bar/utils.ts +0 -27
- package/src/plots/ring-progress/adaptor.ts +0 -66
- package/src/plots/ring-progress/constants.ts +0 -22
- package/src/plots/ring-progress/index.ts +0 -54
- package/src/plots/ring-progress/types.ts +0 -29
- package/src/plots/rose/adaptor.ts +0 -173
- package/src/plots/rose/constant.ts +0 -28
- package/src/plots/rose/index.ts +0 -43
- package/src/plots/rose/types.ts +0 -56
- package/src/plots/sankey/adaptor.ts +0 -190
- package/src/plots/sankey/circle.ts +0 -108
- package/src/plots/sankey/constant.ts +0 -5
- package/src/plots/sankey/helper.ts +0 -92
- package/src/plots/sankey/index.ts +0 -119
- package/src/plots/sankey/interactions/actions/node-drag.ts +0 -175
- package/src/plots/sankey/interactions/index.ts +0 -1
- package/src/plots/sankey/interactions/node-draggable.ts +0 -17
- package/src/plots/sankey/layout.ts +0 -187
- package/src/plots/sankey/sankey/align.ts +0 -21
- package/src/plots/sankey/sankey/helper.ts +0 -42
- package/src/plots/sankey/sankey/index.ts +0 -11
- package/src/plots/sankey/sankey/sankey.ts +0 -405
- package/src/plots/sankey/types.ts +0 -146
- package/src/plots/scatter/adaptor.ts +0 -355
- package/src/plots/scatter/constant.ts +0 -17
- package/src/plots/scatter/index.ts +0 -63
- package/src/plots/scatter/interactions/index.ts +0 -1
- package/src/plots/scatter/types.ts +0 -142
- package/src/plots/scatter/util.ts +0 -282
- package/src/plots/stock/adaptor.ts +0 -140
- package/src/plots/stock/constant.ts +0 -56
- package/src/plots/stock/index.ts +0 -46
- package/src/plots/stock/types.ts +0 -31
- package/src/plots/stock/utils.ts +0 -19
- package/src/plots/sunburst/adaptor.ts +0 -239
- package/src/plots/sunburst/constant.ts +0 -54
- package/src/plots/sunburst/index.ts +0 -43
- package/src/plots/sunburst/interactions/index.ts +0 -2
- package/src/plots/sunburst/types.ts +0 -76
- package/src/plots/sunburst/utils.ts +0 -69
- package/src/plots/tiny-area/adaptor.ts +0 -78
- package/src/plots/tiny-area/constants.ts +0 -21
- package/src/plots/tiny-area/index.ts +0 -43
- package/src/plots/tiny-area/types.ts +0 -28
- package/src/plots/tiny-column/adaptor.ts +0 -50
- package/src/plots/tiny-column/constants.ts +0 -27
- package/src/plots/tiny-column/index.ts +0 -43
- package/src/plots/tiny-column/types.ts +0 -18
- package/src/plots/tiny-line/adaptor.ts +0 -56
- package/src/plots/tiny-line/constants.ts +0 -34
- package/src/plots/tiny-line/index.ts +0 -43
- package/src/plots/tiny-line/types.ts +0 -29
- package/src/plots/tiny-line/utils.ts +0 -5
- package/src/plots/treemap/adaptor.ts +0 -161
- package/src/plots/treemap/constant.ts +0 -38
- package/src/plots/treemap/index.ts +0 -50
- package/src/plots/treemap/interactions/index.ts +0 -4
- package/src/plots/treemap/types.ts +0 -31
- package/src/plots/treemap/utils.ts +0 -106
- package/src/plots/venn/adaptor.ts +0 -278
- package/src/plots/venn/constant.ts +0 -51
- package/src/plots/venn/index.ts +0 -47
- package/src/plots/venn/interactions/actions/active.ts +0 -31
- package/src/plots/venn/interactions/actions/highlight.ts +0 -37
- package/src/plots/venn/interactions/actions/selected.ts +0 -65
- package/src/plots/venn/interactions/index.ts +0 -55
- package/src/plots/venn/interactions/util.ts +0 -12
- package/src/plots/venn/label.ts +0 -26
- package/src/plots/venn/layout/circleintersection.ts +0 -223
- package/src/plots/venn/layout/diagram.ts +0 -219
- package/src/plots/venn/layout/layout.ts +0 -734
- package/src/plots/venn/shape.ts +0 -53
- package/src/plots/venn/types.ts +0 -40
- package/src/plots/venn/utils.ts +0 -106
- package/src/plots/violin/adaptor.ts +0 -308
- package/src/plots/violin/constant.ts +0 -62
- package/src/plots/violin/index.ts +0 -42
- package/src/plots/violin/types.ts +0 -75
- package/src/plots/violin/utils.ts +0 -102
- package/src/plots/waterfall/adaptor.ts +0 -264
- package/src/plots/waterfall/constant.ts +0 -41
- package/src/plots/waterfall/index.ts +0 -48
- package/src/plots/waterfall/shape.ts +0 -76
- package/src/plots/waterfall/types.ts +0 -72
- package/src/plots/waterfall/utils.ts +0 -66
- package/src/plots/word-cloud/adaptor.ts +0 -81
- package/src/plots/word-cloud/constant.ts +0 -32
- package/src/plots/word-cloud/index.ts +0 -98
- package/src/plots/word-cloud/shapes/word-cloud.ts +0 -37
- package/src/plots/word-cloud/types.ts +0 -150
- package/src/plots/word-cloud/utils.ts +0 -267
- package/src/plugin/index.ts +0 -63
- package/src/types/animation.ts +0 -3
- package/src/types/annotation.ts +0 -15
- package/src/types/attr.ts +0 -22
- package/src/types/axis.ts +0 -4
- package/src/types/button.ts +0 -34
- package/src/types/coordinate.ts +0 -17
- package/src/types/drill-down.ts +0 -40
- package/src/types/interaction.ts +0 -52
- package/src/types/label.ts +0 -20
- package/src/types/legend.ts +0 -3
- package/src/types/locale.ts +0 -30
- package/src/types/meta.ts +0 -15
- package/src/types/pattern.ts +0 -90
- package/src/types/relation-data.ts +0 -18
- package/src/types/scrollbar.ts +0 -3
- package/src/types/slider.ts +0 -3
- package/src/types/state.ts +0 -21
- package/src/types/statistic.ts +0 -66
- package/src/types/tooltip.ts +0 -18
- package/src/utils/color/blend.ts +0 -103
- package/src/utils/context.ts +0 -12
- package/src/utils/conversion.ts +0 -26
- package/src/utils/data.ts +0 -115
- package/src/utils/deep-assign.ts +0 -84
- package/src/utils/dom.ts +0 -24
- package/src/utils/flow.ts +0 -13
- package/src/utils/geometry.ts +0 -58
- package/src/utils/hierarchy/pack.ts +0 -49
- package/src/utils/hierarchy/partition.ts +0 -88
- package/src/utils/hierarchy/treemap.ts +0 -93
- package/src/utils/hierarchy/types.ts +0 -27
- package/src/utils/hierarchy/util.ts +0 -71
- package/src/utils/invariant.ts +0 -49
- package/src/utils/kebab-case.ts +0 -12
- package/src/utils/label.ts +0 -15
- package/src/utils/matrix.ts +0 -13
- package/src/utils/measure-text.ts +0 -19
- package/src/utils/number.ts +0 -22
- package/src/utils/padding.ts +0 -70
- package/src/utils/path.ts +0 -161
- package/src/utils/pattern/dot.ts +0 -86
- package/src/utils/pattern/index.ts +0 -45
- package/src/utils/pattern/line.ts +0 -70
- package/src/utils/pattern/square.ts +0 -78
- package/src/utils/pattern/util.ts +0 -104
- package/src/utils/pick.ts +0 -18
- package/src/utils/statistic.ts +0 -197
- package/src/utils/template.ts +0 -18
- package/src/utils/tooltip.ts +0 -27
- package/src/utils/transform/chord.ts +0 -231
- package/src/utils/transform/histogram.ts +0 -90
- package/src/utils/transform/percent.ts +0 -96
- package/src/utils/transform/quantile.ts +0 -216
- package/src/utils/transform/sankey.ts +0 -0
- package/src/utils/transform/word-cloud.ts +0 -537
- package/src/utils/view.ts +0 -64
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.chordLayout = exports.getDefaultOptions = void 0;
|
|
4
|
-
/*
|
|
5
|
-
* for Arc Diagram (edges without weight) / Chord Diagram (edges with source and target weight)
|
|
6
|
-
* graph data required (nodes, edges)
|
|
7
|
-
*/
|
|
8
|
-
var util_1 = require("@antv/util");
|
|
9
|
-
var DEFAULT_OPTIONS = {
|
|
10
|
-
y: 0,
|
|
11
|
-
nodeWidthRatio: 0.05,
|
|
12
|
-
weight: false,
|
|
13
|
-
nodePaddingRatio: 0.1,
|
|
14
|
-
id: function (node) { return node.id; },
|
|
15
|
-
source: function (edge) { return edge.source; },
|
|
16
|
-
target: function (edge) { return edge.target; },
|
|
17
|
-
sourceWeight: function (edge) { return edge.value || 1; },
|
|
18
|
-
targetWeight: function (edge) { return edge.value || 1; },
|
|
19
|
-
sortBy: null, // optional, id | weight | frequency | {function}
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* 处理节点的value、edges
|
|
23
|
-
* @param nodeById
|
|
24
|
-
* @param edges
|
|
25
|
-
* @param options
|
|
26
|
-
*/
|
|
27
|
-
function processGraph(nodeById, edges, options) {
|
|
28
|
-
(0, util_1.forIn)(nodeById, function (node, id) {
|
|
29
|
-
// in edges, out edges
|
|
30
|
-
node.inEdges = edges.filter(function (edge) { return "".concat(options.target(edge)) === "".concat(id); });
|
|
31
|
-
node.outEdges = edges.filter(function (edge) { return "".concat(options.source(edge)) === "".concat(id); });
|
|
32
|
-
// frequency
|
|
33
|
-
node.edges = node.outEdges.concat(node.inEdges);
|
|
34
|
-
node.frequency = node.edges.length;
|
|
35
|
-
// weight
|
|
36
|
-
node.value = 0;
|
|
37
|
-
node.inEdges.forEach(function (edge) {
|
|
38
|
-
node.value += options.targetWeight(edge);
|
|
39
|
-
});
|
|
40
|
-
node.outEdges.forEach(function (edge) {
|
|
41
|
-
node.value += options.sourceWeight(edge);
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* 节点排序
|
|
47
|
-
* @param nodes
|
|
48
|
-
* @param options
|
|
49
|
-
*/
|
|
50
|
-
function sortNodes(nodes, options) {
|
|
51
|
-
var sortMethods = {
|
|
52
|
-
weight: function (a, b) { return b.value - a.value; },
|
|
53
|
-
frequency: function (a, b) { return b.frequency - a.frequency; },
|
|
54
|
-
id: function (a, b) { return "".concat(options.id(a)).localeCompare("".concat(options.id(b))); },
|
|
55
|
-
};
|
|
56
|
-
var method = sortMethods[options.sortBy];
|
|
57
|
-
if (!method && (0, util_1.isFunction)(options.sortBy)) {
|
|
58
|
-
method = options.sortBy;
|
|
59
|
-
}
|
|
60
|
-
if (method) {
|
|
61
|
-
nodes.sort(method);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function layoutNodes(nodes, options) {
|
|
65
|
-
var len = nodes.length;
|
|
66
|
-
if (!len) {
|
|
67
|
-
throw new TypeError("Invalid nodes: it's empty!");
|
|
68
|
-
}
|
|
69
|
-
if (options.weight) {
|
|
70
|
-
var nodePaddingRatio_1 = options.nodePaddingRatio;
|
|
71
|
-
if (nodePaddingRatio_1 < 0 || nodePaddingRatio_1 >= 1) {
|
|
72
|
-
throw new TypeError('Invalid nodePaddingRatio: it must be in range [0, 1)!');
|
|
73
|
-
}
|
|
74
|
-
var margin_1 = nodePaddingRatio_1 / (2 * len);
|
|
75
|
-
var nodeWidthRatio_1 = options.nodeWidthRatio;
|
|
76
|
-
if (nodeWidthRatio_1 <= 0 || nodeWidthRatio_1 >= 1) {
|
|
77
|
-
throw new TypeError('Invalid nodeWidthRatio: it must be in range (0, 1)!');
|
|
78
|
-
}
|
|
79
|
-
var totalValue_1 = 0;
|
|
80
|
-
nodes.forEach(function (node) {
|
|
81
|
-
totalValue_1 += node.value;
|
|
82
|
-
});
|
|
83
|
-
nodes.forEach(function (node) {
|
|
84
|
-
node.weight = node.value / totalValue_1;
|
|
85
|
-
node.width = node.weight * (1 - nodePaddingRatio_1);
|
|
86
|
-
node.height = nodeWidthRatio_1;
|
|
87
|
-
});
|
|
88
|
-
nodes.forEach(function (node, index) {
|
|
89
|
-
// x
|
|
90
|
-
var deltaX = 0;
|
|
91
|
-
for (var i = index - 1; i >= 0; i--) {
|
|
92
|
-
deltaX += nodes[i].width + 2 * margin_1;
|
|
93
|
-
}
|
|
94
|
-
var minX = (node.minX = margin_1 + deltaX);
|
|
95
|
-
var maxX = (node.maxX = node.minX + node.width);
|
|
96
|
-
var minY = (node.minY = options.y - nodeWidthRatio_1 / 2);
|
|
97
|
-
var maxY = (node.maxY = minY + nodeWidthRatio_1);
|
|
98
|
-
node.x = [minX, maxX, maxX, minX];
|
|
99
|
-
node.y = [minY, minY, maxY, maxY];
|
|
100
|
-
/* points
|
|
101
|
-
* 3---2
|
|
102
|
-
* | |
|
|
103
|
-
* 0---1
|
|
104
|
-
*/
|
|
105
|
-
// node.x = minX + 0.5 * node.width;
|
|
106
|
-
// node.y = options.y;
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
var deltaX_1 = 1 / len;
|
|
111
|
-
nodes.forEach(function (node, index) {
|
|
112
|
-
node.x = (index + 0.5) * deltaX_1;
|
|
113
|
-
node.y = options.y;
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
return nodes;
|
|
117
|
-
}
|
|
118
|
-
function locatingEdges(nodeById, edges, options) {
|
|
119
|
-
if (options.weight) {
|
|
120
|
-
var valueById_1 = {};
|
|
121
|
-
(0, util_1.forIn)(nodeById, function (node, id) {
|
|
122
|
-
valueById_1[id] = node.value;
|
|
123
|
-
});
|
|
124
|
-
edges.forEach(function (edge) {
|
|
125
|
-
var sId = options.source(edge);
|
|
126
|
-
var tId = options.target(edge);
|
|
127
|
-
var sNode = nodeById[sId];
|
|
128
|
-
var tNode = nodeById[tId];
|
|
129
|
-
if (sNode && tNode) {
|
|
130
|
-
var sValue = valueById_1[sId];
|
|
131
|
-
var currentSValue = options.sourceWeight(edge);
|
|
132
|
-
var sStart = sNode.minX + ((sNode.value - sValue) / sNode.value) * sNode.width;
|
|
133
|
-
var sEnd = sStart + (currentSValue / sNode.value) * sNode.width;
|
|
134
|
-
valueById_1[sId] -= currentSValue;
|
|
135
|
-
var tValue = valueById_1[tId];
|
|
136
|
-
var currentTValue = options.targetWeight(edge);
|
|
137
|
-
var tStart = tNode.minX + ((tNode.value - tValue) / tNode.value) * tNode.width;
|
|
138
|
-
var tEnd = tStart + (currentTValue / tNode.value) * tNode.width;
|
|
139
|
-
valueById_1[tId] -= currentTValue;
|
|
140
|
-
var y = options.y;
|
|
141
|
-
edge.x = [sStart, sEnd, tStart, tEnd];
|
|
142
|
-
edge.y = [y, y, y, y];
|
|
143
|
-
// 将edge的source与target的id换为 sourceNode与targetNode
|
|
144
|
-
edge.source = sNode;
|
|
145
|
-
edge.target = tNode;
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
edges.forEach(function (edge) {
|
|
151
|
-
var sNode = nodeById[options.source(edge)];
|
|
152
|
-
var tNode = nodeById[options.target(edge)];
|
|
153
|
-
if (sNode && tNode) {
|
|
154
|
-
edge.x = [sNode.x, tNode.x];
|
|
155
|
-
edge.y = [sNode.y, tNode.y];
|
|
156
|
-
// 将edge的source与target的id换为 sourceNode与targetNode
|
|
157
|
-
edge.source = sNode;
|
|
158
|
-
edge.target = tNode;
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
return edges;
|
|
163
|
-
}
|
|
164
|
-
function getDefaultOptions(options) {
|
|
165
|
-
return (0, util_1.assign)({}, DEFAULT_OPTIONS, options);
|
|
166
|
-
}
|
|
167
|
-
exports.getDefaultOptions = getDefaultOptions;
|
|
168
|
-
function chordLayout(chordLayoutOptions, chordLayoutInputData) {
|
|
169
|
-
var options = getDefaultOptions(chordLayoutOptions);
|
|
170
|
-
var nodeById = {};
|
|
171
|
-
var nodes = chordLayoutInputData.nodes;
|
|
172
|
-
var links = chordLayoutInputData.links;
|
|
173
|
-
nodes.forEach(function (node) {
|
|
174
|
-
var id = options.id(node);
|
|
175
|
-
nodeById[id] = node;
|
|
176
|
-
});
|
|
177
|
-
processGraph(nodeById, links, options);
|
|
178
|
-
sortNodes(nodes, options);
|
|
179
|
-
var outputNodes = layoutNodes(nodes, options);
|
|
180
|
-
var outputLinks = locatingEdges(nodeById, links, options);
|
|
181
|
-
return {
|
|
182
|
-
nodes: outputNodes,
|
|
183
|
-
links: outputLinks,
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
exports.chordLayout = chordLayout;
|
|
187
|
-
//# sourceMappingURL=chord.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chord.js","sourceRoot":"","sources":["../../../src/utils/transform/chord.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,mCAAuD;AAGvD,IAAM,eAAe,GAAuB;IAC1C,CAAC,EAAE,CAAC;IACJ,cAAc,EAAE,IAAI;IACpB,MAAM,EAAE,KAAK;IACb,gBAAgB,EAAE,GAAG;IACrB,EAAE,EAAE,UAAC,IAAI,IAAK,OAAA,IAAI,CAAC,EAAE,EAAP,CAAO;IACrB,MAAM,EAAE,UAAC,IAAI,IAAK,OAAA,IAAI,CAAC,MAAM,EAAX,CAAW;IAC7B,MAAM,EAAE,UAAC,IAAI,IAAK,OAAA,IAAI,CAAC,MAAM,EAAX,CAAW;IAC7B,YAAY,EAAE,UAAC,IAAI,IAAK,OAAA,IAAI,CAAC,KAAK,IAAI,CAAC,EAAf,CAAe;IACvC,YAAY,EAAE,UAAC,IAAI,IAAK,OAAA,IAAI,CAAC,KAAK,IAAI,CAAC,EAAf,CAAe;IACvC,MAAM,EAAE,IAAI,EAAE,iDAAiD;CAChE,CAAC;AAyCF;;;;;GAKG;AACH,SAAS,YAAY,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO;IAC5C,IAAA,YAAK,EAAC,QAAQ,EAAE,UAAC,IAAI,EAAE,EAAE;QACvB,sBAAsB;QACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,UAAC,IAAI,IAAK,OAA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E,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC5B,iDAAiD;gBACjD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;gBACpB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;aACrB;QACH,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAgB,iBAAiB,CAAC,OAA2B;IAC3D,OAAO,IAAA,aAAM,EAAC,EAAE,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;AAC9C,CAAC;AAFD,8CAEC;AAED,SAAgB,WAAW,CACzB,kBAAsC,EACtC,oBAAkC;IAElC,IAAM,OAAO,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IACtD,IAAM,QAAQ,GAAG,EAAE,CAAC;IACpB,IAAM,KAAK,GAAG,oBAAoB,CAAC,KAAK,CAAC;IACzC,IAAM,KAAK,GAAG,oBAAoB,CAAC,KAAK,CAAC;IACzC,KAAK,CAAC,OAAO,CAAC,UAAC,IAAI;QACjB,IAAM,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;QAC5B,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACtB,CAAC,CAAC,CAAC;IACH,YAAY,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IACvC,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1B,IAAM,WAAW,GAAG,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChD,IAAM,WAAW,GAAG,aAAa,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5D,OAAO;QACL,KAAK,EAAE,WAAW;QAClB,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC;AApBD,kCAoBC","sourcesContent":["/*\n * for Arc Diagram (edges without weight) / Chord Diagram (edges with source and target weight)\n * graph data required (nodes, edges)\n */\nimport { assign, forIn, isFunction } from '@antv/util';\nimport { NodeLinkData } from '../../types/relation-data';\n\nconst DEFAULT_OPTIONS: ChordLayoutOptions = {\n y: 0,\n nodeWidthRatio: 0.05, // width of the node, (0, 1)\n weight: false,\n nodePaddingRatio: 0.1, // margin ratio, [0, 1)\n id: (node) => node.id,\n source: (edge) => edge.source,\n target: (edge) => edge.target,\n sourceWeight: (edge) => edge.value || 1,\n targetWeight: (edge) => edge.value || 1,\n sortBy: null, // optional, id | weight | frequency | {function}\n};\n\nexport type ChordLayoutOptions = {\n weight?: boolean;\n y?: number;\n nodeWidthRatio?: number; // 节点的宽度比例,对应于极坐标系的厚度,(0, 1)\n nodePaddingRatio?: number; // 节点之间的间距的比例,[0, 1)\n id?(node: any): any;\n source?(edge: any): any;\n target?(edge: any): any;\n sourceWeight?(edge: any): number;\n targetWeight?(edge: any): number;\n sortBy?: 'id' | 'weight' | 'frequency' | null | ((a: any, b: any) => number);\n};\n\ntype OutputNode = {\n readonly id: number;\n readonly name: string;\n // readonly depth: number;\n readonly value: number;\n\n // 用于绘制 polygon\n x: number[];\n y: number[];\n};\n\ntype OutputLink = {\n readonly source: OutputNode;\n readonly target: OutputNode;\n readonly value: number;\n\n // 用于绘制 edge\n x?: number[];\n y?: number[];\n};\n\ntype ChordLayoutOutputData = {\n readonly nodes: OutputNode[];\n readonly links: OutputLink[];\n};\n\n/**\n * 处理节点的value、edges\n * @param nodeById\n * @param edges\n * @param options\n */\nfunction processGraph(nodeById, edges, options) {\n forIn(nodeById, (node, id) => {\n // in edges, out edges\n node.inEdges = edges.filter((edge) => `${options.target(edge)}` === `${id}`);\n node.outEdges = edges.filter((edge) => `${options.source(edge)}` === `${id}`);\n // frequency\n node.edges = node.outEdges.concat(node.inEdges);\n node.frequency = node.edges.length;\n // weight\n node.value = 0;\n node.inEdges.forEach((edge) => {\n node.value += options.targetWeight(edge);\n });\n node.outEdges.forEach((edge) => {\n node.value += options.sourceWeight(edge);\n });\n });\n}\n\n/**\n * 节点排序\n * @param nodes\n * @param options\n */\nfunction sortNodes(nodes, options) {\n const sortMethods = {\n weight: (a, b) => b.value - a.value,\n frequency: (a, b) => b.frequency - a.frequency,\n id: (a, b) => `${options.id(a)}`.localeCompare(`${options.id(b)}`),\n };\n let method = sortMethods[options.sortBy];\n if (!method && isFunction(options.sortBy)) {\n method = options.sortBy;\n }\n if (method) {\n nodes.sort(method);\n }\n}\n\nfunction layoutNodes(nodes, options): OutputNode[] {\n const len = nodes.length;\n if (!len) {\n throw new TypeError(\"Invalid nodes: it's empty!\");\n }\n if (options.weight) {\n const nodePaddingRatio = options.nodePaddingRatio;\n if (nodePaddingRatio < 0 || nodePaddingRatio >= 1) {\n throw new TypeError('Invalid nodePaddingRatio: it must be in range [0, 1)!');\n }\n const margin = nodePaddingRatio / (2 * len);\n const nodeWidthRatio = options.nodeWidthRatio;\n if (nodeWidthRatio <= 0 || nodeWidthRatio >= 1) {\n throw new TypeError('Invalid nodeWidthRatio: it must be in range (0, 1)!');\n }\n let totalValue = 0;\n nodes.forEach((node) => {\n totalValue += node.value;\n });\n nodes.forEach((node) => {\n node.weight = node.value / totalValue;\n node.width = node.weight * (1 - nodePaddingRatio);\n node.height = nodeWidthRatio;\n });\n nodes.forEach((node, index) => {\n // x\n let deltaX = 0;\n for (let i = index - 1; i >= 0; i--) {\n deltaX += nodes[i].width + 2 * margin;\n }\n const minX = (node.minX = margin + deltaX);\n const maxX = (node.maxX = node.minX + node.width);\n const minY = (node.minY = options.y - nodeWidthRatio / 2);\n const maxY = (node.maxY = minY + nodeWidthRatio);\n node.x = [minX, maxX, maxX, minX];\n node.y = [minY, minY, maxY, maxY];\n /* points\n * 3---2\n * | |\n * 0---1\n */\n // node.x = minX + 0.5 * node.width;\n // node.y = options.y;\n });\n } else {\n const deltaX = 1 / len;\n nodes.forEach((node, index) => {\n node.x = (index + 0.5) * deltaX;\n node.y = options.y;\n });\n }\n return nodes;\n}\n\nfunction locatingEdges(nodeById, edges, options): OutputLink[] {\n if (options.weight) {\n const valueById = {};\n forIn(nodeById, (node, id) => {\n valueById[id] = node.value;\n });\n edges.forEach((edge) => {\n const sId = options.source(edge);\n const tId = options.target(edge);\n const sNode = nodeById[sId];\n const tNode = nodeById[tId];\n if (sNode && tNode) {\n const sValue = valueById[sId];\n const currentSValue = options.sourceWeight(edge);\n const sStart = sNode.minX + ((sNode.value - sValue) / sNode.value) * sNode.width;\n const sEnd = sStart + (currentSValue / sNode.value) * sNode.width;\n valueById[sId] -= currentSValue;\n\n const tValue = valueById[tId];\n const currentTValue = options.targetWeight(edge);\n const tStart = tNode.minX + ((tNode.value - tValue) / tNode.value) * tNode.width;\n const tEnd = tStart + (currentTValue / tNode.value) * tNode.width;\n valueById[tId] -= currentTValue;\n\n const y = options.y;\n edge.x = [sStart, sEnd, tStart, tEnd];\n edge.y = [y, y, y, y];\n // 将edge的source与target的id换为 sourceNode与targetNode\n edge.source = sNode;\n edge.target = tNode;\n }\n });\n } else {\n edges.forEach((edge) => {\n const sNode = nodeById[options.source(edge)];\n const tNode = nodeById[options.target(edge)];\n if (sNode && tNode) {\n edge.x = [sNode.x, tNode.x];\n edge.y = [sNode.y, tNode.y];\n // 将edge的source与target的id换为 sourceNode与targetNode\n edge.source = sNode;\n edge.target = tNode;\n }\n });\n }\n return edges;\n}\n\nexport function getDefaultOptions(options: ChordLayoutOptions): ChordLayoutOptions {\n return assign({}, DEFAULT_OPTIONS, options);\n}\n\nexport function chordLayout(\n chordLayoutOptions: ChordLayoutOptions,\n chordLayoutInputData: NodeLinkData\n): ChordLayoutOutputData {\n const options = getDefaultOptions(chordLayoutOptions);\n const nodeById = {};\n const nodes = chordLayoutInputData.nodes;\n const links = chordLayoutInputData.links;\n nodes.forEach((node) => {\n const id = options.id(node);\n nodeById[id] = node;\n });\n processGraph(nodeById, links, options);\n sortNodes(nodes, options);\n const outputNodes = layoutNodes(nodes, options);\n const outputLinks = locatingEdges(nodeById, links, options);\n return {\n nodes: outputNodes,\n links: outputLinks,\n };\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Data } from '../../types';
|
|
2
|
-
type StatisticData = {
|
|
3
|
-
range: Array<number>;
|
|
4
|
-
count: number;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* 对数据进行百分比化
|
|
8
|
-
* @param data
|
|
9
|
-
* @param binField
|
|
10
|
-
* @param binWidth
|
|
11
|
-
* @param binNumber
|
|
12
|
-
* @param stackField
|
|
13
|
-
*/
|
|
14
|
-
export declare function binHistogram(data: Data, binField: string, binWidth: number, binNumber?: number, stackField?: string): StatisticData[];
|
|
15
|
-
export {};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.binHistogram = void 0;
|
|
4
|
-
var util_1 = require("@antv/util");
|
|
5
|
-
// 进行转换得到值所在的 range
|
|
6
|
-
function getBinKey(value, binWidth, binNumber) {
|
|
7
|
-
// 做一点特殊处理
|
|
8
|
-
if (binNumber === 1) {
|
|
9
|
-
return [0, binWidth];
|
|
10
|
-
}
|
|
11
|
-
var index = Math.floor(value / binWidth);
|
|
12
|
-
return [binWidth * index, binWidth * (index + 1)];
|
|
13
|
-
}
|
|
14
|
-
// 默认 sturges 转换
|
|
15
|
-
function sturges(values) {
|
|
16
|
-
return Math.ceil(Math.log(values.length) / Math.LN2) + 1;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* 对数据进行百分比化
|
|
20
|
-
* @param data
|
|
21
|
-
* @param binField
|
|
22
|
-
* @param binWidth
|
|
23
|
-
* @param binNumber
|
|
24
|
-
* @param stackField
|
|
25
|
-
*/
|
|
26
|
-
function binHistogram(data, binField, binWidth, binNumber, stackField) {
|
|
27
|
-
var originData_copy = (0, util_1.clone)(data);
|
|
28
|
-
// 根据 binField 对源数据进行排序
|
|
29
|
-
(0, util_1.sortBy)(originData_copy, binField);
|
|
30
|
-
// 获取源数据 binField 的 range
|
|
31
|
-
var values = (0, util_1.valuesOfKey)(originData_copy, binField);
|
|
32
|
-
var range = (0, util_1.getRange)(values);
|
|
33
|
-
var rangeWidth = range.max - range.min;
|
|
34
|
-
// 计算分箱,直方图分箱的计算基于 binWidth,如配置了 binNumber 则将其转为 binWidth 进行计算
|
|
35
|
-
var _binWidth = binWidth;
|
|
36
|
-
if (!binWidth && binNumber) {
|
|
37
|
-
_binWidth = binNumber > 1 ? rangeWidth / (binNumber - 1) : range.max;
|
|
38
|
-
}
|
|
39
|
-
// 当 binWidth 和 binNumber 都没有指定的情况,采用 Sturges formula 自动生成 binWidth
|
|
40
|
-
if (!binWidth && !binNumber) {
|
|
41
|
-
var _defaultBinNumber = sturges(values);
|
|
42
|
-
_binWidth = rangeWidth / _defaultBinNumber;
|
|
43
|
-
}
|
|
44
|
-
// 构建 key - StatisticData 结构
|
|
45
|
-
var bins = {};
|
|
46
|
-
var groups = (0, util_1.groupBy)(originData_copy, stackField);
|
|
47
|
-
// 判断分组是否为空,如果为空,说明没有 stackField 字段
|
|
48
|
-
if ((0, util_1.isEmpty)(groups)) {
|
|
49
|
-
(0, util_1.each)(originData_copy, function (data) {
|
|
50
|
-
var value = data[binField];
|
|
51
|
-
var bin = getBinKey(value, _binWidth, binNumber);
|
|
52
|
-
var binKey = "".concat(bin[0], "-").concat(bin[1]);
|
|
53
|
-
if (!(0, util_1.hasKey)(bins, binKey)) {
|
|
54
|
-
bins[binKey] = { range: bin, count: 0 };
|
|
55
|
-
}
|
|
56
|
-
bins[binKey].count += 1;
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
Object.keys(groups).forEach(function (groupKey) {
|
|
61
|
-
(0, util_1.each)(groups[groupKey], function (data) {
|
|
62
|
-
var value = data[binField];
|
|
63
|
-
var bin = getBinKey(value, _binWidth, binNumber);
|
|
64
|
-
var binKey = "".concat(bin[0], "-").concat(bin[1]);
|
|
65
|
-
var groupKeyBinKey = "".concat(binKey, "-").concat(groupKey);
|
|
66
|
-
if (!(0, util_1.hasKey)(bins, groupKeyBinKey)) {
|
|
67
|
-
bins[groupKeyBinKey] = { range: bin, count: 0 };
|
|
68
|
-
bins[groupKeyBinKey][stackField] = groupKey;
|
|
69
|
-
}
|
|
70
|
-
bins[groupKeyBinKey].count += 1;
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
// 将分箱数据转换为 plotData 才是图表所需要的
|
|
75
|
-
var plotData = [];
|
|
76
|
-
(0, util_1.each)(bins, function (bin) {
|
|
77
|
-
plotData.push(bin);
|
|
78
|
-
});
|
|
79
|
-
return plotData;
|
|
80
|
-
}
|
|
81
|
-
exports.binHistogram = binHistogram;
|
|
82
|
-
//# sourceMappingURL=histogram.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"histogram.js","sourceRoot":"","sources":["../../../src/utils/transform/histogram.ts"],"names":[],"mappings":";;;AAAA,mCAAkG;AAWlG,mBAAmB;AACnB,SAAS,SAAS,CAAC,KAAa,EAAE,QAAgB,EAAE,SAAkB;IACpE,UAAU;IACV,IAAI,SAAS,KAAK,CAAC,EAAE;QACnB,OAAO,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;KACtB;IACD,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,QAAQ,CAAC,CAAC;IAC3C,OAAO,CAAC,QAAQ,GAAG,KAAK,EAAE,QAAQ,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;AACpD,CAAC;AAED,gBAAgB;AAChB,SAAS,OAAO,CAAC,MAAqB;IACpC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAC3D,CAAC;AACD;;;;;;;GAOG;AACH,SAAgB,YAAY,CAAC,IAAU,EAAE,QAAgB,EAAE,QAAgB,EAAE,SAAkB,EAAE,UAAmB;IAClH,IAA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AAC;IACH,OAAO,QAAQ,CAAC;AAClB,CAAC;AAxDD,oCAwDC","sourcesContent":["import { clone, each, getRange, groupBy, hasKey, isEmpty, sortBy, valuesOfKey } from '@antv/util';\nimport { Data } from '../../types';\n\ntype StatisticData = {\n range: Array<number>;\n count: number;\n};\ntype StatisticBin = {\n [key: string]: StatisticData;\n};\n\n// 进行转换得到值所在的 range\nfunction getBinKey(value: number, binWidth: number, binNumber?: number): [number, number] {\n // 做一点特殊处理\n if (binNumber === 1) {\n return [0, binWidth];\n }\n const index = Math.floor(value / binWidth);\n return [binWidth * index, binWidth * (index + 1)];\n}\n\n// 默认 sturges 转换\nfunction sturges(values: Array<number>): number {\n return Math.ceil(Math.log(values.length) / Math.LN2) + 1;\n}\n/**\n * 对数据进行百分比化\n * @param data\n * @param binField\n * @param binWidth\n * @param binNumber\n * @param stackField\n */\nexport function binHistogram(data: Data, binField: string, binWidth: number, binNumber?: number, stackField?: string) {\n const originData_copy = clone(data);\n\n // 根据 binField 对源数据进行排序\n sortBy(originData_copy, binField);\n\n // 获取源数据 binField 的 range\n const values = valuesOfKey(originData_copy, binField);\n const range = getRange(values);\n const rangeWidth = range.max - range.min;\n\n // 计算分箱,直方图分箱的计算基于 binWidth,如配置了 binNumber 则将其转为 binWidth 进行计算\n let _binWidth = binWidth;\n if (!binWidth && binNumber) {\n _binWidth = binNumber > 1 ? rangeWidth / (binNumber - 1) : range.max;\n }\n // 当 binWidth 和 binNumber 都没有指定的情况,采用 Sturges formula 自动生成 binWidth\n if (!binWidth && !binNumber) {\n const _defaultBinNumber = sturges(values);\n _binWidth = rangeWidth / _defaultBinNumber;\n }\n // 构建 key - StatisticData 结构\n const bins: StatisticBin = {};\n const groups = groupBy(originData_copy, stackField);\n // 判断分组是否为空,如果为空,说明没有 stackField 字段\n if (isEmpty(groups)) {\n each(originData_copy, (data: any) => {\n const value = data[binField];\n const bin = getBinKey(value, _binWidth, binNumber);\n const binKey = `${bin[0]}-${bin[1]}`;\n if (!hasKey(bins, binKey)) {\n bins[binKey] = { range: bin, count: 0 };\n }\n bins[binKey].count += 1;\n });\n } else {\n Object.keys(groups).forEach((groupKey: string) => {\n each(groups[groupKey], (data: any) => {\n const value = data[binField];\n const bin = getBinKey(value, _binWidth, binNumber);\n const binKey = `${bin[0]}-${bin[1]}`;\n const groupKeyBinKey = `${binKey}-${groupKey}`;\n if (!hasKey(bins, groupKeyBinKey)) {\n bins[groupKeyBinKey] = { range: bin, count: 0 };\n bins[groupKeyBinKey][stackField] = groupKey;\n }\n bins[groupKeyBinKey].count += 1;\n });\n });\n }\n // 将分箱数据转换为 plotData 才是图表所需要的\n const plotData: Array<StatisticData> = [];\n each(bins, (bin: StatisticData) => {\n plotData.push(bin);\n });\n return plotData;\n}\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Data } from '../../types';
|
|
2
|
-
/**
|
|
3
|
-
* 对数据进行百分比化
|
|
4
|
-
* @param data
|
|
5
|
-
* @param measure
|
|
6
|
-
* @param groupField
|
|
7
|
-
* @param as
|
|
8
|
-
*/
|
|
9
|
-
export declare function percent(data: Data, measure: string, groupField: string, as: string): {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
}[];
|
|
12
|
-
/**
|
|
13
|
-
* 对数据进行深层百分比化
|
|
14
|
-
* @param data
|
|
15
|
-
* @param measure // 数值
|
|
16
|
-
* @param fields // 需要分组的 field值
|
|
17
|
-
* @param as // 存储percent 百分比的值
|
|
18
|
-
*/
|
|
19
|
-
export declare function getDeepPercent(data: Record<string, any>[], measure: string, fields: string[], percent: string): {
|
|
20
|
-
[x: string]: any;
|
|
21
|
-
}[];
|
|
22
|
-
/**
|
|
23
|
-
* 获取数据,如果是百分比,进行数据转换 (适用于面积图、柱状图、条形图)
|
|
24
|
-
* @param isPercent 是否百分比
|
|
25
|
-
*/
|
|
26
|
-
export declare function getDataWhetherPercentage(data: Record<string, any>[], yField: string, groupField: string, asField: string, isPercent?: boolean): Record<string, any>[];
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getDataWhetherPercentage = exports.getDeepPercent = exports.percent = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var util_1 = require("@antv/util");
|
|
6
|
-
var number_1 = require("../number");
|
|
7
|
-
/**
|
|
8
|
-
* 对数据进行百分比化
|
|
9
|
-
* @param data
|
|
10
|
-
* @param measure
|
|
11
|
-
* @param groupField
|
|
12
|
-
* @param as
|
|
13
|
-
*/
|
|
14
|
-
function percent(data, measure, groupField, as) {
|
|
15
|
-
// 1. 先计算每一个分组的 max 值
|
|
16
|
-
var sumMap = (0, util_1.reduce)(data, function (map, datum) {
|
|
17
|
-
var groupValue = datum[groupField];
|
|
18
|
-
var sum = map.has(groupValue) ? map.get(groupValue) : 0;
|
|
19
|
-
var v = datum[measure];
|
|
20
|
-
sum = (0, number_1.isRealNumber)(v) ? sum + v : sum;
|
|
21
|
-
map.set(groupValue, sum);
|
|
22
|
-
return map;
|
|
23
|
-
}, new Map());
|
|
24
|
-
// 2. 循环数组,计算占比
|
|
25
|
-
return (0, util_1.map)(data, function (datum) {
|
|
26
|
-
var _a;
|
|
27
|
-
var v = datum[measure];
|
|
28
|
-
var groupValue = datum[groupField];
|
|
29
|
-
var percentage = (0, number_1.isRealNumber)(v) && sumMap.get(groupValue) !== 0 ? v / sumMap.get(groupValue) : 0;
|
|
30
|
-
return tslib_1.__assign(tslib_1.__assign({}, datum), (_a = {}, _a[as] = percentage, _a));
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
exports.percent = percent;
|
|
34
|
-
/**
|
|
35
|
-
* 对数据进行深层百分比化
|
|
36
|
-
* @param data
|
|
37
|
-
* @param measure // 数值
|
|
38
|
-
* @param fields // 需要分组的 field值
|
|
39
|
-
* @param as // 存储percent 百分比的值
|
|
40
|
-
*/
|
|
41
|
-
function getDeepPercent(data, measure, fields, percent) {
|
|
42
|
-
var sumMap = (0, util_1.reduce)(data, function (map, datum) {
|
|
43
|
-
// 获取分组得到的枚举key值
|
|
44
|
-
var groupValue = (0, util_1.reduce)(fields, function (value, field) { return "".concat(value).concat(datum[field]); }, '');
|
|
45
|
-
var sum = map.has(groupValue) ? map.get(groupValue) : 0;
|
|
46
|
-
var v = datum[measure];
|
|
47
|
-
sum = (0, number_1.isRealNumber)(v) ? sum + v : sum;
|
|
48
|
-
map.set(groupValue, sum);
|
|
49
|
-
return map;
|
|
50
|
-
}, new Map());
|
|
51
|
-
// 2. 循环数组,计算占比
|
|
52
|
-
return (0, util_1.map)(data, function (datum) {
|
|
53
|
-
var _a;
|
|
54
|
-
var v = datum[measure];
|
|
55
|
-
// 获取分组得到的枚举key值
|
|
56
|
-
var groupValue = (0, util_1.reduce)(fields, function (value, field) { return "".concat(value).concat(datum[field]); }, '');
|
|
57
|
-
var percentage = (0, number_1.isRealNumber)(v) && sumMap.get(groupValue) !== 0 ? v / sumMap.get(groupValue) : 0;
|
|
58
|
-
return tslib_1.__assign(tslib_1.__assign({}, datum), (_a = {}, _a[percent] = percentage, _a));
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
exports.getDeepPercent = getDeepPercent;
|
|
62
|
-
/**
|
|
63
|
-
* 获取数据,如果是百分比,进行数据转换 (适用于面积图、柱状图、条形图)
|
|
64
|
-
* @param isPercent 是否百分比
|
|
65
|
-
*/
|
|
66
|
-
function getDataWhetherPercentage(data, yField, groupField, asField, isPercent) {
|
|
67
|
-
return !isPercent ? data : percent(data, yField, groupField, asField);
|
|
68
|
-
}
|
|
69
|
-
exports.getDataWhetherPercentage = getDataWhetherPercentage;
|
|
70
|
-
//# sourceMappingURL=percent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"percent.js","sourceRoot":"","sources":["../../../src/utils/transform/percent.ts"],"names":[],"mappings":";;;;AAAA,mCAAyC;AAEzC,oCAAyC;AAEzC;;;;;;GAMG;AACH,SA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AEpG,6CACK,KAAK,gBACP,OAAO,IAAG,UAAU,OACrB;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAhCD,wCAgCC;AAED;;;GAGG;AACH,SAAgB,wBAAwB,CACtC,IAA2B,EAC3B,MAAc,EACd,UAAkB,EAClB,OAAe,EACf,SAAmB;IAEnB,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;AACxE,CAAC;AARD,4DAQC","sourcesContent":["import { map, reduce } from '@antv/util';\nimport { Data, Datum } from '../../types';\nimport { isRealNumber } from '../number';\n\n/**\n * 对数据进行百分比化\n * @param data\n * @param measure\n * @param groupField\n * @param as\n */\nexport function percent(data: Data, measure: string, groupField: string, as: string) {\n // 1. 先计算每一个分组的 max 值\n const sumMap = reduce(\n data,\n (map, datum: Datum) => {\n const groupValue = datum[groupField];\n let sum = map.has(groupValue) ? map.get(groupValue) : 0;\n\n const v = datum[measure];\n\n sum = isRealNumber(v) ? sum + v : sum;\n map.set(groupValue, sum);\n\n return map;\n },\n new Map<string, number>()\n );\n\n // 2. 循环数组,计算占比\n return map(data, (datum: Datum) => {\n const v = datum[measure];\n const groupValue = datum[groupField];\n const percentage = isRealNumber(v) && sumMap.get(groupValue) !== 0 ? v / sumMap.get(groupValue) : 0;\n\n return {\n ...datum,\n [as]: percentage,\n };\n });\n}\n\n/**\n * 对数据进行深层百分比化\n * @param data\n * @param measure // 数值\n * @param fields // 需要分组的 field值\n * @param as // 存储percent 百分比的值\n */\nexport function getDeepPercent(data: Record<string, any>[], measure: string, fields: string[], percent: string) {\n const sumMap = reduce(\n data,\n (map, datum: Datum) => {\n // 获取分组得到的枚举key值\n const groupValue = reduce(fields, (value, field) => `${value}${datum[field]}`, '');\n\n let sum = map.has(groupValue) ? map.get(groupValue) : 0;\n\n const v = datum[measure];\n\n sum = isRealNumber(v) ? sum + v : sum;\n map.set(groupValue, sum);\n\n return map;\n },\n new Map<string, number>()\n );\n\n // 2. 循环数组,计算占比\n return map(data, (datum: Datum) => {\n const v = datum[measure];\n // 获取分组得到的枚举key值\n const groupValue = reduce(fields, (value, field) => `${value}${datum[field]}`, '');\n\n const percentage = isRealNumber(v) && sumMap.get(groupValue) !== 0 ? v / sumMap.get(groupValue) : 0;\n\n return {\n ...datum,\n [percent]: percentage,\n };\n });\n}\n\n/**\n * 获取数据,如果是百分比,进行数据转换 (适用于面积图、柱状图、条形图)\n * @param isPercent 是否百分比\n */\nexport function getDataWhetherPercentage(\n data: Record<string, any>[],\n yField: string,\n groupField: string,\n asField: string,\n isPercent?: boolean\n) {\n return !isPercent ? data : percent(data, yField, groupField, asField);\n}\n"]}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is the internal implementation of quantiles: when you know
|
|
3
|
-
* that the order is sorted, you don't need to re-sort it, and the computations
|
|
4
|
-
* are faster.
|
|
5
|
-
*
|
|
6
|
-
* @param {Array<number>} x sample of one or more data points
|
|
7
|
-
* @param {number} p desired quantile: a number between 0 to 1, inclusive
|
|
8
|
-
* @returns {number} quantile value
|
|
9
|
-
* @throws {Error} if p ix outside of the range from 0 to 1
|
|
10
|
-
* @throws {Error} if x is empty
|
|
11
|
-
* @example
|
|
12
|
-
* quantileSorted([3, 6, 7, 8, 8, 9, 10, 13, 15, 16, 20], 0.5); // => 9
|
|
13
|
-
*/
|
|
14
|
-
export declare function quantileSorted(x: number[], p: number): number;
|
|
15
|
-
/**
|
|
16
|
-
* 交换数组位置
|
|
17
|
-
* @param arr T[]
|
|
18
|
-
* @param i number
|
|
19
|
-
* @param j number
|
|
20
|
-
*/
|
|
21
|
-
export declare function swap<T = any>(arr: T[], i: number, j: number): void;
|
|
22
|
-
/**
|
|
23
|
-
* Rearrange items in `arr` so that all items in `[left, k]` range are the smallest.
|
|
24
|
-
* The `k`-th element will have the `(k - left + 1)`-th smallest value in `[left, right]`.
|
|
25
|
-
*
|
|
26
|
-
* Implements Floyd-Rivest selection algorithm https://en.wikipedia.org/wiki/Floyd-Rivest_algorithm
|
|
27
|
-
*
|
|
28
|
-
* @param {Array<number>} arr input array
|
|
29
|
-
* @param {number} k pivot index
|
|
30
|
-
* @param {number} [left] left index
|
|
31
|
-
* @param {number} [right] right index
|
|
32
|
-
* @returns {void} mutates input array
|
|
33
|
-
* @example
|
|
34
|
-
* var arr = [65, 28, 59, 33, 21, 56, 22, 95, 50, 12, 90, 53, 28, 77, 39];
|
|
35
|
-
* quickselect(arr, 8);
|
|
36
|
-
* // = [39, 28, 28, 33, 21, 12, 22, 50, 53, 56, 59, 65, 90, 77, 95]
|
|
37
|
-
*/
|
|
38
|
-
export declare function quickselect(arr: number[], k: any, left?: number, right?: number): void;
|
|
39
|
-
/**
|
|
40
|
-
* The [quantile](https://en.wikipedia.org/wiki/Quantile):
|
|
41
|
-
* this is a population quantile, since we assume to know the entire
|
|
42
|
-
* dataset in this library. This is an implementation of the
|
|
43
|
-
* [Quantiles of a Population](http://en.wikipedia.org/wiki/Quantile#Quantiles_of_a_population)
|
|
44
|
-
* algorithm from wikipedia.
|
|
45
|
-
*
|
|
46
|
-
* Sample is a one-dimensional array of numbers,
|
|
47
|
-
* and p is either a decimal number from 0 to 1 or an array of decimal
|
|
48
|
-
* numbers from 0 to 1.
|
|
49
|
-
* In terms of a k/q quantile, p = k/q - it's just dealing with fractions or dealing
|
|
50
|
-
* with decimal values.
|
|
51
|
-
* When p is an array, the result of the function is also an array containing the appropriate
|
|
52
|
-
* quantiles in input order
|
|
53
|
-
*
|
|
54
|
-
* @param {Array<number>} x sample of one or more numbers
|
|
55
|
-
* @param {Array<number> | number} p the desired quantile, as a number between 0 and 1
|
|
56
|
-
* @returns {number} quantile
|
|
57
|
-
* @example
|
|
58
|
-
* quantile([3, 6, 7, 8, 8, 9, 10, 13, 15, 16, 20], 0.5); // => 9
|
|
59
|
-
*/
|
|
60
|
-
declare function quantile(x: number[], p: number): number;
|
|
61
|
-
declare function quantile(x: number[], p: number[]): number[];
|
|
62
|
-
export { quantile };
|