@burdenoff/microfe-ecoimpacthub 2026.1203.4 → 2026.1205.2

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 (717) hide show
  1. package/dist/ecoimpacthub/components/AiInsightsPanel.d.ts +3 -0
  2. package/dist/ecoimpacthub/components/AiInsightsPanel.js +79 -87
  3. package/dist/ecoimpacthub/components/AiInsightsPanel.js.map +1 -1
  4. package/dist/ecoimpacthub/components/EcoDiscussion.js +7 -9
  5. package/dist/ecoimpacthub/components/EcoDiscussion.js.map +1 -1
  6. package/dist/ecoimpacthub/components/EcoTags.js +0 -1
  7. package/dist/ecoimpacthub/components/EcoTags.js.map +1 -1
  8. package/dist/ecoimpacthub/components/EvidenceUpload.js +0 -1
  9. package/dist/ecoimpacthub/components/EvidenceUpload.js.map +1 -1
  10. package/dist/ecoimpacthub/components/FileLink.js +0 -1
  11. package/dist/ecoimpacthub/components/FileLink.js.map +1 -1
  12. package/dist/ecoimpacthub/components/ai/AiAnomalyPanel.js +9 -10
  13. package/dist/ecoimpacthub/components/ai/AiAnomalyPanel.js.map +1 -1
  14. package/dist/ecoimpacthub/components/ai/AiThresholdSuggest.js +3 -4
  15. package/dist/ecoimpacthub/components/ai/AiThresholdSuggest.js.map +1 -1
  16. package/dist/ecoimpacthub/components/ai/AiTriageDialog.js +8 -9
  17. package/dist/ecoimpacthub/components/ai/AiTriageDialog.js.map +1 -1
  18. package/dist/ecoimpacthub/field/useFieldQueue.js +0 -1
  19. package/dist/ecoimpacthub/field/useFieldQueue.js.map +1 -1
  20. package/dist/ecoimpacthub/hooks/useEcoAiMonitoring.js +0 -1
  21. package/dist/ecoimpacthub/hooks/useEcoAiMonitoring.js.map +1 -1
  22. package/dist/ecoimpacthub/hooks/useEcoAiOperations.js +0 -1
  23. package/dist/ecoimpacthub/hooks/useEcoAiOperations.js.map +1 -1
  24. package/dist/ecoimpacthub/hooks/useEcoComments.js +0 -1
  25. package/dist/ecoimpacthub/hooks/useEcoComments.js.map +1 -1
  26. package/dist/ecoimpacthub/hooks/useEcoFiles.js +0 -1
  27. package/dist/ecoimpacthub/hooks/useEcoFiles.js.map +1 -1
  28. package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.d.ts +5 -1
  29. package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.js +128 -105
  30. package/dist/ecoimpacthub/hooks/useEcoImpactHubApi.js.map +1 -1
  31. package/dist/ecoimpacthub/hooks/useEcoPlatformModulesApi.d.ts +9 -1
  32. package/dist/ecoimpacthub/hooks/useEcoPlatformModulesApi.js +5 -6
  33. package/dist/ecoimpacthub/hooks/useEcoPlatformModulesApi.js.map +1 -1
  34. package/dist/ecoimpacthub/hooks/useEcoTags.js +0 -1
  35. package/dist/ecoimpacthub/hooks/useEcoTags.js.map +1 -1
  36. package/dist/ecoimpacthub/pages/DashboardPage.d.ts +6 -3
  37. package/dist/ecoimpacthub/pages/DashboardPage.js +263 -292
  38. package/dist/ecoimpacthub/pages/DashboardPage.js.map +1 -1
  39. package/dist/ecoimpacthub/pages/_shared/EvidenceThumb.js +0 -1
  40. package/dist/ecoimpacthub/pages/_shared/EvidenceThumb.js.map +1 -1
  41. package/dist/ecoimpacthub/pages/ai/AiOperationsPage.js +126 -128
  42. package/dist/ecoimpacthub/pages/ai/AiOperationsPage.js.map +1 -1
  43. package/dist/ecoimpacthub/pages/carbon/CarbonPage.js +12 -13
  44. package/dist/ecoimpacthub/pages/carbon/CarbonPage.js.map +1 -1
  45. package/dist/ecoimpacthub/pages/circularity/CircularityPage.js +11 -12
  46. package/dist/ecoimpacthub/pages/circularity/CircularityPage.js.map +1 -1
  47. package/dist/ecoimpacthub/pages/compliance/CompliancePage.js +70 -71
  48. package/dist/ecoimpacthub/pages/compliance/CompliancePage.js.map +1 -1
  49. package/dist/ecoimpacthub/pages/credits/CreditsPage.js +140 -141
  50. package/dist/ecoimpacthub/pages/credits/CreditsPage.js.map +1 -1
  51. package/dist/ecoimpacthub/pages/dashboardKpis.d.ts +35 -0
  52. package/dist/ecoimpacthub/pages/dashboardKpis.js +60 -0
  53. package/dist/ecoimpacthub/pages/dashboardKpis.js.map +1 -0
  54. package/dist/ecoimpacthub/pages/ehs/EhsPage.js +467 -468
  55. package/dist/ecoimpacthub/pages/ehs/EhsPage.js.map +1 -1
  56. package/dist/ecoimpacthub/pages/energy/EnergyPage.js +414 -415
  57. package/dist/ecoimpacthub/pages/energy/EnergyPage.js.map +1 -1
  58. package/dist/ecoimpacthub/pages/grants/DonorPortalPage.js +0 -1
  59. package/dist/ecoimpacthub/pages/grants/DonorPortalPage.js.map +1 -1
  60. package/dist/ecoimpacthub/pages/grants/GrantDetailPage.js +11 -13
  61. package/dist/ecoimpacthub/pages/grants/GrantDetailPage.js.map +1 -1
  62. package/dist/ecoimpacthub/pages/grants/GrantsPage.js +28 -30
  63. package/dist/ecoimpacthub/pages/grants/GrantsPage.js.map +1 -1
  64. package/dist/ecoimpacthub/pages/habitat/HabitatProjectDetailPage.js +16 -18
  65. package/dist/ecoimpacthub/pages/habitat/HabitatProjectDetailPage.js.map +1 -1
  66. package/dist/ecoimpacthub/pages/habitat/HabitatProjectsPage.js +16 -18
  67. package/dist/ecoimpacthub/pages/habitat/HabitatProjectsPage.js.map +1 -1
  68. package/dist/ecoimpacthub/pages/habitat/StewardshipPage.js +17 -18
  69. package/dist/ecoimpacthub/pages/habitat/StewardshipPage.js.map +1 -1
  70. package/dist/ecoimpacthub/pages/habitat/stewardship.js +0 -1
  71. package/dist/ecoimpacthub/pages/habitat/stewardship.js.map +1 -1
  72. package/dist/ecoimpacthub/pages/metrics/MetricDetailDialog.js +0 -1
  73. package/dist/ecoimpacthub/pages/metrics/MetricDetailDialog.js.map +1 -1
  74. package/dist/ecoimpacthub/pages/metrics/MetricsPage.js +11 -12
  75. package/dist/ecoimpacthub/pages/metrics/MetricsPage.js.map +1 -1
  76. package/dist/ecoimpacthub/pages/mobile/FieldQueuePanel.js +0 -1
  77. package/dist/ecoimpacthub/pages/mobile/FieldQueuePanel.js.map +1 -1
  78. package/dist/ecoimpacthub/pages/mobile/MobileDashboardPage.js +14 -16
  79. package/dist/ecoimpacthub/pages/mobile/MobileDashboardPage.js.map +1 -1
  80. package/dist/ecoimpacthub/pages/mobile/MobileRecordObservationPage.js +4 -6
  81. package/dist/ecoimpacthub/pages/mobile/MobileRecordObservationPage.js.map +1 -1
  82. package/dist/ecoimpacthub/pages/mobile/MobileShell.js +0 -2
  83. package/dist/ecoimpacthub/pages/mobile/MobileShell.js.map +1 -1
  84. package/dist/ecoimpacthub/pages/monitoring/MonitoringPage.js +118 -120
  85. package/dist/ecoimpacthub/pages/monitoring/MonitoringPage.js.map +1 -1
  86. package/dist/ecoimpacthub/pages/observations/ObservationsPage.js +25 -27
  87. package/dist/ecoimpacthub/pages/observations/ObservationsPage.js.map +1 -1
  88. package/dist/ecoimpacthub/pages/products/ProductFootprintPage.js +5 -6
  89. package/dist/ecoimpacthub/pages/products/ProductFootprintPage.js.map +1 -1
  90. package/dist/ecoimpacthub/pages/reports/ReportDetailPage.js +26 -28
  91. package/dist/ecoimpacthub/pages/reports/ReportDetailPage.js.map +1 -1
  92. package/dist/ecoimpacthub/pages/reports/ReportsPage.js +22 -24
  93. package/dist/ecoimpacthub/pages/reports/ReportsPage.js.map +1 -1
  94. package/dist/ecoimpacthub/pages/satellite/SatellitePage.js +120 -121
  95. package/dist/ecoimpacthub/pages/satellite/SatellitePage.js.map +1 -1
  96. package/dist/ecoimpacthub/pages/sites/SiteDetailPage.js +274 -277
  97. package/dist/ecoimpacthub/pages/sites/SiteDetailPage.js.map +1 -1
  98. package/dist/ecoimpacthub/pages/sites/SitesPage.js +99 -101
  99. package/dist/ecoimpacthub/pages/sites/SitesPage.js.map +1 -1
  100. package/dist/ecoimpacthub/pages/species/SpeciesDetailPage.js +31 -33
  101. package/dist/ecoimpacthub/pages/species/SpeciesDetailPage.js.map +1 -1
  102. package/dist/ecoimpacthub/pages/species/SpeciesPage.js +20 -22
  103. package/dist/ecoimpacthub/pages/species/SpeciesPage.js.map +1 -1
  104. package/dist/ecoimpacthub/pages/suppliers/SuppliersPage.js +12 -13
  105. package/dist/ecoimpacthub/pages/suppliers/SuppliersPage.js.map +1 -1
  106. package/dist/ecoimpacthub/pages/telemetry/TelemetryPage.js +14 -15
  107. package/dist/ecoimpacthub/pages/telemetry/TelemetryPage.js.map +1 -1
  108. package/dist/ecoimpacthub/types/index.d.ts +30 -0
  109. package/dist/ecoimpacthub/utils/cn.js +2 -2
  110. package/dist/generated/wspace-types.d.ts +132863 -10029
  111. package/dist/index.js +0 -1
  112. package/package.json +4 -1
  113. package/dist/_virtual/_rolldown/runtime.js +0 -19
  114. package/dist/ecoimpacthub/components/ai/index.js +0 -5
  115. package/dist/ecoimpacthub/context/index.js +0 -1
  116. package/dist/ecoimpacthub/hooks/index.js +0 -12
  117. package/dist/ecoimpacthub/index.js +0 -12
  118. package/dist/ecoimpacthub/services/index.js +0 -1
  119. package/dist/node_modules/clsx/dist/clsx.js +0 -19
  120. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  121. package/dist/node_modules/d3-array/dist/d3-array.js +0 -204
  122. package/dist/node_modules/d3-array/dist/d3-array.js.map +0 -1
  123. package/dist/node_modules/d3-color/dist/d3-color.js +0 -388
  124. package/dist/node_modules/d3-color/dist/d3-color.js.map +0 -1
  125. package/dist/node_modules/d3-format/dist/d3-format.js +0 -186
  126. package/dist/node_modules/d3-format/dist/d3-format.js.map +0 -1
  127. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +0 -185
  128. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js.map +0 -1
  129. package/dist/node_modules/d3-path/dist/d3-path.js +0 -90
  130. package/dist/node_modules/d3-path/dist/d3-path.js.map +0 -1
  131. package/dist/node_modules/d3-scale/dist/d3-scale.js +0 -622
  132. package/dist/node_modules/d3-scale/dist/d3-scale.js.map +0 -1
  133. package/dist/node_modules/d3-shape/dist/d3-shape.js +0 -901
  134. package/dist/node_modules/d3-shape/dist/d3-shape.js.map +0 -1
  135. package/dist/node_modules/d3-time/dist/d3-time.js +0 -241
  136. package/dist/node_modules/d3-time/dist/d3-time.js.map +0 -1
  137. package/dist/node_modules/d3-time-format/dist/d3-time-format.js +0 -545
  138. package/dist/node_modules/d3-time-format/dist/d3-time-format.js.map +0 -1
  139. package/dist/node_modules/decimal.js-light/decimal.js +0 -381
  140. package/dist/node_modules/decimal.js-light/decimal.js.map +0 -1
  141. package/dist/node_modules/eventemitter3/index.js +0 -94
  142. package/dist/node_modules/eventemitter3/index.js.map +0 -1
  143. package/dist/node_modules/fast-equals/dist/es/index.js +0 -297
  144. package/dist/node_modules/fast-equals/dist/es/index.js.map +0 -1
  145. package/dist/node_modules/lodash/_DataView.js +0 -11
  146. package/dist/node_modules/lodash/_DataView.js.map +0 -1
  147. package/dist/node_modules/lodash/_Hash.js +0 -22
  148. package/dist/node_modules/lodash/_Hash.js.map +0 -1
  149. package/dist/node_modules/lodash/_ListCache.js +0 -22
  150. package/dist/node_modules/lodash/_ListCache.js.map +0 -1
  151. package/dist/node_modules/lodash/_Map.js +0 -11
  152. package/dist/node_modules/lodash/_Map.js.map +0 -1
  153. package/dist/node_modules/lodash/_MapCache.js +0 -22
  154. package/dist/node_modules/lodash/_MapCache.js.map +0 -1
  155. package/dist/node_modules/lodash/_Promise.js +0 -11
  156. package/dist/node_modules/lodash/_Promise.js.map +0 -1
  157. package/dist/node_modules/lodash/_Set.js +0 -11
  158. package/dist/node_modules/lodash/_Set.js.map +0 -1
  159. package/dist/node_modules/lodash/_SetCache.js +0 -17
  160. package/dist/node_modules/lodash/_SetCache.js.map +0 -1
  161. package/dist/node_modules/lodash/_Stack.js +0 -20
  162. package/dist/node_modules/lodash/_Stack.js.map +0 -1
  163. package/dist/node_modules/lodash/_Symbol.js +0 -10
  164. package/dist/node_modules/lodash/_Symbol.js.map +0 -1
  165. package/dist/node_modules/lodash/_Uint8Array.js +0 -10
  166. package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
  167. package/dist/node_modules/lodash/_WeakMap.js +0 -11
  168. package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
  169. package/dist/node_modules/lodash/_apply.js +0 -18
  170. package/dist/node_modules/lodash/_apply.js.map +0 -1
  171. package/dist/node_modules/lodash/_arrayEvery.js +0 -13
  172. package/dist/node_modules/lodash/_arrayEvery.js.map +0 -1
  173. package/dist/node_modules/lodash/_arrayFilter.js +0 -16
  174. package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
  175. package/dist/node_modules/lodash/_arrayIncludes.js +0 -14
  176. package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
  177. package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -13
  178. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
  179. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -21
  180. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
  181. package/dist/node_modules/lodash/_arrayMap.js +0 -13
  182. package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
  183. package/dist/node_modules/lodash/_arrayPush.js +0 -13
  184. package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
  185. package/dist/node_modules/lodash/_arraySome.js +0 -13
  186. package/dist/node_modules/lodash/_arraySome.js.map +0 -1
  187. package/dist/node_modules/lodash/_asciiToArray.js +0 -12
  188. package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
  189. package/dist/node_modules/lodash/_assocIndexOf.js +0 -15
  190. package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
  191. package/dist/node_modules/lodash/_baseAssignValue.js +0 -19
  192. package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
  193. package/dist/node_modules/lodash/_baseEach.js +0 -12
  194. package/dist/node_modules/lodash/_baseEach.js.map +0 -1
  195. package/dist/node_modules/lodash/_baseEvery.js +0 -17
  196. package/dist/node_modules/lodash/_baseEvery.js.map +0 -1
  197. package/dist/node_modules/lodash/_baseExtremum.js +0 -18
  198. package/dist/node_modules/lodash/_baseExtremum.js.map +0 -1
  199. package/dist/node_modules/lodash/_baseFindIndex.js +0 -13
  200. package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
  201. package/dist/node_modules/lodash/_baseFlatten.js +0 -20
  202. package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
  203. package/dist/node_modules/lodash/_baseFor.js +0 -10
  204. package/dist/node_modules/lodash/_baseFor.js.map +0 -1
  205. package/dist/node_modules/lodash/_baseForOwn.js +0 -15
  206. package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
  207. package/dist/node_modules/lodash/_baseGet.js +0 -17
  208. package/dist/node_modules/lodash/_baseGet.js.map +0 -1
  209. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -16
  210. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
  211. package/dist/node_modules/lodash/_baseGetTag.js +0 -16
  212. package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
  213. package/dist/node_modules/lodash/_baseGt.js +0 -12
  214. package/dist/node_modules/lodash/_baseGt.js.map +0 -1
  215. package/dist/node_modules/lodash/_baseHasIn.js +0 -12
  216. package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
  217. package/dist/node_modules/lodash/_baseIndexOf.js +0 -16
  218. package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
  219. package/dist/node_modules/lodash/_baseIsArguments.js +0 -15
  220. package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
  221. package/dist/node_modules/lodash/_baseIsEqual.js +0 -15
  222. package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
  223. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -36
  224. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
  225. package/dist/node_modules/lodash/_baseIsMatch.js +0 -32
  226. package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
  227. package/dist/node_modules/lodash/_baseIsNaN.js +0 -12
  228. package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
  229. package/dist/node_modules/lodash/_baseIsNative.js +0 -17
  230. package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
  231. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -17
  232. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
  233. package/dist/node_modules/lodash/_baseIteratee.js +0 -18
  234. package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
  235. package/dist/node_modules/lodash/_baseKeys.js +0 -18
  236. package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
  237. package/dist/node_modules/lodash/_baseLt.js +0 -12
  238. package/dist/node_modules/lodash/_baseLt.js.map +0 -1
  239. package/dist/node_modules/lodash/_baseMap.js +0 -18
  240. package/dist/node_modules/lodash/_baseMap.js.map +0 -1
  241. package/dist/node_modules/lodash/_baseMatches.js +0 -19
  242. package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
  243. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -23
  244. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
  245. package/dist/node_modules/lodash/_baseOrderBy.js +0 -38
  246. package/dist/node_modules/lodash/_baseOrderBy.js.map +0 -1
  247. package/dist/node_modules/lodash/_baseProperty.js +0 -14
  248. package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
  249. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -16
  250. package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
  251. package/dist/node_modules/lodash/_baseRange.js +0 -14
  252. package/dist/node_modules/lodash/_baseRange.js.map +0 -1
  253. package/dist/node_modules/lodash/_baseRest.js +0 -16
  254. package/dist/node_modules/lodash/_baseRest.js.map +0 -1
  255. package/dist/node_modules/lodash/_baseSetToString.js +0 -20
  256. package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
  257. package/dist/node_modules/lodash/_baseSlice.js +0 -15
  258. package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
  259. package/dist/node_modules/lodash/_baseSome.js +0 -17
  260. package/dist/node_modules/lodash/_baseSome.js.map +0 -1
  261. package/dist/node_modules/lodash/_baseSortBy.js +0 -14
  262. package/dist/node_modules/lodash/_baseSortBy.js.map +0 -1
  263. package/dist/node_modules/lodash/_baseTimes.js +0 -13
  264. package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
  265. package/dist/node_modules/lodash/_baseToString.js +0 -21
  266. package/dist/node_modules/lodash/_baseToString.js.map +0 -1
  267. package/dist/node_modules/lodash/_baseTrim.js +0 -14
  268. package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
  269. package/dist/node_modules/lodash/_baseUnary.js +0 -14
  270. package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
  271. package/dist/node_modules/lodash/_baseUniq.js +0 -33
  272. package/dist/node_modules/lodash/_baseUniq.js.map +0 -1
  273. package/dist/node_modules/lodash/_cacheHas.js +0 -12
  274. package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
  275. package/dist/node_modules/lodash/_castPath.js +0 -17
  276. package/dist/node_modules/lodash/_castPath.js.map +0 -1
  277. package/dist/node_modules/lodash/_castSlice.js +0 -15
  278. package/dist/node_modules/lodash/_castSlice.js.map +0 -1
  279. package/dist/node_modules/lodash/_compareAscending.js +0 -19
  280. package/dist/node_modules/lodash/_compareAscending.js.map +0 -1
  281. package/dist/node_modules/lodash/_compareMultiple.js +0 -18
  282. package/dist/node_modules/lodash/_compareMultiple.js.map +0 -1
  283. package/dist/node_modules/lodash/_coreJsData.js +0 -10
  284. package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
  285. package/dist/node_modules/lodash/_createBaseEach.js +0 -19
  286. package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
  287. package/dist/node_modules/lodash/_createBaseFor.js +0 -18
  288. package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
  289. package/dist/node_modules/lodash/_createCaseFirst.js +0 -21
  290. package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
  291. package/dist/node_modules/lodash/_createFind.js +0 -26
  292. package/dist/node_modules/lodash/_createFind.js.map +0 -1
  293. package/dist/node_modules/lodash/_createRange.js +0 -18
  294. package/dist/node_modules/lodash/_createRange.js.map +0 -1
  295. package/dist/node_modules/lodash/_createSet.js +0 -15
  296. package/dist/node_modules/lodash/_createSet.js.map +0 -1
  297. package/dist/node_modules/lodash/_defineProperty.js +0 -16
  298. package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
  299. package/dist/node_modules/lodash/_equalArrays.js +0 -41
  300. package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
  301. package/dist/node_modules/lodash/_equalByTag.js +0 -41
  302. package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
  303. package/dist/node_modules/lodash/_equalObjects.js +0 -38
  304. package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
  305. package/dist/node_modules/lodash/_freeGlobal.js +0 -9
  306. package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
  307. package/dist/node_modules/lodash/_getAllKeys.js +0 -16
  308. package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
  309. package/dist/node_modules/lodash/_getMapData.js +0 -15
  310. package/dist/node_modules/lodash/_getMapData.js.map +0 -1
  311. package/dist/node_modules/lodash/_getMatchData.js +0 -23
  312. package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
  313. package/dist/node_modules/lodash/_getNative.js +0 -16
  314. package/dist/node_modules/lodash/_getNative.js.map +0 -1
  315. package/dist/node_modules/lodash/_getPrototype.js +0 -10
  316. package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
  317. package/dist/node_modules/lodash/_getRawTag.js +0 -20
  318. package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
  319. package/dist/node_modules/lodash/_getSymbols.js +0 -16
  320. package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
  321. package/dist/node_modules/lodash/_getTag.js +0 -27
  322. package/dist/node_modules/lodash/_getTag.js.map +0 -1
  323. package/dist/node_modules/lodash/_getValue.js +0 -12
  324. package/dist/node_modules/lodash/_getValue.js.map +0 -1
  325. package/dist/node_modules/lodash/_hasPath.js +0 -25
  326. package/dist/node_modules/lodash/_hasPath.js.map +0 -1
  327. package/dist/node_modules/lodash/_hasUnicode.js +0 -13
  328. package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
  329. package/dist/node_modules/lodash/_hashClear.js +0 -14
  330. package/dist/node_modules/lodash/_hashClear.js.map +0 -1
  331. package/dist/node_modules/lodash/_hashDelete.js +0 -13
  332. package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
  333. package/dist/node_modules/lodash/_hashGet.js +0 -19
  334. package/dist/node_modules/lodash/_hashGet.js.map +0 -1
  335. package/dist/node_modules/lodash/_hashHas.js +0 -15
  336. package/dist/node_modules/lodash/_hashHas.js.map +0 -1
  337. package/dist/node_modules/lodash/_hashSet.js +0 -15
  338. package/dist/node_modules/lodash/_hashSet.js.map +0 -1
  339. package/dist/node_modules/lodash/_isFlattenable.js +0 -16
  340. package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
  341. package/dist/node_modules/lodash/_isIndex.js +0 -14
  342. package/dist/node_modules/lodash/_isIndex.js.map +0 -1
  343. package/dist/node_modules/lodash/_isIterateeCall.js +0 -19
  344. package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
  345. package/dist/node_modules/lodash/_isKey.js +0 -17
  346. package/dist/node_modules/lodash/_isKey.js.map +0 -1
  347. package/dist/node_modules/lodash/_isKeyable.js +0 -13
  348. package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
  349. package/dist/node_modules/lodash/_isMasked.js +0 -17
  350. package/dist/node_modules/lodash/_isMasked.js.map +0 -1
  351. package/dist/node_modules/lodash/_isPrototype.js +0 -14
  352. package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
  353. package/dist/node_modules/lodash/_isStrictComparable.js +0 -14
  354. package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
  355. package/dist/node_modules/lodash/_listCacheClear.js +0 -12
  356. package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
  357. package/dist/node_modules/lodash/_listCacheDelete.js +0 -15
  358. package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
  359. package/dist/node_modules/lodash/_listCacheGet.js +0 -15
  360. package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
  361. package/dist/node_modules/lodash/_listCacheHas.js +0 -14
  362. package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
  363. package/dist/node_modules/lodash/_listCacheSet.js +0 -15
  364. package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
  365. package/dist/node_modules/lodash/_mapCacheClear.js +0 -20
  366. package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
  367. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -15
  368. package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
  369. package/dist/node_modules/lodash/_mapCacheGet.js +0 -14
  370. package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
  371. package/dist/node_modules/lodash/_mapCacheHas.js +0 -14
  372. package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
  373. package/dist/node_modules/lodash/_mapCacheSet.js +0 -15
  374. package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
  375. package/dist/node_modules/lodash/_mapToArray.js +0 -15
  376. package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
  377. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -14
  378. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
  379. package/dist/node_modules/lodash/_memoizeCapped.js +0 -17
  380. package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
  381. package/dist/node_modules/lodash/_nativeCreate.js +0 -10
  382. package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
  383. package/dist/node_modules/lodash/_nativeKeys.js +0 -10
  384. package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
  385. package/dist/node_modules/lodash/_nodeUtil.js +0 -15
  386. package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
  387. package/dist/node_modules/lodash/_objectToString.js +0 -13
  388. package/dist/node_modules/lodash/_objectToString.js.map +0 -1
  389. package/dist/node_modules/lodash/_overArg.js +0 -14
  390. package/dist/node_modules/lodash/_overArg.js.map +0 -1
  391. package/dist/node_modules/lodash/_overRest.js +0 -19
  392. package/dist/node_modules/lodash/_overRest.js.map +0 -1
  393. package/dist/node_modules/lodash/_root.js +0 -11
  394. package/dist/node_modules/lodash/_root.js.map +0 -1
  395. package/dist/node_modules/lodash/_setCacheAdd.js +0 -12
  396. package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
  397. package/dist/node_modules/lodash/_setCacheHas.js +0 -12
  398. package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
  399. package/dist/node_modules/lodash/_setToArray.js +0 -15
  400. package/dist/node_modules/lodash/_setToArray.js.map +0 -1
  401. package/dist/node_modules/lodash/_setToString.js +0 -12
  402. package/dist/node_modules/lodash/_setToString.js.map +0 -1
  403. package/dist/node_modules/lodash/_shortOut.js +0 -20
  404. package/dist/node_modules/lodash/_shortOut.js.map +0 -1
  405. package/dist/node_modules/lodash/_stackClear.js +0 -14
  406. package/dist/node_modules/lodash/_stackClear.js.map +0 -1
  407. package/dist/node_modules/lodash/_stackDelete.js +0 -13
  408. package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
  409. package/dist/node_modules/lodash/_stackGet.js +0 -12
  410. package/dist/node_modules/lodash/_stackGet.js.map +0 -1
  411. package/dist/node_modules/lodash/_stackHas.js +0 -12
  412. package/dist/node_modules/lodash/_stackHas.js.map +0 -1
  413. package/dist/node_modules/lodash/_stackSet.js +0 -22
  414. package/dist/node_modules/lodash/_stackSet.js.map +0 -1
  415. package/dist/node_modules/lodash/_strictIndexOf.js +0 -13
  416. package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
  417. package/dist/node_modules/lodash/_stringToArray.js +0 -16
  418. package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
  419. package/dist/node_modules/lodash/_stringToPath.js +0 -16
  420. package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
  421. package/dist/node_modules/lodash/_toKey.js +0 -16
  422. package/dist/node_modules/lodash/_toKey.js.map +0 -1
  423. package/dist/node_modules/lodash/_toSource.js +0 -21
  424. package/dist/node_modules/lodash/_toSource.js.map +0 -1
  425. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -14
  426. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
  427. package/dist/node_modules/lodash/_unicodeToArray.js +0 -23
  428. package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
  429. package/dist/node_modules/lodash/constant.js +0 -14
  430. package/dist/node_modules/lodash/constant.js.map +0 -1
  431. package/dist/node_modules/lodash/debounce.js +0 -56
  432. package/dist/node_modules/lodash/debounce.js.map +0 -1
  433. package/dist/node_modules/lodash/eq.js +0 -12
  434. package/dist/node_modules/lodash/eq.js.map +0 -1
  435. package/dist/node_modules/lodash/every.js +0 -19
  436. package/dist/node_modules/lodash/every.js.map +0 -1
  437. package/dist/node_modules/lodash/find.js +0 -11
  438. package/dist/node_modules/lodash/find.js.map +0 -1
  439. package/dist/node_modules/lodash/findIndex.js +0 -19
  440. package/dist/node_modules/lodash/findIndex.js.map +0 -1
  441. package/dist/node_modules/lodash/flatMap.js +0 -15
  442. package/dist/node_modules/lodash/flatMap.js.map +0 -1
  443. package/dist/node_modules/lodash/get.js +0 -15
  444. package/dist/node_modules/lodash/get.js.map +0 -1
  445. package/dist/node_modules/lodash/hasIn.js +0 -15
  446. package/dist/node_modules/lodash/hasIn.js.map +0 -1
  447. package/dist/node_modules/lodash/identity.js +0 -12
  448. package/dist/node_modules/lodash/identity.js.map +0 -1
  449. package/dist/node_modules/lodash/isArguments.js +0 -16
  450. package/dist/node_modules/lodash/isArguments.js.map +0 -1
  451. package/dist/node_modules/lodash/isArray.js +0 -9
  452. package/dist/node_modules/lodash/isArray.js.map +0 -1
  453. package/dist/node_modules/lodash/isArrayLike.js +0 -15
  454. package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
  455. package/dist/node_modules/lodash/isBoolean.js +0 -15
  456. package/dist/node_modules/lodash/isBoolean.js.map +0 -1
  457. package/dist/node_modules/lodash/isBuffer.js +0 -12
  458. package/dist/node_modules/lodash/isBuffer.js.map +0 -1
  459. package/dist/node_modules/lodash/isEqual.js +0 -14
  460. package/dist/node_modules/lodash/isEqual.js.map +0 -1
  461. package/dist/node_modules/lodash/isFunction.js +0 -17
  462. package/dist/node_modules/lodash/isFunction.js.map +0 -1
  463. package/dist/node_modules/lodash/isLength.js +0 -12
  464. package/dist/node_modules/lodash/isLength.js.map +0 -1
  465. package/dist/node_modules/lodash/isNaN.js +0 -14
  466. package/dist/node_modules/lodash/isNaN.js.map +0 -1
  467. package/dist/node_modules/lodash/isNil.js +0 -12
  468. package/dist/node_modules/lodash/isNil.js.map +0 -1
  469. package/dist/node_modules/lodash/isNumber.js +0 -15
  470. package/dist/node_modules/lodash/isNumber.js.map +0 -1
  471. package/dist/node_modules/lodash/isObject.js +0 -13
  472. package/dist/node_modules/lodash/isObject.js.map +0 -1
  473. package/dist/node_modules/lodash/isObjectLike.js +0 -12
  474. package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
  475. package/dist/node_modules/lodash/isPlainObject.js +0 -20
  476. package/dist/node_modules/lodash/isPlainObject.js.map +0 -1
  477. package/dist/node_modules/lodash/isString.js +0 -16
  478. package/dist/node_modules/lodash/isString.js.map +0 -1
  479. package/dist/node_modules/lodash/isSymbol.js +0 -15
  480. package/dist/node_modules/lodash/isSymbol.js.map +0 -1
  481. package/dist/node_modules/lodash/isTypedArray.js +0 -13
  482. package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
  483. package/dist/node_modules/lodash/keys.js +0 -16
  484. package/dist/node_modules/lodash/keys.js.map +0 -1
  485. package/dist/node_modules/lodash/last.js +0 -13
  486. package/dist/node_modules/lodash/last.js.map +0 -1
  487. package/dist/node_modules/lodash/map.js +0 -17
  488. package/dist/node_modules/lodash/map.js.map +0 -1
  489. package/dist/node_modules/lodash/mapValues.js +0 -19
  490. package/dist/node_modules/lodash/mapValues.js.map +0 -1
  491. package/dist/node_modules/lodash/max.js +0 -16
  492. package/dist/node_modules/lodash/max.js.map +0 -1
  493. package/dist/node_modules/lodash/memoize.js +0 -21
  494. package/dist/node_modules/lodash/memoize.js.map +0 -1
  495. package/dist/node_modules/lodash/min.js +0 -16
  496. package/dist/node_modules/lodash/min.js.map +0 -1
  497. package/dist/node_modules/lodash/noop.js +0 -10
  498. package/dist/node_modules/lodash/noop.js.map +0 -1
  499. package/dist/node_modules/lodash/now.js +0 -13
  500. package/dist/node_modules/lodash/now.js.map +0 -1
  501. package/dist/node_modules/lodash/property.js +0 -17
  502. package/dist/node_modules/lodash/property.js.map +0 -1
  503. package/dist/node_modules/lodash/range.js +0 -10
  504. package/dist/node_modules/lodash/range.js.map +0 -1
  505. package/dist/node_modules/lodash/some.js +0 -19
  506. package/dist/node_modules/lodash/some.js.map +0 -1
  507. package/dist/node_modules/lodash/sortBy.js +0 -18
  508. package/dist/node_modules/lodash/sortBy.js.map +0 -1
  509. package/dist/node_modules/lodash/stubArray.js +0 -12
  510. package/dist/node_modules/lodash/stubArray.js.map +0 -1
  511. package/dist/node_modules/lodash/stubFalse.js +0 -12
  512. package/dist/node_modules/lodash/stubFalse.js.map +0 -1
  513. package/dist/node_modules/lodash/throttle.js +0 -21
  514. package/dist/node_modules/lodash/throttle.js.map +0 -1
  515. package/dist/node_modules/lodash/toFinite.js +0 -14
  516. package/dist/node_modules/lodash/toFinite.js.map +0 -1
  517. package/dist/node_modules/lodash/toInteger.js +0 -15
  518. package/dist/node_modules/lodash/toInteger.js.map +0 -1
  519. package/dist/node_modules/lodash/toNumber.js +0 -25
  520. package/dist/node_modules/lodash/toNumber.js.map +0 -1
  521. package/dist/node_modules/lodash/toString.js +0 -14
  522. package/dist/node_modules/lodash/toString.js.map +0 -1
  523. package/dist/node_modules/lodash/uniqBy.js +0 -15
  524. package/dist/node_modules/lodash/uniqBy.js.map +0 -1
  525. package/dist/node_modules/lodash/upperFirst.js +0 -10
  526. package/dist/node_modules/lodash/upperFirst.js.map +0 -1
  527. package/dist/node_modules/object-assign/index.js +0 -40
  528. package/dist/node_modules/object-assign/index.js.map +0 -1
  529. package/dist/node_modules/prop-types/checkPropTypes.js +0 -45
  530. package/dist/node_modules/prop-types/checkPropTypes.js.map +0 -1
  531. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -48
  532. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  533. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -272
  534. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  535. package/dist/node_modules/prop-types/index.js +0 -15
  536. package/dist/node_modules/prop-types/index.js.map +0 -1
  537. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -9
  538. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  539. package/dist/node_modules/prop-types/lib/has.js +0 -9
  540. package/dist/node_modules/prop-types/lib/has.js.map +0 -1
  541. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -83
  542. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  543. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -63
  544. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  545. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -11
  546. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  547. package/dist/node_modules/react-is/cjs/react-is.development.js +0 -86
  548. package/dist/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  549. package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -64
  550. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  551. package/dist/node_modules/react-is/index.js +0 -11
  552. package/dist/node_modules/react-is/index.js.map +0 -1
  553. package/dist/node_modules/react-smooth/es6/Animate.js +0 -366
  554. package/dist/node_modules/react-smooth/es6/Animate.js.map +0 -1
  555. package/dist/node_modules/react-smooth/es6/AnimateManager.js +0 -70
  556. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +0 -1
  557. package/dist/node_modules/react-smooth/es6/configUpdate.js +0 -172
  558. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +0 -1
  559. package/dist/node_modules/react-smooth/es6/easing.js +0 -151
  560. package/dist/node_modules/react-smooth/es6/easing.js.map +0 -1
  561. package/dist/node_modules/react-smooth/es6/index.js +0 -8
  562. package/dist/node_modules/react-smooth/es6/index.js.map +0 -1
  563. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +0 -13
  564. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +0 -1
  565. package/dist/node_modules/react-smooth/es6/util.js +0 -93
  566. package/dist/node_modules/react-smooth/es6/util.js.map +0 -1
  567. package/dist/node_modules/recharts/es6/cartesian/Area.js +0 -434
  568. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +0 -1
  569. package/dist/node_modules/recharts/es6/cartesian/Bar.js +0 -386
  570. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +0 -1
  571. package/dist/node_modules/recharts/es6/cartesian/Brush.js +0 -498
  572. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +0 -1
  573. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +0 -331
  574. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +0 -1
  575. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +0 -304
  576. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +0 -1
  577. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +0 -242
  578. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +0 -1
  579. package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -472
  580. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
  581. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +0 -172
  582. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +0 -1
  583. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +0 -177
  584. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +0 -1
  585. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +0 -253
  586. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +0 -1
  587. package/dist/node_modules/recharts/es6/cartesian/Scatter.js +0 -367
  588. package/dist/node_modules/recharts/es6/cartesian/Scatter.js.map +0 -1
  589. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +0 -143
  590. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +0 -1
  591. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +0 -142
  592. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +0 -1
  593. package/dist/node_modules/recharts/es6/cartesian/ZAxis.js +0 -102
  594. package/dist/node_modules/recharts/es6/cartesian/ZAxis.js.map +0 -1
  595. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +0 -17
  596. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +0 -1
  597. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +0 -120
  598. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +0 -1
  599. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +0 -98
  600. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +0 -1
  601. package/dist/node_modules/recharts/es6/chart/BarChart.js +0 -23
  602. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +0 -1
  603. package/dist/node_modules/recharts/es6/chart/ComposedChart.js +0 -37
  604. package/dist/node_modules/recharts/es6/chart/ComposedChart.js.map +0 -1
  605. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +0 -1246
  606. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +0 -1
  607. package/dist/node_modules/recharts/es6/component/Cell.js +0 -8
  608. package/dist/node_modules/recharts/es6/component/Cell.js.map +0 -1
  609. package/dist/node_modules/recharts/es6/component/Cursor.js +0 -92
  610. package/dist/node_modules/recharts/es6/component/Cursor.js.map +0 -1
  611. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +0 -236
  612. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +0 -1
  613. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +0 -170
  614. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +0 -1
  615. package/dist/node_modules/recharts/es6/component/Label.js +0 -352
  616. package/dist/node_modules/recharts/es6/component/Label.js.map +0 -1
  617. package/dist/node_modules/recharts/es6/component/LabelList.js +0 -165
  618. package/dist/node_modules/recharts/es6/component/LabelList.js.map +0 -1
  619. package/dist/node_modules/recharts/es6/component/Legend.js +0 -237
  620. package/dist/node_modules/recharts/es6/component/Legend.js.map +0 -1
  621. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +0 -186
  622. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +0 -1
  623. package/dist/node_modules/recharts/es6/component/Text.js +0 -222
  624. package/dist/node_modules/recharts/es6/component/Text.js.map +0 -1
  625. package/dist/node_modules/recharts/es6/component/Tooltip.js +0 -181
  626. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +0 -1
  627. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +0 -197
  628. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +0 -1
  629. package/dist/node_modules/recharts/es6/container/Layer.js +0 -39
  630. package/dist/node_modules/recharts/es6/container/Layer.js.map +0 -1
  631. package/dist/node_modules/recharts/es6/container/Surface.js +0 -59
  632. package/dist/node_modules/recharts/es6/container/Surface.js.map +0 -1
  633. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +0 -57
  634. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +0 -1
  635. package/dist/node_modules/recharts/es6/shape/Cross.js +0 -111
  636. package/dist/node_modules/recharts/es6/shape/Cross.js.map +0 -1
  637. package/dist/node_modules/recharts/es6/shape/Curve.js +0 -125
  638. package/dist/node_modules/recharts/es6/shape/Curve.js.map +0 -1
  639. package/dist/node_modules/recharts/es6/shape/Dot.js +0 -26
  640. package/dist/node_modules/recharts/es6/shape/Dot.js.map +0 -1
  641. package/dist/node_modules/recharts/es6/shape/Rectangle.js +0 -204
  642. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +0 -1
  643. package/dist/node_modules/recharts/es6/shape/Sector.js +0 -191
  644. package/dist/node_modules/recharts/es6/shape/Sector.js.map +0 -1
  645. package/dist/node_modules/recharts/es6/shape/Symbols.js +0 -135
  646. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +0 -1
  647. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +0 -174
  648. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +0 -1
  649. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +0 -180
  650. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +0 -1
  651. package/dist/node_modules/recharts/es6/util/BarUtils.js +0 -111
  652. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +0 -1
  653. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +0 -233
  654. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +0 -1
  655. package/dist/node_modules/recharts/es6/util/ChartUtils.js +0 -557
  656. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +0 -1
  657. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +0 -69
  658. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +0 -1
  659. package/dist/node_modules/recharts/es6/util/DOMUtils.js +0 -107
  660. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +0 -1
  661. package/dist/node_modules/recharts/es6/util/DataUtils.js +0 -66
  662. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +0 -1
  663. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +0 -57
  664. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +0 -1
  665. package/dist/node_modules/recharts/es6/util/Events.js +0 -6
  666. package/dist/node_modules/recharts/es6/util/Events.js.map +0 -1
  667. package/dist/node_modules/recharts/es6/util/Global.js +0 -20
  668. package/dist/node_modules/recharts/es6/util/Global.js.map +0 -1
  669. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +0 -8
  670. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +0 -1
  671. package/dist/node_modules/recharts/es6/util/LogUtils.js +0 -16
  672. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +0 -1
  673. package/dist/node_modules/recharts/es6/util/PolarUtils.js +0 -115
  674. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +0 -1
  675. package/dist/node_modules/recharts/es6/util/ReactUtils.js +0 -136
  676. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +0 -1
  677. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +0 -180
  678. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +0 -1
  679. package/dist/node_modules/recharts/es6/util/ScatterUtils.js +0 -47
  680. package/dist/node_modules/recharts/es6/util/ScatterUtils.js.map +0 -1
  681. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +0 -9
  682. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +0 -1
  683. package/dist/node_modules/recharts/es6/util/TickUtils.js +0 -31
  684. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +0 -1
  685. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -24
  686. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +0 -1
  687. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +0 -24
  688. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +0 -1
  689. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +0 -15
  690. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +0 -1
  691. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +0 -16
  692. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +0 -1
  693. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +0 -11
  694. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +0 -1
  695. package/dist/node_modules/recharts/es6/util/getLegendProps.js +0 -87
  696. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +0 -1
  697. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +0 -12
  698. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +0 -1
  699. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +0 -11
  700. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +0 -1
  701. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +0 -86
  702. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +0 -1
  703. package/dist/node_modules/recharts/es6/util/types.js +0 -42
  704. package/dist/node_modules/recharts/es6/util/types.js.map +0 -1
  705. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +0 -131
  706. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +0 -1
  707. package/dist/node_modules/recharts-scale/es6/index.js +0 -1
  708. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +0 -31
  709. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +0 -1
  710. package/dist/node_modules/recharts-scale/es6/util/utils.js +0 -78
  711. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +0 -1
  712. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1778
  713. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
  714. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -12
  715. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +0 -1
  716. package/dist/node_modules/victory-vendor/es/d3-scale.js +0 -36
  717. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +0 -1
