vue-data-ui 3.20.3 → 3.20.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/A11yDataTable-BCbtxMU6.js +45 -0
- package/dist/Arrow-D6j6ocXm.js +116 -0
- package/dist/BaseDraggableDialog-4hDW-Rj2.js +272 -0
- package/dist/BaseIcon-DfLoHNUj.js +502 -0
- package/dist/BaseLegendToggle-C_Db-y7s.js +56 -0
- package/dist/BaseScanner-Dr2a1Msy.js +27 -0
- package/dist/BaseZoomControls-CG7hI_1P.js +111 -0
- package/dist/ColorPicker-Bjwxnvfh.js +255 -0
- package/dist/DataTable-B--IN22e.js +150 -0
- package/dist/Legend-Cz2uQ5gs.js +114 -0
- package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +577 -0
- package/dist/PackageVersion-BYcZLGDG.js +11 -0
- package/dist/PenAndPaper-DqrClVfb.js +461 -0
- package/dist/RecursiveCircles-D6aDPmoe.js +117 -0
- package/dist/RecursiveLabels-D9rfID6q.js +56 -0
- package/dist/RecursiveLinks-BygcpDiT.js +78 -0
- package/dist/Shape-BPCJfphn.js +141 -0
- package/dist/Slicer-SHBj0VaV.js +1144 -0
- package/dist/SlicerPreview-DdihbUSJ.js +1668 -0
- package/dist/SparkTooltip-CfE6yCad.js +93 -0
- package/dist/Title-NWp4qB4K.js +87 -0
- package/dist/Tooltip-BENq327o.js +312 -0
- package/dist/UserOptions-C1NgoGu6.js +1411 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/canvas-lib-BOP_HS11.js +79 -0
- package/dist/components/arrow.js +2 -0
- package/dist/components/vue-ui-3d-bar.js +2 -0
- package/dist/components/vue-ui-accordion.js +2 -0
- package/dist/components/vue-ui-age-pyramid.js +2 -0
- package/dist/components/vue-ui-annotator.js +2 -0
- package/dist/components/vue-ui-bullet.js +2 -0
- package/dist/components/vue-ui-bump.js +2 -0
- package/dist/components/vue-ui-candlestick.js +2 -0
- package/dist/components/vue-ui-carousel-table.js +2 -0
- package/dist/components/vue-ui-chestnut.js +2 -0
- package/dist/components/vue-ui-chord.js +2 -0
- package/dist/components/vue-ui-circle-pack.js +2 -0
- package/dist/components/vue-ui-cursor.js +2 -0
- package/dist/components/vue-ui-dag.js +2 -0
- package/dist/components/vue-ui-dashboard.js +2 -0
- package/dist/components/vue-ui-digits.js +2 -0
- package/dist/components/vue-ui-donut-evolution.js +2 -0
- package/dist/components/vue-ui-donut.js +2 -0
- package/dist/components/vue-ui-dumbbell.js +2 -0
- package/dist/components/vue-ui-flow.js +2 -0
- package/dist/components/vue-ui-funnel.js +2 -0
- package/dist/components/vue-ui-galaxy.js +2 -0
- package/dist/components/vue-ui-gauge.js +2 -0
- package/dist/components/vue-ui-geo.js +2 -0
- package/dist/components/vue-ui-gizmo.js +2 -0
- package/dist/components/vue-ui-heatmap.js +2 -0
- package/dist/components/vue-ui-history-plot.js +2 -0
- package/dist/components/vue-ui-horizontal-bar.js +2 -0
- package/dist/components/vue-ui-icon.js +2 -0
- package/dist/components/vue-ui-kpi.js +2 -0
- package/dist/components/vue-ui-mini-loader.js +2 -0
- package/dist/components/vue-ui-molecule.js +2 -0
- package/dist/components/vue-ui-mood-radar.js +2 -0
- package/dist/components/vue-ui-nested-donuts.js +2 -0
- package/dist/components/vue-ui-onion.js +2 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -0
- package/dist/components/vue-ui-pattern-seed.js +2 -0
- package/dist/components/vue-ui-pattern.js +2 -0
- package/dist/components/vue-ui-quadrant.js +2 -0
- package/dist/components/vue-ui-quick-chart.js +2 -0
- package/dist/components/vue-ui-radar.js +2 -0
- package/dist/components/vue-ui-rating.js +2 -0
- package/dist/components/vue-ui-relation-circle.js +2 -0
- package/dist/components/vue-ui-ridgeline.js +2 -0
- package/dist/components/vue-ui-rings.js +2 -0
- package/dist/components/vue-ui-scatter.js +2 -0
- package/dist/components/vue-ui-skeleton.js +2 -0
- package/dist/components/vue-ui-smiley.js +2 -0
- package/dist/components/vue-ui-spark-trend.js +2 -0
- package/dist/components/vue-ui-sparkbar.js +2 -0
- package/dist/components/vue-ui-sparkgauge.js +2 -0
- package/dist/components/vue-ui-sparkhistogram.js +2 -0
- package/dist/components/vue-ui-sparkline.js +2 -0
- package/dist/components/vue-ui-sparkstackbar.js +2 -0
- package/dist/components/vue-ui-stackbar.js +2 -0
- package/dist/components/vue-ui-stackline.js +2 -0
- package/dist/components/vue-ui-strip-plot.js +2 -0
- package/dist/components/vue-ui-table-heatmap.js +2 -0
- package/dist/components/vue-ui-table-sparkline.js +2 -0
- package/dist/components/vue-ui-table.js +2 -0
- package/dist/components/vue-ui-thermometer.js +2 -0
- package/dist/components/vue-ui-timer.js +2 -0
- package/dist/components/vue-ui-tiremarks.js +2 -0
- package/dist/components/vue-ui-treemap.js +2 -0
- package/dist/components/vue-ui-vertical-bar.js +2 -0
- package/dist/components/vue-ui-waffle.js +2 -0
- package/dist/components/vue-ui-wheel.js +2 -0
- package/dist/components/vue-ui-word-cloud.js +2 -0
- package/dist/components/vue-ui-world.js +2 -0
- package/dist/components/vue-ui-xy-canvas.js +2 -0
- package/dist/components/vue-ui-xy.js +2 -0
- package/dist/dom-to-png-BYtB4BF3.js +237 -0
- package/dist/exposedLib-CI8ji8G-.js +19 -0
- package/dist/geoProjections-Czak6Jn1.js +145 -0
- package/dist/img-1cKsci8e.js +74 -0
- package/dist/labelUtils-CUctkYoA.js +19 -0
- package/dist/lib-DUeYQsS0.js +1882 -0
- package/dist/llms.txt +232 -0
- package/dist/patternUtils-CS7hn6at.js +258 -0
- package/dist/pdf-D0eZ99cP.js +90 -0
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/style.css +2 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/utils.d.ts +551 -0
- package/dist/types/vue-data-ui.d.ts +17190 -0
- package/dist/types/vue-ui-3d-bar.d.ts +93 -0
- package/dist/types/vue-ui-accordion.d.ts +11 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +108 -0
- package/dist/types/vue-ui-annotator.d.ts +34 -0
- package/dist/types/vue-ui-bullet.d.ts +85 -0
- package/dist/types/vue-ui-bump.d.ts +92 -0
- package/dist/types/vue-ui-candlestick.d.ts +106 -0
- package/dist/types/vue-ui-carousel-table.d.ts +59 -0
- package/dist/types/vue-ui-chestnut.d.ts +98 -0
- package/dist/types/vue-ui-chord.d.ts +110 -0
- package/dist/types/vue-ui-circle-pack.d.ts +126 -0
- package/dist/types/vue-ui-cursor.d.ts +9 -0
- package/dist/types/vue-ui-dag.d.ts +125 -0
- package/dist/types/vue-ui-dashboard.d.ts +68 -0
- package/dist/types/vue-ui-digits.d.ts +12 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +98 -0
- package/dist/types/vue-ui-donut.d.ts +123 -0
- package/dist/types/vue-ui-dumbbell.d.ts +94 -0
- package/dist/types/vue-ui-flow.d.ts +106 -0
- package/dist/types/vue-ui-funnel.d.ts +79 -0
- package/dist/types/vue-ui-galaxy.d.ts +114 -0
- package/dist/types/vue-ui-gauge.d.ts +89 -0
- package/dist/types/vue-ui-geo.d.ts +94 -0
- package/dist/types/vue-ui-gizmo.d.ts +22 -0
- package/dist/types/vue-ui-heatmap.d.ts +101 -0
- package/dist/types/vue-ui-history-plot.d.ts +114 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +116 -0
- package/dist/types/vue-ui-icon.d.ts +15 -0
- package/dist/types/vue-ui-kpi.d.ts +25 -0
- package/dist/types/vue-ui-mini-loader.d.ts +15 -0
- package/dist/types/vue-ui-molecule.d.ts +112 -0
- package/dist/types/vue-ui-mood-radar.d.ts +92 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +111 -0
- package/dist/types/vue-ui-onion.d.ts +106 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +125 -0
- package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
- package/dist/types/vue-ui-pattern.d.ts +15 -0
- package/dist/types/vue-ui-quadrant.d.ts +125 -0
- package/dist/types/vue-ui-quick-chart.d.ts +108 -0
- package/dist/types/vue-ui-radar.d.ts +116 -0
- package/dist/types/vue-ui-rating.d.ts +42 -0
- package/dist/types/vue-ui-relation-circle.d.ts +92 -0
- package/dist/types/vue-ui-ridgeline.d.ts +106 -0
- package/dist/types/vue-ui-rings.d.ts +98 -0
- package/dist/types/vue-ui-scatter.d.ts +97 -0
- package/dist/types/vue-ui-skeleton.d.ts +11 -0
- package/dist/types/vue-ui-smiley.d.ts +28 -0
- package/dist/types/vue-ui-spark-trend.d.ts +19 -0
- package/dist/types/vue-ui-sparkbar.d.ts +49 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +28 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +46 -0
- package/dist/types/vue-ui-sparkline.d.ts +59 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +60 -0
- package/dist/types/vue-ui-stackbar.d.ts +118 -0
- package/dist/types/vue-ui-stackline.d.ts +114 -0
- package/dist/types/vue-ui-strip-plot.d.ts +96 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +62 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +53 -0
- package/dist/types/vue-ui-table.d.ts +38 -0
- package/dist/types/vue-ui-thermometer.d.ts +70 -0
- package/dist/types/vue-ui-timer.d.ts +49 -0
- package/dist/types/vue-ui-tiremarks.d.ts +70 -0
- package/dist/types/vue-ui-treemap.d.ts +104 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +22 -0
- package/dist/types/vue-ui-waffle.d.ts +101 -0
- package/dist/types/vue-ui-wheel.d.ts +70 -0
- package/dist/types/vue-ui-word-cloud.d.ts +97 -0
- package/dist/types/vue-ui-world.d.ts +98 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +101 -0
- package/dist/types/vue-ui-xy.d.ts +146 -0
- package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +50 -0
- package/dist/useChartAccessibility-DYqac8yF.js +12 -0
- package/dist/useConfig-DAyQk86L.js +7479 -0
- package/dist/useFitSvgText-CT3nmlaS.js +63 -0
- package/dist/useNestedProp-CNcoy38D.js +10 -0
- package/dist/useObjectBindings-BI7hP-BC.js +189 -0
- package/dist/usePanZoom-CYU3B4T3.js +157 -0
- package/dist/usePrefersMotion-BC-CsqR1.js +15 -0
- package/dist/usePrinter-C1Gqt_Sp.js +49 -0
- package/dist/useResponsive-BfnK0KxU.js +19 -0
- package/dist/useStableElementSize-C7KADDKj.js +77 -0
- package/dist/useSvgExport-SVIsDot8.js +755 -0
- package/dist/useTableResponsive-B24Uwt2E.js +24 -0
- package/dist/useThemeCheck-C43Tcqmk.js +24 -0
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +57 -0
- package/dist/useTimeLabels-BmBRv27Y.js +272 -0
- package/dist/useUserOptionState-DK-_1ddE.js +15 -0
- package/dist/utils.js +28 -0
- package/dist/vClickOutside-DUrZWttG.js +13 -0
- package/dist/vue-data-ui-DuLO91Bk.js +274 -0
- package/dist/vue-data-ui.js +76 -0
- package/dist/vue-ui-3d-bar-DMDfraIo.js +1757 -0
- package/dist/vue-ui-accordion-Dw4MHKVB.js +81 -0
- package/dist/vue-ui-age-pyramid-CN68d9su.js +1238 -0
- package/dist/vue-ui-annotator-DLPUAKlm.js +2899 -0
- package/dist/vue-ui-bullet-V21vyb4T.js +710 -0
- package/dist/vue-ui-bump-BvnBJcx0.js +1249 -0
- package/dist/vue-ui-candlestick-DaIeT5kU.js +1826 -0
- package/dist/vue-ui-carousel-table-BBTm1Etq.js +455 -0
- package/dist/vue-ui-chestnut-BLtE39N7.js +2010 -0
- package/dist/vue-ui-chord-D1UVle9f.js +1391 -0
- package/dist/vue-ui-circle-pack-BDDVjuT1.js +1608 -0
- package/dist/vue-ui-cursor-CiU4ttGN.js +283 -0
- package/dist/vue-ui-dag-D2U673ns.js +2909 -0
- package/dist/vue-ui-dashboard-JK7v_bwo.js +513 -0
- package/dist/vue-ui-digits-D5b3eJ5q.js +209 -0
- package/dist/vue-ui-donut-BYf4FbjI.js +2410 -0
- package/dist/vue-ui-donut-evolution-Id7YwbiG.js +1510 -0
- package/dist/vue-ui-dumbbell-CToh2l5g.js +1530 -0
- package/dist/vue-ui-flow-CmBI0IKa.js +1235 -0
- package/dist/vue-ui-funnel-B67L6mTB.js +777 -0
- package/dist/vue-ui-galaxy-CFZP36s4.js +1077 -0
- package/dist/vue-ui-gauge-sZxKMn7t.js +920 -0
- package/dist/vue-ui-geo-DK8fAoZd.js +1516 -0
- package/dist/vue-ui-gizmo-DsJtcBEf.js +225 -0
- package/dist/vue-ui-heatmap-B87-9zpu.js +1568 -0
- package/dist/vue-ui-history-plot-Dhv-zMSR.js +1554 -0
- package/dist/vue-ui-horizontal-bar-BAT7IYhL.js +1681 -0
- package/dist/vue-ui-kpi-BggezxVU.js +96 -0
- package/dist/vue-ui-mini-loader-CyqBt2g4.js +125 -0
- package/dist/vue-ui-molecule-uXC5g9qp.js +925 -0
- package/dist/vue-ui-mood-radar-BYoxNRMc.js +1148 -0
- package/dist/vue-ui-nested-donuts-BVniVpDM.js +1487 -0
- package/dist/vue-ui-onion-CWzeZ5Ak.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Dbx6W4ZW.js +1416 -0
- package/dist/vue-ui-pattern-DKozfnVn.js +154 -0
- package/dist/vue-ui-pattern-seed-BB1honLm.js +61 -0
- package/dist/vue-ui-quadrant-BrPLv-sz.js +1978 -0
- package/dist/vue-ui-quick-chart-B0S_4DeW.js +2469 -0
- package/dist/vue-ui-radar-CUo6FWXZ.js +1229 -0
- package/dist/vue-ui-rating-BG4lf1z8.js +343 -0
- package/dist/vue-ui-relation-circle-2a6IZgKe.js +924 -0
- package/dist/vue-ui-ridgeline-DnQBrx71.js +1622 -0
- package/dist/vue-ui-rings-BibWJNh2.js +1246 -0
- package/dist/vue-ui-scatter-8srfWwTp.js +2413 -0
- package/dist/vue-ui-skeleton-BoKB7qJM.js +2556 -0
- package/dist/vue-ui-smiley-G89TxRU-.js +356 -0
- package/dist/vue-ui-spark-trend-Cq4pIgWr.js +438 -0
- package/dist/vue-ui-sparkbar-CgFKnZEF.js +393 -0
- package/dist/vue-ui-sparkgauge-ea-PGnBC.js +255 -0
- package/dist/vue-ui-sparkhistogram-BfgnG41U.js +560 -0
- package/dist/vue-ui-sparkline-CDOa3xh8.js +1507 -0
- package/dist/vue-ui-sparkstackbar-DEsSr92Z.js +662 -0
- package/dist/vue-ui-stackbar-BeegxXk_.js +2270 -0
- package/dist/vue-ui-stackline-_G-cbZRe.js +2398 -0
- package/dist/vue-ui-strip-plot-VasAk496.js +1340 -0
- package/dist/vue-ui-table-DysBVxy5.js +1338 -0
- package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +344 -0
- package/dist/vue-ui-table-sparkline-DQduGRPm.js +707 -0
- package/dist/vue-ui-thermometer-1l6KUpS8.js +763 -0
- package/dist/vue-ui-timer-Db2d4LNp.js +439 -0
- package/dist/vue-ui-tiremarks-YtFZjYFp.js +552 -0
- package/dist/vue-ui-treemap-DxwEGZ9p.js +1587 -0
- package/dist/vue-ui-waffle-C9bzj7pV.js +1362 -0
- package/dist/vue-ui-wheel-DKzocpS-.js +885 -0
- package/dist/vue-ui-word-cloud-DkNU1GFp.js +1656 -0
- package/dist/vue-ui-world-DhnfDaFE.js +14264 -0
- package/dist/vue-ui-xy-BzhW8pHi.js +4578 -0
- package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +1787 -0
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +185 -0
- package/dist/vue_ui_age_pyramid-BY6c-oX_.js +301 -0
- package/dist/vue_ui_bullet-ClzdLoOv.js +186 -0
- package/dist/vue_ui_bump-Vl-zYAtG.js +201 -0
- package/dist/vue_ui_candlestick-J8jmJvxP.js +374 -0
- package/dist/vue_ui_chestnut-D2oUhad6.js +305 -0
- package/dist/vue_ui_chord-DPfS1Umc.js +275 -0
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +172 -0
- package/dist/vue_ui_dag-TsJ_azQq.js +258 -0
- package/dist/vue_ui_donut-BDGqG07h.js +358 -0
- package/dist/vue_ui_donut_evolution-D1yAAIHr.js +717 -0
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +304 -0
- package/dist/vue_ui_flow-BewZjjKG.js +238 -0
- package/dist/vue_ui_funnel-_Og4EEkO.js +234 -0
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +265 -0
- package/dist/vue_ui_gauge-Cf1RZc9q.js +178 -0
- package/dist/vue_ui_geo-B8TODs-G.js +248 -0
- package/dist/vue_ui_heatmap-B2BBBSWG.js +319 -0
- package/dist/vue_ui_history_plot-CuN63VEc.js +413 -0
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +341 -0
- package/dist/vue_ui_molecule-CO9L59SF.js +231 -0
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +281 -0
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +273 -0
- package/dist/vue_ui_onion-1FTFFS46.js +293 -0
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +278 -0
- package/dist/vue_ui_quadrant-CDSTKTJz.js +428 -0
- package/dist/vue_ui_quick_chart-mZBdml3Z.js +139 -0
- package/dist/vue_ui_radar-jafTED5j.js +306 -0
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +98 -0
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +767 -0
- package/dist/vue_ui_rings-BVgD2aMn.js +320 -0
- package/dist/vue_ui_scatter-I0POnicu.js +479 -0
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +82 -0
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +64 -0
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +90 -0
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +123 -0
- package/dist/vue_ui_sparkline-auZhap6Y.js +151 -0
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +175 -0
- package/dist/vue_ui_stackbar-COOrQQdK.js +412 -0
- package/dist/vue_ui_stackline-DQqKPA9z.js +460 -0
- package/dist/vue_ui_strip_plot-CtJe8_gq.js +301 -0
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +80 -0
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +124 -0
- package/dist/vue_ui_thermometer-DxgqWKlE.js +123 -0
- package/dist/vue_ui_tiremarks-CdEPieWV.js +122 -0
- package/dist/vue_ui_treemap-DoEtkRN6.js +328 -0
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +247 -0
- package/dist/vue_ui_waffle-DIARFc7g.js +292 -0
- package/dist/vue_ui_wheel-DZ_nR--t.js +133 -0
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +254 -0
- package/dist/vue_ui_xy-BLUkWEAm.js +482 -0
- package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +408 -0
- package/package.json +120 -120
|
@@ -0,0 +1,1229 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { Bt as t, Ct as n, D as r, Et as i, G as a, H as ee, J as te, Mt as o, Nt as ne, Rt as re, S as ie, St as ae, X as s, i as oe, nt as se, ot as ce, pt as le, t as ue, v as de, x as fe, y as pe } from "./lib-DUeYQsS0.js";
|
|
3
|
+
import { t as me } from "./useConfig-DAyQk86L.js";
|
|
4
|
+
import { t as he } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
+
import { n as ge, t as _e } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as ve } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as ye } from "./useNestedProp-CNcoy38D.js";
|
|
8
|
+
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as xe } from "./img-1cKsci8e.js";
|
|
10
|
+
import { n as Se } from "./Title-NWp4qB4K.js";
|
|
11
|
+
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { c as we } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
+
import { t as Te } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
+
import { t as Ee } from "./BaseLegendToggle-C_Db-y7s.js";
|
|
15
|
+
import { t as De } from "./A11yDataTable-BCbtxMU6.js";
|
|
16
|
+
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
|
+
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
+
import { t as Ae } from "./Legend-Cz2uQ5gs.js";
|
|
19
|
+
import { t as je } from "./useAutoSizeLabelsInsideViewbox-BIVntRZp.js";
|
|
20
|
+
import { t as Me } from "./vue_ui_radar-jafTED5j.js";
|
|
21
|
+
import { Fragment as c, Teleport as Ne, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Le, nextTick as Re, normalizeClass as g, normalizeProps as _, normalizeStyle as v, 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, watch as We, withCtx as T } from "vue";
|
|
22
|
+
//#region src/components/vue-ui-radar.vue
|
|
23
|
+
var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
|
|
24
|
+
"xmlns",
|
|
25
|
+
"aria-describedby",
|
|
26
|
+
"viewBox"
|
|
27
|
+
], Ze = ["width", "height"], Qe = ["id"], $e = ["stop-color"], et = ["stop-color"], tt = { key: 1 }, nt = [
|
|
28
|
+
"x1",
|
|
29
|
+
"y1",
|
|
30
|
+
"x2",
|
|
31
|
+
"y2",
|
|
32
|
+
"stroke",
|
|
33
|
+
"stroke-width"
|
|
34
|
+
], rt = { key: 0 }, it = [
|
|
35
|
+
"d",
|
|
36
|
+
"stroke",
|
|
37
|
+
"stroke-width"
|
|
38
|
+
], at = [
|
|
39
|
+
"d",
|
|
40
|
+
"stroke",
|
|
41
|
+
"stroke-width"
|
|
42
|
+
], ot = { key: 2 }, st = [
|
|
43
|
+
"x",
|
|
44
|
+
"y",
|
|
45
|
+
"text-anchor",
|
|
46
|
+
"font-size",
|
|
47
|
+
"fill",
|
|
48
|
+
"onMouseenter",
|
|
49
|
+
"onMouseleave",
|
|
50
|
+
"onClick"
|
|
51
|
+
], ct = [
|
|
52
|
+
"points",
|
|
53
|
+
"stroke",
|
|
54
|
+
"stroke-width"
|
|
55
|
+
], lt = [
|
|
56
|
+
"points",
|
|
57
|
+
"stroke",
|
|
58
|
+
"stroke-width",
|
|
59
|
+
"fill"
|
|
60
|
+
], ut = { key: 3 }, dt = [
|
|
61
|
+
"cx",
|
|
62
|
+
"cy",
|
|
63
|
+
"fill",
|
|
64
|
+
"r",
|
|
65
|
+
"stroke"
|
|
66
|
+
], ft = {
|
|
67
|
+
key: 0,
|
|
68
|
+
style: {
|
|
69
|
+
position: "absolute",
|
|
70
|
+
top: "100%",
|
|
71
|
+
left: "0",
|
|
72
|
+
width: "100%"
|
|
73
|
+
},
|
|
74
|
+
"data-dom-to-png-ignore": "",
|
|
75
|
+
"aria-hidden": "true"
|
|
76
|
+
}, pt = {
|
|
77
|
+
key: 5,
|
|
78
|
+
class: "vue-data-ui-watermark"
|
|
79
|
+
}, mt = ["id"], ht = ["onClick"], gt = {
|
|
80
|
+
key: 0,
|
|
81
|
+
style: {
|
|
82
|
+
"max-width": "200px",
|
|
83
|
+
margin: "0 auto"
|
|
84
|
+
}
|
|
85
|
+
}, _t = {
|
|
86
|
+
class: "vue-ui-radar-tooltip-datalabel",
|
|
87
|
+
style: { width: "100%" }
|
|
88
|
+
}, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /* @__PURE__ */ Ce({
|
|
89
|
+
__name: "vue-ui-radar",
|
|
90
|
+
props: {
|
|
91
|
+
config: {
|
|
92
|
+
type: Object,
|
|
93
|
+
default() {
|
|
94
|
+
return {};
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
dataset: {
|
|
98
|
+
type: Object,
|
|
99
|
+
default() {
|
|
100
|
+
return {};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
emits: ["selectLegend", "copyAlt"],
|
|
105
|
+
setup(e, { expose: Ce, emit: Ge }) {
|
|
106
|
+
let bt = m(() => import("./Tooltip-BENq327o.js")), xt = m(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), St = m(() => import("./vue-ui-sparkbar-CgFKnZEF.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), wt = m(() => import("./DataTable-B--IN22e.js")), Tt = m(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Et = m(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-BYcZLGDG.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_radar: kt } = me(), { isThemeValid: At, warnInvalidTheme: jt } = be(), E = e, Mt = l(() => !!E.dataset && Object.keys(E.dataset).length), D = b(ee()), O = b(!1), Nt = b(""), Pt = b(0), k = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(null), zt = b(0), Bt = b(0), Vt = b(0), Ht = b(!1), A = b(null), Ut = b(null), Wt = b(!1), Gt = b(!1), j = b(null), Kt = b({
|
|
107
|
+
x: 0,
|
|
108
|
+
y: 0
|
|
109
|
+
}), M = b("pointer"), qt = b(!1), N = b($t()), P = l(() => N.value.userOptions.useCursorPointer), Jt = l(() => t({
|
|
110
|
+
defaultConfig: {
|
|
111
|
+
userOptions: { show: !1 },
|
|
112
|
+
table: { show: !1 },
|
|
113
|
+
useCssAnimation: !1,
|
|
114
|
+
style: { chart: {
|
|
115
|
+
backgroundColor: "#99999930",
|
|
116
|
+
layout: {
|
|
117
|
+
grid: { stroke: "#6A6A6A90" },
|
|
118
|
+
labels: { dataLabels: { show: !1 } },
|
|
119
|
+
outerPolygon: { stroke: "#6A6A6A" }
|
|
120
|
+
},
|
|
121
|
+
legend: { backgroundColor: "transparent" }
|
|
122
|
+
} }
|
|
123
|
+
},
|
|
124
|
+
userConfig: N.value.skeletonConfig ?? {}
|
|
125
|
+
})), { loading: Yt, FINAL_DATASET: F } = ge({
|
|
126
|
+
...Ue(E),
|
|
127
|
+
FINAL_CONFIG: N,
|
|
128
|
+
prepareConfig: $t,
|
|
129
|
+
callback: () => {
|
|
130
|
+
Promise.resolve().then(async () => {
|
|
131
|
+
await Re(), B.value.showTable = N.value.table.show;
|
|
132
|
+
});
|
|
133
|
+
},
|
|
134
|
+
skeletonDataset: E.config?.skeletonDataset ?? {
|
|
135
|
+
categories: [{
|
|
136
|
+
name: "_",
|
|
137
|
+
color: "#6A6A6A"
|
|
138
|
+
}],
|
|
139
|
+
series: [
|
|
140
|
+
{
|
|
141
|
+
name: "_",
|
|
142
|
+
values: [.6],
|
|
143
|
+
target: 1
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: "_",
|
|
147
|
+
values: [.6],
|
|
148
|
+
target: 1
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: "_",
|
|
152
|
+
values: [.6],
|
|
153
|
+
target: 1
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: "_",
|
|
157
|
+
values: [.6],
|
|
158
|
+
target: 1
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: "_",
|
|
162
|
+
values: [.6],
|
|
163
|
+
target: 1
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: "_",
|
|
167
|
+
values: [.6],
|
|
168
|
+
target: 1
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
skeletonConfig: t({
|
|
173
|
+
defaultConfig: N.value,
|
|
174
|
+
userConfig: Jt.value
|
|
175
|
+
})
|
|
176
|
+
}), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = Oe({ config: N.value }), { svgRef: I } = ke({ config: N.value.style.chart.title });
|
|
177
|
+
function $t() {
|
|
178
|
+
let e = ye({
|
|
179
|
+
userConfig: E.config,
|
|
180
|
+
defaultConfig: kt
|
|
181
|
+
}), t = e.theme;
|
|
182
|
+
if (!t) return e;
|
|
183
|
+
if (!At.value(e)) return jt(e), e;
|
|
184
|
+
let n = ye({
|
|
185
|
+
userConfig: Me[t] || E.config,
|
|
186
|
+
defaultConfig: e
|
|
187
|
+
}), r = ye({
|
|
188
|
+
userConfig: E.config,
|
|
189
|
+
defaultConfig: n
|
|
190
|
+
});
|
|
191
|
+
return {
|
|
192
|
+
...r,
|
|
193
|
+
customPalette: r.customPalette.length ? r.customPalette : re[t] || i
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
We(() => E.config, (e) => {
|
|
197
|
+
N.value = $t(), Xt.value = !N.value.userOptions.showOnChartHover, en(), zt.value += 1, Bt.value += 1, Vt.value += 1, B.value.dataLabels.show = N.value.style.chart.layout.labels.dataLabels.show, B.value.showTable = N.value.table.show, B.value.showTooltip = N.value.style.chart.tooltip ? N.value.style.chart.tooltip.show : !1;
|
|
198
|
+
}, { deep: !0 });
|
|
199
|
+
let L = He(null), R = He(null), z = l(() => N.value.debug);
|
|
200
|
+
function en() {
|
|
201
|
+
if (n(E.dataset) && s({
|
|
202
|
+
componentName: "VueUiRadar",
|
|
203
|
+
type: "dataset",
|
|
204
|
+
debug: z.value
|
|
205
|
+
}), N.value.responsive) {
|
|
206
|
+
let e = we(() => {
|
|
207
|
+
let { width: e, height: t } = Te({
|
|
208
|
+
chart: k.value,
|
|
209
|
+
title: N.value.style.chart.title.text ? Ft.value : null,
|
|
210
|
+
legend: N.value.style.chart.legend.show ? It.value : null,
|
|
211
|
+
source: Lt.value,
|
|
212
|
+
noTitle: Rt.value
|
|
213
|
+
});
|
|
214
|
+
requestAnimationFrame(() => {
|
|
215
|
+
V.value.width = e, V.value.height = t, Tn();
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = k.value.parentNode, L.value.observe(R.value);
|
|
219
|
+
}
|
|
220
|
+
Tn();
|
|
221
|
+
}
|
|
222
|
+
Be(() => {
|
|
223
|
+
Ht.value = !0, en();
|
|
224
|
+
}), ze(() => {
|
|
225
|
+
L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
|
|
226
|
+
});
|
|
227
|
+
let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = he({
|
|
228
|
+
elementId: `vue-ui-radar_${D.value}`,
|
|
229
|
+
fileName: N.value.style.chart.title.text || "vue-ui-radar",
|
|
230
|
+
options: N.value.userOptions.print
|
|
231
|
+
}), on = l(() => N.value.userOptions.show && !N.value.style.chart.title.text), sn = l(() => fe(N.value.customPalette)), B = b({
|
|
232
|
+
dataLabels: { show: N.value.style.chart.layout.labels.dataLabels.show },
|
|
233
|
+
showTable: N.value.table.show,
|
|
234
|
+
showTooltip: N.value.style.chart.tooltip.show
|
|
235
|
+
}), cn = l(() => ({ style: {
|
|
236
|
+
backgroundColor: "#FFFFFF00",
|
|
237
|
+
animation: {
|
|
238
|
+
show: N.value.style.chart.tooltip.animation.show,
|
|
239
|
+
animationFrames: N.value.style.chart.tooltip.animation.animationFrames
|
|
240
|
+
},
|
|
241
|
+
labels: {
|
|
242
|
+
fontSize: N.value.style.chart.tooltip.fontSize,
|
|
243
|
+
name: { color: N.value.style.chart.tooltip.color }
|
|
244
|
+
},
|
|
245
|
+
gutter: {
|
|
246
|
+
backgroundColor: "#CCCCCC",
|
|
247
|
+
opacity: 30
|
|
248
|
+
}
|
|
249
|
+
} })), V = b({
|
|
250
|
+
height: 312,
|
|
251
|
+
width: 512
|
|
252
|
+
}), ln = Ge, H = b([]), U = b(null), W = b(!1);
|
|
253
|
+
function un() {
|
|
254
|
+
H.value.length ? H.value = [] : J.value.forEach((e, t) => {
|
|
255
|
+
H.value.push(t);
|
|
256
|
+
}), dn();
|
|
257
|
+
}
|
|
258
|
+
function dn() {
|
|
259
|
+
ln("selectLegend", J.value.filter((e, t) => !H.value.includes(t)).map((e) => ({
|
|
260
|
+
name: e.name,
|
|
261
|
+
color: e.color,
|
|
262
|
+
proportion: e.totalProportion
|
|
263
|
+
})));
|
|
264
|
+
}
|
|
265
|
+
function fn(e) {
|
|
266
|
+
W.value = !0, H.value.includes(e) ? (U.value = e, H.value = H.value.filter((t) => t !== e), setTimeout(() => {
|
|
267
|
+
W.value = !1, U.value = null;
|
|
268
|
+
}, 500)) : (H.value.push(e), setTimeout(() => {
|
|
269
|
+
W.value = !1;
|
|
270
|
+
}, 500)), dn();
|
|
271
|
+
}
|
|
272
|
+
function pn() {
|
|
273
|
+
return J.value.map((e) => ({
|
|
274
|
+
name: e.name,
|
|
275
|
+
color: e.color,
|
|
276
|
+
proportion: e.totalProportion
|
|
277
|
+
}));
|
|
278
|
+
}
|
|
279
|
+
function mn() {
|
|
280
|
+
let e = F.value;
|
|
281
|
+
if ([null, void 0].includes(e?.categories)) {
|
|
282
|
+
s({
|
|
283
|
+
componentName: "VueUiRadar",
|
|
284
|
+
type: "dataset",
|
|
285
|
+
debug: z.value
|
|
286
|
+
}), s({
|
|
287
|
+
componentName: "VueUiRadar",
|
|
288
|
+
type: "datasetAttribute",
|
|
289
|
+
property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
|
|
290
|
+
debug: z.value
|
|
291
|
+
});
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
e.categories.length === 0 ? s({
|
|
295
|
+
componentName: "VueUiRadar",
|
|
296
|
+
type: "datasetAttributeEmpty",
|
|
297
|
+
property: "categories",
|
|
298
|
+
debug: z.value
|
|
299
|
+
}) : e.categories.forEach((e, t) => {
|
|
300
|
+
ce({
|
|
301
|
+
datasetObject: e,
|
|
302
|
+
requiredAttributes: ["name"]
|
|
303
|
+
}).forEach((e) => {
|
|
304
|
+
s({
|
|
305
|
+
componentName: "VueUiRadar",
|
|
306
|
+
type: "datasetAttribute",
|
|
307
|
+
property: `category.${e} at index ${t}`,
|
|
308
|
+
index: t,
|
|
309
|
+
debug: z.value
|
|
310
|
+
});
|
|
311
|
+
});
|
|
312
|
+
}), [null, void 0].includes(e?.series) ? s({
|
|
313
|
+
componentName: "VueUiRadar",
|
|
314
|
+
type: "datasetAttribute",
|
|
315
|
+
property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
|
|
316
|
+
debug: z.value
|
|
317
|
+
}) : e.series.forEach((e, t) => {
|
|
318
|
+
ce({
|
|
319
|
+
datasetObject: e,
|
|
320
|
+
requiredAttributes: [
|
|
321
|
+
"name",
|
|
322
|
+
"values",
|
|
323
|
+
"target"
|
|
324
|
+
]
|
|
325
|
+
}).forEach((e) => {
|
|
326
|
+
s({
|
|
327
|
+
componentName: "VueUiRadar",
|
|
328
|
+
type: "datasetSerieAttribute",
|
|
329
|
+
key: "series",
|
|
330
|
+
property: e,
|
|
331
|
+
index: t,
|
|
332
|
+
debug: z.value
|
|
333
|
+
});
|
|
334
|
+
});
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
We(() => F.value, () => mn(), {
|
|
338
|
+
deep: !0,
|
|
339
|
+
immediate: !0
|
|
340
|
+
});
|
|
341
|
+
let G = l(() => {
|
|
342
|
+
let e = Array.isArray(F.value?.categories) ? F.value.categories : [], t = sn.value ?? i;
|
|
343
|
+
return e.map((e, n) => ({
|
|
344
|
+
name: e?.name ?? "",
|
|
345
|
+
categoryId: `radar_category_${D.value}_${n}`,
|
|
346
|
+
color: pe(e?.color) || t[n] || i[n % i.length],
|
|
347
|
+
prefix: e?.prefix ?? "",
|
|
348
|
+
suffix: e?.suffix ?? ""
|
|
349
|
+
}));
|
|
350
|
+
}), K = l(() => F.value.series.map((e, t) => ({
|
|
351
|
+
...e,
|
|
352
|
+
color: pe(e.color) || sn.value[t] || i[t] || i[t % i.length],
|
|
353
|
+
serieId: `radar_serie_${D.value}_${t}`,
|
|
354
|
+
formatter: e.formatter || null,
|
|
355
|
+
absoluteIndex: t
|
|
356
|
+
})));
|
|
357
|
+
function hn(e) {
|
|
358
|
+
return K.value.length ? J.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
|
|
359
|
+
}
|
|
360
|
+
function gn(e) {
|
|
361
|
+
let t = hn(e);
|
|
362
|
+
t !== null && H.value.includes(t.absoluteIndex) && fn(t.absoluteIndex);
|
|
363
|
+
}
|
|
364
|
+
function _n(e) {
|
|
365
|
+
let t = hn(e);
|
|
366
|
+
t !== null && (H.value.includes(t.absoluteIndex) || fn(t.absoluteIndex));
|
|
367
|
+
}
|
|
368
|
+
let vn = l(() => Math.max(...K.value.flatMap((e) => e.values))), yn = l(() => K.value.length), bn = l(() => Math.min(V.value.width, V.value.height) / 3), xn = l(() => r({
|
|
369
|
+
plot: {
|
|
370
|
+
x: V.value.width / 2,
|
|
371
|
+
y: V.value.height / 2
|
|
372
|
+
},
|
|
373
|
+
radius: bn.value,
|
|
374
|
+
sides: yn.value,
|
|
375
|
+
rotation: 0
|
|
376
|
+
})), Sn = l(() => {
|
|
377
|
+
let e = [];
|
|
378
|
+
for (let t = 0; t < bn.value; t += bn.value / N.value.style.chart.layout.grid.graduations) e.push(t);
|
|
379
|
+
return e;
|
|
380
|
+
}), q = l(() => xn.value.coordinates.map((e, t) => {
|
|
381
|
+
let n = K.value[t].values.map((n) => En({
|
|
382
|
+
centerX: V.value.width / 2,
|
|
383
|
+
centerY: V.value.height / 2,
|
|
384
|
+
apexX: e.x,
|
|
385
|
+
apexY: e.y,
|
|
386
|
+
proportion: n / (K.value[t].target || vn.value)
|
|
387
|
+
}));
|
|
388
|
+
return {
|
|
389
|
+
...e,
|
|
390
|
+
...K.value[t],
|
|
391
|
+
plots: n
|
|
392
|
+
};
|
|
393
|
+
}).map((e) => ({
|
|
394
|
+
...e,
|
|
395
|
+
labelX: Cn(e).x,
|
|
396
|
+
labelY: Cn(e).y,
|
|
397
|
+
labelAnchor: Cn(e).anchor
|
|
398
|
+
})));
|
|
399
|
+
function Cn({ x: e, y: t }) {
|
|
400
|
+
let n = "middle";
|
|
401
|
+
return e = Math.round(e), t = Math.round(t), e > V.value.width / 2 && (e += 12, n = "start"), e < V.value.width / 2 && (e -= 12, n = "end"), t > V.value.height / 2 + 1 && (t += 20), t < V.value.height / 2 - 1 && (t -= 12), t === V.value.height / 2 && (t += 4), {
|
|
402
|
+
x: e,
|
|
403
|
+
y: t,
|
|
404
|
+
anchor: n
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
let wn = l({
|
|
408
|
+
get: () => N.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
409
|
+
set: (e) => e
|
|
410
|
+
}), { autoSizeLabels: Tn } = je({
|
|
411
|
+
svgRef: I,
|
|
412
|
+
fontSize: N.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
413
|
+
minFontSize: 6,
|
|
414
|
+
sizeRef: wn,
|
|
415
|
+
labelClass: ".vue-ui-radar-apex-label"
|
|
416
|
+
});
|
|
417
|
+
function En({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
|
|
418
|
+
return {
|
|
419
|
+
x: e + (n - e) * i,
|
|
420
|
+
y: t + (r - t) * i
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
let J = l(() => {
|
|
424
|
+
let e = K.value.map((e, t) => e.values.map((t) => t / (e.target || vn.value)));
|
|
425
|
+
return G.value.map((t, n) => {
|
|
426
|
+
let r = de(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / K.value.length);
|
|
427
|
+
return {
|
|
428
|
+
...t,
|
|
429
|
+
absoluteIndex: n,
|
|
430
|
+
totalProportion: r,
|
|
431
|
+
shape: "circle",
|
|
432
|
+
opacity: H.value.includes(n) ? .5 : 1,
|
|
433
|
+
segregate: () => fn(n),
|
|
434
|
+
isSegregated: H.value.includes(n),
|
|
435
|
+
display: `${t.name}: ${a({
|
|
436
|
+
v: (r ?? 0) * 100,
|
|
437
|
+
s: "%",
|
|
438
|
+
r: N.value.style.chart.legend.roundingPercentage
|
|
439
|
+
})}`
|
|
440
|
+
};
|
|
441
|
+
});
|
|
442
|
+
}), Dn = l(() => ({
|
|
443
|
+
cy: "radar-div-legend",
|
|
444
|
+
backgroundColor: N.value.style.chart.legend.backgroundColor,
|
|
445
|
+
color: N.value.style.chart.legend.color,
|
|
446
|
+
fontSize: N.value.style.chart.legend.fontSize,
|
|
447
|
+
paddingBottom: 12,
|
|
448
|
+
fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
|
|
449
|
+
})), Y = l(() => {
|
|
450
|
+
let e = [
|
|
451
|
+
{
|
|
452
|
+
name: N.value.translations.datapoint,
|
|
453
|
+
color: ""
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
name: N.value.translations.target,
|
|
457
|
+
color: ""
|
|
458
|
+
},
|
|
459
|
+
...J.value
|
|
460
|
+
];
|
|
461
|
+
return {
|
|
462
|
+
head: e,
|
|
463
|
+
body: F.value.series.map((e) => [
|
|
464
|
+
e.name,
|
|
465
|
+
oe(e.formatter, e.target, a({
|
|
466
|
+
p: e.prefix,
|
|
467
|
+
v: e.target,
|
|
468
|
+
s: e.suffix,
|
|
469
|
+
r: N.value.table.td.roundingValue
|
|
470
|
+
})),
|
|
471
|
+
...e.values.map((t, n) => `${oe(e.formatter, t, a({
|
|
472
|
+
p: G.value[n]?.prefix ?? "",
|
|
473
|
+
v: t,
|
|
474
|
+
s: G.value[n]?.suffix ?? "",
|
|
475
|
+
r: N.value.table.td.roundingValue
|
|
476
|
+
}))} (${isNaN(t / e.target) ? "" : a({
|
|
477
|
+
v: t / e.target * 100,
|
|
478
|
+
s: "%",
|
|
479
|
+
r: N.value.table.td.roundingPercentage
|
|
480
|
+
})})`)
|
|
481
|
+
]),
|
|
482
|
+
config: {
|
|
483
|
+
th: {
|
|
484
|
+
backgroundColor: N.value.table.th.backgroundColor,
|
|
485
|
+
color: N.value.table.th.color,
|
|
486
|
+
outline: N.value.table.th.outline
|
|
487
|
+
},
|
|
488
|
+
td: {
|
|
489
|
+
backgroundColor: N.value.table.td.backgroundColor,
|
|
490
|
+
color: N.value.table.td.color,
|
|
491
|
+
outline: N.value.table.td.outline
|
|
492
|
+
},
|
|
493
|
+
breakpoint: N.value.table.responsiveBreakpoint
|
|
494
|
+
},
|
|
495
|
+
colNames: e
|
|
496
|
+
};
|
|
497
|
+
}), X = b(null), On = b([]), kn = b(null);
|
|
498
|
+
function An(e, t) {
|
|
499
|
+
O.value = !1, X.value = null, j.value = null, M.value = "pointer", N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
500
|
+
datapoint: e,
|
|
501
|
+
seriesIndex: t
|
|
502
|
+
});
|
|
503
|
+
}
|
|
504
|
+
function jn(e, t) {
|
|
505
|
+
N.value.events.datapointClick && N.value.events.datapointClick({
|
|
506
|
+
datapoint: e,
|
|
507
|
+
seriesIndex: t
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
function Mn(e, t, n = "pointer") {
|
|
511
|
+
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
512
|
+
datapoint: e,
|
|
513
|
+
seriesIndex: t
|
|
514
|
+
}), M.value = n, j.value = t;
|
|
515
|
+
let r = G.value.slice();
|
|
516
|
+
On.value = [], X.value = t, O.value = !0, kn.value = {
|
|
517
|
+
datapoint: e,
|
|
518
|
+
seriesIndex: t,
|
|
519
|
+
series: {
|
|
520
|
+
categories: r,
|
|
521
|
+
datapoints: K.value,
|
|
522
|
+
radar: q.value
|
|
523
|
+
},
|
|
524
|
+
config: N.value
|
|
525
|
+
};
|
|
526
|
+
let i = N.value.style.chart.tooltip.customFormat;
|
|
527
|
+
if (le(i) && se(() => i({
|
|
528
|
+
seriesIndex: t,
|
|
529
|
+
datapoint: e,
|
|
530
|
+
series: {
|
|
531
|
+
categories: r,
|
|
532
|
+
datapoints: K.value,
|
|
533
|
+
radar: q.value
|
|
534
|
+
},
|
|
535
|
+
config: N.value
|
|
536
|
+
}))) {
|
|
537
|
+
Nt.value = i({
|
|
538
|
+
seriesIndex: t,
|
|
539
|
+
datapoint: e,
|
|
540
|
+
series: {
|
|
541
|
+
categories: r,
|
|
542
|
+
datapoints: K.value,
|
|
543
|
+
radar: q.value
|
|
544
|
+
},
|
|
545
|
+
config: N.value
|
|
546
|
+
});
|
|
547
|
+
return;
|
|
548
|
+
}
|
|
549
|
+
Nt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
|
|
550
|
+
for (let t = 0; t < e.values.length; t += 1) if (!H.value.includes(t)) {
|
|
551
|
+
let n = r[t], i = e.values[t], ee = isNaN(i / e.target) ? 0 : i / e.target * 100, te = oe(e.formatter, i, a({
|
|
552
|
+
p: G.value[t].prefix,
|
|
553
|
+
v: i,
|
|
554
|
+
s: G.value[t].suffix,
|
|
555
|
+
r: N.value.style.chart.tooltip.roundingValue
|
|
556
|
+
}), { datapoint: e }), o = a({
|
|
557
|
+
v: ee,
|
|
558
|
+
s: "%",
|
|
559
|
+
r: N.value.style.chart.tooltip.roundingPercentage
|
|
560
|
+
}), ne = N.value.style.chart.tooltip.showValue && N.value.style.chart.tooltip.showPercentage ? `${te} (${o})` : N.value.style.chart.tooltip.showValue && !N.value.style.chart.tooltip.showPercentage ? te : !N.value.style.chart.tooltip.showValue && N.value.style.chart.tooltip.showPercentage ? `${o}` : "";
|
|
561
|
+
On.value.push({
|
|
562
|
+
name: n?.name ?? `#${t + 1}`,
|
|
563
|
+
value: e.values[t] / e.target * 100,
|
|
564
|
+
color: n?.color,
|
|
565
|
+
suffix: ne,
|
|
566
|
+
prefix: "",
|
|
567
|
+
rounding: N.value.style.chart.tooltip.roundingPercentage,
|
|
568
|
+
formatter: e.formatter
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
function Nn(e = null) {
|
|
573
|
+
Re(() => {
|
|
574
|
+
let t = [
|
|
575
|
+
[N.value.style.chart.title.text],
|
|
576
|
+
[N.value.style.chart.title.subtitle.text],
|
|
577
|
+
[""]
|
|
578
|
+
], n = [
|
|
579
|
+
[""],
|
|
580
|
+
[N.value.translations.target],
|
|
581
|
+
...J.value.flatMap((e) => [[e.name], ["%"]])
|
|
582
|
+
], r = F.value.series.map((e, t) => [
|
|
583
|
+
e.name,
|
|
584
|
+
e.target,
|
|
585
|
+
...e.values.flatMap((t) => [t, isNaN(t / e.target) ? "" : t / e.target * 100])
|
|
586
|
+
]), i = ie(t.concat([n]).concat(r));
|
|
587
|
+
e ? e(i) : te({
|
|
588
|
+
csvContent: i,
|
|
589
|
+
title: N.value.style.chart.title.text || "vue-ui-radar"
|
|
590
|
+
});
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
let Z = b(!1);
|
|
594
|
+
function Pn(e) {
|
|
595
|
+
Z.value = e, Pt.value += 1;
|
|
596
|
+
}
|
|
597
|
+
function Fn() {
|
|
598
|
+
B.value.showTable = !B.value.showTable;
|
|
599
|
+
}
|
|
600
|
+
function In() {
|
|
601
|
+
B.value.showTooltip = !B.value.showTooltip;
|
|
602
|
+
}
|
|
603
|
+
let Q = b(!1);
|
|
604
|
+
function Ln() {
|
|
605
|
+
Q.value = !Q.value;
|
|
606
|
+
}
|
|
607
|
+
async function Rn({ scale: e = 2 } = {}) {
|
|
608
|
+
if (!k.value) return;
|
|
609
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
|
|
610
|
+
domElement: k.value,
|
|
611
|
+
base64: !0,
|
|
612
|
+
img: !0,
|
|
613
|
+
scale: e
|
|
614
|
+
});
|
|
615
|
+
return {
|
|
616
|
+
imageUri: i,
|
|
617
|
+
base64: a,
|
|
618
|
+
title: N.value.style.chart.title.text,
|
|
619
|
+
width: t,
|
|
620
|
+
height: n,
|
|
621
|
+
aspectRatio: r
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
let $ = l(() => {
|
|
625
|
+
let e = N.value.table.useDialog && !N.value.table.show, t = B.value.showTable;
|
|
626
|
+
return {
|
|
627
|
+
component: e ? Ot : Ct,
|
|
628
|
+
title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
|
|
629
|
+
props: e ? {
|
|
630
|
+
backgroundColor: N.value.table.th.backgroundColor,
|
|
631
|
+
color: N.value.table.th.color,
|
|
632
|
+
headerColor: N.value.table.th.color,
|
|
633
|
+
headerBg: N.value.table.th.backgroundColor,
|
|
634
|
+
isFullscreen: Z.value,
|
|
635
|
+
fullscreenParent: k.value,
|
|
636
|
+
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
637
|
+
isCursorPointer: P.value
|
|
638
|
+
} : {
|
|
639
|
+
hideDetails: !0,
|
|
640
|
+
config: {
|
|
641
|
+
open: t,
|
|
642
|
+
maxHeight: 1e4,
|
|
643
|
+
body: {
|
|
644
|
+
backgroundColor: N.value.style.chart.backgroundColor,
|
|
645
|
+
color: N.value.style.chart.color
|
|
646
|
+
},
|
|
647
|
+
head: {
|
|
648
|
+
backgroundColor: N.value.style.chart.backgroundColor,
|
|
649
|
+
color: N.value.style.chart.color
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
};
|
|
654
|
+
});
|
|
655
|
+
We(() => B.value.showTable, (e) => {
|
|
656
|
+
N.value.table.show || (e && N.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
|
|
657
|
+
});
|
|
658
|
+
function zn() {
|
|
659
|
+
B.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
|
|
660
|
+
}
|
|
661
|
+
let Bn = l(() => J.value.map((e) => ({
|
|
662
|
+
...e,
|
|
663
|
+
name: e.display
|
|
664
|
+
}))), Vn = l(() => N.value.style.chart.backgroundColor), Hn = l(() => N.value.style.chart.legend), { exportSvg: Un, getSvg: Wn } = ve({
|
|
665
|
+
svg: I,
|
|
666
|
+
title: l(() => N.value.style.chart.title),
|
|
667
|
+
legend: Hn,
|
|
668
|
+
legendItems: Bn,
|
|
669
|
+
backgroundColor: Vn
|
|
670
|
+
});
|
|
671
|
+
async function Gn({ isCb: e }) {
|
|
672
|
+
Gt.value = !0, await Re();
|
|
673
|
+
try {
|
|
674
|
+
if (e) {
|
|
675
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Wn();
|
|
676
|
+
await Promise.resolve(N.value.userOptions.callbacks.svg({
|
|
677
|
+
blob: e,
|
|
678
|
+
url: t,
|
|
679
|
+
text: n,
|
|
680
|
+
dataUrl: r
|
|
681
|
+
}));
|
|
682
|
+
} else await Promise.resolve(Un());
|
|
683
|
+
} finally {
|
|
684
|
+
Gt.value = !1;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
function Kn(e) {
|
|
688
|
+
if (e?.stage === "start") {
|
|
689
|
+
Wt.value = !0;
|
|
690
|
+
return;
|
|
691
|
+
}
|
|
692
|
+
if (e?.stage === "end") {
|
|
693
|
+
Wt.value = !1;
|
|
694
|
+
return;
|
|
695
|
+
}
|
|
696
|
+
an();
|
|
697
|
+
}
|
|
698
|
+
async function qn() {
|
|
699
|
+
if (ln("copyAlt", {
|
|
700
|
+
config: N.value,
|
|
701
|
+
dataset: q.value
|
|
702
|
+
}), !N.value.userOptions.callbacks.altCopy) {
|
|
703
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
704
|
+
return;
|
|
705
|
+
}
|
|
706
|
+
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
707
|
+
config: N.value,
|
|
708
|
+
dataset: q.value
|
|
709
|
+
}));
|
|
710
|
+
}
|
|
711
|
+
function Jn() {
|
|
712
|
+
j.value = null, qt.value = !0;
|
|
713
|
+
}
|
|
714
|
+
function Yn() {
|
|
715
|
+
j.value = null, M.value = "pointer", O.value = !1, X.value = null, qt.value = !1;
|
|
716
|
+
}
|
|
717
|
+
function Xn(e) {
|
|
718
|
+
if (!Number.isFinite(e) || !I.value) return;
|
|
719
|
+
let t = q.value[e];
|
|
720
|
+
if (!t) return;
|
|
721
|
+
let n = I.value.getBoundingClientRect();
|
|
722
|
+
Kt.value = {
|
|
723
|
+
x: n.left + t.labelX / V.value.width * n.width,
|
|
724
|
+
y: n.top + t.labelY / V.value.height * n.height
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
function Zn(e) {
|
|
728
|
+
if (!I.value || Q.value || document.activeElement !== I.value || !q.value.length) return;
|
|
729
|
+
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
730
|
+
if (!t && !n && !r && !i) return;
|
|
731
|
+
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
732
|
+
j.value = null, M.value = "pointer", O.value = !1, X.value = null;
|
|
733
|
+
return;
|
|
734
|
+
}
|
|
735
|
+
if (r) {
|
|
736
|
+
if (j.value === null) return;
|
|
737
|
+
let e = q.value[j.value];
|
|
738
|
+
if (!e) return;
|
|
739
|
+
jn(e, j.value);
|
|
740
|
+
return;
|
|
741
|
+
}
|
|
742
|
+
let a = j.value;
|
|
743
|
+
a === null || a < 0 || a >= q.value.length ? a = n ? 0 : q.value.length - 1 : n ? (a += 1, a >= q.value.length && (a = 0)) : t && (--a, a < 0 && (a = q.value.length - 1));
|
|
744
|
+
let ee = q.value[a];
|
|
745
|
+
ee && (j.value = a, Xn(a), Mn(ee, a, "keyboard"));
|
|
746
|
+
}
|
|
747
|
+
let Qn = l(() => ({
|
|
748
|
+
headers: Y.value?.colNames?.map((e) => e.name ?? e) ?? [],
|
|
749
|
+
rows: Y.value?.body ?? []
|
|
750
|
+
}));
|
|
751
|
+
return Ce({
|
|
752
|
+
getData: pn,
|
|
753
|
+
getImage: Rn,
|
|
754
|
+
generatePdf: rn,
|
|
755
|
+
generateCsv: Nn,
|
|
756
|
+
generateImage: an,
|
|
757
|
+
generateSvg: Gn,
|
|
758
|
+
hideSeries: _n,
|
|
759
|
+
showSeries: gn,
|
|
760
|
+
toggleTable: Fn,
|
|
761
|
+
toggleTooltip: In,
|
|
762
|
+
toggleAnnotator: Ln,
|
|
763
|
+
toggleFullscreen: Pn,
|
|
764
|
+
copyAlt: qn
|
|
765
|
+
}), (e, t) => (y(), f("div", {
|
|
766
|
+
class: g(`vue-data-ui-component vue-ui-radar ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
767
|
+
ref_key: "radarChart",
|
|
768
|
+
ref: k,
|
|
769
|
+
id: `vue-ui-radar_${D.value}`,
|
|
770
|
+
style: v(`font-family:${N.value.style.fontFamily};width:100%; ${N.value.responsive ? "height: 100%;" : ""} text-align:center;background:${N.value.style.chart.backgroundColor}`),
|
|
771
|
+
onMouseenter: t[2] ||= () => w(Zt)(!0),
|
|
772
|
+
onMouseleave: t[3] ||= () => w(Zt)(!1)
|
|
773
|
+
}, [
|
|
774
|
+
p("div", {
|
|
775
|
+
id: `chart-instructions-${D.value}`,
|
|
776
|
+
class: "sr-only"
|
|
777
|
+
}, [p("p", null, C(N.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
778
|
+
Qn.value?.rows?.length ? (y(), u(De, {
|
|
779
|
+
key: 0,
|
|
780
|
+
uid: D.value,
|
|
781
|
+
head: Qn.value.headers,
|
|
782
|
+
body: Qn.value.rows,
|
|
783
|
+
notice: N.value.a11y.translations.tableAvailable,
|
|
784
|
+
caption: N.value.a11y.translations.tableCaption
|
|
785
|
+
}, null, 8, [
|
|
786
|
+
"uid",
|
|
787
|
+
"head",
|
|
788
|
+
"body",
|
|
789
|
+
"notice",
|
|
790
|
+
"caption"
|
|
791
|
+
])) : d("", !0),
|
|
792
|
+
N.value.userOptions.buttons.annotator ? (y(), u(w(Tt), {
|
|
793
|
+
key: 1,
|
|
794
|
+
svgRef: w(I),
|
|
795
|
+
backgroundColor: N.value.style.chart.backgroundColor,
|
|
796
|
+
color: N.value.style.chart.color,
|
|
797
|
+
active: Q.value,
|
|
798
|
+
isCursorPointer: P.value,
|
|
799
|
+
onClose: Ln
|
|
800
|
+
}, {
|
|
801
|
+
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
802
|
+
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
803
|
+
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
|
|
804
|
+
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
|
|
805
|
+
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
|
|
806
|
+
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
|
|
807
|
+
_: 3
|
|
808
|
+
}, 8, [
|
|
809
|
+
"svgRef",
|
|
810
|
+
"backgroundColor",
|
|
811
|
+
"color",
|
|
812
|
+
"active",
|
|
813
|
+
"isCursorPointer"
|
|
814
|
+
])) : d("", !0),
|
|
815
|
+
on.value ? (y(), f("div", {
|
|
816
|
+
key: 2,
|
|
817
|
+
ref_key: "noTitle",
|
|
818
|
+
ref: Rt,
|
|
819
|
+
class: "vue-data-ui-no-title-space",
|
|
820
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
821
|
+
}, null, 512)) : d("", !0),
|
|
822
|
+
N.value.style.chart.title.text ? (y(), f("div", {
|
|
823
|
+
key: 3,
|
|
824
|
+
ref_key: "chartTitle",
|
|
825
|
+
ref: Ft,
|
|
826
|
+
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
827
|
+
}, [(y(), u(Se, {
|
|
828
|
+
key: `title_${zt.value}`,
|
|
829
|
+
config: {
|
|
830
|
+
title: {
|
|
831
|
+
cy: "radar-div-title",
|
|
832
|
+
...N.value.style.chart.title
|
|
833
|
+
},
|
|
834
|
+
subtitle: {
|
|
835
|
+
cy: "radar-div-subtitle",
|
|
836
|
+
...N.value.style.chart.title.subtitle
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
840
|
+
p("div", { id: `legend-top-${D.value}` }, null, 8, Je),
|
|
841
|
+
N.value.userOptions.show && Mt.value && (w(Qt) || w(Xt)) ? (y(), u(w(Et), {
|
|
842
|
+
ref_key: "userOptionsRef",
|
|
843
|
+
ref: Ut,
|
|
844
|
+
key: `user_options_${Pt.value}`,
|
|
845
|
+
backgroundColor: N.value.style.chart.backgroundColor,
|
|
846
|
+
color: N.value.style.chart.color,
|
|
847
|
+
isImaging: w(nn),
|
|
848
|
+
isPrinting: w(tn),
|
|
849
|
+
uid: D.value,
|
|
850
|
+
hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
|
|
851
|
+
hasPdf: N.value.userOptions.buttons.pdf,
|
|
852
|
+
hasImg: N.value.userOptions.buttons.img,
|
|
853
|
+
hasSvg: N.value.userOptions.buttons.svg,
|
|
854
|
+
hasXls: N.value.userOptions.buttons.csv,
|
|
855
|
+
hasTable: N.value.userOptions.buttons.table,
|
|
856
|
+
hasFullscreen: N.value.userOptions.buttons.fullscreen,
|
|
857
|
+
hasAltCopy: N.value.userOptions.buttons.altCopy,
|
|
858
|
+
isFullscreen: Z.value,
|
|
859
|
+
isTooltip: B.value.showTooltip,
|
|
860
|
+
titles: { ...N.value.userOptions.buttonTitles },
|
|
861
|
+
chartElement: k.value,
|
|
862
|
+
position: N.value.userOptions.position,
|
|
863
|
+
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
864
|
+
isAnnotation: Q.value,
|
|
865
|
+
callbacks: N.value.userOptions.callbacks,
|
|
866
|
+
printScale: N.value.userOptions.print.scale,
|
|
867
|
+
tableDialog: N.value.table.useDialog,
|
|
868
|
+
isCursorPointer: P.value,
|
|
869
|
+
onToggleFullscreen: Pn,
|
|
870
|
+
onGeneratePdf: w(rn),
|
|
871
|
+
onGenerateCsv: Nn,
|
|
872
|
+
onGenerateImage: Kn,
|
|
873
|
+
onGenerateSvg: Gn,
|
|
874
|
+
onToggleTable: Fn,
|
|
875
|
+
onToggleTooltip: In,
|
|
876
|
+
onToggleAnnotator: Ln,
|
|
877
|
+
onCopyAlt: qn,
|
|
878
|
+
style: v({ visibility: w(Qt) ? w(Xt) ? "visible" : "hidden" : "visible" })
|
|
879
|
+
}, Pe({ _: 2 }, [
|
|
880
|
+
e.$slots.menuIcon ? {
|
|
881
|
+
name: "menuIcon",
|
|
882
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
|
|
883
|
+
isOpen: t,
|
|
884
|
+
color: n
|
|
885
|
+
})), void 0, !0)]),
|
|
886
|
+
key: "0"
|
|
887
|
+
} : void 0,
|
|
888
|
+
e.$slots.optionTooltip ? {
|
|
889
|
+
name: "optionTooltip",
|
|
890
|
+
fn: T(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
891
|
+
key: "1"
|
|
892
|
+
} : void 0,
|
|
893
|
+
e.$slots.optionPdf ? {
|
|
894
|
+
name: "optionPdf",
|
|
895
|
+
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
896
|
+
key: "2"
|
|
897
|
+
} : void 0,
|
|
898
|
+
e.$slots.optionCsv ? {
|
|
899
|
+
name: "optionCsv",
|
|
900
|
+
fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
901
|
+
key: "3"
|
|
902
|
+
} : void 0,
|
|
903
|
+
e.$slots.optionImg ? {
|
|
904
|
+
name: "optionImg",
|
|
905
|
+
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
906
|
+
key: "4"
|
|
907
|
+
} : void 0,
|
|
908
|
+
e.$slots.optionSvg ? {
|
|
909
|
+
name: "optionSvg",
|
|
910
|
+
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
911
|
+
key: "5"
|
|
912
|
+
} : void 0,
|
|
913
|
+
e.$slots.optionTable ? {
|
|
914
|
+
name: "optionTable",
|
|
915
|
+
fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
916
|
+
key: "6"
|
|
917
|
+
} : void 0,
|
|
918
|
+
e.$slots.optionFullscreen ? {
|
|
919
|
+
name: "optionFullscreen",
|
|
920
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(h({
|
|
921
|
+
toggleFullscreen: t,
|
|
922
|
+
isFullscreen: n
|
|
923
|
+
})), void 0, !0)]),
|
|
924
|
+
key: "7"
|
|
925
|
+
} : void 0,
|
|
926
|
+
e.$slots.optionAnnotator ? {
|
|
927
|
+
name: "optionAnnotator",
|
|
928
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(h({
|
|
929
|
+
toggleAnnotator: t,
|
|
930
|
+
isAnnotator: n
|
|
931
|
+
})), void 0, !0)]),
|
|
932
|
+
key: "8"
|
|
933
|
+
} : void 0,
|
|
934
|
+
e.$slots.optionAltCopy ? {
|
|
935
|
+
name: "optionAltCopy",
|
|
936
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
|
|
937
|
+
key: "9"
|
|
938
|
+
} : void 0,
|
|
939
|
+
e.$slots["custom-menu-before"] ? {
|
|
940
|
+
name: "custom-menu-before",
|
|
941
|
+
fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
942
|
+
key: "10"
|
|
943
|
+
} : void 0,
|
|
944
|
+
e.$slots["custom-menu-after"] ? {
|
|
945
|
+
name: "custom-menu-after",
|
|
946
|
+
fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
947
|
+
key: "11"
|
|
948
|
+
} : void 0
|
|
949
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : d("", !0),
|
|
950
|
+
p("div", Ye, [(y(), f("svg", {
|
|
951
|
+
ref_key: "svgRef",
|
|
952
|
+
ref: I,
|
|
953
|
+
xmlns: w(ue),
|
|
954
|
+
"aria-describedby": `chart-instructions-${D.value}`,
|
|
955
|
+
class: g({
|
|
956
|
+
"vue-data-ui-fullscreen--on": Z.value,
|
|
957
|
+
"vue-data-ui-fulscreen--off": !Z.value
|
|
958
|
+
}),
|
|
959
|
+
viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
|
|
960
|
+
style: v(`max-width:100%;overflow:visible;background:transparent;color:${N.value.style.chart.color}`),
|
|
961
|
+
tabindex: "0",
|
|
962
|
+
onFocus: Jn,
|
|
963
|
+
onBlur: Yn,
|
|
964
|
+
onKeydown: Zn
|
|
965
|
+
}, [
|
|
966
|
+
Ie(w(Dt)),
|
|
967
|
+
e.$slots["chart-background"] ? (y(), f("foreignObject", {
|
|
968
|
+
key: 0,
|
|
969
|
+
x: 0,
|
|
970
|
+
y: 0,
|
|
971
|
+
width: V.value.width <= 0 ? 10 : V.value.width,
|
|
972
|
+
height: V.value.height <= 0 ? 10 : V.value.height,
|
|
973
|
+
style: { pointerEvents: "none" }
|
|
974
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
|
|
975
|
+
p("defs", null, [(y(!0), f(c, null, x(G.value, (e, t) => (y(), f("radialGradient", {
|
|
976
|
+
cx: "50%",
|
|
977
|
+
cy: "50%",
|
|
978
|
+
r: "50%",
|
|
979
|
+
fx: "50%",
|
|
980
|
+
fy: "50%",
|
|
981
|
+
id: `radar_gradient_${D.value}_${t}`
|
|
982
|
+
}, [p("stop", {
|
|
983
|
+
offset: "0%",
|
|
984
|
+
"stop-color": w(o)(w(ne)(e.color, .05), N.value.style.chart.layout.dataPolygon.opacity)
|
|
985
|
+
}, null, 8, $e), p("stop", {
|
|
986
|
+
offset: "100%",
|
|
987
|
+
"stop-color": w(o)(e.color, N.value.style.chart.layout.dataPolygon.opacity)
|
|
988
|
+
}, null, 8, et)], 8, Qe))), 256))]),
|
|
989
|
+
N.value.style.chart.layout.grid.show ? (y(), f("g", tt, [(y(!0), f(c, null, x(q.value, (e) => (y(), f("line", {
|
|
990
|
+
x1: V.value.width / 2,
|
|
991
|
+
y1: V.value.height / 2,
|
|
992
|
+
x2: e.x,
|
|
993
|
+
y2: e.y,
|
|
994
|
+
stroke: N.value.style.chart.layout.grid.stroke,
|
|
995
|
+
"stroke-width": N.value.style.chart.layout.grid.strokeWidth
|
|
996
|
+
}, null, 8, nt))), 256)), N.value.style.chart.layout.grid.graduations > 0 ? (y(), f("g", rt, [(y(!0), f(c, null, x(Sn.value, (e) => (y(), f("path", {
|
|
997
|
+
d: w(r)({
|
|
998
|
+
plot: {
|
|
999
|
+
x: V.value.width / 2,
|
|
1000
|
+
y: V.value.height / 2
|
|
1001
|
+
},
|
|
1002
|
+
radius: e,
|
|
1003
|
+
sides: yn.value,
|
|
1004
|
+
rotation: 0
|
|
1005
|
+
}).path,
|
|
1006
|
+
fill: "none",
|
|
1007
|
+
stroke: N.value.style.chart.layout.grid.stroke,
|
|
1008
|
+
"stroke-width": N.value.style.chart.layout.grid.strokeWidth
|
|
1009
|
+
}, null, 8, it))), 256))])) : d("", !0)])) : d("", !0),
|
|
1010
|
+
p("path", {
|
|
1011
|
+
d: xn.value.path,
|
|
1012
|
+
fill: "none",
|
|
1013
|
+
stroke: N.value.style.chart.layout.outerPolygon.stroke,
|
|
1014
|
+
"stroke-width": N.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
1015
|
+
"stroke-linejoin": "round",
|
|
1016
|
+
"stroke-linecap": "round"
|
|
1017
|
+
}, null, 8, at),
|
|
1018
|
+
N.value.style.chart.layout.labels.dataLabels.show ? (y(), f("g", ot, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("text", {
|
|
1019
|
+
class: "vue-ui-radar-apex-label",
|
|
1020
|
+
x: e.labelX,
|
|
1021
|
+
y: e.labelY,
|
|
1022
|
+
"text-anchor": e.labelAnchor,
|
|
1023
|
+
"font-size": N.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1024
|
+
fill: N.value.style.chart.layout.labels.dataLabels.color,
|
|
1025
|
+
onMouseenter: (n) => Mn(e, t, "pointer"),
|
|
1026
|
+
onMouseleave: (n) => An(e, t),
|
|
1027
|
+
onClick: (n) => jn(e, t)
|
|
1028
|
+
}, C(e.name), 41, st))), 256))])) : d("", !0),
|
|
1029
|
+
(y(!0), f(c, null, x(G.value, (e, t) => (y(), f("g", null, [p("g", null, [N.value.useCssAnimation || !N.value.useCssAnimation && !H.value.includes(t) ? (y(), f("polygon", {
|
|
1030
|
+
key: 0,
|
|
1031
|
+
points: w(ae)(q.value.map((e) => e.plots[t]), !1, !0),
|
|
1032
|
+
stroke: N.value.style.chart.backgroundColor,
|
|
1033
|
+
"stroke-width": N.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
1034
|
+
fill: "none",
|
|
1035
|
+
class: g({
|
|
1036
|
+
"animated-out": H.value.includes(t) && N.value.useCssAnimation,
|
|
1037
|
+
"animated-in": W.value && U.value === t && N.value.useCssAnimation
|
|
1038
|
+
})
|
|
1039
|
+
}, null, 10, ct)) : d("", !0), N.value.useCssAnimation || !N.value.useCssAnimation && !H.value.includes(t) ? (y(), f("polygon", {
|
|
1040
|
+
key: 1,
|
|
1041
|
+
points: w(ae)(q.value.map((e) => e.plots[t]), !1, !0),
|
|
1042
|
+
stroke: e.color,
|
|
1043
|
+
"stroke-width": N.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
1044
|
+
fill: N.value.style.chart.layout.dataPolygon.transparent ? "transparent" : N.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${D.value}_${t})` : w(o)(e.color, N.value.style.chart.layout.dataPolygon.opacity),
|
|
1045
|
+
class: g({
|
|
1046
|
+
"animated-out": H.value.includes(t) && N.value.useCssAnimation,
|
|
1047
|
+
"animated-in": W.value && U.value === t && N.value.useCssAnimation
|
|
1048
|
+
})
|
|
1049
|
+
}, null, 10, lt)) : d("", !0)])]))), 256)),
|
|
1050
|
+
N.value.style.chart.layout.plots.show ? (y(), f("g", ut, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", null, [(y(!0), f(c, null, x(e.plots, (e, n) => (y(), f("circle", {
|
|
1051
|
+
cx: e.x,
|
|
1052
|
+
cy: e.y,
|
|
1053
|
+
fill: H.value.includes(n) ? "transparent" : G.value[n] ? G.value[n].color : "transparent",
|
|
1054
|
+
r: X.value !== null && X.value === t ? N.value.style.chart.layout.plots.radius * 1.6 : N.value.style.chart.layout.plots.radius,
|
|
1055
|
+
stroke: H.value.includes(n) ? "transparent" : N.value.style.chart.backgroundColor,
|
|
1056
|
+
"stroke-width": .5,
|
|
1057
|
+
class: g({
|
|
1058
|
+
"animated-out": H.value.includes(n) && N.value.useCssAnimation,
|
|
1059
|
+
"animated-in": W.value && U.value === n && N.value.useCssAnimation
|
|
1060
|
+
})
|
|
1061
|
+
}, null, 10, dt))), 256))]))), 256))])) : d("", !0),
|
|
1062
|
+
S(e.$slots, "svg", { svg: {
|
|
1063
|
+
...V.value,
|
|
1064
|
+
outerPolygon: xn.value,
|
|
1065
|
+
isPrintingImg: w(tn) || w(nn) || Wt.value,
|
|
1066
|
+
isPrintingSvg: Gt.value
|
|
1067
|
+
} }, void 0, !0)
|
|
1068
|
+
], 46, Xe)), e.$slots.hint ? (y(), f("div", ft, [S(e.$slots, "hint", _(h({
|
|
1069
|
+
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1070
|
+
isVisible: qt.value
|
|
1071
|
+
})), void 0, !0)])) : d("", !0)]),
|
|
1072
|
+
e.$slots.watermark ? (y(), f("div", pt, [S(e.$slots, "watermark", _(h({ isPrinting: w(tn) || w(nn) || Wt.value || Gt.value })), void 0, !0)])) : d("", !0),
|
|
1073
|
+
p("div", { id: `legend-bottom-${D.value}` }, null, 8, mt),
|
|
1074
|
+
Ht.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ne, {
|
|
1075
|
+
key: 6,
|
|
1076
|
+
to: N.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1077
|
+
}, [p("div", {
|
|
1078
|
+
ref_key: "chartLegend",
|
|
1079
|
+
ref: It
|
|
1080
|
+
}, [S(e.$slots, "legend", { legend: J.value }, () => [N.value.style.chart.legend.show ? (y(), u(Ae, {
|
|
1081
|
+
key: `legend_${Vt.value}`,
|
|
1082
|
+
legendSet: J.value,
|
|
1083
|
+
config: Dn.value,
|
|
1084
|
+
isCursorPointer: P.value,
|
|
1085
|
+
onClickMarker: t[0] ||= ({ i: e }) => fn(e)
|
|
1086
|
+
}, {
|
|
1087
|
+
item: T(({ legend: e, index: t }) => [w(Yt) ? d("", !0) : (y(), f("div", {
|
|
1088
|
+
key: 0,
|
|
1089
|
+
onClick: (t) => e.segregate(),
|
|
1090
|
+
style: v(`opacity:${H.value.includes(t) ? .5 : 1}`)
|
|
1091
|
+
}, C(e.display), 13, ht))]),
|
|
1092
|
+
legendToggle: T(() => [J.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !w(Yt) ? (y(), u(Ee, {
|
|
1093
|
+
key: 0,
|
|
1094
|
+
backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1095
|
+
color: N.value.style.chart.legend.selectAllToggle.color,
|
|
1096
|
+
fontSize: N.value.style.chart.legend.fontSize,
|
|
1097
|
+
checked: H.value.length > 0,
|
|
1098
|
+
isCursorPointer: P.value,
|
|
1099
|
+
onToggle: un
|
|
1100
|
+
}, null, 8, [
|
|
1101
|
+
"backgroundColor",
|
|
1102
|
+
"color",
|
|
1103
|
+
"fontSize",
|
|
1104
|
+
"checked",
|
|
1105
|
+
"isCursorPointer"
|
|
1106
|
+
])) : d("", !0)]),
|
|
1107
|
+
_: 1
|
|
1108
|
+
}, 8, [
|
|
1109
|
+
"legendSet",
|
|
1110
|
+
"config",
|
|
1111
|
+
"isCursorPointer"
|
|
1112
|
+
])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
|
|
1113
|
+
e.$slots.source ? (y(), f("div", {
|
|
1114
|
+
key: 7,
|
|
1115
|
+
ref_key: "source",
|
|
1116
|
+
ref: Lt,
|
|
1117
|
+
dir: "auto"
|
|
1118
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
1119
|
+
Ie(w(bt), {
|
|
1120
|
+
teleportTo: N.value.style.chart.tooltip.teleportTo,
|
|
1121
|
+
show: B.value.showTooltip && O.value,
|
|
1122
|
+
backgroundColor: N.value.style.chart.tooltip.backgroundColor,
|
|
1123
|
+
color: N.value.style.chart.tooltip.color,
|
|
1124
|
+
borderRadius: N.value.style.chart.tooltip.borderRadius,
|
|
1125
|
+
borderColor: N.value.style.chart.tooltip.borderColor,
|
|
1126
|
+
borderWidth: N.value.style.chart.tooltip.borderWidth,
|
|
1127
|
+
backgroundOpacity: N.value.style.chart.tooltip.backgroundOpacity,
|
|
1128
|
+
fontSize: N.value.style.chart.tooltip.fontSize,
|
|
1129
|
+
position: N.value.style.chart.tooltip.position,
|
|
1130
|
+
offsetX: N.value.style.chart.tooltip.offsetX,
|
|
1131
|
+
offsetY: N.value.style.chart.tooltip.offsetY,
|
|
1132
|
+
parent: k.value,
|
|
1133
|
+
content: Nt.value,
|
|
1134
|
+
isFullscreen: Z.value,
|
|
1135
|
+
isCustom: N.value.style.chart.tooltip.customFormat && typeof N.value.style.chart.tooltip.customFormat == "function",
|
|
1136
|
+
smooth: N.value.style.chart.tooltip.smooth,
|
|
1137
|
+
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1138
|
+
smoothForce: N.value.style.chart.tooltip.smoothForce,
|
|
1139
|
+
smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1140
|
+
isA11yMode: M.value === "keyboard",
|
|
1141
|
+
a11yPosition: Kt.value
|
|
1142
|
+
}, {
|
|
1143
|
+
"tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...kn.value })), void 0, !0)]),
|
|
1144
|
+
tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...kn.value })), void 0, !0)]),
|
|
1145
|
+
"tooltip-after": T(() => [!["function"].includes(typeof N.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (y(), f("div", gt, [Ie(w(St), {
|
|
1146
|
+
dataset: On.value,
|
|
1147
|
+
config: cn.value,
|
|
1148
|
+
backgroundOpacity: 0
|
|
1149
|
+
}, {
|
|
1150
|
+
"data-label": T(({ bar: e }) => [p("div", _t, [p("span", vt, C(e.name + (N.value.style.chart.tooltip.showValue || N.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), N.value.style.chart.tooltip.showValue || N.value.style.chart.tooltip.showPercentage ? (y(), f("span", yt, C(e.suffix), 1)) : d("", !0)])]),
|
|
1151
|
+
_: 1
|
|
1152
|
+
}, 8, ["dataset", "config"])])) : d("", !0), S(e.$slots, "tooltip-after", _(h({ ...kn.value })), void 0, !0)]),
|
|
1153
|
+
_: 3
|
|
1154
|
+
}, 8, [
|
|
1155
|
+
"teleportTo",
|
|
1156
|
+
"show",
|
|
1157
|
+
"backgroundColor",
|
|
1158
|
+
"color",
|
|
1159
|
+
"borderRadius",
|
|
1160
|
+
"borderColor",
|
|
1161
|
+
"borderWidth",
|
|
1162
|
+
"backgroundOpacity",
|
|
1163
|
+
"fontSize",
|
|
1164
|
+
"position",
|
|
1165
|
+
"offsetX",
|
|
1166
|
+
"offsetY",
|
|
1167
|
+
"parent",
|
|
1168
|
+
"content",
|
|
1169
|
+
"isFullscreen",
|
|
1170
|
+
"isCustom",
|
|
1171
|
+
"smooth",
|
|
1172
|
+
"backdropFilter",
|
|
1173
|
+
"smoothForce",
|
|
1174
|
+
"smoothSnapThreshold",
|
|
1175
|
+
"isA11yMode",
|
|
1176
|
+
"a11yPosition"
|
|
1177
|
+
]),
|
|
1178
|
+
Mt.value && N.value.userOptions.buttons.table ? (y(), u(Ve($.value.component), Le({ key: 8 }, $.value.props, {
|
|
1179
|
+
ref_key: "tableUnit",
|
|
1180
|
+
ref: A,
|
|
1181
|
+
onClose: zn
|
|
1182
|
+
}), Pe({
|
|
1183
|
+
content: T(() => [(y(), u(w(wt), {
|
|
1184
|
+
key: `table_${Bt.value}`,
|
|
1185
|
+
colNames: Y.value.colNames,
|
|
1186
|
+
head: Y.value.head,
|
|
1187
|
+
body: Y.value.body,
|
|
1188
|
+
config: Y.value.config,
|
|
1189
|
+
title: N.value.table.useDialog ? "" : $.value.title,
|
|
1190
|
+
withCloseButton: !N.value.table.useDialog,
|
|
1191
|
+
isCursorPointer: P.value,
|
|
1192
|
+
onClose: zn
|
|
1193
|
+
}, {
|
|
1194
|
+
th: T(({ th: e }) => [Fe(C(e.name), 1)]),
|
|
1195
|
+
td: T(({ td: e }) => [Fe(C(e), 1)]),
|
|
1196
|
+
_: 1
|
|
1197
|
+
}, 8, [
|
|
1198
|
+
"colNames",
|
|
1199
|
+
"head",
|
|
1200
|
+
"body",
|
|
1201
|
+
"config",
|
|
1202
|
+
"title",
|
|
1203
|
+
"withCloseButton",
|
|
1204
|
+
"isCursorPointer"
|
|
1205
|
+
]))]),
|
|
1206
|
+
_: 2
|
|
1207
|
+
}, [N.value.table.useDialog ? {
|
|
1208
|
+
name: "title",
|
|
1209
|
+
fn: T(() => [Fe(C($.value.title), 1)]),
|
|
1210
|
+
key: "0"
|
|
1211
|
+
} : void 0, N.value.table.useDialog ? {
|
|
1212
|
+
name: "actions",
|
|
1213
|
+
fn: T(() => [p("button", {
|
|
1214
|
+
tabindex: "0",
|
|
1215
|
+
class: "vue-ui-user-options-button",
|
|
1216
|
+
onClick: t[1] ||= (e) => Nn(N.value.userOptions.callbacks.csv),
|
|
1217
|
+
style: v({ cursor: P.value ? "pointer" : "default" })
|
|
1218
|
+
}, [Ie(w(xt), {
|
|
1219
|
+
name: "fileCsv",
|
|
1220
|
+
stroke: $.value.props.color
|
|
1221
|
+
}, null, 8, ["stroke"])], 4)]),
|
|
1222
|
+
key: "1"
|
|
1223
|
+
} : void 0]), 1040)) : d("", !0),
|
|
1224
|
+
S(e.$slots, "skeleton", {}, () => [w(Yt) ? (y(), u(_e, { key: 0 })) : d("", !0)], !0)
|
|
1225
|
+
], 46, Ke));
|
|
1226
|
+
}
|
|
1227
|
+
}, [["__scopeId", "data-v-d5e67629"]]);
|
|
1228
|
+
//#endregion
|
|
1229
|
+
export { Ge as n, bt as t };
|