@semcore/d3-chart 16.7.0 → 16.7.1

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 (282) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/lib/cjs/Area.js +11 -11
  3. package/lib/cjs/Axis.js +16 -18
  4. package/lib/cjs/Axis.js.map +1 -1
  5. package/lib/cjs/Bar.js +16 -16
  6. package/lib/cjs/Bubble.js +14 -14
  7. package/lib/cjs/CompactHorizontalBar.js +20 -20
  8. package/lib/cjs/CompactHorizontalBar.js.map +1 -1
  9. package/lib/cjs/Donut.js +9 -9
  10. package/lib/cjs/Dots.js +8 -8
  11. package/lib/cjs/HorizontalBar.js +17 -17
  12. package/lib/cjs/HorizontalBar.js.map +1 -1
  13. package/lib/cjs/Hover.js +3 -3
  14. package/lib/cjs/Line.js +9 -9
  15. package/lib/cjs/Plot.js +9 -6
  16. package/lib/cjs/Plot.js.map +1 -1
  17. package/lib/cjs/Radar.js +19 -19
  18. package/lib/cjs/RadialTree.js +12 -12
  19. package/lib/cjs/RadialTree.js.map +1 -1
  20. package/lib/cjs/Reference.js +12 -12
  21. package/lib/cjs/ResponsiveContainer.js +2 -2
  22. package/lib/cjs/ResponsiveContainer.js.map +1 -1
  23. package/lib/cjs/ScatterPlot.js +9 -9
  24. package/lib/cjs/StackBar.js +8 -3
  25. package/lib/cjs/StackBar.js.map +1 -1
  26. package/lib/cjs/Tooltip.js +19 -18
  27. package/lib/cjs/Tooltip.js.map +1 -1
  28. package/lib/cjs/Venn.js +12 -12
  29. package/lib/cjs/Venn.js.map +1 -1
  30. package/lib/cjs/a11y/PlotA11yModule.js +79 -37
  31. package/lib/cjs/a11y/PlotA11yModule.js.map +1 -1
  32. package/lib/cjs/a11y/PlotA11yView.js +12 -39
  33. package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  34. package/lib/cjs/a11y/translations/module/de.json +2 -2
  35. package/lib/cjs/a11y/translations/module/en.json +2 -2
  36. package/lib/cjs/a11y/translations/module/es.json +2 -2
  37. package/lib/cjs/a11y/translations/module/fr.json +2 -2
  38. package/lib/cjs/a11y/translations/module/it.json +2 -2
  39. package/lib/cjs/a11y/translations/module/ja.json +2 -2
  40. package/lib/cjs/a11y/translations/module/ko.json +2 -2
  41. package/lib/cjs/a11y/translations/module/nl.json +2 -2
  42. package/lib/cjs/a11y/translations/module/pl.json +2 -2
  43. package/lib/cjs/a11y/translations/module/pt.json +2 -2
  44. package/lib/cjs/a11y/translations/module/sv.json +2 -2
  45. package/lib/cjs/a11y/translations/module/tr.json +2 -2
  46. package/lib/cjs/a11y/translations/module/vi.json +2 -2
  47. package/lib/cjs/a11y/translations/module/zh.json +2 -2
  48. package/lib/cjs/component/Chart/AbstractChart.js +9 -9
  49. package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
  50. package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
  51. package/lib/cjs/component/Chart/AreaChart.js.map +1 -1
  52. package/lib/cjs/component/Chart/AreaChart.type.js.map +1 -1
  53. package/lib/cjs/component/Chart/BarChart.js +19 -66
  54. package/lib/cjs/component/Chart/BarChart.js.map +1 -1
  55. package/lib/cjs/component/Chart/BarChart.type.js.map +1 -1
  56. package/lib/cjs/component/Chart/BubbleChart.type.js.map +1 -1
  57. package/lib/cjs/component/Chart/CigaretteChart.js +8 -8
  58. package/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
  59. package/lib/cjs/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
  60. package/lib/cjs/component/Chart/DonutChart.js +2 -2
  61. package/lib/cjs/component/Chart/DonutChart.js.map +1 -1
  62. package/lib/cjs/component/Chart/DonutChart.type.js.map +1 -1
  63. package/lib/cjs/component/Chart/HistogramChart.type.js.map +1 -1
  64. package/lib/cjs/component/Chart/LineChart.type.js.map +1 -1
  65. package/lib/cjs/component/Chart/RadarChart.type.js.map +1 -1
  66. package/lib/cjs/component/Chart/ScatterPlotChart.type.js.map +1 -1
  67. package/lib/cjs/component/Chart/VennChart.type.js.map +1 -1
  68. package/lib/cjs/component/ChartLegend/BaseLegend.js +1 -1
  69. package/lib/cjs/component/ChartLegend/BaseLegend.js.map +1 -1
  70. package/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -1
  71. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +6 -6
  72. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  73. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
  74. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +23 -23
  75. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  76. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  77. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +9 -9
  78. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  79. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
  80. package/lib/cjs/component/Cigarette/Cigarette.js.map +1 -1
  81. package/lib/cjs/style/axis.shadow.css +1 -3
  82. package/lib/cjs/style/plot.shadow.css +3 -1
  83. package/lib/cjs/style/plotA11yModule.shadow.css +11 -10
  84. package/lib/cjs/style/plotA11yView.shadow.css +26 -13
  85. package/lib/cjs/types/Axis.d.js.map +1 -1
  86. package/lib/cjs/types/CompactHorizontalBar.d.js.map +1 -1
  87. package/lib/cjs/types/Hover.d.js.map +1 -1
  88. package/lib/cjs/types/Line.d.js.map +1 -1
  89. package/lib/cjs/types/Plot.d.js.map +1 -1
  90. package/lib/cjs/types/Radar.d.js.map +1 -1
  91. package/lib/cjs/types/ResponsiveContainer.d.js.map +1 -1
  92. package/lib/cjs/types/Tooltip.d.js.map +1 -1
  93. package/lib/cjs/types/Venn.d.js.map +1 -1
  94. package/lib/cjs/utils.js.map +1 -1
  95. package/lib/es6/Area.js +11 -11
  96. package/lib/es6/Axis.js +16 -18
  97. package/lib/es6/Axis.js.map +1 -1
  98. package/lib/es6/Bar.js +16 -16
  99. package/lib/es6/Bubble.js +14 -14
  100. package/lib/es6/CompactHorizontalBar.js +17 -17
  101. package/lib/es6/CompactHorizontalBar.js.map +1 -1
  102. package/lib/es6/Donut.js +9 -9
  103. package/lib/es6/Dots.js +8 -8
  104. package/lib/es6/HorizontalBar.js +17 -17
  105. package/lib/es6/HorizontalBar.js.map +1 -1
  106. package/lib/es6/Hover.js +3 -3
  107. package/lib/es6/Line.js +9 -9
  108. package/lib/es6/Plot.js +8 -5
  109. package/lib/es6/Plot.js.map +1 -1
  110. package/lib/es6/Radar.js +19 -19
  111. package/lib/es6/RadialTree.js +12 -12
  112. package/lib/es6/RadialTree.js.map +1 -1
  113. package/lib/es6/Reference.js +12 -12
  114. package/lib/es6/ResponsiveContainer.js +1 -1
  115. package/lib/es6/ResponsiveContainer.js.map +1 -1
  116. package/lib/es6/ScatterPlot.js +9 -9
  117. package/lib/es6/StackBar.js +8 -3
  118. package/lib/es6/StackBar.js.map +1 -1
  119. package/lib/es6/Tooltip.js +11 -10
  120. package/lib/es6/Tooltip.js.map +1 -1
  121. package/lib/es6/Venn.js +10 -10
  122. package/lib/es6/Venn.js.map +1 -1
  123. package/lib/es6/a11y/PlotA11yModule.js +80 -36
  124. package/lib/es6/a11y/PlotA11yModule.js.map +1 -1
  125. package/lib/es6/a11y/PlotA11yView.js +10 -37
  126. package/lib/es6/a11y/PlotA11yView.js.map +1 -1
  127. package/lib/es6/a11y/translations/module/de.json +2 -2
  128. package/lib/es6/a11y/translations/module/en.json +2 -2
  129. package/lib/es6/a11y/translations/module/es.json +2 -2
  130. package/lib/es6/a11y/translations/module/fr.json +2 -2
  131. package/lib/es6/a11y/translations/module/it.json +2 -2
  132. package/lib/es6/a11y/translations/module/ja.json +2 -2
  133. package/lib/es6/a11y/translations/module/ko.json +2 -2
  134. package/lib/es6/a11y/translations/module/nl.json +2 -2
  135. package/lib/es6/a11y/translations/module/pl.json +2 -2
  136. package/lib/es6/a11y/translations/module/pt.json +2 -2
  137. package/lib/es6/a11y/translations/module/sv.json +2 -2
  138. package/lib/es6/a11y/translations/module/tr.json +2 -2
  139. package/lib/es6/a11y/translations/module/vi.json +2 -2
  140. package/lib/es6/a11y/translations/module/zh.json +2 -2
  141. package/lib/es6/component/Chart/AbstractChart.js +5 -5
  142. package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
  143. package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
  144. package/lib/es6/component/Chart/AreaChart.js.map +1 -1
  145. package/lib/es6/component/Chart/AreaChart.type.js.map +1 -1
  146. package/lib/es6/component/Chart/BarChart.js +20 -67
  147. package/lib/es6/component/Chart/BarChart.js.map +1 -1
  148. package/lib/es6/component/Chart/BarChart.type.js.map +1 -1
  149. package/lib/es6/component/Chart/BubbleChart.type.js.map +1 -1
  150. package/lib/es6/component/Chart/CigaretteChart.js +1 -1
  151. package/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
  152. package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
  153. package/lib/es6/component/Chart/DonutChart.js +1 -1
  154. package/lib/es6/component/Chart/DonutChart.js.map +1 -1
  155. package/lib/es6/component/Chart/DonutChart.type.js.map +1 -1
  156. package/lib/es6/component/Chart/HistogramChart.type.js.map +1 -1
  157. package/lib/es6/component/Chart/LineChart.type.js.map +1 -1
  158. package/lib/es6/component/Chart/RadarChart.type.js.map +1 -1
  159. package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +1 -1
  160. package/lib/es6/component/Chart/VennChart.type.js.map +1 -1
  161. package/lib/es6/component/ChartLegend/BaseLegend.js +1 -1
  162. package/lib/es6/component/ChartLegend/BaseLegend.js.map +1 -1
  163. package/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -1
  164. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +5 -5
  165. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js.map +1 -1
  166. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
  167. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +18 -18
  168. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  169. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  170. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +7 -7
  171. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
  172. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
  173. package/lib/es6/component/Cigarette/Cigarette.js.map +1 -1
  174. package/lib/es6/style/axis.shadow.css +1 -3
  175. package/lib/es6/style/plot.shadow.css +3 -1
  176. package/lib/es6/style/plotA11yModule.shadow.css +11 -10
  177. package/lib/es6/style/plotA11yView.shadow.css +26 -13
  178. package/lib/es6/types/Axis.d.js.map +1 -1
  179. package/lib/es6/types/CompactHorizontalBar.d.js.map +1 -1
  180. package/lib/es6/types/Hover.d.js.map +1 -1
  181. package/lib/es6/types/Line.d.js.map +1 -1
  182. package/lib/es6/types/Plot.d.js.map +1 -1
  183. package/lib/es6/types/Radar.d.js.map +1 -1
  184. package/lib/es6/types/ResponsiveContainer.d.js.map +1 -1
  185. package/lib/es6/types/Tooltip.d.js.map +1 -1
  186. package/lib/es6/types/Venn.d.js.map +1 -1
  187. package/lib/es6/utils.js.map +1 -1
  188. package/lib/esm/AnimatedClipPath.mjs +7 -2
  189. package/lib/esm/Area.mjs +14 -14
  190. package/lib/esm/Axis.mjs +19 -21
  191. package/lib/esm/Bar.mjs +17 -17
  192. package/lib/esm/Bubble.mjs +16 -16
  193. package/lib/esm/CompactHorizontalBar.mjs +19 -20
  194. package/lib/esm/Donut.mjs +13 -15
  195. package/lib/esm/Dots.mjs +10 -10
  196. package/lib/esm/HorizontalBar.mjs +18 -18
  197. package/lib/esm/Hover.mjs +6 -6
  198. package/lib/esm/Line.mjs +12 -12
  199. package/lib/esm/Plot.mjs +10 -7
  200. package/lib/esm/Radar.mjs +23 -23
  201. package/lib/esm/RadialTree.mjs +13 -13
  202. package/lib/esm/Reference.mjs +13 -13
  203. package/lib/esm/ResponsiveContainer.mjs +2 -2
  204. package/lib/esm/ScatterPlot.mjs +11 -12
  205. package/lib/esm/StackBar.mjs +9 -4
  206. package/lib/esm/StackedArea.mjs +2 -2
  207. package/lib/esm/Tooltip.mjs +16 -13
  208. package/lib/esm/Venn.mjs +12 -13
  209. package/lib/esm/a11y/PlotA11yModule.mjs +69 -31
  210. package/lib/esm/a11y/PlotA11yView.mjs +10 -35
  211. package/lib/esm/a11y/insights.mjs +1 -2
  212. package/lib/esm/a11y/intl.mjs +1 -1
  213. package/lib/esm/a11y/translations/module/de.json.mjs +4 -2
  214. package/lib/esm/a11y/translations/module/en.json.mjs +4 -2
  215. package/lib/esm/a11y/translations/module/es.json.mjs +4 -2
  216. package/lib/esm/a11y/translations/module/fr.json.mjs +4 -2
  217. package/lib/esm/a11y/translations/module/it.json.mjs +4 -2
  218. package/lib/esm/a11y/translations/module/ja.json.mjs +4 -2
  219. package/lib/esm/a11y/translations/module/ko.json.mjs +4 -2
  220. package/lib/esm/a11y/translations/module/nl.json.mjs +4 -2
  221. package/lib/esm/a11y/translations/module/pl.json.mjs +4 -2
  222. package/lib/esm/a11y/translations/module/pt.json.mjs +4 -2
  223. package/lib/esm/a11y/translations/module/sv.json.mjs +4 -2
  224. package/lib/esm/a11y/translations/module/tr.json.mjs +4 -2
  225. package/lib/esm/a11y/translations/module/vi.json.mjs +4 -2
  226. package/lib/esm/a11y/translations/module/zh.json.mjs +4 -2
  227. package/lib/esm/component/Chart/AbstractChart.mjs +10 -12
  228. package/lib/esm/component/Chart/AreaChart.mjs +4 -5
  229. package/lib/esm/component/Chart/BarChart.mjs +3 -44
  230. package/lib/esm/component/Chart/BubbleChart.mjs +2 -3
  231. package/lib/esm/component/Chart/CigaretteChart.mjs +5 -6
  232. package/lib/esm/component/Chart/CompactHorizontalBarChart.mjs +1 -2
  233. package/lib/esm/component/Chart/DonutChart.mjs +2 -3
  234. package/lib/esm/component/Chart/HistogramChart.mjs +4 -5
  235. package/lib/esm/component/Chart/LineChart.mjs +3 -4
  236. package/lib/esm/component/Chart/RadarChart.mjs +1 -2
  237. package/lib/esm/component/Chart/ScatterPlotChart.mjs +2 -3
  238. package/lib/esm/component/Chart/VennChart.mjs +1 -2
  239. package/lib/esm/component/ChartLegend/BaseLegend.mjs +1 -1
  240. package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +7 -7
  241. package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +25 -21
  242. package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +9 -9
  243. package/lib/esm/component/ChartLegend/index.mjs +0 -2
  244. package/lib/esm/component/StackGroupBar/StackGroupBar.mjs +1 -1
  245. package/lib/esm/createElement.mjs +4 -2
  246. package/lib/esm/index.mjs +0 -1
  247. package/lib/esm/style/axis.shadow.css +1 -3
  248. package/lib/esm/style/plot.shadow.css +3 -1
  249. package/lib/esm/style/plotA11yModule.shadow.css +11 -10
  250. package/lib/esm/style/plotA11yView.shadow.css +26 -13
  251. package/lib/esm/utils.mjs +2 -2
  252. package/lib/types/Axis.d.ts +0 -4
  253. package/lib/types/CompactHorizontalBar.d.ts +1 -1
  254. package/lib/types/Hover.d.ts +1 -1
  255. package/lib/types/Line.d.ts +1 -1
  256. package/lib/types/Plot.d.ts +1 -1
  257. package/lib/types/Radar.d.ts +1 -1
  258. package/lib/types/ResponsiveContainer.d.ts +1 -1
  259. package/lib/types/Tooltip.d.ts +3 -1
  260. package/lib/types/Venn.d.ts +1 -1
  261. package/lib/types/a11y/PlotA11yModule.d.ts +11 -4
  262. package/lib/types/a11y/PlotA11yView.d.ts +2 -13
  263. package/lib/types/a11y/translations/module/__intergalactic-dynamic-locales.d.ts +14 -14
  264. package/lib/types/component/Chart/AbstractChart.d.ts +1 -1
  265. package/lib/types/component/Chart/AbstractChart.type.d.ts +1 -1
  266. package/lib/types/component/Chart/AreaChart.type.d.ts +1 -1
  267. package/lib/types/component/Chart/BarChart.type.d.ts +1 -1
  268. package/lib/types/component/Chart/BubbleChart.type.d.ts +1 -1
  269. package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +1 -1
  270. package/lib/types/component/Chart/DonutChart.type.d.ts +1 -1
  271. package/lib/types/component/Chart/HistogramChart.type.d.ts +1 -1
  272. package/lib/types/component/Chart/LineChart.type.d.ts +1 -1
  273. package/lib/types/component/Chart/RadarChart.type.d.ts +1 -1
  274. package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +1 -1
  275. package/lib/types/component/Chart/VennChart.type.d.ts +1 -1
  276. package/lib/types/component/ChartLegend/BaseLegend.d.ts +1 -1
  277. package/lib/types/component/ChartLegend/BaseLegend.type.d.ts +1 -1
  278. package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.type.d.ts +1 -1
  279. package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +1 -1
  280. package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +1 -1
  281. package/lib/types/utils.d.ts +10 -10
  282. package/package.json +15 -15
