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
|
@@ -0,0 +1,1350 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
+
import { G as t, H as n, J as r, Lt as i, Mt as a, S as o, St as ee, Tt as s, X as c, i as l, jt as te, n as ne, nt as re, ot as ie, pt as ae, r as oe, t as se, x as ce, y as le, zt as ue } from "./lib-BkiwukKO.js";
|
|
3
|
+
import { t as de } from "./useConfig-BV0kTCnO.js";
|
|
4
|
+
import { t as fe } from "./usePrinter-X0yWOynH.js";
|
|
5
|
+
import { n as pe, t as me } from "./BaseScanner-C7dmAref.js";
|
|
6
|
+
import { t as he } from "./useSvgExport-Dtu973wa.js";
|
|
7
|
+
import { t as ge } from "./useNestedProp-Ck4hsrpu.js";
|
|
8
|
+
import { t as _e } from "./useThemeCheck-rFK9Zlb_.js";
|
|
9
|
+
import { t as ve } from "./img-BjOr008R.js";
|
|
10
|
+
import { n as ye } from "./Title-__gWq2g6.js";
|
|
11
|
+
import { t as be } from "./Shape-DEGOZ6GG.js";
|
|
12
|
+
import { t as xe } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
13
|
+
import { c as Se } from "./canvas-lib-DTaADQOK.js";
|
|
14
|
+
import { t as Ce } from "./useResponsive-CrAInupd.js";
|
|
15
|
+
import { t as we } from "./BaseLegendToggle-DUIqQmwM.js";
|
|
16
|
+
import { t as Te } from "./A11yDataTable-q2-8fSlJ.js";
|
|
17
|
+
import { t as Ee } from "./useUserOptionState-CjPJPTg2.js";
|
|
18
|
+
import { t as De } from "./useChartAccessibility-Do37qcw2.js";
|
|
19
|
+
import { t as Oe } from "./labelUtils-Cr97N8E1.js";
|
|
20
|
+
import { t as ke } from "./Legend-Gg5Q4Clb.js";
|
|
21
|
+
import { t as Ae } from "./vue_ui_waffle-C_Ev4l7B.js";
|
|
22
|
+
import { Fragment as u, Teleport as je, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Fe, nextTick as Ie, normalizeClass as Le, normalizeProps as v, normalizeStyle as Re, onBeforeUnmount as ze, onMounted as Be, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as C, toRefs as Ue, unref as w, useSlots as We, watch as Ge, withCtx as T } from "vue";
|
|
23
|
+
//#region src/components/vue-ui-waffle.vue
|
|
24
|
+
var Ke = /* @__PURE__ */ e({ default: () => gt }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
|
|
25
|
+
"xmlns",
|
|
26
|
+
"aria-describedby",
|
|
27
|
+
"viewBox"
|
|
28
|
+
], Qe = ["id"], $e = ["stop-color"], et = ["stop-color"], tt = ["id"], nt = [
|
|
29
|
+
"x",
|
|
30
|
+
"y",
|
|
31
|
+
"height",
|
|
32
|
+
"width"
|
|
33
|
+
], rt = ["height", "width"], it = { key: 0 }, at = [
|
|
34
|
+
"rx",
|
|
35
|
+
"x",
|
|
36
|
+
"y",
|
|
37
|
+
"height",
|
|
38
|
+
"width",
|
|
39
|
+
"stroke",
|
|
40
|
+
"stroke-width",
|
|
41
|
+
"filter"
|
|
42
|
+
], ot = [
|
|
43
|
+
"rx",
|
|
44
|
+
"x",
|
|
45
|
+
"y",
|
|
46
|
+
"height",
|
|
47
|
+
"width",
|
|
48
|
+
"fill",
|
|
49
|
+
"stroke",
|
|
50
|
+
"stroke-width",
|
|
51
|
+
"filter"
|
|
52
|
+
], st = { key: 1 }, ct = [
|
|
53
|
+
"rx",
|
|
54
|
+
"x",
|
|
55
|
+
"y",
|
|
56
|
+
"height",
|
|
57
|
+
"width",
|
|
58
|
+
"fill",
|
|
59
|
+
"filter"
|
|
60
|
+
], lt = [
|
|
61
|
+
"textContent",
|
|
62
|
+
"x",
|
|
63
|
+
"y",
|
|
64
|
+
"font-size",
|
|
65
|
+
"fill",
|
|
66
|
+
"filter"
|
|
67
|
+
], ut = [
|
|
68
|
+
"x",
|
|
69
|
+
"y",
|
|
70
|
+
"height",
|
|
71
|
+
"width",
|
|
72
|
+
"onMouseover",
|
|
73
|
+
"onMouseleave",
|
|
74
|
+
"onClick"
|
|
75
|
+
], dt = {
|
|
76
|
+
key: 0,
|
|
77
|
+
style: {
|
|
78
|
+
position: "absolute",
|
|
79
|
+
top: "100%",
|
|
80
|
+
left: "0",
|
|
81
|
+
width: "100%"
|
|
82
|
+
},
|
|
83
|
+
"data-dom-to-png-ignore": "",
|
|
84
|
+
"aria-hidden": "true"
|
|
85
|
+
}, ft = {
|
|
86
|
+
key: 5,
|
|
87
|
+
class: "vue-data-ui-watermark"
|
|
88
|
+
}, pt = ["id"], mt = ["onClick"], ht = ["innerHTML"], gt = /* @__PURE__ */ xe({
|
|
89
|
+
__name: "vue-ui-waffle",
|
|
90
|
+
props: {
|
|
91
|
+
config: {
|
|
92
|
+
type: Object,
|
|
93
|
+
default() {
|
|
94
|
+
return {};
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
dataset: {
|
|
98
|
+
type: Array,
|
|
99
|
+
default() {
|
|
100
|
+
return [];
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
emits: ["selectLegend", "copyAlt"],
|
|
105
|
+
setup(e, { expose: xe, emit: Ke }) {
|
|
106
|
+
let gt = g(() => import("./Tooltip-B7lmdbac.js")), _t = g(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), vt = g(() => import("./DataTable-BvDJEAma.js")), yt = g(() => import("./vue-ui-accordion-cVv18nTV.js").then((e) => e.n)), bt = g(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), xt = g(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), St = g(() => import("./PackageVersion-DhDKg-ez.js").then((e) => e.t)), Ct = g(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_waffle: wt } = de(), { isThemeValid: Tt, warnInvalidTheme: Et } = _e(), E = e, Dt = We(), Ot = d({
|
|
107
|
+
get() {
|
|
108
|
+
return !!E.dataset && E.dataset.length;
|
|
109
|
+
},
|
|
110
|
+
set(e) {
|
|
111
|
+
return e;
|
|
112
|
+
}
|
|
113
|
+
}), D = b(n()), kt = b(!1), At = b(""), O = b(null), jt = b(0), k = b(null), Mt = b(null), Nt = b(null), Pt = b(null), Ft = b(null), It = b(0), Lt = b(0), Rt = b(0), zt = b(!1), Bt = b(null), Vt = b(null), Ht = b(!1), Ut = b(!1), A = b(null), Wt = b({
|
|
114
|
+
x: 0,
|
|
115
|
+
y: 0
|
|
116
|
+
}), j = b("pointer"), Gt = b(!1), M = b($t()), N = d(() => M.value.userOptions.useCursorPointer), Kt = d(() => ue({
|
|
117
|
+
defaultConfig: {
|
|
118
|
+
useCustomCells: !1,
|
|
119
|
+
userOptions: { show: !1 },
|
|
120
|
+
table: { show: !1 },
|
|
121
|
+
style: { chart: {
|
|
122
|
+
backgroundColor: "#99999930",
|
|
123
|
+
layout: {
|
|
124
|
+
labels: { captions: { show: !1 } },
|
|
125
|
+
rect: { stroke: "#999999" }
|
|
126
|
+
},
|
|
127
|
+
legend: {
|
|
128
|
+
backgroundColor: "transparent",
|
|
129
|
+
showValue: !1,
|
|
130
|
+
showPercentage: !1
|
|
131
|
+
}
|
|
132
|
+
} }
|
|
133
|
+
},
|
|
134
|
+
userConfig: M.value.skeletonConfig ?? {}
|
|
135
|
+
})), { loading: qt, FINAL_DATASET: Jt, manualLoading: Yt } = pe({
|
|
136
|
+
...Ue(E),
|
|
137
|
+
FINAL_CONFIG: M,
|
|
138
|
+
prepareConfig: $t,
|
|
139
|
+
callback: () => {
|
|
140
|
+
Promise.resolve().then(async () => {
|
|
141
|
+
H.value = pn();
|
|
142
|
+
});
|
|
143
|
+
},
|
|
144
|
+
skeletonDataset: E.config?.skeletonDataset ?? [
|
|
145
|
+
{
|
|
146
|
+
name: "",
|
|
147
|
+
values: [1],
|
|
148
|
+
color: "#AAAAAA"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: "",
|
|
152
|
+
values: [1],
|
|
153
|
+
color: "#BABABA"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: "",
|
|
157
|
+
values: [1],
|
|
158
|
+
color: "#CACACA"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
skeletonConfig: ue({
|
|
162
|
+
defaultConfig: M.value,
|
|
163
|
+
userConfig: Kt.value
|
|
164
|
+
})
|
|
165
|
+
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = Ee({ config: M.value }), { svgRef: P } = De({ config: M.value.style.chart.title });
|
|
166
|
+
function $t() {
|
|
167
|
+
let e = ge({
|
|
168
|
+
userConfig: E.config,
|
|
169
|
+
defaultConfig: wt
|
|
170
|
+
}), t = e.theme;
|
|
171
|
+
if (!t) return e;
|
|
172
|
+
if (!Tt.value(e)) return Et(e), e;
|
|
173
|
+
let n = ge({
|
|
174
|
+
userConfig: Ae[t] || E.config,
|
|
175
|
+
defaultConfig: e
|
|
176
|
+
}), r = ge({
|
|
177
|
+
userConfig: E.config,
|
|
178
|
+
defaultConfig: n
|
|
179
|
+
});
|
|
180
|
+
return {
|
|
181
|
+
...r,
|
|
182
|
+
customPalette: r.customPalette.length ? r.customPalette : i[t] || s
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
Ge(() => E.config, (e) => {
|
|
186
|
+
qt.value || (M.value = $t()), Xt.value = !M.value.userOptions.showOnChartHover, tn(), It.value += 1, Lt.value += 1, Rt.value += 1, L.value.showTable = M.value.table.show, L.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
187
|
+
}, { deep: !0 });
|
|
188
|
+
let F = He(null), I = He(null), en = d(() => !!M.value.debug);
|
|
189
|
+
function tn() {
|
|
190
|
+
if (ee(E.dataset) ? (c({
|
|
191
|
+
componentName: "VueUiWaffle",
|
|
192
|
+
type: "dataset",
|
|
193
|
+
debug: en.value
|
|
194
|
+
}), Ot.value = !1, Yt.value = !0) : E.dataset.forEach((e, t) => {
|
|
195
|
+
ie({
|
|
196
|
+
datasetObject: e,
|
|
197
|
+
requiredAttributes: ["name", "values"]
|
|
198
|
+
}).forEach((e) => {
|
|
199
|
+
c({
|
|
200
|
+
componentName: "VueUiWaffle",
|
|
201
|
+
type: "datasetSerieAttribute",
|
|
202
|
+
property: e,
|
|
203
|
+
index: t,
|
|
204
|
+
debug: en.value
|
|
205
|
+
});
|
|
206
|
+
});
|
|
207
|
+
}), ee(E.dataset) || (Yt.value = M.value.loading), M.value.responsive) {
|
|
208
|
+
let e = Se(() => {
|
|
209
|
+
let { width: e, height: t } = Ce({
|
|
210
|
+
chart: k.value,
|
|
211
|
+
title: M.value.style.chart.title.text ? Mt.value : null,
|
|
212
|
+
legend: M.value.style.chart.legend.show ? Nt.value : null,
|
|
213
|
+
source: Pt.value,
|
|
214
|
+
noTitle: Ft.value
|
|
215
|
+
});
|
|
216
|
+
requestAnimationFrame(() => {
|
|
217
|
+
R.value.width = e, R.value.height = t, z.value.width = e, z.value.height = t;
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = k.value.parentNode, F.value.observe(I.value);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
Be(() => {
|
|
224
|
+
zt.value = !0, tn();
|
|
225
|
+
}), ze(() => {
|
|
226
|
+
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
|
|
227
|
+
});
|
|
228
|
+
let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } = fe({
|
|
229
|
+
elementId: `vue-ui-waffle_${D.value}`,
|
|
230
|
+
fileName: M.value.style.chart.title.text || "vue-ui-waffle",
|
|
231
|
+
options: M.value.userOptions.print
|
|
232
|
+
}), sn = d(() => M.value.userOptions.show && !M.value.style.chart.title.text), cn = d(() => ce(M.value.customPalette)), L = b({
|
|
233
|
+
showTable: M.value.table.show,
|
|
234
|
+
showTooltip: M.value.style.chart.tooltip.show
|
|
235
|
+
});
|
|
236
|
+
Ge(M, () => {
|
|
237
|
+
L.value = {
|
|
238
|
+
showTable: M.value.table.show,
|
|
239
|
+
showTooltip: M.value.style.chart.tooltip.show
|
|
240
|
+
};
|
|
241
|
+
}, { immediate: !0 });
|
|
242
|
+
let R = b({
|
|
243
|
+
height: 512,
|
|
244
|
+
width: 512
|
|
245
|
+
}), z = b({
|
|
246
|
+
top: 0,
|
|
247
|
+
left: 0,
|
|
248
|
+
height: 512,
|
|
249
|
+
width: 512
|
|
250
|
+
}), B = d(() => (z.value.width - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), V = d(() => (z.value.height - M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.spaceBetween) / M.value.style.chart.layout.grid.size), ln = d(() => Math.max(1e-4, z.value.width / M.value.style.chart.layout.grid.size)), un = d(() => Math.max(1e-4, z.value.height / M.value.style.chart.layout.grid.size));
|
|
251
|
+
function dn(e) {
|
|
252
|
+
let t = M.value.style.chart.layout.grid.size * M.value.style.chart.layout.grid.size, n = e.reduce((e, t) => e + t, 0), r = e.map((e) => e / n * t), i = r.map(Math.floor), a = r.map((e) => e % 1), o = t - i.reduce((e, t) => e + t, 0);
|
|
253
|
+
for (; o > 0;) {
|
|
254
|
+
let e = a.indexOf(Math.max(...a));
|
|
255
|
+
i[e] += 1, a[e] = 0, --o;
|
|
256
|
+
}
|
|
257
|
+
return i;
|
|
258
|
+
}
|
|
259
|
+
let fn = b(!1);
|
|
260
|
+
function pn() {
|
|
261
|
+
return fn.value = Jt.value.flatMap((e) => e.values.reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0) === 0, Jt.value.map((e, t) => ({
|
|
262
|
+
...e,
|
|
263
|
+
color: le(e.color) || cn.value[t] || s[t] || s[t % s.length],
|
|
264
|
+
uid: `serie_${t}`,
|
|
265
|
+
absoluteIndex: t
|
|
266
|
+
}));
|
|
267
|
+
}
|
|
268
|
+
let mn = d(() => pn()), H = b(mn.value);
|
|
269
|
+
Ge(() => E.dataset, (e) => {
|
|
270
|
+
Array.isArray(e) && e.length > 0 && (Yt.value = !1);
|
|
271
|
+
}, { immediate: !0 }), Ge(() => E.dataset, (e) => {
|
|
272
|
+
H.value = pn();
|
|
273
|
+
}, { deep: !0 });
|
|
274
|
+
let hn = d(() => dn(H.value.filter((e, t) => !K.value.includes(e.uid)).map((e, t) => fn.value ? 1 : (e.values || []).reduce((e, t) => e + t, 0)))), gn = d(() => dn(H.value.map((e, t) => fn.value ? 1 : (e.values || []).reduce((e, t) => e + t)))), U = d(() => (Jt.value.forEach((e, t) => {
|
|
275
|
+
[null, void 0].includes(e.values) && c({
|
|
276
|
+
componentName: "VueUiWaffle",
|
|
277
|
+
type: "datasetSerieAttribute",
|
|
278
|
+
property: "values (number[])",
|
|
279
|
+
index: t
|
|
280
|
+
});
|
|
281
|
+
}), H.value.filter((e, t) => !K.value.includes(e.uid)).map((e, t) => ({
|
|
282
|
+
absoluteIndex: e.absoluteIndex,
|
|
283
|
+
uid: e.uid,
|
|
284
|
+
name: e.name,
|
|
285
|
+
color: e.color,
|
|
286
|
+
value: (e.values || []).reduce((e, t) => e + t, 0),
|
|
287
|
+
absoluteValues: e.values || [],
|
|
288
|
+
proportion: hn.value[t]
|
|
289
|
+
})))), _n = d(() => H.value.map((e, t) => ({
|
|
290
|
+
absoluteIndex: e.absoluteIndex,
|
|
291
|
+
uid: e.uid,
|
|
292
|
+
name: e.name,
|
|
293
|
+
color: e.color,
|
|
294
|
+
value: (e.values || []).reduce((e, t) => e + t, 0),
|
|
295
|
+
absoluteValues: e.values || [],
|
|
296
|
+
proportion: gn.value[t]
|
|
297
|
+
})));
|
|
298
|
+
function vn() {
|
|
299
|
+
return _n.value.map((e) => ({
|
|
300
|
+
name: e.name,
|
|
301
|
+
color: e.color,
|
|
302
|
+
value: e.value,
|
|
303
|
+
proportion: e.proportion
|
|
304
|
+
}));
|
|
305
|
+
}
|
|
306
|
+
let yn = d(() => {
|
|
307
|
+
let e = 0;
|
|
308
|
+
return U.value.map((t, n) => {
|
|
309
|
+
let r = e, i = r + t.proportion, a = [];
|
|
310
|
+
for (let e = Math.floor(r); e < Math.floor(i); e += 1) a.push(e);
|
|
311
|
+
return e = i, {
|
|
312
|
+
...t,
|
|
313
|
+
start: r,
|
|
314
|
+
rects: a
|
|
315
|
+
};
|
|
316
|
+
});
|
|
317
|
+
}), W = d(() => yn.value.flatMap((e, t) => e.rects.map((n, r) => ({
|
|
318
|
+
isFirst: r === 0,
|
|
319
|
+
isLongEnough: n.length > 2,
|
|
320
|
+
name: e.name,
|
|
321
|
+
color: e.color,
|
|
322
|
+
value: e.value,
|
|
323
|
+
serieIndex: t,
|
|
324
|
+
absoluteStartIndex: r < 3,
|
|
325
|
+
serieId: e.uid,
|
|
326
|
+
...e
|
|
327
|
+
}))).map((e, t) => ({
|
|
328
|
+
...e,
|
|
329
|
+
isAbsoluteFirst: t % M.value.style.chart.layout.grid.size === 0
|
|
330
|
+
}))), G = d(() => {
|
|
331
|
+
let e = [];
|
|
332
|
+
for (let t = 0; t < M.value.style.chart.layout.grid.size; t += 1) for (let n = 0; n < M.value.style.chart.layout.grid.size; n += 1) e.push({
|
|
333
|
+
isStartOfLine: n === 0,
|
|
334
|
+
position: M.value.style.chart.layout.grid.vertical ? t : n,
|
|
335
|
+
x: (M.value.style.chart.layout.grid.vertical ? t : n) * (B.value + M.value.style.chart.layout.grid.spaceBetween),
|
|
336
|
+
y: (M.value.style.chart.layout.grid.vertical ? n : t) * (V.value + M.value.style.chart.layout.grid.spaceBetween) + z.value.top
|
|
337
|
+
});
|
|
338
|
+
return e;
|
|
339
|
+
}), K = b([]), bn = b(!1), xn = b(Object.create(null)), Sn = b(Object.create(null)), Cn = b(0);
|
|
340
|
+
function wn(e, t) {
|
|
341
|
+
H.value = H.value.map((n) => n.uid === e ? {
|
|
342
|
+
...n,
|
|
343
|
+
values: [t]
|
|
344
|
+
} : n);
|
|
345
|
+
}
|
|
346
|
+
function Tn(e, t) {
|
|
347
|
+
let n = t.find((t) => t.uid === e);
|
|
348
|
+
return n ? (n.values || []).reduce((e, t) => e + t, 0) : 0;
|
|
349
|
+
}
|
|
350
|
+
function En(e) {
|
|
351
|
+
xn.value[e] && (cancelAnimationFrame(xn.value[e]), delete xn.value[e]), Sn.value[e] && (cancelAnimationFrame(Sn.value[e]), delete Sn.value[e]);
|
|
352
|
+
}
|
|
353
|
+
function Dn({ seriesId: e, fromValue: t, toValue: n, mode: r }) {
|
|
354
|
+
En(e), Cn.value += 1, bn.value = !0;
|
|
355
|
+
let i = t;
|
|
356
|
+
return new Promise((a) => {
|
|
357
|
+
function o() {
|
|
358
|
+
if (r === "increase") {
|
|
359
|
+
if (i >= n) {
|
|
360
|
+
wn(e, n), --Cn.value, Cn.value <= 0 && (bn.value = !1), delete xn.value[e], a();
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
i += n * .025, i > n && (i = n), wn(e, i), xn.value[e] = requestAnimationFrame(o);
|
|
364
|
+
} else {
|
|
365
|
+
if (i <= t / 100) {
|
|
366
|
+
wn(e, 0), --Cn.value, Cn.value <= 0 && (bn.value = !1), delete Sn.value[e], a();
|
|
367
|
+
return;
|
|
368
|
+
}
|
|
369
|
+
i /= 1.15, wn(e, i), Sn.value[e] = requestAnimationFrame(o);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
o();
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
function On() {
|
|
376
|
+
H.value = mn.value;
|
|
377
|
+
let e = K.value.length > 0;
|
|
378
|
+
if (!M.value.useAnimation) {
|
|
379
|
+
e ? K.value = [] : K.value = J.value.map((e) => e.uid);
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
e ? [...K.value].forEach((e) => {
|
|
383
|
+
q(e, !0);
|
|
384
|
+
}) : J.value.map((e) => e.uid).forEach((e) => {
|
|
385
|
+
q(e, !0);
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
function q(e, t = !1) {
|
|
389
|
+
if (fn.value && !t) return;
|
|
390
|
+
let n = t || K.value.length < J.value.length - 1 && J.value.length > 1;
|
|
391
|
+
if (!M.value.useAnimation) {
|
|
392
|
+
K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : n && K.value.push(e);
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
let r = Tn(e, mn.value), i = Tn(e, H.value);
|
|
396
|
+
if (!(i === 0 && r === 0)) {
|
|
397
|
+
if (K.value.includes(e)) {
|
|
398
|
+
K.value = K.value.filter((t) => t !== e), Dn({
|
|
399
|
+
seriesId: e,
|
|
400
|
+
fromValue: i,
|
|
401
|
+
toValue: r,
|
|
402
|
+
mode: "increase"
|
|
403
|
+
}).then(() => {
|
|
404
|
+
Vn("selectLegend", U.value.map((e) => ({
|
|
405
|
+
name: e.name,
|
|
406
|
+
color: e.color,
|
|
407
|
+
value: e.value,
|
|
408
|
+
proportion: e.proportion / M.value.style.chart.layout.grid.size ** 2
|
|
409
|
+
})));
|
|
410
|
+
});
|
|
411
|
+
return;
|
|
412
|
+
}
|
|
413
|
+
n && Dn({
|
|
414
|
+
seriesId: e,
|
|
415
|
+
fromValue: i,
|
|
416
|
+
toValue: 0,
|
|
417
|
+
mode: "decrease"
|
|
418
|
+
}).then(() => {
|
|
419
|
+
K.value.includes(e) || K.value.push(e), wn(e, 0), Vn("selectLegend", U.value.map((e) => ({
|
|
420
|
+
name: e.name,
|
|
421
|
+
color: e.color,
|
|
422
|
+
value: e.value,
|
|
423
|
+
proportion: e.proportion / M.value.style.chart.layout.grid.size ** 2
|
|
424
|
+
})));
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
function kn(e) {
|
|
429
|
+
return _n.value.length ? _n.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiWaffle - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiWaffle - There are no series to show."), null);
|
|
430
|
+
}
|
|
431
|
+
function An(e) {
|
|
432
|
+
let t = kn(e);
|
|
433
|
+
t !== null && K.value.includes(t.uid) && q(t.uid);
|
|
434
|
+
}
|
|
435
|
+
function jn(e) {
|
|
436
|
+
let t = kn(e);
|
|
437
|
+
t !== null && (K.value.includes(t.uid) || q(t.uid));
|
|
438
|
+
}
|
|
439
|
+
function Mn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
|
|
440
|
+
return Oe({
|
|
441
|
+
config: i,
|
|
442
|
+
val: e,
|
|
443
|
+
percentage: t,
|
|
444
|
+
showVal: n,
|
|
445
|
+
showPercentage: r
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
let J = d(() => H.value.map((e, t) => {
|
|
449
|
+
let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / H.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
|
|
450
|
+
return {
|
|
451
|
+
name: e.name,
|
|
452
|
+
color: e.color || cn[t] || s[t] || s[t % s.length],
|
|
453
|
+
value: n,
|
|
454
|
+
proportion: r,
|
|
455
|
+
uid: e.uid,
|
|
456
|
+
shape: "square"
|
|
457
|
+
};
|
|
458
|
+
}).map((e, n) => {
|
|
459
|
+
let r = Mn({
|
|
460
|
+
val: l(M.value.style.chart.layout.labels.dataLabels.formatter, e.value, t({
|
|
461
|
+
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
462
|
+
v: e.value,
|
|
463
|
+
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
464
|
+
r: M.value.style.chart.legend.roundingValue
|
|
465
|
+
}), {
|
|
466
|
+
datapoint: e,
|
|
467
|
+
index: n
|
|
468
|
+
}),
|
|
469
|
+
percentage: isNaN(e.value / Y.value) ? "-" : t({
|
|
470
|
+
v: e.value / Y.value * 100,
|
|
471
|
+
s: "%",
|
|
472
|
+
r: M.value.style.chart.legend.roundingPercentage
|
|
473
|
+
}),
|
|
474
|
+
showVal: M.value.style.chart.legend.showValue,
|
|
475
|
+
showPercentage: M.value.style.chart.legend.showPercentage,
|
|
476
|
+
config: M.value.style.chart.legend
|
|
477
|
+
});
|
|
478
|
+
return {
|
|
479
|
+
...e,
|
|
480
|
+
opacity: K.value.includes(e.uid) ? .5 : 1,
|
|
481
|
+
segregate: () => q(e.uid),
|
|
482
|
+
isSegregated: K.value.includes(e.uid),
|
|
483
|
+
display: `${e.name}${M.value.style.chart.legend.showPercentage || M.value.style.chart.legend.showValue ? ": " : ""}${r}`
|
|
484
|
+
};
|
|
485
|
+
})), Nn = d(() => ({
|
|
486
|
+
cy: "waffle-div-legend",
|
|
487
|
+
backgroundColor: M.value.style.chart.legend.backgroundColor,
|
|
488
|
+
color: M.value.style.chart.legend.color,
|
|
489
|
+
fontSize: M.value.style.chart.legend.fontSize,
|
|
490
|
+
paddingBottom: 12,
|
|
491
|
+
fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
|
|
492
|
+
})), Y = d(() => U.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Pn = b(null), Fn = b(null), X = d(() => {
|
|
493
|
+
let e = /* @__PURE__ */ new Map();
|
|
494
|
+
return W.value.forEach((t, n) => {
|
|
495
|
+
e.has(t.serieIndex) ? e.get(t.serieIndex).rectIndexes.push(n) : e.set(t.serieIndex, {
|
|
496
|
+
serieIndex: t.serieIndex,
|
|
497
|
+
absoluteIndex: t.absoluteIndex,
|
|
498
|
+
serieId: t.serieId,
|
|
499
|
+
name: t.name,
|
|
500
|
+
color: t.color,
|
|
501
|
+
value: t.value,
|
|
502
|
+
proportion: t.proportion,
|
|
503
|
+
rectIndexes: [n]
|
|
504
|
+
});
|
|
505
|
+
}), Array.from(e.values()).sort((e, t) => e.serieIndex - t.serieIndex);
|
|
506
|
+
});
|
|
507
|
+
function In(e) {
|
|
508
|
+
return X.value.find((t) => t.serieIndex === e) || null;
|
|
509
|
+
}
|
|
510
|
+
function Ln(e) {
|
|
511
|
+
let t = In(e);
|
|
512
|
+
return !t || !t.rectIndexes.length ? null : t.rectIndexes[0];
|
|
513
|
+
}
|
|
514
|
+
function Rn(e) {
|
|
515
|
+
let t = W.value[e];
|
|
516
|
+
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
517
|
+
datapoint: t,
|
|
518
|
+
seriesIndex: t.serieIndex
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
function zn(e) {
|
|
522
|
+
let t = W.value[e];
|
|
523
|
+
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
524
|
+
datapoint: t,
|
|
525
|
+
seriesIndex: t.serieIndex
|
|
526
|
+
}), Fn.value = null, kt.value = !1, O.value = null, A.value = null, j.value = "pointer";
|
|
527
|
+
}
|
|
528
|
+
function Bn(e, n = "pointer") {
|
|
529
|
+
if (K.value.length === E.dataset.length) return;
|
|
530
|
+
let r = W.value[e];
|
|
531
|
+
if (!r) return;
|
|
532
|
+
j.value = n, A.value = r.serieIndex, Pn.value = {
|
|
533
|
+
datapoint: r,
|
|
534
|
+
seriesIndex: r.absoluteIndex,
|
|
535
|
+
series: H.value,
|
|
536
|
+
config: M.value
|
|
537
|
+
}, M.value.events.datapointEnter && Fn.value !== r.serieIndex && M.value.events.datapointEnter({
|
|
538
|
+
datapoint: r,
|
|
539
|
+
seriesIndex: r.serieIndex
|
|
540
|
+
}), Fn.value = r.serieIndex, kt.value = !0, O.value = r.serieIndex;
|
|
541
|
+
let i = M.value.style.chart.tooltip.customFormat;
|
|
542
|
+
if (ae(i) && re(() => i({
|
|
543
|
+
seriesIndex: r.absoluteIndex,
|
|
544
|
+
datapoint: r,
|
|
545
|
+
series: H.value,
|
|
546
|
+
config: M.value
|
|
547
|
+
}))) At.value = i({
|
|
548
|
+
seriesIndex: r.absoluteIndex,
|
|
549
|
+
datapoint: r,
|
|
550
|
+
series: H.value,
|
|
551
|
+
config: M.value
|
|
552
|
+
});
|
|
553
|
+
else {
|
|
554
|
+
let e = "";
|
|
555
|
+
e += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${r.name}</div>`, e += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${r.color}" />${Dt.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${D.value}_${r.absoluteIndex})"/>` : ""}</svg>`, e += `<b>${Mn({
|
|
556
|
+
config: M.value.style.chart.tooltip,
|
|
557
|
+
showVal: M.value.style.chart.tooltip.showValue,
|
|
558
|
+
showPercentage: M.value.style.chart.tooltip.showPercentage,
|
|
559
|
+
val: `<span>${l(M.value.style.chart.layout.labels.dataLabels.formatter, r.value, t({
|
|
560
|
+
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
561
|
+
v: r.value,
|
|
562
|
+
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
563
|
+
r: M.value.style.chart.tooltip.roundingValue
|
|
564
|
+
}), {
|
|
565
|
+
datapoint: r,
|
|
566
|
+
seriesIndex: r.absoluteIndex,
|
|
567
|
+
series: H.value
|
|
568
|
+
})}</span>`,
|
|
569
|
+
percentage: `<span>${t({
|
|
570
|
+
v: fn.value ? 1 / Jt.value.length * 100 : r.value / Y.value * 100,
|
|
571
|
+
s: "%",
|
|
572
|
+
r: M.value.style.chart.tooltip.roundingPercentage
|
|
573
|
+
})}</span>`
|
|
574
|
+
})}</b></div>`, At.value = e;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
let Vn = Ke, Z = d(() => ({
|
|
578
|
+
head: U.value.map((e) => ({
|
|
579
|
+
name: e.name,
|
|
580
|
+
color: e.color
|
|
581
|
+
})),
|
|
582
|
+
body: U.value.map((e) => e.value)
|
|
583
|
+
}));
|
|
584
|
+
function Hn(e) {
|
|
585
|
+
return M.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== e ? `url(#blur_${D.value})` : "";
|
|
586
|
+
}
|
|
587
|
+
function Un(e, t) {
|
|
588
|
+
return M.value.style.chart.layout.labels.captions.show ? W.value.length && !bn.value && !M.value.style.chart.layout.grid.vertical && (W.value[e].isFirst && t.position < M.value.style.chart.layout.grid.size - 2 || W.value[e].isAbsoluteFirst && e % M.value.style.chart.layout.grid.size === 0 && W.value[e].absoluteStartIndex) : !1;
|
|
589
|
+
}
|
|
590
|
+
function Wn(e, n = null) {
|
|
591
|
+
let r = l(M.value.style.chart.layout.labels.dataLabels.formatter, W.value[e].value, t({
|
|
592
|
+
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
593
|
+
v: W.value[e].value,
|
|
594
|
+
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
595
|
+
r: M.value.style.chart.layout.labels.captions.roundingValue
|
|
596
|
+
}), {
|
|
597
|
+
datapoint: W.value[e],
|
|
598
|
+
position: n
|
|
599
|
+
}), i = t({
|
|
600
|
+
v: W.value[e].proportion,
|
|
601
|
+
s: "%",
|
|
602
|
+
r: M.value.style.chart.layout.labels.captions.roundingPercentage
|
|
603
|
+
}), a = (M.value.style.chart.layout.labels.captions.serieNameAbbreviation ? ne({
|
|
604
|
+
source: W.value[e].name,
|
|
605
|
+
length: M.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize
|
|
606
|
+
}) : W.value[e].name) + (M.value.style.chart.layout.labels.captions.showPercentage || M.value.style.chart.layout.labels.captions.showValue ? ":" : "");
|
|
607
|
+
return `${M.value.style.chart.layout.labels.captions.showSerieName ? a : ""} ${Mn({
|
|
608
|
+
val: r,
|
|
609
|
+
percentage: i,
|
|
610
|
+
showVal: M.value.style.chart.layout.labels.captions.showValue,
|
|
611
|
+
showPercentage: M.value.style.chart.layout.labels.captions.showPercentage,
|
|
612
|
+
config: M.value.style.chart.layout.labels.dataLabels
|
|
613
|
+
})}`;
|
|
614
|
+
}
|
|
615
|
+
function Gn(e = null) {
|
|
616
|
+
Ie(() => {
|
|
617
|
+
let t = Z.value.head.map((e, t) => [
|
|
618
|
+
[e.name],
|
|
619
|
+
[Z.value.body[t]],
|
|
620
|
+
[isNaN(Z.value.body[t] / Y.value) ? "-" : Z.value.body[t] / Y.value * 100]
|
|
621
|
+
]), n = o([
|
|
622
|
+
[M.value.style.chart.title.text],
|
|
623
|
+
[M.value.style.chart.title.subtitle.text],
|
|
624
|
+
[
|
|
625
|
+
[""],
|
|
626
|
+
["val"],
|
|
627
|
+
["%"]
|
|
628
|
+
]
|
|
629
|
+
].concat(t));
|
|
630
|
+
e ? e(n) : r({
|
|
631
|
+
csvContent: n,
|
|
632
|
+
title: M.value.style.chart.title.text || "vue-ui-waffle"
|
|
633
|
+
});
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
let Q = d(() => ({
|
|
637
|
+
head: [
|
|
638
|
+
" <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
|
|
639
|
+
l(M.value.style.chart.layout.labels.dataLabels.formatter, Y.value, t({
|
|
640
|
+
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
641
|
+
v: Y.value,
|
|
642
|
+
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
643
|
+
r: M.value.table.td.roundingValue
|
|
644
|
+
})),
|
|
645
|
+
"100%"
|
|
646
|
+
],
|
|
647
|
+
body: Z.value.head.map((e, n) => [
|
|
648
|
+
{
|
|
649
|
+
color: e.color,
|
|
650
|
+
name: e.name
|
|
651
|
+
},
|
|
652
|
+
l(M.value.style.chart.layout.labels.dataLabels.formatter, Z.value.body[n], t({
|
|
653
|
+
p: M.value.style.chart.layout.labels.dataLabels.prefix,
|
|
654
|
+
v: Z.value.body[n],
|
|
655
|
+
s: M.value.style.chart.layout.labels.dataLabels.suffix,
|
|
656
|
+
r: M.value.table.td.roundingValue
|
|
657
|
+
})),
|
|
658
|
+
isNaN(Z.value.body[n] / Y.value) ? "-" : t({
|
|
659
|
+
v: Z.value.body[n] / Y.value * 100,
|
|
660
|
+
s: "%",
|
|
661
|
+
r: M.value.table.td.roundingPercentage
|
|
662
|
+
})
|
|
663
|
+
]),
|
|
664
|
+
config: {
|
|
665
|
+
th: {
|
|
666
|
+
backgroundColor: M.value.table.th.backgroundColor,
|
|
667
|
+
color: M.value.table.th.color,
|
|
668
|
+
outline: M.value.table.th.outline
|
|
669
|
+
},
|
|
670
|
+
td: {
|
|
671
|
+
backgroundColor: M.value.table.td.backgroundColor,
|
|
672
|
+
color: M.value.table.td.color,
|
|
673
|
+
outline: M.value.table.td.outline
|
|
674
|
+
},
|
|
675
|
+
shape: "square",
|
|
676
|
+
breakpoint: M.value.table.responsiveBreakpoint
|
|
677
|
+
},
|
|
678
|
+
colNames: [
|
|
679
|
+
M.value.table.columnNames.series,
|
|
680
|
+
M.value.table.columnNames.value,
|
|
681
|
+
M.value.table.columnNames.percentage
|
|
682
|
+
]
|
|
683
|
+
})), $ = b(!1);
|
|
684
|
+
function Kn(e) {
|
|
685
|
+
$.value = e, jt.value += 1;
|
|
686
|
+
}
|
|
687
|
+
function qn() {
|
|
688
|
+
L.value.showTable = !L.value.showTable;
|
|
689
|
+
}
|
|
690
|
+
function Jn() {
|
|
691
|
+
L.value.showTooltip = !L.value.showTooltip;
|
|
692
|
+
}
|
|
693
|
+
let Yn = b(!1);
|
|
694
|
+
function Xn() {
|
|
695
|
+
Yn.value = !Yn.value;
|
|
696
|
+
}
|
|
697
|
+
async function Zn({ scale: e = 2 } = {}) {
|
|
698
|
+
if (!k.value) return;
|
|
699
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
|
|
700
|
+
domElement: k.value,
|
|
701
|
+
base64: !0,
|
|
702
|
+
img: !0,
|
|
703
|
+
scale: e
|
|
704
|
+
});
|
|
705
|
+
return {
|
|
706
|
+
imageUri: i,
|
|
707
|
+
base64: a,
|
|
708
|
+
title: M.value.style.chart.title.text,
|
|
709
|
+
width: t,
|
|
710
|
+
height: n,
|
|
711
|
+
aspectRatio: r
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
let Qn = d(() => {
|
|
715
|
+
let e = M.value.table.useDialog && !M.value.table.show, t = L.value.showTable;
|
|
716
|
+
return {
|
|
717
|
+
component: e ? Ct : yt,
|
|
718
|
+
title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
|
|
719
|
+
props: e ? {
|
|
720
|
+
backgroundColor: M.value.table.th.backgroundColor,
|
|
721
|
+
color: M.value.table.th.color,
|
|
722
|
+
headerColor: M.value.table.th.color,
|
|
723
|
+
headerBg: M.value.table.th.backgroundColor,
|
|
724
|
+
isFullscreen: $.value,
|
|
725
|
+
fullscreenParent: k.value,
|
|
726
|
+
forcedWidth: Math.min(500, window.innerWidth * .8),
|
|
727
|
+
isCursorPointer: N.value
|
|
728
|
+
} : {
|
|
729
|
+
hideDetails: !0,
|
|
730
|
+
config: {
|
|
731
|
+
open: t,
|
|
732
|
+
maxHeight: 1e4,
|
|
733
|
+
body: {
|
|
734
|
+
backgroundColor: M.value.style.chart.backgroundColor,
|
|
735
|
+
color: M.value.style.chart.color
|
|
736
|
+
},
|
|
737
|
+
head: {
|
|
738
|
+
backgroundColor: M.value.style.chart.backgroundColor,
|
|
739
|
+
color: M.value.style.chart.color
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
});
|
|
745
|
+
Ge(() => L.value.showTable, (e) => {
|
|
746
|
+
M.value.table.show || (e && M.value.table.useDialog && Bt.value ? Bt.value.open() : "close" in Bt.value && Bt.value.close());
|
|
747
|
+
});
|
|
748
|
+
function $n() {
|
|
749
|
+
L.value.showTable = !1, Vt.value && Vt.value.setTableIconState(!1);
|
|
750
|
+
}
|
|
751
|
+
let er = d(() => J.value.map((e) => ({
|
|
752
|
+
...e,
|
|
753
|
+
name: e.display
|
|
754
|
+
}))), tr = d(() => M.value.style.chart.backgroundColor), nr = d(() => M.value.style.chart.legend), { exportSvg: rr, getSvg: ir } = he({
|
|
755
|
+
svg: P,
|
|
756
|
+
title: d(() => M.value.style.chart.title),
|
|
757
|
+
legend: nr,
|
|
758
|
+
legendItems: er,
|
|
759
|
+
backgroundColor: tr
|
|
760
|
+
});
|
|
761
|
+
async function ar({ isCb: e }) {
|
|
762
|
+
Ut.value = !0, await Ie();
|
|
763
|
+
try {
|
|
764
|
+
if (e) {
|
|
765
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await ir();
|
|
766
|
+
await Promise.resolve(M.value.userOptions.callbacks.svg({
|
|
767
|
+
blob: e,
|
|
768
|
+
url: t,
|
|
769
|
+
text: n,
|
|
770
|
+
dataUrl: r
|
|
771
|
+
}));
|
|
772
|
+
} else await Promise.resolve(rr());
|
|
773
|
+
} finally {
|
|
774
|
+
Ut.value = !1;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
function or(e) {
|
|
778
|
+
if (e?.stage === "start") {
|
|
779
|
+
Ht.value = !0;
|
|
780
|
+
return;
|
|
781
|
+
}
|
|
782
|
+
if (e?.stage === "end") {
|
|
783
|
+
Ht.value = !1;
|
|
784
|
+
return;
|
|
785
|
+
}
|
|
786
|
+
on();
|
|
787
|
+
}
|
|
788
|
+
async function sr() {
|
|
789
|
+
if (Vn("copyAlt", {
|
|
790
|
+
config: M.value,
|
|
791
|
+
dataset: _n.value
|
|
792
|
+
}), !M.value.userOptions.callbacks.altCopy) {
|
|
793
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
794
|
+
return;
|
|
795
|
+
}
|
|
796
|
+
await Promise.resolve(M.value.userOptions.callbacks.altCopy({
|
|
797
|
+
config: M.value,
|
|
798
|
+
dataset: _n.value
|
|
799
|
+
}));
|
|
800
|
+
}
|
|
801
|
+
function cr() {
|
|
802
|
+
A.value = null, Gt.value = !0;
|
|
803
|
+
}
|
|
804
|
+
function lr() {
|
|
805
|
+
A.value = null, j.value = "pointer", kt.value = !1, O.value = null, Fn.value = null, Gt.value = !1;
|
|
806
|
+
}
|
|
807
|
+
function ur(e) {
|
|
808
|
+
if (!P.value || Yn.value || document.activeElement !== P.value || !X.value.length || K.value.length === E.dataset.length) return;
|
|
809
|
+
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
810
|
+
if (!t && !n && !r && !i) return;
|
|
811
|
+
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
812
|
+
A.value = null, j.value = "pointer", kt.value = !1, O.value = null, Fn.value = null;
|
|
813
|
+
return;
|
|
814
|
+
}
|
|
815
|
+
if (r) {
|
|
816
|
+
if (A.value === null) return;
|
|
817
|
+
let e = Ln(A.value);
|
|
818
|
+
if (e === null) return;
|
|
819
|
+
Rn(e);
|
|
820
|
+
return;
|
|
821
|
+
}
|
|
822
|
+
let a = X.value.findIndex((e) => e.serieIndex === A.value), o = null;
|
|
823
|
+
if (o = a === -1 ? n ? X.value[0] : X.value[X.value.length - 1] : n ? X.value[(a + 1) % X.value.length] : X.value[(a - 1 + X.value.length) % X.value.length], !o) return;
|
|
824
|
+
let ee = Ln(o.serieIndex);
|
|
825
|
+
ee !== null && (dr(o.serieIndex), Bn(ee, "keyboard"));
|
|
826
|
+
}
|
|
827
|
+
function dr(e) {
|
|
828
|
+
if (!Number.isFinite(e) || !P.value) return;
|
|
829
|
+
let t = In(e);
|
|
830
|
+
if (!t || !t.rectIndexes.length) return;
|
|
831
|
+
let n = t.rectIndexes.map((e) => {
|
|
832
|
+
let t = G.value[e];
|
|
833
|
+
return t ? {
|
|
834
|
+
x: t.x + M.value.style.chart.layout.grid.spaceBetween / 2 + ln.value / 2,
|
|
835
|
+
y: t.y + M.value.style.chart.layout.grid.spaceBetween / 2 + un.value / 2
|
|
836
|
+
} : null;
|
|
837
|
+
}).filter(Boolean);
|
|
838
|
+
if (!n.length) return;
|
|
839
|
+
let r = Math.min(...n.map((e) => e.x)), i = Math.max(...n.map((e) => e.x)), a = Math.min(...n.map((e) => e.y)), o = Math.max(...n.map((e) => e.y)), ee = (r + i) / 2, s = (a + o) / 2, c = P.value.getBoundingClientRect();
|
|
840
|
+
Wt.value = {
|
|
841
|
+
x: c.left + ee / R.value.width * c.width,
|
|
842
|
+
y: c.top + s / R.value.height * c.height
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
let fr = d(() => ({
|
|
846
|
+
headers: Q.value?.colNames ?? [],
|
|
847
|
+
rows: Q.value?.body ?? []
|
|
848
|
+
}));
|
|
849
|
+
return xe({
|
|
850
|
+
getData: vn,
|
|
851
|
+
getImage: Zn,
|
|
852
|
+
generatePdf: an,
|
|
853
|
+
generateCsv: Gn,
|
|
854
|
+
generateImage: on,
|
|
855
|
+
generateSvg: ar,
|
|
856
|
+
hideSeries: jn,
|
|
857
|
+
showSeries: An,
|
|
858
|
+
toggleTable: qn,
|
|
859
|
+
toggleTooltip: Jn,
|
|
860
|
+
toggleAnnotator: Xn,
|
|
861
|
+
toggleFullscreen: Kn,
|
|
862
|
+
copyAlt: sr
|
|
863
|
+
}), (e, t) => (y(), m("div", {
|
|
864
|
+
class: Le(`vue-data-ui-component vue-ui-waffle ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
865
|
+
ref_key: "waffleChart",
|
|
866
|
+
ref: k,
|
|
867
|
+
id: `vue-ui-waffle_${D.value}`,
|
|
868
|
+
style: Re(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
|
|
869
|
+
onMouseenter: t[2] ||= () => w(Zt)(!0),
|
|
870
|
+
onMouseleave: t[3] ||= () => w(Zt)(!1)
|
|
871
|
+
}, [
|
|
872
|
+
h("div", {
|
|
873
|
+
id: `chart-instructions-${D.value}`,
|
|
874
|
+
class: "sr-only"
|
|
875
|
+
}, [h("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
|
|
876
|
+
fr.value?.rows?.length ? (y(), f(Te, {
|
|
877
|
+
key: 0,
|
|
878
|
+
uid: D.value,
|
|
879
|
+
head: fr.value.headers,
|
|
880
|
+
body: fr.value.rows,
|
|
881
|
+
notice: M.value.a11y.translations.tableAvailable,
|
|
882
|
+
caption: M.value.a11y.translations.tableCaption
|
|
883
|
+
}, null, 8, [
|
|
884
|
+
"uid",
|
|
885
|
+
"head",
|
|
886
|
+
"body",
|
|
887
|
+
"notice",
|
|
888
|
+
"caption"
|
|
889
|
+
])) : p("", !0),
|
|
890
|
+
M.value.userOptions.buttons.annotator ? (y(), f(w(xt), {
|
|
891
|
+
key: 1,
|
|
892
|
+
svgRef: w(P),
|
|
893
|
+
backgroundColor: M.value.style.chart.backgroundColor,
|
|
894
|
+
color: M.value.style.chart.color,
|
|
895
|
+
active: Yn.value,
|
|
896
|
+
isCursorPointer: N.value,
|
|
897
|
+
onClose: Xn
|
|
898
|
+
}, {
|
|
899
|
+
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
900
|
+
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
|
|
901
|
+
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", v(_({ mode: t })), void 0, !0)]),
|
|
902
|
+
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", v(_({ disabled: t })), void 0, !0)]),
|
|
903
|
+
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", v(_({ disabled: t })), void 0, !0)]),
|
|
904
|
+
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", v(_({ disabled: t })), void 0, !0)]),
|
|
905
|
+
_: 3
|
|
906
|
+
}, 8, [
|
|
907
|
+
"svgRef",
|
|
908
|
+
"backgroundColor",
|
|
909
|
+
"color",
|
|
910
|
+
"active",
|
|
911
|
+
"isCursorPointer"
|
|
912
|
+
])) : p("", !0),
|
|
913
|
+
sn.value ? (y(), m("div", {
|
|
914
|
+
key: 2,
|
|
915
|
+
ref_key: "noTitle",
|
|
916
|
+
ref: Ft,
|
|
917
|
+
class: "vue-data-ui-no-title-space",
|
|
918
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
919
|
+
}, null, 512)) : p("", !0),
|
|
920
|
+
M.value.style.chart.title.text ? (y(), m("div", {
|
|
921
|
+
key: 3,
|
|
922
|
+
ref_key: "chartTitle",
|
|
923
|
+
ref: Mt,
|
|
924
|
+
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
925
|
+
}, [(y(), f(ye, {
|
|
926
|
+
key: `title_${It.value}`,
|
|
927
|
+
config: {
|
|
928
|
+
title: {
|
|
929
|
+
cy: "waffle-title",
|
|
930
|
+
...M.value.style.chart.title
|
|
931
|
+
},
|
|
932
|
+
subtitle: {
|
|
933
|
+
cy: "waffle-subtitle",
|
|
934
|
+
...M.value.style.chart.title.subtitle
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
938
|
+
h("div", { id: `legend-top-${D.value}` }, null, 8, Ye),
|
|
939
|
+
M.value.userOptions.show && Ot.value && (w(Qt) || w(Xt)) ? (y(), f(w(bt), {
|
|
940
|
+
ref_key: "userOptionsRef",
|
|
941
|
+
ref: Vt,
|
|
942
|
+
key: `user_options_${jt.value}`,
|
|
943
|
+
backgroundColor: M.value.style.chart.backgroundColor,
|
|
944
|
+
color: M.value.style.chart.color,
|
|
945
|
+
isPrinting: w(nn),
|
|
946
|
+
isImaging: w(rn),
|
|
947
|
+
uid: D.value,
|
|
948
|
+
hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
|
|
949
|
+
hasPdf: M.value.userOptions.buttons.pdf,
|
|
950
|
+
hasImg: M.value.userOptions.buttons.img,
|
|
951
|
+
hasSvg: M.value.userOptions.buttons.svg,
|
|
952
|
+
hasXls: M.value.userOptions.buttons.csv,
|
|
953
|
+
hasTable: M.value.userOptions.buttons.table,
|
|
954
|
+
hasFullscreen: M.value.userOptions.buttons.fullscreen,
|
|
955
|
+
hasAltCopy: M.value.userOptions.buttons.altCopy,
|
|
956
|
+
isFullscreen: $.value,
|
|
957
|
+
isTooltip: L.value.showTooltip,
|
|
958
|
+
titles: { ...M.value.userOptions.buttonTitles },
|
|
959
|
+
chartElement: k.value,
|
|
960
|
+
position: M.value.userOptions.position,
|
|
961
|
+
hasAnnotator: M.value.userOptions.buttons.annotator,
|
|
962
|
+
isAnnotation: Yn.value,
|
|
963
|
+
callbacks: M.value.userOptions.callbacks,
|
|
964
|
+
printScale: M.value.userOptions.print.scale,
|
|
965
|
+
tableDialog: M.value.table.useDialog,
|
|
966
|
+
isCursorPointer: N.value,
|
|
967
|
+
onToggleFullscreen: Kn,
|
|
968
|
+
onGeneratePdf: w(an),
|
|
969
|
+
onGenerateCsv: Gn,
|
|
970
|
+
onGenerateImage: or,
|
|
971
|
+
onGenerateSvg: ar,
|
|
972
|
+
onToggleTable: qn,
|
|
973
|
+
onToggleTooltip: Jn,
|
|
974
|
+
onToggleAnnotator: Xn,
|
|
975
|
+
onCopyAlt: sr,
|
|
976
|
+
style: Re({ visibility: w(Qt) ? w(Xt) ? "visible" : "hidden" : "visible" })
|
|
977
|
+
}, Me({ _: 2 }, [
|
|
978
|
+
e.$slots.menuIcon ? {
|
|
979
|
+
name: "menuIcon",
|
|
980
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", v(_({
|
|
981
|
+
isOpen: t,
|
|
982
|
+
color: n
|
|
983
|
+
})), void 0, !0)]),
|
|
984
|
+
key: "0"
|
|
985
|
+
} : void 0,
|
|
986
|
+
e.$slots.optionTooltip ? {
|
|
987
|
+
name: "optionTooltip",
|
|
988
|
+
fn: T(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
989
|
+
key: "1"
|
|
990
|
+
} : void 0,
|
|
991
|
+
e.$slots.optionPdf ? {
|
|
992
|
+
name: "optionPdf",
|
|
993
|
+
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
994
|
+
key: "2"
|
|
995
|
+
} : void 0,
|
|
996
|
+
e.$slots.optionCsv ? {
|
|
997
|
+
name: "optionCsv",
|
|
998
|
+
fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
999
|
+
key: "3"
|
|
1000
|
+
} : void 0,
|
|
1001
|
+
e.$slots.optionImg ? {
|
|
1002
|
+
name: "optionImg",
|
|
1003
|
+
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1004
|
+
key: "4"
|
|
1005
|
+
} : void 0,
|
|
1006
|
+
e.$slots.optionSvg ? {
|
|
1007
|
+
name: "optionSvg",
|
|
1008
|
+
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1009
|
+
key: "5"
|
|
1010
|
+
} : void 0,
|
|
1011
|
+
e.$slots.optionTable ? {
|
|
1012
|
+
name: "optionTable",
|
|
1013
|
+
fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1014
|
+
key: "6"
|
|
1015
|
+
} : void 0,
|
|
1016
|
+
e.$slots.optionFullscreen ? {
|
|
1017
|
+
name: "optionFullscreen",
|
|
1018
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", v(_({
|
|
1019
|
+
toggleFullscreen: t,
|
|
1020
|
+
isFullscreen: n
|
|
1021
|
+
})), void 0, !0)]),
|
|
1022
|
+
key: "7"
|
|
1023
|
+
} : void 0,
|
|
1024
|
+
e.$slots.optionAnnotator ? {
|
|
1025
|
+
name: "optionAnnotator",
|
|
1026
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", v(_({
|
|
1027
|
+
toggleAnnotator: t,
|
|
1028
|
+
isAnnotator: n
|
|
1029
|
+
})), void 0, !0)]),
|
|
1030
|
+
key: "8"
|
|
1031
|
+
} : void 0,
|
|
1032
|
+
e.$slots.optionAltCopy ? {
|
|
1033
|
+
name: "optionAltCopy",
|
|
1034
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", v(_({ altCopy: t })), void 0, !0)]),
|
|
1035
|
+
key: "9"
|
|
1036
|
+
} : void 0
|
|
1037
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
|
|
1038
|
+
h("div", Xe, [(y(), m("svg", {
|
|
1039
|
+
ref_key: "svgRef",
|
|
1040
|
+
ref: P,
|
|
1041
|
+
xmlns: w(se),
|
|
1042
|
+
"aria-describedby": `chart-instructions-${D.value}`,
|
|
1043
|
+
class: Le({
|
|
1044
|
+
"vue-data-ui-fullscreen--on": $.value,
|
|
1045
|
+
"vue-data-ui-fulscreen--off": !$.value
|
|
1046
|
+
}),
|
|
1047
|
+
tabindex: "0",
|
|
1048
|
+
viewBox: `0 0 ${R.value.width <= 0 ? 10 : R.value.width} ${R.value.height <= 0 ? 10 : R.value.height}`,
|
|
1049
|
+
style: Re(`max-width:100%;overflow:visible;background:transparent;color:${M.value.style.chart.color}`),
|
|
1050
|
+
onFocus: cr,
|
|
1051
|
+
onBlur: lr,
|
|
1052
|
+
onKeydown: ur
|
|
1053
|
+
}, [
|
|
1054
|
+
Pe(w(St)),
|
|
1055
|
+
h("defs", null, [(y(!0), m(u, null, x(W.value, (e, t) => (y(), m("radialGradient", {
|
|
1056
|
+
cx: "50%",
|
|
1057
|
+
cy: "50%",
|
|
1058
|
+
r: "50%",
|
|
1059
|
+
fx: "50%",
|
|
1060
|
+
fy: "50%",
|
|
1061
|
+
id: `gradient_${D.value}_${t}`
|
|
1062
|
+
}, [h("stop", {
|
|
1063
|
+
offset: "0%",
|
|
1064
|
+
"stop-color": w(te)(w(a)(e.color, .05), 100 - M.value.style.chart.layout.rect.gradientIntensity)
|
|
1065
|
+
}, null, 8, $e), h("stop", {
|
|
1066
|
+
offset: "100%",
|
|
1067
|
+
"stop-color": e.color
|
|
1068
|
+
}, null, 8, et)], 8, Qe))), 256))]),
|
|
1069
|
+
h("defs", null, [h("filter", {
|
|
1070
|
+
id: `blur_${D.value}`,
|
|
1071
|
+
x: "-50%",
|
|
1072
|
+
y: "-50%",
|
|
1073
|
+
width: "200%",
|
|
1074
|
+
height: "200%"
|
|
1075
|
+
}, [...t[4] ||= [h("feGaussianBlur", {
|
|
1076
|
+
in: "SourceGraphic",
|
|
1077
|
+
stdDeviation: 2
|
|
1078
|
+
}, null, -1), h("feColorMatrix", {
|
|
1079
|
+
type: "saturate",
|
|
1080
|
+
values: "0"
|
|
1081
|
+
}, null, -1)]], 8, tt)]),
|
|
1082
|
+
M.value.useCustomCells && W.value.length && e.$slots.cell ? (y(!0), m(u, { key: 0 }, x(G.value, (t, n) => (y(), m("foreignObject", {
|
|
1083
|
+
x: t.x,
|
|
1084
|
+
y: t.y,
|
|
1085
|
+
height: V.value <= 0 ? 1e-4 : V.value,
|
|
1086
|
+
width: B.value <= 0 ? 1e-4 : B.value,
|
|
1087
|
+
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
1088
|
+
}, [S(e.$slots, "cell", Fe({ ref_for: !0 }, {
|
|
1089
|
+
cell: {
|
|
1090
|
+
...t,
|
|
1091
|
+
color: W.value[n].color,
|
|
1092
|
+
height: Math.max(0, V.value),
|
|
1093
|
+
width: Math.max(0, B.value),
|
|
1094
|
+
...W.value[n]
|
|
1095
|
+
},
|
|
1096
|
+
isSelected: [null, void 0].includes(O.value) ? !0 : W.value[n].serieIndex === O.value
|
|
1097
|
+
}), void 0, !0)], 8, nt))), 256)) : p("", !0),
|
|
1098
|
+
!W.value.length && !M.value.useCustomCells ? (y(), m("rect", {
|
|
1099
|
+
key: 1,
|
|
1100
|
+
x: 12,
|
|
1101
|
+
y: 12,
|
|
1102
|
+
height: z.value.height - 24,
|
|
1103
|
+
width: z.value.width - 24,
|
|
1104
|
+
rx: 3,
|
|
1105
|
+
fill: "none",
|
|
1106
|
+
stroke: "black"
|
|
1107
|
+
}, null, 8, rt)) : W.value.length && !M.value.useCustomCells ? (y(), m(u, { key: 2 }, [
|
|
1108
|
+
e.$slots.pattern ? (y(), m("g", it, [(y(!0), m(u, null, x(mn.value, (t) => (y(), m("defs", null, [S(e.$slots, "pattern", Fe({ ref_for: !0 }, {
|
|
1109
|
+
seriesIndex: t.absoluteIndex,
|
|
1110
|
+
patternId: `pattern_${D.value}_${t.absoluteIndex}`
|
|
1111
|
+
}), void 0, !0)]))), 256))])) : p("", !0),
|
|
1112
|
+
(y(!0), m(u, null, x(G.value, (e, t) => (y(), m("rect", {
|
|
1113
|
+
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1114
|
+
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1115
|
+
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1116
|
+
height: V.value <= 0 ? 1e-4 : V.value,
|
|
1117
|
+
width: B.value <= 0 ? 1e-4 : B.value,
|
|
1118
|
+
fill: "white",
|
|
1119
|
+
stroke: M.value.style.chart.layout.rect.stroke,
|
|
1120
|
+
"stroke-width": M.value.style.chart.layout.rect.strokeWidth,
|
|
1121
|
+
filter: Hn(W.value[t].serieIndex)
|
|
1122
|
+
}, null, 8, at))), 256)),
|
|
1123
|
+
(y(!0), m(u, null, x(G.value, (e, t) => (y(), m("rect", {
|
|
1124
|
+
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1125
|
+
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1126
|
+
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1127
|
+
height: V.value <= 0 ? 1e-4 : V.value,
|
|
1128
|
+
width: B.value <= 0 ? 1e-4 : B.value,
|
|
1129
|
+
fill: M.value.style.chart.layout.rect.useGradient && M.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${D.value}_${t})` : W.value[t].color,
|
|
1130
|
+
stroke: M.value.style.chart.layout.rect.stroke,
|
|
1131
|
+
"stroke-width": M.value.style.chart.layout.rect.strokeWidth,
|
|
1132
|
+
filter: Hn(W.value[t].serieIndex)
|
|
1133
|
+
}, null, 8, ot))), 256)),
|
|
1134
|
+
e.$slots.pattern ? (y(), m("g", st, [(y(!0), m(u, null, x(G.value, (e, t) => (y(), m("rect", {
|
|
1135
|
+
rx: M.value.style.chart.layout.rect.rounded ? M.value.style.chart.layout.rect.rounding : 0,
|
|
1136
|
+
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1137
|
+
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1138
|
+
height: V.value <= 0 ? 1e-4 : V.value,
|
|
1139
|
+
width: B.value <= 0 ? 1e-4 : B.value,
|
|
1140
|
+
fill: `url(#pattern_${D.value}_${W.value[t].absoluteIndex})`,
|
|
1141
|
+
stroke: "none",
|
|
1142
|
+
filter: Hn(W.value[t].serieIndex)
|
|
1143
|
+
}, null, 8, ct))), 256))])) : p("", !0)
|
|
1144
|
+
], 64)) : p("", !0),
|
|
1145
|
+
e.$slots.cellSvg ? (y(!0), m(u, { key: 3 }, x(G.value, (t, n) => (y(), m("g", null, [S(e.$slots, "cellSvg", Fe({ ref_for: !0 }, {
|
|
1146
|
+
cell: {
|
|
1147
|
+
...t,
|
|
1148
|
+
color: W.value[n].color,
|
|
1149
|
+
height: Math.max(0, V.value),
|
|
1150
|
+
width: Math.max(0, B.value),
|
|
1151
|
+
...W.value[n]
|
|
1152
|
+
},
|
|
1153
|
+
isSelected: [null, void 0].includes(O.value) ? !0 : W.value[n].serieIndex === O.value
|
|
1154
|
+
}), void 0, !0)]))), 256)) : p("", !0),
|
|
1155
|
+
(y(!0), m(u, null, x(G.value, (e, t) => (y(), m(u, null, [Un(t, e) ? (y(), m("text", {
|
|
1156
|
+
key: `datalabel_${t}`,
|
|
1157
|
+
textContent: C(Wn(t, e)),
|
|
1158
|
+
x: e.x + M.value.style.chart.layout.labels.captions.offsetX + M.value.style.chart.layout.grid.spaceBetween / 2 + 6,
|
|
1159
|
+
y: e.y + M.value.style.chart.layout.labels.captions.offsetY + M.value.style.chart.layout.grid.spaceBetween / 2 + un.value / 2 + M.value.style.chart.layout.labels.captions.fontSize / 3,
|
|
1160
|
+
"font-size": M.value.style.chart.layout.labels.captions.fontSize,
|
|
1161
|
+
fill: w(oe)(W.value[t].color),
|
|
1162
|
+
filter: Hn(W.value[t].serieIndex)
|
|
1163
|
+
}, null, 8, lt)) : p("", !0)], 64))), 256)),
|
|
1164
|
+
(y(!0), m(u, null, x(G.value, (e, t) => (y(), m("rect", {
|
|
1165
|
+
x: e.x + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1166
|
+
y: e.y + M.value.style.chart.layout.grid.spaceBetween / 2,
|
|
1167
|
+
height: un.value,
|
|
1168
|
+
width: ln.value,
|
|
1169
|
+
fill: "transparent",
|
|
1170
|
+
stroke: "none",
|
|
1171
|
+
onMouseover: (e) => Bn(t),
|
|
1172
|
+
onMouseleave: (e) => zn(t),
|
|
1173
|
+
onClick: (e) => Rn(t)
|
|
1174
|
+
}, null, 40, ut))), 256)),
|
|
1175
|
+
S(e.$slots, "svg", { svg: {
|
|
1176
|
+
...R.value,
|
|
1177
|
+
isPrintingImg: w(nn) || w(rn) || Ht.value,
|
|
1178
|
+
isPrintingSvg: Ut.value
|
|
1179
|
+
} }, void 0, !0)
|
|
1180
|
+
], 46, Ze)), e.$slots.hint ? (y(), m("div", dt, [S(e.$slots, "hint", v(_({
|
|
1181
|
+
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1182
|
+
isVisible: Gt.value
|
|
1183
|
+
})), void 0, !0)])) : p("", !0)]),
|
|
1184
|
+
e.$slots.watermark ? (y(), m("div", ft, [S(e.$slots, "watermark", v(_({ isPrinting: w(nn) || w(rn) || Ht.value || Ut.value })), void 0, !0)])) : p("", !0),
|
|
1185
|
+
h("div", { id: `legend-bottom-${D.value}` }, null, 8, pt),
|
|
1186
|
+
zt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (y(), f(je, {
|
|
1187
|
+
key: 6,
|
|
1188
|
+
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1189
|
+
}, [h("div", {
|
|
1190
|
+
ref_key: "chartLegend",
|
|
1191
|
+
ref: Nt
|
|
1192
|
+
}, [S(e.$slots, "legend", { legend: J.value }, () => [M.value.style.chart.legend.show ? (y(), f(ke, {
|
|
1193
|
+
key: `legend_${Rt.value}`,
|
|
1194
|
+
legendSet: J.value,
|
|
1195
|
+
config: Nn.value,
|
|
1196
|
+
isCursorPointer: N.value,
|
|
1197
|
+
onClickMarker: t[0] ||= ({ legend: e }) => q(e.uid)
|
|
1198
|
+
}, Me({
|
|
1199
|
+
item: T(({ legend: e }) => [h("div", {
|
|
1200
|
+
onClick: (t) => e.segregate(),
|
|
1201
|
+
style: Re(`opacity:${K.value.includes(e.uid) ? .5 : 1}`)
|
|
1202
|
+
}, C(e.display), 13, mt)]),
|
|
1203
|
+
legendToggle: T(() => [J.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(qt) ? (y(), f(we, {
|
|
1204
|
+
key: 0,
|
|
1205
|
+
backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1206
|
+
color: M.value.style.chart.legend.selectAllToggle.color,
|
|
1207
|
+
fontSize: M.value.style.chart.legend.fontSize,
|
|
1208
|
+
checked: K.value.length > 0,
|
|
1209
|
+
isCursorPointer: N.value,
|
|
1210
|
+
onToggle: On
|
|
1211
|
+
}, null, 8, [
|
|
1212
|
+
"backgroundColor",
|
|
1213
|
+
"color",
|
|
1214
|
+
"fontSize",
|
|
1215
|
+
"checked",
|
|
1216
|
+
"isCursorPointer"
|
|
1217
|
+
])) : p("", !0)]),
|
|
1218
|
+
_: 2
|
|
1219
|
+
}, [e.$slots.pattern ? {
|
|
1220
|
+
name: "legend-pattern",
|
|
1221
|
+
fn: T(({ legend: e, index: t }) => [Pe(be, {
|
|
1222
|
+
shape: e.shape,
|
|
1223
|
+
radius: 30,
|
|
1224
|
+
stroke: "none",
|
|
1225
|
+
plot: {
|
|
1226
|
+
x: 30,
|
|
1227
|
+
y: 30
|
|
1228
|
+
},
|
|
1229
|
+
fill: `url(#pattern_${D.value}_${t})`
|
|
1230
|
+
}, null, 8, ["shape", "fill"])]),
|
|
1231
|
+
key: "0"
|
|
1232
|
+
} : void 0]), 1032, [
|
|
1233
|
+
"legendSet",
|
|
1234
|
+
"config",
|
|
1235
|
+
"isCursorPointer"
|
|
1236
|
+
])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
|
|
1237
|
+
e.$slots.source ? (y(), m("div", {
|
|
1238
|
+
key: 7,
|
|
1239
|
+
ref_key: "source",
|
|
1240
|
+
ref: Pt,
|
|
1241
|
+
dir: "auto"
|
|
1242
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1243
|
+
Pe(w(gt), {
|
|
1244
|
+
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1245
|
+
show: L.value.showTooltip && kt.value && K.value.length < E.dataset.length,
|
|
1246
|
+
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
1247
|
+
color: M.value.style.chart.tooltip.color,
|
|
1248
|
+
borderRadius: M.value.style.chart.tooltip.borderRadius,
|
|
1249
|
+
borderColor: M.value.style.chart.tooltip.borderColor,
|
|
1250
|
+
borderWidth: M.value.style.chart.tooltip.borderWidth,
|
|
1251
|
+
backgroundOpacity: M.value.style.chart.tooltip.backgroundOpacity,
|
|
1252
|
+
position: M.value.style.chart.tooltip.position,
|
|
1253
|
+
offsetY: M.value.style.chart.tooltip.offsetY,
|
|
1254
|
+
parent: k.value,
|
|
1255
|
+
content: At.value,
|
|
1256
|
+
isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
|
|
1257
|
+
fontSize: M.value.style.chart.tooltip.fontSize,
|
|
1258
|
+
isFullscreen: $.value,
|
|
1259
|
+
smooth: M.value.style.chart.tooltip.smooth,
|
|
1260
|
+
backdropFilter: M.value.style.chart.tooltip.backdropFilter,
|
|
1261
|
+
smoothForce: M.value.style.chart.tooltip.smoothForce,
|
|
1262
|
+
smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1263
|
+
isA11yMode: j.value === "keyboard",
|
|
1264
|
+
a11yPosition: Wt.value
|
|
1265
|
+
}, {
|
|
1266
|
+
"tooltip-before": T(() => [S(e.$slots, "tooltip-before", v(_({ ...Pn.value })), void 0, !0)]),
|
|
1267
|
+
tooltip: T(() => [S(e.$slots, "tooltip", v(_({ ...Pn.value })), void 0, !0)]),
|
|
1268
|
+
"tooltip-after": T(() => [S(e.$slots, "tooltip-after", v(_({ ...Pn.value })), void 0, !0)]),
|
|
1269
|
+
_: 3
|
|
1270
|
+
}, 8, [
|
|
1271
|
+
"teleportTo",
|
|
1272
|
+
"show",
|
|
1273
|
+
"backgroundColor",
|
|
1274
|
+
"color",
|
|
1275
|
+
"borderRadius",
|
|
1276
|
+
"borderColor",
|
|
1277
|
+
"borderWidth",
|
|
1278
|
+
"backgroundOpacity",
|
|
1279
|
+
"position",
|
|
1280
|
+
"offsetY",
|
|
1281
|
+
"parent",
|
|
1282
|
+
"content",
|
|
1283
|
+
"isCustom",
|
|
1284
|
+
"fontSize",
|
|
1285
|
+
"isFullscreen",
|
|
1286
|
+
"smooth",
|
|
1287
|
+
"backdropFilter",
|
|
1288
|
+
"smoothForce",
|
|
1289
|
+
"smoothSnapThreshold",
|
|
1290
|
+
"isA11yMode",
|
|
1291
|
+
"a11yPosition"
|
|
1292
|
+
]),
|
|
1293
|
+
Ot.value && M.value.userOptions.buttons.table ? (y(), f(Ve(Qn.value.component), Fe({ key: 8 }, Qn.value.props, {
|
|
1294
|
+
ref_key: "tableUnit",
|
|
1295
|
+
ref: Bt,
|
|
1296
|
+
onClose: $n
|
|
1297
|
+
}), Me({
|
|
1298
|
+
content: T(() => [(y(), f(w(vt), {
|
|
1299
|
+
key: `table_${Lt.value}`,
|
|
1300
|
+
colNames: Q.value.colNames,
|
|
1301
|
+
head: Q.value.head,
|
|
1302
|
+
body: Q.value.body,
|
|
1303
|
+
config: Q.value.config,
|
|
1304
|
+
title: M.value.table.useDialog ? "" : Qn.value.title,
|
|
1305
|
+
withCloseButton: !M.value.table.useDialog,
|
|
1306
|
+
isCursorPointer: N.value,
|
|
1307
|
+
onClose: $n
|
|
1308
|
+
}, {
|
|
1309
|
+
th: T(({ th: e }) => [h("div", {
|
|
1310
|
+
innerHTML: e,
|
|
1311
|
+
style: {
|
|
1312
|
+
display: "flex",
|
|
1313
|
+
"align-items": "center"
|
|
1314
|
+
}
|
|
1315
|
+
}, null, 8, ht)]),
|
|
1316
|
+
td: T(({ td: e }) => [Ne(C(e.name || e), 1)]),
|
|
1317
|
+
_: 1
|
|
1318
|
+
}, 8, [
|
|
1319
|
+
"colNames",
|
|
1320
|
+
"head",
|
|
1321
|
+
"body",
|
|
1322
|
+
"config",
|
|
1323
|
+
"title",
|
|
1324
|
+
"withCloseButton",
|
|
1325
|
+
"isCursorPointer"
|
|
1326
|
+
]))]),
|
|
1327
|
+
_: 2
|
|
1328
|
+
}, [M.value.table.useDialog ? {
|
|
1329
|
+
name: "title",
|
|
1330
|
+
fn: T(() => [Ne(C(Qn.value.title), 1)]),
|
|
1331
|
+
key: "0"
|
|
1332
|
+
} : void 0, M.value.table.useDialog ? {
|
|
1333
|
+
name: "actions",
|
|
1334
|
+
fn: T(() => [h("button", {
|
|
1335
|
+
tabindex: "0",
|
|
1336
|
+
class: "vue-ui-user-options-button",
|
|
1337
|
+
onClick: t[1] ||= (e) => Gn(M.value.userOptions.callbacks.csv),
|
|
1338
|
+
style: Re({ cursor: N.value ? "pointer" : "default" })
|
|
1339
|
+
}, [Pe(w(_t), {
|
|
1340
|
+
name: "fileCsv",
|
|
1341
|
+
stroke: Qn.value.props.color
|
|
1342
|
+
}, null, 8, ["stroke"])], 4)]),
|
|
1343
|
+
key: "1"
|
|
1344
|
+
} : void 0]), 1040)) : p("", !0),
|
|
1345
|
+
S(e.$slots, "skeleton", {}, () => [w(qt) ? (y(), f(me, { key: 0 })) : p("", !0)], !0)
|
|
1346
|
+
], 46, qe));
|
|
1347
|
+
}
|
|
1348
|
+
}, [["__scopeId", "data-v-bf7a29d0"]]);
|
|
1349
|
+
//#endregion
|
|
1350
|
+
export { Ke as n, gt as t };
|