vue-data-ui 2.12.6 → 2.12.7-beta.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.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-C5-RFd0F.js} +1 -1
  2. package/dist/BaseDraggableDialog-CKbomZCX.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-DhWmrDAn.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-F4TctKaQ.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Y5HbiUZU.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DtTYopxf.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-PC9Yu1K_.js +467 -0
  8. package/dist/PackageVersion-DaWGaZxE.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-C-CpE0NC.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-B6kIkp2s.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-DXpA-pZk.js} +2 -2
  15. package/dist/SparkTooltip-DcdMxgqn.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-Bc66VstS.js} +2 -2
  17. package/dist/Tooltip-B07vY6jm.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-C8X2STEg.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DH-7H-9g.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-CEn9LJxg.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BHEd2dgu.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BfkyEFza.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-CZztHZIm.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-C8URL2IU.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-C0tGhjs9.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-CriyJ0Da.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-DntThSTF.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BwgozppD.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-C20X1YRt.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-B264jwvu.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-ECSEPy9m.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-BxjeL4B6.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-CJNnQbPC.js} +356 -364
  41. package/dist/vue-ui-circle-pack-0RLVrL7y.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
  45. package/dist/vue-ui-donut-BIFf4SLq.js +1292 -0
  46. package/dist/vue-ui-donut-evolution-mc_-1JSs.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-D50S44wU.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-CxDTjjYn.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DeC0U017.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-n0MW2u-q.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-AYMCSEtU.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-Ckz1h7XW.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-m0SgFsTu.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-BrcF_YLL.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-DiVxDYiV.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
  57. package/dist/vue-ui-molecule-BCUC8QED.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-DrrjD9S1.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-8RTss1yH.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-CmPLnisN.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +292 -298
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-CdM3bVZs.js} +403 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-C-lgCI6O.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Dq94lb99.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-DceDRLFc.js} +2 -2
  66. package/dist/vue-ui-relation-circle-DsKddA_I.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-CVR7NvJ_.js} +313 -317
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-B0soMLZ5.js} +260 -266
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Bq4_NUfW.js} +368 -374
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CG3Pn3Zg.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-aGKTgh42.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend--6lA4742.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-BXx7Vglf.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-zM4_Tgqb.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-BDNrZbWN.js} +93 -95
  76. package/dist/vue-ui-sparkline-CzzyDmYJ.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-tBSUQ_09.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-BriZOfj6.js} +409 -412
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-DzYyFp3o.js} +240 -246
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-C2qosrZR.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-COKfg2KT.js} +90 -90
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-D7C5AiCp.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-CDG6vSMm.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-DOoO0CVB.js} +180 -181
  85. package/dist/vue-ui-tiremarks-BSPIy1A3.js +341 -0
  86. package/dist/vue-ui-treemap-DsMmxgin.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-B2_ZHuyv.js} +381 -386
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-YhkwHcUX.js} +312 -318
  89. package/dist/vue-ui-wheel-CWHJwyyL.js +335 -0
  90. package/dist/vue-ui-word-cloud-BLgEqHRF.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-BQelvSLD.js} +389 -400
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-D1luVUXJ.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-C7Pu9RFN.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,9 +1,9 @@
1
1
  import { ref as w, computed as g, createElementBlock as e, openBlock as o, normalizeStyle as n, normalizeClass as N, createCommentVNode as a, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as h, createStaticVNode as $ } from "vue";
2
- import { u as F, Q as B, X as u, s as v, Z as O } from "./index-BFzQMJda.js";
3
- import { u as V } from "./useNestedProp-v7KPpwuP.js";
4
- import { _ as y } from "./PackageVersion-BjrblLPQ.js";
2
+ import { u as F, Q as B, X as u, s as v, Z as O } from "./index-BHEd2dgu.js";
3
+ import { u as V } from "./useNestedProp-CZztHZIm.js";
4
+ import y from "./PackageVersion-DaWGaZxE.js";
5
5
  import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = ["d", "fill", "stroke"], D = ["xmlns"], U = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], u1 = ["stroke"], c1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], Y1 = ["stroke", "fill"], D1 = ["fill"], U1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], ul = ["stroke", "fill"], cl = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Yl = ["fill"], Dl = ["xmlns"], Ul = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], u0 = ["stroke"], c0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Y0 = ["x", "y", "height", "width", "fill"], D0 = ["xmlns", "viewBox"], U0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ut = ["stroke", "stroke-width"], ct = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Ut = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ue = ["x", "y", "fill"], ce = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
