vue-data-ui 3.5.0 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-Y7t79Jtq.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-BzH_LEA3.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-CReNavA0.js} +23 -9
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-BRaq4hRp.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-BB4ii8Nt.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-BmFTVF1a.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-8bUepd28.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-CcpaXBNK.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BvT4scFv.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-CMP7UL6z.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-CzOcKsDj.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-S787oASt.js} +375 -355
  83. package/dist/vue-ui-chord-Dl9Y4mcz.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-CU09BzOV.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-C3yD_TUr.js} +1 -1
  86. package/dist/vue-ui-dashboard-BfEcVRxQ.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-pRh179Gg.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-B_tEm4dT.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-DiGhMwMO.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-BlF3CLbN.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-BQi5L8mJ.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-CM_6Sare.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-BnZA62Li.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-DAk72bez.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BQzQlUJ8.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-C9MhHWpp.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-BYQh3E8U.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-jcrPjW4C.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-DTM98mRN.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-Bd1OXvl3.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-DuoiTsYn.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-BTswQFjz.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-D-1U2Qgl.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-D-7VFHas.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-CeM23s0z.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-C0RMQzjC.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-BSfxyur3.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-tj97undO.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-C7uV2mIj.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CYMfTlwI.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-C96aj57d.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CtvOXUnx.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-87TORm6s.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-B74geHT3.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-6_Ibziyv.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-BDCocMLI.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-CQ4Zk9-f.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-BlTV9wfn.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-DWESyiqL.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-DK_7X8mL.js} +2 -2
  121. package/dist/vue-ui-stackbar-BWuw8ff4.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-C1N2n39d.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-CcuoPHgI.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-C9EMEM3Z.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-BAxmZRff.js} +2 -2
  126. package/dist/vue-ui-thermometer-CDrM-WFq.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BVsUQJz_.js} +3 -3
  128. package/dist/vue-ui-tiremarks-BQH2pNkG.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-6WLoCHsH.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-B3gfBqD_.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-Bhlqo4xM.js} +219 -199
  132. package/dist/vue-ui-wheel-CqHw1WuW.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-CKuWZGLv.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-C8KVyDim.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-Cz2qIEfi.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-y4h7gEFp.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as L, computed as c, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Mt, onBeforeUnmount as Ye, watchEffect as Ft, createElementBlock as u, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as O, createCommentVNode as d, createVNode as me, createSlots as je, withCtx as b, renderSlot as y, normalizeProps as M, guardReactiveProps as F, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, mergeProps as qe, resolveDynamicComponent as It, createTextVNode as Je, nextTick as Rt } from "vue";
2
- import { c as ge, t as Bt, b as Wt, p as P, o as Qe, f as xe, g as Ke, e as Et, h as Ze, x as Gt, m as Ht, d as Q, X as Ut, a as ke, M as Vt, al as Xt, S as Yt, U as jt, G as et, R as qt, P as Jt, Q as Qt, H as Kt } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as _, computed as d, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Mt, onBeforeUnmount as Ye, watchEffect as Ft, createElementBlock as u, openBlock as r, unref as c, normalizeStyle as J, normalizeClass as E, createBlock as z, createCommentVNode as f, createVNode as me, withCtx as v, renderSlot as h, normalizeProps as m, guardReactiveProps as g, createSlots as je, createElementVNode as x, Fragment as k, renderList as T, toDisplayString as S, mergeProps as qe, resolveDynamicComponent as It, createTextVNode as Je, nextTick as Rt } from "vue";
2
+ import { c as ge, t as Bt, b as Wt, p as D, o as Qe, f as xe, g as Ke, e as Et, h as Ze, x as Gt, m as Ht, d as Q, X as Ut, a as ke, M as Vt, al as Xt, S as Yt, U as jt, G as et, R as qt, P as Jt, Q as Qt, H as Kt } from "./lib-C_mNZmhD.js";
3
3
  import { t as tt, u as Zt } from "./useResponsive-DfdjqQps.js";
4
- import { u as el, a as lt } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as el, a as lt } from "./useNestedProp-CReNavA0.js";
5
5
  import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as al } from "./usePrinter-DTzqpYKF.js";
7
7
  import { u as ol } from "./useSvgExport-DrjCWun4.js";
@@ -10,10 +10,10 @@ import { u as rl } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
11
  import ul from "./img-BecE5qXd.js";
12
12
  import { _ as il } from "./Shape-CNXKB8O0.js";
13
- import vl from "./Title-l36lOBMx.js";
14
- import { t as cl } from "./themes-AUNCOb2G.js";
13
+ import cl from "./Title-BzH_LEA3.js";
14
+ import { t as vl } from "./themes-AUNCOb2G.js";
15
15
  import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"], bl = { key: 1 }, yl = { key: 0 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = { key: 1 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "text-anchor"], Ll = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], _l = ["fill", "font-size", "transform"], Tl = ["fill", "font-size", "x", "y"], $l = ["x1", "x2", "y1", "y2", "stroke"], Sl = ["cx", "cy", "fill"], Ol = ["cx", "cy", "fill"], Pl = ["id"], zl = ["stop-color"], Dl = ["stop-color"], Nl = ["stop-color"], Ml = { key: 0 }, Fl = ["x", "y", "font-size", "fill"], Il = {
16
+ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"], bl = { key: 1 }, yl = { key: 0 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = { key: 1 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "text-anchor"], Ll = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], $l = ["fill", "font-size", "transform"], _l = ["fill", "font-size", "x", "y"], Tl = ["x1", "x2", "y1", "y2", "stroke"], Sl = ["cx", "cy", "fill"], Ol = ["cx", "cy", "fill"], Pl = ["id"], zl = ["stop-color"], Dl = ["stop-color"], Nl = ["stop-color"], Ml = { key: 0 }, Fl = ["x", "y", "font-size", "fill"], Il = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
19
  }, Rl = ["innerHTML"], Bl = {
@@ -34,17 +34,17 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
34
34
  },
35
35
  emits: ["selectDatapoint"],
