vue-data-ui 3.17.3 → 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-DP_kfXUM.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 +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-C0aMSe2G.js} +138 -72
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-CWaSxiqw.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-B6S8XYmi.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-_zHE8JoR.js → vue-ui-bullet-CEH6eppC.js} +92 -35
- package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-JbKFEe2A.js} +205 -102
- package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
- package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
- package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
- package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
- package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
- package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-B3cJoPku.js} +14 -7
- package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DCq1VMNd.js} +261 -99
- package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
- package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D16SQQ4M.js} +6 -6
- package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-d0LLrlKG.js} +532 -157
- package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
- package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
- package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
- package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
- package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-DR9WL985.js} +161 -69
- package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-x96W5OPx.js} +95 -37
- package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-qTfYs5qi.js} +113 -43
- package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
- package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
- package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
- package/dist/{vue-ui-kpi-B0sOyO7s.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-C2wW_JqJ.js → vue-ui-molecule-B_19tjnI.js} +226 -120
- package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
- package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
- package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-DMMLNXVu.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-YokoI6TP.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-D8vI4gIT.js} +240 -88
- package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
- package/dist/{vue-ui-radar-BF2eWMEl.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-D3jsasRD.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
- package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
- package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
- package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
- package/dist/{vue-ui-skeleton-BD5hXmIt.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-exj63CUB.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
- package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
- package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
- package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
- package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
- package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
- package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
- package/dist/{vue-ui-table-CKlHkISC.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-DHPemUVJ.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
- package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-B9nc954A.js} +129 -48
- package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-BDfbM4vl.js} +32 -15
- package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-DHV_oSQ0.js} +90 -35
- package/dist/vue-ui-treemap-DLWOi_EG.js +1748 -0
- package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
- package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
- package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-DexRxuh1.js} +443 -350
- package/dist/vue-ui-world-DAJgtvpz.js +14451 -0
- package/dist/{vue-ui-xy-BAlrZ3W9.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-5qrvks6n.js +0 -1726
- package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineAsyncComponent as V, computed as y, ref as
|
|
2
|
-
import { j as st, t as ut, m as sa, p as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as ga } from "./useConfig-
|
|
5
|
-
import { u as ba, B as ka } from "./BaseScanner-
|
|
6
|
-
import { u as Ca } from "./usePrinter-
|
|
7
|
-
import { u as wa } from "./useSvgExport-
|
|
8
|
-
import { u as Me } from "./useNestedProp-
|
|
9
|
-
import { u as La } from "./useThemeCheck-
|
|
10
|
-
import { u as xa } from "./useTimeLabels-
|
|
11
|
-
import { u as $a } from "./useUserOptionState-
|
|
12
|
-
import { u as Sa } from "./useChartAccessibility-
|
|
13
|
-
import { u as Aa } from "./useTimeLabelCollider-
|
|
1
|
+
import { defineAsyncComponent as V, computed as y, ref as h, toRefs as aa, onMounted as la, watch as he, shallowRef as et, onBeforeUnmount as tt, watchEffect as at, openBlock as r, createElementBlock as c, normalizeStyle as x, normalizeClass as lt, createElementVNode as W, toDisplayString as B, createBlock as U, createCommentVNode as b, unref as d, withCtx as g, renderSlot as f, normalizeProps as $, guardReactiveProps as S, createSlots as ot, createVNode as Se, Fragment as L, renderList as T, mergeProps as Ae, resolveDynamicComponent as oa, createTextVNode as nt, nextTick as na } from "vue";
|
|
2
|
+
import { j as st, t as ut, m as sa, p as de, n as ua, o as rt, q as it, r as ra, s as ct, k as ia, l as ca, W as vt, a9 as R, c as va, b as ha, I as da, X as ya, Z as Te, a0 as fa, a1 as pa } from "./lib-DMzrGQHK.js";
|
|
3
|
+
import { t as ht, u as ma } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ga } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as ba, B as ka } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as Ca } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as wa } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as Me } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as La } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as xa } from "./useTimeLabels-Cv0tD9In.js";
|
|
11
|
+
import { u as $a } from "./useUserOptionState-B7Ej974k.js";
|
|
12
|
+
import { u as Sa } from "./useChartAccessibility-cp6XQtqi.js";
|
|
13
|
+
import { u as Aa } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
14
14
|
import Ta from "./vue_ui_bump-CIht647H.js";
|
|
15
|
-
import Ma from "./Title-
|
|
16
|
-
import { A as Pa } from "./A11yDataTable-
|
|
17
|
-
import Ia from "./BaseDraggableDialog-
|
|
15
|
+
import Ma from "./Title-BbKoiBk2.js";
|
|
16
|
+
import { A as Pa } from "./A11yDataTable-BpmuNomI.js";
|
|
17
|
+
import Ia from "./BaseDraggableDialog-Di8Hlru3.js";
|
|
18
18
|
import { _ as za } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
19
|
const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = ["xmlns", "aria-describedby", "viewBox"], Na = ["x", "y", "width", "height"], Ha = ["d", "stroke", "stroke-width", "onMouseenter"], Ea = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Fa = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Va = ["x", "y", "fill", "font-size"], Wa = ["onMouseenter", "onMouseleave", "onClick"], Ba = ["x", "y", "fill", "font-size"], Ua = ["x", "y", "fill", "font-size", "font--weight", "innerHTML", "onMouseenter", "onMouseleave", "onClick"], Xa = ["x", "y", "fill", "font-size", "font--weight", "innerHTML", "onMouseenter", "onMouseleave", "onClick"], Ya = { key: 0 }, ja = { key: 1 }, qa = ["text-anchor", "font-size", "font-weight", "fill", "transform"], Ga = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], Ka = {
|
|
20
20
|
key: 0,
|
|
@@ -41,15 +41,23 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
emits: ["copyAlt"],
|
|
44
|
-
setup(
|
|
45
|
-
const pt = V(() => import("./BaseIcon-
|
|
44
|
+
setup(dt, { expose: yt, emit: ft }) {
|
|
45
|
+
const pt = V(() => import("./BaseIcon-DX0hTWa-.js")), mt = V(() => import("./vue-ui-accordion-BHmfmb_6.js")), gt = V(() => import("./DataTable-cMnb68Ik.js")), bt = V(
|
|
46
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
47
|
+
), kt = V(
|
|
48
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
49
|
+
), Ct = V(
|
|
50
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
51
|
+
), { vue_ui_bump: wt } = ga(), { isThemeValid: Lt, warnInvalidTheme: xt } = La(), w = dt, $t = ft, le = y({
|
|
46
52
|
get() {
|
|
47
53
|
return !!w.dataset && w.dataset.length;
|
|
48
54
|
},
|
|
49
55
|
set(t) {
|
|
50
56
|
return t;
|
|
51
57
|
}
|
|
52
|
-
}), M =
|
|
58
|
+
}), M = h(null), N = h(st()), Pe = h(0), Ie = h(null), ze = h(null), Oe = h(null), oe = h(!1), ye = h(!1), Re = h(0), St = h(0), X = h(null), fe = h(null), _e = h(!1), ne = h(!1), se = h(!1), p = h(null), pe = h(null), me = h(null), ge = h(null), P = h(null), be = h(!1), e = h(ke()), Y = y(
|
|
59
|
+
() => e.value.userOptions.useCursorPointer
|
|
60
|
+
), At = y(() => ut({
|
|
53
61
|
defaultConfig: {
|
|
54
62
|
userOptions: { show: !1 },
|
|
55
63
|
style: {
|
|
@@ -80,9 +88,21 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
80
88
|
FINAL_CONFIG: e,
|
|
81
89
|
prepareConfig: ke,
|
|
82
90
|
skeletonDataset: w.config?.skeletonDataset ?? [
|
|
83
|
-
{
|
|
84
|
-
|
|
85
|
-
|
|
91
|
+
{
|
|
92
|
+
name: "————",
|
|
93
|
+
values: [1, 1, 1, 2, 2, 2, 3, 3, 2, 2],
|
|
94
|
+
color: "#4A4A4A"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: "————",
|
|
98
|
+
values: [2, 2, 2, 1, 3, 3, 2, 2, 3, 3],
|
|
99
|
+
color: "#6A6A6A"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "————",
|
|
103
|
+
values: [3, 3, 3, 3, 1, 1, 1, 1, 1, 1],
|
|
104
|
+
color: "#8A8A8A"
|
|
105
|
+
}
|
|
86
106
|
],
|
|
87
107
|
skeletonConfig: ut({
|
|
88
108
|
defaultConfig: e.value,
|
|
@@ -110,42 +130,55 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
110
130
|
userConfig: w.config,
|
|
111
131
|
defaultConfig: o
|
|
112
132
|
}),
|
|
113
|
-
customPalette: t.customPalette.length ? t.customPalette : sa[a] ||
|
|
133
|
+
customPalette: t.customPalette.length ? t.customPalette : sa[a] || de
|
|
114
134
|
};
|
|
115
135
|
}
|
|
116
136
|
else
|
|
117
137
|
l = t;
|
|
118
138
|
return l;
|
|
119
139
|
}
|
|
120
|
-
const { userOptionsVisible: Ce, setUserOptionsVisibility: De, keepUserOptionState: Ne } = $a({ config: e.value }), { svgRef: j } = Sa({
|
|
140
|
+
const { userOptionsVisible: Ce, setUserOptionsVisibility: De, keepUserOptionState: Ne } = $a({ config: e.value }), { svgRef: j } = Sa({
|
|
141
|
+
config: e.value.style.chart.title
|
|
142
|
+
});
|
|
121
143
|
function Mt() {
|
|
122
144
|
_e.value = !0, De(!0);
|
|
123
145
|
}
|
|
124
146
|
function Pt() {
|
|
125
147
|
De(!1), _e.value = !1;
|
|
126
148
|
}
|
|
127
|
-
const _ =
|
|
149
|
+
const _ = h({
|
|
128
150
|
showTable: e.value.table.show
|
|
129
151
|
});
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
152
|
+
he(
|
|
153
|
+
e,
|
|
154
|
+
() => {
|
|
155
|
+
_.value = {
|
|
156
|
+
showTable: e.value.table.show
|
|
157
|
+
};
|
|
158
|
+
},
|
|
159
|
+
{ immediate: !0 }
|
|
160
|
+
), he(
|
|
161
|
+
() => w.config,
|
|
162
|
+
(t) => {
|
|
163
|
+
ue.value || (e.value = ke()), Ce.value = !e.value.userOptions.showOnChartHover, We(), Re.value += 1, St.value += 1, _.value.showTable = e.value.table.show, A.value.width = e.value.style.chart.width, A.value.height = e.value.style.chart.height, A.value.paddingRatio = {
|
|
164
|
+
top: e.value.style.chart.padding.top / e.value.style.chart.height,
|
|
165
|
+
right: e.value.style.chart.padding.right / e.value.style.chart.width,
|
|
166
|
+
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
167
|
+
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
), he(
|
|
171
|
+
() => w.dataset,
|
|
172
|
+
(t) => {
|
|
173
|
+
Array.isArray(t) && t.length > 0 && (re.value = !1);
|
|
174
|
+
},
|
|
175
|
+
{ deep: !0 }
|
|
176
|
+
);
|
|
144
177
|
const { isPrinting: we, isImaging: Le, generatePdf: He, generateImage: Ee } = Ca({
|
|
145
178
|
elementId: `bump_${N.value}`,
|
|
146
179
|
fileName: e.value.style.chart.title.text || "vue-ui-bump",
|
|
147
180
|
options: e.value.userOptions.print
|
|
148
|
-
}), It = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), A =
|
|
181
|
+
}), It = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), A = h({
|
|
149
182
|
width: e.value.style.chart.width,
|
|
150
183
|
height: e.value.style.chart.height,
|
|
151
184
|
paddingRatio: {
|
|
@@ -154,7 +187,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
154
187
|
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
155
188
|
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
156
189
|
}
|
|
157
|
-
}), zt = y(() => ua(e.value.customPalette)), I = et(null), H = et(null), Fe =
|
|
190
|
+
}), zt = y(() => ua(e.value.customPalette)), I = et(null), H = et(null), Fe = h(null), Ve = y(() => !!e.value.debug);
|
|
158
191
|
function We() {
|
|
159
192
|
if (rt(w.dataset) ? (it({
|
|
160
193
|
componentName: "VueUiBump",
|
|
@@ -176,7 +209,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
176
209
|
}), rt(w.dataset) || (re.value = e.value.loading), setTimeout(() => {
|
|
177
210
|
ye.value = !0;
|
|
178
211
|
}, 10), e.value.responsive) {
|
|
179
|
-
const t =
|
|
212
|
+
const t = ht(() => {
|
|
180
213
|
ye.value = !1;
|
|
181
214
|
const { width: l, height: a } = ma({
|
|
182
215
|
chart: M.value,
|
|
@@ -199,14 +232,16 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
199
232
|
I.value && (H.value && I.value.unobserve(H.value), I.value.disconnect());
|
|
200
233
|
});
|
|
201
234
|
const ie = y(() => Tt.value.map((t, l) => {
|
|
202
|
-
const a = ct(t.color) || zt.value[l] ||
|
|
235
|
+
const a = ct(t.color) || zt.value[l] || de[l] || de[l % de.length];
|
|
203
236
|
return {
|
|
204
237
|
...t,
|
|
205
238
|
absoluteIndex: l,
|
|
206
239
|
id: st(),
|
|
207
240
|
color: a
|
|
208
241
|
};
|
|
209
|
-
})), E = y(
|
|
242
|
+
})), E = y(
|
|
243
|
+
() => Math.max(...ie.value.map((t) => t.values.length))
|
|
244
|
+
);
|
|
210
245
|
function Ot(t) {
|
|
211
246
|
const l = t.map(() => Array(E.value).fill(null));
|
|
212
247
|
for (let a = 0; a < E.value; a += 1) {
|
|
@@ -237,7 +272,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
237
272
|
return n > a ? n : a;
|
|
238
273
|
}, 0)), t;
|
|
239
274
|
}
|
|
240
|
-
const Be =
|
|
275
|
+
const Be = h(0), Dt = ht((t) => {
|
|
241
276
|
Be.value = t;
|
|
242
277
|
}, 100);
|
|
243
278
|
at((t) => {
|
|
@@ -261,10 +296,16 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
261
296
|
return Math.max(te, ve);
|
|
262
297
|
}, 1), u = n.reduce((te, ae) => {
|
|
263
298
|
const Qt = String(ae?.text ?? "").split(`
|
|
264
|
-
`).reduce(
|
|
299
|
+
`).reduce(
|
|
300
|
+
(ea, ta) => Math.max(ea, ta.length),
|
|
301
|
+
0
|
|
302
|
+
);
|
|
265
303
|
return Math.max(te, Qt);
|
|
266
304
|
}, 0), v = l * 1.3, m = s * v, k = u * l * (u === 1 ? 1 : 0.6), O = Math.abs(Math.sin(o)) * k + Math.abs(Math.cos(o)) * m, ee = l * 0.3;
|
|
267
|
-
return Math.max(
|
|
305
|
+
return Math.max(
|
|
306
|
+
0,
|
|
307
|
+
O + Math.abs(t.offsetY) + ee
|
|
308
|
+
);
|
|
268
309
|
}), i = y(() => {
|
|
269
310
|
const { height: t, width: l } = A.value, { right: a, left: o } = A.value.paddingRatio;
|
|
270
311
|
let n = Rt(), s = _t();
|
|
@@ -309,9 +350,13 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
309
350
|
displayValue: v,
|
|
310
351
|
rank: l.positions[u] + 1,
|
|
311
352
|
color: l.color,
|
|
312
|
-
labelColor: e.value.style.chart.layout.plots.labels.color === "auto" ? vt(l.color) : ct(
|
|
353
|
+
labelColor: e.value.style.chart.layout.plots.labels.color === "auto" ? vt(l.color) : ct(
|
|
354
|
+
e.value.style.chart.layout.plots.labels.color
|
|
355
|
+
) ?? vt(l.color)
|
|
313
356
|
};
|
|
314
|
-
}), o = a.filter(
|
|
357
|
+
}), o = a.filter(
|
|
358
|
+
(s) => R(s.value)
|
|
359
|
+
), n = e.value.style.chart.layout.lines.smooth ? va(o) : ha(o);
|
|
315
360
|
return {
|
|
316
361
|
...l,
|
|
317
362
|
coordinates: a,
|
|
@@ -351,7 +396,9 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
351
396
|
const Xe = y(() => {
|
|
352
397
|
const t = [], l = [];
|
|
353
398
|
C.value.forEach((m) => {
|
|
354
|
-
const k = m.coordinates.filter(
|
|
399
|
+
const k = m.coordinates.filter(
|
|
400
|
+
(ee) => Number.isFinite(ee.rank)
|
|
401
|
+
);
|
|
355
402
|
if (!k.length) return;
|
|
356
403
|
t.push({ ...k[0] });
|
|
357
404
|
const O = k[k.length - 1];
|
|
@@ -386,7 +433,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
386
433
|
rx: u / 2
|
|
387
434
|
};
|
|
388
435
|
}
|
|
389
|
-
const D =
|
|
436
|
+
const D = h([]);
|
|
390
437
|
let Ye = 0;
|
|
391
438
|
at(() => {
|
|
392
439
|
const t = ++Ye, l = e.value.style.chart.layout.timeLabels, a = l.values, o = l.datetimeFormatter, n = E.value;
|
|
@@ -407,10 +454,13 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
407
454
|
});
|
|
408
455
|
const Et = y(() => {
|
|
409
456
|
const t = e.value.style.chart.layout.timeLabels.modulo;
|
|
410
|
-
return D.value.length ? Math.min(
|
|
457
|
+
return D.value.length ? Math.min(
|
|
458
|
+
t,
|
|
459
|
+
[...new Set(D.value.map((l) => l.text))].length
|
|
460
|
+
) : t;
|
|
411
461
|
}), q = y(() => {
|
|
412
462
|
const t = e.value.style.chart.layout.timeLabels, l = D.value || [], a = D.value || [], o = 0, n = null, s = E.value, u = l.map((m) => m?.text ?? ""), v = a.map((m) => m?.text ?? "");
|
|
413
|
-
return
|
|
463
|
+
return da(
|
|
414
464
|
!!t.showOnlyFirstAndLast,
|
|
415
465
|
!!t.showOnlyAtModulo,
|
|
416
466
|
Math.max(1, Et.value || 1),
|
|
@@ -450,7 +500,8 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
450
500
|
function Xt(t) {
|
|
451
501
|
if (!j.value || Z.value || document.activeElement !== j.value || !G.value.length) return;
|
|
452
502
|
const l = ["ArrowLeft", "ArrowUp"].includes(t.key), a = ["ArrowRight", "ArrowDown"].includes(t.key), o = t.key === "Enter" || t.key === " ", n = t.key === "Escape";
|
|
453
|
-
if (!l && !a && !o && !n)
|
|
503
|
+
if (!l && !a && !o && !n)
|
|
504
|
+
return;
|
|
454
505
|
if (t.preventDefault(), t.stopPropagation(), n) {
|
|
455
506
|
qe();
|
|
456
507
|
return;
|
|
@@ -482,13 +533,20 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
482
533
|
slicer: Wt,
|
|
483
534
|
configRef: e,
|
|
484
535
|
rotationPath: ["style", "chart", "layout", "timeLabels", "rotation"],
|
|
485
|
-
autoRotatePath: [
|
|
536
|
+
autoRotatePath: [
|
|
537
|
+
"style",
|
|
538
|
+
"chart",
|
|
539
|
+
"layout",
|
|
540
|
+
"timeLabels",
|
|
541
|
+
"autoRotate",
|
|
542
|
+
"enable"
|
|
543
|
+
],
|
|
486
544
|
isAutoSize: !1,
|
|
487
545
|
width: Ft,
|
|
488
546
|
height: Vt,
|
|
489
547
|
rotation: e.value.style.chart.layout.timeLabels.autoRotate.angle
|
|
490
548
|
});
|
|
491
|
-
const Z =
|
|
549
|
+
const Z = h(!1);
|
|
492
550
|
function xe() {
|
|
493
551
|
Z.value = !Z.value;
|
|
494
552
|
}
|
|
@@ -498,9 +556,12 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
498
556
|
function Ke() {
|
|
499
557
|
_.value.showTable = !_.value.showTable;
|
|
500
558
|
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
559
|
+
he(
|
|
560
|
+
() => _.value.showTable,
|
|
561
|
+
(t) => {
|
|
562
|
+
e.value.table.show || (t && e.value.table.useDialog && X.value ? X.value.open() : "close" in X.value && X.value.close());
|
|
563
|
+
}
|
|
564
|
+
);
|
|
504
565
|
function Ze() {
|
|
505
566
|
_.value.showTable = !1, fe.value && fe.value.setTableIconState(!1);
|
|
506
567
|
}
|
|
@@ -508,14 +569,15 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
508
569
|
return C.value;
|
|
509
570
|
}
|
|
510
571
|
function $e(t = null) {
|
|
511
|
-
const l = [
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
572
|
+
const l = [
|
|
573
|
+
[e.value.style.chart.title.text],
|
|
574
|
+
[e.value.style.chart.title.subtitle.text],
|
|
575
|
+
[""]
|
|
576
|
+
], a = ["", ...q.value.map((v) => v?.text ?? "")], o = C.value.map((v) => [v.name, ...v.coordinates.map((m) => `${m.displayValue}`)]), n = C.value.map((v) => [v.name, ...v.coordinates.map((m) => `${m.rank}`)]), s = l.concat([[e.value.table.columnNames.values]]).concat([a]).concat(o).concat([[""], [e.value.table.columnNames.ranking], [a]]).concat(n), u = fa(s);
|
|
577
|
+
t ? t(u) : pa({
|
|
578
|
+
csvContent: u,
|
|
579
|
+
title: e.value.style.chart.title.text || "vue-ui-bump"
|
|
580
|
+
});
|
|
519
581
|
}
|
|
520
582
|
const J = y(() => {
|
|
521
583
|
const t = e.value.table.useDialog && !e.value.table.show, l = _.value.showTable;
|
|
@@ -577,7 +639,14 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
577
639
|
try {
|
|
578
640
|
if (t) {
|
|
579
641
|
const { blob: l, url: a, text: o, dataUrl: n } = await Kt();
|
|
580
|
-
await Promise.resolve(
|
|
642
|
+
await Promise.resolve(
|
|
643
|
+
e.value.userOptions.callbacks.svg({
|
|
644
|
+
blob: l,
|
|
645
|
+
url: a,
|
|
646
|
+
text: o,
|
|
647
|
+
dataUrl: n
|
|
648
|
+
})
|
|
649
|
+
);
|
|
581
650
|
} else
|
|
582
651
|
await Promise.resolve(Gt());
|
|
583
652
|
} finally {
|
|
@@ -586,7 +655,12 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
586
655
|
}
|
|
587
656
|
async function Zt({ scale: t = 2 } = {}) {
|
|
588
657
|
if (!M.value) return;
|
|
589
|
-
const { width: l, height: a } = M.value.getBoundingClientRect(), o = l / a, { imageUri: n, base64: s } = await img({
|
|
658
|
+
const { width: l, height: a } = M.value.getBoundingClientRect(), o = l / a, { imageUri: n, base64: s } = await img({
|
|
659
|
+
domElement: M.value,
|
|
660
|
+
base64: !0,
|
|
661
|
+
img: !0,
|
|
662
|
+
scale: t
|
|
663
|
+
});
|
|
590
664
|
return {
|
|
591
665
|
imageUri: n,
|
|
592
666
|
base64: s,
|
|
@@ -630,13 +704,17 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
630
704
|
config: e.value,
|
|
631
705
|
dataset: C.value
|
|
632
706
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
633
|
-
console.warn(
|
|
707
|
+
console.warn(
|
|
708
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
709
|
+
);
|
|
634
710
|
return;
|
|
635
711
|
}
|
|
636
|
-
await Promise.resolve(
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
712
|
+
await Promise.resolve(
|
|
713
|
+
e.value.userOptions.callbacks.altCopy({
|
|
714
|
+
config: e.value,
|
|
715
|
+
dataset: C.value
|
|
716
|
+
})
|
|
717
|
+
);
|
|
640
718
|
}
|
|
641
719
|
return yt({
|
|
642
720
|
getData: Yt,
|
|
@@ -653,7 +731,11 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
653
731
|
id: `bump_${N.value}`,
|
|
654
732
|
ref_key: "bumpChart",
|
|
655
733
|
ref: M,
|
|
656
|
-
class: lt({
|
|
734
|
+
class: lt({
|
|
735
|
+
"vue-data-ui-component": !0,
|
|
736
|
+
"vue-ui-bump": !0,
|
|
737
|
+
"vue-data-ui-wrapper-fullscreen": oe.value
|
|
738
|
+
}),
|
|
657
739
|
style: x(`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%" : ""}`),
|
|
658
740
|
onMouseenter: Mt,
|
|
659
741
|
onMouseleave: Pt
|
|
@@ -670,9 +752,9 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
670
752
|
caption: K.value.caption,
|
|
671
753
|
notice: K.value.notice
|
|
672
754
|
}, null, 8, ["uid", "head", "body", "caption", "notice"])) : b("", !0),
|
|
673
|
-
e.value.userOptions.buttons.annotator ? (r(), U(
|
|
755
|
+
e.value.userOptions.buttons.annotator ? (r(), U(d(bt), {
|
|
674
756
|
key: 1,
|
|
675
|
-
svgRef:
|
|
757
|
+
svgRef: d(j),
|
|
676
758
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
677
759
|
color: e.value.style.chart.color,
|
|
678
760
|
active: Z.value,
|
|
@@ -727,14 +809,14 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
727
809
|
}
|
|
728
810
|
}, null, 8, ["config"]))
|
|
729
811
|
], 512)) : b("", !0),
|
|
730
|
-
e.value.userOptions.show && le.value && (
|
|
812
|
+
e.value.userOptions.show && le.value && (d(Ne) || d(Ce)) ? (r(), U(d(kt), {
|
|
731
813
|
ref_key: "userOptionsRef",
|
|
732
814
|
ref: fe,
|
|
733
815
|
key: `user_option_${Pe.value}`,
|
|
734
816
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
735
817
|
color: e.value.style.chart.color,
|
|
736
|
-
isPrinting:
|
|
737
|
-
isImaging:
|
|
818
|
+
isPrinting: d(we),
|
|
819
|
+
isImaging: d(Le),
|
|
738
820
|
uid: N.value,
|
|
739
821
|
hasTooltip: !1,
|
|
740
822
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -756,7 +838,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
756
838
|
tableDialog: e.value.table.useDialog,
|
|
757
839
|
isCursorPointer: Y.value,
|
|
758
840
|
onToggleFullscreen: Ge,
|
|
759
|
-
onGeneratePdf:
|
|
841
|
+
onGeneratePdf: d(He),
|
|
760
842
|
onGenerateCsv: $e,
|
|
761
843
|
onGenerateImage: Jt,
|
|
762
844
|
onGenerateSvg: Je,
|
|
@@ -764,7 +846,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
764
846
|
onToggleAnnotator: xe,
|
|
765
847
|
onCopyAlt: Qe,
|
|
766
848
|
style: x({
|
|
767
|
-
visibility:
|
|
849
|
+
visibility: d(Ne) ? d(Ce) ? "visible" : "hidden" : "visible"
|
|
768
850
|
})
|
|
769
851
|
}, ot({ _: 2 }, [
|
|
770
852
|
t.$slots.menuIcon ? {
|
|
@@ -835,10 +917,14 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
835
917
|
(r(), c("svg", {
|
|
836
918
|
ref_key: "svgRef",
|
|
837
919
|
ref: j,
|
|
838
|
-
xmlns:
|
|
920
|
+
xmlns: d(ya),
|
|
839
921
|
"aria-describedby": `chart-instructions-${N.value}`,
|
|
840
922
|
viewBox: `0 0 ${i.value.chartWidth <= 0 ? 10 : i.value.chartWidth} ${i.value.svgHeight <= 0 ? 10 : i.value.svgHeight}`,
|
|
841
|
-
class: lt({
|
|
923
|
+
class: lt({
|
|
924
|
+
"vue-data-ui-loading": d(ue),
|
|
925
|
+
"no-transition": !e.value.useCssAnimation,
|
|
926
|
+
"with-transition": e.value.useCssAnimation
|
|
927
|
+
}),
|
|
842
928
|
style: x(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
|
|
843
929
|
role: "img",
|
|
844
930
|
"aria-live": "polite",
|
|
@@ -848,7 +934,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
848
934
|
onBlur: Ut,
|
|
849
935
|
onKeydown: Xt
|
|
850
936
|
}, [
|
|
851
|
-
Se(
|
|
937
|
+
Se(d(Ct)),
|
|
852
938
|
t.$slots["chart-background"] ? (r(), c("foreignObject", {
|
|
853
939
|
key: 0,
|
|
854
940
|
x: i.value.left,
|
|
@@ -922,18 +1008,26 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
922
1008
|
})
|
|
923
1009
|
}, B(o.rank), 13, Va))), 256)) : b("", !0),
|
|
924
1010
|
e.value.style.chart.layout.plots.labels.displayedValue === "value" ? (r(!0), c(L, { key: 2 }, T(a.coordinates, (o) => (r(), c(L, null, [
|
|
925
|
-
|
|
1011
|
+
d(R)(o.value) ? (r(), c("rect", Ae({
|
|
926
1012
|
key: 0,
|
|
927
1013
|
class: "transition-opacity"
|
|
928
1014
|
}, { ref_for: !0 }, Ht(o), {
|
|
929
1015
|
style: {
|
|
930
1016
|
opacity: p.value == null || p.value === a.id ? 1 : 0.1
|
|
931
1017
|
},
|
|
932
|
-
onMouseenter: (n) => z(
|
|
933
|
-
|
|
934
|
-
|
|
1018
|
+
onMouseenter: (n) => z(
|
|
1019
|
+
{ ...t.point, pointIndex: t.i },
|
|
1020
|
+
a
|
|
1021
|
+
),
|
|
1022
|
+
onMouseleave: (n) => F(
|
|
1023
|
+
{ ...t.point, pointIndex: t.i }
|
|
1024
|
+
),
|
|
1025
|
+
onClick: (n) => z(
|
|
1026
|
+
{ ...t.point, pointIndex: t.i },
|
|
1027
|
+
a
|
|
1028
|
+
)
|
|
935
1029
|
}), null, 16, Wa)) : b("", !0),
|
|
936
|
-
|
|
1030
|
+
d(R)(o.value) && e.value.style.chart.layout.plots.labels.show ? (r(), c("text", {
|
|
937
1031
|
key: 1,
|
|
938
1032
|
class: "transition-opacity",
|
|
939
1033
|
x: o.x,
|
|
@@ -954,7 +1048,9 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
954
1048
|
ref_key: "labelsLeft",
|
|
955
1049
|
ref: pe
|
|
956
1050
|
}, [
|
|
957
|
-
(r(!0), c(L, null, T(Xe.value.left.filter(
|
|
1051
|
+
(r(!0), c(L, null, T(Xe.value.left.filter(
|
|
1052
|
+
(a) => d(R)(a.value)
|
|
1053
|
+
), (a, o) => (r(), c("text", {
|
|
958
1054
|
class: "transition-opacity",
|
|
959
1055
|
x: i.value.left,
|
|
960
1056
|
y: a.y + e.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -962,7 +1058,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
962
1058
|
"font-size": e.value.style.chart.layout.nameLabels.fontSize,
|
|
963
1059
|
"font--weight": e.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
964
1060
|
"text-anchor": "end",
|
|
965
|
-
innerHTML:
|
|
1061
|
+
innerHTML: d(Te)({
|
|
966
1062
|
content: a.name,
|
|
967
1063
|
fontSize: e.value.style.chart.layout.nameLabels.fontSize,
|
|
968
1064
|
fill: e.value.style.chart.layout.nameLabels.useSerieColor ? a.color : e.value.style.chart.layout.nameLabels.color,
|
|
@@ -983,7 +1079,9 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
983
1079
|
ref_key: "labelsRight",
|
|
984
1080
|
ref: me
|
|
985
1081
|
}, [
|
|
986
|
-
(r(!0), c(L, null, T(Xe.value.right.filter(
|
|
1082
|
+
(r(!0), c(L, null, T(Xe.value.right.filter(
|
|
1083
|
+
(a) => d(R)(a.value)
|
|
1084
|
+
), (a, o) => (r(), c("text", {
|
|
987
1085
|
class: "transition-opacity",
|
|
988
1086
|
x: i.value.right,
|
|
989
1087
|
y: a.y + e.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -991,7 +1089,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
991
1089
|
"font-size": e.value.style.chart.layout.nameLabels.fontSize,
|
|
992
1090
|
"font--weight": e.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
|
|
993
1091
|
"text-anchor": "start",
|
|
994
|
-
innerHTML:
|
|
1092
|
+
innerHTML: d(Te)({
|
|
995
1093
|
content: a.name,
|
|
996
1094
|
fontSize: e.value.style.chart.layout.nameLabels.fontSize,
|
|
997
1095
|
fill: e.value.style.chart.layout.nameLabels.useSerieColor ? a.color : e.value.style.chart.layout.nameLabels.color,
|
|
@@ -1041,7 +1139,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
1041
1139
|
),
|
|
1042
1140
|
rotate(${e.value.style.chart.layout.timeLabels.rotation})
|
|
1043
1141
|
`,
|
|
1044
|
-
innerHTML:
|
|
1142
|
+
innerHTML: d(Te)({
|
|
1045
1143
|
content: String(a.text),
|
|
1046
1144
|
fontSize: e.value.style.chart.layout.timeLabels.fontSize,
|
|
1047
1145
|
fill: e.value.style.chart.layout.timeLabels.color,
|
|
@@ -1064,17 +1162,22 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
1064
1162
|
svg: {
|
|
1065
1163
|
drawingArea: i.value,
|
|
1066
1164
|
data: C.value,
|
|
1067
|
-
isPrintingImg:
|
|
1165
|
+
isPrintingImg: d(we) | d(Le) | ne.value,
|
|
1068
1166
|
isPrintingSvg: se.value
|
|
1069
1167
|
}
|
|
1070
1168
|
}, void 0, !0)
|
|
1071
1169
|
], 46, Da)),
|
|
1072
1170
|
t.$slots.hint ? (r(), c("div", Ka, [
|
|
1073
|
-
f(t.$slots, "hint", $(S({
|
|
1171
|
+
f(t.$slots, "hint", $(S({
|
|
1172
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1173
|
+
isVisible: be.value
|
|
1174
|
+
})), void 0, !0)
|
|
1074
1175
|
])) : b("", !0)
|
|
1075
1176
|
]),
|
|
1076
1177
|
t.$slots.watermark ? (r(), c("div", Za, [
|
|
1077
|
-
f(t.$slots, "watermark", $(S({
|
|
1178
|
+
f(t.$slots, "watermark", $(S({
|
|
1179
|
+
isPrinting: d(we) || d(Le) || ne.value || se.value
|
|
1180
|
+
})), void 0, !0)
|
|
1078
1181
|
])) : b("", !0),
|
|
1079
1182
|
le.value && e.value.userOptions.buttons.table ? (r(), U(oa(J.value.component), Ae({ key: 6 }, J.value.props, {
|
|
1080
1183
|
ref_key: "tableUnit",
|
|
@@ -1082,7 +1185,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
1082
1185
|
onClose: Ze
|
|
1083
1186
|
}), ot({
|
|
1084
1187
|
content: g(() => [
|
|
1085
|
-
Se(
|
|
1188
|
+
Se(d(gt), {
|
|
1086
1189
|
colNames: Q.value.colNames,
|
|
1087
1190
|
head: Q.value.head,
|
|
1088
1191
|
body: Q.value.body,
|
|
@@ -1119,7 +1222,7 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
1119
1222
|
onClick: l[1] || (l[1] = (a) => $e(e.value.userOptions.callbacks.csv)),
|
|
1120
1223
|
style: x({ cursor: Y.value ? "pointer" : "default" })
|
|
1121
1224
|
}, [
|
|
1122
|
-
Se(
|
|
1225
|
+
Se(d(pt), {
|
|
1123
1226
|
name: "fileCsv",
|
|
1124
1227
|
stroke: J.value.props.color
|
|
1125
1228
|
}, null, 8, ["stroke"])
|
|
@@ -1137,11 +1240,11 @@ const Oa = ["id"], Ra = ["id"], _a = { style: { position: "relative" } }, Da = [
|
|
|
1137
1240
|
f(t.$slots, "source", {}, void 0, !0)
|
|
1138
1241
|
], 512)) : b("", !0),
|
|
1139
1242
|
f(t.$slots, "skeleton", {}, () => [
|
|
1140
|
-
|
|
1243
|
+
d(ue) ? (r(), U(ka, { key: 0 })) : b("", !0)
|
|
1141
1244
|
], !0)
|
|
1142
1245
|
], 46, Oa));
|
|
1143
1246
|
}
|
|
1144
|
-
}, gl = /* @__PURE__ */ za(Qa, [["__scopeId", "data-v-
|
|
1247
|
+
}, gl = /* @__PURE__ */ za(Qa, [["__scopeId", "data-v-805819e2"]]);
|
|
1145
1248
|
export {
|
|
1146
1249
|
gl as default
|
|
1147
1250
|
};
|