vue-data-ui 3.25.4 → 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 (213) hide show
  1. package/README.md +13 -13
  2. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  3. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  4. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  5. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  6. package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
  7. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  8. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  9. package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  10. package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
  11. package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
  12. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  13. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-hill.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-label.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +1 -1
  47. package/dist/components/vue-ui-mood-radar.js +1 -1
  48. package/dist/components/vue-ui-nested-donuts.js +1 -1
  49. package/dist/components/vue-ui-onion.js +1 -1
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +1 -1
  52. package/dist/components/vue-ui-quick-chart.js +1 -1
  53. package/dist/components/vue-ui-radar.js +1 -1
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +1 -1
  56. package/dist/components/vue-ui-ridgeline.js +1 -1
  57. package/dist/components/vue-ui-rings.js +1 -1
  58. package/dist/components/vue-ui-scatter.js +1 -1
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +1 -1
  63. package/dist/components/vue-ui-sparkgauge.js +1 -1
  64. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  65. package/dist/components/vue-ui-sparkline.js +1 -1
  66. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  67. package/dist/components/vue-ui-stackbar.js +1 -1
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +1 -1
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +1 -1
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +1 -1
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +1 -1
  76. package/dist/components/vue-ui-treemap.js +1 -1
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +1 -1
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +1 -1
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +1 -1
  83. package/dist/components/vue-ui-xy.js +1 -1
  84. package/dist/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
  85. package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.js} +1 -1
  86. package/dist/ssr/vue-ui-donut.js +1 -1
  87. package/dist/ssr/vue-ui-xy.js +1 -1
  88. package/dist/ssr.js +2 -2
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +80 -1
  91. package/dist/types/vue-ui-annotator.d.ts +58 -2
  92. package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
  93. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
  94. package/dist/utils.js +1 -1
  95. package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  96. package/dist/vue-data-ui.js +71 -71
  97. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  98. package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  99. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  100. package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
  101. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  102. package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
  103. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  104. package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  105. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  106. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  107. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  108. package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  109. package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
  110. package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
  111. package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  112. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  113. package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  114. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  115. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  116. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  117. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  118. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  119. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  120. package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
  121. package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  122. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  123. package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
  124. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  125. package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
  126. package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  127. package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  128. package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  129. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  130. package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
  131. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  132. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  133. package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
  134. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  135. package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
  136. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  137. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  138. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  139. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  140. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  141. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  142. package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  143. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  144. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  145. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  146. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  147. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  148. package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  149. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  150. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  151. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  152. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  153. package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  154. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  155. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  156. package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
  157. package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
  158. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  159. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  160. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  161. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  162. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  163. package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
  164. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  165. package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  166. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  167. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  168. package/package.json +1 -1
  169. package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
  170. package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
  171. package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
  172. package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
  173. package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
  174. package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
  175. package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
  176. package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
  177. package/dist/vue-ui-donut-DfiocufT.js +0 -2413
  178. package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
  179. package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
  180. package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
  181. package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
  182. package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
  183. package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
  184. package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
  185. package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
  186. package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
  187. package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
  188. package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
  189. package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
  190. package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
  191. package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
  192. package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
  193. package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
  194. package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
  195. package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
  196. package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
  197. package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
  198. package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
  199. package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
  200. package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
  201. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
  202. package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
  203. package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
  204. package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
  205. package/dist/vue-ui-table-BQna1wL6.js +0 -1352
  206. package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
  207. package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
  208. package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
  209. package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
  210. package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
  211. package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
  212. package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
  213. package/dist/vue-ui-xy-canvas-B_8Mu19r.js +0 -1824
