vue-data-ui 3.27.0 → 3.27.1
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-C2W0uGrq.js +1 -0
- package/dist/BaseDraggableDialog-D_tuHEjO.js +1 -0
- package/dist/BaseIcon-DdIyewwY.js +1 -0
- package/dist/BaseLegendToggle-Bq5FjyuI.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-DoYifY2y.js +1 -0
- package/dist/ColorPicker-MLwiwxl5.js +1 -0
- package/dist/DataTable-WNecJMcY.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-CHg1AQ3p.js +1 -0
- package/dist/Legend-D8YoT1RJ.js +1 -0
- package/dist/NonSvgPenAndPaper-CqtJpZKh.js +1 -0
- package/dist/PackageVersion-CdkxOy58.js +1 -0
- package/dist/PenAndPaper-IMw576MC.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-Bp9YNtPc.js +1 -0
- package/dist/SlicerPreview-CNUciSbY.js +1 -0
- package/dist/SparkTooltip-C5JMcBXT.js +1 -0
- package/dist/Title-BGYFqulv.js +1 -0
- package/dist/Tooltip-Cus2-XNQ.js +1 -0
- package/dist/UserOptions-DTxMeZv3.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-CIvU_04o.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-D8t3Bm7s.js +3 -0
- package/dist/exposedLib-DHtyEc_G.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-DiT4ivZ5.js +1 -0
- package/dist/labelUtils-CG3uVXoZ.js +1 -0
- package/dist/lib-CV_IANZ6.js +12 -0
- package/dist/package-DE5cU1Rg.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-BQSB1V3H.js +1 -0
- package/dist/render-common-BdZ5aRyn.js +1 -0
- package/dist/resolveChartConfig-DZg-korK.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-CB186vF2.js +1 -0
- package/dist/useObjectBindings-Dse7YyAf.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-hLW3cv4N.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-DyYgLIZN.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-BZAoyWkc.js +19 -0
- package/dist/vue-ui-accordion-BNvevckx.js +1 -0
- package/dist/vue-ui-age-pyramid-DkA6vpU3.js +1 -0
- package/dist/vue-ui-annotator-DuQME4Hh.js +331 -0
- package/dist/vue-ui-bullet-BVs8JX8S.js +34 -0
- package/dist/vue-ui-bump-DYdm3EvF.js +10 -0
- package/dist/vue-ui-candlestick-DZgxl4mW.js +22 -0
- package/dist/vue-ui-carousel-table-BB7DsTUt.js +1 -0
- package/dist/vue-ui-chestnut-Bo1h5rBt.js +1 -0
- package/dist/vue-ui-chord-B6_veyvO.js +21 -0
- package/dist/vue-ui-circle-pack-Bm7e2YNh.js +13 -0
- package/dist/vue-ui-cursor-TidZDuSh.js +1 -0
- package/dist/vue-ui-dag-BiN_AnLo.js +9 -0
- package/dist/vue-ui-dashboard-zepAVN_W.js +1 -0
- package/dist/vue-ui-digits-CXKKmfGj.js +42 -0
- package/dist/vue-ui-donut-CKkBtyPK.js +22 -0
- package/dist/vue-ui-donut-DLDUpjDU.js +47 -0
- package/dist/vue-ui-donut-evolution-BxMTdE5G.js +2 -0
- package/dist/vue-ui-dumbbell-C8rNwdz0.js +9 -0
- package/dist/vue-ui-flow-Dru76A2O.js +3 -0
- package/dist/vue-ui-funnel-D_u1h5S9.js +1 -0
- package/dist/vue-ui-galaxy-sBEH18Xj.js +1 -0
- package/dist/vue-ui-gauge-Do3RN8ne.js +1 -0
- package/dist/vue-ui-geo-DDbtx_iJ.js +1 -0
- package/dist/vue-ui-gizmo-eic6xLjB.js +1 -0
- package/dist/vue-ui-heatmap-DlmJRsM8.js +1 -0
- package/dist/vue-ui-hill-C5oiuIXh.js +1 -0
- package/dist/vue-ui-history-plot-BJjnkWcT.js +2 -0
- package/dist/vue-ui-horizontal-bar-BRDBJEl1.js +4 -0
- package/dist/vue-ui-kpi-C-eed3jO.js +1 -0
- package/dist/vue-ui-label-B4pkXBxc.js +7 -0
- package/dist/vue-ui-mini-loader-CElmv_iF.js +1 -0
- package/dist/vue-ui-molecule-BeyQWZU9.js +1 -0
- package/dist/vue-ui-mood-radar-Bh0kHfiZ.js +1 -0
- package/dist/vue-ui-nested-donuts-FlnJfDaF.js +19 -0
- package/dist/vue-ui-onion-BjhSpjtW.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.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-BaKSTJDv.js +2 -0
- package/dist/vue-ui-quick-chart-Nc2mVlle.js +17 -0
- package/dist/vue-ui-radar-BzUfkLlC.js +1 -0
- package/dist/vue-ui-rating-BwWXvbAg.js +1 -0
- package/dist/vue-ui-relation-circle-nAZEg-BL.js +1 -0
- package/dist/vue-ui-ridgeline-DxLZg1E2.js +2 -0
- package/dist/vue-ui-rings-BOti0NGb.js +1 -0
- package/dist/vue-ui-scatter-CCNMggyo.js +9 -0
- package/dist/vue-ui-skeleton-DI7pcimU.js +41 -0
- package/dist/vue-ui-smiley-D70sJZWl.js +1 -0
- package/dist/vue-ui-spark-trend-BVtfEalS.js +1 -0
- package/dist/vue-ui-sparkbar-CdsLI7Ke.js +1 -0
- package/dist/vue-ui-sparkgauge-wmj5Wnnp.js +1 -0
- package/dist/vue-ui-sparkhistogram-D8S_P_P4.js +1 -0
- package/dist/vue-ui-sparkline-BjsJnS_9.js +1 -0
- package/dist/vue-ui-sparkstackbar-ZN8LXzoV.js +1 -0
- package/dist/vue-ui-stackbar-Dx_EN3pT.js +29 -0
- package/dist/vue-ui-stackline-DW-oxJvA.js +39 -0
- package/dist/vue-ui-strip-plot-D7kjJ3Qh.js +2 -0
- package/dist/vue-ui-table-CaFVLHxE.js +14 -0
- package/dist/vue-ui-table-heatmap-Ctf7Rhqo.js +1 -0
- package/dist/vue-ui-table-sparkline-C0I0cXBS.js +1 -0
- package/dist/vue-ui-thermometer-B6og15Al.js +1 -0
- package/dist/vue-ui-timer-DgXvO2Q7.js +64 -0
- package/dist/vue-ui-tiremarks-Dh6fZ454.js +1 -0
- package/dist/vue-ui-treemap-7JuvN6P_.js +1 -0
- package/dist/vue-ui-waffle-BqvGzfse.js +1 -0
- package/dist/vue-ui-wheel-SdwJqKA7.js +1 -0
- package/dist/vue-ui-word-cloud-1WVV_k12.js +4 -0
- package/dist/vue-ui-world-DjMy_utm.js +19 -0
- package/dist/vue-ui-xy-DaozHMfg.js +31 -0
- package/dist/vue-ui-xy-canvas-CegvS9RR.js +9 -0
- package/dist/vue-ui-xy-rGHSI1am.js +24 -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-CVoh3twl.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-BRfcRW6Z.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,77 +0,0 @@
|
|
|
1
|
-
import { nextTick as e, onBeforeUnmount as t, ref as n } from "vue";
|
|
2
|
-
//#region src/useStableElementSize.js
|
|
3
|
-
function r(e, t) {
|
|
4
|
-
return Number.isFinite(e) && Number.isFinite(t);
|
|
5
|
-
}
|
|
6
|
-
function i(e, t) {
|
|
7
|
-
return e.width === t.width && e.height === t.height;
|
|
8
|
-
}
|
|
9
|
-
function a({ elementRef: a, minimumWidth: o = 2, minimumHeight: s = 2, stableFramesRequired: c = 2, once: l = !1, onSizeAccepted: u }) {
|
|
10
|
-
let d = n(0), f = n(0), p = n(!1), m = null, h = 0, g = {
|
|
11
|
-
width: 0,
|
|
12
|
-
height: 0
|
|
13
|
-
}, _ = 0, v = !1;
|
|
14
|
-
function y() {
|
|
15
|
-
h &&= (cancelAnimationFrame(h), 0);
|
|
16
|
-
}
|
|
17
|
-
function b(e, t) {
|
|
18
|
-
return !(!r(e, t) || e < o || t < s);
|
|
19
|
-
}
|
|
20
|
-
function x() {
|
|
21
|
-
y(), m &&= (m.disconnect(), null);
|
|
22
|
-
}
|
|
23
|
-
function S(e, t) {
|
|
24
|
-
d.value = e, f.value = t, p.value = !0, typeof u == "function" && u({
|
|
25
|
-
width: e,
|
|
26
|
-
height: t
|
|
27
|
-
}), v = !0, l && x();
|
|
28
|
-
}
|
|
29
|
-
function C(e, t) {
|
|
30
|
-
if (l && v) return;
|
|
31
|
-
if (!b(e, t)) {
|
|
32
|
-
p.value = !1, _ = 0, g = {
|
|
33
|
-
width: 0,
|
|
34
|
-
height: 0
|
|
35
|
-
};
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
let n = {
|
|
39
|
-
width: e,
|
|
40
|
-
height: t
|
|
41
|
-
};
|
|
42
|
-
i(n, g) ? _ += 1 : (_ = 1, g = n), _ >= c && S(e, t);
|
|
43
|
-
}
|
|
44
|
-
function w() {
|
|
45
|
-
let e = a.value;
|
|
46
|
-
if (!e) {
|
|
47
|
-
p.value = !1;
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
let t = e.getBoundingClientRect();
|
|
51
|
-
C(Math.round(t.width), Math.round(t.height));
|
|
52
|
-
}
|
|
53
|
-
function T(e = 2) {
|
|
54
|
-
y();
|
|
55
|
-
let t = e, n = () => {
|
|
56
|
-
w(), --t, h = t > 0 ? requestAnimationFrame(n) : 0;
|
|
57
|
-
};
|
|
58
|
-
h = requestAnimationFrame(n);
|
|
59
|
-
}
|
|
60
|
-
async function E() {
|
|
61
|
-
await e(), T(2);
|
|
62
|
-
let t = a.value;
|
|
63
|
-
t && (m &&= (m.disconnect(), null), m = new ResizeObserver(() => {
|
|
64
|
-
l && v || (p.value = !1, _ = 0, T(2));
|
|
65
|
-
}), m.observe(t));
|
|
66
|
-
}
|
|
67
|
-
return t(x), {
|
|
68
|
-
width: d,
|
|
69
|
-
height: f,
|
|
70
|
-
isStable: p,
|
|
71
|
-
start: E,
|
|
72
|
-
stop: x,
|
|
73
|
-
measureOnce: w
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
//#endregion
|
|
77
|
-
export { a as t };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { nextTick as e, onBeforeUnmount as t, ref as n, watch as r } from "vue";
|
|
2
|
-
//#region src/useTableResponsive.js
|
|
3
|
-
function i(i, a) {
|
|
4
|
-
let o = n(!1), s = null;
|
|
5
|
-
function c() {
|
|
6
|
-
s &&= (s.disconnect(), null);
|
|
7
|
-
}
|
|
8
|
-
async function l() {
|
|
9
|
-
c(), await e();
|
|
10
|
-
let t = i.value;
|
|
11
|
-
t && (s = new ResizeObserver((e) => {
|
|
12
|
-
let t = e[0].contentRect.width;
|
|
13
|
-
o.value = t < a.value;
|
|
14
|
-
}), s.observe(t));
|
|
15
|
-
}
|
|
16
|
-
return r([i, a], () => {
|
|
17
|
-
l();
|
|
18
|
-
}, { immediate: !0 }), t(c), {
|
|
19
|
-
isResponsive: o,
|
|
20
|
-
start: l,
|
|
21
|
-
stop: c
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
export { i as t };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { computed as e } from "vue";
|
|
2
|
-
//#region src/useThemeCheck.js
|
|
3
|
-
function t() {
|
|
4
|
-
let t = e(() => (e) => !e || !e.theme ? !1 : [
|
|
5
|
-
"default",
|
|
6
|
-
"dark",
|
|
7
|
-
"celebration",
|
|
8
|
-
"celebrationNight",
|
|
9
|
-
"hack",
|
|
10
|
-
"zen",
|
|
11
|
-
"concrete",
|
|
12
|
-
"minimal",
|
|
13
|
-
"minimalDark"
|
|
14
|
-
].includes(e.theme));
|
|
15
|
-
function n(e) {
|
|
16
|
-
e?.debug && console.warn(`Vue Data UI - "${e?.theme}" is not a valid theme.\n\nAvailable themes:\n\n- default (or "")\n- dark\n- celebration\n- celebrationNight \n- hack\n- zen\n- concrete`);
|
|
17
|
-
}
|
|
18
|
-
return {
|
|
19
|
-
isThemeValid: t,
|
|
20
|
-
warnInvalidTheme: n
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { t };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { nextTick as e, watch as t } from "vue";
|
|
2
|
-
//#region src/useTimeLabelCollider.js
|
|
3
|
-
function n({ timeLabelsEls: n, timeLabels: r, slicer: i, configRef: a, rotationPath: o, autoRotatePath: s, isAutoSize: c, setViewBox: l, forceResizeObserver: u, callback: d, targetClass: f = ".vue-data-ui-time-label", rotation: p = -30.0001, height: m = null, width: h = null }) {
|
|
4
|
-
function g(e, t) {
|
|
5
|
-
return t.reduce((e, t) => e && e[t], e);
|
|
6
|
-
}
|
|
7
|
-
function _(e, t, n) {
|
|
8
|
-
t.slice(0, -1).reduce((e, t) => e[t], e)[t.slice(-1)] = n;
|
|
9
|
-
}
|
|
10
|
-
function v(e) {
|
|
11
|
-
let t = /translate\(\s*([^\s,]+)\s*,\s*([^\s,]+)\s*\)/.exec(e);
|
|
12
|
-
return t ? {
|
|
13
|
-
x: parseFloat(t[1]),
|
|
14
|
-
y: parseFloat(t[2])
|
|
15
|
-
} : {
|
|
16
|
-
x: 0,
|
|
17
|
-
y: 0
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
async function y() {
|
|
21
|
-
await e();
|
|
22
|
-
let t = n.value;
|
|
23
|
-
if (!t) return;
|
|
24
|
-
let r = Array.from(t.querySelectorAll(f)).map((e) => ({
|
|
25
|
-
...v(e.getAttribute("transform")),
|
|
26
|
-
width: e.getBBox().width
|
|
27
|
-
})), i = !1;
|
|
28
|
-
for (let e = 0; e < r.length && !i; e += 1) for (let t = e + 1; t < r.length; t += 1) {
|
|
29
|
-
let n = r[e], a = r[t];
|
|
30
|
-
if (!(n.x + n.width + 4 < a.x || a.x + a.width + 4 < n.x)) {
|
|
31
|
-
i = !0;
|
|
32
|
-
break;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
let s = g(a.value, o);
|
|
36
|
-
i && !s ? (_(a.value, o, p), d && d({ collision: i }), c.value && l && u && (l(), u())) : !i && s === p && (_(a.value, o, 0), d && d({ collision: i }));
|
|
37
|
-
}
|
|
38
|
-
function b(e, t) {
|
|
39
|
-
let n;
|
|
40
|
-
return (...r) => {
|
|
41
|
-
clearTimeout(n), n = setTimeout(() => e(...r), t);
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
let x = b(y, 200);
|
|
45
|
-
return m && h && t([() => h.value, () => m.value], async ([e, t], [n, r]) => {
|
|
46
|
-
g(a.value, s) && (e !== n || t !== r ? x() : await y());
|
|
47
|
-
}), t([
|
|
48
|
-
() => r.value,
|
|
49
|
-
() => g(a.value, o),
|
|
50
|
-
() => i.value.start,
|
|
51
|
-
() => i.value.end
|
|
52
|
-
], async ([, , e, t], [, , n, r]) => {
|
|
53
|
-
g(a.value, s) && (e !== n || t !== r ? x() : await y());
|
|
54
|
-
}, { immediate: !0 }), { detectTimeLabelCollision: y };
|
|
55
|
-
}
|
|
56
|
-
//#endregion
|
|
57
|
-
export { n as t };
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
//#region src/useLocale.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
return String(e || "").toLowerCase();
|
|
4
|
-
}
|
|
5
|
-
function t(e) {
|
|
6
|
-
let t = (t, n, r) => {
|
|
7
|
-
let i = new Intl.DateTimeFormat(e, { [n]: r });
|
|
8
|
-
return Array.from({ length: t }, (e, t) => {
|
|
9
|
-
let r = n === "month" ? new Date(2025, t, 1) : new Date(2025, 0, 5 + t);
|
|
10
|
-
return i.format(r);
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
return {
|
|
14
|
-
months: t(12, "month", "long"),
|
|
15
|
-
shortMonths: t(12, "month", "short"),
|
|
16
|
-
days: t(7, "weekday", "long"),
|
|
17
|
-
shortDays: t(7, "weekday", "short")
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
var n = /* @__PURE__ */ new Map();
|
|
21
|
-
async function r(r) {
|
|
22
|
-
let i = e(r) || "en";
|
|
23
|
-
return n.has(i) || n.set(i, t(i)), {
|
|
24
|
-
key: i,
|
|
25
|
-
data: n.get(i)
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region src/useDateTime.js
|
|
30
|
-
function i({ useUTC: e = !1, min: t = void 0, max: n = void 0, locale: r = {
|
|
31
|
-
months: [],
|
|
32
|
-
shortMonths: [],
|
|
33
|
-
days: [],
|
|
34
|
-
shortDays: []
|
|
35
|
-
}, januaryAsYear: i = !1 }) {
|
|
36
|
-
let a = [
|
|
37
|
-
2,
|
|
38
|
-
4,
|
|
39
|
-
6,
|
|
40
|
-
9,
|
|
41
|
-
11
|
|
42
|
-
], o = [
|
|
43
|
-
0,
|
|
44
|
-
31,
|
|
45
|
-
59,
|
|
46
|
-
90,
|
|
47
|
-
120,
|
|
48
|
-
151,
|
|
49
|
-
181,
|
|
50
|
-
212,
|
|
51
|
-
243,
|
|
52
|
-
273,
|
|
53
|
-
304,
|
|
54
|
-
334
|
|
55
|
-
];
|
|
56
|
-
function s(e) {
|
|
57
|
-
return e % 12;
|
|
58
|
-
}
|
|
59
|
-
function c(e) {
|
|
60
|
-
return typeof e == "number" || !isNaN(d(e));
|
|
61
|
-
}
|
|
62
|
-
function l(t) {
|
|
63
|
-
let n = Date.parse(t);
|
|
64
|
-
if (isNaN(n)) return t;
|
|
65
|
-
if (!e) return n;
|
|
66
|
-
let r = String(t).replace(/([+-]\d{2}:\d{2}|Z)$/, "");
|
|
67
|
-
return Date.parse(r + "Z");
|
|
68
|
-
}
|
|
69
|
-
function u(e) {
|
|
70
|
-
return new Date(e);
|
|
71
|
-
}
|
|
72
|
-
function d(e) {
|
|
73
|
-
return l(isNaN(Date.parse(e)) ? Date.parse(e.replace(/-/g, "/").replace(/[a-z]+/gi, " ")) : e);
|
|
74
|
-
}
|
|
75
|
-
function f(e) {
|
|
76
|
-
return Date.parse(e.replace(/-/g, "/").replace(/[a-z]+/gi, " "));
|
|
77
|
-
}
|
|
78
|
-
function p(t, n) {
|
|
79
|
-
let a = e, o = RegExp(`\\\\(${(/* @__PURE__ */ "yyyy.yy.y.MMMM.MMM.MM.M.dddd.ddd.dd.d.HH.H.hh.h.mm.m.ss.s.fff.ff.f.TT.T.tt.t.K".split(".")).join("|")})`, "g"), s = [];
|
|
80
|
-
n = n.replace(o, (e, t) => (s.push(t), `{{${s.length - 1}}}`));
|
|
81
|
-
let c = ["\0", ...r.months], l = ["", ...r.shortMonths], u = ["", ...r.days], d = ["", ...r.shortDays];
|
|
82
|
-
function f(e, t = 2) {
|
|
83
|
-
let n = String(e);
|
|
84
|
-
for (; n.length < t;) n = "0" + n;
|
|
85
|
-
return n;
|
|
86
|
-
}
|
|
87
|
-
let p = a ? t.getUTCFullYear() : t.getFullYear();
|
|
88
|
-
n = n.replace(/(^|[^\\])yyyy+/g, `$1${p}`).replace(/(^|[^\\])yy/g, `$1${String(p).substr(2, 2)}`).replace(/(^|[^\\])y/g, `$1${p}`);
|
|
89
|
-
let m = (a ? t.getUTCMonth() : t.getMonth()) + 1;
|
|
90
|
-
i && m === 1 && (c[1] = String(p), l[1] = String(p)), n = n.replace(/(^|[^\\])MMMM+/g, `$1${c[0]}`).replace(/(^|[^\\])MMM/g, `$1${l[0]}`).replace(/(^|[^\\])MM/g, `$1${f(m)}`).replace(/(^|[^\\])M/g, `$1${m}`);
|
|
91
|
-
let h = a ? t.getUTCDate() : t.getDate();
|
|
92
|
-
n = n.replace(/(^|[^\\])dddd+/g, `$1${u[0]}`).replace(/(^|[^\\])ddd/g, `$1${d[0]}`).replace(/(^|[^\\])dd/g, `$1${f(h)}`).replace(/(^|[^\\])d/g, `$1${h}`);
|
|
93
|
-
let g = a ? t.getUTCHours() : t.getHours();
|
|
94
|
-
n = n.replace(/(^|[^\\])HH+/g, `$1${f(g)}`).replace(/(^|[^\\])H/g, `$1${g}`);
|
|
95
|
-
let _ = g > 12 ? g - 12 : g === 0 ? 12 : g;
|
|
96
|
-
n = n.replace(/(^|[^\\])hh+/g, `$1${f(_)}`).replace(/(^|[^\\])h/g, `$1${_}`);
|
|
97
|
-
let v = a ? t.getUTCMinutes() : t.getMinutes();
|
|
98
|
-
n = n.replace(/(^|[^\\])mm+/g, `$1${f(v)}`).replace(/(^|[^\\])m/g, `$1${v}`);
|
|
99
|
-
let y = a ? t.getUTCSeconds() : t.getSeconds();
|
|
100
|
-
n = n.replace(/(^|[^\\])ss+/g, `$1${f(y)}`).replace(/(^|[^\\])s/g, `$1${y}`);
|
|
101
|
-
let b = a ? t.getUTCMilliseconds() : t.getMilliseconds();
|
|
102
|
-
n = n.replace(/(^|[^\\])fff+/g, `$1${f(b, 3)}`), b = Math.round(b / 10), n = n.replace(/(^|[^\\])ff/g, `$1${f(b)}`), b = Math.round(b / 10), n = n.replace(/(^|[^\\])f/g, `$1${b}`);
|
|
103
|
-
let x = g < 12 ? "AM" : "PM";
|
|
104
|
-
n = n.replace(/(^|[^\\])TT+/g, `$1${x}`).replace(/(^|[^\\])T/g, `$1${x.charAt(0)}`).replace(/(^|[^\\])tt+/g, `$1${x.toLowerCase()}`).replace(/(^|[^\\])t/g, `$1${x.toLowerCase().charAt(0)}`);
|
|
105
|
-
let S = -t.getTimezoneOffset(), C = a || !S ? "Z" : S > 0 ? "+" : "-";
|
|
106
|
-
if (!a) {
|
|
107
|
-
S = Math.abs(S);
|
|
108
|
-
let e = Math.floor(S / 60), t = S % 60;
|
|
109
|
-
C += f(e) + ":" + f(t);
|
|
110
|
-
}
|
|
111
|
-
n = n.replace(/(^|[^\\])K/g, `$1${C}`);
|
|
112
|
-
let w = (a ? t.getUTCDay() : t.getDay()) + 1;
|
|
113
|
-
return n = n.replace(new RegExp(u[0], "g"), u[w]).replace(new RegExp(d[0], "g"), d[w]).replace(new RegExp(c[0], "g"), c[m]).replace(new RegExp(l[0], "g"), l[m]), n = n.replace(/{{(\d+)}}/g, (e, t) => s[+t]), n;
|
|
114
|
-
}
|
|
115
|
-
function m(e, r) {
|
|
116
|
-
t !== void 0 && (e = t), n !== void 0 && (r = n);
|
|
117
|
-
let i = u(e), a = u(r), o = p(i, "yyyy MM dd HH mm ss fff").split(" "), s = p(a, "yyyy MM dd HH mm ss fff").split(" ");
|
|
118
|
-
return {
|
|
119
|
-
minMillisecond: parseInt(o[6], 10),
|
|
120
|
-
maxMillisecond: parseInt(s[6], 10),
|
|
121
|
-
minSecond: parseInt(o[5], 10),
|
|
122
|
-
maxSecond: parseInt(s[5], 10),
|
|
123
|
-
minMinute: parseInt(o[4], 10),
|
|
124
|
-
maxMinute: parseInt(s[4], 10),
|
|
125
|
-
minHour: parseInt(o[3], 10),
|
|
126
|
-
maxHour: parseInt(s[3], 10),
|
|
127
|
-
minDate: parseInt(o[2], 10),
|
|
128
|
-
maxDate: parseInt(s[2], 10),
|
|
129
|
-
minMonth: parseInt(o[1], 10) - 1,
|
|
130
|
-
maxMonth: parseInt(s[1], 10) - 1,
|
|
131
|
-
minYear: parseInt(o[0], 10),
|
|
132
|
-
maxYear: parseInt(s[0], 10)
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
function h(e) {
|
|
136
|
-
return e % 4 == 0 && e % 100 != 0 || e % 400 == 0;
|
|
137
|
-
}
|
|
138
|
-
function g(e, t, n) {
|
|
139
|
-
return y(e, t) - n;
|
|
140
|
-
}
|
|
141
|
-
function _(e) {
|
|
142
|
-
return h(e) ? 366 : 365;
|
|
143
|
-
}
|
|
144
|
-
function v(e, t, n) {
|
|
145
|
-
let r = o[t] + n;
|
|
146
|
-
return t > 1 && h(e) && (r += 1), r;
|
|
147
|
-
}
|
|
148
|
-
function y(e, t) {
|
|
149
|
-
return e = s(e), a.includes(e) ? e === 2 ? h(t) ? 29 : 28 : 30 : 31;
|
|
150
|
-
}
|
|
151
|
-
return {
|
|
152
|
-
isValidDate: c,
|
|
153
|
-
getTimeStamp: l,
|
|
154
|
-
getDate: u,
|
|
155
|
-
parseDate: d,
|
|
156
|
-
parseDateWithTimezone: f,
|
|
157
|
-
formatDate: p,
|
|
158
|
-
getTimeUnitsfromTimestamp: m,
|
|
159
|
-
isLeapYear: h,
|
|
160
|
-
calculateLastDaysOfMonth: g,
|
|
161
|
-
determineDaysOfYear: _,
|
|
162
|
-
determineRemainingDaysOfYear: v,
|
|
163
|
-
determineDaysOfMonths: y
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
//#endregion
|
|
167
|
-
//#region src/useTimeLabels.js
|
|
168
|
-
var a = 86400;
|
|
169
|
-
async function o({ values: e, maxDatapoints: t, formatter: n, start: o, end: s }) {
|
|
170
|
-
let c = [];
|
|
171
|
-
if (!n.enable || e.length === 0) {
|
|
172
|
-
for (let t = o; t < s; t += 1) c.push({
|
|
173
|
-
text: String(e[t] ?? t),
|
|
174
|
-
absoluteIndex: t
|
|
175
|
-
});
|
|
176
|
-
return c;
|
|
177
|
-
}
|
|
178
|
-
let l = e.map((e) => {
|
|
179
|
-
let t = new Date(e).getTime();
|
|
180
|
-
return isNaN(t) ? e : t;
|
|
181
|
-
}).slice(o, s);
|
|
182
|
-
if (l.length === 0) return [];
|
|
183
|
-
let u = l[0], d = l[l.length - 1], f;
|
|
184
|
-
try {
|
|
185
|
-
({data: f} = await r(n.locale));
|
|
186
|
-
} catch {
|
|
187
|
-
({data: f} = await r("en"));
|
|
188
|
-
}
|
|
189
|
-
let p = i({
|
|
190
|
-
useUTC: n.useUTC,
|
|
191
|
-
min: u,
|
|
192
|
-
max: d,
|
|
193
|
-
locale: f,
|
|
194
|
-
januaryAsYear: n.januaryAsYear
|
|
195
|
-
}), m = (d - u) / (1e3 * a), h = m * 24, g = h * 60, _ = g * 60, v;
|
|
196
|
-
switch (!0) {
|
|
197
|
-
case m / 365 > 5:
|
|
198
|
-
v = "years";
|
|
199
|
-
break;
|
|
200
|
-
case m > 800:
|
|
201
|
-
v = "half_year";
|
|
202
|
-
break;
|
|
203
|
-
case m > 180:
|
|
204
|
-
v = "months";
|
|
205
|
-
break;
|
|
206
|
-
case m > 90:
|
|
207
|
-
v = "months_fortnight";
|
|
208
|
-
break;
|
|
209
|
-
case m > 60:
|
|
210
|
-
v = "months_days";
|
|
211
|
-
break;
|
|
212
|
-
case m > 30:
|
|
213
|
-
v = "week_days";
|
|
214
|
-
break;
|
|
215
|
-
case m > 2:
|
|
216
|
-
v = "days";
|
|
217
|
-
break;
|
|
218
|
-
case h > 2.4:
|
|
219
|
-
v = "hours";
|
|
220
|
-
break;
|
|
221
|
-
case g > 15:
|
|
222
|
-
v = "minutes_fives";
|
|
223
|
-
break;
|
|
224
|
-
case g > 5:
|
|
225
|
-
v = "minutes";
|
|
226
|
-
break;
|
|
227
|
-
case g > 1:
|
|
228
|
-
v = "seconds_tens";
|
|
229
|
-
break;
|
|
230
|
-
case _ > 20:
|
|
231
|
-
v = "seconds_fives";
|
|
232
|
-
break;
|
|
233
|
-
default: v = "seconds";
|
|
234
|
-
}
|
|
235
|
-
let y;
|
|
236
|
-
y = v === "years" ? "year" : [
|
|
237
|
-
"half_year",
|
|
238
|
-
"months",
|
|
239
|
-
"months_fortnight",
|
|
240
|
-
"months_days",
|
|
241
|
-
"week_days"
|
|
242
|
-
].includes(v) ? "month" : v === "days" ? "day" : v === "hours" ? "hour" : ["minutes_fives", "minutes"].includes(v) ? "minute" : "second";
|
|
243
|
-
let b = n.options[y] ?? n.options.hour, x = n.options.year, S = n.options.month, C = n.options.day;
|
|
244
|
-
return l.forEach((e, t) => {
|
|
245
|
-
let r = new Date(e), i;
|
|
246
|
-
switch (y) {
|
|
247
|
-
case "year":
|
|
248
|
-
i = p.formatDate(r, x);
|
|
249
|
-
break;
|
|
250
|
-
case "month": {
|
|
251
|
-
let e = n.useUTC ? r.getUTCMonth() : r.getMonth();
|
|
252
|
-
i = n.januaryAsYear && e === 0 ? p.formatDate(r, x) : p.formatDate(r, S);
|
|
253
|
-
break;
|
|
254
|
-
}
|
|
255
|
-
case "day":
|
|
256
|
-
i = p.formatDate(r, C);
|
|
257
|
-
break;
|
|
258
|
-
default: {
|
|
259
|
-
let e = n.useUTC ? r.getUTCHours() : r.getHours(), t = n.useUTC ? r.getUTCMinutes() : r.getMinutes();
|
|
260
|
-
i = e === 0 && t === 0 ? p.formatDate(r, C) : p.formatDate(r, b);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
c.push({
|
|
264
|
-
text: i,
|
|
265
|
-
absoluteIndex: o + t
|
|
266
|
-
});
|
|
267
|
-
}), c;
|
|
268
|
-
}
|
|
269
|
-
//#endregion
|
|
270
|
-
export { i as n, r, o as t };
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import { computed as e, getCurrentInstance as t, getCurrentScope as n, nextTick as r, onMounted as i, onScopeDispose as a, shallowRef as o, toValue as s, unref as c, watch as l } from "vue";
|
|
2
|
-
//#region src/useMouseInElement.js
|
|
3
|
-
var u = typeof window < "u" ? window : void 0;
|
|
4
|
-
function d(e) {
|
|
5
|
-
return Array.isArray(e) ? e : [e];
|
|
6
|
-
}
|
|
7
|
-
function f(e) {
|
|
8
|
-
return Object.prototype.toString.call(e) === "[object Object]";
|
|
9
|
-
}
|
|
10
|
-
function p(e) {
|
|
11
|
-
return e != null;
|
|
12
|
-
}
|
|
13
|
-
function m(e, n = !0, a) {
|
|
14
|
-
a ?? t() ? i(e, a) : n ? e() : r(e);
|
|
15
|
-
}
|
|
16
|
-
function h(e, t) {
|
|
17
|
-
return n() ? (a(e, t), !0) : !1;
|
|
18
|
-
}
|
|
19
|
-
function g(e) {
|
|
20
|
-
let t = s(e);
|
|
21
|
-
return t?.$el ?? t;
|
|
22
|
-
}
|
|
23
|
-
function _(t) {
|
|
24
|
-
let n = o(!1);
|
|
25
|
-
return m(() => {
|
|
26
|
-
n.value = !0;
|
|
27
|
-
}), e(() => (n.value, !!t()));
|
|
28
|
-
}
|
|
29
|
-
function v(...t) {
|
|
30
|
-
let n = (e, t, n, r) => (e.addEventListener(t, n, r), () => {
|
|
31
|
-
e.removeEventListener(t, n, r);
|
|
32
|
-
}), r = e(() => {
|
|
33
|
-
let e = d(s(t[0])).filter((e) => e != null);
|
|
34
|
-
return e.every((e) => typeof e != "string") ? e : void 0;
|
|
35
|
-
});
|
|
36
|
-
return l(() => {
|
|
37
|
-
let e = r.value;
|
|
38
|
-
return [
|
|
39
|
-
e?.map((e) => g(e)) ?? [u].filter((e) => e != null),
|
|
40
|
-
d(s(e ? t[1] : t[0])),
|
|
41
|
-
d(c(e ? t[2] : t[1])),
|
|
42
|
-
s(e ? t[3] : t[2])
|
|
43
|
-
];
|
|
44
|
-
}, ([e, t, r, i], a, o) => {
|
|
45
|
-
if (!e?.length || !t?.length || !r?.length) return;
|
|
46
|
-
let s = f(i) ? { ...i } : i, c = e.flatMap((e) => t.flatMap((t) => r.map((r) => n(e, t, r, s))));
|
|
47
|
-
o(() => {
|
|
48
|
-
c.forEach((e) => e());
|
|
49
|
-
});
|
|
50
|
-
}, {
|
|
51
|
-
immediate: !0,
|
|
52
|
-
flush: "post"
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function y(t, n, r = {}) {
|
|
56
|
-
let { window: i = u, ...a } = r, o, c = _(() => i && "ResizeObserver" in i), d = () => {
|
|
57
|
-
o &&= (o.disconnect(), void 0);
|
|
58
|
-
}, f = e(() => {
|
|
59
|
-
let e = s(t);
|
|
60
|
-
return Array.isArray(e) ? e.map((e) => g(e)) : [g(e)];
|
|
61
|
-
}), p = l(f, (e) => {
|
|
62
|
-
if (d(), c.value && i) {
|
|
63
|
-
o = new i.ResizeObserver(n);
|
|
64
|
-
for (let t of e) t && o.observe(t, a);
|
|
65
|
-
}
|
|
66
|
-
}, {
|
|
67
|
-
immediate: !0,
|
|
68
|
-
flush: "post"
|
|
69
|
-
}), m = () => {
|
|
70
|
-
d(), p();
|
|
71
|
-
};
|
|
72
|
-
return h(m), {
|
|
73
|
-
isSupported: c,
|
|
74
|
-
stop: m
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function b(t, n, r = {}) {
|
|
78
|
-
let { window: i = u, ...a } = r, o, c = _(() => i && "MutationObserver" in i), f = () => {
|
|
79
|
-
o &&= (o.disconnect(), void 0);
|
|
80
|
-
}, m = e(() => {
|
|
81
|
-
let e = d(s(t)).map((e) => g(e)).filter(p);
|
|
82
|
-
return new Set(e);
|
|
83
|
-
}), v = l(m, (e) => {
|
|
84
|
-
f(), c.value && e.size && (o = new i.MutationObserver(n), e.forEach((e) => {
|
|
85
|
-
o.observe(e, a);
|
|
86
|
-
}));
|
|
87
|
-
}, {
|
|
88
|
-
immediate: !0,
|
|
89
|
-
flush: "post"
|
|
90
|
-
}), y = () => o?.takeRecords(), b = () => {
|
|
91
|
-
v(), f();
|
|
92
|
-
};
|
|
93
|
-
return h(b), {
|
|
94
|
-
isSupported: c,
|
|
95
|
-
stop: b,
|
|
96
|
-
takeRecords: y
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
var x = {
|
|
100
|
-
page: (e) => [e.pageX, e.pageY],
|
|
101
|
-
client: (e) => [e.clientX, e.clientY],
|
|
102
|
-
screen: (e) => [e.screenX, e.screenY],
|
|
103
|
-
movement: (e) => typeof MouseEvent < "u" && e instanceof MouseEvent ? [e.movementX, e.movementY] : null
|
|
104
|
-
};
|
|
105
|
-
function S(e = {}) {
|
|
106
|
-
let { type: t = "page", touch: n = !0, resetOnTouchEnds: r = !1, initialValue: i = {
|
|
107
|
-
x: 0,
|
|
108
|
-
y: 0
|
|
109
|
-
}, window: a = u, target: s = a, scroll: c = !0, eventFilter: l } = e, d = null, f = 0, p = 0, m = o(i.x), h = o(i.y), g = o(null), _ = typeof t == "function" ? t : x[t], y = (e) => {
|
|
110
|
-
let t = _(e);
|
|
111
|
-
d = e, t && ([m.value, h.value] = t, g.value = "mouse"), a && (f = a.scrollX, p = a.scrollY);
|
|
112
|
-
}, b = (e) => {
|
|
113
|
-
if (e.touches.length > 0) {
|
|
114
|
-
let t = _(e.touches[0]);
|
|
115
|
-
t && ([m.value, h.value] = t, g.value = "touch");
|
|
116
|
-
}
|
|
117
|
-
}, S = () => {
|
|
118
|
-
if (!d || !a) return;
|
|
119
|
-
let e = _(d);
|
|
120
|
-
typeof MouseEvent < "u" && d instanceof MouseEvent && e && (m.value = e[0] + a.scrollX - f, h.value = e[1] + a.scrollY - p);
|
|
121
|
-
}, C = () => {
|
|
122
|
-
m.value = i.x, h.value = i.y;
|
|
123
|
-
}, w = l ? (e) => l(() => y(e), {}) : (e) => y(e), T = l ? (e) => l(() => b(e), {}) : (e) => b(e), E = l ? () => l(() => S(), {}) : () => S();
|
|
124
|
-
if (s) {
|
|
125
|
-
let e = { passive: !0 };
|
|
126
|
-
v(s, ["mousemove", "dragover"], w, e), n && t !== "movement" && (v(s, ["touchstart", "touchmove"], T, e), r && v(s, "touchend", C, e)), c && t === "page" && v(a, "scroll", E, e);
|
|
127
|
-
}
|
|
128
|
-
return {
|
|
129
|
-
x: m,
|
|
130
|
-
y: h,
|
|
131
|
-
sourceType: g
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
function C(e, t = {}) {
|
|
135
|
-
let { windowResize: n = !0, windowScroll: r = !0, handleOutside: i = !0, window: a = u } = t, s = t.type || "page", { x: c, y: d, sourceType: f } = S(t), p = o(e ?? a?.document.body), h = o(0), _ = o(0), x = o(0), C = o(0), w = o(0), T = o(0), E = o(!0);
|
|
136
|
-
function D() {
|
|
137
|
-
if (!a) return;
|
|
138
|
-
let e = g(p);
|
|
139
|
-
if (e && e instanceof Element) for (let t of e.getClientRects()) {
|
|
140
|
-
let { left: e, top: n, width: r, height: o } = t;
|
|
141
|
-
x.value = e + (s === "page" ? a.pageXOffset : 0), C.value = n + (s === "page" ? a.pageYOffset : 0), w.value = o, T.value = r;
|
|
142
|
-
let l = c.value - x.value, u = d.value - C.value;
|
|
143
|
-
if (E.value = r === 0 || o === 0 || l < 0 || u < 0 || l > r || u > o, (i || !E.value) && (h.value = l, _.value = u), !E.value) break;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
let O = [];
|
|
147
|
-
function k() {
|
|
148
|
-
O.forEach((e) => e()), O.length = 0;
|
|
149
|
-
}
|
|
150
|
-
if (m(() => {
|
|
151
|
-
D();
|
|
152
|
-
}), a) {
|
|
153
|
-
let { stop: e } = y(p, D), { stop: t } = b(p, D, { attributeFilter: ["style", "class"] }), i = l([
|
|
154
|
-
p,
|
|
155
|
-
c,
|
|
156
|
-
d
|
|
157
|
-
], D);
|
|
158
|
-
O.push(e, t, i), v(document, "mouseleave", () => {
|
|
159
|
-
E.value = !0;
|
|
160
|
-
}, { passive: !0 }), r && O.push(v("scroll", D, {
|
|
161
|
-
capture: !0,
|
|
162
|
-
passive: !0
|
|
163
|
-
})), n && O.push(v("resize", D, { passive: !0 }));
|
|
164
|
-
}
|
|
165
|
-
return {
|
|
166
|
-
x: c,
|
|
167
|
-
y: d,
|
|
168
|
-
sourceType: f,
|
|
169
|
-
elementX: h,
|
|
170
|
-
elementY: _,
|
|
171
|
-
elementPositionX: x,
|
|
172
|
-
elementPositionY: C,
|
|
173
|
-
elementHeight: w,
|
|
174
|
-
elementWidth: T,
|
|
175
|
-
isOutside: E,
|
|
176
|
-
stop: k
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
//#endregion
|
|
180
|
-
//#region src/useTooltipPosition.js
|
|
181
|
-
function w(t) {
|
|
182
|
-
let { elementX: n, elementWidth: r, isOutside: i } = C(e(() => {
|
|
183
|
-
let e = s(t);
|
|
184
|
-
return e ? e instanceof HTMLElement ? e : e.$el || null : null;
|
|
185
|
-
}));
|
|
186
|
-
return e(() => i.value || r.value === 0 ? "center" : n.value > r.value / 2 ? "left" : "right");
|
|
187
|
-
}
|
|
188
|
-
//#endregion
|
|
189
|
-
export { w as t };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { computed as e, isRef as t, onMounted as n, onUnmounted as r, ref as i, watch as a } from "vue";
|
|
2
|
-
//#region src/useTransitions.js
|
|
3
|
-
function o(e) {
|
|
4
|
-
return typeof e == "function" ? e() : t(e) ? e.value : e;
|
|
5
|
-
}
|
|
6
|
-
function s({ config: t, dataset: s }) {
|
|
7
|
-
let c = e(() => o(t) ?? {}), l = e(() => o(s)), u = i(!!c.value.enable), d = null, f = null;
|
|
8
|
-
function p() {
|
|
9
|
-
d !== null && (clearTimeout(d), d = null);
|
|
10
|
-
}
|
|
11
|
-
function m() {
|
|
12
|
-
p();
|
|
13
|
-
let e = c.value, t = !!e.enable, n = Number(e.activationDelayMs) || 0;
|
|
14
|
-
if (!t || n <= 0) {
|
|
15
|
-
u.value = t;
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
u.value = !1, d = setTimeout(() => {
|
|
19
|
-
u.value = !!c.value.enable, d = null;
|
|
20
|
-
}, n);
|
|
21
|
-
}
|
|
22
|
-
function h(e) {
|
|
23
|
-
f?.(), f = null, e && (f = a(l, m, { deep: !0 }));
|
|
24
|
-
}
|
|
25
|
-
return a(() => c.value.pauseOnDatasetChange, h, { immediate: !0 }), a(() => c.value.enable, (e) => {
|
|
26
|
-
p(), u.value = !!e;
|
|
27
|
-
}), a(() => c.value.activationDelayMs, () => {
|
|
28
|
-
d !== null && m();
|
|
29
|
-
}), n(() => {
|
|
30
|
-
c.value.pauseOnLoad && m();
|
|
31
|
-
}), r(() => {
|
|
32
|
-
p(), f?.();
|
|
33
|
-
}), {
|
|
34
|
-
transitionEnabled: u,
|
|
35
|
-
pause: m
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
//#endregion
|
|
39
|
-
export { s as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { computed as e, ref as t } from "vue";
|
|
2
|
-
//#region src/useUserOptionState.js
|
|
3
|
-
function n({ config: n }) {
|
|
4
|
-
let r = e(() => n.userOptions.showOnChartHover), i = e(() => n.userOptions.keepStateOnChartLeave), a = t(!n.userOptions.showOnChartHover);
|
|
5
|
-
function o(e = !1) {
|
|
6
|
-
r.value && (a.value = e);
|
|
7
|
-
}
|
|
8
|
-
return {
|
|
9
|
-
userOptionsVisible: a,
|
|
10
|
-
keepUserOptionState: i,
|
|
11
|
-
setUserOptionsVisibility: o
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { n as t };
|