@trismegisto/charts 3.3.14 → 4.0.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 (297) hide show
  1. package/LICENSE +56 -56
  2. package/MIGRATION.md +831 -0
  3. package/NOTICE +8 -13
  4. package/README.md +53 -32
  5. package/dist/core/bar-chart.d.ts +32 -0
  6. package/dist/core/bar-chart.js +108 -0
  7. package/dist/core/bar-chart.js.map +1 -0
  8. package/dist/core/boxplot-chart.d.ts +15 -0
  9. package/dist/core/boxplot-chart.js +44 -0
  10. package/dist/core/boxplot-chart.js.map +1 -0
  11. package/dist/core/bullet-chart.d.ts +29 -0
  12. package/dist/core/bullet-chart.js +93 -0
  13. package/dist/core/bullet-chart.js.map +1 -0
  14. package/dist/core/calendar-heatmap.d.ts +20 -0
  15. package/dist/core/calendar-heatmap.js +78 -0
  16. package/dist/core/calendar-heatmap.js.map +1 -0
  17. package/dist/core/category-range.d.ts +15 -0
  18. package/dist/core/category-range.js +35 -0
  19. package/dist/core/category-range.js.map +1 -0
  20. package/dist/core/chart-host.d.ts +36 -0
  21. package/dist/core/chart-host.js +209 -0
  22. package/dist/core/chart-host.js.map +1 -0
  23. package/dist/core/charts-i18n.d.ts +25 -0
  24. package/dist/core/charts-i18n.js +33 -0
  25. package/dist/core/charts-i18n.js.map +1 -0
  26. package/dist/core/charts-messages.d.ts +143 -0
  27. package/dist/core/charts-messages.en.d.ts +2 -0
  28. package/dist/core/charts-messages.en.js +143 -0
  29. package/dist/core/charts-messages.en.js.map +1 -0
  30. package/dist/core/charts-messages.es.d.ts +2 -0
  31. package/dist/core/charts-messages.es.js +143 -0
  32. package/dist/core/charts-messages.es.js.map +1 -0
  33. package/dist/core/charts-messages.js +143 -0
  34. package/dist/core/charts-messages.js.map +1 -0
  35. package/dist/core/colors.d.ts +27 -0
  36. package/dist/core/colors.js +76 -0
  37. package/dist/core/colors.js.map +1 -0
  38. package/dist/core/context.d.ts +42 -0
  39. package/dist/core/context.js +36 -0
  40. package/dist/core/context.js.map +1 -0
  41. package/dist/core/engine-locale.d.ts +4 -0
  42. package/dist/core/engine-locale.js +38 -0
  43. package/dist/core/engine-locale.js.map +1 -0
  44. package/dist/core/format.d.ts +13 -0
  45. package/dist/core/format.js +64 -0
  46. package/dist/core/format.js.map +1 -0
  47. package/dist/core/frame.d.ts +31 -0
  48. package/dist/core/frame.js +64 -0
  49. package/dist/core/frame.js.map +1 -0
  50. package/dist/core/funnel-chart.d.ts +8 -0
  51. package/dist/core/funnel-chart.js +30 -0
  52. package/dist/core/funnel-chart.js.map +1 -0
  53. package/dist/core/gauge-chart.d.ts +44 -0
  54. package/dist/core/gauge-chart.js +186 -0
  55. package/dist/core/gauge-chart.js.map +1 -0
  56. package/dist/core/gauge-layout.d.ts +67 -0
  57. package/dist/core/gauge-layout.js +140 -0
  58. package/dist/core/gauge-layout.js.map +1 -0
  59. package/dist/core/heatmap-chart.d.ts +22 -0
  60. package/dist/core/heatmap-chart.js +62 -0
  61. package/dist/core/heatmap-chart.js.map +1 -0
  62. package/dist/core/index.d.ts +46 -0
  63. package/dist/core/index.js +52 -0
  64. package/dist/core/index.js.map +1 -0
  65. package/dist/core/line-chart.d.ts +43 -0
  66. package/dist/core/line-chart.js +99 -0
  67. package/dist/core/line-chart.js.map +1 -0
  68. package/dist/core/line-extras.d.ts +20 -0
  69. package/dist/core/line-extras.js +49 -0
  70. package/dist/core/line-extras.js.map +1 -0
  71. package/dist/core/linear-gauge.d.ts +64 -0
  72. package/dist/core/linear-gauge.js +78 -0
  73. package/dist/core/linear-gauge.js.map +1 -0
  74. package/dist/core/live-session.d.ts +58 -0
  75. package/dist/core/live-session.js +200 -0
  76. package/dist/core/live-session.js.map +1 -0
  77. package/dist/core/live.d.ts +78 -0
  78. package/dist/core/live.js +245 -0
  79. package/dist/core/live.js.map +1 -0
  80. package/dist/core/navigation.d.ts +20 -0
  81. package/dist/core/navigation.js +62 -0
  82. package/dist/core/navigation.js.map +1 -0
  83. package/dist/core/normalize.d.ts +19 -0
  84. package/dist/core/normalize.js +51 -0
  85. package/dist/core/normalize.js.map +1 -0
  86. package/dist/core/observe.d.ts +28 -0
  87. package/dist/core/observe.js +151 -0
  88. package/dist/core/observe.js.map +1 -0
  89. package/dist/core/options.d.ts +29 -0
  90. package/dist/core/options.js +69 -0
  91. package/dist/core/options.js.map +1 -0
  92. package/dist/core/pie-chart.d.ts +25 -0
  93. package/dist/core/pie-chart.js +99 -0
  94. package/dist/core/pie-chart.js.map +1 -0
  95. package/dist/core/radar-chart.d.ts +18 -0
  96. package/dist/core/radar-chart.js +34 -0
  97. package/dist/core/radar-chart.js.map +1 -0
  98. package/dist/core/range-interaction.d.ts +62 -0
  99. package/dist/core/range-interaction.js +196 -0
  100. package/dist/core/range-interaction.js.map +1 -0
  101. package/dist/core/range.d.ts +83 -0
  102. package/dist/core/range.js +200 -0
  103. package/dist/core/range.js.map +1 -0
  104. package/dist/core/references.d.ts +25 -0
  105. package/dist/core/references.js +71 -0
  106. package/dist/core/references.js.map +1 -0
  107. package/dist/core/sankey-chart.d.ts +15 -0
  108. package/dist/core/sankey-chart.js +28 -0
  109. package/dist/core/sankey-chart.js.map +1 -0
  110. package/dist/core/scale-legend.d.ts +10 -0
  111. package/dist/core/scale-legend.js +16 -0
  112. package/dist/core/scale-legend.js.map +1 -0
  113. package/dist/core/scatter-chart.d.ts +38 -0
  114. package/dist/core/scatter-chart.js +74 -0
  115. package/dist/core/scatter-chart.js.map +1 -0
  116. package/dist/core/scope-cache.d.ts +6 -0
  117. package/dist/core/scope-cache.js +49 -0
  118. package/dist/core/scope-cache.js.map +1 -0
  119. package/dist/core/series-extras.d.ts +46 -0
  120. package/dist/core/series-extras.js +125 -0
  121. package/dist/core/series-extras.js.map +1 -0
  122. package/dist/core/sparkline-chart.d.ts +31 -0
  123. package/dist/core/sparkline-chart.js +69 -0
  124. package/dist/core/sparkline-chart.js.map +1 -0
  125. package/dist/core/stats.d.ts +12 -0
  126. package/dist/core/stats.js +23 -0
  127. package/dist/core/stats.js.map +1 -0
  128. package/dist/core/theme.d.ts +9 -0
  129. package/dist/core/theme.js +138 -0
  130. package/dist/core/theme.js.map +1 -0
  131. package/dist/core/time-series-chart.d.ts +91 -0
  132. package/dist/core/time-series-chart.js +390 -0
  133. package/dist/core/time-series-chart.js.map +1 -0
  134. package/dist/core/treemap-chart.d.ts +21 -0
  135. package/dist/core/treemap-chart.js +41 -0
  136. package/dist/core/treemap-chart.js.map +1 -0
  137. package/dist/core/types.d.ts +67 -0
  138. package/dist/core/types.js +2 -0
  139. package/dist/core/types.js.map +1 -0
  140. package/dist/core/view.d.ts +95 -0
  141. package/dist/core/view.js +2 -0
  142. package/dist/core/view.js.map +1 -0
  143. package/dist/core/warn.d.ts +5 -0
  144. package/dist/core/warn.js +22 -0
  145. package/dist/core/warn.js.map +1 -0
  146. package/dist/core/waterfall-chart.d.ts +32 -0
  147. package/dist/core/waterfall-chart.js +114 -0
  148. package/dist/core/waterfall-chart.js.map +1 -0
  149. package/dist/engine/aria.d.ts +3 -0
  150. package/dist/engine/aria.js +18 -0
  151. package/dist/engine/aria.js.map +1 -0
  152. package/dist/engine/component/legend.d.ts +11 -0
  153. package/dist/engine/component/legend.js +348 -0
  154. package/dist/engine/component/legend.js.map +1 -0
  155. package/dist/engine/component/reference-marks.d.ts +46 -0
  156. package/dist/engine/component/reference-marks.js +197 -0
  157. package/dist/engine/component/reference-marks.js.map +1 -0
  158. package/dist/engine/component/text-style.d.ts +6 -0
  159. package/dist/engine/component/text-style.js +26 -0
  160. package/dist/engine/component/text-style.js.map +1 -0
  161. package/dist/engine/component/title.d.ts +2 -0
  162. package/dist/engine/component/title.js +90 -0
  163. package/dist/engine/component/title.js.map +1 -0
  164. package/dist/engine/component/tooltip.d.ts +40 -0
  165. package/dist/engine/component/tooltip.js +394 -0
  166. package/dist/engine/component/tooltip.js.map +1 -0
  167. package/dist/engine/component/view-window.d.ts +29 -0
  168. package/dist/engine/component/view-window.js +39 -0
  169. package/dist/engine/component/view-window.js.map +1 -0
  170. package/dist/engine/component/visual-map.d.ts +9 -0
  171. package/dist/engine/component/visual-map.js +381 -0
  172. package/dist/engine/component/visual-map.js.map +1 -0
  173. package/dist/engine/contract.d.ts +469 -0
  174. package/dist/engine/contract.js +9 -0
  175. package/dist/engine/contract.js.map +1 -0
  176. package/dist/engine/coord/axis.d.ts +55 -0
  177. package/dist/engine/coord/axis.js +358 -0
  178. package/dist/engine/coord/axis.js.map +1 -0
  179. package/dist/engine/coord/calendar.d.ts +44 -0
  180. package/dist/engine/coord/calendar.js +282 -0
  181. package/dist/engine/coord/calendar.js.map +1 -0
  182. package/dist/engine/coord/cartesian.d.ts +22 -0
  183. package/dist/engine/coord/cartesian.js +481 -0
  184. package/dist/engine/coord/cartesian.js.map +1 -0
  185. package/dist/engine/coord/polar.d.ts +24 -0
  186. package/dist/engine/coord/polar.js +232 -0
  187. package/dist/engine/coord/polar.js.map +1 -0
  188. package/dist/engine/coord/radar.d.ts +90 -0
  189. package/dist/engine/coord/radar.js +288 -0
  190. package/dist/engine/coord/radar.js.map +1 -0
  191. package/dist/engine/index.d.ts +3 -0
  192. package/dist/engine/index.js +5 -0
  193. package/dist/engine/index.js.map +1 -0
  194. package/dist/engine/instance.d.ts +101 -0
  195. package/dist/engine/instance.js +993 -0
  196. package/dist/engine/instance.js.map +1 -0
  197. package/dist/engine/label-layout.d.ts +3 -0
  198. package/dist/engine/label-layout.js +35 -0
  199. package/dist/engine/label-layout.js.map +1 -0
  200. package/dist/engine/locale.d.ts +6 -0
  201. package/dist/engine/locale.js +100 -0
  202. package/dist/engine/locale.js.map +1 -0
  203. package/dist/engine/model.d.ts +21 -0
  204. package/dist/engine/model.js +160 -0
  205. package/dist/engine/model.js.map +1 -0
  206. package/dist/engine/option/axis.d.ts +167 -0
  207. package/dist/engine/option/axis.js +2 -0
  208. package/dist/engine/option/axis.js.map +1 -0
  209. package/dist/engine/option/components.d.ts +434 -0
  210. package/dist/engine/option/components.js +2 -0
  211. package/dist/engine/option/components.js.map +1 -0
  212. package/dist/engine/registry.d.ts +7 -0
  213. package/dist/engine/registry.js +40 -0
  214. package/dist/engine/registry.js.map +1 -0
  215. package/dist/engine/render/path.d.ts +25 -0
  216. package/dist/engine/render/path.js +378 -0
  217. package/dist/engine/render/path.js.map +1 -0
  218. package/dist/engine/render/svg.d.ts +60 -0
  219. package/dist/engine/render/svg.js +651 -0
  220. package/dist/engine/render/svg.js.map +1 -0
  221. package/dist/engine/render/text.d.ts +13 -0
  222. package/dist/engine/render/text.js +144 -0
  223. package/dist/engine/render/text.js.map +1 -0
  224. package/dist/engine/scale.d.ts +48 -0
  225. package/dist/engine/scale.js +238 -0
  226. package/dist/engine/scale.js.map +1 -0
  227. package/dist/engine/series/bar.d.ts +67 -0
  228. package/dist/engine/series/bar.js +428 -0
  229. package/dist/engine/series/bar.js.map +1 -0
  230. package/dist/engine/series/boxplot.d.ts +31 -0
  231. package/dist/engine/series/boxplot.js +125 -0
  232. package/dist/engine/series/boxplot.js.map +1 -0
  233. package/dist/engine/series/cartesian-data.d.ts +38 -0
  234. package/dist/engine/series/cartesian-data.js +159 -0
  235. package/dist/engine/series/cartesian-data.js.map +1 -0
  236. package/dist/engine/series/circular-common.d.ts +50 -0
  237. package/dist/engine/series/circular-common.js +178 -0
  238. package/dist/engine/series/circular-common.js.map +1 -0
  239. package/dist/engine/series/circular-options.d.ts +151 -0
  240. package/dist/engine/series/circular-options.js +2 -0
  241. package/dist/engine/series/circular-options.js.map +1 -0
  242. package/dist/engine/series/common.d.ts +48 -0
  243. package/dist/engine/series/common.js +198 -0
  244. package/dist/engine/series/common.js.map +1 -0
  245. package/dist/engine/series/funnel.d.ts +37 -0
  246. package/dist/engine/series/funnel.js +204 -0
  247. package/dist/engine/series/funnel.js.map +1 -0
  248. package/dist/engine/series/gauge.d.ts +106 -0
  249. package/dist/engine/series/gauge.js +349 -0
  250. package/dist/engine/series/gauge.js.map +1 -0
  251. package/dist/engine/series/heatmap.d.ts +31 -0
  252. package/dist/engine/series/heatmap.js +222 -0
  253. package/dist/engine/series/heatmap.js.map +1 -0
  254. package/dist/engine/series/label-fit.d.ts +7 -0
  255. package/dist/engine/series/label-fit.js +48 -0
  256. package/dist/engine/series/label-fit.js.map +1 -0
  257. package/dist/engine/series/line.d.ts +65 -0
  258. package/dist/engine/series/line.js +354 -0
  259. package/dist/engine/series/line.js.map +1 -0
  260. package/dist/engine/series/mark-point.d.ts +4 -0
  261. package/dist/engine/series/mark-point.js +196 -0
  262. package/dist/engine/series/mark-point.js.map +1 -0
  263. package/dist/engine/series/pie.d.ts +64 -0
  264. package/dist/engine/series/pie.js +402 -0
  265. package/dist/engine/series/pie.js.map +1 -0
  266. package/dist/engine/series/radar.d.ts +34 -0
  267. package/dist/engine/series/radar.js +168 -0
  268. package/dist/engine/series/radar.js.map +1 -0
  269. package/dist/engine/series/sankey.d.ts +64 -0
  270. package/dist/engine/series/sankey.js +486 -0
  271. package/dist/engine/series/sankey.js.map +1 -0
  272. package/dist/engine/series/scatter.d.ts +40 -0
  273. package/dist/engine/series/scatter.js +167 -0
  274. package/dist/engine/series/scatter.js.map +1 -0
  275. package/dist/engine/series/treemap.d.ts +77 -0
  276. package/dist/engine/series/treemap.js +493 -0
  277. package/dist/engine/series/treemap.js.map +1 -0
  278. package/dist/engine/spec/compile.d.ts +9 -0
  279. package/dist/engine/spec/compile.js +593 -0
  280. package/dist/engine/spec/compile.js.map +1 -0
  281. package/dist/engine/spec/theme.d.ts +5 -0
  282. package/dist/engine/spec/theme.js +83 -0
  283. package/dist/engine/spec/theme.js.map +1 -0
  284. package/dist/engine/spec/types.d.ts +564 -0
  285. package/dist/engine/spec/types.js +3 -0
  286. package/dist/engine/spec/types.js.map +1 -0
  287. package/dist/engine/theme.d.ts +8 -0
  288. package/dist/engine/theme.js +85 -0
  289. package/dist/engine/theme.js.map +1 -0
  290. package/dist/engine/util.d.ts +73 -0
  291. package/dist/engine/util.js +285 -0
  292. package/dist/engine/util.js.map +1 -0
  293. package/package.json +43 -31
  294. package/fesm2022/trismegisto-charts.mjs +0 -12428
  295. package/fesm2022/trismegisto-charts.mjs.map +0 -1
  296. package/types/trismegisto-charts.d.ts +0 -1970
  297. package/types/trismegisto-charts.d.ts.map +0 -1
