vue-data-ui 3.17.13 → 3.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.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-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.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-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.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 +4775 -627
- 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-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.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-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.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-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.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
|
@@ -1,955 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as ae, computed as d, ref as f, toRefs as ft, watch as le, shallowRef as Pe, onMounted as yt, onBeforeUnmount as gt, openBlock as s, createElementBlock as n, unref as u, normalizeStyle as oe, normalizeClass as Me, createBlock as V, withCtx as k, renderSlot as h, normalizeProps as $, guardReactiveProps as A, createCommentVNode as c, toDisplayString as T, createSlots as mt, createVNode as pt, createElementVNode as b, Fragment as S, renderList as z, mergeProps as L, nextTick as Ne } from "vue";
|
|
2
|
-
import { j as kt, t as Ie, m as bt, p as Xe, n as St, o as Re, s as wt, q as H, r as Ye, a4 as se, ae as M, af as _t, K as Ct, X as xt, u as re, Z as $t, a7 as At, k as ne, l as ue, a2 as ie } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as zt, u as Ft } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ot, B as Pt } from "./BaseScanner-C2j3TsSY.js";
|
|
5
|
-
import { u as Mt } from "./usePrinter-C4t8DdQ-.js";
|
|
6
|
-
import { u as Nt } from "./useConfig-CG4HT3wS.js";
|
|
7
|
-
import { u as It } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as ce } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as Xt } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
-
import { u as Rt } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
-
import { u as Yt } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
-
import { u as Tt } from "./useAutoSizeLabelsInsideViewbox-izlGDfwu.js";
|
|
13
|
-
import Et from "./img-CjTQXS0U.js";
|
|
14
|
-
import Lt from "./vue_ui_gauge-BMEuRC4J.js";
|
|
15
|
-
import Gt from "./Title-BbKoiBk2.js";
|
|
16
|
-
import { _ as Ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const jt = ["id"], Bt = { key: 0 }, Dt = ["xmlns", "viewBox"], Wt = ["width", "height"], Vt = ["id"], Ht = ["stop-color"], qt = ["stop-color"], Zt = ["stop-color"], Kt = ["id"], Jt = ["stdDeviation"], Qt = { key: 1 }, ea = ["d", "fill", "stroke"], ta = ["d", "fill", "stroke"], aa = ["d", "fill"], la = ["id", "d"], oa = ["fill", "font-size", "font-weight"], sa = ["href", "startOffset"], ra = ["text-anchor", "fill", "font-size", "font-weight", "innerHTML"], na = ["d", "filter"], ua = ["stroke", "stroke-width"], ia = ["stroke", "stroke-width"], ca = ["stroke", "stroke-width"], va = ["stroke", "stroke-width"], da = { key: 8 }, ha = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], fa = ["x", "y", "font-size", "font-weight", "fill"], ya = { key: 0 }, ga = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ma = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pa = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], ka = { key: 1 }, ba = ["d", "fill", "stroke", "stroke-width"], Sa = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], wa = ["x", "y", "font-size", "fill"], _a = {
|
|
18
|
-
key: 4,
|
|
19
|
-
class: "vue-data-ui-watermark"
|
|
20
|
-
}, Ca = {
|
|
21
|
-
__name: "vue-ui-gauge",
|
|
22
|
-
props: {
|
|
23
|
-
config: {
|
|
24
|
-
type: Object,
|
|
25
|
-
default() {
|
|
26
|
-
return {};
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
dataset: {
|
|
30
|
-
type: Object,
|
|
31
|
-
default() {
|
|
32
|
-
return {};
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
emits: ["copyAlt"],
|
|
37
|
-
setup(Te, { expose: Ee, emit: Le }) {
|
|
38
|
-
const Ge = ae(
|
|
39
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
40
|
-
), Ue = ae(
|
|
41
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
42
|
-
), je = ae(
|
|
43
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
44
|
-
), { vue_ui_gauge: Be } = Nt(), { isThemeValid: De, warnInvalidTheme: We } = Xt(), g = Te, Ve = Le, He = d(() => !!g.dataset && Object.keys(g.dataset).length > 0 && g.dataset.series && g.dataset.series.length), C = f(kt()), qe = f(null), ve = f(0), N = f(null), de = f(null), he = f(null), fe = f(null), ye = f(null), ge = f(0), G = f(!1), U = f(!1), e = f(Z()), me = d(
|
|
45
|
-
() => e.value.userOptions.useCursorPointer
|
|
46
|
-
), Ze = d(() => Ie({
|
|
47
|
-
defaultConfig: {
|
|
48
|
-
userOptions: { show: !1 },
|
|
49
|
-
style: {
|
|
50
|
-
chart: {
|
|
51
|
-
backgroundColor: "#99999930",
|
|
52
|
-
animation: { use: !1 },
|
|
53
|
-
layout: {
|
|
54
|
-
markers: { show: !1 },
|
|
55
|
-
segmentSeparators: { stroke: "#6A6A6A" },
|
|
56
|
-
segmentNames: { show: !1 },
|
|
57
|
-
indicatorArc: { fill: "#6A6A6A50" },
|
|
58
|
-
pointer: {
|
|
59
|
-
stroke: "#6A6A6A",
|
|
60
|
-
useRatingColor: !0,
|
|
61
|
-
circle: {
|
|
62
|
-
stroke: "#6A6A6A",
|
|
63
|
-
color: "#6A6A6A"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
legend: {
|
|
68
|
-
show: !1
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
74
|
-
})), { loading: pe, FINAL_DATASET: x, manualLoading: X } = Ot({
|
|
75
|
-
...ft(g),
|
|
76
|
-
FINAL_CONFIG: e,
|
|
77
|
-
prepareConfig: Z,
|
|
78
|
-
callback: () => {
|
|
79
|
-
Promise.resolve().then(async () => {
|
|
80
|
-
await Ne();
|
|
81
|
-
});
|
|
82
|
-
},
|
|
83
|
-
skeletonDataset: g.config?.skeletonDataset ?? {
|
|
84
|
-
value: 0,
|
|
85
|
-
series: [
|
|
86
|
-
{ from: -1, to: 0, name: "_", color: "#A1A1A1" },
|
|
87
|
-
{ from: 0, to: 1, name: "__", color: "#CACACA" }
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
skeletonConfig: Ie({
|
|
91
|
-
defaultConfig: e.value,
|
|
92
|
-
userConfig: Ze.value
|
|
93
|
-
})
|
|
94
|
-
}), { userOptionsVisible: q, setUserOptionsVisibility: ke, keepUserOptionState: be } = Rt({ config: e.value }), { svgRef: j } = Yt({
|
|
95
|
-
config: e.value.style.chart.title
|
|
96
|
-
});
|
|
97
|
-
le(
|
|
98
|
-
() => g.config,
|
|
99
|
-
(t) => {
|
|
100
|
-
pe.value || (e.value = Z()), q.value = !e.value.userOptions.showOnChartHover, ee(), ge.value += 1;
|
|
101
|
-
},
|
|
102
|
-
{ deep: !0 }
|
|
103
|
-
), le(
|
|
104
|
-
() => g.dataset,
|
|
105
|
-
(t) => {
|
|
106
|
-
ee(), t && Object.keys(t).length > 0 && (X.value = e.value?.loading ?? !1);
|
|
107
|
-
},
|
|
108
|
-
{ deep: !0, immediate: !1 }
|
|
109
|
-
);
|
|
110
|
-
function Z() {
|
|
111
|
-
const t = ce({
|
|
112
|
-
userConfig: g.config,
|
|
113
|
-
defaultConfig: Be
|
|
114
|
-
}), r = t.theme;
|
|
115
|
-
if (!r) return t;
|
|
116
|
-
if (!De.value(t))
|
|
117
|
-
return We(t), t;
|
|
118
|
-
const a = ce({
|
|
119
|
-
userConfig: Lt[r] || g.config,
|
|
120
|
-
defaultConfig: t
|
|
121
|
-
}), l = ce({
|
|
122
|
-
userConfig: g.config,
|
|
123
|
-
defaultConfig: a
|
|
124
|
-
});
|
|
125
|
-
return {
|
|
126
|
-
...l,
|
|
127
|
-
customPalette: l.customPalette.length ? l.customPalette : bt[r] || Xe
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
const { isPrinting: K, isImaging: J, generatePdf: Se, generateImage: we } = Mt({
|
|
131
|
-
elementId: `vue-ui-gauge_${C.value}`,
|
|
132
|
-
fileName: e.value.style.chart.title.text || "vue-ui-gauge",
|
|
133
|
-
options: e.value.userOptions.print
|
|
134
|
-
}), Ke = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Je = d(() => St(e.value.customPalette)), F = d(() => {
|
|
135
|
-
if (Re(x.value.series || {}))
|
|
136
|
-
return {
|
|
137
|
-
value: 0,
|
|
138
|
-
series: [
|
|
139
|
-
{
|
|
140
|
-
from: 0,
|
|
141
|
-
to: 0
|
|
142
|
-
}
|
|
143
|
-
]
|
|
144
|
-
};
|
|
145
|
-
const t = [];
|
|
146
|
-
(x.value.series || []).forEach((a) => {
|
|
147
|
-
t.push(a.from || 1e-7), t.push(a.to || 1e-7);
|
|
148
|
-
});
|
|
149
|
-
const r = Math.max(...t);
|
|
150
|
-
return {
|
|
151
|
-
...x.value,
|
|
152
|
-
series: (x.value.series || []).map((a, l) => ({
|
|
153
|
-
...a,
|
|
154
|
-
color: wt(a.color) || Je.value[l] || Xe[l],
|
|
155
|
-
value: ((a.to || 0) - (a.from || 0)) / r * 100
|
|
156
|
-
}))
|
|
157
|
-
};
|
|
158
|
-
}), w = f(512), o = f({
|
|
159
|
-
height: 358.4,
|
|
160
|
-
width: w.value,
|
|
161
|
-
top: 0,
|
|
162
|
-
bottom: 358.4,
|
|
163
|
-
centerX: 179.2,
|
|
164
|
-
centerY: w.value / 2,
|
|
165
|
-
labelFontSize: 18,
|
|
166
|
-
legendFontSize: e.value.style.chart.legend.fontSize,
|
|
167
|
-
pointerRadius: e.value.style.chart.layout.pointer.circle.radius,
|
|
168
|
-
trackSize: e.value.style.chart.layout.track.size,
|
|
169
|
-
pointerSize: e.value.style.chart.layout.pointer.size,
|
|
170
|
-
pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
|
|
171
|
-
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
172
|
-
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
173
|
-
}), R = f(0), O = f(0), m = f(
|
|
174
|
-
e.value.style.chart.animation.use ? Math.min(...x.value.series.map((t) => t.from)) : x.value.value
|
|
175
|
-
);
|
|
176
|
-
le(
|
|
177
|
-
() => x.value.value,
|
|
178
|
-
() => {
|
|
179
|
-
xe(x.value.value);
|
|
180
|
-
}
|
|
181
|
-
);
|
|
182
|
-
const i = d(() => {
|
|
183
|
-
const t = o.value.width / 2, r = v.value.base, a = Math.PI * ((m.value + 0 - O.value) / (R.value - O.value)) + Math.PI;
|
|
184
|
-
return {
|
|
185
|
-
x1: t,
|
|
186
|
-
y1: r,
|
|
187
|
-
x2: t + v.value.pointerSize * o.value.pointerSize * 0.9 * Math.cos(a),
|
|
188
|
-
y2: r + v.value.pointerSize * o.value.pointerSize * 0.9 * Math.sin(a)
|
|
189
|
-
};
|
|
190
|
-
}), _e = d(() => {
|
|
191
|
-
const t = o.value.width / 2, r = v.value.base, a = Math.PI * ((m.value + 0 - O.value) / (R.value - O.value)) + Math.PI, l = t + v.value.pointerSize * o.value.pointerSize * 0.9 * Math.cos(a), p = r + v.value.pointerSize * o.value.pointerSize * 0.9 * Math.sin(a), _ = o.value.pointerRadius, ct = t + _ * Math.cos(a + Math.PI / 2), vt = r + _ * Math.sin(a + Math.PI / 2), dt = t + _ * Math.cos(a - Math.PI / 2), ht = r + _ * Math.sin(a - Math.PI / 2);
|
|
192
|
-
return isNaN(l) ? null : `M ${l},${p} ${ct},${vt} ${dt},${ht} Z`;
|
|
193
|
-
}), Q = d(() => {
|
|
194
|
-
for (let t = 0; t < F.value.series.length; t += 1) {
|
|
195
|
-
const { color: r, from: a, to: l } = F.value.series[t];
|
|
196
|
-
if (m.value >= a && m.value <= l)
|
|
197
|
-
return r;
|
|
198
|
-
}
|
|
199
|
-
return "#2D353C";
|
|
200
|
-
}), P = Pe(null), Y = Pe(null), B = d({
|
|
201
|
-
get: () => o.value.segmentFontSize,
|
|
202
|
-
set: (t) => t
|
|
203
|
-
}), { autoSizeLabels: Ce } = Tt({
|
|
204
|
-
svgRef: j,
|
|
205
|
-
fontSize: o.value.segmentFontSize,
|
|
206
|
-
minFontSize: e.value.style.chart.layout.segmentNames.minFontSize,
|
|
207
|
-
sizeRef: B,
|
|
208
|
-
labelClass: ".vue-ui-gauge-label-flat"
|
|
209
|
-
}), D = d(() => !!e.value.debug);
|
|
210
|
-
function ee() {
|
|
211
|
-
let t = !1;
|
|
212
|
-
if (Re(g.dataset) ? (H({
|
|
213
|
-
componentName: "VueUiGauge",
|
|
214
|
-
type: "dataset",
|
|
215
|
-
debug: D.value
|
|
216
|
-
}), X.value = !0, t = !0) : (Ye({
|
|
217
|
-
datasetObject: g.dataset,
|
|
218
|
-
requiredAttributes: ["value", "series"]
|
|
219
|
-
}).forEach((r) => {
|
|
220
|
-
H({
|
|
221
|
-
componentName: "VueUiGauge",
|
|
222
|
-
type: "datasetAttribute",
|
|
223
|
-
property: r,
|
|
224
|
-
debug: D.value
|
|
225
|
-
}), X.value = !0, t = !0;
|
|
226
|
-
}), Object.hasOwn(g.dataset, "series") && (g.dataset.series.length ? g.dataset.series.forEach((r, a) => {
|
|
227
|
-
Ye({
|
|
228
|
-
datasetObject: r,
|
|
229
|
-
requiredAttributes: ["from", "to"]
|
|
230
|
-
}).forEach((l) => {
|
|
231
|
-
H({
|
|
232
|
-
componentName: "VueUiGauge",
|
|
233
|
-
type: "datasetSerieAttribute",
|
|
234
|
-
property: l,
|
|
235
|
-
index: a,
|
|
236
|
-
debug: D.value
|
|
237
|
-
}), X.value = !0, t = !0;
|
|
238
|
-
});
|
|
239
|
-
}) : (H({
|
|
240
|
-
componentName: "VueUiGauge",
|
|
241
|
-
type: "datasetAttributeEmpty",
|
|
242
|
-
property: "series",
|
|
243
|
-
debug: D.value
|
|
244
|
-
}), X.value = !0, t = !0))), X.value = t, xe(x.value.value || 0), e.value.responsive) {
|
|
245
|
-
const r = zt(() => {
|
|
246
|
-
let { width: a, height: l } = Ft({
|
|
247
|
-
chart: N.value,
|
|
248
|
-
title: e.value.style.chart.title.text ? de.value : null,
|
|
249
|
-
legend: he.value,
|
|
250
|
-
source: fe.value,
|
|
251
|
-
noTitle: ye.value
|
|
252
|
-
});
|
|
253
|
-
l -= 12, requestAnimationFrame(() => {
|
|
254
|
-
o.value.width = a, o.value.height = l, o.value.centerX = a / 2, o.value.centerY = w.value / 2 / 358.4 * l, o.value.bottom = l, o.value.labelFontSize = 18 / w.value * Math.min(l, a) < 10 ? 10 : 18 / w.value * Math.min(l, a), o.value.legendFontSize = e.value.style.chart.legend.fontSize / w.value * Math.min(l, a) < 14 ? 14 : e.value.style.chart.legend.fontSize / w.value * Math.min(l, a), o.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / w.value * Math.min(l, a), o.value.trackSize = e.value.style.chart.layout.track.size / w.value * Math.min(l, a), o.value.pointerStrokeWidth = ie({
|
|
255
|
-
relator: Math.min(a, l),
|
|
256
|
-
adjuster: w.value,
|
|
257
|
-
source: e.value.style.chart.layout.pointer.strokeWidth,
|
|
258
|
-
threshold: 2,
|
|
259
|
-
fallback: 2
|
|
260
|
-
}), o.value.markerOffset = ie({
|
|
261
|
-
relator: Math.max(a, l),
|
|
262
|
-
adjuster: w.value,
|
|
263
|
-
source: e.value.style.chart.layout.markers.offsetY + 3,
|
|
264
|
-
threshold: 2,
|
|
265
|
-
fallback: 2
|
|
266
|
-
}), o.value.segmentFontSize = ie({
|
|
267
|
-
relator: Math.min(a, l),
|
|
268
|
-
adjuster: w.value,
|
|
269
|
-
source: e.value.style.chart.layout.segmentNames.fontSize,
|
|
270
|
-
threshold: 8,
|
|
271
|
-
fallback: 8
|
|
272
|
-
});
|
|
273
|
-
}), Ce();
|
|
274
|
-
});
|
|
275
|
-
P.value && (Y.value && P.value.unobserve(Y.value), P.value.disconnect()), P.value = new ResizeObserver(r), Y.value = N.value.parentNode, P.value.observe(Y.value);
|
|
276
|
-
}
|
|
277
|
-
Ce();
|
|
278
|
-
}
|
|
279
|
-
yt(() => {
|
|
280
|
-
ee();
|
|
281
|
-
}), gt(() => {
|
|
282
|
-
P.value && (Y.value && P.value.unobserve(Y.value), P.value.disconnect());
|
|
283
|
-
});
|
|
284
|
-
function xe(t) {
|
|
285
|
-
const r = [];
|
|
286
|
-
(F.value.series || []).forEach((_) => {
|
|
287
|
-
r.push(_.from || 0), r.push(_.to || 0);
|
|
288
|
-
}), R.value = Math.max(...r), O.value = Math.min(...r);
|
|
289
|
-
let a = e.value.style.chart.animation.speed;
|
|
290
|
-
const l = Math.abs(t - m.value) / (a * 60);
|
|
291
|
-
function p() {
|
|
292
|
-
m.value < t ? m.value = Math.min(
|
|
293
|
-
m.value + l,
|
|
294
|
-
t
|
|
295
|
-
) : m.value > t && (m.value = Math.max(
|
|
296
|
-
m.value - l,
|
|
297
|
-
t
|
|
298
|
-
)), m.value !== t && requestAnimationFrame(p);
|
|
299
|
-
}
|
|
300
|
-
p();
|
|
301
|
-
}
|
|
302
|
-
const v = d(() => {
|
|
303
|
-
const t = e.value.responsive ? Math.min(o.value.width, o.value.height) : o.value.width, r = 2.5 / e.value.style.chart.layout.radiusRatio;
|
|
304
|
-
return {
|
|
305
|
-
arcs: t / r,
|
|
306
|
-
gradients: t / (r * 1.1),
|
|
307
|
-
base: e.value.responsive ? o.value.height / 1.618 : o.value.height * 0.7,
|
|
308
|
-
ratingBase: e.value.responsive ? o.value.height / 2 + o.value.height / 4 : o.value.height * 0.9,
|
|
309
|
-
pointerSize: e.value.responsive ? Math.min(o.value.width, o.value.height) / 3 : o.value.width / 3.2
|
|
310
|
-
};
|
|
311
|
-
}), y = d(() => se(
|
|
312
|
-
{ series: F.value.series },
|
|
313
|
-
o.value.width / 2,
|
|
314
|
-
v.value.base,
|
|
315
|
-
v.value.arcs,
|
|
316
|
-
v.value.arcs,
|
|
317
|
-
1,
|
|
318
|
-
1,
|
|
319
|
-
1,
|
|
320
|
-
180,
|
|
321
|
-
109.9495,
|
|
322
|
-
40 * o.value.trackSize
|
|
323
|
-
)), Qe = d(() => se(
|
|
324
|
-
{ series: F.value.series },
|
|
325
|
-
o.value.width / 2,
|
|
326
|
-
v.value.base,
|
|
327
|
-
v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
|
|
328
|
-
v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
|
|
329
|
-
1,
|
|
330
|
-
1,
|
|
331
|
-
1,
|
|
332
|
-
180,
|
|
333
|
-
109.9495,
|
|
334
|
-
40 * o.value.trackSize
|
|
335
|
-
)), I = d(() => y.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), $e = d(() => {
|
|
336
|
-
const { x: t, y: r } = M({
|
|
337
|
-
initX: y.value[0].firstSeparator.x,
|
|
338
|
-
initY: y.value[0].firstSeparator.y,
|
|
339
|
-
centerX: i.value.x1,
|
|
340
|
-
centerY: i.value.y1,
|
|
341
|
-
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
342
|
-
}), { x: a, y: l } = M({
|
|
343
|
-
initX: y.value[0].startX,
|
|
344
|
-
initY: y.value[0].startY,
|
|
345
|
-
centerX: i.value.x1,
|
|
346
|
-
centerY: i.value.y1,
|
|
347
|
-
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
348
|
-
});
|
|
349
|
-
return { x1: t, y1: r, x2: a, y2: l };
|
|
350
|
-
}), Ae = d(() => y.value.map((t) => {
|
|
351
|
-
const { x: r, y: a } = M({
|
|
352
|
-
initX: t.separator.x,
|
|
353
|
-
initY: t.separator.y,
|
|
354
|
-
centerX: i.value.x1,
|
|
355
|
-
centerY: i.value.y1,
|
|
356
|
-
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
357
|
-
}), { x: l, y: p } = M({
|
|
358
|
-
initX: t.endX,
|
|
359
|
-
initY: t.endY,
|
|
360
|
-
centerX: i.value.x1,
|
|
361
|
-
centerY: i.value.y1,
|
|
362
|
-
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
363
|
-
});
|
|
364
|
-
return { x1: r, y1: a, x2: l, y2: p };
|
|
365
|
-
}));
|
|
366
|
-
function et(t) {
|
|
367
|
-
if (t.reduce((p, _) => p + _, 0) > 100)
|
|
368
|
-
throw new Error("Total % must not exceed 100");
|
|
369
|
-
const a = 50;
|
|
370
|
-
let l = 0;
|
|
371
|
-
return t.map((p) => (l += p, `${l / 100 * a - p / 4}%`));
|
|
372
|
-
}
|
|
373
|
-
const tt = d(() => et(
|
|
374
|
-
y.value.map((t) => t.proportion * 100)
|
|
375
|
-
)), at = d(() => se(
|
|
376
|
-
{ series: F.value.series },
|
|
377
|
-
o.value.width / 2,
|
|
378
|
-
v.value.base,
|
|
379
|
-
v.value.gradients,
|
|
380
|
-
v.value.gradients,
|
|
381
|
-
0.95,
|
|
382
|
-
1,
|
|
383
|
-
1,
|
|
384
|
-
180,
|
|
385
|
-
110.02,
|
|
386
|
-
2 * o.value.trackSize
|
|
387
|
-
)), lt = d(() => {
|
|
388
|
-
const t = O.value >= 0 ? -O.value : Math.abs(O.value);
|
|
389
|
-
return _t({
|
|
390
|
-
radius: e.value.style.chart.layout.indicatorArc.radius * o.value.trackSize,
|
|
391
|
-
centerX: o.value.width / 2,
|
|
392
|
-
centerY: v.value.base,
|
|
393
|
-
percentage: Ct(
|
|
394
|
-
(m.value + t) / (R.value + t)
|
|
395
|
-
)
|
|
396
|
-
});
|
|
397
|
-
}), E = f(!1);
|
|
398
|
-
function ze(t) {
|
|
399
|
-
E.value = t, ve.value += 1;
|
|
400
|
-
}
|
|
401
|
-
const W = f(!1);
|
|
402
|
-
function te() {
|
|
403
|
-
W.value = !W.value;
|
|
404
|
-
}
|
|
405
|
-
async function ot({ scale: t = 2 } = {}) {
|
|
406
|
-
if (!N.value) return;
|
|
407
|
-
const { width: r, height: a } = N.value.getBoundingClientRect(), l = r / a, { imageUri: p, base64: _ } = await Et({
|
|
408
|
-
domElement: N.value,
|
|
409
|
-
base64: !0,
|
|
410
|
-
img: !0,
|
|
411
|
-
scale: t
|
|
412
|
-
});
|
|
413
|
-
return {
|
|
414
|
-
imageUri: p,
|
|
415
|
-
base64: _,
|
|
416
|
-
title: e.value.style.chart.title.text,
|
|
417
|
-
width: r,
|
|
418
|
-
height: a,
|
|
419
|
-
aspectRatio: l
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
const st = d(() => e.value.style.chart.backgroundColor), rt = d(() => e.value.style.chart.title), { exportSvg: nt, getSvg: ut } = It({
|
|
423
|
-
svg: j,
|
|
424
|
-
title: rt,
|
|
425
|
-
backgroundColor: st
|
|
426
|
-
});
|
|
427
|
-
async function Fe({ isCb: t }) {
|
|
428
|
-
U.value = !0, await Ne();
|
|
429
|
-
try {
|
|
430
|
-
if (t) {
|
|
431
|
-
const { blob: r, url: a, text: l, dataUrl: p } = await ut();
|
|
432
|
-
await Promise.resolve(
|
|
433
|
-
e.value.userOptions.callbacks.svg({
|
|
434
|
-
blob: r,
|
|
435
|
-
url: a,
|
|
436
|
-
text: l,
|
|
437
|
-
dataUrl: p
|
|
438
|
-
})
|
|
439
|
-
);
|
|
440
|
-
} else
|
|
441
|
-
await Promise.resolve(nt());
|
|
442
|
-
} finally {
|
|
443
|
-
U.value = !1;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
function it(t) {
|
|
447
|
-
if (t?.stage === "start") {
|
|
448
|
-
G.value = !0;
|
|
449
|
-
return;
|
|
450
|
-
}
|
|
451
|
-
if (t?.stage === "end") {
|
|
452
|
-
G.value = !1;
|
|
453
|
-
return;
|
|
454
|
-
}
|
|
455
|
-
we();
|
|
456
|
-
}
|
|
457
|
-
async function Oe() {
|
|
458
|
-
if (Ve("copyAlt", {
|
|
459
|
-
config: e.value,
|
|
460
|
-
dataset: F.value
|
|
461
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
462
|
-
console.warn(
|
|
463
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
464
|
-
);
|
|
465
|
-
return;
|
|
466
|
-
}
|
|
467
|
-
await Promise.resolve(
|
|
468
|
-
e.value.userOptions.callbacks.altCopy({
|
|
469
|
-
config: e.value,
|
|
470
|
-
dataset: F.value
|
|
471
|
-
})
|
|
472
|
-
);
|
|
473
|
-
}
|
|
474
|
-
return Ee({
|
|
475
|
-
getImage: ot,
|
|
476
|
-
generatePdf: Se,
|
|
477
|
-
generateImage: we,
|
|
478
|
-
generateSvg: Fe,
|
|
479
|
-
toggleAnnotator: te,
|
|
480
|
-
toggleFullscreen: ze,
|
|
481
|
-
copyAlt: Oe
|
|
482
|
-
}), (t, r) => (s(), n("div", {
|
|
483
|
-
class: Me(`vue-data-ui-component vue-ui-gauge ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
484
|
-
ref_key: "gaugeChart",
|
|
485
|
-
ref: N,
|
|
486
|
-
id: `vue-ui-gauge_${C.value}`,
|
|
487
|
-
style: oe(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
488
|
-
onMouseenter: r[0] || (r[0] = () => u(ke)(!0)),
|
|
489
|
-
onMouseleave: r[1] || (r[1] = () => u(ke)(!1))
|
|
490
|
-
}, [
|
|
491
|
-
e.value.userOptions.buttons.annotator ? (s(), V(u(Ge), {
|
|
492
|
-
key: 0,
|
|
493
|
-
svgRef: u(j),
|
|
494
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
495
|
-
color: e.value.style.chart.color,
|
|
496
|
-
active: W.value,
|
|
497
|
-
isCursorPointer: me.value,
|
|
498
|
-
onClose: te
|
|
499
|
-
}, {
|
|
500
|
-
"annotator-action-close": k(() => [
|
|
501
|
-
h(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
502
|
-
]),
|
|
503
|
-
"annotator-action-color": k(({ color: a }) => [
|
|
504
|
-
h(t.$slots, "annotator-action-color", $(A({ color: a })), void 0, !0)
|
|
505
|
-
]),
|
|
506
|
-
"annotator-action-draw": k(({ mode: a }) => [
|
|
507
|
-
h(t.$slots, "annotator-action-draw", $(A({ mode: a })), void 0, !0)
|
|
508
|
-
]),
|
|
509
|
-
"annotator-action-undo": k(({ disabled: a }) => [
|
|
510
|
-
h(t.$slots, "annotator-action-undo", $(A({ disabled: a })), void 0, !0)
|
|
511
|
-
]),
|
|
512
|
-
"annotator-action-redo": k(({ disabled: a }) => [
|
|
513
|
-
h(t.$slots, "annotator-action-redo", $(A({ disabled: a })), void 0, !0)
|
|
514
|
-
]),
|
|
515
|
-
"annotator-action-delete": k(({ disabled: a }) => [
|
|
516
|
-
h(t.$slots, "annotator-action-delete", $(A({ disabled: a })), void 0, !0)
|
|
517
|
-
]),
|
|
518
|
-
_: 3
|
|
519
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : c("", !0),
|
|
520
|
-
Ke.value ? (s(), n("div", {
|
|
521
|
-
key: 1,
|
|
522
|
-
ref_key: "noTitle",
|
|
523
|
-
ref: ye,
|
|
524
|
-
class: "vue-data-ui-no-title-space",
|
|
525
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
526
|
-
}, null, 512)) : c("", !0),
|
|
527
|
-
e.value.style.chart.title.text ? (s(), n("div", {
|
|
528
|
-
key: 2,
|
|
529
|
-
ref_key: "chartTitle",
|
|
530
|
-
ref: de,
|
|
531
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
532
|
-
}, [
|
|
533
|
-
(s(), V(Gt, {
|
|
534
|
-
key: `title_${ge.value}`,
|
|
535
|
-
config: {
|
|
536
|
-
title: {
|
|
537
|
-
cy: "gauge-div-title",
|
|
538
|
-
...e.value.style.chart.title
|
|
539
|
-
},
|
|
540
|
-
subtitle: {
|
|
541
|
-
cy: "gauge-div-subtitle",
|
|
542
|
-
...e.value.style.chart.title.subtitle
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
}, {
|
|
546
|
-
default: k(() => [
|
|
547
|
-
e.value.translations.base && u(x).base ? (s(), n("span", Bt, T(e.value.translations.base) + ": " + T(u(x).base), 1)) : c("", !0)
|
|
548
|
-
]),
|
|
549
|
-
_: 1
|
|
550
|
-
}, 8, ["config"]))
|
|
551
|
-
], 512)) : c("", !0),
|
|
552
|
-
e.value.userOptions.show && He.value && (u(be) || u(q)) ? (s(), V(u(Ue), {
|
|
553
|
-
ref_key: "details",
|
|
554
|
-
ref: qe,
|
|
555
|
-
key: `user_options_${ve.value}`,
|
|
556
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
557
|
-
color: e.value.style.chart.color,
|
|
558
|
-
isImaging: u(J),
|
|
559
|
-
isPrinting: u(K),
|
|
560
|
-
uid: C.value,
|
|
561
|
-
hasXls: !1,
|
|
562
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
563
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
564
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
565
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
566
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
567
|
-
isFullscreen: E.value,
|
|
568
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
569
|
-
chartElement: N.value,
|
|
570
|
-
callbacks: e.value.userOptions.callbacks,
|
|
571
|
-
printScale: e.value.userOptions.print.scale,
|
|
572
|
-
position: e.value.userOptions.position,
|
|
573
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
574
|
-
isAnnotation: W.value,
|
|
575
|
-
isCursorPointer: me.value,
|
|
576
|
-
onToggleFullscreen: ze,
|
|
577
|
-
onGeneratePdf: u(Se),
|
|
578
|
-
onGenerateImage: it,
|
|
579
|
-
onGenerateSvg: Fe,
|
|
580
|
-
onToggleAnnotator: te,
|
|
581
|
-
onCopyAlt: Oe,
|
|
582
|
-
style: oe({
|
|
583
|
-
visibility: u(be) ? u(q) ? "visible" : "hidden" : "visible"
|
|
584
|
-
})
|
|
585
|
-
}, mt({ _: 2 }, [
|
|
586
|
-
t.$slots.menuIcon ? {
|
|
587
|
-
name: "menuIcon",
|
|
588
|
-
fn: k(({ isOpen: a, color: l }) => [
|
|
589
|
-
h(t.$slots, "menuIcon", $(A({ isOpen: a, color: l })), void 0, !0)
|
|
590
|
-
]),
|
|
591
|
-
key: "0"
|
|
592
|
-
} : void 0,
|
|
593
|
-
t.$slots.optionPdf ? {
|
|
594
|
-
name: "optionPdf",
|
|
595
|
-
fn: k(() => [
|
|
596
|
-
h(t.$slots, "optionPdf", {}, void 0, !0)
|
|
597
|
-
]),
|
|
598
|
-
key: "1"
|
|
599
|
-
} : void 0,
|
|
600
|
-
t.$slots.optionImg ? {
|
|
601
|
-
name: "optionImg",
|
|
602
|
-
fn: k(() => [
|
|
603
|
-
h(t.$slots, "optionImg", {}, void 0, !0)
|
|
604
|
-
]),
|
|
605
|
-
key: "2"
|
|
606
|
-
} : void 0,
|
|
607
|
-
t.$slots.optionSvg ? {
|
|
608
|
-
name: "optionSvg",
|
|
609
|
-
fn: k(() => [
|
|
610
|
-
h(t.$slots, "optionSvg", {}, void 0, !0)
|
|
611
|
-
]),
|
|
612
|
-
key: "3"
|
|
613
|
-
} : void 0,
|
|
614
|
-
t.$slots.optionFullscreen ? {
|
|
615
|
-
name: "optionFullscreen",
|
|
616
|
-
fn: k(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
617
|
-
h(t.$slots, "optionFullscreen", $(A({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
618
|
-
]),
|
|
619
|
-
key: "4"
|
|
620
|
-
} : void 0,
|
|
621
|
-
t.$slots.optionAnnotator ? {
|
|
622
|
-
name: "optionAnnotator",
|
|
623
|
-
fn: k(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
624
|
-
h(t.$slots, "optionAnnotator", $(A({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
625
|
-
]),
|
|
626
|
-
key: "5"
|
|
627
|
-
} : void 0,
|
|
628
|
-
t.$slots.optionAltCopy ? {
|
|
629
|
-
name: "optionAltCopy",
|
|
630
|
-
fn: k(({ altCopy: a }) => [
|
|
631
|
-
h(t.$slots, "optionAltCopy", $(A({ altCopy: a })), void 0, !0)
|
|
632
|
-
]),
|
|
633
|
-
key: "6"
|
|
634
|
-
} : void 0
|
|
635
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "isCursorPointer", "onGeneratePdf", "style"])) : c("", !0),
|
|
636
|
-
(s(), n("svg", {
|
|
637
|
-
ref_key: "svgRef",
|
|
638
|
-
ref: j,
|
|
639
|
-
xmlns: u(xt),
|
|
640
|
-
class: Me({
|
|
641
|
-
"vue-data-ui-fullscreen--on": E.value,
|
|
642
|
-
"vue-data-ui-fulscreen--off": !E.value
|
|
643
|
-
}),
|
|
644
|
-
viewBox: `0 0 ${o.value.width <= 0 ? 10 : o.value.width} ${o.value.height <= 0 ? 10 : o.value.height}`,
|
|
645
|
-
style: oe(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
646
|
-
}, [
|
|
647
|
-
pt(u(je)),
|
|
648
|
-
t.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
649
|
-
key: 0,
|
|
650
|
-
x: 0,
|
|
651
|
-
y: 0,
|
|
652
|
-
width: o.value.width <= 0 ? 10 : o.value.width,
|
|
653
|
-
height: o.value.height <= 0 ? 10 : o.value.height,
|
|
654
|
-
style: {
|
|
655
|
-
pointerEvents: "none"
|
|
656
|
-
}
|
|
657
|
-
}, [
|
|
658
|
-
h(t.$slots, "chart-background", {}, void 0, !0)
|
|
659
|
-
], 8, Wt)) : c("", !0),
|
|
660
|
-
b("defs", null, [
|
|
661
|
-
b("radialGradient", {
|
|
662
|
-
id: `gradient_${C.value}`,
|
|
663
|
-
cx: "50%",
|
|
664
|
-
cy: "50%",
|
|
665
|
-
r: "50%",
|
|
666
|
-
fx: "50%",
|
|
667
|
-
fy: "50%"
|
|
668
|
-
}, [
|
|
669
|
-
b("stop", {
|
|
670
|
-
offset: "0%",
|
|
671
|
-
"stop-color": u(re)("#FFFFFF", 1)
|
|
672
|
-
}, null, 8, Ht),
|
|
673
|
-
b("stop", {
|
|
674
|
-
offset: "80%",
|
|
675
|
-
"stop-color": u(re)(
|
|
676
|
-
"#FFFFFF",
|
|
677
|
-
e.value.style.chart.layout.track.gradientIntensity
|
|
678
|
-
)
|
|
679
|
-
}, null, 8, qt),
|
|
680
|
-
b("stop", {
|
|
681
|
-
offset: "100%",
|
|
682
|
-
"stop-color": u(re)("#FFFFFF", 1)
|
|
683
|
-
}, null, 8, Zt)
|
|
684
|
-
], 8, Vt)
|
|
685
|
-
]),
|
|
686
|
-
b("defs", null, [
|
|
687
|
-
b("filter", {
|
|
688
|
-
id: `blur_${C.value}`,
|
|
689
|
-
x: "-50%",
|
|
690
|
-
y: "-50%",
|
|
691
|
-
width: "200%",
|
|
692
|
-
height: "200%"
|
|
693
|
-
}, [
|
|
694
|
-
b("feGaussianBlur", {
|
|
695
|
-
in: "SourceGraphic",
|
|
696
|
-
stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
|
|
697
|
-
}, null, 8, Jt)
|
|
698
|
-
], 8, Kt)
|
|
699
|
-
]),
|
|
700
|
-
t.$slots.pattern ? (s(), n("g", Qt, [
|
|
701
|
-
(s(!0), n(S, null, z(y.value, (a, l) => (s(), n("defs", null, [
|
|
702
|
-
h(t.$slots, "pattern", L({ ref_for: !0 }, {
|
|
703
|
-
seriesIndex: l,
|
|
704
|
-
patternId: `pattern_${C.value}_${l}`
|
|
705
|
-
}), void 0, !0)
|
|
706
|
-
]))), 256))
|
|
707
|
-
])) : c("", !0),
|
|
708
|
-
(s(!0), n(S, null, z(y.value, (a, l) => (s(), n("path", {
|
|
709
|
-
key: `arc_${l}`,
|
|
710
|
-
d: a.arcSlice,
|
|
711
|
-
fill: a.color,
|
|
712
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
713
|
-
"stroke-linecap": "round"
|
|
714
|
-
}, null, 8, ea))), 128)),
|
|
715
|
-
t.$slots.pattern ? (s(!0), n(S, { key: 2 }, z(y.value, (a, l) => (s(), n("path", {
|
|
716
|
-
key: `arc_${l}`,
|
|
717
|
-
d: a.arcSlice,
|
|
718
|
-
fill: `url(#pattern_${C.value}_${l})`,
|
|
719
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
720
|
-
"stroke-linecap": "round"
|
|
721
|
-
}, null, 8, ta))), 128)) : c("", !0),
|
|
722
|
-
e.value.style.chart.layout.indicatorArc.show ? (s(), n("path", {
|
|
723
|
-
key: 3,
|
|
724
|
-
d: lt.value,
|
|
725
|
-
fill: e.value.style.chart.layout.indicatorArc.fill
|
|
726
|
-
}, null, 8, aa)) : c("", !0),
|
|
727
|
-
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (s(), n(S, { key: 4 }, [
|
|
728
|
-
(s(!0), n(S, null, z(y.value, (a, l) => (s(), n("path", {
|
|
729
|
-
id: `curve_${C.value}_${l}`,
|
|
730
|
-
d: `M ${i.value.x1},${i.value.y1} m -${I.value[l]},0 a ${I.value[l]},${I.value[l]} 0 1,1 ${2 * I.value[l]},0 a ${I.value[l]},${I.value[l]} 0 1,1 -${2 * I.value[l]},0`,
|
|
731
|
-
fill: "transparent"
|
|
732
|
-
}, null, 8, la))), 256)),
|
|
733
|
-
(s(!0), n(S, null, z(y.value, (a, l) => (s(), n("text", {
|
|
734
|
-
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
735
|
-
"font-size": B.value,
|
|
736
|
-
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
737
|
-
"text-anchor": "middle"
|
|
738
|
-
}, [
|
|
739
|
-
b("textPath", {
|
|
740
|
-
href: `#curve_${C.value}_${l}`,
|
|
741
|
-
startOffset: tt.value[l]
|
|
742
|
-
}, T(a.name || ""), 9, sa)
|
|
743
|
-
], 8, oa))), 256))
|
|
744
|
-
], 64)) : c("", !0),
|
|
745
|
-
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (s(!0), n(S, { key: 5 }, z(Qe.value, (a, l) => (s(), n("text", {
|
|
746
|
-
class: "vue-ui-gauge-label-flat",
|
|
747
|
-
"text-anchor": u(At)(a, !1, 12).anchor,
|
|
748
|
-
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
749
|
-
"font-size": B.value,
|
|
750
|
-
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
751
|
-
innerHTML: u($t)({
|
|
752
|
-
content: String(a.name ?? ""),
|
|
753
|
-
fontSize: B.value,
|
|
754
|
-
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
755
|
-
x: a.center.endX,
|
|
756
|
-
y: a.center.endY
|
|
757
|
-
})
|
|
758
|
-
}, null, 8, ra))), 256)) : c("", !0),
|
|
759
|
-
e.value.style.chart.layout.track.useGradient ? (s(!0), n(S, { key: 6 }, z(at.value, (a, l) => (s(), n("path", {
|
|
760
|
-
key: `arc_${l}`,
|
|
761
|
-
d: a.arcSlice,
|
|
762
|
-
fill: "#FFFFFF",
|
|
763
|
-
stroke: "none",
|
|
764
|
-
"stroke-linecap": "round",
|
|
765
|
-
filter: `url(#blur_${C.value})`
|
|
766
|
-
}, null, 8, na))), 128)) : c("", !0),
|
|
767
|
-
e.value.style.chart.layout.segmentSeparators.show ? (s(), n(S, { key: 7 }, [
|
|
768
|
-
b("line", L($e.value, {
|
|
769
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
770
|
-
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
771
|
-
"stroke-linecap": "round"
|
|
772
|
-
}), null, 16, ua),
|
|
773
|
-
b("line", L($e.value, {
|
|
774
|
-
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
775
|
-
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
776
|
-
"stroke-linecap": "round"
|
|
777
|
-
}), null, 16, ia),
|
|
778
|
-
(s(!0), n(S, null, z(Ae.value, (a) => (s(), n("line", L({ ref_for: !0 }, a, {
|
|
779
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
780
|
-
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
781
|
-
"stroke-linecap": "round"
|
|
782
|
-
}), null, 16, ca))), 256)),
|
|
783
|
-
(s(!0), n(S, null, z(Ae.value, (a) => (s(), n("line", L({ ref_for: !0 }, a, {
|
|
784
|
-
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
785
|
-
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
786
|
-
"stroke-linecap": "round"
|
|
787
|
-
}), null, 16, va))), 256))
|
|
788
|
-
], 64)) : c("", !0),
|
|
789
|
-
e.value.style.chart.layout.markers.show ? (s(), n("g", da, [
|
|
790
|
-
(s(!0), n(S, null, z(y.value, (a, l) => (s(), n("text", {
|
|
791
|
-
x: u(M)({
|
|
792
|
-
centerX: i.value.x1,
|
|
793
|
-
centerY: v.value.base,
|
|
794
|
-
initX: a.center.startX,
|
|
795
|
-
initY: a.center.startY,
|
|
796
|
-
offset: o.value.markerOffset
|
|
797
|
-
}).x,
|
|
798
|
-
y: u(M)({
|
|
799
|
-
centerX: i.value.x1,
|
|
800
|
-
centerY: v.value.base,
|
|
801
|
-
initX: a.center.startX,
|
|
802
|
-
initY: a.center.startY,
|
|
803
|
-
offset: o.value.markerOffset
|
|
804
|
-
}).y,
|
|
805
|
-
"text-anchor": a.center.startX < i.value.x1 - 5 ? "end" : a.center.startX > i.value.x1 + 5 ? "start" : "middle",
|
|
806
|
-
"font-size": o.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
807
|
-
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
808
|
-
fill: e.value.style.chart.layout.markers.color
|
|
809
|
-
}, T(u(ne)(
|
|
810
|
-
e.value.style.chart.layout.markers.formatter,
|
|
811
|
-
a.from,
|
|
812
|
-
u(ue)({
|
|
813
|
-
p: e.value.style.chart.layout.markers.prefix,
|
|
814
|
-
v: a.from,
|
|
815
|
-
s: e.value.style.chart.layout.markers.suffix,
|
|
816
|
-
r: e.value.style.chart.layout.markers.roundingValue
|
|
817
|
-
})
|
|
818
|
-
)), 9, ha))), 256))
|
|
819
|
-
])) : c("", !0),
|
|
820
|
-
e.value.style.chart.layout.markers.show ? (s(), n("text", {
|
|
821
|
-
key: 9,
|
|
822
|
-
x: u(M)({
|
|
823
|
-
centerX: o.value.width / 2,
|
|
824
|
-
centerY: v.value.base,
|
|
825
|
-
initX: y.value.at(-1).endX,
|
|
826
|
-
initY: y.value.at(-1).endY,
|
|
827
|
-
offset: o.value.markerOffset
|
|
828
|
-
}).x,
|
|
829
|
-
y: u(M)({
|
|
830
|
-
centerX: o.value.width / 2,
|
|
831
|
-
centerY: v.value.base,
|
|
832
|
-
initX: y.value.at(-1).endX,
|
|
833
|
-
initY: y.value.at(-1).endY,
|
|
834
|
-
offset: o.value.markerOffset
|
|
835
|
-
}).y,
|
|
836
|
-
"text-anchor": "start",
|
|
837
|
-
"font-size": o.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
838
|
-
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
839
|
-
fill: e.value.style.chart.layout.markers.color
|
|
840
|
-
}, T(u(ne)(
|
|
841
|
-
e.value.style.chart.layout.markers.formatter,
|
|
842
|
-
R.value,
|
|
843
|
-
u(ue)({
|
|
844
|
-
p: e.value.style.chart.layout.markers.prefix,
|
|
845
|
-
v: R.value,
|
|
846
|
-
s: e.value.style.chart.layout.markers.suffix,
|
|
847
|
-
r: e.value.style.chart.layout.markers.roundingValue
|
|
848
|
-
})
|
|
849
|
-
)), 9, fa)) : c("", !0),
|
|
850
|
-
e.value.style.chart.layout.pointer.show ? (s(), n(S, { key: 10 }, [
|
|
851
|
-
e.value.style.chart.layout.pointer.type === "rounded" ? (s(), n("g", ya, [
|
|
852
|
-
isNaN(i.value.x2) ? c("", !0) : (s(), n("line", {
|
|
853
|
-
key: 0,
|
|
854
|
-
x1: i.value.x1,
|
|
855
|
-
y1: i.value.y1,
|
|
856
|
-
x2: i.value.x2,
|
|
857
|
-
y2: i.value.y2,
|
|
858
|
-
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
859
|
-
"stroke-width": o.value.pointerStrokeWidth,
|
|
860
|
-
"stroke-linecap": "round"
|
|
861
|
-
}, null, 8, ga)),
|
|
862
|
-
isNaN(i.value.x2) ? c("", !0) : (s(), n("line", {
|
|
863
|
-
key: 1,
|
|
864
|
-
x1: i.value.x1,
|
|
865
|
-
y1: i.value.y1,
|
|
866
|
-
x2: i.value.x2,
|
|
867
|
-
y2: i.value.y2,
|
|
868
|
-
stroke: e.value.style.chart.layout.pointer.useRatingColor ? Q.value : e.value.style.chart.layout.pointer.color,
|
|
869
|
-
"stroke-linecap": "round",
|
|
870
|
-
"stroke-width": o.value.pointerStrokeWidth * 0.7
|
|
871
|
-
}, null, 8, ma)),
|
|
872
|
-
!isNaN(i.value.x2) && e.value.style.chart.layout.track.useGradient ? (s(), n("line", {
|
|
873
|
-
key: 2,
|
|
874
|
-
x1: i.value.x1,
|
|
875
|
-
y1: i.value.y1,
|
|
876
|
-
x2: i.value.x2,
|
|
877
|
-
y2: i.value.y2,
|
|
878
|
-
stroke: "white",
|
|
879
|
-
"stroke-linecap": "round",
|
|
880
|
-
"stroke-width": o.value.pointerStrokeWidth * 0.3,
|
|
881
|
-
filter: `url(#blur_${C.value})`
|
|
882
|
-
}, null, 8, pa)) : c("", !0)
|
|
883
|
-
])) : (s(), n("g", ka, [
|
|
884
|
-
_e.value ? (s(), n("path", {
|
|
885
|
-
key: 0,
|
|
886
|
-
d: _e.value,
|
|
887
|
-
fill: e.value.style.chart.layout.pointer.useRatingColor ? Q.value : e.value.style.chart.layout.pointer.color,
|
|
888
|
-
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
889
|
-
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
890
|
-
"stroke-linejoin": "round"
|
|
891
|
-
}, null, 8, ba)) : c("", !0)
|
|
892
|
-
])),
|
|
893
|
-
b("circle", {
|
|
894
|
-
cx: o.value.width / 2,
|
|
895
|
-
cy: v.value.base,
|
|
896
|
-
fill: e.value.style.chart.layout.pointer.circle.color,
|
|
897
|
-
r: o.value.pointerRadius <= 0 ? 1e-4 : o.value.pointerRadius,
|
|
898
|
-
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
899
|
-
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
900
|
-
}, null, 8, Sa)
|
|
901
|
-
], 64)) : c("", !0),
|
|
902
|
-
e.value.style.chart.legend.show ? (s(), n("text", {
|
|
903
|
-
key: 11,
|
|
904
|
-
x: o.value.width / 2,
|
|
905
|
-
y: v.value.ratingBase,
|
|
906
|
-
"text-anchor": "middle",
|
|
907
|
-
"font-size": o.value.legendFontSize,
|
|
908
|
-
"font-weight": "bold",
|
|
909
|
-
fill: e.value.style.chart.legend.useRatingColor ? Q.value : e.value.style.chart.legend.color
|
|
910
|
-
}, T(u(ne)(
|
|
911
|
-
e.value.style.chart.legend.formatter,
|
|
912
|
-
m.value,
|
|
913
|
-
u(ue)({
|
|
914
|
-
p: e.value.style.chart.legend.prefix + (e.value.style.chart.legend.showPlusSymbol && m.value > 0 ? "+" : ""),
|
|
915
|
-
v: m.value,
|
|
916
|
-
s: e.value.style.chart.legend.suffix,
|
|
917
|
-
r: e.value.style.chart.legend.roundingValue
|
|
918
|
-
})
|
|
919
|
-
)), 9, wa)) : c("", !0),
|
|
920
|
-
h(t.$slots, "svg", {
|
|
921
|
-
svg: {
|
|
922
|
-
...o.value,
|
|
923
|
-
isPrintingImg: u(K) | u(J) | G.value,
|
|
924
|
-
isPrintingSvg: U.value
|
|
925
|
-
}
|
|
926
|
-
}, void 0, !0)
|
|
927
|
-
], 14, Dt)),
|
|
928
|
-
t.$slots.watermark ? (s(), n("div", _a, [
|
|
929
|
-
h(t.$slots, "watermark", $(A({
|
|
930
|
-
isPrinting: u(K) || u(J) || G.value || U.value
|
|
931
|
-
})), void 0, !0)
|
|
932
|
-
])) : c("", !0),
|
|
933
|
-
b("div", {
|
|
934
|
-
ref_key: "chartLegend",
|
|
935
|
-
ref: he
|
|
936
|
-
}, [
|
|
937
|
-
h(t.$slots, "legend", { legend: F.value }, void 0, !0)
|
|
938
|
-
], 512),
|
|
939
|
-
t.$slots.source ? (s(), n("div", {
|
|
940
|
-
key: 5,
|
|
941
|
-
ref_key: "source",
|
|
942
|
-
ref: fe,
|
|
943
|
-
dir: "auto"
|
|
944
|
-
}, [
|
|
945
|
-
h(t.$slots, "source", {}, void 0, !0)
|
|
946
|
-
], 512)) : c("", !0),
|
|
947
|
-
h(t.$slots, "skeleton", {}, () => [
|
|
948
|
-
u(pe) ? (s(), V(Pt, { key: 0 })) : c("", !0)
|
|
949
|
-
], !0)
|
|
950
|
-
], 46, jt));
|
|
951
|
-
}
|
|
952
|
-
}, Ga = /* @__PURE__ */ Ut(Ca, [["__scopeId", "data-v-4f9cc072"]]);
|
|
953
|
-
export {
|
|
954
|
-
Ga as default
|
|
955
|
-
};
|