vue-data-ui 3.10.0 → 3.10.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 (167) hide show
  1. package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
  3. package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
  4. package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
  5. package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
  6. package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
  7. package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
  9. package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
  10. package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
  11. package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
  12. package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
  13. package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
  14. package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
  15. package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
  16. package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
  17. package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-bump.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
  88. package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
  89. package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
  90. package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
  91. package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +3 -1
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
  95. package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
  96. package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
  97. package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
  98. package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
  99. package/dist/vue-data-ui.js +73 -73
  100. package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
  101. package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
  102. package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
  103. package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
  104. package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
  105. package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
  106. package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
  107. package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
  108. package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
  109. package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
  110. package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
  111. package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
  112. package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
  113. package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
  114. package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
  115. package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
  116. package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
  117. package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
  118. package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
  119. package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
  120. package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
  121. package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
  122. package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
  123. package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
  124. package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
  125. package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
  126. package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
  127. package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
  128. package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
  129. package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
  130. package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
  131. package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
  132. package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
  133. package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
  134. package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
  135. package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
  136. package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
  137. package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
  138. package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
  139. package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
  140. package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
  141. package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
  142. package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
  143. package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
  144. package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
  145. package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
  146. package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
  147. package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
  148. package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
  149. package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
  150. package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
  151. package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
  152. package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
  153. package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
  154. package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
  155. package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
  156. package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
  157. package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
  158. package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
  159. package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
  160. package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
  161. package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
  162. package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
  163. package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
  164. package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
  165. package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
  166. package/package.json +1 -1
  167. package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
@@ -1,12 +1,12 @@
1
1
  import { computed as L, ref as R, watch as E, onMounted as H, onBeforeUnmount as U, createBlock as x, openBlock as c, Teleport as K, createElementBlock as p, createCommentVNode as a, normalizeStyle as b, normalizeClass as g, createElementVNode as n, renderSlot as B, resolveComponent as v, createVNode as T, withCtx as N, createTextVNode as F, toDisplayString as f, withDirectives as M, vModelCheckbox as G, vModelText as D, withModifiers as A, Fragment as X, renderList as Y } from "vue";
2
- import { w as V, t as q, c as J, aA as Z } from "./lib-2iaAPQ_c.js";
3
- import { u as Q } from "./useNestedProp-BCt4DMkT.js";
4
- import { d as $ } from "./dom-to-png-WXGPkYro.js";
5
- import { u as ee } from "./usePrinter-ChVMpU2f.js";
6
- import te from "./BaseIcon-B9bGT7HU.js";
7
- import oe from "./vue-ui-accordion-CAXPDm31.js";
2
+ import { w as V, t as q, c as J, aA as Z } from "./lib-CVHM9FhP.js";
3
+ import { u as Q } from "./useNestedProp-Ckf_2P_V.js";
4
+ import { d as $ } from "./dom-to-png-CzjUUVZt.js";
5
+ import { u as ee } from "./usePrinter-1NmjuP-i.js";
6
+ import te from "./BaseIcon-4uOct8re.js";
7
+ import oe from "./vue-ui-accordion-DFKaB_05.js";
8
8
  import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { C as se } from "./ColorPicker-VKEPgk58.js";
