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