@chartts/core 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (575) hide show
  1. package/dist/area-type-B3CtuIIP.d.cts +9 -0
  2. package/dist/area-type-DmB6fTVf.d.ts +9 -0
  3. package/dist/area.cjs +34 -0
  4. package/dist/area.cjs.map +1 -0
  5. package/dist/area.d.cts +8 -0
  6. package/dist/area.d.ts +8 -0
  7. package/dist/area.js +13 -0
  8. package/dist/area.js.map +1 -0
  9. package/dist/bar-type-Bne_khsO.d.ts +5 -0
  10. package/dist/bar-type-CkI-kkrC.d.cts +5 -0
  11. package/dist/bar.cjs +34 -0
  12. package/dist/bar.cjs.map +1 -0
  13. package/dist/bar.d.cts +8 -0
  14. package/dist/bar.d.ts +8 -0
  15. package/dist/bar.js +13 -0
  16. package/dist/bar.js.map +1 -0
  17. package/dist/baseline-type-B1O4XHT3.d.ts +25 -0
  18. package/dist/baseline-type-BAPrZJ5W.d.cts +25 -0
  19. package/dist/baseline.cjs +32 -0
  20. package/dist/baseline.cjs.map +1 -0
  21. package/dist/baseline.d.cts +8 -0
  22. package/dist/baseline.d.ts +8 -0
  23. package/dist/baseline.js +11 -0
  24. package/dist/baseline.js.map +1 -0
  25. package/dist/boxplot-type-CEWf7p5X.d.ts +5 -0
  26. package/dist/boxplot-type-Da8_smoe.d.cts +5 -0
  27. package/dist/boxplot.cjs +33 -0
  28. package/dist/boxplot.cjs.map +1 -0
  29. package/dist/boxplot.d.cts +8 -0
  30. package/dist/boxplot.d.ts +8 -0
  31. package/dist/boxplot.js +12 -0
  32. package/dist/boxplot.js.map +1 -0
  33. package/dist/bubble-type-Dxb2JCKv.d.cts +9 -0
  34. package/dist/bubble-type-pru5MgB7.d.ts +9 -0
  35. package/dist/bubble.cjs +32 -0
  36. package/dist/bubble.cjs.map +1 -0
  37. package/dist/bubble.d.cts +8 -0
  38. package/dist/bubble.d.ts +8 -0
  39. package/dist/bubble.js +11 -0
  40. package/dist/bubble.js.map +1 -0
  41. package/dist/bullet-type-CPEYkEvt.d.ts +15 -0
  42. package/dist/bullet-type-khCmwFqH.d.cts +15 -0
  43. package/dist/bullet.cjs +33 -0
  44. package/dist/bullet.cjs.map +1 -0
  45. package/dist/bullet.d.cts +8 -0
  46. package/dist/bullet.d.ts +8 -0
  47. package/dist/bullet.js +12 -0
  48. package/dist/bullet.js.map +1 -0
  49. package/dist/calendar-type-Br5mpdea.d.cts +15 -0
  50. package/dist/calendar-type-yJWPY6qT.d.ts +15 -0
  51. package/dist/calendar.cjs +33 -0
  52. package/dist/calendar.cjs.map +1 -0
  53. package/dist/calendar.d.cts +8 -0
  54. package/dist/calendar.d.ts +8 -0
  55. package/dist/calendar.js +12 -0
  56. package/dist/calendar.js.map +1 -0
  57. package/dist/candlestick-type-CazXUb77.d.cts +22 -0
  58. package/dist/candlestick-type-CtLZy_uC.d.ts +22 -0
  59. package/dist/candlestick.cjs +33 -0
  60. package/dist/candlestick.cjs.map +1 -0
  61. package/dist/candlestick.d.cts +8 -0
  62. package/dist/candlestick.d.ts +8 -0
  63. package/dist/candlestick.js +12 -0
  64. package/dist/candlestick.js.map +1 -0
  65. package/dist/chord-type-ChIZaOZd.d.cts +5 -0
  66. package/dist/chord-type-ruvHboZl.d.ts +5 -0
  67. package/dist/chord.cjs +33 -0
  68. package/dist/chord.cjs.map +1 -0
  69. package/dist/chord.d.cts +8 -0
  70. package/dist/chord.d.ts +8 -0
  71. package/dist/chord.js +12 -0
  72. package/dist/chord.js.map +1 -0
  73. package/dist/chunk-22LR6CFM.js +176 -0
  74. package/dist/chunk-22LR6CFM.js.map +1 -0
  75. package/dist/chunk-2TWYS3BT.cjs +199 -0
  76. package/dist/chunk-2TWYS3BT.cjs.map +1 -0
  77. package/dist/chunk-3BRQGYDX.js +4859 -0
  78. package/dist/chunk-3BRQGYDX.js.map +1 -0
  79. package/dist/chunk-3TTTELGB.cjs +146 -0
  80. package/dist/chunk-3TTTELGB.cjs.map +1 -0
  81. package/dist/chunk-3XVGEBR4.js +17 -0
  82. package/dist/chunk-3XVGEBR4.js.map +1 -0
  83. package/dist/chunk-4HK4RM3X.cjs +128 -0
  84. package/dist/chunk-4HK4RM3X.cjs.map +1 -0
  85. package/dist/chunk-4VG47RLS.js +130 -0
  86. package/dist/chunk-4VG47RLS.js.map +1 -0
  87. package/dist/chunk-4YJPBUX2.cjs +68 -0
  88. package/dist/chunk-4YJPBUX2.cjs.map +1 -0
  89. package/dist/chunk-5QOQR5FE.cjs +19 -0
  90. package/dist/chunk-5QOQR5FE.cjs.map +1 -0
  91. package/dist/chunk-66HSJRRH.js +112 -0
  92. package/dist/chunk-66HSJRRH.js.map +1 -0
  93. package/dist/chunk-6KNBJ4CE.js +144 -0
  94. package/dist/chunk-6KNBJ4CE.js.map +1 -0
  95. package/dist/chunk-6LKN3HRX.js +79 -0
  96. package/dist/chunk-6LKN3HRX.js.map +1 -0
  97. package/dist/chunk-6N66T7VQ.js +103 -0
  98. package/dist/chunk-6N66T7VQ.js.map +1 -0
  99. package/dist/chunk-6YKFTEX4.js +336 -0
  100. package/dist/chunk-6YKFTEX4.js.map +1 -0
  101. package/dist/chunk-7CGXK7KT.js +124 -0
  102. package/dist/chunk-7CGXK7KT.js.map +1 -0
  103. package/dist/chunk-7HDAYWK3.cjs +358 -0
  104. package/dist/chunk-7HDAYWK3.cjs.map +1 -0
  105. package/dist/chunk-7SEHTEMR.js +91 -0
  106. package/dist/chunk-7SEHTEMR.js.map +1 -0
  107. package/dist/chunk-7YV56WPE.js +157 -0
  108. package/dist/chunk-7YV56WPE.js.map +1 -0
  109. package/dist/chunk-B54L2CPW.cjs +165 -0
  110. package/dist/chunk-B54L2CPW.cjs.map +1 -0
  111. package/dist/chunk-BC6KW2OG.js +197 -0
  112. package/dist/chunk-BC6KW2OG.js.map +1 -0
  113. package/dist/chunk-BEYG2HQ4.cjs +178 -0
  114. package/dist/chunk-BEYG2HQ4.cjs.map +1 -0
  115. package/dist/chunk-BR3KTAGW.js +113 -0
  116. package/dist/chunk-BR3KTAGW.js.map +1 -0
  117. package/dist/chunk-BRSHEDTZ.js +30 -0
  118. package/dist/chunk-BRSHEDTZ.js.map +1 -0
  119. package/dist/chunk-BXX2EPFE.cjs +160 -0
  120. package/dist/chunk-BXX2EPFE.cjs.map +1 -0
  121. package/dist/chunk-BYXRFTEI.cjs +114 -0
  122. package/dist/chunk-BYXRFTEI.cjs.map +1 -0
  123. package/dist/chunk-CMEXNS5V.js +158 -0
  124. package/dist/chunk-CMEXNS5V.js.map +1 -0
  125. package/dist/chunk-D2SV6YT3.js +47 -0
  126. package/dist/chunk-D2SV6YT3.js.map +1 -0
  127. package/dist/chunk-DL7P72FA.cjs +273 -0
  128. package/dist/chunk-DL7P72FA.cjs.map +1 -0
  129. package/dist/chunk-DNQ6N3VG.js +208 -0
  130. package/dist/chunk-DNQ6N3VG.js.map +1 -0
  131. package/dist/chunk-E2S7RAT2.js +126 -0
  132. package/dist/chunk-E2S7RAT2.js.map +1 -0
  133. package/dist/chunk-E6PR75X7.js +15 -0
  134. package/dist/chunk-E6PR75X7.js.map +1 -0
  135. package/dist/chunk-EGQ4JCFU.cjs +109 -0
  136. package/dist/chunk-EGQ4JCFU.cjs.map +1 -0
  137. package/dist/chunk-ETPZGEL7.cjs +105 -0
  138. package/dist/chunk-ETPZGEL7.cjs.map +1 -0
  139. package/dist/chunk-FFJ6BVEY.cjs +132 -0
  140. package/dist/chunk-FFJ6BVEY.cjs.map +1 -0
  141. package/dist/chunk-FKYNRMPX.js +133 -0
  142. package/dist/chunk-FKYNRMPX.js.map +1 -0
  143. package/dist/chunk-FRWC6GUR.cjs +126 -0
  144. package/dist/chunk-FRWC6GUR.cjs.map +1 -0
  145. package/dist/chunk-FUZFNUCJ.js +104 -0
  146. package/dist/chunk-FUZFNUCJ.js.map +1 -0
  147. package/dist/chunk-GM3ZO5WV.js +13 -0
  148. package/dist/chunk-GM3ZO5WV.js.map +1 -0
  149. package/dist/chunk-GNRRK7TZ.cjs +149 -0
  150. package/dist/chunk-GNRRK7TZ.cjs.map +1 -0
  151. package/dist/chunk-H2AE7JMU.js +128 -0
  152. package/dist/chunk-H2AE7JMU.js.map +1 -0
  153. package/dist/chunk-H4RNJ7FK.cjs +115 -0
  154. package/dist/chunk-H4RNJ7FK.cjs.map +1 -0
  155. package/dist/chunk-HB4EGHJ7.cjs +153 -0
  156. package/dist/chunk-HB4EGHJ7.cjs.map +1 -0
  157. package/dist/chunk-HDWWUEPD.js +122 -0
  158. package/dist/chunk-HDWWUEPD.js.map +1 -0
  159. package/dist/chunk-HOOOCSU4.js +216 -0
  160. package/dist/chunk-HOOOCSU4.js.map +1 -0
  161. package/dist/chunk-J6NPRKT4.cjs +49 -0
  162. package/dist/chunk-J6NPRKT4.cjs.map +1 -0
  163. package/dist/chunk-JO6U4YR4.js +355 -0
  164. package/dist/chunk-JO6U4YR4.js.map +1 -0
  165. package/dist/chunk-KE7ILTM4.cjs +162 -0
  166. package/dist/chunk-KE7ILTM4.cjs.map +1 -0
  167. package/dist/chunk-KSRROKYC.cjs +135 -0
  168. package/dist/chunk-KSRROKYC.cjs.map +1 -0
  169. package/dist/chunk-KVI6DN3R.js +147 -0
  170. package/dist/chunk-KVI6DN3R.js.map +1 -0
  171. package/dist/chunk-L54BZYAI.cjs +111 -0
  172. package/dist/chunk-L54BZYAI.cjs.map +1 -0
  173. package/dist/chunk-LB4MV5CG.js +109 -0
  174. package/dist/chunk-LB4MV5CG.js.map +1 -0
  175. package/dist/chunk-LEJGLR2P.cjs +106 -0
  176. package/dist/chunk-LEJGLR2P.cjs.map +1 -0
  177. package/dist/chunk-LU35QDPN.cjs +30 -0
  178. package/dist/chunk-LU35QDPN.cjs.map +1 -0
  179. package/dist/chunk-LUTU4WW3.js +151 -0
  180. package/dist/chunk-LUTU4WW3.js.map +1 -0
  181. package/dist/chunk-M4AQD6WX.cjs +220 -0
  182. package/dist/chunk-M4AQD6WX.cjs.map +1 -0
  183. package/dist/chunk-M4UST3UU.cjs +159 -0
  184. package/dist/chunk-M4UST3UU.cjs.map +1 -0
  185. package/dist/chunk-MLD5ZIDO.cjs +359 -0
  186. package/dist/chunk-MLD5ZIDO.cjs.map +1 -0
  187. package/dist/chunk-MLX3EO2C.js +107 -0
  188. package/dist/chunk-MLX3EO2C.js.map +1 -0
  189. package/dist/chunk-MVWERW4G.cjs +28 -0
  190. package/dist/chunk-MVWERW4G.cjs.map +1 -0
  191. package/dist/chunk-MYPCA25Y.cjs +115 -0
  192. package/dist/chunk-MYPCA25Y.cjs.map +1 -0
  193. package/dist/chunk-N6IVODRJ.js +114 -0
  194. package/dist/chunk-N6IVODRJ.js.map +1 -0
  195. package/dist/chunk-NFD6VAVM.js +155 -0
  196. package/dist/chunk-NFD6VAVM.js.map +1 -0
  197. package/dist/chunk-NHGKZMD7.cjs +18 -0
  198. package/dist/chunk-NHGKZMD7.cjs.map +1 -0
  199. package/dist/chunk-NMLDPXOL.js +167 -0
  200. package/dist/chunk-NMLDPXOL.js.map +1 -0
  201. package/dist/chunk-NONU7KUN.cjs +32 -0
  202. package/dist/chunk-NONU7KUN.cjs.map +1 -0
  203. package/dist/chunk-NQSC7CKN.js +130 -0
  204. package/dist/chunk-NQSC7CKN.js.map +1 -0
  205. package/dist/chunk-NYVFC2SF.js +87 -0
  206. package/dist/chunk-NYVFC2SF.js.map +1 -0
  207. package/dist/chunk-O5KGKQSU.js +218 -0
  208. package/dist/chunk-O5KGKQSU.js.map +1 -0
  209. package/dist/chunk-OGSZO22B.js +26 -0
  210. package/dist/chunk-OGSZO22B.js.map +1 -0
  211. package/dist/chunk-Q2BDB5ZA.cjs +218 -0
  212. package/dist/chunk-Q2BDB5ZA.cjs.map +1 -0
  213. package/dist/chunk-Q6U5D2ZB.cjs +210 -0
  214. package/dist/chunk-Q6U5D2ZB.cjs.map +1 -0
  215. package/dist/chunk-QAYX6XN3.js +26 -0
  216. package/dist/chunk-QAYX6XN3.js.map +1 -0
  217. package/dist/chunk-QHJHYV3H.cjs +15 -0
  218. package/dist/chunk-QHJHYV3H.cjs.map +1 -0
  219. package/dist/chunk-QIJZZOX7.js +249 -0
  220. package/dist/chunk-QIJZZOX7.js.map +1 -0
  221. package/dist/chunk-QLRK46YY.cjs +93 -0
  222. package/dist/chunk-QLRK46YY.cjs.map +1 -0
  223. package/dist/chunk-QZ4ZYTP6.js +124 -0
  224. package/dist/chunk-QZ4ZYTP6.js.map +1 -0
  225. package/dist/chunk-RCVRZCCC.cjs +156 -0
  226. package/dist/chunk-RCVRZCCC.cjs.map +1 -0
  227. package/dist/chunk-ROYZ7W4M.cjs +81 -0
  228. package/dist/chunk-ROYZ7W4M.cjs.map +1 -0
  229. package/dist/chunk-SJS4ISBA.js +163 -0
  230. package/dist/chunk-SJS4ISBA.js.map +1 -0
  231. package/dist/chunk-SKVCPG5R.cjs +124 -0
  232. package/dist/chunk-SKVCPG5R.cjs.map +1 -0
  233. package/dist/chunk-SQJAKZ4W.js +113 -0
  234. package/dist/chunk-SQJAKZ4W.js.map +1 -0
  235. package/dist/chunk-SUNC3CPV.js +79 -0
  236. package/dist/chunk-SUNC3CPV.js.map +1 -0
  237. package/dist/chunk-SWYCVF46.js +145 -0
  238. package/dist/chunk-SWYCVF46.js.map +1 -0
  239. package/dist/chunk-SZVK6RRQ.js +98 -0
  240. package/dist/chunk-SZVK6RRQ.js.map +1 -0
  241. package/dist/chunk-TOS2RYHQ.js +154 -0
  242. package/dist/chunk-TOS2RYHQ.js.map +1 -0
  243. package/dist/chunk-TTOX27BZ.cjs +116 -0
  244. package/dist/chunk-TTOX27BZ.cjs.map +1 -0
  245. package/dist/chunk-TW6KPQIS.js +160 -0
  246. package/dist/chunk-TW6KPQIS.js.map +1 -0
  247. package/dist/chunk-UN7K3YQG.cjs +81 -0
  248. package/dist/chunk-UN7K3YQG.cjs.map +1 -0
  249. package/dist/chunk-UQBDGCS6.cjs +89 -0
  250. package/dist/chunk-UQBDGCS6.cjs.map +1 -0
  251. package/dist/chunk-VPI7UGB3.cjs +130 -0
  252. package/dist/chunk-VPI7UGB3.cjs.map +1 -0
  253. package/dist/chunk-X2JNB5UN.js +271 -0
  254. package/dist/chunk-X2JNB5UN.js.map +1 -0
  255. package/dist/chunk-XBIM73HV.cjs +126 -0
  256. package/dist/chunk-XBIM73HV.cjs.map +1 -0
  257. package/dist/chunk-XHQWWR5M.cjs +4892 -0
  258. package/dist/chunk-XHQWWR5M.cjs.map +1 -0
  259. package/dist/chunk-Y2JZHX3P.cjs +169 -0
  260. package/dist/chunk-Y2JZHX3P.cjs.map +1 -0
  261. package/dist/chunk-Y4P4VY7A.cjs +251 -0
  262. package/dist/chunk-Y4P4VY7A.cjs.map +1 -0
  263. package/dist/chunk-Y54XVNXB.cjs +157 -0
  264. package/dist/chunk-Y54XVNXB.cjs.map +1 -0
  265. package/dist/chunk-Z6E3XVP2.cjs +132 -0
  266. package/dist/chunk-Z6E3XVP2.cjs.map +1 -0
  267. package/dist/chunk-ZDYCIP6N.cjs +100 -0
  268. package/dist/chunk-ZDYCIP6N.cjs.map +1 -0
  269. package/dist/chunk-ZDZQG3GH.cjs +148 -0
  270. package/dist/chunk-ZDZQG3GH.cjs.map +1 -0
  271. package/dist/chunk-ZL25X5WW.js +66 -0
  272. package/dist/chunk-ZL25X5WW.js.map +1 -0
  273. package/dist/combo-type-BdSohVyy.d.ts +16 -0
  274. package/dist/combo-type-wodyLq1f.d.cts +16 -0
  275. package/dist/combo.cjs +34 -0
  276. package/dist/combo.cjs.map +1 -0
  277. package/dist/combo.d.cts +8 -0
  278. package/dist/combo.d.ts +8 -0
  279. package/dist/combo.js +13 -0
  280. package/dist/combo.js.map +1 -0
  281. package/dist/custom-type-B6w1n5Ua.d.cts +23 -0
  282. package/dist/custom-type-XFjuPwCr.d.ts +23 -0
  283. package/dist/custom.cjs +33 -0
  284. package/dist/custom.cjs.map +1 -0
  285. package/dist/custom.d.cts +8 -0
  286. package/dist/custom.d.ts +8 -0
  287. package/dist/custom.js +12 -0
  288. package/dist/custom.js.map +1 -0
  289. package/dist/donut.cjs +33 -0
  290. package/dist/donut.cjs.map +1 -0
  291. package/dist/donut.d.cts +8 -0
  292. package/dist/donut.d.ts +8 -0
  293. package/dist/donut.js +12 -0
  294. package/dist/donut.js.map +1 -0
  295. package/dist/dumbbell-type-DPSE0OTg.d.ts +12 -0
  296. package/dist/dumbbell-type-w424KzI2.d.cts +12 -0
  297. package/dist/dumbbell.cjs +34 -0
  298. package/dist/dumbbell.cjs.map +1 -0
  299. package/dist/dumbbell.d.cts +8 -0
  300. package/dist/dumbbell.d.ts +8 -0
  301. package/dist/dumbbell.js +13 -0
  302. package/dist/dumbbell.js.map +1 -0
  303. package/dist/engine-CNukbv7k.d.cts +426 -0
  304. package/dist/engine-CNukbv7k.d.ts +426 -0
  305. package/dist/factory-dbngWV4d.d.cts +8 -0
  306. package/dist/factory-jRzNNxwj.d.ts +8 -0
  307. package/dist/finance.cjs +92 -0
  308. package/dist/finance.cjs.map +1 -0
  309. package/dist/finance.d.cts +192 -0
  310. package/dist/finance.d.ts +192 -0
  311. package/dist/finance.js +3 -0
  312. package/dist/finance.js.map +1 -0
  313. package/dist/funnel-type-BeVl3ohX.d.cts +9 -0
  314. package/dist/funnel-type-CMXGQq4T.d.ts +9 -0
  315. package/dist/funnel.cjs +33 -0
  316. package/dist/funnel.cjs.map +1 -0
  317. package/dist/funnel.d.cts +8 -0
  318. package/dist/funnel.d.ts +8 -0
  319. package/dist/funnel.js +12 -0
  320. package/dist/funnel.js.map +1 -0
  321. package/dist/gauge-type-BpDBwCeD.d.ts +11 -0
  322. package/dist/gauge-type-DmjDdfsY.d.cts +11 -0
  323. package/dist/gauge.cjs +33 -0
  324. package/dist/gauge.cjs.map +1 -0
  325. package/dist/gauge.d.cts +8 -0
  326. package/dist/gauge.d.ts +8 -0
  327. package/dist/gauge.js +12 -0
  328. package/dist/gauge.js.map +1 -0
  329. package/dist/geo.cjs +41 -0
  330. package/dist/geo.cjs.map +1 -0
  331. package/dist/geo.d.cts +8 -0
  332. package/dist/geo.d.ts +8 -0
  333. package/dist/geo.js +12 -0
  334. package/dist/geo.js.map +1 -0
  335. package/dist/graph-type-DkdAB6Vc.d.cts +5 -0
  336. package/dist/graph-type-ul9xwdf5.d.ts +5 -0
  337. package/dist/graph.cjs +33 -0
  338. package/dist/graph.cjs.map +1 -0
  339. package/dist/graph.d.cts +8 -0
  340. package/dist/graph.d.ts +8 -0
  341. package/dist/graph.js +12 -0
  342. package/dist/graph.js.map +1 -0
  343. package/dist/heatmap-type-D0shkxK7.d.cts +12 -0
  344. package/dist/heatmap-type-q6nNhVTr.d.ts +12 -0
  345. package/dist/heatmap.cjs +33 -0
  346. package/dist/heatmap.cjs.map +1 -0
  347. package/dist/heatmap.d.cts +8 -0
  348. package/dist/heatmap.d.ts +8 -0
  349. package/dist/heatmap.js +12 -0
  350. package/dist/heatmap.js.map +1 -0
  351. package/dist/histogram-type-BWil-Rb7.d.cts +13 -0
  352. package/dist/histogram-type-CF593WSp.d.ts +13 -0
  353. package/dist/histogram.cjs +33 -0
  354. package/dist/histogram.cjs.map +1 -0
  355. package/dist/histogram.d.cts +8 -0
  356. package/dist/histogram.d.ts +8 -0
  357. package/dist/histogram.js +12 -0
  358. package/dist/histogram.js.map +1 -0
  359. package/dist/horizontal-bar-type-0mqnyMUR.d.cts +11 -0
  360. package/dist/horizontal-bar-type-DAlrxY0h.d.ts +11 -0
  361. package/dist/horizontal-bar.cjs +34 -0
  362. package/dist/horizontal-bar.cjs.map +1 -0
  363. package/dist/horizontal-bar.d.cts +8 -0
  364. package/dist/horizontal-bar.d.ts +8 -0
  365. package/dist/horizontal-bar.js +13 -0
  366. package/dist/horizontal-bar.js.map +1 -0
  367. package/dist/index.cjs +1604 -0
  368. package/dist/index.cjs.map +1 -0
  369. package/dist/index.d.cts +594 -0
  370. package/dist/index.d.ts +594 -0
  371. package/dist/index.js +1201 -0
  372. package/dist/index.js.map +1 -0
  373. package/dist/kagi-type-Y5XUVm3h.d.ts +26 -0
  374. package/dist/kagi-type-aG-Q1bWk.d.cts +26 -0
  375. package/dist/kagi.cjs +33 -0
  376. package/dist/kagi.cjs.map +1 -0
  377. package/dist/kagi.d.cts +8 -0
  378. package/dist/kagi.d.ts +8 -0
  379. package/dist/kagi.js +12 -0
  380. package/dist/kagi.js.map +1 -0
  381. package/dist/line-type-B8lgTFjb.d.cts +5 -0
  382. package/dist/line-type-Diw0nXj7.d.ts +5 -0
  383. package/dist/line.cjs +33 -0
  384. package/dist/line.cjs.map +1 -0
  385. package/dist/line.d.cts +8 -0
  386. package/dist/line.d.ts +8 -0
  387. package/dist/line.js +12 -0
  388. package/dist/line.js.map +1 -0
  389. package/dist/lines-type-CGrg_mDi.d.cts +31 -0
  390. package/dist/lines-type-V-seVNZ4.d.ts +31 -0
  391. package/dist/lines.cjs +33 -0
  392. package/dist/lines.cjs.map +1 -0
  393. package/dist/lines.d.cts +8 -0
  394. package/dist/lines.d.ts +8 -0
  395. package/dist/lines.js +12 -0
  396. package/dist/lines.js.map +1 -0
  397. package/dist/lollipop-type-CoTzKLSu.d.cts +11 -0
  398. package/dist/lollipop-type-Ygc4rRql.d.ts +11 -0
  399. package/dist/lollipop.cjs +33 -0
  400. package/dist/lollipop.cjs.map +1 -0
  401. package/dist/lollipop.d.cts +8 -0
  402. package/dist/lollipop.d.ts +8 -0
  403. package/dist/lollipop.js +12 -0
  404. package/dist/lollipop.js.map +1 -0
  405. package/dist/matrix-type-Crb_NwUJ.d.cts +26 -0
  406. package/dist/matrix-type-Dag1VLCY.d.ts +26 -0
  407. package/dist/matrix.cjs +33 -0
  408. package/dist/matrix.cjs.map +1 -0
  409. package/dist/matrix.d.cts +8 -0
  410. package/dist/matrix.d.ts +8 -0
  411. package/dist/matrix.js +12 -0
  412. package/dist/matrix.js.map +1 -0
  413. package/dist/ohlc-type-BQBHvVJO.d.cts +28 -0
  414. package/dist/ohlc-type-CGR-vRGL.d.ts +28 -0
  415. package/dist/ohlc.cjs +33 -0
  416. package/dist/ohlc.cjs.map +1 -0
  417. package/dist/ohlc.d.cts +8 -0
  418. package/dist/ohlc.d.ts +8 -0
  419. package/dist/ohlc.js +12 -0
  420. package/dist/ohlc.js.map +1 -0
  421. package/dist/parallel-type-6t6xyHMg.d.ts +14 -0
  422. package/dist/parallel-type-D-S-EqeC.d.cts +14 -0
  423. package/dist/parallel.cjs +33 -0
  424. package/dist/parallel.cjs.map +1 -0
  425. package/dist/parallel.d.cts +8 -0
  426. package/dist/parallel.d.ts +8 -0
  427. package/dist/parallel.js +12 -0
  428. package/dist/parallel.js.map +1 -0
  429. package/dist/pictorialbar-type-A-8mTX1N.d.ts +5 -0
  430. package/dist/pictorialbar-type-CnJEH9GZ.d.cts +5 -0
  431. package/dist/pictorialbar.cjs +33 -0
  432. package/dist/pictorialbar.cjs.map +1 -0
  433. package/dist/pictorialbar.d.cts +8 -0
  434. package/dist/pictorialbar.d.ts +8 -0
  435. package/dist/pictorialbar.js +12 -0
  436. package/dist/pictorialbar.js.map +1 -0
  437. package/dist/pie-type-S7kUKGRS.d.ts +7 -0
  438. package/dist/pie-type-duX5xkfQ.d.cts +7 -0
  439. package/dist/pie.cjs +33 -0
  440. package/dist/pie.cjs.map +1 -0
  441. package/dist/pie.d.cts +8 -0
  442. package/dist/pie.d.ts +8 -0
  443. package/dist/pie.js +12 -0
  444. package/dist/pie.js.map +1 -0
  445. package/dist/polar-type-CI6-I8Yg.d.cts +11 -0
  446. package/dist/polar-type-Dj21GIc9.d.ts +11 -0
  447. package/dist/polar.cjs +33 -0
  448. package/dist/polar.cjs.map +1 -0
  449. package/dist/polar.d.cts +8 -0
  450. package/dist/polar.d.ts +8 -0
  451. package/dist/polar.js +12 -0
  452. package/dist/polar.js.map +1 -0
  453. package/dist/radar-type-CYjZHuKm.d.ts +9 -0
  454. package/dist/radar-type-Dgyr13Zd.d.cts +9 -0
  455. package/dist/radar.cjs +33 -0
  456. package/dist/radar.cjs.map +1 -0
  457. package/dist/radar.d.cts +8 -0
  458. package/dist/radar.d.ts +8 -0
  459. package/dist/radar.js +12 -0
  460. package/dist/radar.js.map +1 -0
  461. package/dist/radialbar-type-CLZ8XgST.d.ts +11 -0
  462. package/dist/radialbar-type-C_SBXoaa.d.cts +11 -0
  463. package/dist/radialbar.cjs +33 -0
  464. package/dist/radialbar.cjs.map +1 -0
  465. package/dist/radialbar.d.cts +8 -0
  466. package/dist/radialbar.d.ts +8 -0
  467. package/dist/radialbar.js +12 -0
  468. package/dist/radialbar.js.map +1 -0
  469. package/dist/range-type-CkriEnLm.d.cts +26 -0
  470. package/dist/range-type-_LbMV4tl.d.ts +26 -0
  471. package/dist/range.cjs +32 -0
  472. package/dist/range.cjs.map +1 -0
  473. package/dist/range.d.cts +8 -0
  474. package/dist/range.d.ts +8 -0
  475. package/dist/range.js +11 -0
  476. package/dist/range.js.map +1 -0
  477. package/dist/renko-type-43OXCtZ3.d.cts +24 -0
  478. package/dist/renko-type-ejoXt2ro.d.ts +24 -0
  479. package/dist/renko.cjs +33 -0
  480. package/dist/renko.cjs.map +1 -0
  481. package/dist/renko.d.cts +8 -0
  482. package/dist/renko.d.ts +8 -0
  483. package/dist/renko.js +12 -0
  484. package/dist/renko.js.map +1 -0
  485. package/dist/sankey-type-CN7PL5MQ.d.ts +5 -0
  486. package/dist/sankey-type-DfkTUnXB.d.cts +5 -0
  487. package/dist/sankey.cjs +33 -0
  488. package/dist/sankey.cjs.map +1 -0
  489. package/dist/sankey.d.cts +8 -0
  490. package/dist/sankey.d.ts +8 -0
  491. package/dist/sankey.js +12 -0
  492. package/dist/sankey.js.map +1 -0
  493. package/dist/scatter-type-CD7X1pZb.d.cts +5 -0
  494. package/dist/scatter-type-D3HdPkZ6.d.ts +5 -0
  495. package/dist/scatter.cjs +32 -0
  496. package/dist/scatter.cjs.map +1 -0
  497. package/dist/scatter.d.cts +8 -0
  498. package/dist/scatter.d.ts +8 -0
  499. package/dist/scatter.js +11 -0
  500. package/dist/scatter.js.map +1 -0
  501. package/dist/sparkline-type-COW3izgF.d.ts +9 -0
  502. package/dist/sparkline-type-qt3yoLs7.d.cts +9 -0
  503. package/dist/sparkline.cjs +33 -0
  504. package/dist/sparkline.cjs.map +1 -0
  505. package/dist/sparkline.d.cts +8 -0
  506. package/dist/sparkline.d.ts +8 -0
  507. package/dist/sparkline.js +12 -0
  508. package/dist/sparkline.js.map +1 -0
  509. package/dist/stacked-bar-type-C-5pmb-D.d.ts +8 -0
  510. package/dist/stacked-bar-type-Ct6HK2A0.d.cts +8 -0
  511. package/dist/stacked-bar.cjs +34 -0
  512. package/dist/stacked-bar.cjs.map +1 -0
  513. package/dist/stacked-bar.d.cts +8 -0
  514. package/dist/stacked-bar.d.ts +8 -0
  515. package/dist/stacked-bar.js +13 -0
  516. package/dist/stacked-bar.js.map +1 -0
  517. package/dist/step-type-BSL-CUny.d.cts +11 -0
  518. package/dist/step-type-Cleoshov.d.ts +11 -0
  519. package/dist/step.cjs +34 -0
  520. package/dist/step.cjs.map +1 -0
  521. package/dist/step.d.cts +8 -0
  522. package/dist/step.d.ts +8 -0
  523. package/dist/step.js +13 -0
  524. package/dist/step.js.map +1 -0
  525. package/dist/sunburst-type-BOztb_Px.d.cts +5 -0
  526. package/dist/sunburst-type-ZFw2w6m8.d.ts +5 -0
  527. package/dist/sunburst.cjs +33 -0
  528. package/dist/sunburst.cjs.map +1 -0
  529. package/dist/sunburst.d.cts +8 -0
  530. package/dist/sunburst.d.ts +8 -0
  531. package/dist/sunburst.js +12 -0
  532. package/dist/sunburst.js.map +1 -0
  533. package/dist/themeriver-type-B5PYChcC.d.ts +15 -0
  534. package/dist/themeriver-type-BnRSsyal.d.cts +15 -0
  535. package/dist/themeriver.cjs +33 -0
  536. package/dist/themeriver.cjs.map +1 -0
  537. package/dist/themeriver.d.cts +8 -0
  538. package/dist/themeriver.d.ts +8 -0
  539. package/dist/themeriver.js +12 -0
  540. package/dist/themeriver.js.map +1 -0
  541. package/dist/tree-type-B-bOSg0l.d.ts +5 -0
  542. package/dist/tree-type-Cz84wHnR.d.cts +5 -0
  543. package/dist/tree.cjs +33 -0
  544. package/dist/tree.cjs.map +1 -0
  545. package/dist/tree.d.cts +8 -0
  546. package/dist/tree.d.ts +8 -0
  547. package/dist/tree.js +12 -0
  548. package/dist/tree.js.map +1 -0
  549. package/dist/treemap-type-DYDj-rWv.d.ts +11 -0
  550. package/dist/treemap-type-OBCGexiK.d.cts +11 -0
  551. package/dist/treemap.cjs +33 -0
  552. package/dist/treemap.cjs.map +1 -0
  553. package/dist/treemap.d.cts +8 -0
  554. package/dist/treemap.d.ts +8 -0
  555. package/dist/treemap.js +12 -0
  556. package/dist/treemap.js.map +1 -0
  557. package/dist/volume-type-C9wRmKR6.d.ts +21 -0
  558. package/dist/volume-type-CfERBN5g.d.cts +21 -0
  559. package/dist/volume.cjs +33 -0
  560. package/dist/volume.cjs.map +1 -0
  561. package/dist/volume.d.cts +8 -0
  562. package/dist/volume.d.ts +8 -0
  563. package/dist/volume.js +12 -0
  564. package/dist/volume.js.map +1 -0
  565. package/dist/waterfall-type-CpdVtBi_.d.ts +10 -0
  566. package/dist/waterfall-type-hm5ylGgW.d.cts +10 -0
  567. package/dist/waterfall.cjs +33 -0
  568. package/dist/waterfall.cjs.map +1 -0
  569. package/dist/waterfall.d.cts +8 -0
  570. package/dist/waterfall.d.ts +8 -0
  571. package/dist/waterfall.js +12 -0
  572. package/dist/waterfall.js.map +1 -0
  573. package/dist/world-regions-Cfvxpbx0.d.ts +50 -0
  574. package/dist/world-regions-cMulhqDW.d.cts +50 -0
  575. package/package.json +262 -0