9
+ import { C as se } from "./ColorPicker-Culsjrcr.js";
10
10
  function ie(e) {
11
11
  const o = (y) => e.isMacLike ? y.metaKey : y.ctrlKey, l = (y) => {
12
12
  const S = y;
@@ -1,47 +1,51 @@
1
- import { defineAsyncComponent as j, ref as d, computed as i, onMounted as Xe, toRefs as Ye, watch as he, onBeforeUnmount as Je, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as V, normalizeClass as de, createBlock as _, createCommentVNode as c, createElementVNode as $, withCtx as f, renderSlot as v, normalizeProps as b, guardReactiveProps as p, createSlots as Ke, createVNode as Qe, Fragment as G, renderList as q, toDisplayString as T, Teleport as Ze } from "vue";
2
- import { u as et, a as X } from "./useNestedProp-BCt4DMkT.js";
3
- import { c as tt, t as at, q as lt, N as ot, m as st, a as P, d as M, X as rt, o as ge, g as fe, l as nt } from "./lib-2iaAPQ_c.js";
4
- import { t as ut, u as it } from "./useResponsive-DfdjqQps.js";
5
- import { u as ct } from "./usePrinter-ChVMpU2f.js";
6
- import { u as vt, B as ht } from "./BaseScanner-BMpwQAfz.js";
7
- import { u as dt } from "./useSvgExport-ByUukOZt.js";
8
- import { u as gt } from "./useThemeCheck-DGJ31Vi5.js";
9
- import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as mt } from "./useChartAccessibility-9icAAmYg.js";
11
- import yt from "./Legend-D2xmnFPH.js";
12
- import bt from "./Title-B5L2jweB.js";
13
- import pt from "./img-CqYIrJ8I.js";
14
- import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, segments: { baseColor: "#5A5A5A", dataLabels: { color: "#CCCCCC" }, ticks: { stroke: "#5A5A5A" } }, target: { color: "#1A1A1A" }, valueBar: { color: "#CCCCCC", stroke: "#5A5A5A", label: { color: "#CCCCCC" } } } } }, ye = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, segments: { baseColor: "#D32F2F", dataLabels: { color: "#424242" }, ticks: { stroke: "#424242" } }, target: { color: "#3A3A3A" }, valueBar: { color: "#3A3A3A", stroke: "#FFF8E1", label: { color: "#424242" } } } } }, be = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, segments: { baseColor: "#D32F2F", dataLabels: { color: "#BDBDBD" }, ticks: { stroke: "#BDBDBD" } }, target: { color: "#3A3A3A" }, valueBar: { color: "#3A3A3A", stroke: "#1E1E1E", label: { color: "#BDBDBD" } } } } }, pe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, segments: { baseColor: "#00AA00", dataLabels: { color: "#66CC66" }, ticks: { stroke: "#00AA00" } }, target: { color: "#023602" }, valueBar: { color: "#1b291b", stroke: "#1A1A1A", label: { color: "#66CC66" } } } } }, ke = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, segments: { baseColor: "#8F837A", dataLabels: { color: "#8A9892" }, ticks: { stroke: "#8F837A" } }, target: { color: "#40403a" }, valueBar: { color: "#8F837A", stroke: "#fbfafa", label: { color: "#8A9892" } } } } }, Ce = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", legend: { backgroundColor: "#fbfafa", color: "#50606C" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, segments: { baseColor: "#718890", dataLabels: { color: "#50606C" }, ticks: { stroke: "#50606C" } }, target: { color: "#50606C" }, valueBar: { color: "#50606C", stroke: "#fbfafa", label: { color: "#50606C" } } } } }, Ae = {
1
+ import { defineAsyncComponent as j, ref as d, computed as i, onMounted as Je, toRefs as Ke, watch as he, onBeforeUnmount as Qe, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as V, normalizeClass as de, createBlock as _, createCommentVNode as c, createElementVNode as L, withCtx as f, renderSlot as v, normalizeProps as b, guardReactiveProps as p, createSlots as Ze, createVNode as et, Fragment as G, renderList as q, toDisplayString as T, Teleport as tt } from "vue";
2
+ import { u as at, a as X } from "./useNestedProp-Ckf_2P_V.js";
3
+ import { c as lt, t as ot, q as st, N as rt, m as nt, a as P, d as M, X as ut, o as ge, g as fe, l as it } from "./lib-CVHM9FhP.js";
4
+ import { t as ct, u as vt } from "./useResponsive-DfdjqQps.js";
5
+ import { u as ht } from "./usePrinter-1NmjuP-i.js";
6
+ import { u as dt, B as gt } from "./BaseScanner-BMpwQAfz.js";
7
+ import { u as ft } from "./useSvgExport-ByUukOZt.js";
8
+ import { u as mt } from "./useThemeCheck-D1ZYXUwG.js";
9
+ import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
11
+ import pt from "./Legend-DN5UJOBH.js";
12
+ import Ct from "./Title-NgeRXqRA.js";
13
+ import kt from "./img-6fNF_rG0.js";
14
+ import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const me = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 }, segments: { baseColor: "#2A2929" }, valueBar: { color: "#CCCCCC" } } } }, ye = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { show: !1 }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, segments: { baseColor: "#424040", dataLabels: { color: "#CCCCCC" }, ticks: { stroke: "#5A5A5A" } }, target: { color: "#1A1A1A" }, valueBar: { color: "#FAFAFA", stroke: "#5A5A5A", label: { color: "#CCCCCC" } } } } }, be = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, segments: { baseColor: "#5A5A5A", dataLabels: { color: "#CCCCCC" }, ticks: { stroke: "#5A5A5A" } }, target: { color: "#1A1A1A" }, valueBar: { color: "#CCCCCC", stroke: "#5A5A5A", label: { color: "#CCCCCC" } } } } }, pe = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, segments: { baseColor: "#D32F2F", dataLabels: { color: "#424242" }, ticks: { stroke: "#424242" } }, target: { color: "#3A3A3A" }, valueBar: { color: "#3A3A3A", stroke: "#FFF8E1", label: { color: "#424242" } } } } }, Ce = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, segments: { baseColor: "#D32F2F", dataLabels: { color: "#BDBDBD" }, ticks: { stroke: "#BDBDBD" } }, target: { color: "#3A3A3A" }, valueBar: { color: "#3A3A3A", stroke: "#1E1E1E", label: { color: "#BDBDBD" } } } } }, ke = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, segments: { baseColor: "#00AA00", dataLabels: { color: "#66CC66" }, ticks: { stroke: "#00AA00" } }, target: { color: "#023602" }, valueBar: { color: "#1b291b", stroke: "#1A1A1A", label: { color: "#66CC66" } } } } }, Ae = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, segments: { baseColor: "#8F837A", dataLabels: { color: "#8A9892" }, ticks: { stroke: "#8F837A" } }, target: { color: "#40403a" }, valueBar: { color: "#8F837A", stroke: "#fbfafa", label: { color: "#8A9892" } } } } }, we = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", legend: { backgroundColor: "#fbfafa", color: "#50606C" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, segments: { baseColor: "#718890", dataLabels: { color: "#50606C" }, ticks: { stroke: "#50606C" } }, target: { color: "#50606C" }, valueBar: { color: "#50606C", stroke: "#fbfafa", label: { color: "#50606C" } } } } }, Be = {
16
16
  default: {},
