vue-chrts 0.1.0-beta.2-internal-22 → 0.1.0-beta.3
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/README.md +2 -0
- package/dist/components/AreaChart/AreaChart.js +133 -0
- package/dist/components/{Area → AreaChart}/types.d.ts +10 -9
- package/dist/components/{AreaStacked → AreaStackedChart}/AreaStackedChart.js +21 -26
- package/dist/components/AreaStackedChart/types.d.ts +58 -0
- package/dist/components/BarChart/BarChart.js +123 -0
- package/dist/components/BarChart/BarChart.vue.d.ts +14 -0
- package/dist/components/BarChart/types.d.ts +106 -0
- package/dist/components/DonutChart/DonutChart.js +58 -0
- package/dist/components/{Donut → DonutChart}/DonutChart.vue.d.ts +1 -1
- package/dist/components/DonutChart/types.d.ts +36 -0
- package/dist/components/{Donut/index.js → DonutChart/types.js} +0 -1
- package/dist/components/LineChart/LineChart.js +112 -0
- package/dist/components/{Line → LineChart}/LineChart.vue.d.ts +2 -15
- package/dist/components/LineChart/types.d.ts +90 -0
- package/dist/components/Tooltip.vue.d.ts +1 -3
- package/dist/index.d.ts +8 -6
- package/dist/index.js +13 -9
- package/dist/types.d.ts +39 -2
- package/dist/types.js +4 -2
- package/package.json +4 -5
- package/dist/_virtual/_commonjsHelpers.cjs +0 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/browser.cjs +0 -1
- package/dist/_virtual/browser.js +0 -2
- package/dist/_virtual/striptags.cjs +0 -1
- package/dist/_virtual/striptags.js +0 -7
- package/dist/_virtual/striptags2.cjs +0 -1
- package/dist/_virtual/striptags2.js +0 -4
- package/dist/components/Area/AreaChart.cjs +0 -6
- package/dist/components/Area/AreaChart.js +0 -141
- package/dist/components/Area/AreaChart2.cjs +0 -1
- package/dist/components/Area/index.d.ts +0 -2
- package/dist/components/AreaStacked/AreaStackedChart.cjs +0 -1
- package/dist/components/AreaStacked/AreaStackedChart2.cjs +0 -1
- package/dist/components/AreaStacked/index.d.ts +0 -1
- package/dist/components/Bar/BarChart.cjs +0 -1
- package/dist/components/Bar/BarChart.js +0 -121
- package/dist/components/Bar/BarChart.vue.d.ts +0 -33
- package/dist/components/Bar/BarChart2.cjs +0 -1
- package/dist/components/Bar/index.d.ts +0 -1
- package/dist/components/Crosshair/Crosshair.vue.d.ts +0 -12
- package/dist/components/Crosshair/index.d.ts +0 -1
- package/dist/components/Donut/DonutChart.cjs +0 -5
- package/dist/components/Donut/DonutChart.js +0 -62
- package/dist/components/Donut/DonutChart2.cjs +0 -1
- package/dist/components/Donut/index.cjs +0 -1
- package/dist/components/Donut/index.d.ts +0 -17
- package/dist/components/Line/LineChart.cjs +0 -1
- package/dist/components/Line/LineChart.js +0 -97
- package/dist/components/Line/LineChart2.cjs +0 -1
- package/dist/components/Line/index.d.ts +0 -1
- package/dist/components/Tooltip.cjs +0 -1
- package/dist/components/Tooltip2.cjs +0 -1
- package/dist/index.cjs +0 -1
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs +0 -1
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -279
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.cjs +0 -1
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js +0 -86
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.cjs +0 -1
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.js +0 -8
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.cjs +0 -1
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -22
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs +0 -1
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -123
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.cjs +0 -1
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -44
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -53
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs +0 -1
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -29
- package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js +0 -15
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.js +0 -20
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.js +0 -31
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js +0 -7
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.js +0 -31
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js +0 -12
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js +0 -10
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js +0 -26
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js +0 -42
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js +0 -11
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js +0 -12
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/utils/element.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/element.js +0 -37
- package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.js +0 -6
- package/dist/node_modules/@juggle/resize-observer/lib/utils/global.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/global.js +0 -4
- package/dist/node_modules/@juggle/resize-observer/lib/utils/process.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/process.js +0 -14
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js +0 -18
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js +0 -4
- package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.js +0 -70
- package/dist/node_modules/@unovis/ts/components/area/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/area/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/area/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/area/index.js +0 -52
- package/dist/node_modules/@unovis/ts/components/area/style.cjs +0 -35
- package/dist/node_modules/@unovis/ts/components/area/style.js +0 -41
- package/dist/node_modules/@unovis/ts/components/axis/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/axis/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/axis/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/axis/index.js +0 -287
- package/dist/node_modules/@unovis/ts/components/axis/style.cjs +0 -101
- package/dist/node_modules/@unovis/ts/components/axis/style.js +0 -114
- package/dist/node_modules/@unovis/ts/components/axis/types.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/axis/types.js +0 -7
- package/dist/node_modules/@unovis/ts/components/bullet-legend/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/bullet-legend/config.js +0 -18
- package/dist/node_modules/@unovis/ts/components/bullet-legend/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/bullet-legend/index.js +0 -36
- package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.js +0 -48
- package/dist/node_modules/@unovis/ts/components/bullet-legend/style.cjs +0 -63
- package/dist/node_modules/@unovis/ts/components/bullet-legend/style.js +0 -73
- package/dist/node_modules/@unovis/ts/components/bullet-legend/types.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/bullet-legend/types.js +0 -10
- package/dist/node_modules/@unovis/ts/components/crosshair/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/crosshair/config.js +0 -5
- package/dist/node_modules/@unovis/ts/components/crosshair/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/crosshair/index.js +0 -119
- package/dist/node_modules/@unovis/ts/components/crosshair/style.cjs +0 -22
- package/dist/node_modules/@unovis/ts/components/crosshair/style.js +0 -29
- package/dist/node_modules/@unovis/ts/components/donut/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/donut/config.js +0 -8
- package/dist/node_modules/@unovis/ts/components/donut/constants.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/donut/constants.js +0 -11
- package/dist/node_modules/@unovis/ts/components/donut/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/donut/index.js +0 -57
- package/dist/node_modules/@unovis/ts/components/donut/modules/arc.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/donut/modules/arc.js +0 -37
- package/dist/node_modules/@unovis/ts/components/donut/style.cjs +0 -58
- package/dist/node_modules/@unovis/ts/components/donut/style.js +0 -68
- package/dist/node_modules/@unovis/ts/components/grouped-bar/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/grouped-bar/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/grouped-bar/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/grouped-bar/index.js +0 -121
- package/dist/node_modules/@unovis/ts/components/grouped-bar/style.cjs +0 -35
- package/dist/node_modules/@unovis/ts/components/grouped-bar/style.js +0 -43
- package/dist/node_modules/@unovis/ts/components/line/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/line/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/line/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/line/index.js +0 -86
- package/dist/node_modules/@unovis/ts/components/line/style.cjs +0 -35
- package/dist/node_modules/@unovis/ts/components/line/style.js +0 -45
- package/dist/node_modules/@unovis/ts/components/stacked-bar/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/stacked-bar/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/stacked-bar/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/stacked-bar/index.js +0 -111
- package/dist/node_modules/@unovis/ts/components/stacked-bar/style.cjs +0 -34
- package/dist/node_modules/@unovis/ts/components/stacked-bar/style.js +0 -42
- package/dist/node_modules/@unovis/ts/components/tooltip/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/tooltip/config.js +0 -17
- package/dist/node_modules/@unovis/ts/components/tooltip/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/tooltip/index.js +0 -166
- package/dist/node_modules/@unovis/ts/components/tooltip/style.cjs +0 -61
- package/dist/node_modules/@unovis/ts/components/tooltip/style.js +0 -71
- package/dist/node_modules/@unovis/ts/containers/single-container/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/containers/single-container/config.js +0 -5
- package/dist/node_modules/@unovis/ts/containers/single-container/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/containers/single-container/index.js +0 -71
- package/dist/node_modules/@unovis/ts/containers/xy-container/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/containers/xy-container/config.js +0 -6
- package/dist/node_modules/@unovis/ts/containers/xy-container/index.cjs +0 -3
- package/dist/node_modules/@unovis/ts/containers/xy-container/index.js +0 -185
- package/dist/node_modules/@unovis/ts/core/component/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/component/config.js +0 -8
- package/dist/node_modules/@unovis/ts/core/component/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/component/index.js +0 -68
- package/dist/node_modules/@unovis/ts/core/container/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/container/config.js +0 -24
- package/dist/node_modules/@unovis/ts/core/container/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/container/index.js +0 -73
- package/dist/node_modules/@unovis/ts/core/xy-component/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/xy-component/config.js +0 -8
- package/dist/node_modules/@unovis/ts/core/xy-component/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/xy-component/index.js +0 -53
- package/dist/node_modules/@unovis/ts/data-models/core.cjs +0 -1
- package/dist/node_modules/@unovis/ts/data-models/core.js +0 -14
- package/dist/node_modules/@unovis/ts/data-models/series.cjs +0 -1
- package/dist/node_modules/@unovis/ts/data-models/series.js +0 -16
- package/dist/node_modules/@unovis/ts/styles/colors.cjs +0 -1
- package/dist/node_modules/@unovis/ts/styles/colors.js +0 -18
- package/dist/node_modules/@unovis/ts/styles/index.cjs +0 -38
- package/dist/node_modules/@unovis/ts/styles/index.js +0 -63
- package/dist/node_modules/@unovis/ts/styles/patterns.cjs +0 -15
- package/dist/node_modules/@unovis/ts/styles/patterns.js +0 -45
- package/dist/node_modules/@unovis/ts/types/component.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/component.js +0 -12
- package/dist/node_modules/@unovis/ts/types/curve.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/curve.js +0 -43
- package/dist/node_modules/@unovis/ts/types/direction.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/direction.js +0 -7
- package/dist/node_modules/@unovis/ts/types/position.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/position.js +0 -22
- package/dist/node_modules/@unovis/ts/types/scale.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/scale.js +0 -40
- package/dist/node_modules/@unovis/ts/types/svg.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/svg.js +0 -15
- package/dist/node_modules/@unovis/ts/types/symbol.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/symbol.js +0 -24
- package/dist/node_modules/@unovis/ts/types/text.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/text.js +0 -22
- package/dist/node_modules/@unovis/ts/utils/color.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/color.js +0 -8
- package/dist/node_modules/@unovis/ts/utils/d3.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/d3.js +0 -12
- package/dist/node_modules/@unovis/ts/utils/data.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/data.js +0 -169
- package/dist/node_modules/@unovis/ts/utils/misc.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/misc.js +0 -28
- package/dist/node_modules/@unovis/ts/utils/path.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/path.js +0 -9
- package/dist/node_modules/@unovis/ts/utils/resize-observer.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/resize-observer.js +0 -6
- package/dist/node_modules/@unovis/ts/utils/text.cjs +0 -2
- package/dist/node_modules/@unovis/ts/utils/text.js +0 -178
- package/dist/node_modules/@unovis/vue/components/area/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/area/index.js +0 -48
- package/dist/node_modules/@unovis/vue/components/axis/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/axis/index.js +0 -69
- package/dist/node_modules/@unovis/vue/components/crosshair/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/crosshair/index.js +0 -33
- package/dist/node_modules/@unovis/vue/components/donut/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/donut/index.js +0 -54
- package/dist/node_modules/@unovis/vue/components/grouped-bar/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/grouped-bar/index.js +0 -54
- package/dist/node_modules/@unovis/vue/components/line/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/line/index.js +0 -50
- package/dist/node_modules/@unovis/vue/components/stacked-bar/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/stacked-bar/index.js +0 -54
- package/dist/node_modules/@unovis/vue/components/tooltip/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/tooltip/index.js +0 -40
- package/dist/node_modules/@unovis/vue/containers/single-container/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/containers/single-container/index.js +0 -66
- package/dist/node_modules/@unovis/vue/containers/xy-container/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/containers/xy-container/index.js +0 -102
- package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.js +0 -43
- package/dist/node_modules/@unovis/vue/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/index.js +0 -10
- package/dist/node_modules/@unovis/vue/utils/context.cjs +0 -1
- package/dist/node_modules/@unovis/vue/utils/context.js +0 -8
- package/dist/node_modules/@unovis/vue/utils/props.cjs +0 -1
- package/dist/node_modules/@unovis/vue/utils/props.js +0 -18
- package/dist/node_modules/d3-array/src/ascending.cjs +0 -1
- package/dist/node_modules/d3-array/src/ascending.js +0 -6
- package/dist/node_modules/d3-array/src/bisect.cjs +0 -1
- package/dist/node_modules/d3-array/src/bisect.js +0 -9
- package/dist/node_modules/d3-array/src/bisector.cjs +0 -1
- package/dist/node_modules/d3-array/src/bisector.js +0 -37
- package/dist/node_modules/d3-array/src/descending.cjs +0 -1
- package/dist/node_modules/d3-array/src/descending.js +0 -6
- package/dist/node_modules/d3-array/src/extent.cjs +0 -1
- package/dist/node_modules/d3-array/src/extent.js +0 -9
- package/dist/node_modules/d3-array/src/max.cjs +0 -1
- package/dist/node_modules/d3-array/src/max.js +0 -15
- package/dist/node_modules/d3-array/src/mean.cjs +0 -1
- package/dist/node_modules/d3-array/src/mean.js +0 -15
- package/dist/node_modules/d3-array/src/merge.cjs +0 -1
- package/dist/node_modules/d3-array/src/merge.js +0 -10
- package/dist/node_modules/d3-array/src/min.cjs +0 -1
- package/dist/node_modules/d3-array/src/min.js +0 -15
- package/dist/node_modules/d3-array/src/number.cjs +0 -1
- package/dist/node_modules/d3-array/src/number.js +0 -6
- package/dist/node_modules/d3-array/src/quantile.cjs +0 -1
- package/dist/node_modules/d3-array/src/quantile.js +0 -12
- package/dist/node_modules/d3-array/src/range.cjs +0 -1
- package/dist/node_modules/d3-array/src/range.js +0 -9
- package/dist/node_modules/d3-array/src/sum.cjs +0 -1
- package/dist/node_modules/d3-array/src/sum.js +0 -15
- package/dist/node_modules/d3-array/src/ticks.cjs +0 -1
- package/dist/node_modules/d3-array/src/ticks.js +0 -32
- package/dist/node_modules/d3-axis/src/axis.cjs +0 -1
- package/dist/node_modules/d3-axis/src/axis.js +0 -72
- package/dist/node_modules/d3-axis/src/identity.cjs +0 -1
- package/dist/node_modules/d3-axis/src/identity.js +0 -6
- package/dist/node_modules/d3-color/src/color.cjs +0 -1
- package/dist/node_modules/d3-color/src/color.js +0 -305
- package/dist/node_modules/d3-color/src/define.cjs +0 -1
- package/dist/node_modules/d3-color/src/define.js +0 -12
- package/dist/node_modules/d3-dispatch/src/dispatch.cjs +0 -1
- package/dist/node_modules/d3-dispatch/src/dispatch.js +0 -64
- package/dist/node_modules/d3-ease/src/cubic.cjs +0 -1
- package/dist/node_modules/d3-ease/src/cubic.js +0 -6
- package/dist/node_modules/d3-ease/src/linear.cjs +0 -1
- package/dist/node_modules/d3-ease/src/linear.js +0 -4
- package/dist/node_modules/d3-format/src/defaultLocale.cjs +0 -1
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -15
- package/dist/node_modules/d3-format/src/exponent.cjs +0 -1
- package/dist/node_modules/d3-format/src/exponent.js +0 -7
- package/dist/node_modules/d3-format/src/formatDecimal.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -15
- package/dist/node_modules/d3-format/src/formatGroup.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -10
- package/dist/node_modules/d3-format/src/formatNumerals.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
- package/dist/node_modules/d3-format/src/formatPrefixAuto.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -12
- package/dist/node_modules/d3-format/src/formatRounded.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
- package/dist/node_modules/d3-format/src/formatSpecifier.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -28
- package/dist/node_modules/d3-format/src/formatTrim.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -19
- package/dist/node_modules/d3-format/src/formatTypes.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/node_modules/d3-format/src/identity.cjs +0 -1
- package/dist/node_modules/d3-format/src/identity.js +0 -6
- package/dist/node_modules/d3-format/src/locale.cjs +0 -1
- package/dist/node_modules/d3-format/src/locale.js +0 -68
- package/dist/node_modules/d3-format/src/precisionFixed.cjs +0 -1
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/node_modules/d3-format/src/precisionPrefix.cjs +0 -1
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/node_modules/d3-format/src/precisionRound.cjs +0 -1
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
- package/dist/node_modules/d3-interpolate/src/array.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/color.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/color.js +0 -24
- package/dist/node_modules/d3-interpolate/src/constant.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
- package/dist/node_modules/d3-interpolate/src/date.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/date.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/number.js +0 -8
- package/dist/node_modules/d3-interpolate/src/numberArray.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -15
- package/dist/node_modules/d3-interpolate/src/object.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/object.js +0 -14
- package/dist/node_modules/d3-interpolate/src/piecewise.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
- package/dist/node_modules/d3-interpolate/src/rgb.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -15
- package/dist/node_modules/d3-interpolate/src/round.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/round.js +0 -8
- package/dist/node_modules/d3-interpolate/src/string.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/string.js +0 -24
- package/dist/node_modules/d3-interpolate/src/transform/decompose.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +0 -23
- package/dist/node_modules/d3-interpolate/src/transform/index.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/transform/index.js +0 -37
- package/dist/node_modules/d3-interpolate/src/transform/parse.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +0 -13
- package/dist/node_modules/d3-interpolate/src/value.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/value.js +0 -16
- package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.cjs +0 -2
- package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.js +0 -301
- package/dist/node_modules/d3-path/src/path.cjs +0 -1
- package/dist/node_modules/d3-path/src/path.js +0 -64
- package/dist/node_modules/d3-scale/src/band.cjs +0 -1
- package/dist/node_modules/d3-scale/src/band.js +0 -51
- package/dist/node_modules/d3-scale/src/constant.cjs +0 -1
- package/dist/node_modules/d3-scale/src/constant.js +0 -8
- package/dist/node_modules/d3-scale/src/continuous.cjs +0 -1
- package/dist/node_modules/d3-scale/src/continuous.js +0 -75
- package/dist/node_modules/d3-scale/src/diverging.cjs +0 -1
- package/dist/node_modules/d3-scale/src/diverging.js +0 -40
- package/dist/node_modules/d3-scale/src/identity.cjs +0 -1
- package/dist/node_modules/d3-scale/src/identity.js +0 -18
- package/dist/node_modules/d3-scale/src/init.cjs +0 -1
- package/dist/node_modules/d3-scale/src/init.js +0 -32
- package/dist/node_modules/d3-scale/src/linear.cjs +0 -1
- package/dist/node_modules/d3-scale/src/linear.js +0 -39
- package/dist/node_modules/d3-scale/src/log.cjs +0 -1
- package/dist/node_modules/d3-scale/src/log.js +0 -86
- package/dist/node_modules/d3-scale/src/nice.cjs +0 -1
- package/dist/node_modules/d3-scale/src/nice.js +0 -8
- package/dist/node_modules/d3-scale/src/number.cjs +0 -1
- package/dist/node_modules/d3-scale/src/number.js +0 -6
- package/dist/node_modules/d3-scale/src/ordinal.cjs +0 -1
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -31
- package/dist/node_modules/d3-scale/src/pow.cjs +0 -1
- package/dist/node_modules/d3-scale/src/pow.js +0 -37
- package/dist/node_modules/d3-scale/src/quantile.cjs +0 -1
- package/dist/node_modules/d3-scale/src/quantile.js +0 -38
- package/dist/node_modules/d3-scale/src/quantize.cjs +0 -1
- package/dist/node_modules/d3-scale/src/quantize.js +0 -31
- package/dist/node_modules/d3-scale/src/sequential.cjs +0 -1
- package/dist/node_modules/d3-scale/src/sequential.js +0 -42
- package/dist/node_modules/d3-scale/src/symlog.cjs +0 -1
- package/dist/node_modules/d3-scale/src/symlog.js +0 -29
- package/dist/node_modules/d3-scale/src/threshold.cjs +0 -1
- package/dist/node_modules/d3-scale/src/threshold.js +0 -23
- package/dist/node_modules/d3-scale/src/tickFormat.cjs +0 -1
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -32
- package/dist/node_modules/d3-scale/src/time.cjs +0 -1
- package/dist/node_modules/d3-scale/src/time.js +0 -46
- package/dist/node_modules/d3-scale/src/utcTime.cjs +0 -1
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/node_modules/d3-selection/src/array.cjs +0 -1
- package/dist/node_modules/d3-selection/src/array.js +0 -6
- package/dist/node_modules/d3-selection/src/constant.cjs +0 -1
- package/dist/node_modules/d3-selection/src/constant.js +0 -8
- package/dist/node_modules/d3-selection/src/creator.cjs +0 -1
- package/dist/node_modules/d3-selection/src/creator.js +0 -20
- package/dist/node_modules/d3-selection/src/matcher.cjs +0 -1
- package/dist/node_modules/d3-selection/src/matcher.js +0 -14
- package/dist/node_modules/d3-selection/src/namespace.cjs +0 -1
- package/dist/node_modules/d3-selection/src/namespace.js +0 -8
- package/dist/node_modules/d3-selection/src/namespaces.cjs +0 -1
- package/dist/node_modules/d3-selection/src/namespaces.js +0 -12
- package/dist/node_modules/d3-selection/src/pointer.cjs +0 -1
- package/dist/node_modules/d3-selection/src/pointer.js +0 -18
- package/dist/node_modules/d3-selection/src/select.cjs +0 -1
- package/dist/node_modules/d3-selection/src/select.js +0 -7
- package/dist/node_modules/d3-selection/src/selection/append.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/append.js +0 -10
- package/dist/node_modules/d3-selection/src/selection/attr.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/attr.js +0 -44
- package/dist/node_modules/d3-selection/src/selection/call.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/call.js +0 -7
- package/dist/node_modules/d3-selection/src/selection/classed.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/classed.js +0 -54
- package/dist/node_modules/d3-selection/src/selection/clone.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/clone.js +0 -14
- package/dist/node_modules/d3-selection/src/selection/data.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/data.js +0 -42
- package/dist/node_modules/d3-selection/src/selection/datum.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/datum.js +0 -6
- package/dist/node_modules/d3-selection/src/selection/dispatch.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +0 -21
- package/dist/node_modules/d3-selection/src/selection/each.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/each.js +0 -9
- package/dist/node_modules/d3-selection/src/selection/empty.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/empty.js +0 -6
- package/dist/node_modules/d3-selection/src/selection/enter.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/enter.js +0 -27
- package/dist/node_modules/d3-selection/src/selection/exit.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/exit.js +0 -8
- package/dist/node_modules/d3-selection/src/selection/filter.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/filter.js +0 -12
- package/dist/node_modules/d3-selection/src/selection/html.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/html.js +0 -20
- package/dist/node_modules/d3-selection/src/selection/index.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/index.js +0 -87
- package/dist/node_modules/d3-selection/src/selection/insert.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/insert.js +0 -14
- package/dist/node_modules/d3-selection/src/selection/iterator.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/iterator.js +0 -8
- package/dist/node_modules/d3-selection/src/selection/join.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/join.js +0 -7
- package/dist/node_modules/d3-selection/src/selection/lower.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/lower.js +0 -9
- package/dist/node_modules/d3-selection/src/selection/merge.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/merge.js +0 -12
- package/dist/node_modules/d3-selection/src/selection/node.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/node.js +0 -11
- package/dist/node_modules/d3-selection/src/selection/nodes.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/nodes.js +0 -6
- package/dist/node_modules/d3-selection/src/selection/on.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/on.js +0 -52
- package/dist/node_modules/d3-selection/src/selection/order.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/order.js +0 -9
- package/dist/node_modules/d3-selection/src/selection/property.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/property.js +0 -22
- package/dist/node_modules/d3-selection/src/selection/raise.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/raise.js +0 -9
- package/dist/node_modules/d3-selection/src/selection/remove.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/remove.js +0 -10
- package/dist/node_modules/d3-selection/src/selection/select.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/select.js +0 -12
- package/dist/node_modules/d3-selection/src/selection/selectAll.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +0 -18
- package/dist/node_modules/d3-selection/src/selection/selectChild.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +0 -16
- package/dist/node_modules/d3-selection/src/selection/selectChildren.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +0 -16
- package/dist/node_modules/d3-selection/src/selection/size.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/size.js +0 -8
- package/dist/node_modules/d3-selection/src/selection/sort.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/sort.js +0 -19
- package/dist/node_modules/d3-selection/src/selection/sparse.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/sparse.js +0 -6
- package/dist/node_modules/d3-selection/src/selection/style.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/style.js +0 -27
- package/dist/node_modules/d3-selection/src/selection/text.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/text.js +0 -20
- package/dist/node_modules/d3-selection/src/selector.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selector.js +0 -10
- package/dist/node_modules/d3-selection/src/selectorAll.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selectorAll.js +0 -11
- package/dist/node_modules/d3-selection/src/sourceEvent.cjs +0 -1
- package/dist/node_modules/d3-selection/src/sourceEvent.js +0 -8
- package/dist/node_modules/d3-selection/src/window.cjs +0 -1
- package/dist/node_modules/d3-selection/src/window.js +0 -6
- package/dist/node_modules/d3-shape/src/arc.cjs +0 -1
- package/dist/node_modules/d3-shape/src/arc.js +0 -85
- package/dist/node_modules/d3-shape/src/area.cjs +0 -1
- package/dist/node_modules/d3-shape/src/area.js +0 -56
- package/dist/node_modules/d3-shape/src/array.cjs +0 -1
- package/dist/node_modules/d3-shape/src/array.js +0 -6
- package/dist/node_modules/d3-shape/src/constant.cjs +0 -1
- package/dist/node_modules/d3-shape/src/constant.js +0 -8
- package/dist/node_modules/d3-shape/src/curve/basis.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -60
- package/dist/node_modules/d3-shape/src/curve/basisClosed.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -51
- package/dist/node_modules/d3-shape/src/curve/basisOpen.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -46
- package/dist/node_modules/d3-shape/src/curve/bundle.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/bundle.js +0 -33
- package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +0 -65
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +0 -57
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +0 -50
- package/dist/node_modules/d3-shape/src/curve/catmullRom.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +0 -72
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +0 -61
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +0 -54
- package/dist/node_modules/d3-shape/src/curve/linear.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -36
- package/dist/node_modules/d3-shape/src/curve/linearClosed.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
- package/dist/node_modules/d3-shape/src/curve/monotone.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -93
- package/dist/node_modules/d3-shape/src/curve/natural.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -41
- package/dist/node_modules/d3-shape/src/curve/step.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -51
- package/dist/node_modules/d3-shape/src/descending.cjs +0 -1
- package/dist/node_modules/d3-shape/src/descending.js +0 -6
- package/dist/node_modules/d3-shape/src/identity.cjs +0 -1
- package/dist/node_modules/d3-shape/src/identity.js +0 -6
- package/dist/node_modules/d3-shape/src/line.cjs +0 -1
- package/dist/node_modules/d3-shape/src/line.js +0 -29
- package/dist/node_modules/d3-shape/src/math.cjs +0 -1
- package/dist/node_modules/d3-shape/src/math.js +0 -22
- package/dist/node_modules/d3-shape/src/noop.cjs +0 -1
- package/dist/node_modules/d3-shape/src/noop.js +0 -5
- package/dist/node_modules/d3-shape/src/path.cjs +0 -1
- package/dist/node_modules/d3-shape/src/path.js +0 -18
- package/dist/node_modules/d3-shape/src/pie.cjs +0 -1
- package/dist/node_modules/d3-shape/src/pie.js +0 -43
- package/dist/node_modules/d3-shape/src/point.cjs +0 -1
- package/dist/node_modules/d3-shape/src/point.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/circle.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/cross.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/diamond.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/square.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/star.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -15
- package/dist/node_modules/d3-shape/src/symbol/triangle.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/wye.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol.js +0 -21
- package/dist/node_modules/d3-time/src/day.cjs +0 -1
- package/dist/node_modules/d3-time/src/day.js +0 -26
- package/dist/node_modules/d3-time/src/duration.cjs +0 -1
- package/dist/node_modules/d3-time/src/duration.js +0 -10
- package/dist/node_modules/d3-time/src/hour.cjs +0 -1
- package/dist/node_modules/d3-time/src/hour.js +0 -18
- package/dist/node_modules/d3-time/src/interval.cjs +0 -1
- package/dist/node_modules/d3-time/src/interval.js +0 -31
- package/dist/node_modules/d3-time/src/millisecond.cjs +0 -1
- package/dist/node_modules/d3-time/src/millisecond.js +0 -14
- package/dist/node_modules/d3-time/src/minute.cjs +0 -1
- package/dist/node_modules/d3-time/src/minute.js +0 -18
- package/dist/node_modules/d3-time/src/month.cjs +0 -1
- package/dist/node_modules/d3-time/src/month.js +0 -17
- package/dist/node_modules/d3-time/src/second.cjs +0 -1
- package/dist/node_modules/d3-time/src/second.js +0 -11
- package/dist/node_modules/d3-time/src/ticks.cjs +0 -1
- package/dist/node_modules/d3-time/src/ticks.js +0 -54
- package/dist/node_modules/d3-time/src/week.cjs +0 -1
- package/dist/node_modules/d3-time/src/week.js +0 -48
- package/dist/node_modules/d3-time/src/year.cjs +0 -1
- package/dist/node_modules/d3-time/src/year.js +0 -27
- package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +0 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -20
- package/dist/node_modules/d3-time-format/src/locale.cjs +0 -1
- package/dist/node_modules/d3-time-format/src/locale.js +0 -478
- package/dist/node_modules/d3-timer/src/timeout.cjs +0 -1
- package/dist/node_modules/d3-timer/src/timeout.js +0 -10
- package/dist/node_modules/d3-timer/src/timer.cjs +0 -1
- package/dist/node_modules/d3-timer/src/timer.js +0 -62
- package/dist/node_modules/d3-transition/src/interrupt.cjs +0 -1
- package/dist/node_modules/d3-transition/src/interrupt.js +0 -18
- package/dist/node_modules/d3-transition/src/selection/index.cjs +0 -1
- package/dist/node_modules/d3-transition/src/selection/index.js +0 -5
- package/dist/node_modules/d3-transition/src/selection/interrupt.cjs +0 -1
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +0 -9
- package/dist/node_modules/d3-transition/src/selection/transition.cjs +0 -1
- package/dist/node_modules/d3-transition/src/selection/transition.js +0 -28
- package/dist/node_modules/d3-transition/src/transition/attr.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/attr.js +0 -49
- package/dist/node_modules/d3-transition/src/transition/attrTween.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +0 -38
- package/dist/node_modules/d3-transition/src/transition/delay.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/delay.js +0 -18
- package/dist/node_modules/d3-transition/src/transition/duration.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/duration.js +0 -18
- package/dist/node_modules/d3-transition/src/transition/ease.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/ease.js +0 -14
- package/dist/node_modules/d3-transition/src/transition/easeVarying.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +0 -15
- package/dist/node_modules/d3-transition/src/transition/end.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/end.js +0 -16
- package/dist/node_modules/d3-transition/src/transition/filter.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/filter.js +0 -12
- package/dist/node_modules/d3-transition/src/transition/index.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/index.js +0 -65
- package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +0 -11
- package/dist/node_modules/d3-transition/src/transition/merge.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/merge.js +0 -13
- package/dist/node_modules/d3-transition/src/transition/on.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/on.js +0 -21
- package/dist/node_modules/d3-transition/src/transition/remove.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/remove.js +0 -13
- package/dist/node_modules/d3-transition/src/transition/schedule.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/schedule.js +0 -85
- package/dist/node_modules/d3-transition/src/transition/select.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/select.js +0 -14
- package/dist/node_modules/d3-transition/src/transition/selectAll.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +0 -18
- package/dist/node_modules/d3-transition/src/transition/selection.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/selection.js +0 -8
- package/dist/node_modules/d3-transition/src/transition/style.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/style.js +0 -45
- package/dist/node_modules/d3-transition/src/transition/styleTween.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +0 -23
- package/dist/node_modules/d3-transition/src/transition/text.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/text.js +0 -18
- package/dist/node_modules/d3-transition/src/transition/textTween.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/textTween.js +0 -23
- package/dist/node_modules/d3-transition/src/transition/transition.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/transition.js +0 -19
- package/dist/node_modules/d3-transition/src/transition/tween.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/tween.js +0 -56
- package/dist/node_modules/internmap/src/index.cjs +0 -1
- package/dist/node_modules/internmap/src/index.js +0 -35
- package/dist/node_modules/parse-unit/index.cjs +0 -1
- package/dist/node_modules/parse-unit/index.js +0 -11
- package/dist/node_modules/striptags/src/striptags.cjs +0 -2
- package/dist/node_modules/striptags/src/striptags.js +0 -118
- package/dist/node_modules/stylis/src/Enum.cjs +0 -1
- package/dist/node_modules/stylis/src/Enum.js +0 -12
- package/dist/node_modules/stylis/src/Middleware.cjs +0 -1
- package/dist/node_modules/stylis/src/Middleware.js +0 -18
- package/dist/node_modules/stylis/src/Parser.cjs +0 -1
- package/dist/node_modules/stylis/src/Parser.js +0 -131
- package/dist/node_modules/stylis/src/Serializer.cjs +0 -1
- package/dist/node_modules/stylis/src/Serializer.js +0 -27
- package/dist/node_modules/stylis/src/Tokenizer.cjs +0 -1
- package/dist/node_modules/stylis/src/Tokenizer.js +0 -141
- package/dist/node_modules/stylis/src/Utility.cjs +0 -1
- package/dist/node_modules/stylis/src/Utility.js +0 -50
- package/dist/node_modules/throttle-debounce/esm/index.cjs +0 -1
- package/dist/node_modules/throttle-debounce/esm/index.js +0 -28
- package/dist/node_modules/to-px/browser.cjs +0 -1
- package/dist/node_modules/to-px/browser.js +0 -63
- package/dist/types.cjs +0 -1
- package/dist/utils.cjs +0 -1
- package/dist/vite.svg +0 -1
- /package/dist/components/{Area → AreaChart}/AreaChart.vue.d.ts +0 -0
- /package/dist/components/{Area → AreaChart}/AreaChart2.js +0 -0
- /package/dist/components/{AreaStacked → AreaStackedChart}/AreaStackedChart.vue.d.ts +0 -0
- /package/dist/components/{AreaStacked → AreaStackedChart}/AreaStackedChart2.js +0 -0
- /package/dist/components/{Bar → BarChart}/BarChart2.js +0 -0
- /package/dist/components/{Donut → DonutChart}/DonutChart2.js +0 -0
- /package/dist/components/{Line → LineChart}/LineChart2.js +0 -0
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { interpolatePath as P } from "../../../../d3-interpolate-path/build/d3-interpolate-path.js";
|
|
2
|
-
import { XYComponentCore as G } from "../../core/xy-component/index.js";
|
|
3
|
-
import { isNumber as b, isArray as f, getNumber as g, getStackedData as N, getString as M, filterDataByRange as T, getStackedExtent as E } from "../../utils/data.js";
|
|
4
|
-
import { smartTransition as x } from "../../utils/d3.js";
|
|
5
|
-
import { getColor as u } from "../../utils/color.js";
|
|
6
|
-
import { Curve as R } from "../../types/curve.js";
|
|
7
|
-
import { AreaDefaultConfig as X } from "./config.js";
|
|
8
|
-
import * as Y from "./style.js";
|
|
9
|
-
import { area as v } from "./style.js";
|
|
10
|
-
import $ from "../../../../d3-shape/src/area.js";
|
|
11
|
-
import w from "../../../../d3-selection/src/select.js";
|
|
12
|
-
class m extends G {
|
|
13
|
-
constructor(r) {
|
|
14
|
-
super(), this._defaultConfig = X, this.config = this._defaultConfig, this.stacked = !0, this.events = {
|
|
15
|
-
[m.selectors.area]: {}
|
|
16
|
-
}, r && this.setConfig(r), this.stacked = Array.isArray(this.config.y);
|
|
17
|
-
}
|
|
18
|
-
_render(r) {
|
|
19
|
-
super._render(r);
|
|
20
|
-
const { config: e, datamodel: { data: s } } = this, o = b(r) ? r : e.duration, y = R[e.curveType];
|
|
21
|
-
this._areaGen = $().x((t) => t.x).y0((t) => t.y0).y1((t) => {
|
|
22
|
-
const a = Math.abs(t.y1 - t.y0) < 1;
|
|
23
|
-
return t.y1 - (a && e.minHeight1Px ? 1 : 0);
|
|
24
|
-
}).curve(y);
|
|
25
|
-
const _ = f(e.y) ? e.y : [e.y], S = s.map((t, a) => this.xScale(g(t, e.x, a))), h = N(s, e.baseline, _, this._prevNegative);
|
|
26
|
-
this._prevNegative = h.map((t) => !!t.isMostlyNegative);
|
|
27
|
-
const d = h.map((t) => t.map((a, n) => ({
|
|
28
|
-
y0: this.yScale(a[0]),
|
|
29
|
-
y1: this.yScale(a[1]),
|
|
30
|
-
x: S[n]
|
|
31
|
-
}))), i = d.length - 1, C = d.reverse(), l = this.g.selectAll(`.${v}`).data(C), D = l.enter().append("path").attr("class", v).attr("d", (t) => this._areaGen(t) || this._emptyPath()).style("opacity", 0).style("fill", (t, a) => u(s, e.color, i - a)), p = x(D.merge(l), o).style("opacity", (t, a) => t.some((c) => c.y0 - c.y1 !== 0) ? g(s, e.opacity, i - a) : 0).style("fill", (t, a) => u(s, e.color, i - a)).style("cursor", (t, a) => M(s, e.cursor, i - a));
|
|
32
|
-
o ? p.attrTween("d", (a, n, c) => {
|
|
33
|
-
const k = w(c[n]).attr("d"), A = this._areaGen(a) || this._emptyPath();
|
|
34
|
-
return P(k, A);
|
|
35
|
-
}) : p.attr("d", (t) => this._areaGen(t) || this._emptyPath()), x(l.exit(), o).style("opacity", 0).remove();
|
|
36
|
-
}
|
|
37
|
-
getYDataExtent(r) {
|
|
38
|
-
const { config: e, datamodel: s } = this, o = f(e.y) ? e.y : [e.y], y = r ? T(s.data, this.xScale.domain(), e.x) : s.data;
|
|
39
|
-
return E(y, e.baseline, ...o);
|
|
40
|
-
}
|
|
41
|
-
_emptyPath() {
|
|
42
|
-
const r = this.xScale.range(), e = this.yScale.domain(), s = this.yScale((e[0] + e[1]) / 2), o = s;
|
|
43
|
-
return this._areaGen([
|
|
44
|
-
{ y0: s, y1: o, x: r[0] },
|
|
45
|
-
{ y0: s, y1: o, x: r[1] }
|
|
46
|
-
]);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
m.selectors = Y;
|
|
50
|
-
export {
|
|
51
|
-
m as Area
|
|
52
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../@emotion/css/dist/emotion-css.esm.cjs"),r=a.css`
|
|
2
|
-
label: area-component;
|
|
3
|
-
`,e=a.injectGlobal`
|
|
4
|
-
:root {
|
|
5
|
-
--vis-area-cursor: default;
|
|
6
|
-
--vis-area-fill-opacity: 1;
|
|
7
|
-
--vis-area-stroke-color: none;
|
|
8
|
-
--vis-area-stroke-width: 0px;
|
|
9
|
-
--vis-area-stroke-dasharray: none;
|
|
10
|
-
--vis-area-stroke-opacity: 1;
|
|
11
|
-
--vis-area-hover-fill-opacity: none;
|
|
12
|
-
--vis-area-hover-stroke-width: none;
|
|
13
|
-
|
|
14
|
-
/* Dark Theme */
|
|
15
|
-
--vis-dark-area-stroke-color: none;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
body.theme-dark ${`.${r}`} {
|
|
19
|
-
--vis-area-stroke-color: var(--vis-dark-area-stroke-color);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
`,o=a.css`
|
|
23
|
-
label: area;
|
|
24
|
-
cursor: var(--vis-area-cursor);
|
|
25
|
-
fill-opacity: var(--vis-area-fill-opacity);
|
|
26
|
-
stroke-width: var(--vis-area-stroke-width);
|
|
27
|
-
stroke-dasharray: var(--vis-area-stroke-dasharray);
|
|
28
|
-
stroke: var(--vis-area-stroke-color);
|
|
29
|
-
stroke-opacity: var(--vis-area-stroke-opacity);
|
|
30
|
-
|
|
31
|
-
&:hover {
|
|
32
|
-
fill-opacity: var(--vis-area-hover-fill-opacity);
|
|
33
|
-
stroke-width: var(--vis-area-hover-stroke-width);
|
|
34
|
-
}
|
|
35
|
-
`;exports.area=o;exports.globalStyles=e;exports.root=r;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { css as a, injectGlobal as r } from "../../../../@emotion/css/dist/emotion-css.esm.js";
|
|
2
|
-
const o = a`
|
|
3
|
-
label: area-component;
|
|
4
|
-
`, s = r`
|
|
5
|
-
:root {
|
|
6
|
-
--vis-area-cursor: default;
|
|
7
|
-
--vis-area-fill-opacity: 1;
|
|
8
|
-
--vis-area-stroke-color: none;
|
|
9
|
-
--vis-area-stroke-width: 0px;
|
|
10
|
-
--vis-area-stroke-dasharray: none;
|
|
11
|
-
--vis-area-stroke-opacity: 1;
|
|
12
|
-
--vis-area-hover-fill-opacity: none;
|
|
13
|
-
--vis-area-hover-stroke-width: none;
|
|
14
|
-
|
|
15
|
-
/* Dark Theme */
|
|
16
|
-
--vis-dark-area-stroke-color: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
body.theme-dark ${`.${o}`} {
|
|
20
|
-
--vis-area-stroke-color: var(--vis-dark-area-stroke-color);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
`, t = a`
|
|
24
|
-
label: area;
|
|
25
|
-
cursor: var(--vis-area-cursor);
|
|
26
|
-
fill-opacity: var(--vis-area-fill-opacity);
|
|
27
|
-
stroke-width: var(--vis-area-stroke-width);
|
|
28
|
-
stroke-dasharray: var(--vis-area-stroke-dasharray);
|
|
29
|
-
stroke: var(--vis-area-stroke-color);
|
|
30
|
-
stroke-opacity: var(--vis-area-stroke-opacity);
|
|
31
|
-
|
|
32
|
-
&:hover {
|
|
33
|
-
fill-opacity: var(--vis-area-hover-fill-opacity);
|
|
34
|
-
stroke-width: var(--vis-area-hover-stroke-width);
|
|
35
|
-
}
|
|
36
|
-
`;
|
|
37
|
-
export {
|
|
38
|
-
t as area,
|
|
39
|
-
s as globalStyles,
|
|
40
|
-
o as root
|
|
41
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../core/xy-component/config.cjs"),e=require("../../types/text.cjs"),n=Object.assign(Object.assign({},i.XYComponentDefaultConfig),{position:void 0,type:void 0,label:void 0,labelFontSize:null,gridLine:!0,tickLine:!0,domainLine:!0,numTicks:void 0,minMaxTicksOnly:!1,minMaxTicksOnlyWhenWidthIsLess:250,tickTextWidth:void 0,tickTextSeparator:void 0,tickTextForceWordBreak:!1,tickTextTrimType:e.TrimMode.Middle,tickTextFitMode:e.FitMode.Wrap,tickTextFontSize:null,tickTextAlign:void 0,tickTextColor:null,tickTextAngle:void 0,labelMargin:8,labelColor:null,tickFormat:void 0,tickValues:void 0,fullSize:!0,tickPadding:8,tickTextHideOverlapping:void 0});exports.AxisDefaultConfig=n;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { XYComponentDefaultConfig as e } from "../../core/xy-component/config.js";
|
|
2
|
-
import { FitMode as i, TrimMode as n } from "../../types/text.js";
|
|
3
|
-
const l = Object.assign(Object.assign({}, e), { position: void 0, type: void 0, label: void 0, labelFontSize: null, gridLine: !0, tickLine: !0, domainLine: !0, numTicks: void 0, minMaxTicksOnly: !1, minMaxTicksOnlyWhenWidthIsLess: 250, tickTextWidth: void 0, tickTextSeparator: void 0, tickTextForceWordBreak: !1, tickTextTrimType: n.Middle, tickTextFitMode: i.Wrap, tickTextFontSize: null, tickTextAlign: void 0, tickTextColor: null, tickTextAngle: void 0, labelMargin: 8, labelColor: null, tickFormat: void 0, tickValues: void 0, fullSize: !0, tickPadding: 8, tickTextHideOverlapping: void 0 });
|
|
4
|
-
export {
|
|
5
|
-
l as AxisDefaultConfig
|
|
6
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../../d3-transition/src/selection/index.cjs");const R=require("../../../../d3-transition/src/interrupt.cjs"),$=require("../../core/xy-component/index.cjs"),o=require("../../types/position.cjs"),d=require("../../types/text.cjs"),_=require("../../utils/d3.cjs"),B=require("../../utils/text.cjs"),q=require("../../utils/data.cjs"),X=require("../../utils/misc.cjs"),n=require("./types.cjs"),V=require("./config.cjs"),h=require("./style.cjs"),p=require("../../../../d3-axis/src/axis.cjs"),y=require("../../../../d3-selection/src/select.cjs");class w extends $.XYComponentCore{constructor(t){super(),this._defaultConfig=V.AxisDefaultConfig,this.config=this._defaultConfig,this._defaultNumTicks=3,this.events={},t&&this.setConfig(t),this.axisGroup=this.g.append("g"),this.gridGroup=this.g.append("g").attr("class",h.grid)}preRender(){const{config:t}=this,e=this.g.append("g").attr("opacity",0);this._renderAxis(e,0),this._axisRawBBox=e.node().getBBox(),t.tickTextAlign&&this._alignTickLabels(),this._renderAxisLabel(e),this._axisSizeBBox=this._getAxisSize(e),this._requiredMargin=this._getRequiredMargin(this._axisSizeBBox),e.remove()}getPosition(){const{config:{type:t,position:e}}=this;return e??(t===n.AxisType.X?o.Position.Bottom:o.Position.Left)}_getAxisSize(t){return t.node().getBBox()}_getRequiredMargin(t=this._axisSizeBBox){const{config:{type:e,position:i}}=this;switch(e){case n.AxisType.X:{const c=this._axisSizeBBox.x+this._axisSizeBBox.width,a=this._axisSizeBBox.x<0?Math.abs(this._axisSizeBBox.x):0,r=c-this._width>1?c-this._width:0;switch(i){case o.Position.Top:return{top:t.height,left:a,right:r};case o.Position.Bottom:default:return{bottom:t.height,left:a,right:r}}}case n.AxisType.Y:{const s=t.height>this._height?(t.height-this._height)/2:0,c=s,a=s;switch(i){case o.Position.Right:return{right:t.width,top:c,bottom:a};case o.Position.Left:default:return{left:t.width,top:c,bottom:a}}}}}getRequiredMargin(){return this._requiredMargin}getOffset(t){const{config:{type:e,position:i}}=this;switch(e){case n.AxisType.X:switch(i){case o.Position.Top:return{top:t.top,left:t.left};case o.Position.Bottom:default:return{top:t.top+this._height,left:t.left}}case n.AxisType.Y:switch(i){case o.Position.Right:return{top:t.top,left:t.left+this._width};case o.Position.Left:default:return{top:t.top,left:t.left}}}}_render(t=this.config.duration,e=this.axisGroup){const{config:i}=this;if(this._renderAxis(e,t),this._renderAxisLabel(e),i.gridLine){const s=this._buildGrid().tickFormat(()=>"");s.tickValues(this._getConfiguredTickValues()),this.gridGroup.selectAll("*").interrupt(),_.smartTransition(this.gridGroup,t).call(s).style("opacity",1)}else _.smartTransition(this.gridGroup,t).style("opacity",0);i.tickTextAlign&&this._alignTickLabels(),this._resolveTickLabelOverlap(e)}_buildAxis(){const{config:{type:t,position:e,tickPadding:i}}=this,s=this._getNumTicks();switch(t){case n.AxisType.X:switch(e){case o.Position.Top:return p.axisTop(this.xScale).ticks(s).tickPadding(i);case o.Position.Bottom:default:return p.axisBottom(this.xScale).ticks(s).tickPadding(i)}case n.AxisType.Y:switch(e){case o.Position.Right:return p.axisRight(this.yScale).ticks(s).tickPadding(i);case o.Position.Left:default:return p.axisLeft(this.yScale).ticks(s).tickPadding(i)}}}_buildGrid(){const{config:{type:t,position:e}}=this,i=this._getNumTicks();switch(t){case n.AxisType.X:switch(e){case o.Position.Top:return p.axisTop(this.xScale).ticks(i*2).tickSize(-this._height).tickSizeOuter(0);case o.Position.Bottom:default:return p.axisBottom(this.xScale).ticks(i*2).tickSize(-this._height).tickSizeOuter(0)}case n.AxisType.Y:switch(e){case o.Position.Right:return p.axisRight(this.yScale).ticks(i*2).tickSize(-this._width).tickSizeOuter(0);case o.Position.Left:default:return p.axisLeft(this.yScale).ticks(i*2).tickSize(-this._width).tickSizeOuter(0)}}}_renderAxis(t=this.axisGroup,e=this.config.duration){const{config:i}=this,s=this._buildAxis(),c=this._getConfiguredTickValues()||s.scale().ticks(this._getNumTicks());s.tickValues(c),t.selectAll("*").interrupt(),_.smartTransition(t,e).call(s);const a=t.selectAll("g.tick");a.classed(h.tick,!0).style("font-size",i.tickTextFontSize);const r=t.selectAll("g.tick > text").filter(l=>c.some(x=>q.isEqual(l,x))).classed(h.tickLabel,!0).classed(h.tickLabelHideable,!!i.tickTextHideOverlapping).style("fill",i.tickTextColor);if(r.nodes().forEach(l=>R.default(l)),r.each((l,x,g)=>{var u,k;let f=(k=(u=i.tickFormat)===null||u===void 0?void 0:u.call(i,l,x,c))!==null&&k!==void 0?k:`${l}`;const T=g[x],A=i.tickTextWidth||(i.type===n.AxisType.X?this._containerWidth/(a.size()+1):this._containerWidth/5),m=getComputedStyle(T),b=Number.parseFloat(m.fontSize),P=m.fontFamily,L={verticalAlign:i.type===n.AxisType.X?d.VerticalAlign.Top:d.VerticalAlign.Middle,width:A,textRotationAngle:i.tickTextAngle,separator:i.tickTextSeparator,wordBreak:i.tickTextForceWordBreak};if(i.tickTextFitMode===d.FitMode.Trim){const v=y.default(T).text(f);B.trimSVGText(v,A,i.tickTextTrimType,!0,b,.58),f=y.default(T).text()}const S={text:f,fontFamily:P,fontSize:b};B.renderTextToSvgTextElement(T,S,L)}),t.classed(h.axis,!0).classed(h.hideTickLine,!i.tickLine).classed(h.hideDomain,!i.domainLine),i.fullSize){const l=this._getFullDomainPath(0);_.smartTransition(t.select(".domain"),e).attr("d",l)}}_resolveTickLabelOverlap(t=this.axisGroup){const{config:e}=this,i=t.selectAll("g.tick > text");if(!e.tickTextHideOverlapping){i.style("opacity",null);return}cancelAnimationFrame(this._collideTickLabelsAnimFrameId),this._collideTickLabelsAnimFrameId=requestAnimationFrame(()=>{this._collideTickLabels(i)})}_collideTickLabels(t){t.each((i,s,c)=>{const a=c[s];a._visible=!0});const e=3;for(let i=0;i<e;i+=1)t.each((s,c,a)=>{const r=a[c];if(!r._visible)return;const x=r.getBoundingClientRect();for(let g=c+1;g<a.length;g+=1){if(c===g)continue;const u=a[g];if(u._visible){const f=u.getBoundingClientRect();if(X.rectIntersect(x,f,-5)){u._visible=!1;break}}}});t.each((i,s,c)=>{const a=c[s];y.default(a).style("opacity",a._visible?1:0)})}_getNumTicks(){const{config:{type:t,numTicks:e}}=this;if(e)return e;if(t===n.AxisType.X){const i=this.xScale.range(),s=i[1]-i[0];return Math.floor(s/175)}if(t===n.AxisType.Y){const i=this.yScale.range(),s=Math.abs(i[0]-i[1]);return Math.pow(s,.85)/25}return this._defaultNumTicks}_getConfiguredTickValues(){const{config:t}=this,e=t.type===n.AxisType.X?this.xScale:this.yScale,i=e==null?void 0:e.domain();return t.tickValues?t.tickValues.filter(s=>s>=i[0]&&s<=i[1]):t.minMaxTicksOnly||t.type===n.AxisType.X&&this._width<t.minMaxTicksOnlyWhenWidthIsLess?i:null}_getFullDomainPath(t=0){const{config:{type:e}}=this;switch(e){case n.AxisType.X:return`M0.5, ${t} V0.5 H${this._width+.5} V${t}`;case n.AxisType.Y:return`M${-t}, ${this._height+.5} H0.5 V0.5 H${-t}`}}_renderAxisLabel(t=this.axisGroup){var e;const{type:i,label:s,labelMargin:c,labelFontSize:a}=this.config;t.selectAll(`.${h.label}`).remove();const r=this.getPosition(),{width:l,height:x}=(e=this._axisRawBBox)!==null&&e!==void 0?e:t.node().getBBox(),g=i===n.AxisType.X?this._width/2:Math.pow(-1,+(r===o.Position.Left))*l,u=i===n.AxisType.X?Math.pow(-1,+(r===o.Position.Top))*x:this._height/2,k=i===n.AxisType.X?0:Math.pow(-1,+(r===o.Position.Left))*c,f=i===n.AxisType.X?Math.pow(-1,+(r===o.Position.Top))*c:0,T=i===n.AxisType.Y?-90:0;t.append("text").attr("class",h.label).text(s).attr("dy",`${this._getLabelDY()}em`).attr("transform",`translate(${g+k},${u+f}) rotate(${T})`).style("font-size",a).style("fill",this.config.labelColor)}_getLabelDY(){const{type:t,position:e}=this.config;switch(t){case n.AxisType.X:switch(e){case o.Position.Top:return 0;case o.Position.Bottom:default:return .75}case n.AxisType.Y:switch(e){case o.Position.Right:return .75;case o.Position.Left:default:return-.25}}}_alignTickLabels(){const{config:{type:t,tickTextAlign:e,tickTextAngle:i,position:s}}=this,c=this.g.selectAll("g.tick > text"),a=this._getTickTextAnchor(e),r=t===n.AxisType.X?0:this._getYTickTextTranslate(e,s),l=i?`translate(${r},0) rotate(${i})`:`translate(${r},0)`;c.attr("transform",l).attr("text-anchor",a)}_getTickTextAnchor(t){switch(t){case d.TextAlign.Left:return"start";case d.TextAlign.Right:return"end";case d.TextAlign.Center:return"middle";default:return null}}_getYTickTextTranslate(t,e=o.Position.Left){const s=this._axisRawBBox.width-9;switch(t){case d.TextAlign.Left:return e===o.Position.Left?s*-1:0;case d.TextAlign.Right:return e===o.Position.Left?0:s;case d.TextAlign.Center:return e===o.Position.Left?s*-.5:s*.5;default:return 0}}}w.selectors=h;exports.Axis=w;
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
import "../../../../d3-transition/src/selection/index.js";
|
|
2
|
-
import V from "../../../../d3-transition/src/interrupt.js";
|
|
3
|
-
import { XYComponentCore as z } from "../../core/xy-component/index.js";
|
|
4
|
-
import { Position as o } from "../../types/position.js";
|
|
5
|
-
import { VerticalAlign as y, FitMode as C, TextAlign as p } from "../../types/text.js";
|
|
6
|
-
import { smartTransition as k } from "../../utils/d3.js";
|
|
7
|
-
import { trimSVGText as F, renderTextToSvgTextElement as Y } from "../../utils/text.js";
|
|
8
|
-
import { isEqual as $ } from "../../utils/data.js";
|
|
9
|
-
import { rectIntersect as G } from "../../utils/misc.js";
|
|
10
|
-
import { AxisType as c } from "./types.js";
|
|
11
|
-
import { AxisDefaultConfig as M } from "./config.js";
|
|
12
|
-
import * as P from "./style.js";
|
|
13
|
-
import { grid as O, tick as D, tickLabel as H, tickLabelHideable as W, axis as q, hideTickLine as N, hideDomain as E, label as B } from "./style.js";
|
|
14
|
-
import { axisLeft as w, axisRight as L, axisBottom as A, axisTop as S } from "../../../../d3-axis/src/axis.js";
|
|
15
|
-
import m from "../../../../d3-selection/src/select.js";
|
|
16
|
-
class I extends z {
|
|
17
|
-
constructor(t) {
|
|
18
|
-
super(), this._defaultConfig = M, this.config = this._defaultConfig, this._defaultNumTicks = 3, this.events = {}, t && this.setConfig(t), this.axisGroup = this.g.append("g"), this.gridGroup = this.g.append("g").attr("class", O);
|
|
19
|
-
}
|
|
20
|
-
/** Renders axis to an invisible grouped to calculate automatic chart margins */
|
|
21
|
-
preRender() {
|
|
22
|
-
const { config: t } = this, i = this.g.append("g").attr("opacity", 0);
|
|
23
|
-
this._renderAxis(i, 0), this._axisRawBBox = i.node().getBBox(), t.tickTextAlign && this._alignTickLabels(), this._renderAxisLabel(i), this._axisSizeBBox = this._getAxisSize(i), this._requiredMargin = this._getRequiredMargin(this._axisSizeBBox), i.remove();
|
|
24
|
-
}
|
|
25
|
-
getPosition() {
|
|
26
|
-
const { config: { type: t, position: i } } = this;
|
|
27
|
-
return i ?? (t === c.X ? o.Bottom : o.Left);
|
|
28
|
-
}
|
|
29
|
-
_getAxisSize(t) {
|
|
30
|
-
return t.node().getBBox();
|
|
31
|
-
}
|
|
32
|
-
_getRequiredMargin(t = this._axisSizeBBox) {
|
|
33
|
-
const { config: { type: i, position: e } } = this;
|
|
34
|
-
switch (i) {
|
|
35
|
-
case c.X: {
|
|
36
|
-
const n = this._axisSizeBBox.x + this._axisSizeBBox.width, r = this._axisSizeBBox.x < 0 ? Math.abs(this._axisSizeBBox.x) : 0, a = n - this._width > 1 ? n - this._width : 0;
|
|
37
|
-
switch (e) {
|
|
38
|
-
case o.Top:
|
|
39
|
-
return { top: t.height, left: r, right: a };
|
|
40
|
-
case o.Bottom:
|
|
41
|
-
default:
|
|
42
|
-
return { bottom: t.height, left: r, right: a };
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
case c.Y: {
|
|
46
|
-
const s = t.height > this._height ? (t.height - this._height) / 2 : 0, n = s, r = s;
|
|
47
|
-
switch (e) {
|
|
48
|
-
case o.Right:
|
|
49
|
-
return { right: t.width, top: n, bottom: r };
|
|
50
|
-
case o.Left:
|
|
51
|
-
default:
|
|
52
|
-
return { left: t.width, top: n, bottom: r };
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
getRequiredMargin() {
|
|
58
|
-
return this._requiredMargin;
|
|
59
|
-
}
|
|
60
|
-
/** Calculates axis transform:translate offset based on passed container margins */
|
|
61
|
-
getOffset(t) {
|
|
62
|
-
const { config: { type: i, position: e } } = this;
|
|
63
|
-
switch (i) {
|
|
64
|
-
case c.X:
|
|
65
|
-
switch (e) {
|
|
66
|
-
case o.Top:
|
|
67
|
-
return { top: t.top, left: t.left };
|
|
68
|
-
case o.Bottom:
|
|
69
|
-
default:
|
|
70
|
-
return { top: t.top + this._height, left: t.left };
|
|
71
|
-
}
|
|
72
|
-
case c.Y:
|
|
73
|
-
switch (e) {
|
|
74
|
-
case o.Right:
|
|
75
|
-
return { top: t.top, left: t.left + this._width };
|
|
76
|
-
case o.Left:
|
|
77
|
-
default:
|
|
78
|
-
return { top: t.top, left: t.left };
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
_render(t = this.config.duration, i = this.axisGroup) {
|
|
83
|
-
const { config: e } = this;
|
|
84
|
-
if (this._renderAxis(i, t), this._renderAxisLabel(i), e.gridLine) {
|
|
85
|
-
const s = this._buildGrid().tickFormat(() => "");
|
|
86
|
-
s.tickValues(this._getConfiguredTickValues()), this.gridGroup.selectAll("*").interrupt(), k(this.gridGroup, t).call(s).style("opacity", 1);
|
|
87
|
-
} else
|
|
88
|
-
k(this.gridGroup, t).style("opacity", 0);
|
|
89
|
-
e.tickTextAlign && this._alignTickLabels(), this._resolveTickLabelOverlap(i);
|
|
90
|
-
}
|
|
91
|
-
_buildAxis() {
|
|
92
|
-
const { config: { type: t, position: i, tickPadding: e } } = this, s = this._getNumTicks();
|
|
93
|
-
switch (t) {
|
|
94
|
-
case c.X:
|
|
95
|
-
switch (i) {
|
|
96
|
-
case o.Top:
|
|
97
|
-
return S(this.xScale).ticks(s).tickPadding(e);
|
|
98
|
-
case o.Bottom:
|
|
99
|
-
default:
|
|
100
|
-
return A(this.xScale).ticks(s).tickPadding(e);
|
|
101
|
-
}
|
|
102
|
-
case c.Y:
|
|
103
|
-
switch (i) {
|
|
104
|
-
case o.Right:
|
|
105
|
-
return L(this.yScale).ticks(s).tickPadding(e);
|
|
106
|
-
case o.Left:
|
|
107
|
-
default:
|
|
108
|
-
return w(this.yScale).ticks(s).tickPadding(e);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
_buildGrid() {
|
|
113
|
-
const { config: { type: t, position: i } } = this, e = this._getNumTicks();
|
|
114
|
-
switch (t) {
|
|
115
|
-
case c.X:
|
|
116
|
-
switch (i) {
|
|
117
|
-
case o.Top:
|
|
118
|
-
return S(this.xScale).ticks(e * 2).tickSize(-this._height).tickSizeOuter(0);
|
|
119
|
-
case o.Bottom:
|
|
120
|
-
default:
|
|
121
|
-
return A(this.xScale).ticks(e * 2).tickSize(-this._height).tickSizeOuter(0);
|
|
122
|
-
}
|
|
123
|
-
case c.Y:
|
|
124
|
-
switch (i) {
|
|
125
|
-
case o.Right:
|
|
126
|
-
return L(this.yScale).ticks(e * 2).tickSize(-this._width).tickSizeOuter(0);
|
|
127
|
-
case o.Left:
|
|
128
|
-
default:
|
|
129
|
-
return w(this.yScale).ticks(e * 2).tickSize(-this._width).tickSizeOuter(0);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
_renderAxis(t = this.axisGroup, i = this.config.duration) {
|
|
134
|
-
const { config: e } = this, s = this._buildAxis(), n = this._getConfiguredTickValues() || s.scale().ticks(this._getNumTicks());
|
|
135
|
-
s.tickValues(n), t.selectAll("*").interrupt(), k(t, i).call(s);
|
|
136
|
-
const r = t.selectAll("g.tick");
|
|
137
|
-
r.classed(D, !0).style("font-size", e.tickTextFontSize);
|
|
138
|
-
const a = t.selectAll("g.tick > text").filter((l) => n.some((d) => $(l, d))).classed(H, !0).classed(W, !!e.tickTextHideOverlapping).style("fill", e.tickTextColor);
|
|
139
|
-
if (a.nodes().forEach((l) => V(l)), a.each((l, d, u) => {
|
|
140
|
-
var h, x;
|
|
141
|
-
let g = (x = (h = e.tickFormat) === null || h === void 0 ? void 0 : h.call(e, l, d, n)) !== null && x !== void 0 ? x : `${l}`;
|
|
142
|
-
const f = u[d], _ = e.tickTextWidth || (e.type === c.X ? this._containerWidth / (r.size() + 1) : this._containerWidth / 5), T = getComputedStyle(f), b = Number.parseFloat(T.fontSize), v = T.fontFamily, R = {
|
|
143
|
-
verticalAlign: e.type === c.X ? y.Top : y.Middle,
|
|
144
|
-
width: _,
|
|
145
|
-
textRotationAngle: e.tickTextAngle,
|
|
146
|
-
separator: e.tickTextSeparator,
|
|
147
|
-
wordBreak: e.tickTextForceWordBreak
|
|
148
|
-
};
|
|
149
|
-
if (e.tickTextFitMode === C.Trim) {
|
|
150
|
-
const X = m(f).text(g);
|
|
151
|
-
F(X, _, e.tickTextTrimType, !0, b, 0.58), g = m(f).text();
|
|
152
|
-
}
|
|
153
|
-
Y(f, { text: g, fontFamily: v, fontSize: b }, R);
|
|
154
|
-
}), t.classed(q, !0).classed(N, !e.tickLine).classed(E, !e.domainLine), e.fullSize) {
|
|
155
|
-
const l = this._getFullDomainPath(0);
|
|
156
|
-
k(t.select(".domain"), i).attr("d", l);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
_resolveTickLabelOverlap(t = this.axisGroup) {
|
|
160
|
-
const { config: i } = this, e = t.selectAll("g.tick > text");
|
|
161
|
-
if (!i.tickTextHideOverlapping) {
|
|
162
|
-
e.style("opacity", null);
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
cancelAnimationFrame(this._collideTickLabelsAnimFrameId), this._collideTickLabelsAnimFrameId = requestAnimationFrame(() => {
|
|
166
|
-
this._collideTickLabels(e);
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
_collideTickLabels(t) {
|
|
170
|
-
t.each((e, s, n) => {
|
|
171
|
-
const r = n[s];
|
|
172
|
-
r._visible = !0;
|
|
173
|
-
});
|
|
174
|
-
const i = 3;
|
|
175
|
-
for (let e = 0; e < i; e += 1)
|
|
176
|
-
t.each((s, n, r) => {
|
|
177
|
-
const a = r[n];
|
|
178
|
-
if (!a._visible)
|
|
179
|
-
return;
|
|
180
|
-
const d = a.getBoundingClientRect();
|
|
181
|
-
for (let u = n + 1; u < r.length; u += 1) {
|
|
182
|
-
if (n === u)
|
|
183
|
-
continue;
|
|
184
|
-
const h = r[u];
|
|
185
|
-
if (h._visible) {
|
|
186
|
-
const g = h.getBoundingClientRect();
|
|
187
|
-
if (G(d, g, -5)) {
|
|
188
|
-
h._visible = !1;
|
|
189
|
-
break;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
t.each((e, s, n) => {
|
|
195
|
-
const r = n[s];
|
|
196
|
-
m(r).style("opacity", r._visible ? 1 : 0);
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
_getNumTicks() {
|
|
200
|
-
const { config: { type: t, numTicks: i } } = this;
|
|
201
|
-
if (i)
|
|
202
|
-
return i;
|
|
203
|
-
if (t === c.X) {
|
|
204
|
-
const e = this.xScale.range(), s = e[1] - e[0];
|
|
205
|
-
return Math.floor(s / 175);
|
|
206
|
-
}
|
|
207
|
-
if (t === c.Y) {
|
|
208
|
-
const e = this.yScale.range(), s = Math.abs(e[0] - e[1]);
|
|
209
|
-
return Math.pow(s, 0.85) / 25;
|
|
210
|
-
}
|
|
211
|
-
return this._defaultNumTicks;
|
|
212
|
-
}
|
|
213
|
-
_getConfiguredTickValues() {
|
|
214
|
-
const { config: t } = this, i = t.type === c.X ? this.xScale : this.yScale, e = i == null ? void 0 : i.domain();
|
|
215
|
-
return t.tickValues ? t.tickValues.filter((s) => s >= e[0] && s <= e[1]) : t.minMaxTicksOnly || t.type === c.X && this._width < t.minMaxTicksOnlyWhenWidthIsLess ? e : null;
|
|
216
|
-
}
|
|
217
|
-
_getFullDomainPath(t = 0) {
|
|
218
|
-
const { config: { type: i } } = this;
|
|
219
|
-
switch (i) {
|
|
220
|
-
case c.X:
|
|
221
|
-
return `M0.5, ${t} V0.5 H${this._width + 0.5} V${t}`;
|
|
222
|
-
case c.Y:
|
|
223
|
-
return `M${-t}, ${this._height + 0.5} H0.5 V0.5 H${-t}`;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
_renderAxisLabel(t = this.axisGroup) {
|
|
227
|
-
var i;
|
|
228
|
-
const { type: e, label: s, labelMargin: n, labelFontSize: r } = this.config;
|
|
229
|
-
t.selectAll(`.${B}`).remove();
|
|
230
|
-
const a = this.getPosition(), { width: l, height: d } = (i = this._axisRawBBox) !== null && i !== void 0 ? i : t.node().getBBox(), u = e === c.X ? this._width / 2 : Math.pow(-1, +(a === o.Left)) * l, h = e === c.X ? Math.pow(-1, +(a === o.Top)) * d : this._height / 2, x = e === c.X ? 0 : Math.pow(-1, +(a === o.Left)) * n, g = e === c.X ? Math.pow(-1, +(a === o.Top)) * n : 0, f = e === c.Y ? -90 : 0;
|
|
231
|
-
t.append("text").attr("class", B).text(s).attr("dy", `${this._getLabelDY()}em`).attr("transform", `translate(${u + x},${h + g}) rotate(${f})`).style("font-size", r).style("fill", this.config.labelColor);
|
|
232
|
-
}
|
|
233
|
-
_getLabelDY() {
|
|
234
|
-
const { type: t, position: i } = this.config;
|
|
235
|
-
switch (t) {
|
|
236
|
-
case c.X:
|
|
237
|
-
switch (i) {
|
|
238
|
-
case o.Top:
|
|
239
|
-
return 0;
|
|
240
|
-
case o.Bottom:
|
|
241
|
-
default:
|
|
242
|
-
return 0.75;
|
|
243
|
-
}
|
|
244
|
-
case c.Y:
|
|
245
|
-
switch (i) {
|
|
246
|
-
case o.Right:
|
|
247
|
-
return 0.75;
|
|
248
|
-
case o.Left:
|
|
249
|
-
default:
|
|
250
|
-
return -0.25;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
_alignTickLabels() {
|
|
255
|
-
const { config: { type: t, tickTextAlign: i, tickTextAngle: e, position: s } } = this, n = this.g.selectAll("g.tick > text"), r = this._getTickTextAnchor(i), a = t === c.X ? 0 : this._getYTickTextTranslate(i, s), l = e ? `translate(${a},0) rotate(${e})` : `translate(${a},0)`;
|
|
256
|
-
n.attr("transform", l).attr("text-anchor", r);
|
|
257
|
-
}
|
|
258
|
-
_getTickTextAnchor(t) {
|
|
259
|
-
switch (t) {
|
|
260
|
-
case p.Left:
|
|
261
|
-
return "start";
|
|
262
|
-
case p.Right:
|
|
263
|
-
return "end";
|
|
264
|
-
case p.Center:
|
|
265
|
-
return "middle";
|
|
266
|
-
default:
|
|
267
|
-
return null;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
_getYTickTextTranslate(t, i = o.Left) {
|
|
271
|
-
const s = this._axisRawBBox.width - 9;
|
|
272
|
-
switch (t) {
|
|
273
|
-
case p.Left:
|
|
274
|
-
return i === o.Left ? s * -1 : 0;
|
|
275
|
-
case p.Right:
|
|
276
|
-
return i === o.Left ? 0 : s;
|
|
277
|
-
case p.Center:
|
|
278
|
-
return i === o.Left ? s * -0.5 : s * 0.5;
|
|
279
|
-
default:
|
|
280
|
-
return 0;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
I.selectors = P;
|
|
285
|
-
export {
|
|
286
|
-
I as Axis
|
|
287
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../../@emotion/css/dist/emotion-css.esm.cjs"),a=i.css`
|
|
2
|
-
label: axis-component;
|
|
3
|
-
`,o=i.injectGlobal`
|
|
4
|
-
:root {
|
|
5
|
-
// Undefined by default to allow proper fallback to var(--vis-font-family)
|
|
6
|
-
/* --vis-axis-font-family: */
|
|
7
|
-
--vis-axis-tick-color: #e8e9ef;
|
|
8
|
-
/* --vis-axis-domain-color: // Undefined by default to allow fallback to var(--vis-axis-tick-color) */
|
|
9
|
-
--vis-axis-grid-color: #e8e9ef;
|
|
10
|
-
--vis-axis-label-color: #6c778c;
|
|
11
|
-
--vis-axis-tick-label-color: #6c778c;
|
|
12
|
-
--vis-axis-tick-label-font-size: 12px;
|
|
13
|
-
--vis-axis-tick-label-cursor: default;
|
|
14
|
-
--vis-axis-tick-label-text-decoration: none;
|
|
15
|
-
--vis-axis-label-font-size: 14px;
|
|
16
|
-
--vis-axis-tick-line-width: 1px;
|
|
17
|
-
--vis-axis-tick-label-hide-transition: opacity 400ms ease-in-out;
|
|
18
|
-
--vis-axis-grid-line-width: 1px;
|
|
19
|
-
/* --vis-axis-domain-line-width: // Undefined by default to allow fallback to var(--vis-axis-grid-line-width) */
|
|
20
|
-
|
|
21
|
-
--vis-dark-axis-tick-color: #6c778c;
|
|
22
|
-
/* --vis-dark-axis-domain-color: // Undefined by default to allow fallback to var(--vis-dark-axis-tick-color) */
|
|
23
|
-
--vis-dark-axis-tick-label-color: #e8e9ef;
|
|
24
|
-
--vis-dark-axis-grid-color: #6c778c;
|
|
25
|
-
--vis-dark-axis-label-color: #fefefe;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
body.theme-dark ${`.${a}`} {
|
|
29
|
-
--vis-axis-tick-color: var(--vis-dark-axis-tick-color);
|
|
30
|
-
--vis-axis-domain-color: var(--vis-dark-axis-domain-color);
|
|
31
|
-
--vis-axis-tick-label-color: var(--vis-dark-axis-tick-label-color);
|
|
32
|
-
--vis-axis-grid-color: var(--vis-dark-axis-grid-color);
|
|
33
|
-
--vis-axis-label-color: var(--vis-dark-axis-label-color);
|
|
34
|
-
}
|
|
35
|
-
`,s=i.css`
|
|
36
|
-
label: hide-tick-line;
|
|
37
|
-
`,l=i.css`
|
|
38
|
-
label: hide-domain;
|
|
39
|
-
`,e=i.css`
|
|
40
|
-
label: axis;
|
|
41
|
-
|
|
42
|
-
user-select: none;
|
|
43
|
-
|
|
44
|
-
.domain {
|
|
45
|
-
stroke: var(--vis-axis-domain-color, var(--vis-axis-tick-color));
|
|
46
|
-
stroke-width: var(--vis-axis-domain-line-width, var(--vis-axis-grid-line-width));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&${`.${s}`} {
|
|
50
|
-
.tick > line {
|
|
51
|
-
opacity: 0;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&${`.${l}`} {
|
|
56
|
-
.domain {
|
|
57
|
-
opacity: 0;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
`,t=i.css`
|
|
61
|
-
label: grid;
|
|
62
|
-
|
|
63
|
-
.domain {
|
|
64
|
-
opacity: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
line {
|
|
68
|
-
stroke: var(--vis-axis-grid-color);
|
|
69
|
-
stroke-width: var(--vis-axis-grid-line-width);
|
|
70
|
-
}
|
|
71
|
-
`,c=i.css`
|
|
72
|
-
label: tick;
|
|
73
|
-
|
|
74
|
-
stroke: none;
|
|
75
|
-
font-size: var(--vis-axis-tick-label-font-size);
|
|
76
|
-
|
|
77
|
-
line {
|
|
78
|
-
stroke: var(--vis-axis-tick-color);
|
|
79
|
-
stroke-width: var(--vis-axis-tick-line-width);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
text {
|
|
83
|
-
fill: var(--vis-axis-tick-label-color);
|
|
84
|
-
cursor: var(--vis-axis-tick-label-cursor);
|
|
85
|
-
font-family: var(--vis-axis-font-family, var(--vis-font-family));
|
|
86
|
-
text-decoration: var(--vis-axis-tick-label-text-decoration);
|
|
87
|
-
stroke: none;
|
|
88
|
-
}
|
|
89
|
-
`,r=i.css`
|
|
90
|
-
label: label;
|
|
91
|
-
fill: var(--vis-axis-label-color);
|
|
92
|
-
font-size: var(--vis-axis-label-font-size);
|
|
93
|
-
font-family: var(--vis-axis-font-family, var(--vis-font-family));
|
|
94
|
-
text-anchor: middle;
|
|
95
|
-
`,n=i.css`
|
|
96
|
-
label: tick-label;
|
|
97
|
-
`,v=i.css`
|
|
98
|
-
label: tick-label-hideable;
|
|
99
|
-
opacity: 0;
|
|
100
|
-
transition: var(--vis-axis-tick-label-hide-transition);
|
|
101
|
-
`;exports.axis=e;exports.globalStyles=o;exports.grid=t;exports.hideDomain=l;exports.hideTickLine=s;exports.label=r;exports.root=a;exports.tick=c;exports.tickLabel=n;exports.tickLabelHideable=v;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { css as i, injectGlobal as a } from "../../../../@emotion/css/dist/emotion-css.esm.js";
|
|
2
|
-
const l = i`
|
|
3
|
-
label: axis-component;
|
|
4
|
-
`, t = a`
|
|
5
|
-
:root {
|
|
6
|
-
// Undefined by default to allow proper fallback to var(--vis-font-family)
|
|
7
|
-
/* --vis-axis-font-family: */
|
|
8
|
-
--vis-axis-tick-color: #e8e9ef;
|
|
9
|
-
/* --vis-axis-domain-color: // Undefined by default to allow fallback to var(--vis-axis-tick-color) */
|
|
10
|
-
--vis-axis-grid-color: #e8e9ef;
|
|
11
|
-
--vis-axis-label-color: #6c778c;
|
|
12
|
-
--vis-axis-tick-label-color: #6c778c;
|
|
13
|
-
--vis-axis-tick-label-font-size: 12px;
|
|
14
|
-
--vis-axis-tick-label-cursor: default;
|
|
15
|
-
--vis-axis-tick-label-text-decoration: none;
|
|
16
|
-
--vis-axis-label-font-size: 14px;
|
|
17
|
-
--vis-axis-tick-line-width: 1px;
|
|
18
|
-
--vis-axis-tick-label-hide-transition: opacity 400ms ease-in-out;
|
|
19
|
-
--vis-axis-grid-line-width: 1px;
|
|
20
|
-
/* --vis-axis-domain-line-width: // Undefined by default to allow fallback to var(--vis-axis-grid-line-width) */
|
|
21
|
-
|
|
22
|
-
--vis-dark-axis-tick-color: #6c778c;
|
|
23
|
-
/* --vis-dark-axis-domain-color: // Undefined by default to allow fallback to var(--vis-dark-axis-tick-color) */
|
|
24
|
-
--vis-dark-axis-tick-label-color: #e8e9ef;
|
|
25
|
-
--vis-dark-axis-grid-color: #6c778c;
|
|
26
|
-
--vis-dark-axis-label-color: #fefefe;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
body.theme-dark ${`.${l}`} {
|
|
30
|
-
--vis-axis-tick-color: var(--vis-dark-axis-tick-color);
|
|
31
|
-
--vis-axis-domain-color: var(--vis-dark-axis-domain-color);
|
|
32
|
-
--vis-axis-tick-label-color: var(--vis-dark-axis-tick-label-color);
|
|
33
|
-
--vis-axis-grid-color: var(--vis-dark-axis-grid-color);
|
|
34
|
-
--vis-axis-label-color: var(--vis-dark-axis-label-color);
|
|
35
|
-
}
|
|
36
|
-
`, o = i`
|
|
37
|
-
label: hide-tick-line;
|
|
38
|
-
`, s = i`
|
|
39
|
-
label: hide-domain;
|
|
40
|
-
`, r = i`
|
|
41
|
-
label: axis;
|
|
42
|
-
|
|
43
|
-
user-select: none;
|
|
44
|
-
|
|
45
|
-
.domain {
|
|
46
|
-
stroke: var(--vis-axis-domain-color, var(--vis-axis-tick-color));
|
|
47
|
-
stroke-width: var(--vis-axis-domain-line-width, var(--vis-axis-grid-line-width));
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&${`.${o}`} {
|
|
51
|
-
.tick > line {
|
|
52
|
-
opacity: 0;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&${`.${s}`} {
|
|
57
|
-
.domain {
|
|
58
|
-
opacity: 0;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
`, c = i`
|
|
62
|
-
label: grid;
|
|
63
|
-
|
|
64
|
-
.domain {
|
|
65
|
-
opacity: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
line {
|
|
69
|
-
stroke: var(--vis-axis-grid-color);
|
|
70
|
-
stroke-width: var(--vis-axis-grid-line-width);
|
|
71
|
-
}
|
|
72
|
-
`, v = i`
|
|
73
|
-
label: tick;
|
|
74
|
-
|
|
75
|
-
stroke: none;
|
|
76
|
-
font-size: var(--vis-axis-tick-label-font-size);
|
|
77
|
-
|
|
78
|
-
line {
|
|
79
|
-
stroke: var(--vis-axis-tick-color);
|
|
80
|
-
stroke-width: var(--vis-axis-tick-line-width);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
text {
|
|
84
|
-
fill: var(--vis-axis-tick-label-color);
|
|
85
|
-
cursor: var(--vis-axis-tick-label-cursor);
|
|
86
|
-
font-family: var(--vis-axis-font-family, var(--vis-font-family));
|
|
87
|
-
text-decoration: var(--vis-axis-tick-label-text-decoration);
|
|
88
|
-
stroke: none;
|
|
89
|
-
}
|
|
90
|
-
`, n = i`
|
|
91
|
-
label: label;
|
|
92
|
-
fill: var(--vis-axis-label-color);
|
|
93
|
-
font-size: var(--vis-axis-label-font-size);
|
|
94
|
-
font-family: var(--vis-axis-font-family, var(--vis-font-family));
|
|
95
|
-
text-anchor: middle;
|
|
96
|
-
`, d = i`
|
|
97
|
-
label: tick-label;
|
|
98
|
-
`, x = i`
|
|
99
|
-
label: tick-label-hideable;
|
|
100
|
-
opacity: 0;
|
|
101
|
-
transition: var(--vis-axis-tick-label-hide-transition);
|
|
102
|
-
`;
|
|
103
|
-
export {
|
|
104
|
-
r as axis,
|
|
105
|
-
t as globalStyles,
|
|
106
|
-
c as grid,
|
|
107
|
-
s as hideDomain,
|
|
108
|
-
o as hideTickLine,
|
|
109
|
-
n as label,
|
|
110
|
-
l as root,
|
|
111
|
-
v as tick,
|
|
112
|
-
d as tickLabel,
|
|
113
|
-
x as tickLabelHideable
|
|
114
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.AxisType=void 0;(function(e){e.X="x",e.Y="y"})(exports.AxisType||(exports.AxisType={}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./types.cjs"),n={items:[],labelClassName:"",onLegendItemClick:void 0,labelFontSize:null,labelMaxWidth:null,bulletSize:null,bulletShape:t=>{var e;return(e=t.shape)!==null&&e!==void 0?e:l.BulletShape.Circle},orientation:l.BulletLegendOrientation.Horizontal,renderIntoProvidedDomNode:!1};exports.BulletLegendDefaultConfig=n;
|