vue-data-ui 3.26.5 → 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 +17969 -17813
- 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 -120
- 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-BQbcOtfC.js +0 -116
- package/dist/BaseDraggableDialog-BCFCiP_6.js +0 -272
- package/dist/BaseIcon-CIK6Sqo3.js +0 -484
- package/dist/BaseLegendToggle-Doa5rYP2.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-BGQM8B5F.js +0 -111
- package/dist/ColorPicker-Cb7qpvFt.js +0 -257
- package/dist/DataTable-B6LDCXBz.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-CwdgCb7Q.js +0 -187
- package/dist/Legend-D9FGXIbQ.js +0 -156
- package/dist/NonSvgPenAndPaper-9T4MSwXC.js +0 -577
- package/dist/PackageVersion-CslTvFsC.js +0 -12
- package/dist/PenAndPaper-C1EcBgJW.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-BZgQLgu5.js +0 -143
- package/dist/SlicerPreview-DyYv_G-_.js +0 -1730
- package/dist/SparkTooltip-D4cRlyuq.js +0 -93
- package/dist/Title-Bd98RysU.js +0 -87
- package/dist/Tooltip-DmQeI5WE.js +0 -312
- package/dist/UserOptions-B_yBcZ1-.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-B_RJohlM.js +0 -237
- package/dist/exposedLib-C-JlvWAt.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-KURaWjZI.js +0 -129
- package/dist/labelUtils-DShv2Mbg.js +0 -19
- package/dist/lib-TWIH5fGr.js +0 -2152
- package/dist/package-DbTqd5lc.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-CLl24Afl.js +0 -90
- package/dist/render-common-CKv-jztN.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-DObkR9Aa.js +0 -8008
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-BxOdWM0c.js +0 -12
- package/dist/useObjectBindings-CPmyIJxB.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-8Y1Rju0Y.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-C3G5Zdl5.js +0 -191
- package/dist/vue-ui-3d-bar-Cl6-fBV8.js +0 -1831
- package/dist/vue-ui-accordion-AyyZDab3.js +0 -81
- package/dist/vue-ui-age-pyramid-DOtWAL8s.js +0 -1305
- package/dist/vue-ui-annotator-BCVjlojM.js +0 -3325
- package/dist/vue-ui-bullet-B_1Ctjvq.js +0 -702
- package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
- package/dist/vue-ui-candlestick-KvhjbAxt.js +0 -2144
- package/dist/vue-ui-carousel-table-ArMiO0cG.js +0 -467
- package/dist/vue-ui-chestnut-DSM0U27X.js +0 -2016
- package/dist/vue-ui-chord-64akfaem.js +0 -1347
- package/dist/vue-ui-circle-pack-CaR_aNEh.js +0 -1647
- package/dist/vue-ui-cursor-DCgqYZiz.js +0 -283
- package/dist/vue-ui-dag-8uKK0Rlp.js +0 -2931
- package/dist/vue-ui-dashboard-DeccYtSY.js +0 -522
- package/dist/vue-ui-digits-BvK7bVuJ.js +0 -217
- package/dist/vue-ui-donut-8joMj08Z.js +0 -974
- package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
- package/dist/vue-ui-donut-evolution-DgITf95R.js +0 -1869
- package/dist/vue-ui-dumbbell-U2L4ZYhB.js +0 -1533
- package/dist/vue-ui-flow-DD20fJu_.js +0 -1229
- package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
- package/dist/vue-ui-galaxy-VZFZnHPv.js +0 -1097
- package/dist/vue-ui-gauge-Copa7G58.js +0 -934
- package/dist/vue-ui-geo-DeDQ6ubl.js +0 -1495
- package/dist/vue-ui-gizmo-D5oUKIsP.js +0 -238
- package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
- package/dist/vue-ui-hill-DONFacXR.js +0 -1747
- package/dist/vue-ui-history-plot-BMy_y9S6.js +0 -1710
- package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
- package/dist/vue-ui-kpi-Bol0OWs3.js +0 -104
- package/dist/vue-ui-label-cwjXaEDQ.js +0 -1451
- package/dist/vue-ui-mini-loader-kdpasmXb.js +0 -133
- package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
- package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
- package/dist/vue-ui-nested-donuts-ZmGGEvRk.js +0 -1515
- package/dist/vue-ui-onion-D6IKPpL-.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.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-CueHa1Pm.js +0 -1979
- package/dist/vue-ui-quick-chart-C8ZxX1Zw.js +0 -2775
- package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
- package/dist/vue-ui-rating-V_OnJN9Y.js +0 -359
- package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
- package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
- package/dist/vue-ui-rings-Bf9IKwDr.js +0 -1264
- package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
- package/dist/vue-ui-skeleton-dyXWT6JX.js +0 -2567
- package/dist/vue-ui-smiley-w6nH1I0E.js +0 -376
- package/dist/vue-ui-spark-trend-Bso9bwmY.js +0 -457
- package/dist/vue-ui-sparkbar-CL06Yt56.js +0 -401
- package/dist/vue-ui-sparkgauge-BHDM5Hbr.js +0 -268
- package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
- package/dist/vue-ui-sparkline-znaswFQj.js +0 -2067
- package/dist/vue-ui-sparkstackbar-BOzVoWoa.js +0 -750
- package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
- package/dist/vue-ui-stackline-qcLrNL09.js +0 -2829
- package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
- package/dist/vue-ui-table-D295mJIf.js +0 -1352
- package/dist/vue-ui-table-heatmap-CXeMKqKz.js +0 -363
- package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
- package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
- package/dist/vue-ui-timer-BULpjYiI.js +0 -451
- package/dist/vue-ui-tiremarks-B7bTeU8h.js +0 -540
- package/dist/vue-ui-treemap-DkqDz9W4.js +0 -1745
- package/dist/vue-ui-waffle-Cn7WBzqh.js +0 -1633
- package/dist/vue-ui-wheel-Cy7kBvEx.js +0 -873
- package/dist/vue-ui-word-cloud-tRqc2ZMR.js +0 -1723
- package/dist/vue-ui-world-B755-zji.js +0 -3021
- package/dist/vue-ui-xy-BiHIJ7rK.js +0 -1387
- package/dist/vue-ui-xy-DWYTZz_v.js +0 -5777
- package/dist/vue-ui-xy-canvas-DGuMC_Rf.js +0 -2151
- 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-DdjDL6aq.js +0 -491
- 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, $t as n, Jt as r, Rt as i, S as ee, Vt as a, X as te, at as o, i as s, qt as c, t as l, tn as u, vt as ne, w as re } from "./lib-TWIH5fGr.js";
|
|
3
|
-
import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as oe } from "./useConfig-DObkR9Aa.js";
|
|
5
|
-
import { n as se, t as ce } from "./BaseScanner-Dzc8VT3j.js";
|
|
6
|
-
import { t as d } from "./useNestedProp-BxOdWM0c.js";
|
|
7
|
-
import { t as le } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as ue } from "./DefGrad-DVBqDjhO.js";
|
|
9
|
-
import { t as de } from "./usePrefersMotion-BC-CsqR1.js";
|
|
10
|
-
import { t as f } from "./vue_ui_sparkbar-z6qO--Kf.js";
|
|
11
|
-
import { Fragment as p, computed as m, createBlock as fe, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as pe, guardReactiveProps as me, mergeProps as he, nextTick as ge, normalizeProps as _e, normalizeStyle as y, onMounted as b, openBlock as x, ref as S, renderList as ve, renderSlot as C, toDisplayString as w, toRefs as ye, unref as T, useSlots as be, 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 = pe(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), { vue_ui_sparkbar: Se } = oe(), { isThemeValid: Ce, warnInvalidTheme: we } = le(), F = de(), I = e, Te = be(), L = S(te()), R = S(G()), z = m(() => R.value.style.bar), B = m(() => R.value.style.labels), V = m(() => R.value.style), H = m(() => R.value.debug);
|
|
62
|
-
b(() => {
|
|
63
|
-
Te["chart-background"] && H.value && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
64
|
-
}), ie({
|
|
65
|
-
config: () => R.value,
|
|
66
|
-
dataset: () => I.dataset,
|
|
67
|
-
component: "VueUiSparkbar",
|
|
68
|
-
rules: [ae.noHint]
|
|
69
|
-
});
|
|
70
|
-
let Ee = m(() => u({
|
|
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 } = se({
|
|
83
|
-
...ye(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: u({
|
|
107
|
-
defaultConfig: R.value,
|
|
108
|
-
userConfig: Ee.value
|
|
109
|
-
})
|
|
110
|
-
});
|
|
111
|
-
function G() {
|
|
112
|
-
let e = d({
|
|
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 = d({
|
|
119
|
-
userConfig: f[t] || I.config,
|
|
120
|
-
defaultConfig: e
|
|
121
|
-
}), i = d({
|
|
122
|
-
userConfig: I.config,
|
|
123
|
-
defaultConfig: r
|
|
124
|
-
});
|
|
125
|
-
return {
|
|
126
|
-
...i,
|
|
127
|
-
customPalette: i.customPalette.length ? i.customPalette : n[t] || a
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
E(() => I.config, (e) => {
|
|
131
|
-
R.value = G();
|
|
132
|
-
}, { deep: !0 });
|
|
133
|
-
let Oe = m(() => re(R.value.customPalette)), K = S(W.value.map((e) => ({
|
|
134
|
-
...e,
|
|
135
|
-
value: V.value.animation.show ? 0 : e.value || 0,
|
|
136
|
-
formatter: e.formatter || null
|
|
137
|
-
}))), q = S(null);
|
|
138
|
-
b(async () => {
|
|
139
|
-
i(I.dataset) && o({
|
|
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
|
-
})), ge(J);
|
|
167
|
-
}, { deep: !0 });
|
|
168
|
-
let Y = S({
|
|
169
|
-
width: 500,
|
|
170
|
-
height: 16
|
|
171
|
-
}), ke = m(() => Math.max(...W.value.map((e) => e.value))), Ae = m(() => (H.value && W.value.forEach((e, t) => {
|
|
172
|
-
ne({
|
|
173
|
-
datasetObject: e,
|
|
174
|
-
requiredAttributes: ["name", "value"]
|
|
175
|
-
}).forEach((e) => {
|
|
176
|
-
o({
|
|
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: ee(e.color) || Oe.value[t] || a[t] || a[t % a.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 $ = m(() => z.value.borderRadius == null ? Y.value.height / 2 : Math.min(Y.value.height / 2, z.value.borderRadius));
|
|
220
|
-
return (e, n) => (x(), g("div", {
|
|
221
|
-
class: "vue-data-ui-component vue-ui-sparkbar",
|
|
222
|
-
style: y({
|
|
223
|
-
width: "100%",
|
|
224
|
-
position: "relative",
|
|
225
|
-
fontFamily: V.value.fontFamily,
|
|
226
|
-
background: I.backgroundOpacity === null ? V.value.backgroundColor : T(c)(V.value.backgroundColor, I.backgroundOpacity)
|
|
227
|
-
})
|
|
228
|
-
}, [
|
|
229
|
-
e.$slots.title ? C(e.$slots, "title", _e(me({ title: {
|
|
230
|
-
...e.title,
|
|
231
|
-
title: V.value.title.text,
|
|
232
|
-
subtitle: V.value.title.subtitle.text
|
|
233
|
-
} })), void 0, void 0, 0) : h("", !0),
|
|
234
|
-
!e.$slots.title && V.value.title.text ? (x(), g("div", {
|
|
235
|
-
key: 1,
|
|
236
|
-
class: "vue-ui-sparkbar-title-container",
|
|
237
|
-
style: y({
|
|
238
|
-
background: V.value.title.backgroundColor,
|
|
239
|
-
margin: V.value.title.margin,
|
|
240
|
-
textAlign: V.value.title.textAlign
|
|
241
|
-
})
|
|
242
|
-
}, [_("div", {
|
|
243
|
-
class: "vue-ui-sparkbar-title",
|
|
244
|
-
style: y({
|
|
245
|
-
fontSize: V.value.title.fontSize + "px",
|
|
246
|
-
color: V.value.title.color,
|
|
247
|
-
fontWeight: V.value.title.bold ? "bold" : "normal"
|
|
248
|
-
})
|
|
249
|
-
}, w(V.value.title.text), 5), V.value.title.subtitle.text ? (x(), g("div", {
|
|
250
|
-
key: 0,
|
|
251
|
-
class: "vue-ui-sparkbar-subtitle",
|
|
252
|
-
style: y({
|
|
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
|
-
}, w(V.value.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
|
|
258
|
-
(x(!0), g(p, null, ve(Ae.value, (n, i) => (x(), g("div", {
|
|
259
|
-
style: y(`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;${T(W).length > 0 && i !== T(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
|
-
T(U) ? h("", !0) : C(e.$slots, "data-label", he({ ref_for: !0 }, { bar: {
|
|
265
|
-
...n,
|
|
266
|
-
target: Z(n),
|
|
267
|
-
valueLabel: T(s)(n.formatter, n.value, T(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: T(s)(n.formatter, Z(n), T(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"] || T(U) ? (x(), g("div", {
|
|
287
|
-
key: 1,
|
|
288
|
-
style: y({
|
|
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
|
-
}, [T(U) ? (x(), g("div", {
|
|
299
|
-
key: 0,
|
|
300
|
-
class: "vue-ui-sparkbar-skeleton-name",
|
|
301
|
-
style: y({
|
|
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
|
-
}, [_("div", { style: y({
|
|
311
|
-
height: "100%",
|
|
312
|
-
width: "40px",
|
|
313
|
-
borderRadius: B.value.fontSize / 4 + "px",
|
|
314
|
-
backgroundColor: "#6A6A6A80"
|
|
315
|
-
}) }, null, 4), _("div", { style: y({
|
|
316
|
-
height: "100%",
|
|
317
|
-
width: "15px",
|
|
318
|
-
borderRadius: B.value.fontSize / 4 + "px",
|
|
319
|
-
backgroundColor: "#6A6A6A80"
|
|
320
|
-
}) }, null, 4)], 4)) : (x(), g(p, { key: 1 }, [
|
|
321
|
-
_("span", null, w(n.name), 1),
|
|
322
|
-
B.value.value.show ? (x(), g("span", {
|
|
323
|
-
key: 0,
|
|
324
|
-
style: y(`font-weight:${B.value.value.bold ? "bold" : "normal"}`),
|
|
325
|
-
class: "vue-ui-sparkbar-datapoint-name"
|
|
326
|
-
}, ": " + w(T(s)(n.formatter, n.value, T(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)) : h("", !0),
|
|
335
|
-
V.value.layout.showTargetValue ? (x(), g("span", k, w(" " + V.value.layout.targetValueText) + " " + w(T(s)(n.formatter, Z(n), T(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)) : h("", !0)
|
|
344
|
-
], 64))], 4)) : h("", !0),
|
|
345
|
-
(x(), g("svg", {
|
|
346
|
-
role: "img",
|
|
347
|
-
xmlns: T(l),
|
|
348
|
-
viewBox: `0 0 ${Y.value.width} ${Y.value.height}`,
|
|
349
|
-
width: "100%"
|
|
350
|
-
}, [
|
|
351
|
-
v(T(P)),
|
|
352
|
-
_("defs", null, [v(ue, {
|
|
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
|
-
T(c)(T(r)(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
|
-
_("rect", {
|
|
370
|
-
height: Y.value.height,
|
|
371
|
-
width: Y.value.width,
|
|
372
|
-
x: 0,
|
|
373
|
-
y: 0,
|
|
374
|
-
fill: T(c)(V.value.gutter.backgroundColor, V.value.gutter.opacity),
|
|
375
|
-
rx: $.value
|
|
376
|
-
}, null, 8, j),
|
|
377
|
-
_("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
|
-
_("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 ? (x(), g("div", xe, [C(e.$slots, "source")], 512)) : h("", !0),
|
|
396
|
-
T(U) ? (x(), fe(ce, { key: 3 })) : h("", !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, Rt as n, X as ee, at as r, b as i, i as te, t as ne, tn as a, vt as o, wt as s } from "./lib-TWIH5fGr.js";
|
|
3
|
-
import { n as re, t as ie } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ae } from "./useConfig-DObkR9Aa.js";
|
|
5
|
-
import { n as oe, t as c } from "./BaseScanner-Dzc8VT3j.js";
|
|
6
|
-
import { t as l } from "./useNestedProp-BxOdWM0c.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-CslTvFsC.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
|
-
n(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(() => s(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 };
|