vue-data-ui 3.17.13 → 3.18.1
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 +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-Cj6W6Xbi.js +116 -0
- package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
- package/dist/BaseIcon-CEmt3Ifx.js +499 -0
- package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
- package/dist/ColorPicker-DS_QkH3W.js +255 -0
- package/dist/DataTable-BvDJEAma.js +150 -0
- package/dist/Legend-Gg5Q4Clb.js +114 -0
- package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
- package/dist/PackageVersion-DhDKg-ez.js +11 -0
- package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
- package/dist/RecursiveCircles-DPpLel6f.js +117 -0
- package/dist/RecursiveLabels-DBMJf_to.js +56 -0
- package/dist/RecursiveLinks-D06dBL4a.js +78 -0
- package/dist/Shape-DEGOZ6GG.js +141 -0
- package/dist/Slicer-BlfyiHHD.js +1144 -0
- package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
- package/dist/SparkTooltip-c2DL7gqD.js +93 -0
- package/dist/Title-__gWq2g6.js +87 -0
- package/dist/Tooltip-B7lmdbac.js +307 -0
- package/dist/UserOptions-DMw8EZEo.js +1407 -0
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
- package/dist/canvas-lib-DTaADQOK.js +79 -0
- package/dist/components/arrow.js +2 -5
- package/dist/components/vue-ui-3d-bar.js +2 -5
- package/dist/components/vue-ui-accordion.js +2 -5
- package/dist/components/vue-ui-age-pyramid.js +2 -5
- package/dist/components/vue-ui-annotator.js +2 -5
- package/dist/components/vue-ui-bullet.js +2 -5
- package/dist/components/vue-ui-bump.js +2 -5
- package/dist/components/vue-ui-candlestick.js +2 -5
- package/dist/components/vue-ui-carousel-table.js +2 -5
- package/dist/components/vue-ui-chestnut.js +2 -5
- package/dist/components/vue-ui-chord.js +2 -5
- package/dist/components/vue-ui-circle-pack.js +2 -5
- package/dist/components/vue-ui-cursor.js +2 -5
- package/dist/components/vue-ui-dag.js +2 -5
- package/dist/components/vue-ui-dashboard.js +2 -5
- package/dist/components/vue-ui-digits.js +2 -5
- package/dist/components/vue-ui-donut-evolution.js +2 -5
- package/dist/components/vue-ui-donut.js +2 -5
- package/dist/components/vue-ui-dumbbell.js +2 -5
- package/dist/components/vue-ui-flow.js +2 -5
- package/dist/components/vue-ui-funnel.js +2 -5
- package/dist/components/vue-ui-galaxy.js +2 -5
- package/dist/components/vue-ui-gauge.js +2 -5
- package/dist/components/vue-ui-geo.js +2 -5
- package/dist/components/vue-ui-gizmo.js +2 -5
- package/dist/components/vue-ui-heatmap.js +2 -5
- package/dist/components/vue-ui-history-plot.js +2 -5
- package/dist/components/vue-ui-horizontal-bar.js +2 -5
- package/dist/components/vue-ui-icon.js +2 -5
- package/dist/components/vue-ui-kpi.js +2 -5
- package/dist/components/vue-ui-mini-loader.js +2 -5
- package/dist/components/vue-ui-molecule.js +2 -5
- package/dist/components/vue-ui-mood-radar.js +2 -5
- package/dist/components/vue-ui-nested-donuts.js +2 -5
- package/dist/components/vue-ui-onion.js +2 -5
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
- package/dist/components/vue-ui-pattern-seed.js +2 -5
- package/dist/components/vue-ui-pattern.js +2 -5
- package/dist/components/vue-ui-quadrant.js +2 -5
- package/dist/components/vue-ui-quick-chart.js +2 -5
- package/dist/components/vue-ui-radar.js +2 -5
- package/dist/components/vue-ui-rating.js +2 -5
- package/dist/components/vue-ui-relation-circle.js +2 -5
- package/dist/components/vue-ui-ridgeline.js +2 -5
- package/dist/components/vue-ui-rings.js +2 -5
- package/dist/components/vue-ui-scatter.js +2 -5
- package/dist/components/vue-ui-skeleton.js +2 -5
- package/dist/components/vue-ui-smiley.js +2 -5
- package/dist/components/vue-ui-spark-trend.js +2 -5
- package/dist/components/vue-ui-sparkbar.js +2 -5
- package/dist/components/vue-ui-sparkgauge.js +2 -5
- package/dist/components/vue-ui-sparkhistogram.js +2 -5
- package/dist/components/vue-ui-sparkline.js +2 -5
- package/dist/components/vue-ui-sparkstackbar.js +2 -5
- package/dist/components/vue-ui-stackbar.js +2 -5
- package/dist/components/vue-ui-stackline.js +2 -5
- package/dist/components/vue-ui-strip-plot.js +2 -5
- package/dist/components/vue-ui-table-heatmap.js +2 -5
- package/dist/components/vue-ui-table-sparkline.js +2 -5
- package/dist/components/vue-ui-table.js +2 -5
- package/dist/components/vue-ui-thermometer.js +2 -5
- package/dist/components/vue-ui-timer.js +2 -5
- package/dist/components/vue-ui-tiremarks.js +2 -5
- package/dist/components/vue-ui-treemap.js +2 -5
- package/dist/components/vue-ui-vertical-bar.js +2 -5
- package/dist/components/vue-ui-waffle.js +2 -5
- package/dist/components/vue-ui-wheel.js +2 -5
- package/dist/components/vue-ui-word-cloud.js +2 -5
- package/dist/components/vue-ui-world.js +2 -5
- package/dist/components/vue-ui-xy-canvas.js +2 -5
- package/dist/components/vue-ui-xy.js +2 -5
- package/dist/dom-to-png-9WSt6hXe.js +237 -0
- package/dist/exposedLib-CwWU4zv-.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-BjOr008R.js +74 -0
- package/dist/labelUtils-Cr97N8E1.js +19 -0
- package/dist/lib-BkiwukKO.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-DSXSFUnK.js +90 -0
- package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
- package/dist/style.css +2 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +23 -0
- package/dist/types/vue-data-ui.d.ts +4775 -627
- package/dist/types/vue-ui-3d-bar.d.ts +64 -9
- package/dist/types/vue-ui-accordion.d.ts +4 -3
- package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
- package/dist/types/vue-ui-annotator.d.ts +3 -5
- package/dist/types/vue-ui-bullet.d.ts +60 -9
- package/dist/types/vue-ui-bump.d.ts +65 -9
- package/dist/types/vue-ui-candlestick.d.ts +83 -9
- package/dist/types/vue-ui-carousel-table.d.ts +36 -6
- package/dist/types/vue-ui-chestnut.d.ts +66 -9
- package/dist/types/vue-ui-chord.d.ts +78 -9
- package/dist/types/vue-ui-circle-pack.d.ts +86 -9
- package/dist/types/vue-ui-cursor.d.ts +4 -2
- package/dist/types/vue-ui-dag.d.ts +92 -9
- package/dist/types/vue-ui-dashboard.d.ts +43 -6
- package/dist/types/vue-ui-digits.d.ts +4 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
- package/dist/types/vue-ui-donut.d.ts +92 -9
- package/dist/types/vue-ui-dumbbell.d.ts +65 -9
- package/dist/types/vue-ui-flow.d.ts +79 -9
- package/dist/types/vue-ui-funnel.d.ts +55 -9
- package/dist/types/vue-ui-galaxy.d.ts +83 -9
- package/dist/types/vue-ui-gauge.d.ts +64 -9
- package/dist/types/vue-ui-geo.d.ts +71 -9
- package/dist/types/vue-ui-gizmo.d.ts +17 -6
- package/dist/types/vue-ui-heatmap.d.ts +73 -9
- package/dist/types/vue-ui-history-plot.d.ts +82 -9
- package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
- package/dist/types/vue-ui-icon.d.ts +2 -2
- package/dist/types/vue-ui-kpi.d.ts +21 -7
- package/dist/types/vue-ui-mini-loader.d.ts +5 -3
- package/dist/types/vue-ui-molecule.d.ts +86 -9
- package/dist/types/vue-ui-mood-radar.d.ts +66 -9
- package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
- package/dist/types/vue-ui-onion.d.ts +77 -9
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -2
- package/dist/types/vue-ui-quadrant.d.ts +86 -9
- package/dist/types/vue-ui-quick-chart.d.ts +79 -9
- package/dist/types/vue-ui-radar.d.ts +83 -9
- package/dist/types/vue-ui-rating.d.ts +22 -6
- package/dist/types/vue-ui-relation-circle.d.ts +66 -9
- package/dist/types/vue-ui-ridgeline.d.ts +69 -9
- package/dist/types/vue-ui-rings.d.ts +70 -9
- package/dist/types/vue-ui-scatter.d.ts +67 -9
- package/dist/types/vue-ui-skeleton.d.ts +3 -2
- package/dist/types/vue-ui-smiley.d.ts +3 -2
- package/dist/types/vue-ui-spark-trend.d.ts +14 -6
- package/dist/types/vue-ui-sparkbar.d.ts +27 -6
- package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
- package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
- package/dist/types/vue-ui-sparkline.d.ts +35 -6
- package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
- package/dist/types/vue-ui-stackbar.d.ts +85 -9
- package/dist/types/vue-ui-stackline.d.ts +81 -9
- package/dist/types/vue-ui-strip-plot.d.ts +66 -9
- package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
- package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
- package/dist/types/vue-ui-table.d.ts +10 -2
- package/dist/types/vue-ui-thermometer.d.ts +46 -9
- package/dist/types/vue-ui-timer.d.ts +31 -5
- package/dist/types/vue-ui-tiremarks.d.ts +46 -9
- package/dist/types/vue-ui-treemap.d.ts +73 -9
- package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
- package/dist/types/vue-ui-waffle.d.ts +72 -9
- package/dist/types/vue-ui-wheel.d.ts +46 -9
- package/dist/types/vue-ui-word-cloud.d.ts +73 -9
- package/dist/types/vue-ui-world.d.ts +68 -9
- package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
- package/dist/types/vue-ui-xy.d.ts +108 -10
- package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-BV0kTCnO.js +7431 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-Ck4hsrpu.js +10 -0
- package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-X0yWOynH.js +49 -0
- package/dist/useResponsive-CrAInupd.js +19 -0
- package/dist/useStableElementSize-0I1IpHPl.js +77 -0
- package/dist/useSvgExport-Dtu973wa.js +755 -0
- package/dist/useTableResponsive-DrM1xqII.js +24 -0
- package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
- package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
- package/dist/useTimeLabels-C0x7zUXP.js +272 -0
- package/dist/useUserOptionState-CjPJPTg2.js +15 -0
- package/dist/utils.js +27 -44
- package/dist/vClickOutside-CbX_bC9A.js +13 -0
- package/dist/vue-data-ui-DIh8ayZc.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
- package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
- package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
- package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
- package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
- package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
- package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
- package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
- package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
- package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
- package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
- package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
- package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
- package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
- package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
- package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
- package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
- package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
- package/dist/vue-ui-flow-OK563Z46.js +1223 -0
- package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
- package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
- package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
- package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
- package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
- package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
- package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
- package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
- package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
- package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
- package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
- package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
- package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
- package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
- package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
- package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
- package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
- package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
- package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
- package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
- package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
- package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
- package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
- package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
- package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
- package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
- package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
- package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
- package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
- package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
- package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
- package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
- package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
- package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
- package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
- package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
- package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
- package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
- package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
- package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
- package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
- package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
- package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
- package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
- package/dist/vue-ui-world-CEevuFbk.js +14252 -0
- package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
- package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
- package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
- package/dist/vue_ui_bump-frnXaXul.js +201 -0
- package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
- package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
- package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
- package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
- package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
- package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
- package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
- package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
- package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
- package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
- package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
- package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
- package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
- package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
- package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
- package/dist/vue_ui_onion-DTV9cup-.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
- package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
- package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
- package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
- package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
- package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
- package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
- package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
- package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
- package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
- package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
- package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
- package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
- package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
- package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
- package/package.json +7 -7
- package/dist/A11yDataTable-BpmuNomI.js +0 -54
- package/dist/Arrow-dSvLFssU.js +0 -101
- package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
- package/dist/BaseIcon-DX0hTWa-.js +0 -476
- package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
- package/dist/BaseScanner-C2j3TsSY.js +0 -36
- package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
- package/dist/ColorPicker-bAxGcXK0.js +0 -271
- package/dist/DataTable-cMnb68Ik.js +0 -145
- package/dist/Legend-DGN5lY60.js +0 -104
- package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
- package/dist/PackageVersion-BfrCAH6_.js +0 -10
- package/dist/PenAndPaper-CJDoB5H9.js +0 -527
- package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
- package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
- package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
- package/dist/Shape-CxJ5_Rre.js +0 -116
- package/dist/Slicer-D7UcO8sN.js +0 -1145
- package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
- package/dist/SparkTooltip-D4bM-kfz.js +0 -68
- package/dist/Title-BbKoiBk2.js +0 -88
- package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
- package/dist/UserOptions-DVduN6X7.js +0 -1474
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/dom-to-png-DGvx6i5V.js +0 -262
- package/dist/exposedLib-sJvY1pST.js +0 -22
- package/dist/geoProjections-BFq2sOBY.js +0 -162
- package/dist/img-CjTQXS0U.js +0 -57
- package/dist/labelUtils-DX9oyq3C.js +0 -26
- package/dist/lib-DMzrGQHK.js +0 -2477
- package/dist/patternUtils-BINhU4Ky.js +0 -615
- package/dist/pdf-C4H4o1Cj.js +0 -88
- package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
- package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
- package/dist/useConfig-CG4HT3wS.js +0 -7901
- package/dist/useFitSvgText-2crs6Fv5.js +0 -69
- package/dist/useNestedProp-DH0BEVVS.js +0 -13
- package/dist/useObjectBindings-Dixg-RIe.js +0 -228
- package/dist/usePanZoom-BbDhcKWf.js +0 -141
- package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
- package/dist/usePrinter-C4t8DdQ-.js +0 -51
- package/dist/useResponsive-DfdjqQps.js +0 -195
- package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
- package/dist/useSvgExport-BTG4hVPO.js +0 -870
- package/dist/useTableResponsive-BpfiEtzR.js +0 -26
- package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
- package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
- package/dist/useTimeLabels-Cv0tD9In.js +0 -307
- package/dist/useUserOptionState-B7Ej974k.js +0 -19
- package/dist/vClickOutside-C6WiFswA.js +0 -13
- package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
- package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
- package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
- package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
- package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
- package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
- package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
- package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
- package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
- package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
- package/dist/vue-ui-chord-DWyar45U.js +0 -1457
- package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
- package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
- package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
- package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
- package/dist/vue-ui-digits-CZmdir8V.js +0 -211
- package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
- package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
- package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
- package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
- package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
- package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
- package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
- package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
- package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
- package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
- package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
- package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
- package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
- package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
- package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
- package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
- package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
- package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
- package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
- package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
- package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
- package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
- package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
- package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
- package/dist/vue-ui-rating-CqPlP88P.js +0 -370
- package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
- package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
- package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
- package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
- package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
- package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
- package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
- package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
- package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
- package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
- package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
- package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
- package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
- package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
- package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
- package/dist/vue-ui-table-BX2iMku4.js +0 -1726
- package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
- package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
- package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
- package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
- package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
- package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
- package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
- package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
- package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
- package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
- package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
- package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
- package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
- package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
- package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
- package/dist/vue_ui_bump-CIht647H.js +0 -22
- package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
- package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
- package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
- package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
- package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
- package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
- package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
- package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
- package/dist/vue_ui_flow-BErINgox.js +0 -22
- package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
- package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
- package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
- package/dist/vue_ui_geo--kg4VoVX.js +0 -22
- package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
- package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
- package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
- package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
- package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
- package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
- package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
- package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
- package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
- package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
- package/dist/vue_ui_radar-DryGBOrz.js +0 -22
- package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
- package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
- package/dist/vue_ui_rings-CxOrekqA.js +0 -22
- package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
- package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
- package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
- package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
- package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
- package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
- package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
- package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
- package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
- package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
- package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
- package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
- package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
- package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
- package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
- package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
- package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
- package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
- package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
- package/dist/vue_ui_xy-esktmpg-.js +0 -22
- package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
|
@@ -1,803 +0,0 @@
|
|
|
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-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-CG4HT3wS.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
|
-
import { v as it } from "./vClickOutside-C6WiFswA.js";
|
|
9
|
-
import dt from "./vue_ui_table_sparkline-yQdijcyJ.js";
|
|
10
|
-
import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
const ct = ["id"], pt = { style: { "z-index": "1", "padding-right": "24px" } }, ft = {
|
|
12
|
-
key: 0,
|
|
13
|
-
style: {
|
|
14
|
-
display: "flex",
|
|
15
|
-
flexDirection: "row",
|
|
16
|
-
alignItems: "center"
|
|
17
|
-
}
|
|
18
|
-
}, mt = {
|
|
19
|
-
key: 0,
|
|
20
|
-
style: {
|
|
21
|
-
display: "flex",
|
|
22
|
-
flexDirection: "row",
|
|
23
|
-
alignItems: "center"
|
|
24
|
-
}
|
|
25
|
-
}, gt = ["onClick"], bt = ["onClick"], yt = ["data-cell"], ht = ["data-cell", "onPointerenter"], kt = ["data-cell"], Ct = ["data-cell"], _t = ["data-cell"], xt = ["data-cell"], wt = {
|
|
26
|
-
key: 1,
|
|
27
|
-
ref: "source",
|
|
28
|
-
dir: "auto"
|
|
29
|
-
}, At = {
|
|
30
|
-
__name: "vue-ui-table-sparkline",
|
|
31
|
-
props: {
|
|
32
|
-
config: {
|
|
33
|
-
type: Object,
|
|
34
|
-
default() {
|
|
35
|
-
return {};
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
dataset: {
|
|
39
|
-
type: Array,
|
|
40
|
-
default() {
|
|
41
|
-
return [];
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
emits: ["copyAlt"],
|
|
46
|
-
setup(xe, { expose: we, emit: Ae }) {
|
|
47
|
-
Ge((t) => ({
|
|
48
|
-
v3994ed2c: t.tdo
|
|
49
|
-
}));
|
|
50
|
-
const Se = K(() => import("./vue-ui-sparkline-BCaauQuX.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);
|
|
53
|
-
ke(() => {
|
|
54
|
-
De["chart-background"] && console.warn(
|
|
55
|
-
"VueUiTableSparkline does not support the #chart-background slot."
|
|
56
|
-
);
|
|
57
|
-
});
|
|
58
|
-
const e = k({
|
|
59
|
-
get: () => se(),
|
|
60
|
-
set: (t) => t
|
|
61
|
-
}), P = k(
|
|
62
|
-
() => e.value.userOptions.useCursorPointer
|
|
63
|
-
), { userOptionsVisible: R, setUserOptionsVisibility: oe, keepUserOptionState: ne } = rt({ config: e.value });
|
|
64
|
-
function se() {
|
|
65
|
-
const t = te({
|
|
66
|
-
userConfig: C.config,
|
|
67
|
-
defaultConfig: Oe
|
|
68
|
-
}), l = t.theme;
|
|
69
|
-
if (!l) return t;
|
|
70
|
-
if (!$e.value(t))
|
|
71
|
-
return Pe(t), t;
|
|
72
|
-
const a = te({
|
|
73
|
-
userConfig: dt[l] || C.config,
|
|
74
|
-
defaultConfig: t
|
|
75
|
-
}), n = te({
|
|
76
|
-
userConfig: C.config,
|
|
77
|
-
defaultConfig: a
|
|
78
|
-
});
|
|
79
|
-
return {
|
|
80
|
-
...n,
|
|
81
|
-
customPalette: n.customPalette.length ? n.customPalette : Qe[l] || M
|
|
82
|
-
};
|
|
83
|
-
}
|
|
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
|
-
);
|
|
97
|
-
const { isPrinting: ue, isImaging: re, generatePdf: ie, generateImage: de } = st({
|
|
98
|
-
elementId: `table_${E.value}`,
|
|
99
|
-
fileName: e.value.title.text || "vue-ui-table-sparkline",
|
|
100
|
-
options: e.value.userOptions.print
|
|
101
|
-
}), Ne = k(() => Ye(e.value.customPalette)), T = c(null), H = c(!1), Fe = k(() => e.value.responsiveBreakpoint);
|
|
102
|
-
ke(() => {
|
|
103
|
-
ve();
|
|
104
|
-
});
|
|
105
|
-
const q = c(e.value.colNames), I = Re(null);
|
|
106
|
-
function ve() {
|
|
107
|
-
Ze(C.dataset) && _e({
|
|
108
|
-
componentName: "VueUiTableSparkline",
|
|
109
|
-
type: "dataset"
|
|
110
|
-
}), I.value && I.value.disconnect(), I.value = new ResizeObserver((t) => {
|
|
111
|
-
t.forEach((l) => {
|
|
112
|
-
H.value = l.contentRect.width < Fe.value;
|
|
113
|
-
});
|
|
114
|
-
}), T.value && I.value.observe(T.value), q.value = [];
|
|
115
|
-
for (let t = 0; t < pe.value; t += 1)
|
|
116
|
-
q.value.push(e.value.colNames[t] || `col ${t}`);
|
|
117
|
-
}
|
|
118
|
-
He(() => {
|
|
119
|
-
I.value && I.value.disconnect();
|
|
120
|
-
});
|
|
121
|
-
const V = k(() => (C.dataset.forEach((t, l) => {
|
|
122
|
-
et({
|
|
123
|
-
datasetObject: t,
|
|
124
|
-
requiredAttributes: ["name", "values"]
|
|
125
|
-
}).forEach((a) => {
|
|
126
|
-
_e({
|
|
127
|
-
componentName: "VueUiTableSparkline",
|
|
128
|
-
type: "datasetSerieAttribute",
|
|
129
|
-
property: a,
|
|
130
|
-
index: l
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
}), C.dataset.map((t, l) => {
|
|
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);
|
|
137
|
-
return {
|
|
138
|
-
...t,
|
|
139
|
-
values: t.values || [],
|
|
140
|
-
color: at(t.color) || Ne.value[l] || M[l] || M[l % M.length],
|
|
141
|
-
sum: n,
|
|
142
|
-
average: r,
|
|
143
|
-
median: o,
|
|
144
|
-
sparklineDataset: a.map((d, i) => ({
|
|
145
|
-
period: e.value.colNames[i] || `col ${i}`,
|
|
146
|
-
value: d || 0
|
|
147
|
-
}))
|
|
148
|
-
};
|
|
149
|
-
})));
|
|
150
|
-
function Te(t) {
|
|
151
|
-
const a = (t[0]?.values || []).map(
|
|
152
|
-
(r, o) => t.map((d) => d?.values[o] || [])
|
|
153
|
-
).map(
|
|
154
|
-
(r) => r.map((o, d) => [o, d]).sort((o, d) => d[0] - o[0]).map((o) => o[1])
|
|
155
|
-
);
|
|
156
|
-
return t.map((r, o) => ({
|
|
157
|
-
...r,
|
|
158
|
-
values: r.values || [],
|
|
159
|
-
orders: a[o]
|
|
160
|
-
}));
|
|
161
|
-
}
|
|
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);
|
|
165
|
-
function O() {
|
|
166
|
-
j.value = !1, g.value = void 0, y.value = void 0, ce.value = 1, D.value.forEach((t) => t.state = 1), w.value = {
|
|
167
|
-
name: 1,
|
|
168
|
-
sum: 1,
|
|
169
|
-
average: 1,
|
|
170
|
-
median: 1
|
|
171
|
-
}, m.value = z.value;
|
|
172
|
-
}
|
|
173
|
-
function W(t, l, a) {
|
|
174
|
-
if (["name", "sum", "average", "median"].includes(t.type)) {
|
|
175
|
-
We(t.type, l, a);
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
if (!ge(l)) return;
|
|
179
|
-
if (A.value = l, y.value = void 0, ![null, void 0].includes(g.value) && l !== g.value && (g.value = void 0, O()), D.value[l].state === a && g.value === l) {
|
|
180
|
-
g.value = void 0, O();
|
|
181
|
-
return;
|
|
182
|
-
}
|
|
183
|
-
j.value = !0, g.value = l;
|
|
184
|
-
const n = z.value.map(
|
|
185
|
-
(i) => i.values[l] || []
|
|
186
|
-
), r = a;
|
|
187
|
-
D.value[l].state = r, ce.value = r, l === X.value ? X.value = void 0 : X.value = l;
|
|
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]);
|
|
189
|
-
m.value = d, G.value += 1;
|
|
190
|
-
}
|
|
191
|
-
const pe = k(() => Math.max(...C.dataset.map((t) => (t.values || []).length))), _ = k(() => {
|
|
192
|
-
let t = q.value.map((a) => ({
|
|
193
|
-
type: "reg",
|
|
194
|
-
value: a
|
|
195
|
-
}));
|
|
196
|
-
if (!t.length)
|
|
197
|
-
for (let a = 0; a < pe.value; a += 1)
|
|
198
|
-
t.push({ type: "reg", value: `col ${a + 1}` });
|
|
199
|
-
e.value.showTotal && (t = [
|
|
200
|
-
...t,
|
|
201
|
-
{ type: "sum", value: e.value.translations.total }
|
|
202
|
-
]);
|
|
203
|
-
let l;
|
|
204
|
-
return e.value.showAverage && e.value.showMedian ? l = [
|
|
205
|
-
...t,
|
|
206
|
-
{ type: "average", value: e.value.translations.average },
|
|
207
|
-
{ type: "median", value: e.value.translations.median }
|
|
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;
|
|
218
|
-
}), w = c({
|
|
219
|
-
name: 1,
|
|
220
|
-
sum: 1,
|
|
221
|
-
average: 1,
|
|
222
|
-
median: 1
|
|
223
|
-
}), y = c(void 0);
|
|
224
|
-
function We(t, l, a) {
|
|
225
|
-
if (!m.value || m.value.length === 0 || !be(t)) return;
|
|
226
|
-
if (y.value !== t && (y.value = void 0), ![null, void 0].includes(g.value) && l !== g.value && O(), g.value = void 0, w.value[t] === a && y.value) {
|
|
227
|
-
y.value = void 0, O();
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
y.value = t, j.value = !0, w.value[t] = a, [null, void 0].includes(l) || (D.value[l].state = w.value[t]);
|
|
231
|
-
const n = w.value[t], r = [...m.value].sort((o, d) => {
|
|
232
|
-
const i = o[t] ?? (typeof o[t] == "number" ? 0 : ""), h = d[t] ?? (typeof d[t] == "number" ? 0 : "");
|
|
233
|
-
return typeof i == "string" && typeof h == "string" ? n === -1 ? i.localeCompare(h) : h.localeCompare(i) : typeof i == "number" && typeof h == "number" ? n === -1 ? i - h : h - i : 0;
|
|
234
|
-
});
|
|
235
|
-
m.value = r;
|
|
236
|
-
}
|
|
237
|
-
const A = c(void 0), J = c(void 0);
|
|
238
|
-
function Me({ dataIndex: t, serieIndex: l }) {
|
|
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
|
-
});
|
|
244
|
-
}
|
|
245
|
-
const fe = c(!1);
|
|
246
|
-
function Ue(t) {
|
|
247
|
-
fe.value = t, ae.value += 1;
|
|
248
|
-
}
|
|
249
|
-
function me(t = null) {
|
|
250
|
-
Je(() => {
|
|
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);
|
|
254
|
-
t ? t(r) : ot({
|
|
255
|
-
csvContent: r,
|
|
256
|
-
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
257
|
-
});
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
function ge(t) {
|
|
261
|
-
return e.value.sortedDataColumnIndices.includes(t);
|
|
262
|
-
}
|
|
263
|
-
function be(t) {
|
|
264
|
-
return t.type === "name" || t === "name" ? e.value.sortedSeriesName : t.type === "sum" || t === "sum" ? e.value.sortedSum : t.type === "average" || t === "average" ? e.value.sortedAverage : t.type === "median" || t === "median" ? e.value.sortedMedian : !1;
|
|
265
|
-
}
|
|
266
|
-
function ye(t, l, a) {
|
|
267
|
-
return ["sum", "average", "median"].includes(l.type) ? y.value === l.type && w.value[l.type] === a ? 1 : 0.3 : t === g.value && D.value[t].state === a ? 1 : 0.3;
|
|
268
|
-
}
|
|
269
|
-
function Be() {
|
|
270
|
-
e.value.resetSortOnClickOutside && O();
|
|
271
|
-
}
|
|
272
|
-
const D = k({
|
|
273
|
-
get: () => _.value.map((t) => ({ state: 1 })),
|
|
274
|
-
set: (t) => t
|
|
275
|
-
});
|
|
276
|
-
function Ee(t) {
|
|
277
|
-
if (t?.stage === "start") {
|
|
278
|
-
le.value = !0;
|
|
279
|
-
return;
|
|
280
|
-
}
|
|
281
|
-
if (t?.stage === "end") {
|
|
282
|
-
le.value = !1;
|
|
283
|
-
return;
|
|
284
|
-
}
|
|
285
|
-
de();
|
|
286
|
-
}
|
|
287
|
-
async function he() {
|
|
288
|
-
if (ze("copyAlt", {
|
|
289
|
-
config: e.value,
|
|
290
|
-
dataset: V.value
|
|
291
|
-
}), !e.value.userOptions.callbacks.altCopy) {
|
|
292
|
-
console.warn(
|
|
293
|
-
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
294
|
-
);
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
await Promise.resolve(
|
|
298
|
-
e.value.userOptions.callbacks.altCopy({
|
|
299
|
-
config: e.value,
|
|
300
|
-
dataset: V.value
|
|
301
|
-
})
|
|
302
|
-
);
|
|
303
|
-
}
|
|
304
|
-
return we({
|
|
305
|
-
generatePdf: ie,
|
|
306
|
-
generateImage: de,
|
|
307
|
-
generateCsv: me,
|
|
308
|
-
restoreOrder: O,
|
|
309
|
-
copyAlt: he
|
|
310
|
-
}), (t, l) => (v(), p("div", {
|
|
311
|
-
ref_key: "tableContainer",
|
|
312
|
-
ref: T,
|
|
313
|
-
class: Q({
|
|
314
|
-
"vue-data-ui-component": !0,
|
|
315
|
-
"vue-ui-table-sparkline": !0,
|
|
316
|
-
"vue-ui-responsive": H.value
|
|
317
|
-
}),
|
|
318
|
-
style: { overflow: "hidden" },
|
|
319
|
-
id: `table_${E.value}`,
|
|
320
|
-
onMouseenter: l[3] || (l[3] = () => u(oe)(!0)),
|
|
321
|
-
onMouseleave: l[4] || (l[4] = () => u(oe)(!1))
|
|
322
|
-
}, [
|
|
323
|
-
e.value.title.text ? (v(), p("div", {
|
|
324
|
-
key: 0,
|
|
325
|
-
class: "vue-ui-table-sparkline-caption",
|
|
326
|
-
style: s({ backgroundColor: e.value.title.backgroundColor })
|
|
327
|
-
}, [
|
|
328
|
-
f("div", {
|
|
329
|
-
class: "atom-title",
|
|
330
|
-
style: s({
|
|
331
|
-
fontSize: `${e.value.title.fontSize}px`,
|
|
332
|
-
fontWeight: e.value.title.bold ? "bold" : "normal",
|
|
333
|
-
color: e.value.title.color,
|
|
334
|
-
textAlign: e.value.title.textAlign
|
|
335
|
-
})
|
|
336
|
-
}, x(e.value.title.text), 5),
|
|
337
|
-
e.value.title.subtitle.text ? (v(), p("div", {
|
|
338
|
-
key: 0,
|
|
339
|
-
class: "atom-subtitle",
|
|
340
|
-
style: s({
|
|
341
|
-
fontSize: `${e.value.title.subtitle.fontSize}px`,
|
|
342
|
-
fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
|
|
343
|
-
color: e.value.title.subtitle.color,
|
|
344
|
-
textAlign: e.value.title.textAlign
|
|
345
|
-
})
|
|
346
|
-
}, x(e.value.title.subtitle.text), 5)) : b("", !0)
|
|
347
|
-
], 4)) : b("", !0),
|
|
348
|
-
f("div", {
|
|
349
|
-
style: { overflow: "auto" },
|
|
350
|
-
onPointerleave: l[2] || (l[2] = (a) => {
|
|
351
|
-
J.value = void 0, A.value = void 0;
|
|
352
|
-
})
|
|
353
|
-
}, [
|
|
354
|
-
f("table", {
|
|
355
|
-
class: "vue-ui-data-table",
|
|
356
|
-
style: s({
|
|
357
|
-
fontFamily: e.value.fontFamily,
|
|
358
|
-
position: "relative"
|
|
359
|
-
})
|
|
360
|
-
}, [
|
|
361
|
-
f("thead", pt, [
|
|
362
|
-
qe((v(), p("tr", {
|
|
363
|
-
role: "row",
|
|
364
|
-
class: "vue-ui-data-table__thead-row",
|
|
365
|
-
style: s({
|
|
366
|
-
backgroundColor: e.value.thead.backgroundColor,
|
|
367
|
-
color: e.value.thead.color
|
|
368
|
-
})
|
|
369
|
-
}, [
|
|
370
|
-
f("th", {
|
|
371
|
-
role: "cell",
|
|
372
|
-
style: s({
|
|
373
|
-
backgroundColor: e.value.thead.backgroundColor,
|
|
374
|
-
border: e.value.thead.outline,
|
|
375
|
-
textAlign: e.value.thead.textAlign,
|
|
376
|
-
fontWeight: e.value.thead.bold ? "bold" : "normal"
|
|
377
|
-
}),
|
|
378
|
-
class: "sticky-col-first"
|
|
379
|
-
}, [
|
|
380
|
-
f("div", {
|
|
381
|
-
style: s({
|
|
382
|
-
display: "flex",
|
|
383
|
-
flexDirection: "row",
|
|
384
|
-
alignItems: "center",
|
|
385
|
-
gap: "3px",
|
|
386
|
-
justifyContent: e.value.thead.textAlign
|
|
387
|
-
})
|
|
388
|
-
}, [
|
|
389
|
-
f("span", null, x(e.value.translations.serie), 1),
|
|
390
|
-
m.value.length > 1 && e.value.sortedSeriesName ? (v(), p("div", ft, [
|
|
391
|
-
f("button", {
|
|
392
|
-
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
393
|
-
onClick: l[0] || (l[0] = (a) => W(
|
|
394
|
-
{ type: "name" },
|
|
395
|
-
null,
|
|
396
|
-
-1
|
|
397
|
-
)),
|
|
398
|
-
style: s({
|
|
399
|
-
cursor: P.value ? "pointer" : "default"
|
|
400
|
-
})
|
|
401
|
-
}, [
|
|
402
|
-
N(u(F), {
|
|
403
|
-
size: 12,
|
|
404
|
-
name: "arrowBottom",
|
|
405
|
-
stroke: e.value.thead.color,
|
|
406
|
-
style: s({
|
|
407
|
-
opacity: y.value === "name" && w.value.name === -1 ? 1 : 0.3
|
|
408
|
-
})
|
|
409
|
-
}, null, 8, ["stroke", "style"])
|
|
410
|
-
], 4),
|
|
411
|
-
f("button", {
|
|
412
|
-
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
413
|
-
onClick: l[1] || (l[1] = (a) => W(
|
|
414
|
-
{ type: "name" },
|
|
415
|
-
null,
|
|
416
|
-
1
|
|
417
|
-
)),
|
|
418
|
-
style: s({
|
|
419
|
-
cursor: P.value ? "pointer" : "default"
|
|
420
|
-
})
|
|
421
|
-
}, [
|
|
422
|
-
N(u(F), {
|
|
423
|
-
size: 12,
|
|
424
|
-
name: "arrowTop",
|
|
425
|
-
stroke: e.value.thead.color,
|
|
426
|
-
style: s({
|
|
427
|
-
opacity: y.value === "name" && w.value.name === 1 ? 1 : 0.3
|
|
428
|
-
})
|
|
429
|
-
}, null, 8, ["stroke", "style"])
|
|
430
|
-
], 4)
|
|
431
|
-
])) : b("", !0)
|
|
432
|
-
], 4)
|
|
433
|
-
], 4),
|
|
434
|
-
(v(!0), p(Y, null, Z(_.value, (a, n) => (v(), p("th", {
|
|
435
|
-
role: "cell",
|
|
436
|
-
style: s({
|
|
437
|
-
background: e.value.thead.backgroundColor,
|
|
438
|
-
border: e.value.thead.outline,
|
|
439
|
-
textAlign: e.value.thead.textAlign,
|
|
440
|
-
fontWeight: e.value.thead.bold ? "bold" : "normal",
|
|
441
|
-
minWidth: n === _.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
442
|
-
paddingRight: n === _.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
443
|
-
}),
|
|
444
|
-
class: Q({
|
|
445
|
-
"sticky-col": n === _.value.length - 1 && e.value.showSparklines
|
|
446
|
-
})
|
|
447
|
-
}, [
|
|
448
|
-
f("div", {
|
|
449
|
-
style: s({
|
|
450
|
-
display: "flex",
|
|
451
|
-
flexDirection: "row",
|
|
452
|
-
alignItems: "center",
|
|
453
|
-
gap: "3px",
|
|
454
|
-
justifyContent: e.value.thead.textAlign
|
|
455
|
-
})
|
|
456
|
-
}, [
|
|
457
|
-
f("span", null, x(a.value), 1),
|
|
458
|
-
m.value.length > 1 && (ge(n) || be(a)) ? (v(), p("div", mt, [
|
|
459
|
-
f("button", {
|
|
460
|
-
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
461
|
-
onClick: () => W(a, n, -1),
|
|
462
|
-
style: s({
|
|
463
|
-
cursor: P.value ? "pointer" : "default"
|
|
464
|
-
})
|
|
465
|
-
}, [
|
|
466
|
-
N(u(F), {
|
|
467
|
-
size: 12,
|
|
468
|
-
name: "arrowBottom",
|
|
469
|
-
stroke: e.value.thead.color,
|
|
470
|
-
style: s({
|
|
471
|
-
opacity: ye(
|
|
472
|
-
n,
|
|
473
|
-
a,
|
|
474
|
-
-1
|
|
475
|
-
)
|
|
476
|
-
})
|
|
477
|
-
}, null, 8, ["stroke", "style"])
|
|
478
|
-
], 12, gt),
|
|
479
|
-
f("button", {
|
|
480
|
-
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
481
|
-
onClick: () => W(a, n, 1),
|
|
482
|
-
style: s({
|
|
483
|
-
cursor: P.value ? "pointer" : "default"
|
|
484
|
-
})
|
|
485
|
-
}, [
|
|
486
|
-
N(u(F), {
|
|
487
|
-
size: 12,
|
|
488
|
-
name: "arrowTop",
|
|
489
|
-
stroke: e.value.thead.color,
|
|
490
|
-
style: s({
|
|
491
|
-
opacity: ye(
|
|
492
|
-
n,
|
|
493
|
-
a,
|
|
494
|
-
1
|
|
495
|
-
)
|
|
496
|
-
})
|
|
497
|
-
}, null, 8, ["stroke", "style"])
|
|
498
|
-
], 12, bt)
|
|
499
|
-
])) : b("", !0)
|
|
500
|
-
], 4),
|
|
501
|
-
e.value.userOptions.show && n === _.value.length - 1 && (u(ne) || u(R)) ? (v(), Xe(u(Ie), {
|
|
502
|
-
ref_for: !0,
|
|
503
|
-
ref: "details",
|
|
504
|
-
key: `user_option_${ae.value}`,
|
|
505
|
-
backgroundColor: e.value.thead.backgroundColor,
|
|
506
|
-
color: e.value.thead.color,
|
|
507
|
-
isPrinting: u(ue),
|
|
508
|
-
isImaging: u(re),
|
|
509
|
-
uid: E.value,
|
|
510
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
511
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
512
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
513
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
514
|
-
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
515
|
-
isFullscreen: fe.value,
|
|
516
|
-
titles: {
|
|
517
|
-
...e.value.userOptions.buttonTitles
|
|
518
|
-
},
|
|
519
|
-
chartElement: T.value,
|
|
520
|
-
position: e.value.userOptions.position,
|
|
521
|
-
callbacks: e.value.userOptions.callbacks,
|
|
522
|
-
printScale: e.value.userOptions.print.scale,
|
|
523
|
-
isCursorPointer: P.value,
|
|
524
|
-
onToggleFullscreen: Ue,
|
|
525
|
-
onGeneratePdf: u(ie),
|
|
526
|
-
onGenerateImage: Ee,
|
|
527
|
-
onGenerateCsv: me,
|
|
528
|
-
onCopyAlt: he,
|
|
529
|
-
style: s({
|
|
530
|
-
visibility: u(ne) ? u(R) ? "visible" : "hidden" : "visible"
|
|
531
|
-
})
|
|
532
|
-
}, je({ _: 2 }, [
|
|
533
|
-
t.$slots.menuIcon ? {
|
|
534
|
-
name: "menuIcon",
|
|
535
|
-
fn: $(({ isOpen: r, color: o }) => [
|
|
536
|
-
S(t.$slots, "menuIcon", ee({ ref_for: !0 }, { isOpen: r, color: o }), void 0, !0)
|
|
537
|
-
]),
|
|
538
|
-
key: "0"
|
|
539
|
-
} : void 0,
|
|
540
|
-
t.$slots.optionPdf ? {
|
|
541
|
-
name: "optionPdf",
|
|
542
|
-
fn: $(() => [
|
|
543
|
-
S(t.$slots, "optionPdf", {}, void 0, !0)
|
|
544
|
-
]),
|
|
545
|
-
key: "1"
|
|
546
|
-
} : void 0,
|
|
547
|
-
t.$slots.optionCsv ? {
|
|
548
|
-
name: "optionCsv",
|
|
549
|
-
fn: $(() => [
|
|
550
|
-
S(t.$slots, "optionCsv", {}, void 0, !0)
|
|
551
|
-
]),
|
|
552
|
-
key: "2"
|
|
553
|
-
} : void 0,
|
|
554
|
-
t.$slots.optionImg ? {
|
|
555
|
-
name: "optionImg",
|
|
556
|
-
fn: $(() => [
|
|
557
|
-
S(t.$slots, "optionImg", {}, void 0, !0)
|
|
558
|
-
]),
|
|
559
|
-
key: "3"
|
|
560
|
-
} : void 0,
|
|
561
|
-
t.$slots.optionFullscreen ? {
|
|
562
|
-
name: "optionFullscreen",
|
|
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)
|
|
571
|
-
]),
|
|
572
|
-
key: "4"
|
|
573
|
-
} : void 0,
|
|
574
|
-
t.$slots.optionAltCopy ? {
|
|
575
|
-
name: "optionAltCopy",
|
|
576
|
-
fn: $(({ altCopy: r }) => [
|
|
577
|
-
S(t.$slots, "optionAltCopy", ee({ ref_for: !0 }, { altCopy: r }), void 0, !0)
|
|
578
|
-
]),
|
|
579
|
-
key: "5"
|
|
580
|
-
} : void 0
|
|
581
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "callbacks", "printScale", "isCursorPointer", "onGeneratePdf", "style"])) : b("", !0)
|
|
582
|
-
], 6))), 256))
|
|
583
|
-
], 4)), [
|
|
584
|
-
[u(it), Be]
|
|
585
|
-
])
|
|
586
|
-
]),
|
|
587
|
-
f("tbody", null, [
|
|
588
|
-
(v(!0), p(Y, null, Z(m.value, (a, n) => (v(), p("tr", {
|
|
589
|
-
role: "row",
|
|
590
|
-
style: s({
|
|
591
|
-
backgroundColor: e.value.tbody.backgroundColor,
|
|
592
|
-
color: e.value.tbody.color
|
|
593
|
-
}),
|
|
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
|
-
})
|
|
599
|
-
}, [
|
|
600
|
-
f("td", {
|
|
601
|
-
role: "cell",
|
|
602
|
-
style: s({
|
|
603
|
-
backgroundColor: e.value.tbody.backgroundColor,
|
|
604
|
-
border: e.value.tbody.outline,
|
|
605
|
-
fontSize: `${e.value.tbody.fontSize}px`,
|
|
606
|
-
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
607
|
-
textAlign: e.value.tbody.textAlign
|
|
608
|
-
}),
|
|
609
|
-
"data-cell": e.value.translations.serie,
|
|
610
|
-
class: "vue-ui-data-table__tbody__td sticky-col-first"
|
|
611
|
-
}, [
|
|
612
|
-
f("div", {
|
|
613
|
-
dir: "auto",
|
|
614
|
-
style: s({
|
|
615
|
-
display: "flex",
|
|
616
|
-
flexDirection: "row",
|
|
617
|
-
alignItems: "center",
|
|
618
|
-
gap: "6px",
|
|
619
|
-
justifyContent: e.value.tbody.textAlign
|
|
620
|
-
})
|
|
621
|
-
}, [
|
|
622
|
-
e.value.tbody.showColorMarker ? (v(), p("span", {
|
|
623
|
-
key: 0,
|
|
624
|
-
style: s({ color: a.color })
|
|
625
|
-
}, "⬤", 4)) : b("", !0),
|
|
626
|
-
f("span", null, x(a.name ?? "-"), 1)
|
|
627
|
-
], 4)
|
|
628
|
-
], 12, yt),
|
|
629
|
-
(v(!0), p(Y, null, Z(Ve.value, (r, o) => (v(), p("td", {
|
|
630
|
-
dir: "auto",
|
|
631
|
-
role: "cell",
|
|
632
|
-
ref_for: !0,
|
|
633
|
-
ref_key: "TD",
|
|
634
|
-
ref: L,
|
|
635
|
-
style: s({
|
|
636
|
-
border: e.value.tbody.outline,
|
|
637
|
-
fontSize: `${e.value.tbody.fontSize}px`,
|
|
638
|
-
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
639
|
-
textAlign: e.value.tbody.textAlign,
|
|
640
|
-
background: A.value !== void 0 && o === A.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
|
|
641
|
-
}),
|
|
642
|
-
"data-cell": _.value[o] ? _.value[o].value : "",
|
|
643
|
-
class: "vue-ui-data-table__tbody__td",
|
|
644
|
-
onPointerenter: (d) => {
|
|
645
|
-
J.value = n, A.value = o;
|
|
646
|
-
}
|
|
647
|
-
}, x([null, void 0].includes(a.values[o]) ? "-" : u(U)(
|
|
648
|
-
e.value.formatter,
|
|
649
|
-
Number(a.values[o]),
|
|
650
|
-
u(B)({
|
|
651
|
-
p: e.value.prefix,
|
|
652
|
-
v: Number(a.values[o]),
|
|
653
|
-
s: e.value.suffix,
|
|
654
|
-
r: e.value.roundingValues
|
|
655
|
-
}),
|
|
656
|
-
{
|
|
657
|
-
datapoint: a,
|
|
658
|
-
seriesIndex: n,
|
|
659
|
-
datapointIndex: o
|
|
660
|
-
}
|
|
661
|
-
)), 45, ht))), 256)),
|
|
662
|
-
e.value.showTotal ? (v(), p("td", {
|
|
663
|
-
key: 0,
|
|
664
|
-
dir: "auto",
|
|
665
|
-
role: "cell",
|
|
666
|
-
style: s({
|
|
667
|
-
border: e.value.tbody.outline,
|
|
668
|
-
fontSize: `${e.value.tbody.fontSize}px`,
|
|
669
|
-
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
670
|
-
textAlign: e.value.tbody.textAlign
|
|
671
|
-
}),
|
|
672
|
-
"data-cell": e.value.translations.total,
|
|
673
|
-
class: "vue-ui-data-table__tbody__td"
|
|
674
|
-
}, x(u(U)(
|
|
675
|
-
e.value.formatter,
|
|
676
|
-
a.sum,
|
|
677
|
-
u(B)({
|
|
678
|
-
p: e.value.prefix,
|
|
679
|
-
v: a.sum,
|
|
680
|
-
s: e.value.suffix,
|
|
681
|
-
r: e.value.roundingTotal
|
|
682
|
-
}),
|
|
683
|
-
{ datapoint: a.sum, seriesIndex: n }
|
|
684
|
-
)), 13, kt)) : b("", !0),
|
|
685
|
-
e.value.showAverage ? (v(), p("td", {
|
|
686
|
-
key: 1,
|
|
687
|
-
dir: "auto",
|
|
688
|
-
role: "cell",
|
|
689
|
-
style: s({
|
|
690
|
-
border: e.value.tbody.outline,
|
|
691
|
-
fontSize: `${e.value.tbody.fontSize}px`,
|
|
692
|
-
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
693
|
-
textAlign: e.value.tbody.textAlign
|
|
694
|
-
}),
|
|
695
|
-
"data-cell": e.value.translations.average,
|
|
696
|
-
class: "vue-ui-data-table__tbody__td"
|
|
697
|
-
}, x(u(U)(
|
|
698
|
-
e.value.formatter,
|
|
699
|
-
a.average,
|
|
700
|
-
u(B)({
|
|
701
|
-
p: e.value.prefix,
|
|
702
|
-
v: a.average,
|
|
703
|
-
s: e.value.suffix,
|
|
704
|
-
r: e.value.roundingAverage
|
|
705
|
-
}),
|
|
706
|
-
{ datapoint: a.average, seriesIndex: n }
|
|
707
|
-
)), 13, Ct)) : b("", !0),
|
|
708
|
-
e.value.showMedian ? (v(), p("td", {
|
|
709
|
-
key: 2,
|
|
710
|
-
dir: "auto",
|
|
711
|
-
role: "cell",
|
|
712
|
-
style: s({
|
|
713
|
-
border: e.value.tbody.outline,
|
|
714
|
-
fontSize: `${e.value.tbody.fontSize}px`,
|
|
715
|
-
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
716
|
-
textAlign: e.value.tbody.textAlign
|
|
717
|
-
}),
|
|
718
|
-
"data-cell": e.value.translations.median,
|
|
719
|
-
class: "vue-ui-data-table__tbody__td"
|
|
720
|
-
}, x(u(U)(
|
|
721
|
-
e.value.formatter,
|
|
722
|
-
a.median,
|
|
723
|
-
u(B)({
|
|
724
|
-
p: e.value.prefix,
|
|
725
|
-
v: a.median,
|
|
726
|
-
s: e.value.suffix,
|
|
727
|
-
r: e.value.roundingMedian
|
|
728
|
-
}),
|
|
729
|
-
{ datapoint: a.median, seriesIndex: n }
|
|
730
|
-
)), 13, _t)) : b("", !0),
|
|
731
|
-
e.value.showSparklines ? (v(), p("td", {
|
|
732
|
-
key: 3,
|
|
733
|
-
role: "cell",
|
|
734
|
-
"data-cell": e.value.translations.chart,
|
|
735
|
-
style: s({
|
|
736
|
-
border: e.value.tbody.outline,
|
|
737
|
-
fontSize: `${e.value.tbody.fontSize}px`,
|
|
738
|
-
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
739
|
-
textAlign: e.value.tbody.textAlign,
|
|
740
|
-
backgroundColor: e.value.tbody.backgroundColor,
|
|
741
|
-
padding: "0"
|
|
742
|
-
}),
|
|
743
|
-
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
744
|
-
}, [
|
|
745
|
-
N(u(Se), {
|
|
746
|
-
onHoverIndex: ({ index: r }) => Me({
|
|
747
|
-
dataIndex: r,
|
|
748
|
-
serieIndex: n
|
|
749
|
-
}),
|
|
750
|
-
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
751
|
-
"forced-padding": 30,
|
|
752
|
-
dataset: a.sparklineDataset,
|
|
753
|
-
showInfo: !1,
|
|
754
|
-
selectedIndex: A.value,
|
|
755
|
-
config: {
|
|
756
|
-
type: e.value.sparkline.type,
|
|
757
|
-
style: {
|
|
758
|
-
backgroundColor: "transparent",
|
|
759
|
-
animation: {
|
|
760
|
-
show: e.value.sparkline.animation.show && !u(ue) && !u(re),
|
|
761
|
-
animationFrames: e.value.sparkline.animation.animationFrames
|
|
762
|
-
},
|
|
763
|
-
padding: {
|
|
764
|
-
right: 12
|
|
765
|
-
},
|
|
766
|
-
line: {
|
|
767
|
-
color: a.color,
|
|
768
|
-
smooth: e.value.sparkline.smooth,
|
|
769
|
-
strokeWidth: e.value.sparkline.strokeWidth
|
|
770
|
-
},
|
|
771
|
-
bar: {
|
|
772
|
-
color: a.color
|
|
773
|
-
},
|
|
774
|
-
area: {
|
|
775
|
-
color: a.color,
|
|
776
|
-
opacity: e.value.sparkline.showArea ? 16 : 0,
|
|
777
|
-
useGradient: e.value.sparkline.useGradient
|
|
778
|
-
},
|
|
779
|
-
verticalIndicator: {
|
|
780
|
-
color: a.color
|
|
781
|
-
},
|
|
782
|
-
plot: {
|
|
783
|
-
radius: 9,
|
|
784
|
-
stroke: e.value.tbody.backgroundColor,
|
|
785
|
-
strokeWidth: 3
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
}, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
|
|
790
|
-
], 12, xt)) : b("", !0)
|
|
791
|
-
], 6))), 256))
|
|
792
|
-
])
|
|
793
|
-
], 4)
|
|
794
|
-
], 32),
|
|
795
|
-
t.$slots.source ? (v(), p("div", wt, [
|
|
796
|
-
S(t.$slots, "source", {}, void 0, !0)
|
|
797
|
-
], 512)) : b("", !0)
|
|
798
|
-
], 42, ct));
|
|
799
|
-
}
|
|
800
|
-
}, Vt = /* @__PURE__ */ vt(At, [["__scopeId", "data-v-8aa952ba"]]);
|
|
801
|
-
export {
|
|
802
|
-
Vt as default
|
|
803
|
-
};
|