vue-data-ui 3.3.3 → 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 (159) 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-DyDViSOy.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-D7Tgakts.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-H_4pqH3h.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-BGzYbrts.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-Cf4Uzhez.js} +7 -7
  98. package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
  99. package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
  100. package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
  101. package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-YYE07iRP.js} +35 -35
  102. package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-BRSqhjxm.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-BpeLteeH.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-Yw81BFf2.js} +189 -189
  107. package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-k3xCwZYv.js} +82 -82
  108. package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-DMPndU1O.js} +66 -66
  109. package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-D-W3VQTv.js} +75 -75
  110. package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
  111. package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
  112. package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-APtv_CvA.js} +58 -58
  113. package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
  114. package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-BBdrkhmg.js} +104 -104
  115. package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DL5ioFH4.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-DnjRfc4-.js} +102 -102
  119. package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
  120. package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
  121. package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-DbanwrFr.js} +46 -46
  122. package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +64 -64
  123. package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
  124. package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-C4Uc3DRH.js} +86 -86
  125. package/dist/{vue-ui-radar-Csznqw19.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
  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-4MPxPkAi.js} +31 -31
  128. package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-B1T10gWF.js} +97 -97
  129. package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-G0bYxlue.js} +50 -50
  130. package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-DqZwonPL.js} +100 -100
  131. package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-C-IKc-3B.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-8vV7SyrA.js} +18 -18
  134. package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
  136. package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
  137. package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
  138. package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
  139. package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
  140. package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-CA4GL9dj.js} +52 -52
  141. package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BAbQsJGk.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-1KrHuOle.js} +28 -28
  144. package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
  145. package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-Cj677c6_.js} +29 -29
  146. package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
  147. package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
  148. package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
  149. package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-C39XL2GH.js} +68 -68
  150. package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
  151. package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-Dlp9LghX.js} +47 -47
  152. package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-BS8BCZJ3.js} +6 -6
  153. package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
  154. package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
  155. package/package.json +1 -1
  156. package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
  157. package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
  158. package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
  159. package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
@@ -1,22 +1,22 @@
1
- import { defineAsyncComponent as F, useSlots as Nt, computed as c, ref as i, toRefs as Vt, watch as J, shallowRef as Qe, onMounted as Mt, onBeforeUnmount as Rt, createElementBlock as v, openBlock as n, unref as h, normalizeStyle as le, normalizeClass as Ze, createBlock as B, createCommentVNode as m, createElementVNode as k, createVNode as ae, createSlots as we, withCtx as g, renderSlot as y, normalizeProps as G, guardReactiveProps as W, Fragment as $, renderList as D, mergeProps as ke, toDisplayString as oe, Teleport as Et, resolveDynamicComponent as Ut, createTextVNode as et, nextTick as Gt } from "vue";
2
- import { c as Wt, t as jt, b as qt, p as M, o as tt, f as xe, g as Ht, e as Xt, a as K, d as P, X as Yt, s as Jt, i as Kt, E as Qt, h as Zt, x as el, y as tl, O as ll, z as al, A as ol } from "./lib-CSDxt1Zh.js";
1
+ import { defineAsyncComponent as F, useSlots as zt, computed as c, ref as i, toRefs as Vt, watch as J, shallowRef as Ke, onMounted as Mt, onBeforeUnmount as Rt, createElementBlock as v, openBlock as n, unref as h, normalizeStyle as le, normalizeClass as Ze, createBlock as B, createCommentVNode as m, createElementVNode as k, createVNode as ae, createSlots as we, withCtx as g, renderSlot as y, normalizeProps as G, guardReactiveProps as W, Fragment as $, renderList as D, mergeProps as ke, toDisplayString as oe, Teleport as Et, resolveDynamicComponent as Ut, createTextVNode as et, nextTick as Gt } from "vue";
2
+ import { c as Wt, t as Ht, b as jt, p as M, o as tt, f as xe, g as qt, e as Xt, a as Q, d as P, X as Yt, s as Jt, i as Qt, J as Kt, h as Zt, P as el, Q as tl, I as ll, G as al, H as ol } from "./lib-BcBZIm6u.js";
3
3
  import { t as ul, u as sl } from "./useResponsive-DfdjqQps.js";
4
- import { u as nl, a as lt } from "./useNestedProp-Dh-ldrr5.js";
4
+ import { u as nl, a as lt } from "./useNestedProp-B7CiTRDS.js";
5
5
  import { u as rl, B as il } from "./BaseScanner-BgWxam9d.js";
6
- import { u as vl } from "./usePrinter-Cq8Pt6Lh.js";
6
+ import { u as vl } from "./usePrinter-C1GiglOH.js";
7
7
  import { u as cl } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as dl } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as hl } from "./useChartAccessibility-9icAAmYg.js";
10
- import pl from "./img-DI-W68vp.js";
11
- import { _ as fl } from "./Shape-BS9UGhNq.js";
12
- import gl from "./Title-B6rAo9Oz.js";
10
+ import pl from "./img-CFY3JivG.js";
11
+ import { _ as fl } from "./Shape-BhNvlGIN.js";
12
+ import gl from "./Title-CFmv95In.js";
13
13
  import { t as yl } from "./themes-Dw-dDudK.js";
