vue-data-ui 3.25.9 → 3.25.11

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 (155) hide show
  1. package/dist/{PackageVersion-KBMdaOXg.js → PackageVersion-CEvZNFTz.js} +1 -1
  2. package/dist/{PenAndPaper-KFzKlvbi.js → PenAndPaper-Cd3nItcO.js} +3 -3
  3. package/dist/{SlicerPreview-B6iHOC9L.js → SlicerPreview-Ccss7Vsq.js} +2 -2
  4. package/dist/{SparkTooltip-C-Y-mDrc.js → SparkTooltip-L3SliZbR.js} +1 -1
  5. package/dist/{UserOptions-2x4VklMW.js → UserOptions-qo_Tsqci.js} +1 -1
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-age-pyramid.js +1 -1
  8. package/dist/components/vue-ui-annotator.js +1 -1
  9. package/dist/components/vue-ui-bullet.js +1 -1
  10. package/dist/components/vue-ui-bump.js +1 -1
  11. package/dist/components/vue-ui-candlestick.js +1 -1
  12. package/dist/components/vue-ui-carousel-table.js +1 -1
  13. package/dist/components/vue-ui-chestnut.js +1 -1
  14. package/dist/components/vue-ui-chord.js +1 -1
  15. package/dist/components/vue-ui-circle-pack.js +1 -1
  16. package/dist/components/vue-ui-cursor.js +1 -1
  17. package/dist/components/vue-ui-dag.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-geo.js +1 -1
  28. package/dist/components/vue-ui-gizmo.js +1 -1
  29. package/dist/components/vue-ui-heatmap.js +1 -1
  30. package/dist/components/vue-ui-hill.js +1 -1
  31. package/dist/components/vue-ui-history-plot.js +1 -1
  32. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  33. package/dist/components/vue-ui-kpi.js +1 -1
  34. package/dist/components/vue-ui-label.js +1 -1
  35. package/dist/components/vue-ui-molecule.js +1 -1
  36. package/dist/components/vue-ui-mood-radar.js +1 -1
  37. package/dist/components/vue-ui-nested-donuts.js +1 -1
  38. package/dist/components/vue-ui-onion.js +1 -1
  39. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  40. package/dist/components/vue-ui-quadrant.js +1 -1
  41. package/dist/components/vue-ui-quick-chart.js +1 -1
  42. package/dist/components/vue-ui-radar.js +1 -1
  43. package/dist/components/vue-ui-relation-circle.js +1 -1
  44. package/dist/components/vue-ui-ridgeline.js +1 -1
  45. package/dist/components/vue-ui-rings.js +1 -1
  46. package/dist/components/vue-ui-scatter.js +1 -1
  47. package/dist/components/vue-ui-skeleton.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-stackline.js +1 -1
  56. package/dist/components/vue-ui-strip-plot.js +1 -1
  57. package/dist/components/vue-ui-table-heatmap.js +1 -1
  58. package/dist/components/vue-ui-table-sparkline.js +1 -1
  59. package/dist/components/vue-ui-table.js +1 -1
  60. package/dist/components/vue-ui-thermometer.js +1 -1
  61. package/dist/components/vue-ui-timer.js +1 -1
  62. package/dist/components/vue-ui-tiremarks.js +1 -1
  63. package/dist/components/vue-ui-treemap.js +1 -1
  64. package/dist/components/vue-ui-vertical-bar.js +1 -1
  65. package/dist/components/vue-ui-waffle.js +1 -1
  66. package/dist/components/vue-ui-wheel.js +1 -1
  67. package/dist/components/vue-ui-word-cloud.js +1 -1
  68. package/dist/components/vue-ui-world.js +1 -1
  69. package/dist/components/vue-ui-xy-canvas.js +1 -1
  70. package/dist/components/vue-ui-xy.js +1 -1
  71. package/dist/composables.js +1 -1
  72. package/dist/{dom-to-png-C6cQJ5Hq.js → dom-to-png-BR4imuKV.js} +1 -1
  73. package/dist/{geoProjections-CEo3dVaL.js → geoProjections-BYthUA8l.js} +2 -2
  74. package/dist/{img-DhGApYG0.js → img-BkMKbWsI.js} +1 -1
  75. package/dist/{package-BL27Ev_h.js → package-B10eQN5L.js} +1 -1
  76. package/dist/{pdf-Di5yPEw9.js → pdf-BSOs_GZz.js} +1 -1
  77. package/dist/{render-common-By8J0AE-.js → render-common-CZ6-MONw.js} +1 -1
  78. package/dist/ssr/vue-ui-donut.js +1 -1
  79. package/dist/ssr/vue-ui-xy.js +1 -1
  80. package/dist/ssr.js +2 -2
  81. package/dist/style.css +1 -1
  82. package/dist/types/utils.d.ts +5 -5
  83. package/dist/types/vue-data-ui.d.ts +21 -14
  84. package/dist/types/vue-ui-heatmap.d.ts +2 -0
  85. package/dist/{usePrinter-DISD7q5m.js → usePrinter-hohanNCX.js} +4 -4
  86. package/dist/{useTooltipPosition-DifeoeQW.js → useTooltipPosition-BCrtQa9H.js} +1 -1
  87. package/dist/{vue-data-ui-CBWuUAXT.js → vue-data-ui-zJ1rNxIN.js} +65 -65
  88. package/dist/vue-data-ui.js +66 -66
  89. package/dist/{vue-ui-3d-bar-BSbq90H3.js → vue-ui-3d-bar-CKTAkCAN.js} +4 -4
  90. package/dist/{vue-ui-age-pyramid-CrXl71iC.js → vue-ui-age-pyramid-SpPactMh.js} +3 -3
  91. package/dist/{vue-ui-annotator-BO5ihHOB.js → vue-ui-annotator-BLYRy--7.js} +12 -12
  92. package/dist/{vue-ui-bullet-B2Y3Wqh9.js → vue-ui-bullet-Ck398xn8.js} +3 -3
  93. package/dist/{vue-ui-bump-DXvvjG4I.js → vue-ui-bump-DyA47yse.js} +2 -2
  94. package/dist/{vue-ui-candlestick-CFqR6W56.js → vue-ui-candlestick-DCavjk1j.js} +4 -4
  95. package/dist/{vue-ui-carousel-table-D-ZkPRta.js → vue-ui-carousel-table-DCnVD0BJ.js} +3 -3
  96. package/dist/{vue-ui-chestnut-CyW3IoYC.js → vue-ui-chestnut-BDBdizBp.js} +4 -4
  97. package/dist/{vue-ui-chord-DS0jni9A.js → vue-ui-chord-GgA7QFUH.js} +4 -4
  98. package/dist/{vue-ui-circle-pack-j2ChgLWr.js → vue-ui-circle-pack-BUXTVdy3.js} +4 -4
  99. package/dist/{vue-ui-cursor-qOONOtcv.js → vue-ui-cursor-CEejESe_.js} +1 -1
  100. package/dist/{vue-ui-dag-CmeFsKhR.js → vue-ui-dag-C1c6scxC.js} +5 -5
  101. package/dist/{vue-ui-dashboard-C7Z5BTN4.js → vue-ui-dashboard-BZBJM7dN.js} +63 -63
  102. package/dist/{vue-ui-digits-Bf68x6fb.js → vue-ui-digits-CsougDlU.js} +1 -1
  103. package/dist/{vue-ui-donut-DzDSYgVp.js → vue-ui-donut-Be9jKelz.js} +1 -1
  104. package/dist/{vue-ui-donut-evolution-CDJumo0t.js → vue-ui-donut-evolution-vLMhwz4K.js} +5 -5
  105. package/dist/{vue-ui-donut-CkBPJW_T.js → vue-ui-donut-lBgSYKgO.js} +4 -4
  106. package/dist/{vue-ui-dumbbell-Cr__26dN.js → vue-ui-dumbbell-CwmA5x9G.js} +3 -3
  107. package/dist/{vue-ui-flow-Cz6WRi2c.js → vue-ui-flow-CRhh8SSN.js} +3 -3
  108. package/dist/{vue-ui-funnel-BlC7KxS6.js → vue-ui-funnel-DH1hW8Gw.js} +3 -3
  109. package/dist/{vue-ui-galaxy-Bg2smlcI.js → vue-ui-galaxy-CiqILfxR.js} +3 -3
  110. package/dist/{vue-ui-gauge-BHsaent1.js → vue-ui-gauge-CV4-Rn7K.js} +3 -3
  111. package/dist/{vue-ui-geo-CE3Cr0or.js → vue-ui-geo-BocLrguL.js} +5 -5
  112. package/dist/{vue-ui-gizmo-DqFUBEai.js → vue-ui-gizmo-6wKlI5PC.js} +1 -1
  113. package/dist/{vue-ui-heatmap-DXqj9ial.js → vue-ui-heatmap-DGXXRsr4.js} +169 -153
  114. package/dist/{vue-ui-hill-B3fPAfhL.js → vue-ui-hill-CeIZZFf5.js} +7 -7
  115. package/dist/{vue-ui-history-plot-CrnTnpaM.js → vue-ui-history-plot-CporPpg9.js} +3 -3
  116. package/dist/{vue-ui-horizontal-bar-DqvN3imH.js → vue-ui-horizontal-bar-D2aw-8tx.js} +104 -104
  117. package/dist/{vue-ui-kpi-Mf318HvK.js → vue-ui-kpi-BQ967gzv.js} +1 -1
  118. package/dist/{vue-ui-label-C1UAzvAu.js → vue-ui-label-Cs4ZlAqr.js} +10 -10
  119. package/dist/{vue-ui-molecule-CaLReo4h.js → vue-ui-molecule-CvDC9Ht5.js} +3 -3
  120. package/dist/{vue-ui-mood-radar-jkE2ENX5.js → vue-ui-mood-radar-BK1va5-H.js} +4 -4
  121. package/dist/{vue-ui-nested-donuts-BgMOKjil.js → vue-ui-nested-donuts-DT2zkLx2.js} +3 -3
  122. package/dist/{vue-ui-onion-DBN3Ev4j.js → vue-ui-onion-DPMikBzZ.js} +4 -4
  123. package/dist/{vue-ui-parallel-coordinate-plot-BcJzEGJ-.js → vue-ui-parallel-coordinate-plot-DMPxUL3p.js} +3 -3
  124. package/dist/{vue-ui-quadrant-BvoVlxTI.js → vue-ui-quadrant-DFkIeJXo.js} +3 -3
  125. package/dist/{vue-ui-quick-chart-2hn8-F_C.js → vue-ui-quick-chart-CkPu6GMh.js} +4 -4
  126. package/dist/{vue-ui-radar-O3AjGrc-.js → vue-ui-radar-B3OOLJal.js} +3 -3
  127. package/dist/{vue-ui-relation-circle-CRnH2ikm.js → vue-ui-relation-circle-I6e5UxgY.js} +3 -3
  128. package/dist/{vue-ui-ridgeline-Blejn8LY.js → vue-ui-ridgeline-FmmdCdy9.js} +3 -3
  129. package/dist/{vue-ui-rings-C1U38Bp0.js → vue-ui-rings-CBtHZ5Pp.js} +3 -3
  130. package/dist/{vue-ui-scatter-DTsCc9hg.js → vue-ui-scatter-DzePsQEe.js} +3 -3
  131. package/dist/{vue-ui-skeleton-BPr3u7IL.js → vue-ui-skeleton-C347nFnE.js} +1 -1
  132. package/dist/{vue-ui-spark-trend-B7w4Mg8O.js → vue-ui-spark-trend-Di_7Da43.js} +1 -1
  133. package/dist/{vue-ui-sparkbar-lVDnYEYA.js → vue-ui-sparkbar-CbJ-fKc6.js} +1 -1
  134. package/dist/{vue-ui-sparkgauge-BryoGCoc.js → vue-ui-sparkgauge-Bb9-yFTb.js} +1 -1
  135. package/dist/{vue-ui-sparkhistogram-BdNoLb9L.js → vue-ui-sparkhistogram-kbbbDVul.js} +1 -1
  136. package/dist/{vue-ui-sparkline-CNFD5K6z.js → vue-ui-sparkline-BF0Fdo6v.js} +1 -1
  137. package/dist/{vue-ui-sparkstackbar-CZ4tGL-_.js → vue-ui-sparkstackbar-IM_l98X-.js} +2 -2
  138. package/dist/{vue-ui-stackbar-DfsgaZy7.js → vue-ui-stackbar-CaEXVeo5.js} +4 -4
  139. package/dist/{vue-ui-stackline-Cx7q2sGF.js → vue-ui-stackline-MgvhcBfm.js} +4 -4
  140. package/dist/{vue-ui-strip-plot-BcYhLPHM.js → vue-ui-strip-plot-CVV0t6mb.js} +3 -3
  141. package/dist/{vue-ui-table-heatmap-BSUab4fG.js → vue-ui-table-heatmap-D5F5bLx5.js} +2 -2
  142. package/dist/{vue-ui-table-BzF75YjN.js → vue-ui-table-nAGCIZKg.js} +2 -2
  143. package/dist/{vue-ui-table-sparkline-B9ICTtoE.js → vue-ui-table-sparkline-Bf2hjBwq.js} +2 -2
  144. package/dist/{vue-ui-thermometer-Am7llqdI.js → vue-ui-thermometer-Ccr2ZnzI.js} +3 -3
  145. package/dist/{vue-ui-timer-D6EvkM31.js → vue-ui-timer-DkW-P6EG.js} +1 -1
  146. package/dist/{vue-ui-tiremarks-DiQJu8Em.js → vue-ui-tiremarks-Bf2anKLr.js} +3 -3
  147. package/dist/{vue-ui-treemap-wUZpijpr.js → vue-ui-treemap-Wy61KlkN.js} +3 -3
  148. package/dist/{vue-ui-waffle-6hO0flDT.js → vue-ui-waffle-CkIFp-AN.js} +4 -4
  149. package/dist/{vue-ui-wheel-DnyCE0CK.js → vue-ui-wheel-DGhu_B8n.js} +3 -3
  150. package/dist/{vue-ui-word-cloud-D_MZ3gCS.js → vue-ui-word-cloud-CdRMst8U.js} +3 -3
  151. package/dist/{vue-ui-world-QNGY2WPz.js → vue-ui-world-Bc4hMzzB.js} +4 -4
  152. package/dist/{vue-ui-xy-BD-ighya.js → vue-ui-xy-CbgQs7yW.js} +1 -1
  153. package/dist/{vue-ui-xy-Ctcwn7Rk.js → vue-ui-xy-DybWfQrI.js} +5 -5
  154. package/dist/{vue-ui-xy-canvas-DUeglcdP.js → vue-ui-xy-canvas-R2xbgDOy.js} +7 -7
  155. package/package.json +3 -3
