@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
|
@@ -1,8 +1,99 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { useControllerLifecycle } from './chunk-KNNYJD4D.mjs';
|
|
2
|
+
import { normalizeDataLabelConfig } from './chunk-ZH4A4L6W.mjs';
|
|
3
|
+
import { useRadialFrameRegistration } from './chunk-7EZEZMGG.mjs';
|
|
4
|
+
import { useChartMethods, useChartState, useChartHover } from './chunk-QOWKMWNO.mjs';
|
|
5
|
+
import { defineComponent, computed, toRef, unref, openBlock, createElementBlock, Fragment, createElementVNode, renderList, createBlock, resolveDynamicComponent, createCommentVNode, ref, watch } from 'vue';
|
|
6
|
+
import { buildMarkerRenderItems, safeRenderProp, DEFAULT_HOVER_DIM_OPACITY } from '@primeui/chart-core';
|
|
7
|
+
import { createRadarRendererCanvas } from '@primeui/chart-core/series/radar/controller-canvas';
|
|
8
|
+
import { createRadarRendererSvg } from '@primeui/chart-core/series/radar/controller-svg';
|
|
5
9
|
|
|
10
|
+
function useRadarRenderer(options) {
|
|
11
|
+
const { chartArea, renderer, datasets, features, hover, datasetVisibility, globalFont, adaptiveDataLabelFontSize, chartId, width, height, sharedContext, requestRedraw, dir, xAxes, yAxes, theme } = options;
|
|
12
|
+
const groupRef = ref(null);
|
|
13
|
+
const layoutRef = ref(null);
|
|
14
|
+
const markerData = ref(null);
|
|
15
|
+
const controller = renderer === "canvas" ? createRadarRendererCanvas() : createRadarRendererSvg();
|
|
16
|
+
controller.onMarkerDataChange = (data) => {
|
|
17
|
+
markerData.value = data;
|
|
18
|
+
};
|
|
19
|
+
controller.onFrame = () => {
|
|
20
|
+
layoutRef.value = controller.layout;
|
|
21
|
+
};
|
|
22
|
+
const active = computed(() => controller.hasData);
|
|
23
|
+
function getLabelConfig() {
|
|
24
|
+
const dlProps = features.value.get("dataLabels")?.props;
|
|
25
|
+
return normalizeDataLabelConfig(dlProps, adaptiveDataLabelFontSize?.value, void 0, globalFont);
|
|
26
|
+
}
|
|
27
|
+
watch(
|
|
28
|
+
[datasets, chartArea, datasetVisibility, features, groupRef, xAxes, yAxes, dir, theme],
|
|
29
|
+
() => {
|
|
30
|
+
const area = chartArea.value;
|
|
31
|
+
if (!area) {
|
|
32
|
+
layoutRef.value = null;
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const hc = features.value.get("hover")?.props;
|
|
36
|
+
controller.update({
|
|
37
|
+
datasets: datasets.value,
|
|
38
|
+
datasetVisibility: datasetVisibility.value,
|
|
39
|
+
chartArea: area,
|
|
40
|
+
width: width.value,
|
|
41
|
+
height: height.value,
|
|
42
|
+
renderer,
|
|
43
|
+
features: features.value,
|
|
44
|
+
hover: hover.value,
|
|
45
|
+
hoverConfig: hc,
|
|
46
|
+
globalFont,
|
|
47
|
+
adaptiveDataLabelFontSize: adaptiveDataLabelFontSize?.value,
|
|
48
|
+
chartId,
|
|
49
|
+
sharedContext: sharedContext?.value,
|
|
50
|
+
svgGroup: groupRef.value,
|
|
51
|
+
requestRedraw,
|
|
52
|
+
labelConfig: getLabelConfig(),
|
|
53
|
+
dir: dir.value,
|
|
54
|
+
xAxes: xAxes?.value,
|
|
55
|
+
yAxes: yAxes?.value,
|
|
56
|
+
theme: theme.value
|
|
57
|
+
});
|
|
58
|
+
layoutRef.value = controller.layout;
|
|
59
|
+
},
|
|
60
|
+
{ immediate: true, flush: "post" }
|
|
61
|
+
);
|
|
62
|
+
watch([hover, () => features.value.get("hover")?.props], () => {
|
|
63
|
+
controller.applyHover(hover.value);
|
|
64
|
+
});
|
|
65
|
+
const { applyPropertyAnimations, renderFrameCycle } = useControllerLifecycle(controller);
|
|
66
|
+
function hitTest(x, y) {
|
|
67
|
+
const hit = controller.hitTest(x, y);
|
|
68
|
+
if (!hit) return null;
|
|
69
|
+
return { datasetId: hit.datasetId, index: hit.index, label: hit.label, value: hit.value, color: hit.color };
|
|
70
|
+
}
|
|
71
|
+
function findAllNearest(x, y) {
|
|
72
|
+
const result = controller.findAllNearest(x, y);
|
|
73
|
+
if (!result) return null;
|
|
74
|
+
const { primary, allSeries } = result;
|
|
75
|
+
return {
|
|
76
|
+
primary: { datasetId: primary.datasetId, index: primary.index, label: primary.label, value: primary.value, color: primary.color },
|
|
77
|
+
allSeries
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function renderCanvasContent(ctx, _canvas) {
|
|
81
|
+
controller.renderCanvasContent(ctx);
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
groupRef,
|
|
85
|
+
hitTest,
|
|
86
|
+
findAllNearest,
|
|
87
|
+
active,
|
|
88
|
+
markerData,
|
|
89
|
+
layout: layoutRef,
|
|
90
|
+
renderCanvasContent,
|
|
91
|
+
applyPropertyAnimations,
|
|
92
|
+
renderFrameCycle
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// src/components/renderers/layers/RadarLayer.vue
|
|
6
97
|
var _hoisted_1 = { class: "radar-markers" };
|
|
7
98
|
var _hoisted_2 = ["transform", "opacity"];
|
|
8
99
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -113,7 +204,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
204
|
key: item.key,
|
|
114
205
|
transform: `translate(${item.x}, ${item.y})`,
|
|
115
206
|
opacity: item.opacity !== 1 ? item.opacity : void 0
|
|
116
|
-
}, [(openBlock(), createBlock(resolveDynamicComponent(() => item.renderMarker(item.context))))], 8, _hoisted_2);
|
|
207
|
+
}, [(openBlock(), createBlock(resolveDynamicComponent(() => unref(safeRenderProp)(() => item.renderMarker(item.context), "marker"))))], 8, _hoisted_2);
|
|
117
208
|
}), 128))])], 64)) : createCommentVNode("", true);
|
|
118
209
|
};
|
|
119
210
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { HeatmapLayer_default } from './chunk-
|
|
2
|
-
import { CartesianRenderer_default } from './chunk-
|
|
3
|
-
import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-
|
|
4
|
-
import { useRendererHint, useChartMethods } from './chunk-
|
|
1
|
+
import { HeatmapLayer_default } from './chunk-3X27K5XC.mjs';
|
|
2
|
+
import { CartesianRenderer_default } from './chunk-YZQS2YBK.mjs';
|
|
3
|
+
import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-I2BWSDNR.mjs';
|
|
4
|
+
import { useRendererHint, useChartMethods } from './chunk-QOWKMWNO.mjs';
|
|
5
5
|
import { defineComponent, useSlots, computed, onMounted, watch, onUnmounted, renderSlot, createCommentVNode } from 'vue';
|
|
6
|
-
import { heatmapRenderer } from '@primeui/chart-core';
|
|
6
|
+
import { heatmapRenderer } from '@primeui/chart-core/series/heatmap';
|
|
7
7
|
|
|
8
8
|
var heatmapIdCounter = 0;
|
|
9
9
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -13,8 +13,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
data: {},
|
|
14
14
|
valueField: {},
|
|
15
15
|
name: {},
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
categoryXField: {},
|
|
17
|
+
categoryYField: {},
|
|
18
18
|
color: {},
|
|
19
19
|
colorScale: {},
|
|
20
20
|
colorRange: {},
|
|
@@ -105,8 +105,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
105
|
const datasetProps = computed(() => ({
|
|
106
106
|
id: autoId,
|
|
107
107
|
data: props.data,
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
categoryXField: props.categoryXField,
|
|
109
|
+
categoryYField: props.categoryYField,
|
|
110
110
|
valueField: props.valueField,
|
|
111
111
|
name: props.name,
|
|
112
112
|
color: props.color,
|
|
@@ -146,8 +146,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
return {
|
|
147
147
|
id: autoId,
|
|
148
148
|
data: items,
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
categoryXField: (ctx) => ctx.datum.categoryX ?? "",
|
|
150
|
+
categoryYField: (ctx) => ctx.datum.categoryY ?? "",
|
|
151
151
|
valueField: (ctx) => ctx.datum.value,
|
|
152
152
|
name: props.name,
|
|
153
153
|
color: props.color,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CHART_METHODS_KEY, CHART_STATE_KEY, CHART_HOVER_KEY, RENDERER_HINT_KEY, CHART_REFRESH_NONCE_KEY, CHART_CORE_INSTANCE_KEY } from './chunk-
|
|
1
|
+
import { CHART_METHODS_KEY, CHART_STATE_KEY, CHART_HOVER_KEY, RENDERER_HINT_KEY, CHART_REFRESH_NONCE_KEY, CHART_CORE_INSTANCE_KEY } from './chunk-4Q3QUNX6.mjs';
|
|
2
2
|
import { createChart, defaultLightTheme } from '@primeui/chart-core';
|
|
3
3
|
import { inject, shallowRef, ref, computed, watch, provide } from 'vue';
|
|
4
4
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { CartesianRenderer_default } from './chunk-
|
|
2
|
-
import { ScatterLayer_default } from './chunk-
|
|
3
|
-
import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-
|
|
4
|
-
import { useRendererHint, useChartMethods } from './chunk-
|
|
1
|
+
import { CartesianRenderer_default } from './chunk-YZQS2YBK.mjs';
|
|
2
|
+
import { ScatterLayer_default } from './chunk-LJZCE7LQ.mjs';
|
|
3
|
+
import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-I2BWSDNR.mjs';
|
|
4
|
+
import { useRendererHint, useChartMethods } from './chunk-QOWKMWNO.mjs';
|
|
5
5
|
import { defineComponent, useSlots, computed, onMounted, watch, onUnmounted, renderSlot, createCommentVNode } from 'vue';
|
|
6
|
-
import {
|
|
6
|
+
import { resolveAccessor } from '@primeui/chart-core/utils';
|
|
7
|
+
import { scatterRenderer } from '@primeui/chart-core/series/scatter';
|
|
7
8
|
|
|
8
9
|
var scatterIdCounter = 0;
|
|
9
10
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -11,38 +12,38 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
12
|
props: {
|
|
12
13
|
id: {},
|
|
13
14
|
data: {},
|
|
14
|
-
|
|
15
|
+
name: {},
|
|
16
|
+
color: { type: [
|
|
15
17
|
String,
|
|
16
18
|
Function,
|
|
17
19
|
Array
|
|
18
20
|
] },
|
|
19
|
-
|
|
21
|
+
xAxisId: {},
|
|
22
|
+
yAxisId: {},
|
|
23
|
+
order: {},
|
|
24
|
+
stackId: {},
|
|
25
|
+
categoryXField: { type: [
|
|
20
26
|
String,
|
|
21
27
|
Function,
|
|
22
|
-
Number,
|
|
23
|
-
null,
|
|
24
28
|
Array
|
|
25
29
|
] },
|
|
26
|
-
|
|
27
|
-
color: { type: [
|
|
30
|
+
categoryYField: { type: [
|
|
28
31
|
String,
|
|
29
32
|
Function,
|
|
30
33
|
Array
|
|
31
34
|
] },
|
|
32
|
-
|
|
33
|
-
yAxisId: {},
|
|
34
|
-
order: {},
|
|
35
|
-
stackId: {},
|
|
36
|
-
xField: { type: [
|
|
35
|
+
valueXField: { type: [
|
|
37
36
|
String,
|
|
38
37
|
Function,
|
|
39
38
|
Number,
|
|
39
|
+
null,
|
|
40
40
|
Array
|
|
41
41
|
] },
|
|
42
|
-
|
|
42
|
+
valueYField: { type: [
|
|
43
43
|
String,
|
|
44
44
|
Function,
|
|
45
45
|
Number,
|
|
46
|
+
null,
|
|
46
47
|
Array
|
|
47
48
|
] },
|
|
48
49
|
sizeField: { type: [
|
|
@@ -159,8 +160,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
159
160
|
const datasetProps = computed(() => ({
|
|
160
161
|
id: autoId,
|
|
161
162
|
data: props.data,
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
categoryXField: props.categoryXField,
|
|
164
|
+
categoryYField: props.categoryYField,
|
|
165
|
+
valueXField: props.valueXField,
|
|
166
|
+
valueYField: props.valueYField,
|
|
164
167
|
sizeField: props.sizeField,
|
|
165
168
|
color: props.color,
|
|
166
169
|
name: props.name,
|
|
@@ -197,11 +200,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
197
200
|
if (hasChildren.value) {
|
|
198
201
|
let buildSynthesizedProps2 = function() {
|
|
199
202
|
const items = getItems();
|
|
203
|
+
const categorical = items.some((it) => it.categoryX != null || it.categoryY != null);
|
|
204
|
+
const horizontal = items.some((it) => it.categoryY != null);
|
|
205
|
+
const axisBinding = categorical ? horizontal ? {
|
|
206
|
+
categoryYField: (ctx) => ctx.datum.categoryY ?? "",
|
|
207
|
+
valueXField: (ctx) => ctx.datum.valueX ?? 0
|
|
208
|
+
} : {
|
|
209
|
+
categoryXField: (ctx) => ctx.datum.categoryX ?? "",
|
|
210
|
+
valueYField: (ctx) => ctx.datum.valueY ?? 0
|
|
211
|
+
} : {
|
|
212
|
+
valueXField: (ctx) => ctx.datum.valueX ?? 0,
|
|
213
|
+
valueYField: (ctx) => ctx.datum.valueY ?? 0
|
|
214
|
+
};
|
|
200
215
|
return {
|
|
201
216
|
id: autoId,
|
|
202
217
|
data: items,
|
|
203
|
-
|
|
204
|
-
yField: (ctx) => ctx.datum.y ?? 0,
|
|
218
|
+
...axisBinding,
|
|
205
219
|
color: ((ctx) => ctx.datum.color ?? resolveAccessor(props.color, ctx)),
|
|
206
220
|
name: props.name,
|
|
207
221
|
markerSize: props.markerSize,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LEGEND_ITEM_BASE_STYLE, LEGEND_SWATCH_STYLE } from './chunk-
|
|
2
|
-
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, createBlock, resolveDynamicComponent, createCommentVNode, createElementVNode, toDisplayString, nextTick } from 'vue';
|
|
3
|
-
import { computeLegendStyle, gradientToCssBackground } from '@primeui/chart-core';
|
|
1
|
+
import { LEGEND_ITEM_BASE_STYLE, LEGEND_SWATCH_STYLE } from './chunk-ZH4A4L6W.mjs';
|
|
2
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, createBlock, resolveDynamicComponent, unref, createCommentVNode, createElementVNode, toDisplayString, nextTick } from 'vue';
|
|
3
|
+
import { computeLegendStyle, safeRenderProp, gradientToCssBackground } from '@primeui/chart-core';
|
|
4
4
|
|
|
5
5
|
var _hoisted_1 = ["dir"];
|
|
6
6
|
var _hoisted_2 = {
|
|
@@ -128,7 +128,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
128
128
|
class: "chart-legend",
|
|
129
129
|
dir: __props.dir ?? "ltr"
|
|
130
130
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.legendItems, (item, idx) => {
|
|
131
|
-
return openBlock(), createElementBlock(Fragment, { key: itemKey(item, idx) }, [__props.legendConfig.render ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(), createBlock(resolveDynamicComponent(() => __props.legendConfig.render({
|
|
131
|
+
return openBlock(), createElementBlock(Fragment, { key: itemKey(item, idx) }, [__props.legendConfig.render ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(), createBlock(resolveDynamicComponent(() => unref(safeRenderProp)(() => __props.legendConfig.render({
|
|
132
132
|
type: item.type,
|
|
133
133
|
datasetId: item.datasetId,
|
|
134
134
|
index: item.index,
|
|
@@ -143,7 +143,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
143
143
|
onClick: () => handleClick(item),
|
|
144
144
|
onMouseEnter: () => handleHover(item),
|
|
145
145
|
onMouseLeave: () => handleHover(null)
|
|
146
|
-
}))))])) : (openBlock(), createElementBlock("button", {
|
|
146
|
+
}), "legend"))))])) : (openBlock(), createElementBlock("button", {
|
|
147
147
|
key: 1,
|
|
148
148
|
type: "button",
|
|
149
149
|
role: __props.legendConfig.interactive ? "switch" : void 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DECIMATION_CONTEXT_KEY } from './chunk-
|
|
2
|
-
import { useChartMethods } from './chunk-
|
|
1
|
+
import { DECIMATION_CONTEXT_KEY } from './chunk-L6N5IYAJ.mjs';
|
|
2
|
+
import { useChartMethods } from './chunk-QOWKMWNO.mjs';
|
|
3
3
|
import { defineComponent, watch, onBeforeUnmount, computed, provide, renderSlot } from 'vue';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useCustomizationRegistration } from './chunk-
|
|
2
|
-
import { CHART_METHODS_KEY, CHART_GROUP_TEXT_KEY } from './chunk-
|
|
1
|
+
import { useCustomizationRegistration } from './chunk-ZLD5VNMP.mjs';
|
|
2
|
+
import { CHART_METHODS_KEY, CHART_GROUP_TEXT_KEY } from './chunk-4Q3QUNX6.mjs';
|
|
3
3
|
import { defineComponent, inject, computed, onMounted, watch, onUnmounted } from 'vue';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { STACKED_CONTEXT_KEY } from './chunk-
|
|
2
|
-
import { useChartMethods } from './chunk-
|
|
1
|
+
import { STACKED_CONTEXT_KEY } from './chunk-L6N5IYAJ.mjs';
|
|
2
|
+
import { useChartMethods } from './chunk-QOWKMWNO.mjs';
|
|
3
3
|
import { defineComponent, onMounted, reactive, watch, onUnmounted, provide, renderSlot } from 'vue';
|
|
4
4
|
|
|
5
5
|
var stackIdCounter = 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCustomizationRegistration } from './chunk-
|
|
2
|
-
import { useChartMethods, useChartState } from './chunk-
|
|
1
|
+
import { useCustomizationRegistration } from './chunk-ZLD5VNMP.mjs';
|
|
2
|
+
import { useChartMethods, useChartState } from './chunk-QOWKMWNO.mjs';
|
|
3
3
|
import { defineComponent, computed, ref, onMounted, nextTick, onBeforeUnmount, openBlock, createBlock, Teleport, createElementVNode, withModifiers, normalizeStyle, normalizeClass, resolveDynamicComponent, createElementBlock, unref, Fragment, renderList, toDisplayString, createCommentVNode } from 'vue';
|
|
4
|
-
import { resolveExportMenuProps, filterExportMenuItems, EXPORT_MENU_CONSTANTS, resolveExportMenuPlacement, estimateExportMenuHeight, HAMBURGER_ICON_PATH, isExportMenuSeparator, createChartExporter, getExportAction, buildChartDataTable, dataTableToCsv, EXPORT_MENU_LABELS } from '@primeui/chart-core';
|
|
4
|
+
import { resolveExportMenuProps, filterExportMenuItems, EXPORT_MENU_CONSTANTS, resolveExportMenuPlacement, estimateExportMenuHeight, HAMBURGER_ICON_PATH, isExportMenuSeparator, safeRenderProp, createChartExporter, getExportAction, buildChartDataTable, dataTableToCsv, EXPORT_MENU_LABELS } from '@primeui/chart-core';
|
|
5
5
|
|
|
6
6
|
var _hoisted_1 = ["aria-expanded"];
|
|
7
7
|
var _hoisted_2 = {
|
|
@@ -210,12 +210,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
210
210
|
background: "var(--p-chart-export-menu-separator-color, #dee2e6)",
|
|
211
211
|
margin: "4px 8px"
|
|
212
212
|
})
|
|
213
|
-
}, null, 4)) : __props.render ? (openBlock(), createBlock(resolveDynamicComponent(() => __props.render({
|
|
213
|
+
}, null, 4)) : __props.render ? (openBlock(), createBlock(resolveDynamicComponent(() => unref(safeRenderProp)(() => __props.render({
|
|
214
214
|
item,
|
|
215
215
|
label: getItemLabel(item),
|
|
216
216
|
onClick: () => handleExport(item),
|
|
217
217
|
isHovered: hoveredItem.value === item
|
|
218
|
-
})), { key: 1 })) : (openBlock(), createElementBlock("button", {
|
|
218
|
+
}), "export menu item")), { key: 1 })) : (openBlock(), createElementBlock("button", {
|
|
219
219
|
key: 2,
|
|
220
220
|
type: "button",
|
|
221
221
|
role: "menuitem",
|
|
@@ -1,7 +1,70 @@
|
|
|
1
|
-
import { useCartesianFrame,
|
|
2
|
-
import { useChartMethods, useChartState, useChartHover } from './chunk-
|
|
3
|
-
import { defineComponent, computed, unref, openBlock, createElementBlock, createCommentVNode } from 'vue';
|
|
1
|
+
import { useCartesianFrame, useCartesianFrameRegistration } from './chunk-I2BWSDNR.mjs';
|
|
2
|
+
import { useChartMethods, useChartState, useChartHover } from './chunk-QOWKMWNO.mjs';
|
|
3
|
+
import { defineComponent, computed, unref, openBlock, createElementBlock, createCommentVNode, ref, watch, onUnmounted } from 'vue';
|
|
4
|
+
import { createCandlestickRendererCanvas } from '@primeui/chart-core/series/candlestick/controller-canvas';
|
|
5
|
+
import { createCandlestickRendererSvg } from '@primeui/chart-core/series/candlestick/controller-svg';
|
|
4
6
|
|
|
7
|
+
function useCandlestickRenderer(options) {
|
|
8
|
+
const { chartArea, renderer, canvasEl, datasets, datasetVisibility, features, hover, hoverConfig, chartId, width, height, categoryScale, valueScales, firstValueAxisId, layoutData, compositor, theme } = options;
|
|
9
|
+
const groupRef = ref(null);
|
|
10
|
+
const controller = renderer === "canvas" ? createCandlestickRendererCanvas() : createCandlestickRendererSvg();
|
|
11
|
+
watch(
|
|
12
|
+
[datasets, datasetVisibility, chartArea, categoryScale, valueScales, firstValueAxisId, layoutData, hoverConfig, width, height, groupRef, theme],
|
|
13
|
+
() => {
|
|
14
|
+
controller.update({
|
|
15
|
+
datasets: datasets.value,
|
|
16
|
+
datasetVisibility: datasetVisibility.value,
|
|
17
|
+
chartArea: chartArea.value,
|
|
18
|
+
features: features.value,
|
|
19
|
+
chartId,
|
|
20
|
+
width: width.value,
|
|
21
|
+
height: height.value,
|
|
22
|
+
renderer,
|
|
23
|
+
categoryScale: categoryScale.value,
|
|
24
|
+
valueScales: valueScales.value,
|
|
25
|
+
firstValueAxisId: firstValueAxisId.value,
|
|
26
|
+
layoutData: layoutData.value,
|
|
27
|
+
hover: hover.value,
|
|
28
|
+
hoverConfig: hoverConfig.value,
|
|
29
|
+
compositor,
|
|
30
|
+
canvasEl: canvasEl.value,
|
|
31
|
+
svgGroup: groupRef.value,
|
|
32
|
+
theme: theme.value
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
{ immediate: true, flush: "post" }
|
|
36
|
+
);
|
|
37
|
+
watch(hover, () => {
|
|
38
|
+
controller.applyHover(hover.value);
|
|
39
|
+
});
|
|
40
|
+
onUnmounted(() => {
|
|
41
|
+
controller.destroy();
|
|
42
|
+
});
|
|
43
|
+
function hitTest(x, y) {
|
|
44
|
+
return controller.hitTest(x, y);
|
|
45
|
+
}
|
|
46
|
+
function findAllNearest(x, y) {
|
|
47
|
+
return controller.findAllNearest(x, y);
|
|
48
|
+
}
|
|
49
|
+
function applyPropertyAnimations(store) {
|
|
50
|
+
controller.applyPropertyAnimations(store);
|
|
51
|
+
}
|
|
52
|
+
function renderFrameCycle() {
|
|
53
|
+
controller.renderFrameCycle();
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
groupRef,
|
|
57
|
+
hitTest,
|
|
58
|
+
findAllNearest,
|
|
59
|
+
applyPropertyAnimations,
|
|
60
|
+
renderFrameCycle,
|
|
61
|
+
get candlestickLayouts() {
|
|
62
|
+
return controller.layouts;
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// src/components/renderers/layers/CandlestickLayer.vue
|
|
5
68
|
var _hoisted_1 = ["clip-path"];
|
|
6
69
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
70
|
__name: "CandlestickLayer",
|
|
@@ -75,7 +138,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
138
|
}
|
|
76
139
|
});
|
|
77
140
|
return (_ctx, _cache) => {
|
|
78
|
-
return unref(methods).renderer === "svg"
|
|
141
|
+
return unref(methods).renderer === "svg" ? (openBlock(), createElementBlock("g", {
|
|
79
142
|
key: 0,
|
|
80
143
|
ref: (el) => {
|
|
81
144
|
unref(candlestick).groupRef.value = el;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useChartLayers, useCartesianLayout, provideCartesianFrame, useCartesianAnimation } from './chunk-
|
|
2
|
-
import { useChartMethods, useChartState, useChartHover } from './chunk-
|
|
3
|
-
import { SYNC_BUS_KEY } from './chunk-
|
|
1
|
+
import { useChartLayers, useCartesianLayout, provideCartesianFrame, useCartesianAnimation } from './chunk-I2BWSDNR.mjs';
|
|
2
|
+
import { useChartMethods, useChartState, useChartHover } from './chunk-QOWKMWNO.mjs';
|
|
3
|
+
import { SYNC_BUS_KEY } from './chunk-H4HLHGUW.mjs';
|
|
4
4
|
import { defineComponent, computed, inject, ref, onUnmounted, watch, shallowRef, toRef, h, openBlock, createElementBlock, Fragment, unref, createElementVNode, createCommentVNode, renderList, createBlock, resolveDynamicComponent } from 'vue';
|
|
5
|
-
import { applyAxisOverrides, calculateCartesianArea, computeNaturalAxisWidths, needsAxisPadding, buildMarkerRenderItems, computeReferenceLines, computeReferenceBands, CanvasCompositor, normalizeDataLabelConfig, shallowEqual, AnimatedPropertyStore, renderCartesianFrame, resolveNearestHit, mergeAllNearestResults, buildZoomScales } from '@primeui/chart-core';
|
|
5
|
+
import { applyAxisOverrides, calculateCartesianArea, computeNaturalAxisWidths, needsAxisPadding, buildMarkerRenderItems, computeReferenceLines, computeReferenceBands, CanvasCompositor, normalizeDataLabelConfig, shallowEqual, AnimatedPropertyStore, renderCartesianFrame, safeRenderProp, resolveNearestHit, mergeAllNearestResults, buildZoomScales } from '@primeui/chart-core';
|
|
6
6
|
|
|
7
7
|
var _hoisted_1 = { key: 0 };
|
|
8
8
|
var _hoisted_2 = ["id"];
|
|
@@ -34,6 +34,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
canvasEl: {},
|
|
35
35
|
overlayCanvasEl: {},
|
|
36
36
|
zoomState: {},
|
|
37
|
+
isDragging: { type: Boolean },
|
|
37
38
|
adaptiveDataLabelFontSize: {},
|
|
38
39
|
adaptiveDataLabelRotation: {},
|
|
39
40
|
ruleOverrides: {}
|
|
@@ -338,6 +339,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
338
339
|
customTickOverlayRefs,
|
|
339
340
|
skipHoverRepaint,
|
|
340
341
|
isZoomed: computed(() => !!(props.zoomState?.x || props.zoomState?.y)),
|
|
342
|
+
isDragging: computed(() => !!props.isDragging),
|
|
341
343
|
// enabled={false} disables every animation system. Configs merged from
|
|
342
344
|
// chart-level `animation` and all per-dataset `animation:${id}` keyed entries.
|
|
343
345
|
propertyAnimations: mergedPropertyAnimations,
|
|
@@ -354,7 +356,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
354
356
|
renderFrame: (params) => {
|
|
355
357
|
const staticCategoryScale = layoutData.value?.sharedCategoryScale;
|
|
356
358
|
const staticValueScales = layoutData.value?.valueScales;
|
|
357
|
-
const staticScatterXScales = layoutData.value?.
|
|
359
|
+
const staticScatterXScales = layoutData.value?.valueXScales;
|
|
358
360
|
const categoryChanged = !!(staticCategoryScale && params.categoryScale && params.categoryScale !== staticCategoryScale);
|
|
359
361
|
const valueChanged = !!(staticValueScales && params.valueScales && params.valueScales !== staticValueScales);
|
|
360
362
|
const scatterXChanged = !!(staticScatterXScales && params.valueXScales && params.valueXScales !== staticScatterXScales);
|
|
@@ -538,7 +540,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
538
540
|
key: item.key,
|
|
539
541
|
transform: `translate(${item.x}, ${item.y})`,
|
|
540
542
|
opacity: item.opacity !== 1 ? item.opacity : void 0
|
|
541
|
-
}, [(openBlock(), createBlock(resolveDynamicComponent(() => item.renderMarker(item.context))))], 8, _hoisted_8);
|
|
543
|
+
}, [(openBlock(), createBlock(resolveDynamicComponent(() => unref(safeRenderProp)(() => item.renderMarker(item.context), "marker"))))], 8, _hoisted_8);
|
|
542
544
|
}), 128))], 8, _hoisted_5)
|
|
543
545
|
], 64)) : createCommentVNode("", true)
|
|
544
546
|
], 64);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useChartMethods } from './chunk-
|
|
2
|
-
import { CHART_REFRESH_NONCE_KEY } from './chunk-
|
|
1
|
+
import { useChartMethods } from './chunk-QOWKMWNO.mjs';
|
|
2
|
+
import { CHART_REFRESH_NONCE_KEY } from './chunk-4Q3QUNX6.mjs';
|
|
3
3
|
import { shallowEqual } from '@primeui/chart-core';
|
|
4
4
|
import { inject, ref, watch, shallowRef, onMounted, onUnmounted } from 'vue';
|
|
5
5
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { ChartBar_default as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
1
|
+
export { ChartBar_default as default } from '../../chunks/chunk-L74BEYTD.mjs';
|
|
2
|
+
import '../../chunks/chunk-2TOEQNJ6.mjs';
|
|
3
|
+
import '../../chunks/chunk-IFZSHQDZ.mjs';
|
|
4
|
+
import '../../chunks/chunk-AKMQHU5T.mjs';
|
|
5
|
+
import '../../chunks/chunk-YZQS2YBK.mjs';
|
|
6
|
+
import '../../chunks/chunk-I2BWSDNR.mjs';
|
|
7
|
+
import '../../chunks/chunk-L6N5IYAJ.mjs';
|
|
8
|
+
import '../../chunks/chunk-ZLD5VNMP.mjs';
|
|
9
|
+
import '../../chunks/chunk-7EZEZMGG.mjs';
|
|
10
|
+
import '../../chunks/chunk-QOWKMWNO.mjs';
|
|
11
|
+
import '../../chunks/chunk-H4HLHGUW.mjs';
|
|
12
|
+
import '../../chunks/chunk-4Q3QUNX6.mjs';
|
|
13
|
+
import '../../chunks/chunk-VIHIR2BE.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ChartCandlestick_default as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
1
|
+
export { ChartCandlestick_default as default } from '../../chunks/chunk-CW2KYVYO.mjs';
|
|
2
|
+
import '../../chunks/chunk-YI3GLQYF.mjs';
|
|
3
|
+
import '../../chunks/chunk-YZQS2YBK.mjs';
|
|
4
|
+
import '../../chunks/chunk-I2BWSDNR.mjs';
|
|
5
|
+
import '../../chunks/chunk-L6N5IYAJ.mjs';
|
|
6
|
+
import '../../chunks/chunk-ZLD5VNMP.mjs';
|
|
7
|
+
import '../../chunks/chunk-7EZEZMGG.mjs';
|
|
8
|
+
import '../../chunks/chunk-QOWKMWNO.mjs';
|
|
9
|
+
import '../../chunks/chunk-H4HLHGUW.mjs';
|
|
10
|
+
import '../../chunks/chunk-4Q3QUNX6.mjs';
|
|
11
|
+
import '../../chunks/chunk-VIHIR2BE.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ChartHeatmap_default as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
1
|
+
export { ChartHeatmap_default as default } from '../../chunks/chunk-PCBF6FSQ.mjs';
|
|
2
|
+
import '../../chunks/chunk-3X27K5XC.mjs';
|
|
3
|
+
import '../../chunks/chunk-YZQS2YBK.mjs';
|
|
4
|
+
import '../../chunks/chunk-I2BWSDNR.mjs';
|
|
5
|
+
import '../../chunks/chunk-L6N5IYAJ.mjs';
|
|
6
|
+
import '../../chunks/chunk-ZLD5VNMP.mjs';
|
|
7
|
+
import '../../chunks/chunk-7EZEZMGG.mjs';
|
|
8
|
+
import '../../chunks/chunk-QOWKMWNO.mjs';
|
|
9
|
+
import '../../chunks/chunk-H4HLHGUW.mjs';
|
|
10
|
+
import '../../chunks/chunk-4Q3QUNX6.mjs';
|
|
11
|
+
import '../../chunks/chunk-VIHIR2BE.mjs';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export { ChartLine_default as default } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
1
|
+
export { ChartLine_default as default } from '../../chunks/chunk-DDRSIMLE.mjs';
|
|
2
|
+
import '../../chunks/chunk-YZQS2YBK.mjs';
|
|
3
|
+
import '../../chunks/chunk-CMJXLIEY.mjs';
|
|
4
|
+
import '../../chunks/chunk-KNNYJD4D.mjs';
|
|
5
|
+
import '../../chunks/chunk-I2BWSDNR.mjs';
|
|
6
|
+
import '../../chunks/chunk-L6N5IYAJ.mjs';
|
|
7
|
+
import '../../chunks/chunk-ZLD5VNMP.mjs';
|
|
8
|
+
import '../../chunks/chunk-7EZEZMGG.mjs';
|
|
9
|
+
import '../../chunks/chunk-QOWKMWNO.mjs';
|
|
10
|
+
import '../../chunks/chunk-H4HLHGUW.mjs';
|
|
11
|
+
import '../../chunks/chunk-4Q3QUNX6.mjs';
|
|
12
|
+
import '../../chunks/chunk-VIHIR2BE.mjs';
|