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