6
+ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = ["d", "fill", "stroke"], Y = ["xmlns"], D = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], u1 = ["stroke"], c1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], U1 = ["stroke", "fill"], Y1 = ["fill"], D1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], ul = ["stroke", "fill"], cl = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Ul = ["fill"], Yl = ["xmlns"], Dl = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], u0 = ["stroke"], c0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], U0 = ["x", "y", "height", "width", "fill"], Y0 = ["xmlns", "viewBox"], D0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ut = ["stroke", "stroke-width"], ct = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Ut = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ue = ["x", "y", "fill"], ce = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
7
7
  __name: "vue-ui-skeleton",
8
8
  props: {
9
9
  config: {
@@ -272,7 +272,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
272
272
  style: n({
273
273
  opacity: i > 3 ? 0.6 : 1
274
274
  })
275
- }, null, 12, Y))), 128))
275
+ }, null, 12, U))), 128))
276
276
  ])
277
277
  ], 12, R)) : a("", !0),
278
278
  c.value === "ridgeline" ? (o(), e("svg", {
@@ -311,7 +311,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
311
311
  "stop-color": l.value.style.ridgeline.color,
312
312
  "stop-opacity": "0.1"
313
313
  }, null, 8, t1)
314
- ], 8, U)
314
+ ], 8, D)
315
315
  ]),
316
316
  t("path", {
317
317
  fill: `url(#ridgeline-gradient-${f.value})`,
@@ -353,7 +353,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
353
353
  "stroke-linecap": "round",
354
354
  "stroke-linejoin": "round"
355
355
  }, null, 8, i1)
356
- ], 12, D)) : a("", !0),
356
+ ], 12, Y)) : a("", !0),
357
357
  c.value === "historyPlot" ? (o(), e("svg", {
358
358
  key: 2,
359
359
  xmlns: s(u),
@@ -702,7 +702,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
702
702
  stroke: l.value.style.backgroundColor,
703
703
  "stroke-width": 0.3,
704
704
  fill: l.value.style.dumbbell.color
705
- }, null, 8, Y1),
705
+ }, null, 8, U1),
706
706
  t("path", {
707
707
  d: `
708
708
  M 30,31
@@ -713,7 +713,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
713
713
  30,29 Z
714
714
  `,
715
715
  fill: l.value.style.dumbbell.color
716
- }, null, 8, D1),
716
+ }, null, 8, Y1),
717
717
  t("circle", {
718
718
  cx: "30",
719
719
  cy: "30",
@@ -721,7 +721,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
721
721
  stroke: l.value.style.backgroundColor,
722
722
  "stroke-width": 0.3,
723
723
  fill: l.value.style.dumbbell.color
724
- }, null, 8, U1),
724
+ }, null, 8, D1),
725
725
  t("circle", {
726
726
  cx: "60",
727
727
  cy: "30",
@@ -1174,7 +1174,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
1174
1174
  width: "6",
1175
1175
  rx: "1.5",
1176
1176
  fill: l.value.style.sparkHistogram.color
1177
- }, null, 8, Yl)
1177
+ }, null, 8, Ul)
1178
1178
  ], 12, Ql)) : a("", !0),
1179
1179
  c.value === "sparkbar" ? (o(), e("svg", {
1180
1180
  key: 13,
@@ -1193,7 +1193,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
1193
1193
  "stroke-linecap": "round",
1194
1194
  stroke: l.value.style.sparkbar.color,
1195
1195
  opacity: "0.5"
1196
- }, null, 8, Ul),
1196
+ }, null, 8, Dl),
1197
1197
  t("line", {
1198
1198
  x1: "12",
1199
1199
  x2: "400",
@@ -1244,7 +1244,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
1244
1244
  stroke: l.value.style.sparkbar.color,
1245
1245
  opacity: "1"
1246
1246
  }, null, 8, e0)
