vue-data-ui 3.5.0 → 3.5.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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as M, computed as c, ref as i, shallowRef as ut, toRefs as ua, onBeforeUnmount as it, watch as Z, nextTick as _e, watchEffect as ia, createElementBlock as r, openBlock as n, unref as u, normalizeStyle as $, normalizeClass as se, createBlock as T, createCommentVNode as h, renderSlot as p, createElementVNode as f, createSlots as Se, withCtx as g, normalizeProps as ne, guardReactiveProps as re, createVNode as Te, Fragment as m, renderList as k, mergeProps as Pe, toDisplayString as F, resolveDynamicComponent as ca, createTextVNode as Oe } from "vue";
2
- import { c as Me, t as va, e as ha, h as da, p as ue, ak as ct, C as fa, B as vt, z as ga, a9 as ya, X as pa, J as ma, M as ba, a as ie, d as ce, b as xa, f as Le, g as ht, o as ka, P as Aa, Q as Ca, a4 as wa } from "./lib-C_mNZmhD.js";
3
- import { t as dt, u as $a } from "./useResponsive-DfdjqQps.js";
4
- import { u as _a, a as ft } from "./useNestedProp-BjZe1Y85.js";
1
+ import { defineAsyncComponent as z, computed as c, ref as i, shallowRef as ut, toRefs as ua, onBeforeUnmount as it, watch as te, nextTick as _e, watchEffect as ia, createElementBlock as r, openBlock as n, unref as u, normalizeStyle as $, normalizeClass as re, createBlock as T, createCommentVNode as h, renderSlot as f, createElementVNode as y, withCtx as v, normalizeProps as P, guardReactiveProps as O, createSlots as Se, createVNode as Te, Fragment as m, renderList as k, mergeProps as Pe, toDisplayString as B, resolveDynamicComponent as ca, createTextVNode as Oe } from "vue";
2
+ import { c as Me, t as va, e as da, h as ha, p as ue, ak as ct, C as fa, B as vt, z as ga, a9 as ya, X as pa, J as ma, M as ba, a as ie, d as ce, b as xa, f as Le, g as dt, o as ka, P as Aa, Q as Ca, a4 as wa } from "./lib-C_mNZmhD.js";
3
+ import { t as ht, u as $a } from "./useResponsive-DfdjqQps.js";
4
+ import { u as _a, a as ft } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as Sa, B as Ta } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Pa } from "./usePrinter-DTzqpYKF.js";
7
7
  import { u as Oa } from "./useSvgExport-DrjCWun4.js";
@@ -11,11 +11,11 @@ import { u as za } from "./useChartAccessibility-9icAAmYg.js";
11
11
  import { u as Da } from "./useTimeLabelCollider-CIsgDrl9.js";
12
12
  import { t as Ia } from "./themes-AUNCOb2G.js";
13
13
  import Ra from "./Legend-G6GMcdAc.js";
14
- import Na from "./Title-l36lOBMx.js";
14
+ import Na from "./Title-isbiM8i8.js";
15
15
  import { _ as Fa } from "./Shape-CNXKB8O0.js";
16
16
  import Ea from "./img-BecE5qXd.js";
17
17
  import { _ as Ba } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"], Ga = ["stop-color"], Wa = ["stop-color"], Ya = ["stop-color"], ja = ["id"], qa = ["stop-color"], Ja = ["stop-color"], Qa = ["stop-color"], Ka = ["stop-color"], Za = { key: 0 }, el = ["fill", "d"], tl = ["stroke", "stroke-width", "d"], al = ["fill", "d"], ll = ["stroke", "stroke-dasharray", "stroke-width", "d"], ol = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], sl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], nl = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], rl = { key: 0 }, ul = ["font-size", "fill", "font-weight", "transform", "text-anchor"], il = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], cl = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], hl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], dl = ["x", "y", "text-anchor", "font-size", "fill"], fl = {
18
+ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"], Ga = ["stop-color"], Wa = ["stop-color"], Ya = ["stop-color"], ja = ["id"], qa = ["stop-color"], Ja = ["stop-color"], Qa = ["stop-color"], Ka = ["stop-color"], Za = { key: 0 }, el = ["fill", "d"], tl = ["stroke", "stroke-width", "d"], al = ["fill", "d"], ll = ["stroke", "stroke-dasharray", "stroke-width", "d"], ol = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], sl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], nl = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], rl = { key: 0 }, ul = ["font-size", "fill", "font-weight", "transform", "text-anchor"], il = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], cl = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], hl = ["x", "y", "text-anchor", "font-size", "fill"], fl = {
19
19
  key: 4,
20
20
  class: "vue-data-ui-watermark"
21
21
  }, gl = ["onClick"], yl = ["innerHTML"], pl = {
@@ -36,29 +36,29 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
36
36
  },
37
37
  emits: ["selectLegend", "selectDatapoint", "selectX"],
