@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.
- package/dist/CartesianRenderer.rich.spec.d.ts +1 -0
- package/dist/Chart.features.spec.d.ts +1 -0
- package/dist/Chart.interactions.spec.d.ts +1 -0
- package/dist/Chart.pointEvents.spec.d.ts +1 -0
- package/dist/Chart.vue.d.ts +5 -1
- package/dist/ChartCanvas.mjs +15 -14
- package/dist/ChartCanvas.pipeline.spec.d.ts +1 -0
- package/dist/ChartCanvas.vue.d.ts +8 -4
- package/dist/ChartGroup.sync.spec.d.ts +1 -0
- package/dist/ChartLegend.spec.d.ts +1 -0
- package/dist/ChartSvg.containers.spec.d.ts +1 -0
- package/dist/ChartSvg.declarative.spec.d.ts +1 -0
- package/dist/ChartSvg.export-menu.spec.d.ts +1 -0
- package/dist/ChartSvg.hover.spec.d.ts +1 -0
- package/dist/ChartSvg.mjs +15 -14
- package/dist/ChartSvg.renderers.spec.d.ts +1 -0
- package/dist/ChartSvg.vue.d.ts +8 -4
- package/dist/ColorLegendRenderer.branches.spec.d.ts +1 -0
- package/dist/ColorLegendRenderer.spec.d.ts +1 -0
- package/dist/LegendRenderer.spec.d.ts +1 -0
- package/dist/NavigatorRenderer.spec.d.ts +1 -0
- package/dist/RadialHeatmap.rich.spec.d.ts +1 -0
- package/dist/TooltipRenderer.spec.d.ts +1 -0
- package/dist/{chunk-6S4JMPKC.mjs → chunks/chunk-2NZ3PUWW.mjs} +2 -2
- package/dist/{chunk-RRHYGSK6.mjs → chunks/chunk-2TOEQNJ6.mjs} +2 -2
- package/dist/{chunk-GX2MK6VT.mjs → chunks/chunk-36DHPBYP.mjs} +25 -23
- package/dist/{chunk-RSTIA3KM.mjs → chunks/chunk-3DINEX6C.mjs} +2 -1
- package/dist/{chunk-PJVOZSPF.mjs → chunks/chunk-3JA5JAHF.mjs} +2 -2
- package/dist/{chunk-KOWFD2AE.mjs → chunks/chunk-3PJULFR5.mjs} +22 -21
- package/dist/chunks/chunk-3X27K5XC.mjs +236 -0
- package/dist/chunks/chunk-3XOLEGDL.mjs +182 -0
- package/dist/{chunk-PSSXPTLQ.mjs → chunks/chunk-4SLSYRNY.mjs} +6 -6
- package/dist/chunks/chunk-4VWFG6HM.mjs +86 -0
- package/dist/{chunk-44BAFHPK.mjs → chunks/chunk-5HLEKAY2.mjs} +10 -5
- package/dist/{chunk-4NJ2PSHV.mjs → chunks/chunk-5ZLVNQ2L.mjs} +7 -4
- package/dist/{chunk-O6L3PNFC.mjs → chunks/chunk-6Z4MZIJI.mjs} +2 -2
- package/dist/chunks/chunk-7EZEZMGG.mjs +22 -0
- package/dist/chunks/chunk-ADAGGXFG.mjs +166 -0
- package/dist/{chunk-YRKAI2R2.mjs → chunks/chunk-AKMQHU5T.mjs} +15 -14
- package/dist/{chunk-ZRCOVQQM.mjs → chunks/chunk-BSROML7P.mjs} +2 -2
- package/dist/{chunk-WYV2MHP6.mjs → chunks/chunk-CGFPDWB4.mjs} +1 -1
- package/dist/{chunk-4CRHCZV3.mjs → chunks/chunk-CMJXLIEY.mjs} +125 -9
- package/dist/{chunk-42J32DPD.mjs → chunks/chunk-CRIB3I3L.mjs} +1 -1
- package/dist/{chunk-WKSQR6L5.mjs → chunks/chunk-CW2KYVYO.mjs} +31 -8
- package/dist/{chunk-644ROAHU.mjs → chunks/chunk-DDRSIMLE.mjs} +33 -12
- package/dist/{chunk-32XIRBZ7.mjs → chunks/chunk-DXKAPWMO.mjs} +2 -2
- package/dist/{chunk-372K2BMN.mjs → chunks/chunk-EKGCPOZJ.mjs} +56 -15
- package/dist/{chunk-E2U4W5FW.mjs → chunks/chunk-F7EK5D6J.mjs} +11 -11
- package/dist/{chunk-ZHFL3RYO.mjs → chunks/chunk-GE2Y2FHS.mjs} +6 -6
- package/dist/{chunk-AAX7FOW3.mjs → chunks/chunk-GIDIMIWE.mjs} +11 -11
- package/dist/{chunk-NLXOJSKK.mjs → chunks/chunk-GLFXRR7N.mjs} +29 -5
- package/dist/{chunk-W5M3BR6N.mjs → chunks/chunk-GV3CY6CQ.mjs} +1 -1
- package/dist/{chunk-CDXF6ZTL.mjs → chunks/chunk-HH5FUUXX.mjs} +1 -1
- package/dist/{chunk-RQURY2H3.mjs → chunks/chunk-HHZFGQN2.mjs} +2 -2
- package/dist/{chunk-2D3PWFR2.mjs → chunks/chunk-HVLFOABV.mjs} +4 -4
- package/dist/chunks/chunk-I2BWSDNR.mjs +832 -0
- package/dist/{chunk-MDA22SIZ.mjs → chunks/chunk-IFZSHQDZ.mjs} +2 -2
- package/dist/chunks/chunk-IRGQNA5W.mjs +289 -0
- package/dist/{chunk-72KINEJ6.mjs → chunks/chunk-IUGMS7ND.mjs} +10 -5
- package/dist/{chunk-56NMBNNX.mjs → chunks/chunk-JPKNWLLP.mjs} +3 -3
- package/dist/{chunk-XBDNMPF7.mjs → chunks/chunk-JVH4MDKX.mjs} +2 -2
- package/dist/chunks/chunk-KNNYJD4D.mjs +14 -0
- package/dist/{chunk-AUI5R4DA.mjs → chunks/chunk-L73MEG22.mjs} +2 -2
- package/dist/{chunk-K326BBF7.mjs → chunks/chunk-L74BEYTD.mjs} +38 -17
- package/dist/{chunk-DYVFVVTO.mjs → chunks/chunk-LJZCE7LQ.mjs} +102 -6
- package/dist/{chunk-YGHWUR7K.mjs → chunks/chunk-LP2YESP6.mjs} +1 -1
- package/dist/{chunk-WA735Y26.mjs → chunks/chunk-MGUGO3RV.mjs} +1 -1
- package/dist/{chunk-DOOXGOOB.mjs → chunks/chunk-OJHEN5FG.mjs} +96 -5
- package/dist/{chunk-ZNINPVG7.mjs → chunks/chunk-ON2FAZTD.mjs} +1 -1
- package/dist/{chunk-DLUFOM5K.mjs → chunks/chunk-PCBF6FSQ.mjs} +11 -11
- package/dist/{chunk-FQTWLAVA.mjs → chunks/chunk-QJCMFAHB.mjs} +1 -1
- package/dist/{chunk-62NGBLQ7.mjs → chunks/chunk-QONZ3SCZ.mjs} +1 -1
- package/dist/{chunk-HANSF33Z.mjs → chunks/chunk-QOWKMWNO.mjs} +1 -1
- package/dist/{chunk-GA4VV5V4.mjs → chunks/chunk-R4AZOPXC.mjs} +1 -1
- package/dist/{chunk-5DWO3G33.mjs → chunks/chunk-SGLTVJUA.mjs} +35 -21
- package/dist/{chunk-5FTUGKPC.mjs → chunks/chunk-TRGN3ZMM.mjs} +5 -5
- package/dist/{chunk-RSAZ7V5Z.mjs → chunks/chunk-TZ23VBFU.mjs} +2 -2
- package/dist/{chunk-4UVPCLJ7.mjs → chunks/chunk-U6X3GVJ3.mjs} +1 -1
- package/dist/{chunk-J2P5JBHC.mjs → chunks/chunk-UOMQNZMT.mjs} +1 -1
- package/dist/{chunk-4THCGGER.mjs → chunks/chunk-UOZFNTVQ.mjs} +2 -2
- package/dist/{chunk-TIV2FI4S.mjs → chunks/chunk-WVNDZNMV.mjs} +2 -2
- package/dist/{chunk-GFC24374.mjs → chunks/chunk-X4NWFK7L.mjs} +5 -5
- package/dist/{chunk-FFBK7Q3W.mjs → chunks/chunk-YI3GLQYF.mjs} +67 -4
- package/dist/{chunk-HTZVV6VV.mjs → chunks/chunk-YZQS2YBK.mjs} +8 -6
- package/dist/{chunk-PQV55JYI.mjs → chunks/chunk-ZLD5VNMP.mjs} +2 -2
- package/dist/components/charts/ChartBar.mjs +13 -13
- package/dist/components/charts/ChartCandlestick.mjs +11 -11
- package/dist/components/charts/ChartHeatmap.mjs +11 -11
- package/dist/components/charts/ChartLine.mjs +12 -11
- package/dist/components/charts/ChartPie.mjs +12 -11
- package/dist/components/charts/ChartPolar.mjs +13 -11
- package/dist/components/charts/ChartRadar.mjs +13 -11
- package/dist/components/charts/ChartScatter.mjs +12 -11
- package/dist/components/charts/ChartTreemap.mjs +10 -10
- package/dist/components/containers/ChartDecimation.mjs +6 -6
- package/dist/components/containers/ChartGroup.mjs +4 -4
- package/dist/components/containers/ChartOverlap.mjs +5 -5
- package/dist/components/containers/ChartRange.mjs +6 -6
- package/dist/components/containers/ChartStacked.mjs +6 -6
- package/dist/components/containers/ChartWaterfall.mjs +5 -5
- package/dist/components/customizations/ChartAccessibility.mjs +9 -9
- package/dist/components/customizations/ChartAnnotation.mjs +5 -5
- package/dist/components/customizations/ChartAxisCategory.mjs +3 -3
- package/dist/components/customizations/ChartAxisGroup.mjs +3 -3
- package/dist/components/customizations/ChartBreadcrumb.mjs +6 -6
- package/dist/components/customizations/ChartCaption.mjs +9 -9
- package/dist/components/customizations/ChartColorLegend.mjs +9 -9
- package/dist/components/customizations/ChartDataLabels.mjs +9 -9
- package/dist/components/customizations/ChartExportMenu.mjs +9 -9
- package/dist/components/customizations/ChartHover.mjs +9 -9
- package/dist/components/customizations/ChartLegend.mjs +9 -9
- package/dist/components/customizations/ChartNavigator.mjs +10 -10
- package/dist/components/customizations/ChartReferenceBand.mjs +5 -5
- package/dist/components/customizations/ChartReferenceLine.mjs +5 -5
- package/dist/components/customizations/ChartResponsive.mjs +9 -9
- package/dist/components/customizations/ChartTitle.mjs +9 -9
- package/dist/components/customizations/ChartTooltip.mjs +9 -9
- package/dist/components/customizations/ChartXAxis.mjs +10 -10
- package/dist/components/customizations/ChartYAxis.mjs +10 -10
- package/dist/components/customizations/ChartZoom.mjs +9 -9
- package/dist/components/items/ChartItem.mjs +3 -3
- package/dist/components/items/ChartTreemapGroup.mjs +5 -5
- package/dist/components/renderers/CartesianRenderer.mjs +9 -9
- package/dist/components/renderers/CartesianRenderer.vue.d.ts +2 -0
- package/dist/components/renderers/ColorLegendRenderer.mjs +2 -2
- package/dist/components/renderers/LegendRenderer.mjs +3 -3
- package/dist/components/renderers/NavigatorRenderer.mjs +5 -5
- package/dist/components/renderers/RadialRenderer.mjs +9 -9
- package/dist/components/renderers/RadialRenderer.vue.d.ts +1 -1
- package/dist/components/renderers/RectRenderer.mjs +9 -9
- package/dist/components/renderers/RectRenderer.vue.d.ts +1 -1
- package/dist/components/renderers/TooltipRenderer.mjs +4 -4
- package/dist/components/renderers/layers/BarLayerCanvas.mjs +10 -10
- package/dist/components/renderers/layers/BarLayerSvg.mjs +10 -10
- package/dist/components/renderers/layers/CandlestickLayer.mjs +9 -9
- package/dist/components/renderers/layers/HeatmapLayer.mjs +9 -9
- package/dist/components/renderers/layers/LineLayer.mjs +10 -9
- package/dist/components/renderers/layers/PieLayer.mjs +7 -9
- package/dist/components/renderers/layers/PolarLayer.mjs +8 -9
- package/dist/components/renderers/layers/RadarLayer.mjs +8 -9
- package/dist/components/renderers/layers/ScatterLayer.mjs +10 -9
- package/dist/composables/index.d.ts +0 -8
- package/dist/composables/useAnimationProps.d.ts +2 -5
- package/dist/composables/useChartSync.spec.d.ts +1 -0
- package/dist/composables/useChartSyncCoordinator.spec.d.ts +1 -0
- package/dist/composables/useHeatmapRenderer.spec.d.ts +1 -0
- package/dist/composables/usePolarRenderer.spec.d.ts +1 -0
- package/dist/composables/useResponsiveConfig.d.ts +1 -1
- package/dist/composables/useResponsiveDimensions.spec.d.ts +1 -0
- package/dist/composables/useTreemapRenderer.spec.d.ts +1 -0
- package/dist/context/ChartContext.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +69 -66
- package/dist/namespace.mjs +69 -112
- package/dist/types/animation.types.d.ts +2 -0
- package/dist/types/bar.types.d.ts +2 -1
- package/dist/types/candlestick.types.d.ts +0 -1
- package/dist/types/heatmap.types.d.ts +0 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/item.types.d.ts +0 -1
- package/dist/types/line.types.d.ts +4 -1
- package/dist/types/scatter.types.d.ts +3 -2
- package/dist/useChartContext.spec.d.ts +1 -0
- package/package.json +7 -7
- package/dist/chunk-54DLUFIA.mjs +0 -96
- package/dist/chunk-CQHNYT2V.mjs +0 -1692
- package/dist/chunk-JKK3D33U.mjs +0 -64
- package/dist/chunk-UO27BCRL.mjs +0 -86
- package/dist/chunk-VWABO23U.mjs +0 -143
- /package/dist/{chunk-FZ3PZ66C.mjs → chunks/chunk-4Q3QUNX6.mjs} +0 -0
- /package/dist/{chunk-5SRBQVU5.mjs → chunks/chunk-EHSDNH7K.mjs} +0 -0
- /package/dist/{chunk-LD57I4SY.mjs → chunks/chunk-H4HLHGUW.mjs} +0 -0
- /package/dist/{chunk-TEOO4OLV.mjs → chunks/chunk-L6N5IYAJ.mjs} +0 -0
- /package/dist/{chunk-E4ROAOPT.mjs → chunks/chunk-S4YR4YK7.mjs} +0 -0
- /package/dist/{chunk-7P6ASYW6.mjs → chunks/chunk-VIHIR2BE.mjs} +0 -0
- /package/dist/{chunk-J43KLCZF.mjs → chunks/chunk-ZH4A4L6W.mjs} +0 -0
package/dist/namespace.mjs
CHANGED
|
@@ -1,112 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import './chunk-
|
|
35
|
-
import './chunk-
|
|
36
|
-
import './chunk-
|
|
37
|
-
import './chunk-
|
|
38
|
-
import './chunk-
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
47
|
-
import './chunk-
|
|
48
|
-
import './chunk-
|
|
49
|
-
import './chunk-
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import './chunk-
|
|
53
|
-
import './chunk-
|
|
54
|
-
import './chunk-
|
|
55
|
-
import './chunk-
|
|
56
|
-
import './chunk-
|
|
57
|
-
import './chunk-
|
|
58
|
-
import './chunk-
|
|
59
|
-
import './chunk-
|
|
60
|
-
import './chunk-
|
|
61
|
-
import './chunk-
|
|
62
|
-
import './chunk-
|
|
63
|
-
import './chunk-
|
|
64
|
-
import './chunk-
|
|
65
|
-
import './chunk-
|
|
66
|
-
import
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -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
|
-
|
|
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
|
|
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.
|
|
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.
|
|
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-
|
|
43
|
-
"@primeui/chart-
|
|
44
|
-
"@primeui/chart-
|
|
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.
|
|
62
|
+
"types": "./dist/index.d.ts"
|
|
63
63
|
}
|
package/dist/chunk-54DLUFIA.mjs
DELETED
|
@@ -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 };
|