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,743 +0,0 @@
|
|
|
1
|
-
import { useCssVars as st, defineAsyncComponent as Z, ref as d, computed as i, onMounted as at, toRefs as lt, watch as rt, openBlock as r, createElementBlock as u, unref as c, normalizeStyle as we, normalizeClass as V, createBlock as N, withCtx as f, renderSlot as h, normalizeProps as p, guardReactiveProps as k, createCommentVNode as v, createSlots as nt, createElementVNode as m, toDisplayString as ee, createVNode as ut, Fragment as Y, renderList as xe, nextTick as it } from "vue";
|
|
2
|
-
import { j as ct, t as Ce, o as vt, q as _e, r as ht, m as dt, p as I, n as ft, K as y, s as E, k as mt, l as yt, X as gt, u as pt } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as kt, u as bt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as wt } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as xt, B as Ct } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
-
import { u as _t } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as $t } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as te } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as At } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
-
import { u as Pt } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
-
import { u as Ot } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
-
import { u as It } from "./usePrefersMotion-Co0nj1eS.js";
|
|
13
|
-
import { u as St } from "./useAutoSizeLabelsInsideViewbox-izlGDfwu.js";
|
|
14
|
-
import Ft from "./vue_ui_thermometer-BTmjRBH8.js";
|
|
15
|
-
import Tt from "./Title-BbKoiBk2.js";
|
|
16
|
-
import Mt from "./img-CjTQXS0U.js";
|
|
17
|
-
import { _ as Ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const zt = ["id"], Wt = {
|
|
19
|
-
key: 1,
|
|
20
|
-
ref: "noTitle",
|
|
21
|
-
class: "vue-data-ui-no-title-space",
|
|
22
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
23
|
-
}, Lt = ["xmlns", "viewBox", "aria-labelledby", "aria-describedby"], Rt = ["id"], Vt = ["id"], Nt = ["width", "height"], Yt = ["id"], Et = ["x", "y", "width", "height", "rx", "ry"], Ht = ["id"], qt = ["stop-color"], Dt = ["stop-color"], Gt = ["stop-color"], Bt = ["clip-path"], jt = ["x", "y", "height", "width"], Xt = ["x", "y", "height", "width", "fill"], Kt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Jt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Qt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Zt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], eo = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], to = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], oo = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], so = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ao = ["x", "y", "height", "width"], lo = ["aria-label"], ro = ["x", "y", "height"], no = ["y", "x", "fill", "font-size", "font-weight"], uo = {
|
|
24
|
-
key: 4,
|
|
25
|
-
class: "vue-data-ui-watermark"
|
|
26
|
-
}, io = {
|
|
27
|
-
__name: "vue-ui-thermometer",
|
|
28
|
-
props: {
|
|
29
|
-
dataset: {
|
|
30
|
-
type: Object,
|
|
31
|
-
default() {
|
|
32
|
-
return {};
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
config: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default() {
|
|
38
|
-
return {};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
emits: ["copyAlt"],
|
|
43
|
-
setup($e, { expose: Ae, emit: Pe }) {
|
|
44
|
-
st((o) => ({
|
|
45
|
-
v5a0c02a0: He.value,
|
|
46
|
-
v78e75fde: Ee.value,
|
|
47
|
-
v69e7544b: Ye.value
|
|
48
|
-
}));
|
|
49
|
-
const Oe = Z(
|
|
50
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
51
|
-
), Ie = Z(
|
|
52
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
53
|
-
), Se = Z(
|
|
54
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
55
|
-
), { vue_ui_thermometer: Fe } = wt(), { isThemeValid: Te, warnInvalidTheme: Me } = At(), Ue = It(), g = $e, ze = Pe, b = d(ct()), x = d(null), oe = d(0), se = d(0), ae = d(null), le = d(null), _ = d(null), S = d(null), F = d(!1), T = d(!1), We = i(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
56
|
-
at(() => {
|
|
57
|
-
ue();
|
|
58
|
-
});
|
|
59
|
-
const e = d(G()), Le = d(e.value.style.chart.thermometer.width), H = d(e.value.style.chart.height), q = d(e.value.style.chart.width), re = i(
|
|
60
|
-
() => e.value.userOptions.useCursorPointer
|
|
61
|
-
), Re = i(() => Ce({
|
|
62
|
-
defaultConfig: {
|
|
63
|
-
userOptions: { show: !1 },
|
|
64
|
-
style: {
|
|
65
|
-
chart: {
|
|
66
|
-
animation: { use: !1 },
|
|
67
|
-
backgroundColor: "#99999930",
|
|
68
|
-
graduations: {
|
|
69
|
-
stroke: "#6A6A6A"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
75
|
-
})), { loading: M, FINAL_DATASET: n } = xt({
|
|
76
|
-
...lt(g),
|
|
77
|
-
FINAL_CONFIG: e,
|
|
78
|
-
prepareConfig: G,
|
|
79
|
-
skeletonDataset: g.config?.skeletonDataset ?? {
|
|
80
|
-
value: 0,
|
|
81
|
-
from: -100,
|
|
82
|
-
to: 100,
|
|
83
|
-
steps: 20,
|
|
84
|
-
colors: { from: "#A1A1A1", to: "#CACACA" }
|
|
85
|
-
},
|
|
86
|
-
skeletonConfig: Ce({
|
|
87
|
-
defaultConfig: e.value,
|
|
88
|
-
userConfig: Re.value
|
|
89
|
-
})
|
|
90
|
-
}), ne = i(() => !!e.value.debug);
|
|
91
|
-
function ue() {
|
|
92
|
-
if (vt(g.dataset) ? _e({
|
|
93
|
-
componentName: "VueUiThermometer",
|
|
94
|
-
type: "dataset",
|
|
95
|
-
debug: ne.value
|
|
96
|
-
}) : ht({
|
|
97
|
-
datasetObject: g.dataset,
|
|
98
|
-
requiredAttributes: ["value", "from", "to"]
|
|
99
|
-
}).forEach((o) => {
|
|
100
|
-
_e({
|
|
101
|
-
componentName: "VueUiThermometer",
|
|
102
|
-
type: "datasetAttribute",
|
|
103
|
-
property: o,
|
|
104
|
-
debug: ne.value
|
|
105
|
-
});
|
|
106
|
-
}), e.value.responsive) {
|
|
107
|
-
const o = kt(() => {
|
|
108
|
-
const { width: a, height: t } = bt({
|
|
109
|
-
chart: x.value,
|
|
110
|
-
title: e.value.style.title.text ? ae.value : null,
|
|
111
|
-
source: le.value
|
|
112
|
-
});
|
|
113
|
-
requestAnimationFrame(() => {
|
|
114
|
-
H.value = Math.max(0.1, t - 12), q.value = a, ye();
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
_.value && (S.value && _.value.unobserve(S.value), _.value.disconnect()), _.value = new ResizeObserver(o), S.value = x.value, _.value.observe(S.value);
|
|
118
|
-
}
|
|
119
|
-
ye();
|
|
120
|
-
}
|
|
121
|
-
const { userOptionsVisible: D, setUserOptionsVisibility: ie, keepUserOptionState: ce } = Pt({ config: e.value }), { svgRef: U } = Ot({
|
|
122
|
-
config: e.value.style.title
|
|
123
|
-
});
|
|
124
|
-
function G() {
|
|
125
|
-
const o = te({
|
|
126
|
-
userConfig: g.config,
|
|
127
|
-
defaultConfig: Fe
|
|
128
|
-
}), a = o.theme;
|
|
129
|
-
if (!a) return o;
|
|
130
|
-
if (!Te.value(o))
|
|
131
|
-
return Me(o), o;
|
|
132
|
-
const t = te({
|
|
133
|
-
userConfig: Ft[a] || g.config,
|
|
134
|
-
defaultConfig: o
|
|
135
|
-
}), l = te({
|
|
136
|
-
userConfig: g.config,
|
|
137
|
-
defaultConfig: t
|
|
138
|
-
});
|
|
139
|
-
return {
|
|
140
|
-
...l,
|
|
141
|
-
customPalette: l.customPalette.length ? l.customPalette : dt[a] || I
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
rt(
|
|
145
|
-
() => g.config,
|
|
146
|
-
(o) => {
|
|
147
|
-
e.value = G(), D.value = !e.value.userOptions.showOnChartHover, Le.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, q.value = e.value.style.chart.width, ue(), se.value += 1;
|
|
148
|
-
},
|
|
149
|
-
{ deep: !0 }
|
|
150
|
-
);
|
|
151
|
-
const { isPrinting: B, isImaging: j, generatePdf: ve, generateImage: he } = _t({
|
|
152
|
-
elementId: `thermometer__${b.value}`,
|
|
153
|
-
fileName: e.value.style.title.text || "vue-ui-thermometer",
|
|
154
|
-
options: e.value.userOptions.print
|
|
155
|
-
}), Ve = i(() => e.value.userOptions.show && !e.value.style.title.text), z = i(() => ft(e.value.customPalette)), w = i(() => n.value.steps || 10);
|
|
156
|
-
function W(o, a, t) {
|
|
157
|
-
const l = [], C = de(o), P = de(a);
|
|
158
|
-
for (let O = 0; O < t; O += 1) {
|
|
159
|
-
const Ze = X(C.red, P.red, O, t), et = X(C.green, P.green, O, t), tt = X(C.blue, P.blue, O, t), ot = `#${K(Ze)}${K(et)}${K(tt)}`;
|
|
160
|
-
l.push(ot);
|
|
161
|
-
}
|
|
162
|
-
return l;
|
|
163
|
-
}
|
|
164
|
-
function de(o) {
|
|
165
|
-
const a = o.slice(1);
|
|
166
|
-
return {
|
|
167
|
-
red: parseInt(a.slice(0, 2), 16),
|
|
168
|
-
green: parseInt(a.slice(2, 4), 16),
|
|
169
|
-
blue: parseInt(a.slice(4, 6), 16)
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
function X(o, a, t, l) {
|
|
173
|
-
return Math.round(o + (a - o) * t / l);
|
|
174
|
-
}
|
|
175
|
-
function K(o) {
|
|
176
|
-
return o.toString(16).padStart(2, "0");
|
|
177
|
-
}
|
|
178
|
-
const s = i(() => {
|
|
179
|
-
const o = Math.max(0.1, q.value), a = Math.max(0.1, H.value), t = e.value.style.chart.padding;
|
|
180
|
-
return {
|
|
181
|
-
width: o,
|
|
182
|
-
left: o / 2 - e.value.style.chart.thermometer.width / 2,
|
|
183
|
-
right: o / 2 + e.value.style.chart.thermometer.width / 2,
|
|
184
|
-
top: t.top,
|
|
185
|
-
bottom: a - t.bottom - t.top,
|
|
186
|
-
height: a,
|
|
187
|
-
thermoHeight: a - t.top - t.bottom,
|
|
188
|
-
thermoWidth: e.value.style.chart.thermometer.width
|
|
189
|
-
};
|
|
190
|
-
}), Ne = i(() => s.value), L = i(() => {
|
|
191
|
-
const o = y(n.value.from) < 0 ? Math.abs(y(n.value.from)) : y(n.value.from), a = y(n.value.to) < 0 ? Math.abs(y(n.value.to)) : y(n.value.to);
|
|
192
|
-
let t = 0;
|
|
193
|
-
return y(n.value.to) > 0 ? t = o + a : o > a ? t = o - a : t = a - o, (1 - (Math.abs(y(n.value.from)) + y(n.value.value)) / t) * s.value.thermoHeight;
|
|
194
|
-
}), Ye = i(() => `${L.value}px`), Ee = i(() => `${s.value.thermoHeight}px`), He = i(() => Ue.value ? "0ms" : `${e.value.style.chart.animation.speedMs}ms`), qe = i(() => {
|
|
195
|
-
if (n.value.colors) {
|
|
196
|
-
if (!n.value.colors.from)
|
|
197
|
-
return W(
|
|
198
|
-
z.value[0] || I[0],
|
|
199
|
-
E(n.value.colors.to),
|
|
200
|
-
w.value || 10
|
|
201
|
-
);
|
|
202
|
-
if (!n.value.colors.to)
|
|
203
|
-
return W(
|
|
204
|
-
E(n.value.colors.from),
|
|
205
|
-
z.value[1] || I[1],
|
|
206
|
-
w.value || 10
|
|
207
|
-
);
|
|
208
|
-
} else
|
|
209
|
-
return W(
|
|
210
|
-
z.value[1] || I[1],
|
|
211
|
-
z.value[0] || I[0],
|
|
212
|
-
w.value || 10
|
|
213
|
-
);
|
|
214
|
-
return W(
|
|
215
|
-
E(n.value.colors.from),
|
|
216
|
-
E(n.value.colors.to),
|
|
217
|
-
w.value || 10
|
|
218
|
-
);
|
|
219
|
-
}), fe = i(() => {
|
|
220
|
-
const o = [];
|
|
221
|
-
let a = 0;
|
|
222
|
-
const t = s.value.thermoHeight;
|
|
223
|
-
for (let l = 0; l < t - 1; l += t / w.value)
|
|
224
|
-
o.push({
|
|
225
|
-
x: s.value.left,
|
|
226
|
-
y: s.value.top + l,
|
|
227
|
-
qYLess: s.value.top + l + t / w.value / 4,
|
|
228
|
-
halfY: s.value.top + l + t / w.value / 2,
|
|
229
|
-
qYMore: s.value.top + l + t / w.value / 4 * 3,
|
|
230
|
-
color: qe.value[a],
|
|
231
|
-
height: Math.max(0.1, t / w.value)
|
|
232
|
-
}), a += 1;
|
|
233
|
-
return o;
|
|
234
|
-
}), $ = d(!1);
|
|
235
|
-
function me(o) {
|
|
236
|
-
$.value = o, oe.value += 1;
|
|
237
|
-
}
|
|
238
|
-
const R = d(!1);
|
|
239
|
-
function J() {
|
|
240
|
-
R.value = !R.value;
|
|
241
|
-
}
|
|
242
|
-
async function De({ scale: o = 2 } = {}) {
|
|
243
|
-
if (!x.value) return;
|
|
244
|
-
const { width: a, height: t } = x.value.getBoundingClientRect(), l = a / t, { imageUri: C, base64: P } = await Mt({
|
|
245
|
-
domElement: x.value,
|
|
246
|
-
base64: !0,
|
|
247
|
-
img: !0,
|
|
248
|
-
scale: o
|
|
249
|
-
});
|
|
250
|
-
return {
|
|
251
|
-
imageUri: C,
|
|
252
|
-
base64: P,
|
|
253
|
-
title: e.value.style.title.text,
|
|
254
|
-
width: a,
|
|
255
|
-
height: t,
|
|
256
|
-
aspectRatio: l
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
const A = i({
|
|
260
|
-
get: () => e.value.style.chart.label.fontSize,
|
|
261
|
-
set: (o) => o
|
|
262
|
-
}), { autoSizeLabels: ye } = St({
|
|
263
|
-
svgRef: U,
|
|
264
|
-
fontSize: e.value.style.chart.label.fontSize,
|
|
265
|
-
minFontSize: e.value.style.chart.label.minFontSize,
|
|
266
|
-
sizeRef: A,
|
|
267
|
-
labelClass: ".vue-ui-thermometer-label"
|
|
268
|
-
}), Ge = i(() => e.value.style.chart.backgroundColor), Be = i(() => e.value.style.title), { exportSvg: je, getSvg: Xe } = $t({
|
|
269
|
-
svg: U,
|
|
270
|
-
title: Be,
|
|
271
|
-
backgroundColor: Ge
|
|
272
|
-
});
|
|
273
|
-
async function ge({ isCb: o }) {
|
|
274
|
-
T.value = !0, await it();
|
|
275
|
-
try {
|
|
276
|
-
if (o) {
|
|
277
|
-
const { blob: a, url: t, text: l, dataUrl: C } = await Xe();
|
|
278
|
-
await Promise.resolve(
|
|
279
|
-
e.value.userOptions.callbacks.svg({
|
|
280
|
-
blob: a,
|
|
281
|
-
url: t,
|
|
282
|
-
text: l,
|
|
283
|
-
dataUrl: C
|
|
284
|
-
})
|
|
285
|
-
);
|
|
286
|
-
} else
|
|
287
|
-
await Promise.resolve(je());
|
|
288
|
-
} finally {
|
|
289
|
-
T.value = !1;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
function Ke(o) {
|
|
293
|
-
if (o?.stage === "start") {
|
|
294
|
-
F.value = !0;
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
if (o?.stage === "end") {
|
|
298
|
-
F.value = !1;
|
|
299
|
-
return;
|
|
300
|
-
}
|
|
301
|
-
he();
|
|
302
|
-
}
|
|
303
|
-
async function pe() {
|
|
304
|
-
if (ze("copyAlt", {
|
|
305
|
-
config: e.value,
|
|
306
|
-
dataset: n.value
|
|
307
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
308
|
-
console.warn(
|
|
309
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
310
|
-
);
|
|
311
|
-
return;
|
|
312
|
-
}
|
|
313
|
-
await Promise.resolve(
|
|
314
|
-
e.value.userOptions.callbacks.altCopy({
|
|
315
|
-
config: e.value,
|
|
316
|
-
dataset: n.value
|
|
317
|
-
})
|
|
318
|
-
);
|
|
319
|
-
}
|
|
320
|
-
const ke = i(() => `${b.value}-title`), be = i(() => `${b.value}-desc`), Q = i(() => mt(
|
|
321
|
-
e.value.style.chart.label.formatter,
|
|
322
|
-
n.value.value,
|
|
323
|
-
yt({
|
|
324
|
-
p: e.value.style.chart.label.prefix,
|
|
325
|
-
v: n.value.value,
|
|
326
|
-
s: e.value.style.chart.label.suffix,
|
|
327
|
-
r: e.value.style.chart.label.rounding
|
|
328
|
-
}),
|
|
329
|
-
{ datapoint: n.value }
|
|
330
|
-
)), Je = i(() => e.value.style.title.text || ""), Qe = i(() => {
|
|
331
|
-
if (M.value) return "...";
|
|
332
|
-
const o = y(n.value.from), a = y(n.value.to);
|
|
333
|
-
return `Thermometer value: ${Q.value}. Range: ${o} to ${a}.`;
|
|
334
|
-
});
|
|
335
|
-
return Ae({
|
|
336
|
-
getImage: De,
|
|
337
|
-
generatePdf: ve,
|
|
338
|
-
generateImage: he,
|
|
339
|
-
generateSvg: ge,
|
|
340
|
-
toggleAnnotator: J,
|
|
341
|
-
toggleFullscreen: me,
|
|
342
|
-
copyAlt: pe
|
|
343
|
-
}), (o, a) => (r(), u("div", {
|
|
344
|
-
ref_key: "thermoChart",
|
|
345
|
-
ref: x,
|
|
346
|
-
class: V(`vue-data-ui-component vue-ui-thermometer ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
347
|
-
style: we(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
348
|
-
id: `thermometer__${b.value}`,
|
|
349
|
-
onMouseenter: a[0] || (a[0] = () => c(ie)(!0)),
|
|
350
|
-
onMouseleave: a[1] || (a[1] = () => c(ie)(!1))
|
|
351
|
-
}, [
|
|
352
|
-
e.value.userOptions.buttons.annotator ? (r(), N(c(Ie), {
|
|
353
|
-
key: 0,
|
|
354
|
-
svgRef: c(U),
|
|
355
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
356
|
-
color: e.value.style.chart.color,
|
|
357
|
-
active: R.value,
|
|
358
|
-
isCursorPointer: re.value,
|
|
359
|
-
onClose: J
|
|
360
|
-
}, {
|
|
361
|
-
"annotator-action-close": f(() => [
|
|
362
|
-
h(o.$slots, "annotator-action-close", {}, void 0, !0)
|
|
363
|
-
]),
|
|
364
|
-
"annotator-action-color": f(({ color: t }) => [
|
|
365
|
-
h(o.$slots, "annotator-action-color", p(k({ color: t })), void 0, !0)
|
|
366
|
-
]),
|
|
367
|
-
"annotator-action-draw": f(({ mode: t }) => [
|
|
368
|
-
h(o.$slots, "annotator-action-draw", p(k({ mode: t })), void 0, !0)
|
|
369
|
-
]),
|
|
370
|
-
"annotator-action-undo": f(({ disabled: t }) => [
|
|
371
|
-
h(o.$slots, "annotator-action-undo", p(k({ disabled: t })), void 0, !0)
|
|
372
|
-
]),
|
|
373
|
-
"annotator-action-redo": f(({ disabled: t }) => [
|
|
374
|
-
h(o.$slots, "annotator-action-redo", p(k({ disabled: t })), void 0, !0)
|
|
375
|
-
]),
|
|
376
|
-
"annotator-action-delete": f(({ disabled: t }) => [
|
|
377
|
-
h(o.$slots, "annotator-action-delete", p(k({ disabled: t })), void 0, !0)
|
|
378
|
-
]),
|
|
379
|
-
_: 3
|
|
380
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : v("", !0),
|
|
381
|
-
Ve.value ? (r(), u("div", Wt, null, 512)) : v("", !0),
|
|
382
|
-
e.value.style.title.text ? (r(), u("div", {
|
|
383
|
-
key: 2,
|
|
384
|
-
ref_key: "chartTitle",
|
|
385
|
-
ref: ae,
|
|
386
|
-
style: "width:100%"
|
|
387
|
-
}, [
|
|
388
|
-
(r(), N(Tt, {
|
|
389
|
-
key: `title_${se.value}`,
|
|
390
|
-
config: {
|
|
391
|
-
title: {
|
|
392
|
-
cy: "thermometer-div-title",
|
|
393
|
-
...e.value.style.title
|
|
394
|
-
},
|
|
395
|
-
subtitle: {
|
|
396
|
-
cy: "thermometer-div-subtitle",
|
|
397
|
-
...e.value.style.title.subtitle
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}, null, 8, ["config"]))
|
|
401
|
-
], 512)) : v("", !0),
|
|
402
|
-
e.value.userOptions.show && We.value && (c(ce) || c(D)) ? (r(), N(c(Se), {
|
|
403
|
-
ref: "details",
|
|
404
|
-
key: `user_options_${oe.value}`,
|
|
405
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
406
|
-
color: e.value.style.chart.color,
|
|
407
|
-
isImaging: c(j),
|
|
408
|
-
isPrinting: c(B),
|
|
409
|
-
uid: b.value,
|
|
410
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
411
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
412
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
413
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
414
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
415
|
-
hasXls: !1,
|
|
416
|
-
isFullscreen: $.value,
|
|
417
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
418
|
-
chartElement: x.value,
|
|
419
|
-
position: e.value.userOptions.position,
|
|
420
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
421
|
-
isAnnotation: R.value,
|
|
422
|
-
callbacks: e.value.userOptions.callbacks,
|
|
423
|
-
printScale: e.value.userOptions.print.scale,
|
|
424
|
-
isCursorPointer: re.value,
|
|
425
|
-
onToggleFullscreen: me,
|
|
426
|
-
onGeneratePdf: c(ve),
|
|
427
|
-
onGenerateImage: Ke,
|
|
428
|
-
onGenerateSvg: ge,
|
|
429
|
-
onToggleAnnotator: J,
|
|
430
|
-
onCopyAlt: pe,
|
|
431
|
-
style: we({
|
|
432
|
-
visibility: c(ce) ? c(D) ? "visible" : "hidden" : "visible"
|
|
433
|
-
})
|
|
434
|
-
}, nt({ _: 2 }, [
|
|
435
|
-
o.$slots.menuIcon ? {
|
|
436
|
-
name: "menuIcon",
|
|
437
|
-
fn: f(({ isOpen: t, color: l }) => [
|
|
438
|
-
h(o.$slots, "menuIcon", p(k({ isOpen: t, color: l })), void 0, !0)
|
|
439
|
-
]),
|
|
440
|
-
key: "0"
|
|
441
|
-
} : void 0,
|
|
442
|
-
o.$slots.optionPdf ? {
|
|
443
|
-
name: "optionPdf",
|
|
444
|
-
fn: f(() => [
|
|
445
|
-
h(o.$slots, "optionPdf", {}, void 0, !0)
|
|
446
|
-
]),
|
|
447
|
-
key: "1"
|
|
448
|
-
} : void 0,
|
|
449
|
-
o.$slots.optionImg ? {
|
|
450
|
-
name: "optionImg",
|
|
451
|
-
fn: f(() => [
|
|
452
|
-
h(o.$slots, "optionImg", {}, void 0, !0)
|
|
453
|
-
]),
|
|
454
|
-
key: "2"
|
|
455
|
-
} : void 0,
|
|
456
|
-
o.$slots.optionSvg ? {
|
|
457
|
-
name: "optionSvg",
|
|
458
|
-
fn: f(() => [
|
|
459
|
-
h(o.$slots, "optionSvg", {}, void 0, !0)
|
|
460
|
-
]),
|
|
461
|
-
key: "3"
|
|
462
|
-
} : void 0,
|
|
463
|
-
o.$slots.optionFullscreen ? {
|
|
464
|
-
name: "optionFullscreen",
|
|
465
|
-
fn: f(({ toggleFullscreen: t, isFullscreen: l }) => [
|
|
466
|
-
h(o.$slots, "optionFullscreen", p(k({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
|
|
467
|
-
]),
|
|
468
|
-
key: "4"
|
|
469
|
-
} : void 0,
|
|
470
|
-
o.$slots.optionAnnotator ? {
|
|
471
|
-
name: "optionAnnotator",
|
|
472
|
-
fn: f(({ toggleAnnotator: t, isAnnotator: l }) => [
|
|
473
|
-
h(o.$slots, "optionAnnotator", p(k({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
|
|
474
|
-
]),
|
|
475
|
-
key: "5"
|
|
476
|
-
} : void 0,
|
|
477
|
-
o.$slots.optionAltCopy ? {
|
|
478
|
-
name: "optionAltCopy",
|
|
479
|
-
fn: f(({ altCopy: t }) => [
|
|
480
|
-
h(o.$slots, "optionAltCopy", p(k({ altCopy: t })), void 0, !0)
|
|
481
|
-
]),
|
|
482
|
-
key: "6"
|
|
483
|
-
} : void 0
|
|
484
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "isCursorPointer", "onGeneratePdf", "style"])) : v("", !0),
|
|
485
|
-
(r(), u("svg", {
|
|
486
|
-
ref_key: "svgRef",
|
|
487
|
-
ref: U,
|
|
488
|
-
xmlns: c(gt),
|
|
489
|
-
class: V({
|
|
490
|
-
"vue-data-ui-fullscreen--on": $.value,
|
|
491
|
-
"vue-data-ui-fulscreen--off": !$.value
|
|
492
|
-
}),
|
|
493
|
-
width: "100%",
|
|
494
|
-
viewBox: `0 0 ${s.value.width} ${s.value.height}`,
|
|
495
|
-
style: "background:transparent",
|
|
496
|
-
"aria-labelledby": ke.value,
|
|
497
|
-
"aria-describedby": be.value
|
|
498
|
-
}, [
|
|
499
|
-
m("title", { id: ke.value }, ee(Je.value), 9, Rt),
|
|
500
|
-
m("desc", { id: be.value }, ee(Qe.value), 9, Vt),
|
|
501
|
-
ut(c(Oe)),
|
|
502
|
-
o.$slots["chart-background"] ? (r(), u("foreignObject", {
|
|
503
|
-
key: 0,
|
|
504
|
-
x: 0,
|
|
505
|
-
y: 0,
|
|
506
|
-
width: s.value.width,
|
|
507
|
-
height: s.value.height,
|
|
508
|
-
style: {
|
|
509
|
-
pointerEvents: "none"
|
|
510
|
-
}
|
|
511
|
-
}, [
|
|
512
|
-
h(o.$slots, "chart-background", {}, void 0, !0)
|
|
513
|
-
], 8, Nt)) : v("", !0),
|
|
514
|
-
m("defs", null, [
|
|
515
|
-
m("clipPath", {
|
|
516
|
-
id: `vueUiPill-${b.value}`,
|
|
517
|
-
clipPathUnits: "userSpaceOnUse"
|
|
518
|
-
}, [
|
|
519
|
-
m("rect", {
|
|
520
|
-
x: s.value.left,
|
|
521
|
-
y: s.value.top,
|
|
522
|
-
width: s.value.thermoWidth,
|
|
523
|
-
height: s.value.thermoHeight,
|
|
524
|
-
rx: s.value.thermoWidth / 2,
|
|
525
|
-
ry: s.value.thermoWidth / 2
|
|
526
|
-
}, null, 8, Et)
|
|
527
|
-
], 8, Yt),
|
|
528
|
-
(r(!0), u(Y, null, xe(fe.value, (t, l) => (r(), u("linearGradient", {
|
|
529
|
-
id: `vueUiThermometerGradient_${l}_${b.value}`,
|
|
530
|
-
x1: "0%",
|
|
531
|
-
y1: "0%",
|
|
532
|
-
x2: "100%",
|
|
533
|
-
y2: "0%"
|
|
534
|
-
}, [
|
|
535
|
-
m("stop", {
|
|
536
|
-
offset: "0%",
|
|
537
|
-
"stop-color": t.color
|
|
538
|
-
}, null, 8, qt),
|
|
539
|
-
m("stop", {
|
|
540
|
-
offset: "50%",
|
|
541
|
-
"stop-color": c(pt)(
|
|
542
|
-
t.color,
|
|
543
|
-
100 - e.value.style.chart.graduations.gradient.intensity
|
|
544
|
-
)
|
|
545
|
-
}, null, 8, Dt),
|
|
546
|
-
m("stop", {
|
|
547
|
-
offset: "100%",
|
|
548
|
-
"stop-color": t.color
|
|
549
|
-
}, null, 8, Gt)
|
|
550
|
-
], 8, Ht))), 256))
|
|
551
|
-
]),
|
|
552
|
-
m("g", {
|
|
553
|
-
"clip-path": `url(#vueUiPill-${b.value})`
|
|
554
|
-
}, [
|
|
555
|
-
m("rect", {
|
|
556
|
-
x: s.value.left,
|
|
557
|
-
y: s.value.top,
|
|
558
|
-
height: s.value.thermoHeight,
|
|
559
|
-
width: s.value.thermoWidth,
|
|
560
|
-
fill: "#FFFFFF"
|
|
561
|
-
}, null, 8, jt),
|
|
562
|
-
(r(!0), u(Y, null, xe(fe.value, (t, l) => (r(), u("g", {
|
|
563
|
-
key: `graduation_${l}`
|
|
564
|
-
}, [
|
|
565
|
-
m("rect", {
|
|
566
|
-
x: t.x,
|
|
567
|
-
y: t.y,
|
|
568
|
-
height: t.height,
|
|
569
|
-
width: s.value.thermoWidth,
|
|
570
|
-
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${l}_${b.value})` : t.color,
|
|
571
|
-
"shape-rendering": "crispEdges"
|
|
572
|
-
}, null, 8, Xt),
|
|
573
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
574
|
-
e.value.style.chart.graduations.sides
|
|
575
|
-
) ? (r(), u("line", {
|
|
576
|
-
key: 0,
|
|
577
|
-
x1: t.x,
|
|
578
|
-
x2: t.x + 10,
|
|
579
|
-
y1: t.y,
|
|
580
|
-
y2: t.y,
|
|
581
|
-
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
582
|
-
stroke: e.value.style.chart.graduations.stroke,
|
|
583
|
-
"stroke-linecap": "round"
|
|
584
|
-
}, null, 8, Kt)) : v("", !0),
|
|
585
|
-
e.value.style.chart.graduations.showIntermediate ? (r(), u(Y, { key: 1 }, [
|
|
586
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
587
|
-
e.value.style.chart.graduations.sides
|
|
588
|
-
) ? (r(), u("line", {
|
|
589
|
-
key: 0,
|
|
590
|
-
x1: t.x,
|
|
591
|
-
x2: t.x + 5,
|
|
592
|
-
y1: t.halfY,
|
|
593
|
-
y2: t.halfY,
|
|
594
|
-
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
595
|
-
stroke: e.value.style.chart.graduations.stroke,
|
|
596
|
-
"stroke-linecap": "round"
|
|
597
|
-
}, null, 8, Jt)) : v("", !0),
|
|
598
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
599
|
-
e.value.style.chart.graduations.sides
|
|
600
|
-
) ? (r(), u("line", {
|
|
601
|
-
key: 1,
|
|
602
|
-
x1: t.x,
|
|
603
|
-
x2: t.x + 2.5,
|
|
604
|
-
y1: t.qYLess,
|
|
605
|
-
y2: t.qYLess,
|
|
606
|
-
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
607
|
-
stroke: e.value.style.chart.graduations.stroke,
|
|
608
|
-
"stroke-linecap": "round"
|
|
609
|
-
}, null, 8, Qt)) : v("", !0),
|
|
610
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
611
|
-
e.value.style.chart.graduations.sides
|
|
612
|
-
) ? (r(), u("line", {
|
|
613
|
-
key: 2,
|
|
614
|
-
x1: t.x,
|
|
615
|
-
x2: t.x + 2.5,
|
|
616
|
-
y1: t.qYMore,
|
|
617
|
-
y2: t.qYMore,
|
|
618
|
-
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
619
|
-
stroke: e.value.style.chart.graduations.stroke,
|
|
620
|
-
"stroke-linecap": "round"
|
|
621
|
-
}, null, 8, Zt)) : v("", !0)
|
|
622
|
-
], 64)) : v("", !0),
|
|
623
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
624
|
-
e.value.style.chart.graduations.sides
|
|
625
|
-
) ? (r(), u("line", {
|
|
626
|
-
key: 2,
|
|
627
|
-
x1: s.value.right,
|
|
628
|
-
x2: s.value.right - 10,
|
|
629
|
-
y1: t.y,
|
|
630
|
-
y2: t.y,
|
|
631
|
-
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
632
|
-
stroke: e.value.style.chart.graduations.stroke,
|
|
633
|
-
"stroke-linecap": "round"
|
|
634
|
-
}, null, 8, eo)) : v("", !0),
|
|
635
|
-
e.value.style.chart.graduations.showIntermediate ? (r(), u(Y, { key: 3 }, [
|
|
636
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
637
|
-
e.value.style.chart.graduations.sides
|
|
638
|
-
) ? (r(), u("line", {
|
|
639
|
-
key: 0,
|
|
640
|
-
x1: s.value.right,
|
|
641
|
-
x2: s.value.right - 5,
|
|
642
|
-
y1: t.halfY,
|
|
643
|
-
y2: t.halfY,
|
|
644
|
-
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
645
|
-
stroke: e.value.style.chart.graduations.stroke,
|
|
646
|
-
"stroke-linecap": "round"
|
|
647
|
-
}, null, 8, to)) : v("", !0),
|
|
648
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
649
|
-
e.value.style.chart.graduations.sides
|
|
650
|
-
) ? (r(), u("line", {
|
|
651
|
-
key: 1,
|
|
652
|
-
x1: s.value.right,
|
|
653
|
-
x2: s.value.right - 2.5,
|
|
654
|
-
y1: t.qYLess,
|
|
655
|
-
y2: t.qYLess,
|
|
656
|
-
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
657
|
-
stroke: e.value.style.chart.graduations.stroke,
|
|
658
|
-
"stroke-linecap": "round"
|
|
659
|
-
}, null, 8, oo)) : v("", !0),
|
|
660
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
661
|
-
e.value.style.chart.graduations.sides
|
|
662
|
-
) ? (r(), u("line", {
|
|
663
|
-
key: 2,
|
|
664
|
-
x1: s.value.right,
|
|
665
|
-
x2: s.value.right - 2.5,
|
|
666
|
-
y1: t.qYMore,
|
|
667
|
-
y2: t.qYMore,
|
|
668
|
-
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
669
|
-
stroke: e.value.style.chart.graduations.stroke,
|
|
670
|
-
"stroke-linecap": "round"
|
|
671
|
-
}, null, 8, so)) : v("", !0)
|
|
672
|
-
], 64)) : v("", !0)
|
|
673
|
-
]))), 128)),
|
|
674
|
-
m("rect", {
|
|
675
|
-
class: V({
|
|
676
|
-
"vue-ui-thermometer-temperature": e.value.style.chart.animation.use
|
|
677
|
-
}),
|
|
678
|
-
x: s.value.left,
|
|
679
|
-
y: s.value.top,
|
|
680
|
-
height: L.value,
|
|
681
|
-
width: s.value.thermoWidth,
|
|
682
|
-
fill: "#FFFFFF66"
|
|
683
|
-
}, null, 10, ao)
|
|
684
|
-
], 8, Bt),
|
|
685
|
-
e.value.style.chart.label.show ? (r(), u("g", {
|
|
686
|
-
key: 1,
|
|
687
|
-
role: "status",
|
|
688
|
-
"aria-live": "polite",
|
|
689
|
-
"aria-label": c(M) ? "Loading data" : Q.value
|
|
690
|
-
}, [
|
|
691
|
-
c(M) ? (r(), u("rect", {
|
|
692
|
-
key: 0,
|
|
693
|
-
x: s.value.left - 60,
|
|
694
|
-
y: L.value + s.value.top - A.value / 2,
|
|
695
|
-
width: 50,
|
|
696
|
-
height: A.value,
|
|
697
|
-
fill: "#6A6A6A40",
|
|
698
|
-
rx: "3"
|
|
699
|
-
}, null, 8, ro)) : (r(), u("text", {
|
|
700
|
-
key: 1,
|
|
701
|
-
"aria-hidden": "true",
|
|
702
|
-
class: V({
|
|
703
|
-
"vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use,
|
|
704
|
-
"vue-ui-thermometer-label": !0
|
|
705
|
-
}),
|
|
706
|
-
y: L.value + s.value.top + A.value / 3,
|
|
707
|
-
x: s.value.left - 10,
|
|
708
|
-
"text-anchor": "end",
|
|
709
|
-
fill: e.value.style.chart.label.color,
|
|
710
|
-
"font-size": A.value,
|
|
711
|
-
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
712
|
-
}, ee(Q.value), 11, no))
|
|
713
|
-
], 8, lo)) : v("", !0),
|
|
714
|
-
h(o.$slots, "svg", {
|
|
715
|
-
svg: {
|
|
716
|
-
...Ne.value,
|
|
717
|
-
isPrintingImg: c(B) | c(j) | F.value,
|
|
718
|
-
isPrintingSvg: T.value
|
|
719
|
-
}
|
|
720
|
-
}, void 0, !0)
|
|
721
|
-
], 10, Lt)),
|
|
722
|
-
o.$slots.watermark ? (r(), u("div", uo, [
|
|
723
|
-
h(o.$slots, "watermark", p(k({
|
|
724
|
-
isPrinting: c(B) || c(j) || F.value || T.value
|
|
725
|
-
})), void 0, !0)
|
|
726
|
-
])) : v("", !0),
|
|
727
|
-
o.$slots.source ? (r(), u("div", {
|
|
728
|
-
key: 5,
|
|
729
|
-
ref_key: "source",
|
|
730
|
-
ref: le,
|
|
731
|
-
dir: "auto"
|
|
732
|
-
}, [
|
|
733
|
-
h(o.$slots, "source", {}, void 0, !0)
|
|
734
|
-
], 512)) : v("", !0),
|
|
735
|
-
h(o.$slots, "skeleton", {}, () => [
|
|
736
|
-
c(M) ? (r(), N(Ct, { key: 0 })) : v("", !0)
|
|
737
|
-
], !0)
|
|
738
|
-
], 46, zt));
|
|
739
|
-
}
|
|
740
|
-
}, Oo = /* @__PURE__ */ Ut(io, [["__scopeId", "data-v-f8485423"]]);
|
|
741
|
-
export {
|
|
742
|
-
Oo as default
|
|
743
|
-
};
|