vue-data-ui 3.27.0 → 3.27.1-beta.0
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/dist/A11yDataTable-DWNlWXzs.js +1 -0
- package/dist/Arrow-CJeSufxg.js +1 -0
- package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
- package/dist/BaseIcon-Cz30ODFA.js +1 -0
- package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
- package/dist/BaseScanner-8NdoBs7B.js +1 -0
- package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
- package/dist/ColorPicker-CUjEw53A.js +1 -0
- package/dist/DataTable-DSUA5M9p.js +1 -0
- package/dist/DefGrad-DKMq1REY.js +1 -0
- package/dist/HillActions-DdvXld3a.js +1 -0
- package/dist/Legend-DokTll4u.js +1 -0
- package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
- package/dist/PackageVersion-D6pKL176.js +1 -0
- package/dist/PenAndPaper-DvJJaeU2.js +1 -0
- package/dist/RecursiveCircles-BftI1kwF.js +1 -0
- package/dist/RecursiveLabels-B0d04xSj.js +1 -0
- package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
- package/dist/Shape-tkp65OcG.js +1 -0
- package/dist/SlicerPreview-GFRs2EWB.js +1 -0
- package/dist/SparkTooltip-BlJLvizH.js +1 -0
- package/dist/Title-BRAjxtjG.js +1 -0
- package/dist/Tooltip-BUXB0i6z.js +1 -0
- package/dist/UserOptions-D65t74CM.js +1 -0
- package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/annotationSlots-BRR85CqJ.js +1 -0
- package/dist/chartImage-NwZO-elv.js +1 -0
- package/dist/components/arrow.js +1 -2
- package/dist/components/vue-ui-3d-bar.js +1 -2
- package/dist/components/vue-ui-accordion.js +1 -2
- package/dist/components/vue-ui-age-pyramid.js +1 -2
- package/dist/components/vue-ui-annotator.js +1 -2
- package/dist/components/vue-ui-bullet.js +1 -2
- package/dist/components/vue-ui-bump.js +1 -2
- package/dist/components/vue-ui-candlestick.js +1 -2
- package/dist/components/vue-ui-carousel-table.js +1 -2
- package/dist/components/vue-ui-chestnut.js +1 -2
- package/dist/components/vue-ui-chord.js +1 -2
- package/dist/components/vue-ui-circle-pack.js +1 -2
- package/dist/components/vue-ui-cursor.js +1 -2
- package/dist/components/vue-ui-dag.js +1 -2
- package/dist/components/vue-ui-dashboard.js +1 -2
- package/dist/components/vue-ui-digits.js +1 -2
- package/dist/components/vue-ui-donut-evolution.js +1 -2
- package/dist/components/vue-ui-donut.js +1 -2
- package/dist/components/vue-ui-dumbbell.js +1 -2
- package/dist/components/vue-ui-flow.js +1 -2
- package/dist/components/vue-ui-funnel.js +1 -2
- package/dist/components/vue-ui-galaxy.js +1 -2
- package/dist/components/vue-ui-gauge.js +1 -2
- package/dist/components/vue-ui-geo.js +1 -2
- package/dist/components/vue-ui-gizmo.js +1 -2
- package/dist/components/vue-ui-heatmap.js +1 -2
- package/dist/components/vue-ui-hill.js +1 -2
- package/dist/components/vue-ui-history-plot.js +1 -2
- package/dist/components/vue-ui-horizontal-bar.js +1 -2
- package/dist/components/vue-ui-icon.js +1 -2
- package/dist/components/vue-ui-kpi.js +1 -2
- package/dist/components/vue-ui-label.js +1 -2
- package/dist/components/vue-ui-mini-loader.js +1 -2
- package/dist/components/vue-ui-molecule.js +1 -2
- package/dist/components/vue-ui-mood-radar.js +1 -2
- package/dist/components/vue-ui-nested-donuts.js +1 -2
- package/dist/components/vue-ui-onion.js +1 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
- package/dist/components/vue-ui-pattern-seed.js +1 -2
- package/dist/components/vue-ui-pattern.js +1 -2
- package/dist/components/vue-ui-quadrant.js +1 -2
- package/dist/components/vue-ui-quick-chart.js +1 -2
- package/dist/components/vue-ui-radar.js +1 -2
- package/dist/components/vue-ui-rating.js +1 -2
- package/dist/components/vue-ui-relation-circle.js +1 -2
- package/dist/components/vue-ui-ridgeline.js +1 -2
- package/dist/components/vue-ui-rings.js +1 -2
- package/dist/components/vue-ui-scatter.js +1 -2
- package/dist/components/vue-ui-skeleton.js +1 -2
- package/dist/components/vue-ui-smiley.js +1 -2
- package/dist/components/vue-ui-spark-trend.js +1 -2
- package/dist/components/vue-ui-sparkbar.js +1 -2
- package/dist/components/vue-ui-sparkgauge.js +1 -2
- package/dist/components/vue-ui-sparkhistogram.js +1 -2
- package/dist/components/vue-ui-sparkline.js +1 -2
- package/dist/components/vue-ui-sparkstackbar.js +1 -2
- package/dist/components/vue-ui-stackbar.js +1 -2
- package/dist/components/vue-ui-stackline.js +1 -2
- package/dist/components/vue-ui-strip-plot.js +1 -2
- package/dist/components/vue-ui-table-heatmap.js +1 -2
- package/dist/components/vue-ui-table-sparkline.js +1 -2
- package/dist/components/vue-ui-table.js +1 -2
- package/dist/components/vue-ui-thermometer.js +1 -2
- package/dist/components/vue-ui-timer.js +1 -2
- package/dist/components/vue-ui-tiremarks.js +1 -2
- package/dist/components/vue-ui-treemap.js +1 -2
- package/dist/components/vue-ui-vertical-bar.js +1 -2
- package/dist/components/vue-ui-waffle.js +1 -2
- package/dist/components/vue-ui-wheel.js +1 -2
- package/dist/components/vue-ui-word-cloud.js +1 -2
- package/dist/components/vue-ui-world.js +1 -2
- package/dist/components/vue-ui-xy-canvas.js +1 -2
- package/dist/components/vue-ui-xy.js +1 -2
- package/dist/composables.js +1 -5
- package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
- package/dist/exposedLib-CMTeSmyW.js +1 -0
- package/dist/geoProjections-Bvj-eMvq.js +1 -0
- package/dist/img-8sM3sVWU.js +1 -0
- package/dist/labelUtils-Djp5nJtN.js +1 -0
- package/dist/lib-zDxoqrgo.js +12 -0
- package/dist/package-DIR2F6AE.js +1 -0
- package/dist/patternUtils-_q3ArM3g.js +1 -0
- package/dist/pdf-Dlv_ks7R.js +1 -0
- package/dist/render-common-DOYi0f4Z.js +1 -0
- package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
- package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/ssr/vue-ui-donut.js +1 -2
- package/dist/ssr/vue-ui-xy.js +1 -2
- package/dist/ssr.js +1 -3
- package/dist/style.css +1 -1
- package/dist/tableIntegration-CNoJ1CIY.js +1 -0
- package/dist/types/composables.d.ts +12 -12
- package/dist/types/ssr.d.ts +84 -84
- package/dist/types/utils.d.ts +82 -73
- package/dist/types/vue-data-ui.d.ts +17961 -17958
- package/dist/types/vue-ui-3d-bar.d.ts +24 -91
- package/dist/types/vue-ui-accordion.d.ts +2 -10
- package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
- package/dist/types/vue-ui-annotator.d.ts +12 -88
- package/dist/types/vue-ui-bullet.d.ts +21 -83
- package/dist/types/vue-ui-bump.d.ts +23 -90
- package/dist/types/vue-ui-candlestick.d.ts +27 -108
- package/dist/types/vue-ui-carousel-table.d.ts +11 -57
- package/dist/types/vue-ui-chestnut.d.ts +27 -96
- package/dist/types/vue-ui-chord.d.ts +31 -108
- package/dist/types/vue-ui-circle-pack.d.ts +30 -124
- package/dist/types/vue-ui-cursor.d.ts +2 -8
- package/dist/types/vue-ui-dag.d.ts +35 -125
- package/dist/types/vue-ui-dashboard.d.ts +18 -66
- package/dist/types/vue-ui-digits.d.ts +2 -11
- package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
- package/dist/types/vue-ui-donut.d.ts +31 -121
- package/dist/types/vue-ui-dumbbell.d.ts +24 -92
- package/dist/types/vue-ui-flow.d.ts +28 -104
- package/dist/types/vue-ui-funnel.d.ts +18 -77
- package/dist/types/vue-ui-galaxy.d.ts +30 -112
- package/dist/types/vue-ui-gauge.d.ts +22 -87
- package/dist/types/vue-ui-geo.d.ts +22 -92
- package/dist/types/vue-ui-gizmo.d.ts +5 -20
- package/dist/types/vue-ui-heatmap.d.ts +25 -101
- package/dist/types/vue-ui-hill.d.ts +22 -88
- package/dist/types/vue-ui-history-plot.d.ts +30 -112
- package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
- package/dist/types/vue-ui-icon.d.ts +1 -13
- package/dist/types/vue-ui-kpi.d.ts +5 -23
- package/dist/types/vue-ui-label.d.ts +11 -48
- package/dist/types/vue-ui-mini-loader.d.ts +4 -13
- package/dist/types/vue-ui-molecule.d.ts +27 -110
- package/dist/types/vue-ui-mood-radar.d.ts +23 -90
- package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
- package/dist/types/vue-ui-onion.d.ts +26 -104
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
- package/dist/types/vue-ui-pattern.d.ts +1 -13
- package/dist/types/vue-ui-quadrant.d.ts +33 -123
- package/dist/types/vue-ui-quick-chart.d.ts +30 -110
- package/dist/types/vue-ui-radar.d.ts +31 -114
- package/dist/types/vue-ui-rating.d.ts +8 -40
- package/dist/types/vue-ui-relation-circle.d.ts +26 -90
- package/dist/types/vue-ui-ridgeline.d.ts +27 -104
- package/dist/types/vue-ui-rings.d.ts +21 -96
- package/dist/types/vue-ui-scatter.d.ts +22 -95
- package/dist/types/vue-ui-skeleton.d.ts +2 -10
- package/dist/types/vue-ui-smiley.d.ts +6 -26
- package/dist/types/vue-ui-spark-trend.d.ts +2 -18
- package/dist/types/vue-ui-sparkbar.d.ts +10 -47
- package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
- package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
- package/dist/types/vue-ui-sparkline.d.ts +16 -61
- package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
- package/dist/types/vue-ui-stackbar.d.ts +36 -130
- package/dist/types/vue-ui-stackline.d.ts +29 -116
- package/dist/types/vue-ui-strip-plot.d.ts +22 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
- package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
- package/dist/types/vue-ui-table.d.ts +9 -36
- package/dist/types/vue-ui-thermometer.d.ts +14 -68
- package/dist/types/vue-ui-timer.d.ts +10 -47
- package/dist/types/vue-ui-tiremarks.d.ts +14 -68
- package/dist/types/vue-ui-treemap.d.ts +26 -105
- package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
- package/dist/types/vue-ui-waffle.d.ts +23 -99
- package/dist/types/vue-ui-wheel.d.ts +14 -68
- package/dist/types/vue-ui-word-cloud.d.ts +20 -95
- package/dist/types/vue-ui-world.d.ts +22 -96
- package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
- package/dist/types/vue-ui-xy.d.ts +42 -146
- package/dist/unpackTheme-CNsFKCeq.js +1 -0
- package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
- package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
- package/dist/useChartExport-DtPNpc9M.js +1 -0
- package/dist/useConfig-CKdzPrcf.js +1 -0
- package/dist/useFitSvgText-C1QC4P5G.js +1 -0
- package/dist/useHints-BH9r_0Vd.js +6 -0
- package/dist/useNestedProp-CT9phgWx.js +1 -0
- package/dist/useObjectBindings-DM3xDKV3.js +1 -0
- package/dist/usePanZoom-BdjP5Suc.js +1 -0
- package/dist/usePrefersMotion-XLHwega2.js +1 -0
- package/dist/usePrinter-CnyKPIFM.js +1 -0
- package/dist/useResponsive-D2CPcpda.js +1 -0
- package/dist/useStableElementSize-CegFbRlF.js +1 -0
- package/dist/useTableResponsive-uSz_qZOB.js +1 -0
- package/dist/useThemeCheck-BKNRbGeC.js +1 -0
- package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
- package/dist/useTimeLabels-Das5O74F.js +1 -0
- package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
- package/dist/useTransitions-DfSHzsdz.js +1 -0
- package/dist/useUserOptionState-CXlFnwPv.js +1 -0
- package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
- package/dist/utils.js +1 -30
- package/dist/vClickOutside-BxNzkY17.js +1 -0
- package/dist/vue-data-ui-BG41UScx.js +1 -0
- package/dist/vue-data-ui.js +1 -79
- package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
- package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
- package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
- package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
- package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
- package/dist/vue-ui-bump-DYajIrva.js +10 -0
- package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
- package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
- package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
- package/dist/vue-ui-chord-fAckHfOW.js +21 -0
- package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
- package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
- package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
- package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
- package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
- package/dist/vue-ui-donut-BaEodt-3.js +22 -0
- package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
- package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
- package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
- package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
- package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
- package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
- package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
- package/dist/vue-ui-geo-CX3yH18H.js +1 -0
- package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
- package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
- package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
- package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
- package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
- package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
- package/dist/vue-ui-label-D1Aog-zO.js +7 -0
- package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
- package/dist/vue-ui-molecule-B13qVX71.js +1 -0
- package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
- package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
- package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
- package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
- package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
- package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
- package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
- package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
- package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
- package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
- package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
- package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
- package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
- package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
- package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
- package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
- package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
- package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
- package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
- package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
- package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
- package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
- package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
- package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
- package/dist/vue-ui-table-Br2JgD_L.js +14 -0
- package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
- package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
- package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
- package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
- package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
- package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
- package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
- package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
- package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
- package/dist/vue-ui-world-Cp0DeauH.js +19 -0
- package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
- package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
- package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
- package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
- package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
- package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
- package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
- package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
- package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
- package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
- package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
- package/dist/vue_ui_dag-1b_dLSym.js +1 -0
- package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
- package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
- package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
- package/dist/vue_ui_flow-kvV56Es9.js +1 -0
- package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
- package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
- package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
- package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
- package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
- package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
- package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
- package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
- package/dist/vue_ui_label-dtPqyFsj.js +1 -0
- package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
- package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
- package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
- package/dist/vue_ui_onion-C9BedU_-.js +1 -0
- package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
- package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
- package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
- package/dist/vue_ui_radar-68iK9Fam.js +1 -0
- package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
- package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
- package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
- package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
- package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
- package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
- package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
- package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
- package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
- package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
- package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
- package/dist/vue_ui_stackline-D7b63K84.js +1 -0
- package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
- package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
- package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
- package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
- package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
- package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
- package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
- package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
- package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
- package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
- package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
- package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
- package/package.json +2 -2
- package/dist/A11yDataTable-DdRsVULz.js +0 -45
- package/dist/Arrow-DKO1l8oR.js +0 -116
- package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
- package/dist/BaseIcon-Cx9FD751.js +0 -484
- package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
- package/dist/BaseScanner-Dzc8VT3j.js +0 -30
- package/dist/BaseZoomControls-vNi8YykO.js +0 -111
- package/dist/ColorPicker-hmC2bvwS.js +0 -257
- package/dist/DataTable-CjF_An2h.js +0 -150
- package/dist/DefGrad-DVBqDjhO.js +0 -48
- package/dist/HillActions-DqqGB33u.js +0 -187
- package/dist/Legend-CulFgjUY.js +0 -156
- package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
- package/dist/PackageVersion-D7H9nfK0.js +0 -12
- package/dist/PenAndPaper-CNiuGw6k.js +0 -906
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-DSwamtmO.js +0 -143
- package/dist/SlicerPreview-k5YerMA9.js +0 -1730
- package/dist/SparkTooltip-D35KVv6N.js +0 -93
- package/dist/Title-BMCuINbv.js +0 -87
- package/dist/Tooltip-C4ZTwkLF.js +0 -312
- package/dist/UserOptions-CORYQiif.js +0 -1412
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/dom-to-png-CBusMkua.js +0 -237
- package/dist/exposedLib-UNxZlnAS.js +0 -28
- package/dist/geoProjections-BYthUA8l.js +0 -302
- package/dist/img-Bb5rHcpO.js +0 -129
- package/dist/labelUtils-Ccn9kK7T.js +0 -19
- package/dist/lib-D4wK6ljP.js +0 -2146
- package/dist/package-DmQufM0G.js +0 -4
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-BzIQHx-F.js +0 -90
- package/dist/render-common-BtfjXdkJ.js +0 -152
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useChartExport-iwOqiIWX.js +0 -803
- package/dist/useConfig-D_6ZrPMD.js +0 -8090
- package/dist/useFitSvgText-CXTzBplU.js +0 -65
- package/dist/useHints-Dq_w2E8B.js +0 -66
- package/dist/useNestedProp-DR_8JPol.js +0 -12
- package/dist/useObjectBindings-DvasYMGu.js +0 -191
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-DdW2GSm0.js +0 -49
- package/dist/useResponsive-ZtArZtUf.js +0 -97
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useTableResponsive-BAqJPR68.js +0 -25
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-d2f-W1L4.js +0 -270
- package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
- package/dist/useTransitions-g_zBREk2.js +0 -39
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-Df7WV80w.js +0 -191
- package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
- package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
- package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
- package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
- package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
- package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
- package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
- package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
- package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
- package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
- package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
- package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
- package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
- package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
- package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
- package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
- package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
- package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
- package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
- package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
- package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
- package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
- package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
- package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
- package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
- package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
- package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
- package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
- package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
- package/dist/vue-ui-label-r3-QloJL.js +0 -1451
- package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
- package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
- package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
- package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
- package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
- package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
- package/dist/vue-ui-rating-C_iTttXB.js +0 -359
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
- package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
- package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
- package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
- package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
- package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
- package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
- package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
- package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
- package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
- package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
- package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
- package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
- package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
- package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
- package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
- package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
- package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
- package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
- package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
- package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
- package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
- package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
- package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
- package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_hill-dnltu0L-.js +0 -368
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
- package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
- package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-CcJADijP.js +0 -614
- package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
|
@@ -1,738 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, Ht as r, S as i, X as a, at as o, en as ee, i as te, m as ne, nt as re, w as ie, yt as ae, zt as oe } from "./lib-D4wK6ljP.js";
|
|
3
|
-
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
-
import { t as ue } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
-
import { t as s } from "./useNestedProp-DR_8JPol.js";
|
|
7
|
-
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
-
import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
10
|
-
import { t as me } from "./vClickOutside-DUrZWttG.js";
|
|
11
|
-
import { t as he } from "./vue_ui_table_sparkline-DAbkUrNz.js";
|
|
12
|
-
import { Fragment as ge, computed as c, createBlock as _e, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as ve, createVNode as f, defineAsyncComponent as p, mergeProps as m, nextTick as ye, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as be, onMounted as xe, openBlock as _, ref as v, renderList as y, renderSlot as b, shallowRef as Se, toDisplayString as x, unref as S, useCssVars as Ce, useSlots as we, watch as Te, withCtx as C, withDirectives as Ee } from "vue";
|
|
13
|
-
//#region src/components/vue-ui-table-sparkline.vue
|
|
14
|
-
var De = /* @__PURE__ */ e({ default: () => w }), Oe = ["id"], ke = { style: {
|
|
15
|
-
"z-index": "1",
|
|
16
|
-
"padding-right": "24px"
|
|
17
|
-
} }, Ae = {
|
|
18
|
-
key: 0,
|
|
19
|
-
style: {
|
|
20
|
-
display: "flex",
|
|
21
|
-
flexDirection: "row",
|
|
22
|
-
alignItems: "center"
|
|
23
|
-
}
|
|
24
|
-
}, je = {
|
|
25
|
-
key: 0,
|
|
26
|
-
style: {
|
|
27
|
-
display: "flex",
|
|
28
|
-
flexDirection: "row",
|
|
29
|
-
alignItems: "center"
|
|
30
|
-
}
|
|
31
|
-
}, Me = ["onClick"], Ne = ["onClick"], Pe = ["data-cell"], Fe = ["data-cell", "onPointerenter"], Ie = ["data-cell"], Le = ["data-cell"], Re = ["data-cell"], ze = ["data-cell"], Be = {
|
|
32
|
-
key: 1,
|
|
33
|
-
ref: "source",
|
|
34
|
-
dir: "auto"
|
|
35
|
-
}, w = /*#__PURE__*/ fe({
|
|
36
|
-
__name: "vue-ui-table-sparkline",
|
|
37
|
-
props: {
|
|
38
|
-
config: {
|
|
39
|
-
type: Object,
|
|
40
|
-
default() {
|
|
41
|
-
return {};
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
dataset: {
|
|
45
|
-
type: Array,
|
|
46
|
-
default() {
|
|
47
|
-
return [];
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
emits: ["copyAlt"],
|
|
52
|
-
setup(e, { expose: fe, emit: De }) {
|
|
53
|
-
Ce((e) => ({ v847ffcd0: e.tdo }));
|
|
54
|
-
let w = p(() => import("./vue-ui-sparkline-DvE1dHcs.js").then((e) => e.n)), T = p(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Ve = p(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), { vue_ui_table_sparkline: He } = le(), { isThemeValid: Ue, warnInvalidTheme: We } = de(), E = e, Ge = De, Ke = v(a()), qe = v(0), Je = v(0), Ye = v(null), Xe = we(), Ze = v(!1), D = c({
|
|
55
|
-
get: () => et(),
|
|
56
|
-
set: (e) => e
|
|
57
|
-
}), O = c(() => D.value.userOptions), k = c(() => D.value.sparkline), A = c(() => D.value.thead), j = c(() => D.value.tbody), M = c(() => D.value.title);
|
|
58
|
-
xe(() => {
|
|
59
|
-
Xe["chart-background"] && D.value.debug && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
60
|
-
}), se({
|
|
61
|
-
config: () => D.value,
|
|
62
|
-
dataset: () => E.dataset,
|
|
63
|
-
component: "VueUiTableSparkline",
|
|
64
|
-
rules: [
|
|
65
|
-
ce.emptyArray,
|
|
66
|
-
{
|
|
67
|
-
test: (e) => e.some((e) => e?.values && e.values.length > 500),
|
|
68
|
-
message: [
|
|
69
|
-
"👀 One or more series have > 500 datapoints. Consider if you really need this level of detail.",
|
|
70
|
-
"",
|
|
71
|
-
"▶️ Use larger time scales, or aggregated values"
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
test: (e) => e.some((e) => e?.values && e.values.length > 1095),
|
|
76
|
-
message: [
|
|
77
|
-
"👀 One or more series have > 1095 datapoints. Above this threshold, the dataset is computed through an LTTB algorithm, to preserve the shape of the data without increasing the number of datapoints.",
|
|
78
|
-
"",
|
|
79
|
-
"▶️ If you need this level of detail, you can change config.downsample.threshold and set a higher value. Note that performance will be impacted."
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
});
|
|
84
|
-
let N = c(() => D.value.userOptions.useCursorPointer), { userOptionsVisible: P, setUserOptionsVisibility: Qe, keepUserOptionState: $e } = pe({ config: D.value });
|
|
85
|
-
function et() {
|
|
86
|
-
let e = s({
|
|
87
|
-
userConfig: E.config,
|
|
88
|
-
defaultConfig: He
|
|
89
|
-
}), t = e.theme;
|
|
90
|
-
if (!t) return e;
|
|
91
|
-
if (!Ue.value(e)) return We(e), e;
|
|
92
|
-
let n = s({
|
|
93
|
-
userConfig: he[t] || E.config,
|
|
94
|
-
defaultConfig: e
|
|
95
|
-
}), i = s({
|
|
96
|
-
userConfig: E.config,
|
|
97
|
-
defaultConfig: n
|
|
98
|
-
});
|
|
99
|
-
return {
|
|
100
|
-
...i,
|
|
101
|
-
customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
Te(() => E.config, (e) => {
|
|
105
|
-
D.value = et(), P.value = !D.value.userOptions.showOnChartHover, st(), Je.value += 1;
|
|
106
|
-
}, { deep: !0 }), Te(() => E.dataset, (e) => {
|
|
107
|
-
G.value = W.value, Je.value += 1;
|
|
108
|
-
}, { deep: !0 });
|
|
109
|
-
let { isPrinting: tt, isImaging: nt, generatePdf: rt, generateImage: it } = ue({
|
|
110
|
-
elementId: `table_${Ke.value}`,
|
|
111
|
-
fileName: M.value.text || "vue-ui-table-sparkline",
|
|
112
|
-
options: D.value.userOptions.print
|
|
113
|
-
}), at = c(() => ie(D.value.customPalette)), F = v(null), I = v(!1), ot = c(() => D.value.responsiveBreakpoint);
|
|
114
|
-
xe(() => {
|
|
115
|
-
st();
|
|
116
|
-
});
|
|
117
|
-
let L = v(D.value.colNames), R = Se(null);
|
|
118
|
-
function st() {
|
|
119
|
-
oe(E.dataset) && o({
|
|
120
|
-
componentName: "VueUiTableSparkline",
|
|
121
|
-
type: "dataset"
|
|
122
|
-
}), R.value && R.value.disconnect(), R.value = new ResizeObserver((e) => {
|
|
123
|
-
e.forEach((e) => {
|
|
124
|
-
I.value = e.contentRect.width < ot.value;
|
|
125
|
-
});
|
|
126
|
-
}), F.value && R.value.observe(F.value), L.value = [];
|
|
127
|
-
for (let e = 0; e < mt.value; e += 1) L.value.push(D.value.colNames[e] || `col ${e}`);
|
|
128
|
-
}
|
|
129
|
-
be(() => {
|
|
130
|
-
R.value && R.value.disconnect();
|
|
131
|
-
});
|
|
132
|
-
function z(e) {
|
|
133
|
-
if ([null, void 0].includes(e)) return null;
|
|
134
|
-
let t = Number(e);
|
|
135
|
-
return Number.isFinite(t) ? t : null;
|
|
136
|
-
}
|
|
137
|
-
function B(e) {
|
|
138
|
-
return typeof e == "number" && Number.isFinite(e);
|
|
139
|
-
}
|
|
140
|
-
function ct(e = []) {
|
|
141
|
-
return e.map(z).filter(B);
|
|
142
|
-
}
|
|
143
|
-
function V(e, t, n) {
|
|
144
|
-
let r = z(e), i = z(t), a = B(r), o = B(i);
|
|
145
|
-
return a && o ? n === -1 ? r - i : i - r : a ? -1 : +!!o;
|
|
146
|
-
}
|
|
147
|
-
function H(e, n, r = {}) {
|
|
148
|
-
let i = z(e);
|
|
149
|
-
return i === null ? "-" : te(D.value.formatter, i, t({
|
|
150
|
-
p: D.value.prefix,
|
|
151
|
-
v: i,
|
|
152
|
-
s: D.value.suffix,
|
|
153
|
-
r: n
|
|
154
|
-
}), r);
|
|
155
|
-
}
|
|
156
|
-
let U = c(() => (E.dataset.forEach((e, t) => {
|
|
157
|
-
ae({
|
|
158
|
-
datasetObject: e,
|
|
159
|
-
requiredAttributes: ["name", "values"]
|
|
160
|
-
}).forEach((e) => {
|
|
161
|
-
o({
|
|
162
|
-
componentName: "VueUiTableSparkline",
|
|
163
|
-
type: "datasetSerieAttribute",
|
|
164
|
-
property: e,
|
|
165
|
-
index: t
|
|
166
|
-
});
|
|
167
|
-
});
|
|
168
|
-
}), E.dataset.map((e, t) => {
|
|
169
|
-
let n = e.values || [], a = ct(n), o = a.length ? a.reduce((e, t) => e + t, 0) : null, ee = a.length ? o / a.length : null, te = a.length ? ne(a) : null;
|
|
170
|
-
return {
|
|
171
|
-
...e,
|
|
172
|
-
values: n,
|
|
173
|
-
color: i(e.color) || at.value[t] || r[t] || r[t % r.length],
|
|
174
|
-
sum: o,
|
|
175
|
-
average: ee,
|
|
176
|
-
median: te,
|
|
177
|
-
sparklineDataset: n.map((e, t) => ({
|
|
178
|
-
period: D.value.colNames[t] || `col ${t}`,
|
|
179
|
-
value: z(e)
|
|
180
|
-
}))
|
|
181
|
-
};
|
|
182
|
-
})));
|
|
183
|
-
function lt(e) {
|
|
184
|
-
let t = (e[0]?.values || []).map((t, n) => e.map((e) => e?.values?.[n] ?? null)).map((e) => e.map((e, t) => [e, t]).sort((e, t) => V(e[0], t[0], 1)).map((e) => e[1]));
|
|
185
|
-
return e.map((e, n) => ({
|
|
186
|
-
...e,
|
|
187
|
-
values: e.values || [],
|
|
188
|
-
orders: t[n]
|
|
189
|
-
}));
|
|
190
|
-
}
|
|
191
|
-
let W = c(() => lt(U.value)), G = v(W.value), ut = c(() => Math.max(...G.value.map((e) => (e.values || []).length))), dt = v(void 0), ft = v(!1), K = v(void 0), pt = v(1);
|
|
192
|
-
function q() {
|
|
193
|
-
ft.value = !1, K.value = void 0, Z.value = void 0, pt.value = 1, $.value.forEach((e) => e.state = 1), X.value = {
|
|
194
|
-
name: 1,
|
|
195
|
-
sum: 1,
|
|
196
|
-
average: 1,
|
|
197
|
-
median: 1
|
|
198
|
-
}, G.value = W.value;
|
|
199
|
-
}
|
|
200
|
-
function J(e, t, n) {
|
|
201
|
-
if ([
|
|
202
|
-
"name",
|
|
203
|
-
"sum",
|
|
204
|
-
"average",
|
|
205
|
-
"median"
|
|
206
|
-
].includes(e.type)) {
|
|
207
|
-
ht(e.type, t, n);
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
if (!xt(t)) return;
|
|
211
|
-
if (Q.value = t, Z.value = void 0, ![null, void 0].includes(K.value) && t !== K.value && (K.value = void 0, q()), $.value[t].state === n && K.value === t) {
|
|
212
|
-
K.value = void 0, q();
|
|
213
|
-
return;
|
|
214
|
-
}
|
|
215
|
-
ft.value = !0, K.value = t;
|
|
216
|
-
let r = W.value.map((e) => e.values?.[t] ?? null), i = n;
|
|
217
|
-
$.value[t].state = i, pt.value = i, t === dt.value ? dt.value = void 0 : dt.value = t;
|
|
218
|
-
let a = r.map((e, t) => [t, e]).sort((e, t) => V(e[1], t[1], i)).map((e) => e[0]).map((e) => W.value[e]);
|
|
219
|
-
G.value = a, Je.value += 1;
|
|
220
|
-
}
|
|
221
|
-
let mt = c(() => Math.max(...E.dataset.map((e) => (e.values || []).length))), Y = c(() => {
|
|
222
|
-
let e = L.value.map((e) => ({
|
|
223
|
-
type: "reg",
|
|
224
|
-
value: e
|
|
225
|
-
}));
|
|
226
|
-
if (!e.length) for (let t = 0; t < mt.value; t += 1) e.push({
|
|
227
|
-
type: "reg",
|
|
228
|
-
value: `col ${t + 1}`
|
|
229
|
-
});
|
|
230
|
-
D.value.showTotal && (e = [...e, {
|
|
231
|
-
type: "sum",
|
|
232
|
-
value: D.value.translations.total
|
|
233
|
-
}]);
|
|
234
|
-
let t;
|
|
235
|
-
return t = D.value.showAverage && D.value.showMedian ? [
|
|
236
|
-
...e,
|
|
237
|
-
{
|
|
238
|
-
type: "average",
|
|
239
|
-
value: D.value.translations.average
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
type: "median",
|
|
243
|
-
value: D.value.translations.median
|
|
244
|
-
}
|
|
245
|
-
] : D.value.showAverage && !D.value.showMedian ? [...e, {
|
|
246
|
-
type: "average",
|
|
247
|
-
value: D.value.translations.average
|
|
248
|
-
}] : !D.value.showAverage && D.value.showMedian ? [...e, {
|
|
249
|
-
type: "median",
|
|
250
|
-
value: D.value.translations.median
|
|
251
|
-
}] : e, D.value.showSparklines ? [...t, {
|
|
252
|
-
type: "chart",
|
|
253
|
-
value: D.value.translations.chart
|
|
254
|
-
}] : t;
|
|
255
|
-
}), X = v({
|
|
256
|
-
name: 1,
|
|
257
|
-
sum: 1,
|
|
258
|
-
average: 1,
|
|
259
|
-
median: 1
|
|
260
|
-
}), Z = v(void 0);
|
|
261
|
-
function ht(e, t, n) {
|
|
262
|
-
if (!G.value || G.value.length === 0 || !St(e)) return;
|
|
263
|
-
if (Z.value !== e && (Z.value = void 0), ![null, void 0].includes(K.value) && t !== K.value && q(), K.value = void 0, X.value[e] === n && Z.value) {
|
|
264
|
-
Z.value = void 0, q();
|
|
265
|
-
return;
|
|
266
|
-
}
|
|
267
|
-
Z.value = e, ft.value = !0, X.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = X.value[e]);
|
|
268
|
-
let r = X.value[e], i = [...G.value].sort((t, n) => {
|
|
269
|
-
let i = t[e], a = n[e];
|
|
270
|
-
return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : V(i, a, r);
|
|
271
|
-
});
|
|
272
|
-
G.value = i;
|
|
273
|
-
}
|
|
274
|
-
let Q = v(void 0), gt = v(void 0);
|
|
275
|
-
function _t({ dataIndex: e, serieIndex: t }) {
|
|
276
|
-
Q.value = e, gt.value = t, Ye.value[e] && !I.value && Ye.value[e].scrollIntoView({
|
|
277
|
-
behavior: "smooth",
|
|
278
|
-
block: "nearest",
|
|
279
|
-
inline: "center"
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
let vt = v(!1);
|
|
283
|
-
function yt(e) {
|
|
284
|
-
vt.value = e, qe.value += 1;
|
|
285
|
-
}
|
|
286
|
-
function bt(e = null) {
|
|
287
|
-
ye(() => {
|
|
288
|
-
let t = [D.value.translations.serie].concat(Y.value), r = U.value.map((e, t) => [
|
|
289
|
-
[e.name],
|
|
290
|
-
e.values,
|
|
291
|
-
[e.sum],
|
|
292
|
-
[e.average],
|
|
293
|
-
[e.median]
|
|
294
|
-
]), i = [t].concat(r), a = n(i);
|
|
295
|
-
e ? e(a) : re({
|
|
296
|
-
csvContent: a,
|
|
297
|
-
title: M.value.text || "vue-ui-table-sparkline"
|
|
298
|
-
});
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
function xt(e) {
|
|
302
|
-
return D.value.sortedDataColumnIndices.includes(e);
|
|
303
|
-
}
|
|
304
|
-
function St(e) {
|
|
305
|
-
return e.type === "name" || e === "name" ? D.value.sortedSeriesName : e.type === "sum" || e === "sum" ? D.value.sortedSum : e.type === "average" || e === "average" ? D.value.sortedAverage : e.type === "median" || e === "median" ? D.value.sortedMedian : !1;
|
|
306
|
-
}
|
|
307
|
-
function Ct(e, t, n) {
|
|
308
|
-
return [
|
|
309
|
-
"sum",
|
|
310
|
-
"average",
|
|
311
|
-
"median"
|
|
312
|
-
].includes(t.type) ? Z.value === t.type && X.value[t.type] === n ? 1 : .3 : e === K.value && $.value[e].state === n ? 1 : .3;
|
|
313
|
-
}
|
|
314
|
-
function wt() {
|
|
315
|
-
D.value.resetSortOnClickOutside && q();
|
|
316
|
-
}
|
|
317
|
-
let $ = c({
|
|
318
|
-
get: () => Y.value.map((e) => ({ state: 1 })),
|
|
319
|
-
set: (e) => e
|
|
320
|
-
});
|
|
321
|
-
function Tt(e) {
|
|
322
|
-
if (e?.stage === "start") {
|
|
323
|
-
Ze.value = !0;
|
|
324
|
-
return;
|
|
325
|
-
}
|
|
326
|
-
if (e?.stage === "end") {
|
|
327
|
-
Ze.value = !1;
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
it();
|
|
331
|
-
}
|
|
332
|
-
async function Et() {
|
|
333
|
-
if (Ge("copyAlt", {
|
|
334
|
-
config: D.value,
|
|
335
|
-
dataset: U.value
|
|
336
|
-
}), !D.value.userOptions.callbacks.altCopy) {
|
|
337
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
338
|
-
return;
|
|
339
|
-
}
|
|
340
|
-
await Promise.resolve(D.value.userOptions.callbacks.altCopy({
|
|
341
|
-
config: D.value,
|
|
342
|
-
dataset: U.value
|
|
343
|
-
}));
|
|
344
|
-
}
|
|
345
|
-
return fe({
|
|
346
|
-
generatePdf: rt,
|
|
347
|
-
generateImage: it,
|
|
348
|
-
generateCsv: bt,
|
|
349
|
-
restoreOrder: q,
|
|
350
|
-
copyAlt: Et
|
|
351
|
-
}), (e, t) => (_(), u("div", {
|
|
352
|
-
ref_key: "tableContainer",
|
|
353
|
-
ref: F,
|
|
354
|
-
class: h({
|
|
355
|
-
"vue-data-ui-component": !0,
|
|
356
|
-
"vue-ui-table-sparkline": !0,
|
|
357
|
-
"vue-ui-responsive": I.value
|
|
358
|
-
}),
|
|
359
|
-
style: { overflow: "hidden" },
|
|
360
|
-
id: `table_${Ke.value}`,
|
|
361
|
-
onMouseenter: t[3] ||= () => S(Qe)(!0),
|
|
362
|
-
onMouseleave: t[4] ||= () => S(Qe)(!1)
|
|
363
|
-
}, [
|
|
364
|
-
M.value.text ? (_(), u("div", {
|
|
365
|
-
key: 0,
|
|
366
|
-
class: "vue-ui-table-sparkline-caption",
|
|
367
|
-
style: g({ backgroundColor: M.value.backgroundColor })
|
|
368
|
-
}, [d("div", {
|
|
369
|
-
class: "atom-title",
|
|
370
|
-
style: g({
|
|
371
|
-
fontSize: `${M.value.fontSize}px`,
|
|
372
|
-
fontWeight: M.value.bold ? "bold" : "normal",
|
|
373
|
-
color: M.value.color,
|
|
374
|
-
textAlign: M.value.textAlign
|
|
375
|
-
})
|
|
376
|
-
}, x(M.value.text), 5), M.value.subtitle.text ? (_(), u("div", {
|
|
377
|
-
key: 0,
|
|
378
|
-
class: "atom-subtitle",
|
|
379
|
-
style: g({
|
|
380
|
-
fontSize: `${M.value.subtitle.fontSize}px`,
|
|
381
|
-
fontWeight: M.value.subtitle.bold ? "bold" : "normal",
|
|
382
|
-
color: M.value.subtitle.color,
|
|
383
|
-
textAlign: M.value.textAlign
|
|
384
|
-
})
|
|
385
|
-
}, x(M.value.subtitle.text), 5)) : l("", !0)], 4)) : l("", !0),
|
|
386
|
-
d("div", {
|
|
387
|
-
style: { overflow: "auto" },
|
|
388
|
-
onPointerleave: t[2] ||= (e) => {
|
|
389
|
-
gt.value = void 0, Q.value = void 0;
|
|
390
|
-
}
|
|
391
|
-
}, [d("table", {
|
|
392
|
-
class: "vue-ui-data-table",
|
|
393
|
-
style: g({
|
|
394
|
-
fontFamily: D.value.fontFamily,
|
|
395
|
-
position: "relative"
|
|
396
|
-
})
|
|
397
|
-
}, [d("thead", ke, [Ee((_(), u("tr", {
|
|
398
|
-
role: "row",
|
|
399
|
-
class: "vue-ui-data-table__thead-row",
|
|
400
|
-
style: g({
|
|
401
|
-
backgroundColor: A.value.backgroundColor,
|
|
402
|
-
color: A.value.color
|
|
403
|
-
})
|
|
404
|
-
}, [d("th", {
|
|
405
|
-
role: "cell",
|
|
406
|
-
style: g({
|
|
407
|
-
backgroundColor: A.value.backgroundColor,
|
|
408
|
-
border: A.value.outline,
|
|
409
|
-
textAlign: A.value.textAlign,
|
|
410
|
-
fontWeight: A.value.bold ? "bold" : "normal"
|
|
411
|
-
}),
|
|
412
|
-
class: "sticky-col-first"
|
|
413
|
-
}, [d("div", { style: g({
|
|
414
|
-
display: "flex",
|
|
415
|
-
flexDirection: "row",
|
|
416
|
-
alignItems: "center",
|
|
417
|
-
gap: "3px",
|
|
418
|
-
justifyContent: A.value.textAlign
|
|
419
|
-
}) }, [d("span", null, x(D.value.translations.serie), 1), G.value.length > 1 && D.value.sortedSeriesName ? (_(), u("div", Ae, [d("button", {
|
|
420
|
-
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
421
|
-
onClick: t[0] ||= (e) => J({ type: "name" }, null, -1),
|
|
422
|
-
style: g({ cursor: N.value ? "pointer" : "default" })
|
|
423
|
-
}, [f(S(T), {
|
|
424
|
-
size: 12,
|
|
425
|
-
name: "arrowBottom",
|
|
426
|
-
stroke: A.value.color,
|
|
427
|
-
style: g({ opacity: Z.value === "name" && X.value.name === -1 ? 1 : .3 })
|
|
428
|
-
}, null, 8, ["stroke", "style"])], 4), d("button", {
|
|
429
|
-
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
430
|
-
onClick: t[1] ||= (e) => J({ type: "name" }, null, 1),
|
|
431
|
-
style: g({ cursor: N.value ? "pointer" : "default" })
|
|
432
|
-
}, [f(S(T), {
|
|
433
|
-
size: 12,
|
|
434
|
-
name: "arrowTop",
|
|
435
|
-
stroke: A.value.color,
|
|
436
|
-
style: g({ opacity: Z.value === "name" && X.value.name === 1 ? 1 : .3 })
|
|
437
|
-
}, null, 8, ["stroke", "style"])], 4)])) : l("", !0)], 4)], 4), (_(!0), u(ge, null, y(Y.value, (t, n) => (_(), u("th", {
|
|
438
|
-
role: "cell",
|
|
439
|
-
style: g({
|
|
440
|
-
background: A.value.backgroundColor,
|
|
441
|
-
border: A.value.outline,
|
|
442
|
-
textAlign: A.value.textAlign,
|
|
443
|
-
fontWeight: A.value.bold ? "bold" : "normal",
|
|
444
|
-
minWidth: n === Y.value.length - 1 ? `${k.value.dimensions.width}px` : "48px",
|
|
445
|
-
paddingRight: n === Y.value.length - 1 && O.value.show ? "36px" : ""
|
|
446
|
-
}),
|
|
447
|
-
class: h({ "sticky-col": n === Y.value.length - 1 && D.value.showSparklines })
|
|
448
|
-
}, [d("div", { style: g({
|
|
449
|
-
display: "flex",
|
|
450
|
-
flexDirection: "row",
|
|
451
|
-
alignItems: "center",
|
|
452
|
-
gap: "3px",
|
|
453
|
-
justifyContent: A.value.textAlign
|
|
454
|
-
}) }, [d("span", null, x(t.value), 1), G.value.length > 1 && (xt(n) || St(t)) ? (_(), u("div", je, [d("button", {
|
|
455
|
-
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
456
|
-
onClick: () => J(t, n, -1),
|
|
457
|
-
style: g({ cursor: N.value ? "pointer" : "default" })
|
|
458
|
-
}, [f(S(T), {
|
|
459
|
-
size: 12,
|
|
460
|
-
name: "arrowBottom",
|
|
461
|
-
stroke: A.value.color,
|
|
462
|
-
style: g({ opacity: Ct(n, t, -1) })
|
|
463
|
-
}, null, 8, ["stroke", "style"])], 12, Me), d("button", {
|
|
464
|
-
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
465
|
-
onClick: () => J(t, n, 1),
|
|
466
|
-
style: g({ cursor: N.value ? "pointer" : "default" })
|
|
467
|
-
}, [f(S(T), {
|
|
468
|
-
size: 12,
|
|
469
|
-
name: "arrowTop",
|
|
470
|
-
stroke: A.value.color,
|
|
471
|
-
style: g({ opacity: Ct(n, t, 1) })
|
|
472
|
-
}, null, 8, ["stroke", "style"])], 12, Ne)])) : l("", !0)], 4), O.value.show && n === Y.value.length - 1 && (S($e) || S(P)) ? (_(), _e(S(Ve), {
|
|
473
|
-
ref_for: !0,
|
|
474
|
-
ref: "details",
|
|
475
|
-
key: `user_option_${qe.value}`,
|
|
476
|
-
backgroundColor: A.value.backgroundColor,
|
|
477
|
-
color: A.value.color,
|
|
478
|
-
isPrinting: S(tt),
|
|
479
|
-
isImaging: S(nt),
|
|
480
|
-
uid: Ke.value,
|
|
481
|
-
hasPdf: O.value.buttons.pdf,
|
|
482
|
-
hasXls: O.value.buttons.csv,
|
|
483
|
-
hasImg: O.value.buttons.img,
|
|
484
|
-
hasFullscreen: O.value.buttons.fullscreen,
|
|
485
|
-
hasAltCopy: O.value.buttons.altCopy,
|
|
486
|
-
isFullscreen: vt.value,
|
|
487
|
-
titles: { ...O.value.buttonTitles },
|
|
488
|
-
chartElement: F.value,
|
|
489
|
-
position: O.value.position,
|
|
490
|
-
callbacks: O.value.callbacks,
|
|
491
|
-
printScale: O.value.print.scale,
|
|
492
|
-
isCursorPointer: N.value,
|
|
493
|
-
onToggleFullscreen: yt,
|
|
494
|
-
onGeneratePdf: S(rt),
|
|
495
|
-
onGenerateImage: Tt,
|
|
496
|
-
onGenerateCsv: bt,
|
|
497
|
-
onCopyAlt: Et,
|
|
498
|
-
style: g({ visibility: S($e) ? S(P) ? "visible" : "hidden" : "visible" })
|
|
499
|
-
}, ve({ _: 2 }, [
|
|
500
|
-
e.$slots.menuIcon ? {
|
|
501
|
-
name: "menuIcon",
|
|
502
|
-
fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", m({ ref_for: !0 }, {
|
|
503
|
-
isOpen: t,
|
|
504
|
-
color: n
|
|
505
|
-
}), void 0, !0)]),
|
|
506
|
-
key: "0"
|
|
507
|
-
} : void 0,
|
|
508
|
-
e.$slots.optionPdf ? {
|
|
509
|
-
name: "optionPdf",
|
|
510
|
-
fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
511
|
-
key: "1"
|
|
512
|
-
} : void 0,
|
|
513
|
-
e.$slots.optionCsv ? {
|
|
514
|
-
name: "optionCsv",
|
|
515
|
-
fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
516
|
-
key: "2"
|
|
517
|
-
} : void 0,
|
|
518
|
-
e.$slots.optionImg ? {
|
|
519
|
-
name: "optionImg",
|
|
520
|
-
fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
521
|
-
key: "3"
|
|
522
|
-
} : void 0,
|
|
523
|
-
e.$slots.optionFullscreen ? {
|
|
524
|
-
name: "optionFullscreen",
|
|
525
|
-
fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", m({ ref_for: !0 }, {
|
|
526
|
-
toggleFullscreen: t,
|
|
527
|
-
isFullscreen: n
|
|
528
|
-
}), void 0, !0)]),
|
|
529
|
-
key: "4"
|
|
530
|
-
} : void 0,
|
|
531
|
-
e.$slots.optionAltCopy ? {
|
|
532
|
-
name: "optionAltCopy",
|
|
533
|
-
fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", m({ ref_for: !0 }, { altCopy: t }), void 0, !0)]),
|
|
534
|
-
key: "5"
|
|
535
|
-
} : void 0,
|
|
536
|
-
e.$slots["custom-menu-before"] ? {
|
|
537
|
-
name: "custom-menu-before",
|
|
538
|
-
fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
539
|
-
key: "6"
|
|
540
|
-
} : void 0,
|
|
541
|
-
e.$slots["custom-menu-after"] ? {
|
|
542
|
-
name: "custom-menu-after",
|
|
543
|
-
fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
544
|
-
key: "7"
|
|
545
|
-
} : void 0
|
|
546
|
-
]), 1032, [
|
|
547
|
-
"backgroundColor",
|
|
548
|
-
"color",
|
|
549
|
-
"isPrinting",
|
|
550
|
-
"isImaging",
|
|
551
|
-
"uid",
|
|
552
|
-
"hasPdf",
|
|
553
|
-
"hasXls",
|
|
554
|
-
"hasImg",
|
|
555
|
-
"hasFullscreen",
|
|
556
|
-
"hasAltCopy",
|
|
557
|
-
"isFullscreen",
|
|
558
|
-
"titles",
|
|
559
|
-
"chartElement",
|
|
560
|
-
"position",
|
|
561
|
-
"callbacks",
|
|
562
|
-
"printScale",
|
|
563
|
-
"isCursorPointer",
|
|
564
|
-
"onGeneratePdf",
|
|
565
|
-
"style"
|
|
566
|
-
])) : l("", !0)], 6))), 256))], 4)), [[S(me), wt]])]), d("tbody", null, [(_(!0), u(ge, null, y(G.value, (e, t) => (_(), u("tr", {
|
|
567
|
-
role: "row",
|
|
568
|
-
style: g({
|
|
569
|
-
backgroundColor: j.value.backgroundColor,
|
|
570
|
-
color: j.value.color
|
|
571
|
-
}),
|
|
572
|
-
class: h({
|
|
573
|
-
"vue-ui-data-table__tbody__row": !0,
|
|
574
|
-
"vue-ui-data-table__tbody__row-even": t % 2 == 0,
|
|
575
|
-
"vue-ui-data-table__tbody__row-odd": t % 2 != 0
|
|
576
|
-
})
|
|
577
|
-
}, [
|
|
578
|
-
d("td", {
|
|
579
|
-
role: "cell",
|
|
580
|
-
style: g({
|
|
581
|
-
backgroundColor: j.value.backgroundColor,
|
|
582
|
-
border: j.value.outline,
|
|
583
|
-
fontSize: `${j.value.fontSize}px`,
|
|
584
|
-
fontWeight: j.value.bold ? "bold" : "normal",
|
|
585
|
-
textAlign: j.value.textAlign
|
|
586
|
-
}),
|
|
587
|
-
"data-cell": D.value.translations.serie,
|
|
588
|
-
class: "vue-ui-data-table__tbody__td sticky-col-first"
|
|
589
|
-
}, [d("div", {
|
|
590
|
-
dir: "auto",
|
|
591
|
-
style: g({
|
|
592
|
-
display: "flex",
|
|
593
|
-
flexDirection: "row",
|
|
594
|
-
alignItems: "center",
|
|
595
|
-
gap: "6px",
|
|
596
|
-
justifyContent: j.value.textAlign
|
|
597
|
-
})
|
|
598
|
-
}, [j.value.showColorMarker ? (_(), u("span", {
|
|
599
|
-
key: 0,
|
|
600
|
-
style: g({ color: e.color })
|
|
601
|
-
}, "⬤", 4)) : l("", !0), d("span", null, x(e.name ?? "-"), 1)], 4)], 12, Pe),
|
|
602
|
-
(_(!0), u(ge, null, y(ut.value, (n, r) => (_(), u("td", {
|
|
603
|
-
dir: "auto",
|
|
604
|
-
role: "cell",
|
|
605
|
-
ref_for: !0,
|
|
606
|
-
ref_key: "TD",
|
|
607
|
-
ref: Ye,
|
|
608
|
-
style: g({
|
|
609
|
-
border: j.value.outline,
|
|
610
|
-
fontSize: `${j.value.fontSize}px`,
|
|
611
|
-
fontWeight: j.value.bold ? "bold" : "normal",
|
|
612
|
-
textAlign: j.value.textAlign,
|
|
613
|
-
background: Q.value !== void 0 && r === Q.value ? j.value.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : j.value.selectedColor.fallback : ""
|
|
614
|
-
}),
|
|
615
|
-
"data-cell": Y.value[r] ? Y.value[r].value : "",
|
|
616
|
-
class: "vue-ui-data-table__tbody__td",
|
|
617
|
-
onPointerenter: (e) => {
|
|
618
|
-
gt.value = t, Q.value = r;
|
|
619
|
-
}
|
|
620
|
-
}, x(H(e.values[r], D.value.roundingValues, {
|
|
621
|
-
datapoint: e,
|
|
622
|
-
seriesIndex: t,
|
|
623
|
-
datapointIndex: r
|
|
624
|
-
})), 45, Fe))), 256)),
|
|
625
|
-
D.value.showTotal ? (_(), u("td", {
|
|
626
|
-
key: 0,
|
|
627
|
-
dir: "auto",
|
|
628
|
-
role: "cell",
|
|
629
|
-
style: g({
|
|
630
|
-
border: j.value.outline,
|
|
631
|
-
fontSize: `${j.value.fontSize}px`,
|
|
632
|
-
fontWeight: j.value.bold ? "bold" : "normal",
|
|
633
|
-
textAlign: j.value.textAlign
|
|
634
|
-
}),
|
|
635
|
-
"data-cell": D.value.translations.total,
|
|
636
|
-
class: "vue-ui-data-table__tbody__td"
|
|
637
|
-
}, x(H(e.sum, D.value.roundingTotal, {
|
|
638
|
-
datapoint: e.sum,
|
|
639
|
-
seriesIndex: t
|
|
640
|
-
})), 13, Ie)) : l("", !0),
|
|
641
|
-
D.value.showAverage ? (_(), u("td", {
|
|
642
|
-
key: 1,
|
|
643
|
-
dir: "auto",
|
|
644
|
-
role: "cell",
|
|
645
|
-
style: g({
|
|
646
|
-
border: j.value.outline,
|
|
647
|
-
fontSize: `${j.value.fontSize}px`,
|
|
648
|
-
fontWeight: j.value.bold ? "bold" : "normal",
|
|
649
|
-
textAlign: j.value.textAlign
|
|
650
|
-
}),
|
|
651
|
-
"data-cell": D.value.translations.average,
|
|
652
|
-
class: "vue-ui-data-table__tbody__td"
|
|
653
|
-
}, x(H(e.average, D.value.roundingAverage, {
|
|
654
|
-
datapoint: e.average,
|
|
655
|
-
seriesIndex: t
|
|
656
|
-
})), 13, Le)) : l("", !0),
|
|
657
|
-
D.value.showMedian ? (_(), u("td", {
|
|
658
|
-
key: 2,
|
|
659
|
-
dir: "auto",
|
|
660
|
-
role: "cell",
|
|
661
|
-
style: g({
|
|
662
|
-
border: j.value.outline,
|
|
663
|
-
fontSize: `${j.value.fontSize}px`,
|
|
664
|
-
fontWeight: j.value.bold ? "bold" : "normal",
|
|
665
|
-
textAlign: j.value.textAlign
|
|
666
|
-
}),
|
|
667
|
-
"data-cell": D.value.translations.median,
|
|
668
|
-
class: "vue-ui-data-table__tbody__td"
|
|
669
|
-
}, x(H(e.median, D.value.roundingMedian, {
|
|
670
|
-
datapoint: e.median,
|
|
671
|
-
seriesIndex: t
|
|
672
|
-
})), 13, Re)) : l("", !0),
|
|
673
|
-
D.value.showSparklines ? (_(), u("td", {
|
|
674
|
-
key: 3,
|
|
675
|
-
role: "cell",
|
|
676
|
-
"data-cell": D.value.translations.chart,
|
|
677
|
-
style: g({
|
|
678
|
-
border: j.value.outline,
|
|
679
|
-
fontSize: `${j.value.fontSize}px`,
|
|
680
|
-
fontWeight: j.value.bold ? "bold" : "normal",
|
|
681
|
-
textAlign: j.value.textAlign,
|
|
682
|
-
backgroundColor: j.value.backgroundColor,
|
|
683
|
-
padding: "0"
|
|
684
|
-
}),
|
|
685
|
-
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
686
|
-
}, [f(S(w), {
|
|
687
|
-
onHoverIndex: ({ index: e }) => _t({
|
|
688
|
-
dataIndex: e,
|
|
689
|
-
serieIndex: t
|
|
690
|
-
}),
|
|
691
|
-
"height-ratio": k.value.dimensions.heightRatio,
|
|
692
|
-
"forced-padding": 30,
|
|
693
|
-
dataset: e.sparklineDataset,
|
|
694
|
-
showInfo: !1,
|
|
695
|
-
selectedIndex: Q.value,
|
|
696
|
-
config: {
|
|
697
|
-
type: k.value.type,
|
|
698
|
-
style: {
|
|
699
|
-
backgroundColor: "transparent",
|
|
700
|
-
animation: {
|
|
701
|
-
show: k.value.animation.show && !S(tt) && !S(nt),
|
|
702
|
-
animationFrames: k.value.animation.animationFrames
|
|
703
|
-
},
|
|
704
|
-
padding: { right: 12 },
|
|
705
|
-
line: {
|
|
706
|
-
color: e.color,
|
|
707
|
-
smooth: k.value.smooth,
|
|
708
|
-
cutNullValues: k.value.cutNullValues,
|
|
709
|
-
strokeWidth: k.value.strokeWidth
|
|
710
|
-
},
|
|
711
|
-
bar: { color: e.color },
|
|
712
|
-
area: {
|
|
713
|
-
color: e.color,
|
|
714
|
-
opacity: k.value.showArea ? 16 : 0,
|
|
715
|
-
useGradient: k.value.useGradient
|
|
716
|
-
},
|
|
717
|
-
verticalIndicator: { color: e.color },
|
|
718
|
-
plot: {
|
|
719
|
-
radius: 9,
|
|
720
|
-
stroke: j.value.backgroundColor,
|
|
721
|
-
strokeWidth: 3
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
}, null, 8, [
|
|
726
|
-
"onHoverIndex",
|
|
727
|
-
"height-ratio",
|
|
728
|
-
"dataset",
|
|
729
|
-
"selectedIndex",
|
|
730
|
-
"config"
|
|
731
|
-
])], 12, ze)) : l("", !0)
|
|
732
|
-
], 6))), 256))])], 4)], 32),
|
|
733
|
-
e.$slots.source ? (_(), u("div", Be, [b(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0)
|
|
734
|
-
], 42, Oe));
|
|
735
|
-
}
|
|
736
|
-
}, [["__scopeId", "data-v-9bb6bbc7"]]);
|
|
737
|
-
//#endregion
|
|
738
|
-
export { De as n, w as t };
|