@@ -1,222 +0,0 @@
1
- import { __toESM as e } from "../../../../_virtual/_rolldown/runtime.js";
2
- import { require_isNil as t } from "../../../lodash/isNil.js";
3
- import { clsx as n } from "../../../clsx/dist/clsx.js";
4
- import { isNumOrStr as r, isNumber as i } from "../util/DataUtils.js";
5
- import { Global as a } from "../util/Global.js";
6
- import { filterProps as o } from "../util/ReactUtils.js";
7
- import { getStringSize as s } from "../util/DOMUtils.js";
8
- import { reduceCSSCalc as c } from "../util/ReduceCSSCalc.js";
9
- import l, { useMemo as u } from "react";
10
- // node_modules/recharts/es6/component/Text.js
11
- var d = /* @__PURE__ */ e(t()), f = [
12
- "x",
13
- "y",
14
- "lineHeight",
15
- "capHeight",
16
- "scaleToFit",
17
- "textAnchor",
18
- "verticalAnchor",
19
- "fill"
20
- ], p = [
21
- "dx",
22
- "dy",
23
- "angle",
24
- "className",
25
- "breakAll"
26
- ];
27
- function m() {
28
- return m = Object.assign ? Object.assign.bind() : function(e) {
29
- for (var t = 1; t < arguments.length; t++) {
30
- var n = arguments[t];
31
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
32
- }
33
- return e;
34
- }, m.apply(this, arguments);
35
- }
36
- function h(e, t) {
37
- if (e == null) return {};
38
- var n = g(e, t), r, i;
39
- if (Object.getOwnPropertySymbols) {
40
- var a = Object.getOwnPropertySymbols(e);
41
- for (i = 0; i < a.length; i++) r = a[i], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
42
- }
43
- return n;
44
- }
45
- function g(e, t) {
46
- if (e == null) return {};
47
- var n = {};
48
- for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) {
49
- if (t.indexOf(r) >= 0) continue;
50
- n[r] = e[r];
51
- }
52
- return n;
53
- }
54
- function _(e, t) {
55
- return S(e) || x(e, t) || y(e, t) || v();
56
- }
57
- function v() {
58
- throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
59
- }
60
- function y(e, t) {
61
- if (e) {
62
- if (typeof e == "string") return b(e, t);
63
- var n = Object.prototype.toString.call(e).slice(8, -1);
64
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
65
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return b(e, t);
66
- }
67
- }
68
- function b(e, t) {
69
- (t == null || t > e.length) && (t = e.length);
70
- for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
71
- return r;
72
- }
73
- function x(e, t) {
74
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
75
- if (n != null) {
76
- var r, i, a, o, s = [], c = !0, l = !1;
77
- try {
78
- if (a = (n = n.call(e)).next, t === 0) {
79
- if (Object(n) !== n) return;
80
- c = !1;
81
- } else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
82
- } catch (e) {
83
- l = !0, i = e;
84
- } finally {
85
- try {
86
- if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
87
- } finally {
88
- if (l) throw i;
89
- }
90
- }
91
- return s;
92
- }
93
- }
94
- function S(e) {
95
- if (Array.isArray(e)) return e;
96
- }
97
- var C = /[ \f\n\r\t\v\u2028\u2029]+/, w = function(e) {
98
- var t = e.children, n = e.breakAll, r = e.style;
99
- try {
100
- var i = [];
101
- return (0, d.default)(t) || (i = n ? t.toString().split("") : t.toString().split(C)), {
102
- wordsWithComputedWidth: i.map(function(e) {
103
- return {
104
- word: e,
105
- width: s(e, r).width
106
- };
107
- }),
108
- spaceWidth: n ? 0 : s("\xA0", r).width
109
- };
110
- } catch {
111
- return null;
112
- }
113
- }, T = function(e, t, n, r, a) {
114
- var o = e.maxLines, s = e.children, c = e.style, l = e.breakAll, u = i(o), d = s, f = function() {
115
- return (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []).reduce(function(e, t) {
116
- var i = t.word, o = t.width, s = e[e.length - 1];
117
- if (s && (r == null || a || s.width + o + n < Number(r))) s.words.push(i), s.width += o + n;
118
- else {
119
- var c = {
120
- words: [i],
121
- width: o
122
- };
123
- e.push(c);
124
- }
125
- return e;
126
- }, []);
127
- }, p = f(t), m = function(e) {
128
- return e.reduce(function(e, t) {
129
- return e.width > t.width ? e : t;
130
- });
131
- };
132
- if (!u) return p;
133
- for (var h = "…", g = function(e) {
134
- var t = w({
135
- breakAll: l,
136
- style: c,
137
- children: d.slice(0, e) + h
138
- }).wordsWithComputedWidth, n = f(t);
139
- return [n.length > o || m(n).width > Number(r), n];
140
- }, v = 0, y = d.length - 1, b = 0, x; v <= y && b <= d.length - 1;) {
141
- var S = Math.floor((v + y) / 2), C = _(g(S - 1), 2), T = C[0], E = C[1], D = _(g(S), 1)[0];
142
- if (!T && !D && (v = S + 1), T && D && (y = S - 1), !T && D) {
143
- x = E;
144
- break;
145
- }
146
- b++;
147
- }
148
- return x || p;
149
- }, E = function(e) {
150
- return [{ words: (0, d.default)(e) ? [] : e.toString().split(C) }];
151
- }, D = function(e) {
152
- var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, o = e.breakAll, s = e.maxLines;
153
- if ((t || n) && !a.isSsr) {
154
- var c, l, u = w({
155
- breakAll: o,
156
- children: r,
157
- style: i
158
- });
159
- if (u) {
160
- var d = u.wordsWithComputedWidth, f = u.spaceWidth;
161
- c = d, l = f;
162
- } else return E(r);
163
- return T({
164
- breakAll: o,
165
- children: r,
166
- maxLines: s,
167
- style: i
168
- }, c, l, t, n);
169
- }
170
- return E(r);
171
- }, O = "#808080", k = function(e) {
172
- var t = e.x, a = t === void 0 ? 0 : t, s = e.y, d = s === void 0 ? 0 : s, g = e.lineHeight, _ = g === void 0 ? "1em" : g, v = e.capHeight, y = v === void 0 ? "0.71em" : v, b = e.scaleToFit, x = b !== void 0 && b, S = e.textAnchor, C = S === void 0 ? "start" : S, w = e.verticalAnchor, T = w === void 0 ? "end" : w, E = e.fill, k = E === void 0 ? O : E, A = h(e, f), j = u(function() {
173
- return D({
174
- breakAll: A.breakAll,
175
- children: A.children,
176
- maxLines: A.maxLines,
177
- scaleToFit: x,
178
- style: A.style,
179
- width: A.width
180
- });
181
- }, [
182
- A.breakAll,
183
- A.children,
184
- A.maxLines,
185
- x,
186
- A.style,
187
- A.width
188
- ]), M = A.dx, N = A.dy, P = A.angle, F = A.className, I = A.breakAll, L = h(A, p);
189
- if (!r(a) || !r(d)) return null;
190
- var R = a + (i(M) ? M : 0), z = d + (i(N) ? N : 0), B;
191
- switch (T) {
192
- case "start":
193
- B = c(`calc(${y})`);
194
- break;
195
- case "middle":
196
- B = c(`calc(${(j.length - 1) / 2} * -${_} + (${y} / 2))`);
197
- break;
198
- default: B = c(`calc(${j.length - 1} * -${_})`);
199
- }
200
- var V = [];
201
- if (x) {
202
- var H = j[0].width, U = A.width;
203
- V.push(`scale(${(i(U) ? U / H : 1) / H})`);
204
- }
205
- return P && V.push(`rotate(${P}, ${R}, ${z})`), V.length && (L.transform = V.join(" ")), /*#__PURE__*/ l.createElement("text", m({}, o(L, !0), {
206
- x: R,
207
- y: z,
208
- className: n("recharts-text", F),
209
- textAnchor: C,
210
- fill: k.includes("url") ? O : k
211
- }), j.map(function(e, t) {
212
- var n = e.words.join(I ? "" : " ");
213
- return /*#__PURE__*/ l.createElement("tspan", {
214
- x: R,
215
- dy: t === 0 ? B : _,
216
- key: `${n}-${t}`
217
- }, n);
218
- }));
219
- };
220
- export { k as Text };
221
-
222
- //# sourceMappingURL=Text.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.js","names":["isNil","React","import_isNil","require_isNil","_excluded","_excluded2","_extends","i","source","key","target","_objectWithoutProperties","_objectWithoutPropertiesLoose","excluded","sourceSymbolKeys","_slicedToArray","_arrayWithHoles","arr","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","o","_arrayLikeToArray","minLen","len","arr2","t","r","e","n","u","a","f","l","\"return\"","BREAKING_SPACES","calculateWordWidths","children","_ref","breakAll","style","words","getStringSize","word","calculateWordsByLines","maxLines","_ref2","shouldLimitLines","isNumber","text","calculate","_ref3","width","currentLine","result","lineWidth","scaleToFit","spaceWidth","newLine","originalResult","initialWordsWithComputedWith","findLongestLine","b","suffix","checkOverflow","index","start","end","iterations","trimmedResult","middle","_checkOverflow2","doesPrevOverflow","doesMiddleOverflow","getWordsWithoutCalculate","getWordsByLines","_ref4","Global","wordsWithComputedWidth","wordWidths","wcw","sw","DEFAULT_FILL","Text","_ref5$x","_ref5","propsX","_ref5$y","propsY","_ref5$lineHeight","lineHeight","_ref5$capHeight","capHeight","_ref5$scaleToFit","_ref5$textAnchor","textAnchor","_ref5$verticalAnchor","verticalAnchor","_ref5$fill","fill","props","wordsByLines","useMemo","dx","dy","angle","className","textProps","isNumOrStr","x","y","startDy","reduceCSSCalc","transforms","filterProps","clsx","line"],"sources":["../../../../../node_modules/recharts/es6/component/Text.js"],"sourcesContent":["var _excluded = [\"x\", \"y\", \"lineHeight\", \"capHeight\", \"scaleToFit\", \"textAnchor\", \"verticalAnchor\", \"fill\"],\n _excluded2 = [\"dx\", \"dy\", \"angle\", \"className\", \"breakAll\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport React, { useMemo } from 'react';\nimport isNil from 'lodash/isNil';\nimport clsx from 'clsx';\nimport { isNumber, isNumOrStr } from '../util/DataUtils';\nimport { Global } from '../util/Global';\nimport { filterProps } from '../util/ReactUtils';\nimport { getStringSize } from '../util/DOMUtils';\nimport { reduceCSSCalc } from '../util/ReduceCSSCalc';\nvar BREAKING_SPACES = /[ \\f\\n\\r\\t\\v\\u2028\\u2029]+/;\nvar calculateWordWidths = function calculateWordWidths(_ref) {\n var children = _ref.children,\n breakAll = _ref.breakAll,\n style = _ref.style;\n try {\n var words = [];\n if (!isNil(children)) {\n if (breakAll) {\n words = children.toString().split('');\n } else {\n words = children.toString().split(BREAKING_SPACES);\n }\n }\n var wordsWithComputedWidth = words.map(function (word) {\n return {\n word: word,\n width: getStringSize(word, style).width\n };\n });\n var spaceWidth = breakAll ? 0 : getStringSize(\"\\xA0\", style).width;\n return {\n wordsWithComputedWidth: wordsWithComputedWidth,\n spaceWidth: spaceWidth\n };\n } catch (e) {\n return null;\n }\n};\nvar calculateWordsByLines = function calculateWordsByLines(_ref2, initialWordsWithComputedWith, spaceWidth, lineWidth, scaleToFit) {\n var maxLines = _ref2.maxLines,\n children = _ref2.children,\n style = _ref2.style,\n breakAll = _ref2.breakAll;\n var shouldLimitLines = isNumber(maxLines);\n var text = children;\n var calculate = function calculate() {\n var words = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n return words.reduce(function (result, _ref3) {\n var word = _ref3.word,\n width = _ref3.width;\n var currentLine = result[result.length - 1];\n if (currentLine && (lineWidth == null || scaleToFit || currentLine.width + width + spaceWidth < Number(lineWidth))) {\n // Word can be added to an existing line\n currentLine.words.push(word);\n currentLine.width += width + spaceWidth;\n } else {\n // Add first word to line or word is too long to scaleToFit on existing line\n var newLine = {\n words: [word],\n width: width\n };\n result.push(newLine);\n }\n return result;\n }, []);\n };\n var originalResult = calculate(initialWordsWithComputedWith);\n var findLongestLine = function findLongestLine(words) {\n return words.reduce(function (a, b) {\n return a.width > b.width ? a : b;\n });\n };\n if (!shouldLimitLines) {\n return originalResult;\n }\n var suffix = '…';\n var checkOverflow = function checkOverflow(index) {\n var tempText = text.slice(0, index);\n var words = calculateWordWidths({\n breakAll: breakAll,\n style: style,\n children: tempText + suffix\n }).wordsWithComputedWidth;\n var result = calculate(words);\n var doesOverflow = result.length > maxLines || findLongestLine(result).width > Number(lineWidth);\n return [doesOverflow, result];\n };\n var start = 0;\n var end = text.length - 1;\n var iterations = 0;\n var trimmedResult;\n while (start <= end && iterations <= text.length - 1) {\n var middle = Math.floor((start + end) / 2);\n var prev = middle - 1;\n var _checkOverflow = checkOverflow(prev),\n _checkOverflow2 = _slicedToArray(_checkOverflow, 2),\n doesPrevOverflow = _checkOverflow2[0],\n result = _checkOverflow2[1];\n var _checkOverflow3 = checkOverflow(middle),\n _checkOverflow4 = _slicedToArray(_checkOverflow3, 1),\n doesMiddleOverflow = _checkOverflow4[0];\n if (!doesPrevOverflow && !doesMiddleOverflow) {\n start = middle + 1;\n }\n if (doesPrevOverflow && doesMiddleOverflow) {\n end = middle - 1;\n }\n if (!doesPrevOverflow && doesMiddleOverflow) {\n trimmedResult = result;\n break;\n }\n iterations++;\n }\n\n // Fallback to originalResult (result without trimming) if we cannot find the\n // where to trim. This should not happen :tm:\n return trimmedResult || originalResult;\n};\nvar getWordsWithoutCalculate = function getWordsWithoutCalculate(children) {\n var words = !isNil(children) ? children.toString().split(BREAKING_SPACES) : [];\n return [{\n words: words\n }];\n};\nvar getWordsByLines = function getWordsByLines(_ref4) {\n var width = _ref4.width,\n scaleToFit = _ref4.scaleToFit,\n children = _ref4.children,\n style = _ref4.style,\n breakAll = _ref4.breakAll,\n maxLines = _ref4.maxLines;\n // Only perform calculations if using features that require them (multiline, scaleToFit)\n if ((width || scaleToFit) && !Global.isSsr) {\n var wordsWithComputedWidth, spaceWidth;\n var wordWidths = calculateWordWidths({\n breakAll: breakAll,\n children: children,\n style: style\n });\n if (wordWidths) {\n var wcw = wordWidths.wordsWithComputedWidth,\n sw = wordWidths.spaceWidth;\n wordsWithComputedWidth = wcw;\n spaceWidth = sw;\n } else {\n return getWordsWithoutCalculate(children);\n }\n return calculateWordsByLines({\n breakAll: breakAll,\n children: children,\n maxLines: maxLines,\n style: style\n }, wordsWithComputedWidth, spaceWidth, width, scaleToFit);\n }\n return getWordsWithoutCalculate(children);\n};\nvar DEFAULT_FILL = '#808080';\nexport var Text = function Text(_ref5) {\n var _ref5$x = _ref5.x,\n propsX = _ref5$x === void 0 ? 0 : _ref5$x,\n _ref5$y = _ref5.y,\n propsY = _ref5$y === void 0 ? 0 : _ref5$y,\n _ref5$lineHeight = _ref5.lineHeight,\n lineHeight = _ref5$lineHeight === void 0 ? '1em' : _ref5$lineHeight,\n _ref5$capHeight = _ref5.capHeight,\n capHeight = _ref5$capHeight === void 0 ? '0.71em' : _ref5$capHeight,\n _ref5$scaleToFit = _ref5.scaleToFit,\n scaleToFit = _ref5$scaleToFit === void 0 ? false : _ref5$scaleToFit,\n _ref5$textAnchor = _ref5.textAnchor,\n textAnchor = _ref5$textAnchor === void 0 ? 'start' : _ref5$textAnchor,\n _ref5$verticalAnchor = _ref5.verticalAnchor,\n verticalAnchor = _ref5$verticalAnchor === void 0 ? 'end' : _ref5$verticalAnchor,\n _ref5$fill = _ref5.fill,\n fill = _ref5$fill === void 0 ? DEFAULT_FILL : _ref5$fill,\n props = _objectWithoutProperties(_ref5, _excluded);\n var wordsByLines = useMemo(function () {\n return getWordsByLines({\n breakAll: props.breakAll,\n children: props.children,\n maxLines: props.maxLines,\n scaleToFit: scaleToFit,\n style: props.style,\n width: props.width\n });\n }, [props.breakAll, props.children, props.maxLines, scaleToFit, props.style, props.width]);\n var dx = props.dx,\n dy = props.dy,\n angle = props.angle,\n className = props.className,\n breakAll = props.breakAll,\n textProps = _objectWithoutProperties(props, _excluded2);\n if (!isNumOrStr(propsX) || !isNumOrStr(propsY)) {\n return null;\n }\n var x = propsX + (isNumber(dx) ? dx : 0);\n var y = propsY + (isNumber(dy) ? dy : 0);\n var startDy;\n switch (verticalAnchor) {\n case 'start':\n startDy = reduceCSSCalc(\"calc(\".concat(capHeight, \")\"));\n break;\n case 'middle':\n startDy = reduceCSSCalc(\"calc(\".concat((wordsByLines.length - 1) / 2, \" * -\").concat(lineHeight, \" + (\").concat(capHeight, \" / 2))\"));\n break;\n default:\n startDy = reduceCSSCalc(\"calc(\".concat(wordsByLines.length - 1, \" * -\").concat(lineHeight, \")\"));\n break;\n }\n var transforms = [];\n if (scaleToFit) {\n var lineWidth = wordsByLines[0].width;\n var width = props.width;\n transforms.push(\"scale(\".concat((isNumber(width) ? width / lineWidth : 1) / lineWidth, \")\"));\n }\n if (angle) {\n transforms.push(\"rotate(\".concat(angle, \", \").concat(x, \", \").concat(y, \")\"));\n }\n if (transforms.length) {\n textProps.transform = transforms.join(' ');\n }\n return /*#__PURE__*/React.createElement(\"text\", _extends({}, filterProps(textProps, true), {\n x: x,\n y: y,\n className: clsx('recharts-text', className),\n textAnchor: textAnchor,\n fill: fill.includes('url') ? DEFAULT_FILL : fill\n }), wordsByLines.map(function (line, index) {\n var words = line.words.join(breakAll ? '' : ' ');\n return (\n /*#__PURE__*/\n // duplicate words will cause duplicate keys\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"tspan\", {\n x: x,\n dy: index === 0 ? startDy : lineHeight,\n key: \"\".concat(words, \"-\").concat(index)\n }, words)\n );\n }));\n};"],"ignoreList":[0],"mappings":";;;;;;;;;;A,gCAAII,IAAY;CAAC;CAAK;CAAK;CAAc;CAAa;CAAc;CAAc;CAAkB;AAAM,GACxGC,IAAa;CAAC;CAAM;CAAM;CAAS;CAAa;AAAU;AAC5D,SAASC,IAAW;CAAsR,OAApR,IAAW,OAAO,SAAS,OAAO,OAAO,KAAK,IAAI,SAAU,GAAQ;EAAE,KAAK,IAAIC,IAAI,GAAGA,IAAI,UAAU,QAAQ,KAAK;GAAE,IAAIC,IAAS,UAAUD;GAAI,KAAK,IAAIE,KAAOD,GAAU,AAAI,OAAO,UAAU,eAAe,KAAKA,GAAQC,CAAG,MAAK,EAAOA,KAAOD,EAAOC;EAAU;EAAE,OAAOC;CAAQ,GAAUJ,EAAS,MAAM,MAAM,SAAS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,CAAC,CAAC;AACJ"}
@@ -1,181 +0,0 @@
1
- import { DefaultTooltipContent as e } from "./DefaultTooltipContent.js";
2
- import { TooltipBoundingBox as t } from "./TooltipBoundingBox.js";
3
- import { Global as n } from "../util/Global.js";
4
- import { getUniqPayload as r } from "../util/payload/getUniqPayload.js";
5
- import i, { PureComponent as a } from "react";
6
- // node_modules/recharts/es6/component/Tooltip.js
7
- function o(e) {
8
- "@babel/helpers - typeof";
9
- return o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
10
- return typeof e;
11
- } : function(e) {
12
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
13
- }, o(e);
14
- }
15
- function s(e, t) {
16
- var n = Object.keys(e);
17
- if (Object.getOwnPropertySymbols) {
18
- var r = Object.getOwnPropertySymbols(e);
19
- t && (r = r.filter(function(t) {
20
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
21
- })), n.push.apply(n, r);
22
- }
23
- return n;
24
- }
25
- function c(e) {
26
- for (var t = 1; t < arguments.length; t++) {
27
- var n = arguments[t] == null ? {} : arguments[t];
28
- t % 2 ? s(Object(n), !0).forEach(function(t) {
29
- y(e, t, n[t]);
30
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s(Object(n)).forEach(function(t) {
31
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
32
- });
33
- }
34
- return e;
35
- }
36
- function l(e, t) {
37
- if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
38
- }
39
- function u(e, t) {
40
- for (var n = 0; n < t.length; n++) {
41
- var r = t[n];
42
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, b(r.key), r);
43
- }
44
- }
45
- function d(e, t, n) {
46
- return t && u(e.prototype, t), n && u(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
47
- }
48
- function f(e, t, n) {
49
- return t = g(t), p(e, h() ? Reflect.construct(t, n || [], g(e).constructor) : t.apply(e, n));
50
- }
51
- function p(e, t) {
52
- if (t && (o(t) === "object" || typeof t == "function")) return t;
53
- if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
54
- return m(e);
55
- }
56
- function m(e) {
57
- if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
58
- return e;
59
- }
60
- function h() {
61
- try {
62
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
63
- } catch {}
64
- return (h = function() {
65
- return !!e;
66
- })();
67
- }
68
- function g(e) {
69
- return g = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
70
- return e.__proto__ || Object.getPrototypeOf(e);
71
- }, g(e);
72
- }
73
- function _(e, t) {
74
- if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
75
- e.prototype = Object.create(t && t.prototype, { constructor: {
76
- value: e,
77
- writable: !0,
78
- configurable: !0
79
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && v(e, t);
80
- }
81
- function v(e, t) {
82
- return v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
83
- return e.__proto__ = t, e;
84
- }, v(e, t);
85
- }
86
- function y(e, t, n) {
87
- return t = b(t), t in e ? Object.defineProperty(e, t, {
88
- value: n,
89
- enumerable: !0,
90
- configurable: !0,
91
- writable: !0
92
- }) : e[t] = n, e;
93
- }
94
- function b(e) {
95
- var t = x(e, "string");
96
- return o(t) == "symbol" ? t : t + "";
97
- }
98
- function x(e, t) {
99
- if (o(e) != "object" || !e) return e;
100
- var n = e[Symbol.toPrimitive];
101
- if (n !== void 0) {
102
- var r = n.call(e, t || "default");
103
- if (o(r) != "object") return r;
104
- throw TypeError("@@toPrimitive must return a primitive value.");
105
- }
106
- return (t === "string" ? String : Number)(e);
107
- }
108
- function S(e) {
109
- return e.dataKey;
110
- }
111
- function C(t, n) {
112
- return /*#__PURE__*/ i.isValidElement(t) ? /*#__PURE__*/ i.cloneElement(t, n) : typeof t == "function" ? /*#__PURE__*/ i.createElement(t, n) : /*#__PURE__*/ i.createElement(e, n);
113
- }
114
- var w = /*#__PURE__*/ function(e) {
115
- function n() {
116
- return l(this, n), f(this, n, arguments);
117
- }
118
- return _(n, e), d(n, [{
119
- key: "render",
120
- value: function() {
121
- var e = this, n = this.props, a = n.active, o = n.allowEscapeViewBox, s = n.animationDuration, l = n.animationEasing, u = n.content, d = n.coordinate, f = n.filterNull, p = n.isAnimationActive, m = n.offset, h = n.payload, g = n.payloadUniqBy, _ = n.position, v = n.reverseDirection, y = n.useTranslate3d, b = n.viewBox, x = n.wrapperStyle, w = h ?? [];
122
- f && w.length && (w = r(h.filter(function(t) {
123
- return t.value != null && (t.hide !== !0 || e.props.includeHidden);
124
- }), g, S));
125
- var T = w.length > 0;
126
- return /*#__PURE__*/ i.createElement(t, {
127
- allowEscapeViewBox: o,
128
- animationDuration: s,
129
- animationEasing: l,
130
- isAnimationActive: p,
131
- active: a,
132
- coordinate: d,
133
- hasPayload: T,
134
- offset: m,
135
- position: _,
136
- reverseDirection: v,
137
- useTranslate3d: y,
138
- viewBox: b,
139
- wrapperStyle: x
140
- }, C(u, c(c({}, this.props), {}, { payload: w })));
141
- }
142
- }]);
143
- }(a);
144
- y(w, "displayName", "Tooltip"), y(w, "defaultProps", {
145
- accessibilityLayer: !1,
146
- allowEscapeViewBox: {
147
- x: !1,
148
- y: !1
149
- },
150
- animationDuration: 400,
151
- animationEasing: "ease",
152
- contentStyle: {},
153
- coordinate: {
154
- x: 0,
155
- y: 0
156
- },
157
- cursor: !0,
158
- cursorStyle: {},
159
- filterNull: !0,
160
- isAnimationActive: !n.isSsr,
161
- itemStyle: {},
162
- labelStyle: {},
163
- offset: 10,
164
- reverseDirection: {
165
- x: !1,
166
- y: !1
167
- },
168
- separator: " : ",
169
- trigger: "hover",
170
- useTranslate3d: !1,
171
- viewBox: {
172
- x: 0,
173
- y: 0,
174
- height: 0,
175
- width: 0
176
- },
177
- wrapperStyle: {}
178
- });
179
- export { w as Tooltip };
180
-
181
- //# sourceMappingURL=Tooltip.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tooltip.js","names":["React","_typeof","o","ownKeys","t","r","_objectSpread","_classCallCheck","instance","Constructor","_defineProperties","i","props","descriptor","target","_toPropertyKey","_createClass","protoProps","staticProps","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","e","call","_assertThisInitialized","self","_inherits","superClass","subClass","_setPrototypeOf","p","_defineProperty","key","obj","value","_toPrimitive","defaultUniqBy","entry","renderContent","content","DefaultTooltipContent","Tooltip","_PureComponent","_this","_this$props","active","allowEscapeViewBox","animationDuration","animationEasing","coordinate","filterNull","isAnimationActive","offset","payload","payloadUniqBy","position","reverseDirection","useTranslate3d","viewBox","wrapperStyle","finalPayload","getUniqPayload","hasPayload","TooltipBoundingBox","PureComponent","Global"],"sources":["../../../../../node_modules/recharts/es6/component/Tooltip.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * @fileOverview Tooltip\n */\nimport React, { PureComponent } from 'react';\nimport { DefaultTooltipContent } from './DefaultTooltipContent';\nimport { TooltipBoundingBox } from './TooltipBoundingBox';\nimport { Global } from '../util/Global';\nimport { getUniqPayload } from '../util/payload/getUniqPayload';\nfunction defaultUniqBy(entry) {\n return entry.dataKey;\n}\nfunction renderContent(content, props) {\n if ( /*#__PURE__*/React.isValidElement(content)) {\n return /*#__PURE__*/React.cloneElement(content, props);\n }\n if (typeof content === 'function') {\n return /*#__PURE__*/React.createElement(content, props);\n }\n return /*#__PURE__*/React.createElement(DefaultTooltipContent, props);\n}\nexport var Tooltip = /*#__PURE__*/function (_PureComponent) {\n function Tooltip() {\n _classCallCheck(this, Tooltip);\n return _callSuper(this, Tooltip, arguments);\n }\n _inherits(Tooltip, _PureComponent);\n return _createClass(Tooltip, [{\n key: \"render\",\n value: function render() {\n var _this = this;\n var _this$props = this.props,\n active = _this$props.active,\n allowEscapeViewBox = _this$props.allowEscapeViewBox,\n animationDuration = _this$props.animationDuration,\n animationEasing = _this$props.animationEasing,\n content = _this$props.content,\n coordinate = _this$props.coordinate,\n filterNull = _this$props.filterNull,\n isAnimationActive = _this$props.isAnimationActive,\n offset = _this$props.offset,\n payload = _this$props.payload,\n payloadUniqBy = _this$props.payloadUniqBy,\n position = _this$props.position,\n reverseDirection = _this$props.reverseDirection,\n useTranslate3d = _this$props.useTranslate3d,\n viewBox = _this$props.viewBox,\n wrapperStyle = _this$props.wrapperStyle;\n var finalPayload = payload !== null && payload !== void 0 ? payload : [];\n if (filterNull && finalPayload.length) {\n finalPayload = getUniqPayload(payload.filter(function (entry) {\n return entry.value != null && (entry.hide !== true || _this.props.includeHidden);\n }), payloadUniqBy, defaultUniqBy);\n }\n var hasPayload = finalPayload.length > 0;\n return /*#__PURE__*/React.createElement(TooltipBoundingBox, {\n allowEscapeViewBox: allowEscapeViewBox,\n animationDuration: animationDuration,\n animationEasing: animationEasing,\n isAnimationActive: isAnimationActive,\n active: active,\n coordinate: coordinate,\n hasPayload: hasPayload,\n offset: offset,\n position: position,\n reverseDirection: reverseDirection,\n useTranslate3d: useTranslate3d,\n viewBox: viewBox,\n wrapperStyle: wrapperStyle\n }, renderContent(content, _objectSpread(_objectSpread({}, this.props), {}, {\n payload: finalPayload\n })));\n }\n }]);\n}(PureComponent);\n_defineProperty(Tooltip, \"displayName\", 'Tooltip');\n_defineProperty(Tooltip, \"defaultProps\", {\n accessibilityLayer: false,\n allowEscapeViewBox: {\n x: false,\n y: false\n },\n animationDuration: 400,\n animationEasing: 'ease',\n contentStyle: {},\n coordinate: {\n x: 0,\n y: 0\n },\n cursor: true,\n cursorStyle: {},\n filterNull: true,\n isAnimationActive: !Global.isSsr,\n itemStyle: {},\n labelStyle: {},\n offset: 10,\n reverseDirection: {\n x: false,\n y: false\n },\n separator: ' : ',\n trigger: 'hover',\n useTranslate3d: false,\n viewBox: {\n x: 0,\n y: 0,\n height: 0,\n width: 0\n },\n wrapperStyle: {}\n});"],"ignoreList":[0],"mappings":";;;;;;AAAA,SAASC,EAAQ,GAAG;CAAE;CAA2B,OAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;EAAE,OAAO,OAAOC;CAAG,IAAI,SAAU,GAAG;EAAE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,CAAC,GAAG,EACzE,SAASuD,EACX,CAAC,CAAC,CAAC;EACL;CACF,CAAC,CAAC;AACJ,EAAEI,CAAa;AACfjC,EAAgBU,GAAS,eAAe,SAAS,GACjDV,EAAgBU,GAAS,gBAAgB;CACvC,oBAAoB;CACpB,oBAAoB;EAClB,GAAG;EACH,GAAG;CACL;CACA,mBAAmB;CACnB,iBAAiB;CACjB,cAAc,CAAC;CACf,YAAY;EACV,GAAG;EACH,GAAG;CACL;CACA,QAAQ;CACR,aAAa,CAAC;CACd,YAAY;CACZ,mBAAmB,CAACwB,EAAO;CAC3B,WAAW,CAAC;CACZ,YAAY,CAAC;CACb,QAAQ;CACR,kBAAkB;EAChB,GAAG;EACH,GAAG;CACL;CACA,WAAW;CACX,SAAS;CACT,gBAAgB;CAChB,SAAS;EACP,GAAG;EACH,GAAG;EACH,QAAQ;EACR,OAAO;CACT;CACA,cAAc,CAAC;AACjB,CAAC"}
@@ -1,197 +0,0 @@
1
- import { getTooltipTranslate as e } from "../util/tooltip/translate.js";
2
- import t, { PureComponent as n } from "react";
3
- // node_modules/recharts/es6/component/TooltipBoundingBox.js
4
- function r(e) {
5
- "@babel/helpers - typeof";
6
- return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
7
- return typeof e;
8
- } : function(e) {
9
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
10
- }, r(e);
11
- }
12
- function i(e, t) {
13
- var n = Object.keys(e);
14
- if (Object.getOwnPropertySymbols) {
15
- var r = Object.getOwnPropertySymbols(e);
16
- t && (r = r.filter(function(t) {
17
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
18
- })), n.push.apply(n, r);
19
- }
20
- return n;
21
- }
22
- function a(e) {
23
- for (var t = 1; t < arguments.length; t++) {
24
- var n = arguments[t] == null ? {} : arguments[t];
25
- t % 2 ? i(Object(n), !0).forEach(function(t) {
26
- g(e, t, n[t]);
27
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i(Object(n)).forEach(function(t) {
28
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
29
- });
30
- }
31
- return e;
32
- }
33
- function o(e, t) {
34
- if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
35
- }
36
- function s(e, t) {
37
- for (var n = 0; n < t.length; n++) {
38
- var r = t[n];
39
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, _(r.key), r);
40
- }
41
- }
42
- function c(e, t, n) {
43
- return t && s(e.prototype, t), n && s(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
44
- }
45
- function l(e, t, n) {
46
- return t = p(t), u(e, f() ? Reflect.construct(t, n || [], p(e).constructor) : t.apply(e, n));
47
- }
48
- function u(e, t) {
49
- if (t && (r(t) === "object" || typeof t == "function")) return t;
50
- if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
51
- return d(e);
52
- }
53
- function d(e) {
54
- if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
55
- return e;
56
- }
57
- function f() {
58
- try {
59
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
60
- } catch {}
61
- return (f = function() {
62
- return !!e;
63
- })();
64
- }
65
- function p(e) {
66
- return p = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
67
- return e.__proto__ || Object.getPrototypeOf(e);
68
- }, p(e);
69
- }
70
- function m(e, t) {
71
- if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
72
- e.prototype = Object.create(t && t.prototype, { constructor: {
73
- value: e,
74
- writable: !0,
75
- configurable: !0
76
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && h(e, t);
77
- }
78
- function h(e, t) {
79
- return h = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
80
- return e.__proto__ = t, e;
81
- }, h(e, t);
82
- }
83
- function g(e, t, n) {
84
- return t = _(t), t in e ? Object.defineProperty(e, t, {
85
- value: n,
86
- enumerable: !0,
87
- configurable: !0,
88
- writable: !0
89
- }) : e[t] = n, e;
90
- }
91
- function _(e) {
92
- var t = v(e, "string");
93
- return r(t) == "symbol" ? t : t + "";
94
- }
95
- function v(e, t) {
96
- if (r(e) != "object" || !e) return e;
97
- var n = e[Symbol.toPrimitive];
98
- if (n !== void 0) {
99
- var i = n.call(e, t || "default");
100
- if (r(i) != "object") return i;
101
- throw TypeError("@@toPrimitive must return a primitive value.");
102
- }
103
- return (t === "string" ? String : Number)(e);
104
- }
105
- var y = 1, b = /*#__PURE__*/ function(n) {
106
- function r() {
107
- var e;
108
- o(this, r);
109
- var t = [...arguments];
110
- return e = l(this, r, [].concat(t)), g(e, "state", {
111
- dismissed: !1,
112
- dismissedAtCoordinate: {
113
- x: 0,
114
- y: 0
115
- },
116
- lastBoundingBox: {
117
- width: -1,
118
- height: -1
119
- }
120
- }), g(e, "handleKeyDown", function(t) {
121
- t.key === "Escape" && e.setState({
122
- dismissed: !0,
123
- dismissedAtCoordinate: {
124
- x: e.props.coordinate?.x ?? 0,
125
- y: e.props.coordinate?.y ?? 0
126
- }
127
- });
128
- }), e;
129
- }
130
- return m(r, n), c(r, [
131
- {
132
- key: "updateBBox",
133
- value: function() {
134
- if (this.wrapperNode && this.wrapperNode.getBoundingClientRect) {
135
- var e = this.wrapperNode.getBoundingClientRect();
136
- (Math.abs(e.width - this.state.lastBoundingBox.width) > y || Math.abs(e.height - this.state.lastBoundingBox.height) > y) && this.setState({ lastBoundingBox: {
137
- width: e.width,
138
- height: e.height
139
- } });
140
- } else (this.state.lastBoundingBox.width !== -1 || this.state.lastBoundingBox.height !== -1) && this.setState({ lastBoundingBox: {
141
- width: -1,
142
- height: -1
143
- } });
144
- }
145
- },
146
- {
147
- key: "componentDidMount",
148
- value: function() {
149
- document.addEventListener("keydown", this.handleKeyDown), this.updateBBox();
150
- }
151
- },
152
- {
153
- key: "componentWillUnmount",
154
- value: function() {
155
- document.removeEventListener("keydown", this.handleKeyDown);
156
- }
157
- },
158
- {
159
- key: "componentDidUpdate",
160
- value: function() {
161
- this.props.active && this.updateBBox(), this.state.dismissed && (this.props.coordinate?.x !== this.state.dismissedAtCoordinate.x || this.props.coordinate?.y !== this.state.dismissedAtCoordinate.y) && (this.state.dismissed = !1);
162
- }
163
- },
164
- {
165
- key: "render",
166
- value: function() {
167
- var n = this, r = this.props, i = r.active, o = r.allowEscapeViewBox, s = r.animationDuration, c = r.animationEasing, l = r.children, u = r.coordinate, d = r.hasPayload, f = r.isAnimationActive, p = r.offset, m = r.position, h = r.reverseDirection, g = r.useTranslate3d, _ = r.viewBox, v = r.wrapperStyle, y = e({
168
- allowEscapeViewBox: o,
169
- coordinate: u,
170
- offsetTopLeft: p,
171
- position: m,
172
- reverseDirection: h,
173
- tooltipBox: this.state.lastBoundingBox,
174
- useTranslate3d: g,
175
- viewBox: _
176
- }), b = y.cssClasses, x = y.cssProperties, S = a(a({ transition: f && i ? `transform ${s}ms ${c}` : void 0 }, x), {}, {
177
- pointerEvents: "none",
178
- visibility: !this.state.dismissed && i && d ? "visible" : "hidden",
179
- position: "absolute",
180
- top: 0,
181
- left: 0
182
- }, v);
183
- return /*#__PURE__*/ t.createElement("div", {
184
- tabIndex: -1,
185
- className: b,
186
- style: S,
187
- ref: function(e) {
188
- n.wrapperNode = e;
189
- }
190
- }, l);
191
- }
192
- }
193
- ]);
194
- }(n);
195
- export { b as TooltipBoundingBox };
196
-
197
- //# sourceMappingURL=TooltipBoundingBox.js.map