@@ -1,12 +1,14 @@
1
+ const disabled = "Naciśnij Tab, aby włączyć moduł dostępności wykresów graficznych.";
1
2
  const loading = "Ładowanie modułu dostępności.";
2
3
  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.";
3
4
  const pl = {
5
+ disabled,
4
6
  loading,
5
- failed,
6
- "PlotA11yModule.ScreenReaderOnlyButton.Label": "Otwórz podsumowanie danych"
7
+ failed
7
8
  };
8
9
  export {
9
10
  pl as default,
11
+ disabled,
10
12
  failed,
11
13
  loading
12
14
  };
@@ -1,12 +1,14 @@
1
+ const disabled = 'Pressione "Tab" para habilitar o módulo de acessibilidade a gráficos.';
1
2
  const loading = "Carregando módulo de acessibilidade.";
2
3
  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.";
3
4
  const pt = {
5
+ disabled,
4
6
  loading,
5
- failed,
6
- "PlotA11yModule.ScreenReaderOnlyButton.Label": "Abrir resumo dos dados"
7
+ failed
7
8
  };
8
9
  export {
9
10
  pt as default,
11
+ disabled,
10
12
  failed,
11
13
  loading
12
14
  };
@@ -1,12 +1,14 @@
1
+ const disabled = 'Tryck på "Flik" för att aktivera åtkomstmodulen för grafiska diagram.';
1
2
  const loading = "Laddar åtkomstmodul.";
