vue-data-ui 3.2.2 → 3.2.4

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 (158) hide show
  1. package/dist/{Arrow-BWqgcDpl.js → Arrow-Bb0bGghy.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cg4ZF9cb.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
  3. package/dist/{BaseIcon-e63bhLIi.js → BaseIcon-Bz-1GQhu.js} +10 -3
  4. package/dist/ColorPicker-B-WUqMoV.js +238 -0
  5. package/dist/{DataTable-dv6G7Krn.js → DataTable-BvjacRbw.js} +2 -2
  6. package/dist/{Legend-CVcdvTLM.js → Legend-BpoFJ8fc.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DSmotL8i.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
  8. package/dist/{PackageVersion-C3Vg-vTM.js → PackageVersion-x4hg0tYe.js} +1 -1
  9. package/dist/{PenAndPaper-CplrzuG7.js → PenAndPaper-CR8q353D.js} +3 -3
  10. package/dist/{Shape-D_vfF7sk.js → Shape-C_C_OmqR.js} +1 -1
  11. package/dist/{Slicer-BO2wNLcR.js → Slicer-BA2GhOmY.js} +63 -63
  12. package/dist/{SparkTooltip-B82G5-BO.js → SparkTooltip-Dz1PDE_h.js} +1 -1
  13. package/dist/{Title-DlqxaiIs.js → Title-C__lOIPC.js} +1 -1
  14. package/dist/{Tooltip-BKqK7z38.js → Tooltip-BOXz8skU.js} +1 -1
  15. package/dist/{UserOptions-C9IFsUt0.js → UserOptions-DsTgvAok.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +5 -0
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-1edcjS0-.js → dom-to-png-BgvOdfyW.js} +1 -1
  82. package/dist/{img-A48JwXxj.js → img-DjWwQXVS.js} +1 -1
  83. package/dist/{lib-CDp2KgIU.js → lib-BEpWEyMm.js} +56 -56
  84. package/dist/{pdf-BZV8MuXM.js → pdf-YD0ShN36.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +15 -4
  87. package/dist/types/vue-ui-annotator.d.ts +14 -0
  88. package/dist/{useAutoSizeLabelsInsideViewbox-C2IsrQqi.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
  89. package/dist/{useNestedProp-Cwtenuui.js → useNestedProp-CLD3Gk9S.js} +17 -13
  90. package/dist/{usePrinter-DU_Pi3Rq.js → usePrinter-w23K-ezx.js} +2 -2
  91. package/dist/{vue-data-ui-BHJOTOQY.js → vue-data-ui-boJG_PFN.js} +64 -64
  92. package/dist/vue-data-ui.js +96 -96
  93. package/dist/{vue-ui-3d-bar-rxghnZJO.js → vue-ui-3d-bar-HrbA4DmH.js} +6 -6
  94. package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
  95. package/dist/{vue-ui-age-pyramid-gT_SnI-F.js → vue-ui-age-pyramid-CS5384rT.js} +6 -6
  96. package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
  97. package/dist/{vue-ui-bullet-DREbhLhy.js → vue-ui-bullet-DaauvX3a.js} +15 -15
  98. package/dist/{vue-ui-candlestick-D4P15Ci1.js → vue-ui-candlestick-DQXu21Mp.js} +33 -33
  99. package/dist/{vue-ui-carousel-table-C24KX4gd.js → vue-ui-carousel-table-Bh8Vb6ce.js} +4 -4
  100. package/dist/{vue-ui-chestnut-BbQknrj0.js → vue-ui-chestnut-BgmAUlUz.js} +32 -32
  101. package/dist/{vue-ui-chord-BM4_D9kI.js → vue-ui-chord-3NX_jwG_.js} +53 -53
  102. package/dist/{vue-ui-circle-pack-S4Asc9CS.js → vue-ui-circle-pack-Berb37Aa.js} +29 -29
  103. package/dist/{vue-ui-cursor-F9MXsQ1K.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
  104. package/dist/{vue-ui-dashboard-D6LHLdFS.js → vue-ui-dashboard-BzU-96mz.js} +67 -67
  105. package/dist/{vue-ui-digits-B_8VzLOS.js → vue-ui-digits-ChAz3jSS.js} +2 -2
  106. package/dist/{vue-ui-donut-B7T8_tP1.js → vue-ui-donut-BBQNmH5y.js} +8 -8
  107. package/dist/{vue-ui-donut-evolution-DOn-7PnK.js → vue-ui-donut-evolution-BD3_nxd1.js} +55 -55
  108. package/dist/{vue-ui-dumbbell-Ch66pFUG.js → vue-ui-dumbbell-Ct-YAkFg.js} +7 -7
  109. package/dist/{vue-ui-flow-DPcsRLJJ.js → vue-ui-flow-CVHjWM9l.js} +63 -63
  110. package/dist/{vue-ui-funnel-BdcKoacQ.js → vue-ui-funnel-Co79mdnX.js} +36 -36
  111. package/dist/{vue-ui-galaxy-D3c-O1Op.js → vue-ui-galaxy-D-XFEUfD.js} +46 -46
  112. package/dist/{vue-ui-gauge-D1zbKzZQ.js → vue-ui-gauge-Cx6eQ1nL.js} +59 -59
  113. package/dist/{vue-ui-gizmo-CcrANrSX.js → vue-ui-gizmo-D2PHxbS3.js} +3 -3
  114. package/dist/{vue-ui-heatmap-CcvV9Y14.js → vue-ui-heatmap-D4KCpMN3.js} +7 -7
  115. package/dist/{vue-ui-history-plot-a0mLhd0L.js → vue-ui-history-plot-Q_Q9g2Es.js} +44 -44
  116. package/dist/{vue-ui-kpi-BwUpplcm.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-DBPZOqZA.js → vue-ui-mini-loader-CKMzFSG5.js} +2 -2
  118. package/dist/{vue-ui-molecule-xsgartoC.js → vue-ui-molecule-Bxs72uED.js} +5 -5
  119. package/dist/{vue-ui-mood-radar-kl2d5QsL.js → vue-ui-mood-radar-B5wYN9tI.js} +7 -7
  120. package/dist/{vue-ui-nested-donuts-D9I8_VnP.js → vue-ui-nested-donuts-pt6KriAc.js} +70 -70
  121. package/dist/{vue-ui-onion-BlxsHavW.js → vue-ui-onion-C8jid2_q.js} +8 -8
  122. package/dist/{vue-ui-parallel-coordinate-plot-DHH6lrbW.js → vue-ui-parallel-coordinate-plot-06wFGFFV.js} +35 -35
  123. package/dist/{vue-ui-quadrant-DyIQZUPC.js → vue-ui-quadrant-B2dS6aSz.js} +8 -8
  124. package/dist/{vue-ui-quick-chart-Jfr_Ezh9.js → vue-ui-quick-chart-CrkR07qv.js} +55 -55
  125. package/dist/{vue-ui-radar-BL_dJV12.js → vue-ui-radar-CkAX2pUE.js} +54 -54
  126. package/dist/{vue-ui-rating-LiragGSU.js → vue-ui-rating-C0Ubexdn.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-BrR2W_6V.js → vue-ui-relation-circle-eROPsns9.js} +25 -25
  128. package/dist/{vue-ui-ridgeline-CpaOYplC.js → vue-ui-ridgeline-AkXpQ6zB.js} +27 -27
  129. package/dist/{vue-ui-rings-B9TGOwFE.js → vue-ui-rings-DEwCnnwC.js} +38 -38
  130. package/dist/{vue-ui-scatter-Bq4pSRu_.js → vue-ui-scatter-DzojJVhb.js} +49 -49
  131. package/dist/{vue-ui-skeleton-BlVnOk2o.js → vue-ui-skeleton-Bp8Ao16B.js} +3 -3
  132. package/dist/{vue-ui-smiley-DyP9gKYe.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-Pvdqnqia.js → vue-ui-spark-trend-DqKebrx9.js} +22 -22
  134. package/dist/{vue-ui-sparkbar-DF6eDrxt.js → vue-ui-sparkbar-BShmZ5Vp.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-BR7oFSSF.js → vue-ui-sparkgauge-NX3Z_bFF.js} +3 -3
  136. package/dist/{vue-ui-sparkhistogram-CkOGqy2h.js → vue-ui-sparkhistogram-TBxquo5S.js} +4 -4
  137. package/dist/{vue-ui-sparkline-DF8bLc-F.js → vue-ui-sparkline-Bw4jxjxk.js} +29 -29
  138. package/dist/{vue-ui-sparkstackbar-DMkn-0FV.js → vue-ui-sparkstackbar-D8YGkrZ9.js} +3 -3
  139. package/dist/{vue-ui-stackbar-CUXktGA-.js → vue-ui-stackbar-0Kag52U5.js} +38 -38
  140. package/dist/{vue-ui-strip-plot-ibdxtil6.js → vue-ui-strip-plot-CU0tiCsd.js} +7 -7
  141. package/dist/{vue-ui-table-BocHahKB.js → vue-ui-table-B4BTGeKs.js} +17 -17
  142. package/dist/{vue-ui-table-heatmap-B03YDYck.js → vue-ui-table-heatmap-D-iueyM0.js} +13 -13
  143. package/dist/{vue-ui-table-sparkline-8mOvfeTL.js → vue-ui-table-sparkline-BnqMY5lk.js} +4 -4
  144. package/dist/{vue-ui-thermometer-Dq_nJLiU.js → vue-ui-thermometer-Ct3Sr0M1.js} +7 -7
  145. package/dist/{vue-ui-timer-BLveMseW.js → vue-ui-timer-DsAVvm1H.js} +27 -27
  146. package/dist/{vue-ui-tiremarks-DMG1_YzV.js → vue-ui-tiremarks-DKNpl_8J.js} +6 -6
  147. package/dist/{vue-ui-treemap-io-J9w5R.js → vue-ui-treemap-Jdea_p8r.js} +8 -8
  148. package/dist/{vue-ui-vertical-bar-DqnTF6h2.js → vue-ui-vertical-bar-DE42y9ZI.js} +30 -30
  149. package/dist/{vue-ui-waffle-X9DHHqlw.js → vue-ui-waffle-CrYeU7zd.js} +75 -75
  150. package/dist/{vue-ui-wheel-BLBwVpV8.js → vue-ui-wheel-B4Be4Ol6.js} +6 -6
  151. package/dist/{vue-ui-word-cloud-0GXQqY8G.js → vue-ui-word-cloud-9QkLvAgs.js} +28 -28
  152. package/dist/{vue-ui-world-5OHPVwxv.js → vue-ui-world-DTwfuIIZ.js} +6 -6
  153. package/dist/{vue-ui-xy-HW0T1CD8.js → vue-ui-xy-BKzt6d8T.js} +9 -9
  154. package/dist/{vue-ui-xy-canvas-C4FbbXNQ.js → vue-ui-xy-canvas-BGzMXziC.js} +10 -10
  155. package/package.json +1 -1
  156. package/dist/ColorPicker-BO4ntExI.js +0 -135
  157. package/dist/vue-ui-accordion-BWnxgda4.js +0 -76
  158. package/dist/vue-ui-annotator-BkHDHfHG.js +0 -2182
@@ -1,13 +1,13 @@
1
- import { defineAsyncComponent as Ee, ref as w, computed as V, toRefs as da, watch as Te, shallowRef as Mt, onMounted as ca, onBeforeUnmount as Ot, nextTick as lt, watchEffect as fa, createElementBlock as n, openBlock as l, normalizeStyle as N, normalizeClass as de, createBlock as Ie, createCommentVNode as m, createElementVNode as z, createVNode as be, unref as s, createSlots as ha, withCtx as ne, renderSlot as W, normalizeProps as me, guardReactiveProps as ge, toDisplayString as B, Fragment as x, renderList as T, Teleport as ma, mergeProps as ot } from "vue";
2
- import { c as ga, t as pa, b as ya, p as J, D as We, e as xa, L as ka, f as ba, o as Sa, h as nt, n as wa, E as Xe, X as Aa, u as La, v as it, w as Pe, a as ie, d as G, N as Nt, W as Dt, q as ue, z as je, A as ut } from "./lib-CDp2KgIU.js";
3
- import { t as Bt, u as _a } from "./useResponsive-DfdjqQps.js";
4
- import { u as za, a as Ut } from "./useNestedProp-Cwtenuui.js";
5
- import { u as $a } from "./usePrinter-DU_Pi3Rq.js";
1
+ import { defineAsyncComponent as Ee, ref as w, computed as V, toRefs as da, watch as Te, shallowRef as Mt, onMounted as ca, onBeforeUnmount as Ot, nextTick as lt, watchEffect as fa, createElementBlock as n, openBlock as l, normalizeStyle as N, normalizeClass as de, createBlock as Ie, createCommentVNode as m, createElementVNode as z, createVNode as be, unref as s, createSlots as ha, withCtx as ne, renderSlot as W, normalizeProps as me, guardReactiveProps as ge, toDisplayString as D, Fragment as x, renderList as T, Teleport as ma, mergeProps as ot } from "vue";
2
+ import { c as ga, t as pa, b as ya, p as J, B as We, e as xa, J as ka, f as ba, o as Sa, h as nt, n as wa, C as Xe, X as Aa, u as La, v as it, w as Pe, a as ie, d as G, L as Nt, U as Bt, q as ue, z as je, A as ut } from "./lib-BEpWEyMm.js";
3
+ import { t as Dt, u as _a } from "./useResponsive-DfdjqQps.js";
4
+ import { u as za, a as Ut } from "./useNestedProp-CLD3Gk9S.js";
5
+ import { u as $a } from "./usePrinter-w23K-ezx.js";
6
6
  import { u as Ca } from "./useTimeLabels-BGFjWgrv.js";
7
7
  import { u as Ea } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { u as Ta } from "./useTimeLabelCollider-CIsgDrl9.js";
9
- import Ia from "./img-A48JwXxj.js";
10
- import { S as Pa } from "./Slicer-BO2wNLcR.js";
9
+ import Ia from "./img-DjWwQXVS.js";
10
+ import { S as Pa } from "./Slicer-BA2GhOmY.js";
11
11
  import { t as Ra } from "./themes-D3cUNuKw.js";
12
12
  import { u as Fa, B as Ma } from "./BaseScanner-BgWxam9d.js";
13
13
  import { _ as Oa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -16,15 +16,15 @@ const _ = {
16
16
  BAR: "BAR",
17
17
  DONUT: "DONUT"
18
18
  }, Na = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
19
- function Da({ dataset: h, barLineSwitch: R = 6, debug: A = !0 }) {
19
+ function Ba({ dataset: h, barLineSwitch: R = 6, debug: A = !0 }) {
20
20
  let q = null, X = null, se = 0;
21
21
  if ((typeof h == "number" || typeof h == "string") && A && console.warn(`The provided dataset (${h}) is not sufficient to build a chart`), Ye(h) && (re(h) && (h.length < R ? q = _.BAR : q = _.LINE, X = h, se = h.length), Ge(h))) {
22
22
  if (!Ua(h))
23
23
  return A && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
24
- const Ze = Object.keys(h[0]), D = Object.values(h[0]);
24
+ const Ze = Object.keys(h[0]), B = Object.values(h[0]);
25
25
  if (!Ze.some((M) => Va(M)))
26
26
  return A && console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
27
- Vt(D, (M) => typeof M == "number") && (q = _.DONUT, X = h), Vt(D, (M) => Array.isArray(M) && re(M)) && (qt(h) > R ? q = _.LINE : q = _.BAR, se = qt(h), X = h.map((M) => ({
27
+ Vt(B, (M) => typeof M == "number") && (q = _.DONUT, X = h), Vt(B, (M) => Array.isArray(M) && re(M)) && (qt(h) > R ? q = _.LINE : q = _.BAR, se = qt(h), X = h.map((M) => ({
28
28
  ...M,
29
29
  data: qa(M, (Re) => re(Re))
30
30
  }))), h = h.map((M) => Ht(M)), X = X.map((M) => Ht(M));
@@ -50,7 +50,7 @@ function re(h) {
50
50
  function Ge(h) {
51
51
  return !Ye(h) || Wt(h) || !![...new Set(h.flatMap((A) => typeof A == "object" && !Array.isArray(A)))].includes(!1) ? !1 : !h.map((A) => Object.keys(A).length > 0).includes(!1);
52
52
  }
53
- function Ba(h, R) {
53
+ function Da(h, R) {
54
54
  const A = Object.keys(h).sort(), q = Object.keys(R).sort();
55
55
  if (A.length !== q.length)
56
56
  return !1;
@@ -65,7 +65,7 @@ function Ua(h) {
65
65
  if (h.length <= 1) return !0;
66
66
  for (let R = 0; R < h.length; R += 1)
67
67
  for (let A = R + 1; A < h.length; A += 1)
68
- if (!Ba(h[R], h[A]))
68
+ if (!Da(h[R], h[A]))
69
69
  return !1;
70
70
  return !0;
71
71
  }
@@ -117,7 +117,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
117
117
  }, Ml = ["x", "y", "height", "width", "fill", "onMouseenter", "onMouseleave", "onClick"], Ol = {
118
118
  key: 0,
119
119
  class: "line-grid"
120
- }, Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = {
120
+ }, Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dl = {
121
121
  key: 1,
122
122
  class: "line-axis"
123
123
  }, Ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ql = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Hl = ["x", "y", "font-size", "fill"], Wl = {
@@ -156,8 +156,8 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
156
156
  },
157
157
  emits: ["selectDatapoint", "selectLegend"],
158
158
  setup(h, { expose: R, emit: A }) {
159
- const q = Ee(() => import("./BaseIcon-e63bhLIi.js")), X = Ee(() => import("./PackageVersion-C3Vg-vTM.js")), se = Ee(() => import("./PenAndPaper-CplrzuG7.js")), Se = Ee(() => import("./Tooltip-BKqK7z38.js")), rt = Ee(() => import("./UserOptions-C9IFsUt0.js")), { vue_ui_quick_chart: Ze } = za(), D = h, M = w(null), Re = w(null), st = w(null), vt = w(null), Y = w(ga()), ce = w(!1), we = w(null), fe = w(""), te = w(null), dt = w(null), ct = w(null), L = w([]), ft = w(0), Fe = w(0), ht = w(!1), Ae = w(null), Le = w(null), ae = w(null), Me = w(null), mt = w(null), gt = w(null), Oe = w("#FFFFFF"), e = w(Ke()), Je = V(() => !!e.value.debug), { loading: U, FINAL_DATASET: Xt, manualLoading: pt } = Fa({
160
- ...da(D),
159
+ const q = Ee(() => import("./BaseIcon-Bz-1GQhu.js")), X = Ee(() => import("./PackageVersion-x4hg0tYe.js")), se = Ee(() => import("./PenAndPaper-CR8q353D.js")), Se = Ee(() => import("./Tooltip-BOXz8skU.js")), rt = Ee(() => import("./UserOptions-DsTgvAok.js")), { vue_ui_quick_chart: Ze } = za(), B = h, M = w(null), Re = w(null), st = w(null), vt = w(null), Y = w(ga()), ce = w(!1), we = w(null), fe = w(""), te = w(null), dt = w(null), ct = w(null), L = w([]), ft = w(0), Fe = w(0), ht = w(!1), Ae = w(null), Le = w(null), ae = w(null), Me = w(null), mt = w(null), gt = w(null), Oe = w("#FFFFFF"), e = w(Ke()), Je = V(() => !!e.value.debug), { loading: U, FINAL_DATASET: Xt, manualLoading: pt } = Fa({
160
+ ...da(B),
161
161
  FINAL_CONFIG: e,
162
162
  prepareConfig: Ke,
163
163
  callback: () => {
@@ -198,27 +198,27 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
198
198
  }
199
199
  function Ke() {
200
200
  const a = Ut({
201
- userConfig: D.config,
201
+ userConfig: B.config,
202
202
  defaultConfig: Ze
203
203
  });
204
204
  let r = {};
205
205
  return a.theme ? r = {
206
206
  ...Ut({
207
- userConfig: Ra.vue_ui_quick_chart[a.theme] || D.config,
207
+ userConfig: Ra.vue_ui_quick_chart[a.theme] || B.config,
208
208
  defaultConfig: a
209
209
  }),
210
210
  customPalette: ya[a.theme] || J
211
- } : r = a, D.config && We(D.config, "zoomStartIndex") ? r.zoomStartIndex = D.config.zoomStartIndex : r.zoomStartIndex = null, D.config && We(D.config, "zoomEndIndex") ? r.zoomEndIndex = D.config.zoomEndIndex : r.zoomEndIndex = null, D.config && !We(D.config, "donutStroke") ? We(D.config, "backgroundColor") ? Oe.value = D.config.backgroundColor : Oe.value = "#FFFFFF" : Oe.value = D.config.donutStroke, r;
211
+ } : r = a, B.config && We(B.config, "zoomStartIndex") ? r.zoomStartIndex = B.config.zoomStartIndex : r.zoomStartIndex = null, B.config && We(B.config, "zoomEndIndex") ? r.zoomEndIndex = B.config.zoomEndIndex : r.zoomEndIndex = null, B.config && !We(B.config, "donutStroke") ? We(B.config, "backgroundColor") ? Oe.value = B.config.backgroundColor : Oe.value = "#FFFFFF" : Oe.value = B.config.donutStroke, r;
212
212
  }
213
- Te(() => D.config, (a) => {
213
+ Te(() => B.config, (a) => {
214
214
  U.value || (e.value = Ke()), S.value.width = e.value.width, S.value.height = e.value.height, Ne.value = !e.value.showUserOptionsOnChartHover, wt(), ye.value.showTooltip = e.value.showTooltip;
215
- }, { deep: !0 }), Te(() => D.dataset, (a) => {
215
+ }, { deep: !0 }), Te(() => B.dataset, (a) => {
216
216
  k.value = ze.value, y.value.start = 0, y.value.end = k.value.maxSeriesLength, Fe.value += 1;
217
- }, { deep: !0 }), Te(() => D.dataset, (a) => {
217
+ }, { deep: !0 }), Te(() => B.dataset, (a) => {
218
218
  Array.isArray(a) && a.length > 0 && (pt.value = !1);
219
219
  }, { immediate: !0 });
220
220
  const _e = V(() => xa(e.value.customPalette)), pe = A, ze = V(() => {
221
- const a = Da({ debug: Je.value, dataset: ka(Xt.value, [
221
+ const a = Ba({ debug: Je.value, dataset: ka(Xt.value, [
222
222
  "serie",
223
223
  "series",
224
224
  "data",
@@ -235,7 +235,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
235
235
  debug: Je.value
236
236
  });
237
237
  }, { immediate: !0 });
238
- const { isPrinting: De, isImaging: Be, generatePdf: bt, generateImage: St } = $a({
238
+ const { isPrinting: Be, isImaging: De, generatePdf: bt, generateImage: St } = $a({
239
239
  elementId: `${C.value}_${Y.value}`,
240
240
  fileName: e.value.title || C.value,
241
241
  options: e.value.userOptionsPrint
@@ -255,8 +255,8 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
255
255
  ht.value = !0, wt();
256
256
  });
257
257
  function wt() {
258
- if (Sa(D.dataset) || (pt.value = e.value.loading), e.value.responsive) {
259
- const a = Bt(() => {
258
+ if (Sa(B.dataset) || (pt.value = e.value.loading), e.value.responsive) {
259
+ const a = Dt(() => {
260
260
  const { width: r, height: t } = _a({
261
261
  chart: M.value,
262
262
  title: e.value.title ? Re.value : null,
@@ -490,7 +490,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
490
490
  return p > o ? p : o;
491
491
  }, 0)), a + 4;
492
492
  }
493
- const et = w(0), aa = Bt((a) => {
493
+ const et = w(0), aa = Dt((a) => {
494
494
  et.value = a;
495
495
  }, 100);
496
496
  fa((a) => {
@@ -949,8 +949,8 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
949
949
  key: `user_option_${ft.value}`,
950
950
  backgroundColor: e.value.backgroundColor,
951
951
  color: e.value.color,
952
- isPrinting: s(De),
953
- isImaging: s(Be),
952
+ isPrinting: s(Be),
953
+ isImaging: s(De),
954
954
  uid: Y.value,
955
955
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
956
956
  hasPdf: e.value.userOptionsButtons.pdf,
@@ -1024,7 +1024,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1024
1024
  ref: Re,
1025
1025
  class: "vue-ui-quick-chart-title",
1026
1026
  style: N(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
1027
- }, B(e.value.title), 5)) : m("", !0),
1027
+ }, D(e.value.title), 5)) : m("", !0),
1028
1028
  z("div", {
1029
1029
  id: `legend-top-${Y.value}`
1030
1030
  }, null, 8, Wa),
@@ -1162,7 +1162,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1162
1162
  fill: e.value.color,
1163
1163
  "font-size": e.value.dataLabelFontSize,
1164
1164
  filter: $e(t.id)
1165
- }, B(P.value.displayArcPercentage(t, P.value.chart)) + " (" + B(s(ie)(
1165
+ }, D(P.value.displayArcPercentage(t, P.value.chart)) + " (" + D(s(ie)(
1166
1166
  e.value.formatter,
1167
1167
  t.value,
1168
1168
  s(G)({
@@ -1181,7 +1181,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1181
1181
  fill: e.value.color,
1182
1182
  "font-size": e.value.dataLabelFontSize,
1183
1183
  filter: $e(t.id)
1184
- }, B(t.name), 9, sl)) : m("", !0)
1184
+ }, D(t.name), 9, sl)) : m("", !0)
1185
1185
  ], 64))), 256))
1186
1186
  ])) : m("", !0),
1187
1187
  e.value.donutShowTotal ? (l(), n("g", vl, [
@@ -1191,14 +1191,14 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1191
1191
  y: P.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
1192
1192
  "font-size": e.value.donutTotalLabelFontSize,
1193
1193
  fill: e.value.color
1194
- }, B(e.value.donutTotalLabelText), 9, dl),
1194
+ }, D(e.value.donutTotalLabelText), 9, dl),
1195
1195
  z("text", {
1196
1196
  "text-anchor": "middle",
1197
1197
  x: P.value.drawingArea.centerX,
1198
1198
  y: P.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
1199
1199
  "font-size": e.value.donutTotalLabelFontSize,
1200
1200
  fill: e.value.color
1201
- }, B(s(G)({
1201
+ }, D(s(G)({
1202
1202
  p: e.value.valuePrefix,
1203
1203
  v: P.value.total,
1204
1204
  s: e.value.valueSuffix,
@@ -1274,7 +1274,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1274
1274
  "text-anchor": "end",
1275
1275
  "font-size": e.value.xyLabelsYFontSize,
1276
1276
  fill: e.value.color
1277
- }, B(s(ie)(
1277
+ }, D(s(ie)(
1278
1278
  e.value.formatter,
1279
1279
  t.value,
1280
1280
  s(G)({
@@ -1328,7 +1328,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1328
1328
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1329
1329
  fill: e.value.color,
1330
1330
  transform: `translate(${c.value.drawingArea.left + c.value.slotSize * (o + 1) - c.value.slotSize / 2}, ${c.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1331
- }, B(t), 9, Al))
1331
+ }, D(t), 9, Al))
1332
1332
  ])) : m("", !0)
1333
1333
  ], 64))), 256))
1334
1334
  ], 512)
@@ -1340,7 +1340,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1340
1340
  ref_for: !0,
1341
1341
  ref_key: "pathWrapper",
1342
1342
  ref: Ae,
1343
- d: `M ${s(Dt)(t.coordinates)}`,
1343
+ d: `M ${s(Bt)(t.coordinates)}`,
1344
1344
  stroke: e.value.backgroundColor,
1345
1345
  "stroke-width": e.value.lineStrokeWidth + 1,
1346
1346
  "stroke-linecap": "round",
@@ -1352,7 +1352,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1352
1352
  ref_for: !0,
1353
1353
  ref_key: "pathTop",
1354
1354
  ref: Le,
1355
- d: `M ${s(Dt)(t.coordinates)}`,
1355
+ d: `M ${s(Bt)(t.coordinates)}`,
1356
1356
  stroke: t.color,
1357
1357
  "stroke-width": e.value.lineStrokeWidth,
1358
1358
  "stroke-linecap": "round",
@@ -1408,7 +1408,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1408
1408
  y: s(ue)(u.y) - e.value.dataLabelFontSize / 2,
1409
1409
  class: de({ "vue-ui-quick-chart-label": !0, "quick-animation": !s(U) }),
1410
1410
  style: N({ transition: s(U) ? void 0 : "all 0.3s ease-in-out" })
1411
- }, B(s(ie)(
1411
+ }, D(s(ie)(
1412
1412
  e.value.formatter,
1413
1413
  s(ue)(u.value),
1414
1414
  s(G)({
@@ -1457,9 +1457,9 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1457
1457
  stroke: e.value.xyGridStroke,
1458
1458
  "stroke-width": e.value.xyGridStrokeWidth,
1459
1459
  "stroke-linecap": "round"
1460
- }, null, 8, Dl))), 256))
1460
+ }, null, 8, Bl))), 256))
1461
1461
  ])) : m("", !0),
1462
- e.value.xyShowAxis ? (l(), n("g", Bl, [
1462
+ e.value.xyShowAxis ? (l(), n("g", Dl, [
1463
1463
  z("line", {
1464
1464
  x1: d.value.drawingArea.left,
1465
1465
  x2: d.value.drawingArea.left,
@@ -1503,7 +1503,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1503
1503
  "text-anchor": "end",
1504
1504
  "font-size": e.value.xyLabelsYFontSize,
1505
1505
  fill: e.value.color
1506
- }, B(s(ie)(
1506
+ }, D(s(ie)(
1507
1507
  e.value.formatter,
1508
1508
  t.value,
1509
1509
  s(G)({
@@ -1554,7 +1554,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1554
1554
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1555
1555
  fill: e.value.color,
1556
1556
  transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (o + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1557
- }, B(t), 9, Gl))
1557
+ }, D(t), 9, Gl))
1558
1558
  ])) : m("", !0)
1559
1559
  ], 64))), 256))
1560
1560
  ], 512)
@@ -1572,14 +1572,14 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1572
1572
  "stroke-linecap": "round",
1573
1573
  class: de({ "vue-data-ui-bar-animated": e.value.barAnimated && u.value < 0 && !s(U) })
1574
1574
  }, [
1575
- e.value.barAnimated && u.value > 0 && !s(De) && !s(Be) ? (l(), n("animate", {
1575
+ e.value.barAnimated && u.value > 0 && !s(Be) && !s(De) ? (l(), n("animate", {
1576
1576
  key: 0,
1577
1577
  attributeName: "height",
1578
1578
  from: 0,
1579
1579
  to: u.height,
1580
1580
  dur: "0.5s"
1581
1581
  }, null, 8, Ql)) : m("", !0),
1582
- e.value.barAnimated && u.value > 0 && !s(De) && !s(Be) ? (l(), n("animate", {
1582
+ e.value.barAnimated && u.value > 0 && !s(Be) && !s(De) ? (l(), n("animate", {
1583
1583
  key: 1,
1584
1584
  attributeName: "y",
1585
1585
  from: d.value.absoluteZero,
@@ -1598,7 +1598,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1598
1598
  "font-size": e.value.dataLabelFontSize,
1599
1599
  fill: t.color,
1600
1600
  class: "quick-animation"
1601
- }, B(s(ie)(
1601
+ }, D(s(ie)(
1602
1602
  e.value.formatter,
1603
1603
  s(ue)(u.value),
1604
1604
  s(G)({
@@ -1637,7 +1637,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1637
1637
  "text-anchor": "middle",
1638
1638
  x: c.value.drawingArea.left + c.value.drawingArea.width / 2,
1639
1639
  y: S.value.height - e.value.axisLabelsFontSize / 3
1640
- }, B(e.value.xAxisLabel), 9, no)
1640
+ }, D(e.value.xAxisLabel), 9, no)
1641
1641
  ], 512)) : m("", !0),
1642
1642
  e.value.xAxisLabel && C.value === _.BAR ? (l(), n("g", {
1643
1643
  key: 1,
@@ -1650,7 +1650,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1650
1650
  "text-anchor": "middle",
1651
1651
  x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1652
1652
  y: S.value.height - e.value.axisLabelsFontSize / 3
1653
- }, B(e.value.xAxisLabel), 9, io)
1653
+ }, D(e.value.xAxisLabel), 9, io)
1654
1654
  ], 512)) : m("", !0),
1655
1655
  e.value.yAxisLabel && C.value === _.LINE ? (l(), n("g", {
1656
1656
  key: 2,
@@ -1662,7 +1662,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1662
1662
  fill: e.value.color,
1663
1663
  transform: `translate(${e.value.axisLabelsFontSize}, ${c.value.drawingArea.top + c.value.drawingArea.height / 2}) rotate(-90)`,
1664
1664
  "text-anchor": "middle"
1665
- }, B(e.value.yAxisLabel), 9, uo)
1665
+ }, D(e.value.yAxisLabel), 9, uo)
1666
1666
  ], 512)) : m("", !0),
1667
1667
  e.value.yAxisLabel && C.value === _.BAR ? (l(), n("g", {
1668
1668
  key: 3,
@@ -1674,12 +1674,12 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1674
1674
  fill: e.value.color,
1675
1675
  transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1676
1676
  "text-anchor": "middle"
1677
- }, B(e.value.yAxisLabel), 9, ro)
1677
+ }, D(e.value.yAxisLabel), 9, ro)
1678
1678
  ], 512)) : m("", !0)
1679
1679
  ])) : m("", !0)
1680
1680
  ], 12, Xa)) : m("", !0),
1681
1681
  a.$slots.watermark ? (l(), n("div", so, [
1682
- W(a.$slots, "watermark", me(ge({ isPrinting: s(De) || s(Be) })), void 0, !0)
1682
+ W(a.$slots, "watermark", me(ge({ isPrinting: s(Be) || s(De) })), void 0, !0)
1683
1683
  ])) : m("", !0),
1684
1684
  [_.BAR, _.LINE].includes(C.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (l(), n("div", {
1685
1685
  key: `slicer_${Fe.value}`,
@@ -1767,10 +1767,10 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1767
1767
  }, null, 8, ["name", "stroke", "size"]),
1768
1768
  z("span", {
1769
1769
  style: N(`font-size:${e.value.legendFontSize}px`)
1770
- }, B(t.name), 5),
1770
+ }, D(t.name), 5),
1771
1771
  z("span", {
1772
1772
  style: N(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1773
- }, B(L.value.includes(t.id) ? "-" : s(ie)(
1773
+ }, D(L.value.includes(t.id) ? "-" : s(ie)(
1774
1774
  e.value.formatter,
1775
1775
  t.absoluteValue,
1776
1776
  s(G)({
@@ -1790,7 +1790,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1790
1790
  }, " ( - % ) ", 4)) : (l(), n("span", {
1791
1791
  key: 2,
1792
1792
  style: N(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1793
- }, " (" + B(s(G)({
1793
+ }, " (" + D(s(G)({
1794
1794
  v: t.value / P.value.total * 100,
1795
1795
  s: "%",
1796
1796
  r: e.value.dataLabelRoundingPercentage
@@ -1815,7 +1815,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1815
1815
  }, null, 8, ["name", "stroke", "size"]),
1816
1816
  z("span", {
1817
1817
  style: N(`font-size:${e.value.legendFontSize}px`)
1818
- }, B(t.name), 5)
1818
+ }, D(t.name), 5)
1819
1819
  ], 64))
1820
1820
  ], 12, fo))), 256)) : m("", !0),
1821
1821
  C.value === _.BAR ? (l(!0), n(x, { key: 2 }, T(d.value.legend, (t, o) => (l(), n("div", {
@@ -1836,7 +1836,7 @@ const Ha = ["id"], Wa = ["id"], Xa = ["xmlns", "viewBox"], ja = ["x", "y", "widt
1836
1836
  }, null, 8, ["name", "stroke", "size"]),
1837
1837
  z("span", {
1838
1838
  style: N(`font-size:${e.value.legendFontSize}px`)
1839
- }, B(t.name), 5)
1839
+ }, D(t.name), 5)
1840
1840
  ], 64))
1841
1841
  ], 12, ho))), 256)) : m("", !0)
1842
1842
  ], 4)) : m("", !0)