vue-data-ui 3.27.0 → 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 +17961 -17958
- 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 -130
- 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-DKO1l8oR.js +0 -116
- package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
- package/dist/BaseIcon-Cx9FD751.js +0 -484
- package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-vNi8YykO.js +0 -111
- package/dist/ColorPicker-hmC2bvwS.js +0 -257
- package/dist/DataTable-CjF_An2h.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-DqqGB33u.js +0 -187
- package/dist/Legend-CulFgjUY.js +0 -156
- package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
- package/dist/PackageVersion-D7H9nfK0.js +0 -12
- package/dist/PenAndPaper-CNiuGw6k.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-DSwamtmO.js +0 -143
- package/dist/SlicerPreview-k5YerMA9.js +0 -1730
- package/dist/SparkTooltip-D35KVv6N.js +0 -93
- package/dist/Title-BMCuINbv.js +0 -87
- package/dist/Tooltip-C4ZTwkLF.js +0 -312
- package/dist/UserOptions-CORYQiif.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-CBusMkua.js +0 -237
- package/dist/exposedLib-UNxZlnAS.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-Bb5rHcpO.js +0 -129
- package/dist/labelUtils-Ccn9kK7T.js +0 -19
- package/dist/lib-D4wK6ljP.js +0 -2146
- package/dist/package-DmQufM0G.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-BzIQHx-F.js +0 -90
- package/dist/render-common-BtfjXdkJ.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-D_6ZrPMD.js +0 -8090
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-DR_8JPol.js +0 -12
- package/dist/useObjectBindings-DvasYMGu.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-DdW2GSm0.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-Df7WV80w.js +0 -191
- package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
- package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
- package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
- package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
- package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
- package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
- package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
- package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
- package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
- package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
- package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
- package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
- package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
- package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
- package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
- package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
- package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
- package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
- package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
- package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
- package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
- package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
- package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
- package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
- package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
- package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
- package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
- package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
- package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
- package/dist/vue-ui-label-r3-QloJL.js +0 -1451
- package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
- package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
- package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
- package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.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-CDDFLRcX.js +0 -1979
- package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
- package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
- package/dist/vue-ui-rating-C_iTttXB.js +0 -359
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
- package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
- package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
- package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
- package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
- package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
- package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
- package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
- package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
- package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
- package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
- package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
- package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
- package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
- package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
- package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
- package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
- package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
- package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
- package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
- package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
- package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
- package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
- package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
- package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
- 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-yQyvT4Su.js +0 -537
- 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,1097 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, Dt as r, Ht as i, Kt as a, S as o, X as ee, at as s, en as c, et as te, i as ne, nn as re, nt as ie, pt as ae, t as oe, w as se, yt as ce, z as le, zt as ue } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as pe } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { t as me } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
-
import { n as he, t as ge } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as _e } from "./useNestedProp-DR_8JPol.js";
|
|
8
|
-
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ye } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as be } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as xe } from "./img-Bb5rHcpO.js";
|
|
12
|
-
import { n as Se } from "./Title-BMCuINbv.js";
|
|
13
|
-
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
-
import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
-
import { t as Ee } from "./BaseLegendToggle-CP3sddwv.js";
|
|
16
|
-
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
-
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
-
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Ae } from "./labelUtils-Ccn9kK7T.js";
|
|
20
|
-
import { t as je } from "./Legend-CulFgjUY.js";
|
|
21
|
-
import { t as Me } from "./vue_ui_galaxy-Ig0cc1_h.js";
|
|
22
|
-
import { Fragment as Ne, Teleport as Pe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Re, nextTick as ze, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as Be, openBlock as y, ref as b, renderList as Ve, renderSlot as x, resolveDynamicComponent as He, toDisplayString as S, toRefs as Ue, unref as C, watch as We, withCtx as w } from "vue";
|
|
23
|
-
//#region src/components/vue-ui-galaxy.vue
|
|
24
|
-
var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
|
|
25
|
-
"xmlns",
|
|
26
|
-
"aria-describedby",
|
|
27
|
-
"viewBox"
|
|
28
|
-
], Ze = ["width", "height"], Qe = ["id"], $e = ["stdDeviation"], et = [
|
|
29
|
-
"d",
|
|
30
|
-
"stroke",
|
|
31
|
-
"stroke-width"
|
|
32
|
-
], tt = [
|
|
33
|
-
"d",
|
|
34
|
-
"stroke",
|
|
35
|
-
"stroke-width"
|
|
36
|
-
], nt = ["filter"], rt = [
|
|
37
|
-
"d",
|
|
38
|
-
"stroke",
|
|
39
|
-
"stroke-width"
|
|
40
|
-
], it = [
|
|
41
|
-
"data-a11y-serie-id",
|
|
42
|
-
"d",
|
|
43
|
-
"stroke-width",
|
|
44
|
-
"aria-label",
|
|
45
|
-
"onMouseenter",
|
|
46
|
-
"onMouseleave",
|
|
47
|
-
"onClick"
|
|
48
|
-
], at = {
|
|
49
|
-
key: 0,
|
|
50
|
-
style: {
|
|
51
|
-
position: "absolute",
|
|
52
|
-
top: "100%",
|
|
53
|
-
left: "0",
|
|
54
|
-
width: "100%"
|
|
55
|
-
},
|
|
56
|
-
"data-dom-to-png-ignore": "",
|
|
57
|
-
"aria-hidden": "true"
|
|
58
|
-
}, ot = {
|
|
59
|
-
key: 5,
|
|
60
|
-
class: "vue-data-ui-watermark"
|
|
61
|
-
}, st = ["id"], ct = ["onClick"], lt = { key: 0 }, ut = { key: 1 }, dt = /*#__PURE__*/ Ce({
|
|
62
|
-
__name: "vue-ui-galaxy",
|
|
63
|
-
props: {
|
|
64
|
-
config: {
|
|
65
|
-
type: Object,
|
|
66
|
-
default() {
|
|
67
|
-
return {};
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
dataset: {
|
|
71
|
-
type: Array,
|
|
72
|
-
default() {
|
|
73
|
-
return [];
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
emits: [
|
|
78
|
-
"selectLegend",
|
|
79
|
-
"selectDatapoint",
|
|
80
|
-
"copyAlt"
|
|
81
|
-
],
|
|
82
|
-
setup(e, { expose: Ce, emit: Ge }) {
|
|
83
|
-
let dt = m(() => import("./Tooltip-C4ZTwkLF.js")), ft = m(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), pt = m(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), mt = m(() => import("./DataTable-CjF_An2h.js")), ht = m(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), gt = m(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), _t = m(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), vt = m(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_galaxy: yt } = pe(), { isThemeValid: bt, warnInvalidTheme: xt } = ve(), T = e, E = b(ee()), D = b(null), St = b(!1), Ct = b(""), O = b(null), wt = b(0), Tt = b(0), Et = b(0), Dt = b(0), Ot = b(null), kt = b(null), At = b(null), jt = b(null), k = b(null), A = b(null), Mt = b(!1), j = b(null), Nt = b(null), M = b(null), Pt = b(null), Ft = b({
|
|
84
|
-
x: 0,
|
|
85
|
-
y: 0
|
|
86
|
-
}), It = b("pointer"), Lt = b(!1), Rt = l(() => !!T.dataset && T.dataset.length), N = b(Jt()), P = l(() => N.value.style.chart.layout.arcs), F = l(() => N.value.style.chart.layout), I = l(() => N.value.style.chart);
|
|
87
|
-
de({
|
|
88
|
-
config: () => N.value,
|
|
89
|
-
dataset: () => T.dataset,
|
|
90
|
-
component: "VueUiGalaxy",
|
|
91
|
-
rules: [
|
|
92
|
-
fe.singleSeries,
|
|
93
|
-
fe.emptyArray,
|
|
94
|
-
{
|
|
95
|
-
test: (e) => e.length > 6,
|
|
96
|
-
message: [
|
|
97
|
-
"👀 The number of series is > 6. Consider:",
|
|
98
|
-
"",
|
|
99
|
-
"▶️ Grouping small values dynamically into a single \"Other\" series.",
|
|
100
|
-
"",
|
|
101
|
-
"▶️ Using filters to let users choose a maximum number of series to display.",
|
|
102
|
-
"",
|
|
103
|
-
"▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
});
|
|
108
|
-
let { transitionEnabled: zt } = be({
|
|
109
|
-
config: () => N.value.transitions,
|
|
110
|
-
dataset: () => T.dataset
|
|
111
|
-
}), L = l(() => N.value.userOptions.useCursorPointer), Bt = l(() => re({
|
|
112
|
-
defaultConfig: {
|
|
113
|
-
userOptions: { show: !1 },
|
|
114
|
-
table: { show: !1 },
|
|
115
|
-
useCssAnimation: !1,
|
|
116
|
-
style: { chart: {
|
|
117
|
-
backgroundColor: "#99999930",
|
|
118
|
-
legend: { backgroundColor: "transparent" }
|
|
119
|
-
} }
|
|
120
|
-
},
|
|
121
|
-
userConfig: N.value.skeletonConfig ?? {}
|
|
122
|
-
})), { loading: Vt, FINAL_DATASET: Ht } = he({
|
|
123
|
-
...Ue(T),
|
|
124
|
-
FINAL_CONFIG: N,
|
|
125
|
-
prepareConfig: Jt,
|
|
126
|
-
callback: () => {
|
|
127
|
-
Promise.resolve().then(async () => {
|
|
128
|
-
await ze(), z.value.showTable = N.value.table.show;
|
|
129
|
-
});
|
|
130
|
-
},
|
|
131
|
-
skeletonDataset: T.config?.skeletonDataset ?? [
|
|
132
|
-
{
|
|
133
|
-
name: "_",
|
|
134
|
-
values: [21],
|
|
135
|
-
color: "#DBDBDB"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
name: "_",
|
|
139
|
-
values: [13],
|
|
140
|
-
color: "#C4C4C4"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
name: "_",
|
|
144
|
-
values: [8],
|
|
145
|
-
color: "#ADADAD"
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
skeletonConfig: re({
|
|
149
|
-
defaultConfig: N.value,
|
|
150
|
-
userConfig: Bt.value
|
|
151
|
-
})
|
|
152
|
-
});
|
|
153
|
-
Be(() => {
|
|
154
|
-
Mt.value = !0, Wt();
|
|
155
|
-
});
|
|
156
|
-
let Ut = l(() => N.value.debug);
|
|
157
|
-
function Wt() {
|
|
158
|
-
if (ue(T.dataset) ? s({
|
|
159
|
-
componentName: "VueUiGalaxy",
|
|
160
|
-
type: "dataset",
|
|
161
|
-
debug: Ut.value
|
|
162
|
-
}) : Ut.value && T.dataset.forEach((e, t) => {
|
|
163
|
-
ce({
|
|
164
|
-
datasetObject: e,
|
|
165
|
-
requiredAttributes: ["name", "values"]
|
|
166
|
-
}).forEach((e) => {
|
|
167
|
-
s({
|
|
168
|
-
componentName: "VueUiGalaxy",
|
|
169
|
-
type: "datasetSerieAttribute",
|
|
170
|
-
property: e,
|
|
171
|
-
index: t
|
|
172
|
-
});
|
|
173
|
-
});
|
|
174
|
-
}), N.value.responsive) {
|
|
175
|
-
let e = we(() => {
|
|
176
|
-
let { width: e, height: t } = Te({
|
|
177
|
-
chart: D.value,
|
|
178
|
-
title: I.value.title.text ? Ot.value : null,
|
|
179
|
-
legend: I.value.legend.show ? kt.value : null,
|
|
180
|
-
noTitle: jt.value,
|
|
181
|
-
source: At.value
|
|
182
|
-
});
|
|
183
|
-
requestAnimationFrame(() => {
|
|
184
|
-
B.value = Math.max(.1, e), rn.value = Math.max(.1, t - 12);
|
|
185
|
-
});
|
|
186
|
-
});
|
|
187
|
-
k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = D.value.parentNode, k.value.observe(A.value);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
let { userOptionsVisible: Gt, setUserOptionsVisibility: Kt, keepUserOptionState: qt } = Oe({ config: N.value }), { svgRef: R } = ke({ config: I.value.title });
|
|
191
|
-
function Jt() {
|
|
192
|
-
let e = _e({
|
|
193
|
-
userConfig: T.config,
|
|
194
|
-
defaultConfig: yt
|
|
195
|
-
}), t = e.theme;
|
|
196
|
-
if (!t) return e;
|
|
197
|
-
if (!bt.value(e)) return xt(e), e;
|
|
198
|
-
let n = _e({
|
|
199
|
-
userConfig: Me[t] || T.config,
|
|
200
|
-
defaultConfig: e
|
|
201
|
-
}), r = _e({
|
|
202
|
-
userConfig: T.config,
|
|
203
|
-
defaultConfig: n
|
|
204
|
-
});
|
|
205
|
-
return {
|
|
206
|
-
...r,
|
|
207
|
-
customPalette: r.customPalette.length ? r.customPalette : c[t] || i
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
function Yt(e) {
|
|
211
|
-
let t = te(e);
|
|
212
|
-
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
213
|
-
}
|
|
214
|
-
let Xt = Yt(T.config);
|
|
215
|
-
We(() => T.config, (e, t) => {
|
|
216
|
-
let n = Yt(e), r = n !== Xt;
|
|
217
|
-
Xt = n;
|
|
218
|
-
let i = Jt();
|
|
219
|
-
if (!r) {
|
|
220
|
-
N.value.style.chart.tooltip = i.style.chart.tooltip, z.value.showTooltip = N.value.style.chart.tooltip.show;
|
|
221
|
-
return;
|
|
222
|
-
}
|
|
223
|
-
N.value = i, Gt.value = !N.value.userOptions.showOnChartHover, Wt(), Tt.value += 1, Et.value += 1, Dt.value += 1, z.value.dataLabels.show = F.value.labels.dataLabels.show, z.value.showTable = N.value.table.show, z.value.showTooltip = I.value.tooltip.show;
|
|
224
|
-
}, { deep: !0 });
|
|
225
|
-
let { isPrinting: Zt, isImaging: Qt, generatePdf: $t, generateImage: en } = me({
|
|
226
|
-
elementId: `galaxy_${E.value}`,
|
|
227
|
-
fileName: I.value.title.text || "vue-ui-galaxy",
|
|
228
|
-
options: N.value.userOptions.print
|
|
229
|
-
}), tn = l(() => N.value.userOptions.show && !I.value.title.text), nn = l(() => se(N.value.customPalette)), z = b({
|
|
230
|
-
dataLabels: { show: F.value.labels.dataLabels.show },
|
|
231
|
-
showTable: N.value.table.show,
|
|
232
|
-
showTooltip: I.value.tooltip.show
|
|
233
|
-
}), B = b(250), rn = b(180), an = b(0), on = b(0), V = l(() => ({
|
|
234
|
-
width: B.value,
|
|
235
|
-
height: rn.value,
|
|
236
|
-
viewBox: `${an.value} ${on.value} ${B.value} ${rn.value}`
|
|
237
|
-
})), sn = Ge, H = b([]);
|
|
238
|
-
function cn() {
|
|
239
|
-
sn("selectLegend", K.value.map((e) => ({
|
|
240
|
-
name: e.name,
|
|
241
|
-
color: e.color,
|
|
242
|
-
value: e.value
|
|
243
|
-
})));
|
|
244
|
-
}
|
|
245
|
-
function ln() {
|
|
246
|
-
H.value.length ? H.value = [] : J.value.forEach((e) => {
|
|
247
|
-
H.value.push(e.id);
|
|
248
|
-
}), cn();
|
|
249
|
-
}
|
|
250
|
-
function U(e) {
|
|
251
|
-
H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), cn();
|
|
252
|
-
}
|
|
253
|
-
function un(e) {
|
|
254
|
-
return W.value.length ? W.value.find((t) => t.name === e) || (Ut.value && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (Ut.value && console.warn("VueUiGalaxy - There are no series to show."), null);
|
|
255
|
-
}
|
|
256
|
-
function dn(e) {
|
|
257
|
-
let t = un(e);
|
|
258
|
-
t !== null && H.value.includes(t.id) && U({ id: t.id });
|
|
259
|
-
}
|
|
260
|
-
function fn(e) {
|
|
261
|
-
let t = un(e);
|
|
262
|
-
t !== null && (H.value.includes(t.id) || U({ id: t.id }));
|
|
263
|
-
}
|
|
264
|
-
let W = l(() => Ht.value.map((e, t) => ({
|
|
265
|
-
name: e.name,
|
|
266
|
-
color: o(e.color) || nn.value[t] || i[t] || i[t % i.length],
|
|
267
|
-
value: e.values ? a(e.values).reduce((e, t) => e + t, 0) : 0,
|
|
268
|
-
absoluteValues: a(e.values),
|
|
269
|
-
id: ee()
|
|
270
|
-
})).sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
271
|
-
...e,
|
|
272
|
-
absoluteIndex: t
|
|
273
|
-
})));
|
|
274
|
-
function pn() {
|
|
275
|
-
return W.value.map((e) => ({
|
|
276
|
-
name: e.name,
|
|
277
|
-
color: e.color,
|
|
278
|
-
value: e.value
|
|
279
|
-
}));
|
|
280
|
-
}
|
|
281
|
-
let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), mn = b(190), hn = l(() => W.value.filter((e) => !H.value.includes(e.id))), gn = l(() => (P.value.strokeWidth + P.value.borderWidth) / 2 + (F.value.padding ?? 12)), _n = l(() => le({
|
|
282
|
-
maxPoints: mn.value,
|
|
283
|
-
a: P.value.a ?? 6,
|
|
284
|
-
b: P.value.b ?? 6,
|
|
285
|
-
angleStep: P.value.angleStep ?? .07,
|
|
286
|
-
startX: V.value.width / 2 + P.value.offsetX,
|
|
287
|
-
startY: V.value.height / 2 + P.value.offsetY,
|
|
288
|
-
boxWidth: V.value.width,
|
|
289
|
-
boxHeight: V.value.height,
|
|
290
|
-
padding: gn.value
|
|
291
|
-
})), K = l(() => {
|
|
292
|
-
let e = [];
|
|
293
|
-
for (let t = 0; t < hn.value.length; t += 1) {
|
|
294
|
-
let n = hn.value[t], r = n.value / G.value * mn.value + (t > 0 && e.length ? e[t - 1].points : 0);
|
|
295
|
-
e.push({
|
|
296
|
-
points: r,
|
|
297
|
-
...n,
|
|
298
|
-
seriesIndex: t,
|
|
299
|
-
proportion: n.value / G.value,
|
|
300
|
-
path: _n.value(r)
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
return e.filter((e) => !H.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
|
|
304
|
-
});
|
|
305
|
-
function vn(e) {
|
|
306
|
-
let t = Math.min(B.value, rn.value), n = O.value === e.id && P.value.hoverEffect.show ? P.value.hoverEffect.multiplicator : 1, r = (P.value.strokeWidth + P.value.borderWidth) * n, i = P.value.strokeWidth * n, a = P.value.strokeWidth / 2 * n;
|
|
307
|
-
return {
|
|
308
|
-
border: r / 180 * t,
|
|
309
|
-
path: i / 180 * t,
|
|
310
|
-
blur: a / 180 * t
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
let q = b(!1);
|
|
314
|
-
function yn(e) {
|
|
315
|
-
q.value = e, wt.value += 1;
|
|
316
|
-
}
|
|
317
|
-
let bn = b(null);
|
|
318
|
-
function xn() {
|
|
319
|
-
St.value = !1, O.value = null, M.value = null, Pt.value = null;
|
|
320
|
-
}
|
|
321
|
-
function Sn(e) {
|
|
322
|
-
if (!R.value || !e) return;
|
|
323
|
-
let t = R.value.querySelector(`[data-a11y-serie-id="${e}"]`);
|
|
324
|
-
if (!t) return;
|
|
325
|
-
let n = t.getBoundingClientRect();
|
|
326
|
-
Ft.value = {
|
|
327
|
-
x: n.left + n.width / 2,
|
|
328
|
-
y: n.top + n.height / 2
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
function Cn(e) {
|
|
332
|
-
N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
333
|
-
datapoint: e,
|
|
334
|
-
seriesIndex: e.absoluteIndex
|
|
335
|
-
}), (Pt.value !== e.id || It.value !== "keyboard") && (St.value = !1, O.value = null);
|
|
336
|
-
}
|
|
337
|
-
function wn(e) {
|
|
338
|
-
sn("selectDatapoint", e), N.value.events.datapointClick && N.value.events.datapointClick({
|
|
339
|
-
datapoint: e,
|
|
340
|
-
seriesIndex: e.absoluteIndex
|
|
341
|
-
});
|
|
342
|
-
}
|
|
343
|
-
function Tn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
|
|
344
|
-
let i = F.value.labels.dataLabels;
|
|
345
|
-
return Ae({
|
|
346
|
-
config: i,
|
|
347
|
-
val: e,
|
|
348
|
-
percentage: t,
|
|
349
|
-
showVal: n,
|
|
350
|
-
showPercentage: r
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
function En({ datapoint: e, _relativeIndex: n, seriesIndex: i, show: a = !1, triggerMode: o = "pointer", flatIndex: ee = null }) {
|
|
354
|
-
if (N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
355
|
-
datapoint: e,
|
|
356
|
-
seriesIndex: e.absoluteIndex
|
|
357
|
-
}), !z.value.showTooltip) return;
|
|
358
|
-
It.value = o, M.value = ee, Pt.value = e.id, bn.value = {
|
|
359
|
-
datapoint: e,
|
|
360
|
-
seriesIndex: i,
|
|
361
|
-
series: W.value,
|
|
362
|
-
config: N.value
|
|
363
|
-
}, St.value = a, O.value = e.id;
|
|
364
|
-
let s = "", c = I.value.tooltip.customFormat;
|
|
365
|
-
r(c) && ae(() => c({
|
|
366
|
-
seriesIndex: i,
|
|
367
|
-
datapoint: e,
|
|
368
|
-
series: W.value,
|
|
369
|
-
config: N.value
|
|
370
|
-
})) ? Ct.value = c({
|
|
371
|
-
seriesIndex: i,
|
|
372
|
-
datapoint: e,
|
|
373
|
-
series: W.value,
|
|
374
|
-
config: N.value
|
|
375
|
-
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, s += `<b>${Tn({
|
|
376
|
-
showVal: I.value.tooltip.showValue,
|
|
377
|
-
showPercentage: I.value.tooltip.showPercentage,
|
|
378
|
-
val: ne(F.value.labels.dataLabels.formatter, e.value, t({
|
|
379
|
-
p: F.value.labels.dataLabels.prefix,
|
|
380
|
-
v: e.value,
|
|
381
|
-
s: F.value.labels.dataLabels.suffix,
|
|
382
|
-
r: I.value.tooltip.roundingValue
|
|
383
|
-
}), {
|
|
384
|
-
datapoint: e,
|
|
385
|
-
seriesIndex: i
|
|
386
|
-
}),
|
|
387
|
-
percentage: t({
|
|
388
|
-
v: e.proportion * 100,
|
|
389
|
-
s: "%",
|
|
390
|
-
r: I.value.tooltip.roundingPercentage
|
|
391
|
-
})
|
|
392
|
-
})}</b></div>`, Ct.value = `<div>${s}</div>`), o === "keyboard" && ze(() => {
|
|
393
|
-
Sn(e.id);
|
|
394
|
-
});
|
|
395
|
-
}
|
|
396
|
-
let J = l(() => W.value.map((e, n) => {
|
|
397
|
-
let r = ne(F.value.labels.dataLabels.formatter, e.value, t({
|
|
398
|
-
p: F.value.labels.dataLabels.prefix,
|
|
399
|
-
v: e.value,
|
|
400
|
-
s: F.value.labels.dataLabels.suffix,
|
|
401
|
-
r: I.value.legend.roundingValue
|
|
402
|
-
}), {
|
|
403
|
-
datapoint: e,
|
|
404
|
-
index: n
|
|
405
|
-
}), i = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" : t({
|
|
406
|
-
v: e.value / G.value * 100,
|
|
407
|
-
s: "%",
|
|
408
|
-
r: I.value.legend.roundingPercentage
|
|
409
|
-
}), a = Tn({
|
|
410
|
-
showVal: I.value.legend.showValue,
|
|
411
|
-
showPercentage: I.value.legend.showPercentage,
|
|
412
|
-
val: r,
|
|
413
|
-
percentage: i
|
|
414
|
-
});
|
|
415
|
-
return {
|
|
416
|
-
...e,
|
|
417
|
-
proportion: (e.value || 0) / Ht.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
418
|
-
opacity: H.value.includes(e.id) ? .5 : 1,
|
|
419
|
-
shape: e.shape || "circle",
|
|
420
|
-
segregate: () => U(e),
|
|
421
|
-
isSegregated: H.value.includes(e.id),
|
|
422
|
-
display: `${e.name}${I.value.legend.showPercentage || I.value.legend.showValue ? ": " : ""}${a}`
|
|
423
|
-
};
|
|
424
|
-
})), Dn = l(() => ({
|
|
425
|
-
cy: "galaxy-div-legend",
|
|
426
|
-
backgroundColor: I.value.legend.backgroundColor,
|
|
427
|
-
color: I.value.legend.color,
|
|
428
|
-
fontSize: I.value.legend.fontSize,
|
|
429
|
-
paddingBottom: 12,
|
|
430
|
-
fontWeight: I.value.legend.bold ? "bold" : ""
|
|
431
|
-
})), Y = l(() => ({
|
|
432
|
-
head: K.value.map((e) => ({
|
|
433
|
-
name: e.name,
|
|
434
|
-
color: e.color
|
|
435
|
-
})),
|
|
436
|
-
body: K.value.map((e) => e.value)
|
|
437
|
-
}));
|
|
438
|
-
function On(e = null) {
|
|
439
|
-
ze(() => {
|
|
440
|
-
let t = Y.value.head.map((e, t) => [
|
|
441
|
-
[e.name],
|
|
442
|
-
[Y.value.body[t]],
|
|
443
|
-
[isNaN(Y.value.body[t] / G.value) ? "-" : Y.value.body[t] / G.value * 100]
|
|
444
|
-
]), r = [
|
|
445
|
-
[I.value.title.text],
|
|
446
|
-
[I.value.title.subtitle.text],
|
|
447
|
-
[
|
|
448
|
-
[""],
|
|
449
|
-
["val"],
|
|
450
|
-
["%"]
|
|
451
|
-
]
|
|
452
|
-
].concat(t), i = n(r);
|
|
453
|
-
e ? e(i) : ie({
|
|
454
|
-
csvContent: i,
|
|
455
|
-
title: I.value.title.text || "vue-ui-galaxy"
|
|
456
|
-
});
|
|
457
|
-
});
|
|
458
|
-
}
|
|
459
|
-
let X = l(() => {
|
|
460
|
-
let e = [
|
|
461
|
-
"__SUM__",
|
|
462
|
-
t({
|
|
463
|
-
p: F.value.labels.dataLabels.prefix,
|
|
464
|
-
v: G.value,
|
|
465
|
-
s: F.value.labels.dataLabels.suffix,
|
|
466
|
-
r: N.value.table.td.roundingValue
|
|
467
|
-
}),
|
|
468
|
-
"100%"
|
|
469
|
-
], n = Y.value.head.map((e, n) => {
|
|
470
|
-
let r = t({
|
|
471
|
-
p: F.value.labels.dataLabels.prefix,
|
|
472
|
-
v: Y.value.body[n],
|
|
473
|
-
s: F.value.labels.dataLabels.suffix,
|
|
474
|
-
r: N.value.table.td.roundingValue
|
|
475
|
-
});
|
|
476
|
-
return [
|
|
477
|
-
{
|
|
478
|
-
color: e.color,
|
|
479
|
-
name: e.name
|
|
480
|
-
},
|
|
481
|
-
r,
|
|
482
|
-
isNaN(Y.value.body[n] / G.value) ? "-" : t({
|
|
483
|
-
v: Y.value.body[n] / G.value * 100,
|
|
484
|
-
s: "%",
|
|
485
|
-
r: N.value.table.td.roundingPercentage
|
|
486
|
-
})
|
|
487
|
-
];
|
|
488
|
-
}), r = {
|
|
489
|
-
th: {
|
|
490
|
-
backgroundColor: N.value.table.th.backgroundColor,
|
|
491
|
-
color: N.value.table.th.color,
|
|
492
|
-
outline: N.value.table.th.outline
|
|
493
|
-
},
|
|
494
|
-
td: {
|
|
495
|
-
backgroundColor: N.value.table.td.backgroundColor,
|
|
496
|
-
color: N.value.table.td.color,
|
|
497
|
-
outline: N.value.table.td.outline
|
|
498
|
-
},
|
|
499
|
-
breakpoint: N.value.table.responsiveBreakpoint
|
|
500
|
-
};
|
|
501
|
-
return {
|
|
502
|
-
colNames: [
|
|
503
|
-
N.value.table.columnNames.series,
|
|
504
|
-
N.value.table.columnNames.value,
|
|
505
|
-
N.value.table.columnNames.percentage
|
|
506
|
-
],
|
|
507
|
-
head: e,
|
|
508
|
-
body: n,
|
|
509
|
-
config: r
|
|
510
|
-
};
|
|
511
|
-
});
|
|
512
|
-
function kn() {
|
|
513
|
-
z.value.showTable = !z.value.showTable;
|
|
514
|
-
}
|
|
515
|
-
function An() {
|
|
516
|
-
z.value.showTooltip = !z.value.showTooltip;
|
|
517
|
-
}
|
|
518
|
-
let Z = b(!1);
|
|
519
|
-
function jn() {
|
|
520
|
-
Z.value = !Z.value;
|
|
521
|
-
}
|
|
522
|
-
async function Mn({ scale: e = 2 } = {}) {
|
|
523
|
-
if (!D.value) return;
|
|
524
|
-
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
|
|
525
|
-
domElement: D.value,
|
|
526
|
-
base64: !0,
|
|
527
|
-
img: !0,
|
|
528
|
-
scale: e
|
|
529
|
-
});
|
|
530
|
-
return {
|
|
531
|
-
imageUri: i,
|
|
532
|
-
base64: a,
|
|
533
|
-
title: I.value.title.text,
|
|
534
|
-
width: t,
|
|
535
|
-
height: n,
|
|
536
|
-
aspectRatio: r
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
let Q = l(() => {
|
|
540
|
-
let e = N.value.table.useDialog && !N.value.table.show, t = z.value.showTable;
|
|
541
|
-
return {
|
|
542
|
-
component: e ? vt : pt,
|
|
543
|
-
title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
|
|
544
|
-
props: e ? {
|
|
545
|
-
backgroundColor: N.value.table.th.backgroundColor,
|
|
546
|
-
color: N.value.table.th.color,
|
|
547
|
-
headerColor: N.value.table.th.color,
|
|
548
|
-
headerBg: N.value.table.th.backgroundColor,
|
|
549
|
-
isFullscreen: q.value,
|
|
550
|
-
fullscreenParent: D.value,
|
|
551
|
-
forcedWidth: Math.min(500, window.innerWidth * .8),
|
|
552
|
-
isCursorPointer: L.value
|
|
553
|
-
} : {
|
|
554
|
-
hideDetails: !0,
|
|
555
|
-
config: {
|
|
556
|
-
open: t,
|
|
557
|
-
maxHeight: 1e4,
|
|
558
|
-
body: {
|
|
559
|
-
backgroundColor: I.value.backgroundColor,
|
|
560
|
-
color: I.value.color
|
|
561
|
-
},
|
|
562
|
-
head: {
|
|
563
|
-
backgroundColor: I.value.backgroundColor,
|
|
564
|
-
color: I.value.color
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
});
|
|
570
|
-
We(() => z.value.showTable, (e) => {
|
|
571
|
-
N.value.table.show || (e && N.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
572
|
-
});
|
|
573
|
-
function Nn() {
|
|
574
|
-
z.value.showTable = !1, Nt.value && Nt.value.setTableIconState(!1);
|
|
575
|
-
}
|
|
576
|
-
let Pn = l(() => J.value.map((e) => ({
|
|
577
|
-
...e,
|
|
578
|
-
name: e.display
|
|
579
|
-
}))), Fn = l(() => I.value.backgroundColor), In = l(() => I.value.legend), Ln = l(() => I.value.title), { isCallbackImaging: Rn, isCallbackSvg: zn, generateSvg: Bn, onGenerateImage: Vn } = ye({
|
|
580
|
-
svg: R,
|
|
581
|
-
title: Ln,
|
|
582
|
-
legend: In,
|
|
583
|
-
legendItems: Pn,
|
|
584
|
-
backgroundColor: Fn,
|
|
585
|
-
getSvgCallback: () => N.value.userOptions.callbacks.svg,
|
|
586
|
-
generateImage: en
|
|
587
|
-
});
|
|
588
|
-
async function Hn() {
|
|
589
|
-
if (sn("copyAlt", {
|
|
590
|
-
config: N.value,
|
|
591
|
-
dataset: W.value
|
|
592
|
-
}), !N.value.userOptions.callbacks.altCopy) {
|
|
593
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
594
|
-
return;
|
|
595
|
-
}
|
|
596
|
-
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
597
|
-
config: N.value,
|
|
598
|
-
dataset: W.value
|
|
599
|
-
}));
|
|
600
|
-
}
|
|
601
|
-
function Un() {
|
|
602
|
-
M.value = null, Pt.value = null, Lt.value = !0;
|
|
603
|
-
}
|
|
604
|
-
function Wn() {
|
|
605
|
-
xn(), Lt.value = !1;
|
|
606
|
-
}
|
|
607
|
-
function Gn(e) {
|
|
608
|
-
if (!R.value || Z.value || document.activeElement !== R.value || !$.value.length) return;
|
|
609
|
-
let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
610
|
-
if (!t && !n && !r && !i) return;
|
|
611
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
612
|
-
xn();
|
|
613
|
-
return;
|
|
614
|
-
}
|
|
615
|
-
if (r) {
|
|
616
|
-
if (M.value === null) return;
|
|
617
|
-
let e = $.value[M.value];
|
|
618
|
-
if (!e) return;
|
|
619
|
-
wn(e.datapoint);
|
|
620
|
-
return;
|
|
621
|
-
}
|
|
622
|
-
let a = M.value;
|
|
623
|
-
a === null || a < 0 || a >= $.value.length ? a = n ? 0 : $.value.length - 1 : (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0));
|
|
624
|
-
let o = $.value[a];
|
|
625
|
-
o && En({
|
|
626
|
-
datapoint: o.datapoint,
|
|
627
|
-
seriesIndex: o.datapoint.seriesIndex,
|
|
628
|
-
show: !0,
|
|
629
|
-
triggerMode: "keyboard",
|
|
630
|
-
flatIndex: a
|
|
631
|
-
});
|
|
632
|
-
}
|
|
633
|
-
let Kn = l(() => ({
|
|
634
|
-
headers: X.value?.colNames ?? [],
|
|
635
|
-
rows: X.value?.body ?? []
|
|
636
|
-
})), $ = l(() => K.value.map((e, t) => ({
|
|
637
|
-
datapoint: e,
|
|
638
|
-
index: t
|
|
639
|
-
})));
|
|
640
|
-
return Ce({
|
|
641
|
-
getData: pn,
|
|
642
|
-
getImage: Mn,
|
|
643
|
-
generatePdf: $t,
|
|
644
|
-
generateCsv: On,
|
|
645
|
-
generateImage: en,
|
|
646
|
-
generateSvg: Bn,
|
|
647
|
-
hideSeries: fn,
|
|
648
|
-
showSeries: dn,
|
|
649
|
-
toggleTable: kn,
|
|
650
|
-
toggleTooltip: An,
|
|
651
|
-
toggleAnnotator: jn,
|
|
652
|
-
toggleFullscreen: yn,
|
|
653
|
-
copyAlt: Hn
|
|
654
|
-
}), (e, n) => (y(), f("div", {
|
|
655
|
-
ref_key: "galaxyChart",
|
|
656
|
-
ref: D,
|
|
657
|
-
class: g(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"} ${C(Vt) ? "loading" : ""}`),
|
|
658
|
-
style: v(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;${I.value.title.text ? "" : "padding-top:36px"};background:${I.value.backgroundColor}`),
|
|
659
|
-
id: `galaxy_${E.value}`,
|
|
660
|
-
onMouseenter: n[2] ||= () => C(Kt)(!0),
|
|
661
|
-
onMouseleave: n[3] ||= () => {
|
|
662
|
-
C(Kt)(!1), Lt.value || xn();
|
|
663
|
-
}
|
|
664
|
-
}, [
|
|
665
|
-
p("div", {
|
|
666
|
-
id: `chart-instructions-${E.value}`,
|
|
667
|
-
class: "sr-only"
|
|
668
|
-
}, [p("p", null, S(N.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
669
|
-
Kn.value?.rows?.length ? (y(), u(De, {
|
|
670
|
-
key: 0,
|
|
671
|
-
uid: E.value,
|
|
672
|
-
head: Kn.value.headers,
|
|
673
|
-
body: Kn.value.rows,
|
|
674
|
-
notice: N.value.a11y.translations.tableAvailable,
|
|
675
|
-
caption: N.value.a11y.translations.tableCaption
|
|
676
|
-
}, null, 8, [
|
|
677
|
-
"uid",
|
|
678
|
-
"head",
|
|
679
|
-
"body",
|
|
680
|
-
"notice",
|
|
681
|
-
"caption"
|
|
682
|
-
])) : d("", !0),
|
|
683
|
-
N.value.userOptions.buttons.annotator ? (y(), u(C(ht), {
|
|
684
|
-
key: 1,
|
|
685
|
-
svgRef: C(R),
|
|
686
|
-
backgroundColor: I.value.backgroundColor,
|
|
687
|
-
color: I.value.color,
|
|
688
|
-
active: Z.value,
|
|
689
|
-
isCursorPointer: L.value,
|
|
690
|
-
palette: N.value.userOptions.annotatorPalette,
|
|
691
|
-
onClose: jn
|
|
692
|
-
}, {
|
|
693
|
-
"annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
694
|
-
"annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
695
|
-
"annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
|
|
696
|
-
"annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
|
|
697
|
-
"annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
|
|
698
|
-
"annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
|
|
699
|
-
_: 3
|
|
700
|
-
}, 8, [
|
|
701
|
-
"svgRef",
|
|
702
|
-
"backgroundColor",
|
|
703
|
-
"color",
|
|
704
|
-
"active",
|
|
705
|
-
"isCursorPointer",
|
|
706
|
-
"palette"
|
|
707
|
-
])) : d("", !0),
|
|
708
|
-
tn.value ? (y(), f("div", {
|
|
709
|
-
key: 2,
|
|
710
|
-
ref_key: "noTitle",
|
|
711
|
-
ref: jt,
|
|
712
|
-
class: "vue-data-ui-no-title-space",
|
|
713
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
714
|
-
}, null, 512)) : d("", !0),
|
|
715
|
-
I.value.title.text ? (y(), f("div", {
|
|
716
|
-
key: 3,
|
|
717
|
-
ref_key: "chartTitle",
|
|
718
|
-
ref: Ot,
|
|
719
|
-
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
720
|
-
}, [(y(), u(Se, {
|
|
721
|
-
key: `title_${Tt.value}`,
|
|
722
|
-
config: {
|
|
723
|
-
title: {
|
|
724
|
-
cy: "galaxy-div-title",
|
|
725
|
-
...I.value.title
|
|
726
|
-
},
|
|
727
|
-
subtitle: {
|
|
728
|
-
cy: "galaxy-div-subtitle",
|
|
729
|
-
...I.value.title.subtitle
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
733
|
-
p("div", { id: `legend-top-${E.value}` }, null, 8, Je),
|
|
734
|
-
N.value.userOptions.show && Rt.value && (C(qt) || C(Gt)) ? (y(), u(C(gt), {
|
|
735
|
-
ref_key: "userOptionsRef",
|
|
736
|
-
ref: Nt,
|
|
737
|
-
key: `user_option_${wt.value}`,
|
|
738
|
-
backgroundColor: I.value.backgroundColor,
|
|
739
|
-
color: I.value.color,
|
|
740
|
-
isPrinting: C(Zt),
|
|
741
|
-
isImaging: C(Qt),
|
|
742
|
-
uid: E.value,
|
|
743
|
-
hasTooltip: N.value.userOptions.buttons.tooltip && I.value.tooltip.show,
|
|
744
|
-
hasPdf: N.value.userOptions.buttons.pdf,
|
|
745
|
-
hasXls: N.value.userOptions.buttons.csv,
|
|
746
|
-
hasImg: N.value.userOptions.buttons.img,
|
|
747
|
-
hasSvg: N.value.userOptions.buttons.svg,
|
|
748
|
-
hasTable: N.value.userOptions.buttons.table,
|
|
749
|
-
hasFullscreen: N.value.userOptions.buttons.fullscreen,
|
|
750
|
-
hasAltCopy: N.value.userOptions.buttons.altCopy,
|
|
751
|
-
isTooltip: z.value.showTooltip,
|
|
752
|
-
isFullscreen: q.value,
|
|
753
|
-
titles: { ...N.value.userOptions.buttonTitles },
|
|
754
|
-
chartElement: D.value,
|
|
755
|
-
position: N.value.userOptions.position,
|
|
756
|
-
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
757
|
-
isAnnotation: Z.value,
|
|
758
|
-
callbacks: N.value.userOptions.callbacks,
|
|
759
|
-
printScale: N.value.userOptions.print.scale,
|
|
760
|
-
tableDialog: N.value.table.useDialog,
|
|
761
|
-
isCursorPointer: L.value,
|
|
762
|
-
onToggleFullscreen: yn,
|
|
763
|
-
onGeneratePdf: C($t),
|
|
764
|
-
onGenerateCsv: On,
|
|
765
|
-
onGenerateImage: C(Vn),
|
|
766
|
-
onGenerateSvg: C(Bn),
|
|
767
|
-
onToggleTable: kn,
|
|
768
|
-
onToggleTooltip: An,
|
|
769
|
-
onToggleAnnotator: jn,
|
|
770
|
-
onCopyAlt: Hn,
|
|
771
|
-
style: v({ visibility: C(qt) ? C(Gt) ? "visible" : "hidden" : "visible" })
|
|
772
|
-
}, Fe({ _: 2 }, [
|
|
773
|
-
e.$slots.menuIcon ? {
|
|
774
|
-
name: "menuIcon",
|
|
775
|
-
fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
|
|
776
|
-
isOpen: t,
|
|
777
|
-
color: n
|
|
778
|
-
})), void 0, !0)]),
|
|
779
|
-
key: "0"
|
|
780
|
-
} : void 0,
|
|
781
|
-
e.$slots.optionTooltip ? {
|
|
782
|
-
name: "optionTooltip",
|
|
783
|
-
fn: w(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
784
|
-
key: "1"
|
|
785
|
-
} : void 0,
|
|
786
|
-
e.$slots.optionPdf ? {
|
|
787
|
-
name: "optionPdf",
|
|
788
|
-
fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
789
|
-
key: "2"
|
|
790
|
-
} : void 0,
|
|
791
|
-
e.$slots.optionCsv ? {
|
|
792
|
-
name: "optionCsv",
|
|
793
|
-
fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
794
|
-
key: "3"
|
|
795
|
-
} : void 0,
|
|
796
|
-
e.$slots.optionImg ? {
|
|
797
|
-
name: "optionImg",
|
|
798
|
-
fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
799
|
-
key: "4"
|
|
800
|
-
} : void 0,
|
|
801
|
-
e.$slots.optionSvg ? {
|
|
802
|
-
name: "optionSvg",
|
|
803
|
-
fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
804
|
-
key: "5"
|
|
805
|
-
} : void 0,
|
|
806
|
-
e.$slots.optionTable ? {
|
|
807
|
-
name: "optionTable",
|
|
808
|
-
fn: w(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
809
|
-
key: "6"
|
|
810
|
-
} : void 0,
|
|
811
|
-
e.$slots.optionFullscreen ? {
|
|
812
|
-
name: "optionFullscreen",
|
|
813
|
-
fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
|
|
814
|
-
toggleFullscreen: t,
|
|
815
|
-
isFullscreen: n
|
|
816
|
-
})), void 0, !0)]),
|
|
817
|
-
key: "7"
|
|
818
|
-
} : void 0,
|
|
819
|
-
e.$slots.optionAnnotator ? {
|
|
820
|
-
name: "optionAnnotator",
|
|
821
|
-
fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
|
|
822
|
-
toggleAnnotator: t,
|
|
823
|
-
isAnnotator: n
|
|
824
|
-
})), void 0, !0)]),
|
|
825
|
-
key: "8"
|
|
826
|
-
} : void 0,
|
|
827
|
-
e.$slots.optionAltCopy ? {
|
|
828
|
-
name: "optionAltCopy",
|
|
829
|
-
fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
|
|
830
|
-
key: "9"
|
|
831
|
-
} : void 0,
|
|
832
|
-
e.$slots["custom-menu-before"] ? {
|
|
833
|
-
name: "custom-menu-before",
|
|
834
|
-
fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
835
|
-
key: "10"
|
|
836
|
-
} : void 0,
|
|
837
|
-
e.$slots["custom-menu-after"] ? {
|
|
838
|
-
name: "custom-menu-after",
|
|
839
|
-
fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
840
|
-
key: "11"
|
|
841
|
-
} : void 0
|
|
842
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
|
|
843
|
-
p("div", Ye, [(y(), f("svg", {
|
|
844
|
-
ref_key: "svgRef",
|
|
845
|
-
ref: R,
|
|
846
|
-
xmlns: C(oe),
|
|
847
|
-
"aria-describedby": `chart-instructions-${E.value}`,
|
|
848
|
-
class: g({
|
|
849
|
-
"vue-data-ui-fullscreen--on": q.value,
|
|
850
|
-
"vue-data-ui-fulscreen--off": !q.value
|
|
851
|
-
}),
|
|
852
|
-
viewBox: V.value.viewBox,
|
|
853
|
-
style: v(`max-width:100%; overflow: visible; background:transparent;color:${I.value.color}`),
|
|
854
|
-
tabindex: "0",
|
|
855
|
-
onFocus: Un,
|
|
856
|
-
onBlur: Wn,
|
|
857
|
-
onKeydown: Gn
|
|
858
|
-
}, [
|
|
859
|
-
Le(C(_t)),
|
|
860
|
-
e.$slots["chart-background"] ? (y(), f("foreignObject", {
|
|
861
|
-
key: 0,
|
|
862
|
-
x: 0,
|
|
863
|
-
y: 0,
|
|
864
|
-
width: V.value.width,
|
|
865
|
-
height: V.value.height,
|
|
866
|
-
style: { pointerEvents: "none" }
|
|
867
|
-
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
|
|
868
|
-
p("defs", null, [p("filter", {
|
|
869
|
-
id: `blur_${E.value}`,
|
|
870
|
-
x: "-50%",
|
|
871
|
-
y: "-50%",
|
|
872
|
-
width: "200%",
|
|
873
|
-
height: "200%"
|
|
874
|
-
}, [p("feGaussianBlur", {
|
|
875
|
-
in: "SourceGraphic",
|
|
876
|
-
stdDeviation: 100 / P.value.gradient.intensity
|
|
877
|
-
}, null, 8, $e)], 8, Qe)]),
|
|
878
|
-
(y(!0), f(Ne, null, Ve(K.value, (e) => (y(), f("g", { key: `dp_${e.id}` }, [
|
|
879
|
-
e.value ? (y(), f("path", {
|
|
880
|
-
key: 0,
|
|
881
|
-
d: e.path,
|
|
882
|
-
fill: "none",
|
|
883
|
-
stroke: I.value.backgroundColor,
|
|
884
|
-
"stroke-width": vn(e).border,
|
|
885
|
-
class: g({ "vue-data-ui-transition": C(zt) }),
|
|
886
|
-
"stroke-linecap": "round"
|
|
887
|
-
}, null, 10, et)) : d("", !0),
|
|
888
|
-
e.value ? (y(), f("path", {
|
|
889
|
-
key: 1,
|
|
890
|
-
d: e.path,
|
|
891
|
-
fill: "none",
|
|
892
|
-
stroke: e.color,
|
|
893
|
-
"stroke-width": vn(e).path,
|
|
894
|
-
"stroke-linecap": "round",
|
|
895
|
-
class: g({
|
|
896
|
-
"vue-data-ui-transition": C(zt),
|
|
897
|
-
"vue-ui-galaxy-blur": O.value && O.value !== e.id && N.value.useBlurOnHover
|
|
898
|
-
})
|
|
899
|
-
}, null, 10, tt)) : d("", !0),
|
|
900
|
-
e.value && P.value.gradient.show ? (y(), f("g", {
|
|
901
|
-
key: 2,
|
|
902
|
-
filter: `url(#blur_${E.value})`
|
|
903
|
-
}, [p("path", {
|
|
904
|
-
d: e.path,
|
|
905
|
-
fill: "none",
|
|
906
|
-
stroke: P.value.gradient.color,
|
|
907
|
-
"stroke-width": vn(e).blur,
|
|
908
|
-
"stroke-linecap": "round",
|
|
909
|
-
class: g({
|
|
910
|
-
"vue-ui-galaxy-gradient": !0,
|
|
911
|
-
"vue-data-ui-transition": C(zt),
|
|
912
|
-
"vue-ui-galaxy-blur": O.value && O.value !== e.id && N.value.useBlurOnHover
|
|
913
|
-
})
|
|
914
|
-
}, null, 10, rt)], 8, nt)) : d("", !0)
|
|
915
|
-
]))), 128)),
|
|
916
|
-
(y(!0), f(Ne, null, Ve(K.value, (e, n) => (y(), f("g", null, [e.value ? (y(), f("path", {
|
|
917
|
-
key: 0,
|
|
918
|
-
"data-a11y-serie-id": e.id,
|
|
919
|
-
d: e.path,
|
|
920
|
-
fill: "none",
|
|
921
|
-
stroke: "transparent",
|
|
922
|
-
"stroke-width": P.value.strokeWidth + P.value.borderWidth,
|
|
923
|
-
"stroke-linecap": "round",
|
|
924
|
-
"aria-label": `${e.name}: ${C(t)({
|
|
925
|
-
p: F.value.labels.dataLabels.prefix,
|
|
926
|
-
v: e.value,
|
|
927
|
-
s: F.value.labels.dataLabels.suffix,
|
|
928
|
-
r: I.value.tooltip.roundingValue
|
|
929
|
-
})}`,
|
|
930
|
-
onMouseenter: (t) => En({
|
|
931
|
-
datapoint: e,
|
|
932
|
-
relativeIndex: n,
|
|
933
|
-
seriesIndex: e.seriesIndex,
|
|
934
|
-
show: !0,
|
|
935
|
-
triggerMode: "pointer",
|
|
936
|
-
flatIndex: n
|
|
937
|
-
}),
|
|
938
|
-
onMouseleave: (t) => Cn(e),
|
|
939
|
-
onClick: (t) => wn(e)
|
|
940
|
-
}, null, 40, it)) : d("", !0)]))), 256)),
|
|
941
|
-
x(e.$slots, "svg", { svg: {
|
|
942
|
-
...V.value,
|
|
943
|
-
isPrintingImg: C(Zt) || C(Qt) || C(Rn),
|
|
944
|
-
isPrintingSvg: C(zn)
|
|
945
|
-
} }, void 0, !0)
|
|
946
|
-
], 46, Xe)), e.$slots.hint ? (y(), f("div", at, [x(e.$slots, "hint", _(h({
|
|
947
|
-
hint: N.value.a11y.translations.keyboardNavigation,
|
|
948
|
-
isVisible: Lt.value
|
|
949
|
-
})), void 0, !0)])) : d("", !0)]),
|
|
950
|
-
e.$slots.watermark ? (y(), f("div", ot, [x(e.$slots, "watermark", _(h({ isPrinting: C(Zt) || C(Qt) || C(Rn) || C(zn) })), void 0, !0)])) : d("", !0),
|
|
951
|
-
p("div", { id: `legend-bottom-${E.value}` }, null, 8, st),
|
|
952
|
-
Mt.value && (I.value.legend.show || e.$slots.legend) ? (y(), u(Pe, {
|
|
953
|
-
key: 6,
|
|
954
|
-
to: I.value.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
|
|
955
|
-
}, [p("div", {
|
|
956
|
-
ref_key: "chartLegend",
|
|
957
|
-
ref: kt
|
|
958
|
-
}, [x(e.$slots, "legend", { legend: J.value }, () => [I.value.legend.show ? (y(), u(je, {
|
|
959
|
-
key: `legend_${Dt.value}`,
|
|
960
|
-
legendSet: J.value,
|
|
961
|
-
config: Dn.value,
|
|
962
|
-
onClickMarker: n[0] ||= ({ legend: e }) => U(e)
|
|
963
|
-
}, {
|
|
964
|
-
item: w(({ legend: e, index: t }) => [C(Vt) ? d("", !0) : (y(), f("div", {
|
|
965
|
-
key: 0,
|
|
966
|
-
onClick: (t) => U(e),
|
|
967
|
-
style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
|
|
968
|
-
}, S(e.display), 13, ct))]),
|
|
969
|
-
legendToggle: w(() => [J.value.length > 2 && I.value.legend.selectAllToggle.show && !C(Vt) ? (y(), u(Ee, {
|
|
970
|
-
key: 0,
|
|
971
|
-
backgroundColor: I.value.legend.selectAllToggle.backgroundColor,
|
|
972
|
-
color: I.value.legend.selectAllToggle.color,
|
|
973
|
-
fontSize: I.value.legend.fontSize,
|
|
974
|
-
checked: H.value.length > 0,
|
|
975
|
-
onToggle: ln
|
|
976
|
-
}, null, 8, [
|
|
977
|
-
"backgroundColor",
|
|
978
|
-
"color",
|
|
979
|
-
"fontSize",
|
|
980
|
-
"checked"
|
|
981
|
-
])) : d("", !0)]),
|
|
982
|
-
_: 1
|
|
983
|
-
}, 8, ["legendSet", "config"])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
|
|
984
|
-
e.$slots.source ? (y(), f("div", {
|
|
985
|
-
key: 7,
|
|
986
|
-
ref_key: "source",
|
|
987
|
-
ref: At,
|
|
988
|
-
dir: "auto"
|
|
989
|
-
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
990
|
-
Le(C(dt), {
|
|
991
|
-
teleportTo: I.value.tooltip.teleportTo,
|
|
992
|
-
show: z.value.showTooltip && St.value,
|
|
993
|
-
backgroundColor: I.value.tooltip.backgroundColor,
|
|
994
|
-
color: I.value.tooltip.color,
|
|
995
|
-
borderRadius: I.value.tooltip.borderRadius,
|
|
996
|
-
borderColor: I.value.tooltip.borderColor,
|
|
997
|
-
borderWidth: I.value.tooltip.borderWidth,
|
|
998
|
-
fontSize: I.value.tooltip.fontSize,
|
|
999
|
-
backgroundOpacity: I.value.tooltip.backgroundOpacity,
|
|
1000
|
-
position: I.value.tooltip.position,
|
|
1001
|
-
offsetX: I.value.tooltip.offsetX,
|
|
1002
|
-
offsetY: I.value.tooltip.offsetY,
|
|
1003
|
-
parent: D.value,
|
|
1004
|
-
content: Ct.value,
|
|
1005
|
-
isFullscreen: q.value,
|
|
1006
|
-
isCustom: C(r)(I.value.tooltip.customFormat),
|
|
1007
|
-
smooth: I.value.tooltip.smooth,
|
|
1008
|
-
backdropFilter: I.value.tooltip.backdropFilter,
|
|
1009
|
-
smoothForce: I.value.tooltip.smoothForce,
|
|
1010
|
-
smoothSnapThreshold: I.value.tooltip.smoothSnapThreshold,
|
|
1011
|
-
isA11yMode: It.value === "keyboard",
|
|
1012
|
-
a11yPosition: Ft.value
|
|
1013
|
-
}, {
|
|
1014
|
-
"tooltip-before": w(() => [x(e.$slots, "tooltip-before", _(h({ ...bn.value })), void 0, !0)]),
|
|
1015
|
-
tooltip: w(() => [x(e.$slots, "tooltip", _(h({ ...bn.value })), void 0, !0)]),
|
|
1016
|
-
"tooltip-after": w(() => [x(e.$slots, "tooltip-after", _(h({ ...bn.value })), void 0, !0)]),
|
|
1017
|
-
_: 3
|
|
1018
|
-
}, 8, [
|
|
1019
|
-
"teleportTo",
|
|
1020
|
-
"show",
|
|
1021
|
-
"backgroundColor",
|
|
1022
|
-
"color",
|
|
1023
|
-
"borderRadius",
|
|
1024
|
-
"borderColor",
|
|
1025
|
-
"borderWidth",
|
|
1026
|
-
"fontSize",
|
|
1027
|
-
"backgroundOpacity",
|
|
1028
|
-
"position",
|
|
1029
|
-
"offsetX",
|
|
1030
|
-
"offsetY",
|
|
1031
|
-
"parent",
|
|
1032
|
-
"content",
|
|
1033
|
-
"isFullscreen",
|
|
1034
|
-
"isCustom",
|
|
1035
|
-
"smooth",
|
|
1036
|
-
"backdropFilter",
|
|
1037
|
-
"smoothForce",
|
|
1038
|
-
"smoothSnapThreshold",
|
|
1039
|
-
"isA11yMode",
|
|
1040
|
-
"a11yPosition"
|
|
1041
|
-
]),
|
|
1042
|
-
Rt.value && N.value.userOptions.buttons.table ? (y(), u(He(Q.value.component), Re({ key: 8 }, Q.value.props, {
|
|
1043
|
-
ref_key: "tableUnit",
|
|
1044
|
-
ref: j,
|
|
1045
|
-
onClose: Nn
|
|
1046
|
-
}), Fe({
|
|
1047
|
-
content: w(() => [(y(), u(C(mt), {
|
|
1048
|
-
key: `table_${Et.value}`,
|
|
1049
|
-
colNames: X.value.colNames,
|
|
1050
|
-
head: X.value.head,
|
|
1051
|
-
body: X.value.body,
|
|
1052
|
-
config: X.value.config,
|
|
1053
|
-
title: N.value.table.useDialog ? "" : Q.value.title,
|
|
1054
|
-
withCloseButton: !N.value.table.useDialog,
|
|
1055
|
-
isCursorPointer: L.value,
|
|
1056
|
-
onClose: Nn
|
|
1057
|
-
}, {
|
|
1058
|
-
th: w(({ th: e }) => [e === "__SUM__" ? (y(), f("div", lt, [Le(C(ft), {
|
|
1059
|
-
name: "sigma",
|
|
1060
|
-
stroke: X.value.config.th.color,
|
|
1061
|
-
size: 16
|
|
1062
|
-
}, null, 8, ["stroke"])])) : (y(), f("div", ut, S(e), 1))]),
|
|
1063
|
-
td: w(({ td: e }) => [Ie(S(e.name || e), 1)]),
|
|
1064
|
-
_: 1
|
|
1065
|
-
}, 8, [
|
|
1066
|
-
"colNames",
|
|
1067
|
-
"head",
|
|
1068
|
-
"body",
|
|
1069
|
-
"config",
|
|
1070
|
-
"title",
|
|
1071
|
-
"withCloseButton",
|
|
1072
|
-
"isCursorPointer"
|
|
1073
|
-
]))]),
|
|
1074
|
-
_: 2
|
|
1075
|
-
}, [N.value.table.useDialog ? {
|
|
1076
|
-
name: "title",
|
|
1077
|
-
fn: w(() => [Ie(S(Q.value.title), 1)]),
|
|
1078
|
-
key: "0"
|
|
1079
|
-
} : void 0, N.value.table.useDialog ? {
|
|
1080
|
-
name: "actions",
|
|
1081
|
-
fn: w(() => [p("button", {
|
|
1082
|
-
tabindex: "0",
|
|
1083
|
-
class: "vue-ui-user-options-button",
|
|
1084
|
-
onClick: n[1] ||= (e) => On(N.value.userOptions.callbacks.csv),
|
|
1085
|
-
style: v({ cursor: L.value ? "pointer" : "default" })
|
|
1086
|
-
}, [Le(C(ft), {
|
|
1087
|
-
name: "fileCsv",
|
|
1088
|
-
stroke: Q.value.props.color
|
|
1089
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1090
|
-
key: "1"
|
|
1091
|
-
} : void 0]), 1040)) : d("", !0),
|
|
1092
|
-
x(e.$slots, "skeleton", {}, () => [C(Vt) ? (y(), u(ge, { key: 0 })) : d("", !0)], !0)
|
|
1093
|
-
], 46, Ke));
|
|
1094
|
-
}
|
|
1095
|
-
}, [["__scopeId", "data-v-d02837da"]]);
|
|
1096
|
-
//#endregion
|
|
1097
|
-
export { Ge as n, dt as t };
|