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,15 +1,15 @@
|
|
|
1
1
|
import { computed as g, watch as z, nextTick as te, onBeforeUnmount as ot, openBlock as f, createElementBlock as y, Fragment as Z, renderList as ge, createElementVNode as M, createCommentVNode as _, ref as L, defineAsyncComponent as mt, toRefs as qt, shallowRef as bt, onMounted as kt, watchEffect as Gt, normalizeStyle as H, toDisplayString as Le, createBlock as _e, renderSlot as pe, normalizeProps as Ze, guardReactiveProps as Je, unref as b, createVNode as Ot, withCtx as jt, createTextVNode as zt } from "vue";
|
|
2
|
-
import { j as Yt, t as wt,
|
|
2
|
+
import { j as Yt, t as wt, aC as Qe, o as xt, q as $t, r as Xt, v as Ve, Y as Kt, ap as Ut, c as St, b as Ht, O as Zt, N as Jt, s as Qt, X as ea, u as We, V as ta, G as Mt, k as et, l as tt, aD as aa } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as la, u as na } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ra } from "./useConfig-
|
|
5
|
-
import { u as ua, B as oa } from "./BaseScanner-
|
|
6
|
-
import { u as at } from "./useNestedProp-
|
|
7
|
-
import { u as sa } from "./useThemeCheck-
|
|
8
|
-
import { u as ia } from "./useTimeLabels-
|
|
9
|
-
import { u as da } from "./useChartAccessibility-
|
|
10
|
-
import { u as ca } from "./usePrefersMotion-
|
|
4
|
+
import { u as ra } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as ua, B as oa } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as at } from "./useNestedProp-DH0BEVVS.js";
|
|
7
|
+
import { u as sa } from "./useThemeCheck-C9Ccl7U9.js";
|
|
8
|
+
import { u as ia } from "./useTimeLabels-Cv0tD9In.js";
|
|
9
|
+
import { u as da } from "./useChartAccessibility-cp6XQtqi.js";
|
|
10
|
+
import { u as ca } from "./usePrefersMotion-Co0nj1eS.js";
|
|
11
11
|
import va from "./vue_ui_sparkline-CQ8DJVJx.js";
|
|
12
|
-
import { A as ha } from "./A11yDataTable-
|
|
12
|
+
import { A as ha } from "./A11yDataTable-BpmuNomI.js";
|
|
13
13
|
import { _ as fa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const pa = {
|
|
15
15
|
key: 0,
|
|
@@ -140,7 +140,9 @@ const pa = {
|
|
|
140
140
|
};
|
|
141
141
|
function Ma() {
|
|
142
142
|
if (typeof document > "u")
|
|
143
|
-
throw new Error(
|
|
143
|
+
throw new Error(
|
|
144
|
+
"color-utils: document is not available (browser-only)."
|
|
145
|
+
);
|
|
144
146
|
if (!qe.canvas) {
|
|
145
147
|
const e = document.createElement("canvas");
|
|
146
148
|
e.width = 1, e.height = 1;
|
|
@@ -163,11 +165,16 @@ function Ca(e, a = null) {
|
|
|
163
165
|
const n = e.trim();
|
|
164
166
|
if (n.toLowerCase() === "transparent")
|
|
165
167
|
return { red: 0, green: 0, blue: 0, alpha: 0 };
|
|
166
|
-
const s = La(
|
|
168
|
+
const s = La(
|
|
169
|
+
n,
|
|
170
|
+
a
|
|
171
|
+
), o = Ma();
|
|
167
172
|
o.clearRect(0, 0, 1, 1), o.fillStyle = "#000";
|
|
168
173
|
const d = o.fillStyle;
|
|
169
174
|
if (o.fillStyle = s, o.fillStyle === d && !_a(s))
|
|
170
|
-
throw new Error(
|
|
175
|
+
throw new Error(
|
|
176
|
+
`colorToRgba: unsupported or invalid color "${e}".`
|
|
177
|
+
);
|
|
171
178
|
o.fillRect(0, 0, 1, 1);
|
|
172
179
|
const m = o.getImageData(0, 0, 1, 1).data;
|
|
173
180
|
return {
|
|
@@ -248,7 +255,9 @@ function Na(e, a, n, s = !0) {
|
|
|
248
255
|
const Lt = "http://www.w3.org/2000/svg";
|
|
249
256
|
function Ia(e) {
|
|
250
257
|
if (typeof document > "u")
|
|
251
|
-
throw new Error(
|
|
258
|
+
throw new Error(
|
|
259
|
+
"SvgPathGradientAsync: document is not available (browser-only implementation)."
|
|
260
|
+
);
|
|
252
261
|
const a = document.createElementNS(Lt, "svg");
|
|
253
262
|
a.setAttribute("width", "0"), a.setAttribute("height", "0"), a.setAttribute("viewBox", "0 0 0 0"), a.style.position = "absolute", a.style.left = "-10000px", a.style.top = "-10000px", a.style.visibility = "hidden", a.style.pointerEvents = "none";
|
|
254
263
|
const n = document.createElementNS(Lt, "path");
|
|
@@ -321,8 +330,14 @@ function Fa(e, a, n, s) {
|
|
|
321
330
|
const o = j(a, 0, 1);
|
|
322
331
|
let d = s;
|
|
323
332
|
for (d < 0 && (d = 0), d > e.length - 2 && (d = e.length - 2); d > 0 && o < e[d].position; ) d -= 1;
|
|
324
|
-
for (; d < e.length - 2 && o > e[d + 1].position; )
|
|
325
|
-
|
|
333
|
+
for (; d < e.length - 2 && o > e[d + 1].position; )
|
|
334
|
+
d += 1;
|
|
335
|
+
const h = e[d], m = e[d + 1], i = m.position - h.position, S = i > 0 ? (o - h.position) / i : 0, v = Va(
|
|
336
|
+
h.rgba,
|
|
337
|
+
m.rgba,
|
|
338
|
+
S,
|
|
339
|
+
n
|
|
340
|
+
);
|
|
326
341
|
return st(v);
|
|
327
342
|
}
|
|
328
343
|
function Va(e, a, n, s) {
|
|
@@ -382,14 +397,18 @@ function qa(e) {
|
|
|
382
397
|
for (const s of Object.keys(e.segmentAttributeMap)) {
|
|
383
398
|
if (s === "stroke" || s === "d") continue;
|
|
384
399
|
const o = e.segmentAttributeMap[s];
|
|
385
|
-
a.push(
|
|
400
|
+
a.push(
|
|
401
|
+
`${s}="${le(o)}"`
|
|
402
|
+
);
|
|
386
403
|
}
|
|
387
404
|
return `<path d="${le(e.pathData)}" ${a.join(" ")} />`;
|
|
388
405
|
}
|
|
389
406
|
function Pt(e, a) {
|
|
390
407
|
const n = [];
|
|
391
408
|
for (const o of Object.keys(a))
|
|
392
|
-
n.push(
|
|
409
|
+
n.push(
|
|
410
|
+
`${o}="${le(a[o])}"`
|
|
411
|
+
);
|
|
393
412
|
return `<g data-svg-path-gradient="true"${n.length ? " " + n.join(" ") : ""}>${e.join("")}</g>`;
|
|
394
413
|
}
|
|
395
414
|
function le(e) {
|
|
@@ -400,13 +419,21 @@ function Ga(e, a = null, n = {}) {
|
|
|
400
419
|
let d = null;
|
|
401
420
|
try {
|
|
402
421
|
if (!e || typeof e != "string")
|
|
403
|
-
throw new Error(
|
|
422
|
+
throw new Error(
|
|
423
|
+
"SvgPathGradientAsync: pathData must be a non-empty string."
|
|
424
|
+
);
|
|
404
425
|
const h = n.temperatureMode ?? null;
|
|
405
426
|
if (h === null && (!Array.isArray(a) || a.length === 0))
|
|
406
|
-
throw new Error(
|
|
427
|
+
throw new Error(
|
|
428
|
+
"SvgPathGradientAsync: colors must be a non-empty array when temperatureMode is not enabled."
|
|
429
|
+
);
|
|
407
430
|
if ((n.returnMode ?? "string") !== "string")
|
|
408
|
-
throw new Error(
|
|
409
|
-
|
|
431
|
+
throw new Error(
|
|
432
|
+
'SvgPathGradientAsync: only returnMode="string" is supported for the async version.'
|
|
433
|
+
);
|
|
434
|
+
const i = typeof n.decimalPlaces == "number" ? n.decimalPlaces : 3, S = typeof n.flattenTolerance == "number" && n.flattenTolerance > 0 ? n.flattenTolerance : 0.25, v = n.attrs ? { ...n.attrs } : {}, x = n.groupAttrs ? { ...n.groupAttrs } : {}, I = Pa(
|
|
435
|
+
v["stroke-width"]
|
|
436
|
+
), B = typeof n.strokeWidth == "number" && n.strokeWidth > 0 ? n.strokeWidth : typeof I == "number" && I > 0 ? I : 1;
|
|
410
437
|
d = Ia(e);
|
|
411
438
|
const E = d.pathElement, A = E.getTotalLength(), t = h === null ? At(a, n.colorReferenceElement) : [];
|
|
412
439
|
if (h === null && (!(A > 0) || t.length === 1)) {
|
|
@@ -427,14 +454,30 @@ function Ga(e, a = null, n = {}) {
|
|
|
427
454
|
if (h !== null) {
|
|
428
455
|
const G = n.temperatureColors;
|
|
429
456
|
if (!Array.isArray(G) || G.length !== 2)
|
|
430
|
-
throw new Error(
|
|
457
|
+
throw new Error(
|
|
458
|
+
"SvgPathGradientAsync: temperatureColors must be a tuple of exactly 2 colors when temperatureMode is enabled."
|
|
459
|
+
);
|
|
431
460
|
}
|
|
432
|
-
const Pe = h !== null ? At(
|
|
461
|
+
const Pe = h !== null ? At(
|
|
462
|
+
n.temperatureColors,
|
|
463
|
+
n.colorReferenceElement
|
|
464
|
+
) : null, P = h === null ? (() => {
|
|
433
465
|
const G = Ea(t), J = new Array(G.length);
|
|
434
466
|
for (let q = 0; q < G.length; q += 1)
|
|
435
|
-
J[q] = {
|
|
467
|
+
J[q] = {
|
|
468
|
+
position: G[q].position,
|
|
469
|
+
rgba: G[q].rgba
|
|
470
|
+
};
|
|
436
471
|
return J;
|
|
437
|
-
})() : [], de = Ta(
|
|
472
|
+
})() : [], de = Ta(
|
|
473
|
+
A,
|
|
474
|
+
B,
|
|
475
|
+
n.maxSegmentLength
|
|
476
|
+
), ne = Ra(
|
|
477
|
+
A,
|
|
478
|
+
n.segments,
|
|
479
|
+
de
|
|
480
|
+
), X = A / ne;
|
|
438
481
|
let re = typeof n.overlap == "number" && n.overlap >= 0 ? n.overlap : B * 0.5;
|
|
439
482
|
const W = X * 0.45;
|
|
440
483
|
re > W && (re = W);
|
|
@@ -476,7 +519,11 @@ function Ga(e, a = null, n = {}) {
|
|
|
476
519
|
Ne
|
|
477
520
|
);
|
|
478
521
|
ye.push(
|
|
479
|
-
_t(
|
|
522
|
+
_t(
|
|
523
|
+
U,
|
|
524
|
+
K,
|
|
525
|
+
ce
|
|
526
|
+
)
|
|
480
527
|
);
|
|
481
528
|
}
|
|
482
529
|
Y += 1;
|
|
@@ -494,9 +541,23 @@ function Ga(e, a = null, n = {}) {
|
|
|
494
541
|
const N = Pe[0], D = Pe[1];
|
|
495
542
|
ye.length = 0;
|
|
496
543
|
for (let T = 0; T < ve.length; T += 1) {
|
|
497
|
-
const R = ve[T], K = h === "vertical" ? R.minY : R.minX, U = h === "vertical" ? R.maxY : R.maxX, Se = (K + U) * 0.5, he = Na(
|
|
544
|
+
const R = ve[T], K = h === "vertical" ? R.minY : R.minX, U = h === "vertical" ? R.maxY : R.maxX, Se = (K + U) * 0.5, he = Na(
|
|
545
|
+
Se,
|
|
546
|
+
V,
|
|
547
|
+
ue,
|
|
548
|
+
!0
|
|
549
|
+
), Me = h === "vertical" ? Ct(N, D, he, F) : Ct(
|
|
550
|
+
D,
|
|
551
|
+
N,
|
|
552
|
+
he,
|
|
553
|
+
F
|
|
554
|
+
), Te = st(Me), fe = Ie[T];
|
|
498
555
|
ye.push(
|
|
499
|
-
_t(
|
|
556
|
+
_t(
|
|
557
|
+
fe,
|
|
558
|
+
Te,
|
|
559
|
+
ce
|
|
560
|
+
)
|
|
500
561
|
);
|
|
501
562
|
}
|
|
502
563
|
}
|
|
@@ -592,9 +653,16 @@ const Oa = ["innerHTML"], ja = {
|
|
|
592
653
|
},
|
|
593
654
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
594
655
|
setup(e, { emit: a }) {
|
|
595
|
-
const n = mt(
|
|
656
|
+
const n = mt(
|
|
657
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
658
|
+
), s = mt(
|
|
659
|
+
() => import("./SparkTooltip-D4bM-kfz.js")
|
|
660
|
+
), { vue_ui_sparkline: o } = ra(), { isThemeValid: d, warnInvalidTheme: h } = sa(), m = ca(), i = e, S = g(() => Array.isArray(i.dataset) && i.dataset.length > 0), v = L(Yt()), x = L(null), I = L(null), B = L(null), E = L(null), A = L(null), t = L(re());
|
|
596
661
|
function F(l) {
|
|
597
|
-
return i.config?.skeletonDataset && Array.isArray(i.config.skeletonDataset) ? i.config.skeletonDataset.map((u) => ({
|
|
662
|
+
return i.config?.skeletonDataset && Array.isArray(i.config.skeletonDataset) ? i.config.skeletonDataset.map((u) => ({
|
|
663
|
+
period: "-",
|
|
664
|
+
value: u
|
|
665
|
+
})) : aa(l).map((u) => ({ period: "-", value: u }));
|
|
598
666
|
}
|
|
599
667
|
const Pe = g(() => wt({
|
|
600
668
|
defaultConfig: {
|
|
@@ -605,7 +673,11 @@ const Oa = ["innerHTML"], ja = {
|
|
|
605
673
|
scaleMin: 0,
|
|
606
674
|
scaleMax: null,
|
|
607
675
|
animation: { show: !1 },
|
|
608
|
-
line: {
|
|
676
|
+
line: {
|
|
677
|
+
color: "#AAAAAA",
|
|
678
|
+
pulse: { show: !1 },
|
|
679
|
+
dashIndices: []
|
|
680
|
+
},
|
|
609
681
|
bar: { color: "#AAAAAA" },
|
|
610
682
|
area: { color: "#CACACA" },
|
|
611
683
|
zeroLine: { color: "#6A6A6A" },
|
|
@@ -628,7 +700,9 @@ const Oa = ["innerHTML"], ja = {
|
|
|
628
700
|
defaultConfig: t.value,
|
|
629
701
|
userConfig: Pe.value
|
|
630
702
|
})
|
|
631
|
-
}), { svgRef: X } = da({
|
|
703
|
+
}), { svgRef: X } = da({
|
|
704
|
+
config: t.value.style.title
|
|
705
|
+
});
|
|
632
706
|
function re() {
|
|
633
707
|
const l = at({
|
|
634
708
|
userConfig: i.config,
|
|
@@ -655,7 +729,9 @@ const Oa = ["innerHTML"], ja = {
|
|
|
655
729
|
u = l;
|
|
656
730
|
return u;
|
|
657
731
|
}
|
|
658
|
-
const W = g(() => t.value?.style?.line.pulse || {}), Ne = g(
|
|
732
|
+
const W = g(() => t.value?.style?.line.pulse || {}), Ne = g(
|
|
733
|
+
() => `${Math.max(200, Number(W.value.durationMs) || 4e3) / 1e3}s`
|
|
734
|
+
), ce = L(0), ye = g(() => W.value?.begin || "0ms"), Ie = L("0;1"), ve = g(() => W.value?.loop === !1 ? "1" : "indefinite"), me = g(() => W.value?.loop === !1 ? "freeze" : void 0), Ge = g(() => W.value.trail.show && J.value.lengthPx || 1), Y = g(() => !!W.value?.show && !O.value && !m.value && !P.value && (p.value?.length || 0) > 1);
|
|
659
735
|
function be() {
|
|
660
736
|
if (!Y.value) {
|
|
661
737
|
ce.value = 0;
|
|
@@ -711,17 +787,25 @@ const Oa = ["innerHTML"], ja = {
|
|
|
711
787
|
data: de.value,
|
|
712
788
|
threshold: t.value.downsample.threshold
|
|
713
789
|
}));
|
|
714
|
-
z(
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
790
|
+
z(
|
|
791
|
+
() => i.config,
|
|
792
|
+
(l) => {
|
|
793
|
+
P.value || (t.value = re()), vt(), $.value.chartWidth = t.value.style.chartWidth;
|
|
794
|
+
},
|
|
795
|
+
{ deep: !0 }
|
|
796
|
+
), z(
|
|
797
|
+
() => i.dataset,
|
|
798
|
+
(l) => {
|
|
799
|
+
Array.isArray(l) && l.length > 0 && (ne.value = !1), V.value = Qe({
|
|
800
|
+
data: de.value.map((u) => ({
|
|
801
|
+
...u,
|
|
802
|
+
value: [void 0].includes(u.value) ? null : u.value
|
|
803
|
+
})),
|
|
804
|
+
threshold: t.value.downsample.threshold
|
|
805
|
+
});
|
|
806
|
+
},
|
|
807
|
+
{ deep: !0 }
|
|
808
|
+
);
|
|
725
809
|
const V = L(ue());
|
|
726
810
|
function ue() {
|
|
727
811
|
return Qe({
|
|
@@ -834,7 +918,12 @@ const Oa = ["innerHTML"], ja = {
|
|
|
834
918
|
chartWidth: t.value.style.chartWidth,
|
|
835
919
|
padding: i.forcedPadding
|
|
836
920
|
}), Re = a, C = g(() => {
|
|
837
|
-
const {
|
|
921
|
+
const {
|
|
922
|
+
top: l,
|
|
923
|
+
right: u,
|
|
924
|
+
bottom: r,
|
|
925
|
+
left: c
|
|
926
|
+
} = t.value.style.padding;
|
|
838
927
|
return {
|
|
839
928
|
top: l,
|
|
840
929
|
left: c,
|
|
@@ -844,7 +933,19 @@ const Oa = ["innerHTML"], ja = {
|
|
|
844
933
|
width: i.showInfo && t.value.style.dataLabel.show ? $.value.chartWidth - c - u : $.value.width - $.value.padding - c - u,
|
|
845
934
|
height: $.value.height - l - r
|
|
846
935
|
};
|
|
847
|
-
}), je = g(() => [null, void 0].includes(t.value.style.scaleMin) ? Math.min(
|
|
936
|
+
}), je = g(() => [null, void 0].includes(t.value.style.scaleMin) ? Math.min(
|
|
937
|
+
...V.value.map(
|
|
938
|
+
(l) => isNaN(l.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(
|
|
939
|
+
l.value
|
|
940
|
+
) ? 0 : l.value || 0
|
|
941
|
+
)
|
|
942
|
+
) : t.value.style.scaleMin), Nt = g(() => [null, void 0].includes(t.value.style.scaleMax) ? Math.max(
|
|
943
|
+
...V.value.map(
|
|
944
|
+
(l) => isNaN(l.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(
|
|
945
|
+
l.value
|
|
946
|
+
) ? 0 : l.value || 0
|
|
947
|
+
)
|
|
948
|
+
) : t.value.style.scaleMax), Ae = g(() => {
|
|
848
949
|
const l = je.value >= 0 ? 0 : je.value;
|
|
849
950
|
return Math.abs(l);
|
|
850
951
|
}), ht = g(() => Nt.value + Ae.value), ke = g(() => C.value.bottom - C.value.height * ze(Ae.value));
|
|
@@ -877,20 +978,35 @@ const Oa = ["innerHTML"], ja = {
|
|
|
877
978
|
x: C.value.start + u * c,
|
|
878
979
|
y: C.value.bottom - C.value.height * ze(r + Ae.value),
|
|
879
980
|
id: `plot_${v.value}_${u}`,
|
|
880
|
-
color: O.value ? t.value.style.bar.color : t.value.style.area.useGradient ? Ve(
|
|
981
|
+
color: O.value ? t.value.style.bar.color : t.value.style.area.useGradient ? Ve(
|
|
982
|
+
t.value.style.line.color,
|
|
983
|
+
0.05 * (1 - u / we.value)
|
|
984
|
+
) : t.value.style.line.color,
|
|
881
985
|
width: c
|
|
882
986
|
};
|
|
883
987
|
})), pt = g(() => i.selectedIndex !== void 0 && i.selectedIndex !== null && i.selectedIndex >= 0 && i.selectedIndex < p.value.length ? i.selectedIndex : A.value !== void 0 && A.value !== null && A.value >= 0 && A.value < p.value.length ? A.value : null), It = g(() => {
|
|
884
|
-
const l = {
|
|
988
|
+
const l = {
|
|
989
|
+
x: p.value[0].x || 0,
|
|
990
|
+
y: ($.value.height || 0) - 6
|
|
991
|
+
}, u = {
|
|
992
|
+
x: p.value[p.value.length - 1].x || 0,
|
|
993
|
+
y: ($.value.height || 0) - 6
|
|
994
|
+
}, r = [];
|
|
885
995
|
return p.value.forEach((c) => {
|
|
886
996
|
r.push(`${c.x || 0},${c.y || 0} `);
|
|
887
997
|
}), [l.x, l.y, ...r, u.x, u.y].toString();
|
|
888
998
|
}), k = L(void 0), oe = L(void 0);
|
|
889
999
|
function Ye(l, u) {
|
|
890
|
-
t.value.events.datapointEnter && t.value.events.datapointEnter({
|
|
1000
|
+
t.value.events.datapointEnter && t.value.events.datapointEnter({
|
|
1001
|
+
datapoint: l,
|
|
1002
|
+
seriesIndex: u
|
|
1003
|
+
}), A.value = u, E.value = u, k.value = l, oe.value || (oe.value = l), Re("hoverIndex", { index: u });
|
|
891
1004
|
}
|
|
892
1005
|
function Tt(l, u) {
|
|
893
|
-
t.value.events.datapointLeave && t.value.events.datapointLeave({
|
|
1006
|
+
t.value.events.datapointLeave && t.value.events.datapointLeave({
|
|
1007
|
+
datapoint: l,
|
|
1008
|
+
seriesIndex: u
|
|
1009
|
+
}), oe.value = k.value, k.value = void 0, A.value = null, E.value = null, Re("hoverIndex", { index: void 0 });
|
|
894
1010
|
}
|
|
895
1011
|
const se = g(() => {
|
|
896
1012
|
if (S.value) {
|
|
@@ -900,11 +1016,13 @@ const Oa = ["innerHTML"], ja = {
|
|
|
900
1016
|
sum: u,
|
|
901
1017
|
average: u / p.value.length,
|
|
902
1018
|
median: Ut(l),
|
|
903
|
-
trend: Kt(
|
|
904
|
-
x: r,
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
1019
|
+
trend: Kt(
|
|
1020
|
+
p.value.map(({ x: r, y: c, absoluteValue: w }) => ({
|
|
1021
|
+
x: r,
|
|
1022
|
+
y: c,
|
|
1023
|
+
value: w
|
|
1024
|
+
}))
|
|
1025
|
+
).trend
|
|
908
1026
|
};
|
|
909
1027
|
} else
|
|
910
1028
|
return {
|
|
@@ -916,7 +1034,10 @@ const Oa = ["innerHTML"], ja = {
|
|
|
916
1034
|
};
|
|
917
1035
|
}), gt = g(() => S.value ? t.value.style.dataLabel.valueType === "latest" ? se.value.latest : t.value.style.dataLabel.valueType === "sum" ? se.value.sum : t.value.style.dataLabel.valueType === "average" ? se.value.average : 0 : 0), O = g(() => t.value.type && t.value.type === "bar");
|
|
918
1036
|
function Rt(l, u) {
|
|
919
|
-
t.value.events.datapointClick && t.value.events.datapointClick({
|
|
1037
|
+
t.value.events.datapointClick && t.value.events.datapointClick({
|
|
1038
|
+
datapoint: l,
|
|
1039
|
+
seriesIndex: u
|
|
1040
|
+
}), Re("selectDatapoint", { datapoint: l, index: u });
|
|
920
1041
|
}
|
|
921
1042
|
const Be = g(() => Array.isArray(t.value.style.line.dashIndices) && t.value.style.line.dashIndices.length > 0), Xe = g(() => O.value ? "" : St(p.value)), Ke = g(() => O.value ? "" : Ht(p.value)), Bt = g(() => O.value || !Be.value ? [] : Zt(
|
|
922
1043
|
p.value,
|
|
@@ -924,7 +1045,9 @@ const Oa = ["innerHTML"], ja = {
|
|
|
924
1045
|
)), Dt = g(() => O.value || !Be.value ? [] : Jt(
|
|
925
1046
|
p.value,
|
|
926
1047
|
t.value.style.line.dashIndices
|
|
927
|
-
)), yt = g(() => O.value || !t.value.gradientPath.show || t.value.temperatureColors.show ? "" : `M ${(t.value.style.line.smooth ? Xe.value : Ke.value) || "0,0"}`), Q = g(() => !t.value.temperatureColors.show || t.value.temperatureColors.colors.length === 0 ? null : t.value.temperatureColors.colors.map(
|
|
1048
|
+
)), yt = g(() => O.value || !t.value.gradientPath.show || t.value.temperatureColors.show ? "" : `M ${(t.value.style.line.smooth ? Xe.value : Ke.value) || "0,0"}`), Q = g(() => !t.value.temperatureColors.show || t.value.temperatureColors.colors.length === 0 ? null : t.value.temperatureColors.colors.map(
|
|
1049
|
+
(l) => Qt(l)
|
|
1050
|
+
));
|
|
928
1051
|
z(
|
|
929
1052
|
() => [
|
|
930
1053
|
Y.value,
|
|
@@ -972,7 +1095,10 @@ const Oa = ["innerHTML"], ja = {
|
|
|
972
1095
|
return;
|
|
973
1096
|
}
|
|
974
1097
|
}
|
|
975
|
-
E.value = null, !k.value && p.value.length && Ye(
|
|
1098
|
+
E.value = null, !k.value && p.value.length && Ye(
|
|
1099
|
+
p.value.at(-1),
|
|
1100
|
+
p.value.length - 1
|
|
1101
|
+
), De.value = !0;
|
|
976
1102
|
}
|
|
977
1103
|
function Ft() {
|
|
978
1104
|
oe.value = k.value, (i.selectedIndex === void 0 || i.selectedIndex === null) && (E.value = null, k.value = void 0, A.value = null, Re("hoverIndex", { index: void 0 })), De.value = !1;
|
|
@@ -986,7 +1112,9 @@ const Oa = ["innerHTML"], ja = {
|
|
|
986
1112
|
if (!c) return;
|
|
987
1113
|
l.preventDefault(), l.stopPropagation();
|
|
988
1114
|
let w = E.value;
|
|
989
|
-
const He = w !== null && w >= 0 && w < c, ee = k.value ? p.value.findIndex(
|
|
1115
|
+
const He = w !== null && w >= 0 && w < c, ee = k.value ? p.value.findIndex(
|
|
1116
|
+
(Wt) => Wt.id === k.value.id
|
|
1117
|
+
) : -1, Ee = ee !== null && ee >= 0 && ee < c;
|
|
990
1118
|
He ? r ? (w += 1, w >= c && (w = 0)) : u && (w -= 1, w < 0 && (w = c - 1)) : Ee ? (w = r ? ee + 1 : ee - 1, w >= c && (w = 0), w < 0 && (w = c - 1)) : r ? w = 0 : w = c - 1;
|
|
991
1119
|
const Fe = p.value[w];
|
|
992
1120
|
Fe && (E.value = w, Ye(Fe, w));
|
|
@@ -1073,11 +1201,20 @@ const Oa = ["innerHTML"], ja = {
|
|
|
1073
1201
|
}, [
|
|
1074
1202
|
M("stop", {
|
|
1075
1203
|
offset: "0%",
|
|
1076
|
-
"stop-color": b(We)(
|
|
1204
|
+
"stop-color": b(We)(
|
|
1205
|
+
b(Ve)(
|
|
1206
|
+
t.value.style.area.color,
|
|
1207
|
+
0.05
|
|
1208
|
+
),
|
|
1209
|
+
t.value.style.area.opacity
|
|
1210
|
+
)
|
|
1077
1211
|
}, null, 8, Za),
|
|
1078
1212
|
M("stop", {
|
|
1079
1213
|
offset: "100%",
|
|
1080
|
-
"stop-color": b(We)(
|
|
1214
|
+
"stop-color": b(We)(
|
|
1215
|
+
t.value.style.area.color,
|
|
1216
|
+
t.value.style.area.opacity
|
|
1217
|
+
)
|
|
1081
1218
|
}, null, 8, Ja)
|
|
1082
1219
|
], 8, Ha),
|
|
1083
1220
|
M("linearGradient", {
|
|
@@ -1143,7 +1280,10 @@ const Oa = ["innerHTML"], ja = {
|
|
|
1143
1280
|
key: 0,
|
|
1144
1281
|
class: "vue-ui-sparkline-area",
|
|
1145
1282
|
d: `M ${p.value[0].x},${C.value.bottom} ${b(St)(p.value)} L ${p.value.at(-1).x},${C.value.bottom} Z`,
|
|
1146
|
-
fill: t.value.style.area.useGradient ? `url(#sparkline_gradient_${v.value})` : b(We)(
|
|
1283
|
+
fill: t.value.style.area.useGradient ? `url(#sparkline_gradient_${v.value})` : b(We)(
|
|
1284
|
+
t.value.style.area.color,
|
|
1285
|
+
t.value.style.area.opacity
|
|
1286
|
+
),
|
|
1147
1287
|
"stroke-linecap": "round",
|
|
1148
1288
|
"stroke-linejoin": "round",
|
|
1149
1289
|
style: H({
|
|
@@ -1153,7 +1293,10 @@ const Oa = ["innerHTML"], ja = {
|
|
|
1153
1293
|
key: 1,
|
|
1154
1294
|
class: "vue-ui-sparkline-area",
|
|
1155
1295
|
d: `M${It.value}Z`,
|
|
1156
|
-
fill: t.value.style.area.useGradient ? `url(#sparkline_gradient_${v.value})` : b(We)(
|
|
1296
|
+
fill: t.value.style.area.useGradient ? `url(#sparkline_gradient_${v.value})` : b(We)(
|
|
1297
|
+
t.value.style.area.color,
|
|
1298
|
+
t.value.style.area.opacity
|
|
1299
|
+
),
|
|
1157
1300
|
"stroke-linecap": "round",
|
|
1158
1301
|
"stroke-linejoin": "round",
|
|
1159
1302
|
style: H({
|
|
@@ -1267,7 +1410,9 @@ const Oa = ["innerHTML"], ja = {
|
|
|
1267
1410
|
O.value ? (f(), y("rect", {
|
|
1268
1411
|
key: 0,
|
|
1269
1412
|
x: r.x - r.width / 2,
|
|
1270
|
-
y: isNaN(
|
|
1413
|
+
y: isNaN(
|
|
1414
|
+
r.absoluteValue > 0 ? r.y : ke.value
|
|
1415
|
+
) ? 0 : r.absoluteValue > 0 ? r.y : ke.value,
|
|
1271
1416
|
width: r.width,
|
|
1272
1417
|
height: isNaN(Math.abs(r.y - ke.value)) ? 0 : Math.abs(r.y - ke.value),
|
|
1273
1418
|
fill: r.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${v.value})` : `url(#sparkline_bar_gradient_neg_${v.value})`,
|
|
@@ -1317,12 +1462,22 @@ const Oa = ["innerHTML"], ja = {
|
|
|
1317
1462
|
}, Le(k.value ? b(et)(
|
|
1318
1463
|
t.value.style.dataLabel.formatter,
|
|
1319
1464
|
k.value.absoluteValue,
|
|
1320
|
-
b(tt)({
|
|
1465
|
+
b(tt)({
|
|
1466
|
+
p: t.value.style.dataLabel.prefix,
|
|
1467
|
+
v: k.value.absoluteValue,
|
|
1468
|
+
s: t.value.style.dataLabel.suffix,
|
|
1469
|
+
r: t.value.style.dataLabel.roundingValue
|
|
1470
|
+
}),
|
|
1321
1471
|
{ datapoint: k.value }
|
|
1322
1472
|
) : b(et)(
|
|
1323
1473
|
t.value.style.dataLabel.formatter,
|
|
1324
1474
|
gt.value,
|
|
1325
|
-
b(tt)({
|
|
1475
|
+
b(tt)({
|
|
1476
|
+
p: t.value.style.dataLabel.prefix,
|
|
1477
|
+
v: gt.value,
|
|
1478
|
+
s: t.value.style.dataLabel.suffix,
|
|
1479
|
+
r: t.value.style.dataLabel.roundingValue
|
|
1480
|
+
})
|
|
1326
1481
|
)), 9, wl)) : _("", !0),
|
|
1327
1482
|
(f(!0), y(Z, null, ge(p.value, (r, c) => (f(), y("rect", {
|
|
1328
1483
|
x: r.x - (C.value.width / (we.value + 1) > $.value.padding ? $.value.padding : C.value.width / (we.value + 1)) / 2,
|
|
@@ -1337,7 +1492,10 @@ const Oa = ["innerHTML"], ja = {
|
|
|
1337
1492
|
pe(l.$slots, "svg", { svg: $.value }, void 0, !0)
|
|
1338
1493
|
], 44, Ka)),
|
|
1339
1494
|
l.$slots.hint ? (f(), y("div", $l, [
|
|
1340
|
-
pe(l.$slots, "hint", Ze(Je({
|
|
1495
|
+
pe(l.$slots, "hint", Ze(Je({
|
|
1496
|
+
hint: t.value.a11y.translations.keyboardNavigation,
|
|
1497
|
+
isVisible: De.value
|
|
1498
|
+
})), void 0, !0)
|
|
1341
1499
|
])) : _("", !0)
|
|
1342
1500
|
]),
|
|
1343
1501
|
k.value && t.value.style.tooltip.show ? (f(), _e(b(s), {
|
|
@@ -1386,7 +1544,7 @@ const Oa = ["innerHTML"], ja = {
|
|
|
1386
1544
|
], !0)
|
|
1387
1545
|
], 12, za));
|
|
1388
1546
|
}
|
|
1389
|
-
}, Fl = /* @__PURE__ */ fa(Sl, [["__scopeId", "data-v-
|
|
1547
|
+
}, Fl = /* @__PURE__ */ fa(Sl, [["__scopeId", "data-v-66022e99"]]);
|
|
1390
1548
|
export {
|
|
1391
1549
|
Fl as default
|
|
1392
1550
|
};
|