@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.
Files changed (339) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/index.js +4 -0
  3. package/dist/_virtual/index2.js +5 -0
  4. package/dist/_virtual/index3.js +7 -0
  5. package/dist/_virtual/index4.js +4 -0
  6. package/dist/_virtual/index5.js +4 -0
  7. package/dist/_virtual/react-is.development.js +4 -0
  8. package/dist/_virtual/react-is.production.min.js +4 -0
  9. package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
  10. package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
  11. package/dist/_virtual/use-sync-external-store-with-selector.development.js +4 -0
  12. package/dist/_virtual/use-sync-external-store-with-selector.production.js +4 -0
  13. package/dist/_virtual/with-selector.development.js +4 -0
  14. package/dist/_virtual/with-selector.js +5 -0
  15. package/dist/_virtual/with-selector.production.js +4 -0
  16. package/dist/_virtual/with-selector2.js +4 -0
  17. package/dist/_virtual/with-selector3.js +2 -0
  18. package/dist/_virtual/with-selector4.js +4 -0
  19. package/dist/index.d.ts +1 -0
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +127 -125
  22. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +846 -0
  23. package/dist/node_modules/d3-array/src/ascending.js +6 -0
  24. package/dist/node_modules/d3-array/src/bisect.js +9 -0
  25. package/dist/node_modules/d3-array/src/bisector.js +37 -0
  26. package/dist/node_modules/d3-array/src/descending.js +6 -0
  27. package/dist/node_modules/d3-array/src/max.js +9 -0
  28. package/dist/node_modules/d3-array/src/min.js +9 -0
  29. package/dist/node_modules/d3-array/src/number.js +11 -0
  30. package/dist/node_modules/d3-array/src/quantile.js +24 -0
  31. package/dist/node_modules/d3-array/src/quickselect.js +25 -0
  32. package/dist/node_modules/d3-array/src/range.js +9 -0
  33. package/dist/node_modules/d3-array/src/sort.js +16 -0
  34. package/dist/node_modules/d3-array/src/ticks.js +32 -0
  35. package/dist/node_modules/d3-color/src/color.js +305 -0
  36. package/dist/node_modules/d3-color/src/define.js +12 -0
  37. package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
  38. package/dist/node_modules/d3-format/src/exponent.js +7 -0
  39. package/dist/node_modules/d3-format/src/formatDecimal.js +15 -0
  40. package/dist/node_modules/d3-format/src/formatGroup.js +10 -0
  41. package/dist/node_modules/d3-format/src/formatNumerals.js +10 -0
  42. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +12 -0
  43. package/dist/node_modules/d3-format/src/formatRounded.js +10 -0
  44. package/dist/node_modules/d3-format/src/formatSpecifier.js +28 -0
  45. package/dist/node_modules/d3-format/src/formatTrim.js +19 -0
  46. package/dist/node_modules/d3-format/src/formatTypes.js +21 -0
  47. package/dist/node_modules/d3-format/src/identity.js +6 -0
  48. package/dist/node_modules/d3-format/src/locale.js +68 -0
  49. package/dist/node_modules/d3-format/src/precisionFixed.js +7 -0
  50. package/dist/node_modules/d3-format/src/precisionPrefix.js +7 -0
  51. package/dist/node_modules/d3-format/src/precisionRound.js +7 -0
  52. package/dist/node_modules/d3-interpolate/src/array.js +13 -0
  53. package/dist/node_modules/d3-interpolate/src/color.js +24 -0
  54. package/dist/node_modules/d3-interpolate/src/constant.js +4 -0
  55. package/dist/node_modules/d3-interpolate/src/date.js +9 -0
  56. package/dist/node_modules/d3-interpolate/src/number.js +8 -0
  57. package/dist/node_modules/d3-interpolate/src/numberArray.js +15 -0
  58. package/dist/node_modules/d3-interpolate/src/object.js +14 -0
  59. package/dist/node_modules/d3-interpolate/src/piecewise.js +12 -0
  60. package/dist/node_modules/d3-interpolate/src/rgb.js +15 -0
  61. package/dist/node_modules/d3-interpolate/src/round.js +8 -0
  62. package/dist/node_modules/d3-interpolate/src/string.js +24 -0
  63. package/dist/node_modules/d3-interpolate/src/value.js +16 -0
  64. package/dist/node_modules/d3-path/src/path.js +64 -0
  65. package/dist/node_modules/d3-scale/src/band.js +51 -0
  66. package/dist/node_modules/d3-scale/src/constant.js +8 -0
  67. package/dist/node_modules/d3-scale/src/continuous.js +75 -0
  68. package/dist/node_modules/d3-scale/src/diverging.js +68 -0
  69. package/dist/node_modules/d3-scale/src/identity.js +18 -0
  70. package/dist/node_modules/d3-scale/src/init.js +32 -0
  71. package/dist/node_modules/d3-scale/src/linear.js +39 -0
  72. package/dist/node_modules/d3-scale/src/log.js +86 -0
  73. package/dist/node_modules/d3-scale/src/nice.js +8 -0
  74. package/dist/node_modules/d3-scale/src/number.js +6 -0
  75. package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
  76. package/dist/node_modules/d3-scale/src/pow.js +37 -0
  77. package/dist/node_modules/d3-scale/src/quantile.js +38 -0
  78. package/dist/node_modules/d3-scale/src/quantize.js +31 -0
  79. package/dist/node_modules/d3-scale/src/radial.js +37 -0
  80. package/dist/node_modules/d3-scale/src/sequential.js +70 -0
  81. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +28 -0
  82. package/dist/node_modules/d3-scale/src/symlog.js +29 -0
  83. package/dist/node_modules/d3-scale/src/threshold.js +23 -0
  84. package/dist/node_modules/d3-scale/src/tickFormat.js +32 -0
  85. package/dist/node_modules/d3-scale/src/time.js +46 -0
  86. package/dist/node_modules/d3-scale/src/utcTime.js +17 -0
  87. package/dist/node_modules/d3-shape/src/area.js +56 -0
  88. package/dist/node_modules/d3-shape/src/array.js +6 -0
  89. package/dist/node_modules/d3-shape/src/constant.js +8 -0
  90. package/dist/node_modules/d3-shape/src/curve/basis.js +60 -0
  91. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +51 -0
  92. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
  93. package/dist/node_modules/d3-shape/src/curve/bump.js +43 -0
  94. package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
  95. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +23 -0
  96. package/dist/node_modules/d3-shape/src/curve/monotone.js +93 -0
  97. package/dist/node_modules/d3-shape/src/curve/natural.js +41 -0
  98. package/dist/node_modules/d3-shape/src/curve/step.js +51 -0
  99. package/dist/node_modules/d3-shape/src/line.js +29 -0
  100. package/dist/node_modules/d3-shape/src/noop.js +5 -0
  101. package/dist/node_modules/d3-shape/src/offset/expand.js +13 -0
  102. package/dist/node_modules/d3-shape/src/offset/none.js +9 -0
  103. package/dist/node_modules/d3-shape/src/offset/silhouette.js +13 -0
  104. package/dist/node_modules/d3-shape/src/offset/wiggle.js +19 -0
  105. package/dist/node_modules/d3-shape/src/order/none.js +7 -0
  106. package/dist/node_modules/d3-shape/src/path.js +18 -0
  107. package/dist/node_modules/d3-shape/src/point.js +10 -0
  108. package/dist/node_modules/d3-shape/src/stack.js +35 -0
  109. package/dist/node_modules/d3-time/src/day.js +26 -0
  110. package/dist/node_modules/d3-time/src/duration.js +10 -0
  111. package/dist/node_modules/d3-time/src/hour.js +18 -0
  112. package/dist/node_modules/d3-time/src/interval.js +31 -0
  113. package/dist/node_modules/d3-time/src/millisecond.js +14 -0
  114. package/dist/node_modules/d3-time/src/minute.js +18 -0
  115. package/dist/node_modules/d3-time/src/month.js +17 -0
  116. package/dist/node_modules/d3-time/src/second.js +11 -0
  117. package/dist/node_modules/d3-time/src/ticks.js +54 -0
  118. package/dist/node_modules/d3-time/src/week.js +48 -0
  119. package/dist/node_modules/d3-time/src/year.js +27 -0
  120. package/dist/node_modules/d3-time-format/src/defaultLocale.js +20 -0
  121. package/dist/node_modules/d3-time-format/src/locale.js +478 -0
  122. package/dist/node_modules/decimal.js-light/decimal.js +472 -0
  123. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +6 -0
  124. package/dist/node_modules/es-toolkit/dist/array/flatten.js +12 -0
  125. package/dist/node_modules/es-toolkit/dist/compat/_internal/baseToString.js +16 -0
  126. package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +17 -0
  127. package/dist/node_modules/es-toolkit/dist/compat/_internal/hasOwn.js +7 -0
  128. package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +15 -0
  129. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +14 -0
  130. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +10 -0
  131. package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +8 -0
  132. package/dist/node_modules/es-toolkit/dist/compat/_internal/objectValues.js +8 -0
  133. package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +7 -0
  134. package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +35 -0
  135. package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +10 -0
  136. package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +16 -0
  137. package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +12 -0
  138. package/dist/node_modules/es-toolkit/dist/compat/math/range.js +12 -0
  139. package/dist/node_modules/es-toolkit/dist/compat/object/get.js +39 -0
  140. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +7 -0
  141. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +6 -0
  142. package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +6 -0
  143. package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +6 -0
  144. package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +7 -0
  145. package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +7 -0
  146. package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +38 -0
  147. package/dist/node_modules/es-toolkit/dist/compat/util/toString.js +7 -0
  148. package/dist/node_modules/es-toolkit/dist/function/debounce.js +29 -0
  149. package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +6 -0
  150. package/dist/node_modules/eventemitter3/index.js +5 -0
  151. package/dist/node_modules/eventemitter3/index2.js +111 -0
  152. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +5 -5
  153. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +9 -9
  154. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +3 -3
  155. package/dist/node_modules/immer/dist/immer.js +575 -0
  156. package/dist/node_modules/internmap/src/index.js +35 -0
  157. package/dist/node_modules/react-is/cjs/react-is.development.js +98 -0
  158. package/dist/node_modules/react-is/cjs/react-is.production.min.js +81 -0
  159. package/dist/node_modules/react-is/index.js +10 -0
  160. package/dist/node_modules/react-redux/dist/react-redux.js +137 -0
  161. package/dist/node_modules/recharts/es6/animation/AnimatedItems.js +78 -0
  162. package/dist/node_modules/recharts/es6/animation/AnimationControllerImpl.js +21 -0
  163. package/dist/node_modules/recharts/es6/animation/AnimationHandle.js +179 -0
  164. package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +84 -0
  165. package/dist/node_modules/recharts/es6/animation/easing.js +89 -0
  166. package/dist/node_modules/recharts/es6/animation/matchBy.js +105 -0
  167. package/dist/node_modules/recharts/es6/animation/timeoutController.js +13 -0
  168. package/dist/node_modules/recharts/es6/animation/useAnimationController.js +11 -0
  169. package/dist/node_modules/recharts/es6/animation/useAnimationStartSnapshot.js +20 -0
  170. package/dist/node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js +14 -0
  171. package/dist/node_modules/recharts/es6/cartesian/getCartesianPosition.js +141 -0
  172. package/dist/node_modules/recharts/es6/chart/CategoricalChart.js +62 -0
  173. package/dist/node_modules/recharts/es6/chart/PieChart.js +62 -0
  174. package/dist/node_modules/recharts/es6/chart/PolarChart.js +144 -0
  175. package/dist/node_modules/recharts/es6/chart/RechartsWrapper.js +297 -0
  176. package/dist/node_modules/recharts/es6/component/Cell.js +5 -0
  177. package/dist/node_modules/recharts/es6/component/Label.js +262 -0
  178. package/dist/node_modules/recharts/es6/component/LabelList.js +101 -0
  179. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +219 -0
  180. package/dist/node_modules/recharts/es6/component/Text.js +240 -0
  181. package/dist/node_modules/recharts/es6/component/responsiveContainerUtils.js +43 -0
  182. package/dist/node_modules/recharts/es6/container/ClipPathProvider.js +63 -0
  183. package/dist/node_modules/recharts/es6/container/Layer.js +42 -0
  184. package/dist/node_modules/recharts/es6/container/RootSurface.js +90 -0
  185. package/dist/node_modules/recharts/es6/container/Surface.js +51 -0
  186. package/dist/node_modules/recharts/es6/context/PanoramaContext.js +5 -0
  187. package/dist/node_modules/recharts/es6/context/RegisterGraphicalItemId.js +12 -0
  188. package/dist/node_modules/recharts/es6/context/accessibilityContext.js +8 -0
  189. package/dist/node_modules/recharts/es6/context/chartDataContext.js +14 -0
  190. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +44 -0
  191. package/dist/node_modules/recharts/es6/context/legendPortalContext.js +5 -0
  192. package/dist/node_modules/recharts/es6/context/tooltipContext.js +33 -0
  193. package/dist/node_modules/recharts/es6/context/tooltipPortalContext.js +5 -0
  194. package/dist/node_modules/recharts/es6/hooks.js +6 -0
  195. package/dist/node_modules/recharts/es6/polar/Pie.js +486 -0
  196. package/dist/node_modules/recharts/es6/polar/defaultPolarAngleAxisProps.js +13 -0
  197. package/dist/node_modules/recharts/es6/polar/defaultPolarRadiusAxisProps.js +15 -0
  198. package/dist/node_modules/recharts/es6/shape/Curve.js +128 -0
  199. package/dist/node_modules/recharts/es6/shape/Sector.js +151 -0
  200. package/dist/node_modules/recharts/es6/state/RechartsReduxContext.js +5 -0
  201. package/dist/node_modules/recharts/es6/state/RechartsStoreProvider.js +20 -0
  202. package/dist/node_modules/recharts/es6/state/ReportChartProps.js +12 -0
  203. package/dist/node_modules/recharts/es6/state/ReportEventSettings.js +13 -0
  204. package/dist/node_modules/recharts/es6/state/ReportMainChartProps.js +15 -0
  205. package/dist/node_modules/recharts/es6/state/ReportPolarOptions.js +12 -0
  206. package/dist/node_modules/recharts/es6/state/SetGraphicalItem.js +17 -0
  207. package/dist/node_modules/recharts/es6/state/SetLegendPayload.js +18 -0
  208. package/dist/node_modules/recharts/es6/state/SetTooltipEntrySettings.js +18 -0
  209. package/dist/node_modules/recharts/es6/state/brushSlice.js +27 -0
  210. package/dist/node_modules/recharts/es6/state/cartesianAxisSlice.js +148 -0
  211. package/dist/node_modules/recharts/es6/state/chartDataSlice.js +35 -0
  212. package/dist/node_modules/recharts/es6/state/errorBarSlice.js +26 -0
  213. package/dist/node_modules/recharts/es6/state/eventSettingsSlice.js +19 -0
  214. package/dist/node_modules/recharts/es6/state/externalEventsMiddleware.js +58 -0
  215. package/dist/node_modules/recharts/es6/state/graphicalItemsSlice.js +61 -0
  216. package/dist/node_modules/recharts/es6/state/hooks.js +19 -0
  217. package/dist/node_modules/recharts/es6/state/keyboardEventsMiddleware.js +119 -0
  218. package/dist/node_modules/recharts/es6/state/layoutSlice.js +38 -0
  219. package/dist/node_modules/recharts/es6/state/legendSlice.js +57 -0
  220. package/dist/node_modules/recharts/es6/state/mouseEventsMiddleware.js +52 -0
  221. package/dist/node_modules/recharts/es6/state/optionsSlice.js +28 -0
  222. package/dist/node_modules/recharts/es6/state/polarAxisSlice.js +31 -0
  223. package/dist/node_modules/recharts/es6/state/polarOptionsSlice.js +12 -0
  224. package/dist/node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js +6 -0
  225. package/dist/node_modules/recharts/es6/state/referenceElementsSlice.js +44 -0
  226. package/dist/node_modules/recharts/es6/state/renderedTicksSlice.js +26 -0
  227. package/dist/node_modules/recharts/es6/state/rootPropsSlice.js +28 -0
  228. package/dist/node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js +16 -0
  229. package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +925 -0
  230. package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +14 -0
  231. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js +9 -0
  232. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js +41 -0
  233. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineAxisRangeWithReverse.js +7 -0
  234. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js +22 -0
  235. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js +27 -0
  236. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineCoordinateForDefaultIndex.js +24 -0
  237. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +20 -0
  238. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js +8 -0
  239. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js +20 -0
  240. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js +78 -0
  241. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +137 -0
  242. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayloadConfigurations.js +20 -0
  243. package/dist/node_modules/recharts/es6/state/selectors/containerSelectors.js +7 -0
  244. package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +27 -0
  245. package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +11 -0
  246. package/dist/node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js +4 -0
  247. package/dist/node_modules/recharts/es6/state/selectors/pickAxisId.js +4 -0
  248. package/dist/node_modules/recharts/es6/state/selectors/pickAxisType.js +4 -0
  249. package/dist/node_modules/recharts/es6/state/selectors/pieSelectors.js +78 -0
  250. package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +147 -0
  251. package/dist/node_modules/recharts/es6/state/selectors/polarSelectors.js +36 -0
  252. package/dist/node_modules/recharts/es6/state/selectors/rootPropsSelectors.js +10 -0
  253. package/dist/node_modules/recharts/es6/state/selectors/selectActivePropsFromChartPointer.js +11 -0
  254. package/dist/node_modules/recharts/es6/state/selectors/selectAllAxes.js +6 -0
  255. package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +11 -0
  256. package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +123 -0
  257. package/dist/node_modules/recharts/es6/state/selectors/selectPlotArea.js +15 -0
  258. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +4 -0
  259. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +8 -0
  260. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipEventType.js +17 -0
  261. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipPayloadSearcher.js +4 -0
  262. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipSettings.js +4 -0
  263. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipState.js +4 -0
  264. package/dist/node_modules/recharts/es6/state/selectors/selectors.js +62 -0
  265. package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +107 -0
  266. package/dist/node_modules/recharts/es6/state/selectors/touchSelectors.js +15 -0
  267. package/dist/node_modules/recharts/es6/state/store.js +79 -0
  268. package/dist/node_modules/recharts/es6/state/tooltipSlice.js +106 -0
  269. package/dist/node_modules/recharts/es6/state/touchEventsMiddleware.js +72 -0
  270. package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +6 -0
  271. package/dist/node_modules/recharts/es6/state/zIndexSlice.js +102 -0
  272. package/dist/node_modules/recharts/es6/synchronisation/useChartSynchronisation.js +183 -0
  273. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +71 -0
  274. package/dist/node_modules/recharts/es6/util/ChartUtils.js +185 -0
  275. package/dist/node_modules/recharts/es6/util/Constants.js +7 -0
  276. package/dist/node_modules/recharts/es6/util/DOMUtils.js +89 -0
  277. package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
  278. package/dist/node_modules/recharts/es6/util/Events.js +7 -0
  279. package/dist/node_modules/recharts/es6/util/Global.js +6 -0
  280. package/dist/node_modules/recharts/es6/util/LRUCache.js +44 -0
  281. package/dist/node_modules/recharts/es6/util/LogUtils.js +14 -0
  282. package/dist/node_modules/recharts/es6/util/PolarUtils.js +113 -0
  283. package/dist/node_modules/recharts/es6/util/ReactUtils.js +24 -0
  284. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +151 -0
  285. package/dist/node_modules/recharts/es6/util/createEventProxy.js +15 -0
  286. package/dist/node_modules/recharts/es6/util/excludeEventProps.js +10 -0
  287. package/dist/node_modules/recharts/es6/util/getActiveCoordinate.js +141 -0
  288. package/dist/node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js +10 -0
  289. package/dist/node_modules/recharts/es6/util/getClassNameFromUnknown.js +6 -0
  290. package/dist/node_modules/recharts/es6/util/getRelativeCoordinate.js +31 -0
  291. package/dist/node_modules/recharts/es6/util/getSliced.js +6 -0
  292. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +131 -0
  293. package/dist/node_modules/recharts/es6/util/isWellBehavedNumber.js +10 -0
  294. package/dist/node_modules/recharts/es6/util/propsAreEqual.js +43 -0
  295. package/dist/node_modules/recharts/es6/util/resolveDefaultProps.js +45 -0
  296. package/dist/node_modules/recharts/es6/util/round.js +17 -0
  297. package/dist/node_modules/recharts/es6/util/scale/RechartsScale.js +44 -0
  298. package/dist/node_modules/recharts/es6/util/scale/createCategoricalInverse.js +29 -0
  299. package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +119 -0
  300. package/dist/node_modules/recharts/es6/util/scale/util/arithmetic.js +14 -0
  301. package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +6 -0
  302. package/dist/node_modules/recharts/es6/util/svgPropertiesAndEvents.js +12 -0
  303. package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +340 -0
  304. package/dist/node_modules/recharts/es6/util/types.js +25 -0
  305. package/dist/node_modules/recharts/es6/util/useAnimationId.js +9 -0
  306. package/dist/node_modules/recharts/es6/util/useId.js +51 -0
  307. package/dist/node_modules/recharts/es6/util/usePrefersReducedMotion.js +58 -0
  308. package/dist/node_modules/recharts/es6/util/useReportScale.js +57 -0
  309. package/dist/node_modules/recharts/es6/util/useUniqueId.js +8 -0
  310. package/dist/node_modules/recharts/es6/zIndex/DefaultZIndexes.js +70 -0
  311. package/dist/node_modules/recharts/es6/zIndex/ZIndexLayer.js +47 -0
  312. package/dist/node_modules/recharts/es6/zIndex/ZIndexPortal.js +40 -0
  313. package/dist/node_modules/recharts/es6/zIndex/zIndexSelectors.js +21 -0
  314. package/dist/node_modules/redux/dist/redux.js +258 -0
  315. package/dist/node_modules/redux-thunk/dist/redux-thunk.js +8 -0
  316. package/dist/node_modules/reselect/dist/reselect.js +226 -0
  317. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +67 -0
  318. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +66 -0
  319. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
  320. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
  321. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +66 -0
  322. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +65 -0
  323. package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
  324. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +10 -0
  325. package/dist/node_modules/use-sync-external-store/with-selector.js +10 -0
  326. package/dist/node_modules/victory-vendor/es/d3-scale.js +47 -0
  327. package/dist/primitives/donut-chart/donut-chart.d.ts +32 -0
  328. package/dist/primitives/donut-chart/donut-chart.d.ts.map +1 -0
  329. package/dist/primitives/donut-chart/donut-chart.js +111 -0
  330. package/dist/primitives/donut-chart/index.d.ts +2 -0
  331. package/dist/primitives/donut-chart/index.d.ts.map +1 -0
  332. package/dist/primitives/hierarchical-select/HierarchicalSelect.d.ts.map +1 -1
  333. package/dist/primitives/hierarchical-select/HierarchicalSelect.js +47 -41
  334. package/dist/primitives/hierarchical-select/components/HierarchicalItem.d.ts.map +1 -1
  335. package/dist/primitives/hierarchical-select/components/HierarchicalItem.js +54 -48
  336. package/dist/primitives/hierarchical-select/utils/selection.d.ts.map +1 -1
  337. package/dist/primitives/hierarchical-select/utils/selection.js +63 -63
  338. package/dist/styles/components.css +1 -1
  339. package/package.json +2 -1
