@semcore/d3-chart 16.7.0-prerelease.1 → 16.7.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 (281) hide show
  1. package/lib/cjs/Area.js +11 -11
  2. package/lib/cjs/Axis.js +18 -16
  3. package/lib/cjs/Axis.js.map +1 -1
  4. package/lib/cjs/Bar.js +16 -16
  5. package/lib/cjs/Bubble.js +14 -14
  6. package/lib/cjs/CompactHorizontalBar.js +20 -20
  7. package/lib/cjs/CompactHorizontalBar.js.map +1 -1
  8. package/lib/cjs/Donut.js +9 -9
  9. package/lib/cjs/Dots.js +8 -8
  10. package/lib/cjs/HorizontalBar.js +17 -17
  11. package/lib/cjs/HorizontalBar.js.map +1 -1
  12. package/lib/cjs/Hover.js +3 -3
  13. package/lib/cjs/Line.js +9 -9
  14. package/lib/cjs/Plot.js +6 -9
  15. package/lib/cjs/Plot.js.map +1 -1
  16. package/lib/cjs/Radar.js +19 -19
  17. package/lib/cjs/RadialTree.js +12 -12
  18. package/lib/cjs/RadialTree.js.map +1 -1
  19. package/lib/cjs/Reference.js +12 -12
  20. package/lib/cjs/ResponsiveContainer.js +2 -2
  21. package/lib/cjs/ResponsiveContainer.js.map +1 -1
  22. package/lib/cjs/ScatterPlot.js +9 -9
  23. package/lib/cjs/StackBar.js +3 -8
  24. package/lib/cjs/StackBar.js.map +1 -1
  25. package/lib/cjs/Tooltip.js +18 -19
  26. package/lib/cjs/Tooltip.js.map +1 -1
  27. package/lib/cjs/Venn.js +12 -12
  28. package/lib/cjs/Venn.js.map +1 -1
  29. package/lib/cjs/a11y/PlotA11yModule.js +37 -79
  30. package/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
  31. package/lib/cjs/a11y/PlotA11yView.js +39 -12
  32. package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  33. package/lib/cjs/a11y/translations/module/de.json +2 -2
  34. package/lib/cjs/a11y/translations/module/en.json +2 -2
  35. package/lib/cjs/a11y/translations/module/es.json +2 -2
  36. package/lib/cjs/a11y/translations/module/fr.json +2 -2
  37. package/lib/cjs/a11y/translations/module/it.json +2 -2
  38. package/lib/cjs/a11y/translations/module/ja.json +2 -2
  39. package/lib/cjs/a11y/translations/module/ko.json +2 -2
  40. package/lib/cjs/a11y/translations/module/nl.json +2 -2
  41. package/lib/cjs/a11y/translations/module/pl.json +2 -2
  42. package/lib/cjs/a11y/translations/module/pt.json +2 -2
  43. package/lib/cjs/a11y/translations/module/sv.json +2 -2
  44. package/lib/cjs/a11y/translations/module/tr.json +2 -2
  45. package/lib/cjs/a11y/translations/module/vi.json +2 -2
  46. package/lib/cjs/a11y/translations/module/zh.json +2 -2
  47. package/lib/cjs/component/Chart/AbstractChart.js +9 -9
  48. package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
  49. package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
  50. package/lib/cjs/component/Chart/AreaChart.js.map +1 -1
  51. package/lib/cjs/component/Chart/AreaChart.type.js.map +1 -1
  52. package/lib/cjs/component/Chart/BarChart.js +66 -19
  53. package/lib/cjs/component/Chart/BarChart.js.map +1 -1
  54. package/lib/cjs/component/Chart/BarChart.type.js.map +1 -1
  55. package/lib/cjs/component/Chart/BubbleChart.type.js.map +1 -1
  56. package/lib/cjs/component/Chart/CigaretteChart.js +8 -8
  57. package/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
  58. package/lib/cjs/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
  59. package/lib/cjs/component/Chart/DonutChart.js +2 -2
  60. package/lib/cjs/component/Chart/DonutChart.js.map +1 -1
  61. package/lib/cjs/component/Chart/DonutChart.type.js.map +1 -1
  62. package/lib/cjs/component/Chart/HistogramChart.type.js.map +1 -1
  63. package/lib/cjs/component/Chart/LineChart.type.js.map +1 -1
  64. package/lib/cjs/component/Chart/RadarChart.type.js.map +1 -1
  65. package/lib/cjs/component/Chart/ScatterPlotChart.type.js.map +1 -1
  66. package/lib/cjs/component/Chart/VennChart.type.js.map +1 -1
  67. package/lib/cjs/component/ChartLegend/BaseLegend.js +1 -1
  68. package/lib/cjs/component/ChartLegend/BaseLegend.js.map +1 -1
  69. package/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -1
  70. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +6 -6
  71. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  72. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
  73. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +23 -23
  74. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  75. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  76. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +9 -9
  77. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  78. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
  79. package/lib/cjs/component/Cigarette/Cigarette.js.map +1 -1
  80. package/lib/cjs/style/axis.shadow.css +3 -1
  81. package/lib/cjs/style/plot.shadow.css +1 -3
  82. package/lib/cjs/style/plotA11yModule.shadow.css +10 -11
  83. package/lib/cjs/style/plotA11yView.shadow.css +13 -26
  84. package/lib/cjs/types/Axis.d.js.map +1 -1
  85. package/lib/cjs/types/CompactHorizontalBar.d.js.map +1 -1
  86. package/lib/cjs/types/Hover.d.js.map +1 -1
  87. package/lib/cjs/types/Line.d.js.map +1 -1
  88. package/lib/cjs/types/Plot.d.js.map +1 -1
  89. package/lib/cjs/types/Radar.d.js.map +1 -1
  90. package/lib/cjs/types/ResponsiveContainer.d.js.map +1 -1
  91. package/lib/cjs/types/Tooltip.d.js.map +1 -1
  92. package/lib/cjs/types/Venn.d.js.map +1 -1
  93. package/lib/cjs/utils.js.map +1 -1
  94. package/lib/es6/Area.js +11 -11
  95. package/lib/es6/Axis.js +18 -16
  96. package/lib/es6/Axis.js.map +1 -1
  97. package/lib/es6/Bar.js +16 -16
  98. package/lib/es6/Bubble.js +14 -14
  99. package/lib/es6/CompactHorizontalBar.js +17 -17
  100. package/lib/es6/CompactHorizontalBar.js.map +1 -1
  101. package/lib/es6/Donut.js +9 -9
  102. package/lib/es6/Dots.js +8 -8
  103. package/lib/es6/HorizontalBar.js +17 -17
  104. package/lib/es6/HorizontalBar.js.map +1 -1
  105. package/lib/es6/Hover.js +3 -3
  106. package/lib/es6/Line.js +9 -9
  107. package/lib/es6/Plot.js +5 -8
  108. package/lib/es6/Plot.js.map +1 -1
  109. package/lib/es6/Radar.js +19 -19
  110. package/lib/es6/RadialTree.js +12 -12
  111. package/lib/es6/RadialTree.js.map +1 -1
  112. package/lib/es6/Reference.js +12 -12
  113. package/lib/es6/ResponsiveContainer.js +1 -1
  114. package/lib/es6/ResponsiveContainer.js.map +1 -1
  115. package/lib/es6/ScatterPlot.js +9 -9
  116. package/lib/es6/StackBar.js +3 -8
  117. package/lib/es6/StackBar.js.map +1 -1
  118. package/lib/es6/Tooltip.js +10 -11
  119. package/lib/es6/Tooltip.js.map +1 -1
  120. package/lib/es6/Venn.js +10 -10
  121. package/lib/es6/Venn.js.map +1 -1
  122. package/lib/es6/a11y/PlotA11yModule.js +36 -80
  123. package/lib/es6/a11y/PlotA11yModule.js.map +1 -1
  124. package/lib/es6/a11y/PlotA11yView.js +37 -10
  125. package/lib/es6/a11y/PlotA11yView.js.map +1 -1
  126. package/lib/es6/a11y/translations/module/de.json +2 -2
  127. package/lib/es6/a11y/translations/module/en.json +2 -2
  128. package/lib/es6/a11y/translations/module/es.json +2 -2
  129. package/lib/es6/a11y/translations/module/fr.json +2 -2
  130. package/lib/es6/a11y/translations/module/it.json +2 -2
  131. package/lib/es6/a11y/translations/module/ja.json +2 -2
  132. package/lib/es6/a11y/translations/module/ko.json +2 -2
  133. package/lib/es6/a11y/translations/module/nl.json +2 -2
  134. package/lib/es6/a11y/translations/module/pl.json +2 -2
  135. package/lib/es6/a11y/translations/module/pt.json +2 -2
  136. package/lib/es6/a11y/translations/module/sv.json +2 -2
  137. package/lib/es6/a11y/translations/module/tr.json +2 -2
  138. package/lib/es6/a11y/translations/module/vi.json +2 -2
  139. package/lib/es6/a11y/translations/module/zh.json +2 -2
  140. package/lib/es6/component/Chart/AbstractChart.js +5 -5
  141. package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
  142. package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
  143. package/lib/es6/component/Chart/AreaChart.js.map +1 -1
  144. package/lib/es6/component/Chart/AreaChart.type.js.map +1 -1
  145. package/lib/es6/component/Chart/BarChart.js +67 -20
  146. package/lib/es6/component/Chart/BarChart.js.map +1 -1
  147. package/lib/es6/component/Chart/BarChart.type.js.map +1 -1
  148. package/lib/es6/component/Chart/BubbleChart.type.js.map +1 -1
  149. package/lib/es6/component/Chart/CigaretteChart.js +1 -1
  150. package/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
  151. package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
  152. package/lib/es6/component/Chart/DonutChart.js +1 -1
  153. package/lib/es6/component/Chart/DonutChart.js.map +1 -1
  154. package/lib/es6/component/Chart/DonutChart.type.js.map +1 -1
  155. package/lib/es6/component/Chart/HistogramChart.type.js.map +1 -1
  156. package/lib/es6/component/Chart/LineChart.type.js.map +1 -1
  157. package/lib/es6/component/Chart/RadarChart.type.js.map +1 -1
  158. package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +1 -1
  159. package/lib/es6/component/Chart/VennChart.type.js.map +1 -1
  160. package/lib/es6/component/ChartLegend/BaseLegend.js +1 -1
  161. package/lib/es6/component/ChartLegend/BaseLegend.js.map +1 -1
  162. package/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -1
  163. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +5 -5
  164. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  165. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
  166. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +18 -18
  167. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  168. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  169. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +7 -7
  170. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  171. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
  172. package/lib/es6/component/Cigarette/Cigarette.js.map +1 -1
  173. package/lib/es6/style/axis.shadow.css +3 -1
  174. package/lib/es6/style/plot.shadow.css +1 -3
  175. package/lib/es6/style/plotA11yModule.shadow.css +10 -11
  176. package/lib/es6/style/plotA11yView.shadow.css +13 -26
  177. package/lib/es6/types/Axis.d.js.map +1 -1
  178. package/lib/es6/types/CompactHorizontalBar.d.js.map +1 -1
  179. package/lib/es6/types/Hover.d.js.map +1 -1
  180. package/lib/es6/types/Line.d.js.map +1 -1
  181. package/lib/es6/types/Plot.d.js.map +1 -1
  182. package/lib/es6/types/Radar.d.js.map +1 -1
  183. package/lib/es6/types/ResponsiveContainer.d.js.map +1 -1
  184. package/lib/es6/types/Tooltip.d.js.map +1 -1
  185. package/lib/es6/types/Venn.d.js.map +1 -1
  186. package/lib/es6/utils.js.map +1 -1
  187. package/lib/esm/AnimatedClipPath.mjs +2 -7
  188. package/lib/esm/Area.mjs +14 -14
  189. package/lib/esm/Axis.mjs +21 -19
  190. package/lib/esm/Bar.mjs +17 -17
  191. package/lib/esm/Bubble.mjs +16 -16
  192. package/lib/esm/CompactHorizontalBar.mjs +20 -19
  193. package/lib/esm/Donut.mjs +15 -13
  194. package/lib/esm/Dots.mjs +10 -10
  195. package/lib/esm/HorizontalBar.mjs +18 -18
  196. package/lib/esm/Hover.mjs +6 -6
  197. package/lib/esm/Line.mjs +12 -12
  198. package/lib/esm/Plot.mjs +7 -10
  199. package/lib/esm/Radar.mjs +23 -23
  200. package/lib/esm/RadialTree.mjs +13 -13
  201. package/lib/esm/Reference.mjs +13 -13
  202. package/lib/esm/ResponsiveContainer.mjs +2 -2
  203. package/lib/esm/ScatterPlot.mjs +12 -11
  204. package/lib/esm/StackBar.mjs +4 -9
  205. package/lib/esm/StackedArea.mjs +2 -2
  206. package/lib/esm/Tooltip.mjs +13 -16
  207. package/lib/esm/Venn.mjs +13 -12
  208. package/lib/esm/a11y/PlotA11yModule.mjs +31 -69
  209. package/lib/esm/a11y/PlotA11yView.mjs +35 -10
  210. package/lib/esm/a11y/insights.mjs +2 -1
  211. package/lib/esm/a11y/intl.mjs +1 -1
  212. package/lib/esm/a11y/translations/module/de.json.mjs +2 -4
  213. package/lib/esm/a11y/translations/module/en.json.mjs +2 -4
  214. package/lib/esm/a11y/translations/module/es.json.mjs +2 -4
  215. package/lib/esm/a11y/translations/module/fr.json.mjs +2 -4
  216. package/lib/esm/a11y/translations/module/it.json.mjs +2 -4
  217. package/lib/esm/a11y/translations/module/ja.json.mjs +2 -4
  218. package/lib/esm/a11y/translations/module/ko.json.mjs +2 -4
  219. package/lib/esm/a11y/translations/module/nl.json.mjs +2 -4
  220. package/lib/esm/a11y/translations/module/pl.json.mjs +2 -4
  221. package/lib/esm/a11y/translations/module/pt.json.mjs +2 -4
  222. package/lib/esm/a11y/translations/module/sv.json.mjs +2 -4
  223. package/lib/esm/a11y/translations/module/tr.json.mjs +2 -4
  224. package/lib/esm/a11y/translations/module/vi.json.mjs +2 -4
  225. package/lib/esm/a11y/translations/module/zh.json.mjs +2 -4
  226. package/lib/esm/component/Chart/AbstractChart.mjs +12 -10
  227. package/lib/esm/component/Chart/AreaChart.mjs +5 -4
  228. package/lib/esm/component/Chart/BarChart.mjs +44 -3
  229. package/lib/esm/component/Chart/BubbleChart.mjs +3 -2
  230. package/lib/esm/component/Chart/CigaretteChart.mjs +6 -5
  231. package/lib/esm/component/Chart/CompactHorizontalBarChart.mjs +2 -1
  232. package/lib/esm/component/Chart/DonutChart.mjs +3 -2
  233. package/lib/esm/component/Chart/HistogramChart.mjs +5 -4
  234. package/lib/esm/component/Chart/LineChart.mjs +4 -3
  235. package/lib/esm/component/Chart/RadarChart.mjs +2 -1
  236. package/lib/esm/component/Chart/ScatterPlotChart.mjs +3 -2
  237. package/lib/esm/component/Chart/VennChart.mjs +2 -1
  238. package/lib/esm/component/ChartLegend/BaseLegend.mjs +1 -1
  239. package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +7 -7
  240. package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +21 -25
  241. package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +9 -9
  242. package/lib/esm/component/ChartLegend/index.mjs +2 -0
  243. package/lib/esm/component/StackGroupBar/StackGroupBar.mjs +1 -1
  244. package/lib/esm/createElement.mjs +2 -4
  245. package/lib/esm/index.mjs +1 -0
  246. package/lib/esm/style/axis.shadow.css +3 -1
  247. package/lib/esm/style/plot.shadow.css +1 -3
  248. package/lib/esm/style/plotA11yModule.shadow.css +10 -11
  249. package/lib/esm/style/plotA11yView.shadow.css +13 -26
  250. package/lib/esm/utils.mjs +2 -2
  251. package/lib/types/Axis.d.ts +4 -0
  252. package/lib/types/CompactHorizontalBar.d.ts +1 -1
  253. package/lib/types/Hover.d.ts +1 -1
  254. package/lib/types/Line.d.ts +1 -1
  255. package/lib/types/Plot.d.ts +1 -1
  256. package/lib/types/Radar.d.ts +1 -1
  257. package/lib/types/ResponsiveContainer.d.ts +1 -1
  258. package/lib/types/Tooltip.d.ts +1 -3
  259. package/lib/types/Venn.d.ts +1 -1
  260. package/lib/types/a11y/PlotA11yModule.d.ts +4 -11
  261. package/lib/types/a11y/PlotA11yView.d.ts +13 -2
  262. package/lib/types/a11y/translations/module/__intergalactic-dynamic-locales.d.ts +14 -14
  263. package/lib/types/component/Chart/AbstractChart.d.ts +1 -1
  264. package/lib/types/component/Chart/AbstractChart.type.d.ts +1 -1
  265. package/lib/types/component/Chart/AreaChart.type.d.ts +1 -1
  266. package/lib/types/component/Chart/BarChart.type.d.ts +1 -1
  267. package/lib/types/component/Chart/BubbleChart.type.d.ts +1 -1
  268. package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +1 -1
  269. package/lib/types/component/Chart/DonutChart.type.d.ts +1 -1
  270. package/lib/types/component/Chart/HistogramChart.type.d.ts +1 -1
  271. package/lib/types/component/Chart/LineChart.type.d.ts +1 -1
  272. package/lib/types/component/Chart/RadarChart.type.d.ts +1 -1
  273. package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +1 -1
  274. package/lib/types/component/Chart/VennChart.type.d.ts +1 -1
  275. package/lib/types/component/ChartLegend/BaseLegend.d.ts +1 -1
  276. package/lib/types/component/ChartLegend/BaseLegend.type.d.ts +1 -1
  277. package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.type.d.ts +1 -1
  278. package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +1 -1
  279. package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +1 -1
  280. package/lib/types/utils.d.ts +10 -10
  281. package/package.json +19 -19