17
- dark: me,
18
- celebration: ye,
19
- celebrationNight: be,
20
- hack: pe,
21
- zen: ke,
22
- concrete: Ce
23
- }, aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
+ minimal: me,
18
+ minimalDark: ye,
19
+ dark: be,
20
+ celebration: pe,
21
+ celebrationNight: Ce,
22
+ hack: ke,
23
+ zen: Ae,
24
+ concrete: we
25
+ }, oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
26
  __proto__: null,
25
- celebration: ye,
26
- celebrationNight: be,
27
- concrete: Ce,
28
- dark: me,
29
- default: Ae,
30
- hack: pe,
31
- zen: ke
32
- }, Symbol.toStringTag, { value: "Module" })), Ct = ["id"], At = {
27
+ celebration: pe,
28
+ celebrationNight: Ce,
29
+ concrete: we,
30
+ dark: be,
31
+ default: Be,
32
+ hack: ke,
33
+ minimal: me,
34
+ minimalDark: ye,
35
+ zen: Ae
36
+ }, Symbol.toStringTag, { value: "Module" })), wt = ["id"], Bt = {
33
37
  key: 1,
34
38
  ref: "noTitle",
35
39
  class: "vue-data-ui-no-title-space",
36
40
  style: "height:36px; width: 100%;background:transparent"
37
- }, wt = ["id"], Bt = ["xmlns", "viewBox"], xt = ["width", "height"], _t = { key: 1 }, $t = ["x", "y", "height", "width", "fill", "stroke"], Lt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ft = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ot = ["x", "y", "font-size", "font-weight", "fill"], St = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Dt = { key: 3 }, Et = ["x", "y", "fill", "font-size", "font-weight"], It = { key: 4 }, Tt = ["x1", "x2", "y1", "y2", "stroke"], Pt = {
41
+ }, xt = ["id"], _t = ["xmlns", "viewBox"], Lt = ["width", "height"], $t = { key: 1 }, Ft = ["x", "y", "height", "width", "fill", "stroke"], Ot = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], St = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Dt = ["x", "y", "font-size", "font-weight", "fill"], Et = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], It = { key: 3 }, Tt = ["x", "y", "fill", "font-size", "font-weight"], Pt = { key: 4 }, Mt = ["x1", "x2", "y1", "y2", "stroke"], zt = {
38
42
  key: 4,
39
43
  class: "vue-data-ui-watermark"
40
- }, Mt = ["id"], zt = {
44
+ }, Ht = ["id"], Nt = {
41
45
  key: 0,
42
46
  class: "vue-ui-bullet-legend-item",
43
47
  dir: "auto"
44
- }, Ht = { style: { "margin-right": "2px" } }, Nt = {
48
+ }, Rt = { style: { "margin-right": "2px" } }, Ut = {
45
49
  __name: "vue-ui-bullet",
46
50
  props: {
47
51
  config: {
@@ -57,8 +61,8 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
57
61
  }
58
62
  }
59
63
  },
