@primeui/vue-chart 0.0.1-alpha.1 → 1.0.0-beta.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 (176) hide show
  1. package/dist/CartesianRenderer.rich.spec.d.ts +1 -0
  2. package/dist/Chart.features.spec.d.ts +1 -0
  3. package/dist/Chart.interactions.spec.d.ts +1 -0
  4. package/dist/Chart.pointEvents.spec.d.ts +1 -0
  5. package/dist/Chart.vue.d.ts +5 -1
  6. package/dist/ChartCanvas.mjs +15 -14
  7. package/dist/ChartCanvas.pipeline.spec.d.ts +1 -0
  8. package/dist/ChartCanvas.vue.d.ts +8 -4
  9. package/dist/ChartGroup.sync.spec.d.ts +1 -0
  10. package/dist/ChartLegend.spec.d.ts +1 -0
  11. package/dist/ChartSvg.containers.spec.d.ts +1 -0
  12. package/dist/ChartSvg.declarative.spec.d.ts +1 -0
  13. package/dist/ChartSvg.export-menu.spec.d.ts +1 -0
  14. package/dist/ChartSvg.hover.spec.d.ts +1 -0
  15. package/dist/ChartSvg.mjs +15 -14
  16. package/dist/ChartSvg.renderers.spec.d.ts +1 -0
  17. package/dist/ChartSvg.vue.d.ts +8 -4
  18. package/dist/ColorLegendRenderer.branches.spec.d.ts +1 -0
  19. package/dist/ColorLegendRenderer.spec.d.ts +1 -0
  20. package/dist/LegendRenderer.spec.d.ts +1 -0
  21. package/dist/NavigatorRenderer.spec.d.ts +1 -0
  22. package/dist/RadialHeatmap.rich.spec.d.ts +1 -0
  23. package/dist/TooltipRenderer.spec.d.ts +1 -0
  24. package/dist/{chunk-6S4JMPKC.mjs → chunks/chunk-2NZ3PUWW.mjs} +2 -2
  25. package/dist/{chunk-RRHYGSK6.mjs → chunks/chunk-2TOEQNJ6.mjs} +2 -2
  26. package/dist/{chunk-GX2MK6VT.mjs → chunks/chunk-36DHPBYP.mjs} +25 -23
  27. package/dist/{chunk-RSTIA3KM.mjs → chunks/chunk-3DINEX6C.mjs} +2 -1
  28. package/dist/{chunk-PJVOZSPF.mjs → chunks/chunk-3JA5JAHF.mjs} +2 -2
  29. package/dist/{chunk-KOWFD2AE.mjs → chunks/chunk-3PJULFR5.mjs} +22 -21
  30. package/dist/chunks/chunk-3X27K5XC.mjs +236 -0
  31. package/dist/chunks/chunk-3XOLEGDL.mjs +182 -0
  32. package/dist/{chunk-PSSXPTLQ.mjs → chunks/chunk-4SLSYRNY.mjs} +6 -6
  33. package/dist/chunks/chunk-4VWFG6HM.mjs +86 -0
  34. package/dist/{chunk-44BAFHPK.mjs → chunks/chunk-5HLEKAY2.mjs} +10 -5
  35. package/dist/{chunk-4NJ2PSHV.mjs → chunks/chunk-5ZLVNQ2L.mjs} +7 -4
  36. package/dist/{chunk-O6L3PNFC.mjs → chunks/chunk-6Z4MZIJI.mjs} +2 -2
  37. package/dist/chunks/chunk-7EZEZMGG.mjs +22 -0
  38. package/dist/chunks/chunk-ADAGGXFG.mjs +166 -0
  39. package/dist/{chunk-YRKAI2R2.mjs → chunks/chunk-AKMQHU5T.mjs} +15 -14
  40. package/dist/{chunk-ZRCOVQQM.mjs → chunks/chunk-BSROML7P.mjs} +2 -2
  41. package/dist/{chunk-WYV2MHP6.mjs → chunks/chunk-CGFPDWB4.mjs} +1 -1
  42. package/dist/{chunk-4CRHCZV3.mjs → chunks/chunk-CMJXLIEY.mjs} +125 -9
  43. package/dist/{chunk-42J32DPD.mjs → chunks/chunk-CRIB3I3L.mjs} +1 -1
  44. package/dist/{chunk-WKSQR6L5.mjs → chunks/chunk-CW2KYVYO.mjs} +31 -8
  45. package/dist/{chunk-644ROAHU.mjs → chunks/chunk-DDRSIMLE.mjs} +33 -12
  46. package/dist/{chunk-32XIRBZ7.mjs → chunks/chunk-DXKAPWMO.mjs} +2 -2
  47. package/dist/{chunk-372K2BMN.mjs → chunks/chunk-EKGCPOZJ.mjs} +56 -15
  48. package/dist/{chunk-E2U4W5FW.mjs → chunks/chunk-F7EK5D6J.mjs} +11 -11
  49. package/dist/{chunk-ZHFL3RYO.mjs → chunks/chunk-GE2Y2FHS.mjs} +6 -6
  50. package/dist/{chunk-AAX7FOW3.mjs → chunks/chunk-GIDIMIWE.mjs} +11 -11
  51. package/dist/{chunk-NLXOJSKK.mjs → chunks/chunk-GLFXRR7N.mjs} +29 -5
  52. package/dist/{chunk-W5M3BR6N.mjs → chunks/chunk-GV3CY6CQ.mjs} +1 -1
  53. package/dist/{chunk-CDXF6ZTL.mjs → chunks/chunk-HH5FUUXX.mjs} +1 -1
  54. package/dist/{chunk-RQURY2H3.mjs → chunks/chunk-HHZFGQN2.mjs} +2 -2
  55. package/dist/{chunk-2D3PWFR2.mjs → chunks/chunk-HVLFOABV.mjs} +4 -4
  56. package/dist/chunks/chunk-I2BWSDNR.mjs +832 -0
  57. package/dist/{chunk-MDA22SIZ.mjs → chunks/chunk-IFZSHQDZ.mjs} +2 -2
  58. package/dist/chunks/chunk-IRGQNA5W.mjs +289 -0
  59. package/dist/{chunk-72KINEJ6.mjs → chunks/chunk-IUGMS7ND.mjs} +10 -5
  60. package/dist/{chunk-56NMBNNX.mjs → chunks/chunk-JPKNWLLP.mjs} +3 -3
  61. package/dist/{chunk-XBDNMPF7.mjs → chunks/chunk-JVH4MDKX.mjs} +2 -2
  62. package/dist/chunks/chunk-KNNYJD4D.mjs +14 -0
  63. package/dist/{chunk-AUI5R4DA.mjs → chunks/chunk-L73MEG22.mjs} +2 -2
  64. package/dist/{chunk-K326BBF7.mjs → chunks/chunk-L74BEYTD.mjs} +38 -17
  65. package/dist/{chunk-DYVFVVTO.mjs → chunks/chunk-LJZCE7LQ.mjs} +102 -6
  66. package/dist/{chunk-YGHWUR7K.mjs → chunks/chunk-LP2YESP6.mjs} +1 -1
  67. package/dist/{chunk-WA735Y26.mjs → chunks/chunk-MGUGO3RV.mjs} +1 -1
  68. package/dist/{chunk-DOOXGOOB.mjs → chunks/chunk-OJHEN5FG.mjs} +96 -5
  69. package/dist/{chunk-ZNINPVG7.mjs → chunks/chunk-ON2FAZTD.mjs} +1 -1
  70. package/dist/{chunk-DLUFOM5K.mjs → chunks/chunk-PCBF6FSQ.mjs} +11 -11
  71. package/dist/{chunk-FQTWLAVA.mjs → chunks/chunk-QJCMFAHB.mjs} +1 -1
  72. package/dist/{chunk-62NGBLQ7.mjs → chunks/chunk-QONZ3SCZ.mjs} +1 -1
  73. package/dist/{chunk-HANSF33Z.mjs → chunks/chunk-QOWKMWNO.mjs} +1 -1
  74. package/dist/{chunk-GA4VV5V4.mjs → chunks/chunk-R4AZOPXC.mjs} +1 -1
  75. package/dist/{chunk-5DWO3G33.mjs → chunks/chunk-SGLTVJUA.mjs} +35 -21
  76. package/dist/{chunk-5FTUGKPC.mjs → chunks/chunk-TRGN3ZMM.mjs} +5 -5
  77. package/dist/{chunk-RSAZ7V5Z.mjs → chunks/chunk-TZ23VBFU.mjs} +2 -2
  78. package/dist/{chunk-4UVPCLJ7.mjs → chunks/chunk-U6X3GVJ3.mjs} +1 -1
  79. package/dist/{chunk-J2P5JBHC.mjs → chunks/chunk-UOMQNZMT.mjs} +1 -1
  80. package/dist/{chunk-4THCGGER.mjs → chunks/chunk-UOZFNTVQ.mjs} +2 -2
  81. package/dist/{chunk-TIV2FI4S.mjs → chunks/chunk-WVNDZNMV.mjs} +2 -2
  82. package/dist/{chunk-GFC24374.mjs → chunks/chunk-X4NWFK7L.mjs} +5 -5
  83. package/dist/{chunk-FFBK7Q3W.mjs → chunks/chunk-YI3GLQYF.mjs} +67 -4
  84. package/dist/{chunk-HTZVV6VV.mjs → chunks/chunk-YZQS2YBK.mjs} +8 -6
  85. package/dist/{chunk-PQV55JYI.mjs → chunks/chunk-ZLD5VNMP.mjs} +2 -2
  86. package/dist/components/charts/ChartBar.mjs +13 -13
  87. package/dist/components/charts/ChartCandlestick.mjs +11 -11
  88. package/dist/components/charts/ChartHeatmap.mjs +11 -11
  89. package/dist/components/charts/ChartLine.mjs +12 -11
  90. package/dist/components/charts/ChartPie.mjs +12 -11
  91. package/dist/components/charts/ChartPolar.mjs +13 -11
  92. package/dist/components/charts/ChartRadar.mjs +13 -11
  93. package/dist/components/charts/ChartScatter.mjs +12 -11
  94. package/dist/components/charts/ChartTreemap.mjs +10 -10
  95. package/dist/components/containers/ChartDecimation.mjs +6 -6
  96. package/dist/components/containers/ChartGroup.mjs +4 -4
  97. package/dist/components/containers/ChartOverlap.mjs +5 -5
  98. package/dist/components/containers/ChartRange.mjs +6 -6
  99. package/dist/components/containers/ChartStacked.mjs +6 -6
  100. package/dist/components/containers/ChartWaterfall.mjs +5 -5
  101. package/dist/components/customizations/ChartAccessibility.mjs +9 -9
  102. package/dist/components/customizations/ChartAnnotation.mjs +5 -5
  103. package/dist/components/customizations/ChartAxisCategory.mjs +3 -3
  104. package/dist/components/customizations/ChartAxisGroup.mjs +3 -3
  105. package/dist/components/customizations/ChartBreadcrumb.mjs +6 -6
  106. package/dist/components/customizations/ChartCaption.mjs +9 -9
  107. package/dist/components/customizations/ChartColorLegend.mjs +9 -9
  108. package/dist/components/customizations/ChartDataLabels.mjs +9 -9
  109. package/dist/components/customizations/ChartExportMenu.mjs +9 -9
  110. package/dist/components/customizations/ChartHover.mjs +9 -9
  111. package/dist/components/customizations/ChartLegend.mjs +9 -9
  112. package/dist/components/customizations/ChartNavigator.mjs +10 -10
  113. package/dist/components/customizations/ChartReferenceBand.mjs +5 -5
  114. package/dist/components/customizations/ChartReferenceLine.mjs +5 -5
  115. package/dist/components/customizations/ChartResponsive.mjs +9 -9
  116. package/dist/components/customizations/ChartTitle.mjs +9 -9
  117. package/dist/components/customizations/ChartTooltip.mjs +9 -9
  118. package/dist/components/customizations/ChartXAxis.mjs +10 -10
  119. package/dist/components/customizations/ChartYAxis.mjs +10 -10
  120. package/dist/components/customizations/ChartZoom.mjs +9 -9
  121. package/dist/components/items/ChartItem.mjs +3 -3
  122. package/dist/components/items/ChartTreemapGroup.mjs +5 -5
  123. package/dist/components/renderers/CartesianRenderer.mjs +9 -9
  124. package/dist/components/renderers/CartesianRenderer.vue.d.ts +2 -0
  125. package/dist/components/renderers/ColorLegendRenderer.mjs +2 -2
  126. package/dist/components/renderers/LegendRenderer.mjs +3 -3
  127. package/dist/components/renderers/NavigatorRenderer.mjs +5 -5
  128. package/dist/components/renderers/RadialRenderer.mjs +9 -9
  129. package/dist/components/renderers/RadialRenderer.vue.d.ts +1 -1
  130. package/dist/components/renderers/RectRenderer.mjs +9 -9
  131. package/dist/components/renderers/RectRenderer.vue.d.ts +1 -1
  132. package/dist/components/renderers/TooltipRenderer.mjs +4 -4
  133. package/dist/components/renderers/layers/BarLayerCanvas.mjs +10 -10
  134. package/dist/components/renderers/layers/BarLayerSvg.mjs +10 -10
  135. package/dist/components/renderers/layers/CandlestickLayer.mjs +9 -9
  136. package/dist/components/renderers/layers/HeatmapLayer.mjs +9 -9
  137. package/dist/components/renderers/layers/LineLayer.mjs +10 -9
  138. package/dist/components/renderers/layers/PieLayer.mjs +7 -9
  139. package/dist/components/renderers/layers/PolarLayer.mjs +8 -9
  140. package/dist/components/renderers/layers/RadarLayer.mjs +8 -9
  141. package/dist/components/renderers/layers/ScatterLayer.mjs +10 -9
  142. package/dist/composables/index.d.ts +0 -8
  143. package/dist/composables/useAnimationProps.d.ts +2 -5
  144. package/dist/composables/useChartSync.spec.d.ts +1 -0
  145. package/dist/composables/useChartSyncCoordinator.spec.d.ts +1 -0
  146. package/dist/composables/useHeatmapRenderer.spec.d.ts +1 -0
  147. package/dist/composables/usePolarRenderer.spec.d.ts +1 -0
  148. package/dist/composables/useResponsiveConfig.d.ts +1 -1
  149. package/dist/composables/useResponsiveDimensions.spec.d.ts +1 -0
  150. package/dist/composables/useTreemapRenderer.spec.d.ts +1 -0
  151. package/dist/context/ChartContext.d.ts +1 -1
  152. package/dist/index.d.ts +2 -1
  153. package/dist/index.mjs +69 -66
  154. package/dist/namespace.mjs +69 -112
  155. package/dist/types/animation.types.d.ts +2 -0
  156. package/dist/types/bar.types.d.ts +2 -1
  157. package/dist/types/candlestick.types.d.ts +0 -1
  158. package/dist/types/heatmap.types.d.ts +0 -1
  159. package/dist/types/index.d.ts +1 -1
  160. package/dist/types/item.types.d.ts +0 -1
  161. package/dist/types/line.types.d.ts +4 -1
  162. package/dist/types/scatter.types.d.ts +3 -2
  163. package/dist/useChartContext.spec.d.ts +1 -0
  164. package/package.json +7 -7
  165. package/dist/chunk-54DLUFIA.mjs +0 -96
  166. package/dist/chunk-CQHNYT2V.mjs +0 -1692
  167. package/dist/chunk-JKK3D33U.mjs +0 -64
  168. package/dist/chunk-UO27BCRL.mjs +0 -86
  169. package/dist/chunk-VWABO23U.mjs +0 -143
  170. /package/dist/{chunk-FZ3PZ66C.mjs → chunks/chunk-4Q3QUNX6.mjs} +0 -0
  171. /package/dist/{chunk-5SRBQVU5.mjs → chunks/chunk-EHSDNH7K.mjs} +0 -0
  172. /package/dist/{chunk-LD57I4SY.mjs → chunks/chunk-H4HLHGUW.mjs} +0 -0
  173. /package/dist/{chunk-TEOO4OLV.mjs → chunks/chunk-L6N5IYAJ.mjs} +0 -0
  174. /package/dist/{chunk-E4ROAOPT.mjs → chunks/chunk-S4YR4YK7.mjs} +0 -0
  175. /package/dist/{chunk-7P6ASYW6.mjs → chunks/chunk-VIHIR2BE.mjs} +0 -0
  176. /package/dist/{chunk-J43KLCZF.mjs → chunks/chunk-ZH4A4L6W.mjs} +0 -0
