vue-data-ui 3.19.8 → 3.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{A11yDataTable-q2-8fSlJ.js → A11yDataTable-BCbtxMU6.js} +1 -1
- package/dist/{Arrow-Cj6W6Xbi.js → Arrow-D6j6ocXm.js} +1 -1
- package/dist/{BaseDraggableDialog-DUUu2E2Q.js → BaseDraggableDialog-4hDW-Rj2.js} +4 -4
- package/dist/{BaseIcon-DM1x8hQF.js → BaseIcon-DfLoHNUj.js} +3 -3
- package/dist/{BaseLegendToggle-CJTwLGXL.js → BaseLegendToggle-C_Db-y7s.js} +2 -2
- package/dist/{BaseScanner-C7dmAref.js → BaseScanner-Dr2a1Msy.js} +1 -1
- package/dist/{BaseZoomControls-BkajQ8q9.js → BaseZoomControls-CG7hI_1P.js} +3 -3
- package/dist/{ColorPicker-DTQeqKUV.js → ColorPicker-Bjwxnvfh.js} +4 -4
- package/dist/{DataTable-DmE8Oo4i.js → DataTable-B--IN22e.js} +3 -3
- package/dist/{Legend-Gg5Q4Clb.js → Legend-Cz2uQ5gs.js} +4 -4
- package/dist/{NonSvgPenAndPaper-tvWXeCsd.js → NonSvgPenAndPaper-gLNJ1Lmr.js} +28 -28
- package/dist/{PackageVersion-zJAUEmyB.js → PackageVersion-xcyrdRmY.js} +2 -2
- package/dist/{PenAndPaper-DNgm6y3l.js → PenAndPaper-DqrClVfb.js} +11 -11
- package/dist/{Shape-DEGOZ6GG.js → Shape-BPCJfphn.js} +1 -1
- package/dist/{Slicer-CPWGgGSp.js → Slicer-SHBj0VaV.js} +19 -19
- package/dist/{SlicerPreview-BU3ZeHjR.js → SlicerPreview-DdihbUSJ.js} +474 -361
- package/dist/{SparkTooltip-c2DL7gqD.js → SparkTooltip-CfE6yCad.js} +7 -7
- package/dist/{Title-__gWq2g6.js → Title-NWp4qB4K.js} +2 -2
- package/dist/{Tooltip-CuWEYGr3.js → Tooltip-BENq327o.js} +1 -1
- package/dist/{UserOptions-D7zR0tnR.js → UserOptions-C1NgoGu6.js} +5 -5
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-pattern-seed.js +1 -1
- package/dist/components/vue-ui-pattern.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-9WSt6hXe.js → dom-to-png-BYtB4BF3.js} +1 -1
- package/dist/exposedLib-CI8ji8G-.js +19 -0
- package/dist/{geoProjections-CQIkC70z.js → geoProjections-Czak6Jn1.js} +3 -4
- package/dist/{img-BjOr008R.js → img-1cKsci8e.js} +2 -2
- package/dist/{labelUtils-Cr97N8E1.js → labelUtils-CUctkYoA.js} +1 -1
- package/dist/{lib-BkiwukKO.js → lib-DUeYQsS0.js} +4 -1
- package/dist/{pdf-DSXSFUnK.js → pdf-D0eZ99cP.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1557 -193
- package/dist/types/vue-ui-3d-bar.d.ts +16 -1
- package/dist/types/vue-ui-age-pyramid.d.ts +14 -1
- package/dist/types/vue-ui-annotator.d.ts +28 -6
- package/dist/types/vue-ui-bullet.d.ts +14 -1
- package/dist/types/vue-ui-bump.d.ts +16 -1
- package/dist/types/vue-ui-candlestick.d.ts +16 -3
- package/dist/types/vue-ui-carousel-table.d.ts +14 -1
- package/dist/types/vue-ui-chestnut.d.ts +20 -1
- package/dist/types/vue-ui-chord.d.ts +20 -1
- package/dist/types/vue-ui-circle-pack.d.ts +16 -1
- package/dist/types/vue-ui-dag.d.ts +22 -1
- package/dist/types/vue-ui-dashboard.d.ts +16 -1
- package/dist/types/vue-ui-donut-evolution.d.ts +16 -1
- package/dist/types/vue-ui-donut.d.ts +18 -1
- package/dist/types/vue-ui-dumbbell.d.ts +16 -1
- package/dist/types/vue-ui-flow.d.ts +14 -1
- package/dist/types/vue-ui-funnel.d.ts +14 -1
- package/dist/types/vue-ui-galaxy.d.ts +18 -1
- package/dist/types/vue-ui-gauge.d.ts +14 -1
- package/dist/types/vue-ui-geo.d.ts +14 -1
- package/dist/types/vue-ui-heatmap.d.ts +16 -1
- package/dist/types/vue-ui-history-plot.d.ts +18 -1
- package/dist/types/vue-ui-horizontal-bar.d.ts +18 -1
- package/dist/types/vue-ui-molecule.d.ts +16 -1
- package/dist/types/vue-ui-mood-radar.d.ts +14 -1
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -1
- package/dist/types/vue-ui-onion.d.ts +16 -1
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +18 -1
- package/dist/types/vue-ui-quadrant.d.ts +24 -1
- package/dist/types/vue-ui-quick-chart.d.ts +20 -1
- package/dist/types/vue-ui-radar.d.ts +16 -1
- package/dist/types/vue-ui-rating.d.ts +12 -1
- package/dist/types/vue-ui-relation-circle.d.ts +14 -1
- package/dist/types/vue-ui-ridgeline.d.ts +22 -1
- package/dist/types/vue-ui-rings.d.ts +16 -1
- package/dist/types/vue-ui-scatter.d.ts +16 -1
- package/dist/types/vue-ui-smiley.d.ts +22 -6
- package/dist/types/vue-ui-sparkbar.d.ts +14 -1
- package/dist/types/vue-ui-sparkhistogram.d.ts +14 -1
- package/dist/types/vue-ui-sparkline.d.ts +16 -1
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -1
- package/dist/types/vue-ui-stackbar.d.ts +22 -1
- package/dist/types/vue-ui-stackline.d.ts +22 -1
- package/dist/types/vue-ui-strip-plot.d.ts +16 -1
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -1
- package/dist/types/vue-ui-table.d.ts +17 -4
- package/dist/types/vue-ui-thermometer.d.ts +14 -1
- package/dist/types/vue-ui-timer.d.ts +14 -1
- package/dist/types/vue-ui-tiremarks.d.ts +14 -1
- package/dist/types/vue-ui-treemap.d.ts +18 -1
- package/dist/types/vue-ui-waffle.d.ts +16 -1
- package/dist/types/vue-ui-wheel.d.ts +14 -1
- package/dist/types/vue-ui-word-cloud.d.ts +14 -1
- package/dist/types/vue-ui-world.d.ts +18 -1
- package/dist/types/vue-ui-xy-canvas.d.ts +18 -1
- package/dist/types/vue-ui-xy.d.ts +22 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-dp-3Gg97.js → useAutoSizeLabelsInsideViewbox-BIVntRZp.js} +1 -1
- package/dist/{useConfig-ByaaSKhz.js → useConfig-DAyQk86L.js} +9 -1
- package/dist/{useNestedProp-Ck4hsrpu.js → useNestedProp-CNcoy38D.js} +2 -2
- package/dist/{useObjectBindings-BR1sGimd.js → useObjectBindings-BI7hP-BC.js} +53 -53
- package/dist/{usePrinter-X0yWOynH.js → usePrinter-C1Gqt_Sp.js} +2 -2
- package/dist/utils.js +4 -4
- package/dist/{vue-data-ui-Dv8MNDbS.js → vue-data-ui-qpQv-4uP.js} +69 -69
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-DVsF4qGd.js → vue-ui-3d-bar-C8cputoI.js} +312 -312
- package/dist/{vue-ui-accordion-BX9WL-QF.js → vue-ui-accordion-Dw4MHKVB.js} +6 -6
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +1238 -0
- package/dist/{vue-ui-annotator-Be3VpH8Z.js → vue-ui-annotator-DLPUAKlm.js} +66 -66
- package/dist/vue-ui-bullet-DLxmtMJ9.js +710 -0
- package/dist/{vue-ui-bump-C1w-a4ad.js → vue-ui-bump-DVaqtZbd.js} +260 -260
- package/dist/{vue-ui-candlestick-zO0Jmsen.js → vue-ui-candlestick-CkApimw1.js} +81 -81
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +455 -0
- package/dist/vue-ui-chestnut-CQT4nCFL.js +2010 -0
- package/dist/vue-ui-chord-8IjSrg6f.js +1391 -0
- package/dist/{vue-ui-circle-pack-Dp5_ugXW.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
- package/dist/{vue-ui-cursor-DBViygOD.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
- package/dist/{vue-ui-dag-BA2vr2Ub.js → vue-ui-dag-DH4ocx0S.js} +46 -46
- package/dist/{vue-ui-dashboard-D11FCHnp.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
- package/dist/{vue-ui-digits-CIXbRR97.js → vue-ui-digits-DwLlJqbW.js} +6 -6
- package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
- package/dist/vue-ui-donut-evolution-MfM5kK6w.js +1510 -0
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
- package/dist/{vue-ui-flow-Dly7N0Nb.js → vue-ui-flow-CJh6f72m.js} +107 -107
- package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
- package/dist/vue-ui-galaxy-pBR_FESJ.js +1077 -0
- package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
- package/dist/{vue-ui-geo-CV0FBeuB.js → vue-ui-geo-BDQqaukJ.js} +35 -35
- package/dist/{vue-ui-gizmo-5rdIvscj.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
- package/dist/{vue-ui-heatmap-kiQ6q3q4.js → vue-ui-heatmap-BiC9xp8L.js} +259 -259
- package/dist/vue-ui-history-plot-iAPjlOja.js +1554 -0
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +1681 -0
- package/dist/{vue-ui-kpi-Bz7QeCTV.js → vue-ui-kpi-CJ5oyYLS.js} +6 -6
- package/dist/{vue-ui-mini-loader-DDJUya9e.js → vue-ui-mini-loader-CyqBt2g4.js} +5 -5
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +925 -0
- package/dist/{vue-ui-mood-radar-D0lanJ__.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
- package/dist/{vue-ui-onion-u9hGe4VA.js → vue-ui-onion-C56gFjO6.js} +296 -296
- package/dist/{vue-ui-parallel-coordinate-plot-BJ5OjYTH.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +203 -212
- package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
- package/dist/{vue-ui-quadrant-BVFJ5Vur.js → vue-ui-quadrant-DYc9xZY3.js} +444 -444
- package/dist/vue-ui-quick-chart-BG7kK_-q.js +2469 -0
- package/dist/{vue-ui-radar-BsRGxgXN.js → vue-ui-radar-CgKog9Xw.js} +186 -183
- package/dist/{vue-ui-rating-D_QR_A3V.js → vue-ui-rating-BG4lf1z8.js} +41 -41
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +924 -0
- package/dist/{vue-ui-ridgeline-BtNEP6ba.js → vue-ui-ridgeline-DPrlVJTW.js} +377 -377
- package/dist/{vue-ui-rings-Pj7yMeOV.js → vue-ui-rings-CIvvHHsF.js} +199 -196
- package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
- package/dist/{vue-ui-skeleton-Cqv1KG4y.js → vue-ui-skeleton-BKoa_G6d.js} +44 -44
- package/dist/{vue-ui-smiley-rFdGxZK6.js → vue-ui-smiley-G89TxRU-.js} +14 -14
- package/dist/{vue-ui-spark-trend-eHleRq-z.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
- package/dist/{vue-ui-sparkbar-BHJTG_on.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
- package/dist/{vue-ui-sparkgauge-DpAEwvLX.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
- package/dist/{vue-ui-sparkhistogram-BlMH_NJk.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
- package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-BI8zG-DG.js → vue-ui-sparkstackbar-DG7hz_KM.js} +137 -137
- package/dist/{vue-ui-stackbar-28FVVqVu.js → vue-ui-stackbar-Dnq4l5xs.js} +344 -341
- package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
- package/dist/{vue-ui-strip-plot-DX36qFKk.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
- package/dist/{vue-ui-table-DdZ_DkqT.js → vue-ui-table-NBQrkVnO.js} +84 -84
- package/dist/{vue-ui-table-heatmap-BFKyJTr1.js → vue-ui-table-heatmap-CCGjbSzQ.js} +22 -22
- package/dist/{vue-ui-table-sparkline-BSV1jn7r.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
- package/dist/{vue-ui-timer-BkdpZ-lw.js → vue-ui-timer-CcLK1wbi.js} +29 -29
- package/dist/{vue-ui-tiremarks-GC773Hw1.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
- package/dist/{vue-ui-treemap-C0dtbfbZ.js → vue-ui-treemap-O3SBpD3K.js} +241 -241
- package/dist/{vue-ui-waffle-BvzfNmJC.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
- package/dist/{vue-ui-wheel-Dm9V8TAH.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
- package/dist/{vue-ui-word-cloud-Ne_B9Elc.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
- package/dist/{vue-ui-world-Bp38MZij.js → vue-ui-world-DCPgXKxh.js} +447 -447
- package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-BUPnRZ3C.js} +91 -90
- package/dist/vue-ui-xy-lfMIx0wK.js +4578 -0
- package/dist/{vue_ui_3d_bar-CXKqO5Ej.js → vue_ui_3d_bar-C4R7o-yX.js} +1 -1
- package/dist/{vue_ui_age_pyramid-BON8QI6X.js → vue_ui_age_pyramid-BY6c-oX_.js} +1 -1
- package/dist/{vue_ui_bullet-CE5sFT7u.js → vue_ui_bullet-ClzdLoOv.js} +1 -1
- package/dist/{vue_ui_bump-frnXaXul.js → vue_ui_bump-Vl-zYAtG.js} +1 -1
- package/dist/{vue_ui_candlestick-sY6UtOop.js → vue_ui_candlestick-J8jmJvxP.js} +1 -1
- package/dist/{vue_ui_chestnut-BiUZFv40.js → vue_ui_chestnut-D2oUhad6.js} +1 -1
- package/dist/{vue_ui_chord-DpyR_b9A.js → vue_ui_chord-DPfS1Umc.js} +1 -1
- package/dist/{vue_ui_circle_pack-FjH0ZQeb.js → vue_ui_circle_pack-DZC_rdfn.js} +1 -1
- package/dist/{vue_ui_dag-Ci_MOnvd.js → vue_ui_dag-TsJ_azQq.js} +1 -1
- package/dist/{vue_ui_donut-Cx2_BGcQ.js → vue_ui_donut-BDGqG07h.js} +1 -1
- package/dist/{vue_ui_donut_evolution-CAJefrHs.js → vue_ui_donut_evolution-D1yAAIHr.js} +1 -1
- package/dist/{vue_ui_dumbbell-CClzAZTN.js → vue_ui_dumbbell-Bfe_jFyi.js} +1 -1
- package/dist/{vue_ui_flow-CCHO1Lo9.js → vue_ui_flow-BewZjjKG.js} +1 -1
- package/dist/{vue_ui_funnel-h8q2mRpC.js → vue_ui_funnel-_Og4EEkO.js} +1 -1
- package/dist/{vue_ui_galaxy-70vtkEBw.js → vue_ui_galaxy-Ig0cc1_h.js} +1 -1
- package/dist/{vue_ui_gauge-C17CgfzN.js → vue_ui_gauge-Cf1RZc9q.js} +1 -1
- package/dist/{vue_ui_geo-C0UbQ0Lc.js → vue_ui_geo-B8TODs-G.js} +1 -1
- package/dist/{vue_ui_heatmap-BqPP3J4M.js → vue_ui_heatmap-B2BBBSWG.js} +1 -1
- package/dist/{vue_ui_history_plot-C5nytDHh.js → vue_ui_history_plot-CuN63VEc.js} +1 -1
- package/dist/{vue_ui_horizontal_bar-Bqxorkc_.js → vue_ui_horizontal_bar-C4J4QzXf.js} +1 -1
- package/dist/{vue_ui_molecule-Dka4JBOp.js → vue_ui_molecule-CO9L59SF.js} +1 -1
- package/dist/{vue_ui_mood_radar-Dg4ijm53.js → vue_ui_mood_radar-BA6LAKhk.js} +1 -1
- package/dist/{vue_ui_nested_donuts-BY9cOoHF.js → vue_ui_nested_donuts-B8csIoVO.js} +1 -1
- package/dist/{vue_ui_onion-DTV9cup-.js → vue_ui_onion-1FTFFS46.js} +1 -1
- package/dist/{vue_ui_parallel_coordinate_plot-CNWrDh96.js → vue_ui_parallel_coordinate_plot-CBiOBira.js} +1 -1
- package/dist/{vue_ui_quadrant-3kjYvxpj.js → vue_ui_quadrant-CDSTKTJz.js} +1 -1
- package/dist/{vue_ui_quick_chart--VaYQuM4.js → vue_ui_quick_chart-mZBdml3Z.js} +1 -1
- package/dist/{vue_ui_radar-Dxx9GJmj.js → vue_ui_radar-jafTED5j.js} +1 -1
- package/dist/{vue_ui_relation_circle-Cr0I2SoU.js → vue_ui_relation_circle-D0p4mXmv.js} +1 -1
- package/dist/{vue_ui_ridgeline-CAtYca4b.js → vue_ui_ridgeline-VM8_mx4J.js} +1 -1
- package/dist/{vue_ui_rings-DXC1VeX5.js → vue_ui_rings-BVgD2aMn.js} +1 -1
- package/dist/{vue_ui_scatter-D2S2j0ap.js → vue_ui_scatter-I0POnicu.js} +1 -1
- package/dist/{vue_ui_spark_trend-BHMQ6_1p.js → vue_ui_spark_trend-DxVmpkmC.js} +1 -1
- package/dist/{vue_ui_sparkbar-BR6hbuDE.js → vue_ui_sparkbar-z6qO--Kf.js} +1 -1
- package/dist/{vue_ui_sparkgauge-xfPRHnMv.js → vue_ui_sparkgauge-BX1MS3bA.js} +1 -1
- package/dist/{vue_ui_sparkhistogram-CJRENZ1C.js → vue_ui_sparkhistogram-BRgvKUH6.js} +1 -1
- package/dist/{vue_ui_sparkline-wgk7yO7E.js → vue_ui_sparkline-auZhap6Y.js} +1 -1
- package/dist/{vue_ui_sparkstackbar-C5qZMmAl.js → vue_ui_sparkstackbar-BOjuQnZd.js} +1 -1
- package/dist/{vue_ui_stackbar-BW_C3MXw.js → vue_ui_stackbar-COOrQQdK.js} +1 -1
- package/dist/{vue_ui_stackline-DXxzibUd.js → vue_ui_stackline-DQqKPA9z.js} +1 -1
- package/dist/{vue_ui_strip_plot-8ZelqC5b.js → vue_ui_strip_plot-CtJe8_gq.js} +1 -1
- package/dist/{vue_ui_table_heatmap-BGUjA0WA.js → vue_ui_table_heatmap-w8vx5k6f.js} +1 -1
- package/dist/{vue_ui_table_sparkline-i0Q-N_we.js → vue_ui_table_sparkline-DAbkUrNz.js} +1 -1
- package/dist/{vue_ui_thermometer-CuN7Gpez.js → vue_ui_thermometer-DxgqWKlE.js} +1 -1
- package/dist/{vue_ui_tiremarks-A6UHC0c3.js → vue_ui_tiremarks-CdEPieWV.js} +1 -1
- package/dist/{vue_ui_treemap-BQp06q-g.js → vue_ui_treemap-DoEtkRN6.js} +1 -1
- package/dist/{vue_ui_waffle-C_Ev4l7B.js → vue_ui_waffle-DIARFc7g.js} +1 -1
- package/dist/{vue_ui_wheel-DdkTPXJU.js → vue_ui_wheel-DZ_nR--t.js} +1 -1
- package/dist/{vue_ui_word_cloud-B1PbsYPc.js → vue_ui_word_cloud-C-qIMNLu.js} +1 -1
- package/dist/{vue_ui_xy-BYPqfYyx.js → vue_ui_xy-BLUkWEAm.js} +1 -1
- package/dist/{vue_ui_xy_canvas-CMHGNrLf.js → vue_ui_xy_canvas-Cb6dg3eK.js} +1 -1
- package/package.json +6 -6
- package/dist/exposedLib-CwWU4zv-.js +0 -19
- package/dist/vue-ui-age-pyramid-Bu3bocZx.js +0 -1238
- package/dist/vue-ui-bullet-COSSZ7RU.js +0 -710
- package/dist/vue-ui-carousel-table-Q2uTIELA.js +0 -455
- package/dist/vue-ui-chestnut-DdNKhXkN.js +0 -2010
- package/dist/vue-ui-chord-CYzGIRtA.js +0 -1391
- package/dist/vue-ui-donut-BSanYbqb.js +0 -2408
- package/dist/vue-ui-donut-evolution-BVttNIzH.js +0 -1510
- package/dist/vue-ui-dumbbell-D-KcBLOF.js +0 -1527
- package/dist/vue-ui-funnel-COwXzAbB.js +0 -777
- package/dist/vue-ui-galaxy-Cg9VStNF.js +0 -1074
- package/dist/vue-ui-gauge-DHWCS6jR.js +0 -920
- package/dist/vue-ui-history-plot-CgPjudHv.js +0 -1563
- package/dist/vue-ui-horizontal-bar-CpQCmBQD.js +0 -1681
- package/dist/vue-ui-molecule-CvfwMxYY.js +0 -925
- package/dist/vue-ui-nested-donuts-C-LWBXmg.js +0 -1484
- package/dist/vue-ui-quick-chart-Cd5lGyph.js +0 -2471
- package/dist/vue-ui-relation-circle-MxYh6hSt.js +0 -924
- package/dist/vue-ui-scatter-DrS1nrwL.js +0 -2413
- package/dist/vue-ui-sparkline-BAWc3ROJ.js +0 -1507
- package/dist/vue-ui-stackline-DwtlEdOE.js +0 -2395
- package/dist/vue-ui-thermometer-Io8LdW1o.js +0 -763
- package/dist/vue-ui-xy-BCeOqJYR.js +0 -4216
- /package/dist/{RecursiveCircles-DPpLel6f.js → RecursiveCircles-D6aDPmoe.js} +0 -0
- /package/dist/{RecursiveLabels-DBMJf_to.js → RecursiveLabels-D9rfID6q.js} +0 -0
- /package/dist/{RecursiveLinks-D06dBL4a.js → RecursiveLinks-BygcpDiT.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{canvas-lib-DTaADQOK.js → canvas-lib-BOP_HS11.js} +0 -0
- /package/dist/{patternUtils-B7BWu5bV.js → patternUtils-CS7hn6at.js} +0 -0
- /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
- /package/dist/{useChartAccessibility-Do37qcw2.js → useChartAccessibility-DYqac8yF.js} +0 -0
- /package/dist/{useFitSvgText-C-MEdAfe.js → useFitSvgText-CT3nmlaS.js} +0 -0
- /package/dist/{usePanZoom-B-4M_gmY.js → usePanZoom-CYU3B4T3.js} +0 -0
- /package/dist/{usePrefersMotion-BywLbIko.js → usePrefersMotion-BC-CsqR1.js} +0 -0
- /package/dist/{useResponsive-CrAInupd.js → useResponsive-BfnK0KxU.js} +0 -0
- /package/dist/{useStableElementSize-0I1IpHPl.js → useStableElementSize-C7KADDKj.js} +0 -0
- /package/dist/{useSvgExport-Dtu973wa.js → useSvgExport-SVIsDot8.js} +0 -0
- /package/dist/{useTableResponsive-DrM1xqII.js → useTableResponsive-B24Uwt2E.js} +0 -0
- /package/dist/{useThemeCheck-rFK9Zlb_.js → useThemeCheck-C43Tcqmk.js} +0 -0
- /package/dist/{useTimeLabelCollider-Dm55Emzg.js → useTimeLabelCollider-AEcY4Ioe.js} +0 -0
- /package/dist/{useTimeLabels-C0x7zUXP.js → useTimeLabels-BmBRv27Y.js} +0 -0
- /package/dist/{useUserOptionState-CjPJPTg2.js → useUserOptionState-DK-_1ddE.js} +0 -0
- /package/dist/{vClickOutside-CbX_bC9A.js → vClickOutside-DUrZWttG.js} +0 -0
- /package/dist/{vue-ui-pattern-Bj-IPFr2.js → vue-ui-pattern-DKozfnVn.js} +0 -0
- /package/dist/{vue_ui_vertical_bar-CJSD1FZS.js → vue_ui_vertical_bar-CP-MKz1j.js} +0 -0
|
@@ -1,763 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { G as t, H as n, Lt as r, St as i, Tt as a, X as o, i as ee, jt as te, ot as ne, t as re, v as s, x as ie, y as c, zt as ae } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as oe } from "./useConfig-ByaaSKhz.js";
|
|
4
|
-
import { t as se } from "./usePrinter-X0yWOynH.js";
|
|
5
|
-
import { n as ce, t as le } from "./BaseScanner-C7dmAref.js";
|
|
6
|
-
import { t as ue } from "./useSvgExport-Dtu973wa.js";
|
|
7
|
-
import { t as l } from "./useNestedProp-Ck4hsrpu.js";
|
|
8
|
-
import { t as de } from "./useThemeCheck-rFK9Zlb_.js";
|
|
9
|
-
import { t as fe } from "./img-BjOr008R.js";
|
|
10
|
-
import { n as pe } from "./Title-__gWq2g6.js";
|
|
11
|
-
import { t as me } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
12
|
-
import { c as he } from "./canvas-lib-DTaADQOK.js";
|
|
13
|
-
import { t as ge } from "./useResponsive-CrAInupd.js";
|
|
14
|
-
import { t as _e } from "./useUserOptionState-CjPJPTg2.js";
|
|
15
|
-
import { t as ve } from "./useChartAccessibility-Do37qcw2.js";
|
|
16
|
-
import { t as ye } from "./useAutoSizeLabelsInsideViewbox-dp-3Gg97.js";
|
|
17
|
-
import { t as be } from "./usePrefersMotion-BywLbIko.js";
|
|
18
|
-
import { t as xe } from "./vue_ui_thermometer-CuN7Gpez.js";
|
|
19
|
-
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Se, createVNode as Ce, defineAsyncComponent as g, guardReactiveProps as _, nextTick as we, normalizeClass as v, normalizeProps as y, normalizeStyle as Te, onMounted as Ee, openBlock as b, ref as x, renderList as De, renderSlot as S, toDisplayString as C, toRefs as Oe, unref as w, useCssVars as ke, watch as Ae, withCtx as T } from "vue";
|
|
20
|
-
//#region src/components/vue-ui-thermometer.vue
|
|
21
|
-
var je = /* @__PURE__ */ e({ default: () => E }), Me = ["id"], Ne = {
|
|
22
|
-
key: 1,
|
|
23
|
-
ref: "noTitle",
|
|
24
|
-
class: "vue-data-ui-no-title-space",
|
|
25
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
26
|
-
}, Pe = [
|
|
27
|
-
"xmlns",
|
|
28
|
-
"viewBox",
|
|
29
|
-
"aria-labelledby",
|
|
30
|
-
"aria-describedby"
|
|
31
|
-
], Fe = ["id"], Ie = ["id"], Le = ["width", "height"], Re = ["id"], ze = [
|
|
32
|
-
"x",
|
|
33
|
-
"y",
|
|
34
|
-
"width",
|
|
35
|
-
"height",
|
|
36
|
-
"rx",
|
|
37
|
-
"ry"
|
|
38
|
-
], Be = ["id"], Ve = ["stop-color"], He = ["stop-color"], Ue = ["stop-color"], We = ["clip-path"], Ge = [
|
|
39
|
-
"x",
|
|
40
|
-
"y",
|
|
41
|
-
"height",
|
|
42
|
-
"width"
|
|
43
|
-
], Ke = [
|
|
44
|
-
"x",
|
|
45
|
-
"y",
|
|
46
|
-
"height",
|
|
47
|
-
"width",
|
|
48
|
-
"fill"
|
|
49
|
-
], qe = [
|
|
50
|
-
"x1",
|
|
51
|
-
"x2",
|
|
52
|
-
"y1",
|
|
53
|
-
"y2",
|
|
54
|
-
"stroke-width",
|
|
55
|
-
"stroke"
|
|
56
|
-
], Je = [
|
|
57
|
-
"x1",
|
|
58
|
-
"x2",
|
|
59
|
-
"y1",
|
|
60
|
-
"y2",
|
|
61
|
-
"stroke-width",
|
|
62
|
-
"stroke"
|
|
63
|
-
], Ye = [
|
|
64
|
-
"x1",
|
|
65
|
-
"x2",
|
|
66
|
-
"y1",
|
|
67
|
-
"y2",
|
|
68
|
-
"stroke-width",
|
|
69
|
-
"stroke"
|
|
70
|
-
], Xe = [
|
|
71
|
-
"x1",
|
|
72
|
-
"x2",
|
|
73
|
-
"y1",
|
|
74
|
-
"y2",
|
|
75
|
-
"stroke-width",
|
|
76
|
-
"stroke"
|
|
77
|
-
], Ze = [
|
|
78
|
-
"x1",
|
|
79
|
-
"x2",
|
|
80
|
-
"y1",
|
|
81
|
-
"y2",
|
|
82
|
-
"stroke-width",
|
|
83
|
-
"stroke"
|
|
84
|
-
], Qe = [
|
|
85
|
-
"x1",
|
|
86
|
-
"x2",
|
|
87
|
-
"y1",
|
|
88
|
-
"y2",
|
|
89
|
-
"stroke-width",
|
|
90
|
-
"stroke"
|
|
91
|
-
], $e = [
|
|
92
|
-
"x1",
|
|
93
|
-
"x2",
|
|
94
|
-
"y1",
|
|
95
|
-
"y2",
|
|
96
|
-
"stroke-width",
|
|
97
|
-
"stroke"
|
|
98
|
-
], et = [
|
|
99
|
-
"x1",
|
|
100
|
-
"x2",
|
|
101
|
-
"y1",
|
|
102
|
-
"y2",
|
|
103
|
-
"stroke-width",
|
|
104
|
-
"stroke"
|
|
105
|
-
], tt = [
|
|
106
|
-
"x",
|
|
107
|
-
"y",
|
|
108
|
-
"height",
|
|
109
|
-
"width"
|
|
110
|
-
], nt = ["aria-label"], rt = [
|
|
111
|
-
"x",
|
|
112
|
-
"y",
|
|
113
|
-
"height"
|
|
114
|
-
], it = [
|
|
115
|
-
"y",
|
|
116
|
-
"x",
|
|
117
|
-
"fill",
|
|
118
|
-
"font-size",
|
|
119
|
-
"font-weight"
|
|
120
|
-
], at = {
|
|
121
|
-
key: 4,
|
|
122
|
-
class: "vue-data-ui-watermark"
|
|
123
|
-
}, E = /* @__PURE__ */ me({
|
|
124
|
-
__name: "vue-ui-thermometer",
|
|
125
|
-
props: {
|
|
126
|
-
dataset: {
|
|
127
|
-
type: Object,
|
|
128
|
-
default() {
|
|
129
|
-
return {};
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
config: {
|
|
133
|
-
type: Object,
|
|
134
|
-
default() {
|
|
135
|
-
return {};
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
emits: ["copyAlt"],
|
|
140
|
-
setup(e, { expose: me, emit: je }) {
|
|
141
|
-
ke((e) => ({
|
|
142
|
-
v0233847b: Nt.value,
|
|
143
|
-
v30de9373: Mt.value,
|
|
144
|
-
v105f2dc0: jt.value
|
|
145
|
-
}));
|
|
146
|
-
let E = g(() => import("./PackageVersion-zJAUEmyB.js").then((e) => e.t)), ot = g(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), st = g(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), { vue_ui_thermometer: ct } = oe(), { isThemeValid: lt, warnInvalidTheme: ut } = de(), dt = be(), D = e, ft = je, O = x(n()), k = x(null), pt = x(0), mt = x(0), ht = x(null), gt = x(null), A = x(null), j = x(null), M = x(!1), N = x(!1), _t = d(() => !!D.dataset && Object.keys(D.dataset).length);
|
|
147
|
-
Ee(() => {
|
|
148
|
-
St();
|
|
149
|
-
});
|
|
150
|
-
let P = x(V()), vt = x(P.value.style.chart.thermometer.width), F = x(P.value.style.chart.height), I = x(P.value.style.chart.width), yt = d(() => P.value.userOptions.useCursorPointer), bt = d(() => ae({
|
|
151
|
-
defaultConfig: {
|
|
152
|
-
userOptions: { show: !1 },
|
|
153
|
-
style: { chart: {
|
|
154
|
-
animation: { use: !1 },
|
|
155
|
-
backgroundColor: "#99999930",
|
|
156
|
-
graduations: { stroke: "#6A6A6A" }
|
|
157
|
-
} }
|
|
158
|
-
},
|
|
159
|
-
userConfig: P.value.skeletonConfig ?? {}
|
|
160
|
-
})), { loading: L, FINAL_DATASET: R } = ce({
|
|
161
|
-
...Oe(D),
|
|
162
|
-
FINAL_CONFIG: P,
|
|
163
|
-
prepareConfig: V,
|
|
164
|
-
skeletonDataset: D.config?.skeletonDataset ?? {
|
|
165
|
-
value: 0,
|
|
166
|
-
from: -100,
|
|
167
|
-
to: 100,
|
|
168
|
-
steps: 20,
|
|
169
|
-
colors: {
|
|
170
|
-
from: "#A1A1A1",
|
|
171
|
-
to: "#CACACA"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
skeletonConfig: ae({
|
|
175
|
-
defaultConfig: P.value,
|
|
176
|
-
userConfig: bt.value
|
|
177
|
-
})
|
|
178
|
-
}), xt = d(() => !!P.value.debug);
|
|
179
|
-
function St() {
|
|
180
|
-
if (i(D.dataset) ? o({
|
|
181
|
-
componentName: "VueUiThermometer",
|
|
182
|
-
type: "dataset",
|
|
183
|
-
debug: xt.value
|
|
184
|
-
}) : ne({
|
|
185
|
-
datasetObject: D.dataset,
|
|
186
|
-
requiredAttributes: [
|
|
187
|
-
"value",
|
|
188
|
-
"from",
|
|
189
|
-
"to"
|
|
190
|
-
]
|
|
191
|
-
}).forEach((e) => {
|
|
192
|
-
o({
|
|
193
|
-
componentName: "VueUiThermometer",
|
|
194
|
-
type: "datasetAttribute",
|
|
195
|
-
property: e,
|
|
196
|
-
debug: xt.value
|
|
197
|
-
});
|
|
198
|
-
}), P.value.responsive) {
|
|
199
|
-
let e = he(() => {
|
|
200
|
-
let { width: e, height: t } = ge({
|
|
201
|
-
chart: k.value,
|
|
202
|
-
title: P.value.style.title.text ? ht.value : null,
|
|
203
|
-
source: gt.value
|
|
204
|
-
});
|
|
205
|
-
requestAnimationFrame(() => {
|
|
206
|
-
F.value = Math.max(.1, t - 12), I.value = e, zt();
|
|
207
|
-
});
|
|
208
|
-
});
|
|
209
|
-
A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = k.value, A.value.observe(j.value);
|
|
210
|
-
}
|
|
211
|
-
zt();
|
|
212
|
-
}
|
|
213
|
-
let { userOptionsVisible: z, setUserOptionsVisibility: Ct, keepUserOptionState: wt } = _e({ config: P.value }), { svgRef: B } = ve({ config: P.value.style.title });
|
|
214
|
-
function V() {
|
|
215
|
-
let e = l({
|
|
216
|
-
userConfig: D.config,
|
|
217
|
-
defaultConfig: ct
|
|
218
|
-
}), t = e.theme;
|
|
219
|
-
if (!t) return e;
|
|
220
|
-
if (!lt.value(e)) return ut(e), e;
|
|
221
|
-
let n = l({
|
|
222
|
-
userConfig: xe[t] || D.config,
|
|
223
|
-
defaultConfig: e
|
|
224
|
-
}), i = l({
|
|
225
|
-
userConfig: D.config,
|
|
226
|
-
defaultConfig: n
|
|
227
|
-
});
|
|
228
|
-
return {
|
|
229
|
-
...i,
|
|
230
|
-
customPalette: i.customPalette.length ? i.customPalette : r[t] || a
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
Ae(() => D.config, (e) => {
|
|
234
|
-
P.value = V(), z.value = !P.value.userOptions.showOnChartHover, vt.value = P.value.style.chart.thermometer.width, F.value = P.value.style.chart.height, I.value = P.value.style.chart.width, St(), mt.value += 1;
|
|
235
|
-
}, { deep: !0 });
|
|
236
|
-
let { isPrinting: H, isImaging: U, generatePdf: Tt, generateImage: Et } = se({
|
|
237
|
-
elementId: `thermometer__${O.value}`,
|
|
238
|
-
fileName: P.value.style.title.text || "vue-ui-thermometer",
|
|
239
|
-
options: P.value.userOptions.print
|
|
240
|
-
}), Dt = d(() => P.value.userOptions.show && !P.value.style.title.text), W = d(() => ie(P.value.customPalette)), G = d(() => R.value.steps || 10);
|
|
241
|
-
function K(e, t, n) {
|
|
242
|
-
let r = [], i = Ot(e), a = Ot(t);
|
|
243
|
-
for (let e = 0; e < n; e += 1) {
|
|
244
|
-
let t = q(i.red, a.red, e, n), o = q(i.green, a.green, e, n), ee = q(i.blue, a.blue, e, n), te = `#${kt(t)}${kt(o)}${kt(ee)}`;
|
|
245
|
-
r.push(te);
|
|
246
|
-
}
|
|
247
|
-
return r;
|
|
248
|
-
}
|
|
249
|
-
function Ot(e) {
|
|
250
|
-
let t = e.slice(1);
|
|
251
|
-
return {
|
|
252
|
-
red: parseInt(t.slice(0, 2), 16),
|
|
253
|
-
green: parseInt(t.slice(2, 4), 16),
|
|
254
|
-
blue: parseInt(t.slice(4, 6), 16)
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
function q(e, t, n, r) {
|
|
258
|
-
return Math.round(e + (t - e) * n / r);
|
|
259
|
-
}
|
|
260
|
-
function kt(e) {
|
|
261
|
-
return e.toString(16).padStart(2, "0");
|
|
262
|
-
}
|
|
263
|
-
let J = d(() => {
|
|
264
|
-
let e = Math.max(.1, I.value), t = Math.max(.1, F.value), n = P.value.style.chart.padding;
|
|
265
|
-
return {
|
|
266
|
-
width: e,
|
|
267
|
-
left: e / 2 - P.value.style.chart.thermometer.width / 2,
|
|
268
|
-
right: e / 2 + P.value.style.chart.thermometer.width / 2,
|
|
269
|
-
top: n.top,
|
|
270
|
-
bottom: t - n.bottom - n.top,
|
|
271
|
-
height: t,
|
|
272
|
-
thermoHeight: t - n.top - n.bottom,
|
|
273
|
-
thermoWidth: P.value.style.chart.thermometer.width
|
|
274
|
-
};
|
|
275
|
-
}), At = d(() => J.value), Y = d(() => {
|
|
276
|
-
let e = s(R.value.from) < 0 ? Math.abs(s(R.value.from)) : s(R.value.from), t = s(R.value.to) < 0 ? Math.abs(s(R.value.to)) : s(R.value.to), n = 0;
|
|
277
|
-
return n = s(R.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(R.value.from)) + s(R.value.value)) / n) * J.value.thermoHeight;
|
|
278
|
-
}), jt = d(() => `${Y.value}px`), Mt = d(() => `${J.value.thermoHeight}px`), Nt = d(() => dt.value ? "0ms" : `${P.value.style.chart.animation.speedMs}ms`), Pt = d(() => {
|
|
279
|
-
if (R.value.colors) {
|
|
280
|
-
if (!R.value.colors.from) return K(W.value[0] || a[0], c(R.value.colors.to), G.value || 10);
|
|
281
|
-
if (!R.value.colors.to) return K(c(R.value.colors.from), W.value[1] || a[1], G.value || 10);
|
|
282
|
-
} else return K(W.value[1] || a[1], W.value[0] || a[0], G.value || 10);
|
|
283
|
-
return K(c(R.value.colors.from), c(R.value.colors.to), G.value || 10);
|
|
284
|
-
}), Ft = d(() => {
|
|
285
|
-
let e = [], t = 0, n = J.value.thermoHeight;
|
|
286
|
-
for (let r = 0; r < n - 1; r += n / G.value) e.push({
|
|
287
|
-
x: J.value.left,
|
|
288
|
-
y: J.value.top + r,
|
|
289
|
-
qYLess: J.value.top + r + n / G.value / 4,
|
|
290
|
-
halfY: J.value.top + r + n / G.value / 2,
|
|
291
|
-
qYMore: J.value.top + r + n / G.value / 4 * 3,
|
|
292
|
-
color: Pt.value[t],
|
|
293
|
-
height: Math.max(.1, n / G.value)
|
|
294
|
-
}), t += 1;
|
|
295
|
-
return e;
|
|
296
|
-
}), X = x(!1);
|
|
297
|
-
function It(e) {
|
|
298
|
-
X.value = e, pt.value += 1;
|
|
299
|
-
}
|
|
300
|
-
let Z = x(!1);
|
|
301
|
-
function Lt() {
|
|
302
|
-
Z.value = !Z.value;
|
|
303
|
-
}
|
|
304
|
-
async function Rt({ scale: e = 2 } = {}) {
|
|
305
|
-
if (!k.value) return;
|
|
306
|
-
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
|
|
307
|
-
domElement: k.value,
|
|
308
|
-
base64: !0,
|
|
309
|
-
img: !0,
|
|
310
|
-
scale: e
|
|
311
|
-
});
|
|
312
|
-
return {
|
|
313
|
-
imageUri: i,
|
|
314
|
-
base64: a,
|
|
315
|
-
title: P.value.style.title.text,
|
|
316
|
-
width: t,
|
|
317
|
-
height: n,
|
|
318
|
-
aspectRatio: r
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
let Q = d({
|
|
322
|
-
get: () => P.value.style.chart.label.fontSize,
|
|
323
|
-
set: (e) => e
|
|
324
|
-
}), { autoSizeLabels: zt } = ye({
|
|
325
|
-
svgRef: B,
|
|
326
|
-
fontSize: P.value.style.chart.label.fontSize,
|
|
327
|
-
minFontSize: P.value.style.chart.label.minFontSize,
|
|
328
|
-
sizeRef: Q,
|
|
329
|
-
labelClass: ".vue-ui-thermometer-label"
|
|
330
|
-
}), Bt = d(() => P.value.style.chart.backgroundColor), { exportSvg: Vt, getSvg: Ht } = ue({
|
|
331
|
-
svg: B,
|
|
332
|
-
title: d(() => P.value.style.title),
|
|
333
|
-
backgroundColor: Bt
|
|
334
|
-
});
|
|
335
|
-
async function Ut({ isCb: e }) {
|
|
336
|
-
N.value = !0, await we();
|
|
337
|
-
try {
|
|
338
|
-
if (e) {
|
|
339
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await Ht();
|
|
340
|
-
await Promise.resolve(P.value.userOptions.callbacks.svg({
|
|
341
|
-
blob: e,
|
|
342
|
-
url: t,
|
|
343
|
-
text: n,
|
|
344
|
-
dataUrl: r
|
|
345
|
-
}));
|
|
346
|
-
} else await Promise.resolve(Vt());
|
|
347
|
-
} finally {
|
|
348
|
-
N.value = !1;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
function Wt(e) {
|
|
352
|
-
if (e?.stage === "start") {
|
|
353
|
-
M.value = !0;
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
if (e?.stage === "end") {
|
|
357
|
-
M.value = !1;
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
Et();
|
|
361
|
-
}
|
|
362
|
-
async function Gt() {
|
|
363
|
-
if (ft("copyAlt", {
|
|
364
|
-
config: P.value,
|
|
365
|
-
dataset: R.value
|
|
366
|
-
}), !P.value.userOptions.callbacks.altCopy) {
|
|
367
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
368
|
-
return;
|
|
369
|
-
}
|
|
370
|
-
await Promise.resolve(P.value.userOptions.callbacks.altCopy({
|
|
371
|
-
config: P.value,
|
|
372
|
-
dataset: R.value
|
|
373
|
-
}));
|
|
374
|
-
}
|
|
375
|
-
let Kt = d(() => `${O.value}-title`), qt = d(() => `${O.value}-desc`), $ = d(() => ee(P.value.style.chart.label.formatter, R.value.value, t({
|
|
376
|
-
p: P.value.style.chart.label.prefix,
|
|
377
|
-
v: R.value.value,
|
|
378
|
-
s: P.value.style.chart.label.suffix,
|
|
379
|
-
r: P.value.style.chart.label.rounding
|
|
380
|
-
}), { datapoint: R.value })), Jt = d(() => P.value.style.title.text || ""), Yt = d(() => {
|
|
381
|
-
if (L.value) return "...";
|
|
382
|
-
let e = s(R.value.from), t = s(R.value.to);
|
|
383
|
-
return `Thermometer value: ${$.value}. Range: ${e} to ${t}.`;
|
|
384
|
-
});
|
|
385
|
-
return me({
|
|
386
|
-
getImage: Rt,
|
|
387
|
-
generatePdf: Tt,
|
|
388
|
-
generateImage: Et,
|
|
389
|
-
generateSvg: Ut,
|
|
390
|
-
toggleAnnotator: Lt,
|
|
391
|
-
toggleFullscreen: It,
|
|
392
|
-
copyAlt: Gt
|
|
393
|
-
}), (e, t) => (b(), m("div", {
|
|
394
|
-
ref_key: "thermoChart",
|
|
395
|
-
ref: k,
|
|
396
|
-
class: v(`vue-data-ui-component vue-ui-thermometer ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
397
|
-
style: Te(`width:100%;background:${P.value.style.chart.backgroundColor};color:${P.value.style.chart.color};font-family:${P.value.style.fontFamily}`),
|
|
398
|
-
id: `thermometer__${O.value}`,
|
|
399
|
-
onMouseenter: t[0] ||= () => w(Ct)(!0),
|
|
400
|
-
onMouseleave: t[1] ||= () => w(Ct)(!1)
|
|
401
|
-
}, [
|
|
402
|
-
P.value.userOptions.buttons.annotator ? (b(), f(w(ot), {
|
|
403
|
-
key: 0,
|
|
404
|
-
svgRef: w(B),
|
|
405
|
-
backgroundColor: P.value.style.chart.backgroundColor,
|
|
406
|
-
color: P.value.style.chart.color,
|
|
407
|
-
active: Z.value,
|
|
408
|
-
isCursorPointer: yt.value,
|
|
409
|
-
onClose: Lt
|
|
410
|
-
}, {
|
|
411
|
-
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
412
|
-
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
413
|
-
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
414
|
-
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
415
|
-
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
416
|
-
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
417
|
-
_: 3
|
|
418
|
-
}, 8, [
|
|
419
|
-
"svgRef",
|
|
420
|
-
"backgroundColor",
|
|
421
|
-
"color",
|
|
422
|
-
"active",
|
|
423
|
-
"isCursorPointer"
|
|
424
|
-
])) : p("", !0),
|
|
425
|
-
Dt.value ? (b(), m("div", Ne, null, 512)) : p("", !0),
|
|
426
|
-
P.value.style.title.text ? (b(), m("div", {
|
|
427
|
-
key: 2,
|
|
428
|
-
ref_key: "chartTitle",
|
|
429
|
-
ref: ht,
|
|
430
|
-
style: "width:100%"
|
|
431
|
-
}, [(b(), f(pe, {
|
|
432
|
-
key: `title_${mt.value}`,
|
|
433
|
-
config: {
|
|
434
|
-
title: {
|
|
435
|
-
cy: "thermometer-div-title",
|
|
436
|
-
...P.value.style.title
|
|
437
|
-
},
|
|
438
|
-
subtitle: {
|
|
439
|
-
cy: "thermometer-div-subtitle",
|
|
440
|
-
...P.value.style.title.subtitle
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
444
|
-
P.value.userOptions.show && _t.value && (w(wt) || w(z)) ? (b(), f(w(st), {
|
|
445
|
-
ref: "details",
|
|
446
|
-
key: `user_options_${pt.value}`,
|
|
447
|
-
backgroundColor: P.value.style.chart.backgroundColor,
|
|
448
|
-
color: P.value.style.chart.color,
|
|
449
|
-
isImaging: w(U),
|
|
450
|
-
isPrinting: w(H),
|
|
451
|
-
uid: O.value,
|
|
452
|
-
hasPdf: P.value.userOptions.buttons.pdf,
|
|
453
|
-
hasImg: P.value.userOptions.buttons.img,
|
|
454
|
-
hasSvg: P.value.userOptions.buttons.svg,
|
|
455
|
-
hasFullscreen: P.value.userOptions.buttons.fullscreen,
|
|
456
|
-
hasAltCopy: P.value.userOptions.buttons.altCopy,
|
|
457
|
-
hasXls: !1,
|
|
458
|
-
isFullscreen: X.value,
|
|
459
|
-
titles: { ...P.value.userOptions.buttonTitles },
|
|
460
|
-
chartElement: k.value,
|
|
461
|
-
position: P.value.userOptions.position,
|
|
462
|
-
hasAnnotator: P.value.userOptions.buttons.annotator,
|
|
463
|
-
isAnnotation: Z.value,
|
|
464
|
-
callbacks: P.value.userOptions.callbacks,
|
|
465
|
-
printScale: P.value.userOptions.print.scale,
|
|
466
|
-
isCursorPointer: yt.value,
|
|
467
|
-
onToggleFullscreen: It,
|
|
468
|
-
onGeneratePdf: w(Tt),
|
|
469
|
-
onGenerateImage: Wt,
|
|
470
|
-
onGenerateSvg: Ut,
|
|
471
|
-
onToggleAnnotator: Lt,
|
|
472
|
-
onCopyAlt: Gt,
|
|
473
|
-
style: Te({ visibility: w(wt) ? w(z) ? "visible" : "hidden" : "visible" })
|
|
474
|
-
}, Se({ _: 2 }, [
|
|
475
|
-
e.$slots.menuIcon ? {
|
|
476
|
-
name: "menuIcon",
|
|
477
|
-
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", y(_({
|
|
478
|
-
isOpen: t,
|
|
479
|
-
color: n
|
|
480
|
-
})), void 0, !0)]),
|
|
481
|
-
key: "0"
|
|
482
|
-
} : void 0,
|
|
483
|
-
e.$slots.optionPdf ? {
|
|
484
|
-
name: "optionPdf",
|
|
485
|
-
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
486
|
-
key: "1"
|
|
487
|
-
} : void 0,
|
|
488
|
-
e.$slots.optionImg ? {
|
|
489
|
-
name: "optionImg",
|
|
490
|
-
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
491
|
-
key: "2"
|
|
492
|
-
} : void 0,
|
|
493
|
-
e.$slots.optionSvg ? {
|
|
494
|
-
name: "optionSvg",
|
|
495
|
-
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
496
|
-
key: "3"
|
|
497
|
-
} : void 0,
|
|
498
|
-
e.$slots.optionFullscreen ? {
|
|
499
|
-
name: "optionFullscreen",
|
|
500
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", y(_({
|
|
501
|
-
toggleFullscreen: t,
|
|
502
|
-
isFullscreen: n
|
|
503
|
-
})), void 0, !0)]),
|
|
504
|
-
key: "4"
|
|
505
|
-
} : void 0,
|
|
506
|
-
e.$slots.optionAnnotator ? {
|
|
507
|
-
name: "optionAnnotator",
|
|
508
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", y(_({
|
|
509
|
-
toggleAnnotator: t,
|
|
510
|
-
isAnnotator: n
|
|
511
|
-
})), void 0, !0)]),
|
|
512
|
-
key: "5"
|
|
513
|
-
} : void 0,
|
|
514
|
-
e.$slots.optionAltCopy ? {
|
|
515
|
-
name: "optionAltCopy",
|
|
516
|
-
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
517
|
-
key: "6"
|
|
518
|
-
} : void 0,
|
|
519
|
-
e.$slots["custom-menu-before"] ? {
|
|
520
|
-
name: "custom-menu-before",
|
|
521
|
-
fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
522
|
-
key: "7"
|
|
523
|
-
} : void 0,
|
|
524
|
-
e.$slots["custom-menu-after"] ? {
|
|
525
|
-
name: "custom-menu-after",
|
|
526
|
-
fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
527
|
-
key: "8"
|
|
528
|
-
} : void 0
|
|
529
|
-
]), 1032, [
|
|
530
|
-
"backgroundColor",
|
|
531
|
-
"color",
|
|
532
|
-
"isImaging",
|
|
533
|
-
"isPrinting",
|
|
534
|
-
"uid",
|
|
535
|
-
"hasPdf",
|
|
536
|
-
"hasImg",
|
|
537
|
-
"hasSvg",
|
|
538
|
-
"hasFullscreen",
|
|
539
|
-
"hasAltCopy",
|
|
540
|
-
"isFullscreen",
|
|
541
|
-
"titles",
|
|
542
|
-
"chartElement",
|
|
543
|
-
"position",
|
|
544
|
-
"hasAnnotator",
|
|
545
|
-
"isAnnotation",
|
|
546
|
-
"callbacks",
|
|
547
|
-
"printScale",
|
|
548
|
-
"isCursorPointer",
|
|
549
|
-
"onGeneratePdf",
|
|
550
|
-
"style"
|
|
551
|
-
])) : p("", !0),
|
|
552
|
-
(b(), m("svg", {
|
|
553
|
-
ref_key: "svgRef",
|
|
554
|
-
ref: B,
|
|
555
|
-
xmlns: w(re),
|
|
556
|
-
class: v({
|
|
557
|
-
"vue-data-ui-fullscreen--on": X.value,
|
|
558
|
-
"vue-data-ui-fulscreen--off": !X.value
|
|
559
|
-
}),
|
|
560
|
-
width: "100%",
|
|
561
|
-
viewBox: `0 0 ${J.value.width} ${J.value.height}`,
|
|
562
|
-
style: "background:transparent",
|
|
563
|
-
"aria-labelledby": Kt.value,
|
|
564
|
-
"aria-describedby": qt.value
|
|
565
|
-
}, [
|
|
566
|
-
h("title", { id: Kt.value }, C(Jt.value), 9, Fe),
|
|
567
|
-
h("desc", { id: qt.value }, C(Yt.value), 9, Ie),
|
|
568
|
-
Ce(w(E)),
|
|
569
|
-
e.$slots["chart-background"] ? (b(), m("foreignObject", {
|
|
570
|
-
key: 0,
|
|
571
|
-
x: 0,
|
|
572
|
-
y: 0,
|
|
573
|
-
width: J.value.width,
|
|
574
|
-
height: J.value.height,
|
|
575
|
-
style: { pointerEvents: "none" }
|
|
576
|
-
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Le)) : p("", !0),
|
|
577
|
-
h("defs", null, [h("clipPath", {
|
|
578
|
-
id: `vueUiPill-${O.value}`,
|
|
579
|
-
clipPathUnits: "userSpaceOnUse"
|
|
580
|
-
}, [h("rect", {
|
|
581
|
-
x: J.value.left,
|
|
582
|
-
y: J.value.top,
|
|
583
|
-
width: J.value.thermoWidth,
|
|
584
|
-
height: J.value.thermoHeight,
|
|
585
|
-
rx: J.value.thermoWidth / 2,
|
|
586
|
-
ry: J.value.thermoWidth / 2
|
|
587
|
-
}, null, 8, ze)], 8, Re), (b(!0), m(u, null, De(Ft.value, (e, t) => (b(), m("linearGradient", {
|
|
588
|
-
id: `vueUiThermometerGradient_${t}_${O.value}`,
|
|
589
|
-
x1: "0%",
|
|
590
|
-
y1: "0%",
|
|
591
|
-
x2: "100%",
|
|
592
|
-
y2: "0%"
|
|
593
|
-
}, [
|
|
594
|
-
h("stop", {
|
|
595
|
-
offset: "0%",
|
|
596
|
-
"stop-color": e.color
|
|
597
|
-
}, null, 8, Ve),
|
|
598
|
-
h("stop", {
|
|
599
|
-
offset: "50%",
|
|
600
|
-
"stop-color": w(te)(e.color, 100 - P.value.style.chart.graduations.gradient.intensity)
|
|
601
|
-
}, null, 8, He),
|
|
602
|
-
h("stop", {
|
|
603
|
-
offset: "100%",
|
|
604
|
-
"stop-color": e.color
|
|
605
|
-
}, null, 8, Ue)
|
|
606
|
-
], 8, Be))), 256))]),
|
|
607
|
-
h("g", { "clip-path": `url(#vueUiPill-${O.value})` }, [
|
|
608
|
-
h("rect", {
|
|
609
|
-
x: J.value.left,
|
|
610
|
-
y: J.value.top,
|
|
611
|
-
height: J.value.thermoHeight,
|
|
612
|
-
width: J.value.thermoWidth,
|
|
613
|
-
fill: "#FFFFFF"
|
|
614
|
-
}, null, 8, Ge),
|
|
615
|
-
(b(!0), m(u, null, De(Ft.value, (e, t) => (b(), m("g", { key: `graduation_${t}` }, [
|
|
616
|
-
h("rect", {
|
|
617
|
-
x: e.x,
|
|
618
|
-
y: e.y,
|
|
619
|
-
height: e.height,
|
|
620
|
-
width: J.value.thermoWidth,
|
|
621
|
-
fill: P.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${O.value})` : e.color,
|
|
622
|
-
"shape-rendering": "crispEdges"
|
|
623
|
-
}, null, 8, Ke),
|
|
624
|
-
P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
|
|
625
|
-
key: 0,
|
|
626
|
-
x1: e.x,
|
|
627
|
-
x2: e.x + 10,
|
|
628
|
-
y1: e.y,
|
|
629
|
-
y2: e.y,
|
|
630
|
-
"stroke-width": P.value.style.chart.graduations.strokeWidth,
|
|
631
|
-
stroke: P.value.style.chart.graduations.stroke,
|
|
632
|
-
"stroke-linecap": "round"
|
|
633
|
-
}, null, 8, qe)) : p("", !0),
|
|
634
|
-
P.value.style.chart.graduations.showIntermediate ? (b(), m(u, { key: 1 }, [
|
|
635
|
-
P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
|
|
636
|
-
key: 0,
|
|
637
|
-
x1: e.x,
|
|
638
|
-
x2: e.x + 5,
|
|
639
|
-
y1: e.halfY,
|
|
640
|
-
y2: e.halfY,
|
|
641
|
-
"stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
|
|
642
|
-
stroke: P.value.style.chart.graduations.stroke,
|
|
643
|
-
"stroke-linecap": "round"
|
|
644
|
-
}, null, 8, Je)) : p("", !0),
|
|
645
|
-
P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
|
|
646
|
-
key: 1,
|
|
647
|
-
x1: e.x,
|
|
648
|
-
x2: e.x + 2.5,
|
|
649
|
-
y1: e.qYLess,
|
|
650
|
-
y2: e.qYLess,
|
|
651
|
-
"stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
|
|
652
|
-
stroke: P.value.style.chart.graduations.stroke,
|
|
653
|
-
"stroke-linecap": "round"
|
|
654
|
-
}, null, 8, Ye)) : p("", !0),
|
|
655
|
-
P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
|
|
656
|
-
key: 2,
|
|
657
|
-
x1: e.x,
|
|
658
|
-
x2: e.x + 2.5,
|
|
659
|
-
y1: e.qYMore,
|
|
660
|
-
y2: e.qYMore,
|
|
661
|
-
"stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
|
|
662
|
-
stroke: P.value.style.chart.graduations.stroke,
|
|
663
|
-
"stroke-linecap": "round"
|
|
664
|
-
}, null, 8, Xe)) : p("", !0)
|
|
665
|
-
], 64)) : p("", !0),
|
|
666
|
-
P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
|
|
667
|
-
key: 2,
|
|
668
|
-
x1: J.value.right,
|
|
669
|
-
x2: J.value.right - 10,
|
|
670
|
-
y1: e.y,
|
|
671
|
-
y2: e.y,
|
|
672
|
-
"stroke-width": P.value.style.chart.graduations.strokeWidth,
|
|
673
|
-
stroke: P.value.style.chart.graduations.stroke,
|
|
674
|
-
"stroke-linecap": "round"
|
|
675
|
-
}, null, 8, Ze)) : p("", !0),
|
|
676
|
-
P.value.style.chart.graduations.showIntermediate ? (b(), m(u, { key: 3 }, [
|
|
677
|
-
P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
|
|
678
|
-
key: 0,
|
|
679
|
-
x1: J.value.right,
|
|
680
|
-
x2: J.value.right - 5,
|
|
681
|
-
y1: e.halfY,
|
|
682
|
-
y2: e.halfY,
|
|
683
|
-
"stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
|
|
684
|
-
stroke: P.value.style.chart.graduations.stroke,
|
|
685
|
-
"stroke-linecap": "round"
|
|
686
|
-
}, null, 8, Qe)) : p("", !0),
|
|
687
|
-
P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
|
|
688
|
-
key: 1,
|
|
689
|
-
x1: J.value.right,
|
|
690
|
-
x2: J.value.right - 2.5,
|
|
691
|
-
y1: e.qYLess,
|
|
692
|
-
y2: e.qYLess,
|
|
693
|
-
"stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
|
|
694
|
-
stroke: P.value.style.chart.graduations.stroke,
|
|
695
|
-
"stroke-linecap": "round"
|
|
696
|
-
}, null, 8, $e)) : p("", !0),
|
|
697
|
-
P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
|
|
698
|
-
key: 2,
|
|
699
|
-
x1: J.value.right,
|
|
700
|
-
x2: J.value.right - 2.5,
|
|
701
|
-
y1: e.qYMore,
|
|
702
|
-
y2: e.qYMore,
|
|
703
|
-
"stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
|
|
704
|
-
stroke: P.value.style.chart.graduations.stroke,
|
|
705
|
-
"stroke-linecap": "round"
|
|
706
|
-
}, null, 8, et)) : p("", !0)
|
|
707
|
-
], 64)) : p("", !0)
|
|
708
|
-
]))), 128)),
|
|
709
|
-
h("rect", {
|
|
710
|
-
class: v({ "vue-ui-thermometer-temperature": P.value.style.chart.animation.use }),
|
|
711
|
-
x: J.value.left,
|
|
712
|
-
y: J.value.top,
|
|
713
|
-
height: Y.value,
|
|
714
|
-
width: J.value.thermoWidth,
|
|
715
|
-
fill: "#FFFFFF66"
|
|
716
|
-
}, null, 10, tt)
|
|
717
|
-
], 8, We),
|
|
718
|
-
P.value.style.chart.label.show ? (b(), m("g", {
|
|
719
|
-
key: 1,
|
|
720
|
-
role: "status",
|
|
721
|
-
"aria-live": "polite",
|
|
722
|
-
"aria-label": w(L) ? "Loading data" : $.value
|
|
723
|
-
}, [w(L) ? (b(), m("rect", {
|
|
724
|
-
key: 0,
|
|
725
|
-
x: J.value.left - 60,
|
|
726
|
-
y: Y.value + J.value.top - Q.value / 2,
|
|
727
|
-
width: 50,
|
|
728
|
-
height: Q.value,
|
|
729
|
-
fill: "#6A6A6A40",
|
|
730
|
-
rx: "3"
|
|
731
|
-
}, null, 8, rt)) : (b(), m("text", {
|
|
732
|
-
key: 1,
|
|
733
|
-
"aria-hidden": "true",
|
|
734
|
-
class: v({
|
|
735
|
-
"vue-ui-thermometer-temperature-value": P.value.style.chart.animation.use,
|
|
736
|
-
"vue-ui-thermometer-label": !0
|
|
737
|
-
}),
|
|
738
|
-
y: Y.value + J.value.top + Q.value / 3,
|
|
739
|
-
x: J.value.left - 10,
|
|
740
|
-
"text-anchor": "end",
|
|
741
|
-
fill: P.value.style.chart.label.color,
|
|
742
|
-
"font-size": Q.value,
|
|
743
|
-
"font-weight": P.value.style.chart.label.bold ? "bold" : "normal"
|
|
744
|
-
}, C($.value), 11, it))], 8, nt)) : p("", !0),
|
|
745
|
-
S(e.$slots, "svg", { svg: {
|
|
746
|
-
...At.value,
|
|
747
|
-
isPrintingImg: w(H) || w(U) || M.value,
|
|
748
|
-
isPrintingSvg: N.value
|
|
749
|
-
} }, void 0, !0)
|
|
750
|
-
], 10, Pe)),
|
|
751
|
-
e.$slots.watermark ? (b(), m("div", at, [S(e.$slots, "watermark", y(_({ isPrinting: w(H) || w(U) || M.value || N.value })), void 0, !0)])) : p("", !0),
|
|
752
|
-
e.$slots.source ? (b(), m("div", {
|
|
753
|
-
key: 5,
|
|
754
|
-
ref_key: "source",
|
|
755
|
-
ref: gt,
|
|
756
|
-
dir: "auto"
|
|
757
|
-
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
758
|
-
S(e.$slots, "skeleton", {}, () => [w(L) ? (b(), f(le, { key: 0 })) : p("", !0)], !0)
|
|
759
|
-
], 46, Me));
|
|
760
|
-
}
|
|
761
|
-
}, [["__scopeId", "data-v-c1de98e8"]]);
|
|
762
|
-
//#endregion
|
|
763
|
-
export { je as n, E as t };
|