vue-data-ui 2.12.5 → 2.12.7-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +56 -1
  2. package/dist/{Arrow-CD7YT-M0.js → Arrow-CmqjRRUl.js} +1 -1
  3. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  4. package/dist/{BaseIcon-CgSWwnK7.js → BaseIcon-CZdMutjs.js} +1 -1
  5. package/dist/{ColorPicker-w8R8Tqdv.js → ColorPicker-DvVKgyAl.js} +23 -24
  6. package/dist/{DataTable-CicthvOV.js → DataTable-Cv9CIz-a.js} +11 -11
  7. package/dist/{Legend-0UY0Mmli.js → Legend-DFunFf8i.js} +8 -8
  8. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  9. package/dist/PackageVersion-CLY-udAA.js +10 -0
  10. package/dist/{PenAndPaper-DLsvRwoD.js → PenAndPaper-B9na2mbr.js} +8 -10
  11. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  12. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  13. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  14. package/dist/{Shape-DICeBEtN.js → Shape-D3w9qas1.js} +2 -2
  15. package/dist/{Slicer-D1nsbsWE.js → Slicer-ncY8krrM.js} +2 -2
  16. package/dist/SparkTooltip-CwThutH2.js +68 -0
  17. package/dist/{Title-xO1jFsSw.js → Title-B5qqUI3M.js} +2 -2
  18. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  19. package/dist/{usePrinter-CcgJXHIK.js → UserOptions-Ddy6CuLC.js} +172 -231
  20. package/dist/{dom-to-png-CS4NRYd_.js → dom-to-png-DDlooC9r.js} +1 -1
  21. package/dist/{img-CsXjm5I4.js → img-m9g7lR5d.js} +1 -1
  22. package/dist/{index-vjCxtaM0.js → index-BiHmNd1-.js} +153 -118
  23. package/dist/{pdf-DHexTTpK.js → pdf-BqM953uL.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +96 -2
  26. package/dist/types/vue-data-ui.d.ts +96 -2
  27. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  28. package/dist/useMouse-AicQS8Vf.js +13 -0
  29. package/dist/{useNestedProp-Du1hnYFA.js → useNestedProp-tRqS0ZAM.js} +1 -1
  30. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  31. package/dist/usePrinter-CRCbl1WG.js +53 -0
  32. package/dist/vClickOutside-C6WiFswA.js +13 -0
  33. package/dist/{vue-data-ui-BOrA3Tc9.js → vue-data-ui-D9uTDt73.js} +63 -63
  34. package/dist/vue-data-ui.js +42 -40
  35. package/dist/{vue-ui-3d-bar-Z8yAd4bw.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  36. package/dist/{vue-ui-accordion-CAN430Oy.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  37. package/dist/{vue-ui-age-pyramid-C6PZU9Ez.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  38. package/dist/{vue-ui-annotator-CqoDLx3t.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  39. package/dist/{vue-ui-bullet-DZC3aY3d.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  40. package/dist/{vue-ui-candlestick-B5mq_lgW.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  41. package/dist/{vue-ui-carousel-table-CBwerU49.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  42. package/dist/{vue-ui-chestnut-COyOAY28.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  43. package/dist/{vue-ui-chord-Cw0F_jHM.js → vue-ui-chord-C4evlXYB.js} +356 -365
  44. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  45. package/dist/{vue-ui-cursor-CWXqmlVy.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  46. package/dist/{vue-ui-dashboard-Ba2tF4md.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  47. package/dist/{vue-ui-digits-BV7yyUdY.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  48. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  49. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  50. package/dist/{vue-ui-dumbbell-SDCcLJIc.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  51. package/dist/{vue-ui-flow-CrqGSDNK.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  52. package/dist/{vue-ui-funnel-CcDOoxp8.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  53. package/dist/{vue-ui-galaxy-jlDp0DRJ.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  54. package/dist/{vue-ui-gauge-8t8rWb1C.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  55. package/dist/{vue-ui-gizmo-CFwdrMYP.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  56. package/dist/{vue-ui-heatmap-BT-mIeZp.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  57. package/dist/{vue-ui-history-plot-crLloc7J.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  58. package/dist/{vue-ui-kpi-96v4ZIYo.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  59. package/dist/{vue-ui-mini-loader-rBHBxNIT.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  60. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  61. package/dist/{vue-ui-mood-radar-DrVSXIY4.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  62. package/dist/{vue-ui-nested-donuts-C9Ah9lgv.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  63. package/dist/{vue-ui-onion-DwNPyn4X.js → vue-ui-onion-P8k6T724.js} +252 -258
  64. package/dist/{vue-ui-parallel-coordinate-plot-tSuK6xWu.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  65. package/dist/{vue-ui-quadrant-C0Kaoo7K.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  66. package/dist/{vue-ui-quick-chart-xMh_Ygct.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  67. package/dist/{vue-ui-radar-C1jSDQt_.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  68. package/dist/{vue-ui-rating-6Kb7hsKF.js → vue-ui-rating-gryk_h_6.js} +2 -2
  69. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  70. package/dist/{vue-ui-ridgeline-BBvPVQjC.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  71. package/dist/{vue-ui-rings-B92cXv7f.js → vue-ui-rings-BRBXektJ.js} +262 -269
  72. package/dist/{vue-ui-scatter-Bt1aty87.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  73. package/dist/{vue-ui-skeleton-DfOIDTJM.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  74. package/dist/{vue-ui-smiley-sVgBnkbx.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  75. package/dist/{vue-ui-spark-trend-D6uzJ4Qd.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  76. package/dist/{vue-ui-sparkbar-D4c2EE7J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  77. package/dist/{vue-ui-sparkgauge-DaQ6iz98.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  78. package/dist/{vue-ui-sparkhistogram-D_YnmM2T.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  79. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  80. package/dist/{vue-ui-sparkstackbar-DecnmqgJ.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  81. package/dist/{vue-ui-stackbar-D1eNs1j_.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  82. package/dist/{vue-ui-strip-plot-iPZ8Hhmr.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  83. package/dist/{vue-ui-table-BFjE28sw.js → vue-ui-table-DBaT_TfA.js} +3 -3
  84. package/dist/{vue-ui-table-heatmap-DipFDu39.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  85. package/dist/{vue-ui-table-sparkline-CGAecOZh.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  86. package/dist/{vue-ui-thermometer-Cx_yr-hs.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  87. package/dist/{vue-ui-timer-ClVmS8MH.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  88. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  89. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  90. package/dist/{vue-ui-vertical-bar-BHYCnFEN.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  91. package/dist/{vue-ui-waffle-DEPUbrOt.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  92. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  93. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  94. package/dist/{vue-ui-world-DStJ5i0i.js → vue-ui-world-CPIGEswq.js} +430 -442
  95. package/dist/{vue-ui-xy-CEop49z6.js → vue-ui-xy-9e_epIN4.js} +845 -846
  96. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  97. package/package.json +6 -6
  98. package/dist/BaseDraggableDialog-BjFEob7i.js +0 -186
  99. package/dist/PackageVersion-Cw2caN1c.js +0 -10
  100. package/dist/Tooltip-LKe8L-Mg.js +0 -158
  101. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  102. package/dist/vue-ui-circle-pack-BtpaZLYs.js +0 -659
  103. package/dist/vue-ui-donut-CRdQFQgA.js +0 -1292
  104. package/dist/vue-ui-donut-evolution-De3-5OgR.js +0 -871
  105. package/dist/vue-ui-molecule-DSr_bHGG.js +0 -782
  106. package/dist/vue-ui-relation-circle-fh0Hl9m0.js +0 -528
  107. package/dist/vue-ui-sparkline-C2HuTMDz.js +0 -519
  108. package/dist/vue-ui-tiremarks-4Sa3RCSv.js +0 -344
  109. package/dist/vue-ui-treemap-CD5pPg7v.js +0 -956
  110. package/dist/vue-ui-wheel-qU0bgJsi.js +0 -338
  111. package/dist/vue-ui-word-cloud-z2ZguOdy.js +0 -648
  112. package/dist/vue-ui-xy-canvas-DV0BVdZb.js +0 -1673
@@ -1,24 +1,17 @@
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-vjCxtaM0.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-CcgJXHIK.js";
6
- import { t as Ht, u as Vt } from "./useResponsive-JZ9xq-JV.js";
7
- import { u as Ge } from "./useNestedProp-Du1hnYFA.js";
8
- import Bt from "./vue-ui-accordion-CAN430Oy.js";
9
- import { B as Ut } from "./BaseDraggableDialog-BjFEob7i.js";
10
- import { D as Gt } from "./DataTable-CicthvOV.js";
11
- import { L as Wt } from "./Legend-0UY0Mmli.js";
12
- import { _ as jt } from "./PenAndPaper-DLsvRwoD.js";
13
- import { _ as Yt } from "./Shape-DICeBEtN.js";
14
- import qt from "./vue-ui-skeleton-DfOIDTJM.js";
15
- import { _ as Jt } from "./Title-xO1jFsSw.js";
16
- import Kt from "./vue-ui-xy-CEop49z6.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 M, computed as f, ref as c, shallowRef as Ee, onMounted as zt, onBeforeUnmount as Nt, watch as He, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as P, normalizeClass as Y, createBlock as T, 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 g, renderList as C, mergeProps as Ue, toDisplayString as E, createTextVNode as Ge, nextTick as Lt } from "vue";
2
+ import { u as Dt, c as ie, o as It, e as ce, g as We, b as Ft, d as Rt, p as K, al as je, a8 as Xt, T as Ye, U as Et, V as Ht, X as Vt, G as Bt, i as Q, f as Z, t as Ut, a as Gt, q as Wt, r as jt, J as Yt } from "./index-BiHmNd1-.js";
3
+ import { u as qt } from "./useUserOptionState-BIvW1Kz7.js";
4
+ import { u as Jt } from "./useChartAccessibility-9icAAmYg.js";
5
+ import { u as Kt } from "./usePrinter-CRCbl1WG.js";
6
+ import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
7
+ import { u as qe } from "./useNestedProp-tRqS0ZAM.js";
8
+ import el from "./Legend-DFunFf8i.js";
9
+ import tl from "./Title-B5qqUI3M.js";
10
+ import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ 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"], gl = { key: 0 }, fl = ["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
12
  key: 5,
20
13
  class: "vue-data-ui-watermark"
21
- }, _l = ["onClick"], Ml = ["innerHTML"], Tl = {
14
+ }, Sl = ["onClick"], Ol = ["innerHTML"], zl = {
22
15
  __name: "vue-ui-ridgeline",
23
16
  props: {
24
17
  config: {
@@ -35,63 +28,61 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
35
28
  }
36
29
  },
37
30
  emits: ["selectLegend", "selectDatapoint", "selectX"],
38
- setup(We, { expose: je, emit: Ye }) {
39
- const { vue_ui_ridgeline: qe } = $t(), x = We, O = g({
31
+ setup(Je, { expose: Ke, emit: Qe }) {
32
+ const Ze = M(() => import("./vue-ui-accordion-CmCs2yR2.js")), et = M(() => import("./BaseDraggableDialog-BMlyvt7E.js")), tt = M(() => import("./DataTable-Cv9CIz-a.js")), lt = M(() => import("./PackageVersion-CLY-udAA.js")), at = M(() => import("./PenAndPaper-B9na2mbr.js")), ot = M(() => import("./Shape-D3w9qas1.js")), st = M(() => import("./vue-ui-skeleton-CbYQYRvD.js")), rt = M(() => import("./UserOptions-Ddy6CuLC.js")), nt = M(() => import("./vue-ui-xy-9e_epIN4.js")), { vue_ui_ridgeline: ut } = Dt(), x = Je, z = f({
40
33
  get() {
41
34
  return !!x.dataset && x.dataset.length;
42
35
  },
43
36
  set(l) {
44
37
  return l;
45
38
  }
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({
39
+ }), ee = Qe, G = c(null), ve = c(null), he = c(null), S = Ee(null), I = Ee(null), de = c(null), ye = c(null), ge = c(0), it = c(0), fe = c(0), w = c(ie()), pe = c(0), ct = c(0), me = c(512), h = c(null), F = c(null), te = c(null), be = c(0);
40
+ function xe() {
41
+ const l = qe({
49
42
  userConfig: x.config,
50
- defaultConfig: qe
43
+ defaultConfig: ut
51
44
  });
52
45
  return l.theme ? {
53
- ...Ge({
54
- userConfig: Lt.vue_ui_ridgeline[l.theme] || x.config,
46
+ ...qe({
47
+ userConfig: Gt.vue_ui_ridgeline[l.theme] || x.config,
55
48
  defaultConfig: l
56
49
  }),
57
- customPalette: zt[l.theme] || q
50
+ customPalette: Ut[l.theme] || K
58
51
  } : l;
59
52
  }
60
- const e = g({
61
- get: () => me(),
53
+ const e = f({
54
+ get: () => xe(),
62
55
  set: (l) => l
63
- }), w = i(Math.min(
56
+ }), $ = c(Math.min(
64
57
  e.value.style.chart.areas.height,
65
58
  e.value.style.chart.areas.rowHeight
66
59
  )), {
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({
60
+ userOptionsVisible: le,
61
+ setUserOptionsVisibility: ke,
62
+ keepUserOptionState: Ae
63
+ } = qt({ config: e.value }), { svgRef: ae } = Jt({ config: e.value.style.chart.title });
64
+ zt(oe);
65
+ function oe() {
66
+ if (It(x.dataset) ? ce({
76
67
  componentName: "VueUiRidgeline",
77
68
  type: "dataset"
78
69
  }) : x.dataset.forEach((l, s) => {
79
- Ve({
70
+ We({
80
71
  datasetObject: l,
81
72
  requiredAttributes: ["name", "datapoints"]
82
73
  }).forEach((t) => {
83
- O.value = !1, ue({
74
+ z.value = !1, ce({
84
75
  componentName: "VueUiRidgeline",
85
76
  type: "datasetSerieAttribute",
86
77
  property: t,
87
78
  index: s
88
79
  });
89
80
  }), l.datapoints.length && l.datapoints.forEach((t, o) => {
90
- Ve({
81
+ We({
91
82
  datasetObject: t,
92
83
  requiredAttributes: ["name", "values"]
93
84
  }).forEach((a) => {
94
- O.value = !1, ue({
85
+ z.value = !1, ce({
95
86
  componentName: "VueUiRidgeline",
96
87
  type: "datasetSerieAttribute",
97
88
  property: `datapoint.${a}`,
@@ -99,180 +90,183 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
99
90
  });
100
91
  });
101
92
  });
102
- }), Ke.value = x.dataset.length, w.value = Math.min(
93
+ }), ct.value = x.dataset.length, $.value = Math.min(
103
94
  e.value.style.chart.areas.height,
104
95
  e.value.style.chart.areas.rowHeight
105
96
  ), 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,
97
+ const l = Qt(() => {
98
+ const { width: s, height: t } = Zt({
99
+ chart: G.value,
100
+ title: e.value.style.chart.title.text ? ve.value : null,
101
+ legend: e.value.style.chart.legend.show ? he.value : null,
102
+ source: de.value,
103
+ noTitle: ye.value,
113
104
  padding: e.value.style.chart.padding
114
105
  });
115
106
  requestAnimationFrame(() => {
116
- ge.value = s, w.value = t / x.dataset.length, pe.value = t;
107
+ me.value = s, $.value = t / x.dataset.length, be.value = t;
117
108
  });
118
109
  });
119
- B.value = new ResizeObserver(l), B.value.observe(V.value.parentNode);
110
+ S.value && (I.value && S.value.unobserve(I.value), S.value.disconnect()), S.value = new ResizeObserver(l), I.value = G.value.parentNode, S.value.observe(I.value);
120
111
  }
121
112
  }
122
- const { isPrinting: ke, isImaging: Ae, generatePdf: $e, generateImage: Ce } = Rt({
123
- elementId: `vue-ui-ridgeline_${C.value}`,
113
+ Nt(() => {
114
+ S.value && (I.value && S.value.unobserve(I.value), S.value.disconnect());
115
+ });
116
+ const { isPrinting: Ce, isImaging: we, generatePdf: $e, generateImage: _e } = Kt({
117
+ elementId: `vue-ui-ridgeline_${w.value}`,
124
118
  fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
125
119
  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({
120
+ }), vt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = f(() => Ft(e.value.customPalette)), H = c({
127
121
  showTable: e.value.table.show
128
122
  });
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(
123
+ He(() => x.config, (l) => {
124
+ e.value = xe(), le.value = !e.value.userOptions.showOnChartHover, oe(), ge.value += 1, fe.value += 1, $.value = Math.min(
131
125
  e.value.style.chart.areas.height,
132
126
  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);
127
+ ), H.value.showTable = e.value.table.show;
128
+ }, { deep: !0 }), He(() => x.dataset, oe, { deep: !0 });
129
+ const se = f(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
130
+ function Me(l) {
131
+ O.value.includes(l) ? O.value = O.value.filter((s) => s !== l) : O.value.push(l), ee("selectLegend", X.value);
138
132
  }
139
- const _ = g(() => O.value ? x.dataset.map((l, s) => ({
133
+ const _ = f(() => z.value ? x.dataset.map((l, s) => ({
140
134
  ...l,
141
- labelLen: lt(l.name, e.value.style.chart.yAxis.labels.fontSize),
142
- uid: ne(),
135
+ labelLen: gt(l.name, e.value.style.chart.yAxis.labels.fontSize),
136
+ uid: ie(),
143
137
  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);
138
+ const a = t.color ? Rt(t.color) : ht.value[o] || K[o] || K[o % K.length], i = je(t.name);
145
139
  return {
146
140
  ...t,
147
141
  color: a,
148
- id: u
142
+ id: i
149
143
  };
150
144
  })
151
- })) : []), _e = g(() => e.value.style.chart.padding.top + w.value * x.dataset.length + w.value * ae.value), k = g(() => ({
145
+ })) : []), Pe = f(() => e.value.style.chart.padding.top + $.value * x.dataset.length + $.value * se.value), k = f(() => ({
152
146
  fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
153
147
  top: y.value.padding.top,
154
148
  left: y.value.padding.left,
155
149
  right: y.value.width - y.value.padding.right,
156
150
  bottom: y.value.padding.top + y.value.height,
157
151
  width: y.value.width - (y.value.padding.left + y.value.padding.right)
158
- })), y = g(() => {
152
+ })), y = f(() => {
159
153
  const l = e.value.style.chart.padding;
160
154
  return {
161
- width: ge.value,
162
- height: _e.value,
155
+ width: me.value,
156
+ height: Pe.value,
163
157
  padding: l
164
158
  };
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)
159
+ }), R = f(() => {
160
+ 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 = [];
161
+ for (let i = 0; i < s; i += 1)
168
162
  a.push({
169
- selectorX: t + o * u,
170
- x: t + o * u - o / 2,
163
+ selectorX: t + o * i,
164
+ x: t + o * i - o / 2,
171
165
  y: k.value.top,
172
- label: e.value.style.chart.xAxis.labels.values[u] || "",
173
- index: u,
166
+ label: e.value.style.chart.xAxis.labels.values[i] || "",
167
+ index: i,
174
168
  width: o,
175
- height: _e.value
169
+ height: Pe.value
176
170
  });
177
171
  return a;
178
172
  });
179
- function et(l) {
180
- Q("selectX", _.value.map((s) => s.datapoints.map((t) => ({
173
+ function dt(l) {
174
+ ee("selectX", _.value.map((s) => s.datapoints.map((t) => ({
181
175
  dp: t,
182
176
  selected: t.values[l.index]
183
177
  }))));
184
178
  }
185
- function tt(l, s) {
179
+ function yt(l, s) {
186
180
  return l.length * s / 2 + s;
187
181
  }
188
- function Me(l, s, t) {
189
- const o = tt(s, t);
182
+ function Te(l, s, t) {
183
+ const o = yt(s, t);
190
184
  return l + o > k.value.right;
191
185
  }
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;
186
+ function gt(l, s, t = "sans-serif") {
187
+ const a = document.createElement("canvas").getContext("2d"), i = typeof s == "number" ? `${s}px` : s;
188
+ return a.font = `${i} ${t}`, a.measureText(l).width;
195
189
  }
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;
190
+ const X = f(() => {
191
+ $.value;
192
+ 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;
193
+ function Ie(b) {
194
+ return isNaN(b / De) ? 0 : b / De;
201
195
  }
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));
196
+ return _.value.map((b, N) => {
197
+ const Fe = k.value.top + $.value * N, L = k.value.top + Fe + $.value * se.value * (1 - Ie(A));
204
198
  return {
205
199
  ...b,
206
200
  label: {
207
201
  x: a - e.value.style.chart.yAxis.labels.fontSize,
208
- y: z
202
+ y: L
209
203
  },
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);
204
+ datapoints: b.datapoints.map((B) => {
205
+ const D = B.values.map((U, Mt) => {
206
+ const Pt = isNaN(U) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(U) ? 0 : U || 0, Tt = a + i * Mt, St = k.value.top + Fe + $.value * se.value * (1 - Ie(Pt + A)), Ot = U === Math.max(...B.values);
213
207
  return {
214
- x: gt,
215
- y: pt,
216
- value: H,
217
- isMaxPoint: mt,
218
- zero: z
208
+ x: Tt,
209
+ y: St,
210
+ value: U,
211
+ isMaxPoint: Ot,
212
+ zero: L
219
213
  };
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
214
+ }), Ct = `${Xt(D, L, !1, !1)}`, wt = `M ${a},${L} ${Ye(D)} ${D.at(-1).x},${L}`, $t = `M ${a},${L} ${D.at(-1).x},${L}`, Re = `M ${Et(D)}`, Xe = `M ${Ye(D)}`, _t = Ht(
215
+ e.value.style.chart.areas.smooth ? Re : Xe
222
216
  );
223
217
  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
218
+ ...B,
219
+ uid: ie(),
220
+ plots: D,
221
+ smoothPath: Ct,
222
+ straightPath: wt,
223
+ zeroPath: $t,
224
+ pathLength: _t,
225
+ smoothPathRidge: Re,
226
+ straightPathRidge: Xe
233
227
  };
234
- }).filter((E) => !P.value.includes(E.id))
228
+ }).filter((B) => !O.value.includes(B.id))
235
229
  };
236
230
  });
237
- }), P = i([]);
238
- function at(l) {
231
+ }), O = c([]);
232
+ function ft(l) {
239
233
  const s = /* @__PURE__ */ new Map();
240
234
  return l.forEach((t) => {
241
235
  t.datapoints.forEach((o, a) => {
242
- const u = Be(o.name);
243
- s.has(u) || s.set(u, {
244
- id: u,
236
+ const i = je(o.name);
237
+ s.has(i) || s.set(i, {
238
+ id: i,
245
239
  name: o.name,
246
240
  color: o.color,
247
241
  shape: "circle",
248
- segregate: () => we(u),
249
- isSegregated: P.value.includes(u),
250
- opacity: P.value.includes(u) ? 0.5 : 1
242
+ segregate: () => Me(i),
243
+ isSegregated: O.value.includes(i),
244
+ opacity: O.value.includes(i) ? 0.5 : 1
251
245
  });
252
246
  });
253
247
  }), Array.from(s.values());
254
248
  }
255
- const oe = g(() => at(_.value)), ot = g(() => ({
249
+ const re = f(() => ft(_.value)), pt = f(() => ({
256
250
  cy: "donut-div-legend",
257
251
  backgroundColor: e.value.style.chart.legend.backgroundColor,
258
252
  color: e.value.style.chart.legend.color,
259
253
  fontSize: e.value.style.chart.legend.fontSize,
260
254
  paddingBottom: 12,
261
255
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
262
- })), R = i(!1);
263
- function st(l) {
264
- R.value = l, fe.value += 1;
256
+ })), V = c(!1);
257
+ function mt(l) {
258
+ V.value = l, pe.value += 1;
265
259
  }
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) => ({
260
+ const Se = c({}), Oe = c([]);
261
+ function bt(l) {
262
+ ee("selectDatapoint", l), e.value.style.chart.dialog.show && (Oe.value = l.datapoints.map((s) => ({
269
263
  name: s.name,
270
264
  color: s.color,
271
265
  type: "line",
272
266
  useArea: !0,
273
267
  smooth: e.value.style.chart.areas.smooth,
274
268
  series: s.values
275
- })), N.value = l, Te.value = It({
269
+ })), F.value = l, Se.value = Yt({
276
270
  ...e.value.style.chart.dialog.xyChart,
277
271
  responsive: !0,
278
272
  // Overriding
@@ -295,23 +289,23 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
295
289
  // Overriding
296
290
  }
297
291
  }
298
- }), Z.value && Z.value.open());
292
+ }), te.value && te.value.open());
299
293
  }
300
- const se = i(null);
301
- function nt(l) {
302
- se.value = l;
294
+ const ne = c(null);
295
+ function xt(l) {
296
+ ne.value = l;
303
297
  }
304
- function ut() {
305
- se.value = null;
298
+ function kt() {
299
+ ne.value = null;
306
300
  }
307
- const U = i(!1);
308
- function re() {
309
- U.value = !U.value;
301
+ const W = c(!1);
302
+ function ue() {
303
+ W.value = !W.value;
310
304
  }
311
- function Oe() {
312
- X.value.showTable = !X.value.showTable;
305
+ function ze() {
306
+ H.value.showTable = !H.value.showTable;
313
307
  }
314
- const Se = g(() => ({ body: I.value.flatMap((t) => t.datapoints.flatMap((o) => ({
308
+ const Ne = f(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((o) => ({
315
309
  ...o,
316
310
  rowName: `${t.name}: ${o.name}`
317
311
  }))).map((t) => [
@@ -320,7 +314,7 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
320
314
  color: t.color
321
315
  },
322
316
  ...t.values
323
- ]) })), G = g(() => {
317
+ ]) })), j = f(() => {
324
318
  const l = [
325
319
  e.value.table.columnNames.series,
326
320
  ...e.value.style.chart.xAxis.labels.values
@@ -343,74 +337,74 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
343
337
  ...e.value.style.chart.xAxis.labels.values
344
338
  ],
345
339
  head: l,
346
- body: Se.value.body,
340
+ body: Ne.value.body,
347
341
  config: s
348
342
  };
349
343
  });
350
- function ze() {
351
- At(() => {
344
+ function Le() {
345
+ Lt(() => {
352
346
  const l = [
353
347
  [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)])
348
+ ...Ne.value.body.map((o, a) => [o[0].name, ...o.slice(1)])
355
349
  ], s = [
356
350
  [e.value.style.chart.title.text],
357
351
  [e.value.style.chart.title.subtitle.text]
358
- ].concat(l), t = Nt(s);
359
- Dt({
352
+ ].concat(l), t = Wt(s);
353
+ jt({
360
354
  csvContent: t,
361
355
  title: e.value.style.chart.title.text || "vue-ui-ridgeline"
362
356
  });
363
357
  });
364
358
  }
365
- function it() {
366
- return I.value;
359
+ function At() {
360
+ return X.value;
367
361
  }
368
- return je({
369
- getData: it,
370
- generateImage: Ce,
362
+ return Ke({
363
+ getData: At,
364
+ generateImage: _e,
371
365
  generatePdf: $e,
372
- generateCsv: ze,
373
- toggleAnnotator: re,
374
- toggleTable: Oe
366
+ generateCsv: Le,
367
+ toggleAnnotator: ue,
368
+ toggleTable: ze
375
369
  }), (l, s) => (r(), n("div", {
376
370
  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}`,
380
- style: M({
371
+ ref: G,
372
+ class: Y(`vue-ui-ridgeline ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
373
+ id: `vue-ui-ridgeline_${w.value}`,
374
+ style: P({
381
375
  fontFamily: e.value.style.fontFamily,
382
376
  width: "100%",
383
377
  textAlign: "center",
384
378
  background: e.value.style.chart.backgroundColor,
385
379
  height: e.value.responsive ? "100%" : void 0
386
380
  }),
387
- onMouseenter: s[4] || (s[4] = () => c(be)(!0)),
388
- onMouseleave: s[5] || (s[5] = () => c(be)(!1))
381
+ onMouseenter: s[4] || (s[4] = () => u(ke)(!0)),
382
+ onMouseleave: s[5] || (s[5] = () => u(ke)(!1))
389
383
  }, [
390
- e.value.userOptions.buttons.annotator && c(te) ? (r(), T(jt, {
384
+ e.value.userOptions.buttons.annotator && u(ae) ? (r(), T(u(at), {
391
385
  key: 0,
392
386
  color: e.value.style.chart.color,
393
387
  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),
388
+ active: W.value,
389
+ svgRef: u(ae),
390
+ onClose: ue
391
+ }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
398
392
  p(l.$slots, "userConfig", {}, void 0, !0),
399
- Qe.value ? (r(), n("div", {
393
+ vt.value ? (r(), n("div", {
400
394
  key: 1,
401
395
  ref_key: "noTitle",
402
- ref: ve,
396
+ ref: ye,
403
397
  class: "vue-data-ui-no-title-space",
404
398
  style: "height:36px; width: 100%;background:transparent"
405
- }, null, 512)) : h("", !0),
399
+ }, null, 512)) : v("", !0),
406
400
  e.value.style.chart.title.text ? (r(), n("div", {
407
401
  key: 2,
408
402
  ref_key: "chartTitle",
409
- ref: ie,
403
+ ref: ve,
410
404
  style: "width:100%;background:transparent;padding-bottom:24px"
411
405
  }, [
412
- (r(), T(Jt, {
413
- key: `title_${de.value}`,
406
+ (r(), T(tl, {
407
+ key: `title_${ge.value}`,
414
408
  config: {
415
409
  title: {
416
410
  cy: "ridgeline-div-title",
@@ -422,15 +416,15 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
422
416
  }
423
417
  }
424
418
  }, null, 8, ["config"]))
425
- ], 512)) : h("", !0),
426
- e.value.userOptions.show && O.value && (c(xe) || c(ee)) ? (r(), T(Et, {
419
+ ], 512)) : v("", !0),
420
+ e.value.userOptions.show && z.value && (u(Ae) || u(le)) ? (r(), T(u(rt), {
427
421
  ref: "details",
428
- key: `user_option_${fe.value}`,
422
+ key: `user_option_${pe.value}`,
429
423
  backgroundColor: e.value.style.chart.backgroundColor,
430
424
  color: e.value.style.chart.color,
431
- isPrinting: c(ke),
432
- isImaging: c(Ae),
433
- uid: C.value,
425
+ isPrinting: u(Ce),
426
+ isImaging: u(we),
427
+ uid: w.value,
434
428
  hasTooltip: !1,
435
429
  hasPdf: e.value.userOptions.buttons.pdf,
436
430
  hasImg: e.value.userOptions.buttons.img,
@@ -438,27 +432,27 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
438
432
  hasTable: e.value.userOptions.buttons.table,
439
433
  hasLabel: !1,
440
434
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
441
- isFullscreen: R.value,
442
- chartElement: V.value,
435
+ isFullscreen: V.value,
436
+ chartElement: G.value,
443
437
  position: e.value.userOptions.position,
444
438
  isTooltip: !1,
445
439
  titles: { ...e.value.userOptions.buttonTitles },
446
440
  hasAnnotator: e.value.userOptions.buttons.annotator,
447
- isAnnotation: U.value,
448
- style: M({
449
- visibility: c(xe) ? c(ee) ? "visible" : "hidden" : "visible"
441
+ isAnnotation: W.value,
442
+ style: P({
443
+ visibility: u(Ae) ? u(le) ? "visible" : "hidden" : "visible"
450
444
  }),
451
- onToggleFullscreen: st,
452
- onGeneratePdf: c($e),
453
- onGenerateCsv: ze,
454
- onGenerateImage: c(Ce),
455
- onToggleTable: Oe,
456
- onToggleAnnotator: re
457
- }, Re({ _: 2 }, [
445
+ onToggleFullscreen: mt,
446
+ onGeneratePdf: u($e),
447
+ onGenerateCsv: Le,
448
+ onGenerateImage: u(_e),
449
+ onToggleTable: ze,
450
+ onToggleAnnotator: ue
451
+ }, Ve({ _: 2 }, [
458
452
  l.$slots.menuIcon ? {
459
453
  name: "menuIcon",
460
454
  fn: m(({ isOpen: t, color: o }) => [
461
- p(l.$slots, "menuIcon", j(Y({ isOpen: t, color: o })), void 0, !0)
455
+ p(l.$slots, "menuIcon", q(J({ isOpen: t, color: o })), void 0, !0)
462
456
  ]),
463
457
  key: "0"
464
458
  } : void 0,
@@ -500,30 +494,31 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
500
494
  l.$slots.optionFullscreen ? {
501
495
  name: "optionFullscreen",
502
496
  fn: m(({ toggleFullscreen: t, isFullscreen: o }) => [
503
- p(l.$slots, "optionFullscreen", j(Y({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
497
+ p(l.$slots, "optionFullscreen", q(J({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
504
498
  ]),
505
499
  key: "6"
506
500
  } : void 0,
507
501
  l.$slots.optionAnnotator ? {
508
502
  name: "optionAnnotator",
509
503
  fn: m(({ toggleAnnotator: t, isAnnotator: o }) => [
510
- p(l.$slots, "optionAnnotator", j(Y({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
504
+ p(l.$slots, "optionAnnotator", q(J({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
511
505
  ]),
512
506
  key: "7"
513
507
  } : 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", {
508
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
509
+ z.value ? (r(), n("svg", {
516
510
  key: 4,
517
511
  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 }),
512
+ ref: ae,
513
+ xmlns: u(Vt),
514
+ class: Y({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
521
515
  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%;` : ""}`)
516
+ style: P(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${be.value}px; width: 100%;` : ""}`)
523
517
  }, [
518
+ Be(u(lt)),
524
519
  d("defs", null, [
525
- (r(!0), n(f, null, $(oe.value, (t, o) => (r(), n("linearGradient", {
526
- id: `gradient-${t.id}-${C.value}`,
520
+ (r(!0), n(g, null, C(re.value, (t, o) => (r(), n("linearGradient", {
521
+ id: `gradient-${t.id}-${w.value}`,
527
522
  x1: "50%",
528
523
  y1: "0%",
529
524
  x2: "50%",
@@ -533,27 +528,27 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
533
528
  offset: "0%",
534
529
  "stop-color": t.color,
535
530
  "stop-opacity": "1"
536
- }, null, 8, ll),
531
+ }, null, 8, rl),
537
532
  d("stop", {
538
533
  offset: "30%",
539
534
  "stop-color": t.color,
540
535
  "stop-opacity": "0.7"
541
- }, null, 8, al),
536
+ }, null, 8, nl),
542
537
  d("stop", {
543
538
  offset: "70%",
544
539
  "stop-color": t.color,
545
540
  "stop-opacity": "0.3"
546
- }, null, 8, ol),
541
+ }, null, 8, ul),
547
542
  d("stop", {
548
543
  offset: "100%",
549
544
  "stop-color": t.color,
550
545
  "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", {
546
+ }, null, 8, il)
547
+ ], 8, sl))), 256)),
548
+ (r(!0), n(g, null, C(X.value, (t, o) => (r(), n(g, null, [
549
+ (r(!0), n(g, null, C(t.datapoints, (a, i) => (r(), n("linearGradient", {
555
550
  key: `grad${a.id}`,
556
- id: `gradient-single-${C.value}-${a.uid}`,
551
+ id: `gradient-single-${w.value}-${a.uid}`,
557
552
  x1: "50%",
558
553
  y1: "0%",
559
554
  x2: "50%",
@@ -563,45 +558,45 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
563
558
  offset: "0%",
564
559
  "stop-color": a.color,
565
560
  "stop-opacity": "1"
566
- }, null, 8, nl),
561
+ }, null, 8, vl),
567
562
  d("stop", {
568
563
  offset: "30%",
569
564
  "stop-color": a.color,
570
565
  "stop-opacity": "0.7"
571
- }, null, 8, ul),
566
+ }, null, 8, hl),
572
567
  d("stop", {
573
568
  offset: "70%",
574
569
  "stop-color": a.color,
575
570
  "stop-opacity": "0.3"
576
- }, null, 8, il),
571
+ }, null, 8, dl),
577
572
  d("stop", {
578
573
  offset: "100%",
579
574
  "stop-color": a.color,
580
575
  "stop-opacity": "0.1"
581
- }, null, 8, cl)
582
- ], 8, rl))), 128))
576
+ }, null, 8, yl)
577
+ ], 8, cl))), 128))
583
578
  ], 64))), 256))
584
579
  ]),
585
- (r(!0), n(f, null, $(I.value, (t, o) => (r(), n("g", {
580
+ (r(!0), n(g, null, C(X.value, (t, o) => (r(), n("g", {
586
581
  key: `ds-${o}`
587
582
  }, [
588
- (r(!0), n(f, null, $(t.datapoints, (a, u) => (r(), n("g", {
583
+ (r(!0), n(g, null, C(t.datapoints, (a, i) => (r(), n("g", {
589
584
  key: a.id
590
585
  }, [
591
- l.$slots.pattern ? (r(), n("g", hl, [
586
+ l.$slots.pattern ? (r(), n("g", gl, [
592
587
  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)
588
+ p(l.$slots, "pattern", Ue({ ref_for: !0 }, { datapointIndex: o, seriesIndex: i, patternId: `pattern_${w.value}_${a.uid}` }), void 0, !0)
594
589
  ])
595
- ])) : h("", !0),
590
+ ])) : v("", !0),
596
591
  d("path", {
597
- fill: l.$slots.pattern ? `url(#pattern_${C.value}_${a.uid})` : e.value.style.chart.backgroundColor,
592
+ fill: l.$slots.pattern ? `url(#pattern_${w.value}_${a.uid})` : e.value.style.chart.backgroundColor,
598
593
  stroke: "none",
599
594
  "stroke-linecap": "round",
600
595
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
601
- style: M({
596
+ style: P({
602
597
  opacity: e.value.style.chart.areas.opacity
603
598
  })
604
- }, null, 12, vl),
599
+ }, null, 12, fl),
605
600
  d("path", {
606
601
  fill: "none",
607
602
  stroke: e.value.style.chart.areas.stroke.useSerieColor ? a.color : e.value.style.chart.areas.stroke.color,
@@ -609,24 +604,24 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
609
604
  d: e.value.style.chart.areas.smooth ? a.smoothPathRidge : a.straightPathRidge,
610
605
  "stroke-linecap": "round",
611
606
  "stroke-linejoin": "round",
612
- class: W({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
613
- style: M({
607
+ class: Y({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
608
+ style: P({
614
609
  strokeDasharray: a.pathLength,
615
610
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
616
611
  })
617
- }, null, 14, dl),
612
+ }, null, 14, pl),
618
613
  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,
614
+ 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
615
  stroke: "none",
621
616
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
622
617
  "stroke-linecap": "round",
623
618
  "stroke-linejoin": "round",
624
- class: W({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
625
- style: M({
619
+ class: Y({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
620
+ style: P({
626
621
  strokeDasharray: a.pathLength,
627
622
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
628
623
  })
629
- }, null, 14, yl),
624
+ }, null, 14, ml),
630
625
  e.value.style.chart.zeroLine.show ? (r(), n("path", {
631
626
  key: 1,
632
627
  stroke: e.value.style.chart.zeroLine.useSerieColor ? a.color : e.value.style.chart.zeroLine.stroke,
@@ -634,20 +629,20 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
634
629
  "stroke-width": e.value.style.chart.zeroLine.strokeWidth,
635
630
  d: a.zeroPath,
636
631
  "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, [
632
+ }, null, 8, bl)) : v("", !0),
633
+ e.value.style.chart.areas.maxPoint.show && a.plots.length > 1 ? (r(!0), n(g, { key: 2 }, C(a.plots, (A) => (r(), n(g, null, [
639
634
  A.isMaxPoint ? (r(), n("line", {
640
635
  key: 0,
641
636
  x1: A.x,
642
637
  y1: A.y,
643
638
  x2: A.x,
644
639
  y2: A.zero,
645
- stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? c(St)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
640
+ stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(Bt)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
646
641
  "stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
647
642
  "stroke-linecap": "round",
648
643
  "stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
649
- }, null, 8, gl)) : h("", !0)
650
- ], 64))), 256)) : h("", !0),
644
+ }, null, 8, xl)) : v("", !0)
645
+ ], 64))), 256)) : v("", !0),
651
646
  a.plots.length === 1 ? (r(), n("circle", {
652
647
  key: 3,
653
648
  cx: a.plots[0].x,
@@ -659,7 +654,7 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
659
654
  style: {
660
655
  pointerEvents: "none"
661
656
  }
662
- }, null, 8, pl)) : h("", !0)
657
+ }, null, 8, kl)) : v("", !0)
663
658
  ]))), 128)),
664
659
  d("text", {
665
660
  x: t.label.x,
@@ -668,18 +663,18 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
668
663
  "font-size": e.value.style.chart.yAxis.labels.fontSize,
669
664
  "font-weight": e.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
670
665
  fill: e.value.style.chart.yAxis.labels.color,
671
- style: M({
666
+ style: P({
672
667
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
673
668
  }),
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)
669
+ "text-decoration": e.value.style.chart.dialog.show && (ne.value === o || F.value && t.uid === F.value.uid) ? "underline" : "",
670
+ onMouseenter: (a) => xt(o),
671
+ onMouseleave: kt,
672
+ onClick: (a) => bt(t)
673
+ }, E(t.name), 45, Al)
679
674
  ]))), 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,
675
+ e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", Cl, [
676
+ (r(!0), n(g, null, C(R.value, (t, o) => p(l.$slots, "time-label", Ue({ ref_for: !0 }, {
677
+ 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
678
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
684
679
  content: t.label,
685
680
  textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -688,46 +683,46 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
688
683
  x: t.selectorX,
689
684
  y: k.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
690
685
  }), () => [
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", {
686
+ 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
687
  key: 0,
693
688
  "font-size": e.value.style.chart.xAxis.labels.fontSize,
694
689
  fill: e.value.style.chart.xAxis.labels.color,
695
690
  "font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
696
691
  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
692
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
698
- style: M({
699
- opacity: v.value ? v.value.index === o ? 1 : 0.2 : 1
693
+ style: P({
694
+ opacity: h.value ? h.value.index === o ? 1 : 0.2 : 1
700
695
  })
701
- }, F(t.label), 13, xl)) : h("", !0)
696
+ }, E(t.label), 13, wl)) : v("", !0)
702
697
  ], !0)), 256))
703
- ])) : h("", !0),
698
+ ])) : v("", !0),
704
699
  d("g", null, [
705
- (r(!0), n(f, null, $(D.value, (t, o) => (r(), n("rect", {
700
+ (r(!0), n(g, null, C(R.value, (t, o) => (r(), n("rect", {
706
701
  x: t.x,
707
702
  y: t.y,
708
703
  width: t.width < 0 ? 0.1 : t.width,
709
704
  height: t.height < 0 ? 0.1 : t.height,
710
705
  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", {
706
+ onMouseenter: (a) => h.value = t,
707
+ onMouseleave: s[0] || (s[0] = (a) => h.value = null),
708
+ onClick: () => dt(t)
709
+ }, null, 40, $l))), 256)),
710
+ e.value.style.chart.selector.show && h.value ? (r(), n("line", {
716
711
  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,
712
+ x1: h.value.selectorX,
713
+ x2: h.value.selectorX,
714
+ y1: h.value.y,
715
+ y2: h.value.y + h.value.height - $.value / 2,
721
716
  stroke: e.value.style.chart.selector.stroke,
722
717
  "stroke-width": e.value.style.chart.selector.strokeWidth,
723
718
  "stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
724
719
  "stroke-linecap": "round",
725
720
  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", {
721
+ }, null, 8, _l)) : v("", !0),
722
+ h.value ? (r(!0), n(g, { key: 1 }, C(X.value, (t) => (r(), n(g, null, [
723
+ (r(!0), n(g, null, C(t.datapoints, (o) => (r(), n(g, null, [
724
+ (r(!0), n(g, null, C(o.plots, (a, i) => (r(), n(g, null, [
725
+ h.value && h.value.index === i ? (r(), n("circle", {
731
726
  key: 0,
732
727
  cx: a.x,
733
728
  cy: a.y,
@@ -738,15 +733,15 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
738
733
  style: {
739
734
  pointerEvents: "none"
740
735
  }
741
- }, null, 8, $l)) : h("", !0),
742
- v.value && v.value.index === u ? (r(), n("text", {
736
+ }, null, 8, Ml)) : v("", !0),
737
+ h.value && h.value.index === i ? (r(), n("text", {
743
738
  key: 1,
744
- x: Me(
739
+ x: Te(
745
740
  a.x,
746
- c(J)(
741
+ u(Q)(
747
742
  e.value.style.chart.selector.labels.formatter,
748
743
  a.value,
749
- c(K)({
744
+ u(Z)({
750
745
  p: e.value.style.chart.xAxis.labels.prefix,
751
746
  v: a.value,
752
747
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -756,12 +751,12 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
756
751
  e.value.style.chart.selector.labels.fontSize
757
752
  ) ? a.x - e.value.style.chart.selector.labels.fontSize / 2 : a.x + e.value.style.chart.selector.labels.fontSize / 2,
758
753
  y: a.y + e.value.style.chart.selector.labels.fontSize / 3,
759
- "text-anchor": Me(
754
+ "text-anchor": Te(
760
755
  a.x,
761
- c(J)(
756
+ u(Q)(
762
757
  e.value.style.chart.selector.labels.formatter,
763
758
  a.value,
764
- c(K)({
759
+ u(Z)({
765
760
  p: e.value.style.chart.xAxis.labels.prefix,
766
761
  v: a.value,
767
762
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -775,26 +770,26 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
775
770
  style: {
776
771
  pointerEvents: "none"
777
772
  }
778
- }, F(c(J)(
773
+ }, E(u(Q)(
779
774
  e.value.style.chart.selector.labels.formatter,
780
775
  a.value,
781
- c(K)({
776
+ u(Z)({
782
777
  p: e.value.style.chart.xAxis.labels.prefix,
783
778
  v: a.value,
784
779
  s: e.value.style.chart.xAxis.labels.suffix,
785
780
  r: e.value.style.chart.selector.labels.rounding
786
781
  })
787
- )), 9, Cl)) : h("", !0)
782
+ )), 9, Pl)) : v("", !0)
788
783
  ], 64))), 256))
789
784
  ], 64))), 256))
790
- ], 64))), 256)) : h("", !0)
785
+ ], 64))), 256)) : v("", !0)
791
786
  ]),
792
787
  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, {
788
+ ], 14, ol)) : v("", !0),
789
+ l.$slots.watermark ? (r(), n("div", Tl, [
790
+ p(l.$slots, "watermark", q(J({ isPrinting: u(Ce) || u(we) })), void 0, !0)
791
+ ])) : v("", !0),
792
+ z.value ? v("", !0) : (r(), T(u(st), {
798
793
  key: 6,
799
794
  config: {
800
795
  type: "ridgeline",
@@ -808,51 +803,51 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
808
803
  }, null, 8, ["config"])),
809
804
  d("div", {
810
805
  ref_key: "chartLegend",
811
- ref: ce
806
+ ref: he
812
807
  }, [
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({
808
+ e.value.style.chart.legend.show ? (r(), T(el, {
809
+ key: `legend_${fe.value}`,
810
+ legendSet: re.value,
811
+ config: pt.value,
812
+ onClickMarker: s[1] || (s[1] = ({ legend: t }) => Me(t.id))
813
+ }, Ve({
819
814
  item: m(({ legend: t }) => [
820
815
  d("div", {
821
- style: M(`opacity:${P.value.includes(t.id) ? 0.5 : 1}`),
816
+ style: P(`opacity:${O.value.includes(t.id) ? 0.5 : 1}`),
822
817
  onClick: (o) => t.segregate()
823
- }, F(t.name), 13, _l)
818
+ }, E(t.name), 13, Sl)
824
819
  ]),
825
820
  _: 2
826
821
  }, [
827
822
  l.$slots.pattern ? {
828
823
  name: "legend-pattern",
829
824
  fn: m(({ legend: t, index: o }) => [
830
- kt(Yt, {
825
+ Be(u(ot), {
831
826
  shape: t.shape,
832
827
  radius: 30,
833
828
  stroke: "none",
834
829
  plot: { x: 30, y: 30 },
835
- fill: `url(#pattern_${C.value}_${o})`
830
+ fill: `url(#pattern_${w.value}_${o})`
836
831
  }, null, 8, ["shape", "fill"])
837
832
  ]),
838
833
  key: "0"
839
834
  } : void 0
840
- ]), 1032, ["legendSet", "config"])) : h("", !0),
841
- p(l.$slots, "legend", { legend: oe.value }, void 0, !0)
835
+ ]), 1032, ["legendSet", "config"])) : v("", !0),
836
+ p(l.$slots, "legend", { legend: re.value }, void 0, !0)
842
837
  ], 512),
843
838
  l.$slots.source ? (r(), n("div", {
844
839
  key: 7,
845
840
  ref_key: "source",
846
- ref: he,
841
+ ref: de,
847
842
  dir: "auto"
848
843
  }, [
849
844
  p(l.$slots, "source", {}, void 0, !0)
850
- ], 512)) : h("", !0),
851
- O.value ? (r(), T(Bt, {
845
+ ], 512)) : v("", !0),
846
+ z.value ? (r(), T(u(Ze), {
852
847
  key: 8,
853
848
  hideDetails: "",
854
849
  config: {
855
- open: X.value.showTable,
850
+ open: H.value.showTable,
856
851
  maxHeight: 1e4,
857
852
  body: {
858
853
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -865,23 +860,23 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
865
860
  }
866
861
  }, {
867
862
  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,
863
+ (r(), T(u(tt), {
864
+ key: `table_${it.value}`,
865
+ colNames: j.value.colNames,
866
+ head: j.value.head,
867
+ body: j.value.body,
868
+ config: j.value.config,
874
869
  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)
870
+ onClose: s[2] || (s[2] = (t) => H.value.showTable = !1)
876
871
  }, {
877
872
  th: m(({ th: t }) => [
878
- d("div", { innerHTML: t }, null, 8, Ml)
873
+ d("div", { innerHTML: t }, null, 8, Ol)
879
874
  ]),
880
875
  td: m(({ td: t }) => [
881
- He(F(t.name ? t.name : c(J)(
876
+ Ge(E(t.name ? t.name : u(Q)(
882
877
  e.value.style.chart.selector.labels.formatter,
883
878
  t,
884
- c(K)({
879
+ u(Z)({
885
880
  p: e.value.style.chart.xAxis.labels.prefix,
886
881
  v: t,
887
882
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -893,32 +888,32 @@ const Zt = ["id"], el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"],
893
888
  }, 8, ["colNames", "head", "body", "config", "title"]))
894
889
  ]),
895
890
  _: 1
896
- }, 8, ["config"])) : h("", !0),
897
- e.value.style.chart.dialog.show ? (r(), T(Ut, {
891
+ }, 8, ["config"])) : v("", !0),
892
+ e.value.style.chart.dialog.show ? (r(), T(u(et), {
898
893
  key: 9,
899
894
  ref_key: "dialog",
900
- ref: Z,
901
- onClose: s[3] || (s[3] = (t) => N.value = null),
895
+ ref: te,
896
+ onClose: s[3] || (s[3] = (t) => F.value = null),
902
897
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
903
898
  color: e.value.style.chart.dialog.color,
904
899
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
905
900
  headerColor: e.value.style.chart.dialog.header.color
906
901
  }, {
907
902
  title: m(() => [
908
- He(F(N.value.name), 1)
903
+ Ge(E(F.value.name), 1)
909
904
  ]),
910
905
  default: m(() => [
911
- N.value ? (r(), T(Kt, {
906
+ F.value ? (r(), T(u(nt), {
912
907
  key: 0,
913
- config: Te.value,
914
- dataset: Pe.value
915
- }, null, 8, ["config", "dataset"])) : h("", !0)
908
+ config: Se.value,
909
+ dataset: Oe.value
910
+ }, null, 8, ["config", "dataset"])) : v("", !0)
916
911
  ]),
917
912
  _: 1
918
- }, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : h("", !0)
919
- ], 46, Zt));
913
+ }, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : v("", !0)
914
+ ], 46, al));
920
915
  }
921
- }, Wl = /* @__PURE__ */ Qt(Tl, [["__scopeId", "data-v-9c3affc2"]]);
916
+ }, Bl = /* @__PURE__ */ ll(zl, [["__scopeId", "data-v-403f8970"]]);
922
917
  export {
923
- Wl as default
918
+ Bl as default
924
919
  };