vue-data-ui 3.25.2 → 3.25.4

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 (194) hide show
  1. package/dist/{Arrow-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
  3. package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
  4. package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
  5. package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
  6. package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
  7. package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
  8. package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
  9. package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
  11. package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
  12. package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
  13. package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
  14. package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
  15. package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
  16. package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
  17. package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
  18. package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
  91. package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
  92. package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
  93. package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
  94. package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
  95. package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
  96. package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
  97. package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
  103. package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
  104. package/dist/utils.js +2 -2
  105. package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
  106. package/dist/vue-data-ui.js +73 -73
  107. package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
  108. package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
  109. package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
  110. package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
  111. package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
  112. package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
  113. package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
  114. package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
  115. package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
  116. package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
  117. package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
  118. package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
  119. package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
  120. package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
  121. package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
  122. package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
  123. package/dist/vue-ui-donut-DfiocufT.js +2413 -0
  124. package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
  125. package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
  126. package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
  127. package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
  128. package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
  129. package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
  130. package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
  131. package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
  132. package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
  133. package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
  134. package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
  135. package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
  136. package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
  137. package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
  138. package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
  139. package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
  140. package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
  141. package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
  142. package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
  143. package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
  144. package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
  145. package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
  146. package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
  147. package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
  148. package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
  149. package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
  150. package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
  151. package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
  152. package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
  153. package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
  154. package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
  155. package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
  156. package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
  157. package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
  158. package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
  159. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
  160. package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
  161. package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
  162. package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
  163. package/dist/vue-ui-table-BQna1wL6.js +1352 -0
  164. package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
  165. package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
  166. package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
  167. package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
  168. package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
  169. package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
  170. package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
  171. package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
  172. package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
  173. package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
  174. package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
  175. package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
  176. package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
  177. package/package.json +1 -1
  178. package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
  179. package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
  180. package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
  181. package/dist/vue-ui-donut-BfehCl28.js +0 -2413
  182. package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
  183. package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
  184. package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
  185. package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
  186. package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
  187. package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
  188. package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
  189. package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
  190. package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
  191. package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
  192. package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
  193. package/dist/vue-ui-table-CftOhYTO.js +0 -1352
  194. package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
@@ -0,0 +1,738 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Ct as t, Lt as n, Pt as r, S as i, Ut as a, Wt as o, X as s, Yt as c, Zt as l, ht as ee, i as te, nt as ne, q as re, t as ie, w as ae } from "./lib-Dql7cqyA.js";
3
+ import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ce } from "./useConfig-CyCVHo81.js";
5
+ import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as de } from "./useNestedProp-Chvyfpl-.js";
7
+ import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
+ import { t as me } from "./DefGrad-DVBqDjhO.js";
10
+ import { t as he } from "./BaseLegendToggle-__JnV08B.js";
11
+ import { t as ge } from "./A11yDataTable-DdRsVULz.js";
12
+ import { t as _e } from "./useChartAccessibility-DYqac8yF.js";
13
+ import { t as ve } from "./usePrefersMotion-BC-CsqR1.js";
14
+ import { t as ye } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
15
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineAsyncComponent as be, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as xe, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, toRefs as Se, unref as E, useSlots as Ce, watch as we, withCtx as Te } from "vue";
16
+ //#region src/components/vue-ui-sparkstackbar.vue
17
+ var Ee = /* @__PURE__ */ e({ default: () => Ke }), De = ["id"], Oe = { style: { position: "relative" } }, ke = [
18
+ "xmlns",
19
+ "viewBox",
20
+ "aria-describedby"
21
+ ], Ae = ["id"], je = [
22
+ "width",
23
+ "height",
24
+ "rx"
25
+ ], Me = ["clip-path"], Ne = [
26
+ "x",
27
+ "width",
28
+ "height",
29
+ "fill"
30
+ ], Pe = [
31
+ "x",
32
+ "width",
33
+ "height",
34
+ "fill"
35
+ ], Fe = [
36
+ "x",
37
+ "height",
38
+ "fill"
39
+ ], Ie = [
40
+ "x",
41
+ "width",
42
+ "height",
43
+ "onClick",
44
+ "onMouseenter",
45
+ "onMouseleave"
46
+ ], Le = [
47
+ "width",
48
+ "height",
49
+ "rx",
50
+ "stroke"
51
+ ], Re = [
52
+ "width",
53
+ "height",
54
+ "rx"
55
+ ], ze = {
56
+ key: 0,
57
+ style: {
58
+ position: "absolute",
59
+ top: "100%",
60
+ left: "0",
61
+ width: "100%"
62
+ },
63
+ "data-dom-to-png-ignore": "",
64
+ "aria-hidden": "true"
65
+ }, Be = [
66
+ "aria-pressed",
67
+ "aria-label",
68
+ "onClick",
69
+ "onFocus",
70
+ "onKeydown"
71
+ ], Ve = { style: {
72
+ display: "flex",
73
+ "flex-direction": "row",
74
+ "align-items": "center",
75
+ gap: "4px",
76
+ "justify-content": "center"
77
+ } }, He = ["height", "width"], Ue = ["rx", "fill"], We = ["rx", "fill"], Ge = {
78
+ key: 3,
79
+ ref: "source",
80
+ dir: "auto"
81
+ }, Ke = /*#__PURE__*/ pe({
82
+ __name: "vue-ui-sparkstackbar",
83
+ props: {
84
+ config: {
85
+ type: Object,
86
+ default() {
87
+ return {};
88
+ }
89
+ },
90
+ dataset: {
91
+ type: Array,
92
+ default() {
93
+ return [];
94
+ }
95
+ }
96
+ },
97
+ emits: ["selectDatapoint", "selectLegend"],
98
+ setup(e, { expose: pe, emit: Ee }) {
99
+ let Ke = be(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), qe = be(() => import("./Tooltip-hhrkQ3Lk.js")), { vue_ui_sparkstackbar: Je } = ce(), { isThemeValid: Ye, warnInvalidTheme: Xe } = fe(), Ze = ve(), Qe = Ce(), D = e, $e = S(null), O = S(re()), k = S(!1), A = S(""), j = S(null), M = S(!1), N = S(null), et = S({
100
+ x: 0,
101
+ y: 0
102
+ }), P = S("pointer"), tt = S(!1), F = S(null), nt = S([]), I = S(V()), L = d(() => I.value.debug);
103
+ xe(() => {
104
+ Qe["chart-background"] && L.value && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
105
+ }), oe({
106
+ config: () => I.value,
107
+ dataset: () => D.dataset,
108
+ component: "VueUiSparkStackbar",
109
+ rules: [se.emptyArray, {
110
+ test: (e) => e.length > 6,
111
+ message: [
112
+ "👀 The number of series is > 6. Consider:",
113
+ "",
114
+ "▶️ Grouping small values dynamically into a single \"Other\" series.",
115
+ "",
116
+ "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
117
+ ]
118
+ }]
119
+ });
120
+ let rt = d(() => I.value.useCursorPointer), it = d(() => l({
121
+ defaultConfig: { style: {
122
+ backgroundColor: "#99999930",
123
+ animation: { show: !1 },
124
+ bar: { gradient: { inderlayerColor: "#6A6A6A" } },
125
+ title: { backgroundColor: "transparent" }
126
+ } },
127
+ userConfig: I.value.skeletonConfig ?? {}
128
+ })), { loading: R, FINAL_DATASET: z } = le({
129
+ ...Se(D),
130
+ FINAL_CONFIG: I,
131
+ prepareConfig: V,
132
+ skeletonDataset: D.config?.skeletonDataset ?? [
133
+ {
134
+ name: "_",
135
+ value: 8,
136
+ color: "#808080"
137
+ },
138
+ {
139
+ name: "_",
140
+ value: 5,
141
+ color: "#ADADAD"
142
+ },
143
+ {
144
+ name: "_",
145
+ value: 3,
146
+ color: "#DBDBDB"
147
+ }
148
+ ],
149
+ skeletonConfig: l({
150
+ defaultConfig: I.value,
151
+ userConfig: it.value
152
+ })
153
+ }), { svgRef: B } = _e({ config: I.value.style.title });
154
+ function V() {
155
+ let e = de({
156
+ userConfig: D.config,
157
+ defaultConfig: Je
158
+ }), t = e.theme;
159
+ if (!t) return e;
160
+ if (!Ye.value(e)) return Xe(e), e;
161
+ let r = de({
162
+ userConfig: ye[t] || D.config,
163
+ defaultConfig: e
164
+ }), i = de({
165
+ userConfig: D.config,
166
+ defaultConfig: r
167
+ });
168
+ return {
169
+ ...i,
170
+ customPalette: i.customPalette.length ? i.customPalette : c[t] || n
171
+ };
172
+ }
173
+ we(() => D.config, (e) => {
174
+ I.value = V(), ot();
175
+ }, { deep: !0 }), we(() => z.value, (e) => {
176
+ U.value = z.value.map((e, t) => ({
177
+ ...e,
178
+ color: e.color ? i(e.color) : H.value[t] || n[t] || n[t % n.length]
179
+ })), at();
180
+ }, { deep: !0 });
181
+ let H = d(() => ae(I.value.customPalette)), U = S(z.value.map((e, t) => ({
182
+ ...e,
183
+ value: I.value.style.animation.show ? 0 : e.value || 0,
184
+ color: e.color ? i(e.color) : H.value[t] || n[t] || n[t % n.length]
185
+ }))), W = S(!0);
186
+ function at() {
187
+ if (!I.value.style.animation.show || Ze.value) {
188
+ W.value = !1;
189
+ return;
190
+ }
191
+ let e = I.value.style.animation.animationFrames, t = z.value.map((e) => e.value || 0), r = t.map((t) => t / e), a = t.reduce((e, t) => e + t, 0), o = 0;
192
+ W.value = !0, U.value = z.value.map((e, t) => ({
193
+ ...e,
194
+ value: 0,
195
+ color: e.color ? i(e.color) : H.value[t] || n[t] || n[t % n.length]
196
+ }));
197
+ function s() {
198
+ o += a / e, o < a ? (U.value = U.value.map((e, a) => ({
199
+ ...e,
200
+ value: Math.min(e.value + r[a], t[a]),
201
+ color: e.color ? i(e.color) : H.value[a] || n[a] || n[a % n.length]
202
+ })), requestAnimationFrame(s)) : (W.value = !1, U.value = z.value.map((e, r) => ({
203
+ ...e,
204
+ value: t[r],
205
+ color: e.color ? i(e.color) : H.value[r] || n[r] || n[r % n.length],
206
+ id: re()
207
+ })));
208
+ }
209
+ s();
210
+ }
211
+ xe(() => {
212
+ ot();
213
+ });
214
+ function ot() {
215
+ r(D.dataset) ? ne({
216
+ componentName: "VueUiSparkStackbar",
217
+ type: "dataset",
218
+ debug: L.value
219
+ }) : L.value && D.dataset.forEach((e, t) => {
220
+ ee({
221
+ datasetObject: e,
222
+ requiredAttributes: ["name", "value"]
223
+ }).forEach((e) => {
224
+ ne({
225
+ componentName: "VueUiSparkStackbar",
226
+ type: "datasetSerieAttribute",
227
+ property: e,
228
+ index: t
229
+ });
230
+ });
231
+ }), at();
232
+ }
233
+ let G = S({
234
+ width: 500,
235
+ height: 16
236
+ }), K = S([]), st = d(() => z.value.map((e) => e.value || 0).filter((e, t) => !K.value.includes(t)).reduce((e, t) => e + t, 0)), q = d(() => U.value.map((e, t) => {
237
+ let r = e.value || 0, a = r / st.value, o = isNaN(a) ? 0 : a, c = o * G.value.width;
238
+ return {
239
+ ...e,
240
+ color: i(z.value[t]?.color ? z.value[t]?.color : H.value[t] || n[t] || n[t % n.length]),
241
+ value: r,
242
+ proportion: o,
243
+ width: c,
244
+ seriesIndex: t,
245
+ proportionLabel: s({
246
+ v: o * 100,
247
+ s: "%",
248
+ r: I.value.style.legend.percentage.rounding
249
+ })
250
+ };
251
+ })), J = d(() => q.value.filter((e, t) => !K.value.includes(t)));
252
+ function ct() {
253
+ k.value = !1, F.value = null, N.value = null, P.value = "pointer";
254
+ }
255
+ function lt() {
256
+ ct(), K.value.length ? K.value = [] : q.value.forEach((e, t) => {
257
+ K.value.push(t);
258
+ }), mt("selectLegend", J.value);
259
+ }
260
+ function Y(e) {
261
+ ct(), K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : K.value.length < U.value.length - 1 && K.value.push(e), mt("selectLegend", J.value);
262
+ }
263
+ function ut(e) {
264
+ return q.value.length ? q.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null);
265
+ }
266
+ function dt(e) {
267
+ let t = ut(e);
268
+ t !== null && K.value.includes(t.id) && Y(t.seriesIndex);
269
+ }
270
+ function ft(e) {
271
+ let t = ut(e);
272
+ t !== null && (K.value.includes(t.id) || Y(t.seriesIndex));
273
+ }
274
+ let X = d(() => {
275
+ let e = 0, t = [];
276
+ for (let n = 0; n < J.value.length; n += 1) t.push({
277
+ ...J.value[n],
278
+ start: e
279
+ }), e += J.value[n].width;
280
+ return t;
281
+ }), pt = d(() => {
282
+ let e = X.value.reduce((e, t) => e + t.width, 0);
283
+ return Math.min(Math.max(e, 0), G.value.width);
284
+ }), mt = Ee;
285
+ function Z(e, t, n = !1) {
286
+ mt("selectDatapoint", {
287
+ datapoint: e,
288
+ index: t
289
+ }), I.value.events.datapointClick && !n && I.value.events.datapointClick({
290
+ datapoint: e,
291
+ seriesIndex: e.seriesIndex
292
+ });
293
+ }
294
+ function ht({ datapoint: e, seriesIndex: t }) {
295
+ k.value = !1, F.value = null, N.value = null, P.value = "pointer", I.value.events.datapointLeave && I.value.events.datapointLeave({
296
+ datapoint: e,
297
+ seriesIndex: e.seriesIndex
298
+ });
299
+ }
300
+ function gt({ datapoint: e, seriesIndex: n, triggerMode: r = "pointer" }) {
301
+ if (M.value = !1, I.value.events.datapointEnter && I.value.events.datapointEnter({
302
+ datapoint: e,
303
+ seriesIndex: e.seriesIndex
304
+ }), !I.value.style.tooltip.show) return;
305
+ P.value = r, j.value = {
306
+ datapoint: e,
307
+ seriesIndex: n,
308
+ config: I.value,
309
+ series: q.value
310
+ }, k.value = !0, F.value = e.seriesIndex;
311
+ let i = I.value.style.tooltip.customFormat;
312
+ if (t(i)) try {
313
+ let t = i({
314
+ seriesIndex: e.seriesIndex,
315
+ datapoint: e,
316
+ series: q.value,
317
+ config: I.value
318
+ });
319
+ typeof t == "string" && (A.value = t, M.value = !0);
320
+ } catch {
321
+ console.warn("Custom format cannot be applied."), M.value = !1;
322
+ }
323
+ if (!M.value) {
324
+ let t = "", r = I.value.style.bar.gradient.show, i = `tooltip_grad_${n}_${O.value}`, c = a(o(e.color, .05), 100 - I.value.style.bar.gradient.intensity), l = r ? `<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${I.value.style.bar.gradient.underlayerColor}"/>` : "", ee = r ? `<defs><radialGradient id="${i}"><stop offset="0%" stop-color="${c}"/><stop offset="100%" stop-color="${e.color}"/></radialGradient></defs>` : "";
325
+ t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 10 10" height="14" width="14">${ee}${l}<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${r ? `url(#${i})` : e.color}"/></svg>`, t += `<b>${e.proportionLabel}</b>`, t += `<span>(${te(I.value.style.legend.value.formatter, e.value, s({
326
+ p: I.value.style.legend.value.prefix,
327
+ v: e.value,
328
+ s: I.value.style.legend.value.suffix,
329
+ r: I.value.style.legend.value.rounding
330
+ }), {
331
+ datapoint: e,
332
+ seriesIndex: n
333
+ })})</span>`, A.value = `<div>${t}</div>`;
334
+ }
335
+ }
336
+ let _t = d(() => {
337
+ let e = I.value.style.bar.borderRadius == null ? G.value.height / 2 : I.value.style.bar.borderRadius;
338
+ return Math.min(Math.max(e, 0), G.value.height / 2);
339
+ }), Q = d(() => {
340
+ let e = G.value.height / 2;
341
+ return e === 0 ? 5 : _t.value / e * 5;
342
+ });
343
+ function $(e) {
344
+ let t = nt.value[e];
345
+ t && typeof t.focus == "function" && t.focus();
346
+ }
347
+ function vt(e) {
348
+ if (!Number.isFinite(e) || !B.value) return;
349
+ let t = X.value[e];
350
+ if (!t) return;
351
+ let n = B.value.getBoundingClientRect(), r = t.start + t.width / 2, i = G.value.height / 2;
352
+ et.value = {
353
+ x: n.left + r / G.value.width * n.width,
354
+ y: n.top + i / G.value.height * n.height
355
+ };
356
+ }
357
+ function yt() {
358
+ N.value = null, tt.value = !0;
359
+ }
360
+ function bt() {
361
+ N.value = null, P.value = "pointer", k.value = !1, F.value = null, tt.value = !1;
362
+ }
363
+ function xt(e) {
364
+ if (!B.value || document.activeElement !== B.value || !X.value.length) return;
365
+ let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape", a = e.key === "Home", o = e.key === "End";
366
+ if (!t && !n && !r && !i && !a && !o) return;
367
+ if (e.preventDefault(), e.stopPropagation(), i) {
368
+ N.value = null, P.value = "pointer", k.value = !1, F.value = null;
369
+ return;
370
+ }
371
+ if (r) {
372
+ if (N.value === null) return;
373
+ let e = X.value[N.value];
374
+ if (!e) return;
375
+ Z(e, e.seriesIndex);
376
+ return;
377
+ }
378
+ let s = N.value;
379
+ a ? s = 0 : o ? s = X.value.length - 1 : s === null || s < 0 || s >= X.value.length ? s = n ? 0 : X.value.length - 1 : n ? (s += 1, s >= X.value.length && (s = 0)) : t && (--s, s < 0 && (s = X.value.length - 1));
380
+ let c = X.value[s];
381
+ c && (N.value = s, vt(s), gt({
382
+ datapoint: c,
383
+ seriesIndex: c.seriesIndex,
384
+ triggerMode: "keyboard"
385
+ }));
386
+ }
387
+ function St(e) {
388
+ k.value = !1, N.value = null, P.value = "pointer", F.value = e.seriesIndex;
389
+ }
390
+ function Ct() {
391
+ N.value = null, P.value = "pointer", k.value = !1, F.value = null;
392
+ }
393
+ function wt(e, t, n) {
394
+ let r = e.key === "Enter" || e.key === " ", i = e.key === "ArrowLeft" || e.key === "ArrowUp", a = e.key === "ArrowRight" || e.key === "ArrowDown", o = e.key === "Home", s = e.key === "End", c = e.key === "Escape";
395
+ if (!(!r && !i && !a && !o && !s && !c)) {
396
+ if (e.preventDefault(), e.stopPropagation(), c) {
397
+ Ct();
398
+ return;
399
+ }
400
+ if (r) {
401
+ Y(n), Z(t, n, !0);
402
+ return;
403
+ }
404
+ if (o) {
405
+ $(0);
406
+ return;
407
+ }
408
+ if (s) {
409
+ $(q.value.length - 1);
410
+ return;
411
+ }
412
+ if (i) {
413
+ $(n <= 0 ? q.value.length - 1 : n - 1);
414
+ return;
415
+ }
416
+ a && $(n >= q.value.length - 1 ? 0 : n + 1);
417
+ }
418
+ }
419
+ let Tt = d(() => ({
420
+ headers: [
421
+ I.value.a11y.translations.series,
422
+ I.value.a11y.translations.percentage,
423
+ I.value.a11y.translations.value
424
+ ],
425
+ rows: q.value.map((e, t) => [
426
+ e.name,
427
+ K.value.includes(t) ? " - " : e.proportionLabel,
428
+ te(I.value.style.legend.value.formatter, e.value, s({
429
+ p: I.value.style.legend.value.prefix,
430
+ v: e.value,
431
+ s: I.value.style.legend.value.suffix,
432
+ r: I.value.style.legend.value.rounding
433
+ }), {
434
+ datapoint: e,
435
+ seriesIndex: t
436
+ })
437
+ ])
438
+ }));
439
+ return pe({
440
+ hideSeries: ft,
441
+ showSeries: dt
442
+ }), (e, t) => (x(), m("div", {
443
+ class: "vue-data-ui-component vue-ui-spark-stackbar",
444
+ ref_key: "sparkstackbarChart",
445
+ ref: $e,
446
+ style: b(`width:100%; background:${I.value.style.backgroundColor}`)
447
+ }, [
448
+ h("div", {
449
+ id: `chart-instructions-${O.value}`,
450
+ class: "sr-only"
451
+ }, [h("p", null, T(I.value.a11y.translations.keyboardNavigation), 1)], 8, De),
452
+ Tt.value?.rows?.length ? (x(), f(ge, {
453
+ key: 0,
454
+ uid: O.value,
455
+ head: Tt.value.headers,
456
+ body: Tt.value.rows,
457
+ notice: I.value.a11y.translations.tableAvailable,
458
+ caption: I.value.a11y.translations.tableCaption
459
+ }, null, 8, [
460
+ "uid",
461
+ "head",
462
+ "body",
463
+ "notice",
464
+ "caption"
465
+ ])) : p("", !0),
466
+ I.value.style.title.text ? (x(), m("div", {
467
+ key: 1,
468
+ style: b(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${I.value.style.title.margin};padding: 0 6px;text-align:${I.value.style.title.textAlign}`)
469
+ }, [h("div", {
470
+ class: "atom-title",
471
+ style: b(`font-size:${I.value.style.title.fontSize}px;color:${I.value.style.title.color};font-weight:${I.value.style.title.bold ? "bold" : "normal"}`)
472
+ }, T(I.value.style.title.text), 5), I.value.style.title.subtitle.text ? (x(), m("div", {
473
+ key: 0,
474
+ class: "atom-subtitle",
475
+ style: b(`font-size:${I.value.style.title.subtitle.fontSize}px;color:${I.value.style.title.subtitle.color};font-weight:${I.value.style.title.subtitle.bold ? "bold" : "normal"}`)
476
+ }, T(I.value.style.title.subtitle.text), 5)) : p("", !0)], 4)) : p("", !0),
477
+ h("div", Oe, [(x(), m("svg", {
478
+ ref_key: "svgRef",
479
+ ref: B,
480
+ xmlns: E(ie),
481
+ width: "100%",
482
+ viewBox: `0 0 ${G.value.width} ${G.value.height}`,
483
+ "aria-describedby": `chart-instructions-${O.value}`,
484
+ tabindex: "0",
485
+ onFocus: yt,
486
+ onBlur: bt,
487
+ onKeydown: xt
488
+ }, [
489
+ g(E(Ke)),
490
+ h("defs", null, [(x(!0), m(u, null, C(X.value, (e, t) => (x(), f(me, {
491
+ t: "linear",
492
+ id: `stack_gradient_${t}_${O.value}`,
493
+ key: `stack_gradient_${t}`,
494
+ gradientTransform: "rotate(90)",
495
+ stops: [
496
+ [
497
+ "0%",
498
+ e.color,
499
+ 1
500
+ ],
501
+ [
502
+ "50%",
503
+ E(a)(E(o)(e.color, .05), 100 - I.value.style.bar.gradient.intensity),
504
+ 1
505
+ ],
506
+ [
507
+ "100%",
508
+ e.color,
509
+ 1
510
+ ]
511
+ ]
512
+ }, null, 8, ["id", "stops"]))), 128)), h("clipPath", { id: `stackPill_${O.value}` }, [h("rect", {
513
+ x: "0",
514
+ y: "0",
515
+ width: pt.value,
516
+ height: G.value.height,
517
+ rx: _t.value,
518
+ class: v({ animated: !W.value && !E(R) })
519
+ }, null, 10, je)], 8, Ae)]),
520
+ st.value > 0 ? (x(), m(u, { key: 0 }, [h("g", { "clip-path": `url(#stackPill_${O.value})` }, [
521
+ (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
522
+ key: `stack_underlayer_${t}`,
523
+ x: e.start,
524
+ y: 0,
525
+ width: e.width,
526
+ height: G.value.height,
527
+ fill: I.value.style.bar.gradient.underlayerColor,
528
+ class: v({ animated: !W.value && !E(R) }),
529
+ style: b({ opacity: k.value && F.value !== null && I.value.style.tooltip.show ? F.value === e.seriesIndex ? 1 : .5 : 1 })
530
+ }, null, 14, Ne))), 128)),
531
+ (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
532
+ key: `stack_${t}`,
533
+ x: e.start,
534
+ y: 0,
535
+ width: e.width,
536
+ height: G.value.height,
537
+ fill: I.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${O.value})` : e.color,
538
+ class: v({ animated: !W.value && !E(R) }),
539
+ style: b({ opacity: k.value && F.value !== null && I.value.style.tooltip.show ? F.value === e.seriesIndex ? 1 : .5 : 1 })
540
+ }, null, 14, Pe))), 128)),
541
+ (x(!0), m(u, null, C(X.value.slice(1), (e, t) => (x(), m("rect", {
542
+ key: `stack_separator_${t}`,
543
+ x: e.start - .5,
544
+ y: "0",
545
+ width: "1",
546
+ height: G.value.height,
547
+ fill: I.value.style.backgroundColor,
548
+ "pointer-events": "none",
549
+ class: v({ animated: !W.value && !E(R) })
550
+ }, null, 10, Fe))), 128)),
551
+ (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
552
+ key: `stack_trap_${t}`,
553
+ x: e.start,
554
+ y: 0,
555
+ width: e.width,
556
+ height: G.value.height,
557
+ fill: "transparent",
558
+ stroke: "none",
559
+ class: v({ animated: !W.value && !E(R) }),
560
+ onClick: () => Z(e, t),
561
+ onMouseenter: () => gt({
562
+ datapoint: e,
563
+ seriesIndex: e.seriesIndex
564
+ }),
565
+ onMouseleave: (t) => ht({
566
+ datapoint: e,
567
+ seriesIndex: e.seriesIndex
568
+ })
569
+ }, null, 42, Ie))), 128))
570
+ ], 8, Me), h("rect", {
571
+ x: "0.5",
572
+ y: "0.5",
573
+ width: G.value.width - 1,
574
+ height: G.value.height - 1,
575
+ rx: Math.max(0, _t.value - .5),
576
+ fill: "none",
577
+ stroke: I.value.style.backgroundColor,
578
+ "stroke-width": "1",
579
+ "pointer-events": "none"
580
+ }, null, 8, Le)], 64)) : (x(), m("rect", {
581
+ key: 1,
582
+ x: 2,
583
+ y: 1,
584
+ width: G.value.width - 4,
585
+ height: G.value.height - 2,
586
+ stroke: "#CCCCCC",
587
+ "stroke-width": "2",
588
+ fill: "transparent",
589
+ rx: (G.value.height - 4) / 2
590
+ }, null, 8, Re))
591
+ ], 40, ke)), e.$slots.hint ? (x(), m("div", ze, [w(e.$slots, "hint", y(_({
592
+ hint: I.value.a11y.translations.keyboardNavigation,
593
+ isVisible: tt.value
594
+ })), void 0, !0)])) : p("", !0)]),
595
+ I.value.style.legend.show ? (x(), m("div", {
596
+ key: 2,
597
+ style: b(`background:transparent;margin:0 auto;margin:${I.value.style.legend.margin};justify-content:${I.value.style.legend.textAlign === "left" ? "flex-start" : I.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
598
+ class: "vue-ui-sparkstackbar-legend",
599
+ "aria-label": "legend",
600
+ role: "toolbar"
601
+ }, [I.value.style.legend.selectAllToggle.show && q.value.length > 2 && !E(R) ? (x(), f(he, {
602
+ key: 0,
603
+ backgroundColor: I.value.style.legend.selectAllToggle.backgroundColor,
604
+ color: I.value.style.legend.selectAllToggle.color,
605
+ fontSize: I.value.style.legend.fontSize,
606
+ checked: K.value.length > 0,
607
+ isCursorPointer: rt.value,
608
+ onToggle: lt
609
+ }, null, 8, [
610
+ "backgroundColor",
611
+ "color",
612
+ "fontSize",
613
+ "checked",
614
+ "isCursorPointer"
615
+ ])) : p("", !0), (x(!0), m(u, null, C(q.value, (e, t) => (x(), m("div", {
616
+ role: "button",
617
+ tabindex: "0",
618
+ "aria-pressed": K.value.includes(t),
619
+ "aria-label": `${e.name}, ${K.value.includes(t) ? "hidden" : "visible"}, ${e.proportionLabel}`,
620
+ style: b(`font-size:${I.value.style.legend.fontSize}px;cursor:${rt.value ? "pointer" : "default"}`),
621
+ class: v({
622
+ "vue-ui-sparkstackbar-legend-item": !0,
623
+ "vue-ui-sparkstackbar-legend-item-unselected": K.value.includes(t)
624
+ }),
625
+ onClick: (n) => {
626
+ Y(t), Z(e, t, !0);
627
+ },
628
+ onFocus: (t) => St(e),
629
+ onBlur: Ct,
630
+ onKeydown: (n) => wt(n, e, t)
631
+ }, [h("div", Ve, [(x(), m("svg", {
632
+ height: `${I.value.style.legend.fontSize}px`,
633
+ width: `${I.value.style.legend.fontSize}px`,
634
+ viewBox: "0 0 10 10"
635
+ }, [
636
+ h("defs", null, [g(me, {
637
+ t: "radial",
638
+ id: `legend_grad_${t}-${O.value}`,
639
+ stops: [[
640
+ "0%",
641
+ E(R) ? "#FFFFFF" : E(a)(E(o)(e.color, .05), 100 - I.value.style.bar.gradient.intensity),
642
+ 1
643
+ ], [
644
+ "100%",
645
+ e.color,
646
+ 1
647
+ ]]
648
+ }, null, 8, ["id", "stops"])]),
649
+ I.value.style.bar.gradient.show ? (x(), m("rect", {
650
+ key: 0,
651
+ x: "0",
652
+ y: "0",
653
+ width: "10",
654
+ height: "10",
655
+ rx: Q.value,
656
+ fill: I.value.style.bar.gradient.underlayerColor
657
+ }, null, 8, Ue)) : p("", !0),
658
+ h("rect", {
659
+ x: "0",
660
+ y: "0",
661
+ width: "10",
662
+ height: "10",
663
+ rx: Q.value,
664
+ fill: I.value.style.bar.gradient.show ? `url(#legend_grad_${t}-${O.value})` : e.color
665
+ }, null, 8, We)
666
+ ], 8, He)), E(R) ? p("", !0) : (x(), m(u, { key: 0 }, [h("span", { style: b(`color:${I.value.style.legend.name.color}; font-weight:${I.value.style.legend.name.bold ? "bold" : "normal"}`) }, T(e.name), 5), W.value ? p("", !0) : (x(), m(u, { key: 0 }, [I.value.style.legend.percentage.show ? (x(), m("span", {
667
+ key: 0,
668
+ style: b(`font-weight:${I.value.style.legend.percentage.bold ? "bold" : "normal"};color:${I.value.style.legend.percentage.color}`)
669
+ }, T(K.value.includes(t) ? " - " : e.proportionLabel), 5)) : p("", !0), I.value.style.legend.value.show ? (x(), m("span", {
670
+ key: 1,
671
+ style: b(`font-weight:${I.value.style.legend.value.bold ? "bold" : "normal"};color:${I.value.style.legend.value.color}`)
672
+ }, " (" + T(E(te)(I.value.style.legend.value.formatter, e.value, E(s)({
673
+ p: I.value.style.legend.value.prefix,
674
+ v: e.value,
675
+ s: I.value.style.legend.value.suffix,
676
+ r: I.value.style.legend.value.rounding
677
+ }), {
678
+ datapoint: e,
679
+ seriesIndex: t
680
+ })) + ") ", 5)) : p("", !0)], 64))], 64))])], 46, Be))), 256))], 4)) : p("", !0),
681
+ g(E(qe), {
682
+ teleportTo: I.value.style.tooltip.teleportTo,
683
+ show: k.value && I.value.style.tooltip.show,
684
+ parent: $e.value,
685
+ backgroundColor: I.value.style.tooltip.backgroundColor,
686
+ color: I.value.style.tooltip.color,
687
+ fontSize: I.value.style.tooltip.fontSize,
688
+ borderRadius: I.value.style.tooltip.borderRadius,
689
+ borderColor: I.value.style.tooltip.borderColor,
690
+ borderWidth: I.value.style.tooltip.borderWidth,
691
+ backgroundOpacity: I.value.style.tooltip.backgroundOpacity,
692
+ position: I.value.style.tooltip.position,
693
+ content: A.value,
694
+ isCustom: M.value,
695
+ offsetX: I.value.style.tooltip.offsetX,
696
+ offsetY: -124 + I.value.style.tooltip.offsetY,
697
+ blockShiftY: !0,
698
+ smooth: I.value.style.tooltip.smooth,
699
+ backdropFilter: I.value.style.tooltip.backdropFilter,
700
+ smoothForce: I.value.style.tooltip.smoothForce,
701
+ smoothSnapThreshold: I.value.style.tooltip.smoothSnapThreshold,
702
+ isA11yMode: P.value === "keyboard",
703
+ a11yPosition: et.value
704
+ }, {
705
+ "tooltip-before": Te(() => [w(e.$slots, "tooltip-before", y(_({ ...j.value })), void 0, !0)]),
706
+ tooltip: Te(() => [w(e.$slots, "tooltip", y(_({ ...j.value })), void 0, !0)]),
707
+ "tooltip-after": Te(() => [w(e.$slots, "tooltip-after", y(_({ ...j.value })), void 0, !0)]),
708
+ _: 3
709
+ }, 8, [
710
+ "teleportTo",
711
+ "show",
712
+ "parent",
713
+ "backgroundColor",
714
+ "color",
715
+ "fontSize",
716
+ "borderRadius",
717
+ "borderColor",
718
+ "borderWidth",
719
+ "backgroundOpacity",
720
+ "position",
721
+ "content",
722
+ "isCustom",
723
+ "offsetX",
724
+ "offsetY",
725
+ "smooth",
726
+ "backdropFilter",
727
+ "smoothForce",
728
+ "smoothSnapThreshold",
729
+ "isA11yMode",
730
+ "a11yPosition"
731
+ ]),
732
+ e.$slots.source ? (x(), m("div", Ge, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
733
+ w(e.$slots, "skeleton", {}, () => [E(R) ? (x(), f(ue, { key: 0 })) : p("", !0)], !0)
734
+ ], 4));
735
+ }
736
+ }, [["__scopeId", "data-v-ff4d9af8"]]);
737
+ //#endregion
738
+ export { Ee as n, Ke as t };