1247
- ], 12, Dl)) : a("", !0),
1247
+ ], 12, Yl)) : a("", !0),
1248
1248
  c.value === "sparkStackbar" ? (o(), e("svg", {
1249
1249
  key: 14,
1250
1250
  xmlns: s(u),
@@ -1643,7 +1643,7 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
1643
1643
  width: 464 / (x.value.length - 1) / 4,
1644
1644
  fill: l.value.style.candlesticks.candle.color,
1645
1645
  rx: "1"
1646
- }, null, 8, Y0)
1646
+ }, null, 8, U0)
1647
1647
  ]))), 256))
1648
1648
  ], 12, F0)) : a("", !0),
1649
1649
  c.value === "heatmap" ? (o(), e("svg", {
@@ -1664,10 +1664,10 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
1664
1664
  stroke: l.value.style.backgroundColor,
1665
1665
  "stroke-width": 1,
1666
1666
  fill: s(v)(l.value.style.heatmap.color, Math.round(Math.random() * 100))
1667
- }, null, 8, U0)
1667
+ }, null, 8, D0)
1668
1668
  ]))), 256))
1669
1669
  ]))), 256))
1670
- ], 12, D0)) : a("", !0),
1670
+ ], 12, Y0)) : a("", !0),
1671
1671
  c.value === "chestnut" ? (o(), e("svg", {
1672
1672
  key: 25,
1673
1673
  xmlns: s(u),
@@ -2050,19 +2050,19 @@ const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, Y = [
2050
2050
  r: l.value.style.quadrant.plots.radius,
2051
2051
  cx: "76",
2052
2052
  cy: "32"
2053
- }, null, 8, Yt),
2053
+ }, null, 8, Ut),
2054
2054
  t("circle", {
2055
2055
  fill: l.value.style.quadrant.plots.color,
2056
2056
  r: l.value.style.quadrant.plots.radius,
2057
2057
  cx: "85",
2058
2058
  cy: "26"
2059
- }, null, 8, Dt),
2059
+ }, null, 8, Yt),
2060
2060
  t("circle", {
2061
2061
  fill: l.value.style.quadrant.plots.color,
2062
2062
  r: l.value.style.quadrant.plots.radius,
2063
2063
  cx: "55",
2064
2064
  cy: "46"
2065
- }, null, 8, Ut)
2065
+ }, null, 8, Dt)
2066
2066
  ], 12, It)) : a("", !0),
