vue-data-ui 3.2.7 → 3.3.0

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 (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
  8. package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
  84. package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
  90. package/dist/useSvgExport-B7-Vrjtu.js +732 -0
  91. package/dist/vue-data-ui-DLU1snC3.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
  94. package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
  95. package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
  96. package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
  97. package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
  98. package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
  99. package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
  100. package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
  101. package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
  102. package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
  104. package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
  105. package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
  106. package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
  107. package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
  108. package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
  109. package/dist/vue-ui-flow--kiGWaq4.js +931 -0
  110. package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
  111. package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
  112. package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
  113. package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
  114. package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
  115. package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
  116. package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
  117. package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
  118. package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
  119. package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
  121. package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
  123. package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
  124. package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
  125. package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
  126. package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
  127. package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
  128. package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
  129. package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
  130. package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
  131. package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
  132. package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
  133. package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
  134. package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
  135. package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
  136. package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
  137. package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
  138. package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
  139. package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
  140. package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
  141. package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
  142. package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
  143. package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
  144. package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
  145. package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
  146. package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
  147. package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
  149. package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
  150. package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
  151. package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
  152. package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
  153. package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
  154. package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-DH8opsJv.js +0 -325
  157. package/dist/vue-ui-flow-B72CBzC3.js +0 -909
  158. package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
  159. package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
@@ -1,23 +1,24 @@
1
- import { defineAsyncComponent as O, computed as d, ref as i, shallowRef as nt, toRefs as Zt, onBeforeUnmount as rt, watch as Q, nextTick as $e, watchEffect as ea, createElementBlock as r, openBlock as n, unref as u, normalizeStyle as w, normalizeClass as ae, createBlock as T, createCommentVNode as v, renderSlot as p, createElementVNode as y, createSlots as _e, withCtx as f, normalizeProps as le, guardReactiveProps as oe, createVNode as Te, Fragment as m, renderList as k, mergeProps as Pe, toDisplayString as R, resolveDynamicComponent as ta, createTextVNode as Se } from "vue";
2
- import { c as Me, t as aa, e as la, h as oa, p as se, aa as ut, ab as sa, T as it, U as na, V as ra, X as ua, E as ia, L as ca, a as ne, d as re, b as va, f as Oe, g as ct, o as ha, x as da, y as ya, N as fa } from "./lib-BEpWEyMm.js";
3
- import { t as vt, u as ga } from "./useResponsive-DfdjqQps.js";
4
- import { u as ma, a as ht } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as pa, B as ba } from "./BaseScanner-BgWxam9d.js";
6
- import { u as xa } from "./usePrinter-w23K-ezx.js";
7
- import { u as ka } from "./useTimeLabels-BGFjWgrv.js";
8
- import { u as Aa } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as Ca } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as wa } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import { t as $a } from "./themes-Dw-dDudK.js";
12
- import _a from "./Legend-BpoFJ8fc.js";
13
- import Ta from "./Title-DG2nloSB.js";
14
- import { _ as Pa } from "./Shape-C_C_OmqR.js";
15
- import Sa from "./img-DjWwQXVS.js";
16
- import { _ as Ma } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"], Ia = ["stop-color"], Na = ["stop-color"], Fa = ["stop-color"], Ra = ["id"], Ea = ["stop-color"], Ha = ["stop-color"], Xa = ["stop-color"], Ba = ["stop-color"], Ua = { key: 0 }, Va = ["fill", "d"], Wa = ["stroke", "stroke-width", "d"], Ga = ["fill", "d"], Ya = ["stroke", "stroke-dasharray", "stroke-width", "d"], ja = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], qa = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ja = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Ka = { key: 0 }, Qa = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Za = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], el = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], al = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], ll = ["x", "y", "text-anchor", "font-size", "fill"], ol = {
1
+ import { defineAsyncComponent as L, computed as c, ref as i, shallowRef as rt, toRefs as sa, onBeforeUnmount as ut, watch as Q, nextTick as $e, watchEffect as na, createElementBlock as r, openBlock as n, unref as u, normalizeStyle as w, normalizeClass as oe, createBlock as T, createCommentVNode as h, renderSlot as p, createElementVNode as y, createSlots as _e, withCtx as g, normalizeProps as se, guardReactiveProps as ne, createVNode as Te, Fragment as m, renderList as k, mergeProps as Se, toDisplayString as R, resolveDynamicComponent as ra, createTextVNode as Pe } from "vue";
2
+ import { c as Oe, t as ua, e as ia, h as ca, p as re, aa as it, ab as va, T as ct, U as ha, V as da, X as ya, E as ga, L as fa, a as ue, d as ie, b as ma, f as Le, g as vt, o as pa, x as ba, y as xa, N as ka } from "./lib-GIYcnm0E.js";
3
+ import { t as ht, u as Aa } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ca, a as dt } from "./useNestedProp-mxyyqd0B.js";
5
+ import { u as wa, B as $a } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as _a } from "./usePrinter-DYRFiw7X.js";
7
+ import { u as Ta } from "./useSvgExport-B7-Vrjtu.js";
8
+ import { u as Sa } from "./useTimeLabels-BGFjWgrv.js";
9
+ import { u as Pa } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as Oa } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as La } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import { t as Ma } from "./themes-Dw-dDudK.js";
13
+ import za from "./Legend-DsogCeTb.js";
14
+ import Da from "./Title-D17CJXko.js";
15
+ import { _ as Ia } from "./Shape-DJG2zW7b.js";
16
+ import Na from "./img-6wPuVVtk.js";
17
+ import { _ as Fa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ha = ["id"], Xa = ["stop-color"], Ba = ["stop-color"], Ua = ["stop-color"], Va = ["stop-color"], Ga = ["id"], Wa = ["stop-color"], Ya = ["stop-color"], ja = ["stop-color"], qa = ["stop-color"], Ja = { key: 0 }, Ka = ["fill", "d"], Qa = ["stroke", "stroke-width", "d"], Za = ["fill", "d"], el = ["stroke", "stroke-dasharray", "stroke-width", "d"], tl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], al = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], ll = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], ol = { key: 0 }, sl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], nl = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], rl = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], il = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], cl = ["x", "y", "text-anchor", "font-size", "fill"], vl = {
18
19
  key: 4,
19
20
  class: "vue-data-ui-watermark"
20
- }, sl = ["onClick"], nl = ["innerHTML"], rl = {
21
+ }, hl = ["onClick"], dl = ["innerHTML"], yl = {
21
22
  __name: "vue-ui-ridgeline",
22
23
  props: {
23
24
  config: {
@@ -34,32 +35,32 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
34
35
  }
35
36
  },
36
37
  emits: ["selectLegend", "selectDatapoint", "selectX"],
37
- setup(dt, { expose: yt, emit: ft }) {
38
- const gt = O(() => import("./vue-ui-xy-BxpuE9Ng.js")), mt = O(() => import("./BaseIcon-Bz-1GQhu.js")), pt = O(() => import("./vue-ui-accordion-CeMTgpl0.js")), bt = O(() => import("./DataTable-BvjacRbw.js")), xt = O(() => import("./PenAndPaper-CR8q353D.js")), kt = O(() => import("./UserOptions-DsTgvAok.js")), At = O(() => import("./PackageVersion-Cwrh45ON.js")), Le = O(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_ridgeline: Ct } = ma(), E = dt, U = d({
38
+ setup(yt, { expose: gt, emit: ft }) {
39
+ const mt = L(() => import("./vue-ui-xy-B2fjTYMJ.js")), pt = L(() => import("./BaseIcon-CtqN7W_g.js")), bt = L(() => import("./vue-ui-accordion-Dch9YrCi.js")), xt = L(() => import("./DataTable-BeI6gYJX.js")), kt = L(() => import("./PenAndPaper-BxbYiPy4.js")), At = L(() => import("./UserOptions-B3vCIe-u.js")), Ct = L(() => import("./PackageVersion-C9oklnuy.js")), Me = L(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_ridgeline: wt } = Ca(), E = yt, U = c({
39
40
  get() {
40
41
  return Array.isArray(z.value) && z.value.length > 0;
41
42
  },
42
43
  set(t) {
43
44
  return t;
44
45
  }
45
- }), ue = ft, $ = i(null), ze = i(null), De = i(null), P = nt(null), L = nt(null), Ie = i(null), Ne = i(null), ie = i(0), wt = i(0), ce = i(0), A = i(Me()), Fe = i(0), $t = i(0), Re = i(512), h = i(null), H = i(null), ve = i(null), Ee = i(0), he = i(null), V = i(null), de = i(null);
46
- function ye() {
47
- const t = ht({
46
+ }), ce = ft, $ = i(null), ze = i(null), De = i(null), S = rt(null), M = rt(null), Ie = i(null), Ne = i(null), ve = i(0), $t = i(0), he = i(0), A = i(Oe()), Fe = i(0), _t = i(0), Re = i(512), d = i(null), H = i(null), de = i(null), Ee = i(0), ye = i(null), V = i(null), ge = i(null);
47
+ function fe() {
48
+ const t = dt({
48
49
  userConfig: E.config,
49
- defaultConfig: Ct
50
+ defaultConfig: wt
50
51
  });
51
52
  return t.theme ? {
52
- ...ht({
53
- userConfig: $a.vue_ui_ridgeline[t.theme] || E.config,
53
+ ...dt({
54
+ userConfig: Ma.vue_ui_ridgeline[t.theme] || E.config,
54
55
  defaultConfig: t
55
56
  }),
56
- customPalette: va[t.theme] || se
57
+ customPalette: ma[t.theme] || re
57
58
  } : t;
58
59
  }
59
- const e = i(ye()), { loading: W, FINAL_DATASET: z, manualLoading: fe } = pa({
60
- ...Zt(E),
60
+ const e = i(fe()), { loading: G, FINAL_DATASET: z, manualLoading: me } = wa({
61
+ ...sa(E),
61
62
  FINAL_CONFIG: e,
62
- prepareConfig: ye,
63
+ prepareConfig: fe,
63
64
  skeletonDataset: [
64
65
  {
65
66
  name: "_",
@@ -152,7 +153,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
152
153
  ]
153
154
  }
154
155
  ],
155
- skeletonConfig: aa({
156
+ skeletonConfig: ua({
156
157
  defaultConfig: e.value,
157
158
  userConfig: {
158
159
  userOptions: { show: !1 },
@@ -198,45 +199,45 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
198
199
  userOptionsVisible: Z,
199
200
  setUserOptionsVisibility: He,
200
201
  keepUserOptionState: Xe
201
- } = Aa({ config: e.value }), { svgRef: ge } = Ca({ config: e.value.style.chart.title }), me = d(() => !!e.value.debug);
202
+ } = Pa({ config: e.value }), { svgRef: ee } = Oa({ config: e.value.style.chart.title }), pe = c(() => !!e.value.debug);
202
203
  function Be() {
203
204
  const t = z.value || [];
204
205
  if (!Array.isArray(t) || t.length === 0) {
205
- Oe({ componentName: "VueUiRidgeline", type: "dataset", debug: me.value }), fe.value = !0;
206
+ Le({ componentName: "VueUiRidgeline", type: "dataset", debug: pe.value }), me.value = !0;
206
207
  return;
207
208
  }
208
209
  if (t.forEach((o, a) => {
209
- ct({
210
+ vt({
210
211
  datasetObject: o,
211
212
  requiredAttributes: ["name", "datapoints"]
212
213
  }).forEach((s) => {
213
- U.value = !1, Oe({
214
+ U.value = !1, Le({
214
215
  componentName: "VueUiRidgeline",
215
216
  type: "datasetSerieAttribute",
216
217
  property: s,
217
218
  index: a,
218
- debug: me.value
219
+ debug: pe.value
219
220
  });
220
221
  }), Array.isArray(o.datapoints) && o.datapoints.length && o.datapoints.forEach((s, l) => {
221
- ct({
222
+ vt({
222
223
  datasetObject: s,
223
224
  requiredAttributes: ["name", "values"]
224
- }).forEach((c) => {
225
- U.value = !1, Oe({
225
+ }).forEach((v) => {
226
+ U.value = !1, Le({
226
227
  componentName: "VueUiRidgeline",
227
228
  type: "datasetSerieAttribute",
228
- property: `datapoint.${c}`,
229
+ property: `datapoint.${v}`,
229
230
  index: `${a}-${l}`,
230
- debug: me.value
231
+ debug: pe.value
231
232
  });
232
233
  });
233
234
  });
234
- }), $t.value = t.length, C.value = Math.min(
235
+ }), _t.value = t.length, C.value = Math.min(
235
236
  e.value.style.chart.areas.height,
236
237
  e.value.style.chart.areas.rowHeight
237
- ), ha(E.dataset) || (fe.value = e.value.loading), e.value.responsive) {
238
- const o = vt(() => {
239
- const { width: a, height: s } = ga({
238
+ ), pa(E.dataset) || (me.value = e.value.loading), e.value.responsive) {
239
+ const o = ht(() => {
240
+ const { width: a, height: s } = Aa({
240
241
  chart: $.value,
241
242
  title: e.value.style.chart.title.text ? ze.value : null,
242
243
  legend: e.value.style.chart.legend.show ? De.value : null,
@@ -248,29 +249,29 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
248
249
  Re.value = a, C.value = t.length ? s / t.length : 0, Ee.value = s - 12;
249
250
  });
250
251
  });
251
- P.value && (L.value && P.value.unobserve(L.value), P.value.disconnect()), P.value = new ResizeObserver(o), L.value = $.value?.parentNode || null, L.value && P.value.observe(L.value);
252
+ S.value && (M.value && S.value.unobserve(M.value), S.value.disconnect()), S.value = new ResizeObserver(o), M.value = $.value?.parentNode || null, M.value && S.value.observe(M.value);
252
253
  }
253
254
  }
254
- rt(() => {
255
- P.value && (L.value && P.value.unobserve(L.value), P.value.disconnect());
255
+ ut(() => {
256
+ S.value && (M.value && S.value.unobserve(M.value), S.value.disconnect());
256
257
  });
257
- const { isPrinting: Ue, isImaging: Ve, generatePdf: We, generateImage: Ge } = xa({
258
+ const { isPrinting: Ue, isImaging: Ve, generatePdf: Ge, generateImage: We } = _a({
258
259
  elementId: `vue-ui-ridgeline_${A.value}`,
259
260
  fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
260
261
  options: e.value.userOptions.print
261
- }), _t = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Tt = d(() => la(e.value.customPalette)), D = i({
262
+ }), Tt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), St = c(() => ia(e.value.customPalette)), D = i({
262
263
  showTable: e.value.table.show
263
264
  });
264
265
  Q(
265
266
  () => z.value,
266
267
  async (t) => {
267
- Array.isArray(t) && t.length && (Z.value = !e.value.userOptions.showOnChartHover, await $e(), Be(), ie.value += 1, ce.value += 1, D.value.showTable = e.value.table.show);
268
+ Array.isArray(t) && t.length && (Z.value = !e.value.userOptions.showOnChartHover, await $e(), Be(), ve.value += 1, he.value += 1, D.value.showTable = e.value.table.show);
268
269
  },
269
270
  { deep: !0, immediate: !0 }
270
271
  ), Q(() => E.dataset, (t) => {
271
- Array.isArray(t) && t.length > 0 && (fe.value = !1);
272
+ Array.isArray(t) && t.length > 0 && (me.value = !1);
272
273
  }, { deep: !0 }), Q(
273
- () => W.value,
274
+ () => G.value,
274
275
  async (t) => {
275
276
  t || (await $e(), Be());
276
277
  },
@@ -278,58 +279,58 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
278
279
  ), Q(
279
280
  () => E.config,
280
281
  () => {
281
- e.value = ye(z.value || null), Z.value = !e.value.userOptions.showOnChartHover, C.value = Math.min(e.value.style.chart.areas.height, e.value.style.chart.areas.rowHeight), D.value.showTable = e.value.table.show, ie.value += 1, ce.value += 1;
282
+ e.value = fe(z.value || null), Z.value = !e.value.userOptions.showOnChartHover, C.value = Math.min(e.value.style.chart.areas.height, e.value.style.chart.areas.rowHeight), D.value.showTable = e.value.table.show, ve.value += 1, he.value += 1;
282
283
  },
283
284
  { deep: !0 }
284
285
  );
285
- const pe = d(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
286
+ const be = c(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
286
287
  function Ye(t) {
287
- M.value.includes(t) ? M.value = M.value.filter((o) => o !== t) : M.value.push(t), ue("selectLegend", B.value);
288
+ O.value.includes(t) ? O.value = O.value.filter((o) => o !== t) : O.value.push(t), ce("selectLegend", B.value);
288
289
  }
289
- const S = d(() => U.value ? (z.value || []).map((t) => ({
290
+ const P = c(() => U.value ? (z.value || []).map((t) => ({
290
291
  ...t,
291
- labelLen: It(t.name, e.value.style.chart.yAxis.labels.fontSize),
292
- uid: Me(),
292
+ labelLen: Nt(t.name, e.value.style.chart.yAxis.labels.fontSize),
293
+ uid: Oe(),
293
294
  datapoints: t.datapoints.map((o, a) => {
294
- const s = o.color ? oa(o.color) : Tt.value[a] || se[a] || se[a % se.length], l = ut(o.name);
295
+ const s = o.color ? ca(o.color) : St.value[a] || re[a] || re[a % re.length], l = it(o.name);
295
296
  return { ...o, color: s, id: l };
296
297
  })
297
- })) : []), je = d(() => e.value.style.chart.padding.top + C.value * (z.value || []).length + C.value * pe.value + e.value.style.chart.padding.bottom), g = d(() => {
298
+ })) : []), je = c(() => e.value.style.chart.padding.top + C.value * (z.value || []).length + C.value * be.value + e.value.style.chart.padding.bottom), f = c(() => {
298
299
  const t = e.value.style.chart.padding;
299
300
  return {
300
301
  width: Re.value,
301
302
  height: je.value,
302
303
  padding: t
303
304
  };
304
- }), Pt = d(() => g.value.width), St = d(() => g.value.height), be = i(0), Mt = vt((t) => {
305
- be.value = t;
305
+ }), Pt = c(() => f.value.width), Ot = c(() => f.value.height), xe = i(0), Lt = ht((t) => {
306
+ xe.value = t;
306
307
  }, 100);
307
- ea((t) => {
308
- const o = he.value;
308
+ na((t) => {
309
+ const o = ye.value;
309
310
  if (!o) return;
310
311
  const a = new ResizeObserver((s) => {
311
- Mt(s[0].contentRect.height);
312
+ Lt(s[0].contentRect.height);
312
313
  });
313
314
  a.observe(o), t(() => a.disconnect());
314
- }), rt(() => {
315
- be.value = 0;
315
+ }), ut(() => {
316
+ xe.value = 0;
316
317
  });
317
- const b = d(() => ({
318
- fullHeight: g.value.height + be.value,
319
- top: g.value.padding.top,
320
- left: g.value.padding.left,
321
- right: g.value.width - g.value.padding.right,
322
- bottom: g.value.height - e.value.style.chart.padding.bottom,
323
- width: g.value.width - (g.value.padding.left + g.value.padding.right)
324
- })), G = d(() => Math.max(...S.value.flatMap((t) => t.datapoints.map((o) => o.values.length)))), Y = d(() => ka({
318
+ const b = c(() => ({
319
+ fullHeight: f.value.height + xe.value,
320
+ top: f.value.padding.top,
321
+ left: f.value.padding.left,
322
+ right: f.value.width - f.value.padding.right,
323
+ bottom: f.value.height - e.value.style.chart.padding.bottom,
324
+ width: f.value.width - (f.value.padding.left + f.value.padding.right)
325
+ })), W = c(() => Math.max(...P.value.flatMap((t) => t.datapoints.map((o) => o.values.length)))), Y = c(() => Sa({
325
326
  values: e.value.style.chart.xAxis.labels.values,
326
- maxDatapoints: G.value,
327
+ maxDatapoints: W.value,
327
328
  formatter: e.value.style.chart.xAxis.labels.datetimeFormatter,
328
329
  start: 0,
329
330
  end: e.value.style.chart.xAxis.labels.values.length
330
- })), X = d(() => {
331
- const t = Math.max(...S.value.map((l) => l.labelLen)), o = g.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, a = (b.value.width - o) / G.value, s = [];
332
- for (let l = 0; l < G.value; l += 1)
331
+ })), X = c(() => {
332
+ const t = Math.max(...P.value.map((l) => l.labelLen)), o = f.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, a = (b.value.width - o) / W.value, s = [];
333
+ for (let l = 0; l < W.value; l += 1)
333
334
  s.push({
334
335
  selectorX: o + a * l,
335
336
  x: o + a * l - a / 2,
@@ -341,45 +342,45 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
341
342
  });
342
343
  return s;
343
344
  });
344
- function xe(t) {
345
- return S.value.map((o) => o.datapoints.map((a) => ({
345
+ function ke(t) {
346
+ return P.value.map((o) => o.datapoints.map((a) => ({
346
347
  dp: a,
347
348
  selected: a.values[t.index]
348
349
  })));
349
350
  }
350
- function Ot(t) {
351
- h.value = t;
352
- const o = xe(t);
351
+ function Mt(t) {
352
+ d.value = t;
353
+ const o = ke(t);
353
354
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: t.index });
354
355
  }
355
- function Lt(t) {
356
- h.value = null;
357
- const o = xe(t);
356
+ function zt(t) {
357
+ d.value = null;
358
+ const o = ke(t);
358
359
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: o, seriesIndex: t.index });
359
360
  }
360
- function zt(t) {
361
- const o = xe(t);
362
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: t.index }), ue("selectX", o);
361
+ function Dt(t) {
362
+ const o = ke(t);
363
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: t.index }), ce("selectX", o);
363
364
  }
364
- function Dt(t, o) {
365
+ function It(t, o) {
365
366
  return t.length * o / 2 + o;
366
367
  }
367
368
  function qe(t, o, a) {
368
- const s = Dt(o, a);
369
+ const s = It(o, a);
369
370
  return t + s > b.value.right;
370
371
  }
371
- function It(t, o, a = "sans-serif") {
372
- const l = document.createElement("canvas").getContext("2d"), c = typeof o == "number" ? `${o}px` : o;
373
- return l.font = `${c} ${a}`, l.measureText(t).width;
372
+ function Nt(t, o, a = "sans-serif") {
373
+ const l = document.createElement("canvas").getContext("2d"), v = typeof o == "number" ? `${o}px` : o;
374
+ return l.font = `${v} ${a}`, l.measureText(t).width;
374
375
  }
375
- const B = d(() => {
376
+ const B = c(() => {
376
377
  C.value;
377
- const t = Math.max(...S.value.map((x) => x.labelLen)), o = Math.max(...S.value.flatMap((x) => x.datapoints.flatMap((q) => q.values))), a = Math.min(...S.value.flatMap((x) => x.datapoints.flatMap((q) => q.values))), s = g.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, l = (b.value.width - s) / G.value, c = Math.abs(Math.min(a, 0)), _ = o + c;
378
- function at(x) {
378
+ const t = Math.max(...P.value.map((x) => x.labelLen)), o = Math.max(...P.value.flatMap((x) => x.datapoints.flatMap((q) => q.values))), a = Math.min(...P.value.flatMap((x) => x.datapoints.flatMap((q) => q.values))), s = f.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, l = (b.value.width - s) / W.value, v = Math.abs(Math.min(a, 0)), _ = o + v;
379
+ function lt(x) {
379
380
  return isNaN(x / _) ? 0 : x / _;
380
381
  }
381
- return S.value.map((x, q) => {
382
- const lt = b.value.top + C.value * q, N = b.value.top + lt + C.value * pe.value * (1 - at(c));
382
+ return P.value.map((x, q) => {
383
+ const ot = b.value.top + C.value * q, N = b.value.top + ot + C.value * be.value * (1 - lt(v));
383
384
  return {
384
385
  ...x,
385
386
  label: {
@@ -387,51 +388,51 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
387
388
  y: N
388
389
  },
389
390
  datapoints: x.datapoints.map((J) => {
390
- const F = J.values.map((K, jt) => {
391
- const qt = isNaN(K) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(K) ? 0 : K || 0, Jt = s + l * jt, Kt = b.value.top + lt + C.value * pe.value * (1 - at(qt + c)), Qt = K === Math.max(...J.values);
391
+ const F = J.values.map((K, ea) => {
392
+ const ta = isNaN(K) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(K) ? 0 : K || 0, aa = s + l * ea, la = b.value.top + ot + C.value * be.value * (1 - lt(ta + v)), oa = K === Math.max(...J.values);
392
393
  return {
393
- x: Jt,
394
- y: Kt,
394
+ x: aa,
395
+ y: la,
395
396
  value: K,
396
- isMaxPoint: Qt,
397
+ isMaxPoint: oa,
397
398
  zero: N
398
399
  };
399
- }), Vt = `${sa(F, N, !1, !1)}`, Wt = `M ${s},${N} ${it(F)} ${F.at(-1).x},${N}`, Gt = `M ${s},${N} ${F.at(-1).x},${N}`, ot = `M ${na(F)}`, st = `M ${it(F)}`, Yt = ra(
400
- e.value.style.chart.areas.smooth ? ot : st
400
+ }), Jt = `${va(F, N, !1, !1)}`, Kt = `M ${s},${N} ${ct(F)} ${F.at(-1).x},${N}`, Qt = `M ${s},${N} ${F.at(-1).x},${N}`, st = `M ${ha(F)}`, nt = `M ${ct(F)}`, Zt = da(
401
+ e.value.style.chart.areas.smooth ? st : nt
401
402
  );
402
403
  return {
403
404
  ...J,
404
- uid: Me(),
405
+ uid: Oe(),
405
406
  plots: F,
406
- smoothPath: Vt,
407
- straightPath: Wt,
408
- zeroPath: Gt,
409
- pathLength: Yt,
410
- smoothPathRidge: ot,
411
- straightPathRidge: st
407
+ smoothPath: Jt,
408
+ straightPath: Kt,
409
+ zeroPath: Qt,
410
+ pathLength: Zt,
411
+ smoothPathRidge: st,
412
+ straightPathRidge: nt
412
413
  };
413
- }).filter((J) => !M.value.includes(J.id))
414
+ }).filter((J) => !O.value.includes(J.id))
414
415
  };
415
416
  });
416
- }), M = i([]);
417
- function Nt(t) {
417
+ }), O = i([]);
418
+ function Ft(t) {
418
419
  const o = /* @__PURE__ */ new Map();
419
420
  return t.forEach((a) => {
420
421
  a.datapoints.forEach((s, l) => {
421
- const c = ut(s.name);
422
- o.has(c) || o.set(c, {
423
- id: c,
422
+ const v = it(s.name);
423
+ o.has(v) || o.set(v, {
424
+ id: v,
424
425
  name: s.name,
425
426
  color: s.color,
426
427
  shape: "circle",
427
- segregate: () => Ye(c),
428
- isSegregated: M.value.includes(c),
429
- opacity: M.value.includes(c) ? 0.5 : 1
428
+ segregate: () => Ye(v),
429
+ isSegregated: O.value.includes(v),
430
+ opacity: O.value.includes(v) ? 0.5 : 1
430
431
  });
431
432
  });
432
433
  }), Array.from(o.values());
433
434
  }
434
- const ke = d(() => Nt(S.value)), Ft = d(() => ({
435
+ const te = c(() => Ft(P.value)), Rt = c(() => ({
435
436
  cy: "donut-div-legend",
436
437
  backgroundColor: e.value.style.chart.legend.backgroundColor,
437
438
  color: e.value.style.chart.legend.color,
@@ -443,15 +444,15 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
443
444
  I.value = t, Fe.value += 1;
444
445
  }
445
446
  const Ke = i({}), Qe = i([]);
446
- function Rt(t) {
447
- ue("selectDatapoint", t), e.value.style.chart.dialog.show && (Qe.value = t.datapoints.map((o) => ({
447
+ function Et(t) {
448
+ ce("selectDatapoint", t), e.value.style.chart.dialog.show && (Qe.value = t.datapoints.map((o) => ({
448
449
  name: o.name,
449
450
  color: o.color,
450
451
  type: "line",
451
452
  useArea: !0,
452
453
  smooth: e.value.style.chart.areas.smooth,
453
454
  series: o.values
454
- })), H.value = t, Ke.value = fa({
455
+ })), H.value = t, Ke.value = ka({
455
456
  ...e.value.style.chart.dialog.xyChart,
456
457
  responsive: !0,
457
458
  // Overriding
@@ -481,23 +482,23 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
481
482
  // Overriding
482
483
  }
483
484
  }
484
- }), ve.value && ve.value.open());
485
+ }), de.value && de.value.open());
485
486
  }
486
487
  const Ae = i(null);
487
- function Et(t) {
488
+ function Ht(t) {
488
489
  Ae.value = t;
489
490
  }
490
- function Ht() {
491
+ function Xt() {
491
492
  Ae.value = null;
492
493
  }
493
- const ee = i(!1);
494
+ const ae = i(!1);
494
495
  function Ce() {
495
- ee.value = !ee.value;
496
+ ae.value = !ae.value;
496
497
  }
497
498
  function Ze() {
498
499
  D.value.showTable = !D.value.showTable;
499
500
  }
500
- const et = d(() => ({ body: B.value.flatMap((a) => a.datapoints.flatMap((s) => ({
501
+ const et = c(() => ({ body: B.value.flatMap((a) => a.datapoints.flatMap((s) => ({
501
502
  ...s,
502
503
  rowName: `${a.name}: ${s.name}`
503
504
  }))).map((a) => [
@@ -506,7 +507,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
506
507
  color: a.color
507
508
  },
508
509
  ...a.values
509
- ]) })), te = d(() => {
510
+ ]) })), le = c(() => {
510
511
  const t = [
511
512
  e.value.table.columnNames.series,
512
513
  ...Y.value.map((s) => s.text)
@@ -537,50 +538,50 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
537
538
  $e(() => {
538
539
  const o = [
539
540
  [e.value.table.columnNames.series, ...Y.map((l) => [l.text])],
540
- ...et.value.body.map((l, c) => [l[0].name, ...l.slice(1)])
541
+ ...et.value.body.map((l, v) => [l[0].name, ...l.slice(1)])
541
542
  ], a = [
542
543
  [e.value.style.chart.title.text],
543
544
  [e.value.style.chart.title.subtitle.text]
544
- ].concat(o), s = da(a);
545
- t ? t(s) : ya({
545
+ ].concat(o), s = ba(a);
546
+ t ? t(s) : xa({
546
547
  csvContent: s,
547
548
  title: e.value.style.chart.title.text || "vue-ui-ridgeline"
548
549
  });
549
550
  });
550
551
  }
551
- function Xt() {
552
+ function Bt() {
552
553
  return B.value;
553
554
  }
554
- async function Bt({ scale: t = 2 } = {}) {
555
+ async function Ut({ scale: t = 2 } = {}) {
555
556
  if (!$.value) return;
556
- const { width: o, height: a } = $.value.getBoundingClientRect(), s = o / a, { imageUri: l, base64: c } = await Sa({ domElement: $.value, base64: !0, img: !0, scale: t });
557
+ const { width: o, height: a } = $.value.getBoundingClientRect(), s = o / a, { imageUri: l, base64: v } = await Na({ domElement: $.value, base64: !0, img: !0, scale: t });
557
558
  return {
558
559
  imageUri: l,
559
- base64: c,
560
+ base64: v,
560
561
  title: e.value.style.chart.title.text,
561
562
  width: o,
562
563
  height: a,
563
564
  aspectRatio: s
564
565
  };
565
566
  }
566
- const Ut = d(() => ({ min: 0, max: G.value }));
567
- wa({
568
- timeLabelsEls: he,
567
+ const Vt = c(() => ({ min: 0, max: W.value }));
568
+ La({
569
+ timeLabelsEls: ye,
569
570
  timeLabels: Y,
570
- slicer: Ut,
571
+ slicer: Vt,
571
572
  configRef: e,
572
573
  rotationPath: ["style", "chart", "xAxis", "labels", "rotation"],
573
574
  autoRotatePath: ["style", "chart", "xAxis", "labels", "autoRotate", "enable"],
574
575
  isAutoSize: !1,
575
576
  width: Pt,
576
- height: St,
577
+ height: Ot,
577
578
  targetClass: ".vue-ui-ridgeline-x-axis-label",
578
579
  angle: e.value.style.chart.xAxis.labels.autoRotate.angle
579
580
  });
580
- const j = d(() => {
581
+ const j = c(() => {
581
582
  const t = e.value.table.useDialog && !e.value.table.show, o = D.value.showTable;
582
583
  return {
583
- component: t ? Le : pt,
584
+ component: t ? Me : bt,
584
585
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
585
586
  props: t ? {
586
587
  backgroundColor: e.value.table.th.backgroundColor,
@@ -611,13 +612,31 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
611
612
  e.value.table.show || (t && e.value.table.useDialog && V.value ? V.value.open() : "close" in V.value && V.value.close());
612
613
  });
613
614
  function tt() {
614
- D.value.showTable = !1, de.value && de.value.setTableIconState(!1);
615
+ D.value.showTable = !1, ge.value && ge.value.setTableIconState(!1);
615
616
  }
616
- return yt({
617
- getData: Xt,
618
- getImage: Bt,
619
- generateImage: Ge,
620
- generatePdf: We,
617
+ const Gt = c(() => e.value.style.chart.backgroundColor), Wt = c(() => ({
618
+ ...e.value.style.chart.legend,
619
+ position: "bottom"
620
+ })), Yt = c(() => e.value.style.chart.title), { exportSvg: jt, getSvg: qt } = Ta({
621
+ svg: ee,
622
+ title: Yt,
623
+ legend: Wt,
624
+ legendItems: te,
625
+ backgroundColor: Gt
626
+ });
627
+ async function at({ isCb: t }) {
628
+ if (t) {
629
+ const { blob: o, url: a, text: s, dataUrl: l } = await qt();
630
+ e.value.userOptions.callbacks.svg({ blob: o, url: a, text: s, dataUrl: l });
631
+ } else
632
+ jt();
633
+ }
634
+ return gt({
635
+ getData: Bt,
636
+ getImage: Ut,
637
+ generateImage: We,
638
+ generateSvg: at,
639
+ generatePdf: Ge,
621
640
  generateCsv: we,
622
641
  toggleAnnotator: Ce,
623
642
  toggleTable: Ze,
@@ -625,7 +644,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
625
644
  }), (t, o) => (n(), r("div", {
626
645
  ref_key: "ridgelineChart",
627
646
  ref: $,
628
- class: ae(`vue-ui-ridgeline ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
647
+ class: oe(`vue-data-ui-component vue-ui-ridgeline ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
629
648
  id: `vue-ui-ridgeline_${A.value}`,
630
649
  style: w({
631
650
  fontFamily: e.value.style.fontFamily,
@@ -637,30 +656,30 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
637
656
  onMouseenter: o[3] || (o[3] = () => u(He)(!0)),
638
657
  onMouseleave: o[4] || (o[4] = () => u(He)(!1))
639
658
  }, [
640
- e.value.userOptions.buttons.annotator && u(ge) ? (n(), T(u(xt), {
659
+ e.value.userOptions.buttons.annotator && u(ee) ? (n(), T(u(kt), {
641
660
  key: 0,
642
661
  color: e.value.style.chart.color,
643
662
  backgroundColor: e.value.style.chart.backgroundColor,
644
- active: ee.value,
645
- svgRef: u(ge),
663
+ active: ae.value,
664
+ svgRef: u(ee),
646
665
  onClose: Ce
647
- }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
666
+ }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : h("", !0),
648
667
  p(t.$slots, "userConfig", {}, void 0, !0),
649
- _t.value ? (n(), r("div", {
668
+ Tt.value ? (n(), r("div", {
650
669
  key: 1,
651
670
  ref_key: "noTitle",
652
671
  ref: Ne,
653
672
  class: "vue-data-ui-no-title-space",
654
673
  style: "height:36px; width: 100%;background:transparent"
655
- }, null, 512)) : v("", !0),
674
+ }, null, 512)) : h("", !0),
656
675
  e.value.style.chart.title.text ? (n(), r("div", {
657
676
  key: 2,
658
677
  ref_key: "chartTitle",
659
678
  ref: ze,
660
679
  style: "width:100%;background:transparent;padding-bottom:24px"
661
680
  }, [
662
- (n(), T(Ta, {
663
- key: `title_${ie.value}`,
681
+ (n(), T(Da, {
682
+ key: `title_${ve.value}`,
664
683
  config: {
665
684
  title: {
666
685
  cy: "ridgeline-div-title",
@@ -672,10 +691,10 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
672
691
  }
673
692
  }
674
693
  }, null, 8, ["config"]))
675
- ], 512)) : v("", !0),
676
- e.value.userOptions.show && U.value && (u(Xe) || u(Z)) ? (n(), T(u(kt), {
694
+ ], 512)) : h("", !0),
695
+ e.value.userOptions.show && U.value && (u(Xe) || u(Z)) ? (n(), T(u(At), {
677
696
  ref_key: "userOptionsRef",
678
- ref: de,
697
+ ref: ge,
679
698
  key: `user_option_${Fe.value}`,
680
699
  backgroundColor: e.value.style.chart.backgroundColor,
681
700
  color: e.value.style.chart.color,
@@ -686,6 +705,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
686
705
  callbacks: e.value.userOptions.callbacks,
687
706
  hasPdf: e.value.userOptions.buttons.pdf,
688
707
  hasImg: e.value.userOptions.buttons.img,
708
+ hasSvg: e.value.userOptions.buttons.svg,
689
709
  hasXls: e.value.userOptions.buttons.csv,
690
710
  hasTable: e.value.userOptions.buttons.table,
691
711
  hasLabel: !1,
@@ -697,84 +717,85 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
697
717
  isTooltip: !1,
698
718
  titles: { ...e.value.userOptions.buttonTitles },
699
719
  hasAnnotator: e.value.userOptions.buttons.annotator,
700
- isAnnotation: ee.value,
720
+ isAnnotation: ae.value,
701
721
  tableDialog: e.value.table.useDialog,
702
722
  style: w({ visibility: u(Xe) ? u(Z) ? "visible" : "hidden" : "visible" }),
703
723
  onToggleFullscreen: Je,
704
- onGeneratePdf: u(We),
724
+ onGeneratePdf: u(Ge),
705
725
  onGenerateCsv: we,
706
- onGenerateImage: u(Ge),
726
+ onGenerateImage: u(We),
727
+ onGenerateSvg: at,
707
728
  onToggleTable: Ze,
708
729
  onToggleAnnotator: Ce
709
730
  }, _e({ _: 2 }, [
710
731
  t.$slots.menuIcon ? {
711
732
  name: "menuIcon",
712
- fn: f(({ isOpen: a, color: s }) => [
713
- p(t.$slots, "menuIcon", le(oe({ isOpen: a, color: s })), void 0, !0)
733
+ fn: g(({ isOpen: a, color: s }) => [
734
+ p(t.$slots, "menuIcon", se(ne({ isOpen: a, color: s })), void 0, !0)
714
735
  ]),
715
736
  key: "0"
716
737
  } : void 0,
717
738
  t.$slots.optionTooltip ? {
718
739
  name: "optionTooltip",
719
- fn: f(() => [
740
+ fn: g(() => [
720
741
  p(t.$slots, "optionTooltip", {}, void 0, !0)
721
742
  ]),
722
743
  key: "1"
723
744
  } : void 0,
724
745
  t.$slots.optionPdf ? {
725
746
  name: "optionPdf",
726
- fn: f(() => [
747
+ fn: g(() => [
727
748
  p(t.$slots, "optionPdf", {}, void 0, !0)
728
749
  ]),
729
750
  key: "2"
730
751
  } : void 0,
731
752
  t.$slots.optionCsv ? {
732
753
  name: "optionCsv",
733
- fn: f(() => [
754
+ fn: g(() => [
734
755
  p(t.$slots, "optionCsv", {}, void 0, !0)
735
756
  ]),
736
757
  key: "3"
737
758
  } : void 0,
738
759
  t.$slots.optionImg ? {
739
760
  name: "optionImg",
740
- fn: f(() => [
761
+ fn: g(() => [
741
762
  p(t.$slots, "optionImg", {}, void 0, !0)
742
763
  ]),
743
764
  key: "4"
744
765
  } : void 0,
745
766
  t.$slots.optionTable ? {
746
767
  name: "optionTable",
747
- fn: f(() => [
768
+ fn: g(() => [
748
769
  p(t.$slots, "optionTable", {}, void 0, !0)
749
770
  ]),
750
771
  key: "5"
751
772
  } : void 0,
752
773
  t.$slots.optionFullscreen ? {
753
774
  name: "optionFullscreen",
754
- fn: f(({ toggleFullscreen: a, isFullscreen: s }) => [
755
- p(t.$slots, "optionFullscreen", le(oe({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
775
+ fn: g(({ toggleFullscreen: a, isFullscreen: s }) => [
776
+ p(t.$slots, "optionFullscreen", se(ne({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
756
777
  ]),
757
778
  key: "6"
758
779
  } : void 0,
759
780
  t.$slots.optionAnnotator ? {
760
781
  name: "optionAnnotator",
761
- fn: f(({ toggleAnnotator: a, isAnnotator: s }) => [
762
- p(t.$slots, "optionAnnotator", le(oe({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
782
+ fn: g(({ toggleAnnotator: a, isAnnotator: s }) => [
783
+ p(t.$slots, "optionAnnotator", se(ne({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
763
784
  ]),
764
785
  key: "7"
765
786
  } : void 0
766
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "printScale", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "tableDialog", "style", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
787
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "printScale", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "tableDialog", "style", "onGeneratePdf", "onGenerateImage"])) : h("", !0),
767
788
  (n(), r("svg", {
768
789
  ref_key: "svgRef",
769
- ref: ge,
770
- xmlns: u(ua),
771
- class: ae({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
772
- viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${b.value.fullHeight <= 0 ? 10 : b.value.fullHeight}`,
790
+ ref: ee,
791
+ xmlns: u(ya),
792
+ class: oe({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
793
+ viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${b.value.fullHeight <= 0 ? 10 : b.value.fullHeight}`,
773
794
  style: w(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${Ee.value}px; width: 100%;` : ""}`)
774
795
  }, [
775
- Te(u(At)),
796
+ Te(u(Ct)),
776
797
  y("defs", null, [
777
- (n(!0), r(m, null, k(ke.value, (a, s) => (n(), r("linearGradient", {
798
+ (n(!0), r(m, null, k(te.value, (a, s) => (n(), r("linearGradient", {
778
799
  id: `gradient-${a.id}-${A.value}`,
779
800
  x1: "50%",
780
801
  y1: "0%",
@@ -785,25 +806,25 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
785
806
  offset: "0%",
786
807
  "stop-color": a.color,
787
808
  "stop-opacity": "1"
788
- }, null, 8, Da),
809
+ }, null, 8, Xa),
789
810
  y("stop", {
790
811
  offset: "30%",
791
812
  "stop-color": a.color,
792
813
  "stop-opacity": "0.7"
793
- }, null, 8, Ia),
814
+ }, null, 8, Ba),
794
815
  y("stop", {
795
816
  offset: "70%",
796
817
  "stop-color": a.color,
797
818
  "stop-opacity": "0.3"
798
- }, null, 8, Na),
819
+ }, null, 8, Ua),
799
820
  y("stop", {
800
821
  offset: "100%",
801
822
  "stop-color": a.color,
802
823
  "stop-opacity": "0.1"
803
- }, null, 8, Fa)
804
- ], 8, za))), 256)),
824
+ }, null, 8, Va)
825
+ ], 8, Ha))), 256)),
805
826
  (n(!0), r(m, null, k(B.value, (a, s) => (n(), r(m, null, [
806
- (n(!0), r(m, null, k(a.datapoints, (l, c) => (n(), r("linearGradient", {
827
+ (n(!0), r(m, null, k(a.datapoints, (l, v) => (n(), r("linearGradient", {
807
828
  key: `grad${l.id}`,
808
829
  id: `gradient-single-${A.value}-${l.uid}`,
809
830
  x1: "50%",
@@ -815,36 +836,36 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
815
836
  offset: "0%",
816
837
  "stop-color": l.color,
817
838
  "stop-opacity": "1"
818
- }, null, 8, Ea),
839
+ }, null, 8, Wa),
819
840
  y("stop", {
820
841
  offset: "30%",
821
842
  "stop-color": l.color,
822
843
  "stop-opacity": "0.7"
823
- }, null, 8, Ha),
844
+ }, null, 8, Ya),
824
845
  y("stop", {
825
846
  offset: "70%",
826
847
  "stop-color": l.color,
827
848
  "stop-opacity": "0.3"
828
- }, null, 8, Xa),
849
+ }, null, 8, ja),
829
850
  y("stop", {
830
851
  offset: "100%",
831
852
  "stop-color": l.color,
832
853
  "stop-opacity": "0.1"
833
- }, null, 8, Ba)
834
- ], 8, Ra))), 128))
854
+ }, null, 8, qa)
855
+ ], 8, Ga))), 128))
835
856
  ], 64))), 256))
836
857
  ]),
837
858
  (n(!0), r(m, null, k(B.value, (a, s) => (n(), r("g", {
838
859
  key: `ds-${s}`
839
860
  }, [
840
- (n(!0), r(m, null, k(a.datapoints, (l, c) => (n(), r("g", {
861
+ (n(!0), r(m, null, k(a.datapoints, (l, v) => (n(), r("g", {
841
862
  key: l.id
842
863
  }, [
843
- t.$slots.pattern ? (n(), r("g", Ua, [
864
+ t.$slots.pattern ? (n(), r("g", Ja, [
844
865
  y("defs", null, [
845
- p(t.$slots, "pattern", Pe({ ref_for: !0 }, { datapointIndex: s, seriesIndex: c, patternId: `pattern_${A.value}_${l.uid}` }), void 0, !0)
866
+ p(t.$slots, "pattern", Se({ ref_for: !0 }, { datapointIndex: s, seriesIndex: v, patternId: `pattern_${A.value}_${l.uid}` }), void 0, !0)
846
867
  ])
847
- ])) : v("", !0),
868
+ ])) : h("", !0),
848
869
  y("path", {
849
870
  fill: t.$slots.pattern ? `url(#pattern_${A.value}_${l.uid})` : e.value.style.chart.backgroundColor,
850
871
  stroke: "none",
@@ -853,7 +874,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
853
874
  style: w({
854
875
  opacity: e.value.style.chart.areas.opacity
855
876
  })
856
- }, null, 12, Va),
877
+ }, null, 12, Ka),
857
878
  y("path", {
858
879
  fill: "none",
859
880
  stroke: e.value.style.chart.areas.stroke.useSerieColor ? l.color : e.value.style.chart.areas.stroke.color,
@@ -861,24 +882,24 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
861
882
  d: e.value.style.chart.areas.smooth ? l.smoothPathRidge : l.straightPathRidge,
862
883
  "stroke-linecap": "round",
863
884
  "stroke-linejoin": "round",
864
- class: ae({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(W) }),
885
+ class: oe({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(G) }),
865
886
  style: w({
866
887
  strokeDasharray: l.pathLength,
867
888
  strokeDashoffset: e.value.useCssAnimation ? l.pathLength : 0
868
889
  })
869
- }, null, 14, Wa),
890
+ }, null, 14, Qa),
870
891
  y("path", {
871
892
  fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${l.id}-${A.value})` : `url(#gradient-single-${A.value}-${l.uid})` : l.color,
872
893
  stroke: "none",
873
894
  d: e.value.style.chart.areas.smooth ? l.smoothPath : l.straightPath,
874
895
  "stroke-linecap": "round",
875
896
  "stroke-linejoin": "round",
876
- class: ae({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(W) }),
897
+ class: oe({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(G) }),
877
898
  style: w({
878
899
  strokeDasharray: l.pathLength,
879
900
  strokeDashoffset: e.value.useCssAnimation ? l.pathLength : 0
880
901
  })
881
- }, null, 14, Ga),
902
+ }, null, 14, Za),
882
903
  e.value.style.chart.zeroLine.show ? (n(), r("path", {
883
904
  key: 1,
884
905
  stroke: e.value.style.chart.zeroLine.useSerieColor ? l.color : e.value.style.chart.zeroLine.stroke,
@@ -886,7 +907,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
886
907
  "stroke-width": e.value.style.chart.zeroLine.strokeWidth,
887
908
  d: l.zeroPath,
888
909
  "stroke-linecap": "round"
889
- }, null, 8, Ya)) : v("", !0),
910
+ }, null, 8, el)) : h("", !0),
890
911
  e.value.style.chart.areas.maxPoint.show && l.plots.length > 1 ? (n(!0), r(m, { key: 2 }, k(l.plots, (_) => (n(), r(m, null, [
891
912
  _.isMaxPoint ? (n(), r("line", {
892
913
  key: 0,
@@ -894,12 +915,12 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
894
915
  y1: _.y,
895
916
  x2: _.x,
896
917
  y2: _.zero,
897
- stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(ia)(l.color) : e.value.style.chart.areas.maxPoint.stroke,
918
+ stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(ga)(l.color) : e.value.style.chart.areas.maxPoint.stroke,
898
919
  "stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
899
920
  "stroke-linecap": "round",
900
921
  "stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
901
- }, null, 8, ja)) : v("", !0)
902
- ], 64))), 256)) : v("", !0),
922
+ }, null, 8, tl)) : h("", !0)
923
+ ], 64))), 256)) : h("", !0),
903
924
  l.plots.length === 1 ? (n(), r("circle", {
904
925
  key: 3,
905
926
  cx: l.plots[0].x,
@@ -911,7 +932,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
911
932
  style: {
912
933
  pointerEvents: "none"
913
934
  }
914
- }, null, 8, qa)) : v("", !0)
935
+ }, null, 8, al)) : h("", !0)
915
936
  ]))), 128)),
916
937
  y("text", {
917
938
  x: a.label.x,
@@ -924,18 +945,18 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
924
945
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
925
946
  }),
926
947
  "text-decoration": e.value.style.chart.dialog.show && (Ae.value === s || H.value && a.uid === H.value.uid) ? "underline" : "",
927
- onMouseenter: (l) => Et(s),
928
- onMouseleave: Ht,
929
- onClick: (l) => Rt(a)
930
- }, R(a.name), 45, Ja)
948
+ onMouseenter: (l) => Ht(s),
949
+ onMouseleave: Xt,
950
+ onClick: (l) => Et(a)
951
+ }, R(a.name), 45, ll)
931
952
  ]))), 128)),
932
953
  e.value.style.chart.xAxis.labels.values.length ? (n(), r("g", {
933
954
  key: 0,
934
955
  ref_key: "timeLabelsEls",
935
- ref: he
956
+ ref: ye
936
957
  }, [
937
- (n(!0), r(m, null, k(X.value, (a, s) => p(t.$slots, "time-label", Pe({ ref_for: !0 }, {
938
- show: a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === X.value.length - 1) || a && h.value && h.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(X.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
958
+ (n(!0), r(m, null, k(X.value, (a, s) => p(t.$slots, "time-label", Se({ ref_for: !0 }, {
959
+ show: a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === X.value.length - 1) || a && d.value && d.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(X.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
939
960
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
940
961
  content: a.label,
941
962
  textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -944,7 +965,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
944
965
  x: a.selectorX,
945
966
  y: b.value.bottom + e.value.style.chart.xAxis.labels.offsetY
946
967
  }), () => [
947
- a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === X.value.length - 1) || a && h.value && h.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(X.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (n(), r("g", Ka, [
968
+ a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || a && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === X.value.length - 1) || a && d.value && d.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(X.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (n(), r("g", ol, [
948
969
  String(a.label).includes(`
949
970
  `) ? (n(), r("text", {
950
971
  key: 1,
@@ -955,16 +976,16 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
955
976
  transform: `translate(${a.selectorX}, ${b.value.bottom + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
956
977
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
957
978
  style: w({
958
- opacity: h.value ? h.value.index === s ? 1 : 0.2 : 1
979
+ opacity: d.value ? d.value.index === s ? 1 : 0.2 : 1
959
980
  }),
960
- innerHTML: u(ca)({
981
+ innerHTML: u(fa)({
961
982
  content: String(a.label),
962
983
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
963
984
  fill: e.value.style.chart.xAxis.labels.color,
964
985
  x: 0,
965
986
  y: 0
966
987
  })
967
- }, null, 12, Za)) : (n(), r("text", {
988
+ }, null, 12, nl)) : (n(), r("text", {
968
989
  key: 0,
969
990
  class: "vue-ui-ridgeline-x-axis-label",
970
991
  "font-size": e.value.style.chart.xAxis.labels.fontSize,
@@ -973,12 +994,12 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
973
994
  transform: `translate(${a.selectorX}, ${b.value.bottom + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
974
995
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
975
996
  style: w({
976
- opacity: h.value ? h.value.index === s ? 1 : 0.2 : 1
997
+ opacity: d.value ? d.value.index === s ? 1 : 0.2 : 1
977
998
  })
978
- }, R(a.label), 13, Qa))
979
- ])) : v("", !0)
999
+ }, R(a.label), 13, sl))
1000
+ ])) : h("", !0)
980
1001
  ], !0)), 256))
981
- ], 512)) : v("", !0),
1002
+ ], 512)) : h("", !0),
982
1003
  y("g", null, [
983
1004
  (n(!0), r(m, null, k(X.value, (a, s) => (n(), r("rect", {
984
1005
  x: a.x,
@@ -986,26 +1007,26 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
986
1007
  width: a.width < 0 ? 0.1 : a.width,
987
1008
  height: a.height < 0 ? 0.1 : a.height,
988
1009
  fill: "transparent",
989
- onMouseenter: (l) => Ot(a),
990
- onMouseleave: (l) => Lt(a),
991
- onClick: () => zt(a)
992
- }, null, 40, el))), 256)),
993
- e.value.style.chart.selector.show && h.value ? (n(), r("line", {
1010
+ onMouseenter: (l) => Mt(a),
1011
+ onMouseleave: (l) => zt(a),
1012
+ onClick: () => Dt(a)
1013
+ }, null, 40, rl))), 256)),
1014
+ e.value.style.chart.selector.show && d.value ? (n(), r("line", {
994
1015
  key: 0,
995
- x1: h.value.selectorX,
996
- x2: h.value.selectorX,
997
- y1: h.value.y,
998
- y2: h.value.y + h.value.height - C.value / 2,
1016
+ x1: d.value.selectorX,
1017
+ x2: d.value.selectorX,
1018
+ y1: d.value.y,
1019
+ y2: d.value.y + d.value.height - C.value / 2,
999
1020
  stroke: e.value.style.chart.selector.stroke,
1000
1021
  "stroke-width": e.value.style.chart.selector.strokeWidth,
1001
1022
  "stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
1002
1023
  "stroke-linecap": "round",
1003
1024
  style: { pointerEvents: "none" }
1004
- }, null, 8, tl)) : v("", !0),
1005
- h.value ? (n(!0), r(m, { key: 1 }, k(B.value, (a) => (n(), r(m, null, [
1025
+ }, null, 8, ul)) : h("", !0),
1026
+ d.value ? (n(!0), r(m, { key: 1 }, k(B.value, (a) => (n(), r(m, null, [
1006
1027
  (n(!0), r(m, null, k(a.datapoints, (s) => (n(), r(m, null, [
1007
- (n(!0), r(m, null, k(s.plots, (l, c) => (n(), r(m, null, [
1008
- h.value && h.value.index === c ? (n(), r("circle", {
1028
+ (n(!0), r(m, null, k(s.plots, (l, v) => (n(), r(m, null, [
1029
+ d.value && d.value.index === v ? (n(), r("circle", {
1009
1030
  key: 0,
1010
1031
  cx: l.x,
1011
1032
  cy: l.y,
@@ -1016,15 +1037,15 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
1016
1037
  style: {
1017
1038
  pointerEvents: "none"
1018
1039
  }
1019
- }, null, 8, al)) : v("", !0),
1020
- h.value && h.value.index === c ? (n(), r("text", {
1040
+ }, null, 8, il)) : h("", !0),
1041
+ d.value && d.value.index === v ? (n(), r("text", {
1021
1042
  key: 1,
1022
1043
  x: qe(
1023
1044
  l.x,
1024
- u(ne)(
1045
+ u(ue)(
1025
1046
  e.value.style.chart.selector.labels.formatter,
1026
1047
  l.value,
1027
- u(re)({
1048
+ u(ie)({
1028
1049
  p: e.value.style.chart.xAxis.labels.prefix,
1029
1050
  v: l.value,
1030
1051
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -1036,10 +1057,10 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
1036
1057
  y: l.y + e.value.style.chart.selector.labels.fontSize / 3,
1037
1058
  "text-anchor": qe(
1038
1059
  l.x,
1039
- u(ne)(
1060
+ u(ue)(
1040
1061
  e.value.style.chart.selector.labels.formatter,
1041
1062
  l.value,
1042
- u(re)({
1063
+ u(ie)({
1043
1064
  p: e.value.style.chart.xAxis.labels.prefix,
1044
1065
  v: l.value,
1045
1066
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -1053,48 +1074,48 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
1053
1074
  style: {
1054
1075
  pointerEvents: "none"
1055
1076
  }
1056
- }, R(u(ne)(
1077
+ }, R(u(ue)(
1057
1078
  e.value.style.chart.selector.labels.formatter,
1058
1079
  l.value,
1059
- u(re)({
1080
+ u(ie)({
1060
1081
  p: e.value.style.chart.xAxis.labels.prefix,
1061
1082
  v: l.value,
1062
1083
  s: e.value.style.chart.xAxis.labels.suffix,
1063
1084
  r: e.value.style.chart.selector.labels.rounding
1064
1085
  })
1065
- )), 9, ll)) : v("", !0)
1086
+ )), 9, cl)) : h("", !0)
1066
1087
  ], 64))), 256))
1067
1088
  ], 64))), 256))
1068
- ], 64))), 256)) : v("", !0)
1089
+ ], 64))), 256)) : h("", !0)
1069
1090
  ]),
1070
- p(t.$slots, "svg", { svg: g.value }, void 0, !0)
1071
- ], 14, La)),
1072
- t.$slots.watermark ? (n(), r("div", ol, [
1073
- p(t.$slots, "watermark", le(oe({ isPrinting: u(Ue) || u(Ve) })), void 0, !0)
1074
- ])) : v("", !0),
1091
+ p(t.$slots, "svg", { svg: f.value }, void 0, !0)
1092
+ ], 14, Ea)),
1093
+ t.$slots.watermark ? (n(), r("div", vl, [
1094
+ p(t.$slots, "watermark", se(ne({ isPrinting: u(Ue) || u(Ve) })), void 0, !0)
1095
+ ])) : h("", !0),
1075
1096
  y("div", {
1076
1097
  ref_key: "chartLegend",
1077
1098
  ref: De
1078
1099
  }, [
1079
- e.value.style.chart.legend.show ? (n(), T(_a, {
1080
- key: `legend_${ce.value}`,
1081
- legendSet: ke.value,
1082
- config: Ft.value,
1100
+ e.value.style.chart.legend.show ? (n(), T(za, {
1101
+ key: `legend_${he.value}`,
1102
+ legendSet: te.value,
1103
+ config: Rt.value,
1083
1104
  onClickMarker: o[0] || (o[0] = ({ legend: a }) => Ye(a.id))
1084
1105
  }, _e({
1085
- item: f(({ legend: a }) => [
1086
- u(W) ? v("", !0) : (n(), r("div", {
1106
+ item: g(({ legend: a }) => [
1107
+ u(G) ? h("", !0) : (n(), r("div", {
1087
1108
  key: 0,
1088
- style: w(`opacity:${M.value.includes(a.id) ? 0.5 : 1}`),
1109
+ style: w(`opacity:${O.value.includes(a.id) ? 0.5 : 1}`),
1089
1110
  onClick: (s) => a.segregate()
1090
- }, R(a.name), 13, sl))
1111
+ }, R(a.name), 13, hl))
1091
1112
  ]),
1092
1113
  _: 2
1093
1114
  }, [
1094
1115
  t.$slots.pattern ? {
1095
1116
  name: "legend-pattern",
1096
- fn: f(({ legend: a, index: s }) => [
1097
- Te(Pa, {
1117
+ fn: g(({ legend: a, index: s }) => [
1118
+ Te(Ia, {
1098
1119
  shape: a.shape,
1099
1120
  radius: 30,
1100
1121
  stroke: "none",
@@ -1104,8 +1125,8 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
1104
1125
  ]),
1105
1126
  key: "0"
1106
1127
  } : void 0
1107
- ]), 1032, ["legendSet", "config"])) : v("", !0),
1108
- p(t.$slots, "legend", { legend: ke.value }, void 0, !0)
1128
+ ]), 1032, ["legendSet", "config"])) : h("", !0),
1129
+ p(t.$slots, "legend", { legend: te.value }, void 0, !0)
1109
1130
  ], 512),
1110
1131
  t.$slots.source ? (n(), r("div", {
1111
1132
  key: 5,
@@ -1114,31 +1135,31 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
1114
1135
  dir: "auto"
1115
1136
  }, [
1116
1137
  p(t.$slots, "source", {}, void 0, !0)
1117
- ], 512)) : v("", !0),
1118
- U.value && e.value.userOptions.buttons.table ? (n(), T(ta(j.value.component), Pe({ key: 6 }, j.value.props, {
1138
+ ], 512)) : h("", !0),
1139
+ U.value && e.value.userOptions.buttons.table ? (n(), T(ra(j.value.component), Se({ key: 6 }, j.value.props, {
1119
1140
  ref_key: "tableUnit",
1120
1141
  ref: V,
1121
1142
  onClose: tt
1122
1143
  }), _e({
1123
- content: f(() => [
1124
- (n(), T(u(bt), {
1125
- key: `table_${wt.value}`,
1126
- colNames: te.value.colNames,
1127
- head: te.value.head,
1128
- body: te.value.body,
1129
- config: te.value.config,
1144
+ content: g(() => [
1145
+ (n(), T(u(xt), {
1146
+ key: `table_${$t.value}`,
1147
+ colNames: le.value.colNames,
1148
+ head: le.value.head,
1149
+ body: le.value.body,
1150
+ config: le.value.config,
1130
1151
  title: e.value.table.useDialog ? "" : j.value.title,
1131
1152
  withCloseButton: !e.value.table.useDialog,
1132
1153
  onClose: tt
1133
1154
  }, {
1134
- th: f(({ th: a }) => [
1135
- y("div", { innerHTML: a }, null, 8, nl)
1155
+ th: g(({ th: a }) => [
1156
+ y("div", { innerHTML: a }, null, 8, dl)
1136
1157
  ]),
1137
- td: f(({ td: a }) => [
1138
- Se(R(a.name ? a.name : u(ne)(
1158
+ td: g(({ td: a }) => [
1159
+ Pe(R(a.name ? a.name : u(ue)(
1139
1160
  e.value.style.chart.selector.labels.formatter,
1140
1161
  a,
1141
- u(re)({
1162
+ u(ie)({
1142
1163
  p: e.value.style.chart.xAxis.labels.prefix,
1143
1164
  v: a,
1144
1165
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -1153,20 +1174,20 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
1153
1174
  }, [
1154
1175
  e.value.table.useDialog ? {
1155
1176
  name: "title",
1156
- fn: f(() => [
1157
- Se(R(j.value.title), 1)
1177
+ fn: g(() => [
1178
+ Pe(R(j.value.title), 1)
1158
1179
  ]),
1159
1180
  key: "0"
1160
1181
  } : void 0,
1161
1182
  e.value.table.useDialog ? {
1162
1183
  name: "actions",
1163
- fn: f(() => [
1184
+ fn: g(() => [
1164
1185
  y("button", {
1165
1186
  tabindex: "0",
1166
1187
  class: "vue-ui-user-options-button",
1167
1188
  onClick: o[1] || (o[1] = (a) => we(e.value.userOptions.callbacks.csv))
1168
1189
  }, [
1169
- Te(u(mt), {
1190
+ Te(u(pt), {
1170
1191
  name: "excel",
1171
1192
  stroke: j.value.props.color
1172
1193
  }, null, 8, ["stroke"])
@@ -1174,11 +1195,11 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
1174
1195
  ]),
1175
1196
  key: "1"
1176
1197
  } : void 0
1177
- ]), 1040)) : v("", !0),
1178
- e.value.style.chart.dialog.show ? (n(), T(u(Le), {
1198
+ ]), 1040)) : h("", !0),
1199
+ e.value.style.chart.dialog.show ? (n(), T(u(Me), {
1179
1200
  key: 7,
1180
1201
  ref_key: "dialog",
1181
- ref: ve,
1202
+ ref: de,
1182
1203
  onClose: o[2] || (o[2] = (a) => H.value = null),
1183
1204
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
1184
1205
  color: e.value.style.chart.dialog.color,
@@ -1188,22 +1209,22 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
1188
1209
  fullscreenParent: $.value,
1189
1210
  withPadding: ""
1190
1211
  }, {
1191
- title: f(() => [
1192
- Se(R(H.value.name), 1)
1212
+ title: g(() => [
1213
+ Pe(R(H.value.name), 1)
1193
1214
  ]),
1194
- content: f(() => [
1195
- H.value ? (n(), T(u(gt), {
1215
+ content: g(() => [
1216
+ H.value ? (n(), T(u(mt), {
1196
1217
  key: 0,
1197
1218
  config: Ke.value,
1198
1219
  dataset: Qe.value
1199
- }, null, 8, ["config", "dataset"])) : v("", !0)
1220
+ }, null, 8, ["config", "dataset"])) : h("", !0)
1200
1221
  ]),
1201
1222
  _: 1
1202
- }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0),
1203
- u(W) ? (n(), T(ba, { key: 8 })) : v("", !0)
1204
- ], 46, Oa));
1223
+ }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : h("", !0),
1224
+ u(G) ? (n(), T($a, { key: 8 })) : h("", !0)
1225
+ ], 46, Ra));
1205
1226
  }
1206
- }, wl = /* @__PURE__ */ Ma(rl, [["__scopeId", "data-v-5c2e0e6a"]]);
1227
+ }, Ml = /* @__PURE__ */ Fa(yl, [["__scopeId", "data-v-0a6ef1d2"]]);
1207
1228
  export {
1208
- wl as default
1229
+ Ml as default
1209
1230
  };