vue-chrts 0.1.0-beta.2-internal-22 → 0.1.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/components/AreaChart/AreaChart.js +133 -0
- package/dist/components/{Area → AreaChart}/types.d.ts +10 -9
- package/dist/components/{AreaStacked → AreaStackedChart}/AreaStackedChart.js +21 -26
- package/dist/components/AreaStackedChart/types.d.ts +58 -0
- package/dist/components/BarChart/BarChart.js +123 -0
- package/dist/components/BarChart/BarChart.vue.d.ts +14 -0
- package/dist/components/BarChart/types.d.ts +106 -0
- package/dist/components/DonutChart/DonutChart.js +58 -0
- package/dist/components/{Donut → DonutChart}/DonutChart.vue.d.ts +1 -1
- package/dist/components/DonutChart/types.d.ts +36 -0
- package/dist/components/{Donut/index.js → DonutChart/types.js} +0 -1
- package/dist/components/LineChart/LineChart.js +112 -0
- package/dist/components/{Line → LineChart}/LineChart.vue.d.ts +2 -15
- package/dist/components/LineChart/types.d.ts +90 -0
- package/dist/components/Tooltip.vue.d.ts +1 -3
- package/dist/index.d.ts +8 -6
- package/dist/index.js +13 -9
- package/dist/types.d.ts +39 -2
- package/dist/types.js +4 -2
- package/package.json +4 -5
- package/dist/_virtual/_commonjsHelpers.cjs +0 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/browser.cjs +0 -1
- package/dist/_virtual/browser.js +0 -2
- package/dist/_virtual/striptags.cjs +0 -1
- package/dist/_virtual/striptags.js +0 -7
- package/dist/_virtual/striptags2.cjs +0 -1
- package/dist/_virtual/striptags2.js +0 -4
- package/dist/components/Area/AreaChart.cjs +0 -6
- package/dist/components/Area/AreaChart.js +0 -141
- package/dist/components/Area/AreaChart2.cjs +0 -1
- package/dist/components/Area/index.d.ts +0 -2
- package/dist/components/AreaStacked/AreaStackedChart.cjs +0 -1
- package/dist/components/AreaStacked/AreaStackedChart2.cjs +0 -1
- package/dist/components/AreaStacked/index.d.ts +0 -1
- package/dist/components/Bar/BarChart.cjs +0 -1
- package/dist/components/Bar/BarChart.js +0 -121
- package/dist/components/Bar/BarChart.vue.d.ts +0 -33
- package/dist/components/Bar/BarChart2.cjs +0 -1
- package/dist/components/Bar/index.d.ts +0 -1
- package/dist/components/Crosshair/Crosshair.vue.d.ts +0 -12
- package/dist/components/Crosshair/index.d.ts +0 -1
- package/dist/components/Donut/DonutChart.cjs +0 -5
- package/dist/components/Donut/DonutChart.js +0 -62
- package/dist/components/Donut/DonutChart2.cjs +0 -1
- package/dist/components/Donut/index.cjs +0 -1
- package/dist/components/Donut/index.d.ts +0 -17
- package/dist/components/Line/LineChart.cjs +0 -1
- package/dist/components/Line/LineChart.js +0 -97
- package/dist/components/Line/LineChart2.cjs +0 -1
- package/dist/components/Line/index.d.ts +0 -1
- package/dist/components/Tooltip.cjs +0 -1
- package/dist/components/Tooltip2.cjs +0 -1
- package/dist/index.cjs +0 -1
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs +0 -1
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -279
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.cjs +0 -1
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js +0 -86
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.cjs +0 -1
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.js +0 -8
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.cjs +0 -1
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -22
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs +0 -1
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -123
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.cjs +0 -1
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -44
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -53
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs +0 -1
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -29
- package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js +0 -15
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.js +0 -20
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.js +0 -31
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js +0 -7
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.js +0 -31
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js +0 -12
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js +0 -10
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js +0 -26
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js +0 -42
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js +0 -11
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js +0 -12
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/utils/element.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/element.js +0 -37
- package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.js +0 -6
- package/dist/node_modules/@juggle/resize-observer/lib/utils/global.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/global.js +0 -4
- package/dist/node_modules/@juggle/resize-observer/lib/utils/process.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/process.js +0 -14
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js +0 -18
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js +0 -9
- package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js +0 -4
- package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.cjs +0 -1
- package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.js +0 -70
- package/dist/node_modules/@unovis/ts/components/area/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/area/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/area/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/area/index.js +0 -52
- package/dist/node_modules/@unovis/ts/components/area/style.cjs +0 -35
- package/dist/node_modules/@unovis/ts/components/area/style.js +0 -41
- package/dist/node_modules/@unovis/ts/components/axis/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/axis/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/axis/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/axis/index.js +0 -287
- package/dist/node_modules/@unovis/ts/components/axis/style.cjs +0 -101
- package/dist/node_modules/@unovis/ts/components/axis/style.js +0 -114
- package/dist/node_modules/@unovis/ts/components/axis/types.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/axis/types.js +0 -7
- package/dist/node_modules/@unovis/ts/components/bullet-legend/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/bullet-legend/config.js +0 -18
- package/dist/node_modules/@unovis/ts/components/bullet-legend/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/bullet-legend/index.js +0 -36
- package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.js +0 -48
- package/dist/node_modules/@unovis/ts/components/bullet-legend/style.cjs +0 -63
- package/dist/node_modules/@unovis/ts/components/bullet-legend/style.js +0 -73
- package/dist/node_modules/@unovis/ts/components/bullet-legend/types.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/bullet-legend/types.js +0 -10
- package/dist/node_modules/@unovis/ts/components/crosshair/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/crosshair/config.js +0 -5
- package/dist/node_modules/@unovis/ts/components/crosshair/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/crosshair/index.js +0 -119
- package/dist/node_modules/@unovis/ts/components/crosshair/style.cjs +0 -22
- package/dist/node_modules/@unovis/ts/components/crosshair/style.js +0 -29
- package/dist/node_modules/@unovis/ts/components/donut/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/donut/config.js +0 -8
- package/dist/node_modules/@unovis/ts/components/donut/constants.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/donut/constants.js +0 -11
- package/dist/node_modules/@unovis/ts/components/donut/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/donut/index.js +0 -57
- package/dist/node_modules/@unovis/ts/components/donut/modules/arc.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/donut/modules/arc.js +0 -37
- package/dist/node_modules/@unovis/ts/components/donut/style.cjs +0 -58
- package/dist/node_modules/@unovis/ts/components/donut/style.js +0 -68
- package/dist/node_modules/@unovis/ts/components/grouped-bar/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/grouped-bar/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/grouped-bar/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/grouped-bar/index.js +0 -121
- package/dist/node_modules/@unovis/ts/components/grouped-bar/style.cjs +0 -35
- package/dist/node_modules/@unovis/ts/components/grouped-bar/style.js +0 -43
- package/dist/node_modules/@unovis/ts/components/line/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/line/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/line/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/line/index.js +0 -86
- package/dist/node_modules/@unovis/ts/components/line/style.cjs +0 -35
- package/dist/node_modules/@unovis/ts/components/line/style.js +0 -45
- package/dist/node_modules/@unovis/ts/components/stacked-bar/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/stacked-bar/config.js +0 -6
- package/dist/node_modules/@unovis/ts/components/stacked-bar/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/stacked-bar/index.js +0 -111
- package/dist/node_modules/@unovis/ts/components/stacked-bar/style.cjs +0 -34
- package/dist/node_modules/@unovis/ts/components/stacked-bar/style.js +0 -42
- package/dist/node_modules/@unovis/ts/components/tooltip/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/tooltip/config.js +0 -17
- package/dist/node_modules/@unovis/ts/components/tooltip/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/components/tooltip/index.js +0 -166
- package/dist/node_modules/@unovis/ts/components/tooltip/style.cjs +0 -61
- package/dist/node_modules/@unovis/ts/components/tooltip/style.js +0 -71
- package/dist/node_modules/@unovis/ts/containers/single-container/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/containers/single-container/config.js +0 -5
- package/dist/node_modules/@unovis/ts/containers/single-container/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/containers/single-container/index.js +0 -71
- package/dist/node_modules/@unovis/ts/containers/xy-container/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/containers/xy-container/config.js +0 -6
- package/dist/node_modules/@unovis/ts/containers/xy-container/index.cjs +0 -3
- package/dist/node_modules/@unovis/ts/containers/xy-container/index.js +0 -185
- package/dist/node_modules/@unovis/ts/core/component/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/component/config.js +0 -8
- package/dist/node_modules/@unovis/ts/core/component/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/component/index.js +0 -68
- package/dist/node_modules/@unovis/ts/core/container/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/container/config.js +0 -24
- package/dist/node_modules/@unovis/ts/core/container/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/container/index.js +0 -73
- package/dist/node_modules/@unovis/ts/core/xy-component/config.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/xy-component/config.js +0 -8
- package/dist/node_modules/@unovis/ts/core/xy-component/index.cjs +0 -1
- package/dist/node_modules/@unovis/ts/core/xy-component/index.js +0 -53
- package/dist/node_modules/@unovis/ts/data-models/core.cjs +0 -1
- package/dist/node_modules/@unovis/ts/data-models/core.js +0 -14
- package/dist/node_modules/@unovis/ts/data-models/series.cjs +0 -1
- package/dist/node_modules/@unovis/ts/data-models/series.js +0 -16
- package/dist/node_modules/@unovis/ts/styles/colors.cjs +0 -1
- package/dist/node_modules/@unovis/ts/styles/colors.js +0 -18
- package/dist/node_modules/@unovis/ts/styles/index.cjs +0 -38
- package/dist/node_modules/@unovis/ts/styles/index.js +0 -63
- package/dist/node_modules/@unovis/ts/styles/patterns.cjs +0 -15
- package/dist/node_modules/@unovis/ts/styles/patterns.js +0 -45
- package/dist/node_modules/@unovis/ts/types/component.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/component.js +0 -12
- package/dist/node_modules/@unovis/ts/types/curve.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/curve.js +0 -43
- package/dist/node_modules/@unovis/ts/types/direction.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/direction.js +0 -7
- package/dist/node_modules/@unovis/ts/types/position.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/position.js +0 -22
- package/dist/node_modules/@unovis/ts/types/scale.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/scale.js +0 -40
- package/dist/node_modules/@unovis/ts/types/svg.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/svg.js +0 -15
- package/dist/node_modules/@unovis/ts/types/symbol.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/symbol.js +0 -24
- package/dist/node_modules/@unovis/ts/types/text.cjs +0 -1
- package/dist/node_modules/@unovis/ts/types/text.js +0 -22
- package/dist/node_modules/@unovis/ts/utils/color.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/color.js +0 -8
- package/dist/node_modules/@unovis/ts/utils/d3.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/d3.js +0 -12
- package/dist/node_modules/@unovis/ts/utils/data.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/data.js +0 -169
- package/dist/node_modules/@unovis/ts/utils/misc.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/misc.js +0 -28
- package/dist/node_modules/@unovis/ts/utils/path.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/path.js +0 -9
- package/dist/node_modules/@unovis/ts/utils/resize-observer.cjs +0 -1
- package/dist/node_modules/@unovis/ts/utils/resize-observer.js +0 -6
- package/dist/node_modules/@unovis/ts/utils/text.cjs +0 -2
- package/dist/node_modules/@unovis/ts/utils/text.js +0 -178
- package/dist/node_modules/@unovis/vue/components/area/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/area/index.js +0 -48
- package/dist/node_modules/@unovis/vue/components/axis/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/axis/index.js +0 -69
- package/dist/node_modules/@unovis/vue/components/crosshair/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/crosshair/index.js +0 -33
- package/dist/node_modules/@unovis/vue/components/donut/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/donut/index.js +0 -54
- package/dist/node_modules/@unovis/vue/components/grouped-bar/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/grouped-bar/index.js +0 -54
- package/dist/node_modules/@unovis/vue/components/line/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/line/index.js +0 -50
- package/dist/node_modules/@unovis/vue/components/stacked-bar/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/stacked-bar/index.js +0 -54
- package/dist/node_modules/@unovis/vue/components/tooltip/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/components/tooltip/index.js +0 -40
- package/dist/node_modules/@unovis/vue/containers/single-container/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/containers/single-container/index.js +0 -66
- package/dist/node_modules/@unovis/vue/containers/xy-container/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/containers/xy-container/index.js +0 -102
- package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.js +0 -43
- package/dist/node_modules/@unovis/vue/index.cjs +0 -1
- package/dist/node_modules/@unovis/vue/index.js +0 -10
- package/dist/node_modules/@unovis/vue/utils/context.cjs +0 -1
- package/dist/node_modules/@unovis/vue/utils/context.js +0 -8
- package/dist/node_modules/@unovis/vue/utils/props.cjs +0 -1
- package/dist/node_modules/@unovis/vue/utils/props.js +0 -18
- package/dist/node_modules/d3-array/src/ascending.cjs +0 -1
- package/dist/node_modules/d3-array/src/ascending.js +0 -6
- package/dist/node_modules/d3-array/src/bisect.cjs +0 -1
- package/dist/node_modules/d3-array/src/bisect.js +0 -9
- package/dist/node_modules/d3-array/src/bisector.cjs +0 -1
- package/dist/node_modules/d3-array/src/bisector.js +0 -37
- package/dist/node_modules/d3-array/src/descending.cjs +0 -1
- package/dist/node_modules/d3-array/src/descending.js +0 -6
- package/dist/node_modules/d3-array/src/extent.cjs +0 -1
- package/dist/node_modules/d3-array/src/extent.js +0 -9
- package/dist/node_modules/d3-array/src/max.cjs +0 -1
- package/dist/node_modules/d3-array/src/max.js +0 -15
- package/dist/node_modules/d3-array/src/mean.cjs +0 -1
- package/dist/node_modules/d3-array/src/mean.js +0 -15
- package/dist/node_modules/d3-array/src/merge.cjs +0 -1
- package/dist/node_modules/d3-array/src/merge.js +0 -10
- package/dist/node_modules/d3-array/src/min.cjs +0 -1
- package/dist/node_modules/d3-array/src/min.js +0 -15
- package/dist/node_modules/d3-array/src/number.cjs +0 -1
- package/dist/node_modules/d3-array/src/number.js +0 -6
- package/dist/node_modules/d3-array/src/quantile.cjs +0 -1
- package/dist/node_modules/d3-array/src/quantile.js +0 -12
- package/dist/node_modules/d3-array/src/range.cjs +0 -1
- package/dist/node_modules/d3-array/src/range.js +0 -9
- package/dist/node_modules/d3-array/src/sum.cjs +0 -1
- package/dist/node_modules/d3-array/src/sum.js +0 -15
- package/dist/node_modules/d3-array/src/ticks.cjs +0 -1
- package/dist/node_modules/d3-array/src/ticks.js +0 -32
- package/dist/node_modules/d3-axis/src/axis.cjs +0 -1
- package/dist/node_modules/d3-axis/src/axis.js +0 -72
- package/dist/node_modules/d3-axis/src/identity.cjs +0 -1
- package/dist/node_modules/d3-axis/src/identity.js +0 -6
- package/dist/node_modules/d3-color/src/color.cjs +0 -1
- package/dist/node_modules/d3-color/src/color.js +0 -305
- package/dist/node_modules/d3-color/src/define.cjs +0 -1
- package/dist/node_modules/d3-color/src/define.js +0 -12
- package/dist/node_modules/d3-dispatch/src/dispatch.cjs +0 -1
- package/dist/node_modules/d3-dispatch/src/dispatch.js +0 -64
- package/dist/node_modules/d3-ease/src/cubic.cjs +0 -1
- package/dist/node_modules/d3-ease/src/cubic.js +0 -6
- package/dist/node_modules/d3-ease/src/linear.cjs +0 -1
- package/dist/node_modules/d3-ease/src/linear.js +0 -4
- package/dist/node_modules/d3-format/src/defaultLocale.cjs +0 -1
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -15
- package/dist/node_modules/d3-format/src/exponent.cjs +0 -1
- package/dist/node_modules/d3-format/src/exponent.js +0 -7
- package/dist/node_modules/d3-format/src/formatDecimal.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -15
- package/dist/node_modules/d3-format/src/formatGroup.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -10
- package/dist/node_modules/d3-format/src/formatNumerals.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
- package/dist/node_modules/d3-format/src/formatPrefixAuto.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -12
- package/dist/node_modules/d3-format/src/formatRounded.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
- package/dist/node_modules/d3-format/src/formatSpecifier.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -28
- package/dist/node_modules/d3-format/src/formatTrim.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -19
- package/dist/node_modules/d3-format/src/formatTypes.cjs +0 -1
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/node_modules/d3-format/src/identity.cjs +0 -1
- package/dist/node_modules/d3-format/src/identity.js +0 -6
- package/dist/node_modules/d3-format/src/locale.cjs +0 -1
- package/dist/node_modules/d3-format/src/locale.js +0 -68
- package/dist/node_modules/d3-format/src/precisionFixed.cjs +0 -1
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/node_modules/d3-format/src/precisionPrefix.cjs +0 -1
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/node_modules/d3-format/src/precisionRound.cjs +0 -1
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
- package/dist/node_modules/d3-interpolate/src/array.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/color.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/color.js +0 -24
- package/dist/node_modules/d3-interpolate/src/constant.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
- package/dist/node_modules/d3-interpolate/src/date.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/date.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/number.js +0 -8
- package/dist/node_modules/d3-interpolate/src/numberArray.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -15
- package/dist/node_modules/d3-interpolate/src/object.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/object.js +0 -14
- package/dist/node_modules/d3-interpolate/src/piecewise.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
- package/dist/node_modules/d3-interpolate/src/rgb.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -15
- package/dist/node_modules/d3-interpolate/src/round.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/round.js +0 -8
- package/dist/node_modules/d3-interpolate/src/string.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/string.js +0 -24
- package/dist/node_modules/d3-interpolate/src/transform/decompose.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/transform/decompose.js +0 -23
- package/dist/node_modules/d3-interpolate/src/transform/index.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/transform/index.js +0 -37
- package/dist/node_modules/d3-interpolate/src/transform/parse.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/transform/parse.js +0 -13
- package/dist/node_modules/d3-interpolate/src/value.cjs +0 -1
- package/dist/node_modules/d3-interpolate/src/value.js +0 -16
- package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.cjs +0 -2
- package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.js +0 -301
- package/dist/node_modules/d3-path/src/path.cjs +0 -1
- package/dist/node_modules/d3-path/src/path.js +0 -64
- package/dist/node_modules/d3-scale/src/band.cjs +0 -1
- package/dist/node_modules/d3-scale/src/band.js +0 -51
- package/dist/node_modules/d3-scale/src/constant.cjs +0 -1
- package/dist/node_modules/d3-scale/src/constant.js +0 -8
- package/dist/node_modules/d3-scale/src/continuous.cjs +0 -1
- package/dist/node_modules/d3-scale/src/continuous.js +0 -75
- package/dist/node_modules/d3-scale/src/diverging.cjs +0 -1
- package/dist/node_modules/d3-scale/src/diverging.js +0 -40
- package/dist/node_modules/d3-scale/src/identity.cjs +0 -1
- package/dist/node_modules/d3-scale/src/identity.js +0 -18
- package/dist/node_modules/d3-scale/src/init.cjs +0 -1
- package/dist/node_modules/d3-scale/src/init.js +0 -32
- package/dist/node_modules/d3-scale/src/linear.cjs +0 -1
- package/dist/node_modules/d3-scale/src/linear.js +0 -39
- package/dist/node_modules/d3-scale/src/log.cjs +0 -1
- package/dist/node_modules/d3-scale/src/log.js +0 -86
- package/dist/node_modules/d3-scale/src/nice.cjs +0 -1
- package/dist/node_modules/d3-scale/src/nice.js +0 -8
- package/dist/node_modules/d3-scale/src/number.cjs +0 -1
- package/dist/node_modules/d3-scale/src/number.js +0 -6
- package/dist/node_modules/d3-scale/src/ordinal.cjs +0 -1
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -31
- package/dist/node_modules/d3-scale/src/pow.cjs +0 -1
- package/dist/node_modules/d3-scale/src/pow.js +0 -37
- package/dist/node_modules/d3-scale/src/quantile.cjs +0 -1
- package/dist/node_modules/d3-scale/src/quantile.js +0 -38
- package/dist/node_modules/d3-scale/src/quantize.cjs +0 -1
- package/dist/node_modules/d3-scale/src/quantize.js +0 -31
- package/dist/node_modules/d3-scale/src/sequential.cjs +0 -1
- package/dist/node_modules/d3-scale/src/sequential.js +0 -42
- package/dist/node_modules/d3-scale/src/symlog.cjs +0 -1
- package/dist/node_modules/d3-scale/src/symlog.js +0 -29
- package/dist/node_modules/d3-scale/src/threshold.cjs +0 -1
- package/dist/node_modules/d3-scale/src/threshold.js +0 -23
- package/dist/node_modules/d3-scale/src/tickFormat.cjs +0 -1
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -32
- package/dist/node_modules/d3-scale/src/time.cjs +0 -1
- package/dist/node_modules/d3-scale/src/time.js +0 -46
- package/dist/node_modules/d3-scale/src/utcTime.cjs +0 -1
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/node_modules/d3-selection/src/array.cjs +0 -1
- package/dist/node_modules/d3-selection/src/array.js +0 -6
- package/dist/node_modules/d3-selection/src/constant.cjs +0 -1
- package/dist/node_modules/d3-selection/src/constant.js +0 -8
- package/dist/node_modules/d3-selection/src/creator.cjs +0 -1
- package/dist/node_modules/d3-selection/src/creator.js +0 -20
- package/dist/node_modules/d3-selection/src/matcher.cjs +0 -1
- package/dist/node_modules/d3-selection/src/matcher.js +0 -14
- package/dist/node_modules/d3-selection/src/namespace.cjs +0 -1
- package/dist/node_modules/d3-selection/src/namespace.js +0 -8
- package/dist/node_modules/d3-selection/src/namespaces.cjs +0 -1
- package/dist/node_modules/d3-selection/src/namespaces.js +0 -12
- package/dist/node_modules/d3-selection/src/pointer.cjs +0 -1
- package/dist/node_modules/d3-selection/src/pointer.js +0 -18
- package/dist/node_modules/d3-selection/src/select.cjs +0 -1
- package/dist/node_modules/d3-selection/src/select.js +0 -7
- package/dist/node_modules/d3-selection/src/selection/append.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/append.js +0 -10
- package/dist/node_modules/d3-selection/src/selection/attr.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/attr.js +0 -44
- package/dist/node_modules/d3-selection/src/selection/call.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/call.js +0 -7
- package/dist/node_modules/d3-selection/src/selection/classed.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/classed.js +0 -54
- package/dist/node_modules/d3-selection/src/selection/clone.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/clone.js +0 -14
- package/dist/node_modules/d3-selection/src/selection/data.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/data.js +0 -42
- package/dist/node_modules/d3-selection/src/selection/datum.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/datum.js +0 -6
- package/dist/node_modules/d3-selection/src/selection/dispatch.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/dispatch.js +0 -21
- package/dist/node_modules/d3-selection/src/selection/each.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/each.js +0 -9
- package/dist/node_modules/d3-selection/src/selection/empty.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/empty.js +0 -6
- package/dist/node_modules/d3-selection/src/selection/enter.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/enter.js +0 -27
- package/dist/node_modules/d3-selection/src/selection/exit.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/exit.js +0 -8
- package/dist/node_modules/d3-selection/src/selection/filter.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/filter.js +0 -12
- package/dist/node_modules/d3-selection/src/selection/html.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/html.js +0 -20
- package/dist/node_modules/d3-selection/src/selection/index.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/index.js +0 -87
- package/dist/node_modules/d3-selection/src/selection/insert.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/insert.js +0 -14
- package/dist/node_modules/d3-selection/src/selection/iterator.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/iterator.js +0 -8
- package/dist/node_modules/d3-selection/src/selection/join.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/join.js +0 -7
- package/dist/node_modules/d3-selection/src/selection/lower.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/lower.js +0 -9
- package/dist/node_modules/d3-selection/src/selection/merge.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/merge.js +0 -12
- package/dist/node_modules/d3-selection/src/selection/node.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/node.js +0 -11
- package/dist/node_modules/d3-selection/src/selection/nodes.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/nodes.js +0 -6
- package/dist/node_modules/d3-selection/src/selection/on.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/on.js +0 -52
- package/dist/node_modules/d3-selection/src/selection/order.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/order.js +0 -9
- package/dist/node_modules/d3-selection/src/selection/property.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/property.js +0 -22
- package/dist/node_modules/d3-selection/src/selection/raise.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/raise.js +0 -9
- package/dist/node_modules/d3-selection/src/selection/remove.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/remove.js +0 -10
- package/dist/node_modules/d3-selection/src/selection/select.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/select.js +0 -12
- package/dist/node_modules/d3-selection/src/selection/selectAll.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/selectAll.js +0 -18
- package/dist/node_modules/d3-selection/src/selection/selectChild.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/selectChild.js +0 -16
- package/dist/node_modules/d3-selection/src/selection/selectChildren.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/selectChildren.js +0 -16
- package/dist/node_modules/d3-selection/src/selection/size.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/size.js +0 -8
- package/dist/node_modules/d3-selection/src/selection/sort.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/sort.js +0 -19
- package/dist/node_modules/d3-selection/src/selection/sparse.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/sparse.js +0 -6
- package/dist/node_modules/d3-selection/src/selection/style.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/style.js +0 -27
- package/dist/node_modules/d3-selection/src/selection/text.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selection/text.js +0 -20
- package/dist/node_modules/d3-selection/src/selector.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selector.js +0 -10
- package/dist/node_modules/d3-selection/src/selectorAll.cjs +0 -1
- package/dist/node_modules/d3-selection/src/selectorAll.js +0 -11
- package/dist/node_modules/d3-selection/src/sourceEvent.cjs +0 -1
- package/dist/node_modules/d3-selection/src/sourceEvent.js +0 -8
- package/dist/node_modules/d3-selection/src/window.cjs +0 -1
- package/dist/node_modules/d3-selection/src/window.js +0 -6
- package/dist/node_modules/d3-shape/src/arc.cjs +0 -1
- package/dist/node_modules/d3-shape/src/arc.js +0 -85
- package/dist/node_modules/d3-shape/src/area.cjs +0 -1
- package/dist/node_modules/d3-shape/src/area.js +0 -56
- package/dist/node_modules/d3-shape/src/array.cjs +0 -1
- package/dist/node_modules/d3-shape/src/array.js +0 -6
- package/dist/node_modules/d3-shape/src/constant.cjs +0 -1
- package/dist/node_modules/d3-shape/src/constant.js +0 -8
- package/dist/node_modules/d3-shape/src/curve/basis.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -60
- package/dist/node_modules/d3-shape/src/curve/basisClosed.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -51
- package/dist/node_modules/d3-shape/src/curve/basisOpen.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -46
- package/dist/node_modules/d3-shape/src/curve/bundle.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/bundle.js +0 -33
- package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/cardinal.js +0 -65
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +0 -57
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +0 -50
- package/dist/node_modules/d3-shape/src/curve/catmullRom.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/catmullRom.js +0 -72
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +0 -61
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +0 -54
- package/dist/node_modules/d3-shape/src/curve/linear.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -36
- package/dist/node_modules/d3-shape/src/curve/linearClosed.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
- package/dist/node_modules/d3-shape/src/curve/monotone.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -93
- package/dist/node_modules/d3-shape/src/curve/natural.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -41
- package/dist/node_modules/d3-shape/src/curve/step.cjs +0 -1
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -51
- package/dist/node_modules/d3-shape/src/descending.cjs +0 -1
- package/dist/node_modules/d3-shape/src/descending.js +0 -6
- package/dist/node_modules/d3-shape/src/identity.cjs +0 -1
- package/dist/node_modules/d3-shape/src/identity.js +0 -6
- package/dist/node_modules/d3-shape/src/line.cjs +0 -1
- package/dist/node_modules/d3-shape/src/line.js +0 -29
- package/dist/node_modules/d3-shape/src/math.cjs +0 -1
- package/dist/node_modules/d3-shape/src/math.js +0 -22
- package/dist/node_modules/d3-shape/src/noop.cjs +0 -1
- package/dist/node_modules/d3-shape/src/noop.js +0 -5
- package/dist/node_modules/d3-shape/src/path.cjs +0 -1
- package/dist/node_modules/d3-shape/src/path.js +0 -18
- package/dist/node_modules/d3-shape/src/pie.cjs +0 -1
- package/dist/node_modules/d3-shape/src/pie.js +0 -43
- package/dist/node_modules/d3-shape/src/point.cjs +0 -1
- package/dist/node_modules/d3-shape/src/point.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/circle.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/cross.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/diamond.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/square.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/star.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -15
- package/dist/node_modules/d3-shape/src/symbol/triangle.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol/wye.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -10
- package/dist/node_modules/d3-shape/src/symbol.cjs +0 -1
- package/dist/node_modules/d3-shape/src/symbol.js +0 -21
- package/dist/node_modules/d3-time/src/day.cjs +0 -1
- package/dist/node_modules/d3-time/src/day.js +0 -26
- package/dist/node_modules/d3-time/src/duration.cjs +0 -1
- package/dist/node_modules/d3-time/src/duration.js +0 -10
- package/dist/node_modules/d3-time/src/hour.cjs +0 -1
- package/dist/node_modules/d3-time/src/hour.js +0 -18
- package/dist/node_modules/d3-time/src/interval.cjs +0 -1
- package/dist/node_modules/d3-time/src/interval.js +0 -31
- package/dist/node_modules/d3-time/src/millisecond.cjs +0 -1
- package/dist/node_modules/d3-time/src/millisecond.js +0 -14
- package/dist/node_modules/d3-time/src/minute.cjs +0 -1
- package/dist/node_modules/d3-time/src/minute.js +0 -18
- package/dist/node_modules/d3-time/src/month.cjs +0 -1
- package/dist/node_modules/d3-time/src/month.js +0 -17
- package/dist/node_modules/d3-time/src/second.cjs +0 -1
- package/dist/node_modules/d3-time/src/second.js +0 -11
- package/dist/node_modules/d3-time/src/ticks.cjs +0 -1
- package/dist/node_modules/d3-time/src/ticks.js +0 -54
- package/dist/node_modules/d3-time/src/week.cjs +0 -1
- package/dist/node_modules/d3-time/src/week.js +0 -48
- package/dist/node_modules/d3-time/src/year.cjs +0 -1
- package/dist/node_modules/d3-time/src/year.js +0 -27
- package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +0 -1
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -20
- package/dist/node_modules/d3-time-format/src/locale.cjs +0 -1
- package/dist/node_modules/d3-time-format/src/locale.js +0 -478
- package/dist/node_modules/d3-timer/src/timeout.cjs +0 -1
- package/dist/node_modules/d3-timer/src/timeout.js +0 -10
- package/dist/node_modules/d3-timer/src/timer.cjs +0 -1
- package/dist/node_modules/d3-timer/src/timer.js +0 -62
- package/dist/node_modules/d3-transition/src/interrupt.cjs +0 -1
- package/dist/node_modules/d3-transition/src/interrupt.js +0 -18
- package/dist/node_modules/d3-transition/src/selection/index.cjs +0 -1
- package/dist/node_modules/d3-transition/src/selection/index.js +0 -5
- package/dist/node_modules/d3-transition/src/selection/interrupt.cjs +0 -1
- package/dist/node_modules/d3-transition/src/selection/interrupt.js +0 -9
- package/dist/node_modules/d3-transition/src/selection/transition.cjs +0 -1
- package/dist/node_modules/d3-transition/src/selection/transition.js +0 -28
- package/dist/node_modules/d3-transition/src/transition/attr.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/attr.js +0 -49
- package/dist/node_modules/d3-transition/src/transition/attrTween.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/attrTween.js +0 -38
- package/dist/node_modules/d3-transition/src/transition/delay.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/delay.js +0 -18
- package/dist/node_modules/d3-transition/src/transition/duration.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/duration.js +0 -18
- package/dist/node_modules/d3-transition/src/transition/ease.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/ease.js +0 -14
- package/dist/node_modules/d3-transition/src/transition/easeVarying.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/easeVarying.js +0 -15
- package/dist/node_modules/d3-transition/src/transition/end.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/end.js +0 -16
- package/dist/node_modules/d3-transition/src/transition/filter.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/filter.js +0 -12
- package/dist/node_modules/d3-transition/src/transition/index.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/index.js +0 -65
- package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/interpolate.js +0 -11
- package/dist/node_modules/d3-transition/src/transition/merge.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/merge.js +0 -13
- package/dist/node_modules/d3-transition/src/transition/on.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/on.js +0 -21
- package/dist/node_modules/d3-transition/src/transition/remove.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/remove.js +0 -13
- package/dist/node_modules/d3-transition/src/transition/schedule.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/schedule.js +0 -85
- package/dist/node_modules/d3-transition/src/transition/select.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/select.js +0 -14
- package/dist/node_modules/d3-transition/src/transition/selectAll.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/selectAll.js +0 -18
- package/dist/node_modules/d3-transition/src/transition/selection.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/selection.js +0 -8
- package/dist/node_modules/d3-transition/src/transition/style.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/style.js +0 -45
- package/dist/node_modules/d3-transition/src/transition/styleTween.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/styleTween.js +0 -23
- package/dist/node_modules/d3-transition/src/transition/text.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/text.js +0 -18
- package/dist/node_modules/d3-transition/src/transition/textTween.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/textTween.js +0 -23
- package/dist/node_modules/d3-transition/src/transition/transition.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/transition.js +0 -19
- package/dist/node_modules/d3-transition/src/transition/tween.cjs +0 -1
- package/dist/node_modules/d3-transition/src/transition/tween.js +0 -56
- package/dist/node_modules/internmap/src/index.cjs +0 -1
- package/dist/node_modules/internmap/src/index.js +0 -35
- package/dist/node_modules/parse-unit/index.cjs +0 -1
- package/dist/node_modules/parse-unit/index.js +0 -11
- package/dist/node_modules/striptags/src/striptags.cjs +0 -2
- package/dist/node_modules/striptags/src/striptags.js +0 -118
- package/dist/node_modules/stylis/src/Enum.cjs +0 -1
- package/dist/node_modules/stylis/src/Enum.js +0 -12
- package/dist/node_modules/stylis/src/Middleware.cjs +0 -1
- package/dist/node_modules/stylis/src/Middleware.js +0 -18
- package/dist/node_modules/stylis/src/Parser.cjs +0 -1
- package/dist/node_modules/stylis/src/Parser.js +0 -131
- package/dist/node_modules/stylis/src/Serializer.cjs +0 -1
- package/dist/node_modules/stylis/src/Serializer.js +0 -27
- package/dist/node_modules/stylis/src/Tokenizer.cjs +0 -1
- package/dist/node_modules/stylis/src/Tokenizer.js +0 -141
- package/dist/node_modules/stylis/src/Utility.cjs +0 -1
- package/dist/node_modules/stylis/src/Utility.js +0 -50
- package/dist/node_modules/throttle-debounce/esm/index.cjs +0 -1
- package/dist/node_modules/throttle-debounce/esm/index.js +0 -28
- package/dist/node_modules/to-px/browser.cjs +0 -1
- package/dist/node_modules/to-px/browser.js +0 -63
- package/dist/types.cjs +0 -1
- package/dist/utils.cjs +0 -1
- package/dist/vite.svg +0 -1
- /package/dist/components/{Area → AreaChart}/AreaChart.vue.d.ts +0 -0
- /package/dist/components/{Area → AreaChart}/AreaChart2.js +0 -0
- /package/dist/components/{AreaStacked → AreaStackedChart}/AreaStackedChart.vue.d.ts +0 -0
- /package/dist/components/{AreaStacked → AreaStackedChart}/AreaStackedChart2.js +0 -0
- /package/dist/components/{Bar → BarChart}/BarChart2.js +0 -0
- /package/dist/components/{Donut → DonutChart}/DonutChart2.js +0 -0
- /package/dist/components/{Line → LineChart}/LineChart2.js +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
function g(s, e, n) {
|
|
2
|
-
var f = "";
|
|
3
|
-
return n.split(" ").forEach(function(t) {
|
|
4
|
-
s[t] !== void 0 ? e.push(s[t] + ";") : t && (f += t + " ");
|
|
5
|
-
}), f;
|
|
6
|
-
}
|
|
7
|
-
var r = function(e, n, f) {
|
|
8
|
-
var t = e.key + "-" + n.name;
|
|
9
|
-
// we only need to add the styles to the registered cache if the
|
|
10
|
-
// class name could be used further down
|
|
11
|
-
// the tree but if it's a string tag, we know it won't
|
|
12
|
-
// so we don't have to add it to registered cache.
|
|
13
|
-
// this improves memory usage since we can avoid storing the whole style string
|
|
14
|
-
e.registered[t] === void 0 && (e.registered[t] = n.styles);
|
|
15
|
-
}, y = function(e, n, f) {
|
|
16
|
-
r(e, n);
|
|
17
|
-
var t = e.key + "-" + n.name;
|
|
18
|
-
if (e.inserted[n.name] === void 0) {
|
|
19
|
-
var i = n;
|
|
20
|
-
do
|
|
21
|
-
e.insert(n === i ? "." + t : "", i, e.sheet, !0), i = i.next;
|
|
22
|
-
while (i !== void 0);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
export {
|
|
26
|
-
g as getRegisteredStyles,
|
|
27
|
-
y as insertStyles,
|
|
28
|
-
r as registerStyles
|
|
29
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./utils/freeze.cjs");var d=function(){function i(t,h,e,o){return this.x=t,this.y=h,this.width=e,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,y.freeze(this)}return i.prototype.toJSON=function(){var t=this,h=t.x,e=t.y,o=t.top,r=t.right,s=t.bottom,n=t.left,f=t.width,u=t.height;return{x:h,y:e,top:o,right:r,bottom:s,left:n,width:f,height:u}},i.fromRect=function(t){return new i(t.x,t.y,t.width,t.height)},i}();exports.DOMRectReadOnly=d;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { freeze as y } from "./utils/freeze.js";
|
|
2
|
-
var u = function() {
|
|
3
|
-
function h(t, i, o, e) {
|
|
4
|
-
return this.x = t, this.y = i, this.width = o, this.height = e, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, y(this);
|
|
5
|
-
}
|
|
6
|
-
return h.prototype.toJSON = function() {
|
|
7
|
-
var t = this, i = t.x, o = t.y, e = t.top, r = t.right, s = t.bottom, f = t.left, n = t.width, p = t.height;
|
|
8
|
-
return { x: i, y: o, top: e, right: r, bottom: s, left: f, width: n, height: p };
|
|
9
|
-
}, h.fromRect = function(t) {
|
|
10
|
-
return new h(t.x, t.y, t.width, t.height);
|
|
11
|
-
}, h;
|
|
12
|
-
}();
|
|
13
|
-
export {
|
|
14
|
-
u as DOMRectReadOnly
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ResizeObserverBoxOptions.cjs"),o=require("./algorithms/calculateBoxSize.cjs"),t=require("./utils/element.cjs");var n=function(e){return!t.isSVG(e)&&!t.isReplacedElement(e)&&getComputedStyle(e).display==="inline"},l=function(){function e(i,s){this.target=i,this.observedBox=s||r.ResizeObserverBoxOptions.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var i=o.calculateBoxSize(this.target,this.observedBox,!0);return n(this.target)&&(this.lastReportedSize=i),this.lastReportedSize.inlineSize!==i.inlineSize||this.lastReportedSize.blockSize!==i.blockSize},e}();exports.ResizeObservation=l;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ResizeObserverBoxOptions as r } from "./ResizeObserverBoxOptions.js";
|
|
2
|
-
import { calculateBoxSize as o } from "./algorithms/calculateBoxSize.js";
|
|
3
|
-
import { isSVG as s, isReplacedElement as n } from "./utils/element.js";
|
|
4
|
-
var l = function(e) {
|
|
5
|
-
return !s(e) && !n(e) && getComputedStyle(e).display === "inline";
|
|
6
|
-
}, S = function() {
|
|
7
|
-
function e(i, t) {
|
|
8
|
-
this.target = i, this.observedBox = t || r.CONTENT_BOX, this.lastReportedSize = {
|
|
9
|
-
inlineSize: 0,
|
|
10
|
-
blockSize: 0
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
return e.prototype.isActive = function() {
|
|
14
|
-
var i = o(this.target, this.observedBox, !0);
|
|
15
|
-
return l(this.target) && (this.lastReportedSize = i), this.lastReportedSize.inlineSize !== i.inlineSize || this.lastReportedSize.blockSize !== i.blockSize;
|
|
16
|
-
}, e;
|
|
17
|
-
}();
|
|
18
|
-
export {
|
|
19
|
-
S as ResizeObservation
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ResizeObserverController.cjs"),o=require("./utils/element.cjs");var s=function(){function r(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");t.ResizeObserverController.connect(this,e)}return r.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!o.isElement(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");t.ResizeObserverController.observe(this,e,n)},r.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!o.isElement(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");t.ResizeObserverController.unobserve(this,e)},r.prototype.disconnect=function(){t.ResizeObserverController.disconnect(this)},r.toString=function(){return"function ResizeObserver () { [polyfill code] }"},r}();exports.ResizeObserver=s;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ResizeObserverController as t } from "./ResizeObserverController.js";
|
|
2
|
-
import { isElement as o } from "./utils/element.js";
|
|
3
|
-
var u = function() {
|
|
4
|
-
function r(e) {
|
|
5
|
-
if (arguments.length === 0)
|
|
6
|
-
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
7
|
-
if (typeof e != "function")
|
|
8
|
-
throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
|
|
9
|
-
t.connect(this, e);
|
|
10
|
-
}
|
|
11
|
-
return r.prototype.observe = function(e, n) {
|
|
12
|
-
if (arguments.length === 0)
|
|
13
|
-
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
14
|
-
if (!o(e))
|
|
15
|
-
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
16
|
-
t.observe(this, e, n);
|
|
17
|
-
}, r.prototype.unobserve = function(e) {
|
|
18
|
-
if (arguments.length === 0)
|
|
19
|
-
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
20
|
-
if (!o(e))
|
|
21
|
-
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
22
|
-
t.unobserve(this, e);
|
|
23
|
-
}, r.prototype.disconnect = function() {
|
|
24
|
-
t.disconnect(this);
|
|
25
|
-
}, r.toString = function() {
|
|
26
|
-
return "function ResizeObserver () { [polyfill code] }";
|
|
27
|
-
}, r;
|
|
28
|
-
}();
|
|
29
|
-
export {
|
|
30
|
-
u as ResizeObserver
|
|
31
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.ResizeObserverBoxOptions=void 0;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(exports.ResizeObserverBoxOptions||(exports.ResizeObserverBoxOptions={}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./utils/scheduler.cjs"),c=require("./ResizeObservation.cjs"),l=require("./ResizeObserverDetail.cjs"),v=require("./utils/resizeObservers.cjs");var i=new WeakMap,u=function(n,t){for(var e=0;e<n.length;e+=1)if(n[e].target===t)return e;return-1},b=function(){function n(){}return n.connect=function(t,e){var r=new l.ResizeObserverDetail(t,e);i.set(t,r)},n.observe=function(t,e,r){var s=i.get(t),a=s.observationTargets.length===0;u(s.observationTargets,e)<0&&(a&&v.resizeObservers.push(s),s.observationTargets.push(new c.ResizeObservation(e,r&&r.box)),o.updateCount(1),o.scheduler.schedule())},n.unobserve=function(t,e){var r=i.get(t),s=u(r.observationTargets,e),a=r.observationTargets.length===1;s>=0&&(a&&v.resizeObservers.splice(v.resizeObservers.indexOf(r),1),r.observationTargets.splice(s,1),o.updateCount(-1))},n.disconnect=function(t){var e=this,r=i.get(t);r.observationTargets.slice().forEach(function(s){return e.unobserve(t,s.target)}),r.activeTargets.splice(0,r.activeTargets.length)},n}();exports.ResizeObserverController=b;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { updateCount as v, scheduler as l } from "./utils/scheduler.js";
|
|
2
|
-
import { ResizeObservation as u } from "./ResizeObservation.js";
|
|
3
|
-
import { ResizeObserverDetail as f } from "./ResizeObserverDetail.js";
|
|
4
|
-
import { resizeObservers as s } from "./utils/resizeObservers.js";
|
|
5
|
-
var a = /* @__PURE__ */ new WeakMap(), c = function(o, t) {
|
|
6
|
-
for (var e = 0; e < o.length; e += 1)
|
|
7
|
-
if (o[e].target === t)
|
|
8
|
-
return e;
|
|
9
|
-
return -1;
|
|
10
|
-
}, h = function() {
|
|
11
|
-
function o() {
|
|
12
|
-
}
|
|
13
|
-
return o.connect = function(t, e) {
|
|
14
|
-
var r = new f(t, e);
|
|
15
|
-
a.set(t, r);
|
|
16
|
-
}, o.observe = function(t, e, r) {
|
|
17
|
-
var n = a.get(t), i = n.observationTargets.length === 0;
|
|
18
|
-
c(n.observationTargets, e) < 0 && (i && s.push(n), n.observationTargets.push(new u(e, r && r.box)), v(1), l.schedule());
|
|
19
|
-
}, o.unobserve = function(t, e) {
|
|
20
|
-
var r = a.get(t), n = c(r.observationTargets, e), i = r.observationTargets.length === 1;
|
|
21
|
-
n >= 0 && (i && s.splice(s.indexOf(r), 1), r.observationTargets.splice(n, 1), v(-1));
|
|
22
|
-
}, o.disconnect = function(t) {
|
|
23
|
-
var e = this, r = a.get(t);
|
|
24
|
-
r.observationTargets.slice().forEach(function(n) {
|
|
25
|
-
return e.unobserve(t, n.target);
|
|
26
|
-
}), r.activeTargets.splice(0, r.activeTargets.length);
|
|
27
|
-
}, o;
|
|
28
|
-
}();
|
|
29
|
-
export {
|
|
30
|
-
h as ResizeObserverController
|
|
31
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=function(){function e(t,i){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=i}return e}();exports.ResizeObserverDetail=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./algorithms/calculateBoxSize.cjs"),t=require("./utils/freeze.cjs");var n=function(){function i(r){var e=o.calculateBoxSizes(r);this.target=r,this.contentRect=e.contentRect,this.borderBoxSize=t.freeze([e.borderBoxSize]),this.contentBoxSize=t.freeze([e.contentBoxSize]),this.devicePixelContentBoxSize=t.freeze([e.devicePixelContentBoxSize])}return i}();exports.ResizeObserverEntry=n;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { calculateBoxSizes as r } from "./algorithms/calculateBoxSize.js";
|
|
2
|
-
import { freeze as t } from "./utils/freeze.js";
|
|
3
|
-
var s = /* @__PURE__ */ function() {
|
|
4
|
-
function i(o) {
|
|
5
|
-
var e = r(o);
|
|
6
|
-
this.target = o, this.contentRect = e.contentRect, this.borderBoxSize = t([e.borderBoxSize]), this.contentBoxSize = t([e.contentBoxSize]), this.devicePixelContentBoxSize = t([e.devicePixelContentBoxSize]);
|
|
7
|
-
}
|
|
8
|
-
return i;
|
|
9
|
-
}();
|
|
10
|
-
export {
|
|
11
|
-
s as ResizeObserverEntry
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./utils/freeze.cjs");var s=function(){function e(i,r){this.inlineSize=i,this.blockSize=r,t.freeze(this)}return e}();exports.ResizeObserverSize=s;
|
package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../utils/resizeObservers.cjs"),b=require("../ResizeObserverEntry.cjs"),g=require("./calculateDepthForNode.cjs"),h=require("./calculateBoxSize.cjs");var f=function(){var t=1/0,s=[];u.resizeObservers.forEach(function(e){if(e.activeTargets.length!==0){var i=[];e.activeTargets.forEach(function(r){var o=new b.ResizeObserverEntry(r.target),n=g.calculateDepthForNode(r.target);i.push(o),r.lastReportedSize=h.calculateBoxSize(r.target,r.observedBox),n<t&&(t=n)}),s.push(function(){e.callback.call(e.observer,i,e.observer)}),e.activeTargets.splice(0,e.activeTargets.length)}});for(var a=0,c=s;a<c.length;a++){var v=c[a];v()}return t};exports.broadcastActiveObservations=f;
|
package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { resizeObservers as f } from "../utils/resizeObservers.js";
|
|
2
|
-
import { ResizeObserverEntry as p } from "../ResizeObserverEntry.js";
|
|
3
|
-
import { calculateDepthForNode as g } from "./calculateDepthForNode.js";
|
|
4
|
-
import { calculateBoxSize as b } from "./calculateBoxSize.js";
|
|
5
|
-
var T = function() {
|
|
6
|
-
var t = 1 / 0, s = [];
|
|
7
|
-
f.forEach(function(e) {
|
|
8
|
-
if (e.activeTargets.length !== 0) {
|
|
9
|
-
var i = [];
|
|
10
|
-
e.activeTargets.forEach(function(r) {
|
|
11
|
-
var l = new p(r.target), v = g(r.target);
|
|
12
|
-
i.push(l), r.lastReportedSize = b(r.target, r.observedBox), v < t && (t = v);
|
|
13
|
-
}), s.push(function() {
|
|
14
|
-
e.callback.call(e.observer, i, e.observer);
|
|
15
|
-
}), e.activeTargets.splice(0, e.activeTargets.length);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
for (var a = 0, c = s; a < c.length; a++) {
|
|
19
|
-
var n = c[a];
|
|
20
|
-
n();
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
T as broadcastActiveObservations
|
|
26
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../ResizeObserverBoxOptions.cjs"),A=require("../ResizeObserverSize.cjs"),w=require("../DOMRectReadOnly.cjs"),S=require("../utils/element.cjs"),T=require("../utils/freeze.cjs"),O=require("../utils/global.cjs");var l=new WeakMap,m=/auto|scroll/,I=/^tb|vertical/,G=/msie|trident/i.test(O.global.navigator&&O.global.navigator.userAgent),i=function(e){return parseFloat(e||"0")},n=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new A.ResizeObserverSize((r?t:e)||0,(r?e:t)||0)},P=T.freeze({devicePixelContentBoxSize:n(),borderBoxSize:n(),contentBoxSize:n(),contentRect:new w.DOMRectReadOnly(0,0,0,0)}),W=function(e,t){if(t===void 0&&(t=!1),l.has(e)&&!t)return l.get(e);if(S.isHidden(e))return l.set(e,P),P;var r=getComputedStyle(e),o=S.isSVG(e)&&e.ownerSVGElement&&e.getBBox(),d=!G&&r.boxSizing==="border-box",a=I.test(r.writingMode||""),s=!o&&m.test(r.overflowY||""),y=!o&&m.test(r.overflowX||""),B=o?0:i(r.paddingTop),M=o?0:i(r.paddingRight),C=o?0:i(r.paddingBottom),u=o?0:i(r.paddingLeft),E=o?0:i(r.borderTopWidth),q=o?0:i(r.borderRightWidth),D=o?0:i(r.borderBottomWidth),H=o?0:i(r.borderLeftWidth),b=u+M,g=B+C,x=H+q,h=E+D,f=y?e.offsetHeight-h-e.clientHeight:0,z=s?e.offsetWidth-x-e.clientWidth:0,L=d?b+x:0,_=d?g+h:0,v=o?o.width:i(r.width)-L-z,c=o?o.height:i(r.height)-_-f,V=v+b+z+x,X=c+g+f+h,R=T.freeze({devicePixelContentBoxSize:n(Math.round(v*devicePixelRatio),Math.round(c*devicePixelRatio),a),borderBoxSize:n(V,X,a),contentBoxSize:n(v,c,a),contentRect:new w.DOMRectReadOnly(u,B,v,c)});return l.set(e,R),R},N=function(e,t,r){var o=W(e,r),d=o.borderBoxSize,a=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(t){case p.ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:return s;case p.ResizeObserverBoxOptions.BORDER_BOX:return d;default:return a}};exports.calculateBoxSize=N;exports.calculateBoxSizes=W;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ResizeObserverBoxOptions as z } from "../ResizeObserverBoxOptions.js";
|
|
2
|
-
import { ResizeObserverSize as X } from "../ResizeObserverSize.js";
|
|
3
|
-
import { DOMRectReadOnly as P } from "../DOMRectReadOnly.js";
|
|
4
|
-
import { isHidden as A, isSVG as I } from "../utils/element.js";
|
|
5
|
-
import { freeze as O } from "../utils/freeze.js";
|
|
6
|
-
import { global as R } from "../utils/global.js";
|
|
7
|
-
var l = /* @__PURE__ */ new WeakMap(), S = /auto|scroll/, G = /^tb|vertical/, N = /msie|trident/i.test(R.navigator && R.navigator.userAgent), i = function(e) {
|
|
8
|
-
return parseFloat(e || "0");
|
|
9
|
-
}, a = function(e, t, r) {
|
|
10
|
-
return e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = !1), new X((r ? t : e) || 0, (r ? e : t) || 0);
|
|
11
|
-
}, w = O({
|
|
12
|
-
devicePixelContentBoxSize: a(),
|
|
13
|
-
borderBoxSize: a(),
|
|
14
|
-
contentBoxSize: a(),
|
|
15
|
-
contentRect: new P(0, 0, 0, 0)
|
|
16
|
-
}), F = function(e, t) {
|
|
17
|
-
if (t === void 0 && (t = !1), l.has(e) && !t)
|
|
18
|
-
return l.get(e);
|
|
19
|
-
if (A(e))
|
|
20
|
-
return l.set(e, w), w;
|
|
21
|
-
var r = getComputedStyle(e), o = I(e) && e.ownerSVGElement && e.getBBox(), d = !N && r.boxSizing === "border-box", n = G.test(r.writingMode || ""), s = !o && S.test(r.overflowY || ""), W = !o && S.test(r.overflowX || ""), B = o ? 0 : i(r.paddingTop), T = o ? 0 : i(r.paddingRight), C = o ? 0 : i(r.paddingBottom), f = o ? 0 : i(r.paddingLeft), E = o ? 0 : i(r.borderTopWidth), H = o ? 0 : i(r.borderRightWidth), L = o ? 0 : i(r.borderBottomWidth), M = o ? 0 : i(r.borderLeftWidth), p = f + T, g = B + C, h = M + H, x = E + L, b = W ? e.offsetHeight - x - e.clientHeight : 0, m = s ? e.offsetWidth - h - e.clientWidth : 0, _ = d ? p + h : 0, y = d ? g + x : 0, v = o ? o.width : i(r.width) - _ - m, c = o ? o.height : i(r.height) - y - b, D = v + p + m + h, V = c + g + b + x, u = O({
|
|
22
|
-
devicePixelContentBoxSize: a(Math.round(v * devicePixelRatio), Math.round(c * devicePixelRatio), n),
|
|
23
|
-
borderBoxSize: a(D, V, n),
|
|
24
|
-
contentBoxSize: a(v, c, n),
|
|
25
|
-
contentRect: new P(f, B, v, c)
|
|
26
|
-
});
|
|
27
|
-
return l.set(e, u), u;
|
|
28
|
-
}, Q = function(e, t, r) {
|
|
29
|
-
var o = F(e, r), d = o.borderBoxSize, n = o.contentBoxSize, s = o.devicePixelContentBoxSize;
|
|
30
|
-
switch (t) {
|
|
31
|
-
case z.DEVICE_PIXEL_CONTENT_BOX:
|
|
32
|
-
return s;
|
|
33
|
-
case z.BORDER_BOX:
|
|
34
|
-
return d;
|
|
35
|
-
default:
|
|
36
|
-
return n;
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
Q as calculateBoxSize,
|
|
41
|
-
F as calculateBoxSizes
|
|
42
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../utils/element.cjs");var a=function(t){if(n.isHidden(t))return 1/0;for(var r=0,e=t.parentNode;e;)r+=1,e=e.parentNode;return r};exports.calculateDepthForNode=a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="ResizeObserver loop completed with undelivered notifications.",o=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:r}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=r),window.dispatchEvent(e)};exports.deliverResizeLoopError=o;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var r = "ResizeObserver loop completed with undelivered notifications.", t = function() {
|
|
2
|
-
var e;
|
|
3
|
-
typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
|
|
4
|
-
message: r
|
|
5
|
-
}) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = r), window.dispatchEvent(e);
|
|
6
|
-
};
|
|
7
|
-
export {
|
|
8
|
-
t as deliverResizeLoopError
|
|
9
|
-
};
|
package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../utils/resizeObservers.cjs"),i=require("./calculateDepthForNode.cjs");var a=function(s){r.resizeObservers.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(i.calculateDepthForNode(t.target)>s?e.activeTargets.push(t):e.skippedTargets.push(t))})})};exports.gatherActiveObservationsAtDepth=a;
|
package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { resizeObservers as r } from "../utils/resizeObservers.js";
|
|
2
|
-
import { calculateDepthForNode as i } from "./calculateDepthForNode.js";
|
|
3
|
-
var n = function(t) {
|
|
4
|
-
r.forEach(function(e) {
|
|
5
|
-
e.activeTargets.splice(0, e.activeTargets.length), e.skippedTargets.splice(0, e.skippedTargets.length), e.observationTargets.forEach(function(s) {
|
|
6
|
-
s.isActive() && (i(s.target) > t ? e.activeTargets.push(s) : e.skippedTargets.push(s));
|
|
7
|
-
});
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
n as gatherActiveObservationsAtDepth
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../utils/resizeObservers.cjs");var t=function(){return r.resizeObservers.some(function(e){return e.activeTargets.length>0})};exports.hasActiveObservations=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../utils/resizeObservers.cjs");var s=function(){return r.resizeObservers.some(function(e){return e.skippedTargets.length>0})};exports.hasSkippedObservations=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var s=function(e){return e instanceof SVGElement&&"getBBox"in e},f=function(e){if(s(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,a=i.offsetWidth,c=i.offsetHeight;return!(a||c||e.getClientRects().length)},l=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},o=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};exports.isElement=l;exports.isHidden=f;exports.isReplacedElement=o;exports.isSVG=s;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
var c = function(e) {
|
|
2
|
-
return e instanceof SVGElement && "getBBox" in e;
|
|
3
|
-
}, f = function(e) {
|
|
4
|
-
if (c(e)) {
|
|
5
|
-
var n = e.getBBox(), t = n.width, s = n.height;
|
|
6
|
-
return !t && !s;
|
|
7
|
-
}
|
|
8
|
-
var i = e, r = i.offsetWidth, a = i.offsetHeight;
|
|
9
|
-
return !(r || a || e.getClientRects().length);
|
|
10
|
-
}, o = function(e) {
|
|
11
|
-
var n;
|
|
12
|
-
if (e instanceof Element)
|
|
13
|
-
return !0;
|
|
14
|
-
var t = (n = e == null ? void 0 : e.ownerDocument) === null || n === void 0 ? void 0 : n.defaultView;
|
|
15
|
-
return !!(t && e instanceof t.Element);
|
|
16
|
-
}, u = function(e) {
|
|
17
|
-
switch (e.tagName) {
|
|
18
|
-
case "INPUT":
|
|
19
|
-
if (e.type !== "image")
|
|
20
|
-
break;
|
|
21
|
-
case "VIDEO":
|
|
22
|
-
case "AUDIO":
|
|
23
|
-
case "EMBED":
|
|
24
|
-
case "OBJECT":
|
|
25
|
-
case "CANVAS":
|
|
26
|
-
case "IFRAME":
|
|
27
|
-
case "IMG":
|
|
28
|
-
return !0;
|
|
29
|
-
}
|
|
30
|
-
return !1;
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
o as isElement,
|
|
34
|
-
f as isHidden,
|
|
35
|
-
u as isReplacedElement,
|
|
36
|
-
c as isSVG
|
|
37
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=function(e){return Object.freeze(e)};exports.freeze=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=typeof window<"u"?window:{};exports.global=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../algorithms/hasActiveObservations.cjs"),s=require("../algorithms/hasSkippedObservations.cjs"),i=require("../algorithms/deliverResizeLoopError.cjs"),o=require("../algorithms/broadcastActiveObservations.cjs"),r=require("../algorithms/gatherActiveObservationsAtDepth.cjs");var a=function(){var e=0;for(r.gatherActiveObservationsAtDepth(e);t.hasActiveObservations();)e=o.broadcastActiveObservations(),r.gatherActiveObservationsAtDepth(e);return s.hasSkippedObservations()&&i.deliverResizeLoopError(),e>0};exports.process=a;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { hasActiveObservations as t } from "../algorithms/hasActiveObservations.js";
|
|
2
|
-
import { hasSkippedObservations as e } from "../algorithms/hasSkippedObservations.js";
|
|
3
|
-
import { deliverResizeLoopError as i } from "../algorithms/deliverResizeLoopError.js";
|
|
4
|
-
import { broadcastActiveObservations as s } from "../algorithms/broadcastActiveObservations.js";
|
|
5
|
-
import { gatherActiveObservationsAtDepth as o } from "../algorithms/gatherActiveObservationsAtDepth.js";
|
|
6
|
-
var n = function() {
|
|
7
|
-
var r = 0;
|
|
8
|
-
for (o(r); t(); )
|
|
9
|
-
r = s(), o(r);
|
|
10
|
-
return e() && i(), r > 0;
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
n as process
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t,a=[],u=function(){return a.splice(0).forEach(function(r){return r()})},o=function(r){if(!t){var e=0,n=document.createTextNode(""),c={characterData:!0};new MutationObserver(function(){return u()}).observe(n,c),t=function(){n.textContent="".concat(e?e--:e++)}}a.push(r),t()};exports.queueMicroTask=o;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var n, a = [], u = function() {
|
|
2
|
-
return a.splice(0).forEach(function(r) {
|
|
3
|
-
return r();
|
|
4
|
-
});
|
|
5
|
-
}, o = function(r) {
|
|
6
|
-
if (!n) {
|
|
7
|
-
var t = 0, e = document.createTextNode(""), c = { characterData: !0 };
|
|
8
|
-
new MutationObserver(function() {
|
|
9
|
-
return u();
|
|
10
|
-
}).observe(e, c), n = function() {
|
|
11
|
-
e.textContent = "".concat(t ? t-- : t++);
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
a.push(r), n();
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
o as queueMicroTask
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./queueMicroTask.cjs");var u=function(e){r.queueMicroTask(function(){requestAnimationFrame(e)})};exports.queueResizeObserver=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=[];exports.resizeObservers=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./process.cjs"),n=require("./global.cjs"),h=require("./queueResizeObserver.cjs");var s=0,l=function(){return!!s},f=250,p={attributes:!0,characterData:!0,childList:!0,subtree:!0},a=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],c=function(t){return t===void 0&&(t=0),Date.now()+t},i=!1,b=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var r=this;if(e===void 0&&(e=f),!i){i=!0;var v=c(e);h.queueResizeObserver(function(){var u=!1;try{u=d.process()}finally{if(i=!1,e=v-c(),!l())return;u?r.run(1e3):e>0?r.run(e):r.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,r=function(){return e.observer&&e.observer.observe(document.body,p)};document.body?r():n.global.addEventListener("DOMContentLoaded",r)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),a.forEach(function(r){return n.global.addEventListener(r,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),a.forEach(function(r){return n.global.removeEventListener(r,e.listener,!0)}),this.stopped=!0)},t}(),o=new b,y=function(t){!s&&t>0&&o.start(),s+=t,!s&&o.stop()};exports.scheduler=o;exports.updateCount=y;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { process as f } from "./process.js";
|
|
2
|
-
import { global as s } from "./global.js";
|
|
3
|
-
import { queueResizeObserver as h } from "./queueResizeObserver.js";
|
|
4
|
-
var n = 0, d = function() {
|
|
5
|
-
return !!n;
|
|
6
|
-
}, p = 250, l = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, u = [
|
|
7
|
-
"resize",
|
|
8
|
-
"load",
|
|
9
|
-
"transitionend",
|
|
10
|
-
"animationend",
|
|
11
|
-
"animationstart",
|
|
12
|
-
"animationiteration",
|
|
13
|
-
"keyup",
|
|
14
|
-
"keydown",
|
|
15
|
-
"mouseup",
|
|
16
|
-
"mousedown",
|
|
17
|
-
"mouseover",
|
|
18
|
-
"mouseout",
|
|
19
|
-
"blur",
|
|
20
|
-
"focus"
|
|
21
|
-
], a = function(t) {
|
|
22
|
-
return t === void 0 && (t = 0), Date.now() + t;
|
|
23
|
-
}, i = !1, b = function() {
|
|
24
|
-
function t() {
|
|
25
|
-
var e = this;
|
|
26
|
-
this.stopped = !0, this.listener = function() {
|
|
27
|
-
return e.schedule();
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
return t.prototype.run = function(e) {
|
|
31
|
-
var r = this;
|
|
32
|
-
if (e === void 0 && (e = p), !i) {
|
|
33
|
-
i = !0;
|
|
34
|
-
var c = a(e);
|
|
35
|
-
h(function() {
|
|
36
|
-
var o = !1;
|
|
37
|
-
try {
|
|
38
|
-
o = f();
|
|
39
|
-
} finally {
|
|
40
|
-
if (i = !1, e = c - a(), !d())
|
|
41
|
-
return;
|
|
42
|
-
o ? r.run(1e3) : e > 0 ? r.run(e) : r.start();
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
}, t.prototype.schedule = function() {
|
|
47
|
-
this.stop(), this.run();
|
|
48
|
-
}, t.prototype.observe = function() {
|
|
49
|
-
var e = this, r = function() {
|
|
50
|
-
return e.observer && e.observer.observe(document.body, l);
|
|
51
|
-
};
|
|
52
|
-
document.body ? r() : s.addEventListener("DOMContentLoaded", r);
|
|
53
|
-
}, t.prototype.start = function() {
|
|
54
|
-
var e = this;
|
|
55
|
-
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), u.forEach(function(r) {
|
|
56
|
-
return s.addEventListener(r, e.listener, !0);
|
|
57
|
-
}));
|
|
58
|
-
}, t.prototype.stop = function() {
|
|
59
|
-
var e = this;
|
|
60
|
-
this.stopped || (this.observer && this.observer.disconnect(), u.forEach(function(r) {
|
|
61
|
-
return s.removeEventListener(r, e.listener, !0);
|
|
62
|
-
}), this.stopped = !0);
|
|
63
|
-
}, t;
|
|
64
|
-
}(), v = new b(), E = function(t) {
|
|
65
|
-
!n && t > 0 && v.start(), n += t, !n && v.stop();
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
v as scheduler,
|
|
69
|
-
E as updateCount
|
|
70
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../core/xy-component/config.cjs"),n=require("../../types/curve.cjs"),o=Object.assign(Object.assign({},e.XYComponentDefaultConfig),{color:void 0,curveType:n.CurveType.MonotoneX,baseline:()=>0,opacity:1,cursor:null,minHeight1Px:!1});exports.AreaDefaultConfig=o;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { XYComponentDefaultConfig as e } from "../../core/xy-component/config.js";
|
|
2
|
-
import { CurveType as o } from "../../types/curve.js";
|
|
3
|
-
const i = Object.assign(Object.assign({}, e), { color: void 0, curveType: o.MonotoneX, baseline: () => 0, opacity: 1, cursor: null, minHeight1Px: !1 });
|
|
4
|
-
export {
|
|
5
|
-
i as AreaDefaultConfig
|
|
6
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("../../../../d3-interpolate-path/build/d3-interpolate-path.cjs"),b=require("../../core/xy-component/index.cjs"),n=require("../../utils/data.cjs"),f=require("../../utils/d3.cjs"),x=require("../../utils/color.cjs"),D=require("../../types/curve.cjs"),k=require("./config.cjs"),u=require("./style.cjs"),G=require("../../../../d3-shape/src/area.cjs"),N=require("../../../../d3-selection/src/select.cjs");class y extends b.XYComponentCore{constructor(r){super(),this._defaultConfig=k.AreaDefaultConfig,this.config=this._defaultConfig,this.stacked=!0,this.events={[y.selectors.area]:{}},r&&this.setConfig(r),this.stacked=Array.isArray(this.config.y)}_render(r){super._render(r);const{config:t,datamodel:{data:s}}=this,i=n.isNumber(r)?r:t.duration,d=D.Curve[t.curveType];this._areaGen=G.default().x(e=>e.x).y0(e=>e.y0).y1(e=>{const a=Math.abs(e.y1-e.y0)<1;return e.y1-(a&&t.minHeight1Px?1:0)}).curve(d);const v=n.isArray(t.y)?t.y:[t.y],_=s.map((e,a)=>this.xScale(n.getNumber(e,t.x,a))),g=n.getStackedData(s,t.baseline,v,this._prevNegative);this._prevNegative=g.map(e=>!!e.isMostlyNegative);const p=g.map(e=>e.map((a,c)=>({y0:this.yScale(a[0]),y1:this.yScale(a[1]),x:_[c]}))),o=p.length-1,S=p.reverse(),h=this.g.selectAll(`.${u.area}`).data(S),q=h.enter().append("path").attr("class",u.area).attr("d",e=>this._areaGen(e)||this._emptyPath()).style("opacity",0).style("fill",(e,a)=>x.getColor(s,t.color,o-a)),m=f.smartTransition(q.merge(h),i).style("opacity",(e,a)=>e.some(l=>l.y0-l.y1!==0)?n.getNumber(s,t.opacity,o-a):0).style("fill",(e,a)=>x.getColor(s,t.color,o-a)).style("cursor",(e,a)=>n.getString(s,t.cursor,o-a));i?m.attrTween("d",(a,c,l)=>{const A=N.default(l[c]).attr("d"),C=this._areaGen(a)||this._emptyPath();return P.interpolatePath(A,C)}):m.attr("d",e=>this._areaGen(e)||this._emptyPath()),f.smartTransition(h.exit(),i).style("opacity",0).remove()}getYDataExtent(r){const{config:t,datamodel:s}=this,i=n.isArray(t.y)?t.y:[t.y],d=r?n.filterDataByRange(s.data,this.xScale.domain(),t.x):s.data;return n.getStackedExtent(d,t.baseline,...i)}_emptyPath(){const r=this.xScale.range(),t=this.yScale.domain(),s=this.yScale((t[0]+t[1])/2),i=s;return this._areaGen([{y0:s,y1:i,x:r[0]},{y0:s,y1:i,x:r[1]}])}}y.selectors=u;exports.Area=y;
|