vue-data-ui 3.3.2 → 3.4.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 (161) hide show
  1. package/dist/{Arrow-DLi6NnGD.js → Arrow-CRe_nKB4.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
  3. package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-B5KaGWWC.js} +1 -1
  4. package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-BMztHpBp.js} +10 -10
  5. package/dist/{DataTable-yAMEyP6y.js → DataTable-DOx3zgih.js} +2 -2
  6. package/dist/{Legend-By4rru90.js → Legend-C8u37J42.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
  8. package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-DyDViSOy.js} +1 -1
  9. package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-Dj2diYr0.js} +3 -3
  10. package/dist/{Shape-BceHSLHf.js → Shape-BhNvlGIN.js} +1 -1
  11. package/dist/{Slicer-Znzt0gSE.js → Slicer-BHgEsIBU.js} +111 -111
  12. package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
  13. package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-CL3cNRQ_.js} +1 -1
  14. package/dist/{Title-Camz1Lce.js → Title-CFmv95In.js} +1 -1
  15. package/dist/{Tooltip-VOcQEHa4.js → Tooltip-Cs4v8OnI.js} +1 -1
  16. package/dist/{UserOptions-CSja1SGU.js → UserOptions-C0YT60JN.js} +2 -2
  17. package/dist/components/arrow.js +1 -1
  18. package/dist/components/vue-ui-3d-bar.js +1 -1
  19. package/dist/components/vue-ui-accordion.js +1 -1
  20. package/dist/components/vue-ui-age-pyramid.js +1 -1
  21. package/dist/components/vue-ui-annotator.js +1 -1
  22. package/dist/components/vue-ui-bullet.js +1 -1
  23. package/dist/components/vue-ui-candlestick.js +1 -1
  24. package/dist/components/vue-ui-carousel-table.js +1 -1
  25. package/dist/components/vue-ui-chestnut.js +1 -1
  26. package/dist/components/vue-ui-chord.js +1 -1
  27. package/dist/components/vue-ui-circle-pack.js +1 -1
  28. package/dist/components/vue-ui-cursor.js +1 -1
  29. package/dist/components/vue-ui-dashboard.js +1 -1
  30. package/dist/components/vue-ui-digits.js +1 -1
  31. package/dist/components/vue-ui-donut-evolution.js +1 -1
  32. package/dist/components/vue-ui-donut.js +1 -1
  33. package/dist/components/vue-ui-dumbbell.js +1 -1
  34. package/dist/components/vue-ui-flow.js +1 -1
  35. package/dist/components/vue-ui-funnel.js +1 -1
  36. package/dist/components/vue-ui-galaxy.js +1 -1
  37. package/dist/components/vue-ui-gauge.js +1 -1
  38. package/dist/components/vue-ui-gizmo.js +1 -1
  39. package/dist/components/vue-ui-heatmap.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-strip-plot.js +1 -1
  68. package/dist/components/vue-ui-table-heatmap.js +1 -1
  69. package/dist/components/vue-ui-table-sparkline.js +1 -1
  70. package/dist/components/vue-ui-table.js +1 -1
  71. package/dist/components/vue-ui-thermometer.js +1 -1
  72. package/dist/components/vue-ui-timer.js +1 -1
  73. package/dist/components/vue-ui-tiremarks.js +1 -1
  74. package/dist/components/vue-ui-treemap.js +1 -1
  75. package/dist/components/vue-ui-vertical-bar.js +1 -1
  76. package/dist/components/vue-ui-waffle.js +1 -1
  77. package/dist/components/vue-ui-wheel.js +1 -1
  78. package/dist/components/vue-ui-word-cloud.js +1 -1
  79. package/dist/components/vue-ui-world.js +1 -1
  80. package/dist/components/vue-ui-xy-canvas.js +1 -1
  81. package/dist/components/vue-ui-xy.js +1 -1
  82. package/dist/{dom-to-png-DxyZSvDx.js → dom-to-png-xQ7LXrxp.js} +1 -1
  83. package/dist/{img-J2dLIr8Y.js → img-CFY3JivG.js} +1 -1
  84. package/dist/{lib-CEjkWSLj.js → lib-BcBZIm6u.js} +439 -395
  85. package/dist/{pdf-anN8VbM7.js → pdf-O34i6EQX.js} +1 -1
  86. package/dist/style.css +1 -1
  87. package/dist/types/vue-data-ui.d.ts +82 -8
  88. package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
  89. package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-B7CiTRDS.js} +327 -240
  90. package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-C1GiglOH.js} +2 -2
  91. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  92. package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-D7Tgakts.js} +64 -64
  93. package/dist/vue-data-ui.js +100 -100
  94. package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
  95. package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-BKkTS12x.js} +3 -3
  96. package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-BGzYbrts.js} +62 -55
  97. package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
  98. package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
  99. package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
  100. package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
  101. package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
  102. package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-YYE07iRP.js} +35 -35
  103. package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-BRSqhjxm.js} +47 -47
  104. package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-iuati4v1.js} +2 -2
  105. package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
  106. package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-eYxf3UFN.js} +2 -2
  107. package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-Yw81BFf2.js} +189 -189
  108. package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-k3xCwZYv.js} +145 -138
  109. package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-DMPndU1O.js} +82 -75
  110. package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-D-W3VQTv.js} +75 -75
  111. package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
  112. package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
  113. package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-APtv_CvA.js} +58 -58
  114. package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
  115. package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-BBdrkhmg.js} +465 -435
  116. package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-DL5ioFH4.js} +115 -108
  117. package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-N8s0i48S.js} +3 -3
  118. package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
  119. package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
  120. package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
  121. package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
  122. package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DbanwrFr.js} +46 -46
  123. package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +88 -81
  124. package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
  125. package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-C4Uc3DRH.js} +280 -273
  126. package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
  127. package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-fR2WRHYO.js} +2 -2
  128. package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
  129. package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B1T10gWF.js} +118 -111
  130. package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-G0bYxlue.js} +50 -50
  131. package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-DqZwonPL.js} +100 -100
  132. package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
  133. package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
  134. package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
  135. package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
  136. package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
  137. package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
  138. package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
  139. package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
  140. package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
  141. package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-CA4GL9dj.js} +144 -137
  142. package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-BAbQsJGk.js} +18 -18
  143. package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
  144. package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
  145. package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
  146. package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-Cj677c6_.js} +29 -29
  147. package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
  148. package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
  149. package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
  150. package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-C39XL2GH.js} +68 -68
  151. package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
  152. package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Dlp9LghX.js} +35 -35
  153. package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-BS8BCZJ3.js} +6 -6
  154. package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
  155. package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
  156. package/package.json +1 -1
  157. package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
  158. package/dist/vue-ui-candlestick-x9U5Ni0N.js +0 -1066
  159. package/dist/vue-ui-stackbar-DIUil9DO.js +0 -1442
  160. package/dist/vue-ui-xy-canvas-BQKR36bd.js +0 -1305
  161. package/dist/vue-ui-xy-tWE4H5ij.js +0 -4520