36
36
  setup(at, { expose: ot, emit: st }) {
37
- const rt = L(() => import("./Tooltip-oWCO1HKy.js")), nt = L(() => import("./BaseIcon-BmMbm4d0.js")), ut = L(() => import("./vue-ui-accordion-CZ0thhxa.js")), it = L(() => import("./DataTable-BT7VF2ua.js")), vt = L(() => import("./UserOptions-CGnQt6Fd.js")), ct = L(() => import("./PenAndPaper-DSvu9dwa.js")), ht = L(() => import("./PackageVersion-Cyx_s25h.js")), dt = L(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_strip_plot: pt } = el(), x = at, ft = st, G = c({
37
+ const rt = _(() => import("./Tooltip-oWCO1HKy.js")), nt = _(() => import("./BaseIcon-BmMbm4d0.js")), ut = _(() => import("./vue-ui-accordion-BmFTVF1a.js")), it = _(() => import("./DataTable-BT7VF2ua.js")), ct = _(() => import("./UserOptions-CGnQt6Fd.js")), vt = _(() => import("./PenAndPaper-SZQIAgkg.js")), ht = _(() => import("./PackageVersion-Y7t79Jtq.js")), dt = _(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_strip_plot: pt } = el(), w = at, ft = st, G = d({
38
38
  get() {
39
- return !!x.dataset && x.dataset.length;
39
+ return !!w.dataset && w.dataset.length;
40
40
  },
41
41
  set(t) {
42
42
  return t;
43
43
  }
44
- }), K = i(ge()), we = i(0), Z = i(!1), ee = i(""), w = i(null), Ce = i(null), Ae = i(null), Le = i(null), _e = i(!1), Te = i(0), $e = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ve()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = tl({
45
- ...Nt(x),
44
+ }), K = i(ge()), we = i(0), Z = i(!1), ee = i(""), A = i(null), Ce = i(null), Ae = i(null), Le = i(null), $e = i(!1), _e = i(0), Te = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ce()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = tl({
45
+ ...Nt(w),
46
46
  FINAL_CONFIG: e,
47
- prepareConfig: ve,
47
+ prepareConfig: ce,
48
48
  skeletonDataset: [
49
49
  {
50
50
  name: "_",
@@ -132,35 +132,35 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
132
132
  }
133
133
  })
134
134
  }), { userOptionsVisible: ue, setUserOptionsVisibility: Se, keepUserOptionState: Oe } = sl({ config: e.value }), { svgRef: ie } = rl({ config: e.value.style.chart.title });
135
- function ve() {
135
+ function ce() {
136
136
  const t = lt({
137
- userConfig: x.config,
137
+ userConfig: w.config,
138
138
  defaultConfig: pt
139
139
  });
140
140
  return t.theme ? {
141
141
  ...lt({
142
- userConfig: cl.vue_ui_strip_plot[t.theme] || x.config,
142
+ userConfig: vl.vue_ui_strip_plot[t.theme] || w.config,
143
143
  defaultConfig: t
144
144
  }),
145
- customPalette: Wt[t.theme] || P
145
+ customPalette: Wt[t.theme] || D
146
146
  } : t;
147
147
  }
148
- q(() => x.config, async (t) => {
149
- se.value || (e.value = ve()), ue.value = !e.value.userOptions.showOnChartHover, Pe(), Te.value += 1, $e.value += 1, p.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, D.value = e.value.style.chart.width, A.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
150
- }, { deep: !0 }), q(() => x.dataset, (t) => {
148
+ q(() => w.config, async (t) => {
149
+ se.value || (e.value = ce()), ue.value = !e.value.userOptions.showOnChartHover, Pe(), _e.value += 1, Te.value += 1, b.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.chart.tooltip.show, M.value = e.value.style.chart.width, $.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
150
+ }, { deep: !0 }), q(() => w.dataset, (t) => {
151
151
  Array.isArray(t) && t.length > 0 && (ne.value = !1);
152
152
  }, { deep: !0 });
153
- const C = Xe(null), z = Xe(null);
153
+ const L = Xe(null), N = Xe(null);
154
154
  Mt(() => {
155
155
  Pe();
156
156
  });
157
- const ce = c(() => !!e.value.debug);
157
+ const ve = d(() => !!e.value.debug);
158
158
  function Pe() {
159
- if (Qe(x.dataset) ? (xe({
159
+ if (Qe(w.dataset) ? (xe({
160
160
  componentName: "VueUiStripPlot",
161
161
  type: "dataset",
162
- debug: ce.value
163
- }), ne.value = !0) : x.dataset.forEach((t, a) => {
162
+ debug: ve.value
163
+ }), ne.value = !0) : w.dataset.forEach((t, a) => {
164
164
  Ke({
165
165
  datasetObject: t,
166
166
  requiredAttributes: ["name", "plots"]
@@ -170,7 +170,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
170
170
  type: "datasetSerieAttribute",
171
171
  property: l,
172
172
  index: a,
173
- debug: ce.value
173
+ debug: ve.value
174
174
  });
175
175
  }), t.plots && t.plots.forEach((l, o) => {
176
176
  Ke({
@@ -182,20 +182,20 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
182
182
  type: "datasetSerieAttribute",
183
183
  property: n,
184
184
  index: `${a},${o}`,
185
- debug: ce.value
185
+ debug: ve.value
186
186
  });
187
187
  });
188
188
  });
189
- }), Qe(x.dataset) || (ne.value = e.value.loading), e.value.responsive) {
189
+ }), Qe(w.dataset) || (ne.value = e.value.loading), e.value.responsive) {
190
190
  const t = tt(() => {
191
191
  const { width: a, height: l } = Zt({
192
- chart: w.value,
192
+ chart: A.value,
193
193
  title: e.value.style.chart.title.text ? Ce.value : null,
194
194
  source: Ae.value,
195
195
  noTitle: Le.value
196
196
  });
197
197
  requestAnimationFrame(() => {
198
- yt.value = l, D.value = Math.max(0.1, a), A.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? B.value = qt({
198
+ yt.value = l, M.value = Math.max(0.1, a), $.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? B.value = qt({
199
199
  relator: Math.min(l, a),
200
200
  adjuster: 600,
201
201
  source: e.value.style.chart.plots.radius,
@@ -204,25 +204,25 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
204
204
  }) : B.value = e.value.style.chart.plots.radius;
205
205
  });
206
206
  });
207
- C.value && (z.value && C.value.unobserve(z.value), C.value.disconnect()), C.value = new ResizeObserver(t), z.value = w.value.parentNode, C.value.observe(z.value);
207
+ L.value && (N.value && L.value.unobserve(N.value), L.value.disconnect()), L.value = new ResizeObserver(t), N.value = A.value.parentNode, L.value.observe(N.value);
208
208
  }
209
- _e.value = !0, setTimeout(() => {
209
+ $e.value = !0, setTimeout(() => {
210
210
  R.value = !1;
211
211
  }, kt.value * 50);
212
212
  }
213
213
  Ye(() => {
214
- C.value && (z.value && C.value.unobserve(z.value), C.value.disconnect());
214
+ L.value && (N.value && L.value.unobserve(N.value), L.value.disconnect());
215
215
  });
216
216
  const { isPrinting: ze, isImaging: De, generatePdf: Ne, generateImage: Me } = al({
217
217
  elementId: `strip-plot_${K.value}`,
218
218
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
219
219
  options: e.value.userOptions.print
220
- }), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = c(() => Et(e.value.customPalette)), R = i(e.value.useCssAnimation), U = i({
220
+ }), bt = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = d(() => Et(e.value.customPalette)), R = i(e.value.useCssAnimation), U = i({
221
221
  top: e.value.style.chart.padding.top,
222
222
  bottom: e.value.style.chart.padding.bottom,
223
223
  left: e.value.style.chart.padding.left,
224
224
  right: e.value.style.chart.padding.right
225
- }), D = i(e.value.style.chart.width), A = i(e.value.style.chart.height), yt = i(e.value.style.chart.height), B = i(e.value.style.chart.plots.radius), p = i({
225
+ }), M = i(e.value.style.chart.width), $ = i(e.value.style.chart.height), yt = i(e.value.style.chart.height), B = i(e.value.style.chart.plots.radius), b = i({
226
226
  showTable: e.value.table.show,
227
227
  dataLabels: {
228
228
  show: e.value.style.chart.labels.bestPlotLabel.show
@@ -230,20 +230,20 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
230
230
  showTooltip: e.value.style.chart.tooltip.show
231
231
  });
232
232
  q(e, () => {
233
- p.value = {
233
+ b.value = {
234
234
  showTable: e.value.table.show,
235
235
  dataLabels: {
236
236
  show: e.value.style.chart.labels.bestPlotLabel.show
237
237
  },
238
238
  showTooltip: e.value.style.chart.tooltip.show
239
- }, D.value = e.value.style.chart.width, A.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
239
+ }, M.value = e.value.style.chart.width, $.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
240
240
  }, { immediate: !0 });
241
- const he = c(() => Math.min(B.value, s.value.stripWidth / 2 * 0.9));
241
+ const he = d(() => Math.min(B.value, s.value.stripWidth / 2 * 0.9));
242
242
  function mt() {
243
243
  let t = 0;
244
244
  oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((o, n) => {
245
- const h = n.getComputedTextLength();
246
- return h > o ? h : o;
245
+ const p = n.getComputedTextLength();
246
+ return p > o ? p : o;
247
247
  }, 0));
248
248
  const a = ae.value ? ae.value.getBoundingClientRect().width : 0;
249
249
  return t + a + (a ? 24 : 0);
@@ -261,29 +261,29 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
261
261
  }), Ye(() => {
262
262
  de.value = 0;
263
263
  });
264
- const xt = c(() => {
264
+ const xt = d(() => {
265
265
  let t = 0;
266
266
  le.value && (t = le.value.getBBox().height + e.value.style.chart.labels.axis.fontSize / 3 + 12 + e.value.style.chart.labels.axis.xLabelOffsetY);
267
267
  let a = 0;
268
268
  return H.value && (a = de.value + 12), t + a;
269
- }), s = c(() => {
270
- const t = mt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = D.value - U.value.right, o = Math.max(0, l - a), n = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, h = A.value - U.value.bottom - xt.value, N = Math.max(0, h - n), Ve = Array.isArray(re.value) ? re.value.length : 0, Dt = Ve > 0 ? o / Ve : 0;
269
+ }), s = d(() => {
270
+ const t = mt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = M.value - U.value.right, o = Math.max(0, l - a), n = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, p = $.value - U.value.bottom - xt.value, F = Math.max(0, p - n), Ve = Array.isArray(re.value) ? re.value.length : 0, Dt = Ve > 0 ? o / Ve : 0;
271
271
  return {
272
272
  left: a,
273
273
  right: l,
274
274
  top: n,
275
- bottom: h,
275
+ bottom: p,
276
276
  width: o,
277
- height: N,
277
+ height: F,
278
278
  stripWidth: Dt,
279
- absoluteHeight: A.value
279
+ absoluteHeight: $.value
280
280
  };
281
- }), V = c(() => re.value.map((t, a) => {
281
+ }), V = d(() => re.value.map((t, a) => {
282
282
  const l = ge();
283
283
  return {
284
284
  ...t,
285
285
  id: l,
286
- color: t.color ? Ze(t.color) : Fe.value[a] || P[a] || P[a % P.length],
286
+ color: t.color ? Ze(t.color) : Fe.value[a] || D[a] || D[a % D.length],
287
287
  plots: t.plots.map((o, n) => ({
288
288
  ...o,
289
289
  value: Gt(o.value),
@@ -291,42 +291,42 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
291
291
  parentName: t.name,
292
292
  parentIndex: a,
293
293
  plotIndex: n,
294
- color: t.color ? Ze(t.color) : Fe.value[a] || P[a] || P[a % P.length],
294
+ color: t.color ? Ze(t.color) : Fe.value[a] || D[a] || D[a % D.length],
295
295
  id: ge()
296
296
  })).sort((o, n) => o.value - n.value)
297
297
  };
298
- })), k = c(() => (V.value || []).map((t, a) => ({
298
+ })), C = d(() => (V.value || []).map((t, a) => ({
299
299
  ...t,
300
300
  plots: t.plots.map((l) => ({
301
301
  ...l,
302
302
  x: s.value.left + (a + 1) * s.value.stripWidth - s.value.stripWidth / 2
303
303
  }))
304
- }))), kt = c(() => Math.max(...k.value.map((t) => t.plots.length))), pe = c(() => {
305
- const t = k.value.flatMap((a) => a.plots.map((l) => l.value));
304
+ }))), kt = d(() => Math.max(...C.value.map((t) => t.plots.length))), pe = d(() => {
305
+ const t = C.value.flatMap((a) => a.plots.map((l) => l.value));
306
306
  return {
307
307
  max: Math.max(...t),
308
308
  min: Math.min(...t)
309
309
  };
310
- }), $ = c(() => Ht(pe.value.min < 0 ? pe.value.min : 0, pe.value.max, e.value.style.chart.grid.scaleSteps)), wt = c(() => (k.value || []).map((t, a) => ({
310
+ }), O = d(() => Ht(pe.value.min < 0 ? pe.value.min : 0, pe.value.max, e.value.style.chart.grid.scaleSteps)), wt = d(() => (C.value || []).map((t, a) => ({
311
311
  ...t,
312
312
  plots: t.plots.map((l) => ({
313
313
  ...l,
314
- y: s.value.bottom - (l.value + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min)) * s.value.height
314
+ y: s.value.bottom - (l.value + Math.abs(O.value.min)) / (O.value.max + Math.abs(O.value.min)) * s.value.height
315
315
  }))
316
- }))), Ie = c(() => $.value.ticks.map((t) => ({
317
- y: s.value.bottom - s.value.height * ((t + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min))),
316
+ }))), Ie = d(() => O.value.ticks.map((t) => ({
317
+ y: s.value.bottom - s.value.height * ((t + Math.abs(O.value.min)) / (O.value.max + Math.abs(O.value.min))),
318
318
  x1: s.value.left,
319
319
  x2: s.value.right,
320
320
  value: t
321
- }))), fe = i(null), f = i(null);
321
+ }))), fe = i(null), y = i(null);
322
322
  function Ct({ datapoint: t, seriesIndex: a }) {
323
- Z.value = !1, f.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
323
+ Z.value = !1, y.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
324
324
  }
325
325
  function At({ datapoint: t, seriesIndex: a }) {
326
326
  ft("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
327
327
  }
328
328
  function Lt({ datapoint: t, seriesIndex: a }) {
329
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), fe.value = { datapoint: t, seriesIndex: a, config: e.value, series: V.value }, Z.value = !0, f.value = t;
329
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), fe.value = { datapoint: t, seriesIndex: a, config: e.value, series: V.value }, Z.value = !0, y.value = t;
330
330
  const l = e.value.style.chart.tooltip.customFormat;
331
331
  if (et(l) && Kt(() => l({
332
332
  seriesIndex: a,
@@ -355,29 +355,29 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
355
355
  )}</div>`, ee.value = `<div>${o}</div>`;
356
356
  }
357
357
  }
358
- const X = c(() => {
359
- const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
358
+ const X = d(() => {
359
+ const t = C.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
360
360
  name: `${l.name} - ${o.name}`,
361
361
  color: o.color
362
- }))), a = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
362
+ }))), a = C.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
363
363
  return { head: t, body: a };
364
364
  });
365
365
  function be(t = null) {
366
366
  Rt(() => {
367
- const a = X.value.head.map((n, h) => [[
367
+ const a = X.value.head.map((n, p) => [[
368
368
  n.name
369
- ], [X.value.body[h]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = Jt(l);
369
+ ], [X.value.body[p]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = Jt(l);
370
370
  t ? t(o) : Qt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
371
371
  });
372
372
  }
373
- const Y = c(() => {
373
+ const Y = d(() => {
374
374
  const t = [
375
375
  e.value.table.columnNames.series,
376
376
  e.value.table.columnNames.value
377
- ], a = X.value.head.map((n, h) => {
378
- const N = Q({
377
+ ], a = X.value.head.map((n, p) => {
378
+ const F = Q({
379
379
  p: e.value.style.chart.labels.prefix,
380
- v: X.value.body[h],
380
+ v: X.value.body[p],
381
381
  s: e.value.style.chart.labels.suffix,
382
382
  r: e.value.table.td.roundingValue
383
383
  });
@@ -386,7 +386,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
386
386
  color: n.color,
387
387
  name: n.name
388
388
  },
389
- N
389
+ F
390
390
  ];
391
391
  }), l = {
392
392
  th: {
@@ -410,54 +410,54 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
410
410
  body: a,
411
411
  config: l
412
412
  };
413
- }), S = i(!1);
413
+ }), P = i(!1);
414
414
  function Re(t) {
415
- S.value = t, we.value += 1;
415
+ P.value = t, we.value += 1;
416
416
  }
417
- function _t() {
418
- return k.value;
417
+ function $t() {
418
+ return C.value;
419
419
  }
420
420
  function Be() {
421
- p.value.showTable = !p.value.showTable;
421
+ b.value.showTable = !b.value.showTable;
422
422
  }
423
423
  function We() {
424
- p.value.dataLabels.show = !p.value.dataLabels.show;
424
+ b.value.dataLabels.show = !b.value.dataLabels.show;
425
425
  }
426
426
  function Ee() {
427
- p.value.showTooltip = !p.value.showTooltip;
427
+ b.value.showTooltip = !b.value.showTooltip;
428
428
  }
429
429
  const j = i(!1);
430
430
  function ye() {
431
431
  j.value = !j.value;
432
432
  }
433
- async function Tt({ scale: t = 2 } = {}) {
434
- if (!w.value) return;
435
- const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: h } = await ul({ domElement: w.value, base64: !0, img: !0, scale: t });
433
+ async function _t({ scale: t = 2 } = {}) {
434
+ if (!A.value) return;
435
+ const { width: a, height: l } = A.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: p } = await ul({ domElement: A.value, base64: !0, img: !0, scale: t });
436
436
  return {
437
437
  imageUri: n,
438
- base64: h,
438
+ base64: p,
439
439
  title: e.value.style.chart.title.text,
440
440
  width: a,
441
441
  height: l,
442
442
  aspectRatio: o
443
443
  };
444
444
  }
445
- const Ge = c(() => k.value.map((t) => t.name)), $t = i({ start: 0, end: k.value.length });
445
+ const Ge = d(() => C.value.map((t) => t.name)), Tt = i({ start: 0, end: C.value.length });
446
446
  nl({
447
447
  timeLabelsEls: H,
448
448
  timeLabels: Ge,
449
- slicer: $t,
449
+ slicer: Tt,
450
450
  configRef: e,
451
451
  rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
452
452
  autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
453
453
  isAutoSize: !1,
454
- width: D,
455
- height: A,
454
+ width: M,
455
+ height: $,
456
456
  targetClass: ".vue-ui-strip-plot-category-name",
457
457
  rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
458
458
  });
459
- const W = c(() => {
460
- const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
459
+ const W = d(() => {
460
+ const t = e.value.table.useDialog && !e.value.table.show, a = b.value.showTable;
461
461
  return {
462
462
  component: t ? dt : ut,
463
463
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -466,8 +466,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
466
466
  color: e.value.table.th.color,
467
467
  headerColor: e.value.table.th.color,
468
468
  headerBg: e.value.table.th.backgroundColor,
469
- isFullscreen: S.value,
470
- fullscreenParent: w.value,
469
+ isFullscreen: P.value,
470
+ fullscreenParent: A.value,
471
471
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
472
472
  } : {
473
473
  hideDetails: !0,
@@ -486,13 +486,13 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
486
486
  }
487
487
  };
488
488
  });
489
- q(() => p.value.showTable, (t) => {
489
+ q(() => b.value.showTable, (t) => {
490
490
  e.value.table.show || (t && e.value.table.useDialog && I.value ? I.value.open() : "close" in I.value && I.value.close());
491
491
  });
492
492
  function He() {
493
- p.value.showTable = !1, te.value && te.value.setTableIconState(!1);
493
+ b.value.showTable = !1, te.value && te.value.setTableIconState(!1);
494
494
  }
495
- const St = c(() => e.value.style.chart.backgroundColor), Ot = c(() => e.value.style.chart.title), { exportSvg: Pt, getSvg: zt } = ol({
495
+ const St = d(() => e.value.style.chart.backgroundColor), Ot = d(() => e.value.style.chart.title), { exportSvg: Pt, getSvg: zt } = ol({
496
496
  svg: ie,
497
497
  title: Ot,
498
498
  backgroundColor: St
@@ -505,8 +505,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
505
505
  Pt();
506
506
  }
507
507
  return ot({
508
- getData: _t,
509
- getImage: Tt,
508
+ getData: $t,
509
+ getImage: _t,
510
510
  generatePdf: Ne,
511
511
  generateCsv: be,
512
512
  generateImage: Me,
@@ -518,36 +518,56 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
518
518
  toggleFullscreen: Re
519
519
  }), (t, a) => (r(), u("div", {
520
520
  ref_key: "stripPlotChart",
521
- ref: w,
522
- class: E(`vue-data-ui-component vue-ui-strip-plot ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
521
+ ref: A,
522
+ class: E(`vue-data-ui-component vue-ui-strip-plot ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
523
523
  style: J(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
524
524
  id: `strip-plot_${K.value}`,
525
- onMouseenter: a[1] || (a[1] = () => v(Se)(!0)),
526
- onMouseleave: a[2] || (a[2] = () => v(Se)(!1))
525
+ onMouseenter: a[1] || (a[1] = () => c(Se)(!0)),
526
+ onMouseleave: a[2] || (a[2] = () => c(Se)(!1))
527
527
  }, [
528
- e.value.userOptions.buttons.annotator ? (r(), O(v(ct), {
528
+ e.value.userOptions.buttons.annotator ? (r(), z(c(vt), {
529
529
  key: 0,
530
- svgRef: v(ie),
530
+ svgRef: c(ie),
531
531
  backgroundColor: e.value.style.chart.backgroundColor,
532
532
  color: e.value.style.chart.color,
533
533
  active: j.value,
534
534
  onClose: ye
535
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
535
+ }, {
536
+ "annotator-action-close": v(() => [
537
+ h(t.$slots, "annotator-action-close", {}, void 0, !0)
538
+ ]),
539
+ "annotator-action-color": v(({ color: l }) => [
540
+ h(t.$slots, "annotator-action-color", m(g({ color: l })), void 0, !0)
541
+ ]),
542
+ "annotator-action-draw": v(({ mode: l }) => [
543
+ h(t.$slots, "annotator-action-draw", m(g({ mode: l })), void 0, !0)
544
+ ]),
545
+ "annotator-action-undo": v(({ disabled: l }) => [
546
+ h(t.$slots, "annotator-action-undo", m(g({ disabled: l })), void 0, !0)
547
+ ]),
548
+ "annotator-action-redo": v(({ disabled: l }) => [
549
+ h(t.$slots, "annotator-action-redo", m(g({ disabled: l })), void 0, !0)
550
+ ]),
551
+ "annotator-action-delete": v(({ disabled: l }) => [
552
+ h(t.$slots, "annotator-action-delete", m(g({ disabled: l })), void 0, !0)
553
+ ]),
554
+ _: 3
555
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
536
556
  bt.value ? (r(), u("div", {
537
557
  key: 1,
538
558
  ref_key: "noTitle",
539
559
  ref: Le,
540
560
  class: "vue-data-ui-no-title-space",
541
561
  style: "height:36px; width: 100%;background:transparent"
542
- }, null, 512)) : d("", !0),
562
+ }, null, 512)) : f("", !0),
543
563
  e.value.style.chart.title.text ? (r(), u("div", {
544
564
  key: 2,
545
565
  ref_key: "chartTitle",
546
566
  ref: Ce,
547
567
  style: "width:100%;background:transparent;padding-bottom:24px"
548
568
  }, [
549
- (r(), O(vl, {
550
- key: `title_${Te.value}`,
569
+ (r(), z(cl, {
570
+ key: `title_${_e.value}`,
551
571
  config: {
552
572
  title: {
553
573
  cy: "donut-div-title",
@@ -559,15 +579,15 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
559
579
  }
560
580
  }
561
581
  }, null, 8, ["config"]))
562
- ], 512)) : d("", !0),
563
- e.value.userOptions.show && G.value && (v(Oe) || v(ue)) ? (r(), O(v(vt), {
582
+ ], 512)) : f("", !0),
583
+ e.value.userOptions.show && G.value && (c(Oe) || c(ue)) ? (r(), z(c(ct), {
564
584
  ref_key: "userOptionsRef",
565
585
  ref: te,
566
586
  key: `user_option_${we.value}`,
567
587
  backgroundColor: e.value.style.chart.backgroundColor,
568
588
  color: e.value.style.chart.color,
569
- isPrinting: v(ze),
570
- isImaging: v(De),
589
+ isPrinting: c(ze),
590
+ isImaging: c(De),
571
591
  uid: K.value,
572
592
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
573
593
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -577,10 +597,10 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
577
597
  hasTable: e.value.userOptions.buttons.table,
578
598
  hasLabel: e.value.userOptions.buttons.labels,
579
599
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
580
- isTooltip: p.value.showTooltip,
581
- isFullscreen: S.value,
600
+ isTooltip: b.value.showTooltip,
601
+ isFullscreen: P.value,
582
602
  titles: { ...e.value.userOptions.buttonTitles },
583
- chartElement: w.value,
603
+ chartElement: A.value,
584
604
  position: e.value.userOptions.position,
585
605
  hasAnnotator: e.value.userOptions.buttons.annotator,
586
606
  isAnnotation: j.value,
@@ -588,98 +608,98 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
588
608
  printScale: e.value.userOptions.print.scale,
589
609
  tableDialog: e.value.table.useDialog,
590
610
  onToggleFullscreen: Re,
591
- onGeneratePdf: v(Ne),
611
+ onGeneratePdf: c(Ne),
592
612
  onGenerateCsv: be,
593
- onGenerateImage: v(Me),
613
+ onGenerateImage: c(Me),
594
614
  onGenerateSvg: Ue,
595
615
  onToggleTable: Be,
596
616
  onToggleLabels: We,
597
617
  onToggleTooltip: Ee,
598
618
  onToggleAnnotator: ye,
599
619
  style: J({
600
- visibility: v(Oe) ? v(ue) ? "visible" : "hidden" : "visible"
620
+ visibility: c(Oe) ? c(ue) ? "visible" : "hidden" : "visible"
601
621
  })
602
622
  }, je({ _: 2 }, [
603
623
  t.$slots.menuIcon ? {
604
624
  name: "menuIcon",
605
- fn: b(({ isOpen: l, color: o }) => [
606
- y(t.$slots, "menuIcon", M(F({ isOpen: l, color: o })), void 0, !0)
625
+ fn: v(({ isOpen: l, color: o }) => [
626
+ h(t.$slots, "menuIcon", m(g({ isOpen: l, color: o })), void 0, !0)
607
627
  ]),
608
628
  key: "0"
609
629
  } : void 0,
610
630
  t.$slots.optionTooltip ? {
611
631
  name: "optionTooltip",
612
- fn: b(() => [
613
- y(t.$slots, "optionTooltip", {}, void 0, !0)
632
+ fn: v(() => [
633
+ h(t.$slots, "optionTooltip", {}, void 0, !0)
614
634
  ]),
615
635
  key: "1"
616
636
  } : void 0,
617
637
  t.$slots.optionPdf ? {
618
638
  name: "optionPdf",
619
- fn: b(() => [
620
- y(t.$slots, "optionPdf", {}, void 0, !0)
639
+ fn: v(() => [
640
+ h(t.$slots, "optionPdf", {}, void 0, !0)
621
641
  ]),
622
642
  key: "2"
623
643
  } : void 0,
624
644
  t.$slots.optionCsv ? {
625
645
  name: "optionCsv",
626
- fn: b(() => [
627
- y(t.$slots, "optionCsv", {}, void 0, !0)
646
+ fn: v(() => [
647
+ h(t.$slots, "optionCsv", {}, void 0, !0)
628
648
  ]),
629
649
  key: "3"
630
650
  } : void 0,
631
651
  t.$slots.optionImg ? {
632
652
  name: "optionImg",
633
- fn: b(() => [
634
- y(t.$slots, "optionImg", {}, void 0, !0)
653
+ fn: v(() => [
654
+ h(t.$slots, "optionImg", {}, void 0, !0)
635
655
  ]),
636
656
  key: "4"
637
657
  } : void 0,
638
658
  t.$slots.optionSvg ? {
639
659
  name: "optionSvg",
640
- fn: b(() => [
641
- y(t.$slots, "optionSvg", {}, void 0, !0)
660
+ fn: v(() => [
661
+ h(t.$slots, "optionSvg", {}, void 0, !0)
642
662
  ]),
643
663
  key: "5"
644
664
  } : void 0,
645
665
  t.$slots.optionTable ? {
646
666
  name: "optionTable",
647
- fn: b(() => [
648
- y(t.$slots, "optionTable", {}, void 0, !0)
667
+ fn: v(() => [
668
+ h(t.$slots, "optionTable", {}, void 0, !0)
649
669
  ]),
650
670
  key: "6"
651
671
  } : void 0,
652
672
  t.$slots.optionLabels ? {
653
673
  name: "optionLabels",
654
- fn: b(() => [
655
- y(t.$slots, "optionLabels", {}, void 0, !0)
674
+ fn: v(() => [
675
+ h(t.$slots, "optionLabels", {}, void 0, !0)
656
676
  ]),
657
677
  key: "7"
658
678
  } : void 0,
659
679
  t.$slots.optionFullscreen ? {
660
680
  name: "optionFullscreen",
661
- fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
662
- y(t.$slots, "optionFullscreen", M(F({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
681
+ fn: v(({ toggleFullscreen: l, isFullscreen: o }) => [
682
+ h(t.$slots, "optionFullscreen", m(g({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
663
683
  ]),
664
684
  key: "8"
665
685
  } : void 0,
666
686
  t.$slots.optionAnnotator ? {
667
687
  name: "optionAnnotator",
668
- fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
669
- y(t.$slots, "optionAnnotator", M(F({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
688
+ fn: v(({ toggleAnnotator: l, isAnnotator: o }) => [
689
+ h(t.$slots, "optionAnnotator", m(g({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
670
690
  ]),
671
691
  key: "9"
672
692
  } : void 0
673
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
693
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
674
694
  (r(), u("svg", {
675
695
  ref_key: "svgRef",
676
696
  ref: ie,
677
- xmlns: v(Ut),
678
- class: E({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
679
- viewBox: `0 0 ${D.value} ${A.value}`,
697
+ xmlns: c(Ut),
698
+ class: E({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
699
+ viewBox: `0 0 ${M.value} ${$.value}`,
680
700
  style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
681
701
  }, [
682
- me(v(ht)),
702
+ me(c(ht)),
683
703
  t.$slots["chart-background"] ? (r(), u("foreignObject", {
684
704
  key: 0,
685
705
  x: s.value.left,
@@ -690,11 +710,11 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
690
710
  pointerEvents: "none"
691
711
  }
692
712
  }, [
693
- y(t.$slots, "chart-background", {}, void 0, !0)
694
- ], 8, fl)) : d("", !0),
713
+ h(t.$slots, "chart-background", {}, void 0, !0)
714
+ ], 8, fl)) : f("", !0),
695
715
  e.value.style.chart.grid.show ? (r(), u("g", bl, [
696
716
  e.value.style.chart.grid.horizontalGrid.show ? (r(), u("g", yl, [
697
- (r(!0), u(g, null, _(Ie.value, (l) => (r(), u("line", {
717
+ (r(!0), u(k, null, T(Ie.value, (l) => (r(), u("line", {
698
718
  x1: l.x1,
699
719
  x2: l.x2,
700
720
  y1: l.y,
@@ -704,9 +724,9 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
704
724
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
705
725
  "stroke-linecap": "round"
706
726
  }, null, 8, ml))), 256))
707
- ])) : d("", !0),
727
+ ])) : f("", !0),
708
728
  e.value.style.chart.grid.verticalGrid.show ? (r(), u("g", gl, [
709
- (r(!0), u(g, null, _(k.value, (l, o) => (r(), u("line", {
729
+ (r(!0), u(k, null, T(C.value, (l, o) => (r(), u("line", {
710
730
  x1: s.value.left + (o + 1) * s.value.stripWidth,
711
731
  x2: s.value.left + (o + 1) * s.value.stripWidth,
712
732
  y1: s.value.top,
@@ -716,8 +736,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
716
736
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
717
737
  "stroke-linecap": "round"
718
738
  }, null, 8, xl))), 256))
719
- ])) : d("", !0),
720
- m("line", {
739
+ ])) : f("", !0),
740
+ x("line", {
721
741
  x1: s.value.left,
722
742
  x2: s.value.left,
723
743
  y1: s.value.top,
@@ -726,7 +746,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
726
746
  "stroke-width": e.value.style.chart.grid.strokeWidth,
727
747
  "stroke-linecap": "round"
728
748
  }, null, 8, kl),
729
- m("line", {
749
+ x("line", {
730
750
  x1: s.value.left,
731
751
  x2: s.value.right,
732
752
  y1: s.value.bottom,
@@ -735,22 +755,22 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
735
755
  "stroke-width": e.value.style.chart.grid.strokeWidth,
736
756
  "stroke-linecap": "round"
737
757
  }, null, 8, wl)
738
- ])) : d("", !0),
758
+ ])) : f("", !0),
739
759
  e.value.style.chart.labels.yAxisLabels.show ? (r(), u("g", {
740
760
  key: 2,
741
761
  ref_key: "scaleLabels",
742
762
  ref: oe
743
763
  }, [
744
- (r(!0), u(g, null, _(Ie.value, (l, o) => (r(), u("text", {
764
+ (r(!0), u(k, null, T(Ie.value, (l, o) => (r(), u("text", {
745
765
  x: l.x1 + e.value.style.chart.labels.yAxisLabels.offsetX - 5,
746
766
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
747
767
  fill: e.value.style.chart.labels.yAxisLabels.color,
748
768
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
749
769
  "text-anchor": "end"
750
- }, T(v(ke)(
770
+ }, S(c(ke)(
751
771
  e.value.style.chart.labels.formatter,
752
772
  l.value,
753
- v(Q)({
773
+ c(Q)({
754
774
  p: e.value.style.chart.labels.prefix,
755
775
  v: l.value,
756
776
  s: e.value.style.chart.labels.suffix,
@@ -758,13 +778,13 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
758
778
  }),
759
779
  { datapoint: l, seriesIndex: o }
760
780
  )), 9, Cl))), 256))
761
- ], 512)) : d("", !0),
781
+ ], 512)) : f("", !0),
762
782
  e.value.style.chart.labels.xAxisLabels.show ? (r(), u("g", {
763
783
  key: 3,
764
784
  ref_key: "timeLabelsEls",
765
785
  ref: H
766
786
  }, [
767
- (r(!0), u(g, null, _(Ge.value, (l, o) => (r(), u("g", null, [
787
+ (r(!0), u(k, null, T(Ge.value, (l, o) => (r(), u("g", null, [
768
788
  String(l).includes(`
769
789
  `) ? (r(), u("text", {
770
790
  key: 1,
@@ -773,8 +793,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
773
793
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
774
794
  fill: e.value.style.chart.labels.xAxisLabels.color,
775
795
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
776
- innerHTML: v(Vt)({
777
- content: v(Xt)(String(l)),
796
+ innerHTML: c(Vt)({
797
+ content: c(Xt)(String(l)),
778
798
  fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
779
799
  fill: e.value.style.chart.labels.xAxisLabels.color,
780
800
  x: 0,
@@ -787,9 +807,9 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
787
807
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
788
808
  fill: e.value.style.chart.labels.xAxisLabels.color,
789
809
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
790
- }, T(String(l)), 9, Al))
810
+ }, S(String(l)), 9, Al))
791
811
  ]))), 256))
792
- ], 512)) : d("", !0),
812
+ ], 512)) : f("", !0),
793
813
  e.value.style.chart.labels.axis.yLabel ? (r(), u("text", {
794
814
  key: 4,
795
815
  ref_key: "yAxisLabel",
@@ -798,7 +818,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
798
818
  "font-size": e.value.style.chart.labels.axis.fontSize,
799
819
  transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
800
820
  "text-anchor": "middle"
801
- }, T(e.value.style.chart.labels.axis.yLabel), 9, _l)) : d("", !0),
821
+ }, S(e.value.style.chart.labels.axis.yLabel), 9, $l)) : f("", !0),
802
822
  e.value.style.chart.labels.axis.xLabel ? (r(), u("text", {
803
823
  key: 5,
804
824
  ref_key: "xAxisLabel",
@@ -806,106 +826,106 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
806
826
  fill: e.value.style.chart.labels.axis.color,
807
827
  "font-size": e.value.style.chart.labels.axis.fontSize,
808
828
  x: s.value.left + s.value.width / 2,
809
- y: A.value - e.value.style.chart.labels.axis.fontSize / 3,
829
+ y: $.value - e.value.style.chart.labels.axis.fontSize / 3,
810
830
  "text-anchor": "middle"
811
- }, T(e.value.style.chart.labels.axis.xLabel), 9, Tl)) : d("", !0),
812
- f.value ? (r(), u(g, { key: 6 }, [
813
- m("line", {
831
+ }, S(e.value.style.chart.labels.axis.xLabel), 9, _l)) : f("", !0),
832
+ y.value ? (r(), u(k, { key: 6 }, [
833
+ x("line", {
814
834
  x1: s.value.left,
815
835
  x2: s.value.right,
816
- y1: f.value.y,
817
- y2: f.value.y,
818
- stroke: f.value.color,
836
+ y1: y.value.y,
837
+ y2: y.value.y,
838
+ stroke: y.value.color,
819
839
  "stroke-width": 1,
820
840
  class: E({ "select-circle": e.value.useCssAnimation })
821
- }, null, 10, $l),
822
- m("circle", {
841
+ }, null, 10, Tl),
842
+ x("circle", {
823
843
  cx: s.value.left,
824
- cy: f.value.y,
844
+ cy: y.value.y,
825
845
  r: 3,
826
- fill: f.value.color,
846
+ fill: y.value.color,
827
847
  class: E({ "select-circle": e.value.useCssAnimation })
828
848
  }, null, 10, Sl),
829
- m("circle", {
849
+ x("circle", {
830
850
  cx: s.value.right,
831
- cy: f.value.y,
851
+ cy: y.value.y,
832
852
  r: 3,
833
- fill: f.value.color,
853
+ fill: y.value.color,
834
854
  class: E({ "select-circle": e.value.useCssAnimation })
835
855
  }, null, 10, Ol)
836
- ], 64)) : d("", !0),
837
- m("defs", null, [
838
- (r(!0), u(g, null, _(k.value, (l) => (r(), u("radialGradient", {
856
+ ], 64)) : f("", !0),
857
+ x("defs", null, [
858
+ (r(!0), u(k, null, T(C.value, (l) => (r(), u("radialGradient", {
839
859
  id: l.id,
840
860
  fy: "30%"
841
861
  }, [
842
- m("stop", {
862
+ x("stop", {
843
863
  offset: "10%",
844
- "stop-color": v(Yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
864
+ "stop-color": c(Yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
845
865
  }, null, 8, zl),
846
- m("stop", {
866
+ x("stop", {
847
867
  offset: "90%",
848
- "stop-color": v(jt)(l.color, 0.1)
868
+ "stop-color": c(jt)(l.color, 0.1)
849
869
  }, null, 8, Dl),
850
- m("stop", {
870
+ x("stop", {
851
871
  offset: "100%",
852
872
  "stop-color": l.color
853
873
  }, null, 8, Nl)
854
874
  ], 8, Pl))), 256))
855
875
  ]),
856
- (r(!0), u(g, null, _(wt.value, (l, o) => (r(), u(g, null, [
857
- (r(!0), u(g, null, _(l.plots, (n, h) => (r(), O(il, qe({ ref_for: !0 }, t.$attrs, {
858
- plot: { x: n.x, y: _e.value ? n.y : s.value.top },
859
- radius: f.value && f.value.id === n.id ? he.value * 1.5 : he.value,
876
+ (r(!0), u(k, null, T(wt.value, (l, o) => (r(), u(k, null, [
877
+ (r(!0), u(k, null, T(l.plots, (n, p) => (r(), z(il, qe({ ref_for: !0 }, t.$attrs, {
878
+ plot: { x: n.x, y: $e.value ? n.y : s.value.top },
879
+ radius: y.value && y.value.id === n.id ? he.value * 1.5 : he.value,
860
880
  shape: e.value.style.chart.plots.shape,
861
881
  stroke: e.value.style.chart.plots.stroke,
862
882
  strokeWidth: e.value.style.chart.plots.strokeWidth,
863
883
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
864
- style: `transition: all 0.2s ease-in-out; opacity:${f.value ? f.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${h * 50}ms` : ""}`,
865
- class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !v(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !R.value },
866
- onMouseenter: (N) => Lt({ datapoint: n, seriesIndex: h }),
867
- onMouseleave: (N) => Ct({ datapoint: n, seriesIndex: h }),
868
- onClick: (N) => At({ datapoint: n, seriesIndex: h })
884
+ style: `transition: all 0.2s ease-in-out; opacity:${y.value ? y.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${p * 50}ms` : ""}`,
885
+ class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !c(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !R.value },
886
+ onMouseenter: (F) => Lt({ datapoint: n, seriesIndex: p }),
887
+ onMouseleave: (F) => Ct({ datapoint: n, seriesIndex: p }),
888
+ onClick: (F) => At({ datapoint: n, seriesIndex: p })
869
889
  }), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
870
- p.value.dataLabels.show ? (r(), u("g", Ml, [
871
- (r(!0), u(g, null, _(l.plots, (n, h) => (r(), u(g, null, [
872
- h === l.plots.length - 1 || f.value && f.value.id === n.id && !p.value.showTooltip ? (r(), u("text", {
890
+ b.value.dataLabels.show ? (r(), u("g", Ml, [
891
+ (r(!0), u(k, null, T(l.plots, (n, p) => (r(), u(k, null, [
892
+ p === l.plots.length - 1 || y.value && y.value.id === n.id && !b.value.showTooltip ? (r(), u("text", {
873
893
  key: 0,
874
894
  x: n.x,
875
- y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - he.value * (f.value && f.value.id === n.id && !p.value.showTooltip ? 2 : 1.5),
895
+ y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - he.value * (y.value && y.value.id === n.id && !b.value.showTooltip ? 2 : 1.5),
876
896
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
877
897
  fill: e.value.style.chart.labels.bestPlotLabel.color,
878
898
  "text-anchor": "middle",
879
899
  style: J(`opacity:${e.value.useCssAnimation && R.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
880
- }, T(n.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? v(ke)(
900
+ }, S(n.name) + " " + S(e.value.style.chart.labels.bestPlotLabel.showValue ? c(ke)(
881
901
  e.value.style.chart.labels.formatter,
882
902
  n.value,
883
- v(Q)({
903
+ c(Q)({
884
904
  p: `(${e.value.style.chart.labels.prefix}`,
885
905
  v: n.value,
886
906
  s: `${e.value.style.chart.labels.suffix})`,
887
907
  r: e.value.style.chart.labels.bestPlotLabel.rounding
888
908
  }),
889
- { datapoint: n, seriesIndex: h }
890
- ) : ""), 13, Fl)) : d("", !0)
909
+ { datapoint: n, seriesIndex: p }
910
+ ) : ""), 13, Fl)) : f("", !0)
891
911
  ], 64))), 256))
