vue-data-ui 3.23.1 → 3.23.2

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 (171) hide show
  1. package/dist/{PackageVersion-D6d8SCp9.js → PackageVersion-DXU7nRr9.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-hill.js +1 -1
  28. package/dist/components/vue-ui-history-plot.js +1 -1
  29. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  30. package/dist/components/vue-ui-kpi.js +1 -1
  31. package/dist/components/vue-ui-mini-loader.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-rating.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-smiley.js +1 -1
  47. package/dist/components/vue-ui-spark-trend.js +1 -1
  48. package/dist/components/vue-ui-sparkbar.js +1 -1
  49. package/dist/components/vue-ui-sparkgauge.js +1 -1
  50. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  51. package/dist/components/vue-ui-sparkline.js +1 -1
  52. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  53. package/dist/components/vue-ui-stackbar.js +1 -1
  54. package/dist/components/vue-ui-stackline.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/{package-KvlL5CqE.js → package-bsfpO6y3.js} +1 -1
  71. package/dist/{render-common-oDYGTc5P.js → render-common-C0PEe9so.js} +1 -1
  72. package/dist/ssr/vue-ui-donut.js +1 -1
  73. package/dist/ssr/vue-ui-xy.js +1 -1
  74. package/dist/ssr.js +2 -2
  75. package/dist/style.css +1 -1
  76. package/dist/types/vue-data-ui.d.ts +6 -0
  77. package/dist/{useSvgExport-DH-FfcqQ.js → useChartExport-DNiwdPmb.js} +47 -1
  78. package/dist/{useConfig-D3scuR88.js → useConfig-DlNpz6P8.js} +6 -0
  79. package/dist/{useObjectBindings-Brg8mm5J.js → useObjectBindings-BeWS5v0i.js} +1 -1
  80. package/dist/utils.js +1 -1
  81. package/dist/{vue-data-ui-DGWDPCwC.js → vue-data-ui-BNxtW8pK.js} +68 -68
  82. package/dist/vue-data-ui.js +69 -69
  83. package/dist/{vue-ui-3d-bar-C_Su9fve.js → vue-ui-3d-bar-BYumVxZG.js} +164 -182
  84. package/dist/{vue-ui-accordion-BxGriZik.js → vue-ui-accordion-DegI2lzR.js} +1 -1
  85. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  86. package/dist/{vue-ui-annotator-CCtnM8Rv.js → vue-ui-annotator-DfG79D4r.js} +2 -2
  87. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  88. package/dist/{vue-ui-bump-CcdzJZ9n.js → vue-ui-bump-mKysp0KO.js} +213 -263
  89. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  90. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  91. package/dist/vue-ui-chestnut-Dpklo-VE.js +2014 -0
  92. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  93. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  94. package/dist/{vue-ui-cursor-BqHr0n1Z.js → vue-ui-cursor-DIt7vOwc.js} +2 -2
  95. package/dist/{vue-ui-dag-jMLVoQkb.js → vue-ui-dag-Cl0WdSLb.js} +492 -515
  96. package/dist/{vue-ui-dashboard-DVAUFETR.js → vue-ui-dashboard-BwxRLR4E.js} +65 -65
  97. package/dist/{vue-ui-digits-Dy4gG6qm.js → vue-ui-digits-Bp1OH_t1.js} +2 -2
  98. package/dist/{vue-ui-donut-C0cWRLbU.js → vue-ui-donut-BZUT7QYt.js} +333 -359
  99. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  100. package/dist/{vue-ui-donut-CYpxGBhl.js → vue-ui-donut-y6tOAVyY.js} +2 -2
  101. package/dist/{vue-ui-dumbbell-DxVbRjKR.js → vue-ui-dumbbell-BtKZcAOV.js} +378 -428
  102. package/dist/{vue-ui-flow-DWaZF4FS.js → vue-ui-flow-BF_cndsv.js} +182 -207
  103. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  104. package/dist/{vue-ui-galaxy-CWBP9oH9.js → vue-ui-galaxy-ClWaSOmM.js} +308 -334
  105. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  106. package/dist/{vue-ui-geo-ZA7CBy8f.js → vue-ui-geo-B1tOD3HC.js} +362 -413
  107. package/dist/{vue-ui-gizmo-SQCou0bQ.js → vue-ui-gizmo-foatosAv.js} +2 -2
  108. package/dist/{vue-ui-heatmap-CHd9gs_p.js → vue-ui-heatmap-By33A9dZ.js} +292 -315
  109. package/dist/vue-ui-hill-ewqkK9s5.js +1745 -0
  110. package/dist/{vue-ui-history-plot-BwnlC1mx.js → vue-ui-history-plot-FEIwXlsz.js} +258 -283
  111. package/dist/{vue-ui-horizontal-bar-BUar2HUH.js → vue-ui-horizontal-bar-D51sAeVu.js} +273 -298
  112. package/dist/{vue-ui-kpi-BF_9WWoo.js → vue-ui-kpi-y3EkgqJQ.js} +2 -2
  113. package/dist/{vue-ui-mini-loader-CvfukjXi.js → vue-ui-mini-loader-CtTewZJG.js} +1 -1
  114. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  115. package/dist/{vue-ui-mood-radar-_zpbmvJs.js → vue-ui-mood-radar-wBRTZI5k.js} +337 -386
  116. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  117. package/dist/{vue-ui-onion-CB5RYIy5.js → vue-ui-onion-B2Q2n55x.js} +257 -282
  118. package/dist/{vue-ui-parallel-coordinate-plot-BUwt-apg.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +190 -215
  119. package/dist/{vue-ui-quadrant-CoROD3er.js → vue-ui-quadrant-DOPuejDE.js} +213 -243
  120. package/dist/{vue-ui-quick-chart-BcH7eY4-.js → vue-ui-quick-chart-CgHX9njq.js} +52 -61
  121. package/dist/{vue-ui-radar-DGbaXGme.js → vue-ui-radar-BLvG-_zE.js} +343 -370
  122. package/dist/{vue-ui-rating-Bo3zD3yW.js → vue-ui-rating-BDVSVFA0.js} +8 -9
  123. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  124. package/dist/{vue-ui-ridgeline-BCaGcyfk.js → vue-ui-ridgeline-BbrnXvBo.js} +267 -317
  125. package/dist/{vue-ui-rings-BJUBn8_b.js → vue-ui-rings-B3cKfMWy.js} +407 -432
  126. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  127. package/dist/{vue-ui-skeleton-EeJcGbCo.js → vue-ui-skeleton-DwKxd7fk.js} +2 -2
  128. package/dist/{vue-ui-smiley-D0gibt5c.js → vue-ui-smiley-5iHJeTPc.js} +62 -63
  129. package/dist/{vue-ui-spark-trend-BRoQ7JpQ.js → vue-ui-spark-trend-MpvrV5Wd.js} +2 -2
  130. package/dist/{vue-ui-sparkbar-DFp2k7-7.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  131. package/dist/{vue-ui-sparkgauge-D0Bq85Hs.js → vue-ui-sparkgauge-B-BYVv4p.js} +2 -2
  132. package/dist/{vue-ui-sparkhistogram-BPln7v63.js → vue-ui-sparkhistogram-D7D4NHdi.js} +7 -8
  133. package/dist/{vue-ui-sparkline-C6Q45Dqp.js → vue-ui-sparkline-RbeYtLWp.js} +6 -7
  134. package/dist/{vue-ui-sparkstackbar-CjK4bcQg.js → vue-ui-sparkstackbar-ohN7mtbg.js} +191 -195
  135. package/dist/{vue-ui-stackbar-Ca8EPf3e.js → vue-ui-stackbar-D2bpvQYt.js} +524 -549
  136. package/dist/{vue-ui-stackline-Pz5WWlWT.js → vue-ui-stackline-Bo1oE8yq.js} +570 -595
  137. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  138. package/dist/{vue-ui-table-Bjg-ujJu.js → vue-ui-table-3PPiJPV6.js} +3 -3
  139. package/dist/{vue-ui-table-heatmap-ljeYW8Wc.js → vue-ui-table-heatmap-D1bbPXKG.js} +48 -49
  140. package/dist/{vue-ui-table-sparkline-iRFmtK5S.js → vue-ui-table-sparkline-l1cUX3ny.js} +7 -9
  141. package/dist/{vue-ui-thermometer-D8uiOaeA.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  142. package/dist/{vue-ui-timer-CYw983oL.js → vue-ui-timer-DWNdx47q.js} +2 -2
  143. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  144. package/dist/{vue-ui-treemap-h4VbnqPA.js → vue-ui-treemap-DjNlnOG5.js} +498 -524
  145. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  146. package/dist/{vue-ui-wheel-tLvJadk5.js → vue-ui-wheel-DrefGLos.js} +188 -209
  147. package/dist/{vue-ui-word-cloud-BjpGSsod.js → vue-ui-word-cloud-CQZ8AyOi.js} +375 -398
  148. package/dist/{vue-ui-world-B4fCS3jN.js → vue-ui-world-Y7a3VEjq.js} +428 -453
  149. package/dist/{vue-ui-xy-7ZT9IRD8.js → vue-ui-xy-CJcdttNL.js} +857 -883
  150. package/dist/{vue-ui-xy-gyNS0yH0.js → vue-ui-xy-DPxtkYGc.js} +2 -2
  151. package/dist/{vue-ui-xy-canvas-BnLEwBpi.js → vue-ui-xy-canvas-1rbwMA1m.js} +13 -12
  152. package/package.json +1 -1
  153. package/dist/Slicer-CIk57nL4.js +0 -1163
  154. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +0 -1264
  155. package/dist/vue-ui-bullet-DLZr2Uk8.js +0 -724
  156. package/dist/vue-ui-candlestick-EEEt7ORC.js +0 -1866
  157. package/dist/vue-ui-carousel-table-BicIpNAD.js +0 -463
  158. package/dist/vue-ui-chestnut-BI7mC5dd.js +0 -2068
  159. package/dist/vue-ui-chord-DXaq8ZMu.js +0 -1396
  160. package/dist/vue-ui-circle-pack-XHJBMG51.js +0 -1659
  161. package/dist/vue-ui-donut-evolution-DwR47A2r.js +0 -1603
  162. package/dist/vue-ui-funnel-Bmpx5GHR.js +0 -797
  163. package/dist/vue-ui-gauge-ByE_txav.js +0 -953
  164. package/dist/vue-ui-hill-BT183G-_.js +0 -1768
  165. package/dist/vue-ui-molecule-Bi2CKHer.js +0 -958
  166. package/dist/vue-ui-nested-donuts-qHZAJ70u.js +0 -1528
  167. package/dist/vue-ui-relation-circle-DaU1eTsG.js +0 -925
  168. package/dist/vue-ui-scatter-Pcft1bUt.js +0 -2428
  169. package/dist/vue-ui-strip-plot-Dw4MGDSO.js +0 -1757
  170. package/dist/vue-ui-tiremarks-CekiW2Ru.js +0 -559
  171. package/dist/vue-ui-waffle-cu0w_s6L.js +0 -1412
@@ -2,12 +2,12 @@ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { $ as t, D as n, G as r, Ht as i, Jt as a, Kt as o, N as s, P as ee, Pt as c, Q as te, S as ne, V as re, X as l, ht as ie, i as u, jt as ae, pt as oe, q as se, r as ce, t as le, tt as ue, w as de } from "./lib-Bttd6u5E.js";
3
3
  import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as me } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as he } from "./useConfig-D3scuR88.js";
5
+ import { t as he } from "./useConfig-DlNpz6P8.js";
6
6
  import { t as ge } from "./usePrinter-DN5bYhTG.js";
7
7
  import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as ye } from "./useSvgExport-DH-FfcqQ.js";
9
- import { t as be } from "./useNestedProp-vPNvh7rV.js";
10
- import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as ye } from "./useNestedProp-vPNvh7rV.js";
9
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as xe } from "./useChartExport-DNiwdPmb.js";
11
11
  import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