@@ -2,13 +2,13 @@ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { $ as t, Ct as n, D as r, G as i, Jt as a, Lt as o, Pt as s, S as c, Ut as l, Wt as ee, X as u, Yt as te, Z as ne, Zt as re, b as d, bt as ie, i as ae, lt as oe, mt as se, nt as ce, q as le, t as ue, w as de } from "./lib-Dql7cqyA.js";
3
3
  import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as me } from "./useConfig-D32D002m.js";
5
- import { t as he } from "./usePrinter-DISD7q5m.js";
5
+ import { t as he } from "./usePrinter-hohanNCX.js";
6
6
  import { n as ge, t as _e } from "./BaseScanner-Dzc8VT3j.js";
7
7
  import { t as ve } from "./useNestedProp-Chvyfpl-.js";
8
8
  import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
9
  import { t as be } from "./useChartExport-iwOqiIWX.js";
10
10
  import { t as xe } from "./useTransitions-g_zBREk2.js";
11
- import { t as Se } from "./img-DhGApYG0.js";
11
+ import { t as Se } from "./img-BkMKbWsI.js";
12
12
  import { n as Ce } from "./Title-CPHi-evi.js";
13
13
  import { t as we } from "./Shape-CIqU-p2F.js";
14
14
  import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
@@ -119,7 +119,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
119
119
  "data-dom-to-png-ignore": "",
