vue-data-ui 3.20.2 → 3.20.3
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-f0MuYk3R.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-C3m9eNp0.js +0 -274
- package/dist/vue-data-ui.js +0 -76
- package/dist/vue-ui-3d-bar-Bfcitq55.js +0 -1757
- package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
- package/dist/vue-ui-age-pyramid-Dgzd45Ol.js +0 -1238
- package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
- package/dist/vue-ui-bullet-DAeyHSHC.js +0 -710
- package/dist/vue-ui-bump-DsiXfIFL.js +0 -1249
- package/dist/vue-ui-candlestick-BadEBUcF.js +0 -1826
- package/dist/vue-ui-carousel-table-_LCF7RFm.js +0 -455
- package/dist/vue-ui-chestnut-BTuAvc7L.js +0 -2010
- package/dist/vue-ui-chord-CAyRIJlh.js +0 -1391
- package/dist/vue-ui-circle-pack-BWzwg8Qb.js +0 -1608
- package/dist/vue-ui-cursor-C6t7nAT4.js +0 -283
- package/dist/vue-ui-dag-8Puv77-a.js +0 -2909
- package/dist/vue-ui-dashboard-CXDvRu27.js +0 -513
- package/dist/vue-ui-digits-BlHqILF0.js +0 -209
- package/dist/vue-ui-donut-CclzduCs.js +0 -2410
- package/dist/vue-ui-donut-evolution-DEfY2Zvy.js +0 -1510
- package/dist/vue-ui-dumbbell-BG5C4Hdg.js +0 -1530
- package/dist/vue-ui-flow-B73dHBrL.js +0 -1235
- package/dist/vue-ui-funnel-Bn3c5lWX.js +0 -777
- package/dist/vue-ui-galaxy-eBY55Fue.js +0 -1077
- package/dist/vue-ui-gauge-s8pl305B.js +0 -920
- package/dist/vue-ui-geo-Ca2ZPVhH.js +0 -1516
- package/dist/vue-ui-gizmo-CBNDeAzT.js +0 -225
- package/dist/vue-ui-heatmap-V79kNqUi.js +0 -1568
- package/dist/vue-ui-history-plot-jiJh8oaM.js +0 -1554
- package/dist/vue-ui-horizontal-bar-60b88qqU.js +0 -1681
- package/dist/vue-ui-kpi-DnfazUeY.js +0 -96
- package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
- package/dist/vue-ui-molecule-BeIVS2yp.js +0 -925
- package/dist/vue-ui-mood-radar-DHY1ry9I.js +0 -1148
- package/dist/vue-ui-nested-donuts-GNR6O-Z_.js +0 -1487
- package/dist/vue-ui-onion-DghkeKRu.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-DqfRRSnD.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-BBucQ_8r.js +0 -1978
- package/dist/vue-ui-quick-chart-DxxGq-5d.js +0 -2469
- package/dist/vue-ui-radar-B0gW_Iur.js +0 -1229
- package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
- package/dist/vue-ui-relation-circle-C-fNOxJM.js +0 -924
- package/dist/vue-ui-ridgeline-CzDR20s3.js +0 -1622
- package/dist/vue-ui-rings-DNRdTVqV.js +0 -1246
- package/dist/vue-ui-scatter-CRgFebuE.js +0 -2413
- package/dist/vue-ui-skeleton-iNzRGgRn.js +0 -2556
- package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
- package/dist/vue-ui-spark-trend-CPgTOFNY.js +0 -438
- package/dist/vue-ui-sparkbar-B4C_YxU-.js +0 -393
- package/dist/vue-ui-sparkgauge-DDkSKiba.js +0 -255
- package/dist/vue-ui-sparkhistogram-qtb6-Th8.js +0 -560
- package/dist/vue-ui-sparkline-TTSEEs7R.js +0 -1507
- package/dist/vue-ui-sparkstackbar-DXEnV79Y.js +0 -662
- package/dist/vue-ui-stackbar-CwFVpEgH.js +0 -2270
- package/dist/vue-ui-stackline-Bph0kD43.js +0 -2398
- package/dist/vue-ui-strip-plot-D2_WSwTF.js +0 -1340
- package/dist/vue-ui-table-BzmQMHxi.js +0 -1338
- package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
- package/dist/vue-ui-table-sparkline-CXNxbqIw.js +0 -707
- package/dist/vue-ui-thermometer-Cqw2_Jpi.js +0 -763
- package/dist/vue-ui-timer-BHP_5wgz.js +0 -439
- package/dist/vue-ui-tiremarks-D8wFTxXl.js +0 -552
- package/dist/vue-ui-treemap-DbSebes7.js +0 -1587
- package/dist/vue-ui-waffle-CAIBpbY0.js +0 -1362
- package/dist/vue-ui-wheel-B5Cyopnp.js +0 -885
- package/dist/vue-ui-word-cloud-BaGDKrKL.js +0 -1656
- package/dist/vue-ui-world-DLcVBwLg.js +0 -14264
- package/dist/vue-ui-xy-CyP5FAo8.js +0 -4578
- package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
- 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,560 +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, Mt as a, Nt as o, X as s, i as c, ot as l, t as ee } from "./lib-DUeYQsS0.js";
|
|
3
|
-
import { t as u } from "./useConfig-DAyQk86L.js";
|
|
4
|
-
import { n as d, t as te } from "./BaseScanner-Dr2a1Msy.js";
|
|
5
|
-
import { t as f } from "./useNestedProp-CNcoy38D.js";
|
|
6
|
-
import { t as ne } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
|
-
import { t as re } from "./Shape-BPCJfphn.js";
|
|
8
|
-
import { t as ie } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
-
import { c as ae } from "./canvas-lib-BOP_HS11.js";
|
|
10
|
-
import { t as oe } from "./useResponsive-BfnK0KxU.js";
|
|
11
|
-
import { t as se } from "./A11yDataTable-BCbtxMU6.js";
|
|
12
|
-
import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
13
|
-
import { t as le } from "./useFitSvgText-CT3nmlaS.js";
|
|
14
|
-
import { t as ue } from "./vue_ui_sparkhistogram-BRgvKUH6.js";
|
|
15
|
-
import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as de, createVNode as fe, defineAsyncComponent as pe, guardReactiveProps as me, nextTick as he, normalizeClass as y, normalizeProps as ge, normalizeStyle as b, onMounted as x, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, toRefs as _e, unref as D, useCssVars as ve, watch as O } from "vue";
|
|
16
|
-
//#region src/components/vue-ui-sparkhistogram.vue
|
|
17
|
-
var ye = /* @__PURE__ */ e({ default: () => k }), be = ["id"], xe = { key: 0 }, Se = { key: 1 }, Ce = { style: { position: "relative" } }, we = [
|
|
18
|
-
"xmlns",
|
|
19
|
-
"viewBox",
|
|
20
|
-
"aria-describedby"
|
|
21
|
-
], Te = ["width", "height"], Ee = ["id"], De = ["stop-color"], Oe = ["stop-color"], ke = ["id"], Ae = ["stop-color"], je = ["stop-color"], Me = ["id"], Ne = ["stop-color"], Pe = ["stop-color"], Fe = [
|
|
22
|
-
"height",
|
|
23
|
-
"width",
|
|
24
|
-
"fill",
|
|
25
|
-
"x",
|
|
26
|
-
"stroke",
|
|
27
|
-
"stroke-width",
|
|
28
|
-
"rx",
|
|
29
|
-
"stroke-dasharray"
|
|
30
|
-
], Ie = { key: 1 }, Le = [
|
|
31
|
-
"x",
|
|
32
|
-
"y",
|
|
33
|
-
"height",
|
|
34
|
-
"width",
|
|
35
|
-
"fill",
|
|
36
|
-
"stroke",
|
|
37
|
-
"stroke-width",
|
|
38
|
-
"rx"
|
|
39
|
-
], Re = { key: 2 }, ze = [
|
|
40
|
-
"x",
|
|
41
|
-
"y",
|
|
42
|
-
"font-size",
|
|
43
|
-
"font-weight",
|
|
44
|
-
"fill"
|
|
45
|
-
], Be = [
|
|
46
|
-
"x",
|
|
47
|
-
"y",
|
|
48
|
-
"font-size",
|
|
49
|
-
"fill"
|
|
50
|
-
], Ve = [
|
|
51
|
-
"x",
|
|
52
|
-
"y",
|
|
53
|
-
"font-size",
|
|
54
|
-
"fill"
|
|
55
|
-
], He = [
|
|
56
|
-
"height",
|
|
57
|
-
"width",
|
|
58
|
-
"x",
|
|
59
|
-
"onMouseover",
|
|
60
|
-
"onMouseleave",
|
|
61
|
-
"onClick"
|
|
62
|
-
], Ue = {
|
|
63
|
-
key: 0,
|
|
64
|
-
style: {
|
|
65
|
-
position: "absolute",
|
|
66
|
-
top: "100%",
|
|
67
|
-
left: "0",
|
|
68
|
-
width: "100%"
|
|
69
|
-
},
|
|
70
|
-
"data-dom-to-png-ignore": "",
|
|
71
|
-
"aria-hidden": "true"
|
|
72
|
-
}, k = /* @__PURE__ */ ie({
|
|
73
|
-
__name: "vue-ui-sparkhistogram",
|
|
74
|
-
props: {
|
|
75
|
-
config: {
|
|
76
|
-
type: Object,
|
|
77
|
-
default() {
|
|
78
|
-
return {};
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
dataset: {
|
|
82
|
-
type: Array,
|
|
83
|
-
default() {
|
|
84
|
-
return [];
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
emits: ["selectDatapoint"],
|
|
89
|
-
setup(e, { emit: ie }) {
|
|
90
|
-
ve((e) => ({ v66b29b27: nt.value }));
|
|
91
|
-
let ye = pe(() => import("./PackageVersion-f0MuYk3R.js").then((e) => e.t)), { vue_ui_sparkhistogram: k } = u(), { isThemeValid: We, warnInvalidTheme: Ge } = ne(), A = e, j = C(i()), M = C(null), N = C(null), P = C(null), F = C(null), I = C(null), L = C(!1), R = C(null), z = C("pointer"), B = C(K()), Ke = m(() => t({
|
|
92
|
-
defaultConfig: { style: {
|
|
93
|
-
animation: { show: !1 },
|
|
94
|
-
backgroundColor: "#99999930"
|
|
95
|
-
} },
|
|
96
|
-
userConfig: B.value.skeletonConfig ?? {}
|
|
97
|
-
})), { loading: V, FINAL_DATASET: H, manualLoading: qe } = d({
|
|
98
|
-
..._e(A),
|
|
99
|
-
FINAL_CONFIG: B,
|
|
100
|
-
prepareConfig: K,
|
|
101
|
-
skeletonDataset: A.config?.skeletonDataset ?? [
|
|
102
|
-
{
|
|
103
|
-
value: 1,
|
|
104
|
-
intensity: .2,
|
|
105
|
-
color: "#CACACA"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
value: 2,
|
|
109
|
-
intensity: .3,
|
|
110
|
-
color: "#CACACA"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
value: 3,
|
|
114
|
-
intensity: .5,
|
|
115
|
-
color: "#CACACA"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
value: 5,
|
|
119
|
-
intensity: .7,
|
|
120
|
-
color: "#CACACA"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
value: 8,
|
|
124
|
-
intensity: .9,
|
|
125
|
-
color: "#CACACA"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
value: 13,
|
|
129
|
-
intensity: .95,
|
|
130
|
-
color: "#CACACA"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
value: 21,
|
|
134
|
-
intensity: 1,
|
|
135
|
-
color: "#CACACA"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
value: 13,
|
|
139
|
-
intensity: .95,
|
|
140
|
-
color: "#CACACA"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
value: 8,
|
|
144
|
-
intensity: .9,
|
|
145
|
-
color: "#CACACA"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
value: 5,
|
|
149
|
-
intensity: .7,
|
|
150
|
-
color: "#CACACA"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
value: 3,
|
|
154
|
-
intensity: .5,
|
|
155
|
-
color: "#CACACA"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
value: 2,
|
|
159
|
-
intensity: .3,
|
|
160
|
-
color: "#CACACA"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
value: 1,
|
|
164
|
-
intensity: .2,
|
|
165
|
-
color: "#CACACA"
|
|
166
|
-
}
|
|
167
|
-
],
|
|
168
|
-
skeletonConfig: t({
|
|
169
|
-
defaultConfig: B.value,
|
|
170
|
-
userConfig: Ke.value
|
|
171
|
-
})
|
|
172
|
-
}), U = C(B.value.style.layout.width), W = C(B.value.style.layout.height), { svgRef: G } = ce({ config: B.value.style.title });
|
|
173
|
-
function K() {
|
|
174
|
-
let e = f({
|
|
175
|
-
userConfig: A.config,
|
|
176
|
-
defaultConfig: k
|
|
177
|
-
}), t = e.theme;
|
|
178
|
-
if (!t) return e;
|
|
179
|
-
if (!We.value(e)) return Ge(e), e;
|
|
180
|
-
let n = f({
|
|
181
|
-
userConfig: ue[t] || A.config,
|
|
182
|
-
defaultConfig: e
|
|
183
|
-
});
|
|
184
|
-
return f({
|
|
185
|
-
userConfig: A.config,
|
|
186
|
-
defaultConfig: n
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
x(() => {
|
|
190
|
-
J();
|
|
191
|
-
});
|
|
192
|
-
let q = m(() => !!B.value.debug);
|
|
193
|
-
function J() {
|
|
194
|
-
if (n(A.dataset) ? s({
|
|
195
|
-
componentName: "VueUiSparkHistogram",
|
|
196
|
-
type: "dataset",
|
|
197
|
-
debug: q.value
|
|
198
|
-
}) : A.dataset.forEach((e, t) => {
|
|
199
|
-
l({
|
|
200
|
-
datasetObject: e,
|
|
201
|
-
requiredAttributes: ["value"]
|
|
202
|
-
}).forEach((e) => {
|
|
203
|
-
s({
|
|
204
|
-
componentName: "VueUiSparkHistogram",
|
|
205
|
-
type: "datasetSerieAttribute",
|
|
206
|
-
property: e,
|
|
207
|
-
index: t,
|
|
208
|
-
debug: q.value
|
|
209
|
-
});
|
|
210
|
-
});
|
|
211
|
-
}), B.value.responsive) {
|
|
212
|
-
let e = ae(() => {
|
|
213
|
-
let { width: e, height: t } = oe({
|
|
214
|
-
chart: P.value,
|
|
215
|
-
title: B.value.style.title.text ? N.value : null,
|
|
216
|
-
source: M.value
|
|
217
|
-
}), n = B.value.style.labels.timeLabel.show ? B.value.style.labels.timeLabel.fontSize * 2 : 0, r = B.value.style.labels.valueLabel.show ? B.value.style.labels.valueLabel.fontSize * 2 : 0;
|
|
218
|
-
requestAnimationFrame(() => {
|
|
219
|
-
U.value = Math.max(10, e), W.value = Math.max(10, t - 12 - n - r);
|
|
220
|
-
});
|
|
221
|
-
});
|
|
222
|
-
F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = P.value.parentNode, F.value.observe(I.value);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
O(() => A.config, (e) => {
|
|
226
|
-
B.value = K(), J();
|
|
227
|
-
}, { deep: !0 });
|
|
228
|
-
let Y = m(() => {
|
|
229
|
-
let e = B.value.style.labels.timeLabel.show ? B.value.style.labels.timeLabel.fontSize * 2 : 0, t = B.value.style.labels.valueLabel.show ? B.value.style.labels.valueLabel.fontSize * 2 : 0, n = W.value + e + t, r = U.value, i = B.value.style.layout.padding.top, a = n - B.value.style.layout.padding.bottom, o = B.value.style.layout.padding.left, s = r - B.value.style.layout.padding.right;
|
|
230
|
-
return {
|
|
231
|
-
bottom: a,
|
|
232
|
-
centerY: i + (n - i - B.value.style.layout.padding.bottom) / 2,
|
|
233
|
-
drawingHeight: n - B.value.style.layout.padding.top - B.value.style.layout.padding.bottom - e - t,
|
|
234
|
-
drawingWidth: r - B.value.style.layout.padding.left - B.value.style.layout.padding.right,
|
|
235
|
-
height: n,
|
|
236
|
-
left: o,
|
|
237
|
-
right: s,
|
|
238
|
-
top: i,
|
|
239
|
-
width: r
|
|
240
|
-
};
|
|
241
|
-
}), Je = m(() => Math.max(...H.value.map((e) => Math.abs(e.value || 0))));
|
|
242
|
-
function Ye(e) {
|
|
243
|
-
return Math.abs(e) / Je.value;
|
|
244
|
-
}
|
|
245
|
-
let X = m(() => H.value.map((e, t) => {
|
|
246
|
-
let n = Ye(e.value || 0), r = Y.value.drawingHeight * n, i = Y.value.drawingWidth / H.value.length, o = i * (B.value.style.bars.gap / 100), s = i - o, c = Y.value.centerY - r / 2, l = Y.value.left + (o / 2 + t * i), ee = Y.value.left + t * i, u = e.intensity === void 0 ? 100 : Math.round(e.intensity * 100), d = e.color ? e.color : e.value >= 0 ? a(B.value.style.bars.colors.positive, u) : a(B.value.style.bars.colors.negative, u), te = e.color ? e.color : e.value >= 0 ? B.value.style.bars.colors.positive : B.value.style.bars.colors.negative, f = e.color ? `url(#gradient_datapoint_${t}_${j.value})` : e.value >= 0 ? `url(#gradient_positive_${t}_${j.value})` : `url(#gradient_negative_${t}_${j.value})`, ne = l + s / 2;
|
|
247
|
-
return {
|
|
248
|
-
...e,
|
|
249
|
-
color: d,
|
|
250
|
-
gradient: f,
|
|
251
|
-
height: r,
|
|
252
|
-
intensity: u,
|
|
253
|
-
proportion: n,
|
|
254
|
-
stroke: te,
|
|
255
|
-
textAnchor: ne,
|
|
256
|
-
trapX: ee,
|
|
257
|
-
unitWidth: i,
|
|
258
|
-
width: s,
|
|
259
|
-
x: l,
|
|
260
|
-
y: c
|
|
261
|
-
};
|
|
262
|
-
}));
|
|
263
|
-
function Xe(e, t) {
|
|
264
|
-
return c(B.value.style.labels.value.formatter, e.value, r({
|
|
265
|
-
p: B.value.style.labels.value.prefix,
|
|
266
|
-
v: e.value,
|
|
267
|
-
s: B.value.style.labels.value.suffix,
|
|
268
|
-
r: B.value.style.labels.value.rounding
|
|
269
|
-
}), {
|
|
270
|
-
datapoint: e,
|
|
271
|
-
seriesIndex: t
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
let Z = C(null), Ze = ie;
|
|
275
|
-
function Qe(e, t) {
|
|
276
|
-
Ze("selectDatapoint", {
|
|
277
|
-
datapoint: e,
|
|
278
|
-
index: t
|
|
279
|
-
}), B.value.events.datapointClick && B.value.events.datapointClick({
|
|
280
|
-
datapoint: e,
|
|
281
|
-
seriesIndex: t
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
function $e(e, t) {
|
|
285
|
-
z.value = "pointer", R.value = t, Z.value = t, B.value.events.datapointEnter && B.value.events.datapointEnter({
|
|
286
|
-
datapoint: e,
|
|
287
|
-
seriesIndex: t
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
function et(e, t) {
|
|
291
|
-
z.value !== "keyboard" && (Z.value = null, R.value = null, B.value.events.datapointLeave && B.value.events.datapointLeave({
|
|
292
|
-
datapoint: e,
|
|
293
|
-
seriesIndex: t
|
|
294
|
-
}));
|
|
295
|
-
}
|
|
296
|
-
function tt() {
|
|
297
|
-
z.value !== "keyboard" && (Z.value = null, R.value = null);
|
|
298
|
-
}
|
|
299
|
-
let nt = m(() => `${B.value.style.animation.speedMs}ms`), { fitText: Q } = le({
|
|
300
|
-
svgRef: G,
|
|
301
|
-
unitWidth: m(() => Y.value.drawingWidth / H.value.length * .9)
|
|
302
|
-
});
|
|
303
|
-
x(async () => {
|
|
304
|
-
await he(), Q(".vue-ui-sparkhistogram-top-label", B.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", B.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", B.value.style.labels.timeLabel.minFontSize);
|
|
305
|
-
}), O([
|
|
306
|
-
U,
|
|
307
|
-
W,
|
|
308
|
-
() => H.value
|
|
309
|
-
], async () => {
|
|
310
|
-
await he(), Q(".vue-ui-sparkhistogram-top-label", B.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", B.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", B.value.style.labels.timeLabel.minFontSize);
|
|
311
|
-
});
|
|
312
|
-
function rt() {
|
|
313
|
-
L.value = !0;
|
|
314
|
-
}
|
|
315
|
-
function it() {
|
|
316
|
-
L.value = !1, R.value = null, z.value = "pointer", Z.value = null;
|
|
317
|
-
}
|
|
318
|
-
function at(e) {
|
|
319
|
-
if (!G.value || document.activeElement !== G.value || !X.value.length) return;
|
|
320
|
-
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
321
|
-
if (!t && !n && !r && !i) return;
|
|
322
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
323
|
-
R.value = null, Z.value = null, z.value = "pointer";
|
|
324
|
-
return;
|
|
325
|
-
}
|
|
326
|
-
if (r) {
|
|
327
|
-
if (Z.value === null) return;
|
|
328
|
-
let e = X.value[Z.value];
|
|
329
|
-
if (!e) return;
|
|
330
|
-
Qe(e, Z.value);
|
|
331
|
-
return;
|
|
332
|
-
}
|
|
333
|
-
z.value = "keyboard";
|
|
334
|
-
let a = R.value;
|
|
335
|
-
a === null || a < 0 || a >= X.value.length ? a = n ? 0 : X.value.length - 1 : n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1)), R.value = a, Z.value = a;
|
|
336
|
-
let o = X.value[a];
|
|
337
|
-
B.value.events.datapointEnter && B.value.events.datapointEnter({
|
|
338
|
-
datapoint: o,
|
|
339
|
-
seriesIndex: a
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
let $ = m(() => ({
|
|
343
|
-
headers: [
|
|
344
|
-
B.value.a11y?.translations?.series ?? "Series",
|
|
345
|
-
B.value.a11y?.translations?.time ?? "Time",
|
|
346
|
-
B.value.a11y?.translations?.value ?? "Value",
|
|
347
|
-
B.value.a11y?.translations?.valueLabel ?? "Label"
|
|
348
|
-
],
|
|
349
|
-
rows: X.value.map((e, t) => [
|
|
350
|
-
t + 1,
|
|
351
|
-
e.timeLabel ?? "",
|
|
352
|
-
e.value ?? "",
|
|
353
|
-
e.valueLabel ?? ""
|
|
354
|
-
])
|
|
355
|
-
}));
|
|
356
|
-
return (e, t) => (S(), _("div", {
|
|
357
|
-
class: "vue-data-ui-component vue-ui-spark-histogram",
|
|
358
|
-
ref_key: "histogramChart",
|
|
359
|
-
ref: P,
|
|
360
|
-
style: b(`width:100%;background:${B.value.style.backgroundColor};font-family:${B.value.style.fontFamily}`),
|
|
361
|
-
onMouseleave: tt
|
|
362
|
-
}, [
|
|
363
|
-
v("div", {
|
|
364
|
-
id: `chart-instructions-${j.value}`,
|
|
365
|
-
class: "sr-only"
|
|
366
|
-
}, [v("p", null, E(B.value.a11y.translations.keyboardNavigation), 1)], 8, be),
|
|
367
|
-
$.value?.rows?.length ? (S(), h(se, {
|
|
368
|
-
key: 0,
|
|
369
|
-
uid: j.value,
|
|
370
|
-
head: $.value.headers,
|
|
371
|
-
body: $.value.rows,
|
|
372
|
-
notice: B.value.a11y.translations.tableAvailable,
|
|
373
|
-
caption: B.value.a11y.translations.tableCaption
|
|
374
|
-
}, null, 8, [
|
|
375
|
-
"uid",
|
|
376
|
-
"head",
|
|
377
|
-
"body",
|
|
378
|
-
"notice",
|
|
379
|
-
"caption"
|
|
380
|
-
])) : g("", !0),
|
|
381
|
-
B.value.style.title.text ? (S(), _("div", {
|
|
382
|
-
key: 1,
|
|
383
|
-
ref_key: "chartTitle",
|
|
384
|
-
ref: N,
|
|
385
|
-
style: b(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${B.value.style.title.margin};padding: 0 6px;text-align:${B.value.style.title.textAlign}`)
|
|
386
|
-
}, [v("div", { style: b(`font-size:${B.value.style.title.fontSize}px;color:${B.value.style.title.color};font-weight:${B.value.style.title.bold ? "bold" : "normal"}`) }, [
|
|
387
|
-
de(E(B.value.style.title.text) + " ", 1),
|
|
388
|
-
Z.value === null ? g("", !0) : (S(), _("span", xe, "- " + E(X.value[Z.value].timeLabel || "") + " " + E(D(c)(B.value.style.labels.value.formatter, X.value[Z.value].value, D(r)({
|
|
389
|
-
p: B.value.style.labels.value.prefix,
|
|
390
|
-
v: X.value[Z.value].value,
|
|
391
|
-
s: B.value.style.labels.value.suffix,
|
|
392
|
-
r: B.value.style.labels.value.rounding
|
|
393
|
-
}), {
|
|
394
|
-
datapoint: X.value[Z.value],
|
|
395
|
-
seriesIndex: Z.value
|
|
396
|
-
})), 1)),
|
|
397
|
-
![void 0, null].includes(Z.value) && ![null, void 0].includes(X.value[Z.value].valueLabel) ? (S(), _("span", Se, E(` (${X.value[Z.value].valueLabel || 0})`), 1)) : g("", !0)
|
|
398
|
-
], 4), B.value.style.title.subtitle.text ? (S(), _("div", {
|
|
399
|
-
key: 0,
|
|
400
|
-
style: b(`font-size:${B.value.style.title.subtitle.fontSize}px;color:${B.value.style.title.subtitle.color};font-weight:${B.value.style.title.subtitle.bold ? "bold" : "normal"}`)
|
|
401
|
-
}, E(B.value.style.title.subtitle.text), 5)) : g("", !0)], 4)) : g("", !0),
|
|
402
|
-
v("div", Ce, [(S(), _("svg", {
|
|
403
|
-
ref_key: "svgRef",
|
|
404
|
-
ref: G,
|
|
405
|
-
xmlns: D(ee),
|
|
406
|
-
viewBox: `0 0 ${Y.value.width} ${Y.value.height}`,
|
|
407
|
-
style: { overflow: "visible" },
|
|
408
|
-
"aria-describedby": `chart-instructions-${j.value}`,
|
|
409
|
-
tabindex: "0",
|
|
410
|
-
onFocus: rt,
|
|
411
|
-
onBlur: it,
|
|
412
|
-
onKeydown: at
|
|
413
|
-
}, [
|
|
414
|
-
fe(D(ye)),
|
|
415
|
-
e.$slots["chart-background"] ? (S(), _("foreignObject", {
|
|
416
|
-
key: 0,
|
|
417
|
-
x: 0,
|
|
418
|
-
y: 0,
|
|
419
|
-
width: Y.value.width,
|
|
420
|
-
height: Y.value.height,
|
|
421
|
-
style: { pointerEvents: "none" }
|
|
422
|
-
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Te)) : g("", !0),
|
|
423
|
-
v("defs", null, [
|
|
424
|
-
(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("radialGradient", {
|
|
425
|
-
id: `gradient_positive_${t}_${j.value}`,
|
|
426
|
-
cy: "50%",
|
|
427
|
-
cx: "50%",
|
|
428
|
-
r: "50%",
|
|
429
|
-
fx: "50%",
|
|
430
|
-
fy: "50%"
|
|
431
|
-
}, [v("stop", {
|
|
432
|
-
offset: "0%",
|
|
433
|
-
"stop-color": D(a)(D(o)(B.value.style.bars.colors.positive, .05), e.intensity)
|
|
434
|
-
}, null, 8, De), v("stop", {
|
|
435
|
-
offset: "100%",
|
|
436
|
-
"stop-color": D(a)(B.value.style.bars.colors.positive, e.intensity)
|
|
437
|
-
}, null, 8, Oe)], 8, Ee))), 256)),
|
|
438
|
-
(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("radialGradient", {
|
|
439
|
-
id: `gradient_negative_${t}_${j.value}`,
|
|
440
|
-
cy: "50%",
|
|
441
|
-
cx: "50%",
|
|
442
|
-
r: "50%",
|
|
443
|
-
fx: "50%",
|
|
444
|
-
fy: "50%"
|
|
445
|
-
}, [v("stop", {
|
|
446
|
-
offset: "0%",
|
|
447
|
-
"stop-color": D(a)(D(o)(B.value.style.bars.colors.negative, .05), e.intensity)
|
|
448
|
-
}, null, 8, Ae), v("stop", {
|
|
449
|
-
offset: "100%",
|
|
450
|
-
"stop-color": D(a)(B.value.style.bars.colors.negative, e.intensity)
|
|
451
|
-
}, null, 8, je)], 8, ke))), 256)),
|
|
452
|
-
(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("radialGradient", {
|
|
453
|
-
id: `gradient_datapoint_${t}_${j.value}`,
|
|
454
|
-
cy: "50%",
|
|
455
|
-
cx: "50%",
|
|
456
|
-
r: "50%",
|
|
457
|
-
fx: "50%",
|
|
458
|
-
fy: "50%"
|
|
459
|
-
}, [v("stop", {
|
|
460
|
-
offset: "0%",
|
|
461
|
-
"stop-color": D(a)(D(o)(e.color, .05), e.intensity)
|
|
462
|
-
}, null, 8, Ne), v("stop", {
|
|
463
|
-
offset: "100%",
|
|
464
|
-
"stop-color": D(a)(e.color, e.intensity)
|
|
465
|
-
}, null, 8, Pe)], 8, Me))), 256))
|
|
466
|
-
]),
|
|
467
|
-
(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("g", null, [Z.value !== null && Z.value === t ? (S(), _("rect", {
|
|
468
|
-
key: 0,
|
|
469
|
-
height: Y.value.height,
|
|
470
|
-
width: e.unitWidth,
|
|
471
|
-
fill: B.value.style.selector.fill,
|
|
472
|
-
x: e.trapX,
|
|
473
|
-
y: 0,
|
|
474
|
-
stroke: B.value.style.selector.stroke,
|
|
475
|
-
"stroke-width": B.value.style.selector.strokeWidth,
|
|
476
|
-
rx: B.value.style.selector.borderRadius,
|
|
477
|
-
"stroke-dasharray": B.value.style.selector.strokeDasharray
|
|
478
|
-
}, null, 8, Fe)) : g("", !0)]))), 256)),
|
|
479
|
-
!B.value.style.bars.shape || B.value.style.bars.shape === "square" ? (S(), _("g", Ie, [(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("rect", {
|
|
480
|
-
x: e.x,
|
|
481
|
-
y: e.y,
|
|
482
|
-
height: e.height,
|
|
483
|
-
width: e.width,
|
|
484
|
-
fill: B.value.style.bars.colors.gradient.show ? e.gradient : e.color,
|
|
485
|
-
stroke: e.stroke,
|
|
486
|
-
"stroke-width": B.value.style.bars.strokeWidth,
|
|
487
|
-
rx: `${B.value.style.bars.borderRadius * e.proportion / 12}%`,
|
|
488
|
-
class: y({ "vue-ui-sparkhistogram-shape": B.value.style.animation.show })
|
|
489
|
-
}, null, 10, Le))), 256))])) : (S(), _("g", Re, [(S(!0), _(p, null, w(X.value, (e, t) => (S(), h(re, {
|
|
490
|
-
plot: {
|
|
491
|
-
x: e.x + e.width / 2,
|
|
492
|
-
y: e.y + e.height / 2
|
|
493
|
-
},
|
|
494
|
-
color: B.value.style.bars.colors.gradient.show ? e.gradient : e.color,
|
|
495
|
-
shape: B.value.style.bars.shape,
|
|
496
|
-
radius: Math.min(e.height * .4, e.width * .4),
|
|
497
|
-
class: y({ "vue-ui-sparkhistogram-shape": B.value.style.animation.show })
|
|
498
|
-
}, null, 8, [
|
|
499
|
-
"plot",
|
|
500
|
-
"color",
|
|
501
|
-
"shape",
|
|
502
|
-
"radius",
|
|
503
|
-
"class"
|
|
504
|
-
]))), 256))])),
|
|
505
|
-
D(V) ? g("", !0) : (S(), _(p, { key: 3 }, [
|
|
506
|
-
(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("g", null, [B.value.style.labels.value.show ? (S(), _("text", {
|
|
507
|
-
key: 0,
|
|
508
|
-
class: "vue-ui-sparkhistogram-top-label",
|
|
509
|
-
"text-anchor": "middle",
|
|
510
|
-
x: e.textAnchor,
|
|
511
|
-
y: e.y - B.value.style.labels.value.fontSize / 3 + B.value.style.labels.value.offsetY,
|
|
512
|
-
"font-size": B.value.style.labels.value.fontSize,
|
|
513
|
-
"font-weight": B.value.style.labels.value.bold ? "bold" : "normal",
|
|
514
|
-
fill: B.value.style.labels.value.color
|
|
515
|
-
}, E(Xe(e, t)), 9, ze)) : g("", !0)]))), 256)),
|
|
516
|
-
(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("g", null, [e.valueLabel && B.value.style.labels.valueLabel.show ? (S(), _("text", {
|
|
517
|
-
key: 0,
|
|
518
|
-
class: "vue-ui-sparkhistogram-bottom-label",
|
|
519
|
-
x: e.textAnchor,
|
|
520
|
-
y: e.y + e.height + B.value.style.labels.valueLabel.fontSize,
|
|
521
|
-
"font-size": B.value.style.labels.valueLabel.fontSize,
|
|
522
|
-
"text-anchor": "middle",
|
|
523
|
-
fill: B.value.style.labels.valueLabel.color
|
|
524
|
-
}, E(e.valueLabel), 9, Be)) : g("", !0)]))), 256)),
|
|
525
|
-
(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("g", null, [e.timeLabel && B.value.style.labels.timeLabel.show ? (S(), _("text", {
|
|
526
|
-
key: 0,
|
|
527
|
-
class: "vue-ui-sparkhistogram-time-label",
|
|
528
|
-
x: e.textAnchor,
|
|
529
|
-
y: Y.value.height,
|
|
530
|
-
"font-size": B.value.style.labels.timeLabel.fontSize,
|
|
531
|
-
fill: B.value.style.labels.timeLabel.color,
|
|
532
|
-
"text-anchor": "middle"
|
|
533
|
-
}, E(e.timeLabel), 9, Ve)) : g("", !0)]))), 256))
|
|
534
|
-
], 64)),
|
|
535
|
-
(S(!0), _(p, null, w(X.value, (e, t) => (S(), _("g", null, [v("rect", {
|
|
536
|
-
height: Y.value.height,
|
|
537
|
-
width: e.unitWidth,
|
|
538
|
-
fill: "transparent",
|
|
539
|
-
x: e.trapX,
|
|
540
|
-
y: 0,
|
|
541
|
-
onMouseover: (n) => $e(e, t),
|
|
542
|
-
onMouseleave: (n) => et(e, t),
|
|
543
|
-
onClick: () => Qe(e, t)
|
|
544
|
-
}, null, 40, He)]))), 256))
|
|
545
|
-
], 40, we)), e.$slots.hint ? (S(), _("div", Ue, [T(e.$slots, "hint", ge(me({
|
|
546
|
-
hint: B.value.a11y.translations.keyboardNavigation,
|
|
547
|
-
isVisible: L.value
|
|
548
|
-
})), void 0, !0)])) : g("", !0)]),
|
|
549
|
-
e.$slots.source ? (S(), _("div", {
|
|
550
|
-
key: 2,
|
|
551
|
-
ref_key: "source",
|
|
552
|
-
ref: M,
|
|
553
|
-
dir: "auto"
|
|
554
|
-
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
|
|
555
|
-
T(e.$slots, "skeleton", {}, () => [D(V) ? (S(), h(te, { key: 0 })) : g("", !0)], !0)
|
|
556
|
-
], 36));
|
|
557
|
-
}
|
|
558
|
-
}, [["__scopeId", "data-v-8a87ff32"]]);
|
|
559
|
-
//#endregion
|
|
560
|
-
export { ye as n, k as t };
|