vue-data-ui 3.17.13 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-BU2Z7mfz.js +116 -0
- package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
- package/dist/BaseIcon-CL6Y7alf.js +499 -0
- package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
- package/dist/ColorPicker-BGbMrtup.js +255 -0
- package/dist/DataTable-ZG4GX2Zg.js +150 -0
- package/dist/Legend-BPb8i4aC.js +114 -0
- package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
- package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
- package/dist/PenAndPaper-DxBCVZAx.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-Dbug7CtK.js +141 -0
- package/dist/Slicer-SEdaKYPX.js +1144 -0
- package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
- package/dist/SparkTooltip-BaONR2nq.js +93 -0
- package/dist/Title-ByyzJzpc.js +87 -0
- package/dist/Tooltip-V6Z0Ko-1.js +307 -0
- package/dist/UserOptions-Gaw1761w.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-C9UOX1d2.js +237 -0
- package/dist/exposedLib-BQjH823l.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-NMY-_LiJ.js +74 -0
- package/dist/labelUtils-BiSegLOT.js +19 -0
- package/dist/lib-B83ZCydz.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-Ey2KFETK.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 +4766 -630
- 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-De0rTecW.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-KnOLHtlJ.js +7419 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-CcxL1gUU.js +10 -0
- package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-CMLF900n.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-D1REqS_k.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
- package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
- package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
- package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
- package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
- package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
- package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
- package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
- package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
- package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
- package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
- package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
- package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
- package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
- package/dist/vue-ui-digits-CcB3odN7.js +209 -0
- package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
- package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
- package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
- package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
- package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
- package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
- package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
- package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
- package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
- package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
- package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
- package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
- package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
- package/dist/vue-ui-molecule-D72kzel_.js +912 -0
- package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
- package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
- package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.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-zNFIXNt9.js +1966 -0
- package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
- package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
- package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
- package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
- package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
- package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
- package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
- package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
- package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
- package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
- package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
- package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
- package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
- package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
- package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
- package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
- package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
- package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
- package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
- package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
- package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
- package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
- package/dist/vue-ui-timer-DCbxsREb.js +439 -0
- package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
- package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
- package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
- package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
- package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
- package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
- package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
- package/dist/vue-ui-xy-canvas-DU7vFrQr.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
|
@@ -0,0 +1,2459 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { B as t, G as n, H as r, Lt as i, St as a, Tt as o, X as s, bt as c, d as l, h as ee, i as u, k as d, kt as f, nt as te, p as ne, pt as re, t as ie, u as p, v as m, x as ae, y as oe, zt as se } from "./lib-B83ZCydz.js";
|
|
3
|
+
import { t as ce } from "./useTimeLabels-C0x7zUXP.js";
|
|
4
|
+
import { t as le } from "./useConfig-KnOLHtlJ.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-CMLF900n.js";
|
|
6
|
+
import { n as de, t as fe } from "./BaseScanner-C7dmAref.js";
|
|
7
|
+
import { t as pe } from "./useSvgExport-Dtu973wa.js";
|
|
8
|
+
import { t as me } from "./useNestedProp-CcxL1gUU.js";
|
|
9
|
+
import { t as he } from "./useThemeCheck-rFK9Zlb_.js";
|
|
10
|
+
import { t as ge } from "./useTimeLabelCollider-Dm55Emzg.js";
|
|
11
|
+
import { t as _e } from "./img-NMY-_LiJ.js";
|
|
12
|
+
import { t as ve } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
13
|
+
import { c as ye } from "./canvas-lib-DTaADQOK.js";
|
|
14
|
+
import { t as be } from "./useResponsive-CrAInupd.js";
|
|
15
|
+
import { t as xe } from "./BaseLegendToggle-BvPOFMVZ.js";
|
|
16
|
+
import { t as Se } from "./A11yDataTable-q2-8fSlJ.js";
|
|
17
|
+
import { t as Ce } from "./useChartAccessibility-Do37qcw2.js";
|
|
18
|
+
import { t as we } from "./Slicer-SEdaKYPX.js";
|
|
19
|
+
import { t as Te } from "./vue_ui_quick_chart--VaYQuM4.js";
|
|
20
|
+
import { Fragment as h, Teleport as Ee, computed as g, createBlock as De, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as Oe, createVNode as ke, defineAsyncComponent as Ae, guardReactiveProps as b, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Pe, onMounted as Fe, openBlock as C, ref as w, renderList as T, renderSlot as E, shallowRef as Ie, toDisplayString as D, toRefs as Le, unref as O, watch as Re, watchEffect as ze, withCtx as k } from "vue";
|
|
21
|
+
//#region src/chartDetector.js
|
|
22
|
+
var A = {
|
|
23
|
+
LINE: "LINE",
|
|
24
|
+
BAR: "BAR",
|
|
25
|
+
DONUT: "DONUT"
|
|
26
|
+
}, Be = [
|
|
27
|
+
"SERIE",
|
|
28
|
+
"SERIES",
|
|
29
|
+
"DATA",
|
|
30
|
+
"VALUE",
|
|
31
|
+
"VALUES",
|
|
32
|
+
"NUM"
|
|
33
|
+
];
|
|
34
|
+
function Ve({ dataset: e, barLineSwitch: t = 6, debug: n = !0 }) {
|
|
35
|
+
let r = null, i = null, a = 0;
|
|
36
|
+
if ((typeof e == "number" || typeof e == "string") && n && console.warn(`The provided dataset (${e}) is not sufficient to build a chart`), Ue(e) && (j(e) && (r = e.length < t ? A.BAR : A.LINE, i = e, a = e.length), We(e))) {
|
|
37
|
+
if (!Ke(e)) return n && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
38
|
+
let o = Object.keys(e[0]), s = Object.values(e[0]);
|
|
39
|
+
if (!o.some((e) => qe(e))) return n && console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
|
|
40
|
+
Je(s, (e) => typeof e == "number") && (r = A.DONUT, i = e), Je(s, (e) => Array.isArray(e) && j(e)) && (r = Ye(e) > t ? A.LINE : A.BAR, a = Ye(e), i = e.map((e) => ({
|
|
41
|
+
...e,
|
|
42
|
+
data: Xe(e, (e) => j(e))
|
|
43
|
+
}))), e = e.map((e) => M(e)), i = i.map((e) => M(e));
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
dataset: e,
|
|
47
|
+
type: r,
|
|
48
|
+
usableDataset: i,
|
|
49
|
+
maxSeriesLength: a
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function He(e) {
|
|
53
|
+
return !e || Ue(e) && !e.length;
|
|
54
|
+
}
|
|
55
|
+
function Ue(e) {
|
|
56
|
+
return Array.isArray(e);
|
|
57
|
+
}
|
|
58
|
+
function j(e) {
|
|
59
|
+
if (!Ue(e) || He(e)) return !1;
|
|
60
|
+
let t = e.map((e) => Number(e));
|
|
61
|
+
return ![...new Set(t.flatMap((e) => typeof e == "number" && !isNaN(e)))].includes(!1);
|
|
62
|
+
}
|
|
63
|
+
function We(e) {
|
|
64
|
+
return !Ue(e) || He(e) || [...new Set(e.flatMap((e) => typeof e == "object" && !Array.isArray(e)))].includes(!1) ? !1 : !e.map((e) => Object.keys(e).length > 0).includes(!1);
|
|
65
|
+
}
|
|
66
|
+
function Ge(e, t) {
|
|
67
|
+
let n = Object.keys(e).sort(), r = Object.keys(t).sort();
|
|
68
|
+
if (n.length !== r.length) return !1;
|
|
69
|
+
for (let i = 0; i < n.length; i += 1) {
|
|
70
|
+
let a = n[i], o = r[i];
|
|
71
|
+
if (a !== o || typeof e[a] != typeof t[o]) return !1;
|
|
72
|
+
}
|
|
73
|
+
return !0;
|
|
74
|
+
}
|
|
75
|
+
function Ke(e) {
|
|
76
|
+
if (e.length <= 1) return !0;
|
|
77
|
+
for (let t = 0; t < e.length; t += 1) for (let n = t + 1; n < e.length; n += 1) if (!Ge(e[t], e[n])) return !1;
|
|
78
|
+
return !0;
|
|
79
|
+
}
|
|
80
|
+
function qe(e) {
|
|
81
|
+
return Be.includes(e.toUpperCase());
|
|
82
|
+
}
|
|
83
|
+
function Je(e, t) {
|
|
84
|
+
let n = [];
|
|
85
|
+
for (let r = 0; r < e.length; r += 1) n.push(t(e[r]));
|
|
86
|
+
return n.includes(!0);
|
|
87
|
+
}
|
|
88
|
+
function Ye(e) {
|
|
89
|
+
return Math.max(...[...e].flatMap((e) => Object.values(e).filter((e) => j(e)).map((e) => e.length)));
|
|
90
|
+
}
|
|
91
|
+
function Xe(e, t) {
|
|
92
|
+
return Object.values(e).filter((e) => t(e))[0];
|
|
93
|
+
}
|
|
94
|
+
function M(e) {
|
|
95
|
+
let t = {};
|
|
96
|
+
for (let n in e) e.hasOwnProperty(n) && (t[n.toUpperCase()] = e[n]);
|
|
97
|
+
return t;
|
|
98
|
+
}
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/components/vue-ui-quick-chart.vue
|
|
101
|
+
var N = /* @__PURE__ */ e({ default: () => En }), Ze = ["id"], Qe = ["id"], $e = ["id"], et = { style: { position: "relative" } }, tt = [
|
|
102
|
+
"xmlns",
|
|
103
|
+
"aria-describedby",
|
|
104
|
+
"viewBox"
|
|
105
|
+
], nt = [
|
|
106
|
+
"x",
|
|
107
|
+
"y",
|
|
108
|
+
"width",
|
|
109
|
+
"height"
|
|
110
|
+
], rt = [
|
|
111
|
+
"x",
|
|
112
|
+
"y",
|
|
113
|
+
"width",
|
|
114
|
+
"height"
|
|
115
|
+
], it = ["width", "height"], at = ["id"], ot = ["id"], st = ["id"], ct = ["flood-color"], lt = {
|
|
116
|
+
key: 0,
|
|
117
|
+
class: "donut-label-connectors"
|
|
118
|
+
}, ut = [
|
|
119
|
+
"d",
|
|
120
|
+
"stroke",
|
|
121
|
+
"stroke-width",
|
|
122
|
+
"filter"
|
|
123
|
+
], dt = [
|
|
124
|
+
"cx",
|
|
125
|
+
"cy",
|
|
126
|
+
"r",
|
|
127
|
+
"fill",
|
|
128
|
+
"filter"
|
|
129
|
+
], ft = { class: "donut" }, pt = [
|
|
130
|
+
"d",
|
|
131
|
+
"fill",
|
|
132
|
+
"stroke",
|
|
133
|
+
"stroke-width",
|
|
134
|
+
"filter"
|
|
135
|
+
], mt = [
|
|
136
|
+
"d",
|
|
137
|
+
"onMouseenter",
|
|
138
|
+
"onMouseout",
|
|
139
|
+
"onClick"
|
|
140
|
+
], ht = {
|
|
141
|
+
key: 1,
|
|
142
|
+
class: "donut-labels quick-animation"
|
|
143
|
+
}, gt = [
|
|
144
|
+
"cx",
|
|
145
|
+
"cy",
|
|
146
|
+
"fill",
|
|
147
|
+
"stroke",
|
|
148
|
+
"filter"
|
|
149
|
+
], _t = [
|
|
150
|
+
"text-anchor",
|
|
151
|
+
"x",
|
|
152
|
+
"y",
|
|
153
|
+
"fill",
|
|
154
|
+
"font-size",
|
|
155
|
+
"filter"
|
|
156
|
+
], vt = [
|
|
157
|
+
"text-anchor",
|
|
158
|
+
"x",
|
|
159
|
+
"y",
|
|
160
|
+
"fill",
|
|
161
|
+
"font-size",
|
|
162
|
+
"filter"
|
|
163
|
+
], yt = {
|
|
164
|
+
key: 2,
|
|
165
|
+
class: "donut-hollow quick-animation"
|
|
166
|
+
}, bt = [
|
|
167
|
+
"x",
|
|
168
|
+
"y",
|
|
169
|
+
"font-size",
|
|
170
|
+
"fill"
|
|
171
|
+
], xt = [
|
|
172
|
+
"x",
|
|
173
|
+
"y",
|
|
174
|
+
"font-size",
|
|
175
|
+
"fill"
|
|
176
|
+
], St = {
|
|
177
|
+
key: 0,
|
|
178
|
+
class: "line-grid"
|
|
179
|
+
}, Ct = [
|
|
180
|
+
"x1",
|
|
181
|
+
"x2",
|
|
182
|
+
"y1",
|
|
183
|
+
"y2",
|
|
184
|
+
"stroke",
|
|
185
|
+
"stroke-width"
|
|
186
|
+
], wt = [
|
|
187
|
+
"x1",
|
|
188
|
+
"x2",
|
|
189
|
+
"y1",
|
|
190
|
+
"y2",
|
|
191
|
+
"stroke",
|
|
192
|
+
"stroke-width"
|
|
193
|
+
], Tt = {
|
|
194
|
+
key: 1,
|
|
195
|
+
class: "line-axis"
|
|
196
|
+
}, Et = [
|
|
197
|
+
"x1",
|
|
198
|
+
"x2",
|
|
199
|
+
"y1",
|
|
200
|
+
"y2",
|
|
201
|
+
"stroke",
|
|
202
|
+
"stroke-width"
|
|
203
|
+
], Dt = [
|
|
204
|
+
"x1",
|
|
205
|
+
"x2",
|
|
206
|
+
"y1",
|
|
207
|
+
"y2",
|
|
208
|
+
"stroke",
|
|
209
|
+
"stroke-width"
|
|
210
|
+
], Ot = [
|
|
211
|
+
"x1",
|
|
212
|
+
"x2",
|
|
213
|
+
"y1",
|
|
214
|
+
"y2",
|
|
215
|
+
"stroke",
|
|
216
|
+
"stroke-width"
|
|
217
|
+
], kt = [
|
|
218
|
+
"x",
|
|
219
|
+
"y",
|
|
220
|
+
"font-size",
|
|
221
|
+
"fill"
|
|
222
|
+
], At = {
|
|
223
|
+
key: 3,
|
|
224
|
+
class: "periodLabels"
|
|
225
|
+
}, jt = [
|
|
226
|
+
"x1",
|
|
227
|
+
"x2",
|
|
228
|
+
"y1",
|
|
229
|
+
"y2",
|
|
230
|
+
"stroke",
|
|
231
|
+
"stroke-width"
|
|
232
|
+
], Mt = { key: 0 }, Nt = [
|
|
233
|
+
"font-size",
|
|
234
|
+
"text-anchor",
|
|
235
|
+
"fill",
|
|
236
|
+
"transform"
|
|
237
|
+
], Pt = [
|
|
238
|
+
"font-size",
|
|
239
|
+
"text-anchor",
|
|
240
|
+
"fill",
|
|
241
|
+
"transform",
|
|
242
|
+
"innerHTML"
|
|
243
|
+
], Ft = { class: "plots" }, It = { class: "line-plot-series" }, Lt = [
|
|
244
|
+
"d",
|
|
245
|
+
"stroke",
|
|
246
|
+
"stroke-width"
|
|
247
|
+
], Rt = [
|
|
248
|
+
"d",
|
|
249
|
+
"stroke",
|
|
250
|
+
"stroke-width"
|
|
251
|
+
], zt = [
|
|
252
|
+
"d",
|
|
253
|
+
"stroke",
|
|
254
|
+
"stroke-width"
|
|
255
|
+
], Bt = [
|
|
256
|
+
"d",
|
|
257
|
+
"stroke",
|
|
258
|
+
"stroke-width"
|
|
259
|
+
], Vt = [
|
|
260
|
+
"cx",
|
|
261
|
+
"cy",
|
|
262
|
+
"fill",
|
|
263
|
+
"stroke"
|
|
264
|
+
], Ht = {
|
|
265
|
+
key: 4,
|
|
266
|
+
class: "dataLabels"
|
|
267
|
+
}, Ut = [
|
|
268
|
+
"font-size",
|
|
269
|
+
"fill",
|
|
270
|
+
"x",
|
|
271
|
+
"y"
|
|
272
|
+
], Wt = {
|
|
273
|
+
key: 5,
|
|
274
|
+
class: "tooltip-traps"
|
|
275
|
+
}, Gt = [
|
|
276
|
+
"x",
|
|
277
|
+
"y",
|
|
278
|
+
"height",
|
|
279
|
+
"width",
|
|
280
|
+
"fill",
|
|
281
|
+
"onMouseenter",
|
|
282
|
+
"onMouseleave",
|
|
283
|
+
"onClick"
|
|
284
|
+
], Kt = {
|
|
285
|
+
key: 0,
|
|
286
|
+
class: "line-grid"
|
|
287
|
+
}, qt = [
|
|
288
|
+
"x1",
|
|
289
|
+
"x2",
|
|
290
|
+
"y1",
|
|
291
|
+
"y2",
|
|
292
|
+
"stroke",
|
|
293
|
+
"stroke-width"
|
|
294
|
+
], Jt = [
|
|
295
|
+
"x1",
|
|
296
|
+
"x2",
|
|
297
|
+
"y1",
|
|
298
|
+
"y2",
|
|
299
|
+
"stroke",
|
|
300
|
+
"stroke-width"
|
|
301
|
+
], Yt = {
|
|
302
|
+
key: 1,
|
|
303
|
+
class: "line-axis"
|
|
304
|
+
}, Xt = [
|
|
305
|
+
"x1",
|
|
306
|
+
"x2",
|
|
307
|
+
"y1",
|
|
308
|
+
"y2",
|
|
309
|
+
"stroke",
|
|
310
|
+
"stroke-width"
|
|
311
|
+
], Zt = [
|
|
312
|
+
"x1",
|
|
313
|
+
"x2",
|
|
314
|
+
"y1",
|
|
315
|
+
"y2",
|
|
316
|
+
"stroke",
|
|
317
|
+
"stroke-width"
|
|
318
|
+
], Qt = [
|
|
319
|
+
"x1",
|
|
320
|
+
"x2",
|
|
321
|
+
"y1",
|
|
322
|
+
"y2",
|
|
323
|
+
"stroke",
|
|
324
|
+
"stroke-width"
|
|
325
|
+
], $t = [
|
|
326
|
+
"x",
|
|
327
|
+
"y",
|
|
328
|
+
"font-size",
|
|
329
|
+
"fill"
|
|
330
|
+
], en = {
|
|
331
|
+
key: 3,
|
|
332
|
+
class: "periodLabels"
|
|
333
|
+
}, tn = [
|
|
334
|
+
"x1",
|
|
335
|
+
"x2",
|
|
336
|
+
"y1",
|
|
337
|
+
"y2",
|
|
338
|
+
"stroke",
|
|
339
|
+
"stroke-width"
|
|
340
|
+
], nn = { key: 0 }, rn = [
|
|
341
|
+
"font-size",
|
|
342
|
+
"text-anchor",
|
|
343
|
+
"fill",
|
|
344
|
+
"transform"
|
|
345
|
+
], an = [
|
|
346
|
+
"font-size",
|
|
347
|
+
"text-anchor",
|
|
348
|
+
"fill",
|
|
349
|
+
"transform",
|
|
350
|
+
"innerHTML"
|
|
351
|
+
], on = { class: "plots" }, sn = [
|
|
352
|
+
"x",
|
|
353
|
+
"width",
|
|
354
|
+
"height",
|
|
355
|
+
"y",
|
|
356
|
+
"fill",
|
|
357
|
+
"stroke",
|
|
358
|
+
"stroke-width"
|
|
359
|
+
], cn = ["to"], ln = ["from", "to"], un = {
|
|
360
|
+
key: 4,
|
|
361
|
+
class: "dataLabels"
|
|
362
|
+
}, dn = [
|
|
363
|
+
"x",
|
|
364
|
+
"y",
|
|
365
|
+
"font-size",
|
|
366
|
+
"fill"
|
|
367
|
+
], fn = {
|
|
368
|
+
key: 5,
|
|
369
|
+
class: "tooltip-traps"
|
|
370
|
+
}, pn = [
|
|
371
|
+
"x",
|
|
372
|
+
"y",
|
|
373
|
+
"height",
|
|
374
|
+
"width",
|
|
375
|
+
"fill",
|
|
376
|
+
"onMouseenter",
|
|
377
|
+
"onMouseleave",
|
|
378
|
+
"onClick"
|
|
379
|
+
], mn = {
|
|
380
|
+
key: 6,
|
|
381
|
+
class: "axis-labels"
|
|
382
|
+
}, hn = [
|
|
383
|
+
"font-size",
|
|
384
|
+
"fill",
|
|
385
|
+
"x",
|
|
386
|
+
"y"
|
|
387
|
+
], gn = [
|
|
388
|
+
"font-size",
|
|
389
|
+
"fill",
|
|
390
|
+
"x",
|
|
391
|
+
"y"
|
|
392
|
+
], _n = [
|
|
393
|
+
"font-size",
|
|
394
|
+
"fill",
|
|
395
|
+
"transform"
|
|
396
|
+
], vn = [
|
|
397
|
+
"font-size",
|
|
398
|
+
"fill",
|
|
399
|
+
"transform"
|
|
400
|
+
], yn = {
|
|
401
|
+
key: 1,
|
|
402
|
+
style: {
|
|
403
|
+
position: "absolute",
|
|
404
|
+
top: "100%",
|
|
405
|
+
left: "0",
|
|
406
|
+
width: "100%"
|
|
407
|
+
},
|
|
408
|
+
"data-dom-to-png-ignore": "",
|
|
409
|
+
"aria-hidden": "true"
|
|
410
|
+
}, bn = {
|
|
411
|
+
key: 5,
|
|
412
|
+
class: "vue-data-ui-watermark"
|
|
413
|
+
}, xn = ["id"], Sn = ["onClick", "onKeydown"], Cn = ["onClick", "onKeydown"], wn = ["onClick", "onKeydown"], Tn = {
|
|
414
|
+
key: 1,
|
|
415
|
+
class: "vue-ui-quick-chart-not-processable"
|
|
416
|
+
}, En = /* @__PURE__ */ ve({
|
|
417
|
+
__name: "vue-ui-quick-chart",
|
|
418
|
+
props: {
|
|
419
|
+
config: {
|
|
420
|
+
type: Object,
|
|
421
|
+
default() {
|
|
422
|
+
return {};
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
dataset: {
|
|
426
|
+
type: [
|
|
427
|
+
Array,
|
|
428
|
+
Object,
|
|
429
|
+
String,
|
|
430
|
+
Number
|
|
431
|
+
],
|
|
432
|
+
default() {
|
|
433
|
+
return null;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
emits: [
|
|
438
|
+
"selectDatapoint",
|
|
439
|
+
"selectLegend",
|
|
440
|
+
"copyAlt"
|
|
441
|
+
],
|
|
442
|
+
setup(e, { expose: ve, emit: Be }) {
|
|
443
|
+
let He = Ae(() => import("./BaseIcon-CL6Y7alf.js").then((e) => e.n)), Ue = Ae(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), Ge = Ae(() => import("./PenAndPaper-DxBCVZAx.js").then((e) => e.t)), Ke = Ae(() => import("./Tooltip-V6Z0Ko-1.js")), qe = Ae(() => import("./UserOptions-Gaw1761w.js").then((e) => e.n)), { vue_ui_quick_chart: Je } = le(), { isThemeValid: Ye, warnInvalidTheme: Xe } = he(), M = e, N = w(null), En = w(null), Dn = w(null), On = w(null), P = w(r()), F = w(!1), kn = w(null), An = w(""), I = w(null), jn = w(null), Mn = w(null), L = w([]), Nn = w(0), Pn = w(0), Fn = w(!1), In = w(null), Ln = w(null), R = w(null), Rn = w(null), zn = w(null), Bn = w(null);
|
|
444
|
+
w("#FFFFFF");
|
|
445
|
+
let z = w(er()), Vn = g(() => !!z.value.debug), Hn = g(() => z.value.useCursorPointer), B = w(null), Un = w({
|
|
446
|
+
x: 0,
|
|
447
|
+
y: 0
|
|
448
|
+
}), V = w("pointer"), Wn = w(!1), Gn = g(() => se({
|
|
449
|
+
dafaultConfig: {
|
|
450
|
+
backgroundColor: "#99999930",
|
|
451
|
+
customPalette: ["#BABABA"],
|
|
452
|
+
showDataLabels: !1,
|
|
453
|
+
paletteStartIndex: 0,
|
|
454
|
+
showUserOptions: !1,
|
|
455
|
+
showTooltip: !1,
|
|
456
|
+
xAxisLabel: "",
|
|
457
|
+
yAxisLabel: "",
|
|
458
|
+
xyAxisStroke: "#999999",
|
|
459
|
+
xyGridStroke: "#99999950",
|
|
460
|
+
xyPeriods: [],
|
|
461
|
+
xyShowScale: !1,
|
|
462
|
+
xyPaddingLeft: 6,
|
|
463
|
+
xyPaddingBottom: 12,
|
|
464
|
+
zoomXy: !1,
|
|
465
|
+
zoomStartIndex: null,
|
|
466
|
+
zoomEndIndex: null
|
|
467
|
+
},
|
|
468
|
+
userConfig: z.value.skeletonConfig ?? {}
|
|
469
|
+
})), { loading: H, FINAL_DATASET: Kn, manualLoading: qn } = de({
|
|
470
|
+
...Le(M),
|
|
471
|
+
FINAL_CONFIG: z,
|
|
472
|
+
prepareConfig: er,
|
|
473
|
+
callback: () => {
|
|
474
|
+
Promise.resolve().then(async () => {
|
|
475
|
+
await Me(), G.value === A.LINE && z.value.lineAnimated && !H.value && Lr({
|
|
476
|
+
pathDuration: 1e3,
|
|
477
|
+
pointDuration: 1200,
|
|
478
|
+
labelDuration: 1200
|
|
479
|
+
});
|
|
480
|
+
});
|
|
481
|
+
},
|
|
482
|
+
skeletonDataset: M.config?.skeletonDataset ?? [
|
|
483
|
+
1,
|
|
484
|
+
2,
|
|
485
|
+
3,
|
|
486
|
+
5,
|
|
487
|
+
8,
|
|
488
|
+
13,
|
|
489
|
+
21,
|
|
490
|
+
34,
|
|
491
|
+
55,
|
|
492
|
+
89
|
|
493
|
+
],
|
|
494
|
+
skeletonConfig: se({
|
|
495
|
+
defaultConfig: z.value,
|
|
496
|
+
userConfig: Gn.value
|
|
497
|
+
})
|
|
498
|
+
}), { svgRef: Jn } = Ce({ config: { text: z.value.title } }), Yn = g(() => z.value.showUserOptionsOnChartHover), Xn = g(() => z.value.keepUserOptionsStateOnChartLeave), Zn = w(!z.value.showUserOptionsOnChartHover), Qn = w(!1);
|
|
499
|
+
function $n(e = !1) {
|
|
500
|
+
Qn.value = e, Yn.value && (Zn.value = e);
|
|
501
|
+
}
|
|
502
|
+
function er() {
|
|
503
|
+
let e = me({
|
|
504
|
+
userConfig: M.config,
|
|
505
|
+
defaultConfig: Je
|
|
506
|
+
}), t = {}, n = e.theme;
|
|
507
|
+
if (n) if (!Ye.value(e)) Xe(e), t = e;
|
|
508
|
+
else {
|
|
509
|
+
let r = me({
|
|
510
|
+
userConfig: Te[n] || M.config,
|
|
511
|
+
defaultConfig: e
|
|
512
|
+
});
|
|
513
|
+
t = {
|
|
514
|
+
...me({
|
|
515
|
+
userConfig: M.config,
|
|
516
|
+
defaultConfig: r
|
|
517
|
+
}),
|
|
518
|
+
customPalette: e.customPalette.length ? e.customPalette : i[n] || o
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
else t = e;
|
|
522
|
+
return t;
|
|
523
|
+
}
|
|
524
|
+
Re(() => M.config, (e) => {
|
|
525
|
+
H.value || (z.value = er()), K.value.width = z.value.width, K.value.height = z.value.height, Zn.value = !z.value.showUserOptionsOnChartHover, dr(), lr.value.showTooltip = z.value.showTooltip;
|
|
526
|
+
}, { deep: !0 }), Re(() => M.dataset, (e) => {
|
|
527
|
+
W.value = nr.value, X.value.start = 0, X.value.end = W.value.maxSeriesLength, Pn.value += 1;
|
|
528
|
+
}, { deep: !0 }), Re(() => M.dataset, (e) => {
|
|
529
|
+
Array.isArray(e) && e.length > 0 && (qn.value = !1);
|
|
530
|
+
}, { immediate: !0 });
|
|
531
|
+
let tr = g(() => ae(z.value.customPalette)), U = Be, nr = g(() => {
|
|
532
|
+
let e = Ve({
|
|
533
|
+
debug: Vn.value,
|
|
534
|
+
dataset: f(Kn.value, [
|
|
535
|
+
"serie",
|
|
536
|
+
"series",
|
|
537
|
+
"data",
|
|
538
|
+
"value",
|
|
539
|
+
"values",
|
|
540
|
+
"num"
|
|
541
|
+
]),
|
|
542
|
+
barLineSwitch: z.value.chartIsBarUnderDatasetLength
|
|
543
|
+
});
|
|
544
|
+
return !e && Vn.value && console.error("VueUiQuickChart : Dataset is not processable"), e;
|
|
545
|
+
}), W = w(nr.value), rr = g(() => !!W.value), G = g(() => W.value ? W.value.type : null);
|
|
546
|
+
Re(() => G.value, (e) => {
|
|
547
|
+
e || s({
|
|
548
|
+
componentName: "VueUiQuickChart",
|
|
549
|
+
type: "dataset",
|
|
550
|
+
debug: Vn.value
|
|
551
|
+
});
|
|
552
|
+
}, { immediate: !0 });
|
|
553
|
+
let { isPrinting: ir, isImaging: ar, generatePdf: or, generateImage: sr } = ue({
|
|
554
|
+
elementId: `${G.value}_${P.value}`,
|
|
555
|
+
fileName: z.value.title || G.value,
|
|
556
|
+
options: z.value.userOptionsPrint
|
|
557
|
+
}), cr = g(() => z.value.showUserOptions && !z.value.title), K = w({
|
|
558
|
+
width: z.value.width,
|
|
559
|
+
height: z.value.height
|
|
560
|
+
}), lr = w({ showTooltip: z.value.showTooltip });
|
|
561
|
+
Re(z, () => {
|
|
562
|
+
lr.value = { showTooltip: z.value.showTooltip };
|
|
563
|
+
}, { immediate: !0 });
|
|
564
|
+
let q = Ie(null), ur = Ie(null);
|
|
565
|
+
Fe(async () => {
|
|
566
|
+
Fn.value = !0, dr();
|
|
567
|
+
});
|
|
568
|
+
function dr() {
|
|
569
|
+
if (a(M.dataset) || (qn.value = z.value.loading), z.value.responsive) {
|
|
570
|
+
let e = ye(() => {
|
|
571
|
+
let { width: e, height: t } = be({
|
|
572
|
+
chart: N.value,
|
|
573
|
+
title: z.value.title ? En.value : null,
|
|
574
|
+
legend: z.value.showLegend ? Dn.value : null,
|
|
575
|
+
slicer: [A.BAR, A.LINE].includes(G.value) && z.value.zoomXy && W.value.maxSeriesLength > 1 ? On.value : null,
|
|
576
|
+
source: jn.value,
|
|
577
|
+
noTitle: Mn.value
|
|
578
|
+
});
|
|
579
|
+
requestAnimationFrame(() => {
|
|
580
|
+
K.value.width = e, K.value.height = t;
|
|
581
|
+
});
|
|
582
|
+
});
|
|
583
|
+
q.value && (ur.value && q.value.unobserve(ur.value), q.value.disconnect()), q.value = new ResizeObserver(e), ur.value = N.value.parentNode, q.value.observe(ur.value);
|
|
584
|
+
}
|
|
585
|
+
Tr();
|
|
586
|
+
}
|
|
587
|
+
Pe(() => {
|
|
588
|
+
q.value && (ur.value && q.value.unobserve(ur.value), q.value.disconnect());
|
|
589
|
+
});
|
|
590
|
+
let fr = g(() => {
|
|
591
|
+
switch (G.value) {
|
|
592
|
+
case A.LINE: return `0 0 ${K.value.width <= 0 ? 10 : K.value.width} ${K.value.height <= 0 ? 10 : K.value.height}`;
|
|
593
|
+
case A.BAR: return `0 0 ${K.value.width <= 0 ? 10 : K.value.width} ${K.value.height <= 0 ? 10 : K.value.height}`;
|
|
594
|
+
case A.DONUT: return `0 0 ${K.value.width <= 0 ? 10 : K.value.width} ${K.value.height <= 0 ? 10 : K.value.height}`;
|
|
595
|
+
default: return `0 0 ${K.value.width <= 0 ? 10 : K.value.width} ${K.value.height <= 0 ? 10 : K.value.height}`;
|
|
596
|
+
}
|
|
597
|
+
});
|
|
598
|
+
function pr(e) {
|
|
599
|
+
return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
600
|
+
}
|
|
601
|
+
function mr(e) {
|
|
602
|
+
return z.value.blurOnHover && ![null, void 0].includes(I.value) && I.value !== e ? `url(#blur_${P.value})` : "";
|
|
603
|
+
}
|
|
604
|
+
function hr() {
|
|
605
|
+
L.value.length ? L.value = [] : G.value === A.DONUT ? Y.value.legend.forEach((e) => {
|
|
606
|
+
L.value.push(e.id);
|
|
607
|
+
}) : G.value === A.LINE ? Z.value.legend.forEach((e) => {
|
|
608
|
+
L.value.push(e.id);
|
|
609
|
+
}) : G.value === A.BAR && Q.value.legend.forEach((e) => {
|
|
610
|
+
L.value.push(e.id);
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
function gr(e, t) {
|
|
614
|
+
L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length < t && L.value.push(e);
|
|
615
|
+
}
|
|
616
|
+
let _r = w(null), vr = w(null), yr = w(!1);
|
|
617
|
+
function br(e, t) {
|
|
618
|
+
yr.value = !0;
|
|
619
|
+
let n = e.value, r = nr.value.dataset.find((t, n) => e.id === `donut_${n}`).VALUE;
|
|
620
|
+
if (L.value.includes(e.id)) {
|
|
621
|
+
L.value = L.value.filter((t) => t !== e.id);
|
|
622
|
+
function t() {
|
|
623
|
+
n > r ? (yr.value = !1, cancelAnimationFrame(vr.value), W.value = {
|
|
624
|
+
...W.value,
|
|
625
|
+
dataset: W.value.dataset.map((t, n) => e.id === `donut_${n}` ? {
|
|
626
|
+
...t,
|
|
627
|
+
value: r,
|
|
628
|
+
VALUE: r
|
|
629
|
+
} : t)
|
|
630
|
+
}) : (n += r * .025, W.value = {
|
|
631
|
+
...W.value,
|
|
632
|
+
dataset: W.value.dataset.map((t, r) => e.id === `donut_${r}` ? {
|
|
633
|
+
...t,
|
|
634
|
+
value: n,
|
|
635
|
+
VALUE: n
|
|
636
|
+
} : t)
|
|
637
|
+
}, vr.value = requestAnimationFrame(t));
|
|
638
|
+
}
|
|
639
|
+
t();
|
|
640
|
+
} else if (t.length > 1) {
|
|
641
|
+
function t() {
|
|
642
|
+
n < r / 100 ? (yr.value = !1, cancelAnimationFrame(_r.value), L.value.push(e.id), W.value = {
|
|
643
|
+
...W.value,
|
|
644
|
+
dataset: W.value.dataset.map((t, n) => e.id === `donut_${n}` ? {
|
|
645
|
+
...t,
|
|
646
|
+
value: 0,
|
|
647
|
+
VALUE: 0
|
|
648
|
+
} : t)
|
|
649
|
+
}) : (n /= 1.1, W.value = {
|
|
650
|
+
...W.value,
|
|
651
|
+
dataset: W.value.dataset.map((t, r) => e.id === `donut_${r}` ? {
|
|
652
|
+
...t,
|
|
653
|
+
value: n,
|
|
654
|
+
VALUE: n
|
|
655
|
+
} : t)
|
|
656
|
+
}, _r.value = requestAnimationFrame(t));
|
|
657
|
+
}
|
|
658
|
+
t();
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
let J = w(null);
|
|
662
|
+
function xr(e) {
|
|
663
|
+
J.value = e;
|
|
664
|
+
}
|
|
665
|
+
let Sr = g(() => z.value.donutThicknessRatio < .01 ? .01 : z.value.donutThicknessRatio > .4 ? .4 : z.value.donutThicknessRatio), Y = g(() => {
|
|
666
|
+
if (G.value !== A.DONUT) return null;
|
|
667
|
+
let e = W.value.dataset.map((e, t) => ({
|
|
668
|
+
...e,
|
|
669
|
+
value: e.VALUE || e.DATA || e.SERIE || e.VALUES || e.NUM || 0,
|
|
670
|
+
name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
|
|
671
|
+
id: `donut_${t}`
|
|
672
|
+
})).map((e, t) => ({
|
|
673
|
+
...e,
|
|
674
|
+
color: e.COLOR ? oe(e.COLOR) : tr.value[t + z.value.paletteStartIndex] || o[t + z.value.paletteStartIndex] || o[(t + z.value.paletteStartIndex) % o.length],
|
|
675
|
+
immutableValue: e.value
|
|
676
|
+
}));
|
|
677
|
+
function t(e, t) {
|
|
678
|
+
return n({
|
|
679
|
+
v: isNaN(e.value / pr(t)) ? 0 : e.value / pr(t) * 100,
|
|
680
|
+
s: "%",
|
|
681
|
+
r: z.value.dataLabelRoundingPercentage
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
function r(e) {
|
|
685
|
+
return e.proportion * 100 > z.value.donutHideLabelUnderPercentage;
|
|
686
|
+
}
|
|
687
|
+
function i(e, t) {
|
|
688
|
+
let n = nr.value.dataset.find((t, n) => `donut_${n}` === e).VALUE;
|
|
689
|
+
return Math.abs(String(Number(n.toFixed(0))).length - String(Number(t.toFixed(0))).length);
|
|
690
|
+
}
|
|
691
|
+
function a({ datapoint: t, seriesIndex: r, triggerMode: i = "pointer" }) {
|
|
692
|
+
kn.value = {
|
|
693
|
+
datapoint: t,
|
|
694
|
+
seriesIndex: r,
|
|
695
|
+
config: z.value,
|
|
696
|
+
dataset: e
|
|
697
|
+
}, I.value = t.id, B.value = r, V.value = i;
|
|
698
|
+
let a = z.value.tooltipCustomFormat;
|
|
699
|
+
if (z.value.events.datapointEnter && z.value.events.datapointEnter({
|
|
700
|
+
datapoint: t,
|
|
701
|
+
seriesIndex: r
|
|
702
|
+
}), re(a) && te(() => a({
|
|
703
|
+
datapoint: t,
|
|
704
|
+
seriesIndex: r,
|
|
705
|
+
series: e,
|
|
706
|
+
config: z.value
|
|
707
|
+
}))) An.value = a({
|
|
708
|
+
datapoint: t,
|
|
709
|
+
seriesIndex: r,
|
|
710
|
+
series: e,
|
|
711
|
+
config: z.value
|
|
712
|
+
});
|
|
713
|
+
else {
|
|
714
|
+
let e = "";
|
|
715
|
+
e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${z.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, e += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e += `<b>${u(z.value.formatter, t.value, n({
|
|
716
|
+
p: z.value.valuePrefix,
|
|
717
|
+
v: t.value,
|
|
718
|
+
s: z.value.valueSuffix,
|
|
719
|
+
r: z.value.dataLabelRoundingValue
|
|
720
|
+
}), {
|
|
721
|
+
datapoint: t,
|
|
722
|
+
seriesIndex: r
|
|
723
|
+
})}</b>`, e += `<span>(${n({
|
|
724
|
+
v: t.proportion * 100,
|
|
725
|
+
s: "%",
|
|
726
|
+
r: z.value.dataLabelRoundingPercentage
|
|
727
|
+
})})</span></div>`, An.value = `<div>${e}</div>`;
|
|
728
|
+
}
|
|
729
|
+
F.value = !0;
|
|
730
|
+
}
|
|
731
|
+
function s({ datapoint: e, seriesIndex: t }) {
|
|
732
|
+
z.value.events.datapointLeave && z.value.events.datapointLeave({
|
|
733
|
+
datapoint: e,
|
|
734
|
+
seriesIndex: t
|
|
735
|
+
}), F.value = !1, I.value = null, J.value = null, B.value = null, V.value = "pointer";
|
|
736
|
+
}
|
|
737
|
+
function l({ datapoint: e, seriesIndex: t }) {
|
|
738
|
+
z.value.events.datapointClick && z.value.events.datapointClick({
|
|
739
|
+
datapoint: e,
|
|
740
|
+
seriesIndex: t
|
|
741
|
+
}), U("selectDatapoint", e);
|
|
742
|
+
}
|
|
743
|
+
let ee = {
|
|
744
|
+
centerX: K.value.width / 2,
|
|
745
|
+
centerY: K.value.height / 2
|
|
746
|
+
}, d = e.filter((e) => !L.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0), f = e.map((e, t) => ({
|
|
747
|
+
...e,
|
|
748
|
+
proportion: (e.value || 0) / d,
|
|
749
|
+
value: e.value || 0,
|
|
750
|
+
absoluteValue: nr.value.dataset.find((t, n) => `donut_${n}` === e.id).VALUE,
|
|
751
|
+
shape: "circle"
|
|
752
|
+
})), ne = K.value.width / 2, ie = K.value.height / 2, p = K.value.height * z.value.donutRadiusRatio;
|
|
753
|
+
return {
|
|
754
|
+
dataset: f.filter((e) => !L.value.includes(e.id)),
|
|
755
|
+
legend: f,
|
|
756
|
+
drawingArea: ee,
|
|
757
|
+
displayArcPercentage: t,
|
|
758
|
+
isArcBigEnough: r,
|
|
759
|
+
useTooltip: a,
|
|
760
|
+
killTooltip: s,
|
|
761
|
+
selectDatapoint: l,
|
|
762
|
+
getSpaces: i,
|
|
763
|
+
total: d,
|
|
764
|
+
cx: ne,
|
|
765
|
+
cy: ie,
|
|
766
|
+
radius: p,
|
|
767
|
+
chart: c({ series: e.filter((e) => !L.value.includes(e.id)) }, ne, ie, p, p, 1.99999, 2, 1, 360, 105.25, K.value.height * Sr.value)
|
|
768
|
+
};
|
|
769
|
+
}), X = w({
|
|
770
|
+
start: 0,
|
|
771
|
+
end: W.value.maxSeriesLength
|
|
772
|
+
});
|
|
773
|
+
function Cr() {
|
|
774
|
+
Tr();
|
|
775
|
+
}
|
|
776
|
+
let wr = w(null);
|
|
777
|
+
async function Tr() {
|
|
778
|
+
await Me(), await Me();
|
|
779
|
+
let { zoomStartIndex: e, zoomEndIndex: t } = z.value, n = wr.value;
|
|
780
|
+
(e != null || t != null) && n ? (e != null && n.setStartValue(e), t != null && n.setEndValue(Er(t + 1))) : (X.value = {
|
|
781
|
+
start: 0,
|
|
782
|
+
end: W.value.maxSeriesLength
|
|
783
|
+
}, Pn.value += 1);
|
|
784
|
+
}
|
|
785
|
+
function Er(e) {
|
|
786
|
+
let t = W.value.maxSeriesLength;
|
|
787
|
+
return e > t ? t : e < 0 || z.value.zoomStartIndex !== null && e < z.value.zoomStartIndex ? z.value.zoomStartIndex === null ? 1 : z.value.zoomStartIndex + 1 : e;
|
|
788
|
+
}
|
|
789
|
+
let Dr = g(() => {
|
|
790
|
+
if (!z.value.zoomMinimap.show || G.value === A.DONUT) return [];
|
|
791
|
+
let e = [];
|
|
792
|
+
j(W.value.dataset) && (e = W.value.dataset), We(W.value.dataset) && (e = W.value.dataset.map((e, t) => ({
|
|
793
|
+
values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
|
|
794
|
+
id: G.value === A.LINE ? `line_${t}` : `bar_${t}`
|
|
795
|
+
})).filter((e) => !L.value.includes(e.id)));
|
|
796
|
+
let t = j(e) ? e.length : Math.max(...e.map((e) => e.values.length)), n = [];
|
|
797
|
+
if (j(e)) n = e;
|
|
798
|
+
else for (let r = 0; r < t; r += 1) n.push(e.map((e) => e.values[r] || 0).reduce((e, t) => (e || 0) + (t || 0), 0));
|
|
799
|
+
let r = Math.min(...n);
|
|
800
|
+
return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
|
|
801
|
+
});
|
|
802
|
+
function Or() {
|
|
803
|
+
let e = 0;
|
|
804
|
+
return Rn.value && (e = Array.from(Rn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
805
|
+
let n = t.getComputedTextLength();
|
|
806
|
+
return n > e ? n : e;
|
|
807
|
+
}, 0)), e + 4;
|
|
808
|
+
}
|
|
809
|
+
let kr = w(0), Ar = ye((e) => {
|
|
810
|
+
kr.value = e;
|
|
811
|
+
}, 100);
|
|
812
|
+
ze((e) => {
|
|
813
|
+
let t = R.value;
|
|
814
|
+
if (!t) return;
|
|
815
|
+
let n = new ResizeObserver((e) => {
|
|
816
|
+
Ar(e[0].contentRect.height);
|
|
817
|
+
});
|
|
818
|
+
n.observe(t), e(() => n.disconnect());
|
|
819
|
+
}), Pe(() => {
|
|
820
|
+
kr.value = 0;
|
|
821
|
+
});
|
|
822
|
+
let jr = g(() => {
|
|
823
|
+
let e = 0;
|
|
824
|
+
return R.value && (e = kr.value), 0 + e;
|
|
825
|
+
}), Z = g(() => {
|
|
826
|
+
if (G.value !== A.LINE) return null;
|
|
827
|
+
let e = {
|
|
828
|
+
height: K.value.height,
|
|
829
|
+
width: K.value.width
|
|
830
|
+
}, t = Or();
|
|
831
|
+
if (R.value) {
|
|
832
|
+
let e = R.value.getBBox().x;
|
|
833
|
+
e < 0 && (t += Math.abs(e));
|
|
834
|
+
}
|
|
835
|
+
let r = {
|
|
836
|
+
left: t + z.value.xyPaddingLeft,
|
|
837
|
+
top: z.value.xyPaddingTop,
|
|
838
|
+
right: e.width - z.value.xyPaddingRight,
|
|
839
|
+
bottom: e.height - z.value.xyPaddingBottom - jr.value,
|
|
840
|
+
width: Math.max(10, e.width - z.value.xyPaddingLeft - z.value.xyPaddingRight - t),
|
|
841
|
+
height: Math.max(10, e.height - z.value.xyPaddingTop - z.value.xyPaddingBottom - jr.value)
|
|
842
|
+
}, i = [];
|
|
843
|
+
j(W.value.dataset) && (i = [{
|
|
844
|
+
values: W.value.dataset.slice(X.value.start, X.value.end),
|
|
845
|
+
absoluteValues: W.value.dataset,
|
|
846
|
+
absoluteIndices: W.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
|
|
847
|
+
name: z.value.title,
|
|
848
|
+
color: tr.value[z.value.paletteStartIndex] || o[z.value.paletteStartIndex],
|
|
849
|
+
id: "line_0"
|
|
850
|
+
}]), We(W.value.dataset) && (i = W.value.dataset.map((e, t) => ({
|
|
851
|
+
...e,
|
|
852
|
+
values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
|
|
853
|
+
name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
|
|
854
|
+
id: `line_${t}`
|
|
855
|
+
})).map((e, t) => ({
|
|
856
|
+
...e,
|
|
857
|
+
color: e.COLOR ? oe(e.COLOR) : tr.value[t + z.value.paletteStartIndex] || o[t + z.value.paletteStartIndex] || o[(t + z.value.paletteStartIndex) % o.length],
|
|
858
|
+
values: e.values.slice(X.value.start, X.value.end),
|
|
859
|
+
absoluteValues: e.values,
|
|
860
|
+
absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
|
|
861
|
+
})));
|
|
862
|
+
let a = {
|
|
863
|
+
max: Math.max(...i.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values)),
|
|
864
|
+
min: Math.min(...i.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values)),
|
|
865
|
+
maxSeries: Math.max(...i.map((e) => e.values.length))
|
|
866
|
+
}, s = a.max === a.min ? ee(a.min, a.min + 1, z.value.xyScaleSegments) : ee(a.min < 0 ? a.min : 0, a.max < 0 ? 0 : a.max, z.value.xyScaleSegments), c = a.min < 0 ? Math.abs(a.min) : 0, l = a.max < 0 ? r.top : r.bottom - c / (s.max + c) * r.height, d = r.width / a.maxSeries, f = s.ticks.map((e) => ({
|
|
867
|
+
y: r.bottom - r.height * ((e + c) / (s.max + c)),
|
|
868
|
+
x: r.left - 8,
|
|
869
|
+
value: e
|
|
870
|
+
})), ne = i.map((e, t) => ({
|
|
871
|
+
...e,
|
|
872
|
+
shape: "circle",
|
|
873
|
+
coordinates: e.values.map((e, t) => ({
|
|
874
|
+
x: r.left + d * (t + 1) - d / 2,
|
|
875
|
+
y: r.bottom - (e + c) / (s.max + c) * r.height,
|
|
876
|
+
value: e
|
|
877
|
+
}))
|
|
878
|
+
})).map((e) => {
|
|
879
|
+
let t = [];
|
|
880
|
+
return e.coordinates.forEach((e) => {
|
|
881
|
+
t.push(`${e.x},${e.y} `);
|
|
882
|
+
}), {
|
|
883
|
+
...e,
|
|
884
|
+
linePath: t.join(" ")
|
|
885
|
+
};
|
|
886
|
+
});
|
|
887
|
+
function ie(e) {
|
|
888
|
+
return i.map((t) => ({
|
|
889
|
+
...t,
|
|
890
|
+
value: t.values[e],
|
|
891
|
+
absoluteIndex: t.absoluteIndices[e]
|
|
892
|
+
})).filter((e) => !L.value.includes(e.id));
|
|
893
|
+
}
|
|
894
|
+
function p(e, t = "pointer") {
|
|
895
|
+
I.value = e, J.value = e, B.value = e, V.value = t;
|
|
896
|
+
let r = ie(e);
|
|
897
|
+
kn.value = {
|
|
898
|
+
datapoint: r,
|
|
899
|
+
seriesIndex: e,
|
|
900
|
+
config: z.value,
|
|
901
|
+
dataset: i
|
|
902
|
+
};
|
|
903
|
+
let a = z.value.tooltipCustomFormat;
|
|
904
|
+
if (z.value.events.datapointEnter && z.value.events.datapointEnter({
|
|
905
|
+
datapoint: r,
|
|
906
|
+
seriesIndex: e + X.value.start
|
|
907
|
+
}), re(a) && te(() => a({
|
|
908
|
+
datapoint: r,
|
|
909
|
+
seriesIndex: e,
|
|
910
|
+
series: i,
|
|
911
|
+
config: z.value
|
|
912
|
+
}))) An.value = a({
|
|
913
|
+
datapoint: r,
|
|
914
|
+
seriesIndex: e,
|
|
915
|
+
series: i,
|
|
916
|
+
config: z.value
|
|
917
|
+
});
|
|
918
|
+
else {
|
|
919
|
+
let e = "";
|
|
920
|
+
$.value[r[0].absoluteIndex] && (e += `<div style="border-bottom:1px solid ${z.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${$.value[r[0].absoluteIndex].text}</div>`), r.forEach((t, r) => {
|
|
921
|
+
e += `
|
|
922
|
+
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
923
|
+
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>
|
|
924
|
+
<span>${t.name}:</span>
|
|
925
|
+
<b>${u(z.value.formatter, t.value, n({
|
|
926
|
+
p: z.value.valuePrefix,
|
|
927
|
+
v: t.value,
|
|
928
|
+
s: z.value.valueSuffix,
|
|
929
|
+
r: z.value.dataLabelRoundingValue
|
|
930
|
+
}), {
|
|
931
|
+
datapoint: t,
|
|
932
|
+
seriesIndex: r
|
|
933
|
+
})}
|
|
934
|
+
</b>
|
|
935
|
+
</div>
|
|
936
|
+
`;
|
|
937
|
+
}), An.value = e;
|
|
938
|
+
}
|
|
939
|
+
F.value = !0;
|
|
940
|
+
}
|
|
941
|
+
function m(e) {
|
|
942
|
+
let t = ie(e);
|
|
943
|
+
z.value.events.datapointLeave && z.value.events.datapointLeave({
|
|
944
|
+
datapoint: t,
|
|
945
|
+
seriesIndex: e + X.value.start
|
|
946
|
+
}), I.value = null, J.value = null, F.value = !1, B.value = null, V.value = "pointer";
|
|
947
|
+
}
|
|
948
|
+
function ae(e) {
|
|
949
|
+
let t = ie(e);
|
|
950
|
+
z.value.events.datapointClick && z.value.events.datapointClick({
|
|
951
|
+
datapoint: t,
|
|
952
|
+
seriesIndex: e + X.value.start
|
|
953
|
+
}), U("selectDatapoint", t);
|
|
954
|
+
}
|
|
955
|
+
return {
|
|
956
|
+
absoluteZero: l,
|
|
957
|
+
dataset: ne.filter((e) => !L.value.includes(e.id)),
|
|
958
|
+
legend: ne,
|
|
959
|
+
drawingArea: r,
|
|
960
|
+
extremes: a,
|
|
961
|
+
slotSize: d,
|
|
962
|
+
yLabels: f,
|
|
963
|
+
useTooltip: p,
|
|
964
|
+
killTooltip: m,
|
|
965
|
+
selectDatapoint: ae
|
|
966
|
+
};
|
|
967
|
+
}), Q = g(() => {
|
|
968
|
+
if (G.value !== A.BAR) return null;
|
|
969
|
+
let e = {
|
|
970
|
+
height: K.value.height,
|
|
971
|
+
width: K.value.width
|
|
972
|
+
}, t = Or();
|
|
973
|
+
if (R.value) {
|
|
974
|
+
let e = R.value.getBBox().x;
|
|
975
|
+
e < 0 && (t += Math.abs(e));
|
|
976
|
+
}
|
|
977
|
+
let r = {
|
|
978
|
+
left: t + z.value.xyPaddingLeft,
|
|
979
|
+
top: z.value.xyPaddingTop,
|
|
980
|
+
right: e.width - z.value.xyPaddingRight,
|
|
981
|
+
bottom: e.height - z.value.xyPaddingBottom - jr.value,
|
|
982
|
+
width: Math.max(10, e.width - z.value.xyPaddingLeft - z.value.xyPaddingRight - t),
|
|
983
|
+
height: Math.max(10, e.height - z.value.xyPaddingTop - z.value.xyPaddingBottom - jr.value)
|
|
984
|
+
}, i = [];
|
|
985
|
+
j(W.value.dataset) && (i = [{
|
|
986
|
+
values: W.value.dataset.slice(X.value.start, X.value.end),
|
|
987
|
+
absoluteValues: W.value.dataset,
|
|
988
|
+
absoluteIndices: W.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
|
|
989
|
+
name: z.value.title,
|
|
990
|
+
color: tr.value[z.value.paletteStartIndex] || o[z.value.paletteStartIndex],
|
|
991
|
+
id: "bar_0"
|
|
992
|
+
}]), We(W.value.dataset) && (i = W.value.dataset.map((e, t) => ({
|
|
993
|
+
...e,
|
|
994
|
+
values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
|
|
995
|
+
name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
|
|
996
|
+
id: `bar_${t}`
|
|
997
|
+
})).map((e, t) => ({
|
|
998
|
+
...e,
|
|
999
|
+
color: e.COLOR ? oe(e.COLOR) : tr.value[t + z.value.paletteStartIndex] || o[t + z.value.paletteStartIndex] || o[(t + z.value.paletteStartIndex) % o.length],
|
|
1000
|
+
values: e.values.slice(X.value.start, X.value.end),
|
|
1001
|
+
absoluteValues: e.values,
|
|
1002
|
+
absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
|
|
1003
|
+
})));
|
|
1004
|
+
let a = {
|
|
1005
|
+
max: Math.max(...i.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values)) < 0 ? 0 : Math.max(...i.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values)) ?? 1,
|
|
1006
|
+
min: Math.min(...i.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values)) ?? 0,
|
|
1007
|
+
maxSeries: Math.max(...i.filter((e) => !L.value.includes(e.id)).map((e) => e.values.length)) ?? 0
|
|
1008
|
+
}, s = a.min === a.max ? ee(a.min, a.min + 1, z.value.xyScaleSegments) : ee(a.min < 0 ? a.min : 0, a.max, z.value.xyScaleSegments), c = s.min < 0 ? Math.abs(s.min) : 0, l = r.bottom - c / (s.max + c) * r.height, d = r.width / a.maxSeries, f = s.ticks.map((e) => ({
|
|
1009
|
+
y: r.bottom - r.height * ((e + c) / (s.max + c)),
|
|
1010
|
+
x: r.left - 8,
|
|
1011
|
+
value: e
|
|
1012
|
+
})), ne = i.map((e, t) => ({
|
|
1013
|
+
...e,
|
|
1014
|
+
shape: "square",
|
|
1015
|
+
coordinates: e.values.map((e, n) => {
|
|
1016
|
+
let o = (e + c) / (a.max + c) * r.height, s = Math.abs(e) / Math.abs(a.min) * (r.height - l), ee = c / (a.max + c) * r.height, u = d / i.filter((e) => !L.value.includes(e.id)).length - z.value.barGap / i.filter((e) => !L.value.includes(e.id)).length;
|
|
1017
|
+
return {
|
|
1018
|
+
x: r.left + d * n + u * t + z.value.barGap / 2,
|
|
1019
|
+
y: e > 0 ? r.bottom - o : l,
|
|
1020
|
+
height: e > 0 ? o - ee : s,
|
|
1021
|
+
value: e,
|
|
1022
|
+
width: u
|
|
1023
|
+
};
|
|
1024
|
+
})
|
|
1025
|
+
})), ie = i.filter((e) => !L.value.includes(e.id)).map((e, t) => ({
|
|
1026
|
+
...e,
|
|
1027
|
+
coordinates: e.values.map((e, n) => {
|
|
1028
|
+
let o = (e + c) / (a.max + c) * r.height, s = Math.abs(e) / (a.max + c) * r.height, ee = c / (a.max + c) * r.height, u = d / i.filter((e) => !L.value.includes(e.id)).length - z.value.barGap / i.filter((e) => !L.value.includes(e.id)).length;
|
|
1029
|
+
return {
|
|
1030
|
+
x: r.left + d * n + u * t + z.value.barGap / 2,
|
|
1031
|
+
y: e > 0 ? r.bottom - o : l,
|
|
1032
|
+
height: e > 0 ? o - ee : s,
|
|
1033
|
+
value: e,
|
|
1034
|
+
width: u
|
|
1035
|
+
};
|
|
1036
|
+
})
|
|
1037
|
+
}));
|
|
1038
|
+
function p(e) {
|
|
1039
|
+
return i.map((t) => ({
|
|
1040
|
+
...t,
|
|
1041
|
+
value: t.values[e],
|
|
1042
|
+
absoluteIndex: t.absoluteIndices[e]
|
|
1043
|
+
})).filter((e) => !L.value.includes(e.id));
|
|
1044
|
+
}
|
|
1045
|
+
function m(e, t = "pointer") {
|
|
1046
|
+
I.value = e, J.value = e, B.value = e, V.value = t;
|
|
1047
|
+
let r = p(e);
|
|
1048
|
+
kn.value = {
|
|
1049
|
+
datapoint: r,
|
|
1050
|
+
seriesIndex: e,
|
|
1051
|
+
config: z.value,
|
|
1052
|
+
dataset: i
|
|
1053
|
+
};
|
|
1054
|
+
let a = z.value.tooltipCustomFormat;
|
|
1055
|
+
if (z.value.events.datapointEnter && z.value.events.datapointEnter({
|
|
1056
|
+
datapoint: r,
|
|
1057
|
+
seriesIndex: e + X.value.start
|
|
1058
|
+
}), re(a) && te(() => a({
|
|
1059
|
+
datapoint: r,
|
|
1060
|
+
seriesIndex: e,
|
|
1061
|
+
series: i,
|
|
1062
|
+
config: z.value
|
|
1063
|
+
}))) An.value = a({
|
|
1064
|
+
point: r,
|
|
1065
|
+
seriesIndex: e,
|
|
1066
|
+
series: i,
|
|
1067
|
+
config: z.value
|
|
1068
|
+
});
|
|
1069
|
+
else {
|
|
1070
|
+
let e = "";
|
|
1071
|
+
$.value[r[0].absoluteIndex] && (e += `<div style="border-bottom:1px solid ${z.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${$.value[r[0].absoluteIndex].text}</div>`), r.forEach((t, r) => {
|
|
1072
|
+
e += `
|
|
1073
|
+
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
1074
|
+
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${t.color}"/></svg>
|
|
1075
|
+
<span>${t.name}:</span>
|
|
1076
|
+
<b>${u(z.value.formatter, t.value, n({
|
|
1077
|
+
p: z.value.valuePrefix,
|
|
1078
|
+
v: t.value,
|
|
1079
|
+
s: z.value.valueSuffix,
|
|
1080
|
+
r: z.value.dataLabelRoundingValue
|
|
1081
|
+
}), {
|
|
1082
|
+
datapoint: t,
|
|
1083
|
+
seriesIndex: r
|
|
1084
|
+
})}
|
|
1085
|
+
</b>
|
|
1086
|
+
</div>
|
|
1087
|
+
`;
|
|
1088
|
+
}), An.value = e;
|
|
1089
|
+
}
|
|
1090
|
+
F.value = !0;
|
|
1091
|
+
}
|
|
1092
|
+
function ae(e) {
|
|
1093
|
+
let t = p(e);
|
|
1094
|
+
z.value.events.datapointLeave && z.value.events.datapointLeave({
|
|
1095
|
+
datapoint: t,
|
|
1096
|
+
seriesIndex: e + X.value.start
|
|
1097
|
+
}), F.value = !1, I.value = null, J.value = null, B.value = null, V.value = "pointer";
|
|
1098
|
+
}
|
|
1099
|
+
function se(e) {
|
|
1100
|
+
let t = p(e);
|
|
1101
|
+
z.value.events.datapointClick && z.value.events.datapointClick({
|
|
1102
|
+
datapoint: t,
|
|
1103
|
+
seriesIndex: e + X.value.start
|
|
1104
|
+
}), U("selectDatapoint", t);
|
|
1105
|
+
}
|
|
1106
|
+
return {
|
|
1107
|
+
absoluteZero: l,
|
|
1108
|
+
dataset: ie.filter((e) => !L.value.includes(e.id)),
|
|
1109
|
+
absoluteDataset: ie,
|
|
1110
|
+
legend: ne,
|
|
1111
|
+
drawingArea: r,
|
|
1112
|
+
extremes: a,
|
|
1113
|
+
slotSize: d,
|
|
1114
|
+
yLabels: f,
|
|
1115
|
+
useTooltip: m,
|
|
1116
|
+
killTooltip: ae,
|
|
1117
|
+
selectDatapoint: se
|
|
1118
|
+
};
|
|
1119
|
+
});
|
|
1120
|
+
function Mr(e) {
|
|
1121
|
+
if (!e) return;
|
|
1122
|
+
let t = e.getTotalLength();
|
|
1123
|
+
e.style.transition = "none", e.style.strokeDasharray = `${t}`, e.style.strokeDashoffset = `${t}`;
|
|
1124
|
+
}
|
|
1125
|
+
function Nr(e, { fromOpacity: t = "0", fromScale: n = "0.85" } = {}) {
|
|
1126
|
+
e.forEach((e) => {
|
|
1127
|
+
e.style.animation = "none", e.style.transition = "none", e.style.opacity = t, e.style.transform = `scale(${n})`, e.style.transformBox = "fill-box", e.style.transformOrigin = "50% 50%";
|
|
1128
|
+
});
|
|
1129
|
+
}
|
|
1130
|
+
function Pr(e) {
|
|
1131
|
+
return e.cx?.baseVal?.value ?? parseFloat(e.getAttribute("cx"));
|
|
1132
|
+
}
|
|
1133
|
+
function Fr(e) {
|
|
1134
|
+
let t = e.getAttribute("x");
|
|
1135
|
+
if (t != null) return parseFloat(t);
|
|
1136
|
+
let n = e.getCTM?.();
|
|
1137
|
+
return n ? n.e : 0;
|
|
1138
|
+
}
|
|
1139
|
+
function Ir(e, t) {
|
|
1140
|
+
if (!e.length) return [];
|
|
1141
|
+
let n = e.map((e) => ({
|
|
1142
|
+
el: e,
|
|
1143
|
+
x: t(e)
|
|
1144
|
+
})).filter((e) => Number.isFinite(e.x));
|
|
1145
|
+
n.sort((e, t) => e.x - t.x);
|
|
1146
|
+
let r = Infinity;
|
|
1147
|
+
for (let e = 1; e < n.length; e++) {
|
|
1148
|
+
let t = n[e].x - n[e - 1].x;
|
|
1149
|
+
t > 0 && t < r && (r = t);
|
|
1150
|
+
}
|
|
1151
|
+
let i = (r === Infinity ? 1 : r) / 2, a = [], o = {
|
|
1152
|
+
x: n[0].x,
|
|
1153
|
+
items: [n[0].el]
|
|
1154
|
+
};
|
|
1155
|
+
for (let e = 1; e < n.length; e++) {
|
|
1156
|
+
let { x: t, el: r } = n[e];
|
|
1157
|
+
Math.abs(t - o.x) <= i ? o.items.push(r) : (a.push(o), o = {
|
|
1158
|
+
x: t,
|
|
1159
|
+
items: [r]
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1162
|
+
return a.push(o), a;
|
|
1163
|
+
}
|
|
1164
|
+
function Lr({ pathDuration: e, pathEasing: t = "ease-in-out", pointDuration: n, labelDuration: r, pointDelay: i = 0, labelDelay: a = 0, pointStep: o = 0, labelStep: s = 0, intraSeriesStep: c = 0 } = {}) {
|
|
1165
|
+
let l = Array.isArray(In?.value) ? In.value : [In?.value].filter(Boolean), ee = Array.isArray(Ln?.value) ? Ln.value : [Ln?.value].filter(Boolean), u = [...l, ...ee].filter(Boolean), d = N?.value || null, f = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-plot")) : [], te = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-label")) : [];
|
|
1166
|
+
u.forEach(Mr), Nr(f, {
|
|
1167
|
+
fromOpacity: "0",
|
|
1168
|
+
fromScale: "0.75"
|
|
1169
|
+
}), Nr(te, {
|
|
1170
|
+
fromOpacity: "0",
|
|
1171
|
+
fromScale: "0.98"
|
|
1172
|
+
}), f.forEach((e) => e.classList.remove("quick-animation")), te.forEach((e) => e.classList.remove("quick-animation")), d && d.offsetWidth;
|
|
1173
|
+
let ne = f.length ? Ir(f, Pr) : [], re = te.length ? Ir(te, Fr) : [];
|
|
1174
|
+
requestAnimationFrame(() => {
|
|
1175
|
+
requestAnimationFrame(() => {
|
|
1176
|
+
u.forEach((n) => {
|
|
1177
|
+
n.style.transition = `stroke-dashoffset ${e}ms ${t}`, n.style.strokeDashoffset = "0";
|
|
1178
|
+
}), ne.forEach((e, t) => {
|
|
1179
|
+
e.items.forEach((e, r) => {
|
|
1180
|
+
let a = i + t * o + r * c;
|
|
1181
|
+
e.style.transition = `opacity ${n}ms ease-out ${a}ms, transform ${n}ms ease-out ${a}ms`, e.style.opacity = "1", e.style.transform = "scale(1)";
|
|
1182
|
+
});
|
|
1183
|
+
}), re.forEach((e, t) => {
|
|
1184
|
+
e.items.forEach((e, n) => {
|
|
1185
|
+
let i = a + t * s + n * c;
|
|
1186
|
+
e.style.transition = `opacity ${r}ms ease-out ${i}ms, transform ${r}ms ease-out ${i}ms`, e.style.opacity = "1", e.style.transform = "scale(1)";
|
|
1187
|
+
});
|
|
1188
|
+
});
|
|
1189
|
+
});
|
|
1190
|
+
});
|
|
1191
|
+
}
|
|
1192
|
+
let Rr = g(() => {
|
|
1193
|
+
if (G.value === A.LINE) return Z.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
|
|
1194
|
+
...e,
|
|
1195
|
+
isVisible: !L.value.includes(e.id),
|
|
1196
|
+
type: "line",
|
|
1197
|
+
series: e.absoluteValues
|
|
1198
|
+
}));
|
|
1199
|
+
if (G.value === A.BAR) return Q.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
|
|
1200
|
+
...e,
|
|
1201
|
+
isVisible: !L.value.includes(e.id),
|
|
1202
|
+
type: "bar",
|
|
1203
|
+
series: e.absoluteValues
|
|
1204
|
+
}));
|
|
1205
|
+
}), $ = w([]), zr = 0;
|
|
1206
|
+
ze(() => {
|
|
1207
|
+
let e = ++zr;
|
|
1208
|
+
(async () => {
|
|
1209
|
+
let t = await ce({
|
|
1210
|
+
values: z.value.xyPeriods,
|
|
1211
|
+
maxDatapoints: W.value.maxSeriesLength,
|
|
1212
|
+
formatter: z.value.datetimeFormatter,
|
|
1213
|
+
start: X.value.start,
|
|
1214
|
+
end: X.value.end
|
|
1215
|
+
});
|
|
1216
|
+
e === zr && ($.value = t);
|
|
1217
|
+
})();
|
|
1218
|
+
});
|
|
1219
|
+
let Br = g(() => {
|
|
1220
|
+
let e = z.value.xyPeriodsModulo;
|
|
1221
|
+
return z.value.xyPeriods.length ? Math.min(e, [...new Set($.value.map((e) => e.text))].length) : e;
|
|
1222
|
+
}), Vr = w(!1);
|
|
1223
|
+
function Hr(e) {
|
|
1224
|
+
Vr.value = e, Nn.value += 1;
|
|
1225
|
+
}
|
|
1226
|
+
function Ur() {
|
|
1227
|
+
lr.value.showTooltip = !lr.value.showTooltip;
|
|
1228
|
+
}
|
|
1229
|
+
let Wr = w(!1);
|
|
1230
|
+
function Gr() {
|
|
1231
|
+
Wr.value = !Wr.value;
|
|
1232
|
+
}
|
|
1233
|
+
async function Kr({ scale: e = 2 } = {}) {
|
|
1234
|
+
if (!N.value) return;
|
|
1235
|
+
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
|
|
1236
|
+
domElement: N.value,
|
|
1237
|
+
base64: !0,
|
|
1238
|
+
img: !0,
|
|
1239
|
+
scale: e
|
|
1240
|
+
});
|
|
1241
|
+
return {
|
|
1242
|
+
imageUri: i,
|
|
1243
|
+
base64: a,
|
|
1244
|
+
title: z.value.title,
|
|
1245
|
+
width: t,
|
|
1246
|
+
height: n,
|
|
1247
|
+
aspectRatio: r
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1250
|
+
let qr = g(() => K.value.width), Jr = g(() => K.value.height);
|
|
1251
|
+
ge({
|
|
1252
|
+
timeLabelsEls: R,
|
|
1253
|
+
timeLabels: $,
|
|
1254
|
+
slicer: X,
|
|
1255
|
+
configRef: z,
|
|
1256
|
+
rotationPath: ["xyPeriodLabelsRotation"],
|
|
1257
|
+
autoRotatePath: ["xyPeriodLabelsAutoRotate", "enable"],
|
|
1258
|
+
isAutoSize: !1,
|
|
1259
|
+
rotation: z.value.xyPeriodLabelsAutoRotate.angle,
|
|
1260
|
+
height: Jr.value,
|
|
1261
|
+
width: qr.value
|
|
1262
|
+
});
|
|
1263
|
+
let Yr = g(() => z.value.backgroundColor), Xr = g(() => G.value === A.DONUT ? Y.value.legend : G.value === A.LINE ? Z.value.legend : Q.value.legend), Zr = g(() => ({
|
|
1264
|
+
show: z.value.showLegend,
|
|
1265
|
+
bold: !1,
|
|
1266
|
+
backgroundColor: z.value.backgroundColor,
|
|
1267
|
+
color: z.value.color,
|
|
1268
|
+
fontSize: z.value.legendFontSize,
|
|
1269
|
+
position: z.value.legendPosition
|
|
1270
|
+
})), { exportSvg: Qr, getSvg: $r } = pe({
|
|
1271
|
+
svg: Jn,
|
|
1272
|
+
title: g(() => ({
|
|
1273
|
+
text: z.value.title,
|
|
1274
|
+
color: z.value.color,
|
|
1275
|
+
fontSize: z.value.titleFontSize,
|
|
1276
|
+
bold: z.value.titleBold,
|
|
1277
|
+
textAlign: z.value.titleTextAlign,
|
|
1278
|
+
subtitle: { text: "" }
|
|
1279
|
+
})),
|
|
1280
|
+
legend: Zr,
|
|
1281
|
+
legendItems: Xr,
|
|
1282
|
+
backgroundColor: Yr
|
|
1283
|
+
});
|
|
1284
|
+
async function ei({ isCb: e }) {
|
|
1285
|
+
if (e) {
|
|
1286
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await $r();
|
|
1287
|
+
z.value.userOptionsCallbacks.svg({
|
|
1288
|
+
blob: e,
|
|
1289
|
+
url: t,
|
|
1290
|
+
text: n,
|
|
1291
|
+
dataUrl: r
|
|
1292
|
+
});
|
|
1293
|
+
} else Qr();
|
|
1294
|
+
}
|
|
1295
|
+
async function ti() {
|
|
1296
|
+
if (U("copyAlt", {
|
|
1297
|
+
config: z.value,
|
|
1298
|
+
dataset: {
|
|
1299
|
+
line: Z.value,
|
|
1300
|
+
bar: Q.value,
|
|
1301
|
+
donut: Y.value
|
|
1302
|
+
}
|
|
1303
|
+
}), !z.value.userOptionsCallbacks.altCopy) {
|
|
1304
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1305
|
+
return;
|
|
1306
|
+
}
|
|
1307
|
+
await Promise.resolve(z.value.userOptionsCallbacks.altCopy({
|
|
1308
|
+
config: z.value,
|
|
1309
|
+
dataset: {
|
|
1310
|
+
line: Z.value,
|
|
1311
|
+
bar: Q.value,
|
|
1312
|
+
donut: Y.value
|
|
1313
|
+
}
|
|
1314
|
+
}));
|
|
1315
|
+
}
|
|
1316
|
+
function ni(e, t) {
|
|
1317
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
|
|
1318
|
+
}
|
|
1319
|
+
let ri = g(() => G.value === A.DONUT ? Y.value?.chart?.length ?? 0 : G.value === A.LINE ? Z.value?.extremes?.maxSeries ?? 0 : G.value === A.BAR ? Q.value?.extremes?.maxSeries ?? 0 : 0);
|
|
1320
|
+
function ii() {
|
|
1321
|
+
B.value = null, Wn.value = !0;
|
|
1322
|
+
}
|
|
1323
|
+
function ai() {
|
|
1324
|
+
B.value = null, V.value = "pointer", F.value = !1, I.value = null, J.value = null, Wn.value = !1;
|
|
1325
|
+
}
|
|
1326
|
+
function oi(e) {
|
|
1327
|
+
if (!Jn.value || Wr.value || document.activeElement !== Jn.value || !ri.value) return;
|
|
1328
|
+
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1329
|
+
if (!t && !n && !r && !i) return;
|
|
1330
|
+
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
1331
|
+
B.value = null, V.value = "pointer", F.value = !1, I.value = null, J.value = null;
|
|
1332
|
+
return;
|
|
1333
|
+
}
|
|
1334
|
+
if (r) {
|
|
1335
|
+
if (B.value === null) return;
|
|
1336
|
+
if (G.value === A.DONUT) {
|
|
1337
|
+
let e = Y.value?.chart?.[B.value];
|
|
1338
|
+
if (!e) return;
|
|
1339
|
+
Y.value.selectDatapoint({
|
|
1340
|
+
datapoint: e,
|
|
1341
|
+
seriesIndex: B.value
|
|
1342
|
+
});
|
|
1343
|
+
return;
|
|
1344
|
+
}
|
|
1345
|
+
if (G.value === A.LINE) {
|
|
1346
|
+
Z.value?.selectDatapoint(B.value);
|
|
1347
|
+
return;
|
|
1348
|
+
}
|
|
1349
|
+
if (G.value === A.BAR) {
|
|
1350
|
+
Q.value?.selectDatapoint(B.value);
|
|
1351
|
+
return;
|
|
1352
|
+
}
|
|
1353
|
+
return;
|
|
1354
|
+
}
|
|
1355
|
+
let a = B.value, o = J.value, s = a !== null && a >= 0 && a < ri.value, c = o !== null && o >= 0 && o < ri.value;
|
|
1356
|
+
if (s ? n ? (a += 1, a >= ri.value && (a = 0)) : t && (--a, a < 0 && (a = ri.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= ri.value && (a = 0), a < 0 && (a = ri.value - 1)) : a = n ? 0 : ri.value - 1, G.value === A.DONUT) {
|
|
1357
|
+
let e = Y.value?.chart?.[a];
|
|
1358
|
+
if (!e) return;
|
|
1359
|
+
si(a), Y.value.useTooltip({
|
|
1360
|
+
datapoint: e,
|
|
1361
|
+
seriesIndex: a,
|
|
1362
|
+
triggerMode: "keyboard"
|
|
1363
|
+
});
|
|
1364
|
+
return;
|
|
1365
|
+
}
|
|
1366
|
+
if (G.value === A.LINE) {
|
|
1367
|
+
si(a), Z.value?.useTooltip(a, "keyboard");
|
|
1368
|
+
return;
|
|
1369
|
+
}
|
|
1370
|
+
G.value === A.BAR && (si(a), Q.value?.useTooltip(a, "keyboard"));
|
|
1371
|
+
}
|
|
1372
|
+
function si(e) {
|
|
1373
|
+
if (!Number.isFinite(e) || !Jn.value) return;
|
|
1374
|
+
let t = 0, n = 0;
|
|
1375
|
+
if (G.value === A.DONUT) {
|
|
1376
|
+
let r = Y.value?.chart?.[e];
|
|
1377
|
+
if (!r) return;
|
|
1378
|
+
t = p(r, !0).x, n = l(r);
|
|
1379
|
+
}
|
|
1380
|
+
if (G.value === A.LINE) {
|
|
1381
|
+
let r = Z.value?.drawingArea, i = Z.value?.slotSize;
|
|
1382
|
+
if (!r || !i) return;
|
|
1383
|
+
t = r.left + i * (e + 1) - i / 2, n = r.top + r.height / 2;
|
|
1384
|
+
}
|
|
1385
|
+
if (G.value === A.BAR) {
|
|
1386
|
+
let r = Q.value?.drawingArea, i = Q.value?.slotSize;
|
|
1387
|
+
if (!r || !i) return;
|
|
1388
|
+
t = r.left + i * (e + 1) - i / 2, n = r.top + r.height / 2;
|
|
1389
|
+
}
|
|
1390
|
+
let r = Jn.value.getBoundingClientRect();
|
|
1391
|
+
Un.value = {
|
|
1392
|
+
x: r.left + t / K.value.width * r.width,
|
|
1393
|
+
y: r.top + n / K.value.height * r.height
|
|
1394
|
+
};
|
|
1395
|
+
}
|
|
1396
|
+
let ci = g(() => {
|
|
1397
|
+
if (G.value === A.DONUT) return {
|
|
1398
|
+
headers: [
|
|
1399
|
+
"Series",
|
|
1400
|
+
"Value",
|
|
1401
|
+
"Percentage"
|
|
1402
|
+
],
|
|
1403
|
+
rows: (Y.value?.dataset ?? []).map((e) => {
|
|
1404
|
+
let t = Y.value?.total ? n({
|
|
1405
|
+
v: e.value / Y.value.total * 100,
|
|
1406
|
+
s: "%",
|
|
1407
|
+
r: z.value.dataLabelRoundingPercentage
|
|
1408
|
+
}) : "0%";
|
|
1409
|
+
return [
|
|
1410
|
+
e.name,
|
|
1411
|
+
u(z.value.formatter, e.value, n({
|
|
1412
|
+
p: z.value.valuePrefix,
|
|
1413
|
+
v: e.value,
|
|
1414
|
+
s: z.value.valueSuffix,
|
|
1415
|
+
r: z.value.dataLabelRoundingValue
|
|
1416
|
+
})),
|
|
1417
|
+
t
|
|
1418
|
+
];
|
|
1419
|
+
})
|
|
1420
|
+
};
|
|
1421
|
+
if (G.value === A.LINE || G.value === A.BAR) {
|
|
1422
|
+
let e = G.value === A.LINE ? Z.value?.dataset ?? [] : Q.value?.dataset ?? [], t = G.value === A.LINE ? Z.value?.extremes?.maxSeries ?? 0 : Q.value?.extremes?.maxSeries ?? 0;
|
|
1423
|
+
return {
|
|
1424
|
+
headers: ["Index", ...e.map((e) => e.name)],
|
|
1425
|
+
rows: Array.from({ length: t }, (t, r) => [$.value?.[r + X.value.start]?.text ?? String(r + X.value.start), ...e.map((e) => {
|
|
1426
|
+
let t = e.values?.[r];
|
|
1427
|
+
return u(z.value.formatter, t, n({
|
|
1428
|
+
p: z.value.valuePrefix,
|
|
1429
|
+
v: t,
|
|
1430
|
+
s: z.value.valueSuffix,
|
|
1431
|
+
r: z.value.dataLabelRoundingValue
|
|
1432
|
+
}));
|
|
1433
|
+
})])
|
|
1434
|
+
};
|
|
1435
|
+
}
|
|
1436
|
+
return {
|
|
1437
|
+
headers: [],
|
|
1438
|
+
rows: []
|
|
1439
|
+
};
|
|
1440
|
+
});
|
|
1441
|
+
return ve({
|
|
1442
|
+
getImage: Kr,
|
|
1443
|
+
generatePdf: or,
|
|
1444
|
+
generateImage: sr,
|
|
1445
|
+
generateSvg: ei,
|
|
1446
|
+
toggleTooltip: Ur,
|
|
1447
|
+
toggleAnnotator: Gr,
|
|
1448
|
+
toggleFullscreen: Hr,
|
|
1449
|
+
copyAlt: ti
|
|
1450
|
+
}), (e, r) => rr.value ? (C(), v("div", {
|
|
1451
|
+
key: 0,
|
|
1452
|
+
id: `${G.value}_${P.value}`,
|
|
1453
|
+
ref_key: "quickChart",
|
|
1454
|
+
ref: N,
|
|
1455
|
+
class: Ne({
|
|
1456
|
+
"vue-data-ui-component": !0,
|
|
1457
|
+
"vue-ui-quick-chart": !0,
|
|
1458
|
+
"vue-data-ui-wrapper-fullscreen": Vr.value
|
|
1459
|
+
}),
|
|
1460
|
+
style: S(`background:${z.value.backgroundColor};color:${z.value.color};font-family:${z.value.fontFamily}; position: relative; ${z.value.responsive ? "height: 100%" : ""}`),
|
|
1461
|
+
onMouseenter: r[2] ||= () => $n(!0),
|
|
1462
|
+
onMouseleave: r[3] ||= () => $n(!1)
|
|
1463
|
+
}, [
|
|
1464
|
+
y("div", {
|
|
1465
|
+
id: `chart-instructions-${P.value}`,
|
|
1466
|
+
class: "sr-only"
|
|
1467
|
+
}, [y("p", null, D(z.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
|
|
1468
|
+
ci.value.rows.length ? (C(), De(Se, {
|
|
1469
|
+
key: 0,
|
|
1470
|
+
uid: P.value,
|
|
1471
|
+
head: ci.value.headers,
|
|
1472
|
+
body: ci.value.rows,
|
|
1473
|
+
notice: z.value.a11y.translations.tableAvailable,
|
|
1474
|
+
caption: z.value.a11y.translations.tableCaption
|
|
1475
|
+
}, null, 8, [
|
|
1476
|
+
"uid",
|
|
1477
|
+
"head",
|
|
1478
|
+
"body",
|
|
1479
|
+
"notice",
|
|
1480
|
+
"caption"
|
|
1481
|
+
])) : _("", !0),
|
|
1482
|
+
z.value.userOptionsButtons.annotator ? (C(), De(O(Ge), {
|
|
1483
|
+
key: 1,
|
|
1484
|
+
svgRef: O(Jn),
|
|
1485
|
+
backgroundColor: z.value.backgroundColor,
|
|
1486
|
+
color: z.value.color,
|
|
1487
|
+
active: Wr.value,
|
|
1488
|
+
isCursorPointer: Hn.value,
|
|
1489
|
+
onClose: Gr
|
|
1490
|
+
}, {
|
|
1491
|
+
"annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1492
|
+
"annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", x(b({ color: t })), void 0, !0)]),
|
|
1493
|
+
"annotator-action-draw": k(({ mode: t }) => [E(e.$slots, "annotator-action-draw", x(b({ mode: t })), void 0, !0)]),
|
|
1494
|
+
"annotator-action-undo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-undo", x(b({ disabled: t })), void 0, !0)]),
|
|
1495
|
+
"annotator-action-redo": k(({ disabled: t }) => [E(e.$slots, "annotator-action-redo", x(b({ disabled: t })), void 0, !0)]),
|
|
1496
|
+
"annotator-action-delete": k(({ disabled: t }) => [E(e.$slots, "annotator-action-delete", x(b({ disabled: t })), void 0, !0)]),
|
|
1497
|
+
_: 3
|
|
1498
|
+
}, 8, [
|
|
1499
|
+
"svgRef",
|
|
1500
|
+
"backgroundColor",
|
|
1501
|
+
"color",
|
|
1502
|
+
"active",
|
|
1503
|
+
"isCursorPointer"
|
|
1504
|
+
])) : _("", !0),
|
|
1505
|
+
cr.value ? (C(), v("div", {
|
|
1506
|
+
key: 2,
|
|
1507
|
+
ref_key: "noTitle",
|
|
1508
|
+
ref: Mn,
|
|
1509
|
+
class: "vue-data-ui-no-title-space",
|
|
1510
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
1511
|
+
}, null, 512)) : _("", !0),
|
|
1512
|
+
z.value.showUserOptions && (Xn.value || Zn.value) ? (C(), De(O(qe), {
|
|
1513
|
+
ref: "details",
|
|
1514
|
+
key: `user_option_${Nn.value}`,
|
|
1515
|
+
backgroundColor: z.value.backgroundColor,
|
|
1516
|
+
color: z.value.color,
|
|
1517
|
+
isPrinting: O(ir),
|
|
1518
|
+
isImaging: O(ar),
|
|
1519
|
+
uid: P.value,
|
|
1520
|
+
hasTooltip: z.value.userOptionsButtons.tooltip && z.value.showTooltip,
|
|
1521
|
+
hasPdf: z.value.userOptionsButtons.pdf,
|
|
1522
|
+
hasImg: z.value.userOptionsButtons.img,
|
|
1523
|
+
hasSvg: z.value.userOptionsButtons.svg,
|
|
1524
|
+
hasFullscreen: z.value.userOptionsButtons.fullscreen,
|
|
1525
|
+
hasAltCopy: z.value.userOptionsButtons.altCopy,
|
|
1526
|
+
hasXls: !1,
|
|
1527
|
+
isTooltip: lr.value.showTooltip,
|
|
1528
|
+
isFullscreen: Vr.value,
|
|
1529
|
+
titles: { ...z.value.userOptionsButtonTitles },
|
|
1530
|
+
chartElement: N.value,
|
|
1531
|
+
position: z.value.userOptionsPosition,
|
|
1532
|
+
hasAnnotator: z.value.userOptionsButtons.annotator,
|
|
1533
|
+
isAnnotation: Wr.value,
|
|
1534
|
+
callbacks: z.value.userOptionsCallbacks,
|
|
1535
|
+
printScale: z.value.userOptionsPrint.scale,
|
|
1536
|
+
isCursorPointer: Hn.value,
|
|
1537
|
+
onToggleFullscreen: Hr,
|
|
1538
|
+
onGeneratePdf: O(or),
|
|
1539
|
+
onGenerateImage: O(sr),
|
|
1540
|
+
onGenerateSvg: ei,
|
|
1541
|
+
onToggleTooltip: Ur,
|
|
1542
|
+
onToggleAnnotator: Gr,
|
|
1543
|
+
onCopyAlt: ti,
|
|
1544
|
+
style: S({ visibility: Xn.value ? Zn.value ? "visible" : "hidden" : "visible" })
|
|
1545
|
+
}, Oe({ _: 2 }, [
|
|
1546
|
+
e.$slots.menuIcon ? {
|
|
1547
|
+
name: "menuIcon",
|
|
1548
|
+
fn: k(({ isOpen: t, color: n }) => [E(e.$slots, "menuIcon", x(b({
|
|
1549
|
+
isOpen: t,
|
|
1550
|
+
color: n
|
|
1551
|
+
})), void 0, !0)]),
|
|
1552
|
+
key: "0"
|
|
1553
|
+
} : void 0,
|
|
1554
|
+
e.$slots.optionTooltip ? {
|
|
1555
|
+
name: "optionTooltip",
|
|
1556
|
+
fn: k(() => [E(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1557
|
+
key: "1"
|
|
1558
|
+
} : void 0,
|
|
1559
|
+
e.$slots.optionPdf ? {
|
|
1560
|
+
name: "optionPdf",
|
|
1561
|
+
fn: k(() => [E(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1562
|
+
key: "2"
|
|
1563
|
+
} : void 0,
|
|
1564
|
+
e.$slots.optionImg ? {
|
|
1565
|
+
name: "optionImg",
|
|
1566
|
+
fn: k(() => [E(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1567
|
+
key: "3"
|
|
1568
|
+
} : void 0,
|
|
1569
|
+
e.$slots.optionSvg ? {
|
|
1570
|
+
name: "optionSvg",
|
|
1571
|
+
fn: k(() => [E(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1572
|
+
key: "4"
|
|
1573
|
+
} : void 0,
|
|
1574
|
+
e.$slots.optionFullscreen ? {
|
|
1575
|
+
name: "optionFullscreen",
|
|
1576
|
+
fn: k(({ toggleFullscreen: t, isFullscreen: n }) => [E(e.$slots, "optionFullscreen", x(b({
|
|
1577
|
+
toggleFullscreen: t,
|
|
1578
|
+
isFullscreen: n
|
|
1579
|
+
})), void 0, !0)]),
|
|
1580
|
+
key: "5"
|
|
1581
|
+
} : void 0,
|
|
1582
|
+
e.$slots.optionAnnotator ? {
|
|
1583
|
+
name: "optionAnnotator",
|
|
1584
|
+
fn: k(({ toggleAnnotator: t, isAnnotator: n }) => [E(e.$slots, "optionAnnotator", x(b({
|
|
1585
|
+
toggleAnnotator: t,
|
|
1586
|
+
isAnnotator: n
|
|
1587
|
+
})), void 0, !0)]),
|
|
1588
|
+
key: "6"
|
|
1589
|
+
} : void 0,
|
|
1590
|
+
e.$slots.optionAltCopy ? {
|
|
1591
|
+
name: "optionAltCopy",
|
|
1592
|
+
fn: k(({ altCopy: t }) => [E(e.$slots, "optionAltCopy", x(b({ altCopy: t })), void 0, !0)]),
|
|
1593
|
+
key: "7"
|
|
1594
|
+
} : void 0
|
|
1595
|
+
]), 1032, [
|
|
1596
|
+
"backgroundColor",
|
|
1597
|
+
"color",
|
|
1598
|
+
"isPrinting",
|
|
1599
|
+
"isImaging",
|
|
1600
|
+
"uid",
|
|
1601
|
+
"hasTooltip",
|
|
1602
|
+
"hasPdf",
|
|
1603
|
+
"hasImg",
|
|
1604
|
+
"hasSvg",
|
|
1605
|
+
"hasFullscreen",
|
|
1606
|
+
"hasAltCopy",
|
|
1607
|
+
"isTooltip",
|
|
1608
|
+
"isFullscreen",
|
|
1609
|
+
"titles",
|
|
1610
|
+
"chartElement",
|
|
1611
|
+
"position",
|
|
1612
|
+
"hasAnnotator",
|
|
1613
|
+
"isAnnotation",
|
|
1614
|
+
"callbacks",
|
|
1615
|
+
"printScale",
|
|
1616
|
+
"isCursorPointer",
|
|
1617
|
+
"onGeneratePdf",
|
|
1618
|
+
"onGenerateImage",
|
|
1619
|
+
"style"
|
|
1620
|
+
])) : _("", !0),
|
|
1621
|
+
z.value.title ? (C(), v("div", {
|
|
1622
|
+
key: 4,
|
|
1623
|
+
ref_key: "quickChartTitle",
|
|
1624
|
+
ref: En,
|
|
1625
|
+
class: "vue-ui-quick-chart-title",
|
|
1626
|
+
style: S(`background:transparent;color:${z.value.color};font-size:${z.value.titleFontSize}px;font-weight:${z.value.titleBold ? "bold" : "normal"};text-align:${z.value.titleTextAlign}`)
|
|
1627
|
+
}, D(z.value.title), 5)) : _("", !0),
|
|
1628
|
+
y("div", { id: `legend-top-${P.value}` }, null, 8, $e),
|
|
1629
|
+
y("div", et, [G.value ? (C(), v("svg", {
|
|
1630
|
+
key: 0,
|
|
1631
|
+
ref_key: "svgRef",
|
|
1632
|
+
ref: Jn,
|
|
1633
|
+
xmlns: O(ie),
|
|
1634
|
+
"aria-describedby": `chart-instructions-${P.value}`,
|
|
1635
|
+
viewBox: fr.value,
|
|
1636
|
+
style: S(`max-width:100%;overflow:visible;background:transparent;color:${z.value.color}`),
|
|
1637
|
+
tabindex: "0",
|
|
1638
|
+
onFocus: ii,
|
|
1639
|
+
onBlur: ai,
|
|
1640
|
+
onKeydown: oi
|
|
1641
|
+
}, [
|
|
1642
|
+
ke(O(Ue)),
|
|
1643
|
+
e.$slots["chart-background"] && G.value === A.BAR ? (C(), v("foreignObject", {
|
|
1644
|
+
key: 0,
|
|
1645
|
+
x: Q.value.drawingArea.left,
|
|
1646
|
+
y: Q.value.drawingArea.top,
|
|
1647
|
+
width: Q.value.drawingArea.width,
|
|
1648
|
+
height: Q.value.drawingArea.height,
|
|
1649
|
+
style: { pointerEvents: "none" }
|
|
1650
|
+
}, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : _("", !0),
|
|
1651
|
+
e.$slots["chart-background"] && G.value === A.LINE ? (C(), v("foreignObject", {
|
|
1652
|
+
key: 1,
|
|
1653
|
+
x: Z.value.drawingArea.left,
|
|
1654
|
+
y: Z.value.drawingArea.top,
|
|
1655
|
+
width: Z.value.drawingArea.width,
|
|
1656
|
+
height: Z.value.drawingArea.height,
|
|
1657
|
+
style: { pointerEvents: "none" }
|
|
1658
|
+
}, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : _("", !0),
|
|
1659
|
+
e.$slots["chart-background"] && G.value === A.DONUT ? (C(), v("foreignObject", {
|
|
1660
|
+
key: 2,
|
|
1661
|
+
x: 0,
|
|
1662
|
+
y: 0,
|
|
1663
|
+
width: K.value.width,
|
|
1664
|
+
height: K.value.height,
|
|
1665
|
+
style: { pointerEvents: "none" }
|
|
1666
|
+
}, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : _("", !0),
|
|
1667
|
+
y("defs", null, [y("filter", {
|
|
1668
|
+
id: `blur_${P.value}`,
|
|
1669
|
+
x: "-50%",
|
|
1670
|
+
y: "-50%",
|
|
1671
|
+
width: "200%",
|
|
1672
|
+
height: "200%"
|
|
1673
|
+
}, [y("feGaussianBlur", {
|
|
1674
|
+
in: "SourceGraphic",
|
|
1675
|
+
stdDeviation: 2,
|
|
1676
|
+
id: `blur_std_${P.value}`
|
|
1677
|
+
}, null, 8, ot), r[4] ||= y("feColorMatrix", {
|
|
1678
|
+
type: "saturate",
|
|
1679
|
+
values: "0"
|
|
1680
|
+
}, null, -1)], 8, at), y("filter", {
|
|
1681
|
+
id: `shadow_${P.value}`,
|
|
1682
|
+
"color-interpolation-filters": "sRGB"
|
|
1683
|
+
}, [y("feDropShadow", {
|
|
1684
|
+
dx: "0",
|
|
1685
|
+
dy: "0",
|
|
1686
|
+
stdDeviation: "10",
|
|
1687
|
+
"flood-opacity": "0.5",
|
|
1688
|
+
"flood-color": z.value.donutShadowColor
|
|
1689
|
+
}, null, 8, ct)], 8, st)]),
|
|
1690
|
+
G.value === A.DONUT ? (C(), v(h, { key: 3 }, [
|
|
1691
|
+
z.value.showDataLabels ? (C(), v("g", lt, [(C(!0), v(h, null, T(Y.value.chart, (e, t) => (C(), v(h, null, [Y.value.isArcBigEnough(e) ? (C(), v("path", {
|
|
1692
|
+
key: 0,
|
|
1693
|
+
d: O(ne)(e, {
|
|
1694
|
+
x: K.value.width / 2,
|
|
1695
|
+
y: K.value.height / 2
|
|
1696
|
+
}, 16, 16, !1, !1, K.value.height * Sr.value, 12, z.value.donutCurvedMarkers),
|
|
1697
|
+
stroke: e.color,
|
|
1698
|
+
"stroke-width": z.value.donutLabelMarkerStrokeWidth,
|
|
1699
|
+
"stroke-linecap": "round",
|
|
1700
|
+
"stroke-linejoin": "round",
|
|
1701
|
+
fill: "none",
|
|
1702
|
+
filter: mr(e.id)
|
|
1703
|
+
}, null, 8, ut)) : _("", !0)], 64))), 256))])) : _("", !0),
|
|
1704
|
+
y("circle", {
|
|
1705
|
+
cx: Y.value.cx,
|
|
1706
|
+
cy: Y.value.cy,
|
|
1707
|
+
r: Y.value.radius,
|
|
1708
|
+
fill: z.value.backgroundColor,
|
|
1709
|
+
filter: z.value.donutUseShadow ? `url(#shadow_${P.value})` : ""
|
|
1710
|
+
}, null, 8, dt),
|
|
1711
|
+
y("g", ft, [(C(!0), v(h, null, T(Y.value.chart, (e, t) => (C(), v("path", {
|
|
1712
|
+
d: e.arcSlice,
|
|
1713
|
+
fill: e.color,
|
|
1714
|
+
stroke: z.value.donutStroke || z.value.backgroundColor,
|
|
1715
|
+
"stroke-width": z.value.donutStrokeWidth,
|
|
1716
|
+
filter: mr(e.id)
|
|
1717
|
+
}, null, 8, pt))), 256)), (C(!0), v(h, null, T(Y.value.chart, (e, t) => (C(), v("path", {
|
|
1718
|
+
d: e.arcSlice,
|
|
1719
|
+
fill: "transparent",
|
|
1720
|
+
onMouseenter: (n) => Y.value.useTooltip({
|
|
1721
|
+
datapoint: e,
|
|
1722
|
+
seriesIndex: t,
|
|
1723
|
+
triggerMode: "pointer"
|
|
1724
|
+
}),
|
|
1725
|
+
onMouseout: (n) => Y.value.killTooltip({
|
|
1726
|
+
datapoint: e,
|
|
1727
|
+
seriesIndex: t
|
|
1728
|
+
}),
|
|
1729
|
+
onClick: (n) => Y.value.selectDatapoint({
|
|
1730
|
+
datapoint: e,
|
|
1731
|
+
seriesIndex: t
|
|
1732
|
+
})
|
|
1733
|
+
}, null, 40, mt))), 256))]),
|
|
1734
|
+
z.value.showDataLabels ? (C(), v("g", ht, [(C(!0), v(h, null, T(Y.value.chart, (e, t) => (C(), v(h, null, [
|
|
1735
|
+
Y.value.isArcBigEnough(e) ? (C(), v("circle", {
|
|
1736
|
+
key: 0,
|
|
1737
|
+
cx: O(p)(e).x,
|
|
1738
|
+
cy: O(l)(e) - 3.7,
|
|
1739
|
+
fill: e.color,
|
|
1740
|
+
stroke: z.value.backgroundColor,
|
|
1741
|
+
"stroke-width": 1,
|
|
1742
|
+
r: 3,
|
|
1743
|
+
filter: mr(e.id)
|
|
1744
|
+
}, null, 8, gt)) : _("", !0),
|
|
1745
|
+
Y.value.isArcBigEnough(e) ? (C(), v("text", {
|
|
1746
|
+
key: 1,
|
|
1747
|
+
"text-anchor": O(p)(e, !0, 20).anchor,
|
|
1748
|
+
x: O(p)(e, !0).x,
|
|
1749
|
+
y: O(l)(e),
|
|
1750
|
+
fill: z.value.color,
|
|
1751
|
+
"font-size": z.value.dataLabelFontSize,
|
|
1752
|
+
filter: mr(e.id)
|
|
1753
|
+
}, D(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + D(O(u)(z.value.formatter, e.value, O(n)({
|
|
1754
|
+
p: z.value.valuePrefix,
|
|
1755
|
+
v: e.value,
|
|
1756
|
+
s: z.value.valueSuffix,
|
|
1757
|
+
r: z.value.dataLabelRoundingValue
|
|
1758
|
+
}), {
|
|
1759
|
+
datapoint: e,
|
|
1760
|
+
seriesIndex: t
|
|
1761
|
+
})) + ") ", 9, _t)) : _("", !0),
|
|
1762
|
+
Y.value.isArcBigEnough(e, !0, 20) ? (C(), v("text", {
|
|
1763
|
+
key: 2,
|
|
1764
|
+
"text-anchor": O(p)(e).anchor,
|
|
1765
|
+
x: O(p)(e, !0).x,
|
|
1766
|
+
y: O(l)(e) + z.value.dataLabelFontSize,
|
|
1767
|
+
fill: z.value.color,
|
|
1768
|
+
"font-size": z.value.dataLabelFontSize,
|
|
1769
|
+
filter: mr(e.id)
|
|
1770
|
+
}, D(e.name), 9, vt)) : _("", !0)
|
|
1771
|
+
], 64))), 256))])) : _("", !0),
|
|
1772
|
+
z.value.donutShowTotal ? (C(), v("g", yt, [y("text", {
|
|
1773
|
+
"text-anchor": "middle",
|
|
1774
|
+
x: Y.value.drawingArea.centerX,
|
|
1775
|
+
y: Y.value.drawingArea.centerY - z.value.donutTotalLabelFontSize / 2,
|
|
1776
|
+
"font-size": z.value.donutTotalLabelFontSize,
|
|
1777
|
+
fill: z.value.color
|
|
1778
|
+
}, D(z.value.donutTotalLabelText), 9, bt), y("text", {
|
|
1779
|
+
"text-anchor": "middle",
|
|
1780
|
+
x: Y.value.drawingArea.centerX,
|
|
1781
|
+
y: Y.value.drawingArea.centerY + z.value.donutTotalLabelFontSize,
|
|
1782
|
+
"font-size": z.value.donutTotalLabelFontSize,
|
|
1783
|
+
fill: z.value.color
|
|
1784
|
+
}, D(O(n)({
|
|
1785
|
+
p: z.value.valuePrefix,
|
|
1786
|
+
v: Y.value.total,
|
|
1787
|
+
s: z.value.valueSuffix,
|
|
1788
|
+
r: z.value.dataLabelRoundingValue
|
|
1789
|
+
})), 9, xt)])) : _("", !0)
|
|
1790
|
+
], 64)) : _("", !0),
|
|
1791
|
+
G.value === A.LINE ? (C(), v(h, { key: 4 }, [
|
|
1792
|
+
z.value.xyShowGrid ? (C(), v("g", St, [(C(!0), v(h, null, T(Z.value.yLabels, (e) => (C(), v(h, null, [e.y <= Z.value.drawingArea.bottom ? (C(), v("line", {
|
|
1793
|
+
key: 0,
|
|
1794
|
+
x1: Z.value.drawingArea.left,
|
|
1795
|
+
x2: Z.value.drawingArea.right,
|
|
1796
|
+
y1: e.y,
|
|
1797
|
+
y2: e.y,
|
|
1798
|
+
stroke: z.value.xyGridStroke,
|
|
1799
|
+
"stroke-width": z.value.xyGridStrokeWidth,
|
|
1800
|
+
"stroke-linecap": "round"
|
|
1801
|
+
}, null, 8, Ct)) : _("", !0)], 64))), 256)), (C(!0), v(h, null, T(Z.value.extremes.maxSeries + 1, (e, t) => (C(), v("line", {
|
|
1802
|
+
x1: Z.value.drawingArea.left + Z.value.slotSize * t,
|
|
1803
|
+
x2: Z.value.drawingArea.left + Z.value.slotSize * t,
|
|
1804
|
+
y1: Z.value.drawingArea.top,
|
|
1805
|
+
y2: Z.value.drawingArea.bottom,
|
|
1806
|
+
stroke: z.value.xyGridStroke,
|
|
1807
|
+
"stroke-width": z.value.xyGridStrokeWidth,
|
|
1808
|
+
"stroke-linecap": "round"
|
|
1809
|
+
}, null, 8, wt))), 256))])) : _("", !0),
|
|
1810
|
+
z.value.xyShowAxis ? (C(), v("g", Tt, [y("line", {
|
|
1811
|
+
x1: Z.value.drawingArea.left,
|
|
1812
|
+
x2: Z.value.drawingArea.left,
|
|
1813
|
+
y1: Z.value.drawingArea.top,
|
|
1814
|
+
y2: Z.value.drawingArea.bottom,
|
|
1815
|
+
stroke: z.value.xyAxisStroke,
|
|
1816
|
+
"stroke-width": z.value.xyAxisStrokeWidth,
|
|
1817
|
+
"stroke-linecap": "round"
|
|
1818
|
+
}, null, 8, Et), y("line", {
|
|
1819
|
+
x1: Z.value.drawingArea.left,
|
|
1820
|
+
x2: Z.value.drawingArea.right,
|
|
1821
|
+
y1: isNaN(Z.value.absoluteZero) ? Z.value.drawingArea.bottom : Z.value.absoluteZero,
|
|
1822
|
+
y2: isNaN(Z.value.absoluteZero) ? Z.value.drawingArea.bottom : Z.value.absoluteZero,
|
|
1823
|
+
stroke: z.value.xyAxisStroke,
|
|
1824
|
+
"stroke-width": z.value.xyAxisStrokeWidth,
|
|
1825
|
+
"stroke-linecap": "round"
|
|
1826
|
+
}, null, 8, Dt)])) : _("", !0),
|
|
1827
|
+
z.value.xyShowScale ? (C(), v("g", {
|
|
1828
|
+
key: 2,
|
|
1829
|
+
class: "yLabels",
|
|
1830
|
+
ref_key: "scaleLabels",
|
|
1831
|
+
ref: Rn
|
|
1832
|
+
}, [(C(!0), v(h, null, T(Z.value.yLabels, (e, t) => (C(), v(h, null, [e.y <= Z.value.drawingArea.bottom ? (C(), v("line", {
|
|
1833
|
+
key: 0,
|
|
1834
|
+
x1: e.x + 4,
|
|
1835
|
+
x2: Z.value.drawingArea.left,
|
|
1836
|
+
y1: e.y,
|
|
1837
|
+
y2: e.y,
|
|
1838
|
+
stroke: z.value.xyAxisStroke,
|
|
1839
|
+
"stroke-width": z.value.xyAxisStrokeWidth,
|
|
1840
|
+
"stroke-linecap": "round"
|
|
1841
|
+
}, null, 8, Ot)) : _("", !0), e.y <= Z.value.drawingArea.bottom ? (C(), v("text", {
|
|
1842
|
+
key: 1,
|
|
1843
|
+
x: e.x,
|
|
1844
|
+
y: e.y + z.value.xyLabelsYFontSize / 3,
|
|
1845
|
+
"text-anchor": "end",
|
|
1846
|
+
"font-size": z.value.xyLabelsYFontSize,
|
|
1847
|
+
fill: z.value.color
|
|
1848
|
+
}, D(O(u)(z.value.formatter, e.value, O(n)({
|
|
1849
|
+
p: z.value.valuePrefix,
|
|
1850
|
+
v: e.value,
|
|
1851
|
+
s: z.value.valueSuffix,
|
|
1852
|
+
r: z.value.dataLabelRoundingValue
|
|
1853
|
+
}), {
|
|
1854
|
+
datapoint: e,
|
|
1855
|
+
seriesIndex: t
|
|
1856
|
+
})), 9, kt)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
|
|
1857
|
+
z.value.xyShowScale && z.value.xyPeriods.length ? (C(), v("g", At, [(C(!0), v(h, null, T($.value.map((e) => e.text), (e, t) => (C(), v(h, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (C(), v("line", {
|
|
1858
|
+
key: 0,
|
|
1859
|
+
x1: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
|
|
1860
|
+
x2: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
|
|
1861
|
+
y1: Z.value.drawingArea.bottom,
|
|
1862
|
+
y2: Z.value.drawingArea.bottom + 4,
|
|
1863
|
+
stroke: z.value.xyAxisStroke,
|
|
1864
|
+
"stroke-width": z.value.xyAxisStrokeWidth,
|
|
1865
|
+
"stroke-linecap": "round"
|
|
1866
|
+
}, null, 8, jt)) : _("", !0)], 64))), 256)), y("g", {
|
|
1867
|
+
ref_key: "timeLabelsEls",
|
|
1868
|
+
ref: R
|
|
1869
|
+
}, [(C(!0), v(h, null, T($.value.map((e) => e.text), (e, n) => (C(), v(h, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && n % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (C(), v("g", Mt, [String(e).includes("\n") ? (C(), v("text", {
|
|
1870
|
+
key: 1,
|
|
1871
|
+
class: "vue-data-ui-time-label",
|
|
1872
|
+
"font-size": z.value.xyLabelsXFontSize,
|
|
1873
|
+
"text-anchor": z.value.xyPeriodLabelsRotation > 0 ? "start" : z.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1874
|
+
fill: z.value.color,
|
|
1875
|
+
transform: `translate(${Z.value.drawingArea.left + Z.value.slotSize * (n + 1) - Z.value.slotSize / 2}, ${Z.value.drawingArea.bottom + z.value.xyLabelsXFontSize + 6}), rotate(${z.value.xyPeriodLabelsRotation})`,
|
|
1876
|
+
innerHTML: O(t)({
|
|
1877
|
+
content: String(e),
|
|
1878
|
+
fontSize: z.value.xyLabelsXFontSize,
|
|
1879
|
+
fill: z.value.color,
|
|
1880
|
+
x: 0,
|
|
1881
|
+
y: 0
|
|
1882
|
+
})
|
|
1883
|
+
}, null, 8, Pt)) : (C(), v("text", {
|
|
1884
|
+
key: 0,
|
|
1885
|
+
class: "vue-data-ui-time-label",
|
|
1886
|
+
"font-size": z.value.xyLabelsXFontSize,
|
|
1887
|
+
"text-anchor": z.value.xyPeriodLabelsRotation > 0 ? "start" : z.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1888
|
+
fill: z.value.color,
|
|
1889
|
+
transform: `translate(${Z.value.drawingArea.left + Z.value.slotSize * (n + 1) - Z.value.slotSize / 2}, ${Z.value.drawingArea.bottom + z.value.xyLabelsXFontSize + 6}), rotate(${z.value.xyPeriodLabelsRotation})`
|
|
1890
|
+
}, D(e), 9, Nt))])) : _("", !0)], 64))), 256))], 512)])) : _("", !0),
|
|
1891
|
+
y("g", Ft, [(C(!0), v(h, null, T(Z.value.dataset, (e, t) => (C(), v("g", It, [z.value.lineSmooth ? (C(), v(h, { key: 0 }, [y("path", {
|
|
1892
|
+
ref_for: !0,
|
|
1893
|
+
ref_key: "pathWrapper",
|
|
1894
|
+
ref: In,
|
|
1895
|
+
d: `M ${O(d)(e.coordinates)}`,
|
|
1896
|
+
stroke: z.value.backgroundColor,
|
|
1897
|
+
"stroke-width": z.value.lineStrokeWidth + 1,
|
|
1898
|
+
"stroke-linecap": "round",
|
|
1899
|
+
fill: "none",
|
|
1900
|
+
class: Ne({
|
|
1901
|
+
"quick-animation": !O(H),
|
|
1902
|
+
"vue-data-ui-line-animated": z.value.lineAnimated && !O(H)
|
|
1903
|
+
}),
|
|
1904
|
+
style: S({ transition: O(H) ? void 0 : "all 0.3s ease-in-out" })
|
|
1905
|
+
}, null, 14, Lt), y("path", {
|
|
1906
|
+
ref_for: !0,
|
|
1907
|
+
ref_key: "pathTop",
|
|
1908
|
+
ref: Ln,
|
|
1909
|
+
d: `M ${O(d)(e.coordinates)}`,
|
|
1910
|
+
stroke: e.color,
|
|
1911
|
+
"stroke-width": z.value.lineStrokeWidth,
|
|
1912
|
+
"stroke-linecap": "round",
|
|
1913
|
+
fill: "none",
|
|
1914
|
+
class: Ne({
|
|
1915
|
+
"quick-animation": !O(H),
|
|
1916
|
+
"vue-data-ui-line-animated": z.value.lineAnimated && !O(H)
|
|
1917
|
+
}),
|
|
1918
|
+
style: S({ transition: O(H) ? void 0 : "all 0.3s ease-in-out" })
|
|
1919
|
+
}, null, 14, Rt)], 64)) : (C(), v(h, { key: 1 }, [y("path", {
|
|
1920
|
+
ref_for: !0,
|
|
1921
|
+
ref_key: "pathWrapper",
|
|
1922
|
+
ref: In,
|
|
1923
|
+
d: `M ${e.linePath}`,
|
|
1924
|
+
stroke: z.value.backgroundColor,
|
|
1925
|
+
"stroke-width": z.value.lineStrokeWidth + 1,
|
|
1926
|
+
"stroke-linecap": "round",
|
|
1927
|
+
fill: "none",
|
|
1928
|
+
class: Ne({
|
|
1929
|
+
"quick-animation": !O(H),
|
|
1930
|
+
"vue-data-ui-line-animated": z.value.lineAnimated && !O(H)
|
|
1931
|
+
}),
|
|
1932
|
+
style: S({ transition: O(H) ? void 0 : "all 0.3s ease-in-out" })
|
|
1933
|
+
}, null, 14, zt), y("path", {
|
|
1934
|
+
ref_for: !0,
|
|
1935
|
+
ref_key: "pathTop",
|
|
1936
|
+
ref: Ln,
|
|
1937
|
+
d: `M ${e.linePath}`,
|
|
1938
|
+
stroke: e.color,
|
|
1939
|
+
"stroke-width": z.value.lineStrokeWidth,
|
|
1940
|
+
"stroke-linecap": "round",
|
|
1941
|
+
fill: "none",
|
|
1942
|
+
class: Ne({
|
|
1943
|
+
"quick-animation": !O(H),
|
|
1944
|
+
"vue-data-ui-line-animated": z.value.lineAnimated && !O(H)
|
|
1945
|
+
}),
|
|
1946
|
+
style: S({ transition: O(H) ? void 0 : "all 0.3s ease-in-out" })
|
|
1947
|
+
}, null, 14, Bt)], 64)), (C(!0), v(h, null, T(e.coordinates, (t, n) => (C(), v("circle", {
|
|
1948
|
+
cx: t.x,
|
|
1949
|
+
cy: O(m)(t.y),
|
|
1950
|
+
r: 3,
|
|
1951
|
+
fill: e.color,
|
|
1952
|
+
stroke: z.value.backgroundColor,
|
|
1953
|
+
"stroke-width": "0.5",
|
|
1954
|
+
class: Ne({
|
|
1955
|
+
"vue-ui-quick-chart-plot": !0,
|
|
1956
|
+
"quick-animation": !O(H)
|
|
1957
|
+
}),
|
|
1958
|
+
style: S({ transition: O(H) ? void 0 : "all 0.3s ease-in-out" })
|
|
1959
|
+
}, null, 14, Vt))), 256))]))), 256))]),
|
|
1960
|
+
z.value.showDataLabels ? (C(), v("g", Ht, [(C(!0), v(h, null, T(Z.value.dataset, (e, t) => (C(), v(h, null, [(C(!0), v(h, null, T(e.coordinates, (t, r) => (C(), v("text", {
|
|
1961
|
+
"text-anchor": "middle",
|
|
1962
|
+
"font-size": z.value.dataLabelFontSize,
|
|
1963
|
+
fill: e.color,
|
|
1964
|
+
x: t.x,
|
|
1965
|
+
y: O(m)(t.y) - z.value.dataLabelFontSize / 2,
|
|
1966
|
+
class: Ne({
|
|
1967
|
+
"vue-ui-quick-chart-label": !0,
|
|
1968
|
+
"quick-animation": !O(H)
|
|
1969
|
+
}),
|
|
1970
|
+
style: S({ transition: O(H) ? void 0 : "all 0.3s ease-in-out" })
|
|
1971
|
+
}, D(O(u)(z.value.formatter, O(m)(t.value), O(n)({
|
|
1972
|
+
p: z.value.valuePrefix,
|
|
1973
|
+
v: O(m)(t.value),
|
|
1974
|
+
s: z.value.valueSuffix,
|
|
1975
|
+
r: z.value.dataLabelRoundingValue
|
|
1976
|
+
}), {
|
|
1977
|
+
datapoint: t,
|
|
1978
|
+
seriesIndex: r
|
|
1979
|
+
})), 15, Ut))), 256))], 64))), 256))])) : _("", !0),
|
|
1980
|
+
Qn.value ? (C(), v("g", Wt, [(C(!0), v(h, null, T(Z.value.extremes.maxSeries, (e, t) => (C(), v("rect", {
|
|
1981
|
+
x: Z.value.drawingArea.left + t * Z.value.slotSize,
|
|
1982
|
+
y: Z.value.drawingArea.top,
|
|
1983
|
+
height: Z.value.drawingArea.height <= 0 ? 1e-5 : Z.value.drawingArea.height,
|
|
1984
|
+
width: Z.value.slotSize <= 0 ? 1e-5 : Z.value.slotSize,
|
|
1985
|
+
fill: [I.value, J.value].includes(t) ? z.value.xyHighlighterColor : "transparent",
|
|
1986
|
+
style: S(`opacity:${z.value.xyHighlighterOpacity}`),
|
|
1987
|
+
onMouseenter: (e) => Z.value.useTooltip(t, "pointer"),
|
|
1988
|
+
onMouseleave: (e) => Z.value.killTooltip(t),
|
|
1989
|
+
onClick: (e) => Z.value.selectDatapoint(t)
|
|
1990
|
+
}, null, 44, Gt))), 256))])) : _("", !0)
|
|
1991
|
+
], 64)) : _("", !0),
|
|
1992
|
+
G.value === A.BAR ? (C(), v(h, { key: 5 }, [
|
|
1993
|
+
z.value.xyShowGrid ? (C(), v("g", Kt, [(C(!0), v(h, null, T(Q.value.yLabels, (e) => (C(), v(h, null, [e.y <= Q.value.drawingArea.bottom ? (C(), v("line", {
|
|
1994
|
+
key: 0,
|
|
1995
|
+
x1: Q.value.drawingArea.left,
|
|
1996
|
+
x2: Q.value.drawingArea.right,
|
|
1997
|
+
y1: e.y,
|
|
1998
|
+
y2: e.y,
|
|
1999
|
+
stroke: z.value.xyGridStroke,
|
|
2000
|
+
"stroke-width": z.value.xyGridStrokeWidth,
|
|
2001
|
+
"stroke-linecap": "round"
|
|
2002
|
+
}, null, 8, qt)) : _("", !0)], 64))), 256)), L.value.length < Q.value.legend.length ? (C(!0), v(h, { key: 0 }, T(Q.value.extremes.maxSeries + 1, (e, t) => (C(), v("line", {
|
|
2003
|
+
x1: Q.value.drawingArea.left + Q.value.slotSize * t,
|
|
2004
|
+
x2: Q.value.drawingArea.left + Q.value.slotSize * t,
|
|
2005
|
+
y1: Q.value.drawingArea.top,
|
|
2006
|
+
y2: Q.value.drawingArea.bottom,
|
|
2007
|
+
stroke: z.value.xyGridStroke,
|
|
2008
|
+
"stroke-width": z.value.xyGridStrokeWidth,
|
|
2009
|
+
"stroke-linecap": "round"
|
|
2010
|
+
}, null, 8, Jt))), 256)) : _("", !0)])) : _("", !0),
|
|
2011
|
+
z.value.xyShowAxis ? (C(), v("g", Yt, [y("line", {
|
|
2012
|
+
x1: Q.value.drawingArea.left,
|
|
2013
|
+
x2: Q.value.drawingArea.left,
|
|
2014
|
+
y1: Q.value.drawingArea.top,
|
|
2015
|
+
y2: Q.value.drawingArea.bottom,
|
|
2016
|
+
stroke: z.value.xyAxisStroke,
|
|
2017
|
+
"stroke-width": z.value.xyAxisStrokeWidth,
|
|
2018
|
+
"stroke-linecap": "round"
|
|
2019
|
+
}, null, 8, Xt), y("line", {
|
|
2020
|
+
x1: Q.value.drawingArea.left,
|
|
2021
|
+
x2: Q.value.drawingArea.right,
|
|
2022
|
+
y1: isNaN(Q.value.absoluteZero) ? Q.value.drawingArea.bottom : Q.value.absoluteZero,
|
|
2023
|
+
y2: isNaN(Q.value.absoluteZero) ? Q.value.drawingArea.bottom : Q.value.absoluteZero,
|
|
2024
|
+
stroke: z.value.xyAxisStroke,
|
|
2025
|
+
"stroke-width": z.value.xyAxisStrokeWidth,
|
|
2026
|
+
"stroke-linecap": "round"
|
|
2027
|
+
}, null, 8, Zt)])) : _("", !0),
|
|
2028
|
+
z.value.xyShowScale ? (C(), v("g", {
|
|
2029
|
+
key: 2,
|
|
2030
|
+
class: "yLabels",
|
|
2031
|
+
ref_key: "scaleLabels",
|
|
2032
|
+
ref: Rn
|
|
2033
|
+
}, [(C(!0), v(h, null, T(Q.value.yLabels, (e, t) => (C(), v(h, null, [e.y <= Q.value.drawingArea.bottom ? (C(), v("line", {
|
|
2034
|
+
key: 0,
|
|
2035
|
+
x1: e.x + 4,
|
|
2036
|
+
x2: Q.value.drawingArea.left,
|
|
2037
|
+
y1: e.y,
|
|
2038
|
+
y2: e.y,
|
|
2039
|
+
stroke: z.value.xyAxisStroke,
|
|
2040
|
+
"stroke-width": z.value.xyAxisStrokeWidth,
|
|
2041
|
+
"stroke-linecap": "round"
|
|
2042
|
+
}, null, 8, Qt)) : _("", !0), e.y <= Q.value.drawingArea.bottom ? (C(), v("text", {
|
|
2043
|
+
key: 1,
|
|
2044
|
+
x: e.x,
|
|
2045
|
+
y: e.y + z.value.xyLabelsYFontSize / 3,
|
|
2046
|
+
"text-anchor": "end",
|
|
2047
|
+
"font-size": z.value.xyLabelsYFontSize,
|
|
2048
|
+
fill: z.value.color
|
|
2049
|
+
}, D(O(u)(z.value.formatter, e.value, O(n)({
|
|
2050
|
+
p: z.value.valuePrefix,
|
|
2051
|
+
v: e.value,
|
|
2052
|
+
s: z.value.valueSuffix,
|
|
2053
|
+
r: z.value.dataLabelRoundingValue
|
|
2054
|
+
}), {
|
|
2055
|
+
datapoint: e,
|
|
2056
|
+
seriesIndex: t
|
|
2057
|
+
})), 9, $t)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
|
|
2058
|
+
z.value.xyShowScale && z.value.xyPeriods.length ? (C(), v("g", en, [(C(!0), v(h, null, T(z.value.xyPeriods.slice(X.value.start, X.value.end), (e, t) => (C(), v("line", {
|
|
2059
|
+
x1: Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2,
|
|
2060
|
+
x2: Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2,
|
|
2061
|
+
y1: Q.value.drawingArea.bottom,
|
|
2062
|
+
y2: Q.value.drawingArea.bottom + 4,
|
|
2063
|
+
stroke: z.value.xyAxisStroke,
|
|
2064
|
+
"stroke-width": z.value.xyAxisStrokeWidth,
|
|
2065
|
+
"stroke-linecap": "round"
|
|
2066
|
+
}, null, 8, tn))), 256)), y("g", {
|
|
2067
|
+
ref_key: "timeLabelsEls",
|
|
2068
|
+
ref: R
|
|
2069
|
+
}, [(C(!0), v(h, null, T($.value.map((e) => e.text), (e, n) => (C(), v(h, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && n % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (C(), v("g", nn, [String(e).includes("\n") ? (C(), v("text", {
|
|
2070
|
+
key: 1,
|
|
2071
|
+
class: "vue-data-ui-time-label",
|
|
2072
|
+
"font-size": z.value.xyLabelsXFontSize,
|
|
2073
|
+
"text-anchor": z.value.xyPeriodLabelsRotation > 0 ? "start" : z.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
2074
|
+
fill: z.value.color,
|
|
2075
|
+
transform: `translate(${Q.value.drawingArea.left + Q.value.slotSize * (n + 1) - Q.value.slotSize / 2}, ${Q.value.drawingArea.bottom + z.value.xyLabelsXFontSize + 6}), rotate(${z.value.xyPeriodLabelsRotation})`,
|
|
2076
|
+
innerHTML: O(t)({
|
|
2077
|
+
content: String(e),
|
|
2078
|
+
fontSize: z.value.xyLabelsXFontSize,
|
|
2079
|
+
fill: z.value.color,
|
|
2080
|
+
x: 0,
|
|
2081
|
+
y: 0
|
|
2082
|
+
})
|
|
2083
|
+
}, null, 8, an)) : (C(), v("text", {
|
|
2084
|
+
key: 0,
|
|
2085
|
+
class: "vue-data-ui-time-label",
|
|
2086
|
+
"font-size": z.value.xyLabelsXFontSize,
|
|
2087
|
+
"text-anchor": z.value.xyPeriodLabelsRotation > 0 ? "start" : z.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
2088
|
+
fill: z.value.color,
|
|
2089
|
+
transform: `translate(${Q.value.drawingArea.left + Q.value.slotSize * (n + 1) - Q.value.slotSize / 2}, ${Q.value.drawingArea.bottom + z.value.xyLabelsXFontSize + 6}), rotate(${z.value.xyPeriodLabelsRotation})`
|
|
2090
|
+
}, D(e), 9, rn))])) : _("", !0)], 64))), 256))], 512)])) : _("", !0),
|
|
2091
|
+
y("g", on, [(C(!0), v(h, null, T(Q.value.dataset, (e, t) => (C(), v(h, null, [(C(!0), v(h, null, T(e.coordinates, (t, n) => (C(), v("rect", {
|
|
2092
|
+
x: t.x,
|
|
2093
|
+
width: t.width <= 0 ? 1e-5 : t.width,
|
|
2094
|
+
height: O(m)(t.height <= 0 ? 1e-5 : t.height),
|
|
2095
|
+
y: O(m)(t.y),
|
|
2096
|
+
fill: e.color,
|
|
2097
|
+
stroke: z.value.backgroundColor,
|
|
2098
|
+
"stroke-width": z.value.barStrokeWidth,
|
|
2099
|
+
"stroke-linecap": "round",
|
|
2100
|
+
class: Ne({ "vue-data-ui-bar-animated": z.value.barAnimated && t.value < 0 && !O(H) })
|
|
2101
|
+
}, [z.value.barAnimated && t.value > 0 && !O(ir) && !O(ar) ? (C(), v("animate", {
|
|
2102
|
+
key: 0,
|
|
2103
|
+
attributeName: "height",
|
|
2104
|
+
from: 0,
|
|
2105
|
+
to: t.height,
|
|
2106
|
+
dur: "0.5s"
|
|
2107
|
+
}, null, 8, cn)) : _("", !0), z.value.barAnimated && t.value > 0 && !O(ir) && !O(ar) ? (C(), v("animate", {
|
|
2108
|
+
key: 1,
|
|
2109
|
+
attributeName: "y",
|
|
2110
|
+
from: Q.value.absoluteZero,
|
|
2111
|
+
to: Q.value.absoluteZero - t.height,
|
|
2112
|
+
dur: "0.5s"
|
|
2113
|
+
}, null, 8, ln)) : _("", !0)], 10, sn))), 256))], 64))), 256))]),
|
|
2114
|
+
z.value.showDataLabels ? (C(), v("g", un, [(C(!0), v(h, null, T(Q.value.dataset, (e, t) => (C(), v(h, null, [(C(!0), v(h, null, T(e.coordinates, (t, r) => (C(), v("text", {
|
|
2115
|
+
x: t.x + t.width / 2,
|
|
2116
|
+
y: O(m)(t.y) - z.value.dataLabelFontSize / 2,
|
|
2117
|
+
"text-anchor": "middle",
|
|
2118
|
+
"font-size": z.value.dataLabelFontSize,
|
|
2119
|
+
fill: e.color,
|
|
2120
|
+
class: "quick-animation"
|
|
2121
|
+
}, D(O(u)(z.value.formatter, O(m)(t.value), O(n)({
|
|
2122
|
+
p: z.value.valuePrefix,
|
|
2123
|
+
v: O(m)(t.value),
|
|
2124
|
+
s: z.value.valueSuffix,
|
|
2125
|
+
r: z.value.dataLabelRoundingValue
|
|
2126
|
+
}), {
|
|
2127
|
+
datapoint: t,
|
|
2128
|
+
seriesIndex: r
|
|
2129
|
+
})), 9, dn))), 256))], 64))), 256))])) : _("", !0),
|
|
2130
|
+
Qn.value && L.value.length < Q.value.legend.length ? (C(), v("g", fn, [(C(!0), v(h, null, T(Q.value.extremes.maxSeries, (e, t) => (C(), v("rect", {
|
|
2131
|
+
x: Q.value.drawingArea.left + t * Q.value.slotSize,
|
|
2132
|
+
y: Q.value.drawingArea.top,
|
|
2133
|
+
height: Q.value.drawingArea.height <= 0 ? 1e-5 : Q.value.drawingArea.height,
|
|
2134
|
+
width: Q.value.slotSize <= 0 ? 1e-5 : Q.value.slotSize,
|
|
2135
|
+
fill: [I.value, J.value].includes(t) ? z.value.xyHighlighterColor : "transparent",
|
|
2136
|
+
style: S(`opacity:${z.value.xyHighlighterOpacity}`),
|
|
2137
|
+
onMouseenter: (e) => Q.value.useTooltip(t, "pointer"),
|
|
2138
|
+
onMouseleave: (e) => Q.value.killTooltip(t),
|
|
2139
|
+
onClick: (e) => Q.value.selectDatapoint(t)
|
|
2140
|
+
}, null, 44, pn))), 256))])) : _("", !0)
|
|
2141
|
+
], 64)) : _("", !0),
|
|
2142
|
+
[A.LINE, A.BAR].includes(G.value) ? (C(), v("g", mn, [
|
|
2143
|
+
z.value.xAxisLabel && G.value === A.LINE ? (C(), v("g", {
|
|
2144
|
+
key: 0,
|
|
2145
|
+
ref_key: "xAxisLabel",
|
|
2146
|
+
ref: zn
|
|
2147
|
+
}, [y("text", {
|
|
2148
|
+
"font-size": z.value.axisLabelsFontSize,
|
|
2149
|
+
fill: z.value.color,
|
|
2150
|
+
"text-anchor": "middle",
|
|
2151
|
+
x: Z.value.drawingArea.left + Z.value.drawingArea.width / 2,
|
|
2152
|
+
y: K.value.height - z.value.axisLabelsFontSize / 3
|
|
2153
|
+
}, D(z.value.xAxisLabel), 9, hn)], 512)) : _("", !0),
|
|
2154
|
+
z.value.xAxisLabel && G.value === A.BAR ? (C(), v("g", {
|
|
2155
|
+
key: 1,
|
|
2156
|
+
ref_key: "xAxisLabel",
|
|
2157
|
+
ref: zn
|
|
2158
|
+
}, [y("text", {
|
|
2159
|
+
"font-size": z.value.axisLabelsFontSize,
|
|
2160
|
+
fill: z.value.color,
|
|
2161
|
+
"text-anchor": "middle",
|
|
2162
|
+
x: Q.value.drawingArea.left + Q.value.drawingArea.width / 2,
|
|
2163
|
+
y: K.value.height - z.value.axisLabelsFontSize / 3
|
|
2164
|
+
}, D(z.value.xAxisLabel), 9, gn)], 512)) : _("", !0),
|
|
2165
|
+
z.value.yAxisLabel && G.value === A.LINE ? (C(), v("g", {
|
|
2166
|
+
key: 2,
|
|
2167
|
+
ref_key: "yAxisLabel",
|
|
2168
|
+
ref: Bn
|
|
2169
|
+
}, [y("text", {
|
|
2170
|
+
"font-size": z.value.axisLabelsFontSize,
|
|
2171
|
+
fill: z.value.color,
|
|
2172
|
+
transform: `translate(${z.value.axisLabelsFontSize}, ${Z.value.drawingArea.top + Z.value.drawingArea.height / 2}) rotate(-90)`,
|
|
2173
|
+
"text-anchor": "middle"
|
|
2174
|
+
}, D(z.value.yAxisLabel), 9, _n)], 512)) : _("", !0),
|
|
2175
|
+
z.value.yAxisLabel && G.value === A.BAR ? (C(), v("g", {
|
|
2176
|
+
key: 3,
|
|
2177
|
+
ref_key: "yAxisLabel",
|
|
2178
|
+
ref: Bn
|
|
2179
|
+
}, [y("text", {
|
|
2180
|
+
"font-size": z.value.axisLabelsFontSize,
|
|
2181
|
+
fill: z.value.color,
|
|
2182
|
+
transform: `translate(${z.value.axisLabelsFontSize}, ${Q.value.drawingArea.top + Q.value.drawingArea.height / 2}) rotate(-90)`,
|
|
2183
|
+
"text-anchor": "middle"
|
|
2184
|
+
}, D(z.value.yAxisLabel), 9, vn)], 512)) : _("", !0)
|
|
2185
|
+
])) : _("", !0)
|
|
2186
|
+
], 44, tt)) : _("", !0), e.$slots.hint ? (C(), v("div", yn, [E(e.$slots, "hint", x(b({
|
|
2187
|
+
hint: z.value.a11y.translations.keyboardNavigation,
|
|
2188
|
+
isVisible: Wn.value
|
|
2189
|
+
})), void 0, !0)])) : _("", !0)]),
|
|
2190
|
+
e.$slots.watermark ? (C(), v("div", bn, [E(e.$slots, "watermark", x(b({ isPrinting: O(ir) || O(ar) })), void 0, !0)])) : _("", !0),
|
|
2191
|
+
[A.BAR, A.LINE].includes(G.value) && z.value.zoomXy && W.value.maxSeriesLength > 1 ? (C(), v("div", {
|
|
2192
|
+
key: `slicer_${Pn.value}`,
|
|
2193
|
+
ref_key: "quickChartSlicer",
|
|
2194
|
+
ref: On
|
|
2195
|
+
}, [(C(), De(we, {
|
|
2196
|
+
ref_key: "slicerComponent",
|
|
2197
|
+
ref: wr,
|
|
2198
|
+
key: `slicer_${Pn.value}`,
|
|
2199
|
+
background: z.value.zoomColor,
|
|
2200
|
+
borderColor: z.value.backgroundColor,
|
|
2201
|
+
fontSize: z.value.zoomFontSize,
|
|
2202
|
+
useResetSlot: z.value.zoomUseResetSlot,
|
|
2203
|
+
labelLeft: z.value.xyPeriods[X.value.start] && $.value[0] ? $.value[0].text : "",
|
|
2204
|
+
labelRight: z.value.xyPeriods[X.value.end - 1] && $.value?.length ? $.value.at(-1).text : "",
|
|
2205
|
+
textColor: z.value.color,
|
|
2206
|
+
inputColor: z.value.zoomColor,
|
|
2207
|
+
selectColor: z.value.zoomHighlightColor,
|
|
2208
|
+
max: W.value.maxSeriesLength,
|
|
2209
|
+
min: 0,
|
|
2210
|
+
valueStart: X.value.start,
|
|
2211
|
+
valueEnd: X.value.end,
|
|
2212
|
+
smoothMinimap: z.value.zoomMinimap.smooth,
|
|
2213
|
+
minimapSelectedColor: z.value.zoomMinimap.selectedColor,
|
|
2214
|
+
minimapSelectedColorOpacity: z.value.zoomMinimap.selectedColorOpacity,
|
|
2215
|
+
minimapSelectionRadius: z.value.zoomMinimap.selectionRadius,
|
|
2216
|
+
minimapLineColor: z.value.zoomMinimap.lineColor,
|
|
2217
|
+
minimap: Dr.value,
|
|
2218
|
+
minimapIndicatorColor: z.value.zoomMinimap.indicatorColor,
|
|
2219
|
+
verticalHandles: z.value.zoomMinimap.verticalHandles,
|
|
2220
|
+
minimapSelectedIndex: J.value,
|
|
2221
|
+
start: X.value.start,
|
|
2222
|
+
"onUpdate:start": r[0] ||= (e) => X.value.start = e,
|
|
2223
|
+
end: X.value.end,
|
|
2224
|
+
"onUpdate:end": r[1] ||= (e) => X.value.end = e,
|
|
2225
|
+
refreshStartPoint: z.value.zoomStartIndex === null ? 0 : z.value.zoomStartIndex,
|
|
2226
|
+
refreshEndPoint: z.value.zoomEndIndex === null ? W.value.maxSeriesLength : z.value.zoomEndIndex + 1,
|
|
2227
|
+
enableRangeHandles: z.value.zoomEnableRangeHandles,
|
|
2228
|
+
enableSelectionDrag: z.value.zoomEnableSelectionDrag,
|
|
2229
|
+
minimapCompact: z.value.zoomMinimap.compact,
|
|
2230
|
+
minimapMerged: z.value.zoomMinimap.merged,
|
|
2231
|
+
allMinimaps: Rr.value,
|
|
2232
|
+
minimapFrameColor: z.value.zoomMinimap.frameColor,
|
|
2233
|
+
additionalMinimapHeight: z.value.zoomMinimap.additionalHeight,
|
|
2234
|
+
handleType: z.value.zoomMinimap.handleType,
|
|
2235
|
+
handleWidth: z.value.zoomMinimap.handleWidth,
|
|
2236
|
+
handleBorderWidth: z.value.zoomMinimap.handleBorderWidth,
|
|
2237
|
+
handleIconColor: z.value.zoomMinimap.handleIconColor,
|
|
2238
|
+
handleBorderColor: z.value.zoomMinimap.handleBorderColor,
|
|
2239
|
+
handleFill: z.value.zoomMinimap.handleFill,
|
|
2240
|
+
focusOnDrag: z.value.zoomFocusOnDrag,
|
|
2241
|
+
focusRangeRatio: z.value.zoomFocusRangeRatio,
|
|
2242
|
+
maxWidth: z.value.zoomMaxWidth,
|
|
2243
|
+
onReset: Cr,
|
|
2244
|
+
onTrapMouse: xr
|
|
2245
|
+
}, {
|
|
2246
|
+
"reset-action": k(({ reset: t }) => [E(e.$slots, "reset-action", x(b({ reset: t })), void 0, !0)]),
|
|
2247
|
+
_: 3
|
|
2248
|
+
}, 8, /* @__PURE__ */ "background.borderColor.fontSize.useResetSlot.labelLeft.labelRight.textColor.inputColor.selectColor.max.valueStart.valueEnd.smoothMinimap.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectionRadius.minimapLineColor.minimap.minimapIndicatorColor.verticalHandles.minimapSelectedIndex.start.end.refreshStartPoint.refreshEndPoint.enableRangeHandles.enableSelectionDrag.minimapCompact.minimapMerged.allMinimaps.minimapFrameColor.additionalMinimapHeight.handleType.handleWidth.handleBorderWidth.handleIconColor.handleBorderColor.handleFill.focusOnDrag.focusRangeRatio.maxWidth".split(".")))])) : _("", !0),
|
|
2249
|
+
y("div", { id: `legend-bottom-${P.value}` }, null, 8, xn),
|
|
2250
|
+
Fn.value && z.value.showLegend ? (C(), De(Ee, {
|
|
2251
|
+
key: 7,
|
|
2252
|
+
to: z.value.legendPosition === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
|
|
2253
|
+
}, [z.value.showLegend ? (C(), v("div", {
|
|
2254
|
+
key: 0,
|
|
2255
|
+
ref_key: "quickChartLegend",
|
|
2256
|
+
ref: Dn,
|
|
2257
|
+
class: "vue-ui-quick-chart-legend",
|
|
2258
|
+
style: S(`background:transparent;color:${z.value.color}`)
|
|
2259
|
+
}, [
|
|
2260
|
+
(Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && z.value.showLegendSelectAllToggle && !O(H) ? (C(), De(xe, {
|
|
2261
|
+
key: 0,
|
|
2262
|
+
backgroundColor: z.value.legendSelectAllToggleBackgroundColor,
|
|
2263
|
+
color: z.value.legendSelectAllToggleColor,
|
|
2264
|
+
fontSize: z.value.legendFontSize,
|
|
2265
|
+
checked: L.value.length > 0,
|
|
2266
|
+
isCursorPointer: Hn.value,
|
|
2267
|
+
onToggle: hr
|
|
2268
|
+
}, null, 8, [
|
|
2269
|
+
"backgroundColor",
|
|
2270
|
+
"color",
|
|
2271
|
+
"fontSize",
|
|
2272
|
+
"checked",
|
|
2273
|
+
"isCursorPointer"
|
|
2274
|
+
])) : _("", !0),
|
|
2275
|
+
G.value === A.DONUT ? (C(!0), v(h, { key: 1 }, T(Y.value.legend, (t, r) => (C(), v("div", {
|
|
2276
|
+
class: "vue-ui-quick-chart-legend-item",
|
|
2277
|
+
onClick: (e) => {
|
|
2278
|
+
br(t, Y.value.dataset), U("selectLegend", t);
|
|
2279
|
+
},
|
|
2280
|
+
style: S(`cursor: ${Y.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
|
|
2281
|
+
role: "button",
|
|
2282
|
+
tabindex: "0",
|
|
2283
|
+
onKeydown: (e) => {
|
|
2284
|
+
ni(e, () => {
|
|
2285
|
+
br(t, Y.value.dataset), U("selectLegend", t);
|
|
2286
|
+
});
|
|
2287
|
+
}
|
|
2288
|
+
}, [z.value.useCustomLegend ? E(e.$slots, "legend", je({
|
|
2289
|
+
key: 0,
|
|
2290
|
+
ref_for: !0
|
|
2291
|
+
}, { legend: {
|
|
2292
|
+
...t,
|
|
2293
|
+
isSegregated: L.value.includes(t.id),
|
|
2294
|
+
segregate: () => {
|
|
2295
|
+
br(t, Y.value.dataset), U("selectLegend", t);
|
|
2296
|
+
}
|
|
2297
|
+
} }), void 0, !0) : (C(), v(h, { key: 1 }, [
|
|
2298
|
+
ke(O(He), {
|
|
2299
|
+
name: z.value.legendIcon,
|
|
2300
|
+
stroke: t.color,
|
|
2301
|
+
size: z.value.legendIconSize
|
|
2302
|
+
}, null, 8, [
|
|
2303
|
+
"name",
|
|
2304
|
+
"stroke",
|
|
2305
|
+
"size"
|
|
2306
|
+
]),
|
|
2307
|
+
y("span", { style: S(`font-size:${z.value.legendFontSize}px`) }, D(t.name), 5),
|
|
2308
|
+
y("span", { style: S(`font-size:${z.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, D(L.value.includes(t.id) ? "-" : O(u)(z.value.formatter, t.absoluteValue, O(n)({
|
|
2309
|
+
p: z.value.valuePrefix,
|
|
2310
|
+
v: t.absoluteValue,
|
|
2311
|
+
s: z.value.valueSuffix,
|
|
2312
|
+
r: z.value.dataLabelRoundingValue
|
|
2313
|
+
}), {
|
|
2314
|
+
datapoint: t,
|
|
2315
|
+
seriesIndex: r
|
|
2316
|
+
})), 5),
|
|
2317
|
+
L.value.includes(t.id) ? (C(), v("span", {
|
|
2318
|
+
key: 0,
|
|
2319
|
+
style: S(`font-size:${z.value.legendFontSize}px`)
|
|
2320
|
+
}, " ( - % ) ", 4)) : yr.value ? (C(), v("span", {
|
|
2321
|
+
key: 1,
|
|
2322
|
+
style: S(`font-size:${z.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
2323
|
+
}, " ( - % ) ", 4)) : (C(), v("span", {
|
|
2324
|
+
key: 2,
|
|
2325
|
+
style: S(`font-size:${z.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
2326
|
+
}, " (" + D(O(n)({
|
|
2327
|
+
v: t.value / Y.value.total * 100,
|
|
2328
|
+
s: "%",
|
|
2329
|
+
r: z.value.dataLabelRoundingPercentage
|
|
2330
|
+
})) + ") ", 5))
|
|
2331
|
+
], 64))], 44, Sn))), 256)) : _("", !0),
|
|
2332
|
+
G.value === A.LINE ? (C(!0), v(h, { key: 2 }, T(Z.value.legend, (t, n) => (C(), v("div", {
|
|
2333
|
+
class: "vue-ui-quick-chart-legend-item",
|
|
2334
|
+
onClick: (e) => {
|
|
2335
|
+
gr(t.id, Z.value.legend.length - 1), U("selectLegend", t);
|
|
2336
|
+
},
|
|
2337
|
+
style: S(`cursor: ${Z.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
|
|
2338
|
+
role: "button",
|
|
2339
|
+
tabindex: "0",
|
|
2340
|
+
onKeydown: (e) => {
|
|
2341
|
+
ni(e, () => {
|
|
2342
|
+
gr(t.id, Z.value.legend.length - 1), U("selectLegend", t);
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
}, [z.value.useCustomLegend ? E(e.$slots, "legend", je({
|
|
2346
|
+
key: 0,
|
|
2347
|
+
ref_for: !0
|
|
2348
|
+
}, { legend: {
|
|
2349
|
+
...t,
|
|
2350
|
+
isSegregated: L.value.includes(t.id),
|
|
2351
|
+
segregate: () => {
|
|
2352
|
+
gr(t.id, Z.value.legend.length - 1), U("selectLegend", t);
|
|
2353
|
+
}
|
|
2354
|
+
} }), void 0, !0) : (C(), v(h, { key: 1 }, [ke(O(He), {
|
|
2355
|
+
name: z.value.legendIcon,
|
|
2356
|
+
stroke: t.color,
|
|
2357
|
+
size: z.value.legendIconSize
|
|
2358
|
+
}, null, 8, [
|
|
2359
|
+
"name",
|
|
2360
|
+
"stroke",
|
|
2361
|
+
"size"
|
|
2362
|
+
]), y("span", { style: S(`font-size:${z.value.legendFontSize}px`) }, D(t.name), 5)], 64))], 44, Cn))), 256)) : _("", !0),
|
|
2363
|
+
G.value === A.BAR ? (C(!0), v(h, { key: 3 }, T(Q.value.legend, (t, n) => (C(), v("div", {
|
|
2364
|
+
class: "vue-ui-quick-chart-legend-item",
|
|
2365
|
+
onClick: (e) => {
|
|
2366
|
+
gr(t.id, Q.value.legend.length - 1), U("selectLegend", t);
|
|
2367
|
+
},
|
|
2368
|
+
style: S(`cursor: ${Q.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`),
|
|
2369
|
+
role: "button",
|
|
2370
|
+
tabindex: "0",
|
|
2371
|
+
onKeydown: (e) => {
|
|
2372
|
+
ni(e, () => {
|
|
2373
|
+
gr(t.id, Q.value.legend.length - 1), U("selectLegend", t);
|
|
2374
|
+
});
|
|
2375
|
+
}
|
|
2376
|
+
}, [z.value.useCustomLegend ? E(e.$slots, "legend", je({
|
|
2377
|
+
key: 0,
|
|
2378
|
+
ref_for: !0
|
|
2379
|
+
}, { legend: {
|
|
2380
|
+
...t,
|
|
2381
|
+
isSegregated: L.value.includes(t.id),
|
|
2382
|
+
segregate: () => {
|
|
2383
|
+
gr(t.id, Q.value.legend.length - 1), U("selectLegend", t);
|
|
2384
|
+
}
|
|
2385
|
+
} }), void 0, !0) : (C(), v(h, { key: 1 }, [ke(O(He), {
|
|
2386
|
+
name: z.value.legendIcon,
|
|
2387
|
+
stroke: t.color,
|
|
2388
|
+
size: z.value.legendIconSize
|
|
2389
|
+
}, null, 8, [
|
|
2390
|
+
"name",
|
|
2391
|
+
"stroke",
|
|
2392
|
+
"size"
|
|
2393
|
+
]), y("span", { style: S(`font-size:${z.value.legendFontSize}px`) }, D(t.name), 5)], 64))], 44, wn))), 256)) : _("", !0)
|
|
2394
|
+
], 4)) : _("", !0)], 8, ["to"])) : _("", !0),
|
|
2395
|
+
e.$slots.source ? (C(), v("div", {
|
|
2396
|
+
key: 8,
|
|
2397
|
+
ref_key: "source",
|
|
2398
|
+
ref: jn,
|
|
2399
|
+
dir: "auto"
|
|
2400
|
+
}, [E(e.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
|
|
2401
|
+
ke(O(Ke), {
|
|
2402
|
+
teleportTo: z.value.tooltipTeleportTo,
|
|
2403
|
+
show: lr.value.showTooltip && F.value,
|
|
2404
|
+
backgroundColor: z.value.backgroundColor,
|
|
2405
|
+
color: z.value.color,
|
|
2406
|
+
borderRadius: z.value.tooltipBorderRadius,
|
|
2407
|
+
borderColor: z.value.tooltipBorderColor,
|
|
2408
|
+
borderWidth: z.value.tooltipBorderWidth,
|
|
2409
|
+
fontSize: z.value.tooltipFontSize,
|
|
2410
|
+
backgroundOpacity: z.value.tooltipBackgroundOpacity,
|
|
2411
|
+
position: z.value.tooltipPosition,
|
|
2412
|
+
offsetY: z.value.tooltipOffsetY,
|
|
2413
|
+
parent: N.value,
|
|
2414
|
+
content: An.value,
|
|
2415
|
+
isFullscreen: Vr.value,
|
|
2416
|
+
isCustom: O(re)(z.value.tooltipCustomFormat),
|
|
2417
|
+
smooth: z.value.tooltipSmooth,
|
|
2418
|
+
smoothForce: z.value.tooltipSmoothForce,
|
|
2419
|
+
smoothSnapThreshold: z.value.tooltipSmoothSnapThreshold,
|
|
2420
|
+
backdropFilter: z.value.tooltipBackdropFilter,
|
|
2421
|
+
isA11yMode: V.value === "keyboard",
|
|
2422
|
+
a11yPosition: Un.value
|
|
2423
|
+
}, {
|
|
2424
|
+
"tooltip-before": k(() => [E(e.$slots, "tooltip-before", x(b({ ...kn.value })), void 0, !0)]),
|
|
2425
|
+
tooltip: k(() => [E(e.$slots, "tooltip", x(b({ ...kn.value })), void 0, !0)]),
|
|
2426
|
+
"tooltip-after": k(() => [E(e.$slots, "tooltip-after", x(b({ ...kn.value })), void 0, !0)]),
|
|
2427
|
+
_: 3
|
|
2428
|
+
}, 8, [
|
|
2429
|
+
"teleportTo",
|
|
2430
|
+
"show",
|
|
2431
|
+
"backgroundColor",
|
|
2432
|
+
"color",
|
|
2433
|
+
"borderRadius",
|
|
2434
|
+
"borderColor",
|
|
2435
|
+
"borderWidth",
|
|
2436
|
+
"fontSize",
|
|
2437
|
+
"backgroundOpacity",
|
|
2438
|
+
"position",
|
|
2439
|
+
"offsetY",
|
|
2440
|
+
"parent",
|
|
2441
|
+
"content",
|
|
2442
|
+
"isFullscreen",
|
|
2443
|
+
"isCustom",
|
|
2444
|
+
"smooth",
|
|
2445
|
+
"smoothForce",
|
|
2446
|
+
"smoothSnapThreshold",
|
|
2447
|
+
"backdropFilter",
|
|
2448
|
+
"isA11yMode",
|
|
2449
|
+
"a11yPosition"
|
|
2450
|
+
]),
|
|
2451
|
+
E(e.$slots, "skeleton", {}, () => [O(H) ? (C(), De(fe, { key: 0 })) : _("", !0)], !0)
|
|
2452
|
+
], 46, Ze)) : (C(), v("div", Tn, [ke(O(He), {
|
|
2453
|
+
name: "circleCancel",
|
|
2454
|
+
stroke: "red"
|
|
2455
|
+
}), r[5] ||= y("span", null, "Dataset is not processable", -1)]));
|
|
2456
|
+
}
|
|
2457
|
+
}, [["__scopeId", "data-v-8faa98b0"]]);
|
|
2458
|
+
//#endregion
|
|
2459
|
+
export { N as n, En as t };
|