@@ -0,0 +1,192 @@
1
+ /**
2
+ * Financial analysis type definitions.
3
+ * ZERO runtime code — types and interfaces only.
4
+ */
5
+ /** MACD computation result. */
6
+ interface MACDResult {
7
+ /** MACD line (fast EMA - slow EMA). NaN-padded for warmup. */
8
+ macd: number[];
9
+ /** Signal line (EMA of MACD). NaN-padded for warmup. */
10
+ signal: number[];
11
+ /** Histogram (MACD - signal). NaN-padded for warmup. */
12
+ histogram: number[];
13
+ }
14
+ /** Bollinger Bands result. */
15
+ interface BollingerResult {
16
+ /** Upper band: SMA + k * stddev */
17
+ upper: number[];
18
+ /** Middle band: SMA */
19
+ middle: number[];
20
+ /** Lower band: SMA - k * stddev */
21
+ lower: number[];
22
+ }
23
+ /** Stochastic Oscillator result. */
24
+ interface StochasticResult {
25
+ /** %K (fast stochastic) */
26
+ k: number[];
27
+ /** %D (smoothed %K) */
28
+ d: number[];
29
+ }
30
+ /** Aggregated OHLC arrays ready for chart consumption. */
31
+ interface OHLCAggregation {
32
+ labels: string[];
33
+ open: number[];
34
+ high: number[];
35
+ low: number[];
36
+ close: number[];
37
+ volume?: number[];
38
+ }
39
+
40
+ /**
41
+ * Moving average indicators — SMA, EMA, WMA.
42
+ * Pure functions, zero dependencies.
43
+ */
44
+ /**
45
+ * Simple Moving Average.
46
+ * O(n) using running sum. First (period-1) values are NaN.
47
+ */
48
+ declare function sma(values: number[], period: number): number[];
49
+ /**
50
+ * Exponential Moving Average.
51
+ * Seeded with SMA of first `period` values. Smoothing k = 2/(period+1).
52
+ * First (period-1) values are NaN. O(n).
53
+ */
54
+ declare function ema(values: number[], period: number): number[];
55
+ /**
56
+ * Weighted Moving Average.
57
+ * Weights increase linearly: [1, 2, ..., period].
58
+ * First (period-1) values are NaN. O(n*period).
59
+ */
60
+ declare function wma(values: number[], period: number): number[];
61
+
62
+ /**
63
+ * Oscillator indicators — RSI, Stochastic.
64
+ * Pure functions, zero dependencies.
65
+ */
66
+
67
+ /**
68
+ * Relative Strength Index (Wilder's smoothing).
69
+ * Returns 0-100 scaled values. First `period` values are NaN.
70
+ * Default period: 14. O(n).
71
+ */
72
+ declare function rsi(values: number[], period?: number): number[];
73
+ /**
74
+ * Stochastic Oscillator.
75
+ * %K = 100 * (close - lowestLow) / (highestHigh - lowestLow) over kPeriod.
76
+ * %D = SMA(%K, dPeriod).
77
+ * Default: kPeriod=14, dPeriod=3.
78
+ */
79
+ declare function stochastic(high: number[], low: number[], close: number[], kPeriod?: number, dPeriod?: number): StochasticResult;
80
+
81
+ /**
82
+ * MACD (Moving Average Convergence Divergence).
83
+ * Depends on EMA from moving-averages.
84
+ */
85
+
86
+ /**
87
+ * Compute MACD.
88
+ * MACD line = EMA(fast) - EMA(slow).
89
+ * Signal = EMA(MACD line, signalPeriod).
90
+ * Histogram = MACD - Signal.
91
+ * Default: fast=12, slow=26, signal=9.
92
+ */
93
+ declare function macd(values: number[], fastPeriod?: number, slowPeriod?: number, signalPeriod?: number): MACDResult;
94
+
95
+ /**
96
+ * Bollinger Bands.
97
+ * Depends on SMA from moving-averages.
98
+ */
99
+
100
+ /**
101
+ * Compute Bollinger Bands.
102
+ * Middle = SMA(period). Upper = middle + k*stddev. Lower = middle - k*stddev.
103
+ * Default: period=20, k=2.
104
+ * First (period-1) values are NaN.
105
+ */
106
+ declare function bollingerBands(values: number[], period?: number, k?: number): BollingerResult;
107
+
108
+ /**
109
+ * Average True Range (ATR).
110
+ * Pure function, zero dependencies.
111
+ */
112
+ /**
113
+ * Average True Range using Wilder's smoothing.
114
+ * True Range = max(high-low, |high-prevClose|, |low-prevClose|).
115
+ * First `period` values are NaN. Default period: 14. O(n).
116
+ */
117
+ declare function atr(high: number[], low: number[], close: number[], period?: number): number[];
118
+
119
+ /**
120
+ * Volume-based indicators — VWAP, OBV.
121
+ * Pure functions, zero dependencies.
122
+ */
123
+ /**
124
+ * Volume Weighted Average Price.
125
+ * VWAP[i] = cumulative(price*volume) / cumulative(volume).
126
+ * Full length output (no NaN padding). O(n).
127
+ */
128
+ declare function vwap(price: number[], volume: number[]): number[];
129
+ /**
130
+ * On-Balance Volume.
131
+ * Starts at 0. If close > prevClose, add volume. If close < prevClose, subtract.
132
+ * Full length output. O(n).
133
+ */
134
+ declare function obv(close: number[], volume: number[]): number[];
135
+
136
+ /**
137
+ * Portfolio & returns analytics.
138
+ * Pure functions, zero dependencies.
139
+ */
140
+ /** Simple percentage returns. First value is NaN. */
141
+ declare function simpleReturns(prices: number[]): number[];
142
+ /** Log returns. First value is NaN. */
143
+ declare function logReturns(prices: number[]): number[];
144
+ /** Cumulative returns (growth from initial price). First value is 0. */
145
+ declare function cumulativeReturns(prices: number[]): number[];
146
+ /** Drawdown at each point (always <= 0). */
147
+ declare function drawdown(prices: number[]): number[];
148
+ /** Maximum drawdown (single number, deepest trough). Always <= 0. */
149
+ declare function maxDrawdown(prices: number[]): number;
150
+ /**
151
+ * Annualized Sharpe ratio.
152
+ * sharpe = mean(excess) / std(excess) * sqrt(annualizationFactor).
153
+ * Filters out NaN values from returns array.
154
+ */
155
+ declare function sharpeRatio(returns: number[], riskFreeRate?: number, annualizationFactor?: number): number;
156
+ /**
157
+ * Volatility (standard deviation of returns).
158
+ * If rollingPeriod provided: returns number[] with NaN padding.
159
+ * Otherwise returns single annualized number.
160
+ */
161
+ declare function volatility(returns: number[], rollingPeriod?: number, annualizationFactor?: number): number | number[];
162
+
163
+ /**
164
+ * Financial data builders — bridge indicator output to chart data formats.
165
+ */
166
+
167
+ /**
168
+ * Aggregate tick-level data into OHLC bars.
169
+ * @param timestamps - epoch milliseconds
170
+ * @param prices - price at each tick
171
+ * @param interval - bar size in milliseconds
172
+ * @param volumes - optional volume at each tick
173
+ */
174
+ declare function toOHLC(timestamps: number[], prices: number[], interval: number, volumes?: number[]): OHLCAggregation;
175
+ /**
176
+ * Determine volume bar directions from consecutive close prices.
177
+ * Returns 'up'|'down' array for Volume chart's `directions` option.
178
+ */
179
+ declare function volumeDirections(values: number[]): ('up' | 'down')[];
180
+ /**
181
+ * Compute Bollinger Bands in Range chart format.
182
+ * Output: { upper, lower, middle } — middle goes into series[0].values,
183
+ * upper/lower into the range option.
184
+ */
185
+ declare function toBollingerData(close: number[], period?: number, k?: number): BollingerResult;
186
+ /**
187
+ * Compute MACD in Combo chart format.
188
+ * series[0] = histogram (bars), series[1] = MACD line, series[2] = signal line.
189
+ */
190
+ declare function toMACDData(close: number[], fastPeriod?: number, slowPeriod?: number, signalPeriod?: number): MACDResult;
191
+
192
+ export { type BollingerResult, type MACDResult, type OHLCAggregation, type StochasticResult, atr, bollingerBands, cumulativeReturns, drawdown, ema, logReturns, macd, maxDrawdown, obv, rsi, sharpeRatio, simpleReturns, sma, stochastic, toBollingerData, toMACDData, toOHLC, volatility, volumeDirections, vwap, wma };
@@ -0,0 +1,192 @@
1
+ /**
2
+ * Financial analysis type definitions.
3
+ * ZERO runtime code — types and interfaces only.
4
+ */
5
+ /** MACD computation result. */
6
+ interface MACDResult {
7
+ /** MACD line (fast EMA - slow EMA). NaN-padded for warmup. */
8
+ macd: number[];
9
+ /** Signal line (EMA of MACD). NaN-padded for warmup. */
10
+ signal: number[];
11
+ /** Histogram (MACD - signal). NaN-padded for warmup. */
12
+ histogram: number[];
13
+ }
14
+ /** Bollinger Bands result. */
15
+ interface BollingerResult {
16
+ /** Upper band: SMA + k * stddev */
17
+ upper: number[];
18
+ /** Middle band: SMA */
19
+ middle: number[];
20
+ /** Lower band: SMA - k * stddev */
21
+ lower: number[];
22
+ }
23
+ /** Stochastic Oscillator result. */
24
+ interface StochasticResult {
25
+ /** %K (fast stochastic) */
26
+ k: number[];
27
+ /** %D (smoothed %K) */
28
+ d: number[];
29
+ }
30
+ /** Aggregated OHLC arrays ready for chart consumption. */
31
+ interface OHLCAggregation {
32
+ labels: string[];
33
+ open: number[];
34
+ high: number[];
35
+ low: number[];
36
+ close: number[];
37
+ volume?: number[];
38
+ }
39
+
40
+ /**
41
+ * Moving average indicators — SMA, EMA, WMA.
42
+ * Pure functions, zero dependencies.
43
+ */
44
+ /**
45
+ * Simple Moving Average.
46
+ * O(n) using running sum. First (period-1) values are NaN.
47
+ */
48
+ declare function sma(values: number[], period: number): number[];
49
+ /**
50
+ * Exponential Moving Average.
51
+ * Seeded with SMA of first `period` values. Smoothing k = 2/(period+1).
52
+ * First (period-1) values are NaN. O(n).
53
+ */
54
+ declare function ema(values: number[], period: number): number[];
55
+ /**
56
+ * Weighted Moving Average.
57
+ * Weights increase linearly: [1, 2, ..., period].
58
+ * First (period-1) values are NaN. O(n*period).
59
+ */
60
+ declare function wma(values: number[], period: number): number[];
61
+
62
+ /**
63
+ * Oscillator indicators — RSI, Stochastic.
64
+ * Pure functions, zero dependencies.
65
+ */
66
+
67
+ /**
68
+ * Relative Strength Index (Wilder's smoothing).
69
+ * Returns 0-100 scaled values. First `period` values are NaN.
70
+ * Default period: 14. O(n).
71
+ */
72
+ declare function rsi(values: number[], period?: number): number[];
73
+ /**
74
+ * Stochastic Oscillator.
75
+ * %K = 100 * (close - lowestLow) / (highestHigh - lowestLow) over kPeriod.
76
+ * %D = SMA(%K, dPeriod).
77
+ * Default: kPeriod=14, dPeriod=3.
78
+ */
79
+ declare function stochastic(high: number[], low: number[], close: number[], kPeriod?: number, dPeriod?: number): StochasticResult;
80
+
81
+ /**
82
+ * MACD (Moving Average Convergence Divergence).
83
+ * Depends on EMA from moving-averages.
84
+ */
85
+
86
+ /**
87
+ * Compute MACD.
88
+ * MACD line = EMA(fast) - EMA(slow).
89
+ * Signal = EMA(MACD line, signalPeriod).
90
+ * Histogram = MACD - Signal.
91
+ * Default: fast=12, slow=26, signal=9.
92
+ */
93
+ declare function macd(values: number[], fastPeriod?: number, slowPeriod?: number, signalPeriod?: number): MACDResult;
94
+
95
+ /**
96
+ * Bollinger Bands.
97
+ * Depends on SMA from moving-averages.
98
+ */
99
+
100
+ /**
101
+ * Compute Bollinger Bands.
102
+ * Middle = SMA(period). Upper = middle + k*stddev. Lower = middle - k*stddev.
103
+ * Default: period=20, k=2.
104
+ * First (period-1) values are NaN.
105
+ */
106
+ declare function bollingerBands(values: number[], period?: number, k?: number): BollingerResult;
107
+
108
+ /**
109
+ * Average True Range (ATR).
110
+ * Pure function, zero dependencies.
111
+ */
112
+ /**
113
+ * Average True Range using Wilder's smoothing.
114
+ * True Range = max(high-low, |high-prevClose|, |low-prevClose|).
115
+ * First `period` values are NaN. Default period: 14. O(n).
116
+ */
117
+ declare function atr(high: number[], low: number[], close: number[], period?: number): number[];
118
+
119
+ /**
120
+ * Volume-based indicators — VWAP, OBV.
121
+ * Pure functions, zero dependencies.
122
+ */
123
+ /**
124
+ * Volume Weighted Average Price.
125
+ * VWAP[i] = cumulative(price*volume) / cumulative(volume).
126
+ * Full length output (no NaN padding). O(n).
127
+ */
128
+ declare function vwap(price: number[], volume: number[]): number[];
129
+ /**
130
+ * On-Balance Volume.
131
+ * Starts at 0. If close > prevClose, add volume. If close < prevClose, subtract.
132
+ * Full length output. O(n).
133
+ */
134
+ declare function obv(close: number[], volume: number[]): number[];
135
+
136
+ /**
137
+ * Portfolio & returns analytics.
138
+ * Pure functions, zero dependencies.
139
+ */
140
+ /** Simple percentage returns. First value is NaN. */
141
+ declare function simpleReturns(prices: number[]): number[];
142
+ /** Log returns. First value is NaN. */
143
+ declare function logReturns(prices: number[]): number[];
144
+ /** Cumulative returns (growth from initial price). First value is 0. */
145
+ declare function cumulativeReturns(prices: number[]): number[];
146
+ /** Drawdown at each point (always <= 0). */
147
+ declare function drawdown(prices: number[]): number[];
148
+ /** Maximum drawdown (single number, deepest trough). Always <= 0. */
149
+ declare function maxDrawdown(prices: number[]): number;
150
+ /**
151
+ * Annualized Sharpe ratio.
152
+ * sharpe = mean(excess) / std(excess) * sqrt(annualizationFactor).
153
+ * Filters out NaN values from returns array.
154
+ */
155
+ declare function sharpeRatio(returns: number[], riskFreeRate?: number, annualizationFactor?: number): number;
156
+ /**
157
+ * Volatility (standard deviation of returns).
158
+ * If rollingPeriod provided: returns number[] with NaN padding.
159
+ * Otherwise returns single annualized number.
160
+ */
161
+ declare function volatility(returns: number[], rollingPeriod?: number, annualizationFactor?: number): number | number[];
162
+
163
+ /**
164
+ * Financial data builders — bridge indicator output to chart data formats.
165
+ */
166
+
167
+ /**
168
+ * Aggregate tick-level data into OHLC bars.
169
+ * @param timestamps - epoch milliseconds
170
+ * @param prices - price at each tick
171
+ * @param interval - bar size in milliseconds
172
+ * @param volumes - optional volume at each tick
173
+ */
174
+ declare function toOHLC(timestamps: number[], prices: number[], interval: number, volumes?: number[]): OHLCAggregation;
175
+ /**
176
+ * Determine volume bar directions from consecutive close prices.
177
+ * Returns 'up'|'down' array for Volume chart's `directions` option.
178
+ */
179
+ declare function volumeDirections(values: number[]): ('up' | 'down')[];
180
+ /**
181
+ * Compute Bollinger Bands in Range chart format.
182
+ * Output: { upper, lower, middle } — middle goes into series[0].values,
183
+ * upper/lower into the range option.
184
+ */
185
+ declare function toBollingerData(close: number[], period?: number, k?: number): BollingerResult;
186
+ /**
187
+ * Compute MACD in Combo chart format.
188
+ * series[0] = histogram (bars), series[1] = MACD line, series[2] = signal line.
189
+ */
190
+ declare function toMACDData(close: number[], fastPeriod?: number, slowPeriod?: number, signalPeriod?: number): MACDResult;
191
+
192
+ export { type BollingerResult, type MACDResult, type OHLCAggregation, type StochasticResult, atr, bollingerBands, cumulativeReturns, drawdown, ema, logReturns, macd, maxDrawdown, obv, rsi, sharpeRatio, simpleReturns, sma, stochastic, toBollingerData, toMACDData, toOHLC, volatility, volumeDirections, vwap, wma };
@@ -0,0 +1,3 @@
1
+ export { atr, bollingerBands, cumulativeReturns, drawdown, ema, logReturns, macd, maxDrawdown, obv, rsi, sharpeRatio, simpleReturns, sma, stochastic, toBollingerData, toMACDData, toOHLC, volatility, volumeDirections, vwap, wma } from './chunk-6YKFTEX4.js';
2
+ //# sourceMappingURL=finance.js.map
3
+ //# sourceMappingURL=finance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"finance.js"}
@@ -0,0 +1,9 @@
1
+ import { c as ChartTypePlugin } from './engine-CNukbv7k.cjs';
2
+
3
+ /**
4
+ * Funnel chart — tapered horizontal bars representing conversion steps.
5
+ * Uses the first series. Values should be descending (largest to smallest).
6
+ */
7
+ declare const funnelChartType: ChartTypePlugin;
8
+
9
+ export { funnelChartType as f };
@@ -0,0 +1,9 @@
1
+ import { c as ChartTypePlugin } from './engine-CNukbv7k.js';
2
+
3
+ /**
4
+ * Funnel chart — tapered horizontal bars representing conversion steps.
5
+ * Uses the first series. Values should be descending (largest to smallest).
6
+ */
7
+ declare const funnelChartType: ChartTypePlugin;
8
+
9
+ export { funnelChartType as f };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ var chunkZDYCIP6N_cjs = require('./chunk-ZDYCIP6N.cjs');
4
+ require('./chunk-5QOQR5FE.cjs');
5
+ var chunkQHJHYV3H_cjs = require('./chunk-QHJHYV3H.cjs');
6
+ var chunkXHQWWR5M_cjs = require('./chunk-XHQWWR5M.cjs');
7
+
8
+ // src/entries/funnel.ts
9
+ var Funnel = chunkQHJHYV3H_cjs.createConvenience(chunkZDYCIP6N_cjs.funnelChartType);
10
+
11
+ Object.defineProperty(exports, "funnelChartType", {
12
+ enumerable: true,
13
+ get: function () { return chunkZDYCIP6N_cjs.funnelChartType; }
14
+ });
15
+ Object.defineProperty(exports, "applyTheme", {
16
+ enumerable: true,
17
+ get: function () { return chunkXHQWWR5M_cjs.applyTheme; }
18
+ });
19
+ Object.defineProperty(exports, "createChart", {
20
+ enumerable: true,
21
+ get: function () { return chunkXHQWWR5M_cjs.createChart; }
22
+ });
23
+ Object.defineProperty(exports, "renderToString", {
24
+ enumerable: true,
25
+ get: function () { return chunkXHQWWR5M_cjs.renderToString; }
26
+ });
27
+ Object.defineProperty(exports, "resolveTheme", {
28
+ enumerable: true,
29
+ get: function () { return chunkXHQWWR5M_cjs.resolveTheme; }
30
+ });
31
+ exports.Funnel = Funnel;
32
+ //# sourceMappingURL=funnel.cjs.map
33
+ //# sourceMappingURL=funnel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/entries/funnel.ts"],"names":["createConvenience","funnelChartType"],"mappings":";;;;;;;;AAGO,IAAM,MAAA,GAASA,oCAAkBC,iCAAe","file":"funnel.cjs","sourcesContent":["import { createConvenience } from '../api/factory'\nimport { funnelChartType } from '../charts/funnel/funnel-type'\n\nexport const Funnel = createConvenience(funnelChartType)\nexport { funnelChartType }\nexport { createChart } from '../api/create'\nexport { renderToString } from '../render/string'\nexport { resolveTheme, applyTheme } from '../theme/engine'\nexport type {\n ChartData, ChartOptions, ChartInstance, ChartTypePlugin,\n ThemeConfig, Series, RenderContext, RenderNode,\n} from '../types'\nexport type { ChartConfig } from '../api/factory'\n"]}
@@ -0,0 +1,8 @@
1
+ import { C as ChartInstance } from './engine-CNukbv7k.cjs';
2
+ export { a as ChartData, b as ChartOptions, c as ChartTypePlugin, R as RenderContext, d as RenderNode, S as Series, T as ThemeConfig, e as applyTheme, f as createChart, r as renderToString, g as resolveTheme } from './engine-CNukbv7k.cjs';
3
+ import { C as ChartConfig } from './factory-dbngWV4d.cjs';
4
+ export { f as funnelChartType } from './funnel-type-BeVl3ohX.cjs';
5
+
6
+ declare const Funnel: (target: string | HTMLElement, config: ChartConfig) => ChartInstance;
7
+
8
+ export { ChartConfig, ChartInstance, Funnel };
@@ -0,0 +1,8 @@
1
+ import { C as ChartInstance } from './engine-CNukbv7k.js';
2
+ export { a as ChartData, b as ChartOptions, c as ChartTypePlugin, R as RenderContext, d as RenderNode, S as Series, T as ThemeConfig, e as applyTheme, f as createChart, r as renderToString, g as resolveTheme } from './engine-CNukbv7k.js';
3
+ import { C as ChartConfig } from './factory-jRzNNxwj.js';
4
+ export { f as funnelChartType } from './funnel-type-CMXGQq4T.js';
5
+
6
+ declare const Funnel: (target: string | HTMLElement, config: ChartConfig) => ChartInstance;
7
+
8
+ export { ChartConfig, ChartInstance, Funnel };
package/dist/funnel.js ADDED
@@ -0,0 +1,12 @@
1
+ import { funnelChartType } from './chunk-SZVK6RRQ.js';
2
+ export { funnelChartType } from './chunk-SZVK6RRQ.js';
3
+ import './chunk-3XVGEBR4.js';
4
+ import { createConvenience } from './chunk-GM3ZO5WV.js';
5
+ export { applyTheme, createChart, renderToString, resolveTheme } from './chunk-3BRQGYDX.js';
6
+
7
+ // src/entries/funnel.ts
8
+ var Funnel = createConvenience(funnelChartType);
9
+
10
+ export { Funnel };
11
+ //# sourceMappingURL=funnel.js.map
12
+ //# sourceMappingURL=funnel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/entries/funnel.ts"],"names":[],"mappings":";;;;;;;AAGO,IAAM,MAAA,GAAS,kBAAkB,eAAe","file":"funnel.js","sourcesContent":["import { createConvenience } from '../api/factory'\nimport { funnelChartType } from '../charts/funnel/funnel-type'\n\nexport const Funnel = createConvenience(funnelChartType)\nexport { funnelChartType }\nexport { createChart } from '../api/create'\nexport { renderToString } from '../render/string'\nexport { resolveTheme, applyTheme } from '../theme/engine'\nexport type {\n ChartData, ChartOptions, ChartInstance, ChartTypePlugin,\n ThemeConfig, Series, RenderContext, RenderNode,\n} from '../types'\nexport type { ChartConfig } from '../api/factory'\n"]}
@@ -0,0 +1,11 @@
1
+ import { c as ChartTypePlugin } from './engine-CNukbv7k.js';
2
+
3
+ /**
4
+ * Gauge / Meter chart — single-value 240° arc with stroke-based rendering.
5
+ *
6
+ * Uses stroke-linecap:round for clean rounded endcaps. No fill-based donut arcs.
7
+ * Looks like a modern dashboard gauge (Grafana, Material style).
8
+ */
9
+ declare const gaugeChartType: ChartTypePlugin;
10
+
11
+ export { gaugeChartType as g };
@@ -0,0 +1,11 @@
1
+ import { c as ChartTypePlugin } from './engine-CNukbv7k.cjs';
2
+
3
+ /**
4
+ * Gauge / Meter chart — single-value 240° arc with stroke-based rendering.
5
+ *
6
+ * Uses stroke-linecap:round for clean rounded endcaps. No fill-based donut arcs.
7
+ * Looks like a modern dashboard gauge (Grafana, Material style).
8
+ */
9
+ declare const gaugeChartType: ChartTypePlugin;
10
+
11
+ export { gaugeChartType as g };
package/dist/gauge.cjs ADDED
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ var chunk3TTTELGB_cjs = require('./chunk-3TTTELGB.cjs');
4
+ require('./chunk-5QOQR5FE.cjs');
5
+ var chunkQHJHYV3H_cjs = require('./chunk-QHJHYV3H.cjs');
6
+ var chunkXHQWWR5M_cjs = require('./chunk-XHQWWR5M.cjs');
7
+
8
+ // src/entries/gauge.ts
9
+ var Gauge = chunkQHJHYV3H_cjs.createConvenience(chunk3TTTELGB_cjs.gaugeChartType);
10
+
11
+ Object.defineProperty(exports, "gaugeChartType", {
12
+ enumerable: true,
13
+ get: function () { return chunk3TTTELGB_cjs.gaugeChartType; }
14
+ });
15
+ Object.defineProperty(exports, "applyTheme", {
16
+ enumerable: true,
17
+ get: function () { return chunkXHQWWR5M_cjs.applyTheme; }
18
+ });
19
+ Object.defineProperty(exports, "createChart", {
20
+ enumerable: true,
21
+ get: function () { return chunkXHQWWR5M_cjs.createChart; }
22
+ });
23
+ Object.defineProperty(exports, "renderToString", {
24
+ enumerable: true,
25
+ get: function () { return chunkXHQWWR5M_cjs.renderToString; }
26
+ });
27
+ Object.defineProperty(exports, "resolveTheme", {
28
+ enumerable: true,
29
+ get: function () { return chunkXHQWWR5M_cjs.resolveTheme; }
30
+ });
31
+ exports.Gauge = Gauge;
32
+ //# sourceMappingURL=gauge.cjs.map
33
+ //# sourceMappingURL=gauge.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/entries/gauge.ts"],"names":["createConvenience","gaugeChartType"],"mappings":";;;;;;;;AAGO,IAAM,KAAA,GAAQA,oCAAkBC,gCAAc","file":"gauge.cjs","sourcesContent":["import { createConvenience } from '../api/factory'\nimport { gaugeChartType } from '../charts/gauge/gauge-type'\n\nexport const Gauge = createConvenience(gaugeChartType)\nexport { gaugeChartType }\nexport { createChart } from '../api/create'\nexport { renderToString } from '../render/string'\nexport { resolveTheme, applyTheme } from '../theme/engine'\nexport type {\n ChartData, ChartOptions, ChartInstance, ChartTypePlugin,\n ThemeConfig, Series, RenderContext, RenderNode,\n} from '../types'\nexport type { ChartConfig } from '../api/factory'\n"]}
@@ -0,0 +1,8 @@
1
+ import { C as ChartInstance } from './engine-CNukbv7k.cjs';
2
+ export { a as ChartData, b as ChartOptions, c as ChartTypePlugin, R as RenderContext, d as RenderNode, S as Series, T as ThemeConfig, e as applyTheme, f as createChart, r as renderToString, g as resolveTheme } from './engine-CNukbv7k.cjs';
3
+ import { C as ChartConfig } from './factory-dbngWV4d.cjs';
4
+ export { g as gaugeChartType } from './gauge-type-DmjDdfsY.cjs';
5
+
6
+ declare const Gauge: (target: string | HTMLElement, config: ChartConfig) => ChartInstance;
7
+
8
+ export { ChartConfig, ChartInstance, Gauge };
@@ -0,0 +1,8 @@
1
+ import { C as ChartInstance } from './engine-CNukbv7k.js';
2
+ export { a as ChartData, b as ChartOptions, c as ChartTypePlugin, R as RenderContext, d as RenderNode, S as Series, T as ThemeConfig, e as applyTheme, f as createChart, r as renderToString, g as resolveTheme } from './engine-CNukbv7k.js';
3
+ import { C as ChartConfig } from './factory-jRzNNxwj.js';
4
+ export { g as gaugeChartType } from './gauge-type-BpDBwCeD.js';
5
+
6
+ declare const Gauge: (target: string | HTMLElement, config: ChartConfig) => ChartInstance;
7
+
8
+ export { ChartConfig, ChartInstance, Gauge };
package/dist/gauge.js ADDED
@@ -0,0 +1,12 @@
1
+ import { gaugeChartType } from './chunk-6KNBJ4CE.js';
2
+ export { gaugeChartType } from './chunk-6KNBJ4CE.js';
3
+ import './chunk-3XVGEBR4.js';
4
+ import { createConvenience } from './chunk-GM3ZO5WV.js';
5
+ export { applyTheme, createChart, renderToString, resolveTheme } from './chunk-3BRQGYDX.js';
6
+
7
+ // src/entries/gauge.ts
8
+ var Gauge = createConvenience(gaugeChartType);
9
+
10
+ export { Gauge };
11
+ //# sourceMappingURL=gauge.js.map
12
+ //# sourceMappingURL=gauge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/entries/gauge.ts"],"names":[],"mappings":";;;;;;;AAGO,IAAM,KAAA,GAAQ,kBAAkB,cAAc","file":"gauge.js","sourcesContent":["import { createConvenience } from '../api/factory'\nimport { gaugeChartType } from '../charts/gauge/gauge-type'\n\nexport const Gauge = createConvenience(gaugeChartType)\nexport { gaugeChartType }\nexport { createChart } from '../api/create'\nexport { renderToString } from '../render/string'\nexport { resolveTheme, applyTheme } from '../theme/engine'\nexport type {\n ChartData, ChartOptions, ChartInstance, ChartTypePlugin,\n ThemeConfig, Series, RenderContext, RenderNode,\n} from '../types'\nexport type { ChartConfig } from '../api/factory'\n"]}
package/dist/geo.cjs ADDED
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ var chunkMLD5ZIDO_cjs = require('./chunk-MLD5ZIDO.cjs');
4
+ require('./chunk-5QOQR5FE.cjs');
5
+ var chunkQHJHYV3H_cjs = require('./chunk-QHJHYV3H.cjs');
6
+ var chunkXHQWWR5M_cjs = require('./chunk-XHQWWR5M.cjs');
7
+
8
+ // src/entries/geo.ts
9
+ var Geo = chunkQHJHYV3H_cjs.createConvenience(chunkMLD5ZIDO_cjs.geoChartType);
10
+
11
+ Object.defineProperty(exports, "WORLD_REGIONS", {
12
+ enumerable: true,
13
+ get: function () { return chunkMLD5ZIDO_cjs.WORLD_REGIONS; }
14
+ });
15
+ Object.defineProperty(exports, "WORLD_SIMPLE", {
16
+ enumerable: true,
17
+ get: function () { return chunkMLD5ZIDO_cjs.WORLD_SIMPLE; }
18
+ });
19
+ Object.defineProperty(exports, "geoChartType", {
20
+ enumerable: true,
21
+ get: function () { return chunkMLD5ZIDO_cjs.geoChartType; }
22
+ });
23
+ Object.defineProperty(exports, "applyTheme", {
24
+ enumerable: true,
25
+ get: function () { return chunkXHQWWR5M_cjs.applyTheme; }
26
+ });
27
+ Object.defineProperty(exports, "createChart", {
28
+ enumerable: true,
29
+ get: function () { return chunkXHQWWR5M_cjs.createChart; }
30
+ });
31
+ Object.defineProperty(exports, "renderToString", {
32
+ enumerable: true,
33
+ get: function () { return chunkXHQWWR5M_cjs.renderToString; }
34
+ });
35
+ Object.defineProperty(exports, "resolveTheme", {
36
+ enumerable: true,
37
+ get: function () { return chunkXHQWWR5M_cjs.resolveTheme; }
38
+ });
39
+ exports.Geo = Geo;
40
+ //# sourceMappingURL=geo.cjs.map
41
+ //# sourceMappingURL=geo.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/entries/geo.ts"],"names":["createConvenience","geoChartType"],"mappings":";;;;;;;;AAGO,IAAM,GAAA,GAAMA,oCAAkBC,8BAAY","file":"geo.cjs","sourcesContent":["import { createConvenience } from '../api/factory'\nimport { geoChartType } from '../charts/geo/geo-type'\n\nexport const Geo = createConvenience(geoChartType)\nexport { geoChartType }\nexport { WORLD_SIMPLE } from '../charts/geo/geo-type'\nexport { WORLD_REGIONS } from '../charts/geo/world-regions'\nexport type { GeoRegion, GeoOptions } from '../charts/geo/geo-type'\nexport { createChart } from '../api/create'\nexport { renderToString } from '../render/string'\nexport { resolveTheme, applyTheme } from '../theme/engine'\nexport type {\n ChartData, ChartOptions, ChartInstance, ChartTypePlugin,\n ThemeConfig, Series, RenderContext, RenderNode,\n} from '../types'\nexport type { ChartConfig } from '../api/factory'\n"]}
package/dist/geo.d.cts ADDED
@@ -0,0 +1,8 @@
1
+ import { C as ChartInstance } from './engine-CNukbv7k.cjs';
2
+ export { a as ChartData, b as ChartOptions, c as ChartTypePlugin, R as RenderContext, d as RenderNode, S as Series, T as ThemeConfig, e as applyTheme, f as createChart, r as renderToString, g as resolveTheme } from './engine-CNukbv7k.cjs';
3
+ import { C as ChartConfig } from './factory-dbngWV4d.cjs';
4
+ export { G as GeoOptions, a as GeoRegion, W as WORLD_REGIONS, b as WORLD_SIMPLE, g as geoChartType } from './world-regions-cMulhqDW.cjs';
5
+
6
+ declare const Geo: (target: string | HTMLElement, config: ChartConfig) => ChartInstance;
7
+
8
+ export { ChartConfig, ChartInstance, Geo };
package/dist/geo.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { C as ChartInstance } from './engine-CNukbv7k.js';
2
+ export { a as ChartData, b as ChartOptions, c as ChartTypePlugin, R as RenderContext, d as RenderNode, S as Series, T as ThemeConfig, e as applyTheme, f as createChart, r as renderToString, g as resolveTheme } from './engine-CNukbv7k.js';
3
+ import { C as ChartConfig } from './factory-jRzNNxwj.js';
4
+ export { G as GeoOptions, a as GeoRegion, W as WORLD_REGIONS, b as WORLD_SIMPLE, g as geoChartType } from './world-regions-Cfvxpbx0.js';
5
+
6
+ declare const Geo: (target: string | HTMLElement, config: ChartConfig) => ChartInstance;
7
+
8
+ export { ChartConfig, ChartInstance, Geo };