@@ -1,112 +1,69 @@
1
- import { ChartBar_default } from './chunk-K326BBF7.mjs';
2
- import { ChartTreemap_default } from './chunk-2D3PWFR2.mjs';
3
- import { ChartScatter_default } from './chunk-5DWO3G33.mjs';
4
- import { ChartRadar_default } from './chunk-E2U4W5FW.mjs';
5
- import { ChartPolar_default } from './chunk-AAX7FOW3.mjs';
6
- import { ChartPie_default } from './chunk-ZHFL3RYO.mjs';
7
- import { ChartLine_default } from './chunk-644ROAHU.mjs';
8
- import { ChartHeatmap_default } from './chunk-DLUFOM5K.mjs';
9
- import { ChartCandlestick_default } from './chunk-WKSQR6L5.mjs';
10
- import { ChartAnnotation_default } from './chunk-ZNINPVG7.mjs';
11
- import { ChartAccessibility_default } from './chunk-O6L3PNFC.mjs';
12
- import { ChartWaterfall_default } from './chunk-W5M3BR6N.mjs';
13
- import { ChartStacked_default } from './chunk-TIV2FI4S.mjs';
14
- import { ChartRange_default } from './chunk-RQURY2H3.mjs';
15
- import { ChartOverlap_default } from './chunk-GA4VV5V4.mjs';
16
- import { ChartGroup_default } from './chunk-PJVOZSPF.mjs';
17
- import { ChartDecimation_default } from './chunk-RSAZ7V5Z.mjs';
18
- import { ChartHover_default } from './chunk-RSTIA3KM.mjs';
19
- import { ChartExportMenu_default } from './chunk-GFC24374.mjs';
20
- import { ChartDataLabels_default } from './chunk-CDXF6ZTL.mjs';
21
- import { ChartColorLegend_default } from './chunk-WYV2MHP6.mjs';
22
- import { ChartCaption_default } from './chunk-4THCGGER.mjs';
23
- import { ChartBreadcrumb_default } from './chunk-62NGBLQ7.mjs';
24
- import { ChartAxisGroup_default } from './chunk-WA735Y26.mjs';
25
- import { ChartAxisCategory_default } from './chunk-FQTWLAVA.mjs';
26
- import { ChartXAxis_default } from './chunk-32XIRBZ7.mjs';
27
- import { ChartTooltip_default } from './chunk-YGHWUR7K.mjs';
28
- import { ChartTitle_default } from './chunk-6S4JMPKC.mjs';
29
- import { ChartResponsive_default } from './chunk-J2P5JBHC.mjs';
30
- import { ChartReferenceLine_default } from './chunk-42J32DPD.mjs';
31
- import { ChartReferenceBand_default } from './chunk-4UVPCLJ7.mjs';
32
- import { ChartNavigator_default } from './chunk-56NMBNNX.mjs';
33
- import { ChartLegend_default } from './chunk-PSSXPTLQ.mjs';
34
- import './chunk-54DLUFIA.mjs';
35
- import './chunk-FFBK7Q3W.mjs';
36
- import './chunk-RRHYGSK6.mjs';
37
- import './chunk-MDA22SIZ.mjs';
38
- import './chunk-YRKAI2R2.mjs';
39
- import { ChartTreemapGroup_default } from './chunk-AUI5R4DA.mjs';
40
- import { ChartItem_default } from './chunk-KOWFD2AE.mjs';
41
- import { ChartZoom_default } from './chunk-ZRCOVQQM.mjs';
42
- import { ChartYAxis_default } from './chunk-XBDNMPF7.mjs';
43
- import './chunk-5SRBQVU5.mjs';
44
- import './chunk-HTZVV6VV.mjs';
45
- import './chunk-DYVFVVTO.mjs';
46
- import './chunk-DOOXGOOB.mjs';
47
- import './chunk-JKK3D33U.mjs';
48
- import './chunk-UO27BCRL.mjs';
49
- import './chunk-4CRHCZV3.mjs';
50
- import { ChartSvg_default } from './chunk-44BAFHPK.mjs';
51
- import { ChartCanvas_default } from './chunk-72KINEJ6.mjs';
52
- import './chunk-372K2BMN.mjs';
53
- import './chunk-5FTUGKPC.mjs';
54
- import './chunk-E4ROAOPT.mjs';
55
- import './chunk-GX2MK6VT.mjs';
56
- import './chunk-VWABO23U.mjs';
57
- import './chunk-4NJ2PSHV.mjs';
58
- import './chunk-CQHNYT2V.mjs';
59
- import './chunk-TEOO4OLV.mjs';
60
- import './chunk-PQV55JYI.mjs';
61
- import './chunk-J43KLCZF.mjs';
62
- import './chunk-NLXOJSKK.mjs';
63
- import './chunk-HANSF33Z.mjs';
64
- import './chunk-LD57I4SY.mjs';
65
- import './chunk-FZ3PZ66C.mjs';
66
- import { __export } from './chunk-7P6ASYW6.mjs';
67
-
68
- // src/Chart.parts.ts
69
- var Chart_parts_exports = {};
70
- __export(Chart_parts_exports, {
71
- Accessibility: () => ChartAccessibility_default,
72
- Annotation: () => ChartAnnotation_default,
73
- AxisCategory: () => ChartAxisCategory_default,
74
- AxisGroup: () => ChartAxisGroup_default,
75
- Bar: () => ChartBar_default,
76
- Breadcrumb: () => ChartBreadcrumb_default,
77
- Candlestick: () => ChartCandlestick_default,
78
- Canvas: () => ChartCanvas_default,
79
- Caption: () => ChartCaption_default,
80
- ColorLegend: () => ChartColorLegend_default,
81
- DataLabels: () => ChartDataLabels_default,
82
- Decimation: () => ChartDecimation_default,
83
- ExportMenu: () => ChartExportMenu_default,
84
- Group: () => ChartGroup_default,
85
- Heatmap: () => ChartHeatmap_default,
86
- Hover: () => ChartHover_default,
87
- Item: () => ChartItem_default,
88
- Legend: () => ChartLegend_default,
89
- Line: () => ChartLine_default,
90
- Navigator: () => ChartNavigator_default,
91
- Overlap: () => ChartOverlap_default,
92
- Pie: () => ChartPie_default,
93
- Polar: () => ChartPolar_default,
94
- Radar: () => ChartRadar_default,
95
- Range: () => ChartRange_default,
96
- ReferenceBand: () => ChartReferenceBand_default,
97
- ReferenceLine: () => ChartReferenceLine_default,
98
- Responsive: () => ChartResponsive_default,
99
- Scatter: () => ChartScatter_default,
100
- Stacked: () => ChartStacked_default,
101
- Svg: () => ChartSvg_default,
102
- Title: () => ChartTitle_default,
103
- Tooltip: () => ChartTooltip_default,
104
- Treemap: () => ChartTreemap_default,
105
- TreemapGroup: () => ChartTreemapGroup_default,
106
- Waterfall: () => ChartWaterfall_default,
107
- XAxis: () => ChartXAxis_default,
108
- YAxis: () => ChartYAxis_default,
109
- Zoom: () => ChartZoom_default
110
- });
111
-
112
- export { Chart_parts_exports as Chart };
1
+ export { Chart_parts_exports as Chart } from './chunks/chunk-4VWFG6HM.mjs';
2
+ import './chunks/chunk-L74BEYTD.mjs';
3
+ import './chunks/chunk-HVLFOABV.mjs';
4
+ import './chunks/chunk-SGLTVJUA.mjs';
5
+ import './chunks/chunk-F7EK5D6J.mjs';
6
+ import './chunks/chunk-GIDIMIWE.mjs';
7
+ import './chunks/chunk-GE2Y2FHS.mjs';
8
+ import './chunks/chunk-DDRSIMLE.mjs';
9
+ import './chunks/chunk-PCBF6FSQ.mjs';
10
+ import './chunks/chunk-CW2KYVYO.mjs';
11
+ import './chunks/chunk-ON2FAZTD.mjs';
12
+ import './chunks/chunk-6Z4MZIJI.mjs';
13
+ import './chunks/chunk-GV3CY6CQ.mjs';
14
+ import './chunks/chunk-WVNDZNMV.mjs';
15
+ import './chunks/chunk-HHZFGQN2.mjs';
16
+ import './chunks/chunk-R4AZOPXC.mjs';
17
+ import './chunks/chunk-3JA5JAHF.mjs';
18
+ import './chunks/chunk-TZ23VBFU.mjs';
19
+ import './chunks/chunk-3DINEX6C.mjs';
20
+ import './chunks/chunk-X4NWFK7L.mjs';
21
+ import './chunks/chunk-HH5FUUXX.mjs';
22
+ import './chunks/chunk-CGFPDWB4.mjs';
23
+ import './chunks/chunk-UOZFNTVQ.mjs';
24
+ import './chunks/chunk-QONZ3SCZ.mjs';
25
+ import './chunks/chunk-MGUGO3RV.mjs';
26
+ import './chunks/chunk-QJCMFAHB.mjs';
27
+ import './chunks/chunk-DXKAPWMO.mjs';
28
+ import './chunks/chunk-LP2YESP6.mjs';
29
+ import './chunks/chunk-2NZ3PUWW.mjs';
30
+ import './chunks/chunk-UOMQNZMT.mjs';
31
+ import './chunks/chunk-CRIB3I3L.mjs';
32
+ import './chunks/chunk-U6X3GVJ3.mjs';
33
+ import './chunks/chunk-JPKNWLLP.mjs';
34
+ import './chunks/chunk-4SLSYRNY.mjs';
35
+ import './chunks/chunk-3X27K5XC.mjs';
36
+ import './chunks/chunk-YI3GLQYF.mjs';
37
+ import './chunks/chunk-2TOEQNJ6.mjs';
38
+ import './chunks/chunk-IFZSHQDZ.mjs';
39
+ import './chunks/chunk-AKMQHU5T.mjs';
40
+ import './chunks/chunk-L73MEG22.mjs';
41
+ import './chunks/chunk-3PJULFR5.mjs';
42
+ import './chunks/chunk-BSROML7P.mjs';
43
+ import './chunks/chunk-JVH4MDKX.mjs';
44
+ import './chunks/chunk-EHSDNH7K.mjs';
45
+ import './chunks/chunk-YZQS2YBK.mjs';
46
+ import './chunks/chunk-LJZCE7LQ.mjs';
47
+ import './chunks/chunk-OJHEN5FG.mjs';
48
+ import './chunks/chunk-ADAGGXFG.mjs';
49
+ import './chunks/chunk-3XOLEGDL.mjs';
50
+ import './chunks/chunk-CMJXLIEY.mjs';
51
+ import './chunks/chunk-KNNYJD4D.mjs';
52
+ import './chunks/chunk-5HLEKAY2.mjs';
53
+ import './chunks/chunk-IUGMS7ND.mjs';
54
+ import './chunks/chunk-EKGCPOZJ.mjs';
55
+ import './chunks/chunk-TRGN3ZMM.mjs';
56
+ import './chunks/chunk-S4YR4YK7.mjs';
57
+ import './chunks/chunk-36DHPBYP.mjs';
58
+ import './chunks/chunk-ZH4A4L6W.mjs';
59
+ import './chunks/chunk-IRGQNA5W.mjs';
60
+ import './chunks/chunk-5ZLVNQ2L.mjs';
61
+ import './chunks/chunk-I2BWSDNR.mjs';
62
+ import './chunks/chunk-L6N5IYAJ.mjs';
63
+ import './chunks/chunk-ZLD5VNMP.mjs';
64
+ import './chunks/chunk-7EZEZMGG.mjs';
65
+ import './chunks/chunk-GLFXRR7N.mjs';
66
+ import './chunks/chunk-QOWKMWNO.mjs';
67
+ import './chunks/chunk-H4HLHGUW.mjs';
68
+ import './chunks/chunk-4Q3QUNX6.mjs';
69
+ import './chunks/chunk-VIHIR2BE.mjs';
@@ -25,6 +25,8 @@ export interface UseCartesianAnimationOptions extends CartesianAnimationOptionsB
25
25
  skipHoverRepaint?: ComputedRef<boolean>;