@@ -1,14 +1,12 @@
1
- const disabled = "Naciśnij Tab, aby włączyć moduł dostępności wykresów graficznych.";
2
1
  const loading = "Ładowanie modułu dostępności.";
3
2
  const failed = "Nie udało się załadować modułu dostępności. Skontaktuj się ze wsparciem użytkowników, aby pomóc nam w szybszym rozwiązaniu problemu.";
4
3
  const pl = {
5
- disabled,
6
4
  loading,
7
- failed
5
+ failed,
6
+ "PlotA11yModule.ScreenReaderOnlyButton.Label": "Otwórz podsumowanie danych"
8
7
  };
9
8
  export {
10
9
  pl as default,
11
- disabled,
12
10
  failed,
13
11
  loading
14
12
  };
@@ -1,14 +1,12 @@
1
- const disabled = 'Pressione "Tab" para habilitar o módulo de acessibilidade a gráficos.';
2
1
  const loading = "Carregando módulo de acessibilidade.";
3
2
  const failed = "Falha ao carregar o módulo de acessibilidade. Entre em contato com o suporte ao usuário do serviço para nos ajudar a resolver o problema com mais rapidez.";
4
3
  const pt = {
5
- disabled,
6
4
  loading,
7
- failed
5
+ failed,
6
+ "PlotA11yModule.ScreenReaderOnlyButton.Label": "Abrir resumo dos dados"
8
7
  };
