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,941 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { D as t, Dt as n, Ft as r, Ht as i, M as a, S as ee, X as te, at as ne, en as o, et as s, nn as c, nt as re, pt as l, t as u, w as ie, zt as ae } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ce } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { t as le } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
-
import { n as ue, t as de } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as d } from "./useNestedProp-DR_8JPol.js";
|
|
8
|
-
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as pe } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as me } from "./img-Bb5rHcpO.js";
|
|
11
|
-
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import { t as ge } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
-
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
14
|
-
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
15
|
-
import { t as ye } from "./vue_ui_molecule-CO9L59SF.js";
|
|
16
|
-
import { t as be } from "./usePanZoom-CYU3B4T3.js";
|
|
17
|
-
import { Fragment as xe, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Se, createTextVNode as Ce, createVNode as _, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as we, nextTick as b, normalizeClass as Te, normalizeProps as x, normalizeStyle as S, onMounted as Ee, openBlock as C, ref as w, renderList as De, renderSlot as T, resolveDynamicComponent as Oe, toDisplayString as E, toRefs as ke, unref as D, useCssVars as Ae, watch as O, withCtx as k } from "vue";
|
|
18
|
-
//#region src/components/vue-ui-molecule.vue
|
|
19
|
-
var je = /* @__PURE__ */ e({ default: () => Be }), Me = ["id"], Ne = {
|
|
20
|
-
key: 1,
|
|
21
|
-
ref: "noTitle",
|
|
22
|
-
class: "vue-data-ui-no-title-space",
|
|
23
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
24
|
-
}, Pe = {
|
|
25
|
-
key: 2,
|
|
26
|
-
style: "width:100%;background:transparent;"
|
|
27
|
-
}, Fe = ["xmlns", "viewBox"], Ie = ["width", "height"], Le = {
|
|
28
|
-
key: 4,
|
|
29
|
-
class: "vue-data-ui-watermark"
|
|
30
|
-
}, Re = {
|
|
31
|
-
key: 5,
|
|
32
|
-
"data-dom-to-png-ignore": "",
|
|
33
|
-
class: "reset-wrapper"
|
|
34
|
-
}, ze = {
|
|
35
|
-
key: 6,
|
|
36
|
-
ref: "source",
|
|
37
|
-
dir: "auto"
|
|
38
|
-
}, Be = /*#__PURE__*/ he({
|
|
39
|
-
__name: "vue-ui-molecule",
|
|
40
|
-
props: {
|
|
41
|
-
config: {
|
|
42
|
-
type: Object,
|
|
43
|
-
default() {
|
|
44
|
-
return {};
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
dataset: {
|
|
48
|
-
type: Array,
|
|
49
|
-
default() {
|
|
50
|
-
return [];
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
emits: ["selectNode", "copyAlt"],
|
|
55
|
-
setup(e, { expose: he, emit: je }) {
|
|
56
|
-
Ae((e) => ({ v98264478: rn.value }));
|
|
57
|
-
let Be = v(() => import("./Title-BMCuINbv.js").then((e) => e.t)), Ve = v(() => import("./Tooltip-C4ZTwkLF.js")), He = v(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Ue = v(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), We = v(() => import("./DataTable-CjF_An2h.js")), Ge = v(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Ke = v(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), qe = v(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), Je = v(() => import("./RecursiveLinks-BygcpDiT.js")), Ye = v(() => import("./RecursiveLabels-D9rfID6q.js")), Xe = v(() => import("./RecursiveCircles-D6aDPmoe.js")), Ze = v(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_molecule: Qe } = ce(), { isThemeValid: $e, warnInvalidTheme: et } = fe(), A = e, tt = je, nt = f(() => !!A.dataset && A.dataset.length);
|
|
58
|
-
Ee(() => {
|
|
59
|
-
it();
|
|
60
|
-
});
|
|
61
|
-
let rt = f(() => F.value.debug);
|
|
62
|
-
function it() {
|
|
63
|
-
ae(A.dataset) && ne({
|
|
64
|
-
componentName: "VueUiMolecule",
|
|
65
|
-
type: "dataset",
|
|
66
|
-
debug: rt.value
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
let at = w(te()), ot = w(!1), j = w(""), M = w(null), st = w(0), ct = w(0), lt = w(0), N = w(null), P = w(null), F = w(gt()), I = f(() => F.value.style.chart.tooltip), L = f(() => F.value.style.chart), R = f(() => F.value.userOptions);
|
|
70
|
-
oe({
|
|
71
|
-
config: () => F.value,
|
|
72
|
-
dataset: () => A.dataset,
|
|
73
|
-
component: "VueUiMolecule",
|
|
74
|
-
rules: [
|
|
75
|
-
se.emptyArray,
|
|
76
|
-
{
|
|
77
|
-
test: (e) => e[0] && e[0].nodes && e[0].nodes.length === 0,
|
|
78
|
-
message: [
|
|
79
|
-
"👀 There are no children nodes attached to the root node. Consider:",
|
|
80
|
-
"",
|
|
81
|
-
"▶️ Adding children nodes to the root node."
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
test: (e) => e[0] && e[0].nodes && e[0].nodes.length > 8,
|
|
86
|
-
message: [
|
|
87
|
-
"👀 The number of children nodes > 8, some nodes might overlap. Consider:",
|
|
88
|
-
"",
|
|
89
|
-
"▶️ Grouping data into broader categories."
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
});
|
|
94
|
-
let z = f(() => F.value.userOptions.useCursorPointer), ut = f(() => c({
|
|
95
|
-
defaultConfig: {
|
|
96
|
-
userOptions: { show: !1 },
|
|
97
|
-
table: { show: !1 },
|
|
98
|
-
style: { chart: {
|
|
99
|
-
backgroundColor: "#99999930",
|
|
100
|
-
nodes: { stroke: "#6A6A6A" },
|
|
101
|
-
links: { stroke: "#6A6A6A80" }
|
|
102
|
-
} }
|
|
103
|
-
},
|
|
104
|
-
userConfig: F.value.skeletonConfig ?? {}
|
|
105
|
-
})), { loading: dt, FINAL_DATASET: ft } = ue({
|
|
106
|
-
...ke(A),
|
|
107
|
-
FINAL_CONFIG: F,
|
|
108
|
-
prepareConfig: gt,
|
|
109
|
-
skeletonDataset: A.config?.skeletonDataset ?? [{
|
|
110
|
-
name: "_",
|
|
111
|
-
color: "#CACACA",
|
|
112
|
-
nodes: [
|
|
113
|
-
{
|
|
114
|
-
name: "_",
|
|
115
|
-
color: "#CACACA",
|
|
116
|
-
nodes: [
|
|
117
|
-
{
|
|
118
|
-
name: "_",
|
|
119
|
-
color: "#CACACA"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
name: "_",
|
|
123
|
-
color: "#CACACA"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
name: "_",
|
|
127
|
-
color: "#CACACA"
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
name: "_",
|
|
133
|
-
color: "#CACACA",
|
|
134
|
-
nodes: [
|
|
135
|
-
{
|
|
136
|
-
name: "_",
|
|
137
|
-
color: "#CACACA"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
name: "_",
|
|
141
|
-
color: "#CACACA"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
name: "_",
|
|
145
|
-
color: "#CACACA"
|
|
146
|
-
}
|
|
147
|
-
]
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
name: "_",
|
|
151
|
-
color: "#CACACA",
|
|
152
|
-
nodes: [
|
|
153
|
-
{
|
|
154
|
-
name: "_",
|
|
155
|
-
color: "#CACACA"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
name: "_",
|
|
159
|
-
color: "#CACACA"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
name: "_",
|
|
163
|
-
color: "#CACACA"
|
|
164
|
-
}
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
name: "_",
|
|
169
|
-
color: "#CACACA",
|
|
170
|
-
nodes: [
|
|
171
|
-
{
|
|
172
|
-
name: "_",
|
|
173
|
-
color: "#CACACA"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
name: "_",
|
|
177
|
-
color: "#CACACA"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: "_",
|
|
181
|
-
color: "#CACACA"
|
|
182
|
-
}
|
|
183
|
-
]
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
name: "_",
|
|
187
|
-
color: "#CACACA",
|
|
188
|
-
nodes: [
|
|
189
|
-
{
|
|
190
|
-
name: "_",
|
|
191
|
-
color: "#CACACA"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
name: "_",
|
|
195
|
-
color: "#CACACA"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
name: "_",
|
|
199
|
-
color: "#CACACA"
|
|
200
|
-
}
|
|
201
|
-
]
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
name: "_",
|
|
205
|
-
color: "#CACACA",
|
|
206
|
-
nodes: [
|
|
207
|
-
{
|
|
208
|
-
name: "_",
|
|
209
|
-
color: "#CACACA"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
name: "_",
|
|
213
|
-
color: "#CACACA"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
name: "_",
|
|
217
|
-
color: "#CACACA"
|
|
218
|
-
}
|
|
219
|
-
]
|
|
220
|
-
}
|
|
221
|
-
]
|
|
222
|
-
}],
|
|
223
|
-
skeletonConfig: c({
|
|
224
|
-
defaultConfig: F.value,
|
|
225
|
-
userConfig: ut.value
|
|
226
|
-
})
|
|
227
|
-
}), { userOptionsVisible: pt, setUserOptionsVisibility: mt, keepUserOptionState: ht } = _e({ config: F.value }), { svgRef: B } = ve({ config: L.value.title });
|
|
228
|
-
function gt() {
|
|
229
|
-
let e = d({
|
|
230
|
-
userConfig: A.config,
|
|
231
|
-
defaultConfig: Qe
|
|
232
|
-
}), t = e.theme;
|
|
233
|
-
if (!t) return e;
|
|
234
|
-
if (!$e.value(e)) return et(e), e;
|
|
235
|
-
let n = d({
|
|
236
|
-
userConfig: ye[t] || A.config,
|
|
237
|
-
defaultConfig: e
|
|
238
|
-
}), r = d({
|
|
239
|
-
userConfig: A.config,
|
|
240
|
-
defaultConfig: n
|
|
241
|
-
});
|
|
242
|
-
return {
|
|
243
|
-
...r,
|
|
244
|
-
customPalette: r.customPalette.length ? r.customPalette : o[t] || i
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
function _t(e) {
|
|
248
|
-
let t = s(e);
|
|
249
|
-
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
250
|
-
}
|
|
251
|
-
let vt = _t(A.config);
|
|
252
|
-
O((e, t) => A.config, (e) => {
|
|
253
|
-
let t = _t(newConfig), n = t !== vt;
|
|
254
|
-
vt = t;
|
|
255
|
-
let r = gt();
|
|
256
|
-
if (!n) {
|
|
257
|
-
F.value.style.chart.tooltip = r.style.chart.tooltip, V.value.showTooltip = F.value.style.chart.tooltip.show;
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
F.value = r, pt.value = !F.value.userOptions.showOnChartHover, it(), ct.value += 1, lt.value += 1, V.value.showTable = F.value.table.show, V.value.showTooltip = I.value.show, V.value.showZoom = L.value.zoom.show;
|
|
261
|
-
}, { deep: !0 });
|
|
262
|
-
let yt = w(0), bt = () => {
|
|
263
|
-
yt.value += 1;
|
|
264
|
-
};
|
|
265
|
-
O([() => dt.value, () => ft.value], async ([e]) => {
|
|
266
|
-
e || (await b(), H.value = Ot(), await b(), bt(), await b(), Kt({
|
|
267
|
-
x: 0,
|
|
268
|
-
y: 0,
|
|
269
|
-
width: 400,
|
|
270
|
-
height: 400
|
|
271
|
-
}), Q(!1));
|
|
272
|
-
}, {
|
|
273
|
-
flush: "post",
|
|
274
|
-
deep: !1
|
|
275
|
-
});
|
|
276
|
-
let { isPrinting: xt, isImaging: St, generatePdf: Ct, generateImage: wt } = le({
|
|
277
|
-
elementId: `cluster_${at.value}`,
|
|
278
|
-
fileName: L.value.title.text || "vue-ui-molecule",
|
|
279
|
-
options: F.value.userOptions.print
|
|
280
|
-
}), Tt = f(() => F.value.userOptions.show && !L.value.title.text), Et = f(() => ie(F.value.customPalette)), V = w({
|
|
281
|
-
showTable: F.value.table.show,
|
|
282
|
-
showDataLabels: !0,
|
|
283
|
-
showTooltip: I.value.show,
|
|
284
|
-
showZoom: L.value.zoom.show
|
|
285
|
-
});
|
|
286
|
-
O(F, () => {
|
|
287
|
-
V.value = {
|
|
288
|
-
showTable: F.value.table.show,
|
|
289
|
-
showDataLabels: !0,
|
|
290
|
-
showTooltip: I.value.show,
|
|
291
|
-
showZoom: L.value.zoom.show
|
|
292
|
-
};
|
|
293
|
-
}, { immediate: !0 });
|
|
294
|
-
function Dt(e, t = 0) {
|
|
295
|
-
return Array.isArray(e) && e.length > 0 && e[0].nodes ? Dt(e[0].nodes, t + 1) : t;
|
|
296
|
-
}
|
|
297
|
-
function Ot() {
|
|
298
|
-
let e = Dt(ft.value), t = 100, n = t;
|
|
299
|
-
for (let r = 0; r < e; r += 1) t /= 1, n += t;
|
|
300
|
-
return {
|
|
301
|
-
height: n,
|
|
302
|
-
width: n
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
let H = w(Ot());
|
|
306
|
-
function kt(e, t = {
|
|
307
|
-
x: -H.value.width / 2.43,
|
|
308
|
-
y: H.value.height / 2
|
|
309
|
-
}, n = H.value.width / 1.1, r = 24, ne = 0, o = 0, s = "#BBBBBB", c = 0) {
|
|
310
|
-
if (!Array.isArray(e) || e.length === 0) return e;
|
|
311
|
-
let re = a({
|
|
312
|
-
plot: t,
|
|
313
|
-
radius: n,
|
|
314
|
-
sides: e.length,
|
|
315
|
-
rotation: ne
|
|
316
|
-
});
|
|
317
|
-
return e.forEach((e, t) => {
|
|
318
|
-
let a = re.coordinates[t], l = e.color ? (() => {
|
|
319
|
-
let t = ee(e.color);
|
|
320
|
-
return t.startsWith("#") ? t : `#${t}`;
|
|
321
|
-
})() : null, u;
|
|
322
|
-
l ? u = l : c === 0 ? u = s : c === 1 ? (u = Et.value[o] || i[o] || s, o += 1) : u = s, e.polygonPath = { coordinates: [a] }, e.circleRadius = r, e.color = u, e.strokeWidth = Math.min(L.value.links.strokeWidth / (c + 1), r / 2), e.uid = te(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = kt(e.nodes, a, n / 2.9, r / 2.2, ne + Math.PI * t / e.nodes.length, o, u, c + 1));
|
|
323
|
-
}), e;
|
|
324
|
-
}
|
|
325
|
-
function At(e) {
|
|
326
|
-
let t = /* @__PURE__ */ new Set();
|
|
327
|
-
function n(e) {
|
|
328
|
-
e.forEach((e) => {
|
|
329
|
-
if (!e.color) return;
|
|
330
|
-
let r = e.color;
|
|
331
|
-
/^#?[0-9A-F]{6}$/i.test(r) || (r = ee(r)), r.startsWith("#") || (r = `#${r}`), t.add(r), Array.isArray(e.nodes) && e.nodes.length && n(e.nodes);
|
|
332
|
-
});
|
|
333
|
-
}
|
|
334
|
-
n(e);
|
|
335
|
-
let r = {};
|
|
336
|
-
return Array.from(t).forEach((e) => {
|
|
337
|
-
let t = e.slice(1);
|
|
338
|
-
r[e] = `gradient_${t}`;
|
|
339
|
-
}), r;
|
|
340
|
-
}
|
|
341
|
-
let jt = f(() => At(U.value)), U = f(() => kt(s(ft.value))), W = w(null);
|
|
342
|
-
function Mt(e) {
|
|
343
|
-
W.value = {
|
|
344
|
-
datapoint: e,
|
|
345
|
-
seriesIndex: -1,
|
|
346
|
-
series: U.value,
|
|
347
|
-
config: F.value
|
|
348
|
-
};
|
|
349
|
-
let t = I.value.customFormat;
|
|
350
|
-
if (n(t) && l(() => t({
|
|
351
|
-
seriesIndex: -1,
|
|
352
|
-
datapoint: e,
|
|
353
|
-
series: U.value,
|
|
354
|
-
config: F.value
|
|
355
|
-
}))) j.value = t({
|
|
356
|
-
seriesIndex: -1,
|
|
357
|
-
datapoint: e,
|
|
358
|
-
series: U.value,
|
|
359
|
-
config: F.value
|
|
360
|
-
});
|
|
361
|
-
else {
|
|
362
|
-
let t = "";
|
|
363
|
-
t += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (t += `<div style="width:100%;border-top:1px solid ${I.value.borderColor};margin-top: 2px">${e.details}</div>`), j.value = `<div style="font-family:inherit">${t}</div>`;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
let G = w(null), K = w(null), Nt = w(null);
|
|
367
|
-
function Pt(e) {
|
|
368
|
-
Nt.value = G.value, G.value = e, e ? F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
369
|
-
datapoint: e,
|
|
370
|
-
seriesIndex: -1
|
|
371
|
-
}) : F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
372
|
-
datapoint: Nt.value || G.value,
|
|
373
|
-
seriesIndex: -1
|
|
374
|
-
}), e ? (ot.value = !0, Mt(e), K.value = e.uid) : (ot.value = !1, j.value = "", K.value = null);
|
|
375
|
-
}
|
|
376
|
-
function Ft(e) {
|
|
377
|
-
let t = [];
|
|
378
|
-
function n(e) {
|
|
379
|
-
e.forEach((e) => {
|
|
380
|
-
let r = {
|
|
381
|
-
name: e.name,
|
|
382
|
-
details: e.details || "-",
|
|
383
|
-
ancestor: e.ancestor && e.ancestor.name || "-",
|
|
384
|
-
color: e.color || ""
|
|
385
|
-
};
|
|
386
|
-
t.push(r), e.nodes && e.nodes.length > 0 && n(e.nodes, e.name);
|
|
387
|
-
});
|
|
388
|
-
}
|
|
389
|
-
return n(e), t;
|
|
390
|
-
}
|
|
391
|
-
let It = f(() => Ft(U.value)), q = f(() => ({
|
|
392
|
-
head: [
|
|
393
|
-
F.value.table.translations.nodeName,
|
|
394
|
-
F.value.table.translations.details,
|
|
395
|
-
F.value.table.translations.ancestor
|
|
396
|
-
],
|
|
397
|
-
body: It.value.map((e, t) => [
|
|
398
|
-
{
|
|
399
|
-
color: e.color,
|
|
400
|
-
name: e.name
|
|
401
|
-
},
|
|
402
|
-
e.details,
|
|
403
|
-
e.ancestor || ""
|
|
404
|
-
]),
|
|
405
|
-
config: {
|
|
406
|
-
th: {
|
|
407
|
-
backgroundColor: F.value.table.th.backgroundColor,
|
|
408
|
-
color: F.value.table.th.color,
|
|
409
|
-
outline: F.value.table.th.outline
|
|
410
|
-
},
|
|
411
|
-
td: {
|
|
412
|
-
backgroundColor: F.value.table.td.backgroundColor,
|
|
413
|
-
color: F.value.table.td.color,
|
|
414
|
-
outline: F.value.table.td.outline
|
|
415
|
-
},
|
|
416
|
-
breakpoint: F.value.table.responsiveBreakpoint
|
|
417
|
-
},
|
|
418
|
-
colNames: [
|
|
419
|
-
F.value.table.translations.nodeName,
|
|
420
|
-
F.value.table.translations.details,
|
|
421
|
-
F.value.table.translations.ancestor
|
|
422
|
-
]
|
|
423
|
-
}));
|
|
424
|
-
function Lt(e = null) {
|
|
425
|
-
b(() => {
|
|
426
|
-
let n = q.value.body.map((e, t) => [
|
|
427
|
-
[e[0].name],
|
|
428
|
-
[e[1]],
|
|
429
|
-
[e[2]]
|
|
430
|
-
]), r = [
|
|
431
|
-
[L.value.title.text],
|
|
432
|
-
[L.value.title.subtitle.text],
|
|
433
|
-
[[...q.value.head]]
|
|
434
|
-
].concat(n), i = t(r);
|
|
435
|
-
e ? e(i) : re({
|
|
436
|
-
csvContent: i,
|
|
437
|
-
title: L.value.title.text || "vue-ui-molecule"
|
|
438
|
-
});
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
function Rt() {
|
|
442
|
-
return U.value;
|
|
443
|
-
}
|
|
444
|
-
let J = w(!1);
|
|
445
|
-
function zt(e) {
|
|
446
|
-
J.value = e, st.value += 1;
|
|
447
|
-
}
|
|
448
|
-
function Bt() {
|
|
449
|
-
V.value.showTable = !V.value.showTable;
|
|
450
|
-
}
|
|
451
|
-
function Vt() {
|
|
452
|
-
V.value.showDataLabels = !V.value.showDataLabels;
|
|
453
|
-
}
|
|
454
|
-
function Ht() {
|
|
455
|
-
V.value.showTooltip = !V.value.showTooltip;
|
|
456
|
-
}
|
|
457
|
-
function Ut() {
|
|
458
|
-
V.value.showZoom = !V.value.showZoom;
|
|
459
|
-
}
|
|
460
|
-
let Y = w(!1);
|
|
461
|
-
function X() {
|
|
462
|
-
Y.value = !Y.value;
|
|
463
|
-
}
|
|
464
|
-
let Wt = f(() => !Y.value && V.value.showZoom), { viewBox: Z, resetZoom: Q, isZoom: Gt, setInitialViewBox: Kt } = be(B, {
|
|
465
|
-
x: 0,
|
|
466
|
-
y: 0,
|
|
467
|
-
width: Math.max(10, H.value.width),
|
|
468
|
-
height: Math.max(10, H.value.height)
|
|
469
|
-
}, L.value.zoom.speed, Wt);
|
|
470
|
-
function qt(e) {
|
|
471
|
-
F.value.events.datapointClick && F.value.events.datapointClick({
|
|
472
|
-
datapoint: e,
|
|
473
|
-
seriesIndex: -1
|
|
474
|
-
}), tt("selectNode", e);
|
|
475
|
-
}
|
|
476
|
-
async function Jt({ scale: e = 2 } = {}) {
|
|
477
|
-
if (!M.value) return;
|
|
478
|
-
let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
|
|
479
|
-
domElement: M.value,
|
|
480
|
-
base64: !0,
|
|
481
|
-
img: !0,
|
|
482
|
-
scale: e
|
|
483
|
-
});
|
|
484
|
-
return {
|
|
485
|
-
imageUri: i,
|
|
486
|
-
base64: a,
|
|
487
|
-
title: L.value.title.text,
|
|
488
|
-
width: t,
|
|
489
|
-
height: n,
|
|
490
|
-
aspectRatio: r
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
let $ = f(() => {
|
|
494
|
-
let e = F.value.table.useDialog && !F.value.table.show, t = V.value.showTable;
|
|
495
|
-
return {
|
|
496
|
-
component: e ? Ze : Ue,
|
|
497
|
-
title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
|
|
498
|
-
props: e ? {
|
|
499
|
-
backgroundColor: F.value.table.th.backgroundColor,
|
|
500
|
-
color: F.value.table.th.color,
|
|
501
|
-
headerColor: F.value.table.th.color,
|
|
502
|
-
headerBg: F.value.table.th.backgroundColor,
|
|
503
|
-
isFullscreen: J.value,
|
|
504
|
-
fullscreenParent: M.value,
|
|
505
|
-
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
506
|
-
isCursorPointer: z.value
|
|
507
|
-
} : {
|
|
508
|
-
hideDetails: !0,
|
|
509
|
-
config: {
|
|
510
|
-
open: t,
|
|
511
|
-
maxHeight: 1e4,
|
|
512
|
-
body: {
|
|
513
|
-
backgroundColor: L.value.backgroundColor,
|
|
514
|
-
color: L.value.color
|
|
515
|
-
},
|
|
516
|
-
head: {
|
|
517
|
-
backgroundColor: L.value.backgroundColor,
|
|
518
|
-
color: L.value.color
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
};
|
|
523
|
-
});
|
|
524
|
-
O(() => V.value.showTable, (e) => {
|
|
525
|
-
F.value.table.show || (e && F.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
|
|
526
|
-
});
|
|
527
|
-
function Yt() {
|
|
528
|
-
V.value.showTable = !1, P.value && P.value.setTableIconState(!1);
|
|
529
|
-
}
|
|
530
|
-
let Xt = f(() => L.value.backgroundColor), Zt = f(() => L.value.title), { isCallbackImaging: Qt, isCallbackSvg: $t, generateSvg: en, onGenerateImage: tn } = pe({
|
|
531
|
-
svg: B,
|
|
532
|
-
title: Zt,
|
|
533
|
-
legend: null,
|
|
534
|
-
legendItems: null,
|
|
535
|
-
backgroundColor: Xt,
|
|
536
|
-
getSvgCallback: () => F.value.userOptions.callbacks.svg,
|
|
537
|
-
generateImage: wt
|
|
538
|
-
});
|
|
539
|
-
async function nn() {
|
|
540
|
-
if (tt("copyAlt", {
|
|
541
|
-
config: F.value,
|
|
542
|
-
dataset: U.value
|
|
543
|
-
}), !F.value.userOptions.callbacks.altCopy) {
|
|
544
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
545
|
-
return;
|
|
546
|
-
}
|
|
547
|
-
await Promise.resolve(F.value.userOptions.callbacks.altCopy({
|
|
548
|
-
config: F.value,
|
|
549
|
-
dataset: U.value
|
|
550
|
-
}));
|
|
551
|
-
}
|
|
552
|
-
let rn = f(() => L.value.color);
|
|
553
|
-
return he({
|
|
554
|
-
getData: Rt,
|
|
555
|
-
getImage: Jt,
|
|
556
|
-
generatePdf: Ct,
|
|
557
|
-
generateCsv: Lt,
|
|
558
|
-
generateImage: wt,
|
|
559
|
-
generateSvg: en,
|
|
560
|
-
toggleTable: Bt,
|
|
561
|
-
toggleLabels: Vt,
|
|
562
|
-
toggleTooltip: Ht,
|
|
563
|
-
toggleAnnotator: X,
|
|
564
|
-
toggleFullscreen: zt,
|
|
565
|
-
toggleZoom: Ut,
|
|
566
|
-
copyAlt: nn
|
|
567
|
-
}), (e, t) => (C(), h("div", {
|
|
568
|
-
ref_key: "moleculeChart",
|
|
569
|
-
ref: M,
|
|
570
|
-
class: Te(`vue-data-ui-component vue-ui-molecule ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
571
|
-
style: S(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${L.value.backgroundColor}`),
|
|
572
|
-
id: `cluster_${at.value}`,
|
|
573
|
-
onMouseleave: t[2] ||= (e) => {
|
|
574
|
-
G.value = null, K.value = null, D(mt)(!1);
|
|
575
|
-
},
|
|
576
|
-
onMouseenter: t[3] ||= () => D(mt)(!0)
|
|
577
|
-
}, [
|
|
578
|
-
R.value.buttons.annotator && D(B) ? (C(), p(D(Ge), {
|
|
579
|
-
key: 0,
|
|
580
|
-
svgRef: D(B),
|
|
581
|
-
backgroundColor: L.value.backgroundColor,
|
|
582
|
-
color: L.value.color,
|
|
583
|
-
active: Y.value,
|
|
584
|
-
isCursorPointer: z.value,
|
|
585
|
-
onClose: X
|
|
586
|
-
}, {
|
|
587
|
-
"annotator-action-close": k(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
588
|
-
"annotator-action-color": k(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
|
|
589
|
-
"annotator-action-draw": k(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
|
|
590
|
-
"annotator-action-undo": k(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
|
|
591
|
-
"annotator-action-redo": k(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
|
|
592
|
-
"annotator-action-delete": k(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
|
|
593
|
-
_: 3
|
|
594
|
-
}, 8, [
|
|
595
|
-
"svgRef",
|
|
596
|
-
"backgroundColor",
|
|
597
|
-
"color",
|
|
598
|
-
"active",
|
|
599
|
-
"isCursorPointer"
|
|
600
|
-
])) : m("", !0),
|
|
601
|
-
Tt.value ? (C(), h("div", Ne, null, 512)) : m("", !0),
|
|
602
|
-
L.value.title.text ? (C(), h("div", Pe, [(C(), p(D(Be), {
|
|
603
|
-
key: `title_${ct.value}`,
|
|
604
|
-
config: {
|
|
605
|
-
title: {
|
|
606
|
-
cy: "molecule-div-title",
|
|
607
|
-
...L.value.title
|
|
608
|
-
},
|
|
609
|
-
subtitle: {
|
|
610
|
-
cy: "molecule-div-subtitle",
|
|
611
|
-
...L.value.title.subtitle
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}, null, 8, ["config"]))])) : m("", !0),
|
|
615
|
-
R.value.show && nt.value && (D(ht) || D(pt)) ? (C(), p(D(Ke), {
|
|
616
|
-
ref_key: "userOptionsRef",
|
|
617
|
-
ref: P,
|
|
618
|
-
key: `user_options_${st.value}`,
|
|
619
|
-
backgroundColor: L.value.backgroundColor,
|
|
620
|
-
color: L.value.color,
|
|
621
|
-
isPrinting: D(xt),
|
|
622
|
-
isImaging: D(St),
|
|
623
|
-
uid: at.value,
|
|
624
|
-
hasTooltip: R.value.buttons.tooltip && I.value.show,
|
|
625
|
-
hasPdf: R.value.buttons.pdf,
|
|
626
|
-
hasXls: R.value.buttons.csv,
|
|
627
|
-
hasImg: R.value.buttons.img,
|
|
628
|
-
hasSvg: R.value.buttons.svg,
|
|
629
|
-
hasTable: R.value.buttons.table,
|
|
630
|
-
hasLabel: R.value.buttons.labels,
|
|
631
|
-
hasFullscreen: R.value.buttons.fullscreen,
|
|
632
|
-
hasAltCopy: R.value.buttons.altCopy,
|
|
633
|
-
isTooltip: V.value.showTooltip,
|
|
634
|
-
titles: { ...R.value.buttonTitles },
|
|
635
|
-
chartElement: M.value,
|
|
636
|
-
position: R.value.position,
|
|
637
|
-
hasAnnotator: R.value.buttons.annotator,
|
|
638
|
-
isAnnotation: Y.value,
|
|
639
|
-
callbacks: R.value.callbacks,
|
|
640
|
-
printScale: R.value.print.scale,
|
|
641
|
-
tableDialog: F.value.table.useDialog,
|
|
642
|
-
hasZoom: R.value.buttons.zoom,
|
|
643
|
-
isZoom: V.value.showZoom,
|
|
644
|
-
isCursorPointer: z.value,
|
|
645
|
-
onToggleFullscreen: zt,
|
|
646
|
-
onGeneratePdf: D(Ct),
|
|
647
|
-
onGenerateCsv: Lt,
|
|
648
|
-
onGenerateImage: D(tn),
|
|
649
|
-
onGenerateSvg: D(en),
|
|
650
|
-
onToggleTable: Bt,
|
|
651
|
-
onToggleLabels: Vt,
|
|
652
|
-
onToggleTooltip: Ht,
|
|
653
|
-
onToggleAnnotator: X,
|
|
654
|
-
onToggleZoom: Ut,
|
|
655
|
-
onCopyAlt: nn,
|
|
656
|
-
style: S({ visibility: D(ht) ? D(pt) ? "visible" : "hidden" : "visible" })
|
|
657
|
-
}, Se({ _: 2 }, [
|
|
658
|
-
e.$slots.menuIcon ? {
|
|
659
|
-
name: "menuIcon",
|
|
660
|
-
fn: k(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(y({
|
|
661
|
-
isOpen: t,
|
|
662
|
-
color: n
|
|
663
|
-
})), void 0, !0)]),
|
|
664
|
-
key: "0"
|
|
665
|
-
} : void 0,
|
|
666
|
-
e.$slots.optionTooltip ? {
|
|
667
|
-
name: "optionTooltip",
|
|
668
|
-
fn: k(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
669
|
-
key: "1"
|
|
670
|
-
} : void 0,
|
|
671
|
-
e.$slots.optionPdf ? {
|
|
672
|
-
name: "optionPdf",
|
|
673
|
-
fn: k(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
674
|
-
key: "2"
|
|
675
|
-
} : void 0,
|
|
676
|
-
e.$slots.optionCsv ? {
|
|
677
|
-
name: "optionCsv",
|
|
678
|
-
fn: k(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
679
|
-
key: "3"
|
|
680
|
-
} : void 0,
|
|
681
|
-
e.$slots.optionImg ? {
|
|
682
|
-
name: "optionImg",
|
|
683
|
-
fn: k(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
684
|
-
key: "4"
|
|
685
|
-
} : void 0,
|
|
686
|
-
e.$slots.optionSvg ? {
|
|
687
|
-
name: "optionSvg",
|
|
688
|
-
fn: k(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
689
|
-
key: "5"
|
|
690
|
-
} : void 0,
|
|
691
|
-
e.$slots.optionTable ? {
|
|
692
|
-
name: "optionTable",
|
|
693
|
-
fn: k(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
694
|
-
key: "6"
|
|
695
|
-
} : void 0,
|
|
696
|
-
e.$slots.optionLabels ? {
|
|
697
|
-
name: "optionLabels",
|
|
698
|
-
fn: k(() => [T(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
699
|
-
key: "7"
|
|
700
|
-
} : void 0,
|
|
701
|
-
e.$slots.optionFullscreen ? {
|
|
702
|
-
name: "optionFullscreen",
|
|
703
|
-
fn: k(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(y({
|
|
704
|
-
toggleFullscreen: t,
|
|
705
|
-
isFullscreen: n
|
|
706
|
-
})), void 0, !0)]),
|
|
707
|
-
key: "8"
|
|
708
|
-
} : void 0,
|
|
709
|
-
e.$slots.optionAnnotator ? {
|
|
710
|
-
name: "optionAnnotator",
|
|
711
|
-
fn: k(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(y({
|
|
712
|
-
toggleAnnotator: t,
|
|
713
|
-
isAnnotator: n
|
|
714
|
-
})), void 0, !0)]),
|
|
715
|
-
key: "9"
|
|
716
|
-
} : void 0,
|
|
717
|
-
e.$slots.optionZoom ? {
|
|
718
|
-
name: "optionZoom",
|
|
719
|
-
fn: k(({ toggleZoom: t, isZoomLocked: n }) => [T(e.$slots, "optionZoom", x(y({
|
|
720
|
-
toggleZoom: t,
|
|
721
|
-
isZoomLocked: n
|
|
722
|
-
})), void 0, !0)]),
|
|
723
|
-
key: "10"
|
|
724
|
-
} : void 0,
|
|
725
|
-
e.$slots.optionAltCopy ? {
|
|
726
|
-
name: "optionAltCopy",
|
|
727
|
-
fn: k(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
|
|
728
|
-
key: "11"
|
|
729
|
-
} : void 0,
|
|
730
|
-
e.$slots["custom-menu-before"] ? {
|
|
731
|
-
name: "custom-menu-before",
|
|
732
|
-
fn: k(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
733
|
-
key: "12"
|
|
734
|
-
} : void 0,
|
|
735
|
-
e.$slots["custom-menu-after"] ? {
|
|
736
|
-
name: "custom-menu-after",
|
|
737
|
-
fn: k(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
738
|
-
key: "13"
|
|
739
|
-
} : void 0
|
|
740
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.hasZoom.isZoom.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
|
|
741
|
-
(C(), h("svg", {
|
|
742
|
-
ref_key: "svgRef",
|
|
743
|
-
ref: B,
|
|
744
|
-
key: `svg_${yt.value}`,
|
|
745
|
-
xmlns: D(u),
|
|
746
|
-
viewBox: `${D(Z).x} ${D(Z).y} ${D(Z).width} ${D(Z).height}`,
|
|
747
|
-
class: Te({
|
|
748
|
-
"vue-data-ui-fullscreen--on": J.value,
|
|
749
|
-
"vue-data-ui-fulscreen--off": !J.value
|
|
750
|
-
}),
|
|
751
|
-
style: S(`overflow: hidden; background:transparent;color:${L.value.color}`)
|
|
752
|
-
}, [
|
|
753
|
-
_(D(qe)),
|
|
754
|
-
e.$slots["chart-background"] ? (C(), h("foreignObject", {
|
|
755
|
-
key: 0,
|
|
756
|
-
x: 0,
|
|
757
|
-
y: 0,
|
|
758
|
-
width: H.value.width <= 0 ? 10 : H.value.width,
|
|
759
|
-
height: H.value.height <= 0 ? 10 : H.value.height,
|
|
760
|
-
style: { pointerEvents: "none" }
|
|
761
|
-
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Ie)) : m("", !0),
|
|
762
|
-
g("defs", null, [(C(!0), h(xe, null, De(Object.keys(jt.value), (e, t) => (C(), p(ge, {
|
|
763
|
-
t: "radial",
|
|
764
|
-
id: `gradient_${e}`,
|
|
765
|
-
key: `gradient_${e}_${t}`,
|
|
766
|
-
cx: "50%",
|
|
767
|
-
cy: "30%",
|
|
768
|
-
r: "50%",
|
|
769
|
-
fx: "50%",
|
|
770
|
-
fy: "50%",
|
|
771
|
-
stops: [[
|
|
772
|
-
"0%",
|
|
773
|
-
D(r)(e, .5),
|
|
774
|
-
1
|
|
775
|
-
], [
|
|
776
|
-
"100%",
|
|
777
|
-
e,
|
|
778
|
-
1
|
|
779
|
-
]]
|
|
780
|
-
}, null, 8, ["id", "stops"]))), 128))]),
|
|
781
|
-
_(D(Je), {
|
|
782
|
-
dataset: U.value,
|
|
783
|
-
color: L.value.links.stroke,
|
|
784
|
-
backgroundColor: L.value.backgroundColor,
|
|
785
|
-
useChildColor: L.value.links.useChildColor
|
|
786
|
-
}, null, 8, [
|
|
787
|
-
"dataset",
|
|
788
|
-
"color",
|
|
789
|
-
"backgroundColor",
|
|
790
|
-
"useChildColor"
|
|
791
|
-
]),
|
|
792
|
-
_(D(Xe), {
|
|
793
|
-
dataset: U.value,
|
|
794
|
-
hoveredUid: K.value,
|
|
795
|
-
stroke: L.value.nodes.stroke,
|
|
796
|
-
strokeHovered: L.value.nodes.strokeHovered,
|
|
797
|
-
onClick: qt,
|
|
798
|
-
onHover: Pt
|
|
799
|
-
}, {
|
|
800
|
-
node: k(({ node: t }) => [T(e.$slots, "node", x(y({ node: t })), void 0, !0)]),
|
|
801
|
-
"node-svg": k(({ nodeSvg: t }) => [T(e.$slots, "node-svg", x(y({ nodeSvg: t })), void 0, !0)]),
|
|
802
|
-
_: 3
|
|
803
|
-
}, 8, [
|
|
804
|
-
"dataset",
|
|
805
|
-
"hoveredUid",
|
|
806
|
-
"stroke",
|
|
807
|
-
"strokeHovered"
|
|
808
|
-
]),
|
|
809
|
-
V.value.showDataLabels && !D(dt) ? (C(), p(D(Ye), {
|
|
810
|
-
key: 1,
|
|
811
|
-
dataset: U.value,
|
|
812
|
-
color: L.value.color,
|
|
813
|
-
hoveredUid: K.value
|
|
814
|
-
}, null, 8, [
|
|
815
|
-
"dataset",
|
|
816
|
-
"color",
|
|
817
|
-
"hoveredUid"
|
|
818
|
-
])) : m("", !0),
|
|
819
|
-
T(e.$slots, "svg", { svg: {
|
|
820
|
-
...H.value,
|
|
821
|
-
drawingArea: { ...D(Z) },
|
|
822
|
-
isPrintingImg: D(xt) || D(St) || D(Qt),
|
|
823
|
-
isPrintingSvg: D($t)
|
|
824
|
-
} }, void 0, !0)
|
|
825
|
-
], 14, Fe)),
|
|
826
|
-
e.$slots.watermark ? (C(), h("div", Le, [T(e.$slots, "watermark", x(y({ isPrinting: D(xt) || D(St) || D(Qt) || D($t) })), void 0, !0)])) : m("", !0),
|
|
827
|
-
D(Gt) ? (C(), h("div", Re, [T(e.$slots, "reset-action", { reset: D(Q) }, () => [g("button", {
|
|
828
|
-
"data-cy-reset": "",
|
|
829
|
-
tabindex: "0",
|
|
830
|
-
role: "button",
|
|
831
|
-
class: "vue-data-ui-refresh-button",
|
|
832
|
-
style: S({
|
|
833
|
-
background: L.value.backgroundColor,
|
|
834
|
-
cursor: z.value ? "pointer" : "default"
|
|
835
|
-
}),
|
|
836
|
-
onClick: t[0] ||= (e) => D(Q)(!0)
|
|
837
|
-
}, [_(D(He), {
|
|
838
|
-
name: "refresh",
|
|
839
|
-
stroke: L.value.color
|
|
840
|
-
}, null, 8, ["stroke"])], 4)], !0)])) : m("", !0),
|
|
841
|
-
e.$slots.source ? (C(), h("div", ze, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
842
|
-
_(D(Ve), {
|
|
843
|
-
teleportTo: I.value.teleportTo,
|
|
844
|
-
show: V.value.showTooltip && ot.value,
|
|
845
|
-
backgroundColor: I.value.backgroundColor,
|
|
846
|
-
color: I.value.color,
|
|
847
|
-
borderRadius: I.value.borderRadius,
|
|
848
|
-
borderColor: I.value.borderColor,
|
|
849
|
-
borderWidth: I.value.borderWidth,
|
|
850
|
-
fontSize: I.value.fontSize,
|
|
851
|
-
backgroundOpacity: I.value.backgroundOpacity,
|
|
852
|
-
position: I.value.position,
|
|
853
|
-
offsetX: I.value.offsetX,
|
|
854
|
-
offsetY: I.value.offsetY,
|
|
855
|
-
parent: M.value,
|
|
856
|
-
content: j.value,
|
|
857
|
-
isFullscreen: J.value,
|
|
858
|
-
isCustom: I.value.customFormat && typeof I.value.customFormat == "function",
|
|
859
|
-
smooth: I.value.smooth,
|
|
860
|
-
backdropFilter: I.value.backdropFilter,
|
|
861
|
-
smoothForce: I.value.smoothForce,
|
|
862
|
-
smoothSnapThreshold: I.value.smoothSnapThreshold
|
|
863
|
-
}, {
|
|
864
|
-
"tooltip-before": k(() => [T(e.$slots, "tooltip-before", x(y({ ...W.value })), void 0, !0)]),
|
|
865
|
-
tooltip: k(() => [T(e.$slots, "tooltip", x(y({ ...W.value })), void 0, !0)]),
|
|
866
|
-
"tooltip-after": k(() => [T(e.$slots, "tooltip-after", x(y({ ...W.value })), void 0, !0)]),
|
|
867
|
-
_: 3
|
|
868
|
-
}, 8, [
|
|
869
|
-
"teleportTo",
|
|
870
|
-
"show",
|
|
871
|
-
"backgroundColor",
|
|
872
|
-
"color",
|
|
873
|
-
"borderRadius",
|
|
874
|
-
"borderColor",
|
|
875
|
-
"borderWidth",
|
|
876
|
-
"fontSize",
|
|
877
|
-
"backgroundOpacity",
|
|
878
|
-
"position",
|
|
879
|
-
"offsetX",
|
|
880
|
-
"offsetY",
|
|
881
|
-
"parent",
|
|
882
|
-
"content",
|
|
883
|
-
"isFullscreen",
|
|
884
|
-
"isCustom",
|
|
885
|
-
"smooth",
|
|
886
|
-
"backdropFilter",
|
|
887
|
-
"smoothForce",
|
|
888
|
-
"smoothSnapThreshold"
|
|
889
|
-
]),
|
|
890
|
-
nt.value && R.value.buttons.table ? (C(), p(Oe($.value.component), we({ key: 7 }, $.value.props, {
|
|
891
|
-
ref_key: "tableUnit",
|
|
892
|
-
ref: N,
|
|
893
|
-
onClose: Yt
|
|
894
|
-
}), Se({
|
|
895
|
-
content: k(() => [(C(), p(D(We), {
|
|
896
|
-
key: `table_${lt.value}`,
|
|
897
|
-
colNames: q.value.colNames,
|
|
898
|
-
head: q.value.head,
|
|
899
|
-
body: q.value.body,
|
|
900
|
-
config: q.value.config,
|
|
901
|
-
title: F.value.table.useDialog ? "" : $.value.title,
|
|
902
|
-
withCloseButton: !F.value.table.useDialog,
|
|
903
|
-
isCursorPointer: z.value,
|
|
904
|
-
onClose: Yt
|
|
905
|
-
}, {
|
|
906
|
-
th: k(({ th: e }) => [g("div", null, E(e), 1)]),
|
|
907
|
-
td: k(({ td: e }) => [Ce(E(e.name || e), 1)]),
|
|
908
|
-
_: 1
|
|
909
|
-
}, 8, [
|
|
910
|
-
"colNames",
|
|
911
|
-
"head",
|
|
912
|
-
"body",
|
|
913
|
-
"config",
|
|
914
|
-
"title",
|
|
915
|
-
"withCloseButton",
|
|
916
|
-
"isCursorPointer"
|
|
917
|
-
]))]),
|
|
918
|
-
_: 2
|
|
919
|
-
}, [F.value.table.useDialog ? {
|
|
920
|
-
name: "title",
|
|
921
|
-
fn: k(() => [Ce(E($.value.title), 1)]),
|
|
922
|
-
key: "0"
|
|
923
|
-
} : void 0, F.value.table.useDialog ? {
|
|
924
|
-
name: "actions",
|
|
925
|
-
fn: k(() => [g("button", {
|
|
926
|
-
tabindex: "0",
|
|
927
|
-
class: "vue-ui-user-options-button",
|
|
928
|
-
onClick: t[1] ||= (e) => Lt(R.value.callbacks.csv),
|
|
929
|
-
style: S({ cursor: z.value ? "pointer" : "default" })
|
|
930
|
-
}, [_(D(He), {
|
|
931
|
-
name: "fileCsv",
|
|
932
|
-
stroke: $.value.props.color
|
|
933
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
934
|
-
key: "1"
|
|
935
|
-
} : void 0]), 1040)) : m("", !0),
|
|
936
|
-
T(e.$slots, "skeleton", {}, () => [D(dt) ? (C(), p(de, { key: 0 })) : m("", !0)], !0)
|
|
937
|
-
], 46, Me));
|
|
938
|
-
}
|
|
939
|
-
}, [["__scopeId", "data-v-96e92816"]]);
|
|
940
|
-
//#endregion
|
|
941
|
-
export { je as n, Be as t };
|