vue-data-ui 3.19.9 → 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-q2-8fSlJ.js +0 -45
- package/dist/Arrow-Cj6W6Xbi.js +0 -116
- package/dist/BaseDraggableDialog-DUUu2E2Q.js +0 -272
- package/dist/BaseIcon-DM1x8hQF.js +0 -502
- package/dist/BaseLegendToggle-CJTwLGXL.js +0 -56
- package/dist/BaseScanner-C7dmAref.js +0 -27
- package/dist/BaseZoomControls-BkajQ8q9.js +0 -111
- package/dist/ColorPicker-DTQeqKUV.js +0 -255
- package/dist/DataTable-DmE8Oo4i.js +0 -150
- package/dist/Legend-Gg5Q4Clb.js +0 -114
- package/dist/NonSvgPenAndPaper-tvWXeCsd.js +0 -577
- package/dist/PackageVersion-Dl9W5zJD.js +0 -11
- package/dist/PenAndPaper-DNgm6y3l.js +0 -461
- package/dist/RecursiveCircles-DPpLel6f.js +0 -117
- package/dist/RecursiveLabels-DBMJf_to.js +0 -56
- package/dist/RecursiveLinks-D06dBL4a.js +0 -78
- package/dist/Shape-DEGOZ6GG.js +0 -141
- package/dist/Slicer-CPWGgGSp.js +0 -1144
- package/dist/SlicerPreview-BU3ZeHjR.js +0 -1555
- package/dist/SparkTooltip-c2DL7gqD.js +0 -93
- package/dist/Title-__gWq2g6.js +0 -87
- package/dist/Tooltip-CuWEYGr3.js +0 -312
- package/dist/UserOptions-D7zR0tnR.js +0 -1411
- package/dist/_plugin-vue_export-helper-Dq1MygBL.js +0 -8
- package/dist/canvas-lib-DTaADQOK.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-9WSt6hXe.js +0 -237
- package/dist/exposedLib-CwWU4zv-.js +0 -19
- package/dist/geoProjections-CQIkC70z.js +0 -146
- package/dist/img-BjOr008R.js +0 -74
- package/dist/labelUtils-Cr97N8E1.js +0 -19
- package/dist/lib-BkiwukKO.js +0 -1879
- package/dist/llms.txt +0 -232
- package/dist/patternUtils-B7BWu5bV.js +0 -258
- package/dist/pdf-DSXSFUnK.js +0 -90
- package/dist/rolldown-runtime-CAFD8bLK.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 -15826
- package/dist/types/vue-ui-3d-bar.d.ts +0 -78
- package/dist/types/vue-ui-accordion.d.ts +0 -11
- package/dist/types/vue-ui-age-pyramid.d.ts +0 -95
- package/dist/types/vue-ui-annotator.d.ts +0 -12
- package/dist/types/vue-ui-bullet.d.ts +0 -72
- package/dist/types/vue-ui-bump.d.ts +0 -77
- package/dist/types/vue-ui-candlestick.d.ts +0 -93
- package/dist/types/vue-ui-carousel-table.d.ts +0 -46
- package/dist/types/vue-ui-chestnut.d.ts +0 -79
- package/dist/types/vue-ui-chord.d.ts +0 -91
- package/dist/types/vue-ui-circle-pack.d.ts +0 -111
- package/dist/types/vue-ui-cursor.d.ts +0 -9
- package/dist/types/vue-ui-dag.d.ts +0 -106
- package/dist/types/vue-ui-dashboard.d.ts +0 -53
- package/dist/types/vue-ui-digits.d.ts +0 -12
- package/dist/types/vue-ui-donut-evolution.d.ts +0 -81
- package/dist/types/vue-ui-donut.d.ts +0 -106
- package/dist/types/vue-ui-dumbbell.d.ts +0 -79
- package/dist/types/vue-ui-flow.d.ts +0 -93
- package/dist/types/vue-ui-funnel.d.ts +0 -66
- package/dist/types/vue-ui-galaxy.d.ts +0 -97
- package/dist/types/vue-ui-gauge.d.ts +0 -76
- package/dist/types/vue-ui-geo.d.ts +0 -81
- package/dist/types/vue-ui-gizmo.d.ts +0 -22
- package/dist/types/vue-ui-heatmap.d.ts +0 -86
- package/dist/types/vue-ui-history-plot.d.ts +0 -97
- package/dist/types/vue-ui-horizontal-bar.d.ts +0 -99
- 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 -97
- package/dist/types/vue-ui-mood-radar.d.ts +0 -79
- package/dist/types/vue-ui-nested-donuts.d.ts +0 -94
- package/dist/types/vue-ui-onion.d.ts +0 -91
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -108
- 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 -102
- package/dist/types/vue-ui-quick-chart.d.ts +0 -89
- package/dist/types/vue-ui-radar.d.ts +0 -101
- package/dist/types/vue-ui-rating.d.ts +0 -31
- package/dist/types/vue-ui-relation-circle.d.ts +0 -79
- package/dist/types/vue-ui-ridgeline.d.ts +0 -85
- package/dist/types/vue-ui-rings.d.ts +0 -83
- package/dist/types/vue-ui-scatter.d.ts +0 -82
- package/dist/types/vue-ui-skeleton.d.ts +0 -11
- package/dist/types/vue-ui-smiley.d.ts +0 -12
- package/dist/types/vue-ui-spark-trend.d.ts +0 -19
- package/dist/types/vue-ui-sparkbar.d.ts +0 -36
- package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
- package/dist/types/vue-ui-sparkhistogram.d.ts +0 -33
- package/dist/types/vue-ui-sparkline.d.ts +0 -44
- package/dist/types/vue-ui-sparkstackbar.d.ts +0 -45
- package/dist/types/vue-ui-stackbar.d.ts +0 -97
- package/dist/types/vue-ui-stackline.d.ts +0 -93
- package/dist/types/vue-ui-strip-plot.d.ts +0 -81
- package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
- package/dist/types/vue-ui-table-sparkline.d.ts +0 -40
- package/dist/types/vue-ui-table.d.ts +0 -25
- package/dist/types/vue-ui-thermometer.d.ts +0 -57
- package/dist/types/vue-ui-timer.d.ts +0 -36
- package/dist/types/vue-ui-tiremarks.d.ts +0 -57
- package/dist/types/vue-ui-treemap.d.ts +0 -87
- package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
- package/dist/types/vue-ui-waffle.d.ts +0 -86
- package/dist/types/vue-ui-wheel.d.ts +0 -57
- package/dist/types/vue-ui-word-cloud.d.ts +0 -84
- package/dist/types/vue-ui-world.d.ts +0 -81
- package/dist/types/vue-ui-xy-canvas.d.ts +0 -84
- package/dist/types/vue-ui-xy.d.ts +0 -125
- package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +0 -50
- package/dist/useChartAccessibility-Do37qcw2.js +0 -12
- package/dist/useConfig-ByaaSKhz.js +0 -7471
- package/dist/useFitSvgText-C-MEdAfe.js +0 -63
- package/dist/useNestedProp-Ck4hsrpu.js +0 -10
- package/dist/useObjectBindings-BR1sGimd.js +0 -189
- package/dist/usePanZoom-B-4M_gmY.js +0 -157
- package/dist/usePrefersMotion-BywLbIko.js +0 -15
- package/dist/usePrinter-X0yWOynH.js +0 -49
- package/dist/useResponsive-CrAInupd.js +0 -19
- package/dist/useStableElementSize-0I1IpHPl.js +0 -77
- package/dist/useSvgExport-Dtu973wa.js +0 -755
- package/dist/useTableResponsive-DrM1xqII.js +0 -24
- package/dist/useThemeCheck-rFK9Zlb_.js +0 -24
- package/dist/useTimeLabelCollider-Dm55Emzg.js +0 -57
- package/dist/useTimeLabels-C0x7zUXP.js +0 -272
- package/dist/useUserOptionState-CjPJPTg2.js +0 -15
- package/dist/utils.js +0 -28
- package/dist/vClickOutside-CbX_bC9A.js +0 -13
- package/dist/vue-data-ui-nsosW-n5.js +0 -274
- package/dist/vue-data-ui.js +0 -76
- package/dist/vue-ui-3d-bar-CTvvvgBE.js +0 -1757
- package/dist/vue-ui-accordion-BX9WL-QF.js +0 -81
- package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
- package/dist/vue-ui-annotator-Be3VpH8Z.js +0 -2899
- package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
- package/dist/vue-ui-bump-LQuPTOlm.js +0 -1249
- package/dist/vue-ui-candlestick-BeO06tlH.js +0 -1826
- package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
- package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
- package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
- package/dist/vue-ui-circle-pack-DyTYvEg3.js +0 -1608
- package/dist/vue-ui-cursor-C5_wkWul.js +0 -283
- package/dist/vue-ui-dag-mH0baWM3.js +0 -2909
- package/dist/vue-ui-dashboard-F7pEuJDh.js +0 -513
- package/dist/vue-ui-digits-BYBtwXy_.js +0 -209
- package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
- package/dist/vue-ui-donut-evolution-C46h0gLy.js +0 -1510
- package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
- package/dist/vue-ui-flow-BYYyk5KL.js +0 -1235
- package/dist/vue-ui-funnel-BfY509t-.js +0 -777
- package/dist/vue-ui-galaxy-D061gTYS.js +0 -1077
- package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
- package/dist/vue-ui-geo-BwOMFUVr.js +0 -1516
- package/dist/vue-ui-gizmo-CQsP8Nd3.js +0 -225
- package/dist/vue-ui-heatmap-DOsulVoP.js +0 -1568
- package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
- package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
- package/dist/vue-ui-kpi-CE-JFZ1o.js +0 -96
- package/dist/vue-ui-mini-loader-DDJUya9e.js +0 -125
- package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
- package/dist/vue-ui-mood-radar-B29gVcTN.js +0 -1148
- package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
- package/dist/vue-ui-onion-MN-PjNJq.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-C9zU7MP5.js +0 -1421
- package/dist/vue-ui-pattern-Bj-IPFr2.js +0 -154
- package/dist/vue-ui-pattern-seed-abRweCDE.js +0 -61
- package/dist/vue-ui-quadrant-h-QFG9O4.js +0 -1978
- package/dist/vue-ui-quick-chart-PAVz4c9z.js +0 -2469
- package/dist/vue-ui-radar-D2pVd53z.js +0 -1229
- package/dist/vue-ui-rating-D_QR_A3V.js +0 -343
- package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
- package/dist/vue-ui-ridgeline-DamvqiyJ.js +0 -1622
- package/dist/vue-ui-rings-DkHS5dwd.js +0 -1246
- package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
- package/dist/vue-ui-skeleton-zhkS1cmh.js +0 -2556
- package/dist/vue-ui-smiley-rFdGxZK6.js +0 -356
- package/dist/vue-ui-spark-trend-fQ10-UvM.js +0 -438
- package/dist/vue-ui-sparkbar-D5toou8V.js +0 -393
- package/dist/vue-ui-sparkgauge-DRZcIPYf.js +0 -255
- package/dist/vue-ui-sparkhistogram-YizEqFdN.js +0 -560
- package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
- package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
- package/dist/vue-ui-stackbar-BFLCEsRk.js +0 -2267
- package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
- package/dist/vue-ui-strip-plot-ByaDLFSL.js +0 -1340
- package/dist/vue-ui-table-DuA_CfGn.js +0 -1338
- package/dist/vue-ui-table-heatmap-BFKyJTr1.js +0 -344
- package/dist/vue-ui-table-sparkline-Dfei_QrJ.js +0 -707
- package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
- package/dist/vue-ui-timer-9LNNDl4q.js +0 -439
- package/dist/vue-ui-tiremarks-kF0Baqia.js +0 -552
- package/dist/vue-ui-treemap-BexKMBhz.js +0 -1587
- package/dist/vue-ui-waffle-Dq50j_uw.js +0 -1362
- package/dist/vue-ui-wheel-BETHlWsO.js +0 -885
- package/dist/vue-ui-word-cloud-D1AQtzmT.js +0 -1656
- package/dist/vue-ui-world-CcgbuSp_.js +0 -14264
- package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
- package/dist/vue-ui-xy-canvas-4ABYnasj.js +0 -1786
- package/dist/vue_ui_3d_bar-CXKqO5Ej.js +0 -185
- package/dist/vue_ui_age_pyramid-BON8QI6X.js +0 -301
- package/dist/vue_ui_bullet-CE5sFT7u.js +0 -186
- package/dist/vue_ui_bump-frnXaXul.js +0 -201
- package/dist/vue_ui_candlestick-sY6UtOop.js +0 -374
- package/dist/vue_ui_chestnut-BiUZFv40.js +0 -305
- package/dist/vue_ui_chord-DpyR_b9A.js +0 -275
- package/dist/vue_ui_circle_pack-FjH0ZQeb.js +0 -172
- package/dist/vue_ui_dag-Ci_MOnvd.js +0 -258
- package/dist/vue_ui_donut-Cx2_BGcQ.js +0 -358
- package/dist/vue_ui_donut_evolution-CAJefrHs.js +0 -717
- package/dist/vue_ui_dumbbell-CClzAZTN.js +0 -304
- package/dist/vue_ui_flow-CCHO1Lo9.js +0 -238
- package/dist/vue_ui_funnel-h8q2mRpC.js +0 -234
- package/dist/vue_ui_galaxy-70vtkEBw.js +0 -265
- package/dist/vue_ui_gauge-C17CgfzN.js +0 -178
- package/dist/vue_ui_geo-C0UbQ0Lc.js +0 -248
- package/dist/vue_ui_heatmap-BqPP3J4M.js +0 -319
- package/dist/vue_ui_history_plot-C5nytDHh.js +0 -413
- package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +0 -341
- package/dist/vue_ui_molecule-Dka4JBOp.js +0 -231
- package/dist/vue_ui_mood_radar-Dg4ijm53.js +0 -281
- package/dist/vue_ui_nested_donuts-BY9cOoHF.js +0 -273
- package/dist/vue_ui_onion-DTV9cup-.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +0 -278
- package/dist/vue_ui_quadrant-3kjYvxpj.js +0 -428
- package/dist/vue_ui_quick_chart--VaYQuM4.js +0 -139
- package/dist/vue_ui_radar-Dxx9GJmj.js +0 -306
- package/dist/vue_ui_relation_circle-Cr0I2SoU.js +0 -98
- package/dist/vue_ui_ridgeline-CAtYca4b.js +0 -767
- package/dist/vue_ui_rings-DXC1VeX5.js +0 -320
- package/dist/vue_ui_scatter-D2S2j0ap.js +0 -479
- package/dist/vue_ui_spark_trend-BHMQ6_1p.js +0 -82
- package/dist/vue_ui_sparkbar-BR6hbuDE.js +0 -64
- package/dist/vue_ui_sparkgauge-xfPRHnMv.js +0 -90
- package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +0 -123
- package/dist/vue_ui_sparkline-wgk7yO7E.js +0 -151
- package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +0 -175
- package/dist/vue_ui_stackbar-BW_C3MXw.js +0 -412
- package/dist/vue_ui_stackline-DXxzibUd.js +0 -460
- package/dist/vue_ui_strip_plot-8ZelqC5b.js +0 -301
- package/dist/vue_ui_table_heatmap-BGUjA0WA.js +0 -80
- package/dist/vue_ui_table_sparkline-i0Q-N_we.js +0 -124
- package/dist/vue_ui_thermometer-CuN7Gpez.js +0 -123
- package/dist/vue_ui_tiremarks-A6UHC0c3.js +0 -122
- package/dist/vue_ui_treemap-BQp06q-g.js +0 -328
- package/dist/vue_ui_vertical_bar-CJSD1FZS.js +0 -247
- package/dist/vue_ui_waffle-C_Ev4l7B.js +0 -292
- package/dist/vue_ui_wheel-DdkTPXJU.js +0 -133
- package/dist/vue_ui_word_cloud-B1PbsYPc.js +0 -254
- package/dist/vue_ui_xy-BYPqfYyx.js +0 -482
- package/dist/vue_ui_xy_canvas-CMHGNrLf.js +0 -408
|
@@ -1,560 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
|
-
import { G as t, H as n, Mt as r, St as i, X as a, i as o, jt as s, ot as c, t as l, zt as u } from "./lib-BkiwukKO.js";
|
|
3
|
-
import { t as d } from "./useConfig-ByaaSKhz.js";
|
|
4
|
-
import { n as f, t as p } from "./BaseScanner-C7dmAref.js";
|
|
5
|
-
import { t as m } from "./useNestedProp-Ck4hsrpu.js";
|
|
6
|
-
import { t as ee } from "./useThemeCheck-rFK9Zlb_.js";
|
|
7
|
-
import { t as te } from "./Shape-DEGOZ6GG.js";
|
|
8
|
-
import { t as ne } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
9
|
-
import { c as re } from "./canvas-lib-DTaADQOK.js";
|
|
10
|
-
import { t as ie } from "./useResponsive-CrAInupd.js";
|
|
11
|
-
import { t as ae } from "./A11yDataTable-q2-8fSlJ.js";
|
|
12
|
-
import { t as oe } from "./useChartAccessibility-Do37qcw2.js";
|
|
13
|
-
import { t as se } from "./useFitSvgText-C-MEdAfe.js";
|
|
14
|
-
import { t as ce } from "./vue_ui_sparkhistogram-CJRENZ1C.js";
|
|
15
|
-
import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as le, createVNode as ue, defineAsyncComponent as de, guardReactiveProps as fe, nextTick as pe, normalizeClass as me, normalizeProps as he, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, toRefs as ge, unref as O, useCssVars as _e, watch as ve } 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__ */ ne({
|
|
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: ne }) {
|
|
90
|
-
_e((e) => ({ v66b29b27: nt.value }));
|
|
91
|
-
let ye = de(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), { vue_ui_sparkhistogram: k } = d(), { isThemeValid: We, warnInvalidTheme: Ge } = ee(), A = e, j = w(n()), M = w(null), N = w(null), P = w(null), F = w(null), I = w(null), L = w(!1), R = w(null), z = w("pointer"), B = w(K()), Ke = g(() => u({
|
|
92
|
-
defaultConfig: { style: {
|
|
93
|
-
animation: { show: !1 },
|
|
94
|
-
backgroundColor: "#99999930"
|
|
95
|
-
} },
|
|
96
|
-
userConfig: B.value.skeletonConfig ?? {}
|
|
97
|
-
})), { loading: V, FINAL_DATASET: H, manualLoading: qe } = f({
|
|
98
|
-
...ge(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: u({
|
|
169
|
-
defaultConfig: B.value,
|
|
170
|
-
userConfig: Ke.value
|
|
171
|
-
})
|
|
172
|
-
}), U = w(B.value.style.layout.width), W = w(B.value.style.layout.height), { svgRef: G } = oe({ config: B.value.style.title });
|
|
173
|
-
function K() {
|
|
174
|
-
let e = m({
|
|
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 = m({
|
|
181
|
-
userConfig: ce[t] || A.config,
|
|
182
|
-
defaultConfig: e
|
|
183
|
-
});
|
|
184
|
-
return m({
|
|
185
|
-
userConfig: A.config,
|
|
186
|
-
defaultConfig: n
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
S(() => {
|
|
190
|
-
J();
|
|
191
|
-
});
|
|
192
|
-
let q = g(() => !!B.value.debug);
|
|
193
|
-
function J() {
|
|
194
|
-
if (i(A.dataset) ? a({
|
|
195
|
-
componentName: "VueUiSparkHistogram",
|
|
196
|
-
type: "dataset",
|
|
197
|
-
debug: q.value
|
|
198
|
-
}) : A.dataset.forEach((e, t) => {
|
|
199
|
-
c({
|
|
200
|
-
datasetObject: e,
|
|
201
|
-
requiredAttributes: ["value"]
|
|
202
|
-
}).forEach((e) => {
|
|
203
|
-
a({
|
|
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 = re(() => {
|
|
213
|
-
let { width: e, height: t } = ie({
|
|
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
|
-
ve(() => A.config, (e) => {
|
|
226
|
-
B.value = K(), J();
|
|
227
|
-
}, { deep: !0 });
|
|
228
|
-
let Y = g(() => {
|
|
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 = g(() => 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 = g(() => H.value.map((e, t) => {
|
|
246
|
-
let n = Ye(e.value || 0), r = Y.value.drawingHeight * n, i = Y.value.drawingWidth / H.value.length, a = i * (B.value.style.bars.gap / 100), o = i - a, c = Y.value.centerY - r / 2, l = Y.value.left + (a / 2 + t * i), u = Y.value.left + t * i, d = e.intensity === void 0 ? 100 : Math.round(e.intensity * 100), f = e.color ? e.color : e.value >= 0 ? s(B.value.style.bars.colors.positive, d) : s(B.value.style.bars.colors.negative, d), p = e.color ? e.color : e.value >= 0 ? B.value.style.bars.colors.positive : B.value.style.bars.colors.negative, m = e.color ? `url(#gradient_datapoint_${t}_${j.value})` : e.value >= 0 ? `url(#gradient_positive_${t}_${j.value})` : `url(#gradient_negative_${t}_${j.value})`, ee = l + o / 2;
|
|
247
|
-
return {
|
|
248
|
-
...e,
|
|
249
|
-
color: f,
|
|
250
|
-
gradient: m,
|
|
251
|
-
height: r,
|
|
252
|
-
intensity: d,
|
|
253
|
-
proportion: n,
|
|
254
|
-
stroke: p,
|
|
255
|
-
textAnchor: ee,
|
|
256
|
-
trapX: u,
|
|
257
|
-
unitWidth: i,
|
|
258
|
-
width: o,
|
|
259
|
-
x: l,
|
|
260
|
-
y: c
|
|
261
|
-
};
|
|
262
|
-
}));
|
|
263
|
-
function Xe(e, n) {
|
|
264
|
-
return o(B.value.style.labels.value.formatter, e.value, t({
|
|
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: n
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
let Z = w(null), Ze = ne;
|
|
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 = g(() => `${B.value.style.animation.speedMs}ms`), { fitText: Q } = se({
|
|
300
|
-
svgRef: G,
|
|
301
|
-
unitWidth: g(() => Y.value.drawingWidth / H.value.length * .9)
|
|
302
|
-
});
|
|
303
|
-
S(async () => {
|
|
304
|
-
await pe(), 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
|
-
}), ve([
|
|
306
|
-
U,
|
|
307
|
-
W,
|
|
308
|
-
() => H.value
|
|
309
|
-
], async () => {
|
|
310
|
-
await pe(), 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 $ = g(() => ({
|
|
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, n) => (C(), y("div", {
|
|
357
|
-
class: "vue-data-ui-component vue-ui-spark-histogram",
|
|
358
|
-
ref_key: "histogramChart",
|
|
359
|
-
ref: P,
|
|
360
|
-
style: x(`width:100%;background:${B.value.style.backgroundColor};font-family:${B.value.style.fontFamily}`),
|
|
361
|
-
onMouseleave: tt
|
|
362
|
-
}, [
|
|
363
|
-
b("div", {
|
|
364
|
-
id: `chart-instructions-${j.value}`,
|
|
365
|
-
class: "sr-only"
|
|
366
|
-
}, [b("p", null, D(B.value.a11y.translations.keyboardNavigation), 1)], 8, be),
|
|
367
|
-
$.value?.rows?.length ? (C(), _(ae, {
|
|
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
|
-
])) : v("", !0),
|
|
381
|
-
B.value.style.title.text ? (C(), y("div", {
|
|
382
|
-
key: 1,
|
|
383
|
-
ref_key: "chartTitle",
|
|
384
|
-
ref: N,
|
|
385
|
-
style: x(`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
|
-
}, [b("div", { style: x(`font-size:${B.value.style.title.fontSize}px;color:${B.value.style.title.color};font-weight:${B.value.style.title.bold ? "bold" : "normal"}`) }, [
|
|
387
|
-
le(D(B.value.style.title.text) + " ", 1),
|
|
388
|
-
Z.value === null ? v("", !0) : (C(), y("span", xe, "- " + D(X.value[Z.value].timeLabel || "") + " " + D(O(o)(B.value.style.labels.value.formatter, X.value[Z.value].value, O(t)({
|
|
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) ? (C(), y("span", Se, D(` (${X.value[Z.value].valueLabel || 0})`), 1)) : v("", !0)
|
|
398
|
-
], 4), B.value.style.title.subtitle.text ? (C(), y("div", {
|
|
399
|
-
key: 0,
|
|
400
|
-
style: x(`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
|
-
}, D(B.value.style.title.subtitle.text), 5)) : v("", !0)], 4)) : v("", !0),
|
|
402
|
-
b("div", Ce, [(C(), y("svg", {
|
|
403
|
-
ref_key: "svgRef",
|
|
404
|
-
ref: G,
|
|
405
|
-
xmlns: O(l),
|
|
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
|
-
ue(O(ye)),
|
|
415
|
-
e.$slots["chart-background"] ? (C(), y("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
|
-
}, [E(e.$slots, "chart-background", {}, void 0, !0)], 8, Te)) : v("", !0),
|
|
423
|
-
b("defs", null, [
|
|
424
|
-
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("radialGradient", {
|
|
425
|
-
id: `gradient_positive_${t}_${j.value}`,
|
|
426
|
-
cy: "50%",
|
|
427
|
-
cx: "50%",
|
|
428
|
-
r: "50%",
|
|
429
|
-
fx: "50%",
|
|
430
|
-
fy: "50%"
|
|
431
|
-
}, [b("stop", {
|
|
432
|
-
offset: "0%",
|
|
433
|
-
"stop-color": O(s)(O(r)(B.value.style.bars.colors.positive, .05), e.intensity)
|
|
434
|
-
}, null, 8, De), b("stop", {
|
|
435
|
-
offset: "100%",
|
|
436
|
-
"stop-color": O(s)(B.value.style.bars.colors.positive, e.intensity)
|
|
437
|
-
}, null, 8, Oe)], 8, Ee))), 256)),
|
|
438
|
-
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("radialGradient", {
|
|
439
|
-
id: `gradient_negative_${t}_${j.value}`,
|
|
440
|
-
cy: "50%",
|
|
441
|
-
cx: "50%",
|
|
442
|
-
r: "50%",
|
|
443
|
-
fx: "50%",
|
|
444
|
-
fy: "50%"
|
|
445
|
-
}, [b("stop", {
|
|
446
|
-
offset: "0%",
|
|
447
|
-
"stop-color": O(s)(O(r)(B.value.style.bars.colors.negative, .05), e.intensity)
|
|
448
|
-
}, null, 8, Ae), b("stop", {
|
|
449
|
-
offset: "100%",
|
|
450
|
-
"stop-color": O(s)(B.value.style.bars.colors.negative, e.intensity)
|
|
451
|
-
}, null, 8, je)], 8, ke))), 256)),
|
|
452
|
-
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("radialGradient", {
|
|
453
|
-
id: `gradient_datapoint_${t}_${j.value}`,
|
|
454
|
-
cy: "50%",
|
|
455
|
-
cx: "50%",
|
|
456
|
-
r: "50%",
|
|
457
|
-
fx: "50%",
|
|
458
|
-
fy: "50%"
|
|
459
|
-
}, [b("stop", {
|
|
460
|
-
offset: "0%",
|
|
461
|
-
"stop-color": O(s)(O(r)(e.color, .05), e.intensity)
|
|
462
|
-
}, null, 8, Ne), b("stop", {
|
|
463
|
-
offset: "100%",
|
|
464
|
-
"stop-color": O(s)(e.color, e.intensity)
|
|
465
|
-
}, null, 8, Pe)], 8, Me))), 256))
|
|
466
|
-
]),
|
|
467
|
-
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [Z.value !== null && Z.value === t ? (C(), y("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)) : v("", !0)]))), 256)),
|
|
479
|
-
!B.value.style.bars.shape || B.value.style.bars.shape === "square" ? (C(), y("g", Ie, [(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("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: me({ "vue-ui-sparkhistogram-shape": B.value.style.animation.show })
|
|
489
|
-
}, null, 10, Le))), 256))])) : (C(), y("g", Re, [(C(!0), y(h, null, T(X.value, (e, t) => (C(), _(te, {
|
|
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: me({ "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
|
-
O(V) ? v("", !0) : (C(), y(h, { key: 3 }, [
|
|
506
|
-
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [B.value.style.labels.value.show ? (C(), y("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
|
-
}, D(Xe(e, t)), 9, ze)) : v("", !0)]))), 256)),
|
|
516
|
-
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [e.valueLabel && B.value.style.labels.valueLabel.show ? (C(), y("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
|
-
}, D(e.valueLabel), 9, Be)) : v("", !0)]))), 256)),
|
|
525
|
-
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [e.timeLabel && B.value.style.labels.timeLabel.show ? (C(), y("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
|
-
}, D(e.timeLabel), 9, Ve)) : v("", !0)]))), 256))
|
|
534
|
-
], 64)),
|
|
535
|
-
(C(!0), y(h, null, T(X.value, (e, t) => (C(), y("g", null, [b("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 ? (C(), y("div", Ue, [E(e.$slots, "hint", he(fe({
|
|
546
|
-
hint: B.value.a11y.translations.keyboardNavigation,
|
|
547
|
-
isVisible: L.value
|
|
548
|
-
})), void 0, !0)])) : v("", !0)]),
|
|
549
|
-
e.$slots.source ? (C(), y("div", {
|
|
550
|
-
key: 2,
|
|
551
|
-
ref_key: "source",
|
|
552
|
-
ref: M,
|
|
553
|
-
dir: "auto"
|
|
554
|
-
}, [E(e.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
|
|
555
|
-
E(e.$slots, "skeleton", {}, () => [O(V) ? (C(), _(p, { key: 0 })) : v("", !0)], !0)
|
|
556
|
-
], 36));
|
|
557
|
-
}
|
|
558
|
-
}, [["__scopeId", "data-v-8a87ff32"]]);
|
|
559
|
-
//#endregion
|
|
560
|
-
export { ye as n, k as t };
|