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,22 +1,22 @@
|
|
|
1
1
|
import { watchEffect as pt, nextTick as xe, useCssVars as Ul, defineAsyncComponent as be, computed as f, ref as v, shallowRef as Gl, toRefs as Wl, watch as Be, onBeforeUnmount as qt, onMounted as Kl, reactive as jt, openBlock as u, createElementBlock as i, normalizeStyle as L, normalizeClass as Me, createElementVNode as p, toDisplayString as I, createBlock as me, createCommentVNode as g, unref as n, withCtx as k, renderSlot as b, normalizeProps as N, guardReactiveProps as F, createSlots as Jt, createVNode as Ue, Fragment as O, renderList as U, withDirectives as Qt, createTextVNode as dt, vShow as Yl, resolveDynamicComponent as ql, mergeProps as jl, withKeys as Jl } from "vue";
|
|
2
|
-
import { j as yt, t as Zt, o as el, q as tl, ao as Ne, r as Ql, l as q, X as Zl, W as Ge, k as le, K as ae,
|
|
2
|
+
import { j as yt, t as Zt, o as el, q as tl, ao as Ne, r as Ql, l as q, X as Zl, W as Ge, k as le, K as ae, aA as ea, a0 as ta, a1 as la, T as aa, U as oa } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as We, u as sa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ua } from "./useConfig-
|
|
5
|
-
import { u as na } from "./usePrinter-
|
|
6
|
-
import { u as ia, B as ra } from "./BaseScanner-
|
|
7
|
-
import { u as va } from "./useSvgExport-
|
|
8
|
-
import { u as ht } from "./useNestedProp-
|
|
9
|
-
import { u as ll } from "./useTimeLabels-
|
|
10
|
-
import { u as ca } from "./useThemeCheck-
|
|
11
|
-
import { u as da } from "./useTableResponsive-
|
|
12
|
-
import { u as ya } from "./useUserOptionState-
|
|
13
|
-
import { u as al } from "./useTimeLabelCollider-
|
|
14
|
-
import { u as ha } from "./useChartAccessibility-
|
|
15
|
-
import fa from "./img-
|
|
16
|
-
import pa from "./Title-
|
|
4
|
+
import { u as ua } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as na } from "./usePrinter-C4t8DdQ-.js";
|
|
6
|
+
import { u as ia, B as ra } from "./BaseScanner-BON3d_Sx.js";
|
|
7
|
+
import { u as va } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as ht } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as ll } from "./useTimeLabels-Cv0tD9In.js";
|
|
10
|
+
import { u as ca } from "./useThemeCheck-C9Ccl7U9.js";
|
|
11
|
+
import { u as da } from "./useTableResponsive-BpfiEtzR.js";
|
|
12
|
+
import { u as ya } from "./useUserOptionState-B7Ej974k.js";
|
|
13
|
+
import { u as al } from "./useTimeLabelCollider-D3JeJ6Ye.js";
|
|
14
|
+
import { u as ha } from "./useChartAccessibility-cp6XQtqi.js";
|
|
15
|
+
import fa from "./img-CjTQXS0U.js";
|
|
16
|
+
import pa from "./Title-BbKoiBk2.js";
|
|
17
17
|
import ga from "./vue_ui_heatmap-C9u993qE.js";
|
|
18
|
-
import ba from "./vue-ui-accordion-
|
|
19
|
-
import { A as ma } from "./A11yDataTable-
|
|
18
|
+
import ba from "./vue-ui-accordion-BHmfmb_6.js";
|
|
19
|
+
import { A as ma } from "./A11yDataTable-BpmuNomI.js";
|
|
20
20
|
import { _ as xa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
21
21
|
function ft({
|
|
22
22
|
elementRef: h,
|
|
@@ -45,51 +45,56 @@ function ft({
|
|
|
45
45
|
}
|
|
46
46
|
typeof S == "number" && !Number.isNaN(S) && G(S);
|
|
47
47
|
};
|
|
48
|
-
pt(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
await document.fonts.ready;
|
|
64
|
-
} catch {
|
|
48
|
+
pt(
|
|
49
|
+
(z) => {
|
|
50
|
+
const S = h.value;
|
|
51
|
+
if (!S) return;
|
|
52
|
+
let P = !1;
|
|
53
|
+
(async () => {
|
|
54
|
+
await xe();
|
|
55
|
+
for (let T = 0; T < se; T += 1) {
|
|
56
|
+
if (P) return;
|
|
57
|
+
await new Promise(
|
|
58
|
+
(K) => requestAnimationFrame(K)
|
|
59
|
+
);
|
|
60
|
+
const X = h.value;
|
|
61
|
+
if (!X) return;
|
|
62
|
+
W(X);
|
|
65
63
|
}
|
|
66
|
-
|
|
64
|
+
if (R && typeof document < "u" && document.fonts && document.fonts.ready) {
|
|
65
|
+
try {
|
|
66
|
+
await document.fonts.ready;
|
|
67
|
+
} catch {
|
|
68
|
+
}
|
|
69
|
+
!P && h.value && W(h.value);
|
|
70
|
+
}
|
|
71
|
+
})();
|
|
72
|
+
const ue = new MutationObserver(() => {
|
|
73
|
+
h.value && requestAnimationFrame(() => {
|
|
74
|
+
h.value && W(h.value);
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
ue.observe(S, {
|
|
78
|
+
childList: !0,
|
|
79
|
+
subtree: !0,
|
|
80
|
+
characterData: !0,
|
|
81
|
+
attributes: !0,
|
|
82
|
+
attributeFilter: ["transform", "style", "class"]
|
|
83
|
+
});
|
|
84
|
+
let A;
|
|
85
|
+
if (typeof ResizeObserver < "u") {
|
|
86
|
+
const T = S.ownerSVGElement ? S.ownerSVGElement : S;
|
|
87
|
+
A = new ResizeObserver(() => {
|
|
88
|
+
const X = h.value;
|
|
89
|
+
X && W(X);
|
|
90
|
+
}), A.observe(T);
|
|
67
91
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
h.value && requestAnimationFrame(() => {
|
|
71
|
-
h.value && W(h.value);
|
|
92
|
+
z(() => {
|
|
93
|
+
P = !0, ue.disconnect(), A && A.disconnect();
|
|
72
94
|
});
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
subtree: !0,
|
|
77
|
-
characterData: !0,
|
|
78
|
-
attributes: !0,
|
|
79
|
-
attributeFilter: ["transform", "style", "class"]
|
|
80
|
-
});
|
|
81
|
-
let A;
|
|
82
|
-
if (typeof ResizeObserver < "u") {
|
|
83
|
-
const T = S.ownerSVGElement ? S.ownerSVGElement : S;
|
|
84
|
-
A = new ResizeObserver(() => {
|
|
85
|
-
const X = h.value;
|
|
86
|
-
X && W(X);
|
|
87
|
-
}), A.observe(T);
|
|
88
|
-
}
|
|
89
|
-
z(() => {
|
|
90
|
-
P = !0, ue.disconnect(), A && A.disconnect();
|
|
91
|
-
});
|
|
92
|
-
}, { flush: "post" });
|
|
95
|
+
},
|
|
96
|
+
{ flush: "post" }
|
|
97
|
+
);
|
|
93
98
|
}
|
|
94
99
|
const wa = {
|
|
95
100
|
mounted(h, G) {
|
|
@@ -161,16 +166,26 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
161
166
|
emits: ["selectDatapoint", "copyAlt"],
|
|
162
167
|
setup(h, { expose: G, emit: oe }) {
|
|
163
168
|
Ul((t) => ({
|
|
164
|
-
|
|
169
|
+
v59e69720: t.tdo
|
|
165
170
|
}));
|
|
166
|
-
const J = be(() => import("./Tooltip-
|
|
171
|
+
const J = be(() => import("./Tooltip-Cvt7Fi0Q.js")), se = be(() => import("./BaseIcon-DX0hTWa-.js")), R = be(
|
|
172
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
173
|
+
), W = be(
|
|
174
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
175
|
+
), z = be(
|
|
176
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
177
|
+
), S = be(
|
|
178
|
+
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
179
|
+
), { vue_ui_heatmap: P } = ua(), { isThemeValid: fe, warnInvalidTheme: ue } = ca(), A = h, T = oe, X = f({
|
|
167
180
|
get() {
|
|
168
181
|
return !!A.dataset && A.dataset.length;
|
|
169
182
|
},
|
|
170
183
|
set(t) {
|
|
171
184
|
return t;
|
|
172
185
|
}
|
|
173
|
-
}), K = v(yt()), M = v(null), ne = v(!1), Ke = v(""), we = v(void 0), D = v(null), gt = v(0), bt = v(null), mt = v(0), sl = v(null), ke = v(null), Ye = v(null), Fe = v(!1), Re = v(!1), xt = v(null), wt = v(null), ul = v(null), kt = v(null), nl = v(null), qe = v(null), je = v(null), il = v(null), Ct = v(null), pe = Gl(null), ie = v(null), Pe = v(null), At = v({ x: 0, y: 0 }), Je = v("pointer"), De = v(!1), e = v(et()), He = f(
|
|
186
|
+
}), K = v(yt()), M = v(null), ne = v(!1), Ke = v(""), we = v(void 0), D = v(null), gt = v(0), bt = v(null), mt = v(0), sl = v(null), ke = v(null), Ye = v(null), Fe = v(!1), Re = v(!1), xt = v(null), wt = v(null), ul = v(null), kt = v(null), nl = v(null), qe = v(null), je = v(null), il = v(null), Ct = v(null), pe = Gl(null), ie = v(null), Pe = v(null), At = v({ x: 0, y: 0 }), Je = v("pointer"), De = v(!1), e = v(et()), He = f(
|
|
187
|
+
() => e.value.userOptions.useCursorPointer
|
|
188
|
+
);
|
|
174
189
|
function rl() {
|
|
175
190
|
const t = Array(7).fill("_"), o = [], l = 14, s = t.length;
|
|
176
191
|
for (let r = 0; r < s; r += 1) {
|
|
@@ -222,7 +237,9 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
222
237
|
defaultConfig: e.value,
|
|
223
238
|
userConfig: vl.value
|
|
224
239
|
})
|
|
225
|
-
}), { userOptionsVisible: Ze, setUserOptionsVisibility: cl, keepUserOptionState: Lt } = ya({ config: e.value }), { svgRef: re } = ha({
|
|
240
|
+
}), { userOptionsVisible: Ze, setUserOptionsVisibility: cl, keepUserOptionState: Lt } = ya({ config: e.value }), { svgRef: re } = ha({
|
|
241
|
+
config: e.value.style.title
|
|
242
|
+
});
|
|
226
243
|
function St(t) {
|
|
227
244
|
cl(t);
|
|
228
245
|
}
|
|
@@ -252,11 +269,19 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
252
269
|
o = t;
|
|
253
270
|
return o;
|
|
254
271
|
}
|
|
255
|
-
Be(
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
272
|
+
Be(
|
|
273
|
+
() => A.config,
|
|
274
|
+
(t) => {
|
|
275
|
+
Ee.value || (e.value = et()), Ze.value = !e.value.userOptions.showOnChartHover, at(), mt.value += 1, H.value.showTable = e.value.table.show, H.value.showTooltip = e.value.style.tooltip.show, Ce.value = e.value.style.layout.width, Ae.value = e.value.style.layout.height;
|
|
276
|
+
},
|
|
277
|
+
{ deep: !0 }
|
|
278
|
+
), Be(
|
|
279
|
+
() => A.dataset,
|
|
280
|
+
(t) => {
|
|
281
|
+
Array.isArray(t) && t.length > 0 && (Qe.value = !1), at();
|
|
282
|
+
},
|
|
283
|
+
{ deep: !0 }
|
|
284
|
+
);
|
|
260
285
|
const { isPrinting: tt, isImaging: lt, generatePdf: Tt, generateImage: $t } = na({
|
|
261
286
|
elementId: `heatmap__${K.value}`,
|
|
262
287
|
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
@@ -265,12 +290,16 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
265
290
|
showTable: e.value.table.show,
|
|
266
291
|
showTooltip: e.value.style.tooltip.show
|
|
267
292
|
});
|
|
268
|
-
Be(
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
293
|
+
Be(
|
|
294
|
+
e,
|
|
295
|
+
() => {
|
|
296
|
+
H.value = {
|
|
297
|
+
showTable: e.value.table.show,
|
|
298
|
+
showTooltip: e.value.style.tooltip.show
|
|
299
|
+
};
|
|
300
|
+
},
|
|
301
|
+
{ immediate: !0 }
|
|
302
|
+
);
|
|
274
303
|
const yl = f(() => e.value.table.responsiveBreakpoint), Q = v(null), zt = f(() => !!e.value.debug);
|
|
275
304
|
function at() {
|
|
276
305
|
if (el(A.dataset) && (tl({
|
|
@@ -299,21 +328,35 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
299
328
|
}), Kl(() => {
|
|
300
329
|
at();
|
|
301
330
|
});
|
|
302
|
-
const Y = f(() => Math.max(
|
|
331
|
+
const Y = f(() => Math.max(
|
|
332
|
+
...C.value.flatMap((t) => (t.values || []).length)
|
|
333
|
+
)), Ce = v(e.value.style.layout.width), Ae = v(e.value.style.layout.height), E = f(() => ({
|
|
303
334
|
width: Math.max(10, Ce.value),
|
|
304
335
|
height: Math.max(10, Ae.value)
|
|
305
336
|
})), ge = v(0), hl = We((t) => {
|
|
306
337
|
t !== ge.value && (ge.value = t);
|
|
307
338
|
}, 100);
|
|
308
|
-
ft({
|
|
339
|
+
ft({
|
|
340
|
+
elementRef: qe,
|
|
341
|
+
callback: hl,
|
|
342
|
+
attr: "height"
|
|
343
|
+
});
|
|
309
344
|
const ve = v(0), fl = We((t) => {
|
|
310
345
|
t !== ve.value && (ve.value = t);
|
|
311
346
|
}, 100);
|
|
312
|
-
ft({
|
|
347
|
+
ft({
|
|
348
|
+
elementRef: kt,
|
|
349
|
+
callback: fl,
|
|
350
|
+
attr: "width"
|
|
351
|
+
});
|
|
313
352
|
const Le = v(0), pl = We((t) => {
|
|
314
353
|
t !== Le.value && (Le.value = t);
|
|
315
354
|
}, 100);
|
|
316
|
-
ft({
|
|
355
|
+
ft({
|
|
356
|
+
elementRef: je,
|
|
357
|
+
callback: pl,
|
|
358
|
+
attr: "height"
|
|
359
|
+
}), qt(() => {
|
|
317
360
|
ge.value = 0, ve.value = 0, Le.value = 0;
|
|
318
361
|
});
|
|
319
362
|
const d = f(() => Math.min(E.value.height, E.value.width) / 1e3 * e.value.style.layout.cells.spacing), a = f(() => {
|
|
@@ -370,9 +413,13 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
370
413
|
})();
|
|
371
414
|
});
|
|
372
415
|
const x = f(() => {
|
|
373
|
-
const t = _t.value.map((y) => y.text), o = It.value.map((y) => y.text), l = C.value.map(
|
|
416
|
+
const t = _t.value.map((y) => y.text), o = It.value.map((y) => y.text), l = C.value.map(
|
|
417
|
+
(y) => y.values.reduce((w, B) => w + B, 0)
|
|
418
|
+
), s = Math.max(...l), r = Math.min(...l), c = [];
|
|
374
419
|
for (let y = 0; y < Y.value; y += 1)
|
|
375
|
-
c.push(
|
|
420
|
+
c.push(
|
|
421
|
+
C.value.map((w) => w.values[y] || 0).reduce((w, B) => w + B, 0)
|
|
422
|
+
);
|
|
376
423
|
const m = Math.max(...c), _ = Math.min(...c);
|
|
377
424
|
return {
|
|
378
425
|
yTotals: l.map((y) => {
|
|
@@ -380,7 +427,13 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
380
427
|
return {
|
|
381
428
|
total: y,
|
|
382
429
|
proportion: w,
|
|
383
|
-
color: Ne(
|
|
430
|
+
color: Ne(
|
|
431
|
+
e.value.style.layout.cells.colors.cold,
|
|
432
|
+
e.value.style.layout.cells.colors.hot,
|
|
433
|
+
r,
|
|
434
|
+
s,
|
|
435
|
+
y
|
|
436
|
+
)
|
|
384
437
|
};
|
|
385
438
|
}),
|
|
386
439
|
xTotals: c.map((y) => {
|
|
@@ -388,7 +441,13 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
388
441
|
return {
|
|
389
442
|
total: y,
|
|
390
443
|
proportion: w,
|
|
391
|
-
color: Ne(
|
|
444
|
+
color: Ne(
|
|
445
|
+
e.value.style.layout.cells.colors.cold,
|
|
446
|
+
e.value.style.layout.cells.colors.hot,
|
|
447
|
+
_,
|
|
448
|
+
m,
|
|
449
|
+
y
|
|
450
|
+
)
|
|
392
451
|
};
|
|
393
452
|
}),
|
|
394
453
|
yLabels: t,
|
|
@@ -411,16 +470,38 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
411
470
|
...t,
|
|
412
471
|
temperatures: (t.values || []).map((l, s) => l >= ce.value ? {
|
|
413
472
|
side: "up",
|
|
414
|
-
color: Ne(
|
|
415
|
-
|
|
473
|
+
color: Ne(
|
|
474
|
+
e.value.style.layout.cells.colors.cold,
|
|
475
|
+
e.value.style.layout.cells.colors.hot,
|
|
476
|
+
Se.value,
|
|
477
|
+
Z.value,
|
|
478
|
+
l
|
|
479
|
+
),
|
|
480
|
+
ratio: Math.abs(
|
|
481
|
+
Math.abs(l - ce.value) / Math.abs(Z.value - ce.value)
|
|
482
|
+
) > 1 ? 1 : Math.abs(
|
|
483
|
+
Math.abs(l - ce.value) / Math.abs(
|
|
484
|
+
Z.value - ce.value
|
|
485
|
+
)
|
|
486
|
+
),
|
|
416
487
|
value: l,
|
|
417
488
|
yAxisName: x.value.yLabels[o],
|
|
418
489
|
xAxisName: x.value.xLabels[s],
|
|
419
490
|
id: `vue-data-ui-heatmap-cell-${yt()}`
|
|
420
491
|
} : {
|
|
421
492
|
side: "down",
|
|
422
|
-
ratio: Math.abs(
|
|
423
|
-
|
|
493
|
+
ratio: Math.abs(
|
|
494
|
+
1 - Math.abs(l) / Math.abs(ce.value)
|
|
495
|
+
) > 1 ? 1 : Math.abs(
|
|
496
|
+
1 - Math.abs(l) / Math.abs(ce.value)
|
|
497
|
+
),
|
|
498
|
+
color: Ne(
|
|
499
|
+
e.value.style.layout.cells.colors.cold,
|
|
500
|
+
e.value.style.layout.cells.colors.hot,
|
|
501
|
+
Se.value,
|
|
502
|
+
Z.value,
|
|
503
|
+
l
|
|
504
|
+
),
|
|
424
505
|
value: l,
|
|
425
506
|
yAxisName: x.value.yLabels[o],
|
|
426
507
|
xAxisName: x.value.xLabels[s],
|
|
@@ -460,12 +541,14 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
460
541
|
}, ne.value = !0;
|
|
461
542
|
let B = "";
|
|
462
543
|
const he = e.value.style.tooltip.customFormat;
|
|
463
|
-
aa(he) && oa(
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
544
|
+
aa(he) && oa(
|
|
545
|
+
() => he({
|
|
546
|
+
datapoint: t,
|
|
547
|
+
seriesIndex: o,
|
|
548
|
+
series: $.value,
|
|
549
|
+
config: e.value
|
|
550
|
+
})
|
|
551
|
+
) ? Ke.value = he({
|
|
469
552
|
datapoint: t,
|
|
470
553
|
seriesIndex: o,
|
|
471
554
|
series: $.value,
|
|
@@ -521,15 +604,25 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
521
604
|
});
|
|
522
605
|
function st(t = null) {
|
|
523
606
|
xe(() => {
|
|
524
|
-
const o = [
|
|
607
|
+
const o = [
|
|
608
|
+
"",
|
|
609
|
+
...C.value.map((c, m) => c.name)
|
|
610
|
+
], l = [];
|
|
525
611
|
for (let c = 0; c < x.value.xLabels.length; c += 1) {
|
|
526
612
|
const m = [x.value.xLabels[c]];
|
|
527
613
|
for (let _ = 0; _ < C.value.length; _ += 1)
|
|
528
614
|
m.push([C.value[_].values[c]]);
|
|
529
615
|
l.push(m);
|
|
530
616
|
}
|
|
531
|
-
const s = [
|
|
532
|
-
|
|
617
|
+
const s = [
|
|
618
|
+
[e.value.style.title.text],
|
|
619
|
+
[e.value.style.title.subtitle.text],
|
|
620
|
+
[[""], [""], [""]]
|
|
621
|
+
].concat([o]).concat(l), r = ta(s);
|
|
622
|
+
t ? t(r) : la({
|
|
623
|
+
csvContent: r,
|
|
624
|
+
title: e.value.style.title.text || "vue-ui-heatmap"
|
|
625
|
+
});
|
|
533
626
|
});
|
|
534
627
|
}
|
|
535
628
|
const de = v(!1);
|
|
@@ -554,7 +647,12 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
554
647
|
}
|
|
555
648
|
async function Sl({ scale: t = 2 } = {}) {
|
|
556
649
|
if (!M.value) return;
|
|
557
|
-
const { width: o, height: l } = M.value.getBoundingClientRect(), s = o / l, { imageUri: r, base64: c } = await fa({
|
|
650
|
+
const { width: o, height: l } = M.value.getBoundingClientRect(), s = o / l, { imageUri: r, base64: c } = await fa({
|
|
651
|
+
domElement: M.value,
|
|
652
|
+
base64: !0,
|
|
653
|
+
img: !0,
|
|
654
|
+
scale: t
|
|
655
|
+
});
|
|
558
656
|
return {
|
|
559
657
|
imageUri: r,
|
|
560
658
|
base64: c,
|
|
@@ -574,7 +672,14 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
574
672
|
slicer: Vt,
|
|
575
673
|
configRef: e,
|
|
576
674
|
rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
|
|
577
|
-
autoRotatePath: [
|
|
675
|
+
autoRotatePath: [
|
|
676
|
+
"style",
|
|
677
|
+
"layout",
|
|
678
|
+
"dataLabels",
|
|
679
|
+
"xAxis",
|
|
680
|
+
"autoRotate",
|
|
681
|
+
"enable"
|
|
682
|
+
],
|
|
578
683
|
isAutoSize: !1,
|
|
579
684
|
targetClass: ".vue-ui-heatmap-col-name",
|
|
580
685
|
rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle,
|
|
@@ -585,8 +690,23 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
585
690
|
timeLabels: Xt,
|
|
586
691
|
slicer: Vt,
|
|
587
692
|
configRef: e,
|
|
588
|
-
rotationPath: [
|
|
589
|
-
|
|
693
|
+
rotationPath: [
|
|
694
|
+
"style",
|
|
695
|
+
"layout",
|
|
696
|
+
"cells",
|
|
697
|
+
"columnTotal",
|
|
698
|
+
"value",
|
|
699
|
+
"rotation"
|
|
700
|
+
],
|
|
701
|
+
autoRotatePath: [
|
|
702
|
+
"style",
|
|
703
|
+
"layout",
|
|
704
|
+
"cells",
|
|
705
|
+
"columnTotal",
|
|
706
|
+
"value",
|
|
707
|
+
"autoRotate",
|
|
708
|
+
"enable"
|
|
709
|
+
],
|
|
590
710
|
isAutoSize: !1,
|
|
591
711
|
targetClass: ".vue-ui-heatmap-col-total",
|
|
592
712
|
rotation: e.value.style.layout.cells.columnTotal.value.autoRotate.angle,
|
|
@@ -624,10 +744,16 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
624
744
|
}
|
|
625
745
|
};
|
|
626
746
|
});
|
|
627
|
-
Be(
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
747
|
+
Be(
|
|
748
|
+
() => H.value.showTable,
|
|
749
|
+
async (t) => {
|
|
750
|
+
e.value.table.show || (t && e.value.table.useDialog && ke.value ? (await xe(), ke.value.open()) : "close" in ke.value && ke.value.close());
|
|
751
|
+
}
|
|
752
|
+
);
|
|
753
|
+
const { isResponsive: Tl } = da(
|
|
754
|
+
bt,
|
|
755
|
+
yl
|
|
756
|
+
);
|
|
631
757
|
function nt() {
|
|
632
758
|
H.value.showTable = !1, Ye.value && Ye.value.setTableIconState(!1);
|
|
633
759
|
}
|
|
@@ -641,7 +767,14 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
641
767
|
try {
|
|
642
768
|
if (t) {
|
|
643
769
|
const { blob: o, url: l, text: s, dataUrl: r } = await Il();
|
|
644
|
-
await Promise.resolve(
|
|
770
|
+
await Promise.resolve(
|
|
771
|
+
e.value.userOptions.callbacks.svg({
|
|
772
|
+
blob: o,
|
|
773
|
+
url: l,
|
|
774
|
+
text: s,
|
|
775
|
+
dataUrl: r
|
|
776
|
+
})
|
|
777
|
+
);
|
|
645
778
|
} else
|
|
646
779
|
await Promise.resolve(_l());
|
|
647
780
|
} finally {
|
|
@@ -664,13 +797,17 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
664
797
|
config: e.value,
|
|
665
798
|
dataset: $.value
|
|
666
799
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
667
|
-
console.warn(
|
|
800
|
+
console.warn(
|
|
801
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
802
|
+
);
|
|
668
803
|
return;
|
|
669
804
|
}
|
|
670
|
-
await Promise.resolve(
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
805
|
+
await Promise.resolve(
|
|
806
|
+
e.value.userOptions.callbacks.altCopy({
|
|
807
|
+
config: e.value,
|
|
808
|
+
dataset: $.value
|
|
809
|
+
})
|
|
810
|
+
);
|
|
674
811
|
}
|
|
675
812
|
function Gt(t, o) {
|
|
676
813
|
const l = $.value[t];
|
|
@@ -697,7 +834,8 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
697
834
|
function Fl(t) {
|
|
698
835
|
if (!re.value || $e.value || document.activeElement !== re.value || !ye.value.length) return;
|
|
699
836
|
const o = t.key === "ArrowLeft", l = t.key === "ArrowRight", s = t.key === "ArrowUp", r = t.key === "ArrowDown", c = t.key === "Enter" || t.key === " ", m = t.key === "Escape";
|
|
700
|
-
if (!o && !l && !s && !r && !c && !m)
|
|
837
|
+
if (!o && !l && !s && !r && !c && !m)
|
|
838
|
+
return;
|
|
701
839
|
if (t.preventDefault(), t.stopPropagation(), m) {
|
|
702
840
|
ot();
|
|
703
841
|
return;
|
|
@@ -711,7 +849,9 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
711
849
|
}
|
|
712
850
|
let _ = ie.value === null ? null : ye.value[ie.value];
|
|
713
851
|
if (!_) {
|
|
714
|
-
const ee = we.value ? ye.value.findIndex(
|
|
852
|
+
const ee = we.value ? ye.value.findIndex(
|
|
853
|
+
(Ie) => Ie.cell.id === we.value
|
|
854
|
+
) : null;
|
|
715
855
|
if (ee !== null && ee >= 0 && ee < ye.value.length) {
|
|
716
856
|
const Ie = ye.value[ee];
|
|
717
857
|
if (!Ie) return;
|
|
@@ -726,8 +866,18 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
726
866
|
te < 0 && (te = Yt - 1), te >= Yt && (te = 0);
|
|
727
867
|
const Oe = Gt(j, te);
|
|
728
868
|
if (!Oe) return;
|
|
729
|
-
const Vl = it(
|
|
730
|
-
|
|
869
|
+
const Vl = it(
|
|
870
|
+
j,
|
|
871
|
+
te
|
|
872
|
+
), Xl = a.value.left + a.value.cellSize.width * Oe.columnIndex, Bl = a.value.top + a.value.cellSize.height * Oe.rowIndex;
|
|
873
|
+
Ve(
|
|
874
|
+
Oe.cell,
|
|
875
|
+
Oe.rowIndex,
|
|
876
|
+
Xl,
|
|
877
|
+
Bl,
|
|
878
|
+
"keyboard",
|
|
879
|
+
Vl
|
|
880
|
+
);
|
|
731
881
|
return;
|
|
732
882
|
}
|
|
733
883
|
const _e = ye.value[0];
|
|
@@ -747,8 +897,18 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
747
897
|
w < 0 && (w = Kt - 1), w >= Kt && (w = 0);
|
|
748
898
|
const ze = Gt(y, w);
|
|
749
899
|
if (!ze) return;
|
|
750
|
-
const Rl = it(
|
|
751
|
-
|
|
900
|
+
const Rl = it(
|
|
901
|
+
y,
|
|
902
|
+
w
|
|
903
|
+
), Pl = a.value.left + a.value.cellSize.width * ze.columnIndex, Dl = a.value.top + a.value.cellSize.height * ze.rowIndex;
|
|
904
|
+
Ve(
|
|
905
|
+
ze.cell,
|
|
906
|
+
ze.rowIndex,
|
|
907
|
+
Pl,
|
|
908
|
+
Dl,
|
|
909
|
+
"keyboard",
|
|
910
|
+
Rl
|
|
911
|
+
);
|
|
752
912
|
}
|
|
753
913
|
const rt = f(() => {
|
|
754
914
|
const t = [
|
|
@@ -997,7 +1157,10 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
997
1157
|
ref: re,
|
|
998
1158
|
xmlns: n(Zl),
|
|
999
1159
|
"aria-describedby": `chart-instructions-${K.value}`,
|
|
1000
|
-
class: Me({
|
|
1160
|
+
class: Me({
|
|
1161
|
+
"vue-data-ui-fullscreen--on": de.value,
|
|
1162
|
+
"vue-data-ui-fulscreen--off": !de.value
|
|
1163
|
+
}),
|
|
1001
1164
|
viewBox: `0 0 ${E.value.width} ${E.value.height}`,
|
|
1002
1165
|
width: "100%",
|
|
1003
1166
|
style: L(`overflow: visible; background:transparent;color:${e.value.style.color}`),
|
|
@@ -1079,7 +1242,10 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
1079
1242
|
"pointer",
|
|
1080
1243
|
it(s, c)
|
|
1081
1244
|
),
|
|
1082
|
-
onMouseout: () => kl({
|
|
1245
|
+
onMouseout: () => kl({
|
|
1246
|
+
datapoint: r,
|
|
1247
|
+
seriesIndex: s
|
|
1248
|
+
}),
|
|
1083
1249
|
onClick: () => Et(r, s)
|
|
1084
1250
|
}, null, 40, za),
|
|
1085
1251
|
e.value.style.layout.cells.value.show ? Qt((u(), i("text", {
|
|
@@ -1090,7 +1256,10 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
1090
1256
|
fill: n(Ge)(r.color),
|
|
1091
1257
|
x: a.value.left + a.value.cellSize.width * c + a.value.cellSize.width / 2 + a.value.sumCellXHeight,
|
|
1092
1258
|
y: a.value.top + a.value.cellSize.height * s + a.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
|
|
1093
|
-
style: {
|
|
1259
|
+
style: {
|
|
1260
|
+
pointerEvents: "none",
|
|
1261
|
+
userSelect: "none"
|
|
1262
|
+
}
|
|
1094
1263
|
}, [
|
|
1095
1264
|
dt(I(n(le)(
|
|
1096
1265
|
e.value.style.layout.cells.value.formatter,
|
|
@@ -1295,12 +1464,20 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
1295
1464
|
position: "absolute",
|
|
1296
1465
|
width: "100%",
|
|
1297
1466
|
height: "2px",
|
|
1298
|
-
background: [void 0, null].includes(
|
|
1467
|
+
background: [void 0, null].includes(
|
|
1468
|
+
V.value
|
|
1469
|
+
) ? "transparent" : n(Ge)(
|
|
1470
|
+
Te.value.datapoint.color
|
|
1471
|
+
),
|
|
1299
1472
|
top: `${[void 0, null].includes(V.value) ? 0 : (1 - V.value / Z.value) * 100}%`,
|
|
1300
1473
|
transition: "all 0.2s ease-in-out",
|
|
1301
1474
|
"--background-color": e.value.style.backgroundColor,
|
|
1302
|
-
"--gauge-arrow-color": n(Ge)(
|
|
1303
|
-
|
|
1475
|
+
"--gauge-arrow-color": n(Ge)(
|
|
1476
|
+
e.value.style.backgroundColor
|
|
1477
|
+
),
|
|
1478
|
+
"--gauge-arrow-text-color": n(Ge)(
|
|
1479
|
+
e.value.style.backgroundColor
|
|
1480
|
+
),
|
|
1304
1481
|
"--gauge-arrow-value": V.value,
|
|
1305
1482
|
"--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
|
|
1306
1483
|
})
|
|
@@ -1339,11 +1516,16 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
1339
1516
|
)), 5))
|
|
1340
1517
|
], 4)) : g("", !0),
|
|
1341
1518
|
t.$slots.hint ? (u(), i("div", Ga, [
|
|
1342
|
-
b(t.$slots, "hint", N(F({
|
|
1519
|
+
b(t.$slots, "hint", N(F({
|
|
1520
|
+
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1521
|
+
isVisible: De.value
|
|
1522
|
+
})), void 0, !0)
|
|
1343
1523
|
])) : g("", !0)
|
|
1344
1524
|
], 2),
|
|
1345
1525
|
t.$slots.watermark ? (u(), i("div", Wa, [
|
|
1346
|
-
b(t.$slots, "watermark", N(F({
|
|
1526
|
+
b(t.$slots, "watermark", N(F({
|
|
1527
|
+
isPrinting: n(tt) || n(lt) || Fe.value || Re.value
|
|
1528
|
+
})), void 0, !0)
|
|
1347
1529
|
])) : g("", !0),
|
|
1348
1530
|
t.$slots.source ? (u(), i("div", {
|
|
1349
1531
|
key: 6,
|
|
@@ -1442,7 +1624,11 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
1442
1624
|
p("tbody", null, [
|
|
1443
1625
|
(u(!0), i(O, null, U(x.value.xLabels, (l, s) => (u(), i("tr", {
|
|
1444
1626
|
role: "row",
|
|
1445
|
-
class: Me({
|
|
1627
|
+
class: Me({
|
|
1628
|
+
"vue-ui-data-table__tbody__row": !0,
|
|
1629
|
+
"vue-ui-data-table__tbody__row-even": s % 2 === 0,
|
|
1630
|
+
"vue-ui-data-table__tbody__row-odd": s % 2 !== 0
|
|
1631
|
+
}),
|
|
1446
1632
|
style: L(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1447
1633
|
}, [
|
|
1448
1634
|
p("td", {
|
|
@@ -1457,7 +1643,12 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
1457
1643
|
"data-cell": h.dataset[c].name,
|
|
1458
1644
|
style: L(`outline:${e.value.table.td.outline}`)
|
|
1459
1645
|
}, [
|
|
1460
|
-
p("div", Qa, I(isNaN(r.values[s]) ? "-" : n(q)({
|
|
1646
|
+
p("div", Qa, I(isNaN(r.values[s]) ? "-" : n(q)({
|
|
1647
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
1648
|
+
v: r.values[s],
|
|
1649
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
1650
|
+
r: e.value.table.td.roundingValue
|
|
1651
|
+
})), 1)
|
|
1461
1652
|
], 12, Ja))), 256))
|
|
1462
1653
|
], 6))), 256))
|
|
1463
1654
|
])
|
|
@@ -1497,7 +1688,7 @@ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], L
|
|
|
1497
1688
|
], !0)
|
|
1498
1689
|
], 46, ka));
|
|
1499
1690
|
}
|
|
1500
|
-
}, ko = /* @__PURE__ */ xa(Za, [["__scopeId", "data-v-
|
|
1691
|
+
}, ko = /* @__PURE__ */ xa(Za, [["__scopeId", "data-v-314a9c37"]]);
|
|
1501
1692
|
export {
|
|
1502
1693
|
ko as default
|
|
1503
1694
|
};
|