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,12 +1,12 @@
|
|
|
1
1
|
import { useCssVars as ne, defineAsyncComponent as se, ref as h, useSlots as le, onMounted as E, computed as v, watch as re, openBlock as s, createElementBlock as r, unref as i, normalizeClass as G, normalizeStyle as C, createBlock as ue, createSlots as ie, withCtx as g, renderSlot as u, normalizeProps as B, guardReactiveProps as A, createCommentVNode as f, createElementVNode as b, Fragment as k, renderList as w, mergeProps as m, createVNode as de, nextTick as pe } from "vue";
|
|
2
|
-
import { j as H, o as ce, q as ve, ap as fe, W as me, ao as he, a0 as ge, a1 as be } from "./lib-
|
|
3
|
-
import { u as ye } from "./useConfig-
|
|
4
|
-
import { u as Ce } from "./usePrinter-
|
|
5
|
-
import { u as O } from "./useNestedProp-
|
|
6
|
-
import { u as ke } from "./useThemeCheck-
|
|
7
|
-
import { u as Ie } from "./useUserOptionState-
|
|
2
|
+
import { j as H, o as ce, q as ve, ap as fe, W as me, ao as he, a0 as ge, a1 as be } from "./lib-DMzrGQHK.js";
|
|
3
|
+
import { u as ye } from "./useConfig-DTHxOX6V.js";
|
|
4
|
+
import { u as Ce } from "./usePrinter-C4t8DdQ-.js";
|
|
5
|
+
import { u as O } from "./useNestedProp-DH0BEVVS.js";
|
|
6
|
+
import { u as ke } from "./useThemeCheck-C9Ccl7U9.js";
|
|
7
|
+
import { u as Ie } from "./useUserOptionState-B7Ej974k.js";
|
|
8
8
|
import _e from "./vue_ui_table_heatmap-CkvipPVy.js";
|
|
9
|
-
import { _ as $e } from "./Shape-
|
|
9
|
+
import { _ as $e } from "./Shape-CxJ5_Rre.js";
|
|
10
10
|
import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell"], Ne = {
|
|
12
12
|
key: 0,
|
|
@@ -45,12 +45,16 @@ const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell
|
|
|
45
45
|
},
|
|
46
46
|
setup(D, { expose: L }) {
|
|
47
47
|
ne((e) => ({
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
v0c51aeae: oe.value,
|
|
49
|
+
v43edb2ee: te.value
|
|
50
50
|
}));
|
|
51
|
-
const W = se(
|
|
51
|
+
const W = se(
|
|
52
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
53
|
+
), { vue_ui_table_heatmap: X } = ye(), { isThemeValid: q, warnInvalidTheme: J } = ke(), c = D, I = h(H()), d = h(!1), y = h(null), _ = h(!1), x = h(0), K = le();
|
|
52
54
|
E(() => {
|
|
53
|
-
K["chart-background"] && console.warn(
|
|
55
|
+
K["chart-background"] && console.warn(
|
|
56
|
+
"VueUiTableHeatmap does not support the #chart-background slot."
|
|
57
|
+
);
|
|
54
58
|
});
|
|
55
59
|
const t = v({
|
|
56
60
|
get: () => N(),
|
|
@@ -73,9 +77,13 @@ const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell
|
|
|
73
77
|
defaultConfig: o
|
|
74
78
|
});
|
|
75
79
|
}
|
|
76
|
-
re(
|
|
77
|
-
|
|
78
|
-
|
|
80
|
+
re(
|
|
81
|
+
() => c.config,
|
|
82
|
+
(e) => {
|
|
83
|
+
t.value = N(), $.value = !t.value.userOptions.showOnChartHover, S();
|
|
84
|
+
},
|
|
85
|
+
{ deep: !0 }
|
|
86
|
+
);
|
|
79
87
|
const { isPrinting: Q, isImaging: Y, generatePdf: T, generateImage: V } = Ce({
|
|
80
88
|
elementId: `table_heatmap_${I.value}`,
|
|
81
89
|
fileName: "vue-ui-table-heatmap",
|
|
@@ -120,7 +128,13 @@ const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell
|
|
|
120
128
|
});
|
|
121
129
|
function ee(e, a) {
|
|
122
130
|
const o = t.value.style.heatmapColors.useIndividualScale;
|
|
123
|
-
return he(
|
|
131
|
+
return he(
|
|
132
|
+
t.value.style.heatmapColors.min,
|
|
133
|
+
t.value.style.heatmapColors.max,
|
|
134
|
+
o ? a.min : M.value.min,
|
|
135
|
+
o ? a.max : M.value.max,
|
|
136
|
+
e
|
|
137
|
+
);
|
|
124
138
|
}
|
|
125
139
|
const U = v(() => R.value.map((e) => ({
|
|
126
140
|
...e,
|
|
@@ -134,7 +148,15 @@ const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell
|
|
|
134
148
|
[l.sum],
|
|
135
149
|
[l.average],
|
|
136
150
|
[l.median]
|
|
137
|
-
]), o = [
|
|
151
|
+
]), o = [
|
|
152
|
+
[
|
|
153
|
+
[""],
|
|
154
|
+
t.value.table.head.values,
|
|
155
|
+
["sum"],
|
|
156
|
+
["average"],
|
|
157
|
+
["median"]
|
|
158
|
+
]
|
|
159
|
+
].concat(a), n = ge(o);
|
|
138
160
|
e ? e(n) : be({ csvContent: n, title: "vue-ui-table-heatmap" });
|
|
139
161
|
});
|
|
140
162
|
}
|
|
@@ -149,7 +171,10 @@ const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell
|
|
|
149
171
|
ref_key: "tableContainer",
|
|
150
172
|
ref: y,
|
|
151
173
|
style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
152
|
-
class: G({
|
|
174
|
+
class: G({
|
|
175
|
+
"vue-data-ui-component": !0,
|
|
176
|
+
"vue-ui-responsive": d.value
|
|
177
|
+
}),
|
|
153
178
|
id: `table_heatmap_${I.value}`,
|
|
154
179
|
onMouseenter: a[0] || (a[0] = () => i(F)(!0)),
|
|
155
180
|
onMouseleave: a[1] || (a[1] = () => i(F)(!1))
|
|
@@ -229,7 +254,12 @@ const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell
|
|
|
229
254
|
style: C(`background:${t.value.table.head.backgroundColor};color:${t.value.table.head.color}`)
|
|
230
255
|
}, [
|
|
231
256
|
(s(!0), r(k, null, w(t.value.table.head.values, (o, n) => (s(), r("th", xe, [
|
|
232
|
-
u(e.$slots, "head", m({ ref_for: !0 }, {
|
|
257
|
+
u(e.$slots, "head", m({ ref_for: !0 }, {
|
|
258
|
+
value: o,
|
|
259
|
+
rowIndex: n,
|
|
260
|
+
type: typeof o,
|
|
261
|
+
isResponsive: d.value
|
|
262
|
+
}), void 0, !0)
|
|
233
263
|
]))), 256))
|
|
234
264
|
], 4)
|
|
235
265
|
]),
|
|
@@ -254,26 +284,60 @@ const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell
|
|
|
254
284
|
shape: o.shape || "circle"
|
|
255
285
|
}, null, 8, ["color", "shape"])
|
|
256
286
|
], 8, Te)) : f("", !0),
|
|
257
|
-
u(e.$slots, "rowTitle", m({ ref_for: !0 }, {
|
|
287
|
+
u(e.$slots, "rowTitle", m({ ref_for: !0 }, {
|
|
288
|
+
value: l,
|
|
289
|
+
rowIndex: n,
|
|
290
|
+
colIndex: p,
|
|
291
|
+
type: typeof l,
|
|
292
|
+
isResponsive: d.value
|
|
293
|
+
}), void 0, !0)
|
|
258
294
|
])) : (s(), r(k, { key: 1 }, [
|
|
259
295
|
p === 0 ? u(e.$slots, "rowTitle", m({
|
|
260
296
|
key: 0,
|
|
261
297
|
ref_for: !0
|
|
262
|
-
}, {
|
|
298
|
+
}, {
|
|
299
|
+
value: l,
|
|
300
|
+
rowIndex: n,
|
|
301
|
+
colIndex: p,
|
|
302
|
+
type: typeof l,
|
|
303
|
+
isResponsive: d.value
|
|
304
|
+
}), void 0, !0) : f("", !0),
|
|
263
305
|
p > 0 ? u(e.$slots, "cell", m({
|
|
264
306
|
key: 1,
|
|
265
307
|
ref_for: !0
|
|
266
|
-
}, {
|
|
308
|
+
}, {
|
|
309
|
+
value: l,
|
|
310
|
+
rowIndex: n,
|
|
311
|
+
colIndex: p,
|
|
312
|
+
type: typeof l,
|
|
313
|
+
isResponsive: d.value,
|
|
314
|
+
color: o.colors[p],
|
|
315
|
+
textColor: i(me)(
|
|
316
|
+
o.colors[p]
|
|
317
|
+
)
|
|
318
|
+
}), void 0, !0) : f("", !0)
|
|
267
319
|
], 64))
|
|
268
320
|
], 8, Pe))), 256)),
|
|
269
321
|
t.value.table.showSum ? (s(), r("td", Ve, [
|
|
270
|
-
u(e.$slots, "sum", m({ ref_for: !0 }, {
|
|
322
|
+
u(e.$slots, "sum", m({ ref_for: !0 }, {
|
|
323
|
+
value: o.sum,
|
|
324
|
+
rowIndex: n,
|
|
325
|
+
isResponsive: d.value
|
|
326
|
+
}), void 0, !0)
|
|
271
327
|
])) : f("", !0),
|
|
272
328
|
t.value.table.showAverage ? (s(), r("td", Se, [
|
|
273
|
-
u(e.$slots, "average", m({ ref_for: !0 }, {
|
|
329
|
+
u(e.$slots, "average", m({ ref_for: !0 }, {
|
|
330
|
+
value: o.average,
|
|
331
|
+
rowIndex: n,
|
|
332
|
+
isResponsive: d.value
|
|
333
|
+
}), void 0, !0)
|
|
274
334
|
])) : f("", !0),
|
|
275
335
|
t.value.table.showMedian ? (s(), r("td", Re, [
|
|
276
|
-
u(e.$slots, "median", m({ ref_for: !0 }, {
|
|
336
|
+
u(e.$slots, "median", m({ ref_for: !0 }, {
|
|
337
|
+
value: o.median,
|
|
338
|
+
rowIndex: n,
|
|
339
|
+
isResponsive: d.value
|
|
340
|
+
}), void 0, !0)
|
|
277
341
|
])) : f("", !0)
|
|
278
342
|
]))), 256))
|
|
279
343
|
])
|
|
@@ -283,7 +347,7 @@ const Oe = ["id"], xe = { role: "cell" }, Fe = { role: "row" }, Pe = ["data-cell
|
|
|
283
347
|
], 512)) : f("", !0)
|
|
284
348
|
], 46, Oe));
|
|
285
349
|
}
|
|
286
|
-
}, qe = /* @__PURE__ */ we(Ue, [["__scopeId", "data-v-
|
|
350
|
+
}, qe = /* @__PURE__ */ we(Ue, [["__scopeId", "data-v-25fbb328"]]);
|
|
287
351
|
export {
|
|
288
352
|
qe as default
|
|
289
353
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useCssVars as Ge, defineAsyncComponent as K, ref as c, useSlots as Le, onMounted as ke, computed as k, watch as Ce, shallowRef as Re, onBeforeUnmount as He, openBlock as v, createElementBlock as p, unref as u, normalizeClass as Q, normalizeStyle as s, createElementVNode as f, toDisplayString as x, createCommentVNode as b, withDirectives as qe, createVNode as N, Fragment as Y, renderList as Z, createBlock as Xe, createSlots as je, withCtx as $, renderSlot as S, mergeProps as ee, nextTick as Je } from "vue";
|
|
2
|
-
import { u as te } from "./useNestedProp-
|
|
3
|
-
import { j as Ke, m as Qe, p as M, n as Ye, o as Ze, q as _e, r as et, ap as tt, s as at, k as U, l as B, a0 as lt, a1 as ot } from "./lib-
|
|
4
|
-
import { u as nt } from "./useConfig-
|
|
5
|
-
import { u as st } from "./usePrinter-
|
|
6
|
-
import { u as ut } from "./useThemeCheck-
|
|
7
|
-
import { u as rt } from "./useUserOptionState-
|
|
2
|
+
import { u as te } from "./useNestedProp-DH0BEVVS.js";
|
|
3
|
+
import { j as Ke, m as Qe, p as M, n as Ye, o as Ze, q as _e, r as et, ap as tt, s as at, k as U, l as B, a0 as lt, a1 as ot } from "./lib-DMzrGQHK.js";
|
|
4
|
+
import { u as nt } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as st } from "./usePrinter-C4t8DdQ-.js";
|
|
6
|
+
import { u as ut } from "./useThemeCheck-C9Ccl7U9.js";
|
|
7
|
+
import { u as rt } from "./useUserOptionState-B7Ej974k.js";
|
|
8
8
|
import { v as it } from "./vClickOutside-C6WiFswA.js";
|
|
9
9
|
import dt from "./vue_ui_table_sparkline-yQdijcyJ.js";
|
|
10
10
|
import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -45,16 +45,22 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
45
45
|
emits: ["copyAlt"],
|
|
46
46
|
setup(xe, { expose: we, emit: Ae }) {
|
|
47
47
|
Ge((t) => ({
|
|
48
|
-
|
|
48
|
+
v3994ed2c: t.tdo
|
|
49
49
|
}));
|
|
50
|
-
const Se = K(() => import("./vue-ui-sparkline-
|
|
50
|
+
const Se = K(() => import("./vue-ui-sparkline-BY05SDNv.js")), F = K(() => import("./BaseIcon-DX0hTWa-.js")), Ie = K(
|
|
51
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
52
|
+
), { vue_ui_table_sparkline: Oe } = nt(), { isThemeValid: $e, warnInvalidTheme: Pe } = ut(), C = xe, ze = Ae, E = c(Ke()), ae = c(0), G = c(0), L = c(null), De = Le(), le = c(!1);
|
|
51
53
|
ke(() => {
|
|
52
|
-
De["chart-background"] && console.warn(
|
|
54
|
+
De["chart-background"] && console.warn(
|
|
55
|
+
"VueUiTableSparkline does not support the #chart-background slot."
|
|
56
|
+
);
|
|
53
57
|
});
|
|
54
58
|
const e = k({
|
|
55
59
|
get: () => se(),
|
|
56
60
|
set: (t) => t
|
|
57
|
-
}), P = k(
|
|
61
|
+
}), P = k(
|
|
62
|
+
() => e.value.userOptions.useCursorPointer
|
|
63
|
+
), { userOptionsVisible: R, setUserOptionsVisibility: oe, keepUserOptionState: ne } = rt({ config: e.value });
|
|
58
64
|
function se() {
|
|
59
65
|
const t = te({
|
|
60
66
|
userConfig: C.config,
|
|
@@ -75,11 +81,19 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
75
81
|
customPalette: n.customPalette.length ? n.customPalette : Qe[l] || M
|
|
76
82
|
};
|
|
77
83
|
}
|
|
78
|
-
Ce(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
Ce(
|
|
85
|
+
() => C.config,
|
|
86
|
+
(t) => {
|
|
87
|
+
e.value = se(), R.value = !e.value.userOptions.showOnChartHover, ve(), G.value += 1;
|
|
88
|
+
},
|
|
89
|
+
{ deep: !0 }
|
|
90
|
+
), Ce(
|
|
91
|
+
() => C.dataset,
|
|
92
|
+
(t) => {
|
|
93
|
+
m.value = z.value, G.value += 1;
|
|
94
|
+
},
|
|
95
|
+
{ deep: !0 }
|
|
96
|
+
);
|
|
83
97
|
const { isPrinting: ue, isImaging: re, generatePdf: ie, generateImage: de } = st({
|
|
84
98
|
elementId: `table_${E.value}`,
|
|
85
99
|
fileName: e.value.title.text || "vue-ui-table-sparkline",
|
|
@@ -117,7 +131,9 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
117
131
|
});
|
|
118
132
|
});
|
|
119
133
|
}), C.dataset.map((t, l) => {
|
|
120
|
-
const a = (t.values || []).map(
|
|
134
|
+
const a = (t.values || []).map(
|
|
135
|
+
(d) => isNaN(d) ? 0 : d ?? 0
|
|
136
|
+
), n = a.reduce((d, i) => d + i, 0), r = n / a.length, o = tt(a);
|
|
121
137
|
return {
|
|
122
138
|
...t,
|
|
123
139
|
values: t.values || [],
|
|
@@ -143,7 +159,9 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
143
159
|
orders: a[o]
|
|
144
160
|
}));
|
|
145
161
|
}
|
|
146
|
-
const z = k(() => Te(V.value)), m = c(z.value), Ve = k(() => Math.max(
|
|
162
|
+
const z = k(() => Te(V.value)), m = c(z.value), Ve = k(() => Math.max(
|
|
163
|
+
...m.value.map((t) => (t.values || []).length)
|
|
164
|
+
)), X = c(void 0), j = c(!1), g = c(void 0), ce = c(1);
|
|
147
165
|
function O() {
|
|
148
166
|
j.value = !1, g.value = void 0, y.value = void 0, ce.value = 1, D.value.forEach((t) => t.state = 1), w.value = {
|
|
149
167
|
name: 1,
|
|
@@ -163,7 +181,9 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
163
181
|
return;
|
|
164
182
|
}
|
|
165
183
|
j.value = !0, g.value = l;
|
|
166
|
-
const n = z.value.map(
|
|
184
|
+
const n = z.value.map(
|
|
185
|
+
(i) => i.values[l] || []
|
|
186
|
+
), r = a;
|
|
167
187
|
D.value[l].state = r, ce.value = r, l === X.value ? X.value = void 0 : X.value = l;
|
|
168
188
|
const d = n.map((i, h) => [h, i]).sort((i, h) => r * (h[1] - i[1])).map((i) => i[0]).map((i) => z.value[i]);
|
|
169
189
|
m.value = d, G.value += 1;
|
|
@@ -176,13 +196,25 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
176
196
|
if (!t.length)
|
|
177
197
|
for (let a = 0; a < pe.value; a += 1)
|
|
178
198
|
t.push({ type: "reg", value: `col ${a + 1}` });
|
|
179
|
-
e.value.showTotal && (t = [
|
|
199
|
+
e.value.showTotal && (t = [
|
|
200
|
+
...t,
|
|
201
|
+
{ type: "sum", value: e.value.translations.total }
|
|
202
|
+
]);
|
|
180
203
|
let l;
|
|
181
204
|
return e.value.showAverage && e.value.showMedian ? l = [
|
|
182
205
|
...t,
|
|
183
206
|
{ type: "average", value: e.value.translations.average },
|
|
184
207
|
{ type: "median", value: e.value.translations.median }
|
|
185
|
-
] : e.value.showAverage && !e.value.showMedian ? l = [
|
|
208
|
+
] : e.value.showAverage && !e.value.showMedian ? l = [
|
|
209
|
+
...t,
|
|
210
|
+
{ type: "average", value: e.value.translations.average }
|
|
211
|
+
] : !e.value.showAverage && e.value.showMedian ? l = [
|
|
212
|
+
...t,
|
|
213
|
+
{ type: "median", value: e.value.translations.median }
|
|
214
|
+
] : l = t, e.value.showSparklines ? [
|
|
215
|
+
...l,
|
|
216
|
+
{ type: "chart", value: e.value.translations.chart }
|
|
217
|
+
] : l;
|
|
186
218
|
}), w = c({
|
|
187
219
|
name: 1,
|
|
188
220
|
sum: 1,
|
|
@@ -204,7 +236,11 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
204
236
|
}
|
|
205
237
|
const A = c(void 0), J = c(void 0);
|
|
206
238
|
function Me({ dataIndex: t, serieIndex: l }) {
|
|
207
|
-
A.value = t, J.value = l, L.value[t] && !H.value && L.value[t].scrollIntoView({
|
|
239
|
+
A.value = t, J.value = l, L.value[t] && !H.value && L.value[t].scrollIntoView({
|
|
240
|
+
behavior: "smooth",
|
|
241
|
+
block: "nearest",
|
|
242
|
+
inline: "center"
|
|
243
|
+
});
|
|
208
244
|
}
|
|
209
245
|
const fe = c(!1);
|
|
210
246
|
function Ue(t) {
|
|
@@ -212,13 +248,9 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
212
248
|
}
|
|
213
249
|
function me(t = null) {
|
|
214
250
|
Je(() => {
|
|
215
|
-
const l = [e.value.translations.serie].concat(
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
[o.sum],
|
|
219
|
-
[o.average],
|
|
220
|
-
[o.median]
|
|
221
|
-
]), n = [l].concat(a), r = lt(n);
|
|
251
|
+
const l = [e.value.translations.serie].concat(
|
|
252
|
+
_.value
|
|
253
|
+
), a = V.value.map((o, d) => [[o.name], o.values, [o.sum], [o.average], [o.median]]), n = [l].concat(a), r = lt(n);
|
|
222
254
|
t ? t(r) : ot({
|
|
223
255
|
csvContent: r,
|
|
224
256
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
@@ -257,13 +289,17 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
257
289
|
config: e.value,
|
|
258
290
|
dataset: V.value
|
|
259
291
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
260
|
-
console.warn(
|
|
292
|
+
console.warn(
|
|
293
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
294
|
+
);
|
|
261
295
|
return;
|
|
262
296
|
}
|
|
263
|
-
await Promise.resolve(
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
297
|
+
await Promise.resolve(
|
|
298
|
+
e.value.userOptions.callbacks.altCopy({
|
|
299
|
+
config: e.value,
|
|
300
|
+
dataset: V.value
|
|
301
|
+
})
|
|
302
|
+
);
|
|
267
303
|
}
|
|
268
304
|
return we({
|
|
269
305
|
generatePdf: ie,
|
|
@@ -274,7 +310,11 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
274
310
|
}), (t, l) => (v(), p("div", {
|
|
275
311
|
ref_key: "tableContainer",
|
|
276
312
|
ref: T,
|
|
277
|
-
class: Q({
|
|
313
|
+
class: Q({
|
|
314
|
+
"vue-data-ui-component": !0,
|
|
315
|
+
"vue-ui-table-sparkline": !0,
|
|
316
|
+
"vue-ui-responsive": H.value
|
|
317
|
+
}),
|
|
278
318
|
style: { overflow: "hidden" },
|
|
279
319
|
id: `table_${E.value}`,
|
|
280
320
|
onMouseenter: l[3] || (l[3] = () => u(oe)(!0)),
|
|
@@ -313,7 +353,10 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
313
353
|
}, [
|
|
314
354
|
f("table", {
|
|
315
355
|
class: "vue-ui-data-table",
|
|
316
|
-
style: s({
|
|
356
|
+
style: s({
|
|
357
|
+
fontFamily: e.value.fontFamily,
|
|
358
|
+
position: "relative"
|
|
359
|
+
})
|
|
317
360
|
}, [
|
|
318
361
|
f("thead", pt, [
|
|
319
362
|
qe((v(), p("tr", {
|
|
@@ -347,7 +390,11 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
347
390
|
m.value.length > 1 && e.value.sortedSeriesName ? (v(), p("div", ft, [
|
|
348
391
|
f("button", {
|
|
349
392
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
350
|
-
onClick: l[0] || (l[0] = (a) => W(
|
|
393
|
+
onClick: l[0] || (l[0] = (a) => W(
|
|
394
|
+
{ type: "name" },
|
|
395
|
+
null,
|
|
396
|
+
-1
|
|
397
|
+
)),
|
|
351
398
|
style: s({
|
|
352
399
|
cursor: P.value ? "pointer" : "default"
|
|
353
400
|
})
|
|
@@ -363,7 +410,11 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
363
410
|
], 4),
|
|
364
411
|
f("button", {
|
|
365
412
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
366
|
-
onClick: l[1] || (l[1] = (a) => W(
|
|
413
|
+
onClick: l[1] || (l[1] = (a) => W(
|
|
414
|
+
{ type: "name" },
|
|
415
|
+
null,
|
|
416
|
+
1
|
|
417
|
+
)),
|
|
367
418
|
style: s({
|
|
368
419
|
cursor: P.value ? "pointer" : "default"
|
|
369
420
|
})
|
|
@@ -390,7 +441,9 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
390
441
|
minWidth: n === _.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
391
442
|
paddingRight: n === _.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
392
443
|
}),
|
|
393
|
-
class: Q({
|
|
444
|
+
class: Q({
|
|
445
|
+
"sticky-col": n === _.value.length - 1 && e.value.showSparklines
|
|
446
|
+
})
|
|
394
447
|
}, [
|
|
395
448
|
f("div", {
|
|
396
449
|
style: s({
|
|
@@ -415,7 +468,11 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
415
468
|
name: "arrowBottom",
|
|
416
469
|
stroke: e.value.thead.color,
|
|
417
470
|
style: s({
|
|
418
|
-
opacity: ye(
|
|
471
|
+
opacity: ye(
|
|
472
|
+
n,
|
|
473
|
+
a,
|
|
474
|
+
-1
|
|
475
|
+
)
|
|
419
476
|
})
|
|
420
477
|
}, null, 8, ["stroke", "style"])
|
|
421
478
|
], 12, gt),
|
|
@@ -431,7 +488,11 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
431
488
|
name: "arrowTop",
|
|
432
489
|
stroke: e.value.thead.color,
|
|
433
490
|
style: s({
|
|
434
|
-
opacity: ye(
|
|
491
|
+
opacity: ye(
|
|
492
|
+
n,
|
|
493
|
+
a,
|
|
494
|
+
1
|
|
495
|
+
)
|
|
435
496
|
})
|
|
436
497
|
}, null, 8, ["stroke", "style"])
|
|
437
498
|
], 12, bt)
|
|
@@ -452,7 +513,9 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
452
513
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
453
514
|
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
454
515
|
isFullscreen: fe.value,
|
|
455
|
-
titles: {
|
|
516
|
+
titles: {
|
|
517
|
+
...e.value.userOptions.buttonTitles
|
|
518
|
+
},
|
|
456
519
|
chartElement: T.value,
|
|
457
520
|
position: e.value.userOptions.position,
|
|
458
521
|
callbacks: e.value.userOptions.callbacks,
|
|
@@ -497,8 +560,14 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
497
560
|
} : void 0,
|
|
498
561
|
t.$slots.optionFullscreen ? {
|
|
499
562
|
name: "optionFullscreen",
|
|
500
|
-
fn: $(({
|
|
501
|
-
|
|
563
|
+
fn: $(({
|
|
564
|
+
toggleFullscreen: r,
|
|
565
|
+
isFullscreen: o
|
|
566
|
+
}) => [
|
|
567
|
+
S(t.$slots, "optionFullscreen", ee({ ref_for: !0 }, {
|
|
568
|
+
toggleFullscreen: r,
|
|
569
|
+
isFullscreen: o
|
|
570
|
+
}), void 0, !0)
|
|
502
571
|
]),
|
|
503
572
|
key: "4"
|
|
504
573
|
} : void 0,
|
|
@@ -522,7 +591,11 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
522
591
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
523
592
|
color: e.value.tbody.color
|
|
524
593
|
}),
|
|
525
|
-
class: Q({
|
|
594
|
+
class: Q({
|
|
595
|
+
"vue-ui-data-table__tbody__row": !0,
|
|
596
|
+
"vue-ui-data-table__tbody__row-even": n % 2 === 0,
|
|
597
|
+
"vue-ui-data-table__tbody__row-odd": n % 2 !== 0
|
|
598
|
+
})
|
|
526
599
|
}, [
|
|
527
600
|
f("td", {
|
|
528
601
|
role: "cell",
|
|
@@ -580,7 +653,11 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
580
653
|
s: e.value.suffix,
|
|
581
654
|
r: e.value.roundingValues
|
|
582
655
|
}),
|
|
583
|
-
{
|
|
656
|
+
{
|
|
657
|
+
datapoint: a,
|
|
658
|
+
seriesIndex: n,
|
|
659
|
+
datapointIndex: o
|
|
660
|
+
}
|
|
584
661
|
)), 45, ht))), 256)),
|
|
585
662
|
e.value.showTotal ? (v(), p("td", {
|
|
586
663
|
key: 0,
|
|
@@ -666,7 +743,10 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
666
743
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
667
744
|
}, [
|
|
668
745
|
N(u(Se), {
|
|
669
|
-
onHoverIndex: ({ index: r }) => Me({
|
|
746
|
+
onHoverIndex: ({ index: r }) => Me({
|
|
747
|
+
dataIndex: r,
|
|
748
|
+
serieIndex: n
|
|
749
|
+
}),
|
|
670
750
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
671
751
|
"forced-padding": 30,
|
|
672
752
|
dataset: a.sparklineDataset,
|
|
@@ -717,7 +797,7 @@ const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
717
797
|
], 512)) : b("", !0)
|
|
718
798
|
], 42, ct));
|
|
719
799
|
}
|
|
720
|
-
}, Vt = /* @__PURE__ */ vt(At, [["__scopeId", "data-v-
|
|
800
|
+
}, Vt = /* @__PURE__ */ vt(At, [["__scopeId", "data-v-8aa952ba"]]);
|
|
721
801
|
export {
|
|
722
802
|
Vt as default
|
|
723
803
|
};
|