vue-data-ui 2.12.6 → 2.12.7-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-C5-RFd0F.js} +1 -1
  2. package/dist/BaseDraggableDialog-CKbomZCX.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-DhWmrDAn.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-F4TctKaQ.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Y5HbiUZU.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DtTYopxf.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-PC9Yu1K_.js +467 -0
  8. package/dist/PackageVersion-DaWGaZxE.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-C-CpE0NC.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-B6kIkp2s.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-DXpA-pZk.js} +2 -2
  15. package/dist/SparkTooltip-DcdMxgqn.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-Bc66VstS.js} +2 -2
  17. package/dist/Tooltip-B07vY6jm.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-C8X2STEg.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DH-7H-9g.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-CEn9LJxg.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BHEd2dgu.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BfkyEFza.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-CZztHZIm.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-C8URL2IU.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-C0tGhjs9.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-CriyJ0Da.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-DntThSTF.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BwgozppD.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-C20X1YRt.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-B264jwvu.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-ECSEPy9m.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-BxjeL4B6.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-CJNnQbPC.js} +356 -364
  41. package/dist/vue-ui-circle-pack-0RLVrL7y.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
  45. package/dist/vue-ui-donut-BIFf4SLq.js +1292 -0
  46. package/dist/vue-ui-donut-evolution-mc_-1JSs.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-D50S44wU.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-CxDTjjYn.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DeC0U017.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-n0MW2u-q.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-AYMCSEtU.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-Ckz1h7XW.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-m0SgFsTu.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-BrcF_YLL.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-DiVxDYiV.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
  57. package/dist/vue-ui-molecule-BCUC8QED.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-DrrjD9S1.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-8RTss1yH.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-CmPLnisN.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +292 -298
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-CdM3bVZs.js} +403 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-C-lgCI6O.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Dq94lb99.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-DceDRLFc.js} +2 -2
  66. package/dist/vue-ui-relation-circle-DsKddA_I.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-CVR7NvJ_.js} +313 -317
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-B0soMLZ5.js} +260 -266
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Bq4_NUfW.js} +368 -374
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CG3Pn3Zg.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-aGKTgh42.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend--6lA4742.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-BXx7Vglf.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-zM4_Tgqb.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-BDNrZbWN.js} +93 -95
  76. package/dist/vue-ui-sparkline-CzzyDmYJ.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-tBSUQ_09.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-BriZOfj6.js} +409 -412
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-DzYyFp3o.js} +240 -246
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-C2qosrZR.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-COKfg2KT.js} +90 -90
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-D7C5AiCp.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-CDG6vSMm.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-DOoO0CVB.js} +180 -181
  85. package/dist/vue-ui-tiremarks-BSPIy1A3.js +341 -0
  86. package/dist/vue-ui-treemap-DsMmxgin.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-B2_ZHuyv.js} +381 -386
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-YhkwHcUX.js} +312 -318
  89. package/dist/vue-ui-wheel-CWHJwyyL.js +335 -0
  90. package/dist/vue-ui-word-cloud-BLgEqHRF.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-BQelvSLD.js} +389 -400
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-D1luVUXJ.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-C7Pu9RFN.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,24 +1,18 @@
1
- import { computed as g, ref as i, onMounted as bt, onBeforeUnmount as xt, watch as Xe, createElementBlock as n, openBlock as r, unref as c, normalizeStyle as M, normalizeClass as W, createBlock as T, createCommentVNode as h, renderSlot as p, createElementVNode as d, createSlots as Re, withCtx as m, normalizeProps as j, guardReactiveProps as Y, Fragment as f, renderList as $, mergeProps as Ee, toDisplayString as F, createVNode as kt, createTextVNode as He, nextTick as At } from "vue";
2
- import { u as $t, c as ne, o as Ct, e as ue, g as Ve, b as wt, d as _t, p as q, am as Be, a9 as Mt, T as Ue, U as Tt, V as Pt, X as Ot, G as St, i as J, f as K, t as zt, a as Lt, q as Nt, r as Dt, J as It } from "./index-BFzQMJda.js";
3
- import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
4
- import { u as Xt } from "./useChartAccessibility-BWojgys7.js";
5
- import { u as Rt, U as Et } from "./usePrinter-C5bLp34h.js";
6
- import { t as Ht, u as Vt } from "./useResponsive-JZ9xq-JV.js";
7
- import { u as Ge } from "./useNestedProp-v7KPpwuP.js";
8
- import Bt from "./vue-ui-accordion-BUz4JIIX.js";
9
- import { B as Ut } from "./BaseDraggableDialog-Bzwlfmy1.js";
10
- import { D as Gt } from "./DataTable-Rajdtaf6.js";
11
- import { L as Wt } from "./Legend-BxtDQCIv.js";
12
- import { _ as jt } from "./PenAndPaper-BkP3J-Ft.js";
13
- import { _ as Yt } from "./Shape-C69a0f29.js";
14
- import qt from "./vue-ui-skeleton-B_YI7Yuc.js";
15
- import { _ as Jt } from "./Title-CzaCeCOm.js";
16
- import Kt from "./vue-ui-xy-K2G7QQxG.js";
17
- import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"], al = ["stop-color"], ol = ["stop-color"], sl = ["stop-color"], rl = ["id"], nl = ["stop-color"], ul = ["stop-color"], il = ["stop-color"], cl = ["stop-color"], hl = { key: 0 }, vl = ["fill", "d"], dl = ["stroke", "stroke-width", "d"], yl = ["fill", "d"], fl = ["stroke", "stroke-dasharray", "stroke-width", "d"], gl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], pl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], ml = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], bl = { key: 0 }, xl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], kl = ["x", "y", "width", "height", "onMouseenter", "onClick"], Al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], $l = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Cl = ["x", "y", "text-anchor", "font-size", "fill"], wl = {
1
+ import { defineAsyncComponent as S, computed as g, ref as c, shallowRef as Ee, onMounted as St, onBeforeUnmount as zt, watch as He, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as M, normalizeClass as Y, createBlock as P, createCommentVNode as v, renderSlot as p, createElementVNode as d, createSlots as Ve, withCtx as m, normalizeProps as q, guardReactiveProps as J, createVNode as Be, Fragment as f, renderList as C, mergeProps as Ue, toDisplayString as E, createTextVNode as Ge, nextTick as Nt } from "vue";
2
+ import { u as Lt, c as ie, o as Dt, e as ce, g as We, b as It, d as Ft, p as K, al as je, a8 as Rt, T as Ye, U as Xt, V as Et, X as Ht, G as Vt, i as Q, f as Z, t as Bt, a as Ut, q as Gt, r as Wt, J as jt } from "./index-BHEd2dgu.js";
3
+ import { u as Yt } from "./useUserOptionState-BIvW1Kz7.js";
4
+ import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
5
+ import { u as Jt } from "./usePrinter-C8URL2IU.js";
6
+ import { t as Kt, u as Qt } from "./useResponsive-JZ9xq-JV.js";
7
+ import { u as qe } from "./useNestedProp-CZztHZIm.js";
8
+ import Zt from "./Legend-DtTYopxf.js";
9
+ import el from "./Title-Bc66VstS.js";
10
+ import tl from "./Shape-B6kIkp2s.js";
11
+ import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"], nl = ["stop-color"], ul = ["stop-color"], il = ["stop-color"], cl = ["id"], vl = ["stop-color"], hl = ["stop-color"], dl = ["stop-color"], yl = ["stop-color"], fl = { key: 0 }, gl = ["fill", "d"], pl = ["stroke", "stroke-width", "d"], ml = ["fill", "d"], bl = ["stroke", "stroke-dasharray", "stroke-width", "d"], xl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Al = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Cl = { key: 0 }, wl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], $l = ["x", "y", "width", "height", "onMouseenter", "onClick"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ml = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Pl = ["x", "y", "text-anchor", "font-size", "fill"], Tl = {
19
13
  key: 5,
