vue-data-ui 3.17.13 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-BU2Z7mfz.js +116 -0
- package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
- package/dist/BaseIcon-CL6Y7alf.js +499 -0
- package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
- package/dist/ColorPicker-BGbMrtup.js +255 -0
- package/dist/DataTable-ZG4GX2Zg.js +150 -0
- package/dist/Legend-BPb8i4aC.js +114 -0
- package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
- package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
- package/dist/PenAndPaper-DxBCVZAx.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-Dbug7CtK.js +141 -0
- package/dist/Slicer-SEdaKYPX.js +1144 -0
- package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
- package/dist/SparkTooltip-BaONR2nq.js +93 -0
- package/dist/Title-ByyzJzpc.js +87 -0
- package/dist/Tooltip-V6Z0Ko-1.js +307 -0
- package/dist/UserOptions-Gaw1761w.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-C9UOX1d2.js +237 -0
- package/dist/exposedLib-BQjH823l.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-NMY-_LiJ.js +74 -0
- package/dist/labelUtils-BiSegLOT.js +19 -0
- package/dist/lib-B83ZCydz.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-Ey2KFETK.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 +4766 -630
- 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-De0rTecW.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-KnOLHtlJ.js +7419 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-CcxL1gUU.js +10 -0
- package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-CMLF900n.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-D1REqS_k.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
- package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
- package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
- package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
- package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
- package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
- package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
- package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
- package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
- package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
- package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
- package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
- package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
- package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
- package/dist/vue-ui-digits-CcB3odN7.js +209 -0
- package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
- package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
- package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
- package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
- package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
- package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
- package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
- package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
- package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
- package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
- package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
- package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
- package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
- package/dist/vue-ui-molecule-D72kzel_.js +912 -0
- package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
- package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
- package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.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-zNFIXNt9.js +1966 -0
- package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
- package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
- package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
- package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
- package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
- package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
- package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
- package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
- package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
- package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
- package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
- package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
- package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
- package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
- package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
- package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
- package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
- package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
- package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
- package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
- package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
- package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
- package/dist/vue-ui-timer-DCbxsREb.js +439 -0
- package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
- package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
- package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
- package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
- package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
- package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
- package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
- package/dist/vue-ui-xy-canvas-DU7vFrQr.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,560 @@
|
|
|
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, jt as s, ot as c, t as l, zt as u } from "./lib-B83ZCydz.js";
|
|
3
|
+
import { t as d } from "./useConfig-KnOLHtlJ.js";
|
|
4
|
+
import { n as f, t as p } from "./BaseScanner-C7dmAref.js";
|
|
5
|
+
import { t as m } from "./useNestedProp-CcxL1gUU.js";
|
|
6
|
+
import { t as ee } from "./useThemeCheck-rFK9Zlb_.js";
|
|
7
|
+
import { t as te } from "./Shape-Dbug7CtK.js";
|
|
8
|
+
import { t as ne } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
9
|
+
import { c as re } from "./canvas-lib-DTaADQOK.js";
|
|
10
|
+
import { t as ie } from "./useResponsive-CrAInupd.js";
|
|
11
|
+
import { t as ae } from "./A11yDataTable-q2-8fSlJ.js";
|
|
12
|
+
import { t as oe } from "./useChartAccessibility-Do37qcw2.js";
|
|
13
|
+
import { t as se } from "./useFitSvgText-C-MEdAfe.js";
|
|
14
|
+
import { t as ce } from "./vue_ui_sparkhistogram-CJRENZ1C.js";
|
|
15
|
+
import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as le, createVNode as ue, defineAsyncComponent as de, guardReactiveProps as fe, nextTick as pe, normalizeClass as me, normalizeProps as he, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, toRefs as ge, unref as O, useCssVars as _e, watch as ve } from "vue";
|
|
16
|
+
//#region src/components/vue-ui-sparkhistogram.vue
|
|
17
|
+
var ye = /* @__PURE__ */ e({ default: () => k }), be = ["id"], xe = { key: 0 }, Se = { key: 1 }, Ce = { style: { position: "relative" } }, we = [
|
|
18
|
+
"xmlns",
|
|
19
|
+
"viewBox",
|
|
20
|
+
"aria-describedby"
|
|
21
|
+
], Te = ["width", "height"], Ee = ["id"], De = ["stop-color"], Oe = ["stop-color"], ke = ["id"], Ae = ["stop-color"], je = ["stop-color"], Me = ["id"], Ne = ["stop-color"], Pe = ["stop-color"], Fe = [
|
|
22
|
+
"height",
|
|
23
|
+
"width",
|
|
24
|
+
"fill",
|
|
25
|
+
"x",
|
|
26
|
+
"stroke",
|
|
27
|
+
"stroke-width",
|
|
28
|
+
"rx",
|
|
29
|
+
"stroke-dasharray"
|
|
30
|
+
], Ie = { key: 1 }, Le = [
|
|
31
|
+
"x",
|
|
32
|
+
"y",
|
|
33
|
+
"height",
|
|
34
|
+
"width",
|
|
35
|
+
"fill",
|
|
36
|
+
"stroke",
|
|
37
|
+
"stroke-width",
|
|
38
|
+
"rx"
|
|
39
|
+
], Re = { key: 2 }, ze = [
|
|
40
|
+
"x",
|
|
41
|
+
"y",
|
|
42
|
+
"font-size",
|
|
43
|
+
"font-weight",
|
|
44
|
+
"fill"
|
|
45
|
+
], Be = [
|
|
46
|
+
"x",
|
|
47
|
+
"y",
|
|
48
|
+
"font-size",
|
|
49
|
+
"fill"
|
|
50
|
+
], Ve = [
|
|
51
|
+
"x",
|
|
52
|
+
"y",
|
|
53
|
+
"font-size",
|
|
54
|
+
"fill"
|
|
55
|
+
], He = [
|
|
56
|
+
"height",
|
|
57
|
+
"width",
|
|
58
|
+
"x",
|
|
59
|
+
"onMouseover",
|
|
60
|
+
"onMouseleave",
|
|
61
|
+
"onClick"
|
|
62
|
+
], Ue = {
|
|
63
|
+
key: 0,
|
|
64
|
+
style: {
|
|
65
|
+
position: "absolute",
|
|
66
|
+
top: "100%",
|
|
67
|
+
left: "0",
|
|
68
|
+
width: "100%"
|
|
69
|
+
},
|
|
70
|
+
"data-dom-to-png-ignore": "",
|
|
71
|
+
"aria-hidden": "true"
|
|
72
|
+
}, k = /* @__PURE__ */ ne({
|
|
73
|
+
__name: "vue-ui-sparkhistogram",
|
|
74
|
+
props: {
|
|
75
|
+
config: {
|
|
76
|
+
type: Object,
|
|
77
|
+
default() {
|
|
78
|
+
return {};
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
dataset: {
|
|
82
|
+
type: Array,
|
|
83
|
+
default() {
|
|
84
|
+
return [];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
emits: ["selectDatapoint"],
|
|
89
|
+
setup(e, { emit: ne }) {
|
|
90
|
+
_e((e) => ({ v66b29b27: nt.value }));
|
|
91
|
+
let ye = de(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), { vue_ui_sparkhistogram: k } = d(), { isThemeValid: We, warnInvalidTheme: Ge } = ee(), A = e, j = w(n()), M = w(null), N = w(null), P = w(null), F = w(null), I = w(null), L = w(!1), R = w(null), z = w("pointer"), B = w(K()), Ke = g(() => u({
|
|
92
|
+
defaultConfig: { style: {
|
|
93
|
+
animation: { show: !1 },
|
|
94
|
+
backgroundColor: "#99999930"
|
|
95
|
+
} },
|
|
96
|
+
userConfig: B.value.skeletonConfig ?? {}
|
|
97
|
+
})), { loading: V, FINAL_DATASET: H, manualLoading: qe } = f({
|
|
98
|
+
...ge(A),
|
|
99
|
+
FINAL_CONFIG: B,
|
|
100
|
+
prepareConfig: K,
|
|
101
|
+
skeletonDataset: A.config?.skeletonDataset ?? [
|
|
102
|
+
{
|
|
103
|
+
value: 1,
|
|
104
|
+
intensity: .2,
|
|
105
|
+
color: "#CACACA"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
value: 2,
|
|
109
|
+
intensity: .3,
|
|
110
|
+
color: "#CACACA"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
value: 3,
|
|
114
|
+
intensity: .5,
|
|
115
|
+
color: "#CACACA"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
value: 5,
|
|
119
|
+
intensity: .7,
|
|
120
|
+
color: "#CACACA"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
value: 8,
|
|
124
|
+
intensity: .9,
|
|
125
|
+
color: "#CACACA"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
value: 13,
|
|
129
|
+
intensity: .95,
|
|
130
|
+
color: "#CACACA"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
value: 21,
|
|
134
|
+
intensity: 1,
|
|
135
|
+
color: "#CACACA"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
value: 13,
|
|
139
|
+
intensity: .95,
|
|
140
|
+
color: "#CACACA"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
value: 8,
|
|
144
|
+
intensity: .9,
|
|
145
|
+
color: "#CACACA"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
value: 5,
|
|
149
|
+
intensity: .7,
|
|
150
|
+
color: "#CACACA"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
value: 3,
|
|
154
|
+
intensity: .5,
|
|
155
|
+
color: "#CACACA"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
value: 2,
|
|
159
|
+
intensity: .3,
|
|
160
|
+
color: "#CACACA"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
value: 1,
|
|
164
|
+
intensity: .2,
|
|
165
|
+
color: "#CACACA"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
skeletonConfig: u({
|
|
169
|
+
defaultConfig: B.value,
|
|
170
|
+
userConfig: Ke.value
|
|
171
|
+
})
|
|
172
|
+
}), U = w(B.value.style.layout.width), W = w(B.value.style.layout.height), { svgRef: G } = oe({ config: B.value.style.title });
|
|
173
|
+
function K() {
|
|
174
|
+
let e = m({
|
|
175
|
+
userConfig: A.config,
|
|
176
|
+
defaultConfig: k
|
|
177
|
+
}), t = e.theme;
|
|
178
|
+
if (!t) return e;
|
|
179
|
+
if (!We.value(e)) return Ge(e), e;
|
|
180
|
+
let n = m({
|
|
181
|
+
userConfig: ce[t] || A.config,
|
|
182
|
+
defaultConfig: e
|
|
183
|
+
});
|
|
184
|
+
return m({
|
|
185
|
+
userConfig: A.config,
|
|
186
|
+
defaultConfig: n
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
S(() => {
|
|
190
|
+
J();
|
|
191
|
+
});
|
|
192
|
+
let q = g(() => !!B.value.debug);
|
|
193
|
+
function J() {
|
|
194
|
+
if (i(A.dataset) ? a({
|
|
195
|
+
componentName: "VueUiSparkHistogram",
|
|
196
|
+
type: "dataset",
|
|
197
|
+
debug: q.value
|
|
198
|
+
}) : A.dataset.forEach((e, t) => {
|
|
199
|
+
c({
|
|
200
|
+
datasetObject: e,
|
|
201
|
+
requiredAttributes: ["value"]
|
|
202
|
+
}).forEach((e) => {
|
|
203
|
+
a({
|
|
204
|
+
componentName: "VueUiSparkHistogram",
|
|
205
|
+
type: "datasetSerieAttribute",
|
|
206
|
+
property: e,
|
|
207
|
+
index: t,
|
|
208
|
+
debug: q.value
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
}), B.value.responsive) {
|
|
212
|
+
let e = re(() => {
|
|
213
|
+
let { width: e, height: t } = ie({
|
|
214
|
+
chart: P.value,
|
|
215
|
+
title: B.value.style.title.text ? N.value : null,
|
|
216
|
+
source: M.value
|
|
217
|
+
}), n = B.value.style.labels.timeLabel.show ? B.value.style.labels.timeLabel.fontSize * 2 : 0, r = B.value.style.labels.valueLabel.show ? B.value.style.labels.valueLabel.fontSize * 2 : 0;
|
|
218
|
+
requestAnimationFrame(() => {
|
|
219
|
+
U.value = Math.max(10, e), W.value = Math.max(10, t - 12 - n - r);
|
|
220
|
+
});
|
|
221
|
+
});
|
|
222
|
+
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = P.value.parentNode, F.value.observe(I.value);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
ve(() => A.config, (e) => {
|
|
226
|
+
B.value = K(), J();
|
|
227
|
+
}, { deep: !0 });
|
|
228
|
+
let Y = g(() => {
|
|
229
|
+
let e = B.value.style.labels.timeLabel.show ? B.value.style.labels.timeLabel.fontSize * 2 : 0, t = B.value.style.labels.valueLabel.show ? B.value.style.labels.valueLabel.fontSize * 2 : 0, n = W.value + e + t, r = U.value, i = B.value.style.layout.padding.top, a = n - B.value.style.layout.padding.bottom, o = B.value.style.layout.padding.left, s = r - B.value.style.layout.padding.right;
|
|
230
|
+
return {
|
|
231
|
+
bottom: a,
|
|
232
|
+
centerY: i + (n - i - B.value.style.layout.padding.bottom) / 2,
|
|
233
|
+
drawingHeight: n - B.value.style.layout.padding.top - B.value.style.layout.padding.bottom - e - t,
|
|
234
|
+
drawingWidth: r - B.value.style.layout.padding.left - B.value.style.layout.padding.right,
|
|
235
|
+
height: n,
|
|
236
|
+
left: o,
|
|
237
|
+
right: s,
|
|
238
|
+
top: i,
|
|
239
|
+
width: r
|
|
240
|
+
};
|
|
241
|
+
}), Je = g(() => Math.max(...H.value.map((e) => Math.abs(e.value || 0))));
|
|
242
|
+
function Ye(e) {
|
|
243
|
+
return Math.abs(e) / Je.value;
|
|
244
|
+
}
|
|
245
|
+
let X = g(() => H.value.map((e, t) => {
|
|
246
|
+
let n = Ye(e.value || 0), r = Y.value.drawingHeight * n, i = Y.value.drawingWidth / H.value.length, a = i * (B.value.style.bars.gap / 100), o = i - a, c = Y.value.centerY - r / 2, l = Y.value.left + (a / 2 + t * i), u = Y.value.left + t * i, d = e.intensity === void 0 ? 100 : Math.round(e.intensity * 100), f = e.color ? e.color : e.value >= 0 ? s(B.value.style.bars.colors.positive, d) : s(B.value.style.bars.colors.negative, d), p = e.color ? e.color : e.value >= 0 ? B.value.style.bars.colors.positive : B.value.style.bars.colors.negative, m = e.color ? `url(#gradient_datapoint_${t}_${j.value})` : e.value >= 0 ? `url(#gradient_positive_${t}_${j.value})` : `url(#gradient_negative_${t}_${j.value})`, ee = l + o / 2;
|
|
247
|
+
return {
|
|
248
|
+
...e,
|
|
249
|
+
color: f,
|
|
250
|
+
gradient: m,
|
|
251
|
+
height: r,
|
|
252
|
+
intensity: d,
|
|
253
|
+
proportion: n,
|
|
254
|
+
stroke: p,
|
|
255
|
+
textAnchor: ee,
|
|
256
|
+
trapX: u,
|
|
257
|
+
unitWidth: i,
|
|
258
|
+
width: o,
|
|
259
|
+
x: l,
|
|
260
|
+
y: c
|
|
261
|
+
};
|
|
262
|
+
}));
|
|
263
|
+
function Xe(e, n) {
|
|
264
|
+
return o(B.value.style.labels.value.formatter, e.value, t({
|
|
265
|
+
p: B.value.style.labels.value.prefix,
|
|
266
|
+
v: e.value,
|
|
267
|
+
s: B.value.style.labels.value.suffix,
|
|
268
|
+
r: B.value.style.labels.value.rounding
|
|
269
|
+
}), {
|
|
270
|
+
datapoint: e,
|
|
271
|
+
seriesIndex: n
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
let Z = w(null), Ze = ne;
|
|
275
|
+
function Qe(e, t) {
|
|
276
|
+
Ze("selectDatapoint", {
|
|
277
|
+
datapoint: e,
|
|
278
|
+
index: t
|
|
279
|
+
}), B.value.events.datapointClick && B.value.events.datapointClick({
|
|
280
|
+
datapoint: e,
|
|
281
|
+
seriesIndex: t
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
function $e(e, t) {
|
|
285
|
+
z.value = "pointer", R.value = t, Z.value = t, B.value.events.datapointEnter && B.value.events.datapointEnter({
|
|
286
|
+
datapoint: e,
|
|
287
|
+
seriesIndex: t
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
function et(e, t) {
|
|
291
|
+
z.value !== "keyboard" && (Z.value = null, R.value = null, B.value.events.datapointLeave && B.value.events.datapointLeave({
|
|
292
|
+
datapoint: e,
|
|
293
|
+
seriesIndex: t
|
|
294
|
+
}));
|
|
295
|
+
}
|
|
296
|
+
function tt() {
|
|
297
|
+
z.value !== "keyboard" && (Z.value = null, R.value = null);
|
|
298
|
+
}
|
|
299
|
+
let nt = g(() => `${B.value.style.animation.speedMs}ms`), { fitText: Q } = se({
|
|
300
|
+
svgRef: G,
|
|
301
|
+
unitWidth: g(() => Y.value.drawingWidth / H.value.length * .9)
|
|
302
|
+
});
|
|
303
|
+
S(async () => {
|
|
304
|
+
await pe(), Q(".vue-ui-sparkhistogram-top-label", B.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", B.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", B.value.style.labels.timeLabel.minFontSize);
|
|
305
|
+
}), ve([
|
|
306
|
+
U,
|
|
307
|
+
W,
|
|
308
|
+
() => H.value
|
|
309
|
+
], async () => {
|
|
310
|
+
await pe(), Q(".vue-ui-sparkhistogram-top-label", B.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", B.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", B.value.style.labels.timeLabel.minFontSize);
|
|
311
|
+
});
|
|
312
|
+
function rt() {
|
|
313
|
+
L.value = !0;
|
|
314
|
+
}
|
|
315
|
+
function it() {
|
|
316
|
+
L.value = !1, R.value = null, z.value = "pointer", Z.value = null;
|
|
317
|
+
}
|
|
318
|
+
function at(e) {
|
|
319
|
+
if (!G.value || document.activeElement !== G.value || !X.value.length) return;
|
|
320
|
+
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
321
|
+
if (!t && !n && !r && !i) return;
|
|
322
|
+
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
323
|
+
R.value = null, Z.value = null, z.value = "pointer";
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
if (r) {
|
|
327
|
+
if (Z.value === null) return;
|
|
328
|
+
let e = X.value[Z.value];
|
|
329
|
+
if (!e) return;
|
|
330
|
+
Qe(e, Z.value);
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
z.value = "keyboard";
|
|
334
|
+
let a = R.value;
|
|
335
|
+
a === null || a < 0 || a >= X.value.length ? a = n ? 0 : X.value.length - 1 : n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1)), R.value = a, Z.value = a;
|
|
336
|
+
let o = X.value[a];
|
|
337
|
+
B.value.events.datapointEnter && B.value.events.datapointEnter({
|
|
338
|
+
datapoint: o,
|
|
339
|
+
seriesIndex: a
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
let $ = g(() => ({
|
|
343
|
+
headers: [
|
|
344
|
+
B.value.a11y?.translations?.series ?? "Series",
|
|
345
|
+
B.value.a11y?.translations?.time ?? "Time",
|
|
346
|
+
B.value.a11y?.translations?.value ?? "Value",
|
|
347
|
+
B.value.a11y?.translations?.valueLabel ?? "Label"
|
|
348
|
+
],
|
|
349
|
+
rows: X.value.map((e, t) => [
|
|
350
|
+
t + 1,
|
|
351
|
+
e.timeLabel ?? "",
|
|
352
|
+
e.value ?? "",
|
|
353
|
+
e.valueLabel ?? ""
|
|
354
|
+
])
|
|
355
|
+
}));
|
|
356
|
+
return (e, n) => (C(), y("div", {
|
|
357
|
+
class: "vue-data-ui-component vue-ui-spark-histogram",
|
|
358
|
+
ref_key: "histogramChart",
|
|
359
|
+
ref: P,
|
|
360
|
+
style: x(`width:100%;background:${B.value.style.backgroundColor};font-family:${B.value.style.fontFamily}`),
|
|
361
|
+
onMouseleave: tt
|
|
362
|
+
}, [
|
|
363
|
+
b("div", {
|
|
364
|
+
id: `chart-instructions-${j.value}`,
|
|
365
|
+
class: "sr-only"
|
|
366
|
+
}, [b("p", null, D(B.value.a11y.translations.keyboardNavigation), 1)], 8, be),
|
|
367
|
+
$.value?.rows?.length ? (C(), _(ae, {
|
|
368
|
+
key: 0,
|
|
369
|
+
uid: j.value,
|
|
370
|
+
head: $.value.headers,
|
|
371
|
+
body: $.value.rows,
|
|
372
|
+
notice: B.value.a11y.translations.tableAvailable,
|
|
373
|
+
caption: B.value.a11y.translations.tableCaption
|
|
374
|
+
}, null, 8, [
|
|
375
|
+
"uid",
|
|
376
|
+
"head",
|
|
377
|
+
"body",
|
|
378
|
+
"notice",
|
|
379
|
+
"caption"
|
|
380
|
+
])) : v("", !0),
|
|
381
|
+
B.value.style.title.text ? (C(), y("div", {
|
|
382
|
+
key: 1,
|
|
383
|
+
ref_key: "chartTitle",
|
|
384
|
+
ref: N,
|
|
385
|
+
style: x(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${B.value.style.title.margin};padding: 0 6px;text-align:${B.value.style.title.textAlign}`)
|
|
386
|
+
}, [b("div", { style: x(`font-size:${B.value.style.title.fontSize}px;color:${B.value.style.title.color};font-weight:${B.value.style.title.bold ? "bold" : "normal"}`) }, [
|
|
387
|
+
le(D(B.value.style.title.text) + " ", 1),
|
|
388
|
+
Z.value === null ? v("", !0) : (C(), y("span", xe, "- " + D(X.value[Z.value].timeLabel || "") + " " + D(O(o)(B.value.style.labels.value.formatter, X.value[Z.value].value, O(t)({
|
|
389
|
+
p: B.value.style.labels.value.prefix,
|
|
390
|
+
v: X.value[Z.value].value,
|
|
391
|
+
s: B.value.style.labels.value.suffix,
|
|
392
|
+
r: B.value.style.labels.value.rounding
|
|
393
|
+
}), {
|
|
394
|
+
datapoint: X.value[Z.value],
|
|
395
|
+
seriesIndex: Z.value
|
|
396
|
+
})), 1)),
|
|
397
|
+
![void 0, null].includes(Z.value) && ![null, void 0].includes(X.value[Z.value].valueLabel) ? (C(), y("span", Se, D(` (${X.value[Z.value].valueLabel || 0})`), 1)) : v("", !0)
|
|
398
|
+
], 4), B.value.style.title.subtitle.text ? (C(), y("div", {
|
|
399
|
+
key: 0,
|
|
400
|
+
style: x(`font-size:${B.value.style.title.subtitle.fontSize}px;color:${B.value.style.title.subtitle.color};font-weight:${B.value.style.title.subtitle.bold ? "bold" : "normal"}`)
|
|
401
|
+
}, D(B.value.style.title.subtitle.text), 5)) : v("", !0)], 4)) : v("", !0),
|
|
402
|
+
b("div", Ce, [(C(), y("svg", {
|
|
403
|
+
ref_key: "svgRef",
|
|
404
|
+
ref: G,
|
|
405
|
+
xmlns: O(l),
|
|
406
|
+
viewBox: `0 0 ${Y.value.width} ${Y.value.height}`,
|
|
407
|
+
style: { overflow: "visible" },
|
|
408
|
+
"aria-describedby": `chart-instructions-${j.value}`,
|
|
409
|
+
tabindex: "0",
|
|
410
|
+
onFocus: rt,
|
|
411
|
+
onBlur: it,
|
|
412
|
+
onKeydown: at
|
|
413
|
+
}, [
|
|
414
|
+
ue(O(ye)),
|
|
415
|
+
e.$slots["chart-background"] ? (C(), y("foreignObject", {
|
|
416
|
+
key: 0,
|
|
417
|
+
x: 0,
|
|
418
|
+
y: 0,
|
|
419
|
+
width: Y.value.width,
|
|
420
|
+
height: Y.value.height,
|
|
421
|
+
style: { pointerEvents: "none" }
|
|
422
|
+
}, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Te)) : v("", !0),
|
|
423
|
+
b("defs", null, [
|
|
424
|
+
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("radialGradient", {
|
|
425
|
+
id: `gradient_positive_${t}_${j.value}`,
|
|
426
|
+
cy: "50%",
|
|
427
|
+
cx: "50%",
|
|
428
|
+
r: "50%",
|
|
429
|
+
fx: "50%",
|
|
430
|
+
fy: "50%"
|
|
431
|
+
}, [b("stop", {
|
|
432
|
+
offset: "0%",
|
|
433
|
+
"stop-color": O(s)(O(r)(B.value.style.bars.colors.positive, .05), e.intensity)
|
|
434
|
+
}, null, 8, De), b("stop", {
|
|
435
|
+
offset: "100%",
|
|
436
|
+
"stop-color": O(s)(B.value.style.bars.colors.positive, e.intensity)
|
|
437
|
+
}, null, 8, Oe)], 8, Ee))), 256)),
|
|
438
|
+
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("radialGradient", {
|
|
439
|
+
id: `gradient_negative_${t}_${j.value}`,
|
|
440
|
+
cy: "50%",
|
|
441
|
+
cx: "50%",
|
|
442
|
+
r: "50%",
|
|
443
|
+
fx: "50%",
|
|
444
|
+
fy: "50%"
|
|
445
|
+
}, [b("stop", {
|
|
446
|
+
offset: "0%",
|
|
447
|
+
"stop-color": O(s)(O(r)(B.value.style.bars.colors.negative, .05), e.intensity)
|
|
448
|
+
}, null, 8, Ae), b("stop", {
|
|
449
|
+
offset: "100%",
|
|
450
|
+
"stop-color": O(s)(B.value.style.bars.colors.negative, e.intensity)
|
|
451
|
+
}, null, 8, je)], 8, ke))), 256)),
|
|
452
|
+
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("radialGradient", {
|
|
453
|
+
id: `gradient_datapoint_${t}_${j.value}`,
|
|
454
|
+
cy: "50%",
|
|
455
|
+
cx: "50%",
|
|
456
|
+
r: "50%",
|
|
457
|
+
fx: "50%",
|
|
458
|
+
fy: "50%"
|
|
459
|
+
}, [b("stop", {
|
|
460
|
+
offset: "0%",
|
|
461
|
+
"stop-color": O(s)(O(r)(e.color, .05), e.intensity)
|
|
462
|
+
}, null, 8, Ne), b("stop", {
|
|
463
|
+
offset: "100%",
|
|
464
|
+
"stop-color": O(s)(e.color, e.intensity)
|
|
465
|
+
}, null, 8, Pe)], 8, Me))), 256))
|
|
466
|
+
]),
|
|
467
|
+
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [Z.value !== null && Z.value === t ? (C(), y("rect", {
|
|
468
|
+
key: 0,
|
|
469
|
+
height: Y.value.height,
|
|
470
|
+
width: e.unitWidth,
|
|
471
|
+
fill: B.value.style.selector.fill,
|
|
472
|
+
x: e.trapX,
|
|
473
|
+
y: 0,
|
|
474
|
+
stroke: B.value.style.selector.stroke,
|
|
475
|
+
"stroke-width": B.value.style.selector.strokeWidth,
|
|
476
|
+
rx: B.value.style.selector.borderRadius,
|
|
477
|
+
"stroke-dasharray": B.value.style.selector.strokeDasharray
|
|
478
|
+
}, null, 8, Fe)) : v("", !0)]))), 256)),
|
|
479
|
+
!B.value.style.bars.shape || B.value.style.bars.shape === "square" ? (C(), y("g", Ie, [(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("rect", {
|
|
480
|
+
x: e.x,
|
|
481
|
+
y: e.y,
|
|
482
|
+
height: e.height,
|
|
483
|
+
width: e.width,
|
|
484
|
+
fill: B.value.style.bars.colors.gradient.show ? e.gradient : e.color,
|
|
485
|
+
stroke: e.stroke,
|
|
486
|
+
"stroke-width": B.value.style.bars.strokeWidth,
|
|
487
|
+
rx: `${B.value.style.bars.borderRadius * e.proportion / 12}%`,
|
|
488
|
+
class: me({ "vue-ui-sparkhistogram-shape": B.value.style.animation.show })
|
|
489
|
+
}, null, 10, Le))), 256))])) : (C(), y("g", Re, [(C(!0), y(h, null, T(X.value, (e, t) => (C(), _(te, {
|
|
490
|
+
plot: {
|
|
491
|
+
x: e.x + e.width / 2,
|
|
492
|
+
y: e.y + e.height / 2
|
|
493
|
+
},
|
|
494
|
+
color: B.value.style.bars.colors.gradient.show ? e.gradient : e.color,
|
|
495
|
+
shape: B.value.style.bars.shape,
|
|
496
|
+
radius: Math.min(e.height * .4, e.width * .4),
|
|
497
|
+
class: me({ "vue-ui-sparkhistogram-shape": B.value.style.animation.show })
|
|
498
|
+
}, null, 8, [
|
|
499
|
+
"plot",
|
|
500
|
+
"color",
|
|
501
|
+
"shape",
|
|
502
|
+
"radius",
|
|
503
|
+
"class"
|
|
504
|
+
]))), 256))])),
|
|
505
|
+
O(V) ? v("", !0) : (C(), y(h, { key: 3 }, [
|
|
506
|
+
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [B.value.style.labels.value.show ? (C(), y("text", {
|
|
507
|
+
key: 0,
|
|
508
|
+
class: "vue-ui-sparkhistogram-top-label",
|
|
509
|
+
"text-anchor": "middle",
|
|
510
|
+
x: e.textAnchor,
|
|
511
|
+
y: e.y - B.value.style.labels.value.fontSize / 3 + B.value.style.labels.value.offsetY,
|
|
512
|
+
"font-size": B.value.style.labels.value.fontSize,
|
|
513
|
+
"font-weight": B.value.style.labels.value.bold ? "bold" : "normal",
|
|
514
|
+
fill: B.value.style.labels.value.color
|
|
515
|
+
}, D(Xe(e, t)), 9, ze)) : v("", !0)]))), 256)),
|
|
516
|
+
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [e.valueLabel && B.value.style.labels.valueLabel.show ? (C(), y("text", {
|
|
517
|
+
key: 0,
|
|
518
|
+
class: "vue-ui-sparkhistogram-bottom-label",
|
|
519
|
+
x: e.textAnchor,
|
|
520
|
+
y: e.y + e.height + B.value.style.labels.valueLabel.fontSize,
|
|
521
|
+
"font-size": B.value.style.labels.valueLabel.fontSize,
|
|
522
|
+
"text-anchor": "middle",
|
|
523
|
+
fill: B.value.style.labels.valueLabel.color
|
|
524
|
+
}, D(e.valueLabel), 9, Be)) : v("", !0)]))), 256)),
|
|
525
|
+
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [e.timeLabel && B.value.style.labels.timeLabel.show ? (C(), y("text", {
|
|
526
|
+
key: 0,
|
|
527
|
+
class: "vue-ui-sparkhistogram-time-label",
|
|
528
|
+
x: e.textAnchor,
|
|
529
|
+
y: Y.value.height,
|
|
530
|
+
"font-size": B.value.style.labels.timeLabel.fontSize,
|
|
531
|
+
fill: B.value.style.labels.timeLabel.color,
|
|
532
|
+
"text-anchor": "middle"
|
|
533
|
+
}, D(e.timeLabel), 9, Ve)) : v("", !0)]))), 256))
|
|
534
|
+
], 64)),
|
|
535
|
+
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [b("rect", {
|
|
536
|
+
height: Y.value.height,
|
|
537
|
+
width: e.unitWidth,
|
|
538
|
+
fill: "transparent",
|
|
539
|
+
x: e.trapX,
|
|
540
|
+
y: 0,
|
|
541
|
+
onMouseover: (n) => $e(e, t),
|
|
542
|
+
onMouseleave: (n) => et(e, t),
|
|
543
|
+
onClick: () => Qe(e, t)
|
|
544
|
+
}, null, 40, He)]))), 256))
|
|
545
|
+
], 40, we)), e.$slots.hint ? (C(), y("div", Ue, [E(e.$slots, "hint", he(fe({
|
|
546
|
+
hint: B.value.a11y.translations.keyboardNavigation,
|
|
547
|
+
isVisible: L.value
|
|
548
|
+
})), void 0, !0)])) : v("", !0)]),
|
|
549
|
+
e.$slots.source ? (C(), y("div", {
|
|
550
|
+
key: 2,
|
|
551
|
+
ref_key: "source",
|
|
552
|
+
ref: M,
|
|
553
|
+
dir: "auto"
|
|
554
|
+
}, [E(e.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
|
|
555
|
+
E(e.$slots, "skeleton", {}, () => [O(V) ? (C(), _(p, { key: 0 })) : v("", !0)], !0)
|
|
556
|
+
], 36));
|
|
557
|
+
}
|
|
558
|
+
}, [["__scopeId", "data-v-8a87ff32"]]);
|
|
559
|
+
//#endregion
|
|
560
|
+
export { ye as n, k as t };
|