@@ -1,16 +1,16 @@
1
- import { defineAsyncComponent as _, computed as i, ref as r, toRefs as Ot, watch as E, shallowRef as Ve, onMounted as St, onBeforeUnmount as _t, createElementBlock as c, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as j, createBlock as A, createCommentVNode as p, createElementVNode as I, createVNode as ie, createSlots as Ue, withCtx as h, renderSlot as g, normalizeProps as R, guardReactiveProps as z, Fragment as Y, renderList as X, toDisplayString as L, Teleport as At, resolveDynamicComponent as It, mergeProps as Pt, createTextVNode as Ee, nextTick as Ye } from "vue";
2
- import { c as Ft, t as Dt, b as Mt, p as Xe, e as Rt, o as Ge, f as ce, h as zt, d as B, X as Lt, a as ve, z as He, x as Bt, y as Nt, A as Vt } from "./lib-CEjkWSLj.js";
1
+ import { defineAsyncComponent as _, computed as i, ref as r, toRefs as Ot, watch as E, shallowRef as Ve, onMounted as St, onBeforeUnmount as _t, createElementBlock as c, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as j, createBlock as A, createCommentVNode as p, createElementVNode as I, createVNode as ie, createSlots as Ue, withCtx as h, renderSlot as g, normalizeProps as R, guardReactiveProps as L, Fragment as Y, renderList as X, toDisplayString as z, Teleport as At, resolveDynamicComponent as It, mergeProps as Pt, createTextVNode as Ee, nextTick as Ye } from "vue";
2
+ import { c as Ft, t as Dt, b as Mt, p as Xe, e as Rt, o as Ge, f as ce, h as Lt, d as B, X as zt, a as ve, G as He, P as Bt, Q as Nt, H as Vt } from "./lib-BcBZIm6u.js";
3
3
  import { t as Ut, u as Et } from "./useResponsive-DfdjqQps.js";
