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,21 +1,21 @@
|
|
|
1
1
|
import { defineAsyncComponent as E, ref as u, shallowRef as ct, computed as h, onMounted as yl, onBeforeUnmount as fl, toRefs as pl, watch as he, watchEffect as gl, openBlock as s, createElementBlock as r, unref as c, normalizeStyle as M, normalizeClass as H, createElementVNode as C, toDisplayString as D, createBlock as F, createCommentVNode as y, renderSlot as f, withCtx as p, normalizeProps as A, guardReactiveProps as S, createSlots as vt, createVNode as Le, Fragment as T, renderList as $, Teleport as xl, resolveDynamicComponent as bl, mergeProps as ml, createTextVNode as dt, nextTick as _e } from "vue";
|
|
2
|
-
import { j as ht, o as yt, q as ft, r as kl, t as pt, n as wl, p as ye, s as Cl, D as gt, k as K, l as G, X as Al, x as Sl, w as Tl, Z as $l, W as Il, a2 as U, m as Ll, a0 as _l, a1 as Pl, T as zl, a3 as Ol } from "./lib-
|
|
2
|
+
import { j as ht, o as yt, q as ft, r as kl, t as pt, n as wl, p as ye, s as Cl, D as gt, k as K, l as G, X as Al, x as Sl, w as Tl, Z as $l, W as Il, a2 as U, m as Ll, a0 as _l, a1 as Pl, T as zl, a3 as Ol } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as xt, u as Ml } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Nl } from "./useConfig-
|
|
5
|
-
import { u as Dl, B as Fl } from "./BaseScanner-
|
|
6
|
-
import { u as Xl } from "./usePrinter-
|
|
7
|
-
import { u as Bl } from "./useSvgExport-
|
|
8
|
-
import { u as Pe } from "./useNestedProp-
|
|
9
|
-
import { u as Rl } from "./useThemeCheck-
|
|
10
|
-
import { u as El } from "./useUserOptionState-
|
|
11
|
-
import { u as Yl } from "./useChartAccessibility-
|
|
12
|
-
import { u as Hl } from "./useTimeLabelCollider-
|
|
13
|
-
import Ul from "./img-
|
|
14
|
-
import Wl from "./Title-
|
|
4
|
+
import { u as Nl } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as Dl, B as Fl } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as Xl } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as Bl } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as Pe } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as Rl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as El } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as Yl } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import { u as Hl } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
13
|
+
import Ul from "./img-CjTQXS0U.js";
|
|
14
|
+
import Wl from "./Title-BbKoiBk2.js";
|
|
15
15
|
import jl from "./vue_ui_history_plot-BCKk1CrQ.js";
|
|
16
|
-
import Vl from "./Legend-
|
|
17
|
-
import { A as Kl } from "./A11yDataTable-
|
|
18
|
-
import { B as Gl } from "./BaseLegendToggle-
|
|
16
|
+
import Vl from "./Legend-DGN5lY60.js";
|
|
17
|
+
import { A as Kl } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
+
import { B as Gl } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
19
|
import { _ as ql } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
20
|
const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative" } }, ta = ["xmlns", "viewBox", "aria-describedby"], la = ["x", "y", "width", "height"], aa = { key: 1 }, oa = ["id"], sa = ["stop-color"], na = ["stop-color"], ra = ["stop-color"], ia = { key: 2 }, ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = { key: 3 }, va = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], da = ["x", "y", "fill", "font-size"], ha = ["transform", "font-size", "fill", "font-weight"], ya = { key: 6 }, fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pa = { key: 7 }, ga = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], xa = ["transform", "fill", "font-size", "text-anchor"], ba = ["x", "y", "font-size", "fill", "font-weight"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = ["d", "stroke", "stroke-width"], Ca = ["d", "stroke", "stroke-width"], Aa = ["cx", "cy", "fill", "r"], Sa = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Ta = { key: 1 }, $a = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], La = { key: 2 }, _a = ["x", "y", "font-size", "font-weight", "fill"], Pa = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], za = {
|
|
21
21
|
key: 0,
|
|
@@ -43,7 +43,15 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectLegend", "selectDatapoint", "copyAlt"],
|
|
45
45
|
setup(bt, { expose: mt, emit: kt }) {
|
|
46
|
-
const wt = E(() => import("./Tooltip-
|
|
46
|
+
const wt = E(() => import("./Tooltip-Cvt7Fi0Q.js")), Ct = E(() => import("./BaseIcon-DX0hTWa-.js")), At = E(() => import("./vue-ui-accordion-BHmfmb_6.js")), St = E(() => import("./DataTable-cMnb68Ik.js")), Tt = E(
|
|
47
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
48
|
+
), $t = E(
|
|
49
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
50
|
+
), It = E(
|
|
51
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
52
|
+
), Lt = E(
|
|
53
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
54
|
+
), { vue_ui_history_plot: _t } = Nl(), { isThemeValid: Pt, warnInvalidTheme: zt } = Rl(), L = bt, X = u(null), ze = u(null), Oe = u(0), Me = u(null), Ne = u(0), De = u(0), Fe = u(0), R = ct(null), W = ct(null), Xe = u(null), _ = u(ht()), oe = u(!1), fe = u(""), x = u([]), q = u(!1), P = u(null), Z = u(!1), Be = u(null), Re = u(!1), J = u(null), pe = u(null), se = u(!1), ne = u(!1), ge = u(null), xe = u(null), re = u(null), be = u(null), k = u(null), w = u(null), Ee = u({ x: 0, y: 0 }), ie = u("pointer"), me = u(!1), ue = h({
|
|
47
55
|
get: () => !!L.dataset && L.dataset.length,
|
|
48
56
|
set: (t) => t
|
|
49
57
|
}), ke = kt;
|
|
@@ -157,7 +165,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
157
165
|
a = t;
|
|
158
166
|
return a;
|
|
159
167
|
}
|
|
160
|
-
const e = u(we()), j = h(
|
|
168
|
+
const e = u(we()), j = h(
|
|
169
|
+
() => e.value.userOptions.useCursorPointer
|
|
170
|
+
), Ot = h(() => pt({
|
|
161
171
|
defaultConfig: {
|
|
162
172
|
userOptions: { show: !1 },
|
|
163
173
|
table: { show: !1 },
|
|
@@ -228,12 +238,22 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
228
238
|
defaultConfig: e.value,
|
|
229
239
|
userConfig: Ot.value
|
|
230
240
|
})
|
|
231
|
-
}), { userOptionsVisible: Ae, setUserOptionsVisibility: Ue, keepUserOptionState: We } = El({ config: e.value }), { svgRef: Y } = Yl({
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
241
|
+
}), { userOptionsVisible: Ae, setUserOptionsVisibility: Ue, keepUserOptionState: We } = El({ config: e.value }), { svgRef: Y } = Yl({
|
|
242
|
+
config: e.value.style.chart.title
|
|
243
|
+
});
|
|
244
|
+
he(
|
|
245
|
+
() => L.config,
|
|
246
|
+
(t) => {
|
|
247
|
+
B.value || (e.value = we()), Ae.value = !e.value.userOptions.showOnChartHover, He(), Oe.value += 1, De.value += 1, Ne.value += 1, b.value.height = e.value.style.chart.height, b.value.width = e.value.style.chart.width, i.value.plots = e.value.style.chart.plots.radius, i.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, i.value.labels = e.value.style.chart.plots.labels.fontSize, i.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, i.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, i.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, i.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
248
|
+
},
|
|
249
|
+
{ deep: !0 }
|
|
250
|
+
), he(
|
|
251
|
+
() => L.dataset,
|
|
252
|
+
(t) => {
|
|
253
|
+
Array.isArray(t) && t.length > 0 && (Ce.value = !1);
|
|
254
|
+
},
|
|
255
|
+
{ deep: !0 }
|
|
256
|
+
);
|
|
237
257
|
const { isPrinting: Se, isImaging: Te, generatePdf: je, generateImage: Ve } = Xl({
|
|
238
258
|
elementId: `history_plot_${_.value}`,
|
|
239
259
|
fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
|
|
@@ -242,12 +262,16 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
242
262
|
showTable: e.value.table.show,
|
|
243
263
|
showTooltip: e.value.style.chart.tooltip.show
|
|
244
264
|
});
|
|
245
|
-
he(
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
265
|
+
he(
|
|
266
|
+
e,
|
|
267
|
+
() => {
|
|
268
|
+
z.value = {
|
|
269
|
+
showTable: e.value.table.show,
|
|
270
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
271
|
+
};
|
|
272
|
+
},
|
|
273
|
+
{ immediate: !0 }
|
|
274
|
+
);
|
|
251
275
|
const b = u({
|
|
252
276
|
height: e.value.style.chart.height,
|
|
253
277
|
width: e.value.style.chart.width
|
|
@@ -299,11 +323,19 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
299
323
|
...t,
|
|
300
324
|
color: t.color ? Cl(t.color) : Dt.value[a] || ye[a] || ye[a % ye.length],
|
|
301
325
|
seriesIndex: a
|
|
302
|
-
}))), Et = h(() => Math.max(
|
|
303
|
-
|
|
326
|
+
}))), Et = h(() => Math.max(
|
|
327
|
+
...N.value.filter((t) => !x.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))
|
|
328
|
+
)), Yt = h(() => {
|
|
329
|
+
const t = Math.min(
|
|
330
|
+
...N.value.filter((a) => !x.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x))
|
|
331
|
+
);
|
|
304
332
|
return t < 0 ? t : 0;
|
|
305
|
-
}), Ht = h(() => Math.max(
|
|
306
|
-
|
|
333
|
+
}), Ht = h(() => Math.max(
|
|
334
|
+
...N.value.filter((t) => !x.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))
|
|
335
|
+
)), Ut = h(() => {
|
|
336
|
+
const t = Math.min(
|
|
337
|
+
...N.value.filter((a) => !x.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y))
|
|
338
|
+
);
|
|
307
339
|
return t < 0 ? t : 0;
|
|
308
340
|
}), m = h(() => {
|
|
309
341
|
const t = gt(
|
|
@@ -394,7 +426,10 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
394
426
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
395
427
|
}));
|
|
396
428
|
function Ze({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
397
|
-
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
429
|
+
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
430
|
+
datapoint: { ...t, plotIndex: a, seriesIndex: l },
|
|
431
|
+
seriesIndex: l
|
|
432
|
+
}), ke("selectDatapoint", t);
|
|
398
433
|
}
|
|
399
434
|
function Je(t) {
|
|
400
435
|
ke("selectLegend", {
|
|
@@ -408,19 +443,38 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
408
443
|
}
|
|
409
444
|
const ve = u(null);
|
|
410
445
|
function et({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
411
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
446
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
447
|
+
datapoint: { ...t, plotIndex: a, seriesIndex: l },
|
|
448
|
+
seriesIndex: l
|
|
449
|
+
}), !(ie.value === "keyboard" && k.value === l && w.value === a) && (oe.value = !1, P.value = null);
|
|
412
450
|
}
|
|
413
451
|
function Zt(t, a) {
|
|
414
452
|
if (!Y.value) return;
|
|
415
|
-
const l = g.value.find(
|
|
453
|
+
const l = g.value.find(
|
|
454
|
+
(d) => d.seriesIndex === t
|
|
455
|
+
);
|
|
416
456
|
if (!l) return;
|
|
417
457
|
const n = l.plots[a];
|
|
418
458
|
if (!n) return;
|
|
419
459
|
const o = Ol(n.x, n.y, Y.value);
|
|
420
460
|
o && (Ee.value = o);
|
|
421
461
|
}
|
|
422
|
-
function tt({
|
|
423
|
-
|
|
462
|
+
function tt({
|
|
463
|
+
datapoint: t,
|
|
464
|
+
plotIndex: a,
|
|
465
|
+
seriesIndex: l,
|
|
466
|
+
triggerMode: n = "pointer"
|
|
467
|
+
}) {
|
|
468
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
469
|
+
datapoint: { ...t, plotIndex: a, seriesIndex: l },
|
|
470
|
+
seriesIndex: l
|
|
471
|
+
}), k.value = l, w.value = a, ie.value = n, ve.value = {
|
|
472
|
+
datapoint: t,
|
|
473
|
+
seriesIndex: l,
|
|
474
|
+
plotIndex: a,
|
|
475
|
+
config: e.value,
|
|
476
|
+
series: N.value
|
|
477
|
+
}, P.value = t;
|
|
424
478
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
425
479
|
if (Z.value = !1, zl(o))
|
|
426
480
|
try {
|
|
@@ -524,12 +578,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
524
578
|
[e.value.table.columnNames.datapoint],
|
|
525
579
|
[e.value.table.columnNames.x],
|
|
526
580
|
[e.value.table.columnNames.y]
|
|
527
|
-
], l = g.value.flatMap((d) => d.plots.map((I) => [
|
|
528
|
-
[I.seriesName],
|
|
529
|
-
[I.label],
|
|
530
|
-
[I.valueX],
|
|
531
|
-
[I.valueY]
|
|
532
|
-
])), n = [
|
|
581
|
+
], l = g.value.flatMap((d) => d.plots.map((I) => [[I.seriesName], [I.label], [I.valueX], [I.valueY]])), n = [
|
|
533
582
|
[e.value.style.chart.title.text],
|
|
534
583
|
[e.value.style.chart.title.subtitle.text],
|
|
535
584
|
a
|
|
@@ -555,7 +604,12 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
555
604
|
}
|
|
556
605
|
async function Qt({ scale: t = 2 } = {}) {
|
|
557
606
|
if (!X.value) return;
|
|
558
|
-
const { width: a, height: l } = X.value.getBoundingClientRect(), n = a / l, { imageUri: o, base64: d } = await Ul({
|
|
607
|
+
const { width: a, height: l } = X.value.getBoundingClientRect(), n = a / l, { imageUri: o, base64: d } = await Ul({
|
|
608
|
+
domElement: X.value,
|
|
609
|
+
base64: !0,
|
|
610
|
+
img: !0,
|
|
611
|
+
scale: t
|
|
612
|
+
});
|
|
559
613
|
return {
|
|
560
614
|
imageUri: o,
|
|
561
615
|
base64: d,
|
|
@@ -565,14 +619,25 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
565
619
|
aspectRatio: n
|
|
566
620
|
};
|
|
567
621
|
}
|
|
568
|
-
const el = h(() => m.value.tickX), tl = h(() => ({
|
|
622
|
+
const el = h(() => m.value.tickX), tl = h(() => ({
|
|
623
|
+
start: 0,
|
|
624
|
+
end: m.value.tickX.length
|
|
625
|
+
}));
|
|
569
626
|
Hl({
|
|
570
627
|
timeLabelsEls: re,
|
|
571
628
|
timeLabels: el,
|
|
572
629
|
slicer: tl,
|
|
573
630
|
configRef: e,
|
|
574
631
|
rotationPath: ["style", "chart", "axes", "x", "labels", "rotation"],
|
|
575
|
-
autoRotatePath: [
|
|
632
|
+
autoRotatePath: [
|
|
633
|
+
"style",
|
|
634
|
+
"chart",
|
|
635
|
+
"axes",
|
|
636
|
+
"x",
|
|
637
|
+
"labels",
|
|
638
|
+
"autoRotate",
|
|
639
|
+
"enable"
|
|
640
|
+
],
|
|
576
641
|
isAutoSize: !1,
|
|
577
642
|
width: Ft,
|
|
578
643
|
height: Xt,
|
|
@@ -609,9 +674,12 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
609
674
|
}
|
|
610
675
|
};
|
|
611
676
|
});
|
|
612
|
-
he(
|
|
613
|
-
|
|
614
|
-
|
|
677
|
+
he(
|
|
678
|
+
() => z.value.showTable,
|
|
679
|
+
(t) => {
|
|
680
|
+
e.value.table.show || (t && e.value.table.useDialog && J.value ? J.value.open() : "close" in J.value && J.value.close());
|
|
681
|
+
}
|
|
682
|
+
);
|
|
615
683
|
function ot() {
|
|
616
684
|
z.value.showTable = !1, pe.value && pe.value.setTableIconState(!1);
|
|
617
685
|
}
|
|
@@ -627,7 +695,14 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
627
695
|
try {
|
|
628
696
|
if (t) {
|
|
629
697
|
const { blob: a, url: l, text: n, dataUrl: o } = await nl();
|
|
630
|
-
await Promise.resolve(
|
|
698
|
+
await Promise.resolve(
|
|
699
|
+
e.value.userOptions.callbacks.svg({
|
|
700
|
+
blob: a,
|
|
701
|
+
url: l,
|
|
702
|
+
text: n,
|
|
703
|
+
dataUrl: o
|
|
704
|
+
})
|
|
705
|
+
);
|
|
631
706
|
} else
|
|
632
707
|
await Promise.resolve(sl());
|
|
633
708
|
} finally {
|
|
@@ -650,13 +725,17 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
650
725
|
config: e.value,
|
|
651
726
|
dataset: g.value
|
|
652
727
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
653
|
-
console.warn(
|
|
728
|
+
console.warn(
|
|
729
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
730
|
+
);
|
|
654
731
|
return;
|
|
655
732
|
}
|
|
656
|
-
await Promise.resolve(
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
733
|
+
await Promise.resolve(
|
|
734
|
+
e.value.userOptions.callbacks.altCopy({
|
|
735
|
+
config: e.value,
|
|
736
|
+
dataset: g.value
|
|
737
|
+
})
|
|
738
|
+
);
|
|
660
739
|
}
|
|
661
740
|
const le = h(() => ({
|
|
662
741
|
head: V.value.head,
|
|
@@ -670,11 +749,15 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
670
749
|
notice: e.value.a11y.translations.tableAvailable
|
|
671
750
|
}));
|
|
672
751
|
function il(t) {
|
|
673
|
-
return g.value.findIndex(
|
|
752
|
+
return g.value.findIndex(
|
|
753
|
+
(a) => a.seriesIndex === t
|
|
754
|
+
);
|
|
674
755
|
}
|
|
675
756
|
function rt() {
|
|
676
757
|
if (k.value !== null && w.value !== null) {
|
|
677
|
-
const a = g.value.find(
|
|
758
|
+
const a = g.value.find(
|
|
759
|
+
(l) => l.seriesIndex === k.value
|
|
760
|
+
)?.plots?.[w.value];
|
|
678
761
|
a && et({
|
|
679
762
|
datapoint: a,
|
|
680
763
|
plotIndex: w.value,
|
|
@@ -721,14 +804,18 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
721
804
|
function dl(t) {
|
|
722
805
|
if (!Y.value || ee.value || document.activeElement !== Y.value || !g.value.length) return;
|
|
723
806
|
const a = t.key === "ArrowLeft", l = t.key === "ArrowRight", n = t.key === "ArrowUp", o = t.key === "ArrowDown", d = t.key === "Enter" || t.key === " ", I = t.key === "Escape";
|
|
724
|
-
if (!a && !l && !n && !o && !d && !I)
|
|
807
|
+
if (!a && !l && !n && !o && !d && !I)
|
|
808
|
+
return;
|
|
725
809
|
if (t.preventDefault(), t.stopPropagation(), I) {
|
|
726
810
|
rt();
|
|
727
811
|
return;
|
|
728
812
|
}
|
|
729
813
|
if (d) {
|
|
730
|
-
if (k.value === null || w.value === null)
|
|
731
|
-
|
|
814
|
+
if (k.value === null || w.value === null)
|
|
815
|
+
return;
|
|
816
|
+
const ut = g.value.find(
|
|
817
|
+
(hl) => hl.seriesIndex === k.value
|
|
818
|
+
)?.plots?.[w.value];
|
|
732
819
|
if (!ut) return;
|
|
733
820
|
Ze({
|
|
734
821
|
datapoint: ut,
|
|
@@ -763,7 +850,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
763
850
|
direction: "right"
|
|
764
851
|
}));
|
|
765
852
|
if (!O) return;
|
|
766
|
-
const it = g.value.find(
|
|
853
|
+
const it = g.value.find(
|
|
854
|
+
(ae) => ae.seriesIndex === O.seriesIndex
|
|
855
|
+
)?.plots?.[O.plotIndex];
|
|
767
856
|
it && tt({
|
|
768
857
|
datapoint: it,
|
|
769
858
|
plotIndex: O.plotIndex,
|
|
@@ -789,7 +878,11 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
789
878
|
id: `history_plot_${_.value}`,
|
|
790
879
|
ref_key: "historyPlotChart",
|
|
791
880
|
ref: X,
|
|
792
|
-
class: H({
|
|
881
|
+
class: H({
|
|
882
|
+
"vue-data-ui-component": !0,
|
|
883
|
+
"vue-ui-history-plot": !0,
|
|
884
|
+
"vue-data-ui-wrapper-fullscreen": q.value
|
|
885
|
+
}),
|
|
793
886
|
style: M(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
794
887
|
onMouseenter: a[2] || (a[2] = () => c(Ue)(!0)),
|
|
795
888
|
onMouseleave: a[3] || (a[3] = () => c(Ue)(!1))
|
|
@@ -1015,7 +1108,10 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1015
1108
|
}, [
|
|
1016
1109
|
C("stop", {
|
|
1017
1110
|
offset: "10%",
|
|
1018
|
-
"stop-color": c(Sl)(
|
|
1111
|
+
"stop-color": c(Sl)(
|
|
1112
|
+
l.color,
|
|
1113
|
+
e.value.style.chart.plots.gradient.intensity / 100
|
|
1114
|
+
)
|
|
1019
1115
|
}, null, 8, sa),
|
|
1020
1116
|
C("stop", {
|
|
1021
1117
|
offset: "90%",
|
|
@@ -1170,7 +1266,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1170
1266
|
fill: "none",
|
|
1171
1267
|
"stroke-linecap": "round",
|
|
1172
1268
|
"stroke-linejoin": "round",
|
|
1173
|
-
class: H({
|
|
1269
|
+
class: H({
|
|
1270
|
+
animated: e.value.useCssAnimation && !c(B)
|
|
1271
|
+
})
|
|
1174
1272
|
}, null, 10, wa),
|
|
1175
1273
|
C("path", {
|
|
1176
1274
|
d: l.path,
|
|
@@ -1179,7 +1277,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1179
1277
|
fill: "none",
|
|
1180
1278
|
"stroke-linecap": "round",
|
|
1181
1279
|
"stroke-linejoin": "round",
|
|
1182
|
-
class: H({
|
|
1280
|
+
class: H({
|
|
1281
|
+
animated: e.value.useCssAnimation && !c(B)
|
|
1282
|
+
})
|
|
1183
1283
|
}, null, 10, Ca)
|
|
1184
1284
|
], 4)) : y("", !0),
|
|
1185
1285
|
(s(!0), r(T, null, $(l.plots, (o) => (s(), r("circle", {
|
|
@@ -1196,7 +1296,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1196
1296
|
r: i.value.plots,
|
|
1197
1297
|
stroke: e.value.style.chart.plots.stroke,
|
|
1198
1298
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
1199
|
-
class: H({
|
|
1299
|
+
class: H({
|
|
1300
|
+
animated: e.value.useCssAnimation && !c(B)
|
|
1301
|
+
}),
|
|
1200
1302
|
style: M({
|
|
1201
1303
|
opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
|
|
1202
1304
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -1213,7 +1315,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1213
1315
|
fill: e.value.style.chart.plots.labels.color,
|
|
1214
1316
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1215
1317
|
"text-anchor": "middle",
|
|
1216
|
-
class: H({
|
|
1318
|
+
class: H({
|
|
1319
|
+
animated: e.value.useCssAnimation && !c(B)
|
|
1320
|
+
}),
|
|
1217
1321
|
style: M({
|
|
1218
1322
|
opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
|
|
1219
1323
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -1233,7 +1337,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1233
1337
|
fill: e.value.style.chart.plots.labels.color,
|
|
1234
1338
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
1235
1339
|
"text-anchor": "middle",
|
|
1236
|
-
class: H({
|
|
1340
|
+
class: H({
|
|
1341
|
+
animated: e.value.useCssAnimation && !c(B)
|
|
1342
|
+
}),
|
|
1237
1343
|
style: M({
|
|
1238
1344
|
opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
|
|
1239
1345
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -1249,7 +1355,9 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1249
1355
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
1250
1356
|
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? c(Il)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
1251
1357
|
"text-anchor": "middle",
|
|
1252
|
-
class: H({
|
|
1358
|
+
class: H({
|
|
1359
|
+
animated: e.value.useCssAnimation && !c(B)
|
|
1360
|
+
}),
|
|
1253
1361
|
style: M({
|
|
1254
1362
|
opacity: P.value === null || P.value.id === o.id ? 1 : 0.3,
|
|
1255
1363
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -1291,11 +1399,16 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1291
1399
|
}, void 0, !0)
|
|
1292
1400
|
], 44, ta)),
|
|
1293
1401
|
t.$slots.hint ? (s(), r("div", za, [
|
|
1294
|
-
f(t.$slots, "hint", A(S({
|
|
1402
|
+
f(t.$slots, "hint", A(S({
|
|
1403
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1404
|
+
isVisible: me.value
|
|
1405
|
+
})), void 0, !0)
|
|
1295
1406
|
])) : y("", !0)
|
|
1296
1407
|
]),
|
|
1297
1408
|
t.$slots.watermark ? (s(), r("div", Oa, [
|
|
1298
|
-
f(t.$slots, "watermark", A(S({
|
|
1409
|
+
f(t.$slots, "watermark", A(S({
|
|
1410
|
+
isPrinting: c(Se) || c(Te) || se.value || ne.value
|
|
1411
|
+
})), void 0, !0)
|
|
1299
1412
|
])) : y("", !0),
|
|
1300
1413
|
C("div", {
|
|
1301
1414
|
id: `legend-bottom-${_.value}`
|
|
@@ -1446,7 +1559,7 @@ const Zl = ["id"], Jl = ["id"], Ql = ["id"], ea = { style: { position: "relative
|
|
|
1446
1559
|
], !0)
|
|
1447
1560
|
], 46, Zl));
|
|
1448
1561
|
}
|
|
1449
|
-
}, oo = /* @__PURE__ */ ql(Fa, [["__scopeId", "data-v-
|
|
1562
|
+
}, oo = /* @__PURE__ */ ql(Fa, [["__scopeId", "data-v-a9f2184e"]]);
|
|
1450
1563
|
export {
|
|
1451
1564
|
oo as default
|
|
1452
1565
|
};
|