vue-chrts 0.1.0-beta.2-internal-21 → 0.1.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (694) hide show
  1. package/README.md +3 -82
  2. package/package.json +4 -5
  3. package/dist/_virtual/_commonjsHelpers.cjs +0 -1
  4. package/dist/_virtual/_commonjsHelpers.js +0 -6
  5. package/dist/_virtual/browser.cjs +0 -1
  6. package/dist/_virtual/browser.js +0 -2
  7. package/dist/_virtual/striptags.cjs +0 -1
  8. package/dist/_virtual/striptags.js +0 -7
  9. package/dist/_virtual/striptags2.cjs +0 -1
  10. package/dist/_virtual/striptags2.js +0 -4
  11. package/dist/components/Area/AreaChart.cjs +0 -6
  12. package/dist/components/Area/AreaChart.js +0 -141
  13. package/dist/components/Area/AreaChart.vue.d.ts +0 -14
  14. package/dist/components/Area/AreaChart2.cjs +0 -1
  15. package/dist/components/Area/AreaChart2.js +0 -4
  16. package/dist/components/Area/index.d.ts +0 -2
  17. package/dist/components/Area/types.d.ts +0 -82
  18. package/dist/components/AreaStacked/AreaStackedChart.cjs +0 -1
  19. package/dist/components/AreaStacked/AreaStackedChart.js +0 -74
  20. package/dist/components/AreaStacked/AreaStackedChart.vue.d.ts +0 -20
  21. package/dist/components/AreaStacked/AreaStackedChart2.cjs +0 -1
  22. package/dist/components/AreaStacked/AreaStackedChart2.js +0 -4
  23. package/dist/components/AreaStacked/index.d.ts +0 -1
  24. package/dist/components/Bar/BarChart.cjs +0 -1
  25. package/dist/components/Bar/BarChart.js +0 -121
  26. package/dist/components/Bar/BarChart.vue.d.ts +0 -33
  27. package/dist/components/Bar/BarChart2.cjs +0 -1
  28. package/dist/components/Bar/BarChart2.js +0 -4
  29. package/dist/components/Bar/index.d.ts +0 -1
  30. package/dist/components/Crosshair/Crosshair.vue.d.ts +0 -12
  31. package/dist/components/Crosshair/index.d.ts +0 -1
  32. package/dist/components/Donut/DonutChart.cjs +0 -5
  33. package/dist/components/Donut/DonutChart.js +0 -62
  34. package/dist/components/Donut/DonutChart.vue.d.ts +0 -18
  35. package/dist/components/Donut/DonutChart2.cjs +0 -1
  36. package/dist/components/Donut/DonutChart2.js +0 -4
  37. package/dist/components/Donut/index.cjs +0 -1
  38. package/dist/components/Donut/index.d.ts +0 -17
  39. package/dist/components/Donut/index.js +0 -5
  40. package/dist/components/Line/LineChart.cjs +0 -1
  41. package/dist/components/Line/LineChart.js +0 -97
  42. package/dist/components/Line/LineChart.vue.d.ts +0 -27
  43. package/dist/components/Line/LineChart2.cjs +0 -1
  44. package/dist/components/Line/LineChart2.js +0 -4
  45. package/dist/components/Line/index.d.ts +0 -1
  46. package/dist/components/Tooltip.cjs +0 -1
  47. package/dist/components/Tooltip.js +0 -37
  48. package/dist/components/Tooltip.vue.d.ts +0 -19
  49. package/dist/components/Tooltip2.cjs +0 -1
  50. package/dist/components/Tooltip2.js +0 -4
  51. package/dist/index.cjs +0 -1
  52. package/dist/index.d.ts +0 -6
  53. package/dist/index.js +0 -12
  54. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.cjs +0 -1
  55. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -279
  56. package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.cjs +0 -1
  57. package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js +0 -86
  58. package/dist/node_modules/@emotion/css/dist/emotion-css.esm.cjs +0 -1
  59. package/dist/node_modules/@emotion/css/dist/emotion-css.esm.js +0 -8
  60. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.cjs +0 -1
  61. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -22
  62. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -1
  63. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  64. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs +0 -1
  65. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -123
  66. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.cjs +0 -1
  67. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -44
  68. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
  69. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -53
  70. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.cjs +0 -1
  71. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -29
  72. package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.cjs +0 -1
  73. package/dist/node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js +0 -15
  74. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.cjs +0 -1
  75. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObservation.js +0 -20
  76. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.cjs +0 -1
  77. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserver.js +0 -31
  78. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.cjs +0 -1
  79. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js +0 -7
  80. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.cjs +0 -1
  81. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverController.js +0 -31
  82. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.cjs +0 -1
  83. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js +0 -9
  84. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.cjs +0 -1
  85. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js +0 -12
  86. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.cjs +0 -1
  87. package/dist/node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js +0 -10
  88. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.cjs +0 -1
  89. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js +0 -26
  90. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.cjs +0 -1
  91. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js +0 -42
  92. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.cjs +0 -1
  93. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js +0 -11
  94. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.cjs +0 -1
  95. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js +0 -9
  96. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.cjs +0 -1
  97. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js +0 -12
  98. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.cjs +0 -1
  99. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js +0 -9
  100. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.cjs +0 -1
  101. package/dist/node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js +0 -9
  102. package/dist/node_modules/@juggle/resize-observer/lib/utils/element.cjs +0 -1
  103. package/dist/node_modules/@juggle/resize-observer/lib/utils/element.js +0 -37
  104. package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.cjs +0 -1
  105. package/dist/node_modules/@juggle/resize-observer/lib/utils/freeze.js +0 -6
  106. package/dist/node_modules/@juggle/resize-observer/lib/utils/global.cjs +0 -1
  107. package/dist/node_modules/@juggle/resize-observer/lib/utils/global.js +0 -4
  108. package/dist/node_modules/@juggle/resize-observer/lib/utils/process.cjs +0 -1
  109. package/dist/node_modules/@juggle/resize-observer/lib/utils/process.js +0 -14
  110. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.cjs +0 -1
  111. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js +0 -18
  112. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.cjs +0 -1
  113. package/dist/node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js +0 -9
  114. package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.cjs +0 -1
  115. package/dist/node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js +0 -4
  116. package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.cjs +0 -1
  117. package/dist/node_modules/@juggle/resize-observer/lib/utils/scheduler.js +0 -70
  118. package/dist/node_modules/@unovis/ts/components/area/config.cjs +0 -1
  119. package/dist/node_modules/@unovis/ts/components/area/config.js +0 -6
  120. package/dist/node_modules/@unovis/ts/components/area/index.cjs +0 -1
  121. package/dist/node_modules/@unovis/ts/components/area/index.js +0 -52
  122. package/dist/node_modules/@unovis/ts/components/area/style.cjs +0 -35
  123. package/dist/node_modules/@unovis/ts/components/area/style.js +0 -41
  124. package/dist/node_modules/@unovis/ts/components/axis/config.cjs +0 -1
  125. package/dist/node_modules/@unovis/ts/components/axis/config.js +0 -6
  126. package/dist/node_modules/@unovis/ts/components/axis/index.cjs +0 -1
  127. package/dist/node_modules/@unovis/ts/components/axis/index.js +0 -287
  128. package/dist/node_modules/@unovis/ts/components/axis/style.cjs +0 -101
  129. package/dist/node_modules/@unovis/ts/components/axis/style.js +0 -114
  130. package/dist/node_modules/@unovis/ts/components/axis/types.cjs +0 -1
  131. package/dist/node_modules/@unovis/ts/components/axis/types.js +0 -7
  132. package/dist/node_modules/@unovis/ts/components/bullet-legend/config.cjs +0 -1
  133. package/dist/node_modules/@unovis/ts/components/bullet-legend/config.js +0 -18
  134. package/dist/node_modules/@unovis/ts/components/bullet-legend/index.cjs +0 -1
  135. package/dist/node_modules/@unovis/ts/components/bullet-legend/index.js +0 -36
  136. package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.cjs +0 -1
  137. package/dist/node_modules/@unovis/ts/components/bullet-legend/modules/shape.js +0 -48
  138. package/dist/node_modules/@unovis/ts/components/bullet-legend/style.cjs +0 -63
  139. package/dist/node_modules/@unovis/ts/components/bullet-legend/style.js +0 -73
  140. package/dist/node_modules/@unovis/ts/components/bullet-legend/types.cjs +0 -1
  141. package/dist/node_modules/@unovis/ts/components/bullet-legend/types.js +0 -10
  142. package/dist/node_modules/@unovis/ts/components/crosshair/config.cjs +0 -1
  143. package/dist/node_modules/@unovis/ts/components/crosshair/config.js +0 -5
  144. package/dist/node_modules/@unovis/ts/components/crosshair/index.cjs +0 -1
  145. package/dist/node_modules/@unovis/ts/components/crosshair/index.js +0 -119
  146. package/dist/node_modules/@unovis/ts/components/crosshair/style.cjs +0 -22
  147. package/dist/node_modules/@unovis/ts/components/crosshair/style.js +0 -29
  148. package/dist/node_modules/@unovis/ts/components/donut/config.cjs +0 -1
  149. package/dist/node_modules/@unovis/ts/components/donut/config.js +0 -8
  150. package/dist/node_modules/@unovis/ts/components/donut/constants.cjs +0 -1
  151. package/dist/node_modules/@unovis/ts/components/donut/constants.js +0 -11
  152. package/dist/node_modules/@unovis/ts/components/donut/index.cjs +0 -1
  153. package/dist/node_modules/@unovis/ts/components/donut/index.js +0 -57
  154. package/dist/node_modules/@unovis/ts/components/donut/modules/arc.cjs +0 -1
  155. package/dist/node_modules/@unovis/ts/components/donut/modules/arc.js +0 -37
  156. package/dist/node_modules/@unovis/ts/components/donut/style.cjs +0 -58
  157. package/dist/node_modules/@unovis/ts/components/donut/style.js +0 -68
  158. package/dist/node_modules/@unovis/ts/components/grouped-bar/config.cjs +0 -1
  159. package/dist/node_modules/@unovis/ts/components/grouped-bar/config.js +0 -6
  160. package/dist/node_modules/@unovis/ts/components/grouped-bar/index.cjs +0 -1
  161. package/dist/node_modules/@unovis/ts/components/grouped-bar/index.js +0 -121
  162. package/dist/node_modules/@unovis/ts/components/grouped-bar/style.cjs +0 -35
  163. package/dist/node_modules/@unovis/ts/components/grouped-bar/style.js +0 -43
  164. package/dist/node_modules/@unovis/ts/components/line/config.cjs +0 -1
  165. package/dist/node_modules/@unovis/ts/components/line/config.js +0 -6
  166. package/dist/node_modules/@unovis/ts/components/line/index.cjs +0 -1
  167. package/dist/node_modules/@unovis/ts/components/line/index.js +0 -86
  168. package/dist/node_modules/@unovis/ts/components/line/style.cjs +0 -35
  169. package/dist/node_modules/@unovis/ts/components/line/style.js +0 -45
  170. package/dist/node_modules/@unovis/ts/components/stacked-bar/config.cjs +0 -1
  171. package/dist/node_modules/@unovis/ts/components/stacked-bar/config.js +0 -6
  172. package/dist/node_modules/@unovis/ts/components/stacked-bar/index.cjs +0 -1
  173. package/dist/node_modules/@unovis/ts/components/stacked-bar/index.js +0 -111
  174. package/dist/node_modules/@unovis/ts/components/stacked-bar/style.cjs +0 -34
  175. package/dist/node_modules/@unovis/ts/components/stacked-bar/style.js +0 -42
  176. package/dist/node_modules/@unovis/ts/components/tooltip/config.cjs +0 -1
  177. package/dist/node_modules/@unovis/ts/components/tooltip/config.js +0 -17
  178. package/dist/node_modules/@unovis/ts/components/tooltip/index.cjs +0 -1
  179. package/dist/node_modules/@unovis/ts/components/tooltip/index.js +0 -166
  180. package/dist/node_modules/@unovis/ts/components/tooltip/style.cjs +0 -61
  181. package/dist/node_modules/@unovis/ts/components/tooltip/style.js +0 -71
  182. package/dist/node_modules/@unovis/ts/containers/single-container/config.cjs +0 -1
  183. package/dist/node_modules/@unovis/ts/containers/single-container/config.js +0 -5
  184. package/dist/node_modules/@unovis/ts/containers/single-container/index.cjs +0 -1
  185. package/dist/node_modules/@unovis/ts/containers/single-container/index.js +0 -71
  186. package/dist/node_modules/@unovis/ts/containers/xy-container/config.cjs +0 -1
  187. package/dist/node_modules/@unovis/ts/containers/xy-container/config.js +0 -6
  188. package/dist/node_modules/@unovis/ts/containers/xy-container/index.cjs +0 -3
  189. package/dist/node_modules/@unovis/ts/containers/xy-container/index.js +0 -185
  190. package/dist/node_modules/@unovis/ts/core/component/config.cjs +0 -1
  191. package/dist/node_modules/@unovis/ts/core/component/config.js +0 -8
  192. package/dist/node_modules/@unovis/ts/core/component/index.cjs +0 -1
  193. package/dist/node_modules/@unovis/ts/core/component/index.js +0 -68
  194. package/dist/node_modules/@unovis/ts/core/container/config.cjs +0 -1
  195. package/dist/node_modules/@unovis/ts/core/container/config.js +0 -24
  196. package/dist/node_modules/@unovis/ts/core/container/index.cjs +0 -1
  197. package/dist/node_modules/@unovis/ts/core/container/index.js +0 -73
  198. package/dist/node_modules/@unovis/ts/core/xy-component/config.cjs +0 -1
  199. package/dist/node_modules/@unovis/ts/core/xy-component/config.js +0 -8
  200. package/dist/node_modules/@unovis/ts/core/xy-component/index.cjs +0 -1
  201. package/dist/node_modules/@unovis/ts/core/xy-component/index.js +0 -53
  202. package/dist/node_modules/@unovis/ts/data-models/core.cjs +0 -1
  203. package/dist/node_modules/@unovis/ts/data-models/core.js +0 -14
  204. package/dist/node_modules/@unovis/ts/data-models/series.cjs +0 -1
  205. package/dist/node_modules/@unovis/ts/data-models/series.js +0 -16
  206. package/dist/node_modules/@unovis/ts/styles/colors.cjs +0 -1
  207. package/dist/node_modules/@unovis/ts/styles/colors.js +0 -18
  208. package/dist/node_modules/@unovis/ts/styles/index.cjs +0 -38
  209. package/dist/node_modules/@unovis/ts/styles/index.js +0 -63
  210. package/dist/node_modules/@unovis/ts/styles/patterns.cjs +0 -15
  211. package/dist/node_modules/@unovis/ts/styles/patterns.js +0 -45
  212. package/dist/node_modules/@unovis/ts/types/component.cjs +0 -1
  213. package/dist/node_modules/@unovis/ts/types/component.js +0 -12
  214. package/dist/node_modules/@unovis/ts/types/curve.cjs +0 -1
  215. package/dist/node_modules/@unovis/ts/types/curve.js +0 -43
  216. package/dist/node_modules/@unovis/ts/types/direction.cjs +0 -1
  217. package/dist/node_modules/@unovis/ts/types/direction.js +0 -7
  218. package/dist/node_modules/@unovis/ts/types/position.cjs +0 -1
  219. package/dist/node_modules/@unovis/ts/types/position.js +0 -22
  220. package/dist/node_modules/@unovis/ts/types/scale.cjs +0 -1
  221. package/dist/node_modules/@unovis/ts/types/scale.js +0 -40
  222. package/dist/node_modules/@unovis/ts/types/svg.cjs +0 -1
  223. package/dist/node_modules/@unovis/ts/types/svg.js +0 -15
  224. package/dist/node_modules/@unovis/ts/types/symbol.cjs +0 -1
  225. package/dist/node_modules/@unovis/ts/types/symbol.js +0 -24
  226. package/dist/node_modules/@unovis/ts/types/text.cjs +0 -1
  227. package/dist/node_modules/@unovis/ts/types/text.js +0 -22
  228. package/dist/node_modules/@unovis/ts/utils/color.cjs +0 -1
  229. package/dist/node_modules/@unovis/ts/utils/color.js +0 -8
  230. package/dist/node_modules/@unovis/ts/utils/d3.cjs +0 -1
  231. package/dist/node_modules/@unovis/ts/utils/d3.js +0 -12
  232. package/dist/node_modules/@unovis/ts/utils/data.cjs +0 -1
  233. package/dist/node_modules/@unovis/ts/utils/data.js +0 -169
  234. package/dist/node_modules/@unovis/ts/utils/misc.cjs +0 -1
  235. package/dist/node_modules/@unovis/ts/utils/misc.js +0 -28
  236. package/dist/node_modules/@unovis/ts/utils/path.cjs +0 -1
  237. package/dist/node_modules/@unovis/ts/utils/path.js +0 -9
  238. package/dist/node_modules/@unovis/ts/utils/resize-observer.cjs +0 -1
  239. package/dist/node_modules/@unovis/ts/utils/resize-observer.js +0 -6
  240. package/dist/node_modules/@unovis/ts/utils/text.cjs +0 -2
  241. package/dist/node_modules/@unovis/ts/utils/text.js +0 -178
  242. package/dist/node_modules/@unovis/vue/components/area/index.cjs +0 -1
  243. package/dist/node_modules/@unovis/vue/components/area/index.js +0 -48
  244. package/dist/node_modules/@unovis/vue/components/axis/index.cjs +0 -1
  245. package/dist/node_modules/@unovis/vue/components/axis/index.js +0 -69
  246. package/dist/node_modules/@unovis/vue/components/crosshair/index.cjs +0 -1
  247. package/dist/node_modules/@unovis/vue/components/crosshair/index.js +0 -33
  248. package/dist/node_modules/@unovis/vue/components/donut/index.cjs +0 -1
  249. package/dist/node_modules/@unovis/vue/components/donut/index.js +0 -54
  250. package/dist/node_modules/@unovis/vue/components/grouped-bar/index.cjs +0 -1
  251. package/dist/node_modules/@unovis/vue/components/grouped-bar/index.js +0 -54
  252. package/dist/node_modules/@unovis/vue/components/line/index.cjs +0 -1
  253. package/dist/node_modules/@unovis/vue/components/line/index.js +0 -50
  254. package/dist/node_modules/@unovis/vue/components/stacked-bar/index.cjs +0 -1
  255. package/dist/node_modules/@unovis/vue/components/stacked-bar/index.js +0 -54
  256. package/dist/node_modules/@unovis/vue/components/tooltip/index.cjs +0 -1
  257. package/dist/node_modules/@unovis/vue/components/tooltip/index.js +0 -40
  258. package/dist/node_modules/@unovis/vue/containers/single-container/index.cjs +0 -1
  259. package/dist/node_modules/@unovis/vue/containers/single-container/index.js +0 -66
  260. package/dist/node_modules/@unovis/vue/containers/xy-container/index.cjs +0 -1
  261. package/dist/node_modules/@unovis/vue/containers/xy-container/index.js +0 -102
  262. package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.cjs +0 -1
  263. package/dist/node_modules/@unovis/vue/html-components/bullet-legend/index.js +0 -43
  264. package/dist/node_modules/@unovis/vue/index.cjs +0 -1
  265. package/dist/node_modules/@unovis/vue/index.js +0 -10
  266. package/dist/node_modules/@unovis/vue/utils/context.cjs +0 -1
  267. package/dist/node_modules/@unovis/vue/utils/context.js +0 -8
  268. package/dist/node_modules/@unovis/vue/utils/props.cjs +0 -1
  269. package/dist/node_modules/@unovis/vue/utils/props.js +0 -18
  270. package/dist/node_modules/d3-array/src/ascending.cjs +0 -1
  271. package/dist/node_modules/d3-array/src/ascending.js +0 -6
  272. package/dist/node_modules/d3-array/src/bisect.cjs +0 -1
  273. package/dist/node_modules/d3-array/src/bisect.js +0 -9
  274. package/dist/node_modules/d3-array/src/bisector.cjs +0 -1
  275. package/dist/node_modules/d3-array/src/bisector.js +0 -37
  276. package/dist/node_modules/d3-array/src/descending.cjs +0 -1
  277. package/dist/node_modules/d3-array/src/descending.js +0 -6
  278. package/dist/node_modules/d3-array/src/extent.cjs +0 -1
  279. package/dist/node_modules/d3-array/src/extent.js +0 -9
  280. package/dist/node_modules/d3-array/src/max.cjs +0 -1
  281. package/dist/node_modules/d3-array/src/max.js +0 -15
  282. package/dist/node_modules/d3-array/src/mean.cjs +0 -1
  283. package/dist/node_modules/d3-array/src/mean.js +0 -15
  284. package/dist/node_modules/d3-array/src/merge.cjs +0 -1
  285. package/dist/node_modules/d3-array/src/merge.js +0 -10
  286. package/dist/node_modules/d3-array/src/min.cjs +0 -1
  287. package/dist/node_modules/d3-array/src/min.js +0 -15
  288. package/dist/node_modules/d3-array/src/number.cjs +0 -1
  289. package/dist/node_modules/d3-array/src/number.js +0 -6
  290. package/dist/node_modules/d3-array/src/quantile.cjs +0 -1
  291. package/dist/node_modules/d3-array/src/quantile.js +0 -12
  292. package/dist/node_modules/d3-array/src/range.cjs +0 -1
  293. package/dist/node_modules/d3-array/src/range.js +0 -9
  294. package/dist/node_modules/d3-array/src/sum.cjs +0 -1
  295. package/dist/node_modules/d3-array/src/sum.js +0 -15
  296. package/dist/node_modules/d3-array/src/ticks.cjs +0 -1
  297. package/dist/node_modules/d3-array/src/ticks.js +0 -32
  298. package/dist/node_modules/d3-axis/src/axis.cjs +0 -1
  299. package/dist/node_modules/d3-axis/src/axis.js +0 -72
  300. package/dist/node_modules/d3-axis/src/identity.cjs +0 -1
  301. package/dist/node_modules/d3-axis/src/identity.js +0 -6
  302. package/dist/node_modules/d3-color/src/color.cjs +0 -1
  303. package/dist/node_modules/d3-color/src/color.js +0 -305
  304. package/dist/node_modules/d3-color/src/define.cjs +0 -1
  305. package/dist/node_modules/d3-color/src/define.js +0 -12
  306. package/dist/node_modules/d3-dispatch/src/dispatch.cjs +0 -1
  307. package/dist/node_modules/d3-dispatch/src/dispatch.js +0 -64
  308. package/dist/node_modules/d3-ease/src/cubic.cjs +0 -1
  309. package/dist/node_modules/d3-ease/src/cubic.js +0 -6
  310. package/dist/node_modules/d3-ease/src/linear.cjs +0 -1
  311. package/dist/node_modules/d3-ease/src/linear.js +0 -4
  312. package/dist/node_modules/d3-format/src/defaultLocale.cjs +0 -1
  313. package/dist/node_modules/d3-format/src/defaultLocale.js +0 -15
  314. package/dist/node_modules/d3-format/src/exponent.cjs +0 -1
  315. package/dist/node_modules/d3-format/src/exponent.js +0 -7
  316. package/dist/node_modules/d3-format/src/formatDecimal.cjs +0 -1
  317. package/dist/node_modules/d3-format/src/formatDecimal.js +0 -15
  318. package/dist/node_modules/d3-format/src/formatGroup.cjs +0 -1
  319. package/dist/node_modules/d3-format/src/formatGroup.js +0 -10
  320. package/dist/node_modules/d3-format/src/formatNumerals.cjs +0 -1
  321. package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
  322. package/dist/node_modules/d3-format/src/formatPrefixAuto.cjs +0 -1
  323. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -12
  324. package/dist/node_modules/d3-format/src/formatRounded.cjs +0 -1
  325. package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
  326. package/dist/node_modules/d3-format/src/formatSpecifier.cjs +0 -1
  327. package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -28
  328. package/dist/node_modules/d3-format/src/formatTrim.cjs +0 -1
  329. package/dist/node_modules/d3-format/src/formatTrim.js +0 -19
  330. package/dist/node_modules/d3-format/src/formatTypes.cjs +0 -1
  331. package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
  332. package/dist/node_modules/d3-format/src/identity.cjs +0 -1
  333. package/dist/node_modules/d3-format/src/identity.js +0 -6
  334. package/dist/node_modules/d3-format/src/locale.cjs +0 -1
  335. package/dist/node_modules/d3-format/src/locale.js +0 -68
  336. package/dist/node_modules/d3-format/src/precisionFixed.cjs +0 -1
  337. package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
  338. package/dist/node_modules/d3-format/src/precisionPrefix.cjs +0 -1
  339. package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
  340. package/dist/node_modules/d3-format/src/precisionRound.cjs +0 -1
  341. package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
  342. package/dist/node_modules/d3-interpolate/src/array.cjs +0 -1
  343. package/dist/node_modules/d3-interpolate/src/array.js +0 -13
  344. package/dist/node_modules/d3-interpolate/src/color.cjs +0 -1
  345. package/dist/node_modules/d3-interpolate/src/color.js +0 -24
  346. package/dist/node_modules/d3-interpolate/src/constant.cjs +0 -1
  347. package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
  348. package/dist/node_modules/d3-interpolate/src/date.cjs +0 -1
  349. package/dist/node_modules/d3-interpolate/src/date.js +0 -9
  350. package/dist/node_modules/d3-interpolate/src/number.cjs +0 -1
  351. package/dist/node_modules/d3-interpolate/src/number.js +0 -8
  352. package/dist/node_modules/d3-interpolate/src/numberArray.cjs +0 -1
  353. package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -15
  354. package/dist/node_modules/d3-interpolate/src/object.cjs +0 -1
  355. package/dist/node_modules/d3-interpolate/src/object.js +0 -14
  356. package/dist/node_modules/d3-interpolate/src/piecewise.cjs +0 -1
  357. package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
  358. package/dist/node_modules/d3-interpolate/src/rgb.cjs +0 -1
  359. package/dist/node_modules/d3-interpolate/src/rgb.js +0 -15
  360. package/dist/node_modules/d3-interpolate/src/round.cjs +0 -1
  361. package/dist/node_modules/d3-interpolate/src/round.js +0 -8
  362. package/dist/node_modules/d3-interpolate/src/string.cjs +0 -1
  363. package/dist/node_modules/d3-interpolate/src/string.js +0 -24
  364. package/dist/node_modules/d3-interpolate/src/transform/decompose.cjs +0 -1
  365. package/dist/node_modules/d3-interpolate/src/transform/decompose.js +0 -23
  366. package/dist/node_modules/d3-interpolate/src/transform/index.cjs +0 -1
  367. package/dist/node_modules/d3-interpolate/src/transform/index.js +0 -37
  368. package/dist/node_modules/d3-interpolate/src/transform/parse.cjs +0 -1
  369. package/dist/node_modules/d3-interpolate/src/transform/parse.js +0 -13
  370. package/dist/node_modules/d3-interpolate/src/value.cjs +0 -1
  371. package/dist/node_modules/d3-interpolate/src/value.js +0 -16
  372. package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.cjs +0 -2
  373. package/dist/node_modules/d3-interpolate-path/build/d3-interpolate-path.js +0 -301
  374. package/dist/node_modules/d3-path/src/path.cjs +0 -1
  375. package/dist/node_modules/d3-path/src/path.js +0 -64
  376. package/dist/node_modules/d3-scale/src/band.cjs +0 -1
  377. package/dist/node_modules/d3-scale/src/band.js +0 -51
  378. package/dist/node_modules/d3-scale/src/constant.cjs +0 -1
  379. package/dist/node_modules/d3-scale/src/constant.js +0 -8
  380. package/dist/node_modules/d3-scale/src/continuous.cjs +0 -1
  381. package/dist/node_modules/d3-scale/src/continuous.js +0 -75
  382. package/dist/node_modules/d3-scale/src/diverging.cjs +0 -1
  383. package/dist/node_modules/d3-scale/src/diverging.js +0 -40
  384. package/dist/node_modules/d3-scale/src/identity.cjs +0 -1
  385. package/dist/node_modules/d3-scale/src/identity.js +0 -18
  386. package/dist/node_modules/d3-scale/src/init.cjs +0 -1
  387. package/dist/node_modules/d3-scale/src/init.js +0 -32
  388. package/dist/node_modules/d3-scale/src/linear.cjs +0 -1
  389. package/dist/node_modules/d3-scale/src/linear.js +0 -39
  390. package/dist/node_modules/d3-scale/src/log.cjs +0 -1
  391. package/dist/node_modules/d3-scale/src/log.js +0 -86
  392. package/dist/node_modules/d3-scale/src/nice.cjs +0 -1
  393. package/dist/node_modules/d3-scale/src/nice.js +0 -8
  394. package/dist/node_modules/d3-scale/src/number.cjs +0 -1
  395. package/dist/node_modules/d3-scale/src/number.js +0 -6
  396. package/dist/node_modules/d3-scale/src/ordinal.cjs +0 -1
  397. package/dist/node_modules/d3-scale/src/ordinal.js +0 -31
  398. package/dist/node_modules/d3-scale/src/pow.cjs +0 -1
  399. package/dist/node_modules/d3-scale/src/pow.js +0 -37
  400. package/dist/node_modules/d3-scale/src/quantile.cjs +0 -1
  401. package/dist/node_modules/d3-scale/src/quantile.js +0 -38
  402. package/dist/node_modules/d3-scale/src/quantize.cjs +0 -1
  403. package/dist/node_modules/d3-scale/src/quantize.js +0 -31
  404. package/dist/node_modules/d3-scale/src/sequential.cjs +0 -1
  405. package/dist/node_modules/d3-scale/src/sequential.js +0 -42
  406. package/dist/node_modules/d3-scale/src/symlog.cjs +0 -1
  407. package/dist/node_modules/d3-scale/src/symlog.js +0 -29
  408. package/dist/node_modules/d3-scale/src/threshold.cjs +0 -1
  409. package/dist/node_modules/d3-scale/src/threshold.js +0 -23
  410. package/dist/node_modules/d3-scale/src/tickFormat.cjs +0 -1
  411. package/dist/node_modules/d3-scale/src/tickFormat.js +0 -32
  412. package/dist/node_modules/d3-scale/src/time.cjs +0 -1
  413. package/dist/node_modules/d3-scale/src/time.js +0 -46
  414. package/dist/node_modules/d3-scale/src/utcTime.cjs +0 -1
  415. package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
  416. package/dist/node_modules/d3-selection/src/array.cjs +0 -1
  417. package/dist/node_modules/d3-selection/src/array.js +0 -6
  418. package/dist/node_modules/d3-selection/src/constant.cjs +0 -1
  419. package/dist/node_modules/d3-selection/src/constant.js +0 -8
  420. package/dist/node_modules/d3-selection/src/creator.cjs +0 -1
  421. package/dist/node_modules/d3-selection/src/creator.js +0 -20
  422. package/dist/node_modules/d3-selection/src/matcher.cjs +0 -1
  423. package/dist/node_modules/d3-selection/src/matcher.js +0 -14
  424. package/dist/node_modules/d3-selection/src/namespace.cjs +0 -1
  425. package/dist/node_modules/d3-selection/src/namespace.js +0 -8
  426. package/dist/node_modules/d3-selection/src/namespaces.cjs +0 -1
  427. package/dist/node_modules/d3-selection/src/namespaces.js +0 -12
  428. package/dist/node_modules/d3-selection/src/pointer.cjs +0 -1
  429. package/dist/node_modules/d3-selection/src/pointer.js +0 -18
  430. package/dist/node_modules/d3-selection/src/select.cjs +0 -1
  431. package/dist/node_modules/d3-selection/src/select.js +0 -7
  432. package/dist/node_modules/d3-selection/src/selection/append.cjs +0 -1
  433. package/dist/node_modules/d3-selection/src/selection/append.js +0 -10
  434. package/dist/node_modules/d3-selection/src/selection/attr.cjs +0 -1
  435. package/dist/node_modules/d3-selection/src/selection/attr.js +0 -44
  436. package/dist/node_modules/d3-selection/src/selection/call.cjs +0 -1
  437. package/dist/node_modules/d3-selection/src/selection/call.js +0 -7
  438. package/dist/node_modules/d3-selection/src/selection/classed.cjs +0 -1
  439. package/dist/node_modules/d3-selection/src/selection/classed.js +0 -54
  440. package/dist/node_modules/d3-selection/src/selection/clone.cjs +0 -1
  441. package/dist/node_modules/d3-selection/src/selection/clone.js +0 -14
  442. package/dist/node_modules/d3-selection/src/selection/data.cjs +0 -1
  443. package/dist/node_modules/d3-selection/src/selection/data.js +0 -42
  444. package/dist/node_modules/d3-selection/src/selection/datum.cjs +0 -1
  445. package/dist/node_modules/d3-selection/src/selection/datum.js +0 -6
  446. package/dist/node_modules/d3-selection/src/selection/dispatch.cjs +0 -1
  447. package/dist/node_modules/d3-selection/src/selection/dispatch.js +0 -21
  448. package/dist/node_modules/d3-selection/src/selection/each.cjs +0 -1
  449. package/dist/node_modules/d3-selection/src/selection/each.js +0 -9
  450. package/dist/node_modules/d3-selection/src/selection/empty.cjs +0 -1
  451. package/dist/node_modules/d3-selection/src/selection/empty.js +0 -6
  452. package/dist/node_modules/d3-selection/src/selection/enter.cjs +0 -1
  453. package/dist/node_modules/d3-selection/src/selection/enter.js +0 -27
  454. package/dist/node_modules/d3-selection/src/selection/exit.cjs +0 -1
  455. package/dist/node_modules/d3-selection/src/selection/exit.js +0 -8
  456. package/dist/node_modules/d3-selection/src/selection/filter.cjs +0 -1
  457. package/dist/node_modules/d3-selection/src/selection/filter.js +0 -12
  458. package/dist/node_modules/d3-selection/src/selection/html.cjs +0 -1
  459. package/dist/node_modules/d3-selection/src/selection/html.js +0 -20
  460. package/dist/node_modules/d3-selection/src/selection/index.cjs +0 -1
  461. package/dist/node_modules/d3-selection/src/selection/index.js +0 -87
  462. package/dist/node_modules/d3-selection/src/selection/insert.cjs +0 -1
  463. package/dist/node_modules/d3-selection/src/selection/insert.js +0 -14
  464. package/dist/node_modules/d3-selection/src/selection/iterator.cjs +0 -1
  465. package/dist/node_modules/d3-selection/src/selection/iterator.js +0 -8
  466. package/dist/node_modules/d3-selection/src/selection/join.cjs +0 -1
  467. package/dist/node_modules/d3-selection/src/selection/join.js +0 -7
  468. package/dist/node_modules/d3-selection/src/selection/lower.cjs +0 -1
  469. package/dist/node_modules/d3-selection/src/selection/lower.js +0 -9
  470. package/dist/node_modules/d3-selection/src/selection/merge.cjs +0 -1
  471. package/dist/node_modules/d3-selection/src/selection/merge.js +0 -12
  472. package/dist/node_modules/d3-selection/src/selection/node.cjs +0 -1
  473. package/dist/node_modules/d3-selection/src/selection/node.js +0 -11
  474. package/dist/node_modules/d3-selection/src/selection/nodes.cjs +0 -1
  475. package/dist/node_modules/d3-selection/src/selection/nodes.js +0 -6
  476. package/dist/node_modules/d3-selection/src/selection/on.cjs +0 -1
  477. package/dist/node_modules/d3-selection/src/selection/on.js +0 -52
  478. package/dist/node_modules/d3-selection/src/selection/order.cjs +0 -1
  479. package/dist/node_modules/d3-selection/src/selection/order.js +0 -9
  480. package/dist/node_modules/d3-selection/src/selection/property.cjs +0 -1
  481. package/dist/node_modules/d3-selection/src/selection/property.js +0 -22
  482. package/dist/node_modules/d3-selection/src/selection/raise.cjs +0 -1
  483. package/dist/node_modules/d3-selection/src/selection/raise.js +0 -9
  484. package/dist/node_modules/d3-selection/src/selection/remove.cjs +0 -1
  485. package/dist/node_modules/d3-selection/src/selection/remove.js +0 -10
  486. package/dist/node_modules/d3-selection/src/selection/select.cjs +0 -1
  487. package/dist/node_modules/d3-selection/src/selection/select.js +0 -12
  488. package/dist/node_modules/d3-selection/src/selection/selectAll.cjs +0 -1
  489. package/dist/node_modules/d3-selection/src/selection/selectAll.js +0 -18
  490. package/dist/node_modules/d3-selection/src/selection/selectChild.cjs +0 -1
  491. package/dist/node_modules/d3-selection/src/selection/selectChild.js +0 -16
  492. package/dist/node_modules/d3-selection/src/selection/selectChildren.cjs +0 -1
  493. package/dist/node_modules/d3-selection/src/selection/selectChildren.js +0 -16
  494. package/dist/node_modules/d3-selection/src/selection/size.cjs +0 -1
  495. package/dist/node_modules/d3-selection/src/selection/size.js +0 -8
  496. package/dist/node_modules/d3-selection/src/selection/sort.cjs +0 -1
  497. package/dist/node_modules/d3-selection/src/selection/sort.js +0 -19
  498. package/dist/node_modules/d3-selection/src/selection/sparse.cjs +0 -1
  499. package/dist/node_modules/d3-selection/src/selection/sparse.js +0 -6
  500. package/dist/node_modules/d3-selection/src/selection/style.cjs +0 -1
  501. package/dist/node_modules/d3-selection/src/selection/style.js +0 -27
  502. package/dist/node_modules/d3-selection/src/selection/text.cjs +0 -1
  503. package/dist/node_modules/d3-selection/src/selection/text.js +0 -20
  504. package/dist/node_modules/d3-selection/src/selector.cjs +0 -1
  505. package/dist/node_modules/d3-selection/src/selector.js +0 -10
  506. package/dist/node_modules/d3-selection/src/selectorAll.cjs +0 -1
  507. package/dist/node_modules/d3-selection/src/selectorAll.js +0 -11
  508. package/dist/node_modules/d3-selection/src/sourceEvent.cjs +0 -1
  509. package/dist/node_modules/d3-selection/src/sourceEvent.js +0 -8
  510. package/dist/node_modules/d3-selection/src/window.cjs +0 -1
  511. package/dist/node_modules/d3-selection/src/window.js +0 -6
  512. package/dist/node_modules/d3-shape/src/arc.cjs +0 -1
  513. package/dist/node_modules/d3-shape/src/arc.js +0 -85
  514. package/dist/node_modules/d3-shape/src/area.cjs +0 -1
  515. package/dist/node_modules/d3-shape/src/area.js +0 -56
  516. package/dist/node_modules/d3-shape/src/array.cjs +0 -1
  517. package/dist/node_modules/d3-shape/src/array.js +0 -6
  518. package/dist/node_modules/d3-shape/src/constant.cjs +0 -1
  519. package/dist/node_modules/d3-shape/src/constant.js +0 -8
  520. package/dist/node_modules/d3-shape/src/curve/basis.cjs +0 -1
  521. package/dist/node_modules/d3-shape/src/curve/basis.js +0 -60
  522. package/dist/node_modules/d3-shape/src/curve/basisClosed.cjs +0 -1
  523. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -51
  524. package/dist/node_modules/d3-shape/src/curve/basisOpen.cjs +0 -1
  525. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -46
  526. package/dist/node_modules/d3-shape/src/curve/bundle.cjs +0 -1
  527. package/dist/node_modules/d3-shape/src/curve/bundle.js +0 -33
  528. package/dist/node_modules/d3-shape/src/curve/cardinal.cjs +0 -1
  529. package/dist/node_modules/d3-shape/src/curve/cardinal.js +0 -65
  530. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.cjs +0 -1
  531. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +0 -57
  532. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.cjs +0 -1
  533. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +0 -50
  534. package/dist/node_modules/d3-shape/src/curve/catmullRom.cjs +0 -1
  535. package/dist/node_modules/d3-shape/src/curve/catmullRom.js +0 -72
  536. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.cjs +0 -1
  537. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +0 -61
  538. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.cjs +0 -1
  539. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +0 -54
  540. package/dist/node_modules/d3-shape/src/curve/linear.cjs +0 -1
  541. package/dist/node_modules/d3-shape/src/curve/linear.js +0 -36
  542. package/dist/node_modules/d3-shape/src/curve/linearClosed.cjs +0 -1
  543. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
  544. package/dist/node_modules/d3-shape/src/curve/monotone.cjs +0 -1
  545. package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -93
  546. package/dist/node_modules/d3-shape/src/curve/natural.cjs +0 -1
  547. package/dist/node_modules/d3-shape/src/curve/natural.js +0 -41
  548. package/dist/node_modules/d3-shape/src/curve/step.cjs +0 -1
  549. package/dist/node_modules/d3-shape/src/curve/step.js +0 -51
  550. package/dist/node_modules/d3-shape/src/descending.cjs +0 -1
  551. package/dist/node_modules/d3-shape/src/descending.js +0 -6
  552. package/dist/node_modules/d3-shape/src/identity.cjs +0 -1
  553. package/dist/node_modules/d3-shape/src/identity.js +0 -6
  554. package/dist/node_modules/d3-shape/src/line.cjs +0 -1
  555. package/dist/node_modules/d3-shape/src/line.js +0 -29
  556. package/dist/node_modules/d3-shape/src/math.cjs +0 -1
  557. package/dist/node_modules/d3-shape/src/math.js +0 -22
  558. package/dist/node_modules/d3-shape/src/noop.cjs +0 -1
  559. package/dist/node_modules/d3-shape/src/noop.js +0 -5
  560. package/dist/node_modules/d3-shape/src/path.cjs +0 -1
  561. package/dist/node_modules/d3-shape/src/path.js +0 -18
  562. package/dist/node_modules/d3-shape/src/pie.cjs +0 -1
  563. package/dist/node_modules/d3-shape/src/pie.js +0 -43
  564. package/dist/node_modules/d3-shape/src/point.cjs +0 -1
  565. package/dist/node_modules/d3-shape/src/point.js +0 -10
  566. package/dist/node_modules/d3-shape/src/symbol/circle.cjs +0 -1
  567. package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -10
  568. package/dist/node_modules/d3-shape/src/symbol/cross.cjs +0 -1
  569. package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -10
  570. package/dist/node_modules/d3-shape/src/symbol/diamond.cjs +0 -1
  571. package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -10
  572. package/dist/node_modules/d3-shape/src/symbol/square.cjs +0 -1
  573. package/dist/node_modules/d3-shape/src/symbol/square.js +0 -10
  574. package/dist/node_modules/d3-shape/src/symbol/star.cjs +0 -1
  575. package/dist/node_modules/d3-shape/src/symbol/star.js +0 -15
  576. package/dist/node_modules/d3-shape/src/symbol/triangle.cjs +0 -1
  577. package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -10
  578. package/dist/node_modules/d3-shape/src/symbol/wye.cjs +0 -1
  579. package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -10
  580. package/dist/node_modules/d3-shape/src/symbol.cjs +0 -1
  581. package/dist/node_modules/d3-shape/src/symbol.js +0 -21
  582. package/dist/node_modules/d3-time/src/day.cjs +0 -1
  583. package/dist/node_modules/d3-time/src/day.js +0 -26
  584. package/dist/node_modules/d3-time/src/duration.cjs +0 -1
  585. package/dist/node_modules/d3-time/src/duration.js +0 -10
  586. package/dist/node_modules/d3-time/src/hour.cjs +0 -1
  587. package/dist/node_modules/d3-time/src/hour.js +0 -18
  588. package/dist/node_modules/d3-time/src/interval.cjs +0 -1
  589. package/dist/node_modules/d3-time/src/interval.js +0 -31
  590. package/dist/node_modules/d3-time/src/millisecond.cjs +0 -1
  591. package/dist/node_modules/d3-time/src/millisecond.js +0 -14
  592. package/dist/node_modules/d3-time/src/minute.cjs +0 -1
  593. package/dist/node_modules/d3-time/src/minute.js +0 -18
  594. package/dist/node_modules/d3-time/src/month.cjs +0 -1
  595. package/dist/node_modules/d3-time/src/month.js +0 -17
  596. package/dist/node_modules/d3-time/src/second.cjs +0 -1
  597. package/dist/node_modules/d3-time/src/second.js +0 -11
  598. package/dist/node_modules/d3-time/src/ticks.cjs +0 -1
  599. package/dist/node_modules/d3-time/src/ticks.js +0 -54
  600. package/dist/node_modules/d3-time/src/week.cjs +0 -1
  601. package/dist/node_modules/d3-time/src/week.js +0 -48
  602. package/dist/node_modules/d3-time/src/year.cjs +0 -1
  603. package/dist/node_modules/d3-time/src/year.js +0 -27
  604. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +0 -1
  605. package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -20
  606. package/dist/node_modules/d3-time-format/src/locale.cjs +0 -1
  607. package/dist/node_modules/d3-time-format/src/locale.js +0 -478
  608. package/dist/node_modules/d3-timer/src/timeout.cjs +0 -1
  609. package/dist/node_modules/d3-timer/src/timeout.js +0 -10
  610. package/dist/node_modules/d3-timer/src/timer.cjs +0 -1
  611. package/dist/node_modules/d3-timer/src/timer.js +0 -62
  612. package/dist/node_modules/d3-transition/src/interrupt.cjs +0 -1
  613. package/dist/node_modules/d3-transition/src/interrupt.js +0 -18
  614. package/dist/node_modules/d3-transition/src/selection/index.cjs +0 -1
  615. package/dist/node_modules/d3-transition/src/selection/index.js +0 -5
  616. package/dist/node_modules/d3-transition/src/selection/interrupt.cjs +0 -1
  617. package/dist/node_modules/d3-transition/src/selection/interrupt.js +0 -9
  618. package/dist/node_modules/d3-transition/src/selection/transition.cjs +0 -1
  619. package/dist/node_modules/d3-transition/src/selection/transition.js +0 -28
  620. package/dist/node_modules/d3-transition/src/transition/attr.cjs +0 -1
  621. package/dist/node_modules/d3-transition/src/transition/attr.js +0 -49
  622. package/dist/node_modules/d3-transition/src/transition/attrTween.cjs +0 -1
  623. package/dist/node_modules/d3-transition/src/transition/attrTween.js +0 -38
  624. package/dist/node_modules/d3-transition/src/transition/delay.cjs +0 -1
  625. package/dist/node_modules/d3-transition/src/transition/delay.js +0 -18
  626. package/dist/node_modules/d3-transition/src/transition/duration.cjs +0 -1
  627. package/dist/node_modules/d3-transition/src/transition/duration.js +0 -18
  628. package/dist/node_modules/d3-transition/src/transition/ease.cjs +0 -1
  629. package/dist/node_modules/d3-transition/src/transition/ease.js +0 -14
  630. package/dist/node_modules/d3-transition/src/transition/easeVarying.cjs +0 -1
  631. package/dist/node_modules/d3-transition/src/transition/easeVarying.js +0 -15
  632. package/dist/node_modules/d3-transition/src/transition/end.cjs +0 -1
  633. package/dist/node_modules/d3-transition/src/transition/end.js +0 -16
  634. package/dist/node_modules/d3-transition/src/transition/filter.cjs +0 -1
  635. package/dist/node_modules/d3-transition/src/transition/filter.js +0 -12
  636. package/dist/node_modules/d3-transition/src/transition/index.cjs +0 -1
  637. package/dist/node_modules/d3-transition/src/transition/index.js +0 -65
  638. package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +0 -1
  639. package/dist/node_modules/d3-transition/src/transition/interpolate.js +0 -11
  640. package/dist/node_modules/d3-transition/src/transition/merge.cjs +0 -1
  641. package/dist/node_modules/d3-transition/src/transition/merge.js +0 -13
  642. package/dist/node_modules/d3-transition/src/transition/on.cjs +0 -1
  643. package/dist/node_modules/d3-transition/src/transition/on.js +0 -21
  644. package/dist/node_modules/d3-transition/src/transition/remove.cjs +0 -1
  645. package/dist/node_modules/d3-transition/src/transition/remove.js +0 -13
  646. package/dist/node_modules/d3-transition/src/transition/schedule.cjs +0 -1
  647. package/dist/node_modules/d3-transition/src/transition/schedule.js +0 -85
  648. package/dist/node_modules/d3-transition/src/transition/select.cjs +0 -1
  649. package/dist/node_modules/d3-transition/src/transition/select.js +0 -14
  650. package/dist/node_modules/d3-transition/src/transition/selectAll.cjs +0 -1
  651. package/dist/node_modules/d3-transition/src/transition/selectAll.js +0 -18
  652. package/dist/node_modules/d3-transition/src/transition/selection.cjs +0 -1
  653. package/dist/node_modules/d3-transition/src/transition/selection.js +0 -8
  654. package/dist/node_modules/d3-transition/src/transition/style.cjs +0 -1
  655. package/dist/node_modules/d3-transition/src/transition/style.js +0 -45
  656. package/dist/node_modules/d3-transition/src/transition/styleTween.cjs +0 -1
  657. package/dist/node_modules/d3-transition/src/transition/styleTween.js +0 -23
  658. package/dist/node_modules/d3-transition/src/transition/text.cjs +0 -1
  659. package/dist/node_modules/d3-transition/src/transition/text.js +0 -18
  660. package/dist/node_modules/d3-transition/src/transition/textTween.cjs +0 -1
  661. package/dist/node_modules/d3-transition/src/transition/textTween.js +0 -23
  662. package/dist/node_modules/d3-transition/src/transition/transition.cjs +0 -1
  663. package/dist/node_modules/d3-transition/src/transition/transition.js +0 -19
  664. package/dist/node_modules/d3-transition/src/transition/tween.cjs +0 -1
  665. package/dist/node_modules/d3-transition/src/transition/tween.js +0 -56
  666. package/dist/node_modules/internmap/src/index.cjs +0 -1
  667. package/dist/node_modules/internmap/src/index.js +0 -35
  668. package/dist/node_modules/parse-unit/index.cjs +0 -1
  669. package/dist/node_modules/parse-unit/index.js +0 -11
  670. package/dist/node_modules/striptags/src/striptags.cjs +0 -2
  671. package/dist/node_modules/striptags/src/striptags.js +0 -118
  672. package/dist/node_modules/stylis/src/Enum.cjs +0 -1
  673. package/dist/node_modules/stylis/src/Enum.js +0 -12
  674. package/dist/node_modules/stylis/src/Middleware.cjs +0 -1
  675. package/dist/node_modules/stylis/src/Middleware.js +0 -18
  676. package/dist/node_modules/stylis/src/Parser.cjs +0 -1
  677. package/dist/node_modules/stylis/src/Parser.js +0 -131
  678. package/dist/node_modules/stylis/src/Serializer.cjs +0 -1
  679. package/dist/node_modules/stylis/src/Serializer.js +0 -27
  680. package/dist/node_modules/stylis/src/Tokenizer.cjs +0 -1
  681. package/dist/node_modules/stylis/src/Tokenizer.js +0 -141
  682. package/dist/node_modules/stylis/src/Utility.cjs +0 -1
  683. package/dist/node_modules/stylis/src/Utility.js +0 -50
  684. package/dist/node_modules/throttle-debounce/esm/index.cjs +0 -1
  685. package/dist/node_modules/throttle-debounce/esm/index.js +0 -28
  686. package/dist/node_modules/to-px/browser.cjs +0 -1
  687. package/dist/node_modules/to-px/browser.js +0 -63
  688. package/dist/types.cjs +0 -1
  689. package/dist/types.d.ts +0 -5
  690. package/dist/types.js +0 -4
  691. package/dist/utils.cjs +0 -1
  692. package/dist/utils.d.ts +0 -1
  693. package/dist/utils.js +0 -18
  694. package/dist/vite.svg +0 -1