4
- import { u as Yt, a as We } from "./useNestedProp-Ce3PwN8T.js";
4
+ import { u as Yt, a as We } from "./useNestedProp-B7CiTRDS.js";
5
5
  import { u as Xt, B as Gt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Ht } from "./usePrinter-DJ1iH-F_.js";
6
+ import { u as Ht } from "./usePrinter-C1GiglOH.js";
7
7
  import { u as Wt } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as jt } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as Jt } from "./useAutoSizeLabelsInsideViewbox-CovTrBjm.js";
11
- import Kt from "./img-J2dLIr8Y.js";
12
- import Qt from "./Title-Camz1Lce.js";
13
- import Zt from "./Legend-By4rru90.js";
10
+ import { u as Qt } from "./useAutoSizeLabelsInsideViewbox-BHq4FD8x.js";
11
+ import Jt from "./img-CFY3JivG.js";
12
+ import Kt from "./Title-CFmv95In.js";
13
+ import Zt from "./Legend-C8u37J42.js";
14
14
  import { t as ea } from "./themes-Dw-dDudK.js";
15
15
  import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "height"], sa = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ua = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ra = ["id"], ia = ["stdDeviation"], ca = ["filter"], va = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], da = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], ha = { key: 2 }, ga = ["onMouseenter", "onMouseleave", "onClick"], pa = ["x", "y", "font-size", "fill", "font-weight"], fa = {
@@ -33,8 +33,8 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
33
33
  }
34
34
  },
35
35
  emits: ["selectLegend"],
