vue-data-ui 3.25.5 → 3.25.6

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 (210) hide show
  1. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  2. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  3. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  4. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  5. package/dist/{ColorPicker-Bn3MY7eL.js → ColorPicker-CUy15T72.js} +1 -1
  6. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  7. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  8. package/dist/{NonSvgPenAndPaper-KXRhcsxM.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  9. package/dist/{PackageVersion-M2Ws-VwJ.js → PackageVersion-ur6jKRL5.js} +1 -1
  10. package/dist/{PenAndPaper-BgH3m_LP.js → PenAndPaper-KFzKlvbi.js} +2 -2
  11. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  12. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-bump.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dag.js +1 -1
  26. package/dist/components/vue-ui-dashboard.js +1 -1
  27. package/dist/components/vue-ui-digits.js +1 -1
  28. package/dist/components/vue-ui-donut-evolution.js +1 -1
  29. package/dist/components/vue-ui-donut.js +1 -1
  30. package/dist/components/vue-ui-dumbbell.js +1 -1
  31. package/dist/components/vue-ui-flow.js +1 -1
  32. package/dist/components/vue-ui-funnel.js +1 -1
  33. package/dist/components/vue-ui-galaxy.js +1 -1
  34. package/dist/components/vue-ui-gauge.js +1 -1
  35. package/dist/components/vue-ui-geo.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-hill.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-label.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-stackline.js +1 -1
  68. package/dist/components/vue-ui-strip-plot.js +1 -1
  69. package/dist/components/vue-ui-table-heatmap.js +1 -1
  70. package/dist/components/vue-ui-table-sparkline.js +1 -1
  71. package/dist/components/vue-ui-table.js +1 -1
  72. package/dist/components/vue-ui-thermometer.js +1 -1
  73. package/dist/components/vue-ui-timer.js +1 -1
  74. package/dist/components/vue-ui-tiremarks.js +1 -1
  75. package/dist/components/vue-ui-treemap.js +1 -1
  76. package/dist/components/vue-ui-vertical-bar.js +1 -1
  77. package/dist/components/vue-ui-waffle.js +1 -1
  78. package/dist/components/vue-ui-wheel.js +1 -1
  79. package/dist/components/vue-ui-word-cloud.js +1 -1
  80. package/dist/components/vue-ui-world.js +1 -1
  81. package/dist/components/vue-ui-xy-canvas.js +1 -1
  82. package/dist/components/vue-ui-xy.js +1 -1
  83. package/dist/{package-ta2JoIjx.js → package-Dx7M6sYy.js} +1 -1
  84. package/dist/{render-common-bvOuxfN3.js → render-common-DETHvNhl.js} +1 -1
  85. package/dist/ssr/vue-ui-donut.js +1 -1
  86. package/dist/ssr/vue-ui-xy.js +1 -1
  87. package/dist/ssr.js +2 -2
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +10 -0
  90. package/dist/{useConfig-C_mX5pOZ.js → useConfig-CIQZ6_r7.js} +11 -1
  91. package/dist/{useObjectBindings-uXpBcVyo.js → useObjectBindings---mHNfbS.js} +2 -2
  92. package/dist/utils.js +1 -1
  93. package/dist/{vue-data-ui-BjdCpsRV.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  94. package/dist/vue-data-ui.js +71 -71
  95. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  96. package/dist/{vue-ui-accordion-DRf3NQyH.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  97. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  98. package/dist/{vue-ui-annotator-DZ0O8Xa5.js → vue-ui-annotator-CTQHAPho.js} +676 -676
  99. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  100. package/dist/{vue-ui-bump-DoHnD1Xy.js → vue-ui-bump-DhwySwgn.js} +380 -380
  101. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  102. package/dist/{vue-ui-carousel-table-k1cBJ1i1.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  103. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  104. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  105. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  106. package/dist/{vue-ui-cursor-CQWLyEx0.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  107. package/dist/{vue-ui-dag-BqlsutMj.js → vue-ui-dag-C_inEafb.js} +792 -792
  108. package/dist/{vue-ui-dashboard-Be3MmkgS.js → vue-ui-dashboard-Bs2mBur5.js} +67 -67
  109. package/dist/{vue-ui-digits-BqdfbcKX.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  110. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  111. package/dist/{vue-ui-donut-gzGZ42uH.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  112. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  113. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  114. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  115. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  116. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  117. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  118. package/dist/{vue-ui-geo-Ca8kPYr-.js → vue-ui-geo-DXIHhp-G.js} +429 -429
  119. package/dist/{vue-ui-gizmo-wUqHJICb.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  120. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  121. package/dist/{vue-ui-hill-D6Y9Xy2K.js → vue-ui-hill-DqsVJkmO.js} +470 -470
  122. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  123. package/dist/{vue-ui-horizontal-bar-3on3-H3B.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +511 -511
  124. package/dist/{vue-ui-kpi-CUpRRIUf.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  125. package/dist/{vue-ui-label-DR2qUZOG.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  126. package/dist/{vue-ui-mini-loader-D8W-fERs.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  127. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  128. package/dist/{vue-ui-mood-radar-TW251icr.js → vue-ui-mood-radar-Dd1qfUiu.js} +376 -376
  129. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  130. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  131. package/dist/{vue-ui-parallel-coordinate-plot-RM25bxtf.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +407 -407
  132. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  133. package/dist/{vue-ui-quick-chart-Cswm3_eI.js → vue-ui-quick-chart-BZq517pL.js} +4 -4
  134. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  135. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  136. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  137. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  138. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  139. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  140. package/dist/{vue-ui-skeleton-D_u8EWeW.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  141. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  142. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  143. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  144. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  145. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  146. package/dist/{vue-ui-sparkline-9qkNNZG6.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  147. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  148. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  149. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  150. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  151. package/dist/{vue-ui-table-heatmap-XmDK1aHJ.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  152. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  153. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  154. package/dist/{vue-ui-thermometer-CLx3SPRv.js → vue-ui-thermometer-D0_KsB-y.js} +192 -192
  155. package/dist/{vue-ui-timer-BDWUNb6t.js → vue-ui-timer-1Z2zginj.js} +153 -153
  156. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  157. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  158. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  159. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  160. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  161. package/dist/{vue-ui-world-C2atz4Xm.js → vue-ui-world-BOBHo7-L.js} +524 -524
  162. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  163. package/dist/{vue-ui-xy-CpA0W6zM.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  164. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  165. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  166. package/package.json +1 -1
  167. package/dist/vue-ui-3d-bar-C0aLR6lw.js +0 -1831
  168. package/dist/vue-ui-age-pyramid-DUcB3lYs.js +0 -1243
  169. package/dist/vue-ui-bullet-DIOCMF2H.js +0 -702
  170. package/dist/vue-ui-candlestick-Cf8TYPl5.js +0 -1859
  171. package/dist/vue-ui-chestnut-BMAuaeif.js +0 -2016
  172. package/dist/vue-ui-chord-DCe2iPjk.js +0 -1347
  173. package/dist/vue-ui-circle-pack-Eb5hS_z3.js +0 -1635
  174. package/dist/vue-ui-donut-CuQVKuZa.js +0 -2415
  175. package/dist/vue-ui-donut-evolution-DckruxZ9.js +0 -1552
  176. package/dist/vue-ui-dumbbell-BYU-hh2E.js +0 -1531
  177. package/dist/vue-ui-flow-DLRcNDLc.js +0 -1217
  178. package/dist/vue-ui-funnel-DjoqNN1U.js +0 -749
  179. package/dist/vue-ui-galaxy-BhR4IOra.js +0 -1085
  180. package/dist/vue-ui-gauge-Cq161Kwp.js +0 -934
  181. package/dist/vue-ui-heatmap-Bl5ymvi9.js +0 -1555
  182. package/dist/vue-ui-history-plot-CvVjsdCL.js +0 -1698
  183. package/dist/vue-ui-molecule-BExVLLgE.js +0 -929
  184. package/dist/vue-ui-nested-donuts-CWzJKr3S.js +0 -1503
  185. package/dist/vue-ui-onion-VaYZQK5i.js +0 -1235
  186. package/dist/vue-ui-quadrant-Dmtwow7n.js +0 -1967
  187. package/dist/vue-ui-radar-C3GYthqu.js +0 -1374
  188. package/dist/vue-ui-rating-CBdDXL80.js +0 -359
  189. package/dist/vue-ui-relation-circle-BA0qy0kp.js +0 -905
  190. package/dist/vue-ui-ridgeline-C5skjBTe.js +0 -1630
  191. package/dist/vue-ui-rings-BJ8yEQMw.js +0 -1252
  192. package/dist/vue-ui-scatter-DXg8ESgr.js +0 -2405
  193. package/dist/vue-ui-smiley-DQOp87rr.js +0 -376
  194. package/dist/vue-ui-spark-trend-CjCufXof.js +0 -457
  195. package/dist/vue-ui-sparkbar-BniEM15a.js +0 -401
  196. package/dist/vue-ui-sparkgauge-BtyCrqTQ.js +0 -268
  197. package/dist/vue-ui-sparkhistogram-DQdn3PW1.js +0 -589
  198. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +0 -738
  199. package/dist/vue-ui-stackbar-CkjicNDv.js +0 -2355
  200. package/dist/vue-ui-stackline-BB1IZta8.js +0 -2469
  201. package/dist/vue-ui-strip-plot-DGLGuH6e.js +0 -1740
  202. package/dist/vue-ui-table-BXz_HY2g.js +0 -1352
  203. package/dist/vue-ui-table-sparkline-MTEw3imE.js +0 -738
  204. package/dist/vue-ui-tiremarks-DoaypTC-.js +0 -540
  205. package/dist/vue-ui-treemap-Bv7PgpiC.js +0 -1733
  206. package/dist/vue-ui-waffle-z2DhvSAx.js +0 -1621
  207. package/dist/vue-ui-wheel-DYLBJuFb.js +0 -873
  208. package/dist/vue-ui-word-cloud-CbpEhSdL.js +0 -1710
  209. package/dist/vue-ui-xy-B3DQ6t46.js +0 -5283
  210. package/dist/vue-ui-xy-canvas-CJefORWc.js +0 -1824
@@ -1,702 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Pt as t, S as n, X as r, Zt as i, _ as a, ht as ee, i as o, jt as te, nt as ne, q as re, t as ie } from "./lib-Dql7cqyA.js";
3
- import { n as ae } from "./useHints-Dq_w2E8B.js";
4
- import { t as oe } from "./useConfig-C_mX5pOZ.js";
5
- import { t as se } from "./usePrinter-DISD7q5m.js";
6
- import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as s } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as de } from "./useChartExport-iwOqiIWX.js";
10
- import { t as fe } from "./img-DhGApYG0.js";
11
- import { n as pe } from "./Title-CPHi-evi.js";
12
- import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as he, t as ge } from "./useResponsive-ZtArZtUf.js";
14
- import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
15
- import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as ye } from "./Legend-X4kF4PvW.js";
17
- import { t as be } from "./vue_ui_bullet-ClzdLoOv.js";
18
- import { Fragment as c, Teleport as xe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Se, createVNode as Ce, defineAsyncComponent as m, guardReactiveProps as h, normalizeClass as we, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Te, onMounted as Ee, openBlock as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, toRefs as De, unref as C, watch as Oe, withCtx as w } from "vue";
19
- //#region src/components/vue-ui-bullet.vue
20
- var T = /* @__PURE__ */ e({ default: () => E }), ke = ["id"], Ae = {
21
- key: 1,
22
- ref: "noTitle",
23
- class: "vue-data-ui-no-title-space",
24
- style: "height:36px; width: 100%;background:transparent"
25
- }, je = ["id"], Me = [
26
- "xmlns",
27
- "viewBox",
28
- "aria-labelledby",
29
- "aria-describedby"
30
- ], Ne = ["id"], Pe = ["id"], Fe = ["width", "height"], Ie = { key: 1 }, Le = [
31
- "x",
32
- "y",
33
- "height",
34
- "width",
35
- "fill",
36
- "stroke"
37
- ], Re = [
38
- "x",
39
- "y",
40
- "height",
41
- "width",
42
- "rx",
43
- "fill",
44
- "stroke",
45
- "stroke-width"
46
- ], ze = [
47
- "x",
48
- "y",
49
- "height",
50
- "width",
51
- "fill",
52
- "stroke",
53
- "stroke-width"
54
- ], Be = [
55
- "x",
56
- "y",
57
- "font-size",
58
- "font-weight",
59
- "fill"
60
- ], Ve = [
61
- "x",
62
- "y",
63
- "height",
64
- "width",
65
- "rx",
66
- "fill",
67
- "stroke",
68
- "stroke-width"
69
- ], He = { key: 3 }, Ue = [
70
- "x",
71
- "y",
72
- "fill",
73
- "font-size",
74
- "font-weight"
75
- ], We = { key: 4 }, Ge = [
76
- "x1",
77
- "x2",
78
- "y1",
79
- "y2",
80
- "stroke"
81
- ], Ke = {
82
- key: 4,
83
- class: "vue-data-ui-watermark"
84
- }, qe = ["id"], Je = {
85
- key: 0,
86
- class: "vue-ui-bullet-legend-item",
87
- dir: "auto"
88
- }, Ye = { style: { "margin-right": "2px" } }, E = /*#__PURE__*/ me({
89
- __name: "vue-ui-bullet",
90
- props: {
91
- config: {
92
- type: Object,
93
- default() {
94
- return {};
95
- }
96
- },
97
- dataset: {
98
- type: Object,
99
- default() {
100
- return {};
101
- }
102
- }
103
- },
104
- emits: ["copyAlt"],
105
- setup(e, { expose: me, emit: T }) {
106
- let E = m(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), Xe = m(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), Ze = m(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), { vue_ui_bullet: Qe } = oe(), { isThemeValid: $e, warnInvalidTheme: et } = ue(), D = e, tt = T, O = y(null), nt = y(null), rt = y(0), it = y(null), k = y(null), at = y(0), A = y(null), j = y(null), ot = y(!1), M = l({
107
- get: () => z.value.hasOwnProperty("value"),
108
- set: (e) => e
109
- }), N = y(L()), P = l(() => N.value.debug), F = l(() => z.value.segments ? Array.isArray(z.value.segments) ? z.value.segments.length ? !0 : (P.value && console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ]\n "), M.value = !1, !1) : (P.value && console.warn("VueUiBullet: dataset segments must be an array of objects with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ] \n "), M.value = !1, !1) : (P.value && console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\n segments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n ]\n "), M.value = !1, !1)), st = l(() => {
110
- let { top: e, right: t, bottom: n, left: r } = N.value.style.chart.padding;
111
- return {
112
- top: e,
113
- right: t,
114
- bottom: n,
115
- left: r
116
- };
117
- });
118
- function ct() {
119
- if (t(z.value) ? (ne({
120
- componentName: "VueUiBullet",
121
- type: "dataset",
122
- debug: P.value
123
- }), B.value = !0) : F.value ? z.value.segments.forEach((e, t) => {
124
- ee({
125
- datasetObject: e,
126
- requiredAttributes: [
127
- "name",
128
- "from",
129
- "to"
130
- ]
131
- }).forEach((e) => {
132
- M.value = !1, ne({
133
- componentName: "VueUiBullet segment",
134
- type: "datasetSerieAttribute",
135
- property: e,
136
- index: t,
137
- debug: P.value
138
- });
139
- });
140
- }) : (M.value = !1, B.value = !0), t(z.value) || (B.value = N.value.loading), N.value.responsive) {
141
- let e = he(() => {
142
- let { width: e, height: t } = ge({
143
- chart: O.value,
144
- title: N.value.style.chart.title.text ? nt.value : null,
145
- legend: N.value.style.chart.legend.show ? it.value : null,
146
- source: k.value,
147
- padding: st.value
148
- }), n = (N.value.style.chart.legend.show ? 24 : 0) || 12;
149
- requestAnimationFrame(() => {
150
- U.value.width = e, U.value.height = t - n;
151
- });
152
- });
153
- A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = O.value.parentNode, A.value.observe(j.value);
154
- }
155
- N.value.style.chart.animation.show && !R.value && vt(z.value.value || 0);
156
- }
157
- Ee(() => {
158
- ot.value = !0, ct();
159
- });
160
- let I = y(re());
161
- function L() {
162
- let e = s({
163
- userConfig: D.config,
164
- defaultConfig: Qe
165
- }), t = e.theme;
166
- if (!t) return e;
167
- if (!$e.value(e)) return et(e), e;
168
- let n = s({
169
- userConfig: be[t] || D.config,
170
- defaultConfig: e
171
- });
172
- return s({
173
- userConfig: D.config,
174
- defaultConfig: n
175
- });
176
- }
177
- ae({
178
- config: () => N.value,
179
- dataset: () => D.dataset,
180
- component: "VueUiBullet",
181
- rules: [{
182
- test: (e) => e?.segments && e?.segments.length > 8,
183
- message: [
184
- "👀 The number of target segments is > 8, which can make the chart hard to read and a large legend. Consider:",
185
- "",
186
- "▶️ Using broader segments."
187
- ]
188
- }]
189
- });
190
- let lt = l(() => N.value.userOptions.useCursorPointer), ut = l(() => i({
191
- defaultConfig: {
192
- userOptions: { show: !1 },
193
- style: { chart: {
194
- backgroundColor: "#99999930",
195
- segments: {
196
- dataLabels: { show: !1 },
197
- ticks: { stroke: "#8A8A8A" }
198
- },
199
- valueBar: { label: { show: !1 } }
200
- } }
201
- },
202
- userConfig: N.value.skeletonConfig ?? {}
203
- })), { loading: R, FINAL_DATASET: z, manualLoading: B } = ce({
204
- ...De(D),
205
- FINAL_CONFIG: N,
206
- prepareConfig: L,
207
- skeletonDataset: D.config?.skeletonDataset ?? {
208
- value: 100,
209
- target: 100,
210
- segments: [
211
- {
212
- name: "",
213
- from: 0,
214
- to: 33,
215
- color: "#AAAAAA"
216
- },
217
- {
218
- name: "",
219
- from: 33,
220
- to: 66,
221
- color: "#BABABA"
222
- },
223
- {
224
- name: "",
225
- from: 66,
226
- to: 100,
227
- color: "#CACACA"
228
- }
229
- ]
230
- },
231
- skeletonConfig: i({
232
- defaultConfig: N.value,
233
- userConfig: ut.value
234
- })
235
- }), { userOptionsVisible: V, setUserOptionsVisibility: dt, keepUserOptionState: ft } = _e({ config: N.value }), { svgRef: H } = ve({ config: N.value.style.chart.title }), U = y({
236
- width: N.value.style.chart.width,
237
- height: N.value.style.chart.height
238
- }), pt = l(() => U.value.width), mt = l(() => U.value.height);
239
- Oe(() => D.config, (e) => {
240
- R.value || (N.value = L()), V.value = !N.value.userOptions.showOnChartHover, U.value.width = N.value.style.chart.width, U.value.height = N.value.style.chart.height, ct(), rt.value += 1;
241
- }, { deep: !0 });
242
- let W = l(() => {
243
- let e = mt.value, t = pt.value, n = N.value.style.chart.padding.left, r = t - N.value.style.chart.padding.right, i = N.value.style.chart.padding.top, a = e - N.value.style.chart.padding.bottom;
244
- return {
245
- height: Math.max(.001, e),
246
- width: Math.max(.001, t),
247
- left: n,
248
- right: r,
249
- top: i,
250
- bottom: a,
251
- chartWidth: Math.max(.001, r - n),
252
- chartHeight: Math.max(.001, a - i)
253
- };
254
- }), ht = l(() => {
255
- if (!F.value) return [];
256
- let e = [];
257
- for (let t = 0; t < z.value.segments.length; t += 1) e.push(te(N.value.style.chart.segments.baseColor, t / z.value.segments.length));
258
- return e;
259
- }), G = l(() => F.value ? {
260
- min: Math.min(...z.value.segments.map((e) => e.from)),
261
- max: Math.max(...z.value.segments.map((e) => e.to))
262
- } : {
263
- min: 0,
264
- max: 1
265
- }), K = y(gt());
266
- Oe(() => z.value, (e) => {
267
- e.hasOwnProperty("value") && (B.value = !1), N.value.style.chart.animation.show && !R.value ? vt(e.value || 0) : K.value = e.value || 0;
268
- }, { deep: !0 });
269
- function gt() {
270
- return N.value.style.chart.animation.show && !R.value ? G.value.min : z.value.value || 0;
271
- }
272
- let _t = y(null);
273
- function vt(e) {
274
- let t = Math.abs(e - K.value) / N.value.style.chart.animation.animationFrames;
275
- function n() {
276
- K.value < e ? K.value = Math.min(K.value + t, e) : K.value > e && (K.value = Math.max(K.value - t, e)), K.value !== e && (_t.value = requestAnimationFrame(n));
277
- }
278
- n();
279
- }
280
- Te(() => {
281
- cancelAnimationFrame(_t.value);
282
- });
283
- let q = l(() => {
284
- if (!F.value) return [];
285
- let e = a(G.value.min, G.value.max, N.value.style.chart.segments.ticks.divisions), t = e.min >= 0 ? 0 : Math.abs(e.min);
286
- return {
287
- scale: e,
288
- target: { x: W.value.left + (z.value.target + t) / (e.max + t) * W.value.chartWidth - N.value.style.chart.target.width / 2 },
289
- value: { width: (K.value + t) / (e.max + t) * W.value.chartWidth },
290
- ticks: e.ticks.map((n) => ({
291
- value: n,
292
- y: W.value.bottom + N.value.style.chart.segments.dataLabels.fontSize + 3 + N.value.style.chart.segments.dataLabels.offsetY,
293
- x: W.value.left + (n + t) / (e.max + t) * W.value.chartWidth
294
- })),
295
- chunks: z.value.segments.map((r, i) => ({
296
- ...r,
297
- color: r.color ? n(r.color) : ht.value[i],
298
- x: W.value.left + W.value.chartWidth * ((r.from + t) / (e.max + t)),
299
- y: W.value.top,
300
- height: W.value.chartHeight,
301
- width: W.value.chartWidth * (Math.abs(r.to - r.from) / (e.max + t))
302
- }))
303
- };
304
- }), J = l(() => !q.value || !q.value.chunks || !q.value.chunks.length ? [] : q.value.chunks.map((e) => {
305
- let t = `${o(N.value.style.chart.segments.dataLabels.formatter, e.from, r({
306
- p: N.value.style.chart.segments.dataLabels.prefix,
307
- v: e.from,
308
- s: N.value.style.chart.segments.dataLabels.suffix,
309
- r: N.value.style.chart.segments.dataLabels.rounding
310
- }))} — ${o(N.value.style.chart.segments.dataLabels.formatter, e.to, r({
311
- p: N.value.style.chart.segments.dataLabels.prefix,
312
- v: e.to,
313
- s: N.value.style.chart.segments.dataLabels.suffix,
314
- r: N.value.style.chart.segments.dataLabels.rounding
315
- }))}`;
316
- return {
317
- ...e,
318
- shape: "square",
319
- value: t,
320
- display: `${e.name}: ${t}`
321
- };
322
- })), yt = l(() => ({
323
- cy: "bullet-div-legend",
324
- backgroundColor: "transparent",
325
- color: N.value.style.chart.legend.color,
326
- fontSize: N.value.style.chart.legend.fontSize,
327
- paddingBottom: 6,
328
- fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
329
- })), { isPrinting: Y, isImaging: X, generatePdf: bt, generateImage: xt } = se({
330
- elementId: `bullet_${I.value}`,
331
- fileName: N.value.style.chart.title.text || "vue-ui-bullet",
332
- options: N.value.userOptions.print
333
- }), St = l(() => N.value.userOptions.show && !N.value.style.chart.title.text), Z = y(!1);
334
- function Ct(e) {
335
- Z.value = e, at.value += 1;
336
- }
337
- function wt() {
338
- return q.value;
339
- }
340
- let Q = y(!1);
341
- function $() {
342
- Q.value = !Q.value;
343
- }
344
- async function Tt({ scale: e = 2 } = {}) {
345
- if (!O.value) return;
346
- let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
347
- domElement: O.value,
348
- base64: !0,
349
- img: !0,
350
- scale: e
351
- });
352
- return {
353
- imageUri: i,
354
- base64: a,
355
- title: N.value.style.chart.title.text,
356
- width: t,
357
- height: n,
358
- aspectRatio: r
359
- };
360
- }
361
- let Et = l(() => J.value.map((e) => ({
362
- ...e,
363
- name: e.display
364
- }))), Dt = l(() => N.value.style.chart.backgroundColor), Ot = l(() => N.value.style.chart.legend), kt = l(() => N.value.style.chart.title), { isCallbackImaging: At, isCallbackSvg: jt, generateSvg: Mt, onGenerateImage: Nt } = de({
365
- svg: H,
366
- title: kt,
367
- legend: Ot,
368
- legendItems: Et,
369
- backgroundColor: Dt,
370
- getSvgCallback: () => N.value.userOptions.callbacks.svg,
371
- generateImage: xt
372
- });
373
- async function Pt() {
374
- if (tt("copyAlt", {
375
- config: N.value,
376
- dataset: z.value
377
- }), !N.value.userOptions.callbacks.altCopy) {
378
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
379
- return;
380
- }
381
- await Promise.resolve(N.value.userOptions.callbacks.altCopy({
382
- config: N.value,
383
- dataset: z.value
384
- }));
385
- }
386
- return me({
387
- getData: wt,
388
- getImage: Tt,
389
- generatePdf: bt,
390
- generateImage: xt,
391
- generateSvg: Mt,
392
- toggleAnnotator: $,
393
- toggleFullscreen: Ct,
394
- copyAlt: Pt
395
- }), (e, t) => (v(), f("div", {
396
- ref_key: "bulletChart",
397
- ref: O,
398
- class: we(`vue-data-ui-component vue-ui-bullet ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
399
- style: _(`font-family:${N.value.style.fontFamily};width:100%;background:${N.value.style.chart.backgroundColor};${N.value.responsive ? "height:100%" : ""}`),
400
- id: `bullet_${I.value}`,
401
- onMouseenter: t[0] ||= () => C(dt)(!0),
402
- onMouseleave: t[1] ||= () => C(dt)(!1)
403
- }, [
404
- N.value.userOptions.buttons.annotator ? (v(), u(C(Xe), {
405
- key: 0,
406
- svgRef: C(H),
407
- backgroundColor: N.value.style.chart.backgroundColor,
408
- color: N.value.style.chart.color,
409
- active: Q.value,
410
- isCursorPointer: lt.value,
411
- palette: N.value.userOptions.annotatorPalette,
412
- onClose: $
413
- }, {
414
- "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
415
- "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
416
- "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
417
- "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
418
- "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
419
- "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
420
- _: 3
421
- }, 8, [
422
- "svgRef",
423
- "backgroundColor",
424
- "color",
425
- "active",
426
- "isCursorPointer",
427
- "palette"
428
- ])) : d("", !0),
429
- St.value ? (v(), f("div", Ae, null, 512)) : d("", !0),
430
- N.value.style.chart.title.text ? (v(), f("div", {
431
- key: 2,
432
- ref_key: "chartTitle",
433
- ref: nt,
434
- style: "width:100%;background:transparent;"
435
- }, [(v(), u(pe, {
436
- lineHeight: "1.3rem",
437
- key: `title_${rt.value}`,
438
- config: {
439
- title: {
440
- cy: "bullet-div-title",
441
- ...N.value.style.chart.title
442
- },
443
- subtitle: {
444
- cy: "bullet-div-subtitle",
445
- ...N.value.style.chart.title.subtitle
446
- }
447
- }
448
- }, null, 8, ["config"]))], 512)) : d("", !0),
449
- p("div", { id: `legend-top-${I.value}` }, null, 8, je),
450
- N.value.userOptions.show && M.value && (C(ft) || C(V)) ? (v(), u(C(Ze), {
451
- key: 3,
452
- ref: "details",
453
- backgroundColor: N.value.style.chart.backgroundColor,
454
- color: N.value.style.chart.color,
455
- isPrinting: C(Y),
456
- isImaging: C(X),
457
- uid: I.value,
458
- hasTooltip: !1,
459
- hasPdf: N.value.userOptions.buttons.pdf,
460
- hasImg: N.value.userOptions.buttons.img,
461
- hasSvg: N.value.userOptions.buttons.svg,
462
- hasXls: !1,
463
- hasTable: !1,
464
- hasLabel: !1,
465
- hasFullscreen: N.value.userOptions.buttons.fullscreen,
466
- hasAltCopy: N.value.userOptions.buttons.altCopy,
467
- isFullscreen: Z.value,
468
- chartElement: O.value,
469
- position: N.value.userOptions.position,
470
- titles: { ...N.value.userOptions.buttonTitles },
471
- hasAnnotator: N.value.userOptions.buttons.annotator,
472
- isAnnotation: Q.value,
473
- callbacks: N.value.userOptions.callbacks,
474
- printScale: N.value.userOptions.print.scale,
475
- isCursorPointer: lt.value,
476
- onToggleFullscreen: Ct,
477
- onGeneratePdf: C(bt),
478
- onGenerateImage: C(Nt),
479
- onGenerateSvg: C(Mt),
480
- onToggleAnnotator: $,
481
- onCopyAlt: Pt,
482
- style: _({ visibility: C(ft) ? C(V) ? "visible" : "hidden" : "visible" })
483
- }, Se({ _: 2 }, [
484
- e.$slots.menuIcon ? {
485
- name: "menuIcon",
486
- fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", g(h({
487
- isOpen: t,
488
- color: n
489
- })), void 0, !0)]),
490
- key: "0"
491
- } : void 0,
492
- e.$slots.optionPdf ? {
493
- name: "optionPdf",
494
- fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
495
- key: "1"
496
- } : void 0,
497
- e.$slots.optionImg ? {
498
- name: "optionImg",
499
- fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
500
- key: "2"
501
- } : void 0,
502
- e.$slots.optionSvg ? {
503
- name: "optionSvg",
504
- fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
505
- key: "3"
506
- } : void 0,
507
- e.$slots.optionFullscreen ? {
508
- name: "optionFullscreen",
509
- fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", g(h({
510
- toggleFullscreen: t,
511
- isFullscreen: n
512
- })), void 0, !0)]),
513
- key: "4"
514
- } : void 0,
515
- e.$slots.optionAnnotator ? {
516
- name: "optionAnnotator",
517
- fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", g(h({
518
- toggleAnnotator: t,
519
- isAnnotator: n
520
- })), void 0, !0)]),
521
- key: "5"
522
- } : void 0,
523
- e.$slots.optionAltCopy ? {
524
- name: "optionAltCopy",
525
- fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
526
- key: "6"
527
- } : void 0,
528
- e.$slots["custom-menu-before"] ? {
529
- name: "custom-menu-before",
530
- fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
531
- key: "7"
532
- } : void 0,
533
- e.$slots["custom-menu-after"] ? {
534
- name: "custom-menu-after",
535
- fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
536
- key: "8"
537
- } : void 0
538
- ]), 1032, [
539
- "backgroundColor",
540
- "color",
541
- "isPrinting",
542
- "isImaging",
543
- "uid",
544
- "hasPdf",
545
- "hasImg",
546
- "hasSvg",
547
- "hasFullscreen",
548
- "hasAltCopy",
549
- "isFullscreen",
550
- "chartElement",
551
- "position",
552
- "titles",
553
- "hasAnnotator",
554
- "isAnnotation",
555
- "callbacks",
556
- "printScale",
557
- "isCursorPointer",
558
- "onGeneratePdf",
559
- "onGenerateImage",
560
- "onGenerateSvg",
561
- "style"
562
- ])) : d("", !0),
563
- (v(), f("svg", {
564
- ref_key: "svgRef",
565
- ref: H,
566
- xmlns: C(ie),
567
- class: we({
568
- "vue-data-ui-fullscreen--on": Z.value,
569
- "vue-data-ui-fulscreen--off": !Z.value,
570
- "vue-ui-bullet-svg": !0
571
- }),
572
- viewBox: `0 0 ${W.value.width} ${W.value.height}`,
573
- style: _(`width: 100%; overflow: visible; background:transparent;color:${N.value.style.chart.color}`),
574
- "aria-labelledby": `bullet-svg-title-${I.value}`,
575
- "aria-describedby": `bullet-svg-desc-${I.value}`
576
- }, [
577
- Ce(C(E)),
578
- p("title", { id: `bullet-svg-title-${I.value}` }, S(N.value.style.chart.title.text || "Bullet chart"), 9, Ne),
579
- p("desc", { id: `bullet-svg-desc-${I.value}` }, " Value: " + S(K.value) + ", Target: " + S(q.value.target?.value), 9, Pe),
580
- e.$slots["chart-background"] ? (v(), f("foreignObject", {
581
- key: 0,
582
- x: 0,
583
- y: 0,
584
- width: W.value.width,
585
- height: W.value.height,
586
- style: { pointerEvents: "none" }
587
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Fe)) : d("", !0),
588
- F.value ? (v(), f("g", Ie, [
589
- (v(!0), f(c, null, b(q.value.chunks, (e) => (v(), f("rect", {
590
- x: e.x,
591
- y: e.y,
592
- height: e.height,
593
- width: e.width,
594
- fill: e.color,
595
- "stroke-width": 1,
596
- stroke: N.value.style.chart.backgroundColor,
597
- style: { transition: "x 0.3s ease-in-out, width 0.3s ease-in-out" }
598
- }, null, 8, Le))), 256)),
599
- !N.value.style.chart.target.onTop && N.value.style.chart.target.show ? (v(), f("rect", {
600
- key: 0,
601
- x: q.value.target.x,
602
- y: W.value.top + (W.value.chartHeight - W.value.chartHeight * N.value.style.chart.target.heightRatio) / 2,
603
- height: W.value.chartHeight * N.value.style.chart.target.heightRatio,
604
- width: N.value.style.chart.target.width,
605
- rx: N.value.style.chart.target.rounded ? N.value.style.chart.target.width / 2 : 0,
606
- fill: N.value.style.chart.target.color,
607
- stroke: N.value.style.chart.target.stroke,
608
- "stroke-width": N.value.style.chart.target.strokeWidth
609
- }, null, 8, Re)) : d("", !0),
610
- p("rect", {
611
- x: W.value.left,
612
- y: W.value.top + (W.value.chartHeight - W.value.chartHeight * N.value.style.chart.valueBar.heightRatio) / 2,
613
- height: W.value.chartHeight * N.value.style.chart.valueBar.heightRatio,
614
- width: q.value.value.width,
615
- fill: N.value.style.chart.valueBar.color,
616
- stroke: N.value.style.chart.valueBar.stroke,
617
- "stroke-width": N.value.style.chart.valueBar.strokeWidth
618
- }, null, 8, ze),
619
- N.value.style.chart.valueBar.label.show ? (v(), f("text", {
620
- key: 1,
621
- x: W.value.left + q.value.value.width,
622
- y: W.value.top - 6 + N.value.style.chart.valueBar.label.offsetY,
623
- "font-size": N.value.style.chart.valueBar.label.fontSize,
624
- "font-weight": N.value.style.chart.valueBar.label.bold ? "bold" : "normal",
625
- fill: N.value.style.chart.valueBar.label.color,
626
- "text-anchor": "middle"
627
- }, S(C(o)(N.value.style.chart.segments.dataLabels.formatter, K.value, C(r)({
628
- p: N.value.style.chart.segments.dataLabels.prefix,
629
- v: K.value,
630
- s: N.value.style.chart.segments.dataLabels.suffix,
631
- r: N.value.style.chart.segments.dataLabels.rounding
632
- }))), 9, Be)) : d("", !0),
633
- N.value.style.chart.target.onTop && N.value.style.chart.target.show ? (v(), f("rect", {
634
- key: 2,
635
- x: q.value.target.x,
636
- y: W.value.top + (W.value.chartHeight - W.value.chartHeight * N.value.style.chart.target.heightRatio) / 2,
637
- height: W.value.chartHeight * N.value.style.chart.target.heightRatio,
638
- width: N.value.style.chart.target.width,
639
- rx: N.value.style.chart.target.rounded ? N.value.style.chart.target.width / 2 : 0,
640
- fill: N.value.style.chart.target.color,
641
- stroke: N.value.style.chart.target.stroke,
642
- "stroke-width": N.value.style.chart.target.strokeWidth,
643
- style: { transition: "x 0.3s ease-in-out" }
644
- }, null, 8, Ve)) : d("", !0),
645
- N.value.style.chart.segments.dataLabels.show ? (v(), f("g", He, [(v(!0), f(c, null, b(q.value.ticks, (e) => (v(), f("text", {
646
- x: e.x,
647
- y: e.y,
648
- "text-anchor": "middle",
649
- fill: N.value.style.chart.segments.dataLabels.color,
650
- "font-size": N.value.style.chart.segments.dataLabels.fontSize + "px",
651
- "font-weight": N.value.style.chart.segments.dataLabels.bold ? "bold" : "normal"
652
- }, S(C(o)(N.value.style.chart.segments.dataLabels.formatter, e.value, C(r)({
653
- p: N.value.style.chart.segments.dataLabels.prefix,
654
- v: e.value,
655
- s: N.value.style.chart.segments.dataLabels.suffix,
656
- r: N.value.style.chart.segments.dataLabels.rounding
657
- }))), 9, Ue))), 256))])) : d("", !0),
658
- N.value.style.chart.segments.dataLabels.show && N.value.style.chart.segments.ticks.show ? (v(), f("g", We, [(v(!0), f(c, null, b(q.value.ticks, (e) => (v(), f("line", {
659
- x1: e.x,
660
- x2: e.x,
661
- y1: W.value.bottom,
662
- y2: W.value.bottom + 3,
663
- stroke: N.value.style.chart.segments.ticks.stroke,
664
- "stroke-width": 1,
665
- "stroke-linecap": "round"
666
- }, null, 8, Ge))), 256))])) : d("", !0)
667
- ])) : d("", !0),
668
- x(e.$slots, "svg", { svg: {
669
- ...W.value,
670
- isPrintingImg: C(Y) || C(X) || C(At),
671
- isPrintingSvg: C(jt)
672
- } }, void 0, !0)
673
- ], 14, Me)),
674
- e.$slots.watermark ? (v(), f("div", Ke, [x(e.$slots, "watermark", g(h({ isPrinting: C(Y) || C(X) || C(At) || C(jt) })), void 0, !0)])) : d("", !0),
675
- p("div", { id: `legend-bottom-${I.value}` }, null, 8, qe),
676
- ot.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (v(), u(xe, {
677
- key: 5,
678
- to: N.value.style.chart.legend.position === "top" ? `#legend-top-${I.value}` : `#legend-bottom-${I.value}`
679
- }, [p("div", {
680
- ref_key: "chartLegend",
681
- ref: it
682
- }, [x(e.$slots, "legend", { legend: J.value }, () => [N.value.style.chart.legend.show ? (v(), u(ye, {
683
- key: 0,
684
- clickable: !1,
685
- legendSet: J.value,
686
- config: yt.value
687
- }, {
688
- item: w(({ legend: e }) => [C(R) ? d("", !0) : (v(), f("div", Je, [p("span", Ye, S(e.name) + ":", 1), p("span", null, S(e.value), 1)]))]),
689
- _: 1
690
- }, 8, ["legendSet", "config"])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
691
- e.$slots.source ? (v(), f("div", {
692
- key: 6,
693
- ref_key: "source",
694
- ref: k,
695
- dir: "auto"
696
- }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
697
- x(e.$slots, "skeleton", {}, () => [C(R) ? (v(), u(le, { key: 0 })) : d("", !0)], !0)
698
- ], 46, ke));
699
- }
700
- }, [["__scopeId", "data-v-3017c2ae"]]);
701
- //#endregion
702
- export { T as n, E as t };