12
  import { t as Ce } from "./img-Bnokohej.js";
13
13
  import { n as we } from "./Title-BE3qg9xl.js";
@@ -138,25 +138,25 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
138
138
  "copyAlt"
139
139
  ],
140
140
  setup(e, { expose: Ee, emit: qe }) {
141
- let _t = _(() => import("./vue-ui-xy-7ZT9IRD8.js").then((e) => e.n)), vt = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), yt = _(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), bt = _(() => import("./DataTable-BbKgJ5UI.js")), xt = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), St = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ct = _(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), wt = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_ridgeline: Tt } = he(), { isThemeValid: Et, warnInvalidTheme: Dt } = xe(), k = e, Ot = f({
141
+ let _t = _(() => import("./vue-ui-xy-CJcdttNL.js").then((e) => e.n)), vt = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), yt = _(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), bt = _(() => import("./DataTable-BbKgJ5UI.js")), xt = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), St = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ct = _(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), wt = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_ridgeline: Tt } = he(), { isThemeValid: Et, warnInvalidTheme: Dt } = be(), k = e, Ot = f({
142
142
  get() {
143
143
  return Array.isArray(B.value) && B.value.length > 0;
144
144
  },
145
145
  set(e) {
146
146
  return e;
147
147
  }
148
- }), A = qe, j = S(null), kt = S(null), At = S(null), M = We(null), N = We(null), jt = S(null), Mt = S(null), Nt = S(0), Pt = S(0), Ft = S(0), P = S(se()), It = S(0), Lt = S(0), Rt = S(512), F = S(null), I = S(null), zt = S(null), Bt = S(0), Vt = S(null), Ht = S(null), Ut = S(null), Wt = S(!1), Gt = S(!1), L = S(null), Kt = S(!1);
149
- function qt() {
150
- let e = be({
148
+ }), kt = qe, A = S(null), At = S(null), jt = S(null), j = We(null), M = We(null), Mt = S(null), Nt = S(null), Pt = S(0), Ft = S(0), It = S(0), N = S(se()), Lt = S(0), Rt = S(0), zt = S(512), P = S(null), F = S(null), Bt = S(null), Vt = S(0), Ht = S(null), I = S(null), Ut = S(null), L = S(null), Wt = S(!1);
149
+ function Gt() {
150
+ let e = ye({
151
151
  userConfig: k.config,
152
152
  defaultConfig: Tt
153
153
  }), t = e.theme;
154
154
  if (!t) return e;
155
155
  if (!Et.value(e)) return Dt(e), e;
156
- let n = be({
156
+ let n = ye({
157
157
  userConfig: Fe[t] || k.config,
158
158
  defaultConfig: e
159
- }), r = be({
159
+ }), r = ye({
160
160
  userConfig: k.config,
161
161
  defaultConfig: n
162
162
  });
@@ -165,7 +165,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
165
165
  customPalette: r.customPalette.length ? r.customPalette : o[t] || c
166
166
  };
167
167
  }
168
- let R = S(qt());
168
+ let R = S(Gt());
169
169
  fe({
170
170
  config: () => R.value,
171
171
  dataset: () => k.dataset,
@@ -202,7 +202,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
202
202
  }
203
203
  ]
204
204
  });
205
- let z = f(() => R.value.userOptions.useCursorPointer), Jt = f(() => a({
205
+ let z = f(() => R.value.userOptions.useCursorPointer), Kt = f(() => a({
206
206
  defaultConfig: {
207
207
  userOptions: { show: !1 },
208
208
  table: { show: !1 },
@@ -224,10 +224,10 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
224
224
  } }
225
225
  },
226
226
  userConfig: R.value.skeletonConfig ?? {}
227
- })), { loading: Yt, FINAL_DATASET: B, manualLoading: Xt } = _e({
227
+ })), { loading: qt, FINAL_DATASET: B, manualLoading: Jt } = _e({
228
228
  ...Ge(k),
229
229
  FINAL_CONFIG: R,
230
- prepareConfig: qt,
230
+ prepareConfig: Gt,
231
231
  skeletonDataset: k.config?.skeletonDataset ?? [
232
232
  {
233
233
  name: "_",
@@ -460,17 +460,17 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
460
460
  ],
461
461
  skeletonConfig: a({
462
462
  defaultConfig: R.value,
463
- userConfig: Jt.value
463
+ userConfig: Kt.value
464
464
  })
465
- }), V = S(Math.min(R.value.style.chart.areas.height, R.value.style.chart.areas.rowHeight)), { userOptionsVisible: Zt, setUserOptionsVisibility: Qt, keepUserOptionState: $t } = Me({ config: R.value }), { svgRef: H } = Ne({ config: R.value.style.chart.title }), en = f(() => !!R.value.debug);
466
- function tn() {
465
+ }), V = S(Math.min(R.value.style.chart.areas.height, R.value.style.chart.areas.rowHeight)), { userOptionsVisible: Yt, setUserOptionsVisibility: Xt, keepUserOptionState: Zt } = Me({ config: R.value }), { svgRef: H } = Ne({ config: R.value.style.chart.title }), Qt = f(() => R.value.debug);
466
+ function $t() {
467
467
  let e = B.value || [];
468
468
  if (!Array.isArray(e) || e.length === 0) {
469
469
  ue({
470
470
  componentName: "VueUiRidgeline",
471
471
  type: "dataset",
472
- debug: en.value
473
- }), Xt.value = !0;
472
+ debug: Qt.value
473
+ }), Jt.value = !0;
474
474
  return;
475
475
  }
476
476
  if (e.forEach((e, t) => {
@@ -483,7 +483,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
483
483
  type: "datasetSerieAttribute",
484
484
  property: e,
485
485
  index: t,
486
- debug: en.value
486
+ debug: Qt.value
487
487
  });
488
488
  }), Array.isArray(e.datapoints) && e.datapoints.length && e.datapoints.forEach((e, n) => {
489
489
  oe({
@@ -495,180 +495,180 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
495
495
  type: "datasetSerieAttribute",
496
496
  property: `datapoint.${e}`,
497
497
  index: `${t}-${n}`,
498
- debug: en.value
498
+ debug: Qt.value
499
499
  });
500
500
  });
501
501
  });
502
- }), Lt.value = e.length, V.value = Math.min(R.value.style.chart.areas.height, R.value.style.chart.areas.rowHeight), ae(k.dataset) || (Xt.value = R.value.loading), R.value.responsive) {
502
+ }), Rt.value = e.length, V.value = Math.min(R.value.style.chart.areas.height, R.value.style.chart.areas.rowHeight), ae(k.dataset) || (Jt.value = R.value.loading), R.value.responsive) {
503
503
  let t = De(() => {
504
504
  let { width: t, height: n } = Oe({
505
- chart: j.value,
506
- title: R.value.style.chart.title.text ? kt.value : null,
507
- legend: R.value.style.chart.legend.show ? At.value : null,
508
- source: jt.value,
509
- noTitle: Mt.value,
505
+ chart: A.value,
506
+ title: R.value.style.chart.title.text ? At.value : null,
507
+ legend: R.value.style.chart.legend.show ? jt.value : null,
508
+ source: Mt.value,
509
+ noTitle: Nt.value,
510
510
  padding: R.value.style.chart.padding
511
511
  });
512
512
  requestAnimationFrame(() => {
513
- Rt.value = t, V.value = e.length ? n / e.length : 0, Bt.value = n - 12;
513
+ zt.value = t, V.value = e.length ? n / e.length : 0, Vt.value = n - 12;
514
514
  });
515
515
  });
516
- M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect()), M.value = new ResizeObserver(t), N.value = j.value?.parentNode || null, N.value && M.value.observe(N.value);
516
+ j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect()), j.value = new ResizeObserver(t), M.value = A.value?.parentNode || null, M.value && j.value.observe(M.value);
517
517
  }
