vue-data-ui 3.26.5 → 3.27.1-beta.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/dist/A11yDataTable-DWNlWXzs.js +1 -0
- package/dist/Arrow-CJeSufxg.js +1 -0
- package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
- package/dist/BaseIcon-Cz30ODFA.js +1 -0
- package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
- package/dist/ColorPicker-CUjEw53A.js +1 -0
- package/dist/DataTable-DSUA5M9p.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-DdvXld3a.js +1 -0
- package/dist/Legend-DokTll4u.js +1 -0
- package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
- package/dist/PackageVersion-D6pKL176.js +1 -0
- package/dist/PenAndPaper-DvJJaeU2.js +1 -0
- package/dist/RecursiveCircles-BftI1kwF.js +1 -0
- package/dist/RecursiveLabels-B0d04xSj.js +1 -0
- package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
- package/dist/Shape-tkp65OcG.js +1 -0
- package/dist/SlicerPreview-GFRs2EWB.js +1 -0
- package/dist/SparkTooltip-BlJLvizH.js +1 -0
- package/dist/Title-BRAjxtjG.js +1 -0
- package/dist/Tooltip-BUXB0i6z.js +1 -0
- package/dist/UserOptions-D65t74CM.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-NwZO-elv.js +1 -0
- package/dist/components/arrow.js +1 -2
- package/dist/components/vue-ui-3d-bar.js +1 -2
- package/dist/components/vue-ui-accordion.js +1 -2
- package/dist/components/vue-ui-age-pyramid.js +1 -2
- package/dist/components/vue-ui-annotator.js +1 -2
- package/dist/components/vue-ui-bullet.js +1 -2
- package/dist/components/vue-ui-bump.js +1 -2
- package/dist/components/vue-ui-candlestick.js +1 -2
- package/dist/components/vue-ui-carousel-table.js +1 -2
- package/dist/components/vue-ui-chestnut.js +1 -2
- package/dist/components/vue-ui-chord.js +1 -2
- package/dist/components/vue-ui-circle-pack.js +1 -2
- package/dist/components/vue-ui-cursor.js +1 -2
- package/dist/components/vue-ui-dag.js +1 -2
- package/dist/components/vue-ui-dashboard.js +1 -2
- package/dist/components/vue-ui-digits.js +1 -2
- package/dist/components/vue-ui-donut-evolution.js +1 -2
- package/dist/components/vue-ui-donut.js +1 -2
- package/dist/components/vue-ui-dumbbell.js +1 -2
- package/dist/components/vue-ui-flow.js +1 -2
- package/dist/components/vue-ui-funnel.js +1 -2
- package/dist/components/vue-ui-galaxy.js +1 -2
- package/dist/components/vue-ui-gauge.js +1 -2
- package/dist/components/vue-ui-geo.js +1 -2
- package/dist/components/vue-ui-gizmo.js +1 -2
- package/dist/components/vue-ui-heatmap.js +1 -2
- package/dist/components/vue-ui-hill.js +1 -2
- package/dist/components/vue-ui-history-plot.js +1 -2
- package/dist/components/vue-ui-horizontal-bar.js +1 -2
- package/dist/components/vue-ui-icon.js +1 -2
- package/dist/components/vue-ui-kpi.js +1 -2
- package/dist/components/vue-ui-label.js +1 -2
- package/dist/components/vue-ui-mini-loader.js +1 -2
- package/dist/components/vue-ui-molecule.js +1 -2
- package/dist/components/vue-ui-mood-radar.js +1 -2
- package/dist/components/vue-ui-nested-donuts.js +1 -2
- package/dist/components/vue-ui-onion.js +1 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
- package/dist/components/vue-ui-pattern-seed.js +1 -2
- package/dist/components/vue-ui-pattern.js +1 -2
- package/dist/components/vue-ui-quadrant.js +1 -2
- package/dist/components/vue-ui-quick-chart.js +1 -2
- package/dist/components/vue-ui-radar.js +1 -2
- package/dist/components/vue-ui-rating.js +1 -2
- package/dist/components/vue-ui-relation-circle.js +1 -2
- package/dist/components/vue-ui-ridgeline.js +1 -2
- package/dist/components/vue-ui-rings.js +1 -2
- package/dist/components/vue-ui-scatter.js +1 -2
- package/dist/components/vue-ui-skeleton.js +1 -2
- package/dist/components/vue-ui-smiley.js +1 -2
- package/dist/components/vue-ui-spark-trend.js +1 -2
- package/dist/components/vue-ui-sparkbar.js +1 -2
- package/dist/components/vue-ui-sparkgauge.js +1 -2
- package/dist/components/vue-ui-sparkhistogram.js +1 -2
- package/dist/components/vue-ui-sparkline.js +1 -2
- package/dist/components/vue-ui-sparkstackbar.js +1 -2
- package/dist/components/vue-ui-stackbar.js +1 -2
- package/dist/components/vue-ui-stackline.js +1 -2
- package/dist/components/vue-ui-strip-plot.js +1 -2
- package/dist/components/vue-ui-table-heatmap.js +1 -2
- package/dist/components/vue-ui-table-sparkline.js +1 -2
- package/dist/components/vue-ui-table.js +1 -2
- package/dist/components/vue-ui-thermometer.js +1 -2
- package/dist/components/vue-ui-timer.js +1 -2
- package/dist/components/vue-ui-tiremarks.js +1 -2
- package/dist/components/vue-ui-treemap.js +1 -2
- package/dist/components/vue-ui-vertical-bar.js +1 -2
- package/dist/components/vue-ui-waffle.js +1 -2
- package/dist/components/vue-ui-wheel.js +1 -2
- package/dist/components/vue-ui-word-cloud.js +1 -2
- package/dist/components/vue-ui-world.js +1 -2
- package/dist/components/vue-ui-xy-canvas.js +1 -2
- package/dist/components/vue-ui-xy.js +1 -2
- package/dist/composables.js +1 -5
- package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
- package/dist/exposedLib-CMTeSmyW.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-8sM3sVWU.js +1 -0
- package/dist/labelUtils-Djp5nJtN.js +1 -0
- package/dist/lib-zDxoqrgo.js +12 -0
- package/dist/package-DIR2F6AE.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-Dlv_ks7R.js +1 -0
- package/dist/render-common-DOYi0f4Z.js +1 -0
- package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
- package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/ssr/vue-ui-donut.js +1 -2
- package/dist/ssr/vue-ui-xy.js +1 -2
- package/dist/ssr.js +1 -3
- package/dist/style.css +1 -1
- package/dist/tableIntegration-CNoJ1CIY.js +1 -0
- package/dist/types/composables.d.ts +12 -12
- package/dist/types/ssr.d.ts +84 -84
- package/dist/types/utils.d.ts +82 -73
- package/dist/types/vue-data-ui.d.ts +17969 -17813
- package/dist/types/vue-ui-3d-bar.d.ts +24 -91
- package/dist/types/vue-ui-accordion.d.ts +2 -10
- package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
- package/dist/types/vue-ui-annotator.d.ts +12 -88
- package/dist/types/vue-ui-bullet.d.ts +21 -83
- package/dist/types/vue-ui-bump.d.ts +23 -90
- package/dist/types/vue-ui-candlestick.d.ts +27 -108
- package/dist/types/vue-ui-carousel-table.d.ts +11 -57
- package/dist/types/vue-ui-chestnut.d.ts +27 -96
- package/dist/types/vue-ui-chord.d.ts +31 -108
- package/dist/types/vue-ui-circle-pack.d.ts +30 -124
- package/dist/types/vue-ui-cursor.d.ts +2 -8
- package/dist/types/vue-ui-dag.d.ts +35 -125
- package/dist/types/vue-ui-dashboard.d.ts +18 -66
- package/dist/types/vue-ui-digits.d.ts +2 -11
- package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
- package/dist/types/vue-ui-donut.d.ts +31 -121
- package/dist/types/vue-ui-dumbbell.d.ts +24 -92
- package/dist/types/vue-ui-flow.d.ts +28 -104
- package/dist/types/vue-ui-funnel.d.ts +18 -77
- package/dist/types/vue-ui-galaxy.d.ts +30 -112
- package/dist/types/vue-ui-gauge.d.ts +22 -87
- package/dist/types/vue-ui-geo.d.ts +22 -92
- package/dist/types/vue-ui-gizmo.d.ts +5 -20
- package/dist/types/vue-ui-heatmap.d.ts +25 -101
- package/dist/types/vue-ui-hill.d.ts +22 -88
- package/dist/types/vue-ui-history-plot.d.ts +30 -112
- package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
- package/dist/types/vue-ui-icon.d.ts +1 -13
- package/dist/types/vue-ui-kpi.d.ts +5 -23
- package/dist/types/vue-ui-label.d.ts +11 -48
- package/dist/types/vue-ui-mini-loader.d.ts +4 -13
- package/dist/types/vue-ui-molecule.d.ts +27 -110
- package/dist/types/vue-ui-mood-radar.d.ts +23 -90
- package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
- package/dist/types/vue-ui-onion.d.ts +26 -104
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
- package/dist/types/vue-ui-pattern.d.ts +1 -13
- package/dist/types/vue-ui-quadrant.d.ts +33 -123
- package/dist/types/vue-ui-quick-chart.d.ts +30 -110
- package/dist/types/vue-ui-radar.d.ts +31 -114
- package/dist/types/vue-ui-rating.d.ts +8 -40
- package/dist/types/vue-ui-relation-circle.d.ts +26 -90
- package/dist/types/vue-ui-ridgeline.d.ts +27 -104
- package/dist/types/vue-ui-rings.d.ts +21 -96
- package/dist/types/vue-ui-scatter.d.ts +22 -95
- package/dist/types/vue-ui-skeleton.d.ts +2 -10
- package/dist/types/vue-ui-smiley.d.ts +6 -26
- package/dist/types/vue-ui-spark-trend.d.ts +2 -18
- package/dist/types/vue-ui-sparkbar.d.ts +10 -47
- package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
- package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
- package/dist/types/vue-ui-sparkline.d.ts +16 -61
- package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
- package/dist/types/vue-ui-stackbar.d.ts +36 -120
- package/dist/types/vue-ui-stackline.d.ts +29 -116
- package/dist/types/vue-ui-strip-plot.d.ts +22 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
- package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
- package/dist/types/vue-ui-table.d.ts +9 -36
- package/dist/types/vue-ui-thermometer.d.ts +14 -68
- package/dist/types/vue-ui-timer.d.ts +10 -47
- package/dist/types/vue-ui-tiremarks.d.ts +14 -68
- package/dist/types/vue-ui-treemap.d.ts +26 -105
- package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
- package/dist/types/vue-ui-waffle.d.ts +23 -99
- package/dist/types/vue-ui-wheel.d.ts +14 -68
- package/dist/types/vue-ui-word-cloud.d.ts +20 -95
- package/dist/types/vue-ui-world.d.ts +22 -96
- package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
- package/dist/types/vue-ui-xy.d.ts +42 -146
- package/dist/unpackTheme-CNsFKCeq.js +1 -0
- package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
- package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
- package/dist/useChartExport-DtPNpc9M.js +1 -0
- package/dist/useConfig-CKdzPrcf.js +1 -0
- package/dist/useFitSvgText-C1QC4P5G.js +1 -0
- package/dist/useHints-BH9r_0Vd.js +6 -0
- package/dist/useNestedProp-CT9phgWx.js +1 -0
- package/dist/useObjectBindings-DM3xDKV3.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-CnyKPIFM.js +1 -0
- package/dist/useResponsive-D2CPcpda.js +1 -0
- package/dist/useStableElementSize-CegFbRlF.js +1 -0
- package/dist/useTableResponsive-uSz_qZOB.js +1 -0
- package/dist/useThemeCheck-BKNRbGeC.js +1 -0
- package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
- package/dist/useTimeLabels-Das5O74F.js +1 -0
- package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
- package/dist/useTransitions-DfSHzsdz.js +1 -0
- package/dist/useUserOptionState-CXlFnwPv.js +1 -0
- package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
- package/dist/utils.js +1 -30
- package/dist/vClickOutside-BxNzkY17.js +1 -0
- package/dist/vue-data-ui-BG41UScx.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
- package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
- package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
- package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
- package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
- package/dist/vue-ui-bump-DYajIrva.js +10 -0
- package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
- package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
- package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
- package/dist/vue-ui-chord-fAckHfOW.js +21 -0
- package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
- package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
- package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
- package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
- package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
- package/dist/vue-ui-donut-BaEodt-3.js +22 -0
- package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
- package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
- package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
- package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
- package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
- package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
- package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
- package/dist/vue-ui-geo-CX3yH18H.js +1 -0
- package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
- package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
- package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
- package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
- package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
- package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
- package/dist/vue-ui-label-D1Aog-zO.js +7 -0
- package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
- package/dist/vue-ui-molecule-B13qVX71.js +1 -0
- package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
- package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
- package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
- package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
- package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
- package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
- package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
- package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
- package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
- package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
- package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
- package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
- package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
- package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
- package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
- package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
- package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
- package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
- package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
- package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
- package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
- package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
- package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
- package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
- package/dist/vue-ui-table-Br2JgD_L.js +14 -0
- package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
- package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
- package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
- package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
- package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
- package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
- package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
- package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
- package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
- package/dist/vue-ui-world-Cp0DeauH.js +19 -0
- package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
- package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
- package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
- package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
- package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
- package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
- package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
- package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
- package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
- package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
- package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
- package/dist/vue_ui_dag-1b_dLSym.js +1 -0
- package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
- package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
- package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
- package/dist/vue_ui_flow-kvV56Es9.js +1 -0
- package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
- package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
- package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
- package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
- package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
- package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
- package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
- package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
- package/dist/vue_ui_label-dtPqyFsj.js +1 -0
- package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
- package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
- package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
- package/dist/vue_ui_onion-C9BedU_-.js +1 -0
- package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
- package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
- package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
- package/dist/vue_ui_radar-68iK9Fam.js +1 -0
- package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
- package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
- package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
- package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
- package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
- package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
- package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
- package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
- package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
- package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
- package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
- package/dist/vue_ui_stackline-D7b63K84.js +1 -0
- package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
- package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
- package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
- package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
- package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
- package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
- package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
- package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
- package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
- package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
- package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
- package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
- package/package.json +2 -2
- package/dist/A11yDataTable-DdRsVULz.js +0 -45
- package/dist/Arrow-BQbcOtfC.js +0 -116
- package/dist/BaseDraggableDialog-BCFCiP_6.js +0 -272
- package/dist/BaseIcon-CIK6Sqo3.js +0 -484
- package/dist/BaseLegendToggle-Doa5rYP2.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-BGQM8B5F.js +0 -111
- package/dist/ColorPicker-Cb7qpvFt.js +0 -257
- package/dist/DataTable-B6LDCXBz.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-CwdgCb7Q.js +0 -187
- package/dist/Legend-D9FGXIbQ.js +0 -156
- package/dist/NonSvgPenAndPaper-9T4MSwXC.js +0 -577
- package/dist/PackageVersion-CslTvFsC.js +0 -12
- package/dist/PenAndPaper-C1EcBgJW.js +0 -906
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-BZgQLgu5.js +0 -143
- package/dist/SlicerPreview-DyYv_G-_.js +0 -1730
- package/dist/SparkTooltip-D4cRlyuq.js +0 -93
- package/dist/Title-Bd98RysU.js +0 -87
- package/dist/Tooltip-DmQeI5WE.js +0 -312
- package/dist/UserOptions-B_yBcZ1-.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-B_RJohlM.js +0 -237
- package/dist/exposedLib-C-JlvWAt.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-KURaWjZI.js +0 -129
- package/dist/labelUtils-DShv2Mbg.js +0 -19
- package/dist/lib-TWIH5fGr.js +0 -2152
- package/dist/package-DbTqd5lc.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-CLl24Afl.js +0 -90
- package/dist/render-common-CKv-jztN.js +0 -152
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useChartExport-iwOqiIWX.js +0 -803
- package/dist/useConfig-DObkR9Aa.js +0 -8008
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-BxOdWM0c.js +0 -12
- package/dist/useObjectBindings-CPmyIJxB.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-8Y1Rju0Y.js +0 -49
- package/dist/useResponsive-ZtArZtUf.js +0 -97
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useTableResponsive-BAqJPR68.js +0 -25
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-d2f-W1L4.js +0 -270
- package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
- package/dist/useTransitions-g_zBREk2.js +0 -39
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-C3G5Zdl5.js +0 -191
- package/dist/vue-ui-3d-bar-Cl6-fBV8.js +0 -1831
- package/dist/vue-ui-accordion-AyyZDab3.js +0 -81
- package/dist/vue-ui-age-pyramid-DOtWAL8s.js +0 -1305
- package/dist/vue-ui-annotator-BCVjlojM.js +0 -3325
- package/dist/vue-ui-bullet-B_1Ctjvq.js +0 -702
- package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
- package/dist/vue-ui-candlestick-KvhjbAxt.js +0 -2144
- package/dist/vue-ui-carousel-table-ArMiO0cG.js +0 -467
- package/dist/vue-ui-chestnut-DSM0U27X.js +0 -2016
- package/dist/vue-ui-chord-64akfaem.js +0 -1347
- package/dist/vue-ui-circle-pack-CaR_aNEh.js +0 -1647
- package/dist/vue-ui-cursor-DCgqYZiz.js +0 -283
- package/dist/vue-ui-dag-8uKK0Rlp.js +0 -2931
- package/dist/vue-ui-dashboard-DeccYtSY.js +0 -522
- package/dist/vue-ui-digits-BvK7bVuJ.js +0 -217
- package/dist/vue-ui-donut-8joMj08Z.js +0 -974
- package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
- package/dist/vue-ui-donut-evolution-DgITf95R.js +0 -1869
- package/dist/vue-ui-dumbbell-U2L4ZYhB.js +0 -1533
- package/dist/vue-ui-flow-DD20fJu_.js +0 -1229
- package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
- package/dist/vue-ui-galaxy-VZFZnHPv.js +0 -1097
- package/dist/vue-ui-gauge-Copa7G58.js +0 -934
- package/dist/vue-ui-geo-DeDQ6ubl.js +0 -1495
- package/dist/vue-ui-gizmo-D5oUKIsP.js +0 -238
- package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
- package/dist/vue-ui-hill-DONFacXR.js +0 -1747
- package/dist/vue-ui-history-plot-BMy_y9S6.js +0 -1710
- package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
- package/dist/vue-ui-kpi-Bol0OWs3.js +0 -104
- package/dist/vue-ui-label-cwjXaEDQ.js +0 -1451
- package/dist/vue-ui-mini-loader-kdpasmXb.js +0 -133
- package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
- package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
- package/dist/vue-ui-nested-donuts-ZmGGEvRk.js +0 -1515
- package/dist/vue-ui-onion-D6IKPpL-.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-CueHa1Pm.js +0 -1979
- package/dist/vue-ui-quick-chart-C8ZxX1Zw.js +0 -2775
- package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
- package/dist/vue-ui-rating-V_OnJN9Y.js +0 -359
- package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
- package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
- package/dist/vue-ui-rings-Bf9IKwDr.js +0 -1264
- package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
- package/dist/vue-ui-skeleton-dyXWT6JX.js +0 -2567
- package/dist/vue-ui-smiley-w6nH1I0E.js +0 -376
- package/dist/vue-ui-spark-trend-Bso9bwmY.js +0 -457
- package/dist/vue-ui-sparkbar-CL06Yt56.js +0 -401
- package/dist/vue-ui-sparkgauge-BHDM5Hbr.js +0 -268
- package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
- package/dist/vue-ui-sparkline-znaswFQj.js +0 -2067
- package/dist/vue-ui-sparkstackbar-BOzVoWoa.js +0 -750
- package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
- package/dist/vue-ui-stackline-qcLrNL09.js +0 -2829
- package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
- package/dist/vue-ui-table-D295mJIf.js +0 -1352
- package/dist/vue-ui-table-heatmap-CXeMKqKz.js +0 -363
- package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
- package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
- package/dist/vue-ui-timer-BULpjYiI.js +0 -451
- package/dist/vue-ui-tiremarks-B7bTeU8h.js +0 -540
- package/dist/vue-ui-treemap-DkqDz9W4.js +0 -1745
- package/dist/vue-ui-waffle-Cn7WBzqh.js +0 -1633
- package/dist/vue-ui-wheel-Cy7kBvEx.js +0 -873
- package/dist/vue-ui-word-cloud-tRqc2ZMR.js +0 -1723
- package/dist/vue-ui-world-B755-zji.js +0 -3021
- package/dist/vue-ui-xy-BiHIJ7rK.js +0 -1387
- package/dist/vue-ui-xy-DWYTZz_v.js +0 -5777
- package/dist/vue-ui-xy-canvas-DGuMC_Rf.js +0 -2151
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_hill-dnltu0L-.js +0 -368
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-DdjDL6aq.js +0 -491
- package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
- package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-CcJADijP.js +0 -614
- package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
|
@@ -1,873 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ft as n, Jt as r, Pt as i, Rt as a, X as o, at as s, b as c, i as l, t as u, tn as d } from "./lib-TWIH5fGr.js";
|
|
3
|
-
import { n as f, t as p } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as m } from "./useConfig-DObkR9Aa.js";
|
|
5
|
-
import { t as h } from "./usePrinter-8Y1Rju0Y.js";
|
|
6
|
-
import { n as g, t as ee } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as _ } from "./useNestedProp-BxOdWM0c.js";
|
|
8
|
-
import { t as v } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as y } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as te } from "./img-KURaWjZI.js";
|
|
11
|
-
import { n as ne } from "./Title-Bd98RysU.js";
|
|
12
|
-
import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import { l as b, t as ie } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
-
import { t as ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
-
import { t as oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as se } from "./usePrefersMotion-BC-CsqR1.js";
|
|
17
|
-
import { t as ce } from "./vue_ui_wheel-DZ_nR--t.js";
|
|
18
|
-
import { Fragment as x, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as le, createSlots as ue, createVNode as de, defineAsyncComponent as fe, guardReactiveProps as E, normalizeClass as D, normalizeProps as O, normalizeStyle as pe, onBeforeUnmount as me, onMounted as he, openBlock as k, ref as A, renderList as j, renderSlot as M, shallowRef as ge, toDisplayString as _e, toRefs as ve, unref as N, useCssVars as ye, watch as be, withCtx as P } from "vue";
|
|
19
|
-
//#region src/components/vue-ui-wheel.vue
|
|
20
|
-
var xe = /* @__PURE__ */ e({ default: () => He }), Se = ["id"], Ce = [
|
|
21
|
-
"xmlns",
|
|
22
|
-
"viewBox",
|
|
23
|
-
"aria-labelledby",
|
|
24
|
-
"aria-describedby"
|
|
25
|
-
], we = ["id"], Te = ["id"], Ee = [
|
|
26
|
-
"x",
|
|
27
|
-
"y",
|
|
28
|
-
"width",
|
|
29
|
-
"height"
|
|
30
|
-
], De = [
|
|
31
|
-
"d",
|
|
32
|
-
"stroke",
|
|
33
|
-
"stroke-width"
|
|
34
|
-
], Oe = [
|
|
35
|
-
"cx",
|
|
36
|
-
"cy",
|
|
37
|
-
"r",
|
|
38
|
-
"stroke",
|
|
39
|
-
"stroke-width"
|
|
40
|
-
], ke = { key: 0 }, Ae = [
|
|
41
|
-
"x1",
|
|
42
|
-
"y1",
|
|
43
|
-
"x2",
|
|
44
|
-
"y2",
|
|
45
|
-
"stroke",
|
|
46
|
-
"stroke-width",
|
|
47
|
-
"stroke-linecap"
|
|
48
|
-
], je = [
|
|
49
|
-
"x1",
|
|
50
|
-
"y1",
|
|
51
|
-
"x2",
|
|
52
|
-
"y2",
|
|
53
|
-
"stroke",
|
|
54
|
-
"stroke-width",
|
|
55
|
-
"stroke-linecap"
|
|
56
|
-
], Me = { key: 1 }, Ne = [
|
|
57
|
-
"d",
|
|
58
|
-
"fill",
|
|
59
|
-
"stroke",
|
|
60
|
-
"stroke-width"
|
|
61
|
-
], Pe = [
|
|
62
|
-
"d",
|
|
63
|
-
"fill",
|
|
64
|
-
"stroke",
|
|
65
|
-
"stroke-width"
|
|
66
|
-
], Fe = [
|
|
67
|
-
"d",
|
|
68
|
-
"fill",
|
|
69
|
-
"stroke",
|
|
70
|
-
"stroke-width"
|
|
71
|
-
], Ie = [
|
|
72
|
-
"x1",
|
|
73
|
-
"x2",
|
|
74
|
-
"y1",
|
|
75
|
-
"y2",
|
|
76
|
-
"stroke",
|
|
77
|
-
"stroke-width",
|
|
78
|
-
"stroke-linecap"
|
|
79
|
-
], Le = [
|
|
80
|
-
"d",
|
|
81
|
-
"fill",
|
|
82
|
-
"stroke",
|
|
83
|
-
"stroke-width"
|
|
84
|
-
], Re = ["aria-label"], ze = [
|
|
85
|
-
"x",
|
|
86
|
-
"y",
|
|
87
|
-
"height"
|
|
88
|
-
], Be = [
|
|
89
|
-
"x",
|
|
90
|
-
"y",
|
|
91
|
-
"font-size",
|
|
92
|
-
"fill",
|
|
93
|
-
"font-weight",
|
|
94
|
-
"stroke",
|
|
95
|
-
"stroke-width"
|
|
96
|
-
], Ve = {
|
|
97
|
-
key: 4,
|
|
98
|
-
class: "vue-data-ui-watermark"
|
|
99
|
-
}, He = /*#__PURE__*/ re({
|
|
100
|
-
__name: "vue-ui-wheel",
|
|
101
|
-
props: {
|
|
102
|
-
config: {
|
|
103
|
-
type: Object,
|
|
104
|
-
default() {
|
|
105
|
-
return {};
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
dataset: {
|
|
109
|
-
type: Object,
|
|
110
|
-
default() {
|
|
111
|
-
return {};
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
emits: ["copyAlt"],
|
|
116
|
-
setup(e, { expose: re, emit: xe }) {
|
|
117
|
-
ye((e) => ({
|
|
118
|
-
v78b20c9c: Rt.value,
|
|
119
|
-
v2df1b502: zt.value,
|
|
120
|
-
v2df19795: Bt.value
|
|
121
|
-
}));
|
|
122
|
-
let He = fe(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), Ue = fe(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), We = fe(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), { vue_ui_wheel: Ge } = m(), { isThemeValid: Ke, warnInvalidTheme: qe } = v(), F = se(), I = e, Je = xe, Ye = S(() => !!I.dataset && Object.keys(I.dataset).length), Xe = A(o()), Ze = A(null), Qe = A(0), L = A(null), $e = A(null), et = A(null), tt = A(null), nt = A(0), R = A(ut()), z = S(() => R.value.userOptions), B = S(() => R.value.style.chart.layout.wheel.ticks), V = S(() => R.value.style.chart.layout.wheel), H = S(() => R.value.style.chart);
|
|
123
|
-
f({
|
|
124
|
-
config: () => R.value,
|
|
125
|
-
dataset: () => I.dataset,
|
|
126
|
-
component: "VueUiWheel",
|
|
127
|
-
rules: [p.noHint]
|
|
128
|
-
});
|
|
129
|
-
let rt = S(() => R.value.userOptions.useCursorPointer), it = S(() => d({
|
|
130
|
-
defaultConfig: {
|
|
131
|
-
userOptions: { show: !1 },
|
|
132
|
-
style: { chart: {
|
|
133
|
-
backgroundColor: "#99999930",
|
|
134
|
-
animation: { use: !1 },
|
|
135
|
-
layout: {
|
|
136
|
-
wheel: { ticks: {
|
|
137
|
-
activeColor: "#6A6A6A80",
|
|
138
|
-
inactiveColor: "#CACACA80"
|
|
139
|
-
} },
|
|
140
|
-
innerCircle: { stroke: "#CACACA80" }
|
|
141
|
-
}
|
|
142
|
-
} }
|
|
143
|
-
},
|
|
144
|
-
userConfig: R.value.skeletonConfig ?? {}
|
|
145
|
-
})), { loading: at, FINAL_DATASET: U } = g({
|
|
146
|
-
...ve(I),
|
|
147
|
-
FINAL_CONFIG: R,
|
|
148
|
-
prepareConfig: ut,
|
|
149
|
-
skeletonDataset: I.config?.skeletonDataset ?? { percentage: 50 },
|
|
150
|
-
skeletonConfig: d({
|
|
151
|
-
defaultConfig: R.value,
|
|
152
|
-
userConfig: it.value
|
|
153
|
-
})
|
|
154
|
-
}), { userOptionsVisible: ot, setUserOptionsVisibility: st, keepUserOptionState: ct } = ae({ config: R.value }), { svgRef: lt } = oe({ config: H.value.title });
|
|
155
|
-
function ut() {
|
|
156
|
-
let e = _({
|
|
157
|
-
userConfig: I.config,
|
|
158
|
-
defaultConfig: Ge
|
|
159
|
-
}), t = e.theme;
|
|
160
|
-
if (!t) return e;
|
|
161
|
-
if (!Ke.value(e)) return qe(e), e;
|
|
162
|
-
let n = _({
|
|
163
|
-
userConfig: ce[t] || I.config,
|
|
164
|
-
defaultConfig: e
|
|
165
|
-
});
|
|
166
|
-
return _({
|
|
167
|
-
userConfig: I.config,
|
|
168
|
-
defaultConfig: n
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
be(() => I.config, (e) => {
|
|
172
|
-
R.value = ut(), ot.value = !R.value.userOptions.showOnChartHover, vt(), nt.value += 1;
|
|
173
|
-
}, { deep: !0 });
|
|
174
|
-
let { isPrinting: dt, isImaging: ft, generatePdf: pt, generateImage: mt } = h({
|
|
175
|
-
elementId: Xe.value,
|
|
176
|
-
fileName: H.value.title.text || "vue-ui-wheel",
|
|
177
|
-
options: R.value.userOptions.print
|
|
178
|
-
}), ht = S(() => R.value.userOptions.show && !H.value.title.text), W = A({
|
|
179
|
-
size: 360,
|
|
180
|
-
height: 360,
|
|
181
|
-
width: 360
|
|
182
|
-
}), G = A(H.value.layout.percentage.fontSize), K = S(() => ({
|
|
183
|
-
radius: Math.min(W.value.width, W.value.height) * .9 / 2 * V.value.radiusRatio,
|
|
184
|
-
centerX: W.value.width / 2,
|
|
185
|
-
centerY: W.value.height / 2
|
|
186
|
-
}));
|
|
187
|
-
function gt(e, t = 1) {
|
|
188
|
-
let n = 29.85;
|
|
189
|
-
return {
|
|
190
|
-
x: K.value.centerX + K.value.radius * Math.cos(n + e * Math.PI / 180) * t,
|
|
191
|
-
y: K.value.centerY + K.value.radius * Math.sin(n + e * Math.PI / 180) * t
|
|
192
|
-
};
|
|
193
|
-
}
|
|
194
|
-
let q = A(H.value.animation.use && !F.value ? 0 : U.value.percentage || 0);
|
|
195
|
-
be(() => U.value, (e) => {
|
|
196
|
-
H.value.animation.use && !F.value ? At(e.percentage) : q.value = e.percentage || 0;
|
|
197
|
-
}, { deep: !0 });
|
|
198
|
-
let J = ge(null), Y = ge(null);
|
|
199
|
-
he(() => {
|
|
200
|
-
vt();
|
|
201
|
-
});
|
|
202
|
-
let _t = S(() => R.value.debug);
|
|
203
|
-
function vt() {
|
|
204
|
-
if (a(I.dataset) && s({
|
|
205
|
-
componentName: "VueUiWheel",
|
|
206
|
-
type: "dataset",
|
|
207
|
-
debug: _t.value
|
|
208
|
-
}), R.value.responsive) {
|
|
209
|
-
let e = b(() => {
|
|
210
|
-
let { width: e, height: t } = ie({
|
|
211
|
-
chart: L.value,
|
|
212
|
-
title: H.value.title.text ? $e.value : null,
|
|
213
|
-
source: et.value,
|
|
214
|
-
noTitle: tt.value
|
|
215
|
-
});
|
|
216
|
-
requestAnimationFrame(() => {
|
|
217
|
-
W.value.width = e, W.value.height = t, G.value = H.value.layout.percentage.fontSize / 360 * Math.min(e, t);
|
|
218
|
-
});
|
|
219
|
-
});
|
|
220
|
-
J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect()), J.value = new ResizeObserver(e), Y.value = L.value.parentNode, J.value.observe(Y.value);
|
|
221
|
-
}
|
|
222
|
-
At(U.value.percentage || 0), H.value.animation.use && !F.value || (q.value = U.value.percentage || 0);
|
|
223
|
-
}
|
|
224
|
-
me(() => {
|
|
225
|
-
J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect());
|
|
226
|
-
});
|
|
227
|
-
function yt([e, t, n], r) {
|
|
228
|
-
let i = Math.cos(r), a = Math.sin(r);
|
|
229
|
-
return [
|
|
230
|
-
e,
|
|
231
|
-
t * i - n * a,
|
|
232
|
-
t * a + n * i
|
|
233
|
-
];
|
|
234
|
-
}
|
|
235
|
-
function bt([e, t, n], r) {
|
|
236
|
-
let i = r / (r - n);
|
|
237
|
-
return [
|
|
238
|
-
e * i,
|
|
239
|
-
t * i,
|
|
240
|
-
n,
|
|
241
|
-
i
|
|
242
|
-
];
|
|
243
|
-
}
|
|
244
|
-
function xt(e, t) {
|
|
245
|
-
let n = e.replace("#", ""), r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = 1 - Math.min(1, Math.max(0, B.value.shadeColorRatio3d)) * t, s = Math.max(0, Math.min(255, Math.round(r * o))), c = Math.max(0, Math.min(255, Math.round(i * o))), l = Math.max(0, Math.min(255, Math.round(a * o)));
|
|
246
|
-
return `#${s.toString(16).padStart(2, "0")}${c.toString(16).padStart(2, "0")}${l.toString(16).padStart(2, "0")}`;
|
|
247
|
-
}
|
|
248
|
-
function St({ cx: e, cy: t, radius: n, innerRatio: i = .8, count: a = 120, startDeg: o = 0, axDeg: s = 50, f: c = 520, baseStroke: l = 5, activeColor: u, inactiveColor: d, getActive: f }) {
|
|
249
|
-
let p = s * Math.PI / 180, m = n, h = n * i, g = [];
|
|
250
|
-
for (let n = 0; n < a; n += 1) {
|
|
251
|
-
let i = (n / a * 360 + o) * Math.PI / 180, s = e + m * Math.cos(i), ee = t + m * Math.sin(i), _ = e + h * Math.cos(i), v = t + h * Math.sin(i), y = [
|
|
252
|
-
s - e,
|
|
253
|
-
ee - t,
|
|
254
|
-
0
|
|
255
|
-
], te = [
|
|
256
|
-
_ - e,
|
|
257
|
-
v - t,
|
|
258
|
-
0
|
|
259
|
-
], [ne, re, b] = yt(y, p), [ie, ae, oe] = yt(te, p), [se, ce, , x] = bt([
|
|
260
|
-
ne,
|
|
261
|
-
re,
|
|
262
|
-
b
|
|
263
|
-
], c), [S, C, , w] = bt([
|
|
264
|
-
ie,
|
|
265
|
-
ae,
|
|
266
|
-
oe
|
|
267
|
-
], c), T = e + se, le = t + ce, ue = e + S, de = t + C, fe = (Math.max(b, oe) - -m * Math.sin(p)) / (2 * m * Math.sin(p) || 1), E = !f || f(n), D = B.value.gradient.show ? r(u, n * Q.value / Z.value * (B.value.gradient.shiftHueIntensity / 100)) : u, O = xt(E ? D : d, fe), pe = Math.max(1.25, l * x * (Math.min(W.value.width, W.value.height) / 360));
|
|
268
|
-
g.push({
|
|
269
|
-
i: n,
|
|
270
|
-
x1: T,
|
|
271
|
-
y1: le,
|
|
272
|
-
x2: ue,
|
|
273
|
-
y2: de,
|
|
274
|
-
stroke: pe,
|
|
275
|
-
color: O,
|
|
276
|
-
z: Math.max(b, oe)
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
return g.sort((e, t) => e.z - t.z), g;
|
|
280
|
-
}
|
|
281
|
-
let Ct = S(() => {
|
|
282
|
-
if (!R.value.layout === "3d") return null;
|
|
283
|
-
let e = Z.value, t = B.value.gradient.show ? r(B.value.activeColor, 0) : B.value.activeColor, n = B.value.inactiveColor, i = B.value.strokeWidth;
|
|
284
|
-
return St({
|
|
285
|
-
cx: K.value.centerX,
|
|
286
|
-
cy: K.value.centerY,
|
|
287
|
-
radius: K.value.radius,
|
|
288
|
-
innerRatio: B.value.sizeRatio,
|
|
289
|
-
count: e,
|
|
290
|
-
startDeg: -90,
|
|
291
|
-
axDeg: V.value.tiltAngle3d,
|
|
292
|
-
f: Math.min(W.value.width, W.value.height) * 1.45,
|
|
293
|
-
baseStroke: i,
|
|
294
|
-
activeColor: t,
|
|
295
|
-
inactiveColor: n,
|
|
296
|
-
getActive: (e) => q.value > e * Q.value
|
|
297
|
-
});
|
|
298
|
-
});
|
|
299
|
-
function wt({ cx: e, cy: t, r: n, count: r = 180, startDeg: i = -90, axDeg: a = 50, f: o }) {
|
|
300
|
-
let s = a * Math.PI / 180, c = [], l = 0;
|
|
301
|
-
for (let a = 0; a < r; a += 1) {
|
|
302
|
-
let u = (a / r * 360 + i) * Math.PI / 180, [d, f, p] = yt([
|
|
303
|
-
n * Math.cos(u),
|
|
304
|
-
n * Math.sin(u),
|
|
305
|
-
0
|
|
306
|
-
], s), [m, h, , g] = bt([
|
|
307
|
-
d,
|
|
308
|
-
f,
|
|
309
|
-
p
|
|
310
|
-
], o);
|
|
311
|
-
l += g, c.push([e + m, t + h]);
|
|
312
|
-
}
|
|
313
|
-
let u = `M ${c[0][0]} ${c[0][1]}`;
|
|
314
|
-
for (let e = 1; e < c.length; e += 1) u += ` L ${c[e][0]} ${c[e][1]}`;
|
|
315
|
-
u += " Z";
|
|
316
|
-
let d = l / r;
|
|
317
|
-
return {
|
|
318
|
-
d: u,
|
|
319
|
-
avgScale: d,
|
|
320
|
-
pts: c
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
let X = S(() => {
|
|
324
|
-
if (R.value.layout !== "3d") return null;
|
|
325
|
-
let e = Math.min(W.value.width, W.value.height) * 1.45, t = V.value.tiltAngle3d, n = K.value.radius, { pts: r, avgScale: i } = (() => {
|
|
326
|
-
let r = n, i = t, { d: a, avgScale: o, pts: s } = wt({
|
|
327
|
-
cx: K.value.centerX,
|
|
328
|
-
cy: K.value.centerY,
|
|
329
|
-
r,
|
|
330
|
-
startDeg: -90,
|
|
331
|
-
axDeg: i,
|
|
332
|
-
f: e
|
|
333
|
-
});
|
|
334
|
-
return {
|
|
335
|
-
pts: s,
|
|
336
|
-
avgScale: o
|
|
337
|
-
};
|
|
338
|
-
})(), a = Infinity, o = Infinity, s = -Infinity, c = -Infinity;
|
|
339
|
-
for (let [e, t] of r) e < a && (a = e), t < o && (o = t), e > s && (s = e), t > c && (c = t);
|
|
340
|
-
let l = B.value.strokeWidth / 360 * Math.min(W.value.width, W.value.height), u = H.value.layout.innerCircle.strokeWidth || 0, d = .5 * Math.max(l, u * (i || 1)), f = Math.max(0, Number(B.value.depth3d) || 0), p = d;
|
|
341
|
-
return {
|
|
342
|
-
x: a - p,
|
|
343
|
-
y: o - f - p,
|
|
344
|
-
w: s - a + 2 * p,
|
|
345
|
-
h: c - (o - f) + 2 * p
|
|
346
|
-
};
|
|
347
|
-
});
|
|
348
|
-
function Tt(e) {
|
|
349
|
-
let t = Math.min(W.value.width, W.value.height) * 1.45, { d: n, avgScale: r } = wt({
|
|
350
|
-
cx: K.value.centerX,
|
|
351
|
-
cy: K.value.centerY,
|
|
352
|
-
r: e,
|
|
353
|
-
startDeg: -90,
|
|
354
|
-
axDeg: V.value.tiltAngle3d,
|
|
355
|
-
f: t
|
|
356
|
-
}), i = (H.value.layout.innerCircle.strokeWidth || 1) * r;
|
|
357
|
-
return {
|
|
358
|
-
d: n,
|
|
359
|
-
stroke: H.value.layout.innerCircle.stroke,
|
|
360
|
-
strokeWidth: i
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
let Et = S(() => Tt(Math.max(0, K.value.radius * .8 * H.value.layout.innerCircle.radiusRatio)));
|
|
364
|
-
function Dt({ cx: e, cy: t, r: n, aRad: r, ax: i, f: a }) {
|
|
365
|
-
let [o, s, c] = yt([
|
|
366
|
-
n * Math.cos(r),
|
|
367
|
-
n * Math.sin(r),
|
|
368
|
-
0
|
|
369
|
-
], i), [l, u, , d] = bt([
|
|
370
|
-
o,
|
|
371
|
-
s,
|
|
372
|
-
c
|
|
373
|
-
], a);
|
|
374
|
-
return {
|
|
375
|
-
x: e + l,
|
|
376
|
-
y: t + u,
|
|
377
|
-
z: c,
|
|
378
|
-
s: d
|
|
379
|
-
};
|
|
380
|
-
}
|
|
381
|
-
function Ot({ cx: e, cy: t, radius: n, innerRatio: i = .8, count: a = 120, startDeg: o = -87, axDeg: s = 45, f: c = 600, activeColor: l, inactiveColor: u, getActive: d, Y: f = 0 }) {
|
|
382
|
-
let p = s * Math.PI / 180, m = n, h = n * i, g = 2 * Math.PI / a, ee = [];
|
|
383
|
-
for (let n = 0; n < a; n += 1) {
|
|
384
|
-
let i = o * Math.PI / 180 + g * n, s = i + g * Math.min(1, B.value.spacingRatio3d), _ = Dt({
|
|
385
|
-
cx: e,
|
|
386
|
-
cy: t + f,
|
|
387
|
-
r: m,
|
|
388
|
-
aRad: i,
|
|
389
|
-
ax: p,
|
|
390
|
-
f: c
|
|
391
|
-
}), v = Dt({
|
|
392
|
-
cx: e,
|
|
393
|
-
cy: t + f,
|
|
394
|
-
r: m,
|
|
395
|
-
aRad: s,
|
|
396
|
-
ax: p,
|
|
397
|
-
f: c
|
|
398
|
-
}), y = Dt({
|
|
399
|
-
cx: e,
|
|
400
|
-
cy: t + f,
|
|
401
|
-
r: h,
|
|
402
|
-
aRad: s,
|
|
403
|
-
ax: p,
|
|
404
|
-
f: c
|
|
405
|
-
}), te = Dt({
|
|
406
|
-
cx: e,
|
|
407
|
-
cy: t + f,
|
|
408
|
-
r: h,
|
|
409
|
-
aRad: i,
|
|
410
|
-
ax: p,
|
|
411
|
-
f: c
|
|
412
|
-
}), ne = (_.z + v.z + te.z + y.z) / 4, re = xt(!d || d(n) ? B.value.gradient.show ? r(B.value.activeColor, 100 / a * n / 100 * (B.value.gradient.shiftHueIntensity / 100)) : l : u, (() => {
|
|
413
|
-
let e = m * Math.sin(p) || 1;
|
|
414
|
-
return (ne - -e) / (2 * e);
|
|
415
|
-
})()), b = `M ${_.x} ${_.y} L ${v.x} ${v.y} L ${y.x} ${y.y} L ${te.x} ${te.y} Z`;
|
|
416
|
-
ee.push({
|
|
417
|
-
i: n,
|
|
418
|
-
d: b,
|
|
419
|
-
fill: re,
|
|
420
|
-
z: ne
|
|
421
|
-
});
|
|
422
|
-
}
|
|
423
|
-
return ee.sort((e, t) => e.z - t.z), ee;
|
|
424
|
-
}
|
|
425
|
-
let kt = S(() => {
|
|
426
|
-
if (R.value.layout !== "3d") return null;
|
|
427
|
-
let e = Z.value;
|
|
428
|
-
return (t) => Ot({
|
|
429
|
-
cx: K.value.centerX,
|
|
430
|
-
cy: K.value.centerY,
|
|
431
|
-
radius: K.value.radius,
|
|
432
|
-
innerRatio: B.value.sizeRatio,
|
|
433
|
-
count: e,
|
|
434
|
-
startDeg: -90,
|
|
435
|
-
axDeg: V.value.tiltAngle3d,
|
|
436
|
-
f: Math.min(W.value.width, W.value.height) * 1.45,
|
|
437
|
-
activeColor: B.value.activeColor,
|
|
438
|
-
inactiveColor: B.value.inactiveColor,
|
|
439
|
-
getActive: (t) => q.value > 100 / e * t,
|
|
440
|
-
Y: t
|
|
441
|
-
});
|
|
442
|
-
});
|
|
443
|
-
function At(e) {
|
|
444
|
-
let t = H.value.animation.speed, n = Math.abs(e - q.value) / (t * 120);
|
|
445
|
-
function r() {
|
|
446
|
-
q.value < e ? q.value = Math.min(q.value + n, e) : q.value > e && (q.value = Math.max(q.value - n, e)), q.value !== e && requestAnimationFrame(r);
|
|
447
|
-
}
|
|
448
|
-
r();
|
|
449
|
-
}
|
|
450
|
-
let Z = S(() => (_t.value && B.value.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), _t.value && B.value.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(12, Math.min(B.value.quantity, 200)))), Q = S(() => 100 / Z.value), jt = S(() => {
|
|
451
|
-
let e = [];
|
|
452
|
-
for (let t = 0; t < Z.value; t += 1) {
|
|
453
|
-
let n = q.value > t * Q.value ? B.value.activeColor : B.value.inactiveColor, { x: i, y: a } = gt(W.value.size / Z.value * t), { x: o, y: s } = gt(W.value.size / Z.value * t, B.value.sizeRatio);
|
|
454
|
-
e.push({
|
|
455
|
-
x1: i,
|
|
456
|
-
y1: a,
|
|
457
|
-
x2: o,
|
|
458
|
-
y2: s,
|
|
459
|
-
color: B.value.gradient.show ? r(n, t * Q.value / Z.value * (B.value.gradient.shiftHueIntensity / 100)) : n
|
|
460
|
-
});
|
|
461
|
-
}
|
|
462
|
-
return e;
|
|
463
|
-
}), Mt = S(() => n({ series: jt.value.map((e) => ({
|
|
464
|
-
name: "",
|
|
465
|
-
value: 1,
|
|
466
|
-
color: e.color
|
|
467
|
-
})) }, K.value.centerX, K.value.centerY, K.value.radius, K.value.radius, 1.99999, 2, 1, 360, 105.25, K.value.radius * (1 - B.value.sizeRatio))), Nt = A(!1);
|
|
468
|
-
function Pt(e) {
|
|
469
|
-
Nt.value = e, Qe.value += 1;
|
|
470
|
-
}
|
|
471
|
-
let Ft = A(!1);
|
|
472
|
-
function It() {
|
|
473
|
-
Ft.value = !Ft.value;
|
|
474
|
-
}
|
|
475
|
-
async function Lt({ scale: e = 2 } = {}) {
|
|
476
|
-
if (!L.value) return;
|
|
477
|
-
let { width: t, height: n } = L.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await te({
|
|
478
|
-
domElement: L.value,
|
|
479
|
-
base64: !0,
|
|
480
|
-
img: !0,
|
|
481
|
-
scale: e
|
|
482
|
-
});
|
|
483
|
-
return {
|
|
484
|
-
imageUri: i,
|
|
485
|
-
base64: a,
|
|
486
|
-
title: H.value.title.text,
|
|
487
|
-
width: t,
|
|
488
|
-
height: n,
|
|
489
|
-
aspectRatio: r
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
let Rt = S(() => B.value.strokeWidth * 2), zt = S(() => B.value.strokeWidth * 2 * .75), Bt = S(() => B.value.strokeWidth), $ = S(() => Math.max(1, Math.min(20, B.value.depth3d))), Vt = S(() => H.value.backgroundColor), Ht = S(() => H.value.title), { isCallbackImaging: Ut, isCallbackSvg: Wt, generateSvg: Gt, onGenerateImage: Kt } = y({
|
|
493
|
-
svg: lt,
|
|
494
|
-
title: Ht,
|
|
495
|
-
legend: null,
|
|
496
|
-
legendItems: null,
|
|
497
|
-
backgroundColor: Vt,
|
|
498
|
-
stretchTitle: !0,
|
|
499
|
-
getSvgCallback: () => R.value.userOptions.callbacks.svg,
|
|
500
|
-
generateImage: mt
|
|
501
|
-
});
|
|
502
|
-
async function qt() {
|
|
503
|
-
if (Je("copyAlt", {
|
|
504
|
-
config: R.value,
|
|
505
|
-
dataset: U.value
|
|
506
|
-
}), !R.value.userOptions.callbacks.altCopy) {
|
|
507
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
508
|
-
return;
|
|
509
|
-
}
|
|
510
|
-
await Promise.resolve(R.value.userOptions.callbacks.altCopy({
|
|
511
|
-
config: R.value,
|
|
512
|
-
dataset: U.value
|
|
513
|
-
}));
|
|
514
|
-
}
|
|
515
|
-
let Jt = S(() => `${Xe.value}-title`), Yt = S(() => `${Xe.value}-desc`), Xt = S(() => l(H.value.layout.percentage.formatter, c(q.value), t({
|
|
516
|
-
v: c(q.value),
|
|
517
|
-
s: "%",
|
|
518
|
-
r: H.value.layout.percentage.rounding
|
|
519
|
-
}))), Zt = S(() => H.value.title.text || ""), Qt = S(() => at.value ? "..." : `${Xt.value}`);
|
|
520
|
-
return re({
|
|
521
|
-
getImage: Lt,
|
|
522
|
-
generatePdf: pt,
|
|
523
|
-
generateImage: mt,
|
|
524
|
-
generateSvg: Gt,
|
|
525
|
-
toggleAnnotator: It,
|
|
526
|
-
toggleFullscreen: Pt,
|
|
527
|
-
copyAlt: qt
|
|
528
|
-
}), (e, t) => (k(), T("div", {
|
|
529
|
-
class: D(["vue-ui-wheel", {
|
|
530
|
-
"vue-data-ui-component": !0,
|
|
531
|
-
"vue-ui-wheel-3d-wrap": R.value.layout === "3d"
|
|
532
|
-
}]),
|
|
533
|
-
ref_key: "wheelChart",
|
|
534
|
-
ref: L,
|
|
535
|
-
id: Xe.value,
|
|
536
|
-
style: pe(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${H.value.backgroundColor};${R.value.responsive ? "height:100%" : ""}`),
|
|
537
|
-
onMouseenter: t[0] ||= () => N(st)(!0),
|
|
538
|
-
onMouseleave: t[1] ||= () => N(st)(!1)
|
|
539
|
-
}, [
|
|
540
|
-
z.value.buttons.annotator ? (k(), C(N(He), {
|
|
541
|
-
key: 0,
|
|
542
|
-
svgRef: N(lt),
|
|
543
|
-
backgroundColor: H.value.backgroundColor,
|
|
544
|
-
color: H.value.color,
|
|
545
|
-
active: Ft.value,
|
|
546
|
-
isCursorPointer: rt.value,
|
|
547
|
-
palette: z.value.annotatorPalette,
|
|
548
|
-
onClose: It
|
|
549
|
-
}, {
|
|
550
|
-
"annotator-action-close": P(() => [M(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
551
|
-
"annotator-action-color": P(({ color: t }) => [M(e.$slots, "annotator-action-color", O(E({ color: t })), void 0, !0)]),
|
|
552
|
-
"annotator-action-draw": P(({ mode: t }) => [M(e.$slots, "annotator-action-draw", O(E({ mode: t })), void 0, !0)]),
|
|
553
|
-
"annotator-action-undo": P(({ disabled: t }) => [M(e.$slots, "annotator-action-undo", O(E({ disabled: t })), void 0, !0)]),
|
|
554
|
-
"annotator-action-redo": P(({ disabled: t }) => [M(e.$slots, "annotator-action-redo", O(E({ disabled: t })), void 0, !0)]),
|
|
555
|
-
"annotator-action-delete": P(({ disabled: t }) => [M(e.$slots, "annotator-action-delete", O(E({ disabled: t })), void 0, !0)]),
|
|
556
|
-
_: 3
|
|
557
|
-
}, 8, [
|
|
558
|
-
"svgRef",
|
|
559
|
-
"backgroundColor",
|
|
560
|
-
"color",
|
|
561
|
-
"active",
|
|
562
|
-
"isCursorPointer",
|
|
563
|
-
"palette"
|
|
564
|
-
])) : w("", !0),
|
|
565
|
-
ht.value ? (k(), T("div", {
|
|
566
|
-
key: 1,
|
|
567
|
-
ref_key: "noTitle",
|
|
568
|
-
ref: tt,
|
|
569
|
-
class: "vue-data-ui-no-title-space",
|
|
570
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
571
|
-
}, null, 512)) : w("", !0),
|
|
572
|
-
H.value.title.text ? (k(), T("div", {
|
|
573
|
-
key: 2,
|
|
574
|
-
ref_key: "chartTitle",
|
|
575
|
-
ref: $e,
|
|
576
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
577
|
-
}, [(k(), C(ne, {
|
|
578
|
-
key: `title_${nt.value}`,
|
|
579
|
-
config: {
|
|
580
|
-
title: {
|
|
581
|
-
cy: "wheel-title",
|
|
582
|
-
...H.value.title
|
|
583
|
-
},
|
|
584
|
-
subtitle: {
|
|
585
|
-
cy: "wheel-subtitle",
|
|
586
|
-
...H.value.title.subtitle
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
}, null, 8, ["config"]))], 512)) : w("", !0),
|
|
590
|
-
z.value.show && Ye.value && (N(ct) || N(ot)) ? (k(), C(N(Ue), {
|
|
591
|
-
ref_key: "details",
|
|
592
|
-
ref: Ze,
|
|
593
|
-
key: `user_options_${Qe.value}`,
|
|
594
|
-
backgroundColor: H.value.backgroundColor,
|
|
595
|
-
color: H.value.color,
|
|
596
|
-
isPrinting: N(dt),
|
|
597
|
-
isImaging: N(ft),
|
|
598
|
-
uid: Xe.value,
|
|
599
|
-
hasPdf: z.value.buttons.pdf,
|
|
600
|
-
hasImg: z.value.buttons.img,
|
|
601
|
-
hasSvg: z.value.buttons.svg,
|
|
602
|
-
hasFullscreen: z.value.buttons.fullscreen,
|
|
603
|
-
hasAltCopy: z.value.buttons.altCopy,
|
|
604
|
-
hasXls: !1,
|
|
605
|
-
isFullscreen: Nt.value,
|
|
606
|
-
position: z.value.position,
|
|
607
|
-
titles: { ...z.value.buttonTitles },
|
|
608
|
-
hasAnnotator: z.value.buttons.annotator,
|
|
609
|
-
isAnnotation: Ft.value,
|
|
610
|
-
chartElement: L.value,
|
|
611
|
-
callbacks: z.value.callbacks,
|
|
612
|
-
printScale: z.value.print.scale,
|
|
613
|
-
isCursorPointer: rt.value,
|
|
614
|
-
onToggleFullscreen: Pt,
|
|
615
|
-
onGeneratePdf: N(pt),
|
|
616
|
-
onGenerateImage: N(Kt),
|
|
617
|
-
onGenerateSvg: N(Gt),
|
|
618
|
-
onToggleAnnotator: It,
|
|
619
|
-
onCopyAlt: qt,
|
|
620
|
-
style: pe({ visibility: N(ct) ? N(ot) ? "visible" : "hidden" : "visible" })
|
|
621
|
-
}, ue({ _: 2 }, [
|
|
622
|
-
e.$slots.menuIcon ? {
|
|
623
|
-
name: "menuIcon",
|
|
624
|
-
fn: P(({ isOpen: t, color: n }) => [M(e.$slots, "menuIcon", O(E({
|
|
625
|
-
isOpen: t,
|
|
626
|
-
color: n
|
|
627
|
-
})), void 0, !0)]),
|
|
628
|
-
key: "0"
|
|
629
|
-
} : void 0,
|
|
630
|
-
e.$slots.optionPdf ? {
|
|
631
|
-
name: "optionPdf",
|
|
632
|
-
fn: P(() => [M(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
633
|
-
key: "1"
|
|
634
|
-
} : void 0,
|
|
635
|
-
e.$slots.optionImg ? {
|
|
636
|
-
name: "optionImg",
|
|
637
|
-
fn: P(() => [M(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
638
|
-
key: "2"
|
|
639
|
-
} : void 0,
|
|
640
|
-
e.$slots.optionSvg ? {
|
|
641
|
-
name: "optionSvg",
|
|
642
|
-
fn: P(() => [M(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
643
|
-
key: "3"
|
|
644
|
-
} : void 0,
|
|
645
|
-
e.$slots.optionFullscreen ? {
|
|
646
|
-
name: "optionFullscreen",
|
|
647
|
-
fn: P(({ toggleFullscreen: t, isFullscreen: n }) => [M(e.$slots, "optionFullscreen", O(E({
|
|
648
|
-
toggleFullscreen: t,
|
|
649
|
-
isFullscreen: n
|
|
650
|
-
})), void 0, !0)]),
|
|
651
|
-
key: "4"
|
|
652
|
-
} : void 0,
|
|
653
|
-
e.$slots.optionAnnotator ? {
|
|
654
|
-
name: "optionAnnotator",
|
|
655
|
-
fn: P(({ toggleAnnotator: t, isAnnotator: n }) => [M(e.$slots, "optionAnnotator", O(E({
|
|
656
|
-
toggleAnnotator: t,
|
|
657
|
-
isAnnotator: n
|
|
658
|
-
})), void 0, !0)]),
|
|
659
|
-
key: "5"
|
|
660
|
-
} : void 0,
|
|
661
|
-
e.$slots.optionAltCopy ? {
|
|
662
|
-
name: "optionAltCopy",
|
|
663
|
-
fn: P(({ altCopy: t }) => [M(e.$slots, "optionAltCopy", O(E({ altCopy: t })), void 0, !0)]),
|
|
664
|
-
key: "6"
|
|
665
|
-
} : void 0,
|
|
666
|
-
e.$slots["custom-menu-before"] ? {
|
|
667
|
-
name: "custom-menu-before",
|
|
668
|
-
fn: P(() => [M(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
669
|
-
key: "7"
|
|
670
|
-
} : void 0,
|
|
671
|
-
e.$slots["custom-menu-after"] ? {
|
|
672
|
-
name: "custom-menu-after",
|
|
673
|
-
fn: P(() => [M(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
674
|
-
key: "8"
|
|
675
|
-
} : void 0
|
|
676
|
-
]), 1032, [
|
|
677
|
-
"backgroundColor",
|
|
678
|
-
"color",
|
|
679
|
-
"isPrinting",
|
|
680
|
-
"isImaging",
|
|
681
|
-
"uid",
|
|
682
|
-
"hasPdf",
|
|
683
|
-
"hasImg",
|
|
684
|
-
"hasSvg",
|
|
685
|
-
"hasFullscreen",
|
|
686
|
-
"hasAltCopy",
|
|
687
|
-
"isFullscreen",
|
|
688
|
-
"position",
|
|
689
|
-
"titles",
|
|
690
|
-
"hasAnnotator",
|
|
691
|
-
"isAnnotation",
|
|
692
|
-
"chartElement",
|
|
693
|
-
"callbacks",
|
|
694
|
-
"printScale",
|
|
695
|
-
"isCursorPointer",
|
|
696
|
-
"onGeneratePdf",
|
|
697
|
-
"onGenerateImage",
|
|
698
|
-
"onGenerateSvg",
|
|
699
|
-
"style"
|
|
700
|
-
])) : w("", !0),
|
|
701
|
-
(k(), T("svg", {
|
|
702
|
-
ref_key: "svgRef",
|
|
703
|
-
ref: lt,
|
|
704
|
-
xmlns: N(u),
|
|
705
|
-
class: D({
|
|
706
|
-
"vue-data-ui-fullscreen--on": Nt.value,
|
|
707
|
-
"vue-data-ui-fulscreen--off": !Nt.value,
|
|
708
|
-
"vue-ui-wheel-3d-svg": R.value.layout === "3d"
|
|
709
|
-
}),
|
|
710
|
-
viewBox: R.value.layout === "3d" && !R.value.responsive ? `${X.value?.x - 10} ${X.value?.y ?? 0} ${X.value?.w + 20 ?? Math.max(10, W.value.width)} ${X.value?.h ?? Math.max(10, W.value.height)}` : `0 0 ${Math.max(10, W.value.width)} ${Math.max(10, W.value.height)}`,
|
|
711
|
-
style: pe(`max-width:100%;overflow:visible;background:transparent;color:${H.value.color}`),
|
|
712
|
-
role: "img",
|
|
713
|
-
"aria-labelledby": Jt.value,
|
|
714
|
-
"aria-describedby": Yt.value
|
|
715
|
-
}, [
|
|
716
|
-
le("title", { id: Jt.value }, _e(Zt.value), 9, we),
|
|
717
|
-
le("desc", { id: Yt.value }, _e(Qt.value), 9, Te),
|
|
718
|
-
de(N(We)),
|
|
719
|
-
e.$slots["chart-background"] ? (k(), T("foreignObject", {
|
|
720
|
-
key: 0,
|
|
721
|
-
x: R.value.layout === "3d" && !R.value.responsive ? X.value?.x - 10 : 0,
|
|
722
|
-
y: R.value.layout === "3d" && !R.value.responsive ? X.value?.y ?? 0 : 0,
|
|
723
|
-
width: R.value.layout === "3d" && !R.value.responsive ? X.value?.w + 20 ?? Math.max(10, W.value.width) : Math.max(10, W.value.width),
|
|
724
|
-
height: R.value.layout === "3d" && !R.value.responsive ? X.value?.h ?? Math.max(10, W.value.height) : Math.max(10, W.value.height),
|
|
725
|
-
style: { pointerEvents: "none" }
|
|
726
|
-
}, [M(e.$slots, "chart-background", {}, void 0, !0)], 8, Ee)) : w("", !0),
|
|
727
|
-
R.value.layout === "3d" && Et.value ? (k(), T("path", {
|
|
728
|
-
key: 1,
|
|
729
|
-
class: "vue-ui-wheel-inner-circle",
|
|
730
|
-
d: Et.value.d,
|
|
731
|
-
stroke: H.value.layout.innerCircle.stroke,
|
|
732
|
-
"stroke-width": H.value.layout.innerCircle.strokeWidth,
|
|
733
|
-
fill: "none"
|
|
734
|
-
}, null, 8, De)) : H.value.layout.innerCircle.show ? (k(), T("circle", {
|
|
735
|
-
key: 2,
|
|
736
|
-
class: "vue-ui-wheel-inner-circle",
|
|
737
|
-
cx: K.value.centerX,
|
|
738
|
-
cy: K.value.centerY,
|
|
739
|
-
r: Math.max(0, K.value.radius * H.value.layout.innerCircle.radiusRatio * .8),
|
|
740
|
-
stroke: H.value.layout.innerCircle.stroke,
|
|
741
|
-
"stroke-width": H.value.layout.innerCircle.strokeWidth,
|
|
742
|
-
fill: "none"
|
|
743
|
-
}, null, 8, Oe)) : w("", !0),
|
|
744
|
-
R.value.layout === "3d" ? (k(), T(x, { key: 3 }, [B.value.type === "classic" ? (k(), T("g", ke, [(k(!0), T(x, null, j($.value, (e) => (k(), T("g", null, [(k(!0), T(x, null, j(Ct.value || [], (t) => (k(), T("line", {
|
|
745
|
-
key: t.i,
|
|
746
|
-
x1: t.x1,
|
|
747
|
-
y1: t.y1 - e,
|
|
748
|
-
x2: t.x2,
|
|
749
|
-
y2: t.y2 - e,
|
|
750
|
-
stroke: N(i)(t.color, .25 * e / 5),
|
|
751
|
-
"stroke-width": B.value.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
|
|
752
|
-
"stroke-linecap": B.value.rounded ? "round" : "butt",
|
|
753
|
-
class: D({
|
|
754
|
-
"vue-ui-wheel-tick": !0,
|
|
755
|
-
"vue-ui-tick-animated": H.value.animation.use && !N(F) && t.i * Q.value <= q.value
|
|
756
|
-
})
|
|
757
|
-
}, null, 10, Ae))), 128))]))), 256)), (k(!0), T(x, null, j(Ct.value || [], (e) => (k(), T("line", {
|
|
758
|
-
key: e.i,
|
|
759
|
-
x1: e.x1,
|
|
760
|
-
y1: e.y1 - $.value,
|
|
761
|
-
x2: e.x2,
|
|
762
|
-
y2: e.y2 - $.value,
|
|
763
|
-
stroke: e.color,
|
|
764
|
-
"stroke-width": B.value.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
|
|
765
|
-
"stroke-linecap": B.value.rounded ? "round" : "butt",
|
|
766
|
-
class: D({
|
|
767
|
-
"vue-ui-wheel-tick": !0,
|
|
768
|
-
"vue-ui-tick-animated": H.value.animation.use && !N(F) && e.i * Q.value <= q.value
|
|
769
|
-
})
|
|
770
|
-
}, null, 10, je))), 128))])) : (k(), T("g", Me, [(k(!0), T(x, null, j($.value, (e) => (k(), T("g", null, [(k(!0), T(x, null, j(kt.value(-e) || [], (e) => (k(), T("path", {
|
|
771
|
-
key: e.i,
|
|
772
|
-
d: e.d,
|
|
773
|
-
fill: B.value.inactiveColor,
|
|
774
|
-
stroke: B.value.stroke,
|
|
775
|
-
"stroke-width": B.value.strokeWidth,
|
|
776
|
-
"stroke-linecap": "round",
|
|
777
|
-
"stroke-linejoin": "round",
|
|
778
|
-
class: "vue-ui-wheel-tick"
|
|
779
|
-
}, null, 8, Ne))), 128)), (k(!0), T(x, null, j(kt.value(-e) || [], (t) => (k(), T("path", {
|
|
780
|
-
key: t.i,
|
|
781
|
-
d: t.d,
|
|
782
|
-
fill: N(i)(t.fill, .5 * e / $.value),
|
|
783
|
-
stroke: B.value.stroke,
|
|
784
|
-
"stroke-width": B.value.strokeWidth,
|
|
785
|
-
"stroke-linecap": "round",
|
|
786
|
-
"stroke-linejoin": "round",
|
|
787
|
-
class: D({
|
|
788
|
-
"vue-ui-wheel-tick": !0,
|
|
789
|
-
"vue-ui-tick-animated-3d": H.value.animation.use && !N(F) && t.i * Q.value <= q.value
|
|
790
|
-
})
|
|
791
|
-
}, null, 10, Pe))), 128))]))), 256)), le("g", null, [(k(!0), T(x, null, j(kt.value(-$.value) || [], (e) => (k(), T("path", {
|
|
792
|
-
key: e.i,
|
|
793
|
-
d: e.d,
|
|
794
|
-
fill: e.fill,
|
|
795
|
-
stroke: B.value.stroke,
|
|
796
|
-
"stroke-width": B.value.strokeWidth,
|
|
797
|
-
"stroke-linecap": "round",
|
|
798
|
-
"stroke-linejoin": "round",
|
|
799
|
-
class: D({
|
|
800
|
-
"vue-ui-wheel-tick": !0,
|
|
801
|
-
"vue-ui-tick-animated-3d": H.value.animation.use && !N(F) && e.i * Q.value <= q.value
|
|
802
|
-
})
|
|
803
|
-
}, null, 10, Fe))), 128))])]))], 64)) : (k(), T(x, { key: 4 }, [B.value.type === "classic" ? (k(!0), T(x, { key: 0 }, j(jt.value, (e, t) => (k(), T("line", {
|
|
804
|
-
x1: e.x1,
|
|
805
|
-
x2: e.x2,
|
|
806
|
-
y1: e.y1,
|
|
807
|
-
y2: e.y2,
|
|
808
|
-
stroke: e.color,
|
|
809
|
-
"stroke-width": B.value.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
|
|
810
|
-
"stroke-linecap": B.value.rounded ? "round" : "butt",
|
|
811
|
-
class: D({
|
|
812
|
-
"vue-ui-wheel-tick": !0,
|
|
813
|
-
"vue-ui-tick-animated": H.value.animation.use && !N(F) && t * Q.value <= q.value
|
|
814
|
-
})
|
|
815
|
-
}, null, 10, Ie))), 256)) : (k(!0), T(x, { key: 1 }, j(Mt.value, (e, t) => (k(), T("path", {
|
|
816
|
-
d: e.arcSlice,
|
|
817
|
-
fill: e.color,
|
|
818
|
-
class: D({
|
|
819
|
-
"vue-ui-wheel-tick": !0,
|
|
820
|
-
"vue-ui-tick-animated": H.value.animation.use && !N(F) && t * Q.value <= q.value
|
|
821
|
-
}),
|
|
822
|
-
stroke: B.value.stroke,
|
|
823
|
-
"stroke-width": B.value.strokeWidth
|
|
824
|
-
}, null, 10, Le))), 256))], 64)),
|
|
825
|
-
H.value.layout.percentage.show ? (k(), T("g", {
|
|
826
|
-
key: 5,
|
|
827
|
-
role: "status",
|
|
828
|
-
"aria-live": "polite",
|
|
829
|
-
"aria-label": N(at) ? "..." : Xt.value
|
|
830
|
-
}, [N(at) ? (k(), T("rect", {
|
|
831
|
-
key: 0,
|
|
832
|
-
x: K.value.centerX - 40,
|
|
833
|
-
y: K.value.centerY - G.value / 2,
|
|
834
|
-
width: 80,
|
|
835
|
-
height: G.value,
|
|
836
|
-
fill: "#6A6A6A80",
|
|
837
|
-
rx: "3"
|
|
838
|
-
}, null, 8, ze)) : (k(), T("text", {
|
|
839
|
-
key: 1,
|
|
840
|
-
"aria-hidden": "true",
|
|
841
|
-
x: K.value.centerX + H.value.layout.percentage.offsetX,
|
|
842
|
-
y: K.value.centerY + G.value / 3 + H.value.layout.percentage.offsetY,
|
|
843
|
-
"font-size": G.value,
|
|
844
|
-
fill: B.value.gradient.show ? N(r)(B.value.activeColor, q.value / 100 * (B.value.gradient.shiftHueIntensity / 100)) : B.value.activeColor,
|
|
845
|
-
"text-anchor": "middle",
|
|
846
|
-
"font-weight": H.value.layout.percentage.bold ? "bold" : "normal",
|
|
847
|
-
style: { "font-variant-numeric": "tabluar-nums" },
|
|
848
|
-
stroke: H.value.layout.percentage.stroke,
|
|
849
|
-
"stroke-width": H.value.layout.percentage.strokeWidth,
|
|
850
|
-
"stroke-linecap": "round",
|
|
851
|
-
"stroke-linejoin": "round",
|
|
852
|
-
"paint-order": "stroke fill",
|
|
853
|
-
class: D({ "vue-ui-wheel-label": R.value.layout === "3d" })
|
|
854
|
-
}, _e(Xt.value), 11, Be))], 8, Re)) : w("", !0),
|
|
855
|
-
M(e.$slots, "svg", { svg: {
|
|
856
|
-
...W.value,
|
|
857
|
-
isPrintingImg: N(dt) || N(ft) || N(Ut),
|
|
858
|
-
isPrintingSvg: N(Wt)
|
|
859
|
-
} }, void 0, !0)
|
|
860
|
-
], 14, Ce)),
|
|
861
|
-
e.$slots.watermark ? (k(), T("div", Ve, [M(e.$slots, "watermark", O(E({ isPrinting: N(dt) || N(ft) || N(Ut) || N(Wt) })), void 0, !0)])) : w("", !0),
|
|
862
|
-
e.$slots.source ? (k(), T("div", {
|
|
863
|
-
key: 5,
|
|
864
|
-
ref_key: "source",
|
|
865
|
-
ref: et,
|
|
866
|
-
dir: "auto"
|
|
867
|
-
}, [M(e.$slots, "source", {}, void 0, !0)], 512)) : w("", !0),
|
|
868
|
-
M(e.$slots, "skeleton", {}, () => [N(at) ? (k(), C(ee, { key: 0 })) : w("", !0)], !0)
|
|
869
|
-
], 46, Se));
|
|
870
|
-
}
|
|
871
|
-
}, [["__scopeId", "data-v-ed4341f8"]]);
|
|
872
|
-
//#endregion
|
|
873
|
-
export { xe as n, He as t };
|