@primeui/vue-chart 0.0.1-alpha.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 +23 -0
- package/README.md +1 -0
- package/dist/Chart.parts.d.ts +39 -0
- package/dist/Chart.vue.d.ts +27 -0
- package/dist/ChartCanvas.mjs +14 -0
- package/dist/ChartCanvas.render.spec.d.ts +1 -0
- package/dist/ChartCanvas.vue.d.ts +23 -0
- package/dist/ChartStacked.spec.d.ts +1 -0
- package/dist/ChartSvg.axes.spec.d.ts +1 -0
- package/dist/ChartSvg.context.spec.d.ts +1 -0
- package/dist/ChartSvg.customizations.spec.d.ts +1 -0
- package/dist/ChartSvg.features.spec.d.ts +1 -0
- package/dist/ChartSvg.legend.spec.d.ts +1 -0
- package/dist/ChartSvg.mjs +14 -0
- package/dist/ChartSvg.registration.spec.d.ts +1 -0
- package/dist/ChartSvg.render.spec.d.ts +1 -0
- package/dist/ChartSvg.vue.d.ts +23 -0
- package/dist/_test/fixtures.d.ts +34 -0
- package/dist/bundle-discipline.spec.d.ts +1 -0
- package/dist/chunk-2D3PWFR2.mjs +214 -0
- package/dist/chunk-32XIRBZ7.mjs +87 -0
- package/dist/chunk-372K2BMN.mjs +1476 -0
- package/dist/chunk-42J32DPD.mjs +70 -0
- package/dist/chunk-44BAFHPK.mjs +51 -0
- package/dist/chunk-4CRHCZV3.mjs +142 -0
- package/dist/chunk-4NJ2PSHV.mjs +230 -0
- package/dist/chunk-4THCGGER.mjs +53 -0
- package/dist/chunk-4UVPCLJ7.mjs +70 -0
- package/dist/chunk-54DLUFIA.mjs +96 -0
- package/dist/chunk-56NMBNNX.mjs +52 -0
- package/dist/chunk-5DWO3G33.mjs +276 -0
- package/dist/chunk-5FTUGKPC.mjs +167 -0
- package/dist/chunk-5SRBQVU5.mjs +6 -0
- package/dist/chunk-62NGBLQ7.mjs +28 -0
- package/dist/chunk-644ROAHU.mjs +362 -0
- package/dist/chunk-6S4JMPKC.mjs +55 -0
- package/dist/chunk-72KINEJ6.mjs +52 -0
- package/dist/chunk-7P6ASYW6.mjs +7 -0
- package/dist/chunk-AAX7FOW3.mjs +210 -0
- package/dist/chunk-AUI5R4DA.mjs +84 -0
- package/dist/chunk-CDXF6ZTL.mjs +50 -0
- package/dist/chunk-CQHNYT2V.mjs +1692 -0
- package/dist/chunk-DLUFOM5K.mjs +218 -0
- package/dist/chunk-DOOXGOOB.mjs +123 -0
- package/dist/chunk-DYVFVVTO.mjs +97 -0
- package/dist/chunk-E2U4W5FW.mjs +288 -0
- package/dist/chunk-E4ROAOPT.mjs +291 -0
- package/dist/chunk-FFBK7Q3W.mjs +91 -0
- package/dist/chunk-FQTWLAVA.mjs +23 -0
- package/dist/chunk-FZ3PZ66C.mjs +12 -0
- package/dist/chunk-GA4VV5V4.mjs +21 -0
- package/dist/chunk-GFC24374.mjs +244 -0
- package/dist/chunk-GX2MK6VT.mjs +255 -0
- package/dist/chunk-HANSF33Z.mjs +169 -0
- package/dist/chunk-HTZVV6VV.mjs +550 -0
- package/dist/chunk-J2P5JBHC.mjs +26 -0
- package/dist/chunk-J43KLCZF.mjs +10 -0
- package/dist/chunk-JKK3D33U.mjs +64 -0
- package/dist/chunk-K326BBF7.mjs +276 -0
- package/dist/chunk-KOWFD2AE.mjs +72 -0
- package/dist/chunk-LD57I4SY.mjs +5 -0
- package/dist/chunk-MDA22SIZ.mjs +29 -0
- package/dist/chunk-NLXOJSKK.mjs +727 -0
- package/dist/chunk-O6L3PNFC.mjs +49 -0
- package/dist/chunk-PJVOZSPF.mjs +55 -0
- package/dist/chunk-PQV55JYI.mjs +38 -0
- package/dist/chunk-PSSXPTLQ.mjs +210 -0
- package/dist/chunk-RQURY2H3.mjs +40 -0
- package/dist/chunk-RRHYGSK6.mjs +29 -0
- package/dist/chunk-RSAZ7V5Z.mjs +42 -0
- package/dist/chunk-RSTIA3KM.mjs +41 -0
- package/dist/chunk-TEOO4OLV.mjs +6 -0
- package/dist/chunk-TIV2FI4S.mjs +53 -0
- package/dist/chunk-UO27BCRL.mjs +86 -0
- package/dist/chunk-VWABO23U.mjs +143 -0
- package/dist/chunk-W5M3BR6N.mjs +26 -0
- package/dist/chunk-WA735Y26.mjs +101 -0
- package/dist/chunk-WKSQR6L5.mjs +247 -0
- package/dist/chunk-WYV2MHP6.mjs +34 -0
- package/dist/chunk-XBDNMPF7.mjs +87 -0
- package/dist/chunk-YGHWUR7K.mjs +45 -0
- package/dist/chunk-YRKAI2R2.mjs +151 -0
- package/dist/chunk-ZHFL3RYO.mjs +228 -0
- package/dist/chunk-ZNINPVG7.mjs +30 -0
- package/dist/chunk-ZRCOVQQM.mjs +47 -0
- package/dist/components/charts/ChartBar.mjs +13 -0
- package/dist/components/charts/ChartBar.vue.d.ts +11 -0
- package/dist/components/charts/ChartCandlestick.mjs +11 -0
- package/dist/components/charts/ChartCandlestick.vue.d.ts +11 -0
- package/dist/components/charts/ChartHeatmap.mjs +11 -0
- package/dist/components/charts/ChartHeatmap.vue.d.ts +11 -0
- package/dist/components/charts/ChartLine.mjs +11 -0
- package/dist/components/charts/ChartLine.vue.d.ts +11 -0
- package/dist/components/charts/ChartPie.mjs +11 -0
- package/dist/components/charts/ChartPie.vue.d.ts +15 -0
- package/dist/components/charts/ChartPolar.mjs +11 -0
- package/dist/components/charts/ChartPolar.vue.d.ts +11 -0
- package/dist/components/charts/ChartRadar.mjs +11 -0
- package/dist/components/charts/ChartRadar.vue.d.ts +11 -0
- package/dist/components/charts/ChartScatter.mjs +11 -0
- package/dist/components/charts/ChartScatter.vue.d.ts +11 -0
- package/dist/components/charts/ChartTreemap.mjs +10 -0
- package/dist/components/charts/ChartTreemap.vue.d.ts +15 -0
- package/dist/components/charts/index.d.ts +2 -0
- package/dist/components/containers/ChartDecimation.mjs +6 -0
- package/dist/components/containers/ChartDecimation.vue.d.ts +29 -0
- package/dist/components/containers/ChartGroup.mjs +4 -0
- package/dist/components/containers/ChartGroup.vue.d.ts +13 -0
- package/dist/components/containers/ChartOverlap.mjs +5 -0
- package/dist/components/containers/ChartOverlap.vue.d.ts +13 -0
- package/dist/components/containers/ChartRange.mjs +6 -0
- package/dist/components/containers/ChartRange.vue.d.ts +13 -0
- package/dist/components/containers/ChartStacked.mjs +6 -0
- package/dist/components/containers/ChartStacked.vue.d.ts +21 -0
- package/dist/components/containers/ChartWaterfall.mjs +5 -0
- package/dist/components/containers/ChartWaterfall.vue.d.ts +17 -0
- package/dist/components/containers/keys.d.ts +5 -0
- package/dist/components/customizations/ChartAccessibility.mjs +9 -0
- package/dist/components/customizations/ChartAccessibility.vue.d.ts +28 -0
- package/dist/components/customizations/ChartAnnotation.mjs +5 -0
- package/dist/components/customizations/ChartAnnotation.vue.d.ts +8 -0
- package/dist/components/customizations/ChartAxisCategory.mjs +3 -0
- package/dist/components/customizations/ChartAxisCategory.vue.d.ts +4 -0
- package/dist/components/customizations/ChartAxisGroup.mjs +3 -0
- package/dist/components/customizations/ChartAxisGroup.vue.d.ts +14 -0
- package/dist/components/customizations/ChartBreadcrumb.mjs +6 -0
- package/dist/components/customizations/ChartBreadcrumb.vue.d.ts +15 -0
- package/dist/components/customizations/ChartCaption.mjs +9 -0
- package/dist/components/customizations/ChartCaption.vue.d.ts +4 -0
- package/dist/components/customizations/ChartColorLegend.mjs +9 -0
- package/dist/components/customizations/ChartColorLegend.vue.d.ts +47 -0
- package/dist/components/customizations/ChartDataLabels.mjs +9 -0
- package/dist/components/customizations/ChartDataLabels.vue.d.ts +53 -0
- package/dist/components/customizations/ChartExportMenu.mjs +9 -0
- package/dist/components/customizations/ChartExportMenu.vue.d.ts +29 -0
- package/dist/components/customizations/ChartHover.mjs +9 -0
- package/dist/components/customizations/ChartHover.vue.d.ts +4 -0
- package/dist/components/customizations/ChartLegend.mjs +9 -0
- package/dist/components/customizations/ChartLegend.vue.d.ts +7 -0
- package/dist/components/customizations/ChartNavigator.mjs +10 -0
- package/dist/components/customizations/ChartNavigator.vue.d.ts +4 -0
- package/dist/components/customizations/ChartReferenceBand.mjs +5 -0
- package/dist/components/customizations/ChartReferenceBand.vue.d.ts +4 -0
- package/dist/components/customizations/ChartReferenceLine.mjs +5 -0
- package/dist/components/customizations/ChartReferenceLine.vue.d.ts +4 -0
- package/dist/components/customizations/ChartResponsive.mjs +9 -0
- package/dist/components/customizations/ChartResponsive.vue.d.ts +12 -0
- package/dist/components/customizations/ChartTitle.mjs +9 -0
- package/dist/components/customizations/ChartTitle.vue.d.ts +4 -0
- package/dist/components/customizations/ChartTooltip.mjs +9 -0
- package/dist/components/customizations/ChartTooltip.vue.d.ts +6 -0
- package/dist/components/customizations/ChartXAxis.mjs +10 -0
- package/dist/components/customizations/ChartXAxis.vue.d.ts +24 -0
- package/dist/components/customizations/ChartYAxis.mjs +10 -0
- package/dist/components/customizations/ChartYAxis.vue.d.ts +23 -0
- package/dist/components/customizations/ChartZoom.mjs +9 -0
- package/dist/components/customizations/ChartZoom.vue.d.ts +4 -0
- package/dist/components/customizations/axisGroupKeys.d.ts +8 -0
- package/dist/components/customizations/index.d.ts +20 -0
- package/dist/components/items/ChartItem.mjs +3 -0
- package/dist/components/items/ChartItem.vue.d.ts +4 -0
- package/dist/components/items/ChartTreemapGroup.mjs +5 -0
- package/dist/components/items/ChartTreemapGroup.vue.d.ts +11 -0
- package/dist/components/items/index.d.ts +1 -0
- package/dist/components/renderers/CartesianRenderer.mjs +9 -0
- package/dist/components/renderers/CartesianRenderer.vue.d.ts +66 -0
- package/dist/components/renderers/ColorLegendRenderer.mjs +2 -0
- package/dist/components/renderers/ColorLegendRenderer.vue.d.ts +15 -0
- package/dist/components/renderers/LegendRenderer.mjs +3 -0
- package/dist/components/renderers/LegendRenderer.vue.d.ts +20 -0
- package/dist/components/renderers/NavigatorRenderer.mjs +5 -0
- package/dist/components/renderers/NavigatorRenderer.vue.d.ts +16 -0
- package/dist/components/renderers/RadialRenderer.mjs +9 -0
- package/dist/components/renderers/RadialRenderer.vue.d.ts +39 -0
- package/dist/components/renderers/RectRenderer.mjs +9 -0
- package/dist/components/renderers/RectRenderer.vue.d.ts +32 -0
- package/dist/components/renderers/TooltipRenderer.mjs +4 -0
- package/dist/components/renderers/TooltipRenderer.vue.d.ts +11 -0
- package/dist/components/renderers/layers/BarLayerCanvas.mjs +10 -0
- package/dist/components/renderers/layers/BarLayerCanvas.vue.d.ts +3 -0
- package/dist/components/renderers/layers/BarLayerSvg.mjs +10 -0
- package/dist/components/renderers/layers/BarLayerSvg.vue.d.ts +3 -0
- package/dist/components/renderers/layers/CandlestickLayer.mjs +9 -0
- package/dist/components/renderers/layers/CandlestickLayer.vue.d.ts +3 -0
- package/dist/components/renderers/layers/HeatmapLayer.mjs +9 -0
- package/dist/components/renderers/layers/HeatmapLayer.vue.d.ts +3 -0
- package/dist/components/renderers/layers/LineLayer.mjs +9 -0
- package/dist/components/renderers/layers/LineLayer.vue.d.ts +3 -0
- package/dist/components/renderers/layers/PieLayer.mjs +9 -0
- package/dist/components/renderers/layers/PieLayer.vue.d.ts +12 -0
- package/dist/components/renderers/layers/PolarLayer.mjs +9 -0
- package/dist/components/renderers/layers/PolarLayer.vue.d.ts +16 -0
- package/dist/components/renderers/layers/RadarLayer.mjs +9 -0
- package/dist/components/renderers/layers/RadarLayer.vue.d.ts +16 -0
- package/dist/components/renderers/layers/ScatterLayer.mjs +9 -0
- package/dist/components/renderers/layers/ScatterLayer.vue.d.ts +3 -0
- package/dist/composables/index.d.ts +35 -0
- package/dist/composables/useAnimationProps.d.ts +21 -0
- package/dist/composables/useAxisComponentBase.d.ts +11 -0
- package/dist/composables/useAxisRegistration.d.ts +7 -0
- package/dist/composables/useAxisTransition.d.ts +6 -0
- package/dist/composables/useBarLayer.d.ts +9 -0
- package/dist/composables/useBarRenderer.canvas.d.ts +2 -0
- package/dist/composables/useBarRenderer.svg.d.ts +2 -0
- package/dist/composables/useBarRendererBase.d.ts +3 -0
- package/dist/composables/useCandlestickRenderer.d.ts +2 -0
- package/dist/composables/useCartesianAnimation.d.ts +2 -0
- package/dist/composables/useCartesianFrame.d.ts +72 -0
- package/dist/composables/useCartesianLayout.d.ts +3 -0
- package/dist/composables/useChartContext.d.ts +40 -0
- package/dist/composables/useChartLayers.d.ts +31 -0
- package/dist/composables/useChartRefreshHook.d.ts +1 -0
- package/dist/composables/useChartSync.d.ts +2 -0
- package/dist/composables/useChartSyncCoordinator.d.ts +23 -0
- package/dist/composables/useControllerLifecycle.d.ts +18 -0
- package/dist/composables/useCustomizationRegistration.d.ts +18 -0
- package/dist/composables/useDatasetAnimationContext.d.ts +14 -0
- package/dist/composables/useDatasetRegistration.d.ts +6 -0
- package/dist/composables/useDrilldownState.d.ts +3 -0
- package/dist/composables/useFamilyRenderers.d.ts +10 -0
- package/dist/composables/useFamilyRenderers.spec.d.ts +1 -0
- package/dist/composables/useHeatmapRenderer.d.ts +2 -0
- package/dist/composables/useItemCollector.d.ts +2 -0
- package/dist/composables/useKeyboardController.d.ts +8 -0
- package/dist/composables/useKeyboardNavigation.d.ts +2 -0
- package/dist/composables/useLineRenderer.d.ts +2 -0
- package/dist/composables/useNavigatorRenderer.d.ts +7 -0
- package/dist/composables/usePieRenderer.d.ts +2 -0
- package/dist/composables/usePolarRenderer.d.ts +2 -0
- package/dist/composables/usePropertyAnimations.d.ts +4 -0
- package/dist/composables/useRadarRenderer.d.ts +2 -0
- package/dist/composables/useRadialFrame.d.ts +39 -0
- package/dist/composables/useResponsiveConfig.d.ts +8 -0
- package/dist/composables/useResponsiveDimensions.d.ts +2 -0
- package/dist/composables/useScatterRenderer.d.ts +2 -0
- package/dist/composables/useTreemapRenderer.d.ts +2 -0
- package/dist/composables/useZoomController.d.ts +9 -0
- package/dist/composables/useZoomPan.d.ts +2 -0
- package/dist/context/ChartContext.d.ts +21 -0
- package/dist/context/index.d.ts +4 -0
- package/dist/context/keys.d.ts +52 -0
- package/dist/context/syncKeys.d.ts +5 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.mjs +67 -0
- package/dist/namespace.d.ts +1 -0
- package/dist/namespace.mjs +112 -0
- package/dist/release-date.d.ts +11 -0
- package/dist/types/animation.types.d.ts +38 -0
- package/dist/types/axes.types.d.ts +27 -0
- package/dist/types/axisComponentBase.types.d.ts +5 -0
- package/dist/types/axisGroup.types.d.ts +1 -0
- package/dist/types/bar.types.d.ts +42 -0
- package/dist/types/breadcrumb.types.d.ts +12 -0
- package/dist/types/candlestick.types.d.ts +41 -0
- package/dist/types/canvas.types.d.ts +5 -0
- package/dist/types/caption.types.d.ts +8 -0
- package/dist/types/cartesian.types.d.ts +22 -0
- package/dist/types/chart.types.d.ts +51 -0
- package/dist/types/heatmap.types.d.ts +58 -0
- package/dist/types/index.d.ts +27 -0
- package/dist/types/item.types.d.ts +25 -0
- package/dist/types/keyboard.types.d.ts +24 -0
- package/dist/types/layout.types.d.ts +35 -0
- package/dist/types/legend.types.d.ts +13 -0
- package/dist/types/line.types.d.ts +64 -0
- package/dist/types/pie.types.d.ts +49 -0
- package/dist/types/polar.types.d.ts +63 -0
- package/dist/types/radar.types.d.ts +56 -0
- package/dist/types/responsiveDimensions.types.d.ts +16 -0
- package/dist/types/scatter.types.d.ts +50 -0
- package/dist/types/svg.types.d.ts +44 -0
- package/dist/types/tooltip.types.d.ts +6 -0
- package/dist/types/treemap.types.d.ts +50 -0
- package/dist/types/zoom.types.d.ts +45 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/styles.d.ts +10 -0
- package/package.json +63 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { useCartesianFrame, useCartesianFrameRegistration } from './chunk-CQHNYT2V.mjs';
|
|
2
|
+
import { useChartMethods, useChartState, useChartHover } from './chunk-HANSF33Z.mjs';
|
|
3
|
+
import { resolveBarLabels } from '@primeui/chart-core';
|
|
4
|
+
import { computed, h, ref, watch, onUnmounted } from 'vue';
|
|
5
|
+
|
|
6
|
+
function useBarLayer(useBarRenderer) {
|
|
7
|
+
const frame = useCartesianFrame();
|
|
8
|
+
const methods = useChartMethods();
|
|
9
|
+
const state = useChartState();
|
|
10
|
+
const hoverCtx = useChartHover();
|
|
11
|
+
const features = computed(() => state.value.features);
|
|
12
|
+
const bar = useBarRenderer({
|
|
13
|
+
chartArea: frame.cartesianArea,
|
|
14
|
+
renderer: methods.renderer,
|
|
15
|
+
canvasEl: frame.canvasEl,
|
|
16
|
+
datasets: computed(() => state.value.datasets),
|
|
17
|
+
datasetVisibility: computed(() => state.value.datasetVisibility),
|
|
18
|
+
hover: computed(() => hoverCtx.value.hover),
|
|
19
|
+
hoverConfig: frame.hoverConfig,
|
|
20
|
+
chartId: methods.chartId,
|
|
21
|
+
width: frame.width,
|
|
22
|
+
height: frame.height,
|
|
23
|
+
layoutData: frame.layoutData,
|
|
24
|
+
features,
|
|
25
|
+
labelConfig: frame.labelConfig,
|
|
26
|
+
compositor: frame.compositor,
|
|
27
|
+
dir: computed(() => methods.dir),
|
|
28
|
+
theme: computed(() => methods.theme)
|
|
29
|
+
});
|
|
30
|
+
const dataLabelVNodes = computed(() => {
|
|
31
|
+
const layout = frame.layoutData.value;
|
|
32
|
+
const lc = frame.labelConfig.value;
|
|
33
|
+
if (methods.renderer !== "svg" || !layout || !lc?.render) return [];
|
|
34
|
+
const visibility = state.value.datasetVisibility;
|
|
35
|
+
const nodes = [];
|
|
36
|
+
for (const [dsId, barLayout] of bar.barLayouts) {
|
|
37
|
+
if (visibility?.get(dsId) === false) continue;
|
|
38
|
+
const dsTotal = layout.datasetTotals.get(dsId) ?? 0;
|
|
39
|
+
const resolved = resolveBarLabels(barLayout.visibleBars, barLayout.colors, dsTotal, layout.orientation, lc, layout.isPercentStacked, bar.barRenderProps.get(dsId)?.name, bar.barRenderProps.get(dsId)?.data);
|
|
40
|
+
for (const lbl of resolved) {
|
|
41
|
+
const result = lc.render({ index: lbl.dataIndex, value: lbl.value, percentage: lbl.percentage, formattedText: lbl.text, label: lbl.seriesName ?? lbl.category, color: lbl.color, x: lbl.x, y: lbl.y });
|
|
42
|
+
if (result != null) {
|
|
43
|
+
nodes.push(h("g", { key: `bar-${dsId}-${lbl.dataIndex}`, transform: `translate(${lbl.x},${lbl.y})`, "text-anchor": lbl.textAnchor, "dominant-baseline": lbl.baseline }, [result]));
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return nodes;
|
|
48
|
+
});
|
|
49
|
+
useCartesianFrameRegistration({
|
|
50
|
+
type: "bar",
|
|
51
|
+
hitTest: (x, y) => bar.hitTest(x, y),
|
|
52
|
+
findNearest: (x, y) => bar.findNearest(x, y),
|
|
53
|
+
findAllNearest: (x, y) => bar.findAllNearest(x, y),
|
|
54
|
+
applyPropertyAnimations: (store) => bar.applyPropertyAnimations(store),
|
|
55
|
+
renderFrameCycle: () => bar.renderFrameCycle(),
|
|
56
|
+
dataLabelVNodes,
|
|
57
|
+
getPointPosition: (datasetId, index) => {
|
|
58
|
+
const barLayout = bar.barLayouts.get(datasetId);
|
|
59
|
+
if (barLayout) {
|
|
60
|
+
const found = barLayout.visibleBars.find((b) => b.dataIndex === index);
|
|
61
|
+
if (found) return { x: found.x, y: found.y, width: found.width, height: found.height, shape: "rect" };
|
|
62
|
+
}
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
return { bar, methods, frame };
|
|
67
|
+
}
|
|
68
|
+
function useBarRendererBase(controller, options) {
|
|
69
|
+
const { renderer, canvasEl, datasets, datasetVisibility, hover, hoverConfig, chartId, layoutData, features, labelConfig, isZoomed, compositor, dir, theme } = options;
|
|
70
|
+
const groupRef = ref(null);
|
|
71
|
+
const hasBarData = computed(() => {
|
|
72
|
+
const visibility = datasetVisibility.value;
|
|
73
|
+
for (const [id, ds] of datasets.value) {
|
|
74
|
+
if (ds.type === "bar" && visibility.get(id) !== false) return true;
|
|
75
|
+
}
|
|
76
|
+
return false;
|
|
77
|
+
});
|
|
78
|
+
watch(
|
|
79
|
+
[layoutData, datasetVisibility, features, groupRef, hoverConfig, theme, dir],
|
|
80
|
+
() => {
|
|
81
|
+
const ld = layoutData.value;
|
|
82
|
+
if (!ld) {
|
|
83
|
+
if (renderer === "svg" && groupRef.value) {
|
|
84
|
+
while (groupRef.value.firstChild) groupRef.value.removeChild(groupRef.value.firstChild);
|
|
85
|
+
}
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (renderer === "svg" && !groupRef.value) return;
|
|
89
|
+
controller.dir = dir.value;
|
|
90
|
+
controller.update({
|
|
91
|
+
datasets: datasets.value,
|
|
92
|
+
datasetVisibility: datasetVisibility.value,
|
|
93
|
+
chartArea: ld.cartesianArea,
|
|
94
|
+
width: ld.context.width,
|
|
95
|
+
height: ld.context.height,
|
|
96
|
+
chartId,
|
|
97
|
+
renderer,
|
|
98
|
+
layoutData: ld,
|
|
99
|
+
features: features.value,
|
|
100
|
+
hover: hover.value,
|
|
101
|
+
context: ld.context,
|
|
102
|
+
compositor,
|
|
103
|
+
canvasEl: canvasEl.value,
|
|
104
|
+
isZoomed: isZoomed?.value,
|
|
105
|
+
labelConfig: labelConfig?.value ?? null,
|
|
106
|
+
hoverConfig: hoverConfig.value,
|
|
107
|
+
svgGroup: groupRef.value,
|
|
108
|
+
theme: theme.value
|
|
109
|
+
});
|
|
110
|
+
},
|
|
111
|
+
{ immediate: true, flush: "post" }
|
|
112
|
+
);
|
|
113
|
+
watch(hover, () => {
|
|
114
|
+
controller.applyHover(hover.value);
|
|
115
|
+
});
|
|
116
|
+
onUnmounted(() => {
|
|
117
|
+
controller.destroy();
|
|
118
|
+
});
|
|
119
|
+
function hitTest(x, y) {
|
|
120
|
+
return controller.hitTest(x, y);
|
|
121
|
+
}
|
|
122
|
+
function findNearest(x, y) {
|
|
123
|
+
return controller.findNearest(x, y);
|
|
124
|
+
}
|
|
125
|
+
function findAllNearest(x, y) {
|
|
126
|
+
return controller.findAllNearest(x, y);
|
|
127
|
+
}
|
|
128
|
+
function applyPropertyAnimations(store) {
|
|
129
|
+
controller.applyPropertyAnimations(store);
|
|
130
|
+
}
|
|
131
|
+
function renderFrameCycle() {
|
|
132
|
+
controller.renderFrameCycle();
|
|
133
|
+
}
|
|
134
|
+
return {
|
|
135
|
+
groupRef,
|
|
136
|
+
hitTest,
|
|
137
|
+
findNearest,
|
|
138
|
+
findAllNearest,
|
|
139
|
+
hasBarData,
|
|
140
|
+
applyPropertyAnimations,
|
|
141
|
+
renderFrameCycle,
|
|
142
|
+
get barLayouts() {
|
|
143
|
+
return controller.layouts;
|
|
144
|
+
},
|
|
145
|
+
get barRenderProps() {
|
|
146
|
+
return controller.renderProps;
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export { useBarLayer, useBarRendererBase };
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { PieLayer_default } from './chunk-UO27BCRL.mjs';
|
|
2
|
+
import { RadialRenderer_default } from './chunk-4NJ2PSHV.mjs';
|
|
3
|
+
import { registerFamilyRenderer, registerChartLayer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-CQHNYT2V.mjs';
|
|
4
|
+
import { STACKED_CONTEXT_KEY } from './chunk-TEOO4OLV.mjs';
|
|
5
|
+
import { useRendererHint, useChartMethods } from './chunk-HANSF33Z.mjs';
|
|
6
|
+
import { defineComponent, useSlots, computed, useId, inject, onMounted, watch, onUnmounted, renderSlot, createCommentVNode } from 'vue';
|
|
7
|
+
import { resolveAccessor } from '@primeui/chart-core';
|
|
8
|
+
|
|
9
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "ChartPie",
|
|
11
|
+
props: {
|
|
12
|
+
id: {},
|
|
13
|
+
data: {},
|
|
14
|
+
categoryField: { type: [
|
|
15
|
+
String,
|
|
16
|
+
Function,
|
|
17
|
+
Array
|
|
18
|
+
] },
|
|
19
|
+
valueField: { type: [
|
|
20
|
+
String,
|
|
21
|
+
Function,
|
|
22
|
+
Number,
|
|
23
|
+
Array
|
|
24
|
+
] },
|
|
25
|
+
name: {},
|
|
26
|
+
color: { type: [
|
|
27
|
+
String,
|
|
28
|
+
Function,
|
|
29
|
+
Array
|
|
30
|
+
] },
|
|
31
|
+
opacity: { type: [
|
|
32
|
+
String,
|
|
33
|
+
Function,
|
|
34
|
+
Number,
|
|
35
|
+
Array
|
|
36
|
+
] },
|
|
37
|
+
hoverColor: { type: [
|
|
38
|
+
String,
|
|
39
|
+
Function,
|
|
40
|
+
Array
|
|
41
|
+
] },
|
|
42
|
+
hoverBorderColor: { type: [
|
|
43
|
+
String,
|
|
44
|
+
Function,
|
|
45
|
+
Array
|
|
46
|
+
] },
|
|
47
|
+
offset: { type: [
|
|
48
|
+
String,
|
|
49
|
+
Function,
|
|
50
|
+
Number,
|
|
51
|
+
Array
|
|
52
|
+
] },
|
|
53
|
+
outerRadius: {},
|
|
54
|
+
startAngle: {},
|
|
55
|
+
sweepAngle: {},
|
|
56
|
+
order: {},
|
|
57
|
+
stackId: {},
|
|
58
|
+
sort: {},
|
|
59
|
+
innerRadius: {},
|
|
60
|
+
sliceRadiusValue: { type: [
|
|
61
|
+
String,
|
|
62
|
+
Function,
|
|
63
|
+
Number,
|
|
64
|
+
Array
|
|
65
|
+
] },
|
|
66
|
+
renderContent: { type: Function },
|
|
67
|
+
keyField: {},
|
|
68
|
+
borderColor: { type: [
|
|
69
|
+
String,
|
|
70
|
+
Function,
|
|
71
|
+
Array
|
|
72
|
+
] },
|
|
73
|
+
borderStrokeWidth: { type: [
|
|
74
|
+
String,
|
|
75
|
+
Function,
|
|
76
|
+
Number,
|
|
77
|
+
Array
|
|
78
|
+
] },
|
|
79
|
+
borderDash: { type: [
|
|
80
|
+
Array,
|
|
81
|
+
String,
|
|
82
|
+
Function
|
|
83
|
+
] },
|
|
84
|
+
borderDashOffset: { type: [
|
|
85
|
+
String,
|
|
86
|
+
Function,
|
|
87
|
+
Number,
|
|
88
|
+
Array
|
|
89
|
+
] },
|
|
90
|
+
borderJoinStyle: {},
|
|
91
|
+
borderAlign: {},
|
|
92
|
+
borderRadius: { type: [
|
|
93
|
+
String,
|
|
94
|
+
Function,
|
|
95
|
+
Number,
|
|
96
|
+
Object,
|
|
97
|
+
Array
|
|
98
|
+
] },
|
|
99
|
+
borderSkipped: { type: [
|
|
100
|
+
String,
|
|
101
|
+
Function,
|
|
102
|
+
Boolean,
|
|
103
|
+
Array
|
|
104
|
+
] },
|
|
105
|
+
spacing: {},
|
|
106
|
+
animations: {}
|
|
107
|
+
},
|
|
108
|
+
setup(__props) {
|
|
109
|
+
useRendererHint("radial");
|
|
110
|
+
registerFamilyRenderer("radial", RadialRenderer_default);
|
|
111
|
+
registerChartLayer("pie", {
|
|
112
|
+
family: "radial",
|
|
113
|
+
frameKind: null,
|
|
114
|
+
layer: PieLayer_default
|
|
115
|
+
});
|
|
116
|
+
const props = __props;
|
|
117
|
+
const slots = useSlots();
|
|
118
|
+
const hasChildren = computed(() => !!slots.default);
|
|
119
|
+
const hasData = computed(() => !!props.data);
|
|
120
|
+
if (hasData.value && hasChildren.value) {
|
|
121
|
+
throw new Error('ChartPie: Provide either a `data` prop or <ChartItem> children, not both.\n\nData array mode:\n <ChartPie :data="data" value-field="value" category-field="name" />\n\nDeclarative mode:\n <ChartPie>\n <ChartItem :value="30" label="A" />\n </ChartPie>');
|
|
122
|
+
}
|
|
123
|
+
const autoId = props.id || `pie-${useId()}`;
|
|
124
|
+
useDatasetAnimationRegistration(() => autoId, () => props.animations);
|
|
125
|
+
const stackedContext = inject(STACKED_CONTEXT_KEY, null);
|
|
126
|
+
const autoOrder = stackedContext && props.order === void 0 ? stackedContext.getNextOrder() : void 0;
|
|
127
|
+
const effectiveOrder = props.order ?? autoOrder;
|
|
128
|
+
if (!hasChildren.value) {
|
|
129
|
+
const datasetId = computed(() => autoId);
|
|
130
|
+
const datasetProps = computed(() => ({
|
|
131
|
+
...props,
|
|
132
|
+
id: autoId,
|
|
133
|
+
order: effectiveOrder,
|
|
134
|
+
stackId: stackedContext?.stackId
|
|
135
|
+
}));
|
|
136
|
+
useDatasetRegistration({
|
|
137
|
+
id: datasetId,
|
|
138
|
+
type: "pie",
|
|
139
|
+
props: datasetProps
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
if (hasChildren.value) {
|
|
143
|
+
let buildSynthesizedProps2 = function() {
|
|
144
|
+
const items = getItems();
|
|
145
|
+
return {
|
|
146
|
+
id: autoId,
|
|
147
|
+
data: items,
|
|
148
|
+
valueField: (ctx) => ctx.datum.value,
|
|
149
|
+
categoryField: (ctx) => ctx.datum.label ?? "",
|
|
150
|
+
color: ((ctx) => ctx.datum.color ?? resolveAccessor(props.color, ctx)),
|
|
151
|
+
// Pie-level props pass through
|
|
152
|
+
innerRadius: props.innerRadius,
|
|
153
|
+
outerRadius: props.outerRadius,
|
|
154
|
+
startAngle: props.startAngle,
|
|
155
|
+
sweepAngle: props.sweepAngle,
|
|
156
|
+
name: props.name,
|
|
157
|
+
order: effectiveOrder,
|
|
158
|
+
stackId: stackedContext?.stackId,
|
|
159
|
+
spacing: props.spacing,
|
|
160
|
+
borderRadius: props.borderRadius,
|
|
161
|
+
borderColor: props.borderColor,
|
|
162
|
+
borderStrokeWidth: props.borderStrokeWidth,
|
|
163
|
+
borderAlign: props.borderAlign,
|
|
164
|
+
borderDash: props.borderDash,
|
|
165
|
+
borderDashOffset: props.borderDashOffset,
|
|
166
|
+
borderJoinStyle: props.borderJoinStyle,
|
|
167
|
+
opacity: props.opacity,
|
|
168
|
+
hoverColor: props.hoverColor,
|
|
169
|
+
hoverBorderColor: props.hoverBorderColor,
|
|
170
|
+
offset: props.offset,
|
|
171
|
+
renderContent: props.renderContent,
|
|
172
|
+
sliceRadiusValue: props.sliceRadiusValue,
|
|
173
|
+
sort: props.sort
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
const methods = useChartMethods();
|
|
177
|
+
const { getItems } = useItemCollector();
|
|
178
|
+
const resolvedType = computed(() => "pie");
|
|
179
|
+
let isRegistered = false;
|
|
180
|
+
onMounted(() => {
|
|
181
|
+
const synthesizedProps = buildSynthesizedProps2();
|
|
182
|
+
methods.registerDataset(autoId, resolvedType.value, synthesizedProps);
|
|
183
|
+
isRegistered = true;
|
|
184
|
+
});
|
|
185
|
+
watch([
|
|
186
|
+
() => props.innerRadius,
|
|
187
|
+
() => props.outerRadius,
|
|
188
|
+
() => props.startAngle,
|
|
189
|
+
() => props.sweepAngle,
|
|
190
|
+
() => props.name,
|
|
191
|
+
() => props.order,
|
|
192
|
+
() => props.spacing,
|
|
193
|
+
() => props.color,
|
|
194
|
+
() => props.renderContent,
|
|
195
|
+
() => props.sliceRadiusValue,
|
|
196
|
+
() => props.sort,
|
|
197
|
+
() => props.borderRadius,
|
|
198
|
+
() => props.borderColor,
|
|
199
|
+
() => props.borderStrokeWidth,
|
|
200
|
+
() => props.borderAlign,
|
|
201
|
+
() => props.borderDash,
|
|
202
|
+
() => props.borderDashOffset,
|
|
203
|
+
() => props.borderJoinStyle
|
|
204
|
+
], () => {
|
|
205
|
+
if (!isRegistered) return;
|
|
206
|
+
const synthesizedProps = buildSynthesizedProps2();
|
|
207
|
+
methods.updateDataset(autoId, synthesizedProps);
|
|
208
|
+
}, { flush: "post" });
|
|
209
|
+
watch(resolvedType, (newType, oldType) => {
|
|
210
|
+
if (newType !== oldType && isRegistered) {
|
|
211
|
+
methods.unregisterDataset(autoId);
|
|
212
|
+
const synthesizedProps = buildSynthesizedProps2();
|
|
213
|
+
methods.registerDataset(autoId, newType, synthesizedProps);
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
onUnmounted(() => {
|
|
217
|
+
methods.unregisterDataset(autoId);
|
|
218
|
+
isRegistered = false;
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
return (_ctx, _cache) => {
|
|
222
|
+
return hasChildren.value ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true);
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
var ChartPie_default = _sfc_main;
|
|
227
|
+
|
|
228
|
+
export { ChartPie_default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useChartMethods } from './chunk-HANSF33Z.mjs';
|
|
2
|
+
import { defineComponent, onMounted, watch, onUnmounted } from 'vue';
|
|
3
|
+
|
|
4
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "ChartAnnotation",
|
|
6
|
+
props: { render: { type: Function } },
|
|
7
|
+
setup(__props) {
|
|
8
|
+
const props = __props;
|
|
9
|
+
const methods = useChartMethods();
|
|
10
|
+
let annotationId = null;
|
|
11
|
+
onMounted(() => {
|
|
12
|
+
annotationId = methods.registerAnnotation(props.render);
|
|
13
|
+
});
|
|
14
|
+
watch(() => props.render, (newRender) => {
|
|
15
|
+
if (annotationId) methods.unregisterAnnotation(annotationId);
|
|
16
|
+
annotationId = methods.registerAnnotation(newRender);
|
|
17
|
+
});
|
|
18
|
+
onUnmounted(() => {
|
|
19
|
+
if (annotationId) {
|
|
20
|
+
methods.unregisterAnnotation(annotationId);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return null;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
var ChartAnnotation_default = _sfc_main;
|
|
29
|
+
|
|
30
|
+
export { ChartAnnotation_default };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { registerZoomController } from './chunk-CQHNYT2V.mjs';
|
|
2
|
+
import { useCustomizationRegistration } from './chunk-PQV55JYI.mjs';
|
|
3
|
+
import { defineComponent, getCurrentInstance, computed } from 'vue';
|
|
4
|
+
import { ZoomPanController } from '@primeui/chart-core';
|
|
5
|
+
|
|
6
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "ChartZoom",
|
|
8
|
+
props: {
|
|
9
|
+
mode: {},
|
|
10
|
+
wheel: { type: [Boolean, Object] },
|
|
11
|
+
drag: { type: [Boolean, Object] },
|
|
12
|
+
pan: { type: [Boolean, Object] },
|
|
13
|
+
pinch: { type: [Boolean, Object] },
|
|
14
|
+
limits: {},
|
|
15
|
+
onZoomChange: { type: Function },
|
|
16
|
+
zoomRef: {},
|
|
17
|
+
resetButton: { type: [Boolean, Object] }
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
registerZoomController(ZoomPanController);
|
|
22
|
+
const vnodeProps = getCurrentInstance()?.vnode.props || {};
|
|
23
|
+
function passThrough(value, propName) {
|
|
24
|
+
const kebab = propName.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
25
|
+
if (propName in vnodeProps || kebab in vnodeProps) return value;
|
|
26
|
+
return void 0;
|
|
27
|
+
}
|
|
28
|
+
const registrationProps = computed(() => ({
|
|
29
|
+
mode: props.mode,
|
|
30
|
+
wheel: passThrough(props.wheel, "wheel"),
|
|
31
|
+
drag: passThrough(props.drag, "drag"),
|
|
32
|
+
pan: passThrough(props.pan, "pan"),
|
|
33
|
+
pinch: passThrough(props.pinch, "pinch"),
|
|
34
|
+
limits: props.limits,
|
|
35
|
+
onZoomChange: props.onZoomChange,
|
|
36
|
+
zoomRef: props.zoomRef,
|
|
37
|
+
resetButton: passThrough(props.resetButton, "resetButton")
|
|
38
|
+
}));
|
|
39
|
+
useCustomizationRegistration("zoom", registrationProps);
|
|
40
|
+
return (_ctx, _cache) => {
|
|
41
|
+
return null;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
var ChartZoom_default = _sfc_main;
|
|
46
|
+
|
|
47
|
+
export { ChartZoom_default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { ChartBar_default as default } from '../../chunk-K326BBF7.mjs';
|
|
2
|
+
import '../../chunk-RRHYGSK6.mjs';
|
|
3
|
+
import '../../chunk-MDA22SIZ.mjs';
|
|
4
|
+
import '../../chunk-YRKAI2R2.mjs';
|
|
5
|
+
import '../../chunk-HTZVV6VV.mjs';
|
|
6
|
+
import '../../chunk-CQHNYT2V.mjs';
|
|
7
|
+
import '../../chunk-TEOO4OLV.mjs';
|
|
8
|
+
import '../../chunk-PQV55JYI.mjs';
|
|
9
|
+
import '../../chunk-J43KLCZF.mjs';
|
|
10
|
+
import '../../chunk-HANSF33Z.mjs';
|
|
11
|
+
import '../../chunk-LD57I4SY.mjs';
|
|
12
|
+
import '../../chunk-FZ3PZ66C.mjs';
|
|
13
|
+
import '../../chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartBarProps } from '../../types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChartBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChartBarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
5
|
+
default?: (props: {}) => any;
|
|
6
|
+
}>;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ChartCandlestick_default as default } from '../../chunk-WKSQR6L5.mjs';
|
|
2
|
+
import '../../chunk-FFBK7Q3W.mjs';
|
|
3
|
+
import '../../chunk-HTZVV6VV.mjs';
|
|
4
|
+
import '../../chunk-CQHNYT2V.mjs';
|
|
5
|
+
import '../../chunk-TEOO4OLV.mjs';
|
|
6
|
+
import '../../chunk-PQV55JYI.mjs';
|
|
7
|
+
import '../../chunk-J43KLCZF.mjs';
|
|
8
|
+
import '../../chunk-HANSF33Z.mjs';
|
|
9
|
+
import '../../chunk-LD57I4SY.mjs';
|
|
10
|
+
import '../../chunk-FZ3PZ66C.mjs';
|
|
11
|
+
import '../../chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartCandlestickProps } from '../../types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChartCandlestickProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChartCandlestickProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
5
|
+
default?: (props: {}) => any;
|
|
6
|
+
}>;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ChartHeatmap_default as default } from '../../chunk-DLUFOM5K.mjs';
|
|
2
|
+
import '../../chunk-54DLUFIA.mjs';
|
|
3
|
+
import '../../chunk-HTZVV6VV.mjs';
|
|
4
|
+
import '../../chunk-CQHNYT2V.mjs';
|
|
5
|
+
import '../../chunk-TEOO4OLV.mjs';
|
|
6
|
+
import '../../chunk-PQV55JYI.mjs';
|
|
7
|
+
import '../../chunk-J43KLCZF.mjs';
|
|
8
|
+
import '../../chunk-HANSF33Z.mjs';
|
|
9
|
+
import '../../chunk-LD57I4SY.mjs';
|
|
10
|
+
import '../../chunk-FZ3PZ66C.mjs';
|
|
11
|
+
import '../../chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartHeatmapProps } from '../../types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChartHeatmapProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChartHeatmapProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
5
|
+
default?: (props: {}) => any;
|
|
6
|
+
}>;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ChartLine_default as default } from '../../chunk-644ROAHU.mjs';
|
|
2
|
+
import '../../chunk-HTZVV6VV.mjs';
|
|
3
|
+
import '../../chunk-4CRHCZV3.mjs';
|
|
4
|
+
import '../../chunk-CQHNYT2V.mjs';
|
|
5
|
+
import '../../chunk-TEOO4OLV.mjs';
|
|
6
|
+
import '../../chunk-PQV55JYI.mjs';
|
|
7
|
+
import '../../chunk-J43KLCZF.mjs';
|
|
8
|
+
import '../../chunk-HANSF33Z.mjs';
|
|
9
|
+
import '../../chunk-LD57I4SY.mjs';
|
|
10
|
+
import '../../chunk-FZ3PZ66C.mjs';
|
|
11
|
+
import '../../chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartLineProps } from '../../types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChartLineProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChartLineProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
5
|
+
default?: (props: {}) => any;
|
|
6
|
+
}>;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ChartPie_default as default } from '../../chunk-ZHFL3RYO.mjs';
|
|
2
|
+
import '../../chunk-UO27BCRL.mjs';
|
|
3
|
+
import '../../chunk-4NJ2PSHV.mjs';
|
|
4
|
+
import '../../chunk-CQHNYT2V.mjs';
|
|
5
|
+
import '../../chunk-TEOO4OLV.mjs';
|
|
6
|
+
import '../../chunk-PQV55JYI.mjs';
|
|
7
|
+
import '../../chunk-J43KLCZF.mjs';
|
|
8
|
+
import '../../chunk-HANSF33Z.mjs';
|
|
9
|
+
import '../../chunk-LD57I4SY.mjs';
|
|
10
|
+
import '../../chunk-FZ3PZ66C.mjs';
|
|
11
|
+
import '../../chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ChartPieProps } from '../../types';
|
|
2
|
+
type __VLS_Props = ChartPieProps;
|
|
3
|
+
declare var __VLS_1: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ChartPolar_default as default } from '../../chunk-AAX7FOW3.mjs';
|
|
2
|
+
import '../../chunk-JKK3D33U.mjs';
|
|
3
|
+
import '../../chunk-4NJ2PSHV.mjs';
|
|
4
|
+
import '../../chunk-CQHNYT2V.mjs';
|
|
5
|
+
import '../../chunk-TEOO4OLV.mjs';
|
|
6
|
+
import '../../chunk-PQV55JYI.mjs';
|
|
7
|
+
import '../../chunk-J43KLCZF.mjs';
|
|
8
|
+
import '../../chunk-HANSF33Z.mjs';
|
|
9
|
+
import '../../chunk-LD57I4SY.mjs';
|
|
10
|
+
import '../../chunk-FZ3PZ66C.mjs';
|
|
11
|
+
import '../../chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartPolarProps } from '../../types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChartPolarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChartPolarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
5
|
+
default?: (props: {}) => any;
|
|
6
|
+
}>;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ChartRadar_default as default } from '../../chunk-E2U4W5FW.mjs';
|
|
2
|
+
import '../../chunk-DOOXGOOB.mjs';
|
|
3
|
+
import '../../chunk-4NJ2PSHV.mjs';
|
|
4
|
+
import '../../chunk-CQHNYT2V.mjs';
|
|
5
|
+
import '../../chunk-TEOO4OLV.mjs';
|
|
6
|
+
import '../../chunk-PQV55JYI.mjs';
|
|
7
|
+
import '../../chunk-J43KLCZF.mjs';
|
|
8
|
+
import '../../chunk-HANSF33Z.mjs';
|
|
9
|
+
import '../../chunk-LD57I4SY.mjs';
|
|
10
|
+
import '../../chunk-FZ3PZ66C.mjs';
|
|
11
|
+
import '../../chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartRadarProps } from '../../types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChartRadarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChartRadarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
5
|
+
default?: (props: {}) => any;
|
|
6
|
+
}>;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ChartScatter_default as default } from '../../chunk-5DWO3G33.mjs';
|
|
2
|
+
import '../../chunk-HTZVV6VV.mjs';
|
|
3
|
+
import '../../chunk-DYVFVVTO.mjs';
|
|
4
|
+
import '../../chunk-CQHNYT2V.mjs';
|
|
5
|
+
import '../../chunk-TEOO4OLV.mjs';
|
|
6
|
+
import '../../chunk-PQV55JYI.mjs';
|
|
7
|
+
import '../../chunk-J43KLCZF.mjs';
|
|
8
|
+
import '../../chunk-HANSF33Z.mjs';
|
|
9
|
+
import '../../chunk-LD57I4SY.mjs';
|
|
10
|
+
import '../../chunk-FZ3PZ66C.mjs';
|
|
11
|
+
import '../../chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartScatterProps } from '../../types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChartScatterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChartScatterProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
5
|
+
default?: (props: {}) => any;
|
|
6
|
+
}>;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|