518
518
  }
519
519
  He(() => {
520
- M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
520
+ j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect());
521
521
  });
522
- let { isPrinting: nn, isImaging: rn, generatePdf: an, generateImage: on } = ge({
523
- elementId: `vue-ui-ridgeline_${P.value}`,
522
+ let { isPrinting: en, isImaging: tn, generatePdf: nn, generateImage: rn } = ge({
523
+ elementId: `vue-ui-ridgeline_${N.value}`,
524
524
  fileName: R.value.style.chart.title.text || "vue-ui-ridgeline",
525
525
  options: R.value.userOptions.print
526
- }), sn = f(() => R.value.userOptions.show && !R.value.style.chart.title.text), cn = f(() => de(R.value.customPalette)), U = S({ showTable: R.value.table.show });
526
+ }), an = f(() => R.value.userOptions.show && !R.value.style.chart.title.text), on = f(() => de(R.value.customPalette)), U = S({ showTable: R.value.table.show });
527
527
  D(() => B.value, async (e) => {
528
- Array.isArray(e) && e.length && (Zt.value = !R.value.userOptions.showOnChartHover, await Be(), tn(), Nt.value += 1, Ft.value += 1, U.value.showTable = R.value.table.show);
528
+ Array.isArray(e) && e.length && (Yt.value = !R.value.userOptions.showOnChartHover, await Be(), $t(), Pt.value += 1, It.value += 1, U.value.showTable = R.value.table.show);
529
529
  }, {
530
530
  deep: !0,
531
531
  immediate: !0
532
532
  }), D(() => k.dataset, (e) => {
533
- Array.isArray(e) && e.length > 0 && (Xt.value = !1);
534
- }, { deep: !0 }), D(() => Yt.value, async (e) => {
535
- e || (await Be(), tn());
533
+ Array.isArray(e) && e.length > 0 && (Jt.value = !1);
534
+ }, { deep: !0 }), D(() => qt.value, async (e) => {
535
+ e || (await Be(), $t());
536
536
  }, { immediate: !0 }), D(() => k.config, () => {
537
- R.value = qt(B.value || null), Zt.value = !R.value.userOptions.showOnChartHover, V.value = Math.min(R.value.style.chart.areas.height, R.value.style.chart.areas.rowHeight), U.value.showTable = R.value.table.show, Nt.value += 1, Ft.value += 1;
537
+ R.value = Gt(B.value || null), Yt.value = !R.value.userOptions.showOnChartHover, V.value = Math.min(R.value.style.chart.areas.height, R.value.style.chart.areas.rowHeight), U.value.showTable = R.value.table.show, Pt.value += 1, It.value += 1;
538
538
  }, { deep: !0 });
539
- let ln = f(() => R.value.style.chart.areas.height / R.value.style.chart.areas.rowHeight);
540
- function un() {
539
+ let sn = f(() => R.value.style.chart.areas.height / R.value.style.chart.areas.rowHeight);
540
+ function cn() {
541
541
  X.value.length ? X.value = [] : Z.value.forEach((e) => {
542
542
  X.value.push(e.id);
543
- }), A("selectLegend", Y.value);
543
+ }), kt("selectLegend", Y.value);
544
544
  }
