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,2393 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as re, useSlots as io, computed as g, ref as h, shallowRef as _t, onMounted as uo, toRefs as co, watch as Re, onBeforeUnmount as tt, watchEffect as Oe, nextTick as At, openBlock as s, createElementBlock as u, normalizeStyle as q, normalizeClass as ke, createElementVNode as Z, toDisplayString as V, createBlock as ee, createCommentVNode as f, unref as b, withCtx as C, renderSlot as L, normalizeProps as D, guardReactiveProps as E, createSlots as $t, createVNode as De, Fragment as w, renderList as S, mergeProps as Ee, Teleport as vo, resolveDynamicComponent as ho, createTextVNode as Pa } from "vue";
|
|
2
|
-
import { u as yo } from "./useConfig-CG4HT3wS.js";
|
|
3
|
-
import { j as Na, t as Ia, m as fo, p as at, n as go, o as Fa, q as Ra, r as mo, s as bo, ar as Ve, E as Oa, D as Da, I as po, X as xo, x as ko, G as de, W as Ea, k as we, l as ne, Z as wo, as as Lo, T as Va, a0 as Co, a1 as So, U as zo, a3 as Mo } from "./lib-DMzrGQHK.js";
|
|
4
|
-
import { t as Ba, u as To } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as Ua, a as Ha, b as _o } from "./useTimeLabels-Cv0tD9In.js";
|
|
6
|
-
import { u as Ao } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as $o, B as Po } from "./BaseScanner-C2j3TsSY.js";
|
|
8
|
-
import { u as No } from "./useSvgExport-BTG4hVPO.js";
|
|
9
|
-
import { u as Pt } from "./useNestedProp-DH0BEVVS.js";
|
|
10
|
-
import { u as Io } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
-
import { u as Fo } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
-
import { u as Ro } from "./useStableElementSize-C48ZVcZQ.js";
|
|
13
|
-
import { u as Oo } from "./useChartAccessibility-cp6XQtqi.js";
|
|
14
|
-
import { u as Do } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
15
|
-
import Eo from "./img-CjTQXS0U.js";
|
|
16
|
-
import Vo from "./Title-BbKoiBk2.js";
|
|
17
|
-
import { _ as Bo } from "./Shape-CxJ5_Rre.js";
|
|
18
|
-
import Uo from "./vue_ui_stackbar-CuDC4O4b.js";
|
|
19
|
-
import Ho from "./Legend-DGN5lY60.js";
|
|
20
|
-
import { A as Wo } from "./A11yDataTable-BpmuNomI.js";
|
|
21
|
-
import { S as Xo } from "./SlicerPreview-D_CgrN_7.js";
|
|
22
|
-
import { B as Yo } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
23
|
-
import { _ as qo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
24
|
-
const Go = ["id"], Jo = ["id"], Ko = ["id"], Zo = { style: { position: "relative" } }, Qo = ["xmlns", "aria-describedby", "viewBox"], jo = ["x", "y", "width", "height"], es = { key: 1 }, ts = ["id"], as = ["stop-color"], ls = ["stop-color"], os = ["stop-color"], ss = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], rs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ns = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], is = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], us = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], cs = { key: 0 }, vs = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], hs = { key: 0 }, ds = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ys = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], fs = { key: 0 }, gs = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ms = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ps = ["x", "y", "font-size", "fill", "font-weight"], xs = ["transform", "font-size", "fill", "font-weight"], ks = ["x", "y", "font-size", "fill", "font-weight"], ws = ["x", "y", "font-size", "font-weight", "fill"], Ls = ["x", "y", "font-size", "fill", "font-weight"], Cs = ["x", "y", "font-size", "font-weight", "fill"], Ss = ["x1", "x2", "y1", "y2", "stroke"], zs = ["x", "y", "font-size", "font-weight", "fill"], Ms = ["x1", "x2", "y1", "y2", "stroke"], Ts = ["font-size", "font-weight", "fill", "text-anchor", "transform"], _s = { key: 0 }, As = { key: 1 }, $s = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Ps = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Ns = { key: 0 }, Is = { key: 1 }, Fs = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Rs = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Os = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Ds = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Es = ["data-start", "data-end"], Vs = {
|
|
25
|
-
key: 0,
|
|
26
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
27
|
-
"data-dom-to-png-ignore": "",
|
|
28
|
-
"aria-hidden": "true"
|
|
29
|
-
}, Bs = {
|
|
30
|
-
key: 4,
|
|
31
|
-
class: "vue-data-ui-watermark"
|
|
32
|
-
}, Us = ["x", "y", "height", "width", "fill", "stroke"], Hs = ["id"], Ws = ["onClick"], Xs = ["innerHTML"], Ys = {
|
|
33
|
-
__name: "vue-ui-stackbar",
|
|
34
|
-
props: {
|
|
35
|
-
config: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default() {
|
|
38
|
-
return {};
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
dataset: {
|
|
42
|
-
type: Array,
|
|
43
|
-
default() {
|
|
44
|
-
return [];
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
selectedXIndex: {
|
|
48
|
-
type: Number,
|
|
49
|
-
default: void 0
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
emits: [
|
|
53
|
-
"selectDatapoint",
|
|
54
|
-
"selectLegend",
|
|
55
|
-
"selectTimeLabel",
|
|
56
|
-
"selectX",
|
|
57
|
-
"copyAlt"
|
|
58
|
-
],
|
|
59
|
-
setup(lt, { expose: Wa, emit: Xa }) {
|
|
60
|
-
const Ya = re(() => import("./Tooltip-Cvt7Fi0Q.js")), qa = re(() => import("./BaseIcon-DX0hTWa-.js")), Ga = re(() => import("./vue-ui-accordion-DFtpH_16.js")), Ja = re(() => import("./DataTable-cMnb68Ik.js")), Ka = re(
|
|
61
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
62
|
-
), Za = re(
|
|
63
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
64
|
-
), Qa = re(
|
|
65
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
66
|
-
), ja = re(
|
|
67
|
-
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
68
|
-
), { vue_ui_stackbar: el } = yo(), { isThemeValid: tl, warnInvalidTheme: al } = Io(), ll = io(), I = lt, ae = Xa, Le = g({
|
|
69
|
-
get() {
|
|
70
|
-
return !!I.dataset && I.dataset.length;
|
|
71
|
-
},
|
|
72
|
-
set(t) {
|
|
73
|
-
return t;
|
|
74
|
-
}
|
|
75
|
-
}), Q = h(null), R = h(Na()), ye = h(!1), Be = h(null), ot = h(""), A = h([]), Nt = h(0), It = h(null), Ft = h(null), Ce = h(null), Rt = h(null), Se = h(!1), B = h(null), ie = h(!1), Ot = h(0), ol = h(0), sl = h(0), Dt = h(!1), ze = h(null), st = h(null), Ue = h(!1), He = h(!1), We = h(null), rt = h(null), ue = h(null), ce = h(null), rl = h(null), nt = h(null), Et = _t(null), Vt = h(!1), Bt = h(0), Ut = h(0), G = h(null), Ht = h({ x: 0, y: 0 }), Wt = h("pointer"), Xt = Ro({
|
|
76
|
-
elementRef: Et,
|
|
77
|
-
minimumWidth: 2,
|
|
78
|
-
minimumHeight: 2,
|
|
79
|
-
stableFramesRequired: 2,
|
|
80
|
-
once: !1,
|
|
81
|
-
onSizeAccepted: () => {
|
|
82
|
-
qt();
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
function it() {
|
|
86
|
-
Et.value = Q.value?.parentNode ?? null;
|
|
87
|
-
}
|
|
88
|
-
function Yt() {
|
|
89
|
-
return new Promise((t) => {
|
|
90
|
-
requestAnimationFrame(() => {
|
|
91
|
-
requestAnimationFrame(t);
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
async function qt() {
|
|
96
|
-
const t = ++Ut.value;
|
|
97
|
-
Vt.value = !1, await At(), await Yt(), await Yt(), t === Ut.value && (Bt.value += 1, Vt.value = !0);
|
|
98
|
-
}
|
|
99
|
-
const ut = h(null);
|
|
100
|
-
uo(() => {
|
|
101
|
-
Dt.value = !0, it(), Xt.start(), ta();
|
|
102
|
-
});
|
|
103
|
-
const e = h(ht()), X = g(
|
|
104
|
-
() => e.value.userOptions.useCursorPointer
|
|
105
|
-
), nl = g(() => Ia({
|
|
106
|
-
defaultConfig: {
|
|
107
|
-
userOptions: { show: !1 },
|
|
108
|
-
useCssAnimation: !1,
|
|
109
|
-
table: { show: !1 },
|
|
110
|
-
tooltip: { show: !1 },
|
|
111
|
-
style: {
|
|
112
|
-
chart: {
|
|
113
|
-
backgroundColor: "#99999930",
|
|
114
|
-
bars: {
|
|
115
|
-
totalValues: { show: !1 },
|
|
116
|
-
dataLabels: { show: !1 }
|
|
117
|
-
},
|
|
118
|
-
grid: {
|
|
119
|
-
frame: {
|
|
120
|
-
stroke: "#6A6A6A"
|
|
121
|
-
},
|
|
122
|
-
scale: {
|
|
123
|
-
scaleMin: 0,
|
|
124
|
-
scaleMax: 40
|
|
125
|
-
},
|
|
126
|
-
x: {
|
|
127
|
-
axisColor: "#6A6A6A",
|
|
128
|
-
linesColor: "#6A6A6A",
|
|
129
|
-
axisName: { show: !1 },
|
|
130
|
-
timeLabels: { show: !1 }
|
|
131
|
-
},
|
|
132
|
-
y: {
|
|
133
|
-
axisColor: "#6A6A6A",
|
|
134
|
-
linesColor: "#6A6A6A",
|
|
135
|
-
axisName: { show: !1 },
|
|
136
|
-
axisLabels: { show: !1 }
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
legend: {
|
|
140
|
-
backgroundColor: "transparent"
|
|
141
|
-
},
|
|
142
|
-
padding: {
|
|
143
|
-
left: 24,
|
|
144
|
-
right: 24,
|
|
145
|
-
bottom: 12
|
|
146
|
-
},
|
|
147
|
-
zoom: {
|
|
148
|
-
show: !1,
|
|
149
|
-
startIndex: null,
|
|
150
|
-
endIndex: null
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
156
|
-
})), { loading: fe, FINAL_DATASET: ct, manualLoading: Xe } = $o({
|
|
157
|
-
...co(I),
|
|
158
|
-
FINAL_CONFIG: e,
|
|
159
|
-
prepareConfig: ht,
|
|
160
|
-
callback: () => {
|
|
161
|
-
Promise.resolve().then(async () => {
|
|
162
|
-
await Qe();
|
|
163
|
-
});
|
|
164
|
-
},
|
|
165
|
-
skeletonDataset: I.config?.skeletonDataset ?? [
|
|
166
|
-
{
|
|
167
|
-
name: "",
|
|
168
|
-
series: [2, 3, 5, 8, 13, 21],
|
|
169
|
-
color: "#BABABA"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
name: "",
|
|
173
|
-
series: [1, 2, 3, 5, 8, 13],
|
|
174
|
-
color: "#CACACA"
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
skeletonConfig: Ia({
|
|
178
|
-
defaultConfig: e.value,
|
|
179
|
-
userConfig: nl.value
|
|
180
|
-
})
|
|
181
|
-
}), { userOptionsVisible: vt, setUserOptionsVisibility: Gt, keepUserOptionState: Jt } = Fo({ config: e.value }), { svgRef: ge } = Oo({
|
|
182
|
-
config: e.value.style.chart.title
|
|
183
|
-
});
|
|
184
|
-
function il() {
|
|
185
|
-
Gt(!0);
|
|
186
|
-
}
|
|
187
|
-
function ul() {
|
|
188
|
-
Gt(!1), ae("selectX", { seriesIndex: null, datapoint: null }), B.value = null, G.value = null, ye.value = !1;
|
|
189
|
-
}
|
|
190
|
-
function ht() {
|
|
191
|
-
const t = Pt({
|
|
192
|
-
userConfig: I.config,
|
|
193
|
-
defaultConfig: el
|
|
194
|
-
});
|
|
195
|
-
let l = {};
|
|
196
|
-
const a = t.theme;
|
|
197
|
-
if (a)
|
|
198
|
-
if (!tl.value(t))
|
|
199
|
-
al(t), l = t;
|
|
200
|
-
else {
|
|
201
|
-
const o = Pt({
|
|
202
|
-
userConfig: Uo[a] || I.config,
|
|
203
|
-
defaultConfig: t
|
|
204
|
-
});
|
|
205
|
-
l = {
|
|
206
|
-
...Pt({
|
|
207
|
-
userConfig: I.config,
|
|
208
|
-
defaultConfig: o
|
|
209
|
-
}),
|
|
210
|
-
customPalette: t.customPalette.length ? t.customPalette : fo[a] || at
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
else
|
|
214
|
-
l = t;
|
|
215
|
-
return l;
|
|
216
|
-
}
|
|
217
|
-
const Kt = g(() => e.value.style.chart.bars.dataLabels.hideUnderValue != null), Zt = g(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
|
|
218
|
-
Re(
|
|
219
|
-
() => I.config,
|
|
220
|
-
(t) => {
|
|
221
|
-
fe.value || (e.value = ht()), vt.value = !e.value.userOptions.showOnChartHover, ta(), Ot.value += 1, ol.value += 1, sl.value += 1, $.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show, it(), Ge();
|
|
222
|
-
},
|
|
223
|
-
{ deep: !0 }
|
|
224
|
-
), Re(
|
|
225
|
-
() => I.dataset,
|
|
226
|
-
(t) => {
|
|
227
|
-
Array.isArray(t) && t.length > 0 && (Xe.value = !1), it(), sa();
|
|
228
|
-
},
|
|
229
|
-
{ deep: !0 }
|
|
230
|
-
);
|
|
231
|
-
const $ = h({
|
|
232
|
-
dataLabels: {
|
|
233
|
-
show: e.value.style.chart.bars.dataLabels.show
|
|
234
|
-
},
|
|
235
|
-
showTable: e.value.table.show,
|
|
236
|
-
showTooltip: e.value.style.chart.tooltip.show
|
|
237
|
-
});
|
|
238
|
-
Re(
|
|
239
|
-
e,
|
|
240
|
-
() => {
|
|
241
|
-
$.value = {
|
|
242
|
-
dataLabels: {
|
|
243
|
-
show: e.value.style.chart.bars.dataLabels.show
|
|
244
|
-
},
|
|
245
|
-
showTable: e.value.table.show,
|
|
246
|
-
showTooltip: e.value.style.chart.tooltip.show
|
|
247
|
-
};
|
|
248
|
-
},
|
|
249
|
-
{ immediate: !0 }
|
|
250
|
-
);
|
|
251
|
-
const { isPrinting: dt, isImaging: yt, generatePdf: Qt, generateImage: jt } = Ao({
|
|
252
|
-
elementId: `stackbar_${R.value}`,
|
|
253
|
-
fileName: e.value.style.chart.title.text || "vue-ui-stackbar",
|
|
254
|
-
options: e.value.userOptions.print
|
|
255
|
-
}), le = h({
|
|
256
|
-
width: e.value.style.chart.width,
|
|
257
|
-
height: e.value.style.chart.height,
|
|
258
|
-
paddingRatio: {
|
|
259
|
-
top: e.value.style.chart.padding.top / e.value.style.chart.height,
|
|
260
|
-
right: e.value.style.chart.padding.right / e.value.style.chart.width,
|
|
261
|
-
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
262
|
-
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
263
|
-
}
|
|
264
|
-
}), cl = g(() => go(e.value.customPalette)), oe = _t(null), me = _t(null), ea = h(null), ft = g(() => !!e.value.debug);
|
|
265
|
-
function ta() {
|
|
266
|
-
if (Fa(I.dataset) ? (Ra({
|
|
267
|
-
componentName: "VueUiStackbar",
|
|
268
|
-
type: "dataset",
|
|
269
|
-
debug: ft.value
|
|
270
|
-
}), Xe.value = !0) : I.dataset.forEach((t, l) => {
|
|
271
|
-
mo({
|
|
272
|
-
datasetObject: t,
|
|
273
|
-
requiredAttributes: ["name", "series"]
|
|
274
|
-
}).forEach((a) => {
|
|
275
|
-
Le.value = !1, Ra({
|
|
276
|
-
componentName: "VueUiStackbar",
|
|
277
|
-
type: "datasetSerieAttribute",
|
|
278
|
-
property: a,
|
|
279
|
-
index: l,
|
|
280
|
-
debug: ft.value
|
|
281
|
-
}), Xe.value = !0;
|
|
282
|
-
});
|
|
283
|
-
}), Fa(I.dataset) || (Xe.value = e.value.loading), setTimeout(() => {
|
|
284
|
-
ie.value = !0;
|
|
285
|
-
}, 10), e.value.responsive) {
|
|
286
|
-
const t = Ba(() => {
|
|
287
|
-
ie.value = !1;
|
|
288
|
-
const { width: l, height: a } = To({
|
|
289
|
-
chart: Q.value,
|
|
290
|
-
title: e.value.style.chart.title.text ? It.value : null,
|
|
291
|
-
legend: e.value.style.chart.legend.show ? Ft.value : null,
|
|
292
|
-
slicer: e.value.style.chart.zoom.show && F.value > 6 ? Ce.value.$el : null,
|
|
293
|
-
source: Rt.value
|
|
294
|
-
});
|
|
295
|
-
requestAnimationFrame(() => {
|
|
296
|
-
le.value.width = l, le.value.height = a - 12, clearTimeout(ea.value), ea.value = setTimeout(() => {
|
|
297
|
-
ie.value = !0;
|
|
298
|
-
}, 10);
|
|
299
|
-
});
|
|
300
|
-
});
|
|
301
|
-
oe.value && (me.value && oe.value.unobserve(me.value), oe.value.disconnect()), oe.value = new ResizeObserver(t), me.value = Q.value.parentNode, oe.value.observe(me.value);
|
|
302
|
-
}
|
|
303
|
-
qt(), Qe();
|
|
304
|
-
}
|
|
305
|
-
tt(() => {
|
|
306
|
-
Xt.stop(), oe.value && (me.value && oe.value.unobserve(me.value), oe.value.disconnect());
|
|
307
|
-
});
|
|
308
|
-
function vl() {
|
|
309
|
-
let t = 0;
|
|
310
|
-
e.value.orientation === "vertical" && ue.value && (t = Array.from(
|
|
311
|
-
ue.value.querySelectorAll("text")
|
|
312
|
-
).reduce((o, c) => {
|
|
313
|
-
const r = c.getComputedTextLength();
|
|
314
|
-
return r > o ? r : o;
|
|
315
|
-
}, 0)), e.value.orientation === "horizontal" && ce.value && (t = Array.from(
|
|
316
|
-
ce.value.querySelectorAll("text")
|
|
317
|
-
).reduce((o, c) => {
|
|
318
|
-
const r = c.getComputedTextLength();
|
|
319
|
-
return r > o ? r : o;
|
|
320
|
-
}, 0));
|
|
321
|
-
const l = rt.value ? rt.value.getBoundingClientRect().width : 0;
|
|
322
|
-
return t + l + (l ? 24 : 0);
|
|
323
|
-
}
|
|
324
|
-
const hl = h(0), Ye = h(0), dl = Ba((t) => {
|
|
325
|
-
Ye.value = t + e.value.style.chart.bars.totalValues.fontSize;
|
|
326
|
-
}, 100);
|
|
327
|
-
function yl() {
|
|
328
|
-
if (e.value.orientation !== "horizontal") return 0;
|
|
329
|
-
const t = nt.value;
|
|
330
|
-
if (!t) return 0;
|
|
331
|
-
const l = Array.from(t.querySelectorAll("text"));
|
|
332
|
-
if (!l.length) return 0;
|
|
333
|
-
let a = -1 / 0;
|
|
334
|
-
for (const c of l)
|
|
335
|
-
try {
|
|
336
|
-
const r = c.getBBox(), d = r.x + r.width;
|
|
337
|
-
d > a && (a = d);
|
|
338
|
-
} catch {
|
|
339
|
-
}
|
|
340
|
-
return Math.max(0, a - (n.value?.right ?? 0));
|
|
341
|
-
}
|
|
342
|
-
Oe((t) => {
|
|
343
|
-
if (e.value.orientation !== "horizontal") return;
|
|
344
|
-
const l = nt.value;
|
|
345
|
-
if (!l) return;
|
|
346
|
-
const a = () => {
|
|
347
|
-
const r = yl();
|
|
348
|
-
dl(r);
|
|
349
|
-
};
|
|
350
|
-
a();
|
|
351
|
-
const o = new ResizeObserver(a);
|
|
352
|
-
o.observe(l);
|
|
353
|
-
const c = new MutationObserver(a);
|
|
354
|
-
c.observe(l, {
|
|
355
|
-
childList: !0,
|
|
356
|
-
subtree: !0,
|
|
357
|
-
characterData: !0
|
|
358
|
-
}), t(() => {
|
|
359
|
-
o.disconnect(), c.disconnect();
|
|
360
|
-
});
|
|
361
|
-
}), tt(() => {
|
|
362
|
-
hl.value = 0, Ye.value = 0;
|
|
363
|
-
});
|
|
364
|
-
const qe = h(0), Me = h(0);
|
|
365
|
-
function fl() {
|
|
366
|
-
const t = e.value.orientation === "vertical" ? ce.value : ue.value;
|
|
367
|
-
if (!t) {
|
|
368
|
-
qe.value = 0;
|
|
369
|
-
return;
|
|
370
|
-
}
|
|
371
|
-
try {
|
|
372
|
-
const l = t.getBBox();
|
|
373
|
-
qe.value = Number.isFinite(l?.height) ? l.height : 0;
|
|
374
|
-
} catch {
|
|
375
|
-
qe.value = 0;
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
function gl() {
|
|
379
|
-
Me.value && cancelAnimationFrame(Me.value), Me.value = requestAnimationFrame(() => {
|
|
380
|
-
requestAnimationFrame(() => {
|
|
381
|
-
fl();
|
|
382
|
-
});
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
|
-
tt(() => {
|
|
386
|
-
Me.value && cancelAnimationFrame(Me.value);
|
|
387
|
-
});
|
|
388
|
-
const aa = g(() => {
|
|
389
|
-
let t = 0;
|
|
390
|
-
if (We.value)
|
|
391
|
-
try {
|
|
392
|
-
t = We.value.getBBox().height;
|
|
393
|
-
} catch {
|
|
394
|
-
t = 0;
|
|
395
|
-
}
|
|
396
|
-
const l = e.value.style.chart.grid.x.timeLabels.show ? qe.value : 0;
|
|
397
|
-
return t + l;
|
|
398
|
-
}), n = g(() => {
|
|
399
|
-
Bt.value;
|
|
400
|
-
const { height: t, width: l } = le.value, { right: a } = le.value.paddingRatio;
|
|
401
|
-
let o = e.value.style.chart.bars.totalValues.show && I.dataset && I.dataset.length > 1 ? e.value.style.chart.bars.totalValues.fontSize * 1.3 : 0, c = 0;
|
|
402
|
-
e.value.style.chart.grid.y.axisLabels.show && (c = vl());
|
|
403
|
-
const r = e.value.style.chart.padding.top + o, d = l - l * a - Ye.value, x = t - e.value.style.chart.padding.bottom - aa.value - o, k = e.value.style.chart.padding.left + c, M = l - k - l * a - Ye.value, P = t - r - e.value.style.chart.padding.bottom - aa.value - o;
|
|
404
|
-
return {
|
|
405
|
-
chartHeight: t,
|
|
406
|
-
chartWidth: l,
|
|
407
|
-
top: r,
|
|
408
|
-
right: d,
|
|
409
|
-
bottom: x,
|
|
410
|
-
left: k,
|
|
411
|
-
width: Math.max(0, M),
|
|
412
|
-
height: Math.max(0, P)
|
|
413
|
-
};
|
|
414
|
-
}), ml = g(() => {
|
|
415
|
-
const {
|
|
416
|
-
left: t,
|
|
417
|
-
top: l,
|
|
418
|
-
width: a,
|
|
419
|
-
height: o
|
|
420
|
-
} = n.value, c = v.value.start, r = v.value.end, d = Math.max(1, r - c), x = Math.max(
|
|
421
|
-
0,
|
|
422
|
-
Math.min(
|
|
423
|
-
d,
|
|
424
|
-
(H.value.start ?? c) - c
|
|
425
|
-
)
|
|
426
|
-
), k = Math.max(
|
|
427
|
-
0,
|
|
428
|
-
Math.min(
|
|
429
|
-
d,
|
|
430
|
-
(H.value.end ?? r) - c
|
|
431
|
-
)
|
|
432
|
-
), M = Math.max(0, k - x), P = {
|
|
433
|
-
fill: e.value.style.chart.zoom.preview.fill,
|
|
434
|
-
stroke: e.value.style.chart.zoom.preview.stroke,
|
|
435
|
-
"stroke-width": e.value.style.chart.zoom.preview.strokeWidth,
|
|
436
|
-
"stroke-dasharray": e.value.style.chart.zoom.preview.strokeDasharray,
|
|
437
|
-
"stroke-linecap": "round",
|
|
438
|
-
"stroke-linejoin": "round",
|
|
439
|
-
style: {
|
|
440
|
-
pointerEvents: "none",
|
|
441
|
-
transition: "none !important",
|
|
442
|
-
animation: "none !important"
|
|
443
|
-
}
|
|
444
|
-
};
|
|
445
|
-
if (e.value.orientation === "horizontal") {
|
|
446
|
-
const N = o / d;
|
|
447
|
-
return {
|
|
448
|
-
x: t,
|
|
449
|
-
y: l + x * N,
|
|
450
|
-
width: a,
|
|
451
|
-
height: M * N,
|
|
452
|
-
...P
|
|
453
|
-
};
|
|
454
|
-
} else {
|
|
455
|
-
const N = a / d;
|
|
456
|
-
return {
|
|
457
|
-
x: t + x * N,
|
|
458
|
-
y: l,
|
|
459
|
-
width: M * N,
|
|
460
|
-
height: o,
|
|
461
|
-
...P
|
|
462
|
-
};
|
|
463
|
-
}
|
|
464
|
-
}), U = g(() => ct.value.map((t, l) => {
|
|
465
|
-
const a = bo(t.color) || cl.value[l] || at[l] || at[l % at.length];
|
|
466
|
-
return {
|
|
467
|
-
...t,
|
|
468
|
-
// In distributed mode, all values are converted to positive
|
|
469
|
-
series: JSON.parse(JSON.stringify(t.series)).map((o) => e.value.style.chart.bars.distributed ? Math.abs(o) : o),
|
|
470
|
-
// Store signs to manage display of neg values in distributed mode
|
|
471
|
-
signedSeries: t.series.map((o) => o >= 0 ? 1 : -1),
|
|
472
|
-
absoluteIndex: l,
|
|
473
|
-
id: Na(),
|
|
474
|
-
color: a
|
|
475
|
-
};
|
|
476
|
-
})), F = g(() => {
|
|
477
|
-
const t = Math.max(
|
|
478
|
-
...U.value.filter((l) => !A.value.includes(l.id)).map((l) => l.series.length)
|
|
479
|
-
);
|
|
480
|
-
return isFinite(t) ? t : Math.max(...U.value.map((l) => l.series.length));
|
|
481
|
-
});
|
|
482
|
-
function bl(t) {
|
|
483
|
-
ut.value = t;
|
|
484
|
-
}
|
|
485
|
-
const v = h({
|
|
486
|
-
start: 0,
|
|
487
|
-
end: Math.max(...ct.value.map((t) => t.series.length))
|
|
488
|
-
}), H = h({
|
|
489
|
-
start: 0,
|
|
490
|
-
end: Math.max(...ct.value.map((t) => t.series.length))
|
|
491
|
-
}), la = g(() => e.value.style.chart.zoom.preview.enable && (H.value.start !== v.value.start || H.value.end !== v.value.end));
|
|
492
|
-
function oa(t, l) {
|
|
493
|
-
H.value[t] = l;
|
|
494
|
-
}
|
|
495
|
-
function Ge() {
|
|
496
|
-
const t = F.value;
|
|
497
|
-
let l = Math.max(0, Math.min(v.value.start ?? 0, t - 1)), a = Math.max(l + 1, Math.min(v.value.end ?? t, t));
|
|
498
|
-
(!Number.isFinite(l) || !Number.isFinite(a) || a <= l) && (l = 0, a = t), v.value.start = l, v.value.end = a, H.value.start = l, H.value.end = a, Ce.value && (Ce.value.setStartValue(l), Ce.value.setEndValue(a));
|
|
499
|
-
}
|
|
500
|
-
const Te = h(null);
|
|
501
|
-
function pl() {
|
|
502
|
-
return new Promise(
|
|
503
|
-
(t) => requestAnimationFrame(() => requestAnimationFrame(() => t()))
|
|
504
|
-
);
|
|
505
|
-
}
|
|
506
|
-
tt(() => {
|
|
507
|
-
Te.value && cancelAnimationFrame(Te.value);
|
|
508
|
-
});
|
|
509
|
-
async function sa() {
|
|
510
|
-
Qe(), await At(), Te.value && cancelAnimationFrame(Te.value), Te.value = requestAnimationFrame(async () => {
|
|
511
|
-
await pl(), Qe();
|
|
512
|
-
});
|
|
513
|
-
}
|
|
514
|
-
const m = g(() => {
|
|
515
|
-
let t;
|
|
516
|
-
return e.value.orientation === "vertical" ? t = n.value.width / (v.value.end - v.value.start) : t = n.value.height / (v.value.end - v.value.start), t <= 0 ? 0 : t;
|
|
517
|
-
}), _e = g(() => Ve(
|
|
518
|
-
U.value.filter(
|
|
519
|
-
(t) => !A.value.includes(t.id)
|
|
520
|
-
)
|
|
521
|
-
).slice(v.value.start, v.value.end)), gt = g(
|
|
522
|
-
() => A.value.length === U.value.length
|
|
523
|
-
), ve = g(() => e.value.style.chart.zoom.minimap.show ? Ve(
|
|
524
|
-
U.value.map((t) => ({
|
|
525
|
-
...t,
|
|
526
|
-
series: t.series.map((l) => l ?? 0)
|
|
527
|
-
})).filter(
|
|
528
|
-
(t) => gt.value ? !0 : !A.value.includes(t.id)
|
|
529
|
-
)
|
|
530
|
-
) : []), xl = g(() => e.value.style.chart.zoom.minimap.show ? [
|
|
531
|
-
{
|
|
532
|
-
name: "",
|
|
533
|
-
series: ve.value,
|
|
534
|
-
color: "#000000",
|
|
535
|
-
isVisible: !0
|
|
536
|
-
}
|
|
537
|
-
] : []), kl = g(() => Ve(
|
|
538
|
-
U.value.filter((t) => !A.value.includes(t.id)).map((t) => ({
|
|
539
|
-
...t,
|
|
540
|
-
series: t.series.map((l, a) => t.signedSeries[a] === -1 && l >= 0 ? -l : l)
|
|
541
|
-
}))
|
|
542
|
-
).slice(v.value.start, v.value.end)), Je = g(() => {
|
|
543
|
-
const t = U.value.filter(
|
|
544
|
-
(l) => !A.value.includes(l.id)
|
|
545
|
-
);
|
|
546
|
-
return {
|
|
547
|
-
positive: Ve(
|
|
548
|
-
t.map((l) => ({
|
|
549
|
-
...l,
|
|
550
|
-
series: l.series.slice(v.value.start, v.value.end).map((a) => a >= 0 ? a : 0)
|
|
551
|
-
}))
|
|
552
|
-
),
|
|
553
|
-
negative: Ve(
|
|
554
|
-
t.map((l) => ({
|
|
555
|
-
...l,
|
|
556
|
-
series: l.series.slice(v.value.start, v.value.end).map((a) => a < 0 ? a : 0)
|
|
557
|
-
}))
|
|
558
|
-
)
|
|
559
|
-
};
|
|
560
|
-
}), Y = g(() => {
|
|
561
|
-
const t = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...Je.value.positive), l = Math.min(...Je.value.negative), a = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, o = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Oa(
|
|
562
|
-
a > 0 ? 0 : a,
|
|
563
|
-
t < 0 ? 0 : t,
|
|
564
|
-
e.value.style.chart.grid.scale.ticks
|
|
565
|
-
) : Da(
|
|
566
|
-
a > 0 ? 0 : a,
|
|
567
|
-
t < 0 ? 0 : t,
|
|
568
|
-
e.value.style.chart.grid.scale.ticks
|
|
569
|
-
);
|
|
570
|
-
return o.ticks.map((c) => ({
|
|
571
|
-
zero: n.value.bottom - n.value.height * (Math.abs(o.min) / (o.max + Math.abs(o.min))),
|
|
572
|
-
y: n.value.bottom - n.value.height * ((c + Math.abs(o.min)) / (o.max + Math.abs(o.min))),
|
|
573
|
-
x: n.value.left - 8,
|
|
574
|
-
horizontal_zero: n.value.left + n.value.width * (Math.abs(o.min) / (o.max + Math.abs(o.min))),
|
|
575
|
-
horizontal_x: n.value.left + n.value.width * ((c + Math.abs(o.min)) / (o.max + Math.abs(o.min))),
|
|
576
|
-
horizontal_y: n.value.bottom - 8,
|
|
577
|
-
value: c
|
|
578
|
-
}));
|
|
579
|
-
}), W = h([]), be = h([]);
|
|
580
|
-
let ra = 0;
|
|
581
|
-
Oe(() => {
|
|
582
|
-
const t = ++ra;
|
|
583
|
-
(async () => {
|
|
584
|
-
const l = await Ua({
|
|
585
|
-
values: e.value.style.chart.grid.x.timeLabels.values,
|
|
586
|
-
maxDatapoints: F.value,
|
|
587
|
-
formatter: e.value.style.chart.grid.x.timeLabels.datetimeFormatter,
|
|
588
|
-
start: v.value.start,
|
|
589
|
-
end: v.value.end
|
|
590
|
-
});
|
|
591
|
-
t === ra && (W.value = l);
|
|
592
|
-
})();
|
|
593
|
-
});
|
|
594
|
-
let na = 0;
|
|
595
|
-
Oe(() => {
|
|
596
|
-
const t = ++na;
|
|
597
|
-
(async () => {
|
|
598
|
-
const l = await Ua({
|
|
599
|
-
values: e.value.style.chart.grid.x.timeLabels.values,
|
|
600
|
-
maxDatapoints: F.value,
|
|
601
|
-
formatter: e.value.style.chart.grid.x.timeLabels.datetimeFormatter,
|
|
602
|
-
start: 0,
|
|
603
|
-
end: F.value
|
|
604
|
-
});
|
|
605
|
-
t === na && (be.value = l);
|
|
606
|
-
})();
|
|
607
|
-
});
|
|
608
|
-
const wl = g(() => {
|
|
609
|
-
const t = e.value.style.chart.grid.x.timeLabels.modulo;
|
|
610
|
-
return W.value.length ? Math.min(
|
|
611
|
-
t,
|
|
612
|
-
[...new Set(W.value.map((l) => l.text))].length
|
|
613
|
-
) : t;
|
|
614
|
-
}), mt = g(() => {
|
|
615
|
-
const t = e.value.style.chart.grid.x.timeLabels, l = W.value || [], a = be.value || [], o = v.value.start ?? 0, c = B.value, r = F.value, d = l.map((k) => k?.text ?? ""), x = a.map((k) => k?.text ?? "");
|
|
616
|
-
return po(
|
|
617
|
-
!!t.showOnlyFirstAndLast,
|
|
618
|
-
!!t.showOnlyAtModulo,
|
|
619
|
-
Math.max(1, wl.value || 1),
|
|
620
|
-
d,
|
|
621
|
-
x,
|
|
622
|
-
o,
|
|
623
|
-
c,
|
|
624
|
-
r
|
|
625
|
-
);
|
|
626
|
-
});
|
|
627
|
-
Oe(
|
|
628
|
-
() => {
|
|
629
|
-
e.value.orientation, e.value.style.chart.grid.x.timeLabels.show, e.value.style.chart.grid.x.timeLabels.fontSize, e.value.style.chart.grid.x.timeLabels.rotation, e.value.style.chart.grid.x.timeLabels.offsetY, mt.value?.map((t) => t?.text ?? "").join("|"), Y.value?.map((t) => t?.value ?? "").join("|"), le.value.width, le.value.height, ce.value, ue.value, We.value, gl();
|
|
630
|
-
},
|
|
631
|
-
{ flush: "post" }
|
|
632
|
-
);
|
|
633
|
-
const ia = h({
|
|
634
|
-
months: [],
|
|
635
|
-
shortMonths: [],
|
|
636
|
-
days: [],
|
|
637
|
-
shortDays: []
|
|
638
|
-
});
|
|
639
|
-
let ua = 0;
|
|
640
|
-
Oe(() => {
|
|
641
|
-
const t = ++ua, l = e.value.style.chart.grid.x.timeLabels.datetimeFormatter;
|
|
642
|
-
(async () => {
|
|
643
|
-
const a = await Ha(l.locale).catch(
|
|
644
|
-
() => Ha("en")
|
|
645
|
-
);
|
|
646
|
-
t === ua && (ia.value = a.data);
|
|
647
|
-
})();
|
|
648
|
-
});
|
|
649
|
-
const ca = g(() => {
|
|
650
|
-
const t = e.value.style.chart.grid.x.timeLabels.datetimeFormatter, l = _o({
|
|
651
|
-
useUTC: t.useUTC,
|
|
652
|
-
locale: ia.value,
|
|
653
|
-
januaryAsYear: t.januaryAsYear
|
|
654
|
-
});
|
|
655
|
-
return (a, o) => {
|
|
656
|
-
const r = e.value.style.chart.grid.x.timeLabels.values?.[a];
|
|
657
|
-
return r == null ? "" : l.formatDate(new Date(r), o);
|
|
658
|
-
};
|
|
659
|
-
}), va = g(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, a) => ({
|
|
660
|
-
text: ca.value(
|
|
661
|
-
a,
|
|
662
|
-
e.value.style.chart.zoom.timeFormat
|
|
663
|
-
),
|
|
664
|
-
absoluteIndex: a
|
|
665
|
-
}))), Ll = g(() => (e.value.style.chart.grid.x.timeLabels.values || []).map((l, a) => ({
|
|
666
|
-
text: ca.value(
|
|
667
|
-
a,
|
|
668
|
-
e.value.style.chart.tooltip.timeFormat
|
|
669
|
-
),
|
|
670
|
-
absoluteIndex: a
|
|
671
|
-
}))), z = g(() => {
|
|
672
|
-
if (!Le.value && !fe.value) return [];
|
|
673
|
-
let t = Array(F.value).fill(0), l = Array(F.value).fill(0), a = Array(F.value).fill(0), o = Array(F.value).fill(0);
|
|
674
|
-
const c = Math.max(...Je.value.positive) || 0, r = Math.min(...Je.value.negative), d = [-1 / 0, 1 / 0, NaN, void 0, null].includes(
|
|
675
|
-
r
|
|
676
|
-
) ? 0 : r, x = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Oa(
|
|
677
|
-
e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : d > 0 ? 0 : d,
|
|
678
|
-
e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c,
|
|
679
|
-
e.value.style.chart.grid.scale.ticks
|
|
680
|
-
) : Da(
|
|
681
|
-
e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : d > 0 ? 0 : d,
|
|
682
|
-
e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c,
|
|
683
|
-
e.value.style.chart.grid.scale.ticks
|
|
684
|
-
), { min: k, max: M } = x, P = M + (k >= 0 ? 0 : Math.abs(k)) || 1, N = n.value.height, j = n.value.width, he = Y.value[0] ? Y.value[0].zero : n.value.bottom, Ie = Y.value[0] ? Y.value[0].horizontal_zero : n.value.left;
|
|
685
|
-
let Fe = Array(ve.value.length).fill(0), J = Array(ve.value.length).fill(0);
|
|
686
|
-
return U.value.filter((xe) => !A.value.includes(xe.id)).map((xe) => {
|
|
687
|
-
const se = xe.series.slice(), _a = se.map((y, p) => Fe[p]), Jl = se.map((y, p) => J[p]);
|
|
688
|
-
se.forEach((y, p) => {
|
|
689
|
-
(Number(y) || 0) >= 0 ? Fe[p] += Number(y) || 0 : J[p] += Math.abs(Number(y) || 0);
|
|
690
|
-
});
|
|
691
|
-
const te = xe.series.slice(
|
|
692
|
-
v.value.start,
|
|
693
|
-
v.value.end
|
|
694
|
-
), Kl = xe.signedSeries.slice(
|
|
695
|
-
v.value.start,
|
|
696
|
-
v.value.end
|
|
697
|
-
), Zl = te.map((y, p) => n.value.left + m.value * p + m.value * e.value.style.chart.bars.gapRatio / 4), et = (ve.value || []).filter(
|
|
698
|
-
Number.isFinite
|
|
699
|
-
), zt = et.length ? Math.max(...et) : 0, Mt = et.length ? Math.min(...et) : 0;
|
|
700
|
-
function Aa({ minimapH: y }) {
|
|
701
|
-
const T = zt > 0, O = Mt < 0;
|
|
702
|
-
if (T && O) {
|
|
703
|
-
const K = Math.max(zt, Math.abs(Mt)) || 1e-9;
|
|
704
|
-
return {
|
|
705
|
-
pxPerUnit: y / 2 / K,
|
|
706
|
-
zero: y / 2
|
|
707
|
-
};
|
|
708
|
-
}
|
|
709
|
-
if (T) {
|
|
710
|
-
const K = Math.max(1e-9, zt);
|
|
711
|
-
return {
|
|
712
|
-
pxPerUnit: y / K,
|
|
713
|
-
zero: y
|
|
714
|
-
};
|
|
715
|
-
}
|
|
716
|
-
const _ = Math.max(1e-9, Math.abs(Mt));
|
|
717
|
-
return {
|
|
718
|
-
pxPerUnit: y / _,
|
|
719
|
-
zero: 0
|
|
720
|
-
};
|
|
721
|
-
}
|
|
722
|
-
const Ql = ({ left: y, unitW: p }) => {
|
|
723
|
-
const T = p * (e.value.style.chart.bars.gapRatio / 4);
|
|
724
|
-
return se.map((O, _) => y + p * _ + T);
|
|
725
|
-
}, jl = te.map((y, p) => n.value.top + m.value * p + m.value * e.value.style.chart.bars.gapRatio / 4), eo = te.map((y, p) => {
|
|
726
|
-
const T = e.value.style.chart.bars.distributed ? (y || 0) / _e.value[p] : (y || 0) / P;
|
|
727
|
-
let O, _;
|
|
728
|
-
return y > 0 ? (_ = N * T, O = he - _ - t[p], t[p] += _) : (_ = N * T, O = he + a[p], a[p] += Math.abs(_)), O;
|
|
729
|
-
}), to = ({ minimapH: y }) => {
|
|
730
|
-
if (e.value.style.chart.bars.distributed)
|
|
731
|
-
return se.map((_, K) => {
|
|
732
|
-
const Tt = Math.abs(Number(_) || 0), $a = Math.abs(ve.value?.[K] || 0) || 1e-9, no = (_a[K] + Tt) / $a;
|
|
733
|
-
return y - no * y;
|
|
734
|
-
});
|
|
735
|
-
const { pxPerUnit: p, zero: T } = Aa({ minimapH: y });
|
|
736
|
-
return se.map((O, _) => {
|
|
737
|
-
const K = Number(O) || 0;
|
|
738
|
-
return K >= 0 ? T - (_a[_] + K) * p : T + Jl[_] * p;
|
|
739
|
-
});
|
|
740
|
-
}, ao = te.map((y, p) => {
|
|
741
|
-
const T = e.value.style.chart.bars.distributed ? (y || 0) / _e.value[p] : (y || 0) / P;
|
|
742
|
-
let O, _;
|
|
743
|
-
return y > 0 ? (_ = j * T, O = Ie + l[p], l[p] += _) : (_ = j * T, O = Ie - Math.abs(_) - o[p], o[p] += Math.abs(_)), O;
|
|
744
|
-
}), lo = te.map((y, p) => {
|
|
745
|
-
const T = e.value.style.chart.bars.distributed ? (y || 0) / _e.value[p] : (y || 0) / P;
|
|
746
|
-
return y > 0 ? N * T : N * Math.abs(T);
|
|
747
|
-
}), oo = ({ minimapH: y }) => {
|
|
748
|
-
if (e.value.style.chart.bars.distributed)
|
|
749
|
-
return se.map((O, _) => {
|
|
750
|
-
const K = Math.abs(Number(O) || 0), Tt = Math.abs(ve.value?.[_] || 0) || 1e-9;
|
|
751
|
-
return K / Tt * y;
|
|
752
|
-
});
|
|
753
|
-
const { pxPerUnit: p } = Aa({ minimapH: y });
|
|
754
|
-
return se.map(
|
|
755
|
-
(T) => Math.abs(Number(T) || 0) * p
|
|
756
|
-
);
|
|
757
|
-
}, so = te.map((y, p) => {
|
|
758
|
-
const T = e.value.style.chart.bars.distributed ? (y || 0) / _e.value[p] : (y || 0) / P;
|
|
759
|
-
return y > 0 ? j * T : j * Math.abs(T);
|
|
760
|
-
}), ro = te.map((y) => Math.abs(y)).reduce((y, p) => y + p, 0);
|
|
761
|
-
return {
|
|
762
|
-
...xe,
|
|
763
|
-
proportions: te.map((y, p) => e.value.style.chart.bars.distributed ? (y || 0) / _e.value[p] : (y || 0) / ro),
|
|
764
|
-
series: te,
|
|
765
|
-
signedSeries: Kl,
|
|
766
|
-
x: Zl,
|
|
767
|
-
y: eo,
|
|
768
|
-
height: lo,
|
|
769
|
-
horizontal_width: so,
|
|
770
|
-
horizontal_y: jl,
|
|
771
|
-
horizontal_x: ao,
|
|
772
|
-
xMinimap: Ql,
|
|
773
|
-
yMinimap: to,
|
|
774
|
-
heightMinimap: oo
|
|
775
|
-
};
|
|
776
|
-
});
|
|
777
|
-
}), ha = g(() => kl.value.map((t, l) => ({
|
|
778
|
-
value: t,
|
|
779
|
-
sign: t >= 0 ? 1 : -1
|
|
780
|
-
})));
|
|
781
|
-
function Ke(t, l, a, o, c) {
|
|
782
|
-
const r = c === -1 && t >= 0 ? -t : t;
|
|
783
|
-
return we(
|
|
784
|
-
e.value.style.chart.bars.dataLabels.formatter,
|
|
785
|
-
r,
|
|
786
|
-
ne({
|
|
787
|
-
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
788
|
-
v: r,
|
|
789
|
-
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
790
|
-
r: e.value.style.chart.bars.dataLabels.rounding
|
|
791
|
-
}),
|
|
792
|
-
{ datapoint: l, seriesIndex: a, datapointIndex: o }
|
|
793
|
-
);
|
|
794
|
-
}
|
|
795
|
-
function da(t, l, a, o) {
|
|
796
|
-
return we(
|
|
797
|
-
e.value.style.chart.bars.dataLabels.formatter,
|
|
798
|
-
t,
|
|
799
|
-
ne({
|
|
800
|
-
v: isNaN(t) ? 0 : t,
|
|
801
|
-
s: "%",
|
|
802
|
-
r: e.value.style.chart.bars.dataLabels.rounding
|
|
803
|
-
}),
|
|
804
|
-
{ datapoint: l, seriesIndex: a, datapointIndex: o }
|
|
805
|
-
);
|
|
806
|
-
}
|
|
807
|
-
function bt(t) {
|
|
808
|
-
const l = JSON.parse(JSON.stringify(z.value)).map(
|
|
809
|
-
(a) => ({
|
|
810
|
-
name: a.name,
|
|
811
|
-
value: a.series[t] === 0 ? 0 : a.series[t] || null,
|
|
812
|
-
proportion: a.proportions[t] || null,
|
|
813
|
-
color: a.color,
|
|
814
|
-
id: a.id
|
|
815
|
-
})
|
|
816
|
-
);
|
|
817
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
818
|
-
datapoint: l,
|
|
819
|
-
seriesIndex: t + v.value.start
|
|
820
|
-
}), ae("selectDatapoint", { datapoint: l, period: W.value[t] });
|
|
821
|
-
}
|
|
822
|
-
function pt(t) {
|
|
823
|
-
return JSON.parse(JSON.stringify(z.value)).map((l) => ({
|
|
824
|
-
name: l.name,
|
|
825
|
-
absoluteIndex: l.absoluteIndex,
|
|
826
|
-
value: l.series[t] === 0 ? 0 : (l.signedSeries[t] === -1 && l.series[t] >= 0 ? -l.series[t] : l.series[t]) || null,
|
|
827
|
-
proportion: l.proportions[t] || null,
|
|
828
|
-
color: l.color,
|
|
829
|
-
id: l.id,
|
|
830
|
-
timeLabel: be.value[t]
|
|
831
|
-
}));
|
|
832
|
-
}
|
|
833
|
-
function ya(t) {
|
|
834
|
-
if (e.value.events.datapointLeave) {
|
|
835
|
-
const l = pt(t);
|
|
836
|
-
e.value.events.datapointLeave({
|
|
837
|
-
datapoint: l,
|
|
838
|
-
seriesIndex: t + v.value.start
|
|
839
|
-
});
|
|
840
|
-
}
|
|
841
|
-
ye.value = !1, B.value = null, G.value === t && (G.value = null);
|
|
842
|
-
}
|
|
843
|
-
const Cl = g(() => Array(F.value).fill(0).map((t, l) => pt(l)));
|
|
844
|
-
Re(
|
|
845
|
-
() => I.selectedXIndex,
|
|
846
|
-
(t) => {
|
|
847
|
-
if ([null, void 0].includes(I.selectedXIndex)) {
|
|
848
|
-
B.value = null;
|
|
849
|
-
return;
|
|
850
|
-
}
|
|
851
|
-
const l = t - v.value.start;
|
|
852
|
-
l < 0 || t >= v.value.end ? B.value = null : B.value = l ?? null;
|
|
853
|
-
},
|
|
854
|
-
{ immediate: !0 }
|
|
855
|
-
);
|
|
856
|
-
function fa(t) {
|
|
857
|
-
if (!e.value.style.chart.tooltip.showTimeLabel)
|
|
858
|
-
return null;
|
|
859
|
-
const l = W.value?.[t]?.text || null, a = Ll.value?.[t]?.text || null, o = be.value?.[t]?.text || null;
|
|
860
|
-
return e.value.style.chart.tooltip.useDefaultTimeFormat ? l : a || o;
|
|
861
|
-
}
|
|
862
|
-
function xt(t, l = "pointer") {
|
|
863
|
-
if (gt.value) return;
|
|
864
|
-
Wt.value = l, G.value = t, B.value = t, ye.value = !0;
|
|
865
|
-
const a = e.value.style.chart.tooltip.customFormat, o = pt(t);
|
|
866
|
-
Ul({ seriesIndex: t, datapoint: o }), e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
867
|
-
datapoint: o,
|
|
868
|
-
seriesIndex: t + v.value.start
|
|
869
|
-
}), Be.value = {
|
|
870
|
-
timeLabel: fa(t),
|
|
871
|
-
datapoint: o,
|
|
872
|
-
seriesIndex: t,
|
|
873
|
-
config: e.value,
|
|
874
|
-
series: z.value
|
|
875
|
-
};
|
|
876
|
-
const c = o.map((d) => Math.abs(d.value)).reduce((d, x) => d + x, 0), r = o.map((d) => de(d.value)).reduce((d, x) => d + x, 0);
|
|
877
|
-
if (Va(a) && zo(
|
|
878
|
-
() => a({
|
|
879
|
-
seriesIndex: t,
|
|
880
|
-
datapoint: o,
|
|
881
|
-
series: z.value,
|
|
882
|
-
config: e.value
|
|
883
|
-
})
|
|
884
|
-
))
|
|
885
|
-
ot.value = a({
|
|
886
|
-
seriesIndex: t,
|
|
887
|
-
datapoint: o,
|
|
888
|
-
series: z.value,
|
|
889
|
-
config: e.value
|
|
890
|
-
});
|
|
891
|
-
else {
|
|
892
|
-
const {
|
|
893
|
-
showValue: d,
|
|
894
|
-
showTotal: x,
|
|
895
|
-
totalTranslation: k,
|
|
896
|
-
showPercentage: M,
|
|
897
|
-
borderColor: P,
|
|
898
|
-
roundingValue: N,
|
|
899
|
-
roundingPercentage: j
|
|
900
|
-
} = e.value.style.chart.tooltip;
|
|
901
|
-
let he = "";
|
|
902
|
-
const Ie = fa(t);
|
|
903
|
-
Ie && (he += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P};padding-bottom:6px;margin-bottom:3px;">${Ie}</div>`), x && (he += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
904
|
-
<span>${k}:</span>
|
|
905
|
-
<span>
|
|
906
|
-
${we(
|
|
907
|
-
e.value.style.chart.bars.dataLabels.formatter,
|
|
908
|
-
r,
|
|
909
|
-
ne({
|
|
910
|
-
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
911
|
-
v: r,
|
|
912
|
-
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
913
|
-
r: N
|
|
914
|
-
}),
|
|
915
|
-
{
|
|
916
|
-
datapoint: {
|
|
917
|
-
name: k,
|
|
918
|
-
value: r
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
)}
|
|
922
|
-
</span>
|
|
923
|
-
</div>`);
|
|
924
|
-
const Fe = [
|
|
925
|
-
d && M ? "(" : "",
|
|
926
|
-
d && M ? ")" : ""
|
|
927
|
-
];
|
|
928
|
-
o.reverse().forEach((J) => {
|
|
929
|
-
he += `
|
|
930
|
-
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
931
|
-
<svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${J.id})` : J.color}"/>${ll.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${R.value}_${J.absoluteIndex})"/>` : ""}</svg>
|
|
932
|
-
${J.name}${d || M ? ":" : ""} ${d ? we(
|
|
933
|
-
e.value.style.chart.bars.dataLabels.formatter,
|
|
934
|
-
J.value,
|
|
935
|
-
ne(
|
|
936
|
-
{
|
|
937
|
-
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
938
|
-
v: J.value,
|
|
939
|
-
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
940
|
-
r: N
|
|
941
|
-
}
|
|
942
|
-
)
|
|
943
|
-
) : ""} ${Fe[0]}${M ? ne({
|
|
944
|
-
v: isNaN(J.value / c) ? 0 : Math.abs(J.value) / c * 100,
|
|
945
|
-
// Negs are absed to show relative proportion to absolute total. It's opinionated.
|
|
946
|
-
s: "%",
|
|
947
|
-
r: j
|
|
948
|
-
}) : ""}${Fe[1]}
|
|
949
|
-
</div>
|
|
950
|
-
`;
|
|
951
|
-
}), ot.value = `<div>${he}</div>`;
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
const Sl = g(() => le.value.width), zl = g(() => le.value.height);
|
|
955
|
-
Do({
|
|
956
|
-
timeLabelsEls: e.value.orientation === "vertical" ? ce : ue,
|
|
957
|
-
timeLabels: W,
|
|
958
|
-
slicer: v,
|
|
959
|
-
configRef: e,
|
|
960
|
-
rotationPath: ["style", "chart", "grid", "x", "timeLabels", "rotation"],
|
|
961
|
-
autoRotatePath: [
|
|
962
|
-
"style",
|
|
963
|
-
"chart",
|
|
964
|
-
"grid",
|
|
965
|
-
"x",
|
|
966
|
-
"timeLabels",
|
|
967
|
-
"autoRotate",
|
|
968
|
-
"enable"
|
|
969
|
-
],
|
|
970
|
-
isAutoSize: !1,
|
|
971
|
-
width: Sl,
|
|
972
|
-
height: zl,
|
|
973
|
-
rotation: e.value.style.chart.grid.x.timeLabels.autoRotate.angle
|
|
974
|
-
});
|
|
975
|
-
function ga(t) {
|
|
976
|
-
Se.value = t, Nt.value += 1;
|
|
977
|
-
}
|
|
978
|
-
function ma() {
|
|
979
|
-
$.value.showTable = !$.value.showTable;
|
|
980
|
-
}
|
|
981
|
-
function ba() {
|
|
982
|
-
$.value.dataLabels.show = !$.value.dataLabels.show;
|
|
983
|
-
}
|
|
984
|
-
function pa() {
|
|
985
|
-
$.value.showTooltip = !$.value.showTooltip;
|
|
986
|
-
}
|
|
987
|
-
function Ml() {
|
|
988
|
-
return z.value;
|
|
989
|
-
}
|
|
990
|
-
const xa = g(() => {
|
|
991
|
-
if (z.value.length === 0)
|
|
992
|
-
return { head: [], body: [], config: {}, columnNames: [] };
|
|
993
|
-
const t = z.value.map(({ name: a, color: o }) => ({
|
|
994
|
-
label: a,
|
|
995
|
-
color: o
|
|
996
|
-
})), l = [];
|
|
997
|
-
return W.value.forEach((a) => {
|
|
998
|
-
const o = [
|
|
999
|
-
e.value.style.chart.grid.x.timeLabels.values[a.absoluteIndex] ? a.text : i + 1
|
|
1000
|
-
];
|
|
1001
|
-
U.value.forEach((c) => {
|
|
1002
|
-
o.push(
|
|
1003
|
-
Number(
|
|
1004
|
-
(c.series[a.absoluteIndex] || 0).toFixed(
|
|
1005
|
-
e.value.table.td.roundingValue
|
|
1006
|
-
)
|
|
1007
|
-
)
|
|
1008
|
-
);
|
|
1009
|
-
}), l.push(o);
|
|
1010
|
-
}), { head: t, body: l };
|
|
1011
|
-
});
|
|
1012
|
-
function kt(t = null) {
|
|
1013
|
-
const l = [
|
|
1014
|
-
[e.value.style.chart.title.text],
|
|
1015
|
-
[e.value.style.chart.title.subtitle.text],
|
|
1016
|
-
[""]
|
|
1017
|
-
], a = ["", ...xa.value.head.map((d) => d.label)], o = xa.value.body, c = l.concat([a]).concat(o), r = Co(c);
|
|
1018
|
-
t ? t(r) : So({
|
|
1019
|
-
csvContent: r,
|
|
1020
|
-
title: e.value.style.chart.title.text || "vue-ui-stackbar"
|
|
1021
|
-
});
|
|
1022
|
-
}
|
|
1023
|
-
const pe = g(() => {
|
|
1024
|
-
const t = [""].concat(z.value.map((c) => c.name)).concat(
|
|
1025
|
-
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'
|
|
1026
|
-
);
|
|
1027
|
-
let l = [];
|
|
1028
|
-
for (let c = 0; c < F.value; c += 1) {
|
|
1029
|
-
const r = z.value.map((d) => d.series[c] ?? 0).reduce((d, x) => d + x, 0);
|
|
1030
|
-
l.push(
|
|
1031
|
-
[
|
|
1032
|
-
e.value.style.chart.grid.x.timeLabels.values.slice(
|
|
1033
|
-
v.value.start,
|
|
1034
|
-
v.value.end
|
|
1035
|
-
)[c] ? W.value[c]?.text : c + 1
|
|
1036
|
-
].concat(
|
|
1037
|
-
z.value.map(
|
|
1038
|
-
(d) => (d.series[c] ?? 0).toFixed(
|
|
1039
|
-
e.value.table.td.roundingValue
|
|
1040
|
-
)
|
|
1041
|
-
)
|
|
1042
|
-
).concat(
|
|
1043
|
-
(r ?? 0).toFixed(
|
|
1044
|
-
e.value.table.td.roundingValue
|
|
1045
|
-
)
|
|
1046
|
-
)
|
|
1047
|
-
);
|
|
1048
|
-
}
|
|
1049
|
-
const a = {
|
|
1050
|
-
th: {
|
|
1051
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
1052
|
-
color: e.value.table.th.color,
|
|
1053
|
-
outline: e.value.table.th.outline
|
|
1054
|
-
},
|
|
1055
|
-
td: {
|
|
1056
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
1057
|
-
color: e.value.table.td.color,
|
|
1058
|
-
outline: e.value.table.td.outline
|
|
1059
|
-
},
|
|
1060
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
1061
|
-
}, o = [e.value.table.columnNames.period].concat(z.value.map((c) => c.name)).concat(e.value.table.columnNames.total);
|
|
1062
|
-
return {
|
|
1063
|
-
head: t,
|
|
1064
|
-
body: l.slice(0, v.value.end - v.value.start),
|
|
1065
|
-
config: a,
|
|
1066
|
-
colNames: o
|
|
1067
|
-
};
|
|
1068
|
-
});
|
|
1069
|
-
function Tl() {
|
|
1070
|
-
A.value.length ? A.value = [] : Ae.value.forEach((t) => {
|
|
1071
|
-
A.value.push(t.id);
|
|
1072
|
-
});
|
|
1073
|
-
}
|
|
1074
|
-
function wt(t) {
|
|
1075
|
-
if (A.value.includes(t.id))
|
|
1076
|
-
A.value = A.value.filter((l) => l !== t.id);
|
|
1077
|
-
else {
|
|
1078
|
-
if (A.value.length === U.value.length - 1)
|
|
1079
|
-
return;
|
|
1080
|
-
A.value.push(t.id);
|
|
1081
|
-
}
|
|
1082
|
-
ae("selectLegend", z.value);
|
|
1083
|
-
}
|
|
1084
|
-
function ka(t) {
|
|
1085
|
-
if (!U.value.length)
|
|
1086
|
-
return e.value.debug && console.warn("VueUiStackbar - There are no series to show."), null;
|
|
1087
|
-
const l = U.value.find((a) => a.name === t);
|
|
1088
|
-
return l || (e.value.debug && console.warn(`VueUiStackbar - Series name not found "${t}"`), null);
|
|
1089
|
-
}
|
|
1090
|
-
function _l(t) {
|
|
1091
|
-
const l = ka(t);
|
|
1092
|
-
l !== null && A.value.includes(l.id) && wt({ id: l.id });
|
|
1093
|
-
}
|
|
1094
|
-
function Al(t) {
|
|
1095
|
-
const l = ka(t);
|
|
1096
|
-
l !== null && (A.value.includes(l.id) || wt({ id: l.id }));
|
|
1097
|
-
}
|
|
1098
|
-
const Ae = g(() => U.value.map((t, l) => ({
|
|
1099
|
-
...t,
|
|
1100
|
-
shape: "square"
|
|
1101
|
-
})).map((t) => ({
|
|
1102
|
-
...t,
|
|
1103
|
-
opacity: A.value.includes(t.id) ? 0.5 : 1,
|
|
1104
|
-
segregate: () => wt(t),
|
|
1105
|
-
isSegregated: A.value.includes(t.id)
|
|
1106
|
-
}))), $l = g(() => ({
|
|
1107
|
-
cy: "stackbar-legend",
|
|
1108
|
-
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
1109
|
-
color: e.value.style.chart.legend.color,
|
|
1110
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
1111
|
-
paddingBottom: 12,
|
|
1112
|
-
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
1113
|
-
})), $e = h(!1);
|
|
1114
|
-
function Lt() {
|
|
1115
|
-
$e.value = !$e.value;
|
|
1116
|
-
}
|
|
1117
|
-
function Ze(t, l) {
|
|
1118
|
-
const a = JSON.parse(JSON.stringify(z.value)).map(
|
|
1119
|
-
(o) => ({
|
|
1120
|
-
name: o.name,
|
|
1121
|
-
value: o.series[l] === 0 ? 0 : (o.signedSeries[l] === -1 && o.series[l] >= 0 ? -o.series[l] : o.series[l]) || null,
|
|
1122
|
-
proportion: o.proportions[l] || null,
|
|
1123
|
-
color: o.color,
|
|
1124
|
-
id: o.id
|
|
1125
|
-
})
|
|
1126
|
-
);
|
|
1127
|
-
ae("selectTimeLabel", {
|
|
1128
|
-
datapoint: a,
|
|
1129
|
-
absoluteIndex: t.absoluteIndex,
|
|
1130
|
-
label: t.text
|
|
1131
|
-
});
|
|
1132
|
-
}
|
|
1133
|
-
const Pl = g(() => Math.max(...z.value.flatMap((t) => t.series)));
|
|
1134
|
-
function wa(t, l) {
|
|
1135
|
-
return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Zt.value ? l * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : Zt.value ? (Kt.value && ft.value && console.warn(
|
|
1136
|
-
"Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."
|
|
1137
|
-
), t > Pl.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : Kt.value ? Math.abs(t) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? t !== 0 : !0;
|
|
1138
|
-
}
|
|
1139
|
-
async function Nl({ scale: t = 2 } = {}) {
|
|
1140
|
-
if (!Q.value) return;
|
|
1141
|
-
const { width: l, height: a } = Q.value.getBoundingClientRect(), o = l / a, { imageUri: c, base64: r } = await Eo({
|
|
1142
|
-
domElement: Q.value,
|
|
1143
|
-
base64: !0,
|
|
1144
|
-
img: !0,
|
|
1145
|
-
scale: t
|
|
1146
|
-
});
|
|
1147
|
-
return {
|
|
1148
|
-
imageUri: c,
|
|
1149
|
-
base64: r,
|
|
1150
|
-
title: e.value.style.chart.title.text,
|
|
1151
|
-
width: l,
|
|
1152
|
-
height: a,
|
|
1153
|
-
aspectRatio: o
|
|
1154
|
-
};
|
|
1155
|
-
}
|
|
1156
|
-
const Pe = g(() => {
|
|
1157
|
-
const t = e.value.table.useDialog && !e.value.table.show, l = $.value.showTable;
|
|
1158
|
-
return {
|
|
1159
|
-
component: t ? ja : Ga,
|
|
1160
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1161
|
-
props: t ? {
|
|
1162
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
1163
|
-
color: e.value.table.th.color,
|
|
1164
|
-
headerColor: e.value.table.th.color,
|
|
1165
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
1166
|
-
isFullscreen: Se.value,
|
|
1167
|
-
fullscreenParent: Q.value,
|
|
1168
|
-
forcedWidth: Math.min(800, window.innerWidth * 0.8),
|
|
1169
|
-
isCursorPointer: X.value
|
|
1170
|
-
} : {
|
|
1171
|
-
hideDetails: !0,
|
|
1172
|
-
config: {
|
|
1173
|
-
open: l,
|
|
1174
|
-
maxHeight: 1e4,
|
|
1175
|
-
body: {
|
|
1176
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1177
|
-
color: e.value.style.chart.color
|
|
1178
|
-
},
|
|
1179
|
-
head: {
|
|
1180
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1181
|
-
color: e.value.style.chart.color
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
};
|
|
1186
|
-
});
|
|
1187
|
-
Re(
|
|
1188
|
-
() => $.value.showTable,
|
|
1189
|
-
(t) => {
|
|
1190
|
-
e.value.table.show || (t && e.value.table.useDialog && ze.value ? ze.value.open() : "close" in ze.value && ze.value.close());
|
|
1191
|
-
}
|
|
1192
|
-
);
|
|
1193
|
-
function La() {
|
|
1194
|
-
$.value.showTable = !1, st.value && st.value.setTableIconState(!1);
|
|
1195
|
-
}
|
|
1196
|
-
const Il = g(() => e.value.style.chart.backgroundColor), Fl = g(() => e.value.style.chart.legend), Rl = g(() => e.value.style.chart.title), { exportSvg: Ol, getSvg: Dl } = No({
|
|
1197
|
-
svg: ge,
|
|
1198
|
-
title: Rl,
|
|
1199
|
-
legend: Fl,
|
|
1200
|
-
legendItems: Ae,
|
|
1201
|
-
backgroundColor: Il
|
|
1202
|
-
});
|
|
1203
|
-
async function Ca({ isCb: t }) {
|
|
1204
|
-
He.value = !0, await At();
|
|
1205
|
-
try {
|
|
1206
|
-
if (t) {
|
|
1207
|
-
const { blob: l, url: a, text: o, dataUrl: c } = await Dl();
|
|
1208
|
-
await Promise.resolve(
|
|
1209
|
-
e.value.userOptions.callbacks.svg({
|
|
1210
|
-
blob: l,
|
|
1211
|
-
url: a,
|
|
1212
|
-
text: o,
|
|
1213
|
-
dataUrl: c
|
|
1214
|
-
})
|
|
1215
|
-
);
|
|
1216
|
-
} else
|
|
1217
|
-
await Promise.resolve(Ol());
|
|
1218
|
-
} finally {
|
|
1219
|
-
He.value = !1;
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
function El(t) {
|
|
1223
|
-
if (t?.stage === "start") {
|
|
1224
|
-
Ue.value = !0;
|
|
1225
|
-
return;
|
|
1226
|
-
}
|
|
1227
|
-
if (t?.stage === "end") {
|
|
1228
|
-
Ue.value = !1;
|
|
1229
|
-
return;
|
|
1230
|
-
}
|
|
1231
|
-
jt();
|
|
1232
|
-
}
|
|
1233
|
-
function Sa(t) {
|
|
1234
|
-
const l = F.value;
|
|
1235
|
-
return t > l ? l : t < 0 || t < v.value.start ? e.value.style.chart.zoom.startIndex !== null ? v.value.start + 1 : 1 : t;
|
|
1236
|
-
}
|
|
1237
|
-
const Ne = h(!1), za = h(!1);
|
|
1238
|
-
function Qe() {
|
|
1239
|
-
if (!Ne.value) {
|
|
1240
|
-
Ne.value = !0;
|
|
1241
|
-
try {
|
|
1242
|
-
const { startIndex: t, endIndex: l } = e.value.style.chart.zoom, a = F.value, o = t ?? 0, c = l != null ? Math.min(Sa(l + 1), a) : a;
|
|
1243
|
-
je.value = !0, v.value.start = o, v.value.end = c, H.value.start = o, H.value.end = c, Ge(), za.value = !0;
|
|
1244
|
-
} finally {
|
|
1245
|
-
queueMicrotask(() => {
|
|
1246
|
-
je.value = !1;
|
|
1247
|
-
}), Ne.value = !1;
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
const je = h(!1);
|
|
1252
|
-
function Vl(t) {
|
|
1253
|
-
Ne.value || je.value || t !== v.value.start && (v.value.start = t, H.value.start = t, Ge());
|
|
1254
|
-
}
|
|
1255
|
-
function Bl(t) {
|
|
1256
|
-
if (Ne.value || je.value) return;
|
|
1257
|
-
const l = Sa(t);
|
|
1258
|
-
l !== v.value.end && (v.value.end = l, H.value.end = l, Ge());
|
|
1259
|
-
}
|
|
1260
|
-
function Ul({ seriesIndex: t, datapoint: l }) {
|
|
1261
|
-
const a = v.value.start + t;
|
|
1262
|
-
ae("selectX", {
|
|
1263
|
-
dataset: l,
|
|
1264
|
-
index: a,
|
|
1265
|
-
indexLabel: e.value.style.chart.grid.x.timeLabels.values[a]
|
|
1266
|
-
});
|
|
1267
|
-
}
|
|
1268
|
-
function Ma() {
|
|
1269
|
-
return { y0: Y.value?.[0]?.zero ?? n.value.bottom };
|
|
1270
|
-
}
|
|
1271
|
-
function Hl(t) {
|
|
1272
|
-
const { y0: l } = Ma(), a = e.value.style.chart.bars.totalValues, o = Math.max(2, a.fontSize * 0.3 + a.offsetY);
|
|
1273
|
-
let c = 1 / 0, r = !1;
|
|
1274
|
-
for (const M of z.value || []) {
|
|
1275
|
-
const P = M?.series?.[t] ?? 0, N = M?.height?.[t] ?? 0, j = M?.y?.[t];
|
|
1276
|
-
P > 0 && N > 0 && Number.isFinite(j) && (r = !0, j < c && (c = j));
|
|
1277
|
-
}
|
|
1278
|
-
const x = (r && Number.isFinite(c) ? c : l) - o;
|
|
1279
|
-
return Math.min(Math.max(x, 0), n.value.bottom);
|
|
1280
|
-
}
|
|
1281
|
-
function Wl(t) {
|
|
1282
|
-
const { x0: l } = Ma(), a = Math.max(
|
|
1283
|
-
2,
|
|
1284
|
-
e.value.style.chart.bars.totalValues.fontSize * 0.3 + e.value.style.chart.bars.totalValues.offsetX
|
|
1285
|
-
);
|
|
1286
|
-
let o = -1 / 0, c = !1;
|
|
1287
|
-
for (const d of z.value || []) {
|
|
1288
|
-
const x = d?.series?.[t] ?? 0, k = d?.horizontal_x?.[t], M = d?.horizontal_width?.[t], P = Number.isFinite(M) ? Math.max(0, M) : 0;
|
|
1289
|
-
Number.isFinite(k) && x > 0 && P > 0 && (c = !0, o = Math.max(o, k + P));
|
|
1290
|
-
}
|
|
1291
|
-
return (c && Number.isFinite(o) ? o : l) + a;
|
|
1292
|
-
}
|
|
1293
|
-
async function Ta() {
|
|
1294
|
-
if (ae("copyAlt", {
|
|
1295
|
-
config: e.value,
|
|
1296
|
-
dataset: z.value
|
|
1297
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
1298
|
-
console.warn(
|
|
1299
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
1300
|
-
);
|
|
1301
|
-
return;
|
|
1302
|
-
}
|
|
1303
|
-
await Promise.resolve(
|
|
1304
|
-
e.value.userOptions.callbacks.altCopy({
|
|
1305
|
-
config: e.value,
|
|
1306
|
-
dataset: z.value
|
|
1307
|
-
})
|
|
1308
|
-
);
|
|
1309
|
-
}
|
|
1310
|
-
const Ct = h(!1);
|
|
1311
|
-
function Xl() {
|
|
1312
|
-
G.value = null, Ct.value = !0;
|
|
1313
|
-
}
|
|
1314
|
-
function Yl() {
|
|
1315
|
-
G.value = null, ye.value = !1, B.value = null, ae("selectX", { seriesIndex: null, datapoint: null }), Ct.value = !1;
|
|
1316
|
-
}
|
|
1317
|
-
function ql(t) {
|
|
1318
|
-
if (!ge.value || $e.value || document.activeElement !== ge.value || gt.value || !v.value.end && v.value.end !== 0) return;
|
|
1319
|
-
const l = e.value.orientation === "vertical", a = e.value.orientation === "horizontal", o = l && t.key === "ArrowLeft" || a && t.key === "ArrowUp", c = l && t.key === "ArrowRight" || a && t.key === "ArrowDown", r = t.key === "Enter" || t.key === " ", d = t.key === "Escape";
|
|
1320
|
-
if (!o && !c && !r && !d)
|
|
1321
|
-
return;
|
|
1322
|
-
const x = v.value.end - v.value.start;
|
|
1323
|
-
if (x <= 0) return;
|
|
1324
|
-
if (t.preventDefault(), t.stopPropagation(), d) {
|
|
1325
|
-
G.value = null, ye.value = !1, B.value = null, ae("selectX", { seriesIndex: null, datapoint: null });
|
|
1326
|
-
return;
|
|
1327
|
-
}
|
|
1328
|
-
if (r) {
|
|
1329
|
-
if (G.value === null) return;
|
|
1330
|
-
bt(G.value);
|
|
1331
|
-
return;
|
|
1332
|
-
}
|
|
1333
|
-
let k = G.value;
|
|
1334
|
-
const M = B.value, P = k !== null && k >= 0 && k < x, N = M !== null && M >= 0 && M < x;
|
|
1335
|
-
P ? c ? (k += 1, k >= x && (k = 0)) : o && (k -= 1, k < 0 && (k = x - 1)) : N ? (k = c ? M + 1 : M - 1, k >= x && (k = 0), k < 0 && (k = x - 1)) : c ? k = 0 : k = x - 1, G.value = k, Gl(k), xt(k, "keyboard");
|
|
1336
|
-
}
|
|
1337
|
-
function Gl(t) {
|
|
1338
|
-
if (!Number.isFinite(t)) return;
|
|
1339
|
-
let l, a;
|
|
1340
|
-
e.value.orientation === "vertical" ? (l = n.value.left + t * m.value + m.value / 2, a = n.value.top + n.value.height / 2) : (l = n.value.left + n.value.width / 2, a = n.value.top + t * m.value + m.value / 2);
|
|
1341
|
-
const o = Mo(l, a, ge.value);
|
|
1342
|
-
o && (Ht.value = o);
|
|
1343
|
-
}
|
|
1344
|
-
const St = g(() => {
|
|
1345
|
-
const t = pe.value?.colNames ?? [], l = pe.value?.body ?? [];
|
|
1346
|
-
return { headers: t, rows: l };
|
|
1347
|
-
});
|
|
1348
|
-
return Wa({
|
|
1349
|
-
getData: Ml,
|
|
1350
|
-
getImage: Nl,
|
|
1351
|
-
generatePdf: Qt,
|
|
1352
|
-
generateCsv: kt,
|
|
1353
|
-
generateImage: jt,
|
|
1354
|
-
generateSvg: Ca,
|
|
1355
|
-
hideSeries: Al,
|
|
1356
|
-
showSeries: _l,
|
|
1357
|
-
toggleTable: ma,
|
|
1358
|
-
toggleLabels: ba,
|
|
1359
|
-
toggleTooltip: pa,
|
|
1360
|
-
toggleAnnotator: Lt,
|
|
1361
|
-
toggleFullscreen: ga,
|
|
1362
|
-
copyAlt: Ta
|
|
1363
|
-
}), (t, l) => (s(), u("div", {
|
|
1364
|
-
id: `stackbar_${R.value}`,
|
|
1365
|
-
ref_key: "stackbarChart",
|
|
1366
|
-
ref: Q,
|
|
1367
|
-
class: ke({
|
|
1368
|
-
"vue-data-ui-component": !0,
|
|
1369
|
-
"vue-ui-stackbar": !0,
|
|
1370
|
-
"vue-data-ui-wrapper-fullscreen": Se.value
|
|
1371
|
-
}),
|
|
1372
|
-
style: q(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
1373
|
-
onMouseenter: il,
|
|
1374
|
-
onMouseleave: ul
|
|
1375
|
-
}, [
|
|
1376
|
-
Z("div", {
|
|
1377
|
-
id: `chart-instructions-${R.value}`,
|
|
1378
|
-
class: "sr-only"
|
|
1379
|
-
}, [
|
|
1380
|
-
Z("p", null, V(e.value.a11y.translations.keyboardNavigation), 1)
|
|
1381
|
-
], 8, Jo),
|
|
1382
|
-
St.value?.rows?.length ? (s(), ee(Wo, {
|
|
1383
|
-
key: 0,
|
|
1384
|
-
uid: R.value,
|
|
1385
|
-
head: St.value.headers,
|
|
1386
|
-
body: St.value.rows,
|
|
1387
|
-
notice: e.value.a11y.translations.tableAvailable,
|
|
1388
|
-
caption: e.value.a11y.translations.tableCaption
|
|
1389
|
-
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : f("", !0),
|
|
1390
|
-
e.value.userOptions.buttons.annotator ? (s(), ee(b(Ka), {
|
|
1391
|
-
key: 1,
|
|
1392
|
-
svgRef: b(ge),
|
|
1393
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1394
|
-
color: e.value.style.chart.color,
|
|
1395
|
-
active: $e.value,
|
|
1396
|
-
isCursorPointer: X.value,
|
|
1397
|
-
onClose: Lt
|
|
1398
|
-
}, {
|
|
1399
|
-
"annotator-action-close": C(() => [
|
|
1400
|
-
L(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
1401
|
-
]),
|
|
1402
|
-
"annotator-action-color": C(({ color: a }) => [
|
|
1403
|
-
L(t.$slots, "annotator-action-color", D(E({ color: a })), void 0, !0)
|
|
1404
|
-
]),
|
|
1405
|
-
"annotator-action-draw": C(({ mode: a }) => [
|
|
1406
|
-
L(t.$slots, "annotator-action-draw", D(E({ mode: a })), void 0, !0)
|
|
1407
|
-
]),
|
|
1408
|
-
"annotator-action-undo": C(({ disabled: a }) => [
|
|
1409
|
-
L(t.$slots, "annotator-action-undo", D(E({ disabled: a })), void 0, !0)
|
|
1410
|
-
]),
|
|
1411
|
-
"annotator-action-redo": C(({ disabled: a }) => [
|
|
1412
|
-
L(t.$slots, "annotator-action-redo", D(E({ disabled: a })), void 0, !0)
|
|
1413
|
-
]),
|
|
1414
|
-
"annotator-action-delete": C(({ disabled: a }) => [
|
|
1415
|
-
L(t.$slots, "annotator-action-delete", D(E({ disabled: a })), void 0, !0)
|
|
1416
|
-
]),
|
|
1417
|
-
_: 3
|
|
1418
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : f("", !0),
|
|
1419
|
-
L(t.$slots, "userConfig", {}, void 0, !0),
|
|
1420
|
-
e.value.style.chart.title.text ? (s(), u("div", {
|
|
1421
|
-
key: 2,
|
|
1422
|
-
ref_key: "chartTitle",
|
|
1423
|
-
ref: It,
|
|
1424
|
-
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
1425
|
-
}, [
|
|
1426
|
-
(s(), ee(Vo, {
|
|
1427
|
-
key: `title_${Ot.value}`,
|
|
1428
|
-
config: {
|
|
1429
|
-
title: {
|
|
1430
|
-
cy: "stackbar-title",
|
|
1431
|
-
...e.value.style.chart.title
|
|
1432
|
-
},
|
|
1433
|
-
subtitle: {
|
|
1434
|
-
cy: "stackbar-subtitle",
|
|
1435
|
-
...e.value.style.chart.title.subtitle
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
}, null, 8, ["config"]))
|
|
1439
|
-
], 512)) : f("", !0),
|
|
1440
|
-
Z("div", {
|
|
1441
|
-
id: `legend-top-${R.value}`
|
|
1442
|
-
}, null, 8, Ko),
|
|
1443
|
-
e.value.userOptions.show && Le.value && (b(Jt) || b(vt)) ? (s(), ee(b(Za), {
|
|
1444
|
-
ref_key: "userOptionsRef",
|
|
1445
|
-
ref: st,
|
|
1446
|
-
key: `user_option_${Nt.value}`,
|
|
1447
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1448
|
-
color: e.value.style.chart.color,
|
|
1449
|
-
isPrinting: b(dt),
|
|
1450
|
-
isImaging: b(yt),
|
|
1451
|
-
uid: R.value,
|
|
1452
|
-
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
1453
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
1454
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
1455
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
1456
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
1457
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
1458
|
-
hasLabel: e.value.userOptions.buttons.labels,
|
|
1459
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
1460
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
1461
|
-
isFullscreen: Se.value,
|
|
1462
|
-
chartElement: Q.value,
|
|
1463
|
-
position: e.value.userOptions.position,
|
|
1464
|
-
isTooltip: $.value.showTooltip,
|
|
1465
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
1466
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
1467
|
-
isAnnotation: $e.value,
|
|
1468
|
-
callbacks: e.value.userOptions.callbacks,
|
|
1469
|
-
printScale: e.value.userOptions.print.scale,
|
|
1470
|
-
tableDialog: e.value.table.useDialog,
|
|
1471
|
-
isCursorPointer: X.value,
|
|
1472
|
-
onToggleFullscreen: ga,
|
|
1473
|
-
onGeneratePdf: b(Qt),
|
|
1474
|
-
onGenerateCsv: kt,
|
|
1475
|
-
onGenerateImage: El,
|
|
1476
|
-
onGenerateSvg: Ca,
|
|
1477
|
-
onToggleTable: ma,
|
|
1478
|
-
onToggleLabels: ba,
|
|
1479
|
-
onToggleTooltip: pa,
|
|
1480
|
-
onToggleAnnotator: Lt,
|
|
1481
|
-
onCopyAlt: Ta,
|
|
1482
|
-
style: q({
|
|
1483
|
-
visibility: b(Jt) ? b(vt) ? "visible" : "hidden" : "visible"
|
|
1484
|
-
})
|
|
1485
|
-
}, $t({ _: 2 }, [
|
|
1486
|
-
t.$slots.menuIcon ? {
|
|
1487
|
-
name: "menuIcon",
|
|
1488
|
-
fn: C(({ isOpen: a, color: o }) => [
|
|
1489
|
-
L(t.$slots, "menuIcon", D(E({ isOpen: a, color: o })), void 0, !0)
|
|
1490
|
-
]),
|
|
1491
|
-
key: "0"
|
|
1492
|
-
} : void 0,
|
|
1493
|
-
t.$slots.optionTooltip ? {
|
|
1494
|
-
name: "optionTooltip",
|
|
1495
|
-
fn: C(() => [
|
|
1496
|
-
L(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
1497
|
-
]),
|
|
1498
|
-
key: "1"
|
|
1499
|
-
} : void 0,
|
|
1500
|
-
t.$slots.optionPdf ? {
|
|
1501
|
-
name: "optionPdf",
|
|
1502
|
-
fn: C(() => [
|
|
1503
|
-
L(t.$slots, "optionPdf", {}, void 0, !0)
|
|
1504
|
-
]),
|
|
1505
|
-
key: "2"
|
|
1506
|
-
} : void 0,
|
|
1507
|
-
t.$slots.optionCsv ? {
|
|
1508
|
-
name: "optionCsv",
|
|
1509
|
-
fn: C(() => [
|
|
1510
|
-
L(t.$slots, "optionCsv", {}, void 0, !0)
|
|
1511
|
-
]),
|
|
1512
|
-
key: "3"
|
|
1513
|
-
} : void 0,
|
|
1514
|
-
t.$slots.optionImg ? {
|
|
1515
|
-
name: "optionImg",
|
|
1516
|
-
fn: C(() => [
|
|
1517
|
-
L(t.$slots, "optionImg", {}, void 0, !0)
|
|
1518
|
-
]),
|
|
1519
|
-
key: "4"
|
|
1520
|
-
} : void 0,
|
|
1521
|
-
t.$slots.optionSvg ? {
|
|
1522
|
-
name: "optionSvg",
|
|
1523
|
-
fn: C(() => [
|
|
1524
|
-
L(t.$slots, "optionSvg", {}, void 0, !0)
|
|
1525
|
-
]),
|
|
1526
|
-
key: "5"
|
|
1527
|
-
} : void 0,
|
|
1528
|
-
t.$slots.optionTable ? {
|
|
1529
|
-
name: "optionTable",
|
|
1530
|
-
fn: C(() => [
|
|
1531
|
-
L(t.$slots, "optionTable", {}, void 0, !0)
|
|
1532
|
-
]),
|
|
1533
|
-
key: "6"
|
|
1534
|
-
} : void 0,
|
|
1535
|
-
t.$slots.optionLabels ? {
|
|
1536
|
-
name: "optionLabels",
|
|
1537
|
-
fn: C(() => [
|
|
1538
|
-
L(t.$slots, "optionLabels", {}, void 0, !0)
|
|
1539
|
-
]),
|
|
1540
|
-
key: "7"
|
|
1541
|
-
} : void 0,
|
|
1542
|
-
t.$slots.optionFullscreen ? {
|
|
1543
|
-
name: "optionFullscreen",
|
|
1544
|
-
fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
1545
|
-
L(t.$slots, "optionFullscreen", D(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
1546
|
-
]),
|
|
1547
|
-
key: "8"
|
|
1548
|
-
} : void 0,
|
|
1549
|
-
t.$slots.optionAnnotator ? {
|
|
1550
|
-
name: "optionAnnotator",
|
|
1551
|
-
fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
1552
|
-
L(t.$slots, "optionAnnotator", D(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
1553
|
-
]),
|
|
1554
|
-
key: "9"
|
|
1555
|
-
} : void 0,
|
|
1556
|
-
t.$slots.optionAltCopy ? {
|
|
1557
|
-
name: "optionAltCopy",
|
|
1558
|
-
fn: C(({ altCopy: a }) => [
|
|
1559
|
-
L(t.$slots, "optionAltCopy", D(E({ altCopy: a })), void 0, !0)
|
|
1560
|
-
]),
|
|
1561
|
-
key: "10"
|
|
1562
|
-
} : void 0
|
|
1563
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "hasAltCopy", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : f("", !0),
|
|
1564
|
-
Z("div", Zo, [
|
|
1565
|
-
(s(), u("svg", {
|
|
1566
|
-
ref_key: "svgRef",
|
|
1567
|
-
ref: ge,
|
|
1568
|
-
xmlns: b(xo),
|
|
1569
|
-
"aria-describedby": `chart-instructions-${R.value}`,
|
|
1570
|
-
viewBox: `0 0 ${n.value.chartWidth <= 0 ? 10 : n.value.chartWidth} ${n.value.chartHeight <= 0 ? 10 : n.value.chartHeight}`,
|
|
1571
|
-
class: ke({ "vue-data-ui-loading": b(fe) }),
|
|
1572
|
-
style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
|
|
1573
|
-
tabindex: "0",
|
|
1574
|
-
onFocus: Xl,
|
|
1575
|
-
onBlur: Yl,
|
|
1576
|
-
onKeydown: ql
|
|
1577
|
-
}, [
|
|
1578
|
-
De(b(Qa)),
|
|
1579
|
-
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
1580
|
-
key: 0,
|
|
1581
|
-
x: n.value.left,
|
|
1582
|
-
y: n.value.top,
|
|
1583
|
-
width: n.value.width <= 0 ? 10 : n.value.width,
|
|
1584
|
-
height: n.value.height <= 0 ? 10 : n.value.height,
|
|
1585
|
-
style: {
|
|
1586
|
-
pointerEvents: "none"
|
|
1587
|
-
}
|
|
1588
|
-
}, [
|
|
1589
|
-
L(t.$slots, "chart-background", {}, void 0, !0)
|
|
1590
|
-
], 8, jo)) : f("", !0),
|
|
1591
|
-
e.value.style.chart.bars.gradient.show ? (s(), u("defs", es, [
|
|
1592
|
-
(s(!0), u(w, null, S(z.value, (a, o) => (s(), u("linearGradient", {
|
|
1593
|
-
id: `gradient_${a.id}`,
|
|
1594
|
-
x1: "0%",
|
|
1595
|
-
y1: "0%",
|
|
1596
|
-
x2: "0%",
|
|
1597
|
-
y2: "100%"
|
|
1598
|
-
}, [
|
|
1599
|
-
Z("stop", {
|
|
1600
|
-
offset: "0%",
|
|
1601
|
-
"stop-color": a.color
|
|
1602
|
-
}, null, 8, as),
|
|
1603
|
-
Z("stop", {
|
|
1604
|
-
offset: "61.8%",
|
|
1605
|
-
"stop-color": b(ko)(
|
|
1606
|
-
a.color,
|
|
1607
|
-
e.value.style.chart.bars.gradient.intensity / 100
|
|
1608
|
-
)
|
|
1609
|
-
}, null, 8, ls),
|
|
1610
|
-
Z("stop", {
|
|
1611
|
-
offset: "100%",
|
|
1612
|
-
"stop-color": a.color
|
|
1613
|
-
}, null, 8, os)
|
|
1614
|
-
], 8, ts))), 256))
|
|
1615
|
-
])) : f("", !0),
|
|
1616
|
-
e.value.style.chart.grid.frame.show ? (s(), u("rect", {
|
|
1617
|
-
key: 2,
|
|
1618
|
-
style: {
|
|
1619
|
-
pointerEvents: "none",
|
|
1620
|
-
transition: "none",
|
|
1621
|
-
animation: "none !important"
|
|
1622
|
-
},
|
|
1623
|
-
x: Math.max(0, n.value.left),
|
|
1624
|
-
y: Math.max(0, n.value.top),
|
|
1625
|
-
width: Math.max(0, n.value.width),
|
|
1626
|
-
height: Math.max(0, n.value.height),
|
|
1627
|
-
fill: "transparent",
|
|
1628
|
-
stroke: e.value.style.chart.grid.frame.stroke,
|
|
1629
|
-
"stroke-width": e.value.style.chart.grid.frame.strokeWidth,
|
|
1630
|
-
"stroke-linecap": e.value.style.chart.grid.frame.strokeLinecap,
|
|
1631
|
-
"stroke-linejoin": e.value.style.chart.grid.frame.strokeLinejoin,
|
|
1632
|
-
"stroke-dasharray": e.value.style.chart.grid.frame.strokeDasharray
|
|
1633
|
-
}, null, 8, ss)) : f("", !0),
|
|
1634
|
-
e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (s(!0), u(w, { key: 3 }, S(Y.value, (a, o) => (s(), u("line", {
|
|
1635
|
-
x1: n.value.left,
|
|
1636
|
-
x2: n.value.right,
|
|
1637
|
-
y1: a.y,
|
|
1638
|
-
y2: a.y,
|
|
1639
|
-
stroke: e.value.style.chart.grid.x.linesColor,
|
|
1640
|
-
"stroke-width": e.value.style.chart.grid.x.linesThickness,
|
|
1641
|
-
"stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
|
|
1642
|
-
"stroke-linecap": "round"
|
|
1643
|
-
}, null, 8, rs))), 256)) : f("", !0),
|
|
1644
|
-
e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (s(!0), u(w, { key: 4 }, S(v.value.end - v.value.start + 1, (a, o) => (s(), u("line", {
|
|
1645
|
-
x1: n.value.left,
|
|
1646
|
-
x2: n.value.right,
|
|
1647
|
-
y1: n.value.top + m.value * o,
|
|
1648
|
-
y2: n.value.top + m.value * o,
|
|
1649
|
-
stroke: e.value.style.chart.grid.x.linesColor,
|
|
1650
|
-
"stroke-width": e.value.style.chart.grid.x.linesThickness,
|
|
1651
|
-
"stroke-dasharray": e.value.style.chart.grid.x.linesStrokeDasharray,
|
|
1652
|
-
"stroke-linecap": "round"
|
|
1653
|
-
}, null, 8, ns))), 256)) : f("", !0),
|
|
1654
|
-
e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (s(!0), u(w, { key: 5 }, S(v.value.end - v.value.start + 1, (a, o) => (s(), u("line", {
|
|
1655
|
-
x1: n.value.left + m.value * o,
|
|
1656
|
-
x2: n.value.left + m.value * o,
|
|
1657
|
-
y1: n.value.top,
|
|
1658
|
-
y2: n.value.bottom,
|
|
1659
|
-
stroke: e.value.style.chart.grid.y.linesColor,
|
|
1660
|
-
"stroke-width": e.value.style.chart.grid.y.linesThickness,
|
|
1661
|
-
"stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
|
|
1662
|
-
"stroke-linecap": "round"
|
|
1663
|
-
}, null, 8, is))), 256)) : f("", !0),
|
|
1664
|
-
e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "horizontal" ? (s(!0), u(w, { key: 6 }, S(Y.value, (a, o) => (s(), u("line", {
|
|
1665
|
-
x1: a.horizontal_x,
|
|
1666
|
-
x2: a.horizontal_x,
|
|
1667
|
-
y1: n.value.top,
|
|
1668
|
-
y2: n.value.bottom,
|
|
1669
|
-
stroke: e.value.style.chart.grid.y.linesColor,
|
|
1670
|
-
"stroke-width": e.value.style.chart.grid.y.linesThickness,
|
|
1671
|
-
"stroke-dasharray": e.value.style.chart.grid.y.linesStrokeDasharray,
|
|
1672
|
-
"stroke-linecap": "round"
|
|
1673
|
-
}, null, 8, us))), 256)) : f("", !0),
|
|
1674
|
-
(s(!0), u(w, null, S(z.value, (a, o) => (s(), u("g", null, [
|
|
1675
|
-
t.$slots.pattern ? (s(), u("defs", cs, [
|
|
1676
|
-
L(t.$slots, "pattern", Ee({ ref_for: !0 }, {
|
|
1677
|
-
seriesIndex: a.absoluteIndex,
|
|
1678
|
-
patternId: `pattern_${R.value}_${a.absoluteIndex}`
|
|
1679
|
-
}), void 0, !0)
|
|
1680
|
-
])) : f("", !0),
|
|
1681
|
-
e.value.orientation === "vertical" ? (s(), u(w, { key: 1 }, [
|
|
1682
|
-
(s(!0), u(w, null, S(a.x, (c, r) => (s(), u("rect", {
|
|
1683
|
-
x: c,
|
|
1684
|
-
y: b(de)(a.y[r]),
|
|
1685
|
-
height: a.height[r] < 0 ? 1e-4 : a.height[r] || 0,
|
|
1686
|
-
rx: e.value.style.chart.bars.borderRadius > a.height[r] / 2 ? (a.height[r] < 0 ? 0 : a.height[r]) / 2 : e.value.style.chart.bars.borderRadius,
|
|
1687
|
-
width: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
|
|
1688
|
-
fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${a.id})` : a.color,
|
|
1689
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
1690
|
-
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
1691
|
-
"stroke-linecap": "round",
|
|
1692
|
-
"stroke-linejoin": "round",
|
|
1693
|
-
class: ke({
|
|
1694
|
-
"vue-data-ui-bar-animated": e.value.useCssAnimation,
|
|
1695
|
-
"vue-data-ui-bar-transition": ie.value
|
|
1696
|
-
})
|
|
1697
|
-
}, null, 10, vs))), 256)),
|
|
1698
|
-
t.$slots.pattern ? (s(), u("g", hs, [
|
|
1699
|
-
(s(!0), u(w, null, S(a.x, (c, r) => (s(), u("rect", {
|
|
1700
|
-
x: c,
|
|
1701
|
-
y: b(de)(a.y[r]),
|
|
1702
|
-
height: a.height[r] < 0 ? 1e-4 : a.height[r] || 0,
|
|
1703
|
-
rx: e.value.style.chart.bars.borderRadius > a.height[r] / 2 ? (a.height[r] < 0 ? 0 : a.height[r]) / 2 : e.value.style.chart.bars.borderRadius,
|
|
1704
|
-
width: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
|
|
1705
|
-
fill: `url(#pattern_${R.value}_${a.absoluteIndex})`,
|
|
1706
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
1707
|
-
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
1708
|
-
"stroke-linecap": "round",
|
|
1709
|
-
"stroke-linejoin": "round",
|
|
1710
|
-
class: ke({
|
|
1711
|
-
"vue-data-ui-bar-animated": e.value.useCssAnimation,
|
|
1712
|
-
"vue-data-ui-bar-transition": ie.value
|
|
1713
|
-
})
|
|
1714
|
-
}, null, 10, ds))), 256))
|
|
1715
|
-
])) : f("", !0)
|
|
1716
|
-
], 64)) : (s(), u(w, { key: 2 }, [
|
|
1717
|
-
(s(!0), u(w, null, S(a.horizontal_x, (c, r) => (s(), u("rect", {
|
|
1718
|
-
x: b(de)(c, n.value.left),
|
|
1719
|
-
y: a.horizontal_y[r] < 0 ? 0 : a.horizontal_y[r],
|
|
1720
|
-
width: b(de)(
|
|
1721
|
-
a.horizontal_width[r] < 0 ? 1e-4 : a.horizontal_width[r]
|
|
1722
|
-
),
|
|
1723
|
-
rx: e.value.style.chart.bars.borderRadius > a.height[r] / 2 ? (a.height[r] < 0 ? 0 : a.height[r]) / 2 : e.value.style.chart.bars.borderRadius,
|
|
1724
|
-
height: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
|
|
1725
|
-
fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${a.id})` : a.color,
|
|
1726
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
1727
|
-
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
1728
|
-
"stroke-linecap": "round",
|
|
1729
|
-
"stroke-linejoin": "round",
|
|
1730
|
-
class: ke({
|
|
1731
|
-
"vue-data-ui-bar-animated": e.value.useCssAnimation,
|
|
1732
|
-
"vue-data-ui-bar-transition": ie.value
|
|
1733
|
-
})
|
|
1734
|
-
}, null, 10, ys))), 256)),
|
|
1735
|
-
t.$slots.pattern ? (s(), u("g", fs, [
|
|
1736
|
-
(s(!0), u(w, null, S(a.horizontal_x, (c, r) => (s(), u("rect", {
|
|
1737
|
-
x: b(de)(c, n.value.left),
|
|
1738
|
-
y: a.horizontal_y[r] < 0 ? 0 : a.horizontal_y[r],
|
|
1739
|
-
width: b(de)(
|
|
1740
|
-
a.horizontal_width[r] < 0 ? 1e-4 : a.horizontal_width[r]
|
|
1741
|
-
),
|
|
1742
|
-
rx: e.value.style.chart.bars.borderRadius > a.height[r] / 2 ? (a.height[r] < 0 ? 0 : a.height[r]) / 2 : e.value.style.chart.bars.borderRadius,
|
|
1743
|
-
height: m.value * (1 - e.value.style.chart.bars.gapRatio / 2),
|
|
1744
|
-
fill: `url(#pattern_${R.value}_${a.absoluteIndex})`,
|
|
1745
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
1746
|
-
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
1747
|
-
"stroke-linecap": "round",
|
|
1748
|
-
"stroke-linejoin": "round",
|
|
1749
|
-
class: ke({
|
|
1750
|
-
"vue-data-ui-bar-animated": e.value.useCssAnimation,
|
|
1751
|
-
"vue-data-ui-bar-transition": ie.value
|
|
1752
|
-
})
|
|
1753
|
-
}, null, 10, gs))), 256))
|
|
1754
|
-
])) : f("", !0)
|
|
1755
|
-
], 64))
|
|
1756
|
-
]))), 256)),
|
|
1757
|
-
e.value.style.chart.grid.x.showAxis ? (s(), u("line", {
|
|
1758
|
-
key: 7,
|
|
1759
|
-
x1: n.value.left,
|
|
1760
|
-
x2: n.value.right,
|
|
1761
|
-
y1: n.value.bottom,
|
|
1762
|
-
y2: n.value.bottom,
|
|
1763
|
-
stroke: e.value.style.chart.grid.x.axisColor,
|
|
1764
|
-
"stroke-width": e.value.style.chart.grid.x.axisThickness,
|
|
1765
|
-
"stroke-linecap": "round",
|
|
1766
|
-
"stroke-linejoin": "round"
|
|
1767
|
-
}, null, 8, ms)) : f("", !0),
|
|
1768
|
-
e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (s(), u("line", {
|
|
1769
|
-
key: 8,
|
|
1770
|
-
x1: n.value.left,
|
|
1771
|
-
x2: n.value.left,
|
|
1772
|
-
y1: n.value.top,
|
|
1773
|
-
y2: n.value.bottom,
|
|
1774
|
-
stroke: e.value.style.chart.grid.y.axisColor,
|
|
1775
|
-
"stroke-width": e.value.style.chart.grid.y.axisThickness,
|
|
1776
|
-
"stroke-linecap": "round",
|
|
1777
|
-
"stroke-linejoin": "round"
|
|
1778
|
-
}, null, 8, bs)) : f("", !0),
|
|
1779
|
-
e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (s(), u("text", {
|
|
1780
|
-
key: 9,
|
|
1781
|
-
ref_key: "xAxisLabel",
|
|
1782
|
-
ref: We,
|
|
1783
|
-
x: n.value.left + n.value.width / 2,
|
|
1784
|
-
y: n.value.chartHeight - 3,
|
|
1785
|
-
"font-size": e.value.style.chart.grid.x.axisName.fontSize,
|
|
1786
|
-
fill: e.value.style.chart.grid.x.axisName.color,
|
|
1787
|
-
"font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
|
|
1788
|
-
"text-anchor": "middle"
|
|
1789
|
-
}, V(e.value.style.chart.grid.x.axisName.text), 9, ps)) : f("", !0),
|
|
1790
|
-
e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (s(), u("text", {
|
|
1791
|
-
key: 10,
|
|
1792
|
-
ref_key: "yAxisLabel",
|
|
1793
|
-
ref: rt,
|
|
1794
|
-
transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize}, ${n.value.top + n.value.height / 2}) rotate(-90)`,
|
|
1795
|
-
"font-size": e.value.style.chart.grid.y.axisName.fontSize,
|
|
1796
|
-
fill: e.value.style.chart.grid.y.axisName.color,
|
|
1797
|
-
"font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
|
|
1798
|
-
"text-anchor": "middle"
|
|
1799
|
-
}, V(e.value.style.chart.grid.y.axisName.text), 9, xs)) : f("", !0),
|
|
1800
|
-
$.value.dataLabels.show && e.value.orientation === "vertical" ? (s(), u(w, { key: 11 }, [
|
|
1801
|
-
(s(!0), u(w, null, S(z.value, (a, o) => (s(), u("g", null, [
|
|
1802
|
-
(s(!0), u(w, null, S(a.x, (c, r) => (s(), u(w, null, [
|
|
1803
|
-
wa(
|
|
1804
|
-
a.series[r],
|
|
1805
|
-
a.proportions[r]
|
|
1806
|
-
) ? (s(), u("text", {
|
|
1807
|
-
key: 0,
|
|
1808
|
-
x: c + m.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
|
|
1809
|
-
y: a.y[r] + a.height[r] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1810
|
-
"font-size": e.value.style.chart.bars.dataLabels.fontSize,
|
|
1811
|
-
fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? b(Ea)(a.color) : e.value.style.chart.bars.dataLabels.color,
|
|
1812
|
-
"font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1813
|
-
"text-anchor": "middle"
|
|
1814
|
-
}, V(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? da(
|
|
1815
|
-
a.proportions[r] * 100,
|
|
1816
|
-
a,
|
|
1817
|
-
o,
|
|
1818
|
-
r
|
|
1819
|
-
) : Ke(
|
|
1820
|
-
a.series[r],
|
|
1821
|
-
a,
|
|
1822
|
-
o,
|
|
1823
|
-
r,
|
|
1824
|
-
a.signedSeries[r]
|
|
1825
|
-
)), 9, ks)) : f("", !0)
|
|
1826
|
-
], 64))), 256))
|
|
1827
|
-
]))), 256)),
|
|
1828
|
-
e.value.style.chart.bars.totalValues.show && z.value.length > 1 ? (s(), u("g", {
|
|
1829
|
-
key: 0,
|
|
1830
|
-
ref_key: "sumTop",
|
|
1831
|
-
ref: rl
|
|
1832
|
-
}, [
|
|
1833
|
-
(s(!0), u(w, null, S(ha.value, (a, o) => (s(), u(w, null, [
|
|
1834
|
-
!e.value.style.chart.bars.dataLabels.hideEmptyValues || a.value !== 0 ? (s(), u("text", {
|
|
1835
|
-
key: 0,
|
|
1836
|
-
x: n.value.left + m.value * o + m.value / 2,
|
|
1837
|
-
y: Hl(o),
|
|
1838
|
-
"text-anchor": "middle",
|
|
1839
|
-
"font-size": e.value.style.chart.bars.totalValues.fontSize,
|
|
1840
|
-
"font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
1841
|
-
fill: e.value.style.chart.bars.totalValues.color
|
|
1842
|
-
}, V(Ke(
|
|
1843
|
-
a.value,
|
|
1844
|
-
a,
|
|
1845
|
-
o,
|
|
1846
|
-
a.sign
|
|
1847
|
-
)), 9, ws)) : f("", !0)
|
|
1848
|
-
], 64))), 256))
|
|
1849
|
-
], 512)) : f("", !0)
|
|
1850
|
-
], 64)) : f("", !0),
|
|
1851
|
-
$.value.dataLabels.show && e.value.orientation === "horizontal" ? (s(), u(w, { key: 12 }, [
|
|
1852
|
-
(s(!0), u(w, null, S(z.value, (a, o) => (s(), u("g", null, [
|
|
1853
|
-
(s(!0), u(w, null, S(a.horizontal_x, (c, r) => (s(), u(w, null, [
|
|
1854
|
-
wa(
|
|
1855
|
-
a.series[r],
|
|
1856
|
-
a.proportions[r]
|
|
1857
|
-
) ? (s(), u("text", {
|
|
1858
|
-
key: 0,
|
|
1859
|
-
x: c + (a.horizontal_width[r] < 0 ? 1e-4 : a.horizontal_width[r]) / 2,
|
|
1860
|
-
y: a.horizontal_y[r] + m.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1861
|
-
"font-size": e.value.style.chart.bars.dataLabels.fontSize,
|
|
1862
|
-
fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? b(Ea)(a.color) : e.value.style.chart.bars.dataLabels.color,
|
|
1863
|
-
"font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1864
|
-
"text-anchor": "middle"
|
|
1865
|
-
}, V(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? da(
|
|
1866
|
-
a.proportions[r] * 100,
|
|
1867
|
-
a,
|
|
1868
|
-
o,
|
|
1869
|
-
r
|
|
1870
|
-
) : Ke(
|
|
1871
|
-
a.series[r],
|
|
1872
|
-
a,
|
|
1873
|
-
o,
|
|
1874
|
-
r,
|
|
1875
|
-
a.signedSeries[r]
|
|
1876
|
-
)), 9, Ls)) : f("", !0)
|
|
1877
|
-
], 64))), 256))
|
|
1878
|
-
]))), 256)),
|
|
1879
|
-
e.value.style.chart.bars.totalValues.show && z.value.length > 1 ? (s(), u("g", {
|
|
1880
|
-
key: 0,
|
|
1881
|
-
ref_key: "sumRight",
|
|
1882
|
-
ref: nt
|
|
1883
|
-
}, [
|
|
1884
|
-
(s(!0), u(w, null, S(ha.value, (a, o) => (s(), u(w, null, [
|
|
1885
|
-
!e.value.style.chart.bars.dataLabels.hideEmptyValues || a.value !== 0 ? (s(), u("text", {
|
|
1886
|
-
key: 0,
|
|
1887
|
-
x: Wl(o),
|
|
1888
|
-
y: n.value.top + m.value * o + m.value / 2 + e.value.style.chart.bars.totalValues.fontSize / 3,
|
|
1889
|
-
"text-anchor": "start",
|
|
1890
|
-
"font-size": e.value.style.chart.bars.totalValues.fontSize,
|
|
1891
|
-
"font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
1892
|
-
fill: e.value.style.chart.bars.totalValues.color
|
|
1893
|
-
}, V(Ke(
|
|
1894
|
-
a.value,
|
|
1895
|
-
a,
|
|
1896
|
-
o,
|
|
1897
|
-
a.sign
|
|
1898
|
-
)), 9, Cs)) : f("", !0)
|
|
1899
|
-
], 64))), 256))
|
|
1900
|
-
], 512)) : f("", !0)
|
|
1901
|
-
], 64)) : f("", !0),
|
|
1902
|
-
e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (s(), u("g", {
|
|
1903
|
-
key: 13,
|
|
1904
|
-
ref_key: "scaleLabels",
|
|
1905
|
-
ref: ue
|
|
1906
|
-
}, [
|
|
1907
|
-
(s(!0), u(w, null, S(Y.value, (a, o) => (s(), u("line", {
|
|
1908
|
-
x1: n.value.left,
|
|
1909
|
-
x2: n.value.left - 6,
|
|
1910
|
-
y1: a.y,
|
|
1911
|
-
y2: a.y,
|
|
1912
|
-
stroke: e.value.style.chart.grid.x.axisColor,
|
|
1913
|
-
"stroke-width": 1
|
|
1914
|
-
}, null, 8, Ss))), 256)),
|
|
1915
|
-
(s(!0), u(w, null, S(Y.value, (a, o) => (s(), u("text", {
|
|
1916
|
-
x: a.x,
|
|
1917
|
-
y: a.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
1918
|
-
"font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
|
|
1919
|
-
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1920
|
-
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
1921
|
-
"text-anchor": "end"
|
|
1922
|
-
}, V(b(we)(
|
|
1923
|
-
e.value.style.chart.grid.y.axisLabels.formatter,
|
|
1924
|
-
a.value,
|
|
1925
|
-
b(ne)({
|
|
1926
|
-
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
1927
|
-
v: a.value,
|
|
1928
|
-
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
1929
|
-
r: e.value.style.chart.grid.y.axisLabels.rounding
|
|
1930
|
-
}),
|
|
1931
|
-
{ datapoint: a }
|
|
1932
|
-
)), 9, zs))), 256))
|
|
1933
|
-
], 512)) : f("", !0),
|
|
1934
|
-
e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (s(), u("g", {
|
|
1935
|
-
key: 14,
|
|
1936
|
-
ref_key: "scaleLabels",
|
|
1937
|
-
ref: ue
|
|
1938
|
-
}, [
|
|
1939
|
-
(s(!0), u(w, null, S(Y.value, (a, o) => (s(), u("line", {
|
|
1940
|
-
x1: a.horizontal_x,
|
|
1941
|
-
x2: a.horizontal_x,
|
|
1942
|
-
y1: n.value.bottom,
|
|
1943
|
-
y2: n.value.bottom + 6,
|
|
1944
|
-
stroke: e.value.style.chart.grid.x.axisColor,
|
|
1945
|
-
"stroke-width": 1,
|
|
1946
|
-
"stroke-linecap": "round"
|
|
1947
|
-
}, null, 8, Ms))), 256)),
|
|
1948
|
-
(s(!0), u(w, null, S(Y.value, (a, o) => (s(), u("text", {
|
|
1949
|
-
class: "vue-data-ui-time-label",
|
|
1950
|
-
"font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1951
|
-
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1952
|
-
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
1953
|
-
"text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1954
|
-
transform: `translate(${a.horizontal_x}, ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`
|
|
1955
|
-
}, V(b(we)(
|
|
1956
|
-
e.value.style.chart.grid.y.axisLabels.formatter,
|
|
1957
|
-
a.value,
|
|
1958
|
-
b(ne)({
|
|
1959
|
-
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
1960
|
-
v: a.value,
|
|
1961
|
-
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
1962
|
-
r: e.value.style.chart.grid.y.axisLabels.rounding
|
|
1963
|
-
}),
|
|
1964
|
-
{ datapoint: a }
|
|
1965
|
-
)), 9, Ts))), 256))
|
|
1966
|
-
], 512)) : f("", !0),
|
|
1967
|
-
e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (s(), u("g", {
|
|
1968
|
-
key: 15,
|
|
1969
|
-
ref_key: "timeLabelsEls",
|
|
1970
|
-
ref: ce
|
|
1971
|
-
}, [
|
|
1972
|
-
t.$slots["time-label"] ? (s(), u("g", _s, [
|
|
1973
|
-
(s(!0), u(w, null, S(mt.value, (a, o) => (s(), u("g", null, [
|
|
1974
|
-
L(t.$slots, "time-label", Ee({ ref_for: !0 }, {
|
|
1975
|
-
x: n.value.left + m.value * o + m.value / 2,
|
|
1976
|
-
y: n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
|
|
1977
|
-
fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1978
|
-
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
1979
|
-
transform: `translate(${n.value.left + m.value * o + m.value / 2}, ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
|
|
1980
|
-
absoluteIndex: a.absoluteIndex,
|
|
1981
|
-
content: a.text,
|
|
1982
|
-
textAnchor: e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1983
|
-
show: !0
|
|
1984
|
-
}), void 0, !0)
|
|
1985
|
-
]))), 256))
|
|
1986
|
-
])) : (s(), u("g", As, [
|
|
1987
|
-
(s(!0), u(w, null, S(mt.value, (a, o) => (s(), u("g", null, [
|
|
1988
|
-
String(a.text).includes(`
|
|
1989
|
-
`) ? (s(), u("text", {
|
|
1990
|
-
key: o + "-multi",
|
|
1991
|
-
"text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1992
|
-
"font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1993
|
-
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
1994
|
-
transform: `
|
|
1995
|
-
translate(
|
|
1996
|
-
${n.value.left + m.value * o + m.value / 2},
|
|
1997
|
-
${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}
|
|
1998
|
-
),
|
|
1999
|
-
rotate(${e.value.style.chart.grid.x.timeLabels.rotation})
|
|
2000
|
-
`,
|
|
2001
|
-
style: q({
|
|
2002
|
-
cursor: X.value ? "pointer" : "default"
|
|
2003
|
-
}),
|
|
2004
|
-
innerHTML: b(wo)({
|
|
2005
|
-
content: String(a.text),
|
|
2006
|
-
fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
2007
|
-
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
2008
|
-
x: 0,
|
|
2009
|
-
y: 0
|
|
2010
|
-
}),
|
|
2011
|
-
onClick: () => Ze(a, o)
|
|
2012
|
-
}, null, 12, Ps)) : (s(), u("text", {
|
|
2013
|
-
class: "vue-data-ui-time-label",
|
|
2014
|
-
key: o,
|
|
2015
|
-
"text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
2016
|
-
"font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
2017
|
-
"font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
|
|
2018
|
-
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
2019
|
-
transform: `translate(${n.value.left + m.value * o + m.value / 2}, ${n.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
|
|
2020
|
-
style: q({
|
|
2021
|
-
cursor: X.value ? "pointer" : "default"
|
|
2022
|
-
}),
|
|
2023
|
-
onClick: () => Ze(a, o)
|
|
2024
|
-
}, V(a.text), 13, $s))
|
|
2025
|
-
]))), 256))
|
|
2026
|
-
]))
|
|
2027
|
-
], 512)) : f("", !0),
|
|
2028
|
-
e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (s(), u("g", {
|
|
2029
|
-
key: 16,
|
|
2030
|
-
ref_key: "timeLabelsEls",
|
|
2031
|
-
ref: ce
|
|
2032
|
-
}, [
|
|
2033
|
-
t.$slots["time-label"] ? (s(), u("g", Ns, [
|
|
2034
|
-
(s(!0), u(w, null, S(W.value, (a, o) => (s(), u("g", null, [
|
|
2035
|
-
L(t.$slots, "time-label", Ee({ ref_for: !0 }, {
|
|
2036
|
-
x: n.value.left - 8,
|
|
2037
|
-
y: n.value.top + m.value * o + m.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
2038
|
-
fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
2039
|
-
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
2040
|
-
transform: null,
|
|
2041
|
-
absoluteIndex: a.absoluteIndex,
|
|
2042
|
-
content: a.text,
|
|
2043
|
-
textAnchor: "end",
|
|
2044
|
-
show: !0
|
|
2045
|
-
}), void 0, !0)
|
|
2046
|
-
]))), 256))
|
|
2047
|
-
])) : (s(), u("g", Is, [
|
|
2048
|
-
(s(!0), u(w, null, S(W.value, (a, o) => (s(), u("g", null, [
|
|
2049
|
-
String(a.text).includes(`
|
|
2050
|
-
`) ? (s(), u("text", {
|
|
2051
|
-
key: 1,
|
|
2052
|
-
"text-anchor": "end",
|
|
2053
|
-
"font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
|
|
2054
|
-
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
2055
|
-
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
2056
|
-
x: n.value.left - 8,
|
|
2057
|
-
y: n.value.top + m.value * o + m.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
2058
|
-
style: q({
|
|
2059
|
-
cursor: X.value ? "pointer" : "default"
|
|
2060
|
-
}),
|
|
2061
|
-
onClick: () => Ze(a, o),
|
|
2062
|
-
innerHTML: b(Lo)({
|
|
2063
|
-
content: String(a.text),
|
|
2064
|
-
fontSize: e.value.style.chart.grid.y.axisLabels.fontSize,
|
|
2065
|
-
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
2066
|
-
x: n.value.left - 8,
|
|
2067
|
-
y: 0
|
|
2068
|
-
})
|
|
2069
|
-
}, null, 12, Rs)) : (s(), u("text", {
|
|
2070
|
-
key: 0,
|
|
2071
|
-
"text-anchor": "end",
|
|
2072
|
-
"font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
|
|
2073
|
-
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
2074
|
-
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
2075
|
-
x: n.value.left - 8,
|
|
2076
|
-
y: n.value.top + m.value * o + m.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
2077
|
-
style: q({
|
|
2078
|
-
cursor: X.value ? "pointer" : "default"
|
|
2079
|
-
}),
|
|
2080
|
-
onClick: () => Ze(a, o)
|
|
2081
|
-
}, V(a.text), 13, Fs))
|
|
2082
|
-
]))), 256))
|
|
2083
|
-
]))
|
|
2084
|
-
], 512)) : f("", !0),
|
|
2085
|
-
$.value.showTooltip && e.value.orientation === "vertical" ? (s(!0), u(w, { key: 17 }, S(v.value.end - v.value.start, (a, o) => (s(), u("rect", {
|
|
2086
|
-
x: n.value.left + o * m.value,
|
|
2087
|
-
y: n.value.top,
|
|
2088
|
-
width: m.value,
|
|
2089
|
-
height: n.value.height < 0 ? 0 : n.value.height,
|
|
2090
|
-
onClick: () => bt(o),
|
|
2091
|
-
onMouseenter: () => xt(o, "pointer"),
|
|
2092
|
-
onMouseleave: () => ya(o),
|
|
2093
|
-
fill: o === B.value || o === ut.value ? e.value.style.chart.highlighter.color : "transparent",
|
|
2094
|
-
style: q({
|
|
2095
|
-
opacity: e.value.style.chart.highlighter.opacity / 100
|
|
2096
|
-
})
|
|
2097
|
-
}, null, 44, Os))), 256)) : f("", !0),
|
|
2098
|
-
$.value.showTooltip && e.value.orientation === "horizontal" ? (s(!0), u(w, { key: 18 }, S(v.value.end - v.value.start, (a, o) => (s(), u("rect", {
|
|
2099
|
-
x: n.value.left,
|
|
2100
|
-
y: n.value.top + o * m.value,
|
|
2101
|
-
width: n.value.width < 0 ? 0 : n.value.width,
|
|
2102
|
-
height: m.value,
|
|
2103
|
-
onClick: () => bt(o),
|
|
2104
|
-
onMouseenter: () => xt(o, "pointer"),
|
|
2105
|
-
onMouseleave: () => ya(o),
|
|
2106
|
-
fill: o === B.value || o === ut.value ? e.value.style.chart.highlighter.color : "transparent",
|
|
2107
|
-
style: q({
|
|
2108
|
-
opacity: e.value.style.chart.highlighter.opacity / 100
|
|
2109
|
-
})
|
|
2110
|
-
}, null, 44, Ds))), 256)) : f("", !0),
|
|
2111
|
-
la.value ? (s(), u("rect", Ee({ key: 19 }, ml.value, {
|
|
2112
|
-
"data-start": v.value.start,
|
|
2113
|
-
"data-end": v.value.end
|
|
2114
|
-
}), null, 16, Es)) : f("", !0),
|
|
2115
|
-
L(t.$slots, "svg", {
|
|
2116
|
-
svg: {
|
|
2117
|
-
drawingArea: n.value,
|
|
2118
|
-
data: z.value,
|
|
2119
|
-
isPrintingImg: b(dt) | b(yt) | Ue.value,
|
|
2120
|
-
isPrintingSvg: He.value
|
|
2121
|
-
}
|
|
2122
|
-
}, void 0, !0)
|
|
2123
|
-
], 46, Qo)),
|
|
2124
|
-
t.$slots.hint ? (s(), u("div", Vs, [
|
|
2125
|
-
L(t.$slots, "hint", D(E({
|
|
2126
|
-
hint: e.value.a11y.translations.keyboardNavigation,
|
|
2127
|
-
isVisible: Ct.value
|
|
2128
|
-
})), void 0, !0)
|
|
2129
|
-
])) : f("", !0)
|
|
2130
|
-
]),
|
|
2131
|
-
t.$slots.watermark ? (s(), u("div", Bs, [
|
|
2132
|
-
L(t.$slots, "watermark", D(E({
|
|
2133
|
-
isPrinting: b(dt) || b(yt) || Ue.value || He.value
|
|
2134
|
-
})), void 0, !0)
|
|
2135
|
-
])) : f("", !0),
|
|
2136
|
-
e.value.style.chart.zoom.show && Le.value && za.value && F.value > 6 ? (s(), ee(Xo, {
|
|
2137
|
-
key: 5,
|
|
2138
|
-
ref_key: "chartSlicer",
|
|
2139
|
-
ref: Ce,
|
|
2140
|
-
allMinimaps: xl.value,
|
|
2141
|
-
background: e.value.style.chart.zoom.color,
|
|
2142
|
-
borderColor: e.value.style.chart.backgroundColor,
|
|
2143
|
-
customFormat: e.value.style.chart.zoom.customFormat,
|
|
2144
|
-
cutNullValues: !1,
|
|
2145
|
-
forceZeroCenter: !0,
|
|
2146
|
-
enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
|
|
2147
|
-
enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
|
|
2148
|
-
end: v.value.end,
|
|
2149
|
-
focusOnDrag: e.value.style.chart.zoom.focusOnDrag,
|
|
2150
|
-
focusRangeRatio: e.value.style.chart.zoom.focusRangeRatio,
|
|
2151
|
-
fontSize: e.value.style.chart.zoom.fontSize,
|
|
2152
|
-
immediate: !e.value.style.chart.zoom.preview.enable,
|
|
2153
|
-
inputColor: e.value.style.chart.zoom.color,
|
|
2154
|
-
isPreview: la.value,
|
|
2155
|
-
labelLeft: e.value.style.chart.grid.x.timeLabels.values[v.value.start] ? W.value?.[0]?.text ?? "" : "",
|
|
2156
|
-
labelRight: e.value.style.chart.grid.x.timeLabels.values[v.value.end - 1] ? W.value?.at(-1)?.text ?? "" : "",
|
|
2157
|
-
max: Math.max(...lt.dataset.map((a) => a.series.length)),
|
|
2158
|
-
min: 0,
|
|
2159
|
-
minimap: ve.value,
|
|
2160
|
-
minimapCompact: e.value.style.chart.zoom.minimap.compact,
|
|
2161
|
-
minimapFrameColor: e.value.style.chart.zoom.minimap.frameColor,
|
|
2162
|
-
minimapIndicatorColor: e.value.style.chart.zoom.minimap.indicatorColor,
|
|
2163
|
-
minimapMerged: !1,
|
|
2164
|
-
minimapSelectedColor: e.value.style.chart.zoom.minimap.selectedColor,
|
|
2165
|
-
minimapSelectedColorOpacity: e.value.style.chart.zoom.minimap.selectedColorOpacity,
|
|
2166
|
-
minimapSelectedIndex: B.value,
|
|
2167
|
-
minimapSelectionRadius: 1,
|
|
2168
|
-
preciseLabels: va.value.length ? va.value : be.value,
|
|
2169
|
-
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : Math.max(...lt.dataset.map((a) => a.series.length)),
|
|
2170
|
-
refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
|
|
2171
|
-
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
2172
|
-
selectedSeries: Cl.value,
|
|
2173
|
-
smoothMinimap: !1,
|
|
2174
|
-
start: v.value.start,
|
|
2175
|
-
textColor: e.value.style.chart.color,
|
|
2176
|
-
timeLabels: be.value,
|
|
2177
|
-
usePreciseLabels: e.value.style.chart.grid.x.timeLabels.datetimeFormatter.enable && !e.value.style.chart.zoom.useDefaultFormat,
|
|
2178
|
-
valueEnd: v.value.end,
|
|
2179
|
-
valueStart: v.value.start,
|
|
2180
|
-
verticalHandles: e.value.style.chart.zoom.minimap.verticalHandles,
|
|
2181
|
-
maxWidth: e.value.style.chart.zoom.maxWidth,
|
|
2182
|
-
isCursorPointer: X.value,
|
|
2183
|
-
additionalMinimapHeight: e.value.style.chart.zoom.minimap.additionalHeight,
|
|
2184
|
-
handleType: e.value.style.chart.zoom.minimap.handleType,
|
|
2185
|
-
handleIconColor: e.value.style.chart.zoom.minimap.handleIconColor,
|
|
2186
|
-
handleBorderWidth: e.value.style.chart.zoom.minimap.handleBorderWidth,
|
|
2187
|
-
handleBorderColor: e.value.style.chart.zoom.minimap.handleBorderColor,
|
|
2188
|
-
handleFill: e.value.style.chart.zoom.minimap.handleFill,
|
|
2189
|
-
handleWidth: e.value.style.chart.zoom.minimap.handleWidth,
|
|
2190
|
-
"onUpdate:end": Bl,
|
|
2191
|
-
"onUpdate:start": Vl,
|
|
2192
|
-
onTrapMouse: bl,
|
|
2193
|
-
onReset: sa,
|
|
2194
|
-
onFutureEnd: l[0] || (l[0] = (a) => oa("end", a)),
|
|
2195
|
-
onFutureStart: l[1] || (l[1] = (a) => oa("start", a))
|
|
2196
|
-
}, {
|
|
2197
|
-
"reset-action": C(({ reset: a }) => [
|
|
2198
|
-
L(t.$slots, "reset-action", D(E({ reset: a })), void 0, !0)
|
|
2199
|
-
]),
|
|
2200
|
-
slotMap: C(({ width: a, height: o, unitW: c }) => [
|
|
2201
|
-
(s(!0), u(w, null, S(z.value, (r) => (s(), u("g", {
|
|
2202
|
-
key: r.id
|
|
2203
|
-
}, [
|
|
2204
|
-
(s(!0), u(w, null, S(r.xMinimap({ left: 0, unitW: c }), (d, x) => (s(), u("rect", {
|
|
2205
|
-
key: x,
|
|
2206
|
-
x: x === 0 ? d - c * (e.value.style.chart.bars.gapRatio / 4) : d - c / 2,
|
|
2207
|
-
y: Math.max(
|
|
2208
|
-
0,
|
|
2209
|
-
Math.min(
|
|
2210
|
-
o,
|
|
2211
|
-
r.yMinimap({ minimapH: o })[x]
|
|
2212
|
-
)
|
|
2213
|
-
),
|
|
2214
|
-
height: r.heightMinimap({ minimapH: o })[x],
|
|
2215
|
-
width: [0, F.value - 1].includes(x) ? c * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 : c * (1 - e.value.style.chart.bars.gapRatio / 2),
|
|
2216
|
-
fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${r.id})` : r.color,
|
|
2217
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
2218
|
-
"stroke-width": 0.5,
|
|
2219
|
-
rx: "0",
|
|
2220
|
-
"stroke-linecap": "round",
|
|
2221
|
-
"stroke-linejoin": "round",
|
|
2222
|
-
style: q({
|
|
2223
|
-
opacity: x >= H.value.start && x <= H.value.end ? 1 : 0.62
|
|
2224
|
-
})
|
|
2225
|
-
}, null, 12, Us))), 128))
|
|
2226
|
-
]))), 128))
|
|
2227
|
-
]),
|
|
2228
|
-
_: 3
|
|
2229
|
-
}, 8, ["allMinimaps", "background", "borderColor", "customFormat", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "start", "textColor", "timeLabels", "usePreciseLabels", "valueEnd", "valueStart", "verticalHandles", "maxWidth", "isCursorPointer", "additionalMinimapHeight", "handleType", "handleIconColor", "handleBorderWidth", "handleBorderColor", "handleFill", "handleWidth"])) : f("", !0),
|
|
2230
|
-
De(b(Ya), {
|
|
2231
|
-
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
2232
|
-
show: $.value.showTooltip && ye.value,
|
|
2233
|
-
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
2234
|
-
color: e.value.style.chart.tooltip.color,
|
|
2235
|
-
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
2236
|
-
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
2237
|
-
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
2238
|
-
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
2239
|
-
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
2240
|
-
position: e.value.style.chart.tooltip.position,
|
|
2241
|
-
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
2242
|
-
parent: Q.value,
|
|
2243
|
-
content: ot.value,
|
|
2244
|
-
isFullscreen: Se.value,
|
|
2245
|
-
isCustom: b(Va)(e.value.style.chart.tooltip.customFormat),
|
|
2246
|
-
smooth: e.value.style.chart.tooltip.smooth,
|
|
2247
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
2248
|
-
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
2249
|
-
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
|
|
2250
|
-
isA11yMode: Wt.value === "keyboard",
|
|
2251
|
-
a11yPosition: Ht.value
|
|
2252
|
-
}, {
|
|
2253
|
-
"tooltip-before": C(() => [
|
|
2254
|
-
L(t.$slots, "tooltip-before", D(E({ ...Be.value })), void 0, !0)
|
|
2255
|
-
]),
|
|
2256
|
-
tooltip: C(() => [
|
|
2257
|
-
L(t.$slots, "tooltip", D(E({ ...Be.value })), void 0, !0)
|
|
2258
|
-
]),
|
|
2259
|
-
"tooltip-after": C(() => [
|
|
2260
|
-
L(t.$slots, "tooltip-after", D(E({ ...Be.value })), void 0, !0)
|
|
2261
|
-
]),
|
|
2262
|
-
_: 3
|
|
2263
|
-
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
2264
|
-
Z("div", {
|
|
2265
|
-
id: `legend-bottom-${R.value}`
|
|
2266
|
-
}, null, 8, Hs),
|
|
2267
|
-
Dt.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (s(), ee(vo, {
|
|
2268
|
-
key: 6,
|
|
2269
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${R.value}` : `#legend-bottom-${R.value}`
|
|
2270
|
-
}, [
|
|
2271
|
-
Z("div", {
|
|
2272
|
-
ref_key: "chartLegend",
|
|
2273
|
-
ref: Ft
|
|
2274
|
-
}, [
|
|
2275
|
-
L(t.$slots, "legend", { legend: Ae.value }, () => [
|
|
2276
|
-
e.value.style.chart.legend.show ? (s(), ee(Ho, {
|
|
2277
|
-
key: 0,
|
|
2278
|
-
legendSet: Ae.value,
|
|
2279
|
-
config: $l.value,
|
|
2280
|
-
isCursorPointer: X.value,
|
|
2281
|
-
onClickMarker: l[2] || (l[2] = ({ legend: a }) => a.segregate())
|
|
2282
|
-
}, $t({
|
|
2283
|
-
item: C(({ legend: a }) => [
|
|
2284
|
-
b(fe) ? f("", !0) : (s(), u("div", {
|
|
2285
|
-
key: 0,
|
|
2286
|
-
onClick: (o) => a.segregate(),
|
|
2287
|
-
style: q(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
|
|
2288
|
-
}, V(a.name), 13, Ws))
|
|
2289
|
-
]),
|
|
2290
|
-
legendToggle: C(() => [
|
|
2291
|
-
Ae.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !b(fe) ? (s(), ee(Yo, {
|
|
2292
|
-
key: 0,
|
|
2293
|
-
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2294
|
-
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
2295
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
2296
|
-
checked: A.value.length > 0,
|
|
2297
|
-
isCursorPointer: X.value,
|
|
2298
|
-
onToggle: Tl
|
|
2299
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : f("", !0)
|
|
2300
|
-
]),
|
|
2301
|
-
_: 2
|
|
2302
|
-
}, [
|
|
2303
|
-
t.$slots.pattern ? {
|
|
2304
|
-
name: "legend-pattern",
|
|
2305
|
-
fn: C(({ legend: a, index: o }) => [
|
|
2306
|
-
De(Bo, {
|
|
2307
|
-
shape: a.shape,
|
|
2308
|
-
radius: 30,
|
|
2309
|
-
stroke: "none",
|
|
2310
|
-
plot: { x: 30, y: 30 },
|
|
2311
|
-
fill: `url(#pattern_${R.value}_${o})`
|
|
2312
|
-
}, null, 8, ["shape", "fill"])
|
|
2313
|
-
]),
|
|
2314
|
-
key: "0"
|
|
2315
|
-
} : void 0
|
|
2316
|
-
]), 1032, ["legendSet", "config", "isCursorPointer"])) : f("", !0)
|
|
2317
|
-
], !0)
|
|
2318
|
-
], 512)
|
|
2319
|
-
], 8, ["to"])) : f("", !0),
|
|
2320
|
-
t.$slots.source ? (s(), u("div", {
|
|
2321
|
-
key: 7,
|
|
2322
|
-
ref_key: "source",
|
|
2323
|
-
ref: Rt,
|
|
2324
|
-
dir: "auto"
|
|
2325
|
-
}, [
|
|
2326
|
-
L(t.$slots, "source", {}, void 0, !0)
|
|
2327
|
-
], 512)) : f("", !0),
|
|
2328
|
-
Le.value && e.value.userOptions.buttons.table ? (s(), ee(ho(Pe.value.component), Ee({ key: 8 }, Pe.value.props, {
|
|
2329
|
-
ref_key: "tableUnit",
|
|
2330
|
-
ref: ze,
|
|
2331
|
-
onClose: La
|
|
2332
|
-
}), $t({
|
|
2333
|
-
content: C(() => [
|
|
2334
|
-
De(b(Ja), {
|
|
2335
|
-
colNames: pe.value.colNames,
|
|
2336
|
-
head: pe.value.head,
|
|
2337
|
-
body: pe.value.body,
|
|
2338
|
-
config: pe.value.config,
|
|
2339
|
-
title: e.value.table.useDialog ? "" : Pe.value.title,
|
|
2340
|
-
withCloseButton: !e.value.table.useDialog,
|
|
2341
|
-
isCursorPointer: X.value,
|
|
2342
|
-
onClose: La
|
|
2343
|
-
}, {
|
|
2344
|
-
th: C(({ th: a }) => [
|
|
2345
|
-
Z("div", { innerHTML: a }, null, 8, Xs)
|
|
2346
|
-
]),
|
|
2347
|
-
td: C(({ td: a }) => [
|
|
2348
|
-
Pa(V(isNaN(Number(a)) ? a : b(ne)({
|
|
2349
|
-
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
2350
|
-
v: a,
|
|
2351
|
-
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
2352
|
-
r: e.value.table.td.roundingValue
|
|
2353
|
-
})), 1)
|
|
2354
|
-
]),
|
|
2355
|
-
_: 1
|
|
2356
|
-
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"])
|
|
2357
|
-
]),
|
|
2358
|
-
_: 2
|
|
2359
|
-
}, [
|
|
2360
|
-
e.value.table.useDialog ? {
|
|
2361
|
-
name: "title",
|
|
2362
|
-
fn: C(() => [
|
|
2363
|
-
Pa(V(Pe.value.title), 1)
|
|
2364
|
-
]),
|
|
2365
|
-
key: "0"
|
|
2366
|
-
} : void 0,
|
|
2367
|
-
e.value.table.useDialog ? {
|
|
2368
|
-
name: "actions",
|
|
2369
|
-
fn: C(() => [
|
|
2370
|
-
Z("button", {
|
|
2371
|
-
tabindex: "0",
|
|
2372
|
-
class: "vue-ui-user-options-button",
|
|
2373
|
-
onClick: l[3] || (l[3] = (a) => kt(e.value.userOptions.callbacks.csv)),
|
|
2374
|
-
style: q({ cursor: X.value ? "pointer" : "default" })
|
|
2375
|
-
}, [
|
|
2376
|
-
De(b(qa), {
|
|
2377
|
-
name: "fileCsv",
|
|
2378
|
-
stroke: Pe.value.props.color
|
|
2379
|
-
}, null, 8, ["stroke"])
|
|
2380
|
-
], 4)
|
|
2381
|
-
]),
|
|
2382
|
-
key: "1"
|
|
2383
|
-
} : void 0
|
|
2384
|
-
]), 1040)) : f("", !0),
|
|
2385
|
-
L(t.$slots, "skeleton", {}, () => [
|
|
2386
|
-
b(fe) ? (s(), ee(Po, { key: 0 })) : f("", !0)
|
|
2387
|
-
], !0)
|
|
2388
|
-
], 46, Go));
|
|
2389
|
-
}
|
|
2390
|
-
}, mr = /* @__PURE__ */ qo(Ys, [["__scopeId", "data-v-21cfcc10"]]);
|
|
2391
|
-
export {
|
|
2392
|
-
mr as default
|
|
2393
|
-
};
|