2067
2067
  c.value === "radar" ? (o(), e("svg", {
2068
2068
  key: 33,
@@ -1,6 +1,6 @@
1
1
  import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
2
- import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-BFzQMJda.js";
3
- import { u as Q } from "./useNestedProp-v7KPpwuP.js";
2
+ import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-BHEd2dgu.js";
3
+ import { u as Q } from "./useNestedProp-CZztHZIm.js";
4
4
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const Z = {
6
6
  key: 0,
@@ -1,15 +1,12 @@
1
- import { computed as s, ref as k, watch as E, onMounted as K, createElementBlock as u, openBlock as o, normalizeStyle as Q, createBlock as L, createCommentVNode as r, unref as h, createVNode as Y, createElementVNode as _, renderSlot as D, toDisplayString as O } from "vue";
2
- import { u as ee, c as te, a as ae, a1 as S, o as le, e as ne, v as c, a2 as oe, X as se, s as M, U as G, f as U, i as ue } from "./index-BFzQMJda.js";
3
- import { u as q } from "./useNestedProp-v7KPpwuP.js";
4
- import I from "./BaseIcon-CNbwMh_-.js";
5
- import re from "./vue-ui-skeleton-B_YI7Yuc.js";
6
- import { _ as ie } from "./PackageVersion-BjrblLPQ.js";
7
- import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["id"], fe = ["stop-color"], pe = ["stop-color"], ge = { key: 1 }, me = ["d", "fill"], ke = ["d", "fill"], _e = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], be = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], we = ["height", "width", "x"], xe = { style: { width: "100%" } }, Ce = ["x", "y", "fill", "font-size", "font-weight"], Le = ["stroke", "cx", "cy", "fill"], $e = ["x", "y", "font-size", "fill", "font-weight"], Ne = {
1
+ import { defineAsyncComponent as M, computed as s, ref as k, watch as D, onMounted as ee, createElementBlock as r, openBlock as o, normalizeStyle as te, createBlock as L, createCommentVNode as i, unref as u, createVNode as ae, createElementVNode as _, renderSlot as O, toDisplayString as G } from "vue";
2
+ import { u as le, c as ne, a as oe, a1 as I, o as se, e as ue, v as c, a2 as re, X as ie, s as F, U, f as P, i as de } from "./index-BHEd2dgu.js";
3
+ import { u as q } from "./useNestedProp-CZztHZIm.js";
4
+ import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["id"], pe = ["stop-color"], ge = ["stop-color"], me = { key: 1 }, ke = ["d", "fill"], _e = ["d", "fill"], be = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], we = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], xe = ["height", "width", "x"], Ce = { style: { width: "100%" } }, Le = ["x", "y", "fill", "font-size", "font-weight"], $e = ["stroke", "cx", "cy", "fill"], Ne = ["x", "y", "font-size", "fill", "font-weight"], Te = {
9
6
  key: 2,
10
7
  ref: "source",
11
8
  dir: "auto"
12
- }, Te = {
9
+ }, ze = {
13
10
  __name: "vue-ui-spark-trend",
14
11
  props: {
15
12
  config: {
@@ -25,58 +22,58 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
25
22
  }
26
23
  }
27
24
  },
28
- setup(P) {
29
- const { vue_ui_spark_trend: W } = ee(), i = P, X = s(() => !!i.dataset && i.dataset.length), b = k(te()), e = s({
30
- get: () => F(),
25
+ setup(W) {
26
+ const $ = M(() => import("./BaseIcon-DhWmrDAn.js")), X = M(() => import("./PackageVersion-DaWGaZxE.js")), Z = M(() => import("./vue-ui-skeleton-CG3Pn3Zg.js")), { vue_ui_spark_trend: R } = le(), d = W, H = s(() => !!d.dataset && d.dataset.length), b = k(ne()), e = s({
27
+ get: () => j(),
31
28
  set: (t) => t
32
29
  });
33
- function F() {
30
+ function j() {
34
31
  const t = q({
35
- userConfig: i.config,
36
- defaultConfig: W
32
+ userConfig: d.config,
33
+ defaultConfig: R
37
34
  });
38
35
  return t.theme ? {
39
36
  ...q({
40
- userConfig: ae.vue_ui_spark_trend[t.theme] || i.config,
37
+ userConfig: oe.vue_ui_spark_trend[t.theme] || d.config,
41
38
  defaultConfig: t
42
39
  })
43
40
  } : t;
44
41
  }
45
- const f = s(() => S({
46
- data: i.dataset,
42
+ const f = s(() => I({
43
+ data: d.dataset,
47
44
  threshold: e.value.downsample.threshold
48
45
  }));
49
- E(() => i.config, (t) => {
50
- e.value = F(), j();
51
- }, { deep: !0 }), E(() => i.dataset, (t) => {
52
- g.value = S({
53
- data: i.dataset,
46
+ D(() => d.config, (t) => {
47
+ e.value = j(), A();
48
+ }, { deep: !0 }), D(() => d.dataset, (t) => {
49
+ g.value = I({
50
+ data: d.dataset,
54
51
  threshold: e.value.downsample.threshold
55
52
  }).map((n) => [void 0, 1 / 0, -1 / 0, null, NaN].includes(n) ? null : n);
56
53
  }, { deep: !0 });
57
- function $(t) {
54
+ function N(t) {
58
55
  return t.map((n) => c(n));
59
56
  }
60
- const g = k(S({
61
- data: i.dataset,
57
+ const g = k(I({
58
+ data: d.dataset,
62
59
  threshold: e.value.downsample.threshold
63
- }).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t)), m = k(!1), N = k(null);
64
- K(() => {
65
- j();
66
- let n = 1e3 / e.value.style.animation.animationFrames, v = performance.now();
67
- if (e.value.style.animation.show && e.value.style.animation.animationFrames && i.dataset.length > 1) {
68
- let z = function() {
60
+ }).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t)), m = k(!1), T = k(null);
61
+ ee(() => {
62
+ A();
63
+ let n = 1e3 / e.value.style.animation.animationFrames, h = performance.now();
64
+ if (e.value.style.animation.show && e.value.style.animation.animationFrames && d.dataset.length > 1) {
65
+ let S = function() {
69
66
  m.value = !0;
70
- let B = performance.now(), V = B - v;
71
- V > n ? (v = B - V % n, p < f.value.length ? (g.value.push(f.value[p]), p += 1, N.value = requestAnimationFrame(z)) : (cancelAnimationFrame(N.value), g.value = $(f.value), m.value = !1)) : N.value = requestAnimationFrame(z);
67
+ let B = performance.now(), E = B - h;
68
+ E > n ? (h = B - E % n, p < f.value.length ? (g.value.push(f.value[p]), p += 1, T.value = requestAnimationFrame(S)) : (cancelAnimationFrame(T.value), g.value = N(f.value), m.value = !1)) : T.value = requestAnimationFrame(S);
72
69
  };
73
70
  g.value = [];
74
71
  let p = 0;
75
- z();
72
+ S();
76
73
  }
77
74
  });
78
- function j() {
79
- le(i.dataset) && ne({
75
+ function A() {
76
+ se(d.dataset) && ue({
80
77
  componentName: "VueUiSparkTrend",
81
78
  type: "dataset"
82
79
  });
@@ -91,56 +88,56 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
91
88
  bottom: l.value.height - e.value.style.padding.bottom,
92
89
  height: l.value.height - (e.value.style.padding.top + e.value.style.padding.bottom) - (e.value.style.dataLabel.show ? e.value.style.dataLabel.fontSize : 0),
93
90
  width: l.value.width - (e.value.style.padding.left + e.value.style.padding.right)
94
- })), T = s(() => {
95
- const t = $(f.value);
91
+ })), z = s(() => {
92
+ const t = N(f.value);
96
93
  return {
97
94
  max: Math.max(...t.map((n) => c(n))),
98
95
  min: Math.min(...t.map((n) => c(n)))
99
96
  };
100
97
  }), w = s(() => {
101
- const t = T.value.min >= 0 ? 0 : T.value.min;
98
+ const t = z.value.min >= 0 ? 0 : z.value.min;
102
99
  return Math.abs(t);
103
- }), Z = s(() => T.value.max + w.value);
104
- function A(t) {
105
- return t / Z.value;
100
+ }), J = s(() => z.value.max + w.value);
101
+ function V(t) {
102
+ return t / J.value;
106
103
  }
107
- const R = s(() => f.value.length), a = s(() => g.value.map((t, n) => {
108
- const v = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
104
+ const K = s(() => f.value.length), a = s(() => g.value.map((t, n) => {
105
+ const h = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
109
106
  return {
110
107
  value: c(t),
111
- absoluteValue: c(v),
112
- plotValue: c(v + w.value),
113
- toMax: A(v + w.value),
114
- x: y.value.left + c(n * (y.value.width / (R.value - 1))) - e.value.style.padding.right,
115
- y: y.value.bottom - c(y.value.height * A(v + w.value))
108
+ absoluteValue: c(h),
109
+ plotValue: c(h + w.value),
110
+ toMax: V(h + w.value),
111
+ x: y.value.left + c(n * (y.value.width / (K.value - 1))) - e.value.style.padding.right,
112
+ y: y.value.bottom - c(y.value.height * V(h + w.value))
116
113
  };
117
114
  })), x = s(() => {
118
- const t = $(f.value);
119
- return e.value.style.trendLabel.trendType === "global" ? oe(t) : e.value.style.trendLabel.trendType === "n-1" && t.length > 1 ? (t.at(-1) / t.at(-2) - 1) * 100 : e.value.style.trendLabel.trendType === "lastToFirst" ? (t.at(-1) / t[0] - 1) * 100 : 0;
120
- }), C = s(() => m.value || x.value === 0 ? "neutral" : x.value > 0 ? "positive" : "negative"), d = s(() => e.value.style.arrow.colors[C.value]), H = s(() => {
121
- const t = { x: a.value[0].x, y: l.value.height - 6 }, n = { x: a.value[a.value.length - 1].x, y: l.value.height - 6 }, v = [];
115
+ const t = N(f.value);
116
+ return e.value.style.trendLabel.trendType === "global" ? re(t) : e.value.style.trendLabel.trendType === "n-1" && t.length > 1 ? (t.at(-1) / t.at(-2) - 1) * 100 : e.value.style.trendLabel.trendType === "lastToFirst" ? (t.at(-1) / t[0] - 1) * 100 : 0;
117
+ }), C = s(() => m.value || x.value === 0 ? "neutral" : x.value > 0 ? "positive" : "negative"), v = s(() => e.value.style.arrow.colors[C.value]), Q = s(() => {
118
+ const t = { x: a.value[0].x, y: l.value.height - 6 }, n = { x: a.value[a.value.length - 1].x, y: l.value.height - 6 }, h = [];
122
119
  return a.value.forEach((p) => {
123
- v.push(`${p.x},${p.y} `);
124
- }), [t.x, t.y, ...v, n.x, n.y].toString();
125
- }), J = s(() => {
120
+ h.push(`${p.x},${p.y} `);
121
+ }), [t.x, t.y, ...h, n.x, n.y].toString();
122
+ }), Y = s(() => {
126
123
  let t = [];
127
124
  return a.value.forEach((n) => {
128
125
  t.push(`${n.x},${n.y} `);
129
126
  }), `M ${t.toString()}`;
130
127
  });
131
- return (t, n) => (o(), u("div", {
128
+ return (t, n) => (o(), r("div", {
132
129
  class: "vue-ui-spark-trend",
133
130
  id: b.value,
134
- style: Q(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`)
131
+ style: te(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`)
135
132
  }, [
136
- X.value ? (o(), u("svg", {
133
+ H.value ? (o(), r("svg", {
137
134
  key: 1,
138
- xmlns: h(se),
135
+ xmlns: u(ie),
139
136
  viewBox: `0 0 ${l.value.width} ${l.value.height}`,
140
137
  style: "width:100%;background:transparent;overflow:visible"
141
138
  }, [
142
- Y(ie),
143
- t.$slots["chart-background"] ? (o(), u("foreignObject", {
139
+ ae(u(X)),
140
+ t.$slots["chart-background"] ? (o(), r("foreignObject", {
144
141
  key: 0,
145
142
  x: 0,
146
143
  y: 0,
@@ -150,8 +147,8 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
150
147
  pointerEvents: "none"
151
148
  }
152
149
  }, [
153
- D(t.$slots, "chart-background", {}, void 0, !0)
154
- ], 8, ce)) : r("", !0),
150
+ O(t.$slots, "chart-background", {}, void 0, !0)
151
+ ], 8, ye)) : i("", !0),
155
152
  _("defs", null, [
156
153
  _("linearGradient", {
157
154
  x1: "0%",
@@ -162,116 +159,116 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
162
159
  }, [
163
160
  _("stop", {
164
161
  offset: "0%",
165
- "stop-color": h(M)(e.value.style.line.useColorTrend ? d.value : e.value.style.line.stroke, e.value.style.area.opacity)
166
- }, null, 8, fe),
162
+ "stop-color": u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity)
163
+ }, null, 8, pe),
167
164
  _("stop", {
168
165
  offset: "100%",
169
166
  "stop-color": e.value.style.backgroundColor
170
- }, null, 8, pe)
171
- ], 8, ye)
167
+ }, null, 8, ge)
168
+ ], 8, fe)
172
169
  ]),
173
- e.value.style.area.show && a.value[0] ? (o(), u("g", ge, [
174
- e.value.style.line.smooth ? (o(), u("path", {
170
+ e.value.style.area.show && a.value[0] ? (o(), r("g", me, [
171
+ e.value.style.line.smooth ? (o(), r("path", {
175
172
  key: 0,
176
- d: `M ${a.value[0].x},${y.value.bottom} ${h(G)(a.value)} L ${a.value.at(-1).x},${y.value.bottom} Z`,
177
- fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` : h(M)(e.value.style.line.useColorTrend ? d.value : e.value.style.line.stroke, e.value.style.area.opacity),
173
+ d: `M ${a.value[0].x},${y.value.bottom} ${u(U)(a.value)} L ${a.value.at(-1).x},${y.value.bottom} Z`,
174
+ fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` : u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity),
178
175
  stroke: "none"
179
- }, null, 8, me)) : (o(), u("path", {
176
+ }, null, 8, ke)) : (o(), r("path", {
180
177
  key: 1,
181
- d: `M${H.value}Z`,
182
- fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` : h(M)(e.value.style.line.useColorTrend ? d.value : e.value.style.line.stroke, e.value.style.area.opacity),
178
+ d: `M${Q.value}Z`,
179
+ fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` : u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity),
183
180
  stroke: "none"
184
- }, null, 8, ke))
185
- ])) : r("", !0),
186
- e.value.style.line.smooth && a.value.length ? (o(), u("path", {
181
+ }, null, 8, _e))
182
+ ])) : i("", !0),
183
+ e.value.style.line.smooth && a.value.length ? (o(), r("path", {
187
184
  key: 2,
188
- d: `M ${h(G)(a.value)}`,
189
- stroke: e.value.style.line.useColorTrend ? d.value : e.value.style.line.stroke,
185
+ d: `M ${u(U)(a.value)}`,
186
+ stroke: e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke,
190
187
  fill: "none",
191
188
  "stroke-width": e.value.style.line.strokeWidth,
192
189
  "stroke-linecap": e.value.style.line.strokeLinecap,
193
190
  "stroke-linejoin": e.value.style.line.strokeLinejoin
194
- }, null, 8, _e)) : r("", !0),
195
- !e.value.style.line.smooth && a.value.length ? (o(), u("path", {
191
+ }, null, 8, be)) : i("", !0),
192
+ !e.value.style.line.smooth && a.value.length ? (o(), r("path", {
196
193
  key: 3,
197
- d: J.value,
198
- stroke: e.value.style.line.useColorTrend ? d.value : e.value.style.line.stroke,
194
+ d: Y.value,
195
+ stroke: e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke,
199
196
  fill: "none",
200
197
  "stroke-width": e.value.style.line.strokeWidth,
201
198
  "stroke-linecap": e.value.style.line.strokeLinecap,
202
199
  "stroke-linejoin": e.value.style.line.strokeLinejoin
203
- }, null, 8, be)) : r("", !0),
204
- m.value ? r("", !0) : (o(), u("foreignObject", {
200
+ }, null, 8, we)) : i("", !0),
201
+ m.value ? i("", !0) : (o(), r("foreignObject", {
205
202
  key: 4,
206
203
  height: l.value.height / 2,
207
204
  width: l.value.height / 2,
208
205
  x: l.value.height / 5,
209
206
  y: 8
210
207
  }, [
211
- _("div", xe, [
212
- C.value === "positive" ? (o(), L(I, {
208
+ _("div", Ce, [
209
+ C.value === "positive" ? (o(), L(u($), {
213
210
  key: 0,
214
- stroke: d.value,
211
+ stroke: v.value,
215
212
  name: "arrowTop",
216
213
  size: l.value.height / 2
217
- }, null, 8, ["stroke", "size"])) : r("", !0),
218
- C.value === "negative" ? (o(), L(I, {
214
+ }, null, 8, ["stroke", "size"])) : i("", !0),
215
+ C.value === "negative" ? (o(), L(u($), {
219
216
  key: 1,
220
- stroke: d.value,
217
+ stroke: v.value,
221
218
  name: "arrowBottom",
222
219
  size: l.value.height / 2
223
- }, null, 8, ["stroke", "size"])) : r("", !0),
224
- C.value === "neutral" ? (o(), L(I, {
220
+ }, null, 8, ["stroke", "size"])) : i("", !0),
221
+ C.value === "neutral" ? (o(), L(u($), {
225
222
  key: 2,
226
- stroke: d.value,
223
+ stroke: v.value,
227
224
  name: "arrowRight",
228
225
  size: l.value.height / 2
229
- }, null, 8, ["stroke", "size"])) : r("", !0)
226
+ }, null, 8, ["stroke", "size"])) : i("", !0)
230
227
  ])
231
- ], 8, we)),
232
- m.value ? r("", !0) : (o(), u("text", {
228
+ ], 8, xe)),
229
+ m.value ? i("", !0) : (o(), r("text", {
233
230
  key: 5,
234
231
  x: l.value.height / 2 - l.value.height / 20,
235
232
  y: y.value.bottom,
236
233
  "text-anchor": "middle",
237
- fill: e.value.style.trendLabel.useColorTrend ? d.value : e.value.style.trendLabel.color,
234
+ fill: e.value.style.trendLabel.useColorTrend ? v.value : e.value.style.trendLabel.color,
238
235
  "font-size": e.value.style.trendLabel.fontSize,
239
236
  "font-weight": e.value.style.trendLabel.bold ? "bold" : "normal"
240
- }, O(h(U)({
237
+ }, G(u(P)({
241
238
  p: x.value > 0 ? "+" : "",
242
239
  v: x.value,
243
240
  s: "%",
244
241
  r: e.value.style.trendLabel.rounding
245
- })), 9, Ce)),
246
- a.value.length && a.value.at(-1).x !== void 0 ? (o(), u("circle", {
242
+ })), 9, Le)),
243
+ a.value.length && a.value.at(-1).x !== void 0 ? (o(), r("circle", {
247
244
  key: 6,
248
245
  stroke: e.value.style.backgroundColor,
249
246
  "stroke-width": 2,
250
247
  cx: a.value.at(-1).x,
251
248
  cy: a.value.at(-1).y,
252
249
  r: 4,
253
- fill: d.value
254
- }, null, 8, Le)) : r("", !0),
255
- a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (o(), u("text", {
250
+ fill: v.value
251
+ }, null, 8, $e)) : i("", !0),
252
+ a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (o(), r("text", {
256
253
  key: 7,
257
254
  "text-anchor": "middle",
258
255
  x: a.value.at(-1).x,
259
256
  y: a.value.at(-1).y - e.value.style.dataLabel.fontSize / 1.5,
260
257
  "font-size": e.value.style.dataLabel.fontSize,
261
- fill: e.value.style.dataLabel.useColorTrend ? d.value : e.value.style.dataLabel.color,
258
+ fill: e.value.style.dataLabel.useColorTrend ? v.value : e.value.style.dataLabel.color,
262
259
  "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
263
- }, O(h(ue)(
260
+ }, G(u(de)(
264
261
  e.value.style.dataLabel.formatter,
265
262
  a.value.at(-1).value,
266
- h(U)({
263
+ u(P)({
267
264
  p: e.value.style.dataLabel.prefix,
268
265
  v: a.value.at(-1).value,
269
266
  s: e.value.style.dataLabel.suffix,
270
267
  r: e.value.style.dataLabel.rounding
271
268
  }),
272
269
  { datapoint: a.value.at(-1) }
273
- )), 9, $e)) : r("", !0)
274
- ], 8, he)) : (o(), L(re, {
270
+ )), 9, Ne)) : i("", !0)
271
+ ], 8, ce)) : (o(), L(u(Z), {
275
272
  key: 0,
276
273
  config: {
277
274
  type: "sparkline",
@@ -283,12 +280,12 @@ const ve = ["id"], he = ["xmlns", "viewBox"], ce = ["width", "height"], ye = ["i
283
280
  }
284
281
  }
285
282
  }, null, 8, ["config"])),
286
- t.$slots.source ? (o(), u("div", Ne, [
287
- D(t.$slots, "source", {}, void 0, !0)
288
- ], 512)) : r("", !0)
289
- ], 12, ve));
283
+ t.$slots.source ? (o(), r("div", Te, [
284
+ O(t.$slots, "source", {}, void 0, !0)
285
+ ], 512)) : i("", !0)
286
+ ], 12, he));
290
287
  }
291
- }, Be = /* @__PURE__ */ de(Te, [["__scopeId", "data-v-38d02804"]]);
288
+ }, je = /* @__PURE__ */ ve(ze, [["__scopeId", "data-v-1a673d38"]]);
292
289
  export {
293
- Be as default
290
+ je as default
294
291
  };