vue-data-ui 3.4.9 → 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 (151) hide show
  1. package/README.md +114 -37
  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-CTUqGqWV.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-DjxWWa78.js → vue-data-ui-B_RxfmEm.js} +113 -107
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-CLE7f9pl.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-D73uIOPm.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-Bybo0xK2.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-DA0g0bDV.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-BPDm-ro5.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-CxZcJFTo.js +1681 -0
  89. package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-BVYL-BUJ.js} +480 -444
  90. package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-CUoDRr-O.js} +313 -277
  94. package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-C6p_aThr.js} +478 -442
  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-I2OhrCR2.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-D0MCLs5n.js} +597 -557
  103. package/dist/vue-ui-onion-B7yPJ3gL.js +915 -0
  104. package/dist/vue-ui-parallel-coordinate-plot-DY21ivNe.js +1051 -0
  105. package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-b0vMRaq-.js} +532 -495
  106. package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-B5Vkoz9M.js} +412 -373
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CAMNq-p_.js} +517 -481
  111. package/dist/vue-ui-rings-ImGOqm_J.js +855 -0
  112. package/dist/vue-ui-scatter-CterNJYe.js +1590 -0
  113. package/dist/{vue-ui-skeleton-DUdI2uOO.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-DxpRfUJz.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/vue-ui-sparkstackbar-BXNy6nuw.js +441 -0
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-DdBdLrAL.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-EpCo2Be5.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-Br3wp8hG.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-DPE8SY0_.js +1330 -0
  130. package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-ZU1GCbX0.js} +484 -448
  131. package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-z7nuSuSV.js} +398 -362
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-NDDbNbds.js} +1263 -1227
  136. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-2a6NlQe3.js} +338 -322
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-CDgzolI-.js +0 -1133
  140. package/dist/vue-ui-dashboard-CeJwbiON.js +0 -412
  141. package/dist/vue-ui-donut-DjQXHBJE.js +0 -1645
  142. package/dist/vue-ui-onion-DTY2p87s.js +0 -873
  143. package/dist/vue-ui-parallel-coordinate-plot-C8aWTcNn.js +0 -1014
  144. package/dist/vue-ui-rings-CnTMFK6R.js +0 -813
  145. package/dist/vue-ui-scatter-fzR2c0St.js +0 -1554
  146. package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
  147. package/dist/vue-ui-stackbar-DubS6Pg8.js +0 -1708
  148. package/dist/vue-ui-thermometer-DTnfnf9z.js +0 -564
  149. package/dist/vue-ui-tiremarks-CrC_tlIx.js +0 -430
  150. package/dist/vue-ui-treemap-kyuyi2ES.js +0 -1294
  151. package/dist/vue-ui-wheel-BasM7FWt.js +0 -643