36
- setup(je, { expose: qe, emit: Je }) {
37
- const Ke = _(() => import("./Tooltip-VOcQEHa4.js")), Qe = _(() => import("./BaseIcon-eZbszQrv.js")), Ze = _(() => import("./vue-ui-accordion-VTP418mC.js")), et = _(() => import("./DataTable-yAMEyP6y.js")), tt = _(() => import("./UserOptions-CSja1SGU.js")), at = _(() => import("./PenAndPaper-Bo-lMUik.js")), lt = _(() => import("./PackageVersion-r-Q1R3nV.js")), ot = _(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_onion: nt } = Yt(), C = je, de = i(() => !!C.dataset && C.dataset.length), y = r(Ft()), st = r(null), he = r(0), q = r(!1), J = r(""), b = r([]), $ = r(null), ge = r(null), pe = r(null), fe = r(null), me = r(null), ye = r(0), be = r(0), ke = r(0), x = r(!1), we = r(!1), N = r(null), e = r(Z()), { loading: k, FINAL_DATASET: Ce, manualLoading: K } = Xt({
36
+ setup(je, { expose: qe, emit: Qe }) {
37
+ const Je = _(() => import("./Tooltip-Cs4v8OnI.js")), Ke = _(() => import("./BaseIcon-B5KaGWWC.js")), Ze = _(() => import("./vue-ui-accordion-BKkTS12x.js")), et = _(() => import("./DataTable-DOx3zgih.js")), tt = _(() => import("./UserOptions-C0YT60JN.js")), at = _(() => import("./PenAndPaper-Dj2diYr0.js")), lt = _(() => import("./PackageVersion-DyDViSOy.js")), ot = _(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_onion: nt } = Yt(), C = je, de = i(() => !!C.dataset && C.dataset.length), y = r(Ft()), st = r(null), he = r(0), q = r(!1), Q = r(""), b = r([]), $ = r(null), ge = r(null), pe = r(null), fe = r(null), me = r(null), ye = r(0), be = r(0), ke = r(0), x = r(!1), we = r(!1), N = r(null), e = r(Z()), { loading: k, FINAL_DATASET: Ce, manualLoading: J } = Xt({
38
38
  ...Ot(C),
39
39
  FINAL_CONFIG: e,
40
40
  prepareConfig: Z,
@@ -70,7 +70,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
70
70
  }
71
71
  }
72
72
  })
73
- }), { userOptionsVisible: Q, setUserOptionsVisibility: $e, keepUserOptionState: xe } = jt({ config: e.value }), { svgRef: G } = qt({ config: e.value.style.chart.title });
73
+ }), { userOptionsVisible: K, setUserOptionsVisibility: $e, keepUserOptionState: xe } = jt({ config: e.value }), { svgRef: G } = qt({ config: e.value.style.chart.title });
74
74
  function Z() {
75
75
  const t = We({
76
76
  userConfig: C.config,
@@ -85,7 +85,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
85
85
  } : t;
86
86
  }
87
87
  E(() => C.config, (t) => {
88
- k.value || (e.value = Z()), Q.value = !e.value.userOptions.showOnChartHover, Ie(), ye.value += 1, be.value += 1, ke.value += 1, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
88
+ k.value || (e.value = Z()), K.value = !e.value.userOptions.showOnChartHover, Ie(), ye.value += 1, be.value += 1, ke.value += 1, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
89
89
  }, { deep: !0 });
90
90
  const { isPrinting: Te, isImaging: Oe, generatePdf: Se, generateImage: _e } = Ht({
91
91
  elementId: `vue-ui-onion_${y.value}`,
@@ -118,7 +118,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
118
118
  const it = i({
119
119
  get: () => e.value.style.chart.layout.labels.fontSize,
120
120
  set: (t) => t
121
- }), { autoSizeLabels: Ae } = Jt({
121
+ }), { autoSizeLabels: Ae } = Qt({
122
122
  svgRef: G,
123
123
  fontSize: e.value.style.chart.layout.labels.fontSize,
124
124
  minFontSize: e.value.style.chart.layout.labels.minFontSize,
@@ -131,7 +131,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
131
131
  componentName: "VueUiOnion",
132
132
  type: "dataset",
133
133
  debug: ct.value
134
- }), K.value = !0), Ge(C.dataset) || (K.value = e.value.loading), e.value.responsive) {
134
+ }), J.value = !0), Ge(C.dataset) || (J.value = e.value.loading), e.value.responsive) {
135
135
  const o = Ut(() => {
136
136
  ee && clearTimeout(ee), x.value = !0;
137
137
  let { width: a, height: l } = Et({
@@ -183,7 +183,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
183
183
  ...t,
184
184
  percentage: t.percentage || 0,
185
185
  targetPercentage: t.percentage || 0,
186
- color: zt(t.color) || rt.value[o] || Xe[o],
186
+ color: Lt(t.color) || rt.value[o] || Xe[o],
187
187
  id: a,
188
188
  shape: "circle",
189
189
  opacity: b.value.includes(a) ? 0.5 : 1,
@@ -200,7 +200,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
200
200
  })}`
201
201
  }))), V = r(m.value), vt = i(() => e.value.useStartAnimation), dt = r(null), ht = i(() => Math.max(...m.value.map((t) => t.percentage))), ae = r(!1);
202
202
  E(() => m.value, Pe, { immediate: !0, deep: !0 }), E(() => C.dataset, (t) => {
203
- Array.isArray(t) && t.length > 0 && (K.value = !1);
203
+ Array.isArray(t) && t.length > 0 && (J.value = !1);
204
204
  }, { deep: !0 });
205
205
  function Pe() {
206
206
  if (vt.value && !ae.value && !k.value) {
@@ -257,7 +257,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
257
257
  `.trim()
258
258
  };
259
259
  }
