vue-chrts 0.1.0-beta.2-internal-20 → 0.1.0-beta.2-internal-21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/browser.cjs +1 -0
- package/dist/_virtual/browser.js +2 -0
- package/dist/_virtual/striptags.cjs +1 -0
- package/dist/_virtual/striptags.js +7 -0
- package/dist/_virtual/striptags2.cjs +1 -0
- package/dist/_virtual/striptags2.js +4 -0
- package/dist/components/Area/AreaChart.cjs +6 -0
- package/dist/components/Area/AreaChart.js +141 -0
- package/dist/components/Area/AreaChart.vue.d.ts +14 -0
- package/dist/components/Area/AreaChart2.cjs +1 -0
- package/dist/components/Area/AreaChart2.js +4 -0
- package/dist/components/Area/index.d.ts +2 -0
- package/dist/components/Area/types.d.ts +82 -0
- package/dist/components/AreaStacked/AreaStackedChart.cjs +1 -0
- package/dist/components/AreaStacked/AreaStackedChart.js +74 -0
- package/dist/components/AreaStacked/AreaStackedChart.vue.d.ts +20 -0
- package/dist/components/AreaStacked/AreaStackedChart2.cjs +1 -0
- package/dist/components/AreaStacked/AreaStackedChart2.js +4 -0
- package/dist/components/AreaStacked/index.d.ts +1 -0
- package/dist/components/Bar/BarChart.cjs +1 -0
- package/dist/components/Bar/BarChart.js +121 -0
- package/dist/components/Bar/BarChart.vue.d.ts +33 -0
- package/dist/components/Bar/BarChart2.cjs +1 -0
- package/dist/components/Bar/BarChart2.js +4 -0
- package/dist/components/Bar/index.d.ts +1 -0
- package/dist/components/Crosshair/Crosshair.vue.d.ts +12 -0
- package/dist/components/Crosshair/index.d.ts +1 -0
- package/dist/components/Donut/DonutChart.cjs +5 -0
- package/dist/components/Donut/DonutChart.js +62 -0
- package/dist/components/Donut/DonutChart.vue.d.ts +18 -0
- package/dist/components/Donut/DonutChart2.cjs +1 -0
- package/dist/components/Donut/DonutChart2.js +4 -0
- package/dist/components/Donut/index.cjs +1 -0
- package/dist/components/Donut/index.d.ts +17 -0
- package/dist/components/Donut/index.js +5 -0
- package/dist/components/Line/LineChart.cjs +1 -0
- package/dist/components/Line/LineChart.js +97 -0
- package/dist/components/Line/LineChart.vue.d.ts +27 -0
- package/dist/components/Line/LineChart2.cjs +1 -0
- package/dist/components/Line/LineChart2.js +4 -0
- package/dist/components/Line/index.d.ts +1 -0
- package/dist/components/Tooltip.cjs +1 -0
- package/dist/components/Tooltip.js +37 -0
- package/dist/components/Tooltip.vue.d.ts +19 -0
- package/dist/components/Tooltip2.cjs +1 -0
- package/dist/components/Tooltip2.js +4 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +12 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs +1 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +279 -0
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.cjs +1 -0
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js +86 -0
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.cjs +1 -0
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.js +8 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.cjs +1 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +22 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +1 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs +1 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +123 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.cjs +1 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +44 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +1 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs +1 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +29 -0
- package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js +15 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.js +20 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.js +31 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js +7 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.js +31 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js +12 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js +10 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js +26 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js +42 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js +11 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js +12 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/element.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/element.js +37 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.js +6 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/global.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/global.js +4 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/process.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/process.js +14 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js +18 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js +9 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js +4 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.cjs +1 -0
- package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.js +70 -0
- package/dist/node_modules/@unovis/ts/components/area/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/area/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/area/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/area/index.js +52 -0
- package/dist/node_modules/@unovis/ts/components/area/style.cjs +35 -0
- package/dist/node_modules/@unovis/ts/components/area/style.js +41 -0
- package/dist/node_modules/@unovis/ts/components/axis/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/axis/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/axis/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/axis/index.js +287 -0
- package/dist/node_modules/@unovis/ts/components/axis/style.cjs +101 -0
- package/dist/node_modules/@unovis/ts/components/axis/style.js +114 -0
- package/dist/node_modules/@unovis/ts/components/axis/types.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/axis/types.js +7 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/config.js +18 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/index.js +36 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.js +48 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/style.cjs +63 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/style.js +73 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/types.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/bullet-legend/types.js +10 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/config.js +5 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/index.js +119 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/style.cjs +22 -0
- package/dist/node_modules/@unovis/ts/components/crosshair/style.js +29 -0
- package/dist/node_modules/@unovis/ts/components/donut/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/donut/config.js +8 -0
- package/dist/node_modules/@unovis/ts/components/donut/constants.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/donut/constants.js +11 -0
- package/dist/node_modules/@unovis/ts/components/donut/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/donut/index.js +57 -0
- package/dist/node_modules/@unovis/ts/components/donut/modules/arc.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/donut/modules/arc.js +37 -0
- package/dist/node_modules/@unovis/ts/components/donut/style.cjs +58 -0
- package/dist/node_modules/@unovis/ts/components/donut/style.js +68 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/index.js +121 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/style.cjs +35 -0
- package/dist/node_modules/@unovis/ts/components/grouped-bar/style.js +43 -0
- package/dist/node_modules/@unovis/ts/components/line/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/line/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/line/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/line/index.js +86 -0
- package/dist/node_modules/@unovis/ts/components/line/style.cjs +35 -0
- package/dist/node_modules/@unovis/ts/components/line/style.js +45 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/config.js +6 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/index.js +111 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/style.cjs +34 -0
- package/dist/node_modules/@unovis/ts/components/stacked-bar/style.js +42 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/config.js +17 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/index.js +166 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/style.cjs +61 -0
- package/dist/node_modules/@unovis/ts/components/tooltip/style.js +71 -0
- package/dist/node_modules/@unovis/ts/containers/single-container/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/containers/single-container/config.js +5 -0
- package/dist/node_modules/@unovis/ts/containers/single-container/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/containers/single-container/index.js +71 -0
- package/dist/node_modules/@unovis/ts/containers/xy-container/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/containers/xy-container/config.js +6 -0
- package/dist/node_modules/@unovis/ts/containers/xy-container/index.cjs +3 -0
- package/dist/node_modules/@unovis/ts/containers/xy-container/index.js +185 -0
- package/dist/node_modules/@unovis/ts/core/component/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/component/config.js +8 -0
- package/dist/node_modules/@unovis/ts/core/component/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/component/index.js +68 -0
- package/dist/node_modules/@unovis/ts/core/container/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/container/config.js +24 -0
- package/dist/node_modules/@unovis/ts/core/container/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/container/index.js +73 -0
- package/dist/node_modules/@unovis/ts/core/xy-component/config.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/xy-component/config.js +8 -0
- package/dist/node_modules/@unovis/ts/core/xy-component/index.cjs +1 -0
- package/dist/node_modules/@unovis/ts/core/xy-component/index.js +53 -0
- package/dist/node_modules/@unovis/ts/data-models/core.cjs +1 -0
- package/dist/node_modules/@unovis/ts/data-models/core.js +14 -0
- package/dist/node_modules/@unovis/ts/data-models/series.cjs +1 -0
- package/dist/node_modules/@unovis/ts/data-models/series.js +16 -0
- package/dist/node_modules/@unovis/ts/styles/colors.cjs +1 -0
- package/dist/node_modules/@unovis/ts/styles/colors.js +18 -0
- package/dist/node_modules/@unovis/ts/styles/index.cjs +38 -0
- package/dist/node_modules/@unovis/ts/styles/index.js +63 -0
- package/dist/node_modules/@unovis/ts/styles/patterns.cjs +15 -0
- package/dist/node_modules/@unovis/ts/styles/patterns.js +45 -0
- package/dist/node_modules/@unovis/ts/types/component.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/component.js +12 -0
- package/dist/node_modules/@unovis/ts/types/curve.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/curve.js +43 -0
- package/dist/node_modules/@unovis/ts/types/direction.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/direction.js +7 -0
- package/dist/node_modules/@unovis/ts/types/position.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/position.js +22 -0
- package/dist/node_modules/@unovis/ts/types/scale.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/scale.js +40 -0
- package/dist/node_modules/@unovis/ts/types/svg.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/svg.js +15 -0
- package/dist/node_modules/@unovis/ts/types/symbol.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/symbol.js +24 -0
- package/dist/node_modules/@unovis/ts/types/text.cjs +1 -0
- package/dist/node_modules/@unovis/ts/types/text.js +22 -0
- package/dist/node_modules/@unovis/ts/utils/color.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/color.js +8 -0
- package/dist/node_modules/@unovis/ts/utils/d3.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/d3.js +12 -0
- package/dist/node_modules/@unovis/ts/utils/data.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/data.js +169 -0
- package/dist/node_modules/@unovis/ts/utils/misc.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/misc.js +28 -0
- package/dist/node_modules/@unovis/ts/utils/path.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/path.js +9 -0
- package/dist/node_modules/@unovis/ts/utils/resize-observer.cjs +1 -0
- package/dist/node_modules/@unovis/ts/utils/resize-observer.js +6 -0
- package/dist/node_modules/@unovis/ts/utils/text.cjs +2 -0
- package/dist/node_modules/@unovis/ts/utils/text.js +178 -0
- package/dist/node_modules/@unovis/vue/components/area/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/area/index.js +48 -0
- package/dist/node_modules/@unovis/vue/components/axis/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/axis/index.js +69 -0
- package/dist/node_modules/@unovis/vue/components/crosshair/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/crosshair/index.js +33 -0
- package/dist/node_modules/@unovis/vue/components/donut/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/donut/index.js +54 -0
- package/dist/node_modules/@unovis/vue/components/grouped-bar/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/grouped-bar/index.js +54 -0
- package/dist/node_modules/@unovis/vue/components/line/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/line/index.js +50 -0
- package/dist/node_modules/@unovis/vue/components/stacked-bar/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/stacked-bar/index.js +54 -0
- package/dist/node_modules/@unovis/vue/components/tooltip/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/components/tooltip/index.js +40 -0
- package/dist/node_modules/@unovis/vue/containers/single-container/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/containers/single-container/index.js +66 -0
- package/dist/node_modules/@unovis/vue/containers/xy-container/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/containers/xy-container/index.js +102 -0
- package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.js +43 -0
- package/dist/node_modules/@unovis/vue/index.cjs +1 -0
- package/dist/node_modules/@unovis/vue/index.js +10 -0
- package/dist/node_modules/@unovis/vue/utils/context.cjs +1 -0
- package/dist/node_modules/@unovis/vue/utils/context.js +8 -0
- package/dist/node_modules/@unovis/vue/utils/props.cjs +1 -0
- package/dist/node_modules/@unovis/vue/utils/props.js +18 -0
- package/dist/node_modules/d3-array/src/ascending.cjs +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +6 -0
- package/dist/node_modules/d3-array/src/bisect.cjs +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +9 -0
- package/dist/node_modules/d3-array/src/bisector.cjs +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +37 -0
- package/dist/node_modules/d3-array/src/descending.cjs +1 -0
- package/dist/node_modules/d3-array/src/descending.js +6 -0
- package/dist/node_modules/d3-array/src/extent.cjs +1 -0
- package/dist/node_modules/d3-array/src/extent.js +9 -0
- package/dist/node_modules/d3-array/src/max.cjs +1 -0
- package/dist/node_modules/d3-array/src/max.js +15 -0
- package/dist/node_modules/d3-array/src/mean.cjs +1 -0
- package/dist/node_modules/d3-array/src/mean.js +15 -0
- package/dist/node_modules/d3-array/src/merge.cjs +1 -0
- package/dist/node_modules/d3-array/src/merge.js +10 -0
- package/dist/node_modules/d3-array/src/min.cjs +1 -0
- package/dist/node_modules/d3-array/src/min.js +15 -0
- package/dist/node_modules/d3-array/src/number.cjs +1 -0
- package/dist/node_modules/d3-array/src/number.js +6 -0
- package/dist/node_modules/d3-array/src/quantile.cjs +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +12 -0
- package/dist/node_modules/d3-array/src/range.cjs +1 -0
- package/dist/node_modules/d3-array/src/range.js +9 -0
- package/dist/node_modules/d3-array/src/sum.cjs +1 -0
- package/dist/node_modules/d3-array/src/sum.js +15 -0
- package/dist/node_modules/d3-array/src/ticks.cjs +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +32 -0
- package/dist/node_modules/d3-axis/src/axis.cjs +1 -0
- package/dist/node_modules/d3-axis/src/axis.js +72 -0
- package/dist/node_modules/d3-axis/src/identity.cjs +1 -0
- package/dist/node_modules/d3-axis/src/identity.js +6 -0
- package/dist/node_modules/d3-color/src/color.cjs +1 -0
- package/dist/node_modules/d3-color/src/color.js +305 -0
- package/dist/node_modules/d3-color/src/define.cjs +1 -0
- package/dist/node_modules/d3-color/src/define.js +12 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.cjs +1 -0
- package/dist/node_modules/d3-dispatch/src/dispatch.js +64 -0
- package/dist/node_modules/d3-ease/src/cubic.cjs +1 -0
- package/dist/node_modules/d3-ease/src/cubic.js +6 -0
- package/dist/node_modules/d3-ease/src/linear.cjs +1 -0
- package/dist/node_modules/d3-ease/src/linear.js +4 -0
- package/dist/node_modules/d3-format/src/defaultLocale.cjs +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/exponent.cjs +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +7 -0
- package/dist/node_modules/d3-format/src/formatDecimal.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +15 -0
- package/dist/node_modules/d3-format/src/formatGroup.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +10 -0
- package/dist/node_modules/d3-format/src/formatNumerals.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +10 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +10 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +28 -0
- package/dist/node_modules/d3-format/src/formatTrim.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +19 -0
- package/dist/node_modules/d3-format/src/formatTypes.cjs +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +21 -0
- package/dist/node_modules/d3-format/src/identity.cjs +1 -0
- package/dist/node_modules/d3-format/src/identity.js +6 -0
- package/dist/node_modules/d3-format/src/locale.cjs +1 -0
- package/dist/node_modules/d3-format/src/locale.js +68 -0
- package/dist/node_modules/d3-format/src/precisionFixed.cjs +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +7 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.cjs +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +7 -0
- package/dist/node_modules/d3-format/src/precisionRound.cjs +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +7 -0
- package/dist/node_modules/d3-interpolate/src/array.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +13 -0
- package/dist/node_modules/d3-interpolate/src/color.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +24 -0
- package/dist/node_modules/d3-interpolate/src/constant.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -0
- package/dist/node_modules/d3-interpolate/src/date.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +9 -0
- package/dist/node_modules/d3-interpolate/src/number.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +8 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +15 -0
- package/dist/node_modules/d3-interpolate/src/object.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +12 -0
- package/dist/node_modules/d3-interpolate/src/rgb.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +8 -0
- package/dist/node_modules/d3-interpolate/src/string.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +23 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/transform/index.js +37 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +13 -0
- package/dist/node_modules/d3-interpolate/src/value.cjs +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +16 -0
- package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.cjs +2 -0
- package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.js +301 -0
- package/dist/node_modules/d3-path/src/path.cjs +1 -0
- package/dist/node_modules/d3-path/src/path.js +64 -0
- package/dist/node_modules/d3-scale/src/band.cjs +1 -0
- package/dist/node_modules/d3-scale/src/band.js +51 -0
- package/dist/node_modules/d3-scale/src/constant.cjs +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +8 -0
- package/dist/node_modules/d3-scale/src/continuous.cjs +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +75 -0
- package/dist/node_modules/d3-scale/src/diverging.cjs +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +40 -0
- package/dist/node_modules/d3-scale/src/identity.cjs +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +18 -0
- package/dist/node_modules/d3-scale/src/init.cjs +1 -0
- package/dist/node_modules/d3-scale/src/init.js +32 -0
- package/dist/node_modules/d3-scale/src/linear.cjs +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +39 -0
- package/dist/node_modules/d3-scale/src/log.cjs +1 -0
- package/dist/node_modules/d3-scale/src/log.js +86 -0
- package/dist/node_modules/d3-scale/src/nice.cjs +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +8 -0
- package/dist/node_modules/d3-scale/src/number.cjs +1 -0
- package/dist/node_modules/d3-scale/src/number.js +6 -0
- package/dist/node_modules/d3-scale/src/ordinal.cjs +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/pow.cjs +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.cjs +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +38 -0
- package/dist/node_modules/d3-scale/src/quantize.cjs +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +31 -0
- package/dist/node_modules/d3-scale/src/sequential.cjs +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +42 -0
- package/dist/node_modules/d3-scale/src/symlog.cjs +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +29 -0
- package/dist/node_modules/d3-scale/src/threshold.cjs +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +23 -0
- package/dist/node_modules/d3-scale/src/tickFormat.cjs +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +32 -0
- package/dist/node_modules/d3-scale/src/time.cjs +1 -0
- package/dist/node_modules/d3-scale/src/time.js +46 -0
- package/dist/node_modules/d3-scale/src/utcTime.cjs +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +17 -0
- package/dist/node_modules/d3-selection/src/array.cjs +1 -0
- package/dist/node_modules/d3-selection/src/array.js +6 -0
- package/dist/node_modules/d3-selection/src/constant.cjs +1 -0
- package/dist/node_modules/d3-selection/src/constant.js +8 -0
- package/dist/node_modules/d3-selection/src/creator.cjs +1 -0
- package/dist/node_modules/d3-selection/src/creator.js +20 -0
- package/dist/node_modules/d3-selection/src/matcher.cjs +1 -0
- package/dist/node_modules/d3-selection/src/matcher.js +14 -0
- package/dist/node_modules/d3-selection/src/namespace.cjs +1 -0
- package/dist/node_modules/d3-selection/src/namespace.js +8 -0
- package/dist/node_modules/d3-selection/src/namespaces.cjs +1 -0
- package/dist/node_modules/d3-selection/src/namespaces.js +12 -0
- package/dist/node_modules/d3-selection/src/pointer.cjs +1 -0
- package/dist/node_modules/d3-selection/src/pointer.js +18 -0
- package/dist/node_modules/d3-selection/src/select.cjs +1 -0
- package/dist/node_modules/d3-selection/src/select.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/append.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/append.js +10 -0
- package/dist/node_modules/d3-selection/src/selection/attr.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/attr.js +44 -0
- package/dist/node_modules/d3-selection/src/selection/call.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/call.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/classed.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/classed.js +54 -0
- package/dist/node_modules/d3-selection/src/selection/clone.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/clone.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/data.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/data.js +42 -0
- package/dist/node_modules/d3-selection/src/selection/datum.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/datum.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +21 -0
- package/dist/node_modules/d3-selection/src/selection/each.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/each.js +9 -0
- package/dist/node_modules/d3-selection/src/selection/empty.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/empty.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/enter.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/enter.js +27 -0
- package/dist/node_modules/d3-selection/src/selection/exit.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/exit.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/filter.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/filter.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/html.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/html.js +20 -0
- package/dist/node_modules/d3-selection/src/selection/index.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/index.js +87 -0
- package/dist/node_modules/d3-selection/src/selection/insert.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/insert.js +14 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/iterator.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/join.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/join.js +7 -0
- package/dist/node_modules/d3-selection/src/selection/lower.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/lower.js +9 -0
- package/dist/node_modules/d3-selection/src/selection/merge.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/merge.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/node.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/node.js +11 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/nodes.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/on.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/on.js +52 -0
- package/dist/node_modules/d3-selection/src/selection/order.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/order.js +9 -0
- package/dist/node_modules/d3-selection/src/selection/property.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/property.js +22 -0
- package/dist/node_modules/d3-selection/src/selection/raise.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/raise.js +9 -0
- package/dist/node_modules/d3-selection/src/selection/remove.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/remove.js +10 -0
- package/dist/node_modules/d3-selection/src/selection/select.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/select.js +12 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +18 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +16 -0
- package/dist/node_modules/d3-selection/src/selection/size.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/size.js +8 -0
- package/dist/node_modules/d3-selection/src/selection/sort.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/sort.js +19 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/sparse.js +6 -0
- package/dist/node_modules/d3-selection/src/selection/style.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/style.js +27 -0
- package/dist/node_modules/d3-selection/src/selection/text.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selection/text.js +20 -0
- package/dist/node_modules/d3-selection/src/selector.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selector.js +10 -0
- package/dist/node_modules/d3-selection/src/selectorAll.cjs +1 -0
- package/dist/node_modules/d3-selection/src/selectorAll.js +11 -0
- package/dist/node_modules/d3-selection/src/sourceEvent.cjs +1 -0
- package/dist/node_modules/d3-selection/src/sourceEvent.js +8 -0
- package/dist/node_modules/d3-selection/src/window.cjs +1 -0
- package/dist/node_modules/d3-selection/src/window.js +6 -0
- package/dist/node_modules/d3-shape/src/arc.cjs +1 -0
- package/dist/node_modules/d3-shape/src/arc.js +85 -0
- package/dist/node_modules/d3-shape/src/area.cjs +1 -0
- package/dist/node_modules/d3-shape/src/area.js +56 -0
- package/dist/node_modules/d3-shape/src/array.cjs +1 -0
- package/dist/node_modules/d3-shape/src/array.js +6 -0
- package/dist/node_modules/d3-shape/src/constant.cjs +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +8 -0
- package/dist/node_modules/d3-shape/src/curve/basis.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +60 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/bundle.js +33 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +65 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +57 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +72 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +61 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +54 -0
- package/dist/node_modules/d3-shape/src/curve/linear.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +23 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +93 -0
- package/dist/node_modules/d3-shape/src/curve/natural.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +41 -0
- package/dist/node_modules/d3-shape/src/curve/step.cjs +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +51 -0
- package/dist/node_modules/d3-shape/src/descending.cjs +1 -0
- package/dist/node_modules/d3-shape/src/descending.js +6 -0
- package/dist/node_modules/d3-shape/src/identity.cjs +1 -0
- package/dist/node_modules/d3-shape/src/identity.js +6 -0
- package/dist/node_modules/d3-shape/src/line.cjs +1 -0
- package/dist/node_modules/d3-shape/src/line.js +29 -0
- package/dist/node_modules/d3-shape/src/math.cjs +1 -0
- package/dist/node_modules/d3-shape/src/math.js +22 -0
- package/dist/node_modules/d3-shape/src/noop.cjs +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +5 -0
- package/dist/node_modules/d3-shape/src/path.cjs +1 -0
- package/dist/node_modules/d3-shape/src/path.js +18 -0
- package/dist/node_modules/d3-shape/src/pie.cjs +1 -0
- package/dist/node_modules/d3-shape/src/pie.js +43 -0
- package/dist/node_modules/d3-shape/src/point.cjs +1 -0
- package/dist/node_modules/d3-shape/src/point.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/star.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol.cjs +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +21 -0
- package/dist/node_modules/d3-time/src/day.cjs +1 -0
- package/dist/node_modules/d3-time/src/day.js +26 -0
- package/dist/node_modules/d3-time/src/duration.cjs +1 -0
- package/dist/node_modules/d3-time/src/duration.js +10 -0
- package/dist/node_modules/d3-time/src/hour.cjs +1 -0
- package/dist/node_modules/d3-time/src/hour.js +18 -0
- package/dist/node_modules/d3-time/src/interval.cjs +1 -0
- package/dist/node_modules/d3-time/src/interval.js +31 -0
- package/dist/node_modules/d3-time/src/millisecond.cjs +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/minute.cjs +1 -0
- package/dist/node_modules/d3-time/src/minute.js +18 -0
- package/dist/node_modules/d3-time/src/month.cjs +1 -0
- package/dist/node_modules/d3-time/src/month.js +17 -0
- package/dist/node_modules/d3-time/src/second.cjs +1 -0
- package/dist/node_modules/d3-time/src/second.js +11 -0
- package/dist/node_modules/d3-time/src/ticks.cjs +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +54 -0
- package/dist/node_modules/d3-time/src/week.cjs +1 -0
- package/dist/node_modules/d3-time/src/week.js +48 -0
- package/dist/node_modules/d3-time/src/year.cjs +1 -0
- package/dist/node_modules/d3-time/src/year.js +27 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +20 -0
- package/dist/node_modules/d3-time-format/src/locale.cjs +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +478 -0
- package/dist/node_modules/d3-timer/src/timeout.cjs +1 -0
- package/dist/node_modules/d3-timer/src/timeout.js +10 -0
- package/dist/node_modules/d3-timer/src/timer.cjs +1 -0
- package/dist/node_modules/d3-timer/src/timer.js +62 -0
- package/dist/node_modules/d3-transition/src/interrupt.cjs +1 -0
- package/dist/node_modules/d3-transition/src/interrupt.js +18 -0
- package/dist/node_modules/d3-transition/src/selection/index.cjs +1 -0
- package/dist/node_modules/d3-transition/src/selection/index.js +5 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.cjs +1 -0
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +9 -0
- package/dist/node_modules/d3-transition/src/selection/transition.cjs +1 -0
- package/dist/node_modules/d3-transition/src/selection/transition.js +28 -0
- package/dist/node_modules/d3-transition/src/transition/attr.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/attr.js +49 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +38 -0
- package/dist/node_modules/d3-transition/src/transition/delay.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/delay.js +18 -0
- package/dist/node_modules/d3-transition/src/transition/duration.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/duration.js +18 -0
- package/dist/node_modules/d3-transition/src/transition/ease.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/ease.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +15 -0
- package/dist/node_modules/d3-transition/src/transition/end.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/end.js +16 -0
- package/dist/node_modules/d3-transition/src/transition/filter.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/filter.js +12 -0
- package/dist/node_modules/d3-transition/src/transition/index.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/index.js +65 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +11 -0
- package/dist/node_modules/d3-transition/src/transition/merge.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/merge.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/on.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/on.js +21 -0
- package/dist/node_modules/d3-transition/src/transition/remove.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/remove.js +13 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/schedule.js +85 -0
- package/dist/node_modules/d3-transition/src/transition/select.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/select.js +14 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +18 -0
- package/dist/node_modules/d3-transition/src/transition/selection.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/selection.js +8 -0
- package/dist/node_modules/d3-transition/src/transition/style.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/style.js +45 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +23 -0
- package/dist/node_modules/d3-transition/src/transition/text.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/text.js +18 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/textTween.js +23 -0
- package/dist/node_modules/d3-transition/src/transition/transition.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/transition.js +19 -0
- package/dist/node_modules/d3-transition/src/transition/tween.cjs +1 -0
- package/dist/node_modules/d3-transition/src/transition/tween.js +56 -0
- package/dist/node_modules/internmap/src/index.cjs +1 -0
- package/dist/node_modules/internmap/src/index.js +35 -0
- package/dist/node_modules/parse-unit/index.cjs +1 -0
- package/dist/node_modules/parse-unit/index.js +11 -0
- package/dist/node_modules/striptags/src/striptags.cjs +2 -0
- package/dist/node_modules/striptags/src/striptags.js +118 -0
- package/dist/node_modules/stylis/src/Enum.cjs +1 -0
- package/dist/node_modules/stylis/src/Enum.js +12 -0
- package/dist/node_modules/stylis/src/Middleware.cjs +1 -0
- package/dist/node_modules/stylis/src/Middleware.js +18 -0
- package/dist/node_modules/stylis/src/Parser.cjs +1 -0
- package/dist/node_modules/stylis/src/Parser.js +131 -0
- package/dist/node_modules/stylis/src/Serializer.cjs +1 -0
- package/dist/node_modules/stylis/src/Serializer.js +27 -0
- package/dist/node_modules/stylis/src/Tokenizer.cjs +1 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +141 -0
- package/dist/node_modules/stylis/src/Utility.cjs +1 -0
- package/dist/node_modules/stylis/src/Utility.js +50 -0
- package/dist/node_modules/throttle-debounce/esm/index.cjs +1 -0
- package/dist/node_modules/throttle-debounce/esm/index.js +28 -0
- package/dist/node_modules/to-px/browser.cjs +1 -0
- package/dist/node_modules/to-px/browser.js +63 -0
- package/dist/types.cjs +1 -0
- package/dist/types.d.ts +5 -0
- package/dist/types.js +4 -0
- package/dist/utils.cjs +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +18 -0
- package/package.json +22 -26
- package/dist/vue-chrts.js +0 -8524
- package/dist/vue-chrts.umd.cjs +0 -373
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
function I(e, r) {
|
|
2
|
+
var n = Object.keys(e);
|
|
3
|
+
if (Object.getOwnPropertySymbols) {
|
|
4
|
+
var t = Object.getOwnPropertySymbols(e);
|
|
5
|
+
r && (t = t.filter(function(u) {
|
|
6
|
+
return Object.getOwnPropertyDescriptor(e, u).enumerable;
|
|
7
|
+
})), n.push.apply(n, t);
|
|
8
|
+
}
|
|
9
|
+
return n;
|
|
10
|
+
}
|
|
11
|
+
function T(e) {
|
|
12
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
13
|
+
var n = arguments[r] != null ? arguments[r] : {};
|
|
14
|
+
r % 2 ? I(Object(n), !0).forEach(function(t) {
|
|
15
|
+
_(e, t, n[t]);
|
|
16
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I(Object(n)).forEach(function(t) {
|
|
17
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return e;
|
|
21
|
+
}
|
|
22
|
+
function x(e) {
|
|
23
|
+
"@babel/helpers - typeof";
|
|
24
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? x = function(r) {
|
|
25
|
+
return typeof r;
|
|
26
|
+
} : x = function(r) {
|
|
27
|
+
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
28
|
+
}, x(e);
|
|
29
|
+
}
|
|
30
|
+
function _(e, r, n) {
|
|
31
|
+
return r in e ? Object.defineProperty(e, r, {
|
|
32
|
+
value: n,
|
|
33
|
+
enumerable: !0,
|
|
34
|
+
configurable: !0,
|
|
35
|
+
writable: !0
|
|
36
|
+
}) : e[r] = n, e;
|
|
37
|
+
}
|
|
38
|
+
function O() {
|
|
39
|
+
return O = Object.assign || function(e) {
|
|
40
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
41
|
+
var n = arguments[r];
|
|
42
|
+
for (var t in n)
|
|
43
|
+
Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
|
|
44
|
+
}
|
|
45
|
+
return e;
|
|
46
|
+
}, O.apply(this, arguments);
|
|
47
|
+
}
|
|
48
|
+
function R(e, r) {
|
|
49
|
+
if (e) {
|
|
50
|
+
if (typeof e == "string") return P(e, r);
|
|
51
|
+
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
52
|
+
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
53
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return P(e, r);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function P(e, r) {
|
|
57
|
+
(r == null || r > e.length) && (r = e.length);
|
|
58
|
+
for (var n = 0, t = new Array(r); n < r; n++) t[n] = e[n];
|
|
59
|
+
return t;
|
|
60
|
+
}
|
|
61
|
+
function F(e, r) {
|
|
62
|
+
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
63
|
+
if (!n) {
|
|
64
|
+
if (Array.isArray(e) || (n = R(e)) || r) {
|
|
65
|
+
n && (e = n);
|
|
66
|
+
var t = 0, u = function() {
|
|
67
|
+
};
|
|
68
|
+
return {
|
|
69
|
+
s: u,
|
|
70
|
+
n: function() {
|
|
71
|
+
return t >= e.length ? {
|
|
72
|
+
done: !0
|
|
73
|
+
} : {
|
|
74
|
+
done: !1,
|
|
75
|
+
value: e[t++]
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
e: function(l) {
|
|
79
|
+
throw l;
|
|
80
|
+
},
|
|
81
|
+
f: u
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
85
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
86
|
+
}
|
|
87
|
+
var f = !0, c = !1, a;
|
|
88
|
+
return {
|
|
89
|
+
s: function() {
|
|
90
|
+
n = n.call(e);
|
|
91
|
+
},
|
|
92
|
+
n: function() {
|
|
93
|
+
var l = n.next();
|
|
94
|
+
return f = l.done, l;
|
|
95
|
+
},
|
|
96
|
+
e: function(l) {
|
|
97
|
+
c = !0, a = l;
|
|
98
|
+
},
|
|
99
|
+
f: function() {
|
|
100
|
+
try {
|
|
101
|
+
!f && n.return != null && n.return();
|
|
102
|
+
} finally {
|
|
103
|
+
if (c) throw a;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function D(e, r) {
|
|
109
|
+
var n = [], t = [];
|
|
110
|
+
function u(f, c) {
|
|
111
|
+
if (f.length === 1)
|
|
112
|
+
n.push(f[0]), t.push(f[0]);
|
|
113
|
+
else {
|
|
114
|
+
for (var a = Array(f.length - 1), l = 0; l < a.length; l++)
|
|
115
|
+
l === 0 && n.push(f[0]), l === a.length - 1 && t.push(f[l + 1]), a[l] = [(1 - c) * f[l][0] + c * f[l + 1][0], (1 - c) * f[l][1] + c * f[l + 1][1]];
|
|
116
|
+
u(a, c);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return e.length && u(e, r), {
|
|
120
|
+
left: n,
|
|
121
|
+
right: t.reverse()
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function Q(e) {
|
|
125
|
+
var r = {};
|
|
126
|
+
return e.length === 4 && (r.x2 = e[2][0], r.y2 = e[2][1]), e.length >= 3 && (r.x1 = e[1][0], r.y1 = e[1][1]), r.x = e[e.length - 1][0], r.y = e[e.length - 1][1], e.length === 4 ? r.type = "C" : e.length === 3 ? r.type = "Q" : r.type = "L", r;
|
|
127
|
+
}
|
|
128
|
+
function V(e, r) {
|
|
129
|
+
r = r || 2;
|
|
130
|
+
for (var n = [], t = e, u = 1 / r, f = 0; f < r - 1; f++) {
|
|
131
|
+
var c = u / (1 - u * f), a = D(t, c);
|
|
132
|
+
n.push(a.left), t = a.right;
|
|
133
|
+
}
|
|
134
|
+
return n.push(t), n;
|
|
135
|
+
}
|
|
136
|
+
function H(e, r, n) {
|
|
137
|
+
var t = [[e.x, e.y]];
|
|
138
|
+
return r.x1 != null && t.push([r.x1, r.y1]), r.x2 != null && t.push([r.x2, r.y2]), t.push([r.x, r.y]), V(t, n).map(Q);
|
|
139
|
+
}
|
|
140
|
+
var d = /[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g, s = {
|
|
141
|
+
M: ["x", "y"],
|
|
142
|
+
L: ["x", "y"],
|
|
143
|
+
H: ["x"],
|
|
144
|
+
V: ["y"],
|
|
145
|
+
C: ["x1", "y1", "x2", "y2", "x", "y"],
|
|
146
|
+
S: ["x2", "y2", "x", "y"],
|
|
147
|
+
Q: ["x1", "y1", "x", "y"],
|
|
148
|
+
T: ["x", "y"],
|
|
149
|
+
A: ["rx", "ry", "xAxisRotation", "largeArcFlag", "sweepFlag", "x", "y"],
|
|
150
|
+
Z: []
|
|
151
|
+
};
|
|
152
|
+
Object.keys(s).forEach(function(e) {
|
|
153
|
+
s[e.toLowerCase()] = s[e];
|
|
154
|
+
});
|
|
155
|
+
function j(e, r) {
|
|
156
|
+
for (var n = Array(e), t = 0; t < e; t++)
|
|
157
|
+
n[t] = r;
|
|
158
|
+
return n;
|
|
159
|
+
}
|
|
160
|
+
function U(e) {
|
|
161
|
+
return "".concat(e.type).concat(s[e.type].map(function(r) {
|
|
162
|
+
return e[r];
|
|
163
|
+
}).join(","));
|
|
164
|
+
}
|
|
165
|
+
function q(e, r) {
|
|
166
|
+
var n = {
|
|
167
|
+
x1: "x",
|
|
168
|
+
y1: "y",
|
|
169
|
+
x2: "x",
|
|
170
|
+
y2: "y"
|
|
171
|
+
}, t = ["xAxisRotation", "largeArcFlag", "sweepFlag"];
|
|
172
|
+
if (e.type !== r.type && r.type.toUpperCase() !== "M") {
|
|
173
|
+
var u = {};
|
|
174
|
+
Object.keys(r).forEach(function(f) {
|
|
175
|
+
var c = r[f], a = e[f];
|
|
176
|
+
a === void 0 && (t.includes(f) ? a = c : (a === void 0 && n[f] && (a = e[n[f]]), a === void 0 && (a = 0))), u[f] = a;
|
|
177
|
+
}), u.type = r.type, e = u;
|
|
178
|
+
}
|
|
179
|
+
return e;
|
|
180
|
+
}
|
|
181
|
+
function B(e, r, n) {
|
|
182
|
+
var t = [];
|
|
183
|
+
if (r.type === "L" || r.type === "Q" || r.type === "C")
|
|
184
|
+
t = t.concat(H(e, r, n));
|
|
185
|
+
else {
|
|
186
|
+
var u = O({}, e);
|
|
187
|
+
u.type === "M" && (u.type = "L"), t = t.concat(j(n - 1).map(function() {
|
|
188
|
+
return u;
|
|
189
|
+
})), t.push(r);
|
|
190
|
+
}
|
|
191
|
+
return t;
|
|
192
|
+
}
|
|
193
|
+
function M(e, r, n) {
|
|
194
|
+
var t = e.length - 1, u = r.length - 1, f = t / u, c = j(u).reduce(function(l, h, y) {
|
|
195
|
+
var i = Math.floor(f * y);
|
|
196
|
+
if (n && i < e.length - 1 && n(e[i], e[i + 1])) {
|
|
197
|
+
var p = f * y % 1 < 0.5;
|
|
198
|
+
l[i] && (p ? i > 0 ? i -= 1 : i < e.length - 1 && (i += 1) : i < e.length - 1 ? i += 1 : i > 0 && (i -= 1));
|
|
199
|
+
}
|
|
200
|
+
return l[i] = (l[i] || 0) + 1, l;
|
|
201
|
+
}, []), a = c.reduce(function(l, h, y) {
|
|
202
|
+
if (y === e.length - 1) {
|
|
203
|
+
var i = j(h, O({}, e[e.length - 1]));
|
|
204
|
+
return i[0].type === "M" && i.forEach(function(p) {
|
|
205
|
+
p.type = "L";
|
|
206
|
+
}), l.concat(i);
|
|
207
|
+
}
|
|
208
|
+
return l.concat(B(e[y], e[y + 1], h));
|
|
209
|
+
}, []);
|
|
210
|
+
return a.unshift(e[0]), a;
|
|
211
|
+
}
|
|
212
|
+
function Z(e) {
|
|
213
|
+
for (var r = (e || "").match(d) || [], n = [], t, u, f = 0; f < r.length; ++f)
|
|
214
|
+
if (t = s[r[f]], t) {
|
|
215
|
+
u = {
|
|
216
|
+
type: r[f]
|
|
217
|
+
};
|
|
218
|
+
for (var c = 0; c < t.length; ++c)
|
|
219
|
+
u[t[c]] = +r[f + c + 1];
|
|
220
|
+
f += t.length, n.push(u);
|
|
221
|
+
}
|
|
222
|
+
return n;
|
|
223
|
+
}
|
|
224
|
+
function $(e, r, n) {
|
|
225
|
+
var t = e == null ? [] : e.slice(), u = r == null ? [] : r.slice(), f = x(n) === "object" ? n : {
|
|
226
|
+
excludeSegment: n,
|
|
227
|
+
snapEndsToInput: !0
|
|
228
|
+
}, c = f.excludeSegment, a = f.snapEndsToInput;
|
|
229
|
+
if (!t.length && !u.length)
|
|
230
|
+
return function() {
|
|
231
|
+
return [];
|
|
232
|
+
};
|
|
233
|
+
var l = (t.length === 0 || t[t.length - 1].type === "Z") && (u.length === 0 || u[u.length - 1].type === "Z");
|
|
234
|
+
t.length > 0 && t[t.length - 1].type === "Z" && t.pop(), u.length > 0 && u[u.length - 1].type === "Z" && u.pop(), t.length ? u.length || u.push(t[0]) : t.push(u[0]);
|
|
235
|
+
var h = Math.abs(u.length - t.length);
|
|
236
|
+
h !== 0 && (u.length > t.length ? t = M(t, u, c) : u.length < t.length && (u = M(u, t, c))), t = t.map(function(i, p) {
|
|
237
|
+
return q(i, u[p]);
|
|
238
|
+
});
|
|
239
|
+
var y = t.map(function(i) {
|
|
240
|
+
return T({}, i);
|
|
241
|
+
});
|
|
242
|
+
return l && (y.push({
|
|
243
|
+
type: "Z"
|
|
244
|
+
}), t.push({
|
|
245
|
+
type: "Z"
|
|
246
|
+
})), function(p) {
|
|
247
|
+
if (p === 1 && a)
|
|
248
|
+
return r ?? [];
|
|
249
|
+
if (p === 0)
|
|
250
|
+
return t;
|
|
251
|
+
for (var o = 0; o < y.length; ++o) {
|
|
252
|
+
var S = t[o], A = u[o], v = y[o], b = F(s[v.type]), w;
|
|
253
|
+
try {
|
|
254
|
+
for (b.s(); !(w = b.n()).done; ) {
|
|
255
|
+
var g = w.value;
|
|
256
|
+
v[g] = (1 - p) * S[g] + p * A[g], (g === "largeArcFlag" || g === "sweepFlag") && (v[g] = Math.round(v[g]));
|
|
257
|
+
}
|
|
258
|
+
} catch (L) {
|
|
259
|
+
b.e(L);
|
|
260
|
+
} finally {
|
|
261
|
+
b.f();
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return y;
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
function k(e, r, n) {
|
|
268
|
+
var t = Z(e), u = Z(r), f = x(n) === "object" ? n : {
|
|
269
|
+
excludeSegment: n,
|
|
270
|
+
snapEndsToInput: !0
|
|
271
|
+
}, c = f.excludeSegment, a = f.snapEndsToInput;
|
|
272
|
+
if (!t.length && !u.length)
|
|
273
|
+
return function() {
|
|
274
|
+
return "";
|
|
275
|
+
};
|
|
276
|
+
var l = $(t, u, {
|
|
277
|
+
excludeSegment: c,
|
|
278
|
+
snapEndsToInput: a
|
|
279
|
+
});
|
|
280
|
+
return function(y) {
|
|
281
|
+
if (y === 1 && a)
|
|
282
|
+
return r ?? "";
|
|
283
|
+
var i = l(y), p = "", o = F(i), S;
|
|
284
|
+
try {
|
|
285
|
+
for (o.s(); !(S = o.n()).done; ) {
|
|
286
|
+
var A = S.value;
|
|
287
|
+
p += U(A);
|
|
288
|
+
}
|
|
289
|
+
} catch (v) {
|
|
290
|
+
o.e(v);
|
|
291
|
+
} finally {
|
|
292
|
+
o.f();
|
|
293
|
+
}
|
|
294
|
+
return p;
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
export {
|
|
298
|
+
k as interpolatePath,
|
|
299
|
+
$ as interpolatePathCommands,
|
|
300
|
+
Z as pathCommandsFromString
|
|
301
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=Math.PI,x=2*c,d=1e-6,A=x-d;function g(p){this._+=p[0];for(let t=1,h=p.length;t<h;++t)this._+=arguments[t]+p[t]}function E(p){let t=Math.floor(p);if(!(t>=0))throw new Error(`invalid digits: ${p}`);if(t>15)return g;const h=10**t;return function(i){this._+=i[0];for(let s=1,e=i.length;s<e;++s)this._+=Math.round(arguments[s]*h)/h+i[s]}}class L{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?g:E(t)}moveTo(t,h){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+h}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,h){this._append`L${this._x1=+t},${this._y1=+h}`}quadraticCurveTo(t,h,i,s){this._append`Q${+t},${+h},${this._x1=+i},${this._y1=+s}`}bezierCurveTo(t,h,i,s,e,$){this._append`C${+t},${+h},${+i},${+s},${this._x1=+e},${this._y1=+$}`}arcTo(t,h,i,s,e){if(t=+t,h=+h,i=+i,s=+s,e=+e,e<0)throw new Error(`negative radius: ${e}`);let $=this._x1,u=this._y1,o=i-t,a=s-h,_=$-t,l=u-h,n=_*_+l*l;if(this._x1===null)this._append`M${this._x1=t},${this._y1=h}`;else if(n>d)if(!(Math.abs(l*o-a*_)>d)||!e)this._append`L${this._x1=t},${this._y1=h}`;else{let f=i-$,M=s-u,y=o*o+a*a,m=f*f+M*M,v=Math.sqrt(y),b=Math.sqrt(n),T=e*Math.tan((c-Math.acos((y+n-m)/(2*v*b)))/2),r=T/b,P=T/v;Math.abs(r-1)>d&&this._append`L${t+r*_},${h+r*l}`,this._append`A${e},${e},0,0,${+(l*f>_*M)},${this._x1=t+P*o},${this._y1=h+P*a}`}}arc(t,h,i,s,e,$){if(t=+t,h=+h,i=+i,$=!!$,i<0)throw new Error(`negative radius: ${i}`);let u=i*Math.cos(s),o=i*Math.sin(s),a=t+u,_=h+o,l=1^$,n=$?s-e:e-s;this._x1===null?this._append`M${a},${_}`:(Math.abs(this._x1-a)>d||Math.abs(this._y1-_)>d)&&this._append`L${a},${_}`,i&&(n<0&&(n=n%x+x),n>A?this._append`A${i},${i},0,1,${l},${t-u},${h-o}A${i},${i},0,1,${l},${this._x1=a},${this._y1=_}`:n>d&&this._append`A${i},${i},0,${+(n>=c)},${l},${this._x1=t+i*Math.cos(e)},${this._y1=h+i*Math.sin(e)}`)}rect(t,h,i,s){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+h}h${i=+i}v${+s}h${-i}Z`}toString(){return this._}}exports.Path=L;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const x = Math.PI, c = 2 * x, d = 1e-6, m = c - d;
|
|
2
|
+
function E(l) {
|
|
3
|
+
this._ += l[0];
|
|
4
|
+
for (let t = 1, h = l.length; t < h; ++t)
|
|
5
|
+
this._ += arguments[t] + l[t];
|
|
6
|
+
}
|
|
7
|
+
function q(l) {
|
|
8
|
+
let t = Math.floor(l);
|
|
9
|
+
if (!(t >= 0)) throw new Error(`invalid digits: ${l}`);
|
|
10
|
+
if (t > 15) return E;
|
|
11
|
+
const h = 10 ** t;
|
|
12
|
+
return function(i) {
|
|
13
|
+
this._ += i[0];
|
|
14
|
+
for (let s = 1, _ = i.length; s < _; ++s)
|
|
15
|
+
this._ += Math.round(arguments[s] * h) / h + i[s];
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
class C {
|
|
19
|
+
constructor(t) {
|
|
20
|
+
this._x0 = this._y0 = // start of current subpath
|
|
21
|
+
this._x1 = this._y1 = null, this._ = "", this._append = t == null ? E : q(t);
|
|
22
|
+
}
|
|
23
|
+
moveTo(t, h) {
|
|
24
|
+
this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +h}`;
|
|
25
|
+
}
|
|
26
|
+
closePath() {
|
|
27
|
+
this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);
|
|
28
|
+
}
|
|
29
|
+
lineTo(t, h) {
|
|
30
|
+
this._append`L${this._x1 = +t},${this._y1 = +h}`;
|
|
31
|
+
}
|
|
32
|
+
quadraticCurveTo(t, h, i, s) {
|
|
33
|
+
this._append`Q${+t},${+h},${this._x1 = +i},${this._y1 = +s}`;
|
|
34
|
+
}
|
|
35
|
+
bezierCurveTo(t, h, i, s, _, n) {
|
|
36
|
+
this._append`C${+t},${+h},${+i},${+s},${this._x1 = +_},${this._y1 = +n}`;
|
|
37
|
+
}
|
|
38
|
+
arcTo(t, h, i, s, _) {
|
|
39
|
+
if (t = +t, h = +h, i = +i, s = +s, _ = +_, _ < 0) throw new Error(`negative radius: ${_}`);
|
|
40
|
+
let n = this._x1, u = this._y1, o = i - t, a = s - h, e = n - t, p = u - h, $ = e * e + p * p;
|
|
41
|
+
if (this._x1 === null)
|
|
42
|
+
this._append`M${this._x1 = t},${this._y1 = h}`;
|
|
43
|
+
else if ($ > d) if (!(Math.abs(p * o - a * e) > d) || !_)
|
|
44
|
+
this._append`L${this._x1 = t},${this._y1 = h}`;
|
|
45
|
+
else {
|
|
46
|
+
let f = i - n, M = s - u, y = o * o + a * a, L = f * f + M * M, v = Math.sqrt(y), b = Math.sqrt($), T = _ * Math.tan((x - Math.acos((y + $ - L) / (2 * v * b))) / 2), r = T / b, A = T / v;
|
|
47
|
+
Math.abs(r - 1) > d && this._append`L${t + r * e},${h + r * p}`, this._append`A${_},${_},0,0,${+(p * f > e * M)},${this._x1 = t + A * o},${this._y1 = h + A * a}`;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
arc(t, h, i, s, _, n) {
|
|
51
|
+
if (t = +t, h = +h, i = +i, n = !!n, i < 0) throw new Error(`negative radius: ${i}`);
|
|
52
|
+
let u = i * Math.cos(s), o = i * Math.sin(s), a = t + u, e = h + o, p = 1 ^ n, $ = n ? s - _ : _ - s;
|
|
53
|
+
this._x1 === null ? this._append`M${a},${e}` : (Math.abs(this._x1 - a) > d || Math.abs(this._y1 - e) > d) && this._append`L${a},${e}`, i && ($ < 0 && ($ = $ % c + c), $ > m ? this._append`A${i},${i},0,1,${p},${t - u},${h - o}A${i},${i},0,1,${p},${this._x1 = a},${this._y1 = e}` : $ > d && this._append`A${i},${i},0,${+($ >= x)},${p},${this._x1 = t + i * Math.cos(_)},${this._y1 = h + i * Math.sin(_)}`);
|
|
54
|
+
}
|
|
55
|
+
rect(t, h, i, s) {
|
|
56
|
+
this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +h}h${i = +i}v${+s}h${-i}Z`;
|
|
57
|
+
}
|
|
58
|
+
toString() {
|
|
59
|
+
return this._;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
C as Path
|
|
64
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const O=require("./init.cjs"),b=require("./ordinal.cjs"),I=require("../../d3-array/src/range.cjs");function s(){var n=b.default().unknown(void 0),d=n.domain,v=n.range,e=0,r=1,i,l,o=!1,a=0,p=0,f=.5;delete n.unknown;function u(){var t=d().length,c=r<e,g=c?r:e,h=c?e:r;i=(h-g)/Math.max(1,t-a+p*2),o&&(i=Math.floor(i)),g+=(h-g-i*(t-a))*f,l=i*(1-a),o&&(g=Math.round(g),l=Math.round(l));var m=I.default(t).map(function(y){return g+i*y});return v(c?m.reverse():m)}return n.domain=function(t){return arguments.length?(d(t),u()):d()},n.range=function(t){return arguments.length?([e,r]=t,e=+e,r=+r,u()):[e,r]},n.rangeRound=function(t){return[e,r]=t,e=+e,r=+r,o=!0,u()},n.bandwidth=function(){return l},n.step=function(){return i},n.round=function(t){return arguments.length?(o=!!t,u()):o},n.padding=function(t){return arguments.length?(a=Math.min(1,p=+t),u()):a},n.paddingInner=function(t){return arguments.length?(a=Math.min(1,t),u()):a},n.paddingOuter=function(t){return arguments.length?(p=+t,u()):p},n.align=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),u()):f},n.copy=function(){return s(d(),[e,r]).round(o).paddingInner(a).paddingOuter(p).align(f)},O.initRange.apply(u(),arguments)}function M(n){var d=n.copy;return n.padding=n.paddingOuter,delete n.paddingInner,delete n.paddingOuter,n.copy=function(){return M(d())},n}function w(){return M(s.apply(null,arguments).paddingInner(1))}exports.default=s;exports.point=w;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { initRange as I } from "./init.js";
|
|
2
|
+
import O from "./ordinal.js";
|
|
3
|
+
import w from "../../d3-array/src/range.js";
|
|
4
|
+
function s() {
|
|
5
|
+
var n = O().unknown(void 0), d = n.domain, v = n.range, t = 0, e = 1, i, f, o = !1, a = 0, p = 0, m = 0.5;
|
|
6
|
+
delete n.unknown;
|
|
7
|
+
function u() {
|
|
8
|
+
var r = d().length, l = e < t, g = l ? e : t, h = l ? t : e;
|
|
9
|
+
i = (h - g) / Math.max(1, r - a + p * 2), o && (i = Math.floor(i)), g += (h - g - i * (r - a)) * m, f = i * (1 - a), o && (g = Math.round(g), f = Math.round(f));
|
|
10
|
+
var c = w(r).map(function(y) {
|
|
11
|
+
return g + i * y;
|
|
12
|
+
});
|
|
13
|
+
return v(l ? c.reverse() : c);
|
|
14
|
+
}
|
|
15
|
+
return n.domain = function(r) {
|
|
16
|
+
return arguments.length ? (d(r), u()) : d();
|
|
17
|
+
}, n.range = function(r) {
|
|
18
|
+
return arguments.length ? ([t, e] = r, t = +t, e = +e, u()) : [t, e];
|
|
19
|
+
}, n.rangeRound = function(r) {
|
|
20
|
+
return [t, e] = r, t = +t, e = +e, o = !0, u();
|
|
21
|
+
}, n.bandwidth = function() {
|
|
22
|
+
return f;
|
|
23
|
+
}, n.step = function() {
|
|
24
|
+
return i;
|
|
25
|
+
}, n.round = function(r) {
|
|
26
|
+
return arguments.length ? (o = !!r, u()) : o;
|
|
27
|
+
}, n.padding = function(r) {
|
|
28
|
+
return arguments.length ? (a = Math.min(1, p = +r), u()) : a;
|
|
29
|
+
}, n.paddingInner = function(r) {
|
|
30
|
+
return arguments.length ? (a = Math.min(1, r), u()) : a;
|
|
31
|
+
}, n.paddingOuter = function(r) {
|
|
32
|
+
return arguments.length ? (p = +r, u()) : p;
|
|
33
|
+
}, n.align = function(r) {
|
|
34
|
+
return arguments.length ? (m = Math.max(0, Math.min(1, r)), u()) : m;
|
|
35
|
+
}, n.copy = function() {
|
|
36
|
+
return s(d(), [t, e]).round(o).paddingInner(a).paddingOuter(p).align(m);
|
|
37
|
+
}, I.apply(u(), arguments);
|
|
38
|
+
}
|
|
39
|
+
function M(n) {
|
|
40
|
+
var d = n.copy;
|
|
41
|
+
return n.padding = n.paddingOuter, delete n.paddingInner, delete n.paddingOuter, n.copy = function() {
|
|
42
|
+
return M(d());
|
|
43
|
+
}, n;
|
|
44
|
+
}
|
|
45
|
+
function k() {
|
|
46
|
+
return M(s.apply(null, arguments).paddingInner(1));
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
s as default,
|
|
50
|
+
k as point
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function t(e){return function(){return e}}exports.default=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("./constant.cjs"),w=require("./number.cjs"),q=require("../../d3-interpolate/src/number.cjs"),M=require("../../d3-interpolate/src/value.cjs"),N=require("../../d3-array/src/bisect.cjs"),A=require("../../d3-interpolate/src/round.cjs");var h=[0,1];function f(n){return n}function g(n,r){return(r-=n=+n)?function(i){return(i-n)/r}:y.default(isNaN(r)?NaN:.5)}function k(n,r){var i;return n>r&&(i=n,n=r,r=i),function(e){return Math.max(n,Math.min(r,e))}}function b(n,r,i){var e=n[0],a=n[1],o=r[0],u=r[1];return a<e?(e=g(a,e),o=i(u,o)):(e=g(e,a),o=i(o,u)),function(l){return o(e(l))}}function j(n,r,i){var e=Math.min(n.length,r.length)-1,a=new Array(e),o=new Array(e),u=-1;for(n[e]<n[0]&&(n=n.slice().reverse(),r=r.slice().reverse());++u<e;)a[u]=g(n[u],n[u+1]),o[u]=i(r[u],r[u+1]);return function(l){var s=N.bisectRight(n,l,1,e)-1;return o[s](a[s](l))}}function R(n,r){return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function v(){var n=h,r=h,i=M.default,e,a,o,u=f,l,s,p;function m(){var t=Math.min(n.length,r.length);return u!==f&&(u=k(n[0],n[t-1])),l=t>2?j:b,s=p=null,c}function c(t){return t==null||isNaN(t=+t)?o:(s||(s=l(n.map(e),r,i)))(e(u(t)))}return c.invert=function(t){return u(a((p||(p=l(r,n.map(e),q.default)))(t)))},c.domain=function(t){return arguments.length?(n=Array.from(t,w.default),m()):n.slice()},c.range=function(t){return arguments.length?(r=Array.from(t),m()):r.slice()},c.rangeRound=function(t){return r=Array.from(t),i=A.default,m()},c.clamp=function(t){return arguments.length?(u=t?!0:f,m()):u!==f},c.interpolate=function(t){return arguments.length?(i=t,m()):i},c.unknown=function(t){return arguments.length?(o=t,c):o},function(t,d){return e=t,a=d,m()}}function S(){return v()(f,f)}exports.copy=R;exports.default=S;exports.identity=f;exports.transformer=v;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import w from "./constant.js";
|
|
2
|
+
import y from "./number.js";
|
|
3
|
+
import N from "../../d3-interpolate/src/number.js";
|
|
4
|
+
import A from "../../d3-interpolate/src/value.js";
|
|
5
|
+
import { bisectRight as k } from "../../d3-array/src/bisect.js";
|
|
6
|
+
import M from "../../d3-interpolate/src/round.js";
|
|
7
|
+
var h = [0, 1];
|
|
8
|
+
function p(n) {
|
|
9
|
+
return n;
|
|
10
|
+
}
|
|
11
|
+
function g(n, r) {
|
|
12
|
+
return (r -= n = +n) ? function(i) {
|
|
13
|
+
return (i - n) / r;
|
|
14
|
+
} : w(isNaN(r) ? NaN : 0.5);
|
|
15
|
+
}
|
|
16
|
+
function d(n, r) {
|
|
17
|
+
var i;
|
|
18
|
+
return n > r && (i = n, n = r, r = i), function(e) {
|
|
19
|
+
return Math.max(n, Math.min(r, e));
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function R(n, r, i) {
|
|
23
|
+
var e = n[0], a = n[1], o = r[0], u = r[1];
|
|
24
|
+
return a < e ? (e = g(a, e), o = i(u, o)) : (e = g(e, a), o = i(o, u)), function(l) {
|
|
25
|
+
return o(e(l));
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function j(n, r, i) {
|
|
29
|
+
var e = Math.min(n.length, r.length) - 1, a = new Array(e), o = new Array(e), u = -1;
|
|
30
|
+
for (n[e] < n[0] && (n = n.slice().reverse(), r = r.slice().reverse()); ++u < e; )
|
|
31
|
+
a[u] = g(n[u], n[u + 1]), o[u] = i(r[u], r[u + 1]);
|
|
32
|
+
return function(l) {
|
|
33
|
+
var m = k(n, l, 1, e) - 1;
|
|
34
|
+
return o[m](a[m](l));
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function F(n, r) {
|
|
38
|
+
return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown());
|
|
39
|
+
}
|
|
40
|
+
function z() {
|
|
41
|
+
var n = h, r = h, i = A, e, a, o, u = p, l, m, s;
|
|
42
|
+
function c() {
|
|
43
|
+
var t = Math.min(n.length, r.length);
|
|
44
|
+
return u !== p && (u = d(n[0], n[t - 1])), l = t > 2 ? j : R, m = s = null, f;
|
|
45
|
+
}
|
|
46
|
+
function f(t) {
|
|
47
|
+
return t == null || isNaN(t = +t) ? o : (m || (m = l(n.map(e), r, i)))(e(u(t)));
|
|
48
|
+
}
|
|
49
|
+
return f.invert = function(t) {
|
|
50
|
+
return u(a((s || (s = l(r, n.map(e), N)))(t)));
|
|
51
|
+
}, f.domain = function(t) {
|
|
52
|
+
return arguments.length ? (n = Array.from(t, y), c()) : n.slice();
|
|
53
|
+
}, f.range = function(t) {
|
|
54
|
+
return arguments.length ? (r = Array.from(t), c()) : r.slice();
|
|
55
|
+
}, f.rangeRound = function(t) {
|
|
56
|
+
return r = Array.from(t), i = M, c();
|
|
57
|
+
}, f.clamp = function(t) {
|
|
58
|
+
return arguments.length ? (u = t ? !0 : p, c()) : u !== p;
|
|
59
|
+
}, f.interpolate = function(t) {
|
|
60
|
+
return arguments.length ? (i = t, c()) : i;
|
|
61
|
+
}, f.unknown = function(t) {
|
|
62
|
+
return arguments.length ? (o = t, f) : o;
|
|
63
|
+
}, function(t, v) {
|
|
64
|
+
return e = t, a = v, c();
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function G() {
|
|
68
|
+
return z()(p, p);
|
|
69
|
+
}
|
|
70
|
+
export {
|
|
71
|
+
F as copy,
|
|
72
|
+
G as default,
|
|
73
|
+
p as identity,
|
|
74
|
+
z as transformer
|
|
75
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("./continuous.cjs"),w=require("./init.cjs"),b=require("./linear.cjs"),N=require("./sequential.cjs"),S=require("../../d3-interpolate/src/piecewise.cjs"),_=require("../../d3-interpolate/src/value.cjs"),j=require("../../d3-interpolate/src/round.cjs");function I(){var t=0,a=.5,c=1,l=1,u,e,o,f,g,i=y.identity,s,m=!1,d;function r(n){return isNaN(n=+n)?d:(n=.5+((n=+s(n))-e)*(l*n<l*e?f:g),i(m?Math.max(0,Math.min(1,n)):n))}r.domain=function(n){return arguments.length?([t,a,c]=n,u=s(t=+t),e=s(a=+a),o=s(c=+c),f=u===e?0:.5/(e-u),g=e===o?0:.5/(o-e),l=e<u?-1:1,r):[t,a,c]},r.clamp=function(n){return arguments.length?(m=!!n,r):m},r.interpolator=function(n){return arguments.length?(i=n,r):i};function p(n){return function(M){var h,q,v;return arguments.length?([h,q,v]=M,i=S.default(n,[h,q,v]),r):[i(0),i(.5),i(1)]}}return r.range=p(_.default),r.rangeRound=p(j.default),r.unknown=function(n){return arguments.length?(d=n,r):d},function(n){return s=n,u=n(t),e=n(a),o=n(c),f=u===e?0:.5/(e-u),g=e===o?0:.5/(o-e),l=e<u?-1:1,r}}function k(){var t=b.linearish(I()(y.identity));return t.copy=function(){return N.copy(t,k())},w.initInterpolator.apply(t,arguments)}exports.default=k;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { identity as y } from "./continuous.js";
|
|
2
|
+
import { initInterpolator as M } from "./init.js";
|
|
3
|
+
import { linearish as N } from "./linear.js";
|
|
4
|
+
import { copy as R } from "./sequential.js";
|
|
5
|
+
import I from "../../d3-interpolate/src/piecewise.js";
|
|
6
|
+
import b from "../../d3-interpolate/src/value.js";
|
|
7
|
+
import j from "../../d3-interpolate/src/round.js";
|
|
8
|
+
function q() {
|
|
9
|
+
var e = 0, u = 0.5, m = 1, p = 1, o, r, a, c, l, i = y, f, g = !1, s;
|
|
10
|
+
function t(n) {
|
|
11
|
+
return isNaN(n = +n) ? s : (n = 0.5 + ((n = +f(n)) - r) * (p * n < p * r ? c : l), i(g ? Math.max(0, Math.min(1, n)) : n));
|
|
12
|
+
}
|
|
13
|
+
t.domain = function(n) {
|
|
14
|
+
return arguments.length ? ([e, u, m] = n, o = f(e = +e), r = f(u = +u), a = f(m = +m), c = o === r ? 0 : 0.5 / (r - o), l = r === a ? 0 : 0.5 / (a - r), p = r < o ? -1 : 1, t) : [e, u, m];
|
|
15
|
+
}, t.clamp = function(n) {
|
|
16
|
+
return arguments.length ? (g = !!n, t) : g;
|
|
17
|
+
}, t.interpolator = function(n) {
|
|
18
|
+
return arguments.length ? (i = n, t) : i;
|
|
19
|
+
};
|
|
20
|
+
function h(n) {
|
|
21
|
+
return function(w) {
|
|
22
|
+
var d, k, v;
|
|
23
|
+
return arguments.length ? ([d, k, v] = w, i = I(n, [d, k, v]), t) : [i(0), i(0.5), i(1)];
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
return t.range = h(b), t.rangeRound = h(j), t.unknown = function(n) {
|
|
27
|
+
return arguments.length ? (s = n, t) : s;
|
|
28
|
+
}, function(n) {
|
|
29
|
+
return f = n, o = n(e), r = n(u), a = n(m), c = o === r ? 0 : 0.5 / (r - o), l = r === a ? 0 : 0.5 / (a - r), p = r < o ? -1 : 1, t;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function z() {
|
|
33
|
+
var e = N(q()(y));
|
|
34
|
+
return e.copy = function() {
|
|
35
|
+
return R(e, z());
|
|
36
|
+
}, M.apply(e, arguments);
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
z as default
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./linear.cjs"),u=require("./number.cjs");function l(r){var t;function e(n){return n==null||isNaN(n=+n)?t:n}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(r=Array.from(n,u.default),e):r.slice()},e.unknown=function(n){return arguments.length?(t=n,e):t},e.copy=function(){return l(r).unknown(t)},r=arguments.length?Array.from(r,u.default):[0,1],i.linearish(e)}exports.default=l;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { linearish as o } from "./linear.js";
|
|
2
|
+
import u from "./number.js";
|
|
3
|
+
function i(t) {
|
|
4
|
+
var e;
|
|
5
|
+
function n(r) {
|
|
6
|
+
return r == null || isNaN(r = +r) ? e : r;
|
|
7
|
+
}
|
|
8
|
+
return n.invert = n, n.domain = n.range = function(r) {
|
|
9
|
+
return arguments.length ? (t = Array.from(r, u), n) : t.slice();
|
|
10
|
+
}, n.unknown = function(r) {
|
|
11
|
+
return arguments.length ? (e = r, n) : e;
|
|
12
|
+
}, n.copy = function() {
|
|
13
|
+
return i(t).unknown(e);
|
|
14
|
+
}, t = arguments.length ? Array.from(t, u) : [0, 1], o(n);
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
i as default
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function n(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}exports.initInterpolator=n;exports.initRange=i;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
function n(e, t) {
|
|
2
|
+
switch (arguments.length) {
|
|
3
|
+
case 0:
|
|
4
|
+
break;
|
|
5
|
+
case 1:
|
|
6
|
+
this.range(e);
|
|
7
|
+
break;
|
|
8
|
+
default:
|
|
9
|
+
this.range(t).domain(e);
|
|
10
|
+
break;
|
|
11
|
+
}
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
function i(e, t) {
|
|
15
|
+
switch (arguments.length) {
|
|
16
|
+
case 0:
|
|
17
|
+
break;
|
|
18
|
+
case 1: {
|
|
19
|
+
typeof e == "function" ? this.interpolator(e) : this.range(e);
|
|
20
|
+
break;
|
|
21
|
+
}
|
|
22
|
+
default: {
|
|
23
|
+
this.domain(e), typeof t == "function" ? this.interpolator(t) : this.range(t);
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
i as initInterpolator,
|
|
31
|
+
n as initRange
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./continuous.cjs"),p=require("./init.cjs"),m=require("./tickFormat.cjs"),c=require("../../d3-array/src/ticks.cjs");function v(t){var l=t.domain;return t.ticks=function(i){var r=l();return c.default(r[0],r[r.length-1],i??10)},t.tickFormat=function(i,r){var u=l();return m.default(u[0],u[u.length-1],i??10,r)},t.nice=function(i){i==null&&(i=10);var r=l(),u=0,o=r.length-1,n=r[u],a=r[o],f,e,h=10;for(a<n&&(e=n,n=a,a=e,e=u,u=o,o=e);h-- >0;){if(e=c.tickIncrement(n,a,i),e===f)return r[u]=n,r[o]=a,l(r);if(e>0)n=Math.floor(n/e)*e,a=Math.ceil(a/e)*e;else if(e<0)n=Math.ceil(n*e)/e,a=Math.floor(a*e)/e;else break;f=e}return t},t}function d(){var t=s.default();return t.copy=function(){return s.copy(t,d())},p.initRange.apply(t,arguments),v(t)}exports.default=d;exports.linearish=v;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import p, { copy as v } from "./continuous.js";
|
|
2
|
+
import { initRange as c } from "./init.js";
|
|
3
|
+
import h from "./tickFormat.js";
|
|
4
|
+
import s, { tickIncrement as d } from "../../d3-array/src/ticks.js";
|
|
5
|
+
function k(i) {
|
|
6
|
+
var f = i.domain;
|
|
7
|
+
return i.ticks = function(n) {
|
|
8
|
+
var t = f();
|
|
9
|
+
return s(t[0], t[t.length - 1], n ?? 10);
|
|
10
|
+
}, i.tickFormat = function(n, t) {
|
|
11
|
+
var o = f();
|
|
12
|
+
return h(o[0], o[o.length - 1], n ?? 10, t);
|
|
13
|
+
}, i.nice = function(n) {
|
|
14
|
+
n == null && (n = 10);
|
|
15
|
+
var t = f(), o = 0, l = t.length - 1, e = t[o], a = t[l], u, r, m = 10;
|
|
16
|
+
for (a < e && (r = e, e = a, a = r, r = o, o = l, l = r); m-- > 0; ) {
|
|
17
|
+
if (r = d(e, a, n), r === u)
|
|
18
|
+
return t[o] = e, t[l] = a, f(t);
|
|
19
|
+
if (r > 0)
|
|
20
|
+
e = Math.floor(e / r) * r, a = Math.ceil(a / r) * r;
|
|
21
|
+
else if (r < 0)
|
|
22
|
+
e = Math.ceil(e * r) / r, a = Math.floor(a * r) / r;
|
|
23
|
+
else
|
|
24
|
+
break;
|
|
25
|
+
u = r;
|
|
26
|
+
}
|
|
27
|
+
return i;
|
|
28
|
+
}, i;
|
|
29
|
+
}
|
|
30
|
+
function g() {
|
|
31
|
+
var i = p();
|
|
32
|
+
return i.copy = function() {
|
|
33
|
+
return v(i, g());
|
|
34
|
+
}, c.apply(i, arguments), k(i);
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
g as default,
|
|
38
|
+
k as linearish
|
|
39
|
+
};
|