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,542 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { G as t, H as n, Mt as r, St as i, X as a, i as o, t as s, v as c, zt as l } from "./lib-BkiwukKO.js";
|
|
3
|
+
import { t as ee } from "./useConfig-BV0kTCnO.js";
|
|
4
|
+
import { t as te } from "./usePrinter-X0yWOynH.js";
|
|
5
|
+
import { n as ne, t as re } from "./BaseScanner-C7dmAref.js";
|
|
6
|
+
import { t as ie } from "./useSvgExport-Dtu973wa.js";
|
|
7
|
+
import { t as u } from "./useNestedProp-Ck4hsrpu.js";
|
|
8
|
+
import { t as ae } from "./useThemeCheck-rFK9Zlb_.js";
|
|
9
|
+
import { t as oe } from "./img-BjOr008R.js";
|
|
10
|
+
import { n as se } from "./Title-__gWq2g6.js";
|
|
11
|
+
import { t as ce } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
12
|
+
import { c as le } from "./canvas-lib-DTaADQOK.js";
|
|
13
|
+
import { t as ue } from "./useResponsive-CrAInupd.js";
|
|
14
|
+
import { t as de } from "./useUserOptionState-CjPJPTg2.js";
|
|
15
|
+
import { t as fe } from "./useChartAccessibility-Do37qcw2.js";
|
|
16
|
+
import { t as pe } from "./usePrefersMotion-BywLbIko.js";
|
|
17
|
+
import { t as me } from "./vue_ui_tiremarks-A6UHC0c3.js";
|
|
18
|
+
import { Fragment as he, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as ge, createSlots as _e, createVNode as ve, defineAsyncComponent as h, guardReactiveProps as g, nextTick as ye, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as be, openBlock as b, ref as x, renderList as xe, renderSlot as S, toDisplayString as C, toRefs as Se, unref as w, watch as Ce, withCtx as T } from "vue";
|
|
19
|
+
//#region src/components/vue-ui-tiremarks.vue
|
|
20
|
+
var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
21
|
+
"xmlns",
|
|
22
|
+
"viewBox",
|
|
23
|
+
"aria-labelledby",
|
|
24
|
+
"aria-describedby"
|
|
25
|
+
], De = ["id"], Oe = ["id"], ke = ["width", "height"], Ae = { key: 1 }, je = [
|
|
26
|
+
"d",
|
|
27
|
+
"stroke-width",
|
|
28
|
+
"stroke"
|
|
29
|
+
], Me = { key: 2 }, Ne = [
|
|
30
|
+
"x1",
|
|
31
|
+
"y1",
|
|
32
|
+
"x2",
|
|
33
|
+
"y2",
|
|
34
|
+
"stroke-width",
|
|
35
|
+
"stroke"
|
|
36
|
+
], Pe = ["aria-label"], Fe = [
|
|
37
|
+
"x",
|
|
38
|
+
"y",
|
|
39
|
+
"height"
|
|
40
|
+
], Ie = [
|
|
41
|
+
"x",
|
|
42
|
+
"y",
|
|
43
|
+
"font-size",
|
|
44
|
+
"fill",
|
|
45
|
+
"font-weight",
|
|
46
|
+
"text-anchor"
|
|
47
|
+
], Le = {
|
|
48
|
+
key: 4,
|
|
49
|
+
class: "vue-data-ui-watermark"
|
|
50
|
+
}, E = /* @__PURE__ */ ce({
|
|
51
|
+
__name: "vue-ui-tiremarks",
|
|
52
|
+
props: {
|
|
53
|
+
config: {
|
|
54
|
+
type: Object,
|
|
55
|
+
default() {
|
|
56
|
+
return {};
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
dataset: {
|
|
60
|
+
type: Object,
|
|
61
|
+
default() {
|
|
62
|
+
return {};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
emits: ["copyAlt"],
|
|
67
|
+
setup(e, { expose: ce, emit: we }) {
|
|
68
|
+
let E = h(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Re = h(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-DhDKg-ez.js").then((e) => e.t)), { vue_ui_tiremarks: Be } = ee(), { isThemeValid: Ve, warnInvalidTheme: He } = ae(), D = pe(), O = e, Ue = we, We = d(() => !!O.dataset && Object.keys(O.dataset).length), k = x(n()), A = x(null), Ge = x(null), Ke = x(null), qe = x(null), Je = x(0), Ye = x(0), j = x(null), M = x(null), N = x(!1), P = x(!1), F = x(B()), Xe = d(() => F.value.userOptions.useCursorPointer), Ze = d(() => l({
|
|
69
|
+
defaultConfig: {
|
|
70
|
+
userOptions: { show: !1 },
|
|
71
|
+
style: { chart: {
|
|
72
|
+
backgroundColor: "#99999930",
|
|
73
|
+
animation: { use: !1 },
|
|
74
|
+
layout: {
|
|
75
|
+
activeColor: "#6A6A6A80",
|
|
76
|
+
inactiveColor: "#CACACA80",
|
|
77
|
+
ticks: { gradient: { show: !1 } }
|
|
78
|
+
}
|
|
79
|
+
} }
|
|
80
|
+
},
|
|
81
|
+
userConfig: F.value.skeletonConfig ?? {}
|
|
82
|
+
})), { loading: I, FINAL_DATASET: L } = ne({
|
|
83
|
+
...Se(O),
|
|
84
|
+
FINAL_CONFIG: F,
|
|
85
|
+
prepareConfig: B,
|
|
86
|
+
skeletonDataset: O.config?.skeletonDataset ?? { percentage: 50 },
|
|
87
|
+
skeletonConfig: l({
|
|
88
|
+
defaultConfig: F.value,
|
|
89
|
+
userConfig: Ze.value
|
|
90
|
+
})
|
|
91
|
+
}), { userOptionsVisible: R, setUserOptionsVisibility: Qe, keepUserOptionState: $e } = de({ config: F.value }), { svgRef: z } = fe({ config: F.value.style.chart.title });
|
|
92
|
+
function B() {
|
|
93
|
+
let e = u({
|
|
94
|
+
userConfig: O.config,
|
|
95
|
+
defaultConfig: Be
|
|
96
|
+
}), t = e.theme;
|
|
97
|
+
if (!t) return e;
|
|
98
|
+
if (!Ve.value(e)) return He(e), e;
|
|
99
|
+
let n = u({
|
|
100
|
+
userConfig: me[t] || O.config,
|
|
101
|
+
defaultConfig: e
|
|
102
|
+
});
|
|
103
|
+
return u({
|
|
104
|
+
userConfig: O.config,
|
|
105
|
+
defaultConfig: n
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
Ce(() => O.config, (e) => {
|
|
109
|
+
F.value = B(), R.value = !F.value.userOptions.showOnChartHover, q.value = F.value.style.chart.width, J.value = F.value.style.chart.height, at(), Ye.value += 1;
|
|
110
|
+
}, { deep: !0 });
|
|
111
|
+
let { isPrinting: V, isImaging: H, generatePdf: et, generateImage: tt } = te({
|
|
112
|
+
elementId: k.value,
|
|
113
|
+
fileName: F.value.style.chart.title.text || "vue-ui-tiremarks",
|
|
114
|
+
options: F.value.userOptions.print
|
|
115
|
+
}), nt = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), U = x(F.value.style.chart.animation.use && !D.value ? 0 : c(L.value.percentage));
|
|
116
|
+
Ce(() => L.value, (e) => {
|
|
117
|
+
F.value.style.chart.animation.use && !D.value ? rt(e.percentage) : U.value = e.percentage || 0;
|
|
118
|
+
}, { deep: !0 }), be(() => {
|
|
119
|
+
at();
|
|
120
|
+
});
|
|
121
|
+
function rt(e) {
|
|
122
|
+
let t = F.value.style.chart.animation.speed, n = Math.abs(e - U.value) / (t * 120);
|
|
123
|
+
function r() {
|
|
124
|
+
U.value < e ? U.value = Math.min(U.value + n, e) : U.value > e && (U.value = Math.max(U.value - n, e)), U.value !== e && requestAnimationFrame(r);
|
|
125
|
+
}
|
|
126
|
+
r();
|
|
127
|
+
}
|
|
128
|
+
let it = d(() => !!F.value.debug);
|
|
129
|
+
function at() {
|
|
130
|
+
if (i(O.dataset) && a({
|
|
131
|
+
componentName: "VueUiTiremarks",
|
|
132
|
+
type: "dataset",
|
|
133
|
+
debug: it.value
|
|
134
|
+
}), F.value.responsive) {
|
|
135
|
+
let e = le(() => {
|
|
136
|
+
let { width: e, height: t } = ue({
|
|
137
|
+
chart: A.value,
|
|
138
|
+
title: F.value.style.chart.title.text ? Ke.value : null,
|
|
139
|
+
source: qe.value
|
|
140
|
+
});
|
|
141
|
+
requestAnimationFrame(() => {
|
|
142
|
+
q.value = Math.max(.1, e), J.value = Math.max(.1, t - 12);
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect()), j.value = new ResizeObserver(e), M.value = A.value.parentNode, j.value.observe(M.value);
|
|
146
|
+
}
|
|
147
|
+
rt(L.value.percentage || 0);
|
|
148
|
+
}
|
|
149
|
+
let W = d(() => F.value.style.chart.layout.display === "vertical"), G = d(() => {
|
|
150
|
+
let e = F.value.style.chart.percentage.show, t = {
|
|
151
|
+
top: e ? 48 : 12,
|
|
152
|
+
left: e ? 64 : 16,
|
|
153
|
+
right: e ? 64 : 16,
|
|
154
|
+
bottom: e ? 48 : 12
|
|
155
|
+
};
|
|
156
|
+
return W.value ? {
|
|
157
|
+
top: F.value.style.chart.percentage.verticalPosition === "top" ? t.top : 3,
|
|
158
|
+
left: 3,
|
|
159
|
+
right: 3,
|
|
160
|
+
bottom: F.value.style.chart.percentage.verticalPosition === "bottom" ? t.bottom : 3
|
|
161
|
+
} : {
|
|
162
|
+
top: 0,
|
|
163
|
+
bottom: 0,
|
|
164
|
+
left: F.value.style.chart.percentage.horizontalPosition === "left" ? t.left : 16,
|
|
165
|
+
right: F.value.style.chart.percentage.horizontalPosition === "right" ? t.right : 10
|
|
166
|
+
};
|
|
167
|
+
}), K = d(() => Object.values(G.value).reduce((e, t) => e + t, 0)), q = x(F.value.style.chart.width), J = x(F.value.style.chart.height), Y = d(() => ({
|
|
168
|
+
height: J.value,
|
|
169
|
+
width: q.value
|
|
170
|
+
})), ot = d(() => ({
|
|
171
|
+
horizontal: {
|
|
172
|
+
x: Z.value.x + (F.value.style.chart.percentage.horizontalPosition === "left" ? 6 : 3),
|
|
173
|
+
y: Y.value.height / 2 - Z.value.fontSize / 2
|
|
174
|
+
},
|
|
175
|
+
vertical: {
|
|
176
|
+
x: Y.value.width / 2 - 20,
|
|
177
|
+
y: Z.value.y - Z.value.fontSize / 2
|
|
178
|
+
}
|
|
179
|
+
})[F.value.style.chart.layout.display]), X = d(() => W.value ? {
|
|
180
|
+
mark: (Y.value.height - K.value) / 100 * .5,
|
|
181
|
+
space: (Y.value.height - K.value) / 100 * .5
|
|
182
|
+
} : {
|
|
183
|
+
mark: (Y.value.width - K.value) / 100 * .5,
|
|
184
|
+
space: (Y.value.width - K.value) / 100 * .5
|
|
185
|
+
}), st = d(() => {
|
|
186
|
+
let e = [];
|
|
187
|
+
for (let t = 0; t < 100; t += 1) {
|
|
188
|
+
let n = F.value.style.chart.layout.ticks.gradient.show ? r(F.value.style.chart.layout.activeColor, t / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.layout.activeColor;
|
|
189
|
+
if (W.value) {
|
|
190
|
+
let r = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.width - G.value.left - G.value.right) / 100 / 3 : 0, i = G.value.left + 4 + r, a = Y.value.width - G.value.right - 4 - r, o = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, s = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, c = (a - i) / F.value.style.chart.layout.curveAngleX, l = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100);
|
|
191
|
+
e.push({
|
|
192
|
+
x1: i,
|
|
193
|
+
x2: a,
|
|
194
|
+
y1: o,
|
|
195
|
+
y2: s,
|
|
196
|
+
curve: `M ${i} ${o} C ${i + c} ${o - l}, ${a - c} ${s - l}, ${a} ${s}`,
|
|
197
|
+
color: n
|
|
198
|
+
});
|
|
199
|
+
} else {
|
|
200
|
+
let r = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.height - G.value.top - G.value.bottom) / 100 / 3 : 0, i = G.value.left + t * X.value.mark + t * X.value.space - X.value.mark, a = i, o = G.value.top + 4 + r, s = Y.value.height - G.value.bottom - 4 - r, c = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100), l = (s - o) / F.value.style.chart.layout.curveAngleX;
|
|
201
|
+
e.push({
|
|
202
|
+
x1: i,
|
|
203
|
+
x2: a,
|
|
204
|
+
y1: o,
|
|
205
|
+
y2: s,
|
|
206
|
+
curve: `M ${i} ${o} C ${i + c} ${o + l}, ${a + c} ${s - l}, ${a} ${s}`,
|
|
207
|
+
color: n
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return e;
|
|
212
|
+
}), Z = d(() => {
|
|
213
|
+
let e, t, n, r = F.value.style.chart.percentage.fontSize / 3;
|
|
214
|
+
return W.value ? F.value.style.chart.percentage.verticalPosition === "top" ? (e = Y.value.width / 2, t = G.value.top / 2, n = "middle") : F.value.style.chart.percentage.verticalPosition === "bottom" && (e = Y.value.width / 2, t = Y.value.height - G.value.bottom / 2 + r, n = "middle") : F.value.style.chart.percentage.horizontalPosition === "left" ? (e = 4, t = Y.value.height / 2 + r, n = "start") : F.value.style.chart.percentage.horizontalPosition === "right" && (e = Y.value.width - G.value.right + 8, t = Y.value.height / 2 + r, n = "start"), {
|
|
215
|
+
x: e,
|
|
216
|
+
y: t,
|
|
217
|
+
textAnchor: n,
|
|
218
|
+
bold: F.value.style.chart.percentage.bold,
|
|
219
|
+
fontSize: F.value.style.chart.percentage.fontSize,
|
|
220
|
+
fill: F.value.style.chart.percentage.color
|
|
221
|
+
};
|
|
222
|
+
}), Q = x(!1);
|
|
223
|
+
function ct(e) {
|
|
224
|
+
Q.value = e, Je.value += 1;
|
|
225
|
+
}
|
|
226
|
+
let $ = x(!1);
|
|
227
|
+
function lt() {
|
|
228
|
+
$.value = !$.value;
|
|
229
|
+
}
|
|
230
|
+
async function ut({ scale: e = 2 } = {}) {
|
|
231
|
+
if (!A.value) return;
|
|
232
|
+
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await oe({
|
|
233
|
+
domElement: A.value,
|
|
234
|
+
base64: !0,
|
|
235
|
+
img: !0,
|
|
236
|
+
scale: e
|
|
237
|
+
});
|
|
238
|
+
return {
|
|
239
|
+
imageUri: i,
|
|
240
|
+
base64: a,
|
|
241
|
+
title: F.value.style.chart.title.text,
|
|
242
|
+
width: t,
|
|
243
|
+
height: n,
|
|
244
|
+
aspectRatio: r
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
let dt = d(() => F.value.style.chart.backgroundColor), { exportSvg: ft, getSvg: pt } = ie({
|
|
248
|
+
svg: z,
|
|
249
|
+
title: d(() => F.value.style.chart.title),
|
|
250
|
+
backgroundColor: dt
|
|
251
|
+
});
|
|
252
|
+
async function mt({ isCb: e }) {
|
|
253
|
+
P.value = !0, await ye();
|
|
254
|
+
try {
|
|
255
|
+
if (e) {
|
|
256
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await pt();
|
|
257
|
+
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
258
|
+
blob: e,
|
|
259
|
+
url: t,
|
|
260
|
+
text: n,
|
|
261
|
+
dataUrl: r
|
|
262
|
+
}));
|
|
263
|
+
} else await Promise.resolve(ft());
|
|
264
|
+
} finally {
|
|
265
|
+
P.value = !1;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
function ht(e) {
|
|
269
|
+
if (e?.stage === "start") {
|
|
270
|
+
N.value = !0;
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
if (e?.stage === "end") {
|
|
274
|
+
N.value = !1;
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
tt();
|
|
278
|
+
}
|
|
279
|
+
async function gt() {
|
|
280
|
+
if (Ue("copyAlt", {
|
|
281
|
+
config: F.value,
|
|
282
|
+
dataset: L.value
|
|
283
|
+
}), !F.value.userOptions.callbacks.altCopy) {
|
|
284
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
await Promise.resolve(F.value.userOptions.callbacks.altCopy({
|
|
288
|
+
config: F.value,
|
|
289
|
+
dataset: L.value
|
|
290
|
+
}));
|
|
291
|
+
}
|
|
292
|
+
let _t = d(() => `${k.value}-title`), vt = d(() => `${k.value}-desc`), yt = d(() => o(F.value.style.chart.percentage.formatter, U.value, t({
|
|
293
|
+
v: U.value,
|
|
294
|
+
s: "%",
|
|
295
|
+
r: F.value.style.chart.percentage.rounding
|
|
296
|
+
}))), bt = d(() => F.value.style.chart.title.text || ""), xt = d(() => I.value ? "Loading data" : `Value: ${yt.value}`);
|
|
297
|
+
return ce({
|
|
298
|
+
getImage: ut,
|
|
299
|
+
generatePdf: et,
|
|
300
|
+
generateImage: tt,
|
|
301
|
+
generateSvg: mt,
|
|
302
|
+
toggleAnnotator: lt,
|
|
303
|
+
toggleFullscreen: ct,
|
|
304
|
+
copyAlt: gt
|
|
305
|
+
}), (e, t) => (b(), m("div", {
|
|
306
|
+
ref_key: "tiremarksChart",
|
|
307
|
+
ref: A,
|
|
308
|
+
class: _(`vue-data-ui-component vue-ui-tiremarks ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
309
|
+
style: y(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
|
|
310
|
+
id: k.value,
|
|
311
|
+
onMouseenter: t[0] ||= () => w(Qe)(!0),
|
|
312
|
+
onMouseleave: t[1] ||= () => w(Qe)(!1)
|
|
313
|
+
}, [
|
|
314
|
+
F.value.userOptions.buttons.annotator ? (b(), f(w(E), {
|
|
315
|
+
key: 0,
|
|
316
|
+
svgRef: w(z),
|
|
317
|
+
backgroundColor: F.value.style.chart.backgroundColor,
|
|
318
|
+
color: F.value.style.chart.color,
|
|
319
|
+
active: $.value,
|
|
320
|
+
isCursorPointer: Xe.value,
|
|
321
|
+
onClose: lt
|
|
322
|
+
}, {
|
|
323
|
+
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
324
|
+
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
325
|
+
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
|
|
326
|
+
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
|
|
327
|
+
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
|
|
328
|
+
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
|
|
329
|
+
_: 3
|
|
330
|
+
}, 8, [
|
|
331
|
+
"svgRef",
|
|
332
|
+
"backgroundColor",
|
|
333
|
+
"color",
|
|
334
|
+
"active",
|
|
335
|
+
"isCursorPointer"
|
|
336
|
+
])) : p("", !0),
|
|
337
|
+
nt.value ? (b(), m("div", {
|
|
338
|
+
key: 1,
|
|
339
|
+
ref_key: "noTitle",
|
|
340
|
+
ref: Ge,
|
|
341
|
+
class: "vue-data-ui-no-title-space",
|
|
342
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
343
|
+
}, null, 512)) : p("", !0),
|
|
344
|
+
F.value.style.chart.title.text ? (b(), m("div", {
|
|
345
|
+
key: 2,
|
|
346
|
+
ref_key: "chartTitle",
|
|
347
|
+
ref: Ke,
|
|
348
|
+
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
349
|
+
}, [(b(), f(se, {
|
|
350
|
+
key: `title_${Ye.value}`,
|
|
351
|
+
config: {
|
|
352
|
+
title: {
|
|
353
|
+
cy: "wheel-title",
|
|
354
|
+
...F.value.style.chart.title
|
|
355
|
+
},
|
|
356
|
+
subtitle: {
|
|
357
|
+
cy: "wheel-subtitle",
|
|
358
|
+
...F.value.style.chart.title.subtitle
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
362
|
+
F.value.userOptions.show && We.value && (w($e) || w(R)) ? (b(), f(w(Re), {
|
|
363
|
+
ref: "details",
|
|
364
|
+
key: `user_options_${Je.value}`,
|
|
365
|
+
backgroundColor: F.value.style.chart.backgroundColor,
|
|
366
|
+
color: F.value.style.chart.color,
|
|
367
|
+
isPrinting: w(V),
|
|
368
|
+
isImaging: w(H),
|
|
369
|
+
uid: k.value,
|
|
370
|
+
hasPdf: F.value.userOptions.buttons.pdf,
|
|
371
|
+
hasImg: F.value.userOptions.buttons.img,
|
|
372
|
+
hasSvg: F.value.userOptions.buttons.svg,
|
|
373
|
+
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
374
|
+
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
375
|
+
hasXls: !1,
|
|
376
|
+
isFullscreen: Q.value,
|
|
377
|
+
titles: { ...F.value.userOptions.buttonTitles },
|
|
378
|
+
chartElement: A.value,
|
|
379
|
+
position: F.value.userOptions.position,
|
|
380
|
+
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
381
|
+
isAnnotation: $.value,
|
|
382
|
+
callbacks: F.value.userOptions.callbacks,
|
|
383
|
+
printScale: F.value.userOptions.print.scale,
|
|
384
|
+
isCursorPointer: Xe.value,
|
|
385
|
+
onToggleFullscreen: ct,
|
|
386
|
+
onGeneratePdf: w(et),
|
|
387
|
+
onGenerateImage: ht,
|
|
388
|
+
onGenerateSvg: mt,
|
|
389
|
+
onToggleAnnotator: lt,
|
|
390
|
+
onCopyAlt: gt,
|
|
391
|
+
style: y({ visibility: w($e) ? w(R) ? "visible" : "hidden" : "visible" })
|
|
392
|
+
}, _e({ _: 2 }, [
|
|
393
|
+
e.$slots.menuIcon ? {
|
|
394
|
+
name: "menuIcon",
|
|
395
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", v(g({
|
|
396
|
+
isOpen: t,
|
|
397
|
+
color: n
|
|
398
|
+
})), void 0, !0)]),
|
|
399
|
+
key: "0"
|
|
400
|
+
} : void 0,
|
|
401
|
+
e.$slots.optionPdf ? {
|
|
402
|
+
name: "optionPdf",
|
|
403
|
+
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
404
|
+
key: "1"
|
|
405
|
+
} : void 0,
|
|
406
|
+
e.$slots.optionImg ? {
|
|
407
|
+
name: "optionImg",
|
|
408
|
+
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
409
|
+
key: "2"
|
|
410
|
+
} : void 0,
|
|
411
|
+
e.$slots.optionSvg ? {
|
|
412
|
+
name: "optionSvg",
|
|
413
|
+
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
414
|
+
key: "3"
|
|
415
|
+
} : void 0,
|
|
416
|
+
e.$slots.optionFullscreen ? {
|
|
417
|
+
name: "optionFullscreen",
|
|
418
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", v(g({
|
|
419
|
+
toggleFullscreen: t,
|
|
420
|
+
isFullscreen: n
|
|
421
|
+
})), void 0, !0)]),
|
|
422
|
+
key: "4"
|
|
423
|
+
} : void 0,
|
|
424
|
+
e.$slots.optionAnnotator ? {
|
|
425
|
+
name: "optionAnnotator",
|
|
426
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", v(g({
|
|
427
|
+
toggleAnnotator: t,
|
|
428
|
+
isAnnotator: n
|
|
429
|
+
})), void 0, !0)]),
|
|
430
|
+
key: "5"
|
|
431
|
+
} : void 0,
|
|
432
|
+
e.$slots.optionAltCopy ? {
|
|
433
|
+
name: "optionAltCopy",
|
|
434
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
|
|
435
|
+
key: "6"
|
|
436
|
+
} : void 0
|
|
437
|
+
]), 1032, [
|
|
438
|
+
"backgroundColor",
|
|
439
|
+
"color",
|
|
440
|
+
"isPrinting",
|
|
441
|
+
"isImaging",
|
|
442
|
+
"uid",
|
|
443
|
+
"hasPdf",
|
|
444
|
+
"hasImg",
|
|
445
|
+
"hasSvg",
|
|
446
|
+
"hasFullscreen",
|
|
447
|
+
"hasAltCopy",
|
|
448
|
+
"isFullscreen",
|
|
449
|
+
"titles",
|
|
450
|
+
"chartElement",
|
|
451
|
+
"position",
|
|
452
|
+
"hasAnnotator",
|
|
453
|
+
"isAnnotation",
|
|
454
|
+
"callbacks",
|
|
455
|
+
"printScale",
|
|
456
|
+
"isCursorPointer",
|
|
457
|
+
"onGeneratePdf",
|
|
458
|
+
"style"
|
|
459
|
+
])) : p("", !0),
|
|
460
|
+
(b(), m("svg", {
|
|
461
|
+
ref_key: "svgRef",
|
|
462
|
+
ref: z,
|
|
463
|
+
xmlns: w(s),
|
|
464
|
+
class: _({
|
|
465
|
+
"vue-data-ui-fullscreen--on": Q.value,
|
|
466
|
+
"vue-data-ui-fulscreen--off": !Q.value
|
|
467
|
+
}),
|
|
468
|
+
viewBox: `0 0 ${q.value} ${J.value}`,
|
|
469
|
+
style: y(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
|
|
470
|
+
role: "img",
|
|
471
|
+
"aria-labelledby": _t.value,
|
|
472
|
+
"aria-describedby": vt.value
|
|
473
|
+
}, [
|
|
474
|
+
ge("title", { id: _t.value }, C(bt.value), 9, De),
|
|
475
|
+
ge("desc", { id: vt.value }, C(xt.value), 9, Oe),
|
|
476
|
+
ve(w(ze)),
|
|
477
|
+
e.$slots["chart-background"] ? (b(), m("foreignObject", {
|
|
478
|
+
key: 0,
|
|
479
|
+
x: 0,
|
|
480
|
+
y: 0,
|
|
481
|
+
width: Y.value.width,
|
|
482
|
+
height: Y.value.height,
|
|
483
|
+
style: { pointerEvents: "none" }
|
|
484
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, ke)) : p("", !0),
|
|
485
|
+
F.value.style.chart.layout.curved ? (b(), m("g", Ae, [(b(!0), m(he, null, xe(st.value, (e, t) => (b(), m("path", {
|
|
486
|
+
d: e.curve,
|
|
487
|
+
"stroke-width": X.value.mark,
|
|
488
|
+
stroke: U.value >= t ? e.color : F.value.style.chart.layout.inactiveColor,
|
|
489
|
+
"stroke-linecap": "round",
|
|
490
|
+
fill: "none",
|
|
491
|
+
class: _({ "vue-ui-tick-animated": F.value.style.chart.animation.use && !w(D) && t <= U.value })
|
|
492
|
+
}, null, 10, je))), 256))])) : (b(), m("g", Me, [(b(!0), m(he, null, xe(st.value, (e, t) => (b(), m("line", {
|
|
493
|
+
x1: e.x1,
|
|
494
|
+
y1: e.y1,
|
|
495
|
+
x2: e.x2,
|
|
496
|
+
y2: e.y2,
|
|
497
|
+
"stroke-width": X.value.mark,
|
|
498
|
+
stroke: U.value >= t ? e.color : F.value.style.chart.layout.inactiveColor,
|
|
499
|
+
"stroke-linecap": "round"
|
|
500
|
+
}, null, 8, Ne))), 256))])),
|
|
501
|
+
F.value.style.chart.percentage.show ? (b(), m("g", {
|
|
502
|
+
key: 3,
|
|
503
|
+
role: "status",
|
|
504
|
+
"aria-live": "polite",
|
|
505
|
+
"aria-label": w(I) ? "..." : `${yt.value}`
|
|
506
|
+
}, [w(I) ? (b(), m("rect", {
|
|
507
|
+
key: 0,
|
|
508
|
+
x: ot.value.x,
|
|
509
|
+
y: ot.value.y,
|
|
510
|
+
width: 40,
|
|
511
|
+
height: Z.value.fontSize,
|
|
512
|
+
fill: "#6A6A6A80",
|
|
513
|
+
rx: 3
|
|
514
|
+
}, null, 8, Fe)) : (b(), m("text", {
|
|
515
|
+
key: 1,
|
|
516
|
+
"aria-hidden": "true",
|
|
517
|
+
x: Z.value.x,
|
|
518
|
+
y: Z.value.y,
|
|
519
|
+
"font-size": Z.value.fontSize,
|
|
520
|
+
fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(r)(F.value.style.chart.layout.activeColor, U.value / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.percentage.color,
|
|
521
|
+
"font-weight": Z.value.bold ? "bold" : "normal",
|
|
522
|
+
"text-anchor": Z.value.textAnchor
|
|
523
|
+
}, C(yt.value), 9, Ie))], 8, Pe)) : p("", !0),
|
|
524
|
+
S(e.$slots, "svg", { svg: {
|
|
525
|
+
...Y.value,
|
|
526
|
+
isPrintingImg: w(V) || w(H) || N.value,
|
|
527
|
+
isPrintingSvg: P.value
|
|
528
|
+
} }, void 0, !0)
|
|
529
|
+
], 14, Ee)),
|
|
530
|
+
e.$slots.watermark ? (b(), m("div", Le, [S(e.$slots, "watermark", v(g({ isPrinting: w(V) || w(H) || N.value || P.value })), void 0, !0)])) : p("", !0),
|
|
531
|
+
e.$slots.source ? (b(), m("div", {
|
|
532
|
+
key: 5,
|
|
533
|
+
ref_key: "source",
|
|
534
|
+
ref: qe,
|
|
535
|
+
dir: "auto"
|
|
536
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
537
|
+
S(e.$slots, "skeleton", {}, () => [w(I) ? (b(), f(re, { key: 0 })) : p("", !0)], !0)
|
|
538
|
+
], 46, Te));
|
|
539
|
+
}
|
|
540
|
+
}, [["__scopeId", "data-v-9757412f"]]);
|
|
541
|
+
//#endregion
|
|
542
|
+
export { we as n, E as t };
|