@burdenoff/microfe-labsofscience 2026.820.1 → 2026.820.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/dist/_virtual/_rolldown/runtime.js +23 -0
- package/dist/labsofscience/LabsOfScienceRoutes.d.ts.map +1 -1
- package/dist/labsofscience/LabsOfScienceRoutes.js +11 -7
- package/dist/labsofscience/LabsOfScienceRoutes.js.map +1 -1
- package/dist/labsofscience/components/ProvenancePanel.d.ts +14 -0
- package/dist/labsofscience/components/ProvenancePanel.d.ts.map +1 -0
- package/dist/labsofscience/components/ProvenancePanel.js +113 -0
- package/dist/labsofscience/components/ProvenancePanel.js.map +1 -0
- package/dist/labsofscience/components/provenanceMapping.d.ts +35 -0
- package/dist/labsofscience/components/provenanceMapping.d.ts.map +1 -0
- package/dist/labsofscience/components/provenanceMapping.js +101 -0
- package/dist/labsofscience/components/provenanceMapping.js.map +1 -0
- package/dist/labsofscience/hooks/index.d.ts +1 -1
- package/dist/labsofscience/hooks/index.d.ts.map +1 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.d.ts +26 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.d.ts.map +1 -1
- package/dist/labsofscience/hooks/useLabsOfScienceApi.js +115 -55
- package/dist/labsofscience/hooks/useLabsOfScienceApi.js.map +1 -1
- package/dist/labsofscience/pages/OverviewPage.d.ts +3 -3
- package/dist/labsofscience/pages/OverviewPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/OverviewPage.js +240 -176
- package/dist/labsofscience/pages/OverviewPage.js.map +1 -1
- package/dist/labsofscience/pages/ai/AiOperationsPage.js +10 -10
- package/dist/labsofscience/pages/analytics/AnalyticsPage.d.ts +9 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.d.ts.map +1 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.js +295 -0
- package/dist/labsofscience/pages/analytics/AnalyticsPage.js.map +1 -0
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.js +80 -75
- package/dist/labsofscience/pages/datasets/DatasetDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentActivitySummary.d.ts +8 -0
- package/dist/labsofscience/pages/experiments/ExperimentActivitySummary.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentActivitySummary.js +132 -0
- package/dist/labsofscience/pages/experiments/ExperimentActivitySummary.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.d.ts +3 -3
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.js +184 -161
- package/dist/labsofscience/pages/experiments/ExperimentDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/experiments/ExperimentLifecycleStepper.d.ts +8 -0
- package/dist/labsofscience/pages/experiments/ExperimentLifecycleStepper.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentLifecycleStepper.js +43 -0
- package/dist/labsofscience/pages/experiments/ExperimentLifecycleStepper.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentLinkedItems.d.ts +16 -0
- package/dist/labsofscience/pages/experiments/ExperimentLinkedItems.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentLinkedItems.js +119 -0
- package/dist/labsofscience/pages/experiments/ExperimentLinkedItems.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentRunProgress.d.ts +8 -0
- package/dist/labsofscience/pages/experiments/ExperimentRunProgress.d.ts.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentRunProgress.js +78 -0
- package/dist/labsofscience/pages/experiments/ExperimentRunProgress.js.map +1 -0
- package/dist/labsofscience/pages/experiments/ExperimentsListPage.js +11 -11
- package/dist/labsofscience/pages/instruments/InstrumentDetailPage.js +9 -9
- package/dist/labsofscience/pages/instruments/InstrumentsListPage.js +9 -9
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.js +82 -77
- package/dist/labsofscience/pages/notebook/NotebookEntryDetailPage.js.map +1 -1
- package/dist/labsofscience/pages/pipelines/PipelinesPage.d.ts.map +1 -1
- package/dist/labsofscience/pages/pipelines/PipelinesPage.js +85 -118
- package/dist/labsofscience/pages/pipelines/PipelinesPage.js.map +1 -1
- package/dist/labsofscience/pages/projects/ProjectDetailPage.js +15 -15
- package/dist/labsofscience/pages/projects/ProjectsListPage.js +12 -12
- package/dist/labsofscience/types/index.d.ts +73 -0
- package/dist/labsofscience/types/index.d.ts.map +1 -1
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +764 -0
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js.map +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +8 -0
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +10 -0
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +43 -0
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
- package/dist/node_modules/d3-array/src/descending.js +8 -0
- package/dist/node_modules/d3-array/src/descending.js.map +1 -0
- package/dist/node_modules/d3-array/src/max.js +14 -0
- package/dist/node_modules/d3-array/src/max.js.map +1 -0
- package/dist/node_modules/d3-array/src/min.js +14 -0
- package/dist/node_modules/d3-array/src/min.js.map +1 -0
- package/dist/node_modules/d3-array/src/number.js +15 -0
- package/dist/node_modules/d3-array/src/number.js.map +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +25 -0
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-array/src/quickselect.js +26 -0
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
- package/dist/node_modules/d3-array/src/range.js +10 -0
- package/dist/node_modules/d3-array/src/range.js.map +1 -0
- package/dist/node_modules/d3-array/src/sort.js +17 -0
- package/dist/node_modules/d3-array/src/sort.js.map +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +34 -0
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-color/src/color.js +291 -0
- package/dist/node_modules/d3-color/src/color.js.map +1 -0
- package/dist/node_modules/d3-color/src/define.js +13 -0
- package/dist/node_modules/d3-color/src/define.js.map +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +9 -0
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
- package/dist/node_modules/d3-format/src/identity.js +8 -0
- package/dist/node_modules/d3-format/src/identity.js.map +1 -0
- package/dist/node_modules/d3-format/src/locale.js +86 -0
- package/dist/node_modules/d3-format/src/locale.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +15 -0
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +11 -0
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +10 -0
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +10 -0
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +28 -0
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +18 -0
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
- package/dist/node_modules/d3-path/src/path.js +65 -0
- package/dist/node_modules/d3-path/src/path.js.map +1 -0
- package/dist/node_modules/d3-scale/src/band.js +52 -0
- package/dist/node_modules/d3-scale/src/band.js.map +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +10 -0
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +73 -0
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +82 -0
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +20 -0
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
- package/dist/node_modules/d3-scale/src/init.js +29 -0
- package/dist/node_modules/d3-scale/src/init.js.map +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +36 -0
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
- package/dist/node_modules/d3-scale/src/log.js +77 -0
- package/dist/node_modules/d3-scale/src/log.js.map +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +10 -0
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
- package/dist/node_modules/d3-scale/src/number.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js.map +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +33 -0
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
- package/dist/node_modules/d3-scale/src/radial.js +39 -0
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +67 -0
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +30 -0
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +25 -0
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
- package/dist/node_modules/d3-scale/src/time.js +47 -0
- package/dist/node_modules/d3-scale/src/time.js.map +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
- package/dist/node_modules/d3-shape/src/area.js +55 -0
- package/dist/node_modules/d3-shape/src/area.js.map +1 -0
- package/dist/node_modules/d3-shape/src/array.js +8 -0
- package/dist/node_modules/d3-shape/src/array.js.map +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +10 -0
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
- package/dist/node_modules/d3-shape/src/line.js +30 -0
- package/dist/node_modules/d3-shape/src/line.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/math.js.map +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/order/none.js +9 -0
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/path.js +19 -0
- package/dist/node_modules/d3-shape/src/path.js.map +1 -0
- package/dist/node_modules/d3-shape/src/point.js +11 -0
- package/dist/node_modules/d3-shape/src/point.js.map +1 -0
- package/dist/node_modules/d3-shape/src/stack.js +34 -0
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +23 -0
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
- package/dist/node_modules/d3-time/src/day.js +21 -0
- package/dist/node_modules/d3-time/src/day.js.map +1 -0
- package/dist/node_modules/d3-time/src/duration.js +6 -0
- package/dist/node_modules/d3-time/src/duration.js.map +1 -0
- package/dist/node_modules/d3-time/src/hour.js +19 -0
- package/dist/node_modules/d3-time/src/hour.js.map +1 -0
- package/dist/node_modules/d3-time/src/interval.js +28 -0
- package/dist/node_modules/d3-time/src/interval.js.map +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
- package/dist/node_modules/d3-time/src/minute.js +19 -0
- package/dist/node_modules/d3-time/src/minute.js.map +1 -0
- package/dist/node_modules/d3-time/src/month.js +18 -0
- package/dist/node_modules/d3-time/src/month.js.map +1 -0
- package/dist/node_modules/d3-time/src/second.js +13 -0
- package/dist/node_modules/d3-time/src/second.js.map +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +125 -0
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-time/src/week.js +25 -0
- package/dist/node_modules/d3-time/src/week.js.map +1 -0
- package/dist/node_modules/d3-time/src/year.js +26 -0
- package/dist/node_modules/d3-time/src/year.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +490 -0
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
- package/dist/node_modules/decimal.js-light/decimal.js +378 -0
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js +8 -0
- package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +8 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/array/flatten.js +14 -0
- package/dist/node_modules/es-toolkit/dist/array/flatten.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/array/uniqBy.js +13 -0
- package/dist/node_modules/es-toolkit/dist/array/uniqBy.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +19 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +13 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +12 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +10 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/normalizeZero.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/normalizeZero.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +6 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +34 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +12 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/uniqBy.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/uniqBy.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +17 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/math/range.js +13 -0
- package/dist/node_modules/es-toolkit/dist/compat/math/range.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +33 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js +40 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/has.js +20 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/has.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/property.js +11 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/property.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +75 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js +10 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +24 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js +17 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +35 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toString.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toString.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/ary.js +10 -0
- package/dist/node_modules/es-toolkit/dist/function/ary.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +28 -0
- package/dist/node_modules/es-toolkit/dist/function/debounce.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/identity.js +8 -0
- package/dist/node_modules/es-toolkit/dist/function/identity.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/noop.js +6 -0
- package/dist/node_modules/es-toolkit/dist/function/noop.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js +9 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +118 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js +9 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js +10 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js +98 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +8 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js +10 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +8 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +8 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +95 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/eventemitter3/index2.js +7 -0
- package/dist/node_modules/eventemitter3/index2.js.map +1 -0
- package/dist/node_modules/immer/dist/immer.js +452 -0
- package/dist/node_modules/immer/dist/immer.js.map +1 -0
- package/dist/node_modules/internmap/src/index.js +40 -0
- package/dist/node_modules/internmap/src/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-redux/dist/react-redux.js +129 -0
- package/dist/node_modules/react-redux/dist/react-redux.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/AnimatedItems.js +81 -0
- package/dist/node_modules/recharts/es6/animation/AnimatedItems.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/AnimationControllerImpl.js +20 -0
- package/dist/node_modules/recharts/es6/animation/AnimationControllerImpl.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/AnimationHandle.js +99 -0
- package/dist/node_modules/recharts/es6/animation/AnimationHandle.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +93 -0
- package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/easing.js +103 -0
- package/dist/node_modules/recharts/es6/animation/easing.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/matchBy.js +104 -0
- package/dist/node_modules/recharts/es6/animation/matchBy.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/timeoutController.js +15 -0
- package/dist/node_modules/recharts/es6/animation/timeoutController.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationController.js +13 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationController.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationStartSnapshot.js +22 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationStartSnapshot.js.map +1 -0
- package/dist/node_modules/recharts/es6/animation/util.js +6 -0
- package/dist/node_modules/recharts/es6/animation/util.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +536 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/BarStack.js +54 -0
- package/dist/node_modules/recharts/es6/cartesian/BarStack.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +400 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +309 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js +28 -0
- package/dist/node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +450 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/LineDrawShape.js +91 -0
- package/dist/node_modules/recharts/es6/cartesian/LineDrawShape.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +201 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +203 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js +16 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js +15 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getCartesianPosition.js +152 -0
- package/dist/node_modules/recharts/es6/cartesian/getCartesianPosition.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +37 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +109 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/useAnimatedLineLength.js +15 -0
- package/dist/node_modules/recharts/es6/cartesian/useAnimatedLineLength.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +17 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/CartesianChart.js +113 -0
- package/dist/node_modules/recharts/es6/chart/CartesianChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/CategoricalChart.js +74 -0
- package/dist/node_modules/recharts/es6/chart/CategoricalChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js +17 -0
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js +68 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/PolarChart.js +144 -0
- package/dist/node_modules/recharts/es6/chart/PolarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/RechartsWrapper.js +298 -0
- package/dist/node_modules/recharts/es6/chart/RechartsWrapper.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ActivePoints.js +93 -0
- package/dist/node_modules/recharts/es6/component/ActivePoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +7 -0
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +118 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +175 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Dots.js +119 -0
- package/dist/node_modules/recharts/es6/component/Dots.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Label.js +272 -0
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +84 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +253 -0
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +232 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Text.js +240 -0
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +196 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +152 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/responsiveContainerUtils.js +42 -0
- package/dist/node_modules/recharts/es6/component/responsiveContainerUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/ClipPathProvider.js +62 -0
- package/dist/node_modules/recharts/es6/container/ClipPathProvider.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/RootSurface.js +75 -0
- package/dist/node_modules/recharts/es6/container/RootSurface.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +62 -0
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/ErrorBarContext.js +41 -0
- package/dist/node_modules/recharts/es6/context/ErrorBarContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/PanoramaContext.js +7 -0
- package/dist/node_modules/recharts/es6/context/PanoramaContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/RegisterGraphicalItemId.js +12 -0
- package/dist/node_modules/recharts/es6/context/RegisterGraphicalItemId.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/accessibilityContext.js +7 -0
- package/dist/node_modules/recharts/es6/context/accessibilityContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartDataContext.js +19 -0
- package/dist/node_modules/recharts/es6/context/chartDataContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +50 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/legendPayloadContext.js +10 -0
- package/dist/node_modules/recharts/es6/context/legendPayloadContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/legendPortalContext.js +7 -0
- package/dist/node_modules/recharts/es6/context/legendPortalContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/tooltipContext.js +33 -0
- package/dist/node_modules/recharts/es6/context/tooltipContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/tooltipPortalContext.js +7 -0
- package/dist/node_modules/recharts/es6/context/tooltipPortalContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/useTooltipAxis.js +56 -0
- package/dist/node_modules/recharts/es6/context/useTooltipAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/hooks.js +9 -0
- package/dist/node_modules/recharts/es6/hooks.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js +460 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarAngleAxisProps.js +29 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarAngleAxisProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarRadiusAxisProps.js +27 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarRadiusAxisProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +102 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +123 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +28 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +275 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +205 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +133 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/RechartsReduxContext.js +7 -0
- package/dist/node_modules/recharts/es6/state/RechartsReduxContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/RechartsStoreProvider.js +21 -0
- package/dist/node_modules/recharts/es6/state/RechartsStoreProvider.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/ReportChartProps.js +14 -0
- package/dist/node_modules/recharts/es6/state/ReportChartProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/ReportEventSettings.js +14 -0
- package/dist/node_modules/recharts/es6/state/ReportEventSettings.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/ReportMainChartProps.js +22 -0
- package/dist/node_modules/recharts/es6/state/ReportMainChartProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/ReportPolarOptions.js +14 -0
- package/dist/node_modules/recharts/es6/state/ReportPolarOptions.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/SetGraphicalItem.js +28 -0
- package/dist/node_modules/recharts/es6/state/SetGraphicalItem.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/SetLegendPayload.js +40 -0
- package/dist/node_modules/recharts/es6/state/SetLegendPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/SetTooltipEntrySettings.js +24 -0
- package/dist/node_modules/recharts/es6/state/SetTooltipEntrySettings.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/brushSlice.js +26 -0
- package/dist/node_modules/recharts/es6/state/brushSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/cartesianAxisSlice.js +143 -0
- package/dist/node_modules/recharts/es6/state/cartesianAxisSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/chartDataSlice.js +34 -0
- package/dist/node_modules/recharts/es6/state/chartDataSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/errorBarSlice.js +26 -0
- package/dist/node_modules/recharts/es6/state/errorBarSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/eventSettingsSlice.js +23 -0
- package/dist/node_modules/recharts/es6/state/eventSettingsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/externalEventsMiddleware.js +57 -0
- package/dist/node_modules/recharts/es6/state/externalEventsMiddleware.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/graphicalItemsSlice.js +56 -0
- package/dist/node_modules/recharts/es6/state/graphicalItemsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/hooks.js +18 -0
- package/dist/node_modules/recharts/es6/state/hooks.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/keyboardEventsMiddleware.js +108 -0
- package/dist/node_modules/recharts/es6/state/keyboardEventsMiddleware.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/layoutSlice.js +35 -0
- package/dist/node_modules/recharts/es6/state/layoutSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/legendSlice.js +53 -0
- package/dist/node_modules/recharts/es6/state/legendSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/mouseEventsMiddleware.js +51 -0
- package/dist/node_modules/recharts/es6/state/mouseEventsMiddleware.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/optionsSlice.js +24 -0
- package/dist/node_modules/recharts/es6/state/optionsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/polarAxisSlice.js +30 -0
- package/dist/node_modules/recharts/es6/state/polarAxisSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/polarOptionsSlice.js +11 -0
- package/dist/node_modules/recharts/es6/state/polarOptionsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js +8 -0
- package/dist/node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/referenceElementsSlice.js +39 -0
- package/dist/node_modules/recharts/es6/state/referenceElementsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/renderedTicksSlice.js +23 -0
- package/dist/node_modules/recharts/es6/state/renderedTicksSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/rootPropsSlice.js +25 -0
- package/dist/node_modules/recharts/es6/state/rootPropsSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js +15 -0
- package/dist/node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +829 -0
- package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/barSelectors.js +104 -0
- package/dist/node_modules/recharts/es6/state/selectors/barSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +19 -0
- package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js +10 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js +36 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js +94 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAxisRangeWithReverse.js +8 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAxisRangeWithReverse.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineBarPosition.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineBarPosition.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js +70 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js +21 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js +23 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCoordinateForDefaultIndex.js +22 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCoordinateForDefaultIndex.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js +9 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineStackedData.js +19 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineStackedData.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js +74 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +106 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayloadConfigurations.js +16 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayloadConfigurations.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/containerSelectors.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/containerSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +24 -0
- package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/lineSelectors.js +46 -0
- package/dist/node_modules/recharts/es6/state/selectors/lineSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisId.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisId.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisType.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisType.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/pieSelectors.js +92 -0
- package/dist/node_modules/recharts/es6/state/selectors/pieSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +141 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarSelectors.js +72 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/rootPropsSelectors.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/rootPropsSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectActivePropsFromChartPointer.js +21 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectActivePropsFromChartPointer.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectAllAxes.js +7 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectAllAxes.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +13 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +102 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectLegendArea.js +17 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectLegendArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectPlotArea.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectPlotArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +10 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipEventType.js +18 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipEventType.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipPayloadSearcher.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipPayloadSearcher.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipSettings.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipSettings.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipState.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipState.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectors.js +87 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +207 -0
- package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/selectors/touchSelectors.js +19 -0
- package/dist/node_modules/recharts/es6/state/selectors/touchSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/store.js +75 -0
- package/dist/node_modules/recharts/es6/state/store.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/tooltipSlice.js +93 -0
- package/dist/node_modules/recharts/es6/state/tooltipSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/touchEventsMiddleware.js +70 -0
- package/dist/node_modules/recharts/es6/state/touchEventsMiddleware.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +8 -0
- package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js.map +1 -0
- package/dist/node_modules/recharts/es6/state/zIndexSlice.js +101 -0
- package/dist/node_modules/recharts/es6/state/zIndexSlice.js.map +1 -0
- package/dist/node_modules/recharts/es6/synchronisation/syncSelectors.js +8 -0
- package/dist/node_modules/recharts/es6/synchronisation/syncSelectors.js.map +1 -0
- package/dist/node_modules/recharts/es6/synchronisation/useChartSynchronisation.js +224 -0
- package/dist/node_modules/recharts/es6/synchronisation/useChartSynchronisation.js.map +1 -0
- package/dist/node_modules/recharts/es6/theme/RechartsThemeContext.js +10 -0
- package/dist/node_modules/recharts/es6/theme/RechartsThemeContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/theme/legacyTheme.js +9 -0
- package/dist/node_modules/recharts/es6/theme/legacyTheme.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +73 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +48 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +12 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +240 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Constants.js +6 -0
- package/dist/node_modules/recharts/es6/util/Constants.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +92 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +37 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Global.js +8 -0
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LRUCache.js +50 -0
- package/dist/node_modules/recharts/es6/util/LRUCache.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +13 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +113 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +24 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +160 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/XAxisUtils.js +19 -0
- package/dist/node_modules/recharts/es6/util/XAxisUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/YAxisUtils.js +19 -0
- package/dist/node_modules/recharts/es6/util/YAxisUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/axisPropsAreEqual.js +33 -0
- package/dist/node_modules/recharts/es6/util/axisPropsAreEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/createEventProxy.js +14 -0
- package/dist/node_modules/recharts/es6/util/createEventProxy.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +37 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/excludeEventProps.js +9 -0
- package/dist/node_modules/recharts/es6/util/excludeEventProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getActiveCoordinate.js +136 -0
- package/dist/node_modules/recharts/es6/util/getActiveCoordinate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js +10 -0
- package/dist/node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getClassNameFromUnknown.js +8 -0
- package/dist/node_modules/recharts/es6/util/getClassNameFromUnknown.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getEveryNth.js +14 -0
- package/dist/node_modules/recharts/es6/util/getEveryNth.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js +20 -0
- package/dist/node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getRelativeCoordinate.js +23 -0
- package/dist/node_modules/recharts/es6/util/getRelativeCoordinate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getSliced.js +8 -0
- package/dist/node_modules/recharts/es6/util/getSliced.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +110 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isWellBehavedNumber.js +11 -0
- package/dist/node_modules/recharts/es6/util/isWellBehavedNumber.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +9 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/propsAreEqual.js +39 -0
- package/dist/node_modules/recharts/es6/util/propsAreEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/resolveDefaultProps.js +52 -0
- package/dist/node_modules/recharts/es6/util/resolveDefaultProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/round.js +15 -0
- package/dist/node_modules/recharts/es6/util/round.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/scale/RechartsScale.js +47 -0
- package/dist/node_modules/recharts/es6/util/scale/RechartsScale.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/scale/createCategoricalInverse.js +24 -0
- package/dist/node_modules/recharts/es6/util/scale/createCategoricalInverse.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +116 -0
- package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/scale/util/arithmetic.js +15 -0
- package/dist/node_modules/recharts/es6/util/scale/util/arithmetic.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +8 -0
- package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesAndEvents.js +16 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesAndEvents.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +27 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +64 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/types.js +23 -0
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useAnimationId.js +11 -0
- package/dist/node_modules/recharts/es6/util/useAnimationId.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useElementOffset.js +86 -0
- package/dist/node_modules/recharts/es6/util/useElementOffset.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useId.js +49 -0
- package/dist/node_modules/recharts/es6/util/useId.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/usePrefersReducedMotion.js +62 -0
- package/dist/node_modules/recharts/es6/util/usePrefersReducedMotion.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useReportScale.js +65 -0
- package/dist/node_modules/recharts/es6/util/useReportScale.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/useUniqueId.js +10 -0
- package/dist/node_modules/recharts/es6/util/useUniqueId.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/DefaultZIndexes.js +19 -0
- package/dist/node_modules/recharts/es6/zIndex/DefaultZIndexes.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexLayer.js +45 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexLayer.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexPortal.js +45 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexPortal.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js +9 -0
- package/dist/node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js.map +1 -0
- package/dist/node_modules/recharts/es6/zIndex/zIndexSelectors.js +17 -0
- package/dist/node_modules/recharts/es6/zIndex/zIndexSelectors.js.map +1 -0
- package/dist/node_modules/redux/dist/redux.js +203 -0
- package/dist/node_modules/redux/dist/redux.js.map +1 -0
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js +9 -0
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js.map +1 -0
- package/dist/node_modules/reselect/dist/reselect.js +178 -0
- package/dist/node_modules/reselect/dist/reselect.js.map +1 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +56 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +54 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +54 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +46 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +55 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +53 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +12 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +12 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js +12 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { getCartesianPosition as e, isOutsidePosition as t } from "../cartesian/getCartesianPosition.js";
|
|
2
|
+
import { useLegendPortal as n } from "../context/legendPortalContext.js";
|
|
3
|
+
import { resolveDefaultProps as r } from "../util/resolveDefaultProps.js";
|
|
4
|
+
import { DefaultLegendContent as i } from "./DefaultLegendContent.js";
|
|
5
|
+
import { getUniqPayload as a } from "../util/payload/getUniqPayload.js";
|
|
6
|
+
import { useAppDispatch as o, useAppSelector as s } from "../state/hooks.js";
|
|
7
|
+
import { useLegendPayload as c } from "../context/legendPayloadContext.js";
|
|
8
|
+
import { useElementOffset as l } from "../util/useElementOffset.js";
|
|
9
|
+
import { selectChartViewBox as u } from "../state/selectors/selectChartOffsetInternal.js";
|
|
10
|
+
import { useChartHeight as d, useChartWidth as f, useMargin as p } from "../context/chartLayoutContext.js";
|
|
11
|
+
import { setLegendSettings as m, setLegendSize as h } from "../state/legendSlice.js";
|
|
12
|
+
import { propsAreEqual as g } from "../util/propsAreEqual.js";
|
|
13
|
+
import { selectLegendArea as _ } from "../state/selectors/selectLegendArea.js";
|
|
14
|
+
import { cartesianPositionToCSSTranslate as v } from "../cartesian/cartesianPositionToCSSTranslate.js";
|
|
15
|
+
import * as y from "react";
|
|
16
|
+
import { useLayoutEffect as b } from "react";
|
|
17
|
+
import { createPortal as x } from "react-dom";
|
|
18
|
+
//#region node_modules/recharts/es6/component/Legend.js
|
|
19
|
+
var S = ["contextPayload"];
|
|
20
|
+
function C() {
|
|
21
|
+
return C = Object.assign ? Object.assign.bind() : function(e) {
|
|
22
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
23
|
+
var n = arguments[t];
|
|
24
|
+
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
25
|
+
}
|
|
26
|
+
return e;
|
|
27
|
+
}, C.apply(null, arguments);
|
|
28
|
+
}
|
|
29
|
+
function w(e, t) {
|
|
30
|
+
return k(e) || O(e, t) || E(e, t) || T();
|
|
31
|
+
}
|
|
32
|
+
function T() {
|
|
33
|
+
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
34
|
+
}
|
|
35
|
+
function E(e, t) {
|
|
36
|
+
if (e) {
|
|
37
|
+
if (typeof e == "string") return D(e, t);
|
|
38
|
+
var n = {}.toString.call(e).slice(8, -1);
|
|
39
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? D(e, t) : void 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function D(e, t) {
|
|
43
|
+
(t == null || t > e.length) && (t = e.length);
|
|
44
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
45
|
+
return r;
|
|
46
|
+
}
|
|
47
|
+
function O(e, t) {
|
|
48
|
+
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
49
|
+
if (n != null) {
|
|
50
|
+
var r, i, a, o, s = [], c = !0, l = !1;
|
|
51
|
+
try {
|
|
52
|
+
if (a = (n = n.call(e)).next, t === 0) {
|
|
53
|
+
if (Object(n) !== n) return;
|
|
54
|
+
c = !1;
|
|
55
|
+
} else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
56
|
+
} catch (e) {
|
|
57
|
+
l = !0, i = e;
|
|
58
|
+
} finally {
|
|
59
|
+
try {
|
|
60
|
+
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
61
|
+
} finally {
|
|
62
|
+
if (l) throw i;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return s;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function k(e) {
|
|
69
|
+
if (Array.isArray(e)) return e;
|
|
70
|
+
}
|
|
71
|
+
function A(e, t) {
|
|
72
|
+
var n = Object.keys(e);
|
|
73
|
+
if (Object.getOwnPropertySymbols) {
|
|
74
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
75
|
+
t && (r = r.filter(function(t) {
|
|
76
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
77
|
+
})), n.push.apply(n, r);
|
|
78
|
+
}
|
|
79
|
+
return n;
|
|
80
|
+
}
|
|
81
|
+
function j(e) {
|
|
82
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
83
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
84
|
+
t % 2 ? A(Object(n), !0).forEach(function(t) {
|
|
85
|
+
M(e, t, n[t]);
|
|
86
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A(Object(n)).forEach(function(t) {
|
|
87
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
return e;
|
|
91
|
+
}
|
|
92
|
+
function M(e, t, n) {
|
|
93
|
+
return (t = N(t)) in e ? Object.defineProperty(e, t, {
|
|
94
|
+
value: n,
|
|
95
|
+
enumerable: !0,
|
|
96
|
+
configurable: !0,
|
|
97
|
+
writable: !0
|
|
98
|
+
}) : e[t] = n, e;
|
|
99
|
+
}
|
|
100
|
+
function N(e) {
|
|
101
|
+
var t = P(e, "string");
|
|
102
|
+
return typeof t == "symbol" ? t : t + "";
|
|
103
|
+
}
|
|
104
|
+
function P(e, t) {
|
|
105
|
+
if (typeof e != "object" || !e) return e;
|
|
106
|
+
var n = e[Symbol.toPrimitive];
|
|
107
|
+
if (n !== void 0) {
|
|
108
|
+
var r = n.call(e, t || "default");
|
|
109
|
+
if (typeof r != "object") return r;
|
|
110
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
111
|
+
}
|
|
112
|
+
return (t === "string" ? String : Number)(e);
|
|
113
|
+
}
|
|
114
|
+
function F(e, t) {
|
|
115
|
+
if (e == null) return {};
|
|
116
|
+
var n, r, i = I(e, t);
|
|
117
|
+
if (Object.getOwnPropertySymbols) {
|
|
118
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
119
|
+
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
|
|
120
|
+
}
|
|
121
|
+
return i;
|
|
122
|
+
}
|
|
123
|
+
function I(e, t) {
|
|
124
|
+
if (e == null) return {};
|
|
125
|
+
var n = {};
|
|
126
|
+
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
127
|
+
if (t.indexOf(r) !== -1) continue;
|
|
128
|
+
n[r] = e[r];
|
|
129
|
+
}
|
|
130
|
+
return n;
|
|
131
|
+
}
|
|
132
|
+
function L(e) {
|
|
133
|
+
return e.value;
|
|
134
|
+
}
|
|
135
|
+
function R(e) {
|
|
136
|
+
var t = e.contextPayload, n = F(e, S), r = a(t, e.payloadUniqBy, L), o = j(j({}, n), {}, { payload: r });
|
|
137
|
+
return /*#__PURE__*/ y.isValidElement(e.content) ? /*#__PURE__*/ y.cloneElement(e.content, o) : typeof e.content == "function" ? /*#__PURE__*/ y.createElement(e.content, o) : /*#__PURE__*/ y.createElement(i, o);
|
|
138
|
+
}
|
|
139
|
+
function z(e) {
|
|
140
|
+
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
|
|
141
|
+
}
|
|
142
|
+
function B(e, n) {
|
|
143
|
+
return n == null ? null : t(n) ? _(e) : u(e);
|
|
144
|
+
}
|
|
145
|
+
function V(e, t, n) {
|
|
146
|
+
return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};
|
|
147
|
+
}
|
|
148
|
+
function H(e, t, n, r, i, a) {
|
|
149
|
+
var o = t.layout, s = t.align, c = t.verticalAlign, l, u;
|
|
150
|
+
return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), j(j({}, l), u);
|
|
151
|
+
}
|
|
152
|
+
function U(e) {
|
|
153
|
+
var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, s = e.offset, c = o();
|
|
154
|
+
return b(() => {
|
|
155
|
+
c(m({
|
|
156
|
+
align: t,
|
|
157
|
+
layout: n,
|
|
158
|
+
verticalAlign: r,
|
|
159
|
+
itemSorter: i,
|
|
160
|
+
position: a,
|
|
161
|
+
offset: s
|
|
162
|
+
}));
|
|
163
|
+
}, [
|
|
164
|
+
c,
|
|
165
|
+
t,
|
|
166
|
+
n,
|
|
167
|
+
r,
|
|
168
|
+
i,
|
|
169
|
+
a,
|
|
170
|
+
s
|
|
171
|
+
]), null;
|
|
172
|
+
}
|
|
173
|
+
function W(e) {
|
|
174
|
+
var t = e.width, n = e.height, r = o();
|
|
175
|
+
return b(() => {
|
|
176
|
+
r(h({
|
|
177
|
+
width: t,
|
|
178
|
+
height: n
|
|
179
|
+
}));
|
|
180
|
+
}, [
|
|
181
|
+
r,
|
|
182
|
+
t,
|
|
183
|
+
n
|
|
184
|
+
]), b(() => () => {
|
|
185
|
+
r(h({
|
|
186
|
+
width: 0,
|
|
187
|
+
height: 0
|
|
188
|
+
}));
|
|
189
|
+
}, [r]), null;
|
|
190
|
+
}
|
|
191
|
+
function G(e, t, n, r) {
|
|
192
|
+
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
|
|
193
|
+
}
|
|
194
|
+
var K = {
|
|
195
|
+
align: "center",
|
|
196
|
+
iconSize: 14,
|
|
197
|
+
inactiveColor: "#ccc",
|
|
198
|
+
itemSorter: "value",
|
|
199
|
+
labelStyle: {},
|
|
200
|
+
layout: "auto",
|
|
201
|
+
verticalAlign: "bottom",
|
|
202
|
+
offset: 0
|
|
203
|
+
};
|
|
204
|
+
function q(i) {
|
|
205
|
+
var a = r(i, K), o = i.layout && i.layout !== "auto" ? i.layout : z(a.position), u = c(), m = n(), h = p(), g = s((e) => B(e, a.position)), _ = a.width, b = a.height, S = a.wrapperStyle, T = a.portal, E = T == null && (a.position == null || t(a.position)), D = w(l([u]), 2), O = D[0], k = D[1], A = f(), M = d();
|
|
206
|
+
if (A == null || M == null || a.position != null && g == null) return null;
|
|
207
|
+
var N = G(o, b, _, A - (h?.left || 0) - (h?.right || 0)), P = a.position == null ? null : e({
|
|
208
|
+
viewBox: g ?? {
|
|
209
|
+
x: 0,
|
|
210
|
+
y: 0,
|
|
211
|
+
width: A,
|
|
212
|
+
height: M
|
|
213
|
+
},
|
|
214
|
+
position: a.position,
|
|
215
|
+
offset: a.offset ?? 0
|
|
216
|
+
}), F = V(a.position, a.offset ?? 0, O), I = o === "vertical" ? (g?.width ?? 0) / 2 : g?.width ?? 0, L = o === "horizontal" ? (g?.height ?? 0) / 2 : g?.height ?? 0, q = P ? {
|
|
217
|
+
width: "max-content",
|
|
218
|
+
height: "max-content",
|
|
219
|
+
maxWidth: I,
|
|
220
|
+
maxHeight: L,
|
|
221
|
+
overflowY: "auto",
|
|
222
|
+
top: P.y + (F.top ?? 0),
|
|
223
|
+
left: P.x + (F.left ?? 0),
|
|
224
|
+
transform: v(P.horizontalAnchor, P.verticalAnchor)
|
|
225
|
+
} : H(S, a, h, A, M, O), J = T ? S : j(j({
|
|
226
|
+
position: "absolute",
|
|
227
|
+
width: N?.width || _ || "auto",
|
|
228
|
+
height: N?.height || b || "auto"
|
|
229
|
+
}, q), S), Y = T ?? m;
|
|
230
|
+
return Y == null || u == null ? null : /*#__PURE__*/ x(/* @__PURE__ */ y.createElement("div", {
|
|
231
|
+
className: "recharts-legend-wrapper",
|
|
232
|
+
style: J,
|
|
233
|
+
ref: k
|
|
234
|
+
}, /*#__PURE__*/ y.createElement(U, {
|
|
235
|
+
layout: o,
|
|
236
|
+
align: a.align,
|
|
237
|
+
verticalAlign: a.verticalAlign,
|
|
238
|
+
itemSorter: a.itemSorter,
|
|
239
|
+
position: a.position,
|
|
240
|
+
offset: a.offset
|
|
241
|
+
}), E && /*#__PURE__*/ y.createElement(W, O), /*#__PURE__*/ y.createElement(R, C({}, a, { layout: o }, N, {
|
|
242
|
+
margin: h,
|
|
243
|
+
chartWidth: A,
|
|
244
|
+
chartHeight: M,
|
|
245
|
+
contextPayload: u
|
|
246
|
+
}))), Y);
|
|
247
|
+
}
|
|
248
|
+
var J = /*#__PURE__*/ y.memo(q, g);
|
|
249
|
+
J.displayName = "Legend";
|
|
250
|
+
//#endregion
|
|
251
|
+
export { J as Legend, K as legendDefaultProps };
|
|
252
|
+
|
|
253
|
+
//# sourceMappingURL=Legend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Legend.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/Legend.js"],"sourcesContent":["var _excluded = [\"contextPayload\"];\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport { createPortal } from 'react-dom';\nimport { getCartesianPosition, isOutsidePosition } from '../cartesian/getCartesianPosition';\nimport { useLegendPortal } from '../context/legendPortalContext';\nimport { DefaultLegendContent } from './DefaultLegendContent';\nimport { getUniqPayload } from '../util/payload/getUniqPayload';\nimport { useLegendPayload } from '../context/legendPayloadContext';\nimport { useElementOffset } from '../util/useElementOffset';\nimport { useChartHeight, useChartWidth, useMargin } from '../context/chartLayoutContext';\nimport { setLegendSettings, setLegendSize } from '../state/legendSlice';\nimport { useAppDispatch, useAppSelector } from '../state/hooks';\nimport { resolveDefaultProps } from '../util/resolveDefaultProps';\nimport { propsAreEqual } from '../util/propsAreEqual';\nimport { selectLegendArea } from '../state/selectors/selectLegendArea';\nimport { cartesianPositionToCSSTranslate } from '../cartesian/cartesianPositionToCSSTranslate';\nimport { selectChartViewBox } from '../state/selectors/selectChartOffsetInternal';\nfunction defaultUniqBy(entry) {\n return entry.value;\n}\nfunction LegendContent(props) {\n var contextPayload = props.contextPayload,\n otherProps = _objectWithoutProperties(props, _excluded);\n var finalPayload = getUniqPayload(contextPayload, props.payloadUniqBy, defaultUniqBy);\n var contentProps = _objectSpread(_objectSpread({}, otherProps), {}, {\n payload: finalPayload\n });\n if (/*#__PURE__*/React.isValidElement(props.content)) {\n return /*#__PURE__*/React.cloneElement(props.content, contentProps);\n }\n if (typeof props.content === 'function') {\n return /*#__PURE__*/React.createElement(props.content, contentProps);\n }\n return /*#__PURE__*/React.createElement(DefaultLegendContent, contentProps);\n}\nfunction getLayoutForPosition(position) {\n if (position === 'left' || position === 'right' || position === 'insideLeft' || position === 'insideRight') {\n return 'vertical';\n }\n return 'horizontal';\n}\nfunction selectPositionViewBox(state, position) {\n if (position == null) {\n return null;\n }\n return isOutsidePosition(position) ? selectLegendArea(state) : selectChartViewBox(state);\n}\nfunction getOutsidePositionOffset(position, offset, box) {\n if (position === 'top') {\n return {\n top: box.height + offset\n };\n }\n if (position === 'bottom') {\n return {\n top: -box.height - offset\n };\n }\n if (position === 'left') {\n return {\n left: box.width + offset\n };\n }\n if (position === 'right') {\n return {\n left: -box.width - offset\n };\n }\n return {};\n}\nfunction getDefaultPosition(style, props, margin, chartWidth, chartHeight, box) {\n var layout = props.layout,\n align = props.align,\n verticalAlign = props.verticalAlign;\n var hPos, vPos;\n if (!style || (style.left === undefined || style.left === null) && (style.right === undefined || style.right === null)) {\n if (align === 'center' && layout === 'vertical') {\n hPos = {\n left: ((chartWidth || 0) - box.width) / 2\n };\n } else {\n hPos = align === 'right' ? {\n right: margin && margin.right || 0\n } : {\n left: margin && margin.left || 0\n };\n }\n }\n if (!style || (style.top === undefined || style.top === null) && (style.bottom === undefined || style.bottom === null)) {\n if (verticalAlign === 'middle') {\n vPos = {\n top: ((chartHeight || 0) - box.height) / 2\n };\n } else {\n vPos = verticalAlign === 'bottom' ? {\n bottom: margin && margin.bottom || 0\n } : {\n top: margin && margin.top || 0\n };\n }\n }\n return _objectSpread(_objectSpread({}, hPos), vPos);\n}\nfunction LegendSettingsDispatcher(_ref) {\n var align = _ref.align,\n layout = _ref.layout,\n verticalAlign = _ref.verticalAlign,\n itemSorter = _ref.itemSorter,\n position = _ref.position,\n offset = _ref.offset;\n var dispatch = useAppDispatch();\n useLayoutEffect(() => {\n dispatch(setLegendSettings({\n align,\n layout,\n verticalAlign,\n itemSorter,\n position,\n offset\n }));\n }, [dispatch, align, layout, verticalAlign, itemSorter, position, offset]);\n return null;\n}\nfunction LegendSizeDispatcher(_ref2) {\n var width = _ref2.width,\n height = _ref2.height;\n var dispatch = useAppDispatch();\n useLayoutEffect(() => {\n dispatch(setLegendSize({\n width,\n height\n }));\n }, [dispatch, width, height]);\n useLayoutEffect(() => {\n return () => {\n dispatch(setLegendSize({\n width: 0,\n height: 0\n }));\n };\n }, [dispatch]);\n return null;\n}\nfunction getWidthOrHeight(layout, height, width, maxWidth) {\n if (layout === 'vertical' && height != null) {\n return {\n height\n };\n }\n if (layout === 'horizontal') {\n return {\n width: width || maxWidth\n };\n }\n return null;\n}\nexport var legendDefaultProps = {\n align: 'center',\n iconSize: 14,\n inactiveColor: '#ccc',\n itemSorter: 'value',\n labelStyle: {},\n layout: 'auto',\n verticalAlign: 'bottom',\n offset: 0\n};\n\n/**\n * @consumes CartesianChartContext\n * @consumes PolarChartContext\n */\nfunction LegendImpl(outsideProps) {\n var _props$offset, _props$offset2, _positionViewBox$widt, _positionViewBox$widt2, _positionViewBox$heig, _positionViewBox$heig2, _outsidePositionOffse, _outsidePositionOffse2;\n var props = resolveDefaultProps(outsideProps, legendDefaultProps);\n var layout = outsideProps.layout && outsideProps.layout !== 'auto' ? outsideProps.layout : getLayoutForPosition(props.position);\n var contextPayload = useLegendPayload();\n var legendPortalFromContext = useLegendPortal();\n var margin = useMargin();\n var positionViewBox = useAppSelector(state => selectPositionViewBox(state, props.position));\n var widthFromProps = props.width,\n heightFromProps = props.height,\n wrapperStyle = props.wrapperStyle,\n portalFromProps = props.portal;\n var shouldReportDimensions = portalFromProps == null && (props.position == null || isOutsidePosition(props.position));\n\n // The contextPayload is not used directly inside the hook, but we need the onBBoxUpdate call\n // when the payload changes, therefore it's here as a dependency.\n var _useElementOffset = useElementOffset([contextPayload]),\n _useElementOffset2 = _slicedToArray(_useElementOffset, 2),\n lastBoundingBox = _useElementOffset2[0],\n updateBoundingBox = _useElementOffset2[1];\n var chartWidth = useChartWidth();\n var chartHeight = useChartHeight();\n if (chartWidth == null || chartHeight == null || props.position != null && positionViewBox == null) {\n return null;\n }\n var maxWidth = chartWidth - ((margin === null || margin === void 0 ? void 0 : margin.left) || 0) - ((margin === null || margin === void 0 ? void 0 : margin.right) || 0);\n var widthOrHeight = getWidthOrHeight(layout, heightFromProps, widthFromProps, maxWidth);\n var positionResult = props.position == null ? null : getCartesianPosition({\n /*\n * When calculating the position we use two different view boxes.\n * Inside positions use the plot area; outside positions use the margin-inset\n * chart area, placing the Legend beyond any axes.\n */\n viewBox: positionViewBox !== null && positionViewBox !== void 0 ? positionViewBox : {\n x: 0,\n y: 0,\n width: chartWidth,\n height: chartHeight\n },\n position: props.position,\n offset: (_props$offset = props.offset) !== null && _props$offset !== void 0 ? _props$offset : 0\n });\n var outsidePositionOffset = getOutsidePositionOffset(props.position, (_props$offset2 = props.offset) !== null && _props$offset2 !== void 0 ? _props$offset2 : 0, lastBoundingBox);\n var positionMaxWidth = layout === 'vertical' ? ((_positionViewBox$widt = positionViewBox === null || positionViewBox === void 0 ? void 0 : positionViewBox.width) !== null && _positionViewBox$widt !== void 0 ? _positionViewBox$widt : 0) / 2 : (_positionViewBox$widt2 = positionViewBox === null || positionViewBox === void 0 ? void 0 : positionViewBox.width) !== null && _positionViewBox$widt2 !== void 0 ? _positionViewBox$widt2 : 0;\n var positionMaxHeight = layout === 'horizontal' ? ((_positionViewBox$heig = positionViewBox === null || positionViewBox === void 0 ? void 0 : positionViewBox.height) !== null && _positionViewBox$heig !== void 0 ? _positionViewBox$heig : 0) / 2 : (_positionViewBox$heig2 = positionViewBox === null || positionViewBox === void 0 ? void 0 : positionViewBox.height) !== null && _positionViewBox$heig2 !== void 0 ? _positionViewBox$heig2 : 0;\n var positionStyle = positionResult ? {\n width: 'max-content',\n height: 'max-content',\n maxWidth: positionMaxWidth,\n maxHeight: positionMaxHeight,\n overflowY: 'auto',\n top: positionResult.y + ((_outsidePositionOffse = outsidePositionOffset.top) !== null && _outsidePositionOffse !== void 0 ? _outsidePositionOffse : 0),\n left: positionResult.x + ((_outsidePositionOffse2 = outsidePositionOffset.left) !== null && _outsidePositionOffse2 !== void 0 ? _outsidePositionOffse2 : 0),\n transform: cartesianPositionToCSSTranslate(positionResult.horizontalAnchor, positionResult.verticalAnchor)\n } : getDefaultPosition(wrapperStyle, props, margin, chartWidth, chartHeight, lastBoundingBox);\n\n // if the user supplies their own portal, only use their defined wrapper styles\n var outerStyle = portalFromProps ? wrapperStyle : _objectSpread(_objectSpread({\n position: 'absolute',\n width: (widthOrHeight === null || widthOrHeight === void 0 ? void 0 : widthOrHeight.width) || widthFromProps || 'auto',\n height: (widthOrHeight === null || widthOrHeight === void 0 ? void 0 : widthOrHeight.height) || heightFromProps || 'auto'\n }, positionStyle), wrapperStyle);\n var legendPortal = portalFromProps !== null && portalFromProps !== void 0 ? portalFromProps : legendPortalFromContext;\n if (legendPortal == null || contextPayload == null) {\n return null;\n }\n var legendElement = /*#__PURE__*/React.createElement(\"div\", {\n className: \"recharts-legend-wrapper\",\n style: outerStyle,\n ref: updateBoundingBox\n }, /*#__PURE__*/React.createElement(LegendSettingsDispatcher, {\n layout: layout,\n align: props.align,\n verticalAlign: props.verticalAlign,\n itemSorter: props.itemSorter,\n position: props.position,\n offset: props.offset\n }), shouldReportDimensions && /*#__PURE__*/React.createElement(LegendSizeDispatcher, lastBoundingBox), /*#__PURE__*/React.createElement(LegendContent, _extends({}, props, {\n layout: layout\n }, widthOrHeight, {\n margin: margin,\n chartWidth: chartWidth,\n chartHeight: chartHeight,\n contextPayload: contextPayload\n })));\n return /*#__PURE__*/createPortal(legendElement, legendPortal);\n}\nexport var Legend = /*#__PURE__*/React.memo(LegendImpl, propsAreEqual);\nLegend.displayName = 'Legend';"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAI,IAAY,CAAC,gBAAgB;AACjC,SAAS,IAAW;CAAE,OAAO,IAAW,OAAO,SAAS,OAAO,OAAO,KAAK,IAAI,SAAU,GAAG;EAAE,KAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;GAAE,IAAI,IAAI,UAAU;GAAI,KAAK,IAAI,KAAK,GAAG,CAAC,CAAC,EAAA,CAAG,eAAe,KAAK,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE;EAAK;EAAE,OAAO;CAAG,GAAG,EAAS,MAAM,MAAM,SAAS;AAAG;AACnR,SAAS,EAAe,GAAG,GAAG;CAAE,OAAO,EAAgB,CAAC,KAAK,EAAsB,GAAG,CAAC,KAAK,EAA4B,GAAG,CAAC,KAAK,EAAiB;AAAG;AACrJ,SAAS,IAAmB;CAAE,MAAU,UAAU,2IAA2I;AAAG;AAChM,SAAS,EAA4B,GAAG,GAAG;CAAE,IAAI,GAAG;EAAE,IAAgB,OAAO,KAAnB,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rH,GAAG,CAAa,GAAG,CAAY,GAC3B,IAAe,KAA2E;CAuB9F,OAtBI,KAAgB,QAAQ,KAAkB,OACrC,OAqBW,gBAnBa,kBAAM,cAAc,OAAO;EAC1D,WAAW;EACX,OAAO;EACP,KAAK;CACP,GAAgB,gBAAM,cAAc,GAA0B;EACpD;EACR,OAAO,EAAM;EACb,eAAe,EAAM;EACrB,YAAY,EAAM;EAClB,UAAU,EAAM;EAChB,QAAQ,EAAM;CAChB,CAAC,GAAG,KAAuC,gBAAM,cAAc,GAAsB,CAAe,GAAgB,gBAAM,cAAc,GAAe,EAAS,CAAC,GAAG,GAAO,EACjK,UACV,GAAG,GAAe;EACR;EACI;EACC;EACG;CAClB,CAAC,CAAC,CAC2C,GAAG,CAAY;AAC9D;AACA,IAAW,IAAsB,gBAAM,KAAK,GAAY,CAAa;AACrE,EAAO,cAAc"}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { clsx as e } from "../../../clsx/dist/clsx.js";
|
|
2
|
+
import { isNumber as t, noop as n } from "../util/DataUtils.js";
|
|
3
|
+
import { isPositiveNumber as r } from "../util/isWellBehavedNumber.js";
|
|
4
|
+
import { throttle as i } from "../../../es-toolkit/dist/compat/function/throttle.js";
|
|
5
|
+
import { warn as a } from "../util/LogUtils.js";
|
|
6
|
+
import { calculateChartDimensions as o, defaultResponsiveContainerProps as s, getDefaultWidthAndHeight as c, getInnerDivStyle as l } from "./responsiveContainerUtils.js";
|
|
7
|
+
import * as u from "react";
|
|
8
|
+
import { createContext as d, forwardRef as f, useCallback as p, useContext as m, useEffect as h, useImperativeHandle as g, useMemo as _, useRef as v, useState as y } from "react";
|
|
9
|
+
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
|
|
10
|
+
var b = [
|
|
11
|
+
"aspect",
|
|
12
|
+
"initialDimension",
|
|
13
|
+
"width",
|
|
14
|
+
"height",
|
|
15
|
+
"minWidth",
|
|
16
|
+
"minHeight",
|
|
17
|
+
"maxHeight",
|
|
18
|
+
"children",
|
|
19
|
+
"debounce",
|
|
20
|
+
"id",
|
|
21
|
+
"className",
|
|
22
|
+
"onResize",
|
|
23
|
+
"style"
|
|
24
|
+
];
|
|
25
|
+
function x() {
|
|
26
|
+
return x = Object.assign ? Object.assign.bind() : function(e) {
|
|
27
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
28
|
+
var n = arguments[t];
|
|
29
|
+
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
30
|
+
}
|
|
31
|
+
return e;
|
|
32
|
+
}, x.apply(null, arguments);
|
|
33
|
+
}
|
|
34
|
+
function S(e, t) {
|
|
35
|
+
var n = Object.keys(e);
|
|
36
|
+
if (Object.getOwnPropertySymbols) {
|
|
37
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
38
|
+
t && (r = r.filter(function(t) {
|
|
39
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
40
|
+
})), n.push.apply(n, r);
|
|
41
|
+
}
|
|
42
|
+
return n;
|
|
43
|
+
}
|
|
44
|
+
function C(e) {
|
|
45
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
46
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
47
|
+
t % 2 ? S(Object(n), !0).forEach(function(t) {
|
|
48
|
+
w(e, t, n[t]);
|
|
49
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S(Object(n)).forEach(function(t) {
|
|
50
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
return e;
|
|
54
|
+
}
|
|
55
|
+
function w(e, t, n) {
|
|
56
|
+
return (t = T(t)) in e ? Object.defineProperty(e, t, {
|
|
57
|
+
value: n,
|
|
58
|
+
enumerable: !0,
|
|
59
|
+
configurable: !0,
|
|
60
|
+
writable: !0
|
|
61
|
+
}) : e[t] = n, e;
|
|
62
|
+
}
|
|
63
|
+
function T(e) {
|
|
64
|
+
var t = E(e, "string");
|
|
65
|
+
return typeof t == "symbol" ? t : t + "";
|
|
66
|
+
}
|
|
67
|
+
function E(e, t) {
|
|
68
|
+
if (typeof e != "object" || !e) return e;
|
|
69
|
+
var n = e[Symbol.toPrimitive];
|
|
70
|
+
if (n !== void 0) {
|
|
71
|
+
var r = n.call(e, t || "default");
|
|
72
|
+
if (typeof r != "object") return r;
|
|
73
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
74
|
+
}
|
|
75
|
+
return (t === "string" ? String : Number)(e);
|
|
76
|
+
}
|
|
77
|
+
function D(e, t) {
|
|
78
|
+
return M(e) || j(e, t) || k(e, t) || O();
|
|
79
|
+
}
|
|
80
|
+
function O() {
|
|
81
|
+
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
82
|
+
}
|
|
83
|
+
function k(e, t) {
|
|
84
|
+
if (e) {
|
|
85
|
+
if (typeof e == "string") return A(e, t);
|
|
86
|
+
var n = {}.toString.call(e).slice(8, -1);
|
|
87
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? A(e, t) : void 0;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function A(e, t) {
|
|
91
|
+
(t == null || t > e.length) && (t = e.length);
|
|
92
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
93
|
+
return r;
|
|
94
|
+
}
|
|
95
|
+
function j(e, t) {
|
|
96
|
+
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
97
|
+
if (n != null) {
|
|
98
|
+
var r, i, a, o, s = [], c = !0, l = !1;
|
|
99
|
+
try {
|
|
100
|
+
if (a = (n = n.call(e)).next, t === 0) {
|
|
101
|
+
if (Object(n) !== n) return;
|
|
102
|
+
c = !1;
|
|
103
|
+
} else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
104
|
+
} catch (e) {
|
|
105
|
+
l = !0, i = e;
|
|
106
|
+
} finally {
|
|
107
|
+
try {
|
|
108
|
+
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
109
|
+
} finally {
|
|
110
|
+
if (l) throw i;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return s;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function M(e) {
|
|
117
|
+
if (Array.isArray(e)) return e;
|
|
118
|
+
}
|
|
119
|
+
function N(e, t) {
|
|
120
|
+
if (e == null) return {};
|
|
121
|
+
var n, r, i = P(e, t);
|
|
122
|
+
if (Object.getOwnPropertySymbols) {
|
|
123
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
124
|
+
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
|
|
125
|
+
}
|
|
126
|
+
return i;
|
|
127
|
+
}
|
|
128
|
+
function P(e, t) {
|
|
129
|
+
if (e == null) return {};
|
|
130
|
+
var n = {};
|
|
131
|
+
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
132
|
+
if (t.indexOf(r) !== -1) continue;
|
|
133
|
+
n[r] = e[r];
|
|
134
|
+
}
|
|
135
|
+
return n;
|
|
136
|
+
}
|
|
137
|
+
var F = /*#__PURE__*/ d(s.initialDimension);
|
|
138
|
+
function I(e) {
|
|
139
|
+
return r(e.width) && r(e.height);
|
|
140
|
+
}
|
|
141
|
+
function L(e) {
|
|
142
|
+
var t = e.children, n = e.width, r = e.height, i = _(() => ({
|
|
143
|
+
width: n,
|
|
144
|
+
height: r
|
|
145
|
+
}), [n, r]);
|
|
146
|
+
return I(i) ? /*#__PURE__*/ u.createElement(F.Provider, { value: i }, t) : null;
|
|
147
|
+
}
|
|
148
|
+
var R = () => m(F), z = /*#__PURE__*/ f((t, r) => {
|
|
149
|
+
var c = t.aspect, d = t.initialDimension, f = d === void 0 ? s.initialDimension : d, m = t.width, _ = t.height, S = t.minWidth, w = S === void 0 ? s.minWidth : S, T = t.minHeight, E = t.maxHeight, O = t.children, k = t.debounce, A = k === void 0 ? s.debounce : k, j = t.id, M = t.className, P = t.onResize, F = t.style, I = F === void 0 ? {} : F, R = N(t, b), z = v(null), B = v();
|
|
150
|
+
B.current = P, g(r, () => z.current);
|
|
151
|
+
var V = D(y({
|
|
152
|
+
containerWidth: f.width,
|
|
153
|
+
containerHeight: f.height
|
|
154
|
+
}), 2), H = V[0], U = V[1], W = p((e, t) => {
|
|
155
|
+
U((n) => {
|
|
156
|
+
var r = Math.round(e), i = Math.round(t);
|
|
157
|
+
return n.containerWidth === r && n.containerHeight === i ? n : {
|
|
158
|
+
containerWidth: r,
|
|
159
|
+
containerHeight: i
|
|
160
|
+
};
|
|
161
|
+
});
|
|
162
|
+
}, []);
|
|
163
|
+
h(() => {
|
|
164
|
+
if (z.current == null || typeof ResizeObserver > "u") return n;
|
|
165
|
+
var e = (e) => {
|
|
166
|
+
var t, n = e[0];
|
|
167
|
+
if (n != null) {
|
|
168
|
+
var r = n.contentRect, i = r.width, a = r.height;
|
|
169
|
+
W(i, a), (t = B.current) == null || t.call(B, i, a);
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
A > 0 && (e = i(e, A, {
|
|
173
|
+
trailing: !0,
|
|
174
|
+
leading: !1
|
|
175
|
+
}));
|
|
176
|
+
var t = new ResizeObserver(e), r = z.current.getBoundingClientRect(), a = r.width, o = r.height;
|
|
177
|
+
return W(a, o), t.observe(z.current), () => {
|
|
178
|
+
t.disconnect();
|
|
179
|
+
};
|
|
180
|
+
}, [W, A]);
|
|
181
|
+
var G = H.containerWidth, K = H.containerHeight;
|
|
182
|
+
a(!c || c > 0, "The aspect(%s) must be greater than zero.", c);
|
|
183
|
+
var q = o(G, K, {
|
|
184
|
+
width: m,
|
|
185
|
+
height: _,
|
|
186
|
+
aspect: c,
|
|
187
|
+
maxHeight: E
|
|
188
|
+
}), J = q.calculatedWidth, Y = q.calculatedHeight;
|
|
189
|
+
return a(G < 0 || K < 0 || J != null && J > 0 || Y != null && Y > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", J, Y, m, _, w, T, c), /*#__PURE__*/ u.createElement("div", x({
|
|
190
|
+
id: j ? `${j}` : void 0,
|
|
191
|
+
className: e("recharts-responsive-container", M),
|
|
192
|
+
style: C(C({}, I), {}, {
|
|
193
|
+
width: m,
|
|
194
|
+
height: _,
|
|
195
|
+
minWidth: w,
|
|
196
|
+
minHeight: T,
|
|
197
|
+
maxHeight: E
|
|
198
|
+
}),
|
|
199
|
+
ref: z
|
|
200
|
+
}, R), /*#__PURE__*/ u.createElement("div", { style: l({
|
|
201
|
+
width: m,
|
|
202
|
+
height: _
|
|
203
|
+
}) }, /*#__PURE__*/ u.createElement(L, {
|
|
204
|
+
width: J,
|
|
205
|
+
height: Y
|
|
206
|
+
}, O)));
|
|
207
|
+
}), B = /*#__PURE__*/ f((e, n) => {
|
|
208
|
+
var i = R();
|
|
209
|
+
if (r(i.width) && r(i.height)) return e.children;
|
|
210
|
+
var a = c({
|
|
211
|
+
width: e.width,
|
|
212
|
+
height: e.height,
|
|
213
|
+
aspect: e.aspect
|
|
214
|
+
}), s = a.width, l = a.height, d = o(void 0, void 0, {
|
|
215
|
+
width: s,
|
|
216
|
+
height: l,
|
|
217
|
+
aspect: e.aspect,
|
|
218
|
+
maxHeight: e.maxHeight
|
|
219
|
+
}), f = d.calculatedWidth, p = d.calculatedHeight;
|
|
220
|
+
return t(f) && t(p) ? /*#__PURE__*/ u.createElement(L, {
|
|
221
|
+
width: f,
|
|
222
|
+
height: p
|
|
223
|
+
}, e.children) : /*#__PURE__*/ u.createElement(z, x({}, e, {
|
|
224
|
+
width: s,
|
|
225
|
+
height: l,
|
|
226
|
+
ref: n
|
|
227
|
+
}));
|
|
228
|
+
});
|
|
229
|
+
//#endregion
|
|
230
|
+
export { B as ResponsiveContainer, R as useResponsiveContainerContext };
|
|
231
|
+
|
|
232
|
+
//# sourceMappingURL=ResponsiveContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResponsiveContainer.js","names":[],"sources":["../../../../../node_modules/recharts/es6/component/ResponsiveContainer.js"],"sourcesContent":["var _excluded = [\"aspect\", \"initialDimension\", \"width\", \"height\", \"minWidth\", \"minHeight\", \"maxHeight\", \"children\", \"debounce\", \"id\", \"className\", \"onResize\", \"style\"];\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }\nimport { clsx } from 'clsx';\nimport * as React from 'react';\nimport { createContext, forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';\nimport throttle from 'es-toolkit/compat/throttle';\nimport { isNumber, noop } from '../util/DataUtils';\nimport { warn } from '../util/LogUtils';\nimport { calculateChartDimensions, defaultResponsiveContainerProps, getDefaultWidthAndHeight, getInnerDivStyle } from './responsiveContainerUtils';\nimport { isPositiveNumber } from '../util/isWellBehavedNumber';\nvar ResponsiveContainerContext = /*#__PURE__*/createContext(defaultResponsiveContainerProps.initialDimension);\nfunction isAcceptableSize(size) {\n return isPositiveNumber(size.width) && isPositiveNumber(size.height);\n}\nfunction ResponsiveContainerContextProvider(_ref) {\n var children = _ref.children,\n width = _ref.width,\n height = _ref.height;\n var size = useMemo(() => ({\n width,\n height\n }), [width, height]);\n if (!isAcceptableSize(size)) {\n /*\n * Don't render the container if width or height is non-positive because\n * in that case the chart will not be rendered properly anyway.\n * We will instead wait for the next resize event to provide the correct dimensions.\n */\n return null;\n }\n return /*#__PURE__*/React.createElement(ResponsiveContainerContext.Provider, {\n value: size\n }, children);\n}\nexport var useResponsiveContainerContext = () => useContext(ResponsiveContainerContext);\nvar SizeDetectorContainer = /*#__PURE__*/forwardRef((_ref2, ref) => {\n var aspect = _ref2.aspect,\n _ref2$initialDimensio = _ref2.initialDimension,\n initialDimension = _ref2$initialDimensio === void 0 ? defaultResponsiveContainerProps.initialDimension : _ref2$initialDimensio,\n width = _ref2.width,\n height = _ref2.height,\n _ref2$minWidth = _ref2.minWidth,\n minWidth = _ref2$minWidth === void 0 ? defaultResponsiveContainerProps.minWidth : _ref2$minWidth,\n minHeight = _ref2.minHeight,\n maxHeight = _ref2.maxHeight,\n children = _ref2.children,\n _ref2$debounce = _ref2.debounce,\n debounce = _ref2$debounce === void 0 ? defaultResponsiveContainerProps.debounce : _ref2$debounce,\n id = _ref2.id,\n className = _ref2.className,\n onResize = _ref2.onResize,\n _ref2$style = _ref2.style,\n style = _ref2$style === void 0 ? {} : _ref2$style,\n others = _objectWithoutProperties(_ref2, _excluded);\n var containerRef = useRef(null);\n /*\n * We are using a ref to avoid re-creating the ResizeObserver when the onResize function changes.\n * The ref is updated on every render, so the latest onResize function is always available in the effect.\n */\n var onResizeRef = useRef();\n onResizeRef.current = onResize;\n useImperativeHandle(ref, () => containerRef.current);\n var _useState = useState({\n containerWidth: initialDimension.width,\n containerHeight: initialDimension.height\n }),\n _useState2 = _slicedToArray(_useState, 2),\n sizes = _useState2[0],\n setSizes = _useState2[1];\n var setContainerSize = useCallback((newWidth, newHeight) => {\n setSizes(prevState => {\n var roundedWidth = Math.round(newWidth);\n var roundedHeight = Math.round(newHeight);\n if (prevState.containerWidth === roundedWidth && prevState.containerHeight === roundedHeight) {\n return prevState;\n }\n return {\n containerWidth: roundedWidth,\n containerHeight: roundedHeight\n };\n });\n }, []);\n useEffect(() => {\n if (containerRef.current == null || typeof ResizeObserver === 'undefined') {\n return noop;\n }\n var callback = entries => {\n var _onResizeRef$current;\n var entry = entries[0];\n if (entry == null) {\n return;\n }\n var _entry$contentRect = entry.contentRect,\n containerWidth = _entry$contentRect.width,\n containerHeight = _entry$contentRect.height;\n setContainerSize(containerWidth, containerHeight);\n (_onResizeRef$current = onResizeRef.current) === null || _onResizeRef$current === void 0 || _onResizeRef$current.call(onResizeRef, containerWidth, containerHeight);\n };\n if (debounce > 0) {\n callback = throttle(callback, debounce, {\n trailing: true,\n leading: false\n });\n }\n var observer = new ResizeObserver(callback);\n var _containerRef$current = containerRef.current.getBoundingClientRect(),\n containerWidth = _containerRef$current.width,\n containerHeight = _containerRef$current.height;\n setContainerSize(containerWidth, containerHeight);\n observer.observe(containerRef.current);\n return () => {\n observer.disconnect();\n };\n }, [setContainerSize, debounce]);\n var containerWidth = sizes.containerWidth,\n containerHeight = sizes.containerHeight;\n warn(!aspect || aspect > 0, 'The aspect(%s) must be greater than zero.', aspect);\n var _calculateChartDimens = calculateChartDimensions(containerWidth, containerHeight, {\n width,\n height,\n aspect,\n maxHeight\n }),\n calculatedWidth = _calculateChartDimens.calculatedWidth,\n calculatedHeight = _calculateChartDimens.calculatedHeight;\n warn(containerWidth < 0 || containerHeight < 0 || calculatedWidth != null && calculatedWidth > 0 || calculatedHeight != null && calculatedHeight > 0, \"The width(%s) and height(%s) of chart should be greater than 0,\\n please check the style of container, or the props width(%s) and height(%s),\\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\\n height and width.\", calculatedWidth, calculatedHeight, width, height, minWidth, minHeight, aspect);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n id: id ? \"\".concat(id) : undefined,\n className: clsx('recharts-responsive-container', className),\n style: _objectSpread(_objectSpread({}, style), {}, {\n width,\n height,\n minWidth,\n minHeight,\n maxHeight\n }),\n ref: containerRef\n }, others), /*#__PURE__*/React.createElement(\"div\", {\n style: getInnerDivStyle({\n width,\n height\n })\n }, /*#__PURE__*/React.createElement(ResponsiveContainerContextProvider, {\n width: calculatedWidth,\n height: calculatedHeight\n }, children)));\n});\n\n/**\n * The `ResponsiveContainer` component is a container that adjusts its width and height based on the size of its parent element.\n * It is used to create responsive charts that adapt to different screen sizes.\n *\n * This component uses the {@link https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver ResizeObserver} API to monitor changes to the size of its parent element.\n * If you need to support older browsers that do not support this API, you may need to include a polyfill.\n *\n * @see {@link https://recharts.github.io/en-US/guide/sizes/ Chart size guide}\n *\n * @provides ResponsiveContainerContext\n */\nexport var ResponsiveContainer = /*#__PURE__*/forwardRef((props, ref) => {\n var responsiveContainerContext = useResponsiveContainerContext();\n if (isPositiveNumber(responsiveContainerContext.width) && isPositiveNumber(responsiveContainerContext.height)) {\n /*\n * If we detect that we are already inside another ResponsiveContainer,\n * we do not attempt to add another layer of responsiveness.\n */\n return props.children;\n }\n var _getDefaultWidthAndHe = getDefaultWidthAndHeight({\n width: props.width,\n height: props.height,\n aspect: props.aspect\n }),\n width = _getDefaultWidthAndHe.width,\n height = _getDefaultWidthAndHe.height;\n\n /*\n * Let's try to get the calculated dimensions without having the div container set up.\n * Sometimes this does produce fixed, positive dimensions. If so, we can skip rendering the div and monitoring its size.\n */\n var _calculateChartDimens2 = calculateChartDimensions(undefined, undefined, {\n width,\n height,\n aspect: props.aspect,\n maxHeight: props.maxHeight\n }),\n calculatedWidth = _calculateChartDimens2.calculatedWidth,\n calculatedHeight = _calculateChartDimens2.calculatedHeight;\n if (isNumber(calculatedWidth) && isNumber(calculatedHeight)) {\n /*\n * If it just so happens that the combination of width, height, and aspect ratio\n * results in fixed dimensions, then we don't need to monitor the container's size.\n * We can just provide these fixed dimensions to the context.\n *\n * Note that here we are not checking for positive numbers;\n * if the user provides a zero or negative width/height, we will just pass that along\n * as whatever size we detect won't be helping anyway.\n */\n return /*#__PURE__*/React.createElement(ResponsiveContainerContextProvider, {\n width: calculatedWidth,\n height: calculatedHeight\n }, props.children);\n }\n /*\n * Static analysis did not produce fixed dimensions,\n * so we need to render a special div and monitor its size.\n */\n return /*#__PURE__*/React.createElement(SizeDetectorContainer, _extends({}, props, {\n width: width,\n height: height,\n ref: ref\n }));\n});"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AAAA,IAAI,IAAY;CAAC;CAAU;CAAoB;CAAS;CAAU;CAAY;CAAa;CAAa;CAAY;CAAY;CAAM;CAAa;CAAY;AAAO;AACtK,SAAS,IAAW;CAAE,OAAO,IAAW,OAAO,SAAS,OAAO,OAAO,KAAK,IAAI,SAAU,GAAG;EAAE,KAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;GAAE,IAAI,IAAI,UAAU;GAAI,KAAK,IAAI,KAAK,GAAG,CAAC,CAAC,EAAA,CAAG,eAAe,KAAK,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE;EAAK;EAAE,OAAO;CAAG,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