vue-data-ui 3.17.13 → 3.18.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/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4775 -627
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { H as t } from "./lib-BkiwukKO.js";
|
|
3
|
+
import { t as n } from "./useConfig-BV0kTCnO.js";
|
|
4
|
+
import { t as r } from "./usePrinter-X0yWOynH.js";
|
|
5
|
+
import { t as i } from "./useNestedProp-Ck4hsrpu.js";
|
|
6
|
+
import { t as a } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
7
|
+
import { t as ee } from "./useUserOptionState-CjPJPTg2.js";
|
|
8
|
+
import { t as te } from "./UserOptions-DMw8EZEo.js";
|
|
9
|
+
import { n as ne } from "./PenAndPaper-DwpL8Z0l.js";
|
|
10
|
+
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as re, defineAsyncComponent as f, guardReactiveProps as p, mergeProps as ie, normalizeClass as ae, normalizeProps as m, normalizeStyle as h, openBlock as g, ref as _, renderList as oe, renderSlot as v, resolveDynamicComponent as se, unref as y, useCssVars as ce, watch as b, withCtx as x } from "vue";
|
|
11
|
+
//#region src/components/vue-ui-dashboard.vue
|
|
12
|
+
var le = /* @__PURE__ */ e({ default: () => C }), ue = ["id"], de = ["onMousedown", "onTouchstart"], fe = ["onMousedown", "onTouchstart"], pe = ["onMousedown", "onTouchstart"], me = ["onMousedown", "onTouchstart"], he = ["onMousedown", "onTouchstart"], S = 1, C = /* @__PURE__ */ a({
|
|
13
|
+
__name: "vue-ui-dashboard",
|
|
14
|
+
props: {
|
|
15
|
+
dataset: Array,
|
|
16
|
+
config: Object
|
|
17
|
+
},
|
|
18
|
+
emits: ["change", "copyAlt"],
|
|
19
|
+
setup(e, { expose: a, emit: le }) {
|
|
20
|
+
ce((e) => ({
|
|
21
|
+
v4ff689be: Oe.value,
|
|
22
|
+
c8481f4e: ke.value
|
|
23
|
+
}));
|
|
24
|
+
let C = {
|
|
25
|
+
VueDataUi: f(() => import("./vue-data-ui-DIh8ayZc.js").then((e) => e.n)),
|
|
26
|
+
VueUi3dBar: f(() => import("./vue-ui-3d-bar-BZ8_6ylo.js").then((e) => e.n)),
|
|
27
|
+
VueUiAccordion: f(() => import("./vue-ui-accordion-cVv18nTV.js").then((e) => e.n)),
|
|
28
|
+
VueUiAgePyramid: f(() => import("./vue-ui-age-pyramid-BR3i-CgS.js").then((e) => e.n)),
|
|
29
|
+
VueUiAnnotator: f(() => import("./vue-ui-annotator-B9mA_PlF.js").then((e) => e.n)),
|
|
30
|
+
VueUiCandlestick: f(() => import("./vue-ui-candlestick-0C1QFoV4.js").then((e) => e.n)),
|
|
31
|
+
VueUiChestnut: f(() => import("./vue-ui-chestnut-CJOCGWwX.js").then((e) => e.n)),
|
|
32
|
+
VueUiDigits: f(() => import("./vue-ui-digits-DIKyN3z6.js").then((e) => e.n)),
|
|
33
|
+
VueUiDonut: f(() => import("./vue-ui-donut-RogzKj0G.js").then((e) => e.n)),
|
|
34
|
+
VueUiDonutEvolution: f(() => import("./vue-ui-donut-evolution-Bxz06Qqf.js").then((e) => e.n)),
|
|
35
|
+
VueUiDumbbell: f(() => import("./vue-ui-dumbbell-D10T4gmB.js").then((e) => e.n)),
|
|
36
|
+
VueUiFlow: f(() => import("./vue-ui-flow-OK563Z46.js").then((e) => e.n)),
|
|
37
|
+
VueUiGalaxy: f(() => import("./vue-ui-galaxy-CtaTlHWZ.js").then((e) => e.n)),
|
|
38
|
+
VueUiGauge: f(() => import("./vue-ui-gauge-DWTEHJqX.js").then((e) => e.n)),
|
|
39
|
+
VueUiHeatmap: f(() => import("./vue-ui-heatmap-CUE_zJQa.js").then((e) => e.n)),
|
|
40
|
+
VueUiKpi: f(() => import("./vue-ui-kpi-B74v84Hu.js").then((e) => e.n)),
|
|
41
|
+
VueUiMiniLoader: f(() => import("./vue-ui-mini-loader-BcCG6Yqb.js").then((e) => e.n)),
|
|
42
|
+
VueUiMolecule: f(() => import("./vue-ui-molecule-CVdB8rxf.js").then((e) => e.n)),
|
|
43
|
+
VueUiMoodRadar: f(() => import("./vue-ui-mood-radar-CWDVBOck.js").then((e) => e.n)),
|
|
44
|
+
VueUiNestedDonuts: f(() => import("./vue-ui-nested-donuts-Be8b5d81.js").then((e) => e.n)),
|
|
45
|
+
VueUiOnion: f(() => import("./vue-ui-onion-Cs90yQQZ.js").then((e) => e.n)),
|
|
46
|
+
VueUiParallelCoordinatePlot: f(() => import("./vue-ui-parallel-coordinate-plot-D-mZdTop.js").then((e) => e.n)),
|
|
47
|
+
VueUiQuadrant: f(() => import("./vue-ui-quadrant-DLD_ZR9M.js").then((e) => e.n)),
|
|
48
|
+
VueUiQuickChart: f(() => import("./vue-ui-quick-chart-UWjZdmzt.js").then((e) => e.n)),
|
|
49
|
+
VueUiRadar: f(() => import("./vue-ui-radar-Bxu07MOG.js").then((e) => e.n)),
|
|
50
|
+
VueUiRating: f(() => import("./vue-ui-rating-DA9Bmfyb.js").then((e) => e.n)),
|
|
51
|
+
VueUiRelationCircle: f(() => import("./vue-ui-relation-circle-O5s1UJtt.js").then((e) => e.n)),
|
|
52
|
+
VueUiRings: f(() => import("./vue-ui-rings-DVVDtwhB.js").then((e) => e.n)),
|
|
53
|
+
VueUiScatter: f(() => import("./vue-ui-scatter-Cfvh06OC.js").then((e) => e.n)),
|
|
54
|
+
VueUiSkeleton: f(() => import("./vue-ui-skeleton-CxTmGCQp.js").then((e) => e.n)),
|
|
55
|
+
VueUiSmiley: f(() => import("./vue-ui-smiley-B6nc7b71.js").then((e) => e.n)),
|
|
56
|
+
VueUiSparkHistogram: f(() => import("./vue-ui-sparkhistogram-BLEzZSZi.js").then((e) => e.n)),
|
|
57
|
+
VueUiSparkStackbar: f(() => import("./vue-ui-sparkstackbar-uIzSq9Wh.js").then((e) => e.n)),
|
|
58
|
+
VueUiSparkTrend: f(() => import("./vue-ui-spark-trend--39vutfQ.js").then((e) => e.n)),
|
|
59
|
+
VueUiSparkbar: f(() => import("./vue-ui-sparkbar-DhCRNOu4.js").then((e) => e.n)),
|
|
60
|
+
VueUiSparkgauge: f(() => import("./vue-ui-sparkgauge-6Igkqlqs.js").then((e) => e.n)),
|
|
61
|
+
VueUiSparkline: f(() => import("./vue-ui-sparkline-ppwKM4aO.js").then((e) => e.n)),
|
|
62
|
+
VueUiStripPlot: f(() => import("./vue-ui-strip-plot-D1LjIVqK.js").then((e) => e.n)),
|
|
63
|
+
VueUiTable: f(() => import("./vue-ui-table-WDkEyyQ0.js").then((e) => e.n)),
|
|
64
|
+
VueUiTableHeatmap: f(() => import("./vue-ui-table-heatmap-CfGJVzI3.js").then((e) => e.n)),
|
|
65
|
+
VueUiTableSparkline: f(() => import("./vue-ui-table-sparkline-BEWWP4Rq.js").then((e) => e.n)),
|
|
66
|
+
VueUiThermometer: f(() => import("./vue-ui-thermometer-CFWOAB8K.js").then((e) => e.n)),
|
|
67
|
+
VueUiTimer: f(() => import("./vue-ui-timer-D1DQyf9i.js").then((e) => e.n)),
|
|
68
|
+
VueUiTiremarks: f(() => import("./vue-ui-tiremarks-IeM3BlPW.js").then((e) => e.n)),
|
|
69
|
+
VueUiTreemap: f(() => import("./vue-ui-treemap-BGZM7ibv.js").then((e) => e.n)),
|
|
70
|
+
VueUiVerticalBar: f(() => import("./vue-ui-horizontal-bar-DX5aZOEn.js").then((e) => e.n)),
|
|
71
|
+
VueUiHorizontalBar: f(() => import("./vue-ui-horizontal-bar-DX5aZOEn.js").then((e) => e.n)),
|
|
72
|
+
VueUiWaffle: f(() => import("./vue-ui-waffle-a3dFVBk4.js").then((e) => e.n)),
|
|
73
|
+
VueUiWheel: f(() => import("./vue-ui-wheel-OnIRQJ8a.js").then((e) => e.n)),
|
|
74
|
+
VueUiWordCloud: f(() => import("./vue-ui-word-cloud-C9SkyutR.js").then((e) => e.n)),
|
|
75
|
+
VueUiXy: f(() => import("./vue-ui-xy-1hee-IEM.js").then((e) => e.n)),
|
|
76
|
+
VueUiXyCanvas: f(() => import("./vue-ui-xy-canvas-D2f0d45c.js").then((e) => e.n)),
|
|
77
|
+
VueUiCarouselTable: f(() => import("./vue-ui-carousel-table-1P28pCRK.js").then((e) => e.n)),
|
|
78
|
+
VueUiGizmo: f(() => import("./vue-ui-gizmo-vddzP4dM.js").then((e) => e.n)),
|
|
79
|
+
VueUiStackbar: f(() => import("./vue-ui-stackbar-CdOkMCbI.js").then((e) => e.n)),
|
|
80
|
+
VueUiStackline: f(() => import("./vue-ui-stackline-DifD9OXC.js").then((e) => e.n)),
|
|
81
|
+
VueUiBullet: f(() => import("./vue-ui-bullet-ByJdNLVf.js").then((e) => e.n)),
|
|
82
|
+
VueUiFunnel: f(() => import("./vue-ui-funnel-nWmbiJu5.js").then((e) => e.n)),
|
|
83
|
+
VueUiHistoryPlot: f(() => import("./vue-ui-history-plot-CcRg_NgJ.js").then((e) => e.n)),
|
|
84
|
+
VueUiCirclePack: f(() => import("./vue-ui-circle-pack-C3wvXz1f.js").then((e) => e.n)),
|
|
85
|
+
VueUiWorld: f(() => import("./vue-ui-world-CEevuFbk.js").then((e) => e.n)),
|
|
86
|
+
VueUiChord: f(() => import("./vue-ui-chord-BpiVJCCm.js").then((e) => e.n)),
|
|
87
|
+
VueUiRidgeline: f(() => import("./vue-ui-ridgeline-C3siN0d_.js").then((e) => e.n)),
|
|
88
|
+
VueUiDag: f(() => import("./vue-ui-dag-DRVXVCJV.js").then((e) => e.n))
|
|
89
|
+
}, { vue_ui_dashboard: ge } = n(), _e = _(null), ve = _(null), w = _(null), T = e, E = s(() => i({
|
|
90
|
+
userConfig: T.config,
|
|
91
|
+
defaultConfig: ge
|
|
92
|
+
})), D = s(() => E.value.userOptions.useCursorPointer), O = _(t()), k = _(E.value.locked);
|
|
93
|
+
function ye() {
|
|
94
|
+
k.value = !k.value;
|
|
95
|
+
}
|
|
96
|
+
b(() => T.config, () => {
|
|
97
|
+
k.value = E.value.locked, X.value = !E.value.userOptions.showOnChartHover;
|
|
98
|
+
});
|
|
99
|
+
function A() {
|
|
100
|
+
return T.dataset.map((e, t) => ({
|
|
101
|
+
...e,
|
|
102
|
+
index: t
|
|
103
|
+
}));
|
|
104
|
+
}
|
|
105
|
+
let j = _(A());
|
|
106
|
+
b(() => T.dataset, () => {
|
|
107
|
+
j.value = A();
|
|
108
|
+
});
|
|
109
|
+
let M = s(() => j.value.map((e) => ({
|
|
110
|
+
...e,
|
|
111
|
+
resolvedComponent: typeof e.component == "string" ? C[e.component] : e.component
|
|
112
|
+
}))), N = _(null), P = _(null), F = _({
|
|
113
|
+
x: 0,
|
|
114
|
+
y: 0
|
|
115
|
+
}), I = _({
|
|
116
|
+
x: 0,
|
|
117
|
+
y: 0
|
|
118
|
+
}), L = _(null), R = _(!1), z = _(null), B = _(!1);
|
|
119
|
+
function V(e) {
|
|
120
|
+
let t = e.target;
|
|
121
|
+
(t.tagName === "INPUT" && t.type === "range" || t.classList.contains("range-handle")) && (B.value = !0);
|
|
122
|
+
}
|
|
123
|
+
function H(e) {
|
|
124
|
+
let t = e.target;
|
|
125
|
+
t.tagName === "INPUT" && t.type === "range" && (B.value = !1);
|
|
126
|
+
}
|
|
127
|
+
let { isPrinting: be, isImaging: xe, generatePdf: U, generateImage: Se } = r({
|
|
128
|
+
elementId: `vue-ui-dashboard_${O.value}`,
|
|
129
|
+
fileName: E.value.userOptions.print.filename || "dashboard",
|
|
130
|
+
options: {
|
|
131
|
+
...E.value.userOptions.print,
|
|
132
|
+
aspectRatio: E.value.style.board.aspectRatio
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
function Ce(e) {
|
|
136
|
+
if (!k.value && (R.value = !0, z.value = e, P.value === null)) {
|
|
137
|
+
N.value = e, F.value = {
|
|
138
|
+
x: event.clientX,
|
|
139
|
+
y: event.clientY
|
|
140
|
+
};
|
|
141
|
+
let t = j.value[e], n = 100 - t.width, r = 100 - t.height;
|
|
142
|
+
t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left > n && (t.left = n), t.top > r && (t.top = r), t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left + t.width > 100 && (t.left = 100 - t.width), t.top + t.height > 100 && (t.top = 100 - t.height);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
function W(e, t) {
|
|
146
|
+
R.value = !0, z.value = e, P.value = {
|
|
147
|
+
index: e,
|
|
148
|
+
direction: t
|
|
149
|
+
};
|
|
150
|
+
let n = j.value[e];
|
|
151
|
+
I.value = {
|
|
152
|
+
x: event.clientX,
|
|
153
|
+
y: event.clientY,
|
|
154
|
+
initialWidth: n.width,
|
|
155
|
+
initialHeight: n.height
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
function G(e, t, n) {
|
|
159
|
+
if (P.value.direction.includes("top")) {
|
|
160
|
+
let t = e.height - n / L.value.offsetHeight * 100;
|
|
161
|
+
t >= S && (e.top += n / L.value.offsetHeight * 100, e.height = t);
|
|
162
|
+
}
|
|
163
|
+
if (P.value.direction.includes("bottom")) {
|
|
164
|
+
let t = e.height + n / L.value.offsetHeight * 100;
|
|
165
|
+
t >= S && (e.height = t);
|
|
166
|
+
}
|
|
167
|
+
if (P.value.direction.includes("left")) {
|
|
168
|
+
let n = e.width - t / L.value.offsetWidth * 100;
|
|
169
|
+
n >= S && (e.left += t / L.value.offsetWidth * 100, e.width = n);
|
|
170
|
+
}
|
|
171
|
+
if (P.value.direction.includes("right")) {
|
|
172
|
+
let n = e.width + t / L.value.offsetWidth * 100;
|
|
173
|
+
n >= S && (e.width = n);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
function we(e) {
|
|
177
|
+
if (!(k.value || B.value)) {
|
|
178
|
+
if (R.value = !0, N.value !== null) {
|
|
179
|
+
let t = j.value[N.value], n = e.clientX - F.value.x, r = e.clientY - F.value.y, i = t.left + n / L.value.offsetWidth * 100, a = t.top + r / L.value.offsetHeight * 100;
|
|
180
|
+
i >= 0 && a >= 0 && i + t.width <= 100 && a + t.height <= 100 && (t.left = i, t.top = a), F.value = {
|
|
181
|
+
x: e.clientX,
|
|
182
|
+
y: e.clientY
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
if (P.value !== null) {
|
|
186
|
+
let t = j.value[P.value.index];
|
|
187
|
+
G(t, e.clientX - I.value.x, e.clientY - I.value.y), I.value = {
|
|
188
|
+
x: e.clientX,
|
|
189
|
+
y: e.clientY
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
let K = le;
|
|
195
|
+
b(j, (e) => {
|
|
196
|
+
e && !R.value && K("change", j.value);
|
|
197
|
+
}, { deep: !0 });
|
|
198
|
+
function Te() {
|
|
199
|
+
N.value = null, P.value = null, R.value = !1, z.value = null, j.value.forEach((e) => {
|
|
200
|
+
e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
function Ee(e) {
|
|
204
|
+
k.value || B.value || (R.value = !0, z.value = e, P.value === null && (N.value = e, F.value = {
|
|
205
|
+
x: event.touches[0].clientX,
|
|
206
|
+
y: event.touches[0].clientY
|
|
207
|
+
}));
|
|
208
|
+
}
|
|
209
|
+
function q(e, t, n) {
|
|
210
|
+
if (R.value = !0, z.value = e, P.value === null) {
|
|
211
|
+
P.value = {
|
|
212
|
+
index: e,
|
|
213
|
+
direction: t
|
|
214
|
+
};
|
|
215
|
+
let r = j.value[e];
|
|
216
|
+
I.value = {
|
|
217
|
+
x: n.touches[0].clientX,
|
|
218
|
+
y: n.touches[0].clientY,
|
|
219
|
+
initialWidth: r.width,
|
|
220
|
+
initialHeight: r.height
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
function J(e) {
|
|
225
|
+
if (R.value = !0, e.preventDefault(), P.value !== null) {
|
|
226
|
+
let t = j.value[P.value.index];
|
|
227
|
+
G(t, e.touches[0].clientX - I.value.x, e.touches[0].clientY - I.value.y), I.value = {
|
|
228
|
+
x: e.touches[0].clientX,
|
|
229
|
+
y: e.touches[0].clientY
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
function De(e) {
|
|
234
|
+
if (!(k.value || B.value) && (R.value = !0, e.preventDefault(), N.value !== null)) {
|
|
235
|
+
let t = j.value[N.value], n = e.touches[0].clientX - F.value.x, r = e.touches[0].clientY - F.value.y, i = t.left + n / L.value.offsetWidth * 100, a = t.top + r / L.value.offsetHeight * 100;
|
|
236
|
+
i >= 0 && a >= 0 && i + t.width <= 100 && a + t.height <= 100 && (t.left = i, t.top = a), F.value = {
|
|
237
|
+
x: e.touches[0].clientX,
|
|
238
|
+
y: e.touches[0].clientY
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
function Y() {
|
|
243
|
+
R.value = !1, z.value = null, N.value = null, P.value = null, j.value.forEach((e) => {
|
|
244
|
+
e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
let Oe = s(() => E.value.style.item.borderColor), ke = s(() => E.value.style.resizeHandles.backgroundColor), Ae = s(() => E.value.style.board.aspectRatio), je = s(() => E.value.style.board.backgroundColor), Me = s(() => E.value.style.board.border);
|
|
248
|
+
function Ne() {
|
|
249
|
+
return j.value;
|
|
250
|
+
}
|
|
251
|
+
let { userOptionsVisible: X, setUserOptionsVisibility: Z, keepUserOptionState: Pe } = ee({ config: E.value }), Q = _(!1);
|
|
252
|
+
function Fe() {
|
|
253
|
+
Q.value = !Q.value;
|
|
254
|
+
}
|
|
255
|
+
function Ie() {
|
|
256
|
+
Z(!0);
|
|
257
|
+
}
|
|
258
|
+
function Le() {
|
|
259
|
+
Z(!1);
|
|
260
|
+
}
|
|
261
|
+
async function $() {
|
|
262
|
+
if (K("copyAlt", {
|
|
263
|
+
config: E.value,
|
|
264
|
+
dataset: M.value
|
|
265
|
+
}), !E.value.userOptions.callbacks.altCopy) {
|
|
266
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
await Promise.resolve(E.value.userOptions.callbacks.altCopy({
|
|
270
|
+
config: E.value,
|
|
271
|
+
dataset: M.value
|
|
272
|
+
}));
|
|
273
|
+
}
|
|
274
|
+
return a({
|
|
275
|
+
generatePdf: U,
|
|
276
|
+
getItemsPositions: Ne,
|
|
277
|
+
toggleLock: ye,
|
|
278
|
+
copyAlt: $
|
|
279
|
+
}), (e, t) => (g(), u("div", {
|
|
280
|
+
id: `vue-ui-dashboard_${O.value}`,
|
|
281
|
+
onMousedown: V,
|
|
282
|
+
onMouseup: H,
|
|
283
|
+
onTouchstart: V,
|
|
284
|
+
onTouchend: H,
|
|
285
|
+
onMouseenter: Ie,
|
|
286
|
+
onMouseleave: Le,
|
|
287
|
+
ref_key: "dashboardRef",
|
|
288
|
+
ref: _e,
|
|
289
|
+
style: { position: "relative" },
|
|
290
|
+
class: "vue-data-ui-component"
|
|
291
|
+
}, [
|
|
292
|
+
d("div", {
|
|
293
|
+
class: "vue-ui-dashboard-container",
|
|
294
|
+
ref_key: "dashboardContainer",
|
|
295
|
+
ref: L,
|
|
296
|
+
style: h(`outline:${Me.value}; background:${je.value}; aspect-ratio:${Ae.value};${Q.value ? "pointer-events:none" : ""}`)
|
|
297
|
+
}, [d("div", {
|
|
298
|
+
class: "vue-ui-dashboard-grid-container",
|
|
299
|
+
ref: "container",
|
|
300
|
+
onMousemove: we,
|
|
301
|
+
onMouseup: Te,
|
|
302
|
+
onTouchmove: De,
|
|
303
|
+
onTouchend: Y,
|
|
304
|
+
style: h(`background:${E.value.style.board.backgroundColor}`)
|
|
305
|
+
}, [t[4] ||= d("div", { class: "vue-ui-dashboard-grid" }, null, -1), (g(!0), u(o, null, oe(M.value, (n, r) => (g(), u("div", {
|
|
306
|
+
key: n.id,
|
|
307
|
+
class: ae({
|
|
308
|
+
"vue-ui-dashboard-grid-item": !0,
|
|
309
|
+
"vue-ui-dashboard-grid-item--locked": k.value
|
|
310
|
+
}),
|
|
311
|
+
style: h({
|
|
312
|
+
width: `${n.width}%`,
|
|
313
|
+
height: `${n.height}%`,
|
|
314
|
+
left: `${n.left}%`,
|
|
315
|
+
top: `${n.top}%`,
|
|
316
|
+
cursor: "move",
|
|
317
|
+
boxShadow: z.value === r ? "0 6px 12px -3px rgba(0,0,0,0.3)" : "",
|
|
318
|
+
zIndex: z.value === r ? M.value.length + 1 : n.index,
|
|
319
|
+
backgroundColor: E.value.style.item.backgroundColor
|
|
320
|
+
}),
|
|
321
|
+
onMousedown: (e) => Ce(r),
|
|
322
|
+
onTouchstart: (e) => Ee(r, n)
|
|
323
|
+
}, [
|
|
324
|
+
k.value ? l("", !0) : (g(), u(o, { key: 0 }, [
|
|
325
|
+
d("div", {
|
|
326
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
|
|
327
|
+
onMousedown: (e) => W(r, "top-left"),
|
|
328
|
+
onTouchstart: (e) => q(r, "top-left", e),
|
|
329
|
+
onTouchmove: t[0] ||= (e) => J(e),
|
|
330
|
+
onTouchend: Y
|
|
331
|
+
}, null, 40, fe),
|
|
332
|
+
d("div", {
|
|
333
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
|
|
334
|
+
onMousedown: (e) => W(r, "top-right"),
|
|
335
|
+
onTouchstart: (e) => q(r, "top-right", e),
|
|
336
|
+
onTouchmove: t[1] ||= (e) => J(e),
|
|
337
|
+
onTouchend: Y
|
|
338
|
+
}, null, 40, pe),
|
|
339
|
+
d("div", {
|
|
340
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
|
|
341
|
+
onMousedown: (e) => W(r, "bottom-left"),
|
|
342
|
+
onTouchstart: (e) => q(r, "bottom-left", e),
|
|
343
|
+
onTouchmove: t[2] ||= (e) => J(e),
|
|
344
|
+
onTouchend: Y
|
|
345
|
+
}, null, 40, me),
|
|
346
|
+
d("div", {
|
|
347
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
|
|
348
|
+
onMousedown: (e) => W(r, "bottom-right"),
|
|
349
|
+
onTouchstart: (e) => q(r, "bottom-right", e),
|
|
350
|
+
onTouchmove: t[3] ||= (e) => J(e),
|
|
351
|
+
onTouchend: Y
|
|
352
|
+
}, null, 40, he)
|
|
353
|
+
], 64)),
|
|
354
|
+
v(e.$slots, "top", {
|
|
355
|
+
item: n,
|
|
356
|
+
index: r
|
|
357
|
+
}, void 0, !0),
|
|
358
|
+
n.resolvedComponent ? (g(), c(se(n.resolvedComponent), ie({
|
|
359
|
+
key: 1,
|
|
360
|
+
ref_for: !0
|
|
361
|
+
}, n.props), null, 16)) : v(e.$slots, "content", {
|
|
362
|
+
key: 2,
|
|
363
|
+
item: n,
|
|
364
|
+
index: r,
|
|
365
|
+
left: n.left,
|
|
366
|
+
top: n.top,
|
|
367
|
+
height: n.height,
|
|
368
|
+
width: n.width
|
|
369
|
+
}, void 0, !0),
|
|
370
|
+
v(e.$slots, "bottom", {
|
|
371
|
+
item: n,
|
|
372
|
+
index: r
|
|
373
|
+
}, void 0, !0)
|
|
374
|
+
], 46, de))), 128))], 36)], 4),
|
|
375
|
+
(g(), u("svg", {
|
|
376
|
+
style: h({
|
|
377
|
+
width: "100%",
|
|
378
|
+
height: "100%",
|
|
379
|
+
pointerEvents: "none",
|
|
380
|
+
position: "absolute",
|
|
381
|
+
top: 0,
|
|
382
|
+
left: 0,
|
|
383
|
+
zIndex: M.value.length + 1
|
|
384
|
+
}),
|
|
385
|
+
ref_key: "svgRef",
|
|
386
|
+
ref: w
|
|
387
|
+
}, null, 4)),
|
|
388
|
+
E.value.userOptions.buttons.annotator && L.value && w.value ? (g(), c(ne, {
|
|
389
|
+
key: 0,
|
|
390
|
+
color: E.value.style.board.color,
|
|
391
|
+
backgroundColor: E.value.style.board.backgroundColor,
|
|
392
|
+
active: Q.value,
|
|
393
|
+
svgRef: w.value,
|
|
394
|
+
isCursorPointer: D.value,
|
|
395
|
+
onClose: Fe,
|
|
396
|
+
style: h({ zIndex: M.value.length + 1 })
|
|
397
|
+
}, {
|
|
398
|
+
"annotator-action-close": x(() => [v(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
399
|
+
"annotator-action-color": x(({ color: t }) => [v(e.$slots, "annotator-action-color", m(p({ color: t })), void 0, !0)]),
|
|
400
|
+
"annotator-action-draw": x(({ mode: t }) => [v(e.$slots, "annotator-action-draw", m(p({ mode: t })), void 0, !0)]),
|
|
401
|
+
"annotator-action-undo": x(({ disabled: t }) => [v(e.$slots, "annotator-action-undo", m(p({ disabled: t })), void 0, !0)]),
|
|
402
|
+
"annotator-action-redo": x(({ disabled: t }) => [v(e.$slots, "annotator-action-redo", m(p({ disabled: t })), void 0, !0)]),
|
|
403
|
+
"annotator-action-delete": x(({ disabled: t }) => [v(e.$slots, "annotator-action-delete", m(p({ disabled: t })), void 0, !0)]),
|
|
404
|
+
_: 3
|
|
405
|
+
}, 8, [
|
|
406
|
+
"color",
|
|
407
|
+
"backgroundColor",
|
|
408
|
+
"active",
|
|
409
|
+
"svgRef",
|
|
410
|
+
"isCursorPointer",
|
|
411
|
+
"style"
|
|
412
|
+
])) : l("", !0),
|
|
413
|
+
(E.value.allowPrint || E.value.userOptions.show) && (E.value.userOptions.buttons.pdf || E.value.userOptions.buttons.img) ? (g(), c(te, {
|
|
414
|
+
key: 1,
|
|
415
|
+
ref_key: "userOptionsRef",
|
|
416
|
+
ref: ve,
|
|
417
|
+
backgroundColor: E.value.style.board.backgroundColor,
|
|
418
|
+
color: E.value.style.board.color,
|
|
419
|
+
isPrinting: y(be),
|
|
420
|
+
isImaging: y(xe),
|
|
421
|
+
uid: O.value,
|
|
422
|
+
position: E.value.userOptions.position,
|
|
423
|
+
hasTooltip: !1,
|
|
424
|
+
hasPdf: E.value.userOptions.buttons.pdf,
|
|
425
|
+
hasImg: E.value.userOptions.buttons.img,
|
|
426
|
+
hasXls: !1,
|
|
427
|
+
hasTable: !1,
|
|
428
|
+
hasLabel: !1,
|
|
429
|
+
hasFullscreen: !1,
|
|
430
|
+
hasAltCopy: E.value.userOptions.buttons.altCopy,
|
|
431
|
+
chartElement: L.value,
|
|
432
|
+
callbacks: E.value.userOptions.callbacks,
|
|
433
|
+
hasAnnotator: E.value.userOptions.buttons.annotator,
|
|
434
|
+
isAnnotation: Q.value,
|
|
435
|
+
printScale: E.value.userOptions.print.scale,
|
|
436
|
+
titles: { ...E.value.userOptions.buttonTitles },
|
|
437
|
+
isCursorPointer: D.value,
|
|
438
|
+
onGeneratePdf: y(U),
|
|
439
|
+
onGenerateImage: y(Se),
|
|
440
|
+
onToggleAnnotator: Fe,
|
|
441
|
+
onCopyAlt: $,
|
|
442
|
+
style: h({
|
|
443
|
+
visibility: y(Pe) ? y(X) ? "visible" : "hidden" : "visible",
|
|
444
|
+
zIndex: M.value.length + 1
|
|
445
|
+
})
|
|
446
|
+
}, re({ _: 2 }, [
|
|
447
|
+
e.$slots.menuIcon ? {
|
|
448
|
+
name: "menuIcon",
|
|
449
|
+
fn: x(({ isOpen: t, color: n }) => [v(e.$slots, "menuIcon", m(p({
|
|
450
|
+
isOpen: t,
|
|
451
|
+
color: n
|
|
452
|
+
})), void 0, !0)]),
|
|
453
|
+
key: "0"
|
|
454
|
+
} : void 0,
|
|
455
|
+
e.$slots.optionPdf ? {
|
|
456
|
+
name: "optionPdf",
|
|
457
|
+
fn: x(() => [v(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
458
|
+
key: "1"
|
|
459
|
+
} : void 0,
|
|
460
|
+
e.$slots.optionImg ? {
|
|
461
|
+
name: "optionImg",
|
|
462
|
+
fn: x(() => [v(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
463
|
+
key: "2"
|
|
464
|
+
} : void 0,
|
|
465
|
+
e.$slots.optionAnnotator ? {
|
|
466
|
+
name: "optionAnnotator",
|
|
467
|
+
fn: x(({ toggleAnnotator: t, isAnnotator: n }) => [v(e.$slots, "optionAnnotator", m(p({
|
|
468
|
+
toggleAnnotator: t,
|
|
469
|
+
isAnnotator: n
|
|
470
|
+
})), void 0, !0)]),
|
|
471
|
+
key: "3"
|
|
472
|
+
} : void 0,
|
|
473
|
+
e.$slots.optionAltCopy ? {
|
|
474
|
+
name: "optionAltCopy",
|
|
475
|
+
fn: x(({ altCopy: t }) => [v(e.$slots, "optionAltCopy", m(p({ altCopy: t })), void 0, !0)]),
|
|
476
|
+
key: "4"
|
|
477
|
+
} : void 0
|
|
478
|
+
]), 1032, [
|
|
479
|
+
"backgroundColor",
|
|
480
|
+
"color",
|
|
481
|
+
"isPrinting",
|
|
482
|
+
"isImaging",
|
|
483
|
+
"uid",
|
|
484
|
+
"position",
|
|
485
|
+
"hasPdf",
|
|
486
|
+
"hasImg",
|
|
487
|
+
"hasAltCopy",
|
|
488
|
+
"chartElement",
|
|
489
|
+
"callbacks",
|
|
490
|
+
"hasAnnotator",
|
|
491
|
+
"isAnnotation",
|
|
492
|
+
"printScale",
|
|
493
|
+
"titles",
|
|
494
|
+
"isCursorPointer",
|
|
495
|
+
"onGeneratePdf",
|
|
496
|
+
"onGenerateImage",
|
|
497
|
+
"style"
|
|
498
|
+
])) : l("", !0)
|
|
499
|
+
], 40, ue));
|
|
500
|
+
}
|
|
501
|
+
}, [["__scopeId", "data-v-5922ea7c"]]);
|
|
502
|
+
//#endregion
|
|
503
|
+
export { le as n, C as t };
|