@primeui/chart-core 0.0.1-alpha.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 (299) hide show
  1. package/LICENSE +23 -0
  2. package/README.md +1 -0
  3. package/dist/animations/index.d.mts +136 -0
  4. package/dist/animations/index.mjs +18 -0
  5. package/dist/annotation.utils-Bm0lOO1o.d.mts +290 -0
  6. package/dist/borderRadius.utils-Cz73LLR_.d.mts +54 -0
  7. package/dist/canvas-D4vigq47.d.mts +34 -0
  8. package/dist/canvas.utils-D2WHi2gL.d.mts +167 -0
  9. package/dist/cartesian/index.d.mts +94 -0
  10. package/dist/cartesian/index.mjs +93 -0
  11. package/dist/chunk-22ST6YPP.mjs +304 -0
  12. package/dist/chunk-2QK2KOBN.mjs +10 -0
  13. package/dist/chunk-2QRS4YQ5.mjs +18 -0
  14. package/dist/chunk-3FFJEX4A.mjs +261 -0
  15. package/dist/chunk-3IYSJ2U7.mjs +567 -0
  16. package/dist/chunk-3OZLP4I4.mjs +190 -0
  17. package/dist/chunk-3WEMHXZI.mjs +198 -0
  18. package/dist/chunk-3Z62EUJN.mjs +138 -0
  19. package/dist/chunk-4C6EVJ54.mjs +362 -0
  20. package/dist/chunk-53HW45JB.mjs +102 -0
  21. package/dist/chunk-55Y3WI6S.mjs +186 -0
  22. package/dist/chunk-5JCI2DEB.mjs +97 -0
  23. package/dist/chunk-66T4MRC5.mjs +113 -0
  24. package/dist/chunk-6HSEJLSR.mjs +376 -0
  25. package/dist/chunk-6STOLMCA.mjs +187 -0
  26. package/dist/chunk-7CMVDIOU.mjs +54 -0
  27. package/dist/chunk-7QQ6ETB4.mjs +228 -0
  28. package/dist/chunk-A6ZQZFL2.mjs +272 -0
  29. package/dist/chunk-ADKLH73T.mjs +1 -0
  30. package/dist/chunk-AGU3NG6D.mjs +22 -0
  31. package/dist/chunk-AHYIS6EB.mjs +230 -0
  32. package/dist/chunk-AP3UYWYT.mjs +4 -0
  33. package/dist/chunk-ARB5T6MP.mjs +326 -0
  34. package/dist/chunk-ARRGOEFX.mjs +585 -0
  35. package/dist/chunk-AUF4CHDP.mjs +422 -0
  36. package/dist/chunk-B4FTADAZ.mjs +561 -0
  37. package/dist/chunk-BABQKA6K.mjs +339 -0
  38. package/dist/chunk-BETFQBM2.mjs +197 -0
  39. package/dist/chunk-BKP26M4K.mjs +413 -0
  40. package/dist/chunk-BZN2QHGP.mjs +200 -0
  41. package/dist/chunk-C36VWQ7A.mjs +86 -0
  42. package/dist/chunk-CHW4RKY3.mjs +16 -0
  43. package/dist/chunk-CINXJIRR.mjs +120 -0
  44. package/dist/chunk-DN6AXQYZ.mjs +667 -0
  45. package/dist/chunk-DP2IZNN3.mjs +92 -0
  46. package/dist/chunk-DTWTCFRG.mjs +119 -0
  47. package/dist/chunk-EAMUNLRU.mjs +172 -0
  48. package/dist/chunk-EDAKJLNA.mjs +17 -0
  49. package/dist/chunk-ERVQB2VZ.mjs +59 -0
  50. package/dist/chunk-FFMT6OCO.mjs +92 -0
  51. package/dist/chunk-FHTC2YDB.mjs +102 -0
  52. package/dist/chunk-FRST55HY.mjs +16 -0
  53. package/dist/chunk-HDFGCN2F.mjs +132 -0
  54. package/dist/chunk-IEGLX7VL.mjs +42 -0
  55. package/dist/chunk-ILUWFYGY.mjs +220 -0
  56. package/dist/chunk-IXOWSEHO.mjs +114 -0
  57. package/dist/chunk-J4RI2C2G.mjs +172 -0
  58. package/dist/chunk-J65DBT4R.mjs +13 -0
  59. package/dist/chunk-JGOVWSKH.mjs +179 -0
  60. package/dist/chunk-JO7VACY2.mjs +25 -0
  61. package/dist/chunk-JWFBOPM6.mjs +122 -0
  62. package/dist/chunk-KNDZP446.mjs +895 -0
  63. package/dist/chunk-KP2TWD4Z.mjs +90 -0
  64. package/dist/chunk-KQIFO5I3.mjs +225 -0
  65. package/dist/chunk-KVDEROP6.mjs +59 -0
  66. package/dist/chunk-LKC7MZKK.mjs +87 -0
  67. package/dist/chunk-LVMDQ4OJ.mjs +305 -0
  68. package/dist/chunk-M7B3JF43.mjs +90 -0
  69. package/dist/chunk-MTGMXRNF.mjs +136 -0
  70. package/dist/chunk-N3TIT3OH.mjs +1040 -0
  71. package/dist/chunk-NHRK5KU2.mjs +890 -0
  72. package/dist/chunk-NKUYIWAP.mjs +243 -0
  73. package/dist/chunk-NPDZLYIF.mjs +238 -0
  74. package/dist/chunk-O2X6FF45.mjs +499 -0
  75. package/dist/chunk-OGJ6IIBW.mjs +176 -0
  76. package/dist/chunk-OHGCZZPZ.mjs +403 -0
  77. package/dist/chunk-OWW3K55O.mjs +351 -0
  78. package/dist/chunk-OXTFAWSK.mjs +60 -0
  79. package/dist/chunk-PLSDU3C2.mjs +890 -0
  80. package/dist/chunk-PRDVPOZX.mjs +223 -0
  81. package/dist/chunk-Q6PPVIHU.mjs +21 -0
  82. package/dist/chunk-QQBXUDM4.mjs +885 -0
  83. package/dist/chunk-QS76E3TD.mjs +111 -0
  84. package/dist/chunk-QWQ6HY4I.mjs +209 -0
  85. package/dist/chunk-R6Y3R7EW.mjs +135 -0
  86. package/dist/chunk-RBLZRT5K.mjs +190 -0
  87. package/dist/chunk-RO4N6YFS.mjs +167 -0
  88. package/dist/chunk-RQ3CKQOX.mjs +984 -0
  89. package/dist/chunk-SALTGZFR.mjs +208 -0
  90. package/dist/chunk-SANZPAJ4.mjs +14 -0
  91. package/dist/chunk-SDBPQ5CF.mjs +624 -0
  92. package/dist/chunk-SSLTFJ3U.mjs +364 -0
  93. package/dist/chunk-SXHVDJGF.mjs +77 -0
  94. package/dist/chunk-TA4MVAEX.mjs +243 -0
  95. package/dist/chunk-TAHCOZHF.mjs +1772 -0
  96. package/dist/chunk-TQ6S34QZ.mjs +152 -0
  97. package/dist/chunk-UPRXABX5.mjs +90 -0
  98. package/dist/chunk-VGLSBZDN.mjs +71 -0
  99. package/dist/chunk-VN7CKCSE.mjs +364 -0
  100. package/dist/chunk-VVI3OBPJ.mjs +524 -0
  101. package/dist/chunk-VWF57TS3.mjs +62 -0
  102. package/dist/chunk-WA3OVISZ.mjs +179 -0
  103. package/dist/chunk-WCG35U6M.mjs +964 -0
  104. package/dist/chunk-WFTX4AQJ.mjs +194 -0
  105. package/dist/chunk-WFVOQ2QZ.mjs +18 -0
  106. package/dist/chunk-WH3C3Y7P.mjs +149 -0
  107. package/dist/chunk-WPFUV7K3.mjs +488 -0
  108. package/dist/chunk-WRULPWHD.mjs +492 -0
  109. package/dist/chunk-WS64BZXT.mjs +1 -0
  110. package/dist/chunk-WY4AURRE.mjs +2419 -0
  111. package/dist/chunk-WYLILAOO.mjs +167 -0
  112. package/dist/chunk-X4D7FKUS.mjs +62 -0
  113. package/dist/chunk-X7T34OLW.mjs +139 -0
  114. package/dist/chunk-XIHBK5D3.mjs +68 -0
  115. package/dist/chunk-XQQCGFYB.mjs +50 -0
  116. package/dist/chunk-XTVE4P3L.mjs +214 -0
  117. package/dist/chunk-XUAASRXW.mjs +579 -0
  118. package/dist/chunk-Y3L3D4GQ.mjs +685 -0
  119. package/dist/chunk-YBJ56XJS.mjs +132 -0
  120. package/dist/chunk-ZQFK6CAE.mjs +1 -0
  121. package/dist/chunk-ZT2Z7ERM.mjs +874 -0
  122. package/dist/chunk-ZTL2FQEW.mjs +714 -0
  123. package/dist/circular/arc/index.d.mts +8 -0
  124. package/dist/circular/arc/index.mjs +3 -0
  125. package/dist/circular/index.d.mts +44 -0
  126. package/dist/circular/index.mjs +13 -0
  127. package/dist/collect.utils-DiKB4ciO.d.mts +12 -0
  128. package/dist/computeChartState-BTVIqwyO.d.mts +304 -0
  129. package/dist/controller-BJE1AZ3q.d.mts +82 -0
  130. package/dist/controller-BoNigQJr.d.mts +63 -0
  131. package/dist/controllers/index.d.mts +16 -0
  132. package/dist/controllers/index.mjs +110 -0
  133. package/dist/datalabel.utils-CkjGeB8S.d.mts +122 -0
  134. package/dist/decimation.utils-CcvJVhI4.d.mts +244 -0
  135. package/dist/geometry-DUUQJXVM.d.mts +60 -0
  136. package/dist/index-DseIZa1j.d.mts +167 -0
  137. package/dist/index.d.mts +88 -0
  138. package/dist/index.mjs +110 -0
  139. package/dist/orchestrator/index.d.mts +264 -0
  140. package/dist/orchestrator/index.mjs +33 -0
  141. package/dist/plugins/index.d.mts +18 -0
  142. package/dist/plugins/index.mjs +1 -0
  143. package/dist/property-animations-D433wXzz.d.mts +580 -0
  144. package/dist/property-store-NORUWFND.d.mts +17 -0
  145. package/dist/radial/index.d.mts +14 -0
  146. package/dist/radial/index.mjs +37 -0
  147. package/dist/renderers/axis/index.d.mts +39 -0
  148. package/dist/renderers/axis/index.mjs +8 -0
  149. package/dist/renderers/circular/index.d.mts +13 -0
  150. package/dist/renderers/circular/index.mjs +13 -0
  151. package/dist/renderers/index.d.mts +83 -0
  152. package/dist/renderers/index.mjs +75 -0
  153. package/dist/renderers/navigator/index.d.mts +103 -0
  154. package/dist/renderers/navigator/index.mjs +8 -0
  155. package/dist/resize.utils-D_2qm6rv.d.mts +142 -0
  156. package/dist/ring.utils-DXvrxMkU.d.mts +138 -0
  157. package/dist/scale-KFv30jqZ.d.mts +307 -0
  158. package/dist/scales-Drf8AIhL.d.mts +75 -0
  159. package/dist/series/bar/canvas/index.d.mts +8 -0
  160. package/dist/series/bar/canvas/index.mjs +10 -0
  161. package/dist/series/bar/controller/index.d.mts +105 -0
  162. package/dist/series/bar/controller/index.mjs +44 -0
  163. package/dist/series/bar/controller-canvas/index.d.mts +7 -0
  164. package/dist/series/bar/controller-canvas/index.mjs +49 -0
  165. package/dist/series/bar/controller-svg/index.d.mts +7 -0
  166. package/dist/series/bar/controller-svg/index.mjs +49 -0
  167. package/dist/series/bar/index.d.mts +60 -0
  168. package/dist/series/bar/index.mjs +13 -0
  169. package/dist/series/bar/svg/index.d.mts +8 -0
  170. package/dist/series/bar/svg/index.mjs +11 -0
  171. package/dist/series/candlestick/canvas/index.d.mts +8 -0
  172. package/dist/series/candlestick/canvas/index.mjs +8 -0
  173. package/dist/series/candlestick/controller/index.d.mts +123 -0
  174. package/dist/series/candlestick/controller/index.mjs +40 -0
  175. package/dist/series/candlestick/controller-canvas/index.d.mts +7 -0
  176. package/dist/series/candlestick/controller-canvas/index.mjs +45 -0
  177. package/dist/series/candlestick/controller-svg/index.d.mts +7 -0
  178. package/dist/series/candlestick/controller-svg/index.mjs +45 -0
  179. package/dist/series/candlestick/index.d.mts +11 -0
  180. package/dist/series/candlestick/index.mjs +10 -0
  181. package/dist/series/candlestick/svg/index.d.mts +8 -0
  182. package/dist/series/candlestick/svg/index.mjs +8 -0
  183. package/dist/series/heatmap/canvas/index.d.mts +16 -0
  184. package/dist/series/heatmap/canvas/index.mjs +9 -0
  185. package/dist/series/heatmap/controller/index.d.mts +110 -0
  186. package/dist/series/heatmap/controller/index.mjs +23 -0
  187. package/dist/series/heatmap/controller-canvas/index.d.mts +7 -0
  188. package/dist/series/heatmap/controller-canvas/index.mjs +28 -0
  189. package/dist/series/heatmap/controller-svg/index.d.mts +7 -0
  190. package/dist/series/heatmap/controller-svg/index.mjs +28 -0
  191. package/dist/series/heatmap/index.d.mts +34 -0
  192. package/dist/series/heatmap/index.mjs +13 -0
  193. package/dist/series/heatmap/svg/index.d.mts +15 -0
  194. package/dist/series/heatmap/svg/index.mjs +10 -0
  195. package/dist/series/line/canvas/index.d.mts +6 -0
  196. package/dist/series/line/canvas/index.mjs +9 -0
  197. package/dist/series/line/controller/index.d.mts +111 -0
  198. package/dist/series/line/controller/index.mjs +47 -0
  199. package/dist/series/line/controller-canvas/index.d.mts +7 -0
  200. package/dist/series/line/controller-canvas/index.mjs +54 -0
  201. package/dist/series/line/controller-svg/index.d.mts +7 -0
  202. package/dist/series/line/controller-svg/index.mjs +54 -0
  203. package/dist/series/line/index.d.mts +49 -0
  204. package/dist/series/line/index.mjs +13 -0
  205. package/dist/series/line/svg/index.d.mts +6 -0
  206. package/dist/series/line/svg/index.mjs +9 -0
  207. package/dist/series/pie/canvas/index.d.mts +8 -0
  208. package/dist/series/pie/canvas/index.mjs +10 -0
  209. package/dist/series/pie/controller/index.d.mts +174 -0
  210. package/dist/series/pie/controller/index.mjs +110 -0
  211. package/dist/series/pie/controller-canvas/index.d.mts +8 -0
  212. package/dist/series/pie/controller-canvas/index.mjs +119 -0
  213. package/dist/series/pie/controller-svg/index.d.mts +8 -0
  214. package/dist/series/pie/controller-svg/index.mjs +118 -0
  215. package/dist/series/pie/index.d.mts +59 -0
  216. package/dist/series/pie/index.mjs +15 -0
  217. package/dist/series/pie/svg/index.d.mts +6 -0
  218. package/dist/series/pie/svg/index.mjs +11 -0
  219. package/dist/series/polar/canvas/index.d.mts +6 -0
  220. package/dist/series/polar/canvas/index.mjs +7 -0
  221. package/dist/series/polar/controller/index.d.mts +102 -0
  222. package/dist/series/polar/controller/index.mjs +46 -0
  223. package/dist/series/polar/controller-canvas/index.d.mts +8 -0
  224. package/dist/series/polar/controller-canvas/index.mjs +52 -0
  225. package/dist/series/polar/controller-svg/index.d.mts +8 -0
  226. package/dist/series/polar/controller-svg/index.mjs +52 -0
  227. package/dist/series/polar/index.d.mts +25 -0
  228. package/dist/series/polar/index.mjs +16 -0
  229. package/dist/series/polar/svg/index.d.mts +10 -0
  230. package/dist/series/polar/svg/index.mjs +8 -0
  231. package/dist/series/radar/canvas/index.d.mts +6 -0
  232. package/dist/series/radar/canvas/index.mjs +8 -0
  233. package/dist/series/radar/controller/index.d.mts +121 -0
  234. package/dist/series/radar/controller/index.mjs +43 -0
  235. package/dist/series/radar/controller-canvas/index.d.mts +8 -0
  236. package/dist/series/radar/controller-canvas/index.mjs +51 -0
  237. package/dist/series/radar/controller-svg/index.d.mts +8 -0
  238. package/dist/series/radar/controller-svg/index.mjs +51 -0
  239. package/dist/series/radar/index.d.mts +40 -0
  240. package/dist/series/radar/index.mjs +13 -0
  241. package/dist/series/radar/svg/index.d.mts +12 -0
  242. package/dist/series/radar/svg/index.mjs +9 -0
  243. package/dist/series/scatter/canvas/index.d.mts +8 -0
  244. package/dist/series/scatter/canvas/index.mjs +11 -0
  245. package/dist/series/scatter/controller/index.d.mts +124 -0
  246. package/dist/series/scatter/controller/index.mjs +44 -0
  247. package/dist/series/scatter/controller-canvas/index.d.mts +7 -0
  248. package/dist/series/scatter/controller-canvas/index.mjs +51 -0
  249. package/dist/series/scatter/controller-svg/index.d.mts +7 -0
  250. package/dist/series/scatter/controller-svg/index.mjs +51 -0
  251. package/dist/series/scatter/index.d.mts +25 -0
  252. package/dist/series/scatter/index.mjs +14 -0
  253. package/dist/series/scatter/svg/index.d.mts +8 -0
  254. package/dist/series/scatter/svg/index.mjs +12 -0
  255. package/dist/series/treemap/canvas/index.d.mts +50 -0
  256. package/dist/series/treemap/canvas/index.mjs +10 -0
  257. package/dist/series/treemap/controller/index.d.mts +130 -0
  258. package/dist/series/treemap/controller/index.mjs +20 -0
  259. package/dist/series/treemap/controller-canvas/index.d.mts +7 -0
  260. package/dist/series/treemap/controller-canvas/index.mjs +25 -0
  261. package/dist/series/treemap/controller-svg/index.d.mts +7 -0
  262. package/dist/series/treemap/controller-svg/index.mjs +25 -0
  263. package/dist/series/treemap/index.d.mts +15 -0
  264. package/dist/series/treemap/index.mjs +12 -0
  265. package/dist/series/treemap/svg/index.d.mts +15 -0
  266. package/dist/series/treemap/svg/index.mjs +9 -0
  267. package/dist/slices-DtewiwJx.d.mts +72 -0
  268. package/dist/spatialIndex.utils-B_GJkotZ.d.mts +5 -0
  269. package/dist/squarify.utils-B9CQBpa1.d.mts +50 -0
  270. package/dist/stacking-CChuAcLN.d.mts +319 -0
  271. package/dist/streaming.utils-DH-g1gNP.d.mts +49 -0
  272. package/dist/sync/index.d.mts +130 -0
  273. package/dist/sync/index.mjs +5 -0
  274. package/dist/tooltip.renderer-D5wpSlBa.d.mts +210 -0
  275. package/dist/utils/color/index.d.mts +58 -0
  276. package/dist/utils/color/index.mjs +4 -0
  277. package/dist/utils/data/index.d.mts +180 -0
  278. package/dist/utils/data/index.mjs +7 -0
  279. package/dist/utils/export/index.d.mts +14 -0
  280. package/dist/utils/export/index.mjs +6 -0
  281. package/dist/utils/index.d.mts +49 -0
  282. package/dist/utils/index.mjs +29 -0
  283. package/dist/utils/interaction/index.d.mts +255 -0
  284. package/dist/utils/interaction/index.mjs +9 -0
  285. package/dist/utils/layout/index.d.mts +3 -0
  286. package/dist/utils/layout/index.mjs +10 -0
  287. package/dist/utils/math/index.d.mts +162 -0
  288. package/dist/utils/math/index.mjs +1 -0
  289. package/dist/utils/render/index.d.mts +19 -0
  290. package/dist/utils/render/index.mjs +3 -0
  291. package/dist/utils/specialized/index.d.mts +37 -0
  292. package/dist/utils/specialized/index.mjs +66 -0
  293. package/dist/utils/text/index.d.mts +39 -0
  294. package/dist/utils/text/index.mjs +8 -0
  295. package/dist/utils/theme/index.d.mts +295 -0
  296. package/dist/utils/theme/index.mjs +5 -0
  297. package/dist/utils/zoom/index.d.mts +90 -0
  298. package/dist/utils/zoom/index.mjs +3 -0
  299. package/package.json +56 -0
