@primeui/vue-chart 0.0.1-alpha.1 → 1.0.0-rc.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/LICENSE.md +35 -0
- package/README.md +64 -0
- 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-372K2BMN.mjs → chunks/chunk-4EU72IBK.mjs} +71 -23
- package/dist/{chunk-PSSXPTLQ.mjs → chunks/chunk-4SLSYRNY.mjs} +6 -6
- 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-44BAFHPK.mjs → chunks/chunk-EWDMF46D.mjs} +10 -5
- 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/chunks/chunk-JBWL3G7O.mjs +86 -0
- 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-72KINEJ6.mjs → chunks/chunk-PR6MTWPJ.mjs} +10 -5
- 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/release-date.d.ts +1 -1
- 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 +9 -14
- package/LICENSE +0 -23
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,6 +3,6 @@ import type { ResponsiveFeatureProps } from '../types';
|
|
|
3
3
|
export declare function useResponsiveConfig(width: Ref<number>, height: Ref<number>, responsiveFeature: Ref<ResponsiveFeatureProps | undefined>, globalFont?: {
|
|
4
4
|
size?: number;
|
|
5
5
|
}): {
|
|
6
|
-
defaults: import("vue").ComputedRef<import("
|
|
6
|
+
defaults: import("vue").ComputedRef<import("@primeui/chart-types").AdaptiveDefaults>;
|
|
7
7
|
ruleOverrides: import("vue").ComputedRef<Record<string, Record<string, unknown>>>;
|
|
8
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,7 +9,7 @@ export declare function useChartHover(): ComputedRef<ChartHoverContextValue>;
|
|
|
9
9
|
/** Set the renderer hint synchronously in setup(). Called by chart components. */
|
|
10
10
|
export declare function useRendererHint(hint: RendererHint): void;
|
|
11
11
|
export declare function provideChartContext(options: ChartProviderOptions): {
|
|
12
|
-
coreChart: import("@primeui/chart-
|
|
12
|
+
coreChart: import("@primeui/chart-types").ChartCoreInstance;
|
|
13
13
|
emitHandlerRef: {
|
|
14
14
|
current: ((event: string, ...args: unknown[]) => void) | null;
|
|
15
15
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as Chart from './Chart.parts';
|
|
1
2
|
export { default as ChartCanvas } from './ChartCanvas.vue';
|
|
2
3
|
export { default as ChartSvg } from './ChartSvg.vue';
|
|
3
4
|
export { default as ChartBar } from './components/charts/ChartBar.vue';
|
|
@@ -37,7 +38,7 @@ export { default as ChartOverlap } from './components/containers/ChartOverlap.vu
|
|
|
37
38
|
export { default as ChartRange } from './components/containers/ChartRange.vue';
|
|
38
39
|
export { default as ChartStacked } from './components/containers/ChartStacked.vue';
|
|
39
40
|
export { default as ChartWaterfall } from './components/containers/ChartWaterfall.vue';
|
|
40
|
-
export type { Alignment, AnnotationContext, AxisTickMarkRenderContext, AxisTickRenderContext, BarShapeFunction, BarShapeInfo, BorderRadius, ChartBarProps, ChartCandlestickProps, ChartCaptionProps, ChartHeatmapProps, ChartItemProps, ChartLegendProps, ChartLineProps, ChartPieProps, ChartPolarProps, ChartRadarProps, ChartScatterProps, ChartSvgProps, ChartTooltipProps, ChartTreemapProps, ColorScaleInfo, ColorValue, DataLabelContext, DecimationAlgorithm, DrilldownStateResult, EasingFunctionName, FieldAccessor, GradientColor, GradientStop, HeatmapCellContext, HeatmapHitTestResult, HoverProps, ItemCollectorContextValue, ItemContext, LegendItemRenderContext, LegendProps, LinearGradientConfig, PointDescriptionContext, RadialGradient, RadialHitTestResult, ResolvedSyncConfig, ResponsiveRule, SegmentContext, SeriesType, SliceRenderContext, SyncConfig, TickStyle, TickValue, TooltipItem, TooltipRenderContext, TooltipRow, TooltipState, TreemapCellContext, TreemapGroupProps, UseChartSyncOptions, UseChartSyncResult, UseDatasetRegistrationOptions, UseItemCollectorResult, ZoomAxisWindow, ZoomHandle, ZoomState } from './types';
|
|
41
|
+
export type { Alignment, AnnotationContext, AxisTickMarkRenderContext, AxisTickRenderContext, BarShapeFunction, BarShapeInfo, BorderRadius, ChartBarProps, ChartCandlestickProps, ChartCaptionProps, ChartHeatmapProps, ChartItemProps, ChartLegendProps, ChartLineProps, ChartPieProps, ChartPointEvent, ChartPolarProps, ChartRadarProps, ChartScatterProps, ChartSvgProps, ChartTooltipProps, ChartTreemapProps, ColorScaleInfo, ColorValue, DataLabelContext, DecimationAlgorithm, DrilldownStateResult, EasingFunctionName, FieldAccessor, GradientColor, GradientStop, HeatmapCellContext, HeatmapHitTestResult, HoverProps, ItemCollectorContextValue, ItemContext, LegendItemRenderContext, LegendProps, LinearGradientConfig, PointDescriptionContext, RadialGradient, RadialHitTestResult, ResolvedSyncConfig, ResponsiveRule, SegmentContext, SeriesType, SliceRenderContext, SyncConfig, TickStyle, TickValue, TooltipItem, TooltipRenderContext, TooltipRow, TooltipState, TreemapCellContext, TreemapGroupProps, UseChartSyncOptions, UseChartSyncResult, UseDatasetRegistrationOptions, UseItemCollectorResult, ZoomAxisWindow, ZoomHandle, ZoomState } from './types';
|
|
41
42
|
export { useChartHover, useChartMethods, useChartState } from './context';
|
|
42
43
|
export { useChartSync, useDatasetRegistration, useDrilldownState, useItemCollector } from './composables';
|
|
43
44
|
export type { PointRenderContext } from '@primeui/chart-core';
|
package/dist/index.mjs
CHANGED
|
@@ -1,67 +1,70 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
|
|
35
|
-
import './chunk-
|
|
36
|
-
import './chunk-
|
|
37
|
-
import './chunk-
|
|
38
|
-
import './chunk-
|
|
39
|
-
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
47
|
-
import './chunk-
|
|
48
|
-
import './chunk-
|
|
49
|
-
import './chunk-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
import './chunk-
|
|
55
|
-
import './chunk-
|
|
56
|
-
import './chunk-
|
|
57
|
-
import './chunk-
|
|
58
|
-
|
|
59
|
-
import './chunk-
|
|
60
|
-
import './chunk-
|
|
61
|
-
|
|
62
|
-
import './chunk-
|
|
63
|
-
|
|
64
|
-
import './chunk-
|
|
65
|
-
import './chunk-
|
|
66
|
-
|
|
1
|
+
export { Chart_parts_exports as Chart } from './chunks/chunk-JBWL3G7O.mjs';
|
|
2
|
+
export { ChartBar_default as ChartBar } from './chunks/chunk-L74BEYTD.mjs';
|
|
3
|
+
export { ChartTreemap_default as ChartTreemap } from './chunks/chunk-HVLFOABV.mjs';
|
|
4
|
+
export { ChartScatter_default as ChartScatter } from './chunks/chunk-SGLTVJUA.mjs';
|
|
5
|
+
export { ChartRadar_default as ChartRadar } from './chunks/chunk-F7EK5D6J.mjs';
|
|
6
|
+
export { ChartPolar_default as ChartPolar } from './chunks/chunk-GIDIMIWE.mjs';
|
|
7
|
+
export { ChartPie_default as ChartPie } from './chunks/chunk-GE2Y2FHS.mjs';
|
|
8
|
+
export { ChartLine_default as ChartLine } from './chunks/chunk-DDRSIMLE.mjs';
|
|
9
|
+
export { ChartHeatmap_default as ChartHeatmap } from './chunks/chunk-PCBF6FSQ.mjs';
|
|
10
|
+
export { ChartCandlestick_default as ChartCandlestick } from './chunks/chunk-CW2KYVYO.mjs';
|
|
11
|
+
export { ChartAnnotation_default as ChartAnnotation } from './chunks/chunk-ON2FAZTD.mjs';
|
|
12
|
+
export { ChartAccessibility_default as ChartAccessibility } from './chunks/chunk-6Z4MZIJI.mjs';
|
|
13
|
+
export { ChartWaterfall_default as ChartWaterfall } from './chunks/chunk-GV3CY6CQ.mjs';
|
|
14
|
+
export { ChartStacked_default as ChartStacked } from './chunks/chunk-WVNDZNMV.mjs';
|
|
15
|
+
export { ChartRange_default as ChartRange } from './chunks/chunk-HHZFGQN2.mjs';
|
|
16
|
+
export { ChartOverlap_default as ChartOverlap } from './chunks/chunk-R4AZOPXC.mjs';
|
|
17
|
+
export { ChartGroup_default as ChartGroup } from './chunks/chunk-3JA5JAHF.mjs';
|
|
18
|
+
export { ChartDecimation_default as ChartDecimation } from './chunks/chunk-TZ23VBFU.mjs';
|
|
19
|
+
export { ChartHover_default as ChartHover } from './chunks/chunk-3DINEX6C.mjs';
|
|
20
|
+
export { ChartExportMenu_default as ChartExportMenu } from './chunks/chunk-X4NWFK7L.mjs';
|
|
21
|
+
export { ChartDataLabels_default as ChartDataLabels } from './chunks/chunk-HH5FUUXX.mjs';
|
|
22
|
+
export { ChartColorLegend_default as ChartColorLegend } from './chunks/chunk-CGFPDWB4.mjs';
|
|
23
|
+
export { ChartCaption_default as ChartCaption } from './chunks/chunk-UOZFNTVQ.mjs';
|
|
24
|
+
export { ChartBreadcrumb_default as ChartBreadcrumb } from './chunks/chunk-QONZ3SCZ.mjs';
|
|
25
|
+
export { ChartAxisGroup_default as ChartAxisGroup } from './chunks/chunk-MGUGO3RV.mjs';
|
|
26
|
+
export { ChartAxisCategory_default as ChartAxisCategory } from './chunks/chunk-QJCMFAHB.mjs';
|
|
27
|
+
export { ChartXAxis_default as ChartXAxis } from './chunks/chunk-DXKAPWMO.mjs';
|
|
28
|
+
export { ChartTooltip_default as ChartTooltip } from './chunks/chunk-LP2YESP6.mjs';
|
|
29
|
+
export { ChartTitle_default as ChartTitle } from './chunks/chunk-2NZ3PUWW.mjs';
|
|
30
|
+
export { ChartResponsive_default as ChartResponsive } from './chunks/chunk-UOMQNZMT.mjs';
|
|
31
|
+
export { ChartReferenceLine_default as ChartReferenceLine } from './chunks/chunk-CRIB3I3L.mjs';
|
|
32
|
+
export { ChartReferenceBand_default as ChartReferenceBand } from './chunks/chunk-U6X3GVJ3.mjs';
|
|
33
|
+
export { ChartNavigator_default as ChartNavigator } from './chunks/chunk-JPKNWLLP.mjs';
|
|
34
|
+
export { ChartLegend_default as ChartLegend } from './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
|
+
export { ChartTreemapGroup_default as ChartTreemapGroup } from './chunks/chunk-L73MEG22.mjs';
|
|
41
|
+
export { ChartItem_default as ChartItem } from './chunks/chunk-3PJULFR5.mjs';
|
|
42
|
+
export { ChartZoom_default as ChartZoom } from './chunks/chunk-BSROML7P.mjs';
|
|
43
|
+
export { ChartYAxis_default as ChartYAxis } from './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
|
+
export { ChartSvg_default as ChartSvg } from './chunks/chunk-EWDMF46D.mjs';
|
|
53
|
+
export { ChartCanvas_default as ChartCanvas } from './chunks/chunk-PR6MTWPJ.mjs';
|
|
54
|
+
import './chunks/chunk-4EU72IBK.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
|
+
export { useChartSync, useDatasetRegistration, useDrilldownState, useItemCollector } from './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
|
+
export { useChartHover, useChartMethods, useChartState } from './chunks/chunk-QOWKMWNO.mjs';
|
|
67
|
+
import './chunks/chunk-H4HLHGUW.mjs';
|
|
68
|
+
import './chunks/chunk-4Q3QUNX6.mjs';
|
|
69
|
+
import './chunks/chunk-VIHIR2BE.mjs';
|
|
67
70
|
export { easings, getEasing, registerEasing } from '@primeui/chart-core';
|
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-JBWL3G7O.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-EWDMF46D.mjs';
|
|
53
|
+
import './chunks/chunk-PR6MTWPJ.mjs';
|
|
54
|
+
import './chunks/chunk-4EU72IBK.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';
|
package/dist/release-date.d.ts
CHANGED
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* Kept as a literal for now. A build script should generate this file from the
|
|
9
9
|
* package's git tag / publish date going forward (mirrors the texteditor model).
|
|
10
10
|
*/
|
|
11
|
-
export declare const RELEASE_DATE = "2026-06-
|
|
11
|
+
export declare const RELEASE_DATE = "2026-06-28";
|
|
@@ -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-rc.1",
|
|
4
4
|
"author": "PrimeTek Informatics",
|
|
5
5
|
"description": "Vue Chart component for PrimeUI.",
|
|
6
6
|
"keywords": [
|
|
@@ -8,23 +8,18 @@
|
|
|
8
8
|
"primeui"
|
|
9
9
|
],
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/primefaces/primeui.git",
|
|
14
|
-
"directory": "packages/components/chart/vue-chart"
|
|
15
|
-
},
|
|
16
11
|
"bugs": {
|
|
17
|
-
"url": "https://
|
|
12
|
+
"url": "https://support.primeui.dev"
|
|
18
13
|
},
|
|
19
14
|
"main": "./dist/index.mjs",
|
|
20
15
|
"exports": {
|
|
21
16
|
".": {
|
|
22
|
-
"types": "./dist/index.d.
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
23
18
|
"import": "./dist/index.mjs",
|
|
24
19
|
"default": "./dist/index.mjs"
|
|
25
20
|
},
|
|
26
21
|
"./namespace": {
|
|
27
|
-
"types": "./dist/namespace.d.
|
|
22
|
+
"types": "./dist/namespace.d.ts",
|
|
28
23
|
"import": "./dist/namespace.mjs",
|
|
29
24
|
"default": "./dist/namespace.mjs"
|
|
30
25
|
}
|
|
@@ -36,12 +31,12 @@
|
|
|
36
31
|
"files": [
|
|
37
32
|
"dist",
|
|
38
33
|
"README.md",
|
|
39
|
-
"LICENSE"
|
|
34
|
+
"LICENSE.md"
|
|
40
35
|
],
|
|
41
36
|
"dependencies": {
|
|
42
|
-
"@primeui/license-manager": "^1.0.0-
|
|
43
|
-
"@primeui/chart-core": "0.0
|
|
44
|
-
"@primeui/chart-types": "0.0
|
|
37
|
+
"@primeui/license-manager": "^1.0.0-rc.1",
|
|
38
|
+
"@primeui/chart-core": "1.0.0-rc.1",
|
|
39
|
+
"@primeui/chart-types": "1.0.0-rc.1"
|
|
45
40
|
},
|
|
46
41
|
"peerDependencies": {
|
|
47
42
|
"vue": "^3.5"
|
|
@@ -59,5 +54,5 @@
|
|
|
59
54
|
"dev:link": "pnpm link --global && npm link"
|
|
60
55
|
},
|
|
61
56
|
"module": "./dist/index.mjs",
|
|
62
|
-
"types": "./dist/index.d.
|
|
57
|
+
"types": "./dist/index.d.ts"
|
|
63
58
|
}
|
package/LICENSE
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# License
|
|
2
|
-
|
|
3
|
-
MIT License
|
|
4
|
-
|
|
5
|
-
Copyright (c) 2026 PrimeTek
|
|
6
|
-
|
|
7
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
in the Software without restriction, including without limitation the rights
|
|
10
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
furnished to do so, subject to the following conditions:
|
|
13
|
-
|
|
14
|
-
The above copyright notice and this permission notice shall be included in all
|
|
15
|
-
copies or substantial portions of the Software.
|
|
16
|
-
|
|
17
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
-
SOFTWARE.
|