@@ -0,0 +1,143 @@
1
+ export const CHARTS_MESSAGES_EN = {
2
+ meta: { locale: 'en-US' },
3
+ frame: {
4
+ showTable: 'View as table',
5
+ showChart: 'View as chart',
6
+ tableCaption: 'Data for {label}',
7
+ noData: 'No data to display.',
8
+ keyboardHint: 'Use the arrow keys to move through the points.',
9
+ },
10
+ columns: {
11
+ category: 'Category',
12
+ series: 'Series',
13
+ value: 'Value',
14
+ date: 'Date',
15
+ share: 'Share',
16
+ row: 'Row',
17
+ column: 'Column',
18
+ x: 'X',
19
+ y: 'Y',
20
+ indicator: 'Indicator',
21
+ path: 'Group',
22
+ source: 'Source',
23
+ target: 'Target',
24
+ min: 'Minimum',
25
+ q1: 'First quartile',
26
+ median: 'Median',
27
+ q3: 'Third quartile',
28
+ max: 'Maximum',
29
+ goal: 'Target',
30
+ ranges: 'Ranges',
31
+ change: 'Change',
32
+ cumulative: 'Cumulative',
33
+ size: 'Size',
34
+ },
35
+ types: {
36
+ bar: 'Bar chart',
37
+ line: 'Line chart',
38
+ area: 'Area chart',
39
+ pie: 'Pie chart',
40
+ donut: 'Donut chart',
41
+ heatmap: 'Heat map',
42
+ calendar: 'Calendar heat map',
43
+ scatter: 'Scatter plot',
44
+ gauge: 'Gauge',
45
+ funnel: 'Funnel chart',
46
+ radar: 'Radar chart',
47
+ treemap: 'Treemap',
48
+ sankey: 'Sankey diagram',
49
+ boxplot: 'Box plot',
50
+ sparkline: 'Sparkline',
51
+ bubble: 'Bubble chart',
52
+ bullet: 'Bullet chart',
53
+ waterfall: 'Waterfall chart',
54
+ chart: 'Chart',
55
+ },
56
+ summary: {
57
+ series: {
58
+ one: '{type} with 1 series and {points} points.',
59
+ other: '{type} with {count} series and {points} points.',
60
+ },
61
+ range: 'Values from {min} to {max}.',
62
+ total: 'Total: {total}.',
63
+ largest: 'Largest: {name} ({value}).',
64
+ gauge: '{type}: {value}, on a scale from {min} to {max}.',
65
+ links: {
66
+ one: '{type} with 1 flow between {nodes} nodes.',
67
+ other: '{type} with {count} flows between {nodes} nodes.',
68
+ },
69
+ items: {
70
+ zero: '{type} with no items.',
71
+ one: '{type} with 1 item.',
72
+ other: '{type} with {count} items.',
73
+ },
74
+ gaugeCaption: '{type}: {value} {caption}, on a scale from {min} to {max}.',
75
+ sparkline: {
76
+ one: '{type} with 1 point: {last}.',
77
+ other: '{type} with {count} points, from {first} to {last}. Minimum {min}, maximum {max}.',
78
+ },
79
+ bulletItem: '{name}: {value}, target {target}.',
80
+ bulletItemNoTarget: '{name}: {value}.',
81
+ waterfall: {
82
+ one: '{type} with 1 step: from {start} to {end}.',
83
+ other: '{type} with {count} steps: from {start} to {end}.',
84
+ },
85
+ },
86
+ waterfall: {
87
+ increase: 'Increase',
88
+ decrease: 'Decrease',
89
+ total: 'Total',
90
+ },
91
+ advanced: {
92
+ typeTimeSeries: 'Time series chart',
93
+ typeLinearGauge: 'Linear gauge',
94
+ centerTotal: 'Total',
95
+ legendList: 'Legend: {label}',
96
+ summaryTotal: 'Total: {value}.',
97
+ summaryCenter: '{label}: {value}.',
98
+ band: 'Band',
99
+ legendSum: 'Total',
100
+ legendLast: 'Latest',
101
+ legendAverage: 'Average',
102
+ legendMax: 'Maximum',
103
+ lastValueLabel: 'Latest value: {value}',
104
+ valueWithBand: '{value} · {band}',
105
+ referenceAbove: 'above {label}',
106
+ referenceBelow: 'below {label}',
107
+ referenceOn: 'at {label}',
108
+ referenceLine: '{label} {value}',
109
+ referenceBand: '{label} band from {from} to {to}',
110
+ summaryReferences: 'References: {list}.',
111
+ normalizedValue: '{share} ({value})',
112
+ summaryNormalized: 'Percentage composition.',
113
+ time: 'Date and time',
114
+ tableLimited: 'Showing the {count} most recent readings of {total}.',
115
+ rangeGroup: 'Displayed period of {label}',
116
+ rangeStart: 'Period start',
117
+ rangeEnd: 'Period end',
118
+ rangeToolbar: 'Period controls',
119
+ zoomIn: 'Zoom in',
120
+ zoomOut: 'Zoom out',
121
+ rangePrevious: 'Previous period',
122
+ rangeNext: 'Next period',
123
+ rangeReset: 'Show all',
124
+ rangeShowing: 'Showing {start} to {end} ({visible} of {total} points).',
125
+ rangeAnnounce: 'Showing {start} to {end}.',
126
+ rangeHint: 'With the chart focused, + and - zoom the period in and out, and 0 shows everything.',
127
+ live: 'Live',
128
+ paused: 'Paused',
129
+ resumeLive: 'Back to live',
130
+ stale: 'No recent data since {time}',
131
+ crossedAbove: '{series} went above {label} at {time}',
132
+ crossedBelow: '{series} went back below {label} at {time}',
133
+ liveValues: '{time}: {values}',
134
+ tableSnapshot: 'Table as of {time}',
135
+ refreshTable: 'Refresh',
136
+ aboveScale: 'above the scale',
137
+ belowScale: 'below the scale',
138
+ targetValue: 'target {value}',
139
+ meterValueText: '{value} · {band}',
140
+ scaleSummary: 'Scale from {min} to {max}.',
141
+ },
142
+ };
143
+ //# sourceMappingURL=charts-messages.en.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"charts-messages.en.js","sourceRoot":"","sources":["../../src/core/charts-messages.en.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAmB;IAChD,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE;IACzB,KAAK,EAAE;QACL,SAAS,EAAE,eAAe;QAC1B,SAAS,EAAE,eAAe;QAC1B,YAAY,EAAE,kBAAkB;QAChC,MAAM,EAAE,qBAAqB;QAC7B,YAAY,EAAE,gDAAgD;KAC/D;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,UAAU;QACpB,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,OAAO;QACd,GAAG,EAAE,KAAK;QACV,MAAM,EAAE,QAAQ;QAChB,CAA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AAE,2BAA2B;QAC1C,SAAS,EAAE,qFAAqF;QAChG,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,cAAc;QAC1B,KAAK,EAAE,6BAA6B;QACpC,YAAY,EAAE,uCAAuC;QACrD,YAAY,EAAE,4CAA4C;QAC1D,UAAU,EAAE,kBAAkB;QAC9B,aAAa,EAAE,oBAAoB;QACnC,YAAY,EAAE,SAAS;QACvB,UAAU,EAAE,iBAAiB;QAC7B,UAAU,EAAE,iBAAiB;QAC7B,WAAW,EAAE,gBAAgB;QAC7B,cAAc,EAAE,kBAAkB;QAClC,YAAY,EAAE,4BAA4B;KAC3C;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { ChartsMessages } from './charts-messages';
2
+ export declare const CHARTS_MESSAGES_ES: ChartsMessages;
@@ -0,0 +1,143 @@
1
+ export const CHARTS_MESSAGES_ES = {
2
+ meta: { locale: 'es' },
3
+ frame: {
4
+ showTable: 'Ver como tabla',
5
+ showChart: 'Ver como gráfico',
6
+ tableCaption: 'Datos de {label}',
7
+ noData: 'No hay datos para mostrar.',
8
+ keyboardHint: 'Use las flechas para recorrer los puntos.',
9
+ },
10
+ columns: {
11
+ category: 'Categoría',
12
+ series: 'Serie',
13
+ value: 'Valor',
14
+ date: 'Fecha',
15
+ share: 'Participación',
16
+ row: 'Fila',
17
+ column: 'Columna',
18
+ x: 'X',
19
+ y: 'Y',
20
+ indicator: 'Indicador',
21
+ path: 'Grupo',
22
+ source: 'Origen',
23
+ target: 'Destino',
24
+ min: 'Mínimo',
25
+ q1: 'Primer cuartil',
26
+ median: 'Mediana',
27
+ q3: 'Tercer cuartil',
28
+ max: 'Máximo',
29
+ goal: 'Meta',
30
+ ranges: 'Rangos',
31
+ change: 'Variación',
32
+ cumulative: 'Acumulado',
33
+ size: 'Tamaño',
34
+ },
35
+ types: {
36
+ bar: 'Gráfico de barras',
37
+ line: 'Gráfico de líneas',
38
+ area: 'Gráfico de área',
39
+ pie: 'Gráfico circular',
40
+ donut: 'Gráfico de anillo',
41
+ heatmap: 'Mapa de calor',
42
+ calendar: 'Mapa de calor de calendario',
43
+ scatter: 'Gráfico de dispersión',
44
+ gauge: 'Indicador',
45
+ funnel: 'Gráfico de embudo',
46
+ radar: 'Gráfico de radar',
47
+ treemap: 'Mapa de árbol',
48
+ sankey: 'Diagrama de Sankey',
49
+ boxplot: 'Diagrama de caja',
50
+ sparkline: 'Minigráfico',
51
+ bubble: 'Gráfico de burbujas',
52
+ bullet: 'Gráfico de bala',
53
+ waterfall: 'Gráfico de cascada',
54
+ chart: 'Gráfico',
55
+ },
56
+ summary: {
57
+ series: {
58
+ one: '{type} con 1 serie y {points} puntos.',
59
+ other: '{type} con {count} series y {points} puntos.',
60
+ },
61
+ range: 'Valores de {min} a {max}.',
62
+ total: 'Total: {total}.',
63
+ largest: 'Mayor: {name} ({value}).',
64
+ gauge: '{type}: {value}, en una escala de {min} a {max}.',
65
+ links: {
66
+ one: '{type} con 1 flujo entre {nodes} nodos.',
67
+ other: '{type} con {count} flujos entre {nodes} nodos.',
68
+ },
69
+ items: {
70
+ zero: '{type} sin elementos.',
71
+ one: '{type} con 1 elemento.',
72
+ other: '{type} con {count} elementos.',
73
+ },
74
+ gaugeCaption: '{type}: {value} {caption}, en una escala de {min} a {max}.',
75
+ sparkline: {
76
+ one: '{type} con 1 punto: {last}.',
77
+ other: '{type} con {count} puntos, de {first} a {last}. Mínimo {min}, máximo {max}.',
78
+ },
79
+ bulletItem: '{name}: {value}, meta {target}.',
80
+ bulletItemNoTarget: '{name}: {value}.',
81
+ waterfall: {
82
+ one: '{type} con 1 etapa: de {start} a {end}.',
83
+ other: '{type} con {count} etapas: de {start} a {end}.',
84
+ },
85
+ },
86
+ waterfall: {
87
+ increase: 'Aumento',
88
+ decrease: 'Disminución',
89
+ total: 'Total',
90
+ },
91
+ advanced: {
92
+ typeTimeSeries: 'Gráfico de serie temporal',
93
+ typeLinearGauge: 'Medidor lineal',
94
+ centerTotal: 'Total',
95
+ legendList: 'Leyenda: {label}',
96
+ summaryTotal: 'Total: {value}.',
97
+ summaryCenter: '{label}: {value}.',
98
+ band: 'Franja',
99
+ legendSum: 'Total',
100
+ legendLast: 'Último',
101
+ legendAverage: 'Promedio',
102
+ legendMax: 'Máximo',
103
+ lastValueLabel: 'Último valor: {value}',
104
+ valueWithBand: '{value} · {band}',
105
+ referenceAbove: 'por encima de {label}',
106
+ referenceBelow: 'por debajo de {label}',
107
+ referenceOn: 'en {label}',
108
+ referenceLine: '{label} {value}',
109
+ referenceBand: 'franja {label} de {from} a {to}',
110
+ summaryReferences: 'Referencias: {list}.',
111
+ normalizedValue: '{share} ({value})',
112
+ summaryNormalized: 'Composición porcentual.',
113
+ time: 'Fecha y hora',
114
+ tableLimited: 'Se muestran las {count} mediciones más recientes de {total}.',
115
+ rangeGroup: 'Período mostrado de {label}',
116
+ rangeStart: 'Inicio del período',
117
+ rangeEnd: 'Fin del período',
118
+ rangeToolbar: 'Controles del período',
119
+ zoomIn: 'Ampliar',
120
+ zoomOut: 'Reducir',
121
+ rangePrevious: 'Período anterior',
122
+ rangeNext: 'Período siguiente',
123
+ rangeReset: 'Ver todo',
124
+ rangeShowing: 'Se muestra de {start} a {end} ({visible} de {total} puntos).',
125
+ rangeAnnounce: 'Se muestra de {start} a {end}.',
126
+ rangeHint: 'Con el gráfico enfocado, + y - amplían y reducen el período, y 0 muestra todo.',
127
+ live: 'En vivo',
128
+ paused: 'En pausa',
129
+ resumeLive: 'Volver a en vivo',
130
+ stale: 'Sin datos recientes desde {time}',
131
+ crossedAbove: '{series} superó {label} a las {time}',
132
+ crossedBelow: '{series} volvió por debajo de {label} a las {time}',
133
+ liveValues: '{time}: {values}',
134
+ tableSnapshot: 'Tabla de las {time}',
135
+ refreshTable: 'Actualizar',
136
+ aboveScale: 'por encima de la escala',
137
+ belowScale: 'por debajo de la escala',
138
+ targetValue: 'meta {value}',
139
+ meterValueText: '{value} · {band}',
140
+ scaleSummary: 'Escala de {min} a {max}.',
141
+ },
142
+ };
143
+ //# sourceMappingURL=charts-messages.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"charts-messages.es.js","sourceRoot":"","sources":["../../src/core/charts-messages.es.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAmB;IAChD,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;IACtB,KAAK,EAAE;QACL,SAAS,EAAE,gBAAgB;QAC3B,SAAS,EAAE,kBAAkB;QAC7B,YAAY,EAAE,kBAAkB;QAChC,MAAM,EAAE,4BAA4B;QACpC,YAAY,EAAE,2CAA2C;KAC1D;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,OAAO;QACf,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,eAAe;QACtB,GAAG,EAAE,MAAM;QACX,MAAM,EAAE,SAAS;QACjB,CAAC,EAAE,GAAG;QACN,CAAC,EAAE,GAAG;QACN,SAAS,EAAE,WAAW;QACtB,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,SAAS;QACjB,GAAG,EAAE,QAAQ;QACb,EAAE,EAAE,gBAAgB;QACpB,MAAM,EAAE,SAAS;QACjB,EAAE,EAAE,gBAAgB;QACpB,GAAG,EAAE,QAAQ;QACb,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,WAAW;QACvB,IAAI,EAAE,QAAQ;KACf;IACD,KAAK,EAAE;QACL,GAAG,EAAE,mBAAmB;QACxB,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,kBAAkB;QACvB,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,eAAe;QACxB,QAAQ,EAAE,6BAA6B;QACvC,OAAO,EAAE,uBAAuB;QAChC,KAAK,EAAE,W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AQ;QACpB,aAAa,EAAE,UAAU;QACzB,SAAS,EAAE,QAAQ;QACnB,cAAc,EAAE,uBAAuB;QACvC,aAAa,EAAE,kBAAkB;QACjC,cAAc,EAAE,uBAAuB;QACvC,cAAc,EAAE,uBAAuB;QACvC,WAAW,EAAE,YAAY;QACzB,aAAa,EAAE,iBAAiB;QAChC,aAAa,EAAE,iCAAiC;QAChD,iBAAiB,EAAE,sBAAsB;QACzC,eAAe,EAAE,mBAAmB;QACpC,iBAAiB,EAAE,yBAAyB;QAC5C,IAAI,EAAE,cAAc;QACpB,YAAY,EAAE,8DAA8D;QAC5E,UAAU,EAAE,6BAA6B;QACzC,UAAU,EAAE,oBAAoB;QAChC,QAAQ,EAAE,iBAAiB;QAC3B,YAAY,EAAE,uBAAuB;QACrC,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,SAAS;QAClB,aAAa,EAAE,kBAAkB;QACjC,SAAS,EAAE,mBAAmB;QAC9B,UAAU,EAAE,UAAU;QACtB,YAAY,EAAE,8DAA8D;QAC5E,aAAa,EAAE,gCAAgC;QAC/C,SAAS,EAAE,gFAAgF;QAC3F,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,kBAAkB;QAC9B,KAAK,EAAE,kCAAkC;QACzC,YAAY,EAAE,sCAAsC;QACpD,YAAY,EAAE,oDAAoD;QAClE,UAAU,EAAE,kBAAkB;QAC9B,aAAa,EAAE,qBAAqB;QACpC,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,yBAAyB;QACrC,UAAU,EAAE,yBAAyB;QACrC,WAAW,EAAE,cAAc;QAC3B,cAAc,EAAE,kBAAkB;QAClC,YAAY,EAAE,0BAA0B;KACzC;CACF,CAAC"}
@@ -0,0 +1,143 @@
1
+ export const CHARTS_MESSAGES_PT_BR = {
2
+ meta: { locale: 'pt-BR' },
3
+ frame: {
4
+ showTable: 'Ver como tabela',
5
+ showChart: 'Ver como gráfico',
6
+ tableCaption: 'Dados de {label}',
7
+ noData: 'Sem dados para exibir.',
8
+ keyboardHint: 'Use as setas para percorrer os pontos.',
9
+ },
10
+ columns: {
11
+ category: 'Categoria',
12
+ series: 'Série',
13
+ value: 'Valor',
14
+ date: 'Data',
15
+ share: 'Participação',
16
+ row: 'Linha',
17
+ column: 'Coluna',
18
+ x: 'X',
19
+ y: 'Y',
20
+ indicator: 'Indicador',
21
+ path: 'Grupo',
22
+ source: 'Origem',
23
+ target: 'Destino',
24
+ min: 'Mínimo',
25
+ q1: '1º quartil',
26
+ median: 'Mediana',
27
+ q3: '3º quartil',
28
+ max: 'Máximo',
29
+ goal: 'Meta',
30
+ ranges: 'Faixas',
31
+ change: 'Variação',
32
+ cumulative: 'Acumulado',
33
+ size: 'Tamanho',
34
+ },
35
+ types: {
36
+ bar: 'Gráfico de barras',
37
+ line: 'Gráfico de linhas',
38
+ area: 'Gráfico de área',
39
+ pie: 'Gráfico de pizza',
40
+ donut: 'Gráfico de rosca',
41
+ heatmap: 'Mapa de calor',
42
+ calendar: 'Mapa de calor de calendário',
43
+ scatter: 'Gráfico de dispersão',
44
+ gauge: 'Medidor',
45
+ funnel: 'Gráfico de funil',
46
+ radar: 'Gráfico de radar',
47
+ treemap: 'Mapa de árvore',
48
+ sankey: 'Diagrama de Sankey',
49
+ boxplot: 'Diagrama de caixa',
50
+ sparkline: 'Minigráfico',
51
+ bubble: 'Gráfico de bolhas',
52
+ bullet: 'Gráfico de bala',
53
+ waterfall: 'Gráfico de cascata',
54
+ chart: 'Gráfico',
55
+ },
56
+ summary: {
57
+ series: {
58
+ one: '{type} com 1 série e {points} pontos.',
59
+ other: '{type} com {count} séries e {points} pontos.',
60
+ },
61
+ range: 'Valores de {min} a {max}.',
62
+ total: 'Total: {total}.',
63
+ largest: 'Maior: {name} ({value}).',
64
+ gauge: '{type}: {value}, numa escala de {min} a {max}.',
65
+ links: {
66
+ one: '{type} com 1 fluxo entre {nodes} nós.',
67
+ other: '{type} com {count} fluxos entre {nodes} nós.',
68
+ },
69
+ items: {
70
+ zero: '{type} sem itens.',
71
+ one: '{type} com 1 item.',
72
+ other: '{type} com {count} itens.',
73
+ },
74
+ gaugeCaption: '{type}: {value} {caption}, numa escala de {min} a {max}.',
75
+ sparkline: {
76
+ one: '{type} com 1 ponto: {last}.',
77
+ other: '{type} com {count} pontos, de {first} a {last}. Mínimo {min}, máximo {max}.',
78
+ },
79
+ bulletItem: '{name}: {value}, meta {target}.',
80
+ bulletItemNoTarget: '{name}: {value}.',
81
+ waterfall: {
82
+ one: '{type} com 1 etapa: de {start} a {end}.',
83
+ other: '{type} com {count} etapas: de {start} a {end}.',
84
+ },
85
+ },
86
+ waterfall: {
87
+ increase: 'Aumento',
88
+ decrease: 'Redução',
89
+ total: 'Total',
90
+ },
91
+ advanced: {
92
+ typeTimeSeries: 'Gráfico de série temporal',
93
+ typeLinearGauge: 'Medidor linear',
94
+ centerTotal: 'Total',
95
+ legendList: 'Legenda: {label}',
96
+ summaryTotal: 'Total: {value}.',
97
+ summaryCenter: '{label}: {value}.',
98
+ band: 'Faixa',
99
+ legendSum: 'Total',
100
+ legendLast: 'Último',
101
+ legendAverage: 'Média',
102
+ legendMax: 'Máximo',
103
+ lastValueLabel: 'Último valor: {value}',
104
+ valueWithBand: '{value} · {band}',
105
+ referenceAbove: 'acima de {label}',
106
+ referenceBelow: 'abaixo de {label}',
107
+ referenceOn: 'em {label}',
108
+ referenceLine: '{label} {value}',
109
+ referenceBand: 'faixa {label} de {from} a {to}',
110
+ summaryReferences: 'Referências: {list}.',
111
+ normalizedValue: '{share} ({value})',
112
+ summaryNormalized: 'Composição percentual.',
113
+ time: 'Data e hora',
114
+ tableLimited: 'Mostrando as {count} medições mais recentes de {total}.',
115
+ rangeGroup: 'Período exibido de {label}',
116
+ rangeStart: 'Início do período',
117
+ rangeEnd: 'Fim do período',
118
+ rangeToolbar: 'Controles do período',
119
+ zoomIn: 'Ampliar',
120
+ zoomOut: 'Reduzir',
121
+ rangePrevious: 'Período anterior',
122
+ rangeNext: 'Próximo período',
123
+ rangeReset: 'Ver tudo',
124
+ rangeShowing: 'Mostrando de {start} a {end} ({visible} de {total} pontos).',
125
+ rangeAnnounce: 'Mostrando de {start} a {end}.',
126
+ rangeHint: 'Com o gráfico em foco, + e - ampliam e reduzem o período, e 0 mostra tudo.',
127
+ live: 'Ao vivo',
128
+ paused: 'Pausado',
129
+ resumeLive: 'Voltar ao vivo',
130
+ stale: 'Sem dados recentes desde {time}',
131
+ crossedAbove: '{series} passou de {label} às {time}',
132
+ crossedBelow: '{series} voltou abaixo de {label} às {time}',
133
+ liveValues: '{time}: {values}',
134
+ tableSnapshot: 'Tabela de {time}',
135
+ refreshTable: 'Atualizar',
136
+ aboveScale: 'acima da escala',
137
+ belowScale: 'abaixo da escala',
138
+ targetValue: 'meta {value}',
139
+ meterValueText: '{value} · {band}',
140
+ scaleSummary: 'Escala de {min} a {max}.',
141
+ },
142
+ };
143
+ //# sourceMappingURL=charts-messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"charts-messages.js","sourceRoot":"","sources":["../../src/core/charts-messages.ts"],"names":[],"mappings":"AAmKA,MAAM,CAAC,MAAM,qBAAqB,GAAmB;IACnD,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE;IACzB,KAAK,EAAE;QACL,SAAS,EAAE,iBAAiB;QAC5B,SAAS,EAAE,kBAAkB;QAC7B,YAAY,EAAE,kBAAkB;QAChC,MAAM,EAAE,wBAAwB;QAChC,YAAY,EAAE,wCAAwC;KACvD;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,OAAO;QACf,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,cAAc;QACrB,GAAG,EAAE,OAAO;QACZ,MAAM,EAAE,QAAQ;QAChB,CAAC,EAAE,GAAG;QACN,CAAC,EAAE,GAAG;QACN,SAAS,EAAE,WAAW;QACtB,IAAI,EAAE,OAAO;QACb,MAAM,EAAE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E,SAAS;QACf,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,gBAAgB;QAC5B,KAAK,EAAE,iCAAiC;QACxC,YAAY,EAAE,sCAAsC;QACpD,YAAY,EAAE,6CAA6C;QAC3D,UAAU,EAAE,kBAAkB;QAC9B,aAAa,EAAE,kBAAkB;QACjC,YAAY,EAAE,WAAW;QACzB,UAAU,EAAE,iBAAiB;QAC7B,UAAU,EAAE,kBAAkB;QAC9B,WAAW,EAAE,cAAc;QAC3B,cAAc,EAAE,kBAAkB;QAClC,YAAY,EAAE,0BAA0B;KACzC;CACF,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { ChartTone } from './types';
2
+ /** Token de cada tom semântico (`neutral` é o texto secundário). */
3
+ export declare const CHART_TONE_TOKENS: Readonly<Record<ChartTone, string>>;
4
+ /** Quantas cores a paleta categórica dos tokens tem (`--hm-data-categorical-1..8`). */
5
+ export declare const CHART_PALETTE_SIZE = 8;
6
+ /** Token da paleta categórica na posição `index` (a mesma ordem que o motor usa nas séries sem cor). */
7
+ export declare function paletteToken(index: number): string;
8
+ /** Cores resolvidas (`rgb(...)`) por nome de token. */
9
+ export type ChartColors = Readonly<Record<string, string>>;
10
+ /** Nome de token aceito pelos campos de cor (`--hm-...`); outro texto é ignorado com aviso. */
11
+ export declare function isChartColorToken(value: unknown, warn?: boolean): value is string;
12
+ /** Lista sem repetição dos tokens válidos (os inválidos são ignorados com aviso). */
13
+ export declare function chartColorTokens(values: Iterable<string | null | undefined>): string[];
14
+ /** Cor CSS de um token para o DOM da moldura (a marca da legenda em lista): `var(--hm-...)`. */
15
+ export declare function tokenCss(token: string): string;
16
+ /**
17
+ * Acompanha um conjunto de tokens de cor que muda com as entradas: `setTokens` troca o conjunto (relê só quando ele
18
+ * muda) e cada leitura chega a `onChange`. `null` antes de resolver, em `forced-colors` e fora do documento (o motor
19
+ * cai na paleta dele).
20
+ */
21
+ export interface ChartColorWatcher {
22
+ setTokens(tokens: readonly string[]): void;
23
+ stop(): void;
24
+ }
25
+ export declare function createChartColorWatcher(host: HTMLElement, onChange: (colors: ChartColors | null) => void): ChartColorWatcher;
26
+ /** Mesmo conteúdo (para não montar a opção de novo quando a releitura dá as mesmas cores). */
27
+ export declare function sameChartColors(a: ChartColors | null, b: ChartColors | null): boolean;
@@ -0,0 +1,76 @@
1
+ // Cor por token nos gráficos tipados: o app dá o NOME do token (`'--hm-success'`), nunca uma cor; o núcleo resolve no
2
+ // elemento do gráfico (`watchTokenColors`) e relê na troca de tema, família, densidade ou paleta. Tons semânticos
3
+ // (`ChartTone`) apontam para os tokens de estado.
4
+ import { chartWarn } from './warn';
5
+ import { watchTokenColors } from './observe';
6
+ /** Token de cada tom semântico (`neutral` é o texto secundário). */
7
+ export const CHART_TONE_TOKENS = {
8
+ neutral: '--hm-muted',
9
+ info: '--hm-info',
10
+ success: '--hm-success',
11
+ warning: '--hm-warning',
12
+ danger: '--hm-danger',
13
+ };
14
+ /** Quantas cores a paleta categórica dos tokens tem (`--hm-data-categorical-1..8`). */
15
+ export const CHART_PALETTE_SIZE = 8;
16
+ /** Token da paleta categórica na posição `index` (a mesma ordem que o motor usa nas séries sem cor). */
17
+ export function paletteToken(index) {
18
+ return `--hm-data-categorical-${(((index % CHART_PALETTE_SIZE) + CHART_PALETTE_SIZE) % CHART_PALETTE_SIZE) + 1}`;
19
+ }
20
+ /** Nome de token aceito pelos campos de cor (`--hm-...`); outro texto é ignorado com aviso. */
21
+ export function isChartColorToken(value, warn = true) {
22
+ if (typeof value !== 'string' || !value)
23
+ return false;
24
+ if (value.startsWith('--hm-'))
25
+ return true;
26
+ if (warn)
27
+ chartWarn(`[hermes-charts] cor "${value}" ignorada: os campos de cor aceitam só o nome de um token (--hm-...).`);
28
+ return false;
29
+ }
30
+ /** Lista sem repetição dos tokens válidos (os inválidos são ignorados com aviso). */
31
+ export function chartColorTokens(values) {
32
+ const out = new Set();
33
+ for (const v of values)
34
+ if (v != null && isChartColorToken(v))
35
+ out.add(v);
36
+ return [...out].sort();
37
+ }
38
+ /** Cor CSS de um token para o DOM da moldura (a marca da legenda em lista): `var(--hm-...)`. */
39
+ export function tokenCss(token) {
40
+ return `var(${token})`;
41
+ }
42
+ export function createChartColorWatcher(host, onChange) {
43
+ let key = '';
44
+ let stopCurrent = null;
45
+ return {
46
+ setTokens(tokens) {
47
+ const next = [...tokens].sort().join('|');
48
+ if (next === key)
49
+ return;
50
+ key = next;
51
+ stopCurrent?.();
52
+ stopCurrent = null;
53
+ if (!tokens.length) {
54
+ onChange(null);
55
+ return;
56
+ }
57
+ const record = Object.fromEntries(tokens.map((t) => [t, t]));
58
+ stopCurrent = watchTokenColors(host, record, (colors) => onChange(colors));
59
+ },
60
+ stop() {
61
+ stopCurrent?.();
62
+ stopCurrent = null;
63
+ key = '';
64
+ },
65
+ };
66
+ }
67
+ /** Mesmo conteúdo (para não montar a opção de novo quando a releitura dá as mesmas cores). */
68
+ export function sameChartColors(a, b) {
69
+ if (a === b)
70
+ return true;
71
+ if (!a || !b)
72
+ return false;
73
+ const ka = Object.keys(a);
74
+ return ka.length === Object.keys(b).length && ka.every((k) => a[k] === b[k]);
75
+ }
76
+ //# sourceMappingURL=colors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/core/colors.ts"],"names":[],"mappings":"AAAA,sHAAsH;AACtH,kHAAkH;AAClH,kDAAkD;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAG7C,oEAAoE;AACpE,MAAM,CAAC,MAAM,iBAAiB,GAAwC;IACpE,OAAO,EAAE,YAAY;IACrB,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE,cAAc;IACvB,MAAM,EAAE,aAAa;CACtB,CAAC;AAEF,uFAAuF;AACvF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC;AAEpC,wGAAwG;AACxG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AE,OAAO;YACzB,GAAG,GAAG,IAAI,CAAC;YACX,WAAW,EAAE,EAAE,CAAC;YAChB,WAAW,GAAG,IAAI,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;gBACnB,QAAQ,CAAC,IAAI,CAAC,CAAC;gBACf,OAAO;YACT,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAA2B,CAAC;YACvF,WAAW,GAAG,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;QAC7E,CAAC;QACD,IAAI;YACF,WAAW,EAAE,EAAE,CAAC;YAChB,WAAW,GAAG,IAAI,CAAC;YACnB,GAAG,GAAG,EAAE,CAAC;QACX,CAAC;KACF,CAAC;AACJ,CAAC;AAED,8FAA8F;AAC9F,MAAM,UAAU,eAAe,CAAC,CAAqB,EAAE,CAAqB;IAC1E,IAAI,CAAC,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACzB,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IAC3B,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC1B,OAAO,EAAE,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/E,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { type ChartsTextFormatter } from './charts-i18n';
2
+ import { type ChartsAdvancedMessages, type ChartsMessages } from './charts-messages';
3
+ import type { ChartColors } from './colors';
4
+ import { type NumberFormatter } from './format';
5
+ import { type ChartWarner } from './warn';
6
+ /** Formato de valor por função (`1,8 GB`, `12 containers`): o app decide o texto a partir do número. */
7
+ export type ChartValueFormat = (value: number) => string;
8
+ /** O que cada gráfico tipado recebe para montar opção, resumo e tabela. */
9
+ export interface ChartContext {
10
+ readonly m: ChartsMessages;
11
+ /** Textos dos recursos avançados (a seção `advanced` do catálogo, ou a embutida do idioma). */
12
+ readonly adv: ChartsAdvancedMessages;
13
+ readonly locale: string;
14
+ /** Formato dos valores em todo lugar (eixo, tooltip, rótulos, tabela, resumo, pontos). */
15
+ readonly num: NumberFormatter;
16
+ readonly legend: boolean;
17
+ readonly tooltip: boolean;
18
+ readonly i18n: ChartsTextFormatter;
19
+ /** O app deu um formato por função (`valueFormat`). */
20
+ readonly customFormat: boolean;
21
+ /** Cor resolvida de um token (`'--hm-success'` → `rgb(...)`), ou `undefined` (sem resolver: paleta do motor). */
22
+ color(token: string | null | undefined): string | undefined;
23
+ /** Aviso de desenvolvimento desta instância (`[hermes-charts]`, uma vez por mensagem). */
24
+ warn(message: string): void;
25
+ }
26
+ export interface ChartContextInput {
27
+ readonly messages: ChartsMessages;
28
+ readonly locale: string;
29
+ readonly numberFormat?: Intl.NumberFormatOptions | null;
30
+ /** Formato por função; vence `numberFormat` (com aviso se os dois vierem). */
31
+ readonly valueFormat?: ChartValueFormat | null;
32
+ readonly legend?: boolean;
33
+ readonly tooltip?: boolean;
34
+ readonly text: ChartsTextFormatter;
35
+ /** Cores dos tokens pedidos pelo gráfico, resolvidas no elemento (`null` antes de resolver). */
36
+ readonly colors?: ChartColors | null;
37
+ readonly warn?: ChartWarner;
38
+ }
39
+ /** Seção `advanced` do catálogo ativo; um catálogo do app sem ela usa a embutida do mesmo idioma. */
40
+ export declare function chartsAdvancedMessages(messages: ChartsMessages): ChartsAdvancedMessages;
41
+ /** Contexto de montagem a partir do catálogo, do idioma e das entradas comuns (legenda, tooltip, formato). */
42
+ export declare function createChartContext(input: ChartContextInput): ChartContext;
@@ -0,0 +1,36 @@
1
+ import { CHARTS_BUILT_IN_MESSAGES } from './charts-i18n';
2
+ import { CHARTS_MESSAGES_PT_BR } from './charts-messages';
3
+ import { EMPTY_VALUE, numberFormatter } from './format';
4
+ import { chartWarn } from './warn';
5
+ /** Seção `advanced` do catálogo ativo; um catálogo do app sem ela usa a embutida do mesmo idioma. */
6
+ export function chartsAdvancedMessages(messages) {
7
+ if (messages.advanced)
8
+ return messages.advanced;
9
+ const locale = messages.meta.locale;
10
+ const builtIn = CHARTS_BUILT_IN_MESSAGES[locale] ?? CHARTS_BUILT_IN_MESSAGES[locale.split('-')[0]] ?? CHARTS_MESSAGES_PT_BR;
11
+ return builtIn.advanced ?? CHARTS_MESSAGES_PT_BR.advanced;
12
+ }
13
+ /** Contexto de montagem a partir do catálogo, do idioma e das entradas comuns (legenda, tooltip, formato). */
14
+ export function createChartContext(input) {
15
+ const warn = input.warn ?? chartWarn;
16
+ const format = input.valueFormat ?? null;
17
+ if (format && input.numberFormat)
18
+ warn('[hermes-charts] valueFormat e numberFormat juntos: vale o valueFormat.');
19
+ const num = format
20
+ ? (value) => (value == null || Number.isNaN(value) ? EMPTY_VALUE : format(value))
21
+ : numberFormatter(input.locale, input.numberFormat ?? null);
22
+ const colors = input.colors ?? null;
23
+ return {
24
+ m: input.messages,
25
+ adv: chartsAdvancedMessages(input.messages),
26
+ locale: input.locale,
27
+ num,
28
+ legend: input.legend ?? true,
29
+ tooltip: input.tooltip ?? true,
30
+ i18n: input.text,
31
+ customFormat: !!format,
32
+ color: (token) => (token && colors ? colors[token] : undefined),
33
+ warn,
34
+ };
35
+ }
36
+ //# sourceMappingURL=context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/core/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA4B,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAoD,MAAM,mBAAmB,CAAC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sBAAsB,CAAC,KAAK,CAAC,QAAQ,CAAC;QAC3C,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,GAAG;QACH,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,IAAI;QAC5B,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,IAAI;QAC9B,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,YAAY,EAAE,CAAC,CAAC,MAAM;QACtB,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,IAAI,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC/D,IAAI;KACL,CAAC;AACJ,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ChartLocale } from '../engine';
2
+ import type { ChartsMessages } from './charts-messages';
3
+ /** Idioma do motor (`ChartLocale`), montado do catálogo do pacote + `Intl`. */
4
+ export declare function engineLocale(messages: ChartsMessages, locale: string): ChartLocale;