vue-chrts 0.1.0-beta.2-internal-21 → 0.1.0-beta.2
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 +3 -82
- 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/AreaChart.vue.d.ts +0 -14
- package/dist/components/Area/AreaChart2.cjs +0 -1
- package/dist/components/Area/AreaChart2.js +0 -4
- package/dist/components/Area/index.d.ts +0 -2
- package/dist/components/Area/types.d.ts +0 -82
- package/dist/components/AreaStacked/AreaStackedChart.cjs +0 -1
- package/dist/components/AreaStacked/AreaStackedChart.js +0 -74
- package/dist/components/AreaStacked/AreaStackedChart.vue.d.ts +0 -20
- package/dist/components/AreaStacked/AreaStackedChart2.cjs +0 -1
- package/dist/components/AreaStacked/AreaStackedChart2.js +0 -4
- 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/BarChart2.js +0 -4
- 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/DonutChart.vue.d.ts +0 -18
- package/dist/components/Donut/DonutChart2.cjs +0 -1
- package/dist/components/Donut/DonutChart2.js +0 -4
- package/dist/components/Donut/index.cjs +0 -1
- package/dist/components/Donut/index.d.ts +0 -17
- package/dist/components/Donut/index.js +0 -5
- package/dist/components/Line/LineChart.cjs +0 -1
- package/dist/components/Line/LineChart.js +0 -97
- package/dist/components/Line/LineChart.vue.d.ts +0 -27
- package/dist/components/Line/LineChart2.cjs +0 -1
- package/dist/components/Line/LineChart2.js +0 -4
- package/dist/components/Line/index.d.ts +0 -1
- package/dist/components/Tooltip.cjs +0 -1
- package/dist/components/Tooltip.js +0 -37
- package/dist/components/Tooltip.vue.d.ts +0 -19
- package/dist/components/Tooltip2.cjs +0 -1
- package/dist/components/Tooltip2.js +0 -4
- package/dist/index.cjs +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -12
- 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/types.d.ts +0 -5
- package/dist/types.js +0 -4
- package/dist/utils.cjs +0 -1
- package/dist/utils.d.ts +0 -1
- package/dist/utils.js +0 -18
- package/dist/vite.svg +0 -1
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
function r(t) {
|
|
2
|
-
return function() {
|
|
3
|
-
delete this[t];
|
|
4
|
-
};
|
|
5
|
-
}
|
|
6
|
-
function o(t, n) {
|
|
7
|
-
return function() {
|
|
8
|
-
this[t] = n;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
function i(t, n) {
|
|
12
|
-
return function() {
|
|
13
|
-
var e = n.apply(this, arguments);
|
|
14
|
-
e == null ? delete this[t] : this[t] = e;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
function u(t, n) {
|
|
18
|
-
return arguments.length > 1 ? this.each((n == null ? r : typeof n == "function" ? i : o)(t, n)) : this.node()[t];
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
u as default
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(){this.nextSibling&&this.parentNode.appendChild(this)}function t(){return this.each(e)}exports.default=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(){var e=this.parentNode;e&&e.removeChild(this)}function r(){return this.each(t)}exports.default=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs"),s=require("../selector.cjs");function d(_){typeof _!="function"&&(_=s.default(_));for(var l=this._groups,n=l.length,f=new Array(n),a=0;a<n;++a)for(var r=l[a],c=r.length,u=f[a]=new Array(c),t,i,e=0;e<c;++e)(t=r[e])&&(i=_.call(t,t.__data__,e,r))&&("__data__"in t&&(i.__data__=t.__data__),u[e]=i);return new o.Selection(f,this._parents)}exports.default=d;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Selection as o } from "./index.js";
|
|
2
|
-
import m from "../selector.js";
|
|
3
|
-
function p(a) {
|
|
4
|
-
typeof a != "function" && (a = m(a));
|
|
5
|
-
for (var n = this._groups, e = n.length, l = new Array(e), r = 0; r < e; ++r)
|
|
6
|
-
for (var f = n[r], c = f.length, h = l[r] = new Array(c), _, i, t = 0; t < c; ++t)
|
|
7
|
-
(_ = f[t]) && (i = a.call(_, _.__data__, t, f)) && ("__data__" in _ && (i.__data__ = _.__data__), h[t] = i);
|
|
8
|
-
return new o(l, this._parents);
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
p as default
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./index.cjs"),s=require("../array.cjs"),_=require("../selectorAll.cjs");function h(e){return function(){return s.default(e.apply(this,arguments))}}function d(e){typeof e=="function"?e=h(e):e=_.default(e);for(var u=this._groups,f=u.length,a=[],i=[],l=0;l<f;++l)for(var n=u[l],o=n.length,t,r=0;r<o;++r)(t=n[r])&&(a.push(e.call(t,t.__data__,r,n)),i.push(t));return new c.Selection(a,i)}exports.default=d;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Selection as e } from "./index.js";
|
|
2
|
-
import h from "../array.js";
|
|
3
|
-
import _ from "../selectorAll.js";
|
|
4
|
-
function p(r) {
|
|
5
|
-
return function() {
|
|
6
|
-
return h(r.apply(this, arguments));
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
function s(r) {
|
|
10
|
-
typeof r == "function" ? r = p(r) : r = _(r);
|
|
11
|
-
for (var l = this._groups, m = l.length, o = [], i = [], n = 0; n < m; ++n)
|
|
12
|
-
for (var a = l[n], u = a.length, t, f = 0; f < u; ++f)
|
|
13
|
-
(t = a[f]) && (o.push(r.call(t, t.__data__, f, a)), i.push(t));
|
|
14
|
-
return new e(o, i);
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
s as default
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../matcher.cjs");var i=Array.prototype.find;function n(e){return function(){return i.call(this.children,e)}}function r(){return this.firstElementChild}function l(e){return this.select(e==null?r:n(typeof e=="function"?e:t.childMatcher(e)))}exports.default=l;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { childMatcher as i } from "../matcher.js";
|
|
2
|
-
var n = Array.prototype.find;
|
|
3
|
-
function r(t) {
|
|
4
|
-
return function() {
|
|
5
|
-
return n.call(this.children, t);
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
function e() {
|
|
9
|
-
return this.firstElementChild;
|
|
10
|
-
}
|
|
11
|
-
function o(t) {
|
|
12
|
-
return this.select(t == null ? e : r(typeof t == "function" ? t : i(t)));
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
o as default
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../matcher.cjs");var t=Array.prototype.filter;function l(){return Array.from(this.children)}function n(e){return function(){return t.call(this.children,e)}}function i(e){return this.selectAll(e==null?l:n(typeof e=="function"?e:r.childMatcher(e)))}exports.default=i;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { childMatcher as e } from "../matcher.js";
|
|
2
|
-
var t = Array.prototype.filter;
|
|
3
|
-
function n() {
|
|
4
|
-
return Array.from(this.children);
|
|
5
|
-
}
|
|
6
|
-
function i(r) {
|
|
7
|
-
return function() {
|
|
8
|
-
return t.call(this.children, r);
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
function o(r) {
|
|
12
|
-
return this.selectAll(r == null ? n : i(typeof r == "function" ? r : e(r)));
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
o as default
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(){let e=0;for(const o of this)++e;return e}exports.default=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("./index.cjs");function h(e){e||(e=v);function t(i,_){return i&&_?e(i.__data__,_.__data__):!i-!_}for(var u=this._groups,a=u.length,l=new Array(a),n=0;n<a;++n){for(var o=u[n],d=o.length,f=l[n]=new Array(d),s,r=0;r<d;++r)(s=o[r])&&(f[r]=s);f.sort(t)}return new c.Selection(l,this._parents).order()}function v(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}exports.default=h;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Selection as h } from "./index.js";
|
|
2
|
-
function N(t) {
|
|
3
|
-
t || (t = u);
|
|
4
|
-
function n(_, f) {
|
|
5
|
-
return _ && f ? t(_.__data__, f.__data__) : !_ - !f;
|
|
6
|
-
}
|
|
7
|
-
for (var a = this._groups, i = a.length, o = new Array(i), e = 0; e < i; ++e) {
|
|
8
|
-
for (var c = a[e], d = c.length, l = o[e] = new Array(d), s, r = 0; r < d; ++r)
|
|
9
|
-
(s = c[r]) && (l[r] = s);
|
|
10
|
-
l.sort(n);
|
|
11
|
-
}
|
|
12
|
-
return new h(o, this._parents).order();
|
|
13
|
-
}
|
|
14
|
-
function u(t, n) {
|
|
15
|
-
return t < n ? -1 : t > n ? 1 : t >= n ? 0 : NaN;
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
N as default
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(e){return new Array(e.length)}exports.default=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../window.cjs");function s(t){return function(){this.style.removeProperty(t)}}function o(t,e,n){return function(){this.style.setProperty(t,e,n)}}function i(t,e,n){return function(){var l=e.apply(this,arguments);l==null?this.style.removeProperty(t):this.style.setProperty(t,l,n)}}function y(t,e,n){return arguments.length>1?this.each((e==null?s:typeof e=="function"?i:o)(t,e,n??"")):u(this.node(),t)}function u(t,e){return t.style.getPropertyValue(e)||r.default(t).getComputedStyle(t,null).getPropertyValue(e)}exports.default=y;exports.styleValue=u;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import l from "../window.js";
|
|
2
|
-
function s(t) {
|
|
3
|
-
return function() {
|
|
4
|
-
this.style.removeProperty(t);
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
function u(t, e, n) {
|
|
8
|
-
return function() {
|
|
9
|
-
this.style.setProperty(t, e, n);
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
function o(t, e, n) {
|
|
13
|
-
return function() {
|
|
14
|
-
var r = e.apply(this, arguments);
|
|
15
|
-
r == null ? this.style.removeProperty(t) : this.style.setProperty(t, r, n);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function f(t, e, n) {
|
|
19
|
-
return arguments.length > 1 ? this.each((e == null ? s : typeof e == "function" ? o : u)(t, e, n ?? "")) : i(this.node(), t);
|
|
20
|
-
}
|
|
21
|
-
function i(t, e) {
|
|
22
|
-
return t.style.getPropertyValue(e) || l(t).getComputedStyle(t, null).getPropertyValue(e);
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
f as default,
|
|
26
|
-
i as styleValue
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(){this.textContent=""}function o(t){return function(){this.textContent=t}}function u(t){return function(){var n=t.apply(this,arguments);this.textContent=n??""}}function i(t){return arguments.length?this.each(t==null?e:(typeof t=="function"?u:o)(t)):this.node().textContent}exports.default=i;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
function e() {
|
|
2
|
-
this.textContent = "";
|
|
3
|
-
}
|
|
4
|
-
function o(t) {
|
|
5
|
-
return function() {
|
|
6
|
-
this.textContent = t;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
function i(t) {
|
|
10
|
-
return function() {
|
|
11
|
-
var n = t.apply(this, arguments);
|
|
12
|
-
this.textContent = n ?? "";
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function u(t) {
|
|
16
|
-
return arguments.length ? this.each(t == null ? e : (typeof t == "function" ? i : o)(t)) : this.node().textContent;
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
u as default
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(){}function u(e){return e==null?t:function(){return this.querySelector(e)}}exports.default=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(){return[]}function u(e){return e==null?t:function(){return this.querySelectorAll(e)}}exports.default=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function u(e){let t;for(;t=e.sourceEvent;)e=t;return e}exports.default=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}exports.default=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const D=require("./constant.cjs"),n=require("./math.cjs"),Z=require("./path.cjs");function k(l){return l.innerRadius}function _(l){return l.outerRadius}function nn(l){return l.startAngle}function en(l){return l.endAngle}function an(l){return l&&l.padAngle}function sn(l,h,w,P,x,v,E,i){var M=w-l,r=P-h,e=E-x,g=i-v,s=g*M-e*r;if(!(s*s<n.epsilon))return s=(e*(h-v)-g*(l-x))/s,[l+s*M,h+s*r]}function K(l,h,w,P,x,v,E){var i=l-w,M=h-P,r=(E?v:-v)/n.sqrt(i*i+M*M),e=r*M,g=-r*i,s=l+e,t=h+g,f=w+e,c=P+g,I=(s+f)/2,o=(t+c)/2,y=f-s,p=c-t,A=y*y+p*p,R=x-v,T=s*c-f*t,O=(p<0?-1:1)*n.sqrt(n.max(0,R*R*A-T*T)),b=(T*p-y*O)/A,j=(-T*y-p*O)/A,q=(T*p+y*O)/A,d=(-T*y+p*O)/A,m=b-I,a=j-o,u=q-I,$=d-o;return m*m+a*a>u*u+$*$&&(b=q,j=d),{cx:b,cy:j,x01:-e,y01:-g,x11:b*(x/R-1),y11:j*(x/R-1)}}function un(){var l=k,h=_,w=D.default(0),P=null,x=nn,v=en,E=an,i=null,M=Z.withPath(r);function r(){var e,g,s=+l.apply(this,arguments),t=+h.apply(this,arguments),f=x.apply(this,arguments)-n.halfPi,c=v.apply(this,arguments)-n.halfPi,I=n.abs(c-f),o=c>f;if(i||(i=e=M()),t<s&&(g=t,t=s,s=g),!(t>n.epsilon))i.moveTo(0,0);else if(I>n.tau-n.epsilon)i.moveTo(t*n.cos(f),t*n.sin(f)),i.arc(0,0,t,f,c,!o),s>n.epsilon&&(i.moveTo(s*n.cos(c),s*n.sin(c)),i.arc(0,0,s,c,f,o));else{var y=f,p=c,A=f,R=c,T=I,O=I,b=E.apply(this,arguments)/2,j=b>n.epsilon&&(P?+P.apply(this,arguments):n.sqrt(s*s+t*t)),q=n.min(n.abs(t-s)/2,+w.apply(this,arguments)),d=q,m=q,a,u;if(j>n.epsilon){var $=n.asin(j/s*n.sin(b)),C=n.asin(j/t*n.sin(b));(T-=$*2)>n.epsilon?($*=o?1:-1,A+=$,R-=$):(T=0,A=R=(f+c)/2),(O-=C*2)>n.epsilon?(C*=o?1:-1,y+=C,p-=C):(O=0,y=p=(f+c)/2)}var z=t*n.cos(y),B=t*n.sin(y),F=s*n.cos(R),G=s*n.sin(R);if(q>n.epsilon){var H=t*n.cos(p),J=t*n.sin(p),L=s*n.cos(A),N=s*n.sin(A),S;if(I<n.pi)if(S=sn(z,B,L,N,H,J,F,G)){var Q=z-S[0],U=B-S[1],V=H-S[0],W=J-S[1],X=1/n.sin(n.acos((Q*V+U*W)/(n.sqrt(Q*Q+U*U)*n.sqrt(V*V+W*W)))/2),Y=n.sqrt(S[0]*S[0]+S[1]*S[1]);d=n.min(q,(s-Y)/(X-1)),m=n.min(q,(t-Y)/(X+1))}else d=m=0}O>n.epsilon?m>n.epsilon?(a=K(L,N,z,B,t,m,o),u=K(H,J,F,G,t,m,o),i.moveTo(a.cx+a.x01,a.cy+a.y01),m<q?i.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(u.y01,u.x01),!o):(i.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!o),i.arc(0,0,t,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(u.cy+u.y11,u.cx+u.x11),!o),i.arc(u.cx,u.cy,m,n.atan2(u.y11,u.x11),n.atan2(u.y01,u.x01),!o))):(i.moveTo(z,B),i.arc(0,0,t,y,p,!o)):i.moveTo(z,B),!(s>n.epsilon)||!(T>n.epsilon)?i.lineTo(F,G):d>n.epsilon?(a=K(F,G,H,J,s,-d,o),u=K(z,B,L,N,s,-d,o),i.lineTo(a.cx+a.x01,a.cy+a.y01),d<q?i.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(u.y01,u.x01),!o):(i.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!o),i.arc(0,0,s,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(u.cy+u.y11,u.cx+u.x11),o),i.arc(u.cx,u.cy,d,n.atan2(u.y11,u.x11),n.atan2(u.y01,u.x01),!o))):i.arc(0,0,s,R,A,o)}if(i.closePath(),e)return i=null,e+""||null}return r.centroid=function(){var e=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,g=(+x.apply(this,arguments)+ +v.apply(this,arguments))/2-n.pi/2;return[n.cos(g)*e,n.sin(g)*e]},r.innerRadius=function(e){return arguments.length?(l=typeof e=="function"?e:D.default(+e),r):l},r.outerRadius=function(e){return arguments.length?(h=typeof e=="function"?e:D.default(+e),r):h},r.cornerRadius=function(e){return arguments.length?(w=typeof e=="function"?e:D.default(+e),r):w},r.padRadius=function(e){return arguments.length?(P=e==null?null:typeof e=="function"?e:D.default(+e),r):P},r.startAngle=function(e){return arguments.length?(x=typeof e=="function"?e:D.default(+e),r):x},r.endAngle=function(e){return arguments.length?(v=typeof e=="function"?e:D.default(+e),r):v},r.padAngle=function(e){return arguments.length?(E=typeof e=="function"?e:D.default(+e),r):E},r.context=function(e){return arguments.length?(i=e??null,r):i},r}exports.default=un;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import B from "./constant.js";
|
|
2
|
-
import { halfPi as rn, epsilon as y, tau as ln, cos as H, sin as q, min as _, abs as un, pi as an, sqrt as L, atan2 as t, asin as sn, acos as on, max as tn } from "./math.js";
|
|
3
|
-
import { withPath as fn } from "./path.js";
|
|
4
|
-
function cn(l) {
|
|
5
|
-
return l.innerRadius;
|
|
6
|
-
}
|
|
7
|
-
function yn(l) {
|
|
8
|
-
return l.outerRadius;
|
|
9
|
-
}
|
|
10
|
-
function gn(l) {
|
|
11
|
-
return l.startAngle;
|
|
12
|
-
}
|
|
13
|
-
function mn(l) {
|
|
14
|
-
return l.endAngle;
|
|
15
|
-
}
|
|
16
|
-
function pn(l) {
|
|
17
|
-
return l && l.padAngle;
|
|
18
|
-
}
|
|
19
|
-
function dn(l, h, I, D, v, A, C, r) {
|
|
20
|
-
var O = I - l, a = D - h, n = C - v, m = r - A, u = m * O - n * a;
|
|
21
|
-
if (!(u * u < y))
|
|
22
|
-
return u = (n * (h - A) - m * (l - v)) / u, [l + u * O, h + u * a];
|
|
23
|
-
}
|
|
24
|
-
function W(l, h, I, D, v, A, C) {
|
|
25
|
-
var r = l - I, O = h - D, a = (C ? A : -A) / L(r * r + O * O), n = a * O, m = -a * r, u = l + n, s = h + m, f = I + n, c = D + m, F = (u + f) / 2, o = (s + c) / 2, p = f - u, g = c - s, R = p * p + g * g, T = v - A, P = u * c - f * s, S = (g < 0 ? -1 : 1) * L(tn(0, T * T * R - P * P)), j = (P * g - p * S) / R, z = (-P * p - g * S) / R, w = (P * g + p * S) / R, d = (-P * p + g * S) / R, x = j - F, e = z - o, i = w - F, G = d - o;
|
|
26
|
-
return x * x + e * e > i * i + G * G && (j = w, z = d), {
|
|
27
|
-
cx: j,
|
|
28
|
-
cy: z,
|
|
29
|
-
x01: -n,
|
|
30
|
-
y01: -m,
|
|
31
|
-
x11: j * (v / T - 1),
|
|
32
|
-
y11: z * (v / T - 1)
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
function An() {
|
|
36
|
-
var l = cn, h = yn, I = B(0), D = null, v = gn, A = mn, C = pn, r = null, O = fn(a);
|
|
37
|
-
function a() {
|
|
38
|
-
var n, m, u = +l.apply(this, arguments), s = +h.apply(this, arguments), f = v.apply(this, arguments) - rn, c = A.apply(this, arguments) - rn, F = un(c - f), o = c > f;
|
|
39
|
-
if (r || (r = n = O()), s < u && (m = s, s = u, u = m), !(s > y)) r.moveTo(0, 0);
|
|
40
|
-
else if (F > ln - y)
|
|
41
|
-
r.moveTo(s * H(f), s * q(f)), r.arc(0, 0, s, f, c, !o), u > y && (r.moveTo(u * H(c), u * q(c)), r.arc(0, 0, u, c, f, o));
|
|
42
|
-
else {
|
|
43
|
-
var p = f, g = c, R = f, T = c, P = F, S = F, j = C.apply(this, arguments) / 2, z = j > y && (D ? +D.apply(this, arguments) : L(u * u + s * s)), w = _(un(s - u) / 2, +I.apply(this, arguments)), d = w, x = w, e, i;
|
|
44
|
-
if (z > y) {
|
|
45
|
-
var G = sn(z / u * q(j)), M = sn(z / s * q(j));
|
|
46
|
-
(P -= G * 2) > y ? (G *= o ? 1 : -1, R += G, T -= G) : (P = 0, R = T = (f + c) / 2), (S -= M * 2) > y ? (M *= o ? 1 : -1, p += M, g -= M) : (S = 0, p = g = (f + c) / 2);
|
|
47
|
-
}
|
|
48
|
-
var J = s * H(p), K = s * q(p), N = u * H(T), Q = u * q(T);
|
|
49
|
-
if (w > y) {
|
|
50
|
-
var U = s * H(g), V = s * q(g), X = u * H(R), Y = u * q(R), E;
|
|
51
|
-
if (F < an)
|
|
52
|
-
if (E = dn(J, K, X, Y, U, V, N, Q)) {
|
|
53
|
-
var Z = J - E[0], $ = K - E[1], k = U - E[0], b = V - E[1], nn = 1 / q(on((Z * k + $ * b) / (L(Z * Z + $ * $) * L(k * k + b * b))) / 2), en = L(E[0] * E[0] + E[1] * E[1]);
|
|
54
|
-
d = _(w, (u - en) / (nn - 1)), x = _(w, (s - en) / (nn + 1));
|
|
55
|
-
} else
|
|
56
|
-
d = x = 0;
|
|
57
|
-
}
|
|
58
|
-
S > y ? x > y ? (e = W(X, Y, J, K, s, x, o), i = W(U, V, N, Q, s, x, o), r.moveTo(e.cx + e.x01, e.cy + e.y01), x < w ? r.arc(e.cx, e.cy, x, t(e.y01, e.x01), t(i.y01, i.x01), !o) : (r.arc(e.cx, e.cy, x, t(e.y01, e.x01), t(e.y11, e.x11), !o), r.arc(0, 0, s, t(e.cy + e.y11, e.cx + e.x11), t(i.cy + i.y11, i.cx + i.x11), !o), r.arc(i.cx, i.cy, x, t(i.y11, i.x11), t(i.y01, i.x01), !o))) : (r.moveTo(J, K), r.arc(0, 0, s, p, g, !o)) : r.moveTo(J, K), !(u > y) || !(P > y) ? r.lineTo(N, Q) : d > y ? (e = W(N, Q, U, V, u, -d, o), i = W(J, K, X, Y, u, -d, o), r.lineTo(e.cx + e.x01, e.cy + e.y01), d < w ? r.arc(e.cx, e.cy, d, t(e.y01, e.x01), t(i.y01, i.x01), !o) : (r.arc(e.cx, e.cy, d, t(e.y01, e.x01), t(e.y11, e.x11), !o), r.arc(0, 0, u, t(e.cy + e.y11, e.cx + e.x11), t(i.cy + i.y11, i.cx + i.x11), o), r.arc(i.cx, i.cy, d, t(i.y11, i.x11), t(i.y01, i.x01), !o))) : r.arc(0, 0, u, T, R, o);
|
|
59
|
-
}
|
|
60
|
-
if (r.closePath(), n) return r = null, n + "" || null;
|
|
61
|
-
}
|
|
62
|
-
return a.centroid = function() {
|
|
63
|
-
var n = (+l.apply(this, arguments) + +h.apply(this, arguments)) / 2, m = (+v.apply(this, arguments) + +A.apply(this, arguments)) / 2 - an / 2;
|
|
64
|
-
return [H(m) * n, q(m) * n];
|
|
65
|
-
}, a.innerRadius = function(n) {
|
|
66
|
-
return arguments.length ? (l = typeof n == "function" ? n : B(+n), a) : l;
|
|
67
|
-
}, a.outerRadius = function(n) {
|
|
68
|
-
return arguments.length ? (h = typeof n == "function" ? n : B(+n), a) : h;
|
|
69
|
-
}, a.cornerRadius = function(n) {
|
|
70
|
-
return arguments.length ? (I = typeof n == "function" ? n : B(+n), a) : I;
|
|
71
|
-
}, a.padRadius = function(n) {
|
|
72
|
-
return arguments.length ? (D = n == null ? null : typeof n == "function" ? n : B(+n), a) : D;
|
|
73
|
-
}, a.startAngle = function(n) {
|
|
74
|
-
return arguments.length ? (v = typeof n == "function" ? n : B(+n), a) : v;
|
|
75
|
-
}, a.endAngle = function(n) {
|
|
76
|
-
return arguments.length ? (A = typeof n == "function" ? n : B(+n), a) : A;
|
|
77
|
-
}, a.padAngle = function(n) {
|
|
78
|
-
return arguments.length ? (C = typeof n == "function" ? n : B(+n), a) : C;
|
|
79
|
-
}, a.context = function(n) {
|
|
80
|
-
return arguments.length ? (r = n ?? null, a) : r;
|
|
81
|
-
}, a;
|
|
82
|
-
}
|
|
83
|
-
export {
|
|
84
|
-
An as default
|
|
85
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const j=require("./array.cjs"),f=require("./constant.cjs"),z=require("./curve/linear.cjs"),A=require("./line.cjs"),M=require("./path.cjs"),w=require("./point.cjs");function P(r,l,i){var c=null,g=f.default(!0),o=null,a=z.default,u=null,E=M.withPath(e);r=typeof r=="function"?r:r===void 0?w.x:f.default(+r),l=typeof l=="function"?l:l===void 0?f.default(0):f.default(+l),i=typeof i=="function"?i:i===void 0?w.y:f.default(+i);function e(n){var t,b,d,p=(n=j.default(n)).length,s,h=!1,v,q=new Array(p),S=new Array(p);for(o==null&&(u=a(v=E())),t=0;t<=p;++t){if(!(t<p&&g(s=n[t],t,n))===h)if(h=!h)b=t,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),d=t-1;d>=b;--d)u.point(q[d],S[d]);u.lineEnd(),u.areaEnd()}h&&(q[t]=+r(s,t,n),S[t]=+l(s,t,n),u.point(c?+c(s,t,n):q[t],i?+i(s,t,n):S[t]))}if(v)return u=null,v+""||null}function m(){return A.default().defined(g).curve(a).context(o)}return e.x=function(n){return arguments.length?(r=typeof n=="function"?n:f.default(+n),c=null,e):r},e.x0=function(n){return arguments.length?(r=typeof n=="function"?n:f.default(+n),e):r},e.x1=function(n){return arguments.length?(c=n==null?null:typeof n=="function"?n:f.default(+n),e):c},e.y=function(n){return arguments.length?(l=typeof n=="function"?n:f.default(+n),i=null,e):l},e.y0=function(n){return arguments.length?(l=typeof n=="function"?n:f.default(+n),e):l},e.y1=function(n){return arguments.length?(i=n==null?null:typeof n=="function"?n:f.default(+n),e):i},e.lineX0=e.lineY0=function(){return m().x(r).y(l)},e.lineY1=function(){return m().x(r).y(i)},e.lineX1=function(){return m().x(c).y(l)},e.defined=function(n){return arguments.length?(g=typeof n=="function"?n:f.default(!!n),e):g},e.curve=function(n){return arguments.length?(a=n,o!=null&&(u=a(o)),e):a},e.context=function(n){return arguments.length?(n==null?o=u=null:u=a(o=n),e):o},e}exports.default=P;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import z from "./array.js";
|
|
2
|
-
import i from "./constant.js";
|
|
3
|
-
import A from "./curve/linear.js";
|
|
4
|
-
import X from "./line.js";
|
|
5
|
-
import { withPath as Y } from "./path.js";
|
|
6
|
-
import { x as b, y as j } from "./point.js";
|
|
7
|
-
function C(u, f, o) {
|
|
8
|
-
var c = null, g = i(!0), l = null, a = A, r = null, x = Y(t);
|
|
9
|
-
u = typeof u == "function" ? u : u === void 0 ? b : i(+u), f = typeof f == "function" ? f : f === void 0 ? i(0) : i(+f), o = typeof o == "function" ? o : o === void 0 ? j : i(+o);
|
|
10
|
-
function t(n) {
|
|
11
|
-
var e, S, m, h = (n = z(n)).length, p, s = !1, v, w = new Array(h), E = new Array(h);
|
|
12
|
-
for (l == null && (r = a(v = x())), e = 0; e <= h; ++e) {
|
|
13
|
-
if (!(e < h && g(p = n[e], e, n)) === s)
|
|
14
|
-
if (s = !s)
|
|
15
|
-
S = e, r.areaStart(), r.lineStart();
|
|
16
|
-
else {
|
|
17
|
-
for (r.lineEnd(), r.lineStart(), m = e - 1; m >= S; --m)
|
|
18
|
-
r.point(w[m], E[m]);
|
|
19
|
-
r.lineEnd(), r.areaEnd();
|
|
20
|
-
}
|
|
21
|
-
s && (w[e] = +u(p, e, n), E[e] = +f(p, e, n), r.point(c ? +c(p, e, n) : w[e], o ? +o(p, e, n) : E[e]));
|
|
22
|
-
}
|
|
23
|
-
if (v) return r = null, v + "" || null;
|
|
24
|
-
}
|
|
25
|
-
function d() {
|
|
26
|
-
return X().defined(g).curve(a).context(l);
|
|
27
|
-
}
|
|
28
|
-
return t.x = function(n) {
|
|
29
|
-
return arguments.length ? (u = typeof n == "function" ? n : i(+n), c = null, t) : u;
|
|
30
|
-
}, t.x0 = function(n) {
|
|
31
|
-
return arguments.length ? (u = typeof n == "function" ? n : i(+n), t) : u;
|
|
32
|
-
}, t.x1 = function(n) {
|
|
33
|
-
return arguments.length ? (c = n == null ? null : typeof n == "function" ? n : i(+n), t) : c;
|
|
34
|
-
}, t.y = function(n) {
|
|
35
|
-
return arguments.length ? (f = typeof n == "function" ? n : i(+n), o = null, t) : f;
|
|
36
|
-
}, t.y0 = function(n) {
|
|
37
|
-
return arguments.length ? (f = typeof n == "function" ? n : i(+n), t) : f;
|
|
38
|
-
}, t.y1 = function(n) {
|
|
39
|
-
return arguments.length ? (o = n == null ? null : typeof n == "function" ? n : i(+n), t) : o;
|
|
40
|
-
}, t.lineX0 = t.lineY0 = function() {
|
|
41
|
-
return d().x(u).y(f);
|
|
42
|
-
}, t.lineY1 = function() {
|
|
43
|
-
return d().x(u).y(o);
|
|
44
|
-
}, t.lineX1 = function() {
|
|
45
|
-
return d().x(c).y(f);
|
|
46
|
-
}, t.defined = function(n) {
|
|
47
|
-
return arguments.length ? (g = typeof n == "function" ? n : i(!!n), t) : g;
|
|
48
|
-
}, t.curve = function(n) {
|
|
49
|
-
return arguments.length ? (a = n, l != null && (r = a(l)), t) : a;
|
|
50
|
-
}, t.context = function(n) {
|
|
51
|
-
return arguments.length ? (n == null ? l = r = null : r = a(l = n), t) : l;
|
|
52
|
-
}, t;
|
|
53
|
-
}
|
|
54
|
-
export {
|
|
55
|
-
C as default
|
|
56
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}exports.default=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function e(t){return function(){return t}}exports.default=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function s(i,t,_){i._context.bezierCurveTo((2*i._x0+i._x1)/3,(2*i._y0+i._y1)/3,(i._x0+2*i._x1)/3,(i._y0+2*i._y1)/3,(i._x0+4*i._x1+t)/6,(i._y0+4*i._y1+_)/6)}function e(i){this._context=i}e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:s(this,this._x1,this._y1);case 2:this._context.lineTo(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;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:s(this,i,t);break}this._x0=this._x1,this._x1=i,this._y0=this._y1,this._y1=t}};function n(i){return new e(i)}exports.Basis=e;exports.default=n;exports.point=s;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
function s(i, t, n) {
|
|
2
|
-
i._context.bezierCurveTo(
|
|
3
|
-
(2 * i._x0 + i._x1) / 3,
|
|
4
|
-
(2 * i._y0 + i._y1) / 3,
|
|
5
|
-
(i._x0 + 2 * i._x1) / 3,
|
|
6
|
-
(i._y0 + 2 * i._y1) / 3,
|
|
7
|
-
(i._x0 + 4 * i._x1 + t) / 6,
|
|
8
|
-
(i._y0 + 4 * i._y1 + n) / 6
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
function _(i) {
|
|
12
|
-
this._context = i;
|
|
13
|
-
}
|
|
14
|
-
_.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._y0 = this._y1 = NaN, this._point = 0;
|
|
23
|
-
},
|
|
24
|
-
lineEnd: function() {
|
|
25
|
-
switch (this._point) {
|
|
26
|
-
case 3:
|
|
27
|
-
s(this, this._x1, this._y1);
|
|
28
|
-
// falls through
|
|
29
|
-
case 2:
|
|
30
|
-
this._context.lineTo(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;
|
|
42
|
-
break;
|
|
43
|
-
case 2:
|
|
44
|
-
this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
|
|
45
|
-
// falls through
|
|
46
|
-
default:
|
|
47
|
-
s(this, i, t);
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
50
|
-
this._x0 = this._x1, this._x1 = i, this._y0 = this._y1, this._y1 = t;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
function e(i) {
|
|
54
|
-
return new _(i);
|
|
55
|
-
}
|
|
56
|
-
export {
|
|
57
|
-
_ as Basis,
|
|
58
|
-
e as default,
|
|
59
|
-
s as point
|
|
60
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("../noop.cjs"),_=require("./basis.cjs");function h(t){this._context=t}h.prototype={areaStart:s.default,areaEnd:s.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x2=t,this._y2=i;break;case 1:this._point=2,this._x3=t,this._y3=i;break;case 2:this._point=3,this._x4=t,this._y4=i,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+i)/6);break;default:_.point(this,t,i);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i}};function e(t){return new h(t)}exports.default=e;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import s from "../noop.js";
|
|
2
|
-
import { point as _ } from "./basis.js";
|
|
3
|
-
function h(t) {
|
|
4
|
-
this._context = t;
|
|
5
|
-
}
|
|
6
|
-
h.prototype = {
|
|
7
|
-
areaStart: s,
|
|
8
|
-
areaEnd: s,
|
|
9
|
-
lineStart: function() {
|
|
10
|
-
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
|
|
11
|
-
},
|
|
12
|
-
lineEnd: function() {
|
|
13
|
-
switch (this._point) {
|
|
14
|
-
case 1: {
|
|
15
|
-
this._context.moveTo(this._x2, this._y2), this._context.closePath();
|
|
16
|
-
break;
|
|
17
|
-
}
|
|
18
|
-
case 2: {
|
|
19
|
-
this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
|
|
20
|
-
break;
|
|
21
|
-
}
|
|
22
|
-
case 3: {
|
|
23
|
-
this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
|
|
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._x2 = t, this._y2 = i;
|
|
32
|
-
break;
|
|
33
|
-
case 1:
|
|
34
|
-
this._point = 2, this._x3 = t, this._y3 = i;
|
|
35
|
-
break;
|
|
36
|
-
case 2:
|
|
37
|
-
this._point = 3, this._x4 = t, this._y4 = i, this._context.moveTo((this._x0 + 4 * this._x1 + t) / 6, (this._y0 + 4 * this._y1 + i) / 6);
|
|
38
|
-
break;
|
|
39
|
-
default:
|
|
40
|
-
_(this, t, i);
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = i;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
function n(t) {
|
|
47
|
-
return new h(t);
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
n as default
|
|
51
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("./basis.cjs");function n(t){this._context=t}n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=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;var s=(this._x0+4*this._x1+t)/6,e=(this._y0+4*this._y1+i)/6;this._line?this._context.lineTo(s,e):this._context.moveTo(s,e);break;case 3:this._point=4;default:h.point(this,t,i);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i}};function _(t){return new n(t)}exports.default=_;
|