package/README.md CHANGED
@@ -1,84 +1,5 @@
1
- # Vue-Chrts
1
+ # Vue 3 + TypeScript + Vite
2
2
 
3
- A Vue 3 charts package inspired by [Tremor](https://tremor.so/), built on top of [Unovis](https://unovis.dev). Vue-Chrts provides beautiful, responsive charts for your Vue applications with minimal setup.
3
+ This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
4
 
5
- [Check the docs and examples](https://nuxtcharts.com/docs)
6
-
7
- ## Features
8
-
9
- - 📊 Multiple chart types: Line, Bar, Area, Stacked Area, Donut
10
- - 🎨 Customizable appearance
11
- - 📱 Responsive design
12
- - 💡 Simple, intuitive API
13
- - 🚀 Built with Vue 3 and TypeScript
14
-
15
- ## Installation
16
-
17
- ```bash
18
- # npm
19
- npm install vue-chrts
20
-
21
- # yarn
22
- yarn add vue-chrts
23
-
24
- # pnpm
25
- pnpm add vue-chrts
26
- ```
27
- [Check the docs and examples](https://nuxtcharts.com/docs)
28
-
29
- ## Usage Example
30
-
31
- ```vue
32
- <script setup>
33
- import { LineChart } from 'vue-chrts';
34
-
35
- const data = [
36
- { month: 'Jan', sales: 100, profit: 50 },
37
- { month: 'Feb', sales: 120, profit: 55 },
38
- { month: 'Mar', sales: 180, profit: 80 },
39
- { month: 'Apr', sales: 110, profit: 40 },
40
- { month: 'May', sales: 90, profit: 30 },
41
- ];
42
-
43
- const categories = {
44
- sales: {
45
- name: 'Sales',
46
- color: '#3b82f6'
47
- },
48
- profit: {
49
- name: 'Profit',
50
- color: '#10b981'
51
- }
52
- };
53
-
54
- const xFormatter = (i) => data[i].month;
55
- </script>
56
-
57
- <template>
58
- <LineChart
59
- :data="data"
60
- :categories="categories"
61
- :height="300"
62
- :xFormatter="xFormatter"
63
- xLabel="Month"
64
- yLabel="Amount"
65
- />
66
- </template>
67
- ```
68
- [Check the docs and examples](https://nuxtcharts.com/docs)
69
-
70
- ## Available Charts
71
-
72
- - `LineChart`
73
- - `BarChart`
74
- - `AreaChart`
75
- - `AreaStackedChart`
76
- - `DonutChart`
77
-
78
- ## Credits
79
-
80
- This library is inspired by [Tremor](https://tremor.so/) and built on top of [Unovis](https://unovis.dev).
81
-
82
- ## License
83
-
84
- MIT
5
+ Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-chrts",
3
- "version": "0.1.0-beta.2-internal-21",
3
+ "version": "0.1.0-beta.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -25,6 +25,8 @@
25
25
  "@tailwindcss/vite": "^4.0.15",
26
26
  "@tanstack/vue-table": "^8.21.2",
27
27
  "@types/node": "^22.13.11",
28
+ "@unovis/ts": "^1.5.1",
29
+ "@unovis/vue": "^1.5.1",
28
30
  "@vitejs/plugin-vue": "^5.2.1",
29
31
  "@vue/tsconfig": "^0.7.0",
30
32
  "@vueuse/core": "^13.0.0",
@@ -35,8 +37,5 @@
35
37
  "vue-router": "^4.5.0",
36
38
  "vue-tsc": "^2.2.4"
37
39
  },
38
- "dependencies": {
39
- "@unovis/ts": "^1.5.1",
40
- "@unovis/vue": "^1.5.1"
41
- }
40
+ "packageManager": "pnpm@8.15.4+sha256.cea6d0bdf2de3a0549582da3983c70c92ffc577ff4410cbf190817ddc35137c2"
42
41
  }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
@@ -1,6 +0,0 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
- }
4
- export {
5
- e as getDefaultExportFromCjs
6
- };
@@ -1 +0,0 @@
1
- "use strict";const r=require("../node_modules/to-px/browser.cjs");r.__require();
@@ -1,2 +0,0 @@
1
- import { __require as r } from "../node_modules/to-px/browser.js";
2
- r();
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./_commonjsHelpers.cjs"),t=require("../node_modules/striptags/src/striptags.cjs");var r=t.__require();const s=e.getDefaultExportFromCjs(r);exports.default=s;
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as t } from "../node_modules/striptags/src/striptags.js";
3
- var s = t();
4
- const e = /* @__PURE__ */ r(s);
5
- export {
6
- e as default
7
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
@@ -1,4 +0,0 @@
1
- var r = { exports: {} };
2
- export {
3
- r as __module
4
- };
@@ -1,6 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("../../utils.cjs");require("../../node_modules/@unovis/vue/index.cjs");const T=require("../Tooltip.cjs"),B=require("../../types.cjs"),L=require("../../node_modules/@unovis/vue/containers/xy-container/index.cjs"),b=require("../../node_modules/@unovis/vue/components/tooltip/index.cjs"),m=require("../../node_modules/@unovis/ts/types/position.cjs"),q=require("../../node_modules/@unovis/vue/components/area/index.cjs"),f=require("../../node_modules/@unovis/ts/types/curve.cjs"),N=require("../../node_modules/@unovis/vue/components/line/index.cjs"),g=require("../../node_modules/@unovis/vue/components/axis/index.cjs"),$=require("../../node_modules/@unovis/vue/components/crosshair/index.cjs"),C=require("../../node_modules/@unovis/vue/html-components/bullet-legend/index.cjs"),P=e.defineComponent({__name:"AreaChart",props:{data:{},height:{},xLabel:{},yLabel:{},categories:{},xFormatter:{},yFormatter:{},curveType:{},xNumTicks:{default:i=>i.data.length>24?24/4:i.data.length-1},yNumTicks:{default:i=>i.data.length>24?24/4:i.data.length-1},hideLegend:{type:Boolean},hideTooltip:{type:Boolean},gridLineX:{type:Boolean},domainLineX:{type:Boolean},gridLineY:{type:Boolean},domainLineY:{type:Boolean},paginationPosition:{}},setup(i){const o=i,l=Object.values(o.categories).map(t=>t.color),y=e.computed(()=>t=>{if(typeof window>"u"||typeof document>"u")return"";try{const n=e.createApp(T.default,{data:t,categories:o.categories}),r=document.createElement("div");n.mount(r);const a=r.innerHTML;return n.unmount(),a}catch{return""}});function k(t){var n;return{y:r=>Number(r[t]),color:((n=o.categories[t])==null?void 0:n.color)??"#3b82f6"}}const v=l.map((t,n)=>`
2
- <linearGradient id="gradient${n}-${t}" gradientTransform="rotate(90)">
3
- <stop offset="0%" stop-color="${t}" stop-opacity="1" />
4
- <stop offset="100%" stop-color="${t}" stop-opacity="0" />
5
- </linearGradient>
6
- `).join(""),p=e.computed(()=>o.paginationPosition===B.PaginationPosition.Top),u=e.computed(()=>h.getDistributedIndices(o.data.length,o.xNumTicks)),c=e.computed(()=>{var t;return!((t=o.data)!=null&&t.length)||!u||u.value.length===0?[]:u.value.map(n=>o.data[n])});return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-col space-y-4",{"flex-col-reverse":p.value}])},[e.createVNode(e.unref(L.default),{data:c.value,height:t.height,"svg-defs":e.unref(v)},{default:e.withCtx(()=>[t.hideTooltip?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(b.default),{key:0,"horizontal-placement":e.unref(m.Position).Right,"vertical-placement":e.unref(m.Position).Top},null,8,["horizontal-placement","vertical-placement"])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(o.categories),(r,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[e.createVNode(e.unref(q.default),e.mergeProps({x:(s,d)=>d,ref_for:!0},k(r),{color:`url(#gradient${a}-${e.unref(l)[a]})`,opacity:.5,"curve-type":t.curveType??e.unref(f.CurveType).MonotoneX}),null,16,["x","color","curve-type"]),e.createVNode(e.unref(N.default),{x:(s,d)=>d,y:s=>s[r],color:e.unref(l)[a],"curve-type":t.curveType??e.unref(f.CurveType).MonotoneX},null,8,["x","y","color","curve-type"])],64))),128)),e.createVNode(e.unref(g.default),{type:"x","num-ticks":c.value.length,"tick-format":r=>t.xFormatter(c.value[r]),label:t.xLabel,"grid-line":t.gridLineX,"domain-line":t.domainLineX,"tick-line":!!t.gridLineX},null,8,["num-ticks","tick-format","label","grid-line","domain-line","tick-line"]),e.createVNode(e.unref(g.default),{type:"y","num-ticks":t.yNumTicks,"tick-format":t.yFormatter,label:t.yLabel,"grid-line":t.gridLineY,"domain-line":t.domainLineY,"tick-line":!!t.gridLineY},null,8,["num-ticks","tick-format","label","grid-line","domain-line","tick-line"]),t.hideTooltip?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref($.default),{key:1,color:"#666",template:y.value},null,8,["template"]))]),_:1},8,["data","height","svg-defs"]),t.hideLegend?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["flex items center justify-end",{"pb-4":p.value}])},[e.createVNode(e.unref(C.default),{items:Object.values(t.categories)},null,8,["items"])],2))],2))}});exports.default=P;
@@ -1,141 +0,0 @@
1
- import { defineComponent as X, computed as c, createApp as C, createElementBlock as s, openBlock as l, normalizeClass as v, createVNode as m, createCommentVNode as y, unref as t, withCtx as j, createBlock as k, Fragment as L, renderList as F, mergeProps as Y } from "vue";
2
- import { getDistributedIndices as z } from "../../utils.js";
3
- import "../../node_modules/@unovis/vue/index.js";
4
- import O from "../Tooltip.js";
5
- import { PaginationPosition as w } from "../../types.js";
6
- import A from "../../node_modules/@unovis/vue/containers/xy-container/index.js";
7
- import D from "../../node_modules/@unovis/vue/components/tooltip/index.js";
8
- import { Position as T } from "../../node_modules/@unovis/ts/types/position.js";
9
- import I from "../../node_modules/@unovis/vue/components/area/index.js";
10
- import { CurveType as b } from "../../node_modules/@unovis/ts/types/curve.js";
11
- import M from "../../node_modules/@unovis/vue/components/line/index.js";
12
- import B from "../../node_modules/@unovis/vue/components/axis/index.js";
13
- import E from "../../node_modules/@unovis/vue/components/crosshair/index.js";
14
- import G from "../../node_modules/@unovis/vue/html-components/bullet-legend/index.js";
15
- const te = /* @__PURE__ */ X({
16
- __name: "AreaChart",
17
- props: {
18
- data: {},
19
- height: {},
20
- xLabel: {},
21
- yLabel: {},
22
- categories: {},
23
- xFormatter: {},
24
- yFormatter: {},
25
- curveType: {},
26
- xNumTicks: { default: (r) => r.data.length > 24 ? 24 / 4 : r.data.length - 1 },
27
- yNumTicks: { default: (r) => r.data.length > 24 ? 24 / 4 : r.data.length - 1 },
28
- hideLegend: { type: Boolean },
29
- hideTooltip: { type: Boolean },
30
- gridLineX: { type: Boolean },
31
- domainLineX: { type: Boolean },
32
- gridLineY: { type: Boolean },
33
- domainLineY: { type: Boolean },
34
- paginationPosition: {}
35
- },
36
- setup(r) {
37
- const i = r, p = Object.values(i.categories).map((e) => e.color), P = c(() => (e) => {
38
- if (typeof window > "u" || typeof document > "u")
39
- return "";
40
- try {
41
- const o = C(O, {
42
- data: e,
43
- categories: i.categories
44
- }), n = document.createElement("div");
45
- o.mount(n);
46
- const a = n.innerHTML;
47
- return o.unmount(), a;
48
- } catch {
49
- return "";
50
- }
51
- });
52
- function $(e) {
53
- var o;
54
- return {
55
- y: (n) => Number(n[e]),
56
- color: ((o = i.categories[e]) == null ? void 0 : o.color) ?? "#3b82f6"
57
- };
58
- }
59
- const N = p.map(
60
- (e, o) => `
61
- <linearGradient id="gradient${o}-${e}" gradientTransform="rotate(90)">
62
- <stop offset="0%" stop-color="${e}" stop-opacity="1" />
63
- <stop offset="100%" stop-color="${e}" stop-opacity="0" />
64
- </linearGradient>
65
- `
66
- ).join(""), h = c(
67
- () => i.paginationPosition === w.Top
68
- ), d = c(() => z(i.data.length, i.xNumTicks)), u = c(() => {
69
- var e;
70
- return !((e = i.data) != null && e.length) || !d || d.value.length === 0 ? [] : d.value.map((o) => i.data[o]);
71
- });
72
- return (e, o) => (l(), s("div", {
73
- class: v(["flex flex-col space-y-4", { "flex-col-reverse": h.value }])
74
- }, [
75
- m(t(A), {
76
- data: u.value,
77
- height: e.height,
78
- "svg-defs": t(N)
79
- }, {
80
- default: j(() => [
81
- e.hideTooltip ? y("", !0) : (l(), k(t(D), {
82
- key: 0,
83
- "horizontal-placement": t(T).Right,
84
- "vertical-placement": t(T).Top
85
- }, null, 8, ["horizontal-placement", "vertical-placement"])),
86
- (l(!0), s(L, null, F(Object.keys(i.categories), (n, a) => (l(), s(L, { key: a }, [
87
- m(t(I), Y({
88
- x: (f, g) => g,
89
- ref_for: !0
90
- }, $(n), {
91
- color: `url(#gradient${a}-${t(p)[a]})`,
92
- opacity: 0.5,
93
- "curve-type": e.curveType ?? t(b).MonotoneX
94
- }), null, 16, ["x", "color", "curve-type"]),
95
- m(t(M), {
96
- x: (f, g) => g,
97
- y: (f) => f[n],
98
- color: t(p)[a],
99
- "curve-type": e.curveType ?? t(b).MonotoneX
100
- }, null, 8, ["x", "y", "color", "curve-type"])
101
- ], 64))), 128)),
102
- m(t(B), {
103
- type: "x",
104
- "num-ticks": u.value.length,
105
- "tick-format": (n) => e.xFormatter(u.value[n]),
106
- label: e.xLabel,
107
- "grid-line": e.gridLineX,
108
- "domain-line": e.domainLineX,
109
- "tick-line": !!e.gridLineX
110
- }, null, 8, ["num-ticks", "tick-format", "label", "grid-line", "domain-line", "tick-line"]),
111
- m(t(B), {
112
- type: "y",
113
- "num-ticks": e.yNumTicks,
114
- "tick-format": e.yFormatter,
115
- label: e.yLabel,
116
- "grid-line": e.gridLineY,
117
- "domain-line": e.domainLineY,
118
- "tick-line": !!e.gridLineY
119
- }, null, 8, ["num-ticks", "tick-format", "label", "grid-line", "domain-line", "tick-line"]),
120
- e.hideTooltip ? y("", !0) : (l(), k(t(E), {
121
- key: 1,
122
- color: "#666",
123
- template: P.value
124
- }, null, 8, ["template"]))
125
- ]),
126
- _: 1
127
- }, 8, ["data", "height", "svg-defs"]),
128
- e.hideLegend ? y("", !0) : (l(), s("div", {
129
- key: 0,
130
- class: v(["flex items center justify-end", { "pb-4": h.value }])
131
- }, [
132
- m(t(G), {
133
- items: Object.values(e.categories)
134
- }, null, 8, ["items"])
135
- ], 2))
136
- ], 2));
137
- }
138
- });
139
- export {
140
- te as default
141
- };
@@ -1,14 +0,0 @@
1
- import { AreaChartProps } from './types';
2
- declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & AreaChartProps<T> & Partial<{}>> & import('vue').PublicProps;
4
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
5
- attrs: any;
6
- slots: {};
7
- emit: {};
8
- }>) => import('vue').VNode & {
9
- __ctx?: Awaited<typeof __VLS_setup>;
10
- };
11
- export default _default;
12
- type __VLS_PrettifyLocal<T> = {
13
- [K in keyof T]: T[K];
14
- } & {};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./AreaChart.cjs");exports.default=e.default;
@@ -1,4 +0,0 @@
1
- import f from "./AreaChart.js";
2
- export {
3
- f as default
4
- };
@@ -1,2 +0,0 @@
1
- export { default as AreaChart } from './AreaChart.vue';
2
- export * from './types';
@@ -1,82 +0,0 @@
1
- import { PaginationPosition } from '../../types';
2
- import { BulletLegendItemInterface, CurveType } from '@unovis/ts';
3
- export interface AreaChartProps<T> {
4
- /**
5
- * The data to be displayed in the area chart.
6
- * Each element of the array represents a data point.
7
- * The structure of 'T' should be compatible with the chart's rendering logic.
8
- */
9
- data: T[];
10
- /**
11
- * The height of the chart in pixels.
12
- */
13
- height: number;
14
- /**
15
- * Optional label for the x-axis.
16
- */
17
- xLabel?: string;
18
- /**
19
- * Optional label for the y-axis.
20
- */
21
- yLabel?: string;
22
- /**
23
- * A record mapping category keys to `BulletLegendItemInterface` objects.
24
- * This defines the visual representation and labels for each category in the chart's legend.
25
- */
26
- categories: Record<string, BulletLegendItemInterface>;
27
- /**
28
- * A function that formats the x-axis tick labels.
29
- * @param item The x-axis value to be formatted.
30
- * @returns The formatted x-axis label.
31
- */
32
- xFormatter: (item: T) => string | number;
33
- /**
34
- * An optional function that formats the y-axis tick labels.
35
- * @param i The value to be formatted.
36
- * @param idx The index of the data point (optional).
37
- * @returns The formatted y-axis label or value.
38
- */
39
- yFormatter?: (i: number, idx?: number) => string | number;
40
- /**
41
- * The type of curve to use for the area chart lines.
42
- * See `CurveType` for available options.
43
- */
44
- curveType?: CurveType;
45
- /**
46
- * The desired number of ticks on the x-axis.
47
- */
48
- xNumTicks?: number;
49
- /**
50
- * The desired number of ticks on the y-axis.
51
- */
52
- yNumTicks?: number;
53
- /**
54
- * If `true`, hides the chart legend.
55
- */
56
- hideLegend?: boolean;
57
- /**
58
- * If `true`, hides the chart tooltip.
59
- */
60
- hideTooltip?: boolean;
61
- /**
62
- * If `true`, displays grid lines along the x-axis.
63
- */
64
- gridLineX?: boolean;
65
- /**
66
- * If `true`, displays a domain line (axis line) along the x-axis.
67
- */
68
- domainLineX?: boolean;
69
- /**
70
- * If `true`, displays grid lines along the y-axis.
71
- */
72
- gridLineY?: boolean;
73
- /**
74
- * If `true`, displays a domain line (axis line) along the y-axis.
75
- */
76
- domainLineY?: boolean;
77
- /**
78
- * Optional position for pagination controls, if applicable.
79
- * See `PaginationPosition` for available options.
80
- */
81
- paginationPosition?: PaginationPosition;
82
- }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../node_modules/@unovis/vue/index.cjs");const d=require("../Tooltip.cjs"),p=require("../../node_modules/@unovis/vue/containers/xy-container/index.cjs"),f=require("../../node_modules/@unovis/vue/components/area/index.cjs"),m=require("../../node_modules/@unovis/ts/types/curve.cjs"),u=require("../../node_modules/@unovis/vue/components/axis/index.cjs"),h=require("../../node_modules/@unovis/vue/components/crosshair/index.cjs"),v=require("../../node_modules/@unovis/vue/html-components/bullet-legend/index.cjs"),y={class:"flex flex-col space-y-4"},_={class:"flex items center justify-end"},g=e.defineComponent({__name:"AreaStackedChart",props:{data:{},height:{},categories:{},hideTooltip:{type:Boolean}},setup(c){const n=c,a=e.computed(()=>t=>{if(typeof window>"u"||typeof document>"u")return"";try{const r=e.createApp(d.default,{data:t,categories:n.categories}),o=document.createElement("div");r.mount(o);const s=o.innerHTML;return r.unmount(),s}catch{return""}}),i=t=>Number.parseInt(t.time),l=[t=>t.firstTime,t=>t.returning];return(t,r)=>(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(e.unref(p.default),{data:t.data,height:t.height},{default:e.withCtx(()=>[e.createVNode(e.unref(f.default),{x:i,y:l,color:Object.values(n.categories).map(o=>o.color),"curve-type":e.unref(m.CurveType).Linear},null,8,["color","curve-type"]),e.createVNode(e.unref(u.default),{type:"x",label:"Time","num-ticks":12}),e.createVNode(e.unref(u.default),{type:"y",label:"Number of visitors","num-ticks":3}),t.hideTooltip?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(h.default),{key:0,color:"#666",template:a.value},null,8,["template"]))]),_:1},8,["data","height"]),e.createElementVNode("div",_,[e.createVNode(e.unref(v.default),{items:Object.values(t.categories)},null,8,["items"])])]))}});exports.default=g;
@@ -1,74 +0,0 @@
1
- import { defineComponent as d, computed as f, createApp as h, createElementBlock as y, openBlock as a, createVNode as o, createElementVNode as g, unref as t, withCtx as v, createBlock as _, createCommentVNode as k } from "vue";
2
- import "../../node_modules/@unovis/vue/index.js";
3
- import T from "../Tooltip.js";
4
- import b from "../../node_modules/@unovis/vue/containers/xy-container/index.js";
5
- import C from "../../node_modules/@unovis/vue/components/area/index.js";
6
- import { CurveType as N } from "../../node_modules/@unovis/ts/types/curve.js";
7
- import c from "../../node_modules/@unovis/vue/components/axis/index.js";
8
- import x from "../../node_modules/@unovis/vue/components/crosshair/index.js";
9
- import B from "../../node_modules/@unovis/vue/html-components/bullet-legend/index.js";
10
- const j = { class: "flex flex-col space-y-4" }, w = { class: "flex items center justify-end" }, M = /* @__PURE__ */ d({
11
- __name: "AreaStackedChart",
12
- props: {
13
- data: {},
14
- height: {},
15
- categories: {},
16
- hideTooltip: { type: Boolean }
17
- },
18
- setup(m) {
19
- const i = m, s = f(() => (e) => {
20
- if (typeof window > "u" || typeof document > "u")
21
- return "";
22
- try {
23
- const r = h(T, {
24
- data: e,
25
- categories: i.categories
26
- }), n = document.createElement("div");
27
- r.mount(n);
28
- const u = n.innerHTML;
29
- return r.unmount(), u;
30
- } catch {
31
- return "";
32
- }
33
- }), l = (e) => Number.parseInt(e.time), p = [(e) => e.firstTime, (e) => e.returning];
34
- return (e, r) => (a(), y("div", j, [
35
- o(t(b), {
36
- data: e.data,
37
- height: e.height
38
- }, {
39
- default: v(() => [
40
- o(t(C), {
41
- x: l,
42
- y: p,
43
- color: Object.values(i.categories).map((n) => n.color),
44
- "curve-type": t(N).Linear
45
- }, null, 8, ["color", "curve-type"]),
46
- o(t(c), {
47
- type: "x",
48
- label: "Time",
49
- "num-ticks": 12
50
- }),
51
- o(t(c), {
52
- type: "y",
53
- label: "Number of visitors",
54
- "num-ticks": 3
55
- }),
56
- e.hideTooltip ? k("", !0) : (a(), _(t(x), {
57
- key: 0,
58
- color: "#666",
59
- template: s.value
60
- }, null, 8, ["template"]))
61
- ]),
62
- _: 1
63
- }, 8, ["data", "height"]),
64
- g("div", w, [
65
- o(t(B), {
66
- items: Object.values(e.categories)
67
- }, null, 8, ["items"])
68
- ])
69
- ]));
70
- }
71
- });
72
- export {
73
- M as default
74
- };
@@ -1,20 +0,0 @@
1
- import { BulletLegendItemInterface } from '@unovis/ts';
2
- export type AreaStackedChartProps<T> = {
3
- data: T[];
4
- height: number;
5
- categories: Record<string, BulletLegendItemInterface>;
6
- hideTooltip?: boolean;
7
- };
8
- declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & AreaStackedChartProps<T> & Partial<{}>> & import('vue').PublicProps;
10
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
11
- attrs: any;
12
- slots: {};
13
- emit: {};
14
- }>) => import('vue').VNode & {
15
- __ctx?: Awaited<typeof __VLS_setup>;
16
- };
17
- export default _default;
18
- type __VLS_PrettifyLocal<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./AreaStackedChart.cjs");exports.default=e.default;
@@ -1,4 +0,0 @@
1
- import f from "./AreaStackedChart.js";
2
- export {
3
- f as default
4
- };
@@ -1 +0,0 @@
1
- export { default as AreaStackedChart } from './AreaStackedChart.vue';
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../node_modules/@unovis/vue/index.cjs");const f=require("../Tooltip.cjs"),c=require("../../types.cjs"),o=require("../../node_modules/@unovis/ts/types/position.cjs"),m=require("../../node_modules/@unovis/vue/containers/xy-container/index.cjs"),y=require("../../node_modules/@unovis/vue/components/tooltip/index.cjs"),k=require("../../node_modules/@unovis/ts/components/stacked-bar/index.cjs"),b=require("../../node_modules/@unovis/ts/components/grouped-bar/index.cjs"),v=require("../../node_modules/@unovis/vue/components/grouped-bar/index.cjs"),h=require("../../node_modules/@unovis/vue/components/stacked-bar/index.cjs"),p=require("../../node_modules/@unovis/vue/components/axis/index.cjs"),P=require("../../node_modules/@unovis/vue/html-components/bullet-legend/index.cjs"),B=e.defineComponent({__name:"BarChart",props:{data:{},stacked:{type:Boolean},height:{},xLabel:{},yLabel:{},categories:{},xFormatter:{},yFormatter:{},yNumTicks:{},xNumTicks:{},yAxis:{},groupPadding:{},barPadding:{},radius:{},hideLegend:{type:Boolean},orientation:{default:o.Orientation.Vertical},paginationPosition:{default:c.PaginationPosition.Bottom}},setup(g){const a=g,d=e.computed(()=>a.yAxis.map(n=>r=>r[n])),l=(n,r)=>Object.values(a.categories)[r].color,u=e.computed(()=>n=>{if(typeof window>"u"||typeof document>"u")return"";try{const r=e.createApp(f.default,{data:n,categories:a.categories}),i=document.createElement("div");r.mount(i);const t=i.innerHTML;return r.unmount(),t}catch{return""}}),s=e.computed(()=>a.paginationPosition===c.PaginationPosition.Top);return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-col space-y-4",{"flex-col-reverse":s.value}])},[e.createVNode(e.unref(m.default),{height:n.height},{default:e.withCtx(()=>[e.createVNode(e.unref(y.default),{triggers:{[e.unref(b.GroupedBar).selectors.bar]:u.value,[e.unref(k.StackedBar).selectors.bar]:u.value}},null,8,["triggers"]),n.stacked?(e.openBlock(),e.createBlock(e.unref(h.default),{key:1,data:n.data,x:(i,t)=>t,y:d.value,"grid-line":!1,"domain-line":!1,color:l,"rounded-corners":n.radius??0,"group-padding":n.groupPadding??0,"bar-padding":n.barPadding??.2,orientation:n.orientation??e.unref(o.Orientation).Vertical},null,8,["data","x","y","rounded-corners","group-padding","bar-padding","orientation"])):(e.openBlock(),e.createBlock(e.unref(v.default),{key:0,data:n.data,x:(i,t)=>t,y:d.value,"grid-line":!1,"domain-line":!1,color:l,"rounded-corners":n.radius??0,"group-padding":n.groupPadding??0,"bar-padding":n.barPadding??.2,orientation:n.orientation??e.unref(o.Orientation).Vertical},null,8,["data","x","y","rounded-corners","group-padding","bar-padding","orientation"])),e.createVNode(e.unref(p.default),{type:"x",label:n.xLabel,"grid-line":!1,"domain-line":!1,"tick-format":n.xFormatter,"num-ticks":n.xNumTicks,"tick-line":!1},null,8,["label","tick-format","num-ticks"]),e.createVNode(e.unref(p.default),{type:"y",label:n.yLabel,"grid-line":n.orientation!==e.unref(o.Orientation).Horizontal,"domain-line":!1,"tick-format":n.yFormatter},null,8,["label","grid-line","tick-format"])]),_:1},8,["height"]),n.hideLegend?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["flex items center justify-end",{"pb-4":s.value}])},[e.createVNode(e.unref(P.default),{items:Object.values(n.categories)},null,8,["items"])],2))],2))}});exports.default=B;