vue-data-ui 3.27.0 → 3.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/A11yDataTable-DWNlWXzs.js +1 -0
- package/dist/Arrow-C2W0uGrq.js +1 -0
- package/dist/BaseDraggableDialog-D_tuHEjO.js +1 -0
- package/dist/BaseIcon-DdIyewwY.js +1 -0
- package/dist/BaseLegendToggle-Bq5FjyuI.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-DoYifY2y.js +1 -0
- package/dist/ColorPicker-MLwiwxl5.js +1 -0
- package/dist/DataTable-WNecJMcY.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-CHg1AQ3p.js +1 -0
- package/dist/Legend-D8YoT1RJ.js +1 -0
- package/dist/NonSvgPenAndPaper-CqtJpZKh.js +1 -0
- package/dist/PackageVersion-CdkxOy58.js +1 -0
- package/dist/PenAndPaper-IMw576MC.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-Bp9YNtPc.js +1 -0
- package/dist/SlicerPreview-CNUciSbY.js +1 -0
- package/dist/SparkTooltip-C5JMcBXT.js +1 -0
- package/dist/Title-BGYFqulv.js +1 -0
- package/dist/Tooltip-Cus2-XNQ.js +1 -0
- package/dist/UserOptions-DTxMeZv3.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-CIvU_04o.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-D8t3Bm7s.js +3 -0
- package/dist/exposedLib-DHtyEc_G.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-DiT4ivZ5.js +1 -0
- package/dist/labelUtils-CG3uVXoZ.js +1 -0
- package/dist/lib-CV_IANZ6.js +12 -0
- package/dist/package-DE5cU1Rg.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-BQSB1V3H.js +1 -0
- package/dist/render-common-BdZ5aRyn.js +1 -0
- package/dist/resolveChartConfig-DZg-korK.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-CB186vF2.js +1 -0
- package/dist/useObjectBindings-Dse7YyAf.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-hLW3cv4N.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-DyYgLIZN.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-BZAoyWkc.js +19 -0
- package/dist/vue-ui-accordion-BNvevckx.js +1 -0
- package/dist/vue-ui-age-pyramid-DkA6vpU3.js +1 -0
- package/dist/vue-ui-annotator-DuQME4Hh.js +331 -0
- package/dist/vue-ui-bullet-BVs8JX8S.js +34 -0
- package/dist/vue-ui-bump-DYdm3EvF.js +10 -0
- package/dist/vue-ui-candlestick-DZgxl4mW.js +22 -0
- package/dist/vue-ui-carousel-table-BB7DsTUt.js +1 -0
- package/dist/vue-ui-chestnut-Bo1h5rBt.js +1 -0
- package/dist/vue-ui-chord-B6_veyvO.js +21 -0
- package/dist/vue-ui-circle-pack-Bm7e2YNh.js +13 -0
- package/dist/vue-ui-cursor-TidZDuSh.js +1 -0
- package/dist/vue-ui-dag-BiN_AnLo.js +9 -0
- package/dist/vue-ui-dashboard-zepAVN_W.js +1 -0
- package/dist/vue-ui-digits-CXKKmfGj.js +42 -0
- package/dist/vue-ui-donut-CKkBtyPK.js +22 -0
- package/dist/vue-ui-donut-DLDUpjDU.js +47 -0
- package/dist/vue-ui-donut-evolution-BxMTdE5G.js +2 -0
- package/dist/vue-ui-dumbbell-C8rNwdz0.js +9 -0
- package/dist/vue-ui-flow-Dru76A2O.js +3 -0
- package/dist/vue-ui-funnel-D_u1h5S9.js +1 -0
- package/dist/vue-ui-galaxy-sBEH18Xj.js +1 -0
- package/dist/vue-ui-gauge-Do3RN8ne.js +1 -0
- package/dist/vue-ui-geo-DDbtx_iJ.js +1 -0
- package/dist/vue-ui-gizmo-eic6xLjB.js +1 -0
- package/dist/vue-ui-heatmap-DlmJRsM8.js +1 -0
- package/dist/vue-ui-hill-C5oiuIXh.js +1 -0
- package/dist/vue-ui-history-plot-BJjnkWcT.js +2 -0
- package/dist/vue-ui-horizontal-bar-BRDBJEl1.js +4 -0
- package/dist/vue-ui-kpi-C-eed3jO.js +1 -0
- package/dist/vue-ui-label-B4pkXBxc.js +7 -0
- package/dist/vue-ui-mini-loader-CElmv_iF.js +1 -0
- package/dist/vue-ui-molecule-BeyQWZU9.js +1 -0
- package/dist/vue-ui-mood-radar-Bh0kHfiZ.js +1 -0
- package/dist/vue-ui-nested-donuts-FlnJfDaF.js +19 -0
- package/dist/vue-ui-onion-BjhSpjtW.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.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-BaKSTJDv.js +2 -0
- package/dist/vue-ui-quick-chart-Nc2mVlle.js +17 -0
- package/dist/vue-ui-radar-BzUfkLlC.js +1 -0
- package/dist/vue-ui-rating-BwWXvbAg.js +1 -0
- package/dist/vue-ui-relation-circle-nAZEg-BL.js +1 -0
- package/dist/vue-ui-ridgeline-DxLZg1E2.js +2 -0
- package/dist/vue-ui-rings-BOti0NGb.js +1 -0
- package/dist/vue-ui-scatter-CCNMggyo.js +9 -0
- package/dist/vue-ui-skeleton-DI7pcimU.js +41 -0
- package/dist/vue-ui-smiley-D70sJZWl.js +1 -0
- package/dist/vue-ui-spark-trend-BVtfEalS.js +1 -0
- package/dist/vue-ui-sparkbar-CdsLI7Ke.js +1 -0
- package/dist/vue-ui-sparkgauge-wmj5Wnnp.js +1 -0
- package/dist/vue-ui-sparkhistogram-D8S_P_P4.js +1 -0
- package/dist/vue-ui-sparkline-BjsJnS_9.js +1 -0
- package/dist/vue-ui-sparkstackbar-ZN8LXzoV.js +1 -0
- package/dist/vue-ui-stackbar-Dx_EN3pT.js +29 -0
- package/dist/vue-ui-stackline-DW-oxJvA.js +39 -0
- package/dist/vue-ui-strip-plot-D7kjJ3Qh.js +2 -0
- package/dist/vue-ui-table-CaFVLHxE.js +14 -0
- package/dist/vue-ui-table-heatmap-Ctf7Rhqo.js +1 -0
- package/dist/vue-ui-table-sparkline-C0I0cXBS.js +1 -0
- package/dist/vue-ui-thermometer-B6og15Al.js +1 -0
- package/dist/vue-ui-timer-DgXvO2Q7.js +64 -0
- package/dist/vue-ui-tiremarks-Dh6fZ454.js +1 -0
- package/dist/vue-ui-treemap-7JuvN6P_.js +1 -0
- package/dist/vue-ui-waffle-BqvGzfse.js +1 -0
- package/dist/vue-ui-wheel-SdwJqKA7.js +1 -0
- package/dist/vue-ui-word-cloud-1WVV_k12.js +4 -0
- package/dist/vue-ui-world-DjMy_utm.js +19 -0
- package/dist/vue-ui-xy-DaozHMfg.js +31 -0
- package/dist/vue-ui-xy-canvas-CegvS9RR.js +9 -0
- package/dist/vue-ui-xy-rGHSI1am.js +24 -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-CVoh3twl.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-BRfcRW6Z.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,401 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ht as n, Jt as r, S as i, X as ee, Yt as te, at as a, en as ne, i as o, nn as s, t as re, w as ie, yt as ae, zt as oe } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { n as ue, t as de } from "./BaseScanner-Dzc8VT3j.js";
|
|
6
|
-
import { t as c } from "./useNestedProp-DR_8JPol.js";
|
|
7
|
-
import { t as l } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as u } from "./DefGrad-DVBqDjhO.js";
|
|
9
|
-
import { t as d } from "./usePrefersMotion-BC-CsqR1.js";
|
|
10
|
-
import { t as fe } from "./vue_ui_sparkbar-z6qO--Kf.js";
|
|
11
|
-
import { Fragment as f, computed as p, createBlock as pe, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineAsyncComponent as me, guardReactiveProps as he, mergeProps as ge, nextTick as _e, normalizeProps as ve, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as ye, renderSlot as S, toDisplayString as C, toRefs as be, unref as w, useSlots as T, watch as E } from "vue";
|
|
12
|
-
//#region src/components/vue-ui-sparkbar.vue
|
|
13
|
-
var D = /* @__PURE__ */ e({ default: () => P }), O = [
|
|
14
|
-
"onClick",
|
|
15
|
-
"onMouseenter",
|
|
16
|
-
"onMouseleave"
|
|
17
|
-
], k = {
|
|
18
|
-
key: 1,
|
|
19
|
-
class: "vue-ui-sparkbar-datapoint-value"
|
|
20
|
-
}, A = ["xmlns", "viewBox"], j = [
|
|
21
|
-
"height",
|
|
22
|
-
"width",
|
|
23
|
-
"fill",
|
|
24
|
-
"rx"
|
|
25
|
-
], M = [
|
|
26
|
-
"height",
|
|
27
|
-
"width",
|
|
28
|
-
"fill",
|
|
29
|
-
"rx"
|
|
30
|
-
], N = [
|
|
31
|
-
"height",
|
|
32
|
-
"width",
|
|
33
|
-
"fill",
|
|
34
|
-
"rx"
|
|
35
|
-
], xe = {
|
|
36
|
-
key: 2,
|
|
37
|
-
ref: "source",
|
|
38
|
-
dir: "auto"
|
|
39
|
-
}, P = {
|
|
40
|
-
__name: "vue-ui-sparkbar",
|
|
41
|
-
props: {
|
|
42
|
-
config: {
|
|
43
|
-
type: Object,
|
|
44
|
-
default() {
|
|
45
|
-
return {};
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
dataset: {
|
|
49
|
-
type: Array,
|
|
50
|
-
default() {
|
|
51
|
-
return [];
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
backgroundOpacity: {
|
|
55
|
-
type: Number,
|
|
56
|
-
default: null
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
emits: ["selectDatapoint"],
|
|
60
|
-
setup(e, { emit: D }) {
|
|
61
|
-
let P = me(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), { vue_ui_sparkbar: Se } = le(), { isThemeValid: Ce, warnInvalidTheme: we } = l(), F = d(), I = e, Te = T(), L = x(ee()), R = x(G()), z = p(() => R.value.style.bar), B = p(() => R.value.style.labels), V = p(() => R.value.style), H = p(() => R.value.debug);
|
|
62
|
-
y(() => {
|
|
63
|
-
Te["chart-background"] && H.value && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
64
|
-
}), se({
|
|
65
|
-
config: () => R.value,
|
|
66
|
-
dataset: () => I.dataset,
|
|
67
|
-
component: "VueUiSparkbar",
|
|
68
|
-
rules: [ce.noHint]
|
|
69
|
-
});
|
|
70
|
-
let Ee = p(() => s({
|
|
71
|
-
defaultConfig: { style: {
|
|
72
|
-
backgroundColor: "#99999930",
|
|
73
|
-
animation: { show: !1 },
|
|
74
|
-
layout: { independant: !0 },
|
|
75
|
-
gutter: {
|
|
76
|
-
backgroundColor: "#6A6A6A",
|
|
77
|
-
opacity: 50
|
|
78
|
-
},
|
|
79
|
-
bar: { gradient: { underlayerColor: "#6A6A6A" } }
|
|
80
|
-
} },
|
|
81
|
-
userConfig: R.value.skeletonConfig ?? {}
|
|
82
|
-
})), { loading: U, FINAL_DATASET: W, manualLoading: De } = ue({
|
|
83
|
-
...be(I),
|
|
84
|
-
FINAL_CONFIG: R,
|
|
85
|
-
prepareConfig: G,
|
|
86
|
-
skeletonDataset: I.config?.skeletonDataset ?? [
|
|
87
|
-
{
|
|
88
|
-
name: "_",
|
|
89
|
-
value: 21,
|
|
90
|
-
target: 25,
|
|
91
|
-
color: "#808080"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: "_",
|
|
95
|
-
value: 13,
|
|
96
|
-
target: 25,
|
|
97
|
-
color: "#ADADAD"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
name: "_",
|
|
101
|
-
value: 8,
|
|
102
|
-
target: 25,
|
|
103
|
-
color: "#DBDBDB"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
skeletonConfig: s({
|
|
107
|
-
defaultConfig: R.value,
|
|
108
|
-
userConfig: Ee.value
|
|
109
|
-
})
|
|
110
|
-
});
|
|
111
|
-
function G() {
|
|
112
|
-
let e = c({
|
|
113
|
-
userConfig: I.config,
|
|
114
|
-
defaultConfig: Se
|
|
115
|
-
}), t = e.theme;
|
|
116
|
-
if (!t) return e;
|
|
117
|
-
if (!Ce.value(e)) return we(e), e;
|
|
118
|
-
let r = c({
|
|
119
|
-
userConfig: fe[t] || I.config,
|
|
120
|
-
defaultConfig: e
|
|
121
|
-
}), i = c({
|
|
122
|
-
userConfig: I.config,
|
|
123
|
-
defaultConfig: r
|
|
124
|
-
});
|
|
125
|
-
return {
|
|
126
|
-
...i,
|
|
127
|
-
customPalette: i.customPalette.length ? i.customPalette : ne[t] || n
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
E(() => I.config, (e) => {
|
|
131
|
-
R.value = G();
|
|
132
|
-
}, { deep: !0 });
|
|
133
|
-
let Oe = p(() => ie(R.value.customPalette)), K = x(W.value.map((e) => ({
|
|
134
|
-
...e,
|
|
135
|
-
value: V.value.animation.show ? 0 : e.value || 0,
|
|
136
|
-
formatter: e.formatter || null
|
|
137
|
-
}))), q = x(null);
|
|
138
|
-
y(async () => {
|
|
139
|
-
oe(I.dataset) && a({
|
|
140
|
-
componentName: "VueUiSparkbar",
|
|
141
|
-
type: "dataset",
|
|
142
|
-
debug: H.value
|
|
143
|
-
}), J();
|
|
144
|
-
});
|
|
145
|
-
function J() {
|
|
146
|
-
if (V.value.animation.show && !F.value) {
|
|
147
|
-
let e = V.value.animation.animationFrames, t = W.value.map((t, n) => t.value / e), n = W.value.map((e) => e.value || 0).reduce((e, t) => e + t, 0), r = 0;
|
|
148
|
-
function i() {
|
|
149
|
-
r += n / e, r < n ? (K.value = K.value.map((e, n) => ({
|
|
150
|
-
...e,
|
|
151
|
-
value: e.value += t[n]
|
|
152
|
-
})), q.value = requestAnimationFrame(i)) : K.value = W.value.map((e) => ({
|
|
153
|
-
...e,
|
|
154
|
-
value: e.value || 0,
|
|
155
|
-
formatter: e.formatter || null
|
|
156
|
-
}));
|
|
157
|
-
}
|
|
158
|
-
i();
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
E(() => W.value, async (e) => {
|
|
162
|
-
cancelAnimationFrame(q.value), K.value = W.value.map((e) => ({
|
|
163
|
-
...e,
|
|
164
|
-
value: V.value.animation.show && !F.value ? 0 : e.value || 0,
|
|
165
|
-
formatter: e.formatter || null
|
|
166
|
-
})), _e(J);
|
|
167
|
-
}, { deep: !0 });
|
|
168
|
-
let Y = x({
|
|
169
|
-
width: 500,
|
|
170
|
-
height: 16
|
|
171
|
-
}), ke = p(() => Math.max(...W.value.map((e) => e.value))), Ae = p(() => (H.value && W.value.forEach((e, t) => {
|
|
172
|
-
ae({
|
|
173
|
-
datasetObject: e,
|
|
174
|
-
requiredAttributes: ["name", "value"]
|
|
175
|
-
}).forEach((e) => {
|
|
176
|
-
a({
|
|
177
|
-
componentName: "VueUiSparkbar",
|
|
178
|
-
type: "datasetSerieAttribute",
|
|
179
|
-
property: e,
|
|
180
|
-
index: t
|
|
181
|
-
});
|
|
182
|
-
});
|
|
183
|
-
}), K.value.map((e, t) => ({
|
|
184
|
-
...e,
|
|
185
|
-
value: e.value || 0,
|
|
186
|
-
color: i(e.color) || Oe.value[t] || n[t] || n[t % n.length]
|
|
187
|
-
}))));
|
|
188
|
-
function je(e) {
|
|
189
|
-
return e / ke.value;
|
|
190
|
-
}
|
|
191
|
-
function X(e) {
|
|
192
|
-
return V.value.layout.independant ? e.target ? e.value / e.target : V.value.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : V.value.layout.target === 0 ? 1 : e.value / V.value.layout.target : je(e.value);
|
|
193
|
-
}
|
|
194
|
-
function Z(e) {
|
|
195
|
-
return V.value.layout.independant && e.target || V.value.layout.target;
|
|
196
|
-
}
|
|
197
|
-
let Q = D;
|
|
198
|
-
function Me(e, t) {
|
|
199
|
-
Q("selectDatapoint", {
|
|
200
|
-
datapoint: e,
|
|
201
|
-
index: t
|
|
202
|
-
}), R.value.events.datapointClick && R.value.events.datapointClick({
|
|
203
|
-
datapoint: e,
|
|
204
|
-
seriesIndex: t
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
function Ne(e, t) {
|
|
208
|
-
R.value.events.datapointEnter && R.value.events.datapointEnter({
|
|
209
|
-
datapoint: e,
|
|
210
|
-
seriesIndex: t
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
function Pe(e, t) {
|
|
214
|
-
R.value.events.datapointLeave && R.value.events.datapointLeave({
|
|
215
|
-
datapoint: e,
|
|
216
|
-
seriesIndex: t
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
let $ = p(() => z.value.borderRadius == null ? Y.value.height / 2 : Math.min(Y.value.height / 2, z.value.borderRadius));
|
|
220
|
-
return (e, n) => (b(), h("div", {
|
|
221
|
-
class: "vue-data-ui-component vue-ui-sparkbar",
|
|
222
|
-
style: v({
|
|
223
|
-
width: "100%",
|
|
224
|
-
position: "relative",
|
|
225
|
-
fontFamily: V.value.fontFamily,
|
|
226
|
-
background: I.backgroundOpacity === null ? V.value.backgroundColor : w(r)(V.value.backgroundColor, I.backgroundOpacity)
|
|
227
|
-
})
|
|
228
|
-
}, [
|
|
229
|
-
e.$slots.title ? S(e.$slots, "title", ve(he({ title: {
|
|
230
|
-
...e.title,
|
|
231
|
-
title: V.value.title.text,
|
|
232
|
-
subtitle: V.value.title.subtitle.text
|
|
233
|
-
} })), void 0, void 0, 0) : m("", !0),
|
|
234
|
-
!e.$slots.title && V.value.title.text ? (b(), h("div", {
|
|
235
|
-
key: 1,
|
|
236
|
-
class: "vue-ui-sparkbar-title-container",
|
|
237
|
-
style: v({
|
|
238
|
-
background: V.value.title.backgroundColor,
|
|
239
|
-
margin: V.value.title.margin,
|
|
240
|
-
textAlign: V.value.title.textAlign
|
|
241
|
-
})
|
|
242
|
-
}, [g("div", {
|
|
243
|
-
class: "vue-ui-sparkbar-title",
|
|
244
|
-
style: v({
|
|
245
|
-
fontSize: V.value.title.fontSize + "px",
|
|
246
|
-
color: V.value.title.color,
|
|
247
|
-
fontWeight: V.value.title.bold ? "bold" : "normal"
|
|
248
|
-
})
|
|
249
|
-
}, C(V.value.title.text), 5), V.value.title.subtitle.text ? (b(), h("div", {
|
|
250
|
-
key: 0,
|
|
251
|
-
class: "vue-ui-sparkbar-subtitle",
|
|
252
|
-
style: v({
|
|
253
|
-
fontSize: V.value.title.subtitle.fontSize + "px",
|
|
254
|
-
color: V.value.title.subtitle.color,
|
|
255
|
-
fontWeight: V.value.title.subtitle.bold ? "bold" : "normal"
|
|
256
|
-
})
|
|
257
|
-
}, C(V.value.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
|
|
258
|
-
(b(!0), h(f, null, ye(Ae.value, (n, i) => (b(), h("div", {
|
|
259
|
-
style: v(`display:flex !important;${["left", "right"].includes(B.value.name.position) ? `flex-direction: ${B.value.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${V.value.gap}px !important;align-items:center;${w(W).length > 0 && i !== w(W).length - 1 ? "margin-bottom:6px" : ""}`),
|
|
260
|
-
onClick: (e) => Me(n, i),
|
|
261
|
-
onMouseenter: (e) => Ne(n, i),
|
|
262
|
-
onMouseleave: (e) => Pe(n, i)
|
|
263
|
-
}, [
|
|
264
|
-
w(U) ? m("", !0) : S(e.$slots, "data-label", ge({ ref_for: !0 }, { bar: {
|
|
265
|
-
...n,
|
|
266
|
-
target: Z(n),
|
|
267
|
-
valueLabel: w(o)(n.formatter, n.value, w(t)({
|
|
268
|
-
p: n.prefix || "",
|
|
269
|
-
v: n.value,
|
|
270
|
-
s: n.suffix || "",
|
|
271
|
-
r: n.rounding || 0
|
|
272
|
-
}), {
|
|
273
|
-
datapoint: n,
|
|
274
|
-
seriesIndex: i
|
|
275
|
-
}),
|
|
276
|
-
targetLabel: w(o)(n.formatter, Z(n), w(t)({
|
|
277
|
-
p: n.prefix || "",
|
|
278
|
-
v: Z(n),
|
|
279
|
-
s: n.suffix || "",
|
|
280
|
-
r: n.rounding || 0
|
|
281
|
-
}), {
|
|
282
|
-
datapoint: n,
|
|
283
|
-
seriesIndex: i
|
|
284
|
-
})
|
|
285
|
-
} }), void 0, void 0, 0),
|
|
286
|
-
!e.$slots["data-label"] || w(U) ? (b(), h("div", {
|
|
287
|
-
key: 1,
|
|
288
|
-
style: v({
|
|
289
|
-
display: "flex",
|
|
290
|
-
justifyContent: ["right", "top-right"].includes(B.value.name.position) ? "flex-end" : ["top-center"].includes(B.value.name.position) ? "center" : "flex-start",
|
|
291
|
-
alignItems: "center",
|
|
292
|
-
width: B.value.name.width,
|
|
293
|
-
color: B.value.name.color,
|
|
294
|
-
fontSize: B.value.fontSize + "px",
|
|
295
|
-
fontWeight: B.value.name.bold ? "bold" : "normal",
|
|
296
|
-
flexWrap: "wrap"
|
|
297
|
-
})
|
|
298
|
-
}, [w(U) ? (b(), h("div", {
|
|
299
|
-
key: 0,
|
|
300
|
-
class: "vue-ui-sparkbar-skeleton-name",
|
|
301
|
-
style: v({
|
|
302
|
-
width: "60px",
|
|
303
|
-
height: B.value.fontSize + "px",
|
|
304
|
-
borderRadius: B.value.fontSize / 4 + "px",
|
|
305
|
-
display: "flex",
|
|
306
|
-
alignItems: "center",
|
|
307
|
-
justifyContent: "space-between",
|
|
308
|
-
marginTop: "5px"
|
|
309
|
-
})
|
|
310
|
-
}, [g("div", { style: v({
|
|
311
|
-
height: "100%",
|
|
312
|
-
width: "40px",
|
|
313
|
-
borderRadius: B.value.fontSize / 4 + "px",
|
|
314
|
-
backgroundColor: "#6A6A6A80"
|
|
315
|
-
}) }, null, 4), g("div", { style: v({
|
|
316
|
-
height: "100%",
|
|
317
|
-
width: "15px",
|
|
318
|
-
borderRadius: B.value.fontSize / 4 + "px",
|
|
319
|
-
backgroundColor: "#6A6A6A80"
|
|
320
|
-
}) }, null, 4)], 4)) : (b(), h(f, { key: 1 }, [
|
|
321
|
-
g("span", null, C(n.name), 1),
|
|
322
|
-
B.value.value.show ? (b(), h("span", {
|
|
323
|
-
key: 0,
|
|
324
|
-
style: v(`font-weight:${B.value.value.bold ? "bold" : "normal"}`),
|
|
325
|
-
class: "vue-ui-sparkbar-datapoint-name"
|
|
326
|
-
}, ": " + C(w(o)(n.formatter, n.value, w(t)({
|
|
327
|
-
p: n.prefix || "",
|
|
328
|
-
v: n.value,
|
|
329
|
-
s: n.suffix || "",
|
|
330
|
-
r: n.rounding || 0
|
|
331
|
-
}), {
|
|
332
|
-
datapoint: n,
|
|
333
|
-
seriesIndex: i
|
|
334
|
-
})), 5)) : m("", !0),
|
|
335
|
-
V.value.layout.showTargetValue ? (b(), h("span", k, C(" " + V.value.layout.targetValueText) + " " + C(w(o)(n.formatter, Z(n), w(t)({
|
|
336
|
-
p: n.prefix || "",
|
|
337
|
-
v: Z(n),
|
|
338
|
-
s: n.suffix || "",
|
|
339
|
-
r: n.rounding || 0
|
|
340
|
-
}), {
|
|
341
|
-
datapoint: n,
|
|
342
|
-
seriesIndex: i
|
|
343
|
-
})), 1)) : m("", !0)
|
|
344
|
-
], 64))], 4)) : m("", !0),
|
|
345
|
-
(b(), h("svg", {
|
|
346
|
-
role: "img",
|
|
347
|
-
xmlns: w(re),
|
|
348
|
-
viewBox: `0 0 ${Y.value.width} ${Y.value.height}`,
|
|
349
|
-
width: "100%"
|
|
350
|
-
}, [
|
|
351
|
-
_(w(P)),
|
|
352
|
-
g("defs", null, [_(u, {
|
|
353
|
-
t: "linear",
|
|
354
|
-
x1: "0%",
|
|
355
|
-
y1: "0%",
|
|
356
|
-
x2: "100%",
|
|
357
|
-
y2: "0%",
|
|
358
|
-
id: `sparkbar_gradient_${i}_${L.value}`,
|
|
359
|
-
stops: [[
|
|
360
|
-
"0%",
|
|
361
|
-
w(r)(w(te)(n.color, .03), 100 - z.value.gradient.intensity),
|
|
362
|
-
1
|
|
363
|
-
], [
|
|
364
|
-
"100%",
|
|
365
|
-
n.color,
|
|
366
|
-
1
|
|
367
|
-
]]
|
|
368
|
-
}, null, 8, ["id", "stops"])]),
|
|
369
|
-
g("rect", {
|
|
370
|
-
height: Y.value.height,
|
|
371
|
-
width: Y.value.width,
|
|
372
|
-
x: 0,
|
|
373
|
-
y: 0,
|
|
374
|
-
fill: w(r)(V.value.gutter.backgroundColor, V.value.gutter.opacity),
|
|
375
|
-
rx: $.value
|
|
376
|
-
}, null, 8, j),
|
|
377
|
-
g("rect", {
|
|
378
|
-
height: Y.value.height,
|
|
379
|
-
width: Y.value.width * X(n),
|
|
380
|
-
x: 0,
|
|
381
|
-
y: 0,
|
|
382
|
-
fill: z.value.gradient.underlayerColor,
|
|
383
|
-
rx: $.value
|
|
384
|
-
}, null, 8, M),
|
|
385
|
-
g("rect", {
|
|
386
|
-
height: Y.value.height,
|
|
387
|
-
width: Y.value.width * X(n),
|
|
388
|
-
x: 0,
|
|
389
|
-
y: 0,
|
|
390
|
-
fill: z.value.gradient.show ? `url(#sparkbar_gradient_${i}_${L.value})` : n.color,
|
|
391
|
-
rx: $.value
|
|
392
|
-
}, null, 8, N)
|
|
393
|
-
], 8, A))
|
|
394
|
-
], 44, O))), 256)),
|
|
395
|
-
e.$slots.source ? (b(), h("div", xe, [S(e.$slots, "source")], 512)) : m("", !0),
|
|
396
|
-
w(U) ? (b(), pe(de, { key: 3 })) : m("", !0)
|
|
397
|
-
], 4));
|
|
398
|
-
}
|
|
399
|
-
};
|
|
400
|
-
//#endregion
|
|
401
|
-
export { D as n, P as t };
|
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Tt as n, X as ee, at as r, b as i, i as te, nn as a, t as ne, yt as o, zt as s } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as re, t as ie } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ae } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { n as oe, t as c } from "./BaseScanner-Dzc8VT3j.js";
|
|
6
|
-
import { t as l } from "./useNestedProp-DR_8JPol.js";
|
|
7
|
-
import { t as u } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as se } from "./DefGrad-DVBqDjhO.js";
|
|
9
|
-
import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
10
|
-
import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
|
|
11
|
-
import { t as ue } from "./vue_ui_sparkgauge-BX1MS3bA.js";
|
|
12
|
-
import { computed as d, createBlock as de, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as fe, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as pe, onMounted as v, openBlock as y, ref as b, renderSlot as x, toDisplayString as S, toRefs as me, unref as C, watch as w } from "vue";
|
|
13
|
-
//#region src/components/vue-ui-sparkgauge.vue
|
|
14
|
-
var T = /* @__PURE__ */ e({ default: () => k }), he = ["xmlns", "viewBox"], ge = ["width", "height"], _e = [
|
|
15
|
-
"d",
|
|
16
|
-
"stroke",
|
|
17
|
-
"stroke-linecap"
|
|
18
|
-
], ve = [
|
|
19
|
-
"d",
|
|
20
|
-
"stroke",
|
|
21
|
-
"stroke-linecap",
|
|
22
|
-
"stroke-dashoffset"
|
|
23
|
-
], E = [
|
|
24
|
-
"x",
|
|
25
|
-
"y",
|
|
26
|
-
"width",
|
|
27
|
-
"height"
|
|
28
|
-
], D = [
|
|
29
|
-
"x",
|
|
30
|
-
"y",
|
|
31
|
-
"font-size",
|
|
32
|
-
"fill",
|
|
33
|
-
"font-weight"
|
|
34
|
-
], O = {
|
|
35
|
-
key: 2,
|
|
36
|
-
ref: "source",
|
|
37
|
-
dir: "auto"
|
|
38
|
-
}, k = {
|
|
39
|
-
__name: "vue-ui-sparkgauge",
|
|
40
|
-
props: {
|
|
41
|
-
config: {
|
|
42
|
-
type: Object,
|
|
43
|
-
default() {
|
|
44
|
-
return {};
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
dataset: {
|
|
48
|
-
type: Object,
|
|
49
|
-
default() {
|
|
50
|
-
return {};
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
setup(e) {
|
|
55
|
-
let T = fe(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), { vue_ui_sparkgauge: k } = ae(), { isThemeValid: A, warnInvalidTheme: j } = u(), M = le(), N = b(null), P = e, F = b(ee()), I = b(W()), L = d(() => I.value.style.dataLabel), R = d(() => I.value.style);
|
|
56
|
-
re({
|
|
57
|
-
config: () => I.value,
|
|
58
|
-
dataset: () => P.dataset,
|
|
59
|
-
component: "VueUiSparkgauge",
|
|
60
|
-
rules: [ie.noHint]
|
|
61
|
-
});
|
|
62
|
-
let z = d(() => R.value.animation.show && !M.value), ye = d(() => a({
|
|
63
|
-
defaultConfig: { style: {
|
|
64
|
-
animation: { show: !1 },
|
|
65
|
-
background: "#99999930",
|
|
66
|
-
colors: {
|
|
67
|
-
min: "#CACACA",
|
|
68
|
-
max: "#6A6A6A"
|
|
69
|
-
},
|
|
70
|
-
track: { autoColor: !0 },
|
|
71
|
-
gutter: { color: "#6A6A6A80" }
|
|
72
|
-
} },
|
|
73
|
-
userConfig: I.value.skeletonConfig ?? {}
|
|
74
|
-
})), { loading: B, FINAL_DATASET: V } = oe({
|
|
75
|
-
...me(P),
|
|
76
|
-
FINAL_CONFIG: I,
|
|
77
|
-
prepareConfig: W,
|
|
78
|
-
skeletonDataset: P.config?.skeletonDataset ?? {
|
|
79
|
-
value: 0,
|
|
80
|
-
min: -1,
|
|
81
|
-
max: 1,
|
|
82
|
-
title: ""
|
|
83
|
-
},
|
|
84
|
-
skeletonConfig: a({
|
|
85
|
-
defaultConfig: I.value,
|
|
86
|
-
userConfig: ye.value
|
|
87
|
-
})
|
|
88
|
-
}), H = d(() => {
|
|
89
|
-
let e = V.value.min ?? 0, t = V.value.max ?? 0;
|
|
90
|
-
return {
|
|
91
|
-
min: e,
|
|
92
|
-
max: t,
|
|
93
|
-
diff: t - e
|
|
94
|
-
};
|
|
95
|
-
}), U = d(() => H.value.diff / R.value.animation.speedMs), { svgRef: be } = ce({ config: { text: P.dataset?.title || "" } });
|
|
96
|
-
function W() {
|
|
97
|
-
let e = l({
|
|
98
|
-
userConfig: P.config,
|
|
99
|
-
defaultConfig: k
|
|
100
|
-
}), t = e.theme;
|
|
101
|
-
if (!t) return e;
|
|
102
|
-
if (!A.value(e)) return j(e), e;
|
|
103
|
-
let n = l({
|
|
104
|
-
userConfig: ue[t] || P.config,
|
|
105
|
-
defaultConfig: e
|
|
106
|
-
});
|
|
107
|
-
return l({
|
|
108
|
-
userConfig: P.config,
|
|
109
|
-
defaultConfig: n
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
v(() => {
|
|
113
|
-
K();
|
|
114
|
-
});
|
|
115
|
-
let G = d(() => I.value.debug);
|
|
116
|
-
function K() {
|
|
117
|
-
s(P.dataset) ? r({
|
|
118
|
-
componentName: "VueUiSparkgauge",
|
|
119
|
-
type: "dataset",
|
|
120
|
-
debug: G.value
|
|
121
|
-
}) : o({
|
|
122
|
-
datasetObject: P.dataset,
|
|
123
|
-
requiredAttributes: [
|
|
124
|
-
"value",
|
|
125
|
-
"min",
|
|
126
|
-
"max"
|
|
127
|
-
]
|
|
128
|
-
}).forEach((e) => {
|
|
129
|
-
r({
|
|
130
|
-
componentName: "VueUiSparkgauge",
|
|
131
|
-
type: "datasetAttribute",
|
|
132
|
-
property: e,
|
|
133
|
-
debug: G.value
|
|
134
|
-
});
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
w(() => P.config, () => {
|
|
138
|
-
I.value = W(), J.value = z.value ? H.value.min : V.value.value, K();
|
|
139
|
-
}, { deep: !0 });
|
|
140
|
-
let q = d(() => ({
|
|
141
|
-
height: R.value.height,
|
|
142
|
-
width: 128,
|
|
143
|
-
base: R.value.basePosition
|
|
144
|
-
})), J = b(z.value ? H.value.min : V.value.value);
|
|
145
|
-
w([() => V.value.value, z], ([e, t]) => {
|
|
146
|
-
Y(e || 0, t);
|
|
147
|
-
}, { immediate: !0 });
|
|
148
|
-
let xe = d(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
|
|
149
|
-
v(() => {
|
|
150
|
-
Y(V.value.value || 0);
|
|
151
|
-
});
|
|
152
|
-
function Y(e, t = z.value) {
|
|
153
|
-
if (N.value &&= (cancelAnimationFrame(N.value), null), !t) {
|
|
154
|
-
J.value = e;
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
function n() {
|
|
158
|
-
J.value < e ? J.value = Math.min(J.value + U.value, e) : J.value > e && (J.value = Math.max(J.value - U.value, e)), J.value === e ? N.value = null : N.value = requestAnimationFrame(n);
|
|
159
|
-
}
|
|
160
|
-
n();
|
|
161
|
-
}
|
|
162
|
-
let X = d(() => V.value.title ?? ""), Z = d(() => {
|
|
163
|
-
let e = H.value.diff;
|
|
164
|
-
if (!isFinite(e) || e === 0) return 0;
|
|
165
|
-
let t = H.value.min, n = xe.value;
|
|
166
|
-
return n >= 0 ? (n - t) / e : (Math.abs(t) - Math.abs(n)) / e;
|
|
167
|
-
}), Q = d(() => n(R.value.colors.min, R.value.colors.max, H.value.min, H.value.max, J.value)), $ = d(() => L.value.autoColor ? Q.value : L.value.color), Se = d(() => R.value.track.autoColor ? Q.value : R.value.track.color);
|
|
168
|
-
return pe(() => {
|
|
169
|
-
N.value && cancelAnimationFrame(N.value);
|
|
170
|
-
}), (e, n) => (y(), p("div", {
|
|
171
|
-
class: "vue-data-ui-component vue-ui-sparkgauge",
|
|
172
|
-
style: _(`font-family:${R.value.fontFamily};width: 100%; background:${R.value.background}`)
|
|
173
|
-
}, [
|
|
174
|
-
R.value.title.show && X.value && R.value.title.position === "top" ? (y(), p("div", {
|
|
175
|
-
key: 0,
|
|
176
|
-
class: "vue-data-ui-sparkgauge-label",
|
|
177
|
-
style: _(`font-size:${R.value.title.fontSize}px;text-align:${R.value.title.textAlign};font-weight:${R.value.title.bold ? "bold" : "normal"};color:${R.value.title.color}`)
|
|
178
|
-
}, S(X.value), 5)) : f("", !0),
|
|
179
|
-
(y(), p("svg", {
|
|
180
|
-
ref_key: "svgRef",
|
|
181
|
-
ref: be,
|
|
182
|
-
xmlns: C(ne),
|
|
183
|
-
viewBox: `0 0 ${q.value.width} ${q.value.height}`,
|
|
184
|
-
style: "overflow: visible; background:transparent; width:100%;"
|
|
185
|
-
}, [
|
|
186
|
-
h(C(T)),
|
|
187
|
-
e.$slots["chart-background"] && !C(B) ? (y(), p("foreignObject", {
|
|
188
|
-
key: 0,
|
|
189
|
-
x: 0,
|
|
190
|
-
y: 0,
|
|
191
|
-
width: q.value.width,
|
|
192
|
-
height: q.value.height,
|
|
193
|
-
style: { pointerEvents: "none" }
|
|
194
|
-
}, [x(e.$slots, "chart-background")], 8, ge)) : f("", !0),
|
|
195
|
-
m("defs", null, [h(se, {
|
|
196
|
-
t: "linear",
|
|
197
|
-
id: `gradient_${F.value}`,
|
|
198
|
-
x1: "-10%",
|
|
199
|
-
y1: "100%",
|
|
200
|
-
x2: "110%",
|
|
201
|
-
y2: "100%",
|
|
202
|
-
stops: [[
|
|
203
|
-
"0%",
|
|
204
|
-
R.value.colors.min,
|
|
205
|
-
1
|
|
206
|
-
], [
|
|
207
|
-
"100%",
|
|
208
|
-
R.value.colors.max,
|
|
209
|
-
1
|
|
210
|
-
]]
|
|
211
|
-
}, null, 8, ["id", "stops"])]),
|
|
212
|
-
m("path", {
|
|
213
|
-
d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
|
|
214
|
-
stroke: R.value.gutter.color,
|
|
215
|
-
"stroke-width": 8,
|
|
216
|
-
"stroke-linecap": R.value.gutter.strokeLinecap,
|
|
217
|
-
fill: "none"
|
|
218
|
-
}, null, 8, _e),
|
|
219
|
-
Z.value === 0 ? f("", !0) : (y(), p("path", {
|
|
220
|
-
key: 1,
|
|
221
|
-
d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
|
|
222
|
-
stroke: R.value.colors.showGradient ? `url(#gradient_${F.value})` : Se.value,
|
|
223
|
-
"stroke-width": 8,
|
|
224
|
-
"stroke-linecap": R.value.track.strokeLinecap,
|
|
225
|
-
fill: "none",
|
|
226
|
-
"stroke-dasharray": 169.5,
|
|
227
|
-
"stroke-dashoffset": 169.5 - 169.5 * Z.value,
|
|
228
|
-
class: g({ "vue-ui-sparkgauge-track": R.value.animation.show }),
|
|
229
|
-
style: _(R.value.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.animation.speedMs}ms ease-in;` : "")
|
|
230
|
-
}, null, 14, ve)),
|
|
231
|
-
C(B) ? (y(), p("rect", {
|
|
232
|
-
key: 2,
|
|
233
|
-
x: q.value.width / 2 - L.value.fontSize / 2,
|
|
234
|
-
y: q.value.base + 6 + L.value.offsetY - L.value.fontSize,
|
|
235
|
-
width: L.value.fontSize,
|
|
236
|
-
height: L.value.fontSize,
|
|
237
|
-
fill: "#6A6A6A50",
|
|
238
|
-
rx: 3
|
|
239
|
-
}, null, 8, E)) : (y(), p("text", {
|
|
240
|
-
key: 3,
|
|
241
|
-
"text-anchor": "middle",
|
|
242
|
-
x: q.value.width / 2,
|
|
243
|
-
y: q.value.base + 6 + L.value.offsetY,
|
|
244
|
-
"font-size": L.value.fontSize,
|
|
245
|
-
fill: $.value,
|
|
246
|
-
"font-weight": L.value.bold ? "bold" : "normal"
|
|
247
|
-
}, S(C(te)(L.value.formatter, C(i)(J.value), C(t)({
|
|
248
|
-
p: L.value.prefix,
|
|
249
|
-
v: C(i)(J.value),
|
|
250
|
-
s: L.value.suffix,
|
|
251
|
-
r: L.value.rounding
|
|
252
|
-
}), {
|
|
253
|
-
datapoint: C(i)(J.value),
|
|
254
|
-
color: $.value
|
|
255
|
-
})), 9, D))
|
|
256
|
-
], 8, he)),
|
|
257
|
-
R.value.title.show && X.value && R.value.title.position === "bottom" ? (y(), p("div", {
|
|
258
|
-
key: 1,
|
|
259
|
-
class: "vue-data-ui-sparkgauge-label",
|
|
260
|
-
style: _(`font-size:${R.value.title.fontSize}px;text-align:${R.value.title.textAlign};font-weight:${R.value.title.bold ? "bold" : "normal"};font-weight:${R.value.title.bold ? "bold" : "normal"};color:${R.value.title.color}`)
|
|
261
|
-
}, S(X.value), 5)) : f("", !0),
|
|
262
|
-
e.$slots.source ? (y(), p("div", O, [x(e.$slots, "source")], 512)) : f("", !0),
|
|
263
|
-
x(e.$slots, "skeleton", {}, () => [C(B) ? (y(), de(c, { key: 0 })) : f("", !0)])
|
|
264
|
-
], 4));
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
//#endregion
|
|
268
|
-
export { T as n, k as t };
|