vue-data-ui 3.20.0 → 3.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +120 -120
- package/dist/A11yDataTable-BCbtxMU6.js +0 -45
- package/dist/Arrow-D6j6ocXm.js +0 -116
- package/dist/BaseDraggableDialog-4hDW-Rj2.js +0 -272
- package/dist/BaseIcon-DfLoHNUj.js +0 -502
- package/dist/BaseLegendToggle-C_Db-y7s.js +0 -56
- package/dist/BaseScanner-Dr2a1Msy.js +0 -27
- package/dist/BaseZoomControls-CG7hI_1P.js +0 -111
- package/dist/ColorPicker-Bjwxnvfh.js +0 -255
- package/dist/DataTable-B--IN22e.js +0 -150
- package/dist/Legend-Cz2uQ5gs.js +0 -114
- package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +0 -577
- package/dist/PackageVersion-xcyrdRmY.js +0 -11
- package/dist/PenAndPaper-DqrClVfb.js +0 -461
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-BPCJfphn.js +0 -141
- package/dist/Slicer-SHBj0VaV.js +0 -1144
- package/dist/SlicerPreview-DdihbUSJ.js +0 -1668
- package/dist/SparkTooltip-CfE6yCad.js +0 -93
- package/dist/Title-NWp4qB4K.js +0 -87
- package/dist/Tooltip-BENq327o.js +0 -312
- package/dist/UserOptions-C1NgoGu6.js +0 -1411
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/canvas-lib-BOP_HS11.js +0 -79
- package/dist/components/arrow.js +0 -2
- package/dist/components/vue-ui-3d-bar.js +0 -2
- package/dist/components/vue-ui-accordion.js +0 -2
- package/dist/components/vue-ui-age-pyramid.js +0 -2
- package/dist/components/vue-ui-annotator.js +0 -2
- package/dist/components/vue-ui-bullet.js +0 -2
- package/dist/components/vue-ui-bump.js +0 -2
- package/dist/components/vue-ui-candlestick.js +0 -2
- package/dist/components/vue-ui-carousel-table.js +0 -2
- package/dist/components/vue-ui-chestnut.js +0 -2
- package/dist/components/vue-ui-chord.js +0 -2
- package/dist/components/vue-ui-circle-pack.js +0 -2
- package/dist/components/vue-ui-cursor.js +0 -2
- package/dist/components/vue-ui-dag.js +0 -2
- package/dist/components/vue-ui-dashboard.js +0 -2
- package/dist/components/vue-ui-digits.js +0 -2
- package/dist/components/vue-ui-donut-evolution.js +0 -2
- package/dist/components/vue-ui-donut.js +0 -2
- package/dist/components/vue-ui-dumbbell.js +0 -2
- package/dist/components/vue-ui-flow.js +0 -2
- package/dist/components/vue-ui-funnel.js +0 -2
- package/dist/components/vue-ui-galaxy.js +0 -2
- package/dist/components/vue-ui-gauge.js +0 -2
- package/dist/components/vue-ui-geo.js +0 -2
- package/dist/components/vue-ui-gizmo.js +0 -2
- package/dist/components/vue-ui-heatmap.js +0 -2
- package/dist/components/vue-ui-history-plot.js +0 -2
- package/dist/components/vue-ui-horizontal-bar.js +0 -2
- package/dist/components/vue-ui-icon.js +0 -2
- package/dist/components/vue-ui-kpi.js +0 -2
- package/dist/components/vue-ui-mini-loader.js +0 -2
- package/dist/components/vue-ui-molecule.js +0 -2
- package/dist/components/vue-ui-mood-radar.js +0 -2
- package/dist/components/vue-ui-nested-donuts.js +0 -2
- package/dist/components/vue-ui-onion.js +0 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
- package/dist/components/vue-ui-pattern-seed.js +0 -2
- package/dist/components/vue-ui-pattern.js +0 -2
- package/dist/components/vue-ui-quadrant.js +0 -2
- package/dist/components/vue-ui-quick-chart.js +0 -2
- package/dist/components/vue-ui-radar.js +0 -2
- package/dist/components/vue-ui-rating.js +0 -2
- package/dist/components/vue-ui-relation-circle.js +0 -2
- package/dist/components/vue-ui-ridgeline.js +0 -2
- package/dist/components/vue-ui-rings.js +0 -2
- package/dist/components/vue-ui-scatter.js +0 -2
- package/dist/components/vue-ui-skeleton.js +0 -2
- package/dist/components/vue-ui-smiley.js +0 -2
- package/dist/components/vue-ui-spark-trend.js +0 -2
- package/dist/components/vue-ui-sparkbar.js +0 -2
- package/dist/components/vue-ui-sparkgauge.js +0 -2
- package/dist/components/vue-ui-sparkhistogram.js +0 -2
- package/dist/components/vue-ui-sparkline.js +0 -2
- package/dist/components/vue-ui-sparkstackbar.js +0 -2
- package/dist/components/vue-ui-stackbar.js +0 -2
- package/dist/components/vue-ui-stackline.js +0 -2
- package/dist/components/vue-ui-strip-plot.js +0 -2
- package/dist/components/vue-ui-table-heatmap.js +0 -2
- package/dist/components/vue-ui-table-sparkline.js +0 -2
- package/dist/components/vue-ui-table.js +0 -2
- package/dist/components/vue-ui-thermometer.js +0 -2
- package/dist/components/vue-ui-timer.js +0 -2
- package/dist/components/vue-ui-tiremarks.js +0 -2
- package/dist/components/vue-ui-treemap.js +0 -2
- package/dist/components/vue-ui-vertical-bar.js +0 -2
- package/dist/components/vue-ui-waffle.js +0 -2
- package/dist/components/vue-ui-wheel.js +0 -2
- package/dist/components/vue-ui-word-cloud.js +0 -2
- package/dist/components/vue-ui-world.js +0 -2
- package/dist/components/vue-ui-xy-canvas.js +0 -2
- package/dist/components/vue-ui-xy.js +0 -2
- package/dist/dom-to-png-BYtB4BF3.js +0 -237
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/geoProjections-Czak6Jn1.js +0 -145
- package/dist/img-1cKsci8e.js +0 -74
- package/dist/labelUtils-CUctkYoA.js +0 -19
- package/dist/lib-DUeYQsS0.js +0 -1882
- package/dist/llms.txt +0 -232
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-D0eZ99cP.js +0 -90
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/style.css +0 -2
- package/dist/types/arrow.d.ts +0 -4
- package/dist/types/utils.d.ts +0 -551
- package/dist/types/vue-data-ui.d.ts +0 -17190
- package/dist/types/vue-ui-3d-bar.d.ts +0 -93
- package/dist/types/vue-ui-accordion.d.ts +0 -11
- package/dist/types/vue-ui-age-pyramid.d.ts +0 -108
- package/dist/types/vue-ui-annotator.d.ts +0 -34
- package/dist/types/vue-ui-bullet.d.ts +0 -85
- package/dist/types/vue-ui-bump.d.ts +0 -92
- package/dist/types/vue-ui-candlestick.d.ts +0 -106
- package/dist/types/vue-ui-carousel-table.d.ts +0 -59
- package/dist/types/vue-ui-chestnut.d.ts +0 -98
- package/dist/types/vue-ui-chord.d.ts +0 -110
- package/dist/types/vue-ui-circle-pack.d.ts +0 -126
- package/dist/types/vue-ui-cursor.d.ts +0 -9
- package/dist/types/vue-ui-dag.d.ts +0 -125
- package/dist/types/vue-ui-dashboard.d.ts +0 -68
- package/dist/types/vue-ui-digits.d.ts +0 -12
- package/dist/types/vue-ui-donut-evolution.d.ts +0 -96
- package/dist/types/vue-ui-donut.d.ts +0 -123
- package/dist/types/vue-ui-dumbbell.d.ts +0 -94
- package/dist/types/vue-ui-flow.d.ts +0 -106
- package/dist/types/vue-ui-funnel.d.ts +0 -79
- package/dist/types/vue-ui-galaxy.d.ts +0 -114
- package/dist/types/vue-ui-gauge.d.ts +0 -89
- package/dist/types/vue-ui-geo.d.ts +0 -94
- package/dist/types/vue-ui-gizmo.d.ts +0 -22
- package/dist/types/vue-ui-heatmap.d.ts +0 -101
- package/dist/types/vue-ui-history-plot.d.ts +0 -114
- package/dist/types/vue-ui-horizontal-bar.d.ts +0 -116
- package/dist/types/vue-ui-icon.d.ts +0 -15
- package/dist/types/vue-ui-kpi.d.ts +0 -25
- package/dist/types/vue-ui-mini-loader.d.ts +0 -15
- package/dist/types/vue-ui-molecule.d.ts +0 -112
- package/dist/types/vue-ui-mood-radar.d.ts +0 -92
- package/dist/types/vue-ui-nested-donuts.d.ts +0 -111
- package/dist/types/vue-ui-onion.d.ts +0 -106
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -125
- package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
- package/dist/types/vue-ui-pattern.d.ts +0 -15
- package/dist/types/vue-ui-quadrant.d.ts +0 -125
- package/dist/types/vue-ui-quick-chart.d.ts +0 -108
- package/dist/types/vue-ui-radar.d.ts +0 -116
- package/dist/types/vue-ui-rating.d.ts +0 -42
- package/dist/types/vue-ui-relation-circle.d.ts +0 -92
- package/dist/types/vue-ui-ridgeline.d.ts +0 -106
- package/dist/types/vue-ui-rings.d.ts +0 -98
- package/dist/types/vue-ui-scatter.d.ts +0 -97
- package/dist/types/vue-ui-skeleton.d.ts +0 -11
- package/dist/types/vue-ui-smiley.d.ts +0 -28
- package/dist/types/vue-ui-spark-trend.d.ts +0 -19
- package/dist/types/vue-ui-sparkbar.d.ts +0 -49
- package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
- package/dist/types/vue-ui-sparkhistogram.d.ts +0 -46
- package/dist/types/vue-ui-sparkline.d.ts +0 -59
- package/dist/types/vue-ui-sparkstackbar.d.ts +0 -60
- package/dist/types/vue-ui-stackbar.d.ts +0 -118
- package/dist/types/vue-ui-stackline.d.ts +0 -114
- package/dist/types/vue-ui-strip-plot.d.ts +0 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
- package/dist/types/vue-ui-table-sparkline.d.ts +0 -53
- package/dist/types/vue-ui-table.d.ts +0 -38
- package/dist/types/vue-ui-thermometer.d.ts +0 -70
- package/dist/types/vue-ui-timer.d.ts +0 -49
- package/dist/types/vue-ui-tiremarks.d.ts +0 -70
- package/dist/types/vue-ui-treemap.d.ts +0 -104
- package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
- package/dist/types/vue-ui-waffle.d.ts +0 -101
- package/dist/types/vue-ui-wheel.d.ts +0 -70
- package/dist/types/vue-ui-word-cloud.d.ts +0 -97
- package/dist/types/vue-ui-world.d.ts +0 -98
- package/dist/types/vue-ui-xy-canvas.d.ts +0 -101
- package/dist/types/vue-ui-xy.d.ts +0 -146
- package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +0 -50
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useConfig-DAyQk86L.js +0 -7479
- package/dist/useFitSvgText-CT3nmlaS.js +0 -63
- package/dist/useNestedProp-CNcoy38D.js +0 -10
- package/dist/useObjectBindings-BI7hP-BC.js +0 -189
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-C1Gqt_Sp.js +0 -49
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useSvgExport-SVIsDot8.js +0 -755
- package/dist/useTableResponsive-B24Uwt2E.js +0 -24
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-BmBRv27Y.js +0 -272
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/utils.js +0 -28
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-qpQv-4uP.js +0 -274
- package/dist/vue-data-ui.js +0 -76
- package/dist/vue-ui-3d-bar-C8cputoI.js +0 -1757
- package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +0 -1238
- package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
- package/dist/vue-ui-bullet-DLxmtMJ9.js +0 -710
- package/dist/vue-ui-bump-DVaqtZbd.js +0 -1249
- package/dist/vue-ui-candlestick-CkApimw1.js +0 -1826
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +0 -455
- package/dist/vue-ui-chestnut-CQT4nCFL.js +0 -2010
- package/dist/vue-ui-chord-8IjSrg6f.js +0 -1391
- package/dist/vue-ui-circle-pack-B1CpTtpw.js +0 -1608
- package/dist/vue-ui-cursor-NaTj5i2-.js +0 -283
- package/dist/vue-ui-dag-DH4ocx0S.js +0 -2909
- package/dist/vue-ui-dashboard-Ckff1yim.js +0 -513
- package/dist/vue-ui-digits-DwLlJqbW.js +0 -209
- package/dist/vue-ui-donut-DQdIdwRU.js +0 -2410
- package/dist/vue-ui-donut-evolution-MfM5kK6w.js +0 -1510
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +0 -1530
- package/dist/vue-ui-flow-CJh6f72m.js +0 -1235
- package/dist/vue-ui-funnel-C9gfXNCr.js +0 -777
- package/dist/vue-ui-galaxy-pBR_FESJ.js +0 -1077
- package/dist/vue-ui-gauge-CAemxCGl.js +0 -920
- package/dist/vue-ui-geo-BDQqaukJ.js +0 -1516
- package/dist/vue-ui-gizmo-B1ppjqPj.js +0 -225
- package/dist/vue-ui-heatmap-BiC9xp8L.js +0 -1568
- package/dist/vue-ui-history-plot-iAPjlOja.js +0 -1554
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +0 -1681
- package/dist/vue-ui-kpi-CJ5oyYLS.js +0 -96
- package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +0 -925
- package/dist/vue-ui-mood-radar-N8osOTFR.js +0 -1148
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +0 -1487
- package/dist/vue-ui-onion-C56gFjO6.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-C-jj819p.js +0 -1416
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-DYc9xZY3.js +0 -1978
- package/dist/vue-ui-quick-chart-BG7kK_-q.js +0 -2469
- package/dist/vue-ui-radar-CgKog9Xw.js +0 -1229
- package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +0 -924
- package/dist/vue-ui-ridgeline-DPrlVJTW.js +0 -1622
- package/dist/vue-ui-rings-CIvvHHsF.js +0 -1246
- package/dist/vue-ui-scatter-CeBQJbGx.js +0 -2413
- package/dist/vue-ui-skeleton-BKoa_G6d.js +0 -2556
- package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
- package/dist/vue-ui-spark-trend-DGOrPr9I.js +0 -438
- package/dist/vue-ui-sparkbar-BVumo-YD.js +0 -393
- package/dist/vue-ui-sparkgauge-BoCwdQcu.js +0 -255
- package/dist/vue-ui-sparkhistogram-4qXY1LXW.js +0 -560
- package/dist/vue-ui-sparkline-C0kzXrwI.js +0 -1507
- package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +0 -662
- package/dist/vue-ui-stackbar-Dnq4l5xs.js +0 -2270
- package/dist/vue-ui-stackline-CaNOHQYl.js +0 -2398
- package/dist/vue-ui-strip-plot-D2CcJw_5.js +0 -1340
- package/dist/vue-ui-table-NBQrkVnO.js +0 -1338
- package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
- package/dist/vue-ui-table-sparkline-BZDkOEEl.js +0 -707
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +0 -763
- package/dist/vue-ui-timer-CcLK1wbi.js +0 -439
- package/dist/vue-ui-tiremarks-B6txvBg-.js +0 -552
- package/dist/vue-ui-treemap-O3SBpD3K.js +0 -1587
- package/dist/vue-ui-waffle-DN5zG3b0.js +0 -1362
- package/dist/vue-ui-wheel-CxnJGXkX.js +0 -885
- package/dist/vue-ui-word-cloud-CM5yPCXb.js +0 -1656
- package/dist/vue-ui-world-DCPgXKxh.js +0 -14264
- package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
- package/dist/vue-ui-xy-lfMIx0wK.js +0 -4578
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-BY6c-oX_.js +0 -301
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-J8jmJvxP.js +0 -374
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-D1yAAIHr.js +0 -717
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-mZBdml3Z.js +0 -139
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-auZhap6Y.js +0 -151
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-COOrQQdK.js +0 -412
- package/dist/vue_ui_stackline-DQqKPA9z.js +0 -460
- package/dist/vue_ui_strip_plot-CtJe8_gq.js +0 -301
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DIARFc7g.js +0 -292
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-BLUkWEAm.js +0 -482
- package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +0 -408
|
@@ -1,1568 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t, Ct as n, G as r, H as i, Ht as a, J as o, S as s, X as c, ft as l, i as u, nt as d, ot as f, pt as p, r as m, t as ee, v as h } from "./lib-DUeYQsS0.js";
|
|
3
|
-
import { t as te } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
-
import { t as ne } from "./useConfig-DAyQk86L.js";
|
|
5
|
-
import { t as re } from "./usePrinter-C1Gqt_Sp.js";
|
|
6
|
-
import { n as ie, t as ae } from "./BaseScanner-Dr2a1Msy.js";
|
|
7
|
-
import { t as oe } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as se } from "./useNestedProp-CNcoy38D.js";
|
|
9
|
-
import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as le } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { t as ue } from "./img-1cKsci8e.js";
|
|
12
|
-
import { n as de } from "./Title-NWp4qB4K.js";
|
|
13
|
-
import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
-
import { c as pe } from "./canvas-lib-BOP_HS11.js";
|
|
15
|
-
import { t as me } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
-
import { t as he } from "./vue-ui-accordion-Dw4MHKVB.js";
|
|
17
|
-
import { t as ge } from "./A11yDataTable-BCbtxMU6.js";
|
|
18
|
-
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
-
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as ye } from "./useTableResponsive-B24Uwt2E.js";
|
|
21
|
-
import { t as be } from "./vue_ui_heatmap-B2BBBSWG.js";
|
|
22
|
-
import { Fragment as g, computed as _, createBlock as xe, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as Se, createTextVNode as Ce, createVNode as we, defineAsyncComponent as x, guardReactiveProps as S, mergeProps as Te, nextTick as Ee, normalizeClass as De, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Oe, onMounted as ke, openBlock as T, reactive as Ae, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as je, shallowRef as Me, toDisplayString as k, toRefs as Ne, unref as A, useCssVars as Pe, vShow as Fe, watch as Ie, watchEffect as Le, withCtx as j, withDirectives as Re, withKeys as ze } from "vue";
|
|
23
|
-
//#region src/useLabelObserverEfffect.js
|
|
24
|
-
function Be({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFrames: i = 12, alsoAfterFontsReady: a = !0 }) {
|
|
25
|
-
if (r) return;
|
|
26
|
-
let o = (e) => {
|
|
27
|
-
if (!e) return;
|
|
28
|
-
let r;
|
|
29
|
-
if (typeof e.getBBox == "function") try {
|
|
30
|
-
let t = e.getBBox();
|
|
31
|
-
r = n === "width" ? t.width : t.height;
|
|
32
|
-
} catch {}
|
|
33
|
-
if (typeof r != "number" || Number.isNaN(r)) try {
|
|
34
|
-
let t = e.getBoundingClientRect();
|
|
35
|
-
r = n === "width" ? t.width : t.height;
|
|
36
|
-
} catch {
|
|
37
|
-
r = void 0;
|
|
38
|
-
}
|
|
39
|
-
typeof r == "number" && !Number.isNaN(r) && t(r);
|
|
40
|
-
};
|
|
41
|
-
Le((t) => {
|
|
42
|
-
let n = e.value;
|
|
43
|
-
if (!n) return;
|
|
44
|
-
let r = !1;
|
|
45
|
-
(async () => {
|
|
46
|
-
await Ee();
|
|
47
|
-
for (let t = 0; t < i; t += 1) {
|
|
48
|
-
if (r) return;
|
|
49
|
-
await new Promise((e) => requestAnimationFrame(e));
|
|
50
|
-
let t = e.value;
|
|
51
|
-
if (!t) return;
|
|
52
|
-
o(t);
|
|
53
|
-
}
|
|
54
|
-
if (a && typeof document < "u" && document.fonts && document.fonts.ready) {
|
|
55
|
-
try {
|
|
56
|
-
await document.fonts.ready;
|
|
57
|
-
} catch {}
|
|
58
|
-
!r && e.value && o(e.value);
|
|
59
|
-
}
|
|
60
|
-
})();
|
|
61
|
-
let s = new MutationObserver(() => {
|
|
62
|
-
e.value && requestAnimationFrame(() => {
|
|
63
|
-
e.value && o(e.value);
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
s.observe(n, {
|
|
67
|
-
childList: !0,
|
|
68
|
-
subtree: !0,
|
|
69
|
-
characterData: !0,
|
|
70
|
-
attributes: !0,
|
|
71
|
-
attributeFilter: [
|
|
72
|
-
"transform",
|
|
73
|
-
"style",
|
|
74
|
-
"class"
|
|
75
|
-
]
|
|
76
|
-
});
|
|
77
|
-
let c;
|
|
78
|
-
if (typeof ResizeObserver < "u") {
|
|
79
|
-
let t = n.ownerSVGElement ? n.ownerSVGElement : n;
|
|
80
|
-
c = new ResizeObserver(() => {
|
|
81
|
-
let t = e.value;
|
|
82
|
-
t && o(t);
|
|
83
|
-
}), c.observe(t);
|
|
84
|
-
}
|
|
85
|
-
t(() => {
|
|
86
|
-
r = !0, s.disconnect(), c && c.disconnect();
|
|
87
|
-
});
|
|
88
|
-
}, { flush: "post" });
|
|
89
|
-
}
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region src/directives/vFitText.js
|
|
92
|
-
var Ve = {
|
|
93
|
-
mounted(e, t) {
|
|
94
|
-
He(e, t.value);
|
|
95
|
-
},
|
|
96
|
-
updated(e, t) {
|
|
97
|
-
He(e, t.value);
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
function He(e, { cellWidth: t, cellHeight: n, maxFontSize: r, minFontSize: i, index: a, reportRotation: o, reportHide: s, rotateAll: c, hideAll: l }) {
|
|
101
|
-
e.removeAttribute("transform"), e.removeAttribute("visibility");
|
|
102
|
-
let u = !1, d = !1;
|
|
103
|
-
e.setAttribute("font-size", r);
|
|
104
|
-
let f = e.getComputedTextLength();
|
|
105
|
-
if (f <= t) o(a, !1), s(a, !1);
|
|
106
|
-
else {
|
|
107
|
-
let n = Math.floor(r * t / f);
|
|
108
|
-
n >= i ? (e.setAttribute("font-size", n), o(a, !1), s(a, !1)) : (o(a, !0), s(a, !1), u = !0);
|
|
109
|
-
}
|
|
110
|
-
if (c && (u = !0), u) {
|
|
111
|
-
e.setAttribute("font-size", r);
|
|
112
|
-
let t = e.getBBox(), o = t.x + t.width / 2, c = t.y + t.height / 2;
|
|
113
|
-
e.setAttribute("transform", `rotate(-90 ${o} ${c})`);
|
|
114
|
-
let l = e.getBBox().width;
|
|
115
|
-
if (l <= n) s(a, !1);
|
|
116
|
-
else {
|
|
117
|
-
let t = Math.floor(r * n / l);
|
|
118
|
-
t >= i ? (e.setAttribute("font-size", t), s(a, !1)) : (d = !0, s(a, !0));
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
(l || d) && e.setAttribute("visibility", "hidden");
|
|
122
|
-
}
|
|
123
|
-
//#endregion
|
|
124
|
-
//#region src/components/vue-ui-heatmap.vue
|
|
125
|
-
var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke = [
|
|
126
|
-
"xmlns",
|
|
127
|
-
"aria-describedby",
|
|
128
|
-
"viewBox"
|
|
129
|
-
], qe = [
|
|
130
|
-
"x",
|
|
131
|
-
"y",
|
|
132
|
-
"width",
|
|
133
|
-
"height"
|
|
134
|
-
], Je = [
|
|
135
|
-
"x",
|
|
136
|
-
"y",
|
|
137
|
-
"height",
|
|
138
|
-
"width",
|
|
139
|
-
"fill",
|
|
140
|
-
"stroke",
|
|
141
|
-
"stroke-width"
|
|
142
|
-
], Ye = [
|
|
143
|
-
"x",
|
|
144
|
-
"y",
|
|
145
|
-
"height",
|
|
146
|
-
"width",
|
|
147
|
-
"fill",
|
|
148
|
-
"stroke",
|
|
149
|
-
"stroke-width"
|
|
150
|
-
], Xe = [
|
|
151
|
-
"x",
|
|
152
|
-
"y",
|
|
153
|
-
"width",
|
|
154
|
-
"height",
|
|
155
|
-
"fill",
|
|
156
|
-
"stroke",
|
|
157
|
-
"stroke-width"
|
|
158
|
-
], Ze = [
|
|
159
|
-
"data-a11y-cell-id",
|
|
160
|
-
"x",
|
|
161
|
-
"y",
|
|
162
|
-
"width",
|
|
163
|
-
"height",
|
|
164
|
-
"fill",
|
|
165
|
-
"stroke",
|
|
166
|
-
"stroke-width",
|
|
167
|
-
"aria-label",
|
|
168
|
-
"onMouseover",
|
|
169
|
-
"onMouseout",
|
|
170
|
-
"onClick"
|
|
171
|
-
], Qe = [
|
|
172
|
-
"font-size",
|
|
173
|
-
"font-weight",
|
|
174
|
-
"fill",
|
|
175
|
-
"x",
|
|
176
|
-
"y"
|
|
177
|
-
], $e = [
|
|
178
|
-
"x",
|
|
179
|
-
"y",
|
|
180
|
-
"width",
|
|
181
|
-
"height",
|
|
182
|
-
"fill",
|
|
183
|
-
"stroke",
|
|
184
|
-
"stroke-width"
|
|
185
|
-
], et = [
|
|
186
|
-
"x",
|
|
187
|
-
"y",
|
|
188
|
-
"width",
|
|
189
|
-
"height",
|
|
190
|
-
"fill",
|
|
191
|
-
"stroke",
|
|
192
|
-
"stroke-width"
|
|
193
|
-
], tt = [
|
|
194
|
-
"font-size",
|
|
195
|
-
"fill",
|
|
196
|
-
"x",
|
|
197
|
-
"y",
|
|
198
|
-
"font-weight"
|
|
199
|
-
], nt = [
|
|
200
|
-
"font-size",
|
|
201
|
-
"fill",
|
|
202
|
-
"x",
|
|
203
|
-
"y",
|
|
204
|
-
"font-weight"
|
|
205
|
-
], rt = [
|
|
206
|
-
"text-anchor",
|
|
207
|
-
"font-size",
|
|
208
|
-
"fill",
|
|
209
|
-
"font-weight",
|
|
210
|
-
"transform"
|
|
211
|
-
], it = [
|
|
212
|
-
"text-anchor",
|
|
213
|
-
"font-size",
|
|
214
|
-
"fill",
|
|
215
|
-
"font-weight",
|
|
216
|
-
"transform"
|
|
217
|
-
], at = { key: 6 }, ot = [
|
|
218
|
-
"x",
|
|
219
|
-
"y",
|
|
220
|
-
"width",
|
|
221
|
-
"height",
|
|
222
|
-
"stroke",
|
|
223
|
-
"stroke-width"
|
|
224
|
-
], st = { key: 7 }, ct = [
|
|
225
|
-
"x1",
|
|
226
|
-
"x2",
|
|
227
|
-
"y1",
|
|
228
|
-
"y2",
|
|
229
|
-
"stroke",
|
|
230
|
-
"stroke-width",
|
|
231
|
-
"stroke-dasharray"
|
|
232
|
-
], lt = [
|
|
233
|
-
"x1",
|
|
234
|
-
"x2",
|
|
235
|
-
"y1",
|
|
236
|
-
"y2",
|
|
237
|
-
"stroke",
|
|
238
|
-
"stroke-width",
|
|
239
|
-
"stroke-dasharray"
|
|
240
|
-
], ut = { class: "vue-ui-heatmap-legend-gauge-right" }, dt = ["data-value"], ft = { class: "vue-ui-heatmap-gauge-indicator-value" }, pt = {
|
|
241
|
-
key: 1,
|
|
242
|
-
style: {
|
|
243
|
-
position: "absolute",
|
|
244
|
-
top: "100%",
|
|
245
|
-
left: "0",
|
|
246
|
-
width: "100%"
|
|
247
|
-
},
|
|
248
|
-
"data-dom-to-png-ignore": "",
|
|
249
|
-
"aria-hidden": "true"
|
|
250
|
-
}, mt = {
|
|
251
|
-
key: 5,
|
|
252
|
-
class: "vue-data-ui-watermark"
|
|
253
|
-
}, ht = { class: "vue-ui-data-table" }, gt = { key: 0 }, _t = ["data-cell"], vt = { style: {
|
|
254
|
-
display: "flex",
|
|
255
|
-
"align-items": "center",
|
|
256
|
-
gap: "5px",
|
|
257
|
-
"justify-content": "flex-end",
|
|
258
|
-
width: "100%",
|
|
259
|
-
"padding-right": "3px"
|
|
260
|
-
} }, yt = ["data-cell"], bt = { style: {
|
|
261
|
-
display: "flex",
|
|
262
|
-
"align-items": "center",
|
|
263
|
-
gap: "5px",
|
|
264
|
-
"justify-content": "flex-end",
|
|
265
|
-
width: "100%",
|
|
266
|
-
"padding-right": "3px"
|
|
267
|
-
} }, xt = /* @__PURE__ */ fe({
|
|
268
|
-
__name: "vue-ui-heatmap",
|
|
269
|
-
props: {
|
|
270
|
-
config: {
|
|
271
|
-
type: Object,
|
|
272
|
-
default() {
|
|
273
|
-
return {};
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
dataset: {
|
|
277
|
-
type: Array,
|
|
278
|
-
default() {
|
|
279
|
-
return [];
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
emits: ["selectDatapoint", "copyAlt"],
|
|
284
|
-
setup(e, { expose: fe, emit: He }) {
|
|
285
|
-
Pe((e) => ({ v4596c7e2: e.tdo }));
|
|
286
|
-
let Ue = x(() => import("./Tooltip-BENq327o.js")), xt = x(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), St = x(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Ct = x(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), wt = x(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Tt = x(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_heatmap: Et } = ne(), { isThemeValid: Dt, warnInvalidTheme: Ot } = ce(), M = e, kt = He, At = _({
|
|
287
|
-
get() {
|
|
288
|
-
return !!M.dataset && M.dataset.length;
|
|
289
|
-
},
|
|
290
|
-
set(e) {
|
|
291
|
-
return e;
|
|
292
|
-
}
|
|
293
|
-
}), jt = E(i()), N = E(null), Mt = E(!1), Nt = E(""), Pt = E(void 0), P = E(null), Ft = E(0), It = E(null), Lt = E(0), Rt = E(null), zt = E(null), Bt = E(null), Vt = E(!1), Ht = E(!1), Ut = E(null), Wt = E(null), Gt = E(null), Kt = E(null), qt = E(null), Jt = E(null), Yt = E(null), Xt = E(null), Zt = E(null), F = Me(null), I = E(null), Qt = E(null), $t = E({
|
|
294
|
-
x: 0,
|
|
295
|
-
y: 0
|
|
296
|
-
}), en = E("pointer"), tn = E(!1), L = E(fn()), nn = _(() => L.value.userOptions.useCursorPointer);
|
|
297
|
-
function rn() {
|
|
298
|
-
let e = Array(7).fill("_"), t = [], n = e.length;
|
|
299
|
-
for (let r = 0; r < n; r += 1) {
|
|
300
|
-
let n = [];
|
|
301
|
-
for (let e = 0; e < 14; e += 1) n.push(r + e * 2);
|
|
302
|
-
t.push({
|
|
303
|
-
name: `${e[r]}`,
|
|
304
|
-
values: n
|
|
305
|
-
});
|
|
306
|
-
}
|
|
307
|
-
return t;
|
|
308
|
-
}
|
|
309
|
-
let an = _(() => t({
|
|
310
|
-
defaultConfig: {
|
|
311
|
-
table: { show: !1 },
|
|
312
|
-
userOptions: { show: !1 },
|
|
313
|
-
style: {
|
|
314
|
-
backgroundColor: "#99999930",
|
|
315
|
-
layout: {
|
|
316
|
-
cells: {
|
|
317
|
-
colors: {
|
|
318
|
-
hot: "#999999",
|
|
319
|
-
cold: "#CACACA"
|
|
320
|
-
},
|
|
321
|
-
columnTotal: { value: { show: !1 } },
|
|
322
|
-
rowTotal: { value: { show: !1 } },
|
|
323
|
-
value: { show: !1 }
|
|
324
|
-
},
|
|
325
|
-
dataLabels: {
|
|
326
|
-
xAxis: { show: !1 },
|
|
327
|
-
yAxis: { show: !1 }
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
userConfig: L.value.skeletonConfig ?? {}
|
|
333
|
-
})), { loading: on, FINAL_DATASET: R, manualLoading: sn } = ie({
|
|
334
|
-
...Ne(M),
|
|
335
|
-
FINAL_CONFIG: L,
|
|
336
|
-
prepareConfig: fn,
|
|
337
|
-
callback: () => {
|
|
338
|
-
Promise.resolve().then(async () => {
|
|
339
|
-
await Ee(), N.value && a(N.value, {
|
|
340
|
-
delta: .1,
|
|
341
|
-
delay: 250
|
|
342
|
-
});
|
|
343
|
-
});
|
|
344
|
-
},
|
|
345
|
-
skeletonDataset: M.config?.skeletonDataset ?? rn(),
|
|
346
|
-
skeletonConfig: t({
|
|
347
|
-
defaultConfig: L.value,
|
|
348
|
-
userConfig: an.value
|
|
349
|
-
})
|
|
350
|
-
}), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = _e({ config: L.value }), { svgRef: z } = ve({ config: L.value.style.title });
|
|
351
|
-
function dn(e) {
|
|
352
|
-
ln(e);
|
|
353
|
-
}
|
|
354
|
-
function fn() {
|
|
355
|
-
let e = se({
|
|
356
|
-
userConfig: M.config,
|
|
357
|
-
defaultConfig: Et
|
|
358
|
-
}), t = {}, n = e.theme;
|
|
359
|
-
if (n) if (!Dt.value(e)) Ot(e), t = e;
|
|
360
|
-
else {
|
|
361
|
-
let r = se({
|
|
362
|
-
userConfig: be[n] || M.config,
|
|
363
|
-
defaultConfig: e
|
|
364
|
-
});
|
|
365
|
-
t = { ...se({
|
|
366
|
-
userConfig: M.config,
|
|
367
|
-
defaultConfig: r
|
|
368
|
-
}) };
|
|
369
|
-
}
|
|
370
|
-
else t = e;
|
|
371
|
-
return t;
|
|
372
|
-
}
|
|
373
|
-
Ie(() => M.config, (e) => {
|
|
374
|
-
on.value || (L.value = fn()), cn.value = !L.value.userOptions.showOnChartHover, bn(), Lt.value += 1, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.tooltip.show, xn.value = L.value.style.layout.width, Sn.value = L.value.style.layout.height;
|
|
375
|
-
}, { deep: !0 }), Ie(() => M.dataset, (e) => {
|
|
376
|
-
Array.isArray(e) && e.length > 0 && (sn.value = !1), bn();
|
|
377
|
-
}, { deep: !0 });
|
|
378
|
-
let { isPrinting: pn, isImaging: mn, generatePdf: hn, generateImage: gn } = re({
|
|
379
|
-
elementId: `heatmap__${jt.value}`,
|
|
380
|
-
fileName: L.value.style.title.text || "vue-ui-heatmap",
|
|
381
|
-
options: L.value.userOptions.print
|
|
382
|
-
}), _n = _(() => L.value.userOptions.show && !L.value.style.title.text), B = E({
|
|
383
|
-
showTable: L.value.table.show,
|
|
384
|
-
showTooltip: L.value.style.tooltip.show
|
|
385
|
-
});
|
|
386
|
-
Ie(L, () => {
|
|
387
|
-
B.value = {
|
|
388
|
-
showTable: L.value.table.show,
|
|
389
|
-
showTooltip: L.value.style.tooltip.show
|
|
390
|
-
};
|
|
391
|
-
}, { immediate: !0 });
|
|
392
|
-
let vn = _(() => L.value.table.responsiveBreakpoint), V = E(null), yn = _(() => !!L.value.debug);
|
|
393
|
-
function bn() {
|
|
394
|
-
if (n(M.dataset) && (c({
|
|
395
|
-
componentName: "VueUiHeatmap",
|
|
396
|
-
type: "dataset",
|
|
397
|
-
debug: yn.value
|
|
398
|
-
}), At.value = !1, sn.value = !0), n(M.dataset) || (sn.value = L.value.loading), L.value.responsive) {
|
|
399
|
-
let e = pe(() => {
|
|
400
|
-
let { width: e, height: t } = me({
|
|
401
|
-
chart: N.value,
|
|
402
|
-
title: L.value.style.title.text ? Ut.value : null,
|
|
403
|
-
source: Zt.value,
|
|
404
|
-
noTitle: Wt.value
|
|
405
|
-
});
|
|
406
|
-
requestAnimationFrame(() => {
|
|
407
|
-
xn.value = e, Sn.value = t;
|
|
408
|
-
});
|
|
409
|
-
});
|
|
410
|
-
V.value && (F.value && V.value.unobserve(F.value), V.value.disconnect()), V.value = new ResizeObserver(e), F.value = N.value.parentNode, V.value.observe(F.value);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
Oe(() => {
|
|
414
|
-
V.value && (F.value && V.value.unobserve(F.value), V.value.disconnect());
|
|
415
|
-
}), ke(() => {
|
|
416
|
-
bn();
|
|
417
|
-
});
|
|
418
|
-
let H = _(() => Math.max(...R.value.flatMap((e) => (e.values || []).length))), xn = E(L.value.style.layout.width), Sn = E(L.value.style.layout.height), U = _(() => ({
|
|
419
|
-
width: Math.max(10, xn.value),
|
|
420
|
-
height: Math.max(10, Sn.value)
|
|
421
|
-
})), Cn = E(0);
|
|
422
|
-
Be({
|
|
423
|
-
elementRef: Jt,
|
|
424
|
-
callback: pe((e) => {
|
|
425
|
-
e !== Cn.value && (Cn.value = e);
|
|
426
|
-
}, 100),
|
|
427
|
-
attr: "height"
|
|
428
|
-
});
|
|
429
|
-
let W = E(0);
|
|
430
|
-
Be({
|
|
431
|
-
elementRef: Kt,
|
|
432
|
-
callback: pe((e) => {
|
|
433
|
-
e !== W.value && (W.value = e);
|
|
434
|
-
}, 100),
|
|
435
|
-
attr: "width"
|
|
436
|
-
});
|
|
437
|
-
let wn = E(0);
|
|
438
|
-
Be({
|
|
439
|
-
elementRef: Yt,
|
|
440
|
-
callback: pe((e) => {
|
|
441
|
-
e !== wn.value && (wn.value = e);
|
|
442
|
-
}, 100),
|
|
443
|
-
attr: "height"
|
|
444
|
-
}), Oe(() => {
|
|
445
|
-
Cn.value = 0, W.value = 0, wn.value = 0;
|
|
446
|
-
});
|
|
447
|
-
let G = _(() => Math.min(U.value.height, U.value.width) / 1e3 * L.value.style.layout.cells.spacing), K = _(() => {
|
|
448
|
-
let e = 0;
|
|
449
|
-
L.value.style.legend.show && (e = L.value.style.legend.width);
|
|
450
|
-
let t = L.value.style.layout.padding, n = L.value.style.layout.dataLabels.xAxis.fontSize / 3, r = L.value.style.layout.dataLabels.xAxis.fontSize / 2, i = U.value.height - t.top - t.bottom - Cn.value - n, a = U.value.width / 60, o = {
|
|
451
|
-
x: G.value * H.value,
|
|
452
|
-
y: G.value * ((R.value || []).length + 1)
|
|
453
|
-
}, s = U.value.width - t.left - t.right - o.x - a * 2 - 2 - e - W.value, c = i - a - o.y - wn.value - r - L.value.style.layout.cells.columnTotal.value.offsetY, l = {
|
|
454
|
-
width: Math.max(3, s / H.value),
|
|
455
|
-
height: Math.max(3, c / (R.value.length ?? 1))
|
|
456
|
-
};
|
|
457
|
-
return {
|
|
458
|
-
top: t.top + Cn.value + a + n,
|
|
459
|
-
topLabelsHeight: Cn.value,
|
|
460
|
-
sumCellXHeight: a,
|
|
461
|
-
height: c,
|
|
462
|
-
left: t.left + W.value + a / 2,
|
|
463
|
-
right: t.right - e,
|
|
464
|
-
bottom: U.value.height - t.bottom - wn.value,
|
|
465
|
-
width: s,
|
|
466
|
-
cellSize: l
|
|
467
|
-
};
|
|
468
|
-
}), q = _(() => Math.max(...R.value.flatMap((e) => e.values))), Tn = _(() => Math.min(...R.value.flatMap((e) => e.values))), J = _(() => {
|
|
469
|
-
let e = R.value.flatMap((e) => e.values);
|
|
470
|
-
return e.reduce((e, t) => e + t, 0) / e.length;
|
|
471
|
-
}), En = E([]), Dn = E([]), On = 0;
|
|
472
|
-
Le(() => {
|
|
473
|
-
let e = ++On;
|
|
474
|
-
(async () => {
|
|
475
|
-
let t = L.value.style.layout.dataLabels.yAxis, n = await te({
|
|
476
|
-
values: t.values.length ? t.values : R.value.map((e) => e.name),
|
|
477
|
-
maxDatapoints: R.value.length,
|
|
478
|
-
formatter: t.datetimeFormatter,
|
|
479
|
-
start: 0,
|
|
480
|
-
end: R.value.length
|
|
481
|
-
});
|
|
482
|
-
e === On && (En.value = n);
|
|
483
|
-
})();
|
|
484
|
-
});
|
|
485
|
-
let kn = 0;
|
|
486
|
-
Le(() => {
|
|
487
|
-
let e = ++kn;
|
|
488
|
-
(async () => {
|
|
489
|
-
let t = L.value.style.layout.dataLabels.xAxis, n = await te({
|
|
490
|
-
values: t.values,
|
|
491
|
-
maxDatapoints: H.value,
|
|
492
|
-
formatter: t.datetimeFormatter,
|
|
493
|
-
start: 0,
|
|
494
|
-
end: H.value
|
|
495
|
-
});
|
|
496
|
-
e === kn && (Dn.value = n);
|
|
497
|
-
})();
|
|
498
|
-
});
|
|
499
|
-
let Y = _(() => {
|
|
500
|
-
let e = En.value.map((e) => e.text), t = Dn.value.map((e) => e.text), n = R.value.map((e) => e.values.reduce((e, t) => e + t, 0)), r = Math.max(...n), i = Math.min(...n), a = [];
|
|
501
|
-
for (let e = 0; e < H.value; e += 1) a.push(R.value.map((t) => t.values[e] || 0).reduce((e, t) => e + t, 0));
|
|
502
|
-
let o = Math.max(...a), s = Math.min(...a);
|
|
503
|
-
return {
|
|
504
|
-
yTotals: n.map((e) => ({
|
|
505
|
-
total: e,
|
|
506
|
-
proportion: isNaN(e / r) ? 0 : e / r,
|
|
507
|
-
color: l(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, i, r, e)
|
|
508
|
-
})),
|
|
509
|
-
xTotals: a.map((e) => ({
|
|
510
|
-
total: e,
|
|
511
|
-
proportion: isNaN(e / o) ? 0 : e / o,
|
|
512
|
-
color: l(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, s, o, e)
|
|
513
|
-
})),
|
|
514
|
-
yLabels: e,
|
|
515
|
-
xLabels: t.slice(0, H.value)
|
|
516
|
-
};
|
|
517
|
-
}), X = _(() => (R.value.forEach((e, t) => {
|
|
518
|
-
f({
|
|
519
|
-
datasetObject: e,
|
|
520
|
-
requiredAttributes: ["values"]
|
|
521
|
-
}).forEach((e) => {
|
|
522
|
-
c({
|
|
523
|
-
componentName: "VueUiHeatmap",
|
|
524
|
-
type: "datasetSerieAttribute",
|
|
525
|
-
property: "values",
|
|
526
|
-
index: t,
|
|
527
|
-
debug: yn.value
|
|
528
|
-
});
|
|
529
|
-
});
|
|
530
|
-
}), R.value.map((e, t) => ({
|
|
531
|
-
...e,
|
|
532
|
-
temperatures: (e.values || []).map((e, n) => e >= J.value ? {
|
|
533
|
-
side: "up",
|
|
534
|
-
color: l(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, e),
|
|
535
|
-
ratio: Math.abs(Math.abs(e - J.value) / Math.abs(q.value - J.value)) > 1 ? 1 : Math.abs(Math.abs(e - J.value) / Math.abs(q.value - J.value)),
|
|
536
|
-
value: e,
|
|
537
|
-
yAxisName: Y.value.yLabels[t],
|
|
538
|
-
xAxisName: Y.value.xLabels[n],
|
|
539
|
-
id: `vue-data-ui-heatmap-cell-${i()}`
|
|
540
|
-
} : {
|
|
541
|
-
side: "down",
|
|
542
|
-
ratio: Math.abs(1 - Math.abs(e) / Math.abs(J.value)) > 1 ? 1 : Math.abs(1 - Math.abs(e) / Math.abs(J.value)),
|
|
543
|
-
color: l(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, e),
|
|
544
|
-
value: e,
|
|
545
|
-
yAxisName: Y.value.yLabels[t],
|
|
546
|
-
xAxisName: Y.value.xLabels[n],
|
|
547
|
-
id: `vue-data-ui-heatmap-cell-${i()}`
|
|
548
|
-
})
|
|
549
|
-
})))), An = _(() => R.value.length), jn = Ae(Array(An.value * H.value || 1).fill(!1)), Mn = _(() => jn.some((e) => e));
|
|
550
|
-
function Nn(e, t) {
|
|
551
|
-
jn[e] = t;
|
|
552
|
-
}
|
|
553
|
-
let Pn = Ae(Array(An.value * H.value || 1).fill(!1)), Fn = _(() => Pn.some((e) => e));
|
|
554
|
-
function In(e, t) {
|
|
555
|
-
Pn[e] = t;
|
|
556
|
-
}
|
|
557
|
-
let Z = E(null), Ln = E(null);
|
|
558
|
-
function Rn() {
|
|
559
|
-
Mt.value = !1, Pt.value = void 0, Z.value = null, P.value = null, I.value = null, Qt.value = null;
|
|
560
|
-
}
|
|
561
|
-
function zn(e) {
|
|
562
|
-
if (!z.value || !e) return;
|
|
563
|
-
let t = z.value.querySelector(`[data-a11y-cell-id="${e}"]`);
|
|
564
|
-
if (!t) return;
|
|
565
|
-
let n = t.getBoundingClientRect();
|
|
566
|
-
$t.value = {
|
|
567
|
-
x: n.left + n.width / 2,
|
|
568
|
-
y: n.top + n.height / 2
|
|
569
|
-
};
|
|
570
|
-
}
|
|
571
|
-
function Bn(e, t, n, i, a = "pointer", o = null) {
|
|
572
|
-
if (L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
573
|
-
datapoint: e,
|
|
574
|
-
seriesIndex: t
|
|
575
|
-
}), !B.value.showTooltip) return;
|
|
576
|
-
en.value = a, I.value = o, Qt.value = e.id, P.value = {
|
|
577
|
-
x: n,
|
|
578
|
-
y: i
|
|
579
|
-
};
|
|
580
|
-
let { value: s, yAxisName: c, xAxisName: f, id: m } = e;
|
|
581
|
-
Pt.value = m, Z.value = s, Ln.value = {
|
|
582
|
-
datapoint: e,
|
|
583
|
-
seriesIndex: t,
|
|
584
|
-
series: X.value,
|
|
585
|
-
config: L.value
|
|
586
|
-
}, Mt.value = !0;
|
|
587
|
-
let ee = "", h = L.value.style.tooltip.customFormat;
|
|
588
|
-
p(h) && d(() => h({
|
|
589
|
-
datapoint: e,
|
|
590
|
-
seriesIndex: t,
|
|
591
|
-
series: X.value,
|
|
592
|
-
config: L.value
|
|
593
|
-
})) ? Nt.value = h({
|
|
594
|
-
datapoint: e,
|
|
595
|
-
seriesIndex: t,
|
|
596
|
-
series: X.value,
|
|
597
|
-
config: L.value
|
|
598
|
-
}) : (ee += `<div>${c} ${f ? c ? ` - ${f}` : `${f}` : ""}</div>`, ee += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${l(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, s)}">⬤</span><span>${isNaN(s) ? "-" : u(L.value.style.layout.cells.value.formatter, s, r({
|
|
599
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
600
|
-
v: s,
|
|
601
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
602
|
-
r: L.value.style.tooltip.roundingValue
|
|
603
|
-
}), {
|
|
604
|
-
datapoint: e,
|
|
605
|
-
seriesIndex: t
|
|
606
|
-
})}</span></div>`, Nt.value = `<div style="font-size:${L.value.style.tooltip.fontSize}px">${ee}</div>`), a === "keyboard" && Ee(() => {
|
|
607
|
-
zn(e.id);
|
|
608
|
-
});
|
|
609
|
-
}
|
|
610
|
-
function Vn({ datapoint: e, seriesIndex: t }) {
|
|
611
|
-
L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
612
|
-
datapoint: e,
|
|
613
|
-
seriesIndex: t
|
|
614
|
-
}), !(Qt.value === e.id && en.value === "keyboard") && (Mt.value = !1, Pt.value = void 0, Z.value = null, P.value = null);
|
|
615
|
-
}
|
|
616
|
-
function Hn(e) {
|
|
617
|
-
return u(L.value.style.layout.cells.value.formatter, Y.value.yTotals[e].total, r({
|
|
618
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
619
|
-
v: Y.value.yTotals[e].total,
|
|
620
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
621
|
-
r: L.value.style.layout.cells.value.roundingValue
|
|
622
|
-
}), {
|
|
623
|
-
datapoint: Y.value.yTotals[e],
|
|
624
|
-
rowIndex: e
|
|
625
|
-
});
|
|
626
|
-
}
|
|
627
|
-
function Un(e) {
|
|
628
|
-
return u(L.value.style.layout.cells.value.formatter, Y.value.xTotals[e].total, r({
|
|
629
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
630
|
-
v: Y.value.xTotals[e].total,
|
|
631
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
632
|
-
r: L.value.style.layout.cells.value.roundingValue
|
|
633
|
-
}), {
|
|
634
|
-
datapoint: Y.value.xTotals[e],
|
|
635
|
-
colIndex: e
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
_(() => ({
|
|
639
|
-
head: R.value.map((e) => ({ name: e.name })),
|
|
640
|
-
body: R.value.map((e) => e.values)
|
|
641
|
-
}));
|
|
642
|
-
function Wn(e = null) {
|
|
643
|
-
Ee(() => {
|
|
644
|
-
let t = ["", ...R.value.map((e, t) => e.name)], n = [];
|
|
645
|
-
for (let e = 0; e < Y.value.xLabels.length; e += 1) {
|
|
646
|
-
let t = [Y.value.xLabels[e]];
|
|
647
|
-
for (let n = 0; n < R.value.length; n += 1) t.push([R.value[n].values[e]]);
|
|
648
|
-
n.push(t);
|
|
649
|
-
}
|
|
650
|
-
let r = s([
|
|
651
|
-
[L.value.style.title.text],
|
|
652
|
-
[L.value.style.title.subtitle.text],
|
|
653
|
-
[
|
|
654
|
-
[""],
|
|
655
|
-
[""],
|
|
656
|
-
[""]
|
|
657
|
-
],
|
|
658
|
-
t
|
|
659
|
-
].concat(n));
|
|
660
|
-
e ? e(r) : o({
|
|
661
|
-
csvContent: r,
|
|
662
|
-
title: L.value.style.title.text || "vue-ui-heatmap"
|
|
663
|
-
});
|
|
664
|
-
});
|
|
665
|
-
}
|
|
666
|
-
let Q = E(!1);
|
|
667
|
-
function Gn(e) {
|
|
668
|
-
Q.value = e, Ft.value += 1;
|
|
669
|
-
}
|
|
670
|
-
function Kn() {
|
|
671
|
-
B.value.showTable = !B.value.showTable;
|
|
672
|
-
}
|
|
673
|
-
function qn() {
|
|
674
|
-
B.value.showTooltip = !B.value.showTooltip;
|
|
675
|
-
}
|
|
676
|
-
let Jn = E(!1);
|
|
677
|
-
function Yn() {
|
|
678
|
-
Jn.value = !Jn.value;
|
|
679
|
-
}
|
|
680
|
-
function Xn(e, t) {
|
|
681
|
-
L.value.events.datapointClick && L.value.events.datapointClick({
|
|
682
|
-
datapoint: e,
|
|
683
|
-
seriesIndex: t
|
|
684
|
-
}), kt("selectDatapoint", e);
|
|
685
|
-
}
|
|
686
|
-
function Zn() {
|
|
687
|
-
return X.value;
|
|
688
|
-
}
|
|
689
|
-
async function Qn({ scale: e = 2 } = {}) {
|
|
690
|
-
if (!N.value) return;
|
|
691
|
-
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ue({
|
|
692
|
-
domElement: N.value,
|
|
693
|
-
base64: !0,
|
|
694
|
-
img: !0,
|
|
695
|
-
scale: e
|
|
696
|
-
});
|
|
697
|
-
return {
|
|
698
|
-
imageUri: i,
|
|
699
|
-
base64: a,
|
|
700
|
-
title: L.value.style.title.text,
|
|
701
|
-
width: t,
|
|
702
|
-
height: n,
|
|
703
|
-
aspectRatio: r
|
|
704
|
-
};
|
|
705
|
-
}
|
|
706
|
-
let $n = _(() => ({
|
|
707
|
-
start: 0,
|
|
708
|
-
end: H.value
|
|
709
|
-
})), er = _(() => Y.value.xLabels);
|
|
710
|
-
le({
|
|
711
|
-
timeLabelsEls: Jt,
|
|
712
|
-
timeLabels: er,
|
|
713
|
-
slicer: $n,
|
|
714
|
-
configRef: L,
|
|
715
|
-
rotationPath: [
|
|
716
|
-
"style",
|
|
717
|
-
"layout",
|
|
718
|
-
"dataLabels",
|
|
719
|
-
"xAxis",
|
|
720
|
-
"rotation"
|
|
721
|
-
],
|
|
722
|
-
autoRotatePath: [
|
|
723
|
-
"style",
|
|
724
|
-
"layout",
|
|
725
|
-
"dataLabels",
|
|
726
|
-
"xAxis",
|
|
727
|
-
"autoRotate",
|
|
728
|
-
"enable"
|
|
729
|
-
],
|
|
730
|
-
isAutoSize: !1,
|
|
731
|
-
targetClass: ".vue-ui-heatmap-col-name",
|
|
732
|
-
rotation: L.value.style.layout.dataLabels.xAxis.autoRotate.angle,
|
|
733
|
-
width: xn,
|
|
734
|
-
height: Sn
|
|
735
|
-
}), le({
|
|
736
|
-
timeLabelsEls: Yt,
|
|
737
|
-
timeLabels: er,
|
|
738
|
-
slicer: $n,
|
|
739
|
-
configRef: L,
|
|
740
|
-
rotationPath: [
|
|
741
|
-
"style",
|
|
742
|
-
"layout",
|
|
743
|
-
"cells",
|
|
744
|
-
"columnTotal",
|
|
745
|
-
"value",
|
|
746
|
-
"rotation"
|
|
747
|
-
],
|
|
748
|
-
autoRotatePath: [
|
|
749
|
-
"style",
|
|
750
|
-
"layout",
|
|
751
|
-
"cells",
|
|
752
|
-
"columnTotal",
|
|
753
|
-
"value",
|
|
754
|
-
"autoRotate",
|
|
755
|
-
"enable"
|
|
756
|
-
],
|
|
757
|
-
isAutoSize: !1,
|
|
758
|
-
targetClass: ".vue-ui-heatmap-col-total",
|
|
759
|
-
rotation: L.value.style.layout.cells.columnTotal.value.autoRotate.angle,
|
|
760
|
-
width: xn,
|
|
761
|
-
height: Sn
|
|
762
|
-
});
|
|
763
|
-
let tr = _(() => {
|
|
764
|
-
let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
|
|
765
|
-
return {
|
|
766
|
-
component: e ? Tt : he,
|
|
767
|
-
title: `${L.value.style.title.text}${L.value.style.title.subtitle.text ? `: ${L.value.style.title.subtitle.text}` : ""}`,
|
|
768
|
-
props: e ? {
|
|
769
|
-
backgroundColor: L.value.table.th.backgroundColor,
|
|
770
|
-
color: L.value.table.th.color,
|
|
771
|
-
headerColor: L.value.table.th.color,
|
|
772
|
-
headerBg: L.value.table.th.backgroundColor,
|
|
773
|
-
isFullscreen: Q.value,
|
|
774
|
-
fullscreenParent: N.value,
|
|
775
|
-
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
776
|
-
isCursorPointer: nn.value
|
|
777
|
-
} : {
|
|
778
|
-
hideDetails: !0,
|
|
779
|
-
config: {
|
|
780
|
-
open: t,
|
|
781
|
-
maxHeight: 1e4,
|
|
782
|
-
body: {
|
|
783
|
-
backgroundColor: L.value.style.backgroundColor,
|
|
784
|
-
color: L.value.style.color
|
|
785
|
-
},
|
|
786
|
-
head: {
|
|
787
|
-
backgroundColor: L.value.style.backgroundColor,
|
|
788
|
-
color: L.value.style.color
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
});
|
|
794
|
-
Ie(() => B.value.showTable, async (e) => {
|
|
795
|
-
L.value.table.show || (e && L.value.table.useDialog && zt.value ? (await Ee(), zt.value.open()) : "close" in zt.value && zt.value.close());
|
|
796
|
-
});
|
|
797
|
-
let { isResponsive: nr } = ye(It, vn);
|
|
798
|
-
function rr() {
|
|
799
|
-
B.value.showTable = !1, Bt.value && Bt.value.setTableIconState(!1);
|
|
800
|
-
}
|
|
801
|
-
let ir = _(() => L.value.style.backgroundColor), { exportSvg: ar, getSvg: or } = oe({
|
|
802
|
-
svg: z,
|
|
803
|
-
title: _(() => L.value.style.title),
|
|
804
|
-
backgroundColor: ir
|
|
805
|
-
});
|
|
806
|
-
async function sr({ isCb: e }) {
|
|
807
|
-
Ht.value = !0, await Ee();
|
|
808
|
-
try {
|
|
809
|
-
if (e) {
|
|
810
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await or();
|
|
811
|
-
await Promise.resolve(L.value.userOptions.callbacks.svg({
|
|
812
|
-
blob: e,
|
|
813
|
-
url: t,
|
|
814
|
-
text: n,
|
|
815
|
-
dataUrl: r
|
|
816
|
-
}));
|
|
817
|
-
} else await Promise.resolve(ar());
|
|
818
|
-
} finally {
|
|
819
|
-
Ht.value = !1;
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
function cr(e) {
|
|
823
|
-
if (e?.stage === "start") {
|
|
824
|
-
Vt.value = !0;
|
|
825
|
-
return;
|
|
826
|
-
}
|
|
827
|
-
if (e?.stage === "end") {
|
|
828
|
-
Vt.value = !1;
|
|
829
|
-
return;
|
|
830
|
-
}
|
|
831
|
-
gn();
|
|
832
|
-
}
|
|
833
|
-
async function lr() {
|
|
834
|
-
if (kt("copyAlt", {
|
|
835
|
-
config: L.value,
|
|
836
|
-
dataset: X.value
|
|
837
|
-
}), !L.value.userOptions.callbacks.altCopy) {
|
|
838
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
839
|
-
return;
|
|
840
|
-
}
|
|
841
|
-
await Promise.resolve(L.value.userOptions.callbacks.altCopy({
|
|
842
|
-
config: L.value,
|
|
843
|
-
dataset: X.value
|
|
844
|
-
}));
|
|
845
|
-
}
|
|
846
|
-
function ur(e, t) {
|
|
847
|
-
let n = X.value[e];
|
|
848
|
-
if (!n) return null;
|
|
849
|
-
let r = n.temperatures[t];
|
|
850
|
-
return r ? {
|
|
851
|
-
cell: r,
|
|
852
|
-
rowIndex: e,
|
|
853
|
-
columnIndex: t
|
|
854
|
-
} : null;
|
|
855
|
-
}
|
|
856
|
-
function dr(e, t) {
|
|
857
|
-
let n = 0;
|
|
858
|
-
for (let t = 0; t < e; t += 1) n += X.value[t]?.temperatures?.length || 0;
|
|
859
|
-
return n + t;
|
|
860
|
-
}
|
|
861
|
-
function fr() {
|
|
862
|
-
I.value = null, Qt.value = null, tn.value = !0;
|
|
863
|
-
}
|
|
864
|
-
function pr() {
|
|
865
|
-
Rn(), tn.value = !1;
|
|
866
|
-
}
|
|
867
|
-
function mr(e) {
|
|
868
|
-
if (!z.value || Jn.value || document.activeElement !== z.value || !$.value.length) return;
|
|
869
|
-
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
870
|
-
if (!t && !n && !r && !i && !a && !o) return;
|
|
871
|
-
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
872
|
-
Rn();
|
|
873
|
-
return;
|
|
874
|
-
}
|
|
875
|
-
if (a) {
|
|
876
|
-
if (I.value === null) return;
|
|
877
|
-
let e = $.value[I.value];
|
|
878
|
-
if (!e) return;
|
|
879
|
-
Xn(e.cell, e.rowIndex);
|
|
880
|
-
return;
|
|
881
|
-
}
|
|
882
|
-
let s = I.value === null ? null : $.value[I.value];
|
|
883
|
-
if (!s) {
|
|
884
|
-
let e = Pt.value ? $.value.findIndex((e) => e.cell.id === Pt.value) : null;
|
|
885
|
-
if (e !== null && e >= 0 && e < $.value.length) {
|
|
886
|
-
let a = $.value[e];
|
|
887
|
-
if (!a) return;
|
|
888
|
-
let o = a.rowIndex, s = a.columnIndex;
|
|
889
|
-
n ? s += 1 : t ? --s : i ? o += 1 : r && --o;
|
|
890
|
-
let c = gr.value.rowCount;
|
|
891
|
-
if (c <= 0) return;
|
|
892
|
-
o < 0 && (o = c - 1), o >= c && (o = 0);
|
|
893
|
-
let l = X.value[o];
|
|
894
|
-
if (!l || !l.temperatures.length) return;
|
|
895
|
-
let u = l.temperatures.length;
|
|
896
|
-
s < 0 && (s = u - 1), s >= u && (s = 0);
|
|
897
|
-
let d = ur(o, s);
|
|
898
|
-
if (!d) return;
|
|
899
|
-
let f = dr(o, s), p = K.value.left + K.value.cellSize.width * d.columnIndex, m = K.value.top + K.value.cellSize.height * d.rowIndex;
|
|
900
|
-
Bn(d.cell, d.rowIndex, p, m, "keyboard", f);
|
|
901
|
-
return;
|
|
902
|
-
}
|
|
903
|
-
let a = $.value[0];
|
|
904
|
-
if (!a) return;
|
|
905
|
-
let o = K.value.left + K.value.cellSize.width * a.columnIndex, s = K.value.top + K.value.cellSize.height * a.rowIndex;
|
|
906
|
-
Bn(a.cell, a.rowIndex, o, s, "keyboard", 0);
|
|
907
|
-
return;
|
|
908
|
-
}
|
|
909
|
-
let c = s.rowIndex, l = s.columnIndex;
|
|
910
|
-
n ? l += 1 : t ? --l : i ? c += 1 : r && --c;
|
|
911
|
-
let u = gr.value.rowCount;
|
|
912
|
-
if (u <= 0) return;
|
|
913
|
-
c < 0 && (c = u - 1), c >= u && (c = 0);
|
|
914
|
-
let d = X.value[c];
|
|
915
|
-
if (!d || !d.temperatures.length) return;
|
|
916
|
-
let f = d.temperatures.length;
|
|
917
|
-
l < 0 && (l = f - 1), l >= f && (l = 0);
|
|
918
|
-
let p = ur(c, l);
|
|
919
|
-
if (!p) return;
|
|
920
|
-
let m = dr(c, l), ee = K.value.left + K.value.cellSize.width * p.columnIndex, h = K.value.top + K.value.cellSize.height * p.rowIndex;
|
|
921
|
-
Bn(p.cell, p.rowIndex, ee, h, "keyboard", m);
|
|
922
|
-
}
|
|
923
|
-
let hr = _(() => ({
|
|
924
|
-
headers: [L.value.table.colNames.xAxis, ...R.value.map((e) => e.name)],
|
|
925
|
-
rows: Y.value.xLabels.map((e, t) => [e, ...R.value.map((e) => {
|
|
926
|
-
let n = e.values?.[t];
|
|
927
|
-
return isNaN(n) ? "-" : r({
|
|
928
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
929
|
-
v: n,
|
|
930
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
931
|
-
r: L.value.table.td.roundingValue
|
|
932
|
-
});
|
|
933
|
-
})])
|
|
934
|
-
})), gr = _(() => ({
|
|
935
|
-
rowCount: X.value.length,
|
|
936
|
-
columnCount: Math.max(0, ...X.value.map((e) => e.temperatures.length))
|
|
937
|
-
})), $ = _(() => X.value.flatMap((e, t) => e.temperatures.map((e, n) => ({
|
|
938
|
-
cell: e,
|
|
939
|
-
rowIndex: t,
|
|
940
|
-
columnIndex: n
|
|
941
|
-
}))));
|
|
942
|
-
return fe({
|
|
943
|
-
getData: Zn,
|
|
944
|
-
getImage: Qn,
|
|
945
|
-
generatePdf: hn,
|
|
946
|
-
generateCsv: Wn,
|
|
947
|
-
generateImage: gn,
|
|
948
|
-
generateSvg: sr,
|
|
949
|
-
toggleTable: Kn,
|
|
950
|
-
toggleTooltip: qn,
|
|
951
|
-
toggleAnnotator: Yn,
|
|
952
|
-
toggleFullscreen: Gn,
|
|
953
|
-
copyAlt: lr
|
|
954
|
-
}), (t, n) => (T(), y("div", {
|
|
955
|
-
ref_key: "heatmapChart",
|
|
956
|
-
ref: N,
|
|
957
|
-
class: De(`vue-data-ui-component vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
958
|
-
style: w(`font-family:${L.value.style.fontFamily};width:100%;${L.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.style.backgroundColor}`),
|
|
959
|
-
id: `heatmap__${jt.value}`,
|
|
960
|
-
onMouseenter: n[1] ||= () => dn(!0),
|
|
961
|
-
onMouseleave: n[2] ||= () => {
|
|
962
|
-
dn(!1), tn.value || Rn();
|
|
963
|
-
}
|
|
964
|
-
}, [
|
|
965
|
-
b("div", {
|
|
966
|
-
id: `chart-instructions-${jt.value}`,
|
|
967
|
-
class: "sr-only"
|
|
968
|
-
}, [b("p", null, k(L.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
|
|
969
|
-
hr.value?.rows?.length ? (T(), xe(ge, {
|
|
970
|
-
key: 0,
|
|
971
|
-
uid: jt.value,
|
|
972
|
-
head: hr.value.headers,
|
|
973
|
-
body: hr.value.rows,
|
|
974
|
-
notice: L.value.a11y.translations.tableAvailable,
|
|
975
|
-
caption: L.value.a11y.translations.tableCaption
|
|
976
|
-
}, null, 8, [
|
|
977
|
-
"uid",
|
|
978
|
-
"head",
|
|
979
|
-
"body",
|
|
980
|
-
"notice",
|
|
981
|
-
"caption"
|
|
982
|
-
])) : v("", !0),
|
|
983
|
-
L.value.userOptions.buttons.annotator ? (T(), xe(A(St), {
|
|
984
|
-
key: 1,
|
|
985
|
-
svgRef: A(z),
|
|
986
|
-
backgroundColor: L.value.style.backgroundColor,
|
|
987
|
-
color: L.value.style.color,
|
|
988
|
-
active: Jn.value,
|
|
989
|
-
isCursorPointer: nn.value,
|
|
990
|
-
onClose: Yn
|
|
991
|
-
}, {
|
|
992
|
-
"annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
993
|
-
"annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
|
|
994
|
-
"annotator-action-draw": j(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
|
|
995
|
-
"annotator-action-undo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
|
|
996
|
-
"annotator-action-redo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
|
|
997
|
-
"annotator-action-delete": j(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
|
|
998
|
-
_: 3
|
|
999
|
-
}, 8, [
|
|
1000
|
-
"svgRef",
|
|
1001
|
-
"backgroundColor",
|
|
1002
|
-
"color",
|
|
1003
|
-
"active",
|
|
1004
|
-
"isCursorPointer"
|
|
1005
|
-
])) : v("", !0),
|
|
1006
|
-
_n.value ? (T(), y("div", {
|
|
1007
|
-
key: 2,
|
|
1008
|
-
ref_key: "noTitle",
|
|
1009
|
-
ref: Wt,
|
|
1010
|
-
class: "vue-data-ui-no-title-space",
|
|
1011
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
1012
|
-
}, null, 512)) : v("", !0),
|
|
1013
|
-
L.value.style.title.text ? (T(), y("div", {
|
|
1014
|
-
key: 3,
|
|
1015
|
-
ref_key: "chartTitle",
|
|
1016
|
-
ref: Ut,
|
|
1017
|
-
style: "width:100%;background:transparent"
|
|
1018
|
-
}, [(T(), xe(de, {
|
|
1019
|
-
key: `title_${Lt.value}`,
|
|
1020
|
-
config: {
|
|
1021
|
-
title: {
|
|
1022
|
-
cy: "heatmap-div-title",
|
|
1023
|
-
...L.value.style.title
|
|
1024
|
-
},
|
|
1025
|
-
subtitle: {
|
|
1026
|
-
cy: "heatmap-div-subtitle",
|
|
1027
|
-
...L.value.style.title.subtitle
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
}, null, 8, ["config"]))], 512)) : v("", !0),
|
|
1031
|
-
L.value.userOptions.show && At.value && (A(un) || A(cn)) ? (T(), xe(A(Ct), {
|
|
1032
|
-
ref_key: "userOptionsRef",
|
|
1033
|
-
ref: Bt,
|
|
1034
|
-
key: `user_options_${Ft.value}`,
|
|
1035
|
-
backgroundColor: L.value.style.backgroundColor,
|
|
1036
|
-
color: L.value.style.color,
|
|
1037
|
-
isImaging: A(mn),
|
|
1038
|
-
isPrinting: A(pn),
|
|
1039
|
-
uid: jt.value,
|
|
1040
|
-
hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.tooltip.show,
|
|
1041
|
-
hasPdf: L.value.userOptions.buttons.pdf,
|
|
1042
|
-
hasImg: L.value.userOptions.buttons.img,
|
|
1043
|
-
hasSvg: L.value.userOptions.buttons.svg,
|
|
1044
|
-
hasXls: L.value.userOptions.buttons.csv,
|
|
1045
|
-
hasTable: L.value.userOptions.buttons.table,
|
|
1046
|
-
hasFullscreen: L.value.userOptions.buttons.fullscreen,
|
|
1047
|
-
hasAltCopy: L.value.userOptions.buttons.altCopy,
|
|
1048
|
-
isFullscreen: Q.value,
|
|
1049
|
-
isTooltip: B.value.showTooltip,
|
|
1050
|
-
titles: { ...L.value.userOptions.buttonTitles },
|
|
1051
|
-
chartElement: N.value,
|
|
1052
|
-
position: L.value.userOptions.position,
|
|
1053
|
-
hasAnnotator: L.value.userOptions.buttons.annotator,
|
|
1054
|
-
isAnnotation: Jn.value,
|
|
1055
|
-
callbacks: L.value.userOptions.callbacks,
|
|
1056
|
-
printScale: L.value.userOptions.print.scale,
|
|
1057
|
-
tableDialog: L.value.table.useDialog,
|
|
1058
|
-
isCursorPointer: nn.value,
|
|
1059
|
-
onToggleFullscreen: Gn,
|
|
1060
|
-
onGeneratePdf: A(hn),
|
|
1061
|
-
onGenerateCsv: Wn,
|
|
1062
|
-
onGenerateImage: cr,
|
|
1063
|
-
onGenerateSvg: sr,
|
|
1064
|
-
onToggleTable: Kn,
|
|
1065
|
-
onToggleTooltip: qn,
|
|
1066
|
-
onToggleAnnotator: Yn,
|
|
1067
|
-
onCopyAlt: lr,
|
|
1068
|
-
style: w({ visibility: A(un) ? A(cn) ? "visible" : "hidden" : "visible" })
|
|
1069
|
-
}, Se({ _: 2 }, [
|
|
1070
|
-
t.$slots.menuIcon ? {
|
|
1071
|
-
name: "menuIcon",
|
|
1072
|
-
fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
|
|
1073
|
-
isOpen: e,
|
|
1074
|
-
color: n
|
|
1075
|
-
})), void 0, !0)]),
|
|
1076
|
-
key: "0"
|
|
1077
|
-
} : void 0,
|
|
1078
|
-
t.$slots.optionTooltip ? {
|
|
1079
|
-
name: "optionTooltip",
|
|
1080
|
-
fn: j(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1081
|
-
key: "1"
|
|
1082
|
-
} : void 0,
|
|
1083
|
-
t.$slots.optionPdf ? {
|
|
1084
|
-
name: "optionPdf",
|
|
1085
|
-
fn: j(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1086
|
-
key: "2"
|
|
1087
|
-
} : void 0,
|
|
1088
|
-
t.$slots.optionCsv ? {
|
|
1089
|
-
name: "optionCsv",
|
|
1090
|
-
fn: j(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1091
|
-
key: "3"
|
|
1092
|
-
} : void 0,
|
|
1093
|
-
t.$slots.optionImg ? {
|
|
1094
|
-
name: "optionImg",
|
|
1095
|
-
fn: j(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
|
|
1096
|
-
key: "4"
|
|
1097
|
-
} : void 0,
|
|
1098
|
-
t.$slots.optionSvg ? {
|
|
1099
|
-
name: "optionSvg",
|
|
1100
|
-
fn: j(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1101
|
-
key: "5"
|
|
1102
|
-
} : void 0,
|
|
1103
|
-
t.$slots.optionTable ? {
|
|
1104
|
-
name: "optionTable",
|
|
1105
|
-
fn: j(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
|
|
1106
|
-
key: "6"
|
|
1107
|
-
} : void 0,
|
|
1108
|
-
t.$slots.optionFullscreen ? {
|
|
1109
|
-
name: "optionFullscreen",
|
|
1110
|
-
fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
|
|
1111
|
-
toggleFullscreen: e,
|
|
1112
|
-
isFullscreen: n
|
|
1113
|
-
})), void 0, !0)]),
|
|
1114
|
-
key: "7"
|
|
1115
|
-
} : void 0,
|
|
1116
|
-
t.$slots.optionAnnotator ? {
|
|
1117
|
-
name: "optionAnnotator",
|
|
1118
|
-
fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
|
|
1119
|
-
toggleAnnotator: e,
|
|
1120
|
-
isAnnotator: n
|
|
1121
|
-
})), void 0, !0)]),
|
|
1122
|
-
key: "8"
|
|
1123
|
-
} : void 0,
|
|
1124
|
-
t.$slots.optionAltCopy ? {
|
|
1125
|
-
name: "optionAltCopy",
|
|
1126
|
-
fn: j(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
|
|
1127
|
-
key: "9"
|
|
1128
|
-
} : void 0,
|
|
1129
|
-
t.$slots["custom-menu-before"] ? {
|
|
1130
|
-
name: "custom-menu-before",
|
|
1131
|
-
fn: j(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1132
|
-
key: "10"
|
|
1133
|
-
} : void 0,
|
|
1134
|
-
t.$slots["custom-menu-after"] ? {
|
|
1135
|
-
name: "custom-menu-after",
|
|
1136
|
-
fn: j(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1137
|
-
key: "11"
|
|
1138
|
-
} : void 0
|
|
1139
|
-
]), 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("."))) : v("", !0),
|
|
1140
|
-
b("div", { class: De({
|
|
1141
|
-
"vue-ui-heatmap-chart-wrapper": !0,
|
|
1142
|
-
"vue-ui-heatmap-chart-wrapper-legend-right": L.value.style.legend.show
|
|
1143
|
-
}) }, [
|
|
1144
|
-
(T(), y("svg", {
|
|
1145
|
-
ref_key: "svgRef",
|
|
1146
|
-
ref: z,
|
|
1147
|
-
xmlns: A(ee),
|
|
1148
|
-
"aria-describedby": `chart-instructions-${jt.value}`,
|
|
1149
|
-
class: De({
|
|
1150
|
-
"vue-data-ui-fullscreen--on": Q.value,
|
|
1151
|
-
"vue-data-ui-fulscreen--off": !Q.value
|
|
1152
|
-
}),
|
|
1153
|
-
viewBox: `0 0 ${U.value.width} ${U.value.height}`,
|
|
1154
|
-
width: "100%",
|
|
1155
|
-
style: w(`overflow: visible; background:transparent;color:${L.value.style.color}`),
|
|
1156
|
-
"aria-live": "polite",
|
|
1157
|
-
role: "img",
|
|
1158
|
-
preserveAspectRatio: "xMidYMid",
|
|
1159
|
-
tabindex: "0",
|
|
1160
|
-
onFocus: fr,
|
|
1161
|
-
onBlur: pr,
|
|
1162
|
-
onKeydown: mr
|
|
1163
|
-
}, [
|
|
1164
|
-
we(A(wt)),
|
|
1165
|
-
t.$slots["chart-background"] ? (T(), y("foreignObject", {
|
|
1166
|
-
key: 0,
|
|
1167
|
-
x: K.value.left,
|
|
1168
|
-
y: K.value.top,
|
|
1169
|
-
width: K.value.width,
|
|
1170
|
-
height: K.value.height,
|
|
1171
|
-
style: { pointerEvents: "none" }
|
|
1172
|
-
}, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : v("", !0),
|
|
1173
|
-
L.value.style.layout.cells.columnTotal.color.show ? (T(), y("g", {
|
|
1174
|
-
key: 1,
|
|
1175
|
-
ref_key: "xAxisSumRects",
|
|
1176
|
-
ref: Xt
|
|
1177
|
-
}, [(T(!0), y(g, null, D(Y.value.xTotals, (e, t) => (T(), y("rect", {
|
|
1178
|
-
x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
|
|
1179
|
-
y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
|
|
1180
|
-
height: K.value.sumCellXHeight,
|
|
1181
|
-
width: K.value.cellSize.width - G.value,
|
|
1182
|
-
fill: L.value.style.layout.cells.colors.underlayer,
|
|
1183
|
-
stroke: L.value.style.backgroundColor,
|
|
1184
|
-
"stroke-width": G.value
|
|
1185
|
-
}, null, 8, Je))), 256)), (T(!0), y(g, null, D(Y.value.xTotals, (e, t) => (T(), y("rect", {
|
|
1186
|
-
x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
|
|
1187
|
-
y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
|
|
1188
|
-
height: K.value.sumCellXHeight,
|
|
1189
|
-
width: K.value.cellSize.width - G.value,
|
|
1190
|
-
fill: e.color,
|
|
1191
|
-
stroke: L.value.style.backgroundColor,
|
|
1192
|
-
"stroke-width": G.value
|
|
1193
|
-
}, null, 8, Ye))), 256))], 512)) : v("", !0),
|
|
1194
|
-
b("g", {
|
|
1195
|
-
ref_key: "datapoints",
|
|
1196
|
-
ref: Rt
|
|
1197
|
-
}, [(T(!0), y(g, null, D(X.value, (e, t) => (T(), y(g, null, [(T(!0), y(g, null, D(e.temperatures, (e, n) => (T(), y("g", null, [
|
|
1198
|
-
b("rect", {
|
|
1199
|
-
x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
|
|
1200
|
-
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
1201
|
-
width: K.value.cellSize.width - G.value,
|
|
1202
|
-
height: K.value.cellSize.height - G.value,
|
|
1203
|
-
fill: L.value.style.layout.cells.colors.underlayer,
|
|
1204
|
-
stroke: L.value.style.backgroundColor,
|
|
1205
|
-
"stroke-width": G.value
|
|
1206
|
-
}, null, 8, Xe),
|
|
1207
|
-
b("rect", {
|
|
1208
|
-
"data-a11y-cell-id": e.id,
|
|
1209
|
-
x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
|
|
1210
|
-
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
1211
|
-
width: K.value.cellSize.width - G.value,
|
|
1212
|
-
height: K.value.cellSize.height - G.value,
|
|
1213
|
-
fill: e.color,
|
|
1214
|
-
stroke: L.value.style.backgroundColor,
|
|
1215
|
-
"stroke-width": G.value,
|
|
1216
|
-
"aria-label": `${e.yAxisName}${e.xAxisName ? ` - ${e.xAxisName}` : ""}: ${isNaN(e.value) ? "-" : e.value}`,
|
|
1217
|
-
onMouseover: (r) => Bn(e, t, K.value.left + K.value.cellSize.width * n, K.value.top + K.value.cellSize.height * t, "pointer", dr(t, n)),
|
|
1218
|
-
onMouseout: () => Vn({
|
|
1219
|
-
datapoint: e,
|
|
1220
|
-
seriesIndex: t
|
|
1221
|
-
}),
|
|
1222
|
-
onClick: () => Xn(e, t)
|
|
1223
|
-
}, null, 40, Ze),
|
|
1224
|
-
L.value.style.layout.cells.value.show ? Re((T(), y("text", {
|
|
1225
|
-
key: 0,
|
|
1226
|
-
"text-anchor": "middle",
|
|
1227
|
-
"font-size": L.value.style.layout.cells.value.fontSize,
|
|
1228
|
-
"font-weight": L.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
1229
|
-
fill: A(m)(e.color),
|
|
1230
|
-
x: K.value.left + K.value.cellSize.width * n + K.value.cellSize.width / 2 + K.value.sumCellXHeight,
|
|
1231
|
-
y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + L.value.style.layout.cells.value.fontSize / 3,
|
|
1232
|
-
style: {
|
|
1233
|
-
pointerEvents: "none",
|
|
1234
|
-
userSelect: "none"
|
|
1235
|
-
}
|
|
1236
|
-
}, [Ce(k(A(u)(L.value.style.layout.cells.value.formatter, e.value, A(r)({
|
|
1237
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
1238
|
-
v: e.value,
|
|
1239
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
1240
|
-
r: L.value.style.layout.cells.value.roundingValue
|
|
1241
|
-
}), { datapoint: e })), 1)], 8, Qe)), [[A(Ve), {
|
|
1242
|
-
cellWidth: K.value.cellSize.width - G.value,
|
|
1243
|
-
cellHeight: K.value.cellSize.height - G.value,
|
|
1244
|
-
maxFontSize: L.value.style.layout.cells.value.fontSize,
|
|
1245
|
-
minFontSize: 10,
|
|
1246
|
-
index: t * H.value + n,
|
|
1247
|
-
reportHide: In,
|
|
1248
|
-
reportRotation: Nn,
|
|
1249
|
-
hideAll: Fn.value,
|
|
1250
|
-
rotateAll: Mn.value
|
|
1251
|
-
}]]) : v("", !0)
|
|
1252
|
-
]))), 256))], 64))), 256))], 512),
|
|
1253
|
-
L.value.style.layout.cells.rowTotal.color.show ? (T(), y("g", {
|
|
1254
|
-
key: 2,
|
|
1255
|
-
ref_key: "yAxisSumRects",
|
|
1256
|
-
ref: qt
|
|
1257
|
-
}, [(T(!0), y(g, null, D(X.value, (e, t) => (T(), y(g, null, [b("rect", {
|
|
1258
|
-
x: K.value.left,
|
|
1259
|
-
y: K.value.top + K.value.cellSize.height * t,
|
|
1260
|
-
width: K.value.sumCellXHeight,
|
|
1261
|
-
height: K.value.cellSize.height - G.value,
|
|
1262
|
-
fill: L.value.style.layout.cells.colors.underlayer,
|
|
1263
|
-
stroke: L.value.style.backgroundColor,
|
|
1264
|
-
"stroke-width": G.value
|
|
1265
|
-
}, null, 8, $e), b("rect", {
|
|
1266
|
-
x: K.value.left,
|
|
1267
|
-
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
1268
|
-
width: K.value.sumCellXHeight,
|
|
1269
|
-
height: K.value.cellSize.height - G.value,
|
|
1270
|
-
fill: Y.value.yTotals[t].color,
|
|
1271
|
-
stroke: L.value.style.backgroundColor,
|
|
1272
|
-
"stroke-width": G.value
|
|
1273
|
-
}, null, 8, et)], 64))), 256))], 512)) : v("", !0),
|
|
1274
|
-
L.value.style.layout.dataLabels.yAxis.show ? (T(), y("g", {
|
|
1275
|
-
key: 3,
|
|
1276
|
-
ref_key: "yAxisLabels",
|
|
1277
|
-
ref: Kt
|
|
1278
|
-
}, [(T(!0), y(g, null, D(X.value, (e, t) => (T(), y(g, null, [b("text", {
|
|
1279
|
-
class: "vue-ui-heatmap-row-name",
|
|
1280
|
-
"font-size": L.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1281
|
-
fill: L.value.style.layout.dataLabels.yAxis.color,
|
|
1282
|
-
x: W.value,
|
|
1283
|
-
y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + L.value.style.layout.dataLabels.yAxis.fontSize / 3 + L.value.style.layout.dataLabels.yAxis.offsetY - (L.value.style.layout.cells.rowTotal.value.show ? L.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
1284
|
-
"text-anchor": "end",
|
|
1285
|
-
"font-weight": L.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1286
|
-
}, k(Y.value.yLabels[t]), 9, tt), L.value.style.layout.cells.rowTotal.value.show ? (T(), y("text", {
|
|
1287
|
-
key: 0,
|
|
1288
|
-
class: "vue-ui-heatmap-row-total",
|
|
1289
|
-
"font-size": L.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1290
|
-
fill: L.value.style.layout.dataLabels.yAxis.color,
|
|
1291
|
-
x: W.value,
|
|
1292
|
-
y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + L.value.style.layout.dataLabels.yAxis.fontSize + L.value.style.layout.dataLabels.yAxis.offsetY,
|
|
1293
|
-
"text-anchor": "end",
|
|
1294
|
-
"font-weight": L.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1295
|
-
}, k(Hn(t)), 9, nt)) : v("", !0)], 64))), 256))], 512)) : v("", !0),
|
|
1296
|
-
L.value.style.layout.dataLabels.xAxis.show ? (T(), y("g", {
|
|
1297
|
-
key: 4,
|
|
1298
|
-
ref_key: "xAxisLabels",
|
|
1299
|
-
ref: Jt
|
|
1300
|
-
}, [(T(!0), y(g, null, D(Y.value.xLabels, (e, t) => (T(), y(g, null, [!L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && t % L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (T(), y("text", {
|
|
1301
|
-
key: 0,
|
|
1302
|
-
class: "vue-ui-heatmap-col-name",
|
|
1303
|
-
"text-anchor": L.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : L.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
1304
|
-
"font-size": L.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1305
|
-
fill: L.value.style.layout.dataLabels.xAxis.color,
|
|
1306
|
-
"font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1307
|
-
transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + L.value.style.layout.dataLabels.xAxis.offsetX + K.value.sumCellXHeight}, ${K.value.topLabelsHeight}), rotate(${L.value.style.layout.dataLabels.xAxis.rotation})`
|
|
1308
|
-
}, k(e), 9, rt)) : v("", !0)], 64))), 256))], 512)) : v("", !0),
|
|
1309
|
-
L.value.style.layout.cells.columnTotal.value.show ? (T(), y("g", {
|
|
1310
|
-
key: 5,
|
|
1311
|
-
ref_key: "xAxisSums",
|
|
1312
|
-
ref: Yt
|
|
1313
|
-
}, [(T(!0), y(g, null, D(Y.value.xLabels, (e, t) => (T(), y("text", {
|
|
1314
|
-
class: "vue-ui-heatmap-col-total",
|
|
1315
|
-
"text-anchor": L.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : L.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
1316
|
-
"font-size": L.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1317
|
-
fill: L.value.style.layout.dataLabels.xAxis.color,
|
|
1318
|
-
"font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1319
|
-
transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + L.value.style.layout.dataLabels.xAxis.offsetX + L.value.style.layout.cells.columnTotal.value.offsetX + K.value.sumCellXHeight}, ${K.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${L.value.style.layout.cells.columnTotal.value.rotation})`
|
|
1320
|
-
}, k(Un(t)), 9, it))), 256))], 512)) : v("", !0),
|
|
1321
|
-
P.value ? (T(), y("g", at, [b("rect", {
|
|
1322
|
-
style: { "pointer-events": "none" },
|
|
1323
|
-
x: P.value.x - L.value.style.layout.cells.selected.border / 2 + G.value + K.value.sumCellXHeight,
|
|
1324
|
-
y: P.value.y - L.value.style.layout.cells.selected.border / 2 + G.value,
|
|
1325
|
-
width: K.value.cellSize.width - G.value + L.value.style.layout.cells.selected.border - G.value,
|
|
1326
|
-
height: K.value.cellSize.height - G.value + L.value.style.layout.cells.selected.border - G.value,
|
|
1327
|
-
fill: "transparent",
|
|
1328
|
-
stroke: L.value.style.layout.cells.selected.color,
|
|
1329
|
-
"stroke-width": L.value.style.layout.cells.selected.border,
|
|
1330
|
-
rx: 1
|
|
1331
|
-
}, null, 8, ot)])) : v("", !0),
|
|
1332
|
-
L.value.style.layout.crosshairs.show && P.value ? (T(), y("g", st, [b("line", {
|
|
1333
|
-
x1: K.value.left + K.value.sumCellXHeight,
|
|
1334
|
-
x2: P.value.x + K.value.sumCellXHeight,
|
|
1335
|
-
y1: P.value.y + (K.value.cellSize.height - G.value) / 2,
|
|
1336
|
-
y2: P.value.y + (K.value.cellSize.height - G.value) / 2,
|
|
1337
|
-
stroke: L.value.style.layout.crosshairs.stroke,
|
|
1338
|
-
"stroke-width": L.value.style.layout.crosshairs.strokeWidth,
|
|
1339
|
-
"stroke-dasharray": L.value.style.layout.crosshairs.strokeDasharray,
|
|
1340
|
-
"stroke-linecap": "round"
|
|
1341
|
-
}, null, 8, ct), b("line", {
|
|
1342
|
-
x1: P.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
|
|
1343
|
-
x2: P.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
|
|
1344
|
-
y1: P.value.y,
|
|
1345
|
-
y2: K.value.top,
|
|
1346
|
-
stroke: L.value.style.layout.crosshairs.stroke,
|
|
1347
|
-
"stroke-width": L.value.style.layout.crosshairs.strokeWidth,
|
|
1348
|
-
"stroke-dasharray": L.value.style.layout.crosshairs.strokeDasharray,
|
|
1349
|
-
"stroke-linecap": "round"
|
|
1350
|
-
}, null, 8, lt)])) : v("", !0),
|
|
1351
|
-
O(t.$slots, "svg", { svg: {
|
|
1352
|
-
...U.value,
|
|
1353
|
-
drawingArea: K.value,
|
|
1354
|
-
isPrintingImg: A(pn) || A(mn) || Vt.value,
|
|
1355
|
-
isPrintingSvg: Ht.value
|
|
1356
|
-
} }, void 0, !0)
|
|
1357
|
-
], 46, Ke)),
|
|
1358
|
-
L.value.style.legend.show ? (T(), y("div", {
|
|
1359
|
-
key: 0,
|
|
1360
|
-
ref_key: "legendRight",
|
|
1361
|
-
ref: Gt,
|
|
1362
|
-
class: "vue-ui-heatmap-legend-right",
|
|
1363
|
-
style: w({ "--legend-width": L.value.style.legend.width + "px" })
|
|
1364
|
-
}, [
|
|
1365
|
-
A(on) ? v("", !0) : (T(), y("div", {
|
|
1366
|
-
key: 0,
|
|
1367
|
-
class: "vue-ui-heatmap-legend-label-max",
|
|
1368
|
-
style: w({
|
|
1369
|
-
fontSize: L.value.style.legend.fontSize + "px",
|
|
1370
|
-
color: L.value.style.legend.color
|
|
1371
|
-
})
|
|
1372
|
-
}, k(A(u)(L.value.style.layout.cells.value.formatter, A(h)(q.value), A(r)({
|
|
1373
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
1374
|
-
v: A(h)(q.value),
|
|
1375
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
1376
|
-
r: L.value.style.legend.roundingValue
|
|
1377
|
-
}))), 5)),
|
|
1378
|
-
b("div", ut, [b("div", {
|
|
1379
|
-
class: "vue-ui-heatmap-gauge",
|
|
1380
|
-
style: w({ background: `linear-gradient(to bottom, ${L.value.style.layout.cells.colors.hot}, ${L.value.style.layout.cells.colors.cold})` })
|
|
1381
|
-
}, [Re(b("div", {
|
|
1382
|
-
class: "vue-ui-heatmap-gauge-indicator",
|
|
1383
|
-
"data-value": A(u)(L.value.style.layout.cells.value.formatter, A(h)(Z.value), A(r)({
|
|
1384
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
1385
|
-
v: A(h)(Z.value),
|
|
1386
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
1387
|
-
r: L.value.style.legend.roundingValue
|
|
1388
|
-
})),
|
|
1389
|
-
style: w({
|
|
1390
|
-
position: "absolute",
|
|
1391
|
-
width: "100%",
|
|
1392
|
-
height: "2px",
|
|
1393
|
-
background: [void 0, null].includes(Z.value) ? "transparent" : A(m)(Ln.value.datapoint.color),
|
|
1394
|
-
top: `${[void 0, null].includes(Z.value) ? 0 : (1 - Z.value / q.value) * 100}%`,
|
|
1395
|
-
transition: "all 0.2s ease-in-out",
|
|
1396
|
-
"--background-color": L.value.style.backgroundColor,
|
|
1397
|
-
"--gauge-arrow-color": A(m)(L.value.style.backgroundColor),
|
|
1398
|
-
"--gauge-arrow-text-color": A(m)(L.value.style.backgroundColor),
|
|
1399
|
-
"--gauge-arrow-value": Z.value,
|
|
1400
|
-
"--gauge-arrow-font-size": L.value.style.legend.fontSize + "px"
|
|
1401
|
-
})
|
|
1402
|
-
}, [b("div", ft, k(A(u)(L.value.style.layout.cells.value.formatter, A(h)(Z.value), A(r)({
|
|
1403
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
1404
|
-
v: A(h)(Z.value),
|
|
1405
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
1406
|
-
r: L.value.style.legend.roundingValue
|
|
1407
|
-
}))), 1)], 12, dt), [[Fe, ![void 0, null].includes(Z.value)]])], 4)]),
|
|
1408
|
-
A(on) ? v("", !0) : (T(), y("div", {
|
|
1409
|
-
key: 1,
|
|
1410
|
-
class: "vue-ui-heatmap-legend-label-min",
|
|
1411
|
-
style: w({
|
|
1412
|
-
fontSize: L.value.style.legend.fontSize + "px",
|
|
1413
|
-
color: L.value.style.legend.color
|
|
1414
|
-
})
|
|
1415
|
-
}, k(A(u)(L.value.style.layout.cells.value.formatter, A(h)(Tn.value), A(r)({
|
|
1416
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
1417
|
-
v: A(h)(Tn.value),
|
|
1418
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
1419
|
-
r: L.value.style.legend.roundingValue
|
|
1420
|
-
}))), 5))
|
|
1421
|
-
], 4)) : v("", !0),
|
|
1422
|
-
t.$slots.hint ? (T(), y("div", pt, [O(t.$slots, "hint", C(S({
|
|
1423
|
-
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1424
|
-
isVisible: tn.value
|
|
1425
|
-
})), void 0, !0)])) : v("", !0)
|
|
1426
|
-
], 2),
|
|
1427
|
-
t.$slots.watermark ? (T(), y("div", mt, [O(t.$slots, "watermark", C(S({ isPrinting: A(pn) || A(mn) || Vt.value || Ht.value })), void 0, !0)])) : v("", !0),
|
|
1428
|
-
t.$slots.source ? (T(), y("div", {
|
|
1429
|
-
key: 6,
|
|
1430
|
-
ref_key: "source",
|
|
1431
|
-
ref: Zt,
|
|
1432
|
-
dir: "auto"
|
|
1433
|
-
}, [O(t.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
|
|
1434
|
-
we(A(Ue), {
|
|
1435
|
-
teleportTo: L.value.style.tooltip.teleportTo,
|
|
1436
|
-
show: B.value.showTooltip && Mt.value,
|
|
1437
|
-
backgroundColor: L.value.style.tooltip.backgroundColor,
|
|
1438
|
-
color: L.value.style.tooltip.color,
|
|
1439
|
-
borderRadius: L.value.style.tooltip.borderRadius,
|
|
1440
|
-
borderColor: L.value.style.tooltip.borderColor,
|
|
1441
|
-
borderWidth: L.value.style.tooltip.borderWidth,
|
|
1442
|
-
fontSize: L.value.style.tooltip.fontSize,
|
|
1443
|
-
backgroundOpacity: L.value.style.tooltip.backgroundOpacity,
|
|
1444
|
-
position: L.value.style.tooltip.position,
|
|
1445
|
-
offsetX: L.value.style.tooltip.offsetX,
|
|
1446
|
-
offsetY: L.value.style.tooltip.offsetY,
|
|
1447
|
-
parent: N.value,
|
|
1448
|
-
content: Nt.value,
|
|
1449
|
-
isFullscreen: Q.value,
|
|
1450
|
-
isCustom: L.value.style.tooltip.customFormat && typeof L.value.style.tooltip.customFormat == "function",
|
|
1451
|
-
smooth: L.value.style.tooltip.smooth,
|
|
1452
|
-
backdropFilter: L.value.style.tooltip.backdropFilter,
|
|
1453
|
-
smoothForce: L.value.style.tooltip.smoothForce,
|
|
1454
|
-
smoothSnapThreshold: L.value.style.tooltip.smoothSnapThreshold,
|
|
1455
|
-
isA11yMode: en.value === "keyboard",
|
|
1456
|
-
a11yPosition: $t.value
|
|
1457
|
-
}, {
|
|
1458
|
-
"tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...Ln.value })), void 0, !0)]),
|
|
1459
|
-
tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...Ln.value })), void 0, !0)]),
|
|
1460
|
-
"tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...Ln.value })), void 0, !0)]),
|
|
1461
|
-
_: 3
|
|
1462
|
-
}, 8, [
|
|
1463
|
-
"teleportTo",
|
|
1464
|
-
"show",
|
|
1465
|
-
"backgroundColor",
|
|
1466
|
-
"color",
|
|
1467
|
-
"borderRadius",
|
|
1468
|
-
"borderColor",
|
|
1469
|
-
"borderWidth",
|
|
1470
|
-
"fontSize",
|
|
1471
|
-
"backgroundOpacity",
|
|
1472
|
-
"position",
|
|
1473
|
-
"offsetX",
|
|
1474
|
-
"offsetY",
|
|
1475
|
-
"parent",
|
|
1476
|
-
"content",
|
|
1477
|
-
"isFullscreen",
|
|
1478
|
-
"isCustom",
|
|
1479
|
-
"smooth",
|
|
1480
|
-
"backdropFilter",
|
|
1481
|
-
"smoothForce",
|
|
1482
|
-
"smoothSnapThreshold",
|
|
1483
|
-
"isA11yMode",
|
|
1484
|
-
"a11yPosition"
|
|
1485
|
-
]),
|
|
1486
|
-
At.value && L.value.userOptions.buttons.table ? (T(), xe(je(tr.value.component), Te({ key: 7 }, tr.value.props, {
|
|
1487
|
-
ref_key: "tableUnit",
|
|
1488
|
-
ref: zt,
|
|
1489
|
-
onClose: rr
|
|
1490
|
-
}), Se({
|
|
1491
|
-
content: j(() => [b("div", {
|
|
1492
|
-
ref_key: "tableContainer",
|
|
1493
|
-
ref: It,
|
|
1494
|
-
class: "vue-ui-heatmap-table atom-data-table",
|
|
1495
|
-
style: w(`${L.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
|
|
1496
|
-
}, [b("div", {
|
|
1497
|
-
style: w(`width:100%;overflow-x:auto;position:relative;${L.value.table.useDialog ? "" : "padding-top:36px"};`),
|
|
1498
|
-
class: De({ "vue-ui-responsive": A(nr) })
|
|
1499
|
-
}, [L.value.table.useDialog ? v("", !0) : (T(), y("div", {
|
|
1500
|
-
key: 0,
|
|
1501
|
-
role: "button",
|
|
1502
|
-
tabindex: "0",
|
|
1503
|
-
style: w(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${L.value.table.th.backgroundColor};`),
|
|
1504
|
-
onClick: rr,
|
|
1505
|
-
onKeypress: ze(rr, ["enter"])
|
|
1506
|
-
}, [we(A(xt), {
|
|
1507
|
-
name: "close",
|
|
1508
|
-
stroke: L.value.table.th.color,
|
|
1509
|
-
"stroke-width": 2
|
|
1510
|
-
}, null, 8, ["stroke"])], 36)), b("table", ht, [
|
|
1511
|
-
L.value.table.useDialog ? v("", !0) : (T(), y("caption", {
|
|
1512
|
-
key: 0,
|
|
1513
|
-
style: w(`backgroundColor:${L.value.table.th.backgroundColor};color:${L.value.table.th.color};outline:${L.value.table.th.outline}`)
|
|
1514
|
-
}, [Ce(k(L.value.style.title.text) + " ", 1), L.value.style.title.subtitle.text ? (T(), y("span", gt, k(L.value.style.title.subtitle.text), 1)) : v("", !0)], 4)),
|
|
1515
|
-
b("thead", null, [b("tr", {
|
|
1516
|
-
role: "row",
|
|
1517
|
-
style: w(`background:${L.value.table.th.backgroundColor};color:${L.value.table.th.color}`)
|
|
1518
|
-
}, [b("th", { style: w(`outline:${L.value.table.th.outline};padding-right:6px`) }, null, 4), (T(!0), y(g, null, D(e.dataset, (e, t) => (T(), y("th", {
|
|
1519
|
-
align: "right",
|
|
1520
|
-
style: w(`outline:${L.value.table.th.outline};padding-right:6px`)
|
|
1521
|
-
}, k(e.name), 5))), 256))], 4)]),
|
|
1522
|
-
b("tbody", null, [(T(!0), y(g, null, D(Y.value.xLabels, (t, n) => (T(), y("tr", {
|
|
1523
|
-
role: "row",
|
|
1524
|
-
class: De({
|
|
1525
|
-
"vue-ui-data-table__tbody__row": !0,
|
|
1526
|
-
"vue-ui-data-table__tbody__row-even": n % 2 == 0,
|
|
1527
|
-
"vue-ui-data-table__tbody__row-odd": n % 2 != 0
|
|
1528
|
-
}),
|
|
1529
|
-
style: w(`background:${L.value.table.td.backgroundColor};color:${L.value.table.td.color}`)
|
|
1530
|
-
}, [b("td", {
|
|
1531
|
-
"data-cell": L.value.table.colNames.xAxis,
|
|
1532
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1533
|
-
style: w(`outline:${L.value.table.td.outline}`)
|
|
1534
|
-
}, [b("div", vt, k(t), 1)], 12, _t), (T(!0), y(g, null, D(e.dataset, (t, i) => (T(), y("td", {
|
|
1535
|
-
class: "vue-ui-data-table__tbody__td",
|
|
1536
|
-
"data-cell": e.dataset[i].name,
|
|
1537
|
-
style: w(`outline:${L.value.table.td.outline}`)
|
|
1538
|
-
}, [b("div", bt, k(isNaN(t.values[n]) ? "-" : A(r)({
|
|
1539
|
-
p: L.value.style.layout.dataLabels.prefix,
|
|
1540
|
-
v: t.values[n],
|
|
1541
|
-
s: L.value.style.layout.dataLabels.suffix,
|
|
1542
|
-
r: L.value.table.td.roundingValue
|
|
1543
|
-
})), 1)], 12, yt))), 256))], 6))), 256))])
|
|
1544
|
-
])], 6)], 4)]),
|
|
1545
|
-
_: 2
|
|
1546
|
-
}, [L.value.table.useDialog ? {
|
|
1547
|
-
name: "title",
|
|
1548
|
-
fn: j(() => [Ce(k(tr.value.title), 1)]),
|
|
1549
|
-
key: "0"
|
|
1550
|
-
} : void 0, L.value.table.useDialog ? {
|
|
1551
|
-
name: "actions",
|
|
1552
|
-
fn: j(() => [b("button", {
|
|
1553
|
-
tabindex: "0",
|
|
1554
|
-
class: "vue-ui-user-options-button",
|
|
1555
|
-
onClick: n[0] ||= (e) => Wn(L.value.userOptions.callbacks.csv),
|
|
1556
|
-
style: w({ cursor: nn.value ? "pointer" : "default" })
|
|
1557
|
-
}, [we(A(xt), {
|
|
1558
|
-
name: "fileCsv",
|
|
1559
|
-
stroke: tr.value.props.color
|
|
1560
|
-
}, null, 8, ["stroke"])], 4)]),
|
|
1561
|
-
key: "1"
|
|
1562
|
-
} : void 0]), 1040)) : v("", !0),
|
|
1563
|
-
O(t.$slots, "skeleton", {}, () => [A(on) ? (T(), xe(ae, { key: 0 })) : v("", !0)], !0)
|
|
1564
|
-
], 46, We));
|
|
1565
|
-
}
|
|
1566
|
-
}, [["__scopeId", "data-v-57a8b077"]]);
|
|
1567
|
-
//#endregion
|
|
1568
|
-
export { Ue as n, xt as t };
|