2
3
  const failed = "Det gick inte att ladda åtkomstmodulen. Kontakta supporten för att hjälpa oss att lösa problemet snabbare.";
3
4
  const sv = {
5
+ disabled,
4
6
  loading,
5
- failed,
6
- "PlotA11yModule.ScreenReaderOnlyButton.Label": "Öppna sammanfattning av data"
7
+ failed
7
8
  };
8
9
  export {
9
10
  sv as default,
11
+ disabled,
10
12
  failed,
11
13
  loading
12
14
  };
@@ -1,12 +1,14 @@
1
+ const disabled = 'Grafik çizelgeleri erişilebilirlik modülünü etkinleştirmek için "Sekme" tuşuna basın.';
1
2
  const loading = "Erişilebilirlik modülü yükleniyor.";
2
3
  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.";
3
4
  const tr = {
5
+ disabled,
4
6
  loading,
5
- failed,
6
- "PlotA11yModule.ScreenReaderOnlyButton.Label": "Veri özetini aç"
7
+ failed
7
8
  };
8
9
  export {
9
10
  tr as default,
11
+ disabled,
10
12
  failed,
11
13
  loading
12
14
  };
@@ -1,12 +1,14 @@
1
+ const disabled = 'Nhấn "Tab" để bật mô-đun trợ năng biểu đồ đồ họa.';
1
2
  const loading = "Đang tải mô-đun trợ năng.";
