vue-data-ui 3.3.0 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/{Arrow-CKLBHe3L.js → Arrow-DLi6NnGD.js} +1 -1
  2. package/dist/{BaseDraggableDialog-q3pgSDTz.js → BaseDraggableDialog-CVGErydD.js} +2 -2
  3. package/dist/{BaseIcon-CtqN7W_g.js → BaseIcon-eZbszQrv.js} +1 -1
  4. package/dist/{ColorPicker-Cr6rUDTP.js → ColorPicker-BoPM4Ejg.js} +2 -2
  5. package/dist/{DataTable-BeI6gYJX.js → DataTable-yAMEyP6y.js} +2 -2
  6. package/dist/{Legend-DsogCeTb.js → Legend-By4rru90.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BDK_ucTG.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
  8. package/dist/{PackageVersion-C9oklnuy.js → PackageVersion-r-Q1R3nV.js} +1 -1
  9. package/dist/{PenAndPaper-BxbYiPy4.js → PenAndPaper-Bo-lMUik.js} +3 -3
  10. package/dist/{Shape-DJG2zW7b.js → Shape-BceHSLHf.js} +1 -1
  11. package/dist/{Slicer-D6T4aUhr.js → Slicer-Znzt0gSE.js} +2 -2
  12. package/dist/{SparkTooltip-Cp0G9giW.js → SparkTooltip--YwqrrgZ.js} +1 -1
  13. package/dist/{Title-D17CJXko.js → Title-Camz1Lce.js} +1 -1
  14. package/dist/{Tooltip-CtVdvbZi.js → Tooltip-VOcQEHa4.js} +1 -1
  15. package/dist/{UserOptions-B3vCIe-u.js → UserOptions-CSja1SGU.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 +1 -1
  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-BiyqJA3t.js → dom-to-png-DxyZSvDx.js} +1 -1
  82. package/dist/{img-6wPuVVtk.js → img-J2dLIr8Y.js} +1 -1
  83. package/dist/{lib-GIYcnm0E.js → lib-CEjkWSLj.js} +376 -374
  84. package/dist/{pdf-DjbHsnrb.js → pdf-anN8VbM7.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/{useAutoSizeLabelsInsideViewbox-Csv3pVmh.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
  87. package/dist/{useNestedProp-mxyyqd0B.js → useNestedProp-Ce3PwN8T.js} +1 -1
  88. package/dist/{usePrinter-DYRFiw7X.js → usePrinter-DJ1iH-F_.js} +2 -2
  89. package/dist/useResizeObserverEffect-DfnWps4W.js +109 -0
  90. package/dist/useSvgExport-DrjCWun4.js +750 -0
  91. package/dist/{vue-data-ui-DLU1snC3.js → vue-data-ui-BFdGl7rL.js} +64 -64
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-D6xoBrN6.js → vue-ui-3d-bar-kzlIaqHU.js} +7 -7
  94. package/dist/{vue-ui-accordion-Dch9YrCi.js → vue-ui-accordion-VTP418mC.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-D74mAaLA.js → vue-ui-age-pyramid-YFzQ15k1.js} +28 -35
  96. package/dist/{vue-ui-annotator-DwRwhrgB.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
  97. package/dist/{vue-ui-bullet-D2qVUqWs.js → vue-ui-bullet-DdjpiM-T.js} +8 -8
  98. package/dist/{vue-ui-candlestick-C81k1_f9.js → vue-ui-candlestick-x9U5Ni0N.js} +31 -38
  99. package/dist/{vue-ui-carousel-table-DBIhnEj-.js → vue-ui-carousel-table-CRI_iPLn.js} +4 -4
  100. package/dist/{vue-ui-chestnut-CSM-_IWw.js → vue-ui-chestnut-YrEA5Gq3.js} +6 -6
  101. package/dist/{vue-ui-chord-BFW9nnNh.js → vue-ui-chord-D_2DdvpZ.js} +9 -9
  102. package/dist/{vue-ui-circle-pack-D6mTG5i0.js → vue-ui-circle-pack-xm9-OOAR.js} +7 -7
  103. package/dist/{vue-ui-cursor-BJmTAMpP.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
  104. package/dist/{vue-ui-dashboard-BdFLsK4u.js → vue-ui-dashboard-29ZuFoLn.js} +67 -67
  105. package/dist/{vue-ui-digits-DXum1rs6.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
  106. package/dist/{vue-ui-donut-CqefukGp.js → vue-ui-donut-BQptfVfE.js} +9 -9
  107. package/dist/{vue-ui-donut-evolution-DFIbK50s.js → vue-ui-donut-evolution-fiqngEFW.js} +76 -83
  108. package/dist/{vue-ui-dumbbell-DIo2ecGY.js → vue-ui-dumbbell-Cw45EBO0.js} +31 -38
  109. package/dist/{vue-ui-flow--kiGWaq4.js → vue-ui-flow-DPu9BjPy.js} +8 -8
  110. package/dist/{vue-ui-funnel-B8UHwj15.js → vue-ui-funnel-CtlDuNjO.js} +7 -7
  111. package/dist/{vue-ui-galaxy-eQZh_y3l.js → vue-ui-galaxy-BiVjoNHW.js} +8 -8
  112. package/dist/{vue-ui-gauge-DJ-E6L2T.js → vue-ui-gauge-CoM6Q3Nb.js} +8 -8
  113. package/dist/{vue-ui-gizmo-DFxlqPz7.js → vue-ui-gizmo-DXG8dS5u.js} +3 -3
  114. package/dist/{vue-ui-heatmap-CcAe5dDN.js → vue-ui-heatmap-D6n8AnCc.js} +194 -215
  115. package/dist/{vue-ui-history-plot-CgKvd7Jx.js → vue-ui-history-plot-C8WMHda_.js} +38 -45
  116. package/dist/{vue-ui-kpi-Ct2iyD49.js → vue-ui-kpi-Dphnwumo.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-ByjcvXBB.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
  118. package/dist/{vue-ui-molecule-CGDBEAkX.js → vue-ui-molecule-DC4_vXt_.js} +6 -6
  119. package/dist/{vue-ui-mood-radar-D9GuK4cI.js → vue-ui-mood-radar-BgT5wMS0.js} +8 -8
  120. package/dist/{vue-ui-nested-donuts-CGKgOTX2.js → vue-ui-nested-donuts-D2gSqe1f.js} +8 -8
  121. package/dist/{vue-ui-onion-C5tE1Woz.js → vue-ui-onion-CEbv2ii4.js} +9 -9
  122. package/dist/{vue-ui-parallel-coordinate-plot-CVhD6IoH.js → vue-ui-parallel-coordinate-plot-budrvcwU.js} +38 -45
  123. package/dist/{vue-ui-quadrant-BGDCaOXv.js → vue-ui-quadrant-PpymeiXe.js} +9 -9
  124. package/dist/{vue-ui-quick-chart-CjXSB-2S.js → vue-ui-quick-chart-k6mjTD56.js} +207 -214
  125. package/dist/{vue-ui-radar-rhxkROX7.js → vue-ui-radar-C5NvYMnv.js} +9 -9
  126. package/dist/{vue-ui-rating-Bo9gSy-z.js → vue-ui-rating-eKlTJch9.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-Qo8FKbL2.js → vue-ui-relation-circle-Df33aaUT.js} +8 -8
  128. package/dist/{vue-ui-ridgeline-ahOApbEC.js → vue-ui-ridgeline-BTw-37RS.js} +38 -45
  129. package/dist/{vue-ui-rings-DFAVaEBs.js → vue-ui-rings-C_s9xOtZ.js} +9 -9
  130. package/dist/{vue-ui-scatter-zjlWyvVd.js → vue-ui-scatter-Jd8bQ0S5.js} +9 -9
  131. package/dist/{vue-ui-skeleton-CKfOnyd_.js → vue-ui-skeleton-Ce7H57o7.js} +3 -3
  132. package/dist/{vue-ui-smiley-CY7UiJ9C.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-DwNYP97M.js → vue-ui-spark-trend-DQy4iSO7.js} +3 -3
  134. package/dist/{vue-ui-sparkbar-BkdcYrmg.js → vue-ui-sparkbar-CUFTHql0.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-C6Kq_OGV.js → vue-ui-sparkgauge-CcykuBps.js} +3 -3
  136. package/dist/{vue-ui-sparkhistogram-CjB33yXB.js → vue-ui-sparkhistogram-CyGvYpYn.js} +4 -4
  137. package/dist/{vue-ui-sparkline-DcH4yIEd.js → vue-ui-sparkline-CLWJM6hA.js} +3 -3
  138. package/dist/{vue-ui-sparkstackbar-MKr2u_pO.js → vue-ui-sparkstackbar-Cln1pduE.js} +3 -3
  139. package/dist/{vue-ui-stackbar-DKV-exfd.js → vue-ui-stackbar-DIUil9DO.js} +31 -46
  140. package/dist/{vue-ui-strip-plot-ncTrDlNC.js → vue-ui-strip-plot-C4U0fT5D.js} +106 -113
  141. package/dist/{vue-ui-table-BdT3lGuv.js → vue-ui-table-DpdP3PDq.js} +5 -5
  142. package/dist/{vue-ui-table-heatmap-D929cWB0.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-CkZ_ygR1.js → vue-ui-table-sparkline-Chf5YY4A.js} +4 -4
  144. package/dist/{vue-ui-thermometer-CjBLR6H9.js → vue-ui-thermometer-D6RmaNE6.js} +8 -8
  145. package/dist/{vue-ui-timer-Bs7eMmiC.js → vue-ui-timer-C5E1kJRt.js} +5 -5
  146. package/dist/{vue-ui-tiremarks-nGOZKRcz.js → vue-ui-tiremarks-D0erVBnj.js} +7 -7
  147. package/dist/{vue-ui-treemap-SQ2f5wbN.js → vue-ui-treemap-K8FYxuYz.js} +10 -10
  148. package/dist/{vue-ui-vertical-bar-Hh9gAN5j.js → vue-ui-vertical-bar-BA3OY8Sh.js} +10 -10
  149. package/dist/{vue-ui-waffle-C7moVBln.js → vue-ui-waffle-CgLgPuro.js} +9 -9
  150. package/dist/{vue-ui-wheel-KrGLMCqW.js → vue-ui-wheel-C_cOUhCs.js} +7 -7
  151. package/dist/{vue-ui-word-cloud-BQSu6kiR.js → vue-ui-word-cloud-uvHNOIpN.js} +7 -7
  152. package/dist/{vue-ui-world-DdoMFJcV.js → vue-ui-world-DmeNMwpX.js} +7 -7
  153. package/dist/{vue-ui-xy-canvas-oUXISeU8.js → vue-ui-xy-canvas-BQKR36bd.js} +10 -10
  154. package/dist/{vue-ui-xy-B2fjTYMJ.js → vue-ui-xy-tWE4H5ij.js} +278 -285
  155. package/package.json +1 -1
  156. package/dist/useSvgExport-B7-Vrjtu.js +0 -732
  157. package/dist/useTimeLabelCollider-CIsgDrl9.js +0 -78
@@ -1,20 +1,20 @@
1
- import { defineAsyncComponent as H, useSlots as Ia, computed as m, ref as y, onMounted as Rt, toRefs as Na, watch as ze, shallowRef as It, onBeforeUnmount as Nt, watchEffect as Ot, nextTick as Pt, createElementBlock as o, openBlock as r, unref as v, normalizeStyle as j, normalizeClass as le, createBlock as B, createCommentVNode as d, renderSlot as L, createElementVNode as D, createVNode as he, createSlots as Ge, withCtx as C, normalizeProps as W, guardReactiveProps as Y, Fragment as b, renderList as p, mergeProps as Ce, toDisplayString as T, Teleport as Oa, resolveDynamicComponent as Pa, createTextVNode as Vt } from "vue";
2
- import { u as Va, a as Dt } from "./useNestedProp-mxyyqd0B.js";
3
- import { c as Et, t as Da, b as Ea, p as Se, B as se, e as Fa, o as Ft, f as Ut, g as Ua, h as Ha, a8 as _e, a9 as Ht, C as Bt, X as Ba, m as Wa, a4 as $e, E as Wt, a as Te, d as ee, L as Ya, H as Xa, z as Yt, x as Ga, y as Ja, A as qa } from "./lib-GIYcnm0E.js";
1
+ import { defineAsyncComponent as H, useSlots as Ia, computed as m, ref as y, onMounted as Rt, toRefs as Na, watch as ze, shallowRef as It, onBeforeUnmount as Nt, nextTick as Ot, createElementBlock as o, openBlock as r, unref as v, normalizeStyle as j, normalizeClass as le, createBlock as B, createCommentVNode as d, renderSlot as L, createElementVNode as D, createVNode as he, createSlots as Ge, withCtx as C, normalizeProps as W, guardReactiveProps as Y, Fragment as b, renderList as p, mergeProps as Ce, toDisplayString as T, Teleport as Oa, resolveDynamicComponent as Pa, createTextVNode as Pt } from "vue";
2
+ import { u as Va, a as Vt } from "./useNestedProp-Ce3PwN8T.js";
3
+ import { c as Dt, t as Da, b as Ea, p as Se, B as se, e as Fa, o as Et, f as Ft, g as Ua, h as Ha, a8 as _e, a9 as Ut, C as Ht, X as Ba, m as Wa, a4 as $e, E as Bt, a as Te, d as ee, L as Ya, H as Xa, z as Wt, x as Ga, y as Ja, A as qa } from "./lib-CEjkWSLj.js";
4
4
  import { t as Je, u as Za } from "./useResponsive-DfdjqQps.js";
5
- import { u as Ka } from "./usePrinter-DYRFiw7X.js";
5
+ import { u as Ka } from "./usePrinter-DJ1iH-F_.js";
6
6
  import { u as Qa, B as ja } from "./BaseScanner-BgWxam9d.js";
7
- import { u as el } from "./useSvgExport-B7-Vrjtu.js";
7
+ import { u as el } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as tl } from "./useTimeLabels-BGFjWgrv.js";
9
9
  import { u as al } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
11
- import { u as sl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
- import rl from "./img-6wPuVVtk.js";
13
- import ol from "./Title-D17CJXko.js";
14
- import { _ as nl } from "./Shape-DJG2zW7b.js";
11
+ import { u as Yt, a as sl } from "./useResizeObserverEffect-DfnWps4W.js";
12
+ import rl from "./img-J2dLIr8Y.js";
13
+ import ol from "./Title-Camz1Lce.js";
14
+ import { _ as nl } from "./Shape-BceHSLHf.js";
15
15
  import { t as il } from "./themes-Dw-dDudK.js";
16
- import ul from "./Legend-DsogCeTb.js";
17
- import { S as cl } from "./Slicer-D6T4aUhr.js";
16
+ import ul from "./Legend-By4rru90.js";
17
+ import { S as cl } from "./Slicer-Znzt0gSE.js";
18
18
  import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
19
  const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "width", "height"], bl = { key: 1 }, fl = ["id"], ml = ["stop-color"], pl = ["stop-color"], xl = ["stop-color"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Cl = { key: 0 }, Sl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], _l = { key: 0 }, $l = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ml = { key: 0 }, Al = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nl = ["x", "y", "font-size", "fill", "font-weight"], Ol = ["transform", "font-size", "fill", "font-weight"], Pl = ["x", "y", "font-size", "fill", "font-weight"], Vl = ["x", "y", "font-size", "font-weight", "fill"], Dl = ["x", "y", "font-size", "fill", "font-weight"], El = ["x", "y", "font-size", "font-weight", "fill"], Fl = ["x1", "x2", "y1", "y2", "stroke"], Ul = ["x", "y", "font-size", "font-weight", "fill"], Hl = ["x1", "x2", "y1", "y2", "stroke"], Bl = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Wl = { key: 0 }, Yl = { key: 1 }, Xl = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Gl = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Jl = { key: 0 }, ql = { key: 1 }, Zl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Kl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Ql = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], jl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], es = {
20
20
  key: 3,
@@ -37,14 +37,14 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
37
37
  },
38
38
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
39
39
  setup(Me, { expose: Xt, emit: Gt }) {
40
- const Jt = H(() => import("./Tooltip-CtVdvbZi.js")), qt = H(() => import("./BaseIcon-CtqN7W_g.js")), Zt = H(() => import("./vue-ui-accordion-Dch9YrCi.js")), Kt = H(() => import("./DataTable-BeI6gYJX.js")), Qt = H(() => import("./PenAndPaper-BxbYiPy4.js")), jt = H(() => import("./UserOptions-B3vCIe-u.js")), ea = H(() => import("./PackageVersion-C9oklnuy.js")), ta = H(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_stackbar: aa } = Va(), la = Ia(), f = Me, Ae = Gt, ve = m({
40
+ const Jt = H(() => import("./Tooltip-VOcQEHa4.js")), qt = H(() => import("./BaseIcon-eZbszQrv.js")), Zt = H(() => import("./vue-ui-accordion-VTP418mC.js")), Kt = H(() => import("./DataTable-yAMEyP6y.js")), Qt = H(() => import("./PenAndPaper-Bo-lMUik.js")), jt = H(() => import("./UserOptions-CSja1SGU.js")), ea = H(() => import("./PackageVersion-r-Q1R3nV.js")), ta = H(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_stackbar: aa } = Va(), la = Ia(), f = Me, Ae = Gt, ve = m({
41
41
  get() {
42
42
  return !!f.dataset && f.dataset.length;
43
43
  },
44
44
  set(a) {
45
45
  return a;
46
46
  }
47
- }), O = y(null), M = y(Et()), Re = y(!1), Ie = y(null), Ne = y(""), _ = y([]), qe = y(0), Ze = y(null), Ke = y(null), Qe = y(null), je = y(null), et = y(0), re = y(!1), de = y(null), X = y(!1), tt = y(0), sa = y(0), ra = y(0), at = y(null), lt = y(!1), oe = y(null), Oe = y(null), Pe = y(null), Ve = y(null), G = y(null), J = y(null), oa = y(null), st = y(null);
47
+ }), O = y(null), M = y(Dt()), Re = y(!1), Ie = y(null), Ne = y(""), _ = y([]), qe = y(0), Ze = y(null), Ke = y(null), Qe = y(null), je = y(null), et = y(0), re = y(!1), de = y(null), X = y(!1), tt = y(0), sa = y(0), ra = y(0), at = y(null), lt = y(!1), oe = y(null), Oe = y(null), Pe = y(null), Ve = y(null), G = y(null), J = y(null), oa = y(null), st = y(null);
48
48
  Rt(() => {
49
49
  lt.value = !0, He();
50
50
  });
@@ -120,13 +120,13 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
120
120
  })
121
121
  }), { userOptionsVisible: De, setUserOptionsVisibility: rt, keepUserOptionState: ot } = al({ config: e.value }), { svgRef: Ee } = ll({ config: e.value.style.chart.title });