120
120
  "aria-hidden": "true"
121
121
  }, yt = {
122
- key: 6,
122
+ key: 7,
123
123
  class: "vue-data-ui-watermark"
124
124
  }, bt = ["onClick"], xt = { style: "width:100%;padding-top: 36px;position:relative" }, St = { class: "vue-ui-data-table" }, Ct = { key: 0 }, wt = { style: { width: "100%" } }, Tt = ["data-cell"], Et = { style: {
125
125
  display: "flex",
@@ -192,8 +192,8 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
192
192
  "selectDatapoint"
193
193
  ],
194
194
  setup(e, { expose: Te, emit: Ze }) {
195
- qe((e) => ({ v085c9170: e.tdo }));
196
- let zt = Be(() => import("./Tooltip-hhrkQ3Lk.js")), Bt = Be(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Vt = Be(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ht = Be(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ut = Be(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), Wt = Be(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_vertical_bar: Gt } = me(), { isThemeValid: Kt, warnInvalidTheme: qt } = ye(), Jt = Je(), k = e, Yt = p({
195
+ qe((e) => ({ v3eb323c0: e.tdo }));
196
+ let zt = Be(() => import("./Tooltip-hhrkQ3Lk.js")), Bt = Be(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Vt = Be(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), Ht = Be(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), Ut = Be(() => import("./PackageVersion-CEvZNFTz.js").then((e) => e.t)), Wt = Be(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_vertical_bar: Gt } = me(), { isThemeValid: Kt, warnInvalidTheme: qt } = ye(), Jt = Je(), k = e, Yt = p({
197
197
  get() {
198
198
  return !!k.dataset && k.dataset.length;
199
199
  },
@@ -204,10 +204,10 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
204
204
  none: 0,
205
205
  asc: 1,
206
206
  desc: 2
207
- }), pn = C(0), mn = C(!1), hn = C(0), gn = null, _n = null, N = C(null), vn = C({
207
+ }), pn = C(0), mn = C(0), hn = null, gn = null, N = C(null), _n = C({
208
208
  x: 0,
209
209
  y: 0
210
- }), yn = C("pointer"), bn = Ze, P = C(jn()), F = p(() => P.value.style.chart.layout.bars), I = p(() => P.value.style.chart.layout), L = p(() => P.value.style.chart.tooltip), R = p(() => P.value.style.chart);
210
+ }), vn = C("pointer"), yn = Ze, P = C(An()), F = p(() => P.value.style.chart.layout.bars), I = p(() => P.value.style.chart.layout), L = p(() => P.value.style.chart.tooltip), R = p(() => P.value.style.chart);
211
211
  fe({
212
212
  config: () => P.value,
213
213
  dataset: () => k.dataset,
@@ -226,7 +226,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
226
226
  let { transitionEnabled: z } = xe({
227
227
  config: () => P.value.transitions,
228
228
  dataset: () => k.dataset
229
- }), xn = p(() => P.value.userOptions.useCursorPointer), Sn = p(() => k.config?.skeletonDataset ?? [
229
+ }), bn = p(() => P.value.userOptions.useCursorPointer), xn = p(() => k.config?.skeletonDataset ?? [
230
230
  {
231
231
  name: "",
232
232
  value: 6,
@@ -257,7 +257,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
257
257
  value: 1,
258
258
  color: "#d9d9d9"
259
259
  }
260
- ]), Cn = p(() => re({
260
+ ]), Sn = p(() => re({
261
261
  defaultConfig: {
262
262
  useCssAnimation: !1,
263
263
  userOptions: { show: !1 },
@@ -294,22 +294,22 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
294
294
  } }
295
295
  },
296
296
  userConfig: P.value.skeletonConfig ?? {}
297
- })), { loading: wn, FINAL_DATASET: Tn, manualLoading: En } = ge({
297
+ })), { loading: Cn, FINAL_DATASET: wn, manualLoading: Tn } = ge({
298
298
  ...Ke(k),
299
299
  FINAL_CONFIG: P,
300
- prepareConfig: jn,
300
+ prepareConfig: An,
301
301
  callback: () => {
302
302
  Promise.resolve().then(async () => {
303
- H.value.showTable = P.value.table.show, qn();
303
+ H.value.showTable = P.value.table.show, Kn();
304
304
  });
305
305
  },
306
- skeletonDataset: Sn.value,
306
+ skeletonDataset: xn.value,
307
307
  skeletonConfig: re({
308
308
  defaultConfig: P.value,
309
- userConfig: Cn.value
309
+ userConfig: Sn.value
310
310
  })
311
- }), { userOptionsVisible: Dn, setUserOptionsVisibility: On, keepUserOptionState: kn } = Me({ config: P.value }), { svgRef: An } = Ne({ config: R.value.title });
312
- function jn() {
311
+ }), { userOptionsVisible: En, setUserOptionsVisibility: Dn, keepUserOptionState: On } = Me({ config: P.value }), { svgRef: kn } = Ne({ config: R.value.title });
312
+ function An() {
313
313
  let e = ve({
314
314
  userConfig: k.config,
315
315
  defaultConfig: Gt
@@ -332,35 +332,35 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
332
332
  } else t = e;
333
333
  return k.config && ie(k.config, "events.datapointEnter") ? t.events.datapointEnter = k.config.events.datapointEnter : t.events.datapointEnter = null, k.config && ie(k.config, "events.datapointLeave") ? t.events.datapointLeave = k.config.events.datapointLeave : t.events.datapointLeave = null, k.config && ie(k.config, "events.datapointClick") ? t.events.datapointClick = k.config.events.datapointClick : t.events.datapointClick = null, t;
334
334
  }
335
- let B = C(R.value.width), Mn = C(R.value.height), V = C(F.value.gap);
336
- function Nn(e) {
335
+ let B = C(R.value.width), jn = C(R.value.height), V = C(F.value.gap);
336
+ function Mn(e) {
337
337
  let t = ne(e);
338
338
  return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
339
339
  }
340
- let Pn = Nn(k.config);
340
+ let Nn = Mn(k.config);
341
341
  Ye(() => k.config, (e, t) => {
342
- let n = Nn(e), r = n !== Pn;
343
- Pn = n;
344
- let i = jn();
342
+ let n = Mn(e), r = n !== Nn;
343
+ Nn = n;
344
+ let i = An();
345
345
  if (!r) {
346
346
  P.value.style.chart.tooltip = i.style.chart.tooltip, H.value.showTooltip = P.value.style.chart.tooltip.show;
347
347
  return;
348
348
  }
349
- wn.value || (P.value = i), Dn.value = !P.value.userOptions.showOnChartHover, an.value += 1, on.value += 1, H.value.showTable = P.value.table.show, H.value.sortDesc = F.value.sort === "desc", H.value.showTooltip = L.value.show, B.value = R.value.width, Mn.value = R.value.height, V.value = F.value.gap;
349
+ Cn.value || (P.value = i), En.value = !P.value.userOptions.showOnChartHover, an.value += 1, on.value += 1, H.value.showTable = P.value.table.show, pn.value = fn.value[F.value.sort] ?? 0, H.value.showTooltip = L.value.show, B.value = R.value.width, jn.value = R.value.height, V.value = F.value.gap;
350
350
  }, { deep: !0 }), Ye(() => k.dataset, (e) => {
351
- Array.isArray(e) && e.length > 0 && (En.value = !1);
351
+ Array.isArray(e) && e.length > 0 && (Tn.value = !1);
352
352
  }, { deep: !0 });
353
- let { isPrinting: Fn, isImaging: In, generatePdf: Ln, generateImage: Rn } = he({
353
+ let { isPrinting: Pn, isImaging: Fn, generatePdf: In, generateImage: Ln } = he({
354
354
  elementId: `vue-ui-vertical-bar_${A.value}`,
355
355
  fileName: R.value.title.text || "vue-ui-vertical-bar",
356
356
  options: P.value.userOptions.print
357
- }), zn = p(() => P.value.userOptions.show && !R.value.title.text), Bn = p(() => de(P.value.customPalette)), Vn = C(null), Hn = p(() => P.value.table.responsiveBreakpoint), Un = p(() => P.value.debug), Wn = C(0), Gn = C(null), Kn = C(null);
358
- function qn() {
357
+ }), Rn = p(() => P.value.userOptions.show && !R.value.title.text), zn = p(() => de(P.value.customPalette)), Bn = C(null), Vn = p(() => P.value.table.responsiveBreakpoint), Hn = p(() => P.value.debug), Un = C(0), Wn = C(null), Gn = C(null);
358
+ function Kn() {
359
359
  if (j.value && (s(k.dataset) && (ce({
360
360
  componentName: "VueUiVerticalBar",
361
361
  type: "dataset",
362
- debug: Un.value
363
- }), Yt.value = !1, En.value = !0), s(k.dataset) || (En.value = P.value.loading), P.value.responsive)) {
362
+ debug: Hn.value
363
+ }), Yt.value = !1, Tn.value = !0), s(k.dataset) || (Tn.value = P.value.loading), P.value.responsive)) {
364
364
  let e = Ee(() => {
365
365
  let { width: e, height: t } = De({
366
366
  chart: j.value,
@@ -369,33 +369,32 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
369
369
  source: nn.value,
370
370
  noTitle: rn.value
371
371
  });
372
- Wn.value = t / 3, requestAnimationFrame(async () => {
373
- Mn.value = t, B.value = e;
372
+ Un.value = t / 3, requestAnimationFrame(async () => {
373
+ jn.value = t, B.value = e;
374
374
  });
375
375
  });
376
- Gn.value && (Kn.value && Gn.value.unobserve(Kn.value), Gn.value.disconnect()), Gn.value = new ResizeObserver(e), He(() => {
377
- Kn.value = j.value?.parentNode, Kn.value && Gn.value.observe(Kn.value);
376
+ Wn.value && (Gn.value && Wn.value.unobserve(Gn.value), Wn.value.disconnect()), Wn.value = new ResizeObserver(e), He(() => {
377
+ Gn.value = j.value?.parentNode, Gn.value && Wn.value.observe(Gn.value);
378
378
  });
379
379
  }
380
380
  }
381
381
  Ue(() => {
382
- Gn.value && (Kn.value && Gn.value.unobserve(Kn.value), Gn.value.disconnect());
382
+ Wn.value && (Gn.value && Wn.value.unobserve(Gn.value), Wn.value.disconnect());
383
383
  });
384
384
  let H = C({
385
385
  showTable: P.value.table.show,
386
- sortDesc: F.value.sort === "desc",
387
386
  showTooltip: L.value.show
388
- }), Jn = p(() => H.value.sortDesc), U = p(() => (Tn.value.forEach((e, t) => {
387
+ }), qn = p(() => pn.value === 0), Jn = p(() => pn.value === 2), U = p(() => (wn.value.forEach((e, t) => {
389
388
  !e.value && !e.children && ce({
390
389
  componentName: "VueUiVerticalBar",
391
390
  type: "datasetAttributeEmpty",
392
391
  property: `value (index ${t})`,
393
- debug: Un.value
392
+ debug: Hn.value
394
393
  }), e.children && (s(e.children) ? ce({
395
394
  componentName: "VueUiVerticalBar",
396
395
  type: "datasetAttributeEmpty",
397
396
  property: `children (index ${t})`,
398
- debug: Un.value
397
+ debug: Hn.value
399
398
  }) : e.children.forEach((e, t) => {
400
399
  [null, void 0].includes(e.name) && ce({
401
400
  componentName: "VueUiVerticalBar",
@@ -403,10 +402,10 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
403
402
  property: "name",
404
403
  key: "children",
405
404
  index: t,
406
- debug: Un.value
405
+ debug: Hn.value
407
406
  });
408
407
  }));
409
- }), Tn.value.map((e, t) => {
408
+ }), wn.value.map((e, t) => {
410
409
  let n = `vertical_parent_${t}_${A.value}`, r = e.children && e.children.length > 0, i = d(e.value ? e.value : r ? e.children.map((e) => e.value || 0).reduce((e, t) => e + t, 0) : 0), a = i >= 0 ? 1 : -1;
411
410
  return {
412
411
  ...e,
@@ -420,8 +419,8 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
420
419
  isChild: !1,
421
420
  segregate: () => cr(n),
422
421
  isSegregated: M.value.includes(n),
423
- color: c(e.color) || Bn.value[t] || o[t] || o[t % o.length],
424
- children: !e.children || !e.children.length ? [] : e.children.toSorted(mn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r, s) => ({
422
+ color: c(e.color) || zn.value[t] || o[t] || o[t % o.length],
423
+ children: !e.children || !e.children.length ? [] : e.children.toSorted(qn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r, s) => ({
425
424
  ...r,
426
425
  value: d(Math.abs(r.value)),
427
426
  absoluteIndex: t,
@@ -433,14 +432,14 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
433
432
  parentSign: a,
434
433
  id: `vertical_child_${t}_${s}_${A.value}`,
435
434
  childIndex: s,
436
- color: c(r.color) || c(e.color) || Bn.value[t] || o[t] || o[t % o.length]
435
+ color: c(r.color) || c(e.color) || zn.value[t] || o[t] || o[t % o.length]
437
436
  })).map((t, n) => ({
438
437
  ...t,
439
438
  isFirstChild: n === 0,
440
439
  isLastChild: n === e.children.length - 1
441
440
  }))
442
441
  };
443
- }).toSorted(mn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value))), W = p(() => U.value.filter((e) => !M.value.includes(e.id))), G = p(() => W.value.flatMap((e) => e.hasChildren ? e.children : e)), Yn = p(() => U.value.flatMap((e) => e.hasChildren ? e.children : e)), Xn = p(() => W.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Zn = p(() => ({
442
+ }).toSorted(qn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value))), W = p(() => U.value.filter((e) => !M.value.includes(e.id))), G = p(() => W.value.flatMap((e) => e.hasChildren ? e.children : e)), Yn = p(() => U.value.flatMap((e) => e.hasChildren ? e.children : e)), Xn = p(() => W.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Zn = p(() => ({
444
443
  cy: "vertical-bar-div-legend",
445
444
  backgroundColor: R.value.legend.backgroundColor,
446
445
  color: R.value.legend.color,
@@ -454,10 +453,10 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
454
453
  }), e;
455
454
  }), J = p(() => {
456
455
  let e = Math.max(0, ...q.value) * K.value;
457
- return (Mn.value - 24 - (Xn.value - 1) * V.value - e) / Xn.value;
456
+ return (jn.value - 24 - (Xn.value - 1) * V.value - e) / Xn.value;
458
457
  }), Y = p(() => ({
459
458
  width: B.value,
460
- height: Mn.value,
459
+ height: jn.value,
461
460
  padding: {
462
461
  top: 12,
463
462
  left: 128 + F.value.offsetX,
@@ -481,14 +480,14 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
481
480
  Ye(() => [
482
481
  G.value,
483
482
  B.value,
484
- Mn.value,
483
+ jn.value,
485
484
  F.value.nameLabels,
486
485
  F.value.offsetX
487
486
  ], () => $n(), { deep: !0 }), We(() => {
488
487
  $n();
489
488
  });
490
489
  function er() {
491
- return typeof document > "u" ? null : (gn || (gn = document.createElement("canvas"), _n = gn.getContext("2d")), _n);
490
+ return typeof document > "u" ? null : (hn || (hn = document.createElement("canvas"), gn = hn.getContext("2d")), gn);
492
491
  }
493
492
  function tr(e) {
494
493
  let t = String(e ?? ""), n = F.value, r = n.dataLabels.fontSize, i = n.dataLabels.bold ? 700 : 400, a = P.value.style.fontFamily, o = er();
@@ -499,7 +498,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
499
498
  return e.length ? Math.max(...e) : 0;
500
499
  }
501
500
  let rr = p(() => {
502
- hn.value;
501
+ mn.value;
503
502
  let e = F.value, t = Qn.value + Math.abs(e.nameLabels.offsetX) + e.offsetX, n = Y.value.width - Y.value.padding.right, r = Math.max(0, n - t - e.offsetX), i = Y.value.width - 40, a = nr(), o = G.value.map((e, t) => ({
504
503
  serie: e,
505
504
  textWidth: tr(Er(e.value, e, t, e.sign))
@@ -542,12 +541,12 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
542
541
  };
543
542
  }), ir = p(() => rr.value.right), ar = p(() => rr.value.left);
544
543
  function or() {
545
- hn.value += 1;
544
+ mn.value += 1;
546
545
  }
547
546
  We(() => {
548
- typeof document > "u" || !document.fonts || (document.fonts.ready.then(or), document.fonts.addEventListener?.("loadingdone", or));
547
+ typeof document < "u" && document.fonts && (document.fonts.ready.then(or), document.fonts.addEventListener?.("loadingdone", or));
549
548
  }), Ue(() => {
550
- typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone", or), gn = null, _n = null;
549
+ typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone", or), hn = null, gn = null;
551
550
  });
552
551
  let X = p(() => {
553
552
  let e = Qn.value + Math.abs(F.value.nameLabels.offsetX) + ar.value + F.value.offsetX, t = Y.value.width - Y.value.padding.right, n = Math.max(0, t - e - ir.value - F.value.offsetX);
@@ -563,7 +562,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
563
562
  function sr() {
564
563
  M.value.length ? M.value = [] : U.value.forEach((e) => {
565
564
  M.value.push(e.id);
566
- }), bn("selectLegend", W.value);
565
+ }), yn("selectLegend", W.value);
567
566
  }
568
567
  async function cr(e) {
569
568
  if (M.value.includes(e)) M.value = M.value.filter((t) => t !== e);
@@ -571,10 +570,10 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
571
570
  if (M.value.length === U.value.length - 1) return;
572
571
  M.value.push(e);
573
572
  }
574
- bn("selectLegend", W.value);
573
+ yn("selectLegend", W.value);
575
574
  }
576
575
  function lr(e) {
577
- return U.value.length ? U.value.find((t) => t.name === e) || (Un.value && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (Un.value && console.warn("VueUiHorizontalBar - There are no series to show."), null);
576
+ return U.value.length ? U.value.find((t) => t.name === e) || (Hn.value && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (Hn.value && console.warn("VueUiHorizontalBar - There are no series to show."), null);
578
577
  }
579
578
  function ur(e) {
580
579
  let t = lr(e);
@@ -626,7 +625,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
626
625
  }
627
626
  let br = C(null), xr = C(null);
628
627
  function Sr({ datapoint: e, seriesIndex: t }) {
629
- bn("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
628
+ yn("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
630
629
  datapoint: e,
631
630
  seriesIndex: t
632
631
  });
@@ -638,7 +637,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
638
637
  }), Qt.value = null, Xt.value = !1, br.value = null, N.value === t && (N.value = null);
639
638
  }
640
639
  function wr(e, t, r = "pointer") {
641
- yn.value = r, P.value.events.datapointEnter && P.value.events.datapointEnter({
640
+ vn.value = r, P.value.events.datapointEnter && P.value.events.datapointEnter({
642
641
  datpoint: e,
643
642
  seriesIndex: t
644
643
  }), N.value = t, Qt.value = e, xr.value = {
@@ -779,13 +778,13 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
779
778
  type: "attributeWrongValue",
780
779
  property: "style.chart.layout.bars.sort",
781
780
  key: F.value.sort
782
- }), pn.value = fn.value[F.value.sort], H.value.sortDesc = pn.value === 2, mn.value = pn.value === 0;
781
+ }), pn.value = fn.value[F.value.sort] ?? 0;
783
782
  });
784
783
  function jr() {
785
784
  pn.value += 1, pn.value > 2 && (pn.value = 0);
786
785
  }
787
786
  function Mr() {
788
- jr(), H.value.sortDesc = pn.value === 2, mn.value = pn.value === 0;
787
+ jr();
789
788
  }
790
789
  function Nr() {
791
790
  H.value.showTooltip = !H.value.showTooltip;
@@ -824,7 +823,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
824
823
  isFullscreen: Or.value,
825
824
  fullscreenParent: j.value,
826
825
  forcedWidth: Math.min(800, window.innerWidth * .8),
827
- isCursorPointer: xn.value
826
+ isCursorPointer: bn.value
828
827
  } : {
829
828
  hideDetails: !0,
830
829
  config: {
@@ -845,7 +844,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
845
844
  Ye(() => H.value.showTable, (e) => {
846
845
  P.value.table.show || (e && P.value.table.useDialog && cn.value ? cn.value.open() : "close" in cn.value && cn.value.close());
847
846
  });
848
- let { isResponsive: Rr } = Pe(Vn, Hn);
847
+ let { isResponsive: Rr } = Pe(Bn, Vn);
849
848
  function zr() {
850
849
  H.value.showTable = !1, ln.value && ln.value.setTableIconState(!1);
851
850
  }
@@ -865,19 +864,19 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
865
864
  ...e,
866
865
  name: e.display
867
866
  }))), { isCallbackImaging: Gr, isCallbackSvg: Kr, generateSvg: qr, onGenerateImage: Jr } = be({
868
- svg: An,
867
+ svg: kn,
869
868
  title: Ur,
870
869
  legend: Hr,
871
870
  legendItems: Wr,
872
871
  backgroundColor: Vr,
873
872
  getSvgCallback: () => P.value.userOptions.callbacks.svg,
874
- generateImage: Rn
873
+ generateImage: Ln
875
874
  });
876
875
  function Yr() {
877
876
  console.warn("[autoSize]: this legacy method can be safely removed as it has no impact.");
878
877
  }
879
878
  async function Xr() {
880
- if (bn("copyAlt", {
879
+ if (yn("copyAlt", {
881
880
  config: P.value,
882
881
  dataset: W.value
883
882
  }), !P.value.userOptions.callbacks.altCopy) {
@@ -902,10 +901,10 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
902
901
  e && Cr({
903
902
  datapoint: e,
904
903
  seriesIndex: N.value
905
- }), N.value = null, yn.value = "pointer";
904
+ }), N.value = null, vn.value = "pointer";
906
905
  }
907
906
  function ti(e) {
908
- if (!An.value || Pr.value || document.activeElement !== An.value) return;
907
+ if (!kn.value || Pr.value || document.activeElement !== kn.value) return;
909
908
  let t = e.key === "ArrowRight" || e.key === "ArrowDown", n = e.key === "ArrowLeft" || e.key === "ArrowUp", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
910
909
  if (!t && !n && !r && !i) return;
911
910
  let a = G.value.length;
@@ -933,8 +932,8 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
933
932
  if (!e) return;
934
933
  let t = X.value.right, n = X.value.top + (V.value + J.value) * e.absoluteIndex + q.value[e.absoluteIndex] * K.value;
935
934
  if (!Number.isFinite(t) || !Number.isFinite(n)) return;
936
- let r = a(t, n, An.value);
937
- r && (vn.value = r);
935
+ let r = a(t, n, kn.value);
936
+ r && (_n.value = r);
938
937
  }
939
938
  let ri = p(() => ({
940
939
  head: $.value.head,
@@ -976,9 +975,9 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
976
975
  autoSize: Yr,
977
976
  getData: _r,
978
977
  getImage: Ir,
979
- generatePdf: Ln,
978
+ generatePdf: In,
980
979
  generateCsv: Dr,
981
- generateImage: Rn,
980
+ generateImage: Ln,
982
981
  generateSvg: qr,
983
982
  hideSeries: dr,
984
983
  showSeries: ur,
@@ -994,8 +993,8 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
994
993
  ref: j,
995
994
  id: `vue-ui-vertical-bar_${A.value}`,
996
995
  style: x(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${R.value.backgroundColor};height:100%`),
997
- onMouseenter: t[3] ||= () => D(On)(!0),
998
- onMouseleave: t[4] ||= () => D(On)(!1)
996
+ onMouseenter: t[3] ||= () => D(Dn)(!0),
997
+ onMouseleave: t[4] ||= () => D(Dn)(!1)
999
998
  }, [
1000
999
  _("p", {
1001
1000
  id: `chart-instructions-${A.value}`,
@@ -1017,11 +1016,11 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1017
1016
  ])) : h("", !0),
1018
1017
  P.value.userOptions.buttons.annotator ? (S(), m(D(Vt), {
1019
1018
  key: 1,
1020
- svgRef: D(An),
1019
+ svgRef: D(kn),
1021
1020
  backgroundColor: R.value.backgroundColor,
1022
1021
  color: R.value.color,
1023
1022
  active: Pr.value,
1024
- isCursorPointer: xn.value,
1023
+ isCursorPointer: bn.value,
1025
1024
  palette: P.value.userOptions.annotatorPalette,
1026
1025
  onClose: Fr
1027
1026
  }, {
@@ -1040,7 +1039,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1040
1039
  "isCursorPointer",
1041
1040
  "palette"
1042
1041
  ])) : h("", !0),
1043
- zn.value ? (S(), g("div", {
1042
+ Rn.value ? (S(), g("div", {
1044
1043
  key: 2,
1045
1044
  ref_key: "noTitle",
1046
1045
  ref: rn,
@@ -1065,14 +1064,14 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1065
1064
  }
1066
1065
  }
1067
1066
  }, null, 8, ["config"]))], 512)) : h("", !0),
1068
- P.value.userOptions.show && Yt.value && (D(kn) || D(Dn)) ? (S(), m(D(Ht), {
1067
+ P.value.userOptions.show && Yt.value && (D(On) || D(En)) ? (S(), m(D(Ht), {
1069
1068
  ref_key: "userOptionsRef",
1070
1069
  ref: ln,
1071
1070
  backgroundColor: R.value.backgroundColor,
1072
1071
  color: R.value.color,
1073
1072
  key: `user_options_${$t.value}`,
1074
- isImaging: D(In),
1075
- isPrinting: D(Fn),
1073
+ isImaging: D(Fn),
1074
+ isPrinting: D(Pn),
1076
1075
  uid: A.value,
1077
1076
  hasTooltip: P.value.userOptions.buttons.tooltip && L.value.show,
1078
1077
  hasPdf: P.value.userOptions.buttons.pdf,
@@ -1093,9 +1092,9 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1093
1092
  callbacks: P.value.userOptions.callbacks,
1094
1093
  printScale: P.value.userOptions.print.scale,
1095
1094
  tableDialog: P.value.table.useDialog,
1096
- isCursorPointer: xn.value,
1095
+ isCursorPointer: bn.value,
1097
1096
  onToggleFullscreen: kr,
1098
- onGeneratePdf: D(Ln),
1097
+ onGeneratePdf: D(In),
1099
1098
  onGenerateCsv: Dr,
1100
1099
  onGenerateImage: D(Jr),
1101
1100
  onGenerateSvg: D(qr),
@@ -1104,7 +1103,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1104
1103
  onToggleTooltip: Nr,
1105
1104
  onToggleAnnotator: Fr,
1106
1105
  onCopyAlt: Xr,
1107
- style: x({ visibility: D(kn) ? D(Dn) ? "visible" : "hidden" : "visible" })
1106
+ style: x({ visibility: D(On) ? D(En) ? "visible" : "hidden" : "visible" })
1108
1107
  }, Le({ _: 2 }, [
1109
1108
  e.$slots.menuIcon ? {
1110
1109
  name: "menuIcon",
@@ -1186,8 +1185,9 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1186
1185
  key: "13"
1187
1186
  } : void 0
1188
1187
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasSort.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : h("", !0),
1189
- R.value.legend.show && R.value.legend.position === "top" ? (S(), g("div", {
1190
- key: 5,
1188
+ e.$slots.legend && R.value.legend.show && R.value.legend.position === "top" ? T(e.$slots, "legend", { legend: U.value }, void 0, !0, 5) : h("", !0),
1189
+ !e.$slots.legend && R.value.legend.show && R.value.legend.position === "top" ? (S(), g("div", {
1190
+ key: 6,
1191
1191
  ref_key: "chartLegend",
1192
1192
  ref: tn
1193
1193
  }, [(S(), m(Fe, {
@@ -1203,7 +1203,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1203
1203
  legend: e,
1204
1204
  index: t
1205
1205
  })), 13, et)]),
1206
- legendToggle: O(() => [U.value.length > 2 && R.value.legend.selectAllToggle.show && !D(wn) ? (S(), m(Ae, {
1206
+ legendToggle: O(() => [U.value.length > 2 && R.value.legend.selectAllToggle.show && !D(Cn) ? (S(), m(Ae, {
1207
1207
  key: 0,
1208
1208
  backgroundColor: R.value.legend.selectAllToggle.backgroundColor,
1209
1209
  color: R.value.legend.selectAllToggle.color,
@@ -1233,14 +1233,14 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1233
1233
  } : void 0]), 1032, ["legendSet", "config"]))], 512)) : h("", !0),
1234
1234
  _("div", tt, [(S(), g("svg", {
1235
1235
  ref_key: "svgRef",
1236
- ref: An,
1236
+ ref: kn,
1237
1237
  xmlns: D(ue),
1238
1238
  class: y({
1239
1239
  "vue-data-ui-fullscreen--on": Or.value,
1240
1240
  "vue-data-ui-fulscreen--off": !Or.value,
1241
1241
  "vue-data-ui-no-transition": !D(z)
1242
1242
  }),
1243
- viewBox: `0 0 ${B.value} ${Mn.value}`,
1243
+ viewBox: `0 0 ${B.value} ${jn.value}`,
1244
1244
  style: x(`max-width:100%;overflow:visible;background:transparent;color:${R.value.color}`),
1245
1245
  tabindex: "0",
1246
1246
  "aria-describedby": `chart-instructions-${A.value}`,
@@ -1258,7 +1258,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1258
1258
  x: 0,
1259
1259
  y: 0,
1260
1260
  width: B.value,
1261
- height: Mn.value,
1261
+ height: jn.value,
1262
1262
  style: { pointerEvents: "none" }
1263
1263
  }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : h("", !0),
1264
1264
  _("defs", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), m(Oe, {
@@ -1461,23 +1461,24 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1461
1461
  T(e.$slots, "svg", { svg: {
1462
1462
  ...Y.value,
1463
1463
  drawingArea: X.value,
1464
- isPrintingImg: D(Fn) || D(In) || D(Gr),
1464
+ isPrintingImg: D(Pn) || D(Fn) || D(Gr),
1465
1465
  isPrintingSvg: D(Kr)
1466
1466
  } }, void 0, !0)
1467
1467
  ], 512)], 46, nt)), e.$slots.hint ? (S(), g("div", vt, [T(e.$slots, "hint", b(v({
1468
1468
  hint: P.value.a11y.translations.keyboardNavigation,
1469
1469
  isVisible: Zr.value
1470
1470
  })), void 0, !0)])) : h("", !0)]),
1471
- e.$slots.watermark ? (S(), g("div", yt, [T(e.$slots, "watermark", b(v({ isPrinting: D(Fn) || D(In) || D(Gr) || D(Kr) })), void 0, !0)])) : h("", !0),
1472
- R.value.legend.show && R.value.legend.position === "bottom" ? (S(), g("div", {
1473
- key: 7,
1471
+ e.$slots.watermark ? (S(), g("div", yt, [T(e.$slots, "watermark", b(v({ isPrinting: D(Pn) || D(Fn) || D(Gr) || D(Kr) })), void 0, !0)])) : h("", !0),
1472
+ e.$slots.legend && R.value.legend.show && R.value.legend.position === "bottom" ? T(e.$slots, "legend", { legend: U.value }, void 0, !0, 8) : h("", !0),
1473
+ !e.$slots.legend && R.value.legend.show && R.value.legend.position === "bottom" ? (S(), g("div", {
1474
+ key: 9,
1474
1475
  ref_key: "chartLegend",
1475
1476
  ref: tn
1476
1477
  }, [(S(), m(Fe, {
1477
1478
  key: `legend_bottom_${on.value}`,
1478
1479
  legendSet: U.value,
1479
1480
  config: Zn.value,
1480
- isCursorPointer: xn.value,
1481
+ isCursorPointer: bn.value,
1481
1482
  onClickMarker: t[1] ||= ({ legend: e }) => cr(e.id)
1482
1483
  }, Le({
1483
1484
  item: O(({ legend: e, index: t }) => [_("div", {
@@ -1487,13 +1488,13 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1487
1488
  legend: e,
1488
1489
  index: t
1489
1490
  })), 13, bt)]),
1490
- legendToggle: O(() => [U.value.length > 2 && R.value.legend.selectAllToggle.show && !D(wn) ? (S(), m(Ae, {
1491
+ legendToggle: O(() => [U.value.length > 2 && R.value.legend.selectAllToggle.show && !D(Cn) ? (S(), m(Ae, {
1491
1492
  key: 0,
1492
1493
  backgroundColor: R.value.legend.selectAllToggle.backgroundColor,
1493
1494
  color: R.value.legend.selectAllToggle.color,
1494
1495
  fontSize: R.value.legend.fontSize,
1495
1496
  checked: M.value.length > 0,
1496
- isCursorPointer: xn.value,
1497
+ isCursorPointer: bn.value,
1497
1498
  onToggle: sr
1498
1499
  }, null, 8, [
1499
1500
  "backgroundColor",
@@ -1521,9 +1522,8 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1521
1522
  "config",
1522
1523
  "isCursorPointer"
1523
1524
  ]))], 512)) : h("", !0),
1524
- T(e.$slots, "legend", { legend: U.value }, void 0, !0),
1525
1525
  e.$slots.source ? (S(), g("div", {
1526
- key: 8,
1526
+ key: 10,
1527
1527
  ref_key: "source",
1528
1528
  ref: nn,
1529
1529
  dir: "auto"
@@ -1549,8 +1549,8 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1549
1549
  backdropFilter: L.value.backdropFilter,
1550
1550
  smoothForce: L.value.smoothForce,
1551
1551
  smoothSnapThreshold: L.value.smoothSnapThreshold,
1552
- isA11yMode: yn.value === "keyboard",
1553
- a11yPosition: vn.value
1552
+ isA11yMode: vn.value === "keyboard",
1553
+ a11yPosition: _n.value
1554
1554
  }, {
1555
1555
  "tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...xr.value })), void 0, !0)]),
1556
1556
  tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...xr.value })), void 0, !0)]),
@@ -1580,21 +1580,21 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1580
1580
  "isA11yMode",
1581
1581
  "a11yPosition"
1582
1582
  ]),
1583
- Yt.value && P.value.userOptions.buttons.table ? (S(), m(Ge(Lr.value.component), Ve({ key: 9 }, Lr.value.props, {
1583
+ Yt.value && P.value.userOptions.buttons.table ? (S(), m(Ge(Lr.value.component), Ve({ key: 11 }, Lr.value.props, {
1584
1584
  ref_key: "tableUnit",
1585
1585
  ref: cn,
1586
1586
  onClose: zr
1587
1587
  }), Le({
1588
1588
  content: O(() => [_("div", {
1589
1589
  ref_key: "tableContainer",
1590
- ref: Vn,
1590
+ ref: Bn,
1591
1591
  class: "vue-ui-vertical-bar-table atom-data-table",
1592
1592
  style: x(`${P.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1593
1593
  }, [_("div", xt, [P.value.table.useDialog ? h("", !0) : (S(), g("div", {
1594
1594
  key: 0,
1595
1595
  role: "button",
1596
1596
  tabindex: "0",
1597
- style: x(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${xn.value ? "pointer" : "default"}; background:${P.value.table.th.backgroundColor};`),
1597
+ style: x(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${bn.value ? "pointer" : "default"}; background:${P.value.table.th.backgroundColor};`),
1598
1598
  onClick: zr,
1599
1599
  onKeypress: Xe(zr, ["enter"])
1600
1600
  }, [ze(D(Bt), {
@@ -1708,16 +1708,16 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
1708
1708
  tabindex: "0",
1709
1709
  class: "vue-ui-user-options-button",
1710
1710
  onClick: t[2] ||= (e) => Dr(P.value.userOptions.callbacks.csv),
1711
- style: x({ cursor: xn.value ? "pointer" : "default" })
1711
+ style: x({ cursor: bn.value ? "pointer" : "default" })
1712
1712
  }, [ze(D(Bt), {
1713
1713
  name: "fileCsv",
1714
1714
  stroke: Lr.value.props.color
1715
1715
  }, null, 8, ["stroke"])], 4)]),
1716
1716
  key: "1"
1717
1717
  } : void 0]), 1040)) : h("", !0),
1718
- T(e.$slots, "skeleton", {}, () => [D(wn) ? (S(), m(_e, { key: 0 })) : h("", !0)], !0)
1718
+ T(e.$slots, "skeleton", {}, () => [D(Cn) ? (S(), m(_e, { key: 0 })) : h("", !0)], !0)
1719
1719
  ], 46, Qe));
1720
1720
  }
1721
- }, [["__scopeId", "data-v-ed1ed3a8"]]);
1721
+ }, [["__scopeId", "data-v-4bdb8874"]]);
1722
1722
  //#endregion
1723
1723
  export { Ze as n, zt as t };
@@ -21,7 +21,7 @@ var D = /* @__PURE__ */ e({ default: () => j }), O = ["aria-labelledby"], k = ["
21
21
  }
22
22
  },
23
23
  setup(e) {
24
- let D = g(() => import("./vue-ui-digits-Bf68x6fb.js").then((e) => e.n)), { vue_ui_kpi: j } = o(), M = c(), N = e, P = u({
24
+ let D = g(() => import("./vue-ui-digits-CsougDlU.js").then((e) => e.n)), { vue_ui_kpi: j } = o(), M = c(), N = e, P = u({
25
25
  get: () => R(),
26
26
  set: (e) => e
27
27
  });