@adyen/lume 0.1.0

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 (269) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +135 -0
  3. package/dist/335.esm.js +2 -0
  4. package/dist/335.esm.js.map +1 -0
  5. package/dist/511.esm.js +2 -0
  6. package/dist/511.esm.js.map +1 -0
  7. package/dist/669.esm.js +2 -0
  8. package/dist/669.esm.js.map +1 -0
  9. package/dist/883.css +1 -0
  10. package/dist/883.esm.js +2 -0
  11. package/dist/883.esm.js.map +1 -0
  12. package/dist/assets/fonts/inter-500.woff +0 -0
  13. package/dist/assets/fonts/inter-500.woff2 +0 -0
  14. package/dist/assets/fonts/inter-600.woff +0 -0
  15. package/dist/assets/fonts/inter-600.woff2 +0 -0
  16. package/dist/assets/fonts/inter-700.woff +0 -0
  17. package/dist/assets/fonts/inter-700.woff2 +0 -0
  18. package/dist/assets/fonts/inter-regular.woff +0 -0
  19. package/dist/assets/fonts/inter-regular.woff2 +0 -0
  20. package/dist/charts/lume-alluvial-diagram.css +1 -0
  21. package/dist/charts/lume-alluvial-diagram.esm.js +2 -0
  22. package/dist/charts/lume-alluvial-diagram.esm.js.map +1 -0
  23. package/dist/charts/lume-bar-chart.esm.js +2 -0
  24. package/dist/charts/lume-bar-chart.esm.js.map +1 -0
  25. package/dist/charts/lume-grouped-bar-chart.css +1 -0
  26. package/dist/charts/lume-grouped-bar-chart.esm.js +2 -0
  27. package/dist/charts/lume-grouped-bar-chart.esm.js.map +1 -0
  28. package/dist/charts/lume-line-chart.css +1 -0
  29. package/dist/charts/lume-line-chart.esm.js +2 -0
  30. package/dist/charts/lume-line-chart.esm.js.map +1 -0
  31. package/dist/charts/lume-single-bar-chart.css +1 -0
  32. package/dist/charts/lume-single-bar-chart.esm.js +2 -0
  33. package/dist/charts/lume-single-bar-chart.esm.js.map +1 -0
  34. package/dist/charts/lume-sparkline-chart.css +1 -0
  35. package/dist/charts/lume-sparkline-chart.esm.js +2 -0
  36. package/dist/charts/lume-sparkline-chart.esm.js.map +1 -0
  37. package/dist/charts/lume-stacked-bar-chart.css +1 -0
  38. package/dist/charts/lume-stacked-bar-chart.esm.js +2 -0
  39. package/dist/charts/lume-stacked-bar-chart.esm.js.map +1 -0
  40. package/dist/core/lume-axis.esm.js +2 -0
  41. package/dist/core/lume-axis.esm.js.map +1 -0
  42. package/dist/core/lume-bar.esm.js +2 -0
  43. package/dist/core/lume-bar.esm.js.map +1 -0
  44. package/dist/core/lume-chart-container.esm.js +2 -0
  45. package/dist/core/lume-chart-container.esm.js.map +1 -0
  46. package/dist/core/lume-chart-legend.esm.js +2 -0
  47. package/dist/core/lume-chart-legend.esm.js.map +1 -0
  48. package/dist/core/lume-chart.css +1 -0
  49. package/dist/core/lume-chart.esm.js +2 -0
  50. package/dist/core/lume-chart.esm.js.map +1 -0
  51. package/dist/core/lume-line.css +1 -0
  52. package/dist/core/lume-line.esm.js +2 -0
  53. package/dist/core/lume-line.esm.js.map +1 -0
  54. package/dist/core/lume-point.esm.js +2 -0
  55. package/dist/core/lume-point.esm.js.map +1 -0
  56. package/dist/core/lume-tooltip.esm.js +2 -0
  57. package/dist/core/lume-tooltip.esm.js.map +1 -0
  58. package/dist/groups/lume-alluvial-group.esm.js +2 -0
  59. package/dist/groups/lume-alluvial-group.esm.js.map +1 -0
  60. package/dist/groups/lume-alluvial-path-group.esm.js +2 -0
  61. package/dist/groups/lume-alluvial-path-group.esm.js.map +1 -0
  62. package/dist/groups/lume-bar-group.esm.js +2 -0
  63. package/dist/groups/lume-bar-group.esm.js.map +1 -0
  64. package/dist/groups/lume-line-group.css +1 -0
  65. package/dist/groups/lume-line-group.esm.js +2 -0
  66. package/dist/groups/lume-line-group.esm.js.map +1 -0
  67. package/dist/groups/lume-overlay-group.esm.js +2 -0
  68. package/dist/groups/lume-overlay-group.esm.js.map +1 -0
  69. package/dist/index.css +1 -0
  70. package/dist/index.esm.js +2 -0
  71. package/dist/index.esm.js.map +1 -0
  72. package/dist/scss/_titles.scss +27 -0
  73. package/dist/scss/_utilities.scss +120 -0
  74. package/dist/scss/_variables.scss +30 -0
  75. package/dist/scss/font.scss +37 -0
  76. package/dist/scss/functions/_colors.scss +83 -0
  77. package/dist/scss/main.scss +3 -0
  78. package/dist/scss/mixins/_base.scss +7 -0
  79. package/dist/scss/variables/_colors.scss +305 -0
  80. package/dist/scss/variables/_spacing.scss +7 -0
  81. package/dist/scss/variables/_typography.scss +16 -0
  82. package/dist/styles/font.css +1 -0
  83. package/dist/styles/font.esm.js +0 -0
  84. package/dist/styles/main.css +1 -0
  85. package/dist/styles/main.esm.js +2 -0
  86. package/dist/styles/main.esm.js.map +1 -0
  87. package/dist/types/components/charts/index.d.ts +8 -0
  88. package/dist/types/components/charts/index.d.ts.map +1 -0
  89. package/dist/types/components/charts/lume-alluvial-diagram/defaults.d.ts +13 -0
  90. package/dist/types/components/charts/lume-alluvial-diagram/defaults.d.ts.map +1 -0
  91. package/dist/types/components/charts/lume-alluvial-diagram/index.d.ts +2 -0
  92. package/dist/types/components/charts/lume-alluvial-diagram/index.d.ts.map +1 -0
  93. package/dist/types/components/charts/lume-alluvial-diagram/lume-alluvial-diagram.vue.d.ts +98 -0
  94. package/dist/types/components/charts/lume-alluvial-diagram/lume-alluvial-diagram.vue.d.ts.map +1 -0
  95. package/dist/types/components/charts/lume-bar-chart/index.d.ts +2 -0
  96. package/dist/types/components/charts/lume-bar-chart/index.d.ts.map +1 -0
  97. package/dist/types/components/charts/lume-bar-chart/lume-bar-chart.vue.d.ts +106 -0
  98. package/dist/types/components/charts/lume-bar-chart/lume-bar-chart.vue.d.ts.map +1 -0
  99. package/dist/types/components/charts/lume-grouped-bar-chart/defaults.d.ts +28 -0
  100. package/dist/types/components/charts/lume-grouped-bar-chart/defaults.d.ts.map +1 -0
  101. package/dist/types/components/charts/lume-grouped-bar-chart/index.d.ts +2 -0
  102. package/dist/types/components/charts/lume-grouped-bar-chart/index.d.ts.map +1 -0
  103. package/dist/types/components/charts/lume-grouped-bar-chart/lume-grouped-bar-chart.vue.d.ts +83 -0
  104. package/dist/types/components/charts/lume-grouped-bar-chart/lume-grouped-bar-chart.vue.d.ts.map +1 -0
  105. package/dist/types/components/charts/lume-line-chart/defaults.d.ts +3 -0
  106. package/dist/types/components/charts/lume-line-chart/defaults.d.ts.map +1 -0
  107. package/dist/types/components/charts/lume-line-chart/index.d.ts +2 -0
  108. package/dist/types/components/charts/lume-line-chart/index.d.ts.map +1 -0
  109. package/dist/types/components/charts/lume-line-chart/lume-line-chart.vue.d.ts +83 -0
  110. package/dist/types/components/charts/lume-line-chart/lume-line-chart.vue.d.ts.map +1 -0
  111. package/dist/types/components/charts/lume-single-bar-chart/defaults.d.ts +24 -0
  112. package/dist/types/components/charts/lume-single-bar-chart/defaults.d.ts.map +1 -0
  113. package/dist/types/components/charts/lume-single-bar-chart/index.d.ts +2 -0
  114. package/dist/types/components/charts/lume-single-bar-chart/index.d.ts.map +1 -0
  115. package/dist/types/components/charts/lume-single-bar-chart/lume-single-bar-chart.vue.d.ts +83 -0
  116. package/dist/types/components/charts/lume-single-bar-chart/lume-single-bar-chart.vue.d.ts.map +1 -0
  117. package/dist/types/components/charts/lume-sparkline-chart/composables/sparkline-area.d.ts +7 -0
  118. package/dist/types/components/charts/lume-sparkline-chart/composables/sparkline-area.d.ts.map +1 -0
  119. package/dist/types/components/charts/lume-sparkline-chart/defaults.d.ts +3 -0
  120. package/dist/types/components/charts/lume-sparkline-chart/defaults.d.ts.map +1 -0
  121. package/dist/types/components/charts/lume-sparkline-chart/index.d.ts +2 -0
  122. package/dist/types/components/charts/lume-sparkline-chart/index.d.ts.map +1 -0
  123. package/dist/types/components/charts/lume-sparkline-chart/lume-sparkline-chart.vue.d.ts +55 -0
  124. package/dist/types/components/charts/lume-sparkline-chart/lume-sparkline-chart.vue.d.ts.map +1 -0
  125. package/dist/types/components/charts/lume-stacked-bar-chart/defaults.d.ts +28 -0
  126. package/dist/types/components/charts/lume-stacked-bar-chart/defaults.d.ts.map +1 -0
  127. package/dist/types/components/charts/lume-stacked-bar-chart/index.d.ts +2 -0
  128. package/dist/types/components/charts/lume-stacked-bar-chart/index.d.ts.map +1 -0
  129. package/dist/types/components/charts/lume-stacked-bar-chart/lume-stacked-bar-chart.vue.d.ts +85 -0
  130. package/dist/types/components/charts/lume-stacked-bar-chart/lume-stacked-bar-chart.vue.d.ts.map +1 -0
  131. package/dist/types/components/core/index.d.ts +9 -0
  132. package/dist/types/components/core/index.d.ts.map +1 -0
  133. package/dist/types/components/core/lume-axis/composables/index.d.ts +8 -0
  134. package/dist/types/components/core/lume-axis/composables/index.d.ts.map +1 -0
  135. package/dist/types/components/core/lume-axis/composables/lume-skip.d.ts +13 -0
  136. package/dist/types/components/core/lume-axis/composables/lume-skip.d.ts.map +1 -0
  137. package/dist/types/components/core/lume-axis/composables/x-band-scale-axis.d.ts +4 -0
  138. package/dist/types/components/core/lume-axis/composables/x-band-scale-axis.d.ts.map +1 -0
  139. package/dist/types/components/core/lume-axis/composables/x-linear-scale-axis.d.ts +4 -0
  140. package/dist/types/components/core/lume-axis/composables/x-linear-scale-axis.d.ts.map +1 -0
  141. package/dist/types/components/core/lume-axis/composables/y-band-scale-axis.d.ts +4 -0
  142. package/dist/types/components/core/lume-axis/composables/y-band-scale-axis.d.ts.map +1 -0
  143. package/dist/types/components/core/lume-axis/composables/y-linear-scale-axis.d.ts +4 -0
  144. package/dist/types/components/core/lume-axis/composables/y-linear-scale-axis.d.ts.map +1 -0
  145. package/dist/types/components/core/lume-axis/defaults.d.ts +4 -0
  146. package/dist/types/components/core/lume-axis/defaults.d.ts.map +1 -0
  147. package/dist/types/components/core/lume-axis/index.d.ts +2 -0
  148. package/dist/types/components/core/lume-axis/index.d.ts.map +1 -0
  149. package/dist/types/components/core/lume-axis/lume-axis.vue.d.ts +87 -0
  150. package/dist/types/components/core/lume-axis/lume-axis.vue.d.ts.map +1 -0
  151. package/dist/types/components/core/lume-axis/types.d.ts +7 -0
  152. package/dist/types/components/core/lume-axis/types.d.ts.map +1 -0
  153. package/dist/types/components/core/lume-bar/composables/bar-sizing.d.ts +20 -0
  154. package/dist/types/components/core/lume-bar/composables/bar-sizing.d.ts.map +1 -0
  155. package/dist/types/components/core/lume-bar/composables/bar-transition.d.ts +7 -0
  156. package/dist/types/components/core/lume-bar/composables/bar-transition.d.ts.map +1 -0
  157. package/dist/types/components/core/lume-bar/index.d.ts +2 -0
  158. package/dist/types/components/core/lume-bar/index.d.ts.map +1 -0
  159. package/dist/types/components/core/lume-bar/lume-bar.vue.d.ts +88 -0
  160. package/dist/types/components/core/lume-bar/lume-bar.vue.d.ts.map +1 -0
  161. package/dist/types/components/core/lume-chart/index.d.ts +2 -0
  162. package/dist/types/components/core/lume-chart/index.d.ts.map +1 -0
  163. package/dist/types/components/core/lume-chart/lume-chart.vue.d.ts +159 -0
  164. package/dist/types/components/core/lume-chart/lume-chart.vue.d.ts.map +1 -0
  165. package/dist/types/components/core/lume-chart-container/index.d.ts +2 -0
  166. package/dist/types/components/core/lume-chart-container/index.d.ts.map +1 -0
  167. package/dist/types/components/core/lume-chart-container/lume-chart-container.vue.d.ts +56 -0
  168. package/dist/types/components/core/lume-chart-container/lume-chart-container.vue.d.ts.map +1 -0
  169. package/dist/types/components/core/lume-chart-legend/index.d.ts +2 -0
  170. package/dist/types/components/core/lume-chart-legend/index.d.ts.map +1 -0
  171. package/dist/types/components/core/lume-chart-legend/lume-chart-legend.vue.d.ts +17 -0
  172. package/dist/types/components/core/lume-chart-legend/lume-chart-legend.vue.d.ts.map +1 -0
  173. package/dist/types/components/core/lume-line/index.d.ts +2 -0
  174. package/dist/types/components/core/lume-line/index.d.ts.map +1 -0
  175. package/dist/types/components/core/lume-line/lume-line.vue.d.ts +72 -0
  176. package/dist/types/components/core/lume-line/lume-line.vue.d.ts.map +1 -0
  177. package/dist/types/components/core/lume-point/index.d.ts +2 -0
  178. package/dist/types/components/core/lume-point/index.d.ts.map +1 -0
  179. package/dist/types/components/core/lume-point/lume-point.vue.d.ts +71 -0
  180. package/dist/types/components/core/lume-point/lume-point.vue.d.ts.map +1 -0
  181. package/dist/types/components/core/lume-tooltip/index.d.ts +2 -0
  182. package/dist/types/components/core/lume-tooltip/index.d.ts.map +1 -0
  183. package/dist/types/components/core/lume-tooltip/lume-tooltip.vue.d.ts +86 -0
  184. package/dist/types/components/core/lume-tooltip/lume-tooltip.vue.d.ts.map +1 -0
  185. package/dist/types/components/groups/composables/group-props.d.ts +22 -0
  186. package/dist/types/components/groups/composables/group-props.d.ts.map +1 -0
  187. package/dist/types/components/groups/index.d.ts +4 -0
  188. package/dist/types/components/groups/index.d.ts.map +1 -0
  189. package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-building-blocks.d.ts +55 -0
  190. package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-building-blocks.d.ts.map +1 -0
  191. package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-coordinates.d.ts +10 -0
  192. package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-coordinates.d.ts.map +1 -0
  193. package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-interactions.d.ts +24 -0
  194. package/dist/types/components/groups/lume-alluvial-group/composables/lume-alluvial-interactions.d.ts.map +1 -0
  195. package/dist/types/components/groups/lume-alluvial-group/constants.d.ts +3 -0
  196. package/dist/types/components/groups/lume-alluvial-group/constants.d.ts.map +1 -0
  197. package/dist/types/components/groups/lume-alluvial-group/index.d.ts +2 -0
  198. package/dist/types/components/groups/lume-alluvial-group/index.d.ts.map +1 -0
  199. package/dist/types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts +134 -0
  200. package/dist/types/components/groups/lume-alluvial-group/lume-alluvial-group.vue.d.ts.map +1 -0
  201. package/dist/types/components/groups/lume-alluvial-path-group/index.d.ts +2 -0
  202. package/dist/types/components/groups/lume-alluvial-path-group/index.d.ts.map +1 -0
  203. package/dist/types/components/groups/lume-alluvial-path-group/lume-alluvial-path-group.vue.d.ts +53 -0
  204. package/dist/types/components/groups/lume-alluvial-path-group/lume-alluvial-path-group.vue.d.ts.map +1 -0
  205. package/dist/types/components/groups/lume-bar-group/composables/bar-mixin.d.ts +29 -0
  206. package/dist/types/components/groups/lume-bar-group/composables/bar-mixin.d.ts.map +1 -0
  207. package/dist/types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts +16 -0
  208. package/dist/types/components/groups/lume-bar-group/composables/grouped-mixin.d.ts.map +1 -0
  209. package/dist/types/components/groups/lume-bar-group/composables/single-mixin.d.ts +16 -0
  210. package/dist/types/components/groups/lume-bar-group/composables/single-mixin.d.ts.map +1 -0
  211. package/dist/types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts +22 -0
  212. package/dist/types/components/groups/lume-bar-group/composables/stacked-mixin.d.ts.map +1 -0
  213. package/dist/types/components/groups/lume-bar-group/constants.d.ts +2 -0
  214. package/dist/types/components/groups/lume-bar-group/constants.d.ts.map +1 -0
  215. package/dist/types/components/groups/lume-bar-group/index.d.ts +2 -0
  216. package/dist/types/components/groups/lume-bar-group/index.d.ts.map +1 -0
  217. package/dist/types/components/groups/lume-bar-group/lume-bar-group.vue.d.ts +86 -0
  218. package/dist/types/components/groups/lume-bar-group/lume-bar-group.vue.d.ts.map +1 -0
  219. package/dist/types/components/groups/lume-line-group/index.d.ts +2 -0
  220. package/dist/types/components/groups/lume-line-group/index.d.ts.map +1 -0
  221. package/dist/types/components/groups/lume-line-group/lume-line-group.vue.d.ts +66 -0
  222. package/dist/types/components/groups/lume-line-group/lume-line-group.vue.d.ts.map +1 -0
  223. package/dist/types/components/groups/lume-overlay-group/index.d.ts +2 -0
  224. package/dist/types/components/groups/lume-overlay-group/index.d.ts.map +1 -0
  225. package/dist/types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts +58 -0
  226. package/dist/types/components/groups/lume-overlay-group/lume-overlay-group.vue.d.ts.map +1 -0
  227. package/dist/types/composables/base.d.ts +31 -0
  228. package/dist/types/composables/base.d.ts.map +1 -0
  229. package/dist/types/composables/line-null-values.d.ts +15 -0
  230. package/dist/types/composables/line-null-values.d.ts.map +1 -0
  231. package/dist/types/composables/negative-values.d.ts +16 -0
  232. package/dist/types/composables/negative-values.d.ts.map +1 -0
  233. package/dist/types/composables/options.d.ts +45 -0
  234. package/dist/types/composables/options.d.ts.map +1 -0
  235. package/dist/types/composables/props.d.ts +43 -0
  236. package/dist/types/composables/props.d.ts.map +1 -0
  237. package/dist/types/composables/resize.d.ts +17 -0
  238. package/dist/types/composables/resize.d.ts.map +1 -0
  239. package/dist/types/composables/scales.d.ts +47 -0
  240. package/dist/types/composables/scales.d.ts.map +1 -0
  241. package/dist/types/composables/tooltip.d.ts +29 -0
  242. package/dist/types/composables/tooltip.d.ts.map +1 -0
  243. package/dist/types/constants.d.ts +47 -0
  244. package/dist/types/constants.d.ts.map +1 -0
  245. package/dist/types/docs/storybook-data/alluvial-data.d.ts +38 -0
  246. package/dist/types/docs/storybook-data/alluvial-data.d.ts.map +1 -0
  247. package/dist/types/docs/storybook-data/base-data.d.ts +39 -0
  248. package/dist/types/docs/storybook-data/base-data.d.ts.map +1 -0
  249. package/dist/types/docs/storybook-data/sparkline-data.d.ts +24 -0
  250. package/dist/types/docs/storybook-data/sparkline-data.d.ts.map +1 -0
  251. package/dist/types/docs/storybook-helpers.d.ts +35 -0
  252. package/dist/types/docs/storybook-helpers.d.ts.map +1 -0
  253. package/dist/types/index.d.ts +4 -0
  254. package/dist/types/index.d.ts.map +1 -0
  255. package/dist/types/types/alluvial.d.ts +72 -0
  256. package/dist/types/types/alluvial.d.ts.map +1 -0
  257. package/dist/types/types/dataset.d.ts +32 -0
  258. package/dist/types/types/dataset.d.ts.map +1 -0
  259. package/dist/types/types/size.d.ts +7 -0
  260. package/dist/types/types/size.d.ts.map +1 -0
  261. package/dist/types/utils/colors.d.ts +5 -0
  262. package/dist/types/utils/colors.d.ts.map +1 -0
  263. package/dist/types/utils/helpers.d.ts +92 -0
  264. package/dist/types/utils/helpers.d.ts.map +1 -0
  265. package/dist/types/utils/svg-check.d.ts +7 -0
  266. package/dist/types/utils/svg-check.d.ts.map +1 -0
  267. package/dist/types/utils/warnings.d.ts +7 -0
  268. package/dist/types/utils/warnings.d.ts.map +1 -0
  269. package/package.json +134 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"883.esm.js","mappings":"6FAEAA,EADkC,EAAQ,KAChCC,EAA4B,IAE9BC,KAAK,CAACC,EAAOC,GAAI,gvBAAyvB,KAElxBD,EAAOH,QAAUA,C,kBCJjBA,EADkC,EAAQ,KAChCC,EAA4B,IAE9BC,KAAK,CAACC,EAAOC,GAAI,ygBAA0gB,KAEniBD,EAAOH,QAAUA,C,kBCJjBA,EADkC,EAAQ,KAChCC,EAA4B,IAE9BC,KAAK,CAACC,EAAOC,GAAI,yjBAA0jB,KAEnlBD,EAAOH,QAAUA,C,kBCJjBA,EADkC,EAAQ,KAChCC,EAA4B,IAE9BC,KAAK,CAACC,EAAOC,GAAI,qgBAA8gB,KAEviBD,EAAOH,QAAUA,C,iBCJjBA,EADkC,EAAQ,KAChCC,EAA4B,IAE9BC,KAAK,CAACC,EAAOC,GAAI,4xBAAyyB,KAEl0BD,EAAOH,QAAUA,C,kBCJjBA,EADkC,EAAQ,KAChCC,EAA4B,IAE9BC,KAAK,CAACC,EAAOC,GAAI,igBAAkgB,KAE3hBD,EAAOH,QAAUA,C,kBCJjBA,EADkC,EAAQ,KAChCC,EAA4B,IAE9BC,KAAK,CAACC,EAAOC,GAAI,sJAAuJ,KAEhLD,EAAOH,QAAUA,C,kBCJjBA,EADkC,EAAQ,KAChCC,EAA4B,IAE9BC,KAAK,CAACC,EAAOC,GAAI,4+BAAq/B,KAE9gCD,EAAOH,QAAUA,C,WCEjBG,EAAOH,QAAU,SAAUK,GACzB,IAAIC,EAAO,GAuDX,OArDAA,EAAKC,SAAW,WACd,OAAOC,KAAKC,KAAI,SAAUC,GACxB,IAAIC,EAsDV,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/lume/./src/components/core/lume-bar/lume-bar.vue?ac17","webpack://@adyen/lume/./src/components/core/lume-chart-container/lume-chart-container.vue?a322","webpack://@adyen/lume/./src/components/core/lume-chart-legend/lume-chart-legend.vue?45f0","webpack://@adyen/lume/./src/components/core/lume-chart/lume-chart.vue?8d07","webpack://@adyen/lume/./src/components/core/lume-line/lume-line.vue?2513","webpack://@adyen/lume/./src/components/core/lume-point/lume-point.vue?3734","webpack://@adyen/lume/./src/components/core/lume-tooltip/lume-tooltip.vue?d93c","webpack://@adyen/lume/./node_modules/css-loader/dist/runtime/api.js","webpack://@adyen/lume/./node_modules/d3-path/src/path.js","webpack://@adyen/lume/./node_modules/d3-shape/src/array.js","webpack://@adyen/lume/./node_modules/d3-shape/src/constant.js","webpack://@adyen/lume/./node_modules/d3-shape/src/curve/linear.js","webpack://@adyen/lume/./node_modules/d3-shape/src/line.js","webpack://@adyen/lume/./node_modules/d3-shape/src/point.js","webpack://@adyen/lume/./src/components/core/lume-axis/lume-axis.vue?25b6","webpack://@adyen/lume/./src/components/core/lume-axis/defaults.ts","webpack://@adyen/lume/./src/components/core/lume-axis/composables/index.ts","webpack://@adyen/lume/./src/components/core/lume-axis/composables/x-band-scale-axis.ts","webpack://@adyen/lume/./src/components/core/lume-axis/composables/y-band-scale-axis.ts","webpack://@adyen/lume/./src/components/core/lume-axis/composables/x-linear-scale-axis.ts","webpack://@adyen/lume/./src/components/core/lume-axis/composables/y-linear-scale-axis.ts","webpack://@adyen/lume/./src/components/core/lume-axis/lume-axis.vue?30c6","webpack://@adyen/lume/./src/components/core/lume-axis/composables/lume-skip.ts","webpack://@adyen/lume/./src/components/core/lume-axis/lume-axis.vue?888c","webpack://@adyen/lume/./src/components/core/lume-axis/lume-axis.vue","webpack://@adyen/lume/./src/components/core/lume-bar/lume-bar.vue?2a7d","webpack://@adyen/lume/./src/components/core/lume-bar/lume-bar.vue?e9c5","webpack://@adyen/lume/./src/components/core/lume-bar/lume-bar.vue?1004","webpack://@adyen/lume/./src/components/core/lume-bar/composables/bar-transition.ts","webpack://@adyen/lume/./src/components/core/lume-bar/composables/bar-sizing.ts","webpack://@adyen/lume/./src/components/core/lume-bar/lume-bar.vue","webpack://@adyen/lume/./src/components/core/lume-chart-container/lume-chart-container.vue?1d49","webpack://@adyen/lume/./src/components/core/lume-chart-container/lume-chart-container.vue?1ddd","webpack://@adyen/lume/./src/components/core/lume-chart-container/lume-chart-container.vue?d1bb","webpack://@adyen/lume/./src/composables/resize.ts","webpack://@adyen/lume/./src/components/core/lume-chart-container/lume-chart-container.vue","webpack://@adyen/lume/./src/components/core/lume-chart-legend/lume-chart-legend.vue?d5c4","webpack://@adyen/lume/./src/components/core/lume-chart-legend/lume-chart-legend.vue?fc9d","webpack://@adyen/lume/./src/components/core/lume-chart-legend/lume-chart-legend.vue","webpack://@adyen/lume/./src/components/core/lume-chart-legend/lume-chart-legend.vue?f14c","webpack://@adyen/lume/./src/components/core/lume-chart/lume-chart.vue?a293","webpack://@adyen/lume/./src/composables/tooltip.ts","webpack://@adyen/lume/./src/components/core/lume-chart/lume-chart.vue?68ee","webpack://@adyen/lume/./src/composables/negative-values.ts","webpack://@adyen/lume/./src/components/core/lume-chart/lume-chart.vue?260e","webpack://@adyen/lume/./src/components/core/lume-chart/lume-chart.vue","webpack://@adyen/lume/./src/components/core/lume-line/lume-line.vue?f04a","webpack://@adyen/lume/./src/styles/_variables.scss","webpack://@adyen/lume/./src/components/core/lume-line/lume-line.vue?0dd6","webpack://@adyen/lume/./src/components/core/lume-line/lume-line.vue?cc2e","webpack://@adyen/lume/./src/components/core/lume-line/lume-line.vue","webpack://@adyen/lume/./src/components/core/lume-point/lume-point.vue?0e4c","webpack://@adyen/lume/./src/components/core/lume-point/lume-point.vue?8f4f","webpack://@adyen/lume/./src/components/core/lume-point/lume-point.vue?3a0a","webpack://@adyen/lume/./src/components/core/lume-point/lume-point.vue","webpack://@adyen/lume/./src/components/core/lume-tooltip/lume-tooltip.vue?cae9","webpack://@adyen/lume/./src/components/core/lume-tooltip/lume-tooltip.vue?1de6","webpack://@adyen/lume/./src/components/core/lume-tooltip/lume-tooltip.vue?d254","webpack://@adyen/lume/./src/components/core/lume-tooltip/lume-tooltip.vue","webpack://@adyen/lume/./src/components/groups/composables/group-props.ts","webpack://@adyen/lume/./src/components/groups/lume-bar-group/composables/bar-mixin.ts","webpack://@adyen/lume/./src/components/groups/lume-bar-group/composables/stacked-mixin.ts","webpack://@adyen/lume/./src/components/groups/lume-bar-group/lume-bar-group.vue?11f6","webpack://@adyen/lume/./src/components/groups/lume-bar-group/lume-bar-group.vue?f120","webpack://@adyen/lume/./src/components/groups/lume-bar-group/composables/single-mixin.ts","webpack://@adyen/lume/./src/components/groups/lume-bar-group/constants.ts","webpack://@adyen/lume/./src/components/groups/lume-bar-group/composables/grouped-mixin.ts","webpack://@adyen/lume/./src/components/groups/lume-bar-group/lume-bar-group.vue?289d","webpack://@adyen/lume/./src/components/groups/lume-bar-group/lume-bar-group.vue","webpack://@adyen/lume/./src/components/groups/lume-overlay-group/lume-overlay-group.vue?7575","webpack://@adyen/lume/./src/components/groups/lume-overlay-group/lume-overlay-group.vue?bbdb","webpack://@adyen/lume/./src/components/groups/lume-overlay-group/lume-overlay-group.vue?2da6","webpack://@adyen/lume/./src/components/groups/lume-overlay-group/lume-overlay-group.vue","webpack://@adyen/lume/./src/utils/svg-check.ts","webpack://@adyen/lume/./src/components/core/lume-axis/lume-axis.vue?24e0","webpack://@adyen/lume/./src/components/core/lume-bar/lume-bar.vue?5274","webpack://@adyen/lume/./src/components/core/lume-chart-container/lume-chart-container.vue?38ef","webpack://@adyen/lume/./src/components/core/lume-chart-legend/lume-chart-legend.vue?c7f7","webpack://@adyen/lume/./src/components/core/lume-chart/lume-chart.vue?019e","webpack://@adyen/lume/./src/components/core/lume-line/lume-line.vue?3d4f","webpack://@adyen/lume/./src/components/core/lume-point/lume-point.vue?84bf","webpack://@adyen/lume/./src/components/core/lume-tooltip/lume-tooltip.vue?de19","webpack://@adyen/lume/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://@adyen/lume/./node_modules/vue-style-loader/lib/addStylesClient.js"],"sourcesContent":["// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-27bc96a3]:export{transitionTimeFull:1s}.axis[data-v-27bc96a3]{font-family:\\\"Inter\\\",sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",Roboto,Oxygen,Ubuntu,Cantarell,\\\"Open Sans\\\",\\\"Helvetica Neue\\\",sans-serif}.axis__ghost[data-v-27bc96a3]{fill:rgba(0,0,0,0)}.axis__grid-line[data-v-27bc96a3]{fill:none;stroke:#eef0f3;shape-rendering:crispEdges}.axis__label[data-v-27bc96a3]{fill:#9fa6b0;font-size:10px;cursor:default;transition:all .1s ease-in-out}.axis__tick[data-v-27bc96a3]{transition:opacity .1s ease-in-out}.axis__tick--hidden[data-v-27bc96a3]{opacity:0}.axis__tick--hovered[data-v-27bc96a3]{opacity:1}.axis__tick--hovered .axis__ghost[data-v-27bc96a3]{fill:#fff}.axis__tick--hovered .axis__label[data-v-27bc96a3]{fill:#6f7988}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-eb2447c2]:export{transitionTimeFull:1s}.lume-bar--faded[data-v-eb2447c2]{opacity:.5}.lume-bar--transition-width[data-v-eb2447c2]{transition:width .3s ease,opacity .3s ease;-moz-transition:width .3s ease}.lume-bar--transition-width.lume-bar--negative[data-v-eb2447c2]{transform:rotate(180deg)}.lume-bar--transition-height[data-v-eb2447c2]{transition:height .3s ease,opacity .3s ease;-moz-transition:height .3s ease}.lume-bar--transition-height[data-v-eb2447c2]:not(.lume-bar--negative){transform:rotate(180deg)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-7dd91490]:export{transitionTimeFull:1s}.lume-chart-container[data-v-7dd91490]{display:flex;flex-direction:column;width:100%;height:100%}.lume-chart-container--minimum[data-v-7dd91490]{min-width:320px;min-height:224px}.lume-chart-container__svg[data-v-7dd91490]{overflow:visible;background-color:#fff;width:100%;min-height:0;flex:1}.lume-chart-container__svg--transparent[data-v-7dd91490]{background-color:rgba(0,0,0,0)}.lume-chart-container__group[data-v-7dd91490]{transition-property:transform;transition-timing-function:ease-in-out;transition-duration:.3s}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-b4b7d4ae]:export{transitionTimeFull:1s}.lume-chart-legend[data-v-b4b7d4ae]{font-family:\\\"Inter\\\",sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",Roboto,Oxygen,Ubuntu,Cantarell,\\\"Open Sans\\\",\\\"Helvetica Neue\\\",sans-serif;display:flex;justify-items:end}.lume-chart-legend__item[data-v-b4b7d4ae]{display:flex;align-items:center;padding:.25rem .5rem;gap:.25rem;font-size:13px;cursor:default}.lume-chart-legend__circle[data-v-b4b7d4ae]{display:inline-block;width:.5rem;height:.5rem;border-radius:50%}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-5edcf046]:export{transitionTimeFull:1s}.lume-chart[data-v-5edcf046]{font-family:\\\"Inter\\\",sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",Roboto,Oxygen,Ubuntu,Cantarell,\\\"Open Sans\\\",\\\"Helvetica Neue\\\",sans-serif}.lume-chart__header[data-v-5edcf046]{display:grid;grid-template-rows:auto auto;grid-template-columns:auto auto;grid-template-areas:\\\"title controls\\\" \\\"axis-title legend\\\"}.lume-chart__title[data-v-5edcf046]{grid-area:title}.lume-chart__controls[data-v-5edcf046]{grid-area:controls}.lume-chart__axis-title[data-v-5edcf046]{grid-area:axis-title}.lume-chart__axis-title--centered[data-v-5edcf046]{text-align:center}.lume-chart__legend[data-v-5edcf046]{grid-area:legend;margin-left:auto}.lume-chart__legend--bottom[data-v-5edcf046]{margin-left:unset;margin-right:auto}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-63036a44]:export{transitionTimeFull:1s}.lume-line[data-v-63036a44]{stroke-width:2px;stroke-linejoin:round;stroke-linecap:round;fill:none;pointer-events:none}.lume-line--dashed[data-v-63036a44]{stroke-dasharray:2%}.lume-line--transition[data-v-63036a44]{transition:all .3s ease;clip-path:polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);animation:clipPathTransition-63036a44 ease-out forwards}@keyframes clipPathTransition-63036a44{99%{clip-path:polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)}100%{clip-path:unset}}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-061581d3]:export{transitionTimeFull:1s}.lume-point[data-v-061581d3]{fill:#fff;stroke-width:2px;transition:all .3s ease;pointer-events:none}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"[data-v-10dffbfc]:export{transitionTimeFull:1s}.lume-tooltip[data-v-10dffbfc]{font-family:\\\"Inter\\\",sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\\\"Segoe UI\\\",Roboto,Oxygen,Ubuntu,Cantarell,\\\"Open Sans\\\",\\\"Helvetica Neue\\\",sans-serif;position:absolute;max-width:288px;padding:10px;font-size:13px;color:#202f46;background:#fff;border:1px solid #eef0f3;border-radius:8px;box-shadow:0 8px 16px rgba(0,17,44,.1);z-index:500;pointer-events:none}.lume-tooltip--animated[data-v-10dffbfc]{transition:transform .3s ease-out}.lume-tooltip__title[data-v-10dffbfc]{margin-bottom:8px;font-weight:700}.lume-tooltip__items[data-v-10dffbfc]{list-style:none;margin:0;padding:0}.lume-tooltip__item[data-v-10dffbfc]{display:flex;min-width:112px;margin-bottom:4px}.lume-tooltip__symbol[data-v-10dffbfc]{margin-top:3px;margin-right:8px;width:10px;height:10px;flex-shrink:0}.lume-tooltip__symbol--line[data-v-10dffbfc]{border-radius:50%}.lume-tooltip__value[data-v-10dffbfc]{margin-left:auto;padding-left:8px;flex-shrink:0}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","const pi = Math.PI,\n tau = 2 * pi,\n epsilon = 1e-6,\n tauEpsilon = tau - epsilon;\n\nfunction Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\n\nfunction path() {\n return new Path;\n}\n\nPath.prototype = path.prototype = {\n constructor: Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1,\n y0 = this._y1,\n x21 = x2 - x1,\n y21 = y2 - y1,\n x01 = x0 - x1,\n y01 = y0 - y1,\n l01_2 = x01 * x01 + y01 * y01;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon));\n\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0,\n y20 = y2 - y0,\n l21_2 = x21 * x21 + y21 * y21,\n l20_2 = x20 * x20 + y20 * y20,\n l21 = Math.sqrt(l21_2),\n l01 = Math.sqrt(l01_2),\n l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n t01 = l / l01,\n t21 = l / l21;\n\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0),\n dy = r * Math.sin(a0),\n x0 = x + dx,\n y0 = y + dy,\n cw = 1 ^ ccw,\n da = ccw ? a0 - a1 : a1 - a0;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n\n // Is this arc empty? We’re done.\n if (!r) return;\n\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0) da = da % tau + tau;\n\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\n\nexport default path;\n","export var slice = Array.prototype.slice;\n\nexport default function(x) {\n return typeof x === \"object\" && \"length\" in x\n ? x // Array, TypedArray, NodeList, array-like\n : Array.from(x); // Map, Set, iterable, string, or anything else\n}\n","export default function(x) {\n return function constant() {\n return x;\n };\n}\n","function Linear(context) {\n this._context = context;\n}\n\nLinear.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; // proceed\n default: this._context.lineTo(x, y); break;\n }\n }\n};\n\nexport default function(context) {\n return new Linear(context);\n}\n","import {path} from \"d3-path\";\nimport array from \"./array.js\";\nimport constant from \"./constant.js\";\nimport curveLinear from \"./curve/linear.js\";\nimport {x as pointX, y as pointY} from \"./point.js\";\n\nexport default function(x, y) {\n var defined = constant(true),\n context = null,\n curve = curveLinear,\n output = null;\n\n x = typeof x === \"function\" ? x : (x === undefined) ? pointX : constant(x);\n y = typeof y === \"function\" ? y : (y === undefined) ? pointY : constant(y);\n\n function line(data) {\n var i,\n n = (data = array(data)).length,\n d,\n defined0 = false,\n buffer;\n\n if (context == null) output = curve(buffer = path());\n\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) output.lineStart();\n else output.lineEnd();\n }\n if (defined0) output.point(+x(d, i, data), +y(d, i, data));\n }\n\n if (buffer) return output = null, buffer + \"\" || null;\n }\n\n line.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), line) : x;\n };\n\n line.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), line) : y;\n };\n\n line.defined = function(_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), line) : defined;\n };\n\n line.curve = function(_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;\n };\n\n line.context = function(_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;\n };\n\n return line;\n}\n","export function x(p) {\n return p[0];\n}\n\nexport function y(p) {\n return p[1];\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.scale && !_vm.isLoading)?_c('g',{ref:\"root\",staticClass:\"axis\",attrs:{\"transform\":_vm.axisTransform,\"data-j-axis\":\"\"}},_vm._l((_vm.ticks),function(tick,index){return _c('g',_vm._b({key:tick,staticClass:\"axis__tick\",class:{\n 'axis__tick--hovered': _vm.allOptions.withHover && _vm.hoveredIndex === index,\n 'axis__tick--hidden': _vm.allOptions.skip && !_vm.showTick(index),\n },attrs:{\"data-j-axis__tick\":\"\"}},'g',_vm.mixins.getTickGroupAttributes(tick),false),[_c('g',{staticClass:\"axis__tick-label\",attrs:{\"pointer-events\":\"all\",\"data-j-axis__tick-label\":\"\"},on:{\"mouseover\":function($event){return _vm.onTickMouseover(index)}}},[_c('rect',_vm._b({staticClass:\"axis__ghost\"},'rect',_vm.mixins.getTickGhostAttributes(),false)),_vm._v(\" \"),_c('text',_vm._b({ref:\"tickRefs\",refInFor:true,staticClass:\"axis__label\"},'text',_vm.mixins.getTickLabelAttributes(),false),[_vm._v(\"\\n \"+_vm._s(_vm.formatTick(tick))+\"\\n \")])]),_vm._v(\" \"),(_vm.allOptions.gridLines)?_c('line',_vm._b({staticClass:\"axis__grid-line\"},'line',_vm.mixins.getGridLinesAttributes(),false)):_vm._e()])}),0):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { AxisOptions } from '@/composables/options';\n\nconst options: AxisOptions = {\n /** Displays a line for each tick. */\n gridLines: false,\n /** Displays the axis title. */\n withTitle: true,\n //\n //// Tick settings\n //\n /** Controls if the tick labels should be displayed. */\n showTicks: true,\n /** Amount of ticks to display in the axis. */\n tickCount: 10,\n /** Formatting string/function for the tick label. */\n tickFormat: null,\n /** Space between the tick label and the axis line. */\n tickPadding: 8,\n};\n\nexport const xOptions: AxisOptions = {\n ...options,\n withTitle: false,\n skip: true,\n};\n\nexport const yOptions: AxisOptions = {\n ...options,\n gridLines: true,\n};\n","import XBandScaleAxis from '@/components/core/lume-axis/composables/x-band-scale-axis';\nimport YBandScaleAxis from '@/components/core/lume-axis/composables/y-band-scale-axis';\nimport XLinearScaleAxis from '@/components/core/lume-axis/composables/x-linear-scale-axis';\nimport YLinearScaleAxis from '@/components/core/lume-axis/composables/y-linear-scale-axis';\n\nexport default {\n 'x-band-scale-axis': XBandScaleAxis,\n 'y-band-scale-axis': YBandScaleAxis,\n 'x-linear-scale-axis': XLinearScaleAxis,\n 'y-linear-scale-axis': YLinearScaleAxis,\n};\n","import { computed, Ref } from 'vue';\nimport { ScaleBand } from 'd3-scale';\n\nimport { AxisOptions } from '@/composables/options';\nimport { AxisMixin } from '../types';\n\nconst useBandScaleAxis: AxisMixin = function (\n scale: Ref<ScaleBand<number | string>>,\n containerSize: Ref<{ width: number; height: number }>,\n options: Ref<AxisOptions>\n) {\n const paddingCorrection = computed(() => {\n return (scale.value.step() * scale.value.paddingInner()) / 2;\n });\n\n function getTickGroupAttributes(value: number | string) {\n return {\n transform: `translate(${\n scale.value(value) - paddingCorrection.value\n }, 0)`,\n };\n }\n\n function getTickGhostAttributes() {\n return {\n width: scale.value.step(),\n height: options.value.tickPadding + 12 + 8, // Padding plus text height plus 8 bottom padding\n };\n }\n\n function getGridLinesAttributes() {\n return {\n x1: scale.value.step() / 2,\n x2: scale.value.step() / 2,\n y1: -containerSize.value.height, // Negative height means it goes from bottom to top\n };\n }\n\n function getTickLabelAttributes() {\n return {\n x: scale.value.step() / 2,\n y: options.value.tickPadding,\n dy: '0.8em',\n 'text-anchor': 'middle',\n };\n }\n\n return {\n getGridLinesAttributes,\n getTickGhostAttributes,\n getTickGroupAttributes,\n getTickLabelAttributes,\n };\n};\n\nexport default useBandScaleAxis;\n","import { computed, Ref } from 'vue';\nimport { ScaleBand } from 'd3-scale';\n\nimport { AxisOptions } from '@/composables/options';\nimport { AxisMixin } from '../types';\n\nconst useBandScaleAxis: AxisMixin = function (\n scale: Ref<ScaleBand<number | string>>,\n containerSize: Ref<{ width: number; height: number }>,\n options: Ref<AxisOptions>\n) {\n const paddingCorrection = computed(() => {\n return (scale.value.step() * scale.value.paddingInner()) / 2;\n });\n\n function getTickGroupAttributes(value: number | string) {\n return {\n transform: `translate(0, ${\n scale.value(value) - paddingCorrection.value\n })`,\n };\n }\n\n function getTickGhostAttributes() {\n return {\n x: -43,\n width: 42, // hardcoded for now\n height: scale.value.step(),\n };\n }\n\n function getGridLinesAttributes() {\n return {\n y1: scale.value.step() / 2,\n y2: scale.value.step() / 2,\n x1: containerSize.value.width,\n };\n }\n\n function getTickLabelAttributes() {\n return {\n x: -options.value.tickPadding,\n y: scale.value.step() / 2,\n 'text-anchor': 'end',\n 'alignment-baseline': 'middle',\n };\n }\n\n return {\n getGridLinesAttributes,\n getTickGhostAttributes,\n getTickGroupAttributes,\n getTickLabelAttributes,\n };\n};\n\nexport default useBandScaleAxis;\n","import { Ref } from 'vue';\nimport { ScaleLinear } from 'd3-scale';\n\nimport { AxisOptions } from '@/composables/options';\nimport { AxisMixin } from '../types';\n\nconst useLinearScaleAxis: AxisMixin = function (\n scale: Ref<ScaleLinear<number, number>>,\n containerSize: Ref<{ width: number; height: number }>,\n options: Ref<AxisOptions>\n) {\n function getTickGroupAttributes(value: number) {\n return {\n transform: `translate(${scale.value(value)}, 0)`,\n };\n }\n\n function getTickGhostAttributes() {\n return {};\n }\n\n function getGridLinesAttributes() {\n return {\n y1: -containerSize.value.height,\n };\n }\n\n function getTickLabelAttributes() {\n return {\n y: options.value.tickPadding,\n dy: '0.8em',\n 'text-anchor': 'middle',\n };\n }\n\n return {\n getGridLinesAttributes,\n getTickGhostAttributes,\n getTickGroupAttributes,\n getTickLabelAttributes,\n };\n};\n\nexport default useLinearScaleAxis;\n","import { Ref } from 'vue';\nimport { ScaleLinear } from 'd3-scale';\n\nimport { AxisOptions } from '@/composables/options';\nimport { AxisMixin } from '../types';\n\nconst useLinearScaleAxis: AxisMixin = function (\n scale: Ref<ScaleLinear<number, number>>,\n containerSize: Ref<{ width: number; height: number }>,\n options: Ref<AxisOptions>\n) {\n function getTickGroupAttributes(value: number) {\n return {\n transform: `translate(0, ${scale.value(value)})`,\n };\n }\n\n function getTickGhostAttributes() {\n return {};\n }\n\n function getGridLinesAttributes() {\n return {\n x1: containerSize.value.width,\n };\n }\n\n function getTickLabelAttributes() {\n return {\n x: -options.value.tickPadding,\n dy: '0.4em',\n 'text-anchor': 'end',\n };\n }\n\n return {\n getGridLinesAttributes,\n getTickGhostAttributes,\n getTickGroupAttributes,\n getTickLabelAttributes,\n };\n};\n\nexport default useLinearScaleAxis;\n","\nimport Vue, {\n computed,\n defineComponent,\n onBeforeMount,\n onMounted,\n PropType,\n reactive,\n ref,\n toRefs,\n watch,\n} from 'vue';\nimport { format } from 'd3-format';\nimport { ticks as d3TickGenerator } from 'd3-array';\nimport { ScaleBand } from 'd3-scale';\n\nimport { AxisOptions, useOptions, withOptions } from '@/composables/options';\nimport { Scale } from '@/composables/scales';\nimport { useSkip } from './composables/lume-skip';\n\nimport { svgCheck } from '@/utils/svg-check';\nimport { ContainerSize } from '@/types/size';\nimport { xOptions, yOptions } from './defaults';\nimport { AxisMixin, AxisMixinFunction } from './types';\n\nimport mixinTypes from './composables/';\n\nconst SCALE_MIXIN_MAP = {\n bandScale: 'band-scale-axis',\n linearScale: 'linear-scale-axis',\n};\n\nconst POSITIONS = ['bottom', 'left'];\n\nconst TYPES = {\n x: 'bottom',\n y: 'left',\n};\n\nexport default defineComponent({\n props: {\n scale: {\n type: Function as PropType<Scale>,\n required: true,\n },\n type: {\n type: String,\n default: undefined,\n validator: (value: string) => value in TYPES,\n },\n position: {\n type: String,\n default: undefined,\n validator: (value: string) => POSITIONS.includes(value),\n },\n containerSize: {\n type: Object as PropType<ContainerSize>,\n default: () => ({ width: 0, height: 0 }),\n },\n hoveredIndex: {\n type: Number,\n default: -1,\n },\n ...withOptions<AxisOptions>(),\n },\n setup(props, ctx) {\n const { scale, containerSize, options } = toRefs(props); // Needs to be cast as any to avoid it being cast to never by default\n\n const mixins = reactive<Record<string, AxisMixinFunction>>({});\n const tickRefs = ref<Array<SVGTextElement>>(null);\n const isLoading = ref<boolean>(false);\n const root = ref<SVGGElement>(null);\n\n const computedPosition = computed(() =>\n props.type ? TYPES[props.type] : props.position\n );\n\n const computedType = computed(\n () => props.type || (computedPosition.value === 'left' ? 'y' : 'x')\n );\n\n const { allOptions } = useOptions<AxisOptions>(\n options,\n computedType.value === 'x' ? xOptions : yOptions\n );\n\n const { showTick } = useSkip(scale, tickRefs, allOptions.value.skip);\n\n const axisTransform = computed(() => {\n if (computedType.value === 'x') {\n return `translate(0, ${containerSize.value?.height})`;\n }\n return `translate(0, 0)`;\n });\n\n const ticks = computed(() => {\n // For band scales, return the full labels array (domain)\n if ((scale.value as ScaleBand<string | number>).step) {\n return scale.value.domain();\n }\n\n const { tickCount } = allOptions.value;\n\n return d3TickGenerator(...scale.value.domain(), tickCount);\n });\n\n const tickFormatter = computed(() => {\n const { tickFormat } = allOptions.value;\n\n if (typeof tickFormat === 'string') {\n const formatter = format(tickFormat);\n return formatter;\n }\n\n if (typeof tickFormat === 'function') {\n return tickFormat;\n }\n\n return null;\n });\n\n function formatTick(tick: number | string) {\n const { showTicks } = allOptions.value;\n\n // Hides ticks without hiding `gridLines`\n if (showTicks === false) return '';\n\n return tickFormatter.value ? tickFormatter.value(tick as number) : tick;\n }\n\n function onTickMouseover(index: number) {\n ctx.emit('tick-mouseover', index);\n }\n\n async function init() {\n isLoading.value = true;\n const scaleType = (scale.value as ScaleBand<string | number>).step\n ? 'bandScale'\n : 'linearScale';\n\n // Get mixin generator based on the scale type\n const mixin: AxisMixin =\n mixinTypes[`${computedType.value}-${SCALE_MIXIN_MAP[scaleType]}`];\n\n // Push all mixin functions into the `mixins` reactive object\n Object.entries(mixin(scale, containerSize, allOptions) || []).forEach(\n ([fnName, fn]) => {\n Vue.set(mixins, fnName, fn);\n }\n );\n\n isLoading.value = false;\n }\n\n onBeforeMount(async () => {\n await init();\n\n // Setup watcher to get new mixins if scale changes (i.e. vertical to horizontal)\n watch(scale, init, { flush: 'sync' });\n });\n\n onMounted(() => svgCheck(root.value));\n\n return {\n allOptions,\n axisTransform,\n computedPosition,\n computedType,\n formatTick,\n isLoading,\n mixins,\n onTickMouseover,\n root,\n showTick,\n tickRefs,\n ticks,\n };\n },\n});\n","import { computed, ref, Ref, watch } from 'vue';\n\nimport { Scale } from '@/composables/scales';\n\nconst SAFETY_MARGIN = 0.15; // 15% of the average width\n\n/**\n * Composable for axis label skipping logic.\n *\n * @param scale A d3 scale.\n * @param tickRefs Template reference to the tick text elements\n * @param skipNumber Optional amount of ticks to skip\n */\nexport function useSkip(\n scale: Ref<Scale>,\n tickRefs: Ref<Array<SVGTextElement>>,\n skipNumber?: true | number\n) {\n const avgLabelWidth = ref<number>();\n\n const scaleWidth = computed(() => Math.max(...scale.value.range()));\n const tickCount = computed(() => tickRefs.value.length);\n\n function setAvgLabelWidth() {\n if (!tickRefs.value) return;\n const labelWidthSum = tickRefs.value.reduce(\n (sum, label) => sum + label.getBoundingClientRect().width,\n 0\n );\n const averageValue = Math.ceil(labelWidthSum / tickCount.value);\n\n // Add safety margin to make sure the bigger labels don't overlap\n avgLabelWidth.value = averageValue + averageValue * SAFETY_MARGIN;\n }\n\n function showTick(index: number) {\n if (!tickRefs.value) return true;\n\n const tickCount = tickRefs.value.length;\n\n if (index === 0) return true;\n\n const step = scaleWidth.value / tickCount;\n const skip =\n (typeof skipNumber === 'number' && skipNumber > 0 && skipNumber + 1) ||\n Math.ceil(avgLabelWidth.value / step);\n\n return index % skip === 0;\n }\n\n watch(tickRefs, setAvgLabelWidth);\n\n return { showTick };\n}\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-axis.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-axis.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./lume-axis.vue?vue&type=template&id=27bc96a3&scoped=true&\"\nimport script from \"./lume-axis.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-axis.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./lume-axis.vue?vue&type=style&index=0&id=27bc96a3&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"27bc96a3\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('rect',{ref:\"root\",staticClass:\"lume-bar\",class:[\n ..._vm.computedClasses,\n {\n 'lume-fill--faded': _vm.isFaded,\n 'lume-bar--negative': _vm.isNegative,\n 'lume-bar--transition-width': _vm.shouldTransitionWidth,\n 'lume-bar--transition-height': _vm.shouldTransitionHeight,\n },\n ],style:({ transformOrigin: _vm.transformOrigin }),attrs:{\"x\":_vm.computedX,\"y\":_vm.computedY,\"width\":_vm.computedWidth,\"height\":_vm.computedHeight,\"data-j-bar\":\"\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport {\n computed,\n defineComponent,\n onMounted,\n PropType,\n ref,\n toRefs,\n} from 'vue';\n\nimport { useBarSizing } from './composables/bar-sizing';\nimport { useBarTransition } from './composables/bar-transition';\n\nimport { svgCheck } from '@/utils/svg-check';\n\ntype BarTransitionProperty = 'width' | 'height';\n\nexport default defineComponent({\n props: {\n x: {\n type: Number,\n default: 0,\n },\n y: {\n type: Number,\n default: 0,\n },\n width: {\n type: Number,\n required: true,\n },\n height: {\n type: Number,\n required: true,\n },\n classList: {\n type: [String, Array] as PropType<string | Array<string>>,\n default: '',\n },\n isFaded: {\n type: Boolean,\n default: false,\n },\n isNegative: {\n type: Boolean,\n default: false,\n },\n transition: {\n type: [String, Boolean] as PropType<BarTransitionProperty | false>,\n default: false,\n },\n },\n setup(props) {\n const { x, y, width, height, transition, classList } = toRefs(props);\n const root = ref<SVGRectElement>(null);\n\n const computedClasses = computed(() => {\n if (typeof classList.value === 'string') return [classList.value];\n return classList.value;\n });\n\n const shouldTransitionWidth = computed(() => transition.value === 'width');\n const shouldTransitionHeight = computed(\n () => transition.value === 'height'\n );\n\n const transitionProps = useBarTransition(x, y, width, height);\n\n const { computedX, computedY, shouldHaveMinWidth, shouldHaveMinHeight } =\n useBarSizing(x, y, width, height);\n\n const computedWidth = computed(() => {\n if (shouldHaveMinWidth.value) return 1;\n\n return (\n shouldTransitionWidth.value ? transitionProps.computedWidth : width\n ).value;\n });\n\n const computedHeight = computed(() => {\n if (shouldHaveMinHeight.value) return 1;\n\n return (\n shouldTransitionHeight.value ? transitionProps.computedHeight : height\n ).value;\n });\n\n const transformOrigin =\n shouldTransitionWidth.value || shouldTransitionHeight.value\n ? transitionProps.transformOrigin\n : null;\n\n onMounted(() => svgCheck(root.value));\n\n return {\n computedClasses,\n computedWidth,\n computedHeight,\n computedX,\n computedY,\n root,\n shouldTransitionWidth,\n shouldTransitionHeight,\n transformOrigin,\n };\n },\n});\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-bar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-bar.vue?vue&type=script&lang=ts&\"","import { computed, onMounted, ref, Ref, watch } from 'vue';\n\nexport function useBarTransition(\n x: Ref<number>,\n y: Ref<number>,\n width: Ref<number>,\n height: Ref<number>\n) {\n // Have width/height start at 0\n const computedWidth = ref(0);\n const computedHeight = ref(0);\n\n const transformOrigin = computed(() => {\n // Calculates the middle point of a bar so that it can be rotated 180 deg\n return `${x.value + width.value / 2}px ${y.value + height.value / 2}px`;\n });\n\n onMounted(() => {\n // Set computed width/height to their supposed value\n computedWidth.value = width.value;\n computedHeight.value = height.value;\n });\n\n // Handles width/height changes after the initial render\n watch(width, (value) => (computedWidth.value = value));\n watch(height, (value) => (computedHeight.value = value));\n\n return { computedWidth, computedHeight, transformOrigin };\n}\n","import { computed, Ref } from 'vue';\n\n/**\n * Provides bar sizing logic to account for certain edge cases, like:\n * - When a data point is very small compared to others, but not 0, the bar\n * should display with a minimum of a 1px height/width\n *\n * @param x Bar x position.\n * @param y Bar y position.\n * @param width Bar width value.\n * @param height Bar height value.\n * @returns An object with computed positions (x, y), and indicators of\n * if width/height should have a 1px minimum.\n */\nexport function useBarSizing(\n x: Ref<number>,\n y: Ref<number>,\n width: Ref<number>,\n height: Ref<number>\n) {\n const shouldHaveMinWidth = computed(() => width.value > 0 && width.value < 1);\n const shouldHaveMinHeight = computed(\n () => height.value > 0 && height.value < 1\n );\n\n const computedX = computed(\n () => (shouldHaveMinWidth.value ? x.value - 0.5 : x.value) // draws the 1px bar closer to the axis\n );\n\n const computedY = computed(\n () => (shouldHaveMinHeight.value ? y.value - 0.5 : y.value) // draws the 1px bar closer to the axis\n );\n\n return { computedX, computedY, shouldHaveMinWidth, shouldHaveMinHeight };\n}\n","import { render, staticRenderFns } from \"./lume-bar.vue?vue&type=template&id=eb2447c2&scoped=true&\"\nimport script from \"./lume-bar.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-bar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./lume-bar.vue?vue&type=style&index=0&id=eb2447c2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eb2447c2\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{ref:\"resizeRef\",staticClass:\"lume-chart-container\",class:{\n 'lume-chart-container--minimum': !_vm.noMinSize,\n },attrs:{\"data-j-chart-container\":\"\"}},[_vm._t(\"header\"),_vm._v(\" \"),_c('svg',{ref:\"root\",staticClass:\"lume-chart-container__svg\",class:{\n 'lume-chart-container__svg--transparent': _vm.transparentBackground,\n },attrs:{\"height\":_vm.svgHeight,\"data-j-chart-container__root\":\"\"},on:{\"mouseleave\":function($event){return _vm.$emit('mouseleave', $event)}}},[_c('g',{staticClass:\"lume-chart-container__group\",attrs:{\"transform\":`translate(${_vm.computedMargins.left}, ${_vm.computedMargins.top})`,\"data-j-chart-container__group\":\"\"}},[_vm._t(\"default\")],2)]),_vm._v(\" \"),_vm._t(\"footer\"),_vm._v(\" \"),_vm._t(\"extra\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport {\n computed,\n ComputedRef,\n defineComponent,\n PropType,\n ref,\n toRefs,\n watchEffect,\n} from 'vue';\n\nimport { useResizeObserver } from '@/composables/resize';\nimport { Margins } from '@/constants';\nimport { ContainerSize } from '@/types/size';\n\nconst BASE_MARGINS = {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n};\n\nexport default defineComponent({\n props: {\n margins: {\n type: Object as PropType<Margins>,\n default: () => ({}),\n },\n containerSize: {\n type: Object as PropType<ContainerSize>,\n default: () => ({ width: 0, height: 0 }),\n },\n transparentBackground: {\n type: Boolean,\n default: false,\n },\n noMinSize: {\n type: Boolean,\n default: false,\n },\n },\n setup(props, ctx) {\n const { margins, containerSize } = toRefs(props);\n\n const root = ref<SVGElement>(null);\n const { resizeRef, resizeState } = useResizeObserver();\n\n const computedMargins: ComputedRef<Margins> = computed(() => ({\n ...BASE_MARGINS, // Default values\n ...margins.value, // Prop overrides\n }));\n\n // Required for horizontal charts\n const svgHeight = computed(\n () =>\n containerSize.value.height +\n computedMargins.value.top +\n computedMargins.value.bottom\n );\n\n watchEffect(() => {\n if (!root.value) return;\n\n const { width } = resizeState.dimensions;\n const { height } = root.value.getBoundingClientRect();\n\n if (!width || !height) return;\n\n const contentWidth =\n width - computedMargins.value.left - computedMargins.value.right;\n const contentHeight =\n height - computedMargins.value.top - computedMargins.value.bottom;\n\n const _containerSize = {\n width: contentWidth > 0 ? contentWidth : 0,\n height: contentHeight > 0 ? contentHeight : 0,\n outerWidth: width,\n outerHeight: height,\n };\n\n ctx.emit('resize', _containerSize);\n });\n\n return { computedMargins, resizeRef, root, svgHeight };\n },\n});\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart-container.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart-container.vue?vue&type=script&lang=ts&\"","import { onBeforeUnmount, onMounted, reactive, ref } from 'vue';\n\n// Either the result of `getBoundingClientRect` or an empty object (initial state)\ntype Dimensions = DOMRect | Record<string, never>;\n\nexport function useResizeObserver() {\n // create a new ref,\n // which needs to be attached to an element in a template\n const resizeRef = ref<Element>();\n const resizeState = reactive<{ dimensions: Dimensions }>({\n dimensions: {},\n });\n\n const observer = new ResizeObserver((entries) => {\n // called initially and on resize\n entries.forEach((entry) => {\n resizeState.dimensions = entry.contentRect;\n });\n });\n\n onMounted(() => {\n observer.observe(resizeRef.value);\n });\n\n onBeforeUnmount(() => {\n observer.unobserve(resizeRef.value);\n });\n\n // return to make them available to whoever consumes this hook\n return { resizeState, resizeRef };\n}\n","import { render, staticRenderFns } from \"./lume-chart-container.vue?vue&type=template&id=7dd91490&scoped=true&\"\nimport script from \"./lume-chart-container.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-chart-container.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./lume-chart-container.vue?vue&type=style&index=0&id=7dd91490&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7dd91490\",\n null\n \n)\n\nexport default component.exports","\nimport { defineComponent, PropType } from 'vue';\nimport { Data, DatasetValueObject } from '@/types/dataset';\n\nexport default defineComponent({\n props: {\n data: {\n type: Array as PropType<Data<DatasetValueObject>>,\n validator: (datasets: Data) =>\n !!datasets && datasets.every((dataset) => 'color' in dataset),\n required: true,\n },\n },\n});\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart-legend.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart-legend.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./lume-chart-legend.vue?vue&type=template&id=b4b7d4ae&scoped=true&\"\nimport script from \"./lume-chart-legend.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-chart-legend.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./lume-chart-legend.vue?vue&type=style&index=0&id=b4b7d4ae&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b4b7d4ae\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"lume-chart-legend\",attrs:{\"data-j-chart-legend\":\"\"}},_vm._l((_vm.data),function(dataset,index){return _c('div',{key:`legend-item-${index}`,staticClass:\"lume-chart-legend__item\",attrs:{\"tabindex\":\"0\"}},[_c('span',{staticClass:\"lume-chart-legend__circle\",class:`lume-background-color--${dataset.color}`,attrs:{\"data-j-chart-legend__circle\":\"\"}}),_vm._v(\"\\n \"+_vm._s(dataset.label)+\"\\n \")])}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('lume-chart-container',{attrs:{\"margins\":_vm.allOptions.margins,\"container-size\":_vm.containerSize,\"no-min-size\":_vm.allOptions.noMinSize,\"data-j-lume-chart\":\"\"},on:{\"resize\":_vm.updateSize,\"mouseleave\":_vm.handleMouseleave},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('div',{staticClass:\"lume-chart__header\"},[(_vm.title)?_c('h1',{staticClass:\"lume-chart__title lume-chart-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"lume-chart__controls\"},[_vm._t(\"controls\")],2),_vm._v(\" \"),(_vm.showYAxisTitle)?_c('h3',{staticClass:\"lume-chart__axis-title lume-axis-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.yAxisTitle)+\"\\n \")]):_vm._e(),_vm._v(\" \"),(\n _vm.allOptions.withLegend !== false &&\n _vm.allOptions.legendPosition !== 'bottom'\n )?_c('lume-chart-legend',{staticClass:\"lume-chart__legend\",attrs:{\"data\":_vm.internalData}}):_vm._e()],1)]},proxy:true},{key:\"footer\",fn:function(){return [(_vm.showXAxisTitle)?_c('h3',{staticClass:\"lume-chart__axis-title lume-chart__axis-title--centered lume-axis-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.xAxisTitle)+\"\\n \")]):_vm._e(),_vm._v(\" \"),(\n _vm.allOptions.withLegend !== false &&\n _vm.allOptions.legendPosition === 'bottom'\n )?_c('lume-chart-legend',{staticClass:\"lume-chart__legend lume-chart__legend--bottom\",attrs:{\"data\":_vm.internalData}}):_vm._e()]},proxy:true},{key:\"extra\",fn:function(){return [_vm._t(\"tooltip\",function(){return [(_vm.allOptions.withTooltip !== false && _vm.tooltipConfig.opened)?_c('lume-tooltip',_vm._b({attrs:{\"position\":_vm.tooltipPosition,\"title\":_vm.computedLabels[_vm.hoveredIndex],\"items\":_vm.getTooltipItems(_vm.hoveredIndex),\"options\":_vm.allOptions.tooltipOptions,\"data-j-lume-chart__tooltip\":\"\"}},'lume-tooltip',_vm.tooltipConfig,false),[_vm._t(\"tooltip-content\",null,{\"data\":_vm.internalData,\"labels\":_vm.computedLabels,\"hoveredIndex\":_vm.hoveredIndex})],2):_vm._e()]},{\"data\":_vm.internalData,\"labels\":_vm.computedLabels,\"withTooltip\":_vm.allOptions.withTooltip !== false,\"hoveredIndex\":_vm.hoveredIndex,\"options\":_vm.allOptions.tooltipOptions},_vm.tooltipConfig)]},proxy:true}],null,true)},[_vm._v(\" \"),(_vm.isReady)?[(_vm.hasNegativeValues)?_c('lume-bar',_vm._b({attrs:{\"class-list\":\"lume-fill--negative\",\"transition\":false,\"data-j-lume-chart__negative-values\":\"\"}},'lume-bar',_vm.negativeBarAttributes,false)):_vm._e(),_vm._v(\" \"),(_vm.allOptions.showAxes !== false)?_vm._t(\"axes\",function(){return [_c('lume-axis',{attrs:{\"type\":\"x\",\"scale\":_vm.computedXScale,\"container-size\":_vm.containerSize,\"options\":_vm.computedXAxisOptions,\"hovered-index\":_vm.hoveredIndex,\"data-j-lume-chart__x-axis\":\"\"},on:{\"tick-mouseover\":function($event){return _vm.handleTickMouseover('x', $event)}}}),_vm._v(\" \"),_c('lume-axis',{attrs:{\"type\":\"y\",\"scale\":_vm.computedYScale,\"container-size\":_vm.containerSize,\"options\":_vm.computedYAxisOptions,\"hovered-index\":_vm.hoveredIndex,\"data-j-lume-chart__y-axis\":\"\"},on:{\"tick-mouseover\":function($event){return _vm.handleTickMouseover('y', $event)}}})]},{\"xScale\":_vm.computedXScale,\"yScale\":_vm.computedYScale,\"containerSize\":_vm.containerSize,\"options\":_vm.allOptions,\"hoveredIndex\":_vm.hoveredIndex}):_vm._e(),_vm._v(\" \"),_vm._t(\"groups\",null,{\"data\":_vm.internalData,\"labels\":_vm.computedLabels,\"orientation\":_vm.orientation,\"xScale\":_vm.computedXScale,\"yScale\":_vm.computedYScale,\"hoveredIndex\":_vm.hoveredIndex,\"containerSize\":_vm.containerSize,\"transition\":_vm.allOptions.withTransition !== false}),_vm._v(\" \"),(_vm.allOptions.withHover !== false)?_c('lume-overlay-group',{attrs:{\"data\":_vm.internalData,\"orientation\":_vm.orientation,\"x-scale\":_vm.computedXScale,\"y-scale\":_vm.computedYScale,\"data-j-lume-chart__overlay-group\":\"\"},on:{\"mouseover\":_vm.mouseOverHandler}}):_vm._e(),_vm._v(\" \"),(_vm.allOptions.withTooltip !== false)?_c('g',_vm._l((_vm.getEmptyArrayFromData(_vm.internalData)),function(_,index){return _c('circle',_vm._b({key:`anchor-${index}`,ref:\"tooltipAnchor\",refInFor:true,staticClass:\"lume-fill--transparent\",attrs:{\"r\":_vm.tooltipAnchorRadius}},'circle',_vm.getTooltipAnchorAttributes(index),false))}),0):_vm._e()]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue, { computed, reactive, Ref } from 'vue';\n\nimport { getXByIndex, Scale } from './scales';\n\nimport { NO_DATA, Orientation, ORIENTATIONS } from '@/constants';\nimport { getHighestValue } from '@/utils/helpers';\nimport { Data, DatasetValueObject, InternalData } from '@/types/dataset';\n\nexport interface TooltipConfig {\n opened: boolean;\n targetElement: Element | null;\n}\n\nfunction getStackedHighestValue(\n data: Data<DatasetValueObject>,\n index: number\n): number {\n return data.reduce((sum, curr) => {\n const val = curr.values[index]?.value;\n if (val > 0) sum += val;\n return sum;\n }, 0);\n}\n\nconst ANCHOR_CALCULATION_METHOD_MAP = {\n 'stacked-bar': getStackedHighestValue,\n};\n\nexport function useTooltipAnchors(\n data: Ref<InternalData>,\n xScale: Ref<Scale>,\n yScale: Ref<Scale>,\n orientation: Ref<Orientation>,\n chartType?: Ref<string>\n) {\n // TODO: Needs to account for bar chart, negative values should default to 0.\n const getTooltipAnchorAttributes = computed(() => (index: number) => {\n let highestValue =\n chartType.value && ANCHOR_CALCULATION_METHOD_MAP[chartType.value]\n ? ANCHOR_CALCULATION_METHOD_MAP[chartType.value](data.value, index)\n : getHighestValue(data.value, index);\n\n // Negative bar anchor point should always be at 0 level\n if (chartType?.value?.includes('bar') && highestValue < 0) {\n highestValue = 0;\n }\n\n const cx =\n orientation.value === ORIENTATIONS.HORIZONTAL\n ? xScale.value(highestValue)\n : getXByIndex(xScale.value, index);\n\n const cy =\n orientation.value === ORIENTATIONS.HORIZONTAL\n ? getXByIndex(yScale.value, index)\n : yScale.value(highestValue);\n\n return {\n cx,\n cy,\n };\n });\n\n function getTooltipItems(index: number) {\n return data.value.map(({ color, label, values, type }) => ({\n type: type || 'line',\n color,\n label,\n value: values[index]?.label ?? values[index]?.value ?? NO_DATA,\n }));\n }\n\n return { getTooltipAnchorAttributes, getTooltipItems };\n}\n\nexport function useTooltip() {\n const tooltipConfig = reactive<TooltipConfig>({\n opened: false,\n targetElement: null,\n });\n\n const showTooltip = (targetElement: Element | null) => {\n Vue.set(tooltipConfig, 'opened', true);\n Vue.set(tooltipConfig, 'targetElement', targetElement);\n };\n\n const hideTooltip = () => {\n Vue.set(tooltipConfig, 'opened', false);\n Vue.set(tooltipConfig, 'targetElement', null);\n };\n\n return { tooltipConfig, showTooltip, hideTooltip };\n}\n","\nimport { computed, defineComponent, onMounted, ref, toRefs } from 'vue';\n\nimport {\n LumeAxis,\n LumeBar,\n LumeChartContainer,\n LumeChartLegend,\n LumeTooltip,\n} from '@/components/core';\nimport LumeOverlayGroup from '@/components/groups/lume-overlay-group';\n\nimport { useBase } from '@/composables/base';\nimport { withChartProps } from '@/composables/props';\nimport { isScale, Scale, useBaseScales } from '@/composables/scales';\nimport { ChartOptions, useOptions } from '@/composables/options';\nimport {\n checkNegativeValues,\n useNegativeValues,\n} from '@/composables/negative-values';\nimport { useTooltip, useTooltipAnchors } from '@/composables/tooltip';\n\nimport { getEmptyArrayFromData } from '@/utils/helpers';\nimport { ORIENTATIONS, TOOLTIP_ANCHOR_RADIUS } from '@/constants';\n\nexport default defineComponent({\n components: {\n LumeAxis,\n LumeBar,\n LumeChartContainer,\n LumeChartLegend,\n LumeOverlayGroup,\n LumeTooltip,\n },\n props: {\n ...withChartProps(),\n chartType: {\n type: String,\n default: null,\n },\n },\n setup(props, ctx) {\n const { data, labels, color, options, orientation, chartType } =\n toRefs(props);\n\n const hoveredIndex = ref<number>(-1);\n const tooltipAnchor = ref<SVGCircleElement>(null);\n\n const { allOptions } = useOptions<ChartOptions>(options);\n\n const { internalData, computedLabels, containerSize, updateSize } = useBase(\n data,\n labels,\n color,\n allOptions,\n orientation\n );\n\n const { xScale, yScale } = useBaseScales(\n internalData,\n computedLabels,\n containerSize,\n orientation,\n allOptions\n );\n\n const computedXScale = computed<Scale>(() => {\n if (!props.xScale) return xScale.value;\n return isScale(props.xScale)\n ? props.xScale\n : props.xScale?.(internalData.value, labels.value, containerSize);\n });\n\n const computedYScale = computed<Scale>(() => {\n if (!props.yScale) return yScale.value;\n return isScale(props.yScale)\n ? props.yScale\n : props.yScale?.(internalData.value, labels.value, containerSize);\n });\n\n const computedXAxisOptions = computed(() => ({\n ...allOptions.value.xAxisOptions,\n withHover: orientation.value === ORIENTATIONS.VERTICAL,\n }));\n\n const computedYAxisOptions = computed(() => ({\n ...allOptions.value.yAxisOptions,\n withHover: orientation.value === ORIENTATIONS.HORIZONTAL,\n }));\n\n const xAxisTitle = computed(() => {\n return allOptions.value.xAxisOptions?.title;\n });\n\n const yAxisTitle = computed(() => {\n return allOptions.value.yAxisOptions?.title;\n });\n\n const showXAxisTitle = computed(() => {\n return (\n allOptions.value.xAxisOptions?.withTitle !== false && xAxisTitle.value\n );\n });\n\n const showYAxisTitle = computed(() => {\n return (\n allOptions.value.yAxisOptions?.withTitle !== false && yAxisTitle.value\n );\n });\n\n const isReady = computed(() => {\n const conditions = [];\n\n const { noBaseScales } = allOptions.value;\n\n if (!noBaseScales) {\n conditions.push(() => !!(computedXScale.value && computedYScale.value));\n }\n\n return conditions.every((c) => c() === true);\n });\n\n const { hasNegativeValues } = checkNegativeValues(internalData);\n const { negativeBarAttributes } = useNegativeValues(\n containerSize,\n computedXScale,\n computedYScale,\n orientation\n );\n\n const { tooltipConfig, showTooltip, hideTooltip } = useTooltip();\n\n const { getTooltipAnchorAttributes, getTooltipItems } = useTooltipAnchors(\n internalData,\n computedXScale,\n computedYScale,\n orientation,\n chartType\n );\n\n const tooltipPosition = computed(\n () => allOptions.value.tooltipOptions?.position || 'top'\n );\n\n function mouseOverHandler(index: number) {\n // Update hoveredIndex\n allOptions.value.withHover !== false && (hoveredIndex.value = index);\n\n // Show/update tooltip\n allOptions.value.withTooltip !== false &&\n showTooltip(tooltipAnchor.value[index]);\n }\n\n function handleTickMouseover(type: 'x' | 'y', index: number) {\n // Only capture hover on the label axis\n if (\n (orientation.value === ORIENTATIONS.VERTICAL && type === 'x') ||\n (orientation.value === ORIENTATIONS.HORIZONTAL && type === 'y')\n ) {\n mouseOverHandler(index);\n }\n }\n\n function handleMouseleave() {\n hideTooltip();\n hoveredIndex.value = -1;\n }\n\n onMounted(() => {\n if (!ctx.slots.groups?.()) {\n console.error('\"groups\" `<slot>` must have content.');\n }\n });\n\n return {\n allOptions,\n internalData,\n computedLabels,\n computedXAxisOptions,\n computedXScale,\n computedYAxisOptions,\n computedYScale,\n containerSize,\n getEmptyArrayFromData: getEmptyArrayFromData,\n getTooltipAnchorAttributes,\n getTooltipItems,\n handleMouseleave,\n handleTickMouseover,\n hasNegativeValues,\n hoveredIndex,\n isReady,\n mouseOverHandler,\n negativeBarAttributes,\n showXAxisTitle,\n showYAxisTitle,\n tooltipAnchor,\n tooltipAnchorRadius: TOOLTIP_ANCHOR_RADIUS,\n tooltipConfig,\n tooltipPosition,\n updateSize,\n xAxisTitle,\n yAxisTitle,\n };\n },\n});\n","import { computed, Ref } from 'vue';\n\nimport { flatValues } from '@/utils/helpers';\n\nimport { Orientation, ORIENTATIONS } from '@/constants';\nimport { InternalData } from '@/types/dataset';\nimport { ContainerSize } from '@/types/size';\nimport { Scale } from './scales';\n\nexport function checkNegativeValues(data: Ref<InternalData>) {\n const hasNegativeValues = computed(() =>\n flatValues(data.value).some((v) => v < 0)\n );\n return { hasNegativeValues };\n}\n\nexport function useNegativeValues(\n containerSize?: ContainerSize,\n xScale?: Ref<Scale>,\n yScale?: Ref<Scale>,\n orientation?: Ref<Orientation>\n) {\n const isHorizontal = computed(\n () => orientation.value === ORIENTATIONS.HORIZONTAL\n );\n\n const negativeHeight = computed(\n () =>\n containerSize.height - (isHorizontal?.value ? 0 : yScale.value?.(0) || 0)\n );\n\n const negativeWidth = computed(() =>\n isHorizontal?.value ? xScale.value?.(0) || 0 : containerSize.width\n );\n\n const negativeTransform = computed(() =>\n isHorizontal?.value\n ? `translate(0, 0)`\n : `translate(0, ${yScale.value?.(0) || 0})`\n );\n\n const negativeBarAttributes = computed(() => ({\n width: negativeWidth.value,\n height: negativeHeight.value,\n transform: negativeTransform.value,\n }));\n\n return { negativeBarAttributes };\n}\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./lume-chart.vue?vue&type=template&id=5edcf046&scoped=true&\"\nimport script from \"./lume-chart.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-chart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./lume-chart.vue?vue&type=style&index=0&id=5edcf046&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5edcf046\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('path',{ref:\"root\",staticClass:\"lume-line\",class:{\n [`lume-stroke--${_vm.color}`]: true,\n 'lume-line--dashed': _vm.dashed,\n 'lume-line--transition': _vm.transition,\n },style:({\n animationDelay: _vm.transition && _vm.animationDelay + 's',\n animationDuration: _vm.transition && _vm.animationDuration + 's',\n }),attrs:{\"d\":_vm.pathDefinition,\"data-j-line\":\"\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// extracted by mini-css-extract-plugin\nexport default {\"transitionTimeFull\":\"1s\"};","\nimport { computed, defineComponent, onMounted, PropType, ref } from 'vue';\nimport { ScaleBand, ScaleLinear } from 'd3-scale';\nimport { line } from 'd3-shape';\n\nimport { Scale } from '@/composables/scales';\n\nimport { getDomainLength, getScaleStep, isBandScale } from '@/utils/helpers';\nimport { svgCheck } from '@/utils/svg-check';\n\nimport styleVariables from '@/styles/_variables.scss';\n\nconst LUME_TRANSITION_TIME_FULL = parseFloat(styleVariables.transitionTimeFull);\n\nexport default defineComponent({\n props: {\n color: {\n type: String,\n default: '01',\n },\n index: {\n type: Number,\n required: true,\n },\n values: {\n type: Array as PropType<Array<number>>,\n required: true,\n },\n dashed: {\n type: Boolean,\n default: false,\n },\n xScale: {\n type: Function as PropType<Scale>,\n required: true,\n },\n yScale: {\n type: Function as PropType<Scale>,\n required: true,\n },\n transition: {\n type: Boolean,\n default: true,\n },\n },\n setup(props) {\n const root = ref<SVGPathElement>(null);\n\n const animationDuration = computed(\n () => LUME_TRANSITION_TIME_FULL / (getDomainLength(props.xScale) - 1) // Subtracting the first line (read below)\n );\n\n const animationDelay = computed(() => {\n // 0 index is the first line point (which isn't really a line), so it shouldn't have delay\n // 1 index is the actual first line drawn, so it also shouldn't have delay\n if (props.index < 2) return 0;\n return props.transition && (props.index - 1) * animationDuration.value;\n });\n\n const xAxisOffset = computed(() => getScaleStep(props.xScale) / 2);\n\n function findLinearX(_: unknown, index: number) {\n return (props.xScale as ScaleLinear<number, number>)(\n props.index + (index - 1)\n );\n }\n\n function findBandX(_: unknown, index: number) {\n return (\n (props.xScale as ScaleBand<string | number>)(\n props.xScale.domain()[props.index + (index - 1)]\n ) + xAxisOffset.value\n );\n }\n\n const pathDefinition = computed(() => {\n return line<number>()\n .x(isBandScale(props.xScale) ? findBandX : findLinearX)\n .y((d) => props.yScale(d))(props.values);\n });\n\n onMounted(() => svgCheck(root.value));\n\n return { animationDelay, animationDuration, pathDefinition, root };\n },\n});\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-line.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-line.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./lume-line.vue?vue&type=template&id=63036a44&scoped=true&\"\nimport script from \"./lume-line.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-line.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./lume-line.vue?vue&type=style&index=0&id=63036a44&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"63036a44\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('circle',{ref:\"root\",staticClass:\"lume-point\",class:`lume-stroke--${_vm.color}`,attrs:{\"r\":_vm.active ? _vm.radius : 0,\"cx\":_vm.cx,\"cy\":_vm.cy,\"data-j-point\":\"\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { computed, defineComponent, onMounted, PropType, ref } from 'vue';\n\nimport { Scale } from '@/composables/scales';\n\nimport { getScaleStep, isBandScale } from '@/utils/helpers';\nimport { svgCheck } from '@/utils/svg-check';\n\nexport default defineComponent({\n props: {\n color: {\n type: String,\n default: '01',\n },\n radius: {\n type: Number,\n default: 4,\n },\n value: {\n type: Number,\n required: true,\n },\n index: {\n type: Number,\n required: true,\n },\n active: {\n type: Boolean,\n default: false,\n },\n xScale: {\n type: Function as PropType<Scale>,\n required: true,\n },\n yScale: {\n type: Function as PropType<Scale>,\n required: true,\n },\n },\n setup(props) {\n const root = ref<SVGCircleElement>(null);\n\n const xAxisOffset = computed(() => getScaleStep(props.xScale) / 2);\n const domain = computed(() => props.xScale.domain());\n\n const cx = computed(() =>\n isBandScale(props.xScale)\n ? props.xScale(domain.value[props.index]) + xAxisOffset.value\n : props.xScale(props.index)\n );\n const cy = computed(() => props.yScale(props.value));\n\n onMounted(() => svgCheck(root.value));\n\n return { cx, cy, root };\n },\n});\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-point.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-point.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./lume-point.vue?vue&type=template&id=061581d3&scoped=true&\"\nimport script from \"./lume-point.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-point.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./lume-point.vue?vue&type=style&index=0&id=061581d3&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"061581d3\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{ref:\"root\",staticClass:\"lume-tooltip\",attrs:{\"data-j-tooltip\":\"\"}},[_vm._t(\"default\",function(){return [(_vm.showTitle)?_c('div',{staticClass:\"lume-tooltip__title\",attrs:{\"data-j-tooltip__title\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('ul',{staticClass:\"lume-tooltip__items\"},_vm._l((_vm.items),function(item){return _c('li',{key:item.label,staticClass:\"lume-tooltip__item\",attrs:{\"data-j-tooltip__item\":\"\"}},[_c('span',{staticClass:\"lume-tooltip__symbol\",class:[\n `lume-tooltip__symbol--${item.type}`,\n `lume-background-color--${item.color || '01'}`,\n ],attrs:{\"data-j-tooltip__item__symbol\":\"\"}}),_vm._v(\" \"),_c('span',{attrs:{\"data-j-tooltip__item__label\":\"\"}},[_vm._v(\"\\n \"+_vm._s(item.label)+\"\\n \")]),_vm._v(\" \"),_c('strong',{staticClass:\"lume-tooltip__value\",attrs:{\"data-j-tooltip__item__value\":\"\"}},[_vm._v(\"\\n \"+_vm._s(item.value)+\"\\n \")])])}),0)]})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport {\n computed,\n defineComponent,\n onBeforeUnmount,\n onMounted,\n PropType,\n ref,\n Ref,\n toRefs,\n watch,\n} from 'vue';\nimport {\n createPopper,\n Placement,\n Instance as PopperInstance,\n PositioningStrategy,\n} from '@popperjs/core';\n\nimport { TooltipOptions, useOptions, withOptions } from '@/composables/options';\n\nimport { TOOLTIP_POSITIONS } from '@/constants';\n\ninterface TooltipItem {\n type: string;\n color: string;\n label: string;\n value: number | string;\n}\n\nexport default defineComponent({\n props: {\n targetElement: Element,\n position: {\n type: String as PropType<Placement>,\n default: 'auto',\n validator: (value: string) =>\n TOOLTIP_POSITIONS.includes(value as typeof TOOLTIP_POSITIONS[number]),\n },\n fixedPositioning: { type: Boolean, default: false },\n modifiers: { type: Array, default: null },\n title: { type: [String, Number], default: null },\n items: {\n type: Array as PropType<Array<TooltipItem>>,\n default: null,\n },\n ...withOptions<TooltipOptions>(),\n },\n setup(props) {\n // Refs\n const root = ref<HTMLDivElement>(null);\n const { options } = toRefs(props);\n\n // Data\n const popper: Ref<PopperInstance | null> = ref(null);\n const { allOptions } = useOptions<TooltipOptions>(options);\n\n // Computed\n const strategy = computed<PositioningStrategy>(() =>\n props.fixedPositioning ? 'fixed' : 'absolute'\n );\n\n const allModifiers = computed(() => [\n ...(props.modifiers || []),\n {\n name: 'computeStyles',\n options: {\n adaptive: false, // so that we can have smooth transitions\n },\n },\n {\n name: 'offset',\n options: { offset: [0, allOptions.value.offset || 8] },\n },\n ]);\n\n const showTitle = computed(\n () => allOptions.value.showTitle !== false && props.title != undefined\n );\n\n // Methods\n function initPopper() {\n if (props.targetElement && root.value) {\n popper.value = createPopper(props.targetElement, root.value, {\n placement: props.position,\n strategy: strategy.value,\n modifiers: allModifiers.value,\n });\n }\n }\n\n function destroyPopper() {\n if (popper.value) {\n popper.value.destroy();\n }\n }\n\n function updatePopper() {\n if (!popper.value) return;\n\n root.value.classList.add('lume-tooltip--animated'); // Add transition class\n\n props.targetElement\n ? (function () {\n popper.value.state.elements.reference = props.targetElement;\n popper.value.update();\n })()\n : destroyPopper();\n }\n\n // Watchers\n watch(() => props.targetElement, updatePopper);\n\n // Lifecycle\n onMounted(initPopper);\n onBeforeUnmount(destroyPopper);\n\n return { allModifiers, allOptions, popper, root, showTitle, strategy };\n },\n});\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-tooltip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-tooltip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./lume-tooltip.vue?vue&type=template&id=10dffbfc&scoped=true&\"\nimport script from \"./lume-tooltip.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-tooltip.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./lume-tooltip.vue?vue&type=style&index=0&id=10dffbfc&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10dffbfc\",\n null\n \n)\n\nexport default component.exports","import { PropType } from 'vue';\n\nimport { Scale } from '@/composables/scales';\n\nimport { InternalData } from '@/types/dataset';\n\nexport const withGroupProps = () => ({\n data: {\n type: Array as PropType<InternalData>,\n required: true,\n },\n xScale: {\n type: Function as PropType<Scale>,\n required: true,\n },\n yScale: {\n type: Function as PropType<Scale>,\n required: true,\n },\n hoveredIndex: {\n type: Number,\n default: -1,\n },\n});\n","import { computed, ComputedRef, PropType, Ref } from 'vue';\nimport { ScaleBand, ScaleLinear } from 'd3-scale';\n\nimport { getPaddedScale, Scale } from '@/composables/scales';\n\nimport { BAR_TYPES, BarType, Orientation, ORIENTATIONS } from '@/constants';\nimport { DatasetValueObject, InternalData } from '@/types/dataset';\n\nfunction typeValidator(type: string): boolean {\n return Object.values(BAR_TYPES).includes(type as BarType) || type == null;\n}\n\nexport function orientationValidator(orientation: string): boolean {\n return Object.values(ORIENTATIONS).includes(orientation as Orientation);\n}\n\nexport const withBarProps = (useOrientation = false) => ({\n type: {\n type: String,\n default: null,\n validator: typeValidator,\n },\n ...(useOrientation\n ? {\n orientation: {\n type: String as PropType<Orientation>,\n default: ORIENTATIONS.VERTICAL,\n validator: orientationValidator,\n },\n }\n : {}),\n});\n\nexport function useBarMixin(data: Ref<InternalData>) {\n /** Array of padded (null = 0) number values */\n const multiBarData: ComputedRef<InternalData> = computed(() => {\n return data.value.map((dataset) => ({\n ...dataset,\n values: dataset.values.map((datasetValue) => ({\n ...datasetValue,\n value: datasetValue?.value || 0,\n })),\n }));\n });\n\n /**\n * Data points grouped by index. This is used for grouped/stacked bar charts.\n * Example: for datasets `{ values: [ 10, 20 ] }` and `{ values: [ 30, 40 ] }`,\n * `groupedData` will return `[[ 10, 30 ], [ 20, 40 ]]`.\n */\n const groupedData: ComputedRef<DatasetValueObject[][]> = computed(() => {\n return multiBarData.value?.reduce((accumulator, dataset) => {\n dataset.values.forEach((value, i) => {\n if (!accumulator[i]) accumulator[i] = [value];\n else accumulator[i].push(value);\n });\n return accumulator;\n }, []);\n });\n\n return { multiBarData, groupedData };\n}\n\nexport function getBarChartType(data: Ref<InternalData>, type: Ref<string>) {\n return data.value.length === 1 ? 'single' : type.value;\n}\n\nexport function useBarScales(\n xScale: Ref<Scale>,\n yScale: Ref<Scale>,\n orientation?: Ref<Orientation>\n) {\n const isHorizontal = computed(\n () => orientation.value === ORIENTATIONS.HORIZONTAL\n );\n\n function checkValidDomain(scale: ScaleLinear<number, number>) {\n if (Math.min(...scale.domain()) > 0) {\n console.error(`Bar linear scale domain cannot start above 0!`);\n }\n }\n\n const barXScale = computed(() => {\n const scale = isHorizontal.value\n ? (() => {\n checkValidDomain(xScale.value as ScaleLinear<number, number>);\n return xScale.value;\n })()\n : getPaddedScale(\n xScale.value as ScaleBand<string | number>,\n orientation.value\n );\n\n return scale;\n });\n\n const barYScale = computed(() => {\n const scale = isHorizontal.value\n ? getPaddedScale(\n yScale.value as ScaleBand<string | number>,\n orientation.value\n )\n : (() => {\n checkValidDomain(yScale.value as ScaleLinear<number, number>);\n return yScale.value;\n })();\n\n return scale;\n });\n\n return { barXScale, barYScale };\n}\n","import { computed, ComputedRef, Ref } from 'vue';\nimport { scaleBand, ScaleBand, scaleLinear } from 'd3-scale';\n\nimport { getPaddedScale, Scale } from '@/composables/scales';\n\nimport { Colors, Orientation, ORIENTATIONS } from '@/constants';\nimport { Data, DatasetValueObject } from '@/types/dataset';\nimport { ContainerSize } from '@/types/size';\n\nexport function useStackedAxes(\n groupedData: ComputedRef<DatasetValueObject[][]>,\n orientation: Ref<Orientation>\n) {\n const isHorizontal = computed(\n () => orientation.value === ORIENTATIONS.HORIZONTAL\n );\n\n const stackedMinValue = computed(() => {\n const accumulatedValues = groupedData.value.map(\n (valueSet: DatasetValueObject[]) => {\n return valueSet\n .filter((value) => value.value < 0)\n .reduce((acc, curr) => acc + curr.value, 0);\n }\n );\n\n return Math.min(...accumulatedValues);\n });\n\n const stackedMaxValue = computed(() => {\n // Make sure we can handle both single values and arrays of values\n const accumulatedValues = groupedData.value.map(\n (valueSet: DatasetValueObject[]) => {\n return valueSet.reduce(\n (acc, curr) => (curr.value >= 0 ? acc + curr.value : acc),\n 0\n );\n }\n );\n return Math.max(...accumulatedValues);\n });\n\n function stackedXScaleGenerator(\n _data: Data,\n labels: Array<string>,\n size: ContainerSize\n ) {\n return isHorizontal.value\n ? scaleLinear()\n .domain([stackedMinValue.value, stackedMaxValue.value])\n .range([0, size.width])\n : getPaddedScale(\n scaleBand()\n .domain(labels?.map((v) => v))\n .range([0, size.width])\n );\n }\n\n function stackedYScaleGenerator(\n _data: Data,\n labels: Array<string>,\n size: ContainerSize\n ) {\n return isHorizontal.value\n ? getPaddedScale(\n scaleBand()\n .domain(labels?.map((v) => v))\n .range([0, size.height])\n )\n : scaleLinear()\n .domain([stackedMaxValue.value, stackedMinValue.value])\n .range([0, size.height]);\n }\n\n return { stackedXScaleGenerator, stackedYScaleGenerator };\n}\n\nexport function useStackedBarMixin(\n data: ComputedRef<Data<DatasetValueObject<number>>>,\n xScale: Ref<Scale>,\n yScale: Ref<Scale>,\n orientation: Ref<Orientation>,\n hoveredIndex: Ref<number>,\n classList: Array<string>\n) {\n const isHorizontal = computed(\n () => orientation.value === ORIENTATIONS.HORIZONTAL\n );\n\n const domain = computed(() =>\n isHorizontal.value ? yScale.value.domain() : xScale.value.domain()\n );\n\n const dataValues = computed(() =>\n data.value.map((d) => d.values.map((v) => v?.value))\n );\n\n function getBarTransform(value: number, index: number, offset: number) {\n let x: number, y: number;\n if (isHorizontal.value) {\n x = xScale.value(value >= 0 ? 0 + offset : value + offset);\n y = (yScale.value as ScaleBand<number | string>)(domain.value[index]);\n } else {\n x = (xScale.value as ScaleBand<number | string>)(domain.value[index]);\n y = yScale.value(value >= 0 ? value + offset : 0 + offset);\n }\n return { x, y };\n }\n\n function getPositiveBarWidth(value: number) {\n if (isHorizontal.value) {\n return xScale.value(value) - xScale.value(0);\n }\n return (xScale.value as ScaleBand<number | string>).bandwidth();\n }\n\n function getNegativeBarWidth(value: number) {\n if (isHorizontal.value) {\n return xScale.value(0) - xScale.value(value);\n }\n return (xScale.value as ScaleBand<number | string>).bandwidth();\n }\n\n function getPositiveBarHeight(value: number) {\n if (isHorizontal.value) {\n return (yScale.value as ScaleBand<number | string>).bandwidth();\n }\n return yScale.value(0) - yScale.value(value);\n }\n\n function getNegativeBarHeight(value: number) {\n if (isHorizontal.value) {\n return (yScale.value as ScaleBand<number | string>).bandwidth();\n }\n return yScale.value(value) - yScale.value(0);\n }\n\n function getPositiveOffset(index: number, groupIndex: number) {\n if (!index) return 0;\n\n return dataValues.value.reduce((acc, curr, i) => {\n if (i < index && curr[groupIndex] >= 0) acc += curr[groupIndex];\n return acc;\n }, 0);\n }\n\n function getNegativeOffset(index: number, groupIndex: number) {\n if (!index) return 0;\n\n return dataValues.value.reduce((acc, curr, i) => {\n if (i < index && curr[groupIndex] < 0) acc += curr[groupIndex];\n return acc;\n }, 0);\n }\n\n function barAttributeGenerator(\n barValue: DatasetValueObject,\n index: number,\n groupIndex: number\n ) {\n const { value, color: barColor } = barValue;\n const width =\n value >= 0 ? getPositiveBarWidth(value) : getNegativeBarWidth(value);\n const height =\n value >= 0 ? getPositiveBarHeight(value) : getNegativeBarHeight(value);\n const offset =\n value >= 0\n ? getPositiveOffset(index, groupIndex)\n : getNegativeOffset(index, groupIndex);\n const { x, y } = getBarTransform(value, groupIndex, offset);\n const color =\n barColor ?? data.value[index].color ?? Object.values(Colors)[index];\n\n return {\n classList: [`lume-fill--${color}`, ...classList],\n width,\n height,\n x,\n y,\n isFaded: hoveredIndex.value !== -1 && hoveredIndex.value !== groupIndex,\n isNegative: value < 0,\n };\n }\n\n return { barAttributeGenerator };\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('g',{staticClass:\"lume-bar-group\",attrs:{\"data-j-bars-group\":\"\"}},_vm._l((_vm.groupedData),function(barGroup,groupIndex){return _c('g',{key:groupIndex},_vm._l((barGroup),function(barValue,index){return _c('lume-bar',_vm._b({key:`bar-${index}`,attrs:{\"transition\":_vm.computedTransition,\"data-j-lume-bar\":\"\"}},'lume-bar',_vm.getBarAttributes(barValue, index, groupIndex, barGroup),false))}),1)}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { computed, defineComponent, PropType, toRefs } from 'vue';\n\nimport LumeBar from '@/components/core/lume-bar';\n\nimport { withGroupProps } from '@/components/groups/composables/group-props';\nimport {\n getBarChartType,\n useBarMixin,\n useBarScales,\n withBarProps,\n} from './composables/bar-mixin';\n\nimport { useSingleBarMixin } from './composables/single-mixin';\nimport { useGroupedBarMixin } from './composables/grouped-mixin';\nimport { useStackedBarMixin } from './composables/stacked-mixin';\n\nimport { ORIENTATIONS } from '@/constants';\n\nconst MIXIN_MAP = {\n single: useSingleBarMixin,\n grouped: useGroupedBarMixin,\n stacked: useStackedBarMixin,\n};\n\nexport default defineComponent({\n components: { LumeBar },\n props: {\n ...withGroupProps(),\n classList: {\n type: [String, Array] as PropType<string | Array<string>>,\n default: () => [],\n },\n ...withBarProps(true),\n transition: {\n type: Boolean,\n default: true,\n },\n },\n setup(props) {\n const {\n data,\n hoveredIndex,\n orientation,\n transition,\n type,\n xScale,\n yScale,\n classList,\n } = toRefs(props);\n\n const { groupedData } = useBarMixin(data);\n\n const { barXScale, barYScale } = useBarScales(xScale, yScale, orientation);\n\n const computedClasses = computed(() => {\n if (typeof classList.value === 'string') return [classList.value];\n return classList.value;\n });\n\n const getBarAttributes = computed(() => {\n const chartType = getBarChartType(data, type);\n\n const { barAttributeGenerator } = MIXIN_MAP[chartType](\n data,\n barXScale,\n barYScale,\n orientation,\n hoveredIndex,\n computedClasses.value\n );\n return barAttributeGenerator;\n });\n\n const computedTransition = computed(() => {\n if (!transition.value) return;\n return orientation.value === ORIENTATIONS.HORIZONTAL ? 'width' : 'height';\n });\n\n return {\n barXScale,\n barYScale,\n computedTransition,\n getBarAttributes,\n groupedData,\n };\n },\n});\n","import { computed, ComputedRef, Ref } from 'vue';\nimport { ScaleBand } from 'd3-scale';\n\nimport { Scale } from '@/composables/scales';\n\nimport { Orientation, ORIENTATIONS } from '@/constants';\nimport { Data, DatasetValueObject } from '@/types/dataset';\nimport { DEFAULT_COLOR } from '../constants';\n\nexport function useSingleBarMixin(\n data: ComputedRef<Data<DatasetValueObject<number>>>,\n xScale: Ref<Scale>,\n yScale: Ref<Scale>,\n orientation: Ref<Orientation>,\n hoveredIndex: Ref<number>,\n classList: Array<string>\n) {\n const isHorizontal = computed(\n () => orientation.value === ORIENTATIONS.HORIZONTAL\n );\n\n function getBarTransform(value: number, index: number) {\n let x: number, y: number;\n if (isHorizontal.value) {\n x = value >= 0 ? xScale.value(0) : xScale.value(value);\n y = yScale.value(yScale.value.domain()[index] as number);\n } else {\n x = xScale.value(xScale.value.domain()[index] as number);\n y = value < 0 ? yScale.value(0) : yScale.value(value);\n }\n return { x, y };\n }\n\n function getBarWidth(value: number) {\n if (isHorizontal.value) {\n return value < 0\n ? xScale.value(0) - xScale.value(value)\n : xScale.value(value) - xScale.value(0);\n }\n\n return (xScale.value as ScaleBand<number | string>).bandwidth();\n }\n\n function getBarHeight(value: number) {\n if (isHorizontal.value) {\n return (yScale.value as ScaleBand<number | string>).bandwidth();\n }\n\n return value < 0\n ? yScale.value(value) - yScale.value(0)\n : yScale.value(0) - yScale.value(value);\n }\n\n function barAttributeGenerator(\n barValue: DatasetValueObject,\n index: number,\n groupIndex: number\n ) {\n const { value, color: barColor } = barValue;\n const color = barColor ?? data.value[index].color ?? DEFAULT_COLOR;\n const { x, y } = getBarTransform(value, groupIndex);\n const width = getBarWidth(value);\n const height = getBarHeight(value);\n\n return {\n classList: [`lume-fill--${color}`, ...classList],\n x,\n y,\n width,\n height,\n isFaded: hoveredIndex.value !== -1 && hoveredIndex.value !== groupIndex,\n isNegative: value < 0,\n };\n }\n\n return { barAttributeGenerator };\n}\n","export const DEFAULT_COLOR = 'skyblue';\n","import { computed, ComputedRef, Ref } from 'vue';\nimport { scaleBand, ScaleBand } from 'd3-scale';\n\nimport { Scale } from '@/composables/scales';\n\nimport { Colors, Orientation, ORIENTATIONS } from '@/constants';\nimport { Data, DatasetValueObject } from '@/types/dataset';\n\nexport function useGroupedBarMixin(\n data: ComputedRef<Data<DatasetValueObject<number>>>,\n xScale: Ref<Scale>,\n yScale: Ref<Scale>,\n orientation: Ref<Orientation>,\n hoveredIndex: Ref<number>,\n classList: Array<string>\n) {\n const isHorizontal = computed(\n () => orientation.value === ORIENTATIONS.HORIZONTAL\n );\n\n const xSubgroup = computed(() => {\n return scaleBand<number>()\n .domain(data.value.map((_, index) => index))\n .range([0, (xScale.value as ScaleBand<number | string>).bandwidth()])\n .padding(0);\n });\n\n const ySubgroup = computed(() => {\n return scaleBand<number>()\n .domain(data.value.map((_, index) => index))\n .range([0, (yScale.value as ScaleBand<number | string>).bandwidth()])\n .padding(0);\n });\n\n function getBarTranslateX(value: number, index: number, barIndex: number) {\n if (isHorizontal.value) {\n return value >= 0 ? xScale.value(0) : xScale.value(value);\n }\n const domain = xScale.value.domain();\n return (\n (xScale.value as ScaleBand<number | string>)(domain[index]) +\n xSubgroup.value(barIndex)\n );\n }\n\n function getBarTranslateY(value: number, index: number, barIndex: number) {\n if (isHorizontal.value) {\n const domain = yScale.value.domain();\n return (\n (yScale.value as ScaleBand<number | string>)(domain[index]) +\n ySubgroup.value(barIndex)\n );\n }\n return value < 0 ? yScale.value(0) : yScale.value(value);\n }\n\n function getBarWidth(value: number) {\n if (isHorizontal.value) {\n return value < 0\n ? xScale.value(0) - xScale.value(value)\n : xScale.value(value) - xScale.value(0);\n }\n return xSubgroup.value.bandwidth();\n }\n\n function getBarHeight(value: number) {\n if (isHorizontal.value) {\n return ySubgroup.value.bandwidth();\n }\n return value < 0\n ? yScale.value(value) - yScale.value(0)\n : yScale.value(0) - yScale.value(value);\n }\n\n function barAttributeGenerator(\n barValue: DatasetValueObject,\n index: number,\n groupIndex: number\n ) {\n const { value, color: barColor } = barValue;\n const color =\n barColor ?? data.value[index].color ?? Object.values(Colors)[index];\n const x = getBarTranslateX(value, groupIndex, index);\n const y = getBarTranslateY(value, groupIndex, index);\n const width = getBarWidth(value);\n const height = getBarHeight(value);\n\n return {\n classList: [`lume-fill--${color}`, ...classList],\n x,\n y,\n width,\n height,\n isFaded: hoveredIndex.value !== -1 && hoveredIndex.value !== groupIndex,\n isNegative: value < 0,\n };\n }\n\n return { barAttributeGenerator };\n}\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-bar-group.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-bar-group.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./lume-bar-group.vue?vue&type=template&id=3fb8da1c&\"\nimport script from \"./lume-bar-group.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-bar-group.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('g',{staticClass:\"lume-overlay-group\"},_vm._l((_vm.overlayData),function(_,index){return _c('lume-bar',_vm._b({key:`overlay-${index}`,attrs:{\"data-j-lume-overlay-group\":index,\"transition\":false,\"class-list\":\"lume-fill--transparent\"},nativeOn:{\"mouseover\":function($event){return _vm.handleMouseover(index)}}},'lume-bar',_vm.getOverlayBarAttributes(index),false))}),1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { computed, defineComponent, PropType, toRefs } from 'vue';\n\nimport LumeBar from '@/components/core/lume-bar';\n\nimport { withGroupProps } from '@/components/groups/composables/group-props';\n\nimport {\n getEmptyArrayFromData,\n getScaleStep,\n isBandScale,\n} from '@/utils/helpers';\nimport { Orientation, ORIENTATIONS } from '@/constants';\n\nexport default defineComponent({\n components: { LumeBar },\n props: {\n ...withGroupProps(),\n orientation: {\n type: String as PropType<Orientation>,\n default: ORIENTATIONS.VERTICAL,\n },\n },\n\n setup(props, ctx) {\n const { data, orientation, xScale, yScale } = toRefs(props);\n\n const overlayData = computed(() => getEmptyArrayFromData(data));\n\n function getOverlayBarAttributes(index: number) {\n const referenceScale =\n orientation.value === ORIENTATIONS.HORIZONTAL\n ? yScale.value\n : xScale.value;\n const domain = referenceScale.domain();\n const step = getScaleStep(referenceScale);\n\n const translate = isBandScale(referenceScale)\n ? referenceScale(domain[index])\n : referenceScale(index) - step / 2;\n\n return orientation.value === ORIENTATIONS.HORIZONTAL\n ? {\n width: Math.max(...xScale.value.range()),\n height: step,\n transform: `translate(0, ${translate})`,\n }\n : {\n width: step,\n height: Math.max(...yScale.value.range()),\n transform: `translate(${translate}, 0)`,\n };\n }\n\n function handleMouseover(index: number) {\n ctx.emit('mouseover', index);\n }\n\n return { getOverlayBarAttributes, handleMouseover, overlayData };\n },\n});\n","import mod from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-overlay-group.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/ts-loader/index.js??clonedRuleSet-1.use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-overlay-group.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./lume-overlay-group.vue?vue&type=template&id=7fa95e7a&\"\nimport script from \"./lume-overlay-group.vue?vue&type=script&lang=ts&\"\nexport * from \"./lume-overlay-group.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { warn, Warnings } from './warnings';\n\n/**\n * Checks whether an element is contained inside an <svg> element.\n * @param el A DOM element.\n * @returns True if it is wrapped by an <svg> element.\n */\nexport function svgCheck(el: Element) {\n if (!el?.closest('svg')) warn(Warnings.NotContainedInSvg);\n}\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-axis.vue?vue&type=style&index=0&id=27bc96a3&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"d8de9dcc\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-bar.vue?vue&type=style&index=0&id=eb2447c2&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"4f813f70\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart-container.vue?vue&type=style&index=0&id=7dd91490&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"1711113c\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart-legend.vue?vue&type=style&index=0&id=b4b7d4ae&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"7295d77b\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-chart.vue?vue&type=style&index=0&id=5edcf046&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"7952b5a2\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-line.vue?vue&type=style&index=0&id=63036a44&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"37981fba\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-point.vue?vue&type=style&index=0&id=061581d3&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"87e92758\", content, true, {});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./lume-tooltip.vue?vue&type=style&index=0&id=10dffbfc&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"3201ae6e\", content, true, {});","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n"],"names":["exports","___CSS_LOADER_API_IMPORT___","push","module","id","useSourceMap","list","toString","this","map","item","content","sourceMap","base64","data","cssMapping","btoa","sourceMapping","unescape","encodeURIComponent","JSON","stringify","concat","sourceURLs","sources","source","sourceRoot","join","cssWithMappingToString","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","pi","Math","PI","tau","epsilon","tauEpsilon","Path","_x0","_y0","_x1","_y1","_","path","prototype","constructor","moveTo","x","y","closePath","lineTo","quadraticCurveTo","x1","y1","bezierCurveTo","x2","y2","arcTo","r","x0","y0","x21","y21","x01","y01","l01_2","Error","abs","x20","y20","l21_2","l20_2","l21","sqrt","l01","l","tan","acos","t01","t21","arc","a0","a1","ccw","dx","cos","dy","sin","cw","da","rect","w","h","Array","from","slice","Linear","context","_context","areaStart","_line","areaEnd","NaN","lineStart","_point","lineEnd","point","defined","curve","output","line","d","buffer","n","a","defined0","undefined","arguments","p","options","gridLines","withTitle","showTicks","tickCount","tickFormat","tickPadding","xOptions","skip","yOptions","scale","containerSize","paddingCorrection","value","step","paddingInner","getGridLinesAttributes","height","getTickGhostAttributes","width","getTickGroupAttributes","transform","getTickLabelAttributes","SCALE_MIXIN_MAP","bandScale","linearScale","POSITIONS","TYPES","props","type","Function","required","String","default","validator","position","includes","Object","hoveredIndex","Number","setup","ctx","mixins","tickRefs","isLoading","root","computedPosition","computedType","allOptions","showTick","skipNumber","avgLabelWidth","scaleWidth","max","range","labelWidthSum","reduce","sum","label","getBoundingClientRect","averageValue","ceil","index","useSkip","axisTransform","ticks","domain","tickFormatter","async","init","scaleType","mixin","entries","forEach","fnName","fn","flush","formatTick","tick","onTickMouseover","emit","_vm","_c","_self","_setupProxy","ref","staticClass","attrs","_l","_b","key","class","withHover","on","$event","_v","refInFor","_s","_e","classList","isFaded","Boolean","isNegative","transition","computedClasses","shouldTransitionWidth","shouldTransitionHeight","transitionProps","computedWidth","computedHeight","transformOrigin","useBarTransition","computedX","computedY","shouldHaveMinWidth","shouldHaveMinHeight","useBarSizing","style","BASE_MARGINS","left","right","top","bottom","margins","transparentBackground","noMinSize","resizeRef","resizeState","dimensions","observer","ResizeObserver","entry","contentRect","observe","unobserve","useResizeObserver","computedMargins","svgHeight","contentWidth","contentHeight","_containerSize","outerWidth","outerHeight","_t","$emit","datasets","every","dataset","color","ANCHOR_CALCULATION_METHOD_MAP","curr","val","values","components","LumeAxis","LumeBar","LumeChartContainer","LumeChartLegend","LumeOverlayGroup","LumeTooltip","chartType","labels","orientation","tooltipAnchor","internalData","computedLabels","updateSize","xScale","yScale","computedXScale","computedYScale","computedXAxisOptions","xAxisOptions","computedYAxisOptions","yAxisOptions","xAxisTitle","title","yAxisTitle","showXAxisTitle","showYAxisTitle","isReady","conditions","noBaseScales","c","hasNegativeValues","some","v","checkNegativeValues","negativeBarAttributes","isHorizontal","negativeHeight","negativeWidth","negativeTransform","useNegativeValues","tooltipConfig","showTooltip","hideTooltip","opened","targetElement","useTooltip","getTooltipAnchorAttributes","getTooltipItems","highestValue","cx","cy","useTooltipAnchors","tooltipPosition","tooltipOptions","mouseOverHandler","withTooltip","slots","groups","console","error","getEmptyArrayFromData","handleMouseleave","handleTickMouseover","tooltipAnchorRadius","scopedSlots","_u","withLegend","legendPosition","proxy","showAxes","withTransition","LUME_TRANSITION_TIME_FULL","parseFloat","dashed","animationDuration","animationDelay","xAxisOffset","findLinearX","findBandX","pathDefinition","radius","active","Element","fixedPositioning","modifiers","items","popper","strategy","allModifiers","name","adaptive","offset","showTitle","destroyPopper","destroy","add","state","elements","reference","update","placement","withGroupProps","typeValidator","orientationValidator","withBarProps","useOrientation","useBarMixin","multiBarData","datasetValue","groupedData","accumulator","getBarChartType","useBarScales","checkValidDomain","min","barXScale","barYScale","useStackedAxes","stackedMinValue","accumulatedValues","valueSet","filter","acc","stackedMaxValue","stackedXScaleGenerator","_data","size","stackedYScaleGenerator","useStackedBarMixin","dataValues","barAttributeGenerator","barValue","groupIndex","barColor","bandwidth","getPositiveBarWidth","getNegativeBarWidth","getPositiveBarHeight","getNegativeBarHeight","getPositiveOffset","getNegativeOffset","getBarTransform","MIXIN_MAP","single","getBarWidth","getBarHeight","grouped","xSubgroup","padding","ySubgroup","barIndex","getBarTranslateX","getBarTranslateY","stacked","getBarAttributes","computedTransition","barGroup","getOverlayBarAttributes","referenceScale","translate","handleMouseover","overlayData","nativeOn","svgCheck","el","closest","__esModule","locals","listToStyles","parentId","styles","newStyles","part","css","media","parts","hasDocument","document","DEBUG","stylesInDom","head","getElementsByTagName","singletonElement","singletonCounter","isProduction","noop","ssrIdKey","isOldIE","navigator","test","userAgent","toLowerCase","addStylesClient","_isProduction","_options","addStylesToDom","newList","mayRemove","domStyle","refs","j","addStyle","createStyleElement","styleElement","createElement","appendChild","obj","remove","querySelector","parentNode","removeChild","styleIndex","applyToSingletonTag","bind","applyToTag","newObj","textStore","replaceText","replacement","styleSheet","cssText","cssNode","createTextNode","childNodes","insertBefore","setAttribute","ssrId","firstChild"],"sourceRoot":""}
Binary file
Binary file
Binary file