9
8
  export {
10
9
  pt as default,
11
- disabled,
12
10
  failed,
13
11
  loading
14
12
  };
@@ -1,14 +1,12 @@
1
- const disabled = 'Tryck på "Flik" för att aktivera åtkomstmodulen för grafiska diagram.';
2
1
  const loading = "Laddar åtkomstmodul.";
3
2
  const failed = "Det gick inte att ladda åtkomstmodulen. Kontakta supporten för att hjälpa oss att lösa problemet snabbare.";
4
3
  const sv = {
5
- disabled,
6
4
  loading,
7
- failed
5
+ failed,
6
+ "PlotA11yModule.ScreenReaderOnlyButton.Label": "Öppna sammanfattning av data"
8
7
  };
9
8
  export {
10
9
  sv as default,
11
- disabled,
12
10
  failed,
13
11
  loading
14
12
  };
@@ -1,14 +1,12 @@
1
- const disabled = 'Grafik çizelgeleri erişilebilirlik modülünü etkinleştirmek için "Sekme" tuşuna basın.';
2
1
  const loading = "Erişilebilirlik modülü yükleniyor.";
3
2
  const failed = "Erişilebilirlik modülü yüklenemedi. Sorunu daha hızlı çözmemize yardımcı olmak için kullanıcı destek hizmeti ile iletişime geçin.";
4
3
  const tr = {
5
- disabled,
6
4
  loading,
7
- failed
5
+ failed,
6
+ "PlotA11yModule.ScreenReaderOnlyButton.Label": "Veri özetini aç"
8
7
  };
9
8
  export {
10
9
  tr as default,
11
- disabled,
12
10
  failed,
13
11
  loading
14
12
  };
@@ -1,14 +1,12 @@
1
- const disabled = 'Nhấn "Tab" để bật mô-đun trợ năng biểu đồ đồ họa.';
2
1
  const loading = "Đang tải mô-đun trợ năng.";
3
2
  const failed = "Không tải được mô-đun trợ năng. Liên hệ với bộ phận hỗ trợ người dùng dịch vụ để giúp chúng tôi giải quyết vấn đề nhanh hơn.";
4
3
  const vi = {
5
- disabled,
6
4
  loading,
7
- failed
5
+ failed,
6
+ "PlotA11yModule.ScreenReaderOnlyButton.Label": "Mở tóm tắt dữ liệu"
8
7
  };