2
3
  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.";
3
4
  const vi = {
5
+ disabled,
4
6
  loading,
5
- failed,
6
- "PlotA11yModule.ScreenReaderOnlyButton.Label": "Mở tóm tắt dữ liệu"
7
+ failed
7
8
  };
8
9
  export {
9
10
  vi as default,
11
+ disabled,
10
12
  failed,
11
13
  loading
12
14
  };
@@ -1,12 +1,14 @@
1
+ const disabled = "按“Tab”启用图形图表访问模块。";
1
2
  const loading = "加载访问模块。";
2
3
  const failed = "无法加载访问模块。联系服务用户支持,以帮助我们更快地解决问题。";
3
4
  const zh = {
5
+ disabled,
4
6
  loading,
5
- failed,
6
- "PlotA11yModule.ScreenReaderOnlyButton.Label": "打开数据摘要"
7
+ failed
7
8
  };
8
9
  export {
9
10
  zh as default,
11
+ disabled,
10
12
  failed,
11
13
  loading
12
14
  };
@@ -7,32 +7,30 @@ 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";
11
10
  import { extractAriaProps } from "@semcore/core/lib/utils/ariaProps";
12
11
  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 "../../index.mjs";
16
- import { makeDataHintsContainer } from "../../a11y/hints.mjs";
17
- import { interpolateValue } from "../../utils.mjs";
18
- import "../ChartLegend/index.mjs";
19
- import { LegendTable } from "../ChartLegend/LegendTable/LegendTable.mjs";
15
+ import Plot from "../../Plot.mjs";
20
16
  import { LegendFlex } from "../ChartLegend/LegendFlex/LegendFlex.mjs";
