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,46 +0,0 @@
|
|
|
1
|
-
import { point as h } from "./basis.js";
|
|
2
|
-
function e(t) {
|
|
3
|
-
this._context = t;
|
|
4
|
-
}
|
|
5
|
-
e.prototype = {
|
|
6
|
-
areaStart: function() {
|
|
7
|
-
this._line = 0;
|
|
8
|
-
},
|
|
9
|
-
areaEnd: function() {
|
|
10
|
-
this._line = NaN;
|
|
11
|
-
},
|
|
12
|
-
lineStart: function() {
|
|
13
|
-
this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
|
|
14
|
-
},
|
|
15
|
-
lineEnd: function() {
|
|
16
|
-
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
17
|
-
},
|
|
18
|
-
point: function(t, i) {
|
|
19
|
-
switch (t = +t, i = +i, this._point) {
|
|
20
|
-
case 0:
|
|
21
|
-
this._point = 1;
|
|
22
|
-
break;
|
|
23
|
-
case 1:
|
|
24
|
-
this._point = 2;
|
|
25
|
-
break;
|
|
26
|
-
case 2:
|
|
27
|
-
this._point = 3;
|
|
28
|
-
var s = (this._x0 + 4 * this._x1 + t) / 6, n = (this._y0 + 4 * this._y1 + i) / 6;
|
|
29
|
-
this._line ? this._context.lineTo(s, n) : this._context.moveTo(s, n);
|
|
30
|
-
break;
|
|
31
|
-
case 3:
|
|
32
|
-
this._point = 4;
|
|
33
|
-
// falls through
|
|
34
|
-
default:
|
|
35
|
-
h(this, t, i);
|
|
36
|
-
break;
|
|
37
|
-
}
|
|
38
|
-
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = i;
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
function o(t) {
|
|
42
|
-
return new e(t);
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
o as default
|
|
46
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./basis.cjs");function r(t,i){this._basis=new a.Basis(t),this._beta=i}r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,i=this._y,s=t.length-1;if(s>0)for(var e=t[0],h=i[0],_=t[s]-e,o=i[s]-h,n=-1,u;++n<=s;)u=n/s,this._basis.point(this._beta*t[n]+(1-this._beta)*(e+u*_),this._beta*i[n]+(1-this._beta)*(h+u*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,i){this._x.push(+t),this._y.push(+i)}};const l=function t(i){function s(e){return i===1?new a.Basis(e):new r(e,i)}return s.beta=function(e){return t(+e)},s}(.85);exports.default=l;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Basis as _ } from "./basis.js";
|
|
2
|
-
function a(t, i) {
|
|
3
|
-
this._basis = new _(t), this._beta = i;
|
|
4
|
-
}
|
|
5
|
-
a.prototype = {
|
|
6
|
-
lineStart: function() {
|
|
7
|
-
this._x = [], this._y = [], this._basis.lineStart();
|
|
8
|
-
},
|
|
9
|
-
lineEnd: function() {
|
|
10
|
-
var t = this._x, i = this._y, n = t.length - 1;
|
|
11
|
-
if (n > 0)
|
|
12
|
-
for (var s = t[0], u = i[0], o = t[n] - s, r = i[n] - u, e = -1, h; ++e <= n; )
|
|
13
|
-
h = e / n, this._basis.point(
|
|
14
|
-
this._beta * t[e] + (1 - this._beta) * (s + h * o),
|
|
15
|
-
this._beta * i[e] + (1 - this._beta) * (u + h * r)
|
|
16
|
-
);
|
|
17
|
-
this._x = this._y = null, this._basis.lineEnd();
|
|
18
|
-
},
|
|
19
|
-
point: function(t, i) {
|
|
20
|
-
this._x.push(+t), this._y.push(+i);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
const b = function t(i) {
|
|
24
|
-
function n(s) {
|
|
25
|
-
return i === 1 ? new _(s) : new a(s, i);
|
|
26
|
-
}
|
|
27
|
-
return n.beta = function(s) {
|
|
28
|
-
return t(+s);
|
|
29
|
-
}, n;
|
|
30
|
-
}(0.85);
|
|
31
|
-
export {
|
|
32
|
-
b as default
|
|
33
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function s(i,t,n){i._context.bezierCurveTo(i._x1+i._k*(i._x2-i._x0),i._y1+i._k*(i._y2-i._y0),i._x2+i._k*(i._x1-t),i._y2+i._k*(i._y1-n),i._x2,i._y2)}function e(i,t){this._context=i,this._k=(1-t)/6}e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:s(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){switch(i=+i,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(i,t):this._context.moveTo(i,t);break;case 1:this._point=2,this._x1=i,this._y1=t;break;case 2:this._point=3;default:s(this,i,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const o=function i(t){function n(_){return new e(_,t)}return n.tension=function(_){return i(+_)},n}(0);exports.Cardinal=e;exports.default=o;exports.point=s;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
function s(i, t, _) {
|
|
2
|
-
i._context.bezierCurveTo(
|
|
3
|
-
i._x1 + i._k * (i._x2 - i._x0),
|
|
4
|
-
i._y1 + i._k * (i._y2 - i._y0),
|
|
5
|
-
i._x2 + i._k * (i._x1 - t),
|
|
6
|
-
i._y2 + i._k * (i._y1 - _),
|
|
7
|
-
i._x2,
|
|
8
|
-
i._y2
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
function e(i, t) {
|
|
12
|
-
this._context = i, this._k = (1 - t) / 6;
|
|
13
|
-
}
|
|
14
|
-
e.prototype = {
|
|
15
|
-
areaStart: function() {
|
|
16
|
-
this._line = 0;
|
|
17
|
-
},
|
|
18
|
-
areaEnd: function() {
|
|
19
|
-
this._line = NaN;
|
|
20
|
-
},
|
|
21
|
-
lineStart: function() {
|
|
22
|
-
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
|
|
23
|
-
},
|
|
24
|
-
lineEnd: function() {
|
|
25
|
-
switch (this._point) {
|
|
26
|
-
case 2:
|
|
27
|
-
this._context.lineTo(this._x2, this._y2);
|
|
28
|
-
break;
|
|
29
|
-
case 3:
|
|
30
|
-
s(this, this._x1, this._y1);
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
34
|
-
},
|
|
35
|
-
point: function(i, t) {
|
|
36
|
-
switch (i = +i, t = +t, this._point) {
|
|
37
|
-
case 0:
|
|
38
|
-
this._point = 1, this._line ? this._context.lineTo(i, t) : this._context.moveTo(i, t);
|
|
39
|
-
break;
|
|
40
|
-
case 1:
|
|
41
|
-
this._point = 2, this._x1 = i, this._y1 = t;
|
|
42
|
-
break;
|
|
43
|
-
case 2:
|
|
44
|
-
this._point = 3;
|
|
45
|
-
// falls through
|
|
46
|
-
default:
|
|
47
|
-
s(this, i, t);
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
50
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = i, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const o = function i(t) {
|
|
54
|
-
function _(n) {
|
|
55
|
-
return new e(n, t);
|
|
56
|
-
}
|
|
57
|
-
return _.tension = function(n) {
|
|
58
|
-
return i(+n);
|
|
59
|
-
}, _;
|
|
60
|
-
}(0);
|
|
61
|
-
export {
|
|
62
|
-
e as Cardinal,
|
|
63
|
-
o as default,
|
|
64
|
-
s as point
|
|
65
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../noop.cjs"),_=require("./cardinal.cjs");function h(t,i){this._context=t,this._k=(1-i)/6}h.prototype={areaStart:n.default,areaEnd:n.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x3=t,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=i);break;case 2:this._point=3,this._x5=t,this._y5=i;break;default:_.point(this,t,i);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const o=function t(i){function e(s){return new h(s,i)}return e.tension=function(s){return t(+s)},e}(0);exports.CardinalClosed=h;exports.default=o;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import _ from "../noop.js";
|
|
2
|
-
import { point as o } from "./cardinal.js";
|
|
3
|
-
function n(t, i) {
|
|
4
|
-
this._context = t, this._k = (1 - i) / 6;
|
|
5
|
-
}
|
|
6
|
-
n.prototype = {
|
|
7
|
-
areaStart: _,
|
|
8
|
-
areaEnd: _,
|
|
9
|
-
lineStart: function() {
|
|
10
|
-
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
|
|
11
|
-
},
|
|
12
|
-
lineEnd: function() {
|
|
13
|
-
switch (this._point) {
|
|
14
|
-
case 1: {
|
|
15
|
-
this._context.moveTo(this._x3, this._y3), this._context.closePath();
|
|
16
|
-
break;
|
|
17
|
-
}
|
|
18
|
-
case 2: {
|
|
19
|
-
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
20
|
-
break;
|
|
21
|
-
}
|
|
22
|
-
case 3: {
|
|
23
|
-
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
24
|
-
break;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
point: function(t, i) {
|
|
29
|
-
switch (t = +t, i = +i, this._point) {
|
|
30
|
-
case 0:
|
|
31
|
-
this._point = 1, this._x3 = t, this._y3 = i;
|
|
32
|
-
break;
|
|
33
|
-
case 1:
|
|
34
|
-
this._point = 2, this._context.moveTo(this._x4 = t, this._y4 = i);
|
|
35
|
-
break;
|
|
36
|
-
case 2:
|
|
37
|
-
this._point = 3, this._x5 = t, this._y5 = i;
|
|
38
|
-
break;
|
|
39
|
-
default:
|
|
40
|
-
o(this, t, i);
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = i;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
const c = function t(i) {
|
|
47
|
-
function h(s) {
|
|
48
|
-
return new n(s, i);
|
|
49
|
-
}
|
|
50
|
-
return h.tension = function(s) {
|
|
51
|
-
return t(+s);
|
|
52
|
-
}, h;
|
|
53
|
-
}(0);
|
|
54
|
-
export {
|
|
55
|
-
n as CardinalClosed,
|
|
56
|
-
c as default
|
|
57
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("./cardinal.cjs");function s(t,i){this._context=t,this._k=(1-i)/6}s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:h.point(this,t,i);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const _=function t(i){function e(n){return new s(n,i)}return e.tension=function(n){return t(+n)},e}(0);exports.CardinalOpen=s;exports.default=_;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { point as _ } from "./cardinal.js";
|
|
2
|
-
function h(t, i) {
|
|
3
|
-
this._context = t, this._k = (1 - i) / 6;
|
|
4
|
-
}
|
|
5
|
-
h.prototype = {
|
|
6
|
-
areaStart: function() {
|
|
7
|
-
this._line = 0;
|
|
8
|
-
},
|
|
9
|
-
areaEnd: function() {
|
|
10
|
-
this._line = NaN;
|
|
11
|
-
},
|
|
12
|
-
lineStart: function() {
|
|
13
|
-
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
|
|
14
|
-
},
|
|
15
|
-
lineEnd: function() {
|
|
16
|
-
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
17
|
-
},
|
|
18
|
-
point: function(t, i) {
|
|
19
|
-
switch (t = +t, i = +i, this._point) {
|
|
20
|
-
case 0:
|
|
21
|
-
this._point = 1;
|
|
22
|
-
break;
|
|
23
|
-
case 1:
|
|
24
|
-
this._point = 2;
|
|
25
|
-
break;
|
|
26
|
-
case 2:
|
|
27
|
-
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
28
|
-
break;
|
|
29
|
-
case 3:
|
|
30
|
-
this._point = 4;
|
|
31
|
-
// falls through
|
|
32
|
-
default:
|
|
33
|
-
_(this, t, i);
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = i;
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const o = function t(i) {
|
|
40
|
-
function s(n) {
|
|
41
|
-
return new h(n, i);
|
|
42
|
-
}
|
|
43
|
-
return s.tension = function(n) {
|
|
44
|
-
return t(+n);
|
|
45
|
-
}, s;
|
|
46
|
-
}(0);
|
|
47
|
-
export {
|
|
48
|
-
h as CardinalOpen,
|
|
49
|
-
o as default
|
|
50
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("../math.cjs"),f=require("./cardinal.cjs");function u(_,i,l){var s=_._x1,n=_._y1,e=_._x2,t=_._y2;if(_._l01_a>c.epsilon){var o=2*_._l01_2a+3*_._l01_a*_._l12_a+_._l12_2a,a=3*_._l01_a*(_._l01_a+_._l12_a);s=(s*o-_._x0*_._l12_2a+_._x2*_._l01_2a)/a,n=(n*o-_._y0*_._l12_2a+_._y2*_._l01_2a)/a}if(_._l23_a>c.epsilon){var r=2*_._l23_2a+3*_._l23_a*_._l12_a+_._l12_2a,h=3*_._l23_a*(_._l23_a+_._l12_a);e=(e*r+_._x1*_._l23_2a-i*_._l12_2a)/h,t=(t*r+_._y1*_._l23_2a-l*_._l12_2a)/h}_._context.bezierCurveTo(s,n,e,t,_._x2,_._y2)}function p(_,i){this._context=_,this._alpha=i}p.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(_,i){if(_=+_,i=+i,this._point){var l=this._x2-_,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(l*l+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(_,i):this._context.moveTo(_,i);break;case 1:this._point=2;break;case 2:this._point=3;default:u(this,_,i);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=_,this._y0=this._y1,this._y1=this._y2,this._y2=i}};const x=function _(i){function l(s){return i?new p(s,i):new f.Cardinal(s,0)}return l.alpha=function(s){return _(+s)},l}(.5);exports.default=x;exports.point=u;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { epsilon as c } from "../math.js";
|
|
2
|
-
import { Cardinal as p } from "./cardinal.js";
|
|
3
|
-
function f(_, i, l) {
|
|
4
|
-
var s = _._x1, n = _._y1, o = _._x2, t = _._y2;
|
|
5
|
-
if (_._l01_a > c) {
|
|
6
|
-
var e = 2 * _._l01_2a + 3 * _._l01_a * _._l12_a + _._l12_2a, a = 3 * _._l01_a * (_._l01_a + _._l12_a);
|
|
7
|
-
s = (s * e - _._x0 * _._l12_2a + _._x2 * _._l01_2a) / a, n = (n * e - _._y0 * _._l12_2a + _._y2 * _._l01_2a) / a;
|
|
8
|
-
}
|
|
9
|
-
if (_._l23_a > c) {
|
|
10
|
-
var h = 2 * _._l23_2a + 3 * _._l23_a * _._l12_a + _._l12_2a, r = 3 * _._l23_a * (_._l23_a + _._l12_a);
|
|
11
|
-
o = (o * h + _._x1 * _._l23_2a - i * _._l12_2a) / r, t = (t * h + _._y1 * _._l23_2a - l * _._l12_2a) / r;
|
|
12
|
-
}
|
|
13
|
-
_._context.bezierCurveTo(s, n, o, t, _._x2, _._y2);
|
|
14
|
-
}
|
|
15
|
-
function u(_, i) {
|
|
16
|
-
this._context = _, this._alpha = i;
|
|
17
|
-
}
|
|
18
|
-
u.prototype = {
|
|
19
|
-
areaStart: function() {
|
|
20
|
-
this._line = 0;
|
|
21
|
-
},
|
|
22
|
-
areaEnd: function() {
|
|
23
|
-
this._line = NaN;
|
|
24
|
-
},
|
|
25
|
-
lineStart: function() {
|
|
26
|
-
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
27
|
-
},
|
|
28
|
-
lineEnd: function() {
|
|
29
|
-
switch (this._point) {
|
|
30
|
-
case 2:
|
|
31
|
-
this._context.lineTo(this._x2, this._y2);
|
|
32
|
-
break;
|
|
33
|
-
case 3:
|
|
34
|
-
this.point(this._x2, this._y2);
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
38
|
-
},
|
|
39
|
-
point: function(_, i) {
|
|
40
|
-
if (_ = +_, i = +i, this._point) {
|
|
41
|
-
var l = this._x2 - _, s = this._y2 - i;
|
|
42
|
-
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(l * l + s * s, this._alpha));
|
|
43
|
-
}
|
|
44
|
-
switch (this._point) {
|
|
45
|
-
case 0:
|
|
46
|
-
this._point = 1, this._line ? this._context.lineTo(_, i) : this._context.moveTo(_, i);
|
|
47
|
-
break;
|
|
48
|
-
case 1:
|
|
49
|
-
this._point = 2;
|
|
50
|
-
break;
|
|
51
|
-
case 2:
|
|
52
|
-
this._point = 3;
|
|
53
|
-
// falls through
|
|
54
|
-
default:
|
|
55
|
-
f(this, _, i);
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = _, this._y0 = this._y1, this._y1 = this._y2, this._y2 = i;
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
const m = function _(i) {
|
|
62
|
-
function l(s) {
|
|
63
|
-
return i ? new u(s, i) : new p(s, 0);
|
|
64
|
-
}
|
|
65
|
-
return l.alpha = function(s) {
|
|
66
|
-
return _(+s);
|
|
67
|
-
}, l;
|
|
68
|
-
}(0.5);
|
|
69
|
-
export {
|
|
70
|
-
m as default,
|
|
71
|
-
f as point
|
|
72
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./cardinalClosed.cjs"),h=require("../noop.cjs"),o=require("./catmullRom.cjs");function a(i,t){this._context=i,this._alpha=t}a.prototype={areaStart:h.default,areaEnd:h.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(i,t){if(i=+i,t=+t,this._point){var _=this._x2-i,s=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(_*_+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=i,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=i,this._y4=t);break;case 2:this._point=3,this._x5=i,this._y5=t;break;default:o.point(this,i,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const n=function i(t){function _(s){return t?new a(s,t):new e.CardinalClosed(s,0)}return _.alpha=function(s){return i(+s)},_}(.5);exports.default=n;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { CardinalClosed as o } from "./cardinalClosed.js";
|
|
2
|
-
import h from "../noop.js";
|
|
3
|
-
import { point as n } from "./catmullRom.js";
|
|
4
|
-
function a(i, t) {
|
|
5
|
-
this._context = i, this._alpha = t;
|
|
6
|
-
}
|
|
7
|
-
a.prototype = {
|
|
8
|
-
areaStart: h,
|
|
9
|
-
areaEnd: h,
|
|
10
|
-
lineStart: function() {
|
|
11
|
-
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
12
|
-
},
|
|
13
|
-
lineEnd: function() {
|
|
14
|
-
switch (this._point) {
|
|
15
|
-
case 1: {
|
|
16
|
-
this._context.moveTo(this._x3, this._y3), this._context.closePath();
|
|
17
|
-
break;
|
|
18
|
-
}
|
|
19
|
-
case 2: {
|
|
20
|
-
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
21
|
-
break;
|
|
22
|
-
}
|
|
23
|
-
case 3: {
|
|
24
|
-
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
point: function(i, t) {
|
|
30
|
-
if (i = +i, t = +t, this._point) {
|
|
31
|
-
var _ = this._x2 - i, s = this._y2 - t;
|
|
32
|
-
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(_ * _ + s * s, this._alpha));
|
|
33
|
-
}
|
|
34
|
-
switch (this._point) {
|
|
35
|
-
case 0:
|
|
36
|
-
this._point = 1, this._x3 = i, this._y3 = t;
|
|
37
|
-
break;
|
|
38
|
-
case 1:
|
|
39
|
-
this._point = 2, this._context.moveTo(this._x4 = i, this._y4 = t);
|
|
40
|
-
break;
|
|
41
|
-
case 2:
|
|
42
|
-
this._point = 3, this._x5 = i, this._y5 = t;
|
|
43
|
-
break;
|
|
44
|
-
default:
|
|
45
|
-
n(this, i, t);
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = i, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
const c = function i(t) {
|
|
52
|
-
function _(s) {
|
|
53
|
-
return t ? new a(s, t) : new o(s, 0);
|
|
54
|
-
}
|
|
55
|
-
return _.alpha = function(s) {
|
|
56
|
-
return i(+s);
|
|
57
|
-
}, _;
|
|
58
|
-
}(0.5);
|
|
59
|
-
export {
|
|
60
|
-
c as default
|
|
61
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./cardinalOpen.cjs"),e=require("./catmullRom.cjs");function h(i,t){this._context=i,this._alpha=t}h.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(i,t){if(i=+i,t=+t,this._point){var s=this._x2-i,_=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(s*s+_*_,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:e.point(this,i,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=i,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const a=function i(t){function s(_){return t?new h(_,t):new n.CardinalOpen(_,0)}return s.alpha=function(_){return i(+_)},s}(.5);exports.default=a;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { CardinalOpen as n } from "./cardinalOpen.js";
|
|
2
|
-
import { point as a } from "./catmullRom.js";
|
|
3
|
-
function h(i, t) {
|
|
4
|
-
this._context = i, this._alpha = t;
|
|
5
|
-
}
|
|
6
|
-
h.prototype = {
|
|
7
|
-
areaStart: function() {
|
|
8
|
-
this._line = 0;
|
|
9
|
-
},
|
|
10
|
-
areaEnd: function() {
|
|
11
|
-
this._line = NaN;
|
|
12
|
-
},
|
|
13
|
-
lineStart: function() {
|
|
14
|
-
this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
|
|
15
|
-
},
|
|
16
|
-
lineEnd: function() {
|
|
17
|
-
(this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
|
|
18
|
-
},
|
|
19
|
-
point: function(i, t) {
|
|
20
|
-
if (i = +i, t = +t, this._point) {
|
|
21
|
-
var s = this._x2 - i, _ = this._y2 - t;
|
|
22
|
-
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(s * s + _ * _, this._alpha));
|
|
23
|
-
}
|
|
24
|
-
switch (this._point) {
|
|
25
|
-
case 0:
|
|
26
|
-
this._point = 1;
|
|
27
|
-
break;
|
|
28
|
-
case 1:
|
|
29
|
-
this._point = 2;
|
|
30
|
-
break;
|
|
31
|
-
case 2:
|
|
32
|
-
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
33
|
-
break;
|
|
34
|
-
case 3:
|
|
35
|
-
this._point = 4;
|
|
36
|
-
// falls through
|
|
37
|
-
default:
|
|
38
|
-
a(this, i, t);
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = i, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const l = function i(t) {
|
|
45
|
-
function s(_) {
|
|
46
|
-
return t ? new h(_, t) : new n(_, 0);
|
|
47
|
-
}
|
|
48
|
-
return s.alpha = function(_) {
|
|
49
|
-
return i(+_);
|
|
50
|
-
}, s;
|
|
51
|
-
}(0.5);
|
|
52
|
-
export {
|
|
53
|
-
l as default
|
|
54
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(t){this._context=t}e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:this._context.lineTo(t,i);break}}};function n(t){return new e(t)}exports.default=n;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
function n(t) {
|
|
2
|
-
this._context = t;
|
|
3
|
-
}
|
|
4
|
-
n.prototype = {
|
|
5
|
-
areaStart: function() {
|
|
6
|
-
this._line = 0;
|
|
7
|
-
},
|
|
8
|
-
areaEnd: function() {
|
|
9
|
-
this._line = NaN;
|
|
10
|
-
},
|
|
11
|
-
lineStart: function() {
|
|
12
|
-
this._point = 0;
|
|
13
|
-
},
|
|
14
|
-
lineEnd: function() {
|
|
15
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
16
|
-
},
|
|
17
|
-
point: function(t, i) {
|
|
18
|
-
switch (t = +t, i = +i, this._point) {
|
|
19
|
-
case 0:
|
|
20
|
-
this._point = 1, this._line ? this._context.lineTo(t, i) : this._context.moveTo(t, i);
|
|
21
|
-
break;
|
|
22
|
-
case 1:
|
|
23
|
-
this._point = 2;
|
|
24
|
-
// falls through
|
|
25
|
-
default:
|
|
26
|
-
this._context.lineTo(t, i);
|
|
27
|
-
break;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
function e(t) {
|
|
32
|
-
return new n(t);
|
|
33
|
-
}
|
|
34
|
-
export {
|
|
35
|
-
e as default
|
|
36
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../noop.cjs");function i(t){this._context=t}i.prototype={areaStart:n.default,areaEnd:n.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function o(t){return new i(t)}exports.default=o;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import o from "../noop.js";
|
|
2
|
-
function i(t) {
|
|
3
|
-
this._context = t;
|
|
4
|
-
}
|
|
5
|
-
i.prototype = {
|
|
6
|
-
areaStart: o,
|
|
7
|
-
areaEnd: o,
|
|
8
|
-
lineStart: function() {
|
|
9
|
-
this._point = 0;
|
|
10
|
-
},
|
|
11
|
-
lineEnd: function() {
|
|
12
|
-
this._point && this._context.closePath();
|
|
13
|
-
},
|
|
14
|
-
point: function(t, n) {
|
|
15
|
-
t = +t, n = +n, this._point ? this._context.lineTo(t, n) : (this._point = 1, this._context.moveTo(t, n));
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
function r(t) {
|
|
19
|
-
return new i(t);
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
r as default
|
|
23
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(t){return t<0?-1:1}function a(t,i,n){var o=t._x1-t._x0,s=i-t._x1,e=(t._y1-t._y0)/(o||s<0&&-0),_=(n-t._y1)/(s||o<0&&-0),h=(e*s+_*o)/(o+s);return(u(e)+u(_))*Math.min(Math.abs(e),Math.abs(_),.5*Math.abs(h))||0}function l(t,i){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-i)/2:i}function r(t,i,n){var o=t._x0,s=t._y0,e=t._x1,_=t._y1,h=(e-o)/3;t._context.bezierCurveTo(o+h,s+h*i,e-h,_-h*n,e,_)}function c(t){this._context=t}c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:r(this,this._t0,l(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){var n=NaN;if(t=+t,i=+i,!(t===this._x1&&i===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,r(this,l(this,n=a(this,t,i)),n);break;default:r(this,this._t0,n=a(this,t,i));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i,this._t0=n}}};function p(t){this._context=new f(t)}(p.prototype=Object.create(c.prototype)).point=function(t,i){c.prototype.point.call(this,i,t)};function f(t){this._context=t}f.prototype={moveTo:function(t,i){this._context.moveTo(i,t)},closePath:function(){this._context.closePath()},lineTo:function(t,i){this._context.lineTo(i,t)},bezierCurveTo:function(t,i,n,o,s,e){this._context.bezierCurveTo(i,t,o,n,e,s)}};function x(t){return new c(t)}function y(t){return new p(t)}exports.monotoneX=x;exports.monotoneY=y;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
function u(t) {
|
|
2
|
-
return t < 0 ? -1 : 1;
|
|
3
|
-
}
|
|
4
|
-
function a(t, i, n) {
|
|
5
|
-
var o = t._x1 - t._x0, s = i - t._x1, e = (t._y1 - t._y0) / (o || s < 0 && -0), _ = (n - t._y1) / (s || o < 0 && -0), h = (e * s + _ * o) / (o + s);
|
|
6
|
-
return (u(e) + u(_)) * Math.min(Math.abs(e), Math.abs(_), 0.5 * Math.abs(h)) || 0;
|
|
7
|
-
}
|
|
8
|
-
function p(t, i) {
|
|
9
|
-
var n = t._x1 - t._x0;
|
|
10
|
-
return n ? (3 * (t._y1 - t._y0) / n - i) / 2 : i;
|
|
11
|
-
}
|
|
12
|
-
function r(t, i, n) {
|
|
13
|
-
var o = t._x0, s = t._y0, e = t._x1, _ = t._y1, h = (e - o) / 3;
|
|
14
|
-
t._context.bezierCurveTo(o + h, s + h * i, e - h, _ - h * n, e, _);
|
|
15
|
-
}
|
|
16
|
-
function c(t) {
|
|
17
|
-
this._context = t;
|
|
18
|
-
}
|
|
19
|
-
c.prototype = {
|
|
20
|
-
areaStart: function() {
|
|
21
|
-
this._line = 0;
|
|
22
|
-
},
|
|
23
|
-
areaEnd: function() {
|
|
24
|
-
this._line = NaN;
|
|
25
|
-
},
|
|
26
|
-
lineStart: function() {
|
|
27
|
-
this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
|
|
28
|
-
},
|
|
29
|
-
lineEnd: function() {
|
|
30
|
-
switch (this._point) {
|
|
31
|
-
case 2:
|
|
32
|
-
this._context.lineTo(this._x1, this._y1);
|
|
33
|
-
break;
|
|
34
|
-
case 3:
|
|
35
|
-
r(this, this._t0, p(this, this._t0));
|
|
36
|
-
break;
|
|
37
|
-
}
|
|
38
|
-
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
39
|
-
},
|
|
40
|
-
point: function(t, i) {
|
|
41
|
-
var n = NaN;
|
|
42
|
-
if (t = +t, i = +i, !(t === this._x1 && i === this._y1)) {
|
|
43
|
-
switch (this._point) {
|
|
44
|
-
case 0:
|
|
45
|
-
this._point = 1, this._line ? this._context.lineTo(t, i) : this._context.moveTo(t, i);
|
|
46
|
-
break;
|
|
47
|
-
case 1:
|
|
48
|
-
this._point = 2;
|
|
49
|
-
break;
|
|
50
|
-
case 2:
|
|
51
|
-
this._point = 3, r(this, p(this, n = a(this, t, i)), n);
|
|
52
|
-
break;
|
|
53
|
-
default:
|
|
54
|
-
r(this, this._t0, n = a(this, t, i));
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
57
|
-
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = i, this._t0 = n;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
function x(t) {
|
|
62
|
-
this._context = new f(t);
|
|
63
|
-
}
|
|
64
|
-
(x.prototype = Object.create(c.prototype)).point = function(t, i) {
|
|
65
|
-
c.prototype.point.call(this, i, t);
|
|
66
|
-
};
|
|
67
|
-
function f(t) {
|
|
68
|
-
this._context = t;
|
|
69
|
-
}
|
|
70
|
-
f.prototype = {
|
|
71
|
-
moveTo: function(t, i) {
|
|
72
|
-
this._context.moveTo(i, t);
|
|
73
|
-
},
|
|
74
|
-
closePath: function() {
|
|
75
|
-
this._context.closePath();
|
|
76
|
-
},
|
|
77
|
-
lineTo: function(t, i) {
|
|
78
|
-
this._context.lineTo(i, t);
|
|
79
|
-
},
|
|
80
|
-
bezierCurveTo: function(t, i, n, o, s, e) {
|
|
81
|
-
this._context.bezierCurveTo(i, t, o, n, e, s);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
function l(t) {
|
|
85
|
-
return new c(t);
|
|
86
|
-
}
|
|
87
|
-
function y(t) {
|
|
88
|
-
return new x(t);
|
|
89
|
-
}
|
|
90
|
-
export {
|
|
91
|
-
l as monotoneX,
|
|
92
|
-
y as monotoneY
|
|
93
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function l(e){this._context=e}l.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var s=h(e),o=h(t),i=0,r=1;r<n;++i,++r)this._context.bezierCurveTo(s[0][i],o[0][i],s[1][i],o[1][i],e[r],t[r]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function h(e){var t,n=e.length-1,s,o=new Array(n),i=new Array(n),r=new Array(n);for(o[0]=0,i[0]=2,r[0]=e[0]+2*e[1],t=1;t<n-1;++t)o[t]=1,i[t]=4,r[t]=4*e[t]+2*e[t+1];for(o[n-1]=2,i[n-1]=7,r[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)s=o[t]/i[t-1],i[t]-=s,r[t]-=s*r[t-1];for(o[n-1]=r[n-1]/i[n-1],t=n-2;t>=0;--t)o[t]=(r[t]-o[t+1])/i[t];for(i[n-1]=(e[n]+o[n-1])/2,t=0;t<n-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function a(e){return new l(e)}exports.default=a;
|