60
- setup(we, { expose: Be }) {
61
- const xe = j(() => import("./PackageVersion-C-JOGZBL.js")), _e = j(() => import("./PenAndPaper-CulSakut.js")), $e = j(() => import("./UserOptions-5pXc4J-c.js")), { vue_ui_bullet: Le } = et(), { isThemeValid: Fe, warnInvalidTheme: Oe } = gt(), L = we, C = d(null), Y = d(null), J = d(0), K = d(null), Q = d(null), Se = d(0), F = d(null), D = d(null), Z = d(!1), w = i({
64
+ setup(xe, { expose: _e }) {
65
+ const Le = j(() => import("./PackageVersion-CQxJyGQr.js")), $e = j(() => import("./PenAndPaper-LTuSTmWE.js")), Fe = j(() => import("./UserOptions-CX7Xsusk.js")), { vue_ui_bullet: Oe } = at(), { isThemeValid: Se, warnInvalidTheme: De } = mt(), $ = xe, k = d(null), Y = d(null), J = d(0), K = d(null), Q = d(null), Ee = d(0), F = d(null), D = d(null), Z = d(!1), w = i({
62
66
  get: () => h.value.hasOwnProperty("value"),
63
67
  set: (t) => t
64
68
  }), O = i(() => h.value.segments ? Array.isArray(h.value.segments) ? h.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
@@ -94,7 +98,7 @@ segments: [
94
98
  },
95
99
  {...}
96
100
  ]
97
- `), w.value = !1, !1)), ee = i(() => !!e.value.debug), De = i(() => {
101
+ `), w.value = !1, !1)), ee = i(() => !!e.value.debug), Ie = i(() => {
98
102
  const { top: t, right: l, bottom: a, left: u } = e.value.style.chart.padding;
99
103
  return {
100
104
  top: t,
@@ -109,7 +113,7 @@ segments: [
109
113
  type: "dataset",
110
114
  debug: ee.value
111
115
  }), E.value = !0) : O.value ? h.value.segments.forEach((t, l) => {
112
- nt({
116
+ it({
113
117
  datasetObject: t,
114
118
  requiredAttributes: ["name", "from", "to"]
115
119
  }).forEach((a) => {
@@ -122,45 +126,45 @@ segments: [
122
126
  });
123
127
  });
124
128
  }) : (w.value = !1, E.value = !0), ge(h.value) || (E.value = e.value.loading), e.value.responsive) {
125
- const t = ut(() => {
126
- const { width: l, height: a } = it({
127
- chart: C.value,
129
+ const t = ct(() => {
130
+ const { width: l, height: a } = vt({
131
+ chart: k.value,
128
132
  title: e.value.style.chart.title.text ? Y.value : null,
129
133
  legend: e.value.style.chart.legend.show ? K.value : null,
130
134
  source: Q.value,
131
- padding: De.value
132
- }), k = (e.value.style.chart.legend.show ? 24 : 0) || 12;
135
+ padding: Ie.value
136
+ }), C = (e.value.style.chart.legend.show ? 24 : 0) || 12;
133
137
  requestAnimationFrame(() => {
134
- x.value.width = l, x.value.height = a - k;
138
+ x.value.width = l, x.value.height = a - C;
135
139
  });
136
140
  });
137
- F.value && (D.value && F.value.unobserve(D.value), F.value.disconnect()), F.value = new ResizeObserver(t), D.value = C.value.parentNode, F.value.observe(D.value);
141
+ F.value && (D.value && F.value.unobserve(D.value), F.value.disconnect()), F.value = new ResizeObserver(t), D.value = k.value.parentNode, F.value.observe(D.value);
138
142
  }
139
143
  e.value.style.chart.animation.show && !B.value && se(h.value.value || 0);
140
144
  }
141
- Xe(() => {
145
+ Je(() => {
142
146
  Z.value = !0, te();
143
147
  });
144
- const A = d(tt());
148
+ const A = d(lt());
145
149
  function z() {
146
150
  const t = X({
147
- userConfig: L.config,
148
- defaultConfig: Le
151
+ userConfig: $.config,
152
+ defaultConfig: Oe
149
153
  }), l = t.theme;
150
154
  if (!l) return t;
151
- if (!Fe.value(t))
152
- return Oe(t), t;
155
+ if (!Se.value(t))
156
+ return De(t), t;
153
157
  const a = X({
154
- userConfig: Ae[l] || L.config,
158
+ userConfig: Be[l] || $.config,
155
159
  defaultConfig: t
156
160
  });
157
161
  return X({
158
- userConfig: L.config,
162
+ userConfig: $.config,
159
163
  defaultConfig: a
160
164
  });
161
165
  }
162
- const e = d(z()), { loading: B, FINAL_DATASET: h, manualLoading: E } = vt({
163
- ...Ye(L),
166
+ const e = d(z()), { loading: B, FINAL_DATASET: h, manualLoading: E } = dt({
167
+ ...Ke($),
164
168
  FINAL_CONFIG: e,
165
169
  prepareConfig: z,
166
170
  skeletonDataset: {
@@ -187,7 +191,7 @@ segments: [
187
191
  }
188
192
  ]
189
193
  },
190
- skeletonConfig: at({
194
+ skeletonConfig: ot({
191
195
  defaultConfig: e.value,
192
196
  userConfig: {
193
197
  userOptions: { show: !1 },
@@ -207,39 +211,39 @@ segments: [
207
211
  }
208
212
  }
209
213
  })
210
- }), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = ft({ config: e.value }), { svgRef: N } = mt({ config: e.value.style.chart.title }), x = d({
214
+ }), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = yt({ config: e.value }), { svgRef: N } = bt({ config: e.value.style.chart.title }), x = d({
211
215
  width: e.value.style.chart.width,
212
216
  height: e.value.style.chart.height
213
- }), Ee = i(() => x.value.width), Ie = i(() => x.value.height);
214
- he(() => L.config, (t) => {
217
+ }), Te = i(() => x.value.width), Pe = i(() => x.value.height);
218
+ he(() => $.config, (t) => {
215
219
  B.value || (e.value = z()), H.value = !e.value.userOptions.showOnChartHover, x.value.width = e.value.style.chart.width, x.value.height = e.value.style.chart.height, te(), J.value += 1;
216
220
  }, { deep: !0 });
217
221
  const o = i(() => {
218
- const t = Ie.value, l = Ee.value, a = e.value.style.chart.padding.left, u = l - e.value.style.chart.padding.right, k = e.value.style.chart.padding.top, g = t - e.value.style.chart.padding.bottom;
222
+ const t = Pe.value, l = Te.value, a = e.value.style.chart.padding.left, u = l - e.value.style.chart.padding.right, C = e.value.style.chart.padding.top, g = t - e.value.style.chart.padding.bottom;
219
223
  return {
220
224
  height: Math.max(1e-3, t),
221
225
  width: Math.max(1e-3, l),
222
226
  left: a,
223
227
  right: u,
224
- top: k,
228
+ top: C,
225
229
  bottom: g,
226
230
  chartWidth: Math.max(1e-3, u - a),
227
- chartHeight: Math.max(1e-3, g - k)
231
+ chartHeight: Math.max(1e-3, g - C)
228
232
  };
229
- }), Te = i(() => {
233
+ }), Me = i(() => {
230
234
  if (!O.value) return [];
231
235
  const t = [];
232
236
  for (let l = 0; l < h.value.segments.length; l += 1)
233
- t.push(lt(e.value.style.chart.segments.baseColor, l / h.value.segments.length));
237
+ t.push(st(e.value.style.chart.segments.baseColor, l / h.value.segments.length));
234
238
  return t;
235
239
  }), R = i(() => O.value ? {
236
240
  min: Math.min(...h.value.segments.map((t) => t.from)),
237
241
  max: Math.max(...h.value.segments.map((t) => t.to))
238
- } : { min: 0, max: 1 }), m = d(Pe());
242
+ } : { min: 0, max: 1 }), m = d(ze());
239
243
  he(() => h.value, (t) => {
240
244
  t.hasOwnProperty("value") && (E.value = !1), e.value.style.chart.animation.show && !B.value ? se(t.value || 0) : m.value = t.value || 0;
241
245
  }, { deep: !0 });
242
- function Pe() {
246
+ function ze() {
243
247
  return e.value.style.chart.animation.show && !B.value ? R.value.min : h.value.value || 0;
244
248
  }
245
249
  const oe = d(null);
@@ -250,17 +254,17 @@ segments: [
250
254
  }
251
255
  a();
252
256
  }
253
- Je(() => {
257
+ Qe(() => {
254
258
  cancelAnimationFrame(oe.value);
255
259
  });
256
260
  const y = i(() => {
257
261
  if (!O.value)
258
262
  return [];
259
- const t = ot(R.value.min, R.value.max, e.value.style.chart.segments.ticks.divisions), l = t.min >= 0 ? 0 : Math.abs(t.min), a = {
263
+ const t = rt(R.value.min, R.value.max, e.value.style.chart.segments.ticks.divisions), l = t.min >= 0 ? 0 : Math.abs(t.min), a = {
260
264
  x: o.value.left + (h.value.target + l) / (t.max + l) * o.value.chartWidth - e.value.style.chart.target.width / 2
261
265
  }, u = {
262
266
  width: (m.value + l) / (t.max + l) * o.value.chartWidth
263
- }, k = t.ticks.map((g) => ({
267
+ }, C = t.ticks.map((g) => ({
264
268
  value: g,
265
269
  y: o.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
266
270
  x: o.value.left + (g + l) / (t.max + l) * o.value.chartWidth
@@ -269,10 +273,10 @@ segments: [
269
273
  scale: t,
270
274
  target: a,
271
275
  value: u,
272
- ticks: k,
273
- chunks: h.value.segments.map((g, qe) => ({
276
+ ticks: C,
277
+ chunks: h.value.segments.map((g, Ye) => ({
274
278
  ...g,
275
- color: g.color ? st(g.color) : Te.value[qe],
279
+ color: g.color ? nt(g.color) : Me.value[Ye],
276
280
  x: o.value.left + o.value.chartWidth * ((g.from + l) / (t.max + l)),
277
281
  y: o.value.top,
278
282
  height: o.value.chartHeight,
@@ -305,33 +309,33 @@ segments: [
305
309
  value: u,
306
310
  display: `${t.name}: ${u}`
307
311
  };
308
- })), Me = i(() => ({
312
+ })), He = i(() => ({
309
313
  cy: "bullet-div-legend",
310
314
  backgroundColor: "transparent",
311
315
  color: e.value.style.chart.legend.color,
312
316
  fontSize: e.value.style.chart.legend.fontSize,
313
317
  paddingBottom: 6,
314
318
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
315
- })), { isPrinting: re, isImaging: ne, generatePdf: ue, generateImage: ie } = ct({
319
+ })), { isPrinting: re, isImaging: ne, generatePdf: ue, generateImage: ie } = ht({
316
320
  elementId: `bullet_${A.value}`,
317
321
  fileName: e.value.style.chart.title.text || "vue-ui-bullet",
318
322
  options: e.value.userOptions.print
319
- }), ze = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = d(!1);
323
+ }), Ne = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = d(!1);
320
324
  function ce(t) {
321
- S.value = t, Se.value += 1;
325
+ S.value = t, Ee.value += 1;
322
326
  }
323
- function He() {
327
+ function Re() {
324
328
  return y.value;
325
329
  }
326
330
  const I = d(!1);
327
331
  function W() {
328
332
  I.value = !I.value;
329
333
  }
330
- async function Ne({ scale: t = 2 } = {}) {
331
- if (!C.value) return;
332
- const { width: l, height: a } = C.value.getBoundingClientRect(), u = l / a, { imageUri: k, base64: g } = await pt({ domElement: C.value, base64: !0, img: !0, scale: t });
334
+ async function Ue({ scale: t = 2 } = {}) {
335
+ if (!k.value) return;
336
+ const { width: l, height: a } = k.value.getBoundingClientRect(), u = l / a, { imageUri: C, base64: g } = await kt({ domElement: k.value, base64: !0, img: !0, scale: t });
333
337
  return {
334
- imageUri: k,
338
+ imageUri: C,
335
339
  base64: g,
336
340
  title: e.value.style.chart.title.text,
337
341
  width: l,
@@ -339,22 +343,22 @@ segments: [
339
343
  aspectRatio: u
340
344
  };
341
345
  }
342
- const Re = i(() => U.value.map((t) => ({
346
+ const We = i(() => U.value.map((t) => ({
343
347
  ...t,
344
348
  name: t.display
345
- }))), Ue = i(() => e.value.style.chart.backgroundColor), We = i(() => e.value.style.chart.legend), je = i(() => e.value.style.chart.title), { exportSvg: Ve, getSvg: Ge } = dt({
349
+ }))), je = i(() => e.value.style.chart.backgroundColor), Ve = i(() => e.value.style.chart.legend), Ge = i(() => e.value.style.chart.title), { exportSvg: qe, getSvg: Xe } = ft({
346
350
  svg: N,
347
- title: je,
348
- legend: We,
349
- legendItems: Re,
350
- backgroundColor: Ue
351
+ title: Ge,
352
+ legend: Ve,
353
+ legendItems: We,
354
+ backgroundColor: je
351
355
  });
352
356
  function ve({ isCb: t }) {
353
- t ? e.value.userOptions.callbacks.svg(Ge()) : Ve();
357
+ t ? e.value.userOptions.callbacks.svg(Xe()) : qe();
354
358
  }
355
- return Be({
356
- getData: He,
357
- getImage: Ne,
359
+ return _e({
360
+ getData: Re,
361
+ getImage: Ue,
358
362
  generatePdf: ue,
359
363
  generateImage: ie,
360
364
  generateSvg: ve,
@@ -362,14 +366,14 @@ segments: [
362
366
  toggleFullscreen: ce
363
367
  }), (t, l) => (s(), n("div", {
364
368
  ref_key: "bulletChart",
365
- ref: C,
369
+ ref: k,
366
370
  class: de(`vue-data-ui-component vue-ui-bullet ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
367
371
  style: V(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
368
372
  id: `bullet_${A.value}`,
369
373
  onMouseenter: l[0] || (l[0] = () => r(ae)(!0)),
370
374
  onMouseleave: l[1] || (l[1] = () => r(ae)(!1))
371
375
  }, [
372
- e.value.userOptions.buttons.annotator ? (s(), _(r(_e), {
376
+ e.value.userOptions.buttons.annotator ? (s(), _(r($e), {
373
377
  key: 0,
374
378
  svgRef: r(N),
375
379
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -397,14 +401,14 @@ segments: [
397
401
  ]),
398
402
  _: 3
399
403
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
400
- ze.value ? (s(), n("div", At, null, 512)) : c("", !0),
404
+ Ne.value ? (s(), n("div", Bt, null, 512)) : c("", !0),
401
405
  e.value.style.chart.title.text ? (s(), n("div", {
402
406
  key: 2,
403
407
  ref_key: "chartTitle",
404
408
  ref: Y,
405
409
  style: "width:100%;background:transparent;"
406
410
  }, [
407
- (s(), _(bt, {
411
+ (s(), _(Ct, {
408
412
  lineHeight: "1.3rem",
409
413
  key: `title_${J.value}`,
410
414
  config: {
@@ -419,10 +423,10 @@ segments: [
419
423
  }
420
424
  }, null, 8, ["config"]))
421
425
  ], 512)) : c("", !0),
422
- $("div", {
426
+ L("div", {
423
427
  id: `legend-top-${A.value}`
424
- }, null, 8, wt),
425
- e.value.userOptions.show && w.value && (r(le) || r(H)) ? (s(), _(r($e), {
428
+ }, null, 8, xt),
429
+ e.value.userOptions.show && w.value && (r(le) || r(H)) ? (s(), _(r(Fe), {
426
430
  key: 3,
427
431
  ref: "details",
428
432
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -439,7 +443,7 @@ segments: [
439
443
  hasLabel: !1,
440
444
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
441
445
  isFullscreen: S.value,
442
- chartElement: C.value,
446
+ chartElement: k.value,
443
447
  position: e.value.userOptions.position,
444
448
  titles: { ...e.value.userOptions.buttonTitles },
445
449
  hasAnnotator: e.value.userOptions.buttons.annotator,
@@ -454,7 +458,7 @@ segments: [
454
458
  style: V({
455
459
  visibility: r(le) ? r(H) ? "visible" : "hidden" : "visible"
456
460
  })
457
- }, Ke({ _: 2 }, [
461
+ }, Ze({ _: 2 }, [
458
462
  t.$slots.menuIcon ? {
459
463
  name: "menuIcon",
460
464
  fn: f(({ isOpen: a, color: u }) => [
@@ -501,12 +505,12 @@ segments: [
501
505
  (s(), n("svg", {
502
506
  ref_key: "svgRef",
503
507
  ref: N,
504
- xmlns: r(rt),
508
+ xmlns: r(ut),
505
509
  class: de({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value, "vue-ui-bullet-svg": !0 }),
506
510
  viewBox: `0 0 ${o.value.width} ${o.value.height}`,
507
511
  style: V(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
508
512
  }, [
509
- Qe(r(xe)),
513
+ et(r(Le)),
510
514
  t.$slots["chart-background"] ? (s(), n("foreignObject", {
511
515
  key: 0,
512
516
  x: 0,
@@ -518,8 +522,8 @@ segments: [
518
522
  }
519
523
  }, [
520
524
  v(t.$slots, "chart-background", {}, void 0, !0)
521
- ], 8, xt)) : c("", !0),
522
- O.value ? (s(), n("g", _t, [
525
+ ], 8, Lt)) : c("", !0),
526
+ O.value ? (s(), n("g", $t, [
523
527
  (s(!0), n(G, null, q(y.value.chunks, (a) => (s(), n("rect", {
524
528
  x: a.x,
525
529
  y: a.y,
@@ -529,7 +533,7 @@ segments: [
529
533
  "stroke-width": 1,
530
534
  stroke: e.value.style.chart.backgroundColor,
531
535
  style: { transition: "x 0.3s ease-in-out, width 0.3s ease-in-out" }
532
- }, null, 8, $t))), 256)),
536
+ }, null, 8, Ft))), 256)),
533
537
  !e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (s(), n("rect", {
534
538
  key: 0,
535
539
  x: y.value.target.x,
@@ -540,8 +544,8 @@ segments: [
540
544
  fill: e.value.style.chart.target.color,
541
545
  stroke: e.value.style.chart.target.stroke,
542
546
  "stroke-width": e.value.style.chart.target.strokeWidth
543
- }, null, 8, Lt)) : c("", !0),
544
- $("rect", {
547
+ }, null, 8, Ot)) : c("", !0),
548
+ L("rect", {
545
549
  x: o.value.left,
546
550
  y: o.value.top + (o.value.chartHeight - o.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
547
551
  height: o.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
@@ -549,7 +553,7 @@ segments: [
549
553
  fill: e.value.style.chart.valueBar.color,
550
554
  stroke: e.value.style.chart.valueBar.stroke,
551
555
  "stroke-width": e.value.style.chart.valueBar.strokeWidth
552
- }, null, 8, Ft),
556
+ }, null, 8, St),
553
557
  e.value.style.chart.valueBar.label.show ? (s(), n("text", {
554
558
  key: 1,
555
559
  x: o.value.left + y.value.value.width,
@@ -567,7 +571,7 @@ segments: [
567
571
  s: e.value.style.chart.segments.dataLabels.suffix,
568
572
  r: e.value.style.chart.segments.dataLabels.rounding
569
573
  })
570
- )), 9, Ot)) : c("", !0),
574
+ )), 9, Dt)) : c("", !0),
571
575
  e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (s(), n("rect", {
572
576
  key: 2,
573
577
  x: y.value.target.x,
@@ -579,8 +583,8 @@ segments: [
579
583
  stroke: e.value.style.chart.target.stroke,
580
584
  "stroke-width": e.value.style.chart.target.strokeWidth,
581
585
  style: { transition: "x 0.3s ease-in-out" }
582
- }, null, 8, St)) : c("", !0),
583
- e.value.style.chart.segments.dataLabels.show ? (s(), n("g", Dt, [
586
+ }, null, 8, Et)) : c("", !0),
587
+ e.value.style.chart.segments.dataLabels.show ? (s(), n("g", It, [
584
588
  (s(!0), n(G, null, q(y.value.ticks, (a) => (s(), n("text", {
585
589
  x: a.x,
586
590
  y: a.y,
@@ -597,9 +601,9 @@ segments: [
597
601
  s: e.value.style.chart.segments.dataLabels.suffix,
598
602
  r: e.value.style.chart.segments.dataLabels.rounding
599
603
  })
600
- )), 9, Et))), 256))
604
+ )), 9, Tt))), 256))
601
605
  ])) : c("", !0),
602
- e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (s(), n("g", It, [
606
+ e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (s(), n("g", Pt, [
603
607
  (s(!0), n(G, null, q(y.value.ticks, (a) => (s(), n("line", {
604
608
  x1: a.x,
605
609
  x2: a.x,
@@ -608,35 +612,35 @@ segments: [
608
612
  stroke: e.value.style.chart.segments.ticks.stroke,
609
613
  "stroke-width": 1,
610
614
  "stroke-linecap": "round"
611
- }, null, 8, Tt))), 256))
615
+ }, null, 8, Mt))), 256))
612
616
  ])) : c("", !0)
613
617
  ])) : c("", !0),
614
618
  v(t.$slots, "svg", { svg: o.value }, void 0, !0)
615
- ], 14, Bt)),
616
- t.$slots.watermark ? (s(), n("div", Pt, [
619
+ ], 14, _t)),
620
+ t.$slots.watermark ? (s(), n("div", zt, [
617
621
  v(t.$slots, "watermark", b(p({ isPrinting: r(re) || r(ne) })), void 0, !0)
618
622
  ])) : c("", !0),
619
- $("div", {
623
+ L("div", {
620
624
  id: `legend-bottom-${A.value}`
621
- }, null, 8, Mt),
622
- Z.value ? (s(), _(Ze, {
625
+ }, null, 8, Ht),
626
+ Z.value ? (s(), _(tt, {
623
627
  key: 5,
624
628
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
625
629
  }, [
626
- $("div", {
630
+ L("div", {
627
631
  ref_key: "chartLegend",
628
632
  ref: K
629
633
  }, [
630
- e.value.style.chart.legend.show ? (s(), _(yt, {
634
+ e.value.style.chart.legend.show ? (s(), _(pt, {
631
635
  key: 0,
632
636
  clickable: !1,
633
637
  legendSet: U.value,
634
- config: Me.value
638
+ config: He.value
635
639
  }, {
636
640
  item: f(({ legend: a }) => [
637
- r(B) ? c("", !0) : (s(), n("div", zt, [
638
- $("span", Ht, T(a.name) + ":", 1),
639
- $("span", null, T(a.value), 1)
641
+ r(B) ? c("", !0) : (s(), n("div", Nt, [
642
+ L("span", Rt, T(a.name) + ":", 1),
643
+ L("span", null, T(a.value), 1)
640
644
  ]))
641
645
  ]),
642
646
  _: 1
@@ -652,15 +656,15 @@ segments: [
652
656
  }, [
653
657
  v(t.$slots, "source", {}, void 0, !0)
654
658
  ], 512)) : c("", !0),
655
- r(B) ? (s(), _(ht, { key: 7 })) : c("", !0)
656
- ], 46, Ct));
659
+ r(B) ? (s(), _(gt, { key: 7 })) : c("", !0)
660
+ ], 46, wt));
657
661
  }
658
- }, Rt = /* @__PURE__ */ kt(Nt, [["__scopeId", "data-v-7902e6f9"]]), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
662
+ }, Wt = /* @__PURE__ */ At(Ut, [["__scopeId", "data-v-7902e6f9"]]), sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
659
663
  __proto__: null,
660
- default: Rt
664
+ default: Wt
661
665
  }, Symbol.toStringTag, { value: "Module" }));
662
666
  export {
663
- aa as a,
664
- la as b,
665
- Rt as v
667
+ oa as a,
668
+ sa as b,
669
+ Wt as v
666
670
  };