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,65 +0,0 @@
|
|
|
1
|
-
import { nextTick as e } from "vue";
|
|
2
|
-
//#region src/useFitSvgText.js
|
|
3
|
-
function t({ svgRef: t, unitWidth: n, fontSize: r = 12, step: i = .5, maxIterations: a = 60, hideUnderMin: o = !0 }) {
|
|
4
|
-
let s = /* @__PURE__ */ new WeakMap(), c = (e) => {
|
|
5
|
-
if (typeof e == "number") return e;
|
|
6
|
-
if (!e) return NaN;
|
|
7
|
-
let t = parseFloat(String(e).replace("px", ""));
|
|
8
|
-
return Number.isFinite(t) ? t : NaN;
|
|
9
|
-
}, l = (e) => {
|
|
10
|
-
let t = c(e.getAttribute("font-size"));
|
|
11
|
-
if (Number.isFinite(t)) return t;
|
|
12
|
-
let n = window.getComputedStyle(e);
|
|
13
|
-
return c(n.fontSize) || r;
|
|
14
|
-
}, u = (e, t) => {
|
|
15
|
-
e.setAttribute("font-size", String(t));
|
|
16
|
-
}, d = (e) => {
|
|
17
|
-
if (s.has(e)) u(e, s.get(e));
|
|
18
|
-
else {
|
|
19
|
-
let t = l(e);
|
|
20
|
-
s.set(e, t), u(e, t);
|
|
21
|
-
}
|
|
22
|
-
}, f = (e) => {
|
|
23
|
-
try {
|
|
24
|
-
return e.getBBox().width || 0;
|
|
25
|
-
} catch {
|
|
26
|
-
return 0;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
return { fitText: async (r, s = 6) => {
|
|
30
|
-
await e();
|
|
31
|
-
let c = t?.value;
|
|
32
|
-
if (!c) return;
|
|
33
|
-
let p = c.querySelectorAll(r);
|
|
34
|
-
if (!p.length) return;
|
|
35
|
-
let m = Math.max(0, n.value);
|
|
36
|
-
if (m <= 0) return;
|
|
37
|
-
let h = [];
|
|
38
|
-
p.forEach((e) => {
|
|
39
|
-
let t = e.style.display, n = e.style.opacity;
|
|
40
|
-
e.style.display = "", e.style.opacity = "0", d(e);
|
|
41
|
-
let r = f(e), o = l(e), c = o, p = 0;
|
|
42
|
-
if (r <= m) h.push({
|
|
43
|
-
el: e,
|
|
44
|
-
finalSize: o,
|
|
45
|
-
fits: !0
|
|
46
|
-
});
|
|
47
|
-
else {
|
|
48
|
-
for (; r > m && c > s && p < a;) c = Math.max(s, c - i), u(e, c), r = f(e), p += 1;
|
|
49
|
-
let t = r <= m && c > s;
|
|
50
|
-
h.push({
|
|
51
|
-
el: e,
|
|
52
|
-
finalSize: c,
|
|
53
|
-
fits: t
|
|
54
|
-
}), u(e, o);
|
|
55
|
-
}
|
|
56
|
-
e.style.display = t, e.style.opacity = n;
|
|
57
|
-
});
|
|
58
|
-
let g = o && h.some((e) => !e.fits);
|
|
59
|
-
h.forEach(({ el: e, finalSize: t, fits: n }) => {
|
|
60
|
-
g ? e.style.display = "none" : (e.style.display = "", u(e, t));
|
|
61
|
-
});
|
|
62
|
-
} };
|
|
63
|
-
}
|
|
64
|
-
//#endregion
|
|
65
|
-
export { t };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { toValue as e, watchEffect as t } from "vue";
|
|
2
|
-
//#region src/useHints.js
|
|
3
|
-
var n = {
|
|
4
|
-
noHint: {
|
|
5
|
-
test: () => !0,
|
|
6
|
-
message: ["There is no advice available for this component at the moment 🏖️"]
|
|
7
|
-
},
|
|
8
|
-
emptyArray: {
|
|
9
|
-
test: (e) => e.length === 0,
|
|
10
|
-
message: [
|
|
11
|
-
"👀 The dataset is empty.",
|
|
12
|
-
"",
|
|
13
|
-
"▶️ Check the documentation or the dataset TS type to see how to populate the dataset for this component."
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
singleSeries: {
|
|
17
|
-
test: (e) => e.length === 1,
|
|
18
|
-
message: [
|
|
19
|
-
"👀 The dataset only has a single series. Consider:",
|
|
20
|
-
"",
|
|
21
|
-
"▶️ Using a value display instead of a chart component, or using VueUiKpi."
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
function r({ config: n, dataset: r, component: i, rules: a }) {
|
|
26
|
-
if (!a || a?.length === 0) return;
|
|
27
|
-
let o;
|
|
28
|
-
t(() => {
|
|
29
|
-
if (!(e(n) ?? {}).devHints?.enable) {
|
|
30
|
-
o = void 0;
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
let t = e(r);
|
|
34
|
-
if (!t) {
|
|
35
|
-
o = [
|
|
36
|
-
"",
|
|
37
|
-
i,
|
|
38
|
-
"💬 Vue Data UI advice:",
|
|
39
|
-
"---------------------",
|
|
40
|
-
"",
|
|
41
|
-
"❌ Invalid dataset",
|
|
42
|
-
"",
|
|
43
|
-
"---------------------",
|
|
44
|
-
"Turn off advice by setting config.devHints.enable: false"
|
|
45
|
-
].join("\n"), console.warn(o);
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
let s = a.filter((e) => e.test(t)).map((e) => e.message.join("\n")), c = s.length ? s.join("\n\n") : "✅ Your dataset is appropriate";
|
|
49
|
-
if (c === o) return;
|
|
50
|
-
o = c;
|
|
51
|
-
let l = ["color: #888", "font-weight: normal"].join(";");
|
|
52
|
-
console.info([
|
|
53
|
-
"",
|
|
54
|
-
`💬 ${i}`,
|
|
55
|
-
"%cVue Data UI advice:%c",
|
|
56
|
-
"%c-------------------%c",
|
|
57
|
-
"",
|
|
58
|
-
c,
|
|
59
|
-
"",
|
|
60
|
-
"%c-------------------",
|
|
61
|
-
"Turn off advice by setting devHints.enable: false in the component's config%c"
|
|
62
|
-
].join("\n"), l, "", l, "", l, "");
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
//#endregion
|
|
66
|
-
export { r as n, n as t };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { C as e, nn as t } from "./lib-D4wK6ljP.js";
|
|
2
|
-
//#region src/useNestedProp.js
|
|
3
|
-
function n({ defaultConfig: n, userConfig: r }) {
|
|
4
|
-
if (!Object.keys(r || {}).length) return n;
|
|
5
|
-
let i = t({
|
|
6
|
-
defaultConfig: n,
|
|
7
|
-
userConfig: r
|
|
8
|
-
});
|
|
9
|
-
return e(i);
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { n as t };
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./useConfig-D_6ZrPMD.js";
|
|
2
|
-
import { computed as t, isRef as n, markRaw as r, watchEffect as i } from "vue";
|
|
3
|
-
//#region src/getVueDataUiConfig.js
|
|
4
|
-
var a = /* @__PURE__ */ "vue_ui_3d_bar.vue_ui_accordion.vue_ui_age_pyramid.vue_ui_annotator.vue_ui_bullet.vue_ui_bump.vue_ui_candlestick.vue_ui_carousel_table.vue_ui_chestnut.vue_ui_chord.vue_ui_circle_pack.vue_ui_cursor.vue_ui_dag.vue_ui_dashboard.vue_ui_digits.vue_ui_donut.vue_ui_donut_evolution.vue_ui_dumbbell.vue_ui_flow.vue_ui_funnel.vue_ui_galaxy.vue_ui_gauge.vue_ui_geo.vue_ui_gizmo.vue_ui_heatmap.vue_ui_hill.vue_ui_history_plot.vue_ui_horizontal_bar.vue_ui_kpi.vue_ui_label.vue_ui_mini_loader.vue_ui_molecule.vue_ui_mood_radar.vue_ui_nested_donuts.vue_ui_onion.vue_ui_parallel_coordinate_plot.vue_ui_quadrant.vue_ui_quick_chart.vue_ui_radar.vue_ui_rating.vue_ui_relation_circle.vue_ui_ridgeline.vue_ui_rings.vue_ui_scatter.vue_ui_skeleton.vue_ui_smiley.vue_ui_spark_trend.vue_ui_sparkbar.vue_ui_sparkgauge.vue_ui_sparkhistogram.vue_ui_sparkline.vue_ui_sparkstackbar.vue_ui_stackbar.vue_ui_stackline.vue_ui_strip_plot.vue_ui_table.vue_ui_table_heatmap.vue_ui_table_sparkline.vue_ui_thermometer.vue_ui_timer.vue_ui_tiremarks.vue_ui_treemap.vue_ui_vertical_bar.vue_ui_waffle.vue_ui_wheel.vue_ui_word_cloud.vue_ui_world.vue_ui_xy.vue_ui_xy_canvas".split(".");
|
|
5
|
-
function o(t, n = {}) {
|
|
6
|
-
return a.includes(t) ? e(n)[t] : (console.error(`VueDataUi - getVueDataUiConfig : ${t} is not a valid component name for this utility.\nUse snake case names, for example 'vue_ui_xy', 'vue_ui_donut', etc.`), {});
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/getThemeConfig.js
|
|
10
|
-
var s = Object.fromEntries(Object.entries(/* @__PURE__ */ Object.assign({
|
|
11
|
-
"./themes/vue_ui_3d_bar.json": () => import("./vue_ui_3d_bar-C4R7o-yX.js").then((e) => e.n).then((e) => e.default),
|
|
12
|
-
"./themes/vue_ui_age_pyramid.json": () => import("./vue_ui_age_pyramid-B2R66DgQ.js").then((e) => e.n).then((e) => e.default),
|
|
13
|
-
"./themes/vue_ui_bullet.json": () => import("./vue_ui_bullet-ClzdLoOv.js").then((e) => e.n).then((e) => e.default),
|
|
14
|
-
"./themes/vue_ui_bump.json": () => import("./vue_ui_bump-Vl-zYAtG.js").then((e) => e.n).then((e) => e.default),
|
|
15
|
-
"./themes/vue_ui_candlestick.json": () => import("./vue_ui_candlestick-BXSQY82k.js").then((e) => e.n).then((e) => e.default),
|
|
16
|
-
"./themes/vue_ui_chestnut.json": () => import("./vue_ui_chestnut-D2oUhad6.js").then((e) => e.n).then((e) => e.default),
|
|
17
|
-
"./themes/vue_ui_chord.json": () => import("./vue_ui_chord-DPfS1Umc.js").then((e) => e.n).then((e) => e.default),
|
|
18
|
-
"./themes/vue_ui_circle_pack.json": () => import("./vue_ui_circle_pack-DZC_rdfn.js").then((e) => e.n).then((e) => e.default),
|
|
19
|
-
"./themes/vue_ui_dag.json": () => import("./vue_ui_dag-TsJ_azQq.js").then((e) => e.n).then((e) => e.default),
|
|
20
|
-
"./themes/vue_ui_donut.json": () => import("./vue_ui_donut-BDGqG07h.js").then((e) => e.n).then((e) => e.default),
|
|
21
|
-
"./themes/vue_ui_donut_evolution.json": () => import("./vue_ui_donut_evolution-C6951a2f.js").then((e) => e.n).then((e) => e.default),
|
|
22
|
-
"./themes/vue_ui_dumbbell.json": () => import("./vue_ui_dumbbell-Bfe_jFyi.js").then((e) => e.n).then((e) => e.default),
|
|
23
|
-
"./themes/vue_ui_flow.json": () => import("./vue_ui_flow-BewZjjKG.js").then((e) => e.n).then((e) => e.default),
|
|
24
|
-
"./themes/vue_ui_funnel.json": () => import("./vue_ui_funnel-_Og4EEkO.js").then((e) => e.n).then((e) => e.default),
|
|
25
|
-
"./themes/vue_ui_galaxy.json": () => import("./vue_ui_galaxy-Ig0cc1_h.js").then((e) => e.n).then((e) => e.default),
|
|
26
|
-
"./themes/vue_ui_gauge.json": () => import("./vue_ui_gauge-Cf1RZc9q.js").then((e) => e.n).then((e) => e.default),
|
|
27
|
-
"./themes/vue_ui_geo.json": () => import("./vue_ui_geo-B8TODs-G.js").then((e) => e.n).then((e) => e.default),
|
|
28
|
-
"./themes/vue_ui_heatmap.json": () => import("./vue_ui_heatmap-B2BBBSWG.js").then((e) => e.n).then((e) => e.default),
|
|
29
|
-
"./themes/vue_ui_hill.json": () => import("./vue_ui_hill-dnltu0L-.js").then((e) => e.n).then((e) => e.default),
|
|
30
|
-
"./themes/vue_ui_history_plot.json": () => import("./vue_ui_history_plot-CuN63VEc.js").then((e) => e.n).then((e) => e.default),
|
|
31
|
-
"./themes/vue_ui_horizontal_bar.json": () => import("./vue_ui_horizontal_bar-C4J4QzXf.js").then((e) => e.n).then((e) => e.default),
|
|
32
|
-
"./themes/vue_ui_label.json": () => import("./vue_ui_label-B0QoxQrJ.js").then((e) => e.n).then((e) => e.default),
|
|
33
|
-
"./themes/vue_ui_molecule.json": () => import("./vue_ui_molecule-CO9L59SF.js").then((e) => e.n).then((e) => e.default),
|
|
34
|
-
"./themes/vue_ui_mood_radar.json": () => import("./vue_ui_mood_radar-BA6LAKhk.js").then((e) => e.n).then((e) => e.default),
|
|
35
|
-
"./themes/vue_ui_nested_donuts.json": () => import("./vue_ui_nested_donuts-B8csIoVO.js").then((e) => e.n).then((e) => e.default),
|
|
36
|
-
"./themes/vue_ui_onion.json": () => import("./vue_ui_onion-1FTFFS46.js").then((e) => e.n).then((e) => e.default),
|
|
37
|
-
"./themes/vue_ui_parallel_coordinate_plot.json": () => import("./vue_ui_parallel_coordinate_plot-CBiOBira.js").then((e) => e.n).then((e) => e.default),
|
|
38
|
-
"./themes/vue_ui_quadrant.json": () => import("./vue_ui_quadrant-CDSTKTJz.js").then((e) => e.n).then((e) => e.default),
|
|
39
|
-
"./themes/vue_ui_quick_chart.json": () => import("./vue_ui_quick_chart-DByCqSYE.js").then((e) => e.n).then((e) => e.default),
|
|
40
|
-
"./themes/vue_ui_radar.json": () => import("./vue_ui_radar-jafTED5j.js").then((e) => e.n).then((e) => e.default),
|
|
41
|
-
"./themes/vue_ui_relation_circle.json": () => import("./vue_ui_relation_circle-D0p4mXmv.js").then((e) => e.n).then((e) => e.default),
|
|
42
|
-
"./themes/vue_ui_ridgeline.json": () => import("./vue_ui_ridgeline-VM8_mx4J.js").then((e) => e.n).then((e) => e.default),
|
|
43
|
-
"./themes/vue_ui_rings.json": () => import("./vue_ui_rings-BVgD2aMn.js").then((e) => e.n).then((e) => e.default),
|
|
44
|
-
"./themes/vue_ui_scatter.json": () => import("./vue_ui_scatter-I0POnicu.js").then((e) => e.n).then((e) => e.default),
|
|
45
|
-
"./themes/vue_ui_spark_trend.json": () => import("./vue_ui_spark_trend-DxVmpkmC.js").then((e) => e.n).then((e) => e.default),
|
|
46
|
-
"./themes/vue_ui_sparkbar.json": () => import("./vue_ui_sparkbar-z6qO--Kf.js").then((e) => e.n).then((e) => e.default),
|
|
47
|
-
"./themes/vue_ui_sparkgauge.json": () => import("./vue_ui_sparkgauge-BX1MS3bA.js").then((e) => e.n).then((e) => e.default),
|
|
48
|
-
"./themes/vue_ui_sparkhistogram.json": () => import("./vue_ui_sparkhistogram-BRgvKUH6.js").then((e) => e.n).then((e) => e.default),
|
|
49
|
-
"./themes/vue_ui_sparkline.json": () => import("./vue_ui_sparkline-b9pEUyGF.js").then((e) => e.n).then((e) => e.default),
|
|
50
|
-
"./themes/vue_ui_sparkstackbar.json": () => import("./vue_ui_sparkstackbar-BOjuQnZd.js").then((e) => e.n).then((e) => e.default),
|
|
51
|
-
"./themes/vue_ui_stackbar.json": () => import("./vue_ui_stackbar-yQyvT4Su.js").then((e) => e.n).then((e) => e.default),
|
|
52
|
-
"./themes/vue_ui_stackline.json": () => import("./vue_ui_stackline-Bh0RuInt.js").then((e) => e.n).then((e) => e.default),
|
|
53
|
-
"./themes/vue_ui_strip_plot.json": () => import("./vue_ui_strip_plot-BaHbnnwN.js").then((e) => e.n).then((e) => e.default),
|
|
54
|
-
"./themes/vue_ui_table_heatmap.json": () => import("./vue_ui_table_heatmap-w8vx5k6f.js").then((e) => e.n).then((e) => e.default),
|
|
55
|
-
"./themes/vue_ui_table_sparkline.json": () => import("./vue_ui_table_sparkline-DAbkUrNz.js").then((e) => e.n).then((e) => e.default),
|
|
56
|
-
"./themes/vue_ui_thermometer.json": () => import("./vue_ui_thermometer-DxgqWKlE.js").then((e) => e.n).then((e) => e.default),
|
|
57
|
-
"./themes/vue_ui_tiremarks.json": () => import("./vue_ui_tiremarks-CdEPieWV.js").then((e) => e.n).then((e) => e.default),
|
|
58
|
-
"./themes/vue_ui_treemap.json": () => import("./vue_ui_treemap-DoEtkRN6.js").then((e) => e.n).then((e) => e.default),
|
|
59
|
-
"./themes/vue_ui_vertical_bar.json": () => import("./vue_ui_vertical_bar-CP-MKz1j.js").then((e) => e.default),
|
|
60
|
-
"./themes/vue_ui_waffle.json": () => import("./vue_ui_waffle-DE_DiSVP.js").then((e) => e.n).then((e) => e.default),
|
|
61
|
-
"./themes/vue_ui_wheel.json": () => import("./vue_ui_wheel-DZ_nR--t.js").then((e) => e.n).then((e) => e.default),
|
|
62
|
-
"./themes/vue_ui_word_cloud.json": () => import("./vue_ui_word_cloud-C-qIMNLu.js").then((e) => e.n).then((e) => e.default),
|
|
63
|
-
"./themes/vue_ui_xy.json": () => import("./vue_ui_xy-CcJADijP.js").then((e) => e.n).then((e) => e.default),
|
|
64
|
-
"./themes/vue_ui_xy_canvas.json": () => import("./vue_ui_xy_canvas-DrNSzYWq.js").then((e) => e.n).then((e) => e.default)
|
|
65
|
-
})).map(([e, t]) => {
|
|
66
|
-
let n = e.match(/\/themes\/(.+)\.json$/);
|
|
67
|
-
return [n ? n[1] : e, t];
|
|
68
|
-
})), c = /* @__PURE__ */ new Map(), l = async (e) => {
|
|
69
|
-
let t = s[e];
|
|
70
|
-
if (!t) {
|
|
71
|
-
let e = /* @__PURE__ */ Error("ENOENT");
|
|
72
|
-
throw e.code = "ENOENT", e;
|
|
73
|
-
}
|
|
74
|
-
return await t();
|
|
75
|
-
};
|
|
76
|
-
async function u(e) {
|
|
77
|
-
if (!e) return null;
|
|
78
|
-
if (c.has(e)) return c.get(e);
|
|
79
|
-
try {
|
|
80
|
-
let t = await l(e);
|
|
81
|
-
return c.set(e, t), t;
|
|
82
|
-
} catch (t) {
|
|
83
|
-
return console.warn(`[getThemeConfig] Missing theme file: ${e}.json`, t), null;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
//#endregion
|
|
87
|
-
//#region src/data-correction.js
|
|
88
|
-
function d(e, t) {
|
|
89
|
-
if (t <= 0 || e.length < 3) return e;
|
|
90
|
-
let n = e.length, r = Array.from({ length: n });
|
|
91
|
-
for (let i = 0; i < n; i += 1) {
|
|
92
|
-
let n = Math.max(0, i - t), a = 0;
|
|
93
|
-
for (let t = n; t <= i; t += 1) a += e[t].value;
|
|
94
|
-
r[i] = a / (i - n + 1);
|
|
95
|
-
}
|
|
96
|
-
let i = Array.from({ length: n });
|
|
97
|
-
for (let r = 0; r < n; r += 1) {
|
|
98
|
-
let a = Math.min(n - 1, r + t), o = 0;
|
|
99
|
-
for (let t = r; t <= a; t += 1) o += e[t].value;
|
|
100
|
-
i[r] = o / (a - r + 1);
|
|
101
|
-
}
|
|
102
|
-
let a = e.map((e) => ({ ...e }));
|
|
103
|
-
for (let e = 1; e < n - 1; e += 1) {
|
|
104
|
-
let t = e / (n - 1);
|
|
105
|
-
a[e].value = (1 - t) * r[e] + t * i[e];
|
|
106
|
-
}
|
|
107
|
-
return a;
|
|
108
|
-
}
|
|
109
|
-
function f(e, t) {
|
|
110
|
-
if (t <= 0 || e.length < 3) return e;
|
|
111
|
-
let n = 1 / (1 + t), r = e.length, i = Array.from({ length: r });
|
|
112
|
-
i[0] = e[0].value;
|
|
113
|
-
for (let t = 1; t < r; t += 1) i[t] = n * e[t].value + (1 - n) * i[t - 1];
|
|
114
|
-
let a = Array.from({ length: r });
|
|
115
|
-
a[r - 1] = e[r - 1].value;
|
|
116
|
-
for (let t = r - 2; t >= 0; --t) a[t] = n * e[t].value + (1 - n) * a[t + 1];
|
|
117
|
-
let o = e.map((e) => ({ ...e }));
|
|
118
|
-
for (let e = 1; e < r - 1; e += 1) {
|
|
119
|
-
let t = e / (r - 1);
|
|
120
|
-
o[e].value = (1 - t) * i[e] + t * a[e];
|
|
121
|
-
}
|
|
122
|
-
return o;
|
|
123
|
-
}
|
|
124
|
-
function p(e, t) {
|
|
125
|
-
let n = e;
|
|
126
|
-
return n = d(n, t.averageWindow), n = f(n, t.smoothingTau), n;
|
|
127
|
-
}
|
|
128
|
-
//#endregion
|
|
129
|
-
//#region src/useObjectBindings.js
|
|
130
|
-
function m(e, t = [], n = !0) {
|
|
131
|
-
let r = [];
|
|
132
|
-
if (e && typeof e == "object") {
|
|
133
|
-
if (Array.isArray(e) && n) return [];
|
|
134
|
-
for (let i of Object.keys(e)) {
|
|
135
|
-
let a = e[i];
|
|
136
|
-
if (Array.isArray(a) && n) continue;
|
|
137
|
-
let o = t.concat(i);
|
|
138
|
-
a && typeof a == "object" ? r.push(...m(a, o, n)) : r.push(o);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
return r;
|
|
142
|
-
}
|
|
143
|
-
function h(e, t) {
|
|
144
|
-
return t.reduce((e, t) => e?.[t], e);
|
|
145
|
-
}
|
|
146
|
-
function g(e, t, r) {
|
|
147
|
-
let i = n(e) ? e.value : e;
|
|
148
|
-
for (let e = 0; e < t.length - 1; e += 1) {
|
|
149
|
-
let n = t[e];
|
|
150
|
-
(!Object.prototype.hasOwnProperty.call(i, n) || typeof i[n] != "object") && (i[n] = {}), i = i[n];
|
|
151
|
-
}
|
|
152
|
-
i[t[t.length - 1]] = r;
|
|
153
|
-
}
|
|
154
|
-
function _(e, t, n, r) {
|
|
155
|
-
let i = t.split(r), a = e;
|
|
156
|
-
for (let e = 0; e < i.length - 1; e += 1) {
|
|
157
|
-
let t = i[e];
|
|
158
|
-
a[t] || (a[t] = {}), a = a[t];
|
|
159
|
-
}
|
|
160
|
-
a[i[i.length - 1]] = n;
|
|
161
|
-
}
|
|
162
|
-
function v(e, n) {
|
|
163
|
-
let { delimiter: a = ".", skipArrays: o = !0 } = n || {}, s = {};
|
|
164
|
-
function c() {
|
|
165
|
-
Object.keys(s).forEach((e) => delete s[e]);
|
|
166
|
-
let n = m(e.value, [], o);
|
|
167
|
-
for (let r of n) {
|
|
168
|
-
let n = r.join(a);
|
|
169
|
-
s[n] = t({
|
|
170
|
-
get: () => h(e.value, r),
|
|
171
|
-
set: (t) => g(e.value, r, t)
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
return i(c), c(), r(new Proxy(s, {
|
|
176
|
-
get(n, r) {
|
|
177
|
-
return typeof r == "string" || r.startsWith("__v_") ? r in n ? Reflect.get(n, r) : (_(e.value, r, void 0, a), s[r] = t({
|
|
178
|
-
get: () => h(e.value, r),
|
|
179
|
-
set: (t) => g(e.value, r, t)
|
|
180
|
-
}), r.startsWith("__v_") || console.warn(`Vue Data UI - useObjectBindings: no binding found for key "${r}". Please verify you are binding to a property path which exists on the object.`), "") : !0;
|
|
181
|
-
},
|
|
182
|
-
set(n, r, i) {
|
|
183
|
-
return typeof r == "string" || r.startsWith("__v_") ? r in n ? Reflect.set(n, r, i) : (_(e.value, r, i, a), s[r] = t({
|
|
184
|
-
get: () => h(e.value, r),
|
|
185
|
-
set: (t) => g(e.value, r, t)
|
|
186
|
-
}), r.startsWith("__v_") || console.warn(`Vue Data UI - useObjectBindings: cannot set unknown binding "${r}".`), !0) : !0;
|
|
187
|
-
}
|
|
188
|
-
}));
|
|
189
|
-
}
|
|
190
|
-
//#endregion
|
|
191
|
-
export { o as i, p as n, u as r, v as t };
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { computed as e, onMounted as t, onUnmounted as n, ref as r, watch as i, watchEffect as a } from "vue";
|
|
2
|
-
//#region src/usePanZoom.js
|
|
3
|
-
function o(o, s = {
|
|
4
|
-
x: 0,
|
|
5
|
-
y: 0,
|
|
6
|
-
width: 100,
|
|
7
|
-
height: 100
|
|
8
|
-
}, c = 1, l, u = null) {
|
|
9
|
-
let d = r({ ...s }), f = r({ ...d.value }), p = r(1), m = r(!1), h = r(!1), g = r(0), _ = r(null), v = r(1), y = r({
|
|
10
|
-
x: 0,
|
|
11
|
-
y: 0
|
|
12
|
-
}), b = e(() => f.value.x !== d.value.x || f.value.y !== d.value.y || f.value.width !== d.value.width || f.value.height !== d.value.height), x = null;
|
|
13
|
-
function S(e) {
|
|
14
|
-
if (e.length < 2) return 0;
|
|
15
|
-
let t = e[0].clientX - e[1].clientX, n = e[0].clientY - e[1].clientY;
|
|
16
|
-
return Math.hypot(t, n);
|
|
17
|
-
}
|
|
18
|
-
function C(e) {
|
|
19
|
-
let t = o.value;
|
|
20
|
-
if (!t) return {
|
|
21
|
-
x: 0,
|
|
22
|
-
y: 0
|
|
23
|
-
};
|
|
24
|
-
let n = t.createSVGPoint();
|
|
25
|
-
n.x = e.clientX, n.y = e.clientY;
|
|
26
|
-
let r = t.getScreenCTM()?.inverse();
|
|
27
|
-
return r ? n.matrixTransform(r) : {
|
|
28
|
-
x: 0,
|
|
29
|
-
y: 0
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
function w(e, t) {
|
|
33
|
-
let n = o.value;
|
|
34
|
-
if (!n) return {
|
|
35
|
-
dx: 0,
|
|
36
|
-
dy: 0
|
|
37
|
-
};
|
|
38
|
-
let r = Math.max(1, n.clientWidth), i = Math.max(1, n.clientHeight), a = f.value.width / r, s = f.value.height / i;
|
|
39
|
-
return {
|
|
40
|
-
dx: e * a,
|
|
41
|
-
dy: t * s
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function T(e) {
|
|
45
|
-
m.value = !0;
|
|
46
|
-
let t = e.touches?.[0] || e;
|
|
47
|
-
y.value = {
|
|
48
|
-
x: t.clientX,
|
|
49
|
-
y: t.clientY
|
|
50
|
-
}, o.value && (o.value.style.cursor = "grabbing");
|
|
51
|
-
}
|
|
52
|
-
function E(e) {
|
|
53
|
-
if (!m.value) return;
|
|
54
|
-
let t = e.touches?.[0] || e, n = t.clientX - y.value.x, r = t.clientY - y.value.y;
|
|
55
|
-
if (n === 0 && r === 0) return;
|
|
56
|
-
let { dx: i, dy: a } = w(n, r);
|
|
57
|
-
f.value.x -= i, f.value.y -= a, y.value = {
|
|
58
|
-
x: t.clientX,
|
|
59
|
-
y: t.clientY
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
function D() {
|
|
63
|
-
m.value = !1, o.value && (o.value.style.cursor = "");
|
|
64
|
-
}
|
|
65
|
-
function O(e) {
|
|
66
|
-
u && u(), e.preventDefault(), j(e.deltaY > 0 ? .9 : 1.1, C(e));
|
|
67
|
-
}
|
|
68
|
-
function k(e) {
|
|
69
|
-
e.preventDefault();
|
|
70
|
-
let t = C(e);
|
|
71
|
-
A(1.5 * (1 + c / 100), t);
|
|
72
|
-
}
|
|
73
|
-
function A(e, t) {
|
|
74
|
-
x && cancelAnimationFrame(x);
|
|
75
|
-
let n = p.value, r = n * e, i = null, a = (e) => e < .5 ? 2 * e * e : -1 + (4 - 2 * e) * e, o = (e) => {
|
|
76
|
-
i ??= e;
|
|
77
|
-
let s = Math.min((e - i) / 200, 1);
|
|
78
|
-
j((n + (r - n) * a(s)) / p.value, t), x = s < 1 ? requestAnimationFrame(o) : null;
|
|
79
|
-
};
|
|
80
|
-
requestAnimationFrame(o);
|
|
81
|
-
}
|
|
82
|
-
function j(e, t) {
|
|
83
|
-
let n = p.value * e, r = n / p.value, i = f.value.width / r, a = f.value.height / r, o = (t.x - f.value.x) * (1 - 1 / r), s = (t.y - f.value.y) * (1 - 1 / r);
|
|
84
|
-
f.value.x += o, f.value.y += s, f.value.width = i, f.value.height = a, p.value = n;
|
|
85
|
-
}
|
|
86
|
-
function M(e) {
|
|
87
|
-
e.touches.length === 2 ? (h.value = !0, g.value = S(e.touches), _.value = { ...f.value }, v.value = p.value) : (e.preventDefault(), T(e));
|
|
88
|
-
}
|
|
89
|
-
function N(e) {
|
|
90
|
-
if (h.value && e.touches.length === 2) {
|
|
91
|
-
e.preventDefault();
|
|
92
|
-
let t = S(e.touches);
|
|
93
|
-
if (!g.value || !t) return;
|
|
94
|
-
let n = t / g.value, r = v.value * n / p.value, i = C({
|
|
95
|
-
clientX: (e.touches[0].clientX + e.touches[1].clientX) / 2,
|
|
96
|
-
clientY: (e.touches[0].clientY + e.touches[1].clientY) / 2
|
|
97
|
-
});
|
|
98
|
-
f.value = { ..._.value }, p.value = v.value, j(r, i);
|
|
99
|
-
} else e.preventDefault(), E(e);
|
|
100
|
-
}
|
|
101
|
-
function P(e) {
|
|
102
|
-
e.touches.length < 2 && (h.value = !1), D();
|
|
103
|
-
}
|
|
104
|
-
function F(e = !1) {
|
|
105
|
-
if (!e) {
|
|
106
|
-
f.value = { ...d.value }, p.value = 1;
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
let t = { ...f.value }, n = p.value, r = null, i = (e) => {
|
|
110
|
-
r ??= e;
|
|
111
|
-
let a = Math.min((e - r) / 300, 1);
|
|
112
|
-
f.value = {
|
|
113
|
-
x: t.x + (d.value.x - t.x) * a,
|
|
114
|
-
y: t.y + (d.value.y - t.y) * a,
|
|
115
|
-
width: t.width + (d.value.width - t.width) * a,
|
|
116
|
-
height: t.height + (d.value.height - t.height) * a
|
|
117
|
-
}, p.value = n + (1 - n) * a, a < 1 && requestAnimationFrame(i);
|
|
118
|
-
};
|
|
119
|
-
requestAnimationFrame(i);
|
|
120
|
-
}
|
|
121
|
-
function I(e, t = {}) {
|
|
122
|
-
let { overwriteCurrentIfNotZoomed: n = !0 } = t, r = f.value.x !== d.value.x || f.value.y !== d.value.y || f.value.width !== d.value.width || f.value.height !== d.value.height;
|
|
123
|
-
d.value = { ...e }, !r && n && (f.value = { ...d.value }, p.value = 1);
|
|
124
|
-
}
|
|
125
|
-
function L() {
|
|
126
|
-
let e = o.value;
|
|
127
|
-
e && (e.addEventListener("mousedown", T), e.addEventListener("mousemove", E), e.addEventListener("mouseup", D), e.addEventListener("mouseleave", D), e.addEventListener("wheel", O, { passive: !1 }), e.addEventListener("dblclick", k), e.addEventListener("touchstart", M, { passive: !1 }), e.addEventListener("touchmove", N, { passive: !1 }), e.addEventListener("touchend", P), e.addEventListener("touchcancel", P));
|
|
128
|
-
}
|
|
129
|
-
function R() {
|
|
130
|
-
let e = o.value;
|
|
131
|
-
e && (e.removeEventListener("mousedown", T), e.removeEventListener("mousemove", E), e.removeEventListener("mouseup", D), e.removeEventListener("mouseleave", D), e.removeEventListener("wheel", O), e.removeEventListener("dblclick", k), e.removeEventListener("touchstart", M), e.removeEventListener("touchmove", N), e.removeEventListener("touchend", P), e.removeEventListener("touchcancel", P));
|
|
132
|
-
}
|
|
133
|
-
t(() => {
|
|
134
|
-
(!l || l.value) && L();
|
|
135
|
-
}), n(R), a(() => {
|
|
136
|
-
if (l) return l.value ? L() : R(), () => R();
|
|
137
|
-
}), i(o, () => {
|
|
138
|
-
R(), (!l || l.value) && L();
|
|
139
|
-
});
|
|
140
|
-
function z(e, t = !1) {
|
|
141
|
-
let n = {
|
|
142
|
-
x: f.value.x + f.value.width / 2,
|
|
143
|
-
y: f.value.y + f.value.height / 2
|
|
144
|
-
};
|
|
145
|
-
t ? A(e, n) : j(e, n);
|
|
146
|
-
}
|
|
147
|
-
return {
|
|
148
|
-
viewBox: f,
|
|
149
|
-
resetZoom: F,
|
|
150
|
-
isZoom: b,
|
|
151
|
-
setInitialViewBox: I,
|
|
152
|
-
scale: p,
|
|
153
|
-
zoomByFactor: z
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
//#endregion
|
|
157
|
-
export { o as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { onBeforeUnmount as e, onMounted as t, ref as n } from "vue";
|
|
2
|
-
//#region src/usePrefersMotion.js
|
|
3
|
-
function r() {
|
|
4
|
-
let r = n(!1);
|
|
5
|
-
return t(() => {
|
|
6
|
-
let t = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
|
|
7
|
-
r.value = t.matches;
|
|
8
|
-
};
|
|
9
|
-
n(), t.addEventListener("change", n), e(() => {
|
|
10
|
-
t.removeEventListener("change", n);
|
|
11
|
-
});
|
|
12
|
-
}), r;
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { r as t };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ref as e } from "vue";
|
|
2
|
-
//#region src/usePrinter.js
|
|
3
|
-
function t({ elementId: t, fileName: n, canPrint: r = !0, options: i }) {
|
|
4
|
-
let a = e(!1), o = e(!1), s = e(null);
|
|
5
|
-
async function c() {
|
|
6
|
-
r && !a.value && (a.value = !0, clearTimeout(s.value), s.value = setTimeout(async () => {
|
|
7
|
-
if (r) try {
|
|
8
|
-
let { default: e } = await import("./pdf-BzIQHx-F.js");
|
|
9
|
-
await e({
|
|
10
|
-
domElement: document.getElementById(t),
|
|
11
|
-
fileName: n,
|
|
12
|
-
orientation: i.orientation,
|
|
13
|
-
overflowTolerance: i.overflowTolerance,
|
|
14
|
-
scale: i.scale,
|
|
15
|
-
aspectRatio: i.aspectRatio ?? null
|
|
16
|
-
});
|
|
17
|
-
} catch (e) {
|
|
18
|
-
console.error("Error generating PDF:", e);
|
|
19
|
-
} finally {
|
|
20
|
-
a.value = !1;
|
|
21
|
-
}
|
|
22
|
-
}, 100));
|
|
23
|
-
}
|
|
24
|
-
async function l() {
|
|
25
|
-
r && !o.value && (o.value = !0, clearTimeout(s.value), s.value = setTimeout(async () => {
|
|
26
|
-
if (r) try {
|
|
27
|
-
let { default: e } = await import("./img-Bb5rHcpO.js").then((e) => e.n);
|
|
28
|
-
await e({
|
|
29
|
-
domElement: document.getElementById(t),
|
|
30
|
-
fileName: n,
|
|
31
|
-
format: "png",
|
|
32
|
-
scale: i?.scale
|
|
33
|
-
});
|
|
34
|
-
} catch (e) {
|
|
35
|
-
console.error("Error generating image:", e);
|
|
36
|
-
} finally {
|
|
37
|
-
o.value = !1;
|
|
38
|
-
}
|
|
39
|
-
}, 100));
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
generatePdf: c,
|
|
43
|
-
generateImage: l,
|
|
44
|
-
isPrinting: a,
|
|
45
|
-
isImaging: o
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
//#endregion
|
|
49
|
-
export { t };
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
//#region src/canvas-lib.js
|
|
2
|
-
function e(e, t, n, r = {}) {
|
|
3
|
-
if (n <= 0) return;
|
|
4
|
-
e.save();
|
|
5
|
-
let { color: i = "black", lineWidth: a = 1, lineCap: o = "round", lineJoin: s = "round", lineDash: c = null, lineDashoffset: l = 0, shadowColor: u = null, shadowBlur: d = 0, shadowOffsetX: f = 0, shadowOffsetY: p = 0, fillStyle: m = "#FFFFFF" } = r;
|
|
6
|
-
e.beginPath(), e.arc(t.x, t.y, n, 0, 2 * Math.PI), e.strokeStyle = i, e.lineWidth = a, e.lineCap = o, e.lineJoin = s, c && (e.setLineDash(c), e.lineDashoffset = l), u && (e.shadowColor = u, e.shadowOffsetX = f, e.shadowOffsetY = p), d && (e.shadowBlur = d), m && (e.fillStyle = m), e.fillStyle && e.fill(), e.stroke(), e.restore();
|
|
7
|
-
}
|
|
8
|
-
function t(e, t, n = {}) {
|
|
9
|
-
if (!t.length) return;
|
|
10
|
-
e.save();
|
|
11
|
-
let { color: r = "black", lineWidth: i = 1, lineCap: a = "round", lineJoin: o = "round", lineDash: s = null, lineDashoffset: c = 0, shadowColor: l = null, shadowBlur: u = 0, shadowOffsetX: d = 0, shadowOffsetY: f = 0 } = n;
|
|
12
|
-
e.beginPath(), e.moveTo(t[0].x, t[0].y);
|
|
13
|
-
for (let n = 1; n < t.length; n += 1) e.lineTo(t[n].x, t[n].y);
|
|
14
|
-
e.strokeStyle = r, e.lineWidth = i, e.lineCap = a, e.lineJoin = o, s && (e.setLineDash(s), e.lineDashoffset = c), l && (e.shadowColor = l, e.shadowOffsetX = d, e.shadowOffsetY = f), u && (e.shadowBlur = u), e.stroke(), e.restore();
|
|
15
|
-
}
|
|
16
|
-
function n(e, t, n = {}) {
|
|
17
|
-
if (!t.length) return;
|
|
18
|
-
e.save();
|
|
19
|
-
let { strokeColor: r = "black", lineWidth: i = 1, lineCap: a = "round", lineJoin: o = "round", lineDash: s = null, lineDashoffset: l = 0, fillColor: u = null, gradient: d = null, shadowColor: f = null, shadowBlur: p = 0, shadowOffsetX: m = 0, shadowOffsetY: h = 0 } = n;
|
|
20
|
-
e.beginPath(), e.moveTo(t[0].x, t[0].y);
|
|
21
|
-
for (let n = 1; n < t.length; n += 1) e.lineTo(t[n].x, t[n].y);
|
|
22
|
-
if (e.closePath(), e.strokeStyle = r, e.lineWidth = i, e.lineCap = a, e.lineJoin = o, s && (e.setLineDash(s), e.lineDashoffset = l), f && (e.shadowColor = f, e.shadowBlur = p, e.shadowOffsetX = m, e.shadowOffsetY = h), d) {
|
|
23
|
-
let t;
|
|
24
|
-
d.type === "linear" ? t = e.createLinearGradient(c(d.start.x, Number.MIN_VALUE), c(d.start.y, Number.MIN_VALUE), c(d.end.x, Number.MIN_VALUE * 2), c(d.end.y, Number.MIN_VALUE * 2)) : d.type === "radial" && (t = e.createRadialGradient(c(d.start.x, Number.MIN_VALUE), c(d.start.y, Number.MIN_VALUE), d.start.r || 0, c(d.end.x, Number.MIN_VALUE * 2), c(d.end.y, Number.MIN_VALUE * 2), d.end.r || 0)), t && d.stops && (d.stops.forEach((e) => {
|
|
25
|
-
t.addColorStop(e.offset, e.color);
|
|
26
|
-
}), e.fillStyle = t);
|
|
27
|
-
} else u && (e.fillStyle = u);
|
|
28
|
-
e.fillStyle && e.fill(), r && e.stroke(), e.restore();
|
|
29
|
-
}
|
|
30
|
-
function r(e, t, n = {}) {
|
|
31
|
-
if (!t.length) return;
|
|
32
|
-
e.save();
|
|
33
|
-
let { strokeColor: r = "black", lineWidth: i = 1, lineCap: a = "round", lineJoin: o = "round", lineDash: s = null, lineDashoffset: l = 0, fillColor: u = null, gradient: d = null, shadowColor: f = null, shadowBlur: p = 0, shadowOffsetX: m = 0, shadowOffsetY: h = 0 } = n;
|
|
34
|
-
e.beginPath(), e.moveTo(t[0].x, t[0].y);
|
|
35
|
-
for (let n = 1; n < t.length; n += 1) e.lineTo(t[n].x, t[n].y);
|
|
36
|
-
if (e.closePath(), e.strokeStyle = r, e.lineWidth = i, e.lineCap = a, e.lineJoin = o, s && (e.setLineDash(s), e.lineDashoffset = l), f && (e.shadowColor = f, e.shadowBlur = p, e.shadowOffsetX = m, e.shadowOffsetY = h), d) {
|
|
37
|
-
let t;
|
|
38
|
-
d.type === "linear" ? t = e.createLinearGradient(c(d.start.x, Number.MIN_VALUE), c(d.start.y, Number.MIN_VALUE), c(d.end.x, Number.MIN_VALUE * 2), c(d.end.y, Number.MIN_VALUE * 2)) : d.type === "radial" && (t = e.createRadialGradient(c(d.start.x, Number.MIN_VALUE), c(d.start.y, Number.MIN_VALUE), d.start.r || 0, c(d.end.x, Number.MIN_VALUE * 2), c(d.end.y, Number.MIN_VALUE * 2), d.end.r || 0)), t && d.stops && (d.stops.forEach((e) => {
|
|
39
|
-
t.addColorStop(e.offset, e.color);
|
|
40
|
-
}), e.fillStyle = t);
|
|
41
|
-
} else u && (e.fillStyle = u);
|
|
42
|
-
e.fillStyle && e.fill(), r && e.stroke(), e.restore();
|
|
43
|
-
}
|
|
44
|
-
function i(e, t, n, r, i = {}) {
|
|
45
|
-
e.save();
|
|
46
|
-
let { font: a = "16px sans-serif", color: o = "black", align: s = "start", baseline: c = "alphabetic", maxWidth: l = void 0, rotation: u = 0, shadowColor: d = null, shadowBlur: f = 0, shadowOffsetX: p = 0, shadowOffsetY: m = 0, strokeColor: h = null, lineWidth: g = 1, globalAlpha: _ = 1 } = i;
|
|
47
|
-
e.font = a, e.fillStyle = o, e.textAlign = s, e.textBaseline = c, e.globalAlpha = _, d && (e.shadowColor = d, e.shadowBlur = f, e.shadowOffsetX = p, e.shadowOffsetY = m), h && (e.strokeStyle = h, e.lineWidth = g), u !== 0 && (e.translate(n, r), e.rotate(Math.PI / 180 * u), e.translate(-n, -r)), e.fillText(t, n, r, l), h && e.strokeText(t, n, r, l), e.restore();
|
|
48
|
-
}
|
|
49
|
-
function a(e, t = 20) {
|
|
50
|
-
let n;
|
|
51
|
-
return function(...r) {
|
|
52
|
-
let i = this;
|
|
53
|
-
n || (e.apply(i, r), n = !0, setTimeout(() => n = !1, t));
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function o(e, t, n = !1) {
|
|
57
|
-
let r;
|
|
58
|
-
return function(...i) {
|
|
59
|
-
let a = this, o = function() {
|
|
60
|
-
r = null, n || e.apply(a, i);
|
|
61
|
-
}, s = n && !r;
|
|
62
|
-
clearTimeout(r), r = setTimeout(o, t), s && e.apply(a, i);
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
function s(e) {
|
|
66
|
-
let t = document.createElement("canvas");
|
|
67
|
-
return t.width = e.width || 1, t.height = e.height || 1, e.width ||= 1, e.height ||= 1, t.getContext("2d").drawImage(e, 0, 0), t;
|
|
68
|
-
}
|
|
69
|
-
function c(e, t) {
|
|
70
|
-
return [
|
|
71
|
-
null,
|
|
72
|
-
void 0,
|
|
73
|
-
NaN,
|
|
74
|
-
Infinity,
|
|
75
|
-
-Infinity
|
|
76
|
-
].includes(e) ? t : e;
|
|
77
|
-
}
|
|
78
|
-
//#endregion
|
|
79
|
-
//#region src/useResponsive.js
|
|
80
|
-
function l({ chart: e, title: t = null, slicer: n = null, legend: r = null, source: i = null, noTitle: a = null, padding: o = null }) {
|
|
81
|
-
let s = 0, c = 0, l = 0, u = 0, d = 0, f = 0, p = 0, m = 0, h = 0;
|
|
82
|
-
if (e) {
|
|
83
|
-
let { height: g, width: _ } = e.parentNode.getBoundingClientRect();
|
|
84
|
-
l = t ? t.getBoundingClientRect().height : 0, u = n ? n.getBoundingClientRect().height : 0, d = r ? r.getBoundingClientRect().height : 0, f = i ? i.getBoundingClientRect().height : 0, p = a ? a.getBoundingClientRect().height : 0, o ? (m = o.top + o.bottom, h = o.right + o.left) : (m = 0, h = 0), s = g - l - u - d - f - p - m, c = _ - h;
|
|
85
|
-
}
|
|
86
|
-
return {
|
|
87
|
-
width: c,
|
|
88
|
-
height: s,
|
|
89
|
-
heightTitle: l,
|
|
90
|
-
heightNoTitle: p,
|
|
91
|
-
heightSource: f,
|
|
92
|
-
heightNoTitle: p,
|
|
93
|
-
heightLegend: d
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
//#endregion
|
|
97
|
-
export { t as a, i as c, o as i, a as l, e as n, n as o, s as r, r as s, l as t };
|