260
- const mt = Je;
260
+ const mt = Qe;
261
261
  function Fe(t) {
262
262
  b.value.includes(t) ? b.value = b.value.filter((o) => o !== t) : b.value.push(t), mt("selectLegend", T.value);
263
263
  }
@@ -308,7 +308,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
308
308
  S.value = void 0, q.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
309
309
  }
310
310
  const ne = r(null);
311
- function ze({ datapoint: t, seriesIndex: o, show: a = !0 }) {
311
+ function Le({ datapoint: t, seriesIndex: o, show: a = !0 }) {
312
312
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex });
313
313
  const l = t.absoluteIndex;
314
314
  S.value = o, ne.value = {
@@ -325,7 +325,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
325
325
  series: m.value,
326
326
  config: e.value
327
327
  })))
328
- J.value = w({
328
+ Q.value = w({
329
329
  seriesIndex: l,
330
330
  datapoint: t,
331
331
  series: m.value,
@@ -343,10 +343,10 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
343
343
  r: e.value.style.chart.tooltip.roundingValue
344
344
  }),
345
345
  { datapoint: t, seriesIndex: o }
346
- ) : ""}${ue && re ? ")" : ""}</div>`, J.value = `<div>${v}</div>`;
346
+ ) : ""}${ue && re ? ")" : ""}</div>`, Q.value = `<div>${v}</div>`;
347
347
  }
348
348
  }