26
26
  /** True when any axis is zoomed — threaded into FrameContext for chart-core renderers that need it (e.g. axis labels that hide under zoom). */
27
27
  isZoomed?: ComputedRef<boolean>;
28
+ /** True while an interactive pan/zoom drag is in progress — the axis snaps to the moving domain instead of tweening each frame. */
29
+ isDragging?: ComputedRef<boolean>;
28
30
  /** Refs to custom tick overlay <g> elements — used by chart-core to apply axis opacity transitions */
29
31
  customTickOverlayRefs?: Map<string, SVGGElement | null>;
30
32
  /** Property animation configs — reactive so the chart-root `animations` prop and per-dataset configs can register after setup */
@@ -34,8 +34,9 @@ export interface UseBarRendererResult {
34
34
  primary: CartesianHitTestResult;
35
35
  allSeries: CrosshairSeriesHit[];
36
36
  } | null;
37
- hasBarData: ComputedRef<boolean>;
38
37
  barLayouts: Map<string, BarRenderData>;
38
+ /** Live animated layout (current rAF frame) — drives custom data-label VNodes so they animate. */
39
+ liveLayouts: Ref<Map<string, BarRenderData>>;
39
40
  barRenderProps: Map<string, BarRenderProps<unknown>>;
40
41
  applyPropertyAnimations: (store: AnimatedPropertyStoreLike) => void;