17
+ import { LegendTable } from "../ChartLegend/LegendTable/LegendTable.mjs";
21
18
  import { YAxis, XAxis } from "../../Axis.mjs";
22
- import Plot from "../../Plot.mjs";
19
+ import { interpolateValue } from "../../utils.mjs";
20
+ import { makeDataHintsContainer } from "../../a11y/hints.mjs";
23
21
  /*!__reshadow-styles__:"../../style/abstract-chart.shadow.css"*/
24
22
  var style = (
25
23
  /*__reshadow_css_start__*/
26
24
  (sstyled.insert(
27
25
  /*__inner_css_start__*/
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)}",
26
+ ".___STooltipChildrenWrapper_1fccq_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_1fccq_gg_._columnsCount_2_1fccq_gg_{grid-template-columns:auto minmax(28px,max-content)}.___STooltipChildrenWrapper_1fccq_gg_._columnsCount_3_1fccq_gg_{grid-template-columns:auto minmax(28px,max-content) minmax(28px,max-content)}",
29
27
  /*__inner_css_end__*/
30
- "q3xi3_gg_"
28
+ "1fccq_gg_"
31
29
  ), /*__reshadow_css_end__*/
32
30
  {
33
- "__STooltipChildrenWrapper": "___STooltipChildrenWrapper_q3xi3_gg_",
34
- "_columnsCount_2": "_columnsCount_2_q3xi3_gg_",
35
- "_columnsCount_3": "_columnsCount_3_q3xi3_gg_"
31
+ "__STooltipChildrenWrapper": "___STooltipChildrenWrapper_1fccq_gg_",
32
+ "_columnsCount_2": "_columnsCount_2_1fccq_gg_",
33
+ "_columnsCount_3": "_columnsCount_3_1fccq_gg_"
36
34
  })
37
35
  );
38
36
  var NOT_A_VALUE = "n/a";
@@ -9,13 +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 "../../index.mjs";
13
- import { AbstractChart } from "./AbstractChart.mjs";
14
- import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
- import { minMax } from "../../utils.mjs";
16
- import StackedArea from "../../StackedArea.mjs";
17
12
  import Area from "../../Area.mjs";
13
+ import StackedArea from "../../StackedArea.mjs";
18
14
  import { HoverLine } from "../../Hover.mjs";
15
+ import { minMax } from "../../utils.mjs";
16
+ import { AbstractChart } from "./AbstractChart.mjs";
17
+ import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
19
18
  var AreaChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
