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,344 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Ct as t, H as n, J as r, S as i, X as ee, f as te, ft as ne, r as re } from "./lib-DUeYQsS0.js";
|
|
3
|
-
import { t as ie } from "./useConfig-DAyQk86L.js";
|
|
4
|
-
import { t as ae } from "./usePrinter-C1Gqt_Sp.js";
|
|
5
|
-
import { t as a } from "./useNestedProp-CNcoy38D.js";
|
|
6
|
-
import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
|
-
import { t as se } from "./Shape-BPCJfphn.js";
|
|
8
|
-
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
-
import { t as ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
10
|
-
import { t as le } from "./vue_ui_table_heatmap-w8vx5k6f.js";
|
|
11
|
-
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as ue, createVNode as de, defineAsyncComponent as fe, guardReactiveProps as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, unref as w, useCssVars as pe, useSlots as me, watch as he, withCtx as T } from "vue";
|
|
12
|
-
//#region src/components/vue-ui-table-heatmap.vue
|
|
13
|
-
var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell" }, ve = { role: "row" }, D = ["data-cell"], O = {
|
|
14
|
-
key: 0,
|
|
15
|
-
style: {
|
|
16
|
-
display: "flex",
|
|
17
|
-
"flex-direction": "row",
|
|
18
|
-
gap: "2px",
|
|
19
|
-
"align-items": "center"
|
|
20
|
-
}
|
|
21
|
-
}, k = ["height", "width"], A = {
|
|
22
|
-
key: 0,
|
|
23
|
-
role: "cell",
|
|
24
|
-
"data-cell": "sum"
|
|
25
|
-
}, j = {
|
|
26
|
-
key: 1,
|
|
27
|
-
role: "cell",
|
|
28
|
-
"data-cell": "average"
|
|
29
|
-
}, M = {
|
|
30
|
-
key: 2,
|
|
31
|
-
role: "cell",
|
|
32
|
-
"data-cell": "median"
|
|
33
|
-
}, N = {
|
|
34
|
-
key: 1,
|
|
35
|
-
ref: "source",
|
|
36
|
-
dir: "auto"
|
|
37
|
-
}, P = /* @__PURE__ */ o({
|
|
38
|
-
__name: "vue-ui-table-heatmap",
|
|
39
|
-
props: {
|
|
40
|
-
config: {
|
|
41
|
-
type: Object,
|
|
42
|
-
default() {
|
|
43
|
-
return {};
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
dataset: {
|
|
47
|
-
type: Array,
|
|
48
|
-
default() {
|
|
49
|
-
return [];
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
setup(e, { expose: o }) {
|
|
54
|
-
pe((e) => ({
|
|
55
|
-
v52b63863: De.value,
|
|
56
|
-
v32106484: Ee.value
|
|
57
|
-
}));
|
|
58
|
-
let E = fe(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), { vue_ui_table_heatmap: P } = ie(), { isThemeValid: F, warnInvalidTheme: ye } = oe(), I = e, L = x(n()), R = x(!1), z = x(null), B = x(!1), V = x(0), be = me();
|
|
59
|
-
y(() => {
|
|
60
|
-
be["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
61
|
-
});
|
|
62
|
-
let H = c({
|
|
63
|
-
get: () => K(),
|
|
64
|
-
set: (e) => e
|
|
65
|
-
}), { userOptionsVisible: U, setUserOptionsVisibility: W, keepUserOptionState: G } = ce({ config: H.value });
|
|
66
|
-
function K() {
|
|
67
|
-
let e = a({
|
|
68
|
-
userConfig: I.config,
|
|
69
|
-
defaultConfig: P
|
|
70
|
-
}), t = e.theme;
|
|
71
|
-
if (!t) return e;
|
|
72
|
-
if (!F.value(e)) return ye(e), e;
|
|
73
|
-
let n = a({
|
|
74
|
-
userConfig: le[t] || I.config,
|
|
75
|
-
defaultConfig: e
|
|
76
|
-
});
|
|
77
|
-
return a({
|
|
78
|
-
userConfig: I.config,
|
|
79
|
-
defaultConfig: n
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
he(() => I.config, (e) => {
|
|
83
|
-
H.value = K(), U.value = !H.value.userOptions.showOnChartHover, Y();
|
|
84
|
-
}, { deep: !0 });
|
|
85
|
-
let { isPrinting: xe, isImaging: Se, generatePdf: q, generateImage: J } = ae({
|
|
86
|
-
elementId: `table_heatmap_${L.value}`,
|
|
87
|
-
fileName: "vue-ui-table-heatmap",
|
|
88
|
-
options: H.value.userOptions.print
|
|
89
|
-
}), Ce = c(() => H.value.table.responsiveBreakpoint), we = c(() => !!I.dataset && I.dataset.length);
|
|
90
|
-
y(() => {
|
|
91
|
-
Y();
|
|
92
|
-
});
|
|
93
|
-
function Y() {
|
|
94
|
-
t(I.dataset) && ee({
|
|
95
|
-
componentName: "VueUiTableHeatmap",
|
|
96
|
-
type: "dataset"
|
|
97
|
-
});
|
|
98
|
-
let e = new ResizeObserver((e) => {
|
|
99
|
-
e.forEach((e) => {
|
|
100
|
-
R.value = e.contentRect.width < Ce.value;
|
|
101
|
-
});
|
|
102
|
-
});
|
|
103
|
-
z.value && e.observe(z.value);
|
|
104
|
-
}
|
|
105
|
-
let X = c(() => I.dataset.map((e) => {
|
|
106
|
-
let t = e.values.map((e) => isNaN(e) ? 0 : e), r = t.reduce((e, t) => e + t, 0);
|
|
107
|
-
return {
|
|
108
|
-
...e,
|
|
109
|
-
values: t,
|
|
110
|
-
serieExtremes: {
|
|
111
|
-
max: Math.max(...t),
|
|
112
|
-
min: Math.min(...t)
|
|
113
|
-
},
|
|
114
|
-
sum: r,
|
|
115
|
-
average: r / t.length,
|
|
116
|
-
median: te(t),
|
|
117
|
-
displayValues: [e.name, ...e.values],
|
|
118
|
-
id: n()
|
|
119
|
-
};
|
|
120
|
-
})), Z = c(() => {
|
|
121
|
-
let e = X.value.flatMap((e) => e.values);
|
|
122
|
-
return {
|
|
123
|
-
min: Math.min(...e),
|
|
124
|
-
max: Math.max(...e)
|
|
125
|
-
};
|
|
126
|
-
});
|
|
127
|
-
function Te(e, t) {
|
|
128
|
-
let n = H.value.style.heatmapColors.useIndividualScale;
|
|
129
|
-
return ne(H.value.style.heatmapColors.min, H.value.style.heatmapColors.max, n ? t.min : Z.value.min, n ? t.max : Z.value.max, e);
|
|
130
|
-
}
|
|
131
|
-
let Q = c(() => X.value.map((e) => ({
|
|
132
|
-
...e,
|
|
133
|
-
colors: e.displayValues.map((t) => isNaN(t) ? H.value.style.backgroundColor : Te(t, e.serieExtremes))
|
|
134
|
-
}))), Ee = c(() => H.value.style.backgroundColor), De = c(() => `${H.value.table.borderWidth}px`);
|
|
135
|
-
function $(e = null) {
|
|
136
|
-
h(() => {
|
|
137
|
-
let t = Q.value.map((e) => [
|
|
138
|
-
[e.name],
|
|
139
|
-
e.displayValues,
|
|
140
|
-
[e.sum],
|
|
141
|
-
[e.average],
|
|
142
|
-
[e.median]
|
|
143
|
-
]), n = i([[
|
|
144
|
-
[""],
|
|
145
|
-
H.value.table.head.values,
|
|
146
|
-
["sum"],
|
|
147
|
-
["average"],
|
|
148
|
-
["median"]
|
|
149
|
-
]].concat(t));
|
|
150
|
-
e ? e(n) : r({
|
|
151
|
-
csvContent: n,
|
|
152
|
-
title: "vue-ui-table-heatmap"
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
function Oe(e) {
|
|
157
|
-
B.value = e, V.value += 1;
|
|
158
|
-
}
|
|
159
|
-
return o({
|
|
160
|
-
generatePdf: q,
|
|
161
|
-
generateCsv: $,
|
|
162
|
-
generateImage: J
|
|
163
|
-
}), (e, t) => (b(), d("div", {
|
|
164
|
-
ref_key: "tableContainer",
|
|
165
|
-
ref: z,
|
|
166
|
-
style: v(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${H.value.userOptions.show ? "36px" : ""}; ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
167
|
-
class: g({
|
|
168
|
-
"vue-data-ui-component": !0,
|
|
169
|
-
"vue-ui-responsive": R.value
|
|
170
|
-
}),
|
|
171
|
-
id: `table_heatmap_${L.value}`,
|
|
172
|
-
onMouseenter: t[0] ||= () => w(W)(!0),
|
|
173
|
-
onMouseleave: t[1] ||= () => w(W)(!1)
|
|
174
|
-
}, [
|
|
175
|
-
H.value.userOptions.show && we.value && (w(G) || w(U)) ? (b(), l(w(E), {
|
|
176
|
-
ref: "details",
|
|
177
|
-
key: `user_option_${V.value}`,
|
|
178
|
-
backgroundColor: H.value.style.backgroundColor,
|
|
179
|
-
color: H.value.style.color,
|
|
180
|
-
isPrinting: w(xe),
|
|
181
|
-
isImaging: w(Se),
|
|
182
|
-
uid: L.value,
|
|
183
|
-
hasPdf: H.value.userOptions.buttons.pdf,
|
|
184
|
-
hasXls: H.value.userOptions.buttons.csv,
|
|
185
|
-
hasImg: H.value.userOptions.buttons.img,
|
|
186
|
-
hasFullscreen: H.value.userOptions.buttons.fullscreen,
|
|
187
|
-
isFullscreen: B.value,
|
|
188
|
-
titles: { ...H.value.userOptions.buttonTitles },
|
|
189
|
-
chartElement: z.value,
|
|
190
|
-
position: H.value.userOptions.position,
|
|
191
|
-
callbacks: H.value.userOptions.callbacks,
|
|
192
|
-
printScale: H.value.userOptions.print.scale,
|
|
193
|
-
onToggleFullscreen: Oe,
|
|
194
|
-
onGeneratePdf: w(q),
|
|
195
|
-
onGenerateCsv: $,
|
|
196
|
-
onGenerateImage: w(J),
|
|
197
|
-
style: v({ visibility: w(G) ? w(U) ? "visible" : "hidden" : "visible" })
|
|
198
|
-
}, ue({ _: 2 }, [
|
|
199
|
-
e.$slots.menuIcon ? {
|
|
200
|
-
name: "menuIcon",
|
|
201
|
-
fn: T(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", _(p({
|
|
202
|
-
isOpen: t,
|
|
203
|
-
color: n
|
|
204
|
-
})), void 0, !0)]),
|
|
205
|
-
key: "0"
|
|
206
|
-
} : void 0,
|
|
207
|
-
e.$slots.optionPdf ? {
|
|
208
|
-
name: "optionPdf",
|
|
209
|
-
fn: T(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
210
|
-
key: "1"
|
|
211
|
-
} : void 0,
|
|
212
|
-
e.$slots.optionCsv ? {
|
|
213
|
-
name: "optionCsv",
|
|
214
|
-
fn: T(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
215
|
-
key: "2"
|
|
216
|
-
} : void 0,
|
|
217
|
-
e.$slots.optionImg ? {
|
|
218
|
-
name: "optionImg",
|
|
219
|
-
fn: T(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
220
|
-
key: "3"
|
|
221
|
-
} : void 0,
|
|
222
|
-
e.$slots.optionFullscreen ? {
|
|
223
|
-
name: "optionFullscreen",
|
|
224
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", _(p({
|
|
225
|
-
toggleFullscreen: t,
|
|
226
|
-
isFullscreen: n
|
|
227
|
-
})), void 0, !0)]),
|
|
228
|
-
key: "4"
|
|
229
|
-
} : void 0,
|
|
230
|
-
e.$slots["custom-menu-before"] ? {
|
|
231
|
-
name: "custom-menu-before",
|
|
232
|
-
fn: T(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
233
|
-
key: "5"
|
|
234
|
-
} : void 0,
|
|
235
|
-
e.$slots["custom-menu-after"] ? {
|
|
236
|
-
name: "custom-menu-after",
|
|
237
|
-
fn: T(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
238
|
-
key: "6"
|
|
239
|
-
} : void 0
|
|
240
|
-
]), 1032, [
|
|
241
|
-
"backgroundColor",
|
|
242
|
-
"color",
|
|
243
|
-
"isPrinting",
|
|
244
|
-
"isImaging",
|
|
245
|
-
"uid",
|
|
246
|
-
"hasPdf",
|
|
247
|
-
"hasXls",
|
|
248
|
-
"hasImg",
|
|
249
|
-
"hasFullscreen",
|
|
250
|
-
"isFullscreen",
|
|
251
|
-
"titles",
|
|
252
|
-
"chartElement",
|
|
253
|
-
"position",
|
|
254
|
-
"callbacks",
|
|
255
|
-
"printScale",
|
|
256
|
-
"onGeneratePdf",
|
|
257
|
-
"onGenerateImage",
|
|
258
|
-
"style"
|
|
259
|
-
])) : u("", !0),
|
|
260
|
-
f("table", {
|
|
261
|
-
class: g({ "vue-ui-table-heatmap": !0 }),
|
|
262
|
-
style: v(`width:100%;font-family:${H.value.style.fontFamily};background:${H.value.style.backgroundColor};`)
|
|
263
|
-
}, [
|
|
264
|
-
f("caption", null, [C(e.$slots, "caption", {}, void 0, !0)]),
|
|
265
|
-
f("thead", null, [f("tr", {
|
|
266
|
-
role: "row",
|
|
267
|
-
style: v(`background:${H.value.table.head.backgroundColor};color:${H.value.table.head.color}`)
|
|
268
|
-
}, [(b(!0), d(s, null, S(H.value.table.head.values, (t, n) => (b(), d("th", _e, [C(e.$slots, "head", m({ ref_for: !0 }, {
|
|
269
|
-
value: t,
|
|
270
|
-
rowIndex: n,
|
|
271
|
-
type: typeof t,
|
|
272
|
-
isResponsive: R.value
|
|
273
|
-
}), void 0, !0)]))), 256))], 4)]),
|
|
274
|
-
f("tbody", null, [(b(!0), d(s, null, S(Q.value, (t, n) => (b(), d("tr", ve, [
|
|
275
|
-
(b(!0), d(s, null, S(t.displayValues, (r, i) => (b(), d("td", {
|
|
276
|
-
role: "cell",
|
|
277
|
-
"data-cell": H.value.table.head.values[i]
|
|
278
|
-
}, [t.color && i === 0 ? (b(), d("div", O, [t.color ? (b(), d("svg", {
|
|
279
|
-
key: 0,
|
|
280
|
-
height: H.value.style.shapeSize,
|
|
281
|
-
width: H.value.style.shapeSize,
|
|
282
|
-
viewBox: "0 0 20 20",
|
|
283
|
-
style: {
|
|
284
|
-
background: "none",
|
|
285
|
-
overflow: "visible"
|
|
286
|
-
}
|
|
287
|
-
}, [de(se, {
|
|
288
|
-
plot: {
|
|
289
|
-
x: 10,
|
|
290
|
-
y: 10
|
|
291
|
-
},
|
|
292
|
-
color: t.color,
|
|
293
|
-
radius: 9,
|
|
294
|
-
shape: t.shape || "circle"
|
|
295
|
-
}, null, 8, ["color", "shape"])], 8, k)) : u("", !0), C(e.$slots, "rowTitle", m({ ref_for: !0 }, {
|
|
296
|
-
value: r,
|
|
297
|
-
rowIndex: n,
|
|
298
|
-
colIndex: i,
|
|
299
|
-
type: typeof r,
|
|
300
|
-
isResponsive: R.value
|
|
301
|
-
}), void 0, !0)])) : (b(), d(s, { key: 1 }, [i === 0 ? C(e.$slots, "rowTitle", m({
|
|
302
|
-
key: 0,
|
|
303
|
-
ref_for: !0
|
|
304
|
-
}, {
|
|
305
|
-
value: r,
|
|
306
|
-
rowIndex: n,
|
|
307
|
-
colIndex: i,
|
|
308
|
-
type: typeof r,
|
|
309
|
-
isResponsive: R.value
|
|
310
|
-
}), void 0, !0) : u("", !0), i > 0 ? C(e.$slots, "cell", m({
|
|
311
|
-
key: 1,
|
|
312
|
-
ref_for: !0
|
|
313
|
-
}, {
|
|
314
|
-
value: r,
|
|
315
|
-
rowIndex: n,
|
|
316
|
-
colIndex: i,
|
|
317
|
-
type: typeof r,
|
|
318
|
-
isResponsive: R.value,
|
|
319
|
-
color: t.colors[i],
|
|
320
|
-
textColor: w(re)(t.colors[i])
|
|
321
|
-
}), void 0, !0) : u("", !0)], 64))], 8, D))), 256)),
|
|
322
|
-
H.value.table.showSum ? (b(), d("td", A, [C(e.$slots, "sum", m({ ref_for: !0 }, {
|
|
323
|
-
value: t.sum,
|
|
324
|
-
rowIndex: n,
|
|
325
|
-
isResponsive: R.value
|
|
326
|
-
}), void 0, !0)])) : u("", !0),
|
|
327
|
-
H.value.table.showAverage ? (b(), d("td", j, [C(e.$slots, "average", m({ ref_for: !0 }, {
|
|
328
|
-
value: t.average,
|
|
329
|
-
rowIndex: n,
|
|
330
|
-
isResponsive: R.value
|
|
331
|
-
}), void 0, !0)])) : u("", !0),
|
|
332
|
-
H.value.table.showMedian ? (b(), d("td", M, [C(e.$slots, "median", m({ ref_for: !0 }, {
|
|
333
|
-
value: t.median,
|
|
334
|
-
rowIndex: n,
|
|
335
|
-
isResponsive: R.value
|
|
336
|
-
}), void 0, !0)])) : u("", !0)
|
|
337
|
-
]))), 256))])
|
|
338
|
-
], 4),
|
|
339
|
-
e.$slots.source ? (b(), d("div", N, [C(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
|
|
340
|
-
], 46, ge));
|
|
341
|
-
}
|
|
342
|
-
}, [["__scopeId", "data-v-57d3c3aa"]]);
|
|
343
|
-
//#endregion
|
|
344
|
-
export { E as n, P as t };
|