349
- function Le() {
349
+ function ze() {
350
350
  f.value.showTable = !f.value.showTable;
351
351
  }
352
352
  function Be() {
@@ -358,7 +358,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
358
358
  }
359
359
  async function bt({ scale: t = 2 } = {}) {
360
360
  if (!$.value) return;
361
- const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: v, base64: w } = await Kt({ domElement: $.value, base64: !0, img: !0, scale: t });
361
+ const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: v, base64: w } = await Jt({ domElement: $.value, base64: !0, img: !0, scale: t });
362
362
  return {
363
363
  imageUri: v,
364
364
  base64: w,
@@ -425,7 +425,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
425
425
  generateCsv: oe,
426
426
  generateImage: _e,
427
427
  generateSvg: Ne,
428
- toggleTable: Le,
428
+ toggleTable: ze,
429
429
  toggleTooltip: Be,
430
430
  toggleAnnotator: se,
431
431
  toggleFullscreen: De
@@ -459,7 +459,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
459
459
  ref: ge,
460
460
  style: "width:100%;background:transparent"
461
461
  }, [
462
- (u(), A(Qt, {
462
+ (u(), A(Kt, {
463
463
  key: `title_${ye.value}`,
464
464
  config: {
465
465
  title: {
@@ -476,7 +476,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
476
476
  I("div", {
477
477
  id: `legend-top-${y.value}`
478
478
  }, null, 8, la),
479
- e.value.userOptions.show && de.value && (s(xe) || s(Q)) ? (u(), A(s(tt), {
479
+ e.value.userOptions.show && de.value && (s(xe) || s(K)) ? (u(), A(s(tt), {
480
480
  ref_key: "details",
481
481
  ref: st,
482
482
  key: `user_options${he.value}`,
@@ -507,17 +507,17 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
507
507
  onGenerateCsv: oe,
508
508
  onGenerateImage: s(_e),
509
509
  onGenerateSvg: Ne,
510
- onToggleTable: Le,
510
+ onToggleTable: ze,
511
511
  onToggleTooltip: Be,
512
512
  onToggleAnnotator: se,
513
513
  style: D({
514
- visibility: s(xe) ? s(Q) ? "visible" : "hidden" : "visible"
514
+ visibility: s(xe) ? s(K) ? "visible" : "hidden" : "visible"
515
515
  })
516
516
  }, Ue({ _: 2 }, [
517
517
  t.$slots.menuIcon ? {
518
518
  name: "menuIcon",
519
519
  fn: h(({ isOpen: a, color: l }) => [
520
- g(t.$slots, "menuIcon", R(z({ isOpen: a, color: l })), void 0, !0)
520
+ g(t.$slots, "menuIcon", R(L({ isOpen: a, color: l })), void 0, !0)
521
521
  ]),
522
522
  key: "0"
523
523
  } : void 0,
@@ -559,14 +559,14 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
559
559
  t.$slots.optionFullscreen ? {
560
560
  name: "optionFullscreen",
561
561
  fn: h(({ toggleFullscreen: a, isFullscreen: l }) => [
562
- g(t.$slots, "optionFullscreen", R(z({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
562
+ g(t.$slots, "optionFullscreen", R(L({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
563
563
  ]),
564
564
  key: "6"
565
565
  } : void 0,
566
566
  t.$slots.optionAnnotator ? {
567
567
  name: "optionAnnotator",
568
568
  fn: h(({ toggleAnnotator: a, isAnnotator: l }) => [
569
- g(t.$slots, "optionAnnotator", R(z({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
569
+ g(t.$slots, "optionAnnotator", R(L({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
570
570
  ]),
571
571
  key: "7"
572
572
  } : void 0
@@ -574,7 +574,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
574
574
  (u(), c("svg", {
575
575
  ref_key: "svgRef",
576
576
  ref: G,
577
- xmlns: s(Lt),
577
+ xmlns: s(zt),
578
578
  class: j({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value, resizing: x.value }),
579
579
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
580
580
  style: D(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
@@ -679,7 +679,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
679
679
  transform: "rotate(-90deg)",
680
680
  transformOrigin: "50% 50%"
681
681
  },
682
- onMouseenter: (v) => ze({
682
+ onMouseenter: (v) => Le({
683
683
  datapoint: a,
684
684
  show: !0,
685
685
  seriesIndex: l
@@ -689,7 +689,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
689
689
  }, null, 40, da))), 256)),
690
690
  e.value.style.chart.layout.labels.show ? (u(), c("g", ha, [
691
691
  (u(!0), c(Y, null, X(T.value, (a, l) => (u(), c("g", {
692
- onMouseenter: (v) => ze({
692
+ onMouseenter: (v) => Le({
693
693
  datapoint: a,
694
694
  show: !0,
695
695
  seriesIndex: l
@@ -706,11 +706,11 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
706
706
  "font-size": e.value.style.chart.layout.labels.fontSize,
707
707
  fill: e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value === l ? a.color : e.value.style.chart.layout.labels.color,
708
708
  "font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
709
- }, L(a.name ? a.name + ": " : "") + " " + L(e.value.style.chart.layout.labels.percentage.show ? s(B)({
709
+ }, z(a.name ? a.name + ": " : "") + " " + z(e.value.style.chart.layout.labels.percentage.show ? s(B)({
710
710
  v: a.percentage,
711
711
  s: "%",
712
712
  r: e.value.style.chart.layout.labels.roundingPercentage
713
- }) : "") + " " + L(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${s(ve)(
713
+ }) : "") + " " + z(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${s(ve)(
714
714
  e.value.style.chart.layout.labels.value.formatter,
715
715
  a.value,
716
716
  s(B)({
@@ -736,7 +736,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
736
736
  g(t.$slots, "svg", { svg: n.value }, void 0, !0)
737
737
  ], 14, oa)),
738
738
  t.$slots.watermark ? (u(), c("div", fa, [
739
- g(t.$slots, "watermark", R(z({ isPrinting: s(Te) || s(Oe) })), void 0, !0)
739
+ g(t.$slots, "watermark", R(L({ isPrinting: s(Te) || s(Oe) })), void 0, !0)
740
740
  ])) : p("", !0),
741
741
  I("div", {
742
742
  id: `legend-bottom-${y.value}`
@@ -761,7 +761,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
761
761
  "data-cy-legend-item": "",
762
762
  onClick: (l) => a.segregate(),
763
763
  style: D(`opacity:${b.value.includes(a.id) ? 0.5 : 1}`)
764
- }, L(a.display), 13, ya))
764
+ }, z(a.display), 13, ya))
765
765
  ]),
766
766
  _: 1
767
767
  }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
@@ -778,7 +778,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
778
778
  }, [
779
779
  g(t.$slots, "source", {}, void 0, !0)
780
780
  ], 512)) : p("", !0),
781
- ie(s(Ke), {
781
+ ie(s(Je), {
782
782
  show: f.value.showTooltip && q.value,
783
783
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
784
784
  color: e.value.style.chart.tooltip.color,
@@ -790,7 +790,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
790
790
  position: e.value.style.chart.tooltip.position,
791
791
  offsetY: e.value.style.chart.tooltip.offsetY,
792
792
  parent: $.value,
793
- content: J.value,
793
+ content: Q.value,
794
794
  isFullscreen: F.value,
795
795
  isCustom: s(He)(e.value.style.chart.tooltip.customFormat),
796
796
  smooth: e.value.style.chart.tooltip.smooth,
@@ -799,10 +799,10 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
799
799
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
800
800
  }, {
801
801
  "tooltip-before": h(() => [
802
- g(t.$slots, "tooltip-before", R(z({ ...ne.value })), void 0, !0)
802
+ g(t.$slots, "tooltip-before", R(L({ ...ne.value })), void 0, !0)
803
803
  ]),
804
804
  "tooltip-after": h(() => [
805
- g(t.$slots, "tooltip-after", R(z({ ...ne.value })), void 0, !0)
805
+ g(t.$slots, "tooltip-after", R(L({ ...ne.value })), void 0, !0)
806
806
  ]),
807
807
  _: 3
808
808
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
@@ -823,7 +823,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
823
823
  onClose: o[2] || (o[2] = (a) => f.value.showTable = !1)
824
824
  }, {
825
825
  th: h(({ th: a }) => [
826
- Ee(L(a), 1)
826
+ Ee(z(a), 1)
827
827
  ]),
828
828
  td: h(({ td: a }) => [
829
829
  I("div", { innerHTML: a }, null, 8, ba)
@@ -836,7 +836,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
836
836
  e.value.table.useDialog ? {
837
837
  name: "title",
838
838
  fn: h(() => [
839
- Ee(L(U.value.title), 1)
839
+ Ee(z(U.value.title), 1)
840
840
  ]),
841
841
  key: "0"
842
842
  } : void 0,
@@ -848,7 +848,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
848
848
  class: "vue-ui-user-options-button",
849
849
  onClick: o[1] || (o[1] = (a) => oe(e.value.userOptions.callbacks.csv))
850
850
  }, [
851
- ie(s(Qe), {
851
+ ie(s(Ke), {
852
852
  name: "excel",
853
853
  stroke: U.value.props.color
854
854
  }, null, 8, ["stroke"])
@@ -860,7 +860,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
860
860
  s(k) ? (u(), A(Gt, { key: 8 })) : p("", !0)
861
861
  ], 46, aa));
862
862
  }
863
- }, za = /* @__PURE__ */ ta(ka, [["__scopeId", "data-v-75c2d02d"]]);
863
+ }, La = /* @__PURE__ */ ta(ka, [["__scopeId", "data-v-75c2d02d"]]);
864
864
  export {
865
- za as default
865
+ La as default
866
866
  };