41
42
  renderFrameCycle: () => void;
@@ -34,7 +34,6 @@ export interface UseCandlestickRendererResult {
34
34
  primary: CartesianHitTestResult;
35
35
  allSeries: CrosshairSeriesHit[];
36
36
  } | null;
37
- hasCandlestickData: ComputedRef<boolean>;
38
37
  candlestickLayouts: Map<string, CandlestickRenderData>;
39
38
  applyPropertyAnimations: (store: AnimatedPropertyStoreLike) => void;
40
39
  renderFrameCycle: () => void;
@@ -42,7 +42,6 @@ export interface UseHeatmapRendererResult {
42
42
  height: number;
43
43
  shape: 'rect';
44
44
  } | null;
45
- hasHeatmapData: ComputedRef<boolean>;
46
45
  axisLayouts: ComputedRef<Map<string, AxisLayoutInfo>>;
47
46
  plotArea: ComputedRef<BoxArea>;
48
47
  getColorScaleInfo: () => ColorScaleInfo | null;
@@ -23,5 +23,5 @@ export type { ChartPlugin, ChartPluginEntry, ChartSvgProps, RendererHint } from
23
23
  export type { ChartTooltipProps } from './tooltip.types';
24
24
  export type { ChartTreemapProps, TreemapGroupProps, UseTreemapRendererOptions, UseTreemapRendererResult } from './treemap.types';