@@ -0,0 +1,702 @@
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-CIQZ6_r7.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 we, guardReactiveProps as m, normalizeClass as Te, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as Ee, onMounted as De, openBlock as _, ref as v, renderList as y, renderSlot as b, toDisplayString as x, toRefs as Oe, unref as S, watch as ke, withCtx as C } from "vue";
19
+ //#region src/components/vue-ui-bullet.vue
20
+ var Ae = /* @__PURE__ */ e({ default: () => w }), je = ["id"], Me = {
21
+ key: 1,
22
+ ref: "noTitle",
23
+ class: "vue-data-ui-no-title-space",
24
+ style: "height:36px; width: 100%;background:transparent"
25
+ }, Ne = ["id"], Pe = [
26
+ "xmlns",
27
+ "viewBox",
28
+ "aria-labelledby",
29
+ "aria-describedby"
30
+ ], Fe = ["id"], Ie = ["id"], Le = ["width", "height"], Re = { key: 1 }, ze = [
31
+ "x",
32
+ "y",
33
+ "height",
34
+ "width",
35
+ "fill",
36
+ "stroke"
37
+ ], Be = [
38
+ "x",
39
+ "y",
40
+ "height",
41
+ "width",
42
+ "rx",
43
+ "fill",
44
+ "stroke",
45
+ "stroke-width"
46
+ ], Ve = [
47
+ "x",
48
+ "y",
49
+ "height",
50
+ "width",
51
+ "fill",
52
+ "stroke",
53
+ "stroke-width"
54
+ ], He = [
55
+ "x",
56
+ "y",
57
+ "font-size",
58
+ "font-weight",
59
+ "fill"
60
+ ], Ue = [
61
+ "x",
62
+ "y",
63
+ "height",
64
+ "width",
65
+ "rx",
66
+ "fill",
67
+ "stroke",
68
+ "stroke-width"
69
+ ], We = { key: 3 }, Ge = [
70
+ "x",
71
+ "y",
72
+ "fill",
73
+ "font-size",
74
+ "font-weight"
75
+ ], Ke = { key: 4 }, qe = [
76
+ "x1",
77
+ "x2",
78
+ "y1",
79
+ "y2",
80
+ "stroke"
81
+ ], Je = {
82
+ key: 4,
83
+ class: "vue-data-ui-watermark"
84
+ }, Ye = ["id"], Xe = {
85
+ key: 0,
86
+ class: "vue-ui-bullet-legend-item",
87
+ dir: "auto"
88
+ }, Ze = { style: { "margin-right": "2px" } }, w = /*#__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: Ae }) {
106
+ let w = we(() => import("./PackageVersion-ur6jKRL5.js").then((e) => e.t)), Qe = we(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), $e = we(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), { vue_ui_bullet: et } = oe(), { isThemeValid: tt, warnInvalidTheme: nt } = ue(), T = e, rt = Ae, E = v(null), it = v(null), at = v(0), ot = v(null), st = v(null), ct = v(0), D = v(null), O = v(null), lt = v(!1), k = l({
107
+ get: () => B.value.hasOwnProperty("value"),
108
+ set: (e) => e
109
+ }), A = v(R()), j = l(() => A.value.debug), M = l(() => A.value.style.chart.target), N = l(() => A.value.style.chart.segments), P = l(() => A.value.style.chart), F = l(() => A.value.userOptions), I = l(() => B.value.segments ? Array.isArray(B.value.segments) ? B.value.segments.length ? !0 : (j.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 "), k.value = !1, !1) : (j.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 "), k.value = !1, !1) : (j.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 "), k.value = !1, !1)), ut = l(() => {
110
+ let { top: e, right: t, bottom: n, left: r } = P.value.padding;
111
+ return {
112
+ top: e,
113
+ right: t,
114
+ bottom: n,
115
+ left: r
116
+ };
117
+ });
118
+ function dt() {
119
+ if (t(B.value) ? (ne({
120
+ componentName: "VueUiBullet",
121
+ type: "dataset",
122
+ debug: j.value
123
+ }), V.value = !0) : I.value ? B.value.segments.forEach((e, t) => {
124
+ ee({
125
+ datasetObject: e,
126
+ requiredAttributes: [
127
+ "name",
128
+ "from",
129
+ "to"
130
+ ]
131
+ }).forEach((e) => {
132
+ k.value = !1, ne({
133
+ componentName: "VueUiBullet segment",
134
+ type: "datasetSerieAttribute",
135
+ property: e,
136
+ index: t,
137
+ debug: j.value
138
+ });
139
+ });
140
+ }) : (k.value = !1, V.value = !0), t(B.value) || (V.value = A.value.loading), A.value.responsive) {
141
+ let e = he(() => {
142
+ let { width: e, height: t } = ge({
143
+ chart: E.value,
144
+ title: P.value.title.text ? it.value : null,
145
+ legend: P.value.legend.show ? ot.value : null,
146
+ source: st.value,
147
+ padding: ut.value
148
+ }), n = (P.value.legend.show ? 24 : 0) || 12;
149
+ requestAnimationFrame(() => {
150
+ W.value.width = e, W.value.height = t - n;
151
+ });
152
+ });
153
+ D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = E.value.parentNode, D.value.observe(O.value);
154
+ }
155
+ P.value.animation.show && !z.value && xt(B.value.value || 0);
156
+ }
157
+ De(() => {
158
+ lt.value = !0, dt();
159
+ });
160
+ let L = v(re());
161
+ function R() {
162
+ let e = s({
163
+ userConfig: T.config,
164
+ defaultConfig: et
165
+ }), t = e.theme;
166
+ if (!t) return e;
167
+ if (!tt.value(e)) return nt(e), e;
168
+ let n = s({
169
+ userConfig: be[t] || T.config,
170
+ defaultConfig: e
171
+ });
172
+ return s({
173
+ userConfig: T.config,
174
+ defaultConfig: n
175
+ });
176
+ }
177
+ ae({
178
+ config: () => A.value,
179
+ dataset: () => T.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 ft = l(() => A.value.userOptions.useCursorPointer), pt = 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: A.value.skeletonConfig ?? {}
203
+ })), { loading: z, FINAL_DATASET: B, manualLoading: V } = ce({
204
+ ...Oe(T),
205
+ FINAL_CONFIG: A,
206
+ prepareConfig: R,
207
+ skeletonDataset: T.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: A.value,
233
+ userConfig: pt.value
234
+ })
235
+ }), { userOptionsVisible: H, setUserOptionsVisibility: mt, keepUserOptionState: ht } = _e({ config: A.value }), { svgRef: U } = ve({ config: P.value.title }), W = v({
236
+ width: P.value.width,
237
+ height: P.value.height
238
+ }), gt = l(() => W.value.width), _t = l(() => W.value.height);
239
+ ke(() => T.config, (e) => {
240
+ z.value || (A.value = R()), H.value = !A.value.userOptions.showOnChartHover, W.value.width = P.value.width, W.value.height = P.value.height, dt(), at.value += 1;
241
+ }, { deep: !0 });
242
+ let G = l(() => {
243
+ let e = _t.value, t = gt.value, n = P.value.padding.left, r = t - P.value.padding.right, i = P.value.padding.top, a = e - P.value.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
+ }), vt = l(() => {
255
+ if (!I.value) return [];
256
+ let e = [];
257
+ for (let t = 0; t < B.value.segments.length; t += 1) e.push(te(N.value.baseColor, t / B.value.segments.length));
258
+ return e;
259
+ }), K = l(() => I.value ? {
260
+ min: Math.min(...B.value.segments.map((e) => e.from)),
261
+ max: Math.max(...B.value.segments.map((e) => e.to))
262
+ } : {
263
+ min: 0,
264
+ max: 1
265
+ }), q = v(yt());
266
+ ke(() => B.value, (e) => {
267
+ e.hasOwnProperty("value") && (V.value = !1), P.value.animation.show && !z.value ? xt(e.value || 0) : q.value = e.value || 0;
268
+ }, { deep: !0 });
269
+ function yt() {
270
+ return P.value.animation.show && !z.value ? K.value.min : B.value.value || 0;
271
+ }
272
+ let bt = v(null);
273
+ function xt(e) {
274
+ let t = Math.abs(e - q.value) / P.value.animation.animationFrames;
275
+ function n() {
276
+ q.value < e ? q.value = Math.min(q.value + t, e) : q.value > e && (q.value = Math.max(q.value - t, e)), q.value !== e && (bt.value = requestAnimationFrame(n));
277
+ }
278
+ n();
279
+ }
280
+ Ee(() => {
281
+ cancelAnimationFrame(bt.value);
282
+ });
283
+ let J = l(() => {
284
+ if (!I.value) return [];
285
+ let e = a(K.value.min, K.value.max, N.value.ticks.divisions), t = e.min >= 0 ? 0 : Math.abs(e.min);
286
+ return {
287
+ scale: e,
288
+ target: { x: G.value.left + (B.value.target + t) / (e.max + t) * G.value.chartWidth - M.value.width / 2 },
289
+ value: { width: (q.value + t) / (e.max + t) * G.value.chartWidth },
290
+ ticks: e.ticks.map((n) => ({
291
+ value: n,
292
+ y: G.value.bottom + N.value.dataLabels.fontSize + 3 + N.value.dataLabels.offsetY,
293
+ x: G.value.left + (n + t) / (e.max + t) * G.value.chartWidth
294
+ })),
295
+ chunks: B.value.segments.map((r, i) => ({
296
+ ...r,
297
+ color: r.color ? n(r.color) : vt.value[i],
298
+ x: G.value.left + G.value.chartWidth * ((r.from + t) / (e.max + t)),
299
+ y: G.value.top,
300
+ height: G.value.chartHeight,
301
+ width: G.value.chartWidth * (Math.abs(r.to - r.from) / (e.max + t))
302
+ }))
303
+ };
304
+ }), Y = l(() => !J.value || !J.value.chunks || !J.value.chunks.length ? [] : J.value.chunks.map((e) => {
305
+ let t = `${o(N.value.dataLabels.formatter, e.from, r({
306
+ p: N.value.dataLabels.prefix,
307
+ v: e.from,
308
+ s: N.value.dataLabels.suffix,
309
+ r: N.value.dataLabels.rounding
310
+ }))} — ${o(N.value.dataLabels.formatter, e.to, r({
311
+ p: N.value.dataLabels.prefix,
312
+ v: e.to,
313
+ s: N.value.dataLabels.suffix,
314
+ r: N.value.dataLabels.rounding
315
+ }))}`;
316
+ return {
317
+ ...e,
318
+ shape: "square",
319
+ value: t,
320
+ display: `${e.name}: ${t}`
321
+ };
322
+ })), St = l(() => ({
323
+ cy: "bullet-div-legend",
324
+ backgroundColor: "transparent",
325
+ color: P.value.legend.color,
326
+ fontSize: P.value.legend.fontSize,
327
+ paddingBottom: 6,
328
+ fontWeight: P.value.legend.bold ? "bold" : ""
329
+ })), { isPrinting: X, isImaging: Z, generatePdf: Ct, generateImage: wt } = se({
330
+ elementId: `bullet_${L.value}`,
331
+ fileName: P.value.title.text || "vue-ui-bullet",
332
+ options: A.value.userOptions.print
333
+ }), Tt = l(() => A.value.userOptions.show && !P.value.title.text), Q = v(!1);
334
+ function Et(e) {
335
+ Q.value = e, ct.value += 1;
336
+ }
337
+ function Dt() {
338
+ return J.value;
339
+ }
340
+ let $ = v(!1);
341
+ function Ot() {
342
+ $.value = !$.value;
343
+ }
344
+ async function kt({ scale: e = 2 } = {}) {
345
+ if (!E.value) return;
346
+ let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
347
+ domElement: E.value,
348
+ base64: !0,
349
+ img: !0,
350
+ scale: e
351
+ });
352
+ return {
353
+ imageUri: i,
354
+ base64: a,
355
+ title: P.value.title.text,
356
+ width: t,
357
+ height: n,
358
+ aspectRatio: r
359
+ };
360
+ }
361
+ let At = l(() => Y.value.map((e) => ({
362
+ ...e,
363
+ name: e.display
364
+ }))), jt = l(() => P.value.backgroundColor), Mt = l(() => P.value.legend), Nt = l(() => P.value.title), { isCallbackImaging: Pt, isCallbackSvg: Ft, generateSvg: It, onGenerateImage: Lt } = de({
365
+ svg: U,
366
+ title: Nt,
367
+ legend: Mt,
368
+ legendItems: At,
369
+ backgroundColor: jt,
370
+ getSvgCallback: () => A.value.userOptions.callbacks.svg,
371
+ generateImage: wt
372
+ });
373
+ async function Rt() {
374
+ if (rt("copyAlt", {
375
+ config: A.value,
376
+ dataset: B.value
377
+ }), !A.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(A.value.userOptions.callbacks.altCopy({
382
+ config: A.value,
383
+ dataset: B.value
384
+ }));
385
+ }
386
+ return me({
387
+ getData: Dt,
388
+ getImage: kt,
389
+ generatePdf: Ct,
390
+ generateImage: wt,
391
+ generateSvg: It,
392
+ toggleAnnotator: Ot,
393
+ toggleFullscreen: Et,
394
+ copyAlt: Rt
395
+ }), (e, t) => (_(), f("div", {
396
+ ref_key: "bulletChart",
397
+ ref: E,
398
+ class: Te(`vue-data-ui-component vue-ui-bullet ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
399
+ style: g(`font-family:${A.value.style.fontFamily};width:100%;background:${P.value.backgroundColor};${A.value.responsive ? "height:100%" : ""}`),
400
+ id: `bullet_${L.value}`,
401
+ onMouseenter: t[0] ||= () => S(mt)(!0),
402
+ onMouseleave: t[1] ||= () => S(mt)(!1)
403
+ }, [
404
+ F.value.buttons.annotator ? (_(), u(S(Qe), {
405
+ key: 0,
406
+ svgRef: S(U),
407
+ backgroundColor: P.value.backgroundColor,
408
+ color: P.value.color,
409
+ active: $.value,
410
+ isCursorPointer: ft.value,
411
+ palette: F.value.annotatorPalette,
412
+ onClose: Ot
413
+ }, {
414
+ "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
415
+ "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
416
+ "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
417
+ "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
418
+ "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
419
+ "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", h(m({ 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
+ Tt.value ? (_(), f("div", Me, null, 512)) : d("", !0),
430
+ P.value.title.text ? (_(), f("div", {
431
+ key: 2,
432
+ ref_key: "chartTitle",
433
+ ref: it,
434
+ style: "width:100%;background:transparent;"
435
+ }, [(_(), u(pe, {
436
+ lineHeight: "1.3rem",
437
+ key: `title_${at.value}`,
438
+ config: {
439
+ title: {
440
+ cy: "bullet-div-title",
441
+ ...P.value.title
442
+ },
443
+ subtitle: {
444
+ cy: "bullet-div-subtitle",
445
+ ...P.value.title.subtitle
446
+ }
447
+ }
448
+ }, null, 8, ["config"]))], 512)) : d("", !0),
449
+ p("div", { id: `legend-top-${L.value}` }, null, 8, Ne),
450
+ F.value.show && k.value && (S(ht) || S(H)) ? (_(), u(S($e), {
451
+ key: 3,
452
+ ref: "details",
453
+ backgroundColor: P.value.backgroundColor,
454
+ color: P.value.color,
455
+ isPrinting: S(X),
456
+ isImaging: S(Z),
457
+ uid: L.value,
458
+ hasTooltip: !1,
459
+ hasPdf: F.value.buttons.pdf,
460
+ hasImg: F.value.buttons.img,
461
+ hasSvg: F.value.buttons.svg,
462
+ hasXls: !1,
463
+ hasTable: !1,
464
+ hasLabel: !1,
465
+ hasFullscreen: F.value.buttons.fullscreen,
466
+ hasAltCopy: F.value.buttons.altCopy,
467
+ isFullscreen: Q.value,
468
+ chartElement: E.value,
469
+ position: F.value.position,
470
+ titles: { ...F.value.buttonTitles },
471
+ hasAnnotator: F.value.buttons.annotator,
472
+ isAnnotation: $.value,
473
+ callbacks: F.value.callbacks,
474
+ printScale: F.value.print.scale,
475
+ isCursorPointer: ft.value,
476
+ onToggleFullscreen: Et,
477
+ onGeneratePdf: S(Ct),
478
+ onGenerateImage: S(Lt),
479
+ onGenerateSvg: S(It),
480
+ onToggleAnnotator: Ot,
481
+ onCopyAlt: Rt,
482
+ style: g({ visibility: S(ht) ? S(H) ? "visible" : "hidden" : "visible" })
483
+ }, Se({ _: 2 }, [
484
+ e.$slots.menuIcon ? {
485
+ name: "menuIcon",
486
+ fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", h(m({
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: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
495
+ key: "1"
496
+ } : void 0,
497
+ e.$slots.optionImg ? {
498
+ name: "optionImg",
499
+ fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
500
+ key: "2"
501
+ } : void 0,
502
+ e.$slots.optionSvg ? {
503
+ name: "optionSvg",
504
+ fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
505
+ key: "3"
506
+ } : void 0,
507
+ e.$slots.optionFullscreen ? {
508
+ name: "optionFullscreen",
509
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", h(m({
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: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", h(m({
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: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
526
+ key: "6"
527
+ } : void 0,
528
+ e.$slots["custom-menu-before"] ? {
529
+ name: "custom-menu-before",
530
+ fn: C(() => [b(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: C(() => [b(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
+ (_(), f("svg", {
564
+ ref_key: "svgRef",
565
+ ref: U,
566
+ xmlns: S(ie),
567
+ class: Te({
568
+ "vue-data-ui-fullscreen--on": Q.value,
569
+ "vue-data-ui-fulscreen--off": !Q.value,
570
+ "vue-ui-bullet-svg": !0
571
+ }),
572
+ viewBox: `0 0 ${G.value.width} ${G.value.height}`,
573
+ style: g(`width: 100%; overflow: visible; background:transparent;color:${P.value.color}`),
574
+ "aria-labelledby": `bullet-svg-title-${L.value}`,
575
+ "aria-describedby": `bullet-svg-desc-${L.value}`
576
+ }, [
577
+ Ce(S(w)),
578
+ p("title", { id: `bullet-svg-title-${L.value}` }, x(P.value.title.text || "Bullet chart"), 9, Fe),
579
+ p("desc", { id: `bullet-svg-desc-${L.value}` }, " Value: " + x(q.value) + ", Target: " + x(J.value.target?.value), 9, Ie),
580
+ e.$slots["chart-background"] ? (_(), f("foreignObject", {
581
+ key: 0,
582
+ x: 0,
583
+ y: 0,
584
+ width: G.value.width,
585
+ height: G.value.height,
586
+ style: { pointerEvents: "none" }
587
+ }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Le)) : d("", !0),
588
+ I.value ? (_(), f("g", Re, [
589
+ (_(!0), f(c, null, y(J.value.chunks, (e) => (_(), 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: P.value.backgroundColor,
597
+ style: { transition: "x 0.3s ease-in-out, width 0.3s ease-in-out" }
598
+ }, null, 8, ze))), 256)),
599
+ !M.value.onTop && M.value.show ? (_(), f("rect", {
600
+ key: 0,
601
+ x: J.value.target.x,
602
+ y: G.value.top + (G.value.chartHeight - G.value.chartHeight * M.value.heightRatio) / 2,
603
+ height: G.value.chartHeight * M.value.heightRatio,
604
+ width: M.value.width,
605
+ rx: M.value.rounded ? M.value.width / 2 : 0,
606
+ fill: M.value.color,
607
+ stroke: M.value.stroke,
608
+ "stroke-width": M.value.strokeWidth
609
+ }, null, 8, Be)) : d("", !0),
610
+ p("rect", {
611
+ x: G.value.left,
612
+ y: G.value.top + (G.value.chartHeight - G.value.chartHeight * P.value.valueBar.heightRatio) / 2,
613
+ height: G.value.chartHeight * P.value.valueBar.heightRatio,
614
+ width: J.value.value.width,
615
+ fill: P.value.valueBar.color,
616
+ stroke: P.value.valueBar.stroke,
617
+ "stroke-width": P.value.valueBar.strokeWidth
618
+ }, null, 8, Ve),
619
+ P.value.valueBar.label.show ? (_(), f("text", {
620
+ key: 1,
621
+ x: G.value.left + J.value.value.width,
622
+ y: G.value.top - 6 + P.value.valueBar.label.offsetY,
623
+ "font-size": P.value.valueBar.label.fontSize,
624
+ "font-weight": P.value.valueBar.label.bold ? "bold" : "normal",
625
+ fill: P.value.valueBar.label.color,
626
+ "text-anchor": "middle"
627
+ }, x(S(o)(N.value.dataLabels.formatter, q.value, S(r)({
628
+ p: N.value.dataLabels.prefix,
629
+ v: q.value,
630
+ s: N.value.dataLabels.suffix,
631
+ r: N.value.dataLabels.rounding
632
+ }))), 9, He)) : d("", !0),
633
+ M.value.onTop && M.value.show ? (_(), f("rect", {
634
+ key: 2,
635
+ x: J.value.target.x,
636
+ y: G.value.top + (G.value.chartHeight - G.value.chartHeight * M.value.heightRatio) / 2,
637
+ height: G.value.chartHeight * M.value.heightRatio,
638
+ width: M.value.width,
639
+ rx: M.value.rounded ? M.value.width / 2 : 0,
640
+ fill: M.value.color,
641
+ stroke: M.value.stroke,
642
+ "stroke-width": M.value.strokeWidth,
643
+ style: { transition: "x 0.3s ease-in-out" }
644
+ }, null, 8, Ue)) : d("", !0),
645
+ N.value.dataLabels.show ? (_(), f("g", We, [(_(!0), f(c, null, y(J.value.ticks, (e) => (_(), f("text", {
646
+ x: e.x,
647
+ y: e.y,
648
+ "text-anchor": "middle",
649
+ fill: N.value.dataLabels.color,
650
+ "font-size": N.value.dataLabels.fontSize + "px",
651
+ "font-weight": N.value.dataLabels.bold ? "bold" : "normal"
652
+ }, x(S(o)(N.value.dataLabels.formatter, e.value, S(r)({
653
+ p: N.value.dataLabels.prefix,
654
+ v: e.value,
655
+ s: N.value.dataLabels.suffix,
656
+ r: N.value.dataLabels.rounding
657
+ }))), 9, Ge))), 256))])) : d("", !0),
658
+ N.value.dataLabels.show && N.value.ticks.show ? (_(), f("g", Ke, [(_(!0), f(c, null, y(J.value.ticks, (e) => (_(), f("line", {
659
+ x1: e.x,
660
+ x2: e.x,
661
+ y1: G.value.bottom,
662
+ y2: G.value.bottom + 3,
663
+ stroke: N.value.ticks.stroke,
664
+ "stroke-width": 1,
665
+ "stroke-linecap": "round"
666
+ }, null, 8, qe))), 256))])) : d("", !0)
667
+ ])) : d("", !0),
668
+ b(e.$slots, "svg", { svg: {
669
+ ...G.value,
670
+ isPrintingImg: S(X) || S(Z) || S(Pt),
671
+ isPrintingSvg: S(Ft)
672
+ } }, void 0, !0)
673
+ ], 14, Pe)),
674
+ e.$slots.watermark ? (_(), f("div", Je, [b(e.$slots, "watermark", h(m({ isPrinting: S(X) || S(Z) || S(Pt) || S(Ft) })), void 0, !0)])) : d("", !0),
675
+ p("div", { id: `legend-bottom-${L.value}` }, null, 8, Ye),
676
+ lt.value && (P.value.legend.show || e.$slots.legend) ? (_(), u(xe, {
677
+ key: 5,
678
+ to: P.value.legend.position === "top" ? `#legend-top-${L.value}` : `#legend-bottom-${L.value}`
679
+ }, [p("div", {
680
+ ref_key: "chartLegend",
681
+ ref: ot
682
+ }, [b(e.$slots, "legend", { legend: Y.value }, () => [P.value.legend.show ? (_(), u(ye, {
683
+ key: 0,
684
+ clickable: !1,
685
+ legendSet: Y.value,
686
+ config: St.value
687
+ }, {
688
+ item: C(({ legend: e }) => [S(z) ? d("", !0) : (_(), f("div", Xe, [p("span", Ze, x(e.name) + ":", 1), p("span", null, x(e.value), 1)]))]),
689
+ _: 1
690
+ }, 8, ["legendSet", "config"])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
691
+ e.$slots.source ? (_(), f("div", {
692
+ key: 6,
693
+ ref_key: "source",
694
+ ref: st,
695
+ dir: "auto"
696
+ }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
697
+ b(e.$slots, "skeleton", {}, () => [S(z) ? (_(), u(le, { key: 0 })) : d("", !0)], !0)
698
+ ], 46, je));
699
+ }
700
+ }, [["__scopeId", "data-v-c6a799af"]]);
701
+ //#endregion
702
+ export { Ae as n, w as t };