vue-data-ui 3.17.13 → 3.18.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/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-BU2Z7mfz.js +116 -0
- package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
- package/dist/BaseIcon-CL6Y7alf.js +499 -0
- package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
- package/dist/ColorPicker-BGbMrtup.js +255 -0
- package/dist/DataTable-ZG4GX2Zg.js +150 -0
- package/dist/Legend-BPb8i4aC.js +114 -0
- package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
- package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
- package/dist/PenAndPaper-DxBCVZAx.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-Dbug7CtK.js +141 -0
- package/dist/Slicer-SEdaKYPX.js +1144 -0
- package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
- package/dist/SparkTooltip-BaONR2nq.js +93 -0
- package/dist/Title-ByyzJzpc.js +87 -0
- package/dist/Tooltip-V6Z0Ko-1.js +307 -0
- package/dist/UserOptions-Gaw1761w.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-C9UOX1d2.js +237 -0
- package/dist/exposedLib-BQjH823l.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-NMY-_LiJ.js +74 -0
- package/dist/labelUtils-BiSegLOT.js +19 -0
- package/dist/lib-B83ZCydz.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-Ey2KFETK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4766 -630
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-KnOLHtlJ.js +7419 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-CcxL1gUU.js +10 -0
- package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-CMLF900n.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-D1REqS_k.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
- package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
- package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
- package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
- package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
- package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
- package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
- package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
- package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
- package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
- package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
- package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
- package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
- package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
- package/dist/vue-ui-digits-CcB3odN7.js +209 -0
- package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
- package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
- package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
- package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
- package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
- package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
- package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
- package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
- package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
- package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
- package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
- package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
- package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
- package/dist/vue-ui-molecule-D72kzel_.js +912 -0
- package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
- package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
- package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
- package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
- package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
- package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
- package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
- package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
- package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
- package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
- package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
- package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
- package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
- package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
- package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
- package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
- package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
- package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
- package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
- package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
- package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
- package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
- package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
- package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
- package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
- package/dist/vue-ui-timer-DCbxsREb.js +439 -0
- package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
- package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
- package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
- package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
- package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
- package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
- package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
- package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { G as t, H as n, Lt as r, Mt as i, St as ee, Tt as a, X as o, i as s, jt as c, ot as te, t as ne, x as re, y as l, zt as u } from "./lib-B83ZCydz.js";
|
|
3
|
+
import { t as ie } from "./useConfig-KnOLHtlJ.js";
|
|
4
|
+
import { n as ae, t as oe } from "./BaseScanner-C7dmAref.js";
|
|
5
|
+
import { t as d } from "./useNestedProp-CcxL1gUU.js";
|
|
6
|
+
import { t as se } from "./useThemeCheck-rFK9Zlb_.js";
|
|
7
|
+
import { t as ce } from "./usePrefersMotion-BywLbIko.js";
|
|
8
|
+
import { t as le } from "./vue_ui_sparkbar-BR6hbuDE.js";
|
|
9
|
+
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as ue, defineAsyncComponent as de, mergeProps as v, nextTick as fe, normalizeProps as pe, normalizeStyle as y, onMounted as b, openBlock as x, ref as S, renderList as me, renderSlot as C, toDisplayString as w, toRefs as he, unref as T, useSlots as ge, watch as E } from "vue";
|
|
10
|
+
//#region src/components/vue-ui-sparkbar.vue
|
|
11
|
+
var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
12
|
+
"onClick",
|
|
13
|
+
"onMouseenter",
|
|
14
|
+
"onMouseleave"
|
|
15
|
+
], k = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "vue-ui-sparkbar-datapoint-value"
|
|
18
|
+
}, A = ["xmlns", "viewBox"], j = ["id"], M = ["stop-color"], N = ["stop-color"], P = [
|
|
19
|
+
"height",
|
|
20
|
+
"width",
|
|
21
|
+
"fill",
|
|
22
|
+
"rx"
|
|
23
|
+
], F = [
|
|
24
|
+
"height",
|
|
25
|
+
"width",
|
|
26
|
+
"fill",
|
|
27
|
+
"rx"
|
|
28
|
+
], I = [
|
|
29
|
+
"height",
|
|
30
|
+
"width",
|
|
31
|
+
"fill",
|
|
32
|
+
"rx"
|
|
33
|
+
], L = {
|
|
34
|
+
key: 2,
|
|
35
|
+
ref: "source",
|
|
36
|
+
dir: "auto"
|
|
37
|
+
}, R = {
|
|
38
|
+
__name: "vue-ui-sparkbar",
|
|
39
|
+
props: {
|
|
40
|
+
config: {
|
|
41
|
+
type: Object,
|
|
42
|
+
default() {
|
|
43
|
+
return {};
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
dataset: {
|
|
47
|
+
type: Array,
|
|
48
|
+
default() {
|
|
49
|
+
return [];
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
backgroundOpacity: {
|
|
53
|
+
type: Number,
|
|
54
|
+
default: null
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
emits: ["selectDatapoint"],
|
|
58
|
+
setup(e, { emit: D }) {
|
|
59
|
+
let R = de(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ie(), { isThemeValid: ve, warnInvalidTheme: ye } = se(), z = ce(), B = e, be = ge();
|
|
60
|
+
b(() => {
|
|
61
|
+
be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
62
|
+
});
|
|
63
|
+
let V = S(n()), H = S(K()), xe = p(() => u({
|
|
64
|
+
defaultConfig: { style: {
|
|
65
|
+
backgroundColor: "#99999930",
|
|
66
|
+
animation: { show: !1 },
|
|
67
|
+
layout: { independant: !0 },
|
|
68
|
+
gutter: {
|
|
69
|
+
backgroundColor: "#6A6A6A",
|
|
70
|
+
opacity: 50
|
|
71
|
+
},
|
|
72
|
+
bar: { gradient: { underlayerColor: "#6A6A6A" } }
|
|
73
|
+
} },
|
|
74
|
+
userConfig: H.value.skeletonConfig ?? {}
|
|
75
|
+
})), { loading: U, FINAL_DATASET: W, manualLoading: Se } = ae({
|
|
76
|
+
...he(B),
|
|
77
|
+
FINAL_CONFIG: H,
|
|
78
|
+
prepareConfig: K,
|
|
79
|
+
skeletonDataset: B.config?.skeletonDataset ?? [
|
|
80
|
+
{
|
|
81
|
+
name: "_",
|
|
82
|
+
value: 21,
|
|
83
|
+
target: 25,
|
|
84
|
+
color: "#808080"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "_",
|
|
88
|
+
value: 13,
|
|
89
|
+
target: 25,
|
|
90
|
+
color: "#ADADAD"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: "_",
|
|
94
|
+
value: 8,
|
|
95
|
+
target: 25,
|
|
96
|
+
color: "#DBDBDB"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
skeletonConfig: u({
|
|
100
|
+
defaultConfig: H.value,
|
|
101
|
+
userConfig: xe.value
|
|
102
|
+
})
|
|
103
|
+
}), G = p(() => !!H.value.debug);
|
|
104
|
+
function K() {
|
|
105
|
+
let e = d({
|
|
106
|
+
userConfig: B.config,
|
|
107
|
+
defaultConfig: _e
|
|
108
|
+
}), t = e.theme;
|
|
109
|
+
if (!t) return e;
|
|
110
|
+
if (!ve.value(e)) return ye(e), e;
|
|
111
|
+
let n = d({
|
|
112
|
+
userConfig: le[t] || B.config,
|
|
113
|
+
defaultConfig: e
|
|
114
|
+
}), i = d({
|
|
115
|
+
userConfig: B.config,
|
|
116
|
+
defaultConfig: n
|
|
117
|
+
});
|
|
118
|
+
return {
|
|
119
|
+
...i,
|
|
120
|
+
customPalette: i.customPalette.length ? i.customPalette : r[t] || a
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
E(() => B.config, (e) => {
|
|
124
|
+
H.value = K();
|
|
125
|
+
}, { deep: !0 });
|
|
126
|
+
let Ce = p(() => re(H.value.customPalette)), q = S(W.value.map((e) => ({
|
|
127
|
+
...e,
|
|
128
|
+
value: H.value.style.animation.show ? 0 : e.value || 0,
|
|
129
|
+
formatter: e.formatter || null
|
|
130
|
+
}))), J = S(null);
|
|
131
|
+
b(async () => {
|
|
132
|
+
ee(B.dataset) && o({
|
|
133
|
+
componentName: "VueUiSparkbar",
|
|
134
|
+
type: "dataset",
|
|
135
|
+
debug: G.value
|
|
136
|
+
}), Y();
|
|
137
|
+
});
|
|
138
|
+
function Y() {
|
|
139
|
+
if (H.value.style.animation.show && !z.value) {
|
|
140
|
+
let e = H.value.style.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;
|
|
141
|
+
function i() {
|
|
142
|
+
r += n / e, r < n ? (q.value = q.value.map((e, n) => ({
|
|
143
|
+
...e,
|
|
144
|
+
value: e.value += t[n]
|
|
145
|
+
})), J.value = requestAnimationFrame(i)) : q.value = W.value.map((e) => ({
|
|
146
|
+
...e,
|
|
147
|
+
value: e.value || 0,
|
|
148
|
+
formatter: e.formatter || null
|
|
149
|
+
}));
|
|
150
|
+
}
|
|
151
|
+
i();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
E(() => W.value, async (e) => {
|
|
155
|
+
cancelAnimationFrame(J.value), q.value = W.value.map((e) => ({
|
|
156
|
+
...e,
|
|
157
|
+
value: H.value.style.animation.show && !z.value ? 0 : e.value || 0,
|
|
158
|
+
formatter: e.formatter || null
|
|
159
|
+
})), fe(Y);
|
|
160
|
+
}, { deep: !0 });
|
|
161
|
+
let X = S({
|
|
162
|
+
width: 500,
|
|
163
|
+
height: 16
|
|
164
|
+
}), we = p(() => Math.max(...W.value.map((e) => e.value))), Te = p(() => (W.value.forEach((e, t) => {
|
|
165
|
+
te({
|
|
166
|
+
datasetObject: e,
|
|
167
|
+
requiredAttributes: ["name", "value"]
|
|
168
|
+
}).forEach((e) => {
|
|
169
|
+
o({
|
|
170
|
+
componentName: "VueUiSparkbar",
|
|
171
|
+
type: "datasetSerieAttribute",
|
|
172
|
+
property: e,
|
|
173
|
+
index: t,
|
|
174
|
+
debug: G.value
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
}), q.value.map((e, t) => ({
|
|
178
|
+
...e,
|
|
179
|
+
value: e.value || 0,
|
|
180
|
+
color: l(e.color) || Ce.value[t] || a[t] || a[t % a.length]
|
|
181
|
+
}))));
|
|
182
|
+
function Z(e) {
|
|
183
|
+
return e / we.value;
|
|
184
|
+
}
|
|
185
|
+
function Q(e) {
|
|
186
|
+
return H.value.style.layout.independant ? e.target ? e.value / e.target : H.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : H.value.style.layout.target === 0 ? 1 : e.value / H.value.style.layout.target : Z(e.value);
|
|
187
|
+
}
|
|
188
|
+
function $(e) {
|
|
189
|
+
return H.value.style.layout.independant && e.target || H.value.style.layout.target;
|
|
190
|
+
}
|
|
191
|
+
let Ee = D;
|
|
192
|
+
function De(e, t) {
|
|
193
|
+
Ee("selectDatapoint", {
|
|
194
|
+
datapoint: e,
|
|
195
|
+
index: t
|
|
196
|
+
}), H.value.events.datapointClick && H.value.events.datapointClick({
|
|
197
|
+
datapoint: e,
|
|
198
|
+
seriesIndex: t
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
function Oe(e, t) {
|
|
202
|
+
H.value.events.datapointEnter && H.value.events.datapointEnter({
|
|
203
|
+
datapoint: e,
|
|
204
|
+
seriesIndex: t
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
function ke(e, t) {
|
|
208
|
+
H.value.events.datapointLeave && H.value.events.datapointLeave({
|
|
209
|
+
datapoint: e,
|
|
210
|
+
seriesIndex: t
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
return (e, n) => (x(), g("div", {
|
|
214
|
+
class: "vue-data-ui-component vue-ui-sparkbar",
|
|
215
|
+
style: y({
|
|
216
|
+
width: "100%",
|
|
217
|
+
position: "relative",
|
|
218
|
+
fontFamily: H.value.style.fontFamily,
|
|
219
|
+
background: B.backgroundOpacity === null ? H.value.style.backgroundColor : T(c)(H.value.style.backgroundColor, B.backgroundOpacity)
|
|
220
|
+
})
|
|
221
|
+
}, [
|
|
222
|
+
e.$slots.title ? C(e.$slots, "title", pe(v({ key: 0 }, { title: {
|
|
223
|
+
...e.title,
|
|
224
|
+
title: H.value.style.title.text,
|
|
225
|
+
subtitle: H.value.style.title.subtitle.text
|
|
226
|
+
} }))) : h("", !0),
|
|
227
|
+
!e.$slots.title && H.value.style.title.text ? (x(), g("div", {
|
|
228
|
+
key: 1,
|
|
229
|
+
class: "vue-ui-sparkbar-title-container",
|
|
230
|
+
style: y({
|
|
231
|
+
background: H.value.style.title.backgroundColor,
|
|
232
|
+
margin: H.value.style.title.margin,
|
|
233
|
+
textAlign: H.value.style.title.textAlign
|
|
234
|
+
})
|
|
235
|
+
}, [_("div", {
|
|
236
|
+
class: "vue-ui-sparkbar-title",
|
|
237
|
+
style: y({
|
|
238
|
+
fontSize: H.value.style.title.fontSize + "px",
|
|
239
|
+
color: H.value.style.title.color,
|
|
240
|
+
fontWeight: H.value.style.title.bold ? "bold" : "normal"
|
|
241
|
+
})
|
|
242
|
+
}, w(H.value.style.title.text), 5), H.value.style.title.subtitle.text ? (x(), g("div", {
|
|
243
|
+
key: 0,
|
|
244
|
+
class: "vue-ui-sparkbar-subtitle",
|
|
245
|
+
style: y({
|
|
246
|
+
fontSize: H.value.style.title.subtitle.fontSize + "px",
|
|
247
|
+
color: H.value.style.title.subtitle.color,
|
|
248
|
+
fontWeight: H.value.style.title.subtitle.bold ? "bold" : "normal"
|
|
249
|
+
})
|
|
250
|
+
}, w(H.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
|
|
251
|
+
(x(!0), g(f, null, me(Te.value, (n, r) => (x(), g("div", {
|
|
252
|
+
style: y(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${T(W).length > 0 && r !== T(W).length - 1 ? "margin-bottom:6px" : ""}`),
|
|
253
|
+
onClick: (e) => De(n, r),
|
|
254
|
+
onMouseenter: (e) => Oe(n, r),
|
|
255
|
+
onMouseleave: (e) => ke(n, r)
|
|
256
|
+
}, [
|
|
257
|
+
T(U) ? h("", !0) : C(e.$slots, "data-label", v({
|
|
258
|
+
key: 0,
|
|
259
|
+
ref_for: !0
|
|
260
|
+
}, { bar: {
|
|
261
|
+
...n,
|
|
262
|
+
target: $(n),
|
|
263
|
+
valueLabel: T(s)(n.formatter, n.value, T(t)({
|
|
264
|
+
p: n.prefix || "",
|
|
265
|
+
v: n.value,
|
|
266
|
+
s: n.suffix || "",
|
|
267
|
+
r: n.rounding || 0
|
|
268
|
+
}), {
|
|
269
|
+
datapoint: n,
|
|
270
|
+
seriesIndex: r
|
|
271
|
+
}),
|
|
272
|
+
targetLabel: T(s)(n.formatter, $(n), T(t)({
|
|
273
|
+
p: n.prefix || "",
|
|
274
|
+
v: $(n),
|
|
275
|
+
s: n.suffix || "",
|
|
276
|
+
r: n.rounding || 0
|
|
277
|
+
}), {
|
|
278
|
+
datapoint: n,
|
|
279
|
+
seriesIndex: r
|
|
280
|
+
})
|
|
281
|
+
} })),
|
|
282
|
+
!e.$slots["data-label"] || T(U) ? (x(), g("div", {
|
|
283
|
+
key: 1,
|
|
284
|
+
style: y({
|
|
285
|
+
display: "flex",
|
|
286
|
+
justifyContent: ["right", "top-right"].includes(H.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(H.value.style.labels.name.position) ? "center" : "flex-start",
|
|
287
|
+
alignItems: "center",
|
|
288
|
+
width: H.value.style.labels.name.width,
|
|
289
|
+
color: H.value.style.labels.name.color,
|
|
290
|
+
fontSize: H.value.style.labels.fontSize + "px",
|
|
291
|
+
fontWeight: H.value.style.labels.name.bold ? "bold" : "normal",
|
|
292
|
+
flexWrap: "wrap"
|
|
293
|
+
})
|
|
294
|
+
}, [T(U) ? (x(), g("div", {
|
|
295
|
+
key: 0,
|
|
296
|
+
class: "vue-ui-sparkbar-skeleton-name",
|
|
297
|
+
style: y({
|
|
298
|
+
width: "60px",
|
|
299
|
+
height: H.value.style.labels.fontSize + "px",
|
|
300
|
+
borderRadius: H.value.style.labels.fontSize / 4 + "px",
|
|
301
|
+
display: "flex",
|
|
302
|
+
alignItems: "center",
|
|
303
|
+
justifyContent: "space-between",
|
|
304
|
+
marginTop: "5px"
|
|
305
|
+
})
|
|
306
|
+
}, [_("div", { style: y({
|
|
307
|
+
height: "100%",
|
|
308
|
+
width: "40px",
|
|
309
|
+
borderRadius: H.value.style.labels.fontSize / 4 + "px",
|
|
310
|
+
backgroundColor: "#6A6A6A80"
|
|
311
|
+
}) }, null, 4), _("div", { style: y({
|
|
312
|
+
height: "100%",
|
|
313
|
+
width: "15px",
|
|
314
|
+
borderRadius: H.value.style.labels.fontSize / 4 + "px",
|
|
315
|
+
backgroundColor: "#6A6A6A80"
|
|
316
|
+
}) }, null, 4)], 4)) : (x(), g(f, { key: 1 }, [
|
|
317
|
+
_("span", null, w(n.name), 1),
|
|
318
|
+
H.value.style.labels.value.show ? (x(), g("span", {
|
|
319
|
+
key: 0,
|
|
320
|
+
style: y(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
|
|
321
|
+
class: "vue-ui-sparkbar-datapoint-name"
|
|
322
|
+
}, ": " + w(T(s)(n.formatter, n.value, T(t)({
|
|
323
|
+
p: n.prefix || "",
|
|
324
|
+
v: n.value,
|
|
325
|
+
s: n.suffix || "",
|
|
326
|
+
r: n.rounding || 0
|
|
327
|
+
}), {
|
|
328
|
+
datapoint: n,
|
|
329
|
+
seriesIndex: r
|
|
330
|
+
})), 5)) : h("", !0),
|
|
331
|
+
H.value.style.layout.showTargetValue ? (x(), g("span", k, w(" " + H.value.style.layout.targetValueText) + " " + w(T(s)(n.formatter, $(n), T(t)({
|
|
332
|
+
p: n.prefix || "",
|
|
333
|
+
v: $(n),
|
|
334
|
+
s: n.suffix || "",
|
|
335
|
+
r: n.rounding || 0
|
|
336
|
+
}), {
|
|
337
|
+
datapoint: n,
|
|
338
|
+
seriesIndex: r
|
|
339
|
+
})), 1)) : h("", !0)
|
|
340
|
+
], 64))], 4)) : h("", !0),
|
|
341
|
+
(x(), g("svg", {
|
|
342
|
+
role: "img",
|
|
343
|
+
xmlns: T(ne),
|
|
344
|
+
viewBox: `0 0 ${X.value.width} ${X.value.height}`,
|
|
345
|
+
width: "100%"
|
|
346
|
+
}, [
|
|
347
|
+
ue(T(R)),
|
|
348
|
+
_("defs", null, [_("linearGradient", {
|
|
349
|
+
x1: "0%",
|
|
350
|
+
y1: "0%",
|
|
351
|
+
x2: "100%",
|
|
352
|
+
y2: "0%",
|
|
353
|
+
id: `sparkbar_gradient_${r}_${V.value}`
|
|
354
|
+
}, [_("stop", {
|
|
355
|
+
offset: "0%",
|
|
356
|
+
"stop-color": T(c)(T(i)(n.color, .03), 100 - H.value.style.bar.gradient.intensity)
|
|
357
|
+
}, null, 8, M), _("stop", {
|
|
358
|
+
offset: "100%",
|
|
359
|
+
"stop-color": n.color
|
|
360
|
+
}, null, 8, N)], 8, j)]),
|
|
361
|
+
_("rect", {
|
|
362
|
+
height: X.value.height,
|
|
363
|
+
width: X.value.width,
|
|
364
|
+
x: 0,
|
|
365
|
+
y: 0,
|
|
366
|
+
fill: T(c)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
|
|
367
|
+
rx: X.value.height / 2
|
|
368
|
+
}, null, 8, P),
|
|
369
|
+
_("rect", {
|
|
370
|
+
height: X.value.height,
|
|
371
|
+
width: X.value.width * Q(n),
|
|
372
|
+
x: 0,
|
|
373
|
+
y: 0,
|
|
374
|
+
fill: H.value.style.bar.gradient.underlayerColor,
|
|
375
|
+
rx: X.value.height / 2
|
|
376
|
+
}, null, 8, F),
|
|
377
|
+
_("rect", {
|
|
378
|
+
height: X.value.height,
|
|
379
|
+
width: X.value.width * Q(n),
|
|
380
|
+
x: 0,
|
|
381
|
+
y: 0,
|
|
382
|
+
fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${V.value})` : n.color,
|
|
383
|
+
rx: X.value.height / 2
|
|
384
|
+
}, null, 8, I)
|
|
385
|
+
], 8, A))
|
|
386
|
+
], 44, O))), 256)),
|
|
387
|
+
e.$slots.source ? (x(), g("div", L, [C(e.$slots, "source")], 512)) : h("", !0),
|
|
388
|
+
T(U) ? (x(), m(oe, { key: 3 })) : h("", !0)
|
|
389
|
+
], 4));
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
//#endregion
|
|
393
|
+
export { D as n, R as t };
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { G as t, H as n, St as ee, X as r, ft as te, i as ne, ot as re, t as ie, v as i, zt as a } from "./lib-B83ZCydz.js";
|
|
3
|
+
import { t as ae } from "./useConfig-KnOLHtlJ.js";
|
|
4
|
+
import { n as oe, t as o } from "./BaseScanner-C7dmAref.js";
|
|
5
|
+
import { t as s } from "./useNestedProp-CcxL1gUU.js";
|
|
6
|
+
import { t as se } from "./useThemeCheck-rFK9Zlb_.js";
|
|
7
|
+
import { t as c } from "./useChartAccessibility-Do37qcw2.js";
|
|
8
|
+
import { t as l } from "./usePrefersMotion-BywLbIko.js";
|
|
9
|
+
import { t as u } from "./vue_ui_sparkgauge-xfPRHnMv.js";
|
|
10
|
+
import { computed as d, createBlock as ce, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as le, defineAsyncComponent as ue, normalizeClass as de, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderSlot as b, toDisplayString as x, toRefs as fe, unref as S, watch as C } from "vue";
|
|
11
|
+
//#region src/components/vue-ui-sparkgauge.vue
|
|
12
|
+
var w = /* @__PURE__ */ e({ default: () => j }), pe = ["xmlns", "viewBox"], me = ["width", "height"], he = ["id"], ge = ["stop-color"], T = ["stop-color"], E = [
|
|
13
|
+
"d",
|
|
14
|
+
"stroke",
|
|
15
|
+
"stroke-linecap"
|
|
16
|
+
], D = [
|
|
17
|
+
"d",
|
|
18
|
+
"stroke",
|
|
19
|
+
"stroke-linecap",
|
|
20
|
+
"stroke-dashoffset"
|
|
21
|
+
], O = [
|
|
22
|
+
"x",
|
|
23
|
+
"y",
|
|
24
|
+
"width",
|
|
25
|
+
"height"
|
|
26
|
+
], k = [
|
|
27
|
+
"x",
|
|
28
|
+
"y",
|
|
29
|
+
"font-size",
|
|
30
|
+
"fill",
|
|
31
|
+
"font-weight"
|
|
32
|
+
], A = {
|
|
33
|
+
key: 2,
|
|
34
|
+
ref: "source",
|
|
35
|
+
dir: "auto"
|
|
36
|
+
}, j = {
|
|
37
|
+
__name: "vue-ui-sparkgauge",
|
|
38
|
+
props: {
|
|
39
|
+
config: {
|
|
40
|
+
type: Object,
|
|
41
|
+
default() {
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
dataset: {
|
|
46
|
+
type: Object,
|
|
47
|
+
default() {
|
|
48
|
+
return {};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
setup(e) {
|
|
53
|
+
let w = ue(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ae(), { isThemeValid: M, warnInvalidTheme: N } = se(), P = l(), F = y(null), I = e, L = y(n()), R = y(W()), z = d(() => R.value.style.animation.show && !P.value), _e = d(() => a({
|
|
54
|
+
defaultConfig: { style: {
|
|
55
|
+
animation: { show: !1 },
|
|
56
|
+
background: "#99999930",
|
|
57
|
+
colors: {
|
|
58
|
+
min: "#CACACA",
|
|
59
|
+
max: "#6A6A6A"
|
|
60
|
+
},
|
|
61
|
+
track: { autoColor: !0 },
|
|
62
|
+
gutter: { color: "#6A6A6A80" }
|
|
63
|
+
} },
|
|
64
|
+
userConfig: R.value.skeletonConfig ?? {}
|
|
65
|
+
})), { loading: B, FINAL_DATASET: V } = oe({
|
|
66
|
+
...fe(I),
|
|
67
|
+
FINAL_CONFIG: R,
|
|
68
|
+
prepareConfig: W,
|
|
69
|
+
skeletonDataset: I.config?.skeletonDataset ?? {
|
|
70
|
+
value: 0,
|
|
71
|
+
min: -1,
|
|
72
|
+
max: 1,
|
|
73
|
+
title: ""
|
|
74
|
+
},
|
|
75
|
+
skeletonConfig: a({
|
|
76
|
+
defaultConfig: R.value,
|
|
77
|
+
userConfig: _e.value
|
|
78
|
+
})
|
|
79
|
+
}), H = d(() => {
|
|
80
|
+
let e = V.value.min ?? 0, t = V.value.max ?? 0;
|
|
81
|
+
return {
|
|
82
|
+
min: e,
|
|
83
|
+
max: t,
|
|
84
|
+
diff: t - e
|
|
85
|
+
};
|
|
86
|
+
}), U = d(() => H.value.diff / R.value.style.animation.speedMs), { svgRef: ve } = c({ config: { text: I.dataset?.title || "" } });
|
|
87
|
+
function W() {
|
|
88
|
+
let e = s({
|
|
89
|
+
userConfig: I.config,
|
|
90
|
+
defaultConfig: j
|
|
91
|
+
}), t = e.theme;
|
|
92
|
+
if (!t) return e;
|
|
93
|
+
if (!M.value(e)) return N(e), e;
|
|
94
|
+
let n = s({
|
|
95
|
+
userConfig: u[t] || I.config,
|
|
96
|
+
defaultConfig: e
|
|
97
|
+
});
|
|
98
|
+
return s({
|
|
99
|
+
userConfig: I.config,
|
|
100
|
+
defaultConfig: n
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
_(() => {
|
|
104
|
+
K();
|
|
105
|
+
});
|
|
106
|
+
let G = d(() => R.value.debug);
|
|
107
|
+
function K() {
|
|
108
|
+
ee(I.dataset) ? r({
|
|
109
|
+
componentName: "VueUiSparkgauge",
|
|
110
|
+
type: "dataset",
|
|
111
|
+
debug: G.value
|
|
112
|
+
}) : re({
|
|
113
|
+
datasetObject: I.dataset,
|
|
114
|
+
requiredAttributes: [
|
|
115
|
+
"value",
|
|
116
|
+
"min",
|
|
117
|
+
"max"
|
|
118
|
+
]
|
|
119
|
+
}).forEach((e) => {
|
|
120
|
+
r({
|
|
121
|
+
componentName: "VueUiSparkgauge",
|
|
122
|
+
type: "datasetAttribute",
|
|
123
|
+
property: e,
|
|
124
|
+
debug: G.value
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
C(() => I.config, () => {
|
|
129
|
+
R.value = W(), J.value = z.value ? H.value.min : V.value.value, K();
|
|
130
|
+
}, { deep: !0 });
|
|
131
|
+
let q = d(() => ({
|
|
132
|
+
height: R.value.style.height,
|
|
133
|
+
width: 128,
|
|
134
|
+
base: R.value.style.basePosition
|
|
135
|
+
})), J = y(z.value ? H.value.min : V.value.value);
|
|
136
|
+
C([() => V.value.value, z], ([e, t]) => {
|
|
137
|
+
Y(e || 0, t);
|
|
138
|
+
}, { immediate: !0 });
|
|
139
|
+
let ye = d(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
|
|
140
|
+
_(() => {
|
|
141
|
+
Y(V.value.value || 0);
|
|
142
|
+
});
|
|
143
|
+
function Y(e, t = z.value) {
|
|
144
|
+
if (F.value &&= (cancelAnimationFrame(F.value), null), !t) {
|
|
145
|
+
J.value = e;
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
function n() {
|
|
149
|
+
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 ? F.value = null : F.value = requestAnimationFrame(n);
|
|
150
|
+
}
|
|
151
|
+
n();
|
|
152
|
+
}
|
|
153
|
+
let X = d(() => V.value.title ?? ""), Z = d(() => {
|
|
154
|
+
let e = H.value.diff;
|
|
155
|
+
if (!isFinite(e) || e === 0) return 0;
|
|
156
|
+
let t = H.value.min, n = ye.value;
|
|
157
|
+
return n >= 0 ? (n - t) / e : (Math.abs(t) - Math.abs(n)) / e;
|
|
158
|
+
}), Q = d(() => te(R.value.style.colors.min, R.value.style.colors.max, H.value.min, H.value.max, J.value)), $ = d(() => R.value.style.dataLabel.autoColor ? Q.value : R.value.style.dataLabel.color), be = d(() => R.value.style.track.autoColor ? Q.value : R.value.style.track.color);
|
|
159
|
+
return g(() => {
|
|
160
|
+
F.value && cancelAnimationFrame(F.value);
|
|
161
|
+
}), (e, n) => (v(), p("div", {
|
|
162
|
+
class: "vue-data-ui-component vue-ui-sparkgauge",
|
|
163
|
+
style: h(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
|
|
164
|
+
}, [
|
|
165
|
+
R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (v(), p("div", {
|
|
166
|
+
key: 0,
|
|
167
|
+
class: "vue-data-ui-sparkgauge-label",
|
|
168
|
+
style: h(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
|
|
169
|
+
}, x(X.value), 5)) : f("", !0),
|
|
170
|
+
(v(), p("svg", {
|
|
171
|
+
ref_key: "svgRef",
|
|
172
|
+
ref: ve,
|
|
173
|
+
xmlns: S(ie),
|
|
174
|
+
viewBox: `0 0 ${q.value.width} ${q.value.height}`,
|
|
175
|
+
style: "overflow: visible; background:transparent; width:100%;"
|
|
176
|
+
}, [
|
|
177
|
+
le(S(w)),
|
|
178
|
+
e.$slots["chart-background"] && !S(B) ? (v(), p("foreignObject", {
|
|
179
|
+
key: 0,
|
|
180
|
+
x: 0,
|
|
181
|
+
y: 0,
|
|
182
|
+
width: q.value.width,
|
|
183
|
+
height: q.value.height,
|
|
184
|
+
style: { pointerEvents: "none" }
|
|
185
|
+
}, [b(e.$slots, "chart-background")], 8, me)) : f("", !0),
|
|
186
|
+
m("defs", null, [m("linearGradient", {
|
|
187
|
+
id: `gradient_${L.value}`,
|
|
188
|
+
x1: "-10%",
|
|
189
|
+
y1: "100%",
|
|
190
|
+
x2: "110%",
|
|
191
|
+
y2: "100%"
|
|
192
|
+
}, [m("stop", {
|
|
193
|
+
offset: "0%",
|
|
194
|
+
"stop-color": R.value.style.colors.min
|
|
195
|
+
}, null, 8, ge), m("stop", {
|
|
196
|
+
offset: "100%",
|
|
197
|
+
"stop-color": R.value.style.colors.max
|
|
198
|
+
}, null, 8, T)], 8, he)]),
|
|
199
|
+
m("path", {
|
|
200
|
+
d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
|
|
201
|
+
stroke: R.value.style.gutter.color,
|
|
202
|
+
"stroke-width": 8,
|
|
203
|
+
"stroke-linecap": R.value.style.gutter.strokeLinecap,
|
|
204
|
+
fill: "none"
|
|
205
|
+
}, null, 8, E),
|
|
206
|
+
Z.value === 0 ? f("", !0) : (v(), p("path", {
|
|
207
|
+
key: 1,
|
|
208
|
+
d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
|
|
209
|
+
stroke: R.value.style.colors.showGradient ? `url(#gradient_${L.value})` : be.value,
|
|
210
|
+
"stroke-width": 8,
|
|
211
|
+
"stroke-linecap": R.value.style.track.strokeLinecap,
|
|
212
|
+
fill: "none",
|
|
213
|
+
"stroke-dasharray": 169.5,
|
|
214
|
+
"stroke-dashoffset": 169.5 - 169.5 * Z.value,
|
|
215
|
+
class: de({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
|
|
216
|
+
style: h(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
|
|
217
|
+
}, null, 14, D)),
|
|
218
|
+
S(B) ? (v(), p("rect", {
|
|
219
|
+
key: 2,
|
|
220
|
+
x: q.value.width / 2 - R.value.style.dataLabel.fontSize / 2,
|
|
221
|
+
y: q.value.base + 6 + R.value.style.dataLabel.offsetY - R.value.style.dataLabel.fontSize,
|
|
222
|
+
width: R.value.style.dataLabel.fontSize,
|
|
223
|
+
height: R.value.style.dataLabel.fontSize,
|
|
224
|
+
fill: "#6A6A6A50",
|
|
225
|
+
rx: 3
|
|
226
|
+
}, null, 8, O)) : (v(), p("text", {
|
|
227
|
+
key: 3,
|
|
228
|
+
"text-anchor": "middle",
|
|
229
|
+
x: q.value.width / 2,
|
|
230
|
+
y: q.value.base + 6 + R.value.style.dataLabel.offsetY,
|
|
231
|
+
"font-size": R.value.style.dataLabel.fontSize,
|
|
232
|
+
fill: $.value,
|
|
233
|
+
"font-weight": R.value.style.dataLabel.bold ? "bold" : "normal"
|
|
234
|
+
}, x(S(ne)(R.value.style.dataLabel.formatter, S(i)(J.value), S(t)({
|
|
235
|
+
p: R.value.style.dataLabel.prefix,
|
|
236
|
+
v: S(i)(J.value),
|
|
237
|
+
s: R.value.style.dataLabel.suffix,
|
|
238
|
+
r: R.value.style.dataLabel.rounding
|
|
239
|
+
}), {
|
|
240
|
+
datapoint: S(i)(J.value),
|
|
241
|
+
color: $.value
|
|
242
|
+
})), 9, k))
|
|
243
|
+
], 8, pe)),
|
|
244
|
+
R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (v(), p("div", {
|
|
245
|
+
key: 1,
|
|
246
|
+
class: "vue-data-ui-sparkgauge-label",
|
|
247
|
+
style: h(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
|
|
248
|
+
}, x(X.value), 5)) : f("", !0),
|
|
249
|
+
e.$slots.source ? (v(), p("div", A, [b(e.$slots, "source")], 512)) : f("", !0),
|
|
250
|
+
b(e.$slots, "skeleton", {}, () => [S(B) ? (v(), ce(o, { key: 0 })) : f("", !0)])
|
|
251
|
+
], 4));
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
//#endregion
|
|
255
|
+
export { w as n, j as t };
|