25
25
  export type { UseZoomPanOptions, UseZoomPanResult } from './zoom.types';
26
- export type { AnimatedPropertyStoreLike, AnimationFeatureProps, AnyFeatureProps, AxisConfig, AxisGroupCollectorValue, AxisGroupRenderContext, AxisLayoutInfo, AxisTickMarkRenderContext, AxisTickRenderContext, BandScale, BaseAxisProps, BoxArea, BracketStyle, BreadcrumbItemContext, CandlestickHitTestResult, CanvasCompositorLike, CaptionProps, CartesianHitTestResult, CartesianLayoutData, ColorLegendRenderContext, ColorScaleInfo, ColorValue, CrosshairSeriesHit, CustomMarkerEntry, DatasetRegistration, DecimationAlgorithm, DrilldownBreadcrumb, FeatureType, FieldAccessor, FocusPosition, GradientColor, HeatmapHitTestResult, HoverConfig, HoverProps, ItemContext, ItemProps, KeyboardNavState, KeyboardNavigationConfig, LegendItemRenderContext, LegendProps, LineHitTestResult, LineRenderData, LineRenderProps, LinearScale, MarkerOverlayEntry, PartitionFillStyle, PartitionLabelStyle, PolarRenderData, PropertyAnimationConfig, RadarDatasetEntry, RadarRenderData, RadialHitTestResult, RangeFeatureProps, ReferenceBandGeometry, ReferenceLineGeometry, RendererType, ResolvedSyncConfig, ScatterHitTestResult, SeparatorStyle, SeriesType, SharedLegendItem, SyncConfig, TooltipProps, TooltipRenderContext, TreemapCellContext, ZoomProps, ZoomState } from '@primeui/chart-types';
26
+ export type { AnimatedPropertyStoreLike, AnimationFeatureProps, AnyFeatureProps, AxisConfig, AxisGroupCollectorValue, AxisGroupRenderContext, AxisLayoutInfo, AxisTickMarkRenderContext, AxisTickRenderContext, BandScale, BaseAxisProps, BoxArea, BracketStyle, BreadcrumbItemContext, CandlestickHitTestResult, CanvasCompositorLike, CaptionProps, CartesianHitTestResult, CartesianLayoutData, ColorLegendRenderContext, ColorScaleInfo, ColorValue, CrosshairSeriesHit, ChartPointEvent, CustomMarkerEntry, DatasetRegistration, DecimationAlgorithm, DrilldownBreadcrumb, FeatureType, FieldAccessor, FocusPosition, GradientColor, HeatmapHitTestResult, HoverConfig, HoverProps, ItemContext, ItemProps, KeyboardNavState, KeyboardNavigationConfig, LegendItemRenderContext, LegendProps, LineHitTestResult, LineRenderData, LineRenderProps, LinearScale, MarkerOverlayEntry, PartitionFillStyle, PartitionLabelStyle, PolarRenderData, PropertyAnimationConfig, RadarDatasetEntry, RadarRenderData, RadialHitTestResult, RangeFeatureProps, ReferenceBandGeometry, ReferenceLineGeometry, RendererType, ResolvedSyncConfig, ScatterHitTestResult, SeparatorStyle, SeriesType, SharedLegendItem, SyncConfig, TooltipProps, TooltipRenderContext, TreemapCellContext, ZoomProps, ZoomState } from '@primeui/chart-types';
27
27
  export type { AccessibilityProps, Alignment, AnimationConfig, AnnotationContext, AnnotationRender, AxisCategoryProps, AxisGroupDefinition, BarDatasetInfo, BarShapeFunction, BarShapeInfo, BarVisualLayoutOutput, BorderRadius, BracketThemeColors, CaptionOptions, CartesianFrameParams, ChartAreaAxes, ChartAreaDataset, ChartExportMethods, ChartHoverContextValue, ChartMethodsContextValue, ChartStateContextValue, ColorLegendRendererProps, CrosshairContext, CrosshairLayout, DataLabelAlignTo, DataLabelContext, DataLabelLineStyle, DecimationContextValue, DragState, DragType, EasingFunctionName, ExportMenuButtonOptions, ExportMenuIconContext, ExportMenuItem, ExportMenuItemContext, FeaturePropsMap, FrameContext, FullEffectConfig, GradientStop, HeatmapCellContext, HeatmapRenderProps, HitTestResult, HoverState, ItemCollectorContextValue, KeyNavAction, LastVisibleLayoutsCache, LegendItem, LegendOptions, LegendRendererProps, LinearGradientConfig, NavigatorProps, NavigatorRendererProps, NavigatorSeriesConfig, DataTableCellContext, PointDescriptionContext, PointPositionProvider, PointRenderContext, RadarSeriesProps, RadialGradient, RadialGridLayout, RadialXAxisConfig, RadialYAxisConfig, RangeContextValue, ReferenceBandFeatureProps, ReferenceLineFeatureProps, ResponsiveBreakpoints, ResponsiveConfigResult, ResponsiveFeatureProps, ResponsiveFeatureProps as ResponsiveProps, ResponsiveRule, RingLayoutInfo, ScaleFunction, SegmentContext, SeriesDescriptionContext, SharedLegendItemProps, SharedLegendMode, SliceRenderContext, SliceState, StackedContextValue, SyncBus, SyncDatasetInfo, TickStyle, TickValue, TitleOptions, TitleProps, TooltipItem, TooltipRow, TooltipState, UseAxisComponentBaseResult, XAxisProps, YAxisProps, ZoomAxisWindow, ZoomControllerConfig, ZoomHandle, ZoomMode } from '@primeui/chart-core';
