@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
package/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
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.
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# PrimeUI Vue Chart
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export { default as Canvas } from './ChartCanvas.vue';
|
|
2
|
+
export { default as Svg } from './ChartSvg.vue';
|
|
3
|
+
export { default as Bar } from './components/charts/ChartBar.vue';
|
|
4
|
+
export { default as Candlestick } from './components/charts/ChartCandlestick.vue';
|
|
5
|
+
export { default as Heatmap } from './components/charts/ChartHeatmap.vue';
|
|
6
|
+
export { default as Line } from './components/charts/ChartLine.vue';
|
|
7
|
+
export { default as Pie } from './components/charts/ChartPie.vue';
|
|
8
|
+
export { default as Polar } from './components/charts/ChartPolar.vue';
|
|
9
|
+
export { default as Radar } from './components/charts/ChartRadar.vue';
|
|
10
|
+
export { default as Scatter } from './components/charts/ChartScatter.vue';
|
|
11
|
+
export { default as Treemap } from './components/charts/ChartTreemap.vue';
|
|
12
|
+
export { default as Item } from './components/items/ChartItem.vue';
|
|
13
|
+
export { default as TreemapGroup } from './components/items/ChartTreemapGroup.vue';
|
|
14
|
+
export { default as Accessibility } from './components/customizations/ChartAccessibility.vue';
|
|
15
|
+
export { default as Annotation } from './components/customizations/ChartAnnotation.vue';
|
|
16
|
+
export { default as AxisCategory } from './components/customizations/ChartAxisCategory.vue';
|
|
17
|
+
export { default as AxisGroup } from './components/customizations/ChartAxisGroup.vue';
|
|
18
|
+
export { default as Breadcrumb } from './components/customizations/ChartBreadcrumb.vue';
|
|
19
|
+
export { default as Caption } from './components/customizations/ChartCaption.vue';
|
|
20
|
+
export { default as ColorLegend } from './components/customizations/ChartColorLegend.vue';
|
|
21
|
+
export { default as DataLabels } from './components/customizations/ChartDataLabels.vue';
|
|
22
|
+
export { default as ExportMenu } from './components/customizations/ChartExportMenu.vue';
|
|
23
|
+
export { default as Hover } from './components/customizations/ChartHover.vue';
|
|
24
|
+
export { default as Legend } from './components/customizations/ChartLegend.vue';
|
|
25
|
+
export { default as Navigator } from './components/customizations/ChartNavigator.vue';
|
|
26
|
+
export { default as ReferenceBand } from './components/customizations/ChartReferenceBand.vue';
|
|
27
|
+
export { default as ReferenceLine } from './components/customizations/ChartReferenceLine.vue';
|
|
28
|
+
export { default as Responsive } from './components/customizations/ChartResponsive.vue';
|
|
29
|
+
export { default as Title } from './components/customizations/ChartTitle.vue';
|
|
30
|
+
export { default as Tooltip } from './components/customizations/ChartTooltip.vue';
|
|
31
|
+
export { default as XAxis } from './components/customizations/ChartXAxis.vue';
|
|
32
|
+
export { default as YAxis } from './components/customizations/ChartYAxis.vue';
|
|
33
|
+
export { default as Zoom } from './components/customizations/ChartZoom.vue';
|
|
34
|
+
export { default as Decimation } from './components/containers/ChartDecimation.vue';
|
|
35
|
+
export { default as Group } from './components/containers/ChartGroup.vue';
|
|
36
|
+
export { default as Overlap } from './components/containers/ChartOverlap.vue';
|
|
37
|
+
export { default as Range } from './components/containers/ChartRange.vue';
|
|
38
|
+
export { default as Stacked } from './components/containers/ChartStacked.vue';
|
|
39
|
+
export { default as Waterfall } from './components/containers/ChartWaterfall.vue';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ChartCanvasProps } from './types';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChartCanvasProps & {
|
|
5
|
+
renderer: "svg" | "canvas";
|
|
6
|
+
}, {
|
|
7
|
+
redraw: () => void;
|
|
8
|
+
$plugins: import("vue").ShallowRef<Record<string, unknown>, Record<string, unknown>>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
resize: (width: number, height: number) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<ChartCanvasProps & {
|
|
12
|
+
renderer: "svg" | "canvas";
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
onResize?: ((width: number, height: number) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
responsive: boolean;
|
|
17
|
+
dir: "ltr" | "rtl" | "auto";
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
19
|
+
default?: (props: {
|
|
20
|
+
plugins: Record<string, unknown>;
|
|
21
|
+
}) => any;
|
|
22
|
+
}>;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { ChartCanvas_default as default } from './chunk-72KINEJ6.mjs';
|
|
2
|
+
import './chunk-372K2BMN.mjs';
|
|
3
|
+
import './chunk-5FTUGKPC.mjs';
|
|
4
|
+
import './chunk-E4ROAOPT.mjs';
|
|
5
|
+
import './chunk-GX2MK6VT.mjs';
|
|
6
|
+
import './chunk-CQHNYT2V.mjs';
|
|
7
|
+
import './chunk-TEOO4OLV.mjs';
|
|
8
|
+
import './chunk-PQV55JYI.mjs';
|
|
9
|
+
import './chunk-J43KLCZF.mjs';
|
|
10
|
+
import './chunk-NLXOJSKK.mjs';
|
|
11
|
+
import './chunk-HANSF33Z.mjs';
|
|
12
|
+
import './chunk-LD57I4SY.mjs';
|
|
13
|
+
import './chunk-FZ3PZ66C.mjs';
|
|
14
|
+
import './chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ChartCanvasProps } from './types';
|
|
2
|
+
declare var __VLS_11: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_11) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ChartCanvasProps, {
|
|
7
|
+
redraw: () => void | undefined;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
resize: (width: number, height: number) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<ChartCanvasProps> & Readonly<{
|
|
11
|
+
onResize?: ((width: number, height: number) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
animation: import("packages/components/chart/chart-types/src/animations.types.js").AnimationSpec | false;
|
|
14
|
+
responsive: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { ChartSvg_default as default } from './chunk-44BAFHPK.mjs';
|
|
2
|
+
import './chunk-372K2BMN.mjs';
|
|
3
|
+
import './chunk-5FTUGKPC.mjs';
|
|
4
|
+
import './chunk-E4ROAOPT.mjs';
|
|
5
|
+
import './chunk-GX2MK6VT.mjs';
|
|
6
|
+
import './chunk-CQHNYT2V.mjs';
|
|
7
|
+
import './chunk-TEOO4OLV.mjs';
|
|
8
|
+
import './chunk-PQV55JYI.mjs';
|
|
9
|
+
import './chunk-J43KLCZF.mjs';
|
|
10
|
+
import './chunk-NLXOJSKK.mjs';
|
|
11
|
+
import './chunk-HANSF33Z.mjs';
|
|
12
|
+
import './chunk-LD57I4SY.mjs';
|
|
13
|
+
import './chunk-FZ3PZ66C.mjs';
|
|
14
|
+
import './chunk-7P6ASYW6.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ChartSvgProps } from './types';
|
|
2
|
+
declare var __VLS_11: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_11) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ChartSvgProps, {
|
|
7
|
+
redraw: () => void | undefined;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
resize: (width: number, height: number) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<ChartSvgProps> & Readonly<{
|
|
11
|
+
onResize?: ((width: number, height: number) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
animation: import("packages/components/chart/chart-types/src/animations.types.js").AnimationSpec | false;
|
|
14
|
+
responsive: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type VueWrapper } from '@vue/test-utils';
|
|
2
|
+
import { type Component } from 'vue';
|
|
3
|
+
import ChartSvg from '../ChartSvg.vue';
|
|
4
|
+
import ChartCanvas from '../ChartCanvas.vue';
|
|
5
|
+
import ChartBar from '../components/charts/ChartBar.vue';
|
|
6
|
+
import ChartLine from '../components/charts/ChartLine.vue';
|
|
7
|
+
import ChartPie from '../components/charts/ChartPie.vue';
|
|
8
|
+
import ChartScatter from '../components/charts/ChartScatter.vue';
|
|
9
|
+
import ChartRadar from '../components/charts/ChartRadar.vue';
|
|
10
|
+
import ChartPolar from '../components/charts/ChartPolar.vue';
|
|
11
|
+
import ChartCandlestick from '../components/charts/ChartCandlestick.vue';
|
|
12
|
+
import ChartHeatmap from '../components/charts/ChartHeatmap.vue';
|
|
13
|
+
import ChartTreemap from '../components/charts/ChartTreemap.vue';
|
|
14
|
+
export interface ChartFixture {
|
|
15
|
+
label: string;
|
|
16
|
+
Comp: Component;
|
|
17
|
+
type: string;
|
|
18
|
+
props: Record<string, unknown>;
|
|
19
|
+
}
|
|
20
|
+
/** One realistic minimal fixture per chart type, keyed by the dataset `type`
|
|
21
|
+
* the component registers. Field names match each ChartX.vue's defineProps. */
|
|
22
|
+
export declare const CHART_FIXTURES: ChartFixture[];
|
|
23
|
+
export interface MountedChart {
|
|
24
|
+
wrapper: VueWrapper<any>;
|
|
25
|
+
/** The reactive ChartState read from inside the provider (datasets, visibility, …). */
|
|
26
|
+
state: () => any;
|
|
27
|
+
}
|
|
28
|
+
/** Mount a chart container with arbitrary child nodes plus a hidden probe that
|
|
29
|
+
* captures the injected ChartState so tests can assert registration/visibility. */
|
|
30
|
+
export declare function mountChart(children: unknown, opts?: {
|
|
31
|
+
renderer?: 'svg' | 'canvas';
|
|
32
|
+
props?: Record<string, unknown>;
|
|
33
|
+
}): Promise<MountedChart>;
|
|
34
|
+
export { ChartBar, ChartLine, ChartPie, ChartScatter, ChartRadar, ChartPolar, ChartCandlestick, ChartHeatmap, ChartTreemap, ChartSvg, ChartCanvas };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { RectRenderer_default } from './chunk-VWABO23U.mjs';
|
|
2
|
+
import { registerFamilyRenderer, useDatasetAnimationRegistration, useDatasetRegistration, useItemCollector } from './chunk-CQHNYT2V.mjs';
|
|
3
|
+
import { useRendererHint, useChartMethods } from './chunk-HANSF33Z.mjs';
|
|
4
|
+
import { defineComponent, useSlots, computed, onMounted, watch, onUnmounted, renderSlot, createCommentVNode } from 'vue';
|
|
5
|
+
|
|
6
|
+
var treemapIdCounter = 0;
|
|
7
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "ChartTreemap",
|
|
9
|
+
props: {
|
|
10
|
+
id: {},
|
|
11
|
+
data: {},
|
|
12
|
+
categoryField: {},
|
|
13
|
+
valueField: {},
|
|
14
|
+
nodeId: {},
|
|
15
|
+
parentField: {},
|
|
16
|
+
color: {},
|
|
17
|
+
opacity: {},
|
|
18
|
+
hoverColor: {},
|
|
19
|
+
hoverBorderColor: {},
|
|
20
|
+
colorValueField: {},
|
|
21
|
+
colorScale: {},
|
|
22
|
+
colorRange: {},
|
|
23
|
+
layout: {},
|
|
24
|
+
spacing: {},
|
|
25
|
+
groupPadding: {},
|
|
26
|
+
labelMinSize: {},
|
|
27
|
+
showGroupLabel: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: void 0
|
|
30
|
+
},
|
|
31
|
+
groupLabelHeight: {},
|
|
32
|
+
secondaryLabelField: {},
|
|
33
|
+
levels: {},
|
|
34
|
+
rootLabel: {},
|
|
35
|
+
drilldown: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: void 0
|
|
38
|
+
},
|
|
39
|
+
drilldownMode: {},
|
|
40
|
+
interactByLeaf: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: void 0
|
|
43
|
+
},
|
|
44
|
+
renderContent: {},
|
|
45
|
+
name: {},
|
|
46
|
+
order: {},
|
|
47
|
+
borderColor: {},
|
|
48
|
+
borderStrokeWidth: {},
|
|
49
|
+
borderDash: {},
|
|
50
|
+
borderDashOffset: {},
|
|
51
|
+
borderJoinStyle: {},
|
|
52
|
+
borderAlign: {},
|
|
53
|
+
borderRadius: {},
|
|
54
|
+
keyField: {},
|
|
55
|
+
animations: {}
|
|
56
|
+
},
|
|
57
|
+
setup(__props) {
|
|
58
|
+
useRendererHint("rect");
|
|
59
|
+
registerFamilyRenderer("rect", RectRenderer_default);
|
|
60
|
+
const props = __props;
|
|
61
|
+
function generateTreemapId() {
|
|
62
|
+
return `treemap-auto-${++treemapIdCounter}`;
|
|
63
|
+
}
|
|
64
|
+
const slots = useSlots();
|
|
65
|
+
const hasChildren = computed(() => !!slots.default);
|
|
66
|
+
const hasData = computed(() => !!props.data);
|
|
67
|
+
if (hasData.value && hasChildren.value) {
|
|
68
|
+
throw new Error('ChartTreemap: Provide either a `data` prop or <ChartItem>/<ChartTreemapGroup> children, not both.\n\nData array mode:\n <ChartTreemap :data="data" value="marketCap" label="name" />\n\nDeclarative mode:\n <ChartTreemap>\n <ChartTreemapGroup label="Tech">\n <ChartItem :value="45" label="Apple" />\n </ChartTreemapGroup>\n </ChartTreemap>');
|
|
69
|
+
}
|
|
70
|
+
const autoId = props.id || generateTreemapId();
|
|
71
|
+
useDatasetAnimationRegistration(() => autoId, () => props.animations);
|
|
72
|
+
if (!hasChildren.value) {
|
|
73
|
+
const datasetId = computed(() => autoId);
|
|
74
|
+
const datasetProps = computed(() => {
|
|
75
|
+
const p = {
|
|
76
|
+
id: autoId,
|
|
77
|
+
data: props.data,
|
|
78
|
+
categoryField: props.categoryField,
|
|
79
|
+
valueField: props.valueField,
|
|
80
|
+
nodeId: props.nodeId,
|
|
81
|
+
parentField: props.parentField,
|
|
82
|
+
color: props.color,
|
|
83
|
+
colorValueField: props.colorValueField,
|
|
84
|
+
colorScale: props.colorScale,
|
|
85
|
+
colorRange: props.colorRange,
|
|
86
|
+
layout: props.layout,
|
|
87
|
+
spacing: props.spacing,
|
|
88
|
+
groupPadding: props.groupPadding,
|
|
89
|
+
labelMinSize: props.labelMinSize,
|
|
90
|
+
groupLabelHeight: props.groupLabelHeight,
|
|
91
|
+
secondaryLabelField: props.secondaryLabelField,
|
|
92
|
+
levels: props.levels,
|
|
93
|
+
rootLabel: props.rootLabel,
|
|
94
|
+
drilldownMode: props.drilldownMode,
|
|
95
|
+
renderContent: props.renderContent,
|
|
96
|
+
name: props.name,
|
|
97
|
+
order: props.order,
|
|
98
|
+
borderColor: props.borderColor,
|
|
99
|
+
borderStrokeWidth: props.borderStrokeWidth,
|
|
100
|
+
borderDash: props.borderDash,
|
|
101
|
+
borderDashOffset: props.borderDashOffset,
|
|
102
|
+
borderJoinStyle: props.borderJoinStyle,
|
|
103
|
+
borderAlign: props.borderAlign,
|
|
104
|
+
borderRadius: props.borderRadius,
|
|
105
|
+
opacity: props.opacity,
|
|
106
|
+
hoverColor: props.hoverColor,
|
|
107
|
+
hoverBorderColor: props.hoverBorderColor
|
|
108
|
+
};
|
|
109
|
+
if (props.drilldown) p.drilldown = true;
|
|
110
|
+
if (props.showGroupLabel !== void 0) p.showGroupLabel = props.showGroupLabel;
|
|
111
|
+
if (props.interactByLeaf !== void 0) p.interactByLeaf = props.interactByLeaf;
|
|
112
|
+
return p;
|
|
113
|
+
});
|
|
114
|
+
useDatasetRegistration({
|
|
115
|
+
id: datasetId,
|
|
116
|
+
type: "treemap",
|
|
117
|
+
props: datasetProps
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
if (hasChildren.value) {
|
|
121
|
+
let buildSynthesizedProps2 = function() {
|
|
122
|
+
const items = getItems();
|
|
123
|
+
const hasHierarchy = items.some((item) => item.nodeId != null);
|
|
124
|
+
const hasSecondaryLabel = items.some((item) => item.secondaryLabel != null);
|
|
125
|
+
const p = {
|
|
126
|
+
id: autoId,
|
|
127
|
+
data: items,
|
|
128
|
+
categoryField: "label",
|
|
129
|
+
valueField: "value",
|
|
130
|
+
name: props.name,
|
|
131
|
+
nodeId: hasHierarchy ? "nodeId" : props.nodeId,
|
|
132
|
+
parentField: hasHierarchy ? "parentId" : props.parentField,
|
|
133
|
+
color: props.color,
|
|
134
|
+
colorValueField: props.colorValueField,
|
|
135
|
+
colorScale: props.colorScale,
|
|
136
|
+
colorRange: props.colorRange,
|
|
137
|
+
layout: props.layout,
|
|
138
|
+
spacing: props.spacing,
|
|
139
|
+
groupPadding: props.groupPadding,
|
|
140
|
+
labelMinSize: props.labelMinSize,
|
|
141
|
+
groupLabelHeight: props.groupLabelHeight,
|
|
142
|
+
secondaryLabelField: hasSecondaryLabel ? "secondaryLabel" : props.secondaryLabelField,
|
|
143
|
+
levels: props.levels,
|
|
144
|
+
rootLabel: props.rootLabel,
|
|
145
|
+
drilldownMode: props.drilldownMode,
|
|
146
|
+
renderContent: props.renderContent,
|
|
147
|
+
borderColor: props.borderColor,
|
|
148
|
+
borderStrokeWidth: props.borderStrokeWidth,
|
|
149
|
+
borderDash: props.borderDash,
|
|
150
|
+
borderDashOffset: props.borderDashOffset,
|
|
151
|
+
borderJoinStyle: props.borderJoinStyle,
|
|
152
|
+
borderAlign: props.borderAlign,
|
|
153
|
+
borderRadius: props.borderRadius,
|
|
154
|
+
opacity: props.opacity,
|
|
155
|
+
hoverColor: props.hoverColor,
|
|
156
|
+
hoverBorderColor: props.hoverBorderColor
|
|
157
|
+
};
|
|
158
|
+
if (props.drilldown) p.drilldown = true;
|
|
159
|
+
if (props.showGroupLabel !== void 0) p.showGroupLabel = props.showGroupLabel;
|
|
160
|
+
if (props.interactByLeaf !== void 0) p.interactByLeaf = props.interactByLeaf;
|
|
161
|
+
return p;
|
|
162
|
+
};
|
|
163
|
+
const methods = useChartMethods();
|
|
164
|
+
const { getItems } = useItemCollector();
|
|
165
|
+
let isRegistered = false;
|
|
166
|
+
onMounted(() => {
|
|
167
|
+
const synthesizedProps = buildSynthesizedProps2();
|
|
168
|
+
methods.registerDataset(autoId, "treemap", synthesizedProps);
|
|
169
|
+
isRegistered = true;
|
|
170
|
+
});
|
|
171
|
+
watch([
|
|
172
|
+
() => props.name,
|
|
173
|
+
() => props.color,
|
|
174
|
+
() => props.colorValueField,
|
|
175
|
+
() => props.colorScale,
|
|
176
|
+
() => props.colorRange,
|
|
177
|
+
() => props.layout,
|
|
178
|
+
() => props.spacing,
|
|
179
|
+
() => props.groupPadding,
|
|
180
|
+
() => props.labelMinSize,
|
|
181
|
+
() => props.showGroupLabel,
|
|
182
|
+
() => props.groupLabelHeight,
|
|
183
|
+
() => props.secondaryLabelField,
|
|
184
|
+
() => props.levels,
|
|
185
|
+
() => props.rootLabel,
|
|
186
|
+
() => props.drilldown,
|
|
187
|
+
() => props.drilldownMode,
|
|
188
|
+
() => props.interactByLeaf,
|
|
189
|
+
() => props.renderContent,
|
|
190
|
+
() => props.borderColor,
|
|
191
|
+
() => props.borderStrokeWidth,
|
|
192
|
+
() => props.borderDash,
|
|
193
|
+
() => props.borderDashOffset,
|
|
194
|
+
() => props.borderJoinStyle,
|
|
195
|
+
() => props.borderAlign,
|
|
196
|
+
() => props.borderRadius
|
|
197
|
+
], () => {
|
|
198
|
+
if (!isRegistered) return;
|
|
199
|
+
const synthesizedProps = buildSynthesizedProps2();
|
|
200
|
+
methods.updateDataset(autoId, synthesizedProps);
|
|
201
|
+
}, { flush: "post" });
|
|
202
|
+
onUnmounted(() => {
|
|
203
|
+
methods.unregisterDataset(autoId);
|
|
204
|
+
isRegistered = false;
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
return (_ctx, _cache) => {
|
|
208
|
+
return hasChildren.value ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true);
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
var ChartTreemap_default = _sfc_main;
|
|
213
|
+
|
|
214
|
+
export { ChartTreemap_default };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { AXIS_GROUP_REGISTRY_KEY } from './chunk-5SRBQVU5.mjs';
|
|
2
|
+
import { useAxisComponentBase } from './chunk-CQHNYT2V.mjs';
|
|
3
|
+
import { defineComponent, useSlots, computed, provide, renderSlot } from 'vue';
|
|
4
|
+
|
|
5
|
+
var __default__ = { inheritAttrs: false };
|
|
6
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
...__default__,
|
|
8
|
+
__name: "ChartXAxis",
|
|
9
|
+
props: {
|
|
10
|
+
position: { default: "bottom" },
|
|
11
|
+
render: {},
|
|
12
|
+
renderTick: {},
|
|
13
|
+
id: { default: "default" },
|
|
14
|
+
type: {},
|
|
15
|
+
min: {},
|
|
16
|
+
max: {},
|
|
17
|
+
label: {},
|
|
18
|
+
labelFontSize: {},
|
|
19
|
+
titleGap: {},
|
|
20
|
+
tickCount: {},
|
|
21
|
+
tickFormat: {},
|
|
22
|
+
tickRotation: {},
|
|
23
|
+
tickStyle: {},
|
|
24
|
+
color: {},
|
|
25
|
+
gridLines: { type: Boolean },
|
|
26
|
+
gridColor: {},
|
|
27
|
+
gridStyle: {},
|
|
28
|
+
gridStrokeWidth: {},
|
|
29
|
+
gridShape: {},
|
|
30
|
+
category: {},
|
|
31
|
+
gridOpacity: {},
|
|
32
|
+
tickInterval: {},
|
|
33
|
+
minorGridLines: { type: Boolean },
|
|
34
|
+
minorGridColor: {},
|
|
35
|
+
minorGridStrokeWidth: {},
|
|
36
|
+
minorGridOpacity: {},
|
|
37
|
+
minorGridCount: {},
|
|
38
|
+
minorGridStyle: {},
|
|
39
|
+
alternateGridColor: {},
|
|
40
|
+
alternateGridOpacity: {},
|
|
41
|
+
visible: { type: Boolean },
|
|
42
|
+
scale: {},
|
|
43
|
+
timezone: {},
|
|
44
|
+
dateTimeFormats: {},
|
|
45
|
+
tickConfig: {},
|
|
46
|
+
minUnit: {},
|
|
47
|
+
gapless: { type: Boolean },
|
|
48
|
+
grouping: {},
|
|
49
|
+
autoRotate: { type: Boolean },
|
|
50
|
+
autoRotateAngle: {},
|
|
51
|
+
labelMinSpacing: {},
|
|
52
|
+
autoSkip: { type: Boolean },
|
|
53
|
+
minGridDistance: {},
|
|
54
|
+
startFromZero: { type: Boolean },
|
|
55
|
+
reversed: { type: Boolean },
|
|
56
|
+
softMin: {},
|
|
57
|
+
softMax: {},
|
|
58
|
+
tickPosition: {},
|
|
59
|
+
minorTicks: { type: Boolean },
|
|
60
|
+
minorTickLength: {},
|
|
61
|
+
minorTickColor: {},
|
|
62
|
+
minorTickStrokeWidth: {},
|
|
63
|
+
showFirstLabel: { type: Boolean },
|
|
64
|
+
showLastLabel: { type: Boolean },
|
|
65
|
+
showLine: { type: Boolean },
|
|
66
|
+
showTicks: { type: Boolean },
|
|
67
|
+
showLabels: { type: Boolean },
|
|
68
|
+
chartPaddingMin: {},
|
|
69
|
+
chartPaddingMax: {}
|
|
70
|
+
},
|
|
71
|
+
setup(__props) {
|
|
72
|
+
const props = __props;
|
|
73
|
+
const slots = useSlots();
|
|
74
|
+
const hasChildren = !!slots.default;
|
|
75
|
+
const axisId = computed(() => props.id);
|
|
76
|
+
const { collectorValue } = useAxisComponentBase("x", axisId, props, hasChildren);
|
|
77
|
+
if (hasChildren) {
|
|
78
|
+
provide(AXIS_GROUP_REGISTRY_KEY, collectorValue);
|
|
79
|
+
}
|
|
80
|
+
return (_ctx, _cache) => {
|
|
81
|
+
return renderSlot(_ctx.$slots, "default");
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
var ChartXAxis_default = _sfc_main;
|
|
86
|
+
|
|
87
|
+
export { ChartXAxis_default };
|