vue-data-ui 3.27.0 → 3.27.1-beta.0
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/A11yDataTable-DWNlWXzs.js +1 -0
- package/dist/Arrow-CJeSufxg.js +1 -0
- package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
- package/dist/BaseIcon-Cz30ODFA.js +1 -0
- package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
- package/dist/ColorPicker-CUjEw53A.js +1 -0
- package/dist/DataTable-DSUA5M9p.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-DdvXld3a.js +1 -0
- package/dist/Legend-DokTll4u.js +1 -0
- package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
- package/dist/PackageVersion-D6pKL176.js +1 -0
- package/dist/PenAndPaper-DvJJaeU2.js +1 -0
- package/dist/RecursiveCircles-BftI1kwF.js +1 -0
- package/dist/RecursiveLabels-B0d04xSj.js +1 -0
- package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
- package/dist/Shape-tkp65OcG.js +1 -0
- package/dist/SlicerPreview-GFRs2EWB.js +1 -0
- package/dist/SparkTooltip-BlJLvizH.js +1 -0
- package/dist/Title-BRAjxtjG.js +1 -0
- package/dist/Tooltip-BUXB0i6z.js +1 -0
- package/dist/UserOptions-D65t74CM.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-NwZO-elv.js +1 -0
- package/dist/components/arrow.js +1 -2
- package/dist/components/vue-ui-3d-bar.js +1 -2
- package/dist/components/vue-ui-accordion.js +1 -2
- package/dist/components/vue-ui-age-pyramid.js +1 -2
- package/dist/components/vue-ui-annotator.js +1 -2
- package/dist/components/vue-ui-bullet.js +1 -2
- package/dist/components/vue-ui-bump.js +1 -2
- package/dist/components/vue-ui-candlestick.js +1 -2
- package/dist/components/vue-ui-carousel-table.js +1 -2
- package/dist/components/vue-ui-chestnut.js +1 -2
- package/dist/components/vue-ui-chord.js +1 -2
- package/dist/components/vue-ui-circle-pack.js +1 -2
- package/dist/components/vue-ui-cursor.js +1 -2
- package/dist/components/vue-ui-dag.js +1 -2
- package/dist/components/vue-ui-dashboard.js +1 -2
- package/dist/components/vue-ui-digits.js +1 -2
- package/dist/components/vue-ui-donut-evolution.js +1 -2
- package/dist/components/vue-ui-donut.js +1 -2
- package/dist/components/vue-ui-dumbbell.js +1 -2
- package/dist/components/vue-ui-flow.js +1 -2
- package/dist/components/vue-ui-funnel.js +1 -2
- package/dist/components/vue-ui-galaxy.js +1 -2
- package/dist/components/vue-ui-gauge.js +1 -2
- package/dist/components/vue-ui-geo.js +1 -2
- package/dist/components/vue-ui-gizmo.js +1 -2
- package/dist/components/vue-ui-heatmap.js +1 -2
- package/dist/components/vue-ui-hill.js +1 -2
- package/dist/components/vue-ui-history-plot.js +1 -2
- package/dist/components/vue-ui-horizontal-bar.js +1 -2
- package/dist/components/vue-ui-icon.js +1 -2
- package/dist/components/vue-ui-kpi.js +1 -2
- package/dist/components/vue-ui-label.js +1 -2
- package/dist/components/vue-ui-mini-loader.js +1 -2
- package/dist/components/vue-ui-molecule.js +1 -2
- package/dist/components/vue-ui-mood-radar.js +1 -2
- package/dist/components/vue-ui-nested-donuts.js +1 -2
- package/dist/components/vue-ui-onion.js +1 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
- package/dist/components/vue-ui-pattern-seed.js +1 -2
- package/dist/components/vue-ui-pattern.js +1 -2
- package/dist/components/vue-ui-quadrant.js +1 -2
- package/dist/components/vue-ui-quick-chart.js +1 -2
- package/dist/components/vue-ui-radar.js +1 -2
- package/dist/components/vue-ui-rating.js +1 -2
- package/dist/components/vue-ui-relation-circle.js +1 -2
- package/dist/components/vue-ui-ridgeline.js +1 -2
- package/dist/components/vue-ui-rings.js +1 -2
- package/dist/components/vue-ui-scatter.js +1 -2
- package/dist/components/vue-ui-skeleton.js +1 -2
- package/dist/components/vue-ui-smiley.js +1 -2
- package/dist/components/vue-ui-spark-trend.js +1 -2
- package/dist/components/vue-ui-sparkbar.js +1 -2
- package/dist/components/vue-ui-sparkgauge.js +1 -2
- package/dist/components/vue-ui-sparkhistogram.js +1 -2
- package/dist/components/vue-ui-sparkline.js +1 -2
- package/dist/components/vue-ui-sparkstackbar.js +1 -2
- package/dist/components/vue-ui-stackbar.js +1 -2
- package/dist/components/vue-ui-stackline.js +1 -2
- package/dist/components/vue-ui-strip-plot.js +1 -2
- package/dist/components/vue-ui-table-heatmap.js +1 -2
- package/dist/components/vue-ui-table-sparkline.js +1 -2
- package/dist/components/vue-ui-table.js +1 -2
- package/dist/components/vue-ui-thermometer.js +1 -2
- package/dist/components/vue-ui-timer.js +1 -2
- package/dist/components/vue-ui-tiremarks.js +1 -2
- package/dist/components/vue-ui-treemap.js +1 -2
- package/dist/components/vue-ui-vertical-bar.js +1 -2
- package/dist/components/vue-ui-waffle.js +1 -2
- package/dist/components/vue-ui-wheel.js +1 -2
- package/dist/components/vue-ui-word-cloud.js +1 -2
- package/dist/components/vue-ui-world.js +1 -2
- package/dist/components/vue-ui-xy-canvas.js +1 -2
- package/dist/components/vue-ui-xy.js +1 -2
- package/dist/composables.js +1 -5
- package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
- package/dist/exposedLib-CMTeSmyW.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-8sM3sVWU.js +1 -0
- package/dist/labelUtils-Djp5nJtN.js +1 -0
- package/dist/lib-zDxoqrgo.js +12 -0
- package/dist/package-DIR2F6AE.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-Dlv_ks7R.js +1 -0
- package/dist/render-common-DOYi0f4Z.js +1 -0
- package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
- package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/ssr/vue-ui-donut.js +1 -2
- package/dist/ssr/vue-ui-xy.js +1 -2
- package/dist/ssr.js +1 -3
- package/dist/style.css +1 -1
- package/dist/tableIntegration-CNoJ1CIY.js +1 -0
- package/dist/types/composables.d.ts +12 -12
- package/dist/types/ssr.d.ts +84 -84
- package/dist/types/utils.d.ts +82 -73
- package/dist/types/vue-data-ui.d.ts +17961 -17958
- package/dist/types/vue-ui-3d-bar.d.ts +24 -91
- package/dist/types/vue-ui-accordion.d.ts +2 -10
- package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
- package/dist/types/vue-ui-annotator.d.ts +12 -88
- package/dist/types/vue-ui-bullet.d.ts +21 -83
- package/dist/types/vue-ui-bump.d.ts +23 -90
- package/dist/types/vue-ui-candlestick.d.ts +27 -108
- package/dist/types/vue-ui-carousel-table.d.ts +11 -57
- package/dist/types/vue-ui-chestnut.d.ts +27 -96
- package/dist/types/vue-ui-chord.d.ts +31 -108
- package/dist/types/vue-ui-circle-pack.d.ts +30 -124
- package/dist/types/vue-ui-cursor.d.ts +2 -8
- package/dist/types/vue-ui-dag.d.ts +35 -125
- package/dist/types/vue-ui-dashboard.d.ts +18 -66
- package/dist/types/vue-ui-digits.d.ts +2 -11
- package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
- package/dist/types/vue-ui-donut.d.ts +31 -121
- package/dist/types/vue-ui-dumbbell.d.ts +24 -92
- package/dist/types/vue-ui-flow.d.ts +28 -104
- package/dist/types/vue-ui-funnel.d.ts +18 -77
- package/dist/types/vue-ui-galaxy.d.ts +30 -112
- package/dist/types/vue-ui-gauge.d.ts +22 -87
- package/dist/types/vue-ui-geo.d.ts +22 -92
- package/dist/types/vue-ui-gizmo.d.ts +5 -20
- package/dist/types/vue-ui-heatmap.d.ts +25 -101
- package/dist/types/vue-ui-hill.d.ts +22 -88
- package/dist/types/vue-ui-history-plot.d.ts +30 -112
- package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
- package/dist/types/vue-ui-icon.d.ts +1 -13
- package/dist/types/vue-ui-kpi.d.ts +5 -23
- package/dist/types/vue-ui-label.d.ts +11 -48
- package/dist/types/vue-ui-mini-loader.d.ts +4 -13
- package/dist/types/vue-ui-molecule.d.ts +27 -110
- package/dist/types/vue-ui-mood-radar.d.ts +23 -90
- package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
- package/dist/types/vue-ui-onion.d.ts +26 -104
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
- package/dist/types/vue-ui-pattern.d.ts +1 -13
- package/dist/types/vue-ui-quadrant.d.ts +33 -123
- package/dist/types/vue-ui-quick-chart.d.ts +30 -110
- package/dist/types/vue-ui-radar.d.ts +31 -114
- package/dist/types/vue-ui-rating.d.ts +8 -40
- package/dist/types/vue-ui-relation-circle.d.ts +26 -90
- package/dist/types/vue-ui-ridgeline.d.ts +27 -104
- package/dist/types/vue-ui-rings.d.ts +21 -96
- package/dist/types/vue-ui-scatter.d.ts +22 -95
- package/dist/types/vue-ui-skeleton.d.ts +2 -10
- package/dist/types/vue-ui-smiley.d.ts +6 -26
- package/dist/types/vue-ui-spark-trend.d.ts +2 -18
- package/dist/types/vue-ui-sparkbar.d.ts +10 -47
- package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
- package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
- package/dist/types/vue-ui-sparkline.d.ts +16 -61
- package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
- package/dist/types/vue-ui-stackbar.d.ts +36 -130
- package/dist/types/vue-ui-stackline.d.ts +29 -116
- package/dist/types/vue-ui-strip-plot.d.ts +22 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
- package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
- package/dist/types/vue-ui-table.d.ts +9 -36
- package/dist/types/vue-ui-thermometer.d.ts +14 -68
- package/dist/types/vue-ui-timer.d.ts +10 -47
- package/dist/types/vue-ui-tiremarks.d.ts +14 -68
- package/dist/types/vue-ui-treemap.d.ts +26 -105
- package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
- package/dist/types/vue-ui-waffle.d.ts +23 -99
- package/dist/types/vue-ui-wheel.d.ts +14 -68
- package/dist/types/vue-ui-word-cloud.d.ts +20 -95
- package/dist/types/vue-ui-world.d.ts +22 -96
- package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
- package/dist/types/vue-ui-xy.d.ts +42 -146
- package/dist/unpackTheme-CNsFKCeq.js +1 -0
- package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
- package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
- package/dist/useChartExport-DtPNpc9M.js +1 -0
- package/dist/useConfig-CKdzPrcf.js +1 -0
- package/dist/useFitSvgText-C1QC4P5G.js +1 -0
- package/dist/useHints-BH9r_0Vd.js +6 -0
- package/dist/useNestedProp-CT9phgWx.js +1 -0
- package/dist/useObjectBindings-DM3xDKV3.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-CnyKPIFM.js +1 -0
- package/dist/useResponsive-D2CPcpda.js +1 -0
- package/dist/useStableElementSize-CegFbRlF.js +1 -0
- package/dist/useTableResponsive-uSz_qZOB.js +1 -0
- package/dist/useThemeCheck-BKNRbGeC.js +1 -0
- package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
- package/dist/useTimeLabels-Das5O74F.js +1 -0
- package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
- package/dist/useTransitions-DfSHzsdz.js +1 -0
- package/dist/useUserOptionState-CXlFnwPv.js +1 -0
- package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
- package/dist/utils.js +1 -30
- package/dist/vClickOutside-BxNzkY17.js +1 -0
- package/dist/vue-data-ui-BG41UScx.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
- package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
- package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
- package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
- package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
- package/dist/vue-ui-bump-DYajIrva.js +10 -0
- package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
- package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
- package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
- package/dist/vue-ui-chord-fAckHfOW.js +21 -0
- package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
- package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
- package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
- package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
- package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
- package/dist/vue-ui-donut-BaEodt-3.js +22 -0
- package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
- package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
- package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
- package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
- package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
- package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
- package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
- package/dist/vue-ui-geo-CX3yH18H.js +1 -0
- package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
- package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
- package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
- package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
- package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
- package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
- package/dist/vue-ui-label-D1Aog-zO.js +7 -0
- package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
- package/dist/vue-ui-molecule-B13qVX71.js +1 -0
- package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
- package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
- package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
- package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
- package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
- package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
- package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
- package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
- package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
- package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
- package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
- package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
- package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
- package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
- package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
- package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
- package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
- package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
- package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
- package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
- package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
- package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
- package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
- package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
- package/dist/vue-ui-table-Br2JgD_L.js +14 -0
- package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
- package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
- package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
- package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
- package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
- package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
- package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
- package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
- package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
- package/dist/vue-ui-world-Cp0DeauH.js +19 -0
- package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
- package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
- package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
- package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
- package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
- package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
- package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
- package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
- package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
- package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
- package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
- package/dist/vue_ui_dag-1b_dLSym.js +1 -0
- package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
- package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
- package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
- package/dist/vue_ui_flow-kvV56Es9.js +1 -0
- package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
- package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
- package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
- package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
- package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
- package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
- package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
- package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
- package/dist/vue_ui_label-dtPqyFsj.js +1 -0
- package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
- package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
- package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
- package/dist/vue_ui_onion-C9BedU_-.js +1 -0
- package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
- package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
- package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
- package/dist/vue_ui_radar-68iK9Fam.js +1 -0
- package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
- package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
- package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
- package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
- package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
- package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
- package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
- package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
- package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
- package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
- package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
- package/dist/vue_ui_stackline-D7b63K84.js +1 -0
- package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
- package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
- package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
- package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
- package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
- package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
- package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
- package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
- package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
- package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
- package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
- package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
- package/package.json +2 -2
- package/dist/A11yDataTable-DdRsVULz.js +0 -45
- package/dist/Arrow-DKO1l8oR.js +0 -116
- package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
- package/dist/BaseIcon-Cx9FD751.js +0 -484
- package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-vNi8YykO.js +0 -111
- package/dist/ColorPicker-hmC2bvwS.js +0 -257
- package/dist/DataTable-CjF_An2h.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-DqqGB33u.js +0 -187
- package/dist/Legend-CulFgjUY.js +0 -156
- package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
- package/dist/PackageVersion-D7H9nfK0.js +0 -12
- package/dist/PenAndPaper-CNiuGw6k.js +0 -906
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-DSwamtmO.js +0 -143
- package/dist/SlicerPreview-k5YerMA9.js +0 -1730
- package/dist/SparkTooltip-D35KVv6N.js +0 -93
- package/dist/Title-BMCuINbv.js +0 -87
- package/dist/Tooltip-C4ZTwkLF.js +0 -312
- package/dist/UserOptions-CORYQiif.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-CBusMkua.js +0 -237
- package/dist/exposedLib-UNxZlnAS.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-Bb5rHcpO.js +0 -129
- package/dist/labelUtils-Ccn9kK7T.js +0 -19
- package/dist/lib-D4wK6ljP.js +0 -2146
- package/dist/package-DmQufM0G.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-BzIQHx-F.js +0 -90
- package/dist/render-common-BtfjXdkJ.js +0 -152
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useChartExport-iwOqiIWX.js +0 -803
- package/dist/useConfig-D_6ZrPMD.js +0 -8090
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-DR_8JPol.js +0 -12
- package/dist/useObjectBindings-DvasYMGu.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-DdW2GSm0.js +0 -49
- package/dist/useResponsive-ZtArZtUf.js +0 -97
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useTableResponsive-BAqJPR68.js +0 -25
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-d2f-W1L4.js +0 -270
- package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
- package/dist/useTransitions-g_zBREk2.js +0 -39
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-Df7WV80w.js +0 -191
- package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
- package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
- package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
- package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
- package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
- package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
- package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
- package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
- package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
- package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
- package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
- package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
- package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
- package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
- package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
- package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
- package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
- package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
- package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
- package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
- package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
- package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
- package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
- package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
- package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
- package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
- package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
- package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
- package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
- package/dist/vue-ui-label-r3-QloJL.js +0 -1451
- package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
- package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
- package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
- package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
- package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
- package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
- package/dist/vue-ui-rating-C_iTttXB.js +0 -359
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
- package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
- package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
- package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
- package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
- package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
- package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
- package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
- package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
- package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
- package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
- package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
- package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
- package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
- package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
- package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
- package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
- package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
- package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
- package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
- package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
- package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
- package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
- package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
- package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_hill-dnltu0L-.js +0 -368
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
- package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
- package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-CcJADijP.js +0 -614
- package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
|
@@ -1,702 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ft as n, S as r, X as i, _ as a, at as ee, i as o, nn as te, t as ne, yt as re, zt as ie } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as oe } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { t as se } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
-
import { n as ce, t as le } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as s } from "./useNestedProp-DR_8JPol.js";
|
|
8
|
-
import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as de } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as fe } from "./img-Bb5rHcpO.js";
|
|
11
|
-
import { n as pe } from "./Title-BMCuINbv.js";
|
|
12
|
-
import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import { l as he, t as ge } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
-
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
-
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as ye } from "./Legend-CulFgjUY.js";
|
|
17
|
-
import { t as be } from "./vue_ui_bullet-ClzdLoOv.js";
|
|
18
|
-
import { Fragment as xe, Teleport as Se, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ce, createVNode as we, defineAsyncComponent as p, guardReactiveProps as m, normalizeClass as Te, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as Ee, onMounted as De, openBlock as _, ref as v, renderList as y, renderSlot as b, toDisplayString as x, toRefs as Oe, unref as S, watch as ke, withCtx as C } from "vue";
|
|
19
|
-
//#region src/components/vue-ui-bullet.vue
|
|
20
|
-
var Ae = /* @__PURE__ */ e({ default: () => w }), je = ["id"], Me = {
|
|
21
|
-
key: 1,
|
|
22
|
-
ref: "noTitle",
|
|
23
|
-
class: "vue-data-ui-no-title-space",
|
|
24
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
25
|
-
}, Ne = ["id"], Pe = [
|
|
26
|
-
"xmlns",
|
|
27
|
-
"viewBox",
|
|
28
|
-
"aria-labelledby",
|
|
29
|
-
"aria-describedby"
|
|
30
|
-
], Fe = ["id"], Ie = ["id"], Le = ["width", "height"], Re = { key: 1 }, ze = [
|
|
31
|
-
"x",
|
|
32
|
-
"y",
|
|
33
|
-
"height",
|
|
34
|
-
"width",
|
|
35
|
-
"fill",
|
|
36
|
-
"stroke"
|
|
37
|
-
], Be = [
|
|
38
|
-
"x",
|
|
39
|
-
"y",
|
|
40
|
-
"height",
|
|
41
|
-
"width",
|
|
42
|
-
"rx",
|
|
43
|
-
"fill",
|
|
44
|
-
"stroke",
|
|
45
|
-
"stroke-width"
|
|
46
|
-
], Ve = [
|
|
47
|
-
"x",
|
|
48
|
-
"y",
|
|
49
|
-
"height",
|
|
50
|
-
"width",
|
|
51
|
-
"fill",
|
|
52
|
-
"stroke",
|
|
53
|
-
"stroke-width"
|
|
54
|
-
], He = [
|
|
55
|
-
"x",
|
|
56
|
-
"y",
|
|
57
|
-
"font-size",
|
|
58
|
-
"font-weight",
|
|
59
|
-
"fill"
|
|
60
|
-
], Ue = [
|
|
61
|
-
"x",
|
|
62
|
-
"y",
|
|
63
|
-
"height",
|
|
64
|
-
"width",
|
|
65
|
-
"rx",
|
|
66
|
-
"fill",
|
|
67
|
-
"stroke",
|
|
68
|
-
"stroke-width"
|
|
69
|
-
], We = { key: 3 }, Ge = [
|
|
70
|
-
"x",
|
|
71
|
-
"y",
|
|
72
|
-
"fill",
|
|
73
|
-
"font-size",
|
|
74
|
-
"font-weight"
|
|
75
|
-
], Ke = { key: 4 }, qe = [
|
|
76
|
-
"x1",
|
|
77
|
-
"x2",
|
|
78
|
-
"y1",
|
|
79
|
-
"y2",
|
|
80
|
-
"stroke"
|
|
81
|
-
], Je = {
|
|
82
|
-
key: 4,
|
|
83
|
-
class: "vue-data-ui-watermark"
|
|
84
|
-
}, Ye = ["id"], Xe = {
|
|
85
|
-
key: 0,
|
|
86
|
-
class: "vue-ui-bullet-legend-item",
|
|
87
|
-
dir: "auto"
|
|
88
|
-
}, Ze = { style: { "margin-right": "2px" } }, w = /*#__PURE__*/ me({
|
|
89
|
-
__name: "vue-ui-bullet",
|
|
90
|
-
props: {
|
|
91
|
-
config: {
|
|
92
|
-
type: Object,
|
|
93
|
-
default() {
|
|
94
|
-
return {};
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
dataset: {
|
|
98
|
-
type: Object,
|
|
99
|
-
default() {
|
|
100
|
-
return {};
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
emits: ["copyAlt"],
|
|
105
|
-
setup(e, { expose: me, emit: Ae }) {
|
|
106
|
-
let w = p(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Qe = p(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), $e = p(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), { vue_ui_bullet: et } = oe(), { isThemeValid: tt, warnInvalidTheme: nt } = ue(), T = e, rt = Ae, E = v(null), it = v(null), at = v(0), ot = v(null), st = v(null), ct = v(0), D = v(null), O = v(null), lt = v(!1), k = c({
|
|
107
|
-
get: () => B.value.hasOwnProperty("value"),
|
|
108
|
-
set: (e) => e
|
|
109
|
-
}), A = v(R()), j = c(() => A.value.debug), M = c(() => A.value.style.chart.target), N = c(() => A.value.style.chart.segments), P = c(() => A.value.style.chart), F = c(() => A.value.userOptions), I = c(() => B.value.segments ? Array.isArray(B.value.segments) ? B.value.segments.length ? !0 : (j.value && console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ]\n "), k.value = !1, !1) : (j.value && console.warn("VueUiBullet: dataset segments must be an array of objects with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ] \n "), k.value = !1, !1) : (j.value && console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ]\n "), k.value = !1, !1)), ut = c(() => {
|
|
110
|
-
let { top: e, right: t, bottom: n, left: r } = P.value.padding;
|
|
111
|
-
return {
|
|
112
|
-
top: e,
|
|
113
|
-
right: t,
|
|
114
|
-
bottom: n,
|
|
115
|
-
left: r
|
|
116
|
-
};
|
|
117
|
-
});
|
|
118
|
-
function dt() {
|
|
119
|
-
if (ie(B.value) ? (ee({
|
|
120
|
-
componentName: "VueUiBullet",
|
|
121
|
-
type: "dataset",
|
|
122
|
-
debug: j.value
|
|
123
|
-
}), V.value = !0) : I.value ? B.value.segments.forEach((e, t) => {
|
|
124
|
-
re({
|
|
125
|
-
datasetObject: e,
|
|
126
|
-
requiredAttributes: [
|
|
127
|
-
"name",
|
|
128
|
-
"from",
|
|
129
|
-
"to"
|
|
130
|
-
]
|
|
131
|
-
}).forEach((e) => {
|
|
132
|
-
k.value = !1, ee({
|
|
133
|
-
componentName: "VueUiBullet segment",
|
|
134
|
-
type: "datasetSerieAttribute",
|
|
135
|
-
property: e,
|
|
136
|
-
index: t,
|
|
137
|
-
debug: j.value
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
}) : (k.value = !1, V.value = !0), ie(B.value) || (V.value = A.value.loading), A.value.responsive) {
|
|
141
|
-
let e = he(() => {
|
|
142
|
-
let { width: e, height: t } = ge({
|
|
143
|
-
chart: E.value,
|
|
144
|
-
title: P.value.title.text ? it.value : null,
|
|
145
|
-
legend: P.value.legend.show ? ot.value : null,
|
|
146
|
-
source: st.value,
|
|
147
|
-
padding: ut.value
|
|
148
|
-
}), n = (P.value.legend.show ? 24 : 0) || 12;
|
|
149
|
-
requestAnimationFrame(() => {
|
|
150
|
-
W.value.width = e, W.value.height = t - n;
|
|
151
|
-
});
|
|
152
|
-
});
|
|
153
|
-
D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = E.value.parentNode, D.value.observe(O.value);
|
|
154
|
-
}
|
|
155
|
-
P.value.animation.show && !z.value && xt(B.value.value || 0);
|
|
156
|
-
}
|
|
157
|
-
De(() => {
|
|
158
|
-
lt.value = !0, dt();
|
|
159
|
-
});
|
|
160
|
-
let L = v(i());
|
|
161
|
-
function R() {
|
|
162
|
-
let e = s({
|
|
163
|
-
userConfig: T.config,
|
|
164
|
-
defaultConfig: et
|
|
165
|
-
}), t = e.theme;
|
|
166
|
-
if (!t) return e;
|
|
167
|
-
if (!tt.value(e)) return nt(e), e;
|
|
168
|
-
let n = s({
|
|
169
|
-
userConfig: be[t] || T.config,
|
|
170
|
-
defaultConfig: e
|
|
171
|
-
});
|
|
172
|
-
return s({
|
|
173
|
-
userConfig: T.config,
|
|
174
|
-
defaultConfig: n
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
ae({
|
|
178
|
-
config: () => A.value,
|
|
179
|
-
dataset: () => T.dataset,
|
|
180
|
-
component: "VueUiBullet",
|
|
181
|
-
rules: [{
|
|
182
|
-
test: (e) => e?.segments && e?.segments.length > 8,
|
|
183
|
-
message: [
|
|
184
|
-
"👀 The number of target segments is > 8, which can make the chart hard to read and a large legend. Consider:",
|
|
185
|
-
"",
|
|
186
|
-
"▶️ Using broader segments."
|
|
187
|
-
]
|
|
188
|
-
}]
|
|
189
|
-
});
|
|
190
|
-
let ft = c(() => A.value.userOptions.useCursorPointer), pt = c(() => te({
|
|
191
|
-
defaultConfig: {
|
|
192
|
-
userOptions: { show: !1 },
|
|
193
|
-
style: { chart: {
|
|
194
|
-
backgroundColor: "#99999930",
|
|
195
|
-
segments: {
|
|
196
|
-
dataLabels: { show: !1 },
|
|
197
|
-
ticks: { stroke: "#8A8A8A" }
|
|
198
|
-
},
|
|
199
|
-
valueBar: { label: { show: !1 } }
|
|
200
|
-
} }
|
|
201
|
-
},
|
|
202
|
-
userConfig: A.value.skeletonConfig ?? {}
|
|
203
|
-
})), { loading: z, FINAL_DATASET: B, manualLoading: V } = ce({
|
|
204
|
-
...Oe(T),
|
|
205
|
-
FINAL_CONFIG: A,
|
|
206
|
-
prepareConfig: R,
|
|
207
|
-
skeletonDataset: T.config?.skeletonDataset ?? {
|
|
208
|
-
value: 100,
|
|
209
|
-
target: 100,
|
|
210
|
-
segments: [
|
|
211
|
-
{
|
|
212
|
-
name: "",
|
|
213
|
-
from: 0,
|
|
214
|
-
to: 33,
|
|
215
|
-
color: "#AAAAAA"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
name: "",
|
|
219
|
-
from: 33,
|
|
220
|
-
to: 66,
|
|
221
|
-
color: "#BABABA"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
name: "",
|
|
225
|
-
from: 66,
|
|
226
|
-
to: 100,
|
|
227
|
-
color: "#CACACA"
|
|
228
|
-
}
|
|
229
|
-
]
|
|
230
|
-
},
|
|
231
|
-
skeletonConfig: te({
|
|
232
|
-
defaultConfig: A.value,
|
|
233
|
-
userConfig: pt.value
|
|
234
|
-
})
|
|
235
|
-
}), { userOptionsVisible: H, setUserOptionsVisibility: mt, keepUserOptionState: ht } = _e({ config: A.value }), { svgRef: U } = ve({ config: P.value.title }), W = v({
|
|
236
|
-
width: P.value.width,
|
|
237
|
-
height: P.value.height
|
|
238
|
-
}), gt = c(() => W.value.width), _t = c(() => W.value.height);
|
|
239
|
-
ke(() => T.config, (e) => {
|
|
240
|
-
z.value || (A.value = R()), H.value = !A.value.userOptions.showOnChartHover, W.value.width = P.value.width, W.value.height = P.value.height, dt(), at.value += 1;
|
|
241
|
-
}, { deep: !0 });
|
|
242
|
-
let G = c(() => {
|
|
243
|
-
let e = _t.value, t = gt.value, n = P.value.padding.left, r = t - P.value.padding.right, i = P.value.padding.top, a = e - P.value.padding.bottom;
|
|
244
|
-
return {
|
|
245
|
-
height: Math.max(.001, e),
|
|
246
|
-
width: Math.max(.001, t),
|
|
247
|
-
left: n,
|
|
248
|
-
right: r,
|
|
249
|
-
top: i,
|
|
250
|
-
bottom: a,
|
|
251
|
-
chartWidth: Math.max(.001, r - n),
|
|
252
|
-
chartHeight: Math.max(.001, a - i)
|
|
253
|
-
};
|
|
254
|
-
}), vt = c(() => {
|
|
255
|
-
if (!I.value) return [];
|
|
256
|
-
let e = [];
|
|
257
|
-
for (let t = 0; t < B.value.segments.length; t += 1) e.push(n(N.value.baseColor, t / B.value.segments.length));
|
|
258
|
-
return e;
|
|
259
|
-
}), K = c(() => I.value ? {
|
|
260
|
-
min: Math.min(...B.value.segments.map((e) => e.from)),
|
|
261
|
-
max: Math.max(...B.value.segments.map((e) => e.to))
|
|
262
|
-
} : {
|
|
263
|
-
min: 0,
|
|
264
|
-
max: 1
|
|
265
|
-
}), q = v(yt());
|
|
266
|
-
ke(() => B.value, (e) => {
|
|
267
|
-
e.hasOwnProperty("value") && (V.value = !1), P.value.animation.show && !z.value ? xt(e.value || 0) : q.value = e.value || 0;
|
|
268
|
-
}, { deep: !0 });
|
|
269
|
-
function yt() {
|
|
270
|
-
return P.value.animation.show && !z.value ? K.value.min : B.value.value || 0;
|
|
271
|
-
}
|
|
272
|
-
let bt = v(null);
|
|
273
|
-
function xt(e) {
|
|
274
|
-
let t = Math.abs(e - q.value) / P.value.animation.animationFrames;
|
|
275
|
-
function n() {
|
|
276
|
-
q.value < e ? q.value = Math.min(q.value + t, e) : q.value > e && (q.value = Math.max(q.value - t, e)), q.value !== e && (bt.value = requestAnimationFrame(n));
|
|
277
|
-
}
|
|
278
|
-
n();
|
|
279
|
-
}
|
|
280
|
-
Ee(() => {
|
|
281
|
-
cancelAnimationFrame(bt.value);
|
|
282
|
-
});
|
|
283
|
-
let J = c(() => {
|
|
284
|
-
if (!I.value) return [];
|
|
285
|
-
let e = a(K.value.min, K.value.max, N.value.ticks.divisions), t = e.min >= 0 ? 0 : Math.abs(e.min);
|
|
286
|
-
return {
|
|
287
|
-
scale: e,
|
|
288
|
-
target: { x: G.value.left + (B.value.target + t) / (e.max + t) * G.value.chartWidth - M.value.width / 2 },
|
|
289
|
-
value: { width: (q.value + t) / (e.max + t) * G.value.chartWidth },
|
|
290
|
-
ticks: e.ticks.map((n) => ({
|
|
291
|
-
value: n,
|
|
292
|
-
y: G.value.bottom + N.value.dataLabels.fontSize + 3 + N.value.dataLabels.offsetY,
|
|
293
|
-
x: G.value.left + (n + t) / (e.max + t) * G.value.chartWidth
|
|
294
|
-
})),
|
|
295
|
-
chunks: B.value.segments.map((n, i) => ({
|
|
296
|
-
...n,
|
|
297
|
-
color: n.color ? r(n.color) : vt.value[i],
|
|
298
|
-
x: G.value.left + G.value.chartWidth * ((n.from + t) / (e.max + t)),
|
|
299
|
-
y: G.value.top,
|
|
300
|
-
height: G.value.chartHeight,
|
|
301
|
-
width: G.value.chartWidth * (Math.abs(n.to - n.from) / (e.max + t))
|
|
302
|
-
}))
|
|
303
|
-
};
|
|
304
|
-
}), Y = c(() => !J.value || !J.value.chunks || !J.value.chunks.length ? [] : J.value.chunks.map((e) => {
|
|
305
|
-
let n = `${o(N.value.dataLabels.formatter, e.from, t({
|
|
306
|
-
p: N.value.dataLabels.prefix,
|
|
307
|
-
v: e.from,
|
|
308
|
-
s: N.value.dataLabels.suffix,
|
|
309
|
-
r: N.value.dataLabels.rounding
|
|
310
|
-
}))} — ${o(N.value.dataLabels.formatter, e.to, t({
|
|
311
|
-
p: N.value.dataLabels.prefix,
|
|
312
|
-
v: e.to,
|
|
313
|
-
s: N.value.dataLabels.suffix,
|
|
314
|
-
r: N.value.dataLabels.rounding
|
|
315
|
-
}))}`;
|
|
316
|
-
return {
|
|
317
|
-
...e,
|
|
318
|
-
shape: "square",
|
|
319
|
-
value: n,
|
|
320
|
-
display: `${e.name}: ${n}`
|
|
321
|
-
};
|
|
322
|
-
})), St = c(() => ({
|
|
323
|
-
cy: "bullet-div-legend",
|
|
324
|
-
backgroundColor: "transparent",
|
|
325
|
-
color: P.value.legend.color,
|
|
326
|
-
fontSize: P.value.legend.fontSize,
|
|
327
|
-
paddingBottom: 6,
|
|
328
|
-
fontWeight: P.value.legend.bold ? "bold" : ""
|
|
329
|
-
})), { isPrinting: X, isImaging: Z, generatePdf: Ct, generateImage: wt } = se({
|
|
330
|
-
elementId: `bullet_${L.value}`,
|
|
331
|
-
fileName: P.value.title.text || "vue-ui-bullet",
|
|
332
|
-
options: A.value.userOptions.print
|
|
333
|
-
}), Tt = c(() => A.value.userOptions.show && !P.value.title.text), Q = v(!1);
|
|
334
|
-
function Et(e) {
|
|
335
|
-
Q.value = e, ct.value += 1;
|
|
336
|
-
}
|
|
337
|
-
function Dt() {
|
|
338
|
-
return J.value;
|
|
339
|
-
}
|
|
340
|
-
let $ = v(!1);
|
|
341
|
-
function Ot() {
|
|
342
|
-
$.value = !$.value;
|
|
343
|
-
}
|
|
344
|
-
async function kt({ scale: e = 2 } = {}) {
|
|
345
|
-
if (!E.value) return;
|
|
346
|
-
let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
|
|
347
|
-
domElement: E.value,
|
|
348
|
-
base64: !0,
|
|
349
|
-
img: !0,
|
|
350
|
-
scale: e
|
|
351
|
-
});
|
|
352
|
-
return {
|
|
353
|
-
imageUri: i,
|
|
354
|
-
base64: a,
|
|
355
|
-
title: P.value.title.text,
|
|
356
|
-
width: t,
|
|
357
|
-
height: n,
|
|
358
|
-
aspectRatio: r
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
let At = c(() => Y.value.map((e) => ({
|
|
362
|
-
...e,
|
|
363
|
-
name: e.display
|
|
364
|
-
}))), jt = c(() => P.value.backgroundColor), Mt = c(() => P.value.legend), Nt = c(() => P.value.title), { isCallbackImaging: Pt, isCallbackSvg: Ft, generateSvg: It, onGenerateImage: Lt } = de({
|
|
365
|
-
svg: U,
|
|
366
|
-
title: Nt,
|
|
367
|
-
legend: Mt,
|
|
368
|
-
legendItems: At,
|
|
369
|
-
backgroundColor: jt,
|
|
370
|
-
getSvgCallback: () => A.value.userOptions.callbacks.svg,
|
|
371
|
-
generateImage: wt
|
|
372
|
-
});
|
|
373
|
-
async function Rt() {
|
|
374
|
-
if (rt("copyAlt", {
|
|
375
|
-
config: A.value,
|
|
376
|
-
dataset: B.value
|
|
377
|
-
}), !A.value.userOptions.callbacks.altCopy) {
|
|
378
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
379
|
-
return;
|
|
380
|
-
}
|
|
381
|
-
await Promise.resolve(A.value.userOptions.callbacks.altCopy({
|
|
382
|
-
config: A.value,
|
|
383
|
-
dataset: B.value
|
|
384
|
-
}));
|
|
385
|
-
}
|
|
386
|
-
return me({
|
|
387
|
-
getData: Dt,
|
|
388
|
-
getImage: kt,
|
|
389
|
-
generatePdf: Ct,
|
|
390
|
-
generateImage: wt,
|
|
391
|
-
generateSvg: It,
|
|
392
|
-
toggleAnnotator: Ot,
|
|
393
|
-
toggleFullscreen: Et,
|
|
394
|
-
copyAlt: Rt
|
|
395
|
-
}), (e, n) => (_(), d("div", {
|
|
396
|
-
ref_key: "bulletChart",
|
|
397
|
-
ref: E,
|
|
398
|
-
class: Te(`vue-data-ui-component vue-ui-bullet ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
399
|
-
style: g(`font-family:${A.value.style.fontFamily};width:100%;background:${P.value.backgroundColor};${A.value.responsive ? "height:100%" : ""}`),
|
|
400
|
-
id: `bullet_${L.value}`,
|
|
401
|
-
onMouseenter: n[0] ||= () => S(mt)(!0),
|
|
402
|
-
onMouseleave: n[1] ||= () => S(mt)(!1)
|
|
403
|
-
}, [
|
|
404
|
-
F.value.buttons.annotator ? (_(), l(S(Qe), {
|
|
405
|
-
key: 0,
|
|
406
|
-
svgRef: S(U),
|
|
407
|
-
backgroundColor: P.value.backgroundColor,
|
|
408
|
-
color: P.value.color,
|
|
409
|
-
active: $.value,
|
|
410
|
-
isCursorPointer: ft.value,
|
|
411
|
-
palette: F.value.annotatorPalette,
|
|
412
|
-
onClose: Ot
|
|
413
|
-
}, {
|
|
414
|
-
"annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
415
|
-
"annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
|
|
416
|
-
"annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
|
|
417
|
-
"annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
|
|
418
|
-
"annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
|
|
419
|
-
"annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
|
|
420
|
-
_: 3
|
|
421
|
-
}, 8, [
|
|
422
|
-
"svgRef",
|
|
423
|
-
"backgroundColor",
|
|
424
|
-
"color",
|
|
425
|
-
"active",
|
|
426
|
-
"isCursorPointer",
|
|
427
|
-
"palette"
|
|
428
|
-
])) : u("", !0),
|
|
429
|
-
Tt.value ? (_(), d("div", Me, null, 512)) : u("", !0),
|
|
430
|
-
P.value.title.text ? (_(), d("div", {
|
|
431
|
-
key: 2,
|
|
432
|
-
ref_key: "chartTitle",
|
|
433
|
-
ref: it,
|
|
434
|
-
style: "width:100%;background:transparent;"
|
|
435
|
-
}, [(_(), l(pe, {
|
|
436
|
-
lineHeight: "1.3rem",
|
|
437
|
-
key: `title_${at.value}`,
|
|
438
|
-
config: {
|
|
439
|
-
title: {
|
|
440
|
-
cy: "bullet-div-title",
|
|
441
|
-
...P.value.title
|
|
442
|
-
},
|
|
443
|
-
subtitle: {
|
|
444
|
-
cy: "bullet-div-subtitle",
|
|
445
|
-
...P.value.title.subtitle
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}, null, 8, ["config"]))], 512)) : u("", !0),
|
|
449
|
-
f("div", { id: `legend-top-${L.value}` }, null, 8, Ne),
|
|
450
|
-
F.value.show && k.value && (S(ht) || S(H)) ? (_(), l(S($e), {
|
|
451
|
-
key: 3,
|
|
452
|
-
ref: "details",
|
|
453
|
-
backgroundColor: P.value.backgroundColor,
|
|
454
|
-
color: P.value.color,
|
|
455
|
-
isPrinting: S(X),
|
|
456
|
-
isImaging: S(Z),
|
|
457
|
-
uid: L.value,
|
|
458
|
-
hasTooltip: !1,
|
|
459
|
-
hasPdf: F.value.buttons.pdf,
|
|
460
|
-
hasImg: F.value.buttons.img,
|
|
461
|
-
hasSvg: F.value.buttons.svg,
|
|
462
|
-
hasXls: !1,
|
|
463
|
-
hasTable: !1,
|
|
464
|
-
hasLabel: !1,
|
|
465
|
-
hasFullscreen: F.value.buttons.fullscreen,
|
|
466
|
-
hasAltCopy: F.value.buttons.altCopy,
|
|
467
|
-
isFullscreen: Q.value,
|
|
468
|
-
chartElement: E.value,
|
|
469
|
-
position: F.value.position,
|
|
470
|
-
titles: { ...F.value.buttonTitles },
|
|
471
|
-
hasAnnotator: F.value.buttons.annotator,
|
|
472
|
-
isAnnotation: $.value,
|
|
473
|
-
callbacks: F.value.callbacks,
|
|
474
|
-
printScale: F.value.print.scale,
|
|
475
|
-
isCursorPointer: ft.value,
|
|
476
|
-
onToggleFullscreen: Et,
|
|
477
|
-
onGeneratePdf: S(Ct),
|
|
478
|
-
onGenerateImage: S(Lt),
|
|
479
|
-
onGenerateSvg: S(It),
|
|
480
|
-
onToggleAnnotator: Ot,
|
|
481
|
-
onCopyAlt: Rt,
|
|
482
|
-
style: g({ visibility: S(ht) ? S(H) ? "visible" : "hidden" : "visible" })
|
|
483
|
-
}, Ce({ _: 2 }, [
|
|
484
|
-
e.$slots.menuIcon ? {
|
|
485
|
-
name: "menuIcon",
|
|
486
|
-
fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", h(m({
|
|
487
|
-
isOpen: t,
|
|
488
|
-
color: n
|
|
489
|
-
})), void 0, !0)]),
|
|
490
|
-
key: "0"
|
|
491
|
-
} : void 0,
|
|
492
|
-
e.$slots.optionPdf ? {
|
|
493
|
-
name: "optionPdf",
|
|
494
|
-
fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
495
|
-
key: "1"
|
|
496
|
-
} : void 0,
|
|
497
|
-
e.$slots.optionImg ? {
|
|
498
|
-
name: "optionImg",
|
|
499
|
-
fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
500
|
-
key: "2"
|
|
501
|
-
} : void 0,
|
|
502
|
-
e.$slots.optionSvg ? {
|
|
503
|
-
name: "optionSvg",
|
|
504
|
-
fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
505
|
-
key: "3"
|
|
506
|
-
} : void 0,
|
|
507
|
-
e.$slots.optionFullscreen ? {
|
|
508
|
-
name: "optionFullscreen",
|
|
509
|
-
fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", h(m({
|
|
510
|
-
toggleFullscreen: t,
|
|
511
|
-
isFullscreen: n
|
|
512
|
-
})), void 0, !0)]),
|
|
513
|
-
key: "4"
|
|
514
|
-
} : void 0,
|
|
515
|
-
e.$slots.optionAnnotator ? {
|
|
516
|
-
name: "optionAnnotator",
|
|
517
|
-
fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", h(m({
|
|
518
|
-
toggleAnnotator: t,
|
|
519
|
-
isAnnotator: n
|
|
520
|
-
})), void 0, !0)]),
|
|
521
|
-
key: "5"
|
|
522
|
-
} : void 0,
|
|
523
|
-
e.$slots.optionAltCopy ? {
|
|
524
|
-
name: "optionAltCopy",
|
|
525
|
-
fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
|
|
526
|
-
key: "6"
|
|
527
|
-
} : void 0,
|
|
528
|
-
e.$slots["custom-menu-before"] ? {
|
|
529
|
-
name: "custom-menu-before",
|
|
530
|
-
fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
531
|
-
key: "7"
|
|
532
|
-
} : void 0,
|
|
533
|
-
e.$slots["custom-menu-after"] ? {
|
|
534
|
-
name: "custom-menu-after",
|
|
535
|
-
fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
536
|
-
key: "8"
|
|
537
|
-
} : void 0
|
|
538
|
-
]), 1032, [
|
|
539
|
-
"backgroundColor",
|
|
540
|
-
"color",
|
|
541
|
-
"isPrinting",
|
|
542
|
-
"isImaging",
|
|
543
|
-
"uid",
|
|
544
|
-
"hasPdf",
|
|
545
|
-
"hasImg",
|
|
546
|
-
"hasSvg",
|
|
547
|
-
"hasFullscreen",
|
|
548
|
-
"hasAltCopy",
|
|
549
|
-
"isFullscreen",
|
|
550
|
-
"chartElement",
|
|
551
|
-
"position",
|
|
552
|
-
"titles",
|
|
553
|
-
"hasAnnotator",
|
|
554
|
-
"isAnnotation",
|
|
555
|
-
"callbacks",
|
|
556
|
-
"printScale",
|
|
557
|
-
"isCursorPointer",
|
|
558
|
-
"onGeneratePdf",
|
|
559
|
-
"onGenerateImage",
|
|
560
|
-
"onGenerateSvg",
|
|
561
|
-
"style"
|
|
562
|
-
])) : u("", !0),
|
|
563
|
-
(_(), d("svg", {
|
|
564
|
-
ref_key: "svgRef",
|
|
565
|
-
ref: U,
|
|
566
|
-
xmlns: S(ne),
|
|
567
|
-
class: Te({
|
|
568
|
-
"vue-data-ui-fullscreen--on": Q.value,
|
|
569
|
-
"vue-data-ui-fulscreen--off": !Q.value,
|
|
570
|
-
"vue-ui-bullet-svg": !0
|
|
571
|
-
}),
|
|
572
|
-
viewBox: `0 0 ${G.value.width} ${G.value.height}`,
|
|
573
|
-
style: g(`width: 100%; overflow: visible; background:transparent;color:${P.value.color}`),
|
|
574
|
-
"aria-labelledby": `bullet-svg-title-${L.value}`,
|
|
575
|
-
"aria-describedby": `bullet-svg-desc-${L.value}`
|
|
576
|
-
}, [
|
|
577
|
-
we(S(w)),
|
|
578
|
-
f("title", { id: `bullet-svg-title-${L.value}` }, x(P.value.title.text || "Bullet chart"), 9, Fe),
|
|
579
|
-
f("desc", { id: `bullet-svg-desc-${L.value}` }, " Value: " + x(q.value) + ", Target: " + x(J.value.target?.value), 9, Ie),
|
|
580
|
-
e.$slots["chart-background"] ? (_(), d("foreignObject", {
|
|
581
|
-
key: 0,
|
|
582
|
-
x: 0,
|
|
583
|
-
y: 0,
|
|
584
|
-
width: G.value.width,
|
|
585
|
-
height: G.value.height,
|
|
586
|
-
style: { pointerEvents: "none" }
|
|
587
|
-
}, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Le)) : u("", !0),
|
|
588
|
-
I.value ? (_(), d("g", Re, [
|
|
589
|
-
(_(!0), d(xe, null, y(J.value.chunks, (e) => (_(), d("rect", {
|
|
590
|
-
x: e.x,
|
|
591
|
-
y: e.y,
|
|
592
|
-
height: e.height,
|
|
593
|
-
width: e.width,
|
|
594
|
-
fill: e.color,
|
|
595
|
-
"stroke-width": 1,
|
|
596
|
-
stroke: P.value.backgroundColor,
|
|
597
|
-
style: { transition: "x 0.3s ease-in-out, width 0.3s ease-in-out" }
|
|
598
|
-
}, null, 8, ze))), 256)),
|
|
599
|
-
!M.value.onTop && M.value.show ? (_(), d("rect", {
|
|
600
|
-
key: 0,
|
|
601
|
-
x: J.value.target.x,
|
|
602
|
-
y: G.value.top + (G.value.chartHeight - G.value.chartHeight * M.value.heightRatio) / 2,
|
|
603
|
-
height: G.value.chartHeight * M.value.heightRatio,
|
|
604
|
-
width: M.value.width,
|
|
605
|
-
rx: M.value.rounded ? M.value.width / 2 : 0,
|
|
606
|
-
fill: M.value.color,
|
|
607
|
-
stroke: M.value.stroke,
|
|
608
|
-
"stroke-width": M.value.strokeWidth
|
|
609
|
-
}, null, 8, Be)) : u("", !0),
|
|
610
|
-
f("rect", {
|
|
611
|
-
x: G.value.left,
|
|
612
|
-
y: G.value.top + (G.value.chartHeight - G.value.chartHeight * P.value.valueBar.heightRatio) / 2,
|
|
613
|
-
height: G.value.chartHeight * P.value.valueBar.heightRatio,
|
|
614
|
-
width: J.value.value.width,
|
|
615
|
-
fill: P.value.valueBar.color,
|
|
616
|
-
stroke: P.value.valueBar.stroke,
|
|
617
|
-
"stroke-width": P.value.valueBar.strokeWidth
|
|
618
|
-
}, null, 8, Ve),
|
|
619
|
-
P.value.valueBar.label.show ? (_(), d("text", {
|
|
620
|
-
key: 1,
|
|
621
|
-
x: G.value.left + J.value.value.width,
|
|
622
|
-
y: G.value.top - 6 + P.value.valueBar.label.offsetY,
|
|
623
|
-
"font-size": P.value.valueBar.label.fontSize,
|
|
624
|
-
"font-weight": P.value.valueBar.label.bold ? "bold" : "normal",
|
|
625
|
-
fill: P.value.valueBar.label.color,
|
|
626
|
-
"text-anchor": "middle"
|
|
627
|
-
}, x(S(o)(N.value.dataLabels.formatter, q.value, S(t)({
|
|
628
|
-
p: N.value.dataLabels.prefix,
|
|
629
|
-
v: q.value,
|
|
630
|
-
s: N.value.dataLabels.suffix,
|
|
631
|
-
r: N.value.dataLabels.rounding
|
|
632
|
-
}))), 9, He)) : u("", !0),
|
|
633
|
-
M.value.onTop && M.value.show ? (_(), d("rect", {
|
|
634
|
-
key: 2,
|
|
635
|
-
x: J.value.target.x,
|
|
636
|
-
y: G.value.top + (G.value.chartHeight - G.value.chartHeight * M.value.heightRatio) / 2,
|
|
637
|
-
height: G.value.chartHeight * M.value.heightRatio,
|
|
638
|
-
width: M.value.width,
|
|
639
|
-
rx: M.value.rounded ? M.value.width / 2 : 0,
|
|
640
|
-
fill: M.value.color,
|
|
641
|
-
stroke: M.value.stroke,
|
|
642
|
-
"stroke-width": M.value.strokeWidth,
|
|
643
|
-
style: { transition: "x 0.3s ease-in-out" }
|
|
644
|
-
}, null, 8, Ue)) : u("", !0),
|
|
645
|
-
N.value.dataLabels.show ? (_(), d("g", We, [(_(!0), d(xe, null, y(J.value.ticks, (e) => (_(), d("text", {
|
|
646
|
-
x: e.x,
|
|
647
|
-
y: e.y,
|
|
648
|
-
"text-anchor": "middle",
|
|
649
|
-
fill: N.value.dataLabels.color,
|
|
650
|
-
"font-size": N.value.dataLabels.fontSize + "px",
|
|
651
|
-
"font-weight": N.value.dataLabels.bold ? "bold" : "normal"
|
|
652
|
-
}, x(S(o)(N.value.dataLabels.formatter, e.value, S(t)({
|
|
653
|
-
p: N.value.dataLabels.prefix,
|
|
654
|
-
v: e.value,
|
|
655
|
-
s: N.value.dataLabels.suffix,
|
|
656
|
-
r: N.value.dataLabels.rounding
|
|
657
|
-
}))), 9, Ge))), 256))])) : u("", !0),
|
|
658
|
-
N.value.dataLabels.show && N.value.ticks.show ? (_(), d("g", Ke, [(_(!0), d(xe, null, y(J.value.ticks, (e) => (_(), d("line", {
|
|
659
|
-
x1: e.x,
|
|
660
|
-
x2: e.x,
|
|
661
|
-
y1: G.value.bottom,
|
|
662
|
-
y2: G.value.bottom + 3,
|
|
663
|
-
stroke: N.value.ticks.stroke,
|
|
664
|
-
"stroke-width": 1,
|
|
665
|
-
"stroke-linecap": "round"
|
|
666
|
-
}, null, 8, qe))), 256))])) : u("", !0)
|
|
667
|
-
])) : u("", !0),
|
|
668
|
-
b(e.$slots, "svg", { svg: {
|
|
669
|
-
...G.value,
|
|
670
|
-
isPrintingImg: S(X) || S(Z) || S(Pt),
|
|
671
|
-
isPrintingSvg: S(Ft)
|
|
672
|
-
} }, void 0, !0)
|
|
673
|
-
], 14, Pe)),
|
|
674
|
-
e.$slots.watermark ? (_(), d("div", Je, [b(e.$slots, "watermark", h(m({ isPrinting: S(X) || S(Z) || S(Pt) || S(Ft) })), void 0, !0)])) : u("", !0),
|
|
675
|
-
f("div", { id: `legend-bottom-${L.value}` }, null, 8, Ye),
|
|
676
|
-
lt.value && (P.value.legend.show || e.$slots.legend) ? (_(), l(Se, {
|
|
677
|
-
key: 5,
|
|
678
|
-
to: P.value.legend.position === "top" ? `#legend-top-${L.value}` : `#legend-bottom-${L.value}`
|
|
679
|
-
}, [f("div", {
|
|
680
|
-
ref_key: "chartLegend",
|
|
681
|
-
ref: ot
|
|
682
|
-
}, [b(e.$slots, "legend", { legend: Y.value }, () => [P.value.legend.show ? (_(), l(ye, {
|
|
683
|
-
key: 0,
|
|
684
|
-
clickable: !1,
|
|
685
|
-
legendSet: Y.value,
|
|
686
|
-
config: St.value
|
|
687
|
-
}, {
|
|
688
|
-
item: C(({ legend: e }) => [S(z) ? u("", !0) : (_(), d("div", Xe, [f("span", Ze, x(e.name) + ":", 1), f("span", null, x(e.value), 1)]))]),
|
|
689
|
-
_: 1
|
|
690
|
-
}, 8, ["legendSet", "config"])) : u("", !0)], !0)], 512)], 8, ["to"])) : u("", !0),
|
|
691
|
-
e.$slots.source ? (_(), d("div", {
|
|
692
|
-
key: 6,
|
|
693
|
-
ref_key: "source",
|
|
694
|
-
ref: st,
|
|
695
|
-
dir: "auto"
|
|
696
|
-
}, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
697
|
-
b(e.$slots, "skeleton", {}, () => [S(z) ? (_(), l(le, { key: 0 })) : u("", !0)], !0)
|
|
698
|
-
], 46, je));
|
|
699
|
-
}
|
|
700
|
-
}, [["__scopeId", "data-v-c6a799af"]]);
|
|
701
|
-
//#endregion
|
|
702
|
-
export { Ae as n, w as t };
|