vue-data-ui 3.17.13 → 3.18.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/README.md +1 -1
- package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
- package/dist/Arrow-BU2Z7mfz.js +116 -0
- package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
- package/dist/BaseIcon-CL6Y7alf.js +499 -0
- package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
- package/dist/BaseScanner-C7dmAref.js +27 -0
- package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
- package/dist/ColorPicker-BGbMrtup.js +255 -0
- package/dist/DataTable-ZG4GX2Zg.js +150 -0
- package/dist/Legend-BPb8i4aC.js +114 -0
- package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
- package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
- package/dist/PenAndPaper-DxBCVZAx.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-Dbug7CtK.js +141 -0
- package/dist/Slicer-SEdaKYPX.js +1144 -0
- package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
- package/dist/SparkTooltip-BaONR2nq.js +93 -0
- package/dist/Title-ByyzJzpc.js +87 -0
- package/dist/Tooltip-V6Z0Ko-1.js +307 -0
- package/dist/UserOptions-Gaw1761w.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-C9UOX1d2.js +237 -0
- package/dist/exposedLib-BQjH823l.js +19 -0
- package/dist/geoProjections-CQIkC70z.js +146 -0
- package/dist/img-NMY-_LiJ.js +74 -0
- package/dist/labelUtils-BiSegLOT.js +19 -0
- package/dist/lib-B83ZCydz.js +1879 -0
- package/dist/patternUtils-B7BWu5bV.js +258 -0
- package/dist/pdf-Ey2KFETK.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 +4766 -630
- 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-De0rTecW.js +50 -0
- package/dist/useChartAccessibility-Do37qcw2.js +12 -0
- package/dist/useConfig-KnOLHtlJ.js +7419 -0
- package/dist/useFitSvgText-C-MEdAfe.js +63 -0
- package/dist/useNestedProp-CcxL1gUU.js +10 -0
- package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
- package/dist/usePanZoom-B-4M_gmY.js +157 -0
- package/dist/usePrefersMotion-BywLbIko.js +15 -0
- package/dist/usePrinter-CMLF900n.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-D1REqS_k.js +274 -0
- package/dist/vue-data-ui.js +76 -167
- package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
- package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
- package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
- package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
- package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
- package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
- package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
- package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
- package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
- package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
- package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
- package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
- package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
- package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
- package/dist/vue-ui-digits-CcB3odN7.js +209 -0
- package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
- package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
- package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
- package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
- package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
- package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
- package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
- package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
- package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
- package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
- package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
- package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
- package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
- package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
- package/dist/vue-ui-molecule-D72kzel_.js +912 -0
- package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
- package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
- package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
- package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.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-zNFIXNt9.js +1966 -0
- package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
- package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
- package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
- package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
- package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
- package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
- package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
- package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
- package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
- package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
- package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
- package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
- package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
- package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
- package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
- package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
- package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
- package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
- package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
- package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
- package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
- package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
- package/dist/vue-ui-timer-DCbxsREb.js +439 -0
- package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
- package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
- package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
- package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
- package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
- package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
- package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
- package/dist/vue-ui-xy-canvas-DU7vFrQr.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
|
@@ -0,0 +1,697 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { G as t, H as n, J as r, Lt as i, S as a, St as ee, Tt as o, X as te, f as ne, i as s, ot as re, x as ie, y as ae } from "./lib-B83ZCydz.js";
|
|
3
|
+
import { t as oe } from "./useConfig-KnOLHtlJ.js";
|
|
4
|
+
import { t as se } from "./usePrinter-CMLF900n.js";
|
|
5
|
+
import { t as c } from "./useNestedProp-CcxL1gUU.js";
|
|
6
|
+
import { t as ce } from "./useThemeCheck-rFK9Zlb_.js";
|
|
7
|
+
import { t as le } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
8
|
+
import { t as ue } from "./useUserOptionState-CjPJPTg2.js";
|
|
9
|
+
import { t as de } from "./vClickOutside-CbX_bC9A.js";
|
|
10
|
+
import { t as fe } from "./vue_ui_table_sparkline-i0Q-N_we.js";
|
|
11
|
+
import { Fragment as l, computed as u, createBlock as pe, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as me, createVNode as m, defineAsyncComponent as h, mergeProps as g, nextTick as he, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as ge, onMounted as _e, openBlock as y, ref as b, renderList as x, renderSlot as S, shallowRef as ve, toDisplayString as C, unref as w, useCssVars as ye, useSlots as be, watch as xe, withCtx as T, withDirectives as Se } from "vue";
|
|
12
|
+
//#region src/components/vue-ui-table-sparkline.vue
|
|
13
|
+
var Ce = /* @__PURE__ */ e({ default: () => E }), we = ["id"], Te = { style: {
|
|
14
|
+
"z-index": "1",
|
|
15
|
+
"padding-right": "24px"
|
|
16
|
+
} }, Ee = {
|
|
17
|
+
key: 0,
|
|
18
|
+
style: {
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "row",
|
|
21
|
+
alignItems: "center"
|
|
22
|
+
}
|
|
23
|
+
}, De = {
|
|
24
|
+
key: 0,
|
|
25
|
+
style: {
|
|
26
|
+
display: "flex",
|
|
27
|
+
flexDirection: "row",
|
|
28
|
+
alignItems: "center"
|
|
29
|
+
}
|
|
30
|
+
}, Oe = ["onClick"], ke = ["onClick"], Ae = ["data-cell"], je = ["data-cell", "onPointerenter"], Me = ["data-cell"], Ne = ["data-cell"], Pe = ["data-cell"], Fe = ["data-cell"], Ie = {
|
|
31
|
+
key: 1,
|
|
32
|
+
ref: "source",
|
|
33
|
+
dir: "auto"
|
|
34
|
+
}, E = /* @__PURE__ */ le({
|
|
35
|
+
__name: "vue-ui-table-sparkline",
|
|
36
|
+
props: {
|
|
37
|
+
config: {
|
|
38
|
+
type: Object,
|
|
39
|
+
default() {
|
|
40
|
+
return {};
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
dataset: {
|
|
44
|
+
type: Array,
|
|
45
|
+
default() {
|
|
46
|
+
return [];
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
emits: ["copyAlt"],
|
|
51
|
+
setup(e, { expose: le, emit: Ce }) {
|
|
52
|
+
ye((e) => ({ v3994ed2c: e.tdo }));
|
|
53
|
+
let E = h(() => import("./vue-ui-sparkline-DirLW9Nd.js").then((e) => e.n)), D = h(() => import("./BaseIcon-CL6Y7alf.js").then((e) => e.n)), Le = h(() => import("./UserOptions-Gaw1761w.js").then((e) => e.n)), { vue_ui_table_sparkline: Re } = oe(), { isThemeValid: ze, warnInvalidTheme: Be } = ce(), O = e, Ve = Ce, k = b(n()), A = b(0), j = b(0), M = b(null), He = be(), Ue = b(!1);
|
|
54
|
+
_e(() => {
|
|
55
|
+
He["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
56
|
+
});
|
|
57
|
+
let N = u({
|
|
58
|
+
get: () => Ke(),
|
|
59
|
+
set: (e) => e
|
|
60
|
+
}), P = u(() => N.value.userOptions.useCursorPointer), { userOptionsVisible: F, setUserOptionsVisibility: We, keepUserOptionState: Ge } = ue({ config: N.value });
|
|
61
|
+
function Ke() {
|
|
62
|
+
let e = c({
|
|
63
|
+
userConfig: O.config,
|
|
64
|
+
defaultConfig: Re
|
|
65
|
+
}), t = e.theme;
|
|
66
|
+
if (!t) return e;
|
|
67
|
+
if (!ze.value(e)) return Be(e), e;
|
|
68
|
+
let n = c({
|
|
69
|
+
userConfig: fe[t] || O.config,
|
|
70
|
+
defaultConfig: e
|
|
71
|
+
}), r = c({
|
|
72
|
+
userConfig: O.config,
|
|
73
|
+
defaultConfig: n
|
|
74
|
+
});
|
|
75
|
+
return {
|
|
76
|
+
...r,
|
|
77
|
+
customPalette: r.customPalette.length ? r.customPalette : i[t] || o
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
xe(() => O.config, (e) => {
|
|
81
|
+
N.value = Ke(), F.value = !N.value.userOptions.showOnChartHover, $e(), j.value += 1;
|
|
82
|
+
}, { deep: !0 }), xe(() => O.dataset, (e) => {
|
|
83
|
+
H.value = V.value, j.value += 1;
|
|
84
|
+
}, { deep: !0 });
|
|
85
|
+
let { isPrinting: qe, isImaging: Je, generatePdf: Ye, generateImage: Xe } = se({
|
|
86
|
+
elementId: `table_${k.value}`,
|
|
87
|
+
fileName: N.value.title.text || "vue-ui-table-sparkline",
|
|
88
|
+
options: N.value.userOptions.print
|
|
89
|
+
}), Ze = u(() => ie(N.value.customPalette)), I = b(null), L = b(!1), Qe = u(() => N.value.responsiveBreakpoint);
|
|
90
|
+
_e(() => {
|
|
91
|
+
$e();
|
|
92
|
+
});
|
|
93
|
+
let R = b(N.value.colNames), z = ve(null);
|
|
94
|
+
function $e() {
|
|
95
|
+
ee(O.dataset) && te({
|
|
96
|
+
componentName: "VueUiTableSparkline",
|
|
97
|
+
type: "dataset"
|
|
98
|
+
}), z.value && z.value.disconnect(), z.value = new ResizeObserver((e) => {
|
|
99
|
+
e.forEach((e) => {
|
|
100
|
+
L.value = e.contentRect.width < Qe.value;
|
|
101
|
+
});
|
|
102
|
+
}), I.value && z.value.observe(I.value), R.value = [];
|
|
103
|
+
for (let e = 0; e < rt.value; e += 1) R.value.push(N.value.colNames[e] || `col ${e}`);
|
|
104
|
+
}
|
|
105
|
+
ge(() => {
|
|
106
|
+
z.value && z.value.disconnect();
|
|
107
|
+
});
|
|
108
|
+
let B = u(() => (O.dataset.forEach((e, t) => {
|
|
109
|
+
re({
|
|
110
|
+
datasetObject: e,
|
|
111
|
+
requiredAttributes: ["name", "values"]
|
|
112
|
+
}).forEach((e) => {
|
|
113
|
+
te({
|
|
114
|
+
componentName: "VueUiTableSparkline",
|
|
115
|
+
type: "datasetSerieAttribute",
|
|
116
|
+
property: e,
|
|
117
|
+
index: t
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
}), O.dataset.map((e, t) => {
|
|
121
|
+
let n = (e.values || []).map((e) => isNaN(e) ? 0 : e ?? 0), r = n.reduce((e, t) => e + t, 0), i = r / n.length, a = ne(n);
|
|
122
|
+
return {
|
|
123
|
+
...e,
|
|
124
|
+
values: e.values || [],
|
|
125
|
+
color: ae(e.color) || Ze.value[t] || o[t] || o[t % o.length],
|
|
126
|
+
sum: r,
|
|
127
|
+
average: i,
|
|
128
|
+
median: a,
|
|
129
|
+
sparklineDataset: n.map((e, t) => ({
|
|
130
|
+
period: N.value.colNames[t] || `col ${t}`,
|
|
131
|
+
value: e || 0
|
|
132
|
+
}))
|
|
133
|
+
};
|
|
134
|
+
})));
|
|
135
|
+
function et(e) {
|
|
136
|
+
let t = (e[0]?.values || []).map((t, n) => e.map((e) => e?.values[n] || [])).map((e) => e.map((e, t) => [e, t]).sort((e, t) => t[0] - e[0]).map((e) => e[1]));
|
|
137
|
+
return e.map((e, n) => ({
|
|
138
|
+
...e,
|
|
139
|
+
values: e.values || [],
|
|
140
|
+
orders: t[n]
|
|
141
|
+
}));
|
|
142
|
+
}
|
|
143
|
+
let V = u(() => et(B.value)), H = b(V.value), tt = u(() => Math.max(...H.value.map((e) => (e.values || []).length))), U = b(void 0), W = b(!1), G = b(void 0), nt = b(1);
|
|
144
|
+
function K() {
|
|
145
|
+
W.value = !1, G.value = void 0, X.value = void 0, nt.value = 1, $.value.forEach((e) => e.state = 1), Y.value = {
|
|
146
|
+
name: 1,
|
|
147
|
+
sum: 1,
|
|
148
|
+
average: 1,
|
|
149
|
+
median: 1
|
|
150
|
+
}, H.value = V.value;
|
|
151
|
+
}
|
|
152
|
+
function q(e, t, n) {
|
|
153
|
+
if ([
|
|
154
|
+
"name",
|
|
155
|
+
"sum",
|
|
156
|
+
"average",
|
|
157
|
+
"median"
|
|
158
|
+
].includes(e.type)) {
|
|
159
|
+
it(e.type, t, n);
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
if (!lt(t)) return;
|
|
163
|
+
if (Z.value = t, X.value = void 0, ![null, void 0].includes(G.value) && t !== G.value && (G.value = void 0, K()), $.value[t].state === n && G.value === t) {
|
|
164
|
+
G.value = void 0, K();
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
W.value = !0, G.value = t;
|
|
168
|
+
let r = V.value.map((e) => e.values[t] || []), i = n;
|
|
169
|
+
$.value[t].state = i, nt.value = i, t === U.value ? U.value = void 0 : U.value = t, H.value = r.map((e, t) => [t, e]).sort((e, t) => i * (t[1] - e[1])).map((e) => e[0]).map((e) => V.value[e]), j.value += 1;
|
|
170
|
+
}
|
|
171
|
+
let rt = u(() => Math.max(...O.dataset.map((e) => (e.values || []).length))), J = u(() => {
|
|
172
|
+
let e = R.value.map((e) => ({
|
|
173
|
+
type: "reg",
|
|
174
|
+
value: e
|
|
175
|
+
}));
|
|
176
|
+
if (!e.length) for (let t = 0; t < rt.value; t += 1) e.push({
|
|
177
|
+
type: "reg",
|
|
178
|
+
value: `col ${t + 1}`
|
|
179
|
+
});
|
|
180
|
+
N.value.showTotal && (e = [...e, {
|
|
181
|
+
type: "sum",
|
|
182
|
+
value: N.value.translations.total
|
|
183
|
+
}]);
|
|
184
|
+
let t;
|
|
185
|
+
return t = N.value.showAverage && N.value.showMedian ? [
|
|
186
|
+
...e,
|
|
187
|
+
{
|
|
188
|
+
type: "average",
|
|
189
|
+
value: N.value.translations.average
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
type: "median",
|
|
193
|
+
value: N.value.translations.median
|
|
194
|
+
}
|
|
195
|
+
] : N.value.showAverage && !N.value.showMedian ? [...e, {
|
|
196
|
+
type: "average",
|
|
197
|
+
value: N.value.translations.average
|
|
198
|
+
}] : !N.value.showAverage && N.value.showMedian ? [...e, {
|
|
199
|
+
type: "median",
|
|
200
|
+
value: N.value.translations.median
|
|
201
|
+
}] : e, N.value.showSparklines ? [...t, {
|
|
202
|
+
type: "chart",
|
|
203
|
+
value: N.value.translations.chart
|
|
204
|
+
}] : t;
|
|
205
|
+
}), Y = b({
|
|
206
|
+
name: 1,
|
|
207
|
+
sum: 1,
|
|
208
|
+
average: 1,
|
|
209
|
+
median: 1
|
|
210
|
+
}), X = b(void 0);
|
|
211
|
+
function it(e, t, n) {
|
|
212
|
+
if (!H.value || H.value.length === 0 || !ut(e)) return;
|
|
213
|
+
if (X.value !== e && (X.value = void 0), ![null, void 0].includes(G.value) && t !== G.value && K(), G.value = void 0, Y.value[e] === n && X.value) {
|
|
214
|
+
X.value = void 0, K();
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
X.value = e, W.value = !0, Y.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = Y.value[e]);
|
|
218
|
+
let r = Y.value[e];
|
|
219
|
+
H.value = [...H.value].sort((t, n) => {
|
|
220
|
+
let i = t[e] ?? (typeof t[e] == "number" ? 0 : ""), a = n[e] ?? (typeof n[e] == "number" ? 0 : "");
|
|
221
|
+
return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : typeof i == "number" && typeof a == "number" ? r === -1 ? i - a : a - i : 0;
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
let Z = b(void 0), Q = b(void 0);
|
|
225
|
+
function at({ dataIndex: e, serieIndex: t }) {
|
|
226
|
+
Z.value = e, Q.value = t, M.value[e] && !L.value && M.value[e].scrollIntoView({
|
|
227
|
+
behavior: "smooth",
|
|
228
|
+
block: "nearest",
|
|
229
|
+
inline: "center"
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
let ot = b(!1);
|
|
233
|
+
function st(e) {
|
|
234
|
+
ot.value = e, A.value += 1;
|
|
235
|
+
}
|
|
236
|
+
function ct(e = null) {
|
|
237
|
+
he(() => {
|
|
238
|
+
let t = [N.value.translations.serie].concat(J.value), n = B.value.map((e, t) => [
|
|
239
|
+
[e.name],
|
|
240
|
+
e.values,
|
|
241
|
+
[e.sum],
|
|
242
|
+
[e.average],
|
|
243
|
+
[e.median]
|
|
244
|
+
]), i = a([t].concat(n));
|
|
245
|
+
e ? e(i) : r({
|
|
246
|
+
csvContent: i,
|
|
247
|
+
title: N.value.title.text || "vue-ui-table-sparkline"
|
|
248
|
+
});
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
function lt(e) {
|
|
252
|
+
return N.value.sortedDataColumnIndices.includes(e);
|
|
253
|
+
}
|
|
254
|
+
function ut(e) {
|
|
255
|
+
return e.type === "name" || e === "name" ? N.value.sortedSeriesName : e.type === "sum" || e === "sum" ? N.value.sortedSum : e.type === "average" || e === "average" ? N.value.sortedAverage : e.type === "median" || e === "median" ? N.value.sortedMedian : !1;
|
|
256
|
+
}
|
|
257
|
+
function dt(e, t, n) {
|
|
258
|
+
return [
|
|
259
|
+
"sum",
|
|
260
|
+
"average",
|
|
261
|
+
"median"
|
|
262
|
+
].includes(t.type) ? X.value === t.type && Y.value[t.type] === n ? 1 : .3 : e === G.value && $.value[e].state === n ? 1 : .3;
|
|
263
|
+
}
|
|
264
|
+
function ft() {
|
|
265
|
+
N.value.resetSortOnClickOutside && K();
|
|
266
|
+
}
|
|
267
|
+
let $ = u({
|
|
268
|
+
get: () => J.value.map((e) => ({ state: 1 })),
|
|
269
|
+
set: (e) => e
|
|
270
|
+
});
|
|
271
|
+
function pt(e) {
|
|
272
|
+
if (e?.stage === "start") {
|
|
273
|
+
Ue.value = !0;
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
if (e?.stage === "end") {
|
|
277
|
+
Ue.value = !1;
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
Xe();
|
|
281
|
+
}
|
|
282
|
+
async function mt() {
|
|
283
|
+
if (Ve("copyAlt", {
|
|
284
|
+
config: N.value,
|
|
285
|
+
dataset: B.value
|
|
286
|
+
}), !N.value.userOptions.callbacks.altCopy) {
|
|
287
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
291
|
+
config: N.value,
|
|
292
|
+
dataset: B.value
|
|
293
|
+
}));
|
|
294
|
+
}
|
|
295
|
+
return le({
|
|
296
|
+
generatePdf: Ye,
|
|
297
|
+
generateImage: Xe,
|
|
298
|
+
generateCsv: ct,
|
|
299
|
+
restoreOrder: K,
|
|
300
|
+
copyAlt: mt
|
|
301
|
+
}), (e, n) => (y(), f("div", {
|
|
302
|
+
ref_key: "tableContainer",
|
|
303
|
+
ref: I,
|
|
304
|
+
class: _({
|
|
305
|
+
"vue-data-ui-component": !0,
|
|
306
|
+
"vue-ui-table-sparkline": !0,
|
|
307
|
+
"vue-ui-responsive": L.value
|
|
308
|
+
}),
|
|
309
|
+
style: { overflow: "hidden" },
|
|
310
|
+
id: `table_${k.value}`,
|
|
311
|
+
onMouseenter: n[3] ||= () => w(We)(!0),
|
|
312
|
+
onMouseleave: n[4] ||= () => w(We)(!1)
|
|
313
|
+
}, [
|
|
314
|
+
N.value.title.text ? (y(), f("div", {
|
|
315
|
+
key: 0,
|
|
316
|
+
class: "vue-ui-table-sparkline-caption",
|
|
317
|
+
style: v({ backgroundColor: N.value.title.backgroundColor })
|
|
318
|
+
}, [p("div", {
|
|
319
|
+
class: "atom-title",
|
|
320
|
+
style: v({
|
|
321
|
+
fontSize: `${N.value.title.fontSize}px`,
|
|
322
|
+
fontWeight: N.value.title.bold ? "bold" : "normal",
|
|
323
|
+
color: N.value.title.color,
|
|
324
|
+
textAlign: N.value.title.textAlign
|
|
325
|
+
})
|
|
326
|
+
}, C(N.value.title.text), 5), N.value.title.subtitle.text ? (y(), f("div", {
|
|
327
|
+
key: 0,
|
|
328
|
+
class: "atom-subtitle",
|
|
329
|
+
style: v({
|
|
330
|
+
fontSize: `${N.value.title.subtitle.fontSize}px`,
|
|
331
|
+
fontWeight: N.value.title.subtitle.bold ? "bold" : "normal",
|
|
332
|
+
color: N.value.title.subtitle.color,
|
|
333
|
+
textAlign: N.value.title.textAlign
|
|
334
|
+
})
|
|
335
|
+
}, C(N.value.title.subtitle.text), 5)) : d("", !0)], 4)) : d("", !0),
|
|
336
|
+
p("div", {
|
|
337
|
+
style: { overflow: "auto" },
|
|
338
|
+
onPointerleave: n[2] ||= (e) => {
|
|
339
|
+
Q.value = void 0, Z.value = void 0;
|
|
340
|
+
}
|
|
341
|
+
}, [p("table", {
|
|
342
|
+
class: "vue-ui-data-table",
|
|
343
|
+
style: v({
|
|
344
|
+
fontFamily: N.value.fontFamily,
|
|
345
|
+
position: "relative"
|
|
346
|
+
})
|
|
347
|
+
}, [p("thead", Te, [Se((y(), f("tr", {
|
|
348
|
+
role: "row",
|
|
349
|
+
class: "vue-ui-data-table__thead-row",
|
|
350
|
+
style: v({
|
|
351
|
+
backgroundColor: N.value.thead.backgroundColor,
|
|
352
|
+
color: N.value.thead.color
|
|
353
|
+
})
|
|
354
|
+
}, [p("th", {
|
|
355
|
+
role: "cell",
|
|
356
|
+
style: v({
|
|
357
|
+
backgroundColor: N.value.thead.backgroundColor,
|
|
358
|
+
border: N.value.thead.outline,
|
|
359
|
+
textAlign: N.value.thead.textAlign,
|
|
360
|
+
fontWeight: N.value.thead.bold ? "bold" : "normal"
|
|
361
|
+
}),
|
|
362
|
+
class: "sticky-col-first"
|
|
363
|
+
}, [p("div", { style: v({
|
|
364
|
+
display: "flex",
|
|
365
|
+
flexDirection: "row",
|
|
366
|
+
alignItems: "center",
|
|
367
|
+
gap: "3px",
|
|
368
|
+
justifyContent: N.value.thead.textAlign
|
|
369
|
+
}) }, [p("span", null, C(N.value.translations.serie), 1), H.value.length > 1 && N.value.sortedSeriesName ? (y(), f("div", Ee, [p("button", {
|
|
370
|
+
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
371
|
+
onClick: n[0] ||= (e) => q({ type: "name" }, null, -1),
|
|
372
|
+
style: v({ cursor: P.value ? "pointer" : "default" })
|
|
373
|
+
}, [m(w(D), {
|
|
374
|
+
size: 12,
|
|
375
|
+
name: "arrowBottom",
|
|
376
|
+
stroke: N.value.thead.color,
|
|
377
|
+
style: v({ opacity: X.value === "name" && Y.value.name === -1 ? 1 : .3 })
|
|
378
|
+
}, null, 8, ["stroke", "style"])], 4), p("button", {
|
|
379
|
+
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
380
|
+
onClick: n[1] ||= (e) => q({ type: "name" }, null, 1),
|
|
381
|
+
style: v({ cursor: P.value ? "pointer" : "default" })
|
|
382
|
+
}, [m(w(D), {
|
|
383
|
+
size: 12,
|
|
384
|
+
name: "arrowTop",
|
|
385
|
+
stroke: N.value.thead.color,
|
|
386
|
+
style: v({ opacity: X.value === "name" && Y.value.name === 1 ? 1 : .3 })
|
|
387
|
+
}, null, 8, ["stroke", "style"])], 4)])) : d("", !0)], 4)], 4), (y(!0), f(l, null, x(J.value, (t, n) => (y(), f("th", {
|
|
388
|
+
role: "cell",
|
|
389
|
+
style: v({
|
|
390
|
+
background: N.value.thead.backgroundColor,
|
|
391
|
+
border: N.value.thead.outline,
|
|
392
|
+
textAlign: N.value.thead.textAlign,
|
|
393
|
+
fontWeight: N.value.thead.bold ? "bold" : "normal",
|
|
394
|
+
minWidth: n === J.value.length - 1 ? `${N.value.sparkline.dimensions.width}px` : "48px",
|
|
395
|
+
paddingRight: n === J.value.length - 1 && N.value.userOptions.show ? "36px" : ""
|
|
396
|
+
}),
|
|
397
|
+
class: _({ "sticky-col": n === J.value.length - 1 && N.value.showSparklines })
|
|
398
|
+
}, [p("div", { style: v({
|
|
399
|
+
display: "flex",
|
|
400
|
+
flexDirection: "row",
|
|
401
|
+
alignItems: "center",
|
|
402
|
+
gap: "3px",
|
|
403
|
+
justifyContent: N.value.thead.textAlign
|
|
404
|
+
}) }, [p("span", null, C(t.value), 1), H.value.length > 1 && (lt(n) || ut(t)) ? (y(), f("div", De, [p("button", {
|
|
405
|
+
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
406
|
+
onClick: () => q(t, n, -1),
|
|
407
|
+
style: v({ cursor: P.value ? "pointer" : "default" })
|
|
408
|
+
}, [m(w(D), {
|
|
409
|
+
size: 12,
|
|
410
|
+
name: "arrowBottom",
|
|
411
|
+
stroke: N.value.thead.color,
|
|
412
|
+
style: v({ opacity: dt(n, t, -1) })
|
|
413
|
+
}, null, 8, ["stroke", "style"])], 12, Oe), p("button", {
|
|
414
|
+
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
415
|
+
onClick: () => q(t, n, 1),
|
|
416
|
+
style: v({ cursor: P.value ? "pointer" : "default" })
|
|
417
|
+
}, [m(w(D), {
|
|
418
|
+
size: 12,
|
|
419
|
+
name: "arrowTop",
|
|
420
|
+
stroke: N.value.thead.color,
|
|
421
|
+
style: v({ opacity: dt(n, t, 1) })
|
|
422
|
+
}, null, 8, ["stroke", "style"])], 12, ke)])) : d("", !0)], 4), N.value.userOptions.show && n === J.value.length - 1 && (w(Ge) || w(F)) ? (y(), pe(w(Le), {
|
|
423
|
+
ref_for: !0,
|
|
424
|
+
ref: "details",
|
|
425
|
+
key: `user_option_${A.value}`,
|
|
426
|
+
backgroundColor: N.value.thead.backgroundColor,
|
|
427
|
+
color: N.value.thead.color,
|
|
428
|
+
isPrinting: w(qe),
|
|
429
|
+
isImaging: w(Je),
|
|
430
|
+
uid: k.value,
|
|
431
|
+
hasPdf: N.value.userOptions.buttons.pdf,
|
|
432
|
+
hasXls: N.value.userOptions.buttons.csv,
|
|
433
|
+
hasImg: N.value.userOptions.buttons.img,
|
|
434
|
+
hasFullscreen: N.value.userOptions.buttons.fullscreen,
|
|
435
|
+
hasAltCopy: N.value.userOptions.buttons.altCopy,
|
|
436
|
+
isFullscreen: ot.value,
|
|
437
|
+
titles: { ...N.value.userOptions.buttonTitles },
|
|
438
|
+
chartElement: I.value,
|
|
439
|
+
position: N.value.userOptions.position,
|
|
440
|
+
callbacks: N.value.userOptions.callbacks,
|
|
441
|
+
printScale: N.value.userOptions.print.scale,
|
|
442
|
+
isCursorPointer: P.value,
|
|
443
|
+
onToggleFullscreen: st,
|
|
444
|
+
onGeneratePdf: w(Ye),
|
|
445
|
+
onGenerateImage: pt,
|
|
446
|
+
onGenerateCsv: ct,
|
|
447
|
+
onCopyAlt: mt,
|
|
448
|
+
style: v({ visibility: w(Ge) ? w(F) ? "visible" : "hidden" : "visible" })
|
|
449
|
+
}, me({ _: 2 }, [
|
|
450
|
+
e.$slots.menuIcon ? {
|
|
451
|
+
name: "menuIcon",
|
|
452
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", g({ ref_for: !0 }, {
|
|
453
|
+
isOpen: t,
|
|
454
|
+
color: n
|
|
455
|
+
}), void 0, !0)]),
|
|
456
|
+
key: "0"
|
|
457
|
+
} : void 0,
|
|
458
|
+
e.$slots.optionPdf ? {
|
|
459
|
+
name: "optionPdf",
|
|
460
|
+
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
461
|
+
key: "1"
|
|
462
|
+
} : void 0,
|
|
463
|
+
e.$slots.optionCsv ? {
|
|
464
|
+
name: "optionCsv",
|
|
465
|
+
fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
466
|
+
key: "2"
|
|
467
|
+
} : void 0,
|
|
468
|
+
e.$slots.optionImg ? {
|
|
469
|
+
name: "optionImg",
|
|
470
|
+
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
471
|
+
key: "3"
|
|
472
|
+
} : void 0,
|
|
473
|
+
e.$slots.optionFullscreen ? {
|
|
474
|
+
name: "optionFullscreen",
|
|
475
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", g({ ref_for: !0 }, {
|
|
476
|
+
toggleFullscreen: t,
|
|
477
|
+
isFullscreen: n
|
|
478
|
+
}), void 0, !0)]),
|
|
479
|
+
key: "4"
|
|
480
|
+
} : void 0,
|
|
481
|
+
e.$slots.optionAltCopy ? {
|
|
482
|
+
name: "optionAltCopy",
|
|
483
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", g({ ref_for: !0 }, { altCopy: t }), void 0, !0)]),
|
|
484
|
+
key: "5"
|
|
485
|
+
} : void 0
|
|
486
|
+
]), 1032, [
|
|
487
|
+
"backgroundColor",
|
|
488
|
+
"color",
|
|
489
|
+
"isPrinting",
|
|
490
|
+
"isImaging",
|
|
491
|
+
"uid",
|
|
492
|
+
"hasPdf",
|
|
493
|
+
"hasXls",
|
|
494
|
+
"hasImg",
|
|
495
|
+
"hasFullscreen",
|
|
496
|
+
"hasAltCopy",
|
|
497
|
+
"isFullscreen",
|
|
498
|
+
"titles",
|
|
499
|
+
"chartElement",
|
|
500
|
+
"position",
|
|
501
|
+
"callbacks",
|
|
502
|
+
"printScale",
|
|
503
|
+
"isCursorPointer",
|
|
504
|
+
"onGeneratePdf",
|
|
505
|
+
"style"
|
|
506
|
+
])) : d("", !0)], 6))), 256))], 4)), [[w(de), ft]])]), p("tbody", null, [(y(!0), f(l, null, x(H.value, (e, n) => (y(), f("tr", {
|
|
507
|
+
role: "row",
|
|
508
|
+
style: v({
|
|
509
|
+
backgroundColor: N.value.tbody.backgroundColor,
|
|
510
|
+
color: N.value.tbody.color
|
|
511
|
+
}),
|
|
512
|
+
class: _({
|
|
513
|
+
"vue-ui-data-table__tbody__row": !0,
|
|
514
|
+
"vue-ui-data-table__tbody__row-even": n % 2 == 0,
|
|
515
|
+
"vue-ui-data-table__tbody__row-odd": n % 2 != 0
|
|
516
|
+
})
|
|
517
|
+
}, [
|
|
518
|
+
p("td", {
|
|
519
|
+
role: "cell",
|
|
520
|
+
style: v({
|
|
521
|
+
backgroundColor: N.value.tbody.backgroundColor,
|
|
522
|
+
border: N.value.tbody.outline,
|
|
523
|
+
fontSize: `${N.value.tbody.fontSize}px`,
|
|
524
|
+
fontWeight: N.value.tbody.bold ? "bold" : "normal",
|
|
525
|
+
textAlign: N.value.tbody.textAlign
|
|
526
|
+
}),
|
|
527
|
+
"data-cell": N.value.translations.serie,
|
|
528
|
+
class: "vue-ui-data-table__tbody__td sticky-col-first"
|
|
529
|
+
}, [p("div", {
|
|
530
|
+
dir: "auto",
|
|
531
|
+
style: v({
|
|
532
|
+
display: "flex",
|
|
533
|
+
flexDirection: "row",
|
|
534
|
+
alignItems: "center",
|
|
535
|
+
gap: "6px",
|
|
536
|
+
justifyContent: N.value.tbody.textAlign
|
|
537
|
+
})
|
|
538
|
+
}, [N.value.tbody.showColorMarker ? (y(), f("span", {
|
|
539
|
+
key: 0,
|
|
540
|
+
style: v({ color: e.color })
|
|
541
|
+
}, "⬤", 4)) : d("", !0), p("span", null, C(e.name ?? "-"), 1)], 4)], 12, Ae),
|
|
542
|
+
(y(!0), f(l, null, x(tt.value, (r, i) => (y(), f("td", {
|
|
543
|
+
dir: "auto",
|
|
544
|
+
role: "cell",
|
|
545
|
+
ref_for: !0,
|
|
546
|
+
ref_key: "TD",
|
|
547
|
+
ref: M,
|
|
548
|
+
style: v({
|
|
549
|
+
border: N.value.tbody.outline,
|
|
550
|
+
fontSize: `${N.value.tbody.fontSize}px`,
|
|
551
|
+
fontWeight: N.value.tbody.bold ? "bold" : "normal",
|
|
552
|
+
textAlign: N.value.tbody.textAlign,
|
|
553
|
+
background: Z.value !== void 0 && i === Z.value ? N.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : N.value.tbody.selectedColor.fallback : ""
|
|
554
|
+
}),
|
|
555
|
+
"data-cell": J.value[i] ? J.value[i].value : "",
|
|
556
|
+
class: "vue-ui-data-table__tbody__td",
|
|
557
|
+
onPointerenter: (e) => {
|
|
558
|
+
Q.value = n, Z.value = i;
|
|
559
|
+
}
|
|
560
|
+
}, C([null, void 0].includes(e.values[i]) ? "-" : w(s)(N.value.formatter, Number(e.values[i]), w(t)({
|
|
561
|
+
p: N.value.prefix,
|
|
562
|
+
v: Number(e.values[i]),
|
|
563
|
+
s: N.value.suffix,
|
|
564
|
+
r: N.value.roundingValues
|
|
565
|
+
}), {
|
|
566
|
+
datapoint: e,
|
|
567
|
+
seriesIndex: n,
|
|
568
|
+
datapointIndex: i
|
|
569
|
+
})), 45, je))), 256)),
|
|
570
|
+
N.value.showTotal ? (y(), f("td", {
|
|
571
|
+
key: 0,
|
|
572
|
+
dir: "auto",
|
|
573
|
+
role: "cell",
|
|
574
|
+
style: v({
|
|
575
|
+
border: N.value.tbody.outline,
|
|
576
|
+
fontSize: `${N.value.tbody.fontSize}px`,
|
|
577
|
+
fontWeight: N.value.tbody.bold ? "bold" : "normal",
|
|
578
|
+
textAlign: N.value.tbody.textAlign
|
|
579
|
+
}),
|
|
580
|
+
"data-cell": N.value.translations.total,
|
|
581
|
+
class: "vue-ui-data-table__tbody__td"
|
|
582
|
+
}, C(w(s)(N.value.formatter, e.sum, w(t)({
|
|
583
|
+
p: N.value.prefix,
|
|
584
|
+
v: e.sum,
|
|
585
|
+
s: N.value.suffix,
|
|
586
|
+
r: N.value.roundingTotal
|
|
587
|
+
}), {
|
|
588
|
+
datapoint: e.sum,
|
|
589
|
+
seriesIndex: n
|
|
590
|
+
})), 13, Me)) : d("", !0),
|
|
591
|
+
N.value.showAverage ? (y(), f("td", {
|
|
592
|
+
key: 1,
|
|
593
|
+
dir: "auto",
|
|
594
|
+
role: "cell",
|
|
595
|
+
style: v({
|
|
596
|
+
border: N.value.tbody.outline,
|
|
597
|
+
fontSize: `${N.value.tbody.fontSize}px`,
|
|
598
|
+
fontWeight: N.value.tbody.bold ? "bold" : "normal",
|
|
599
|
+
textAlign: N.value.tbody.textAlign
|
|
600
|
+
}),
|
|
601
|
+
"data-cell": N.value.translations.average,
|
|
602
|
+
class: "vue-ui-data-table__tbody__td"
|
|
603
|
+
}, C(w(s)(N.value.formatter, e.average, w(t)({
|
|
604
|
+
p: N.value.prefix,
|
|
605
|
+
v: e.average,
|
|
606
|
+
s: N.value.suffix,
|
|
607
|
+
r: N.value.roundingAverage
|
|
608
|
+
}), {
|
|
609
|
+
datapoint: e.average,
|
|
610
|
+
seriesIndex: n
|
|
611
|
+
})), 13, Ne)) : d("", !0),
|
|
612
|
+
N.value.showMedian ? (y(), f("td", {
|
|
613
|
+
key: 2,
|
|
614
|
+
dir: "auto",
|
|
615
|
+
role: "cell",
|
|
616
|
+
style: v({
|
|
617
|
+
border: N.value.tbody.outline,
|
|
618
|
+
fontSize: `${N.value.tbody.fontSize}px`,
|
|
619
|
+
fontWeight: N.value.tbody.bold ? "bold" : "normal",
|
|
620
|
+
textAlign: N.value.tbody.textAlign
|
|
621
|
+
}),
|
|
622
|
+
"data-cell": N.value.translations.median,
|
|
623
|
+
class: "vue-ui-data-table__tbody__td"
|
|
624
|
+
}, C(w(s)(N.value.formatter, e.median, w(t)({
|
|
625
|
+
p: N.value.prefix,
|
|
626
|
+
v: e.median,
|
|
627
|
+
s: N.value.suffix,
|
|
628
|
+
r: N.value.roundingMedian
|
|
629
|
+
}), {
|
|
630
|
+
datapoint: e.median,
|
|
631
|
+
seriesIndex: n
|
|
632
|
+
})), 13, Pe)) : d("", !0),
|
|
633
|
+
N.value.showSparklines ? (y(), f("td", {
|
|
634
|
+
key: 3,
|
|
635
|
+
role: "cell",
|
|
636
|
+
"data-cell": N.value.translations.chart,
|
|
637
|
+
style: v({
|
|
638
|
+
border: N.value.tbody.outline,
|
|
639
|
+
fontSize: `${N.value.tbody.fontSize}px`,
|
|
640
|
+
fontWeight: N.value.tbody.bold ? "bold" : "normal",
|
|
641
|
+
textAlign: N.value.tbody.textAlign,
|
|
642
|
+
backgroundColor: N.value.tbody.backgroundColor,
|
|
643
|
+
padding: "0"
|
|
644
|
+
}),
|
|
645
|
+
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
646
|
+
}, [m(w(E), {
|
|
647
|
+
onHoverIndex: ({ index: e }) => at({
|
|
648
|
+
dataIndex: e,
|
|
649
|
+
serieIndex: n
|
|
650
|
+
}),
|
|
651
|
+
"height-ratio": N.value.sparkline.dimensions.heightRatio,
|
|
652
|
+
"forced-padding": 30,
|
|
653
|
+
dataset: e.sparklineDataset,
|
|
654
|
+
showInfo: !1,
|
|
655
|
+
selectedIndex: Z.value,
|
|
656
|
+
config: {
|
|
657
|
+
type: N.value.sparkline.type,
|
|
658
|
+
style: {
|
|
659
|
+
backgroundColor: "transparent",
|
|
660
|
+
animation: {
|
|
661
|
+
show: N.value.sparkline.animation.show && !w(qe) && !w(Je),
|
|
662
|
+
animationFrames: N.value.sparkline.animation.animationFrames
|
|
663
|
+
},
|
|
664
|
+
padding: { right: 12 },
|
|
665
|
+
line: {
|
|
666
|
+
color: e.color,
|
|
667
|
+
smooth: N.value.sparkline.smooth,
|
|
668
|
+
strokeWidth: N.value.sparkline.strokeWidth
|
|
669
|
+
},
|
|
670
|
+
bar: { color: e.color },
|
|
671
|
+
area: {
|
|
672
|
+
color: e.color,
|
|
673
|
+
opacity: N.value.sparkline.showArea ? 16 : 0,
|
|
674
|
+
useGradient: N.value.sparkline.useGradient
|
|
675
|
+
},
|
|
676
|
+
verticalIndicator: { color: e.color },
|
|
677
|
+
plot: {
|
|
678
|
+
radius: 9,
|
|
679
|
+
stroke: N.value.tbody.backgroundColor,
|
|
680
|
+
strokeWidth: 3
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}, null, 8, [
|
|
685
|
+
"onHoverIndex",
|
|
686
|
+
"height-ratio",
|
|
687
|
+
"dataset",
|
|
688
|
+
"selectedIndex",
|
|
689
|
+
"config"
|
|
690
|
+
])], 12, Fe)) : d("", !0)
|
|
691
|
+
], 6))), 256))])], 4)], 32),
|
|
692
|
+
e.$slots.source ? (y(), f("div", Ie, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0)
|
|
693
|
+
], 42, we));
|
|
694
|
+
}
|
|
695
|
+
}, [["__scopeId", "data-v-8aa952ba"]]);
|
|
696
|
+
//#endregion
|
|
697
|
+
export { Ce as n, E as t };
|