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