9
8
  export {
10
9
  vi as default,
11
- disabled,
12
10
  failed,
13
11
  loading
14
12
  };
@@ -1,14 +1,12 @@
1
- const disabled = "按“Tab”启用图形图表访问模块。";
2
1
  const loading = "加载访问模块。";
3
2
  const failed = "无法加载访问模块。联系服务用户支持,以帮助我们更快地解决问题。";
4
3
  const zh = {
5
- disabled,
6
4
  loading,
7
- failed
5
+ failed,
6
+ "PlotA11yModule.ScreenReaderOnlyButton.Label": "打开数据摘要"
8
7
  };
9
8
  export {
10
9
  zh as default,
11
- disabled,
12
10
  failed,
13
11
  loading
14
12
  };
@@ -7,30 +7,32 @@ import _callSuper from "@babel/runtime/helpers/esm/callSuper";
7
7
  import _inherits from "@babel/runtime/helpers/esm/inherits";
8
8
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
9
9
  import { sstyled, assignProps, Component } from "@semcore/core";
10
+ import { Box, Flex } from "@semcore/base-components";
10
11
  import { extractAriaProps } from "@semcore/core/lib/utils/ariaProps";
11
12
  import { callAllEventHandlers } from "@semcore/core/lib/utils/assignProps";
12
- import { Flex, Box } from "@semcore/flex-box";
13
13
  import { Text } from "@semcore/typography";
14
14
  import React, { Fragment } from "react";
15
- import Plot from "../../Plot.mjs";
16
- import { LegendFlex } from "../ChartLegend/LegendFlex/LegendFlex.mjs";
15
+ import "../../index.mjs";
16
+ import { makeDataHintsContainer } from "../../a11y/hints.mjs";
17
+ import { interpolateValue } from "../../utils.mjs";
18
+ import "../ChartLegend/index.mjs";
17
19
  import { LegendTable } from "../ChartLegend/LegendTable/LegendTable.mjs";
20
+ import { LegendFlex } from "../ChartLegend/LegendFlex/LegendFlex.mjs";
18
21
  import { YAxis, XAxis } from "../../Axis.mjs";
19
- import { interpolateValue } from "../../utils.mjs";
20
- import { makeDataHintsContainer } from "../../a11y/hints.mjs";
22
+ import Plot from "../../Plot.mjs";
21
23
  /*!__reshadow-styles__:"../../style/abstract-chart.shadow.css"*/
22
24
  var style = (
23
25
  /*__reshadow_css_start__*/
24
26
  (sstyled.insert(
25
27
  /*__inner_css_start__*/
26
- ".___STooltipChildrenWrapper_xivl6_gg_{display:grid;grid-column-gap:var(--intergalactic-spacing-2x, 8px);-moz-column-gap:var(--intergalactic-spacing-2x, 8px);column-gap:var(--intergalactic-spacing-2x, 8px)}.___STooltipChildrenWrapper_xivl6_gg_._columnsCount_2_xivl6_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_xivl6_gg_._columnsCount_3_xivl6_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}",
28
+ ".___STooltipChildrenWrapper_q3xi3_gg_{display:grid;grid-column-gap:var(--intergalactic-spacing-2x, 8px);-moz-column-gap:var(--intergalactic-spacing-2x, 8px);column-gap:var(--intergalactic-spacing-2x, 8px)}.___STooltipChildrenWrapper_q3xi3_gg_._columnsCount_2_q3xi3_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_q3xi3_gg_._columnsCount_3_q3xi3_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}",
27
29
  /*__inner_css_end__*/
28
- "xivl6_gg_"
30
+ "q3xi3_gg_"
29
31
  ), /*__reshadow_css_end__*/
30
32
  {
31
- "__STooltipChildrenWrapper": "___STooltipChildrenWrapper_xivl6_gg_",
32
- "_columnsCount_2": "_columnsCount_2_xivl6_gg_",
33
- "_columnsCount_3": "_columnsCount_3_xivl6_gg_"
33
+ "__STooltipChildrenWrapper": "___STooltipChildrenWrapper_q3xi3_gg_",
34
+ "_columnsCount_2": "_columnsCount_2_q3xi3_gg_",
35
+ "_columnsCount_3": "_columnsCount_3_q3xi3_gg_"
34
36
  })
35
37
  );
36
38
  var NOT_A_VALUE = "n/a";
@@ -9,12 +9,13 @@ import { createComponent } from "@semcore/core";
9
9
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
10
  import { scaleTime, scaleLinear } from "d3-scale";
11
11
  import React from "react";
12
- import Area from "../../Area.mjs";
13
- import StackedArea from "../../StackedArea.mjs";
14
- import { HoverLine } from "../../Hover.mjs";
15
- import { minMax } from "../../utils.mjs";
12
+ import "../../index.mjs";
16
13
  import { AbstractChart } from "./AbstractChart.mjs";
17
14
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
+ import { minMax } from "../../utils.mjs";
16
+ import StackedArea from "../../StackedArea.mjs";
17
+ import Area from "../../Area.mjs";
18
+ import { HoverLine } from "../../Hover.mjs";
18
19
  var AreaChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
19
20
  function AreaChartComponent2() {
20
21
  _classCallCheck(this, AreaChartComponent2);
@@ -11,12 +11,14 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
11
11
  import { scaleTime, scaleBand, scaleLinear } from "d3-scale";
12
12
  import React from "react";
13
13
  import { AbstractChart } from "./AbstractChart.mjs";
14
+ import "../../index.mjs";
15
+ import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
14
16
  import Line from "../../Line.mjs";
15
17
  import GroupBar from "../../GroupBar.mjs";
16
18
  import StackBar from "../../StackBar.mjs";
17
19
  import { HoverRect } from "../../Hover.mjs";
20
+ import { YAxis, XAxis } from "../../Axis.mjs";
18
21
  import { minMax } from "../../utils.mjs";
19
- import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
20
22
  var BarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
21
23
  function BarChartComponent2() {
22
24
  var _this;
@@ -173,6 +175,45 @@ var BarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
173
175
  };
174
176
  });
175
177
  }
