@pibit.ai/cure-design-system 0.6.41 → 0.6.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index3.js +7 -0
- package/dist/_virtual/index4.js +4 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
- package/dist/_virtual/with-selector.development.js +4 -0
- package/dist/_virtual/with-selector.js +5 -0
- package/dist/_virtual/with-selector.production.js +4 -0
- package/dist/_virtual/with-selector2.js +4 -0
- package/dist/_virtual/with-selector3.js +2 -0
- package/dist/_virtual/with-selector4.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +127 -125
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +846 -0
- package/dist/node_modules/d3-array/src/ascending.js +6 -0
- package/dist/node_modules/d3-array/src/bisect.js +9 -0
- package/dist/node_modules/d3-array/src/bisector.js +37 -0
- package/dist/node_modules/d3-array/src/descending.js +6 -0
- package/dist/node_modules/d3-array/src/max.js +9 -0
- package/dist/node_modules/d3-array/src/min.js +9 -0
- package/dist/node_modules/d3-array/src/number.js +11 -0
- package/dist/node_modules/d3-array/src/quantile.js +24 -0
- package/dist/node_modules/d3-array/src/quickselect.js +25 -0
- package/dist/node_modules/d3-array/src/range.js +9 -0
- package/dist/node_modules/d3-array/src/sort.js +16 -0
- package/dist/node_modules/d3-array/src/ticks.js +32 -0
- package/dist/node_modules/d3-color/src/color.js +305 -0
- package/dist/node_modules/d3-color/src/define.js +12 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/exponent.js +7 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +15 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +10 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +10 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +10 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +28 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +19 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +21 -0
- package/dist/node_modules/d3-format/src/identity.js +6 -0
- package/dist/node_modules/d3-format/src/locale.js +68 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +7 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +7 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +7 -0
- package/dist/node_modules/d3-interpolate/src/array.js +13 -0
- package/dist/node_modules/d3-interpolate/src/color.js +24 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -0
- package/dist/node_modules/d3-interpolate/src/date.js +9 -0
- package/dist/node_modules/d3-interpolate/src/number.js +8 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +15 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +12 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
- package/dist/node_modules/d3-interpolate/src/round.js +8 -0
- package/dist/node_modules/d3-interpolate/src/string.js +24 -0
- package/dist/node_modules/d3-interpolate/src/value.js +16 -0
- package/dist/node_modules/d3-path/src/path.js +64 -0
- package/dist/node_modules/d3-scale/src/band.js +51 -0
- package/dist/node_modules/d3-scale/src/constant.js +8 -0
- package/dist/node_modules/d3-scale/src/continuous.js +75 -0
- package/dist/node_modules/d3-scale/src/diverging.js +68 -0
- package/dist/node_modules/d3-scale/src/identity.js +18 -0
- package/dist/node_modules/d3-scale/src/init.js +32 -0
- package/dist/node_modules/d3-scale/src/linear.js +39 -0
- package/dist/node_modules/d3-scale/src/log.js +86 -0
- package/dist/node_modules/d3-scale/src/nice.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js +6 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js +38 -0
- package/dist/node_modules/d3-scale/src/quantize.js +31 -0
- package/dist/node_modules/d3-scale/src/radial.js +37 -0
- package/dist/node_modules/d3-scale/src/sequential.js +70 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +28 -0
- package/dist/node_modules/d3-scale/src/symlog.js +29 -0
- package/dist/node_modules/d3-scale/src/threshold.js +23 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +32 -0
- package/dist/node_modules/d3-scale/src/time.js +46 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +17 -0
- package/dist/node_modules/d3-shape/src/area.js +56 -0
- package/dist/node_modules/d3-shape/src/array.js +6 -0
- package/dist/node_modules/d3-shape/src/constant.js +8 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +60 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +51 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +43 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +23 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +93 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +41 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +51 -0
- package/dist/node_modules/d3-shape/src/line.js +29 -0
- package/dist/node_modules/d3-shape/src/noop.js +5 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +13 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +9 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +13 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +19 -0
- package/dist/node_modules/d3-shape/src/order/none.js +7 -0
- package/dist/node_modules/d3-shape/src/path.js +18 -0
- package/dist/node_modules/d3-shape/src/point.js +10 -0
- package/dist/node_modules/d3-shape/src/stack.js +35 -0
- package/dist/node_modules/d3-time/src/day.js +26 -0
- package/dist/node_modules/d3-time/src/duration.js +10 -0
- package/dist/node_modules/d3-time/src/hour.js +18 -0
- package/dist/node_modules/d3-time/src/interval.js +31 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/minute.js +18 -0
- package/dist/node_modules/d3-time/src/month.js +17 -0
- package/dist/node_modules/d3-time/src/second.js +11 -0
- package/dist/node_modules/d3-time/src/ticks.js +54 -0
- package/dist/node_modules/d3-time/src/week.js +48 -0
- package/dist/node_modules/d3-time/src/year.js +27 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +20 -0
- package/dist/node_modules/d3-time-format/src/locale.js +478 -0
- package/dist/node_modules/decimal.js-light/decimal.js +472 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +6 -0
- package/dist/node_modules/es-toolkit/dist/array/flatten.js +12 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/baseToString.js +16 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +17 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/hasOwn.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +15 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +14 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +10 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/objectValues.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +35 -0
- package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +10 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +16 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +12 -0
- package/dist/node_modules/es-toolkit/dist/compat/math/range.js +12 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js +39 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +6 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +6 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +6 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +38 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toString.js +7 -0
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +29 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +6 -0
- package/dist/node_modules/eventemitter3/index.js +5 -0
- package/dist/node_modules/eventemitter3/index2.js +111 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +5 -5
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +9 -9
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +3 -3
- package/dist/node_modules/immer/dist/immer.js +575 -0
- package/dist/node_modules/internmap/src/index.js +35 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +98 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +81 -0
- package/dist/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react-redux/dist/react-redux.js +137 -0
- package/dist/node_modules/recharts/es6/animation/AnimatedItems.js +78 -0
- package/dist/node_modules/recharts/es6/animation/AnimationControllerImpl.js +21 -0
- package/dist/node_modules/recharts/es6/animation/AnimationHandle.js +179 -0
- package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +84 -0
- package/dist/node_modules/recharts/es6/animation/easing.js +89 -0
- package/dist/node_modules/recharts/es6/animation/matchBy.js +105 -0
- package/dist/node_modules/recharts/es6/animation/timeoutController.js +13 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationController.js +11 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationStartSnapshot.js +20 -0
- package/dist/node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js +14 -0
- package/dist/node_modules/recharts/es6/cartesian/getCartesianPosition.js +141 -0
- package/dist/node_modules/recharts/es6/chart/CategoricalChart.js +62 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js +62 -0
- package/dist/node_modules/recharts/es6/chart/PolarChart.js +144 -0
- package/dist/node_modules/recharts/es6/chart/RechartsWrapper.js +297 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +5 -0
- package/dist/node_modules/recharts/es6/component/Label.js +262 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +101 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +219 -0
- package/dist/node_modules/recharts/es6/component/Text.js +240 -0
- package/dist/node_modules/recharts/es6/component/responsiveContainerUtils.js +43 -0
- package/dist/node_modules/recharts/es6/container/ClipPathProvider.js +63 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +42 -0
- package/dist/node_modules/recharts/es6/container/RootSurface.js +90 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +51 -0
- package/dist/node_modules/recharts/es6/context/PanoramaContext.js +5 -0
- package/dist/node_modules/recharts/es6/context/RegisterGraphicalItemId.js +12 -0
- package/dist/node_modules/recharts/es6/context/accessibilityContext.js +8 -0
- package/dist/node_modules/recharts/es6/context/chartDataContext.js +14 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +44 -0
- package/dist/node_modules/recharts/es6/context/legendPortalContext.js +5 -0
- package/dist/node_modules/recharts/es6/context/tooltipContext.js +33 -0
- package/dist/node_modules/recharts/es6/context/tooltipPortalContext.js +5 -0
- package/dist/node_modules/recharts/es6/hooks.js +6 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js +486 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarAngleAxisProps.js +13 -0
- package/dist/node_modules/recharts/es6/polar/defaultPolarRadiusAxisProps.js +15 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +128 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +151 -0
- package/dist/node_modules/recharts/es6/state/RechartsReduxContext.js +5 -0
- package/dist/node_modules/recharts/es6/state/RechartsStoreProvider.js +20 -0
- package/dist/node_modules/recharts/es6/state/ReportChartProps.js +12 -0
- package/dist/node_modules/recharts/es6/state/ReportEventSettings.js +13 -0
- package/dist/node_modules/recharts/es6/state/ReportMainChartProps.js +15 -0
- package/dist/node_modules/recharts/es6/state/ReportPolarOptions.js +12 -0
- package/dist/node_modules/recharts/es6/state/SetGraphicalItem.js +17 -0
- package/dist/node_modules/recharts/es6/state/SetLegendPayload.js +18 -0
- package/dist/node_modules/recharts/es6/state/SetTooltipEntrySettings.js +18 -0
- package/dist/node_modules/recharts/es6/state/brushSlice.js +27 -0
- package/dist/node_modules/recharts/es6/state/cartesianAxisSlice.js +148 -0
- package/dist/node_modules/recharts/es6/state/chartDataSlice.js +35 -0
- package/dist/node_modules/recharts/es6/state/errorBarSlice.js +26 -0
- package/dist/node_modules/recharts/es6/state/eventSettingsSlice.js +19 -0
- package/dist/node_modules/recharts/es6/state/externalEventsMiddleware.js +58 -0
- package/dist/node_modules/recharts/es6/state/graphicalItemsSlice.js +61 -0
- package/dist/node_modules/recharts/es6/state/hooks.js +19 -0
- package/dist/node_modules/recharts/es6/state/keyboardEventsMiddleware.js +119 -0
- package/dist/node_modules/recharts/es6/state/layoutSlice.js +38 -0
- package/dist/node_modules/recharts/es6/state/legendSlice.js +57 -0
- package/dist/node_modules/recharts/es6/state/mouseEventsMiddleware.js +52 -0
- package/dist/node_modules/recharts/es6/state/optionsSlice.js +28 -0
- package/dist/node_modules/recharts/es6/state/polarAxisSlice.js +31 -0
- package/dist/node_modules/recharts/es6/state/polarOptionsSlice.js +12 -0
- package/dist/node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js +6 -0
- package/dist/node_modules/recharts/es6/state/referenceElementsSlice.js +44 -0
- package/dist/node_modules/recharts/es6/state/renderedTicksSlice.js +26 -0
- package/dist/node_modules/recharts/es6/state/rootPropsSlice.js +28 -0
- package/dist/node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js +16 -0
- package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +925 -0
- package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +14 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js +9 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js +41 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAxisRangeWithReverse.js +7 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js +22 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js +27 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCoordinateForDefaultIndex.js +24 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js +8 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js +78 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +137 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayloadConfigurations.js +20 -0
- package/dist/node_modules/recharts/es6/state/selectors/containerSelectors.js +7 -0
- package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +27 -0
- package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js +4 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisId.js +4 -0
- package/dist/node_modules/recharts/es6/state/selectors/pickAxisType.js +4 -0
- package/dist/node_modules/recharts/es6/state/selectors/pieSelectors.js +78 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +147 -0
- package/dist/node_modules/recharts/es6/state/selectors/polarSelectors.js +36 -0
- package/dist/node_modules/recharts/es6/state/selectors/rootPropsSelectors.js +10 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectActivePropsFromChartPointer.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectAllAxes.js +6 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +11 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +123 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectPlotArea.js +15 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +4 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +8 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipEventType.js +17 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipPayloadSearcher.js +4 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipSettings.js +4 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipState.js +4 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectors.js +62 -0
- package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +107 -0
- package/dist/node_modules/recharts/es6/state/selectors/touchSelectors.js +15 -0
- package/dist/node_modules/recharts/es6/state/store.js +79 -0
- package/dist/node_modules/recharts/es6/state/tooltipSlice.js +106 -0
- package/dist/node_modules/recharts/es6/state/touchEventsMiddleware.js +72 -0
- package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +6 -0
- package/dist/node_modules/recharts/es6/state/zIndexSlice.js +102 -0
- package/dist/node_modules/recharts/es6/synchronisation/useChartSynchronisation.js +183 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +71 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +185 -0
- package/dist/node_modules/recharts/es6/util/Constants.js +7 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +89 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Global.js +6 -0
- package/dist/node_modules/recharts/es6/util/LRUCache.js +44 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +14 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +113 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +24 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +151 -0
- package/dist/node_modules/recharts/es6/util/createEventProxy.js +15 -0
- package/dist/node_modules/recharts/es6/util/excludeEventProps.js +10 -0
- package/dist/node_modules/recharts/es6/util/getActiveCoordinate.js +141 -0
- package/dist/node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js +10 -0
- package/dist/node_modules/recharts/es6/util/getClassNameFromUnknown.js +6 -0
- package/dist/node_modules/recharts/es6/util/getRelativeCoordinate.js +31 -0
- package/dist/node_modules/recharts/es6/util/getSliced.js +6 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +131 -0
- package/dist/node_modules/recharts/es6/util/isWellBehavedNumber.js +10 -0
- package/dist/node_modules/recharts/es6/util/propsAreEqual.js +43 -0
- package/dist/node_modules/recharts/es6/util/resolveDefaultProps.js +45 -0
- package/dist/node_modules/recharts/es6/util/round.js +17 -0
- package/dist/node_modules/recharts/es6/util/scale/RechartsScale.js +44 -0
- package/dist/node_modules/recharts/es6/util/scale/createCategoricalInverse.js +29 -0
- package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +119 -0
- package/dist/node_modules/recharts/es6/util/scale/util/arithmetic.js +14 -0
- package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +6 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesAndEvents.js +12 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +340 -0
- package/dist/node_modules/recharts/es6/util/types.js +25 -0
- package/dist/node_modules/recharts/es6/util/useAnimationId.js +9 -0
- package/dist/node_modules/recharts/es6/util/useId.js +51 -0
- package/dist/node_modules/recharts/es6/util/usePrefersReducedMotion.js +58 -0
- package/dist/node_modules/recharts/es6/util/useReportScale.js +57 -0
- package/dist/node_modules/recharts/es6/util/useUniqueId.js +8 -0
- package/dist/node_modules/recharts/es6/zIndex/DefaultZIndexes.js +70 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexLayer.js +47 -0
- package/dist/node_modules/recharts/es6/zIndex/ZIndexPortal.js +40 -0
- package/dist/node_modules/recharts/es6/zIndex/zIndexSelectors.js +21 -0
- package/dist/node_modules/redux/dist/redux.js +258 -0
- package/dist/node_modules/redux-thunk/dist/redux-thunk.js +8 -0
- package/dist/node_modules/reselect/dist/reselect.js +226 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +66 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +66 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +65 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +10 -0
- package/dist/node_modules/use-sync-external-store/with-selector.js +10 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +47 -0
- package/dist/primitives/donut-chart/donut-chart.d.ts +32 -0
- package/dist/primitives/donut-chart/donut-chart.d.ts.map +1 -0
- package/dist/primitives/donut-chart/donut-chart.js +111 -0
- package/dist/primitives/donut-chart/index.d.ts +2 -0
- package/dist/primitives/donut-chart/index.d.ts.map +1 -0
- package/dist/primitives/hierarchical-select/HierarchicalSelect.d.ts.map +1 -1
- package/dist/primitives/hierarchical-select/HierarchicalSelect.js +47 -41
- package/dist/primitives/hierarchical-select/components/HierarchicalItem.d.ts.map +1 -1
- package/dist/primitives/hierarchical-select/components/HierarchicalItem.js +54 -48
- package/dist/primitives/hierarchical-select/utils/selection.d.ts.map +1 -1
- package/dist/primitives/hierarchical-select/utils/selection.js +63 -63
- package/dist/styles/components.css +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { isNan as E } from "./DataUtils.js";
|
|
2
|
+
var S;
|
|
3
|
+
function m(r, t) {
|
|
4
|
+
return Z(r) || z(r, t) || G(r, t) || X();
|
|
5
|
+
}
|
|
6
|
+
function X() {
|
|
7
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
9
|
+
}
|
|
10
|
+
function G(r, t) {
|
|
11
|
+
if (r) {
|
|
12
|
+
if (typeof r == "string") return x(r, t);
|
|
13
|
+
var n = {}.toString.call(r).slice(8, -1);
|
|
14
|
+
return n === "Object" && r.constructor && (n = r.constructor.name), n === "Map" || n === "Set" ? Array.from(r) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? x(r, t) : void 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function x(r, t) {
|
|
18
|
+
(t == null || t > r.length) && (t = r.length);
|
|
19
|
+
for (var n = 0, e = Array(t); n < t; n++) e[n] = r[n];
|
|
20
|
+
return e;
|
|
21
|
+
}
|
|
22
|
+
function z(r, t) {
|
|
23
|
+
var n = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
|
|
24
|
+
if (n != null) {
|
|
25
|
+
var e, u, a, o, l = [], s = !0, v = !1;
|
|
26
|
+
try {
|
|
27
|
+
if (a = (n = n.call(r)).next, t === 0) {
|
|
28
|
+
if (Object(n) !== n) return;
|
|
29
|
+
s = !1;
|
|
30
|
+
} else for (; !(s = (e = a.call(n)).done) && (l.push(e.value), l.length !== t); s = !0) ;
|
|
31
|
+
} catch (f) {
|
|
32
|
+
v = !0, u = f;
|
|
33
|
+
} finally {
|
|
34
|
+
try {
|
|
35
|
+
if (!s && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
36
|
+
} finally {
|
|
37
|
+
if (v) throw u;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return l;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function Z(r) {
|
|
44
|
+
if (Array.isArray(r)) return r;
|
|
45
|
+
}
|
|
46
|
+
function H(r, t, n) {
|
|
47
|
+
return (t = L(t)) in r ? Object.defineProperty(r, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = n, r;
|
|
48
|
+
}
|
|
49
|
+
function L(r) {
|
|
50
|
+
var t = R(r, "string");
|
|
51
|
+
return typeof t == "symbol" ? t : t + "";
|
|
52
|
+
}
|
|
53
|
+
function R(r, t) {
|
|
54
|
+
if (typeof r != "object" || !r) return r;
|
|
55
|
+
var n = r[Symbol.toPrimitive];
|
|
56
|
+
if (n !== void 0) {
|
|
57
|
+
var e = n.call(r, t);
|
|
58
|
+
if (typeof e != "object") return e;
|
|
59
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
60
|
+
}
|
|
61
|
+
return (t === "string" ? String : Number)(r);
|
|
62
|
+
}
|
|
63
|
+
var A = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, g = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, U = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Q = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, $ = {
|
|
64
|
+
cm: 96 / 2.54,
|
|
65
|
+
mm: 96 / 25.4,
|
|
66
|
+
pt: 96 / 72,
|
|
67
|
+
pc: 96 / 6,
|
|
68
|
+
in: 96,
|
|
69
|
+
Q: 96 / (2.54 * 40),
|
|
70
|
+
px: 1
|
|
71
|
+
}, F = ["cm", "mm", "pt", "pc", "in", "Q", "px"];
|
|
72
|
+
function M(r) {
|
|
73
|
+
return F.includes(r);
|
|
74
|
+
}
|
|
75
|
+
var c = "NaN";
|
|
76
|
+
function k(r, t) {
|
|
77
|
+
return r * $[t];
|
|
78
|
+
}
|
|
79
|
+
class i {
|
|
80
|
+
static parse(t) {
|
|
81
|
+
var n, e = (n = Q.exec(t)) !== null && n !== void 0 ? n : [], u = m(e, 3), a = u[1], o = u[2];
|
|
82
|
+
return a == null ? i.NaN : new i(parseFloat(a), o ?? "");
|
|
83
|
+
}
|
|
84
|
+
constructor(t, n) {
|
|
85
|
+
this.num = t, this.unit = n, this.num = t, this.unit = n, E(t) && (this.unit = ""), n !== "" && !U.test(n) && (this.num = NaN, this.unit = ""), M(n) && (this.num = k(t, n), this.unit = "px");
|
|
86
|
+
}
|
|
87
|
+
add(t) {
|
|
88
|
+
return this.unit !== t.unit ? new i(NaN, "") : new i(this.num + t.num, this.unit);
|
|
89
|
+
}
|
|
90
|
+
subtract(t) {
|
|
91
|
+
return this.unit !== t.unit ? new i(NaN, "") : new i(this.num - t.num, this.unit);
|
|
92
|
+
}
|
|
93
|
+
multiply(t) {
|
|
94
|
+
return this.unit !== "" && t.unit !== "" && this.unit !== t.unit ? new i(NaN, "") : new i(this.num * t.num, this.unit || t.unit);
|
|
95
|
+
}
|
|
96
|
+
divide(t) {
|
|
97
|
+
return this.unit !== "" && t.unit !== "" && this.unit !== t.unit ? new i(NaN, "") : new i(this.num / t.num, this.unit || t.unit);
|
|
98
|
+
}
|
|
99
|
+
toString() {
|
|
100
|
+
return "".concat(this.num).concat(this.unit);
|
|
101
|
+
}
|
|
102
|
+
isNaN() {
|
|
103
|
+
return E(this.num);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
S = i;
|
|
107
|
+
H(i, "NaN", new S(NaN, ""));
|
|
108
|
+
function T(r) {
|
|
109
|
+
if (r == null || r.includes(c))
|
|
110
|
+
return c;
|
|
111
|
+
for (var t = r; t.includes("*") || t.includes("/"); ) {
|
|
112
|
+
var n, e = (n = A.exec(t)) !== null && n !== void 0 ? n : [], u = m(e, 4), a = u[1], o = u[2], l = u[3], s = i.parse(a ?? ""), v = i.parse(l ?? ""), f = o === "*" ? s.multiply(v) : s.divide(v);
|
|
113
|
+
if (f.isNaN())
|
|
114
|
+
return c;
|
|
115
|
+
t = t.replace(A, f.toString());
|
|
116
|
+
}
|
|
117
|
+
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t); ) {
|
|
118
|
+
var d, I = (d = g.exec(t)) !== null && d !== void 0 ? d : [], p = m(I, 4), N = p[1], j = p[2], y = p[3], h = i.parse(N ?? ""), b = i.parse(y ?? ""), w = j === "+" ? h.add(b) : h.subtract(b);
|
|
119
|
+
if (w.isNaN())
|
|
120
|
+
return c;
|
|
121
|
+
t = t.replace(g, w.toString());
|
|
122
|
+
}
|
|
123
|
+
return t;
|
|
124
|
+
}
|
|
125
|
+
var P = /\(([^()]*)\)/;
|
|
126
|
+
function K(r) {
|
|
127
|
+
for (var t = r, n; (n = P.exec(t)) != null; ) {
|
|
128
|
+
var e = n, u = m(e, 2), a = u[1];
|
|
129
|
+
t = t.replace(P, T(a));
|
|
130
|
+
}
|
|
131
|
+
return t;
|
|
132
|
+
}
|
|
133
|
+
function W(r) {
|
|
134
|
+
var t = r.replace(/\s+/g, "");
|
|
135
|
+
return t = K(t), t = T(t), t;
|
|
136
|
+
}
|
|
137
|
+
function q(r) {
|
|
138
|
+
try {
|
|
139
|
+
return W(r);
|
|
140
|
+
} catch {
|
|
141
|
+
return c;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
function V(r) {
|
|
145
|
+
var t = q(r.slice(5, -1));
|
|
146
|
+
return t === c ? "" : t;
|
|
147
|
+
}
|
|
148
|
+
export {
|
|
149
|
+
V as reduceCSSCalc,
|
|
150
|
+
q as safeEvaluateExpression
|
|
151
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function f(r) {
|
|
2
|
+
r.persist();
|
|
3
|
+
var u = r.currentTarget;
|
|
4
|
+
return new Proxy(r, {
|
|
5
|
+
get: (t, n) => {
|
|
6
|
+
if (n === "currentTarget")
|
|
7
|
+
return u;
|
|
8
|
+
var e = Reflect.get(t, n);
|
|
9
|
+
return typeof e == "function" ? e.bind(t) : e;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
f as createEventProxy
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var e = ["dangerouslySetInnerHTML", "onCopy", "onCopyCapture", "onCut", "onCutCapture", "onPaste", "onPasteCapture", "onCompositionEnd", "onCompositionEndCapture", "onCompositionStart", "onCompositionStartCapture", "onCompositionUpdate", "onCompositionUpdateCapture", "onFocus", "onFocusCapture", "onBlur", "onBlurCapture", "onChange", "onChangeCapture", "onBeforeInput", "onBeforeInputCapture", "onInput", "onInputCapture", "onReset", "onResetCapture", "onSubmit", "onSubmitCapture", "onInvalid", "onInvalidCapture", "onLoad", "onLoadCapture", "onError", "onErrorCapture", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyPressCapture", "onKeyUp", "onKeyUpCapture", "onAbort", "onAbortCapture", "onCanPlay", "onCanPlayCapture", "onCanPlayThrough", "onCanPlayThroughCapture", "onDurationChange", "onDurationChangeCapture", "onEmptied", "onEmptiedCapture", "onEncrypted", "onEncryptedCapture", "onEnded", "onEndedCapture", "onLoadedData", "onLoadedDataCapture", "onLoadedMetadata", "onLoadedMetadataCapture", "onLoadStart", "onLoadStartCapture", "onPause", "onPauseCapture", "onPlay", "onPlayCapture", "onPlaying", "onPlayingCapture", "onProgress", "onProgressCapture", "onRateChange", "onRateChangeCapture", "onSeeked", "onSeekedCapture", "onSeeking", "onSeekingCapture", "onStalled", "onStalledCapture", "onSuspend", "onSuspendCapture", "onTimeUpdate", "onTimeUpdateCapture", "onVolumeChange", "onVolumeChangeCapture", "onWaiting", "onWaitingCapture", "onAuxClick", "onAuxClickCapture", "onClick", "onClickCapture", "onContextMenu", "onContextMenuCapture", "onDoubleClick", "onDoubleClickCapture", "onDrag", "onDragCapture", "onDragEnd", "onDragEndCapture", "onDragEnter", "onDragEnterCapture", "onDragExit", "onDragExitCapture", "onDragLeave", "onDragLeaveCapture", "onDragOver", "onDragOverCapture", "onDragStart", "onDragStartCapture", "onDrop", "onDropCapture", "onMouseDown", "onMouseDownCapture", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseMoveCapture", "onMouseOut", "onMouseOutCapture", "onMouseOver", "onMouseOverCapture", "onMouseUp", "onMouseUpCapture", "onSelect", "onSelectCapture", "onTouchCancel", "onTouchCancelCapture", "onTouchEnd", "onTouchEndCapture", "onTouchMove", "onTouchMoveCapture", "onTouchStart", "onTouchStartCapture", "onPointerDown", "onPointerDownCapture", "onPointerMove", "onPointerMoveCapture", "onPointerUp", "onPointerUpCapture", "onPointerCancel", "onPointerCancelCapture", "onPointerEnter", "onPointerEnterCapture", "onPointerLeave", "onPointerLeaveCapture", "onPointerOver", "onPointerOverCapture", "onPointerOut", "onPointerOutCapture", "onGotPointerCapture", "onGotPointerCaptureCapture", "onLostPointerCapture", "onLostPointerCaptureCapture", "onScroll", "onScrollCapture", "onWheel", "onWheelCapture", "onAnimationStart", "onAnimationStartCapture", "onAnimationEnd", "onAnimationEndCapture", "onAnimationIteration", "onAnimationIterationCapture", "onTransitionEnd", "onTransitionEndCapture"];
|
|
2
|
+
function t(o) {
|
|
3
|
+
if (typeof o != "string")
|
|
4
|
+
return !1;
|
|
5
|
+
var n = e;
|
|
6
|
+
return n.includes(o);
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
t as isEventKey
|
|
10
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { polarToCartesian as D } from "./PolarUtils.js";
|
|
2
|
+
import { mathSign as M } from "./DataUtils.js";
|
|
3
|
+
function N(t, e) {
|
|
4
|
+
var l = Object.keys(t);
|
|
5
|
+
if (Object.getOwnPropertySymbols) {
|
|
6
|
+
var n = Object.getOwnPropertySymbols(t);
|
|
7
|
+
e && (n = n.filter(function(r) {
|
|
8
|
+
return Object.getOwnPropertyDescriptor(t, r).enumerable;
|
|
9
|
+
})), l.push.apply(l, n);
|
|
10
|
+
}
|
|
11
|
+
return l;
|
|
12
|
+
}
|
|
13
|
+
function f(t) {
|
|
14
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
15
|
+
var l = arguments[e] != null ? arguments[e] : {};
|
|
16
|
+
e % 2 ? N(Object(l), !0).forEach(function(n) {
|
|
17
|
+
G(t, n, l[n]);
|
|
18
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(l)) : N(Object(l)).forEach(function(n) {
|
|
19
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(l, n));
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
}
|
|
24
|
+
function G(t, e, l) {
|
|
25
|
+
return (e = H(e)) in t ? Object.defineProperty(t, e, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = l, t;
|
|
26
|
+
}
|
|
27
|
+
function H(t) {
|
|
28
|
+
var e = J(t, "string");
|
|
29
|
+
return typeof e == "symbol" ? e : e + "";
|
|
30
|
+
}
|
|
31
|
+
function J(t, e) {
|
|
32
|
+
if (typeof t != "object" || !t) return t;
|
|
33
|
+
var l = t[Symbol.toPrimitive];
|
|
34
|
+
if (l !== void 0) {
|
|
35
|
+
var n = l.call(t, e);
|
|
36
|
+
if (typeof n != "object") return n;
|
|
37
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
38
|
+
}
|
|
39
|
+
return (e === "string" ? String : Number)(t);
|
|
40
|
+
}
|
|
41
|
+
var V = (t, e, l, n) => {
|
|
42
|
+
var r = e.find((o) => o && o.index === l);
|
|
43
|
+
if (r) {
|
|
44
|
+
if (t === "horizontal")
|
|
45
|
+
return {
|
|
46
|
+
x: r.coordinate,
|
|
47
|
+
y: n.relativeY
|
|
48
|
+
};
|
|
49
|
+
if (t === "vertical")
|
|
50
|
+
return {
|
|
51
|
+
x: n.relativeX,
|
|
52
|
+
y: r.coordinate
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
x: 0,
|
|
57
|
+
y: 0
|
|
58
|
+
};
|
|
59
|
+
}, Z = (t, e, l, n) => {
|
|
60
|
+
var r = e.find((v) => v && v.index === l);
|
|
61
|
+
if (r) {
|
|
62
|
+
if (t === "centric") {
|
|
63
|
+
var o = r.coordinate, i = n.radius;
|
|
64
|
+
return f(f(f({}, n), D(n.cx, n.cy, i, o)), {}, {
|
|
65
|
+
angle: o,
|
|
66
|
+
radius: i
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
var x = r.coordinate, h = n.angle;
|
|
70
|
+
return f(f(f({}, n), D(n.cx, n.cy, x, h)), {}, {
|
|
71
|
+
angle: h,
|
|
72
|
+
radius: x
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
angle: 0,
|
|
77
|
+
clockWise: !1,
|
|
78
|
+
cx: 0,
|
|
79
|
+
cy: 0,
|
|
80
|
+
endAngle: 0,
|
|
81
|
+
innerRadius: 0,
|
|
82
|
+
outerRadius: 0,
|
|
83
|
+
radius: 0,
|
|
84
|
+
startAngle: 0,
|
|
85
|
+
x: 0,
|
|
86
|
+
y: 0
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
function L(t, e) {
|
|
90
|
+
var l = t.relativeX, n = t.relativeY;
|
|
91
|
+
return l >= e.left && l <= e.left + e.width && n >= e.top && n <= e.top + e.height;
|
|
92
|
+
}
|
|
93
|
+
var R = (t, e, l, n, r) => {
|
|
94
|
+
var o, i = (o = e == null ? void 0 : e.length) !== null && o !== void 0 ? o : 0;
|
|
95
|
+
if (i <= 1 || t == null)
|
|
96
|
+
return 0;
|
|
97
|
+
if (n === "angleAxis" && r != null && Math.abs(Math.abs(r[1] - r[0]) - 360) <= 1e-6)
|
|
98
|
+
for (var x = r[1] - r[0], h = (z, B, F) => [t, t + x, t - x].some((K) => (F ? K >= z : K > z) && K <= B), v = 0; v < i; v++) {
|
|
99
|
+
var j, A, S, c, g, m = v > 0 ? (j = l[v - 1]) === null || j === void 0 ? void 0 : j.coordinate : (A = l[i - 1]) === null || A === void 0 ? void 0 : A.coordinate, a = (S = l[v]) === null || S === void 0 ? void 0 : S.coordinate, p = v >= i - 1 ? (c = l[0]) === null || c === void 0 ? void 0 : c.coordinate : (g = l[v + 1]) === null || g === void 0 ? void 0 : g.coordinate, P = void 0;
|
|
100
|
+
if (!(m == null || a == null || p == null))
|
|
101
|
+
if (M(a - m) !== M(p - a)) {
|
|
102
|
+
var d = [];
|
|
103
|
+
if (M(p - a) === M(r[1] - r[0])) {
|
|
104
|
+
P = p;
|
|
105
|
+
var b = a + r[1] - r[0];
|
|
106
|
+
d[0] = Math.min(b, (b + m) / 2), d[1] = Math.max(b, (b + m) / 2);
|
|
107
|
+
} else {
|
|
108
|
+
P = m;
|
|
109
|
+
var X = p + r[1] - r[0];
|
|
110
|
+
d[0] = Math.min(a, (X + a) / 2), d[1] = Math.max(a, (X + a) / 2);
|
|
111
|
+
}
|
|
112
|
+
var Y = [Math.min(a, (P + a) / 2), Math.max(a, (P + a) / 2)];
|
|
113
|
+
if (h(Y[0], Y[1], !1) || h(d[0], d[1], !0)) {
|
|
114
|
+
var E;
|
|
115
|
+
return (E = l[v]) === null || E === void 0 ? void 0 : E.index;
|
|
116
|
+
}
|
|
117
|
+
} else {
|
|
118
|
+
var W = Math.min(m, p), q = Math.max(m, p);
|
|
119
|
+
if (h((W + a) / 2, (q + a) / 2, !1)) {
|
|
120
|
+
var C;
|
|
121
|
+
return (C = l[v]) === null || C === void 0 ? void 0 : C.index;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
else if (e)
|
|
126
|
+
for (var y = 0; y < i; y++) {
|
|
127
|
+
var u = e[y];
|
|
128
|
+
if (u != null) {
|
|
129
|
+
var O = e[y + 1], w = e[y - 1];
|
|
130
|
+
if (y === 0 && O != null && t <= (u.coordinate + O.coordinate) / 2 || y === i - 1 && w != null && t > (u.coordinate + w.coordinate) / 2 || y > 0 && y < i - 1 && w != null && O != null && t > (u.coordinate + w.coordinate) / 2 && t <= (u.coordinate + O.coordinate) / 2)
|
|
131
|
+
return u.index;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return -1;
|
|
135
|
+
};
|
|
136
|
+
export {
|
|
137
|
+
R as calculateActiveTickIndex,
|
|
138
|
+
V as getActiveCartesianCoordinate,
|
|
139
|
+
Z as getActivePolarCoordinate,
|
|
140
|
+
L as isInCartesianRange
|
|
141
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
function n(t) {
|
|
2
|
+
return "getBBox" in t.currentTarget && typeof t.currentTarget.getBBox == "function";
|
|
3
|
+
}
|
|
4
|
+
function f(t) {
|
|
5
|
+
var r = t.currentTarget.getBoundingClientRect(), g, h;
|
|
6
|
+
if (n(t)) {
|
|
7
|
+
var i = t.currentTarget.getBBox();
|
|
8
|
+
g = i.width > 0 ? r.width / i.width : 1, h = i.height > 0 ? r.height / i.height : 1;
|
|
9
|
+
} else {
|
|
10
|
+
var e = t.currentTarget;
|
|
11
|
+
g = e.offsetWidth > 0 ? r.width / e.offsetWidth : 1, h = e.offsetHeight > 0 ? r.height / e.offsetHeight : 1;
|
|
12
|
+
}
|
|
13
|
+
var o = (a, c) => ({
|
|
14
|
+
/*
|
|
15
|
+
* Here it's important to use:
|
|
16
|
+
* - event.clientX and event.clientY to get the mouse position relative to the viewport, including scroll.
|
|
17
|
+
* - pageX and pageY are not used because they are relative to the whole document, and ignore scroll.
|
|
18
|
+
* - rect.left and rect.top are used to get the position of the chart relative to the viewport.
|
|
19
|
+
* - offsetX and offsetY are not used because they are relative to the offset parent
|
|
20
|
+
* which may or may not be the same as the clientX and clientY, depending on the position of the chart in the DOM
|
|
21
|
+
* and surrounding element styles. CSS position: relative, absolute, fixed, will change the offset parent.
|
|
22
|
+
* - scaleX and scaleY are necessary for when the chart element is scaled using CSS `transform: scale(N)`.
|
|
23
|
+
*/
|
|
24
|
+
relativeX: Math.round((a - r.left) / g),
|
|
25
|
+
relativeY: Math.round((c - r.top) / h)
|
|
26
|
+
});
|
|
27
|
+
return "touches" in t ? Array.from(t.touches).map((a) => o(a.clientX, a.clientY)) : o(t.clientX, t.clientY);
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
f as getRelativeCoordinate
|
|
31
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { MIN_VALUE_REG as I, MAX_VALUE_REG as S } from "./ChartUtils.js";
|
|
2
|
+
import { isNumber as E } from "./DataUtils.js";
|
|
3
|
+
import { isWellBehavedNumber as i } from "./isWellBehavedNumber.js";
|
|
4
|
+
function g(r, e) {
|
|
5
|
+
return j(r) || W(r, e) || U(r, e) || R();
|
|
6
|
+
}
|
|
7
|
+
function R() {
|
|
8
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
9
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
10
|
+
}
|
|
11
|
+
function U(r, e) {
|
|
12
|
+
if (r) {
|
|
13
|
+
if (typeof r == "string") return N(r, e);
|
|
14
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
15
|
+
return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? N(r, e) : void 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function N(r, e) {
|
|
19
|
+
(e == null || e > r.length) && (e = r.length);
|
|
20
|
+
for (var t = 0, l = Array(e); t < e; t++) l[t] = r[t];
|
|
21
|
+
return l;
|
|
22
|
+
}
|
|
23
|
+
function W(r, e) {
|
|
24
|
+
var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
|
|
25
|
+
if (t != null) {
|
|
26
|
+
var l, c, n, u, f = [], y = !0, s = !1;
|
|
27
|
+
try {
|
|
28
|
+
if (n = (t = t.call(r)).next, e !== 0) for (; !(y = (l = n.call(t)).done) && (f.push(l.value), f.length !== e); y = !0) ;
|
|
29
|
+
} catch (A) {
|
|
30
|
+
s = !0, c = A;
|
|
31
|
+
} finally {
|
|
32
|
+
try {
|
|
33
|
+
if (!y && t.return != null && (u = t.return(), Object(u) !== u)) return;
|
|
34
|
+
} finally {
|
|
35
|
+
if (s) throw c;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return f;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function j(r) {
|
|
42
|
+
if (Array.isArray(r)) return r;
|
|
43
|
+
}
|
|
44
|
+
function b(r) {
|
|
45
|
+
if (Array.isArray(r) && r.length === 2) {
|
|
46
|
+
var e = g(r, 2), t = e[0], l = e[1];
|
|
47
|
+
if (i(t) && i(l))
|
|
48
|
+
return !0;
|
|
49
|
+
}
|
|
50
|
+
return !1;
|
|
51
|
+
}
|
|
52
|
+
function T(r, e, t) {
|
|
53
|
+
return t ? r : [Math.min(r[0], e[0]), Math.max(r[1], e[1])];
|
|
54
|
+
}
|
|
55
|
+
function V(r, e) {
|
|
56
|
+
if (e && typeof r != "function" && Array.isArray(r) && r.length === 2) {
|
|
57
|
+
var t = g(r, 2), l = t[0], c = t[1], n, u;
|
|
58
|
+
if (i(l))
|
|
59
|
+
n = l;
|
|
60
|
+
else if (typeof l == "function")
|
|
61
|
+
return;
|
|
62
|
+
if (i(c))
|
|
63
|
+
u = c;
|
|
64
|
+
else if (typeof c == "function")
|
|
65
|
+
return;
|
|
66
|
+
var f = [n, u];
|
|
67
|
+
if (b(f))
|
|
68
|
+
return f;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function k(r, e, t) {
|
|
72
|
+
if (!(!t && e == null)) {
|
|
73
|
+
if (typeof r == "function" && e != null)
|
|
74
|
+
try {
|
|
75
|
+
var l = r(e, t);
|
|
76
|
+
if (b(l))
|
|
77
|
+
return T(l, e, t);
|
|
78
|
+
} catch {
|
|
79
|
+
}
|
|
80
|
+
if (Array.isArray(r) && r.length === 2) {
|
|
81
|
+
var c = g(r, 2), n = c[0], u = c[1], f, y;
|
|
82
|
+
if (n === "auto")
|
|
83
|
+
e != null && (f = Math.min(...e));
|
|
84
|
+
else if (E(n))
|
|
85
|
+
f = n;
|
|
86
|
+
else if (typeof n == "function")
|
|
87
|
+
try {
|
|
88
|
+
e != null && (f = n(e == null ? void 0 : e[0]));
|
|
89
|
+
} catch {
|
|
90
|
+
}
|
|
91
|
+
else if (typeof n == "string" && I.test(n)) {
|
|
92
|
+
var s = I.exec(n);
|
|
93
|
+
if (s == null || s[1] == null || e == null)
|
|
94
|
+
f = void 0;
|
|
95
|
+
else {
|
|
96
|
+
var A = +s[1];
|
|
97
|
+
f = e[0] - A;
|
|
98
|
+
}
|
|
99
|
+
} else
|
|
100
|
+
f = e == null ? void 0 : e[0];
|
|
101
|
+
if (u === "auto")
|
|
102
|
+
e != null && (y = Math.max(...e));
|
|
103
|
+
else if (E(u))
|
|
104
|
+
y = u;
|
|
105
|
+
else if (typeof u == "function")
|
|
106
|
+
try {
|
|
107
|
+
e != null && (y = u(e == null ? void 0 : e[1]));
|
|
108
|
+
} catch {
|
|
109
|
+
}
|
|
110
|
+
else if (typeof u == "string" && S.test(u)) {
|
|
111
|
+
var h = S.exec(u);
|
|
112
|
+
if (h == null || h[1] == null || e == null)
|
|
113
|
+
y = void 0;
|
|
114
|
+
else {
|
|
115
|
+
var L = +h[1];
|
|
116
|
+
y = e[1] + L;
|
|
117
|
+
}
|
|
118
|
+
} else
|
|
119
|
+
y = e == null ? void 0 : e[1];
|
|
120
|
+
var o = [f, y];
|
|
121
|
+
if (b(o))
|
|
122
|
+
return e == null ? o : T(o, e, t);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
export {
|
|
127
|
+
T as extendDomain,
|
|
128
|
+
b as isWellFormedNumberDomain,
|
|
129
|
+
V as numericalDomainSpecifiedWithoutRequiringData,
|
|
130
|
+
k as parseNumericalUserDomain
|
|
131
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { shallowEqual as r } from "../../../react-redux/dist/react-redux.js";
|
|
2
|
+
var i = /* @__PURE__ */ new Set([
|
|
3
|
+
"axisLine",
|
|
4
|
+
"tickLine",
|
|
5
|
+
"activeBar",
|
|
6
|
+
"activeDot",
|
|
7
|
+
"activeLabel",
|
|
8
|
+
"activeShape",
|
|
9
|
+
"allowEscapeViewBox",
|
|
10
|
+
"background",
|
|
11
|
+
"cursor",
|
|
12
|
+
"dot",
|
|
13
|
+
"label",
|
|
14
|
+
"line",
|
|
15
|
+
"margin",
|
|
16
|
+
"padding",
|
|
17
|
+
"position",
|
|
18
|
+
"shape",
|
|
19
|
+
"style",
|
|
20
|
+
"tick",
|
|
21
|
+
"wrapperStyle",
|
|
22
|
+
// radius can be an array of 4 numbers, easy to compare shallowly
|
|
23
|
+
"radius",
|
|
24
|
+
"throttledEvents"
|
|
25
|
+
]);
|
|
26
|
+
function n(e, a) {
|
|
27
|
+
return e == null && a == null ? !0 : typeof e == "number" && typeof a == "number" ? e === a || e !== e && a !== a : e === a;
|
|
28
|
+
}
|
|
29
|
+
function o(e, a) {
|
|
30
|
+
var l = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(a)]);
|
|
31
|
+
for (var t of l)
|
|
32
|
+
if (i.has(t)) {
|
|
33
|
+
if (e[t] == null && a[t] == null)
|
|
34
|
+
continue;
|
|
35
|
+
if (!r(e[t], a[t]))
|
|
36
|
+
return !1;
|
|
37
|
+
} else if (!n(e[t], a[t]))
|
|
38
|
+
return !1;
|
|
39
|
+
return !0;
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
o as propsAreEqual
|
|
43
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
function c(e, r) {
|
|
2
|
+
var t = Object.keys(e);
|
|
3
|
+
if (Object.getOwnPropertySymbols) {
|
|
4
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
5
|
+
r && (n = n.filter(function(i) {
|
|
6
|
+
return Object.getOwnPropertyDescriptor(e, i).enumerable;
|
|
7
|
+
})), t.push.apply(t, n);
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
}
|
|
11
|
+
function p(e) {
|
|
12
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
13
|
+
var t = arguments[r] != null ? arguments[r] : {};
|
|
14
|
+
r % 2 ? c(Object(t), !0).forEach(function(n) {
|
|
15
|
+
a(e, n, t[n]);
|
|
16
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : c(Object(t)).forEach(function(n) {
|
|
17
|
+
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return e;
|
|
21
|
+
}
|
|
22
|
+
function a(e, r, t) {
|
|
23
|
+
return (r = b(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
24
|
+
}
|
|
25
|
+
function b(e) {
|
|
26
|
+
var r = s(e, "string");
|
|
27
|
+
return typeof r == "symbol" ? r : r + "";
|
|
28
|
+
}
|
|
29
|
+
function s(e, r) {
|
|
30
|
+
if (typeof e != "object" || !e) return e;
|
|
31
|
+
var t = e[Symbol.toPrimitive];
|
|
32
|
+
if (t !== void 0) {
|
|
33
|
+
var n = t.call(e, r);
|
|
34
|
+
if (typeof n != "object") return n;
|
|
35
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
36
|
+
}
|
|
37
|
+
return (r === "string" ? String : Number)(e);
|
|
38
|
+
}
|
|
39
|
+
function y(e, r) {
|
|
40
|
+
var t = p({}, e), n = r, i = Object.keys(r), f = i.reduce((u, o) => (u[o] === void 0 && n[o] !== void 0 && (u[o] = n[o]), u), t);
|
|
41
|
+
return f;
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
y as resolveDefaultProps
|
|
45
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var i = 4;
|
|
2
|
+
function f(t) {
|
|
3
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : i, e = 10 ** n, r = Math.round(t * e) / e;
|
|
4
|
+
return Object.is(r, -0) ? 0 : r;
|
|
5
|
+
}
|
|
6
|
+
function c(t) {
|
|
7
|
+
for (var n = arguments.length, e = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++)
|
|
8
|
+
e[r - 1] = arguments[r];
|
|
9
|
+
return t.reduce((a, o, d) => {
|
|
10
|
+
var u = e[d - 1];
|
|
11
|
+
return typeof u == "string" ? a + u + o : u !== void 0 ? a + f(u) + o : a + o;
|
|
12
|
+
}, "");
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
f as round,
|
|
16
|
+
c as roundTemplateLiteral
|
|
17
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
function s(t) {
|
|
2
|
+
if (t != null) {
|
|
3
|
+
var e = t.ticks, u = t.bandwidth, d = t.range(), a = [Math.min(...d), Math.max(...d)];
|
|
4
|
+
return {
|
|
5
|
+
domain: () => t.domain(),
|
|
6
|
+
range: (function(n) {
|
|
7
|
+
function r() {
|
|
8
|
+
return n.apply(this, arguments);
|
|
9
|
+
}
|
|
10
|
+
return r.toString = function() {
|
|
11
|
+
return n.toString();
|
|
12
|
+
}, r;
|
|
13
|
+
})(() => a),
|
|
14
|
+
rangeMin: () => a[0],
|
|
15
|
+
rangeMax: () => a[1],
|
|
16
|
+
isInRange(n) {
|
|
17
|
+
var r = a[0], i = a[1];
|
|
18
|
+
return r <= i ? n >= r && n <= i : n >= i && n <= r;
|
|
19
|
+
},
|
|
20
|
+
bandwidth: u ? () => u.call(t) : void 0,
|
|
21
|
+
ticks: e ? (n) => e.call(t, n) : void 0,
|
|
22
|
+
map: (n, r) => {
|
|
23
|
+
var i = t(n);
|
|
24
|
+
if (i != null) {
|
|
25
|
+
if (t.bandwidth && r !== null && r !== void 0 && r.position) {
|
|
26
|
+
var f = t.bandwidth();
|
|
27
|
+
switch (r.position) {
|
|
28
|
+
case "middle":
|
|
29
|
+
i += f / 2;
|
|
30
|
+
break;
|
|
31
|
+
case "end":
|
|
32
|
+
i += f;
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return i;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
s as rechartsScaleFactory
|
|
44
|
+
};
|