vue-data-ui 3.17.13 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-BU2Z7mfz.js +116 -0
- package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
- package/dist/BaseIcon-CL6Y7alf.js +499 -0
- package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
- package/dist/ColorPicker-BGbMrtup.js +255 -0
- package/dist/DataTable-ZG4GX2Zg.js +150 -0
- package/dist/Legend-BPb8i4aC.js +114 -0
- package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
- package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
- package/dist/PenAndPaper-DxBCVZAx.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-Dbug7CtK.js +141 -0
- package/dist/Slicer-SEdaKYPX.js +1144 -0
- package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
- package/dist/SparkTooltip-BaONR2nq.js +93 -0
- package/dist/Title-ByyzJzpc.js +87 -0
- package/dist/Tooltip-V6Z0Ko-1.js +307 -0
- package/dist/UserOptions-Gaw1761w.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-C9UOX1d2.js +237 -0
- package/dist/exposedLib-BQjH823l.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-NMY-_LiJ.js +74 -0
- package/dist/labelUtils-BiSegLOT.js +19 -0
- package/dist/lib-B83ZCydz.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-Ey2KFETK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4766 -630
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-KnOLHtlJ.js +7419 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-CcxL1gUU.js +10 -0
- package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-CMLF900n.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-D1REqS_k.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
- package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
- package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
- package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
- package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
- package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
- package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
- package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
- package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
- package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
- package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
- package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
- package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
- package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
- package/dist/vue-ui-digits-CcB3odN7.js +209 -0
- package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
- package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
- package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
- package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
- package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
- package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
- package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
- package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
- package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
- package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
- package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
- package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
- package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
- package/dist/vue-ui-molecule-D72kzel_.js +912 -0
- package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
- package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
- package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
- package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
- package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
- package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
- package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
- package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
- package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
- package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
- package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
- package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
- package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
- package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
- package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
- package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
- package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
- package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
- package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
- package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
- package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
- package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
- package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
- package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
- package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
- package/dist/vue-ui-timer-DCbxsREb.js +439 -0
- package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
- package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
- package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
- package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
- package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
- package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
- package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
- package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -0,0 +1,767 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { G as t, H as n, J as r, Rt as i, S as a, St as ee, X as te, i as o, ot as ne, r as re, t as ie, y as ae, yt as oe } from "./lib-B83ZCydz.js";
|
|
3
|
+
import { t as se } from "./useConfig-KnOLHtlJ.js";
|
|
4
|
+
import { t as ce } from "./usePrinter-CMLF900n.js";
|
|
5
|
+
import { t as le } from "./useSvgExport-Dtu973wa.js";
|
|
6
|
+
import { t as ue } from "./useNestedProp-CcxL1gUU.js";
|
|
7
|
+
import { t as de } from "./useThemeCheck-rFK9Zlb_.js";
|
|
8
|
+
import { t as fe } from "./img-NMY-_LiJ.js";
|
|
9
|
+
import { n as pe } from "./Title-ByyzJzpc.js";
|
|
10
|
+
import { t as me } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
11
|
+
import { c as he } from "./canvas-lib-DTaADQOK.js";
|
|
12
|
+
import { t as ge } from "./useResponsive-CrAInupd.js";
|
|
13
|
+
import { t as _e } from "./useUserOptionState-CjPJPTg2.js";
|
|
14
|
+
import { t as ve } from "./useChartAccessibility-Do37qcw2.js";
|
|
15
|
+
import { t as ye } from "./vue_ui_funnel-h8q2mRpC.js";
|
|
16
|
+
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as be, createTextVNode as xe, createVNode as Se, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as h, nextTick as Ce, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as we, onMounted as Te, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ee, shallowRef as De, toDisplayString as C, unref as w, useCssVars as Oe, watch as ke, withCtx as T } from "vue";
|
|
17
|
+
//#region src/components/vue-ui-funnel.vue
|
|
18
|
+
var Ae = /* @__PURE__ */ e({ default: () => qe }), je = ["id"], Me = ["xmlns", "viewBox"], Ne = ["width", "height"], Pe = ["id"], Fe = ["stop-color"], Ie = ["stop-color"], Le = ["stop-color"], Re = ["stroke", "stroke-width"], ze = ["stroke", "stroke-width"], Be = [
|
|
19
|
+
"x",
|
|
20
|
+
"y",
|
|
21
|
+
"font-size",
|
|
22
|
+
"fill",
|
|
23
|
+
"font-weight"
|
|
24
|
+
], Ve = ["points", "fill"], He = [
|
|
25
|
+
"stroke",
|
|
26
|
+
"stroke-width",
|
|
27
|
+
"rx"
|
|
28
|
+
], Ue = [
|
|
29
|
+
"x",
|
|
30
|
+
"y",
|
|
31
|
+
"font-size",
|
|
32
|
+
"fill",
|
|
33
|
+
"font-weight"
|
|
34
|
+
], We = [
|
|
35
|
+
"x",
|
|
36
|
+
"y",
|
|
37
|
+
"font-size",
|
|
38
|
+
"fill",
|
|
39
|
+
"font-weight"
|
|
40
|
+
], Ge = {
|
|
41
|
+
key: 5,
|
|
42
|
+
class: "vue-data-ui-watermark"
|
|
43
|
+
}, Ke = ["innerHTML"], qe = /* @__PURE__ */ me({
|
|
44
|
+
__name: "vue-ui-funnel",
|
|
45
|
+
props: {
|
|
46
|
+
config: {
|
|
47
|
+
type: Object,
|
|
48
|
+
default() {
|
|
49
|
+
return {};
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
dataset: {
|
|
53
|
+
type: Array,
|
|
54
|
+
default() {
|
|
55
|
+
return [];
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
emits: ["copyAlt"],
|
|
60
|
+
setup(e, { expose: me, emit: Ae }) {
|
|
61
|
+
Oe((e) => ({ v56d5c824: Et.value }));
|
|
62
|
+
let qe = p(() => import("./BaseIcon-CL6Y7alf.js").then((e) => e.n)), Je = p(() => import("./vue-ui-skeleton-BAq6J_6G.js").then((e) => e.n)), Ye = p(() => import("./vue-ui-accordion-Cf-jZELj.js").then((e) => e.n)), Xe = p(() => import("./DataTable-ZG4GX2Zg.js")), Ze = p(() => import("./UserOptions-Gaw1761w.js").then((e) => e.n)), Qe = p(() => import("./PenAndPaper-DxBCVZAx.js").then((e) => e.t)), $e = p(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), et = p(() => import("./BaseDraggableDialog-LE75fWYz.js").then((e) => e.n)), { vue_ui_funnel: tt } = se(), { isThemeValid: nt, warnInvalidTheme: rt } = de(), E = e, it = Ae, D = b(null), O = b(n()), at = b(0), ot = b(0), st = b(0), ct = b(null), lt = b(null), ut = b(null), k = De(null), A = De(null), j = b(!1), M = b(null), dt = b(null), N = b(!1), P = b(!1), F = c(() => !!E.dataset && E.dataset.length);
|
|
63
|
+
Te(ft);
|
|
64
|
+
function ft() {
|
|
65
|
+
if (ee(E.dataset) ? te({
|
|
66
|
+
componentName: "VueUiFunnel",
|
|
67
|
+
type: "dataset"
|
|
68
|
+
}) : E.dataset.forEach((e, t) => {
|
|
69
|
+
ne({
|
|
70
|
+
datasetObject: e,
|
|
71
|
+
requiredAttributes: ["name", "value"]
|
|
72
|
+
}).forEach((e) => {
|
|
73
|
+
F.value = !1, te({
|
|
74
|
+
componentName: "VueUiFunnel",
|
|
75
|
+
type: "datasetSerieAttribute",
|
|
76
|
+
property: e,
|
|
77
|
+
index: t
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
}), I.value.responsive) {
|
|
81
|
+
let e = he(() => {
|
|
82
|
+
let { width: e, height: t } = ge({
|
|
83
|
+
chart: D.value,
|
|
84
|
+
title: I.value.style.chart.title.text ? ut.value : null,
|
|
85
|
+
source: lt.value,
|
|
86
|
+
noTitle: ct.value
|
|
87
|
+
});
|
|
88
|
+
requestAnimationFrame(() => {
|
|
89
|
+
H.value.height = t, H.value.width = e, W.value = xt(), I.value.responsiveProportionalSizing ? (V.value.circles = i({
|
|
90
|
+
relator: Math.min(e, t),
|
|
91
|
+
adjuster: 600,
|
|
92
|
+
source: I.value.style.chart.circles.dataLabels.fontSize,
|
|
93
|
+
threshold: 10,
|
|
94
|
+
fallback: 10
|
|
95
|
+
}), V.value.names = i({
|
|
96
|
+
relator: Math.min(e, t),
|
|
97
|
+
adjuster: 600,
|
|
98
|
+
source: I.value.style.chart.bars.dataLabels.name.fontSize,
|
|
99
|
+
threshold: 10,
|
|
100
|
+
fallback: 10
|
|
101
|
+
}), V.value.values = i({
|
|
102
|
+
relator: Math.min(e, t),
|
|
103
|
+
adjuster: 600,
|
|
104
|
+
source: I.value.style.chart.bars.dataLabels.value.fontSize,
|
|
105
|
+
threshold: 10,
|
|
106
|
+
fallback: 10
|
|
107
|
+
})) : (V.value.circles = I.value.style.chart.circles.dataLabels.fontSize, V.value.names = I.value.style.chart.bars.dataLabels.name.fontSize, V.value.values = I.value.style.chart.bars.dataLabels.value.fontSize);
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = D.value.parentNode, k.value.observe(A.value);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
we(() => {
|
|
114
|
+
k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect());
|
|
115
|
+
});
|
|
116
|
+
function pt() {
|
|
117
|
+
let e = ue({
|
|
118
|
+
userConfig: E.config,
|
|
119
|
+
defaultConfig: tt
|
|
120
|
+
}), t = e.theme;
|
|
121
|
+
if (!t) return e;
|
|
122
|
+
if (!nt.value(e)) return rt(e), e;
|
|
123
|
+
let n = ue({
|
|
124
|
+
userConfig: ye[t] || E.config,
|
|
125
|
+
defaultConfig: e
|
|
126
|
+
});
|
|
127
|
+
return ue({
|
|
128
|
+
userConfig: E.config,
|
|
129
|
+
defaultConfig: n
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
let I = c({
|
|
133
|
+
get: () => pt(),
|
|
134
|
+
set: (e) => e
|
|
135
|
+
}), mt = c(() => I.value.userOptions.useCursorPointer), { userOptionsVisible: L, setUserOptionsVisibility: ht, keepUserOptionState: gt } = _e({ config: I.value }), { svgRef: R } = ve({ config: I.value.style.chart.title });
|
|
136
|
+
ke(() => E.config, (e) => {
|
|
137
|
+
I.value = pt(), L.value = !I.value.userOptions.showOnChartHover, ft(), ot.value += 1, st.value += 1, V.value.circles = I.value.style.chart.circles.dataLabels.fontSize, V.value.names = I.value.style.chart.bars.dataLabels.name.fontSize, V.value.values = I.value.style.chart.bars.dataLabels.value.fontSize, B.value.showTable = I.value.table.show;
|
|
138
|
+
}, { deep: !0 });
|
|
139
|
+
let { isPrinting: _t, isImaging: z, generatePdf: vt, generateImage: yt } = ce({
|
|
140
|
+
elementId: `funnel_${O.value}`,
|
|
141
|
+
fileName: I.value.style.chart.title.text || "vue-ui-funnel",
|
|
142
|
+
options: I.value.userOptions.print
|
|
143
|
+
}), bt = c(() => I.value.userOptions.show && !I.value.style.chart.title.text), B = b({ showTable: I.value.table.show }), V = b({
|
|
144
|
+
circles: I.value.style.chart.circles.dataLabels.fontSize,
|
|
145
|
+
names: I.value.style.chart.bars.dataLabels.name.fontSize,
|
|
146
|
+
values: I.value.style.chart.bars.dataLabels.value.fontSize
|
|
147
|
+
}), H = c({
|
|
148
|
+
get: () => ({
|
|
149
|
+
height: I.value.style.chart.height,
|
|
150
|
+
width: I.value.style.chart.width
|
|
151
|
+
}),
|
|
152
|
+
set: (e) => e
|
|
153
|
+
}), U = c(() => F.value ? E.dataset.map((e, t) => ({
|
|
154
|
+
...e,
|
|
155
|
+
color: e.color ? ae(e.color) : oe(I.value.style.chart.bars.defaultColor, t / E.dataset.length)
|
|
156
|
+
})) : []);
|
|
157
|
+
setTimeout(() => {
|
|
158
|
+
j.value = !0;
|
|
159
|
+
}, U.value.length * 150);
|
|
160
|
+
function xt() {
|
|
161
|
+
let e = I.value.style.chart.padding.left, t = I.value.style.chart.padding.top;
|
|
162
|
+
return {
|
|
163
|
+
left: e,
|
|
164
|
+
top: t,
|
|
165
|
+
right: H.value.width - I.value.style.chart.padding.right,
|
|
166
|
+
bottom: H.value.height - I.value.style.chart.padding.bottom,
|
|
167
|
+
width: H.value.width - e - I.value.style.chart.padding.right,
|
|
168
|
+
height: H.value.height - t - I.value.style.chart.padding.bottom
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
let W = b(xt()), G = c(() => W.value.height / E.dataset.length), K = c(() => G.value * I.value.style.chart.bars.gapRatio), St = c(() => W.value.width * I.value.style.chart.barCircleSpacingRatio), q = c(() => U.value.map((e, t) => {
|
|
172
|
+
let n = G.value - K.value, r = W.value.top + K.value / 2 * t + (G.value - K.value / 2) * t + K.value / 2, i = e.value / U.value[0].value, a = (W.value.width - n - St.value) * (e.value / U.value[0].value);
|
|
173
|
+
return {
|
|
174
|
+
...e,
|
|
175
|
+
cx: W.value.left + n / 2,
|
|
176
|
+
cy: r + n / 2,
|
|
177
|
+
datapointIndex: t,
|
|
178
|
+
fill: e.color,
|
|
179
|
+
height: Math.max(n, 0),
|
|
180
|
+
proportion: i,
|
|
181
|
+
r: Math.max(n / 2, 0),
|
|
182
|
+
width: Math.max(a, 0),
|
|
183
|
+
x: W.value.left + n + St.value,
|
|
184
|
+
y: r
|
|
185
|
+
};
|
|
186
|
+
})), Ct = c(() => {
|
|
187
|
+
let e = q.value.map((e) => `${e.x + e.width},${e.y + (G.value - K.value) / 2}`);
|
|
188
|
+
return `${q.value[0].x},${q.value[0].y + (G.value - K.value) / 2} ${e.toString()} ${q.value.at(-1).x},${q.value.at(-1).y + (G.value - K.value) / 2}`;
|
|
189
|
+
}), wt = c(() => ({
|
|
190
|
+
x1: q.value[0].cx,
|
|
191
|
+
y1: q.value[0].cy,
|
|
192
|
+
x2: q.value.at(-1).cx,
|
|
193
|
+
y2: q.value.at(-1).cy
|
|
194
|
+
})), J = b(!1);
|
|
195
|
+
function Tt(e) {
|
|
196
|
+
J.value = e, at.value += 1;
|
|
197
|
+
}
|
|
198
|
+
let Et = c(() => `${U.value.length * 150}ms`), Y = b(!1);
|
|
199
|
+
function Dt() {
|
|
200
|
+
Y.value = !Y.value;
|
|
201
|
+
}
|
|
202
|
+
function Ot() {
|
|
203
|
+
B.value.showTable = !B.value.showTable;
|
|
204
|
+
}
|
|
205
|
+
let X = c(() => ({
|
|
206
|
+
head: U.value.map((e) => ({
|
|
207
|
+
name: e.name,
|
|
208
|
+
color: e.color
|
|
209
|
+
})),
|
|
210
|
+
body: U.value.map((e) => e.value)
|
|
211
|
+
})), Z = c(() => {
|
|
212
|
+
let e = [
|
|
213
|
+
I.value.table.columnNames.series,
|
|
214
|
+
I.value.table.columnNames.value,
|
|
215
|
+
I.value.table.columnNames.percentage
|
|
216
|
+
], n = X.value.head.map((e, n) => {
|
|
217
|
+
let r = o(I.value.style.chart.bars.dataLabels.value.formatter, X.value.body[n], t({
|
|
218
|
+
p: I.value.style.chart.bars.dataLabels.value.prefix,
|
|
219
|
+
v: X.value.body[n],
|
|
220
|
+
s: I.value.style.chart.bars.dataLabels.value.suffix,
|
|
221
|
+
r: I.value.table.td.roundingValue
|
|
222
|
+
}), { datapoint: q.value[n] }), i = o(I.value.style.chart.circles.dataLabels.formatter, q.value[n].proportion * 100, t({
|
|
223
|
+
v: q.value[n].proportion * 100,
|
|
224
|
+
s: "%",
|
|
225
|
+
r: I.value.table.td.roundingPercentage
|
|
226
|
+
}), { datapoint: q.value[n] });
|
|
227
|
+
return [
|
|
228
|
+
{
|
|
229
|
+
color: e.color,
|
|
230
|
+
name: e.name
|
|
231
|
+
},
|
|
232
|
+
r,
|
|
233
|
+
i
|
|
234
|
+
];
|
|
235
|
+
}), r = {
|
|
236
|
+
th: {
|
|
237
|
+
backgroundColor: I.value.table.th.backgroundColor,
|
|
238
|
+
color: I.value.table.th.color,
|
|
239
|
+
outline: I.value.table.th.outline
|
|
240
|
+
},
|
|
241
|
+
td: {
|
|
242
|
+
backgroundColor: I.value.table.td.backgroundColor,
|
|
243
|
+
color: I.value.table.td.color,
|
|
244
|
+
outline: I.value.table.td.outline
|
|
245
|
+
},
|
|
246
|
+
breakpoint: I.value.table.responsiveBreakpoint
|
|
247
|
+
};
|
|
248
|
+
return {
|
|
249
|
+
colNames: [
|
|
250
|
+
I.value.table.columnNames.series,
|
|
251
|
+
I.value.table.columnNames.value,
|
|
252
|
+
I.value.table.columnNames.percentage
|
|
253
|
+
],
|
|
254
|
+
head: e,
|
|
255
|
+
body: n,
|
|
256
|
+
config: r
|
|
257
|
+
};
|
|
258
|
+
});
|
|
259
|
+
function Q(e = null) {
|
|
260
|
+
Ce(() => {
|
|
261
|
+
let t = X.value.head.map((e, t) => [
|
|
262
|
+
[e.name],
|
|
263
|
+
[X.value.body[t]],
|
|
264
|
+
[q.value[t].proportion * 100]
|
|
265
|
+
]), n = a([
|
|
266
|
+
[I.value.style.chart.title.text],
|
|
267
|
+
[I.value.style.chart.title.subtitle.text],
|
|
268
|
+
[
|
|
269
|
+
[I.value.table.columnNames.series],
|
|
270
|
+
[I.value.table.columnNames.value],
|
|
271
|
+
["%"]
|
|
272
|
+
]
|
|
273
|
+
].concat(t));
|
|
274
|
+
e ? e(n) : r({
|
|
275
|
+
csvContent: n,
|
|
276
|
+
title: I.value.style.chart.title.text || "vue-ui-funnel"
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
function kt() {
|
|
281
|
+
return U.value;
|
|
282
|
+
}
|
|
283
|
+
async function At({ scale: e = 2 } = {}) {
|
|
284
|
+
if (!D.value) return;
|
|
285
|
+
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
|
|
286
|
+
domElement: D.value,
|
|
287
|
+
base64: !0,
|
|
288
|
+
img: !0,
|
|
289
|
+
scale: e
|
|
290
|
+
});
|
|
291
|
+
return {
|
|
292
|
+
imageUri: i,
|
|
293
|
+
base64: a,
|
|
294
|
+
title: I.value.style.chart.title.text,
|
|
295
|
+
width: t,
|
|
296
|
+
height: n,
|
|
297
|
+
aspectRatio: r
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
let $ = c(() => {
|
|
301
|
+
let e = I.value.table.useDialog && !I.value.table.show, t = B.value.showTable;
|
|
302
|
+
return {
|
|
303
|
+
component: e ? et : Ye,
|
|
304
|
+
title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
|
|
305
|
+
props: e ? {
|
|
306
|
+
backgroundColor: I.value.table.th.backgroundColor,
|
|
307
|
+
color: I.value.table.th.color,
|
|
308
|
+
headerColor: I.value.table.th.color,
|
|
309
|
+
headerBg: I.value.table.th.backgroundColor,
|
|
310
|
+
isFullscreen: J.value,
|
|
311
|
+
fullscreenParent: D.value,
|
|
312
|
+
forcedWidth: Math.min(800, window.innerWidth * .8)
|
|
313
|
+
} : {
|
|
314
|
+
hideDetails: !0,
|
|
315
|
+
config: {
|
|
316
|
+
open: t,
|
|
317
|
+
maxHeight: 1e4,
|
|
318
|
+
body: {
|
|
319
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
320
|
+
color: I.value.style.chart.color
|
|
321
|
+
},
|
|
322
|
+
head: {
|
|
323
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
324
|
+
color: I.value.style.chart.color
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
|
+
});
|
|
330
|
+
ke(() => B.value.showTable, (e) => {
|
|
331
|
+
I.value.table.show || (e && I.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
332
|
+
});
|
|
333
|
+
function jt() {
|
|
334
|
+
B.value.showTable = !1, dt.value && dt.value.setTableIconState(!1);
|
|
335
|
+
}
|
|
336
|
+
let Mt = c(() => I.value.style.chart.backgroundColor), { exportSvg: Nt, getSvg: Pt } = le({
|
|
337
|
+
svg: R,
|
|
338
|
+
title: c(() => I.value.style.chart.title),
|
|
339
|
+
backgroundColor: Mt
|
|
340
|
+
});
|
|
341
|
+
async function Ft({ isCb: e }) {
|
|
342
|
+
P.value = !0, await Ce();
|
|
343
|
+
try {
|
|
344
|
+
if (e) {
|
|
345
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Pt();
|
|
346
|
+
await Promise.resolve(I.value.userOptions.callbacks.svg({
|
|
347
|
+
blob: e,
|
|
348
|
+
url: t,
|
|
349
|
+
text: n,
|
|
350
|
+
dataUrl: r
|
|
351
|
+
}));
|
|
352
|
+
} else await Promise.resolve(Nt());
|
|
353
|
+
} finally {
|
|
354
|
+
P.value = !1;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
function It(e) {
|
|
358
|
+
if (e?.stage === "start") {
|
|
359
|
+
N.value = !0;
|
|
360
|
+
return;
|
|
361
|
+
}
|
|
362
|
+
if (e?.stage === "end") {
|
|
363
|
+
N.value = !1;
|
|
364
|
+
return;
|
|
365
|
+
}
|
|
366
|
+
yt();
|
|
367
|
+
}
|
|
368
|
+
async function Lt() {
|
|
369
|
+
if (it("copyAlt", {
|
|
370
|
+
config: I.value,
|
|
371
|
+
dataset: U.value
|
|
372
|
+
}), !I.value.userOptions.callbacks.altCopy) {
|
|
373
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
374
|
+
return;
|
|
375
|
+
}
|
|
376
|
+
await Promise.resolve(I.value.userOptions.callbacks.altCopy({
|
|
377
|
+
config: I.value,
|
|
378
|
+
dataset: U.value
|
|
379
|
+
}));
|
|
380
|
+
}
|
|
381
|
+
return me({
|
|
382
|
+
getData: kt,
|
|
383
|
+
getImage: At,
|
|
384
|
+
generatePdf: vt,
|
|
385
|
+
generateCsv: Q,
|
|
386
|
+
generateImage: yt,
|
|
387
|
+
generateSvg: Ft,
|
|
388
|
+
toggleTable: Ot,
|
|
389
|
+
toggleAnnotator: Dt,
|
|
390
|
+
toggleFullscreen: Tt,
|
|
391
|
+
copyAlt: Lt
|
|
392
|
+
}), (e, n) => (y(), d("div", {
|
|
393
|
+
ref_key: "funnelChart",
|
|
394
|
+
ref: D,
|
|
395
|
+
class: g(`vue-data-ui-component vue-ui-funnel ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
396
|
+
style: v(`font-family:${I.value.style.fontFamily};width:100%; ${I.value.responsive ? "height:100%;" : ""} text-align:center;background:${I.value.style.chart.backgroundColor}`),
|
|
397
|
+
id: `funnel_${O.value}`,
|
|
398
|
+
onMouseenter: n[1] ||= () => w(ht)(!0),
|
|
399
|
+
onMouseleave: n[2] ||= () => w(ht)(!1)
|
|
400
|
+
}, [
|
|
401
|
+
I.value.userOptions.buttons.annotator ? (y(), l(w(Qe), {
|
|
402
|
+
key: 0,
|
|
403
|
+
svgRef: w(R),
|
|
404
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
405
|
+
color: I.value.style.chart.color,
|
|
406
|
+
active: Y.value,
|
|
407
|
+
isCursorPointer: mt.value,
|
|
408
|
+
onClose: Dt
|
|
409
|
+
}, {
|
|
410
|
+
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
411
|
+
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(m({ color: t })), void 0, !0)]),
|
|
412
|
+
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(m({ mode: t })), void 0, !0)]),
|
|
413
|
+
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(m({ disabled: t })), void 0, !0)]),
|
|
414
|
+
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(m({ disabled: t })), void 0, !0)]),
|
|
415
|
+
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(m({ disabled: t })), void 0, !0)]),
|
|
416
|
+
_: 3
|
|
417
|
+
}, 8, [
|
|
418
|
+
"svgRef",
|
|
419
|
+
"backgroundColor",
|
|
420
|
+
"color",
|
|
421
|
+
"active",
|
|
422
|
+
"isCursorPointer"
|
|
423
|
+
])) : u("", !0),
|
|
424
|
+
bt.value ? (y(), d("div", {
|
|
425
|
+
key: 1,
|
|
426
|
+
ref_key: "noTitle",
|
|
427
|
+
ref: ct,
|
|
428
|
+
class: "vue-data-ui-no-title-space",
|
|
429
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
430
|
+
}, null, 512)) : u("", !0),
|
|
431
|
+
I.value.style.chart.title.text ? (y(), d("div", {
|
|
432
|
+
key: 2,
|
|
433
|
+
ref_key: "chartTitle",
|
|
434
|
+
ref: ut,
|
|
435
|
+
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
436
|
+
}, [(y(), l(pe, {
|
|
437
|
+
key: `title_${ot.value}`,
|
|
438
|
+
config: {
|
|
439
|
+
title: {
|
|
440
|
+
cy: "funnel-div-title",
|
|
441
|
+
...I.value.style.chart.title
|
|
442
|
+
},
|
|
443
|
+
subtitle: {
|
|
444
|
+
cy: "funnel-div-subtitle",
|
|
445
|
+
...I.value.style.chart.title.subtitle
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}, null, 8, ["config"]))], 512)) : u("", !0),
|
|
449
|
+
I.value.userOptions.show && F.value && (w(gt) || w(L)) ? (y(), l(w(Ze), {
|
|
450
|
+
ref_key: "userOptionsRef",
|
|
451
|
+
ref: dt,
|
|
452
|
+
key: `user_option_${at.value}`,
|
|
453
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
454
|
+
color: I.value.style.chart.color,
|
|
455
|
+
isPrinting: w(_t),
|
|
456
|
+
isImaging: w(z),
|
|
457
|
+
uid: O.value,
|
|
458
|
+
hasTooltip: !1,
|
|
459
|
+
hasPdf: I.value.userOptions.buttons.pdf,
|
|
460
|
+
hasImg: I.value.userOptions.buttons.img,
|
|
461
|
+
hasSvg: I.value.userOptions.buttons.svg,
|
|
462
|
+
hasXls: I.value.userOptions.buttons.csv,
|
|
463
|
+
hasTable: I.value.userOptions.buttons.table,
|
|
464
|
+
hasLabel: !1,
|
|
465
|
+
hasFullscreen: I.value.userOptions.buttons.fullscreen,
|
|
466
|
+
hasAltCopy: I.value.userOptions.buttons.altCopy,
|
|
467
|
+
isFullscreen: J.value,
|
|
468
|
+
chartElement: D.value,
|
|
469
|
+
position: I.value.userOptions.position,
|
|
470
|
+
titles: { ...I.value.userOptions.buttonTitles },
|
|
471
|
+
hasAnnotator: I.value.userOptions.buttons.annotator,
|
|
472
|
+
isAnnotation: Y.value,
|
|
473
|
+
callbacks: I.value.userOptions.callbacks,
|
|
474
|
+
printScale: I.value.userOptions.print.scale,
|
|
475
|
+
tableDialog: I.value.table.useDialog,
|
|
476
|
+
isCursorPointer: mt.value,
|
|
477
|
+
onToggleAnnotator: Dt,
|
|
478
|
+
onToggleFullscreen: Tt,
|
|
479
|
+
onGeneratePdf: w(vt),
|
|
480
|
+
onGenerateImage: It,
|
|
481
|
+
onGenerateSvg: Ft,
|
|
482
|
+
onToggleTable: Ot,
|
|
483
|
+
onGenerateCsv: Q,
|
|
484
|
+
onCopyAlt: Lt,
|
|
485
|
+
style: v({ visibility: w(gt) ? w(L) ? "visible" : "hidden" : "visible" })
|
|
486
|
+
}, be({ _: 2 }, [
|
|
487
|
+
e.$slots.menuIcon ? {
|
|
488
|
+
name: "menuIcon",
|
|
489
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(m({
|
|
490
|
+
isOpen: t,
|
|
491
|
+
color: n
|
|
492
|
+
})), void 0, !0)]),
|
|
493
|
+
key: "0"
|
|
494
|
+
} : void 0,
|
|
495
|
+
e.$slots.optionPdf ? {
|
|
496
|
+
name: "optionPdf",
|
|
497
|
+
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
498
|
+
key: "1"
|
|
499
|
+
} : void 0,
|
|
500
|
+
e.$slots.optionCsv ? {
|
|
501
|
+
name: "optionCsv",
|
|
502
|
+
fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
503
|
+
key: "2"
|
|
504
|
+
} : void 0,
|
|
505
|
+
e.$slots.optionImg ? {
|
|
506
|
+
name: "optionImg",
|
|
507
|
+
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
508
|
+
key: "3"
|
|
509
|
+
} : void 0,
|
|
510
|
+
e.$slots.optionSvg ? {
|
|
511
|
+
name: "optionSvg",
|
|
512
|
+
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
513
|
+
key: "4"
|
|
514
|
+
} : void 0,
|
|
515
|
+
e.$slots.optionTable ? {
|
|
516
|
+
name: "optionTable",
|
|
517
|
+
fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
518
|
+
key: "5"
|
|
519
|
+
} : void 0,
|
|
520
|
+
e.$slots.optionFullscreen ? {
|
|
521
|
+
name: "optionFullscreen",
|
|
522
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(m({
|
|
523
|
+
toggleFullscreen: t,
|
|
524
|
+
isFullscreen: n
|
|
525
|
+
})), void 0, !0)]),
|
|
526
|
+
key: "6"
|
|
527
|
+
} : void 0,
|
|
528
|
+
e.$slots.optionAnnotator ? {
|
|
529
|
+
name: "optionAnnotator",
|
|
530
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(m({
|
|
531
|
+
toggleAnnotator: t,
|
|
532
|
+
isAnnotator: n
|
|
533
|
+
})), void 0, !0)]),
|
|
534
|
+
key: "7"
|
|
535
|
+
} : void 0,
|
|
536
|
+
e.$slots.optionAltCopy ? {
|
|
537
|
+
name: "optionAltCopy",
|
|
538
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(m({ altCopy: t })), void 0, !0)]),
|
|
539
|
+
key: "8"
|
|
540
|
+
} : void 0
|
|
541
|
+
]), 1032, [
|
|
542
|
+
"backgroundColor",
|
|
543
|
+
"color",
|
|
544
|
+
"isPrinting",
|
|
545
|
+
"isImaging",
|
|
546
|
+
"uid",
|
|
547
|
+
"hasPdf",
|
|
548
|
+
"hasImg",
|
|
549
|
+
"hasSvg",
|
|
550
|
+
"hasXls",
|
|
551
|
+
"hasTable",
|
|
552
|
+
"hasFullscreen",
|
|
553
|
+
"hasAltCopy",
|
|
554
|
+
"isFullscreen",
|
|
555
|
+
"chartElement",
|
|
556
|
+
"position",
|
|
557
|
+
"titles",
|
|
558
|
+
"hasAnnotator",
|
|
559
|
+
"isAnnotation",
|
|
560
|
+
"callbacks",
|
|
561
|
+
"printScale",
|
|
562
|
+
"tableDialog",
|
|
563
|
+
"isCursorPointer",
|
|
564
|
+
"onGeneratePdf",
|
|
565
|
+
"style"
|
|
566
|
+
])) : u("", !0),
|
|
567
|
+
F.value ? (y(), d("svg", {
|
|
568
|
+
key: 4,
|
|
569
|
+
ref_key: "svgRef",
|
|
570
|
+
ref: R,
|
|
571
|
+
xmlns: w(ie),
|
|
572
|
+
class: g({
|
|
573
|
+
"vue-data-ui-fullscreen--on": J.value,
|
|
574
|
+
"vue-data-ui-fulscreen--off": !J.value
|
|
575
|
+
}),
|
|
576
|
+
viewBox: `0 0 ${H.value.width <= 0 ? 10 : H.value.width} ${H.value.height <= 0 ? 10 : H.value.height}`,
|
|
577
|
+
style: v(`max-width:100%; overflow: visible; background:transparent;color:${I.value.style.chart.color}`)
|
|
578
|
+
}, [
|
|
579
|
+
Se(w($e)),
|
|
580
|
+
e.$slots["chart-background"] ? (y(), d("foreignObject", {
|
|
581
|
+
key: 0,
|
|
582
|
+
x: 0,
|
|
583
|
+
y: 0,
|
|
584
|
+
width: H.value.width <= 0 ? 10 : H.value.width,
|
|
585
|
+
height: H.value.height <= 0 ? 10 : H.value.height,
|
|
586
|
+
style: { pointerEvents: "none" }
|
|
587
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ne)) : u("", !0),
|
|
588
|
+
f("defs", null, [f("linearGradient", {
|
|
589
|
+
id: `funnel_area_${O.value}`,
|
|
590
|
+
x1: "0%",
|
|
591
|
+
x2: "100%",
|
|
592
|
+
y1: "0%",
|
|
593
|
+
y2: "0%"
|
|
594
|
+
}, [
|
|
595
|
+
f("stop", {
|
|
596
|
+
offset: "0%",
|
|
597
|
+
"stop-color": I.value.style.chart.backgroundColor,
|
|
598
|
+
"stop-opacity": 0
|
|
599
|
+
}, null, 8, Fe),
|
|
600
|
+
f("stop", {
|
|
601
|
+
offset: "20%",
|
|
602
|
+
"stop-color": I.value.style.chart.area.color
|
|
603
|
+
}, null, 8, Ie),
|
|
604
|
+
f("stop", {
|
|
605
|
+
offset: "100%",
|
|
606
|
+
"stop-color": I.value.style.chart.area.color
|
|
607
|
+
}, null, 8, Le)
|
|
608
|
+
], 8, Pe)]),
|
|
609
|
+
I.value.style.chart.circleLinks.show ? (y(), d("line", h({ key: 1 }, wt.value, {
|
|
610
|
+
stroke: I.value.style.chart.circleLinks.color,
|
|
611
|
+
"stroke-width": 12 * I.value.style.chart.circleLinks.widthRatio,
|
|
612
|
+
"stroke-linecap": "round",
|
|
613
|
+
class: { animated: I.value.useCssAnimation },
|
|
614
|
+
style: {
|
|
615
|
+
strokeDasharray: I.value.useCssAnimation ? W.value.height : 0,
|
|
616
|
+
strokeDashoffset: I.value.useCssAnimation ? W.value.height : 0
|
|
617
|
+
}
|
|
618
|
+
}), null, 16, Re)) : u("", !0),
|
|
619
|
+
(y(!0), d(s, null, x(q.value, ({ cx: e, cy: t, r: n, fill: r }, i) => (y(), d("circle", h({ ref_for: !0 }, {
|
|
620
|
+
cx: e,
|
|
621
|
+
cy: t,
|
|
622
|
+
r: n,
|
|
623
|
+
fill: r
|
|
624
|
+
}, {
|
|
625
|
+
stroke: I.value.style.chart.circles.stroke,
|
|
626
|
+
"stroke-width": I.value.style.chart.circles.strokeWidth,
|
|
627
|
+
class: { animated: I.value.useCssAnimation && !j.value },
|
|
628
|
+
style: { animationDelay: `${150 * i}ms` }
|
|
629
|
+
}), null, 16, ze))), 256)),
|
|
630
|
+
(y(!0), d(s, null, x(q.value, (e, n) => (y(), d("text", {
|
|
631
|
+
x: e.cx,
|
|
632
|
+
y: e.cy + V.value.circles / 3 + I.value.style.chart.circles.dataLabels.offsetY,
|
|
633
|
+
"text-anchor": "middle",
|
|
634
|
+
"font-size": V.value.circles,
|
|
635
|
+
fill: I.value.style.chart.circles.dataLabels.adaptColorToBackground ? w(re)(e.color) : I.value.style.chart.circles.dataLabels.color,
|
|
636
|
+
"font-weight": I.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
637
|
+
class: g({ animated: I.value.useCssAnimation && !j.value }),
|
|
638
|
+
style: v({ animationDelay: `${150 * n}ms` })
|
|
639
|
+
}, C(w(o)(I.value.style.chart.circles.dataLabels.formatter, e.proportion * 100, w(t)({
|
|
640
|
+
v: e.proportion * 100,
|
|
641
|
+
s: "%",
|
|
642
|
+
r: I.value.style.chart.circles.dataLabels.rounding
|
|
643
|
+
}), { datapoint: e })), 15, Be))), 256)),
|
|
644
|
+
I.value.style.chart.area.show ? (y(), d("polygon", {
|
|
645
|
+
key: 2,
|
|
646
|
+
points: Ct.value,
|
|
647
|
+
fill: `url(#funnel_area_${O.value})`,
|
|
648
|
+
class: g({ animated: I.value.useCssAnimation && !j.value }),
|
|
649
|
+
style: v({ transition: I.value.useCssAnimation ? `all ${150 * U.value.length}ms ease-in` : "none" })
|
|
650
|
+
}, null, 14, Ve)) : u("", !0),
|
|
651
|
+
(y(!0), d(s, null, x(q.value, ({ x: e, y: t, height: n, width: r, fill: i }, a) => (y(), d("rect", h({ ref_for: !0 }, {
|
|
652
|
+
x: e,
|
|
653
|
+
y: t,
|
|
654
|
+
height: n,
|
|
655
|
+
width: r,
|
|
656
|
+
fill: i
|
|
657
|
+
}, {
|
|
658
|
+
stroke: I.value.style.chart.bars.stroke,
|
|
659
|
+
"stroke-width": I.value.style.chart.bars.strokeWidth,
|
|
660
|
+
rx: I.value.style.chart.bars.borderRadius,
|
|
661
|
+
class: { animated: I.value.useCssAnimation && !j.value },
|
|
662
|
+
style: { animationDelay: `${150 * a}ms` }
|
|
663
|
+
}), null, 16, He))), 256)),
|
|
664
|
+
(y(!0), d(s, null, x(q.value, (e, n) => (y(), d("g", null, [f("text", {
|
|
665
|
+
x: e.x + e.width + I.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
666
|
+
y: e.cy - V.value.names / 2 + I.value.style.chart.bars.dataLabels.name.offsetY,
|
|
667
|
+
"text-anchor": "start",
|
|
668
|
+
"font-size": V.value.names,
|
|
669
|
+
fill: I.value.style.chart.bars.dataLabels.name.color,
|
|
670
|
+
"font-weight": I.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
671
|
+
class: g({ animated: I.value.useCssAnimation && !j.value }),
|
|
672
|
+
style: v({ animationDelay: `${150 * n}ms` })
|
|
673
|
+
}, C(e.name), 15, Ue), f("text", {
|
|
674
|
+
x: e.x + e.width + I.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
675
|
+
y: e.cy + V.value.values + I.value.style.chart.bars.dataLabels.value.offsetY,
|
|
676
|
+
"text-anchor": "start",
|
|
677
|
+
"font-size": V.value.values,
|
|
678
|
+
fill: I.value.style.chart.bars.dataLabels.value.color,
|
|
679
|
+
"font-weight": I.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
680
|
+
class: g({ animated: I.value.useCssAnimation && !j.value }),
|
|
681
|
+
style: v({ animationDelay: `${150 * n}ms` })
|
|
682
|
+
}, C(w(o)(I.value.style.chart.bars.dataLabels.value.formatter, e.value, w(t)({
|
|
683
|
+
p: I.value.style.chart.bars.dataLabels.value.prefix,
|
|
684
|
+
v: e.value,
|
|
685
|
+
s: I.value.style.chart.bars.dataLabels.value.suffix,
|
|
686
|
+
r: I.value.style.chart.bars.dataLabels.value.rounding
|
|
687
|
+
}), { datapoint: e })), 15, We)]))), 256)),
|
|
688
|
+
S(e.$slots, "svg", { svg: {
|
|
689
|
+
...H.value,
|
|
690
|
+
isPrintingImg: w(_t) || w(z) || N.value,
|
|
691
|
+
isPrintingSvg: P.value
|
|
692
|
+
} }, void 0, !0)
|
|
693
|
+
], 14, Me)) : u("", !0),
|
|
694
|
+
e.$slots.watermark ? (y(), d("div", Ge, [S(e.$slots, "watermark", _(m({ isPrinting: w(_t) || w(z) || N.value || P.value })), void 0, !0)])) : u("", !0),
|
|
695
|
+
F.value ? u("", !0) : (y(), l(w(Je), {
|
|
696
|
+
key: 6,
|
|
697
|
+
config: {
|
|
698
|
+
type: "verticalBar",
|
|
699
|
+
style: {
|
|
700
|
+
backgroundColor: I.value.style.chart.backgroundColor,
|
|
701
|
+
verticalBar: {
|
|
702
|
+
axis: { color: "#CCCCCC" },
|
|
703
|
+
color: "#CCCCCC"
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}, null, 8, ["config"])),
|
|
708
|
+
e.$slots.source ? (y(), d("div", {
|
|
709
|
+
key: 7,
|
|
710
|
+
ref_key: "source",
|
|
711
|
+
ref: lt,
|
|
712
|
+
dir: "auto"
|
|
713
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
714
|
+
F.value && I.value.userOptions.buttons.table ? (y(), l(Ee($.value.component), h({ key: 8 }, $.value.props, {
|
|
715
|
+
ref_key: "tableUnit",
|
|
716
|
+
ref: M,
|
|
717
|
+
onClose: jt
|
|
718
|
+
}), be({
|
|
719
|
+
content: T(() => [(y(), l(w(Xe), {
|
|
720
|
+
key: `table_${st.value}`,
|
|
721
|
+
colNames: Z.value.colNames,
|
|
722
|
+
head: Z.value.head,
|
|
723
|
+
body: Z.value.body,
|
|
724
|
+
config: Z.value.config,
|
|
725
|
+
title: I.value.table.useDialog ? "" : $.value.title,
|
|
726
|
+
withCloseButton: !I.value.table.useDialog,
|
|
727
|
+
onClose: jt
|
|
728
|
+
}, {
|
|
729
|
+
th: T(({ th: e }) => [f("div", {
|
|
730
|
+
innerHTML: e,
|
|
731
|
+
style: {
|
|
732
|
+
display: "flex",
|
|
733
|
+
"align-items": "center"
|
|
734
|
+
}
|
|
735
|
+
}, null, 8, Ke)]),
|
|
736
|
+
td: T(({ td: e }) => [xe(C(e.name ? e.name : e), 1)]),
|
|
737
|
+
_: 1
|
|
738
|
+
}, 8, [
|
|
739
|
+
"colNames",
|
|
740
|
+
"head",
|
|
741
|
+
"body",
|
|
742
|
+
"config",
|
|
743
|
+
"title",
|
|
744
|
+
"withCloseButton"
|
|
745
|
+
]))]),
|
|
746
|
+
_: 2
|
|
747
|
+
}, [I.value.table.useDialog ? {
|
|
748
|
+
name: "title",
|
|
749
|
+
fn: T(() => [xe(C($.value.title), 1)]),
|
|
750
|
+
key: "0"
|
|
751
|
+
} : void 0, I.value.table.useDialog ? {
|
|
752
|
+
name: "actions",
|
|
753
|
+
fn: T(() => [f("button", {
|
|
754
|
+
tabindex: "0",
|
|
755
|
+
class: "vue-ui-user-options-button",
|
|
756
|
+
onClick: n[0] ||= (e) => Q(I.value.userOptions.callbacks.csv)
|
|
757
|
+
}, [Se(w(qe), {
|
|
758
|
+
name: "fileCsv",
|
|
759
|
+
stroke: $.value.props.color
|
|
760
|
+
}, null, 8, ["stroke"])])]),
|
|
761
|
+
key: "1"
|
|
762
|
+
} : void 0]), 1040)) : u("", !0)
|
|
763
|
+
], 46, je));
|
|
764
|
+
}
|
|
765
|
+
}, [["__scopeId", "data-v-2fe9020e"]]);
|
|
766
|
+
//#endregion
|
|
767
|
+
export { Ae as n, qe as t };
|