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,23 +1,23 @@
|
|
|
1
1
|
import { defineAsyncComponent as X, computed as d, ref as i, shallowRef as Ct, toRefs as Oa, onBeforeUnmount as At, watch as ie, nextTick as pe, watchEffect as wt, openBlock as n, createElementBlock as r, unref as u, normalizeStyle as _, normalizeClass as me, createElementVNode as g, toDisplayString as B, createBlock as P, createCommentVNode as h, withCtx as f, renderSlot as y, normalizeProps as S, guardReactiveProps as T, createSlots as Ee, createVNode as Xe, Fragment as m, renderList as O, mergeProps as Be, resolveDynamicComponent as La, createTextVNode as He } from "vue";
|
|
2
|
-
import { j as Ue, t as $t, n as Ma, s as za, p as be, at as _t, P as Da, b as Pt, c as Ia, aj as Na, X as Ra, W as Fa, Z as Ea, k as xe, l as ke, m as Xa, q as Ve, r as St, o as Ba, a0 as Ha, a1 as Ua, ac as Va } from "./lib-
|
|
2
|
+
import { j as Ue, t as $t, n as Ma, s as za, p as be, at as _t, P as Da, b as Pt, c as Ia, aj as Na, X as Ra, W as Fa, Z as Ea, k as xe, l as ke, m as Xa, q as Ve, r as St, o as Ba, a0 as Ha, a1 as Ua, ac as Va } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as Tt, u as Wa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ga } from "./useConfig-
|
|
5
|
-
import { u as ja, B as Ka } from "./BaseScanner-
|
|
6
|
-
import { u as Ya } from "./usePrinter-
|
|
7
|
-
import { u as qa } from "./useSvgExport-
|
|
8
|
-
import { u as We } from "./useNestedProp-
|
|
9
|
-
import { u as Za } from "./useTimeLabels-
|
|
10
|
-
import { u as Ja } from "./useThemeCheck-
|
|
11
|
-
import { u as Qa } from "./useUserOptionState-
|
|
12
|
-
import { u as el } from "./useChartAccessibility-
|
|
13
|
-
import { u as tl } from "./useTimeLabelCollider-
|
|
4
|
+
import { u as Ga } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as ja, B as Ka } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as Ya } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as qa } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as We } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as Za } from "./useTimeLabels-Cv0tD9In.js";
|
|
10
|
+
import { u as Ja } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
+
import { u as Qa } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
+
import { u as el } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
+
import { u as tl } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
14
14
|
import al from "./vue_ui_ridgeline-j4rVmpEp.js";
|
|
15
|
-
import ll from "./Legend-
|
|
16
|
-
import ol from "./Title-
|
|
17
|
-
import { _ as sl } from "./Shape-
|
|
18
|
-
import nl from "./img-
|
|
19
|
-
import { A as rl } from "./A11yDataTable-
|
|
20
|
-
import { B as ul } from "./BaseLegendToggle-
|
|
15
|
+
import ll from "./Legend-DGN5lY60.js";
|
|
16
|
+
import ol from "./Title-BbKoiBk2.js";
|
|
17
|
+
import { _ as sl } from "./Shape-CxJ5_Rre.js";
|
|
18
|
+
import nl from "./img-CjTQXS0U.js";
|
|
19
|
+
import { A as rl } from "./A11yDataTable-BpmuNomI.js";
|
|
20
|
+
import { B as ul } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
21
21
|
import { _ as il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
22
22
|
const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = ["xmlns", "aria-describedby", "viewBox"], fl = ["id"], yl = ["stop-color"], gl = ["stop-color"], pl = ["stop-color"], ml = ["stop-color"], bl = ["id"], xl = ["stop-color"], kl = ["stop-color"], Cl = ["stop-color"], Al = ["stop-color"], wl = { key: 0 }, $l = ["fill", "d"], _l = ["stroke", "stroke-width", "d"], Pl = ["fill", "d"], Sl = ["stroke", "stroke-dasharray", "stroke-width", "d"], Tl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ol = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ll = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Ml = { key: 0 }, zl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Dl = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], Il = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Rl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Fl = ["x", "y", "text-anchor", "font-size", "fill"], El = {
|
|
23
23
|
key: 0,
|
|
@@ -43,9 +43,22 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
emits: [
|
|
46
|
+
emits: [
|
|
47
|
+
"selectLegend",
|
|
48
|
+
"selectDatapoint",
|
|
49
|
+
"selectX",
|
|
50
|
+
"copyAlt"
|
|
51
|
+
],
|
|
47
52
|
setup(Ot, { expose: Lt, emit: Mt }) {
|
|
48
|
-
const zt = X(() => import("./vue-ui-xy-
|
|
53
|
+
const zt = X(() => import("./vue-ui-xy-Cv-50xHj.js")), Dt = X(() => import("./BaseIcon-DX0hTWa-.js")), It = X(() => import("./vue-ui-accordion-BHmfmb_6.js")), Nt = X(() => import("./DataTable-cMnb68Ik.js")), Rt = X(
|
|
54
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
55
|
+
), Ft = X(
|
|
56
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
57
|
+
), Et = X(
|
|
58
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
59
|
+
), Ge = X(
|
|
60
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
61
|
+
), { vue_ui_ridgeline: Xt } = Ga(), { isThemeValid: Bt, warnInvalidTheme: Ht } = Ja(), I = Ot, ee = d({
|
|
49
62
|
get() {
|
|
50
63
|
return Array.isArray(V.value) && V.value.length > 0;
|
|
51
64
|
},
|
|
@@ -73,7 +86,9 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
73
86
|
customPalette: s.customPalette.length ? s.customPalette : Xa[l] || be
|
|
74
87
|
};
|
|
75
88
|
}
|
|
76
|
-
const e = i(Se()), D = d(
|
|
89
|
+
const e = i(Se()), D = d(
|
|
90
|
+
() => e.value.userOptions.useCursorPointer
|
|
91
|
+
), Wt = d(() => $t({
|
|
77
92
|
defaultConfig: {
|
|
78
93
|
userOptions: { show: !1 },
|
|
79
94
|
table: { show: !1 },
|
|
@@ -122,12 +137,38 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
122
137
|
{
|
|
123
138
|
name: "__",
|
|
124
139
|
color: "#999999",
|
|
125
|
-
values: [
|
|
140
|
+
values: [
|
|
141
|
+
28.639,
|
|
142
|
+
32.04,
|
|
143
|
+
41.134,
|
|
144
|
+
44.525,
|
|
145
|
+
21.151,
|
|
146
|
+
2.436,
|
|
147
|
+
0.218,
|
|
148
|
+
0.024,
|
|
149
|
+
2e-3,
|
|
150
|
+
0,
|
|
151
|
+
0,
|
|
152
|
+
0
|
|
153
|
+
]
|
|
126
154
|
},
|
|
127
155
|
{
|
|
128
156
|
name: "_",
|
|
129
157
|
color: "#CACACA",
|
|
130
|
-
values: [
|
|
158
|
+
values: [
|
|
159
|
+
13.253,
|
|
160
|
+
15.621,
|
|
161
|
+
23.36,
|
|
162
|
+
33.698,
|
|
163
|
+
29.935,
|
|
164
|
+
10.874,
|
|
165
|
+
2.364,
|
|
166
|
+
0.561,
|
|
167
|
+
0.107,
|
|
168
|
+
0.02,
|
|
169
|
+
6e-3,
|
|
170
|
+
4e-3
|
|
171
|
+
]
|
|
131
172
|
}
|
|
132
173
|
]
|
|
133
174
|
},
|
|
@@ -137,12 +178,38 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
137
178
|
{
|
|
138
179
|
name: "_",
|
|
139
180
|
color: "#999999",
|
|
140
|
-
values: [
|
|
181
|
+
values: [
|
|
182
|
+
10.851,
|
|
183
|
+
13.195,
|
|
184
|
+
21.617,
|
|
185
|
+
36.556,
|
|
186
|
+
42.292,
|
|
187
|
+
21.006,
|
|
188
|
+
3.398,
|
|
189
|
+
0.223,
|
|
190
|
+
0.013,
|
|
191
|
+
1e-3,
|
|
192
|
+
0,
|
|
193
|
+
0
|
|
194
|
+
]
|
|
141
195
|
},
|
|
142
196
|
{
|
|
143
197
|
name: "_",
|
|
144
198
|
color: "#CACACA",
|
|
145
|
-
values: [
|
|
199
|
+
values: [
|
|
200
|
+
3.171,
|
|
201
|
+
4.115,
|
|
202
|
+
8.108,
|
|
203
|
+
18.248,
|
|
204
|
+
31.641,
|
|
205
|
+
29.063,
|
|
206
|
+
12.031,
|
|
207
|
+
2.742,
|
|
208
|
+
0.504,
|
|
209
|
+
0.102,
|
|
210
|
+
0.032,
|
|
211
|
+
0.021
|
|
212
|
+
]
|
|
146
213
|
}
|
|
147
214
|
]
|
|
148
215
|
},
|
|
@@ -152,12 +219,38 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
152
219
|
{
|
|
153
220
|
name: "_",
|
|
154
221
|
color: "#999999",
|
|
155
|
-
values: [
|
|
222
|
+
values: [
|
|
223
|
+
1.731,
|
|
224
|
+
2.334,
|
|
225
|
+
5.125,
|
|
226
|
+
13.626,
|
|
227
|
+
29.911,
|
|
228
|
+
38.524,
|
|
229
|
+
24.168,
|
|
230
|
+
7.646,
|
|
231
|
+
1.575,
|
|
232
|
+
0.317,
|
|
233
|
+
0.097,
|
|
234
|
+
0.063
|
|
235
|
+
]
|
|
156
236
|
},
|
|
157
237
|
{
|
|
158
238
|
name: "_",
|
|
159
239
|
color: "#CACACA",
|
|
160
|
-
values: [
|
|
240
|
+
values: [
|
|
241
|
+
0.25,
|
|
242
|
+
0.367,
|
|
243
|
+
1.026,
|
|
244
|
+
3.944,
|
|
245
|
+
13.635,
|
|
246
|
+
28.891,
|
|
247
|
+
30.149,
|
|
248
|
+
15.419,
|
|
249
|
+
4.714,
|
|
250
|
+
1.246,
|
|
251
|
+
0.442,
|
|
252
|
+
0.299
|
|
253
|
+
]
|
|
161
254
|
}
|
|
162
255
|
]
|
|
163
256
|
},
|
|
@@ -167,12 +260,38 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
167
260
|
{
|
|
168
261
|
name: "_",
|
|
169
262
|
color: "#999999",
|
|
170
|
-
values: [
|
|
263
|
+
values: [
|
|
264
|
+
0.034,
|
|
265
|
+
0.054,
|
|
266
|
+
0.194,
|
|
267
|
+
1.065,
|
|
268
|
+
5.747,
|
|
269
|
+
20.735,
|
|
270
|
+
38.306,
|
|
271
|
+
32.899,
|
|
272
|
+
15.318,
|
|
273
|
+
5.566,
|
|
274
|
+
2.422,
|
|
275
|
+
1.76
|
|
276
|
+
]
|
|
171
277
|
},
|
|
172
278
|
{
|
|
173
279
|
name: "_",
|
|
174
280
|
color: "#CACACA",
|
|
175
|
-
values: [
|
|
281
|
+
values: [
|
|
282
|
+
1e-3,
|
|
283
|
+
2e-3,
|
|
284
|
+
9e-3,
|
|
285
|
+
0.095,
|
|
286
|
+
1.124,
|
|
287
|
+
8.342,
|
|
288
|
+
27.115,
|
|
289
|
+
35.08,
|
|
290
|
+
21.449,
|
|
291
|
+
9.093,
|
|
292
|
+
4.243,
|
|
293
|
+
3.143
|
|
294
|
+
]
|
|
176
295
|
}
|
|
177
296
|
]
|
|
178
297
|
},
|
|
@@ -182,12 +301,38 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
182
301
|
{
|
|
183
302
|
name: "_",
|
|
184
303
|
color: "#999999",
|
|
185
|
-
values: [
|
|
304
|
+
values: [
|
|
305
|
+
0,
|
|
306
|
+
1e-3,
|
|
307
|
+
4e-3,
|
|
308
|
+
0.051,
|
|
309
|
+
0.567,
|
|
310
|
+
3.322,
|
|
311
|
+
14.215,
|
|
312
|
+
44.783,
|
|
313
|
+
40.351,
|
|
314
|
+
20.377,
|
|
315
|
+
9.866,
|
|
316
|
+
7.378
|
|
317
|
+
]
|
|
186
318
|
},
|
|
187
319
|
{
|
|
188
320
|
name: "_",
|
|
189
321
|
color: "#CACACA",
|
|
190
|
-
values: [
|
|
322
|
+
values: [
|
|
323
|
+
0,
|
|
324
|
+
0,
|
|
325
|
+
0,
|
|
326
|
+
0,
|
|
327
|
+
1e-3,
|
|
328
|
+
0.11,
|
|
329
|
+
4.136,
|
|
330
|
+
27.498,
|
|
331
|
+
43.24,
|
|
332
|
+
29.807,
|
|
333
|
+
17.345,
|
|
334
|
+
13.678
|
|
335
|
+
]
|
|
191
336
|
}
|
|
192
337
|
]
|
|
193
338
|
},
|
|
@@ -197,12 +342,38 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
197
342
|
{
|
|
198
343
|
name: "_",
|
|
199
344
|
color: "#999999",
|
|
200
|
-
values: [
|
|
345
|
+
values: [
|
|
346
|
+
0,
|
|
347
|
+
0,
|
|
348
|
+
0,
|
|
349
|
+
0,
|
|
350
|
+
0.025,
|
|
351
|
+
0.598,
|
|
352
|
+
3.886,
|
|
353
|
+
10.645,
|
|
354
|
+
54.479,
|
|
355
|
+
45.953,
|
|
356
|
+
30.814,
|
|
357
|
+
24.55
|
|
358
|
+
]
|
|
201
359
|
},
|
|
202
360
|
{
|
|
203
361
|
name: "_",
|
|
204
362
|
color: "#CACACA",
|
|
205
|
-
values: [
|
|
363
|
+
values: [
|
|
364
|
+
0,
|
|
365
|
+
0,
|
|
366
|
+
0,
|
|
367
|
+
0,
|
|
368
|
+
0,
|
|
369
|
+
0,
|
|
370
|
+
7e-3,
|
|
371
|
+
1.655,
|
|
372
|
+
26.63,
|
|
373
|
+
52.017,
|
|
374
|
+
45.192,
|
|
375
|
+
39.651
|
|
376
|
+
]
|
|
206
377
|
}
|
|
207
378
|
]
|
|
208
379
|
}
|
|
@@ -211,18 +382,22 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
211
382
|
defaultConfig: e.value,
|
|
212
383
|
userConfig: Wt.value
|
|
213
384
|
})
|
|
214
|
-
}), L = i(
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}
|
|
385
|
+
}), L = i(
|
|
386
|
+
Math.min(
|
|
387
|
+
e.value.style.chart.areas.height,
|
|
388
|
+
e.value.style.chart.areas.rowHeight
|
|
389
|
+
)
|
|
390
|
+
), { userOptionsVisible: he, setUserOptionsVisibility: et, keepUserOptionState: tt } = Qa({ config: e.value }), { svgRef: Z } = el({
|
|
391
|
+
config: e.value.style.chart.title
|
|
392
|
+
}), Oe = d(() => !!e.value.debug);
|
|
222
393
|
function at() {
|
|
223
394
|
const t = V.value || [];
|
|
224
395
|
if (!Array.isArray(t) || t.length === 0) {
|
|
225
|
-
Ve({
|
|
396
|
+
Ve({
|
|
397
|
+
componentName: "VueUiRidgeline",
|
|
398
|
+
type: "dataset",
|
|
399
|
+
debug: Oe.value
|
|
400
|
+
}), Te.value = !0;
|
|
226
401
|
return;
|
|
227
402
|
}
|
|
228
403
|
if (t.forEach((l, a) => {
|
|
@@ -287,9 +462,13 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
287
462
|
Array.isArray(t) && t.length && (he.value = !e.value.userOptions.showOnChartHover, await pe(), at(), Ce.value += 1, Ae.value += 1, W.value.showTable = e.value.table.show);
|
|
288
463
|
},
|
|
289
464
|
{ deep: !0, immediate: !0 }
|
|
290
|
-
), ie(
|
|
291
|
-
|
|
292
|
-
|
|
465
|
+
), ie(
|
|
466
|
+
() => I.dataset,
|
|
467
|
+
(t) => {
|
|
468
|
+
Array.isArray(t) && t.length > 0 && (Te.value = !1);
|
|
469
|
+
},
|
|
470
|
+
{ deep: !0 }
|
|
471
|
+
), ie(
|
|
293
472
|
() => q.value,
|
|
294
473
|
async (t) => {
|
|
295
474
|
t || (await pe(), at());
|
|
@@ -298,7 +477,10 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
298
477
|
), ie(
|
|
299
478
|
() => I.config,
|
|
300
479
|
() => {
|
|
301
|
-
e.value = Se(V.value || null), he.value = !e.value.userOptions.showOnChartHover, L.value = Math.min(
|
|
480
|
+
e.value = Se(V.value || null), he.value = !e.value.userOptions.showOnChartHover, L.value = Math.min(
|
|
481
|
+
e.value.style.chart.areas.height,
|
|
482
|
+
e.value.style.chart.areas.rowHeight
|
|
483
|
+
), W.value.showTable = e.value.table.show, Ce.value += 1, Ae.value += 1;
|
|
302
484
|
},
|
|
303
485
|
{ deep: !0 }
|
|
304
486
|
);
|
|
@@ -327,7 +509,10 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
327
509
|
}
|
|
328
510
|
const R = d(() => ee.value ? (V.value || []).map((t) => ({
|
|
329
511
|
...t,
|
|
330
|
-
labelLen: ta(
|
|
512
|
+
labelLen: ta(
|
|
513
|
+
t.name,
|
|
514
|
+
e.value.style.chart.yAxis.labels.fontSize
|
|
515
|
+
),
|
|
331
516
|
uid: Ue(),
|
|
332
517
|
datapoints: t.datapoints.map((l, a) => {
|
|
333
518
|
const s = l.color ? za(l.color) : jt.value[a] || be[a] || be[a % be.length], o = _t(l.name);
|
|
@@ -360,7 +545,11 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
360
545
|
right: p.value.width - p.value.padding.right,
|
|
361
546
|
bottom: p.value.height - e.value.style.chart.padding.bottom,
|
|
362
547
|
width: p.value.width - (p.value.padding.left + p.value.padding.right)
|
|
363
|
-
})), ae = d(() => Math.max(
|
|
548
|
+
})), ae = d(() => Math.max(
|
|
549
|
+
...R.value.flatMap(
|
|
550
|
+
(t) => t.datapoints.map((l) => l.values.length)
|
|
551
|
+
)
|
|
552
|
+
)), J = i([]);
|
|
364
553
|
let rt = 0;
|
|
365
554
|
wt(() => {
|
|
366
555
|
const t = ++rt;
|
|
@@ -376,7 +565,9 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
376
565
|
})();
|
|
377
566
|
});
|
|
378
567
|
const M = d(() => {
|
|
379
|
-
const t = Math.max(
|
|
568
|
+
const t = Math.max(
|
|
569
|
+
...R.value.map((o) => o.labelLen)
|
|
570
|
+
), l = p.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, a = (A.value.width - l) / ae.value, s = [];
|
|
380
571
|
for (let o = 0; o < ae.value; o += 1)
|
|
381
572
|
s.push({
|
|
382
573
|
selectorX: l + a * o,
|
|
@@ -398,16 +589,25 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
398
589
|
function ut(t) {
|
|
399
590
|
c.value = t;
|
|
400
591
|
const l = Ie(t);
|
|
401
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
592
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
593
|
+
datapoint: l,
|
|
594
|
+
seriesIndex: t.index
|
|
595
|
+
});
|
|
402
596
|
}
|
|
403
597
|
function it(t) {
|
|
404
598
|
c.value = null;
|
|
405
599
|
const l = Ie(t);
|
|
406
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
600
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
601
|
+
datapoint: l,
|
|
602
|
+
seriesIndex: t.index
|
|
603
|
+
});
|
|
407
604
|
}
|
|
408
605
|
function ct(t) {
|
|
409
606
|
const l = Ie(t);
|
|
410
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
607
|
+
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
608
|
+
datapoint: l,
|
|
609
|
+
seriesIndex: t.index
|
|
610
|
+
}), ce("selectX", l);
|
|
411
611
|
}
|
|
412
612
|
function ea(t, l) {
|
|
413
613
|
return t.length * l / 2 + l;
|
|
@@ -422,7 +622,17 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
422
622
|
}
|
|
423
623
|
const w = d(() => {
|
|
424
624
|
L.value;
|
|
425
|
-
const t = Math.max(
|
|
625
|
+
const t = Math.max(
|
|
626
|
+
...R.value.map((k) => k.labelLen)
|
|
627
|
+
), l = Math.max(
|
|
628
|
+
...R.value.flatMap(
|
|
629
|
+
(k) => k.datapoints.flatMap((b) => b.values)
|
|
630
|
+
)
|
|
631
|
+
), a = Math.min(
|
|
632
|
+
...R.value.flatMap(
|
|
633
|
+
(k) => k.datapoints.flatMap((b) => b.values)
|
|
634
|
+
)
|
|
635
|
+
), s = p.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, o = (A.value.width - s) / ae.value, v = Math.abs(Math.min(a, 0)), $ = l + v;
|
|
426
636
|
function E(k) {
|
|
427
637
|
return isNaN(k / $) ? 0 : k / $;
|
|
428
638
|
}
|
|
@@ -436,7 +646,14 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
436
646
|
},
|
|
437
647
|
datapoints: k.datapoints.map((re) => {
|
|
438
648
|
const K = re.values.map((ue, $a) => {
|
|
439
|
-
const _a = isNaN(ue) || [
|
|
649
|
+
const _a = isNaN(ue) || [
|
|
650
|
+
void 0,
|
|
651
|
+
null,
|
|
652
|
+
"NaN",
|
|
653
|
+
NaN,
|
|
654
|
+
1 / 0,
|
|
655
|
+
-1 / 0
|
|
656
|
+
].includes(ue) ? 0 : ue || 0, Pa = s + o * $a, Sa = A.value.top + bt + L.value * ze.value * (1 - E(_a + v)), Ta = ue === Math.max(...re.values);
|
|
440
657
|
return {
|
|
441
658
|
x: Pa,
|
|
442
659
|
y: Sa,
|
|
@@ -502,7 +719,7 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
502
719
|
})), Y.value = t, ye.value = Va({
|
|
503
720
|
...e.value.style.chart.dialog.xyChart,
|
|
504
721
|
responsive: !0,
|
|
505
|
-
// Overriding
|
|
722
|
+
// Overriding
|
|
506
723
|
chart: {
|
|
507
724
|
...e.value.style.chart.dialog.xyChart.chart,
|
|
508
725
|
grid: {
|
|
@@ -598,7 +815,10 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
598
815
|
function Re(t = null) {
|
|
599
816
|
pe(() => {
|
|
600
817
|
const l = [
|
|
601
|
-
[
|
|
818
|
+
[
|
|
819
|
+
e.value.table.columnNames.series,
|
|
820
|
+
...J.map((o) => [o.text])
|
|
821
|
+
],
|
|
602
822
|
...yt.value.body.map((o, v) => [o[0].name, ...o.slice(1)])
|
|
603
823
|
], a = [
|
|
604
824
|
[e.value.style.chart.title.text],
|
|
@@ -615,7 +835,12 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
615
835
|
}
|
|
616
836
|
async function ra({ scale: t = 2 } = {}) {
|
|
617
837
|
if (!z.value) return;
|
|
618
|
-
const { width: l, height: a } = z.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: v } = await nl({
|
|
838
|
+
const { width: l, height: a } = z.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: v } = await nl({
|
|
839
|
+
domElement: z.value,
|
|
840
|
+
base64: !0,
|
|
841
|
+
img: !0,
|
|
842
|
+
scale: t
|
|
843
|
+
});
|
|
619
844
|
return {
|
|
620
845
|
imageUri: o,
|
|
621
846
|
base64: v,
|
|
@@ -632,7 +857,14 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
632
857
|
slicer: ua,
|
|
633
858
|
configRef: e,
|
|
634
859
|
rotationPath: ["style", "chart", "xAxis", "labels", "rotation"],
|
|
635
|
-
autoRotatePath: [
|
|
860
|
+
autoRotatePath: [
|
|
861
|
+
"style",
|
|
862
|
+
"chart",
|
|
863
|
+
"xAxis",
|
|
864
|
+
"labels",
|
|
865
|
+
"autoRotate",
|
|
866
|
+
"enable"
|
|
867
|
+
],
|
|
636
868
|
isAutoSize: !1,
|
|
637
869
|
width: Zt,
|
|
638
870
|
height: Jt,
|
|
@@ -670,9 +902,12 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
670
902
|
}
|
|
671
903
|
};
|
|
672
904
|
});
|
|
673
|
-
ie(
|
|
674
|
-
|
|
675
|
-
|
|
905
|
+
ie(
|
|
906
|
+
() => W.value.showTable,
|
|
907
|
+
(t) => {
|
|
908
|
+
e.value.table.show || (t && e.value.table.useDialog && te.value ? te.value.open() : "close" in te.value && te.value.close());
|
|
909
|
+
}
|
|
910
|
+
);
|
|
676
911
|
function gt() {
|
|
677
912
|
W.value.showTable = !1, _e.value && _e.value.setTableIconState(!1);
|
|
678
913
|
}
|
|
@@ -691,7 +926,14 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
691
926
|
try {
|
|
692
927
|
if (t) {
|
|
693
928
|
const { blob: l, url: a, text: s, dataUrl: o } = await ha();
|
|
694
|
-
await Promise.resolve(
|
|
929
|
+
await Promise.resolve(
|
|
930
|
+
e.value.userOptions.callbacks.svg({
|
|
931
|
+
blob: l,
|
|
932
|
+
url: a,
|
|
933
|
+
text: s,
|
|
934
|
+
dataUrl: o
|
|
935
|
+
})
|
|
936
|
+
);
|
|
695
937
|
} else
|
|
696
938
|
await Promise.resolve(da());
|
|
697
939
|
} finally {
|
|
@@ -718,14 +960,18 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
718
960
|
config: t === "main-chart" ? e.value : ye.value,
|
|
719
961
|
dataset: t === "main-chart" ? w.value : ge.value
|
|
720
962
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
721
|
-
console.warn(
|
|
963
|
+
console.warn(
|
|
964
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
965
|
+
);
|
|
722
966
|
return;
|
|
723
967
|
}
|
|
724
|
-
await Promise.resolve(
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
968
|
+
await Promise.resolve(
|
|
969
|
+
e.value.userOptions.callbacks.altCopy({
|
|
970
|
+
source: t,
|
|
971
|
+
config: t === "main-chart" ? e.value : ye.value,
|
|
972
|
+
dataset: t === "main-chart" ? w.value : ge.value
|
|
973
|
+
})
|
|
974
|
+
);
|
|
729
975
|
}
|
|
730
976
|
function ga() {
|
|
731
977
|
U.value = null, Pe.value = !0;
|
|
@@ -736,7 +982,8 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
736
982
|
function ma(t) {
|
|
737
983
|
if (!Z.value || oe.value || document.activeElement !== Z.value || !w.value.length) return;
|
|
738
984
|
const l = t.key === "ArrowUp", a = t.key === "ArrowDown", s = t.key === "ArrowLeft", o = t.key === "ArrowRight", v = t.key === "Enter" || t.key === " ", $ = t.key === "Escape";
|
|
739
|
-
if (!l && !a && !s && !o && !v && !$)
|
|
985
|
+
if (!l && !a && !s && !o && !v && !$)
|
|
986
|
+
return;
|
|
740
987
|
if (t.preventDefault(), t.stopPropagation(), $) {
|
|
741
988
|
mt();
|
|
742
989
|
return;
|
|
@@ -759,9 +1006,7 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
759
1006
|
}
|
|
760
1007
|
if (!M.value.length) return;
|
|
761
1008
|
let E = c.value?.index ?? null;
|
|
762
|
-
E === null ? E = o ? 0 : M.value.length - 1 : E = xa(
|
|
763
|
-
E + (o ? 1 : -1)
|
|
764
|
-
);
|
|
1009
|
+
E === null ? E = o ? 0 : M.value.length - 1 : E = xa(E + (o ? 1 : -1));
|
|
765
1010
|
const k = M.value[E];
|
|
766
1011
|
k && ut(k);
|
|
767
1012
|
}
|
|
@@ -778,10 +1023,7 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
778
1023
|
}
|
|
779
1024
|
const ne = d(() => ({
|
|
780
1025
|
head: Q.value.head,
|
|
781
|
-
body: Q.value.body.map((t) => [
|
|
782
|
-
t[0]?.name ?? "",
|
|
783
|
-
...t.slice(1)
|
|
784
|
-
]),
|
|
1026
|
+
body: Q.value.body.map((t) => [t[0]?.name ?? "", ...t.slice(1)]),
|
|
785
1027
|
caption: e.value.a11y.translations.tableCaption,
|
|
786
1028
|
notice: e.value.a11y.translations.tableAvailable
|
|
787
1029
|
}));
|
|
@@ -912,7 +1154,9 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
912
1154
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
913
1155
|
isAnnotation: oe.value,
|
|
914
1156
|
tableDialog: e.value.table.useDialog,
|
|
915
|
-
style: _({
|
|
1157
|
+
style: _({
|
|
1158
|
+
visibility: u(tt) ? u(he) ? "visible" : "hidden" : "visible"
|
|
1159
|
+
}),
|
|
916
1160
|
isCursorPointer: D.value,
|
|
917
1161
|
onToggleFullscreen: dt,
|
|
918
1162
|
onGeneratePdf: u(lt),
|
|
@@ -1000,7 +1244,10 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
1000
1244
|
ref: Z,
|
|
1001
1245
|
xmlns: u(Ra),
|
|
1002
1246
|
"aria-describedby": `chart-instructions-${C.value}`,
|
|
1003
|
-
class: me({
|
|
1247
|
+
class: me({
|
|
1248
|
+
"vue-data-ui-fullscreen--on": G.value,
|
|
1249
|
+
"vue-data-ui-fulscreen--off": !G.value
|
|
1250
|
+
}),
|
|
1004
1251
|
viewBox: `0 0 ${p.value.width <= 0 ? 10 : p.value.width} ${A.value.fullHeight <= 0 ? 10 : A.value.fullHeight}`,
|
|
1005
1252
|
style: _(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${Qe.value}px; width: 100%;` : ""}`),
|
|
1006
1253
|
tabindex: "0",
|
|
@@ -1078,7 +1325,11 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
1078
1325
|
}, [
|
|
1079
1326
|
t.$slots.pattern ? (n(), r("g", wl, [
|
|
1080
1327
|
g("defs", null, [
|
|
1081
|
-
y(t.$slots, "pattern", Be({ ref_for: !0 }, {
|
|
1328
|
+
y(t.$slots, "pattern", Be({ ref_for: !0 }, {
|
|
1329
|
+
datapointIndex: s,
|
|
1330
|
+
seriesIndex: v,
|
|
1331
|
+
patternId: `pattern_${C.value}_${o.uid}`
|
|
1332
|
+
}), void 0, !0)
|
|
1082
1333
|
])
|
|
1083
1334
|
])) : h("", !0),
|
|
1084
1335
|
g("path", {
|
|
@@ -1097,7 +1348,9 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
1097
1348
|
d: e.value.style.chart.areas.smooth ? o.smoothPathRidge : o.straightPathRidge,
|
|
1098
1349
|
"stroke-linecap": "round",
|
|
1099
1350
|
"stroke-linejoin": "round",
|
|
1100
|
-
class: me({
|
|
1351
|
+
class: me({
|
|
1352
|
+
"vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(q)
|
|
1353
|
+
}),
|
|
1101
1354
|
style: _({
|
|
1102
1355
|
strokeDasharray: o.pathLength,
|
|
1103
1356
|
strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
|
|
@@ -1109,7 +1362,9 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
1109
1362
|
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
1110
1363
|
"stroke-linecap": "round",
|
|
1111
1364
|
"stroke-linejoin": "round",
|
|
1112
|
-
class: me({
|
|
1365
|
+
class: me({
|
|
1366
|
+
"vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(q)
|
|
1367
|
+
}),
|
|
1113
1368
|
style: _({
|
|
1114
1369
|
strokeDasharray: o.pathLength,
|
|
1115
1370
|
strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
|
|
@@ -1171,7 +1426,9 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
1171
1426
|
ref: $e
|
|
1172
1427
|
}, [
|
|
1173
1428
|
(n(!0), r(m, null, O(M.value, (a, s) => y(t.$slots, "time-label", Be({ ref_for: !0 }, {
|
|
1174
|
-
show: a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === M.value.length - 1) || a && c.value && c.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(
|
|
1429
|
+
show: a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === M.value.length - 1) || a && c.value && c.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(
|
|
1430
|
+
M.value.length / e.value.style.chart.xAxis.labels.modulo
|
|
1431
|
+
) === 0,
|
|
1175
1432
|
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
1176
1433
|
content: a.label,
|
|
1177
1434
|
textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
@@ -1180,7 +1437,9 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
1180
1437
|
x: a.selectorX,
|
|
1181
1438
|
y: A.value.bottom + e.value.style.chart.xAxis.labels.offsetY
|
|
1182
1439
|
}), () => [
|
|
1183
|
-
a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === M.value.length - 1) || a && c.value && c.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(
|
|
1440
|
+
a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === M.value.length - 1) || a && c.value && c.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(
|
|
1441
|
+
M.value.length / e.value.style.chart.xAxis.labels.modulo
|
|
1442
|
+
) === 0 ? (n(), r("g", Ml, [
|
|
1184
1443
|
String(a.label).includes(`
|
|
1185
1444
|
`) ? (n(), r("text", {
|
|
1186
1445
|
key: 1,
|
|
@@ -1312,11 +1571,16 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
1312
1571
|
}, void 0, !0)
|
|
1313
1572
|
], 46, hl)),
|
|
1314
1573
|
t.$slots.hint ? (n(), r("div", El, [
|
|
1315
|
-
y(t.$slots, "hint", S(T({
|
|
1574
|
+
y(t.$slots, "hint", S(T({
|
|
1575
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1576
|
+
isVisible: Pe.value
|
|
1577
|
+
})), void 0, !0)
|
|
1316
1578
|
])) : h("", !0)
|
|
1317
1579
|
]),
|
|
1318
1580
|
t.$slots.watermark ? (n(), r("div", Xl, [
|
|
1319
|
-
y(t.$slots, "watermark", S(T({
|
|
1581
|
+
y(t.$slots, "watermark", S(T({
|
|
1582
|
+
isPrinting: u(Le) || u(Me) || ve.value || de.value
|
|
1583
|
+
})), void 0, !0)
|
|
1320
1584
|
])) : h("", !0),
|
|
1321
1585
|
g("div", {
|
|
1322
1586
|
ref_key: "chartLegend",
|
|
@@ -1467,7 +1731,7 @@ const cl = ["id"], vl = ["id"], dl = { style: { position: "relative" } }, hl = [
|
|
|
1467
1731
|
], !0)
|
|
1468
1732
|
], 46, cl));
|
|
1469
1733
|
}
|
|
1470
|
-
}, vo = /* @__PURE__ */ il(Ul, [["__scopeId", "data-v-
|
|
1734
|
+
}, vo = /* @__PURE__ */ il(Ul, [["__scopeId", "data-v-0073d09e"]]);
|
|
1471
1735
|
export {
|
|
1472
1736
|
vo as default
|
|
1473
1737
|
};
|