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,68 @@
|
|
|
1
|
+
import { CoreDataModel as u } from "../../data-models/core.js";
|
|
2
|
+
import { throttle as l, merge as a } from "../../utils/data.js";
|
|
3
|
+
import { guid as m } from "../../utils/misc.js";
|
|
4
|
+
import { ComponentType as o, Sizing as g } from "../../types/component.js";
|
|
5
|
+
import { ComponentDefaultConfig as _ } from "./config.js";
|
|
6
|
+
import p from "../../../../d3-selection/src/select.js";
|
|
7
|
+
class w {
|
|
8
|
+
constructor(t = o.SVG) {
|
|
9
|
+
var e, i;
|
|
10
|
+
this.type = o.SVG, this.datamodel = new u(), this.sizing = g.Fit, this.events = {}, this._defaultConfig = _, this._width = 400, this._height = 200, this._containerWidth = void 0, this._containerHeight = void 0, this._setUpComponentEventsThrottled = l(this._setUpComponentEvents, 500), this._setCustomAttributesThrottled = l(this._setCustomAttributes, 500), t === o.SVG ? this.element = document.createElementNS("http://www.w3.org/2000/svg", "g") : this.element = document.createElement("div"), this.uid = m(), this.g = p(this.element);
|
|
11
|
+
const s = (i = (e = this.constructor) === null || e === void 0 ? void 0 : e.selectors) === null || i === void 0 ? void 0 : i.root;
|
|
12
|
+
s && this.g.attr("class", s);
|
|
13
|
+
}
|
|
14
|
+
setConfig(t) {
|
|
15
|
+
this.prevConfig = this.config, this.config = a(this._defaultConfig, t);
|
|
16
|
+
}
|
|
17
|
+
setData(t) {
|
|
18
|
+
this.datamodel.data = t;
|
|
19
|
+
}
|
|
20
|
+
setSize(t, e, i, s) {
|
|
21
|
+
isFinite(t) && (this._width = t), isFinite(e) && (this._height = e), isFinite(i) && (this._containerWidth = i), isFinite(s) && (this._containerHeight = s);
|
|
22
|
+
}
|
|
23
|
+
render(t = this.config.duration) {
|
|
24
|
+
this._render(t);
|
|
25
|
+
const e = "animating";
|
|
26
|
+
t && (this.g.attr(e, ""), this.g.transition(e).duration(t).on("end interrupt", () => {
|
|
27
|
+
this.g.attr(e, null);
|
|
28
|
+
})), this._setUpComponentEventsThrottled(), this._setCustomAttributesThrottled();
|
|
29
|
+
}
|
|
30
|
+
get bleed() {
|
|
31
|
+
return { top: 0, bottom: 0, left: 0, right: 0 };
|
|
32
|
+
}
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
34
|
+
_render(t = this.config.duration) {
|
|
35
|
+
}
|
|
36
|
+
_setCustomAttributes() {
|
|
37
|
+
const t = this.config.attributes;
|
|
38
|
+
Object.keys(t).forEach((e) => {
|
|
39
|
+
Object.keys(t[e]).forEach((i) => {
|
|
40
|
+
this.g.selectAll(`.${e}`).attr(i, t[e][i]);
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
_setUpComponentEvents() {
|
|
45
|
+
this._bindEvents(this.events), this._bindEvents(this.config.events, ".user");
|
|
46
|
+
}
|
|
47
|
+
_bindEvents(t = this.events, e = "") {
|
|
48
|
+
Object.keys(t).forEach((i) => {
|
|
49
|
+
Object.keys(t[i]).forEach((s) => {
|
|
50
|
+
const r = this.g.selectAll(`.${i}`);
|
|
51
|
+
r.on(s + e, (h, c) => {
|
|
52
|
+
const d = r.nodes(), f = d.indexOf(h.currentTarget), n = t[i][s];
|
|
53
|
+
return n == null ? void 0 : n(c, h, f, d);
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
destroy() {
|
|
59
|
+
var t;
|
|
60
|
+
(t = this.g) === null || t === void 0 || t.remove(), this.element = void 0;
|
|
61
|
+
}
|
|
62
|
+
isDestroyed() {
|
|
63
|
+
return !this.element;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
w as ComponentCore
|
|
68
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../types/component.cjs"),n={duration:void 0,margin:{top:0,bottom:0,left:0,right:0},padding:{top:0,bottom:0,left:0,right:0},sizing:e.Sizing.Fit,width:void 0,height:void 0,svgDefs:void 0,ariaLabel:void 0};exports.ContainerDefaultConfig=n;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Sizing as i } from "../../types/component.js";
|
|
2
|
+
const t = {
|
|
3
|
+
duration: void 0,
|
|
4
|
+
margin: {
|
|
5
|
+
top: 0,
|
|
6
|
+
bottom: 0,
|
|
7
|
+
left: 0,
|
|
8
|
+
right: 0
|
|
9
|
+
},
|
|
10
|
+
padding: {
|
|
11
|
+
top: 0,
|
|
12
|
+
bottom: 0,
|
|
13
|
+
left: 0,
|
|
14
|
+
right: 0
|
|
15
|
+
},
|
|
16
|
+
sizing: i.Fit,
|
|
17
|
+
width: void 0,
|
|
18
|
+
height: void 0,
|
|
19
|
+
svgDefs: void 0,
|
|
20
|
+
ariaLabel: void 0
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
t as ContainerDefaultConfig
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../types/component.cjs"),r=require("../../utils/data.cjs"),c=require("../../utils/resize-observer.cjs"),d=require("./config.cjs"),o=require("../../../../d3-selection/src/select.cjs");class t{constructor(e){this._defaultConfig=d.ContainerDefaultConfig,this._isFirstRender=!0,this._renderAnimationFrameId=null,this._container=e;const i=o.default(this._container);i.attr("role","figure"),this.svg=i.append("svg").style("display","block").attr("xmlns","http://www.w3.org/2000/svg").attr("height",t.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden",!0),this._svgDefs=this.svg.append("defs"),this._svgDefsExternal=this.svg.append("defs"),this.element=this.svg.node()}updateContainer(e){var i;this.prevConfig=this.config,this.config=r.merge(this._defaultConfig,e),(e==null?void 0:e.svgDefs)!==((i=this.prevConfig)===null||i===void 0?void 0:i.svgDefs)&&(this._svgDefsExternal.selectAll("*").remove(),this._svgDefsExternal.html(e.svgDefs))}_preRender(){}_render(e){const{config:i}=this;o.default(this._container).attr("aria-label",i.ariaLabel),this._isFirstRender=!1}render(e=this.config.duration){const i=this.config.width||this.containerWidth,s=this.config.height||this.containerHeight;this.svg.attr("width",i).attr("height",s),this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}get containerWidth(){return this.config.width?this.element.clientWidth:this._container.clientWidth||this._container.getBoundingClientRect().width}get containerHeight(){return this.config.height?this.element.clientHeight:this._container.clientHeight||this._container.getBoundingClientRect().height||t.DEFAULT_CONTAINER_HEIGHT}get width(){return r.clamp(this.containerWidth-this.config.margin.left-this.config.margin.right,0,Number.POSITIVE_INFINITY)}get height(){return r.clamp(this.containerHeight-this.config.margin.top-this.config.margin.bottom,0,Number.POSITIVE_INFINITY)}_removeAllChildren(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild)}_onResize(){const{config:e}=this;(e.sizing===a.Sizing.Fit||e.sizing===a.Sizing.FitWidth)&&this.render(0)}_setUpResizeObserver(){if(this._resizeObserver)return;const e=this._container.getBoundingClientRect();this._containerSize={width:e.width,height:e.height},this._resizeObserver=new c.ResizeObserver((i,s)=>{cancelAnimationFrame(this._resizeObserverAnimationFrameId),this._resizeObserverAnimationFrameId=requestAnimationFrame(()=>{const h=this._container.getBoundingClientRect(),n={width:h.width,height:h.height};!r.isEqual(this._containerSize,n)&&n.width&&n.height&&(this._containerSize=n,this._onResize())})}),this._resizeObserver.observe(this._container)}destroy(){var e;cancelAnimationFrame(this._renderAnimationFrameId),cancelAnimationFrame(this._resizeObserverAnimationFrameId),(e=this._resizeObserver)===null||e===void 0||e.disconnect(),this.svg.remove()}}t.DEFAULT_CONTAINER_HEIGHT=300;exports.ContainerCore=t;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Sizing as h } from "../../types/component.js";
|
|
2
|
+
import { merge as d, clamp as o, isEqual as g } from "../../utils/data.js";
|
|
3
|
+
import { ResizeObserver as c } from "../../utils/resize-observer.js";
|
|
4
|
+
import { ContainerDefaultConfig as l } from "./config.js";
|
|
5
|
+
import a from "../../../../d3-selection/src/select.js";
|
|
6
|
+
class n {
|
|
7
|
+
constructor(e) {
|
|
8
|
+
this._defaultConfig = l, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = e;
|
|
9
|
+
const i = a(this._container);
|
|
10
|
+
i.attr("role", "figure"), this.svg = i.append("svg").style("display", "block").attr("xmlns", "http://www.w3.org/2000/svg").attr("height", n.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden", !0), this._svgDefs = this.svg.append("defs"), this._svgDefsExternal = this.svg.append("defs"), this.element = this.svg.node();
|
|
11
|
+
}
|
|
12
|
+
updateContainer(e) {
|
|
13
|
+
var i;
|
|
14
|
+
this.prevConfig = this.config, this.config = d(this._defaultConfig, e), (e == null ? void 0 : e.svgDefs) !== ((i = this.prevConfig) === null || i === void 0 ? void 0 : i.svgDefs) && (this._svgDefsExternal.selectAll("*").remove(), this._svgDefsExternal.html(e.svgDefs));
|
|
15
|
+
}
|
|
16
|
+
// The `_preRender` step should be used to perform some actions before rendering.
|
|
17
|
+
// For example, calculating scales, setting component sizes, etc ...
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
19
|
+
_preRender() {
|
|
20
|
+
}
|
|
21
|
+
// The `_render` step should be used to perform the actual rendering
|
|
22
|
+
_render(e) {
|
|
23
|
+
const { config: i } = this;
|
|
24
|
+
a(this._container).attr("aria-label", i.ariaLabel), this._isFirstRender = !1;
|
|
25
|
+
}
|
|
26
|
+
// Warning: Some Containers (i.e. Single Container) may override this method, so if you introduce any changes here,
|
|
27
|
+
// make sure to check that other containers didn't break after them.
|
|
28
|
+
render(e = this.config.duration) {
|
|
29
|
+
const i = this.config.width || this.containerWidth, r = this.config.height || this.containerHeight;
|
|
30
|
+
this.svg.attr("width", i).attr("height", r), this._resizeObserver || this._setUpResizeObserver(), cancelAnimationFrame(this._renderAnimationFrameId), this._renderAnimationFrameId = requestAnimationFrame(() => {
|
|
31
|
+
this._preRender(), this._render(e);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
get containerWidth() {
|
|
35
|
+
return this.config.width ? this.element.clientWidth : this._container.clientWidth || this._container.getBoundingClientRect().width;
|
|
36
|
+
}
|
|
37
|
+
get containerHeight() {
|
|
38
|
+
return this.config.height ? this.element.clientHeight : this._container.clientHeight || this._container.getBoundingClientRect().height || n.DEFAULT_CONTAINER_HEIGHT;
|
|
39
|
+
}
|
|
40
|
+
get width() {
|
|
41
|
+
return o(this.containerWidth - this.config.margin.left - this.config.margin.right, 0, Number.POSITIVE_INFINITY);
|
|
42
|
+
}
|
|
43
|
+
get height() {
|
|
44
|
+
return o(this.containerHeight - this.config.margin.top - this.config.margin.bottom, 0, Number.POSITIVE_INFINITY);
|
|
45
|
+
}
|
|
46
|
+
_removeAllChildren() {
|
|
47
|
+
for (; this.element.firstChild; )
|
|
48
|
+
this.element.removeChild(this.element.firstChild);
|
|
49
|
+
}
|
|
50
|
+
_onResize() {
|
|
51
|
+
const { config: e } = this;
|
|
52
|
+
(e.sizing === h.Fit || e.sizing === h.FitWidth) && this.render(0);
|
|
53
|
+
}
|
|
54
|
+
_setUpResizeObserver() {
|
|
55
|
+
if (this._resizeObserver)
|
|
56
|
+
return;
|
|
57
|
+
const e = this._container.getBoundingClientRect();
|
|
58
|
+
this._containerSize = { width: e.width, height: e.height }, this._resizeObserver = new c((i, r) => {
|
|
59
|
+
cancelAnimationFrame(this._resizeObserverAnimationFrameId), this._resizeObserverAnimationFrameId = requestAnimationFrame(() => {
|
|
60
|
+
const s = this._container.getBoundingClientRect(), t = { width: s.width, height: s.height };
|
|
61
|
+
!g(this._containerSize, t) && t.width && t.height && (this._containerSize = t, this._onResize());
|
|
62
|
+
});
|
|
63
|
+
}), this._resizeObserver.observe(this._container);
|
|
64
|
+
}
|
|
65
|
+
destroy() {
|
|
66
|
+
var e;
|
|
67
|
+
cancelAnimationFrame(this._renderAnimationFrameId), cancelAnimationFrame(this._resizeObserverAnimationFrameId), (e = this._resizeObserver) === null || e === void 0 || e.disconnect(), this.svg.remove();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
n.DEFAULT_CONTAINER_HEIGHT = 300;
|
|
71
|
+
export {
|
|
72
|
+
n as ContainerCore
|
|
73
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../component/config.cjs"),t=Object.assign(Object.assign({},i.ComponentDefaultConfig),{x:void 0,y:void 0,id:(e,o)=>{var n;return(n=e.id)!==null&&n!==void 0?n:`${o}`},color:e=>e.color,xScale:void 0,yScale:void 0,excludeFromDomainCalculation:!1});exports.XYComponentDefaultConfig=t;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDefaultConfig as i } from "../component/config.js";
|
|
2
|
+
const d = Object.assign(Object.assign({}, i), { x: void 0, y: void 0, id: (e, o) => {
|
|
3
|
+
var n;
|
|
4
|
+
return (n = e.id) !== null && n !== void 0 ? n : `${o}`;
|
|
5
|
+
}, color: (e) => e.color, xScale: void 0, yScale: void 0, excludeFromDomainCalculation: !1 });
|
|
6
|
+
export {
|
|
7
|
+
d as XYComponentDefaultConfig
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../component/index.cjs"),l=require("../../data-models/series.cjs"),s=require("../../utils/data.cjs"),n=require("../../types/scale.cjs"),r=require("./config.cjs");class S extends o.ComponentCore{constructor(){super(...arguments),this.datamodel=new l.SeriesDataModel,this.clippable=!0,this.stacked=!1,this._defaultConfig=r.XYComponentDefaultConfig,this._xScale=n.Scale.scaleLinear(),this._yScale=n.Scale.scaleLinear()}get xScale(){return this.config.xScale||this._xScale}get yScale(){return this.config.yScale||this._yScale}setConfig(t){var e,a;!((e=this.config)===null||e===void 0)&&e.xScale&&(t.xScale=this.config.xScale),!((a=this.config)===null||a===void 0)&&a.yScale&&(t.yScale=this.config.yScale),super.setConfig(t)}setScaleDomain(t,e){var a,i;t===n.ScaleDimension.X&&((a=this._xScale)===null||a===void 0||a.domain(e)),t===n.ScaleDimension.Y&&((i=this._yScale)===null||i===void 0||i.domain(e))}setScaleRange(t,e){var a,i;t===n.ScaleDimension.X&&((a=this._xScale)===null||a===void 0||a.range(e)),t===n.ScaleDimension.Y&&((i=this._yScale)===null||i===void 0||i.range(e))}setScale(t,e){e&&t===n.ScaleDimension.X&&(this._xScale=e),e&&t===n.ScaleDimension.Y&&(this._yScale=e)}getDataExtent(t,e){const{config:a,datamodel:i}=this;switch(t){case n.ScaleDimension.X:return this.getXDataExtent();case n.ScaleDimension.Y:return this.getYDataExtent(e);default:return s.getExtent(i.data,a[t])}}getXDataExtent(){const{config:t,datamodel:e}=this;return s.getExtent(e.data,t.x)}getYDataExtent(t){const{config:e,datamodel:a}=this,i=t?s.filterDataByRange(a.data,this.xScale.domain(),e.x):a.data,c=s.isArray(e.y)?e.y:[e.y];return s.getExtent(i,...c)}}exports.XYComponentCore=S;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ComponentCore as n } from "../component/index.js";
|
|
2
|
+
import { SeriesDataModel as r } from "../../data-models/series.js";
|
|
3
|
+
import { getExtent as l, filterDataByRange as f, isArray as d } from "../../utils/data.js";
|
|
4
|
+
import { Scale as s, ScaleDimension as o } from "../../types/scale.js";
|
|
5
|
+
import { XYComponentDefaultConfig as h } from "./config.js";
|
|
6
|
+
class y extends n {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments), this.datamodel = new r(), this.clippable = !0, this.stacked = !1, this._defaultConfig = h, this._xScale = s.scaleLinear(), this._yScale = s.scaleLinear();
|
|
9
|
+
}
|
|
10
|
+
get xScale() {
|
|
11
|
+
return this.config.xScale || this._xScale;
|
|
12
|
+
}
|
|
13
|
+
get yScale() {
|
|
14
|
+
return this.config.yScale || this._yScale;
|
|
15
|
+
}
|
|
16
|
+
setConfig(e) {
|
|
17
|
+
var t, a;
|
|
18
|
+
!((t = this.config) === null || t === void 0) && t.xScale && (e.xScale = this.config.xScale), !((a = this.config) === null || a === void 0) && a.yScale && (e.yScale = this.config.yScale), super.setConfig(e);
|
|
19
|
+
}
|
|
20
|
+
setScaleDomain(e, t) {
|
|
21
|
+
var a, i;
|
|
22
|
+
e === o.X && ((a = this._xScale) === null || a === void 0 || a.domain(t)), e === o.Y && ((i = this._yScale) === null || i === void 0 || i.domain(t));
|
|
23
|
+
}
|
|
24
|
+
setScaleRange(e, t) {
|
|
25
|
+
var a, i;
|
|
26
|
+
e === o.X && ((a = this._xScale) === null || a === void 0 || a.range(t)), e === o.Y && ((i = this._yScale) === null || i === void 0 || i.range(t));
|
|
27
|
+
}
|
|
28
|
+
setScale(e, t) {
|
|
29
|
+
t && e === o.X && (this._xScale = t), t && e === o.Y && (this._yScale = t);
|
|
30
|
+
}
|
|
31
|
+
getDataExtent(e, t) {
|
|
32
|
+
const { config: a, datamodel: i } = this;
|
|
33
|
+
switch (e) {
|
|
34
|
+
case o.X:
|
|
35
|
+
return this.getXDataExtent();
|
|
36
|
+
case o.Y:
|
|
37
|
+
return this.getYDataExtent(t);
|
|
38
|
+
default:
|
|
39
|
+
return l(i.data, a[e]);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
getXDataExtent() {
|
|
43
|
+
const { config: e, datamodel: t } = this;
|
|
44
|
+
return l(t.data, e.x);
|
|
45
|
+
}
|
|
46
|
+
getYDataExtent(e) {
|
|
47
|
+
const { config: t, datamodel: a } = this, i = e ? f(a.data, this.xScale.domain(), t.x) : a.data, c = d(t.y) ? t.y : [t.y];
|
|
48
|
+
return l(i, ...c);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
y as XYComponentCore
|
|
53
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class a{constructor(t){this.data=t}get data(){return this._data}set data(t){this._data=t}}exports.CoreDataModel=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./core.cjs");class r extends t.CoreDataModel{constructor(e){super(e)}get data(){var e;return(e=this._data)!==null&&e!==void 0?e:[]}set data(e){Array.isArray(e)&&(this._data=e)}}exports.SeriesDataModel=r;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CoreDataModel as r } from "./core.js";
|
|
2
|
+
class s extends r {
|
|
3
|
+
constructor(a) {
|
|
4
|
+
super(a);
|
|
5
|
+
}
|
|
6
|
+
get data() {
|
|
7
|
+
var a;
|
|
8
|
+
return (a = this._data) !== null && a !== void 0 ? a : [];
|
|
9
|
+
}
|
|
10
|
+
set data(a) {
|
|
11
|
+
Array.isArray(a) && (this._data = a);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
s as SeriesDataModel
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../utils/data.cjs"),t=require("../../../d3-color/src/color.cjs"),s=(globalThis==null?void 0:globalThis.UNOVIS_COLORS)||["#4D8CFD","#FF6B7E","#F4B83E","#A6CC74","#00C19A","#6859BE"],a=(globalThis==null?void 0:globalThis.UNOVIS_COLORS_DARK)||["#4D8CFD","#FF6B7E","#FFC16D","#A6CC74","#00C19A","#7887E0"],c=o=>`--vis-${i.isNumber(o)?`color${o%s.length}`:o}`;function n(o,e=.4){const l=t.hsl(o);return l.l=l.l*(1+e),l.formatHex()}function C(o,e=.4,l=.6){const r=t.hsl(o);return r.s=r.s*(1-l),r.l=r.l*(1-e),r.formatHex()}exports.colors=s;exports.colorsDark=a;exports.getCSSColorVariable=c;exports.getDarkerColor=C;exports.getLighterColor=n;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { isNumber as s } from "../utils/data.js";
|
|
2
|
+
import { hsl as i } from "../../../d3-color/src/color.js";
|
|
3
|
+
const n = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS) || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], a = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS_DARK) || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], c = (o) => `--vis-${s(o) ? `color${o % n.length}` : o}`;
|
|
4
|
+
function g(o, t = 0.4) {
|
|
5
|
+
const l = i(o);
|
|
6
|
+
return l.l = l.l * (1 + t), l.formatHex();
|
|
7
|
+
}
|
|
8
|
+
function h(o, t = 0.4, l = 0.6) {
|
|
9
|
+
const r = i(o);
|
|
10
|
+
return r.s = r.s * (1 - l), r.l = r.l * (1 - t), r.formatHex();
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
n as colors,
|
|
14
|
+
a as colorsDark,
|
|
15
|
+
c as getCSSColorVariable,
|
|
16
|
+
h as getDarkerColor,
|
|
17
|
+
g as getLighterColor
|
|
18
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../@emotion/css/dist/emotion-css.esm.cjs"),s=require("../utils/misc.cjs"),r=require("./colors.cjs"),l=require("./patterns.cjs"),e=(globalThis==null?void 0:globalThis.UNOVIS_FONT_W2H_RATIO_DEFAULT)||.5,n=(globalThis==null?void 0:globalThis.UNOVIS_TEXT_SEPARATOR_DEFAULT)||[" ","-",".",","],T=(globalThis==null?void 0:globalThis.UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT)||"-",v=(globalThis==null?void 0:globalThis.UNOVIS_TEXT_DEFAULT)||{text:"",fontSize:12,fontFamily:"var(--vis-font-family)",lineHeight:1.25,marginTop:0,marginBottom:0};i.injectGlobal`
|
|
2
|
+
:root {
|
|
3
|
+
label: vis-root-styles;
|
|
4
|
+
--vis-font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
5
|
+
--vis-font-wh-ratio: ${e};
|
|
6
|
+
--vis-color-main: var(${r.getCSSColorVariable(0)});
|
|
7
|
+
--vis-color-main-light: ${r.getLighterColor(r.colors[0])};
|
|
8
|
+
--vis-color-main-dark: ${r.getDarkerColor(r.colors[0])};
|
|
9
|
+
--vis-color-grey: #2a2a2a;
|
|
10
|
+
${r.colors.map((o,a)=>`${r.getCSSColorVariable(a)}: ${o};`)}
|
|
11
|
+
${r.colorsDark.map((o,a)=>`--vis-dark-color${a}: ${o};`)}
|
|
12
|
+
${l.fills.map((o,a)=>`
|
|
13
|
+
--${l.getPatternVariable(o)}: url(#${l.getPatternVariable(o)});
|
|
14
|
+
--vis-pattern-fill${a}: var(--${l.getPatternVariable(o)});
|
|
15
|
+
`)}
|
|
16
|
+
${l.lines.map((o,a)=>{var t;return`
|
|
17
|
+
--${l.getPatternVariable(o)}: url(#${l.getPatternVariable(o)});
|
|
18
|
+
--vis-pattern-marker${a}: var(--${l.getPatternVariable(o)});
|
|
19
|
+
--vis-pattern-dasharray${a}: ${(t=o.dashArray)===null||t===void 0?void 0:t.join(" ")};
|
|
20
|
+
`})}
|
|
21
|
+
|
|
22
|
+
body.theme-dark {
|
|
23
|
+
${r.colors.map((o,a)=>`${r.getCSSColorVariable(a)}: var(--vis-dark-color${a});`)}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
body.theme-patterns {
|
|
27
|
+
${l.fills.map((o,a)=>`path[style*="fill: var(${r.getCSSColorVariable(a)})"] {
|
|
28
|
+
mask: var(--vis-pattern-fill${a});
|
|
29
|
+
}`)}
|
|
30
|
+
${l.lines.map((o,a)=>`
|
|
31
|
+
path[stroke="var(${r.getCSSColorVariable(a)})"]:not([style*="fill"]),
|
|
32
|
+
path[style*="stroke: var(${r.getCSSColorVariable(a)})"]:not([style*="fill"]) {
|
|
33
|
+
marker: var(--vis-pattern-marker${a});
|
|
34
|
+
stroke-dasharray: var(--vis-pattern-dasharray${a});
|
|
35
|
+
}
|
|
36
|
+
`)}
|
|
37
|
+
}
|
|
38
|
+
`;function _(o=window==null?void 0:window.document.body){return o?+s.getCSSVariableValue("var(--vis-font-wh-ratio)",o):e}exports.UNOVIS_FONT_WH_RATIO_DEFAULT=e;exports.UNOVIS_TEXT_DEFAULT=v;exports.UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT=T;exports.UNOVIS_TEXT_SEPARATOR_DEFAULT=n;exports.getFontWidthToHeightRatio=_;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { injectGlobal as v } from "../../../@emotion/css/dist/emotion-css.esm.js";
|
|
2
|
+
import { getCSSVariableValue as T } from "../utils/misc.js";
|
|
3
|
+
import { getCSSColorVariable as r, getLighterColor as $, getDarkerColor as m, colors as i, colorsDark as _ } from "./colors.js";
|
|
4
|
+
import { fills as e, lines as s, getPatternVariable as l } from "./patterns.js";
|
|
5
|
+
const n = (globalThis == null ? void 0 : globalThis.UNOVIS_FONT_W2H_RATIO_DEFAULT) || 0.5, f = (globalThis == null ? void 0 : globalThis.UNOVIS_TEXT_SEPARATOR_DEFAULT) || [" ", "-", ".", ","], A = (globalThis == null ? void 0 : globalThis.UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT) || "-", E = (globalThis == null ? void 0 : globalThis.UNOVIS_TEXT_DEFAULT) || {
|
|
6
|
+
text: "",
|
|
7
|
+
fontSize: 12,
|
|
8
|
+
fontFamily: "var(--vis-font-family)",
|
|
9
|
+
lineHeight: 1.25,
|
|
10
|
+
marginTop: 0,
|
|
11
|
+
marginBottom: 0
|
|
12
|
+
};
|
|
13
|
+
v`
|
|
14
|
+
:root {
|
|
15
|
+
label: vis-root-styles;
|
|
16
|
+
--vis-font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
|
|
17
|
+
--vis-font-wh-ratio: ${n};
|
|
18
|
+
--vis-color-main: var(${r(0)});
|
|
19
|
+
--vis-color-main-light: ${$(i[0])};
|
|
20
|
+
--vis-color-main-dark: ${m(i[0])};
|
|
21
|
+
--vis-color-grey: #2a2a2a;
|
|
22
|
+
${i.map((o, a) => `${r(a)}: ${o};`)}
|
|
23
|
+
${_.map((o, a) => `--vis-dark-color${a}: ${o};`)}
|
|
24
|
+
${e.map((o, a) => `
|
|
25
|
+
--${l(o)}: url(#${l(o)});
|
|
26
|
+
--vis-pattern-fill${a}: var(--${l(o)});
|
|
27
|
+
`)}
|
|
28
|
+
${s.map((o, a) => {
|
|
29
|
+
var t;
|
|
30
|
+
return `
|
|
31
|
+
--${l(o)}: url(#${l(o)});
|
|
32
|
+
--vis-pattern-marker${a}: var(--${l(o)});
|
|
33
|
+
--vis-pattern-dasharray${a}: ${(t = o.dashArray) === null || t === void 0 ? void 0 : t.join(" ")};
|
|
34
|
+
`;
|
|
35
|
+
})}
|
|
36
|
+
|
|
37
|
+
body.theme-dark {
|
|
38
|
+
${i.map((o, a) => `${r(a)}: var(--vis-dark-color${a});`)}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
body.theme-patterns {
|
|
42
|
+
${e.map((o, a) => `path[style*="fill: var(${r(a)})"] {
|
|
43
|
+
mask: var(--vis-pattern-fill${a});
|
|
44
|
+
}`)}
|
|
45
|
+
${s.map((o, a) => `
|
|
46
|
+
path[stroke="var(${r(a)})"]:not([style*="fill"]),
|
|
47
|
+
path[style*="stroke: var(${r(a)})"]:not([style*="fill"]) {
|
|
48
|
+
marker: var(--vis-pattern-marker${a});
|
|
49
|
+
stroke-dasharray: var(--vis-pattern-dasharray${a});
|
|
50
|
+
}
|
|
51
|
+
`)}
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
54
|
+
function p(o = window == null ? void 0 : window.document.body) {
|
|
55
|
+
return o ? +T("var(--vis-font-wh-ratio)", o) : n;
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
n as UNOVIS_FONT_WH_RATIO_DEFAULT,
|
|
59
|
+
E as UNOVIS_TEXT_DEFAULT,
|
|
60
|
+
A as UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT,
|
|
61
|
+
f as UNOVIS_TEXT_SEPARATOR_DEFAULT,
|
|
62
|
+
p as getFontWidthToHeightRatio
|
|
63
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./colors.cjs"),t=10,a=[{id:"stripes-diagonal",svg:'<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>'},{id:"dots",svg:'<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>'},{id:"stripes-vertical",svg:'<path d="M 5,-1 L5,11" stroke="#000"/>'},{id:"crosshatch",svg:'<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>'},{id:"waves",svg:'<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>'},{id:"circles",svg:'<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>'}],s=[{id:"circle",marker:'<circle cx="5" cy="5" r="5"/>',dashArray:[]},{id:"triangle",marker:'<path d="M5,0 L10,9 L0,9Z">',dashArray:[9,1]},{id:"diamond",marker:'<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">',dashArray:[2]},{id:"arrow",marker:'<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">',dashArray:[2,3,8,3]},{id:"square",marker:'<rect x="1" y="1" width="8" height="8"/>',dashArray:[6]},{id:"star",marker:'<path d="m2 9 3-9 3 9L0 3h10Z"/>',dashArray:[1,6]}];function i(e){return`vis-${`pattern-${e.svg?"fill":"marker"}`}-${e.id}`}const n=e=>`<mask id="${i(e)}">
|
|
2
|
+
<pattern id="${e.id}" viewBox="0 0 10 10" width="${t}" height="${t}" patternUnits="userSpaceOnUse">
|
|
3
|
+
<rect width="100%" height="100%" fill="#fff"/>
|
|
4
|
+
${e.svg}
|
|
5
|
+
</pattern>
|
|
6
|
+
<rect x="-50%" y="-50%" width="200%" height="200%" fill="url(#${e.id})"/>
|
|
7
|
+
</mask>`,l=(e,r)=>`<marker id="${i(e)}"
|
|
8
|
+
fill="var(${d.getCSSColorVariable(r)})"
|
|
9
|
+
markerUnits="userSpaceOnUse"
|
|
10
|
+
refX="5"
|
|
11
|
+
refY="5"
|
|
12
|
+
markerWidth="${t}"
|
|
13
|
+
markerHeight="${t}">
|
|
14
|
+
${e.marker}
|
|
15
|
+
</marker>`;function c(){const e=a.map(n).concat(s.map(l)).join(""),r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("height","100%"),r.setAttribute("width","100%"),r.style.position="fixed",r.style.zIndex="-99999999",r.innerHTML=`<defs>${e}</defs>`,document.body.appendChild(r)}typeof window<"u"&&c();exports.PATTERN_SIZE_PX=t;exports.fills=a;exports.getPatternVariable=i;exports.lines=s;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { getCSSColorVariable as i } from "./colors.js";
|
|
2
|
+
const t = 10, s = [
|
|
3
|
+
{ id: "stripes-diagonal", svg: '<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>' },
|
|
4
|
+
{ id: "dots", svg: '<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>' },
|
|
5
|
+
{ id: "stripes-vertical", svg: '<path d="M 5,-1 L5,11" stroke="#000"/>' },
|
|
6
|
+
{ id: "crosshatch", svg: '<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>' },
|
|
7
|
+
{ id: "waves", svg: '<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>' },
|
|
8
|
+
{ id: "circles", svg: '<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>' }
|
|
9
|
+
], d = [
|
|
10
|
+
{ id: "circle", marker: '<circle cx="5" cy="5" r="5"/>', dashArray: [] },
|
|
11
|
+
{ id: "triangle", marker: '<path d="M5,0 L10,9 L0,9Z">', dashArray: [9, 1] },
|
|
12
|
+
{ id: "diamond", marker: '<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">', dashArray: [2] },
|
|
13
|
+
{ id: "arrow", marker: '<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">', dashArray: [2, 3, 8, 3] },
|
|
14
|
+
{ id: "square", marker: '<rect x="1" y="1" width="8" height="8"/>', dashArray: [6] },
|
|
15
|
+
{ id: "star", marker: '<path d="m2 9 3-9 3 9L0 3h10Z"/>', dashArray: [1, 6] }
|
|
16
|
+
];
|
|
17
|
+
function a(r) {
|
|
18
|
+
return `vis-${`pattern-${r.svg ? "fill" : "marker"}`}-${r.id}`;
|
|
19
|
+
}
|
|
20
|
+
const n = (r) => `<mask id="${a(r)}">
|
|
21
|
+
<pattern id="${r.id}" viewBox="0 0 10 10" width="${t}" height="${t}" patternUnits="userSpaceOnUse">
|
|
22
|
+
<rect width="100%" height="100%" fill="#fff"/>
|
|
23
|
+
${r.svg}
|
|
24
|
+
</pattern>
|
|
25
|
+
<rect x="-50%" y="-50%" width="200%" height="200%" fill="url(#${r.id})"/>
|
|
26
|
+
</mask>`, h = (r, e) => `<marker id="${a(r)}"
|
|
27
|
+
fill="var(${i(e)})"
|
|
28
|
+
markerUnits="userSpaceOnUse"
|
|
29
|
+
refX="5"
|
|
30
|
+
refY="5"
|
|
31
|
+
markerWidth="${t}"
|
|
32
|
+
markerHeight="${t}">
|
|
33
|
+
${r.marker}
|
|
34
|
+
</marker>`;
|
|
35
|
+
function c() {
|
|
36
|
+
const r = s.map(n).concat(d.map(h)).join(""), e = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
37
|
+
e.setAttribute("height", "100%"), e.setAttribute("width", "100%"), e.style.position = "fixed", e.style.zIndex = "-99999999", e.innerHTML = `<defs>${r}</defs>`, document.body.appendChild(e);
|
|
38
|
+
}
|
|
39
|
+
typeof window < "u" && c();
|
|
40
|
+
export {
|
|
41
|
+
t as PATTERN_SIZE_PX,
|
|
42
|
+
s as fills,
|
|
43
|
+
a as getPatternVariable,
|
|
44
|
+
d as lines
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.ComponentType=void 0;(function(t){t[t.SVG=0]="SVG",t[t.HTML=1]="HTML"})(exports.ComponentType||(exports.ComponentType={}));exports.Sizing=void 0;(function(t){t.Fit="fit",t.Extend="extend",t.FitWidth="fit_width"})(exports.Sizing||(exports.Sizing={}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var i;
|
|
2
|
+
(function(t) {
|
|
3
|
+
t[t.SVG = 0] = "SVG", t[t.HTML = 1] = "HTML";
|
|
4
|
+
})(i || (i = {}));
|
|
5
|
+
var d;
|
|
6
|
+
(function(t) {
|
|
7
|
+
t.Fit = "fit", t.Extend = "extend", t.FitWidth = "fit_width";
|
|
8
|
+
})(d || (d = {}));
|
|
9
|
+
export {
|
|
10
|
+
i as ComponentType,
|
|
11
|
+
d as Sizing
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../d3-shape/src/curve/step.cjs"),a=require("../../../d3-shape/src/curve/natural.cjs"),o=require("../../../d3-shape/src/curve/monotone.cjs"),t=require("../../../d3-shape/src/curve/linearClosed.cjs"),n=require("../../../d3-shape/src/curve/linear.cjs"),r=require("../../../d3-shape/src/curve/catmullRomOpen.cjs"),s=require("../../../d3-shape/src/curve/catmullRomClosed.cjs"),u=require("../../../d3-shape/src/curve/catmullRom.cjs"),i=require("../../../d3-shape/src/curve/cardinalOpen.cjs"),d=require("../../../d3-shape/src/curve/cardinalClosed.cjs"),C=require("../../../d3-shape/src/curve/cardinal.cjs"),c=require("../../../d3-shape/src/curve/bundle.cjs"),m=require("../../../d3-shape/src/curve/basisOpen.cjs"),p=require("../../../d3-shape/src/curve/basisClosed.cjs"),f=require("../../../d3-shape/src/curve/basis.cjs");exports.CurveType=void 0;(function(e){e.Basis="basis",e.BasisClosed="basisClosed",e.BasisOpen="basisOpen",e.Bundle="bundle",e.Cardinal="cardinal",e.CardinalClosed="cardinalClosed",e.CardinalOpen="cardinalOpen",e.CatmullRom="catmullRom",e.CatmullRomClosed="catmullRomClosed",e.CatmullRomOpen="catmullRomOpen",e.Linear="linear",e.LinearClosed="linearClosed",e.MonotoneX="monotoneX",e.MonotoneY="monotoneY",e.Natural="natural",e.Step="step",e.StepAfter="stepAfter",e.StepBefore="stepBefore"})(exports.CurveType||(exports.CurveType={}));const q={[exports.CurveType.Basis]:f.default,[exports.CurveType.BasisClosed]:p.default,[exports.CurveType.BasisOpen]:m.default,[exports.CurveType.Bundle]:c.default,[exports.CurveType.Cardinal]:C.default,[exports.CurveType.CardinalClosed]:d.default,[exports.CurveType.CardinalOpen]:i.default,[exports.CurveType.CatmullRom]:u.default,[exports.CurveType.CatmullRomClosed]:s.default,[exports.CurveType.CatmullRomOpen]:r.default,[exports.CurveType.Linear]:n.default,[exports.CurveType.LinearClosed]:t.default,[exports.CurveType.MonotoneX]:o.monotoneX,[exports.CurveType.MonotoneY]:o.monotoneY,[exports.CurveType.Natural]:a.default,[exports.CurveType.Step]:l.default,[exports.CurveType.StepAfter]:l.stepAfter,[exports.CurveType.StepBefore]:l.stepBefore};exports.Curve=q;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import r, { stepBefore as l, stepAfter as m } from "../../../d3-shape/src/curve/step.js";
|
|
2
|
+
import t from "../../../d3-shape/src/curve/natural.js";
|
|
3
|
+
import { monotoneY as e, monotoneX as n } from "../../../d3-shape/src/curve/monotone.js";
|
|
4
|
+
import i from "../../../d3-shape/src/curve/linearClosed.js";
|
|
5
|
+
import s from "../../../d3-shape/src/curve/linear.js";
|
|
6
|
+
import d from "../../../d3-shape/src/curve/catmullRomOpen.js";
|
|
7
|
+
import f from "../../../d3-shape/src/curve/catmullRomClosed.js";
|
|
8
|
+
import p from "../../../d3-shape/src/curve/catmullRom.js";
|
|
9
|
+
import c from "../../../d3-shape/src/curve/cardinalOpen.js";
|
|
10
|
+
import u from "../../../d3-shape/src/curve/cardinalClosed.js";
|
|
11
|
+
import C from "../../../d3-shape/src/curve/cardinal.js";
|
|
12
|
+
import B from "../../../d3-shape/src/curve/bundle.js";
|
|
13
|
+
import O from "../../../d3-shape/src/curve/basisOpen.js";
|
|
14
|
+
import R from "../../../d3-shape/src/curve/basisClosed.js";
|
|
15
|
+
import S from "../../../d3-shape/src/curve/basis.js";
|
|
16
|
+
var o;
|
|
17
|
+
(function(a) {
|
|
18
|
+
a.Basis = "basis", a.BasisClosed = "basisClosed", a.BasisOpen = "basisOpen", a.Bundle = "bundle", a.Cardinal = "cardinal", a.CardinalClosed = "cardinalClosed", a.CardinalOpen = "cardinalOpen", a.CatmullRom = "catmullRom", a.CatmullRomClosed = "catmullRomClosed", a.CatmullRomOpen = "catmullRomOpen", a.Linear = "linear", a.LinearClosed = "linearClosed", a.MonotoneX = "monotoneX", a.MonotoneY = "monotoneY", a.Natural = "natural", a.Step = "step", a.StepAfter = "stepAfter", a.StepBefore = "stepBefore";
|
|
19
|
+
})(o || (o = {}));
|
|
20
|
+
const z = {
|
|
21
|
+
[o.Basis]: S,
|
|
22
|
+
[o.BasisClosed]: R,
|
|
23
|
+
[o.BasisOpen]: O,
|
|
24
|
+
[o.Bundle]: B,
|
|
25
|
+
[o.Cardinal]: C,
|
|
26
|
+
[o.CardinalClosed]: u,
|
|
27
|
+
[o.CardinalOpen]: c,
|
|
28
|
+
[o.CatmullRom]: p,
|
|
29
|
+
[o.CatmullRomClosed]: f,
|
|
30
|
+
[o.CatmullRomOpen]: d,
|
|
31
|
+
[o.Linear]: s,
|
|
32
|
+
[o.LinearClosed]: i,
|
|
33
|
+
[o.MonotoneX]: n,
|
|
34
|
+
[o.MonotoneY]: e,
|
|
35
|
+
[o.Natural]: t,
|
|
36
|
+
[o.Step]: r,
|
|
37
|
+
[o.StepAfter]: m,
|
|
38
|
+
[o.StepBefore]: l
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
z as Curve,
|
|
42
|
+
o as CurveType
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.Direction=void 0;(function(t){t.West="west",t.East="east",t.North="north",t.South="south"})(exports.Direction||(exports.Direction={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.Position=void 0;(function(t){t.Top="top",t.Bottom="bottom",t.Left="left",t.Right="right",t.Center="center",t.Auto="auto"})(exports.Position||(exports.Position={}));exports.PositionStrategy=void 0;(function(t){t.Absolute="absolute",t.Fixed="fixed"})(exports.PositionStrategy||(exports.PositionStrategy={}));exports.Arrangement=void 0;(function(t){t.Inside="inside",t.Outside="outside"})(exports.Arrangement||(exports.Arrangement={}));exports.Orientation=void 0;(function(t){t.Horizontal="horizontal",t.Vertical="vertical"})(exports.Orientation||(exports.Orientation={}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var e;
|
|
2
|
+
(function(t) {
|
|
3
|
+
t.Top = "top", t.Bottom = "bottom", t.Left = "left", t.Right = "right", t.Center = "center", t.Auto = "auto";
|
|
4
|
+
})(e || (e = {}));
|
|
5
|
+
var o;
|
|
6
|
+
(function(t) {
|
|
7
|
+
t.Absolute = "absolute", t.Fixed = "fixed";
|
|
8
|
+
})(o || (o = {}));
|
|
9
|
+
var r;
|
|
10
|
+
(function(t) {
|
|
11
|
+
t.Inside = "inside", t.Outside = "outside";
|
|
12
|
+
})(r || (r = {}));
|
|
13
|
+
var a;
|
|
14
|
+
(function(t) {
|
|
15
|
+
t.Horizontal = "horizontal", t.Vertical = "vertical";
|
|
16
|
+
})(a || (a = {}));
|
|
17
|
+
export {
|
|
18
|
+
r as Arrangement,
|
|
19
|
+
a as Orientation,
|
|
20
|
+
e as Position,
|
|
21
|
+
o as PositionStrategy
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../d3-scale/src/linear.cjs"),t=require("../../../d3-scale/src/band.cjs"),i=require("../../../d3-scale/src/ordinal.cjs"),r=require("../../../d3-scale/src/threshold.cjs"),n=require("../../../d3-scale/src/quantile.cjs"),c=require("../../../d3-scale/src/quantize.cjs"),s=require("../../../d3-scale/src/diverging.cjs"),u=require("../../../d3-scale/src/sequential.cjs"),o=require("../../../d3-scale/src/utcTime.cjs"),d=require("../../../d3-scale/src/time.cjs"),q=require("../../../d3-scale/src/identity.cjs"),f=require("../../../d3-scale/src/symlog.cjs"),g=require("../../../d3-scale/src/log.cjs"),l=require("../../../d3-scale/src/pow.cjs"),S={scaleLinear:a.default,scalePow:l.default,scaleSqrt:l.sqrt,scaleLog:g.default,scaleSymlog:f.default,scaleIdentity:q.default,scaleTime:d.default,scaleUtc:o.default,scaleSequential:u.default,scaleDiverging:s.default,scaleQuantize:c.default,scaleQuantile:n.default,scaleThreshold:r.default,scaleOrdinal:i.default,scaleBand:t.default,scalePoint:t.point};exports.ScaleDimension=void 0;(function(e){e.X="x",e.Y="y"})(exports.ScaleDimension||(exports.ScaleDimension={}));exports.Scale=S;
|