@@ -1,24 +1,24 @@
1
- import { defineAsyncComponent as M, computed as c, ref as i, shallowRef as rt, toRefs as sa, onBeforeUnmount as ut, watch as K, nextTick as $e, watchEffect as na, createElementBlock as r, openBlock as n, unref as u, normalizeStyle as w, normalizeClass as oe, createBlock as S, createCommentVNode as h, renderSlot as p, createElementVNode as y, createSlots as _e, withCtx as g, normalizeProps as se, guardReactiveProps as ne, createVNode as Se, Fragment as m, renderList as k, mergeProps as Te, 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, ak as it, C as va, B as ct, z as ha, a9 as da, X as ya, J as ga, M as fa, a as ue, d as ie, b as pa, f as Me, g as vt, o as ma, P as ba, Q as xa, a4 as ka } from "./lib-C_mNZmhD.js";
3
- import { t as ht, u as Aa } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ca, a as dt } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as wa, B as $a } from "./BaseScanner-BgWxam9d.js";
6
- import { u as _a } from "./usePrinter-DTzqpYKF.js";
7
- import { u as Sa } from "./useSvgExport-DrjCWun4.js";
8
- import { u as Ta } 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 Ma } from "./useTimeLabelCollider-CIsgDrl9.js";
12
- import { t as La } from "./themes-AUNCOb2G.js";
13
- import za from "./Legend-G6GMcdAc.js";
14
- import Da from "./Title-l36lOBMx.js";
15
- import { _ as Ia } from "./Shape-CNXKB8O0.js";
16
- import Na from "./img-BecE5qXd.js";
17
- import { _ as Fa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"], Xa = ["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 }, Qa = ["fill", "d"], Ka = ["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 = {
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
+ import { u as Sa, B as Ta } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Pa } from "./usePrinter-DTzqpYKF.js";
7
+ import { u as Oa } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Ma } from "./useTimeLabels-BGFjWgrv.js";
9
+ import { u as La } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as za } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as Da } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import { t as Ia } from "./themes-AUNCOb2G.js";
13
+ import Ra from "./Legend-G6GMcdAc.js";
14
+ import Na from "./Title-isbiM8i8.js";
15
+ import { _ as Fa } from "./Shape-CNXKB8O0.js";
16
+ import Ea from "./img-BecE5qXd.js";
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"], 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
- }, hl = ["onClick"], dl = ["innerHTML"], yl = {
21
+ }, gl = ["onClick"], yl = ["innerHTML"], pl = {
22
22
  __name: "vue-ui-ridgeline",
23
23
  props: {
24
24
  config: {
@@ -35,32 +35,32 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
35
35
  }
36
36
  },
37
37
  emits: ["selectLegend", "selectDatapoint", "selectX"],
38
- setup(yt, { expose: gt, emit: ft }) {
39
- const pt = M(() => import("./vue-ui-xy-CIrw1lWQ.js")), mt = M(() => import("./BaseIcon-BmMbm4d0.js")), bt = M(() => import("./vue-ui-accordion-CZ0thhxa.js")), xt = M(() => import("./DataTable-BT7VF2ua.js")), kt = M(() => import("./PenAndPaper-DSvu9dwa.js")), At = M(() => import("./UserOptions-CGnQt6Fd.js")), Ct = M(() => import("./PackageVersion-CTUqGqWV.js")), Le = M(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_ridgeline: wt } = Ca(), E = yt, U = c({
38
+ setup(gt, { expose: yt, emit: pt }) {
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
- }), ce = ft, $ = i(null), ze = i(null), De = i(null), T = rt(null), L = 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), B = i(null), de = i(null), Ee = i(0), ye = i(null), V = i(null), ge = i(null);
47
- function fe() {
48
- const t = dt({
49
- userConfig: E.config,
50
- defaultConfig: wt
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
+ function pe() {
48
+ const t = ft({
49
+ userConfig: H.config,
50
+ defaultConfig: $t
51
51
  });
52
52
  return t.theme ? {
53
- ...dt({
54
- userConfig: La.vue_ui_ridgeline[t.theme] || E.config,
53
+ ...ft({
54
+ userConfig: Ia.vue_ui_ridgeline[t.theme] || H.config,
55
55
  defaultConfig: t
56
56
  }),
57
- customPalette: pa[t.theme] || re
57
+ customPalette: xa[t.theme] || ue
58
58
  } : t;
59
59
  }
60
- const e = i(fe()), { loading: G, FINAL_DATASET: z, manualLoading: pe } = wa({
61
- ...sa(E),
60
+ const e = i(pe()), { loading: j, FINAL_DATASET: I, manualLoading: me } = Sa({
61
+ ...ua(H),
62
62
  FINAL_CONFIG: e,
63
- prepareConfig: fe,
63
+ prepareConfig: pe,
64
64
  skeletonDataset: [
65
65
  {
66
66
  name: "_",
@@ -153,7 +153,7 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
153
153
  ]
154
154
  }
155
155
  ],
156
- skeletonConfig: ua({
156
+ skeletonConfig: va({
157
157
  defaultConfig: e.value,
158
158
  userConfig: {
159
159
  userOptions: { show: !1 },
@@ -196,263 +196,277 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
196
196
  e.value.style.chart.areas.height,
197
197
  e.value.style.chart.areas.rowHeight
198
198
  )), {
199
- userOptionsVisible: Z,
200
- setUserOptionsVisibility: Be,
201
- keepUserOptionState: He
202
- } = Pa({ config: e.value }), { svgRef: ee } = Oa({ config: e.value.style.chart.title }), me = c(() => !!e.value.debug);
203
- function Xe() {
204
- const t = z.value || [];
199
+ userOptionsVisible: ae,
200
+ setUserOptionsVisibility: He,
201
+ keepUserOptionState: Xe
202
+ } = La({ config: e.value }), { svgRef: le } = za({ config: e.value.style.chart.title }), be = c(() => !!e.value.debug);
203
+ function Ue() {
204
+ const t = I.value || [];
205
205
  if (!Array.isArray(t) || t.length === 0) {
206
- Me({ componentName: "VueUiRidgeline", type: "dataset", debug: me.value }), pe.value = !0;
206
+ Le({ componentName: "VueUiRidgeline", type: "dataset", debug: be.value }), me.value = !0;
207
207
  return;
208
208
  }
209
- if (t.forEach((o, a) => {
210
- vt({
211
- datasetObject: o,
209
+ if (t.forEach((l, a) => {
210
+ dt({
211
+ datasetObject: l,
212
212
  requiredAttributes: ["name", "datapoints"]
213
213
  }).forEach((s) => {
214
- U.value = !1, Me({
214
+ W.value = !1, Le({
215
215
  componentName: "VueUiRidgeline",
216
216
  type: "datasetSerieAttribute",
217
217
  property: s,
218
218
  index: a,
219
- debug: me.value
219
+ debug: be.value
220
220
  });
221
- }), Array.isArray(o.datapoints) && o.datapoints.length && o.datapoints.forEach((s, l) => {
222
- vt({
221
+ }), Array.isArray(l.datapoints) && l.datapoints.length && l.datapoints.forEach((s, o) => {
222
+ dt({
223
223
  datasetObject: s,
224
224
  requiredAttributes: ["name", "values"]
225
- }).forEach((v) => {
226
- U.value = !1, Me({
225
+ }).forEach((d) => {
226
+ W.value = !1, Le({
227
227
  componentName: "VueUiRidgeline",
228
228
  type: "datasetSerieAttribute",
229
- property: `datapoint.${v}`,
230
- index: `${a}-${l}`,
231
- debug: me.value
229
+ property: `datapoint.${d}`,
230
+ index: `${a}-${o}`,
231
+ debug: be.value
232
232
  });
233
233
  });
234
234
  });
235
- }), _t.value = t.length, C.value = Math.min(
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
- ), ma(E.dataset) || (pe.value = e.value.loading), e.value.responsive) {
239
- const o = ht(() => {
240
- const { width: a, height: s } = Aa({
241
- chart: $.value,
242
- title: e.value.style.chart.title.text ? ze.value : null,
243
- legend: e.value.style.chart.legend.show ? De.value : null,
244
- source: Ie.value,
238
+ ), ka(H.dataset) || (me.value = e.value.loading), e.value.responsive) {
239
+ const l = ht(() => {
240
+ const { width: a, height: s } = $a({
241
+ chart: _.value,
242
+ title: e.value.style.chart.title.text ? De.value : null,
243
+ legend: e.value.style.chart.legend.show ? Ie.value : null,
244
+ source: Re.value,
245
245
  noTitle: Ne.value,
246
246
  padding: e.value.style.chart.padding
247
247
  });
248
248
  requestAnimationFrame(() => {
249
- Re.value = a, C.value = t.length ? s / t.length : 0, Ee.value = s - 12;
249
+ Ee.value = a, C.value = t.length ? s / t.length : 0, Be.value = s - 12;
250
250
  });
251
251
  });
252
- T.value && (L.value && T.value.unobserve(L.value), T.value.disconnect()), T.value = new ResizeObserver(o), L.value = $.value?.parentNode || null, L.value && T.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
- ut(() => {
256
- T.value && (L.value && T.value.unobserve(L.value), T.value.disconnect());
255
+ it(() => {
256
+ M.value && (D.value && M.value.unobserve(D.value), M.value.disconnect());
257
257
  });
258
- const { isPrinting: Ue, isImaging: Ve, generatePdf: Ge, generateImage: We } = _a({
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
- }), St = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Tt = c(() => ia(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
- K(
266
- () => z.value,
265
+ te(
266
+ () => I.value,
267
267
  async (t) => {
268
- Array.isArray(t) && t.length && (Z.value = !e.value.userOptions.showOnChartHover, await $e(), Xe(), ve.value += 1, he.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
- ), K(() => E.dataset, (t) => {
272
- Array.isArray(t) && t.length > 0 && (pe.value = !1);
273
- }, { deep: !0 }), K(
274
- () => G.value,
271
+ ), te(() => H.dataset, (t) => {
272
+ Array.isArray(t) && t.length > 0 && (me.value = !1);
273
+ }, { deep: !0 }), te(
274
+ () => j.value,
275
275
  async (t) => {
276
- t || (await $e(), Xe());
276
+ t || (await _e(), Ue());
277
277
  },
278
278
  { immediate: !0 }
279
- ), K(
280
- () => E.config,
279
+ ), te(
280
+ () => H.config,
281
281
  () => {
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
+ 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
- const be = c(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
287
- function Ye(t) {
288
- O.value.includes(t) ? O.value = O.value.filter((o) => o !== t) : O.value.push(t), ce("selectLegend", X.value);
286
+ const xe = c(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
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
- const P = c(() => U.value ? (z.value || []).map((t) => ({
290
+ function je(t) {
291
+ if (!G.value.length)
292
+ return e.value.debug && console.warn("VueUiRidgeline - There are no series to show."), null;
293
+ const l = G.value.find((a) => a.name === t);
294
+ return l || (e.value.debug && console.warn(`VueUiRidgeline - Series name not found "${t}"`), null);
295
+ }
296
+ function Ot(t) {
297
+ const l = je(t);
298
+ l !== null && w.value.includes(l.id) && oe(l.id);
299
+ }
300
+ function Mt(t) {
301
+ const l = je(t);
302
+ l !== null && (w.value.includes(l.id) || oe(l.id));
303
+ }
304
+ const L = c(() => W.value ? (I.value || []).map((t) => ({
291
305
  ...t,
292
- labelLen: Nt(t.name, e.value.style.chart.yAxis.labels.fontSize),
293
- uid: Oe(),
294
- datapoints: t.datapoints.map((o, a) => {
295
- const s = o.color ? ca(o.color) : Tt.value[a] || re[a] || re[a % re.length], l = it(o.name);
296
- return { ...o, color: s, id: l };
306
+ labelLen: Et(t.name, e.value.style.chart.yAxis.labels.fontSize),
307
+ uid: Me(),
308
+ datapoints: t.datapoints.map((l, a) => {
309
+ const s = l.color ? ha(l.color) : Pt.value[a] || ue[a] || ue[a % ue.length], o = ct(l.name);
310
+ return { ...l, color: s, id: o };
297
311
  })
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(() => {
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(() => {
299
313
  const t = e.value.style.chart.padding;
300
314
  return {
301
- width: Re.value,
302
- height: je.value,
315
+ width: Ee.value,
316
+ height: qe.value,
303
317
  padding: t
304
318
  };
305
- }), Pt = c(() => f.value.width), Ot = c(() => f.value.height), xe = i(0), Mt = ht((t) => {
306
- xe.value = t;
319
+ }), Lt = c(() => p.value.width), zt = c(() => p.value.height), ke = i(0), Dt = ht((t) => {
320
+ ke.value = t;
307
321
  }, 100);
308
- na((t) => {
309
- const o = ye.value;
310
- if (!o) return;
322
+ ia((t) => {
323
+ const l = ge.value;
324
+ if (!l) return;
311
325
  const a = new ResizeObserver((s) => {
312
- Mt(s[0].contentRect.height);
326
+ Dt(s[0].contentRect.height);
313
327
  });
314
- a.observe(o), t(() => a.disconnect());
315
- }), ut(() => {
316
- xe.value = 0;
328
+ a.observe(l), t(() => a.disconnect());
329
+ }), it(() => {
330
+ ke.value = 0;
317
331
  });
318
332
  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(() => Ta({
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({
326
340
  values: e.value.style.chart.xAxis.labels.values,
327
- maxDatapoints: W.value,
341
+ maxDatapoints: q.value,
328
342
  formatter: e.value.style.chart.xAxis.labels.datetimeFormatter,
329
343
  start: 0,
330
344
  end: e.value.style.chart.xAxis.labels.values.length
331
- })), H = 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)
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)
334
348
  s.push({
335
- selectorX: o + a * l,
336
- x: o + a * l - a / 2,
349
+ selectorX: l + a * o,
350
+ x: l + a * o - a / 2,
337
351
  y: b.value.top,
338
- label: e.value.style.chart.xAxis.labels.values[l] ? Y.value[l].text : "",
339
- index: l,
352
+ label: e.value.style.chart.xAxis.labels.values[o] ? J.value[o].text : "",
353
+ index: o,
340
354
  width: a,
341
- height: je.value
355
+ height: qe.value
342
356
  });
343
357
  return s;
344
358
  });
345
- function ke(t) {
346
- return P.value.map((o) => o.datapoints.map((a) => ({
359
+ function Ae(t) {
360
+ return L.value.map((l) => l.datapoints.map((a) => ({
347
361
  dp: a,
348
362
  selected: a.values[t.index]
349
363
  })));
350
364
  }
351
- function Lt(t) {
352
- d.value = t;
353
- const o = ke(t);
354
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: t.index });
365
+ function It(t) {
366
+ g.value = t;
367
+ const l = Ae(t);
368
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t.index });
355
369
  }
356
- function zt(t) {
357
- d.value = null;
358
- const o = ke(t);
359
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: o, seriesIndex: t.index });
370
+ function Rt(t) {
371
+ g.value = null;
372
+ const l = Ae(t);
373
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: t.index });
360
374
  }
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);
375
+ function Nt(t) {
376
+ const l = Ae(t);
377
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: t.index }), ve("selectX", l);
364
378
  }
365
- function It(t, o) {
366
- return t.length * o / 2 + o;
379
+ function Ft(t, l) {
380
+ return t.length * l / 2 + l;
367
381
  }
368
- function qe(t, o, a) {
369
- const s = It(o, a);
382
+ function Je(t, l, a) {
383
+ const s = Ft(l, a);
370
384
  return t + s > b.value.right;
371
385
  }
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;
386
+ function Et(t, l, a = "sans-serif") {
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;
375
389
  }
376
- const X = c(() => {
390
+ const V = c(() => {
377
391
  C.value;
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) {
380
- return isNaN(x / _) ? 0 : x / _;
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
+ function ot(x) {
394
+ return isNaN(x / S) ? 0 : x / S;
381
395
  }
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));
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));
384
398
  return {
385
399
  ...x,
386
400
  label: {
387
401
  x: s - e.value.style.chart.yAxis.labels.fontSize,
388
- y: N
402
+ y: F
389
403
  },
390
- datapoints: x.datapoints.map((J) => {
391
- const F = J.values.map((Q, ea) => {
392
- const ta = isNaN(Q) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(Q) ? 0 : Q || 0, aa = s + l * ea, la = b.value.top + ot + C.value * be.value * (1 - lt(ta + v)), oa = Q === Math.max(...J.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);
393
407
  return {
394
- x: aa,
395
- y: la,
396
- value: Q,
397
- isMaxPoint: oa,
398
- zero: N
408
+ x: sa,
409
+ y: na,
410
+ value: ee,
411
+ isMaxPoint: ra,
412
+ zero: F
399
413
  };
400
- }), Jt = `${va(F, N, !1, !1)}`, Qt = `M ${s},${N} ${ct(F)} ${F.at(-1).x},${N}`, Kt = `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
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
+ e.value.style.chart.areas.smooth ? nt : rt
402
416
  );
403
417
  return {
404
- ...J,
405
- uid: Oe(),
406
- plots: F,
407
- smoothPath: Jt,
408
- straightPath: Qt,
409
- zeroPath: Kt,
410
- pathLength: Zt,
411
- smoothPathRidge: st,
412
- straightPathRidge: nt
418
+ ...Z,
419
+ uid: Me(),
420
+ plots: E,
421
+ smoothPath: Zt,
422
+ straightPath: ea,
423
+ zeroPath: ta,
424
+ pathLength: aa,
425
+ smoothPathRidge: nt,
426
+ straightPathRidge: rt
413
427
  };
414
- }).filter((J) => !O.value.includes(J.id))
428
+ }).filter((Z) => !w.value.includes(Z.id))
415
429
  };
416
430
  });
417
- }), O = i([]);
418
- function Ft(t) {
419
- const o = /* @__PURE__ */ new Map();
431
+ }), w = i([]);
432
+ function Bt(t) {
433
+ const l = /* @__PURE__ */ new Map();
420
434
  return t.forEach((a) => {
421
- a.datapoints.forEach((s, l) => {
422
- const v = it(s.name);
423
- o.has(v) || o.set(v, {
424
- id: v,
435
+ a.datapoints.forEach((s, o) => {
436
+ const d = ct(s.name);
437
+ l.has(d) || l.set(d, {
438
+ id: d,
425
439
  name: s.name,
426
440
  color: s.color,
427
441
  shape: "circle",
428
- segregate: () => Ye(v),
429
- isSegregated: O.value.includes(v),
430
- opacity: O.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
431
445
  });
432
446
  });
433
- }), Array.from(o.values());
447
+ }), Array.from(l.values());
434
448
  }
435
- const te = c(() => Ft(P.value)), Rt = c(() => ({
449
+ const G = c(() => Bt(L.value)), Ht = c(() => ({
436
450
  cy: "donut-div-legend",
437
451
  backgroundColor: e.value.style.chart.legend.backgroundColor,
438
452
  color: e.value.style.chart.legend.color,
439
453
  fontSize: e.value.style.chart.legend.fontSize,
440
454
  paddingBottom: 12,
441
455
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
442
- })), I = i(!1);
443
- function Je(t) {
444
- I.value = t, Fe.value += 1;
456
+ })), N = i(!1);
457
+ function Qe(t) {
458
+ N.value = t, Fe.value += 1;
445
459
  }
446
- const Qe = i({}), Ke = i([]);
447
- function Et(t) {
448
- ce("selectDatapoint", t), e.value.style.chart.dialog.show && (Ke.value = t.datapoints.map((o) => ({
449
- name: o.name,
450
- color: o.color,
460
+ const Ke = i({}), Ze = i([]);
461
+ function Xt(t) {
462
+ ve("selectDatapoint", t), e.value.style.chart.dialog.show && (Ze.value = t.datapoints.map((l) => ({
463
+ name: l.name,
464
+ color: l.color,
451
465
  type: "line",
452
466
  useArea: !0,
453
467
  smooth: e.value.style.chart.areas.smooth,
454
- series: o.values
455
- })), B.value = t, Qe.value = ka({
468
+ series: l.values
469
+ })), X.value = t, Ke.value = wa({
456
470
  ...e.value.style.chart.dialog.xyChart,
457
471
  responsive: !0,
458
472
  // Overriding
@@ -482,23 +496,23 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
482
496
  // Overriding
483
497
  }
484
498
  }
485
- }), de.value && de.value.open());
499
+ }), fe.value && fe.value.open());
486
500
  }
487
- const Ae = i(null);
488
- function Bt(t) {
489
- Ae.value = t;
501
+ const Ce = i(null);
502
+ function Ut(t) {
503
+ Ce.value = t;
490
504
  }
491
- function Ht() {
492
- Ae.value = null;
505
+ function Vt() {
506
+ Ce.value = null;
493
507
  }
494
- const ae = i(!1);
495
- function Ce() {
496
- ae.value = !ae.value;
508
+ const se = i(!1);
509
+ function we() {
510
+ se.value = !se.value;
497
511
  }
498
- function Ze() {
499
- D.value.showTable = !D.value.showTable;
512
+ function et() {
513
+ R.value.showTable = !R.value.showTable;
500
514
  }
501
- const et = c(() => ({ body: X.value.flatMap((a) => a.datapoints.flatMap((s) => ({
515
+ const tt = c(() => ({ body: V.value.flatMap((a) => a.datapoints.flatMap((s) => ({
502
516
  ...s,
503
517
  rowName: `${a.name}: ${s.name}`
504
518
  }))).map((a) => [
@@ -507,11 +521,11 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
507
521
  color: a.color
508
522
  },
509
523
  ...a.values
510
- ]) })), le = c(() => {
524
+ ]) })), ne = c(() => {
511
525
  const t = [
512
526
  e.value.table.columnNames.series,
513
- ...Y.value.map((s) => s.text)
514
- ], o = {
527
+ ...J.value.map((s) => s.text)
528
+ ], l = {
515
529
  th: {
516
530
  backgroundColor: e.value.table.th.backgroundColor,
517
531
  color: e.value.table.th.color,
@@ -527,74 +541,74 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
527
541
  return {
528
542
  colNames: [
529
543
  e.value.table.columnNames.series,
530
- ...Y.value.map((s) => s.text)
544
+ ...J.value.map((s) => s.text)
531
545
  ],
532
546
  head: t,
533
- body: et.value.body,
534
- config: o
547
+ body: tt.value.body,
548
+ config: l
535
549
  };
536
550
  });
537
- function we(t = null) {
538
- $e(() => {
539
- const o = [
540
- [e.value.table.columnNames.series, ...Y.map((l) => [l.text])],
541
- ...et.value.body.map((l, v) => [l[0].name, ...l.slice(1)])
551
+ function $e(t = null) {
552
+ _e(() => {
553
+ const l = [
554
+ [e.value.table.columnNames.series, ...J.map((o) => [o.text])],
555
+ ...tt.value.body.map((o, d) => [o[0].name, ...o.slice(1)])
542
556
  ], a = [
543
557
  [e.value.style.chart.title.text],
544
558
  [e.value.style.chart.title.subtitle.text]
545
- ].concat(o), s = ba(a);
546
- t ? t(s) : xa({
559
+ ].concat(l), s = Aa(a);
560
+ t ? t(s) : Ca({
547
561
  csvContent: s,
548
562
  title: e.value.style.chart.title.text || "vue-ui-ridgeline"
549
563
  });
550
564
  });
551
565
  }
552
- function Xt() {
553
- return X.value;
566
+ function Gt() {
567
+ return V.value;
554
568
  }
555
- async function Ut({ scale: t = 2 } = {}) {
556
- if (!$.value) return;
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 });
569
+ async function Wt({ scale: t = 2 } = {}) {
570
+ if (!_.value) return;
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 });
558
572
  return {
559
- imageUri: l,
560
- base64: v,
573
+ imageUri: o,
574
+ base64: d,
561
575
  title: e.value.style.chart.title.text,
562
- width: o,
576
+ width: l,
563
577
  height: a,
564
578
  aspectRatio: s
565
579
  };
566
580
  }
567
- const Vt = c(() => ({ min: 0, max: W.value }));
568
- Ma({
569
- timeLabelsEls: ye,
570
- timeLabels: Y,
571
- slicer: Vt,
581
+ const Yt = c(() => ({ min: 0, max: q.value }));
582
+ Da({
583
+ timeLabelsEls: ge,
584
+ timeLabels: J,
585
+ slicer: Yt,
572
586
  configRef: e,
573
587
  rotationPath: ["style", "chart", "xAxis", "labels", "rotation"],
574
588
  autoRotatePath: ["style", "chart", "xAxis", "labels", "autoRotate", "enable"],
575
589
  isAutoSize: !1,
576
- width: Pt,
577
- height: Ot,
590
+ width: Lt,
591
+ height: zt,
578
592
  targetClass: ".vue-ui-ridgeline-x-axis-label",
579
593
  angle: e.value.style.chart.xAxis.labels.autoRotate.angle
580
594
  });
581
- const j = c(() => {
582
- const t = e.value.table.useDialog && !e.value.table.show, o = D.value.showTable;
595
+ const Q = c(() => {
596
+ const t = e.value.table.useDialog && !e.value.table.show, l = R.value.showTable;
583
597
  return {
584
- component: t ? Le : bt,
598
+ component: t ? ze : xt,
585
599
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
586
600
  props: t ? {
587
601
  backgroundColor: e.value.table.th.backgroundColor,
588
602
  color: e.value.table.th.color,
589
603
  headerColor: e.value.table.th.color,
590
604
  headerBg: e.value.table.th.backgroundColor,
591
- isFullscreen: I.value,
592
- fullscreenParent: $.value,
605
+ isFullscreen: N.value,
606
+ fullscreenParent: _.value,
593
607
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
594
608
  } : {
595
609
  hideDetails: !0,
596
610
  config: {
597
- open: o,
611
+ open: l,
598
612
  maxHeight: 1e4,
599
613
  body: {
600
614
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -608,64 +622,86 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
608
622
  }
609
623
  };
610
624
  });
611
- K(() => D.value.showTable, (t) => {
612
- e.value.table.show || (t && e.value.table.useDialog && V.value ? V.value.open() : "close" in V.value && V.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());
613
627
  });
614
- function tt() {
615
- D.value.showTable = !1, ge.value && ge.value.setTableIconState(!1);
628
+ function at() {
629
+ R.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
616
630
  }
617
- const Gt = c(() => e.value.style.chart.backgroundColor), Wt = c(() => ({
631
+ const jt = c(() => e.value.style.chart.backgroundColor), qt = c(() => ({
618
632
  ...e.value.style.chart.legend,
619
633
  position: "bottom"
620
- })), Yt = c(() => e.value.style.chart.title), { exportSvg: jt, getSvg: qt } = Sa({
621
- svg: ee,
622
- title: Yt,
623
- legend: Wt,
624
- legendItems: te,
625
- backgroundColor: Gt
634
+ })), Jt = c(() => e.value.style.chart.title), { exportSvg: Qt, getSvg: Kt } = Oa({
635
+ svg: le,
636
+ title: Jt,
637
+ legend: qt,
638
+ legendItems: G,
639
+ backgroundColor: jt
626
640
  });
627
- async function at({ isCb: t }) {
641
+ async function lt({ isCb: t }) {
628
642
  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 });
643
+ const { blob: l, url: a, text: s, dataUrl: o } = await Kt();
644
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: s, dataUrl: o });
631
645
  } else
632
- jt();
646
+ Qt();
633
647
  }
634
- return gt({
635
- getData: Xt,
636
- getImage: Ut,
637
- generateImage: We,
638
- generateSvg: at,
639
- generatePdf: Ge,
640
- generateCsv: we,
641
- toggleAnnotator: Ce,
642
- toggleTable: Ze,
643
- toggleFullscreen: Je
644
- }), (t, o) => (n(), r("div", {
648
+ return yt({
649
+ getData: Gt,
650
+ getImage: Wt,
651
+ generateImage: Ye,
652
+ generateSvg: lt,
653
+ generatePdf: We,
654
+ generateCsv: $e,
655
+ hideSeries: Mt,
656
+ showSeries: Ot,
657
+ toggleAnnotator: we,
658
+ toggleTable: et,
659
+ toggleFullscreen: Qe
660
+ }), (t, l) => (n(), r("div", {
645
661
  ref_key: "ridgelineChart",
646
- ref: $,
647
- class: oe(`vue-data-ui-component vue-ui-ridgeline ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
662
+ ref: _,
663
+ class: re(`vue-data-ui-component vue-ui-ridgeline ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
648
664
  id: `vue-ui-ridgeline_${A.value}`,
649
- style: w({
665
+ style: $({
650
666
  fontFamily: e.value.style.fontFamily,
651
667
  width: "100%",
652
668
  textAlign: "center",
653
669
  background: e.value.style.chart.backgroundColor,
654
670
  height: e.value.responsive ? "100%" : void 0
655
671
  }),
656
- onMouseenter: o[3] || (o[3] = () => u(Be)(!0)),
657
- onMouseleave: o[4] || (o[4] = () => u(Be)(!1))
672
+ onMouseenter: l[3] || (l[3] = () => u(He)(!0)),
673
+ onMouseleave: l[4] || (l[4] = () => u(He)(!1))
658
674
  }, [
659
- e.value.userOptions.buttons.annotator && u(ee) ? (n(), S(u(kt), {
675
+ e.value.userOptions.buttons.annotator && u(le) ? (n(), T(u(At), {
660
676
  key: 0,
661
677
  color: e.value.style.chart.color,
662
678
  backgroundColor: e.value.style.chart.backgroundColor,
663
- active: ae.value,
664
- svgRef: u(ee),
665
- onClose: Ce
666
- }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : h("", !0),
667
- p(t.$slots, "userConfig", {}, void 0, !0),
668
- St.value ? (n(), r("div", {
679
+ active: se.value,
680
+ svgRef: u(le),
681
+ onClose: we
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),
704
+ Tt.value ? (n(), r("div", {
669
705
  key: 1,
670
706
  ref_key: "noTitle",
671
707
  ref: Ne,
@@ -675,11 +711,11 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
675
711
  e.value.style.chart.title.text ? (n(), r("div", {
676
712
  key: 2,
677
713
  ref_key: "chartTitle",
678
- ref: ze,
714
+ ref: De,
679
715
  style: "width:100%;background:transparent;padding-bottom:24px"
680
716
  }, [
681
- (n(), S(Da, {
682
- key: `title_${ve.value}`,
717
+ (n(), T(Na, {
718
+ key: `title_${de.value}`,
683
719
  config: {
684
720
  title: {
685
721
  cy: "ridgeline-div-title",
@@ -692,14 +728,14 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
692
728
  }
693
729
  }, null, 8, ["config"]))
694
730
  ], 512)) : h("", !0),
695
- e.value.userOptions.show && U.value && (u(He) || u(Z)) ? (n(), S(u(At), {
731
+ e.value.userOptions.show && W.value && (u(Xe) || u(ae)) ? (n(), T(u(Ct), {
696
732
  ref_key: "userOptionsRef",
697
- ref: ge,
733
+ ref: ye,
698
734
  key: `user_option_${Fe.value}`,
699
735
  backgroundColor: e.value.style.chart.backgroundColor,
700
736
  color: e.value.style.chart.color,
701
- isPrinting: u(Ue),
702
- isImaging: u(Ve),
737
+ isPrinting: u(Ve),
738
+ isImaging: u(Ge),
703
739
  uid: A.value,
704
740
  hasTooltip: !1,
705
741
  callbacks: e.value.userOptions.callbacks,
@@ -710,99 +746,99 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
710
746
  hasTable: e.value.userOptions.buttons.table,
711
747
  hasLabel: !1,
712
748
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
713
- isFullscreen: I.value,
749
+ isFullscreen: N.value,
714
750
  printScale: e.value.userOptions.print.scale,
715
- chartElement: $.value,
751
+ chartElement: _.value,
716
752
  position: e.value.userOptions.position,
717
753
  isTooltip: !1,
718
754
  titles: { ...e.value.userOptions.buttonTitles },
719
755
  hasAnnotator: e.value.userOptions.buttons.annotator,
720
- isAnnotation: ae.value,
756
+ isAnnotation: se.value,
721
757
  tableDialog: e.value.table.useDialog,
722
- style: w({ visibility: u(He) ? u(Z) ? "visible" : "hidden" : "visible" }),
723
- onToggleFullscreen: Je,
724
- onGeneratePdf: u(Ge),
725
- onGenerateCsv: we,
726
- onGenerateImage: u(We),
727
- onGenerateSvg: at,
728
- onToggleTable: Ze,
729
- onToggleAnnotator: Ce
730
- }, _e({ _: 2 }, [
758
+ style: $({ visibility: u(Xe) ? u(ae) ? "visible" : "hidden" : "visible" }),
759
+ onToggleFullscreen: Qe,
760
+ onGeneratePdf: u(We),
761
+ onGenerateCsv: $e,
762
+ onGenerateImage: u(Ye),
763
+ onGenerateSvg: lt,
764
+ onToggleTable: et,
765
+ onToggleAnnotator: we
766
+ }, Se({ _: 2 }, [
731
767
  t.$slots.menuIcon ? {
732
768
  name: "menuIcon",
733
- fn: g(({ isOpen: a, color: s }) => [
734
- p(t.$slots, "menuIcon", se(ne({ 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)
735
771
  ]),
736
772
  key: "0"
737
773
  } : void 0,
738
774
  t.$slots.optionTooltip ? {
739
775
  name: "optionTooltip",
740
- fn: g(() => [
741
- p(t.$slots, "optionTooltip", {}, void 0, !0)
776
+ fn: v(() => [
777
+ f(t.$slots, "optionTooltip", {}, void 0, !0)
742
778
  ]),
743
779
  key: "1"
744
780
  } : void 0,
745
781
  t.$slots.optionPdf ? {
746
782
  name: "optionPdf",
747
- fn: g(() => [
748
- p(t.$slots, "optionPdf", {}, void 0, !0)
783
+ fn: v(() => [
784
+ f(t.$slots, "optionPdf", {}, void 0, !0)
749
785
  ]),
750
786
  key: "2"
751
787
  } : void 0,
752
788
  t.$slots.optionCsv ? {
753
789
  name: "optionCsv",
754
- fn: g(() => [
755
- p(t.$slots, "optionCsv", {}, void 0, !0)
790
+ fn: v(() => [
791
+ f(t.$slots, "optionCsv", {}, void 0, !0)
756
792
  ]),
757
793
  key: "3"
758
794
  } : void 0,
759
795
  t.$slots.optionImg ? {
760
796
  name: "optionImg",
761
- fn: g(() => [
762
- p(t.$slots, "optionImg", {}, void 0, !0)
797
+ fn: v(() => [
798
+ f(t.$slots, "optionImg", {}, void 0, !0)
763
799
  ]),
764
800
  key: "4"
765
801
  } : void 0,
766
802
  t.$slots.optionSvg ? {
767
803
  name: "optionSvg",
768
- fn: g(() => [
769
- p(t.$slots, "optionSvg", {}, void 0, !0)
804
+ fn: v(() => [
805
+ f(t.$slots, "optionSvg", {}, void 0, !0)
770
806
  ]),
771
807
  key: "5"
772
808
  } : void 0,
773
809
  t.$slots.optionTable ? {
774
810
  name: "optionTable",
775
- fn: g(() => [
776
- p(t.$slots, "optionTable", {}, void 0, !0)
811
+ fn: v(() => [
812
+ f(t.$slots, "optionTable", {}, void 0, !0)
777
813
  ]),
778
814
  key: "6"
779
815
  } : void 0,
780
816
  t.$slots.optionFullscreen ? {
781
817
  name: "optionFullscreen",
782
- fn: g(({ toggleFullscreen: a, isFullscreen: s }) => [
783
- p(t.$slots, "optionFullscreen", se(ne({ 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)
784
820
  ]),
785
821
  key: "7"
786
822
  } : void 0,
787
823
  t.$slots.optionAnnotator ? {
788
824
  name: "optionAnnotator",
789
- fn: g(({ toggleAnnotator: a, isAnnotator: s }) => [
790
- p(t.$slots, "optionAnnotator", se(ne({ 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)
791
827
  ]),
792
828
  key: "8"
793
829
  } : void 0
794
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),
795
831
  (n(), r("svg", {
796
832
  ref_key: "svgRef",
797
- ref: ee,
798
- xmlns: u(ya),
799
- class: oe({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
800
- viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${b.value.fullHeight <= 0 ? 10 : b.value.fullHeight}`,
801
- style: w(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${Ee.value}px; width: 100%;` : ""}`)
833
+ ref: le,
834
+ xmlns: u(pa),
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}`,
837
+ style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${Be.value}px; width: 100%;` : ""}`)
802
838
  }, [
803
- Se(u(Ct)),
839
+ Te(u(wt)),
804
840
  y("defs", null, [
805
- (n(!0), r(m, null, k(te.value, (a, s) => (n(), r("linearGradient", {
841
+ (n(!0), r(m, null, k(G.value, (a, s) => (n(), r("linearGradient", {
806
842
  id: `gradient-${a.id}-${A.value}`,
807
843
  x1: "50%",
808
844
  y1: "0%",
@@ -813,27 +849,27 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
813
849
  offset: "0%",
814
850
  "stop-color": a.color,
815
851
  "stop-opacity": "1"
816
- }, null, 8, Ha),
852
+ }, null, 8, Va),
817
853
  y("stop", {
818
854
  offset: "30%",
819
855
  "stop-color": a.color,
820
856
  "stop-opacity": "0.7"
821
- }, null, 8, Xa),
857
+ }, null, 8, Ga),
822
858
  y("stop", {
823
859
  offset: "70%",
824
860
  "stop-color": a.color,
825
861
  "stop-opacity": "0.3"
826
- }, null, 8, Ua),
862
+ }, null, 8, Wa),
827
863
  y("stop", {
828
864
  offset: "100%",
829
865
  "stop-color": a.color,
830
866
  "stop-opacity": "0.1"
831
- }, null, 8, Va)
832
- ], 8, Ba))), 256)),
833
- (n(!0), r(m, null, k(X.value, (a, s) => (n(), r(m, null, [
834
- (n(!0), r(m, null, k(a.datapoints, (l, v) => (n(), r("linearGradient", {
835
- key: `grad${l.id}`,
836
- id: `gradient-single-${A.value}-${l.uid}`,
867
+ }, null, 8, Ya)
868
+ ], 8, Ua))), 256)),
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", {
871
+ key: `grad${o.id}`,
872
+ id: `gradient-single-${A.value}-${o.uid}`,
837
873
  x1: "50%",
838
874
  y1: "0%",
839
875
  x2: "50%",
@@ -841,105 +877,105 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
841
877
  }, [
842
878
  y("stop", {
843
879
  offset: "0%",
844
- "stop-color": l.color,
880
+ "stop-color": o.color,
845
881
  "stop-opacity": "1"
846
- }, null, 8, Wa),
882
+ }, null, 8, qa),
847
883
  y("stop", {
848
884
  offset: "30%",
849
- "stop-color": l.color,
885
+ "stop-color": o.color,
850
886
  "stop-opacity": "0.7"
851
- }, null, 8, Ya),
887
+ }, null, 8, Ja),
852
888
  y("stop", {
853
889
  offset: "70%",
854
- "stop-color": l.color,
890
+ "stop-color": o.color,
855
891
  "stop-opacity": "0.3"
856
- }, null, 8, ja),
892
+ }, null, 8, Qa),
857
893
  y("stop", {
858
894
  offset: "100%",
859
- "stop-color": l.color,
895
+ "stop-color": o.color,
860
896
  "stop-opacity": "0.1"
861
- }, null, 8, qa)
862
- ], 8, Ga))), 128))
897
+ }, null, 8, Ka)
898
+ ], 8, ja))), 128))
863
899
  ], 64))), 256))
864
900
  ]),
865
- (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", {
866
902
  key: `ds-${s}`
867
903
  }, [
868
- (n(!0), r(m, null, k(a.datapoints, (l, v) => (n(), r("g", {
869
- key: l.id
904
+ (n(!0), r(m, null, k(a.datapoints, (o, d) => (n(), r("g", {
905
+ key: o.id
870
906
  }, [
871
- t.$slots.pattern ? (n(), r("g", Ja, [
907
+ t.$slots.pattern ? (n(), r("g", Za, [
872
908
  y("defs", null, [
873
- p(t.$slots, "pattern", Te({ ref_for: !0 }, { datapointIndex: s, seriesIndex: v, patternId: `pattern_${A.value}_${l.uid}` }), void 0, !0)
909
+ f(t.$slots, "pattern", Pe({ ref_for: !0 }, { datapointIndex: s, seriesIndex: d, patternId: `pattern_${A.value}_${o.uid}` }), void 0, !0)
874
910
  ])
875
911
  ])) : h("", !0),
876
912
  y("path", {
877
- fill: t.$slots.pattern ? `url(#pattern_${A.value}_${l.uid})` : e.value.style.chart.backgroundColor,
913
+ fill: t.$slots.pattern ? `url(#pattern_${A.value}_${o.uid})` : e.value.style.chart.backgroundColor,
878
914
  stroke: "none",
879
915
  "stroke-linecap": "round",
880
- d: e.value.style.chart.areas.smooth ? l.smoothPath : l.straightPath,
881
- style: w({
916
+ d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
917
+ style: $({
882
918
  opacity: e.value.style.chart.areas.opacity
883
919
  })
884
- }, null, 12, Qa),
920
+ }, null, 12, el),
885
921
  y("path", {
886
922
  fill: "none",
887
- stroke: e.value.style.chart.areas.stroke.useSerieColor ? l.color : e.value.style.chart.areas.stroke.color,
923
+ stroke: e.value.style.chart.areas.stroke.useSerieColor ? o.color : e.value.style.chart.areas.stroke.color,
888
924
  "stroke-width": e.value.style.chart.areas.strokeWidth,
889
- d: e.value.style.chart.areas.smooth ? l.smoothPathRidge : l.straightPathRidge,
925
+ d: e.value.style.chart.areas.smooth ? o.smoothPathRidge : o.straightPathRidge,
890
926
  "stroke-linecap": "round",
891
927
  "stroke-linejoin": "round",
892
- class: oe({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(G) }),
893
- style: w({
894
- strokeDasharray: l.pathLength,
895
- strokeDashoffset: e.value.useCssAnimation ? l.pathLength : 0
928
+ class: re({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(j) }),
929
+ style: $({
930
+ strokeDasharray: o.pathLength,
931
+ strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
896
932
  })
897
- }, null, 14, Ka),
933
+ }, null, 14, tl),
898
934
  y("path", {
899
- 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,
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,
900
936
  stroke: "none",
901
- d: e.value.style.chart.areas.smooth ? l.smoothPath : l.straightPath,
937
+ d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
902
938
  "stroke-linecap": "round",
903
939
  "stroke-linejoin": "round",
904
- class: oe({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(G) }),
905
- style: w({
906
- strokeDasharray: l.pathLength,
907
- strokeDashoffset: e.value.useCssAnimation ? l.pathLength : 0
940
+ class: re({ "vue-ui-ridgeline-animate": e.value.useCssAnimation && !u(j) }),
941
+ style: $({
942
+ strokeDasharray: o.pathLength,
943
+ strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
908
944
  })
909
- }, null, 14, Za),
945
+ }, null, 14, al),
910
946
  e.value.style.chart.zeroLine.show ? (n(), r("path", {
911
947
  key: 1,
912
- stroke: e.value.style.chart.zeroLine.useSerieColor ? l.color : e.value.style.chart.zeroLine.stroke,
948
+ stroke: e.value.style.chart.zeroLine.useSerieColor ? o.color : e.value.style.chart.zeroLine.stroke,
913
949
  "stroke-dasharray": e.value.style.chart.zeroLine.strokeDasharray,
914
950
  "stroke-width": e.value.style.chart.zeroLine.strokeWidth,
915
- d: l.zeroPath,
951
+ d: o.zeroPath,
916
952
  "stroke-linecap": "round"
917
- }, null, 8, el)) : h("", !0),
918
- e.value.style.chart.areas.maxPoint.show && l.plots.length > 1 ? (n(!0), r(m, { key: 2 }, k(l.plots, (_) => (n(), r(m, null, [
919
- _.isMaxPoint ? (n(), r("line", {
953
+ }, null, 8, ll)) : h("", !0),
954
+ e.value.style.chart.areas.maxPoint.show && o.plots.length > 1 ? (n(!0), r(m, { key: 2 }, k(o.plots, (S) => (n(), r(m, null, [
955
+ S.isMaxPoint ? (n(), r("line", {
920
956
  key: 0,
921
- x1: _.x,
922
- y1: _.y,
923
- x2: _.x,
924
- y2: _.zero,
925
- stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(ga)(l.color) : e.value.style.chart.areas.maxPoint.stroke,
957
+ x1: S.x,
958
+ y1: S.y,
959
+ x2: S.x,
960
+ y2: S.zero,
961
+ stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(ma)(o.color) : e.value.style.chart.areas.maxPoint.stroke,
926
962
  "stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
927
963
  "stroke-linecap": "round",
928
964
  "stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
929
- }, null, 8, tl)) : h("", !0)
965
+ }, null, 8, ol)) : h("", !0)
930
966
  ], 64))), 256)) : h("", !0),
931
- l.plots.length === 1 ? (n(), r("circle", {
967
+ o.plots.length === 1 ? (n(), r("circle", {
932
968
  key: 3,
933
- cx: l.plots[0].x,
934
- cy: l.plots[0].y,
969
+ cx: o.plots[0].x,
970
+ cy: o.plots[0].y,
935
971
  stroke: e.value.style.chart.selector.dot.stroke,
936
972
  "stroke-width": e.value.style.chart.selector.dot.strokeWidth,
937
973
  r: e.value.style.chart.selector.dot.radius,
938
- fill: e.value.style.chart.selector.dot.useDatapointColor ? l.color : e.value.style.chart.selector.dot.fill,
974
+ fill: e.value.style.chart.selector.dot.useDatapointColor ? o.color : e.value.style.chart.selector.dot.fill,
939
975
  style: {
940
976
  pointerEvents: "none"
941
977
  }
942
- }, null, 8, al)) : h("", !0)
978
+ }, null, 8, sl)) : h("", !0)
943
979
  ]))), 128)),
944
980
  y("text", {
945
981
  x: a.label.x,
@@ -948,22 +984,22 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
948
984
  "font-size": e.value.style.chart.yAxis.labels.fontSize,
949
985
  "font-weight": e.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
950
986
  fill: e.value.style.chart.yAxis.labels.color,
951
- style: w({
987
+ style: $({
952
988
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
953
989
  }),
954
- "text-decoration": e.value.style.chart.dialog.show && (Ae.value === s || B.value && a.uid === B.value.uid) ? "underline" : "",
955
- onMouseenter: (l) => Bt(s),
956
- onMouseleave: Ht,
957
- onClick: (l) => Et(a)
958
- }, R(a.name), 45, ll)
990
+ "text-decoration": e.value.style.chart.dialog.show && (Ce.value === s || X.value && a.uid === X.value.uid) ? "underline" : "",
991
+ onMouseenter: (o) => Ut(s),
992
+ onMouseleave: Vt,
993
+ onClick: (o) => Xt(a)
994
+ }, B(a.name), 45, nl)
959
995
  ]))), 128)),
960
996
  e.value.style.chart.xAxis.labels.values.length ? (n(), r("g", {
961
997
  key: 0,
962
998
  ref_key: "timeLabelsEls",
963
- ref: ye
999
+ ref: ge
964
1000
  }, [
965
- (n(!0), r(m, null, k(H.value, (a, s) => p(t.$slots, "time-label", Te({ ref_for: !0 }, {
966
- 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,
967
1003
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
968
1004
  content: a.label,
969
1005
  textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -972,7 +1008,7 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
972
1008
  x: a.selectorX,
973
1009
  y: b.value.bottom + e.value.style.chart.xAxis.labels.offsetY
974
1010
  }), () => [
975
- 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", ol, [
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, [
976
1012
  String(a.label).includes(`
977
1013
  `) ? (n(), r("text", {
978
1014
  key: 1,
@@ -982,17 +1018,17 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
982
1018
  "font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
983
1019
  transform: `translate(${a.selectorX}, ${b.value.bottom + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
984
1020
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
985
- style: w({
986
- opacity: d.value ? d.value.index === s ? 1 : 0.2 : 1
1021
+ style: $({
1022
+ opacity: g.value ? g.value.index === s ? 1 : 0.2 : 1
987
1023
  }),
988
- innerHTML: u(fa)({
1024
+ innerHTML: u(ba)({
989
1025
  content: String(a.label),
990
1026
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
991
1027
  fill: e.value.style.chart.xAxis.labels.color,
992
1028
  x: 0,
993
1029
  y: 0
994
1030
  })
995
- }, null, 12, nl)) : (n(), r("text", {
1031
+ }, null, 12, il)) : (n(), r("text", {
996
1032
  key: 0,
997
1033
  class: "vue-ui-ridgeline-x-axis-label",
998
1034
  "font-size": e.value.style.chart.xAxis.labels.fontSize,
@@ -1000,43 +1036,43 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
1000
1036
  "font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1001
1037
  transform: `translate(${a.selectorX}, ${b.value.bottom + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
1002
1038
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1003
- style: w({
1004
- opacity: d.value ? d.value.index === s ? 1 : 0.2 : 1
1039
+ style: $({
1040
+ opacity: g.value ? g.value.index === s ? 1 : 0.2 : 1
1005
1041
  })
1006
- }, R(a.label), 13, sl))
1042
+ }, B(a.label), 13, ul))
1007
1043
  ])) : h("", !0)
1008
1044
  ], !0)), 256))
1009
1045
  ], 512)) : h("", !0),
1010
1046
  y("g", null, [
1011
- (n(!0), r(m, null, k(H.value, (a, s) => (n(), r("rect", {
1047
+ (n(!0), r(m, null, k(U.value, (a, s) => (n(), r("rect", {
1012
1048
  x: a.x,
1013
1049
  y: a.y,
1014
1050
  width: a.width < 0 ? 0.1 : a.width,
1015
1051
  height: a.height < 0 ? 0.1 : a.height,
1016
1052
  fill: "transparent",
1017
- onMouseenter: (l) => Lt(a),
1018
- onMouseleave: (l) => zt(a),
1019
- onClick: () => Dt(a)
1020
- }, null, 40, rl))), 256)),
1021
- e.value.style.chart.selector.show && d.value ? (n(), r("line", {
1053
+ onMouseenter: (o) => It(a),
1054
+ onMouseleave: (o) => Rt(a),
1055
+ onClick: () => Nt(a)
1056
+ }, null, 40, cl))), 256)),
1057
+ e.value.style.chart.selector.show && g.value ? (n(), r("line", {
1022
1058
  key: 0,
1023
- x1: d.value.selectorX,
1024
- x2: d.value.selectorX,
1025
- y1: d.value.y,
1026
- 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,
1027
1063
  stroke: e.value.style.chart.selector.stroke,
1028
1064
  "stroke-width": e.value.style.chart.selector.strokeWidth,
1029
1065
  "stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
1030
1066
  "stroke-linecap": "round",
1031
1067
  style: { pointerEvents: "none" }
1032
- }, null, 8, ul)) : h("", !0),
1033
- d.value ? (n(!0), r(m, { key: 1 }, k(X.value, (a) => (n(), r(m, null, [
1068
+ }, null, 8, vl)) : h("", !0),
1069
+ g.value ? (n(!0), r(m, { key: 1 }, k(V.value, (a) => (n(), r(m, null, [
1034
1070
  (n(!0), r(m, null, k(a.datapoints, (s) => (n(), r(m, null, [
1035
- (n(!0), r(m, null, k(s.plots, (l, v) => (n(), r(m, null, [
1036
- 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", {
1037
1073
  key: 0,
1038
- cx: l.x,
1039
- cy: l.y,
1074
+ cx: o.x,
1075
+ cy: o.y,
1040
1076
  stroke: e.value.style.chart.selector.dot.stroke,
1041
1077
  "stroke-width": e.value.style.chart.selector.dot.strokeWidth,
1042
1078
  r: e.value.style.chart.selector.dot.radius,
@@ -1044,32 +1080,32 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
1044
1080
  style: {
1045
1081
  pointerEvents: "none"
1046
1082
  }
1047
- }, null, 8, il)) : h("", !0),
1048
- 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", {
1049
1085
  key: 1,
1050
- x: qe(
1051
- l.x,
1052
- u(ue)(
1086
+ x: Je(
1087
+ o.x,
1088
+ u(ie)(
1053
1089
  e.value.style.chart.selector.labels.formatter,
1054
- l.value,
1055
- u(ie)({
1090
+ o.value,
1091
+ u(ce)({
1056
1092
  p: e.value.style.chart.xAxis.labels.prefix,
1057
- v: l.value,
1093
+ v: o.value,
1058
1094
  s: e.value.style.chart.xAxis.labels.suffix,
1059
1095
  r: e.value.style.chart.selector.labels.rounding
1060
1096
  })
1061
1097
  ),
1062
1098
  e.value.style.chart.selector.labels.fontSize
1063
- ) ? l.x - e.value.style.chart.selector.labels.fontSize / 2 : l.x + e.value.style.chart.selector.labels.fontSize / 2,
1064
- y: l.y + e.value.style.chart.selector.labels.fontSize / 3,
1065
- "text-anchor": qe(
1066
- l.x,
1067
- u(ue)(
1099
+ ) ? o.x - e.value.style.chart.selector.labels.fontSize / 2 : o.x + e.value.style.chart.selector.labels.fontSize / 2,
1100
+ y: o.y + e.value.style.chart.selector.labels.fontSize / 3,
1101
+ "text-anchor": Je(
1102
+ o.x,
1103
+ u(ie)(
1068
1104
  e.value.style.chart.selector.labels.formatter,
1069
- l.value,
1070
- u(ie)({
1105
+ o.value,
1106
+ u(ce)({
1071
1107
  p: e.value.style.chart.xAxis.labels.prefix,
1072
- v: l.value,
1108
+ v: o.value,
1073
1109
  s: e.value.style.chart.xAxis.labels.suffix,
1074
1110
  r: e.value.style.chart.selector.labels.rounding
1075
1111
  })
@@ -1081,48 +1117,48 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
1081
1117
  style: {
1082
1118
  pointerEvents: "none"
1083
1119
  }
1084
- }, R(u(ue)(
1120
+ }, B(u(ie)(
1085
1121
  e.value.style.chart.selector.labels.formatter,
1086
- l.value,
1087
- u(ie)({
1122
+ o.value,
1123
+ u(ce)({
1088
1124
  p: e.value.style.chart.xAxis.labels.prefix,
1089
- v: l.value,
1125
+ v: o.value,
1090
1126
  s: e.value.style.chart.xAxis.labels.suffix,
1091
1127
  r: e.value.style.chart.selector.labels.rounding
1092
1128
  })
1093
- )), 9, cl)) : h("", !0)
1129
+ )), 9, hl)) : h("", !0)
1094
1130
  ], 64))), 256))
1095
1131
  ], 64))), 256))
1096
1132
  ], 64))), 256)) : h("", !0)
1097
1133
  ]),
1098
- p(t.$slots, "svg", { svg: f.value }, void 0, !0)
1099
- ], 14, Ea)),
1100
- t.$slots.watermark ? (n(), r("div", vl, [
1101
- p(t.$slots, "watermark", se(ne({ isPrinting: u(Ue) || u(Ve) })), void 0, !0)
1134
+ f(t.$slots, "svg", { svg: p.value }, void 0, !0)
1135
+ ], 14, Xa)),
1136
+ t.$slots.watermark ? (n(), r("div", fl, [
1137
+ f(t.$slots, "watermark", P(O({ isPrinting: u(Ve) || u(Ge) })), void 0, !0)
1102
1138
  ])) : h("", !0),
1103
1139
  y("div", {
1104
1140
  ref_key: "chartLegend",
1105
- ref: De
1141
+ ref: Ie
1106
1142
  }, [
1107
- e.value.style.chart.legend.show ? (n(), S(za, {
1143
+ e.value.style.chart.legend.show ? (n(), T(Ra, {
1108
1144
  key: `legend_${he.value}`,
1109
- legendSet: te.value,
1110
- config: Rt.value,
1111
- onClickMarker: o[0] || (o[0] = ({ legend: a }) => Ye(a.id))
1112
- }, _e({
1113
- item: g(({ legend: a }) => [
1114
- u(G) ? h("", !0) : (n(), r("div", {
1145
+ legendSet: G.value,
1146
+ config: Ht.value,
1147
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => oe(a.id))
1148
+ }, Se({
1149
+ item: v(({ legend: a }) => [
1150
+ u(j) ? h("", !0) : (n(), r("div", {
1115
1151
  key: 0,
1116
- style: w(`opacity:${O.value.includes(a.id) ? 0.5 : 1}`),
1152
+ style: $(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`),
1117
1153
  onClick: (s) => a.segregate()
1118
- }, R(a.name), 13, hl))
1154
+ }, B(a.name), 13, gl))
1119
1155
  ]),
1120
1156
  _: 2
1121
1157
  }, [
1122
1158
  t.$slots.pattern ? {
1123
1159
  name: "legend-pattern",
1124
- fn: g(({ legend: a, index: s }) => [
1125
- Se(Ia, {
1160
+ fn: v(({ legend: a, index: s }) => [
1161
+ Te(Fa, {
1126
1162
  shape: a.shape,
1127
1163
  radius: 30,
1128
1164
  stroke: "none",
@@ -1133,40 +1169,40 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
1133
1169
  key: "0"
1134
1170
  } : void 0
1135
1171
  ]), 1032, ["legendSet", "config"])) : h("", !0),
1136
- p(t.$slots, "legend", { legend: te.value }, void 0, !0)
1172
+ f(t.$slots, "legend", { legend: G.value }, void 0, !0)
1137
1173
  ], 512),
1138
1174
  t.$slots.source ? (n(), r("div", {
1139
1175
  key: 5,
1140
1176
  ref_key: "source",
1141
- ref: Ie,
1177
+ ref: Re,
1142
1178
  dir: "auto"
1143
1179
  }, [
1144
- p(t.$slots, "source", {}, void 0, !0)
1180
+ f(t.$slots, "source", {}, void 0, !0)
1145
1181
  ], 512)) : h("", !0),
1146
- U.value && e.value.userOptions.buttons.table ? (n(), S(ra(j.value.component), Te({ key: 6 }, j.value.props, {
1182
+ W.value && e.value.userOptions.buttons.table ? (n(), T(ca(Q.value.component), Pe({ key: 6 }, Q.value.props, {
1147
1183
  ref_key: "tableUnit",
1148
- ref: V,
1149
- onClose: tt
1150
- }), _e({
1151
- content: g(() => [
1152
- (n(), S(u(xt), {
1153
- key: `table_${$t.value}`,
1154
- colNames: le.value.colNames,
1155
- head: le.value.head,
1156
- body: le.value.body,
1157
- config: le.value.config,
1158
- title: e.value.table.useDialog ? "" : j.value.title,
1184
+ ref: Y,
1185
+ onClose: at
1186
+ }), Se({
1187
+ content: v(() => [
1188
+ (n(), T(u(kt), {
1189
+ key: `table_${_t.value}`,
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,
1159
1195
  withCloseButton: !e.value.table.useDialog,
1160
- onClose: tt
1196
+ onClose: at
1161
1197
  }, {
1162
- th: g(({ th: a }) => [
1163
- y("div", { innerHTML: a }, null, 8, dl)
1198
+ th: v(({ th: a }) => [
1199
+ y("div", { innerHTML: a }, null, 8, yl)
1164
1200
  ]),
1165
- td: g(({ td: a }) => [
1166
- Pe(R(a.name ? a.name : u(ue)(
1201
+ td: v(({ td: a }) => [
1202
+ Oe(B(a.name ? a.name : u(ie)(
1167
1203
  e.value.style.chart.selector.labels.formatter,
1168
1204
  a,
1169
- u(ie)({
1205
+ u(ce)({
1170
1206
  p: e.value.style.chart.xAxis.labels.prefix,
1171
1207
  v: a,
1172
1208
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -1181,57 +1217,57 @@ const Ra = ["id"], Ea = ["xmlns", "viewBox"], Ba = ["id"], Ha = ["stop-color"],
1181
1217
  }, [
1182
1218
  e.value.table.useDialog ? {
1183
1219
  name: "title",
1184
- fn: g(() => [
1185
- Pe(R(j.value.title), 1)
1220
+ fn: v(() => [
1221
+ Oe(B(Q.value.title), 1)
1186
1222
  ]),
1187
1223
  key: "0"
1188
1224
  } : void 0,
1189
1225
  e.value.table.useDialog ? {
1190
1226
  name: "actions",
1191
- fn: g(() => [
1227
+ fn: v(() => [
1192
1228
  y("button", {
1193
1229
  tabindex: "0",
1194
1230
  class: "vue-ui-user-options-button",
1195
- onClick: o[1] || (o[1] = (a) => we(e.value.userOptions.callbacks.csv))
1231
+ onClick: l[1] || (l[1] = (a) => $e(e.value.userOptions.callbacks.csv))
1196
1232
  }, [
1197
- Se(u(mt), {
1233
+ Te(u(bt), {
1198
1234
  name: "excel",
1199
- stroke: j.value.props.color
1235
+ stroke: Q.value.props.color
1200
1236
  }, null, 8, ["stroke"])
1201
1237
  ])
1202
1238
  ]),
1203
1239
  key: "1"
1204
1240
  } : void 0
1205
1241
  ]), 1040)) : h("", !0),
1206
- e.value.style.chart.dialog.show ? (n(), S(u(Le), {
1242
+ e.value.style.chart.dialog.show ? (n(), T(u(ze), {
1207
1243
  key: 7,
1208
1244
  ref_key: "dialog",
1209
- ref: de,
1210
- onClose: o[2] || (o[2] = (a) => B.value = null),
1245
+ ref: fe,
1246
+ onClose: l[2] || (l[2] = (a) => X.value = null),
1211
1247
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
1212
1248
  color: e.value.style.chart.dialog.color,
1213
1249
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
1214
1250
  headerColor: e.value.style.chart.dialog.header.color,
1215
- isFullscreen: I.value,
1216
- fullscreenParent: $.value,
1251
+ isFullscreen: N.value,
1252
+ fullscreenParent: _.value,
1217
1253
  withPadding: ""
1218
1254
  }, {
1219
- title: g(() => [
1220
- Pe(R(B.value.name), 1)
1255
+ title: v(() => [
1256
+ Oe(B(X.value.name), 1)
1221
1257
  ]),
1222
- content: g(() => [
1223
- B.value ? (n(), S(u(pt), {
1258
+ content: v(() => [
1259
+ X.value ? (n(), T(u(mt), {
1224
1260
  key: 0,
1225
- config: Qe.value,
1226
- dataset: Ke.value
1261
+ config: Ke.value,
1262
+ dataset: Ze.value
1227
1263
  }, null, 8, ["config", "dataset"])) : h("", !0)
1228
1264
  ]),
1229
1265
  _: 1
1230
1266
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : h("", !0),
1231
- u(G) ? (n(), S($a, { key: 8 })) : h("", !0)
1232
- ], 46, Ra));
1267
+ u(j) ? (n(), T(Ta, { key: 8 })) : h("", !0)
1268
+ ], 46, Ha));
1233
1269
  }
1234
- }, Ll = /* @__PURE__ */ Fa(yl, [["__scopeId", "data-v-36456620"]]);
1270
+ }, Il = /* @__PURE__ */ Ba(pl, [["__scopeId", "data-v-37841d19"]]);
1235
1271
  export {
1236
- Ll as default
1272
+ Il as default
1237
1273
  };