20
14
  class: "vue-data-ui-watermark"
21
- }, _l = ["onClick"], Ml = ["innerHTML"], Tl = {
15
+ }, Ol = ["onClick"], Sl = ["innerHTML"], zl = {
22
16
  __name: "vue-ui-ridgeline",
23
17
  props: {
24
18
  config: {
@@ -35,63 +29,61 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
35
29
  }
36
30
  },
37
31
  emits: ["selectLegend", "selectDatapoint", "selectX"],
38
- setup(We, { expose: je, emit: Ye }) {
39
- const { vue_ui_ridgeline: qe } = $t(), x = We, O = g({
32
+ setup(Je, { expose: Ke, emit: Qe }) {
33
+ const Ze = S(() => import("./vue-ui-accordion-DntThSTF.js")), et = S(() => import("./BaseDraggableDialog-CKbomZCX.js")), tt = S(() => import("./DataTable-Y5HbiUZU.js")), lt = S(() => import("./PackageVersion-DaWGaZxE.js")), at = S(() => import("./PenAndPaper-C-CpE0NC.js")), ot = S(() => import("./vue-ui-skeleton-CG3Pn3Zg.js")), st = S(() => import("./UserOptions-C8X2STEg.js")), rt = S(() => import("./vue-ui-xy-D1luVUXJ.js")), { vue_ui_ridgeline: nt } = Lt(), x = Je, z = g({
40
34
  get() {
41
35
  return !!x.dataset && x.dataset.length;
42
36
  },
43
37
  set(l) {
44
38
  return l;
45
39
  }
46
- }), Q = Ye, V = i(null), ie = i(null), ce = i(null), B = i(null), he = i(null), ve = i(null), de = i(0), Je = i(0), ye = i(0), C = i(ne()), fe = i(0), Ke = i(0), ge = i(512), v = i(null), N = i(null), Z = i(null), pe = i(0);
47
- function me() {
48
- const l = Ge({
40
+ }), ee = Qe, G = c(null), ve = c(null), he = c(null), T = Ee(null), I = Ee(null), de = c(null), ye = c(null), fe = c(0), ut = c(0), ge = c(0), w = c(ie()), pe = c(0), it = c(0), me = c(512), h = c(null), F = c(null), te = c(null), be = c(0);
41
+ function xe() {
42
+ const l = qe({
49
43
  userConfig: x.config,
50
- defaultConfig: qe
44
+ defaultConfig: nt
51
45
  });
52
46
  return l.theme ? {
53
- ...Ge({
54
- userConfig: Lt.vue_ui_ridgeline[l.theme] || x.config,
47
+ ...qe({
48
+ userConfig: Ut.vue_ui_ridgeline[l.theme] || x.config,
55
49
  defaultConfig: l
56
50
  }),
57
- customPalette: zt[l.theme] || q
51
+ customPalette: Bt[l.theme] || K
58
52
  } : l;
59
53
  }
60
54
  const e = g({
61
- get: () => me(),
55
+ get: () => xe(),
62
56
  set: (l) => l
63
- }), w = i(Math.min(
57
+ }), $ = c(Math.min(
64
58
  e.value.style.chart.areas.height,
65
59
  e.value.style.chart.areas.rowHeight
66
60
  )), {
67
- userOptionsVisible: ee,
68
- setUserOptionsVisibility: be,
69
- keepUserOptionState: xe
70
- } = Ft({ config: e.value }), { svgRef: te } = Xt({ config: e.value.style.chart.title });
71
- bt(le), xt(() => {
72
- B.value && B.value.disconnect();
73
- });
74
- function le() {
75
- if (Ct(x.dataset) ? ue({
61
+ userOptionsVisible: le,
62
+ setUserOptionsVisibility: ke,
63
+ keepUserOptionState: Ae
64
+ } = Yt({ config: e.value }), { svgRef: ae } = qt({ config: e.value.style.chart.title });
65
+ St(oe);
66
+ function oe() {
67
+ if (Dt(x.dataset) ? ce({
76
68
  componentName: "VueUiRidgeline",
77
69
  type: "dataset"
78
70
  }) : x.dataset.forEach((l, s) => {
79
- Ve({
71
+ We({
80
72
  datasetObject: l,
81
73
  requiredAttributes: ["name", "datapoints"]
82
74
  }).forEach((t) => {
83
- O.value = !1, ue({
75
+ z.value = !1, ce({
84
76
  componentName: "VueUiRidgeline",
85
77
  type: "datasetSerieAttribute",
86
78
  property: t,
87
79
  index: s
88
80
  });
89
81
  }), l.datapoints.length && l.datapoints.forEach((t, o) => {
90
- Ve({
82
+ We({
91
83
  datasetObject: t,
92
84
  requiredAttributes: ["name", "values"]
93
85
  }).forEach((a) => {
94
- O.value = !1, ue({
86
+ z.value = !1, ce({
95
87
  componentName: "VueUiRidgeline",
96
88
  type: "datasetSerieAttribute",
97
89
  property: `datapoint.${a}`,
@@ -99,56 +91,59 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
99
91
  });
100
92
  });
101
93
  });
102
- }), Ke.value = x.dataset.length, w.value = Math.min(
94
+ }), it.value = x.dataset.length, $.value = Math.min(
103
95
  e.value.style.chart.areas.height,
104
96
  e.value.style.chart.areas.rowHeight
105
97
  ), e.value.responsive) {
106
- const l = Ht(() => {
107
- const { width: s, height: t } = Vt({
108
- chart: V.value,
109
- title: e.value.style.chart.title.text ? ie.value : null,
110
- legend: e.value.style.chart.legend.show ? ce.value : null,
111
- source: he.value,
112
- noTitle: ve.value,
98
+ const l = Kt(() => {
99
+ const { width: s, height: t } = Qt({
100
+ chart: G.value,
101
+ title: e.value.style.chart.title.text ? ve.value : null,
102
+ legend: e.value.style.chart.legend.show ? he.value : null,
103
+ source: de.value,
104
+ noTitle: ye.value,
113
105
  padding: e.value.style.chart.padding
114
106
  });
115
107
  requestAnimationFrame(() => {
116
- ge.value = s, w.value = t / x.dataset.length, pe.value = t;
108
+ me.value = s, $.value = t / x.dataset.length, be.value = t;
117
109
  });
118
110
  });
119
- B.value = new ResizeObserver(l), B.value.observe(V.value.parentNode);
111
+ T.value && (I.value && T.value.unobserve(I.value), T.value.disconnect()), T.value = new ResizeObserver(l), I.value = G.value.parentNode, T.value.observe(I.value);
120
112
  }
121
113
  }
122
- const { isPrinting: ke, isImaging: Ae, generatePdf: $e, generateImage: Ce } = Rt({
123
- elementId: `vue-ui-ridgeline_${C.value}`,
114
+ zt(() => {
115
+ T.value && (I.value && T.value.unobserve(I.value), T.value.disconnect());
116
+ });
117
+ const { isPrinting: Ce, isImaging: we, generatePdf: $e, generateImage: _e } = Jt({
118
+ elementId: `vue-ui-ridgeline_${w.value}`,
124
119
  fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
125
120
  options: e.value.userOptions.print
126
- }), Qe = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ze = g(() => wt(e.value.customPalette)), X = i({
121
+ }), ct = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), vt = g(() => It(e.value.customPalette)), H = c({
127
122
  showTable: e.value.table.show
128
123
  });
129
- Xe(() => x.config, (l) => {
130
- e.value = me(), ee.value = !e.value.userOptions.showOnChartHover, le(), de.value += 1, ye.value += 1, w.value = Math.min(
124
+ He(() => x.config, (l) => {
125
+ e.value = xe(), le.value = !e.value.userOptions.showOnChartHover, oe(), fe.value += 1, ge.value += 1, $.value = Math.min(
131
126
  e.value.style.chart.areas.height,
132
127
  e.value.style.chart.areas.rowHeight
133
- ), X.value.showTable = e.value.table.show;
134
- }, { deep: !0 }), Xe(() => x.dataset, le, { deep: !0 });
135
- const ae = g(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
136
- function we(l) {
137
- P.value.includes(l) ? P.value = P.value.filter((s) => s !== l) : P.value.push(l), Q("selectLegend", I.value);
128
+ ), H.value.showTable = e.value.table.show;
129
+ }, { deep: !0 }), He(() => x.dataset, oe, { deep: !0 });
130
+ const se = g(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
131
+ function Me(l) {
132
+ O.value.includes(l) ? O.value = O.value.filter((s) => s !== l) : O.value.push(l), ee("selectLegend", X.value);
138
133
  }
139
- const _ = g(() => O.value ? x.dataset.map((l, s) => ({
134
+ const _ = g(() => z.value ? x.dataset.map((l, s) => ({
140
135
  ...l,
141
- labelLen: lt(l.name, e.value.style.chart.yAxis.labels.fontSize),
142
- uid: ne(),
136
+ labelLen: yt(l.name, e.value.style.chart.yAxis.labels.fontSize),
137
+ uid: ie(),
143
138
  datapoints: l.datapoints.map((t, o) => {
144
- const a = t.color ? _t(t.color) : Ze.value[o] || q[o] || q[o % q.length], u = Be(t.name);
139
+ const a = t.color ? Ft(t.color) : vt.value[o] || K[o] || K[o % K.length], i = je(t.name);
145
140
  return {
146
141
  ...t,
147
142
  color: a,
148
- id: u
143
+ id: i
149
144
  };
150
145
  })
151
- })) : []), _e = g(() => e.value.style.chart.padding.top + w.value * x.dataset.length + w.value * ae.value), k = g(() => ({
146
+ })) : []), Pe = g(() => e.value.style.chart.padding.top + $.value * x.dataset.length + $.value * se.value), k = g(() => ({
152
147
  fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
153
148
  top: y.value.padding.top,
154
149
  left: y.value.padding.left,
@@ -158,121 +153,121 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
158
153
  })), y = g(() => {
159
154
  const l = e.value.style.chart.padding;
160
155
  return {
161
- width: ge.value,
162
- height: _e.value,
156
+ width: me.value,
157
+ height: Pe.value,
163
158
  padding: l
164
159
  };
165
- }), D = g(() => {
166
- const l = Math.max(..._.value.map((u) => u.labelLen)), s = Math.max(..._.value.flatMap((u) => u.datapoints.map((A) => A.values.length))), t = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, o = (k.value.width - t) / s, a = [];
167
- for (let u = 0; u < s; u += 1)
160
+ }), R = g(() => {
161
+ const l = Math.max(..._.value.map((i) => i.labelLen)), s = Math.max(..._.value.flatMap((i) => i.datapoints.map((A) => A.values.length))), t = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, o = (k.value.width - t) / s, a = [];
162
+ for (let i = 0; i < s; i += 1)
168
163
  a.push({
169
- selectorX: t + o * u,
170
- x: t + o * u - o / 2,
164
+ selectorX: t + o * i,
165
+ x: t + o * i - o / 2,
171
166
  y: k.value.top,
172
- label: e.value.style.chart.xAxis.labels.values[u] || "",
173
- index: u,
167
+ label: e.value.style.chart.xAxis.labels.values[i] || "",
168
+ index: i,
174
169
  width: o,
175
- height: _e.value
170
+ height: Pe.value
176
171
  });
177
172
  return a;
178
173
  });
179
- function et(l) {
180
- Q("selectX", _.value.map((s) => s.datapoints.map((t) => ({
174
+ function ht(l) {
175
+ ee("selectX", _.value.map((s) => s.datapoints.map((t) => ({
181
176
  dp: t,
182
177
  selected: t.values[l.index]
183
178
  }))));
184
179
  }
185
- function tt(l, s) {
180
+ function dt(l, s) {
186
181
  return l.length * s / 2 + s;
187
182
  }
188
- function Me(l, s, t) {
189
- const o = tt(s, t);
183
+ function Te(l, s, t) {
184
+ const o = dt(s, t);
190
185
  return l + o > k.value.right;
191
186
  }
192
- function lt(l, s, t = "sans-serif") {
193
- const a = document.createElement("canvas").getContext("2d"), u = typeof s == "number" ? `${s}px` : s;
194
- return a.font = `${u} ${t}`, a.measureText(l).width;
187
+ function yt(l, s, t = "sans-serif") {
188
+ const a = document.createElement("canvas").getContext("2d"), i = typeof s == "number" ? `${s}px` : s;
189
+ return a.font = `${i} ${t}`, a.measureText(l).width;
195
190
  }
196
- const I = g(() => {
197
- w.value;
198
- const l = Math.max(..._.value.map((b) => b.labelLen)), s = Math.max(..._.value.flatMap((b) => b.datapoints.map((S) => S.values.length))), t = Math.max(..._.value.flatMap((b) => b.datapoints.flatMap((S) => S.values))), o = Math.min(..._.value.flatMap((b) => b.datapoints.flatMap((S) => S.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, u = (k.value.width - a) / s, A = Math.abs(Math.min(o, 0)), Le = t + A;
199
- function Ne(b) {
200
- return isNaN(b / Le) ? 0 : b / Le;
191
+ const X = g(() => {
192
+ $.value;
193
+ const l = Math.max(..._.value.map((b) => b.labelLen)), s = Math.max(..._.value.flatMap((b) => b.datapoints.map((N) => N.values.length))), t = Math.max(..._.value.flatMap((b) => b.datapoints.flatMap((N) => N.values))), o = Math.min(..._.value.flatMap((b) => b.datapoints.flatMap((N) => N.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, i = (k.value.width - a) / s, A = Math.abs(Math.min(o, 0)), De = t + A;
194
+ function Ie(b) {
195
+ return isNaN(b / De) ? 0 : b / De;
201
196
  }
202
- return _.value.map((b, S) => {
203
- const De = k.value.top + w.value * S, z = k.value.top + De + w.value * ae.value * (1 - Ne(A));
197
+ return _.value.map((b, N) => {
198
+ const Fe = k.value.top + $.value * N, L = k.value.top + Fe + $.value * se.value * (1 - Ie(A));
204
199
  return {
205
200
  ...b,
206
201
  label: {
207
202
  x: a - e.value.style.chart.yAxis.labels.fontSize,
208
- y: z
203
+ y: L
209
204
  },
210
- datapoints: b.datapoints.map((E) => {
211
- const L = E.values.map((H, yt) => {
212
- const ft = isNaN(H) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(H) ? 0 : H || 0, gt = a + u * yt, pt = k.value.top + De + w.value * ae.value * (1 - Ne(ft + A)), mt = H === Math.max(...E.values);
205
+ datapoints: b.datapoints.map((B) => {
206
+ const D = B.values.map((U, _t) => {
207
+ const Mt = isNaN(U) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(U) ? 0 : U || 0, Pt = a + i * _t, Tt = k.value.top + Fe + $.value * se.value * (1 - Ie(Mt + A)), Ot = U === Math.max(...B.values);
213
208
  return {
214
- x: gt,
215
- y: pt,
216
- value: H,
217
- isMaxPoint: mt,
218
- zero: z
209
+ x: Pt,
210
+ y: Tt,
211
+ value: U,
212
+ isMaxPoint: Ot,
213
+ zero: L
219
214
  };
220
- }), ct = `${Mt(L, z, !1, !1)}`, ht = `M ${a},${z} ${Ue(L)} ${L.at(-1).x},${z}`, vt = `M ${a},${z} ${L.at(-1).x},${z}`, Ie = `M ${Tt(L)}`, Fe = `M ${Ue(L)}`, dt = Pt(
221
- e.value.style.chart.areas.smooth ? Ie : Fe
215
+ }), At = `${Rt(D, L, !1, !1)}`, Ct = `M ${a},${L} ${Ye(D)} ${D.at(-1).x},${L}`, wt = `M ${a},${L} ${D.at(-1).x},${L}`, Re = `M ${Xt(D)}`, Xe = `M ${Ye(D)}`, $t = Et(
216
+ e.value.style.chart.areas.smooth ? Re : Xe
222
217
  );
223
218
  return {
224
- ...E,
225
- uid: ne(),
226
- plots: L,
227
- smoothPath: ct,
228
- straightPath: ht,
229
- zeroPath: vt,
230
- pathLength: dt,
231
- smoothPathRidge: Ie,
232
- straightPathRidge: Fe
219
+ ...B,
220
+ uid: ie(),
221
+ plots: D,
222
+ smoothPath: At,
223
+ straightPath: Ct,
224
+ zeroPath: wt,
225
+ pathLength: $t,
226
+ smoothPathRidge: Re,
227
+ straightPathRidge: Xe
233
228
  };
234
- }).filter((E) => !P.value.includes(E.id))
229
+ }).filter((B) => !O.value.includes(B.id))
235
230
  };
236
231
  });
237
- }), P = i([]);
238
- function at(l) {
232
+ }), O = c([]);
233
+ function ft(l) {
239
234
  const s = /* @__PURE__ */ new Map();
240
235
  return l.forEach((t) => {
241
236
  t.datapoints.forEach((o, a) => {
242
- const u = Be(o.name);
243
- s.has(u) || s.set(u, {
244
- id: u,
237
+ const i = je(o.name);
238
+ s.has(i) || s.set(i, {
239
+ id: i,
245
240
  name: o.name,
246
241
  color: o.color,
247
242
  shape: "circle",
248
- segregate: () => we(u),
249
- isSegregated: P.value.includes(u),
250
- opacity: P.value.includes(u) ? 0.5 : 1
243
+ segregate: () => Me(i),
244
+ isSegregated: O.value.includes(i),
245
+ opacity: O.value.includes(i) ? 0.5 : 1
251
246
  });
252
247
  });
253
248
  }), Array.from(s.values());
254
249
  }
255
- const oe = g(() => at(_.value)), ot = g(() => ({
250
+ const re = g(() => ft(_.value)), gt = g(() => ({
256
251
  cy: "donut-div-legend",
257
252
  backgroundColor: e.value.style.chart.legend.backgroundColor,
258
253
  color: e.value.style.chart.legend.color,
259
254
  fontSize: e.value.style.chart.legend.fontSize,
260
255
  paddingBottom: 12,
261
256
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
262
- })), R = i(!1);
263
- function st(l) {
264
- R.value = l, fe.value += 1;
257
+ })), V = c(!1);
258
+ function pt(l) {
259
+ V.value = l, pe.value += 1;
265
260
  }
266
- const Te = i({}), Pe = i([]);
267
- function rt(l) {
268
- Q("selectDatapoint", l), e.value.style.chart.dialog.show && (Pe.value = l.datapoints.map((s) => ({
261
+ const Oe = c({}), Se = c([]);
262
+ function mt(l) {
263
+ ee("selectDatapoint", l), e.value.style.chart.dialog.show && (Se.value = l.datapoints.map((s) => ({
269
264
  name: s.name,
270
265
  color: s.color,
271
266
  type: "line",
272
267
  useArea: !0,
273
268
  smooth: e.value.style.chart.areas.smooth,
274
269
  series: s.values
275
- })), N.value = l, Te.value = It({
270
+ })), F.value = l, Oe.value = jt({
276
271
  ...e.value.style.chart.dialog.xyChart,
277
272
  responsive: !0,
278
273
  // Overriding
@@ -295,23 +290,23 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
295
290
  // Overriding
296
291
  }
297
292
  }
298
- }), Z.value && Z.value.open());
293
+ }), te.value && te.value.open());
299
294
  }
300
- const se = i(null);
301
- function nt(l) {
302
- se.value = l;
295
+ const ne = c(null);
296
+ function bt(l) {
297
+ ne.value = l;
303
298
  }
304
- function ut() {
305
- se.value = null;
299
+ function xt() {
300
+ ne.value = null;
306
301
  }
307
- const U = i(!1);
308
- function re() {
309
- U.value = !U.value;
302
+ const W = c(!1);
303
+ function ue() {
304
+ W.value = !W.value;
310
305
  }
311
- function Oe() {
312
- X.value.showTable = !X.value.showTable;
306
+ function ze() {
307
+ H.value.showTable = !H.value.showTable;
313
308
  }
314
- const Se = g(() => ({ body: I.value.flatMap((t) => t.datapoints.flatMap((o) => ({
309
+ const Ne = g(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((o) => ({
315
310
  ...o,
316
311
  rowName: `${t.name}: ${o.name}`
317
312
  }))).map((t) => [
@@ -320,7 +315,7 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
320
315
  color: t.color
321
316
  },
322
317
  ...t.values
323
- ]) })), G = g(() => {
318
+ ]) })), j = g(() => {
324
319
  const l = [
325
320
  e.value.table.columnNames.series,
326
321
  ...e.value.style.chart.xAxis.labels.values
@@ -343,40 +338,40 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
343
338
  ...e.value.style.chart.xAxis.labels.values
344
339
  ],
345
340
  head: l,
346
- body: Se.value.body,
341
+ body: Ne.value.body,
347
342
  config: s
348
343
  };
349
344
  });
350
- function ze() {
351
- At(() => {
345
+ function Le() {
346
+ Nt(() => {
352
347
  const l = [
353
348
  [e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((o) => [o])],
354
- ...Se.value.body.map((o, a) => [o[0].name, ...o.slice(1)])
349
+ ...Ne.value.body.map((o, a) => [o[0].name, ...o.slice(1)])
355
350
  ], s = [
356
351
  [e.value.style.chart.title.text],
357
352
  [e.value.style.chart.title.subtitle.text]
358
- ].concat(l), t = Nt(s);
359
- Dt({
353
+ ].concat(l), t = Gt(s);
354
+ Wt({
360
355
  csvContent: t,
361
356
  title: e.value.style.chart.title.text || "vue-ui-ridgeline"
362
357
  });
363
358
  });
364
359
  }
365
- function it() {
366
- return I.value;
360
+ function kt() {
361
+ return X.value;
367
362
  }
368
- return je({
369
- getData: it,
370
- generateImage: Ce,
363
+ return Ke({
364
+ getData: kt,
365
+ generateImage: _e,
371
366
  generatePdf: $e,
372
- generateCsv: ze,
373
- toggleAnnotator: re,
374
- toggleTable: Oe
367
+ generateCsv: Le,
368
+ toggleAnnotator: ue,
369
+ toggleTable: ze
375
370
  }), (l, s) => (r(), n("div", {
376
371
  ref_key: "ridgelineChart",
377
- ref: V,
378
- class: W(`vue-ui-ridgeline ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
379
- id: `vue-ui-ridgeline_${C.value}`,
372
+ ref: G,
373
+ class: Y(`vue-ui-ridgeline ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
374
+ id: `vue-ui-ridgeline_${w.value}`,
380
375
  style: M({
381
376
  fontFamily: e.value.style.fontFamily,
382
377
  width: "100%",
@@ -384,33 +379,33 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
384
379
  background: e.value.style.chart.backgroundColor,
385
380
  height: e.value.responsive ? "100%" : void 0
386
381
  }),
387
- onMouseenter: s[4] || (s[4] = () => c(be)(!0)),
388
- onMouseleave: s[5] || (s[5] = () => c(be)(!1))
382
+ onMouseenter: s[4] || (s[4] = () => u(ke)(!0)),
383
+ onMouseleave: s[5] || (s[5] = () => u(ke)(!1))
389
384
  }, [
390
- e.value.userOptions.buttons.annotator && c(te) ? (r(), T(jt, {
385
+ e.value.userOptions.buttons.annotator && u(ae) ? (r(), P(u(at), {
391
386
  key: 0,
392
387
  color: e.value.style.chart.color,
393
388
  backgroundColor: e.value.style.chart.backgroundColor,
394
- active: U.value,
395
- svgRef: c(te),
396
- onClose: re
397
- }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : h("", !0),
389
+ active: W.value,
390
+ svgRef: u(ae),
391
+ onClose: ue
392
+ }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
398
393
  p(l.$slots, "userConfig", {}, void 0, !0),
399
- Qe.value ? (r(), n("div", {
394
+ ct.value ? (r(), n("div", {
400
395
  key: 1,
401
396
  ref_key: "noTitle",
402
- ref: ve,
397
+ ref: ye,
403
398
  class: "vue-data-ui-no-title-space",
404
399
  style: "height:36px; width: 100%;background:transparent"
405
- }, null, 512)) : h("", !0),
400
+ }, null, 512)) : v("", !0),
406
401
  e.value.style.chart.title.text ? (r(), n("div", {
407
402
  key: 2,
408
403
  ref_key: "chartTitle",
409
- ref: ie,
404
+ ref: ve,
410
405
  style: "width:100%;background:transparent;padding-bottom:24px"
411
406
  }, [
412
- (r(), T(Jt, {
413
- key: `title_${de.value}`,
407
+ (r(), P(el, {
408
+ key: `title_${fe.value}`,
414
409
  config: {
415
410
  title: {
416
411
  cy: "ridgeline-div-title",
@@ -422,15 +417,15 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
422
417
  }
423
418
  }
424
419
  }, null, 8, ["config"]))
425
- ], 512)) : h("", !0),
426
- e.value.userOptions.show && O.value && (c(xe) || c(ee)) ? (r(), T(Et, {
420
+ ], 512)) : v("", !0),
421
+ e.value.userOptions.show && z.value && (u(Ae) || u(le)) ? (r(), P(u(st), {
427
422
  ref: "details",
428
- key: `user_option_${fe.value}`,
423
+ key: `user_option_${pe.value}`,
429
424
  backgroundColor: e.value.style.chart.backgroundColor,
430
425
  color: e.value.style.chart.color,
431
- isPrinting: c(ke),
432
- isImaging: c(Ae),
433
- uid: C.value,
426
+ isPrinting: u(Ce),
427
+ isImaging: u(we),
428
+ uid: w.value,
434
429
  hasTooltip: !1,
435
430
  hasPdf: e.value.userOptions.buttons.pdf,
436
431
  hasImg: e.value.userOptions.buttons.img,
@@ -438,27 +433,27 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
438
433
  hasTable: e.value.userOptions.buttons.table,
439
434
  hasLabel: !1,
440
435
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
441
- isFullscreen: R.value,
442
- chartElement: V.value,
436
+ isFullscreen: V.value,
437
+ chartElement: G.value,
443
438
  position: e.value.userOptions.position,
444
439
  isTooltip: !1,
445
440
  titles: { ...e.value.userOptions.buttonTitles },
446
441
  hasAnnotator: e.value.userOptions.buttons.annotator,
447
- isAnnotation: U.value,
442
+ isAnnotation: W.value,
448
443
  style: M({
449
- visibility: c(xe) ? c(ee) ? "visible" : "hidden" : "visible"
444
+ visibility: u(Ae) ? u(le) ? "visible" : "hidden" : "visible"
450
445
  }),
451
- onToggleFullscreen: st,
452
- onGeneratePdf: c($e),
453
- onGenerateCsv: ze,
454
- onGenerateImage: c(Ce),
455
- onToggleTable: Oe,
456
- onToggleAnnotator: re
457
- }, Re({ _: 2 }, [
446
+ onToggleFullscreen: pt,
447
+ onGeneratePdf: u($e),
448
+ onGenerateCsv: Le,
449
+ onGenerateImage: u(_e),
450
+ onToggleTable: ze,
451
+ onToggleAnnotator: ue
452
+ }, Ve({ _: 2 }, [
458
453
  l.$slots.menuIcon ? {
459
454
  name: "menuIcon",
460
455
  fn: m(({ isOpen: t, color: o }) => [
461
- p(l.$slots, "menuIcon", j(Y({ isOpen: t, color: o })), void 0, !0)
456
+ p(l.$slots, "menuIcon", q(J({ isOpen: t, color: o })), void 0, !0)
462
457
  ]),
463
458
  key: "0"
464
459
  } : void 0,
@@ -500,30 +495,31 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
500
495
  l.$slots.optionFullscreen ? {
501
496
  name: "optionFullscreen",
502
497
  fn: m(({ toggleFullscreen: t, isFullscreen: o }) => [
503
- p(l.$slots, "optionFullscreen", j(Y({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
498
+ p(l.$slots, "optionFullscreen", q(J({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
504
499
  ]),
505
500
  key: "6"
506
501
  } : void 0,
507
502
  l.$slots.optionAnnotator ? {
508
503
  name: "optionAnnotator",
509
504
  fn: m(({ toggleAnnotator: t, isAnnotator: o }) => [
510
- p(l.$slots, "optionAnnotator", j(Y({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
505
+ p(l.$slots, "optionAnnotator", q(J({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
511
506
  ]),
512
507
  key: "7"
513
508
  } : void 0
514
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : h("", !0),
515
- O.value ? (r(), n("svg", {
509
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
510
+ z.value ? (r(), n("svg", {
516
511
  key: 4,
517
512
  ref_key: "svgRef",
518
- ref: te,
519
- xmlns: c(Ot),
520
- class: W({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
513
+ ref: ae,
514
+ xmlns: u(Ht),
515
+ class: Y({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
521
516
  viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${k.value.fullHeight <= 0 ? 10 : k.value.fullHeight}`,
522
- style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${pe.value}px; width: 100%;` : ""}`)
517
+ style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${be.value}px; width: 100%;` : ""}`)
523
518
  }, [
519
+ Be(u(lt)),
524
520
  d("defs", null, [
525
- (r(!0), n(f, null, $(oe.value, (t, o) => (r(), n("linearGradient", {
526
- id: `gradient-${t.id}-${C.value}`,
521
+ (r(!0), n(f, null, C(re.value, (t, o) => (r(), n("linearGradient", {
522
+ id: `gradient-${t.id}-${w.value}`,
527
523
  x1: "50%",
528
524
  y1: "0%",
529
525
  x2: "50%",
@@ -533,27 +529,27 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
533
529
  offset: "0%",
534
530
  "stop-color": t.color,
535
531
  "stop-opacity": "1"
536
- }, null, 8, ll),
532
+ }, null, 8, rl),
537
533
  d("stop", {
538
534
  offset: "30%",
539
535
  "stop-color": t.color,
540
536
  "stop-opacity": "0.7"
541
- }, null, 8, al),
537
+ }, null, 8, nl),
542
538
  d("stop", {
543
539
  offset: "70%",
544
540
  "stop-color": t.color,
545
541
  "stop-opacity": "0.3"
546
- }, null, 8, ol),
542
+ }, null, 8, ul),
547
543
  d("stop", {
548
544
  offset: "100%",
549
545
  "stop-color": t.color,
550
546
  "stop-opacity": "0.1"
551
- }, null, 8, sl)
552
- ], 8, tl))), 256)),
553
- (r(!0), n(f, null, $(I.value, (t, o) => (r(), n(f, null, [
554
- (r(!0), n(f, null, $(t.datapoints, (a, u) => (r(), n("linearGradient", {
547
+ }, null, 8, il)
548
+ ], 8, sl))), 256)),
549
+ (r(!0), n(f, null, C(X.value, (t, o) => (r(), n(f, null, [
550
+ (r(!0), n(f, null, C(t.datapoints, (a, i) => (r(), n("linearGradient", {
555
551
  key: `grad${a.id}`,
556
- id: `gradient-single-${C.value}-${a.uid}`,
552
+ id: `gradient-single-${w.value}-${a.uid}`,
557
553
  x1: "50%",
558
554
  y1: "0%",
559
555
  x2: "50%",
@@ -563,45 +559,45 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
563
559
  offset: "0%",
564
560
  "stop-color": a.color,
565
561
  "stop-opacity": "1"
566
- }, null, 8, nl),
562
+ }, null, 8, vl),
567
563
  d("stop", {
568
564
  offset: "30%",
569
565
  "stop-color": a.color,
570
566
  "stop-opacity": "0.7"
571
- }, null, 8, ul),
567
+ }, null, 8, hl),
572
568
  d("stop", {
573
569
  offset: "70%",
574
570
  "stop-color": a.color,
575
571
  "stop-opacity": "0.3"
576
- }, null, 8, il),
572
+ }, null, 8, dl),
577
573
  d("stop", {
578
574
  offset: "100%",
579
575
  "stop-color": a.color,
580
576
  "stop-opacity": "0.1"
581
- }, null, 8, cl)
582
- ], 8, rl))), 128))
577
+ }, null, 8, yl)
578
+ ], 8, cl))), 128))
583
579
  ], 64))), 256))
584
580
  ]),
585
- (r(!0), n(f, null, $(I.value, (t, o) => (r(), n("g", {
581
+ (r(!0), n(f, null, C(X.value, (t, o) => (r(), n("g", {
586
582
  key: `ds-${o}`
587
583
  }, [
588
- (r(!0), n(f, null, $(t.datapoints, (a, u) => (r(), n("g", {
584
+ (r(!0), n(f, null, C(t.datapoints, (a, i) => (r(), n("g", {
589
585
  key: a.id
590
586
  }, [
591
- l.$slots.pattern ? (r(), n("g", hl, [
587
+ l.$slots.pattern ? (r(), n("g", fl, [
592
588
  d("defs", null, [
593
- p(l.$slots, "pattern", Ee({ ref_for: !0 }, { datapointIndex: o, seriesIndex: u, patternId: `pattern_${C.value}_${a.uid}` }), void 0, !0)
589
+ p(l.$slots, "pattern", Ue({ ref_for: !0 }, { datapointIndex: o, seriesIndex: i, patternId: `pattern_${w.value}_${a.uid}` }), void 0, !0)
594
590
  ])
595
- ])) : h("", !0),
591
+ ])) : v("", !0),
596
592
  d("path", {
597
- fill: l.$slots.pattern ? `url(#pattern_${C.value}_${a.uid})` : e.value.style.chart.backgroundColor,
593
+ fill: l.$slots.pattern ? `url(#pattern_${w.value}_${a.uid})` : e.value.style.chart.backgroundColor,
598
594
  stroke: "none",
599
595
  "stroke-linecap": "round",
600
596
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
601
597
  style: M({
602
598
  opacity: e.value.style.chart.areas.opacity
603
599
  })
604
- }, null, 12, vl),
600
+ }, null, 12, gl),
605
601
  d("path", {
606
602
  fill: "none",
607
603
  stroke: e.value.style.chart.areas.stroke.useSerieColor ? a.color : e.value.style.chart.areas.stroke.color,
@@ -609,24 +605,24 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
609
605
  d: e.value.style.chart.areas.smooth ? a.smoothPathRidge : a.straightPathRidge,
610
606
  "stroke-linecap": "round",
611
607
  "stroke-linejoin": "round",
612
- class: W({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
608
+ class: Y({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
613
609
  style: M({
614
610
  strokeDasharray: a.pathLength,
615
611
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
616
612
  })
617
- }, null, 14, dl),
613
+ }, null, 14, pl),
618
614
  d("path", {
619
- fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${a.id}-${C.value})` : `url(#gradient-single-${C.value}-${a.uid})` : a.color,
615
+ fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${a.id}-${w.value})` : `url(#gradient-single-${w.value}-${a.uid})` : a.color,
620
616
  stroke: "none",
621
617
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
622
618
  "stroke-linecap": "round",
623
619
  "stroke-linejoin": "round",
624
- class: W({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
620
+ class: Y({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
625
621
  style: M({
626
622
  strokeDasharray: a.pathLength,
627
623
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
628
624
  })
629
- }, null, 14, yl),
625
+ }, null, 14, ml),
630
626
  e.value.style.chart.zeroLine.show ? (r(), n("path", {
631
627
  key: 1,
632
628
  stroke: e.value.style.chart.zeroLine.useSerieColor ? a.color : e.value.style.chart.zeroLine.stroke,
@@ -634,20 +630,20 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
634
630
  "stroke-width": e.value.style.chart.zeroLine.strokeWidth,
635
631
  d: a.zeroPath,
636
632
  "stroke-linecap": "round"
637
- }, null, 8, fl)) : h("", !0),
638
- e.value.style.chart.areas.maxPoint.show && a.plots.length > 1 ? (r(!0), n(f, { key: 2 }, $(a.plots, (A) => (r(), n(f, null, [
633
+ }, null, 8, bl)) : v("", !0),
634
+ e.value.style.chart.areas.maxPoint.show && a.plots.length > 1 ? (r(!0), n(f, { key: 2 }, C(a.plots, (A) => (r(), n(f, null, [
639
635
  A.isMaxPoint ? (r(), n("line", {
640
636
  key: 0,
641
637
  x1: A.x,
642
638
  y1: A.y,
643
639
  x2: A.x,
644
640
  y2: A.zero,
645
- stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? c(St)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
641
+ stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(Vt)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
646
642
  "stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
647
643
  "stroke-linecap": "round",
648
644
  "stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
649
- }, null, 8, gl)) : h("", !0)
650
- ], 64))), 256)) : h("", !0),
645
+ }, null, 8, xl)) : v("", !0)
646
+ ], 64))), 256)) : v("", !0),
651
647
  a.plots.length === 1 ? (r(), n("circle", {
652
648
  key: 3,
653
649
  cx: a.plots[0].x,
@@ -659,7 +655,7 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
659
655
  style: {
660
656
  pointerEvents: "none"
661
657
  }
662
- }, null, 8, pl)) : h("", !0)
658
+ }, null, 8, kl)) : v("", !0)
663
659
  ]))), 128)),
664
660
  d("text", {
665
661
  x: t.label.x,
@@ -671,15 +667,15 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
671
667
  style: M({
672
668
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
673
669
  }),
674
- "text-decoration": e.value.style.chart.dialog.show && (se.value === o || N.value && t.uid === N.value.uid) ? "underline" : "",
675
- onMouseenter: (a) => nt(o),
676
- onMouseleave: ut,
677
- onClick: (a) => rt(t)
678
- }, F(t.name), 45, ml)
670
+ "text-decoration": e.value.style.chart.dialog.show && (ne.value === o || F.value && t.uid === F.value.uid) ? "underline" : "",
671
+ onMouseenter: (a) => bt(o),
672
+ onMouseleave: xt,
673
+ onClick: (a) => mt(t)
674
+ }, E(t.name), 45, Al)
679
675
  ]))), 128)),
680
- e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", bl, [
681
- (r(!0), n(f, null, $(D.value, (t, o) => p(l.$slots, "time-label", Ee({ ref_for: !0 }, {
682
- show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (o === 0 || o === D.value.length - 1) || t && v.value && v.value.index === o || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && o % Math.floor(D.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
676
+ e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", Cl, [
677
+ (r(!0), n(f, null, C(R.value, (t, o) => p(l.$slots, "time-label", Ue({ ref_for: !0 }, {
678
+ show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (o === 0 || o === R.value.length - 1) || t && h.value && h.value.index === o || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && o % Math.floor(R.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
683
679
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
684
680
  content: t.label,
685
681
  textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -688,7 +684,7 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
688
684
  x: t.selectorX,
689
685
  y: k.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
690
686
  }), () => [
691
- t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (o === 0 || o === D.value.length - 1) || t && v.value && v.value.index === o || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && o % Math.floor(D.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (r(), n("text", {
687
+ t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (o === 0 || o === R.value.length - 1) || t && h.value && h.value.index === o || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && o % Math.floor(R.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (r(), n("text", {
692
688
  key: 0,
693
689
  "font-size": e.value.style.chart.xAxis.labels.fontSize,
694
690
  fill: e.value.style.chart.xAxis.labels.color,
@@ -696,38 +692,38 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
696
692
  transform: `translate(${t.selectorX}, ${k.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
697
693
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
698
694
  style: M({
699
- opacity: v.value ? v.value.index === o ? 1 : 0.2 : 1
695
+ opacity: h.value ? h.value.index === o ? 1 : 0.2 : 1
700
696
  })
701
- }, F(t.label), 13, xl)) : h("", !0)
697
+ }, E(t.label), 13, wl)) : v("", !0)
702
698
  ], !0)), 256))
703
- ])) : h("", !0),
699
+ ])) : v("", !0),
704
700
  d("g", null, [
705
- (r(!0), n(f, null, $(D.value, (t, o) => (r(), n("rect", {
701
+ (r(!0), n(f, null, C(R.value, (t, o) => (r(), n("rect", {
706
702
  x: t.x,
707
703
  y: t.y,
708
704
  width: t.width < 0 ? 0.1 : t.width,
709
705
  height: t.height < 0 ? 0.1 : t.height,
710
706
  fill: "transparent",
711
- onMouseenter: (a) => v.value = t,
712
- onMouseleave: s[0] || (s[0] = (a) => v.value = null),
713
- onClick: () => et(t)
714
- }, null, 40, kl))), 256)),
715
- e.value.style.chart.selector.show && v.value ? (r(), n("line", {
707
+ onMouseenter: (a) => h.value = t,
708
+ onMouseleave: s[0] || (s[0] = (a) => h.value = null),
709
+ onClick: () => ht(t)
710
+ }, null, 40, $l))), 256)),
711
+ e.value.style.chart.selector.show && h.value ? (r(), n("line", {
716
712
  key: 0,
717
- x1: v.value.selectorX,
718
- x2: v.value.selectorX,
719
- y1: v.value.y,
720
- y2: v.value.y + v.value.height - w.value / 2,
713
+ x1: h.value.selectorX,
714
+ x2: h.value.selectorX,
715
+ y1: h.value.y,
716
+ y2: h.value.y + h.value.height - $.value / 2,
721
717
  stroke: e.value.style.chart.selector.stroke,
722
718
  "stroke-width": e.value.style.chart.selector.strokeWidth,
723
719
  "stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
724
720
  "stroke-linecap": "round",
725
721
  style: { pointerEvents: "none" }
726
- }, null, 8, Al)) : h("", !0),
727
- v.value ? (r(!0), n(f, { key: 1 }, $(I.value, (t) => (r(), n(f, null, [
728
- (r(!0), n(f, null, $(t.datapoints, (o) => (r(), n(f, null, [
729
- (r(!0), n(f, null, $(o.plots, (a, u) => (r(), n(f, null, [
730
- v.value && v.value.index === u ? (r(), n("circle", {
722
+ }, null, 8, _l)) : v("", !0),
723
+ h.value ? (r(!0), n(f, { key: 1 }, C(X.value, (t) => (r(), n(f, null, [
724
+ (r(!0), n(f, null, C(t.datapoints, (o) => (r(), n(f, null, [
725
+ (r(!0), n(f, null, C(o.plots, (a, i) => (r(), n(f, null, [
726
+ h.value && h.value.index === i ? (r(), n("circle", {
731
727
  key: 0,
732
728
  cx: a.x,
733
729
  cy: a.y,
@@ -738,15 +734,15 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
738
734
  style: {
739
735
  pointerEvents: "none"
740
736
  }
741
- }, null, 8, $l)) : h("", !0),
742
- v.value && v.value.index === u ? (r(), n("text", {
737
+ }, null, 8, Ml)) : v("", !0),
738
+ h.value && h.value.index === i ? (r(), n("text", {
743
739
  key: 1,
744
- x: Me(
740
+ x: Te(
745
741
  a.x,
746
- c(J)(
742
+ u(Q)(
747
743
  e.value.style.chart.selector.labels.formatter,
748
744
  a.value,
749
- c(K)({
745
+ u(Z)({
750
746
  p: e.value.style.chart.xAxis.labels.prefix,
751
747
  v: a.value,
752
748
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -756,12 +752,12 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
756
752
  e.value.style.chart.selector.labels.fontSize
757
753
  ) ? a.x - e.value.style.chart.selector.labels.fontSize / 2 : a.x + e.value.style.chart.selector.labels.fontSize / 2,
758
754
  y: a.y + e.value.style.chart.selector.labels.fontSize / 3,
759
- "text-anchor": Me(
755
+ "text-anchor": Te(
760
756
  a.x,
761
- c(J)(
757
+ u(Q)(
762
758
  e.value.style.chart.selector.labels.formatter,
763
759
  a.value,
764
- c(K)({
760
+ u(Z)({
765
761
  p: e.value.style.chart.xAxis.labels.prefix,
766
762
  v: a.value,
767
763
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -775,26 +771,26 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
775
771
  style: {
776
772
  pointerEvents: "none"
777
773
  }
778
- }, F(c(J)(
774
+ }, E(u(Q)(
779
775
  e.value.style.chart.selector.labels.formatter,
780
776
  a.value,
781
- c(K)({
777
+ u(Z)({
782
778
  p: e.value.style.chart.xAxis.labels.prefix,
783
779
  v: a.value,
784
780
  s: e.value.style.chart.xAxis.labels.suffix,
785
781
  r: e.value.style.chart.selector.labels.rounding
786
782
  })
787
- )), 9, Cl)) : h("", !0)
783
+ )), 9, Pl)) : v("", !0)
788
784
  ], 64))), 256))
789
785
  ], 64))), 256))
790
- ], 64))), 256)) : h("", !0)
786
+ ], 64))), 256)) : v("", !0)
791
787
  ]),
792
788
  p(l.$slots, "svg", { svg: y.value }, void 0, !0)
793
- ], 14, el)) : h("", !0),
794
- l.$slots.watermark ? (r(), n("div", wl, [
795
- p(l.$slots, "watermark", j(Y({ isPrinting: c(ke) || c(Ae) })), void 0, !0)
796
- ])) : h("", !0),
797
- O.value ? h("", !0) : (r(), T(qt, {
789
+ ], 14, ol)) : v("", !0),
790
+ l.$slots.watermark ? (r(), n("div", Tl, [
791
+ p(l.$slots, "watermark", q(J({ isPrinting: u(Ce) || u(we) })), void 0, !0)
792
+ ])) : v("", !0),
793
+ z.value ? v("", !0) : (r(), P(u(ot), {
798
794
  key: 6,
799
795
  config: {
800
796
  type: "ridgeline",
@@ -808,51 +804,51 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
808
804
  }, null, 8, ["config"])),
809
805
  d("div", {
810
806
  ref_key: "chartLegend",
811
- ref: ce
807
+ ref: he
812
808
  }, [
813
- e.value.style.chart.legend.show ? (r(), T(Wt, {
814
- key: `legend_${ye.value}`,
815
- legendSet: oe.value,
816
- config: ot.value,
817
- onClickMarker: s[1] || (s[1] = ({ legend: t }) => we(t.id))
818
- }, Re({
809
+ e.value.style.chart.legend.show ? (r(), P(Zt, {
810
+ key: `legend_${ge.value}`,
811
+ legendSet: re.value,
812
+ config: gt.value,
813
+ onClickMarker: s[1] || (s[1] = ({ legend: t }) => Me(t.id))
814
+ }, Ve({
819
815
  item: m(({ legend: t }) => [
820
816
  d("div", {
821
- style: M(`opacity:${P.value.includes(t.id) ? 0.5 : 1}`),
817
+ style: M(`opacity:${O.value.includes(t.id) ? 0.5 : 1}`),
822
818
  onClick: (o) => t.segregate()
823
- }, F(t.name), 13, _l)
819
+ }, E(t.name), 13, Ol)
824
820
  ]),
825
821
  _: 2
826
822
  }, [
827
823
  l.$slots.pattern ? {
828
824
  name: "legend-pattern",
829
825
  fn: m(({ legend: t, index: o }) => [
830
- kt(Yt, {
826
+ Be(tl, {
831
827
  shape: t.shape,
832
828
  radius: 30,
833
829
  stroke: "none",
834
830
  plot: { x: 30, y: 30 },
835
- fill: `url(#pattern_${C.value}_${o})`
831
+ fill: `url(#pattern_${w.value}_${o})`
836
832
  }, null, 8, ["shape", "fill"])
837
833
  ]),
838
834
  key: "0"
839
835
  } : void 0
840
- ]), 1032, ["legendSet", "config"])) : h("", !0),
841
- p(l.$slots, "legend", { legend: oe.value }, void 0, !0)
836
+ ]), 1032, ["legendSet", "config"])) : v("", !0),
837
+ p(l.$slots, "legend", { legend: re.value }, void 0, !0)
842
838
  ], 512),
843
839
  l.$slots.source ? (r(), n("div", {
844
840
  key: 7,
845
841
  ref_key: "source",
846
- ref: he,
842
+ ref: de,
847
843
  dir: "auto"
848
844
  }, [
849
845
  p(l.$slots, "source", {}, void 0, !0)
850
- ], 512)) : h("", !0),
851
- O.value ? (r(), T(Bt, {
846
+ ], 512)) : v("", !0),
847
+ z.value ? (r(), P(u(Ze), {
852
848
  key: 8,
853
849
  hideDetails: "",
854
850
  config: {
855
- open: X.value.showTable,
851
+ open: H.value.showTable,
856
852
  maxHeight: 1e4,
857
853
  body: {
858
854
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -865,23 +861,23 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
865
861
  }
866
862
  }, {
867
863
  content: m(() => [
868
- (r(), T(Gt, {
869
- key: `table_${Je.value}`,
870
- colNames: G.value.colNames,
871
- head: G.value.head,
872
- body: G.value.body,
873
- config: G.value.config,
864
+ (r(), P(u(tt), {
865
+ key: `table_${ut.value}`,
866
+ colNames: j.value.colNames,
867
+ head: j.value.head,
868
+ body: j.value.body,
869
+ config: j.value.config,
874
870
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` :${e.value.style.chart.title.subtitle.text}` : ""}`,
875
- onClose: s[2] || (s[2] = (t) => X.value.showTable = !1)
871
+ onClose: s[2] || (s[2] = (t) => H.value.showTable = !1)
876
872
  }, {
877
873
  th: m(({ th: t }) => [
878
- d("div", { innerHTML: t }, null, 8, Ml)
874
+ d("div", { innerHTML: t }, null, 8, Sl)
879
875
  ]),
880
876
  td: m(({ td: t }) => [
881
- He(F(t.name ? t.name : c(J)(
877
+ Ge(E(t.name ? t.name : u(Q)(
882
878
  e.value.style.chart.selector.labels.formatter,
883
879
  t,
884
- c(K)({
880
+ u(Z)({
885
881
  p: e.value.style.chart.xAxis.labels.prefix,
886
882
  v: t,
887
883
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -893,32 +889,32 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
893
889
  }, 8, ["colNames", "head", "body", "config", "title"]))
894
890
  ]),
895
891
  _: 1
896
- }, 8, ["config"])) : h("", !0),
897
- e.value.style.chart.dialog.show ? (r(), T(Ut, {
892
+ }, 8, ["config"])) : v("", !0),
893
+ e.value.style.chart.dialog.show ? (r(), P(u(et), {
898
894
  key: 9,
899
895
  ref_key: "dialog",
900
- ref: Z,
901
- onClose: s[3] || (s[3] = (t) => N.value = null),
896
+ ref: te,
897
+ onClose: s[3] || (s[3] = (t) => F.value = null),
902
898
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
903
899
  color: e.value.style.chart.dialog.color,
904
900
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
905
901
  headerColor: e.value.style.chart.dialog.header.color
906
902
  }, {
907
903
  title: m(() => [
908
- He(F(N.value.name), 1)
904
+ Ge(E(F.value.name), 1)
909
905
  ]),
910
906
  default: m(() => [
911
- N.value ? (r(), T(Kt, {
907
+ F.value ? (r(), P(u(rt), {
912
908
  key: 0,
913
- config: Te.value,
914
- dataset: Pe.value
915
- }, null, 8, ["config", "dataset"])) : h("", !0)
909
+ config: Oe.value,
910
+ dataset: Se.value
911
+ }, null, 8, ["config", "dataset"])) : v("", !0)
916
912
  ]),
917
913
  _: 1
918
- }, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : h("", !0)
919
- ], 46, Zt));
914
+ }, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : v("", !0)
915
+ ], 46, al));
920
916
  }
921
- }, Wl = /* @__PURE__ */ Qt(Tl, [["__scopeId", "data-v-9c3affc2"]]);
917
+ }, Ul = /* @__PURE__ */ ll(zl, [["__scopeId", "data-v-52302b79"]]);
922
918
  export {
923
- Wl as default
919
+ Ul as default
924
920
  };