@@ -0,0 +1,307 @@
1
+ import { GradientColor, ColorValue, SvgNode, NormalizedGradient, GradientStop, ChartTheme, ItemContext } from '@primeui/chart-types';
2
+
3
+ /**
4
+ * Parse a hex color (#RRGGBB or #RGB) to [R, G, B] tuple.
5
+ */
6
+ declare function parseHexColor(hex: string): [number, number, number];
7
+ interface ColorParser {
8
+ parse(color: string): {
9
+ r: number;
10
+ g: number;
11
+ b: number;
12
+ } | null;
13
+ }
14
+ /**
15
+ * Override the color parsing implementation.
16
+ * Call this to inject a custom parser for SSR or testing.
17
+ *
18
+ * @example
19
+ * // SSR / Node: always return null (callers already handle null gracefully)
20
+ * setColorParser({ parse: () => null });
21
+ *
22
+ * // Testing: deterministic values without jsdom
23
+ * setColorParser({ parse: (color) => color === '#ff0000' ? { r: 255, g: 0, b: 0 } : null });
24
+ *
25
+ * // Reset to browser default
26
+ * setColorParser(null);
27
+ */
28
+ declare function setColorParser(parser: ColorParser | null): void;
29
+ /**
30
+ * Parse any CSS color string to RGB values.
31
+ * Handles all CSS color formats: hex, rgb, rgba, named colors, CSS variables, currentColor, etc.
32
+ * Results are cached to avoid repeated DOM operations.
33
+ *
34
+ * @param color - CSS color string
35
+ * @returns RGB object with r, g, b values (0-255), or null if parsing fails
36
+ */
37
+ declare function parseColorToRGB(color: string): {
38
+ r: number;
39
+ g: number;
40
+ b: number;
41
+ } | null;
42
+ interface RGBA {
43
+ r: number;
44
+ g: number;
45
+ b: number;
46
+ a: number;
47
+ }
48
+ /**
49
+ * Parse hex / rgb / rgba / hsl / hsla / 'transparent' to RGBA.
50
+ * Returns null on parse failure.
51
+ *
52
+ * Used by `lerpColor` for property-animation tweens.
53
+ */
54
+ declare function parseColorToRGBA(color: string): RGBA | null;
55
+
56
+ /**
57
+ * Adjust color brightness by a multiplier.
58
+ * Values > 1 brighten, values < 1 darken.
59
+ *
60
+ * @param color - CSS color string (hex, rgb, or rgba)
61
+ * @param factor - Brightness multiplier (e.g., 1.2 for 20% brighter)
62
+ * @returns Adjusted color string in the same format
63
+ */
64
+ declare function adjustBrightness(color: string, factor: number): string;
65
+ /**
66
+ * Return a copy of a gradient with every stop's color brightened by `factor`
67
+ * (>1 brightens, <1 darkens). Offsets, opacity and gradient direction are
68
+ * preserved. Lets hovered gradient-filled marks brighten like solid colors on
69
+ * canvas paths that bake the fill from a gradient object (SVG instead uses the
70
+ * `.p-chart-point-hover` CSS `filter: brightness()`).
71
+ */
72
+ declare function brightenGradientStops(gradient: GradientColor, factor: number): GradientColor;
73
+ /**
74
+ * Convert a hex color with opacity to rgba format
75
+ */
76
+ declare function hexToRgba(hex: string, opacity: number): string;
77
+ /**
78
+ * Extract RGB components from a hex color as comma-separated string.
79
+ * Useful for constructing rgba() with dynamic opacity.
80
+ */
81
+ declare function hexToRgbString(hex: string): string;
82
+
83
+ /**
84
+ * Check if a color value is a gradient definition
85
+ */
86
+ declare function isGradientColor(color: ColorValue): color is GradientColor;
87
+ /**
88
+ * Get the primary color from a ColorValue (for borders, leader lines, etc.)
89
+ * Extracts the first color stop from gradients, or returns the color directly.
90
+ */
91
+ declare function getPrimaryColor(color: ColorValue): string;
92
+ /**
93
+ * Narrow a color value to its gradient definition, or `undefined` when it is a
94
+ * solid color (or absent). Used by legend/tooltip builders to carry the series'
95
+ * gradient alongside the flattened solid color so swatches can preview it.
96
+ */
97
+ declare function asGradient(color: ColorValue | undefined): GradientColor | undefined;
98
+ /**
99
+ * Convert a gradient definition into a CSS `background` value for legend/tooltip
100
+ * swatches, so a gradient-filled series shows its gradient in the swatch rather
101
+ * than a flattened solid color.
102
+ *
103
+ * The preview direction is **normalized** — linear gradients always render
104
+ * top→bottom and radial gradients render centered — regardless of the series'
105
+ * actual coordinates. A tiny swatch reads best with a consistent direction, and
106
+ * this matches how Highcharts/amCharts render gradient legend previews.
107
+ *
108
+ * Per-stop `opacity` is honored for hex colors (emitted as `rgba(...)`); for
109
+ * non-hex stop colors the opacity is left to CSS defaults.
110
+ */
111
+ declare function gradientToCssBackground(gradient: GradientColor): string;
112
+ /**
113
+ * Resolve a gradient's stops to `{ offset (0-1), color }` pairs, applying per-stop
114
+ * `opacity` to hex colors as `rgba(...)`. Single source of truth shared by the
115
+ * on-screen CSS swatch ({@link gradientToCssBackground}) and the chart export
116
+ * paths, so an exported swatch never drifts from what is on screen.
117
+ */
118
+ declare function resolveSwatchGradientStops(gradient: GradientColor): {
119
+ offset: number;
120
+ color: string;
121
+ }[];
122
+ /**
123
+ * Remap gradient stops so the gradient spans only the visible ring of a donut.
124
+ *
125
+ * SVG radial gradients always start from the center (r=0), so for donuts we
126
+ * compress the stop offsets into the [innerRatio, 1] range. This produces the
127
+ * same visual result as Canvas's dual-circle `createRadialGradient(r0, r1)`,
128
+ * which maps stops directly to the ring.
129
+ */
130
+ declare function remapStopsForDonut(stops: GradientStop[], innerRatio: number): GradientStop[];
131
+ /**
132
+ * Normalize a GradientColor to a standard format for gradient creation.
133
+ *
134
+ * @param color - GradientColor object
135
+ * @param center - Chart center point
136
+ * @param radius - Chart radius
137
+ * @param chartArea - Optional chart area for coordinate-based linear gradients
138
+ * @param defaultDirection - Default direction when none specified ('vertical' by default)
139
+ */
140
+ declare function normalizeGradient(color: GradientColor, center: {
141
+ x: number;
142
+ y: number;
143
+ }, radius: number, chartArea?: {
144
+ x: number;
145
+ y: number;
146
+ width: number;
147
+ height: number;
148
+ }, defaultDirection?: 'horizontal' | 'vertical'): NormalizedGradient;
149
+ /**
150
+ * Create SVG gradient element from a GradientColor.
151
+ * Unified factory that handles both linear and radial gradients.
152
+ *
153
+ * @param color - GradientColor configuration
154
+ * @param id - Unique gradient ID
155
+ * @param center - Center point for gradient
156
+ * @param radius - Radius for gradient sizing
157
+ * @param chartArea - Optional chart area for coordinate-based gradients
158
+ * @param defaultDirection - Default direction when none specified
159
+ */
160
+ declare function createSvgGradientFromColor(color: GradientColor, id: string, center: {
161
+ x: number;
162
+ y: number;
163
+ }, radius: number, chartArea?: {
164
+ x: number;
165
+ y: number;
166
+ width: number;
167
+ height: number;
168
+ }, defaultDirection?: 'horizontal' | 'vertical'): SvgNode;
169
+ /**
170
+ * Create Canvas gradient from a GradientColor.
171
+ * Unified factory that handles both linear and radial gradients.
172
+ *
173
+ * @param ctx - Canvas 2D rendering context
174
+ * @param color - GradientColor configuration
175
+ * @param center - Center point for gradient
176
+ * @param radius - Radius for gradient sizing
177
+ * @param chartArea - Optional chart area for coordinate-based gradients
178
+ * @param defaultDirection - Default direction when none specified
179
+ */
180
+ declare function createCanvasGradientFromColor(ctx: CanvasRenderingContext2D, color: GradientColor, center: {
181
+ x: number;
182
+ y: number;
183
+ }, radius: number, chartArea?: {
184
+ x: number;
185
+ y: number;
186
+ width: number;
187
+ height: number;
188
+ }, defaultDirection?: 'horizontal' | 'vertical'): CanvasGradient;
189
+ /**
190
+ * Sample the resolved color of a GradientColor at a specific point in chart space.
191
+ * Uses the same geometry as createSvgGradientFromColor / createCanvasGradientFromColor,
192
+ * so the sampled color matches exactly what the gradient paints at that point.
193
+ */
194
+ declare function sampleGradientAt(color: GradientColor, point: {
195
+ x: number;
196
+ y: number;
197
+ }, center: {
198
+ x: number;
199
+ y: number;
200
+ }, radius: number, chartArea?: {
201
+ x: number;
202
+ y: number;
203
+ width: number;
204
+ height: number;
205
+ }, defaultDirection?: 'horizontal' | 'vertical'): string;
206
+
207
+ /**
208
+ * Per-item context fields forwarded into the `color` callback. Mirrors
209
+ * `makeItemContext`'s `extras` — pass whatever the call site knows (`value`,
210
+ * `category`, `seriesIndex`, `seriesId`, `size`) so a base-color callback like
211
+ * `(ctx) => ctx.category === 'X' ? …` resolves against the same context the
212
+ * direct per-item accessors (hoverColor/opacity/border) already receive.
213
+ */
214
+ type ColorContextExtras = Partial<Omit<ItemContext, 'datum' | 'index'>>;
215
+ /**
216
+ * Get the full ColorValue (string or gradient) for a data item from props.
217
+ * Resolves `color` FieldAccessor (array cycles modulo length, function, keyof, scalar).
218
+ */
219
+ declare function getColorValue(props: {
220
+ color?: unknown;
221
+ }, index: number, item?: unknown, theme?: Required<ChartTheme>, extras?: ColorContextExtras): ColorValue;
222
+ /**
223
+ * Get color string for a data item from props.
224
+ * Resolves widened `colors` prop, extracts primary color from gradients.
225
+ */
226
+ declare function getColor(props: {
227
+ color?: unknown;
228
+ }, index: number, item?: unknown, theme?: Required<ChartTheme>, extras?: ColorContextExtras): string;
229
+ /**
230
+ * Resolve the color shown in a legend/tooltip swatch with the SAME precedence the
231
+ * rendered shapes use, so swatches never drift onto the JS palette while the SVG
232
+ * shapes use the CSS palette:
233
+ * 1. explicit series `color` → that exact value (via `getColor`).
234
+ * 2. otherwise the `--p-chart-color-N` CSS variable — what `.p-chart-color-N`
235
+ * paints SVG shapes (and the legend) with — with the theme palette as the
236
+ * no-stylesheet fallback inside `var()`.
237
+ * `index` MUST be the renderer's class index (`dataset.order` for series, the
238
+ * item index for radial slices) so the swatch shares `p-chart-color-${index % 10}`.
239
+ */
240
+ declare function resolveSwatchColor(props: {
241
+ color?: unknown;
242
+ }, index: number, item?: unknown, theme?: Required<ChartTheme>, extras?: ColorContextExtras): string;
243
+
244
+ /**
245
+ * Interpolate between colors at given scale breakpoints.
246
+ *
247
+ * @param colorScale - Domain breakpoints (e.g. [-10, 0, 10])
248
+ * @param colorRange - Colors matching each breakpoint (e.g. ['#EF4444', '#737373', '#22C55E'])
249
+ * @param value - The value to map to a color
250
+ * @param fallback - Fallback color when scale/range is empty or mismatched
251
+ * @returns Interpolated rgb() color string
252
+ */
253
+ declare function interpolateColor(colorScale: number[], colorRange: string[], value: number, fallback?: string): string;
254
+ /**
255
+ * Default heat gradient — two-stop (low → high), Highcharts-style.
256
+ * Mirrors `--p-chart-heat-min` and `--p-chart-heat-max`. Override per-chart via
257
+ * `colorRange` for multi-stop gradients, or redefine the CSS variables globally.
258
+ */
259
+ declare const DEFAULT_HEAT_COLORS: string[];
260
+ /**
261
+ * Build evenly-spaced color scale breakpoints from data min/max.
262
+ *
263
+ * @param min - Minimum data value
264
+ * @param max - Maximum data value
265
+ * @param stops - Number of breakpoints to generate (should match colorRange length)
266
+ * @returns Array of evenly-spaced numeric breakpoints
267
+ *
268
+ * @example
269
+ * ```ts
270
+ * buildAutoColorScale(0, 100, 3) // → [0, 50, 100]
271
+ * buildAutoColorScale(10, 90, 5) // → [10, 30, 50, 70, 90]
272
+ * ```
273
+ */
274
+ declare function buildAutoColorScale(min: number, max: number, stops: number): number[];
275
+ /**
276
+ * Resolve color mode from props, returning the final colorScale and colorRange.
277
+ *
278
+ * Priority:
279
+ * 1. Explicit colorScale + colorRange
280
+ * 2. colorRange only → auto scale from data min/max
281
+ * 3. Single color → opacity mode (returns null — caller handles opacity)
282
+ * 4. No color props → default heat gradient with auto scale
283
+ *
284
+ * @returns { colorScale, colorRange } or null for opacity mode
285
+ */
286
+ declare function resolveColorScaleRange(opts: {
287
+ colorScale?: number[];
288
+ colorRange?: string[];
289
+ color?: string;
290
+ defaultColors?: string[];
291
+ }, min: number, max: number): {
292
+ colorScale: number[];
293
+ colorRange: string[];
294
+ } | null;
295
+ /**
296
+ * Linearly interpolate between two ColorValues at progress t ∈ [0, 1].
297
+ *
298
+ * Rules:
299
+ * - Both solid strings → parse to RGBA, lerp each channel, format back as `rgba()`.
300
+ * - Either side is a gradient → swap at `t >= 0.5`. No gradient-stop morphing in v1.
301
+ * - Parse failure on `from` → return `from` (fall back rather than crash).
302
+ * - `'transparent'` → treated as the other color with `a: 0` (lerp from transparent to red
303
+ * fades in via alpha).
304
+ */
305
+ declare function lerpColor(from: ColorValue, to: ColorValue, t: number): ColorValue;
306
+
307
+ export { type ColorParser as C, DEFAULT_HEAT_COLORS as D, type RGBA as R, adjustBrightness as a, asGradient as b, buildAutoColorScale as c, createCanvasGradientFromColor as d, createSvgGradientFromColor as e, getColorValue as f, getColor as g, getPrimaryColor as h, gradientToCssBackground as i, interpolateColor as j, resolveSwatchGradientStops as k, lerpColor as l, hexToRgbString as m, hexToRgba as n, isGradientColor as o, parseColorToRGBA as p, normalizeGradient as q, resolveSwatchColor as r, setColorParser as s, parseColorToRGB as t, parseHexColor as u, remapStopsForDonut as v, resolveColorScaleRange as w, sampleGradientAt as x, brightenGradientStops as y };
@@ -0,0 +1,75 @@
1
+ import { BandScaleOptions, BandScale, LinearScale } from '@primeui/chart-types';
2
+
3
+ /**
4
+ * Shallow comparison for chart prop objects. Used to skip redundant re-renders
5
+ * when registration props are reconstructed but content is unchanged.
6
+ *
7
+ * Handles the three common patterns that produce new refs each parent render
8
+ * even though the content is stable:
9
+ *
10
+ * - Inline arrays of primitives: `:color-range="['#fff', '#000']"`
11
+ * - Inline plain objects: `:border-radius="{ topLeft: 3 }"`
12
+ * - Inline arrow functions: `:label-format="(v) => v.toFixed(2)"`
13
+ * - Function calls returning arrays of objects: `:data="rowPriceData(row)"`
14
+ *
15
+ * Without this, any of these patterns would trigger an infinite registration
16
+ * loop (parent re-render → new ref → update → state-changed → parent re-render).
17
+ *
18
+ * Strategy: mutual recursion through `equalValue`. Two functions are treated
19
+ * as equal regardless of body — callers needing reactive function-swap must
20
+ * call `chart.redraw()` to force a refresh.
21
+ */
22
+ declare function shallowEqual(a: Record<string, unknown>, b: Record<string, unknown>): boolean;
23
+
24
+ /**
25
+ * Create a band scale for mapping categories to pixel positions.
26
+ * Used for category axis (X-axis in vertical bar charts).
27
+ *
28
+ * @example
29
+ * const scale = createBandScale(['Jan', 'Feb', 'Mar'], [0, 300]);
30
+ * scale('Jan'); // → pixel position of Jan's left edge
31
+ * scale.bandwidth(); // → bar width
32
+ */
33
+ declare function createBandScale(domainValues: string[], rangeValues: [number, number], options?: BandScaleOptions): BandScale;
34
+ /**
35
+ * Create a variwide band scale where each category's bandwidth is proportional
36
+ * to its weight value. Compatible with the BandScale interface.
37
+ *
38
+ * Gap/padding semantics match `createBandScale`: gaps are computed from the average
39
+ * step size and distributed uniformly. The remaining space is divided among categories
40
+ * proportionally by weight.
41
+ *
42
+ * @example
43
+ * const scale = createVariwideBandScale(['US', 'JP', 'DE'], [0, 600], {
44
+ * weights: [100, 50, 30]
45
+ * });
46
+ * scale('US'); // → left edge of US bar (widest)
47
+ * scale.bandwidthAt!(0); // → US bar width (proportional to weight 100)
48
+ * scale.bandwidth(); // → average bandwidth (fallback)
49
+ */
50
+ declare function createVariwideBandScale(domainValues: string[], rangeValues: [number, number], options: BandScaleOptions & {
51
+ weights: number[];
52
+ }): BandScale;
53
+ /**
54
+ * Create a linear scale for mapping numeric values to pixel positions.
55
+ * Used for value axis (Y-axis in vertical bar charts).
56
+ *
57
+ * Note: For Y-axis, range is typically inverted [bottom, top] because canvas/SVG origin is top-left.
58
+ *
59
+ * @example
60
+ * const scale = createLinearScale([0, 100], [300, 0]); // Inverted for Y-axis
61
+ * scale(50); // → 150 (middle)
62
+ * scale.invert(150); // → 50
63
+ */
64
+ declare function createLinearScale(domainValues: [number, number], rangeValues: [number, number]): LinearScale;
65
+ /**
66
+ * Create a logarithmic scale (base 10) for mapping numeric values to pixel positions.
67
+ * Domain values must be > 0. Implements the same interface as LinearScale.
68
+ *
69
+ * @example
70
+ * const scale = createLogScale([1, 10000], [300, 0]);
71
+ * scale(100); // midpoint in log space
72
+ */
73
+ declare function createLogScale(domainValues: [number, number], rangeValues: [number, number]): LinearScale;
74
+
75
+ export { createLinearScale as a, createLogScale as b, createBandScale as c, createVariwideBandScale as d, shallowEqual as s };
@@ -0,0 +1,8 @@
1
+ import { BarRenderProps, BarRenderData, RenderContext } from '@primeui/chart-types';
2
+
3
+ /**
4
+ * Render bar chart to Canvas
5
+ */
6
+ declare function renderBarCanvas<T>(props: BarRenderProps<T>, layout: BarRenderData, ctx: CanvasRenderingContext2D, context: RenderContext): void;
7
+
8
+ export { renderBarCanvas };
@@ -0,0 +1,10 @@
1
+ export { renderBarCanvas } from '../../../chunk-X7T34OLW.mjs';
2
+ import '../../../chunk-AUF4CHDP.mjs';
3
+ import '../../../chunk-VGLSBZDN.mjs';
4
+ import '../../../chunk-5JCI2DEB.mjs';
5
+ import '../../../chunk-BZN2QHGP.mjs';
6
+ import '../../../chunk-NKUYIWAP.mjs';
7
+ import '../../../chunk-QS76E3TD.mjs';
8
+ import '../../../chunk-O2X6FF45.mjs';
9
+ import '../../../chunk-SSLTFJ3U.mjs';
10
+ import '../../../chunk-RQ3CKQOX.mjs';
@@ -0,0 +1,105 @@
1
+ import { PropertyAnimatable, BarPaintBackend, BarControllerInput, HoverState, CartesianHitTestResult, CrosshairSeriesHit, BarRenderData, BarRenderProps, AnimatedPropertyStoreLike } from '@primeui/chart-types';
2
+
3
+ declare class BarRendererController implements PropertyAnimatable {
4
+ private readonly _scene;
5
+ private _animRafId;
6
+ private _lastFingerprint;
7
+ private lastRenderedLayouts;
8
+ private exitingBarLayouts;
9
+ private exitingBarRenderProps;
10
+ private layoutCache;
11
+ private renderPropsCache;
12
+ private barDatasets;
13
+ /**
14
+ * Per-dataset property-animation overrides. Layered onto layout-derived renderProps
15
+ * each `update()` and each `applyPropertyAnimations()` call. Property animations write
16
+ * here; layout/scene never touches it. Cleared in destroy().
17
+ */
18
+ private _propertyOverrides;
19
+ private hover;
20
+ private labelConfig;
21
+ private onImageLoad?;
22
+ dir: 'ltr' | 'rtl';
23
+ private lastInput;
24
+ private svgGroup;
25
+ private canvasEl;
26
+ /** Animation frame notification — framework registers this to trigger re-render/repaint */
27
+ onFrame: (() => void) | null;
28
+ /**
29
+ * Injected paint backend. Holds only the painter(s) for the renderer mode this
30
+ * controller was constructed for (svg-only, canvas-only, or both for tests). The
31
+ * controller never imports a painter directly, so a single-mode construction module
32
+ * (`controller-svg` / `controller-canvas`) is the only thing that pulls its painter
33
+ * into the bundle — letting the unused painter drop from a single-mode consumer.
34
+ */
35
+ private readonly _paint;
36
+ constructor(paint: BarPaintBackend);
37
+ /**
38
+ * Full update — layout + animation start.
39
+ * Called by framework wrapper when data/config/layout changes.
40
+ */
41
+ update(input: BarControllerInput & {
42
+ svgGroup?: SVGGElement | null;
43
+ }): void;
44
+ /**
45
+ * Lightweight hover repaint — re-renders current frame with updated hover state.
46
+ * Never cancels or restarts animations.
47
+ */
48
+ applyHover(hover: HoverState): void;
49
+ /**
50
+ * Hit test at pixel coordinates.
51
+ */
52
+ hitTest(x: number, y: number): CartesianHitTestResult | null;
53
+ /**
54
+ * Find the nearest data point by category axis proximity (for crosshair mode).
55
+ */
56
+ findNearest(x: number, y: number): CartesianHitTestResult | null;
57
+ /**
58
+ * Find ALL dataset hits at the nearest category (for multi-series crosshair badges).
59
+ */
60
+ findAllNearest(x: number, y: number): {
61
+ primary: CartesianHitTestResult;
62
+ allSeries: CrosshairSeriesHit[];
63
+ } | null;
64
+ /**
65
+ * Not used for bar (renders directly to DOM). Provided for interface compliance.
66
+ */
67
+ getSvgOutput(): null;
68
+ /** Whether any bar datasets exist */
69
+ get hasData(): boolean;
70
+ /** Current bar layouts (for external consumers like CartesianRenderer) */
71
+ get layouts(): Map<string, BarRenderData>;
72
+ /** Current bar render props (for external consumers) */
73
+ get renderProps(): Map<string, BarRenderProps<unknown>>;
74
+ /**
75
+ * Cleanup — cancel animation loop, clear scene, remove compositor layers.
76
+ */
77
+ destroy(): void;
78
+ /**
79
+ * Apply animated property values without triggering a full layout+render cycle.
80
+ * Called directly from the animation registry's repaint callback each frame.
81
+ *
82
+ * SVG: `opacity` animates via a cheap in-place attribute patch on the dataset group;
83
+ * any other prop (`borderStrokeWidth` → stroke-width, `borderRadius` → rx) needs a
84
+ * geometry rebuild — rx isn't an inheritable attr, so it can't be patched on the group.
85
+ * Those merge into the cache and trigger a full frame render, keeping SVG at parity with
86
+ * canvas (and consistent with the other renderers) for every BAR_ANIMATABLE_PROPS.
87
+ * Canvas: updates renderPropsCache then triggers a compositor repaint.
88
+ */
89
+ applyPropertyAnimations(store: AnimatedPropertyStoreLike): void;
90
+ /**
91
+ * Full re-render of the current scene state.
92
+ *
93
+ * Used by the property-animation framework wrapper: when a property
94
+ * animation completes and its override is released from the store, in-place
95
+ * SVG attribute patches (set during `applyPropertyAnimations`) leave
96
+ * attributes pointing at the last animated value. This method rebuilds the
97
+ * frame from `_propertyOverrides`-cleared base props so SVG attributes
98
+ * snap back to their base values.
99
+ */
100
+ renderFrameCycle(): void;
101
+ private _renderSceneFrame;
102
+ private _startAnimLoop;
103
+ }
104
+
105
+ export { BarRendererController };
@@ -0,0 +1,44 @@
1
+ export { BarRendererController } from '../../../chunk-Y3L3D4GQ.mjs';
2
+ import '../../../chunk-JGOVWSKH.mjs';
3
+ import '../../../chunk-FRST55HY.mjs';
4
+ import '../../../chunk-DP2IZNN3.mjs';
5
+ import '../../../chunk-Q6PPVIHU.mjs';
6
+ import '../../../chunk-66T4MRC5.mjs';
7
+ import '../../../chunk-QQBXUDM4.mjs';
8
+ import '../../../chunk-7QQ6ETB4.mjs';
9
+ import '../../../chunk-X7T34OLW.mjs';
10
+ import '../../../chunk-SALTGZFR.mjs';
11
+ import '../../../chunk-AUF4CHDP.mjs';
12
+ import '../../../chunk-ZTL2FQEW.mjs';
13
+ import '../../../chunk-VN7CKCSE.mjs';
14
+ import '../../../chunk-VGLSBZDN.mjs';
15
+ import '../../../chunk-ZT2Z7ERM.mjs';
16
+ import '../../../chunk-KP2TWD4Z.mjs';
17
+ import '../../../chunk-3WEMHXZI.mjs';
18
+ import '../../../chunk-KVDEROP6.mjs';
19
+ import '../../../chunk-YBJ56XJS.mjs';
20
+ import '../../../chunk-NPDZLYIF.mjs';
21
+ import '../../../chunk-EDAKJLNA.mjs';
22
+ import '../../../chunk-JWFBOPM6.mjs';
23
+ import '../../../chunk-5JCI2DEB.mjs';
24
+ import '../../../chunk-BZN2QHGP.mjs';
25
+ import '../../../chunk-OGJ6IIBW.mjs';
26
+ import '../../../chunk-ARRGOEFX.mjs';
27
+ import '../../../chunk-22ST6YPP.mjs';
28
+ import '../../../chunk-FFMT6OCO.mjs';
29
+ import '../../../chunk-7CMVDIOU.mjs';
30
+ import '../../../chunk-ADKLH73T.mjs';
31
+ import '../../../chunk-OXTFAWSK.mjs';
32
+ import '../../../chunk-R6Y3R7EW.mjs';
33
+ import '../../../chunk-XTVE4P3L.mjs';
34
+ import '../../../chunk-NKUYIWAP.mjs';
35
+ import '../../../chunk-WH3C3Y7P.mjs';
36
+ import '../../../chunk-OWW3K55O.mjs';
37
+ import '../../../chunk-WA3OVISZ.mjs';
38
+ import '../../../chunk-C36VWQ7A.mjs';
39
+ import '../../../chunk-BETFQBM2.mjs';
40
+ import '../../../chunk-WRULPWHD.mjs';
41
+ import '../../../chunk-QS76E3TD.mjs';
42
+ import '../../../chunk-O2X6FF45.mjs';
43
+ import '../../../chunk-SSLTFJ3U.mjs';
44
+ import '../../../chunk-RQ3CKQOX.mjs';
@@ -0,0 +1,7 @@
1
+ import { BarRendererController } from '../controller/index.mjs';
2
+ import '@primeui/chart-types';
3
+
4
+ /** Construct a BarRendererController wired with the Canvas painter only. */
5
+ declare const createBarRendererCanvas: () => BarRendererController;
6
+
7
+ export { createBarRendererCanvas };
@@ -0,0 +1,49 @@
1
+ import { BarRendererController } from '../../../chunk-Y3L3D4GQ.mjs';
2
+ import '../../../chunk-JGOVWSKH.mjs';
3
+ import '../../../chunk-FRST55HY.mjs';
4
+ import '../../../chunk-DP2IZNN3.mjs';
5
+ import '../../../chunk-Q6PPVIHU.mjs';
6
+ import '../../../chunk-66T4MRC5.mjs';
7
+ import '../../../chunk-QQBXUDM4.mjs';
8
+ import '../../../chunk-7QQ6ETB4.mjs';
9
+ import { renderBarCanvas } from '../../../chunk-X7T34OLW.mjs';
10
+ import '../../../chunk-SALTGZFR.mjs';
11
+ import '../../../chunk-AUF4CHDP.mjs';
12
+ import '../../../chunk-ZTL2FQEW.mjs';
13
+ import '../../../chunk-VN7CKCSE.mjs';
14
+ import '../../../chunk-VGLSBZDN.mjs';
15
+ import '../../../chunk-ZT2Z7ERM.mjs';
16
+ import '../../../chunk-KP2TWD4Z.mjs';
17
+ import '../../../chunk-3WEMHXZI.mjs';
18
+ import '../../../chunk-KVDEROP6.mjs';
19
+ import '../../../chunk-YBJ56XJS.mjs';
20
+ import '../../../chunk-NPDZLYIF.mjs';
21
+ import '../../../chunk-EDAKJLNA.mjs';
22
+ import '../../../chunk-JWFBOPM6.mjs';
23
+ import '../../../chunk-5JCI2DEB.mjs';
24
+ import '../../../chunk-BZN2QHGP.mjs';
25
+ import '../../../chunk-OGJ6IIBW.mjs';
26
+ import '../../../chunk-ARRGOEFX.mjs';
27
+ import '../../../chunk-22ST6YPP.mjs';
28
+ import '../../../chunk-FFMT6OCO.mjs';
29
+ import '../../../chunk-7CMVDIOU.mjs';
30
+ import '../../../chunk-ADKLH73T.mjs';
31
+ import '../../../chunk-OXTFAWSK.mjs';
32
+ import '../../../chunk-R6Y3R7EW.mjs';
33
+ import '../../../chunk-XTVE4P3L.mjs';
34
+ import '../../../chunk-NKUYIWAP.mjs';
35
+ import '../../../chunk-WH3C3Y7P.mjs';
36
+ import '../../../chunk-OWW3K55O.mjs';
37
+ import '../../../chunk-WA3OVISZ.mjs';
38
+ import '../../../chunk-C36VWQ7A.mjs';
39
+ import '../../../chunk-BETFQBM2.mjs';
40
+ import '../../../chunk-WRULPWHD.mjs';
41
+ import '../../../chunk-QS76E3TD.mjs';
42
+ import '../../../chunk-O2X6FF45.mjs';
43
+ import '../../../chunk-SSLTFJ3U.mjs';
44
+ import '../../../chunk-RQ3CKQOX.mjs';
45
+
46
+ // src/series/bar/controller-canvas/index.ts
47
+ var createBarRendererCanvas = () => new BarRendererController({ renderCanvas: renderBarCanvas });
48
+
49
+ export { createBarRendererCanvas };
@@ -0,0 +1,7 @@
1
+ import { BarRendererController } from '../controller/index.mjs';
2
+ import '@primeui/chart-types';
3
+
4
+ /** Construct a BarRendererController wired with the SVG painter only. */
5
+ declare const createBarRendererSvg: () => BarRendererController;
6
+
7
+ export { createBarRendererSvg };
@@ -0,0 +1,49 @@
1
+ import { BarRendererController } from '../../../chunk-Y3L3D4GQ.mjs';
2
+ import '../../../chunk-JGOVWSKH.mjs';
3
+ import '../../../chunk-FRST55HY.mjs';
4
+ import '../../../chunk-DP2IZNN3.mjs';
5
+ import '../../../chunk-Q6PPVIHU.mjs';
6
+ import '../../../chunk-66T4MRC5.mjs';
7
+ import '../../../chunk-QQBXUDM4.mjs';
8
+ import '../../../chunk-7QQ6ETB4.mjs';
9
+ import '../../../chunk-X7T34OLW.mjs';
10
+ import { renderBarSvg } from '../../../chunk-SALTGZFR.mjs';
11
+ import '../../../chunk-AUF4CHDP.mjs';
12
+ import '../../../chunk-ZTL2FQEW.mjs';
13
+ import '../../../chunk-VN7CKCSE.mjs';
14
+ import '../../../chunk-VGLSBZDN.mjs';
15
+ import '../../../chunk-ZT2Z7ERM.mjs';
16
+ import '../../../chunk-KP2TWD4Z.mjs';
17
+ import '../../../chunk-3WEMHXZI.mjs';
18
+ import '../../../chunk-KVDEROP6.mjs';
19
+ import '../../../chunk-YBJ56XJS.mjs';
20
+ import '../../../chunk-NPDZLYIF.mjs';
21
+ import '../../../chunk-EDAKJLNA.mjs';
22
+ import '../../../chunk-JWFBOPM6.mjs';
23
+ import '../../../chunk-5JCI2DEB.mjs';
24
+ import '../../../chunk-BZN2QHGP.mjs';
25
+ import '../../../chunk-OGJ6IIBW.mjs';
26
+ import '../../../chunk-ARRGOEFX.mjs';
27
+ import '../../../chunk-22ST6YPP.mjs';
28
+ import '../../../chunk-FFMT6OCO.mjs';
29
+ import '../../../chunk-7CMVDIOU.mjs';
30
+ import '../../../chunk-ADKLH73T.mjs';
31
+ import '../../../chunk-OXTFAWSK.mjs';
32
+ import '../../../chunk-R6Y3R7EW.mjs';
33
+ import '../../../chunk-XTVE4P3L.mjs';
34
+ import '../../../chunk-NKUYIWAP.mjs';
35
+ import '../../../chunk-WH3C3Y7P.mjs';
36
+ import '../../../chunk-OWW3K55O.mjs';
37
+ import '../../../chunk-WA3OVISZ.mjs';
38
+ import '../../../chunk-C36VWQ7A.mjs';
39
+ import '../../../chunk-BETFQBM2.mjs';
40
+ import '../../../chunk-WRULPWHD.mjs';
41
+ import '../../../chunk-QS76E3TD.mjs';
42
+ import '../../../chunk-O2X6FF45.mjs';
43
+ import '../../../chunk-SSLTFJ3U.mjs';
44
+ import '../../../chunk-RQ3CKQOX.mjs';
45
+
46
+ // src/series/bar/controller-svg/index.ts
47
+ var createBarRendererSvg = () => new BarRendererController({ renderSvg: renderBarSvg });
48
+
49
+ export { createBarRendererSvg };