vue-data-ui 3.17.2 → 3.17.4
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 +228 -228
- package/dist/{A11yDataTable-KcVAX2cP.js → A11yDataTable-BpmuNomI.js} +1 -1
- package/dist/{Arrow-Bn-9n3bm.js → Arrow-dSvLFssU.js} +1 -1
- package/dist/{BaseDraggableDialog-CIb-iD9g.js → BaseDraggableDialog-Di8Hlru3.js} +26 -24
- package/dist/{BaseIcon-Cb3zzG6s.js → BaseIcon-DX0hTWa-.js} +11 -5
- package/dist/{BaseLegendToggle-BQVIawmA.js → BaseLegendToggle-cMP8M2u0.js} +4 -4
- package/dist/BaseScanner-BON3d_Sx.js +38 -0
- package/dist/{BaseZoomControls-DievbOeJ.js → BaseZoomControls-CVSC1-SU.js} +11 -5
- package/dist/{ColorPicker-B0mV4xzu.js → ColorPicker-bAxGcXK0.js} +38 -22
- package/dist/{DataTable-DT2kIdQ6.js → DataTable-cMnb68Ik.js} +15 -11
- package/dist/{Legend-CS7Xo5LK.js → Legend-DGN5lY60.js} +15 -12
- package/dist/{NonSvgPenAndPaper-VyJFyJ6X.js → NonSvgPenAndPaper-B6E0zEYe.js} +34 -12
- package/dist/{PackageVersion-PjmqM4wb.js → PackageVersion-DVvvyQXB.js} +1 -1
- package/dist/{PenAndPaper-Ct3qJ4lA.js → PenAndPaper-CJDoB5H9.js} +87 -27
- package/dist/{Shape-BKRUOeKk.js → Shape-CxJ5_Rre.js} +1 -1
- package/dist/{Slicer-CIHwwuNR.js → Slicer-D7UcO8sN.js} +75 -33
- package/dist/{SlicerPreview-BMx3cqgX.js → SlicerPreview-D_CgrN_7.js} +198 -102
- package/dist/{SparkTooltip-BorBpltj.js → SparkTooltip-D4bM-kfz.js} +5 -5
- package/dist/{Title-BeMKE1cj.js → Title-BbKoiBk2.js} +1 -1
- package/dist/{Tooltip-C8KGyqQk.js → Tooltip-Cvt7Fi0Q.js} +9 -2
- package/dist/{UserOptions-rW2fRf3V.js → UserOptions-DVduN6X7.js} +48 -14
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-pattern-seed.js +5 -0
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-CtxhhdWb.js → dom-to-png-DGvx6i5V.js} +21 -6
- package/dist/{exposedLib-DlqmhBx3.js → exposedLib-sJvY1pST.js} +1 -1
- package/dist/{geoProjections-D0Vxsz_O.js → geoProjections-BFq2sOBY.js} +19 -11
- package/dist/{img-LXxMLmCg.js → img-CjTQXS0U.js} +31 -7
- package/dist/{labelUtils-CqTHa20R.js → labelUtils-DX9oyq3C.js} +2 -6
- package/dist/{lib-DBptbyyI.js → lib-DMzrGQHK.js} +337 -124
- package/dist/patternUtils-BINhU4Ky.js +615 -0
- package/dist/{pdf-B4tTdfvl.js → pdf-C4H4o1Cj.js} +11 -2
- package/dist/style.css +1 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +500 -451
- package/dist/types/vue-data-ui.d.ts +2124 -1786
- package/dist/types/vue-ui-3d-bar.d.ts +10 -7
- package/dist/types/vue-ui-accordion.d.ts +2 -4
- package/dist/types/vue-ui-age-pyramid.d.ts +10 -8
- package/dist/types/vue-ui-annotator.d.ts +3 -3
- package/dist/types/vue-ui-bullet.d.ts +10 -7
- package/dist/types/vue-ui-bump.d.ts +9 -6
- package/dist/types/vue-ui-candlestick.d.ts +10 -7
- package/dist/types/vue-ui-carousel-table.d.ts +2 -2
- package/dist/types/vue-ui-chestnut.d.ts +9 -6
- package/dist/types/vue-ui-chord.d.ts +10 -7
- package/dist/types/vue-ui-circle-pack.d.ts +10 -7
- package/dist/types/vue-ui-cursor.d.ts +2 -2
- package/dist/types/vue-ui-dag.d.ts +10 -7
- package/dist/types/vue-ui-dashboard.d.ts +3 -3
- package/dist/types/vue-ui-digits.d.ts +2 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +11 -8
- package/dist/types/vue-ui-donut.d.ts +11 -8
- package/dist/types/vue-ui-dumbbell.d.ts +11 -8
- package/dist/types/vue-ui-flow.d.ts +11 -8
- package/dist/types/vue-ui-funnel.d.ts +11 -8
- package/dist/types/vue-ui-galaxy.d.ts +11 -8
- package/dist/types/vue-ui-gauge.d.ts +11 -8
- package/dist/types/vue-ui-geo.d.ts +13 -6
- package/dist/types/vue-ui-gizmo.d.ts +2 -5
- package/dist/types/vue-ui-heatmap.d.ts +11 -8
- package/dist/types/vue-ui-history-plot.d.ts +11 -8
- package/dist/types/vue-ui-horizontal-bar.d.ts +11 -8
- package/dist/types/vue-ui-icon.d.ts +2 -4
- package/dist/types/vue-ui-kpi.d.ts +2 -4
- package/dist/types/vue-ui-mini-loader.d.ts +4 -4
- package/dist/types/vue-ui-molecule.d.ts +11 -8
- package/dist/types/vue-ui-mood-radar.d.ts +11 -8
- package/dist/types/vue-ui-nested-donuts.d.ts +11 -8
- package/dist/types/vue-ui-onion.d.ts +11 -8
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +11 -8
- package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
- package/dist/types/vue-ui-pattern.d.ts +2 -4
- package/dist/types/vue-ui-quadrant.d.ts +11 -8
- package/dist/types/vue-ui-quick-chart.d.ts +11 -8
- package/dist/types/vue-ui-radar.d.ts +11 -8
- package/dist/types/vue-ui-rating.d.ts +4 -4
- package/dist/types/vue-ui-relation-circle.d.ts +11 -8
- package/dist/types/vue-ui-ridgeline.d.ts +11 -8
- package/dist/types/vue-ui-rings.d.ts +11 -8
- package/dist/types/vue-ui-scatter.d.ts +11 -8
- package/dist/types/vue-ui-skeleton.d.ts +2 -4
- package/dist/types/vue-ui-smiley.d.ts +2 -5
- package/dist/types/vue-ui-spark-trend.d.ts +2 -4
- package/dist/types/vue-ui-sparkbar.d.ts +4 -4
- package/dist/types/vue-ui-sparkgauge.d.ts +4 -4
- package/dist/types/vue-ui-sparkhistogram.d.ts +4 -4
- package/dist/types/vue-ui-sparkline.d.ts +4 -4
- package/dist/types/vue-ui-sparkstackbar.d.ts +4 -4
- package/dist/types/vue-ui-stackbar.d.ts +11 -8
- package/dist/types/vue-ui-stackline.d.ts +11 -8
- package/dist/types/vue-ui-strip-plot.d.ts +11 -8
- package/dist/types/vue-ui-table-heatmap.d.ts +4 -4
- package/dist/types/vue-ui-table-sparkline.d.ts +4 -4
- package/dist/types/vue-ui-table.d.ts +4 -4
- package/dist/types/vue-ui-thermometer.d.ts +11 -8
- package/dist/types/vue-ui-timer.d.ts +2 -4
- package/dist/types/vue-ui-tiremarks.d.ts +11 -8
- package/dist/types/vue-ui-treemap.d.ts +11 -8
- package/dist/types/vue-ui-vertical-bar.d.ts +11 -8
- package/dist/types/vue-ui-waffle.d.ts +11 -8
- package/dist/types/vue-ui-wheel.d.ts +11 -8
- package/dist/types/vue-ui-word-cloud.d.ts +11 -8
- package/dist/types/vue-ui-world.d.ts +11 -8
- package/dist/types/vue-ui-xy-canvas.d.ts +11 -8
- package/dist/types/vue-ui-xy.d.ts +9 -6
- package/dist/{useAutoSizeLabelsInsideViewbox-DX7LdvFX.js → useAutoSizeLabelsInsideViewbox-izlGDfwu.js} +1 -1
- package/dist/{useChartAccessibility-9icAAmYg.js → useChartAccessibility-cp6XQtqi.js} +4 -1
- package/dist/{useConfig-C40HvGpD.js → useConfig-DTHxOX6V.js} +2 -8
- package/dist/{useNestedProp-Bf5XFbs8.js → useNestedProp-DH0BEVVS.js} +1 -1
- package/dist/{useObjectBindings-DOokNdQ_.js → useObjectBindings-BjkVidN3.js} +17 -6
- package/dist/{usePanZoom-CDF7rb3o.js → usePanZoom-BbDhcKWf.js} +11 -2
- package/dist/{usePrefersMotion-CUKm8_t8.js → usePrefersMotion-Co0nj1eS.js} +3 -1
- package/dist/{usePrinter-CEpYU3r5.js → usePrinter-C4t8DdQ-.js} +3 -8
- package/dist/{useStableElementSize-DCNs0Tx7.js → useStableElementSize-C48ZVcZQ.js} +4 -1
- package/dist/{useSvgExport-ByUukOZt.js → useSvgExport-BTG4hVPO.js} +154 -34
- package/dist/{useTableResponsive-Cbx-ACcP.js → useTableResponsive-BpfiEtzR.js} +7 -3
- package/dist/{useThemeCheck-D1ZYXUwG.js → useThemeCheck-C9Ccl7U9.js} +4 -2
- package/dist/{useTimeLabelCollider-CIsgDrl9.js → useTimeLabelCollider-D3JeJ6Ye.js} +13 -5
- package/dist/{useTimeLabels-C-A2uZKi.js → useTimeLabels-Cv0tD9In.js} +22 -6
- package/dist/{useUserOptionState-BIvW1Kz7.js → useUserOptionState-B7Ej974k.js} +6 -4
- package/dist/utils.js +28 -25
- package/dist/{vue-data-ui-CGsJdqdx.js → vue-data-ui-C0aMSe2G.js} +138 -72
- package/dist/vue-data-ui.js +103 -99
- package/dist/{vue-ui-3d-bar-Bnm0MPNr.js → vue-ui-3d-bar-CzXlsUEJ.js} +328 -101
- package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
- package/dist/{vue-ui-age-pyramid-vvDMkGxw.js → vue-ui-age-pyramid-DMZ9oYFv.js} +180 -73
- package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
- package/dist/{vue-ui-bullet-CM5pK6Sj.js → vue-ui-bullet-CEH6eppC.js} +92 -35
- package/dist/{vue-ui-bump-DAo_mV8M.js → vue-ui-bump-JbKFEe2A.js} +205 -102
- package/dist/{vue-ui-candlestick-DsiOmaj1.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
- package/dist/{vue-ui-carousel-table-DUl5G_cg.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
- package/dist/{vue-ui-chestnut-DMMCHoHB.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
- package/dist/{vue-ui-chord-75V7kRrX.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
- package/dist/{vue-ui-circle-pack-BGXpEnmN.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
- package/dist/{vue-ui-cursor-BpPe14qk.js → vue-ui-cursor-B3cJoPku.js} +14 -7
- package/dist/{vue-ui-dag-D20FezGN.js → vue-ui-dag-DCq1VMNd.js} +261 -99
- package/dist/{vue-ui-dashboard-BcafQJ1Y.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
- package/dist/{vue-ui-digits-gFYVzPkE.js → vue-ui-digits-D16SQQ4M.js} +6 -6
- package/dist/{vue-ui-donut-Cz7rvM7I.js → vue-ui-donut-d0LLrlKG.js} +532 -157
- package/dist/{vue-ui-donut-evolution-Cp0-8Deg.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
- package/dist/{vue-ui-dumbbell-D_13qNsV.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
- package/dist/{vue-ui-flow-BuaVAVvN.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
- package/dist/{vue-ui-funnel-Cv18o2ax.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
- package/dist/{vue-ui-galaxy-n17IGTDo.js → vue-ui-galaxy-DR9WL985.js} +161 -69
- package/dist/{vue-ui-gauge-2bks6sjR.js → vue-ui-gauge-x96W5OPx.js} +95 -37
- package/dist/{vue-ui-geo-D6BoOtIP.js → vue-ui-geo-qTfYs5qi.js} +113 -43
- package/dist/{vue-ui-gizmo-CV07ZThl.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
- package/dist/{vue-ui-heatmap-DfbRacVm.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
- package/dist/{vue-ui-history-plot-5sPJfAue.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-BhMvbsvs.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
- package/dist/{vue-ui-kpi-P92uuJ_R.js → vue-ui-kpi-CEx3P3Do.js} +35 -14
- package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
- package/dist/{vue-ui-molecule-BI6zROGn.js → vue-ui-molecule-B_19tjnI.js} +226 -120
- package/dist/{vue-ui-mood-radar-Byc_xyhw.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
- package/dist/{vue-ui-nested-donuts-BZu1ntbw.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
- package/dist/{vue-ui-onion-O2tKgfXh.js → vue-ui-onion-DMMLNXVu.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-CbDGHCzy.js → vue-ui-parallel-coordinate-plot-YokoI6TP.js} +262 -84
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +36 -0
- package/dist/{vue-ui-quadrant-CPgUkle7.js → vue-ui-quadrant-D8vI4gIT.js} +240 -88
- package/dist/{vue-ui-quick-chart-CgDH-APs.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
- package/dist/{vue-ui-radar-Belp_vQe.js → vue-ui-radar-DQWyecSD.js} +186 -68
- package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
- package/dist/{vue-ui-relation-circle-AWRDIZzF.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
- package/dist/{vue-ui-ridgeline-Cao4_cEs.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
- package/dist/{vue-ui-rings-Dl462hDH.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
- package/dist/{vue-ui-scatter-BrVEK5YL.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
- package/dist/{vue-ui-skeleton-BsTtcR3x.js → vue-ui-skeleton-xLPY1FKW.js} +161 -144
- package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
- package/dist/{vue-ui-spark-trend-CbtI2yPI.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
- package/dist/{vue-ui-sparkbar-DgrwoANx.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
- package/dist/{vue-ui-sparkgauge-CepspA5J.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-BAVAkN0U.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
- package/dist/{vue-ui-sparkline-BMcsfaUW.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-BAzr99-y.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
- package/dist/{vue-ui-stackbar-BnepTc3z.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
- package/dist/{vue-ui-stackline-p3Utm59w.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
- package/dist/{vue-ui-strip-plot-BfYmPTZT.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
- package/dist/{vue-ui-table-BNmt2bQy.js → vue-ui-table-BPLypaeX.js} +339 -122
- package/dist/{vue-ui-table-heatmap-C6rSAGDu.js → vue-ui-table-heatmap-CWp_5d1z.js} +89 -25
- package/dist/{vue-ui-table-sparkline-BMt2q1FS.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
- package/dist/{vue-ui-thermometer-Bf22bEzP.js → vue-ui-thermometer-B9nc954A.js} +129 -48
- package/dist/{vue-ui-timer-CkEPkE7B.js → vue-ui-timer-BDfbM4vl.js} +32 -15
- package/dist/{vue-ui-tiremarks-ltmjDwug.js → vue-ui-tiremarks-DHV_oSQ0.js} +90 -35
- package/dist/vue-ui-treemap-DLWOi_EG.js +1748 -0
- package/dist/{vue-ui-waffle-AUF7SKGN.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
- package/dist/{vue-ui-wheel-Dn1nmx7r.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
- package/dist/{vue-ui-word-cloud-Bll30XSc.js → vue-ui-word-cloud-DexRxuh1.js} +443 -350
- package/dist/vue-ui-world-DAJgtvpz.js +14451 -0
- package/dist/{vue-ui-xy-BGC31q8v.js → vue-ui-xy-Cv-50xHj.js} +840 -252
- package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BNUX13xH.js} +448 -159
- package/package.json +120 -119
- package/dist/BaseScanner-BhhkKVoj.js +0 -30
- package/dist/vue-ui-treemap-CGbTrwdn.js +0 -1726
- package/dist/vue-ui-world-CiNUxqIq.js +0 -1011
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { useCssVars as ze, defineAsyncComponent as Te, ref as h, computed as k, toRefs as Ee, onMounted as Q, watch as Z, nextTick as ee, openBlock as a, createElementBlock as s, normalizeStyle as I, createElementVNode as f, toDisplayString as m, createBlock as K, createCommentVNode as d, createTextVNode as Me, unref as c, createVNode as Fe, renderSlot as N, Fragment as g, renderList as
|
|
2
|
-
import { j as De, t as le, o as He, q as ae, r as Ve, u as C, k as se, l as oe, X as Re, v as P } from "./lib-
|
|
1
|
+
import { useCssVars as ze, defineAsyncComponent as Te, ref as h, computed as k, toRefs as Ee, onMounted as Q, watch as Z, nextTick as ee, openBlock as a, createElementBlock as s, normalizeStyle as I, createElementVNode as f, toDisplayString as m, createBlock as K, createCommentVNode as d, createTextVNode as Me, unref as c, createVNode as Fe, renderSlot as N, Fragment as g, renderList as b, normalizeClass as te, normalizeProps as Ie, guardReactiveProps as Ne } from "vue";
|
|
2
|
+
import { j as De, t as le, o as He, q as ae, r as Ve, u as C, k as se, l as oe, X as Re, v as P } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as We, u as Be } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Oe } from "./useConfig-
|
|
5
|
-
import { u as Ke, B as Pe } from "./BaseScanner-
|
|
4
|
+
import { u as Oe } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as Ke, B as Pe } from "./BaseScanner-BON3d_Sx.js";
|
|
6
6
|
import { u as je } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
|
-
import { u as j } from "./useNestedProp-
|
|
8
|
-
import { u as Ue } from "./useThemeCheck-
|
|
9
|
-
import { u as Xe } from "./useChartAccessibility-
|
|
10
|
-
import { _ as qe } from "./Shape-
|
|
7
|
+
import { u as j } from "./useNestedProp-DH0BEVVS.js";
|
|
8
|
+
import { u as Ue } from "./useThemeCheck-C9Ccl7U9.js";
|
|
9
|
+
import { u as Xe } from "./useChartAccessibility-cp6XQtqi.js";
|
|
10
|
+
import { _ as qe } from "./Shape-CxJ5_Rre.js";
|
|
11
11
|
import Ge from "./vue_ui_sparkhistogram-GBdzIVvS.js";
|
|
12
|
-
import { A as Ye } from "./A11yDataTable-
|
|
12
|
+
import { A as Ye } from "./A11yDataTable-BpmuNomI.js";
|
|
13
13
|
import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "relative" } }, lt = ["xmlns", "viewBox", "aria-describedby"], at = ["width", "height"], st = ["id"], ot = ["stop-color"], nt = ["stop-color"], it = ["id"], ut = ["stop-color"], rt = ["stop-color"], vt = ["id"], ct = ["stop-color"], dt = ["stop-color"], yt = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], ht = { key: 1 }, ft = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], gt = { key: 2 },
|
|
14
|
+
const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "relative" } }, lt = ["xmlns", "viewBox", "aria-describedby"], at = ["width", "height"], st = ["id"], ot = ["stop-color"], nt = ["stop-color"], it = ["id"], ut = ["stop-color"], rt = ["stop-color"], vt = ["id"], ct = ["stop-color"], dt = ["stop-color"], yt = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], ht = { key: 1 }, ft = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], gt = { key: 2 }, bt = ["x", "y", "font-size", "font-weight", "fill"], pt = ["x", "y", "font-size", "fill"], mt = ["x", "y", "font-size", "fill"], _t = ["height", "width", "x", "onMouseover", "onMouseleave", "onClick"], kt = {
|
|
15
15
|
key: 0,
|
|
16
16
|
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
17
17
|
"data-dom-to-png-ignore": "",
|
|
@@ -35,9 +35,11 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
35
35
|
emits: ["selectDatapoint"],
|
|
36
36
|
setup(ne, { emit: ie }) {
|
|
37
37
|
ze((l) => ({
|
|
38
|
-
|
|
38
|
+
v66b29b27: _e.value
|
|
39
39
|
}));
|
|
40
|
-
const ue = Te(
|
|
40
|
+
const ue = Te(
|
|
41
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
42
|
+
), { vue_ui_sparkhistogram: re } = Oe(), { isThemeValid: ve, warnInvalidTheme: ce } = Ue(), _ = ne, p = h(De()), U = h(null), X = h(null), D = h(null), S = h(null), E = h(null), H = h(!1), x = h(null), A = h("pointer"), e = h(W()), de = k(() => le({
|
|
41
43
|
defaultConfig: {
|
|
42
44
|
style: {
|
|
43
45
|
animation: { show: !1 },
|
|
@@ -68,7 +70,9 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
68
70
|
defaultConfig: e.value,
|
|
69
71
|
userConfig: de.value
|
|
70
72
|
})
|
|
71
|
-
}), V = h(e.value.style.layout.width), R = h(e.value.style.layout.height), { svgRef: M } = Xe({
|
|
73
|
+
}), V = h(e.value.style.layout.width), R = h(e.value.style.layout.height), { svgRef: M } = Xe({
|
|
74
|
+
config: e.value.style.title
|
|
75
|
+
});
|
|
72
76
|
function W() {
|
|
73
77
|
const l = j({
|
|
74
78
|
userConfig: _.config,
|
|
@@ -116,15 +120,22 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
116
120
|
source: U.value
|
|
117
121
|
}), n = e.value.style.labels.timeLabel.show ? e.value.style.labels.timeLabel.fontSize * 2 : 0, v = e.value.style.labels.valueLabel.show ? e.value.style.labels.valueLabel.fontSize * 2 : 0;
|
|
118
122
|
requestAnimationFrame(() => {
|
|
119
|
-
V.value = Math.max(10, o), R.value = Math.max(
|
|
123
|
+
V.value = Math.max(10, o), R.value = Math.max(
|
|
124
|
+
10,
|
|
125
|
+
t - 12 - n - v
|
|
126
|
+
);
|
|
120
127
|
});
|
|
121
128
|
});
|
|
122
129
|
S.value && (E.value && S.value.unobserve(E.value), S.value.disconnect()), S.value = new ResizeObserver(l), E.value = D.value.parentNode, S.value.observe(E.value);
|
|
123
130
|
}
|
|
124
131
|
}
|
|
125
|
-
Z(
|
|
126
|
-
|
|
127
|
-
|
|
132
|
+
Z(
|
|
133
|
+
() => _.config,
|
|
134
|
+
(l) => {
|
|
135
|
+
e.value = W(), Y();
|
|
136
|
+
},
|
|
137
|
+
{ deep: !0 }
|
|
138
|
+
);
|
|
128
139
|
const y = k(() => {
|
|
129
140
|
const l = e.value.style.labels.timeLabel.show ? e.value.style.labels.timeLabel.fontSize * 2 : 0, o = e.value.style.labels.valueLabel.show ? e.value.style.labels.valueLabel.fontSize * 2 : 0, t = R.value + l + o, n = V.value, v = e.value.style.layout.padding.top, r = t - e.value.style.layout.padding.bottom, L = e.value.style.layout.padding.left, $ = n - e.value.style.layout.padding.right, F = v + (t - v - e.value.style.layout.padding.bottom) / 2, O = t - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - l - o, T = n - e.value.style.layout.padding.left - e.value.style.layout.padding.right;
|
|
130
141
|
return {
|
|
@@ -138,12 +149,20 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
138
149
|
top: v,
|
|
139
150
|
width: n
|
|
140
151
|
};
|
|
141
|
-
}), ye = k(() => Math.max(
|
|
152
|
+
}), ye = k(() => Math.max(
|
|
153
|
+
...z.value.map((l) => Math.abs(l.value || 0))
|
|
154
|
+
));
|
|
142
155
|
function he(l) {
|
|
143
156
|
return Math.abs(l) / ye.value;
|
|
144
157
|
}
|
|
145
158
|
const i = k(() => z.value.map((l, o) => {
|
|
146
|
-
const t = he(l.value || 0), n = y.value.drawingHeight * t, v = y.value.drawingWidth / z.value.length, r = v * (e.value.style.bars.gap / 100), L = v - r, $ = y.value.centerY - n / 2, F = y.value.left + (r / 2 + o * v), O = y.value.left + o * v, T = typeof l.intensity > "u" ? 100 : Math.round(l.intensity * 100), we = l.color ? l.color : l.value >= 0 ? C(
|
|
159
|
+
const t = he(l.value || 0), n = y.value.drawingHeight * t, v = y.value.drawingWidth / z.value.length, r = v * (e.value.style.bars.gap / 100), L = v - r, $ = y.value.centerY - n / 2, F = y.value.left + (r / 2 + o * v), O = y.value.left + o * v, T = typeof l.intensity > "u" ? 100 : Math.round(l.intensity * 100), we = l.color ? l.color : l.value >= 0 ? C(
|
|
160
|
+
e.value.style.bars.colors.positive,
|
|
161
|
+
T
|
|
162
|
+
) : C(
|
|
163
|
+
e.value.style.bars.colors.negative,
|
|
164
|
+
T
|
|
165
|
+
), Le = l.color ? l.color : l.value >= 0 ? e.value.style.bars.colors.positive : e.value.style.bars.colors.negative, $e = l.color ? `url(#gradient_datapoint_${o}_${p.value})` : l.value >= 0 ? `url(#gradient_positive_${o}_${p.value})` : `url(#gradient_negative_${o}_${p.value})`, Se = F + L / 2;
|
|
147
166
|
return {
|
|
148
167
|
...l,
|
|
149
168
|
color: we,
|
|
@@ -175,25 +194,54 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
175
194
|
}
|
|
176
195
|
const u = h(null), ge = ie;
|
|
177
196
|
function J(l, o) {
|
|
178
|
-
ge("selectDatapoint", { datapoint: l, index: o }), e.value.events.datapointClick && e.value.events.datapointClick({
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
197
|
+
ge("selectDatapoint", { datapoint: l, index: o }), e.value.events.datapointClick && e.value.events.datapointClick({
|
|
198
|
+
datapoint: l,
|
|
199
|
+
seriesIndex: o
|
|
200
|
+
});
|
|
182
201
|
}
|
|
183
202
|
function be(l, o) {
|
|
184
|
-
A.value
|
|
203
|
+
A.value = "pointer", x.value = o, u.value = o, e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
204
|
+
datapoint: l,
|
|
205
|
+
seriesIndex: o
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
function pe(l, o) {
|
|
209
|
+
A.value !== "keyboard" && (u.value = null, x.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
210
|
+
datapoint: l,
|
|
211
|
+
seriesIndex: o
|
|
212
|
+
}));
|
|
185
213
|
}
|
|
186
214
|
function me() {
|
|
187
215
|
A.value !== "keyboard" && (u.value = null, x.value = null);
|
|
188
216
|
}
|
|
189
|
-
const _e = k(() => `${e.value.style.animation.speedMs}ms`), ke = k(
|
|
217
|
+
const _e = k(() => `${e.value.style.animation.speedMs}ms`), ke = k(
|
|
218
|
+
() => y.value.drawingWidth / z.value.length * 0.9
|
|
219
|
+
), { fitText: w } = je({
|
|
190
220
|
svgRef: M,
|
|
191
221
|
unitWidth: ke
|
|
192
222
|
});
|
|
193
223
|
Q(async () => {
|
|
194
|
-
await ee(), w(
|
|
224
|
+
await ee(), w(
|
|
225
|
+
".vue-ui-sparkhistogram-top-label",
|
|
226
|
+
e.value.style.labels.value.minFontSize
|
|
227
|
+
), w(
|
|
228
|
+
".vue-ui-sparkhistogram-bottom-label",
|
|
229
|
+
e.value.style.labels.valueLabel.minFontSize
|
|
230
|
+
), w(
|
|
231
|
+
".vue-ui-sparkhistogram-time-label",
|
|
232
|
+
e.value.style.labels.timeLabel.minFontSize
|
|
233
|
+
);
|
|
195
234
|
}), Z([V, R, () => z.value], async () => {
|
|
196
|
-
await ee(), w(
|
|
235
|
+
await ee(), w(
|
|
236
|
+
".vue-ui-sparkhistogram-top-label",
|
|
237
|
+
e.value.style.labels.value.minFontSize
|
|
238
|
+
), w(
|
|
239
|
+
".vue-ui-sparkhistogram-bottom-label",
|
|
240
|
+
e.value.style.labels.valueLabel.minFontSize
|
|
241
|
+
), w(
|
|
242
|
+
".vue-ui-sparkhistogram-time-label",
|
|
243
|
+
e.value.style.labels.timeLabel.minFontSize
|
|
244
|
+
);
|
|
197
245
|
});
|
|
198
246
|
function Ce() {
|
|
199
247
|
H.value = !0;
|
|
@@ -204,7 +252,8 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
204
252
|
function Ae(l) {
|
|
205
253
|
if (!M.value || document.activeElement !== M.value || !i.value.length) return;
|
|
206
254
|
const o = l.key === "ArrowLeft", t = l.key === "ArrowRight", n = l.key === "Enter" || l.key === " ", v = l.key === "Escape";
|
|
207
|
-
if (!o && !t && !n && !v)
|
|
255
|
+
if (!o && !t && !n && !v)
|
|
256
|
+
return;
|
|
208
257
|
if (l.preventDefault(), l.stopPropagation(), v) {
|
|
209
258
|
x.value = null, u.value = null, A.value = "pointer";
|
|
210
259
|
return;
|
|
@@ -247,14 +296,14 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
247
296
|
onMouseleave: me
|
|
248
297
|
}, [
|
|
249
298
|
f("div", {
|
|
250
|
-
id: `chart-instructions-${
|
|
299
|
+
id: `chart-instructions-${p.value}`,
|
|
251
300
|
class: "sr-only"
|
|
252
301
|
}, [
|
|
253
302
|
f("p", null, m(e.value.a11y.translations.keyboardNavigation), 1)
|
|
254
303
|
], 8, Qe),
|
|
255
304
|
B.value?.rows?.length ? (a(), K(Ye, {
|
|
256
305
|
key: 0,
|
|
257
|
-
uid:
|
|
306
|
+
uid: p.value,
|
|
258
307
|
head: B.value.headers,
|
|
259
308
|
body: B.value.rows,
|
|
260
309
|
notice: e.value.a11y.translations.tableAvailable,
|
|
@@ -279,9 +328,14 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
279
328
|
s: e.value.style.labels.value.suffix,
|
|
280
329
|
r: e.value.style.labels.value.rounding
|
|
281
330
|
}),
|
|
282
|
-
{
|
|
331
|
+
{
|
|
332
|
+
datapoint: i.value[u.value],
|
|
333
|
+
seriesIndex: u.value
|
|
334
|
+
}
|
|
283
335
|
)), 1)) : d("", !0),
|
|
284
|
-
![void 0, null].includes(u.value) && ![null, void 0].includes(
|
|
336
|
+
![void 0, null].includes(u.value) && ![null, void 0].includes(
|
|
337
|
+
i.value[u.value].valueLabel
|
|
338
|
+
) ? (a(), s("span", et, m(` (${i.value[u.value].valueLabel || 0})`), 1)) : d("", !0)
|
|
285
339
|
], 4),
|
|
286
340
|
e.value.style.title.subtitle.text ? (a(), s("div", {
|
|
287
341
|
key: 0,
|
|
@@ -295,7 +349,7 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
295
349
|
xmlns: c(Re),
|
|
296
350
|
viewBox: `0 0 ${y.value.width} ${y.value.height}`,
|
|
297
351
|
style: { overflow: "visible" },
|
|
298
|
-
"aria-describedby": `chart-instructions-${
|
|
352
|
+
"aria-describedby": `chart-instructions-${p.value}`,
|
|
299
353
|
tabindex: "0",
|
|
300
354
|
onFocus: Ce,
|
|
301
355
|
onBlur: xe,
|
|
@@ -315,8 +369,8 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
315
369
|
N(l.$slots, "chart-background", {}, void 0, !0)
|
|
316
370
|
], 8, at)) : d("", !0),
|
|
317
371
|
f("defs", null, [
|
|
318
|
-
(a(!0), s(g, null,
|
|
319
|
-
id: `gradient_positive_${n}_${
|
|
372
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("radialGradient", {
|
|
373
|
+
id: `gradient_positive_${n}_${p.value}`,
|
|
320
374
|
cy: "50%",
|
|
321
375
|
cx: "50%",
|
|
322
376
|
r: "50%",
|
|
@@ -325,15 +379,24 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
325
379
|
}, [
|
|
326
380
|
f("stop", {
|
|
327
381
|
offset: "0%",
|
|
328
|
-
"stop-color": c(C)(
|
|
382
|
+
"stop-color": c(C)(
|
|
383
|
+
c(P)(
|
|
384
|
+
e.value.style.bars.colors.positive,
|
|
385
|
+
0.05
|
|
386
|
+
),
|
|
387
|
+
t.intensity
|
|
388
|
+
)
|
|
329
389
|
}, null, 8, ot),
|
|
330
390
|
f("stop", {
|
|
331
391
|
offset: "100%",
|
|
332
|
-
"stop-color": c(C)(
|
|
392
|
+
"stop-color": c(C)(
|
|
393
|
+
e.value.style.bars.colors.positive,
|
|
394
|
+
t.intensity
|
|
395
|
+
)
|
|
333
396
|
}, null, 8, nt)
|
|
334
397
|
], 8, st))), 256)),
|
|
335
|
-
(a(!0), s(g, null,
|
|
336
|
-
id: `gradient_negative_${n}_${
|
|
398
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("radialGradient", {
|
|
399
|
+
id: `gradient_negative_${n}_${p.value}`,
|
|
337
400
|
cy: "50%",
|
|
338
401
|
cx: "50%",
|
|
339
402
|
r: "50%",
|
|
@@ -342,15 +405,24 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
342
405
|
}, [
|
|
343
406
|
f("stop", {
|
|
344
407
|
offset: "0%",
|
|
345
|
-
"stop-color": c(C)(
|
|
408
|
+
"stop-color": c(C)(
|
|
409
|
+
c(P)(
|
|
410
|
+
e.value.style.bars.colors.negative,
|
|
411
|
+
0.05
|
|
412
|
+
),
|
|
413
|
+
t.intensity
|
|
414
|
+
)
|
|
346
415
|
}, null, 8, ut),
|
|
347
416
|
f("stop", {
|
|
348
417
|
offset: "100%",
|
|
349
|
-
"stop-color": c(C)(
|
|
418
|
+
"stop-color": c(C)(
|
|
419
|
+
e.value.style.bars.colors.negative,
|
|
420
|
+
t.intensity
|
|
421
|
+
)
|
|
350
422
|
}, null, 8, rt)
|
|
351
423
|
], 8, it))), 256)),
|
|
352
|
-
(a(!0), s(g, null,
|
|
353
|
-
id: `gradient_datapoint_${n}_${
|
|
424
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("radialGradient", {
|
|
425
|
+
id: `gradient_datapoint_${n}_${p.value}`,
|
|
354
426
|
cy: "50%",
|
|
355
427
|
cx: "50%",
|
|
356
428
|
r: "50%",
|
|
@@ -359,7 +431,10 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
359
431
|
}, [
|
|
360
432
|
f("stop", {
|
|
361
433
|
offset: "0%",
|
|
362
|
-
"stop-color": c(C)(
|
|
434
|
+
"stop-color": c(C)(
|
|
435
|
+
c(P)(t.color, 0.05),
|
|
436
|
+
t.intensity
|
|
437
|
+
)
|
|
363
438
|
}, null, 8, ct),
|
|
364
439
|
f("stop", {
|
|
365
440
|
offset: "100%",
|
|
@@ -367,7 +442,7 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
367
442
|
}, null, 8, dt)
|
|
368
443
|
], 8, vt))), 256))
|
|
369
444
|
]),
|
|
370
|
-
(a(!0), s(g, null,
|
|
445
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("g", null, [
|
|
371
446
|
u.value !== null && u.value === n ? (a(), s("rect", {
|
|
372
447
|
key: 0,
|
|
373
448
|
height: y.value.height,
|
|
@@ -382,7 +457,7 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
382
457
|
}, null, 8, yt)) : d("", !0)
|
|
383
458
|
]))), 256)),
|
|
384
459
|
!e.value.style.bars.shape || e.value.style.bars.shape === "square" ? (a(), s("g", ht, [
|
|
385
|
-
(a(!0), s(g, null,
|
|
460
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("rect", {
|
|
386
461
|
x: t.x,
|
|
387
462
|
y: t.y,
|
|
388
463
|
height: t.height,
|
|
@@ -391,19 +466,26 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
391
466
|
stroke: t.stroke,
|
|
392
467
|
"stroke-width": e.value.style.bars.strokeWidth,
|
|
393
468
|
rx: `${e.value.style.bars.borderRadius * t.proportion / 12}%`,
|
|
394
|
-
class: te({
|
|
469
|
+
class: te({
|
|
470
|
+
"vue-ui-sparkhistogram-shape": e.value.style.animation.show
|
|
471
|
+
})
|
|
395
472
|
}, null, 10, ft))), 256))
|
|
396
473
|
])) : (a(), s("g", gt, [
|
|
397
|
-
(a(!0), s(g, null,
|
|
398
|
-
plot: {
|
|
474
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), K(qe, {
|
|
475
|
+
plot: {
|
|
476
|
+
x: t.x + t.width / 2,
|
|
477
|
+
y: t.y + t.height / 2
|
|
478
|
+
},
|
|
399
479
|
color: e.value.style.bars.colors.gradient.show ? t.gradient : t.color,
|
|
400
480
|
shape: e.value.style.bars.shape,
|
|
401
481
|
radius: Math.min(t.height * 0.4, t.width * 0.4),
|
|
402
|
-
class: te({
|
|
482
|
+
class: te({
|
|
483
|
+
"vue-ui-sparkhistogram-shape": e.value.style.animation.show
|
|
484
|
+
})
|
|
403
485
|
}, null, 8, ["plot", "color", "shape", "radius", "class"]))), 256))
|
|
404
486
|
])),
|
|
405
487
|
c(q) ? d("", !0) : (a(), s(g, { key: 3 }, [
|
|
406
|
-
(a(!0), s(g, null,
|
|
488
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("g", null, [
|
|
407
489
|
e.value.style.labels.value.show ? (a(), s("text", {
|
|
408
490
|
key: 0,
|
|
409
491
|
class: "vue-ui-sparkhistogram-top-label",
|
|
@@ -413,9 +495,9 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
413
495
|
"font-size": e.value.style.labels.value.fontSize,
|
|
414
496
|
"font-weight": e.value.style.labels.value.bold ? "bold" : "normal",
|
|
415
497
|
fill: e.value.style.labels.value.color
|
|
416
|
-
}, m(fe(t, n)), 9,
|
|
498
|
+
}, m(fe(t, n)), 9, bt)) : d("", !0)
|
|
417
499
|
]))), 256)),
|
|
418
|
-
(a(!0), s(g, null,
|
|
500
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("g", null, [
|
|
419
501
|
t.valueLabel && e.value.style.labels.valueLabel.show ? (a(), s("text", {
|
|
420
502
|
key: 0,
|
|
421
503
|
class: "vue-ui-sparkhistogram-bottom-label",
|
|
@@ -424,9 +506,9 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
424
506
|
"font-size": e.value.style.labels.valueLabel.fontSize,
|
|
425
507
|
"text-anchor": "middle",
|
|
426
508
|
fill: e.value.style.labels.valueLabel.color
|
|
427
|
-
}, m(t.valueLabel), 9,
|
|
509
|
+
}, m(t.valueLabel), 9, pt)) : d("", !0)
|
|
428
510
|
]))), 256)),
|
|
429
|
-
(a(!0), s(g, null,
|
|
511
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("g", null, [
|
|
430
512
|
t.timeLabel && e.value.style.labels.timeLabel.show ? (a(), s("text", {
|
|
431
513
|
key: 0,
|
|
432
514
|
class: "vue-ui-sparkhistogram-time-label",
|
|
@@ -438,21 +520,24 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
438
520
|
}, m(t.timeLabel), 9, mt)) : d("", !0)
|
|
439
521
|
]))), 256))
|
|
440
522
|
], 64)),
|
|
441
|
-
(a(!0), s(g, null,
|
|
523
|
+
(a(!0), s(g, null, b(i.value, (t, n) => (a(), s("g", null, [
|
|
442
524
|
f("rect", {
|
|
443
525
|
height: y.value.height,
|
|
444
526
|
width: t.unitWidth,
|
|
445
527
|
fill: "transparent",
|
|
446
528
|
x: t.trapX,
|
|
447
529
|
y: 0,
|
|
448
|
-
onMouseover: (v) =>
|
|
449
|
-
onMouseleave: (v) =>
|
|
530
|
+
onMouseover: (v) => be(t, n),
|
|
531
|
+
onMouseleave: (v) => pe(t, n),
|
|
450
532
|
onClick: () => J(t, n)
|
|
451
533
|
}, null, 40, _t)
|
|
452
534
|
]))), 256))
|
|
453
535
|
], 40, lt)),
|
|
454
536
|
l.$slots.hint ? (a(), s("div", kt, [
|
|
455
|
-
N(l.$slots, "hint", Ie(Ne({
|
|
537
|
+
N(l.$slots, "hint", Ie(Ne({
|
|
538
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
539
|
+
isVisible: H.value
|
|
540
|
+
})), void 0, !0)
|
|
456
541
|
])) : d("", !0)
|
|
457
542
|
]),
|
|
458
543
|
l.$slots.source ? (a(), s("div", {
|
|
@@ -468,7 +553,7 @@ const Qe = ["id"], Ze = { key: 0 }, et = { key: 1 }, tt = { style: { position: "
|
|
|
468
553
|
], !0)
|
|
469
554
|
], 36));
|
|
470
555
|
}
|
|
471
|
-
}, Dt = /* @__PURE__ */ Je(Ct, [["__scopeId", "data-v-
|
|
556
|
+
}, Dt = /* @__PURE__ */ Je(Ct, [["__scopeId", "data-v-8a87ff32"]]);
|
|
472
557
|
export {
|
|
473
558
|
Dt as default
|
|
474
559
|
};
|