@pibit.ai/cure-design-system 0.6.42 → 0.6.44
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 +35 -0
- package/dist/primitives/donut-chart/donut-chart.d.ts.map +1 -0
- package/dist/primitives/donut-chart/donut-chart.js +121 -0
- package/dist/primitives/donut-chart/index.d.ts +2 -0
- package/dist/primitives/donut-chart/index.d.ts.map +1 -0
- package/dist/styles/components.css +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
function g(r, n) {
|
|
2
|
+
return M(r) || b(r, n) || A(r, n) || m();
|
|
3
|
+
}
|
|
4
|
+
function m() {
|
|
5
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
7
|
+
}
|
|
8
|
+
function A(r, n) {
|
|
9
|
+
if (r) {
|
|
10
|
+
if (typeof r == "string") return h(r, n);
|
|
11
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
12
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? h(r, n) : void 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function h(r, n) {
|
|
16
|
+
(n == null || n > r.length) && (n = r.length);
|
|
17
|
+
for (var e = 0, a = Array(n); e < n; e++) a[e] = r[e];
|
|
18
|
+
return a;
|
|
19
|
+
}
|
|
20
|
+
function b(r, n) {
|
|
21
|
+
var e = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
|
|
22
|
+
if (e != null) {
|
|
23
|
+
var a, u, t, l, o = [], i = !0, f = !1;
|
|
24
|
+
try {
|
|
25
|
+
if (t = (e = e.call(r)).next, n !== 0) for (; !(i = (a = t.call(e)).done) && (o.push(a.value), o.length !== n); i = !0) ;
|
|
26
|
+
} catch (d) {
|
|
27
|
+
f = !0, u = d;
|
|
28
|
+
} finally {
|
|
29
|
+
try {
|
|
30
|
+
if (!i && e.return != null && (l = e.return(), Object(l) !== l)) return;
|
|
31
|
+
} finally {
|
|
32
|
+
if (f) throw u;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return o;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function M(r) {
|
|
39
|
+
if (Array.isArray(r)) return r;
|
|
40
|
+
}
|
|
41
|
+
var P = "index", S = "append";
|
|
42
|
+
function c(r, n) {
|
|
43
|
+
var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], a = [];
|
|
44
|
+
for (var u of e)
|
|
45
|
+
a.push({
|
|
46
|
+
status: "removed",
|
|
47
|
+
prev: u
|
|
48
|
+
});
|
|
49
|
+
for (var t = 0; t < n.length; t++) {
|
|
50
|
+
var l = r[t], o = n[t];
|
|
51
|
+
l != null ? a.push({
|
|
52
|
+
status: "matched",
|
|
53
|
+
prev: l,
|
|
54
|
+
next: o
|
|
55
|
+
}) : a.push({
|
|
56
|
+
status: "added",
|
|
57
|
+
next: o
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
return a;
|
|
61
|
+
}
|
|
62
|
+
function w(r, n) {
|
|
63
|
+
var e = r.length / n.length, a = n.map((u, t) => r[Math.floor(t * e)]);
|
|
64
|
+
return c(a, n);
|
|
65
|
+
}
|
|
66
|
+
function T(r, n) {
|
|
67
|
+
var e = n.map((a, u) => r[u]);
|
|
68
|
+
return c(e, n);
|
|
69
|
+
}
|
|
70
|
+
function _(r, n) {
|
|
71
|
+
for (var e = /* @__PURE__ */ new Map(), a = 0; a < r.length; a++) {
|
|
72
|
+
var u = r[a];
|
|
73
|
+
if (u != null) {
|
|
74
|
+
var t = n(u, a);
|
|
75
|
+
t != null && !e.has(t) && e.set(t, u);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return e;
|
|
79
|
+
}
|
|
80
|
+
function j(r, n, e) {
|
|
81
|
+
var a = _(r, e), u = /* @__PURE__ */ new Set(), t = n.map((p, y) => {
|
|
82
|
+
var v = e(p, y);
|
|
83
|
+
if (v != null) {
|
|
84
|
+
var s = a.get(v);
|
|
85
|
+
if (s !== void 0)
|
|
86
|
+
return u.add(v), s;
|
|
87
|
+
}
|
|
88
|
+
}), l = [];
|
|
89
|
+
for (var o of a) {
|
|
90
|
+
var i = g(o, 2), f = i[0], d = i[1];
|
|
91
|
+
u.has(f) || l.push(d);
|
|
92
|
+
}
|
|
93
|
+
return c(t, n, l);
|
|
94
|
+
}
|
|
95
|
+
function K(r, n, e) {
|
|
96
|
+
return n == null ? null : r == null ? n.map((a) => ({
|
|
97
|
+
status: "added",
|
|
98
|
+
next: a
|
|
99
|
+
})) : e === P ? w(r, n) : e === S ? T(r, n) : j(r, n, e);
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
K as matchAnimationItems,
|
|
103
|
+
S as matchAppend,
|
|
104
|
+
P as matchByIndex
|
|
105
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
class u {
|
|
2
|
+
setTimeout(t) {
|
|
3
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, m = performance.now(), e = null, a = (r) => {
|
|
4
|
+
r - m >= n ? t(r) : e = requestAnimationFrame(a);
|
|
5
|
+
};
|
|
6
|
+
return e = requestAnimationFrame(a), () => {
|
|
7
|
+
e != null && cancelAnimationFrame(e);
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
u as RequestAnimationFrameTimeoutController
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useContext as o, createContext as r, useMemo as i } from "react";
|
|
2
|
+
import { animationControllerImpl as u } from "./AnimationControllerImpl.js";
|
|
3
|
+
var n = /* @__PURE__ */ r(u);
|
|
4
|
+
n.Provider;
|
|
5
|
+
function x(t) {
|
|
6
|
+
var e = o(n);
|
|
7
|
+
return i(() => t ?? e, [t, e]);
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
x as useAnimationController
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useRef as c, useCallback as o } from "react";
|
|
2
|
+
function i(t, r) {
|
|
3
|
+
var f = c(t), e = c(r.current), n = c(!0);
|
|
4
|
+
f.current !== t && (f.current = t, e.current = r.current, n.current = !1);
|
|
5
|
+
var s = o(function(a, u) {
|
|
6
|
+
var m = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
7
|
+
if (u === 0) {
|
|
8
|
+
n.current = !0;
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
u === 1 && (e.current = a), u > 0 && n.current && m && (r.current = a);
|
|
12
|
+
}, [r]);
|
|
13
|
+
return {
|
|
14
|
+
startValue: e.current,
|
|
15
|
+
syncStepValue: s
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
i as useAnimationStartSnapshot
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function t(i) {
|
|
2
|
+
if (i)
|
|
3
|
+
return {
|
|
4
|
+
x: i.x,
|
|
5
|
+
y: i.y,
|
|
6
|
+
upperWidth: "upperWidth" in i ? i.upperWidth : i.width,
|
|
7
|
+
lowerWidth: "lowerWidth" in i ? i.lowerWidth : i.width,
|
|
8
|
+
width: i.width,
|
|
9
|
+
height: i.height
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
t as cartesianViewBoxToTrapezoid
|
|
14
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { isNumber as V, isPercent as E, getPercentValue as W } from "../util/DataUtils.js";
|
|
2
|
+
import { cartesianViewBoxToTrapezoid as L } from "./cartesianViewBoxToTrapezoid.js";
|
|
3
|
+
function D(t, e) {
|
|
4
|
+
var r = Object.keys(t);
|
|
5
|
+
if (Object.getOwnPropertySymbols) {
|
|
6
|
+
var o = Object.getOwnPropertySymbols(t);
|
|
7
|
+
e && (o = o.filter(function(m) {
|
|
8
|
+
return Object.getOwnPropertyDescriptor(t, m).enumerable;
|
|
9
|
+
})), r.push.apply(r, o);
|
|
10
|
+
}
|
|
11
|
+
return r;
|
|
12
|
+
}
|
|
13
|
+
function h(t) {
|
|
14
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
15
|
+
var r = arguments[e] != null ? arguments[e] : {};
|
|
16
|
+
e % 2 ? D(Object(r), !0).forEach(function(o) {
|
|
17
|
+
R(t, o, r[o]);
|
|
18
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : D(Object(r)).forEach(function(o) {
|
|
19
|
+
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(r, o));
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
}
|
|
24
|
+
function R(t, e, r) {
|
|
25
|
+
return (e = K(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
26
|
+
}
|
|
27
|
+
function K(t) {
|
|
28
|
+
var e = N(t, "string");
|
|
29
|
+
return typeof e == "symbol" ? e : e + "";
|
|
30
|
+
}
|
|
31
|
+
function N(t, e) {
|
|
32
|
+
if (typeof t != "object" || !t) return t;
|
|
33
|
+
var r = t[Symbol.toPrimitive];
|
|
34
|
+
if (r !== void 0) {
|
|
35
|
+
var o = r.call(t, e);
|
|
36
|
+
if (typeof o != "object") return o;
|
|
37
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
38
|
+
}
|
|
39
|
+
return (e === "string" ? String : Number)(t);
|
|
40
|
+
}
|
|
41
|
+
var H = (t) => {
|
|
42
|
+
var e = t.viewBox, r = t.position, o = t.offset, m = o === void 0 ? 0 : o, M = t.parentViewBox, y = L(e), P = y.x, i = y.y, n = y.height, l = y.upperWidth, v = y.lowerWidth, u = P, p = P + (l - v) / 2, s = (u + p) / 2, x = (l + v) / 2, X = u + l / 2, j = n >= 0 ? 1 : -1, f = j * m, g = j > 0 ? "end" : "start", b = j > 0 ? "start" : "end", B = l >= 0 ? 1 : -1, d = B * m, A = B > 0 ? "end" : "start", w = B > 0 ? "start" : "end", a = M;
|
|
43
|
+
if (r === "top") {
|
|
44
|
+
var S = {
|
|
45
|
+
x: u + l / 2,
|
|
46
|
+
y: i - f,
|
|
47
|
+
horizontalAnchor: "middle",
|
|
48
|
+
verticalAnchor: g
|
|
49
|
+
};
|
|
50
|
+
return a && (S.height = Math.max(i - a.y, 0), S.width = l), S;
|
|
51
|
+
}
|
|
52
|
+
if (r === "bottom") {
|
|
53
|
+
var T = {
|
|
54
|
+
x: p + v / 2,
|
|
55
|
+
y: i + n + f,
|
|
56
|
+
horizontalAnchor: "middle",
|
|
57
|
+
verticalAnchor: b
|
|
58
|
+
};
|
|
59
|
+
return a && (T.height = Math.max(a.y + a.height - (i + n), 0), T.width = v), T;
|
|
60
|
+
}
|
|
61
|
+
if (r === "left") {
|
|
62
|
+
var O = {
|
|
63
|
+
x: s - d,
|
|
64
|
+
y: i + n / 2,
|
|
65
|
+
horizontalAnchor: A,
|
|
66
|
+
verticalAnchor: "middle"
|
|
67
|
+
};
|
|
68
|
+
return a && (O.width = Math.max(O.x - a.x, 0), O.height = n), O;
|
|
69
|
+
}
|
|
70
|
+
if (r === "right") {
|
|
71
|
+
var z = {
|
|
72
|
+
x: s + x + d,
|
|
73
|
+
y: i + n / 2,
|
|
74
|
+
horizontalAnchor: w,
|
|
75
|
+
verticalAnchor: "middle"
|
|
76
|
+
};
|
|
77
|
+
return a && (z.width = Math.max(a.x + a.width - z.x, 0), z.height = n), z;
|
|
78
|
+
}
|
|
79
|
+
var c = a ? {
|
|
80
|
+
width: x,
|
|
81
|
+
height: n
|
|
82
|
+
} : {};
|
|
83
|
+
return r === "insideLeft" ? h({
|
|
84
|
+
x: s + d,
|
|
85
|
+
y: i + n / 2,
|
|
86
|
+
horizontalAnchor: w,
|
|
87
|
+
verticalAnchor: "middle"
|
|
88
|
+
}, c) : r === "insideRight" ? h({
|
|
89
|
+
x: s + x - d,
|
|
90
|
+
y: i + n / 2,
|
|
91
|
+
horizontalAnchor: A,
|
|
92
|
+
verticalAnchor: "middle"
|
|
93
|
+
}, c) : r === "insideTop" ? h({
|
|
94
|
+
x: u + l / 2,
|
|
95
|
+
y: i + f,
|
|
96
|
+
horizontalAnchor: "middle",
|
|
97
|
+
verticalAnchor: b
|
|
98
|
+
}, c) : r === "insideBottom" ? h({
|
|
99
|
+
x: p + v / 2,
|
|
100
|
+
y: i + n - f,
|
|
101
|
+
horizontalAnchor: "middle",
|
|
102
|
+
verticalAnchor: g
|
|
103
|
+
}, c) : r === "insideTopLeft" ? h({
|
|
104
|
+
x: u + d,
|
|
105
|
+
y: i + f,
|
|
106
|
+
horizontalAnchor: w,
|
|
107
|
+
verticalAnchor: b
|
|
108
|
+
}, c) : r === "insideTopRight" ? h({
|
|
109
|
+
x: u + l - d,
|
|
110
|
+
y: i + f,
|
|
111
|
+
horizontalAnchor: A,
|
|
112
|
+
verticalAnchor: b
|
|
113
|
+
}, c) : r === "insideBottomLeft" ? h({
|
|
114
|
+
x: p + d,
|
|
115
|
+
y: i + n - f,
|
|
116
|
+
horizontalAnchor: w,
|
|
117
|
+
verticalAnchor: g
|
|
118
|
+
}, c) : r === "insideBottomRight" ? h({
|
|
119
|
+
x: p + v - d,
|
|
120
|
+
y: i + n - f,
|
|
121
|
+
horizontalAnchor: A,
|
|
122
|
+
verticalAnchor: g
|
|
123
|
+
}, c) : r && typeof r == "object" && (V(r.x) || E(r.x)) && (V(r.y) || E(r.y)) ? h({
|
|
124
|
+
x: P + W(r.x, x),
|
|
125
|
+
y: i + W(r.y, n),
|
|
126
|
+
horizontalAnchor: "end",
|
|
127
|
+
verticalAnchor: "end"
|
|
128
|
+
}, c) : h({
|
|
129
|
+
x: X,
|
|
130
|
+
y: i + n / 2,
|
|
131
|
+
horizontalAnchor: "middle",
|
|
132
|
+
verticalAnchor: "middle"
|
|
133
|
+
}, c);
|
|
134
|
+
}, k = ["top", "left", "right", "bottom"];
|
|
135
|
+
function $(t) {
|
|
136
|
+
return t == null ? !1 : typeof t == "object" ? !0 : k.includes(t);
|
|
137
|
+
}
|
|
138
|
+
export {
|
|
139
|
+
H as getCartesianPosition,
|
|
140
|
+
$ as isOutsidePosition
|
|
141
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { forwardRef as v } from "react";
|
|
3
|
+
import { RootSurface as h } from "../container/RootSurface.js";
|
|
4
|
+
import { RechartsWrapper as M } from "./RechartsWrapper.js";
|
|
5
|
+
import { ClipPathProvider as E } from "../container/ClipPathProvider.js";
|
|
6
|
+
import { svgPropertiesNoEvents as b } from "../util/svgPropertiesNoEvents.js";
|
|
7
|
+
import { ReportChartSize as g } from "../context/chartLayoutContext.js";
|
|
8
|
+
var w = ["width", "height", "responsive", "children", "className", "style", "compact", "title", "desc"];
|
|
9
|
+
function y(e, r) {
|
|
10
|
+
if (e == null) return {};
|
|
11
|
+
var o, t, i = C(e, r);
|
|
12
|
+
if (Object.getOwnPropertySymbols) {
|
|
13
|
+
var l = Object.getOwnPropertySymbols(e);
|
|
14
|
+
for (t = 0; t < l.length; t++) o = l[t], r.indexOf(o) === -1 && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
15
|
+
}
|
|
16
|
+
return i;
|
|
17
|
+
}
|
|
18
|
+
function C(e, r) {
|
|
19
|
+
if (e == null) return {};
|
|
20
|
+
var o = {};
|
|
21
|
+
for (var t in e) if ({}.hasOwnProperty.call(e, t)) {
|
|
22
|
+
if (r.indexOf(t) !== -1) continue;
|
|
23
|
+
o[t] = e[t];
|
|
24
|
+
}
|
|
25
|
+
return o;
|
|
26
|
+
}
|
|
27
|
+
var R = /* @__PURE__ */ v((e, r) => {
|
|
28
|
+
var o = e.width, t = e.height, i = e.responsive, l = e.children, s = e.className, m = e.style, f = e.compact, c = e.title, a = e.desc, d = y(e, w), u = b(d);
|
|
29
|
+
return f ? /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(g, {
|
|
30
|
+
width: o,
|
|
31
|
+
height: t
|
|
32
|
+
}), /* @__PURE__ */ n.createElement(h, {
|
|
33
|
+
otherAttributes: u,
|
|
34
|
+
title: c,
|
|
35
|
+
desc: a
|
|
36
|
+
}, l)) : /* @__PURE__ */ n.createElement(M, {
|
|
37
|
+
className: s,
|
|
38
|
+
style: m,
|
|
39
|
+
width: o,
|
|
40
|
+
height: t,
|
|
41
|
+
responsive: i ?? !1,
|
|
42
|
+
onClick: e.onClick,
|
|
43
|
+
onMouseLeave: e.onMouseLeave,
|
|
44
|
+
onMouseEnter: e.onMouseEnter,
|
|
45
|
+
onMouseMove: e.onMouseMove,
|
|
46
|
+
onMouseDown: e.onMouseDown,
|
|
47
|
+
onMouseUp: e.onMouseUp,
|
|
48
|
+
onContextMenu: e.onContextMenu,
|
|
49
|
+
onDoubleClick: e.onDoubleClick,
|
|
50
|
+
onTouchStart: e.onTouchStart,
|
|
51
|
+
onTouchMove: e.onTouchMove,
|
|
52
|
+
onTouchEnd: e.onTouchEnd
|
|
53
|
+
}, /* @__PURE__ */ n.createElement(h, {
|
|
54
|
+
otherAttributes: u,
|
|
55
|
+
title: c,
|
|
56
|
+
desc: a,
|
|
57
|
+
ref: r
|
|
58
|
+
}, /* @__PURE__ */ n.createElement(E, null, l)));
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
R as CategoricalChart
|
|
62
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as p from "react";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
|
+
import { arrayTooltipSearcher as u } from "../state/optionsSlice.js";
|
|
4
|
+
import { PolarChart as l, defaultPolarChartProps as f } from "./PolarChart.js";
|
|
5
|
+
import { resolveDefaultProps as s } from "../util/resolveDefaultProps.js";
|
|
6
|
+
function i(e, r) {
|
|
7
|
+
var t = Object.keys(e);
|
|
8
|
+
if (Object.getOwnPropertySymbols) {
|
|
9
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
10
|
+
r && (o = o.filter(function(n) {
|
|
11
|
+
return Object.getOwnPropertyDescriptor(e, n).enumerable;
|
|
12
|
+
})), t.push.apply(t, o);
|
|
13
|
+
}
|
|
14
|
+
return t;
|
|
15
|
+
}
|
|
16
|
+
function a(e) {
|
|
17
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
18
|
+
var t = arguments[r] != null ? arguments[r] : {};
|
|
19
|
+
r % 2 ? i(Object(t), !0).forEach(function(o) {
|
|
20
|
+
m(e, o, t[o]);
|
|
21
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : i(Object(t)).forEach(function(o) {
|
|
22
|
+
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(t, o));
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return e;
|
|
26
|
+
}
|
|
27
|
+
function m(e, r, t) {
|
|
28
|
+
return (r = y(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
29
|
+
}
|
|
30
|
+
function y(e) {
|
|
31
|
+
var r = b(e, "string");
|
|
32
|
+
return typeof r == "symbol" ? r : r + "";
|
|
33
|
+
}
|
|
34
|
+
function b(e, r) {
|
|
35
|
+
if (typeof e != "object" || !e) return e;
|
|
36
|
+
var t = e[Symbol.toPrimitive];
|
|
37
|
+
if (t !== void 0) {
|
|
38
|
+
var o = t.call(e, r);
|
|
39
|
+
if (typeof o != "object") return o;
|
|
40
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
41
|
+
}
|
|
42
|
+
return (r === "string" ? String : Number)(e);
|
|
43
|
+
}
|
|
44
|
+
var P = ["item"], v = a(a({}, f), {}, {
|
|
45
|
+
layout: "centric",
|
|
46
|
+
startAngle: 0,
|
|
47
|
+
endAngle: 360
|
|
48
|
+
}), d = /* @__PURE__ */ c((e, r) => {
|
|
49
|
+
var t = s(e, v);
|
|
50
|
+
return /* @__PURE__ */ p.createElement(l, {
|
|
51
|
+
chartName: "PieChart",
|
|
52
|
+
defaultTooltipEventType: "item",
|
|
53
|
+
validateTooltipEventTypes: P,
|
|
54
|
+
tooltipPayloadSearcher: u,
|
|
55
|
+
categoricalChartProps: t,
|
|
56
|
+
ref: r
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
export {
|
|
60
|
+
d as PieChart,
|
|
61
|
+
v as defaultPieChartProps
|
|
62
|
+
};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { forwardRef as d } from "react";
|
|
3
|
+
import { RechartsStoreProvider as v } from "../state/RechartsStoreProvider.js";
|
|
4
|
+
import { ChartDataContextProvider as b } from "../context/chartDataContext.js";
|
|
5
|
+
import { ReportMainChartProps as g } from "../state/ReportMainChartProps.js";
|
|
6
|
+
import { ReportChartProps as h } from "../state/ReportChartProps.js";
|
|
7
|
+
import { ReportEventSettings as P } from "../state/ReportEventSettings.js";
|
|
8
|
+
import { ReportPolarOptions as O } from "../state/ReportPolarOptions.js";
|
|
9
|
+
import { CategoricalChart as S } from "./CategoricalChart.js";
|
|
10
|
+
import { resolveDefaultProps as j } from "../util/resolveDefaultProps.js";
|
|
11
|
+
import { initialEventSettingsState as E } from "../state/eventSettingsSlice.js";
|
|
12
|
+
var C = ["layout"];
|
|
13
|
+
function l() {
|
|
14
|
+
return l = Object.assign ? Object.assign.bind() : function(e) {
|
|
15
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
16
|
+
var t = arguments[r];
|
|
17
|
+
for (var a in t) ({}).hasOwnProperty.call(t, a) && (e[a] = t[a]);
|
|
18
|
+
}
|
|
19
|
+
return e;
|
|
20
|
+
}, l.apply(null, arguments);
|
|
21
|
+
}
|
|
22
|
+
function w(e, r) {
|
|
23
|
+
if (e == null) return {};
|
|
24
|
+
var t, a, o = x(e, r);
|
|
25
|
+
if (Object.getOwnPropertySymbols) {
|
|
26
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
27
|
+
for (a = 0; a < i.length; a++) t = i[a], r.indexOf(t) === -1 && {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
|
|
28
|
+
}
|
|
29
|
+
return o;
|
|
30
|
+
}
|
|
31
|
+
function x(e, r) {
|
|
32
|
+
if (e == null) return {};
|
|
33
|
+
var t = {};
|
|
34
|
+
for (var a in e) if ({}.hasOwnProperty.call(e, a)) {
|
|
35
|
+
if (r.indexOf(a) !== -1) continue;
|
|
36
|
+
t[a] = e[a];
|
|
37
|
+
}
|
|
38
|
+
return t;
|
|
39
|
+
}
|
|
40
|
+
function s(e, r) {
|
|
41
|
+
var t = Object.keys(e);
|
|
42
|
+
if (Object.getOwnPropertySymbols) {
|
|
43
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
44
|
+
r && (a = a.filter(function(o) {
|
|
45
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
46
|
+
})), t.push.apply(t, a);
|
|
47
|
+
}
|
|
48
|
+
return t;
|
|
49
|
+
}
|
|
50
|
+
function R(e) {
|
|
51
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
52
|
+
var t = arguments[r] != null ? arguments[r] : {};
|
|
53
|
+
r % 2 ? s(Object(t), !0).forEach(function(a) {
|
|
54
|
+
D(e, a, t[a]);
|
|
55
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : s(Object(t)).forEach(function(a) {
|
|
56
|
+
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return e;
|
|
60
|
+
}
|
|
61
|
+
function D(e, r, t) {
|
|
62
|
+
return (r = T(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
63
|
+
}
|
|
64
|
+
function T(e) {
|
|
65
|
+
var r = _(e, "string");
|
|
66
|
+
return typeof r == "symbol" ? r : r + "";
|
|
67
|
+
}
|
|
68
|
+
function _(e, r) {
|
|
69
|
+
if (typeof e != "object" || !e) return e;
|
|
70
|
+
var t = e[Symbol.toPrimitive];
|
|
71
|
+
if (t !== void 0) {
|
|
72
|
+
var a = t.call(e, r);
|
|
73
|
+
if (typeof a != "object") return a;
|
|
74
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
75
|
+
}
|
|
76
|
+
return (r === "string" ? String : Number)(e);
|
|
77
|
+
}
|
|
78
|
+
var k = {
|
|
79
|
+
top: 5,
|
|
80
|
+
right: 5,
|
|
81
|
+
bottom: 5,
|
|
82
|
+
left: 5
|
|
83
|
+
}, G = R({
|
|
84
|
+
accessibilityLayer: !0,
|
|
85
|
+
stackOffset: "none",
|
|
86
|
+
barCategoryGap: "10%",
|
|
87
|
+
barGap: 4,
|
|
88
|
+
margin: k,
|
|
89
|
+
reverseStackOrder: !1,
|
|
90
|
+
syncMethod: "index",
|
|
91
|
+
layout: "radial",
|
|
92
|
+
responsive: !1,
|
|
93
|
+
cx: "50%",
|
|
94
|
+
cy: "50%",
|
|
95
|
+
innerRadius: 0,
|
|
96
|
+
outerRadius: "80%"
|
|
97
|
+
}, E), $ = /* @__PURE__ */ d(function(r, t) {
|
|
98
|
+
var a, o = j(r.categoricalChartProps, G), i = o.layout, u = w(o, C), c = r.chartName, p = r.defaultTooltipEventType, f = r.validateTooltipEventTypes, m = r.tooltipPayloadSearcher, y = {
|
|
99
|
+
chartName: c,
|
|
100
|
+
defaultTooltipEventType: p,
|
|
101
|
+
validateTooltipEventTypes: f,
|
|
102
|
+
tooltipPayloadSearcher: m,
|
|
103
|
+
eventEmitter: void 0
|
|
104
|
+
};
|
|
105
|
+
return /* @__PURE__ */ n.createElement(v, {
|
|
106
|
+
preloadedState: {
|
|
107
|
+
options: y
|
|
108
|
+
},
|
|
109
|
+
reduxStoreName: (a = o.id) !== null && a !== void 0 ? a : c
|
|
110
|
+
}, /* @__PURE__ */ n.createElement(b, {
|
|
111
|
+
chartData: o.data
|
|
112
|
+
}), /* @__PURE__ */ n.createElement(g, {
|
|
113
|
+
layout: i,
|
|
114
|
+
margin: o.margin
|
|
115
|
+
}), /* @__PURE__ */ n.createElement(P, {
|
|
116
|
+
throttleDelay: o.throttleDelay,
|
|
117
|
+
throttledEvents: o.throttledEvents
|
|
118
|
+
}), /* @__PURE__ */ n.createElement(h, {
|
|
119
|
+
baseValue: void 0,
|
|
120
|
+
accessibilityLayer: o.accessibilityLayer,
|
|
121
|
+
barCategoryGap: o.barCategoryGap,
|
|
122
|
+
maxBarSize: o.maxBarSize,
|
|
123
|
+
stackOffset: o.stackOffset,
|
|
124
|
+
barGap: o.barGap,
|
|
125
|
+
barSize: o.barSize,
|
|
126
|
+
syncId: o.syncId,
|
|
127
|
+
syncMethod: o.syncMethod,
|
|
128
|
+
className: o.className,
|
|
129
|
+
reverseStackOrder: o.reverseStackOrder
|
|
130
|
+
}), /* @__PURE__ */ n.createElement(O, {
|
|
131
|
+
cx: o.cx,
|
|
132
|
+
cy: o.cy,
|
|
133
|
+
startAngle: o.startAngle,
|
|
134
|
+
endAngle: o.endAngle,
|
|
135
|
+
innerRadius: o.innerRadius,
|
|
136
|
+
outerRadius: o.outerRadius
|
|
137
|
+
}), /* @__PURE__ */ n.createElement(S, l({}, u, {
|
|
138
|
+
ref: t
|
|
139
|
+
})));
|
|
140
|
+
});
|
|
141
|
+
export {
|
|
142
|
+
$ as PolarChart,
|
|
143
|
+
G as defaultPolarChartProps
|
|
144
|
+
};
|