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