@@ -7,7 +7,6 @@ export interface ChartItemProps extends ItemProps {
7
7
  bottomRight?: number;
8
8
  bottomLeft?: number;
9
9
  };
10
- y?: number;
11
10
  }
12
11
  export interface UseDatasetRegistrationOptions<T> {
13
12
  /** Unique identifier for this dataset */
@@ -20,6 +20,8 @@ export interface UseLineRendererOptions {
20
20
  valueScales: ComputedRef<Map<string, LinearScale> | undefined>;
21
21
  firstValueAxisId: ComputedRef<string>;
22
22
  axisIdProp: ComputedRef<string>;
23
+ /** Chart orientation (horizontal swaps band→Y / value→X). */
24
+ orientation?: ComputedRef<'vertical' | 'horizontal'>;
23
25
  lineStackBasesMap: ComputedRef<Map<string, number[]> | undefined>;
24
26
  lineTransformedValues: ComputedRef<Map<string, number[]> | undefined>;
25
27
  rangeGroups: ComputedRef<Map<string, {
@@ -45,8 +47,9 @@ export interface UseLineRendererResult {
45
47
  primary: CartesianHitTestResult;
46
48
  allSeries: CrosshairSeriesHit[];
47
49
  } | null;
48
- hasLineData: ComputedRef<boolean>;
49
50
  lineLayouts: ShallowRef<Map<string, LineRenderData>>;
51
+ /** Live animated layout (current rAF frame) — drives custom data-label VNodes so they animate. */
52
+ liveLayouts: ShallowRef<Map<string, LineRenderData>>;
50
53
  lineRenderProps: ShallowRef<Map<string, LineRenderProps<unknown>>>;
51
54
  /**
52
55
  * Subscribe to per-frame tip-position updates. Returns unsubscribe.
@@ -15,7 +15,9 @@ export interface UseScatterRendererOptions {
15
15
  chartId: string;
16
16
  width: ComputedRef<number>;
17
17
  height: ComputedRef<number>;
18
- scatterXScales: ComputedRef<Map<string, LinearScale> | undefined>;
18
+ valueXScales: ComputedRef<Map<string, LinearScale> | undefined>;
19
+ /** Shared category (band) scale, for category/time-mode scatter. */
20
+ categoryScale?: ComputedRef<BandScale | undefined>;
19
21
  valueScales: ComputedRef<Map<string, LinearScale> | undefined>;
20
22
  firstCategoryAxisId: ComputedRef<string>;
21
23
  firstValueAxisId: ComputedRef<string>;
@@ -40,7 +42,6 @@ export interface UseScatterRendererOptions {
40
42
  export interface UseScatterRendererResult {
41
43
  groupRef: Ref<SVGGElement | null>;
42
44
  hitTest: (x: number, y: number) => ScatterHitTestResult | null;
43
- hasScatterData: ComputedRef<boolean>;
44
45
  boostActive: ComputedRef<boolean>;
45
46
  scatterLayouts: Map<string, ScatterRenderData>;
46
47
  markerOverlays: Ref<MarkerOverlayEntry[]>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primeui/vue-chart",
3
- "version": "0.0.1-alpha.1",
3
+ "version": "1.0.0-beta.1",
4
4
  "author": "PrimeTek Informatics",
5
5
  "description": "Vue Chart component for PrimeUI.",
6
6
  "keywords": [
@@ -19,12 +19,12 @@
19
19
  "main": "./dist/index.mjs",
20
20
  "exports": {
21
21
  ".": {
22
- "types": "./dist/index.d.mts",
22
+ "types": "./dist/index.d.ts",
23
23
  "import": "./dist/index.mjs",
24
24
  "default": "./dist/index.mjs"
25
25
  },
26
26
  "./namespace": {
27
- "types": "./dist/namespace.d.mts",
27
+ "types": "./dist/namespace.d.ts",
28
28
  "import": "./dist/namespace.mjs",
29
29
  "default": "./dist/namespace.mjs"
30
30
  }
@@ -39,9 +39,9 @@
39
39
  "LICENSE"
40
40
  ],
41
41
  "dependencies": {
42
- "@primeui/license-manager": "^1.0.0-alpha.1",
43
- "@primeui/chart-core": "0.0.1-alpha.1",
44
- "@primeui/chart-types": "0.0.1-alpha.1"
42
+ "@primeui/license-manager": "^1.0.0-beta.1",
43
+ "@primeui/chart-types": "1.0.0-beta.1",
44
+ "@primeui/chart-core": "1.0.0-beta.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "vue": "^3.5"
@@ -59,5 +59,5 @@
59
59
  "dev:link": "pnpm link --global && npm link"
60
60
  },
61
61
  "module": "./dist/index.mjs",
62
- "types": "./dist/index.d.mts"
62
+ "types": "./dist/index.d.ts"
63
63
  }
@@ -1,96 +0,0 @@
1
- import { useCartesianFrame, useHeatmapRenderer, useCartesianFrameRegistration } from './chunk-CQHNYT2V.mjs';
2
- import { useChartMethods, useChartState, useChartHover } from './chunk-HANSF33Z.mjs';
3
- import { defineComponent, computed, unref, openBlock, createElementBlock, Fragment, createElementVNode, renderList, createBlock, createCommentVNode } from 'vue';
4
-
5
- var _sfc_main = /* @__PURE__ */ defineComponent({
6
- __name: "HeatmapLayer",
7
- setup(__props) {
8
- const VNodeRenderer = defineComponent({
9
- props: { node: {
10
- type: Object,
11
- required: true
12
- } },
13
- render() {
14
- return this.node;
15
- }
16
- });
17
- const frame = useCartesianFrame();
18
- const methods = useChartMethods();
19
- const state = useChartState();
20
- const hoverCtx = useChartHover();
21
- const features = computed(() => state.value.features);
22
- const heatmap = useHeatmapRenderer({
23
- chartArea: frame.cartesianArea,
24
- renderer: methods.renderer,
25
- canvasEl: frame.canvasEl,
26
- datasets: computed(() => state.value.datasets),
27
- axes: computed(() => state.value.axes),
28
- datasetVisibility: computed(() => state.value.datasetVisibility),
29
- hover: computed(() => hoverCtx.value.hover),
30
- hoverConfig: frame.hoverConfig,
31
- chartId: methods.chartId,
32
- width: frame.width,
33
- height: frame.height,
34
- features,
35
- compositor: frame.compositor,
36
- globalFont: methods.font,
37
- locale: computed(() => methods.locale),
38
- theme: computed(() => methods.theme)
39
- });
40
- useCartesianFrameRegistration({
41
- type: "heatmap",
42
- getColorScaleInfo: () => heatmap.getColorScaleInfo(),
43
- scaleResult: heatmap.scaleResult,
44
- getPointPosition: (datasetId, index) => heatmap.getPointPosition(datasetId, index),
45
- applyPropertyAnimations: (store) => heatmap.applyPropertyAnimations(store),
46
- renderFrameCycle: () => heatmap.renderFrameCycle(),
47
- hitTest: (x, y) => {
48
- const hmHit = heatmap.hitTest(x, y);
49
- if (!hmHit) return null;
50
- return {
51
- datasetId: hmHit.datasetId,
52
- index: hmHit.index,
53
- col: hmHit.col,
54
- label: `${hmHit.xLabel}, ${hmHit.yLabel}`,
55
- value: hmHit.value ?? 0,
56
- color: hmHit.color,
57
- snapX: hmHit.x + hmHit.width / 2,
58
- snapY: hmHit.y + hmHit.height / 2,
59
- formattedValue: hmHit.value != null ? String(hmHit.value) : "",
60
- cursorFormattedValue: ""
61
- };
62
- }
63
- });
64
- return (_ctx, _cache) => {
65
- return unref(methods).renderer === "svg" && unref(heatmap).hasHeatmapData.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
66
- createElementVNode("g", {
67
- ref: (el) => {
68
- unref(heatmap).gridGroupRef.value = el;
69
- },
70
- class: "heatmap-grid"
71
- }, null, 512),
72
- createElementVNode("g", {
73
- ref: (el) => {
74
- unref(heatmap).groupRef.value = el;
75
- },
76
- class: "heatmap-chart"
77
- }, null, 512),
78
- createElementVNode("g", {
79
- ref: (el) => {
80
- unref(heatmap).axisGroupRef.value = el;
81
- },
82
- class: "heatmap-axes"
83
- }, null, 512),
84
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(heatmap).svgContent.value, (el) => {
85
- return openBlock(), createBlock(unref(VNodeRenderer), {
86
- key: el.key ?? el.props?.key,
87
- node: el
88
- }, null, 8, ["node"]);
89
- }), 128))
90
- ], 64)) : createCommentVNode("", true);
91
- };
92
- }
93
- });
94
- var HeatmapLayer_default = _sfc_main;
95
-
96
- export { HeatmapLayer_default };