892
- ])) : d("", !0)
912
+ ])) : f("", !0)
893
913
  ], 64))), 256)),
894
- y(t.$slots, "svg", { svg: s.value }, void 0, !0)
914
+ h(t.$slots, "svg", { svg: s.value }, void 0, !0)
895
915
  ], 14, pl)),
896
916
  t.$slots.watermark ? (r(), u("div", Il, [
897
- y(t.$slots, "watermark", M(F({ isPrinting: v(ze) || v(De) })), void 0, !0)
898
- ])) : d("", !0),
917
+ h(t.$slots, "watermark", m(g({ isPrinting: c(ze) || c(De) })), void 0, !0)
918
+ ])) : f("", !0),
899
919
  t.$slots.source ? (r(), u("div", {
900
920
  key: 5,
901
921
  ref_key: "source",
902
922
  ref: Ae,
903
923
  dir: "auto"
904
924
  }, [
905
- y(t.$slots, "source", {}, void 0, !0)
906
- ], 512)) : d("", !0),
907
- me(v(rt), {
908
- show: p.value.showTooltip && Z.value,
925
+ h(t.$slots, "source", {}, void 0, !0)
926
+ ], 512)) : f("", !0),
927
+ me(c(rt), {
928
+ show: b.value.showTooltip && Z.value,
909
929
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
910
930
  color: e.value.style.chart.tooltip.color,
911
931
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -915,31 +935,31 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
915
935
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
916
936
  position: e.value.style.chart.tooltip.position,
917
937
  offsetY: e.value.style.chart.tooltip.offsetY,
918
- parent: w.value,
938
+ parent: A.value,
919
939
  content: ee.value,
920
- isFullscreen: S.value,
921
- isCustom: v(et)(e.value.style.chart.tooltip.customFormat),
940
+ isFullscreen: P.value,
941
+ isCustom: c(et)(e.value.style.chart.tooltip.customFormat),
922
942
  smooth: e.value.style.chart.tooltip.smooth,
923
943
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
924
944
  smoothForce: e.value.style.chart.tooltip.smoothForce,
925
945
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
926
946
  }, {
927
- "tooltip-before": b(() => [
928
- y(t.$slots, "tooltip-before", M(F({ ...fe.value })), void 0, !0)
947
+ "tooltip-before": v(() => [
948
+ h(t.$slots, "tooltip-before", m(g({ ...fe.value })), void 0, !0)
929
949
  ]),
930
- "tooltip-after": b(() => [
931
- y(t.$slots, "tooltip-after", M(F({ ...fe.value })), void 0, !0)
950
+ "tooltip-after": v(() => [
951
+ h(t.$slots, "tooltip-after", m(g({ ...fe.value })), void 0, !0)
932
952
  ]),
933
953
  _: 3
934
954
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
935
- G.value && e.value.userOptions.buttons.table ? (r(), O(It(W.value.component), qe({ key: 6 }, W.value.props, {
955
+ G.value && e.value.userOptions.buttons.table ? (r(), z(It(W.value.component), qe({ key: 6 }, W.value.props, {
936
956
  ref_key: "tableUnit",
937
957
  ref: I,
938
958
  onClose: He
939
959
  }), je({
940
- content: b(() => [
941
- (r(), O(v(it), {
942
- key: `table_${$e.value}`,
960
+ content: v(() => [
961
+ (r(), z(c(it), {
962
+ key: `table_${Te.value}`,
943
963
  colNames: Y.value.colNames,
944
964
  head: Y.value.head,
945
965
  body: Y.value.body,
@@ -948,14 +968,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
948
968
  withCloseButton: !e.value.table.useDialog,
949
969
  onClose: He
950
970
  }, {
951
- th: b(({ th: l }) => [
952
- m("div", {
971
+ th: v(({ th: l }) => [
972
+ x("div", {
953
973
  innerHTML: l,
954
974
  style: { display: "flex", "align-items": "center" }
955
975
  }, null, 8, Rl)
956
976
  ]),
957
- td: b(({ td: l }) => [
958
- Je(T(l.name || l), 1)
977
+ td: v(({ td: l }) => [
978
+ Je(S(l.name || l), 1)
959
979
  ]),
960
980
  _: 1
961
981
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -964,20 +984,20 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
964
984
  }, [
965
985
  e.value.table.useDialog ? {
966
986
  name: "title",
967
- fn: b(() => [
968
- Je(T(W.value.title), 1)
987
+ fn: v(() => [
988
+ Je(S(W.value.title), 1)
969
989
  ]),
970
990
  key: "0"
971
991
  } : void 0,
972
992
  e.value.table.useDialog ? {
973
993
  name: "actions",
974
- fn: b(() => [
975
- m("button", {
994
+ fn: v(() => [
995
+ x("button", {
976
996
  tabindex: "0",
977
997
  class: "vue-ui-user-options-button",
978
998
  onClick: a[0] || (a[0] = (l) => be(e.value.userOptions.callbacks.csv))
979
999
  }, [
980
- me(v(nt), {
1000
+ me(c(nt), {
981
1001
  name: "excel",
982
1002
  stroke: W.value.props.color
983
1003
  }, null, 8, ["stroke"])
@@ -985,11 +1005,11 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
985
1005
  ]),
986
1006
  key: "1"
987
1007
  } : void 0
988
- ]), 1040)) : d("", !0),
989
- v(se) ? (r(), O(ll, { key: 7 })) : d("", !0)
1008
+ ]), 1040)) : f("", !0),
1009
+ c(se) ? (r(), z(ll, { key: 7 })) : f("", !0)
990
1010
  ], 46, dl));
991
1011
  }
992
- }, ta = /* @__PURE__ */ hl(Bl, [["__scopeId", "data-v-6ec6da48"]]);
1012
+ }, ta = /* @__PURE__ */ hl(Bl, [["__scopeId", "data-v-37f2c8c9"]]);
993
1013
  export {
994
1014
  ta as default
995
1015
  };