@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,147 @@
|
|
|
1
|
+
import { createSelector as a } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { selectChartWidth as p, selectChartHeight as g } from "./containerSelectors.js";
|
|
3
|
+
import { selectChartOffsetInternal as R } from "./selectChartOffsetInternal.js";
|
|
4
|
+
import { getMaxRadius as C } from "../../util/PolarUtils.js";
|
|
5
|
+
import { getPercentValue as o } from "../../util/DataUtils.js";
|
|
6
|
+
import { defaultPolarAngleAxisProps as l } from "../../polar/defaultPolarAngleAxisProps.js";
|
|
7
|
+
import { defaultPolarRadiusAxisProps as i } from "../../polar/defaultPolarRadiusAxisProps.js";
|
|
8
|
+
import { combineAxisRangeWithReverse as A } from "./combiners/combineAxisRangeWithReverse.js";
|
|
9
|
+
import { selectPolarChartLayout as b, selectChartLayout as h } from "../../context/chartLayoutContext.js";
|
|
10
|
+
import { getAxisTypeBasedOnLayout as x } from "../../util/getAxisTypeBasedOnLayout.js";
|
|
11
|
+
function v(e, r) {
|
|
12
|
+
var t = Object.keys(e);
|
|
13
|
+
if (Object.getOwnPropertySymbols) {
|
|
14
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
15
|
+
r && (n = n.filter(function(u) {
|
|
16
|
+
return Object.getOwnPropertyDescriptor(e, u).enumerable;
|
|
17
|
+
})), t.push.apply(t, n);
|
|
18
|
+
}
|
|
19
|
+
return t;
|
|
20
|
+
}
|
|
21
|
+
function c(e) {
|
|
22
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23
|
+
var t = arguments[r] != null ? arguments[r] : {};
|
|
24
|
+
r % 2 ? v(Object(t), !0).forEach(function(n) {
|
|
25
|
+
T(e, n, t[n]);
|
|
26
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : v(Object(t)).forEach(function(n) {
|
|
27
|
+
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return e;
|
|
31
|
+
}
|
|
32
|
+
function T(e, r, t) {
|
|
33
|
+
return (r = _(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
34
|
+
}
|
|
35
|
+
function _(e) {
|
|
36
|
+
var r = L(e, "string");
|
|
37
|
+
return typeof r == "symbol" ? r : r + "";
|
|
38
|
+
}
|
|
39
|
+
function L(e, r) {
|
|
40
|
+
if (typeof e != "object" || !e) return e;
|
|
41
|
+
var t = e[Symbol.toPrimitive];
|
|
42
|
+
if (t !== void 0) {
|
|
43
|
+
var n = t.call(e, r);
|
|
44
|
+
if (typeof n != "object") return n;
|
|
45
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
46
|
+
}
|
|
47
|
+
return (r === "string" ? String : Number)(e);
|
|
48
|
+
}
|
|
49
|
+
var y = {
|
|
50
|
+
allowDataOverflow: l.allowDataOverflow,
|
|
51
|
+
allowDecimals: l.allowDecimals,
|
|
52
|
+
allowDuplicatedCategory: !1,
|
|
53
|
+
// defaultPolarAngleAxisProps.allowDuplicatedCategory has it set to true but the actual axis rendering ignores the prop because reasons,
|
|
54
|
+
dataKey: void 0,
|
|
55
|
+
domain: void 0,
|
|
56
|
+
id: l.angleAxisId,
|
|
57
|
+
includeHidden: !1,
|
|
58
|
+
name: void 0,
|
|
59
|
+
reversed: l.reversed,
|
|
60
|
+
scale: l.scale,
|
|
61
|
+
tick: l.tick,
|
|
62
|
+
tickCount: void 0,
|
|
63
|
+
ticks: void 0,
|
|
64
|
+
type: l.type,
|
|
65
|
+
unit: void 0,
|
|
66
|
+
niceTicks: "auto"
|
|
67
|
+
}, m = {
|
|
68
|
+
allowDataOverflow: i.allowDataOverflow,
|
|
69
|
+
allowDecimals: i.allowDecimals,
|
|
70
|
+
allowDuplicatedCategory: i.allowDuplicatedCategory,
|
|
71
|
+
dataKey: void 0,
|
|
72
|
+
domain: void 0,
|
|
73
|
+
id: i.radiusAxisId,
|
|
74
|
+
includeHidden: i.includeHidden,
|
|
75
|
+
name: void 0,
|
|
76
|
+
reversed: i.reversed,
|
|
77
|
+
scale: i.scale,
|
|
78
|
+
tick: i.tick,
|
|
79
|
+
tickCount: i.tickCount,
|
|
80
|
+
ticks: void 0,
|
|
81
|
+
type: i.type,
|
|
82
|
+
unit: void 0,
|
|
83
|
+
niceTicks: "auto"
|
|
84
|
+
}, B = (e, r) => {
|
|
85
|
+
if (r != null)
|
|
86
|
+
return e.polarAxis.angleAxis[r];
|
|
87
|
+
}, H = a([B, b], (e, r) => {
|
|
88
|
+
var t;
|
|
89
|
+
if (e != null)
|
|
90
|
+
return e;
|
|
91
|
+
var n = (t = x(r, "angleAxis", y.type)) !== null && t !== void 0 ? t : "category";
|
|
92
|
+
return c(c({}, y), {}, {
|
|
93
|
+
type: n
|
|
94
|
+
});
|
|
95
|
+
}), K = (e, r) => e.polarAxis.radiusAxis[r], S = a([K, b], (e, r) => {
|
|
96
|
+
var t;
|
|
97
|
+
if (e != null)
|
|
98
|
+
return e;
|
|
99
|
+
var n = (t = x(r, "radiusAxis", m.type)) !== null && t !== void 0 ? t : "category";
|
|
100
|
+
return c(c({}, m), {}, {
|
|
101
|
+
type: n
|
|
102
|
+
});
|
|
103
|
+
}), s = (e) => e.polarOptions, d = a([p, g, R], C), w = a([s, d], (e, r) => {
|
|
104
|
+
if (e != null)
|
|
105
|
+
return o(e.innerRadius, r, 0);
|
|
106
|
+
}), P = a([s, d], (e, r) => {
|
|
107
|
+
if (e != null)
|
|
108
|
+
return o(e.outerRadius, r, r * 0.8);
|
|
109
|
+
}), E = (e) => {
|
|
110
|
+
if (e == null)
|
|
111
|
+
return [0, 0];
|
|
112
|
+
var r = e.startAngle, t = e.endAngle;
|
|
113
|
+
return [r, t];
|
|
114
|
+
}, I = a([s], E);
|
|
115
|
+
a([H, I], A);
|
|
116
|
+
var N = a([d, w, P], (e, r, t) => {
|
|
117
|
+
if (!(e == null || r == null || t == null))
|
|
118
|
+
return [r, t];
|
|
119
|
+
});
|
|
120
|
+
a([S, N], A);
|
|
121
|
+
var X = a([h, s, w, P, p, g], (e, r, t, n, u, f) => {
|
|
122
|
+
if (!(e !== "centric" && e !== "radial" || r == null || t == null || n == null)) {
|
|
123
|
+
var O = r.cx, D = r.cy, j = r.startAngle, k = r.endAngle;
|
|
124
|
+
return {
|
|
125
|
+
cx: o(O, u, u / 2),
|
|
126
|
+
cy: o(D, f, f / 2),
|
|
127
|
+
innerRadius: t,
|
|
128
|
+
outerRadius: n,
|
|
129
|
+
startAngle: j,
|
|
130
|
+
endAngle: k,
|
|
131
|
+
clockWise: !1
|
|
132
|
+
// this property look useful, why not use it?
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
export {
|
|
137
|
+
y as implicitAngleAxis,
|
|
138
|
+
m as implicitRadiusAxis,
|
|
139
|
+
H as selectAngleAxis,
|
|
140
|
+
I as selectAngleAxisRange,
|
|
141
|
+
d as selectMaxRadius,
|
|
142
|
+
P as selectOuterRadius,
|
|
143
|
+
s as selectPolarOptions,
|
|
144
|
+
X as selectPolarViewBox,
|
|
145
|
+
S as selectRadiusAxis,
|
|
146
|
+
N as selectRadiusAxisRange
|
|
147
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createSelector as e } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { selectChartDataAndAlwaysIgnoreIndexes as A, selectChartDataSliceIgnoringIndexes as y } from "./dataSelectors.js";
|
|
3
|
+
import { itemAxisPredicate as I, selectBaseAxis as a, combineGraphicalItemsSettings as P, combineGraphicalItemsData as b, combineDisplayedData as h, combineAppliedValues as x, selectAllErrorBarSettings as g, combineDomainOfAllAppliedNumericalValuesIncludingErrorValues as k, selectDomainDefinition as N, selectDomainFromUserPreference as K, combineNumericalDomain as T, combineAxisDomain as V, selectRenderableAxisSettings as B, selectRealScaleType as u, combineNiceTicks as C, combineAxisDomainWithNiceTicks as S } from "./axisSelectors.js";
|
|
4
|
+
import { selectChartLayout as d } from "../../context/chartLayoutContext.js";
|
|
5
|
+
import { getValueByDataKey as s } from "../../util/ChartUtils.js";
|
|
6
|
+
import { pickAxisType as t } from "./pickAxisType.js";
|
|
7
|
+
import { pickAxisId as G } from "./pickAxisId.js";
|
|
8
|
+
import { selectStackOffsetType as O } from "./rootPropsSelectors.js";
|
|
9
|
+
import { combineCheckedDomain as E } from "./combiners/combineCheckedDomain.js";
|
|
10
|
+
var M = (r) => r.graphicalItems.polarItems, R = e([t, G], I), o = e([M, a, R], P), U = e([o], b), c = e([U, A], h), w = e([c, a, o], x);
|
|
11
|
+
e([c, a, o], (r, i, n) => n.length > 0 ? r.flatMap((l) => n.flatMap((f) => {
|
|
12
|
+
var m, v = s(l, (m = i.dataKey) !== null && m !== void 0 ? m : f.dataKey);
|
|
13
|
+
return {
|
|
14
|
+
value: v,
|
|
15
|
+
errorDomain: []
|
|
16
|
+
// polar charts do not have error bars
|
|
17
|
+
};
|
|
18
|
+
})).filter(Boolean) : (i == null ? void 0 : i.dataKey) != null ? r.map((l) => ({
|
|
19
|
+
value: s(l, i.dataKey),
|
|
20
|
+
errorDomain: []
|
|
21
|
+
})) : r.map((l) => ({
|
|
22
|
+
value: l,
|
|
23
|
+
errorDomain: []
|
|
24
|
+
})));
|
|
25
|
+
var p = () => {
|
|
26
|
+
}, F = e([c, a, o, g, t, y], k), L = e([a, N, K, p, F, p, d, t], T), D = e([a, d, c, w, O, t, L], V), W = e([D, B, u], C), _ = e([a, D, W, t], S);
|
|
27
|
+
e([u, _], E);
|
|
28
|
+
export {
|
|
29
|
+
w as selectPolarAppliedValues,
|
|
30
|
+
D as selectPolarAxisDomain,
|
|
31
|
+
_ as selectPolarAxisDomainIncludingNiceTicks,
|
|
32
|
+
c as selectPolarDisplayedData,
|
|
33
|
+
o as selectPolarItemsSettings,
|
|
34
|
+
W as selectPolarNiceTicks,
|
|
35
|
+
M as selectUnfilteredPolarItems
|
|
36
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var r = (e) => e.rootProps.barCategoryGap, t = (e) => e.rootProps.stackOffset, o = (e) => e.rootProps.reverseStackOrder, a = (e) => e.options.chartName, s = (e) => e.rootProps.syncId, c = (e) => e.rootProps.syncMethod, p = (e) => e.options.eventEmitter;
|
|
2
|
+
export {
|
|
3
|
+
r as selectBarCategoryGap,
|
|
4
|
+
a as selectChartName,
|
|
5
|
+
p as selectEventEmitter,
|
|
6
|
+
o as selectReverseStackOrder,
|
|
7
|
+
t as selectStackOffsetType,
|
|
8
|
+
s as selectSyncId,
|
|
9
|
+
c as selectSyncMethod
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createSelector as t } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { selectChartLayout as o } from "../../context/chartLayoutContext.js";
|
|
3
|
+
import { selectTooltipAxisRangeWithReverse as r, selectTooltipAxisTicks as i } from "./tooltipSelectors.js";
|
|
4
|
+
import { selectChartOffsetInternal as s } from "./selectChartOffsetInternal.js";
|
|
5
|
+
import { selectOrderedTooltipTicks as c, combineActiveProps as m } from "./selectors.js";
|
|
6
|
+
import { selectPolarViewBox as p } from "./polarAxisSelectors.js";
|
|
7
|
+
import { selectTooltipAxisType as l } from "./selectTooltipAxisType.js";
|
|
8
|
+
var a = (f, e) => e, C = t([a, o, p, l, r, i, c, s], m);
|
|
9
|
+
export {
|
|
10
|
+
C as selectActivePropsFromChartPointer
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createSelector as r } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { selectChartOffsetInternal as e } from "./selectChartOffsetInternal.js";
|
|
3
|
+
var p = r([e], (t) => ({
|
|
4
|
+
top: t.top,
|
|
5
|
+
bottom: t.bottom,
|
|
6
|
+
left: t.left,
|
|
7
|
+
right: t.right
|
|
8
|
+
}));
|
|
9
|
+
export {
|
|
10
|
+
p as selectChartOffset
|
|
11
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { createSelector as u } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { selectLegendSettings as P, selectLegendSize as S } from "./legendSelectors.js";
|
|
3
|
+
import { appendOffsetOfLegend as _ } from "../../util/ChartUtils.js";
|
|
4
|
+
import { selectChartWidth as a, selectChartHeight as h, selectMargin as D } from "./containerSelectors.js";
|
|
5
|
+
import { selectAllYAxes as s, selectAllXAxes as p } from "./selectAllAxes.js";
|
|
6
|
+
import { DEFAULT_Y_AXIS_WIDTH as m, DEFAULT_X_AXIS_HEIGHT as l } from "../../util/Constants.js";
|
|
7
|
+
function c(e, o) {
|
|
8
|
+
var r = Object.keys(e);
|
|
9
|
+
if (Object.getOwnPropertySymbols) {
|
|
10
|
+
var t = Object.getOwnPropertySymbols(e);
|
|
11
|
+
o && (t = t.filter(function(i) {
|
|
12
|
+
return Object.getOwnPropertyDescriptor(e, i).enumerable;
|
|
13
|
+
})), r.push.apply(r, t);
|
|
14
|
+
}
|
|
15
|
+
return r;
|
|
16
|
+
}
|
|
17
|
+
function f(e) {
|
|
18
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
19
|
+
var r = arguments[o] != null ? arguments[o] : {};
|
|
20
|
+
o % 2 ? c(Object(r), !0).forEach(function(t) {
|
|
21
|
+
H(e, t, r[t]);
|
|
22
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(Object(r)).forEach(function(t) {
|
|
23
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
return e;
|
|
27
|
+
}
|
|
28
|
+
function H(e, o, r) {
|
|
29
|
+
return (o = E(o)) in e ? Object.defineProperty(e, o, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[o] = r, e;
|
|
30
|
+
}
|
|
31
|
+
function E(e) {
|
|
32
|
+
var o = L(e, "string");
|
|
33
|
+
return typeof o == "symbol" ? o : o + "";
|
|
34
|
+
}
|
|
35
|
+
function L(e, o) {
|
|
36
|
+
if (typeof e != "object" || !e) return e;
|
|
37
|
+
var r = e[Symbol.toPrimitive];
|
|
38
|
+
if (r !== void 0) {
|
|
39
|
+
var t = r.call(e, o);
|
|
40
|
+
if (typeof t != "object") return t;
|
|
41
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
42
|
+
}
|
|
43
|
+
return (o === "string" ? String : Number)(e);
|
|
44
|
+
}
|
|
45
|
+
var T = (e) => e.brush.height;
|
|
46
|
+
function I(e) {
|
|
47
|
+
var o = s(e);
|
|
48
|
+
return o.reduce((r, t) => {
|
|
49
|
+
if (t.orientation === "left" && !t.mirror && !t.hide) {
|
|
50
|
+
var i = typeof t.width == "number" ? t.width : m;
|
|
51
|
+
return r + i;
|
|
52
|
+
}
|
|
53
|
+
return r;
|
|
54
|
+
}, 0);
|
|
55
|
+
}
|
|
56
|
+
function B(e) {
|
|
57
|
+
var o = s(e);
|
|
58
|
+
return o.reduce((r, t) => {
|
|
59
|
+
if (t.orientation === "right" && !t.mirror && !t.hide) {
|
|
60
|
+
var i = typeof t.width == "number" ? t.width : m;
|
|
61
|
+
return r + i;
|
|
62
|
+
}
|
|
63
|
+
return r;
|
|
64
|
+
}, 0);
|
|
65
|
+
}
|
|
66
|
+
function C(e) {
|
|
67
|
+
var o = p(e);
|
|
68
|
+
return o.reduce((r, t) => {
|
|
69
|
+
if (t.orientation === "top" && !t.mirror && !t.hide) {
|
|
70
|
+
var i = typeof t.height == "number" ? t.height : l;
|
|
71
|
+
return r + i;
|
|
72
|
+
}
|
|
73
|
+
return r;
|
|
74
|
+
}, 0);
|
|
75
|
+
}
|
|
76
|
+
function X(e) {
|
|
77
|
+
var o = p(e);
|
|
78
|
+
return o.reduce((r, t) => {
|
|
79
|
+
if (t.orientation === "bottom" && !t.mirror && !t.hide) {
|
|
80
|
+
var i = typeof t.height == "number" ? t.height : l;
|
|
81
|
+
return r + i;
|
|
82
|
+
}
|
|
83
|
+
return r;
|
|
84
|
+
}, 0);
|
|
85
|
+
}
|
|
86
|
+
var M = u([a, h, D, T, I, B, C, X, P, S], (e, o, r, t, i, b, g, v, d, O) => {
|
|
87
|
+
var w = {
|
|
88
|
+
left: (r.left || 0) + i,
|
|
89
|
+
right: (r.right || 0) + b
|
|
90
|
+
}, x = {
|
|
91
|
+
top: (r.top || 0) + g,
|
|
92
|
+
bottom: (r.bottom || 0) + v
|
|
93
|
+
}, n = f(f({}, x), w), A = n.bottom;
|
|
94
|
+
n.bottom += t, n = _(n, d, O);
|
|
95
|
+
var j = e - n.left - n.right, y = o - n.top - n.bottom;
|
|
96
|
+
return f(f({
|
|
97
|
+
brushBottom: A
|
|
98
|
+
}, n), {}, {
|
|
99
|
+
// never return negative values for height and width
|
|
100
|
+
width: Math.max(j, 0),
|
|
101
|
+
height: Math.max(y, 0)
|
|
102
|
+
});
|
|
103
|
+
}), k = u(M, (e) => ({
|
|
104
|
+
x: e.left,
|
|
105
|
+
y: e.top,
|
|
106
|
+
width: e.width,
|
|
107
|
+
height: e.height
|
|
108
|
+
}));
|
|
109
|
+
u(a, h, (e, o) => ({
|
|
110
|
+
x: 0,
|
|
111
|
+
y: 0,
|
|
112
|
+
width: e,
|
|
113
|
+
height: o
|
|
114
|
+
}));
|
|
115
|
+
export {
|
|
116
|
+
X as selectBottomAxesOffset,
|
|
117
|
+
T as selectBrushHeight,
|
|
118
|
+
M as selectChartOffsetInternal,
|
|
119
|
+
k as selectChartViewBox,
|
|
120
|
+
I as selectLeftAxesOffset,
|
|
121
|
+
B as selectRightAxesOffset,
|
|
122
|
+
C as selectTopAxesOffset
|
|
123
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createSelector as l } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { selectChartOffset as m } from "./selectChartOffset.js";
|
|
3
|
+
import { selectChartWidth as a, selectChartHeight as i } from "./containerSelectors.js";
|
|
4
|
+
var p = l([m, a, i], (t, r, e) => {
|
|
5
|
+
if (!(!t || r == null || e == null))
|
|
6
|
+
return {
|
|
7
|
+
x: t.left,
|
|
8
|
+
y: t.top,
|
|
9
|
+
width: Math.max(0, r - t.left - t.right),
|
|
10
|
+
height: Math.max(0, e - t.top - t.bottom)
|
|
11
|
+
};
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
p as selectPlotArea
|
|
15
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { selectChartLayout as i } from "../../context/chartLayoutContext.js";
|
|
2
|
+
var a = (t) => {
|
|
3
|
+
var r = i(t);
|
|
4
|
+
return r === "horizontal" ? "xAxis" : r === "vertical" ? "yAxis" : r === "centric" ? "angleAxis" : "radiusAxis";
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
a as selectTooltipAxisType
|
|
8
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var i = (e) => e.options.defaultTooltipEventType, l = (e) => e.options.validateTooltipEventTypes;
|
|
2
|
+
function p(e, t, n) {
|
|
3
|
+
if (e == null)
|
|
4
|
+
return t;
|
|
5
|
+
var o = e ? "axis" : "item";
|
|
6
|
+
return n == null ? t : n.includes(o) ? o : t;
|
|
7
|
+
}
|
|
8
|
+
function r(e, t) {
|
|
9
|
+
var n = i(e), o = l(e);
|
|
10
|
+
return p(t, n, o);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
p as combineTooltipEventType,
|
|
14
|
+
i as selectDefaultTooltipEventType,
|
|
15
|
+
r as selectTooltipEventType,
|
|
16
|
+
l as selectValidateTooltipEventTypes
|
|
17
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { createSelector as n } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { calculateCartesianTooltipPos as S, calculatePolarTooltipPos as D } from "../../util/ChartUtils.js";
|
|
3
|
+
import { selectChartDataWithIndexes as _ } from "./dataSelectors.js";
|
|
4
|
+
import { selectTooltipAxisTicks as v, selectTooltipDisplayedData as A, selectTooltipAxisDomain as x } from "./tooltipSelectors.js";
|
|
5
|
+
import { selectTooltipAxisDataKey as C } from "./axisSelectors.js";
|
|
6
|
+
import { selectChartLayout as h } from "../../context/chartLayoutContext.js";
|
|
7
|
+
import { selectChartOffsetInternal as O } from "./selectChartOffsetInternal.js";
|
|
8
|
+
import { selectChartWidth as L, selectChartHeight as F } from "./containerSelectors.js";
|
|
9
|
+
import { combineActiveLabel as W } from "./combiners/combineActiveLabel.js";
|
|
10
|
+
import { combineTooltipInteractionState as j } from "./combiners/combineTooltipInteractionState.js";
|
|
11
|
+
import { combineActiveTooltipIndex as y } from "./combiners/combineActiveTooltipIndex.js";
|
|
12
|
+
import { combineCoordinateForDefaultIndex as z } from "./combiners/combineCoordinateForDefaultIndex.js";
|
|
13
|
+
import { combineTooltipPayloadConfigurations as H } from "./combiners/combineTooltipPayloadConfigurations.js";
|
|
14
|
+
import { selectTooltipPayloadSearcher as K } from "./selectTooltipPayloadSearcher.js";
|
|
15
|
+
import { selectTooltipState as I } from "./selectTooltipState.js";
|
|
16
|
+
import { combineTooltipPayload as q } from "./combiners/combineTooltipPayload.js";
|
|
17
|
+
import { isInCartesianRange as B, calculateActiveTickIndex as b, getActiveCartesianCoordinate as G, getActivePolarCoordinate as J } from "../../util/getActiveCoordinate.js";
|
|
18
|
+
import { inRangeOfSector as M } from "../../util/PolarUtils.js";
|
|
19
|
+
import { sortBy as N } from "../../../../es-toolkit/dist/compat/array/sortBy.js";
|
|
20
|
+
var d = (r, e) => e, P = (r, e, t) => t, p = (r, e, t, o) => o, de = n(v, (r) => N(r, (e) => e.coordinate)), s = n([I, d, P, p], j), u = n([s, A, C, x], y), T = n([I, d, P, p], H), Q = n([L, F, h, O, v, p, T], z);
|
|
21
|
+
n([s, Q], (r, e) => {
|
|
22
|
+
var t;
|
|
23
|
+
return (t = r.coordinate) !== null && t !== void 0 ? t : e;
|
|
24
|
+
});
|
|
25
|
+
var U = n([v, u], W);
|
|
26
|
+
n([T, u, _, C, U, K, d], q);
|
|
27
|
+
n([s, u], (r, e) => ({
|
|
28
|
+
isActive: r.active && e != null,
|
|
29
|
+
activeIndex: e
|
|
30
|
+
}));
|
|
31
|
+
var X = (r, e, t, o, i, a, m) => {
|
|
32
|
+
if (!(!r || !t || !o || !i) && B(r, m)) {
|
|
33
|
+
var c = S(r, e), l = b(c, a, i, t, o), f = G(e, i, l, r);
|
|
34
|
+
return {
|
|
35
|
+
activeIndex: String(l),
|
|
36
|
+
activeCoordinate: f
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}, Y = (r, e, t, o, i, a, m) => {
|
|
40
|
+
if (!(!r || !o || !i || !a || !t)) {
|
|
41
|
+
var c = M(r, t);
|
|
42
|
+
if (c) {
|
|
43
|
+
var l = D(c, e), f = b(l, m, a, o, i), g = J(e, a, f, c);
|
|
44
|
+
return {
|
|
45
|
+
activeIndex: String(f),
|
|
46
|
+
activeCoordinate: g
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}, pe = (r, e, t, o, i, a, m, c) => {
|
|
51
|
+
if (!(!r || !e || !o || !i || !a))
|
|
52
|
+
return e === "horizontal" || e === "vertical" ? X(r, e, o, i, a, m, c) : Y(r, e, t, o, i, a, m);
|
|
53
|
+
};
|
|
54
|
+
export {
|
|
55
|
+
pe as combineActiveProps,
|
|
56
|
+
u as selectActiveIndex,
|
|
57
|
+
U as selectActiveLabel,
|
|
58
|
+
Q as selectCoordinateForDefaultIndex,
|
|
59
|
+
de as selectOrderedTooltipTicks,
|
|
60
|
+
s as selectTooltipInteractionState,
|
|
61
|
+
T as selectTooltipPayloadConfigurations
|
|
62
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { createSelector as e } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { selectTooltipAxisDataKey as E, combineDisplayedData as _, selectTooltipAxis as o, combineAxisDomain as j, combineGraphicalItemsData as J, combineAllAppliedValues as M, combineNumericalDomain as Q, combineGraphicalItemsSettings as X, getDomainDefinition as Y, combineDomainOfStackGroups as Z, selectAllErrorBarSettings as $, combineDomainOfAllAppliedNumericalValuesIncludingErrorValues as ee, mergeDomains as te, selectHasBar as ie, selectAxisRange as oe, combineDuplicateDomain as re, combineCategoricalDomain as ae, itemAxisPredicate as le, combineStackGroups as ce, filterGraphicalNotStackedItems as se, combineDotsDomain as ne, combineLinesDomain as me, combineAreasDomain as pe, selectReferenceDots as fe, filterReferenceElements as D, selectReferenceLines as ve, selectReferenceAreas as de, combineAxisDomainWithNiceTicks as ue, combineNiceTicks as Te } from "./axisSelectors.js";
|
|
3
|
+
import { selectChartLayout as m } from "../../context/chartLayoutContext.js";
|
|
4
|
+
import { isCategoricalAxis as Ae } from "../../util/ChartUtils.js";
|
|
5
|
+
import { selectChartDataWithIndexes as v, selectChartDataSliceWithIndexes as De } from "./dataSelectors.js";
|
|
6
|
+
import { selectStackOffsetType as G, selectChartName as he, selectReverseStackOrder as be } from "./rootPropsSelectors.js";
|
|
7
|
+
import { mathSign as xe, isNotNil as C } from "../../util/DataUtils.js";
|
|
8
|
+
import { combineAxisRangeWithReverse as ge } from "./combiners/combineAxisRangeWithReverse.js";
|
|
9
|
+
import { selectDefaultTooltipEventType as ye, selectValidateTooltipEventTypes as Se, combineTooltipEventType as Ie } from "./selectTooltipEventType.js";
|
|
10
|
+
import { combineActiveLabel as ke } from "./combiners/combineActiveLabel.js";
|
|
11
|
+
import { selectTooltipSettings as Ce } from "./selectTooltipSettings.js";
|
|
12
|
+
import { combineTooltipInteractionState as Re } from "./combiners/combineTooltipInteractionState.js";
|
|
13
|
+
import { combineActiveTooltipIndex as Ee } from "./combiners/combineActiveTooltipIndex.js";
|
|
14
|
+
import { combineCoordinateForDefaultIndex as Ge } from "./combiners/combineCoordinateForDefaultIndex.js";
|
|
15
|
+
import { selectChartWidth as Ne, selectChartHeight as Oe } from "./containerSelectors.js";
|
|
16
|
+
import { selectChartOffsetInternal as Pe } from "./selectChartOffsetInternal.js";
|
|
17
|
+
import { combineTooltipPayloadConfigurations as we } from "./combiners/combineTooltipPayloadConfigurations.js";
|
|
18
|
+
import { selectTooltipPayloadSearcher as Be } from "./selectTooltipPayloadSearcher.js";
|
|
19
|
+
import { selectTooltipState as N } from "./selectTooltipState.js";
|
|
20
|
+
import { combineTooltipPayload as We } from "./combiners/combineTooltipPayload.js";
|
|
21
|
+
import { selectTooltipAxisId as d } from "./selectTooltipAxisId.js";
|
|
22
|
+
import { selectTooltipAxisType as r } from "./selectTooltipAxisType.js";
|
|
23
|
+
import { combineDisplayedStackedData as Le } from "./combiners/combineDisplayedStackedData.js";
|
|
24
|
+
import { isStacked as O } from "../types/StackedGraphicalItem.js";
|
|
25
|
+
import { numericalDomainSpecifiedWithoutRequiringData as Ve } from "../../util/isDomainSpecifiedByUser.js";
|
|
26
|
+
import { numberDomainEqualityCheck as qe } from "./numberDomainEqualityCheck.js";
|
|
27
|
+
import { emptyArraysAreEqualCheck as P } from "./arrayEqualityCheck.js";
|
|
28
|
+
import { rechartsScaleFactory as Fe } from "../../util/scale/RechartsScale.js";
|
|
29
|
+
import { isWellBehavedNumber as R } from "../../util/isWellBehavedNumber.js";
|
|
30
|
+
import { combineRealScaleType as ze } from "./combiners/combineRealScaleType.js";
|
|
31
|
+
import { combineConfiguredScale as Ke } from "./combiners/combineConfiguredScale.js";
|
|
32
|
+
var h = e([o, ie, he], ze), Ue = e([(t) => t.graphicalItems.cartesianItems, (t) => t.graphicalItems.polarItems], (t, i) => [...t, ...i]), He = e([r, d], le), p = e([Ue, o, He], X, {
|
|
33
|
+
memoizeOptions: {
|
|
34
|
+
resultEqualityCheck: P
|
|
35
|
+
}
|
|
36
|
+
}), _e = e([p], (t) => t.filter(O)), w = e([p], J, {
|
|
37
|
+
memoizeOptions: {
|
|
38
|
+
resultEqualityCheck: P
|
|
39
|
+
}
|
|
40
|
+
}), je = e([p], (t) => t.some((i) => !i.data)), T = e([w, v], _), Je = e([_e, v, o], Le), b = e([T, o, p, v, je, w], M), B = e([o], Y), Me = e([o], (t) => t.allowDataOverflow), W = e([B, Me], Ve), Qe = e([p], (t) => t.filter(O)), Xe = e([Je, Qe, G, be], ce), Ye = e([Xe, v, r, W], Z), Ze = e([p], se), $e = e([T, o, Ze, $, r, De], ee, {
|
|
41
|
+
memoizeOptions: {
|
|
42
|
+
resultEqualityCheck: qe
|
|
43
|
+
}
|
|
44
|
+
}), et = e([fe, r, d], D), tt = e([et, r], ne), it = e([de, r, d], D), ot = e([it, r], pe), rt = e([ve, r, d], D), at = e([rt, r], me), lt = e([tt, at, ot], te), ct = e([o, B, W, Ye, $e, lt, m, r], Q), x = e([o, m, T, b, G, r, ct], j), st = e([x, o, h], Te), nt = e([o, x, st, r], ue), L = (t) => {
|
|
45
|
+
var i = r(t), l = d(t), a = !1;
|
|
46
|
+
return oe(t, i, l, a);
|
|
47
|
+
}, mt = e([o, L], ge), pt = e([o, h, nt, mt], Ke), ft = e([pt], Fe), vt = e([m, b, o, r], re), dt = e([m, b, o, r], ae), ut = (t, i, l, a, s, S, I, k) => {
|
|
48
|
+
if (i) {
|
|
49
|
+
var K = i.type, U = Ae(t, k);
|
|
50
|
+
if (a) {
|
|
51
|
+
var H = l === "scaleBand" && a.bandwidth ? a.bandwidth() / 2 : 2, c = K === "category" && a.bandwidth ? a.bandwidth() / H : 0;
|
|
52
|
+
return c = k === "angleAxis" && s != null && (s == null ? void 0 : s.length) >= 2 ? xe(s[0] - s[1]) * 2 * c : c, U && I ? I.map((n, A) => {
|
|
53
|
+
var f = a.map(n);
|
|
54
|
+
return R(f) ? {
|
|
55
|
+
coordinate: f + c,
|
|
56
|
+
value: n,
|
|
57
|
+
index: A,
|
|
58
|
+
offset: c
|
|
59
|
+
} : null;
|
|
60
|
+
}).filter(C) : a.domain().map((n, A) => {
|
|
61
|
+
var f = a.map(n);
|
|
62
|
+
return R(f) ? {
|
|
63
|
+
coordinate: f + c,
|
|
64
|
+
// @ts-expect-error can't use Date as an index
|
|
65
|
+
value: S ? S[n] : n,
|
|
66
|
+
index: A,
|
|
67
|
+
offset: c
|
|
68
|
+
} : null;
|
|
69
|
+
}).filter(C);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}, V = e([m, o, h, ft, L, vt, dt, r], ut), g = e([ye, Se, Ce], (t, i, l) => Ie(l.shared, t, i)), q = (t) => t.tooltip.settings.trigger, y = (t) => t.tooltip.settings.defaultIndex, u = e([N, g, q, y], Re), F = e([u, T, E, x], Ee), Tt = e([V, F], ke), Xt = e([u], (t) => {
|
|
73
|
+
if (t)
|
|
74
|
+
return t.dataKey;
|
|
75
|
+
}), Yt = e([u], (t) => {
|
|
76
|
+
if (t)
|
|
77
|
+
return t.graphicalItemId;
|
|
78
|
+
}), z = e([N, g, q, y], we), At = e([Ne, Oe, m, Pe, V, y, z], Ge), Zt = e([u, At], (t, i) => t != null && t.coordinate ? t.coordinate : i), $t = e([u], (t) => {
|
|
79
|
+
var i;
|
|
80
|
+
return (i = t == null ? void 0 : t.active) !== null && i !== void 0 ? i : !1;
|
|
81
|
+
}), Dt = e([z, F, v, E, Tt, Be, g], We);
|
|
82
|
+
e([Dt], (t) => {
|
|
83
|
+
if (t != null) {
|
|
84
|
+
var i = t.map((l) => l.payload).filter((l) => l != null);
|
|
85
|
+
return Array.from(new Set(i));
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
export {
|
|
89
|
+
Tt as selectActiveLabel,
|
|
90
|
+
Zt as selectActiveTooltipCoordinate,
|
|
91
|
+
Xt as selectActiveTooltipDataKey,
|
|
92
|
+
Yt as selectActiveTooltipGraphicalItemId,
|
|
93
|
+
F as selectActiveTooltipIndex,
|
|
94
|
+
Dt as selectActiveTooltipPayload,
|
|
95
|
+
p as selectAllGraphicalItemsSettings,
|
|
96
|
+
Ue as selectAllUnfilteredGraphicalItems,
|
|
97
|
+
$t as selectIsTooltipActive,
|
|
98
|
+
x as selectTooltipAxisDomain,
|
|
99
|
+
nt as selectTooltipAxisDomainIncludingNiceTicks,
|
|
100
|
+
mt as selectTooltipAxisRangeWithReverse,
|
|
101
|
+
h as selectTooltipAxisRealScaleType,
|
|
102
|
+
ft as selectTooltipAxisScale,
|
|
103
|
+
V as selectTooltipAxisTicks,
|
|
104
|
+
dt as selectTooltipCategoricalDomain,
|
|
105
|
+
T as selectTooltipDisplayedData,
|
|
106
|
+
w as selectTooltipGraphicalItemsData
|
|
107
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createSelector as n } from "../../../../reselect/dist/reselect.js";
|
|
2
|
+
import { selectTooltipState as a } from "./selectTooltipState.js";
|
|
3
|
+
var u = n([a], (t) => t.tooltipItemPayloads), s = n([u, (t, e) => e, (t, e, o) => o], (t, e, o) => {
|
|
4
|
+
if (e != null) {
|
|
5
|
+
var i = t.find((l) => l.settings.graphicalItemId === o);
|
|
6
|
+
if (i != null) {
|
|
7
|
+
var r = i.getPosition;
|
|
8
|
+
if (r != null)
|
|
9
|
+
return r(e);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
s as selectTooltipCoordinate
|
|
15
|
+
};
|