122
122
  function Fe() {
123
- const a = Dt({
123
+ const a = Vt({
124
124
  userConfig: f.config,
125
125
  defaultConfig: aa
126
126
  });
127
127
  let l = {};
128
128
  return a.theme ? l = {
129
- ...Dt({
129
+ ...Vt({
130
130
  userConfig: il.vue_ui_stackbar[a.theme] || f.config,
131
131
  defaultConfig: a
132
132
  }),
@@ -174,7 +174,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
174
174
  });
175
175
  const Ue = m(() => !!e.value.debug);
176
176
  function He() {
177
- if (Ft(f.dataset) ? (Ut({
177
+ if (Et(f.dataset) ? (Ft({
178
178
  componentName: "VueUiStackbar",
179
179
  type: "dataset",
180
180
  debug: Ue.value
@@ -183,7 +183,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
183
183
  datasetObject: a,
184
184
  requiredAttributes: ["name", "series"]
185
185
  }).forEach((t) => {
186
- ve.value = !1, Ut({
186
+ ve.value = !1, Ft({
187
187
  componentName: "VueUiStackbar",
188
188
  type: "datasetSerieAttribute",
189
189
  property: t,
@@ -191,7 +191,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
191
191
  debug: Ue.value
192
192
  }), ye.value = !0;
193
193
  });
194
- }), Ft(f.dataset) || (ye.value = e.value.loading), setTimeout(() => {
194
+ }), Et(f.dataset) || (ye.value = e.value.loading), setTimeout(() => {
195
195
  X.value = !0;
196
196
  }, 10), e.value.responsive) {
197
197
  const a = Je(() => {
@@ -231,26 +231,11 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
231
231
  const be = y(0), fe = y(0), ua = Je((a) => {
232
232
  be.value = a;
233
233
  }, 100);
234
- Ot((a) => {
235
- const l = e.value.orientation === "vertical" ? J.value : G.value;
236
- if (!l) return;
237
- const t = new ResizeObserver((s) => {
238
- ua(s[0].contentRect.height);
239
- });
240
- t.observe(l), a(() => t.disconnect());
241
- });
234
+ Yt({ elementRef: e.value.orientation === "vertical" ? J : G, callback: ua, attr: "height" });
242
235
  const ca = Je((a) => {
243
236
  fe.value = a + e.value.style.chart.bars.totalValues.fontSize;
244
237
  }, 100);
245
- Ot((a) => {
246
- if (e.value.orientation === "vertical") return;
247
- const l = st.value;
248
- if (!l) return;
249
- const t = new ResizeObserver((s) => {
250
- ca(s[0].contentRect.width);
251
- });
252
- t.observe(l), a(() => t.disconnect());
253
- }), Nt(() => {
238
+ Yt({ elementRef: st, callback: ca, attr: "width", earlyReturn: e.value.orientation === "vertical" }), Nt(() => {
254
239
  be.value = 0, fe.value = 0;
255
240
  });
256
241
  const gt = m(() => {
@@ -282,7 +267,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
282
267
  // Store signs to manage display of neg values in distributed mode
283
268
  signedSeries: a.series.map((s) => s >= 0 ? 1 : -1),
284
269
  absoluteIndex: l,
285
- id: Et(),
270
+ id: Dt(),
286
271
  color: t
287
272
  };
288
273
  })), U = m(() => Math.max(...F.value.filter((a) => !_.value.includes(a.id)).map((a) => a.series.length))), h = y({
@@ -293,7 +278,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
293
278
  Be();
294
279
  }
295
280
  async function Be() {
296
- await Pt(), await Pt();
281
+ await Ot(), await Ot();
297
282
  const { startIndex: a, endIndex: l } = e.value.style.chart.zoom, t = at.value, s = Math.max(...ge.value.map((c) => c.series.length));
298
283
  h.value = { start: 0, end: s }, (a != null || l != null) && t ? (a != null ? t.setStartValue(a) : (h.value.start = 0, t.setStartValue(0)), l != null ? t.setEndValue(ha(l + 1)) : (h.value.end = s, t.setEndValue(s))) : (h.value = { start: 0, end: s }, et.value += 1);
299
284
  }
@@ -320,7 +305,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
320
305
  })))
321
306
  };
322
307
  }), N = m(() => {
323
- const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...me.value.positive), l = Math.min(...me.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, s = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ht(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : Bt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
308
+ const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...me.value.positive), l = Math.min(...me.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, s = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ut(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : Ht(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
324
309
  return s.ticks.map((c) => ({
325
310
  zero: n.value.bottom - n.value.height * (Math.abs(s.min) / (s.max + Math.abs(s.min))),
326
311
  y: n.value.bottom - n.value.height * ((c + Math.abs(s.min)) / (s.max + Math.abs(s.min))),
@@ -339,7 +324,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
339
324
  })), w = m(() => {
340
325
  if (!ve.value && !ne.value) return [];
341
326
  let a = Array(U.value).fill(0), l = Array(U.value).fill(0), t = Array(U.value).fill(0), s = Array(U.value).fill(0);
342
- const c = Math.max(...me.value.positive) || 0, u = Math.min(...me.value.negative), S = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, q = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ht(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : S > 0 ? 0 : S, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : Bt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : S > 0 ? 0 : S, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: Z, max: K } = q, P = K + (Z >= 0 ? 0 : Math.abs(Z)) || 1, A = n.value.height, Le = n.value.width, Mt = N.value[0] ? N.value[0].zero : n.value.bottom, At = N.value[0] ? N.value[0].horizontal_zero : n.value.left;
327
+ const c = Math.max(...me.value.positive) || 0, u = Math.min(...me.value.negative), S = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, q = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ut(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : S > 0 ? 0 : S, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : Ht(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : S > 0 ? 0 : S, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: Z, max: K } = q, P = K + (Z >= 0 ? 0 : Math.abs(Z)) || 1, A = n.value.height, Le = n.value.width, Mt = N.value[0] ? N.value[0].zero : n.value.bottom, At = N.value[0] ? N.value[0].horizontal_zero : n.value.left;
343
328
  return F.value.filter((ce) => !_.value.includes(ce.id)).map((ce) => {
344
329
  const V = ce.series.slice(h.value.start, h.value.end), Ca = ce.signedSeries.slice(h.value.start, h.value.end), Sa = V.map((x, k) => n.value.left + g.value * k + g.value * e.value.style.chart.bars.gapRatio / 4), _a = V.map((x, k) => n.value.top + g.value * k + g.value * e.value.style.chart.bars.gapRatio / 4), $a = V.map((x, k) => {
345
330
  const R = e.value.style.chart.bars.distributed ? (x || 0) / ie.value[k] : (x || 0) / P;
@@ -436,7 +421,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
436
421
  series: w.value
437
422
  };
438
423
  const s = t.map((c) => Math.abs(c.value)).reduce((c, u) => c + u, 0);
439
- if (Yt(l) && qa(() => l({
424
+ if (Wt(l) && qa(() => l({
440
425
  seriesIndex: a,
441
426
  datapoint: t,
442
427
  series: w.value,
@@ -1011,7 +996,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1011
996
  x: c + g.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
1012
997
  y: t.y[u] + t.height[u] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
1013
998
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
1014
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? v(Wt)(t.color) : e.value.style.chart.bars.dataLabels.color,
999
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? v(Bt)(t.color) : e.value.style.chart.bars.dataLabels.color,
1015
1000
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1016
1001
  "text-anchor": "middle"
1017
1002
  }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? ft(t.proportions[u] * 100, t, s, u) : pe(t.series[u], t, s, u, t.signedSeries[u])), 9, Pl)) : d("", !0)
@@ -1043,7 +1028,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1043
1028
  x: c + (t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]) / 2,
1044
1029
  y: t.horizontal_y[u] + g.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
1045
1030
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
1046
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? v(Wt)(t.color) : e.value.style.chart.bars.dataLabels.color,
1031
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? v(Bt)(t.color) : e.value.style.chart.bars.dataLabels.color,
1047
1032
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
1048
1033
  "text-anchor": "middle"
1049
1034
  }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? ft(t.proportions[u] * 100, t, s, u) : pe(t.series[u], t, s, u, t.signedSeries[u])), 9, Dl)) : d("", !0)
@@ -1326,7 +1311,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1326
1311
  parent: O.value,
1327
1312
  content: Ne.value,
1328
1313
  isFullscreen: re.value,
1329
- isCustom: v(Yt)(e.value.style.chart.tooltip.customFormat),
1314
+ isCustom: v(Wt)(e.value.style.chart.tooltip.customFormat),
1330
1315
  smooth: e.value.style.chart.tooltip.smooth,
1331
1316
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1332
1317
  smoothForce: e.value.style.chart.tooltip.smoothForce,
@@ -1412,7 +1397,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1412
1397
  D("div", { innerHTML: t }, null, 8, ls)
1413
1398
  ]),
1414
1399
  td: C(({ td: t }) => [
1415
- Vt(T(isNaN(Number(t)) ? t : v(ee)({
1400
+ Pt(T(isNaN(Number(t)) ? t : v(ee)({
1416
1401
  p: e.value.style.chart.bars.dataLabels.prefix,
1417
1402
  v: t,
1418
1403
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -1427,7 +1412,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1427
1412
  e.value.table.useDialog ? {
1428
1413
  name: "title",
1429
1414
  fn: C(() => [
1430
- Vt(T(ue.value.title), 1)
1415
+ Pt(T(ue.value.title), 1)
1431
1416
  ]),
1432
1417
  key: "0"
1433
1418
  } : void 0,
@@ -1451,7 +1436,7 @@ const vl = ["id"], dl = ["id"], gl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1451
1436
  v(ne) ? (r(), B(ja, { key: 7 })) : d("", !0)
1452
1437
  ], 46, vl));
1453
1438
  }
1454
- }, Ls = /* @__PURE__ */ hl(ss, [["__scopeId", "data-v-7beeea3c"]]);
1439
+ }, Ls = /* @__PURE__ */ hl(ss, [["__scopeId", "data-v-d52bebfe"]]);
1455
1440
  export {
1456
1441
  Ls as default
1457
1442
  };