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,22 +1,22 @@
|
|
|
1
1
|
import { defineAsyncComponent as W, useSlots as ml, computed as i, ref as r, toRefs as bl, watch as de, shallowRef as Tt, onMounted as wl, onBeforeUnmount as kl, openBlock as s, createElementBlock as v, unref as p, normalizeStyle as he, normalizeClass as St, createElementVNode as C, toDisplayString as pe, createBlock as I, createCommentVNode as m, withCtx as d, renderSlot as h, normalizeProps as x, guardReactiveProps as $, createSlots as We, createVNode as xe, Fragment as P, renderList as G, mergeProps as Ge, Teleport as Cl, resolveDynamicComponent as xl, createTextVNode as At, nextTick as It } from "vue";
|
|
2
|
-
import { j as $l, t as Pt, m as Tl, p as Y, o as _t, q as je, r as Sl, n as Al, k as fe, l as z, X as Il, u as Pl, v as _l, W as Bl, s as Ol, a0 as Fl, a1 as Ll, a as Dl, T as Nl, U as Ml } from "./lib-
|
|
3
|
-
import { b as zl } from "./labelUtils-
|
|
2
|
+
import { j as $l, t as Pt, m as Tl, p as Y, o as _t, q as je, r as Sl, n as Al, k as fe, l as z, X as Il, u as Pl, v as _l, W as Bl, s as Ol, a0 as Fl, a1 as Ll, a as Dl, T as Nl, U as Ml } from "./lib-DMzrGQHK.js";
|
|
3
|
+
import { b as zl } from "./labelUtils-DX9oyq3C.js";
|
|
4
4
|
import { t as Vl, u as Rl } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as El } from "./useConfig-
|
|
6
|
-
import { u as Ul, B as Wl } from "./BaseScanner-
|
|
7
|
-
import { u as Gl } from "./usePrinter-
|
|
8
|
-
import { u as jl } from "./useSvgExport-
|
|
9
|
-
import { u as He } from "./useNestedProp-
|
|
10
|
-
import { u as Hl } from "./useThemeCheck-
|
|
11
|
-
import { u as ql } from "./useUserOptionState-
|
|
12
|
-
import { u as Xl } from "./useChartAccessibility-
|
|
13
|
-
import Yl from "./img-
|
|
14
|
-
import { _ as Kl } from "./Shape-
|
|
15
|
-
import Jl from "./Title-
|
|
5
|
+
import { u as El } from "./useConfig-DTHxOX6V.js";
|
|
6
|
+
import { u as Ul, B as Wl } from "./BaseScanner-C2j3TsSY.js";
|
|
7
|
+
import { u as Gl } from "./usePrinter-C4t8DdQ-.js";
|
|
8
|
+
import { u as jl } from "./useSvgExport-BTG4hVPO.js";
|
|
9
|
+
import { u as He } from "./useNestedProp-DH0BEVVS.js";
|
|
10
|
+
import { u as Hl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
+
import { u as ql } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
+
import { u as Xl } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
+
import Yl from "./img-CjTQXS0U.js";
|
|
14
|
+
import { _ as Kl } from "./Shape-CxJ5_Rre.js";
|
|
15
|
+
import Jl from "./Title-BbKoiBk2.js";
|
|
16
16
|
import Ql from "./vue_ui_waffle-M2h-uJQ_.js";
|
|
17
|
-
import Zl from "./Legend-
|
|
18
|
-
import { A as ea } from "./A11yDataTable-
|
|
19
|
-
import { B as ta } from "./BaseLegendToggle-
|
|
17
|
+
import Zl from "./Legend-DGN5lY60.js";
|
|
18
|
+
import { A as ea } from "./A11yDataTable-BpmuNomI.js";
|
|
19
|
+
import { B as ta } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
20
20
|
import { _ as la } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
21
21
|
const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative" } }, sa = ["xmlns", "aria-describedby", "viewBox"], ra = ["id"], ia = ["stop-color"], ca = ["stop-color"], va = ["id"], da = ["x", "y", "height", "width"], ha = ["height", "width"], pa = { key: 0 }, fa = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], ga = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], ya = { key: 1 }, ma = ["rx", "x", "y", "height", "width", "fill", "filter"], ba = ["textContent", "x", "y", "font-size", "fill", "filter"], wa = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], ka = {
|
|
22
22
|
key: 0,
|
|
@@ -44,14 +44,24 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["selectLegend", "copyAlt"],
|
|
46
46
|
setup(Bt, { expose: Ot, emit: Ft }) {
|
|
47
|
-
const Lt = W(() => import("./Tooltip-
|
|
47
|
+
const Lt = W(() => import("./Tooltip-Cvt7Fi0Q.js")), Dt = W(() => import("./BaseIcon-DX0hTWa-.js")), Nt = W(() => import("./DataTable-cMnb68Ik.js")), Mt = W(() => import("./vue-ui-accordion-BHmfmb_6.js")), zt = W(
|
|
48
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
49
|
+
), Vt = W(
|
|
50
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
51
|
+
), Rt = W(
|
|
52
|
+
() => import("./PackageVersion-BjeuEImy.js")
|
|
53
|
+
), Et = W(
|
|
54
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
55
|
+
), { vue_ui_waffle: Ut } = El(), { isThemeValid: Wt, warnInvalidTheme: Gt } = Hl(), b = Bt, jt = ml(), $e = i({
|
|
48
56
|
get() {
|
|
49
57
|
return !!b.dataset && b.dataset.length;
|
|
50
58
|
},
|
|
51
59
|
set(e) {
|
|
52
60
|
return e;
|
|
53
61
|
}
|
|
54
|
-
}), y = r($l()), te = r(!1), Te = r(""), V = r(null), qe = r(0), _ = r(null), Xe = r(null), Ye = r(null), Ke = r(null), Je = r(null), Qe = r(0), Ze = r(0), et = r(0), tt = r(!1), le = r(null), Se = r(null), ge = r(!1), ye = r(!1), R = r(null), lt = r({ x: 0, y: 0 }), ae = r("pointer"), Ae = r(!1), t = r(Be()), j = i(
|
|
62
|
+
}), y = r($l()), te = r(!1), Te = r(""), V = r(null), qe = r(0), _ = r(null), Xe = r(null), Ye = r(null), Ke = r(null), Je = r(null), Qe = r(0), Ze = r(0), et = r(0), tt = r(!1), le = r(null), Se = r(null), ge = r(!1), ye = r(!1), R = r(null), lt = r({ x: 0, y: 0 }), ae = r("pointer"), Ae = r(!1), t = r(Be()), j = i(
|
|
63
|
+
() => t.value.userOptions.useCursorPointer
|
|
64
|
+
), Ht = i(() => Pt({
|
|
55
65
|
defaultConfig: {
|
|
56
66
|
useCustomCells: !1,
|
|
57
67
|
userOptions: { show: !1 },
|
|
@@ -106,7 +116,9 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
106
116
|
defaultConfig: t.value,
|
|
107
117
|
userConfig: Ht.value
|
|
108
118
|
})
|
|
109
|
-
}), { userOptionsVisible: _e, setUserOptionsVisibility: at, keepUserOptionState: ot } = ql({ config: t.value }), { svgRef: H } = Xl({
|
|
119
|
+
}), { userOptionsVisible: _e, setUserOptionsVisibility: at, keepUserOptionState: ot } = ql({ config: t.value }), { svgRef: H } = Xl({
|
|
120
|
+
config: t.value.style.chart.title
|
|
121
|
+
});
|
|
110
122
|
function Be() {
|
|
111
123
|
const e = He({
|
|
112
124
|
userConfig: b.config,
|
|
@@ -127,9 +139,13 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
127
139
|
customPalette: o.customPalette.length ? o.customPalette : Tl[a] || Y
|
|
128
140
|
};
|
|
129
141
|
}
|
|
130
|
-
de(
|
|
131
|
-
|
|
132
|
-
|
|
142
|
+
de(
|
|
143
|
+
() => b.config,
|
|
144
|
+
(e) => {
|
|
145
|
+
Ie.value || (t.value = Be()), _e.value = !t.value.userOptions.showOnChartHover, ut(), Qe.value += 1, Ze.value += 1, et.value += 1, T.value.showTable = t.value.table.show, T.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
146
|
+
},
|
|
147
|
+
{ deep: !0 }
|
|
148
|
+
);
|
|
133
149
|
const E = Tt(null), J = Tt(null), nt = i(() => !!t.value.debug);
|
|
134
150
|
function ut() {
|
|
135
151
|
if (_t(b.dataset) ? (je({
|
|
@@ -178,12 +194,16 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
178
194
|
showTable: t.value.table.show,
|
|
179
195
|
showTooltip: t.value.style.chart.tooltip.show
|
|
180
196
|
});
|
|
181
|
-
de(
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
197
|
+
de(
|
|
198
|
+
t,
|
|
199
|
+
() => {
|
|
200
|
+
T.value = {
|
|
201
|
+
showTable: t.value.table.show,
|
|
202
|
+
showTooltip: t.value.style.chart.tooltip.show
|
|
203
|
+
};
|
|
204
|
+
},
|
|
205
|
+
{ immediate: !0 }
|
|
206
|
+
);
|
|
187
207
|
const B = r({
|
|
188
208
|
height: 512,
|
|
189
209
|
width: 512
|
|
@@ -192,7 +212,13 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
192
212
|
left: 0,
|
|
193
213
|
height: 512,
|
|
194
214
|
width: 512
|
|
195
|
-
}), F = i(() => (O.value.width - t.value.style.chart.layout.grid.size * t.value.style.chart.layout.grid.spaceBetween) / t.value.style.chart.layout.grid.size), L = i(() => (O.value.height - t.value.style.chart.layout.grid.size * t.value.style.chart.layout.grid.spaceBetween) / t.value.style.chart.layout.grid.size), ct = i(() => Math.max(
|
|
215
|
+
}), F = i(() => (O.value.width - t.value.style.chart.layout.grid.size * t.value.style.chart.layout.grid.spaceBetween) / t.value.style.chart.layout.grid.size), L = i(() => (O.value.height - t.value.style.chart.layout.grid.size * t.value.style.chart.layout.grid.spaceBetween) / t.value.style.chart.layout.grid.size), ct = i(() => Math.max(
|
|
216
|
+
1e-4,
|
|
217
|
+
O.value.width / t.value.style.chart.layout.grid.size
|
|
218
|
+
)), Le = i(() => Math.max(
|
|
219
|
+
1e-4,
|
|
220
|
+
O.value.height / t.value.style.chart.layout.grid.size
|
|
221
|
+
));
|
|
196
222
|
function vt(e) {
|
|
197
223
|
const a = t.value.style.chart.layout.grid.size * t.value.style.chart.layout.grid.size, l = e.reduce((k, A) => k + A, 0), o = e.map((k) => k / l * a), n = o.map(Math.floor), u = o.map((k) => k % 1);
|
|
198
224
|
let g = a - n.reduce((k, A) => k + A, 0);
|
|
@@ -212,11 +238,19 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
212
238
|
}));
|
|
213
239
|
}
|
|
214
240
|
const me = i(() => De()), w = r(me.value);
|
|
215
|
-
de(
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
241
|
+
de(
|
|
242
|
+
() => b.dataset,
|
|
243
|
+
(e) => {
|
|
244
|
+
Array.isArray(e) && e.length > 0 && (Pe.value = !1);
|
|
245
|
+
},
|
|
246
|
+
{ immediate: !0 }
|
|
247
|
+
), de(
|
|
248
|
+
() => b.dataset,
|
|
249
|
+
(e) => {
|
|
250
|
+
w.value = De();
|
|
251
|
+
},
|
|
252
|
+
{ deep: !0 }
|
|
253
|
+
);
|
|
220
254
|
const Xt = i(() => {
|
|
221
255
|
const e = w.value.filter((a, l) => !f.value.includes(a.uid)).map((a, l) => oe.value ? 1 : (a.values || []).reduce((o, n) => o + n, 0));
|
|
222
256
|
return vt(e);
|
|
@@ -305,12 +339,7 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
305
339
|
function Qt(e) {
|
|
306
340
|
ne.value[e] && (cancelAnimationFrame(ne.value[e]), delete ne.value[e]), ue.value[e] && (cancelAnimationFrame(ue.value[e]), delete ue.value[e]);
|
|
307
341
|
}
|
|
308
|
-
function ht({
|
|
309
|
-
seriesId: e,
|
|
310
|
-
fromValue: a,
|
|
311
|
-
toValue: l,
|
|
312
|
-
mode: o
|
|
313
|
-
}) {
|
|
342
|
+
function ht({ seriesId: e, fromValue: a, toValue: l, mode: o }) {
|
|
314
343
|
Qt(e), se.value += 1, be.value = !0;
|
|
315
344
|
let n = a;
|
|
316
345
|
return new Promise((u) => {
|
|
@@ -336,12 +365,16 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
336
365
|
w.value = me.value;
|
|
337
366
|
const e = f.value.length > 0;
|
|
338
367
|
if (!t.value.useAnimation) {
|
|
339
|
-
e ? f.value = [] : f.value = U.value.map(
|
|
368
|
+
e ? f.value = [] : f.value = U.value.map(
|
|
369
|
+
(a) => a.uid
|
|
370
|
+
);
|
|
340
371
|
return;
|
|
341
372
|
}
|
|
342
373
|
e ? [...f.value].forEach((l) => {
|
|
343
374
|
Z(l, !0);
|
|
344
|
-
}) : U.value.map(
|
|
375
|
+
}) : U.value.map(
|
|
376
|
+
(l) => l.uid
|
|
377
|
+
).forEach((l) => {
|
|
345
378
|
Z(l, !0);
|
|
346
379
|
});
|
|
347
380
|
}
|
|
@@ -349,7 +382,9 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
349
382
|
if (oe.value && !a) return;
|
|
350
383
|
const l = a || f.value.length < U.value.length - 1 && U.value.length > 1;
|
|
351
384
|
if (!t.value.useAnimation) {
|
|
352
|
-
f.value.includes(e) ? f.value = f.value.filter(
|
|
385
|
+
f.value.includes(e) ? f.value = f.value.filter(
|
|
386
|
+
(u) => u !== e
|
|
387
|
+
) : l && f.value.push(e);
|
|
353
388
|
return;
|
|
354
389
|
}
|
|
355
390
|
const o = dt(e, me.value), n = dt(e, w.value);
|
|
@@ -367,7 +402,10 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
367
402
|
name: u.name,
|
|
368
403
|
color: u.color,
|
|
369
404
|
value: u.value,
|
|
370
|
-
proportion: u.proportion / Math.pow(
|
|
405
|
+
proportion: u.proportion / Math.pow(
|
|
406
|
+
t.value.style.chart.layout.grid.size,
|
|
407
|
+
2
|
|
408
|
+
)
|
|
371
409
|
}))
|
|
372
410
|
);
|
|
373
411
|
});
|
|
@@ -385,7 +423,10 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
385
423
|
name: u.name,
|
|
386
424
|
color: u.color,
|
|
387
425
|
value: u.value,
|
|
388
|
-
proportion: u.proportion / Math.pow(
|
|
426
|
+
proportion: u.proportion / Math.pow(
|
|
427
|
+
t.value.style.chart.layout.grid.size,
|
|
428
|
+
2
|
|
429
|
+
)
|
|
389
430
|
}))
|
|
390
431
|
);
|
|
391
432
|
});
|
|
@@ -405,13 +446,7 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
405
446
|
const a = pt(e);
|
|
406
447
|
a !== null && (f.value.includes(a.uid) || Z(a.uid));
|
|
407
448
|
}
|
|
408
|
-
function Me({
|
|
409
|
-
val: e,
|
|
410
|
-
percentage: a,
|
|
411
|
-
showVal: l,
|
|
412
|
-
showPercentage: o,
|
|
413
|
-
config: n
|
|
414
|
-
}) {
|
|
449
|
+
function Me({ val: e, percentage: a, showVal: l, showPercentage: o, config: n }) {
|
|
415
450
|
return zl({
|
|
416
451
|
config: n,
|
|
417
452
|
val: e,
|
|
@@ -431,12 +466,21 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
431
466
|
shape: "square"
|
|
432
467
|
};
|
|
433
468
|
}).map((e, a) => {
|
|
434
|
-
const l = fe(
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
469
|
+
const l = fe(
|
|
470
|
+
t.value.style.chart.layout.labels.dataLabels.formatter,
|
|
471
|
+
e.value,
|
|
472
|
+
z({
|
|
473
|
+
p: t.value.style.chart.layout.labels.dataLabels.prefix,
|
|
474
|
+
v: e.value,
|
|
475
|
+
s: t.value.style.chart.layout.labels.dataLabels.suffix,
|
|
476
|
+
r: t.value.style.chart.legend.roundingValue
|
|
477
|
+
}),
|
|
478
|
+
{ datapoint: e, index: a }
|
|
479
|
+
), o = isNaN(e.value / D.value) ? "-" : z({
|
|
480
|
+
v: e.value / D.value * 100,
|
|
481
|
+
s: "%",
|
|
482
|
+
r: t.value.style.chart.legend.roundingPercentage
|
|
483
|
+
}), n = Me({
|
|
440
484
|
val: l,
|
|
441
485
|
percentage: o,
|
|
442
486
|
showVal: t.value.style.chart.legend.showValue,
|
|
@@ -470,10 +514,14 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
470
514
|
proportion: a.proportion,
|
|
471
515
|
rectIndexes: [l]
|
|
472
516
|
});
|
|
473
|
-
}), Array.from(e.values()).sort(
|
|
517
|
+
}), Array.from(e.values()).sort(
|
|
518
|
+
(a, l) => a.serieIndex - l.serieIndex
|
|
519
|
+
);
|
|
474
520
|
});
|
|
475
521
|
function ft(e) {
|
|
476
|
-
return S.value.find(
|
|
522
|
+
return S.value.find(
|
|
523
|
+
(a) => a.serieIndex === e
|
|
524
|
+
) || null;
|
|
477
525
|
}
|
|
478
526
|
function gt(e) {
|
|
479
527
|
const a = ft(e);
|
|
@@ -481,11 +529,17 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
481
529
|
}
|
|
482
530
|
function yt(e) {
|
|
483
531
|
const a = c.value[e];
|
|
484
|
-
t.value.events.datapointClick && t.value.events.datapointClick({
|
|
532
|
+
t.value.events.datapointClick && t.value.events.datapointClick({
|
|
533
|
+
datapoint: a,
|
|
534
|
+
seriesIndex: a.serieIndex
|
|
535
|
+
});
|
|
485
536
|
}
|
|
486
537
|
function al(e) {
|
|
487
538
|
const a = c.value[e];
|
|
488
|
-
t.value.events.datapointLeave && t.value.events.datapointLeave({
|
|
539
|
+
t.value.events.datapointLeave && t.value.events.datapointLeave({
|
|
540
|
+
datapoint: a,
|
|
541
|
+
seriesIndex: a.serieIndex
|
|
542
|
+
}), ie.value = null, te.value = !1, V.value = null, R.value = null, ae.value = "pointer";
|
|
489
543
|
}
|
|
490
544
|
function mt(e, a = "pointer") {
|
|
491
545
|
if (f.value.length === b.dataset.length) return;
|
|
@@ -568,7 +622,14 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
568
622
|
r: t.value.style.chart.layout.labels.captions.roundingValue
|
|
569
623
|
}),
|
|
570
624
|
{ datapoint: c.value[e], position: a }
|
|
571
|
-
), o = z({
|
|
625
|
+
), o = z({
|
|
626
|
+
v: c.value[e].proportion,
|
|
627
|
+
s: "%",
|
|
628
|
+
r: t.value.style.chart.layout.labels.captions.roundingPercentage
|
|
629
|
+
}), n = (t.value.style.chart.layout.labels.captions.serieNameAbbreviation ? Dl({
|
|
630
|
+
source: c.value[e].name,
|
|
631
|
+
length: t.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize
|
|
632
|
+
}) : c.value[e].name) + (t.value.style.chart.layout.labels.captions.showPercentage || t.value.style.chart.layout.labels.captions.showValue ? ":" : ""), u = t.value.style.chart.layout.labels.captions.showSerieName ? n : "", g = Me({
|
|
572
633
|
val: l,
|
|
573
634
|
percentage: o,
|
|
574
635
|
showVal: t.value.style.chart.layout.labels.captions.showValue,
|
|
@@ -579,10 +640,21 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
579
640
|
}
|
|
580
641
|
function Ve(e = null) {
|
|
581
642
|
It(() => {
|
|
582
|
-
const a = N.value.head.map((n, u) => [
|
|
583
|
-
n.name
|
|
584
|
-
|
|
585
|
-
|
|
643
|
+
const a = N.value.head.map((n, u) => [
|
|
644
|
+
[n.name],
|
|
645
|
+
[N.value.body[u]],
|
|
646
|
+
[
|
|
647
|
+
isNaN(N.value.body[u] / D.value) ? "-" : N.value.body[u] / D.value * 100
|
|
648
|
+
]
|
|
649
|
+
]), l = [
|
|
650
|
+
[t.value.style.chart.title.text],
|
|
651
|
+
[t.value.style.chart.title.subtitle.text],
|
|
652
|
+
[[""], ["val"], ["%"]]
|
|
653
|
+
].concat(a), o = Fl(l);
|
|
654
|
+
e ? e(o) : Ll({
|
|
655
|
+
csvContent: o,
|
|
656
|
+
title: t.value.style.chart.title.text || "vue-ui-waffle"
|
|
657
|
+
});
|
|
586
658
|
});
|
|
587
659
|
}
|
|
588
660
|
const ee = i(() => {
|
|
@@ -659,7 +731,12 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
659
731
|
}
|
|
660
732
|
async function ul({ scale: e = 2 } = {}) {
|
|
661
733
|
if (!_.value) return;
|
|
662
|
-
const { width: a, height: l } = _.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: u } = await Yl({
|
|
734
|
+
const { width: a, height: l } = _.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: u } = await Yl({
|
|
735
|
+
domElement: _.value,
|
|
736
|
+
base64: !0,
|
|
737
|
+
img: !0,
|
|
738
|
+
scale: e
|
|
739
|
+
});
|
|
663
740
|
return {
|
|
664
741
|
imageUri: n,
|
|
665
742
|
base64: u,
|
|
@@ -700,9 +777,12 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
700
777
|
}
|
|
701
778
|
};
|
|
702
779
|
});
|
|
703
|
-
de(
|
|
704
|
-
|
|
705
|
-
|
|
780
|
+
de(
|
|
781
|
+
() => T.value.showTable,
|
|
782
|
+
(e) => {
|
|
783
|
+
t.value.table.show || (e && t.value.table.useDialog && le.value ? le.value.open() : "close" in le.value && le.value.close());
|
|
784
|
+
}
|
|
785
|
+
);
|
|
706
786
|
function Ct() {
|
|
707
787
|
T.value.showTable = !1, Se.value && Se.value.setTableIconState(!1);
|
|
708
788
|
}
|
|
@@ -721,7 +801,14 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
721
801
|
try {
|
|
722
802
|
if (e) {
|
|
723
803
|
const { blob: a, url: l, text: o, dataUrl: n } = await dl();
|
|
724
|
-
await Promise.resolve(
|
|
804
|
+
await Promise.resolve(
|
|
805
|
+
t.value.userOptions.callbacks.svg({
|
|
806
|
+
blob: a,
|
|
807
|
+
url: l,
|
|
808
|
+
text: o,
|
|
809
|
+
dataUrl: n
|
|
810
|
+
})
|
|
811
|
+
);
|
|
725
812
|
} else
|
|
726
813
|
await Promise.resolve(vl());
|
|
727
814
|
} finally {
|
|
@@ -744,13 +831,17 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
744
831
|
config: t.value,
|
|
745
832
|
dataset: K.value
|
|
746
833
|
}), !t.value.userOptions.callbacks.altCopy) {
|
|
747
|
-
console.warn(
|
|
834
|
+
console.warn(
|
|
835
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
836
|
+
);
|
|
748
837
|
return;
|
|
749
838
|
}
|
|
750
|
-
await Promise.resolve(
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
839
|
+
await Promise.resolve(
|
|
840
|
+
t.value.userOptions.callbacks.altCopy({
|
|
841
|
+
config: t.value,
|
|
842
|
+
dataset: K.value
|
|
843
|
+
})
|
|
844
|
+
);
|
|
754
845
|
}
|
|
755
846
|
function pl() {
|
|
756
847
|
R.value = null, Ae.value = !0;
|
|
@@ -761,14 +852,17 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
761
852
|
function gl(e) {
|
|
762
853
|
if (!H.value || ce.value || document.activeElement !== H.value || !S.value.length || f.value.length === b.dataset.length) return;
|
|
763
854
|
const a = ["ArrowLeft", "ArrowUp"].includes(e.key), l = ["ArrowRight", "ArrowDown"].includes(e.key), o = e.key === "Enter" || e.key === " ", n = e.key === "Escape";
|
|
764
|
-
if (!a && !l && !o && !n)
|
|
855
|
+
if (!a && !l && !o && !n)
|
|
856
|
+
return;
|
|
765
857
|
if (e.preventDefault(), e.stopPropagation(), n) {
|
|
766
858
|
R.value = null, ae.value = "pointer", te.value = !1, V.value = null, ie.value = null;
|
|
767
859
|
return;
|
|
768
860
|
}
|
|
769
861
|
if (o) {
|
|
770
862
|
if (R.value === null) return;
|
|
771
|
-
const A = gt(
|
|
863
|
+
const A = gt(
|
|
864
|
+
R.value
|
|
865
|
+
);
|
|
772
866
|
if (A === null) return;
|
|
773
867
|
yt(A);
|
|
774
868
|
return;
|
|
@@ -778,7 +872,9 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
778
872
|
);
|
|
779
873
|
let g = null;
|
|
780
874
|
if (u === -1 ? g = l ? S.value[0] : S.value[S.value.length - 1] : l ? g = S.value[(u + 1) % S.value.length] : g = S.value[(u - 1 + S.value.length) % S.value.length], !g) return;
|
|
781
|
-
const k = gt(
|
|
875
|
+
const k = gt(
|
|
876
|
+
g.serieIndex
|
|
877
|
+
);
|
|
782
878
|
k !== null && (yl(g.serieIndex), mt(k, "keyboard"));
|
|
783
879
|
}
|
|
784
880
|
function yl(e) {
|
|
@@ -1017,7 +1113,10 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
1017
1113
|
ref: H,
|
|
1018
1114
|
xmlns: p(Il),
|
|
1019
1115
|
"aria-describedby": `chart-instructions-${y.value}`,
|
|
1020
|
-
class: St({
|
|
1116
|
+
class: St({
|
|
1117
|
+
"vue-data-ui-fullscreen--on": X.value,
|
|
1118
|
+
"vue-data-ui-fulscreen--off": !X.value
|
|
1119
|
+
}),
|
|
1021
1120
|
tabindex: "0",
|
|
1022
1121
|
viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
|
|
1023
1122
|
style: he(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`),
|
|
@@ -1037,7 +1136,10 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
1037
1136
|
}, [
|
|
1038
1137
|
C("stop", {
|
|
1039
1138
|
offset: "0%",
|
|
1040
|
-
"stop-color": p(Pl)(
|
|
1139
|
+
"stop-color": p(Pl)(
|
|
1140
|
+
p(_l)(l.color, 0.05),
|
|
1141
|
+
100 - t.value.style.chart.layout.rect.gradientIntensity
|
|
1142
|
+
)
|
|
1041
1143
|
}, null, 8, ia),
|
|
1042
1144
|
C("stop", {
|
|
1043
1145
|
offset: "100%",
|
|
@@ -1070,7 +1172,16 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
1070
1172
|
width: F.value <= 0 ? 1e-4 : F.value,
|
|
1071
1173
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
1072
1174
|
}, [
|
|
1073
|
-
h(e.$slots, "cell", Ge({ ref_for: !0 }, {
|
|
1175
|
+
h(e.$slots, "cell", Ge({ ref_for: !0 }, {
|
|
1176
|
+
cell: {
|
|
1177
|
+
...l,
|
|
1178
|
+
color: c.value[o].color,
|
|
1179
|
+
...c.value[o]
|
|
1180
|
+
},
|
|
1181
|
+
isSelected: [null, void 0].includes(
|
|
1182
|
+
V.value
|
|
1183
|
+
) ? !0 : c.value[o].serieIndex === V.value
|
|
1184
|
+
}), void 0, !0)
|
|
1074
1185
|
], 8, da))), 256)) : m("", !0),
|
|
1075
1186
|
!c.value.length && !t.value.useCustomCells ? (s(), v("rect", {
|
|
1076
1187
|
key: 1,
|
|
@@ -1084,7 +1195,10 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
1084
1195
|
}, null, 8, ha)) : c.value.length && !t.value.useCustomCells ? (s(), v(P, { key: 2 }, [
|
|
1085
1196
|
e.$slots.pattern ? (s(), v("g", pa, [
|
|
1086
1197
|
(s(!0), v(P, null, G(me.value, (l) => (s(), v("defs", null, [
|
|
1087
|
-
h(e.$slots, "pattern", Ge({ ref_for: !0 }, {
|
|
1198
|
+
h(e.$slots, "pattern", Ge({ ref_for: !0 }, {
|
|
1199
|
+
seriesIndex: l.absoluteIndex,
|
|
1200
|
+
patternId: `pattern_${y.value}_${l.absoluteIndex}`
|
|
1201
|
+
}), void 0, !0)
|
|
1088
1202
|
]))), 256))
|
|
1089
1203
|
])) : m("", !0),
|
|
1090
1204
|
(s(!0), v(P, null, G(q.value, (l, o) => (s(), v("rect", {
|
|
@@ -1153,11 +1267,16 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
1153
1267
|
}, void 0, !0)
|
|
1154
1268
|
], 46, sa)),
|
|
1155
1269
|
e.$slots.hint ? (s(), v("div", ka, [
|
|
1156
|
-
h(e.$slots, "hint", x($({
|
|
1270
|
+
h(e.$slots, "hint", x($({
|
|
1271
|
+
hint: t.value.a11y.translations.keyboardNavigation,
|
|
1272
|
+
isVisible: Ae.value
|
|
1273
|
+
})), void 0, !0)
|
|
1157
1274
|
])) : m("", !0)
|
|
1158
1275
|
]),
|
|
1159
1276
|
e.$slots.watermark ? (s(), v("div", Ca, [
|
|
1160
|
-
h(e.$slots, "watermark", x($({
|
|
1277
|
+
h(e.$slots, "watermark", x($({
|
|
1278
|
+
isPrinting: p(Oe) || p(Fe) || ge.value || ye.value
|
|
1279
|
+
})), void 0, !0)
|
|
1161
1280
|
])) : m("", !0),
|
|
1162
1281
|
C("div", {
|
|
1163
1282
|
id: `legend-bottom-${y.value}`
|
|
@@ -1318,7 +1437,7 @@ const aa = ["id"], oa = ["id"], na = ["id"], ua = { style: { position: "relative
|
|
|
1318
1437
|
], !0)
|
|
1319
1438
|
], 46, aa));
|
|
1320
1439
|
}
|
|
1321
|
-
}, qa = /* @__PURE__ */ la(Sa, [["__scopeId", "data-v-
|
|
1440
|
+
}, qa = /* @__PURE__ */ la(Sa, [["__scopeId", "data-v-9a69dc71"]]);
|
|
1322
1441
|
export {
|
|
1323
1442
|
qa as default
|
|
1324
1443
|
};
|