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,1250 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as V, computed as y, ref as h, toRefs as aa, onMounted as la, watch as he, shallowRef as et, onBeforeUnmount as tt, watchEffect as at, openBlock as r, createElementBlock as c, normalizeStyle as x, normalizeClass as lt, createElementVNode as W, toDisplayString as B, createBlock as U, createCommentVNode as b, unref as d, withCtx as g, renderSlot as f, normalizeProps as $, guardReactiveProps as S, createSlots as ot, createVNode as Se, Fragment as L, renderList as T, mergeProps as Ae, resolveDynamicComponent as oa, createTextVNode as nt, nextTick as na } from "vue";
|
|
2
|
-
import { j as st, t as ut, m as sa, p as de, n as ua, o as rt, q as it, r as ra, s as ct, k as ia, l as ca, W as vt, a9 as R, c as va, b as ha, I as da, X as ya, Z as Te, a0 as fa, a1 as pa } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as ht, u as ma } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ga } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as ba, B as ka } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
-
import { u as Ca } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as wa } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as Me } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as La } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
-
import { u as xa } from "./useTimeLabels-Cv0tD9In.js";
|
|
11
|
-
import { u as $a } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
-
import { u as Sa } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
-
import { u as Aa } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
14
|
-
import Ta from "./vue_ui_bump-CIht647H.js";
|
|
15
|
-
import Ma from "./Title-BbKoiBk2.js";
|
|
16
|
-
import { A as Pa } from "./A11yDataTable-BpmuNomI.js";
|
|
17
|
-
import Ia from "./BaseDraggableDialog-Di8Hlru3.js";
|
|
18
|
-
import { _ as za } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
|
-
const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = ["xmlns", "aria-describedby", "viewBox"], Na = ["x", "y", "width", "height"], Ha = ["d", "stroke", "stroke-width", "onMouseenter"], Ea = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Fa = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Va = ["x", "y", "fill", "font-size"], Wa = ["onMouseenter", "onMouseleave", "onClick"], Ba = ["x", "y", "fill", "font-size"], Ua = ["x", "y", "fill", "font-size", "font--weight", "innerHTML", "onMouseenter", "onMouseleave", "onClick"], Xa = ["x", "y", "fill", "font-size", "font--weight", "innerHTML", "onMouseenter", "onMouseleave", "onClick"], Ya = { key: 0 }, ja = { key: 1 }, qa = ["text-anchor", "font-size", "font-weight", "fill", "transform"], Ga = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], Ka = {
|
|
20
|
-
key: 0,
|
|
21
|
-
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
22
|
-
"data-dom-to-png-ignore": "",
|
|
23
|
-
"aria-hidden": "true"
|
|
24
|
-
}, Za = {
|
|
25
|
-
key: 5,
|
|
26
|
-
class: "vue-data-ui-watermark"
|
|
27
|
-
}, Ja = ["innerHTML"], Qa = {
|
|
28
|
-
__name: "vue-ui-bump",
|
|
29
|
-
props: {
|
|
30
|
-
config: {
|
|
31
|
-
type: Object,
|
|
32
|
-
default() {
|
|
33
|
-
return {};
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
dataset: {
|
|
37
|
-
type: Array,
|
|
38
|
-
default() {
|
|
39
|
-
return [];
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
emits: ["copyAlt"],
|
|
44
|
-
setup(dt, { expose: yt, emit: ft }) {
|
|
45
|
-
const pt = V(() => import("./BaseIcon-DX0hTWa-.js")), mt = V(() => import("./vue-ui-accordion-DFtpH_16.js")), gt = V(() => import("./DataTable-cMnb68Ik.js")), bt = V(
|
|
46
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
47
|
-
), kt = V(
|
|
48
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
49
|
-
), Ct = V(
|
|
50
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
51
|
-
), { vue_ui_bump: wt } = ga(), { isThemeValid: Lt, warnInvalidTheme: xt } = La(), w = dt, $t = ft, le = y({
|
|
52
|
-
get() {
|
|
53
|
-
return !!w.dataset && w.dataset.length;
|
|
54
|
-
},
|
|
55
|
-
set(t) {
|
|
56
|
-
return t;
|
|
57
|
-
}
|
|
58
|
-
}), M = h(null), N = h(st()), Pe = h(0), Ie = h(null), ze = h(null), Oe = h(null), oe = h(!1), ye = h(!1), Re = h(0), St = h(0), X = h(null), fe = h(null), _e = h(!1), ne = h(!1), se = h(!1), p = h(null), pe = h(null), me = h(null), ge = h(null), P = h(null), be = h(!1), e = h(ke()), Y = y(
|
|
59
|
-
() => e.value.userOptions.useCursorPointer
|
|
60
|
-
), At = y(() => ut({
|
|
61
|
-
defaultConfig: {
|
|
62
|
-
userOptions: { show: !1 },
|
|
63
|
-
style: {
|
|
64
|
-
chart: {
|
|
65
|
-
backgroundColor: "#99999930",
|
|
66
|
-
layout: {
|
|
67
|
-
timeLabels: { show: !1 },
|
|
68
|
-
lines: {
|
|
69
|
-
coatingColor: "#4A4A4A"
|
|
70
|
-
},
|
|
71
|
-
plots: {
|
|
72
|
-
stroke: "#4A4A4A",
|
|
73
|
-
labels: {
|
|
74
|
-
show: !1,
|
|
75
|
-
displayedValue: "rank"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
nameLabels: {
|
|
79
|
-
useSerieColor: !0
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
86
|
-
})), { loading: ue, FINAL_DATASET: Tt, manualLoading: re } = ba({
|
|
87
|
-
...aa(w),
|
|
88
|
-
FINAL_CONFIG: e,
|
|
89
|
-
prepareConfig: ke,
|
|
90
|
-
skeletonDataset: w.config?.skeletonDataset ?? [
|
|
91
|
-
{
|
|
92
|
-
name: "————",
|
|
93
|
-
values: [1, 1, 1, 2, 2, 2, 3, 3, 2, 2],
|
|
94
|
-
color: "#4A4A4A"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
name: "————",
|
|
98
|
-
values: [2, 2, 2, 1, 3, 3, 2, 2, 3, 3],
|
|
99
|
-
color: "#6A6A6A"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
name: "————",
|
|
103
|
-
values: [3, 3, 3, 3, 1, 1, 1, 1, 1, 1],
|
|
104
|
-
color: "#8A8A8A"
|
|
105
|
-
}
|
|
106
|
-
],
|
|
107
|
-
skeletonConfig: ut({
|
|
108
|
-
defaultConfig: e.value,
|
|
109
|
-
userConfig: At.value
|
|
110
|
-
})
|
|
111
|
-
});
|
|
112
|
-
la(We);
|
|
113
|
-
function ke() {
|
|
114
|
-
const t = Me({
|
|
115
|
-
userConfig: w.config,
|
|
116
|
-
defaultConfig: wt
|
|
117
|
-
});
|
|
118
|
-
let l = {};
|
|
119
|
-
const a = t.theme;
|
|
120
|
-
if (a)
|
|
121
|
-
if (!Lt.value(t))
|
|
122
|
-
xt(t), l = t;
|
|
123
|
-
else {
|
|
124
|
-
const o = Me({
|
|
125
|
-
userConfig: Ta[a] || w.config,
|
|
126
|
-
defaultConfig: t
|
|
127
|
-
});
|
|
128
|
-
l = {
|
|
129
|
-
...Me({
|
|
130
|
-
userConfig: w.config,
|
|
131
|
-
defaultConfig: o
|
|
132
|
-
}),
|
|
133
|
-
customPalette: t.customPalette.length ? t.customPalette : sa[a] || de
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
else
|
|
137
|
-
l = t;
|
|
138
|
-
return l;
|
|
139
|
-
}
|
|
140
|
-
const { userOptionsVisible: Ce, setUserOptionsVisibility: De, keepUserOptionState: Ne } = $a({ config: e.value }), { svgRef: j } = Sa({
|
|
141
|
-
config: e.value.style.chart.title
|
|
142
|
-
});
|
|
143
|
-
function Mt() {
|
|
144
|
-
_e.value = !0, De(!0);
|
|
145
|
-
}
|
|
146
|
-
function Pt() {
|
|
147
|
-
De(!1), _e.value = !1;
|
|
148
|
-
}
|
|
149
|
-
const _ = h({
|
|
150
|
-
showTable: e.value.table.show
|
|
151
|
-
});
|
|
152
|
-
he(
|
|
153
|
-
e,
|
|
154
|
-
() => {
|
|
155
|
-
_.value = {
|
|
156
|
-
showTable: e.value.table.show
|
|
157
|
-
};
|
|
158
|
-
},
|
|
159
|
-
{ immediate: !0 }
|
|
160
|
-
), he(
|
|
161
|
-
() => w.config,
|
|
162
|
-
(t) => {
|
|
163
|
-
ue.value || (e.value = ke()), Ce.value = !e.value.userOptions.showOnChartHover, We(), Re.value += 1, St.value += 1, _.value.showTable = e.value.table.show, A.value.width = e.value.style.chart.width, A.value.height = e.value.style.chart.height, A.value.paddingRatio = {
|
|
164
|
-
top: e.value.style.chart.padding.top / e.value.style.chart.height,
|
|
165
|
-
right: e.value.style.chart.padding.right / e.value.style.chart.width,
|
|
166
|
-
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
167
|
-
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
), he(
|
|
171
|
-
() => w.dataset,
|
|
172
|
-
(t) => {
|
|
173
|
-
Array.isArray(t) && t.length > 0 && (re.value = !1);
|
|
174
|
-
},
|
|
175
|
-
{ deep: !0 }
|
|
176
|
-
);
|
|
177
|
-
const { isPrinting: we, isImaging: Le, generatePdf: He, generateImage: Ee } = Ca({
|
|
178
|
-
elementId: `bump_${N.value}`,
|
|
179
|
-
fileName: e.value.style.chart.title.text || "vue-ui-bump",
|
|
180
|
-
options: e.value.userOptions.print
|
|
181
|
-
}), It = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), A = h({
|
|
182
|
-
width: e.value.style.chart.width,
|
|
183
|
-
height: e.value.style.chart.height,
|
|
184
|
-
paddingRatio: {
|
|
185
|
-
top: e.value.style.chart.padding.top / e.value.style.chart.height,
|
|
186
|
-
right: e.value.style.chart.padding.right / e.value.style.chart.width,
|
|
187
|
-
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
188
|
-
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
189
|
-
}
|
|
190
|
-
}), zt = y(() => ua(e.value.customPalette)), I = et(null), H = et(null), Fe = h(null), Ve = y(() => !!e.value.debug);
|
|
191
|
-
function We() {
|
|
192
|
-
if (rt(w.dataset) ? (it({
|
|
193
|
-
componentName: "VueUiBump",
|
|
194
|
-
type: "dataset",
|
|
195
|
-
debug: Ve.value
|
|
196
|
-
}), re.value = !0) : w.dataset.forEach((t, l) => {
|
|
197
|
-
ra({
|
|
198
|
-
datasetObject: t,
|
|
199
|
-
requiredAttributes: ["name", "values"]
|
|
200
|
-
}).forEach((a) => {
|
|
201
|
-
le.value = !1, it({
|
|
202
|
-
componentName: "VueUiBump",
|
|
203
|
-
type: "datasetSerieAttribute",
|
|
204
|
-
property: a,
|
|
205
|
-
index: l,
|
|
206
|
-
debug: Ve.value
|
|
207
|
-
}), re.value = !0;
|
|
208
|
-
});
|
|
209
|
-
}), rt(w.dataset) || (re.value = e.value.loading), setTimeout(() => {
|
|
210
|
-
ye.value = !0;
|
|
211
|
-
}, 10), e.value.responsive) {
|
|
212
|
-
const t = ht(() => {
|
|
213
|
-
ye.value = !1;
|
|
214
|
-
const { width: l, height: a } = ma({
|
|
215
|
-
chart: M.value,
|
|
216
|
-
noTitle: ze.value,
|
|
217
|
-
title: e.value.style.chart.title.text ? Ie.value : null,
|
|
218
|
-
legend: null,
|
|
219
|
-
slicer: null,
|
|
220
|
-
source: Oe.value
|
|
221
|
-
});
|
|
222
|
-
requestAnimationFrame(() => {
|
|
223
|
-
A.value.width = l, A.value.height = a - 12, clearTimeout(Fe.value), Fe.value = setTimeout(() => {
|
|
224
|
-
ye.value = !0;
|
|
225
|
-
}, 10);
|
|
226
|
-
});
|
|
227
|
-
});
|
|
228
|
-
I.value && (H.value && I.value.unobserve(H.value), I.value.disconnect()), I.value = new ResizeObserver(t), H.value = M.value.parentNode, I.value.observe(H.value);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
tt(() => {
|
|
232
|
-
I.value && (H.value && I.value.unobserve(H.value), I.value.disconnect());
|
|
233
|
-
});
|
|
234
|
-
const ie = y(() => Tt.value.map((t, l) => {
|
|
235
|
-
const a = ct(t.color) || zt.value[l] || de[l] || de[l % de.length];
|
|
236
|
-
return {
|
|
237
|
-
...t,
|
|
238
|
-
absoluteIndex: l,
|
|
239
|
-
id: st(),
|
|
240
|
-
color: a
|
|
241
|
-
};
|
|
242
|
-
})), E = y(
|
|
243
|
-
() => Math.max(...ie.value.map((t) => t.values.length))
|
|
244
|
-
);
|
|
245
|
-
function Ot(t) {
|
|
246
|
-
const l = t.map(() => Array(E.value).fill(null));
|
|
247
|
-
for (let a = 0; a < E.value; a += 1) {
|
|
248
|
-
const o = t.map((n, s) => ({
|
|
249
|
-
seriesIndex: s,
|
|
250
|
-
value: n.values?.[a],
|
|
251
|
-
previousPosition: a > 0 ? l[s][a - 1] : s
|
|
252
|
-
})).filter((n) => Number.isFinite(n.value));
|
|
253
|
-
o.sort((n, s) => s.value !== n.value ? s.value - n.value : n.previousPosition - s.previousPosition);
|
|
254
|
-
for (let n = 0; n < o.length; n += 1) {
|
|
255
|
-
const s = o[n];
|
|
256
|
-
l[s.seriesIndex][a] = n;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
return l;
|
|
260
|
-
}
|
|
261
|
-
function Rt() {
|
|
262
|
-
let t = 0;
|
|
263
|
-
return pe.value && (t = Array.from(pe.value.querySelectorAll("tspan")).reduce((a, o) => {
|
|
264
|
-
const n = o.getComputedTextLength();
|
|
265
|
-
return n > a ? n : a;
|
|
266
|
-
}, 0)), t;
|
|
267
|
-
}
|
|
268
|
-
function _t() {
|
|
269
|
-
let t = 0;
|
|
270
|
-
return me.value && (t = Array.from(me.value.querySelectorAll("tspan")).reduce((a, o) => {
|
|
271
|
-
const n = o.getComputedTextLength();
|
|
272
|
-
return n > a ? n : a;
|
|
273
|
-
}, 0)), t;
|
|
274
|
-
}
|
|
275
|
-
const Be = h(0), Dt = ht((t) => {
|
|
276
|
-
Be.value = t;
|
|
277
|
-
}, 100);
|
|
278
|
-
at((t) => {
|
|
279
|
-
const l = ge.value;
|
|
280
|
-
if (!l) return;
|
|
281
|
-
const a = new ResizeObserver((o) => {
|
|
282
|
-
Dt(o[0].contentRect.height);
|
|
283
|
-
});
|
|
284
|
-
a.observe(l), t(() => a.disconnect());
|
|
285
|
-
}), tt(() => {
|
|
286
|
-
Be.value = 0;
|
|
287
|
-
});
|
|
288
|
-
const Nt = y(() => {
|
|
289
|
-
const t = e.value.style.chart.layout.timeLabels;
|
|
290
|
-
if (!t.show) return 0;
|
|
291
|
-
const l = t.fontSize, a = t.rotation, o = Math.PI / 180 * a, n = q.value || [];
|
|
292
|
-
if (!n.length) return 0;
|
|
293
|
-
const s = n.reduce((te, ae) => {
|
|
294
|
-
const ve = String(ae?.text ?? "").split(`
|
|
295
|
-
`).length;
|
|
296
|
-
return Math.max(te, ve);
|
|
297
|
-
}, 1), u = n.reduce((te, ae) => {
|
|
298
|
-
const Qt = String(ae?.text ?? "").split(`
|
|
299
|
-
`).reduce(
|
|
300
|
-
(ea, ta) => Math.max(ea, ta.length),
|
|
301
|
-
0
|
|
302
|
-
);
|
|
303
|
-
return Math.max(te, Qt);
|
|
304
|
-
}, 0), v = l * 1.3, m = s * v, k = u * l * (u === 1 ? 1 : 0.6), O = Math.abs(Math.sin(o)) * k + Math.abs(Math.cos(o)) * m, ee = l * 0.3;
|
|
305
|
-
return Math.max(
|
|
306
|
-
0,
|
|
307
|
-
O + Math.abs(t.offsetY) + ee
|
|
308
|
-
);
|
|
309
|
-
}), i = y(() => {
|
|
310
|
-
const { height: t, width: l } = A.value, { right: a, left: o } = A.value.paddingRatio;
|
|
311
|
-
let n = Rt(), s = _t();
|
|
312
|
-
const u = e.value.style.chart.padding.top, v = l - l * a - s, m = l * o + n, k = l - l * a - l * o - n - s, O = t - u - e.value.style.chart.padding.bottom - Nt.value, ee = u + O, te = u + O, ae = Math.max(0, t), ve = Math.max(0, l);
|
|
313
|
-
return {
|
|
314
|
-
chartHeight: te,
|
|
315
|
-
chartWidth: ve,
|
|
316
|
-
top: u,
|
|
317
|
-
right: Math.max(0, v),
|
|
318
|
-
bottom: Math.max(0, ee),
|
|
319
|
-
left: Math.max(0, m),
|
|
320
|
-
width: Math.max(0, k),
|
|
321
|
-
height: Math.max(0, O),
|
|
322
|
-
unitH: Math.max(0, O) / ie.value.length,
|
|
323
|
-
unitW: Math.max(0, k) / E.value,
|
|
324
|
-
svgHeight: ae
|
|
325
|
-
};
|
|
326
|
-
}), C = y(() => {
|
|
327
|
-
if (!le.value && !ue.value) return [];
|
|
328
|
-
const t = Ot(ie.value);
|
|
329
|
-
return ie.value.map((l, a) => ({
|
|
330
|
-
...l,
|
|
331
|
-
positions: t[a]
|
|
332
|
-
})).map((l) => {
|
|
333
|
-
const a = l.positions.map((s, u) => {
|
|
334
|
-
const v = ia(
|
|
335
|
-
e.value.style.chart.layout.plots.labels.formatter,
|
|
336
|
-
l.values[u],
|
|
337
|
-
ca({
|
|
338
|
-
p: e.value.style.chart.layout.plots.labels.prefix,
|
|
339
|
-
v: l.values[u],
|
|
340
|
-
s: e.value.style.chart.layout.plots.labels.suffix,
|
|
341
|
-
r: e.value.style.chart.layout.plots.labels.rounding
|
|
342
|
-
})
|
|
343
|
-
);
|
|
344
|
-
return {
|
|
345
|
-
name: l.name,
|
|
346
|
-
id: l.id,
|
|
347
|
-
x: i.value.left + u * i.value.unitW + i.value.unitW / 2,
|
|
348
|
-
y: i.value.top + s * i.value.unitH + i.value.unitH / 2,
|
|
349
|
-
value: l.values[u],
|
|
350
|
-
displayValue: v,
|
|
351
|
-
rank: l.positions[u] + 1,
|
|
352
|
-
color: l.color,
|
|
353
|
-
labelColor: e.value.style.chart.layout.plots.labels.color === "auto" ? vt(l.color) : ct(
|
|
354
|
-
e.value.style.chart.layout.plots.labels.color
|
|
355
|
-
) ?? vt(l.color)
|
|
356
|
-
};
|
|
357
|
-
}), o = a.filter(
|
|
358
|
-
(s) => R(s.value)
|
|
359
|
-
), n = e.value.style.chart.layout.lines.smooth ? va(o) : ha(o);
|
|
360
|
-
return {
|
|
361
|
-
...l,
|
|
362
|
-
coordinates: a,
|
|
363
|
-
path: n
|
|
364
|
-
};
|
|
365
|
-
});
|
|
366
|
-
});
|
|
367
|
-
y(() => C.value.flatMap((t, l) => t.coordinates.map((a, o) => ({
|
|
368
|
-
...a,
|
|
369
|
-
pointIndex: o,
|
|
370
|
-
seriesIndex: l,
|
|
371
|
-
seriesId: t.id,
|
|
372
|
-
seriesName: t.name,
|
|
373
|
-
pointId: `${t.id}_${o}`
|
|
374
|
-
})).filter((a) => R(a.value))));
|
|
375
|
-
function Ue(t, l, a, o) {
|
|
376
|
-
const n = t.toSorted((u, v) => u.y - v.y);
|
|
377
|
-
for (let u = 1; u < n.length; u += 1) {
|
|
378
|
-
const v = n[u - 1], m = n[u];
|
|
379
|
-
m.y < v.y + l && (m.y = v.y + l);
|
|
380
|
-
}
|
|
381
|
-
const s = n.length - 1;
|
|
382
|
-
if (s >= 0 && n[s].y > o) {
|
|
383
|
-
n[s].y = o;
|
|
384
|
-
for (let u = s - 1; u >= 0; u -= 1) {
|
|
385
|
-
const v = n[u + 1], m = n[u];
|
|
386
|
-
m.y > v.y - l && (m.y = v.y - l);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
if (n.length && n[0].y < a) {
|
|
390
|
-
const u = a - n[0].y;
|
|
391
|
-
for (let v = 0; v < n.length; v += 1)
|
|
392
|
-
n[v].y += u;
|
|
393
|
-
}
|
|
394
|
-
return n;
|
|
395
|
-
}
|
|
396
|
-
const Xe = y(() => {
|
|
397
|
-
const t = [], l = [];
|
|
398
|
-
C.value.forEach((m) => {
|
|
399
|
-
const k = m.coordinates.filter(
|
|
400
|
-
(ee) => Number.isFinite(ee.rank)
|
|
401
|
-
);
|
|
402
|
-
if (!k.length) return;
|
|
403
|
-
t.push({ ...k[0] });
|
|
404
|
-
const O = k[k.length - 1];
|
|
405
|
-
l.push({ ...O });
|
|
406
|
-
});
|
|
407
|
-
const a = e.value.style.chart.layout.nameLabels.fontSize, o = a * 1.4, n = i.value.top + a, s = i.value.bottom - a, u = Ue(
|
|
408
|
-
l,
|
|
409
|
-
o,
|
|
410
|
-
n,
|
|
411
|
-
s
|
|
412
|
-
);
|
|
413
|
-
return {
|
|
414
|
-
left: Ue(
|
|
415
|
-
t,
|
|
416
|
-
o,
|
|
417
|
-
n,
|
|
418
|
-
s
|
|
419
|
-
),
|
|
420
|
-
right: u
|
|
421
|
-
};
|
|
422
|
-
});
|
|
423
|
-
function Ht(t) {
|
|
424
|
-
const l = e.value.style.chart.layout.plots.labels.fontSize * 0.4, a = t.displayValue, o = a.length * (e.value.style.chart.layout.plots.labels.fontSize * (a.length === 1 ? 1 : 0.6)), n = e.value.style.chart.layout.plots.labels.fontSize, s = o + l * 2, u = n + l * 2, v = t.x - s / 2, m = t.y - u / 2, k = e.value.style.chart.layout.plots.strokeWidth;
|
|
425
|
-
return {
|
|
426
|
-
x: v - k / 2,
|
|
427
|
-
y: m - k / 2,
|
|
428
|
-
width: s + k,
|
|
429
|
-
height: u + k,
|
|
430
|
-
fill: t.color,
|
|
431
|
-
stroke: e.value.style.chart.layout.plots.stroke,
|
|
432
|
-
"stroke-width": k,
|
|
433
|
-
rx: u / 2
|
|
434
|
-
};
|
|
435
|
-
}
|
|
436
|
-
const D = h([]);
|
|
437
|
-
let Ye = 0;
|
|
438
|
-
at(() => {
|
|
439
|
-
const t = ++Ye, l = e.value.style.chart.layout.timeLabels, a = l.values, o = l.datetimeFormatter, n = E.value;
|
|
440
|
-
if (!n || !Array.isArray(a) || a.length === 0) {
|
|
441
|
-
D.value = [];
|
|
442
|
-
return;
|
|
443
|
-
}
|
|
444
|
-
(async () => {
|
|
445
|
-
const s = await xa({
|
|
446
|
-
values: a,
|
|
447
|
-
maxDatapoints: n,
|
|
448
|
-
formatter: o,
|
|
449
|
-
start: 0,
|
|
450
|
-
end: n
|
|
451
|
-
});
|
|
452
|
-
t === Ye && (D.value = s);
|
|
453
|
-
})();
|
|
454
|
-
});
|
|
455
|
-
const Et = y(() => {
|
|
456
|
-
const t = e.value.style.chart.layout.timeLabels.modulo;
|
|
457
|
-
return D.value.length ? Math.min(
|
|
458
|
-
t,
|
|
459
|
-
[...new Set(D.value.map((l) => l.text))].length
|
|
460
|
-
) : t;
|
|
461
|
-
}), q = y(() => {
|
|
462
|
-
const t = e.value.style.chart.layout.timeLabels, l = D.value || [], a = D.value || [], o = 0, n = null, s = E.value, u = l.map((m) => m?.text ?? ""), v = a.map((m) => m?.text ?? "");
|
|
463
|
-
return da(
|
|
464
|
-
!!t.showOnlyFirstAndLast,
|
|
465
|
-
!!t.showOnlyAtModulo,
|
|
466
|
-
Math.max(1, Et.value || 1),
|
|
467
|
-
u,
|
|
468
|
-
v,
|
|
469
|
-
o,
|
|
470
|
-
n,
|
|
471
|
-
s
|
|
472
|
-
);
|
|
473
|
-
}), Ft = y(() => A.value.width), Vt = y(() => A.value.height), Wt = y(() => ({
|
|
474
|
-
start: 0,
|
|
475
|
-
end: E.value
|
|
476
|
-
})), G = y(() => [...C.value].map((t) => {
|
|
477
|
-
const l = [...t.coordinates].filter((a) => R(a.value)).at(-1);
|
|
478
|
-
return {
|
|
479
|
-
...t,
|
|
480
|
-
navigationRank: l?.rank ?? Number.POSITIVE_INFINITY
|
|
481
|
-
};
|
|
482
|
-
}).sort((t, l) => t.navigationRank - l.navigationRank));
|
|
483
|
-
function Bt() {
|
|
484
|
-
P.value = null, be.value = !0;
|
|
485
|
-
}
|
|
486
|
-
function Ut() {
|
|
487
|
-
qe(), be.value = !1;
|
|
488
|
-
}
|
|
489
|
-
function je(t, l) {
|
|
490
|
-
const a = G.value.length;
|
|
491
|
-
return a ? t === null || t < 0 || t >= a ? 0 : l === "previous" ? (t - 1 + a) % a : (t + 1) % a : null;
|
|
492
|
-
}
|
|
493
|
-
function qe() {
|
|
494
|
-
if (P.value !== null) {
|
|
495
|
-
const t = G.value[P.value];
|
|
496
|
-
t && F(t);
|
|
497
|
-
}
|
|
498
|
-
P.value = null, p.value = null;
|
|
499
|
-
}
|
|
500
|
-
function Xt(t) {
|
|
501
|
-
if (!j.value || Z.value || document.activeElement !== j.value || !G.value.length) return;
|
|
502
|
-
const l = ["ArrowLeft", "ArrowUp"].includes(t.key), a = ["ArrowRight", "ArrowDown"].includes(t.key), o = t.key === "Enter" || t.key === " ", n = t.key === "Escape";
|
|
503
|
-
if (!l && !a && !o && !n)
|
|
504
|
-
return;
|
|
505
|
-
if (t.preventDefault(), t.stopPropagation(), n) {
|
|
506
|
-
qe();
|
|
507
|
-
return;
|
|
508
|
-
}
|
|
509
|
-
if (o) {
|
|
510
|
-
if (P.value === null) return;
|
|
511
|
-
const v = G.value[P.value];
|
|
512
|
-
if (!v) return;
|
|
513
|
-
ce(v);
|
|
514
|
-
return;
|
|
515
|
-
}
|
|
516
|
-
let s = P.value;
|
|
517
|
-
s === null ? s = 0 : l ? s = je(s, "previous") : a && (s = je(s, "next"));
|
|
518
|
-
const u = G.value[s];
|
|
519
|
-
u && (P.value = s, z(u, u));
|
|
520
|
-
}
|
|
521
|
-
const K = y(() => ({
|
|
522
|
-
head: Q.value.head,
|
|
523
|
-
body: C.value.map((t) => [
|
|
524
|
-
t.name,
|
|
525
|
-
...t.coordinates.map((l) => R(l.value) ? `${l.displayValue} (${l.rank})` : "-")
|
|
526
|
-
]),
|
|
527
|
-
caption: e.value.a11y.translations.tableCaption,
|
|
528
|
-
notice: e.value.a11y.translations.tableAvailable
|
|
529
|
-
}));
|
|
530
|
-
Aa({
|
|
531
|
-
timeLabelsEls: ge,
|
|
532
|
-
timeLabels: D,
|
|
533
|
-
slicer: Wt,
|
|
534
|
-
configRef: e,
|
|
535
|
-
rotationPath: ["style", "chart", "layout", "timeLabels", "rotation"],
|
|
536
|
-
autoRotatePath: [
|
|
537
|
-
"style",
|
|
538
|
-
"chart",
|
|
539
|
-
"layout",
|
|
540
|
-
"timeLabels",
|
|
541
|
-
"autoRotate",
|
|
542
|
-
"enable"
|
|
543
|
-
],
|
|
544
|
-
isAutoSize: !1,
|
|
545
|
-
width: Ft,
|
|
546
|
-
height: Vt,
|
|
547
|
-
rotation: e.value.style.chart.layout.timeLabels.autoRotate.angle
|
|
548
|
-
});
|
|
549
|
-
const Z = h(!1);
|
|
550
|
-
function xe() {
|
|
551
|
-
Z.value = !Z.value;
|
|
552
|
-
}
|
|
553
|
-
function Ge(t) {
|
|
554
|
-
oe.value = t, Pe.value += 1;
|
|
555
|
-
}
|
|
556
|
-
function Ke() {
|
|
557
|
-
_.value.showTable = !_.value.showTable;
|
|
558
|
-
}
|
|
559
|
-
he(
|
|
560
|
-
() => _.value.showTable,
|
|
561
|
-
(t) => {
|
|
562
|
-
e.value.table.show || (t && e.value.table.useDialog && X.value ? X.value.open() : "close" in X.value && X.value.close());
|
|
563
|
-
}
|
|
564
|
-
);
|
|
565
|
-
function Ze() {
|
|
566
|
-
_.value.showTable = !1, fe.value && fe.value.setTableIconState(!1);
|
|
567
|
-
}
|
|
568
|
-
function Yt() {
|
|
569
|
-
return C.value;
|
|
570
|
-
}
|
|
571
|
-
function $e(t = null) {
|
|
572
|
-
const l = [
|
|
573
|
-
[e.value.style.chart.title.text],
|
|
574
|
-
[e.value.style.chart.title.subtitle.text],
|
|
575
|
-
[""]
|
|
576
|
-
], a = ["", ...q.value.map((v) => v?.text ?? "")], o = C.value.map((v) => [v.name, ...v.coordinates.map((m) => `${m.displayValue}`)]), n = C.value.map((v) => [v.name, ...v.coordinates.map((m) => `${m.rank}`)]), s = l.concat([[e.value.table.columnNames.values]]).concat([a]).concat(o).concat([[""], [e.value.table.columnNames.ranking], [a]]).concat(n), u = fa(s);
|
|
577
|
-
t ? t(u) : pa({
|
|
578
|
-
csvContent: u,
|
|
579
|
-
title: e.value.style.chart.title.text || "vue-ui-bump"
|
|
580
|
-
});
|
|
581
|
-
}
|
|
582
|
-
const J = y(() => {
|
|
583
|
-
const t = e.value.table.useDialog && !e.value.table.show, l = _.value.showTable;
|
|
584
|
-
return {
|
|
585
|
-
component: t ? Ia : mt,
|
|
586
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
587
|
-
props: t ? {
|
|
588
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
589
|
-
color: e.value.table.th.color,
|
|
590
|
-
headerColor: e.value.table.th.color,
|
|
591
|
-
headerBg: e.value.table.th.backgroundColor,
|
|
592
|
-
isFullscreen: oe.value,
|
|
593
|
-
fullscreenParent: M.value,
|
|
594
|
-
forcedWidth: Math.min(800, window.innerWidth * 0.8),
|
|
595
|
-
isCursorPointer: Y.value
|
|
596
|
-
} : {
|
|
597
|
-
hideDetails: !0,
|
|
598
|
-
config: {
|
|
599
|
-
open: l,
|
|
600
|
-
maxHeight: 1e4,
|
|
601
|
-
body: {
|
|
602
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
603
|
-
color: e.value.style.chart.color
|
|
604
|
-
},
|
|
605
|
-
head: {
|
|
606
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
607
|
-
color: e.value.style.chart.color
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
};
|
|
612
|
-
}), Q = y(() => {
|
|
613
|
-
const t = [""].concat(q.value.map((n) => n.text)), l = C.value.map((n, s) => [
|
|
614
|
-
n.name,
|
|
615
|
-
...n.coordinates.map((u) => `${u.displayValue} (${u.rank})`)
|
|
616
|
-
]), a = {
|
|
617
|
-
th: {
|
|
618
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
619
|
-
color: e.value.table.th.color,
|
|
620
|
-
outline: e.value.table.th.outline
|
|
621
|
-
},
|
|
622
|
-
td: {
|
|
623
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
624
|
-
color: e.value.table.td.color,
|
|
625
|
-
outline: e.value.table.td.outline
|
|
626
|
-
},
|
|
627
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
628
|
-
}, o = [e.value.table.columnNames.series];
|
|
629
|
-
return { head: t, body: l, config: a, colNames: o };
|
|
630
|
-
}), jt = y(() => e.value.style.chart.backgroundColor), qt = y(() => e.value.style.chart.title), { exportSvg: Gt, getSvg: Kt } = wa({
|
|
631
|
-
svg: j,
|
|
632
|
-
title: qt,
|
|
633
|
-
legend: null,
|
|
634
|
-
legendItems: null,
|
|
635
|
-
backgroundColor: jt
|
|
636
|
-
});
|
|
637
|
-
async function Je({ isCb: t }) {
|
|
638
|
-
se.value = !0, await na();
|
|
639
|
-
try {
|
|
640
|
-
if (t) {
|
|
641
|
-
const { blob: l, url: a, text: o, dataUrl: n } = await Kt();
|
|
642
|
-
await Promise.resolve(
|
|
643
|
-
e.value.userOptions.callbacks.svg({
|
|
644
|
-
blob: l,
|
|
645
|
-
url: a,
|
|
646
|
-
text: o,
|
|
647
|
-
dataUrl: n
|
|
648
|
-
})
|
|
649
|
-
);
|
|
650
|
-
} else
|
|
651
|
-
await Promise.resolve(Gt());
|
|
652
|
-
} finally {
|
|
653
|
-
se.value = !1;
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
async function Zt({ scale: t = 2 } = {}) {
|
|
657
|
-
if (!M.value) return;
|
|
658
|
-
const { width: l, height: a } = M.value.getBoundingClientRect(), o = l / a, { imageUri: n, base64: s } = await img({
|
|
659
|
-
domElement: M.value,
|
|
660
|
-
base64: !0,
|
|
661
|
-
img: !0,
|
|
662
|
-
scale: t
|
|
663
|
-
});
|
|
664
|
-
return {
|
|
665
|
-
imageUri: n,
|
|
666
|
-
base64: s,
|
|
667
|
-
title: e.value.style.chart.title.text,
|
|
668
|
-
width: l,
|
|
669
|
-
height: a,
|
|
670
|
-
aspectRatio: o
|
|
671
|
-
};
|
|
672
|
-
}
|
|
673
|
-
function z(t, l) {
|
|
674
|
-
p.value = l.id, e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
675
|
-
datapoint: t,
|
|
676
|
-
seriesIndex: t?.pointIndex ?? null
|
|
677
|
-
});
|
|
678
|
-
}
|
|
679
|
-
function F(t, l) {
|
|
680
|
-
p.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
681
|
-
datapoint: t,
|
|
682
|
-
seriesIndex: t?.pointIndex ?? null
|
|
683
|
-
});
|
|
684
|
-
}
|
|
685
|
-
function ce(t, l) {
|
|
686
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
687
|
-
datapoint: t,
|
|
688
|
-
seriesIndex: t?.pointIndex ?? null
|
|
689
|
-
});
|
|
690
|
-
}
|
|
691
|
-
function Jt(t) {
|
|
692
|
-
if (t?.stage === "start") {
|
|
693
|
-
ne.value = !0;
|
|
694
|
-
return;
|
|
695
|
-
}
|
|
696
|
-
if (t?.stage === "end") {
|
|
697
|
-
ne.value = !1;
|
|
698
|
-
return;
|
|
699
|
-
}
|
|
700
|
-
Ee();
|
|
701
|
-
}
|
|
702
|
-
async function Qe() {
|
|
703
|
-
if ($t("copyAlt", {
|
|
704
|
-
config: e.value,
|
|
705
|
-
dataset: C.value
|
|
706
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
707
|
-
console.warn(
|
|
708
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
709
|
-
);
|
|
710
|
-
return;
|
|
711
|
-
}
|
|
712
|
-
await Promise.resolve(
|
|
713
|
-
e.value.userOptions.callbacks.altCopy({
|
|
714
|
-
config: e.value,
|
|
715
|
-
dataset: C.value
|
|
716
|
-
})
|
|
717
|
-
);
|
|
718
|
-
}
|
|
719
|
-
return yt({
|
|
720
|
-
getData: Yt,
|
|
721
|
-
getImage: Zt,
|
|
722
|
-
generatePdf: He,
|
|
723
|
-
generateCsv: $e,
|
|
724
|
-
generateImage: Ee,
|
|
725
|
-
generateSvg: Je,
|
|
726
|
-
toggleTable: Ke,
|
|
727
|
-
toggleAnnotator: xe,
|
|
728
|
-
toggleFullscreen: Ge,
|
|
729
|
-
copyAlt: Qe
|
|
730
|
-
}), (t, l) => (r(), c("div", {
|
|
731
|
-
id: `bump_${N.value}`,
|
|
732
|
-
ref_key: "bumpChart",
|
|
733
|
-
ref: M,
|
|
734
|
-
class: lt({
|
|
735
|
-
"vue-data-ui-component": !0,
|
|
736
|
-
"vue-ui-bump": !0,
|
|
737
|
-
"vue-data-ui-wrapper-fullscreen": oe.value
|
|
738
|
-
}),
|
|
739
|
-
style: x(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
740
|
-
onMouseenter: Mt,
|
|
741
|
-
onMouseleave: Pt
|
|
742
|
-
}, [
|
|
743
|
-
W("p", {
|
|
744
|
-
id: `chart-instructions-${N.value}`,
|
|
745
|
-
class: "sr-only"
|
|
746
|
-
}, B(e.value.a11y.translations.keyboardNavigation), 9, Ra),
|
|
747
|
-
K.value.body.length ? (r(), U(Pa, {
|
|
748
|
-
key: 0,
|
|
749
|
-
uid: N.value,
|
|
750
|
-
head: K.value.head,
|
|
751
|
-
body: K.value.body,
|
|
752
|
-
caption: K.value.caption,
|
|
753
|
-
notice: K.value.notice
|
|
754
|
-
}, null, 8, ["uid", "head", "body", "caption", "notice"])) : b("", !0),
|
|
755
|
-
e.value.userOptions.buttons.annotator ? (r(), U(d(bt), {
|
|
756
|
-
key: 1,
|
|
757
|
-
svgRef: d(j),
|
|
758
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
759
|
-
color: e.value.style.chart.color,
|
|
760
|
-
active: Z.value,
|
|
761
|
-
isCursorPointer: Y.value,
|
|
762
|
-
onClose: xe
|
|
763
|
-
}, {
|
|
764
|
-
"annotator-action-close": g(() => [
|
|
765
|
-
f(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
766
|
-
]),
|
|
767
|
-
"annotator-action-color": g(({ color: a }) => [
|
|
768
|
-
f(t.$slots, "annotator-action-color", $(S({ color: a })), void 0, !0)
|
|
769
|
-
]),
|
|
770
|
-
"annotator-action-draw": g(({ mode: a }) => [
|
|
771
|
-
f(t.$slots, "annotator-action-draw", $(S({ mode: a })), void 0, !0)
|
|
772
|
-
]),
|
|
773
|
-
"annotator-action-undo": g(({ disabled: a }) => [
|
|
774
|
-
f(t.$slots, "annotator-action-undo", $(S({ disabled: a })), void 0, !0)
|
|
775
|
-
]),
|
|
776
|
-
"annotator-action-redo": g(({ disabled: a }) => [
|
|
777
|
-
f(t.$slots, "annotator-action-redo", $(S({ disabled: a })), void 0, !0)
|
|
778
|
-
]),
|
|
779
|
-
"annotator-action-delete": g(({ disabled: a }) => [
|
|
780
|
-
f(t.$slots, "annotator-action-delete", $(S({ disabled: a })), void 0, !0)
|
|
781
|
-
]),
|
|
782
|
-
_: 3
|
|
783
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : b("", !0),
|
|
784
|
-
f(t.$slots, "userConfig", {}, void 0, !0),
|
|
785
|
-
It.value ? (r(), c("div", {
|
|
786
|
-
key: 2,
|
|
787
|
-
ref_key: "noTitle",
|
|
788
|
-
ref: ze,
|
|
789
|
-
class: "vue-data-ui-no-title-space",
|
|
790
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
791
|
-
}, null, 512)) : b("", !0),
|
|
792
|
-
e.value.style.chart.title.text ? (r(), c("div", {
|
|
793
|
-
key: 3,
|
|
794
|
-
ref_key: "chartTitle",
|
|
795
|
-
ref: Ie,
|
|
796
|
-
style: "width:100%;background:transparent;"
|
|
797
|
-
}, [
|
|
798
|
-
(r(), U(Ma, {
|
|
799
|
-
key: `title_${Re.value}`,
|
|
800
|
-
config: {
|
|
801
|
-
title: {
|
|
802
|
-
cy: "bump-title",
|
|
803
|
-
...e.value.style.chart.title
|
|
804
|
-
},
|
|
805
|
-
subtitle: {
|
|
806
|
-
cy: "bump-subtitle",
|
|
807
|
-
...e.value.style.chart.title.subtitle
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
}, null, 8, ["config"]))
|
|
811
|
-
], 512)) : b("", !0),
|
|
812
|
-
e.value.userOptions.show && le.value && (d(Ne) || d(Ce)) ? (r(), U(d(kt), {
|
|
813
|
-
ref_key: "userOptionsRef",
|
|
814
|
-
ref: fe,
|
|
815
|
-
key: `user_option_${Pe.value}`,
|
|
816
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
817
|
-
color: e.value.style.chart.color,
|
|
818
|
-
isPrinting: d(we),
|
|
819
|
-
isImaging: d(Le),
|
|
820
|
-
uid: N.value,
|
|
821
|
-
hasTooltip: !1,
|
|
822
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
823
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
824
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
825
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
826
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
827
|
-
hasLabel: !1,
|
|
828
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
829
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
830
|
-
isFullcreen: oe.value,
|
|
831
|
-
chartElement: M.value,
|
|
832
|
-
position: e.value.userOptions.position,
|
|
833
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
834
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
835
|
-
isAnnotation: Z.value,
|
|
836
|
-
callbacks: e.value.userOptions.callbacks,
|
|
837
|
-
printScale: e.value.userOptions.print.scale,
|
|
838
|
-
tableDialog: e.value.table.useDialog,
|
|
839
|
-
isCursorPointer: Y.value,
|
|
840
|
-
onToggleFullscreen: Ge,
|
|
841
|
-
onGeneratePdf: d(He),
|
|
842
|
-
onGenerateCsv: $e,
|
|
843
|
-
onGenerateImage: Jt,
|
|
844
|
-
onGenerateSvg: Je,
|
|
845
|
-
onToggleTable: Ke,
|
|
846
|
-
onToggleAnnotator: xe,
|
|
847
|
-
onCopyAlt: Qe,
|
|
848
|
-
style: x({
|
|
849
|
-
visibility: d(Ne) ? d(Ce) ? "visible" : "hidden" : "visible"
|
|
850
|
-
})
|
|
851
|
-
}, ot({ _: 2 }, [
|
|
852
|
-
t.$slots.menuIcon ? {
|
|
853
|
-
name: "menuIcon",
|
|
854
|
-
fn: g(({ isOpen: a, color: o }) => [
|
|
855
|
-
f(t.$slots, "menuIcon", $(S({ isOpen: a, color: o })), void 0, !0)
|
|
856
|
-
]),
|
|
857
|
-
key: "0"
|
|
858
|
-
} : void 0,
|
|
859
|
-
t.$slots.optionPdf ? {
|
|
860
|
-
name: "optionPdf",
|
|
861
|
-
fn: g(() => [
|
|
862
|
-
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
863
|
-
]),
|
|
864
|
-
key: "1"
|
|
865
|
-
} : void 0,
|
|
866
|
-
t.$slots.optionCsv ? {
|
|
867
|
-
name: "optionCsv",
|
|
868
|
-
fn: g(() => [
|
|
869
|
-
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
870
|
-
]),
|
|
871
|
-
key: "2"
|
|
872
|
-
} : void 0,
|
|
873
|
-
t.$slots.optionImg ? {
|
|
874
|
-
name: "optionImg",
|
|
875
|
-
fn: g(() => [
|
|
876
|
-
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
877
|
-
]),
|
|
878
|
-
key: "3"
|
|
879
|
-
} : void 0,
|
|
880
|
-
t.$slots.optionSvg ? {
|
|
881
|
-
name: "optionSvg",
|
|
882
|
-
fn: g(() => [
|
|
883
|
-
f(t.$slots, "optionSvg", {}, void 0, !0)
|
|
884
|
-
]),
|
|
885
|
-
key: "4"
|
|
886
|
-
} : void 0,
|
|
887
|
-
t.$slots.optionTable ? {
|
|
888
|
-
name: "optionTable",
|
|
889
|
-
fn: g(() => [
|
|
890
|
-
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
891
|
-
]),
|
|
892
|
-
key: "5"
|
|
893
|
-
} : void 0,
|
|
894
|
-
t.$slots.optionFullscreen ? {
|
|
895
|
-
name: "optionFullscreen",
|
|
896
|
-
fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
897
|
-
f(t.$slots, "optionFullscreen", $(S({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
898
|
-
]),
|
|
899
|
-
key: "6"
|
|
900
|
-
} : void 0,
|
|
901
|
-
t.$slots.optionAnnotator ? {
|
|
902
|
-
name: "optionAnnotator",
|
|
903
|
-
fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
904
|
-
f(t.$slots, "optionAnnotator", $(S({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
905
|
-
]),
|
|
906
|
-
key: "7"
|
|
907
|
-
} : void 0,
|
|
908
|
-
t.$slots.optionAltCopy ? {
|
|
909
|
-
name: "optionAltCopy",
|
|
910
|
-
fn: g(({ altCopy: a }) => [
|
|
911
|
-
f(t.$slots, "optionAltCopy", $(S({ altCopy: a })), void 0, !0)
|
|
912
|
-
]),
|
|
913
|
-
key: "8"
|
|
914
|
-
} : void 0
|
|
915
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasAltCopy", "hasFullscreen", "isFullcreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : b("", !0),
|
|
916
|
-
W("div", _a, [
|
|
917
|
-
(r(), c("svg", {
|
|
918
|
-
ref_key: "svgRef",
|
|
919
|
-
ref: j,
|
|
920
|
-
xmlns: d(ya),
|
|
921
|
-
"aria-describedby": `chart-instructions-${N.value}`,
|
|
922
|
-
viewBox: `0 0 ${i.value.chartWidth <= 0 ? 10 : i.value.chartWidth} ${i.value.svgHeight <= 0 ? 10 : i.value.svgHeight}`,
|
|
923
|
-
class: lt({
|
|
924
|
-
"vue-data-ui-loading": d(ue),
|
|
925
|
-
"no-transition": !e.value.useCssAnimation,
|
|
926
|
-
"with-transition": e.value.useCssAnimation
|
|
927
|
-
}),
|
|
928
|
-
style: x(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
|
|
929
|
-
role: "img",
|
|
930
|
-
"aria-live": "polite",
|
|
931
|
-
preserveAspectRatio: "xMidYMid",
|
|
932
|
-
tabindex: "0",
|
|
933
|
-
onFocus: Bt,
|
|
934
|
-
onBlur: Ut,
|
|
935
|
-
onKeydown: Xt
|
|
936
|
-
}, [
|
|
937
|
-
Se(d(Ct)),
|
|
938
|
-
t.$slots["chart-background"] ? (r(), c("foreignObject", {
|
|
939
|
-
key: 0,
|
|
940
|
-
x: i.value.left,
|
|
941
|
-
y: i.value.top,
|
|
942
|
-
width: i.value.width <= 0 ? 10 : i.value.width,
|
|
943
|
-
height: i.value.height <= 0 ? 10 : i.value.height,
|
|
944
|
-
style: {
|
|
945
|
-
pointerEvents: "none"
|
|
946
|
-
}
|
|
947
|
-
}, [
|
|
948
|
-
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
949
|
-
], 8, Na)) : b("", !0),
|
|
950
|
-
(r(!0), c(L, null, T(C.value, (a) => (r(), c(L, null, [
|
|
951
|
-
W("path", {
|
|
952
|
-
class: "transition-opacity",
|
|
953
|
-
d: `M${a.path}`,
|
|
954
|
-
stroke: e.value.style.chart.layout.lines.coatingColor,
|
|
955
|
-
"stroke-width": e.value.style.chart.layout.lines.strokeWidth + 2,
|
|
956
|
-
"stroke-linecap": "round",
|
|
957
|
-
"stroke-linejoin": "round",
|
|
958
|
-
fill: "none",
|
|
959
|
-
style: x({
|
|
960
|
-
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
961
|
-
}),
|
|
962
|
-
onMouseenter: (o) => p.value = a.id,
|
|
963
|
-
onMouseleave: l[0] || (l[0] = (o) => p.value = null)
|
|
964
|
-
}, null, 44, Ha),
|
|
965
|
-
W("path", {
|
|
966
|
-
class: "transition-opacity",
|
|
967
|
-
d: `M${a.path}`,
|
|
968
|
-
stroke: a.color,
|
|
969
|
-
"stroke-width": e.value.style.chart.layout.lines.strokeWidth,
|
|
970
|
-
"stroke-linecap": "round",
|
|
971
|
-
"stroke-linejoin": "round",
|
|
972
|
-
fill: "none",
|
|
973
|
-
style: x({
|
|
974
|
-
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
975
|
-
}),
|
|
976
|
-
onMouseenter: (o) => z(a, a),
|
|
977
|
-
onMouseleave: (o) => F(a),
|
|
978
|
-
onClick: (o) => ce(a)
|
|
979
|
-
}, null, 44, Ea)
|
|
980
|
-
], 64))), 256)),
|
|
981
|
-
(r(!0), c(L, null, T(C.value, (a) => (r(), c(L, null, [
|
|
982
|
-
e.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (r(!0), c(L, { key: 0 }, T(a.coordinates, (o, n) => (r(), c("circle", {
|
|
983
|
-
class: "transition-opacity",
|
|
984
|
-
cx: o.x,
|
|
985
|
-
cy: o.y,
|
|
986
|
-
r: e.value.style.chart.layout.plots.radius,
|
|
987
|
-
fill: a.color,
|
|
988
|
-
stroke: e.value.style.chart.layout.plots.stroke,
|
|
989
|
-
"stroke-width": e.value.style.chart.layout.plots.strokeWidth,
|
|
990
|
-
style: x({
|
|
991
|
-
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
992
|
-
}),
|
|
993
|
-
onMouseenter: (s) => z({ ...o, pointIndex: n }, a),
|
|
994
|
-
onMouseleave: (s) => F({ ...o, pointIndex: n }),
|
|
995
|
-
onClick: (s) => z({ ...o, pointIndex: n }, a)
|
|
996
|
-
}, null, 44, Fa))), 256)) : b("", !0),
|
|
997
|
-
e.value.style.chart.layout.plots.labels.show && e.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (r(!0), c(L, { key: 1 }, T(a.coordinates, (o) => (r(), c("text", {
|
|
998
|
-
class: "transition-opacity",
|
|
999
|
-
x: o.x,
|
|
1000
|
-
y: o.y + e.value.style.chart.layout.plots.labels.fontSize / 3,
|
|
1001
|
-
fill: o.labelColor,
|
|
1002
|
-
"font-size": e.value.style.chart.layout.plots.labels.fontSize,
|
|
1003
|
-
"text-anchor": "middle",
|
|
1004
|
-
style: x({
|
|
1005
|
-
userSelect: "none",
|
|
1006
|
-
pointerEvents: "none",
|
|
1007
|
-
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
1008
|
-
})
|
|
1009
|
-
}, B(o.rank), 13, Va))), 256)) : b("", !0),
|
|
1010
|
-
e.value.style.chart.layout.plots.labels.displayedValue === "value" ? (r(!0), c(L, { key: 2 }, T(a.coordinates, (o) => (r(), c(L, null, [
|
|
1011
|
-
d(R)(o.value) ? (r(), c("rect", Ae({
|
|
1012
|
-
key: 0,
|
|
1013
|
-
class: "transition-opacity"
|
|
1014
|
-
}, { ref_for: !0 }, Ht(o), {
|
|
1015
|
-
style: {
|
|
1016
|
-
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
1017
|
-
},
|
|
1018
|
-
onMouseenter: (n) => z(
|
|
1019
|
-
{ ...t.point, pointIndex: t.i },
|
|
1020
|
-
a
|
|
1021
|
-
),
|
|
1022
|
-
onMouseleave: (n) => F(
|
|
1023
|
-
{ ...t.point, pointIndex: t.i }
|
|
1024
|
-
),
|
|
1025
|
-
onClick: (n) => z(
|
|
1026
|
-
{ ...t.point, pointIndex: t.i },
|
|
1027
|
-
a
|
|
1028
|
-
)
|
|
1029
|
-
}), null, 16, Wa)) : b("", !0),
|
|
1030
|
-
d(R)(o.value) && e.value.style.chart.layout.plots.labels.show ? (r(), c("text", {
|
|
1031
|
-
key: 1,
|
|
1032
|
-
class: "transition-opacity",
|
|
1033
|
-
x: o.x,
|
|
1034
|
-
y: o.y + e.value.style.chart.layout.plots.labels.fontSize / 3,
|
|
1035
|
-
fill: o.labelColor,
|
|
1036
|
-
"font-size": e.value.style.chart.layout.plots.labels.fontSize,
|
|
1037
|
-
"text-anchor": "middle",
|
|
1038
|
-
style: x({
|
|
1039
|
-
userSelect: "none",
|
|
1040
|
-
pointerEvents: "none",
|
|
1041
|
-
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
1042
|
-
})
|
|
1043
|
-
}, B(o.displayValue), 13, Ba)) : b("", !0)
|
|
1044
|
-
], 64))), 256)) : b("", !0)
|
|
1045
|
-
], 64))), 256)),
|
|
1046
|
-
e.value.style.chart.layout.nameLabels.leftLabels.show ? (r(), c("g", {
|
|
1047
|
-
key: 1,
|
|
1048
|
-
ref_key: "labelsLeft",
|
|
1049
|
-
ref: pe
|
|
1050
|
-
}, [
|
|
1051
|
-
(r(!0), c(L, null, T(Xe.value.left.filter(
|
|
1052
|
-
(a) => d(R)(a.value)
|
|
1053
|
-
), (a, o) => (r(), c("text", {
|
|
1054
|
-
class: "transition-opacity",
|
|
1055
|
-
x: i.value.left,
|
|
1056
|
-
y: a.y + e.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1057
|
-
fill: e.value.style.chart.layout.nameLabels.useSerieColor ? a.color : e.value.style.chart.layout.nameLabels.color,
|
|
1058
|
-
"font-size": e.value.style.chart.layout.nameLabels.fontSize,
|
|
1059
|
-
"font--weight": e.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1060
|
-
"text-anchor": "end",
|
|
1061
|
-
innerHTML: d(Te)({
|
|
1062
|
-
content: a.name,
|
|
1063
|
-
fontSize: e.value.style.chart.layout.nameLabels.fontSize,
|
|
1064
|
-
fill: e.value.style.chart.layout.nameLabels.useSerieColor ? a.color : e.value.style.chart.layout.nameLabels.color,
|
|
1065
|
-
x: i.value.left - e.value.style.chart.layout.nameLabels.offsetX,
|
|
1066
|
-
y: a.y + e.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1067
|
-
translateY: !0
|
|
1068
|
-
}),
|
|
1069
|
-
style: x({
|
|
1070
|
-
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
1071
|
-
}),
|
|
1072
|
-
onMouseenter: (n) => z(a, a),
|
|
1073
|
-
onMouseleave: (n) => F(a),
|
|
1074
|
-
onClick: (n) => ce(a)
|
|
1075
|
-
}, null, 44, Ua))), 256))
|
|
1076
|
-
], 512)) : b("", !0),
|
|
1077
|
-
e.value.style.chart.layout.nameLabels.rightLabels.show ? (r(), c("g", {
|
|
1078
|
-
key: 2,
|
|
1079
|
-
ref_key: "labelsRight",
|
|
1080
|
-
ref: me
|
|
1081
|
-
}, [
|
|
1082
|
-
(r(!0), c(L, null, T(Xe.value.right.filter(
|
|
1083
|
-
(a) => d(R)(a.value)
|
|
1084
|
-
), (a, o) => (r(), c("text", {
|
|
1085
|
-
class: "transition-opacity",
|
|
1086
|
-
x: i.value.right,
|
|
1087
|
-
y: a.y + e.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1088
|
-
fill: e.value.style.chart.layout.nameLabels.useSerieColor ? a.color : e.value.style.chart.layout.nameLabels.color,
|
|
1089
|
-
"font-size": e.value.style.chart.layout.nameLabels.fontSize,
|
|
1090
|
-
"font--weight": e.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
1091
|
-
"text-anchor": "start",
|
|
1092
|
-
innerHTML: d(Te)({
|
|
1093
|
-
content: a.name,
|
|
1094
|
-
fontSize: e.value.style.chart.layout.nameLabels.fontSize,
|
|
1095
|
-
fill: e.value.style.chart.layout.nameLabels.useSerieColor ? a.color : e.value.style.chart.layout.nameLabels.color,
|
|
1096
|
-
x: i.value.right + e.value.style.chart.layout.nameLabels.offsetX,
|
|
1097
|
-
y: a.y + e.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
1098
|
-
translateY: !0
|
|
1099
|
-
}),
|
|
1100
|
-
style: x({
|
|
1101
|
-
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
1102
|
-
}),
|
|
1103
|
-
onMouseenter: (n) => z(a, a),
|
|
1104
|
-
onMouseleave: (n) => F(a),
|
|
1105
|
-
onClick: (n) => ce(a)
|
|
1106
|
-
}, null, 44, Xa))), 256))
|
|
1107
|
-
], 512)) : b("", !0),
|
|
1108
|
-
e.value.style.chart.layout.timeLabels.show ? (r(), c("g", {
|
|
1109
|
-
key: 3,
|
|
1110
|
-
ref_key: "timeLabelsEls",
|
|
1111
|
-
ref: ge
|
|
1112
|
-
}, [
|
|
1113
|
-
t.$slots["time-label"] ? (r(), c("g", Ya, [
|
|
1114
|
-
(r(!0), c(L, null, T(q.value, (a, o) => (r(), c("g", null, [
|
|
1115
|
-
f(t.$slots, "time-label", Ae({ ref_for: !0 }, {
|
|
1116
|
-
x: i.value.unitW * o + i.value.unitW / 2 + i.value.left,
|
|
1117
|
-
y: i.value.chartHeight + e.value.style.chart.layout.timeLabels.offsetY,
|
|
1118
|
-
fontSize: e.value.style.chart.layout.timeLabels.fontSize,
|
|
1119
|
-
fill: e.value.style.chart.layout.timeLabels.color,
|
|
1120
|
-
transform: `translate(${i.value.unitW * o + i.value.unitW / 2 + i.value.left}, ${i.value.chartHeight + e.value.style.chart.layout.timeLabels.offsetY}), rotate(${e.value.style.chart.layout.timeLabels.rotation})`,
|
|
1121
|
-
absoluteIndex: a.absoluteIndex,
|
|
1122
|
-
content: a.text,
|
|
1123
|
-
textAnchor: e.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : e.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1124
|
-
show: !0
|
|
1125
|
-
}), void 0, !0)
|
|
1126
|
-
]))), 256))
|
|
1127
|
-
])) : (r(), c("g", ja, [
|
|
1128
|
-
(r(!0), c(L, null, T(q.value, (a, o) => (r(), c("g", null, [
|
|
1129
|
-
String(a.text).includes(`
|
|
1130
|
-
`) ? (r(), c("text", {
|
|
1131
|
-
key: o + "-multi",
|
|
1132
|
-
"text-anchor": e.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : e.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1133
|
-
"font-size": e.value.style.chart.layout.timeLabels.fontSize,
|
|
1134
|
-
fill: e.value.style.chart.layout.timeLabels.color,
|
|
1135
|
-
transform: `
|
|
1136
|
-
translate(
|
|
1137
|
-
${i.value.unitW * o + i.value.unitW / 2 + i.value.left},
|
|
1138
|
-
${i.value.chartHeight + e.value.style.chart.layout.timeLabels.fontSize * 1.3 + e.value.style.chart.layout.timeLabels.offsetY}
|
|
1139
|
-
),
|
|
1140
|
-
rotate(${e.value.style.chart.layout.timeLabels.rotation})
|
|
1141
|
-
`,
|
|
1142
|
-
innerHTML: d(Te)({
|
|
1143
|
-
content: String(a.text),
|
|
1144
|
-
fontSize: e.value.style.chart.layout.timeLabels.fontSize,
|
|
1145
|
-
fill: e.value.style.chart.layout.timeLabels.color,
|
|
1146
|
-
x: 0,
|
|
1147
|
-
y: 0
|
|
1148
|
-
})
|
|
1149
|
-
}, null, 8, Ga)) : (r(), c("text", {
|
|
1150
|
-
class: "vue-data-ui-time-label",
|
|
1151
|
-
key: o,
|
|
1152
|
-
"text-anchor": e.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : e.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1153
|
-
"font-size": e.value.style.chart.layout.timeLabels.fontSize,
|
|
1154
|
-
"font-weight": e.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
|
|
1155
|
-
fill: e.value.style.chart.layout.timeLabels.color,
|
|
1156
|
-
transform: `translate(${i.value.unitW * o + i.value.unitW / 2 + i.value.left}, ${i.value.chartHeight + e.value.style.chart.layout.timeLabels.offsetY}), rotate(${e.value.style.chart.layout.timeLabels.rotation})`
|
|
1157
|
-
}, B(a.text), 9, qa))
|
|
1158
|
-
]))), 256))
|
|
1159
|
-
]))
|
|
1160
|
-
], 512)) : b("", !0),
|
|
1161
|
-
f(t.$slots, "svg", {
|
|
1162
|
-
svg: {
|
|
1163
|
-
drawingArea: i.value,
|
|
1164
|
-
data: C.value,
|
|
1165
|
-
isPrintingImg: d(we) | d(Le) | ne.value,
|
|
1166
|
-
isPrintingSvg: se.value
|
|
1167
|
-
}
|
|
1168
|
-
}, void 0, !0)
|
|
1169
|
-
], 46, Da)),
|
|
1170
|
-
t.$slots.hint ? (r(), c("div", Ka, [
|
|
1171
|
-
f(t.$slots, "hint", $(S({
|
|
1172
|
-
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1173
|
-
isVisible: be.value
|
|
1174
|
-
})), void 0, !0)
|
|
1175
|
-
])) : b("", !0)
|
|
1176
|
-
]),
|
|
1177
|
-
t.$slots.watermark ? (r(), c("div", Za, [
|
|
1178
|
-
f(t.$slots, "watermark", $(S({
|
|
1179
|
-
isPrinting: d(we) || d(Le) || ne.value || se.value
|
|
1180
|
-
})), void 0, !0)
|
|
1181
|
-
])) : b("", !0),
|
|
1182
|
-
le.value && e.value.userOptions.buttons.table ? (r(), U(oa(J.value.component), Ae({ key: 6 }, J.value.props, {
|
|
1183
|
-
ref_key: "tableUnit",
|
|
1184
|
-
ref: X,
|
|
1185
|
-
onClose: Ze
|
|
1186
|
-
}), ot({
|
|
1187
|
-
content: g(() => [
|
|
1188
|
-
Se(d(gt), {
|
|
1189
|
-
colNames: Q.value.colNames,
|
|
1190
|
-
head: Q.value.head,
|
|
1191
|
-
body: Q.value.body,
|
|
1192
|
-
config: Q.value.config,
|
|
1193
|
-
title: e.value.table.useDialog ? "" : J.value.title,
|
|
1194
|
-
withCloseButton: !e.value.table.useDialog,
|
|
1195
|
-
isCursorPointer: Y.value,
|
|
1196
|
-
onClose: Ze
|
|
1197
|
-
}, {
|
|
1198
|
-
th: g(({ th: a }) => [
|
|
1199
|
-
W("div", { innerHTML: a }, null, 8, Ja)
|
|
1200
|
-
]),
|
|
1201
|
-
td: g(({ td: a }) => [
|
|
1202
|
-
nt(B(a), 1)
|
|
1203
|
-
]),
|
|
1204
|
-
_: 1
|
|
1205
|
-
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"])
|
|
1206
|
-
]),
|
|
1207
|
-
_: 2
|
|
1208
|
-
}, [
|
|
1209
|
-
e.value.table.useDialog ? {
|
|
1210
|
-
name: "title",
|
|
1211
|
-
fn: g(() => [
|
|
1212
|
-
nt(B(J.value.title), 1)
|
|
1213
|
-
]),
|
|
1214
|
-
key: "0"
|
|
1215
|
-
} : void 0,
|
|
1216
|
-
e.value.table.useDialog ? {
|
|
1217
|
-
name: "actions",
|
|
1218
|
-
fn: g(() => [
|
|
1219
|
-
W("button", {
|
|
1220
|
-
tabindex: "0",
|
|
1221
|
-
class: "vue-ui-user-options-button",
|
|
1222
|
-
onClick: l[1] || (l[1] = (a) => $e(e.value.userOptions.callbacks.csv)),
|
|
1223
|
-
style: x({ cursor: Y.value ? "pointer" : "default" })
|
|
1224
|
-
}, [
|
|
1225
|
-
Se(d(pt), {
|
|
1226
|
-
name: "fileCsv",
|
|
1227
|
-
stroke: J.value.props.color
|
|
1228
|
-
}, null, 8, ["stroke"])
|
|
1229
|
-
], 4)
|
|
1230
|
-
]),
|
|
1231
|
-
key: "1"
|
|
1232
|
-
} : void 0
|
|
1233
|
-
]), 1040)) : b("", !0),
|
|
1234
|
-
t.$slots.source ? (r(), c("div", {
|
|
1235
|
-
key: 7,
|
|
1236
|
-
ref_key: "source",
|
|
1237
|
-
ref: Oe,
|
|
1238
|
-
dir: "auto"
|
|
1239
|
-
}, [
|
|
1240
|
-
f(t.$slots, "source", {}, void 0, !0)
|
|
1241
|
-
], 512)) : b("", !0),
|
|
1242
|
-
f(t.$slots, "skeleton", {}, () => [
|
|
1243
|
-
d(ue) ? (r(), U(ka, { key: 0 })) : b("", !0)
|
|
1244
|
-
], !0)
|
|
1245
|
-
], 46, Oa));
|
|
1246
|
-
}
|
|
1247
|
-
}, gl = /* @__PURE__ */ za(Qa, [["__scopeId", "data-v-805819e2"]]);
|
|
1248
|
-
export {
|
|
1249
|
-
gl as default
|
|
1250
|
-
};
|