545
- function dn(e) {
546
- X.value.includes(e) ? X.value = X.value.filter((t) => t !== e) : X.value.push(e), A("selectLegend", Y.value);
545
+ function ln(e) {
546
+ X.value.includes(e) ? X.value = X.value.filter((t) => t !== e) : X.value.push(e), kt("selectLegend", Y.value);
547
547
  }
548
- function fn(e) {
549
- return Z.value.length ? Z.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiRidgeline - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiRidgeline - There are no series to show."), null);
548
+ function un(e) {
549
+ return Z.value.length ? Z.value.find((t) => t.name === e) || (Qt.value && console.warn(`VueUiRidgeline - Series name not found "${e}"`), null) : (Qt.value && console.warn("VueUiRidgeline - There are no series to show."), null);
550
550
  }
551
- function pn(e) {
552
- let t = fn(e);
553
- t !== null && X.value.includes(t.id) && dn(t.id);
551
+ function dn(e) {
552
+ let t = un(e);
553
+ t !== null && X.value.includes(t.id) && ln(t.id);
554
554
  }
555
- function mn(e) {
556
- let t = fn(e);
557
- t !== null && (X.value.includes(t.id) || dn(t.id));
555
+ function fn(e) {
556
+ let t = un(e);
557
+ t !== null && (X.value.includes(t.id) || ln(t.id));
558
558
  }
559
559
  let W = f(() => Ot.value ? (B.value || []).map((e) => ({
560
560
  ...e,
561
- labelLen: On(e.name, R.value.style.chart.yAxis.labels.fontSize),
561
+ labelLen: En(e.name, R.value.style.chart.yAxis.labels.fontSize),
562
562
  uid: se(),
563
563
  datapoints: e.datapoints.map((e, t) => {
564
- let n = e.color ? ne(e.color) : cn.value[t] || c[t] || c[t % c.length], r = i(e.name);
564
+ let n = e.color ? ne(e.color) : on.value[t] || c[t] || c[t % c.length], r = i(e.name);
565
565
  return {
566
566
  ...e,
567
567
  color: n,
568
568
  id: r
569
569
  };
570
570
  })
571
- })) : []), hn = f(() => R.value.style.chart.padding.top + V.value * (B.value || []).length + V.value * ln.value + R.value.style.chart.padding.bottom), G = f(() => {
571
+ })) : []), pn = f(() => R.value.style.chart.padding.top + V.value * (B.value || []).length + V.value * sn.value + R.value.style.chart.padding.bottom), G = f(() => {
572
572
  let e = R.value.style.chart.padding;
573
573
  return {
574
- width: Rt.value,
575
- height: hn.value,
574
+ width: zt.value,
575
+ height: pn.value,
576
576
  padding: e
577
577
  };
578
- }), gn = f(() => G.value.width), _n = f(() => G.value.height), vn = S(0), yn = De((e) => {
579
- vn.value = e;
578
+ }), mn = f(() => G.value.width), hn = f(() => G.value.height), gn = S(0), _n = De((e) => {
579
+ gn.value = e;
580
580
  }, 100);
581
581
  Ke((e) => {
582
- let t = Vt.value;
582
+ let t = Ht.value;
583
583
  if (!t) return;
584
584
  let n = new ResizeObserver((e) => {
585
- yn(e[0].contentRect.height);
585
+ _n(e[0].contentRect.height);
586
586
  });
587
587
  n.observe(t), e(() => n.disconnect());
588
588
  }), He(() => {
589
- vn.value = 0;
589
+ gn.value = 0;
590
590
  });
591
591
  let K = f(() => ({
592
- fullHeight: G.value.height + vn.value,
592
+ fullHeight: G.value.height + gn.value,
593
593
  top: G.value.padding.top,
594
594
  left: G.value.padding.left,
595
595
  right: G.value.width - G.value.padding.right,
596
596
  bottom: G.value.height - R.value.style.chart.padding.bottom,
597
597
  width: G.value.width - (G.value.padding.left + G.value.padding.right)
598
- })), bn = f(() => Math.max(...W.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), q = S([]), xn = 0;
598
+ })), vn = f(() => Math.max(...W.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), q = S([]), yn = 0;
599
599
  Ke(() => {
600
- let e = ++xn;
600
+ let e = ++yn;
601
601
  (async () => {
602
602
  let t = await me({
603
603
  values: R.value.style.chart.xAxis.labels.values,
604
- maxDatapoints: bn.value,
604
+ maxDatapoints: vn.value,
605
605
  formatter: R.value.style.chart.xAxis.labels.datetimeFormatter,
606
606
  start: 0,
607
607
  end: R.value.style.chart.xAxis.labels.values.length
608
608
  });
609
- e === xn && (q.value = t);
609
+ e === yn && (q.value = t);
610
610
  })();
611
611
  });
612
612
  let J = f(() => {
613
- let e = Math.max(...W.value.map((e) => e.labelLen)), t = G.value.padding.left + e + 16 + R.value.style.chart.yAxis.labels.offsetX, n = (K.value.width - t) / bn.value, r = [];
614
- for (let e = 0; e < bn.value; e += 1) r.push({
613
+ let e = Math.max(...W.value.map((e) => e.labelLen)), t = G.value.padding.left + e + 16 + R.value.style.chart.yAxis.labels.offsetX, n = (K.value.width - t) / vn.value, r = [];
614
+ for (let e = 0; e < vn.value; e += 1) r.push({
615
615
  selectorX: t + n * e,
616
616
  x: t + n * e - n / 2,
617
617
  y: K.value.top,
618
618
  label: R.value.style.chart.xAxis.labels.values[e] ? q.value[e]?.text ?? "" : "",
619
619
  index: e,
620
620
  width: n,
621
- height: hn.value
621
+ height: pn.value
622
622
  });
623
623
  return r;
624
624
  });
625
- function Sn(e) {
625
+ function bn(e) {
626
626
  return W.value.map((t) => t.datapoints.map((t) => ({
627
627
  dp: t,
628
628
  selected: t.values[e.index]
629
629
  })));
630
630
  }
631
- function Cn(e) {
632
- F.value = e;
633
- let t = Sn(e);
631
+ function xn(e) {
632
+ P.value = e;
633
+ let t = bn(e);
634
634
  R.value.events.datapointEnter && R.value.events.datapointEnter({
635
635
  datapoint: t,
636
636
  seriesIndex: e.index
637
637
  });
638
638
  }
639
- function wn(e) {
640
- F.value = null;
641
- let t = Sn(e);
639
+ function Sn(e) {
640
+ P.value = null;
641
+ let t = bn(e);
642
642
  R.value.events.datapointLeave && R.value.events.datapointLeave({
643
643
  datapoint: t,
644
644
  seriesIndex: e.index
645
645
  });
646
646
  }
647
- function Tn(e) {
648
- let t = Sn(e);
647
+ function Cn(e) {
648
+ let t = bn(e);
649
649
  R.value.events.datapointClick && R.value.events.datapointClick({
650
650
  datapoint: t,
651
651
  seriesIndex: e.index
652
- }), A("selectX", t);
652
+ }), kt("selectX", t);
653
653
  }
654
- function En(e, t) {
654
+ function wn(e, t) {
655
655
  return e.length * t / 2 + t;
656
656
  }
657
- function Dn(e, t, n) {
658
- return e + En(t, n) > K.value.right;
657
+ function Tn(e, t, n) {
658
+ return e + wn(t, n) > K.value.right;
659
659
  }
660
- function On(e, t, n = "sans-serif") {
660
+ function En(e, t, n = "sans-serif") {
661
661
  let r = document.createElement("canvas").getContext("2d");
662
662
  return r.font = `${typeof t == "number" ? `${t}px` : t} ${n}`, r.measureText(e).width;
663
663
  }
664
664
  let Y = f(() => {
665
665
  V.value;
666
- let e = Math.max(...W.value.map((e) => e.labelLen)), t = Math.max(...W.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...W.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = G.value.padding.left + e + 16 + R.value.style.chart.yAxis.labels.offsetX, i = (K.value.width - r) / bn.value, a = Math.abs(Math.min(n, 0)), o = t + a;
666
+ let e = Math.max(...W.value.map((e) => e.labelLen)), t = Math.max(...W.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...W.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = G.value.padding.left + e + 16 + R.value.style.chart.yAxis.labels.offsetX, i = (K.value.width - r) / vn.value, a = Math.abs(Math.min(n, 0)), o = t + a;
667
667
  function c(e) {
668
668
  return isNaN(e / o) ? 0 : e / o;
669
669
  }
670
670
  return W.value.map((e, t) => {
671
- let n = K.value.top + V.value * t, o = K.value.top + n + V.value * ln.value * (1 - c(a));
671
+ let n = K.value.top + V.value * t, o = K.value.top + n + V.value * sn.value * (1 - c(a));
672
672
  return {
673
673
  ...e,
674
674
  label: {
@@ -687,7 +687,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
687
687
  ].includes(t) ? 0 : t || 0;
688
688
  return {
689
689
  x: r + i * s,
690
- y: K.value.top + n + V.value * ln.value * (1 - c(ee + a)),
690
+ y: K.value.top + n + V.value * sn.value * (1 - c(ee + a)),
691
691
  value: t,
692
692
  isMaxPoint: t === Math.max(...e.values),
693
693
  zero: o
@@ -708,7 +708,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
708
708
  };
709
709
  });
710
710
  }), X = S([]);
711
- function kn(e) {
711
+ function Dn(e) {
712
712
  let t = /* @__PURE__ */ new Map();
713
713
  return e.forEach((e) => {
714
714
  e.datapoints.forEach((e, n) => {
@@ -718,14 +718,14 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
718
718
  name: e.name,
719
719
  color: e.color,
720
720
  shape: "circle",
721
- segregate: () => dn(r),
721
+ segregate: () => ln(r),
722
722
  isSegregated: X.value.includes(r),
723
723
  opacity: X.value.includes(r) ? .5 : 1
724
724
  });
725
725
  });
726
726
  }), Array.from(t.values());
727
727
  }
728
- let Z = f(() => kn(W.value)), An = f(() => ({
728
+ let Z = f(() => Dn(W.value)), On = f(() => ({
729
729
  cy: "donut-div-legend",
730
730
  backgroundColor: R.value.style.chart.legend.backgroundColor,
731
731
  color: R.value.style.chart.legend.color,
@@ -733,19 +733,19 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
733
733
  paddingBottom: 12,
734
734
  fontWeight: R.value.style.chart.legend.bold ? "bold" : ""
735
735
  })), Q = S(!1);
736
- function jn(e) {
737
- Q.value = e, It.value += 1;
736
+ function kn(e) {
737
+ Q.value = e, Lt.value += 1;
738
738
  }
739
- let Mn = S({}), Nn = S([]);
740
- function Pn(e) {
741
- A("selectDatapoint", e), R.value.style.chart.dialog.show && (Nn.value = e.datapoints.map((e) => ({
739
+ let An = S({}), jn = S([]);
740
+ function Mn(e) {
741
+ kt("selectDatapoint", e), R.value.style.chart.dialog.show && (jn.value = e.datapoints.map((e) => ({
742
742
  name: e.name,
743
743
  color: e.color,
744
744
  type: "line",
745
745
  useArea: !0,
746
746
  smooth: R.value.style.chart.areas.smooth,
747
747
  series: e.values
748
- })), I.value = e, Mn.value = te({
748
+ })), F.value = e, An.value = te({
749
749
  ...R.value.style.chart.dialog.xyChart,
750
750
  responsive: !0,
751
751
  chart: {
@@ -782,23 +782,23 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
782
782
  useCursorPointer: R.value.userOptions.useCursorPointer
783
783
  }
784
784
  }
785
- }), zt.value && zt.value.open());
785
+ }), Bt.value && Bt.value.open());
786
+ }
787
+ let Nn = S(null);
788
+ function Pn(e) {
789
+ Nn.value = e;
786
790
  }
787
- let Fn = S(null);
788
- function In(e) {
789
- Fn.value = e;
791
+ function Fn() {
792
+ Nn.value = null;
790
793
  }
794
+ let In = S(!1);
791
795
  function Ln() {
792
- Fn.value = null;
793
- }
794
- let Rn = S(!1);
795
- function zn() {
796
- Rn.value = !Rn.value;
796
+ In.value = !In.value;
797
797
  }
798
- function Bn() {
798
+ function Rn() {
799
799
  U.value.showTable = !U.value.showTable;
800
800
  }
801
- let Vn = f(() => ({ body: Y.value.flatMap((e) => e.datapoints.flatMap((t) => ({
801
+ let zn = f(() => ({ body: Y.value.flatMap((e) => e.datapoints.flatMap((t) => ({
802
802
  ...t,
803
803
  rowName: `${e.name}: ${t.name}`
804
804
  }))).map((e) => [{
@@ -821,26 +821,26 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
821
821
  return {
822
822
  colNames: [R.value.table.columnNames.series, ...q.value.map((e) => e.text)],
823
823
  head: e,
824
- body: Vn.value.body,
824
+ body: zn.value.body,
825
825
  config: t
826
826
  };
827
827
  });
828
- function Hn(e = null) {
828
+ function Bn(e = null) {
829
829
  Be(() => {
830
- let r = [[R.value.table.columnNames.series, ...q.map((e) => [e.text])], ...Vn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], i = [[R.value.style.chart.title.text], [R.value.style.chart.title.subtitle.text]].concat(r), a = n(i);
830
+ let r = [[R.value.table.columnNames.series, ...q.map((e) => [e.text])], ...zn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], i = [[R.value.style.chart.title.text], [R.value.style.chart.title.subtitle.text]].concat(r), a = n(i);
831
831
  e ? e(a) : t({
832
832
  csvContent: a,
833
833
  title: R.value.style.chart.title.text || "vue-ui-ridgeline"
834
834
  });
835
835
  });
836
836
  }
837
- function Un() {
837
+ function Vn() {
838
838
  return Y.value;
839
839
  }
840
- async function Wn({ scale: e = 2 } = {}) {
841
- if (!j.value) return;
842
- let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
843
- domElement: j.value,
840
+ async function Hn({ scale: e = 2 } = {}) {
841
+ if (!A.value) return;
842
+ let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
843
+ domElement: A.value,
844
844
  base64: !0,
845
845
  img: !0,
846
846
  scale: e
@@ -854,14 +854,14 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
854
854
  aspectRatio: r
855
855
  };
856
856
  }
857
- let Gn = f(() => ({
857
+ let Un = f(() => ({
858
858
  min: 0,
859
- max: bn.value
859
+ max: vn.value
860
860
  }));
861
861
  Se({
862
- timeLabelsEls: Vt,
862
+ timeLabelsEls: Ht,
863
863
  timeLabels: q,
864
- slicer: Gn,
864
+ slicer: Un,
865
865
  configRef: R,
866
866
  rotationPath: [
867
867
  "style",
@@ -879,12 +879,12 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
879
879
  "enable"
880
880
  ],
881
881
  isAutoSize: !1,
882
- width: gn,
883
- height: _n,
882
+ width: mn,
883
+ height: hn,
884
884
  targetClass: ".vue-ui-ridgeline-x-axis-label",
885
885
  angle: R.value.style.chart.xAxis.labels.autoRotate.angle
886
886
  });
887
- let Kn = f(() => {
887
+ let Wn = f(() => {
888
888
  let e = R.value.table.useDialog && !R.value.table.show, t = U.value.showTable;
889
889
  return {
890
890
  component: e ? wt : yt,
@@ -895,7 +895,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
895
895
  headerColor: R.value.table.th.color,
896
896
  headerBg: R.value.table.th.backgroundColor,
897
897
  isFullscreen: Q.value,
898
- fullscreenParent: j.value,
898
+ fullscreenParent: A.value,
899
899
  forcedWidth: Math.min(800, window.innerWidth * .8),
900
900
  isCursorPointer: z.value
901
901
  } : {
@@ -916,135 +916,110 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
916
916
  };
917
917
  });
918
918
  D(() => U.value.showTable, (e) => {
919
- R.value.table.show || (e && R.value.table.useDialog && Ht.value ? Ht.value.open() : "close" in Ht.value && Ht.value.close());
919
+ R.value.table.show || (e && R.value.table.useDialog && I.value ? I.value.open() : "close" in I.value && I.value.close());
920
920
  });
921
- function qn() {
921
+ function Gn() {
922
922
  U.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
923
923
  }
924
- let Jn = f(() => R.value.style.chart.backgroundColor), Yn = f(() => ({
924
+ let Kn = f(() => R.value.style.chart.backgroundColor), qn = f(() => ({
925
925
  ...R.value.style.chart.legend,
926
926
  position: "bottom"
927
- })), Xn = f(() => R.value.style.chart.title), { exportSvg: Zn, getSvg: Qn } = ye({
927
+ })), Jn = f(() => R.value.style.chart.title), { isCallbackImaging: Yn, isCallbackSvg: Xn, generateSvg: Zn, onGenerateImage: Qn } = xe({
928
928
  svg: H,
929
- title: Xn,
930
- legend: Yn,
929
+ title: Jn,
930
+ legend: qn,
931
931
  legendItems: Z,
932
- backgroundColor: Jn
932
+ backgroundColor: Kn,
933
+ getSvgCallback: () => R.value.userOptions.callbacks.svg,
934
+ generateImage: rn
933
935
  });
934
- async function $n({ isCb: e }) {
935
- Gt.value = !0, await Be();
936
- try {
937
- if (e) {
938
- let { blob: e, url: t, text: n, dataUrl: r } = await Qn();
939
- await Promise.resolve(R.value.userOptions.callbacks.svg({
940
- blob: e,
941
- url: t,
942
- text: n,
943
- dataUrl: r
944
- }));
945
- } else await Promise.resolve(Zn());
946
- } finally {
947
- Gt.value = !1;
948
- }
936
+ function $n(e) {
937
+ er("xy-zoom", e.dataset, e.config);
949
938
  }
950
- function er(e) {
951
- if (e?.stage === "start") {
952
- Wt.value = !0;
953
- return;
954
- }
955
- if (e?.stage === "end") {
956
- Wt.value = !1;
957
- return;
958
- }
959
- on();
960
- }
961
- function tr(e) {
962
- nr("xy-zoom", e.dataset, e.config);
963
- }
964
- async function nr(e = "main-chart", t = null, n = null) {
965
- if (A("copyAlt", {
939
+ async function er(e = "main-chart", t = null, n = null) {
940
+ if (kt("copyAlt", {
966
941
  source: e,
967
- config: e === "main-chart" ? R.value : Mn.value,
968
- dataset: e === "main-chart" ? Y.value : Nn.value
942
+ config: e === "main-chart" ? R.value : An.value,
943
+ dataset: e === "main-chart" ? Y.value : jn.value
969
944
  }), !R.value.userOptions.callbacks.altCopy) {
970
945
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
971
946
  return;
972
947
  }
973
948
  await Promise.resolve(R.value.userOptions.callbacks.altCopy({
974
949
  source: e,
975
- config: e === "main-chart" ? R.value : Mn.value,
976
- dataset: e === "main-chart" ? Y.value : Nn.value
950
+ config: e === "main-chart" ? R.value : An.value,
951
+ dataset: e === "main-chart" ? Y.value : jn.value
977
952
  }));
978
953
  }
979
- function rr() {
980
- L.value = null, Kt.value = !0;
954
+ function tr() {
955
+ L.value = null, Wt.value = !0;
981
956
  }
982
- function ir() {
983
- cr(), Kt.value = !1;
957
+ function nr() {
958
+ or(), Wt.value = !1;
984
959
  }
985
- function ar(e) {
986
- if (!H.value || Rn.value || document.activeElement !== H.value || !Y.value.length) return;
960
+ function rr(e) {
961
+ if (!H.value || In.value || document.activeElement !== H.value || !Y.value.length) return;
987
962
  let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
988
963
  if (!t && !n && !r && !i && !a && !o) return;
989
964
  if (e.preventDefault(), e.stopPropagation(), o) {
990
- cr();
965
+ or();
991
966
  return;
992
967
  }
993
968
  if (a) {
994
969
  if (L.value !== null) {
995
970
  let e = Y.value[L.value];
996
- e && Pn(e);
971
+ e && Mn(e);
997
972
  return;
998
973
  }
999
- F.value && Tn(F.value);
974
+ P.value && Cn(P.value);
1000
975
  return;
1001
976
  }
1002
977
  if (t || n) {
1003
978
  let e = L.value;
1004
- e = e === null ? n ? 0 : Y.value.length - 1 : or(e + (n ? 1 : -1)), L.value = e, Fn.value = e;
979
+ e = e === null ? n ? 0 : Y.value.length - 1 : ir(e + (n ? 1 : -1)), L.value = e, Nn.value = e;
1005
980
  return;
1006
981
  }
1007
982
  if (!J.value.length) return;
1008
- let s = F.value?.index ?? null;
1009
- s = s === null ? i ? 0 : J.value.length - 1 : sr(s + (i ? 1 : -1));
983
+ let s = P.value?.index ?? null;
984
+ s = s === null ? i ? 0 : J.value.length - 1 : ar(s + (i ? 1 : -1));
1010
985
  let ee = J.value[s];
1011
- ee && Cn(ee);
986
+ ee && xn(ee);
1012
987
  }
1013
- function or(e) {
988
+ function ir(e) {
1014
989
  let t = Y.value.length;
1015
990
  return t ? (e % t + t) % t : null;
1016
991
  }
1017
- function sr(e) {
992
+ function ar(e) {
1018
993
  let t = J.value.length;
1019
994
  return t ? (e % t + t) % t : null;
1020
995
  }
1021
- function cr() {
1022
- L.value = null, Fn.value = null, F.value ? wn(F.value) : F.value = null;
996
+ function or() {
997
+ L.value = null, Nn.value = null, P.value ? Sn(P.value) : P.value = null;
1023
998
  }
1024
- let lr = f(() => ({
999
+ let sr = f(() => ({
1025
1000
  head: $.value.head,
1026
1001
  body: $.value.body.map((e) => [e[0]?.name ?? "", ...e.slice(1)]),
1027
1002
  caption: R.value.a11y.translations.tableCaption,
1028
1003
  notice: R.value.a11y.translations.tableAvailable
1029
1004
  }));
1030
1005
  return Ee({
1031
- getData: Un,
1032
- getImage: Wn,
1033
- generateImage: on,
1034
- generateSvg: $n,
1035
- generatePdf: an,
1036
- generateCsv: Hn,
1037
- hideSeries: mn,
1038
- showSeries: pn,
1039
- toggleAnnotator: zn,
1040
- toggleTable: Bn,
1041
- toggleFullscreen: jn,
1042
- copyAlt: nr
1006
+ getData: Vn,
1007
+ getImage: Hn,
1008
+ generateImage: rn,
1009
+ generateSvg: Zn,
1010
+ generatePdf: nn,
1011
+ generateCsv: Bn,
1012
+ hideSeries: fn,
1013
+ showSeries: dn,
1014
+ toggleAnnotator: Ln,
1015
+ toggleTable: Rn,
1016
+ toggleFullscreen: kn,
1017
+ copyAlt: er
1043
1018
  }), (e, t) => (x(), h("div", {
1044
1019
  ref_key: "ridgelineChart",
1045
- ref: j,
1020
+ ref: A,
1046
1021
  class: Ve(`vue-data-ui-component vue-ui-ridgeline ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1047
- id: `vue-ui-ridgeline_${P.value}`,
1022
+ id: `vue-ui-ridgeline_${N.value}`,
1048
1023
  style: b({
1049
1024
  fontFamily: R.value.style.fontFamily,
1050
1025
  width: "100%",
@@ -1052,20 +1027,20 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1052
1027
  background: R.value.style.chart.backgroundColor,
1053
1028
  height: R.value.responsive ? "100%" : void 0
1054
1029
  }),
1055
- onMouseenter: t[3] ||= () => E(Qt)(!0),
1056
- onMouseleave: t[4] ||= () => E(Qt)(!1)
1030
+ onMouseenter: t[3] ||= () => E(Xt)(!0),
1031
+ onMouseleave: t[4] ||= () => E(Xt)(!1)
1057
1032
  }, [
1058
1033
  g("div", {
1059
- id: `chart-instructions-${P.value}`,
1034
+ id: `chart-instructions-${N.value}`,
1060
1035
  class: "sr-only"
1061
1036
  }, [g("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
1062
- lr.value.body.length ? (x(), p(je, {
1037
+ sr.value.body.length ? (x(), p(je, {
1063
1038
  key: 0,
1064
- uid: P.value,
1065
- head: lr.value.head,
1066
- body: lr.value.body,
1067
- caption: lr.value.caption,
1068
- notice: lr.value.notice
1039
+ uid: N.value,
1040
+ head: sr.value.head,
1041
+ body: sr.value.body,
1042
+ caption: sr.value.caption,
1043
+ notice: sr.value.notice
1069
1044
  }, null, 8, [
1070
1045
  "uid",
1071
1046
  "head",
@@ -1077,10 +1052,10 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1077
1052
  key: 1,
1078
1053
  color: R.value.style.chart.color,
1079
1054
  backgroundColor: R.value.style.chart.backgroundColor,
1080
- active: Rn.value,
1055
+ active: In.value,
1081
1056
  svgRef: E(H),
1082
1057
  isCursorPointer: z.value,
1083
- onClose: zn
1058
+ onClose: Ln
1084
1059
  }, {
1085
1060
  "annotator-action-close": O(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1086
1061
  "annotator-action-color": O(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
@@ -1097,20 +1072,20 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1097
1072
  "isCursorPointer"
1098
1073
  ])) : m("", !0),
1099
1074
  w(e.$slots, "userConfig", {}, void 0, !0),
1100
- sn.value ? (x(), h("div", {
1075
+ an.value ? (x(), h("div", {
1101
1076
  key: 2,
1102
1077
  ref_key: "noTitle",
1103
- ref: Mt,
1078
+ ref: Nt,
1104
1079
  class: "vue-data-ui-no-title-space",
1105
1080
  style: "height:36px; width: 100%;background:transparent"
1106
1081
  }, null, 512)) : m("", !0),
1107
1082
  R.value.style.chart.title.text ? (x(), h("div", {
1108
1083
  key: 3,
1109
1084
  ref_key: "chartTitle",
1110
- ref: kt,
1085
+ ref: At,
1111
1086
  style: "width:100%;background:transparent;padding-bottom:24px"
1112
1087
  }, [(x(), p(we, {
1113
- key: `title_${Nt.value}`,
1088
+ key: `title_${Pt.value}`,
1114
1089
  config: {
1115
1090
  title: {
1116
1091
  cy: "ridgeline-div-title",
@@ -1122,15 +1097,15 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1122
1097
  }
1123
1098
  }
1124
1099
  }, null, 8, ["config"]))], 512)) : m("", !0),
1125
- R.value.userOptions.show && Ot.value && (E($t) || E(Zt)) ? (x(), p(E(St), {
1100
+ R.value.userOptions.show && Ot.value && (E(Zt) || E(Yt)) ? (x(), p(E(St), {
1126
1101
  ref_key: "userOptionsRef",
1127
1102
  ref: Ut,
1128
- key: `user_option_${It.value}`,
1103
+ key: `user_option_${Lt.value}`,
1129
1104
  backgroundColor: R.value.style.chart.backgroundColor,
1130
1105
  color: R.value.style.chart.color,
1131
- isPrinting: E(nn),
1132
- isImaging: E(rn),
1133
- uid: P.value,
1106
+ isPrinting: E(en),
1107
+ isImaging: E(tn),
1108
+ uid: N.value,
1134
1109
  hasTooltip: !1,
1135
1110
  callbacks: R.value.userOptions.callbacks,
1136
1111
  hasPdf: R.value.userOptions.buttons.pdf,
@@ -1143,23 +1118,23 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1143
1118
  hasAltCopy: R.value.userOptions.buttons.altCopy,
1144
1119
  isFullscreen: Q.value,
1145
1120
  printScale: R.value.userOptions.print.scale,
1146
- chartElement: j.value,
1121
+ chartElement: A.value,
1147
1122
  position: R.value.userOptions.position,
1148
1123
  isTooltip: !1,
1149
1124
  titles: { ...R.value.userOptions.buttonTitles },
1150
1125
  hasAnnotator: R.value.userOptions.buttons.annotator,
1151
- isAnnotation: Rn.value,
1126
+ isAnnotation: In.value,
1152
1127
  tableDialog: R.value.table.useDialog,
1153
- style: b({ visibility: E($t) ? E(Zt) ? "visible" : "hidden" : "visible" }),
1128
+ style: b({ visibility: E(Zt) ? E(Yt) ? "visible" : "hidden" : "visible" }),
1154
1129
  isCursorPointer: z.value,
1155
- onToggleFullscreen: jn,
1156
- onGeneratePdf: E(an),
1157
- onGenerateCsv: Hn,
1158
- onGenerateImage: er,
1159
- onGenerateSvg: $n,
1160
- onToggleTable: Bn,
1161
- onToggleAnnotator: zn,
1162
- onCopyAlt: nr
1130
+ onToggleFullscreen: kn,
1131
+ onGeneratePdf: E(nn),
1132
+ onGenerateCsv: Bn,
1133
+ onGenerateImage: E(Qn),
1134
+ onGenerateSvg: E(Zn),
1135
+ onToggleTable: Rn,
1136
+ onToggleAnnotator: Ln,
1137
+ onCopyAlt: er
1163
1138
  }, Ie({ _: 2 }, [
1164
1139
  e.$slots.menuIcon ? {
1165
1140
  name: "menuIcon",
@@ -1230,53 +1205,28 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1230
1205
  fn: O(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1231
1206
  key: "11"
1232
1207
  } : void 0
1233
- ]), 1032, [
1234
- "backgroundColor",
1235
- "color",
1236
- "isPrinting",
1237
- "isImaging",
1238
- "uid",
1239
- "callbacks",
1240
- "hasPdf",
1241
- "hasImg",
1242
- "hasSvg",
1243
- "hasXls",
1244
- "hasTable",
1245
- "hasFullscreen",
1246
- "hasAltCopy",
1247
- "isFullscreen",
1248
- "printScale",
1249
- "chartElement",
1250
- "position",
1251
- "titles",
1252
- "hasAnnotator",
1253
- "isAnnotation",
1254
- "tableDialog",
1255
- "style",
1256
- "isCursorPointer",
1257
- "onGeneratePdf"
1258
- ])) : m("", !0),
1208
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.printScale.chartElement.position.titles.hasAnnotator.isAnnotation.tableDialog.style.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg".split("."))) : m("", !0),
1259
1209
  g("div", Xe, [(x(), h("svg", {
1260
1210
  ref_key: "svgRef",
1261
1211
  ref: H,
1262
1212
  xmlns: E(le),
1263
- "aria-describedby": `chart-instructions-${P.value}`,
1213
+ "aria-describedby": `chart-instructions-${N.value}`,
1264
1214
  class: Ve({
1265
1215
  "vue-data-ui-fullscreen--on": Q.value,
1266
1216
  "vue-data-ui-fulscreen--off": !Q.value
1267
1217
  }),
1268
1218
  viewBox: `0 0 ${G.value.width <= 0 ? 10 : G.value.width} ${K.value.fullHeight <= 0 ? 10 : K.value.fullHeight}`,
1269
- style: b(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.chart.color};${R.value.responsive ? `height: ${Bt.value}px; width: 100%;` : ""}`),
1219
+ style: b(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.chart.color};${R.value.responsive ? `height: ${Vt.value}px; width: 100%;` : ""}`),
1270
1220
  tabindex: "0",
1271
- onFocus: rr,
1272
- onBlur: ir,
1273
- onKeydown: ar
1221
+ onFocus: tr,
1222
+ onBlur: nr,
1223
+ onKeydown: rr
1274
1224
  }, [
1275
1225
  Re(E(Ct)),
1276
1226
  g("defs", null, [(x(!0), h(d, null, C(Z.value, (e, t) => (x(), p(ke, {
1277
1227
  t: "linear",
1278
- id: `gradient-${e.id}-${P.value}`,
1279
- key: `gradient-${e.id}-${P.value}`,
1228
+ id: `gradient-${e.id}-${N.value}`,
1229
+ key: `gradient-${e.id}-${N.value}`,
1280
1230
  x1: "50%",
1281
1231
  y1: "0%",
1282
1232
  x2: "50%",
@@ -1306,7 +1256,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1306
1256
  }, null, 8, ["id", "stops"]))), 128)), (x(!0), h(d, null, C(Y.value, (e, t) => (x(), h(d, null, [(x(!0), h(d, null, C(e.datapoints, (e, t) => (x(), p(ke, {
1307
1257
  t: "linear",
1308
1258
  key: `grad${e.id}`,
1309
- id: `gradient-single-${P.value}-${e.uid}`,
1259
+ id: `gradient-single-${N.value}-${e.uid}`,
1310
1260
  x1: "50%",
1311
1261
  y1: "0%",
1312
1262
  x2: "50%",
@@ -1338,10 +1288,10 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1338
1288
  e.$slots.pattern ? (x(), h("g", Qe, [g("defs", null, [w(e.$slots, "pattern", ze({ ref_for: !0 }, {
1339
1289
  datapointIndex: n,
1340
1290
  seriesIndex: r,
1341
- patternId: `pattern_${P.value}_${t.uid}`
1291
+ patternId: `pattern_${N.value}_${t.uid}`
1342
1292
  }), void 0, !0)])])) : m("", !0),
1343
1293
  g("path", {
1344
- fill: e.$slots.pattern ? `url(#pattern_${P.value}_${t.uid})` : R.value.style.chart.backgroundColor,
1294
+ fill: e.$slots.pattern ? `url(#pattern_${N.value}_${t.uid})` : R.value.style.chart.backgroundColor,
1345
1295
  stroke: "none",
1346
1296
  "stroke-linecap": "round",
1347
1297
  d: R.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
@@ -1360,7 +1310,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1360
1310
  })
1361
1311
  }, null, 12, et),
1362
1312
  g("path", {
1363
- fill: R.value.style.chart.areas.useGradient ? R.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${P.value})` : `url(#gradient-single-${P.value}-${t.uid})` : t.color,
1313
+ fill: R.value.style.chart.areas.useGradient ? R.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${N.value})` : `url(#gradient-single-${N.value}-${t.uid})` : t.color,
1364
1314
  stroke: "none",
1365
1315
  d: R.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
1366
1316
  "stroke-linecap": "round",
@@ -1407,17 +1357,17 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1407
1357
  "font-weight": R.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
1408
1358
  fill: R.value.style.chart.yAxis.labels.color,
1409
1359
  style: b({ cursor: R.value.style.chart.dialog.show && z.value ? "pointer" : "default" }),
1410
- "text-decoration": R.value.style.chart.dialog.show && (Fn.value === n || I.value && t.uid === I.value.uid || L.value === n) ? "underline" : "",
1411
- onMouseenter: (e) => In(n),
1412
- onMouseleave: Ln,
1413
- onClick: (e) => Pn(t)
1360
+ "text-decoration": R.value.style.chart.dialog.show && (Nn.value === n || F.value && t.uid === F.value.uid || L.value === n) ? "underline" : "",
1361
+ onMouseenter: (e) => Pn(n),
1362
+ onMouseleave: Fn,
1363
+ onClick: (e) => Mn(t)
1414
1364
  }, T(t.name), 45, at)]))), 128)),
1415
1365
  R.value.style.chart.xAxis.labels.values.length ? (x(), h("g", {
1416
1366
  key: 0,
1417
1367
  ref_key: "timeLabelsEls",
1418
- ref: Vt
1368
+ ref: Ht
1419
1369
  }, [(x(!0), h(d, null, C(J.value, (t, n) => w(e.$slots, "time-label", ze({ ref_for: !0 }, {
1420
- show: t && !R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !R.value.style.chart.xAxis.labels.showOnlyAtModulo || t && R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && F.value && F.value.index === n || t && !R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && R.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(J.value.length / R.value.style.chart.xAxis.labels.modulo) === 0,
1370
+ show: t && !R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !R.value.style.chart.xAxis.labels.showOnlyAtModulo || t && R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && P.value && P.value.index === n || t && !R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && R.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(J.value.length / R.value.style.chart.xAxis.labels.modulo) === 0,
1421
1371
  fontSize: R.value.style.chart.xAxis.labels.fontSize,
1422
1372
  content: t.label,
1423
1373
  textAnchor: R.value.style.chart.xAxis.labels.rotation > 0 ? "start" : R.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -1425,7 +1375,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1425
1375
  transform: `translate(${t.selectorX}, ${K.value.top + t.height + R.value.style.chart.xAxis.labels.offsetY}), rotate(${R.value.style.chart.xAxis.labels.rotation})`,
1426
1376
  x: t.selectorX,
1427
1377
  y: K.value.bottom + R.value.style.chart.xAxis.labels.offsetY
1428
- }), () => [t && !R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !R.value.style.chart.xAxis.labels.showOnlyAtModulo || t && R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && F.value && F.value.index === n || t && !R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && R.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(J.value.length / R.value.style.chart.xAxis.labels.modulo) === 0 ? (x(), h("g", ot, [String(t.label).includes("\n") ? (x(), h("text", {
1378
+ }), () => [t && !R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !R.value.style.chart.xAxis.labels.showOnlyAtModulo || t && R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && P.value && P.value.index === n || t && !R.value.style.chart.xAxis.labels.showOnlyFirstAndLast && R.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(J.value.length / R.value.style.chart.xAxis.labels.modulo) === 0 ? (x(), h("g", ot, [String(t.label).includes("\n") ? (x(), h("text", {
1429
1379
  key: 1,
1430
1380
  class: "vue-ui-ridgeline-x-axis-label",
1431
1381
  "font-size": R.value.style.chart.xAxis.labels.fontSize,
@@ -1433,7 +1383,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1433
1383
  "font-weight": R.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1434
1384
  transform: `translate(${t.selectorX}, ${K.value.bottom + R.value.style.chart.xAxis.labels.offsetY}), rotate(${R.value.style.chart.xAxis.labels.rotation})`,
1435
1385
  "text-anchor": R.value.style.chart.xAxis.labels.rotation > 0 ? "start" : R.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1436
- style: b({ opacity: F.value ? F.value.index === n ? 1 : .2 : 1 }),
1386
+ style: b({ opacity: P.value ? P.value.index === n ? 1 : .2 : 1 }),
1437
1387
  innerHTML: E(r)({
1438
1388
  content: String(t.label),
1439
1389
  fontSize: R.value.style.chart.xAxis.labels.fontSize,
@@ -1449,7 +1399,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1449
1399
  "font-weight": R.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1450
1400
  transform: `translate(${t.selectorX}, ${K.value.bottom + R.value.style.chart.xAxis.labels.offsetY}), rotate(${R.value.style.chart.xAxis.labels.rotation})`,
1451
1401
  "text-anchor": R.value.style.chart.xAxis.labels.rotation > 0 ? "start" : R.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1452
- style: b({ opacity: F.value ? F.value.index === n ? 1 : .2 : 1 })
1402
+ style: b({ opacity: P.value ? P.value.index === n ? 1 : .2 : 1 })
1453
1403
  }, T(t.label), 13, st))])) : m("", !0)], !0)), 256))], 512)) : m("", !0),
1454
1404
  g("g", null, [
1455
1405
  (x(!0), h(d, null, C(J.value, (e, t) => (x(), h("rect", {
@@ -1458,23 +1408,23 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1458
1408
  width: e.width < 0 ? .1 : e.width,
1459
1409
  height: e.height < 0 ? .1 : e.height,
1460
1410
  fill: "transparent",
1461
- onMouseenter: (t) => Cn(e),
1462
- onMouseleave: (t) => wn(e),
1463
- onClick: () => Tn(e)
1411
+ onMouseenter: (t) => xn(e),
1412
+ onMouseleave: (t) => Sn(e),
1413
+ onClick: () => Cn(e)
1464
1414
  }, null, 40, lt))), 256)),
1465
- R.value.style.chart.selector.show && F.value ? (x(), h("line", {
1415
+ R.value.style.chart.selector.show && P.value ? (x(), h("line", {
1466
1416
  key: 0,
1467
- x1: F.value.selectorX,
1468
- x2: F.value.selectorX,
1469
- y1: F.value.y,
1470
- y2: F.value.y + F.value.height - V.value / 2,
1417
+ x1: P.value.selectorX,
1418
+ x2: P.value.selectorX,
1419
+ y1: P.value.y,
1420
+ y2: P.value.y + P.value.height - V.value / 2,
1471
1421
  stroke: R.value.style.chart.selector.stroke,
1472
1422
  "stroke-width": R.value.style.chart.selector.strokeWidth,
1473
1423
  "stroke-dasharray": R.value.style.chart.selector.strokeDasharray,
1474
1424
  "stroke-linecap": "round",
1475
1425
  style: { pointerEvents: "none" }
1476
1426
  }, null, 8, ut)) : m("", !0),
1477
- F.value ? (x(!0), h(d, { key: 1 }, C(Y.value, (e) => (x(), h(d, null, [(x(!0), h(d, null, C(e.datapoints, (e) => (x(), h(d, null, [(x(!0), h(d, null, C(e.plots, (t, n) => (x(), h(d, null, [F.value && F.value.index === n ? (x(), h("circle", {
1427
+ P.value ? (x(!0), h(d, { key: 1 }, C(Y.value, (e) => (x(), h(d, null, [(x(!0), h(d, null, C(e.datapoints, (e) => (x(), h(d, null, [(x(!0), h(d, null, C(e.plots, (t, n) => (x(), h(d, null, [P.value && P.value.index === n ? (x(), h("circle", {
1478
1428
  key: 0,
1479
1429
  cx: t.x,
1480
1430
  cy: t.y,
@@ -1483,16 +1433,16 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1483
1433
  r: R.value.style.chart.selector.dot.radius,
1484
1434
  fill: R.value.style.chart.selector.dot.useDatapointColor ? e.color : R.value.style.chart.selector.dot.fill,
1485
1435
  style: { pointerEvents: "none" }
1486
- }, null, 8, dt)) : m("", !0), F.value && F.value.index === n ? (x(), h("text", {
1436
+ }, null, 8, dt)) : m("", !0), P.value && P.value.index === n ? (x(), h("text", {
1487
1437
  key: 1,
1488
- x: Dn(t.x, E(u)(R.value.style.chart.selector.labels.formatter, t.value, E(l)({
1438
+ x: Tn(t.x, E(u)(R.value.style.chart.selector.labels.formatter, t.value, E(l)({
1489
1439
  p: R.value.style.chart.xAxis.labels.prefix,
1490
1440
  v: t.value,
1491
1441
  s: R.value.style.chart.xAxis.labels.suffix,
1492
1442
  r: R.value.style.chart.selector.labels.rounding
1493
1443
  })), R.value.style.chart.selector.labels.fontSize) ? t.x - R.value.style.chart.selector.labels.fontSize / 2 : t.x + R.value.style.chart.selector.labels.fontSize / 2,
1494
1444
  y: t.y + R.value.style.chart.selector.labels.fontSize / 3,
1495
- "text-anchor": Dn(t.x, E(u)(R.value.style.chart.selector.labels.formatter, t.value, E(l)({
1445
+ "text-anchor": Tn(t.x, E(u)(R.value.style.chart.selector.labels.formatter, t.value, E(l)({
1496
1446
  p: R.value.style.chart.xAxis.labels.prefix,
1497
1447
  v: t.value,
1498
1448
  s: R.value.style.chart.xAxis.labels.suffix,
@@ -1511,37 +1461,37 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1511
1461
  w(e.$slots, "svg", { svg: {
1512
1462
  ...G.value,
1513
1463
  drawingArea: K.value,
1514
- isPrintingImg: E(nn) || E(rn) || Wt.value,
1515
- isPrintingSvg: Gt.value
1464
+ isPrintingImg: E(en) || E(tn) || E(Yn),
1465
+ isPrintingSvg: E(Xn)
1516
1466
  } }, void 0, !0)
1517
1467
  ], 46, Ze)), e.$slots.hint ? (x(), h("div", pt, [w(e.$slots, "hint", y(v({
1518
1468
  hint: R.value.a11y.translations.keyboardNavigation,
1519
- isVisible: Kt.value
1469
+ isVisible: Wt.value
1520
1470
  })), void 0, !0)])) : m("", !0)]),
1521
- e.$slots.watermark ? (x(), h("div", mt, [w(e.$slots, "watermark", y(v({ isPrinting: E(nn) || E(rn) || Wt.value || Gt.value })), void 0, !0)])) : m("", !0),
1471
+ e.$slots.watermark ? (x(), h("div", mt, [w(e.$slots, "watermark", y(v({ isPrinting: E(en) || E(tn) || E(Yn) || E(Xn) })), void 0, !0)])) : m("", !0),
1522
1472
  g("div", {
1523
1473
  ref_key: "chartLegend",
1524
- ref: At
1474
+ ref: jt
1525
1475
  }, [w(e.$slots, "legend", { legend: Z.value }, () => [R.value.style.chart.legend.show ? (x(), p(Pe, {
1526
- key: `legend_${Ft.value}`,
1476
+ key: `legend_${It.value}`,
1527
1477
  legendSet: Z.value,
1528
- config: An.value,
1478
+ config: On.value,
1529
1479
  isCursorPointer: z.value,
1530
- onClickMarker: t[0] ||= ({ legend: e }) => dn(e.id)
1480
+ onClickMarker: t[0] ||= ({ legend: e }) => ln(e.id)
1531
1481
  }, Ie({
1532
- item: O(({ legend: e }) => [E(Yt) ? m("", !0) : (x(), h("div", {
1482
+ item: O(({ legend: e }) => [E(qt) ? m("", !0) : (x(), h("div", {
1533
1483
  key: 0,
1534
1484
  style: b(`opacity:${X.value.includes(e.id) ? .5 : 1}`),
1535
1485
  onClick: (t) => e.segregate()
1536
1486
  }, T(e.name), 13, ht))]),
1537
- legendToggle: O(() => [Z.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !E(Yt) ? (x(), p(Ae, {
1487
+ legendToggle: O(() => [Z.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !E(qt) ? (x(), p(Ae, {
1538
1488
  key: 0,
1539
1489
  backgroundColor: R.value.style.chart.legend.selectAllToggle.backgroundColor,
1540
1490
  color: R.value.style.chart.legend.selectAllToggle.color,
1541
1491
  fontSize: R.value.style.chart.legend.fontSize,
1542
1492
  checked: X.value.length > 0,
1543
1493
  isCursorPointer: z.value,
1544
- onToggle: un
1494
+ onToggle: cn
1545
1495
  }, null, 8, [
1546
1496
  "backgroundColor",
1547
1497
  "color",
@@ -1560,7 +1510,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1560
1510
  x: 30,
1561
1511
  y: 30
1562
1512
  },
1563
- fill: `url(#pattern_${P.value}_${t})`
1513
+ fill: `url(#pattern_${N.value}_${t})`
1564
1514
  }, null, 8, ["shape", "fill"])]),
1565
1515
  key: "0"
1566
1516
  } : void 0]), 1032, [
@@ -1571,24 +1521,24 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1571
1521
  e.$slots.source ? (x(), h("div", {
1572
1522
  key: 6,
1573
1523
  ref_key: "source",
1574
- ref: jt,
1524
+ ref: Mt,
1575
1525
  dir: "auto"
1576
1526
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1577
- Ot.value && R.value.userOptions.buttons.table ? (x(), p(Ue(Kn.value.component), ze({ key: 7 }, Kn.value.props, {
1527
+ Ot.value && R.value.userOptions.buttons.table ? (x(), p(Ue(Wn.value.component), ze({ key: 7 }, Wn.value.props, {
1578
1528
  ref_key: "tableUnit",
1579
- ref: Ht,
1580
- onClose: qn
1529
+ ref: I,
1530
+ onClose: Gn
1581
1531
  }), Ie({
1582
1532
  content: O(() => [(x(), p(E(bt), {
1583
- key: `table_${Pt.value}`,
1533
+ key: `table_${Ft.value}`,
1584
1534
  colNames: $.value.colNames,
1585
1535
  head: $.value.head,
1586
1536
  body: $.value.body,
1587
1537
  config: $.value.config,
1588
- title: R.value.table.useDialog ? "" : Kn.value.title,
1538
+ title: R.value.table.useDialog ? "" : Wn.value.title,
1589
1539
  withCloseButton: !R.value.table.useDialog,
1590
1540
  isCursorPointer: z.value,
1591
- onClose: qn
1541
+ onClose: Gn
1592
1542
  }, {
1593
1543
  th: O(({ th: e }) => [g("div", { innerHTML: e }, null, 8, gt)]),
1594
1544
  td: O(({ td: e }) => [Le(T(e.name ? e.name : E(u)(R.value.style.chart.selector.labels.formatter, e, E(l)({
@@ -1610,41 +1560,41 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1610
1560
  _: 2
1611
1561
  }, [R.value.table.useDialog ? {
1612
1562
  name: "title",
1613
- fn: O(() => [Le(T(Kn.value.title), 1)]),
1563
+ fn: O(() => [Le(T(Wn.value.title), 1)]),
1614
1564
  key: "0"
1615
1565
  } : void 0, R.value.table.useDialog ? {
1616
1566
  name: "actions",
1617
1567
  fn: O(() => [g("button", {
1618
1568
  tabindex: "0",
1619
1569
  class: "vue-ui-user-options-button",
1620
- onClick: t[1] ||= (e) => Hn(R.value.userOptions.callbacks.csv),
1570
+ onClick: t[1] ||= (e) => Bn(R.value.userOptions.callbacks.csv),
1621
1571
  style: b({ cursor: z.value ? "pointer" : "default" })
1622
1572
  }, [Re(E(vt), {
1623
1573
  name: "fileCsv",
1624
- stroke: Kn.value.props.color
1574
+ stroke: Wn.value.props.color
1625
1575
  }, null, 8, ["stroke"])], 4)]),
1626
1576
  key: "1"
1627
1577
  } : void 0]), 1040)) : m("", !0),
1628
1578
  R.value.style.chart.dialog.show ? (x(), p(E(wt), {
1629
1579
  key: 8,
1630
1580
  ref_key: "dialog",
1631
- ref: zt,
1632
- onClose: t[2] ||= (e) => I.value = null,
1581
+ ref: Bt,
1582
+ onClose: t[2] ||= (e) => F.value = null,
1633
1583
  backgroundColor: R.value.style.chart.dialog.backgroundColor,
1634
1584
  color: R.value.style.chart.dialog.color,
1635
1585
  headerBg: R.value.style.chart.dialog.header.backgroundColor,
1636
1586
  headerColor: R.value.style.chart.dialog.header.color,
1637
1587
  isFullscreen: Q.value,
1638
- fullscreenParent: j.value,
1588
+ fullscreenParent: A.value,
1639
1589
  isCursorPointer: z.value,
1640
1590
  withPadding: ""
1641
1591
  }, {
1642
- title: O(() => [Le(T(I.value.name), 1)]),
1643
- content: O(() => [I.value ? (x(), p(E(_t), {
1592
+ title: O(() => [Le(T(F.value.name), 1)]),
1593
+ content: O(() => [F.value ? (x(), p(E(_t), {
1644
1594
  key: 0,
1645
- config: Mn.value,
1646
- dataset: Nn.value,
1647
- onCopyAlt: tr
1595
+ config: An.value,
1596
+ dataset: jn.value,
1597
+ onCopyAlt: $n
1648
1598
  }, null, 8, ["config", "dataset"])) : m("", !0)]),
1649
1599
  _: 1
1650
1600
  }, 8, [
@@ -1656,9 +1606,9 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
1656
1606
  "fullscreenParent",
1657
1607
  "isCursorPointer"
1658
1608
  ])) : m("", !0),
1659
- w(e.$slots, "skeleton", {}, () => [E(Yt) ? (x(), p(ve, { key: 0 })) : m("", !0)], !0)
1609
+ w(e.$slots, "skeleton", {}, () => [E(qt) ? (x(), p(ve, { key: 0 })) : m("", !0)], !0)
1660
1610
  ], 46, Je));
1661
1611
  }
1662
- }, [["__scopeId", "data-v-4c5cf631"]]);
1612
+ }, [["__scopeId", "data-v-861273fd"]]);
1663
1613
  //#endregion
1664
1614
  export { qe as n, _t as t };