vue-data-ui 3.3.3 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/{Arrow-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
  3. package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
  4. package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
  5. package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
  6. package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
  8. package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
  9. package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
  10. package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
  11. package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
  12. package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
  13. package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
  14. package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
  15. package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
  16. package/dist/{UserOptions-CJXSEhan.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-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
  83. package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
  84. package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
  85. package/dist/{pdf-BzVpWnNO.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-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
  89. package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
  90. package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
  91. package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
  92. package/dist/vue-data-ui.js +100 -100
  93. package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
  94. package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
  96. package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
  97. package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
  98. package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
  99. package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
  100. package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
  101. package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
  102. package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
  103. package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
  104. package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
  105. package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
  106. package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
  107. package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
  108. package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
  109. package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
  110. package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
  111. package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
  112. package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
  113. package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
  114. package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
  115. package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
  116. package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
  118. package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
  119. package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
  120. package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
  121. package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
  122. package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
  123. package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
  124. package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
  125. package/dist/vue-ui-radar-CrenQprr.js +938 -0
  126. package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
  128. package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
  129. package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
  130. package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
  131. package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
  132. package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
  134. package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
  136. package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
  137. package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
  138. package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
  139. package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
  140. package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
  141. package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
  142. package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
  143. package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
  144. package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
  145. package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
  146. package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
  147. package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
  148. package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
  149. package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
  150. package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
  151. package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
  152. package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
  153. package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
  154. package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
  155. package/package.json +2 -2
  156. package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
  157. package/dist/vue-ui-radar-Csznqw19.js +0 -891
  158. package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
  159. package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
  160. package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
@@ -1,18 +1,18 @@
1
- import { defineAsyncComponent as x, ref as o, computed as i, toRefs as wt, onMounted as Ct, watch as Le, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as W, normalizeClass as z, createBlock as T, createCommentVNode as v, createElementVNode as k, createVNode as ae, createSlots as Ae, withCtx as d, renderSlot as g, normalizeProps as I, guardReactiveProps as D, Fragment as Fe, renderList as Ne, Teleport as $t, toDisplayString as oe, resolveDynamicComponent as xt, mergeProps as Tt, createTextVNode as Be, nextTick as Ve } from "vue";
2
- import { c as Ee, t as St, o as _t, f as Me, g as Ot, b as Pt, p as G, e as It, J as Re, h as Dt, P as Lt, a as We, d as S, X as At, z as ze, x as Ft, y as Nt, A as Bt } from "./lib-CSDxt1Zh.js";
1
+ import { defineAsyncComponent as x, ref as o, computed as i, toRefs as wt, onMounted as Ct, watch as Le, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as W, normalizeClass as G, createBlock as T, createCommentVNode as v, createElementVNode as k, createVNode as ae, createSlots as Fe, withCtx as d, renderSlot as g, normalizeProps as I, guardReactiveProps as D, Fragment as Ae, renderList as Ne, Teleport as $t, toDisplayString as oe, resolveDynamicComponent as xt, mergeProps as Tt, createTextVNode as Be, nextTick as Ve } from "vue";
2
+ import { c as Ee, t as St, o as _t, f as Me, g as Ot, b as Pt, p as z, e as It, a1 as Re, h as Dt, a5 as Lt, a as We, d as S, X as Ft, G as Ge, P as At, Q as Nt, H as Bt } from "./lib-BcBZIm6u.js";
3
3
  import { t as Vt, u as Et } from "./useResponsive-DfdjqQps.js";
4
- import { u as Mt, a as Ge } from "./useNestedProp-Dh-ldrr5.js";
4
+ import { u as Mt, a as ze } from "./useNestedProp-B7CiTRDS.js";
5
5
  import { u as Rt, B as Wt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as zt } from "./usePrinter-Cq8Pt6Lh.js";
7
- import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
9
- import Ht from "./img-DI-W68vp.js";
6
+ import { u as Gt } from "./usePrinter-C1GiglOH.js";
7
+ import { u as zt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as Ht } from "./useChartAccessibility-9icAAmYg.js";
9
+ import Ut from "./img-CFY3JivG.js";
10
10
  import { t as Xt } from "./themes-Dw-dDudK.js";
11
- import Yt from "./Title-B6rAo9Oz.js";
12
- import jt from "./Legend-CCBZ2x8T.js";
11
+ import Yt from "./Title-CFmv95In.js";
12
+ import jt from "./Legend-C8u37J42.js";
13
13
  import { u as qt } from "./useSvgExport-DrjCWun4.js";
14
- import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "height"], tl = ["id"], ll = ["stdDeviation"], al = ["d", "stroke", "stroke-width"], ol = ["d", "stroke", "stroke-width"], sl = ["filter"], nl = ["d", "stroke", "stroke-width"], ul = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], rl = {
14
+ import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Jt = ["id"], Kt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "height"], tl = ["id"], ll = ["stdDeviation"], al = ["d", "stroke", "stroke-width"], ol = ["d", "stroke", "stroke-width"], sl = ["filter"], nl = ["d", "stroke", "stroke-width"], ul = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], rl = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
18
  }, il = ["id"], cl = ["onClick"], vl = ["innerHTML"], dl = {
@@ -32,11 +32,11 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
- setup(Ue, { expose: He, emit: Xe }) {
36
- const Ye = x(() => import("./Tooltip-DaInVNiV.js")), je = x(() => import("./BaseIcon-DG6cvf2h.js")), qe = x(() => import("./vue-ui-accordion-CaClZrCp.js")), Je = x(() => import("./DataTable-DUpZ_s2c.js")), Ke = x(() => import("./PenAndPaper-D9LruJaM.js")), Qe = x(() => import("./UserOptions-CJXSEhan.js")), Ze = x(() => import("./PackageVersion-CQvYRebC.js")), et = x(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_galaxy: tt } = Mt(), w = Ue, f = o(Ee()), b = o(null), U = o(!1), H = o(""), _ = o(null), se = o(0), ne = o(0), ue = o(0), re = o(0), ie = o(null), ce = o(null), ve = o(null), de = o(null), L = o(null), B = o(null), he = o(!1), A = o(null), X = o(null), ge = i(() => !!w.dataset && w.dataset.length), e = o(J()), { loading: Y, FINAL_DATASET: pe } = Rt({
35
+ setup(He, { expose: Ue, emit: Xe }) {
36
+ const Ye = x(() => import("./Tooltip-Cs4v8OnI.js")), je = x(() => import("./BaseIcon-B5KaGWWC.js")), qe = x(() => import("./vue-ui-accordion-BKkTS12x.js")), Qe = x(() => import("./DataTable-DOx3zgih.js")), Je = x(() => import("./PenAndPaper-Dj2diYr0.js")), Ke = x(() => import("./UserOptions-C0YT60JN.js")), Ze = x(() => import("./PackageVersion-VpPtLYhK.js")), et = x(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_galaxy: tt } = Mt(), w = He, f = o(Ee()), b = o(null), H = o(!1), U = o(""), _ = o(null), se = o(0), ne = o(0), ue = o(0), re = o(0), ie = o(null), ce = o(null), ve = o(null), de = o(null), L = o(null), B = o(null), he = o(!1), F = o(null), X = o(null), ge = i(() => !!w.dataset && w.dataset.length), e = o(Q()), { loading: Y, FINAL_DATASET: pe } = Rt({
37
37
  ...wt(w),
38
38
  FINAL_CONFIG: e,
39
- prepareConfig: J,
39
+ prepareConfig: Q,
40
40
  callback: () => {
41
41
  Promise.resolve().then(async () => {
42
42
  await Ve(), p.value.showTable = e.value.table.show;
@@ -102,24 +102,24 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
102
102
  L.value && (B.value && L.value.unobserve(B.value), L.value.disconnect()), L.value = new ResizeObserver(t), B.value = b.value.parentNode, L.value.observe(B.value);
103
103
  }
104
104
  }
105
- const { userOptionsVisible: j, setUserOptionsVisibility: be, keepUserOptionState: me } = Gt({ config: e.value }), { svgRef: q } = Ut({ config: e.value.style.chart.title });
106
- function J() {
107
- const t = Ge({
105
+ const { userOptionsVisible: j, setUserOptionsVisibility: be, keepUserOptionState: me } = zt({ config: e.value }), { svgRef: q } = Ht({ config: e.value.style.chart.title });
106
+ function Q() {
107
+ const t = ze({
108
108
  userConfig: w.config,
109
109
  defaultConfig: tt
110
110
  });
111
111
  return t.theme ? {
112
- ...Ge({
112
+ ...ze({
113
113
  userConfig: Xt.vue_ui_galaxy[t.theme] || w.config,
114
114
  defaultConfig: t
115
115
  }),
116
- customPalette: Pt[t.theme] || G
116
+ customPalette: Pt[t.theme] || z
117
117
  } : t;
118
118
  }
119
119
  Le(() => w.config, (t) => {
120
- e.value = J(), j.value = !e.value.userOptions.showOnChartHover, fe(), ne.value += 1, ue.value += 1, re.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
120
+ e.value = Q(), j.value = !e.value.userOptions.showOnChartHover, fe(), ne.value += 1, ue.value += 1, re.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
121
121
  }, { deep: !0 });
122
- const { isPrinting: ke, isImaging: we, generatePdf: Ce, generateImage: $e } = zt({
122
+ const { isPrinting: ke, isImaging: we, generatePdf: Ce, generateImage: $e } = Gt({
123
123
  elementId: `galaxy_${f.value}`,
124
124
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
125
125
  options: e.value.userOptions.print
@@ -134,8 +134,8 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
134
134
  height: E.value,
135
135
  viewBox: `${ot.value} ${st.value} ${V.value} ${E.value}`
136
136
  })), xe = Xe, y = o([]);
137
- function K(t) {
138
- y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), xe("selectLegend", F.value.map((a) => ({
137
+ function J(t) {
138
+ y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), xe("selectLegend", A.value.map((a) => ({
139
139
  name: a.name,
140
140
  color: a.color,
141
141
  value: a.value
@@ -143,7 +143,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
143
143
  }
144
144
  const O = i(() => pe.value.map((t, a) => ({
145
145
  name: t.name,
146
- color: Dt(t.color) || at.value[a] || G[a] || G[a % G.length],
146
+ color: Dt(t.color) || at.value[a] || z[a] || z[a % z.length],
147
147
  value: t.values ? Re(t.values).reduce((l, s) => l + s, 0) : 0,
148
148
  absoluteValues: Re(t.values),
149
149
  id: Ee()
@@ -170,7 +170,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
170
170
  boxWidth: C.value.width,
171
171
  boxHeight: C.value.height,
172
172
  padding: ut.value
173
- })), F = i(() => {
173
+ })), A = i(() => {
174
174
  const t = [];
175
175
  for (let a = 0; a < Se.value.length; a += 1) {
176
176
  const l = Se.value[a], s = l.value / m.value * Te.value + (a > 0 && t.length ? t[a - 1].points : 0);
@@ -184,7 +184,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
184
184
  }
185
185
  return t.filter((a) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
186
186
  });
187
- function Q(t) {
187
+ function K(t) {
188
188
  const a = Math.min(V.value, E.value), l = _.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, s = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * l, r = e.value.style.chart.layout.arcs.strokeWidth * l, h = e.value.style.chart.layout.arcs.strokeWidth / 2 * l;
189
189
  return {
190
190
  border: s / 180 * a,
@@ -198,7 +198,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
198
198
  }
199
199
  const Z = o(null);
200
200
  function it(t) {
201
- U.value = !1, _.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
201
+ H.value = !1, _.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
202
202
  }
203
203
  function ct(t) {
204
204
  xe("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
@@ -209,15 +209,15 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
209
209
  seriesIndex: l,
210
210
  series: O.value,
211
211
  config: e.value
212
- }, U.value = s, _.value = t.id;
212
+ }, H.value = s, _.value = t.id;
213
213
  let r = "";
214
214
  const h = e.value.style.chart.tooltip.customFormat;
215
- ze(h) && Bt(() => h({
215
+ Ge(h) && Bt(() => h({
216
216
  seriesIndex: l,
217
217
  datapoint: t,
218
218
  series: O.value,
219
219
  config: e.value
220
- })) ? H.value = h({
220
+ })) ? U.value = h({
221
221
  seriesIndex: l,
222
222
  datapoint: t,
223
223
  series: O.value,
@@ -240,14 +240,14 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
240
240
  v: t.proportion * 100,
241
241
  s: "%",
242
242
  r: e.value.style.chart.tooltip.roundingPercentage
243
- })}</b></div>`), H.value = `<div>${r}</div>`);
243
+ })}</b></div>`), U.value = `<div>${r}</div>`);
244
244
  }
245
245
  const ee = i(() => O.value.map((t, a) => ({
246
246
  ...t,
247
247
  proportion: (t.value || 0) / pe.value.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
248
248
  opacity: y.value.includes(t.id) ? 0.5 : 1,
249
249
  shape: t.shape || "circle",
250
- segregate: () => K(t),
250
+ segregate: () => J(t),
251
251
  isSegregated: y.value.includes(t.id),
252
252
  display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? We(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, S({
253
253
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
@@ -263,17 +263,17 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
263
263
  paddingBottom: 12,
264
264
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
265
265
  })), $ = i(() => {
266
- const t = F.value.map((l) => ({
266
+ const t = A.value.map((l) => ({
267
267
  name: l.name,
268
268
  color: l.color
269
- })), a = F.value.map((l) => l.value);
269
+ })), a = A.value.map((l) => l.value);
270
270
  return { head: t, body: a };
271
271
  });
272
272
  function te(t = null) {
273
273
  Ve(() => {
274
274
  const a = $.value.head.map((r, h) => [[
275
275
  r.name
276
- ], [$.value.body[h]], [isNaN($.value.body[h] / m.value) ? "-" : $.value.body[h] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = Ft(l);
276
+ ], [$.value.body[h]], [isNaN($.value.body[h] / m.value) ? "-" : $.value.body[h] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = At(l);
277
277
  t ? t(s) : Nt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
278
278
  });
279
279
  }
@@ -332,7 +332,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
332
332
  }
333
333
  async function ht({ scale: t = 2 } = {}) {
334
334
  if (!b.value) return;
335
- const { width: a, height: l } = b.value.getBoundingClientRect(), s = a / l, { imageUri: r, base64: h } = await Ht({ domElement: b.value, base64: !0, img: !0, scale: t });
335
+ const { width: a, height: l } = b.value.getBoundingClientRect(), s = a / l, { imageUri: r, base64: h } = await Ut({ domElement: b.value, base64: !0, img: !0, scale: t });
336
336
  return {
337
337
  imageUri: r,
338
338
  base64: h,
@@ -373,7 +373,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
373
373
  };
374
374
  });
375
375
  Le(() => p.value.showTable, (t) => {
376
- e.value.table.show || (t && e.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
376
+ e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
377
377
  });
378
378
  function Ie() {
379
379
  p.value.showTable = !1, X.value && X.value.setTableIconState(!1);
@@ -395,7 +395,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
395
395
  } else
396
396
  bt();
397
397
  }
398
- return He({
398
+ return Ue({
399
399
  getData: nt,
400
400
  getImage: ht,
401
401
  generatePdf: Ce,
@@ -409,13 +409,13 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
409
409
  }), (t, a) => (n(), c("div", {
410
410
  ref_key: "galaxyChart",
411
411
  ref: b,
412
- class: z(`vue-data-ui-component vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${u(Y) ? "loading" : ""}`),
412
+ class: G(`vue-data-ui-component vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${u(Y) ? "loading" : ""}`),
413
413
  style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
414
414
  id: `galaxy_${f.value}`,
415
415
  onMouseenter: a[2] || (a[2] = () => u(be)(!0)),
416
416
  onMouseleave: a[3] || (a[3] = () => u(be)(!1))
417
417
  }, [
418
- e.value.userOptions.buttons.annotator ? (n(), T(u(Ke), {
418
+ e.value.userOptions.buttons.annotator ? (n(), T(u(Je), {
419
419
  key: 0,
420
420
  svgRef: u(q),
421
421
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -452,8 +452,8 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
452
452
  ], 512)) : v("", !0),
453
453
  k("div", {
454
454
  id: `legend-top-${f.value}`
455
- }, null, 8, Qt),
456
- e.value.userOptions.show && ge.value && (u(me) || u(j)) ? (n(), T(u(Qe), {
455
+ }, null, 8, Kt),
456
+ e.value.userOptions.show && ge.value && (u(me) || u(j)) ? (n(), T(u(Ke), {
457
457
  ref_key: "userOptionsRef",
458
458
  ref: X,
459
459
  key: `user_option_${se.value}`,
@@ -490,7 +490,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
490
490
  style: W({
491
491
  visibility: u(me) ? u(j) ? "visible" : "hidden" : "visible"
492
492
  })
493
- }, Ae({ _: 2 }, [
493
+ }, Fe({ _: 2 }, [
494
494
  t.$slots.menuIcon ? {
495
495
  name: "menuIcon",
496
496
  fn: d(({ isOpen: l, color: s }) => [
@@ -551,8 +551,8 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
551
551
  (n(), c("svg", {
552
552
  ref_key: "svgRef",
553
553
  ref: q,
554
- xmlns: u(At),
555
- class: z({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
554
+ xmlns: u(Ft),
555
+ class: G({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
556
556
  viewBox: C.value.viewBox,
557
557
  style: W(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
558
558
  }, [
@@ -583,13 +583,13 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
583
583
  }, null, 8, ll)
584
584
  ], 8, tl)
585
585
  ]),
586
- (n(!0), c(Fe, null, Ne(F.value, (l) => (n(), c("g", null, [
586
+ (n(!0), c(Ae, null, Ne(A.value, (l) => (n(), c("g", null, [
587
587
  l.value ? (n(), c("path", {
588
588
  key: 0,
589
589
  d: l.path,
590
590
  fill: "none",
591
591
  stroke: e.value.style.chart.backgroundColor,
592
- "stroke-width": Q(l).border,
592
+ "stroke-width": K(l).border,
593
593
  "stroke-linecap": "round"
594
594
  }, null, 8, al)) : v("", !0),
595
595
  l.value ? (n(), c("path", {
@@ -597,9 +597,9 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
597
597
  d: l.path,
598
598
  fill: "none",
599
599
  stroke: l.color,
600
- "stroke-width": Q(l).path,
600
+ "stroke-width": K(l).path,
601
601
  "stroke-linecap": "round",
602
- class: z(`${_.value && _.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
602
+ class: G(`${_.value && _.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
603
603
  }, null, 10, ol)) : v("", !0),
604
604
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (n(), c("g", {
605
605
  key: 2,
@@ -609,13 +609,13 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
609
609
  d: l.path,
610
610
  fill: "none",
611
611
  stroke: e.value.style.chart.layout.arcs.gradient.color,
612
- "stroke-width": Q(l).blur,
612
+ "stroke-width": K(l).blur,
613
613
  "stroke-linecap": "round",
614
- class: z(`vue-ui-galaxy-gradient ${_.value && _.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
614
+ class: G(`vue-ui-galaxy-gradient ${_.value && _.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
615
615
  }, null, 10, nl)
616
616
  ], 8, sl)) : v("", !0)
617
617
  ]))), 256)),
618
- (n(!0), c(Fe, null, Ne(F.value, (l, s) => (n(), c("g", null, [
618
+ (n(!0), c(Ae, null, Ne(A.value, (l, s) => (n(), c("g", null, [
619
619
  l.value ? (n(), c("path", {
620
620
  key: 0,
621
621
  d: l.path,
@@ -652,12 +652,12 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
652
652
  key: `legend_${re.value}`,
653
653
  legendSet: ee.value,
654
654
  config: dt.value,
655
- onClickMarker: a[0] || (a[0] = ({ legend: l }) => K(l))
655
+ onClickMarker: a[0] || (a[0] = ({ legend: l }) => J(l))
656
656
  }, {
657
657
  item: d(({ legend: l, index: s }) => [
658
658
  u(Y) ? v("", !0) : (n(), c("div", {
659
659
  key: 0,
660
- onClick: (r) => K(l),
660
+ onClick: (r) => J(l),
661
661
  style: W(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
662
662
  }, oe(l.display), 13, cl))
663
663
  ]),
@@ -675,7 +675,7 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
675
675
  g(t.$slots, "source", {}, void 0, !0)
676
676
  ], 512)) : v("", !0),
677
677
  ae(u(Ye), {
678
- show: p.value.showTooltip && U.value,
678
+ show: p.value.showTooltip && H.value,
679
679
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
680
680
  color: e.value.style.chart.tooltip.color,
681
681
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -686,9 +686,9 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
686
686
  position: e.value.style.chart.tooltip.position,
687
687
  offsetY: e.value.style.chart.tooltip.offsetY,
688
688
  parent: b.value,
689
- content: H.value,
689
+ content: U.value,
690
690
  isFullscreen: P.value,
691
- isCustom: u(ze)(e.value.style.chart.tooltip.customFormat),
691
+ isCustom: u(Ge)(e.value.style.chart.tooltip.customFormat),
692
692
  smooth: e.value.style.chart.tooltip.smooth,
693
693
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
694
694
  smoothForce: e.value.style.chart.tooltip.smoothForce,
@@ -704,11 +704,11 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
704
704
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
705
705
  ge.value && e.value.userOptions.buttons.table ? (n(), T(xt(N.value.component), Tt({ key: 7 }, N.value.props, {
706
706
  ref_key: "tableUnit",
707
- ref: A,
707
+ ref: F,
708
708
  onClose: Ie
709
- }), Ae({
709
+ }), Fe({
710
710
  content: d(() => [
711
- (n(), T(u(Je), {
711
+ (n(), T(u(Qe), {
712
712
  key: `table_${ue.value}`,
713
713
  colNames: M.value.colNames,
714
714
  head: M.value.head,
@@ -757,9 +757,9 @@ const Kt = ["id"], Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["width", "heigh
757
757
  } : void 0
758
758
  ]), 1040)) : v("", !0),
759
759
  u(Y) ? (n(), T(Wt, { key: 8 })) : v("", !0)
760
- ], 46, Kt));
760
+ ], 46, Jt));
761
761
  }
762
- }, _l = /* @__PURE__ */ Jt(dl, [["__scopeId", "data-v-a560bdf3"]]);
762
+ }, _l = /* @__PURE__ */ Qt(dl, [["__scopeId", "data-v-a560bdf3"]]);
763
763
  export {
764
764
  _l as default
765
765
  };