38
38
  setup(gt, { expose: yt, emit: pt }) {
39
- const mt = M(() => import("./vue-ui-xy-B68qQ-gX.js")), bt = M(() => import("./BaseIcon-BmMbm4d0.js")), xt = M(() => import("./vue-ui-accordion-CZ0thhxa.js")), kt = M(() => import("./DataTable-BT7VF2ua.js")), At = M(() => import("./PenAndPaper-DSvu9dwa.js")), Ct = M(() => import("./UserOptions-CGnQt6Fd.js")), wt = M(() => import("./PackageVersion-Cyx_s25h.js")), ze = M(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_ridgeline: $t } = _a(), E = gt, V = c({
39
+ const mt = z(() => import("./vue-ui-xy-NDDbNbds.js")), bt = z(() => import("./BaseIcon-BmMbm4d0.js")), xt = z(() => import("./vue-ui-accordion-CqhVCfc2.js")), kt = z(() => import("./DataTable-BT7VF2ua.js")), At = z(() => import("./PenAndPaper-SZQIAgkg.js")), Ct = z(() => import("./UserOptions-CGnQt6Fd.js")), wt = z(() => import("./PackageVersion-DQvyATVa.js")), ze = z(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_ridgeline: $t } = _a(), H = gt, W = c({
40
40
  get() {
41
- return Array.isArray(z.value) && z.value.length > 0;
41
+ return Array.isArray(I.value) && I.value.length > 0;
42
42
  },
43
43
  set(t) {
44
44
  return t;
45
45
  }
46
- }), ve = pt, _ = i(null), De = i(null), Ie = i(null), P = ut(null), L = ut(null), Re = i(null), Ne = i(null), he = i(0), _t = i(0), de = i(0), A = i(Me()), Fe = i(0), St = i(0), Ee = i(512), d = i(null), B = i(null), fe = i(null), Be = i(0), ge = i(null), G = i(null), ye = i(null);
46
+ }), ve = pt, _ = i(null), De = i(null), Ie = i(null), M = ut(null), D = ut(null), Re = i(null), Ne = i(null), de = i(0), _t = i(0), he = i(0), A = i(Me()), Fe = i(0), St = i(0), Ee = i(512), g = i(null), X = i(null), fe = i(null), Be = i(0), ge = i(null), Y = i(null), ye = i(null);
47
47
  function pe() {
48
48
  const t = ft({
49
- userConfig: E.config,
49
+ userConfig: H.config,
50
50
  defaultConfig: $t
51
51
  });
52
52
  return t.theme ? {
53
53
  ...ft({
54
- userConfig: Ia.vue_ui_ridgeline[t.theme] || E.config,
54
+ userConfig: Ia.vue_ui_ridgeline[t.theme] || H.config,
55
55
  defaultConfig: t
56
56
  }),
57
57
  customPalette: xa[t.theme] || ue
58
58
  } : t;
59
59
  }
60
- const e = i(pe()), { loading: W, FINAL_DATASET: z, manualLoading: me } = Sa({
61
- ...ua(E),
60
+ const e = i(pe()), { loading: j, FINAL_DATASET: I, manualLoading: me } = Sa({
61
+ ...ua(H),
62
62
  FINAL_CONFIG: e,
63
63
  prepareConfig: pe,
64
64
  skeletonDataset: [
@@ -196,22 +196,22 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
196
196
  e.value.style.chart.areas.height,
197
197
  e.value.style.chart.areas.rowHeight
198
198
  )), {
199
- userOptionsVisible: ee,
199
+ userOptionsVisible: ae,
200
200
  setUserOptionsVisibility: He,
201
201
  keepUserOptionState: Xe
202
- } = La({ config: e.value }), { svgRef: te } = za({ config: e.value.style.chart.title }), be = c(() => !!e.value.debug);
202
+ } = La({ config: e.value }), { svgRef: le } = za({ config: e.value.style.chart.title }), be = c(() => !!e.value.debug);
203
203
  function Ue() {
204
- const t = z.value || [];
204
+ const t = I.value || [];
205
205
  if (!Array.isArray(t) || t.length === 0) {
206
206
  Le({ componentName: "VueUiRidgeline", type: "dataset", debug: be.value }), me.value = !0;
207
207
  return;
208
208
  }
209
209
  if (t.forEach((l, a) => {
210
- ht({
210
+ dt({
211
211
  datasetObject: l,
212
212
  requiredAttributes: ["name", "datapoints"]
213
213
  }).forEach((s) => {
214
- V.value = !1, Le({
214
+ W.value = !1, Le({
215
215
  componentName: "VueUiRidgeline",
216
216
  type: "datasetSerieAttribute",
217
217
  property: s,
@@ -219,14 +219,14 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
219
219
  debug: be.value
220
220
  });
221
221
  }), Array.isArray(l.datapoints) && l.datapoints.length && l.datapoints.forEach((s, o) => {
222
- ht({
222
+ dt({
223
223
  datasetObject: s,
224
224
  requiredAttributes: ["name", "values"]
225
- }).forEach((v) => {
226
- V.value = !1, Le({
225
+ }).forEach((d) => {
226
+ W.value = !1, Le({
227
227
  componentName: "VueUiRidgeline",
228
228
  type: "datasetSerieAttribute",
229
- property: `datapoint.${v}`,
229
+ property: `datapoint.${d}`,
230
230
  index: `${a}-${o}`,
231
231
  debug: be.value
232
232
  });
@@ -235,8 +235,8 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
235
235
  }), St.value = t.length, C.value = Math.min(
236
236
  e.value.style.chart.areas.height,
237
237
  e.value.style.chart.areas.rowHeight
238
- ), ka(E.dataset) || (me.value = e.value.loading), e.value.responsive) {
239
- const l = dt(() => {
238
+ ), ka(H.dataset) || (me.value = e.value.loading), e.value.responsive) {
239
+ const l = ht(() => {
240
240
  const { width: a, height: s } = $a({
241
241
  chart: _.value,
242
242
  title: e.value.style.chart.title.text ? De.value : null,
@@ -249,74 +249,74 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
249
249
  Ee.value = a, C.value = t.length ? s / t.length : 0, Be.value = s - 12;
250
250
  });
251
251
  });
252
- P.value && (L.value && P.value.unobserve(L.value), P.value.disconnect()), P.value = new ResizeObserver(l), L.value = _.value?.parentNode || null, L.value && P.value.observe(L.value);
252
+ M.value && (D.value && M.value.unobserve(D.value), M.value.disconnect()), M.value = new ResizeObserver(l), D.value = _.value?.parentNode || null, D.value && M.value.observe(D.value);
253
253
  }
254
254
  }
255
255
  it(() => {
256
- P.value && (L.value && P.value.unobserve(L.value), P.value.disconnect());
256
+ M.value && (D.value && M.value.unobserve(D.value), M.value.disconnect());
257
257
  });
258
258
  const { isPrinting: Ve, isImaging: Ge, generatePdf: We, generateImage: Ye } = Pa({
259
259
  elementId: `vue-ui-ridgeline_${A.value}`,
260
260
  fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
261
261
  options: e.value.userOptions.print
262
- }), Tt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pt = c(() => ha(e.value.customPalette)), D = i({
262
+ }), Tt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pt = c(() => da(e.value.customPalette)), R = i({
263
263
  showTable: e.value.table.show
264
264
  });
265
- Z(
266
- () => z.value,
265
+ te(
266
+ () => I.value,
267
267
  async (t) => {
268
- Array.isArray(t) && t.length && (ee.value = !e.value.userOptions.showOnChartHover, await _e(), Ue(), he.value += 1, de.value += 1, D.value.showTable = e.value.table.show);
268
+ Array.isArray(t) && t.length && (ae.value = !e.value.userOptions.showOnChartHover, await _e(), Ue(), de.value += 1, he.value += 1, R.value.showTable = e.value.table.show);
269
269
  },
270
270
  { deep: !0, immediate: !0 }
271
- ), Z(() => E.dataset, (t) => {
271
+ ), te(() => H.dataset, (t) => {
272
272
  Array.isArray(t) && t.length > 0 && (me.value = !1);
273
- }, { deep: !0 }), Z(
274
- () => W.value,
273
+ }, { deep: !0 }), te(
274
+ () => j.value,
275
275
  async (t) => {
276
276
  t || (await _e(), Ue());
277
277
  },
278
278
  { immediate: !0 }
279
- ), Z(
280
- () => E.config,
279
+ ), te(
280
+ () => H.config,
281
281
  () => {
282
- e.value = pe(z.value || null), ee.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, he.value += 1, de.value += 1;
282
+ e.value = pe(I.value || null), ae.value = !e.value.userOptions.showOnChartHover, C.value = Math.min(e.value.style.chart.areas.height, e.value.style.chart.areas.rowHeight), R.value.showTable = e.value.table.show, de.value += 1, he.value += 1;
283
283
  },
284
284
  { deep: !0 }
285
285
  );
286
286
  const xe = c(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
287
- function ae(t) {
288
- w.value.includes(t) ? w.value = w.value.filter((l) => l !== t) : w.value.push(t), ve("selectLegend", X.value);
287
+ function oe(t) {
288
+ w.value.includes(t) ? w.value = w.value.filter((l) => l !== t) : w.value.push(t), ve("selectLegend", V.value);
289
289
  }
290
290
  function je(t) {
291
- if (!U.value.length)
291
+ if (!G.value.length)
292
292
  return e.value.debug && console.warn("VueUiRidgeline - There are no series to show."), null;
293
- const l = U.value.find((a) => a.name === t);
293
+ const l = G.value.find((a) => a.name === t);
294
294
  return l || (e.value.debug && console.warn(`VueUiRidgeline - Series name not found "${t}"`), null);
295
295
  }
296
296
  function Ot(t) {
297
297
  const l = je(t);
298
- l !== null && w.value.includes(l.id) && ae(l.id);
298
+ l !== null && w.value.includes(l.id) && oe(l.id);
299
299
  }
300
300
  function Mt(t) {
301
301
  const l = je(t);
302
- l !== null && (w.value.includes(l.id) || ae(l.id));
302
+ l !== null && (w.value.includes(l.id) || oe(l.id));
303
303
  }
304
- const O = c(() => V.value ? (z.value || []).map((t) => ({
304
+ const L = c(() => W.value ? (I.value || []).map((t) => ({
305
305
  ...t,
306
306
  labelLen: Et(t.name, e.value.style.chart.yAxis.labels.fontSize),
307
307
  uid: Me(),
308
308
  datapoints: t.datapoints.map((l, a) => {
309
- const s = l.color ? da(l.color) : Pt.value[a] || ue[a] || ue[a % ue.length], o = ct(l.name);
309
+ const s = l.color ? ha(l.color) : Pt.value[a] || ue[a] || ue[a % ue.length], o = ct(l.name);
310
310
  return { ...l, color: s, id: o };
311
311
  })
312
- })) : []), qe = c(() => e.value.style.chart.padding.top + C.value * (z.value || []).length + C.value * xe.value + e.value.style.chart.padding.bottom), y = c(() => {
312
+ })) : []), qe = c(() => e.value.style.chart.padding.top + C.value * (I.value || []).length + C.value * xe.value + e.value.style.chart.padding.bottom), p = c(() => {
313
313
  const t = e.value.style.chart.padding;
314
314
  return {
315
315
  width: Ee.value,
316
316
  height: qe.value,
317
317
  padding: t
318
318
  };
319
- }), Lt = c(() => y.value.width), zt = c(() => y.value.height), ke = i(0), Dt = dt((t) => {
319
+ }), Lt = c(() => p.value.width), zt = c(() => p.value.height), ke = i(0), Dt = ht((t) => {
320
320
  ke.value = t;
321
321
  }, 100);
322
322
  ia((t) => {
@@ -330,26 +330,26 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
330
330
  ke.value = 0;
331
331
  });
332
332
  const b = c(() => ({
333
- fullHeight: y.value.height + ke.value,
334
- top: y.value.padding.top,
335
- left: y.value.padding.left,
336
- right: y.value.width - y.value.padding.right,
337
- bottom: y.value.height - e.value.style.chart.padding.bottom,
338
- width: y.value.width - (y.value.padding.left + y.value.padding.right)
339
- })), Y = c(() => Math.max(...O.value.flatMap((t) => t.datapoints.map((l) => l.values.length)))), j = c(() => Ma({
333
+ fullHeight: p.value.height + ke.value,
334
+ top: p.value.padding.top,
335
+ left: p.value.padding.left,
336
+ right: p.value.width - p.value.padding.right,
337
+ bottom: p.value.height - e.value.style.chart.padding.bottom,
338
+ width: p.value.width - (p.value.padding.left + p.value.padding.right)
339
+ })), q = c(() => Math.max(...L.value.flatMap((t) => t.datapoints.map((l) => l.values.length)))), J = c(() => Ma({
340
340
  values: e.value.style.chart.xAxis.labels.values,
341
- maxDatapoints: Y.value,
341
+ maxDatapoints: q.value,
342
342
  formatter: e.value.style.chart.xAxis.labels.datetimeFormatter,
343
343
  start: 0,
344
344
  end: e.value.style.chart.xAxis.labels.values.length
345
- })), H = c(() => {
346
- const t = Math.max(...O.value.map((o) => o.labelLen)), l = y.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, a = (b.value.width - l) / Y.value, s = [];
347
- for (let o = 0; o < Y.value; o += 1)
345
+ })), U = c(() => {
346
+ const t = Math.max(...L.value.map((o) => o.labelLen)), l = p.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, a = (b.value.width - l) / q.value, s = [];
347
+ for (let o = 0; o < q.value; o += 1)
348
348
  s.push({
349
349
  selectorX: l + a * o,
350
350
  x: l + a * o - a / 2,
351
351
  y: b.value.top,
352
- label: e.value.style.chart.xAxis.labels.values[o] ? j.value[o].text : "",
352
+ label: e.value.style.chart.xAxis.labels.values[o] ? J.value[o].text : "",
353
353
  index: o,
354
354
  width: a,
355
355
  height: qe.value
@@ -357,18 +357,18 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
357
357
  return s;
358
358
  });
359
359
  function Ae(t) {
360
- return O.value.map((l) => l.datapoints.map((a) => ({
360
+ return L.value.map((l) => l.datapoints.map((a) => ({
361
361
  dp: a,
362
362
  selected: a.values[t.index]
363
363
  })));
364
364
  }
365
365
  function It(t) {
366
- d.value = t;
366
+ g.value = t;
367
367
  const l = Ae(t);
368
368
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t.index });
369
369
  }
370
370
  function Rt(t) {
371
- d.value = null;
371
+ g.value = null;
372
372
  const l = Ae(t);
373
373
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: t.index });
374
374
  }
@@ -384,40 +384,40 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
384
384
  return t + s > b.value.right;
385
385
  }
386
386
  function Et(t, l, a = "sans-serif") {
387
- const o = document.createElement("canvas").getContext("2d"), v = typeof l == "number" ? `${l}px` : l;
388
- return o.font = `${v} ${a}`, o.measureText(t).width;
387
+ const o = document.createElement("canvas").getContext("2d"), d = typeof l == "number" ? `${l}px` : l;
388
+ return o.font = `${d} ${a}`, o.measureText(t).width;
389
389
  }
390
- const X = c(() => {
390
+ const V = c(() => {
391
391
  C.value;
392
- const t = Math.max(...O.value.map((x) => x.labelLen)), l = Math.max(...O.value.flatMap((x) => x.datapoints.flatMap((J) => J.values))), a = Math.min(...O.value.flatMap((x) => x.datapoints.flatMap((J) => J.values))), s = y.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, o = (b.value.width - s) / Y.value, v = Math.abs(Math.min(a, 0)), S = l + v;
392
+ const t = Math.max(...L.value.map((x) => x.labelLen)), l = Math.max(...L.value.flatMap((x) => x.datapoints.flatMap((K) => K.values))), a = Math.min(...L.value.flatMap((x) => x.datapoints.flatMap((K) => K.values))), s = p.value.padding.left + t + 16 + e.value.style.chart.yAxis.labels.offsetX, o = (b.value.width - s) / q.value, d = Math.abs(Math.min(a, 0)), S = l + d;
393
393
  function ot(x) {
394
394
  return isNaN(x / S) ? 0 : x / S;
395
395
  }
396
- return O.value.map((x, J) => {
397
- const st = b.value.top + C.value * J, R = b.value.top + st + C.value * xe.value * (1 - ot(v));
396
+ return L.value.map((x, K) => {
397
+ const st = b.value.top + C.value * K, F = b.value.top + st + C.value * xe.value * (1 - ot(d));
398
398
  return {
399
399
  ...x,
400
400
  label: {
401
401
  x: s - e.value.style.chart.yAxis.labels.fontSize,
402
- y: R
402
+ y: F
403
403
  },
404
- datapoints: x.datapoints.map((Q) => {
405
- const N = Q.values.map((K, la) => {
406
- const oa = isNaN(K) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(K) ? 0 : K || 0, sa = s + o * la, na = b.value.top + st + C.value * xe.value * (1 - ot(oa + v)), ra = K === Math.max(...Q.values);
404
+ datapoints: x.datapoints.map((Z) => {
405
+ const E = Z.values.map((ee, la) => {
406
+ const oa = isNaN(ee) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(ee) ? 0 : ee || 0, sa = s + o * la, na = b.value.top + st + C.value * xe.value * (1 - ot(oa + d)), ra = ee === Math.max(...Z.values);
407
407
  return {
408
408
  x: sa,
409
409
  y: na,
410
- value: K,
410
+ value: ee,
411
411
  isMaxPoint: ra,
412
- zero: R
412
+ zero: F
413
413
  };
414
- }), Zt = `${fa(N, R, !1, !1)}`, ea = `M ${s},${R} ${vt(N)} ${N.at(-1).x},${R}`, ta = `M ${s},${R} ${N.at(-1).x},${R}`, nt = `M ${ga(N)}`, rt = `M ${vt(N)}`, aa = ya(
414
+ }), Zt = `${fa(E, F, !1, !1)}`, ea = `M ${s},${F} ${vt(E)} ${E.at(-1).x},${F}`, ta = `M ${s},${F} ${E.at(-1).x},${F}`, nt = `M ${ga(E)}`, rt = `M ${vt(E)}`, aa = ya(
415
415
  e.value.style.chart.areas.smooth ? nt : rt
416
416
  );
417
417
  return {
418
- ...Q,
418
+ ...Z,
419
419
  uid: Me(),
420
- plots: N,
420
+ plots: E,
421
421
  smoothPath: Zt,
422
422
  straightPath: ea,
423
423
  zeroPath: ta,
@@ -425,7 +425,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
425
425
  smoothPathRidge: nt,
426
426
  straightPathRidge: rt
427
427
  };
428
- }).filter((Q) => !w.value.includes(Q.id))
428
+ }).filter((Z) => !w.value.includes(Z.id))
429
429
  };
430
430
  });
431
431
  }), w = i([]);
@@ -433,29 +433,29 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
433
433
  const l = /* @__PURE__ */ new Map();
434
434
  return t.forEach((a) => {
435
435
  a.datapoints.forEach((s, o) => {
436
- const v = ct(s.name);
437
- l.has(v) || l.set(v, {
438
- id: v,
436
+ const d = ct(s.name);
437
+ l.has(d) || l.set(d, {
438
+ id: d,
439
439
  name: s.name,
440
440
  color: s.color,
441
441
  shape: "circle",
442
- segregate: () => ae(v),
443
- isSegregated: w.value.includes(v),
444
- opacity: w.value.includes(v) ? 0.5 : 1
442
+ segregate: () => oe(d),
443
+ isSegregated: w.value.includes(d),
444
+ opacity: w.value.includes(d) ? 0.5 : 1
445
445
  });
446
446
  });
447
447
  }), Array.from(l.values());
448
448
  }
449
- const U = c(() => Bt(O.value)), Ht = c(() => ({
449
+ const G = c(() => Bt(L.value)), Ht = c(() => ({
450
450
  cy: "donut-div-legend",
451
451
  backgroundColor: e.value.style.chart.legend.backgroundColor,
452
452
  color: e.value.style.chart.legend.color,
453
453
  fontSize: e.value.style.chart.legend.fontSize,
454
454
  paddingBottom: 12,
455
455
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
456
- })), I = i(!1);
456
+ })), N = i(!1);
457
457
  function Qe(t) {
458
- I.value = t, Fe.value += 1;
458
+ N.value = t, Fe.value += 1;
459
459
  }
460
460
  const Ke = i({}), Ze = i([]);
461
461
  function Xt(t) {
@@ -466,7 +466,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
466
466
  useArea: !0,
467
467
  smooth: e.value.style.chart.areas.smooth,
468
468
  series: l.values
469
- })), B.value = t, Ke.value = wa({
469
+ })), X.value = t, Ke.value = wa({
470
470
  ...e.value.style.chart.dialog.xyChart,
471
471
  responsive: !0,
472
472
  // Overriding
@@ -505,14 +505,14 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
505
505
  function Vt() {
506
506
  Ce.value = null;
507
507
  }
508
- const le = i(!1);
508
+ const se = i(!1);
509
509
  function we() {
510
- le.value = !le.value;
510
+ se.value = !se.value;
511
511
  }
512
512
  function et() {
513
- D.value.showTable = !D.value.showTable;
513
+ R.value.showTable = !R.value.showTable;
514
514
  }
515
- const tt = c(() => ({ body: X.value.flatMap((a) => a.datapoints.flatMap((s) => ({
515
+ const tt = c(() => ({ body: V.value.flatMap((a) => a.datapoints.flatMap((s) => ({
516
516
  ...s,
517
517
  rowName: `${a.name}: ${s.name}`
518
518
  }))).map((a) => [
@@ -521,10 +521,10 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
521
521
  color: a.color
522
522
  },
523
523
  ...a.values
524
- ]) })), oe = c(() => {
524
+ ]) })), ne = c(() => {
525
525
  const t = [
526
526
  e.value.table.columnNames.series,
527
- ...j.value.map((s) => s.text)
527
+ ...J.value.map((s) => s.text)
528
528
  ], l = {
529
529
  th: {
530
530
  backgroundColor: e.value.table.th.backgroundColor,
@@ -541,7 +541,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
541
541
  return {
542
542
  colNames: [
543
543
  e.value.table.columnNames.series,
544
- ...j.value.map((s) => s.text)
544
+ ...J.value.map((s) => s.text)
545
545
  ],
546
546
  head: t,
547
547
  body: tt.value.body,
@@ -551,8 +551,8 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
551
551
  function $e(t = null) {
552
552
  _e(() => {
553
553
  const l = [
554
- [e.value.table.columnNames.series, ...j.map((o) => [o.text])],
555
- ...tt.value.body.map((o, v) => [o[0].name, ...o.slice(1)])
554
+ [e.value.table.columnNames.series, ...J.map((o) => [o.text])],
555
+ ...tt.value.body.map((o, d) => [o[0].name, ...o.slice(1)])
556
556
  ], a = [
557
557
  [e.value.style.chart.title.text],
558
558
  [e.value.style.chart.title.subtitle.text]
@@ -564,24 +564,24 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
564
564
  });
565
565
  }
566
566
  function Gt() {
567
- return X.value;
567
+ return V.value;
568
568
  }
569
569
  async function Wt({ scale: t = 2 } = {}) {
570
570
  if (!_.value) return;
571
- const { width: l, height: a } = _.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: v } = await Ea({ domElement: _.value, base64: !0, img: !0, scale: t });
571
+ const { width: l, height: a } = _.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: d } = await Ea({ domElement: _.value, base64: !0, img: !0, scale: t });
572
572
  return {
573
573
  imageUri: o,
574
- base64: v,
574
+ base64: d,
575
575
  title: e.value.style.chart.title.text,
576
576
  width: l,
577
577
  height: a,
578
578
  aspectRatio: s
579
579
  };
580
580
  }
581
- const Yt = c(() => ({ min: 0, max: Y.value }));
581
+ const Yt = c(() => ({ min: 0, max: q.value }));
582
582
  Da({
583
583
  timeLabelsEls: ge,
584
- timeLabels: j,
584
+ timeLabels: J,
585
585
  slicer: Yt,
586
586
  configRef: e,
587
587
  rotationPath: ["style", "chart", "xAxis", "labels", "rotation"],
@@ -592,8 +592,8 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
592
592
  targetClass: ".vue-ui-ridgeline-x-axis-label",
593
593
  angle: e.value.style.chart.xAxis.labels.autoRotate.angle
594
594
  });
595
- const q = c(() => {
596
- const t = e.value.table.useDialog && !e.value.table.show, l = D.value.showTable;
595
+ const Q = c(() => {
596
+ const t = e.value.table.useDialog && !e.value.table.show, l = R.value.showTable;
597
597
  return {
598
598
  component: t ? ze : xt,
599
599
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -602,7 +602,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
602
602
  color: e.value.table.th.color,
603
603
  headerColor: e.value.table.th.color,
604
604
  headerBg: e.value.table.th.backgroundColor,
605
- isFullscreen: I.value,
605
+ isFullscreen: N.value,
606
606
  fullscreenParent: _.value,
607
607
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
608
608
  } : {
@@ -622,20 +622,20 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
622
622
  }
623
623
  };
624
624
  });
625
- Z(() => D.value.showTable, (t) => {
626
- e.value.table.show || (t && e.value.table.useDialog && G.value ? G.value.open() : "close" in G.value && G.value.close());
625
+ te(() => R.value.showTable, (t) => {
626
+ e.value.table.show || (t && e.value.table.useDialog && Y.value ? Y.value.open() : "close" in Y.value && Y.value.close());
627
627
  });
628
628
  function at() {
629
- D.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
629
+ R.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
630
630
  }
631
631
  const jt = c(() => e.value.style.chart.backgroundColor), qt = c(() => ({
632
632
  ...e.value.style.chart.legend,
633
633
  position: "bottom"
634
634
  })), Jt = c(() => e.value.style.chart.title), { exportSvg: Qt, getSvg: Kt } = Oa({
635
- svg: te,
635
+ svg: le,
636
636
  title: Jt,
637
637
  legend: qt,
638
- legendItems: U,
638
+ legendItems: G,
639
639
  backgroundColor: jt
640
640
  });
641
641
  async function lt({ isCb: t }) {
@@ -660,7 +660,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
660
660
  }), (t, l) => (n(), r("div", {
661
661
  ref_key: "ridgelineChart",
662
662
  ref: _,
663
- class: se(`vue-data-ui-component vue-ui-ridgeline ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
663
+ class: re(`vue-data-ui-component vue-ui-ridgeline ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
664
664
  id: `vue-ui-ridgeline_${A.value}`,
665
665
  style: $({
666
666
  fontFamily: e.value.style.fontFamily,
@@ -672,15 +672,35 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
672
672
  onMouseenter: l[3] || (l[3] = () => u(He)(!0)),
673
673
  onMouseleave: l[4] || (l[4] = () => u(He)(!1))
674
674
  }, [
675
- e.value.userOptions.buttons.annotator && u(te) ? (n(), T(u(At), {
675
+ e.value.userOptions.buttons.annotator && u(le) ? (n(), T(u(At), {
676
676
  key: 0,
677
677
  color: e.value.style.chart.color,
678
678
  backgroundColor: e.value.style.chart.backgroundColor,
679
- active: le.value,
680
- svgRef: u(te),
679
+ active: se.value,
680
+ svgRef: u(le),
681
681
  onClose: we
682
- }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : h("", !0),
683
- p(t.$slots, "userConfig", {}, void 0, !0),
682
+ }, {
683
+ "annotator-action-close": v(() => [
684
+ f(t.$slots, "annotator-action-close", {}, void 0, !0)
685
+ ]),
686
+ "annotator-action-color": v(({ color: a }) => [
687
+ f(t.$slots, "annotator-action-color", P(O({ color: a })), void 0, !0)
688
+ ]),
689
+ "annotator-action-draw": v(({ mode: a }) => [
690
+ f(t.$slots, "annotator-action-draw", P(O({ mode: a })), void 0, !0)
691
+ ]),
692
+ "annotator-action-undo": v(({ disabled: a }) => [
693
+ f(t.$slots, "annotator-action-undo", P(O({ disabled: a })), void 0, !0)
694
+ ]),
695
+ "annotator-action-redo": v(({ disabled: a }) => [
696
+ f(t.$slots, "annotator-action-redo", P(O({ disabled: a })), void 0, !0)
697
+ ]),
698
+ "annotator-action-delete": v(({ disabled: a }) => [
699
+ f(t.$slots, "annotator-action-delete", P(O({ disabled: a })), void 0, !0)
700
+ ]),
701
+ _: 3
702
+ }, 8, ["color", "backgroundColor", "active", "svgRef"])) : h("", !0),
703
+ f(t.$slots, "userConfig", {}, void 0, !0),
684
704
  Tt.value ? (n(), r("div", {
685
705
  key: 1,
686
706
  ref_key: "noTitle",
@@ -695,7 +715,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
695
715
  style: "width:100%;background:transparent;padding-bottom:24px"
696
716
  }, [
697
717
  (n(), T(Na, {
698
- key: `title_${he.value}`,
718
+ key: `title_${de.value}`,
699
719
  config: {
700
720
  title: {
701
721
  cy: "ridgeline-div-title",
@@ -708,7 +728,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
708
728
  }
709
729
  }, null, 8, ["config"]))
710
730
  ], 512)) : h("", !0),
711
- e.value.userOptions.show && V.value && (u(Xe) || u(ee)) ? (n(), T(u(Ct), {
731
+ e.value.userOptions.show && W.value && (u(Xe) || u(ae)) ? (n(), T(u(Ct), {
712
732
  ref_key: "userOptionsRef",
713
733
  ref: ye,
714
734
  key: `user_option_${Fe.value}`,
@@ -726,16 +746,16 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
726
746
  hasTable: e.value.userOptions.buttons.table,
727
747
  hasLabel: !1,
728
748
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
729
- isFullscreen: I.value,
749
+ isFullscreen: N.value,
730
750
  printScale: e.value.userOptions.print.scale,
731
751
  chartElement: _.value,
732
752
  position: e.value.userOptions.position,
733
753
  isTooltip: !1,
734
754
  titles: { ...e.value.userOptions.buttonTitles },
735
755
  hasAnnotator: e.value.userOptions.buttons.annotator,
736
- isAnnotation: le.value,
756
+ isAnnotation: se.value,
737
757
  tableDialog: e.value.table.useDialog,
738
- style: $({ visibility: u(Xe) ? u(ee) ? "visible" : "hidden" : "visible" }),
758
+ style: $({ visibility: u(Xe) ? u(ae) ? "visible" : "hidden" : "visible" }),
739
759
  onToggleFullscreen: Qe,
740
760
  onGeneratePdf: u(We),
741
761
  onGenerateCsv: $e,
@@ -746,108 +766,108 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
746
766
  }, Se({ _: 2 }, [
747
767
  t.$slots.menuIcon ? {
748
768
  name: "menuIcon",
749
- fn: g(({ isOpen: a, color: s }) => [
750
- p(t.$slots, "menuIcon", ne(re({ isOpen: a, color: s })), void 0, !0)
769
+ fn: v(({ isOpen: a, color: s }) => [
770
+ f(t.$slots, "menuIcon", P(O({ isOpen: a, color: s })), void 0, !0)
751
771
  ]),
752
772
  key: "0"
753
773
  } : void 0,
754
774
  t.$slots.optionTooltip ? {
755
775
  name: "optionTooltip",
756
- fn: g(() => [
757
- p(t.$slots, "optionTooltip", {}, void 0, !0)
776
+ fn: v(() => [
777
+ f(t.$slots, "optionTooltip", {}, void 0, !0)
758
778
  ]),
759
779
  key: "1"
760
780
  } : void 0,
761
781
  t.$slots.optionPdf ? {
762
782
  name: "optionPdf",
763
- fn: g(() => [
764
- p(t.$slots, "optionPdf", {}, void 0, !0)
783
+ fn: v(() => [
784
+ f(t.$slots, "optionPdf", {}, void 0, !0)
765
785
  ]),
766
786
  key: "2"
767
787
  } : void 0,
768
788
  t.$slots.optionCsv ? {
769
789
  name: "optionCsv",
770
- fn: g(() => [
771
- p(t.$slots, "optionCsv", {}, void 0, !0)
790
+ fn: v(() => [
791
+ f(t.$slots, "optionCsv", {}, void 0, !0)
772
792
  ]),
773
793
  key: "3"
774
794
  } : void 0,
775
795
  t.$slots.optionImg ? {
776
796
  name: "optionImg",
777
- fn: g(() => [
778
- p(t.$slots, "optionImg", {}, void 0, !0)
797
+ fn: v(() => [
798
+ f(t.$slots, "optionImg", {}, void 0, !0)
779
799
  ]),
780
800
  key: "4"
781
801
  } : void 0,
782
802
  t.$slots.optionSvg ? {
783
803
  name: "optionSvg",
784
- fn: g(() => [
785
- p(t.$slots, "optionSvg", {}, void 0, !0)
804
+ fn: v(() => [
805
+ f(t.$slots, "optionSvg", {}, void 0, !0)
786
806
  ]),
787
807
  key: "5"
788
808
  } : void 0,
789
809
  t.$slots.optionTable ? {
790
810
  name: "optionTable",
791
- fn: g(() => [
792
- p(t.$slots, "optionTable", {}, void 0, !0)
811
+ fn: v(() => [
812
+ f(t.$slots, "optionTable", {}, void 0, !0)
793
813
  ]),
794
814
  key: "6"
795
815
  } : void 0,
796
816
  t.$slots.optionFullscreen ? {
797
817
  name: "optionFullscreen",
798
- fn: g(({ toggleFullscreen: a, isFullscreen: s }) => [
799
- p(t.$slots, "optionFullscreen", ne(re({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
818
+ fn: v(({ toggleFullscreen: a, isFullscreen: s }) => [
819
+ f(t.$slots, "optionFullscreen", P(O({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
800
820
  ]),
801
821
  key: "7"
802
822
  } : void 0,
803
823
  t.$slots.optionAnnotator ? {
804
824
  name: "optionAnnotator",
805
- fn: g(({ toggleAnnotator: a, isAnnotator: s }) => [
806
- p(t.$slots, "optionAnnotator", ne(re({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
825
+ fn: v(({ toggleAnnotator: a, isAnnotator: s }) => [
826
+ f(t.$slots, "optionAnnotator", P(O({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
807
827
  ]),
808
828
  key: "8"
809
829
  } : void 0
810
830
  ]), 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),
811
831
  (n(), r("svg", {
812
832
  ref_key: "svgRef",
813
- ref: te,
833
+ ref: le,
814
834
  xmlns: u(pa),
815
- class: se({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
816
- viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${b.value.fullHeight <= 0 ? 10 : b.value.fullHeight}`,
835
+ class: re({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
836
+ viewBox: `0 0 ${p.value.width <= 0 ? 10 : p.value.width} ${b.value.fullHeight <= 0 ? 10 : b.value.fullHeight}`,
817
837
  style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${Be.value}px; width: 100%;` : ""}`)
818
838
  }, [
819
839
  Te(u(wt)),
820
- f("defs", null, [
821
- (n(!0), r(m, null, k(U.value, (a, s) => (n(), r("linearGradient", {
840
+ y("defs", null, [
841
+ (n(!0), r(m, null, k(G.value, (a, s) => (n(), r("linearGradient", {
822
842
  id: `gradient-${a.id}-${A.value}`,
823
843
  x1: "50%",
824
844
  y1: "0%",
825
845
  x2: "50%",
826
846
  y2: "100%"
827
847
  }, [
828
- f("stop", {
848
+ y("stop", {
829
849
  offset: "0%",
830
850
  "stop-color": a.color,
831
851
  "stop-opacity": "1"
832
852
  }, null, 8, Va),
833
- f("stop", {
853
+ y("stop", {
834
854
  offset: "30%",
835
855
  "stop-color": a.color,
836
856
  "stop-opacity": "0.7"
837
857
  }, null, 8, Ga),
838
- f("stop", {
858
+ y("stop", {
839
859
  offset: "70%",
840
860
  "stop-color": a.color,
841
861
  "stop-opacity": "0.3"
842
862
  }, null, 8, Wa),
843
- f("stop", {
863
+ y("stop", {
844
864
  offset: "100%",
845
865
  "stop-color": a.color,
846
866
  "stop-opacity": "0.1"
847
867
  }, null, 8, Ya)
848
868
  ], 8, Ua))), 256)),
849
- (n(!0), r(m, null, k(X.value, (a, s) => (n(), r(m, null, [
850
- (n(!0), r(m, null, k(a.datapoints, (o, v) => (n(), r("linearGradient", {
869
+ (n(!0), r(m, null, k(V.value, (a, s) => (n(), r(m, null, [
870
+ (n(!0), r(m, null, k(a.datapoints, (o, d) => (n(), r("linearGradient", {
851
871
  key: `grad${o.id}`,
852
872
  id: `gradient-single-${A.value}-${o.uid}`,
853
873
  x1: "50%",
@@ -855,22 +875,22 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
855
875
  x2: "50%",
856
876
  y2: "100%"
857
877
  }, [
858
- f("stop", {
878
+ y("stop", {
859
879
  offset: "0%",
860
880
  "stop-color": o.color,
861
881
  "stop-opacity": "1"
862
882
  }, null, 8, qa),
863
- f("stop", {
883
+ y("stop", {
864
884
  offset: "30%",
865
885
  "stop-color": o.color,
866
886
  "stop-opacity": "0.7"
867
887
  }, null, 8, Ja),
868
- f("stop", {
888
+ y("stop", {
869
889
  offset: "70%",
870
890
  "stop-color": o.color,
871
891
  "stop-opacity": "0.3"
872
892
  }, null, 8, Qa),
873
- f("stop", {
893
+ y("stop", {
874
894
  offset: "100%",
875
895
  "stop-color": o.color,
876
896
  "stop-opacity": "0.1"
@@ -878,18 +898,18 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
878
898
  ], 8, ja))), 128))
879
899
  ], 64))), 256))
880
900
  ]),
881
- (n(!0), r(m, null, k(X.value, (a, s) => (n(), r("g", {
901
+ (n(!0), r(m, null, k(V.value, (a, s) => (n(), r("g", {
882
902
  key: `ds-${s}`
883
903
  }, [
884
- (n(!0), r(m, null, k(a.datapoints, (o, v) => (n(), r("g", {
904
+ (n(!0), r(m, null, k(a.datapoints, (o, d) => (n(), r("g", {
885
905
  key: o.id
886
906
  }, [
887
907
  t.$slots.pattern ? (n(), r("g", Za, [
888
- f("defs", null, [
889
- p(t.$slots, "pattern", Pe({ ref_for: !0 }, { datapointIndex: s, seriesIndex: v, patternId: `pattern_${A.value}_${o.uid}` }), void 0, !0)
908
+ y("defs", null, [
909
+ f(t.$slots, "pattern", Pe({ ref_for: !0 }, { datapointIndex: s, seriesIndex: d, patternId: `pattern_${A.value}_${o.uid}` }), void 0, !0)
890
910
  ])
891
911
  ])) : h("", !0),
892
- f("path", {
912
+ y("path", {
893
913
  fill: t.$slots.pattern ? `url(#pattern_${A.value}_${o.uid})` : e.value.style.chart.backgroundColor,
894
914
  stroke: "none",
895
915
  "stroke-linecap": "round",
@@ -898,26 +918,26 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
898
918
  opacity: e.value.style.chart.areas.opacity
899
919
  })
900
920
  }, null, 12, el),
901
- f("path", {
921
+ y("path", {
902
922
  fill: "none",
903
923
  stroke: e.value.style.chart.areas.stroke.useSerieColor ? o.color : e.value.style.chart.areas.stroke.color,
904
924
  "stroke-width": e.value.style.chart.areas.strokeWidth,
905
925
  d: e.value.style.chart.areas.smooth ? o.smoothPathRidge : o.straightPathRidge,
906
926
  "stroke-linecap": "round",
907
927
  "stroke-linejoin": "round",
908
- class: se({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(W) }),
928
+ class: re({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(j) }),
909
929
  style: $({
910
930
  strokeDasharray: o.pathLength,
911
931
  strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
912
932
  })
913
933
  }, null, 14, tl),
914
- f("path", {
934
+ y("path", {
915
935
  fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${o.id}-${A.value})` : `url(#gradient-single-${A.value}-${o.uid})` : o.color,
916
936
  stroke: "none",
917
937
  d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
918
938
  "stroke-linecap": "round",
919
939
  "stroke-linejoin": "round",
920
- class: se({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(W) }),
940
+ class: re({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(j) }),
921
941
  style: $({
922
942
  strokeDasharray: o.pathLength,
923
943
  strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
@@ -957,7 +977,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
957
977
  }
958
978
  }, null, 8, sl)) : h("", !0)
959
979
  ]))), 128)),
960
- f("text", {
980
+ y("text", {
961
981
  x: a.label.x,
962
982
  y: a.label.y,
963
983
  "text-anchor": "end",
@@ -967,19 +987,19 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
967
987
  style: $({
968
988
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
969
989
  }),
970
- "text-decoration": e.value.style.chart.dialog.show && (Ce.value === s || B.value && a.uid === B.value.uid) ? "underline" : "",
990
+ "text-decoration": e.value.style.chart.dialog.show && (Ce.value === s || X.value && a.uid === X.value.uid) ? "underline" : "",
971
991
  onMouseenter: (o) => Ut(s),
972
992
  onMouseleave: Vt,
973
993
  onClick: (o) => Xt(a)
974
- }, F(a.name), 45, nl)
994
+ }, B(a.name), 45, nl)
975
995
  ]))), 128)),
976
996
  e.value.style.chart.xAxis.labels.values.length ? (n(), r("g", {
977
997
  key: 0,
978
998
  ref_key: "timeLabelsEls",
979
999
  ref: ge
980
1000
  }, [
981
- (n(!0), r(m, null, k(H.value, (a, s) => p(t.$slots, "time-label", Pe({ ref_for: !0 }, {
982
- 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 === H.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(H.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
1001
+ (n(!0), r(m, null, k(U.value, (a, s) => f(t.$slots, "time-label", Pe({ ref_for: !0 }, {
1002
+ 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 === U.value.length - 1) || a && g.value && g.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(U.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
983
1003
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
984
1004
  content: a.label,
985
1005
  textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -988,7 +1008,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
988
1008
  x: a.selectorX,
989
1009
  y: b.value.bottom + e.value.style.chart.xAxis.labels.offsetY
990
1010
  }), () => [
991
- 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 === H.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(H.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (n(), r("g", rl, [
1011
+ 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 === U.value.length - 1) || a && g.value && g.value.index === s || a && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(U.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (n(), r("g", rl, [
992
1012
  String(a.label).includes(`
993
1013
  `) ? (n(), r("text", {
994
1014
  key: 1,
@@ -999,7 +1019,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
999
1019
  transform: `translate(${a.selectorX}, ${b.value.bottom + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
1000
1020
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1001
1021
  style: $({
1002
- opacity: d.value ? d.value.index === s ? 1 : 0.2 : 1
1022
+ opacity: g.value ? g.value.index === s ? 1 : 0.2 : 1
1003
1023
  }),
1004
1024
  innerHTML: u(ba)({
1005
1025
  content: String(a.label),
@@ -1017,14 +1037,14 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1017
1037
  transform: `translate(${a.selectorX}, ${b.value.bottom + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
1018
1038
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1019
1039
  style: $({
1020
- opacity: d.value ? d.value.index === s ? 1 : 0.2 : 1
1040
+ opacity: g.value ? g.value.index === s ? 1 : 0.2 : 1
1021
1041
  })
1022
- }, F(a.label), 13, ul))
1042
+ }, B(a.label), 13, ul))
1023
1043
  ])) : h("", !0)
1024
1044
  ], !0)), 256))
1025
1045
  ], 512)) : h("", !0),
1026
- f("g", null, [
1027
- (n(!0), r(m, null, k(H.value, (a, s) => (n(), r("rect", {
1046
+ y("g", null, [
1047
+ (n(!0), r(m, null, k(U.value, (a, s) => (n(), r("rect", {
1028
1048
  x: a.x,
1029
1049
  y: a.y,
1030
1050
  width: a.width < 0 ? 0.1 : a.width,
@@ -1034,22 +1054,22 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1034
1054
  onMouseleave: (o) => Rt(a),
1035
1055
  onClick: () => Nt(a)
1036
1056
  }, null, 40, cl))), 256)),
1037
- e.value.style.chart.selector.show && d.value ? (n(), r("line", {
1057
+ e.value.style.chart.selector.show && g.value ? (n(), r("line", {
1038
1058
  key: 0,
1039
- x1: d.value.selectorX,
1040
- x2: d.value.selectorX,
1041
- y1: d.value.y,
1042
- y2: d.value.y + d.value.height - C.value / 2,
1059
+ x1: g.value.selectorX,
1060
+ x2: g.value.selectorX,
1061
+ y1: g.value.y,
1062
+ y2: g.value.y + g.value.height - C.value / 2,
1043
1063
  stroke: e.value.style.chart.selector.stroke,
1044
1064
  "stroke-width": e.value.style.chart.selector.strokeWidth,
1045
1065
  "stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
1046
1066
  "stroke-linecap": "round",
1047
1067
  style: { pointerEvents: "none" }
1048
1068
  }, null, 8, vl)) : h("", !0),
1049
- d.value ? (n(!0), r(m, { key: 1 }, k(X.value, (a) => (n(), r(m, null, [
1069
+ g.value ? (n(!0), r(m, { key: 1 }, k(V.value, (a) => (n(), r(m, null, [
1050
1070
  (n(!0), r(m, null, k(a.datapoints, (s) => (n(), r(m, null, [
1051
- (n(!0), r(m, null, k(s.plots, (o, v) => (n(), r(m, null, [
1052
- d.value && d.value.index === v ? (n(), r("circle", {
1071
+ (n(!0), r(m, null, k(s.plots, (o, d) => (n(), r(m, null, [
1072
+ g.value && g.value.index === d ? (n(), r("circle", {
1053
1073
  key: 0,
1054
1074
  cx: o.x,
1055
1075
  cy: o.y,
@@ -1060,8 +1080,8 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1060
1080
  style: {
1061
1081
  pointerEvents: "none"
1062
1082
  }
1063
- }, null, 8, hl)) : h("", !0),
1064
- d.value && d.value.index === v ? (n(), r("text", {
1083
+ }, null, 8, dl)) : h("", !0),
1084
+ g.value && g.value.index === d ? (n(), r("text", {
1065
1085
  key: 1,
1066
1086
  x: Je(
1067
1087
  o.x,
@@ -1097,7 +1117,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1097
1117
  style: {
1098
1118
  pointerEvents: "none"
1099
1119
  }
1100
- }, F(u(ie)(
1120
+ }, B(u(ie)(
1101
1121
  e.value.style.chart.selector.labels.formatter,
1102
1122
  o.value,
1103
1123
  u(ce)({
@@ -1106,38 +1126,38 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1106
1126
  s: e.value.style.chart.xAxis.labels.suffix,
1107
1127
  r: e.value.style.chart.selector.labels.rounding
1108
1128
  })
1109
- )), 9, dl)) : h("", !0)
1129
+ )), 9, hl)) : h("", !0)
1110
1130
  ], 64))), 256))
1111
1131
  ], 64))), 256))
1112
1132
  ], 64))), 256)) : h("", !0)
1113
1133
  ]),
1114
- p(t.$slots, "svg", { svg: y.value }, void 0, !0)
1134
+ f(t.$slots, "svg", { svg: p.value }, void 0, !0)
1115
1135
  ], 14, Xa)),
1116
1136
  t.$slots.watermark ? (n(), r("div", fl, [
1117
- p(t.$slots, "watermark", ne(re({ isPrinting: u(Ve) || u(Ge) })), void 0, !0)
1137
+ f(t.$slots, "watermark", P(O({ isPrinting: u(Ve) || u(Ge) })), void 0, !0)
1118
1138
  ])) : h("", !0),
1119
- f("div", {
1139
+ y("div", {
1120
1140
  ref_key: "chartLegend",
1121
1141
  ref: Ie
1122
1142
  }, [
1123
1143
  e.value.style.chart.legend.show ? (n(), T(Ra, {
1124
- key: `legend_${de.value}`,
1125
- legendSet: U.value,
1144
+ key: `legend_${he.value}`,
1145
+ legendSet: G.value,
1126
1146
  config: Ht.value,
1127
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => ae(a.id))
1147
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => oe(a.id))
1128
1148
  }, Se({
1129
- item: g(({ legend: a }) => [
1130
- u(W) ? h("", !0) : (n(), r("div", {
1149
+ item: v(({ legend: a }) => [
1150
+ u(j) ? h("", !0) : (n(), r("div", {
1131
1151
  key: 0,
1132
1152
  style: $(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`),
1133
1153
  onClick: (s) => a.segregate()
1134
- }, F(a.name), 13, gl))
1154
+ }, B(a.name), 13, gl))
1135
1155
  ]),
1136
1156
  _: 2
1137
1157
  }, [
1138
1158
  t.$slots.pattern ? {
1139
1159
  name: "legend-pattern",
1140
- fn: g(({ legend: a, index: s }) => [
1160
+ fn: v(({ legend: a, index: s }) => [
1141
1161
  Te(Fa, {
1142
1162
  shape: a.shape,
1143
1163
  radius: 30,
@@ -1149,7 +1169,7 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1149
1169
  key: "0"
1150
1170
  } : void 0
1151
1171
  ]), 1032, ["legendSet", "config"])) : h("", !0),
1152
- p(t.$slots, "legend", { legend: U.value }, void 0, !0)
1172
+ f(t.$slots, "legend", { legend: G.value }, void 0, !0)
1153
1173
  ], 512),
1154
1174
  t.$slots.source ? (n(), r("div", {
1155
1175
  key: 5,
@@ -1157,29 +1177,29 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1157
1177
  ref: Re,
1158
1178
  dir: "auto"
1159
1179
  }, [
1160
- p(t.$slots, "source", {}, void 0, !0)
1180
+ f(t.$slots, "source", {}, void 0, !0)
1161
1181
  ], 512)) : h("", !0),
1162
- V.value && e.value.userOptions.buttons.table ? (n(), T(ca(q.value.component), Pe({ key: 6 }, q.value.props, {
1182
+ W.value && e.value.userOptions.buttons.table ? (n(), T(ca(Q.value.component), Pe({ key: 6 }, Q.value.props, {
1163
1183
  ref_key: "tableUnit",
1164
- ref: G,
1184
+ ref: Y,
1165
1185
  onClose: at
1166
1186
  }), Se({
1167
- content: g(() => [
1187
+ content: v(() => [
1168
1188
  (n(), T(u(kt), {
1169
1189
  key: `table_${_t.value}`,
1170
- colNames: oe.value.colNames,
1171
- head: oe.value.head,
1172
- body: oe.value.body,
1173
- config: oe.value.config,
1174
- title: e.value.table.useDialog ? "" : q.value.title,
1190
+ colNames: ne.value.colNames,
1191
+ head: ne.value.head,
1192
+ body: ne.value.body,
1193
+ config: ne.value.config,
1194
+ title: e.value.table.useDialog ? "" : Q.value.title,
1175
1195
  withCloseButton: !e.value.table.useDialog,
1176
1196
  onClose: at
1177
1197
  }, {
1178
- th: g(({ th: a }) => [
1179
- f("div", { innerHTML: a }, null, 8, yl)
1198
+ th: v(({ th: a }) => [
1199
+ y("div", { innerHTML: a }, null, 8, yl)
1180
1200
  ]),
1181
- td: g(({ td: a }) => [
1182
- Oe(F(a.name ? a.name : u(ie)(
1201
+ td: v(({ td: a }) => [
1202
+ Oe(B(a.name ? a.name : u(ie)(
1183
1203
  e.value.style.chart.selector.labels.formatter,
1184
1204
  a,
1185
1205
  u(ce)({
@@ -1197,22 +1217,22 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1197
1217
  }, [
1198
1218
  e.value.table.useDialog ? {
1199
1219
  name: "title",
1200
- fn: g(() => [
1201
- Oe(F(q.value.title), 1)
1220
+ fn: v(() => [
1221
+ Oe(B(Q.value.title), 1)
1202
1222
  ]),
1203
1223
  key: "0"
1204
1224
  } : void 0,
1205
1225
  e.value.table.useDialog ? {
1206
1226
  name: "actions",
1207
- fn: g(() => [
1208
- f("button", {
1227
+ fn: v(() => [
1228
+ y("button", {
1209
1229
  tabindex: "0",
1210
1230
  class: "vue-ui-user-options-button",
1211
1231
  onClick: l[1] || (l[1] = (a) => $e(e.value.userOptions.callbacks.csv))
1212
1232
  }, [
1213
1233
  Te(u(bt), {
1214
1234
  name: "excel",
1215
- stroke: q.value.props.color
1235
+ stroke: Q.value.props.color
1216
1236
  }, null, 8, ["stroke"])
1217
1237
  ])
1218
1238
  ]),
@@ -1223,20 +1243,20 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1223
1243
  key: 7,
1224
1244
  ref_key: "dialog",
1225
1245
  ref: fe,
1226
- onClose: l[2] || (l[2] = (a) => B.value = null),
1246
+ onClose: l[2] || (l[2] = (a) => X.value = null),
1227
1247
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
1228
1248
  color: e.value.style.chart.dialog.color,
1229
1249
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
1230
1250
  headerColor: e.value.style.chart.dialog.header.color,
1231
- isFullscreen: I.value,
1251
+ isFullscreen: N.value,
1232
1252
  fullscreenParent: _.value,
1233
1253
  withPadding: ""
1234
1254
  }, {
1235
- title: g(() => [
1236
- Oe(F(B.value.name), 1)
1255
+ title: v(() => [
1256
+ Oe(B(X.value.name), 1)
1237
1257
  ]),
1238
- content: g(() => [
1239
- B.value ? (n(), T(u(mt), {
1258
+ content: v(() => [
1259
+ X.value ? (n(), T(u(mt), {
1240
1260
  key: 0,
1241
1261
  config: Ke.value,
1242
1262
  dataset: Ze.value
@@ -1244,10 +1264,10 @@ const Ha = ["id"], Xa = ["xmlns", "viewBox"], Ua = ["id"], Va = ["stop-color"],
1244
1264
  ]),
1245
1265
  _: 1
1246
1266
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : h("", !0),
1247
- u(W) ? (n(), T(Ta, { key: 8 })) : h("", !0)
1267
+ u(j) ? (n(), T(Ta, { key: 8 })) : h("", !0)
1248
1268
  ], 46, Ha));
1249
1269
  }
1250
- }, Il = /* @__PURE__ */ Ba(pl, [["__scopeId", "data-v-eeccc8ad"]]);
1270
+ }, Il = /* @__PURE__ */ Ba(pl, [["__scopeId", "data-v-37841d19"]]);
1251
1271
  export {
1252
1272
  Il as default
1253
1273
  };