178
+ }, {
179
+ key: "renderAxis",
180
+ value: function renderAxis() {
181
+ var _this$asProps6 = this.asProps, invertAxis = _this$asProps6.invertAxis, showXAxis = _this$asProps6.showXAxis, showYAxis = _this$asProps6.showYAxis, data = _this$asProps6.data, axisXValueFormatter = _this$asProps6.axisXValueFormatter, axisYValueFormatter = _this$asProps6.axisYValueFormatter, multilineXTicks = _this$asProps6.multilineXTicks, multilineYTicks = _this$asProps6.multilineYTicks;
182
+ if (!Array.isArray(data)) {
183
+ return null;
184
+ }
185
+ var xTicks = this.xTicks;
186
+ var yTicks = this.yTicks;
187
+ var childrenX = axisXValueFormatter ? function(_ref2) {
188
+ var value = _ref2.value;
189
+ return {
190
+ children: axisXValueFormatter(value)
191
+ };
192
+ } : void 0;
193
+ var childrenY = axisYValueFormatter ? function(_ref3) {
194
+ var value = _ref3.value;
195
+ return {
196
+ children: axisYValueFormatter(value)
197
+ };
198
+ } : void 0;
199
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, showYAxis && /* @__PURE__ */ React.createElement(YAxis, null, yTicks ? /* @__PURE__ */ React.createElement(YAxis.Ticks, {
200
+ primaryText: invertAxis,
201
+ multiline: multilineYTicks,
202
+ ticks: yTicks
203
+ }, childrenY) : /* @__PURE__ */ React.createElement(YAxis.Ticks, {
204
+ primaryText: invertAxis,
205
+ multiline: multilineYTicks
206
+ }, childrenY), invertAxis !== true && (yTicks ? /* @__PURE__ */ React.createElement(YAxis.Grid, {
207
+ ticks: yTicks
208
+ }) : /* @__PURE__ */ React.createElement(YAxis.Grid, null))), showXAxis && /* @__PURE__ */ React.createElement(XAxis, null, xTicks ? /* @__PURE__ */ React.createElement(XAxis.Ticks, {
209
+ multiline: multilineXTicks,
210
+ ticks: xTicks
211
+ }, childrenX) : /* @__PURE__ */ React.createElement(XAxis.Ticks, {
212
+ multiline: multilineXTicks
213
+ }, childrenX), invertAxis === true && (xTicks ? /* @__PURE__ */ React.createElement(XAxis.Grid, {
214
+ ticks: xTicks
215
+ }) : /* @__PURE__ */ React.createElement(XAxis.Grid, null))));
216
+ }
176
217
  }, {
177
218
  key: "getLegendAriaLabel",
178
219
  value: function getLegendAriaLabel() {
@@ -183,7 +224,7 @@ var BarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
183
224
  }, {
184
225
  key: "categoryScale",
185
226
  get: function get() {
186
- var _this$asProps6 = this.asProps, _this$asProps6$margin = _this$asProps6.marginY, marginY = _this$asProps6$margin === void 0 ? 40 : _this$asProps6$margin, _this$asProps6$margin2 = _this$asProps6.marginX, marginX = _this$asProps6$margin2 === void 0 ? 24 : _this$asProps6$margin2, plotWidth = _this$asProps6.plotWidth, plotHeight = _this$asProps6.plotHeight, invertAxis = _this$asProps6.invertAxis, data = _this$asProps6.data, groupKey = _this$asProps6.groupKey;
227
+ var _this$asProps7 = this.asProps, _this$asProps7$margin = _this$asProps7.marginY, marginY = _this$asProps7$margin === void 0 ? 40 : _this$asProps7$margin, _this$asProps7$margin2 = _this$asProps7.marginX, marginX = _this$asProps7$margin2 === void 0 ? 24 : _this$asProps7$margin2, plotWidth = _this$asProps7.plotWidth, plotHeight = _this$asProps7.plotHeight, invertAxis = _this$asProps7.invertAxis, data = _this$asProps7.data, groupKey = _this$asProps7.groupKey;
187
228
  var testItem = data[0][groupKey];
188
229
  var range = invertAxis ? [plotHeight - marginX, this.plotPadding] : [marginY, plotWidth - this.plotPadding];
189
230
  if (testItem instanceof Date && !Number.isNaN(testItem.getMilliseconds())) {
@@ -198,7 +239,7 @@ var BarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
198
239
  }, {
199
240
  key: "valueScale",
200
241
  get: function get() {
201
- var _this$asProps7 = this.asProps, _this$asProps7$margin = _this$asProps7.marginY, marginY = _this$asProps7$margin === void 0 ? 40 : _this$asProps7$margin, _this$asProps7$margin2 = _this$asProps7.marginX, marginX = _this$asProps7$margin2 === void 0 ? 24 : _this$asProps7$margin2, plotWidth = _this$asProps7.plotWidth, plotHeight = _this$asProps7.plotHeight, invertAxis = _this$asProps7.invertAxis, type = _this$asProps7.type;
242
+ var _this$asProps8 = this.asProps, _this$asProps8$margin = _this$asProps8.marginY, marginY = _this$asProps8$margin === void 0 ? 40 : _this$asProps8$margin, _this$asProps8$margin2 = _this$asProps8.marginX, marginX = _this$asProps8$margin2 === void 0 ? 24 : _this$asProps8$margin2, plotWidth = _this$asProps8.plotWidth, plotHeight = _this$asProps8.plotHeight, invertAxis = _this$asProps8.invertAxis, type = _this$asProps8.type;
202
243
  var max = type === "stack" ? _superPropGet(BarChartComponent2, "maxStackedValue", this, 1) : Math.max.apply(Math, _toConsumableArray(_superPropGet(BarChartComponent2, "flatValues", this, 1)));
203
244
  return scaleLinear().range(invertAxis ? [marginY, plotWidth - this.plotPadding] : [plotHeight - marginX, this.plotPadding]).domain([0, max]);
204
245
  }
@@ -8,10 +8,11 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
8
8
  import { Text } from "@semcore/typography";
9
9
  import { scaleLinear } from "d3-scale";
10
10
  import React from "react";
11
- import Bubble from "../../Bubble.mjs";
12
- import { calculateBubbleDomain } from "../../utils.mjs";
11
+ import "../../index.mjs";
13
12
  import { AbstractChart } from "./AbstractChart.mjs";
14
13
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
14
+ import { calculateBubbleDomain } from "../../utils.mjs";
15
+ import Bubble from "../../Bubble.mjs";
15
16
  var BubbleChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
16
17
  function BubbleChartComponent2() {
17
18
  _classCallCheck(this, BubbleChartComponent2);
@@ -8,23 +8,24 @@ import _callSuper from "@babel/runtime/helpers/esm/callSuper";
8
8
  import _superPropGet from "@babel/runtime/helpers/esm/superPropGet";
9
9
  import _inherits from "@babel/runtime/helpers/esm/inherits";
10
10
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
11
- import { createComponent, sstyled, assignProps } from "@semcore/core";
11
+ import { sstyled, assignProps, createComponent } from "@semcore/core";
12
+ import { Box, Flex } from "@semcore/base-components";
12
13
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
13
14
  import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
14
15
  import trottle from "@semcore/core/lib/utils/rafTrottle";
15
16
  import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
16
17
  import Divider from "@semcore/divider";
17
- import { Box, Flex } from "@semcore/flex-box";
18
18
  import { Text } from "@semcore/typography";
19
19
  import { scaleLinear, scaleThreshold } from "d3-scale";
20
20
  import React from "react";
21
- import Plot from "../../Plot.mjs";
22
- import { HoverRect } from "../../Hover.mjs";
23
- import { interpolateValue, eventToPoint } from "../../utils.mjs";
21
+ import "../../index.mjs";
24
22
  import { NOT_A_VALUE, AbstractChart } from "./AbstractChart.mjs";
25
23
  import AnimatedClipPath from "../../AnimatedClipPath.mjs";
26
24
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
25
+ import { eventToPoint, interpolateValue } from "../../utils.mjs";
27
26
  import Cigarette from "../Cigarette/Cigarette.mjs";
27
+ import { HoverRect } from "../../Hover.mjs";
28
+ import Plot from "../../Plot.mjs";
28
29
  var DEFAULT_MINIMAL_BAR_WIDTH = 2;
29
30
  var DEFAULT_GAP = 2;
30
31
  var CigaretteChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
@@ -9,9 +9,10 @@ import { createComponent } from "@semcore/core";
9
9
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
10
  import { scaleBand, scaleLinear } from "d3-scale";
11
11
  import React from "react";
12
- import CompactHorizontalBar from "../../CompactHorizontalBar.mjs";
12
+ import "../../index.mjs";
13
13
  import { AbstractChart } from "./AbstractChart.mjs";
14
14
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
+ import CompactHorizontalBar from "../../CompactHorizontalBar.mjs";
15
16
  var CompactHorizontalBarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
16
17
  function CompactHorizontalBarChartComponent2() {
17
18
  _classCallCheck(this, CompactHorizontalBarChartComponent2);
@@ -3,15 +3,16 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
3
3
  import _callSuper from "@babel/runtime/helpers/esm/callSuper";
4
4
  import _inherits from "@babel/runtime/helpers/esm/inherits";
5
5
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
6
+ import { Flex } from "@semcore/base-components";
6
7
  import { createComponent } from "@semcore/core";
7
8
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
8
- import { Flex } from "@semcore/flex-box";
9
9
  import { Text } from "@semcore/typography";
10
10
  import { scaleLinear } from "d3-scale";
11
11
  import React from "react";
12
- import Donut from "../../Donut.mjs";
12
+ import "../../index.mjs";
13
13
  import { AbstractChart } from "./AbstractChart.mjs";
14
14
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
+ import Donut from "../../Donut.mjs";
15
16
  var DonutChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
16
17
  function DonutChartComponent2() {
17
18
  _classCallCheck(this, DonutChartComponent2);
@@ -10,12 +10,13 @@ import { createComponent } from "@semcore/core";
10
10
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
11
11
  import { scaleTime, scaleBand, scaleLinear } from "d3-scale";
12
12
  import React from "react";
13
- import Bar from "../../Bar.mjs";
14
- import StackBar from "../../StackBar.mjs";
15
- import { HoverRect } from "../../Hover.mjs";
16
- import { minMax } from "../../utils.mjs";
13
+ import "../../index.mjs";
17
14
  import { AbstractChart } from "./AbstractChart.mjs";
18
15
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
16
+ import { minMax } from "../../utils.mjs";
17
+ import StackBar from "../../StackBar.mjs";
18
+ import Bar from "../../Bar.mjs";
19
+ import { HoverRect } from "../../Hover.mjs";
19
20
  var HistogramChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
20
21
  function HistogramChartComponent2() {
21
22
  _classCallCheck(this, HistogramChartComponent2);
@@ -9,11 +9,12 @@ import { createComponent } from "@semcore/core";
9
9
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
10
  import { scaleTime, scaleLinear } from "d3-scale";
11
11
  import React from "react";
12
- import Line from "../../Line.mjs";
13
- import { HoverLine } from "../../Hover.mjs";
14
- import { minMax } from "../../utils.mjs";
12
+ import "../../index.mjs";
15
13
  import { AbstractChart } from "./AbstractChart.mjs";
16
14
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
+ import { minMax } from "../../utils.mjs";
16
+ import Line from "../../Line.mjs";
17
+ import { HoverLine } from "../../Hover.mjs";
17
18
  var LineChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
18
19
  function LineChartComponent2() {
19
20
  _classCallCheck(this, LineChartComponent2);
@@ -10,8 +10,9 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
10
  import { scaleLinear } from "d3-scale";
11
11
  import React from "react";
12
12
  import { AbstractChart } from "./AbstractChart.mjs";
13
- import Radar from "../../Radar.mjs";
13
+ import "../../index.mjs";
14
14
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
+ import Radar from "../../Radar.mjs";
15
16
  var RadarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
16
17
  function RadarChartComponent2() {
17
18
  _classCallCheck(this, RadarChartComponent2);
@@ -10,10 +10,11 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
10
  import { Text } from "@semcore/typography";
11
11
  import { scaleTime, scaleLinear } from "d3-scale";
12
12
  import React from "react";
13
- import ScatterPlot from "../../ScatterPlot.mjs";
14
- import { getScatterPlotRadius, minMax } from "../../utils.mjs";
13
+ import "../../index.mjs";
15
14
  import { AbstractChart } from "./AbstractChart.mjs";
16
15
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
16
+ import { getScatterPlotRadius, minMax } from "../../utils.mjs";
17
+ import ScatterPlot from "../../ScatterPlot.mjs";
17
18
  var ScatterPlotChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
18
19
  function ScatterPlotChartComponent2() {
19
20
  _classCallCheck(this, ScatterPlotChartComponent2);
@@ -8,9 +8,10 @@ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
8
8
  import { Text } from "@semcore/typography";
9
9
  import { scaleLinear } from "d3-scale";
10
10
  import React from "react";
11
- import Venn from "../../Venn.mjs";
11
+ import "../../index.mjs";
12
12
  import { AbstractChart } from "./AbstractChart.mjs";
13
13
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
14
+ import Venn from "../../Venn.mjs";
14
15
  var VennChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
15
16
  function VennChartComponent2() {
16
17
  _classCallCheck(this, VennChartComponent2);
@@ -9,10 +9,10 @@ import { makeDataHintsHandlers } from "../../a11y/hints.mjs";
9
9
  var BaseLegend = /* @__PURE__ */ (function(_Component) {
10
10
  function BaseLegend2() {
11
11
  var _this;
12
- _classCallCheck(this, BaseLegend2);
13
12
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
14
13
  args[_key] = arguments[_key];
15
14
  }
15
+ _classCallCheck(this, BaseLegend2);
16
16
  _this = _callSuper(this, BaseLegend2, [].concat(args));
17
17
  _defineProperty(_this, "onChangeLegendItem", function(shape) {
18
18
  return function(id, checked) {
@@ -4,11 +4,11 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
4
4
  import _callSuper from "@babel/runtime/helpers/esm/callSuper";
5
5
  import _inherits from "@babel/runtime/helpers/esm/inherits";
6
6
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
7
- import { createComponent, sstyled, assignProps } from "@semcore/core";
7
+ import { sstyled, assignProps, createComponent } from "@semcore/core";
8
+ import { Flex } from "@semcore/base-components";
8
9
  import Checkbox from "@semcore/checkbox";
9
10
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
11
  import Divider from "@semcore/divider";
11
- import { Flex } from "@semcore/flex-box";
12
12
  import React from "react";
13
13
  import { localizedMessages } from "../../../translations/__intergalactic-dynamic-locales.mjs";
14
14
  import { BaseLegend } from "../BaseLegend.mjs";
@@ -18,14 +18,14 @@ var style = (
18
18
  /*__reshadow_css_start__*/
19
19
  (sstyled.insert(
20
20
  /*__inner_css_start__*/
21
- ".___SLegendFlex_s6sbj_gg_._direction_row_s6sbj_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_s6sbj_gg_._direction_column_s6sbj_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}",
21
+ ".___SLegendFlex_5sqwz_gg_._direction_row_5sqwz_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_5sqwz_gg_._direction_column_5sqwz_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}",
22
22
  /*__inner_css_end__*/
23
- "s6sbj_gg_"
23
+ "5sqwz_gg_"
24
24
  ), /*__reshadow_css_end__*/
25
25
  {
26
- "__SLegendFlex": "___SLegendFlex_s6sbj_gg_",
27
- "_direction_row": "_direction_row_s6sbj_gg_",
28
- "_direction_column": "_direction_column_s6sbj_gg_"
26
+ "__SLegendFlex": "___SLegendFlex_5sqwz_gg_",
27
+ "_direction_row": "_direction_row_5sqwz_gg_",
28
+ "_direction_column": "_direction_column_5sqwz_gg_"
29
29
  })
30
30
  );
31
31
  var LegendFlexRoot = /* @__PURE__ */ (function(_BaseLegend) {
@@ -5,11 +5,11 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
5
5
  import _callSuper from "@babel/runtime/helpers/esm/callSuper";
6
6
  import _inherits from "@babel/runtime/helpers/esm/inherits";
7
7
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
8
- import { createComponent, sstyled, assignProps, Component } from "@semcore/core";
8
+ import { sstyled, assignProps, Component, createComponent } from "@semcore/core";
9
+ import { Flex, Box } from "@semcore/base-components";
9
10
  import Checkbox from "@semcore/checkbox";
10
11
  import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
11
12
  import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
12
- import { Flex, Box } from "@semcore/flex-box";
13
13
  import { Text } from "@semcore/typography";
14
14
  import React from "react";
15
15
  import { StaticShapes } from "./LegendItem.type.mjs";
@@ -21,27 +21,27 @@ var style = (
21
21
  /*__reshadow_css_start__*/
22
22
  (sstyled.insert(
23
23
  /*__inner_css_start__*/
24
- '.___SLegendItem_1onj5_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1onj5_gg_:hover{cursor:pointer}.___SLegendItem_1onj5_gg_.__disabled_1onj5_gg_:hover{cursor:default}}.___SPointShape_1onj5_gg_.__color_1onj5_gg_{background-color:var(--color_1onj5);margin-right:8px;flex-shrink:0}.___SPointShape_1onj5_gg_._shape_Circle_1onj5_gg_._size_l_1onj5_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1onj5_gg_._shape_Circle_1onj5_gg_._size_m_1onj5_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1onj5_gg_._shape_Line_1onj5_gg_._size_l_1onj5_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1onj5_gg_._shape_Line_1onj5_gg_._size_m_1onj5_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1onj5_gg_._shape_Square_1onj5_gg_._size_l_1onj5_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1onj5_gg_._shape_Square_1onj5_gg_._size_m_1onj5_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1onj5_gg_._shape_Pattern_1onj5_gg_{background-color:transparent;margin-right:4px}.___SIcon_1onj5_gg_{line-height:0;margin-right:4px}.___SIcon_1onj5_gg_._size_l_1onj5_gg_{margin-top:4px}.___SIcon_1onj5_gg_._size_m_1onj5_gg_{margin-top:2px}.___SLabel_1onj5_gg_{min-width:0}.___SAdditionalLabel_1onj5_gg_._size_l_1onj5_gg_,.___SCount_1onj5_gg_._size_l_1onj5_gg_,.___SLabel_1onj5_gg_._size_l_1onj5_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1onj5_gg_._size_m_1onj5_gg_,.___SCount_1onj5_gg_._size_m_1onj5_gg_,.___SLabel_1onj5_gg_._size_m_1onj5_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1onj5_gg_,.___SCount_1onj5_gg_{margin-left:4px}.___SAdditionalLabel_1onj5_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1onj5_gg_::before{content:"";display:inline-block;background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));height:4px;width:4px;border-radius:2px;margin-right:4px}@supports (color:color(display-p3 0 0 0%)){.___SAdditionalLabel_1onj5_gg_::before{background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SAdditionalLabel_1onj5_gg_::before{background-color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SAdditionalLabel_1onj5_gg_._size_l_1onj5_gg_::before{margin-top:10px}.___SAdditionalLabel_1onj5_gg_._size_m_1onj5_gg_::before{margin-top:8px}.___SPatternSymbol_1onj5_gg_{transform:scale(.8)}',
24
+ '.___SLegendItem_1v96z_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1v96z_gg_:hover{cursor:pointer}.___SLegendItem_1v96z_gg_.__disabled_1v96z_gg_:hover{cursor:default}}.___SPointShape_1v96z_gg_.__color_1v96z_gg_{background-color:var(--color_1v96z);margin-right:8px;flex-shrink:0}.___SPointShape_1v96z_gg_._shape_Circle_1v96z_gg_._size_l_1v96z_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1v96z_gg_._shape_Circle_1v96z_gg_._size_m_1v96z_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1v96z_gg_._shape_Line_1v96z_gg_._size_l_1v96z_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1v96z_gg_._shape_Line_1v96z_gg_._size_m_1v96z_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1v96z_gg_._shape_Square_1v96z_gg_._size_l_1v96z_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1v96z_gg_._shape_Square_1v96z_gg_._size_m_1v96z_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1v96z_gg_._shape_Pattern_1v96z_gg_{background-color:transparent;margin-right:4px}.___SIcon_1v96z_gg_{line-height:0;margin-right:4px}.___SIcon_1v96z_gg_._size_l_1v96z_gg_{margin-top:4px}.___SIcon_1v96z_gg_._size_m_1v96z_gg_{margin-top:2px}.___SLabel_1v96z_gg_{min-width:0}.___SAdditionalLabel_1v96z_gg_._size_l_1v96z_gg_,.___SCount_1v96z_gg_._size_l_1v96z_gg_,.___SLabel_1v96z_gg_._size_l_1v96z_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1v96z_gg_._size_m_1v96z_gg_,.___SCount_1v96z_gg_._size_m_1v96z_gg_,.___SLabel_1v96z_gg_._size_m_1v96z_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1v96z_gg_,.___SCount_1v96z_gg_{margin-left:4px}.___SAdditionalLabel_1v96z_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1v96z_gg_::before{content:"";display:inline-block;background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));height:4px;width:4px;border-radius:2px;margin-right:4px}@supports (color:color(display-p3 0 0 0%)){.___SAdditionalLabel_1v96z_gg_::before{background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SAdditionalLabel_1v96z_gg_::before{background-color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SAdditionalLabel_1v96z_gg_._size_l_1v96z_gg_::before{margin-top:10px}.___SAdditionalLabel_1v96z_gg_._size_m_1v96z_gg_::before{margin-top:8px}.___SPatternSymbol_1v96z_gg_{transform:scale(.8)}',
25
25
  /*__inner_css_end__*/
26
- "1onj5_gg_"
26
+ "1v96z_gg_"
27
27
  ), /*__reshadow_css_end__*/
28
28
  {
29
- "__SLegendItem": "___SLegendItem_1onj5_gg_",
30
- "_disabled": "__disabled_1onj5_gg_",
31
- "__SPointShape": "___SPointShape_1onj5_gg_",
32
- "_color": "__color_1onj5_gg_",
33
- "--color": "--color_1onj5",
34
- "_shape_Circle": "_shape_Circle_1onj5_gg_",
35
- "_size_l": "_size_l_1onj5_gg_",
36
- "_size_m": "_size_m_1onj5_gg_",
37
- "_shape_Line": "_shape_Line_1onj5_gg_",
38
- "_shape_Square": "_shape_Square_1onj5_gg_",
39
- "_shape_Pattern": "_shape_Pattern_1onj5_gg_",
40
- "__SIcon": "___SIcon_1onj5_gg_",
41
- "__SLabel": "___SLabel_1onj5_gg_",
42
- "__SAdditionalLabel": "___SAdditionalLabel_1onj5_gg_",
43
- "__SCount": "___SCount_1onj5_gg_",
44
- "__SPatternSymbol": "___SPatternSymbol_1onj5_gg_"
29
+ "__SLegendItem": "___SLegendItem_1v96z_gg_",
30
+ "_disabled": "__disabled_1v96z_gg_",
31
+ "__SPointShape": "___SPointShape_1v96z_gg_",
32
+ "_color": "__color_1v96z_gg_",
33
+ "--color": "--color_1v96z",
34
+ "_shape_Circle": "_shape_Circle_1v96z_gg_",
35
+ "_size_l": "_size_l_1v96z_gg_",
36
+ "_size_m": "_size_m_1v96z_gg_",
37
+ "_shape_Line": "_shape_Line_1v96z_gg_",
38
+ "_shape_Square": "_shape_Square_1v96z_gg_",
39
+ "_shape_Pattern": "_shape_Pattern_1v96z_gg_",
40
+ "__SIcon": "___SIcon_1v96z_gg_",
41
+ "__SLabel": "___SLabel_1v96z_gg_",
42
+ "__SAdditionalLabel": "___SAdditionalLabel_1v96z_gg_",
43
+ "__SCount": "___SCount_1v96z_gg_",
44
+ "__SPatternSymbol": "___SPatternSymbol_1v96z_gg_"
45
45
  })
46
46
  );
47
47
  var enhance = [resolveColorEnhance(), uniqueIDEnhancement()];
@@ -95,11 +95,7 @@ var LegendItemRoot = /* @__PURE__ */ (function(_Component) {
95
95
  }, {
96
96
  key: "getLabelProps",
97
97
  value: function getLabelProps() {
98
- var _this$asProps2 = this.asProps, id = _this$asProps2.id, checked = _this$asProps2.checked;
99
- _this$asProps2.color;
100
- var onChangeLegendItem = _this$asProps2.onChangeLegendItem;
101
- _this$asProps2.shape;
102
- var props = _objectWithoutProperties(_this$asProps2, _excluded);
98
+ var _this$asProps2 = this.asProps, id = _this$asProps2.id, checked = _this$asProps2.checked, _color = _this$asProps2.color, onChangeLegendItem = _this$asProps2.onChangeLegendItem, _shape = _this$asProps2.shape, props = _objectWithoutProperties(_this$asProps2, _excluded);
103
99
  return _objectSpread(_objectSpread({}, props), {}, {
104
100
  id: this.getUniqueID(),
105
101
  checked,
@@ -4,8 +4,8 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
4
4
  import _callSuper from "@babel/runtime/helpers/esm/callSuper";
5
5
  import _inherits from "@babel/runtime/helpers/esm/inherits";
6
6
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
7
- import { createComponent, sstyled, assignProps } from "@semcore/core";
8
- import { Box } from "@semcore/flex-box";
7
+ import { sstyled, assignProps, createComponent } from "@semcore/core";
8
+ import { Box } from "@semcore/base-components";
9
9
  import React from "react";
10
10
  import { BaseLegend } from "../BaseLegend.mjs";
11
11
  import { LegendItemComponent } from "../LegendItem/LegendItem.mjs";
@@ -14,16 +14,16 @@ var style = (
14
14
  /*__reshadow_css_start__*/
15
15
  (sstyled.insert(
16
16
  /*__inner_css_start__*/
17
- '.___SLegendTable_p31b3_gg_.__columns-count_p31b3_gg_{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_p31b3_gg_._size_l_p31b3_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_p31b3_gg_._size_m_p31b3_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}',
17
+ '.___SLegendTable_9jglg_gg_.__columns-count_9jglg_gg_{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_9jglg_gg_._size_l_9jglg_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_9jglg_gg_._size_m_9jglg_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}',
18
18
  /*__inner_css_end__*/
19
- "p31b3_gg_"
19
+ "9jglg_gg_"
20
20
  ), /*__reshadow_css_end__*/
21
21
  {
22
- "__SLegendTable": "___SLegendTable_p31b3_gg_",
23
- "_columns-count": "__columns-count_p31b3_gg_",
24
- "__SColumnItem": "___SColumnItem_p31b3_gg_",
25
- "_size_l": "_size_l_p31b3_gg_",
26
- "_size_m": "_size_m_p31b3_gg_"
22
+ "__SLegendTable": "___SLegendTable_9jglg_gg_",
23
+ "_columns-count": "__columns-count_9jglg_gg_",
24
+ "__SColumnItem": "___SColumnItem_9jglg_gg_",
25
+ "_size_l": "_size_l_9jglg_gg_",
26
+ "_size_m": "_size_m_9jglg_gg_"
27
27
  })
28
28
  );
29
29
  var LegendTableRoot = /* @__PURE__ */ (function(_BaseLegend) {
@@ -1,5 +1,7 @@
1
1
  import { LegendFlex } from "./LegendFlex/LegendFlex.mjs";
2
+ import { LegendTable } from "./LegendTable/LegendTable.mjs";
2
3
  export {
3
4
  LegendFlex as ChartLegend,
5
+ LegendTable as ChartLegendTable,
4
6
  LegendFlex as default
5
7
  };
@@ -12,7 +12,7 @@ import React from "react";
12
12
  import Bar, { MIN_HEIGHT } from "../../Bar.mjs";
13
13
  import createElement from "../../createElement.mjs";
14
14
  import { scaleToBand, getChartDefaultColorName } from "../../utils.mjs";
15
- var XY0 = Symbol("XY0");
15
+ var XY0 = /* @__PURE__ */ Symbol("XY0");
16
16
  var StackGroupBarRoot = /* @__PURE__ */ (function(_Component) {
17
17
  function StackGroupBarRoot2(props) {
18
18
  var _this;
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
- import { createComponent, createBaseComponent, CONTEXT_COMPONENT } from "@semcore/core";
4
+ import { CONTEXT_COMPONENT, createBaseComponent, createComponent } from "@semcore/core";
5
5
  import assignProps from "@semcore/core/lib/utils/assignProps";
6
6
  import getOriginChildren from "@semcore/core/lib/utils/getOriginChildren";
7
7
  import propsForElement from "@semcore/core/lib/utils/propsForElement";
@@ -14,9 +14,7 @@ var EXCLUDE_PROPS = ["data", "scale"];
14
14
  function createElementRender() {
15
15
  var Element = /* @__PURE__ */ React.forwardRef(function(_ref, ref) {
16
16
  var render = _ref.render, _ref$childrenPosition = _ref.childrenPosition, childrenPosition = _ref$childrenPosition === void 0 ? "below" : _ref$childrenPosition, xS = _ref.x, yS = _ref.y, source = _objectWithoutProperties(_ref, _excluded);
17
- var _Element$props = Element.props, _Element$props$forwar = _Element$props.forwardRef, forwardRef = _Element$props$forwar === void 0 ? null : _Element$props$forwar;
18
- _Element$props.children;
19
- var Children = _Element$props.Children, _Element$props$x = _Element$props.x, x = _Element$props$x === void 0 ? xS : _Element$props$x, _Element$props$y = _Element$props.y, y = _Element$props$y === void 0 ? yS : _Element$props$y, props = _objectWithoutProperties(_Element$props, _excluded2);
17
+ var _Element$props = Element.props, _Element$props$forwar = _Element$props.forwardRef, forwardRef = _Element$props$forwar === void 0 ? null : _Element$props$forwar, _children = _Element$props.children, Children = _Element$props.Children, _Element$props$x = _Element$props.x, x = _Element$props$x === void 0 ? xS : _Element$props$x, _Element$props$y = _Element$props.y, y = _Element$props$y === void 0 ? yS : _Element$props$y, props = _objectWithoutProperties(_Element$props, _excluded2);
20
18
  var children = getOriginChildren(Children);
21
19
  var mergedProps = assignProps(_objectSpread(_objectSpread({
22
20
  x: xS,