20
19
  function AreaChartComponent2() {
21
20
  _classCallCheck(this, AreaChartComponent2);
@@ -11,14 +11,12 @@ 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";
16
14
  import Line from "../../Line.mjs";
17
15
  import GroupBar from "../../GroupBar.mjs";
18
16
  import StackBar from "../../StackBar.mjs";
19
17
  import { HoverRect } from "../../Hover.mjs";
20
- import { YAxis, XAxis } from "../../Axis.mjs";
21
18
  import { minMax } from "../../utils.mjs";
19
+ import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
22
20
  var BarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
23
21
  function BarChartComponent2() {
24
22
  var _this;
@@ -175,45 +173,6 @@ var BarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
175
173
  };
176
174
  });
177
175
  }
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
- }
217
176
  }, {
218
177
  key: "getLegendAriaLabel",
219
178
  value: function getLegendAriaLabel() {
@@ -224,7 +183,7 @@ var BarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
224
183
  }, {
225
184
  key: "categoryScale",
226
185
  get: function get() {
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;
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;
228
187
  var testItem = data[0][groupKey];
229
188
  var range = invertAxis ? [plotHeight - marginX, this.plotPadding] : [marginY, plotWidth - this.plotPadding];
230
189
  if (testItem instanceof Date && !Number.isNaN(testItem.getMilliseconds())) {
@@ -239,7 +198,7 @@ var BarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
239
198
  }, {
240
199
  key: "valueScale",
241
200
  get: function get() {
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;
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;
243
202
  var max = type === "stack" ? _superPropGet(BarChartComponent2, "maxStackedValue", this, 1) : Math.max.apply(Math, _toConsumableArray(_superPropGet(BarChartComponent2, "flatValues", this, 1)));
244
203
  return scaleLinear().range(invertAxis ? [marginY, plotWidth - this.plotPadding] : [plotHeight - marginX, this.plotPadding]).domain([0, max]);
245
204
  }
@@ -8,11 +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 "../../index.mjs";
11
+ import Bubble from "../../Bubble.mjs";
12
+ import { calculateBubbleDomain } from "../../utils.mjs";
12
13
  import { AbstractChart } from "./AbstractChart.mjs";
13
14
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
14
- import { calculateBubbleDomain } from "../../utils.mjs";
15
- import Bubble from "../../Bubble.mjs";
16
15
  var BubbleChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
17
16
  function BubbleChartComponent2() {
18
17
  _classCallCheck(this, BubbleChartComponent2);
@@ -8,24 +8,23 @@ 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 { sstyled, assignProps, createComponent } from "@semcore/core";
12
- import { Box, Flex } from "@semcore/base-components";
11
+ import { createComponent, sstyled, assignProps } from "@semcore/core";
13
12
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
14
13
  import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
15
14
  import trottle from "@semcore/core/lib/utils/rafTrottle";
16
15
  import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
17
16
  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 "../../index.mjs";
21
+ import Plot from "../../Plot.mjs";
22
+ import { HoverRect } from "../../Hover.mjs";
23
+ import { interpolateValue, eventToPoint } from "../../utils.mjs";
22
24
  import { NOT_A_VALUE, AbstractChart } from "./AbstractChart.mjs";
23
25
  import AnimatedClipPath from "../../AnimatedClipPath.mjs";
24
26
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
25
- import { eventToPoint, interpolateValue } from "../../utils.mjs";
26
27
  import Cigarette from "../Cigarette/Cigarette.mjs";
27
- import { HoverRect } from "../../Hover.mjs";
28
- import Plot from "../../Plot.mjs";
29
28
  var DEFAULT_MINIMAL_BAR_WIDTH = 2;
30
29
  var DEFAULT_GAP = 2;
31
30
  var CigaretteChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
@@ -9,10 +9,9 @@ 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 "../../index.mjs";
12
+ import CompactHorizontalBar from "../../CompactHorizontalBar.mjs";
13
13
  import { AbstractChart } from "./AbstractChart.mjs";
14
14
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
- import CompactHorizontalBar from "../../CompactHorizontalBar.mjs";
16
15
  var CompactHorizontalBarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
17
16
  function CompactHorizontalBarChartComponent2() {
18
17
  _classCallCheck(this, CompactHorizontalBarChartComponent2);
@@ -3,16 +3,15 @@ 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";
7
6
  import { createComponent } from "@semcore/core";
8
7
  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 "../../index.mjs";
12
+ import Donut from "../../Donut.mjs";
13
13
  import { AbstractChart } from "./AbstractChart.mjs";
14
14
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
- import Donut from "../../Donut.mjs";
16
15
  var DonutChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
17
16
  function DonutChartComponent2() {
18
17
  _classCallCheck(this, DonutChartComponent2);
@@ -10,13 +10,12 @@ 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 "../../index.mjs";
14
- import { AbstractChart } from "./AbstractChart.mjs";
15
- import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
16
- import { minMax } from "../../utils.mjs";
17
- import StackBar from "../../StackBar.mjs";
18
13
  import Bar from "../../Bar.mjs";
14
+ import StackBar from "../../StackBar.mjs";
19
15
  import { HoverRect } from "../../Hover.mjs";
16
+ import { minMax } from "../../utils.mjs";
17
+ import { AbstractChart } from "./AbstractChart.mjs";
18
+ import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
20
19
  var HistogramChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
21
20
  function HistogramChartComponent2() {
22
21
  _classCallCheck(this, HistogramChartComponent2);
@@ -9,12 +9,11 @@ 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 "../../index.mjs";
13
- import { AbstractChart } from "./AbstractChart.mjs";
14
- import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
- import { minMax } from "../../utils.mjs";
16
12
  import Line from "../../Line.mjs";
17
13
  import { HoverLine } from "../../Hover.mjs";
14
+ import { minMax } from "../../utils.mjs";
15
+ import { AbstractChart } from "./AbstractChart.mjs";
16
+ import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
18
17
  var LineChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
19
18
  function LineChartComponent2() {
20
19
  _classCallCheck(this, LineChartComponent2);
@@ -10,9 +10,8 @@ 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 "../../index.mjs";
14
- import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
15
13
  import Radar from "../../Radar.mjs";
14
+ import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
16
15
  var RadarChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
17
16
  function RadarChartComponent2() {
18
17
  _classCallCheck(this, RadarChartComponent2);
@@ -10,11 +10,10 @@ 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 "../../index.mjs";
13
+ import ScatterPlot from "../../ScatterPlot.mjs";
14
+ import { getScatterPlotRadius, minMax } from "../../utils.mjs";
14
15
  import { AbstractChart } from "./AbstractChart.mjs";
15
16
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
16
- import { getScatterPlotRadius, minMax } from "../../utils.mjs";
17
- import ScatterPlot from "../../ScatterPlot.mjs";
18
17
  var ScatterPlotChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
19
18
  function ScatterPlotChartComponent2() {
20
19
  _classCallCheck(this, ScatterPlotChartComponent2);
@@ -8,10 +8,9 @@ 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 "../../index.mjs";
11
+ import Venn from "../../Venn.mjs";
12
12
  import { AbstractChart } from "./AbstractChart.mjs";
13
13
  import { localizedMessages } from "../../translations/__intergalactic-dynamic-locales.mjs";
14
- import Venn from "../../Venn.mjs";
15
14
  var VennChartComponent = /* @__PURE__ */ (function(_AbstractChart) {
16
15
  function VennChartComponent2() {
17
16
  _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);
12
13
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
13
14
  args[_key] = arguments[_key];
14
15
  }
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 { sstyled, assignProps, createComponent } from "@semcore/core";
8
- import { Flex } from "@semcore/base-components";
7
+ import { createComponent, sstyled, assignProps } from "@semcore/core";
9
8
  import Checkbox from "@semcore/checkbox";
10
9
  import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
11
10
  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_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}",
21
+ ".___SLegendFlex_oj47d_gg_._direction_row_oj47d_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_oj47d_gg_._direction_column_oj47d_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}",
22
22
  /*__inner_css_end__*/
23
- "5sqwz_gg_"
23
+ "oj47d_gg_"
24
24
  ), /*__reshadow_css_end__*/
25
25
  {
26
- "__SLegendFlex": "___SLegendFlex_5sqwz_gg_",
27
- "_direction_row": "_direction_row_5sqwz_gg_",
28
- "_direction_column": "_direction_column_5sqwz_gg_"
26
+ "__SLegendFlex": "___SLegendFlex_oj47d_gg_",
27
+ "_direction_row": "_direction_row_oj47d_gg_",
28
+ "_direction_column": "_direction_column_oj47d_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 { sstyled, assignProps, Component, createComponent } from "@semcore/core";
9
- import { Flex, Box } from "@semcore/base-components";
8
+ import { createComponent, sstyled, assignProps, Component } from "@semcore/core";
10
9
  import Checkbox from "@semcore/checkbox";
11
10
  import resolveColorEnhance from "@semcore/core/lib/utils/enhances/resolveColorEnhance";
12
11
  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_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)}',
24
+ '.___SLegendItem_1iq66_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_1iq66_gg_:hover{cursor:pointer}.___SLegendItem_1iq66_gg_.__disabled_1iq66_gg_:hover{cursor:default}}.___SPointShape_1iq66_gg_.__color_1iq66_gg_{background-color:var(--color_1iq66);margin-right:8px;flex-shrink:0}.___SPointShape_1iq66_gg_._shape_Circle_1iq66_gg_._size_l_1iq66_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_1iq66_gg_._shape_Circle_1iq66_gg_._size_m_1iq66_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_1iq66_gg_._shape_Line_1iq66_gg_._size_l_1iq66_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_1iq66_gg_._shape_Line_1iq66_gg_._size_m_1iq66_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_1iq66_gg_._shape_Square_1iq66_gg_._size_l_1iq66_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_1iq66_gg_._shape_Square_1iq66_gg_._size_m_1iq66_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_1iq66_gg_._shape_Pattern_1iq66_gg_{background-color:transparent;margin-right:4px}.___SIcon_1iq66_gg_{line-height:0;margin-right:4px}.___SIcon_1iq66_gg_._size_l_1iq66_gg_{margin-top:4px}.___SIcon_1iq66_gg_._size_m_1iq66_gg_{margin-top:2px}.___SLabel_1iq66_gg_{min-width:0}.___SAdditionalLabel_1iq66_gg_._size_l_1iq66_gg_,.___SCount_1iq66_gg_._size_l_1iq66_gg_,.___SLabel_1iq66_gg_._size_l_1iq66_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_1iq66_gg_._size_m_1iq66_gg_,.___SCount_1iq66_gg_._size_m_1iq66_gg_,.___SLabel_1iq66_gg_._size_m_1iq66_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_1iq66_gg_,.___SCount_1iq66_gg_{margin-left:4px}.___SAdditionalLabel_1iq66_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_1iq66_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_1iq66_gg_::before{background-color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SAdditionalLabel_1iq66_gg_::before{background-color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SAdditionalLabel_1iq66_gg_._size_l_1iq66_gg_::before{margin-top:10px}.___SAdditionalLabel_1iq66_gg_._size_m_1iq66_gg_::before{margin-top:8px}.___SPatternSymbol_1iq66_gg_{transform:scale(.8)}',
25
25
  /*__inner_css_end__*/
26
- "1v96z_gg_"
26
+ "1iq66_gg_"
27
27
  ), /*__reshadow_css_end__*/
28
28
  {
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_"
29
+ "__SLegendItem": "___SLegendItem_1iq66_gg_",
30
+ "_disabled": "__disabled_1iq66_gg_",
31
+ "__SPointShape": "___SPointShape_1iq66_gg_",
32
+ "_color": "__color_1iq66_gg_",
33
+ "--color": "--color_1iq66",
34
+ "_shape_Circle": "_shape_Circle_1iq66_gg_",
35
+ "_size_l": "_size_l_1iq66_gg_",
36
+ "_size_m": "_size_m_1iq66_gg_",
37
+ "_shape_Line": "_shape_Line_1iq66_gg_",
38
+ "_shape_Square": "_shape_Square_1iq66_gg_",
39
+ "_shape_Pattern": "_shape_Pattern_1iq66_gg_",
40
+ "__SIcon": "___SIcon_1iq66_gg_",
41
+ "__SLabel": "___SLabel_1iq66_gg_",
42
+ "__SAdditionalLabel": "___SAdditionalLabel_1iq66_gg_",
43
+ "__SCount": "___SCount_1iq66_gg_",
44
+ "__SPatternSymbol": "___SPatternSymbol_1iq66_gg_"
45
45
  })
46
46
  );
47
47
  var enhance = [resolveColorEnhance(), uniqueIDEnhancement()];
@@ -95,7 +95,11 @@ 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, _color = _this$asProps2.color, onChangeLegendItem = _this$asProps2.onChangeLegendItem, _shape = _this$asProps2.shape, props = _objectWithoutProperties(_this$asProps2, _excluded);
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);
99
103
  return _objectSpread(_objectSpread({}, props), {}, {
100
104
  id: this.getUniqueID(),
101
105
  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 { sstyled, assignProps, createComponent } from "@semcore/core";
8
- import { Box } from "@semcore/base-components";
7
+ import { createComponent, sstyled, assignProps } from "@semcore/core";
8
+ import { Box } from "@semcore/flex-box";
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_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}',
17
+ '.___SLegendTable_1tal4_gg_.__columns-count_1tal4_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_1tal4_gg_._size_l_1tal4_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_1tal4_gg_._size_m_1tal4_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}',
18
18
  /*__inner_css_end__*/
19
- "9jglg_gg_"
19
+ "1tal4_gg_"
20
20
  ), /*__reshadow_css_end__*/
21
21
  {
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_"
22
+ "__SLegendTable": "___SLegendTable_1tal4_gg_",
23
+ "_columns-count": "__columns-count_1tal4_gg_",
24
+ "__SColumnItem": "___SColumnItem_1tal4_gg_",
25
+ "_size_l": "_size_l_1tal4_gg_",
26
+ "_size_m": "_size_m_1tal4_gg_"
27
27
  })
28
28
  );
29
29
  var LegendTableRoot = /* @__PURE__ */ (function(_BaseLegend) {
@@ -1,7 +1,5 @@
1
1
  import { LegendFlex } from "./LegendFlex/LegendFlex.mjs";
2
- import { LegendTable } from "./LegendTable/LegendTable.mjs";
3
2
  export {
4
3
  LegendFlex as ChartLegend,
5
- LegendTable as ChartLegendTable,
6
4
  LegendFlex as default
7
5
  };
@@ -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 = /* @__PURE__ */ Symbol("XY0");
15
+ var XY0 = 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 { CONTEXT_COMPONENT, createBaseComponent, createComponent } from "@semcore/core";
4
+ import { createComponent, createBaseComponent, CONTEXT_COMPONENT } 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,7 +14,9 @@ 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, _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);
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);
18
20
  var children = getOriginChildren(Children);
19
21
  var mergedProps = assignProps(_objectSpread(_objectSpread({
20
22
  x: xS,