vue-chrts 0.0.168 → 0.0.170

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 (1314) hide show
  1. package/dist/components/Area/AreaChart.cjs +3 -3
  2. package/dist/components/Area/AreaChart.cjs.map +1 -1
  3. package/dist/components/Area/AreaChart.js +31 -39
  4. package/dist/components/Area/AreaChart.js.map +1 -1
  5. package/dist/components/AreaStacked/AreaStackedChart.cjs +1 -1
  6. package/dist/components/AreaStacked/AreaStackedChart.cjs.map +1 -1
  7. package/dist/components/AreaStacked/AreaStackedChart.js +21 -26
  8. package/dist/components/AreaStacked/AreaStackedChart.js.map +1 -1
  9. package/dist/components/Bar/BarChart.cjs +1 -1
  10. package/dist/components/Bar/BarChart.cjs.map +1 -1
  11. package/dist/components/Bar/BarChart.js +40 -48
  12. package/dist/components/Bar/BarChart.js.map +1 -1
  13. package/dist/components/Crosshair/Crosshair.cjs +1 -1
  14. package/dist/components/Crosshair/Crosshair.cjs.map +1 -1
  15. package/dist/components/Crosshair/Crosshair.js +16 -18
  16. package/dist/components/Crosshair/Crosshair.js.map +1 -1
  17. package/dist/components/Donut/DonutChart.cjs +2 -2
  18. package/dist/components/Donut/DonutChart.cjs.map +1 -1
  19. package/dist/components/Donut/DonutChart.js +20 -24
  20. package/dist/components/Donut/DonutChart.js.map +1 -1
  21. package/dist/components/Line/LineChart.cjs +1 -1
  22. package/dist/components/Line/LineChart.cjs.map +1 -1
  23. package/dist/components/Line/LineChart.js +28 -35
  24. package/dist/components/Line/LineChart.js.map +1 -1
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.ts +1 -2
  28. package/dist/index.js +14 -14
  29. package/dist/index.js.map +1 -1
  30. package/package.json +1 -1
  31. package/dist/_virtual/_commonjsHelpers.cjs +0 -2
  32. package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
  33. package/dist/_virtual/_commonjsHelpers.js +0 -7
  34. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  35. package/dist/_virtual/browser.cjs +0 -2
  36. package/dist/_virtual/browser.cjs.map +0 -1
  37. package/dist/_virtual/browser.js +0 -3
  38. package/dist/_virtual/browser.js.map +0 -1
  39. package/dist/_virtual/striptags.cjs +0 -2
  40. package/dist/_virtual/striptags.cjs.map +0 -1
  41. package/dist/_virtual/striptags.js +0 -8
  42. package/dist/_virtual/striptags.js.map +0 -1
  43. package/dist/_virtual/striptags2.cjs +0 -2
  44. package/dist/_virtual/striptags2.cjs.map +0 -1
  45. package/dist/_virtual/striptags2.js +0 -5
  46. package/dist/_virtual/striptags2.js.map +0 -1
  47. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs +0 -2
  48. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs.map +0 -1
  49. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -280
  50. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js.map +0 -1
  51. package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.cjs +0 -2
  52. package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.cjs.map +0 -1
  53. package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js +0 -87
  54. package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js.map +0 -1
  55. package/dist/node_modules/@emotion/css/dist/emotion-css.esm.cjs +0 -2
  56. package/dist/node_modules/@emotion/css/dist/emotion-css.esm.cjs.map +0 -1
  57. package/dist/node_modules/@emotion/css/dist/emotion-css.esm.js +0 -9
  58. package/dist/node_modules/@emotion/css/dist/emotion-css.esm.js.map +0 -1
  59. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.cjs +0 -2
  60. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.cjs.map +0 -1
  61. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -23
  62. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
  63. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -2
  64. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs.map +0 -1
  65. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -10
  66. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
  67. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs +0 -2
  68. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs.map +0 -1
  69. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -124
  70. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +0 -1
  71. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.cjs +0 -2
  72. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.cjs.map +0 -1
  73. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -45
  74. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +0 -1
  75. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -2
  76. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs.map +0 -1
  77. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -54
  78. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +0 -1
  79. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs +0 -2
  80. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs.map +0 -1
  81. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -30
  82. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js.map +0 -1
  83. package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.cjs +0 -2
  84. package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.cjs.map +0 -1
  85. package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js +0 -16
  86. package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js.map +0 -1
  87. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.cjs +0 -2
  88. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.cjs.map +0 -1
  89. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.js +0 -21
  90. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.js.map +0 -1
  91. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.cjs +0 -2
  92. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.cjs.map +0 -1
  93. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.js +0 -32
  94. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.js.map +0 -1
  95. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.cjs +0 -2
  96. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.cjs.map +0 -1
  97. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js +0 -8
  98. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js.map +0 -1
  99. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.cjs +0 -2
  100. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.cjs.map +0 -1
  101. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.js +0 -32
  102. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.js.map +0 -1
  103. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.cjs +0 -2
  104. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.cjs.map +0 -1
  105. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js +0 -10
  106. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js.map +0 -1
  107. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.cjs +0 -2
  108. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.cjs.map +0 -1
  109. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js +0 -13
  110. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js.map +0 -1
  111. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.cjs +0 -2
  112. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.cjs.map +0 -1
  113. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js +0 -11
  114. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js.map +0 -1
  115. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.cjs +0 -2
  116. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.cjs.map +0 -1
  117. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js +0 -27
  118. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js.map +0 -1
  119. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.cjs +0 -2
  120. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.cjs.map +0 -1
  121. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js +0 -43
  122. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js.map +0 -1
  123. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.cjs +0 -2
  124. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.cjs.map +0 -1
  125. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js +0 -12
  126. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js.map +0 -1
  127. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.cjs +0 -2
  128. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.cjs.map +0 -1
  129. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js +0 -10
  130. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js.map +0 -1
  131. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.cjs +0 -2
  132. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.cjs.map +0 -1
  133. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js +0 -13
  134. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js.map +0 -1
  135. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.cjs +0 -2
  136. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.cjs.map +0 -1
  137. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js +0 -10
  138. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js.map +0 -1
  139. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.cjs +0 -2
  140. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.cjs.map +0 -1
  141. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js +0 -10
  142. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js.map +0 -1
  143. package/dist/node_modules/@juggle/resize-observer/lib/utils/element.cjs +0 -2
  144. package/dist/node_modules/@juggle/resize-observer/lib/utils/element.cjs.map +0 -1
  145. package/dist/node_modules/@juggle/resize-observer/lib/utils/element.js +0 -38
  146. package/dist/node_modules/@juggle/resize-observer/lib/utils/element.js.map +0 -1
  147. package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.cjs +0 -2
  148. package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.cjs.map +0 -1
  149. package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.js +0 -7
  150. package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.js.map +0 -1
  151. package/dist/node_modules/@juggle/resize-observer/lib/utils/global.cjs +0 -2
  152. package/dist/node_modules/@juggle/resize-observer/lib/utils/global.cjs.map +0 -1
  153. package/dist/node_modules/@juggle/resize-observer/lib/utils/global.js +0 -5
  154. package/dist/node_modules/@juggle/resize-observer/lib/utils/global.js.map +0 -1
  155. package/dist/node_modules/@juggle/resize-observer/lib/utils/process.cjs +0 -2
  156. package/dist/node_modules/@juggle/resize-observer/lib/utils/process.cjs.map +0 -1
  157. package/dist/node_modules/@juggle/resize-observer/lib/utils/process.js +0 -15
  158. package/dist/node_modules/@juggle/resize-observer/lib/utils/process.js.map +0 -1
  159. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.cjs +0 -2
  160. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.cjs.map +0 -1
  161. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js +0 -19
  162. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js.map +0 -1
  163. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.cjs +0 -2
  164. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.cjs.map +0 -1
  165. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js +0 -10
  166. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js.map +0 -1
  167. package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.cjs +0 -2
  168. package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.cjs.map +0 -1
  169. package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js +0 -5
  170. package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js.map +0 -1
  171. package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.cjs +0 -2
  172. package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.cjs.map +0 -1
  173. package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.js +0 -71
  174. package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.js.map +0 -1
  175. package/dist/node_modules/@unovis/ts/components/area/config.cjs +0 -2
  176. package/dist/node_modules/@unovis/ts/components/area/config.cjs.map +0 -1
  177. package/dist/node_modules/@unovis/ts/components/area/config.js +0 -7
  178. package/dist/node_modules/@unovis/ts/components/area/config.js.map +0 -1
  179. package/dist/node_modules/@unovis/ts/components/area/index.cjs +0 -2
  180. package/dist/node_modules/@unovis/ts/components/area/index.cjs.map +0 -1
  181. package/dist/node_modules/@unovis/ts/components/area/index.js +0 -53
  182. package/dist/node_modules/@unovis/ts/components/area/index.js.map +0 -1
  183. package/dist/node_modules/@unovis/ts/components/area/style.cjs +0 -36
  184. package/dist/node_modules/@unovis/ts/components/area/style.cjs.map +0 -1
  185. package/dist/node_modules/@unovis/ts/components/area/style.js +0 -42
  186. package/dist/node_modules/@unovis/ts/components/area/style.js.map +0 -1
  187. package/dist/node_modules/@unovis/ts/components/axis/config.cjs +0 -2
  188. package/dist/node_modules/@unovis/ts/components/axis/config.cjs.map +0 -1
  189. package/dist/node_modules/@unovis/ts/components/axis/config.js +0 -7
  190. package/dist/node_modules/@unovis/ts/components/axis/config.js.map +0 -1
  191. package/dist/node_modules/@unovis/ts/components/axis/index.cjs +0 -2
  192. package/dist/node_modules/@unovis/ts/components/axis/index.cjs.map +0 -1
  193. package/dist/node_modules/@unovis/ts/components/axis/index.js +0 -288
  194. package/dist/node_modules/@unovis/ts/components/axis/index.js.map +0 -1
  195. package/dist/node_modules/@unovis/ts/components/axis/style.cjs +0 -102
  196. package/dist/node_modules/@unovis/ts/components/axis/style.cjs.map +0 -1
  197. package/dist/node_modules/@unovis/ts/components/axis/style.js +0 -115
  198. package/dist/node_modules/@unovis/ts/components/axis/style.js.map +0 -1
  199. package/dist/node_modules/@unovis/ts/components/axis/types.cjs +0 -2
  200. package/dist/node_modules/@unovis/ts/components/axis/types.cjs.map +0 -1
  201. package/dist/node_modules/@unovis/ts/components/axis/types.js +0 -8
  202. package/dist/node_modules/@unovis/ts/components/axis/types.js.map +0 -1
  203. package/dist/node_modules/@unovis/ts/components/bullet-legend/config.cjs +0 -2
  204. package/dist/node_modules/@unovis/ts/components/bullet-legend/config.cjs.map +0 -1
  205. package/dist/node_modules/@unovis/ts/components/bullet-legend/config.js +0 -19
  206. package/dist/node_modules/@unovis/ts/components/bullet-legend/config.js.map +0 -1
  207. package/dist/node_modules/@unovis/ts/components/bullet-legend/index.cjs +0 -2
  208. package/dist/node_modules/@unovis/ts/components/bullet-legend/index.cjs.map +0 -1
  209. package/dist/node_modules/@unovis/ts/components/bullet-legend/index.js +0 -37
  210. package/dist/node_modules/@unovis/ts/components/bullet-legend/index.js.map +0 -1
  211. package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.cjs +0 -2
  212. package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.cjs.map +0 -1
  213. package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.js +0 -49
  214. package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.js.map +0 -1
  215. package/dist/node_modules/@unovis/ts/components/bullet-legend/style.cjs +0 -64
  216. package/dist/node_modules/@unovis/ts/components/bullet-legend/style.cjs.map +0 -1
  217. package/dist/node_modules/@unovis/ts/components/bullet-legend/style.js +0 -74
  218. package/dist/node_modules/@unovis/ts/components/bullet-legend/style.js.map +0 -1
  219. package/dist/node_modules/@unovis/ts/components/bullet-legend/types.cjs +0 -2
  220. package/dist/node_modules/@unovis/ts/components/bullet-legend/types.cjs.map +0 -1
  221. package/dist/node_modules/@unovis/ts/components/bullet-legend/types.js +0 -11
  222. package/dist/node_modules/@unovis/ts/components/bullet-legend/types.js.map +0 -1
  223. package/dist/node_modules/@unovis/ts/components/crosshair/config.cjs +0 -2
  224. package/dist/node_modules/@unovis/ts/components/crosshair/config.cjs.map +0 -1
  225. package/dist/node_modules/@unovis/ts/components/crosshair/config.js +0 -6
  226. package/dist/node_modules/@unovis/ts/components/crosshair/config.js.map +0 -1
  227. package/dist/node_modules/@unovis/ts/components/crosshair/index.cjs +0 -2
  228. package/dist/node_modules/@unovis/ts/components/crosshair/index.cjs.map +0 -1
  229. package/dist/node_modules/@unovis/ts/components/crosshair/index.js +0 -120
  230. package/dist/node_modules/@unovis/ts/components/crosshair/index.js.map +0 -1
  231. package/dist/node_modules/@unovis/ts/components/crosshair/style.cjs +0 -23
  232. package/dist/node_modules/@unovis/ts/components/crosshair/style.cjs.map +0 -1
  233. package/dist/node_modules/@unovis/ts/components/crosshair/style.js +0 -30
  234. package/dist/node_modules/@unovis/ts/components/crosshair/style.js.map +0 -1
  235. package/dist/node_modules/@unovis/ts/components/donut/config.cjs +0 -2
  236. package/dist/node_modules/@unovis/ts/components/donut/config.cjs.map +0 -1
  237. package/dist/node_modules/@unovis/ts/components/donut/config.js +0 -9
  238. package/dist/node_modules/@unovis/ts/components/donut/config.js.map +0 -1
  239. package/dist/node_modules/@unovis/ts/components/donut/constants.cjs +0 -2
  240. package/dist/node_modules/@unovis/ts/components/donut/constants.cjs.map +0 -1
  241. package/dist/node_modules/@unovis/ts/components/donut/constants.js +0 -12
  242. package/dist/node_modules/@unovis/ts/components/donut/constants.js.map +0 -1
  243. package/dist/node_modules/@unovis/ts/components/donut/index.cjs +0 -2
  244. package/dist/node_modules/@unovis/ts/components/donut/index.cjs.map +0 -1
  245. package/dist/node_modules/@unovis/ts/components/donut/index.js +0 -58
  246. package/dist/node_modules/@unovis/ts/components/donut/index.js.map +0 -1
  247. package/dist/node_modules/@unovis/ts/components/donut/modules/arc.cjs +0 -2
  248. package/dist/node_modules/@unovis/ts/components/donut/modules/arc.cjs.map +0 -1
  249. package/dist/node_modules/@unovis/ts/components/donut/modules/arc.js +0 -38
  250. package/dist/node_modules/@unovis/ts/components/donut/modules/arc.js.map +0 -1
  251. package/dist/node_modules/@unovis/ts/components/donut/style.cjs +0 -59
  252. package/dist/node_modules/@unovis/ts/components/donut/style.cjs.map +0 -1
  253. package/dist/node_modules/@unovis/ts/components/donut/style.js +0 -69
  254. package/dist/node_modules/@unovis/ts/components/donut/style.js.map +0 -1
  255. package/dist/node_modules/@unovis/ts/components/grouped-bar/config.cjs +0 -2
  256. package/dist/node_modules/@unovis/ts/components/grouped-bar/config.cjs.map +0 -1
  257. package/dist/node_modules/@unovis/ts/components/grouped-bar/config.js +0 -7
  258. package/dist/node_modules/@unovis/ts/components/grouped-bar/config.js.map +0 -1
  259. package/dist/node_modules/@unovis/ts/components/grouped-bar/index.cjs +0 -2
  260. package/dist/node_modules/@unovis/ts/components/grouped-bar/index.cjs.map +0 -1
  261. package/dist/node_modules/@unovis/ts/components/grouped-bar/index.js +0 -122
  262. package/dist/node_modules/@unovis/ts/components/grouped-bar/index.js.map +0 -1
  263. package/dist/node_modules/@unovis/ts/components/grouped-bar/style.cjs +0 -36
  264. package/dist/node_modules/@unovis/ts/components/grouped-bar/style.cjs.map +0 -1
  265. package/dist/node_modules/@unovis/ts/components/grouped-bar/style.js +0 -44
  266. package/dist/node_modules/@unovis/ts/components/grouped-bar/style.js.map +0 -1
  267. package/dist/node_modules/@unovis/ts/components/line/config.cjs +0 -2
  268. package/dist/node_modules/@unovis/ts/components/line/config.cjs.map +0 -1
  269. package/dist/node_modules/@unovis/ts/components/line/config.js +0 -7
  270. package/dist/node_modules/@unovis/ts/components/line/config.js.map +0 -1
  271. package/dist/node_modules/@unovis/ts/components/line/index.cjs +0 -2
  272. package/dist/node_modules/@unovis/ts/components/line/index.cjs.map +0 -1
  273. package/dist/node_modules/@unovis/ts/components/line/index.js +0 -87
  274. package/dist/node_modules/@unovis/ts/components/line/index.js.map +0 -1
  275. package/dist/node_modules/@unovis/ts/components/line/style.cjs +0 -36
  276. package/dist/node_modules/@unovis/ts/components/line/style.cjs.map +0 -1
  277. package/dist/node_modules/@unovis/ts/components/line/style.js +0 -46
  278. package/dist/node_modules/@unovis/ts/components/line/style.js.map +0 -1
  279. package/dist/node_modules/@unovis/ts/components/stacked-bar/config.cjs +0 -2
  280. package/dist/node_modules/@unovis/ts/components/stacked-bar/config.cjs.map +0 -1
  281. package/dist/node_modules/@unovis/ts/components/stacked-bar/config.js +0 -7
  282. package/dist/node_modules/@unovis/ts/components/stacked-bar/config.js.map +0 -1
  283. package/dist/node_modules/@unovis/ts/components/stacked-bar/index.cjs +0 -2
  284. package/dist/node_modules/@unovis/ts/components/stacked-bar/index.cjs.map +0 -1
  285. package/dist/node_modules/@unovis/ts/components/stacked-bar/index.js +0 -112
  286. package/dist/node_modules/@unovis/ts/components/stacked-bar/index.js.map +0 -1
  287. package/dist/node_modules/@unovis/ts/components/stacked-bar/style.cjs +0 -35
  288. package/dist/node_modules/@unovis/ts/components/stacked-bar/style.cjs.map +0 -1
  289. package/dist/node_modules/@unovis/ts/components/stacked-bar/style.js +0 -43
  290. package/dist/node_modules/@unovis/ts/components/stacked-bar/style.js.map +0 -1
  291. package/dist/node_modules/@unovis/ts/components/tooltip/config.cjs +0 -2
  292. package/dist/node_modules/@unovis/ts/components/tooltip/config.cjs.map +0 -1
  293. package/dist/node_modules/@unovis/ts/components/tooltip/config.js +0 -18
  294. package/dist/node_modules/@unovis/ts/components/tooltip/config.js.map +0 -1
  295. package/dist/node_modules/@unovis/ts/components/tooltip/index.cjs +0 -2
  296. package/dist/node_modules/@unovis/ts/components/tooltip/index.cjs.map +0 -1
  297. package/dist/node_modules/@unovis/ts/components/tooltip/index.js +0 -167
  298. package/dist/node_modules/@unovis/ts/components/tooltip/index.js.map +0 -1
  299. package/dist/node_modules/@unovis/ts/components/tooltip/style.cjs +0 -62
  300. package/dist/node_modules/@unovis/ts/components/tooltip/style.cjs.map +0 -1
  301. package/dist/node_modules/@unovis/ts/components/tooltip/style.js +0 -72
  302. package/dist/node_modules/@unovis/ts/components/tooltip/style.js.map +0 -1
  303. package/dist/node_modules/@unovis/ts/containers/single-container/config.cjs +0 -2
  304. package/dist/node_modules/@unovis/ts/containers/single-container/config.cjs.map +0 -1
  305. package/dist/node_modules/@unovis/ts/containers/single-container/config.js +0 -6
  306. package/dist/node_modules/@unovis/ts/containers/single-container/config.js.map +0 -1
  307. package/dist/node_modules/@unovis/ts/containers/single-container/index.cjs +0 -2
  308. package/dist/node_modules/@unovis/ts/containers/single-container/index.cjs.map +0 -1
  309. package/dist/node_modules/@unovis/ts/containers/single-container/index.js +0 -72
  310. package/dist/node_modules/@unovis/ts/containers/single-container/index.js.map +0 -1
  311. package/dist/node_modules/@unovis/ts/containers/xy-container/config.cjs +0 -2
  312. package/dist/node_modules/@unovis/ts/containers/xy-container/config.cjs.map +0 -1
  313. package/dist/node_modules/@unovis/ts/containers/xy-container/config.js +0 -7
  314. package/dist/node_modules/@unovis/ts/containers/xy-container/config.js.map +0 -1
  315. package/dist/node_modules/@unovis/ts/containers/xy-container/index.cjs +0 -4
  316. package/dist/node_modules/@unovis/ts/containers/xy-container/index.cjs.map +0 -1
  317. package/dist/node_modules/@unovis/ts/containers/xy-container/index.js +0 -186
  318. package/dist/node_modules/@unovis/ts/containers/xy-container/index.js.map +0 -1
  319. package/dist/node_modules/@unovis/ts/core/component/config.cjs +0 -2
  320. package/dist/node_modules/@unovis/ts/core/component/config.cjs.map +0 -1
  321. package/dist/node_modules/@unovis/ts/core/component/config.js +0 -9
  322. package/dist/node_modules/@unovis/ts/core/component/config.js.map +0 -1
  323. package/dist/node_modules/@unovis/ts/core/component/index.cjs +0 -2
  324. package/dist/node_modules/@unovis/ts/core/component/index.cjs.map +0 -1
  325. package/dist/node_modules/@unovis/ts/core/component/index.js +0 -69
  326. package/dist/node_modules/@unovis/ts/core/component/index.js.map +0 -1
  327. package/dist/node_modules/@unovis/ts/core/container/config.cjs +0 -2
  328. package/dist/node_modules/@unovis/ts/core/container/config.cjs.map +0 -1
  329. package/dist/node_modules/@unovis/ts/core/container/config.js +0 -25
  330. package/dist/node_modules/@unovis/ts/core/container/config.js.map +0 -1
  331. package/dist/node_modules/@unovis/ts/core/container/index.cjs +0 -2
  332. package/dist/node_modules/@unovis/ts/core/container/index.cjs.map +0 -1
  333. package/dist/node_modules/@unovis/ts/core/container/index.js +0 -74
  334. package/dist/node_modules/@unovis/ts/core/container/index.js.map +0 -1
  335. package/dist/node_modules/@unovis/ts/core/xy-component/config.cjs +0 -2
  336. package/dist/node_modules/@unovis/ts/core/xy-component/config.cjs.map +0 -1
  337. package/dist/node_modules/@unovis/ts/core/xy-component/config.js +0 -9
  338. package/dist/node_modules/@unovis/ts/core/xy-component/config.js.map +0 -1
  339. package/dist/node_modules/@unovis/ts/core/xy-component/index.cjs +0 -2
  340. package/dist/node_modules/@unovis/ts/core/xy-component/index.cjs.map +0 -1
  341. package/dist/node_modules/@unovis/ts/core/xy-component/index.js +0 -54
  342. package/dist/node_modules/@unovis/ts/core/xy-component/index.js.map +0 -1
  343. package/dist/node_modules/@unovis/ts/data-models/core.cjs +0 -2
  344. package/dist/node_modules/@unovis/ts/data-models/core.cjs.map +0 -1
  345. package/dist/node_modules/@unovis/ts/data-models/core.js +0 -15
  346. package/dist/node_modules/@unovis/ts/data-models/core.js.map +0 -1
  347. package/dist/node_modules/@unovis/ts/data-models/series.cjs +0 -2
  348. package/dist/node_modules/@unovis/ts/data-models/series.cjs.map +0 -1
  349. package/dist/node_modules/@unovis/ts/data-models/series.js +0 -17
  350. package/dist/node_modules/@unovis/ts/data-models/series.js.map +0 -1
  351. package/dist/node_modules/@unovis/ts/styles/colors.cjs +0 -2
  352. package/dist/node_modules/@unovis/ts/styles/colors.cjs.map +0 -1
  353. package/dist/node_modules/@unovis/ts/styles/colors.js +0 -19
  354. package/dist/node_modules/@unovis/ts/styles/colors.js.map +0 -1
  355. package/dist/node_modules/@unovis/ts/styles/index.cjs +0 -39
  356. package/dist/node_modules/@unovis/ts/styles/index.cjs.map +0 -1
  357. package/dist/node_modules/@unovis/ts/styles/index.js +0 -64
  358. package/dist/node_modules/@unovis/ts/styles/index.js.map +0 -1
  359. package/dist/node_modules/@unovis/ts/styles/patterns.cjs +0 -16
  360. package/dist/node_modules/@unovis/ts/styles/patterns.cjs.map +0 -1
  361. package/dist/node_modules/@unovis/ts/styles/patterns.js +0 -46
  362. package/dist/node_modules/@unovis/ts/styles/patterns.js.map +0 -1
  363. package/dist/node_modules/@unovis/ts/types/component.cjs +0 -2
  364. package/dist/node_modules/@unovis/ts/types/component.cjs.map +0 -1
  365. package/dist/node_modules/@unovis/ts/types/component.js +0 -13
  366. package/dist/node_modules/@unovis/ts/types/component.js.map +0 -1
  367. package/dist/node_modules/@unovis/ts/types/curve.cjs +0 -2
  368. package/dist/node_modules/@unovis/ts/types/curve.cjs.map +0 -1
  369. package/dist/node_modules/@unovis/ts/types/curve.js +0 -44
  370. package/dist/node_modules/@unovis/ts/types/curve.js.map +0 -1
  371. package/dist/node_modules/@unovis/ts/types/direction.cjs +0 -2
  372. package/dist/node_modules/@unovis/ts/types/direction.cjs.map +0 -1
  373. package/dist/node_modules/@unovis/ts/types/direction.js +0 -8
  374. package/dist/node_modules/@unovis/ts/types/direction.js.map +0 -1
  375. package/dist/node_modules/@unovis/ts/types/position.cjs +0 -2
  376. package/dist/node_modules/@unovis/ts/types/position.cjs.map +0 -1
  377. package/dist/node_modules/@unovis/ts/types/position.js +0 -23
  378. package/dist/node_modules/@unovis/ts/types/position.js.map +0 -1
  379. package/dist/node_modules/@unovis/ts/types/scale.cjs +0 -2
  380. package/dist/node_modules/@unovis/ts/types/scale.cjs.map +0 -1
  381. package/dist/node_modules/@unovis/ts/types/scale.js +0 -41
  382. package/dist/node_modules/@unovis/ts/types/scale.js.map +0 -1
  383. package/dist/node_modules/@unovis/ts/types/svg.cjs +0 -2
  384. package/dist/node_modules/@unovis/ts/types/svg.cjs.map +0 -1
  385. package/dist/node_modules/@unovis/ts/types/svg.js +0 -16
  386. package/dist/node_modules/@unovis/ts/types/svg.js.map +0 -1
  387. package/dist/node_modules/@unovis/ts/types/symbol.cjs +0 -2
  388. package/dist/node_modules/@unovis/ts/types/symbol.cjs.map +0 -1
  389. package/dist/node_modules/@unovis/ts/types/symbol.js +0 -25
  390. package/dist/node_modules/@unovis/ts/types/symbol.js.map +0 -1
  391. package/dist/node_modules/@unovis/ts/types/text.cjs +0 -2
  392. package/dist/node_modules/@unovis/ts/types/text.cjs.map +0 -1
  393. package/dist/node_modules/@unovis/ts/types/text.js +0 -23
  394. package/dist/node_modules/@unovis/ts/types/text.js.map +0 -1
  395. package/dist/node_modules/@unovis/ts/utils/color.cjs +0 -2
  396. package/dist/node_modules/@unovis/ts/utils/color.cjs.map +0 -1
  397. package/dist/node_modules/@unovis/ts/utils/color.js +0 -9
  398. package/dist/node_modules/@unovis/ts/utils/color.js.map +0 -1
  399. package/dist/node_modules/@unovis/ts/utils/d3.cjs +0 -2
  400. package/dist/node_modules/@unovis/ts/utils/d3.cjs.map +0 -1
  401. package/dist/node_modules/@unovis/ts/utils/d3.js +0 -13
  402. package/dist/node_modules/@unovis/ts/utils/d3.js.map +0 -1
  403. package/dist/node_modules/@unovis/ts/utils/data.cjs +0 -2
  404. package/dist/node_modules/@unovis/ts/utils/data.cjs.map +0 -1
  405. package/dist/node_modules/@unovis/ts/utils/data.js +0 -171
  406. package/dist/node_modules/@unovis/ts/utils/data.js.map +0 -1
  407. package/dist/node_modules/@unovis/ts/utils/misc.cjs +0 -2
  408. package/dist/node_modules/@unovis/ts/utils/misc.cjs.map +0 -1
  409. package/dist/node_modules/@unovis/ts/utils/misc.js +0 -29
  410. package/dist/node_modules/@unovis/ts/utils/misc.js.map +0 -1
  411. package/dist/node_modules/@unovis/ts/utils/path.cjs +0 -2
  412. package/dist/node_modules/@unovis/ts/utils/path.cjs.map +0 -1
  413. package/dist/node_modules/@unovis/ts/utils/path.js +0 -10
  414. package/dist/node_modules/@unovis/ts/utils/path.js.map +0 -1
  415. package/dist/node_modules/@unovis/ts/utils/resize-observer.cjs +0 -2
  416. package/dist/node_modules/@unovis/ts/utils/resize-observer.cjs.map +0 -1
  417. package/dist/node_modules/@unovis/ts/utils/resize-observer.js +0 -7
  418. package/dist/node_modules/@unovis/ts/utils/resize-observer.js.map +0 -1
  419. package/dist/node_modules/@unovis/ts/utils/text.cjs +0 -3
  420. package/dist/node_modules/@unovis/ts/utils/text.cjs.map +0 -1
  421. package/dist/node_modules/@unovis/ts/utils/text.js +0 -179
  422. package/dist/node_modules/@unovis/ts/utils/text.js.map +0 -1
  423. package/dist/node_modules/@unovis/vue/components/area/index.cjs +0 -2
  424. package/dist/node_modules/@unovis/vue/components/area/index.cjs.map +0 -1
  425. package/dist/node_modules/@unovis/vue/components/area/index.js +0 -49
  426. package/dist/node_modules/@unovis/vue/components/area/index.js.map +0 -1
  427. package/dist/node_modules/@unovis/vue/components/axis/index.cjs +0 -2
  428. package/dist/node_modules/@unovis/vue/components/axis/index.cjs.map +0 -1
  429. package/dist/node_modules/@unovis/vue/components/axis/index.js +0 -70
  430. package/dist/node_modules/@unovis/vue/components/axis/index.js.map +0 -1
  431. package/dist/node_modules/@unovis/vue/components/crosshair/index.cjs +0 -2
  432. package/dist/node_modules/@unovis/vue/components/crosshair/index.cjs.map +0 -1
  433. package/dist/node_modules/@unovis/vue/components/crosshair/index.js +0 -34
  434. package/dist/node_modules/@unovis/vue/components/crosshair/index.js.map +0 -1
  435. package/dist/node_modules/@unovis/vue/components/donut/index.cjs +0 -2
  436. package/dist/node_modules/@unovis/vue/components/donut/index.cjs.map +0 -1
  437. package/dist/node_modules/@unovis/vue/components/donut/index.js +0 -55
  438. package/dist/node_modules/@unovis/vue/components/donut/index.js.map +0 -1
  439. package/dist/node_modules/@unovis/vue/components/grouped-bar/index.cjs +0 -2
  440. package/dist/node_modules/@unovis/vue/components/grouped-bar/index.cjs.map +0 -1
  441. package/dist/node_modules/@unovis/vue/components/grouped-bar/index.js +0 -55
  442. package/dist/node_modules/@unovis/vue/components/grouped-bar/index.js.map +0 -1
  443. package/dist/node_modules/@unovis/vue/components/line/index.cjs +0 -2
  444. package/dist/node_modules/@unovis/vue/components/line/index.cjs.map +0 -1
  445. package/dist/node_modules/@unovis/vue/components/line/index.js +0 -51
  446. package/dist/node_modules/@unovis/vue/components/line/index.js.map +0 -1
  447. package/dist/node_modules/@unovis/vue/components/stacked-bar/index.cjs +0 -2
  448. package/dist/node_modules/@unovis/vue/components/stacked-bar/index.cjs.map +0 -1
  449. package/dist/node_modules/@unovis/vue/components/stacked-bar/index.js +0 -55
  450. package/dist/node_modules/@unovis/vue/components/stacked-bar/index.js.map +0 -1
  451. package/dist/node_modules/@unovis/vue/components/tooltip/index.cjs +0 -2
  452. package/dist/node_modules/@unovis/vue/components/tooltip/index.cjs.map +0 -1
  453. package/dist/node_modules/@unovis/vue/components/tooltip/index.js +0 -41
  454. package/dist/node_modules/@unovis/vue/components/tooltip/index.js.map +0 -1
  455. package/dist/node_modules/@unovis/vue/containers/single-container/index.cjs +0 -2
  456. package/dist/node_modules/@unovis/vue/containers/single-container/index.cjs.map +0 -1
  457. package/dist/node_modules/@unovis/vue/containers/single-container/index.js +0 -67
  458. package/dist/node_modules/@unovis/vue/containers/single-container/index.js.map +0 -1
  459. package/dist/node_modules/@unovis/vue/containers/xy-container/index.cjs +0 -2
  460. package/dist/node_modules/@unovis/vue/containers/xy-container/index.cjs.map +0 -1
  461. package/dist/node_modules/@unovis/vue/containers/xy-container/index.js +0 -103
  462. package/dist/node_modules/@unovis/vue/containers/xy-container/index.js.map +0 -1
  463. package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.cjs +0 -2
  464. package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.cjs.map +0 -1
  465. package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.js +0 -44
  466. package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.js.map +0 -1
  467. package/dist/node_modules/@unovis/vue/index.cjs +0 -2
  468. package/dist/node_modules/@unovis/vue/index.cjs.map +0 -1
  469. package/dist/node_modules/@unovis/vue/index.js +0 -11
  470. package/dist/node_modules/@unovis/vue/index.js.map +0 -1
  471. package/dist/node_modules/@unovis/vue/utils/context.cjs +0 -2
  472. package/dist/node_modules/@unovis/vue/utils/context.cjs.map +0 -1
  473. package/dist/node_modules/@unovis/vue/utils/context.js +0 -9
  474. package/dist/node_modules/@unovis/vue/utils/context.js.map +0 -1
  475. package/dist/node_modules/@unovis/vue/utils/props.cjs +0 -2
  476. package/dist/node_modules/@unovis/vue/utils/props.cjs.map +0 -1
  477. package/dist/node_modules/@unovis/vue/utils/props.js +0 -19
  478. package/dist/node_modules/@unovis/vue/utils/props.js.map +0 -1
  479. package/dist/node_modules/d3-array/src/ascending.cjs +0 -2
  480. package/dist/node_modules/d3-array/src/ascending.cjs.map +0 -1
  481. package/dist/node_modules/d3-array/src/ascending.js +0 -7
  482. package/dist/node_modules/d3-array/src/ascending.js.map +0 -1
  483. package/dist/node_modules/d3-array/src/bisect.cjs +0 -2
  484. package/dist/node_modules/d3-array/src/bisect.cjs.map +0 -1
  485. package/dist/node_modules/d3-array/src/bisect.js +0 -10
  486. package/dist/node_modules/d3-array/src/bisect.js.map +0 -1
  487. package/dist/node_modules/d3-array/src/bisector.cjs +0 -2
  488. package/dist/node_modules/d3-array/src/bisector.cjs.map +0 -1
  489. package/dist/node_modules/d3-array/src/bisector.js +0 -38
  490. package/dist/node_modules/d3-array/src/bisector.js.map +0 -1
  491. package/dist/node_modules/d3-array/src/descending.cjs +0 -2
  492. package/dist/node_modules/d3-array/src/descending.cjs.map +0 -1
  493. package/dist/node_modules/d3-array/src/descending.js +0 -7
  494. package/dist/node_modules/d3-array/src/descending.js.map +0 -1
  495. package/dist/node_modules/d3-array/src/extent.cjs +0 -2
  496. package/dist/node_modules/d3-array/src/extent.cjs.map +0 -1
  497. package/dist/node_modules/d3-array/src/extent.js +0 -10
  498. package/dist/node_modules/d3-array/src/extent.js.map +0 -1
  499. package/dist/node_modules/d3-array/src/max.cjs +0 -2
  500. package/dist/node_modules/d3-array/src/max.cjs.map +0 -1
  501. package/dist/node_modules/d3-array/src/max.js +0 -16
  502. package/dist/node_modules/d3-array/src/max.js.map +0 -1
  503. package/dist/node_modules/d3-array/src/mean.cjs +0 -2
  504. package/dist/node_modules/d3-array/src/mean.cjs.map +0 -1
  505. package/dist/node_modules/d3-array/src/mean.js +0 -16
  506. package/dist/node_modules/d3-array/src/mean.js.map +0 -1
  507. package/dist/node_modules/d3-array/src/merge.cjs +0 -2
  508. package/dist/node_modules/d3-array/src/merge.cjs.map +0 -1
  509. package/dist/node_modules/d3-array/src/merge.js +0 -11
  510. package/dist/node_modules/d3-array/src/merge.js.map +0 -1
  511. package/dist/node_modules/d3-array/src/min.cjs +0 -2
  512. package/dist/node_modules/d3-array/src/min.cjs.map +0 -1
  513. package/dist/node_modules/d3-array/src/min.js +0 -16
  514. package/dist/node_modules/d3-array/src/min.js.map +0 -1
  515. package/dist/node_modules/d3-array/src/number.cjs +0 -2
  516. package/dist/node_modules/d3-array/src/number.cjs.map +0 -1
  517. package/dist/node_modules/d3-array/src/number.js +0 -7
  518. package/dist/node_modules/d3-array/src/number.js.map +0 -1
  519. package/dist/node_modules/d3-array/src/quantile.cjs +0 -2
  520. package/dist/node_modules/d3-array/src/quantile.cjs.map +0 -1
  521. package/dist/node_modules/d3-array/src/quantile.js +0 -13
  522. package/dist/node_modules/d3-array/src/quantile.js.map +0 -1
  523. package/dist/node_modules/d3-array/src/range.cjs +0 -2
  524. package/dist/node_modules/d3-array/src/range.cjs.map +0 -1
  525. package/dist/node_modules/d3-array/src/range.js +0 -10
  526. package/dist/node_modules/d3-array/src/range.js.map +0 -1
  527. package/dist/node_modules/d3-array/src/sum.cjs +0 -2
  528. package/dist/node_modules/d3-array/src/sum.cjs.map +0 -1
  529. package/dist/node_modules/d3-array/src/sum.js +0 -16
  530. package/dist/node_modules/d3-array/src/sum.js.map +0 -1
  531. package/dist/node_modules/d3-array/src/ticks.cjs +0 -2
  532. package/dist/node_modules/d3-array/src/ticks.cjs.map +0 -1
  533. package/dist/node_modules/d3-array/src/ticks.js +0 -33
  534. package/dist/node_modules/d3-array/src/ticks.js.map +0 -1
  535. package/dist/node_modules/d3-axis/src/axis.cjs +0 -2
  536. package/dist/node_modules/d3-axis/src/axis.cjs.map +0 -1
  537. package/dist/node_modules/d3-axis/src/axis.js +0 -73
  538. package/dist/node_modules/d3-axis/src/axis.js.map +0 -1
  539. package/dist/node_modules/d3-axis/src/identity.cjs +0 -2
  540. package/dist/node_modules/d3-axis/src/identity.cjs.map +0 -1
  541. package/dist/node_modules/d3-axis/src/identity.js +0 -7
  542. package/dist/node_modules/d3-axis/src/identity.js.map +0 -1
  543. package/dist/node_modules/d3-color/src/color.cjs +0 -2
  544. package/dist/node_modules/d3-color/src/color.cjs.map +0 -1
  545. package/dist/node_modules/d3-color/src/color.js +0 -306
  546. package/dist/node_modules/d3-color/src/color.js.map +0 -1
  547. package/dist/node_modules/d3-color/src/define.cjs +0 -2
  548. package/dist/node_modules/d3-color/src/define.cjs.map +0 -1
  549. package/dist/node_modules/d3-color/src/define.js +0 -13
  550. package/dist/node_modules/d3-color/src/define.js.map +0 -1
  551. package/dist/node_modules/d3-dispatch/src/dispatch.cjs +0 -2
  552. package/dist/node_modules/d3-dispatch/src/dispatch.cjs.map +0 -1
  553. package/dist/node_modules/d3-dispatch/src/dispatch.js +0 -65
  554. package/dist/node_modules/d3-dispatch/src/dispatch.js.map +0 -1
  555. package/dist/node_modules/d3-ease/src/cubic.cjs +0 -2
  556. package/dist/node_modules/d3-ease/src/cubic.cjs.map +0 -1
  557. package/dist/node_modules/d3-ease/src/cubic.js +0 -7
  558. package/dist/node_modules/d3-ease/src/cubic.js.map +0 -1
  559. package/dist/node_modules/d3-ease/src/linear.cjs +0 -2
  560. package/dist/node_modules/d3-ease/src/linear.cjs.map +0 -1
  561. package/dist/node_modules/d3-ease/src/linear.js +0 -5
  562. package/dist/node_modules/d3-ease/src/linear.js.map +0 -1
  563. package/dist/node_modules/d3-format/src/defaultLocale.cjs +0 -2
  564. package/dist/node_modules/d3-format/src/defaultLocale.cjs.map +0 -1
  565. package/dist/node_modules/d3-format/src/defaultLocale.js +0 -16
  566. package/dist/node_modules/d3-format/src/defaultLocale.js.map +0 -1
  567. package/dist/node_modules/d3-format/src/exponent.cjs +0 -2
  568. package/dist/node_modules/d3-format/src/exponent.cjs.map +0 -1
  569. package/dist/node_modules/d3-format/src/exponent.js +0 -8
  570. package/dist/node_modules/d3-format/src/exponent.js.map +0 -1
  571. package/dist/node_modules/d3-format/src/formatDecimal.cjs +0 -2
  572. package/dist/node_modules/d3-format/src/formatDecimal.cjs.map +0 -1
  573. package/dist/node_modules/d3-format/src/formatDecimal.js +0 -16
  574. package/dist/node_modules/d3-format/src/formatDecimal.js.map +0 -1
  575. package/dist/node_modules/d3-format/src/formatGroup.cjs +0 -2
  576. package/dist/node_modules/d3-format/src/formatGroup.cjs.map +0 -1
  577. package/dist/node_modules/d3-format/src/formatGroup.js +0 -11
  578. package/dist/node_modules/d3-format/src/formatGroup.js.map +0 -1
  579. package/dist/node_modules/d3-format/src/formatNumerals.cjs +0 -2
  580. package/dist/node_modules/d3-format/src/formatNumerals.cjs.map +0 -1
  581. package/dist/node_modules/d3-format/src/formatNumerals.js +0 -11
  582. package/dist/node_modules/d3-format/src/formatNumerals.js.map +0 -1
  583. package/dist/node_modules/d3-format/src/formatPrefixAuto.cjs +0 -2
  584. package/dist/node_modules/d3-format/src/formatPrefixAuto.cjs.map +0 -1
  585. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -13
  586. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
  587. package/dist/node_modules/d3-format/src/formatRounded.cjs +0 -2
  588. package/dist/node_modules/d3-format/src/formatRounded.cjs.map +0 -1
  589. package/dist/node_modules/d3-format/src/formatRounded.js +0 -11
  590. package/dist/node_modules/d3-format/src/formatRounded.js.map +0 -1
  591. package/dist/node_modules/d3-format/src/formatSpecifier.cjs +0 -2
  592. package/dist/node_modules/d3-format/src/formatSpecifier.cjs.map +0 -1
  593. package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -29
  594. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
  595. package/dist/node_modules/d3-format/src/formatTrim.cjs +0 -2
  596. package/dist/node_modules/d3-format/src/formatTrim.cjs.map +0 -1
  597. package/dist/node_modules/d3-format/src/formatTrim.js +0 -20
  598. package/dist/node_modules/d3-format/src/formatTrim.js.map +0 -1
  599. package/dist/node_modules/d3-format/src/formatTypes.cjs +0 -2
  600. package/dist/node_modules/d3-format/src/formatTypes.cjs.map +0 -1
  601. package/dist/node_modules/d3-format/src/formatTypes.js +0 -22
  602. package/dist/node_modules/d3-format/src/formatTypes.js.map +0 -1
  603. package/dist/node_modules/d3-format/src/identity.cjs +0 -2
  604. package/dist/node_modules/d3-format/src/identity.cjs.map +0 -1
  605. package/dist/node_modules/d3-format/src/identity.js +0 -7
  606. package/dist/node_modules/d3-format/src/identity.js.map +0 -1
  607. package/dist/node_modules/d3-format/src/locale.cjs +0 -2
  608. package/dist/node_modules/d3-format/src/locale.cjs.map +0 -1
  609. package/dist/node_modules/d3-format/src/locale.js +0 -69
  610. package/dist/node_modules/d3-format/src/locale.js.map +0 -1
  611. package/dist/node_modules/d3-format/src/precisionFixed.cjs +0 -2
  612. package/dist/node_modules/d3-format/src/precisionFixed.cjs.map +0 -1
  613. package/dist/node_modules/d3-format/src/precisionFixed.js +0 -8
  614. package/dist/node_modules/d3-format/src/precisionFixed.js.map +0 -1
  615. package/dist/node_modules/d3-format/src/precisionPrefix.cjs +0 -2
  616. package/dist/node_modules/d3-format/src/precisionPrefix.cjs.map +0 -1
  617. package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -8
  618. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
  619. package/dist/node_modules/d3-format/src/precisionRound.cjs +0 -2
  620. package/dist/node_modules/d3-format/src/precisionRound.cjs.map +0 -1
  621. package/dist/node_modules/d3-format/src/precisionRound.js +0 -8
  622. package/dist/node_modules/d3-format/src/precisionRound.js.map +0 -1
  623. package/dist/node_modules/d3-interpolate/src/array.cjs +0 -2
  624. package/dist/node_modules/d3-interpolate/src/array.cjs.map +0 -1
  625. package/dist/node_modules/d3-interpolate/src/array.js +0 -14
  626. package/dist/node_modules/d3-interpolate/src/array.js.map +0 -1
  627. package/dist/node_modules/d3-interpolate/src/color.cjs +0 -2
  628. package/dist/node_modules/d3-interpolate/src/color.cjs.map +0 -1
  629. package/dist/node_modules/d3-interpolate/src/color.js +0 -25
  630. package/dist/node_modules/d3-interpolate/src/color.js.map +0 -1
  631. package/dist/node_modules/d3-interpolate/src/constant.cjs +0 -2
  632. package/dist/node_modules/d3-interpolate/src/constant.cjs.map +0 -1
  633. package/dist/node_modules/d3-interpolate/src/constant.js +0 -5
  634. package/dist/node_modules/d3-interpolate/src/constant.js.map +0 -1
  635. package/dist/node_modules/d3-interpolate/src/date.cjs +0 -2
  636. package/dist/node_modules/d3-interpolate/src/date.cjs.map +0 -1
  637. package/dist/node_modules/d3-interpolate/src/date.js +0 -10
  638. package/dist/node_modules/d3-interpolate/src/date.js.map +0 -1
  639. package/dist/node_modules/d3-interpolate/src/number.cjs +0 -2
  640. package/dist/node_modules/d3-interpolate/src/number.cjs.map +0 -1
  641. package/dist/node_modules/d3-interpolate/src/number.js +0 -9
  642. package/dist/node_modules/d3-interpolate/src/number.js.map +0 -1
  643. package/dist/node_modules/d3-interpolate/src/numberArray.cjs +0 -2
  644. package/dist/node_modules/d3-interpolate/src/numberArray.cjs.map +0 -1
  645. package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -16
  646. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
  647. package/dist/node_modules/d3-interpolate/src/object.cjs +0 -2
  648. package/dist/node_modules/d3-interpolate/src/object.cjs.map +0 -1
  649. package/dist/node_modules/d3-interpolate/src/object.js +0 -15
  650. package/dist/node_modules/d3-interpolate/src/object.js.map +0 -1
  651. package/dist/node_modules/d3-interpolate/src/piecewise.cjs +0 -2
  652. package/dist/node_modules/d3-interpolate/src/piecewise.cjs.map +0 -1
  653. package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -13
  654. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +0 -1
  655. package/dist/node_modules/d3-interpolate/src/rgb.cjs +0 -2
  656. package/dist/node_modules/d3-interpolate/src/rgb.cjs.map +0 -1
  657. package/dist/node_modules/d3-interpolate/src/rgb.js +0 -16
  658. package/dist/node_modules/d3-interpolate/src/rgb.js.map +0 -1
  659. package/dist/node_modules/d3-interpolate/src/round.cjs +0 -2
  660. package/dist/node_modules/d3-interpolate/src/round.cjs.map +0 -1
  661. package/dist/node_modules/d3-interpolate/src/round.js +0 -9
  662. package/dist/node_modules/d3-interpolate/src/round.js.map +0 -1
  663. package/dist/node_modules/d3-interpolate/src/string.cjs +0 -2
  664. package/dist/node_modules/d3-interpolate/src/string.cjs.map +0 -1
  665. package/dist/node_modules/d3-interpolate/src/string.js +0 -25
  666. package/dist/node_modules/d3-interpolate/src/string.js.map +0 -1
  667. package/dist/node_modules/d3-interpolate/src/transform/decompose.cjs +0 -2
  668. package/dist/node_modules/d3-interpolate/src/transform/decompose.cjs.map +0 -1
  669. package/dist/node_modules/d3-interpolate/src/transform/decompose.js +0 -24
  670. package/dist/node_modules/d3-interpolate/src/transform/decompose.js.map +0 -1
  671. package/dist/node_modules/d3-interpolate/src/transform/index.cjs +0 -2
  672. package/dist/node_modules/d3-interpolate/src/transform/index.cjs.map +0 -1
  673. package/dist/node_modules/d3-interpolate/src/transform/index.js +0 -38
  674. package/dist/node_modules/d3-interpolate/src/transform/index.js.map +0 -1
  675. package/dist/node_modules/d3-interpolate/src/transform/parse.cjs +0 -2
  676. package/dist/node_modules/d3-interpolate/src/transform/parse.cjs.map +0 -1
  677. package/dist/node_modules/d3-interpolate/src/transform/parse.js +0 -14
  678. package/dist/node_modules/d3-interpolate/src/transform/parse.js.map +0 -1
  679. package/dist/node_modules/d3-interpolate/src/value.cjs +0 -2
  680. package/dist/node_modules/d3-interpolate/src/value.cjs.map +0 -1
  681. package/dist/node_modules/d3-interpolate/src/value.js +0 -17
  682. package/dist/node_modules/d3-interpolate/src/value.js.map +0 -1
  683. package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.cjs +0 -3
  684. package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.cjs.map +0 -1
  685. package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.js +0 -302
  686. package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.js.map +0 -1
  687. package/dist/node_modules/d3-path/src/path.cjs +0 -2
  688. package/dist/node_modules/d3-path/src/path.cjs.map +0 -1
  689. package/dist/node_modules/d3-path/src/path.js +0 -65
  690. package/dist/node_modules/d3-path/src/path.js.map +0 -1
  691. package/dist/node_modules/d3-scale/src/band.cjs +0 -2
  692. package/dist/node_modules/d3-scale/src/band.cjs.map +0 -1
  693. package/dist/node_modules/d3-scale/src/band.js +0 -52
  694. package/dist/node_modules/d3-scale/src/band.js.map +0 -1
  695. package/dist/node_modules/d3-scale/src/constant.cjs +0 -2
  696. package/dist/node_modules/d3-scale/src/constant.cjs.map +0 -1
  697. package/dist/node_modules/d3-scale/src/constant.js +0 -9
  698. package/dist/node_modules/d3-scale/src/constant.js.map +0 -1
  699. package/dist/node_modules/d3-scale/src/continuous.cjs +0 -2
  700. package/dist/node_modules/d3-scale/src/continuous.cjs.map +0 -1
  701. package/dist/node_modules/d3-scale/src/continuous.js +0 -76
  702. package/dist/node_modules/d3-scale/src/continuous.js.map +0 -1
  703. package/dist/node_modules/d3-scale/src/diverging.cjs +0 -2
  704. package/dist/node_modules/d3-scale/src/diverging.cjs.map +0 -1
  705. package/dist/node_modules/d3-scale/src/diverging.js +0 -41
  706. package/dist/node_modules/d3-scale/src/diverging.js.map +0 -1
  707. package/dist/node_modules/d3-scale/src/identity.cjs +0 -2
  708. package/dist/node_modules/d3-scale/src/identity.cjs.map +0 -1
  709. package/dist/node_modules/d3-scale/src/identity.js +0 -19
  710. package/dist/node_modules/d3-scale/src/identity.js.map +0 -1
  711. package/dist/node_modules/d3-scale/src/init.cjs +0 -2
  712. package/dist/node_modules/d3-scale/src/init.cjs.map +0 -1
  713. package/dist/node_modules/d3-scale/src/init.js +0 -33
  714. package/dist/node_modules/d3-scale/src/init.js.map +0 -1
  715. package/dist/node_modules/d3-scale/src/linear.cjs +0 -2
  716. package/dist/node_modules/d3-scale/src/linear.cjs.map +0 -1
  717. package/dist/node_modules/d3-scale/src/linear.js +0 -40
  718. package/dist/node_modules/d3-scale/src/linear.js.map +0 -1
  719. package/dist/node_modules/d3-scale/src/log.cjs +0 -2
  720. package/dist/node_modules/d3-scale/src/log.cjs.map +0 -1
  721. package/dist/node_modules/d3-scale/src/log.js +0 -87
  722. package/dist/node_modules/d3-scale/src/log.js.map +0 -1
  723. package/dist/node_modules/d3-scale/src/nice.cjs +0 -2
  724. package/dist/node_modules/d3-scale/src/nice.cjs.map +0 -1
  725. package/dist/node_modules/d3-scale/src/nice.js +0 -9
  726. package/dist/node_modules/d3-scale/src/nice.js.map +0 -1
  727. package/dist/node_modules/d3-scale/src/number.cjs +0 -2
  728. package/dist/node_modules/d3-scale/src/number.cjs.map +0 -1
  729. package/dist/node_modules/d3-scale/src/number.js +0 -7
  730. package/dist/node_modules/d3-scale/src/number.js.map +0 -1
  731. package/dist/node_modules/d3-scale/src/ordinal.cjs +0 -2
  732. package/dist/node_modules/d3-scale/src/ordinal.cjs.map +0 -1
  733. package/dist/node_modules/d3-scale/src/ordinal.js +0 -32
  734. package/dist/node_modules/d3-scale/src/ordinal.js.map +0 -1
  735. package/dist/node_modules/d3-scale/src/pow.cjs +0 -2
  736. package/dist/node_modules/d3-scale/src/pow.cjs.map +0 -1
  737. package/dist/node_modules/d3-scale/src/pow.js +0 -38
  738. package/dist/node_modules/d3-scale/src/pow.js.map +0 -1
  739. package/dist/node_modules/d3-scale/src/quantile.cjs +0 -2
  740. package/dist/node_modules/d3-scale/src/quantile.cjs.map +0 -1
  741. package/dist/node_modules/d3-scale/src/quantile.js +0 -39
  742. package/dist/node_modules/d3-scale/src/quantile.js.map +0 -1
  743. package/dist/node_modules/d3-scale/src/quantize.cjs +0 -2
  744. package/dist/node_modules/d3-scale/src/quantize.cjs.map +0 -1
  745. package/dist/node_modules/d3-scale/src/quantize.js +0 -32
  746. package/dist/node_modules/d3-scale/src/quantize.js.map +0 -1
  747. package/dist/node_modules/d3-scale/src/sequential.cjs +0 -2
  748. package/dist/node_modules/d3-scale/src/sequential.cjs.map +0 -1
  749. package/dist/node_modules/d3-scale/src/sequential.js +0 -43
  750. package/dist/node_modules/d3-scale/src/sequential.js.map +0 -1
  751. package/dist/node_modules/d3-scale/src/symlog.cjs +0 -2
  752. package/dist/node_modules/d3-scale/src/symlog.cjs.map +0 -1
  753. package/dist/node_modules/d3-scale/src/symlog.js +0 -30
  754. package/dist/node_modules/d3-scale/src/symlog.js.map +0 -1
  755. package/dist/node_modules/d3-scale/src/threshold.cjs +0 -2
  756. package/dist/node_modules/d3-scale/src/threshold.cjs.map +0 -1
  757. package/dist/node_modules/d3-scale/src/threshold.js +0 -24
  758. package/dist/node_modules/d3-scale/src/threshold.js.map +0 -1
  759. package/dist/node_modules/d3-scale/src/tickFormat.cjs +0 -2
  760. package/dist/node_modules/d3-scale/src/tickFormat.cjs.map +0 -1
  761. package/dist/node_modules/d3-scale/src/tickFormat.js +0 -33
  762. package/dist/node_modules/d3-scale/src/tickFormat.js.map +0 -1
  763. package/dist/node_modules/d3-scale/src/time.cjs +0 -2
  764. package/dist/node_modules/d3-scale/src/time.cjs.map +0 -1
  765. package/dist/node_modules/d3-scale/src/time.js +0 -47
  766. package/dist/node_modules/d3-scale/src/time.js.map +0 -1
  767. package/dist/node_modules/d3-scale/src/utcTime.cjs +0 -2
  768. package/dist/node_modules/d3-scale/src/utcTime.cjs.map +0 -1
  769. package/dist/node_modules/d3-scale/src/utcTime.js +0 -18
  770. package/dist/node_modules/d3-scale/src/utcTime.js.map +0 -1
  771. package/dist/node_modules/d3-selection/src/array.cjs +0 -2
  772. package/dist/node_modules/d3-selection/src/array.cjs.map +0 -1
  773. package/dist/node_modules/d3-selection/src/array.js +0 -7
  774. package/dist/node_modules/d3-selection/src/array.js.map +0 -1
  775. package/dist/node_modules/d3-selection/src/constant.cjs +0 -2
  776. package/dist/node_modules/d3-selection/src/constant.cjs.map +0 -1
  777. package/dist/node_modules/d3-selection/src/constant.js +0 -9
  778. package/dist/node_modules/d3-selection/src/constant.js.map +0 -1
  779. package/dist/node_modules/d3-selection/src/creator.cjs +0 -2
  780. package/dist/node_modules/d3-selection/src/creator.cjs.map +0 -1
  781. package/dist/node_modules/d3-selection/src/creator.js +0 -21
  782. package/dist/node_modules/d3-selection/src/creator.js.map +0 -1
  783. package/dist/node_modules/d3-selection/src/matcher.cjs +0 -2
  784. package/dist/node_modules/d3-selection/src/matcher.cjs.map +0 -1
  785. package/dist/node_modules/d3-selection/src/matcher.js +0 -15
  786. package/dist/node_modules/d3-selection/src/matcher.js.map +0 -1
  787. package/dist/node_modules/d3-selection/src/namespace.cjs +0 -2
  788. package/dist/node_modules/d3-selection/src/namespace.cjs.map +0 -1
  789. package/dist/node_modules/d3-selection/src/namespace.js +0 -9
  790. package/dist/node_modules/d3-selection/src/namespace.js.map +0 -1
  791. package/dist/node_modules/d3-selection/src/namespaces.cjs +0 -2
  792. package/dist/node_modules/d3-selection/src/namespaces.cjs.map +0 -1
  793. package/dist/node_modules/d3-selection/src/namespaces.js +0 -13
  794. package/dist/node_modules/d3-selection/src/namespaces.js.map +0 -1
  795. package/dist/node_modules/d3-selection/src/pointer.cjs +0 -2
  796. package/dist/node_modules/d3-selection/src/pointer.cjs.map +0 -1
  797. package/dist/node_modules/d3-selection/src/pointer.js +0 -19
  798. package/dist/node_modules/d3-selection/src/pointer.js.map +0 -1
  799. package/dist/node_modules/d3-selection/src/select.cjs +0 -2
  800. package/dist/node_modules/d3-selection/src/select.cjs.map +0 -1
  801. package/dist/node_modules/d3-selection/src/select.js +0 -8
  802. package/dist/node_modules/d3-selection/src/select.js.map +0 -1
  803. package/dist/node_modules/d3-selection/src/selection/append.cjs +0 -2
  804. package/dist/node_modules/d3-selection/src/selection/append.cjs.map +0 -1
  805. package/dist/node_modules/d3-selection/src/selection/append.js +0 -11
  806. package/dist/node_modules/d3-selection/src/selection/append.js.map +0 -1
  807. package/dist/node_modules/d3-selection/src/selection/attr.cjs +0 -2
  808. package/dist/node_modules/d3-selection/src/selection/attr.cjs.map +0 -1
  809. package/dist/node_modules/d3-selection/src/selection/attr.js +0 -45
  810. package/dist/node_modules/d3-selection/src/selection/attr.js.map +0 -1
  811. package/dist/node_modules/d3-selection/src/selection/call.cjs +0 -2
  812. package/dist/node_modules/d3-selection/src/selection/call.cjs.map +0 -1
  813. package/dist/node_modules/d3-selection/src/selection/call.js +0 -8
  814. package/dist/node_modules/d3-selection/src/selection/call.js.map +0 -1
  815. package/dist/node_modules/d3-selection/src/selection/classed.cjs +0 -2
  816. package/dist/node_modules/d3-selection/src/selection/classed.cjs.map +0 -1
  817. package/dist/node_modules/d3-selection/src/selection/classed.js +0 -55
  818. package/dist/node_modules/d3-selection/src/selection/classed.js.map +0 -1
  819. package/dist/node_modules/d3-selection/src/selection/clone.cjs +0 -2
  820. package/dist/node_modules/d3-selection/src/selection/clone.cjs.map +0 -1
  821. package/dist/node_modules/d3-selection/src/selection/clone.js +0 -15
  822. package/dist/node_modules/d3-selection/src/selection/clone.js.map +0 -1
  823. package/dist/node_modules/d3-selection/src/selection/data.cjs +0 -2
  824. package/dist/node_modules/d3-selection/src/selection/data.cjs.map +0 -1
  825. package/dist/node_modules/d3-selection/src/selection/data.js +0 -43
  826. package/dist/node_modules/d3-selection/src/selection/data.js.map +0 -1
  827. package/dist/node_modules/d3-selection/src/selection/datum.cjs +0 -2
  828. package/dist/node_modules/d3-selection/src/selection/datum.cjs.map +0 -1
  829. package/dist/node_modules/d3-selection/src/selection/datum.js +0 -7
  830. package/dist/node_modules/d3-selection/src/selection/datum.js.map +0 -1
  831. package/dist/node_modules/d3-selection/src/selection/dispatch.cjs +0 -2
  832. package/dist/node_modules/d3-selection/src/selection/dispatch.cjs.map +0 -1
  833. package/dist/node_modules/d3-selection/src/selection/dispatch.js +0 -22
  834. package/dist/node_modules/d3-selection/src/selection/dispatch.js.map +0 -1
  835. package/dist/node_modules/d3-selection/src/selection/each.cjs +0 -2
  836. package/dist/node_modules/d3-selection/src/selection/each.cjs.map +0 -1
  837. package/dist/node_modules/d3-selection/src/selection/each.js +0 -10
  838. package/dist/node_modules/d3-selection/src/selection/each.js.map +0 -1
  839. package/dist/node_modules/d3-selection/src/selection/empty.cjs +0 -2
  840. package/dist/node_modules/d3-selection/src/selection/empty.cjs.map +0 -1
  841. package/dist/node_modules/d3-selection/src/selection/empty.js +0 -7
  842. package/dist/node_modules/d3-selection/src/selection/empty.js.map +0 -1
  843. package/dist/node_modules/d3-selection/src/selection/enter.cjs +0 -2
  844. package/dist/node_modules/d3-selection/src/selection/enter.cjs.map +0 -1
  845. package/dist/node_modules/d3-selection/src/selection/enter.js +0 -28
  846. package/dist/node_modules/d3-selection/src/selection/enter.js.map +0 -1
  847. package/dist/node_modules/d3-selection/src/selection/exit.cjs +0 -2
  848. package/dist/node_modules/d3-selection/src/selection/exit.cjs.map +0 -1
  849. package/dist/node_modules/d3-selection/src/selection/exit.js +0 -9
  850. package/dist/node_modules/d3-selection/src/selection/exit.js.map +0 -1
  851. package/dist/node_modules/d3-selection/src/selection/filter.cjs +0 -2
  852. package/dist/node_modules/d3-selection/src/selection/filter.cjs.map +0 -1
  853. package/dist/node_modules/d3-selection/src/selection/filter.js +0 -13
  854. package/dist/node_modules/d3-selection/src/selection/filter.js.map +0 -1
  855. package/dist/node_modules/d3-selection/src/selection/html.cjs +0 -2
  856. package/dist/node_modules/d3-selection/src/selection/html.cjs.map +0 -1
  857. package/dist/node_modules/d3-selection/src/selection/html.js +0 -21
  858. package/dist/node_modules/d3-selection/src/selection/html.js.map +0 -1
  859. package/dist/node_modules/d3-selection/src/selection/index.cjs +0 -2
  860. package/dist/node_modules/d3-selection/src/selection/index.cjs.map +0 -1
  861. package/dist/node_modules/d3-selection/src/selection/index.js +0 -88
  862. package/dist/node_modules/d3-selection/src/selection/index.js.map +0 -1
  863. package/dist/node_modules/d3-selection/src/selection/insert.cjs +0 -2
  864. package/dist/node_modules/d3-selection/src/selection/insert.cjs.map +0 -1
  865. package/dist/node_modules/d3-selection/src/selection/insert.js +0 -15
  866. package/dist/node_modules/d3-selection/src/selection/insert.js.map +0 -1
  867. package/dist/node_modules/d3-selection/src/selection/iterator.cjs +0 -2
  868. package/dist/node_modules/d3-selection/src/selection/iterator.cjs.map +0 -1
  869. package/dist/node_modules/d3-selection/src/selection/iterator.js +0 -9
  870. package/dist/node_modules/d3-selection/src/selection/iterator.js.map +0 -1
  871. package/dist/node_modules/d3-selection/src/selection/join.cjs +0 -2
  872. package/dist/node_modules/d3-selection/src/selection/join.cjs.map +0 -1
  873. package/dist/node_modules/d3-selection/src/selection/join.js +0 -8
  874. package/dist/node_modules/d3-selection/src/selection/join.js.map +0 -1
  875. package/dist/node_modules/d3-selection/src/selection/lower.cjs +0 -2
  876. package/dist/node_modules/d3-selection/src/selection/lower.cjs.map +0 -1
  877. package/dist/node_modules/d3-selection/src/selection/lower.js +0 -10
  878. package/dist/node_modules/d3-selection/src/selection/lower.js.map +0 -1
  879. package/dist/node_modules/d3-selection/src/selection/merge.cjs +0 -2
  880. package/dist/node_modules/d3-selection/src/selection/merge.cjs.map +0 -1
  881. package/dist/node_modules/d3-selection/src/selection/merge.js +0 -13
  882. package/dist/node_modules/d3-selection/src/selection/merge.js.map +0 -1
  883. package/dist/node_modules/d3-selection/src/selection/node.cjs +0 -2
  884. package/dist/node_modules/d3-selection/src/selection/node.cjs.map +0 -1
  885. package/dist/node_modules/d3-selection/src/selection/node.js +0 -12
  886. package/dist/node_modules/d3-selection/src/selection/node.js.map +0 -1
  887. package/dist/node_modules/d3-selection/src/selection/nodes.cjs +0 -2
  888. package/dist/node_modules/d3-selection/src/selection/nodes.cjs.map +0 -1
  889. package/dist/node_modules/d3-selection/src/selection/nodes.js +0 -7
  890. package/dist/node_modules/d3-selection/src/selection/nodes.js.map +0 -1
  891. package/dist/node_modules/d3-selection/src/selection/on.cjs +0 -2
  892. package/dist/node_modules/d3-selection/src/selection/on.cjs.map +0 -1
  893. package/dist/node_modules/d3-selection/src/selection/on.js +0 -53
  894. package/dist/node_modules/d3-selection/src/selection/on.js.map +0 -1
  895. package/dist/node_modules/d3-selection/src/selection/order.cjs +0 -2
  896. package/dist/node_modules/d3-selection/src/selection/order.cjs.map +0 -1
  897. package/dist/node_modules/d3-selection/src/selection/order.js +0 -10
  898. package/dist/node_modules/d3-selection/src/selection/order.js.map +0 -1
  899. package/dist/node_modules/d3-selection/src/selection/property.cjs +0 -2
  900. package/dist/node_modules/d3-selection/src/selection/property.cjs.map +0 -1
  901. package/dist/node_modules/d3-selection/src/selection/property.js +0 -23
  902. package/dist/node_modules/d3-selection/src/selection/property.js.map +0 -1
  903. package/dist/node_modules/d3-selection/src/selection/raise.cjs +0 -2
  904. package/dist/node_modules/d3-selection/src/selection/raise.cjs.map +0 -1
  905. package/dist/node_modules/d3-selection/src/selection/raise.js +0 -10
  906. package/dist/node_modules/d3-selection/src/selection/raise.js.map +0 -1
  907. package/dist/node_modules/d3-selection/src/selection/remove.cjs +0 -2
  908. package/dist/node_modules/d3-selection/src/selection/remove.cjs.map +0 -1
  909. package/dist/node_modules/d3-selection/src/selection/remove.js +0 -11
  910. package/dist/node_modules/d3-selection/src/selection/remove.js.map +0 -1
  911. package/dist/node_modules/d3-selection/src/selection/select.cjs +0 -2
  912. package/dist/node_modules/d3-selection/src/selection/select.cjs.map +0 -1
  913. package/dist/node_modules/d3-selection/src/selection/select.js +0 -13
  914. package/dist/node_modules/d3-selection/src/selection/select.js.map +0 -1
  915. package/dist/node_modules/d3-selection/src/selection/selectAll.cjs +0 -2
  916. package/dist/node_modules/d3-selection/src/selection/selectAll.cjs.map +0 -1
  917. package/dist/node_modules/d3-selection/src/selection/selectAll.js +0 -19
  918. package/dist/node_modules/d3-selection/src/selection/selectAll.js.map +0 -1
  919. package/dist/node_modules/d3-selection/src/selection/selectChild.cjs +0 -2
  920. package/dist/node_modules/d3-selection/src/selection/selectChild.cjs.map +0 -1
  921. package/dist/node_modules/d3-selection/src/selection/selectChild.js +0 -17
  922. package/dist/node_modules/d3-selection/src/selection/selectChild.js.map +0 -1
  923. package/dist/node_modules/d3-selection/src/selection/selectChildren.cjs +0 -2
  924. package/dist/node_modules/d3-selection/src/selection/selectChildren.cjs.map +0 -1
  925. package/dist/node_modules/d3-selection/src/selection/selectChildren.js +0 -17
  926. package/dist/node_modules/d3-selection/src/selection/selectChildren.js.map +0 -1
  927. package/dist/node_modules/d3-selection/src/selection/size.cjs +0 -2
  928. package/dist/node_modules/d3-selection/src/selection/size.cjs.map +0 -1
  929. package/dist/node_modules/d3-selection/src/selection/size.js +0 -9
  930. package/dist/node_modules/d3-selection/src/selection/size.js.map +0 -1
  931. package/dist/node_modules/d3-selection/src/selection/sort.cjs +0 -2
  932. package/dist/node_modules/d3-selection/src/selection/sort.cjs.map +0 -1
  933. package/dist/node_modules/d3-selection/src/selection/sort.js +0 -20
  934. package/dist/node_modules/d3-selection/src/selection/sort.js.map +0 -1
  935. package/dist/node_modules/d3-selection/src/selection/sparse.cjs +0 -2
  936. package/dist/node_modules/d3-selection/src/selection/sparse.cjs.map +0 -1
  937. package/dist/node_modules/d3-selection/src/selection/sparse.js +0 -7
  938. package/dist/node_modules/d3-selection/src/selection/sparse.js.map +0 -1
  939. package/dist/node_modules/d3-selection/src/selection/style.cjs +0 -2
  940. package/dist/node_modules/d3-selection/src/selection/style.cjs.map +0 -1
  941. package/dist/node_modules/d3-selection/src/selection/style.js +0 -28
  942. package/dist/node_modules/d3-selection/src/selection/style.js.map +0 -1
  943. package/dist/node_modules/d3-selection/src/selection/text.cjs +0 -2
  944. package/dist/node_modules/d3-selection/src/selection/text.cjs.map +0 -1
  945. package/dist/node_modules/d3-selection/src/selection/text.js +0 -21
  946. package/dist/node_modules/d3-selection/src/selection/text.js.map +0 -1
  947. package/dist/node_modules/d3-selection/src/selector.cjs +0 -2
  948. package/dist/node_modules/d3-selection/src/selector.cjs.map +0 -1
  949. package/dist/node_modules/d3-selection/src/selector.js +0 -11
  950. package/dist/node_modules/d3-selection/src/selector.js.map +0 -1
  951. package/dist/node_modules/d3-selection/src/selectorAll.cjs +0 -2
  952. package/dist/node_modules/d3-selection/src/selectorAll.cjs.map +0 -1
  953. package/dist/node_modules/d3-selection/src/selectorAll.js +0 -12
  954. package/dist/node_modules/d3-selection/src/selectorAll.js.map +0 -1
  955. package/dist/node_modules/d3-selection/src/sourceEvent.cjs +0 -2
  956. package/dist/node_modules/d3-selection/src/sourceEvent.cjs.map +0 -1
  957. package/dist/node_modules/d3-selection/src/sourceEvent.js +0 -9
  958. package/dist/node_modules/d3-selection/src/sourceEvent.js.map +0 -1
  959. package/dist/node_modules/d3-selection/src/window.cjs +0 -2
  960. package/dist/node_modules/d3-selection/src/window.cjs.map +0 -1
  961. package/dist/node_modules/d3-selection/src/window.js +0 -7
  962. package/dist/node_modules/d3-selection/src/window.js.map +0 -1
  963. package/dist/node_modules/d3-shape/src/arc.cjs +0 -2
  964. package/dist/node_modules/d3-shape/src/arc.cjs.map +0 -1
  965. package/dist/node_modules/d3-shape/src/arc.js +0 -86
  966. package/dist/node_modules/d3-shape/src/arc.js.map +0 -1
  967. package/dist/node_modules/d3-shape/src/area.cjs +0 -2
  968. package/dist/node_modules/d3-shape/src/area.cjs.map +0 -1
  969. package/dist/node_modules/d3-shape/src/area.js +0 -57
  970. package/dist/node_modules/d3-shape/src/area.js.map +0 -1
  971. package/dist/node_modules/d3-shape/src/array.cjs +0 -2
  972. package/dist/node_modules/d3-shape/src/array.cjs.map +0 -1
  973. package/dist/node_modules/d3-shape/src/array.js +0 -7
  974. package/dist/node_modules/d3-shape/src/array.js.map +0 -1
  975. package/dist/node_modules/d3-shape/src/constant.cjs +0 -2
  976. package/dist/node_modules/d3-shape/src/constant.cjs.map +0 -1
  977. package/dist/node_modules/d3-shape/src/constant.js +0 -9
  978. package/dist/node_modules/d3-shape/src/constant.js.map +0 -1
  979. package/dist/node_modules/d3-shape/src/curve/basis.cjs +0 -2
  980. package/dist/node_modules/d3-shape/src/curve/basis.cjs.map +0 -1
  981. package/dist/node_modules/d3-shape/src/curve/basis.js +0 -61
  982. package/dist/node_modules/d3-shape/src/curve/basis.js.map +0 -1
  983. package/dist/node_modules/d3-shape/src/curve/basisClosed.cjs +0 -2
  984. package/dist/node_modules/d3-shape/src/curve/basisClosed.cjs.map +0 -1
  985. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -52
  986. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +0 -1
  987. package/dist/node_modules/d3-shape/src/curve/basisOpen.cjs +0 -2
  988. package/dist/node_modules/d3-shape/src/curve/basisOpen.cjs.map +0 -1
  989. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -47
  990. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +0 -1
  991. package/dist/node_modules/d3-shape/src/curve/bundle.cjs +0 -2
  992. package/dist/node_modules/d3-shape/src/curve/bundle.cjs.map +0 -1
  993. package/dist/node_modules/d3-shape/src/curve/bundle.js +0 -34
  994. package/dist/node_modules/d3-shape/src/curve/bundle.js.map +0 -1
  995. package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +0 -2
  996. package/dist/node_modules/d3-shape/src/curve/cardinal.cjs.map +0 -1
  997. package/dist/node_modules/d3-shape/src/curve/cardinal.js +0 -66
  998. package/dist/node_modules/d3-shape/src/curve/cardinal.js.map +0 -1
  999. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.cjs +0 -2
  1000. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.cjs.map +0 -1
  1001. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +0 -58
  1002. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js.map +0 -1
  1003. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.cjs +0 -2
  1004. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.cjs.map +0 -1
  1005. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +0 -51
  1006. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js.map +0 -1
  1007. package/dist/node_modules/d3-shape/src/curve/catmullRom.cjs +0 -2
  1008. package/dist/node_modules/d3-shape/src/curve/catmullRom.cjs.map +0 -1
  1009. package/dist/node_modules/d3-shape/src/curve/catmullRom.js +0 -73
  1010. package/dist/node_modules/d3-shape/src/curve/catmullRom.js.map +0 -1
  1011. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.cjs +0 -2
  1012. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.cjs.map +0 -1
  1013. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +0 -62
  1014. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js.map +0 -1
  1015. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.cjs +0 -2
  1016. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.cjs.map +0 -1
  1017. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +0 -55
  1018. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js.map +0 -1
  1019. package/dist/node_modules/d3-shape/src/curve/linear.cjs +0 -2
  1020. package/dist/node_modules/d3-shape/src/curve/linear.cjs.map +0 -1
  1021. package/dist/node_modules/d3-shape/src/curve/linear.js +0 -37
  1022. package/dist/node_modules/d3-shape/src/curve/linear.js.map +0 -1
  1023. package/dist/node_modules/d3-shape/src/curve/linearClosed.cjs +0 -2
  1024. package/dist/node_modules/d3-shape/src/curve/linearClosed.cjs.map +0 -1
  1025. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -24
  1026. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +0 -1
  1027. package/dist/node_modules/d3-shape/src/curve/monotone.cjs +0 -2
  1028. package/dist/node_modules/d3-shape/src/curve/monotone.cjs.map +0 -1
  1029. package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -94
  1030. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +0 -1
  1031. package/dist/node_modules/d3-shape/src/curve/natural.cjs +0 -2
  1032. package/dist/node_modules/d3-shape/src/curve/natural.cjs.map +0 -1
  1033. package/dist/node_modules/d3-shape/src/curve/natural.js +0 -42
  1034. package/dist/node_modules/d3-shape/src/curve/natural.js.map +0 -1
  1035. package/dist/node_modules/d3-shape/src/curve/step.cjs +0 -2
  1036. package/dist/node_modules/d3-shape/src/curve/step.cjs.map +0 -1
  1037. package/dist/node_modules/d3-shape/src/curve/step.js +0 -52
  1038. package/dist/node_modules/d3-shape/src/curve/step.js.map +0 -1
  1039. package/dist/node_modules/d3-shape/src/descending.cjs +0 -2
  1040. package/dist/node_modules/d3-shape/src/descending.cjs.map +0 -1
  1041. package/dist/node_modules/d3-shape/src/descending.js +0 -7
  1042. package/dist/node_modules/d3-shape/src/descending.js.map +0 -1
  1043. package/dist/node_modules/d3-shape/src/identity.cjs +0 -2
  1044. package/dist/node_modules/d3-shape/src/identity.cjs.map +0 -1
  1045. package/dist/node_modules/d3-shape/src/identity.js +0 -7
  1046. package/dist/node_modules/d3-shape/src/identity.js.map +0 -1
  1047. package/dist/node_modules/d3-shape/src/line.cjs +0 -2
  1048. package/dist/node_modules/d3-shape/src/line.cjs.map +0 -1
  1049. package/dist/node_modules/d3-shape/src/line.js +0 -30
  1050. package/dist/node_modules/d3-shape/src/line.js.map +0 -1
  1051. package/dist/node_modules/d3-shape/src/math.cjs +0 -2
  1052. package/dist/node_modules/d3-shape/src/math.cjs.map +0 -1
  1053. package/dist/node_modules/d3-shape/src/math.js +0 -23
  1054. package/dist/node_modules/d3-shape/src/math.js.map +0 -1
  1055. package/dist/node_modules/d3-shape/src/noop.cjs +0 -2
  1056. package/dist/node_modules/d3-shape/src/noop.cjs.map +0 -1
  1057. package/dist/node_modules/d3-shape/src/noop.js +0 -6
  1058. package/dist/node_modules/d3-shape/src/noop.js.map +0 -1
  1059. package/dist/node_modules/d3-shape/src/path.cjs +0 -2
  1060. package/dist/node_modules/d3-shape/src/path.cjs.map +0 -1
  1061. package/dist/node_modules/d3-shape/src/path.js +0 -19
  1062. package/dist/node_modules/d3-shape/src/path.js.map +0 -1
  1063. package/dist/node_modules/d3-shape/src/pie.cjs +0 -2
  1064. package/dist/node_modules/d3-shape/src/pie.cjs.map +0 -1
  1065. package/dist/node_modules/d3-shape/src/pie.js +0 -44
  1066. package/dist/node_modules/d3-shape/src/pie.js.map +0 -1
  1067. package/dist/node_modules/d3-shape/src/point.cjs +0 -2
  1068. package/dist/node_modules/d3-shape/src/point.cjs.map +0 -1
  1069. package/dist/node_modules/d3-shape/src/point.js +0 -11
  1070. package/dist/node_modules/d3-shape/src/point.js.map +0 -1
  1071. package/dist/node_modules/d3-shape/src/symbol/circle.cjs +0 -2
  1072. package/dist/node_modules/d3-shape/src/symbol/circle.cjs.map +0 -1
  1073. package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -11
  1074. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +0 -1
  1075. package/dist/node_modules/d3-shape/src/symbol/cross.cjs +0 -2
  1076. package/dist/node_modules/d3-shape/src/symbol/cross.cjs.map +0 -1
  1077. package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -11
  1078. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +0 -1
  1079. package/dist/node_modules/d3-shape/src/symbol/diamond.cjs +0 -2
  1080. package/dist/node_modules/d3-shape/src/symbol/diamond.cjs.map +0 -1
  1081. package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -11
  1082. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +0 -1
  1083. package/dist/node_modules/d3-shape/src/symbol/square.cjs +0 -2
  1084. package/dist/node_modules/d3-shape/src/symbol/square.cjs.map +0 -1
  1085. package/dist/node_modules/d3-shape/src/symbol/square.js +0 -11
  1086. package/dist/node_modules/d3-shape/src/symbol/square.js.map +0 -1
  1087. package/dist/node_modules/d3-shape/src/symbol/star.cjs +0 -2
  1088. package/dist/node_modules/d3-shape/src/symbol/star.cjs.map +0 -1
  1089. package/dist/node_modules/d3-shape/src/symbol/star.js +0 -16
  1090. package/dist/node_modules/d3-shape/src/symbol/star.js.map +0 -1
  1091. package/dist/node_modules/d3-shape/src/symbol/triangle.cjs +0 -2
  1092. package/dist/node_modules/d3-shape/src/symbol/triangle.cjs.map +0 -1
  1093. package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -11
  1094. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +0 -1
  1095. package/dist/node_modules/d3-shape/src/symbol/wye.cjs +0 -2
  1096. package/dist/node_modules/d3-shape/src/symbol/wye.cjs.map +0 -1
  1097. package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -11
  1098. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +0 -1
  1099. package/dist/node_modules/d3-shape/src/symbol.cjs +0 -2
  1100. package/dist/node_modules/d3-shape/src/symbol.cjs.map +0 -1
  1101. package/dist/node_modules/d3-shape/src/symbol.js +0 -22
  1102. package/dist/node_modules/d3-shape/src/symbol.js.map +0 -1
  1103. package/dist/node_modules/d3-time/src/day.cjs +0 -2
  1104. package/dist/node_modules/d3-time/src/day.cjs.map +0 -1
  1105. package/dist/node_modules/d3-time/src/day.js +0 -27
  1106. package/dist/node_modules/d3-time/src/day.js.map +0 -1
  1107. package/dist/node_modules/d3-time/src/duration.cjs +0 -2
  1108. package/dist/node_modules/d3-time/src/duration.cjs.map +0 -1
  1109. package/dist/node_modules/d3-time/src/duration.js +0 -11
  1110. package/dist/node_modules/d3-time/src/duration.js.map +0 -1
  1111. package/dist/node_modules/d3-time/src/hour.cjs +0 -2
  1112. package/dist/node_modules/d3-time/src/hour.cjs.map +0 -1
  1113. package/dist/node_modules/d3-time/src/hour.js +0 -19
  1114. package/dist/node_modules/d3-time/src/hour.js.map +0 -1
  1115. package/dist/node_modules/d3-time/src/interval.cjs +0 -2
  1116. package/dist/node_modules/d3-time/src/interval.cjs.map +0 -1
  1117. package/dist/node_modules/d3-time/src/interval.js +0 -32
  1118. package/dist/node_modules/d3-time/src/interval.js.map +0 -1
  1119. package/dist/node_modules/d3-time/src/millisecond.cjs +0 -2
  1120. package/dist/node_modules/d3-time/src/millisecond.cjs.map +0 -1
  1121. package/dist/node_modules/d3-time/src/millisecond.js +0 -15
  1122. package/dist/node_modules/d3-time/src/millisecond.js.map +0 -1
  1123. package/dist/node_modules/d3-time/src/minute.cjs +0 -2
  1124. package/dist/node_modules/d3-time/src/minute.cjs.map +0 -1
  1125. package/dist/node_modules/d3-time/src/minute.js +0 -19
  1126. package/dist/node_modules/d3-time/src/minute.js.map +0 -1
  1127. package/dist/node_modules/d3-time/src/month.cjs +0 -2
  1128. package/dist/node_modules/d3-time/src/month.cjs.map +0 -1
  1129. package/dist/node_modules/d3-time/src/month.js +0 -18
  1130. package/dist/node_modules/d3-time/src/month.js.map +0 -1
  1131. package/dist/node_modules/d3-time/src/second.cjs +0 -2
  1132. package/dist/node_modules/d3-time/src/second.cjs.map +0 -1
  1133. package/dist/node_modules/d3-time/src/second.js +0 -12
  1134. package/dist/node_modules/d3-time/src/second.js.map +0 -1
  1135. package/dist/node_modules/d3-time/src/ticks.cjs +0 -2
  1136. package/dist/node_modules/d3-time/src/ticks.cjs.map +0 -1
  1137. package/dist/node_modules/d3-time/src/ticks.js +0 -55
  1138. package/dist/node_modules/d3-time/src/ticks.js.map +0 -1
  1139. package/dist/node_modules/d3-time/src/week.cjs +0 -2
  1140. package/dist/node_modules/d3-time/src/week.cjs.map +0 -1
  1141. package/dist/node_modules/d3-time/src/week.js +0 -49
  1142. package/dist/node_modules/d3-time/src/week.js.map +0 -1
  1143. package/dist/node_modules/d3-time/src/year.cjs +0 -2
  1144. package/dist/node_modules/d3-time/src/year.cjs.map +0 -1
  1145. package/dist/node_modules/d3-time/src/year.js +0 -28
  1146. package/dist/node_modules/d3-time/src/year.js.map +0 -1
  1147. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +0 -2
  1148. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs.map +0 -1
  1149. package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -21
  1150. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +0 -1
  1151. package/dist/node_modules/d3-time-format/src/locale.cjs +0 -2
  1152. package/dist/node_modules/d3-time-format/src/locale.cjs.map +0 -1
  1153. package/dist/node_modules/d3-time-format/src/locale.js +0 -479
  1154. package/dist/node_modules/d3-time-format/src/locale.js.map +0 -1
  1155. package/dist/node_modules/d3-timer/src/timeout.cjs +0 -2
  1156. package/dist/node_modules/d3-timer/src/timeout.cjs.map +0 -1
  1157. package/dist/node_modules/d3-timer/src/timeout.js +0 -11
  1158. package/dist/node_modules/d3-timer/src/timeout.js.map +0 -1
  1159. package/dist/node_modules/d3-timer/src/timer.cjs +0 -2
  1160. package/dist/node_modules/d3-timer/src/timer.cjs.map +0 -1
  1161. package/dist/node_modules/d3-timer/src/timer.js +0 -63
  1162. package/dist/node_modules/d3-timer/src/timer.js.map +0 -1
  1163. package/dist/node_modules/d3-transition/src/interrupt.cjs +0 -2
  1164. package/dist/node_modules/d3-transition/src/interrupt.cjs.map +0 -1
  1165. package/dist/node_modules/d3-transition/src/interrupt.js +0 -19
  1166. package/dist/node_modules/d3-transition/src/interrupt.js.map +0 -1
  1167. package/dist/node_modules/d3-transition/src/selection/index.cjs +0 -2
  1168. package/dist/node_modules/d3-transition/src/selection/index.cjs.map +0 -1
  1169. package/dist/node_modules/d3-transition/src/selection/index.js +0 -6
  1170. package/dist/node_modules/d3-transition/src/selection/index.js.map +0 -1
  1171. package/dist/node_modules/d3-transition/src/selection/interrupt.cjs +0 -2
  1172. package/dist/node_modules/d3-transition/src/selection/interrupt.cjs.map +0 -1
  1173. package/dist/node_modules/d3-transition/src/selection/interrupt.js +0 -10
  1174. package/dist/node_modules/d3-transition/src/selection/interrupt.js.map +0 -1
  1175. package/dist/node_modules/d3-transition/src/selection/transition.cjs +0 -2
  1176. package/dist/node_modules/d3-transition/src/selection/transition.cjs.map +0 -1
  1177. package/dist/node_modules/d3-transition/src/selection/transition.js +0 -29
  1178. package/dist/node_modules/d3-transition/src/selection/transition.js.map +0 -1
  1179. package/dist/node_modules/d3-transition/src/transition/attr.cjs +0 -2
  1180. package/dist/node_modules/d3-transition/src/transition/attr.cjs.map +0 -1
  1181. package/dist/node_modules/d3-transition/src/transition/attr.js +0 -50
  1182. package/dist/node_modules/d3-transition/src/transition/attr.js.map +0 -1
  1183. package/dist/node_modules/d3-transition/src/transition/attrTween.cjs +0 -2
  1184. package/dist/node_modules/d3-transition/src/transition/attrTween.cjs.map +0 -1
  1185. package/dist/node_modules/d3-transition/src/transition/attrTween.js +0 -39
  1186. package/dist/node_modules/d3-transition/src/transition/attrTween.js.map +0 -1
  1187. package/dist/node_modules/d3-transition/src/transition/delay.cjs +0 -2
  1188. package/dist/node_modules/d3-transition/src/transition/delay.cjs.map +0 -1
  1189. package/dist/node_modules/d3-transition/src/transition/delay.js +0 -19
  1190. package/dist/node_modules/d3-transition/src/transition/delay.js.map +0 -1
  1191. package/dist/node_modules/d3-transition/src/transition/duration.cjs +0 -2
  1192. package/dist/node_modules/d3-transition/src/transition/duration.cjs.map +0 -1
  1193. package/dist/node_modules/d3-transition/src/transition/duration.js +0 -19
  1194. package/dist/node_modules/d3-transition/src/transition/duration.js.map +0 -1
  1195. package/dist/node_modules/d3-transition/src/transition/ease.cjs +0 -2
  1196. package/dist/node_modules/d3-transition/src/transition/ease.cjs.map +0 -1
  1197. package/dist/node_modules/d3-transition/src/transition/ease.js +0 -15
  1198. package/dist/node_modules/d3-transition/src/transition/ease.js.map +0 -1
  1199. package/dist/node_modules/d3-transition/src/transition/easeVarying.cjs +0 -2
  1200. package/dist/node_modules/d3-transition/src/transition/easeVarying.cjs.map +0 -1
  1201. package/dist/node_modules/d3-transition/src/transition/easeVarying.js +0 -16
  1202. package/dist/node_modules/d3-transition/src/transition/easeVarying.js.map +0 -1
  1203. package/dist/node_modules/d3-transition/src/transition/end.cjs +0 -2
  1204. package/dist/node_modules/d3-transition/src/transition/end.cjs.map +0 -1
  1205. package/dist/node_modules/d3-transition/src/transition/end.js +0 -17
  1206. package/dist/node_modules/d3-transition/src/transition/end.js.map +0 -1
  1207. package/dist/node_modules/d3-transition/src/transition/filter.cjs +0 -2
  1208. package/dist/node_modules/d3-transition/src/transition/filter.cjs.map +0 -1
  1209. package/dist/node_modules/d3-transition/src/transition/filter.js +0 -13
  1210. package/dist/node_modules/d3-transition/src/transition/filter.js.map +0 -1
  1211. package/dist/node_modules/d3-transition/src/transition/index.cjs +0 -2
  1212. package/dist/node_modules/d3-transition/src/transition/index.cjs.map +0 -1
  1213. package/dist/node_modules/d3-transition/src/transition/index.js +0 -66
  1214. package/dist/node_modules/d3-transition/src/transition/index.js.map +0 -1
  1215. package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +0 -2
  1216. package/dist/node_modules/d3-transition/src/transition/interpolate.cjs.map +0 -1
  1217. package/dist/node_modules/d3-transition/src/transition/interpolate.js +0 -12
  1218. package/dist/node_modules/d3-transition/src/transition/interpolate.js.map +0 -1
  1219. package/dist/node_modules/d3-transition/src/transition/merge.cjs +0 -2
  1220. package/dist/node_modules/d3-transition/src/transition/merge.cjs.map +0 -1
  1221. package/dist/node_modules/d3-transition/src/transition/merge.js +0 -14
  1222. package/dist/node_modules/d3-transition/src/transition/merge.js.map +0 -1
  1223. package/dist/node_modules/d3-transition/src/transition/on.cjs +0 -2
  1224. package/dist/node_modules/d3-transition/src/transition/on.cjs.map +0 -1
  1225. package/dist/node_modules/d3-transition/src/transition/on.js +0 -22
  1226. package/dist/node_modules/d3-transition/src/transition/on.js.map +0 -1
  1227. package/dist/node_modules/d3-transition/src/transition/remove.cjs +0 -2
  1228. package/dist/node_modules/d3-transition/src/transition/remove.cjs.map +0 -1
  1229. package/dist/node_modules/d3-transition/src/transition/remove.js +0 -14
  1230. package/dist/node_modules/d3-transition/src/transition/remove.js.map +0 -1
  1231. package/dist/node_modules/d3-transition/src/transition/schedule.cjs +0 -2
  1232. package/dist/node_modules/d3-transition/src/transition/schedule.cjs.map +0 -1
  1233. package/dist/node_modules/d3-transition/src/transition/schedule.js +0 -86
  1234. package/dist/node_modules/d3-transition/src/transition/schedule.js.map +0 -1
  1235. package/dist/node_modules/d3-transition/src/transition/select.cjs +0 -2
  1236. package/dist/node_modules/d3-transition/src/transition/select.cjs.map +0 -1
  1237. package/dist/node_modules/d3-transition/src/transition/select.js +0 -15
  1238. package/dist/node_modules/d3-transition/src/transition/select.js.map +0 -1
  1239. package/dist/node_modules/d3-transition/src/transition/selectAll.cjs +0 -2
  1240. package/dist/node_modules/d3-transition/src/transition/selectAll.cjs.map +0 -1
  1241. package/dist/node_modules/d3-transition/src/transition/selectAll.js +0 -19
  1242. package/dist/node_modules/d3-transition/src/transition/selectAll.js.map +0 -1
  1243. package/dist/node_modules/d3-transition/src/transition/selection.cjs +0 -2
  1244. package/dist/node_modules/d3-transition/src/transition/selection.cjs.map +0 -1
  1245. package/dist/node_modules/d3-transition/src/transition/selection.js +0 -9
  1246. package/dist/node_modules/d3-transition/src/transition/selection.js.map +0 -1
  1247. package/dist/node_modules/d3-transition/src/transition/style.cjs +0 -2
  1248. package/dist/node_modules/d3-transition/src/transition/style.cjs.map +0 -1
  1249. package/dist/node_modules/d3-transition/src/transition/style.js +0 -46
  1250. package/dist/node_modules/d3-transition/src/transition/style.js.map +0 -1
  1251. package/dist/node_modules/d3-transition/src/transition/styleTween.cjs +0 -2
  1252. package/dist/node_modules/d3-transition/src/transition/styleTween.cjs.map +0 -1
  1253. package/dist/node_modules/d3-transition/src/transition/styleTween.js +0 -24
  1254. package/dist/node_modules/d3-transition/src/transition/styleTween.js.map +0 -1
  1255. package/dist/node_modules/d3-transition/src/transition/text.cjs +0 -2
  1256. package/dist/node_modules/d3-transition/src/transition/text.cjs.map +0 -1
  1257. package/dist/node_modules/d3-transition/src/transition/text.js +0 -19
  1258. package/dist/node_modules/d3-transition/src/transition/text.js.map +0 -1
  1259. package/dist/node_modules/d3-transition/src/transition/textTween.cjs +0 -2
  1260. package/dist/node_modules/d3-transition/src/transition/textTween.cjs.map +0 -1
  1261. package/dist/node_modules/d3-transition/src/transition/textTween.js +0 -24
  1262. package/dist/node_modules/d3-transition/src/transition/textTween.js.map +0 -1
  1263. package/dist/node_modules/d3-transition/src/transition/transition.cjs +0 -2
  1264. package/dist/node_modules/d3-transition/src/transition/transition.cjs.map +0 -1
  1265. package/dist/node_modules/d3-transition/src/transition/transition.js +0 -20
  1266. package/dist/node_modules/d3-transition/src/transition/transition.js.map +0 -1
  1267. package/dist/node_modules/d3-transition/src/transition/tween.cjs +0 -2
  1268. package/dist/node_modules/d3-transition/src/transition/tween.cjs.map +0 -1
  1269. package/dist/node_modules/d3-transition/src/transition/tween.js +0 -57
  1270. package/dist/node_modules/d3-transition/src/transition/tween.js.map +0 -1
  1271. package/dist/node_modules/internmap/src/index.cjs +0 -2
  1272. package/dist/node_modules/internmap/src/index.cjs.map +0 -1
  1273. package/dist/node_modules/internmap/src/index.js +0 -36
  1274. package/dist/node_modules/internmap/src/index.js.map +0 -1
  1275. package/dist/node_modules/parse-unit/index.cjs +0 -2
  1276. package/dist/node_modules/parse-unit/index.cjs.map +0 -1
  1277. package/dist/node_modules/parse-unit/index.js +0 -12
  1278. package/dist/node_modules/parse-unit/index.js.map +0 -1
  1279. package/dist/node_modules/striptags/src/striptags.cjs +0 -3
  1280. package/dist/node_modules/striptags/src/striptags.cjs.map +0 -1
  1281. package/dist/node_modules/striptags/src/striptags.js +0 -119
  1282. package/dist/node_modules/striptags/src/striptags.js.map +0 -1
  1283. package/dist/node_modules/stylis/src/Enum.cjs +0 -2
  1284. package/dist/node_modules/stylis/src/Enum.cjs.map +0 -1
  1285. package/dist/node_modules/stylis/src/Enum.js +0 -13
  1286. package/dist/node_modules/stylis/src/Enum.js.map +0 -1
  1287. package/dist/node_modules/stylis/src/Middleware.cjs +0 -2
  1288. package/dist/node_modules/stylis/src/Middleware.cjs.map +0 -1
  1289. package/dist/node_modules/stylis/src/Middleware.js +0 -19
  1290. package/dist/node_modules/stylis/src/Middleware.js.map +0 -1
  1291. package/dist/node_modules/stylis/src/Parser.cjs +0 -2
  1292. package/dist/node_modules/stylis/src/Parser.cjs.map +0 -1
  1293. package/dist/node_modules/stylis/src/Parser.js +0 -132
  1294. package/dist/node_modules/stylis/src/Parser.js.map +0 -1
  1295. package/dist/node_modules/stylis/src/Serializer.cjs +0 -2
  1296. package/dist/node_modules/stylis/src/Serializer.cjs.map +0 -1
  1297. package/dist/node_modules/stylis/src/Serializer.js +0 -28
  1298. package/dist/node_modules/stylis/src/Serializer.js.map +0 -1
  1299. package/dist/node_modules/stylis/src/Tokenizer.cjs +0 -2
  1300. package/dist/node_modules/stylis/src/Tokenizer.cjs.map +0 -1
  1301. package/dist/node_modules/stylis/src/Tokenizer.js +0 -142
  1302. package/dist/node_modules/stylis/src/Tokenizer.js.map +0 -1
  1303. package/dist/node_modules/stylis/src/Utility.cjs +0 -2
  1304. package/dist/node_modules/stylis/src/Utility.cjs.map +0 -1
  1305. package/dist/node_modules/stylis/src/Utility.js +0 -51
  1306. package/dist/node_modules/stylis/src/Utility.js.map +0 -1
  1307. package/dist/node_modules/throttle-debounce/esm/index.cjs +0 -2
  1308. package/dist/node_modules/throttle-debounce/esm/index.cjs.map +0 -1
  1309. package/dist/node_modules/throttle-debounce/esm/index.js +0 -29
  1310. package/dist/node_modules/throttle-debounce/esm/index.js.map +0 -1
  1311. package/dist/node_modules/to-px/browser.cjs +0 -2
  1312. package/dist/node_modules/to-px/browser.cjs.map +0 -1
  1313. package/dist/node_modules/to-px/browser.js +0 -64
  1314. package/dist/node_modules/to-px/browser.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/@unovis/ts/components/tooltip/index.js"],"sourcesContent":["import { select, pointer } from 'd3-selection';\nimport { Position } from '../../types/position.js';\nimport { throttle, merge } from '../../utils/data.js';\nimport { TooltipDefaultConfig } from './config.js';\nimport * as style from './style.js';\nimport { root, show, hidden, nonInteractive, positionFixed } from './style.js';\n\nclass Tooltip {\r\n constructor(config = {}) {\r\n this._defaultConfig = TooltipDefaultConfig;\r\n this.config = this._defaultConfig;\r\n this._setUpEventsThrottled = throttle(this._setUpEvents, 500);\r\n this._setContainerPositionThrottled = throttle(this._setContainerPosition, 500);\r\n this._isShown = false;\r\n this.element = document.createElement('div');\r\n this.div = select(this.element).attr('class', root);\r\n this.setConfig(config);\r\n this.components = this.config.components;\r\n // Set up MutationObserver to automatically re-position the tooltip\r\n // if the content has been dynamically changed\r\n this._mutationObserver = new MutationObserver(() => {\r\n if (!this._isShown)\r\n return;\r\n // Handle changes to the content of this.div\r\n // Add your logic here\r\n if (!this.config.followCursor && this._hoveredElement) {\r\n this.placeByElement(this._hoveredElement);\r\n }\r\n else if (this._position) {\r\n this.place({ x: this._position[0], y: this._position[1] });\r\n }\r\n });\r\n this._mutationObserver.observe(this.div.node(), { childList: true, subtree: true });\r\n }\r\n setConfig(config) {\r\n var _a;\r\n this.prevConfig = this.config;\r\n this.config = merge(this._defaultConfig, config);\r\n // Reset `this._overriddenHorizontalPlacement` if the `horizontalPlacement` has changed\r\n if (this.prevConfig.horizontalPlacement !== this.config.horizontalPlacement) {\r\n this.overrideHorizontalPlacement(undefined);\r\n }\r\n if (this.config.container && (this.config.container !== ((_a = this.prevConfig) === null || _a === void 0 ? void 0 : _a.container))) {\r\n this.setContainer(this.config.container);\r\n }\r\n this._setUpAttributes();\r\n }\r\n setContainer(container) {\r\n var _a;\r\n (_a = this.element.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(this.element);\r\n this._container = container;\r\n this._container.appendChild(this.element);\r\n this._setContainerPositionThrottled();\r\n }\r\n getContainer() {\r\n return this._container;\r\n }\r\n hasContainer() {\r\n return !!this._container && this._container.isConnected;\r\n }\r\n setComponents(components) {\r\n this.components = components;\r\n }\r\n update() {\r\n if (!this._container)\r\n return;\r\n this._setUpEventsThrottled();\r\n }\r\n /** Show the tooltip by providing content and position */\r\n show(html, pos) {\r\n this.render(html);\r\n this.place(pos);\r\n }\r\n /** Hide the tooltip */\r\n hide() {\r\n this.div\r\n .classed(show, false) // The `show` class triggers the opacity transition\r\n .on('transitionend', () => {\r\n // We hide the element once the transition completes\r\n // This ensures container overflow will not occur when the window is resized\r\n this.div.classed(hidden, !this._isShown);\r\n });\r\n this._isShown = false;\r\n }\r\n /** Simply displays the tooltip with its previous content on position */\r\n display() {\r\n this.div\r\n .classed(hidden, false) // The `hidden` class sets `display: none;`\r\n .classed(show, true); // The `show` class triggers the opacity transition\r\n this._isShown = true;\r\n }\r\n place(pos) {\r\n this._position = [pos.x, pos.y];\r\n if (!this.hasContainer()) {\r\n console.warn('Unovis | Tooltip: Container was not set or is not initialized yet');\r\n return;\r\n }\r\n const { config } = this;\r\n const tooltipWidth = this.element.offsetWidth;\r\n const tooltipHeight = this.element.offsetHeight;\r\n const horizontalPlacement = this._overriddenHorizontalPlacement ||\r\n (config.horizontalPlacement === Position.Auto\r\n ? Position.Center\r\n : config.horizontalPlacement);\r\n const verticalPlacement = config.verticalPlacement === Position.Auto\r\n ? ((pos.y - tooltipHeight) < 0 ? Position.Bottom : Position.Top)\r\n : config.verticalPlacement;\r\n // Todo: Get rid of the hardcoded margin in version 2.0\r\n // Can be simply replaced with `verticalShift` and `horizontalShift`\r\n // but it'll be a breaking change\r\n const margin = 5;\r\n const translateX = horizontalPlacement === Position.Left ? -tooltipWidth - margin - config.horizontalShift\r\n : horizontalPlacement === Position.Center ? -tooltipWidth / 2\r\n : margin + config.horizontalShift;\r\n const translateY = verticalPlacement === Position.Bottom ? margin + config.verticalShift\r\n : verticalPlacement === Position.Center ? -tooltipHeight / 2\r\n : -margin - config.verticalShift - tooltipHeight;\r\n // translateX and translateY variables shift the tooltip from the default position (above the cursor, centred horizontally)\r\n const [top, left] = this._constraintPosToContainer(pos.x + translateX, pos.y + translateY, tooltipWidth, tooltipHeight);\r\n this._applyPosition(top, left, tooltipHeight);\r\n }\r\n placeByElement(hoveredElement) {\r\n const { config } = this;\r\n // Store the hovered element and the event for future reference,\r\n // i.e. to re-position the tooltip if the content has been changed\r\n // by something else and it was captured by the MutationObserver\r\n this._hoveredElement = hoveredElement;\r\n // Todo: Get rid of the hardcoded margin in version 2.0\r\n // Can be simply replaced with `verticalShift` and `horizontalShift`\r\n // but it'll be a breaking change\r\n const margin = 5;\r\n const tooltipWidth = this.element.offsetWidth;\r\n const tooltipHeight = this.element.offsetHeight;\r\n const isContainerBody = this.isContainerBody();\r\n const containerWidth = isContainerBody ? window.innerWidth : this._container.scrollWidth;\r\n const hoveredElementRect = hoveredElement.getBoundingClientRect();\r\n // We use D3's point transformation to get the correct position of the element by pretending it's a pointer event\r\n // See more: https://github.com/d3/d3-selection/blob/main/src/pointer.js\r\n const elementPos = isContainerBody ? [hoveredElementRect.x, hoveredElementRect.y] : pointer({\r\n clientX: hoveredElementRect.x,\r\n clientY: hoveredElementRect.y,\r\n pageX: hoveredElementRect.x,\r\n pageY: hoveredElementRect.y,\r\n }, this._container);\r\n const horizontalPlacement = this._overriddenHorizontalPlacement || (config.horizontalPlacement === Position.Auto\r\n ? (elementPos[0] - tooltipWidth < 0 ? Position.Right\r\n : elementPos[0] + tooltipWidth > containerWidth ? Position.Left : Position.Center)\r\n : config.horizontalPlacement);\r\n let translateX = 0;\r\n switch (horizontalPlacement) {\r\n case Position.Left:\r\n translateX = -tooltipWidth - margin - config.horizontalShift;\r\n break;\r\n case Position.Right:\r\n translateX = hoveredElementRect.width + margin + config.horizontalShift;\r\n break;\r\n case Position.Center:\r\n default:\r\n translateX = (-tooltipWidth + hoveredElementRect.width) / 2;\r\n break;\r\n }\r\n const verticalPlacement = config.verticalPlacement === Position.Auto\r\n ? (horizontalPlacement !== Position.Center ? Position.Center\r\n : elementPos[1] - tooltipHeight < 0 ? Position.Bottom : Position.Top)\r\n : config.verticalPlacement;\r\n let translateY = -tooltipHeight;\r\n switch (verticalPlacement) {\r\n case Position.Center:\r\n translateY += (tooltipHeight + hoveredElementRect.height) / 2;\r\n break;\r\n case Position.Bottom:\r\n translateY += tooltipHeight + hoveredElementRect.height + margin + config.verticalShift;\r\n break;\r\n case Position.Top:\r\n default:\r\n translateY += -margin - config.verticalShift;\r\n break;\r\n }\r\n const [top, left] = this._constraintPosToContainer(elementPos[0] + translateX, elementPos[1] + translateY, tooltipWidth, tooltipHeight);\r\n this._applyPosition(top, left, tooltipHeight);\r\n }\r\n isContainerBody() {\r\n return this._container === document.body;\r\n }\r\n /** Allows to override the horizontal placement of the tooltip which is useful when you want to define custom positioning behavior.\r\n * This method has been added for Crosshair to allow it position tooltip left or right of the crosshair line\r\n * (see the `_showTooltip` method of the Crosshair component).\r\n */\r\n overrideHorizontalPlacement(placement) {\r\n this._overriddenHorizontalPlacement = placement;\r\n }\r\n render(html) {\r\n var _a;\r\n const { config, prevConfig } = this;\r\n if (html instanceof HTMLElement) {\r\n const node = this.div.select(':first-child').node();\r\n if (node !== html)\r\n this.div.html('').append(() => html);\r\n }\r\n else if (html) {\r\n this.div.html(html);\r\n }\r\n this.div\r\n .classed((_a = config.className) !== null && _a !== void 0 ? _a : '', Boolean(config.className))\r\n .classed(nonInteractive, !config.allowHover || config.followCursor);\r\n // Remove the previous class name if it was set\r\n if ((prevConfig === null || prevConfig === void 0 ? void 0 : prevConfig.className) && prevConfig.className !== config.className) {\r\n this.div.classed(prevConfig.className, false);\r\n }\r\n this.display();\r\n }\r\n _applyPosition(x, y, tooltipHeight) {\r\n const isContainerBody = this.isContainerBody();\r\n const containerHeight = isContainerBody ? window.innerHeight : this._container.scrollHeight;\r\n this.div\r\n .classed(positionFixed, isContainerBody)\r\n .style('top', isContainerBody ? `${y}px` : 'unset')\r\n .style('bottom', !isContainerBody ? `${containerHeight - y - tooltipHeight}px` : 'unset')\r\n .style('left', `${x}px`);\r\n }\r\n _constraintPosToContainer(top, left, tooltipWidth, tooltipHeight) {\r\n const isContainerBody = this.isContainerBody();\r\n const containerHeight = isContainerBody ? window.innerHeight : this._container.scrollHeight;\r\n const containerWidth = isContainerBody ? window.innerWidth : this._container.scrollWidth;\r\n // // Constraint to container\r\n const paddingX = 10;\r\n const hitRight = top > (containerWidth - tooltipWidth - paddingX);\r\n const hitLeft = top < paddingX;\r\n const constrainedLeft = hitRight ? containerWidth - tooltipWidth - paddingX\r\n : hitLeft ? paddingX : top;\r\n const paddingY = 10;\r\n const hitBottom = left > (containerHeight - tooltipHeight - paddingY);\r\n const hitTop = left < paddingY;\r\n const constrainedTop = hitBottom ? containerHeight - tooltipHeight - paddingY\r\n : hitTop ? paddingY : left;\r\n return [\r\n containerWidth < tooltipWidth ? 0 : constrainedLeft,\r\n containerHeight < tooltipHeight ? 0 : constrainedTop,\r\n ];\r\n }\r\n _setContainerPosition() {\r\n var _a;\r\n // Tooltip position calculation relies on the parent position\r\n // If it's not set (static), we set it to `relative` (not a good practice)\r\n if (this._container !== document.body && ((_a = getComputedStyle(this._container)) === null || _a === void 0 ? void 0 : _a.position) === 'static') {\r\n this._container.style.position = 'relative';\r\n }\r\n }\r\n _setUpEvents() {\r\n const { config } = this;\r\n // We use the Event Delegation pattern to set up Tooltip events\r\n // Every component will have single `mousemove` and `mouseleave` event listener functions, where we'll check\r\n // the `path` of the event and trigger corresponding callbacks\r\n this.components.forEach(component => {\r\n const selection = select(component.element);\r\n selection\r\n .on('mousemove.tooltip', (e) => {\r\n const path = (e.composedPath && e.composedPath()) || e.path || [e.target];\r\n // Go through all of the configured triggers\r\n for (const className of Object.keys(config.triggers)) {\r\n const template = config.triggers[className];\r\n if (!template)\r\n continue; // Skip if the trigger is not configured\r\n const els = selection.selectAll(`.${className}`).nodes();\r\n // Go through all of the elements in the event path (from the deepest element upwards)\r\n for (const el of path) {\r\n if (el === selection.node())\r\n break; // Break on the component's level (usually the `<g>` element)\r\n if (el.classList.contains(className)) { // If there's a match, show the tooltip\r\n const i = els.indexOf(el);\r\n const d = select(el).datum();\r\n const content = template(d, i, els);\r\n const [x, y] = this.isContainerBody() ? [e.clientX, e.clientY] : pointer(e, this._container);\r\n if (content === null) {\r\n // If the content is `null`, we hide the tooltip\r\n this.hide();\r\n }\r\n else {\r\n // Otherwise we show the tooltip, but don't render the content if it's `undefined` or\r\n // an empty string. This way we can allow it to work with things like `createPortal` in React\r\n this.render(content);\r\n if (config.followCursor)\r\n this.place({ x, y });\r\n else\r\n this.placeByElement(el);\r\n }\r\n // Stop propagation to prevent other interfering events from being triggered, e.g. Crosshair\r\n e.stopPropagation();\r\n // Stop looking for other matches\r\n return;\r\n }\r\n }\r\n }\r\n // Hide the tooltip if the event didn't pass through any of the configured triggers.\r\n // We use the `this._isShown` condition as a little performance optimization tweak\r\n // (we don't want the tooltip to update its class on every mouse movement, see `this.hide()`).\r\n if (this._isShown)\r\n this.hide();\r\n })\r\n .on('mouseleave.tooltip', (e) => {\r\n e.stopPropagation(); // Stop propagation to prevent other interfering events from being triggered, e.g. Crosshair\r\n this.hide();\r\n });\r\n });\r\n // Set up Tooltip hover\r\n if (config.allowHover && !config.followCursor) {\r\n this.div\r\n .on('mouseenter.tooltip', this.display.bind(this))\r\n .on('mouseleave.tooltip', this.hide.bind(this));\r\n }\r\n else {\r\n this.div\r\n .on('mouseenter.tooltip', null)\r\n .on('mouseleave.tooltip', null);\r\n }\r\n }\r\n _setUpAttributes() {\r\n const attributesMap = this.config.attributes;\r\n if (!attributesMap)\r\n return;\r\n Object.keys(attributesMap).forEach(attr => {\r\n this.div.attr(attr, attributesMap[attr]);\r\n });\r\n }\r\n destroy() {\r\n var _a;\r\n this._mutationObserver.disconnect();\r\n (_a = this.div) === null || _a === void 0 ? void 0 : _a.remove();\r\n }\r\n}\r\nTooltip.selectors = style;\n\nexport { Tooltip };\n//# sourceMappingURL=index.js.map\n"],"names":["Tooltip","config","TooltipDefaultConfig","throttle","select","root","_a","merge","container","components","html","pos","show","hidden","tooltipWidth","tooltipHeight","horizontalPlacement","Position","verticalPlacement","margin","translateX","translateY","top","left","hoveredElement","isContainerBody","containerWidth","hoveredElementRect","elementPos","pointer","placement","prevConfig","nonInteractive","x","y","containerHeight","positionFixed","paddingX","hitRight","hitLeft","constrainedLeft","paddingY","hitBottom","hitTop","constrainedTop","component","selection","e","path","className","template","els","el","i","d","content","attributesMap","attr","style"],"mappings":";;;;;;;AAOA,MAAMA,EAAQ;AAAA,EACV,YAAYC,IAAS,IAAI;AACrB,SAAK,iBAAiBC,GACtB,KAAK,SAAS,KAAK,gBACnB,KAAK,wBAAwBC,EAAS,KAAK,cAAc,GAAG,GAC5D,KAAK,iCAAiCA,EAAS,KAAK,uBAAuB,GAAG,GAC9E,KAAK,WAAW,IAChB,KAAK,UAAU,SAAS,cAAc,KAAK,GAC3C,KAAK,MAAMC,EAAO,KAAK,OAAO,EAAE,KAAK,SAASC,CAAI,GAClD,KAAK,UAAUJ,CAAM,GACrB,KAAK,aAAa,KAAK,OAAO,YAG9B,KAAK,oBAAoB,IAAI,iBAAiB,MAAM;AAChD,MAAK,KAAK,aAIN,CAAC,KAAK,OAAO,gBAAgB,KAAK,kBAClC,KAAK,eAAe,KAAK,eAAe,IAEnC,KAAK,aACV,KAAK,MAAM,EAAE,GAAG,KAAK,UAAU,CAAC,GAAG,GAAG,KAAK,UAAU,CAAC,EAAG,CAAA;AAAA,IAEzE,CAAS,GACD,KAAK,kBAAkB,QAAQ,KAAK,IAAI,QAAQ,EAAE,WAAW,IAAM,SAAS,GAAM,CAAA;AAAA,EACrF;AAAA,EACD,UAAUA,GAAQ;AACd,QAAIK;AACJ,SAAK,aAAa,KAAK,QACvB,KAAK,SAASC,EAAM,KAAK,gBAAgBN,CAAM,GAE3C,KAAK,WAAW,w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KAAK,eAAekB,CAAE,IAG9BL,EAAE,gBAAe;AAEjB;AAAA,YACH;AAAA,UACJ;AAAA,QACJ;AAID,QAAI,KAAK,YACL,KAAK,KAAI;AAAA,MAC7B,CAAa,EACI,GAAG,sBAAsB,CAACA,MAAM;AACjC,QAAAA,EAAE,gBAAe,GACjB,KAAK,KAAI;AAAA,MACzB,CAAa;AAAA,IACb,CAAS,GAEG9C,EAAO,cAAc,CAACA,EAAO,eAC7B,KAAK,IACA,GAAG,sBAAsB,KAAK,QAAQ,KAAK,IAAI,CAAC,EAChD,GAAG,sBAAsB,KAAK,KAAK,KAAK,IAAI,CAAC,IAGlD,KAAK,IACA,GAAG,sBAAsB,IAAI,EAC7B,GAAG,sBAAsB,IAAI;AAAA,EAEzC;AAAA,EACD,mBAAmB;AACf,UAAMuD,IAAgB,KAAK,OAAO;AAClC,IAAKA,KAEL,OAAO,KAAKA,CAAa,EAAE,QAAQ,CAAAC,MAAQ;AACvC,WAAK,IAAI,KAAKA,GAAMD,EAAcC,CAAI,CAAC;AAAA,IACnD,CAAS;AAAA,EACJ;AAAA,EACD,UAAU;AACN,QAAInD;AACJ,SAAK,kBAAkB,eACtBA,IAAK,KAAK,SAAS,QAAQA,MAAO,UAAkBA,EAAG;EAC3D;AACL;AACAN,EAAQ,YAAY0D;","x_google_ignoreList":[0]}
@@ -1,62 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../@emotion/css/dist/emotion-css.esm.cjs"),t=o.css`
2
- label: tooltip;
3
- display: inline-block;
4
- left: 0;
5
- bottom: 0;
6
- min-width: max-content;
7
- position: absolute;
8
- opacity: 0;
9
- transition: opacity;
10
- transition-duration: var(--vis-tooltip-transition-duration);
11
- z-index: 999999;
12
- padding: var(--vis-tooltip-padding);
13
- color: var(--vis-tooltip-text-color);
14
- border-radius: var(--vis-tooltip-border-radius);
15
- box-shadow: var(--vis-tooltip-box-shadow);
16
- border: solid 1px var(--vis-tooltip-border-color);
17
- background-color: var(--vis-tooltip-background-color);
18
- backdrop-filter: var(--vis-tooltip-backdrop-filter);
19
- `,i=t,r=o.injectGlobal`
20
- :root {
21
- --vis-tooltip-background-color: rgba(255, 255, 255, 0.95);
22
- --vis-tooltip-border-color: #e5e9f7;
23
- --vis-tooltip-text-color: #000;
24
- --vis-tooltip-shadow-color: rgba(172, 179, 184, 0.35);
25
- --vis-tooltip-backdrop-filter: none;
26
- --vis-tooltip-padding: 10px 15px;
27
- --vis-tooltip-border-radius: 5px;
28
- --vis-tooltip-transition-duration: 300ms;
29
- --vis-tooltip-box-shadow: none;
30
-
31
- --vis-dark-tooltip-background-color: rgba(30,30,30, 0.95);
32
- --vis-dark-tooltip-text-color: #e5e9f7;
33
- --vis-dark-tooltip-border-color: var(--vis-color-grey);
34
- --vis-dark-tooltip-shadow-color: rgba(0,0,0, 0.95);
35
- }
36
-
37
- body.theme-dark ${`.${t}`} {
38
- --vis-tooltip-background-color: var(--vis-dark-tooltip-background-color);
39
- --vis-tooltip-text-color: var(--vis-dark-tooltip-text-color);
40
- --vis-tooltip-border-color: var(--vis-dark-tooltip-border-color);
41
- --vis-tooltip-shadow-color: var(--vis-dark-tooltip-shadow-color);
42
- }
43
-
44
- body.theme-dark {
45
- --vis-tooltip-background-color: rgba(30,30,30, 0.95);
46
- --vis-tooltip-text-color: #e5e9f7;
47
- --vis-tooltip-border-color: var(--vis-color-grey);
48
- --vis-tooltip-shadow-color: rgba(0,0,0, 0.95);
49
- }
50
- `,s=o.css`
51
- bottom: unset;
52
- position: fixed;
53
- `,l=o.css`
54
- opacity: 1;
55
- `,a=o.css`
56
- display: none;
57
- `,e=o.css`
58
- label: non-interactive;
59
- pointer-events: none;
60
- user-select: none;
61
- `;exports.hidden=a;exports.nonInteractive=e;exports.positionFixed=s;exports.root=t;exports.show=l;exports.tooltip=i;exports.variables=r;
62
- //# sourceMappingURL=style.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.cjs","sources":["../../../../../../node_modules/@unovis/ts/components/tooltip/style.js"],"sourcesContent":["import { css, injectGlobal } from '@emotion/css';\n\nconst root = css `\n label: tooltip;\n display: inline-block;\n left: 0;\n bottom: 0;\n min-width: max-content;\n position: absolute;\n opacity: 0;\n transition: opacity;\n transition-duration: var(--vis-tooltip-transition-duration);\n z-index: 999999;\n padding: var(--vis-tooltip-padding);\n color: var(--vis-tooltip-text-color);\n border-radius: var(--vis-tooltip-border-radius);\n box-shadow: var(--vis-tooltip-box-shadow);\n border: solid 1px var(--vis-tooltip-border-color);\n background-color: var(--vis-tooltip-background-color);\n backdrop-filter: var(--vis-tooltip-backdrop-filter);\n`;\r\n/**\r\n * @deprecated This selector is deprecated and will be removed in future versions. Use `root` instead.\r\n */\r\nconst tooltip = root;\r\nconst variables = injectGlobal `\n :root {\n --vis-tooltip-background-color: rgba(255, 255, 255, 0.95);\n --vis-tooltip-border-color: #e5e9f7;\n --vis-tooltip-text-color: #000;\n --vis-tooltip-shadow-color: rgba(172, 179, 184, 0.35);\n --vis-tooltip-backdrop-filter: none;\n --vis-tooltip-padding: 10px 15px;\n --vis-tooltip-border-radius: 5px;\n --vis-tooltip-transition-duration: 300ms;\n --vis-tooltip-box-shadow: none;\n\n --vis-dark-tooltip-background-color: rgba(30,30,30, 0.95);\n --vis-dark-tooltip-text-color: #e5e9f7;\n --vis-dark-tooltip-border-color: var(--vis-color-grey);\n --vis-dark-tooltip-shadow-color: rgba(0,0,0, 0.95);\n }\n\n body.theme-dark ${`.${root}`} {\n --vis-tooltip-background-color: var(--vis-dark-tooltip-background-color);\n --vis-tooltip-text-color: var(--vis-dark-tooltip-text-color);\n --vis-tooltip-border-color: var(--vis-dark-tooltip-border-color);\n --vis-tooltip-shadow-color: var(--vis-dark-tooltip-shadow-color);\n }\n\n body.theme-dark {\n --vis-tooltip-background-color: rgba(30,30,30, 0.95);\n --vis-tooltip-text-color: #e5e9f7;\n --vis-tooltip-border-color: var(--vis-color-grey);\n --vis-tooltip-shadow-color: rgba(0,0,0, 0.95);\n }\n`;\r\nconst positionFixed = css `\n bottom: unset;\n position: fixed;\n`;\r\nconst show = css `\n opacity: 1;\n`;\r\nconst hidden = css `\n display: none;\n`;\r\nconst nonInteractive = css `\n label: non-interactive;\n pointer-events: none;\n user-select: none;\n`;\n\nexport { hidden, nonInteractive, positionFixed, root, show, tooltip, variables };\n//# sourceMappingURL=style.js.map\n"],"names":["root","css","tooltip","variables","injectGlobal","positionFixed","show","hidden","nonInteractive"],"mappings":"qJAEMA,EAAOC,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,EAsBPC,EAAUF,EACVG,EAAYC,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,oBAkBE,IAAIJ,CAAI,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcxBK,EAAgBJ,EAAAA;AAAAA;AAAAA;AAAAA,EAIhBK,EAAOL,EAAAA;AAAAA;AAAAA,EAGPM,EAASN,EAAAA;AAAAA;AAAAA,EAGTO,EAAiBP,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA","x_google_ignoreList":[0]}
@@ -1,72 +0,0 @@
1
- import { css as o, injectGlobal as i } from "../../../../@emotion/css/dist/emotion-css.esm.js";
2
- const t = o`
3
- label: tooltip;
4
- display: inline-block;
5
- left: 0;
6
- bottom: 0;
7
- min-width: max-content;
8
- position: absolute;
9
- opacity: 0;
10
- transition: opacity;
11
- transition-duration: var(--vis-tooltip-transition-duration);
12
- z-index: 999999;
13
- padding: var(--vis-tooltip-padding);
14
- color: var(--vis-tooltip-text-color);
15
- border-radius: var(--vis-tooltip-border-radius);
16
- box-shadow: var(--vis-tooltip-box-shadow);
17
- border: solid 1px var(--vis-tooltip-border-color);
18
- background-color: var(--vis-tooltip-background-color);
19
- backdrop-filter: var(--vis-tooltip-backdrop-filter);
20
- `, l = t, a = i`
21
- :root {
22
- --vis-tooltip-background-color: rgba(255, 255, 255, 0.95);
23
- --vis-tooltip-border-color: #e5e9f7;
24
- --vis-tooltip-text-color: #000;
25
- --vis-tooltip-shadow-color: rgba(172, 179, 184, 0.35);
26
- --vis-tooltip-backdrop-filter: none;
27
- --vis-tooltip-padding: 10px 15px;
28
- --vis-tooltip-border-radius: 5px;
29
- --vis-tooltip-transition-duration: 300ms;
30
- --vis-tooltip-box-shadow: none;
31
-
32
- --vis-dark-tooltip-background-color: rgba(30,30,30, 0.95);
33
- --vis-dark-tooltip-text-color: #e5e9f7;
34
- --vis-dark-tooltip-border-color: var(--vis-color-grey);
35
- --vis-dark-tooltip-shadow-color: rgba(0,0,0, 0.95);
36
- }
37
-
38
- body.theme-dark ${`.${t}`} {
39
- --vis-tooltip-background-color: var(--vis-dark-tooltip-background-color);
40
- --vis-tooltip-text-color: var(--vis-dark-tooltip-text-color);
41
- --vis-tooltip-border-color: var(--vis-dark-tooltip-border-color);
42
- --vis-tooltip-shadow-color: var(--vis-dark-tooltip-shadow-color);
43
- }
44
-
45
- body.theme-dark {
46
- --vis-tooltip-background-color: rgba(30,30,30, 0.95);
47
- --vis-tooltip-text-color: #e5e9f7;
48
- --vis-tooltip-border-color: var(--vis-color-grey);
49
- --vis-tooltip-shadow-color: rgba(0,0,0, 0.95);
50
- }
51
- `, s = o`
52
- bottom: unset;
53
- position: fixed;
54
- `, d = o`
55
- opacity: 1;
56
- `, e = o`
57
- display: none;
58
- `, n = o`
59
- label: non-interactive;
60
- pointer-events: none;
61
- user-select: none;
62
- `;
63
- export {
64
- e as hidden,
65
- n as nonInteractive,
66
- s as positionFixed,
67
- t as root,
68
- d as show,
69
- l as tooltip,
70
- a as variables
71
- };
72
- //# sourceMappingURL=style.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sources":["../../../../../../node_modules/@unovis/ts/components/tooltip/style.js"],"sourcesContent":["import { css, injectGlobal } from '@emotion/css';\n\nconst root = css `\n label: tooltip;\n display: inline-block;\n left: 0;\n bottom: 0;\n min-width: max-content;\n position: absolute;\n opacity: 0;\n transition: opacity;\n transition-duration: var(--vis-tooltip-transition-duration);\n z-index: 999999;\n padding: var(--vis-tooltip-padding);\n color: var(--vis-tooltip-text-color);\n border-radius: var(--vis-tooltip-border-radius);\n box-shadow: var(--vis-tooltip-box-shadow);\n border: solid 1px var(--vis-tooltip-border-color);\n background-color: var(--vis-tooltip-background-color);\n backdrop-filter: var(--vis-tooltip-backdrop-filter);\n`;\r\n/**\r\n * @deprecated This selector is deprecated and will be removed in future versions. Use `root` instead.\r\n */\r\nconst tooltip = root;\r\nconst variables = injectGlobal `\n :root {\n --vis-tooltip-background-color: rgba(255, 255, 255, 0.95);\n --vis-tooltip-border-color: #e5e9f7;\n --vis-tooltip-text-color: #000;\n --vis-tooltip-shadow-color: rgba(172, 179, 184, 0.35);\n --vis-tooltip-backdrop-filter: none;\n --vis-tooltip-padding: 10px 15px;\n --vis-tooltip-border-radius: 5px;\n --vis-tooltip-transition-duration: 300ms;\n --vis-tooltip-box-shadow: none;\n\n --vis-dark-tooltip-background-color: rgba(30,30,30, 0.95);\n --vis-dark-tooltip-text-color: #e5e9f7;\n --vis-dark-tooltip-border-color: var(--vis-color-grey);\n --vis-dark-tooltip-shadow-color: rgba(0,0,0, 0.95);\n }\n\n body.theme-dark ${`.${root}`} {\n --vis-tooltip-background-color: var(--vis-dark-tooltip-background-color);\n --vis-tooltip-text-color: var(--vis-dark-tooltip-text-color);\n --vis-tooltip-border-color: var(--vis-dark-tooltip-border-color);\n --vis-tooltip-shadow-color: var(--vis-dark-tooltip-shadow-color);\n }\n\n body.theme-dark {\n --vis-tooltip-background-color: rgba(30,30,30, 0.95);\n --vis-tooltip-text-color: #e5e9f7;\n --vis-tooltip-border-color: var(--vis-color-grey);\n --vis-tooltip-shadow-color: rgba(0,0,0, 0.95);\n }\n`;\r\nconst positionFixed = css `\n bottom: unset;\n position: fixed;\n`;\r\nconst show = css `\n opacity: 1;\n`;\r\nconst hidden = css `\n display: none;\n`;\r\nconst nonInteractive = css `\n label: non-interactive;\n pointer-events: none;\n user-select: none;\n`;\n\nexport { hidden, nonInteractive, positionFixed, root, show, tooltip, variables };\n//# sourceMappingURL=style.js.map\n"],"names":["root","css","tooltip","variables","injectGlobal","positionFixed","show","hidden","nonInteractive"],"mappings":";AAEK,MAACA,IAAOC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAsBPC,IAAUF,GACVG,IAAYC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAkBE,IAAIJ,CAAI,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAcxBK,IAAgBJ;AAAA;AAAA;AAAA,GAIhBK,IAAOL;AAAA;AAAA,GAGPM,IAASN;AAAA;AAAA,GAGTO,IAAiBP;AAAA;AAAA;AAAA;AAAA;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../core/container/config.cjs"),e=Object.assign(Object.assign({},n.ContainerDefaultConfig),{tooltip:void 0,annotations:void 0});exports.SingleContainerDefaultConfig=e;
2
- //# sourceMappingURL=config.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.cjs","sources":["../../../../../../node_modules/@unovis/ts/containers/single-container/config.js"],"sourcesContent":["import { ContainerDefaultConfig } from '../../core/container/config.js';\n\n// Core\r\nconst SingleContainerDefaultConfig = Object.assign(Object.assign({}, ContainerDefaultConfig), { tooltip: undefined, annotations: undefined });\n\nexport { SingleContainerDefaultConfig };\n//# sourceMappingURL=config.js.map\n"],"names":["SingleContainerDefaultConfig","ContainerDefaultConfig"],"mappings":"mIAGMA,EAA+B,OAAO,OAAO,OAAO,OAAO,CAAA,EAAIC,EAAsB,sBAAA,EAAG,CAAE,QAAS,OAAW,YAAa,MAAW,CAAA","x_google_ignoreList":[0]}
@@ -1,6 +0,0 @@
1
- import { ContainerDefaultConfig as n } from "../../core/container/config.js";
2
- const e = Object.assign(Object.assign({}, n), { tooltip: void 0, annotations: void 0 });
3
- export {
4
- e as SingleContainerDefaultConfig
5
- };
6
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sources":["../../../../../../node_modules/@unovis/ts/containers/single-container/config.js"],"sourcesContent":["import { ContainerDefaultConfig } from '../../core/container/config.js';\n\n// Core\r\nconst SingleContainerDefaultConfig = Object.assign(Object.assign({}, ContainerDefaultConfig), { tooltip: undefined, annotations: undefined });\n\nexport { SingleContainerDefaultConfig };\n//# sourceMappingURL=config.js.map\n"],"names":["SingleContainerDefaultConfig","ContainerDefaultConfig"],"mappings":";AAGK,MAACA,IAA+B,OAAO,OAAO,OAAO,OAAO,CAAA,GAAIC,CAAsB,GAAG,EAAE,SAAS,QAAW,aAAa,OAAW,CAAA;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../styles/index.cjs");const m=require("../../core/container/index.cjs"),u=require("../../utils/d3.cjs"),o=require("../../types/component.cjs"),f=require("./config.cjs");class v extends m.ContainerCore{constructor(t,e,i){var n;super(t),this._defaultConfig=f.SingleContainerDefaultConfig,this.config=this._defaultConfig,e&&(this.updateContainer(e,!0),this.component=e.component),i&&this.setData(i,!0),!((n=this.component)===null||n===void 0)&&n.datamodel.data&&this.render()}setData(t,e){var i;const{config:n}=this;this.component&&this.component.setData(t),e||this.render(),(i=n.tooltip)===null||i===void 0||i.hide()}updateContainer(t,e){super.updateContainer(t),this._removeAllChildren(),this.component=t.component,t.sizing&&(this.component.sizing=t.sizing),this.element.appendChild(this.component.element);const i=t.tooltip;i&&(i.hasContainer()||i.setContainer(this._container),i.setComponents([this.component]));const n=t.annotations;n&&this.element.appendChild(n.element),this.element.appendChild(this._svgDefs.node()),this.element.appendChild(this._svgDefsExternal.node()),e||this.render()}updateComponent(t,e){this.component.setConfig(t),e||this.render()}update(t,e,i){t&&this.updateContainer(t,!0),e&&this.updateComponent(e,!0),i&&this.setData(i,!0),this.render()}getFitWidthScale(){const{config:t,component:e}=this,i=e;if(!i.getWidth)return 1;const n=i.getWidth()+t.margin.left+t.margin.right;return this.width/n}_preRender(){var t;super._preRender(),this.component.setSize(this.width,this.height,this.containerWidth,this.containerHeight),(t=this.config.annotations)===null||t===void 0||t.setSize(this.width,this.height,this.containerWidth,this.containerHeight)}_render(t){var e;const{config:i,component:n}=this;super._render(t),n.g.attr("transform",`translate(${i.margin.left},${i.margin.top})`),n.render(t),(e=i.annotations)===null||e===void 0||e.render(t),i.tooltip&&i.tooltip.update()}render(t=this.config.duration){const{config:e,component:i}=this;if(e.sizing===o.Sizing.Extend||e.sizing===o.Sizing.FitWidth){const n=e.sizing===o.Sizing.FitWidth,s=i,r=s.getWidth()+e.margin.left+e.margin.right,h=s.getHeight()+e.margin.top+e.margin.bottom,a=n?this.getFitWidthScale():1,c=this.svg.attr("width"),p=this.svg.attr("height"),l=r*a,d=h*a,g=c||p;u.smartTransition(this.svg,g?t:0).attr("width",l).attr("height",d).attr("viewBox",`0 0 ${r} ${n?d:h}`).attr("preserveAspectRatio","xMinYMin")}else this.svg.attr("width",this.config.width||this.containerWidth).attr("height",this.config.height||this.containerHeight);this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(t)})}_onResize(){var t;const{config:e}=this;super._onResize(),(t=e.tooltip)===null||t===void 0||t.hide()}destroy(){var t,e;const{component:i,config:n}=this;super.destroy(),i==null||i.destroy(),(t=n.tooltip)===null||t===void 0||t.destroy(),(e=n.annotations)===null||e===void 0||e.destroy()}}exports.SingleContainer=v;
2
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../../node_modules/@unovis/ts/containers/single-container/index.js"],"sourcesContent":["import '../../styles/index.js';\nimport { ContainerCore } from '../../core/container/index.js';\nimport { smartTransition } from '../../utils/d3.js';\nimport { Sizing } from '../../types/component.js';\nimport { SingleContainerDefaultConfig } from './config.js';\n\n// Global CSS variables (side effects import)\r\nclass SingleContainer extends ContainerCore {\r\n constructor(element, config, data) {\r\n var _a;\r\n super(element);\r\n this._defaultConfig = SingleContainerDefaultConfig;\r\n this.config = this._defaultConfig;\r\n if (config) {\r\n this.updateContainer(config, true);\r\n this.component = config.component;\r\n }\r\n if (data) {\r\n this.setData(data, true);\r\n }\r\n // Render if component exists and has data\r\n if ((_a = this.component) === null || _a === void 0 ? void 0 : _a.datamodel.data)\r\n this.render();\r\n }\r\n setData(data, preventRender) {\r\n var _a;\r\n const { config } = this;\r\n if (this.component)\r\n this.component.setData(data);\r\n if (!preventRender)\r\n this.render();\r\n (_a = config.tooltip) === null || _a === void 0 ? void 0 : _a.hide();\r\n }\r\n updateContainer(containerConfig, preventRender) {\r\n super.updateContainer(containerConfig);\r\n this._removeAllChildren();\r\n this.component = containerConfig.component;\r\n if (containerConfig.sizing)\r\n this.component.sizing = containerConfig.sizing;\r\n this.element.appendChild(this.component.element);\r\n const tooltip = containerConfig.tooltip;\r\n if (tooltip) {\r\n if (!tooltip.hasContainer())\r\n tooltip.setContainer(this._container);\r\n tooltip.setComponents([this.component]);\r\n }\r\n const annotations = containerConfig.annotations;\r\n if (annotations) {\r\n this.element.appendChild(annotations.element);\r\n }\r\n // Defs\r\n this.element.appendChild(this._svgDefs.node());\r\n this.element.appendChild(this._svgDefsExternal.node());\r\n if (!preventRender)\r\n this.render();\r\n }\r\n updateComponent(componentConfig, preventRender) {\r\n this.component.setConfig(componentConfig);\r\n if (!preventRender)\r\n this.render();\r\n }\r\n update(containerConfig, componentConfig, data) {\r\n if (containerConfig)\r\n this.updateContainer(containerConfig, true);\r\n if (componentConfig)\r\n this.updateComponent(componentConfig, true);\r\n if (data)\r\n this.setData(data, true);\r\n this.render();\r\n }\r\n getFitWidthScale() {\r\n const { config, component } = this;\r\n const extendedSizeComponent = component;\r\n if (!extendedSizeComponent.getWidth)\r\n return 1;\r\n const componentWidth = extendedSizeComponent.getWidth() + config.margin.left + config.margin.right;\r\n return this.width / componentWidth;\r\n }\r\n _preRender() {\r\n var _a;\r\n super._preRender();\r\n this.component.setSize(this.width, this.height, this.containerWidth, this.containerHeight);\r\n (_a = this.config.annotations) === null || _a === void 0 ? void 0 : _a.setSize(this.width, this.height, this.containerWidth, this.containerHeight);\r\n }\r\n _render(duration) {\r\n var _a;\r\n const { config, component } = this;\r\n super._render(duration);\r\n component.g.attr('transform', `translate(${config.margin.left},${config.margin.top})`);\r\n component.render(duration);\r\n (_a = config.annotations) === null || _a === void 0 ? void 0 : _a.render(duration);\r\n if (config.tooltip)\r\n config.tooltip.update();\r\n }\r\n // Re-defining the `render()` function to handle different sizing techniques (`Sizing.Extend` and `Sizing.FitWidth`)\r\n // Not calling `super.render()` because we don't want it to interfere with setting the SVG size here.\r\n render(duration = this.config.duration) {\r\n const { config, component } = this;\r\n if (config.sizing === Sizing.Extend || config.sizing === Sizing.FitWidth) {\r\n const fitToWidth = config.sizing === Sizing.FitWidth;\r\n const extendedSizeComponent = component;\r\n const componentWidth = extendedSizeComponent.getWidth() + config.margin.left + config.margin.right;\r\n const componentHeight = extendedSizeComponent.getHeight() + config.margin.top + config.margin.bottom;\r\n const scale = fitToWidth ? this.getFitWidthScale() : 1;\r\n const currentWidth = this.svg.attr('width');\r\n const currentHeight = this.svg.attr('height');\r\n const scaledWidth = componentWidth * scale;\r\n const scaledHeight = componentHeight * scale;\r\n const animated = currentWidth || currentHeight;\r\n smartTransition(this.svg, animated ? duration : 0)\r\n .attr('width', scaledWidth)\r\n .attr('height', scaledHeight)\r\n .attr('viewBox', `${0} ${0} ${componentWidth} ${fitToWidth ? scaledHeight : componentHeight}`)\r\n .attr('preserveAspectRatio', 'xMinYMin');\r\n }\r\n else {\r\n this.svg\r\n .attr('width', this.config.width || this.containerWidth)\r\n .attr('height', this.config.height || this.containerHeight);\r\n }\r\n // Set up Resize Observer\r\n if (!this._resizeObserver)\r\n this._setUpResizeObserver();\r\n // Schedule the actual rendering in the next frame\r\n cancelAnimationFrame(this._renderAnimationFrameId);\r\n this._renderAnimationFrameId = requestAnimationFrame(() => {\r\n this._preRender();\r\n this._render(duration);\r\n });\r\n }\r\n _onResize() {\r\n var _a;\r\n const { config } = this;\r\n super._onResize();\r\n (_a = config.tooltip) === null || _a === void 0 ? void 0 : _a.hide();\r\n }\r\n destroy() {\r\n var _a, _b;\r\n const { component, config } = this;\r\n super.destroy();\r\n component === null || component === void 0 ? void 0 : component.destroy();\r\n (_a = config.tooltip) === null || _a === void 0 ? void 0 : _a.destroy();\r\n (_b = config.annotations) === null || _b === void 0 ? void 0 : _b.destroy();\r\n }\r\n}\n\nexport { SingleContainer };\n//# sourceMappingURL=index.js.map\n"],"names":["SingleContainer","ContainerCore","element","config","data","_a","SingleContainerDefaultConfig","preventRender","containerConfig","tooltip","annotations","componentConfig","component","extendedSizeComponent","componentWidth","duration","Sizing","fitToWidth","componentHeight","scale","currentWidth","currentHeight","scaledWidth","scaledHeight","animated","smartTransition","_b"],"mappings":"qQAOA,MAAMA,UAAwBC,EAAAA,aAAc,CACxC,YAAYC,EAASC,EAAQC,EAAM,CAC/B,IAAIC,EACJ,MAAMH,CAAO,EACb,KAAK,eAAiBI,+BACtB,KAAK,OAAS,KAAK,eACfH,IACA,KAAK,gBAAgBA,EAAQ,EAAI,EACjC,KAAK,UAAY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AWJ,GAAgBC,EACjCI,EAAAA,gBAAgB,KAAK,IAAKD,EAAWT,EAAW,CAAC,EAC5C,KAAK,QAASO,CAAW,EACzB,KAAK,SAAUC,CAAY,EAC3B,KAAK,UAAW,OAAaT,CAAc,IAAIG,EAAaM,EAAeL,CAAe,EAAE,EAC5F,KAAK,sBAAuB,UAAU,CAC9C,MAEG,KAAK,IACA,KAAK,QAAS,KAAK,OAAO,OAAS,KAAK,cAAc,EACtD,KAAK,SAAU,KAAK,OAAO,QAAU,KAAK,eAAe,EAG7D,KAAK,iBACN,KAAK,qBAAoB,EAE7B,qBAAqB,KAAK,uBAAuB,EACjD,KAAK,wBAA0B,sBAAsB,IAAM,CACvD,KAAK,WAAU,EACf,KAAK,QAAQH,CAAQ,CACjC,CAAS,CACJ,CACD,WAAY,CACR,IAAIV,EACJ,KAAM,CAAE,OAAAF,CAAQ,EAAG,KACnB,MAAM,UAAS,GACdE,EAAKF,EAAO,WAAa,MAAQE,IAAO,QAAkBA,EAAG,MACjE,CACD,SAAU,CACN,IAAIA,EAAIqB,EACR,KAAM,CAAE,UAAAd,EAAW,OAAAT,CAAQ,EAAG,KAC9B,MAAM,QAAO,EACbS,GAAc,MAAwCA,EAAU,WAC/DP,EAAKF,EAAO,WAAa,MAAQE,IAAO,QAAkBA,EAAG,WAC7DqB,EAAKvB,EAAO,eAAiB,MAAQuB,IAAO,QAAkBA,EAAG,SACrE,CACL","x_google_ignoreList":[0]}
@@ -1,72 +0,0 @@
1
- import "../../styles/index.js";
2
- import { ContainerCore as g } from "../../core/container/index.js";
3
- import { smartTransition as f } from "../../utils/d3.js";
4
- import { Sizing as o } from "../../types/component.js";
5
- import { SingleContainerDefaultConfig as u } from "./config.js";
6
- class w extends g {
7
- constructor(t, i, e) {
8
- var n;
9
- super(t), this._defaultConfig = u, this.config = this._defaultConfig, i && (this.updateContainer(i, !0), this.component = i.component), e && this.setData(e, !0), !((n = this.component) === null || n === void 0) && n.datamodel.data && this.render();
10
- }
11
- setData(t, i) {
12
- var e;
13
- const { config: n } = this;
14
- this.component && this.component.setData(t), i || this.render(), (e = n.tooltip) === null || e === void 0 || e.hide();
15
- }
16
- updateContainer(t, i) {
17
- super.updateContainer(t), this._removeAllChildren(), this.component = t.component, t.sizing && (this.component.sizing = t.sizing), this.element.appendChild(this.component.element);
18
- const e = t.tooltip;
19
- e && (e.hasContainer() || e.setContainer(this._container), e.setComponents([this.component]));
20
- const n = t.annotations;
21
- n && this.element.appendChild(n.element), this.element.appendChild(this._svgDefs.node()), this.element.appendChild(this._svgDefsExternal.node()), i || this.render();
22
- }
23
- updateComponent(t, i) {
24
- this.component.setConfig(t), i || this.render();
25
- }
26
- update(t, i, e) {
27
- t && this.updateContainer(t, !0), i && this.updateComponent(i, !0), e && this.setData(e, !0), this.render();
28
- }
29
- getFitWidthScale() {
30
- const { config: t, component: i } = this, e = i;
31
- if (!e.getWidth)
32
- return 1;
33
- const n = e.getWidth() + t.margin.left + t.margin.right;
34
- return this.width / n;
35
- }
36
- _preRender() {
37
- var t;
38
- super._preRender(), this.component.setSize(this.width, this.height, this.containerWidth, this.containerHeight), (t = this.config.annotations) === null || t === void 0 || t.setSize(this.width, this.height, this.containerWidth, this.containerHeight);
39
- }
40
- _render(t) {
41
- var i;
42
- const { config: e, component: n } = this;
43
- super._render(t), n.g.attr("transform", `translate(${e.margin.left},${e.margin.top})`), n.render(t), (i = e.annotations) === null || i === void 0 || i.render(t), e.tooltip && e.tooltip.update();
44
- }
45
- // Re-defining the `render()` function to handle different sizing techniques (`Sizing.Extend` and `Sizing.FitWidth`)
46
- // Not calling `super.render()` because we don't want it to interfere with setting the SVG size here.
47
- render(t = this.config.duration) {
48
- const { config: i, component: e } = this;
49
- if (i.sizing === o.Extend || i.sizing === o.FitWidth) {
50
- const n = i.sizing === o.FitWidth, s = e, r = s.getWidth() + i.margin.left + i.margin.right, h = s.getHeight() + i.margin.top + i.margin.bottom, a = n ? this.getFitWidthScale() : 1, p = this.svg.attr("width"), c = this.svg.attr("height"), m = r * a, d = h * a, l = p || c;
51
- f(this.svg, l ? t : 0).attr("width", m).attr("height", d).attr("viewBox", `0 0 ${r} ${n ? d : h}`).attr("preserveAspectRatio", "xMinYMin");
52
- } else
53
- this.svg.attr("width", this.config.width || this.containerWidth).attr("height", this.config.height || this.containerHeight);
54
- this._resizeObserver || this._setUpResizeObserver(), cancelAnimationFrame(this._renderAnimationFrameId), this._renderAnimationFrameId = requestAnimationFrame(() => {
55
- this._preRender(), this._render(t);
56
- });
57
- }
58
- _onResize() {
59
- var t;
60
- const { config: i } = this;
61
- super._onResize(), (t = i.tooltip) === null || t === void 0 || t.hide();
62
- }
63
- destroy() {
64
- var t, i;
65
- const { component: e, config: n } = this;
66
- super.destroy(), e == null || e.destroy(), (t = n.tooltip) === null || t === void 0 || t.destroy(), (i = n.annotations) === null || i === void 0 || i.destroy();
67
- }
68
- }
69
- export {
70
- w as SingleContainer
71
- };
72
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/@unovis/ts/containers/single-container/index.js"],"sourcesContent":["import '../../styles/index.js';\nimport { ContainerCore } from '../../core/container/index.js';\nimport { smartTransition } from '../../utils/d3.js';\nimport { Sizing } from '../../types/component.js';\nimport { SingleContainerDefaultConfig } from './config.js';\n\n// Global CSS variables (side effects import)\r\nclass SingleContainer extends ContainerCore {\r\n constructor(element, config, data) {\r\n var _a;\r\n super(element);\r\n this._defaultConfig = SingleContainerDefaultConfig;\r\n this.config = this._defaultConfig;\r\n if (config) {\r\n this.updateContainer(config, true);\r\n this.component = config.component;\r\n }\r\n if (data) {\r\n this.setData(data, true);\r\n }\r\n // Render if component exists and has data\r\n if ((_a = this.component) === null || _a === void 0 ? void 0 : _a.datamodel.data)\r\n this.render();\r\n }\r\n setData(data, preventRender) {\r\n var _a;\r\n const { config } = this;\r\n if (this.component)\r\n this.component.setData(data);\r\n if (!preventRender)\r\n this.render();\r\n (_a = config.tooltip) === null || _a === void 0 ? void 0 : _a.hide();\r\n }\r\n updateContainer(containerConfig, preventRender) {\r\n super.updateContainer(containerConfig);\r\n this._removeAllChildren();\r\n this.component = containerConfig.component;\r\n if (containerConfig.sizing)\r\n this.component.sizing = containerConfig.sizing;\r\n this.element.appendChild(this.component.element);\r\n const tooltip = containerConfig.tooltip;\r\n if (tooltip) {\r\n if (!tooltip.hasContainer())\r\n tooltip.setContainer(this._container);\r\n tooltip.setComponents([this.component]);\r\n }\r\n const annotations = containerConfig.annotations;\r\n if (annotations) {\r\n this.element.appendChild(annotations.element);\r\n }\r\n // Defs\r\n this.element.appendChild(this._svgDefs.node());\r\n this.element.appendChild(this._svgDefsExternal.node());\r\n if (!preventRender)\r\n this.render();\r\n }\r\n updateComponent(componentConfig, preventRender) {\r\n this.component.setConfig(componentConfig);\r\n if (!preventRender)\r\n this.render();\r\n }\r\n update(containerConfig, componentConfig, data) {\r\n if (containerConfig)\r\n this.updateContainer(containerConfig, true);\r\n if (componentConfig)\r\n this.updateComponent(componentConfig, true);\r\n if (data)\r\n this.setData(data, true);\r\n this.render();\r\n }\r\n getFitWidthScale() {\r\n const { config, component } = this;\r\n const extendedSizeComponent = component;\r\n if (!extendedSizeComponent.getWidth)\r\n return 1;\r\n const componentWidth = extendedSizeComponent.getWidth() + config.margin.left + config.margin.right;\r\n return this.width / componentWidth;\r\n }\r\n _preRender() {\r\n var _a;\r\n super._preRender();\r\n this.component.setSize(this.width, this.height, this.containerWidth, this.containerHeight);\r\n (_a = this.config.annotations) === null || _a === void 0 ? void 0 : _a.setSize(this.width, this.height, this.containerWidth, this.containerHeight);\r\n }\r\n _render(duration) {\r\n var _a;\r\n const { config, component } = this;\r\n super._render(duration);\r\n component.g.attr('transform', `translate(${config.margin.left},${config.margin.top})`);\r\n component.render(duration);\r\n (_a = config.annotations) === null || _a === void 0 ? void 0 : _a.render(duration);\r\n if (config.tooltip)\r\n config.tooltip.update();\r\n }\r\n // Re-defining the `render()` function to handle different sizing techniques (`Sizing.Extend` and `Sizing.FitWidth`)\r\n // Not calling `super.render()` because we don't want it to interfere with setting the SVG size here.\r\n render(duration = this.config.duration) {\r\n const { config, component } = this;\r\n if (config.sizing === Sizing.Extend || config.sizing === Sizing.FitWidth) {\r\n const fitToWidth = config.sizing === Sizing.FitWidth;\r\n const extendedSizeComponent = component;\r\n const componentWidth = extendedSizeComponent.getWidth() + config.margin.left + config.margin.right;\r\n const componentHeight = extendedSizeComponent.getHeight() + config.margin.top + config.margin.bottom;\r\n const scale = fitToWidth ? this.getFitWidthScale() : 1;\r\n const currentWidth = this.svg.attr('width');\r\n const currentHeight = this.svg.attr('height');\r\n const scaledWidth = componentWidth * scale;\r\n const scaledHeight = componentHeight * scale;\r\n const animated = currentWidth || currentHeight;\r\n smartTransition(this.svg, animated ? duration : 0)\r\n .attr('width', scaledWidth)\r\n .attr('height', scaledHeight)\r\n .attr('viewBox', `${0} ${0} ${componentWidth} ${fitToWidth ? scaledHeight : componentHeight}`)\r\n .attr('preserveAspectRatio', 'xMinYMin');\r\n }\r\n else {\r\n this.svg\r\n .attr('width', this.config.width || this.containerWidth)\r\n .attr('height', this.config.height || this.containerHeight);\r\n }\r\n // Set up Resize Observer\r\n if (!this._resizeObserver)\r\n this._setUpResizeObserver();\r\n // Schedule the actual rendering in the next frame\r\n cancelAnimationFrame(this._renderAnimationFrameId);\r\n this._renderAnimationFrameId = requestAnimationFrame(() => {\r\n this._preRender();\r\n this._render(duration);\r\n });\r\n }\r\n _onResize() {\r\n var _a;\r\n const { config } = this;\r\n super._onResize();\r\n (_a = config.tooltip) === null || _a === void 0 ? void 0 : _a.hide();\r\n }\r\n destroy() {\r\n var _a, _b;\r\n const { component, config } = this;\r\n super.destroy();\r\n component === null || component === void 0 ? void 0 : component.destroy();\r\n (_a = config.tooltip) === null || _a === void 0 ? void 0 : _a.destroy();\r\n (_b = config.annotations) === null || _b === void 0 ? void 0 : _b.destroy();\r\n }\r\n}\n\nexport { SingleContainer };\n//# sourceMappingURL=index.js.map\n"],"names":["SingleContainer","ContainerCore","element","config","data","_a","SingleContainerDefaultConfig","preventRender","containerConfig","tooltip","annotations","componentConfig","component","extendedSizeComponent","componentWidth","duration","Sizing","fitToWidth","componentHeight","scale","currentWidth","currentHeight","scaledWidth","scaledHeight","animated","smartTransition","_b"],"mappings":";;;;;AAOA,MAAMA,UAAwBC,EAAc;AAAA,EACxC,YAAYC,GAASC,GAAQC,GAAM;AAC/B,QAAIC;AACJ,UAAMH,CAAO,GACb,KAAK,iBAAiBI,GACtB,KAAK,SAAS,KAAK,gBACfH,MACA,KAAK,gBAAgBA,GAAQ,EAAI,GACjC,KAAK,YAAYA,EAAO,YAExBC,KACA,KAAK,QAAQA,GAAM,EAAI,GAGtB,GAAAC,IAAK,KAAK,eAAe,QAAQA,MAAO,WAAkBA,EAAG,UAAU,QACxE,KAAK,OAAM;AAAA,EAClB;AAAA,EACD,QAAQD,GAAMG,GAAe;AACzB,QAAIF;AACJ,UAAM,EAAE,QAAAF,EAAQ,IAAG;AACnB,IAAI,KAAK,aACL,KAAK,UAAU,QAAQC,CAAI,GAC1BG,KACD,KAAK,OAAM,IACdF,IAAKF,EAAO,aAAa,QAAQE,MAAO,UAAkBA,EAAG;EACjE;AAAA,EACD,gBAAgBG,GAAiBD,GAAe;AAC5C,UAAM,gBAAgBC,CAAe,GACrC,KAAK,mBAAkB,GACvB,KAAK,YAAYA,EAAgB,WAC7BA,EAAgB,WAChB,KAAK,UAAU,SAASA,EAAgB,SAC5C,KAAK,QAAQ,YAAY,KAAK,UAAU,OAAO;AAC/C,UAAMC,IAAUD,EAAgB;AAChC,IAAIC,MACKA,EAAQ,aAAc,KACvBA,EAAQ,aAAa,KAAK,UAAU,GACxCA,EAAQ,cAAc,CAAC,KAAK,SAAS,CAAC;AAE1C,UAAMC,IAAcF,EAAgB;AACpC,IAAIE,KACA,KAAK,QAAQ,YAAYA,EAAY,OAAO,GAGhD,KAAK,QAAQ,YAAY,KAAK,SAAS,KAAI,CAAE,GAC7C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W,QAAAT,EAAQ,IAAG;AAC9B,UAAM,QAAO,GACbS,KAAc,QAAwCA,EAAU,YAC/DP,IAAKF,EAAO,aAAa,QAAQE,MAAO,UAAkBA,EAAG,YAC7DqB,IAAKvB,EAAO,iBAAiB,QAAQuB,MAAO,UAAkBA,EAAG;EACrE;AACL;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../core/container/config.cjs"),e=require("../../types/direction.cjs"),i=Object.assign(Object.assign({},n.ContainerDefaultConfig),{components:[],tooltip:void 0,crosshair:void 0,annotations:void 0,xAxis:void 0,yAxis:void 0,autoMargin:!0,xScale:void 0,xDomain:void 0,xDomainMinConstraint:void 0,xDomainMaxConstraint:void 0,xRange:void 0,yScale:void 0,yDomain:void 0,yDomainMinConstraint:void 0,yDomainMaxConstraint:void 0,yRange:void 0,yDirection:e.Direction.North,preventEmptyDomain:null,scaleByDomain:!1});exports.XYContainerDefaultConfig=i;
2
- //# sourceMappingURL=config.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.cjs","sources":["../../../../../../node_modules/@unovis/ts/containers/xy-container/config.js"],"sourcesContent":["import { ContainerDefaultConfig } from '../../core/container/config.js';\nimport { Direction } from '../../types/direction.js';\n\nconst XYContainerDefaultConfig = Object.assign(Object.assign({}, ContainerDefaultConfig), { components: [], tooltip: undefined, crosshair: undefined, annotations: undefined, xAxis: undefined, yAxis: undefined, autoMargin: true, xScale: undefined, xDomain: undefined, xDomainMinConstraint: undefined, xDomainMaxConstraint: undefined, xRange: undefined, yScale: undefined, yDomain: undefined, yDomainMinConstraint: undefined, yDomainMaxConstraint: undefined, yRange: undefined, yDirection: Direction.North, preventEmptyDomain: null, scaleByDomain: false });\n\nexport { XYContainerDefaultConfig };\n//# sourceMappingURL=config.js.map\n"],"names":["XYContainerDefaultConfig","ContainerDefaultConfig","Direction"],"mappings":"0KAGMA,EAA2B,OAAO,OAAO,OAAO,OAAO,GAAIC,EAAAA,sBAAsB,EAAG,CAAE,WAAY,CAAA,EAAI,QAAS,OAAW,UAAW,OAAW,YAAa,OAAW,MAAO,OAAW,MAAO,OAAW,WAAY,GAAM,OAAQ,OAAW,QAAS,OAAW,qBAAsB,OAAW,qBAAsB,OAAW,OAAQ,OAAW,OAAQ,OAAW,QAAS,OAAW,qBAAsB,OAAW,qBAAsB,OAAW,OAAQ,OAAW,WAAYC,YAAU,MAAO,mBAAoB,KAAM,cAAe,EAAO,CAAA","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- import { ContainerDefaultConfig as n } from "../../core/container/config.js";
2
- import { Direction as e } from "../../types/direction.js";
3
- const a = Object.assign(Object.assign({}, n), { components: [], tooltip: void 0, crosshair: void 0, annotations: void 0, xAxis: void 0, yAxis: void 0, autoMargin: !0, xScale: void 0, xDomain: void 0, xDomainMinConstraint: void 0, xDomainMaxConstraint: void 0, xRange: void 0, yScale: void 0, yDomain: void 0, yDomainMinConstraint: void 0, yDomainMaxConstraint: void 0, yRange: void 0, yDirection: e.North, preventEmptyDomain: null, scaleByDomain: !1 });
4
- export {
5
- a as XYContainerDefaultConfig
6
- };
7
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sources":["../../../../../../node_modules/@unovis/ts/containers/xy-container/config.js"],"sourcesContent":["import { ContainerDefaultConfig } from '../../core/container/config.js';\nimport { Direction } from '../../types/direction.js';\n\nconst XYContainerDefaultConfig = Object.assign(Object.assign({}, ContainerDefaultConfig), { components: [], tooltip: undefined, crosshair: undefined, annotations: undefined, xAxis: undefined, yAxis: undefined, autoMargin: true, xScale: undefined, xDomain: undefined, xDomainMinConstraint: undefined, xDomainMaxConstraint: undefined, xRange: undefined, yScale: undefined, yDomain: undefined, yDomainMinConstraint: undefined, yDomainMaxConstraint: undefined, yRange: undefined, yDirection: Direction.North, preventEmptyDomain: null, scaleByDomain: false });\n\nexport { XYContainerDefaultConfig };\n//# sourceMappingURL=config.js.map\n"],"names":["XYContainerDefaultConfig","ContainerDefaultConfig","Direction"],"mappings":";;AAGK,MAACA,IAA2B,OAAO,OAAO,OAAO,OAAO,IAAIC,CAAsB,GAAG,EAAE,YAAY,CAAA,GAAI,SAAS,QAAW,WAAW,QAAW,aAAa,QAAW,OAAO,QAAW,OAAO,QAAW,YAAY,IAAM,QAAQ,QAAW,SAAS,QAAW,sBAAsB,QAAW,sBAAsB,QAAW,QAAQ,QAAW,QAAQ,QAAW,SAAS,QAAW,sBAAsB,QAAW,sBAAsB,QAAW,QAAQ,QAAW,YAAYC,EAAU,OAAO,oBAAoB,MAAM,eAAe,GAAO,CAAA;","x_google_ignoreList":[0]}
@@ -1,4 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("../../../../@emotion/css/dist/emotion-css.esm.cjs");require("../../styles/index.cjs");const M=require("../../core/container/index.cjs"),E=require("../../data-models/core.cjs"),D=require("../../components/axis/types.cjs"),m=require("../../types/scale.cjs"),N=require("../../types/direction.cjs"),g=require("../../utils/data.cjs"),R=require("../../utils/misc.cjs"),P=require("./config.cjs"),Y=require("../../../../d3-array/src/extent.cjs"),T=require("../../../../d3-array/src/merge.cjs");class q extends M.ContainerCore{constructor(t,i,e){var n,s;super(t),this._defaultConfig=P.XYContainerDefaultConfig,this.datamodel=new E.CoreDataModel,this.config=this._defaultConfig,this._clipPathId=R.guid(),this._axisMargin={top:0,bottom:0,left:0,right:0},this._firstRender=!0,this._clipPath=this.svg.append("clipPath").attr("id",this._clipPathId),this._clipPath.append("rect");const o="saturate",r=window.location.href.replace(window.location.hash,"");this.svg.attr("class",C.css`
2
- --highlight-filter-id: url(${r}#${o}); // defining a css variable
3
- `),this._svgDefs.append("filter").attr("id",o).attr("filterUnits","objectBoundingBox").html('<feColorMatrix type="saturate" in="SourceGraphic" values="1.35"/>'),i&&this.updateContainer(i,!0),e&&this.setData(e,!0),(this.config.xAxis||this.config.yAxis||!((n=this.components)===null||n===void 0)&&n.some(a=>a.datamodel.data))&&this.render(),(s=document.fonts)===null||s===void 0||s.ready.then(()=>{this._firstRender||this._renderAxes(0)})}get components(){return this.config.components}get width(){const t=this._getMargin();return g.clamp(this.containerWidth-t.left-t.right,0,Number.POSITIVE_INFINITY)}get height(){const t=this._getMargin();return g.clamp(this.containerHeight-t.top-t.bottom,0,Number.POSITIVE_INFINITY)}setData(t,i){var e,n,s,o;const{components:r,config:a}=this;t&&(this.datamodel.data=t,r.forEach(l=>{l.setData(t)}),(e=a.crosshair)===null||e===void 0||e.setData(t),(n=a.xAxis)===null||n===void 0||n.setData(t),(s=a.yAxis)===null||s===void 0||s.setData(t),(o=a.tooltip)===null||o===void 0||o.hide(),i||this.render())}updateContainer(t,i){super.updateContainer(t),this._removeAllChildren(),this.setData(this.datamodel.data,!0),t.xAxis&&(this.config.xAxis.config.type=D.AxisType.X,this.element.appendChild(t.xAxis.element)),t.yAxis&&(this.config.yAxis.config.type=D.AxisType.Y,this.element.appendChild(t.yAxis.element));for(const o of this.components)this.element.appendChild(o.element);const e=t.tooltip;e&&(e.hasContainer()||e.setContainer(this._container),e.setComponents(this.components));const n=t.crosshair;n&&(n.setContainer(this.svg),n.tooltip=e,this.element.appendChild(n.element));const s=t.annotations;s&&this.element.appendChild(s.element),this.element.appendChild(this._clipPath.node()),this.element.appendChild(this._svgDefs.node()),this.element.appendChild(this._svgDefsExternal.node()),i||this.render()}updateComponents(t,i){const{config:e}=this;this.components.forEach((n,s)=>{t[s]&&n.setConfig(t[s])}),this._updateScales(...this.components,e.xAxis,e.yAxis,e.crosshair),i||this.render()}update(t,i,e){e&&(this.datamodel.data=e),t&&this.updateContainer(t,!0),i&&this.updateComponents(i,!0),this.render()}_preRender(){const{config:t}=this;super._preRender(),t.autoMargin&&this._setAutoMargin();const i=g.clean([...this.components,t.xAxis,t.yAxis,t.crosshair,t.annotations]);for(const e of i)e.setSize(this.width,this.height,this.containerWidth,this.containerHeight);this._updateScales(...this.components,t.xAxis,t.yAxis,t.crosshair)}_render(t){var i,e,n,s,o;const{config:r}=this;super._render();const a=this._getMargin();for(const d of this.components)d.g.attr("transform",`translate(${a.left},${a.top})`).style("clip-path",d.clippable?`url(#${this._clipPathId})`:null).style("-webkit-clip-path",d.clippable?`url(#${this._clipPathId})`:null),d.render(t);this._renderAxes(this._firstRender?0:t);const l=2;this._clipPath.select("rect").attr("x",-2).attr("y",-2).attr("width",this.width+2*l).attr("height",this.height+2*l),(i=r.tooltip)===null||i===void 0||i.update();const p=r.crosshair;if(p){const d=this.components.filter(h=>!h.stacked).map(h=>h.config.y),f=this.components.filter(h=>h.stacked).map(h=>h.config.y),c=(e=this.components.find(h=>h.config.baseline))===null||e===void 0?void 0:e.config,_=c==null?void 0:c.baseline;p.accessors={x:(n=this.components[0])===null||n===void 0?void 0:n.config.x,y:g.flatten(d),yStacked:g.flatten(f),baseline:_},p.g.attr("transform",`translate(${a.left},${a.top})`).style("clip-path",`url(#${this._clipPathId})`).style("-webkit-clip-path",`url(#${this._clipPathId})`),p.hide()}(s=r.annotations)===null||s===void 0||s.g.attr("transform",`translate(${a.left},${a.top})`),(o=r.annotations)===null||o===void 0||o.render(),this._firstRender=!1}_updateScales(...t){const i=g.clean(t||this.components);this._setScales(...i),this._updateScalesDomain(...i),this._updateScalesRange(...i)}_setScales(...t){const{config:i}=this;t&&(i.xScale&&t.forEach(e=>e.setScale(m.ScaleDimension.X,i.xScale)),i.yScale&&t.forEach(e=>e.setScale(m.ScaleDimension.Y,i.yScale)))}_updateScalesDomain(...t){const{config:i}=this;if(!t)return;const e=t.filter(n=>!n.config.excludeFromDomainCalculation);Object.values(m.ScaleDimension).forEach(n=>{var s,o,r,a,l,p,d,f;const[c,_]=Y.default(T.default(e.map(y=>y.getDataExtent(n,i.scaleByDomain)))),h=n===m.ScaleDimension.Y?i.yDomain:i.xDomain,u=n===m.ScaleDimension.Y?i.yDomainMinConstraint:i.xDomainMinConstraint,v=n===m.ScaleDimension.Y?i.yDomainMaxConstraint:i.xDomainMaxConstraint,b=(o=(s=h==null?void 0:h[0])!==null&&s!==void 0?s:c)!==null&&o!==void 0?o:0,I=(a=(r=h==null?void 0:h[1])!==null&&r!==void 0?r:_)!==null&&a!==void 0?a:1,x=[g.clamp(b,(l=u==null?void 0:u[0])!==null&&l!==void 0?l:Number.NEGATIVE_INFINITY,(p=u==null?void 0:u[1])!==null&&p!==void 0?p:Number.POSITIVE_INFINITY),g.clamp(I,(d=v==null?void 0:v[0])!==null&&d!==void 0?d:Number.NEGATIVE_INFINITY,(f=v==null?void 0:v[1])!==null&&f!==void 0?f:Number.POSITIVE_INFINITY)];if(x[0]===x[1]){const y=e.some(A=>{var S;return((S=A.datamodel.data)===null||S===void 0?void 0:S.length)>0});(i.preventEmptyDomain||i.preventEmptyDomain===null&&(!y||n===m.ScaleDimension.Y))&&(x[1]=x[0]+1)}t.forEach(y=>y.setScaleDomain(n,x))})}_updateScalesRange(...t){var i,e,n,s,o,r;const{config:a}=this;if(!t)return;const l=a.yDirection===N.Direction.South,p=[(i=a.padding.left)!==null&&i!==void 0?i:0,this.width-((e=a.padding.right)!==null&&e!==void 0?e:0)],d=[this.height-((n=a.padding.bottom)!==null&&n!==void 0?n:0),(s=a.padding.top)!==null&&s!==void 0?s:0];l&&d.reverse();for(const c of t)c.setSize(this.width,this.height,this.containerWidth,this.containerHeight),c.setScaleRange(m.ScaleDimension.X,(o=a.xRange)!==null&&o!==void 0?o:p),c.setScaleRange(m.ScaleDimension.Y,(r=a.yRange)!==null&&r!==void 0?r:d);const f=t.map(c=>c.bleed).reduce((c,_)=>{for(const h of Object.keys(c)){const u=h;c[u]<_[u]&&(c[u]=_[u])}return c},{top:0,bottom:0,left:0,right:0});for(const c of t)c.setScaleRange(m.ScaleDimension.X,[p[0]+f.left,p[1]-f.right]),c.setScaleRange(m.ScaleDimension.Y,l?[d[0]+f.top,d[1]-f.bottom]:[d[0]-f.bottom,d[1]+f.top])}_renderAxes(t){const{config:{xAxis:i,yAxis:e}}=this,n=this._getMargin();g.clean([i,e]).forEach(o=>{const r=o.getOffset(n);o.g.attr("transform",`translate(${r.left},${r.top})`),o.render(t)})}_setAutoMargin(){const{config:{xAxis:t,yAxis:i}}=this,e=g.clean([...this.components,t,i]);this._setScales(...e),this._updateScalesDomain(...e);const n=this._firstRender?2:1;for(let s=0;s<n;s+=1){const o={top:0,bottom:0,left:0,right:0};this._updateScalesRange(...e),g.clean([t,i]).forEach(a=>{a.preRender();const l=a.getRequiredMargin();o.top<l.top&&(o.top=l.top),o.bottom<l.bottom&&(o.bottom=l.bottom),o.left<l.left&&(o.left=l.left),o.right<l.right&&(o.right=l.right)}),this._axisMargin=o}}_getMargin(){const{config:{margin:t}}=this;return{top:t.top+this._axisMargin.top,bottom:t.bottom+this._axisMargin.bottom,left:t.left+this._axisMargin.left,right:t.right+this._axisMargin.right}}destroy(){const{components:t,config:{tooltip:i,crosshair:e,annotations:n,xAxis:s,yAxis:o}}=this;super.destroy();for(const r of t)r==null||r.destroy();i==null||i.destroy(),e==null||e.destroy(),n==null||n.destroy(),s==null||s.destroy(),o==null||o.destroy()}}exports.XYContainer=q;
4
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../../node_modules/@unovis/ts/containers/xy-container/index.js"],"sourcesContent":["import { css } from '@emotion/css';\nimport { extent, merge } from 'd3-array';\nimport '../../styles/index.js';\nimport { ContainerCore } from '../../core/container/index.js';\nimport { CoreDataModel } from '../../data-models/core.js';\nimport { AxisType } from '../../components/axis/types.js';\nimport { ScaleDimension } from '../../types/scale.js';\nimport { Direction } from '../../types/direction.js';\nimport { clamp, clean, flatten } from '../../utils/data.js';\nimport { guid } from '../../utils/misc.js';\nimport { XYContainerDefaultConfig } from './config.js';\n\nclass XYContainer extends ContainerCore {\r\n constructor(element, config, data) {\r\n var _a, _b;\r\n super(element);\r\n this._defaultConfig = XYContainerDefaultConfig;\r\n this.datamodel = new CoreDataModel();\r\n this.config = this._defaultConfig;\r\n this._clipPathId = guid();\r\n this._axisMargin = { top: 0, bottom: 0, left: 0, right: 0 };\r\n this._firstRender = true;\r\n this._clipPath = this.svg.append('clipPath')\r\n .attr('id', this._clipPathId);\r\n this._clipPath.append('rect');\r\n // When the base tag is specified on the HTML head,\r\n // Safari fails to find the corresponding filter URL.\r\n // We have to provide tull url in order to fix that\r\n const highlightFilterId = 'saturate';\r\n const baseUrl = window.location.href.replace(window.location.hash, '');\r\n this.svg.attr('class', css `\n --highlight-filter-id: url(${baseUrl}#${highlightFilterId}); // defining a css variable\n `);\r\n this._svgDefs.append('filter')\r\n .attr('id', highlightFilterId)\r\n .attr('filterUnits', 'objectBoundingBox')\r\n .html('<feColorMatrix type=\"saturate\" in=\"SourceGraphic\" values=\"1.35\"/>');\r\n if (config) {\r\n this.updateContainer(config, true);\r\n }\r\n if (data) {\r\n this.setData(data, true);\r\n }\r\n // Render if there are axes or components with data\r\n if (this.config.xAxis ||\r\n this.config.yAxis ||\r\n ((_a = this.components) === null || _a === void 0 ? void 0 : _a.some(c => c.datamodel.data))) {\r\n this.render();\r\n }\r\n // Force re-render axes when fonts are loaded\r\n (_b = document.fonts) === null || _b === void 0 ? void 0 : _b.ready.then(() => {\r\n if (!this._firstRender)\r\n this._renderAxes(0);\r\n });\r\n }\r\n get components() {\r\n return this.config.components;\r\n }\r\n // Overriding ContainerCore default get width method to work with axis auto margin\r\n get width() {\r\n const margin = this._getMargin();\r\n return clamp(this.containerWidth - margin.left - margin.right, 0, Number.POSITIVE_INFINITY);\r\n }\r\n // Overriding ContainerCore default get height method to work with axis auto margin\r\n get height() {\r\n const margin = this._getMargin();\r\n return clamp(this.containerHeight - margin.top - margin.bottom, 0, Number.POSITIVE_INFINITY);\r\n }\r\n setData(data, preventRender) {\r\n var _a, _b, _c, _d;\r\n const { components, config } = this;\r\n if (!data)\r\n return;\r\n this.datamodel.data = data;\r\n components.forEach((c) => {\r\n c.setData(data);\r\n });\r\n (_a = config.crosshair) === null || _a === void 0 ? void 0 : _a.setData(data);\r\n (_b = config.xAxis) === null || _b === void 0 ? void 0 : _b.setData(data);\r\n (_c = config.yAxis) === null || _c === void 0 ? void 0 : _c.setData(data);\r\n (_d = config.tooltip) === null || _d === void 0 ? void 0 : _d.hide();\r\n if (!preventRender)\r\n this.render();\r\n }\r\n updateContainer(containerConfig, preventRender) {\r\n super.updateContainer(containerConfig);\r\n this._removeAllChildren();\r\n // If there were any new components added we need to pass them data\r\n this.setData(this.datamodel.data, true);\r\n // Set up the axes\r\n if (containerConfig.xAxis) {\r\n this.config.xAxis.config.type = AxisType.X;\r\n this.element.appendChild(containerConfig.xAxis.element);\r\n }\r\n if (containerConfig.yAxis) {\r\n this.config.yAxis.config.type = AxisType.Y;\r\n this.element.appendChild(containerConfig.yAxis.element);\r\n }\r\n // Re-insert elements to the DOM\r\n for (const c of this.components) {\r\n this.element.appendChild(c.element);\r\n }\r\n // Set up the tooltip\r\n const tooltip = containerConfig.tooltip;\r\n if (tooltip) {\r\n if (!tooltip.hasContainer())\r\n tooltip.setContainer(this._container);\r\n tooltip.setComponents(this.components);\r\n }\r\n // Set up the crosshair\r\n const crosshair = containerConfig.crosshair;\r\n if (crosshair) {\r\n crosshair.setContainer(this.svg);\r\n crosshair.tooltip = tooltip;\r\n this.element.appendChild(crosshair.element);\r\n }\r\n // Set up annotations\r\n const annotations = containerConfig.annotations;\r\n if (annotations) {\r\n this.element.appendChild(annotations.element);\r\n }\r\n // Clipping path\r\n this.element.appendChild(this._clipPath.node());\r\n // Defs\r\n this.element.appendChild(this._svgDefs.node());\r\n this.element.appendChild(this._svgDefsExternal.node());\r\n // Rendering\r\n if (!preventRender)\r\n this.render();\r\n }\r\n updateComponents(componentConfigs, preventRender) {\r\n const { config } = this;\r\n this.components.forEach((c, i) => {\r\n const componentConfig = componentConfigs[i];\r\n if (componentConfig) {\r\n c.setConfig(componentConfigs[i]);\r\n }\r\n });\r\n this._updateScales(...this.components, config.xAxis, config.yAxis, config.crosshair);\r\n if (!preventRender)\r\n this.render();\r\n }\r\n update(containerConfig, componentConfigs, data) {\r\n if (data)\r\n this.datamodel.data = data; // Just updating the data model because the `updateContainer` method has the `setData` step inside\r\n if (containerConfig)\r\n this.updateContainer(containerConfig, true);\r\n if (componentConfigs)\r\n this.updateComponents(componentConfigs, true);\r\n this.render();\r\n }\r\n _preRender() {\r\n const { config } = this;\r\n super._preRender();\r\n // Calculate extra margin required to fit the axes\r\n if (config.autoMargin) {\r\n this._setAutoMargin();\r\n }\r\n // Pass size to the components\r\n const components = clean([...this.components, config.xAxis, config.yAxis, config.crosshair, config.annotations]);\r\n for (const c of components) {\r\n c.setSize(this.width, this.height, this.containerWidth, this.containerHeight);\r\n }\r\n // Update Scales of all the components at once to calculate required paddings and sync them\r\n this._updateScales(...this.components, config.xAxis, config.yAxis, config.crosshair);\r\n }\r\n _render(customDuration) {\r\n var _a, _b, _c, _d, _e;\r\n const { config } = this;\r\n super._render();\r\n // Get chart total margin after auto margin calculations\r\n const margin = this._getMargin();\r\n // Render components\r\n for (const c of this.components) {\r\n c.g.attr('transform', `translate(${margin.left},${margin.top})`)\r\n .style('clip-path', c.clippable ? `url(#${this._clipPathId})` : null)\r\n .style('-webkit-clip-path', c.clippable ? `url(#${this._clipPathId})` : null);\r\n c.render(customDuration);\r\n }\r\n this._renderAxes(this._firstRender ? 0 : customDuration);\r\n // Clip RectsetSize\r\n // Extending the clipping path to allow small overflow (e.g. Line will looks better that way when it touches the edges)\r\n const clipPathExtension = 2;\r\n this._clipPath.select('rect')\r\n .attr('x', -clipPathExtension)\r\n .attr('y', -clipPathExtension)\r\n .attr('width', this.width + 2 * clipPathExtension)\r\n .attr('height', this.height + 2 * clipPathExtension);\r\n // Tooltip\r\n (_a = config.tooltip) === null || _a === void 0 ? void 0 : _a.update(); // Re-bind events\r\n // Crosshair\r\n const crosshair = config.crosshair;\r\n if (crosshair) {\r\n // Pass accessors\r\n const yAccessors = this.components.filter(c => !c.stacked).map(c => c.config.y);\r\n const yStackedAccessors = this.components.filter(c => c.stacked).map(c => c.config.y);\r\n const baselineComponentConfig = (_b = this.components.find(c => c.config.baseline)) === null || _b === void 0 ? void 0 : _b.config;\r\n const baselineAccessor = baselineComponentConfig === null || baselineComponentConfig === void 0 ? void 0 : baselineComponentConfig.baseline;\r\n crosshair.accessors = {\r\n x: (_c = this.components[0]) === null || _c === void 0 ? void 0 : _c.config.x,\r\n y: flatten(yAccessors),\r\n yStacked: flatten(yStackedAccessors),\r\n baseline: baselineAccessor,\r\n };\r\n crosshair.g.attr('transform', `translate(${margin.left},${margin.top})`)\r\n .style('clip-path', `url(#${this._clipPathId})`)\r\n .style('-webkit-clip-path', `url(#${this._clipPathId})`);\r\n crosshair.hide();\r\n }\r\n (_d = config.annotations) === null || _d === void 0 ? void 0 : _d.g.attr('transform', `translate(${margin.left},${margin.top})`);\r\n (_e = config.annotations) === null || _e === void 0 ? void 0 : _e.render();\r\n this._firstRender = false;\r\n }\r\n _updateScales(...components) {\r\n const c = clean(components || this.components);\r\n this._setScales(...c);\r\n this._updateScalesDomain(...c);\r\n this._updateScalesRange(...c);\r\n }\r\n _setScales(...components) {\r\n const { config } = this;\r\n if (!components)\r\n return;\r\n // Set the X and Y scales\r\n if (config.xScale)\r\n components.forEach(c => c.setScale(ScaleDimension.X, config.xScale));\r\n if (config.yScale)\r\n components.forEach(c => c.setScale(ScaleDimension.Y, config.yScale));\r\n }\r\n _updateScalesDomain(...components) {\r\n const { config } = this;\r\n if (!components)\r\n return;\r\n const componentsWithDomain = components.filter(c => !c.config.excludeFromDomainCalculation);\r\n // Loop over all the dimensions\r\n Object.values(ScaleDimension).forEach((dimension) => {\r\n var _a, _b, _c, _d, _e, _f, _g, _h;\r\n const [min, max] = extent(merge(componentsWithDomain.map(c => c.getDataExtent(dimension, config.scaleByDomain)))); // Components with undefined dimension accessors will return [undefined, undefined] but d3.extent will take care of that\r\n const configuredDomain = dimension === ScaleDimension.Y ? config.yDomain : config.xDomain;\r\n const configuredDomainMinConstraint = dimension === ScaleDimension.Y ? config.yDomainMinConstraint : config.xDomainMinConstraint;\r\n const configuredDomainMaxConstraint = dimension === ScaleDimension.Y ? config.yDomainMaxConstraint : config.xDomainMaxConstraint;\r\n const domainMin = (_b = (_a = configuredDomain === null || configuredDomain === void 0 ? void 0 : configuredDomain[0]) !== null && _a !== void 0 ? _a : min) !== null && _b !== void 0 ? _b : 0;\r\n const domainMax = (_d = (_c = configuredDomain === null || configuredDomain === void 0 ? void 0 : configuredDomain[1]) !== null && _c !== void 0 ? _c : max) !== null && _d !== void 0 ? _d : 1;\r\n const domain = [\r\n clamp(domainMin, (_e = configuredDomainMinConstraint === null || configuredDomainMinConstraint === void 0 ? void 0 : configuredDomainMinConstraint[0]) !== null && _e !== void 0 ? _e : Number.NEGATIVE_INFINITY, (_f = configuredDomainMinConstraint === null || configuredDomainMinConstraint === void 0 ? void 0 : configuredDomainMinConstraint[1]) !== null && _f !== void 0 ? _f : Number.POSITIVE_INFINITY),\r\n clamp(domainMax, (_g = configuredDomainMaxConstraint === null || configuredDomainMaxConstraint === void 0 ? void 0 : configuredDomainMaxConstraint[0]) !== null && _g !== void 0 ? _g : Number.NEGATIVE_INFINITY, (_h = configuredDomainMaxConstraint === null || configuredDomainMaxConstraint === void 0 ? void 0 : configuredDomainMaxConstraint[1]) !== null && _h !== void 0 ? _h : Number.POSITIVE_INFINITY),\r\n ];\r\n // Extend the X and Y domains if they're empty and `preventEmptyDomain` was explicitly set to `true`\r\n // or just the X domain if there is no data provided and `preventEmptyDomain` set to `null`\r\n if (domain[0] === domain[1]) {\r\n const hasDataProvided = componentsWithDomain.some(c => { var _a; return ((_a = c.datamodel.data) === null || _a === void 0 ? void 0 : _a.length) > 0; });\r\n if (config.preventEmptyDomain || (config.preventEmptyDomain === null && (!hasDataProvided || dimension === ScaleDimension.Y))) {\r\n domain[1] = domain[0] + 1;\r\n }\r\n }\r\n components.forEach(c => c.setScaleDomain(dimension, domain));\r\n });\r\n }\r\n _updateScalesRange(...components) {\r\n var _a, _b, _c, _d, _e, _f;\r\n const { config } = this;\r\n if (!components)\r\n return;\r\n // Set initial scale range\r\n const isYDirectionSouth = config.yDirection === Direction.South;\r\n const xRange = [(_a = config.padding.left) !== null && _a !== void 0 ? _a : 0, this.width - ((_b = config.padding.right) !== null && _b !== void 0 ? _b : 0)];\r\n const yRange = [this.height - ((_c = config.padding.bottom) !== null && _c !== void 0 ? _c : 0), (_d = config.padding.top) !== null && _d !== void 0 ? _d : 0];\r\n if (isYDirectionSouth)\r\n yRange.reverse();\r\n for (const c of components) {\r\n c.setSize(this.width, this.height, this.containerWidth, this.containerHeight);\r\n c.setScaleRange(ScaleDimension.X, (_e = config.xRange) !== null && _e !== void 0 ? _e : xRange);\r\n c.setScaleRange(ScaleDimension.Y, (_f = config.yRange) !== null && _f !== void 0 ? _f : yRange);\r\n }\r\n // Get and combine bleed\r\n const bleed = components.map(c => c.bleed).reduce((bleed, b) => {\r\n for (const key of Object.keys(bleed)) {\r\n const k = key;\r\n if (bleed[k] < b[k])\r\n bleed[k] = b[k];\r\n }\r\n return bleed;\r\n }, { top: 0, bottom: 0, left: 0, right: 0 });\r\n // Update scale range\r\n for (const c of components) {\r\n c.setScaleRange(ScaleDimension.X, [xRange[0] + bleed.left, xRange[1] - bleed.right]);\r\n c.setScaleRange(ScaleDimension.Y, isYDirectionSouth\r\n ? [yRange[0] + bleed.top, yRange[1] - bleed.bottom] // if Y axis is directed downwards\r\n : [yRange[0] - bleed.bottom, yRange[1] + bleed.top] // if Y axis is directed upwards\r\n );\r\n }\r\n }\r\n _renderAxes(duration) {\r\n const { config: { xAxis, yAxis } } = this;\r\n const margin = this._getMargin();\r\n const axes = clean([xAxis, yAxis]);\r\n axes.forEach(axis => {\r\n const offset = axis.getOffset(margin);\r\n axis.g.attr('transform', `translate(${offset.left},${offset.top})`);\r\n axis.render(duration);\r\n });\r\n }\r\n _setAutoMargin() {\r\n const { config: { xAxis, yAxis } } = this;\r\n // At first we need to set the domain to the scales\r\n const components = clean([...this.components, xAxis, yAxis]);\r\n this._setScales(...components);\r\n this._updateScalesDomain(...components);\r\n // Calculate margin required by the axes\r\n // We do two iterations on the first render, because the amount and size of ticks can change\r\n // after new margin are calculated and applied (axes dimensions will change).\r\n // That's needed for correct label placement.\r\n const numIterations = this._firstRender ? 2 : 1;\r\n for (let i = 0; i < numIterations; i += 1) {\r\n const axisMargin = { top: 0, bottom: 0, left: 0, right: 0 };\r\n this._updateScalesRange(...components);\r\n const axes = clean([xAxis, yAxis]);\r\n axes.forEach(axis => {\r\n axis.preRender();\r\n const m = axis.getRequiredMargin();\r\n if (axisMargin.top < m.top)\r\n axisMargin.top = m.top;\r\n if (axisMargin.bottom < m.bottom)\r\n axisMargin.bottom = m.bottom;\r\n if (axisMargin.left < m.left)\r\n axisMargin.left = m.left;\r\n if (axisMargin.right < m.right)\r\n axisMargin.right = m.right;\r\n });\r\n this._axisMargin = axisMargin;\r\n }\r\n }\r\n _getMargin() {\r\n const { config: { margin } } = this;\r\n return {\r\n top: margin.top + this._axisMargin.top,\r\n bottom: margin.bottom + this._axisMargin.bottom,\r\n left: margin.left + this._axisMargin.left,\r\n right: margin.right + this._axisMargin.right,\r\n };\r\n }\r\n destroy() {\r\n const { components, config: { tooltip, crosshair, annotations, xAxis, yAxis } } = this;\r\n super.destroy();\r\n for (const c of components)\r\n c === null || c === void 0 ? void 0 : c.destroy();\r\n tooltip === null || tooltip === void 0 ? void 0 : tooltip.destroy();\r\n crosshair === null || crosshair === void 0 ? void 0 : crosshair.destroy();\r\n annotations === null || annotations === void 0 ? void 0 : annotations.destroy();\r\n xAxis === null || xAxis === void 0 ? void 0 : xAxis.destroy();\r\n yAxis === null || yAxis === void 0 ? void 0 : yAxis.destroy();\r\n }\r\n}\n\nexport { XYContainer };\n//# sourceMappingURL=index.js.map\n"],"names":["XYContainer","ContainerCore","element","config","data","_a","_b","XYContainerDefaultConfig","CoreDataModel","guid","highlightFilterId","baseUrl","css","c","margin","clamp","preventRender","_c","_d","components","containerConfig","AxisType","tooltip","crosshair","annotations","componentConfigs","i","clean","customDuration","_e","clipPathExtension","yAccessors","yStackedAccessors","baselineComponentConfig","baselineAccessor","flatten","ScaleDimension","componentsWithDomain","dimension","_f","_g","_h","min","max","extent","merge","configuredDomain","configuredDomainMinConstraint","configuredDomainMaxConstraint","domainMin","domainMax","domain","hasDataProvided","isYDirectionSouth","Direction","xRange","yRange","bleed","b","key","k","duration","xAxis","yAxis","axis","offset","numIterations","axisMargin","m"],"mappings":"ukBAYA,MAAMA,UAAoBC,EAAAA,aAAc,CACpC,YAAYC,EAASC,EAAQC,EAAM,CAC/B,IAAIC,EAAIC,EACR,MAAMJ,CAAO,EACb,KAAK,eAAiBK,2BACtB,KAAK,UAAY,IAAIC,EAAAA,cACrB,KAAK,OAAS,KAAK,eACnB,KAAK,YAAcC,EAAAA,OACnB,KAAK,YAAc,CAAE,IAAK,EAAG,OAAQ,EAAG,KAAM,EAAG,MAAO,CAAC,EACzD,KAAK,aAAe,GACpB,KAAK,UAAY,KAAK,IAAI,OAAO,UAAU,EACtC,KAAK,KAAM,KAAK,WAAW,EAChC,KAAK,UAAU,OAAO,MAAM,EAI5B,MAAMC,EAAoB,WACpBC,EAAU,OAAO,SAAS,KAAK,QAAQ,OAAO,SAAS,KAAM,EAAE,EACrE,KAAK,IAAI,KAAK,QAASC,EAAAA;AAAAA,mCACID,CAAO,IAAID,CAAiB;AAAA,KAC1D,EACG,KAAK,SAAS,OAAO,QAAQ,EACxB,KAAK,KAAMA,CAAiB,EAC5B,KAAK,cAAe,mBAAmB,EACvC,KAAK,mEAAmE,EACzEP,GACA,KAAK,gBAAgBA,EAAQ,EAAI,EAEjCC,GACA,KAAK,QAAQA,EAAM,EAAI,GAGvB,KAAK,OAAO,OACZ,KAAK,OAAO,OACV,GAAAC,EAAK,KAAK,cAAgB,MAAQA,IAAO,SAAkBA,EAAG,KAAKQ,GAAKA,EAAE,UAAU,IAAI,IAC1F,KAAK,OAAM,GAG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