vue-data-ui 3.17.3 → 3.17.5
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-BhhkKVoj.js → BaseScanner-C2j3TsSY.js} +15 -9
- 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-DP_kfXUM.js → PackageVersion-BjeuEImy.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 +1 -1
- 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-DtjWtDHU.js → patternUtils-BINhU4Ky.js} +149 -66
- 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 +499 -498
- package/dist/types/vue-data-ui.d.ts +2115 -1787
- 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 +1 -1
- 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 +4 -4
- package/dist/{vue-data-ui-kiw3y7gG.js → vue-data-ui-sUtQffE5.js} +138 -72
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-CWaSxiqw.js → vue-ui-3d-bar-D9T1Rz8K.js} +328 -101
- package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
- package/dist/{vue-ui-age-pyramid-B6S8XYmi.js → vue-ui-age-pyramid-vHYpqVeE.js} +180 -73
- package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
- package/dist/{vue-ui-bullet-_zHE8JoR.js → vue-ui-bullet-B-PfDV7g.js} +92 -35
- package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-CpQyyxzJ.js} +205 -102
- package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-B5wVhTFS.js} +285 -100
- package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BwrTmEUk.js} +66 -29
- package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-DpwRmult.js} +277 -88
- package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-Co8hJS-b.js} +226 -96
- package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-CF6Dgnfc.js} +196 -111
- package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-DH_wY_tf.js} +14 -7
- package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DNbCfrdq.js} +261 -99
- package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BCpIGFXu.js} +261 -94
- package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D6ndc1-Y.js} +6 -6
- package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-CHDVQ77G.js} +532 -157
- package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-BHGQCixS.js} +311 -92
- package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-Bmr188oI.js} +266 -93
- package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-Bk4XhCzv.js} +121 -48
- package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BrNSApwi.js} +91 -39
- package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-Q5iomgg7.js} +161 -69
- package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-BaWqd5eR.js} +95 -37
- package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-BvySgBl9.js} +113 -43
- package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-B9wHNMWI.js} +25 -12
- package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-CHmJrc5H.js} +316 -125
- package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-DlDV_-XR.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-DDj9N2Df.js} +151 -56
- package/dist/{vue-ui-kpi-B0sOyO7s.js → vue-ui-kpi-CT4lahy2.js} +35 -14
- package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
- package/dist/{vue-ui-molecule-C2wW_JqJ.js → vue-ui-molecule-BiixieE_.js} +226 -120
- package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DPBpYEDx.js} +166 -56
- package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-DegYxm8S.js} +196 -89
- package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-D4hRf3z7.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-DZ015lrs.js} +262 -84
- package/dist/{vue-ui-pattern-seed-lL5yS7nX.js → vue-ui-pattern-seed-BcNlxb2i.js} +1 -1
- package/dist/{vue-ui-quadrant-CqcWTgh-.js → vue-ui-quadrant-BG8B3jz-.js} +240 -88
- package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BzNfX1Ry.js} +445 -150
- package/dist/{vue-ui-radar-BF2eWMEl.js → vue-ui-radar-Bjl5EavN.js} +186 -68
- package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
- package/dist/{vue-ui-relation-circle-D3jsasRD.js → vue-ui-relation-circle-CK6hnanW.js} +119 -45
- package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ClC-DGEI.js} +349 -85
- package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-BtDpfeuS.js} +179 -81
- package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-CnUnzVb4.js} +282 -102
- package/dist/{vue-ui-skeleton-BD5hXmIt.js → vue-ui-skeleton-CWW9zQ2I.js} +161 -144
- package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
- package/dist/{vue-ui-spark-trend-exj63CUB.js → vue-ui-spark-trend-DMTsPJrB.js} +76 -31
- package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-CNRgbyb6.js} +113 -59
- package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-DXOELREA.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-B83Tb5ee.js} +145 -60
- package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-PLYMeA9O.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-C-UNOmDZ.js} +84 -36
- package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-CcVtuQTN.js} +482 -169
- package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-C6c2nPQM.js} +473 -164
- package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-iwjHwBgZ.js} +239 -132
- package/dist/{vue-ui-table-CKlHkISC.js → vue-ui-table-CfhBUYL5.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-DHPemUVJ.js → vue-ui-table-sparkline-BZb8f2RN.js} +127 -47
- package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-CR4tSQWQ.js} +129 -48
- package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-DubcPvRK.js} +32 -15
- package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-CFnJT7Pn.js} +90 -35
- package/dist/vue-ui-treemap--bugssUn.js +1748 -0
- package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-K9ojC2iZ.js} +206 -87
- package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-TgOkrNNt.js} +231 -61
- package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-B77SnVWg.js} +443 -350
- package/dist/vue-ui-world-Y0yBodxT.js +14451 -0
- package/dist/{vue-ui-xy-BAlrZ3W9.js → vue-ui-xy-Cs4_NqXo.js} +840 -252
- package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BeHqxTFy.js} +448 -159
- package/package.json +120 -119
- package/dist/vue-ui-treemap-5qrvks6n.js +0 -1726
- package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineAsyncComponent as G, computed as b, ref as h, toRefs as rl, watch as fe, shallowRef as ct, onMounted as vt, onBeforeUnmount as dt, watchEffect as ul, openBlock as n, createElementBlock as v, unref as c, normalizeStyle as le, normalizeClass as ht, createElementVNode as i, toDisplayString as _, createBlock as T, createCommentVNode as g, withCtx as m, renderSlot as p, normalizeProps as C, guardReactiveProps as w, createSlots as ft, createVNode as yt, Fragment as A, renderList as X, withDirectives as ae, vShow as se, Teleport as il, createTextVNode as Xe, resolveDynamicComponent as cl, mergeProps as vl, nextTick as bt } from "vue";
|
|
2
|
-
import { j as gt, t as pt, o as dl, q as mt, r as hl, K as kt, D as fl, l as S, k as B, X as xt, u as _t, x as oe, w as ne, a0 as yl, a1 as bl } from "./lib-
|
|
2
|
+
import { j as gt, t as pt, o as dl, q as mt, r as hl, K as kt, D as fl, l as S, k as B, X as xt, u as _t, x as oe, w as ne, a0 as yl, a1 as bl } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as ze, u as gl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as pl } from "./useConfig-
|
|
5
|
-
import { u as ml } from "./usePrinter-
|
|
6
|
-
import { u as kl, B as xl } from "./BaseScanner-
|
|
7
|
-
import { u as _l } from "./useSvgExport-
|
|
8
|
-
import { u as Ie } from "./useNestedProp-
|
|
9
|
-
import { u as Cl } from "./useThemeCheck-
|
|
10
|
-
import { u as wl } from "./useUserOptionState-
|
|
11
|
-
import { u as $l } from "./useChartAccessibility-
|
|
12
|
-
import { u as Ll } from "./useTimeLabelCollider-
|
|
13
|
-
import Al from "./img-
|
|
14
|
-
import Sl from "./Title-
|
|
4
|
+
import { u as pl } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as ml } from "./usePrinter-C4t8DdQ-.js";
|
|
6
|
+
import { u as kl, B as xl } from "./BaseScanner-C2j3TsSY.js";
|
|
7
|
+
import { u as _l } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as Ie } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as Cl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as wl } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as $l } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import { u as Ll } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
13
|
+
import Al from "./img-CjTQXS0U.js";
|
|
14
|
+
import Sl from "./Title-BbKoiBk2.js";
|
|
15
15
|
import Nl from "./vue_ui_dumbbell-BCOHDiPk.js";
|
|
16
|
-
import Ml from "./Legend-
|
|
17
|
-
import { A as Tl } from "./A11yDataTable-
|
|
16
|
+
import Ml from "./Legend-DGN5lY60.js";
|
|
17
|
+
import { A as Tl } from "./A11yDataTable-BpmuNomI.js";
|
|
18
18
|
import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
19
|
const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative" } }, Ol = ["xmlns", "viewBox", "aria-describedby"], Fl = ["x", "y", "width", "height"], Hl = { key: 1 }, El = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Gl = { key: 2 }, Bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Vl = ["transform", "font-size", "fill"], Ul = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], Wl = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], ql = ["x", "y", "font-size", "fill"], Kl = ["transform", "font-size", "fill", "font-weight", "text-anchor"], jl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Yl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Zl = ["x", "y", "height", "width", "fill"], Jl = ["transform", "fill", "font-size"], Ql = ["id"], ea = ["stop-color"], ta = ["stop-color"], la = ["stop-color"], aa = ["id"], sa = ["stop-color"], oa = ["stop-color"], na = ["stop-color"], ra = ["id"], ua = ["stop-color"], ia = ["stop-color"], ca = ["stop-color"], va = ["id"], da = ["stop-color"], ha = ["stop-color"], fa = ["stop-color"], ya = ["id"], ba = ["stop-color"], ga = ["stop-color"], pa = ["stop-color"], ma = ["id"], ka = ["stop-color"], xa = ["stop-color"], _a = ["id"], Ca = ["stop-color"], wa = ["stop-color"], $a = { key: 0 }, La = { key: 0 }, Aa = ["d", "fill"], Sa = { key: 1 }, Na = ["x", "y", "height", "width", "fill"], Ma = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ta = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xa = { key: 7 }, za = ["x", "y", "fill", "font-size"], Ia = { key: 8 }, Pa = ["x", "y", "fill", "font-size"], Da = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Oa = {
|
|
20
20
|
key: 0,
|
|
@@ -42,14 +42,24 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
42
42
|
},
|
|
43
43
|
emits: ["selectDatapoint", "copyAlt"],
|
|
44
44
|
setup(Ct, { expose: wt, emit: $t }) {
|
|
45
|
-
const Lt = G(() => import("./BaseIcon-
|
|
45
|
+
const Lt = G(() => import("./BaseIcon-DX0hTWa-.js")), At = G(() => import("./vue-ui-accordion-BHmfmb_6.js")), St = G(() => import("./DataTable-cMnb68Ik.js")), Nt = G(
|
|
46
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
47
|
+
), Mt = G(
|
|
48
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
49
|
+
), Tt = G(
|
|
50
|
+
() => import("./PackageVersion-BjeuEImy.js")
|
|
51
|
+
), Xt = G(
|
|
52
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
53
|
+
), { vue_ui_dumbbell: zt } = pl(), { isThemeValid: It, warnInvalidTheme: Pt } = Cl(), $ = Ct, Dt = $t, re = b({
|
|
46
54
|
get() {
|
|
47
55
|
return !!$.dataset && $.dataset.length;
|
|
48
56
|
},
|
|
49
57
|
set(l) {
|
|
50
58
|
return l;
|
|
51
59
|
}
|
|
52
|
-
}), f = h(gt()), Pe = h(0), z = h(null), De = h(null), Oe = h(null), Fe = h(null), He = h(null), Ee = h(0), Ge = h(0), Be = h(0), Re = h(!1), j = h(null), ye = h(null), ue = h(!1), ie = h(!1), be = h(null), ge = h(null), ce = h(null), pe = h(null), I = h(null), u = h(null), L = h(null), me = h(!1), H = h(!1), e = h(Ce()), Y = b(
|
|
60
|
+
}), f = h(gt()), Pe = h(0), z = h(null), De = h(null), Oe = h(null), Fe = h(null), He = h(null), Ee = h(0), Ge = h(0), Be = h(0), Re = h(!1), j = h(null), ye = h(null), ue = h(!1), ie = h(!1), be = h(null), ge = h(null), ce = h(null), pe = h(null), I = h(null), u = h(null), L = h(null), me = h(!1), H = h(!1), e = h(Ce()), Y = b(
|
|
61
|
+
() => e.value.userOptions.useCursorPointer
|
|
62
|
+
), Ot = b(() => pt({
|
|
53
63
|
defaultConfig: {
|
|
54
64
|
userOptions: { show: !1 },
|
|
55
65
|
table: { show: !1 },
|
|
@@ -105,7 +115,9 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
105
115
|
defaultConfig: e.value,
|
|
106
116
|
userConfig: Ot.value
|
|
107
117
|
})
|
|
108
|
-
}), { userOptionsVisible: _e, setUserOptionsVisibility: Ve, keepUserOptionState: Ue } = wl({ config: e.value }), { svgRef: Z } = $l({
|
|
118
|
+
}), { userOptionsVisible: _e, setUserOptionsVisibility: Ve, keepUserOptionState: Ue } = wl({ config: e.value }), { svgRef: Z } = $l({
|
|
119
|
+
config: e.value.style.chart.title
|
|
120
|
+
});
|
|
109
121
|
function Ce() {
|
|
110
122
|
const l = Ie({
|
|
111
123
|
userConfig: $.config,
|
|
@@ -123,11 +135,19 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
123
135
|
defaultConfig: t
|
|
124
136
|
});
|
|
125
137
|
}
|
|
126
|
-
fe(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
138
|
+
fe(
|
|
139
|
+
() => $.config,
|
|
140
|
+
(l) => {
|
|
141
|
+
ke.value || (e.value = Ce()), _e.value = !e.value.userOptions.showOnChartHover, qe(), Ee.value += 1, Ge.value += 1, Be.value += 1, U.value = e.value.style.chart.rowHeight, W.value = e.value.style.chart.width, E.value.showTable = e.value.table.show;
|
|
142
|
+
},
|
|
143
|
+
{ deep: !0 }
|
|
144
|
+
), fe(
|
|
145
|
+
() => xe.value,
|
|
146
|
+
(l) => {
|
|
147
|
+
Array.isArray(l) && l.length > 0 && (Ft.value = !1), Qe(), et();
|
|
148
|
+
},
|
|
149
|
+
{ deep: !0 }
|
|
150
|
+
);
|
|
131
151
|
const P = ct(null), R = ct(null);
|
|
132
152
|
vt(() => {
|
|
133
153
|
Re.value = !0, qe();
|
|
@@ -161,7 +181,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
161
181
|
noTitle: He.value
|
|
162
182
|
}), a = e.value.style.chart.title.text ? 24 : 0, r = e.value.style.chart.legend.show ? 24 : 0;
|
|
163
183
|
requestAnimationFrame(async () => {
|
|
164
|
-
W.value = Math.max(0.1, s), U.value = Math.max(
|
|
184
|
+
W.value = Math.max(0.1, s), U.value = Math.max(
|
|
185
|
+
0.1,
|
|
186
|
+
(Math.max(0.1, t) - (a + r)) / xe.value.length
|
|
187
|
+
), st();
|
|
165
188
|
});
|
|
166
189
|
});
|
|
167
190
|
P.value && (R.value && P.value.unobserve(R.value), P.value.disconnect()), P.value = new ResizeObserver(l), R.value = z.value.parentNode, P.value.observe(R.value);
|
|
@@ -178,11 +201,15 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
178
201
|
}), Ht = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), E = h({
|
|
179
202
|
showTable: e.value.table.show
|
|
180
203
|
});
|
|
181
|
-
fe(
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
204
|
+
fe(
|
|
205
|
+
e,
|
|
206
|
+
() => {
|
|
207
|
+
E.value = {
|
|
208
|
+
showTable: e.value.table.show
|
|
209
|
+
};
|
|
210
|
+
},
|
|
211
|
+
{ immediate: !0 }
|
|
212
|
+
);
|
|
186
213
|
const V = b(() => xe.value.map((l, s) => ({
|
|
187
214
|
...l,
|
|
188
215
|
start: kt(l.start),
|
|
@@ -191,7 +218,11 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
191
218
|
}))), Ye = b(() => {
|
|
192
219
|
const l = e.value.style.chart.grid, s = V.value.flatMap((y) => [y.start, y.end]).map((y) => Number(y)).filter((y) => Number.isFinite(y)), t = s.length ? Math.min(...s) : 0, a = s.length ? Math.max(...s) : 0, r = l.scaleMin ?? Math.min(t, 0), d = l.scaleMax ?? a;
|
|
193
220
|
return { min: r, max: d };
|
|
194
|
-
}), N = b(() => fl(
|
|
221
|
+
}), N = b(() => fl(
|
|
222
|
+
Ye.value.min,
|
|
223
|
+
Ye.value.max,
|
|
224
|
+
e.value.style.chart.grid.scaleSteps
|
|
225
|
+
)), U = h(e.value.style.chart.rowHeight), W = h(e.value.style.chart.width);
|
|
195
226
|
function Et() {
|
|
196
227
|
let l = 0;
|
|
197
228
|
ge.value && (l = Array.from(ge.value.querySelectorAll("text")).reduce((a, r) => {
|
|
@@ -242,7 +273,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
242
273
|
absoluteHeight: d,
|
|
243
274
|
widthPlotReference: x
|
|
244
275
|
};
|
|
245
|
-
}), D = b(() => Math.min(
|
|
276
|
+
}), D = b(() => Math.min(
|
|
277
|
+
U.value / 2 * 0.7,
|
|
278
|
+
e.value.style.chart.plots.radius
|
|
279
|
+
)), J = h([]), k = b({
|
|
246
280
|
get() {
|
|
247
281
|
const l = o.value, s = N.value;
|
|
248
282
|
return J.value.map((t, a) => {
|
|
@@ -282,7 +316,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
282
316
|
if (M.value != null && (cancelAnimationFrame(M.value), M.value = null), Qe(), !e.value.useAnimation) {
|
|
283
317
|
k.value = J.value.map((a) => {
|
|
284
318
|
const r = Number(a.end);
|
|
285
|
-
return {
|
|
319
|
+
return {
|
|
320
|
+
...a,
|
|
321
|
+
endVal: Number.isFinite(r) ? r : a.endVal
|
|
322
|
+
};
|
|
286
323
|
});
|
|
287
324
|
return;
|
|
288
325
|
}
|
|
@@ -299,12 +336,27 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
299
336
|
M.value = requestAnimationFrame(t);
|
|
300
337
|
}
|
|
301
338
|
const Se = b(() => e.value.style.chart.plots.evaluationColors.enable ? [
|
|
302
|
-
{
|
|
303
|
-
|
|
304
|
-
|
|
339
|
+
{
|
|
340
|
+
name: e.value.style.chart.legend.labelNegative,
|
|
341
|
+
color: e.value.style.chart.plots.gradient.show ? `url(#negative_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.negative
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
name: e.value.style.chart.legend.labelNeutral,
|
|
345
|
+
color: e.value.style.chart.plots.gradient.show ? `url(#neutral_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.neutral
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
name: e.value.style.chart.legend.labelPositive,
|
|
349
|
+
color: e.value.style.chart.plots.gradient.show ? `url(#positive_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.positive
|
|
350
|
+
}
|
|
305
351
|
] : [
|
|
306
|
-
{
|
|
307
|
-
|
|
352
|
+
{
|
|
353
|
+
name: e.value.style.chart.legend.labelStart,
|
|
354
|
+
color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${f.value})` : e.value.style.chart.plots.startColor
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: e.value.style.chart.legend.labelEnd,
|
|
358
|
+
color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${f.value})` : e.value.style.chart.plots.endColor
|
|
359
|
+
}
|
|
308
360
|
]), Bt = b(() => ({
|
|
309
361
|
cy: "donut-div-legend",
|
|
310
362
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -343,12 +395,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
343
395
|
s: "%",
|
|
344
396
|
r: e.value.table.td.roundingPercentage
|
|
345
397
|
});
|
|
346
|
-
return [
|
|
347
|
-
{ name: r.name },
|
|
348
|
-
y,
|
|
349
|
-
x,
|
|
350
|
-
F
|
|
351
|
-
];
|
|
398
|
+
return [{ name: r.name }, y, x, F];
|
|
352
399
|
}), t = {
|
|
353
400
|
th: {
|
|
354
401
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -376,10 +423,23 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
376
423
|
});
|
|
377
424
|
function Ne(l = null) {
|
|
378
425
|
bt(() => {
|
|
379
|
-
const s = O.value.head.map((r, d) => [
|
|
380
|
-
r.name
|
|
381
|
-
|
|
382
|
-
|
|
426
|
+
const s = O.value.head.map((r, d) => [
|
|
427
|
+
[r.name],
|
|
428
|
+
[O.value.body[d].start],
|
|
429
|
+
[O.value.body[d].end]
|
|
430
|
+
]), t = [
|
|
431
|
+
[e.value.style.chart.title.text],
|
|
432
|
+
[e.value.style.chart.title.subtitle.text],
|
|
433
|
+
[
|
|
434
|
+
[e.value.table.columnNames.series],
|
|
435
|
+
[e.value.table.columnNames.start],
|
|
436
|
+
[e.value.table.columnNames.end]
|
|
437
|
+
]
|
|
438
|
+
].concat(s), a = yl(t);
|
|
439
|
+
l ? l(a) : bl({
|
|
440
|
+
csvContent: a,
|
|
441
|
+
title: e.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
442
|
+
});
|
|
383
443
|
});
|
|
384
444
|
}
|
|
385
445
|
const K = h(!1);
|
|
@@ -398,7 +458,12 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
398
458
|
}
|
|
399
459
|
async function Vt({ scale: l = 2 } = {}) {
|
|
400
460
|
if (!z.value) return;
|
|
401
|
-
const { width: s, height: t } = z.value.getBoundingClientRect(), a = s / t, { imageUri: r, base64: d } = await Al({
|
|
461
|
+
const { width: s, height: t } = z.value.getBoundingClientRect(), a = s / t, { imageUri: r, base64: d } = await Al({
|
|
462
|
+
domElement: z.value,
|
|
463
|
+
base64: !0,
|
|
464
|
+
img: !0,
|
|
465
|
+
scale: l
|
|
466
|
+
});
|
|
402
467
|
return {
|
|
403
468
|
imageUri: r,
|
|
404
469
|
base64: d,
|
|
@@ -415,18 +480,21 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
415
480
|
slicer: Ut,
|
|
416
481
|
configRef: e,
|
|
417
482
|
rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
|
|
418
|
-
autoRotatePath: [
|
|
483
|
+
autoRotatePath: [
|
|
484
|
+
"style",
|
|
485
|
+
"chart",
|
|
486
|
+
"labels",
|
|
487
|
+
"xAxisLabels",
|
|
488
|
+
"autoRotate",
|
|
489
|
+
"enable"
|
|
490
|
+
],
|
|
419
491
|
isAutoSize: !1,
|
|
420
492
|
width: W,
|
|
421
493
|
height: U,
|
|
422
494
|
targetClass: ".vue-ui-dumbbell-scale-label",
|
|
423
495
|
rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
|
|
424
496
|
});
|
|
425
|
-
function Wt({
|
|
426
|
-
rowHeight: l,
|
|
427
|
-
fontSize: s,
|
|
428
|
-
showProgression: t
|
|
429
|
-
}) {
|
|
497
|
+
function Wt({ rowHeight: l, fontSize: s, showProgression: t }) {
|
|
430
498
|
if (!t) return !1;
|
|
431
499
|
const a = l / 3, r = l / 1.3, d = Math.abs(r - a), y = s * 1.2;
|
|
432
500
|
return d < y;
|
|
@@ -464,11 +532,20 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
464
532
|
}
|
|
465
533
|
const Te = b(() => {
|
|
466
534
|
if (u.value === null) return 0;
|
|
467
|
-
const l = ![null, void 0].includes(
|
|
468
|
-
|
|
535
|
+
const l = ![null, void 0].includes(
|
|
536
|
+
u.value.start
|
|
537
|
+
), s = ![null, void 0].includes(u.value.end);
|
|
538
|
+
return l && s ? Math.min(
|
|
539
|
+
u.value.startX,
|
|
540
|
+
u.value.endX
|
|
541
|
+
) + Math.abs(
|
|
542
|
+
u.value.startX - u.value.endX
|
|
543
|
+
) / 2 : l && !s ? u.value.startX : s && !l ? u.value.endX : null;
|
|
469
544
|
}), Kt = b(() => {
|
|
470
545
|
if (u.value === null) return "";
|
|
471
|
-
const l = ![null, void 0].includes(
|
|
546
|
+
const l = ![null, void 0].includes(
|
|
547
|
+
u.value.start
|
|
548
|
+
), s = ![null, void 0].includes(u.value.end);
|
|
472
549
|
let t = "", a = "";
|
|
473
550
|
return l && (t = B(
|
|
474
551
|
e.value.style.chart.labels.formatter,
|
|
@@ -479,7 +556,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
479
556
|
s: e.value.style.chart.labels.suffix,
|
|
480
557
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
481
558
|
}),
|
|
482
|
-
{
|
|
559
|
+
{
|
|
560
|
+
datapoint: u.value,
|
|
561
|
+
seriesIndex: I.value
|
|
562
|
+
}
|
|
483
563
|
)), s && (a = B(
|
|
484
564
|
e.value.style.chart.labels.formatter,
|
|
485
565
|
u.value.end,
|
|
@@ -489,7 +569,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
489
569
|
s: e.value.style.chart.labels.suffix,
|
|
490
570
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
491
571
|
}),
|
|
492
|
-
{
|
|
572
|
+
{
|
|
573
|
+
datapoint: u.value,
|
|
574
|
+
seriesIndex: I.value
|
|
575
|
+
}
|
|
493
576
|
)), l && s ? `${t} → ${a}` : l && !s ? t : s && !l ? a : "";
|
|
494
577
|
}), ee = b(() => {
|
|
495
578
|
const l = e.value.table.useDialog && !e.value.table.show, s = E.value.showTable;
|
|
@@ -522,9 +605,12 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
522
605
|
}
|
|
523
606
|
};
|
|
524
607
|
});
|
|
525
|
-
fe(
|
|
526
|
-
|
|
527
|
-
|
|
608
|
+
fe(
|
|
609
|
+
() => E.value.showTable,
|
|
610
|
+
(l) => {
|
|
611
|
+
e.value.table.show || (l && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
612
|
+
}
|
|
613
|
+
);
|
|
528
614
|
function ot() {
|
|
529
615
|
E.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
|
|
530
616
|
}
|
|
@@ -543,7 +629,14 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
543
629
|
try {
|
|
544
630
|
if (l) {
|
|
545
631
|
const { blob: s, url: t, text: a, dataUrl: r } = await el();
|
|
546
|
-
await Promise.resolve(
|
|
632
|
+
await Promise.resolve(
|
|
633
|
+
e.value.userOptions.callbacks.svg({
|
|
634
|
+
blob: s,
|
|
635
|
+
url: t,
|
|
636
|
+
text: a,
|
|
637
|
+
dataUrl: r
|
|
638
|
+
})
|
|
639
|
+
);
|
|
547
640
|
} else
|
|
548
641
|
await Promise.resolve(Qt());
|
|
549
642
|
} finally {
|
|
@@ -566,13 +659,17 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
566
659
|
config: e.value,
|
|
567
660
|
dataset: k.value
|
|
568
661
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
569
|
-
console.warn(
|
|
662
|
+
console.warn(
|
|
663
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
664
|
+
);
|
|
570
665
|
return;
|
|
571
666
|
}
|
|
572
|
-
await Promise.resolve(
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
667
|
+
await Promise.resolve(
|
|
668
|
+
e.value.userOptions.callbacks.altCopy({
|
|
669
|
+
config: e.value,
|
|
670
|
+
dataset: k.value
|
|
671
|
+
})
|
|
672
|
+
);
|
|
576
673
|
}
|
|
577
674
|
function ll(l) {
|
|
578
675
|
const s = k.value.length;
|
|
@@ -597,7 +694,8 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
597
694
|
function ol(l) {
|
|
598
695
|
if (!Z.value || Q.value || document.activeElement !== Z.value || !k.value.length) return;
|
|
599
696
|
const s = ["ArrowUp", "ArrowLeft"].includes(l.key), t = ["ArrowDown", "ArrowRight"].includes(l.key), a = l.key === "Enter" || l.key === " ", r = l.key === "Escape";
|
|
600
|
-
if (!s && !t && !a && !r)
|
|
697
|
+
if (!s && !t && !a && !r)
|
|
698
|
+
return;
|
|
601
699
|
if (l.preventDefault(), l.stopPropagation(), r) {
|
|
602
700
|
ut();
|
|
603
701
|
return;
|
|
@@ -831,7 +929,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
831
929
|
ref_key: "svgRef",
|
|
832
930
|
ref: Z,
|
|
833
931
|
xmlns: c(xt),
|
|
834
|
-
class: ht({
|
|
932
|
+
class: ht({
|
|
933
|
+
"vue-data-ui-fullscreen--on": K.value,
|
|
934
|
+
"vue-data-ui-fulscreen--off": !K.value
|
|
935
|
+
}),
|
|
835
936
|
viewBox: `0 0 ${W.value} ${o.value.absoluteHeight <= 0 ? 10 : o.value.absoluteHeight}`,
|
|
836
937
|
style: le(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
|
|
837
938
|
"aria-describedby": `chart-instructions-${f.value}`,
|
|
@@ -984,7 +1085,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
984
1085
|
"stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
|
|
985
1086
|
style: { transition: "all 0.3s ease-in-out" }
|
|
986
1087
|
}, null, 8, jl), [
|
|
987
|
-
[
|
|
1088
|
+
[
|
|
1089
|
+
se,
|
|
1090
|
+
u.value !== null && ![null, void 0].includes(u.value.start)
|
|
1091
|
+
]
|
|
988
1092
|
]),
|
|
989
1093
|
ae(i("path", {
|
|
990
1094
|
d: `M ${u.value ? u.value.endX : o.value.left},${o.value.top} ${u.value ? u.value.endX : o.value.left},${o.value.bottom}`,
|
|
@@ -993,17 +1097,36 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
993
1097
|
"stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
|
|
994
1098
|
style: { transition: "all 0.3s ease-in-out" }
|
|
995
1099
|
}, null, 8, Yl), [
|
|
996
|
-
[
|
|
1100
|
+
[
|
|
1101
|
+
se,
|
|
1102
|
+
u.value !== null && ![null, void 0].includes(u.value.end)
|
|
1103
|
+
]
|
|
997
1104
|
]),
|
|
998
1105
|
ae(i("rect", {
|
|
999
|
-
x: u.value ? Math.min(
|
|
1106
|
+
x: u.value ? Math.min(
|
|
1107
|
+
u.value.startX,
|
|
1108
|
+
u.value.endX
|
|
1109
|
+
) : o.value.left,
|
|
1000
1110
|
y: o.value.top,
|
|
1001
1111
|
height: Math.max(0.1, o.value.height),
|
|
1002
|
-
width: u.value ? Math.max(
|
|
1003
|
-
|
|
1112
|
+
width: u.value ? Math.max(
|
|
1113
|
+
0.1,
|
|
1114
|
+
Math.abs(
|
|
1115
|
+
u.value.endX - u.value.startX
|
|
1116
|
+
)
|
|
1117
|
+
) : 0,
|
|
1118
|
+
fill: u.value ? c(_t)(
|
|
1119
|
+
e.value.style.chart.comparisonLines.rectColor,
|
|
1120
|
+
e.value.style.chart.comparisonLines.rectOpacity
|
|
1121
|
+
) : "transparent",
|
|
1004
1122
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1005
1123
|
}, null, 8, Zl), [
|
|
1006
|
-
[
|
|
1124
|
+
[
|
|
1125
|
+
se,
|
|
1126
|
+
e.value.style.chart.comparisonLines.showRect && u.value !== null && ![null, void 0].includes(
|
|
1127
|
+
u.value.start
|
|
1128
|
+
) && ![null, void 0].includes(u.value.end)
|
|
1129
|
+
]
|
|
1007
1130
|
]),
|
|
1008
1131
|
ae(i("text", {
|
|
1009
1132
|
transform: `translate(${Te.value == null ? 0 : Te.value}, ${o.value.top - 6})`,
|
|
@@ -1012,10 +1135,16 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1012
1135
|
"text-anchor": "middle",
|
|
1013
1136
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1014
1137
|
}, _(Kt.value), 9, Jl), [
|
|
1015
|
-
[
|
|
1138
|
+
[
|
|
1139
|
+
se,
|
|
1140
|
+
u.value !== null && Te.value !== null && e.value.style.chart.comparisonLines.showLabel
|
|
1141
|
+
]
|
|
1016
1142
|
])
|
|
1017
1143
|
], 512), [
|
|
1018
|
-
[
|
|
1144
|
+
[
|
|
1145
|
+
se,
|
|
1146
|
+
e.value.style.chart.comparisonLines.show && I.value !== null
|
|
1147
|
+
]
|
|
1019
1148
|
]),
|
|
1020
1149
|
i("defs", null, [
|
|
1021
1150
|
i("radialGradient", {
|
|
@@ -1024,11 +1153,17 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1024
1153
|
}, [
|
|
1025
1154
|
i("stop", {
|
|
1026
1155
|
offset: "10%",
|
|
1027
|
-
"stop-color": c(oe)(
|
|
1156
|
+
"stop-color": c(oe)(
|
|
1157
|
+
e.value.style.chart.plots.startColor,
|
|
1158
|
+
e.value.style.chart.plots.gradient.intensity / 100
|
|
1159
|
+
)
|
|
1028
1160
|
}, null, 8, ea),
|
|
1029
1161
|
i("stop", {
|
|
1030
1162
|
offset: "90%",
|
|
1031
|
-
"stop-color": c(ne)(
|
|
1163
|
+
"stop-color": c(ne)(
|
|
1164
|
+
e.value.style.chart.plots.startColor,
|
|
1165
|
+
0.1
|
|
1166
|
+
)
|
|
1032
1167
|
}, null, 8, ta),
|
|
1033
1168
|
i("stop", {
|
|
1034
1169
|
offset: "100%",
|
|
@@ -1041,11 +1176,17 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1041
1176
|
}, [
|
|
1042
1177
|
i("stop", {
|
|
1043
1178
|
offset: "10%",
|
|
1044
|
-
"stop-color": c(oe)(
|
|
1179
|
+
"stop-color": c(oe)(
|
|
1180
|
+
e.value.style.chart.plots.endColor,
|
|
1181
|
+
e.value.style.chart.plots.gradient.intensity / 100
|
|
1182
|
+
)
|
|
1045
1183
|
}, null, 8, sa),
|
|
1046
1184
|
i("stop", {
|
|
1047
1185
|
offset: "90%",
|
|
1048
|
-
"stop-color": c(ne)(
|
|
1186
|
+
"stop-color": c(ne)(
|
|
1187
|
+
e.value.style.chart.plots.endColor,
|
|
1188
|
+
0.1
|
|
1189
|
+
)
|
|
1049
1190
|
}, null, 8, oa),
|
|
1050
1191
|
i("stop", {
|
|
1051
1192
|
offset: "100%",
|
|
@@ -1058,11 +1199,17 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1058
1199
|
}, [
|
|
1059
1200
|
i("stop", {
|
|
1060
1201
|
offset: "10%",
|
|
1061
|
-
"stop-color": c(oe)(
|
|
1202
|
+
"stop-color": c(oe)(
|
|
1203
|
+
e.value.style.chart.plots.evaluationColors.positive,
|
|
1204
|
+
e.value.style.chart.plots.gradient.intensity / 100
|
|
1205
|
+
)
|
|
1062
1206
|
}, null, 8, ua),
|
|
1063
1207
|
i("stop", {
|
|
1064
1208
|
offset: "90%",
|
|
1065
|
-
"stop-color": c(ne)(
|
|
1209
|
+
"stop-color": c(ne)(
|
|
1210
|
+
e.value.style.chart.plots.evaluationColors.positive,
|
|
1211
|
+
0.1
|
|
1212
|
+
)
|
|
1066
1213
|
}, null, 8, ia),
|
|
1067
1214
|
i("stop", {
|
|
1068
1215
|
offset: "100%",
|
|
@@ -1075,11 +1222,17 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1075
1222
|
}, [
|
|
1076
1223
|
i("stop", {
|
|
1077
1224
|
offset: "10%",
|
|
1078
|
-
"stop-color": c(oe)(
|
|
1225
|
+
"stop-color": c(oe)(
|
|
1226
|
+
e.value.style.chart.plots.evaluationColors.negative,
|
|
1227
|
+
e.value.style.chart.plots.gradient.intensity / 100
|
|
1228
|
+
)
|
|
1079
1229
|
}, null, 8, da),
|
|
1080
1230
|
i("stop", {
|
|
1081
1231
|
offset: "90%",
|
|
1082
|
-
"stop-color": c(ne)(
|
|
1232
|
+
"stop-color": c(ne)(
|
|
1233
|
+
e.value.style.chart.plots.evaluationColors.negative,
|
|
1234
|
+
0.1
|
|
1235
|
+
)
|
|
1083
1236
|
}, null, 8, ha),
|
|
1084
1237
|
i("stop", {
|
|
1085
1238
|
offset: "100%",
|
|
@@ -1092,11 +1245,17 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1092
1245
|
}, [
|
|
1093
1246
|
i("stop", {
|
|
1094
1247
|
offset: "10%",
|
|
1095
|
-
"stop-color": c(oe)(
|
|
1248
|
+
"stop-color": c(oe)(
|
|
1249
|
+
e.value.style.chart.plots.evaluationColors.neutral,
|
|
1250
|
+
e.value.style.chart.plots.gradient.intensity / 100
|
|
1251
|
+
)
|
|
1096
1252
|
}, null, 8, ba),
|
|
1097
1253
|
i("stop", {
|
|
1098
1254
|
offset: "90%",
|
|
1099
|
-
"stop-color": c(ne)(
|
|
1255
|
+
"stop-color": c(ne)(
|
|
1256
|
+
e.value.style.chart.plots.evaluationColors.neutral,
|
|
1257
|
+
0.1
|
|
1258
|
+
)
|
|
1100
1259
|
}, null, 8, ga),
|
|
1101
1260
|
i("stop", {
|
|
1102
1261
|
offset: "100%",
|
|
@@ -1159,8 +1318,14 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1159
1318
|
i("rect", {
|
|
1160
1319
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
1161
1320
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
1162
|
-
height: Math.max(
|
|
1163
|
-
|
|
1321
|
+
height: Math.max(
|
|
1322
|
+
0.01,
|
|
1323
|
+
e.value.style.chart.plots.link.strokeWidth
|
|
1324
|
+
),
|
|
1325
|
+
width: Math.max(
|
|
1326
|
+
0.01,
|
|
1327
|
+
Math.abs(t.endX - t.startX)
|
|
1328
|
+
),
|
|
1164
1329
|
fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${f.value})` : `url(#grad_neg_${f.value})`
|
|
1165
1330
|
}, null, 8, Na)
|
|
1166
1331
|
]))
|
|
@@ -1238,7 +1403,10 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1238
1403
|
y: o.value.top + a * Math.max(0.1, o.value.rowHeight),
|
|
1239
1404
|
width: Math.max(0.1, o.value.width),
|
|
1240
1405
|
height: Math.max(0.1, o.value.rowHeight),
|
|
1241
|
-
fill: I.value !== null && I.value === a ? c(_t)(
|
|
1406
|
+
fill: I.value !== null && I.value === a ? c(_t)(
|
|
1407
|
+
e.value.style.chart.highlighter.color,
|
|
1408
|
+
e.value.style.chart.highlighter.opacity
|
|
1409
|
+
) : "transparent",
|
|
1242
1410
|
onMouseenter: (r) => ve({ datapoint: t, seriesIndex: a }),
|
|
1243
1411
|
onMouseleave: (r) => de({ datapoint: t, seriesIndex: a }),
|
|
1244
1412
|
onClick: (r) => he({ datapoint: t, seriesIndex: a })
|
|
@@ -1253,11 +1421,16 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1253
1421
|
}, void 0, !0)
|
|
1254
1422
|
], 46, Ol)),
|
|
1255
1423
|
l.$slots.hint ? (n(), v("div", Oa, [
|
|
1256
|
-
p(l.$slots, "hint", C(w({
|
|
1424
|
+
p(l.$slots, "hint", C(w({
|
|
1425
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1426
|
+
isVisible: me.value
|
|
1427
|
+
})), void 0, !0)
|
|
1257
1428
|
])) : g("", !0)
|
|
1258
1429
|
]),
|
|
1259
1430
|
l.$slots.watermark ? (n(), v("div", Fa, [
|
|
1260
|
-
p(l.$slots, "watermark", C(w({
|
|
1431
|
+
p(l.$slots, "watermark", C(w({
|
|
1432
|
+
isPrinting: c(we) || c($e) || ue.value || ie.value
|
|
1433
|
+
})), void 0, !0)
|
|
1261
1434
|
])) : g("", !0),
|
|
1262
1435
|
i("div", {
|
|
1263
1436
|
id: `legend-bottom-${f.value}`
|
|
@@ -1374,7 +1547,7 @@ const zl = ["id"], Il = ["id"], Pl = ["id"], Dl = { style: { position: "relative
|
|
|
1374
1547
|
], !0)
|
|
1375
1548
|
], 46, zl));
|
|
1376
1549
|
}
|
|
1377
|
-
}, us = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-
|
|
1550
|
+
}, us = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-1978df86"]]);
|
|
1378
1551
|
export {
|
|
1379
1552
|
us as default
|
|
1380
1553
|
};
|