14
- import bl from "./Legend-CCBZ2x8T.js";
14
+ import bl from "./Legend-C8u37J42.js";
15
15
  import { _ as ml } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["stop-color"], Il = ["stop-color"], Tl = ["id"], _l = ["x", "y", "height", "width"], Sl = ["height", "width"], Al = { key: 0 }, Ol = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Pl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Ll = { key: 1 }, Fl = ["rx", "x", "y", "height", "width", "fill", "filter"], Bl = ["textContent", "x", "y", "font-size", "fill", "filter"], Dl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], zl = {
16
+ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["stop-color"], Il = ["stop-color"], Tl = ["id"], _l = ["x", "y", "height", "width"], Sl = ["height", "width"], Al = { key: 0 }, Ol = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Pl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Ll = { key: 1 }, Fl = ["rx", "x", "y", "height", "width", "fill", "filter"], Bl = ["textContent", "x", "y", "font-size", "fill", "filter"], Dl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Nl = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
- }, Nl = ["id"], Vl = ["onClick"], Ml = ["innerHTML"], Rl = {
19
+ }, zl = ["id"], Vl = ["onClick"], Ml = ["innerHTML"], Rl = {
20
20
  __name: "vue-ui-waffle",
21
21
  props: {
22
22
  config: {
@@ -34,7 +34,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
34
34
  },
35
35
  emits: ["selectLegend"],
36
36
  setup(at, { expose: ot, emit: ut }) {
37
- const st = F(() => import("./Tooltip-DaInVNiV.js")), nt = F(() => import("./BaseIcon-DG6cvf2h.js")), rt = F(() => import("./DataTable-DUpZ_s2c.js")), it = F(() => import("./vue-ui-accordion-CaClZrCp.js")), vt = F(() => import("./UserOptions-CJXSEhan.js")), ct = F(() => import("./PenAndPaper-D9LruJaM.js")), dt = F(() => import("./PackageVersion-CQvYRebC.js")), ht = F(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_waffle: pt } = nl(), w = at, ft = Nt(), ue = c(() => !!w.dataset && w.dataset.length), b = i(Wt()), se = i(!1), ne = i(""), R = i(null), Ce = i(0), I = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(null), Se = i(0), Ae = i(0), Oe = i(0), Pe = i(!1), j = i(null), re = i(null), e = i(de()), { loading: Le, FINAL_DATASET: Q, manualLoading: ie } = rl({
37
+ const st = F(() => import("./Tooltip-Cs4v8OnI.js")), nt = F(() => import("./BaseIcon-B5KaGWWC.js")), rt = F(() => import("./DataTable-DOx3zgih.js")), it = F(() => import("./vue-ui-accordion-BKkTS12x.js")), vt = F(() => import("./UserOptions-C0YT60JN.js")), ct = F(() => import("./PenAndPaper-Dj2diYr0.js")), dt = F(() => import("./PackageVersion-DyDViSOy.js")), ht = F(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_waffle: pt } = nl(), w = at, ft = zt(), ue = c(() => !!w.dataset && w.dataset.length), b = i(Wt()), se = i(!1), ne = i(""), R = i(null), Ce = i(0), I = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(null), Se = i(0), Ae = i(0), Oe = i(0), Pe = i(!1), H = i(null), re = i(null), e = i(de()), { loading: Le, FINAL_DATASET: K, manualLoading: ie } = rl({
38
38
  ...Vt(w),
39
39
  FINAL_CONFIG: e,
40
40
  prepareConfig: de,
@@ -60,7 +60,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
60
60
  color: "#CACACA"
61
61
  }
62
62
  ],
63
- skeletonConfig: jt({
63
+ skeletonConfig: Ht({
64
64
  defaultConfig: e.value,
65
65
  userConfig: {
66
66
  useCustomCells: !1,
@@ -97,20 +97,20 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
97
97
  userConfig: yl.vue_ui_waffle[t.theme] || w.config,
98
98
  defaultConfig: t
99
99
  }),
100
- customPalette: qt[t.theme] || M
100
+ customPalette: jt[t.theme] || M
101
101
  } : t;
102
102
  }
103
103
  J(() => w.config, (t) => {
104
- Le.value || (e.value = de()), ve.value = !e.value.userOptions.showOnChartHover, ze(), Se.value += 1, Ae.value += 1, Oe.value += 1, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show;
104
+ Le.value || (e.value = de()), ve.value = !e.value.userOptions.showOnChartHover, Ne(), Se.value += 1, Ae.value += 1, Oe.value += 1, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show;
105
105
  }, { deep: !0 });
106
- const L = Qe(null), E = Qe(null), De = c(() => !!e.value.debug);
107
- function ze() {
106
+ const L = Ke(null), E = Ke(null), De = c(() => !!e.value.debug);
107
+ function Ne() {
108
108
  if (tt(w.dataset) ? (xe({
109
109
  componentName: "VueUiWaffle",
110
110
  type: "dataset",
111
111
  debug: De.value
112
112
  }), ue.value = !1, ie.value = !0) : w.dataset.forEach((t, l) => {
113
- Ht({
113
+ qt({
114
114
  datasetObject: t,
115
115
  requiredAttributes: ["name", "values"]
116
116
  }).forEach((a) => {
@@ -132,18 +132,18 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
132
132
  noTitle: _e.value
133
133
  });
134
134
  requestAnimationFrame(() => {
135
- z.value.width = l, z.value.height = a, T.value.width = l, T.value.height = a;
135
+ N.value.width = l, N.value.height = a, T.value.width = l, T.value.height = a;
136
136
  });
137
137
  });
138
138
  L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect()), L.value = new ResizeObserver(t), E.value = I.value.parentNode, L.value.observe(E.value);
139
139
  }
140
140
  }
141
141
  Mt(() => {
142
- Pe.value = !0, ze();
142
+ Pe.value = !0, Ne();
143
143
  }), Rt(() => {
144
144
  L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect());
145
145
  });
146
- const { isPrinting: Ne, isImaging: Ve, generatePdf: Me, generateImage: Re } = vl({
146
+ const { isPrinting: ze, isImaging: Ve, generatePdf: Me, generateImage: Re } = vl({
147
147
  elementId: `vue-ui-waffle_${b.value}`,
148
148
  fileName: e.value.style.chart.title.text || "vue-ui-waffle",
149
149
  options: e.value.userOptions.print
@@ -157,7 +157,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
157
157
  showTooltip: e.value.style.chart.tooltip.show
158
158
  };
159
159
  }, { immediate: !0 });
160
- const z = i({
160
+ const N = i({
161
161
  height: 512,
162
162
  width: 512
163
163
  }), T = i({
@@ -175,9 +175,9 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
175
175
  }
176
176
  return u;
177
177
  }
178
- const q = i(!1);
178
+ const j = i(!1);
179
179
  function he() {
180
- return q.value = Q.value.flatMap((t) => t.values.reduce((l, a) => l + a, 0)).reduce((t, l) => t + l, 0) === 0, Q.value.map((t, l) => ({
180
+ return j.value = K.value.flatMap((t) => t.values.reduce((l, a) => l + a, 0)).reduce((t, l) => t + l, 0) === 0, K.value.map((t, l) => ({
181
181
  ...t,
182
182
  color: Zt(t.color) || Ee.value[l] || M[l] || M[l % M.length],
183
183
  uid: `serie_${l}`,
@@ -191,12 +191,12 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
191
191
  p.value = he();
192
192
  }, { deep: !0 });
193
193
  const bt = c(() => {
194
- const t = p.value.filter((l, a) => !f.value.includes(l.uid)).map((l, a) => q.value ? 1 : (l.values || []).reduce((o, u) => o + u, 0));
194
+ const t = p.value.filter((l, a) => !f.value.includes(l.uid)).map((l, a) => j.value ? 1 : (l.values || []).reduce((o, u) => o + u, 0));
195
195
  return Ge(t);
196
196
  }), mt = c(() => {
197
- const t = p.value.map((l, a) => q.value ? 1 : (l.values || []).reduce((o, u) => o + u));
197
+ const t = p.value.map((l, a) => j.value ? 1 : (l.values || []).reduce((o, u) => o + u));
198
198
  return Ge(t);
199
- }), H = c(() => (Q.value.forEach((t, l) => {
199
+ }), q = c(() => (K.value.forEach((t, l) => {
200
200
  [null, void 0].includes(t.values) && xe({
201
201
  componentName: "VueUiWaffle",
202
202
  type: "datasetSerieAttribute",
@@ -230,7 +230,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
230
230
  }
231
231
  const xt = c(() => {
232
232
  let t = 0;
233
- return H.value.map((l, a) => {
233
+ return q.value.map((l, a) => {
234
234
  const o = t, u = o + l.proportion, s = [];
235
235
  for (let d = Math.floor(o); d < Math.floor(u); d += 1)
236
236
  s.push(d);
@@ -264,11 +264,11 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
264
264
  y: (e.value.style.chart.layout.grid.vertical ? a : l) * (S.value + e.value.style.chart.layout.grid.spaceBetween) + T.value.top
265
265
  });
266
266
  return t;
267
- }), f = i([]), X = i(!1), We = i(null), je = i(null);
268
- function qe(t) {
269
- if (q.value) return;
267
+ }), f = i([]), X = i(!1), We = i(null), He = i(null);
268
+ function je(t) {
269
+ if (j.value) return;
270
270
  if (!e.value.useAnimation) {
271
- f.value.includes(t) ? f.value = f.value.filter((u) => u !== t) : f.value.length < N.value.length - 1 && N.value.length > 1 && f.value.push(t);
271
+ f.value.includes(t) ? f.value = f.value.filter((u) => u !== t) : f.value.length < z.value.length - 1 && z.value.length > 1 && f.value.push(t);
272
272
  return;
273
273
  }
274
274
  const l = pe.value.find((u) => u.uid === t).values.reduce((u, s) => u + s, 0), a = p.value.find((u) => u.uid === t).values.reduce((u, s) => u + s, 0);
@@ -287,19 +287,19 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
287
287
  f.value = f.value.filter((d) => d !== t);
288
288
  const u = l;
289
289
  s();
290
- } else if (f.value.length < N.value.length - 1 && N.value.length > 1) {
290
+ } else if (f.value.length < z.value.length - 1 && z.value.length > 1) {
291
291
  let u = function() {
292
- o < a / 100 ? (cancelAnimationFrame(je.value), f.value.push(t), p.value = p.value.map((s, d) => s.uid === t ? {
292
+ o < a / 100 ? (cancelAnimationFrame(He.value), f.value.push(t), p.value = p.value.map((s, d) => s.uid === t ? {
293
293
  ...s,
294
294
  values: [0]
295
295
  } : s), X.value = !1) : (X.value = !0, o /= 1.15, p.value = p.value.map((s) => s.uid === t ? {
296
296
  ...s,
297
297
  values: [o]
298
- } : s), je.value = requestAnimationFrame(u));
298
+ } : s), He.value = requestAnimationFrame(u));
299
299
  };
300
300
  u();
301
301
  }
302
- _t("selectLegend", H.value.map((u) => ({
302
+ _t("selectLegend", q.value.map((u) => ({
303
303
  name: u.name,
304
304
  color: u.color,
305
305
  value: u.value,
@@ -307,7 +307,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
307
307
  })));
308
308
  }
309
309
  }
310
- const N = c(() => p.value.map((t, l) => {
310
+ const z = c(() => p.value.map((t, l) => {
311
311
  const a = (t.values || []).reduce((u, s) => u + s, 0), o = a / p.value.map((u) => (u.values || []).reduce((s, d) => s + d, 0)).reduce((u, s) => u + s, 0);
312
312
  return {
313
313
  name: t.name,
@@ -320,9 +320,9 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
320
320
  }).map((t, l) => ({
321
321
  ...t,
322
322
  opacity: f.value.includes(t.uid) ? 0.5 : 1,
323
- segregate: () => qe(t.uid),
323
+ segregate: () => je(t.uid),
324
324
  isSegregated: f.value.includes(t.uid),
325
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? K(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, P({
325
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Q(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, P({
326
326
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
327
327
  v: t.value,
328
328
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -335,7 +335,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
335
335
  fontSize: e.value.style.chart.legend.fontSize,
336
336
  paddingBottom: 12,
337
337
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
338
- })), A = c(() => H.value.map((t) => t.value).reduce((t, l) => t + l, 0)), fe = i(null), ge = i(null);
338
+ })), A = c(() => q.value.map((t) => t.value).reduce((t, l) => t + l, 0)), fe = i(null), ge = i(null);
339
339
  function $t(t) {
340
340
  const l = r.value[t];
341
341
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.serieIndex });
@@ -368,7 +368,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
368
368
  });
369
369
  else {
370
370
  let o = "";
371
- if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${l.color}" />${ft.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${K(
371
+ if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${l.color}" />${ft.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${Q(
372
372
  e.value.style.chart.layout.labels.dataLabels.formatter,
373
373
  l.value,
374
374
  P({
@@ -384,7 +384,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
384
384
  }
385
385
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
386
386
  const u = P({
387
- v: q.value ? 1 / Q.value.length * 100 : l.value / A.value * 100,
387
+ v: j.value ? 1 / K.value.length * 100 : l.value / A.value * 100,
388
388
  s: "%",
389
389
  r: e.value.style.chart.tooltip.roundingPercentage
390
390
  });
@@ -394,10 +394,10 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
394
394
  }
395
395
  }
396
396
  const _t = ut, O = c(() => {
397
- const t = H.value.map((a) => ({
397
+ const t = q.value.map((a) => ({
398
398
  name: a.name,
399
399
  color: a.color
400
- })), l = H.value.map((a) => a.value);
400
+ })), l = q.value.map((a) => a.value);
401
401
  return { head: t, body: l };
402
402
  });
403
403
  function Z(t) {
@@ -407,7 +407,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
407
407
  return e.value.style.chart.layout.labels.captions.show ? r.value.length && !X.value && !e.value.style.chart.layout.grid.vertical && (r.value[t].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || r.value[t].isAbsoluteFirst && t % e.value.style.chart.layout.grid.size === 0 && r.value[t].absoluteStartIndex) : !1;
408
408
  }
409
409
  function At(t, l = null) {
410
- const a = K(
410
+ const a = Q(
411
411
  e.value.style.chart.layout.labels.dataLabels.formatter,
412
412
  r.value[t].value,
413
413
  P({
@@ -432,7 +432,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
432
432
  const ee = c(() => {
433
433
  const t = [
434
434
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
435
- K(
435
+ Q(
436
436
  e.value.style.chart.layout.labels.dataLabels.formatter,
437
437
  A.value,
438
438
  P({
@@ -448,7 +448,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
448
448
  color: u.color,
449
449
  name: u.name
450
450
  },
451
- K(
451
+ Q(
452
452
  e.value.style.chart.layout.labels.dataLabels.formatter,
453
453
  O.value.body[s],
454
454
  P({
@@ -488,7 +488,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
488
488
  colNames: o
489
489
  };
490
490
  }), V = i(!1);
491
- function He(t) {
491
+ function qe(t) {
492
492
  V.value = t, Ce.value += 1;
493
493
  }
494
494
  function Xe() {
@@ -544,24 +544,24 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
544
544
  };
545
545
  });
546
546
  J(() => x.value.showTable, (t) => {
547
- e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
547
+ e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
548
548
  });
549
549
  function Je() {
550
550
  x.value.showTable = !1, re.value && re.value.setTableIconState(!1);
551
551
  }
552
- const Pt = c(() => N.value.map((t) => ({
552
+ const Pt = c(() => z.value.map((t) => ({
553
553
  ...t,
554
554
  name: t.display
555
- }))), Lt = c(() => e.value.style.chart.backgroundColor), Ft = c(() => e.value.style.chart.legend), Bt = c(() => e.value.style.chart.title), { exportSvg: Dt, getSvg: zt } = cl({
555
+ }))), Lt = c(() => e.value.style.chart.backgroundColor), Ft = c(() => e.value.style.chart.legend), Bt = c(() => e.value.style.chart.title), { exportSvg: Dt, getSvg: Nt } = cl({
556
556
  svg: ce,
557
557
  title: Bt,
558
558
  legend: Ft,
559
559
  legendItems: Pt,
560
560
  backgroundColor: Lt
561
561
  });
562
- async function Ke({ isCb: t }) {
562
+ async function Qe({ isCb: t }) {
563
563
  if (t) {
564
- const { blob: l, url: a, text: o, dataUrl: u } = await zt();
564
+ const { blob: l, url: a, text: o, dataUrl: u } = await Nt();
565
565
  e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: u });
566
566
  } else
567
567
  Dt();
@@ -572,11 +572,11 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
572
572
  generatePdf: Me,
573
573
  generateCsv: ye,
574
574
  generateImage: Re,
575
- generateSvg: Ke,
575
+ generateSvg: Qe,
576
576
  toggleTable: Xe,
577
577
  toggleTooltip: Ye,
578
578
  toggleAnnotator: be,
579
- toggleFullscreen: He
579
+ toggleFullscreen: qe
580
580
  }), (t, l) => (n(), v("div", {
581
581
  class: Ze(`vue-data-ui-component vue-ui-waffle ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
582
582
  ref_key: "waffleChart",
@@ -630,7 +630,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
630
630
  key: `user_options_${Ce.value}`,
631
631
  backgroundColor: e.value.style.chart.backgroundColor,
632
632
  color: e.value.style.chart.color,
633
- isPrinting: h(Ne),
633
+ isPrinting: h(ze),
634
634
  isImaging: h(Ve),
635
635
  uid: b.value,
636
636
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
@@ -650,11 +650,11 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
650
650
  callbacks: e.value.userOptions.callbacks,
651
651
  printScale: e.value.userOptions.print.scale,
652
652
  tableDialog: e.value.table.useDialog,
653
- onToggleFullscreen: He,
653
+ onToggleFullscreen: qe,
654
654
  onGeneratePdf: h(Me),
655
655
  onGenerateCsv: ye,
656
656
  onGenerateImage: h(Re),
657
- onGenerateSvg: Ke,
657
+ onGenerateSvg: Qe,
658
658
  onToggleTable: Xe,
659
659
  onToggleTooltip: Ye,
660
660
  onToggleAnnotator: be,
@@ -724,7 +724,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
724
724
  ref: ce,
725
725
  xmlns: h(Yt),
726
726
  class: Ze({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
727
- viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
727
+ viewBox: `0 0 ${N.value.width <= 0 ? 10 : N.value.width} ${N.value.height <= 0 ? 10 : N.value.height}`,
728
728
  style: le(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
729
729
  }, [
730
730
  ae(h(dt)),
@@ -739,7 +739,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
739
739
  }, [
740
740
  k("stop", {
741
741
  offset: "0%",
742
- "stop-color": h(Jt)(h(Kt)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
742
+ "stop-color": h(Jt)(h(Qt)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
743
743
  }, null, 8, $l),
744
744
  k("stop", {
745
745
  offset: "100%",
@@ -831,7 +831,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
831
831
  x: a.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2 + 6,
832
832
  y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2 + Ue.value / 2 + e.value.style.chart.layout.labels.captions.fontSize / 3,
833
833
  "font-size": e.value.style.chart.layout.labels.captions.fontSize,
834
- fill: h(Qt)(r.value[o].color),
834
+ fill: h(Kt)(r.value[o].color),
835
835
  filter: Z(r.value[o].serieIndex)
836
836
  }, null, 8, Bl)) : m("", !0)
837
837
  ], 64))), 256)),
@@ -846,14 +846,14 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
846
846
  onMouseleave: (u) => It(o),
847
847
  onClick: (u) => $t(o)
848
848
  }, null, 40, Dl))), 256)),
849
- y(t.$slots, "svg", { svg: z.value }, void 0, !0)
849
+ y(t.$slots, "svg", { svg: N.value }, void 0, !0)
850
850
  ], 14, xl)),
851
- t.$slots.watermark ? (n(), v("div", zl, [
852
- y(t.$slots, "watermark", G(W({ isPrinting: h(Ne) || h(Ve) })), void 0, !0)
851
+ t.$slots.watermark ? (n(), v("div", Nl, [
852
+ y(t.$slots, "watermark", G(W({ isPrinting: h(ze) || h(Ve) })), void 0, !0)
853
853
  ])) : m("", !0),
854
854
  k("div", {
855
855
  id: `legend-bottom-${b.value}`
856
- }, null, 8, Nl),
856
+ }, null, 8, zl),
857
857
  Pe.value ? (n(), B(Et, {
858
858
  key: 5,
859
859
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
@@ -864,9 +864,9 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
864
864
  }, [
865
865
  e.value.style.chart.legend.show ? (n(), B(bl, {
866
866
  key: `legend_${Oe.value}`,
867
- legendSet: N.value,
867
+ legendSet: z.value,
868
868
  config: Ct.value,
869
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => qe(a.uid))
869
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => je(a.uid))
870
870
  }, we({
871
871
  item: g(({ legend: a }) => [
872
872
  k("div", {
@@ -891,7 +891,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
891
891
  } : void 0
892
892
  ]), 1032, ["legendSet", "config"])) : y(t.$slots, "legend", {
893
893
  key: 1,
894
- legend: N.value
894
+ legend: z.value
895
895
  }, void 0, !0)
896
896
  ], 512)
897
897
  ], 8, ["to"])) : m("", !0),
@@ -933,7 +933,7 @@ const wl = ["id"], kl = ["id"], xl = ["xmlns", "viewBox"], Cl = ["id"], $l = ["s
933
933
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
934
934
  ue.value && e.value.userOptions.buttons.table ? (n(), B(Ut(Y.value.component), ke({ key: 7 }, Y.value.props, {
935
935
  ref_key: "tableUnit",
936
- ref: j,
936
+ ref: H,
937
937
  onClose: Je
938
938
  }), we({
939
939
  content: g(() => [
@@ -1,14 +1,14 @@
1
- import { useCssVars as $t, computed as f, defineAsyncComponent as ge, ref as _, toRefs as St, watch as Ue, shallowRef as Be, onMounted as It, onBeforeUnmount as Rt, createElementBlock as n, openBlock as o, unref as c, normalizeStyle as fe, normalizeClass as P, createBlock as se, createCommentVNode as I, createSlots as Pt, withCtx as V, renderSlot as z, normalizeProps as oe, guardReactiveProps as ne, createVNode as zt, Fragment as $, renderList as O, createElementVNode as Ot, toDisplayString as Wt } from "vue";
2
- import { c as Tt, t as Dt, o as Ft, f as Xt, i as Z, n as Nt, X as Lt, m as Ee, a as Ut, q as je, d as Bt } from "./lib-CSDxt1Zh.js";
1
+ import { useCssVars as $t, computed as f, defineAsyncComponent as ge, ref as _, toRefs as St, watch as Ue, shallowRef as Be, onMounted as It, onBeforeUnmount as Rt, createElementBlock as n, openBlock as o, unref as c, normalizeStyle as fe, normalizeClass as P, createBlock as se, createCommentVNode as I, createSlots as Pt, withCtx as q, renderSlot as z, normalizeProps as oe, guardReactiveProps as ne, createVNode as zt, Fragment as $, renderList as O, createElementVNode as Ot, toDisplayString as Wt } from "vue";
2
+ import { c as Tt, t as Dt, o as Ft, f as Xt, i as Z, T as Nt, X as Lt, S as Ee, a as Ut, x as je, d as Bt } from "./lib-BcBZIm6u.js";
3
3
  import { t as Et, u as jt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Yt, a as Ye } from "./useNestedProp-Dh-ldrr5.js";
4
+ import { u as Yt, a as Ye } from "./useNestedProp-B7CiTRDS.js";
5
5
  import { u as Gt, B as Ht } from "./BaseScanner-BgWxam9d.js";
6
- import { u as qt } from "./usePrinter-Cq8Pt6Lh.js";
7
- import { u as Vt } from "./useSvgExport-DrjCWun4.js";
6
+ import { u as Vt } from "./usePrinter-C1GiglOH.js";
7
+ import { u as qt } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as Zt } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Jt } from "./useChartAccessibility-9icAAmYg.js";
10
- import Kt from "./img-DI-W68vp.js";
11
- import Qt from "./Title-B6rAo9Oz.js";
10
+ import Kt from "./img-CFY3JivG.js";
11
+ import Qt from "./Title-CFmv95In.js";
12
12
  import { t as ea } from "./themes-Dw-dDudK.js";
13
13
  import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"], oa = ["d", "stroke", "stroke-width"], na = ["cx", "cy", "r", "stroke", "stroke-width"], ua = { key: 0 }, ra = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], ia = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], ca = { key: 1 }, ha = ["d", "fill", "stroke", "stroke-width"], va = ["d", "fill", "stroke", "stroke-width"], da = ["d", "fill", "stroke", "stroke-width"], ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], ka = ["d", "fill", "stroke", "stroke-width"], ga = { key: 5 }, fa = ["x", "y", "height"], pa = ["x", "y", "font-size", "fill", "font-weight", "stroke", "stroke-width"], ma = {
@@ -36,7 +36,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
36
36
  v3e8c19ef: rt.value,
37
37
  v3e8bfc82: it.value
38
38
  }));
39
- const qe = ge(() => import("./PenAndPaper-D9LruJaM.js")), Ve = ge(() => import("./UserOptions-CJXSEhan.js")), Ze = ge(() => import("./PackageVersion-CQvYRebC.js")), { vue_ui_wheel: Je } = Yt(), F = Ge, Ke = f(() => !!F.dataset && Object.keys(F.dataset).length), ue = _(Tt()), Qe = _(null), pe = _(0), X = _(null), me = _(null), we = _(null), be = _(null), xe = _(0), e = _(he()), { loading: Me, FINAL_DATASET: re } = Gt({
39
+ const Ve = ge(() => import("./PenAndPaper-Dj2diYr0.js")), qe = ge(() => import("./UserOptions-C0YT60JN.js")), Ze = ge(() => import("./PackageVersion-DyDViSOy.js")), { vue_ui_wheel: Je } = Yt(), F = Ge, Ke = f(() => !!F.dataset && Object.keys(F.dataset).length), ue = _(Tt()), Qe = _(null), pe = _(0), X = _(null), me = _(null), we = _(null), be = _(null), xe = _(0), e = _(he()), { loading: Me, FINAL_DATASET: re } = Gt({
40
40
  ...St(F),
41
41
  FINAL_CONFIG: e,
42
42
  prepareConfig: he,
@@ -80,7 +80,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
80
80
  Ue(() => F.config, (t) => {
81
81
  e.value = he(), ie.value = !e.value.userOptions.showOnChartHover, Pe(), xe.value += 1;
82
82
  }, { deep: !0 });
83
- const { isPrinting: Ae, isImaging: $e, generatePdf: Se, generateImage: Ie } = qt({
83
+ const { isPrinting: Ae, isImaging: $e, generatePdf: Se, generateImage: Ie } = Vt({
84
84
  elementId: ue.value,
85
85
  fileName: e.value.style.chart.title.text || "vue-ui-wheel",
86
86
  options: e.value.userOptions.print
@@ -160,8 +160,8 @@ const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
160
160
  }) {
161
161
  const h = w * Math.PI / 180, p = a, C = a * l, b = [];
162
162
  for (let m = 0; m < r; m += 1) {
163
- const g = (m / r * 360 + v) * Math.PI / 180, R = t + p * Math.cos(g), B = s + p * Math.sin(g), N = t + C * Math.cos(g), j = s + C * Math.sin(g), Y = [R - t, B - s, 0], G = [N - t, j - s, 0], [ae, Le, H] = J(Y, h), [ye, ke, q] = J(G, h), [le, yt, , kt] = K([ae, Le, H], y), [gt, ft, , ba] = K([ye, ke, q], y), pt = t + le, mt = s + yt, wt = t + gt, bt = s + ft, xt = (Math.max(H, q) - -p * Math.sin(h)) / (2 * p * Math.sin(h) || 1), Mt = A ? A(m) : !0, Ct = e.value.style.chart.layout.wheel.ticks.gradient.show ? Z(x, m * S.value / D.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : x, _t = ze(Mt ? Ct : M, xt), At = Math.max(1.25, k * kt * (Math.min(u.value.width, u.value.height) / 360));
164
- b.push({ i: m, x1: pt, y1: mt, x2: wt, y2: bt, stroke: At, color: _t, z: Math.max(H, q) });
163
+ const g = (m / r * 360 + v) * Math.PI / 180, R = t + p * Math.cos(g), B = s + p * Math.sin(g), N = t + C * Math.cos(g), j = s + C * Math.sin(g), Y = [R - t, B - s, 0], G = [N - t, j - s, 0], [ae, Le, H] = J(Y, h), [ye, ke, V] = J(G, h), [le, yt, , kt] = K([ae, Le, H], y), [gt, ft, , ba] = K([ye, ke, V], y), pt = t + le, mt = s + yt, wt = t + gt, bt = s + ft, xt = (Math.max(H, V) - -p * Math.sin(h)) / (2 * p * Math.sin(h) || 1), Mt = A ? A(m) : !0, Ct = e.value.style.chart.layout.wheel.ticks.gradient.show ? Z(x, m * S.value / D.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : x, _t = ze(Mt ? Ct : M, xt), At = Math.max(1.25, k * kt * (Math.min(u.value.width, u.value.height) / 360));
164
+ b.push({ i: m, x1: pt, y1: mt, x2: wt, y2: bt, stroke: At, color: _t, z: Math.max(H, V) });
165
165
  }
166
166
  return b.sort((m, g) => m.z - g.z), b;
167
167
  }
@@ -263,8 +263,8 @@ const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
263
263
  ) : k : x, ye = (() => {
264
264
  const le = p * Math.sin(h) || 1;
265
265
  return (ae - -le) / (2 * le);
266
- })(), ke = ze(H, ye), q = `M ${N.x} ${N.y} L ${j.x} ${j.y} L ${Y.x} ${Y.y} L ${G.x} ${G.y} Z`;
267
- m.push({ i: g, d: q, fill: ke, z: ae });
266
+ })(), ke = ze(H, ye), V = `M ${N.x} ${N.y} L ${j.x} ${j.y} L ${Y.x} ${Y.y} L ${G.x} ${G.y} Z`;
267
+ m.push({ i: g, d: V, fill: ke, z: ae });
268
268
  }
269
269
  return m.sort((g, R) => g.z - R.z), m;
270
270
  }
@@ -331,7 +331,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
331
331
  aspectRatio: l
332
332
  };
333
333
  }
334
- const ut = f(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2), rt = f(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * 0.75), it = f(() => e.value.style.chart.layout.wheel.ticks.strokeWidth), U = f(() => Math.max(1, Math.min(20, e.value.style.chart.layout.wheel.ticks.depth3d))), ct = f(() => e.value.style.chart.backgroundColor), ht = f(() => e.value.style.chart.title), { exportSvg: vt, getSvg: dt } = Vt({
334
+ const ut = f(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2), rt = f(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * 0.75), it = f(() => e.value.style.chart.layout.wheel.ticks.strokeWidth), U = f(() => Math.max(1, Math.min(20, e.value.style.chart.layout.wheel.ticks.depth3d))), ct = f(() => e.value.style.chart.backgroundColor), ht = f(() => e.value.style.chart.title), { exportSvg: vt, getSvg: dt } = qt({
335
335
  svg: ce,
336
336
  title: ht,
337
337
  backgroundColor: ct,
@@ -360,7 +360,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
360
360
  onMouseenter: s[0] || (s[0] = () => c(Ce)(!0)),
361
361
  onMouseleave: s[1] || (s[1] = () => c(Ce)(!1))
362
362
  }, [
363
- e.value.userOptions.buttons.annotator ? (o(), se(c(qe), {
363
+ e.value.userOptions.buttons.annotator ? (o(), se(c(Ve), {
364
364
  key: 0,
365
365
  svgRef: c(ce),
366
366
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -395,7 +395,7 @@ const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
395
395
  }
396
396
  }, null, 8, ["config"]))
397
397
  ], 512)) : I("", !0),
398
- e.value.userOptions.show && Ke.value && (c(_e) || c(ie)) ? (o(), se(c(Ve), {
398
+ e.value.userOptions.show && Ke.value && (c(_e) || c(ie)) ? (o(), se(c(qe), {
399
399
  ref_key: "details",
400
400
  ref: Qe,
401
401
  key: `user_options_${pe.value}`,
@@ -428,35 +428,35 @@ const aa = ["id"], la = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
428
428
  }, Pt({ _: 2 }, [
429
429
  t.$slots.menuIcon ? {
430
430
  name: "menuIcon",
431
- fn: V(({ isOpen: a, color: l }) => [
431
+ fn: q(({ isOpen: a, color: l }) => [
432
432
  z(t.$slots, "menuIcon", oe(ne({ isOpen: a, color: l })), void 0, !0)
433
433
  ]),
434
434
  key: "0"
435
435
  } : void 0,
436
436
  t.$slots.optionPdf ? {
437
437
  name: "optionPdf",
438
- fn: V(() => [
438
+ fn: q(() => [
439
439
  z(t.$slots, "optionPdf", {}, void 0, !0)
440
440
  ]),
441
441
  key: "1"
442
442
  } : void 0,
443
443
  t.$slots.optionImg ? {
444
444
  name: "optionImg",
445
- fn: V(() => [
445
+ fn: q(() => [
446
446
  z(t.$slots, "optionImg", {}, void 0, !0)
447
447
  ]),
448
448
  key: "2"
449
449
  } : void 0,
450
450
  t.$slots.optionFullscreen ? {
451
451
  name: "optionFullscreen",
452
- fn: V(({ toggleFullscreen: a, isFullscreen: l }) => [
452
+ fn: q(({ toggleFullscreen: a, isFullscreen: l }) => [
453
453
  z(t.$slots, "optionFullscreen", oe(ne({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
454
454
  ]),
455
455
  key: "3"
456
456
  } : void 0,
457
457
  t.$slots.optionAnnotator ? {
458
458
  name: "optionAnnotator",
459
- fn: V(({ toggleAnnotator: a, isAnnotator: l }) => [
459
+ fn: q(({ toggleAnnotator: a, isAnnotator: l }) => [
460
460
  z(t.$slots, "optionAnnotator", oe(ne({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
461
461
  ]),
462
462
  key: "4"