@@ -0,0 +1,86 @@
1
+ import E from "./nice.js";
2
+ import { transformer as v, copy as F } from "./continuous.js";
3
+ import { initRange as L } from "./init.js";
4
+ import d from "../../d3-array/src/ticks.js";
5
+ import j from "../../d3-format/src/formatSpecifier.js";
6
+ import { format as z } from "../../d3-format/src/defaultLocale.js";
7
+ function y(t) {
8
+ return Math.log(t);
9
+ }
10
+ function w(t) {
11
+ return Math.exp(t);
12
+ }
13
+ function I(t) {
14
+ return -Math.log(-t);
15
+ }
16
+ function R(t) {
17
+ return -Math.exp(-t);
18
+ }
19
+ function S(t) {
20
+ return isFinite(t) ? +("1e" + t) : t < 0 ? 0 : t;
21
+ }
22
+ function q(t) {
23
+ return t === 10 ? S : t === Math.E ? Math.exp : (n) => Math.pow(t, n);
24
+ }
25
+ function A(t) {
26
+ return t === Math.E ? Math.log : t === 10 && Math.log10 || t === 2 && Math.log2 || (t = Math.log(t), (n) => Math.log(n) / t);
27
+ }
28
+ function x(t) {
29
+ return (n, m) => -t(-n, m);
30
+ }
31
+ function B(t) {
32
+ const n = t(y, w), m = n.domain;
33
+ let l = 10, h, i;
34
+ function k() {
35
+ return h = A(l), i = q(l), m()[0] < 0 ? (h = x(h), i = x(i), t(I, R)) : t(y, w), n;
36
+ }
37
+ return n.base = function(o) {
38
+ return arguments.length ? (l = +o, k()) : l;
39
+ }, n.domain = function(o) {
40
+ return arguments.length ? (m(o), k()) : m();
41
+ }, n.ticks = (o) => {
42
+ const e = m();
43
+ let u = e[0], f = e[e.length - 1];
44
+ const M = f < u;
45
+ M && ([u, f] = [f, u]);
46
+ let r = h(u), g = h(f), a, c;
47
+ const p = o == null ? 10 : +o;
48
+ let s = [];
49
+ if (!(l % 1) && g - r < p) {
50
+ if (r = Math.floor(r), g = Math.ceil(g), u > 0) {
51
+ for (; r <= g; ++r)
52
+ for (a = 1; a < l; ++a)
53
+ if (c = r < 0 ? a / i(-r) : a * i(r), !(c < u)) {
54
+ if (c > f) break;
55
+ s.push(c);
56
+ }
57
+ } else for (; r <= g; ++r)
58
+ for (a = l - 1; a >= 1; --a)
59
+ if (c = r > 0 ? a / i(-r) : a * i(r), !(c < u)) {
60
+ if (c > f) break;
61
+ s.push(c);
62
+ }
63
+ s.length * 2 < p && (s = d(u, f, p));
64
+ } else
65
+ s = d(r, g, Math.min(g - r, p)).map(i);
66
+ return M ? s.reverse() : s;
67
+ }, n.tickFormat = (o, e) => {
68
+ if (o == null && (o = 10), e == null && (e = l === 10 ? "s" : ","), typeof e != "function" && (!(l % 1) && (e = j(e)).precision == null && (e.trim = !0), e = z(e)), o === 1 / 0) return e;
69
+ const u = Math.max(1, l * o / n.ticks().length);
70
+ return (f) => {
71
+ let M = f / i(Math.round(h(f)));
72
+ return M * l < l - 0.5 && (M *= l), M <= u ? e(f) : "";
73
+ };
74
+ }, n.nice = () => m(E(m(), {
75
+ floor: (o) => i(Math.floor(h(o))),
76
+ ceil: (o) => i(Math.ceil(h(o)))
77
+ })), n;
78
+ }
79
+ function C() {
80
+ const t = B(v()).domain([1, 10]);
81
+ return t.copy = () => F(t, C()).base(t.base()), L.apply(t, arguments), t;
82
+ }
83
+ export {
84
+ C as default,
85
+ B as loggish
86
+ };
@@ -0,0 +1,8 @@
1
+ function x(e, u) {
2
+ e = e.slice();
3
+ var t = 0, c = e.length - 1, f = e[t], l = e[c], r;
4
+ return l < f && (r = t, t = c, c = r, r = f, f = l, l = r), e[t] = u.floor(f), e[c] = u.ceil(l), e;
5
+ }
6
+ export {
7
+ x as default
8
+ };
@@ -0,0 +1,6 @@
1
+ function n(e) {
2
+ return +e;
3
+ }
4
+ export {
5
+ n as default
6
+ };
@@ -0,0 +1,31 @@
1
+ import { initRange as c } from "./init.js";
2
+ import { InternMap as a } from "../../internmap/src/index.js";
3
+ const f = Symbol("implicit");
4
+ function l() {
5
+ var r = new a(), i = [], u = [], o = f;
6
+ function n(t) {
7
+ let e = r.get(t);
8
+ if (e === void 0) {
9
+ if (o !== f) return o;
10
+ r.set(t, e = i.push(t) - 1);
11
+ }
12
+ return u[e % u.length];
13
+ }
14
+ return n.domain = function(t) {
15
+ if (!arguments.length) return i.slice();
16
+ i = [], r = new a();
17
+ for (const e of t)
18
+ r.has(e) || r.set(e, i.push(e) - 1);
19
+ return n;
20
+ }, n.range = function(t) {
21
+ return arguments.length ? (u = Array.from(t), n) : u.slice();
22
+ }, n.unknown = function(t) {
23
+ return arguments.length ? (o = t, n) : o;
24
+ }, n.copy = function() {
25
+ return l(i, u).unknown(o);
26
+ }, c.apply(n, arguments), n;
27
+ }
28
+ export {
29
+ l as default,
30
+ f as implicit
31
+ };
@@ -0,0 +1,37 @@
1
+ import { linearish as p } from "./linear.js";
2
+ import { transformer as c, copy as f, identity as e } from "./continuous.js";
3
+ import { initRange as s } from "./init.js";
4
+ function o(n) {
5
+ return function(t) {
6
+ return t < 0 ? -Math.pow(-t, n) : Math.pow(t, n);
7
+ };
8
+ }
9
+ function l(n) {
10
+ return n < 0 ? -Math.sqrt(-n) : Math.sqrt(n);
11
+ }
12
+ function m(n) {
13
+ return n < 0 ? -n * n : n * n;
14
+ }
15
+ function h(n) {
16
+ var t = n(e, e), r = 1;
17
+ function a() {
18
+ return r === 1 ? n(e, e) : r === 0.5 ? n(l, m) : n(o(r), o(1 / r));
19
+ }
20
+ return t.exponent = function(i) {
21
+ return arguments.length ? (r = +i, a()) : r;
22
+ }, p(t);
23
+ }
24
+ function u() {
25
+ var n = h(c());
26
+ return n.copy = function() {
27
+ return f(n, u()).exponent(n.exponent());
28
+ }, s.apply(n, arguments), n;
29
+ }
30
+ function y() {
31
+ return u.apply(null, arguments).exponent(0.5);
32
+ }
33
+ export {
34
+ u as default,
35
+ h as powish,
36
+ y as sqrt
37
+ };
@@ -0,0 +1,38 @@
1
+ import { initRange as l } from "./init.js";
2
+ import f from "../../d3-array/src/ascending.js";
3
+ import { quantileSorted as s } from "../../d3-array/src/quantile.js";
4
+ import { bisectRight as c } from "../../d3-array/src/bisect.js";
5
+ function m() {
6
+ var t = [], u = [], i = [], a;
7
+ function o() {
8
+ var n = 0, r = Math.max(1, u.length);
9
+ for (i = new Array(r - 1); ++n < r; ) i[n - 1] = s(t, n / r);
10
+ return e;
11
+ }
12
+ function e(n) {
13
+ return n == null || isNaN(n = +n) ? a : u[c(i, n)];
14
+ }
15
+ return e.invertExtent = function(n) {
16
+ var r = u.indexOf(n);
17
+ return r < 0 ? [NaN, NaN] : [
18
+ r > 0 ? i[r - 1] : t[0],
19
+ r < i.length ? i[r] : t[t.length - 1]
20
+ ];
21
+ }, e.domain = function(n) {
22
+ if (!arguments.length) return t.slice();
23
+ t = [];
24
+ for (let r of n) r != null && !isNaN(r = +r) && t.push(r);
25
+ return t.sort(f), o();
26
+ }, e.range = function(n) {
27
+ return arguments.length ? (u = Array.from(n), o()) : u.slice();
28
+ }, e.unknown = function(n) {
29
+ return arguments.length ? (a = n, e) : a;
30
+ }, e.quantiles = function() {
31
+ return i.slice();
32
+ }, e.copy = function() {
33
+ return m().domain(t).range(u).unknown(a);
34
+ }, l.apply(e, arguments);
35
+ }
36
+ export {
37
+ m as default
38
+ };
@@ -0,0 +1,31 @@
1
+ import { linearish as l } from "./linear.js";
2
+ import { initRange as m } from "./init.js";
3
+ import { bisectRight as g } from "../../d3-array/src/bisect.js";
4
+ function s() {
5
+ var i = 0, u = 1, t = 1, e = [0.5], a = [0, 1], c;
6
+ function r(n) {
7
+ return n != null && n <= n ? a[g(e, n, 0, t)] : c;
8
+ }
9
+ function f() {
10
+ var n = -1;
11
+ for (e = new Array(t); ++n < t; ) e[n] = ((n + 1) * u - (n - t) * i) / (t + 1);
12
+ return r;
13
+ }
14
+ return r.domain = function(n) {
15
+ return arguments.length ? ([i, u] = n, i = +i, u = +u, f()) : [i, u];
16
+ }, r.range = function(n) {
17
+ return arguments.length ? (t = (a = Array.from(n)).length - 1, f()) : a.slice();
18
+ }, r.invertExtent = function(n) {
19
+ var o = a.indexOf(n);
20
+ return o < 0 ? [NaN, NaN] : o < 1 ? [i, e[0]] : o >= t ? [e[t - 1], u] : [e[o - 1], e[o]];
21
+ }, r.unknown = function(n) {
22
+ return arguments.length && (c = n), r;
23
+ }, r.thresholds = function() {
24
+ return e.slice();
25
+ }, r.copy = function() {
26
+ return s().domain([i, u]).range(a).unknown(c);
27
+ }, m.apply(l(r), arguments);
28
+ }
29
+ export {
30
+ s as default
31
+ };
@@ -0,0 +1,37 @@
1
+ import m from "./continuous.js";
2
+ import { initRange as c } from "./init.js";
3
+ import { linearish as s } from "./linear.js";
4
+ import f from "./number.js";
5
+ function i(n) {
6
+ return Math.sign(n) * n * n;
7
+ }
8
+ function g(n) {
9
+ return Math.sign(n) * Math.sqrt(Math.abs(n));
10
+ }
11
+ function l() {
12
+ var n = m(), e = [0, 1], u = !1, a;
13
+ function r(t) {
14
+ var o = g(n(t));
15
+ return isNaN(o) ? a : u ? Math.round(o) : o;
16
+ }
17
+ return r.invert = function(t) {
18
+ return n.invert(i(t));
19
+ }, r.domain = function(t) {
20
+ return arguments.length ? (n.domain(t), r) : n.domain();
21
+ }, r.range = function(t) {
22
+ return arguments.length ? (n.range((e = Array.from(t, f)).map(i)), r) : e.slice();
23
+ }, r.rangeRound = function(t) {
24
+ return r.range(t).round(!0);
25
+ }, r.round = function(t) {
26
+ return arguments.length ? (u = !!t, r) : u;
27
+ }, r.clamp = function(t) {
28
+ return arguments.length ? (n.clamp(t), r) : n.clamp();
29
+ }, r.unknown = function(t) {
30
+ return arguments.length ? (a = t, r) : a;
31
+ }, r.copy = function() {
32
+ return l(n.domain(), e).round(u).clamp(n.clamp()).unknown(a);
33
+ }, c.apply(r, arguments), s(r);
34
+ }
35
+ export {
36
+ l as default
37
+ };
@@ -0,0 +1,70 @@
1
+ import { identity as d } from "./continuous.js";
2
+ import { initInterpolator as m } from "./init.js";
3
+ import { linearish as w } from "./linear.js";
4
+ import { loggish as k } from "./log.js";
5
+ import { symlogish as b } from "./symlog.js";
6
+ import { powish as M } from "./pow.js";
7
+ import N from "../../d3-interpolate/src/value.js";
8
+ import R from "../../d3-interpolate/src/round.js";
9
+ function p() {
10
+ var n = 0, o = 1, e, a, i, l, u = d, f = !1, s;
11
+ function r(t) {
12
+ return t == null || isNaN(t = +t) ? s : u(i === 0 ? 0.5 : (t = (l(t) - e) * i, f ? Math.max(0, Math.min(1, t)) : t));
13
+ }
14
+ r.domain = function(t) {
15
+ return arguments.length ? ([n, o] = t, e = l(n = +n), a = l(o = +o), i = e === a ? 0 : 1 / (a - e), r) : [n, o];
16
+ }, r.clamp = function(t) {
17
+ return arguments.length ? (f = !!t, r) : f;
18
+ }, r.interpolator = function(t) {
19
+ return arguments.length ? (u = t, r) : u;
20
+ };
21
+ function g(t) {
22
+ return function(v) {
23
+ var y, h;
24
+ return arguments.length ? ([y, h] = v, u = t(y, h), r) : [u(0), u(1)];
25
+ };
26
+ }
27
+ return r.range = g(N), r.rangeRound = g(R), r.unknown = function(t) {
28
+ return arguments.length ? (s = t, r) : s;
29
+ }, function(t) {
30
+ return l = t, e = t(n), a = t(o), i = e === a ? 0 : 1 / (a - e), r;
31
+ };
32
+ }
33
+ function c(n, o) {
34
+ return o.domain(n.domain()).interpolator(n.interpolator()).clamp(n.clamp()).unknown(n.unknown());
35
+ }
36
+ function S() {
37
+ var n = w(p()(d));
38
+ return n.copy = function() {
39
+ return c(n, S());
40
+ }, m.apply(n, arguments);
41
+ }
42
+ function x() {
43
+ var n = k(p()).domain([1, 10]);
44
+ return n.copy = function() {
45
+ return c(n, x()).base(n.base());
46
+ }, m.apply(n, arguments);
47
+ }
48
+ function I() {
49
+ var n = b(p());
50
+ return n.copy = function() {
51
+ return c(n, I()).constant(n.constant());
52
+ }, m.apply(n, arguments);
53
+ }
54
+ function q() {
55
+ var n = M(p());
56
+ return n.copy = function() {
57
+ return c(n, q()).exponent(n.exponent());
58
+ }, m.apply(n, arguments);
59
+ }
60
+ function E() {
61
+ return q.apply(null, arguments).exponent(0.5);
62
+ }
63
+ export {
64
+ c as copy,
65
+ S as default,
66
+ x as sequentialLog,
67
+ q as sequentialPow,
68
+ E as sequentialSqrt,
69
+ I as sequentialSymlog
70
+ };
@@ -0,0 +1,28 @@
1
+ import { identity as u } from "./continuous.js";
2
+ import { initInterpolator as a } from "./init.js";
3
+ import l from "../../d3-array/src/ascending.js";
4
+ import f from "../../d3-array/src/quantile.js";
5
+ import { bisectRight as m } from "../../d3-array/src/bisect.js";
6
+ function p() {
7
+ var n = [], e = u;
8
+ function r(t) {
9
+ if (t != null && !isNaN(t = +t)) return e((m(n, t, 1) - 1) / (n.length - 1));
10
+ }
11
+ return r.domain = function(t) {
12
+ if (!arguments.length) return n.slice();
13
+ n = [];
14
+ for (let i of t) i != null && !isNaN(i = +i) && n.push(i);
15
+ return n.sort(l), r;
16
+ }, r.interpolator = function(t) {
17
+ return arguments.length ? (e = t, r) : e;
18
+ }, r.range = function() {
19
+ return n.map((t, i) => e(i / (n.length - 1)));
20
+ }, r.quantiles = function(t) {
21
+ return Array.from({ length: t + 1 }, (i, o) => f(n, o / t));
22
+ }, r.copy = function() {
23
+ return p(e).domain(n);
24
+ }, a.apply(r, arguments);
25
+ }
26
+ export {
27
+ p as default
28
+ };
@@ -0,0 +1,29 @@
1
+ import { linearish as u } from "./linear.js";
2
+ import { transformer as i, copy as s } from "./continuous.js";
3
+ import { initRange as c } from "./init.js";
4
+ function o(n) {
5
+ return function(t) {
6
+ return Math.sign(t) * Math.log1p(Math.abs(t / n));
7
+ };
8
+ }
9
+ function a(n) {
10
+ return function(t) {
11
+ return Math.sign(t) * Math.expm1(Math.abs(t)) * n;
12
+ };
13
+ }
14
+ function m(n) {
15
+ var t = 1, r = n(o(t), a(t));
16
+ return r.constant = function(e) {
17
+ return arguments.length ? n(o(t = +e), a(t)) : t;
18
+ }, u(r);
19
+ }
20
+ function f() {
21
+ var n = m(i());
22
+ return n.copy = function() {
23
+ return s(n, f()).constant(n.constant());
24
+ }, c.apply(n, arguments);
25
+ }
26
+ export {
27
+ f as default,
28
+ m as symlogish
29
+ };
@@ -0,0 +1,23 @@
1
+ import { initRange as a } from "./init.js";
2
+ import { bisectRight as g } from "../../d3-array/src/bisect.js";
3
+ function l() {
4
+ var r = [0.5], e = [0, 1], i, u = 1;
5
+ function t(n) {
6
+ return n != null && n <= n ? e[g(r, n, 0, u)] : i;
7
+ }
8
+ return t.domain = function(n) {
9
+ return arguments.length ? (r = Array.from(n), u = Math.min(r.length, e.length - 1), t) : r.slice();
10
+ }, t.range = function(n) {
11
+ return arguments.length ? (e = Array.from(n), u = Math.min(r.length, e.length - 1), t) : e.slice();
12
+ }, t.invertExtent = function(n) {
13
+ var o = e.indexOf(n);
14
+ return [r[o - 1], r[o]];
15
+ }, t.unknown = function(n) {
16
+ return arguments.length ? (i = n, t) : i;
17
+ }, t.copy = function() {
18
+ return l().domain(r).range(e).unknown(i);
19
+ }, a.apply(t, arguments);
20
+ }
21
+ export {
22
+ l as default
23
+ };
@@ -0,0 +1,32 @@
1
+ import { tickStep as s } from "../../d3-array/src/ticks.js";
2
+ import c from "../../d3-format/src/formatSpecifier.js";
3
+ import e from "../../d3-format/src/precisionFixed.js";
4
+ import p from "../../d3-format/src/precisionRound.js";
5
+ import l from "../../d3-format/src/precisionPrefix.js";
6
+ import { formatPrefix as u, format as h } from "../../d3-format/src/defaultLocale.js";
7
+ function d(r, t, i, a) {
8
+ var n = s(r, t, i), o;
9
+ switch (a = c(a ?? ",f"), a.type) {
10
+ case "s": {
11
+ var m = Math.max(Math.abs(r), Math.abs(t));
12
+ return a.precision == null && !isNaN(o = l(n, m)) && (a.precision = o), u(a, m);
13
+ }
14
+ case "":
15
+ case "e":
16
+ case "g":
17
+ case "p":
18
+ case "r": {
19
+ a.precision == null && !isNaN(o = p(n, Math.max(Math.abs(r), Math.abs(t)))) && (a.precision = o - (a.type === "e"));
20
+ break;
21
+ }
22
+ case "f":
23
+ case "%": {
24
+ a.precision == null && !isNaN(o = e(n)) && (a.precision = o - (a.type === "%") * 2);
25
+ break;
26
+ }
27
+ }
28
+ return h(a);
29
+ }
30
+ export {
31
+ d as default
32
+ };
@@ -0,0 +1,46 @@
1
+ import H, { copy as I } from "./continuous.js";
2
+ import { initRange as T } from "./init.js";
3
+ import x from "./nice.js";
4
+ import { timeFormat as A } from "../../d3-time-format/src/defaultLocale.js";
5
+ import { second as B } from "../../d3-time/src/second.js";
6
+ import { timeMinute as L } from "../../d3-time/src/minute.js";
7
+ import { timeHour as R } from "../../d3-time/src/hour.js";
8
+ import { timeDay as W } from "../../d3-time/src/day.js";
9
+ import { timeSunday as j } from "../../d3-time/src/week.js";
10
+ import { timeMonth as q } from "../../d3-time/src/month.js";
11
+ import { timeYear as v } from "../../d3-time/src/year.js";
12
+ import { timeTickInterval as z, timeTicks as C } from "../../d3-time/src/ticks.js";
13
+ function E(i) {
14
+ return new Date(i);
15
+ }
16
+ function G(i) {
17
+ return i instanceof Date ? +i : +/* @__PURE__ */ new Date(+i);
18
+ }
19
+ function g(i, u, e, f, c, p, a, l, D, t) {
20
+ var r = H(), s = r.invert, m = r.domain, y = t(".%L"), M = t(":%S"), w = t("%I:%M"), h = t("%I %p"), k = t("%a %d"), F = t("%b %d"), S = t("%B"), Y = t("%Y");
21
+ function b(n) {
22
+ return (D(n) < n ? y : l(n) < n ? M : a(n) < n ? w : p(n) < n ? h : f(n) < n ? c(n) < n ? k : F : e(n) < n ? S : Y)(n);
23
+ }
24
+ return r.invert = function(n) {
25
+ return new Date(s(n));
26
+ }, r.domain = function(n) {
27
+ return arguments.length ? m(Array.from(n, G)) : m().map(E);
28
+ }, r.ticks = function(n) {
29
+ var o = m();
30
+ return i(o[0], o[o.length - 1], n ?? 10);
31
+ }, r.tickFormat = function(n, o) {
32
+ return o == null ? b : t(o);
33
+ }, r.nice = function(n) {
34
+ var o = m();
35
+ return (!n || typeof n.range != "function") && (n = u(o[0], o[o.length - 1], n ?? 10)), n ? m(x(o, n)) : r;
36
+ }, r.copy = function() {
37
+ return I(r, g(i, u, e, f, c, p, a, l, D, t));
38
+ }, r;
39
+ }
40
+ function d() {
41
+ return T.apply(g(C, z, v, q, j, W, R, L, B, A).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
42
+ }
43
+ export {
44
+ g as calendar,
45
+ d as default
46
+ };
@@ -0,0 +1,17 @@
1
+ import { calendar as t } from "./time.js";
2
+ import { initRange as r } from "./init.js";
3
+ import { utcFormat as o } from "../../d3-time-format/src/defaultLocale.js";
4
+ import { second as m } from "../../d3-time/src/second.js";
5
+ import { utcMinute as i } from "../../d3-time/src/minute.js";
6
+ import { utcHour as u } from "../../d3-time/src/hour.js";
7
+ import { utcDay as a } from "../../d3-time/src/day.js";
8
+ import { utcSunday as c } from "../../d3-time/src/week.js";
9
+ import { utcMonth as p } from "../../d3-time/src/month.js";
10
+ import { utcYear as e } from "../../d3-time/src/year.js";
11
+ import { utcTickInterval as f, utcTicks as n } from "../../d3-time/src/ticks.js";
12
+ function h() {
13
+ return r.apply(t(n, f, e, p, c, a, u, i, m, o).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
14
+ }
15
+ export {
16
+ h as default
17
+ };
@@ -0,0 +1,56 @@
1
+ import x from "./array.js";
2
+ import i from "./constant.js";
3
+ import z from "./curve/linear.js";
4
+ import L from "./line.js";
5
+ import { withPath as X } from "./path.js";
6
+ import { x as Y, y as b } from "./point.js";
7
+ function C(u, f, o) {
8
+ var c = null, g = i(!0), l = null, p = z, r = null, S = X(e);
9
+ u = typeof u == "function" ? u : u === void 0 ? Y : i(+u), f = typeof f == "function" ? f : f === void 0 ? i(0) : i(+f), o = typeof o == "function" ? o : o === void 0 ? b : i(+o);
10
+ function e(n) {
11
+ var t, E, a, h = (n = x(n)).length, m, s = !1, v, w = new Array(h), A = new Array(h);
12
+ for (l == null && (r = p(v = S())), t = 0; t <= h; ++t) {
13
+ if (!(t < h && g(m = n[t], t, n)) === s)
14
+ if (s = !s)
15
+ E = t, r.areaStart(), r.lineStart();
16
+ else {
17
+ for (r.lineEnd(), r.lineStart(), a = t - 1; a >= E; --a)
18
+ r.point(w[a], A[a]);
19
+ r.lineEnd(), r.areaEnd();
20
+ }
21
+ s && (w[t] = +u(m, t, n), A[t] = +f(m, t, n), r.point(c ? +c(m, t, n) : w[t], o ? +o(m, t, n) : A[t]));
22
+ }
23
+ if (v) return r = null, v + "" || null;
24
+ }
25
+ function d() {
26
+ return L().defined(g).curve(p).context(l);
27
+ }
28
+ return e.x = function(n) {
29
+ return arguments.length ? (u = typeof n == "function" ? n : i(+n), c = null, e) : u;
30
+ }, e.x0 = function(n) {
31
+ return arguments.length ? (u = typeof n == "function" ? n : i(+n), e) : u;
32
+ }, e.x1 = function(n) {
33
+ return arguments.length ? (c = n == null ? null : typeof n == "function" ? n : i(+n), e) : c;
34
+ }, e.y = function(n) {
35
+ return arguments.length ? (f = typeof n == "function" ? n : i(+n), o = null, e) : f;
36
+ }, e.y0 = function(n) {
37
+ return arguments.length ? (f = typeof n == "function" ? n : i(+n), e) : f;
38
+ }, e.y1 = function(n) {
39
+ return arguments.length ? (o = n == null ? null : typeof n == "function" ? n : i(+n), e) : o;
40
+ }, e.lineX0 = e.lineY0 = function() {
41
+ return d().x(u).y(f);
42
+ }, e.lineY1 = function() {
43
+ return d().x(u).y(o);
44
+ }, e.lineX1 = function() {
45
+ return d().x(c).y(f);
46
+ }, e.defined = function(n) {
47
+ return arguments.length ? (g = typeof n == "function" ? n : i(!!n), e) : g;
48
+ }, e.curve = function(n) {
49
+ return arguments.length ? (p = n, l != null && (r = p(l)), e) : p;
50
+ }, e.context = function(n) {
51
+ return arguments.length ? (n == null ? l = r = null : r = p(l = n), e) : l;
52
+ }, e;
53
+ }
54
+ export {
55
+ C as default
56
+ };
@@ -0,0 +1,6 @@
1
+ function t(r) {
2
+ return typeof r == "object" && "length" in r ? r : Array.from(r);
3
+ }
4
+ export {
5
+ t as default
6
+ };
@@ -0,0 +1,8 @@
1
+ function o(n) {
2
+ return function() {
3
+ return n;
4
+ };
5
+ }
6
+ export {
7
+ o as default
8
+ };
@@ -0,0 +1,60 @@
1
+ function s(i, t, n) {
2
+ i._context.bezierCurveTo(
3
+ (2 * i._x0 + i._x1) / 3,
4
+ (2 * i._y0 + i._y1) / 3,
5
+ (i._x0 + 2 * i._x1) / 3,
6
+ (i._y0 + 2 * i._y1) / 3,
7
+ (i._x0 + 4 * i._x1 + t) / 6,
8
+ (i._y0 + 4 * i._y1 + n) / 6
9
+ );
10
+ }
11
+ function _(i) {
12
+ this._context = i;
13
+ }
14
+ _.prototype = {
15
+ areaStart: function() {
16
+ this._line = 0;
17
+ },
18
+ areaEnd: function() {
19
+ this._line = NaN;
20
+ },
21
+ lineStart: function() {
22
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
23
+ },
24
+ lineEnd: function() {
25
+ switch (this._point) {
26
+ case 3:
27
+ s(this, this._x1, this._y1);
28
+ // falls through
29
+ case 2:
30
+ this._context.lineTo(this._x1, this._y1);
31
+ break;
32
+ }
33
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
34
+ },
35
+ point: function(i, t) {
36
+ switch (i = +i, t = +t, this._point) {
37
+ case 0:
38
+ this._point = 1, this._line ? this._context.lineTo(i, t) : this._context.moveTo(i, t);
39
+ break;
40
+ case 1:
41
+ this._point = 2;
42
+ break;
43
+ case 2:
44
+ this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
45
+ // falls through
46
+ default:
47
+ s(this, i, t);
48
+ break;
49
+ }
50
+ this._x0 = this._x1, this._x1 = i, this._y0 = this._y1, this._y1 = t;
51
+ }
52
+ };
53
+ function e(i) {
54
+ return new _(i);
55
+ }
56
+ export {
57
+ _ as Basis,
58
+ e as default,
59
+ s as point
60
+ };