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,908 +0,0 @@
|
|
|
1
|
-
import { useCssVars as Vt, defineAsyncComponent as xe, computed as v, ref as b, toRefs as Gt, watch as Je, shallowRef as Qe, onMounted as Ht, onBeforeUnmount as qt, openBlock as s, createElementBlock as n, unref as r, normalizeStyle as Me, normalizeClass as F, createBlock as he, withCtx as S, renderSlot as p, normalizeProps as O, guardReactiveProps as R, createCommentVNode as z, createSlots as Zt, createElementVNode as $e, toDisplayString as Ae, createVNode as Kt, Fragment as P, renderList as X, nextTick as Jt } from "vue";
|
|
2
|
-
import { j as Qt, t as et, o as ea, q as ta, v as te, a4 as aa, k as la, l as oa, K as tt, X as sa, x as at } from "./lib-DMzrGQHK.js";
|
|
3
|
-
import { t as na, u as ua } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ia } from "./useConfig-CG4HT3wS.js";
|
|
5
|
-
import { u as ra, B as ca } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
-
import { u as va } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
-
import { u as ha } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
-
import { u as Ie } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
-
import { u as da } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
-
import { u as ya } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
-
import { u as ka } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
-
import { u as fa } from "./usePrefersMotion-Co0nj1eS.js";
|
|
13
|
-
import ga from "./img-CjTQXS0U.js";
|
|
14
|
-
import pa from "./Title-BbKoiBk2.js";
|
|
15
|
-
import ma from "./vue_ui_wheel-LqBz3lv4.js";
|
|
16
|
-
import { _ as wa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedby"], xa = ["id"], Ma = ["id"], $a = ["x", "y", "width", "height"], Aa = ["d", "stroke", "stroke-width"], Ia = ["cx", "cy", "r", "stroke", "stroke-width"], Sa = { key: 0 }, Pa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], _a = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], Oa = { key: 1 }, Ra = ["d", "fill", "stroke", "stroke-width"], za = ["d", "fill", "stroke", "stroke-width"], Ta = ["d", "fill", "stroke", "stroke-width"], Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Wa = ["d", "fill", "stroke", "stroke-width"], Fa = ["aria-label"], Xa = ["x", "y", "height"], Na = ["x", "y", "font-size", "fill", "font-weight", "stroke", "stroke-width"], Ua = {
|
|
18
|
-
key: 4,
|
|
19
|
-
class: "vue-data-ui-watermark"
|
|
20
|
-
}, La = {
|
|
21
|
-
__name: "vue-ui-wheel",
|
|
22
|
-
props: {
|
|
23
|
-
config: {
|
|
24
|
-
type: Object,
|
|
25
|
-
default() {
|
|
26
|
-
return {};
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
dataset: {
|
|
30
|
-
type: Object,
|
|
31
|
-
default() {
|
|
32
|
-
return {};
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
emits: ["copyAlt"],
|
|
37
|
-
setup(lt, { expose: ot, emit: st }) {
|
|
38
|
-
Vt((t) => ({
|
|
39
|
-
v34f4e7ac: xt.value,
|
|
40
|
-
v85c87fe0: Mt.value,
|
|
41
|
-
v85c8baba: $t.value
|
|
42
|
-
}));
|
|
43
|
-
const nt = xe(
|
|
44
|
-
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
45
|
-
), ut = xe(
|
|
46
|
-
() => import("./UserOptions-DVduN6X7.js")
|
|
47
|
-
), it = xe(
|
|
48
|
-
() => import("./PackageVersion-BfrCAH6_.js")
|
|
49
|
-
), { vue_ui_wheel: rt } = ia(), { isThemeValid: ct, warnInvalidTheme: vt } = da(), T = fa(), D = lt, ht = st, dt = v(() => !!D.dataset && Object.keys(D.dataset).length), H = b(Qt()), yt = b(null), Se = b(0), j = b(null), Pe = b(null), _e = b(null), Oe = b(null), Re = b(0), ae = b(!1), le = b(!1), e = b(ke()), ze = v(
|
|
50
|
-
() => e.value.userOptions.useCursorPointer
|
|
51
|
-
), kt = v(() => et({
|
|
52
|
-
defaultConfig: {
|
|
53
|
-
userOptions: { show: !1 },
|
|
54
|
-
style: {
|
|
55
|
-
chart: {
|
|
56
|
-
backgroundColor: "#99999930",
|
|
57
|
-
animation: { use: !1 },
|
|
58
|
-
layout: {
|
|
59
|
-
wheel: {
|
|
60
|
-
ticks: {
|
|
61
|
-
activeColor: "#6A6A6A80",
|
|
62
|
-
inactiveColor: "#CACACA80"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
innerCircle: {
|
|
66
|
-
stroke: "#CACACA80"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
userConfig: e.value.skeletonConfig ?? {}
|
|
73
|
-
})), { loading: oe, FINAL_DATASET: E } = ra({
|
|
74
|
-
...Gt(D),
|
|
75
|
-
FINAL_CONFIG: e,
|
|
76
|
-
prepareConfig: ke,
|
|
77
|
-
skeletonDataset: D.config?.skeletonDataset ?? { percentage: 50 },
|
|
78
|
-
skeletonConfig: et({
|
|
79
|
-
defaultConfig: e.value,
|
|
80
|
-
userConfig: kt.value
|
|
81
|
-
})
|
|
82
|
-
}), { userOptionsVisible: de, setUserOptionsVisibility: Te, keepUserOptionState: De } = ya({ config: e.value }), { svgRef: ye } = ka({
|
|
83
|
-
config: e.value.style.chart.title
|
|
84
|
-
});
|
|
85
|
-
function ke() {
|
|
86
|
-
const t = Ie({
|
|
87
|
-
userConfig: D.config,
|
|
88
|
-
defaultConfig: rt
|
|
89
|
-
}), o = t.theme;
|
|
90
|
-
if (!o) return t;
|
|
91
|
-
if (!ct.value(t))
|
|
92
|
-
return vt(t), t;
|
|
93
|
-
const a = Ie({
|
|
94
|
-
userConfig: ma[o] || D.config,
|
|
95
|
-
defaultConfig: t
|
|
96
|
-
});
|
|
97
|
-
return Ie({
|
|
98
|
-
userConfig: D.config,
|
|
99
|
-
defaultConfig: a
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
Je(
|
|
103
|
-
() => D.config,
|
|
104
|
-
(t) => {
|
|
105
|
-
e.value = ke(), de.value = !e.value.userOptions.showOnChartHover, Ne(), Re.value += 1;
|
|
106
|
-
},
|
|
107
|
-
{ deep: !0 }
|
|
108
|
-
);
|
|
109
|
-
const { isPrinting: fe, isImaging: ge, generatePdf: We, generateImage: Fe } = va({
|
|
110
|
-
elementId: H.value,
|
|
111
|
-
fileName: e.value.style.chart.title.text || "vue-ui-wheel",
|
|
112
|
-
options: e.value.userOptions.print
|
|
113
|
-
}), ft = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), u = b({
|
|
114
|
-
size: 360,
|
|
115
|
-
height: 360,
|
|
116
|
-
width: 360
|
|
117
|
-
}), q = b(
|
|
118
|
-
e.value.style.chart.layout.percentage.fontSize
|
|
119
|
-
), c = v(() => ({
|
|
120
|
-
radius: Math.min(u.value.width, u.value.height) * 0.9 / 2 * e.value.style.chart.layout.wheel.radiusRatio,
|
|
121
|
-
centerX: u.value.width / 2,
|
|
122
|
-
centerY: u.value.height / 2
|
|
123
|
-
}));
|
|
124
|
-
function Xe(t, o = 1) {
|
|
125
|
-
return {
|
|
126
|
-
x: c.value.centerX + c.value.radius * Math.cos(29.85 + t * Math.PI / 180) * o,
|
|
127
|
-
y: c.value.centerY + c.value.radius * Math.sin(29.85 + t * Math.PI / 180) * o
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
const y = b(
|
|
131
|
-
e.value.style.chart.animation.use && !T.value ? 0 : E.value.percentage || 0
|
|
132
|
-
);
|
|
133
|
-
Je(
|
|
134
|
-
() => E.value,
|
|
135
|
-
(t) => {
|
|
136
|
-
e.value.style.chart.animation.use && !T.value ? Ee(t.percentage) : y.value = t.percentage || 0;
|
|
137
|
-
},
|
|
138
|
-
{ deep: !0 }
|
|
139
|
-
);
|
|
140
|
-
const N = Qe(null), Y = Qe(null);
|
|
141
|
-
Ht(() => {
|
|
142
|
-
Ne();
|
|
143
|
-
});
|
|
144
|
-
const gt = v(() => !!e.value.debug);
|
|
145
|
-
function Ne() {
|
|
146
|
-
if (ea(D.dataset) && ta({
|
|
147
|
-
componentName: "VueUiWheel",
|
|
148
|
-
type: "dataset",
|
|
149
|
-
debug: gt.value
|
|
150
|
-
}), e.value.responsive) {
|
|
151
|
-
const t = na(() => {
|
|
152
|
-
const { width: o, height: a } = ua({
|
|
153
|
-
chart: j.value,
|
|
154
|
-
title: e.value.style.chart.title.text ? Pe.value : null,
|
|
155
|
-
source: _e.value,
|
|
156
|
-
noTitle: Oe.value
|
|
157
|
-
});
|
|
158
|
-
requestAnimationFrame(() => {
|
|
159
|
-
u.value.width = o, u.value.height = a, q.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(o, a);
|
|
160
|
-
});
|
|
161
|
-
});
|
|
162
|
-
N.value && (Y.value && N.value.unobserve(Y.value), N.value.disconnect()), N.value = new ResizeObserver(t), Y.value = j.value.parentNode, N.value.observe(Y.value);
|
|
163
|
-
}
|
|
164
|
-
Ee(E.value.percentage || 0), e.value.style.chart.animation.use && !T.value || (y.value = E.value.percentage || 0);
|
|
165
|
-
}
|
|
166
|
-
qt(() => {
|
|
167
|
-
N.value && (Y.value && N.value.unobserve(Y.value), N.value.disconnect());
|
|
168
|
-
});
|
|
169
|
-
function se([t, o, a], l) {
|
|
170
|
-
const i = Math.cos(l), d = Math.sin(l);
|
|
171
|
-
return [t, o * i - a * d, o * d + a * i];
|
|
172
|
-
}
|
|
173
|
-
function ne([t, o, a], l) {
|
|
174
|
-
const i = l / (l - a);
|
|
175
|
-
return [t * i, o * i, a, i];
|
|
176
|
-
}
|
|
177
|
-
function Ue(t, o) {
|
|
178
|
-
const a = t.replace("#", ""), l = parseInt(a.substring(0, 2), 16), i = parseInt(a.substring(2, 4), 16), d = parseInt(a.substring(4, 6), 16), k = 1 - Math.min(
|
|
179
|
-
1,
|
|
180
|
-
Math.max(
|
|
181
|
-
0,
|
|
182
|
-
e.value.style.chart.layout.wheel.ticks.shadeColorRatio3d
|
|
183
|
-
)
|
|
184
|
-
) * o, f = Math.max(0, Math.min(255, Math.round(l * k))), M = Math.max(0, Math.min(255, Math.round(i * k))), $ = Math.max(0, Math.min(255, Math.round(d * k)));
|
|
185
|
-
return `#${f.toString(16).padStart(2, "0")}${M.toString(16).padStart(2, "0")}${$.toString(16).padStart(2, "0")}`;
|
|
186
|
-
}
|
|
187
|
-
function pt({
|
|
188
|
-
cx: t,
|
|
189
|
-
cy: o,
|
|
190
|
-
radius: a,
|
|
191
|
-
innerRatio: l = 0.8,
|
|
192
|
-
count: i = 120,
|
|
193
|
-
startDeg: d = 0,
|
|
194
|
-
axDeg: C = 50,
|
|
195
|
-
f: k = 520,
|
|
196
|
-
baseStroke: f = 5,
|
|
197
|
-
activeColor: M,
|
|
198
|
-
inactiveColor: $,
|
|
199
|
-
getActive: I
|
|
200
|
-
}) {
|
|
201
|
-
const h = C * Math.PI / 180, m = a, A = a * l, x = [];
|
|
202
|
-
for (let w = 0; w < i; w += 1) {
|
|
203
|
-
const g = (w / i * 360 + d) * Math.PI / 180, W = t + m * Math.cos(g), G = o + m * Math.sin(g), B = t + A * Math.cos(g), Z = o + A * Math.sin(g), K = [W - t, G - o, 0], J = [B - t, Z - o, 0], [ce, Ke, Q] = se(K, h), [be, Ce, ee] = se(J, h), [ve, zt, , Tt] = ne([ce, Ke, Q], k), [Dt, Wt] = ne([be, Ce, ee], k), Ft = t + ve, Xt = o + zt, Nt = t + Dt, Ut = o + Wt, Lt = (Math.max(Q, ee) - -m * Math.sin(h)) / (2 * m * Math.sin(h) || 1), jt = I ? I(w) : !0, Bt = e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
|
|
204
|
-
M,
|
|
205
|
-
w * _.value / L.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
|
|
206
|
-
) : M, Et = Ue(jt ? Bt : $, Lt), Yt = Math.max(
|
|
207
|
-
1.25,
|
|
208
|
-
f * Tt * (Math.min(u.value.width, u.value.height) / 360)
|
|
209
|
-
);
|
|
210
|
-
x.push({ i: w, x1: Ft, y1: Xt, x2: Nt, y2: Ut, stroke: Yt, color: Et, z: Math.max(Q, ee) });
|
|
211
|
-
}
|
|
212
|
-
return x.sort((w, g) => w.z - g.z), x;
|
|
213
|
-
}
|
|
214
|
-
const Le = v(() => {
|
|
215
|
-
if (!e.value.layout === "3d") return null;
|
|
216
|
-
const t = L.value, o = e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
|
|
217
|
-
e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
218
|
-
0
|
|
219
|
-
) : e.value.style.chart.layout.wheel.ticks.activeColor, a = e.value.style.chart.layout.wheel.ticks.inactiveColor, l = e.value.style.chart.layout.wheel.ticks.strokeWidth;
|
|
220
|
-
return pt({
|
|
221
|
-
cx: c.value.centerX,
|
|
222
|
-
cy: c.value.centerY,
|
|
223
|
-
radius: c.value.radius,
|
|
224
|
-
innerRatio: e.value.style.chart.layout.wheel.ticks.sizeRatio,
|
|
225
|
-
count: t,
|
|
226
|
-
startDeg: -90,
|
|
227
|
-
axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
|
|
228
|
-
f: Math.min(u.value.width, u.value.height) * 1.45,
|
|
229
|
-
baseStroke: l,
|
|
230
|
-
activeColor: o,
|
|
231
|
-
inactiveColor: a,
|
|
232
|
-
getActive: (i) => y.value > i * _.value
|
|
233
|
-
});
|
|
234
|
-
});
|
|
235
|
-
function je({
|
|
236
|
-
cx: t,
|
|
237
|
-
cy: o,
|
|
238
|
-
r: a,
|
|
239
|
-
count: l = 180,
|
|
240
|
-
startDeg: i = -90,
|
|
241
|
-
axDeg: d = 50,
|
|
242
|
-
f: C
|
|
243
|
-
}) {
|
|
244
|
-
const k = d * Math.PI / 180, f = [];
|
|
245
|
-
let M = 0;
|
|
246
|
-
for (let h = 0; h < l; h += 1) {
|
|
247
|
-
const m = (h / l * 360 + i) * Math.PI / 180, A = [a * Math.cos(m), a * Math.sin(m), 0], [x, w, g] = se(A, k), [W, G, , B] = ne([x, w, g], C);
|
|
248
|
-
M += B, f.push([t + W, o + G]);
|
|
249
|
-
}
|
|
250
|
-
let $ = `M ${f[0][0]} ${f[0][1]}`;
|
|
251
|
-
for (let h = 1; h < f.length; h += 1)
|
|
252
|
-
$ += ` L ${f[h][0]} ${f[h][1]}`;
|
|
253
|
-
$ += " Z";
|
|
254
|
-
const I = M / l;
|
|
255
|
-
return { d: $, avgScale: I, pts: f };
|
|
256
|
-
}
|
|
257
|
-
const U = v(() => {
|
|
258
|
-
if (e.value.layout !== "3d") return null;
|
|
259
|
-
const t = Math.min(u.value.width, u.value.height) * 1.45, o = e.value.style.chart.layout.wheel.tiltAngle3d, a = c.value.radius, { pts: l, avgScale: i } = (() => {
|
|
260
|
-
const A = a, x = o, { avgScale: w, pts: g } = je({
|
|
261
|
-
cx: c.value.centerX,
|
|
262
|
-
cy: c.value.centerY,
|
|
263
|
-
r: A,
|
|
264
|
-
startDeg: -90,
|
|
265
|
-
axDeg: x,
|
|
266
|
-
f: t
|
|
267
|
-
});
|
|
268
|
-
return { pts: g, avgScale: w };
|
|
269
|
-
})();
|
|
270
|
-
let d = 1 / 0, C = 1 / 0, k = -1 / 0, f = -1 / 0;
|
|
271
|
-
for (const [A, x] of l)
|
|
272
|
-
A < d && (d = A), x < C && (C = x), A > k && (k = A), x > f && (f = x);
|
|
273
|
-
const M = e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height), $ = e.value.style.chart.layout.innerCircle.strokeWidth || 0, I = 0.5 * Math.max(M, $ * (i || 1)), h = Math.max(
|
|
274
|
-
0,
|
|
275
|
-
Number(e.value.style.chart.layout.wheel.ticks.depth3d) || 0
|
|
276
|
-
), m = I;
|
|
277
|
-
return {
|
|
278
|
-
x: d - m,
|
|
279
|
-
y: C - h - m,
|
|
280
|
-
w: k - d + 2 * m,
|
|
281
|
-
h: f - (C - h) + 2 * m
|
|
282
|
-
};
|
|
283
|
-
});
|
|
284
|
-
function mt(t) {
|
|
285
|
-
const o = Math.min(u.value.width, u.value.height) * 1.45, { d: a, avgScale: l } = je({
|
|
286
|
-
cx: c.value.centerX,
|
|
287
|
-
cy: c.value.centerY,
|
|
288
|
-
r: t,
|
|
289
|
-
startDeg: -90,
|
|
290
|
-
axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
|
|
291
|
-
f: o
|
|
292
|
-
}), d = (e.value.style.chart.layout.innerCircle.strokeWidth || 1) * l;
|
|
293
|
-
return {
|
|
294
|
-
d: a,
|
|
295
|
-
stroke: e.value.style.chart.layout.innerCircle.stroke,
|
|
296
|
-
strokeWidth: d
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
const Be = v(() => mt(
|
|
300
|
-
Math.max(
|
|
301
|
-
0,
|
|
302
|
-
c.value.radius * 0.8 * e.value.style.chart.layout.innerCircle.radiusRatio
|
|
303
|
-
)
|
|
304
|
-
));
|
|
305
|
-
function ue({ cx: t, cy: o, r: a, aRad: l, ax: i, f: d }) {
|
|
306
|
-
const C = [a * Math.cos(l), a * Math.sin(l), 0], [k, f, M] = se(C, i), [$, I, , h] = ne([k, f, M], d);
|
|
307
|
-
return { x: t + $, y: o + I, z: M, s: h };
|
|
308
|
-
}
|
|
309
|
-
function wt({
|
|
310
|
-
cx: t,
|
|
311
|
-
cy: o,
|
|
312
|
-
radius: a,
|
|
313
|
-
innerRatio: l = 0.8,
|
|
314
|
-
count: i = 120,
|
|
315
|
-
startDeg: d = -87,
|
|
316
|
-
axDeg: C = 45,
|
|
317
|
-
f: k = 600,
|
|
318
|
-
activeColor: f,
|
|
319
|
-
inactiveColor: M,
|
|
320
|
-
getActive: $,
|
|
321
|
-
Y: I = 0
|
|
322
|
-
}) {
|
|
323
|
-
const h = C * Math.PI / 180, m = a, A = a * l, x = 2 * Math.PI / i, w = [];
|
|
324
|
-
for (let g = 0; g < i; g += 1) {
|
|
325
|
-
const W = d * Math.PI / 180 + x * g, G = W + x * Math.min(
|
|
326
|
-
1,
|
|
327
|
-
e.value.style.chart.layout.wheel.ticks.spacingRatio3d
|
|
328
|
-
), B = ue({
|
|
329
|
-
cx: t,
|
|
330
|
-
cy: o + I,
|
|
331
|
-
r: m,
|
|
332
|
-
aRad: W,
|
|
333
|
-
ax: h,
|
|
334
|
-
f: k
|
|
335
|
-
}), Z = ue({
|
|
336
|
-
cx: t,
|
|
337
|
-
cy: o + I,
|
|
338
|
-
r: m,
|
|
339
|
-
aRad: G,
|
|
340
|
-
ax: h,
|
|
341
|
-
f: k
|
|
342
|
-
}), K = ue({
|
|
343
|
-
cx: t,
|
|
344
|
-
cy: o + I,
|
|
345
|
-
r: A,
|
|
346
|
-
aRad: G,
|
|
347
|
-
ax: h,
|
|
348
|
-
f: k
|
|
349
|
-
}), J = ue({
|
|
350
|
-
cx: t,
|
|
351
|
-
cy: o + I,
|
|
352
|
-
r: A,
|
|
353
|
-
aRad: W,
|
|
354
|
-
ax: h,
|
|
355
|
-
f: k
|
|
356
|
-
}), ce = (B.z + Z.z + J.z + K.z) / 4, Q = ($ ? $(g) : !0) ? e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
|
|
357
|
-
e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
358
|
-
g * (100 / i) / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
|
|
359
|
-
) : f : M, be = (() => {
|
|
360
|
-
const ve = m * Math.sin(h) || 1;
|
|
361
|
-
return (ce - -ve) / (2 * ve);
|
|
362
|
-
})(), Ce = Ue(Q, be), ee = `M ${B.x} ${B.y} L ${Z.x} ${Z.y} L ${K.x} ${K.y} L ${J.x} ${J.y} Z`;
|
|
363
|
-
w.push({ i: g, d: ee, fill: Ce, z: ce });
|
|
364
|
-
}
|
|
365
|
-
return w.sort((g, W) => g.z - W.z), w;
|
|
366
|
-
}
|
|
367
|
-
const pe = v(() => {
|
|
368
|
-
if (e.value.layout !== "3d") return null;
|
|
369
|
-
const t = L.value;
|
|
370
|
-
return (o) => wt({
|
|
371
|
-
cx: c.value.centerX,
|
|
372
|
-
cy: c.value.centerY,
|
|
373
|
-
radius: c.value.radius,
|
|
374
|
-
innerRatio: e.value.style.chart.layout.wheel.ticks.sizeRatio,
|
|
375
|
-
count: t,
|
|
376
|
-
startDeg: -90,
|
|
377
|
-
axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
|
|
378
|
-
f: Math.min(u.value.width, u.value.height) * 1.45,
|
|
379
|
-
activeColor: e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
380
|
-
inactiveColor: e.value.style.chart.layout.wheel.ticks.inactiveColor,
|
|
381
|
-
getActive: (a) => y.value > a * (100 / t),
|
|
382
|
-
Y: o
|
|
383
|
-
});
|
|
384
|
-
});
|
|
385
|
-
function Ee(t) {
|
|
386
|
-
let o = e.value.style.chart.animation.speed;
|
|
387
|
-
const a = Math.abs(t - y.value) / (o * 120);
|
|
388
|
-
function l() {
|
|
389
|
-
y.value < t ? y.value = Math.min(
|
|
390
|
-
y.value + a,
|
|
391
|
-
t
|
|
392
|
-
) : y.value > t && (y.value = Math.max(
|
|
393
|
-
y.value - a,
|
|
394
|
-
t
|
|
395
|
-
)), y.value !== t && requestAnimationFrame(l);
|
|
396
|
-
}
|
|
397
|
-
l();
|
|
398
|
-
}
|
|
399
|
-
const L = v(() => (e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(
|
|
400
|
-
12,
|
|
401
|
-
Math.min(
|
|
402
|
-
e.value.style.chart.layout.wheel.ticks.quantity,
|
|
403
|
-
200
|
|
404
|
-
)
|
|
405
|
-
))), _ = v(() => 100 / L.value), Ye = v(() => {
|
|
406
|
-
const t = [];
|
|
407
|
-
for (let o = 0; o < L.value; o += 1) {
|
|
408
|
-
const a = y.value > o * _.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: l, y: i } = Xe(
|
|
409
|
-
u.value.size / L.value * o
|
|
410
|
-
), { x: d, y: C } = Xe(
|
|
411
|
-
u.value.size / L.value * o,
|
|
412
|
-
e.value.style.chart.layout.wheel.ticks.sizeRatio
|
|
413
|
-
);
|
|
414
|
-
t.push({
|
|
415
|
-
x1: l,
|
|
416
|
-
y1: i,
|
|
417
|
-
x2: d,
|
|
418
|
-
y2: C,
|
|
419
|
-
color: e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
|
|
420
|
-
a,
|
|
421
|
-
o * _.value / L.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
|
|
422
|
-
) : a
|
|
423
|
-
});
|
|
424
|
-
}
|
|
425
|
-
return t;
|
|
426
|
-
}), bt = v(() => aa(
|
|
427
|
-
{
|
|
428
|
-
series: Ye.value.map((t) => ({
|
|
429
|
-
name: "",
|
|
430
|
-
value: 1,
|
|
431
|
-
color: t.color
|
|
432
|
-
}))
|
|
433
|
-
},
|
|
434
|
-
c.value.centerX,
|
|
435
|
-
c.value.centerY,
|
|
436
|
-
c.value.radius,
|
|
437
|
-
c.value.radius,
|
|
438
|
-
1.99999,
|
|
439
|
-
2,
|
|
440
|
-
1,
|
|
441
|
-
360,
|
|
442
|
-
105.25,
|
|
443
|
-
c.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio)
|
|
444
|
-
)), ie = b(!1);
|
|
445
|
-
function Ve(t) {
|
|
446
|
-
ie.value = t, Se.value += 1;
|
|
447
|
-
}
|
|
448
|
-
const re = b(!1);
|
|
449
|
-
function me() {
|
|
450
|
-
re.value = !re.value;
|
|
451
|
-
}
|
|
452
|
-
async function Ct({ scale: t = 2 } = {}) {
|
|
453
|
-
if (!j.value) return;
|
|
454
|
-
const { width: o, height: a } = j.value.getBoundingClientRect(), l = o / a, { imageUri: i, base64: d } = await ga({
|
|
455
|
-
domElement: j.value,
|
|
456
|
-
base64: !0,
|
|
457
|
-
img: !0,
|
|
458
|
-
scale: t
|
|
459
|
-
});
|
|
460
|
-
return {
|
|
461
|
-
imageUri: i,
|
|
462
|
-
base64: d,
|
|
463
|
-
title: e.value.style.chart.title.text,
|
|
464
|
-
width: o,
|
|
465
|
-
height: a,
|
|
466
|
-
aspectRatio: l
|
|
467
|
-
};
|
|
468
|
-
}
|
|
469
|
-
const xt = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2), Mt = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * 0.75), $t = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth), V = v(() => Math.max(
|
|
470
|
-
1,
|
|
471
|
-
Math.min(20, e.value.style.chart.layout.wheel.ticks.depth3d)
|
|
472
|
-
)), At = v(() => e.value.style.chart.backgroundColor), It = v(() => e.value.style.chart.title), { exportSvg: St, getSvg: Pt } = ha({
|
|
473
|
-
svg: ye,
|
|
474
|
-
title: It,
|
|
475
|
-
backgroundColor: At,
|
|
476
|
-
stretchTitle: !0
|
|
477
|
-
});
|
|
478
|
-
async function Ge({ isCb: t }) {
|
|
479
|
-
le.value = !0, await Jt();
|
|
480
|
-
try {
|
|
481
|
-
if (t) {
|
|
482
|
-
const { blob: o, url: a, text: l, dataUrl: i } = await Pt();
|
|
483
|
-
await Promise.resolve(
|
|
484
|
-
e.value.userOptions.callbacks.svg({
|
|
485
|
-
blob: o,
|
|
486
|
-
url: a,
|
|
487
|
-
text: l,
|
|
488
|
-
dataUrl: i
|
|
489
|
-
})
|
|
490
|
-
);
|
|
491
|
-
} else
|
|
492
|
-
await Promise.resolve(St());
|
|
493
|
-
} finally {
|
|
494
|
-
le.value = !1;
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
function _t(t) {
|
|
498
|
-
if (t?.stage === "start") {
|
|
499
|
-
ae.value = !0;
|
|
500
|
-
return;
|
|
501
|
-
}
|
|
502
|
-
if (t?.stage === "end") {
|
|
503
|
-
ae.value = !1;
|
|
504
|
-
return;
|
|
505
|
-
}
|
|
506
|
-
Fe();
|
|
507
|
-
}
|
|
508
|
-
async function He() {
|
|
509
|
-
if (ht("copyAlt", {
|
|
510
|
-
config: e.value,
|
|
511
|
-
dataset: E.value
|
|
512
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
513
|
-
console.warn(
|
|
514
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
515
|
-
);
|
|
516
|
-
return;
|
|
517
|
-
}
|
|
518
|
-
await Promise.resolve(
|
|
519
|
-
e.value.userOptions.callbacks.altCopy({
|
|
520
|
-
config: e.value,
|
|
521
|
-
dataset: E.value
|
|
522
|
-
})
|
|
523
|
-
);
|
|
524
|
-
}
|
|
525
|
-
const qe = v(() => `${H.value}-title`), Ze = v(() => `${H.value}-desc`), we = v(() => la(
|
|
526
|
-
e.value.style.chart.layout.percentage.formatter,
|
|
527
|
-
tt(y.value),
|
|
528
|
-
oa({
|
|
529
|
-
v: tt(y.value),
|
|
530
|
-
s: "%",
|
|
531
|
-
r: e.value.style.chart.layout.percentage.rounding
|
|
532
|
-
})
|
|
533
|
-
)), Ot = v(() => e.value.style.chart.title.text || ""), Rt = v(() => oe.value ? "..." : `${we.value}`);
|
|
534
|
-
return ot({
|
|
535
|
-
getImage: Ct,
|
|
536
|
-
generatePdf: We,
|
|
537
|
-
generateImage: Fe,
|
|
538
|
-
generateSvg: Ge,
|
|
539
|
-
toggleAnnotator: me,
|
|
540
|
-
toggleFullscreen: Ve,
|
|
541
|
-
copyAlt: He
|
|
542
|
-
}), (t, o) => (s(), n("div", {
|
|
543
|
-
class: F(["vue-ui-wheel", {
|
|
544
|
-
"vue-data-ui-component": !0,
|
|
545
|
-
"vue-ui-wheel-3d-wrap": e.value.layout === "3d"
|
|
546
|
-
}]),
|
|
547
|
-
ref_key: "wheelChart",
|
|
548
|
-
ref: j,
|
|
549
|
-
id: H.value,
|
|
550
|
-
style: Me(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
551
|
-
onMouseenter: o[0] || (o[0] = () => r(Te)(!0)),
|
|
552
|
-
onMouseleave: o[1] || (o[1] = () => r(Te)(!1))
|
|
553
|
-
}, [
|
|
554
|
-
e.value.userOptions.buttons.annotator ? (s(), he(r(nt), {
|
|
555
|
-
key: 0,
|
|
556
|
-
svgRef: r(ye),
|
|
557
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
558
|
-
color: e.value.style.chart.color,
|
|
559
|
-
active: re.value,
|
|
560
|
-
isCursorPointer: ze.value,
|
|
561
|
-
onClose: me
|
|
562
|
-
}, {
|
|
563
|
-
"annotator-action-close": S(() => [
|
|
564
|
-
p(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
565
|
-
]),
|
|
566
|
-
"annotator-action-color": S(({ color: a }) => [
|
|
567
|
-
p(t.$slots, "annotator-action-color", O(R({ color: a })), void 0, !0)
|
|
568
|
-
]),
|
|
569
|
-
"annotator-action-draw": S(({ mode: a }) => [
|
|
570
|
-
p(t.$slots, "annotator-action-draw", O(R({ mode: a })), void 0, !0)
|
|
571
|
-
]),
|
|
572
|
-
"annotator-action-undo": S(({ disabled: a }) => [
|
|
573
|
-
p(t.$slots, "annotator-action-undo", O(R({ disabled: a })), void 0, !0)
|
|
574
|
-
]),
|
|
575
|
-
"annotator-action-redo": S(({ disabled: a }) => [
|
|
576
|
-
p(t.$slots, "annotator-action-redo", O(R({ disabled: a })), void 0, !0)
|
|
577
|
-
]),
|
|
578
|
-
"annotator-action-delete": S(({ disabled: a }) => [
|
|
579
|
-
p(t.$slots, "annotator-action-delete", O(R({ disabled: a })), void 0, !0)
|
|
580
|
-
]),
|
|
581
|
-
_: 3
|
|
582
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : z("", !0),
|
|
583
|
-
ft.value ? (s(), n("div", {
|
|
584
|
-
key: 1,
|
|
585
|
-
ref_key: "noTitle",
|
|
586
|
-
ref: Oe,
|
|
587
|
-
class: "vue-data-ui-no-title-space",
|
|
588
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
589
|
-
}, null, 512)) : z("", !0),
|
|
590
|
-
e.value.style.chart.title.text ? (s(), n("div", {
|
|
591
|
-
key: 2,
|
|
592
|
-
ref_key: "chartTitle",
|
|
593
|
-
ref: Pe,
|
|
594
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
595
|
-
}, [
|
|
596
|
-
(s(), he(pa, {
|
|
597
|
-
key: `title_${Re.value}`,
|
|
598
|
-
config: {
|
|
599
|
-
title: {
|
|
600
|
-
cy: "wheel-title",
|
|
601
|
-
...e.value.style.chart.title
|
|
602
|
-
},
|
|
603
|
-
subtitle: {
|
|
604
|
-
cy: "wheel-subtitle",
|
|
605
|
-
...e.value.style.chart.title.subtitle
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
}, null, 8, ["config"]))
|
|
609
|
-
], 512)) : z("", !0),
|
|
610
|
-
e.value.userOptions.show && dt.value && (r(De) || r(de)) ? (s(), he(r(ut), {
|
|
611
|
-
ref_key: "details",
|
|
612
|
-
ref: yt,
|
|
613
|
-
key: `user_options_${Se.value}`,
|
|
614
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
615
|
-
color: e.value.style.chart.color,
|
|
616
|
-
isPrinting: r(fe),
|
|
617
|
-
isImaging: r(ge),
|
|
618
|
-
uid: H.value,
|
|
619
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
620
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
621
|
-
hasSvg: e.value.userOptions.buttons.svg,
|
|
622
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
623
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
624
|
-
hasXls: !1,
|
|
625
|
-
isFullscreen: ie.value,
|
|
626
|
-
position: e.value.userOptions.position,
|
|
627
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
628
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
629
|
-
isAnnotation: re.value,
|
|
630
|
-
chartElement: j.value,
|
|
631
|
-
callbacks: e.value.userOptions.callbacks,
|
|
632
|
-
printScale: e.value.userOptions.print.scale,
|
|
633
|
-
isCursorPointer: ze.value,
|
|
634
|
-
onToggleFullscreen: Ve,
|
|
635
|
-
onGeneratePdf: r(We),
|
|
636
|
-
onGenerateImage: _t,
|
|
637
|
-
onGenerateSvg: Ge,
|
|
638
|
-
onToggleAnnotator: me,
|
|
639
|
-
onCopyAlt: He,
|
|
640
|
-
style: Me({
|
|
641
|
-
visibility: r(De) ? r(de) ? "visible" : "hidden" : "visible"
|
|
642
|
-
})
|
|
643
|
-
}, Zt({ _: 2 }, [
|
|
644
|
-
t.$slots.menuIcon ? {
|
|
645
|
-
name: "menuIcon",
|
|
646
|
-
fn: S(({ isOpen: a, color: l }) => [
|
|
647
|
-
p(t.$slots, "menuIcon", O(R({ isOpen: a, color: l })), void 0, !0)
|
|
648
|
-
]),
|
|
649
|
-
key: "0"
|
|
650
|
-
} : void 0,
|
|
651
|
-
t.$slots.optionPdf ? {
|
|
652
|
-
name: "optionPdf",
|
|
653
|
-
fn: S(() => [
|
|
654
|
-
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
655
|
-
]),
|
|
656
|
-
key: "1"
|
|
657
|
-
} : void 0,
|
|
658
|
-
t.$slots.optionImg ? {
|
|
659
|
-
name: "optionImg",
|
|
660
|
-
fn: S(() => [
|
|
661
|
-
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
662
|
-
]),
|
|
663
|
-
key: "2"
|
|
664
|
-
} : void 0,
|
|
665
|
-
t.$slots.optionSvg ? {
|
|
666
|
-
name: "optionSvg",
|
|
667
|
-
fn: S(() => [
|
|
668
|
-
p(t.$slots, "optionSvg", {}, void 0, !0)
|
|
669
|
-
]),
|
|
670
|
-
key: "3"
|
|
671
|
-
} : void 0,
|
|
672
|
-
t.$slots.optionFullscreen ? {
|
|
673
|
-
name: "optionFullscreen",
|
|
674
|
-
fn: S(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
675
|
-
p(t.$slots, "optionFullscreen", O(R({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
676
|
-
]),
|
|
677
|
-
key: "4"
|
|
678
|
-
} : void 0,
|
|
679
|
-
t.$slots.optionAnnotator ? {
|
|
680
|
-
name: "optionAnnotator",
|
|
681
|
-
fn: S(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
682
|
-
p(t.$slots, "optionAnnotator", O(R({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
683
|
-
]),
|
|
684
|
-
key: "5"
|
|
685
|
-
} : void 0,
|
|
686
|
-
t.$slots.optionAltCopy ? {
|
|
687
|
-
name: "optionAltCopy",
|
|
688
|
-
fn: S(({ altCopy: a }) => [
|
|
689
|
-
p(t.$slots, "optionAltCopy", O(R({ altCopy: a })), void 0, !0)
|
|
690
|
-
]),
|
|
691
|
-
key: "6"
|
|
692
|
-
} : void 0
|
|
693
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "hasAltCopy", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "isCursorPointer", "onGeneratePdf", "style"])) : z("", !0),
|
|
694
|
-
(s(), n("svg", {
|
|
695
|
-
ref_key: "svgRef",
|
|
696
|
-
ref: ye,
|
|
697
|
-
xmlns: r(sa),
|
|
698
|
-
class: F({
|
|
699
|
-
"vue-data-ui-fullscreen--on": ie.value,
|
|
700
|
-
"vue-data-ui-fulscreen--off": !ie.value,
|
|
701
|
-
"vue-ui-wheel-3d-svg": e.value.layout === "3d"
|
|
702
|
-
}),
|
|
703
|
-
viewBox: e.value.layout === "3d" && !e.value.responsive ? `${U.value?.x - 10} ${U.value?.y ?? 0} ${U.value?.w + 20} ${U.value?.h ?? Math.max(10, u.value.height)}` : `0 0 ${Math.max(10, u.value.width)} ${Math.max(10, u.value.height)}`,
|
|
704
|
-
style: Me(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
|
|
705
|
-
role: "img",
|
|
706
|
-
"aria-labelledby": qe.value,
|
|
707
|
-
"aria-describedby": Ze.value
|
|
708
|
-
}, [
|
|
709
|
-
$e("title", { id: qe.value }, Ae(Ot.value), 9, xa),
|
|
710
|
-
$e("desc", { id: Ze.value }, Ae(Rt.value), 9, Ma),
|
|
711
|
-
Kt(r(it)),
|
|
712
|
-
t.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
713
|
-
key: 0,
|
|
714
|
-
x: e.value.layout === "3d" && !e.value.responsive ? U.value?.x - 10 : 0,
|
|
715
|
-
y: e.value.layout === "3d" && !e.value.responsive ? U.value?.y ?? 0 : 0,
|
|
716
|
-
width: e.value.layout === "3d" && !e.value.responsive ? U.value?.w + 20 : Math.max(10, u.value.width),
|
|
717
|
-
height: e.value.layout === "3d" && !e.value.responsive ? U.value?.h ?? Math.max(10, u.value.height) : Math.max(10, u.value.height),
|
|
718
|
-
style: {
|
|
719
|
-
pointerEvents: "none"
|
|
720
|
-
}
|
|
721
|
-
}, [
|
|
722
|
-
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
723
|
-
], 8, $a)) : z("", !0),
|
|
724
|
-
e.value.layout === "3d" && Be.value ? (s(), n("path", {
|
|
725
|
-
key: 1,
|
|
726
|
-
class: "vue-ui-wheel-inner-circle",
|
|
727
|
-
d: Be.value.d,
|
|
728
|
-
stroke: e.value.style.chart.layout.innerCircle.stroke,
|
|
729
|
-
"stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
|
|
730
|
-
fill: "none"
|
|
731
|
-
}, null, 8, Aa)) : e.value.style.chart.layout.innerCircle.show ? (s(), n("circle", {
|
|
732
|
-
key: 2,
|
|
733
|
-
class: "vue-ui-wheel-inner-circle",
|
|
734
|
-
cx: c.value.centerX,
|
|
735
|
-
cy: c.value.centerY,
|
|
736
|
-
r: Math.max(
|
|
737
|
-
0,
|
|
738
|
-
c.value.radius * e.value.style.chart.layout.innerCircle.radiusRatio * 0.8
|
|
739
|
-
),
|
|
740
|
-
stroke: e.value.style.chart.layout.innerCircle.stroke,
|
|
741
|
-
"stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
|
|
742
|
-
fill: "none"
|
|
743
|
-
}, null, 8, Ia)) : z("", !0),
|
|
744
|
-
e.value.layout === "3d" ? (s(), n(P, { key: 3 }, [
|
|
745
|
-
e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(), n("g", Sa, [
|
|
746
|
-
(s(!0), n(P, null, X(V.value, (a) => (s(), n("g", null, [
|
|
747
|
-
(s(!0), n(P, null, X(Le.value || [], (l) => (s(), n("line", {
|
|
748
|
-
key: l.i,
|
|
749
|
-
x1: l.x1,
|
|
750
|
-
y1: l.y1 - a,
|
|
751
|
-
x2: l.x2,
|
|
752
|
-
y2: l.y2 - a,
|
|
753
|
-
stroke: r(at)(l.color, 0.25 * a / 5),
|
|
754
|
-
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height),
|
|
755
|
-
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
756
|
-
class: F({
|
|
757
|
-
"vue-ui-wheel-tick": !0,
|
|
758
|
-
"vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l.i * _.value <= y.value
|
|
759
|
-
})
|
|
760
|
-
}, null, 10, Pa))), 128))
|
|
761
|
-
]))), 256)),
|
|
762
|
-
(s(!0), n(P, null, X(Le.value || [], (a) => (s(), n("line", {
|
|
763
|
-
key: a.i,
|
|
764
|
-
x1: a.x1,
|
|
765
|
-
y1: a.y1 - V.value,
|
|
766
|
-
x2: a.x2,
|
|
767
|
-
y2: a.y2 - V.value,
|
|
768
|
-
stroke: a.color,
|
|
769
|
-
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height),
|
|
770
|
-
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
771
|
-
class: F({
|
|
772
|
-
"vue-ui-wheel-tick": !0,
|
|
773
|
-
"vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && a.i * _.value <= y.value
|
|
774
|
-
})
|
|
775
|
-
}, null, 10, _a))), 128))
|
|
776
|
-
])) : (s(), n("g", Oa, [
|
|
777
|
-
(s(!0), n(P, null, X(V.value, (a) => (s(), n("g", null, [
|
|
778
|
-
(s(!0), n(P, null, X(pe.value(-a) || [], (l) => (s(), n("path", {
|
|
779
|
-
key: l.i,
|
|
780
|
-
d: l.d,
|
|
781
|
-
fill: e.value.style.chart.layout.wheel.ticks.inactiveColor,
|
|
782
|
-
stroke: e.value.style.chart.layout.wheel.ticks.stroke,
|
|
783
|
-
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
|
|
784
|
-
"stroke-linecap": "round",
|
|
785
|
-
"stroke-linejoin": "round",
|
|
786
|
-
class: "vue-ui-wheel-tick"
|
|
787
|
-
}, null, 8, Ra))), 128)),
|
|
788
|
-
(s(!0), n(P, null, X(pe.value(-a) || [], (l) => (s(), n("path", {
|
|
789
|
-
key: l.i,
|
|
790
|
-
d: l.d,
|
|
791
|
-
fill: r(at)(l.fill, 0.5 * a / V.value),
|
|
792
|
-
stroke: e.value.style.chart.layout.wheel.ticks.stroke,
|
|
793
|
-
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
|
|
794
|
-
"stroke-linecap": "round",
|
|
795
|
-
"stroke-linejoin": "round",
|
|
796
|
-
class: F({
|
|
797
|
-
"vue-ui-wheel-tick": !0,
|
|
798
|
-
"vue-ui-tick-animated-3d": e.value.style.chart.animation.use && !r(T) && l.i * _.value <= y.value
|
|
799
|
-
})
|
|
800
|
-
}, null, 10, za))), 128))
|
|
801
|
-
]))), 256)),
|
|
802
|
-
$e("g", null, [
|
|
803
|
-
(s(!0), n(P, null, X(pe.value(-V.value) || [], (a) => (s(), n("path", {
|
|
804
|
-
key: a.i,
|
|
805
|
-
d: a.d,
|
|
806
|
-
fill: a.fill,
|
|
807
|
-
stroke: e.value.style.chart.layout.wheel.ticks.stroke,
|
|
808
|
-
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
|
|
809
|
-
"stroke-linecap": "round",
|
|
810
|
-
"stroke-linejoin": "round",
|
|
811
|
-
class: F({
|
|
812
|
-
"vue-ui-wheel-tick": !0,
|
|
813
|
-
"vue-ui-tick-animated-3d": e.value.style.chart.animation.use && !r(T) && a.i * _.value <= y.value
|
|
814
|
-
})
|
|
815
|
-
}, null, 10, Ta))), 128))
|
|
816
|
-
])
|
|
817
|
-
]))
|
|
818
|
-
], 64)) : (s(), n(P, { key: 4 }, [
|
|
819
|
-
e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(!0), n(P, { key: 0 }, X(Ye.value, (a, l) => (s(), n("line", {
|
|
820
|
-
x1: a.x1,
|
|
821
|
-
x2: a.x2,
|
|
822
|
-
y1: a.y1,
|
|
823
|
-
y2: a.y2,
|
|
824
|
-
stroke: a.color,
|
|
825
|
-
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height),
|
|
826
|
-
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
827
|
-
class: F({
|
|
828
|
-
"vue-ui-wheel-tick": !0,
|
|
829
|
-
"vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l * _.value <= y.value
|
|
830
|
-
})
|
|
831
|
-
}, null, 10, Da))), 256)) : (s(!0), n(P, { key: 1 }, X(bt.value, (a, l) => (s(), n("path", {
|
|
832
|
-
d: a.arcSlice,
|
|
833
|
-
fill: a.color,
|
|
834
|
-
class: F({
|
|
835
|
-
"vue-ui-wheel-tick": !0,
|
|
836
|
-
"vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l * _.value <= y.value
|
|
837
|
-
}),
|
|
838
|
-
stroke: e.value.style.chart.layout.wheel.ticks.stroke,
|
|
839
|
-
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth
|
|
840
|
-
}, null, 10, Wa))), 256))
|
|
841
|
-
], 64)),
|
|
842
|
-
e.value.style.chart.layout.percentage.show ? (s(), n("g", {
|
|
843
|
-
key: 5,
|
|
844
|
-
role: "status",
|
|
845
|
-
"aria-live": "polite",
|
|
846
|
-
"aria-label": r(oe) ? "..." : we.value
|
|
847
|
-
}, [
|
|
848
|
-
r(oe) ? (s(), n("rect", {
|
|
849
|
-
key: 0,
|
|
850
|
-
x: c.value.centerX - 40,
|
|
851
|
-
y: c.value.centerY - q.value / 2,
|
|
852
|
-
width: 80,
|
|
853
|
-
height: q.value,
|
|
854
|
-
fill: "#6A6A6A80",
|
|
855
|
-
rx: "3"
|
|
856
|
-
}, null, 8, Xa)) : (s(), n("text", {
|
|
857
|
-
key: 1,
|
|
858
|
-
"aria-hidden": "true",
|
|
859
|
-
x: c.value.centerX + e.value.style.chart.layout.percentage.offsetX,
|
|
860
|
-
y: c.value.centerY + q.value / 3 + e.value.style.chart.layout.percentage.offsetY,
|
|
861
|
-
"font-size": q.value,
|
|
862
|
-
fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? r(te)(
|
|
863
|
-
e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
864
|
-
y.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
|
|
865
|
-
) : e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
866
|
-
"text-anchor": "middle",
|
|
867
|
-
"font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
|
|
868
|
-
style: { "font-variant-numeric": "tabluar-nums" },
|
|
869
|
-
stroke: e.value.style.chart.layout.percentage.stroke,
|
|
870
|
-
"stroke-width": e.value.style.chart.layout.percentage.strokeWidth,
|
|
871
|
-
"stroke-linecap": "round",
|
|
872
|
-
"stroke-linejoin": "round",
|
|
873
|
-
"paint-order": "stroke fill",
|
|
874
|
-
class: F({
|
|
875
|
-
"vue-ui-wheel-label": e.value.layout === "3d"
|
|
876
|
-
})
|
|
877
|
-
}, Ae(we.value), 11, Na))
|
|
878
|
-
], 8, Fa)) : z("", !0),
|
|
879
|
-
p(t.$slots, "svg", {
|
|
880
|
-
svg: {
|
|
881
|
-
...u.value,
|
|
882
|
-
isPrintingImg: r(fe) | r(ge) | ae.value,
|
|
883
|
-
isPrintingSvg: le.value
|
|
884
|
-
}
|
|
885
|
-
}, void 0, !0)
|
|
886
|
-
], 14, Ca)),
|
|
887
|
-
t.$slots.watermark ? (s(), n("div", Ua, [
|
|
888
|
-
p(t.$slots, "watermark", O(R({
|
|
889
|
-
isPrinting: r(fe) || r(ge) || ae.value || le.value
|
|
890
|
-
})), void 0, !0)
|
|
891
|
-
])) : z("", !0),
|
|
892
|
-
t.$slots.source ? (s(), n("div", {
|
|
893
|
-
key: 5,
|
|
894
|
-
ref_key: "source",
|
|
895
|
-
ref: _e,
|
|
896
|
-
dir: "auto"
|
|
897
|
-
}, [
|
|
898
|
-
p(t.$slots, "source", {}, void 0, !0)
|
|
899
|
-
], 512)) : z("", !0),
|
|
900
|
-
p(t.$slots, "skeleton", {}, () => [
|
|
901
|
-
r(oe) ? (s(), he(ca, { key: 0 })) : z("", !0)
|
|
902
|
-
], !0)
|
|
903
|
-
], 46, ba));
|
|
904
|
-
}
|
|
905
|
-
}, sl = /* @__PURE__ */ wa(La, [["__scopeId", "data-v-a8024644"]]);
|
|
906
|
-
export {
|
|
907
|
-
sl as default
|
|
908
|
-
};
|