vue-data-ui 3.24.0 → 3.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/dist/{PackageVersion-CrLLZ567.js → PackageVersion-DtE5p3O7.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-hill.js +1 -1
  28. package/dist/components/vue-ui-history-plot.js +1 -1
  29. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  30. package/dist/components/vue-ui-kpi.js +1 -1
  31. package/dist/components/vue-ui-label.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-stackline.js +1 -1
  56. package/dist/components/vue-ui-strip-plot.js +1 -1
  57. package/dist/components/vue-ui-table-heatmap.js +1 -1
  58. package/dist/components/vue-ui-table-sparkline.js +1 -1
  59. package/dist/components/vue-ui-table.js +1 -1
  60. package/dist/components/vue-ui-thermometer.js +1 -1
  61. package/dist/components/vue-ui-timer.js +1 -1
  62. package/dist/components/vue-ui-tiremarks.js +1 -1
  63. package/dist/components/vue-ui-treemap.js +1 -1
  64. package/dist/components/vue-ui-vertical-bar.js +1 -1
  65. package/dist/components/vue-ui-waffle.js +1 -1
  66. package/dist/components/vue-ui-wheel.js +1 -1
  67. package/dist/components/vue-ui-word-cloud.js +1 -1
  68. package/dist/components/vue-ui-world.js +1 -1
  69. package/dist/components/vue-ui-xy-canvas.js +1 -1
  70. package/dist/components/vue-ui-xy.js +1 -1
  71. package/dist/{package-DwX5gXIb.js → package-Bat6pcGG.js} +1 -1
  72. package/dist/{render-common-DruozHP7.js → render-common-CSapi1Tq.js} +1 -1
  73. package/dist/ssr/vue-ui-donut.js +1 -1
  74. package/dist/ssr/vue-ui-xy.js +1 -1
  75. package/dist/ssr.js +2 -2
  76. package/dist/style.css +1 -1
  77. package/dist/types/vue-data-ui.d.ts +2 -0
  78. package/dist/{useConfig-BtJSJ6AK.js → useConfig-DcMi9POF.js} +16 -10
  79. package/dist/{useObjectBindings-CgRKOMSB.js → useObjectBindings-C1q6rUju.js} +1 -1
  80. package/dist/utils.js +1 -1
  81. package/dist/{vue-data-ui-C37q2rbt.js → vue-data-ui-C0fmRYow.js} +69 -69
  82. package/dist/vue-data-ui.js +70 -70
  83. package/dist/{vue-ui-3d-bar-B_z643_d.js → vue-ui-3d-bar-ChPC71Co.js} +2 -2
  84. package/dist/{vue-ui-accordion-BhOSscZB.js → vue-ui-accordion-JvX3LRnx.js} +1 -1
  85. package/dist/{vue-ui-age-pyramid-CS1J-mHZ.js → vue-ui-age-pyramid-BYbPULSz.js} +2 -2
  86. package/dist/{vue-ui-annotator-DmTbmRrw.js → vue-ui-annotator-CP_yXH6-.js} +2 -2
  87. package/dist/{vue-ui-bullet-BUuF_-rE.js → vue-ui-bullet-q_4VhquE.js} +2 -2
  88. package/dist/{vue-ui-bump-Dt13LCR2.js → vue-ui-bump-BDzA8rut.js} +2 -2
  89. package/dist/{vue-ui-candlestick-CgvK082R.js → vue-ui-candlestick-37VcRMeY.js} +2 -2
  90. package/dist/{vue-ui-carousel-table-C6IZZLpG.js → vue-ui-carousel-table-DqSCFkVD.js} +2 -2
  91. package/dist/{vue-ui-chestnut-B03dTYpe.js → vue-ui-chestnut-BKNzHCli.js} +2 -2
  92. package/dist/{vue-ui-chord-R7YLYkOS.js → vue-ui-chord-CaqZO79L.js} +2 -2
  93. package/dist/{vue-ui-circle-pack-CxIJbXSK.js → vue-ui-circle-pack-DuagAe7S.js} +2 -2
  94. package/dist/{vue-ui-cursor-Bqm8zbqD.js → vue-ui-cursor-UznztJgM.js} +2 -2
  95. package/dist/{vue-ui-dag-TqlqeLgZ.js → vue-ui-dag-DayEAerz.js} +2 -2
  96. package/dist/{vue-ui-dashboard-W0PV1gGV.js → vue-ui-dashboard-PVDbL2as.js} +65 -65
  97. package/dist/{vue-ui-digits-D3VKW9O0.js → vue-ui-digits-ANtccD2D.js} +2 -2
  98. package/dist/{vue-ui-donut-C_CUqRdv.js → vue-ui-donut-B2SN01C2.js} +2 -2
  99. package/dist/{vue-ui-donut-8W7ZV_hU.js → vue-ui-donut-BmIwx_4X.js} +2 -2
  100. package/dist/{vue-ui-donut-evolution-CHQHSkpq.js → vue-ui-donut-evolution-DmOcFGM2.js} +2 -2
  101. package/dist/{vue-ui-dumbbell-D3G5uL-P.js → vue-ui-dumbbell-BTYjJwdn.js} +2 -2
  102. package/dist/{vue-ui-flow-CjvO8Fsp.js → vue-ui-flow-Brgb7h1u.js} +2 -2
  103. package/dist/{vue-ui-funnel-eHR9hTpj.js → vue-ui-funnel-Bakw8upJ.js} +2 -2
  104. package/dist/{vue-ui-galaxy-DBarvxFP.js → vue-ui-galaxy-CHXQeZWX.js} +2 -2
  105. package/dist/{vue-ui-gauge-Cz6PC_H5.js → vue-ui-gauge-CyNuXMfH.js} +2 -2
  106. package/dist/{vue-ui-geo-BmjzP6NK.js → vue-ui-geo-CD0mHBGl.js} +2 -2
  107. package/dist/{vue-ui-gizmo-BChwImvX.js → vue-ui-gizmo-BPIlDZzj.js} +2 -2
  108. package/dist/{vue-ui-heatmap-h0_V5jv6.js → vue-ui-heatmap-DRBR2Nat.js} +3 -3
  109. package/dist/{vue-ui-hill-D_2DFdNy.js → vue-ui-hill-CpPVpCqp.js} +2 -2
  110. package/dist/{vue-ui-history-plot-Bis3f9Ub.js → vue-ui-history-plot-Dbgh6ZMG.js} +2 -2
  111. package/dist/{vue-ui-horizontal-bar-2AOgQ694.js → vue-ui-horizontal-bar-CcbktPgh.js} +3 -3
  112. package/dist/{vue-ui-kpi-k0yLSsqF.js → vue-ui-kpi-CCW0CCsE.js} +2 -2
  113. package/dist/{vue-ui-label-aHnVFvfK.js → vue-ui-label-C5KLiynU.js} +1 -1
  114. package/dist/{vue-ui-mini-loader-DUsSEO5b.js → vue-ui-mini-loader-Cciw-UGb.js} +1 -1
  115. package/dist/{vue-ui-molecule--1J4__BY.js → vue-ui-molecule-CAcS9ieT.js} +2 -2
  116. package/dist/{vue-ui-mood-radar-BEruKK_i.js → vue-ui-mood-radar-CH3rh85o.js} +2 -2
  117. package/dist/{vue-ui-nested-donuts-MBeHoc-t.js → vue-ui-nested-donuts-DszZU11H.js} +2 -2
  118. package/dist/{vue-ui-onion-j0eEGvru.js → vue-ui-onion-DB5c36QB.js} +2 -2
  119. package/dist/{vue-ui-parallel-coordinate-plot-BvuYSu3N.js → vue-ui-parallel-coordinate-plot-X6D_5Mj4.js} +2 -2
  120. package/dist/{vue-ui-quadrant-DWtwr7JT.js → vue-ui-quadrant-C8Y-yWaA.js} +2 -2
  121. package/dist/{vue-ui-quick-chart-vhICAvQe.js → vue-ui-quick-chart-CCVKDf4q.js} +2 -2
  122. package/dist/{vue-ui-radar-e9eoRxOC.js → vue-ui-radar-1xUvbkGR.js} +2 -2
  123. package/dist/{vue-ui-rating-WsMfVsJN.js → vue-ui-rating-C7HEmcRF.js} +1 -1
  124. package/dist/{vue-ui-relation-circle-NgJ8121q.js → vue-ui-relation-circle-Be3arMpy.js} +2 -2
  125. package/dist/{vue-ui-ridgeline-BZ1Czz8V.js → vue-ui-ridgeline-hr0s0GV0.js} +2 -2
  126. package/dist/{vue-ui-rings-grgJPuxE.js → vue-ui-rings-DaXIzfV_.js} +4 -4
  127. package/dist/{vue-ui-scatter-DuqZxbZD.js → vue-ui-scatter-QNsbsTU3.js} +2 -2
  128. package/dist/{vue-ui-skeleton-CnexlOV6.js → vue-ui-skeleton-1fsWFan-.js} +2 -2
  129. package/dist/{vue-ui-smiley-Bvs5RJtM.js → vue-ui-smiley-CN4OtE_a.js} +1 -1
  130. package/dist/{vue-ui-spark-trend-C2knAS0F.js → vue-ui-spark-trend-CeuwSIJP.js} +2 -2
  131. package/dist/vue-ui-sparkbar-BykHIrxz.js +401 -0
  132. package/dist/{vue-ui-sparkgauge-CCkcq4Wh.js → vue-ui-sparkgauge-irYUg_Rc.js} +2 -2
  133. package/dist/{vue-ui-sparkhistogram-B-fzheQo.js → vue-ui-sparkhistogram-DzNLp6Cm.js} +2 -2
  134. package/dist/{vue-ui-sparkline-DVYlqELY.js → vue-ui-sparkline-BJuiIvej.js} +2 -2
  135. package/dist/vue-ui-sparkstackbar-CocakHUY.js +738 -0
  136. package/dist/{vue-ui-stackbar-CIUS0xkc.js → vue-ui-stackbar-DHAf4jiH.js} +2 -2
  137. package/dist/{vue-ui-stackline-Dy4tIQwk.js → vue-ui-stackline-DhI6OUVZ.js} +2 -2
  138. package/dist/{vue-ui-strip-plot-Sshmlk9v.js → vue-ui-strip-plot-DxbyNG63.js} +2 -2
  139. package/dist/{vue-ui-table-DSUvcqI9.js → vue-ui-table-BjXS95bg.js} +3 -3
  140. package/dist/{vue-ui-table-heatmap-btnDozZ-.js → vue-ui-table-heatmap-CQGZCO11.js} +1 -1
  141. package/dist/{vue-ui-table-sparkline-C12IgrZG.js → vue-ui-table-sparkline-uZFaAqdt.js} +2 -2
  142. package/dist/{vue-ui-thermometer-3ZSPCE1q.js → vue-ui-thermometer-9U-zKD__.js} +2 -2
  143. package/dist/{vue-ui-timer-Birf1RVz.js → vue-ui-timer-Bm3CbIuS.js} +2 -2
  144. package/dist/{vue-ui-tiremarks-BuzKLW5l.js → vue-ui-tiremarks-CdRfwM99.js} +2 -2
  145. package/dist/{vue-ui-treemap-DMwq5MYv.js → vue-ui-treemap-5i3XHRb4.js} +2 -2
  146. package/dist/{vue-ui-waffle-wjn4e1mz.js → vue-ui-waffle-nSiwg2fY.js} +2 -2
  147. package/dist/{vue-ui-wheel-BS6f8xC-.js → vue-ui-wheel-dpWC3-wh.js} +2 -2
  148. package/dist/{vue-ui-word-cloud-BH1JB5hg.js → vue-ui-word-cloud-BVU-x59g.js} +2 -2
  149. package/dist/{vue-ui-world-DtNML6Oz.js → vue-ui-world-CwI1vCHG.js} +2 -2
  150. package/dist/{vue-ui-xy-B9S7cAhC.js → vue-ui-xy-BKb9YmVU.js} +3 -3
  151. package/dist/{vue-ui-xy-DNvRGCN_.js → vue-ui-xy-DqSbxddV.js} +2 -2
  152. package/dist/{vue-ui-xy-canvas-Hk0x8dd_.js → vue-ui-xy-canvas-Bs_O-0UT.js} +2 -2
  153. package/package.json +3 -3
  154. package/dist/vue-ui-sparkbar-Daxkni2h.js +0 -400
  155. package/dist/vue-ui-sparkstackbar-pip0BOeZ.js +0 -688
@@ -0,0 +1,738 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Ht as t, It as n, Jt as r, Nt as i, S as a, St as o, Ut as s, X as c, Xt as ee, i as te, mt as ne, nt as re, q as ie, t as ae, w as oe } from "./lib-DfMn_3jf.js";
3
+ import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
+ import { t as le } from "./useConfig-DcMi9POF.js";
5
+ import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as fe } from "./useNestedProp-CLEe1P5W.js";
7
+ import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
+ import { t as he } from "./DefGrad-DVBqDjhO.js";
10
+ import { t as ge } from "./BaseLegendToggle-B_wibe7d.js";
11
+ import { t as _e } from "./A11yDataTable-DdRsVULz.js";
12
+ import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
13
+ import { t as ye } from "./usePrefersMotion-BC-CsqR1.js";
14
+ import { t as be } from "./vue_ui_sparkstackbar-BOjuQnZd.js";
15
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as xe, guardReactiveProps as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onMounted as Se, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, toRefs as Ce, unref as T, useSlots as we, watch as Te, withCtx as E } from "vue";
16
+ //#region src/components/vue-ui-sparkstackbar.vue
17
+ var Ee = /* @__PURE__ */ e({ default: () => D }), 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
+ }, D = /*#__PURE__*/ me({
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: me, emit: Ee }) {
99
+ let D = xe(() => import("./PackageVersion-DtE5p3O7.js").then((e) => e.t)), Ke = xe(() => import("./Tooltip-CTgk02J6.js")), { vue_ui_sparkstackbar: qe } = le(), { isThemeValid: Je, warnInvalidTheme: Ye } = pe(), Xe = ye(), Ze = we(), O = e, Qe = x(null), k = x(ie()), A = x(!1), $e = x(""), j = x(null), M = x(!1), N = x(null), et = x({
100
+ x: 0,
101
+ y: 0
102
+ }), P = x("pointer"), F = x(!1), I = x(null), tt = x([]), L = x(it()), R = u(() => L.value.debug);
103
+ Se(() => {
104
+ Ze["chart-background"] && R.value && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
105
+ }), se({
106
+ config: () => L.value,
107
+ dataset: () => O.dataset,
108
+ component: "VueUiSparkStackbar",
109
+ rules: [ce.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 nt = u(() => L.value.useCursorPointer), rt = u(() => ee({
121
+ defaultConfig: { style: {
122
+ backgroundColor: "#99999930",
123
+ animation: { show: !1 },
124
+ bar: { gradient: { inderlayerColor: "#6A6A6A" } },
125
+ title: { backgroundColor: "transparent" }
126
+ } },
127
+ userConfig: L.value.skeletonConfig ?? {}
128
+ })), { loading: z, FINAL_DATASET: B } = ue({
129
+ ...Ce(O),
130
+ FINAL_CONFIG: L,
131
+ prepareConfig: it,
132
+ skeletonDataset: O.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: ee({
150
+ defaultConfig: L.value,
151
+ userConfig: rt.value
152
+ })
153
+ }), { svgRef: V } = ve({ config: L.value.style.title });
154
+ function it() {
155
+ let e = fe({
156
+ userConfig: O.config,
157
+ defaultConfig: qe
158
+ }), t = e.theme;
159
+ if (!t) return e;
160
+ if (!Je.value(e)) return Ye(e), e;
161
+ let i = fe({
162
+ userConfig: be[t] || O.config,
163
+ defaultConfig: e
164
+ }), a = fe({
165
+ userConfig: O.config,
166
+ defaultConfig: i
167
+ });
168
+ return {
169
+ ...a,
170
+ customPalette: a.customPalette.length ? a.customPalette : r[t] || n
171
+ };
172
+ }
173
+ Te(() => O.config, (e) => {
174
+ L.value = it(), ot();
175
+ }, { deep: !0 }), Te(() => B.value, (e) => {
176
+ U.value = B.value.map((e, t) => ({
177
+ ...e,
178
+ color: e.color ? a(e.color) : H.value[t] || n[t] || n[t % n.length]
179
+ })), at();
180
+ }, { deep: !0 });
181
+ let H = u(() => oe(L.value.customPalette)), U = x(B.value.map((e, t) => ({
182
+ ...e,
183
+ value: L.value.style.animation.show ? 0 : e.value || 0,
184
+ color: e.color ? a(e.color) : H.value[t] || n[t] || n[t % n.length]
185
+ }))), W = x(!0);
186
+ function at() {
187
+ if (!L.value.style.animation.show || Xe.value) {
188
+ W.value = !1;
189
+ return;
190
+ }
191
+ let e = L.value.style.animation.animationFrames, t = B.value.map((e) => e.value || 0), r = t.map((t) => t / e), i = t.reduce((e, t) => e + t, 0), o = 0;
192
+ W.value = !0, U.value = B.value.map((e, t) => ({
193
+ ...e,
194
+ value: 0,
195
+ color: e.color ? a(e.color) : H.value[t] || n[t] || n[t % n.length]
196
+ }));
197
+ function s() {
198
+ o += i / e, o < i ? (U.value = U.value.map((e, i) => ({
199
+ ...e,
200
+ value: Math.min(e.value + r[i], t[i]),
201
+ color: e.color ? a(e.color) : H.value[i] || n[i] || n[i % n.length]
202
+ })), requestAnimationFrame(s)) : (W.value = !1, U.value = B.value.map((e, r) => ({
203
+ ...e,
204
+ value: t[r],
205
+ color: e.color ? a(e.color) : H.value[r] || n[r] || n[r % n.length],
206
+ id: ie()
207
+ })));
208
+ }
209
+ s();
210
+ }
211
+ Se(() => {
212
+ ot();
213
+ });
214
+ function ot() {
215
+ i(O.dataset) ? re({
216
+ componentName: "VueUiSparkStackbar",
217
+ type: "dataset",
218
+ debug: R.value
219
+ }) : R.value && O.dataset.forEach((e, t) => {
220
+ ne({
221
+ datasetObject: e,
222
+ requiredAttributes: ["name", "value"]
223
+ }).forEach((e) => {
224
+ re({
225
+ componentName: "VueUiSparkStackbar",
226
+ type: "datasetSerieAttribute",
227
+ property: e,
228
+ index: t
229
+ });
230
+ });
231
+ }), at();
232
+ }
233
+ let G = x({
234
+ width: 500,
235
+ height: 16
236
+ }), K = x([]), st = u(() => B.value.map((e) => e.value || 0).filter((e, t) => !K.value.includes(t)).reduce((e, t) => e + t, 0)), q = u(() => U.value.map((e, t) => {
237
+ let r = e.value || 0, i = r / st.value, o = isNaN(i) ? 0 : i, s = o * G.value.width;
238
+ return {
239
+ ...e,
240
+ color: a(B.value[t]?.color ? B.value[t]?.color : H.value[t] || n[t] || n[t % n.length]),
241
+ value: r,
242
+ proportion: o,
243
+ width: s,
244
+ seriesIndex: t,
245
+ proportionLabel: c({
246
+ v: o * 100,
247
+ s: "%",
248
+ r: L.value.style.legend.percentage.rounding
249
+ })
250
+ };
251
+ })), J = u(() => q.value.filter((e, t) => !K.value.includes(t)));
252
+ function ct() {
253
+ A.value = !1, I.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) || (L.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${e}"`), null) : (L.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 = u(() => {
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 = u(() => {
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
+ }), L.value.events.datapointClick && !n && L.value.events.datapointClick({
290
+ datapoint: e,
291
+ seriesIndex: e.seriesIndex
292
+ });
293
+ }
294
+ function ht({ datapoint: e, seriesIndex: t }) {
295
+ A.value = !1, I.value = null, N.value = null, P.value = "pointer", L.value.events.datapointLeave && L.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, L.value.events.datapointEnter && L.value.events.datapointEnter({
302
+ datapoint: e,
303
+ seriesIndex: e.seriesIndex
304
+ }), !L.value.style.tooltip.show) return;
305
+ P.value = r, j.value = {
306
+ datapoint: e,
307
+ seriesIndex: n,
308
+ config: L.value,
309
+ series: q.value
310
+ }, A.value = !0, I.value = e.seriesIndex;
311
+ let i = L.value.style.tooltip.customFormat;
312
+ if (o(i)) try {
313
+ let t = i({
314
+ seriesIndex: e.seriesIndex,
315
+ datapoint: e,
316
+ series: q.value,
317
+ config: L.value
318
+ });
319
+ typeof t == "string" && ($e.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 r = "", i = L.value.style.bar.gradient.show, a = `tooltip_grad_${n}_${k.value}`, o = t(s(e.color, .05), 100 - L.value.style.bar.gradient.intensity), ee = i ? `<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${L.value.style.bar.gradient.underlayerColor}"/>` : "", ne = i ? `<defs><radialGradient id="${a}"><stop offset="0%" stop-color="${o}"/><stop offset="100%" stop-color="${e.color}"/></radialGradient></defs>` : "";
325
+ r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 10 10" height="14" width="14">${ne}${ee}<rect x="0" y="0" width="10" height="10" rx="${Q.value}" fill="${i ? `url(#${a})` : e.color}"/></svg>`, r += `<b>${e.proportionLabel}</b>`, r += `<span>(${te(L.value.style.legend.value.formatter, e.value, c({
326
+ p: L.value.style.legend.value.prefix,
327
+ v: e.value,
328
+ s: L.value.style.legend.value.suffix,
329
+ r: L.value.style.legend.value.rounding
330
+ }), {
331
+ datapoint: e,
332
+ seriesIndex: n
333
+ })})</span>`, $e.value = `<div>${r}</div>`;
334
+ }
335
+ }
336
+ let _t = u(() => {
337
+ let e = L.value.style.bar.borderRadius == null ? G.value.height / 2 : L.value.style.bar.borderRadius;
338
+ return Math.min(Math.max(e, 0), G.value.height / 2);
339
+ }), Q = u(() => {
340
+ let e = G.value.height / 2;
341
+ return e === 0 ? 5 : _t.value / e * 5;
342
+ });
343
+ function $(e) {
344
+ let t = tt.value[e];
345
+ t && typeof t.focus == "function" && t.focus();
346
+ }
347
+ function vt(e) {
348
+ if (!Number.isFinite(e) || !V.value) return;
349
+ let t = X.value[e];
350
+ if (!t) return;
351
+ let n = V.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, F.value = !0;
359
+ }
360
+ function bt() {
361
+ N.value = null, P.value = "pointer", A.value = !1, I.value = null, F.value = !1;
362
+ }
363
+ function xt(e) {
364
+ if (!V.value || document.activeElement !== V.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", A.value = !1, I.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
+ A.value = !1, N.value = null, P.value = "pointer", I.value = e.seriesIndex;
389
+ }
390
+ function Ct() {
391
+ N.value = null, P.value = "pointer", A.value = !1, I.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 = u(() => ({
420
+ headers: [
421
+ L.value.a11y.translations.series,
422
+ L.value.a11y.translations.percentage,
423
+ L.value.a11y.translations.value
424
+ ],
425
+ rows: q.value.map((e, t) => [
426
+ e.name,
427
+ K.value.includes(t) ? " - " : e.proportionLabel,
428
+ te(L.value.style.legend.value.formatter, e.value, c({
429
+ p: L.value.style.legend.value.prefix,
430
+ v: e.value,
431
+ s: L.value.style.legend.value.suffix,
432
+ r: L.value.style.legend.value.rounding
433
+ }), {
434
+ datapoint: e,
435
+ seriesIndex: t
436
+ })
437
+ ])
438
+ }));
439
+ return me({
440
+ hideSeries: ft,
441
+ showSeries: dt
442
+ }), (e, n) => (b(), p("div", {
443
+ class: "vue-data-ui-component vue-ui-spark-stackbar",
444
+ ref_key: "sparkstackbarChart",
445
+ ref: Qe,
446
+ style: y(`width:100%; background:${L.value.style.backgroundColor}`)
447
+ }, [
448
+ m("div", {
449
+ id: `chart-instructions-${k.value}`,
450
+ class: "sr-only"
451
+ }, [m("p", null, w(L.value.a11y.translations.keyboardNavigation), 1)], 8, De),
452
+ Tt.value?.rows?.length ? (b(), d(_e, {
453
+ key: 0,
454
+ uid: k.value,
455
+ head: Tt.value.headers,
456
+ body: Tt.value.rows,
457
+ notice: L.value.a11y.translations.tableAvailable,
458
+ caption: L.value.a11y.translations.tableCaption
459
+ }, null, 8, [
460
+ "uid",
461
+ "head",
462
+ "body",
463
+ "notice",
464
+ "caption"
465
+ ])) : f("", !0),
466
+ L.value.style.title.text ? (b(), p("div", {
467
+ key: 1,
468
+ style: y(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${L.value.style.title.margin};padding: 0 6px;text-align:${L.value.style.title.textAlign}`)
469
+ }, [m("div", {
470
+ class: "atom-title",
471
+ style: y(`font-size:${L.value.style.title.fontSize}px;color:${L.value.style.title.color};font-weight:${L.value.style.title.bold ? "bold" : "normal"}`)
472
+ }, w(L.value.style.title.text), 5), L.value.style.title.subtitle.text ? (b(), p("div", {
473
+ key: 0,
474
+ class: "atom-subtitle",
475
+ style: y(`font-size:${L.value.style.title.subtitle.fontSize}px;color:${L.value.style.title.subtitle.color};font-weight:${L.value.style.title.subtitle.bold ? "bold" : "normal"}`)
476
+ }, w(L.value.style.title.subtitle.text), 5)) : f("", !0)], 4)) : f("", !0),
477
+ m("div", Oe, [(b(), p("svg", {
478
+ ref_key: "svgRef",
479
+ ref: V,
480
+ xmlns: T(ae),
481
+ width: "100%",
482
+ viewBox: `0 0 ${G.value.width} ${G.value.height}`,
483
+ "aria-describedby": `chart-instructions-${k.value}`,
484
+ tabindex: "0",
485
+ onFocus: yt,
486
+ onBlur: bt,
487
+ onKeydown: xt
488
+ }, [
489
+ h(T(D)),
490
+ m("defs", null, [(b(!0), p(l, null, S(X.value, (e, n) => (b(), d(he, {
491
+ t: "linear",
492
+ id: `stack_gradient_${n}_${k.value}`,
493
+ key: `stack_gradient_${n}`,
494
+ gradientTransform: "rotate(90)",
495
+ stops: [
496
+ [
497
+ "0%",
498
+ e.color,
499
+ 1
500
+ ],
501
+ [
502
+ "50%",
503
+ T(t)(T(s)(e.color, .05), 100 - L.value.style.bar.gradient.intensity),
504
+ 1
505
+ ],
506
+ [
507
+ "100%",
508
+ e.color,
509
+ 1
510
+ ]
511
+ ]
512
+ }, null, 8, ["id", "stops"]))), 128)), m("clipPath", { id: `stackPill_${k.value}` }, [m("rect", {
513
+ x: "0",
514
+ y: "0",
515
+ width: pt.value,
516
+ height: G.value.height,
517
+ rx: _t.value,
518
+ class: _({ animated: !W.value && !T(z) })
519
+ }, null, 10, je)], 8, Ae)]),
520
+ st.value > 0 ? (b(), p(l, { key: 0 }, [m("g", { "clip-path": `url(#stackPill_${k.value})` }, [
521
+ (b(!0), p(l, null, S(X.value, (e, t) => (b(), p("rect", {
522
+ key: `stack_underlayer_${t}`,
523
+ x: e.start,
524
+ y: 0,
525
+ width: e.width,
526
+ height: G.value.height,
527
+ fill: L.value.style.bar.gradient.underlayerColor,
528
+ class: _({ animated: !W.value && !T(z) }),
529
+ style: y({ opacity: A.value && I.value !== null && L.value.style.tooltip.show ? I.value === e.seriesIndex ? 1 : .5 : 1 })
530
+ }, null, 14, Ne))), 128)),
531
+ (b(!0), p(l, null, S(X.value, (e, t) => (b(), p("rect", {
532
+ key: `stack_${t}`,
533
+ x: e.start,
534
+ y: 0,
535
+ width: e.width,
536
+ height: G.value.height,
537
+ fill: L.value.style.bar.gradient.show ? `url(#stack_gradient_${t}_${k.value})` : e.color,
538
+ class: _({ animated: !W.value && !T(z) }),
539
+ style: y({ opacity: A.value && I.value !== null && L.value.style.tooltip.show ? I.value === e.seriesIndex ? 1 : .5 : 1 })
540
+ }, null, 14, Pe))), 128)),
541
+ (b(!0), p(l, null, S(X.value.slice(1), (e, t) => (b(), p("rect", {
542
+ key: `stack_separator_${t}`,
543
+ x: e.start - .5,
544
+ y: "0",
545
+ width: "1",
546
+ height: G.value.height,
547
+ fill: L.value.style.backgroundColor,
548
+ "pointer-events": "none",
549
+ class: _({ animated: !W.value && !T(z) })
550
+ }, null, 10, Fe))), 128)),
551
+ (b(!0), p(l, null, S(X.value, (e, t) => (b(), p("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: _({ animated: !W.value && !T(z) }),
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), m("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: L.value.style.backgroundColor,
578
+ "stroke-width": "1",
579
+ "pointer-events": "none"
580
+ }, null, 8, Le)], 64)) : (b(), p("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 ? (b(), p("div", ze, [C(e.$slots, "hint", v(g({
592
+ hint: L.value.a11y.translations.keyboardNavigation,
593
+ isVisible: F.value
594
+ })), void 0, !0)])) : f("", !0)]),
595
+ L.value.style.legend.show ? (b(), p("div", {
596
+ key: 2,
597
+ style: y(`background:transparent;margin:0 auto;margin:${L.value.style.legend.margin};justify-content:${L.value.style.legend.textAlign === "left" ? "flex-start" : L.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
598
+ class: "vue-ui-sparkstackbar-legend",
599
+ "aria-label": "legend",
600
+ role: "toolbar"
601
+ }, [L.value.style.legend.selectAllToggle.show && q.value.length > 2 && !T(z) ? (b(), d(ge, {
602
+ key: 0,
603
+ backgroundColor: L.value.style.legend.selectAllToggle.backgroundColor,
604
+ color: L.value.style.legend.selectAllToggle.color,
605
+ fontSize: L.value.style.legend.fontSize,
606
+ checked: K.value.length > 0,
607
+ isCursorPointer: nt.value,
608
+ onToggle: lt
609
+ }, null, 8, [
610
+ "backgroundColor",
611
+ "color",
612
+ "fontSize",
613
+ "checked",
614
+ "isCursorPointer"
615
+ ])) : f("", !0), (b(!0), p(l, null, S(q.value, (e, n) => (b(), p("div", {
616
+ role: "button",
617
+ tabindex: "0",
618
+ "aria-pressed": K.value.includes(n),
619
+ "aria-label": `${e.name}, ${K.value.includes(n) ? "hidden" : "visible"}, ${e.proportionLabel}`,
620
+ style: y(`font-size:${L.value.style.legend.fontSize}px;cursor:${nt.value ? "pointer" : "default"}`),
621
+ class: _({
622
+ "vue-ui-sparkstackbar-legend-item": !0,
623
+ "vue-ui-sparkstackbar-legend-item-unselected": K.value.includes(n)
624
+ }),
625
+ onClick: (t) => {
626
+ Y(n), Z(e, n, !0);
627
+ },
628
+ onFocus: (t) => St(e),
629
+ onBlur: Ct,
630
+ onKeydown: (t) => wt(t, e, n)
631
+ }, [m("div", Ve, [(b(), p("svg", {
632
+ height: `${L.value.style.legend.fontSize}px`,
633
+ width: `${L.value.style.legend.fontSize}px`,
634
+ viewBox: "0 0 10 10"
635
+ }, [
636
+ m("defs", null, [h(he, {
637
+ t: "radial",
638
+ id: `legend_grad_${n}-${k.value}`,
639
+ stops: [[
640
+ "0%",
641
+ T(z) ? "#FFFFFF" : T(t)(T(s)(e.color, .05), 100 - L.value.style.bar.gradient.intensity),
642
+ 1
643
+ ], [
644
+ "100%",
645
+ e.color,
646
+ 1
647
+ ]]
648
+ }, null, 8, ["id", "stops"])]),
649
+ L.value.style.bar.gradient.show ? (b(), p("rect", {
650
+ key: 0,
651
+ x: "0",
652
+ y: "0",
653
+ width: "10",
654
+ height: "10",
655
+ rx: Q.value,
656
+ fill: L.value.style.bar.gradient.underlayerColor
657
+ }, null, 8, Ue)) : f("", !0),
658
+ m("rect", {
659
+ x: "0",
660
+ y: "0",
661
+ width: "10",
662
+ height: "10",
663
+ rx: Q.value,
664
+ fill: L.value.style.bar.gradient.show ? `url(#legend_grad_${n}-${k.value})` : e.color
665
+ }, null, 8, We)
666
+ ], 8, He)), T(z) ? f("", !0) : (b(), p(l, { key: 0 }, [m("span", { style: y(`color:${L.value.style.legend.name.color}; font-weight:${L.value.style.legend.name.bold ? "bold" : "normal"}`) }, w(e.name), 5), W.value ? f("", !0) : (b(), p(l, { key: 0 }, [L.value.style.legend.percentage.show ? (b(), p("span", {
667
+ key: 0,
668
+ style: y(`font-weight:${L.value.style.legend.percentage.bold ? "bold" : "normal"};color:${L.value.style.legend.percentage.color}`)
669
+ }, w(K.value.includes(n) ? " - " : e.proportionLabel), 5)) : f("", !0), L.value.style.legend.value.show ? (b(), p("span", {
670
+ key: 1,
671
+ style: y(`font-weight:${L.value.style.legend.value.bold ? "bold" : "normal"};color:${L.value.style.legend.value.color}`)
672
+ }, " (" + w(T(te)(L.value.style.legend.value.formatter, e.value, T(c)({
673
+ p: L.value.style.legend.value.prefix,
674
+ v: e.value,
675
+ s: L.value.style.legend.value.suffix,
676
+ r: L.value.style.legend.value.rounding
677
+ }), {
678
+ datapoint: e,
679
+ seriesIndex: n
680
+ })) + ") ", 5)) : f("", !0)], 64))], 64))])], 46, Be))), 256))], 4)) : f("", !0),
681
+ h(T(Ke), {
682
+ teleportTo: L.value.style.tooltip.teleportTo,
683
+ show: A.value && L.value.style.tooltip.show,
684
+ parent: Qe.value,
685
+ backgroundColor: L.value.style.tooltip.backgroundColor,
686
+ color: L.value.style.tooltip.color,
687
+ fontSize: L.value.style.tooltip.fontSize,
688
+ borderRadius: L.value.style.tooltip.borderRadius,
689
+ borderColor: L.value.style.tooltip.borderColor,
690
+ borderWidth: L.value.style.tooltip.borderWidth,
691
+ backgroundOpacity: L.value.style.tooltip.backgroundOpacity,
692
+ position: L.value.style.tooltip.position,
693
+ content: $e.value,
694
+ isCustom: M.value,
695
+ offsetX: L.value.style.tooltip.offsetX,
696
+ offsetY: -124 + L.value.style.tooltip.offsetY,
697
+ blockShiftY: !0,
698
+ smooth: L.value.style.tooltip.smooth,
699
+ backdropFilter: L.value.style.tooltip.backdropFilter,
700
+ smoothForce: L.value.style.tooltip.smoothForce,
701
+ smoothSnapThreshold: L.value.style.tooltip.smoothSnapThreshold,
702
+ isA11yMode: P.value === "keyboard",
703
+ a11yPosition: et.value
704
+ }, {
705
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...j.value })), void 0, !0)]),
706
+ tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...j.value })), void 0, !0)]),
707
+ "tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...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 ? (b(), p("div", Ge, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
733
+ C(e.$slots, "skeleton", {}, () => [T(z) ? (b(), d(de, { key: 0 })) : f("", !0)], !0)
734
+ ], 4));
735
+ }
736
+ }, [["__scopeId", "data-v-ff4d9af8"]]);
737
+ //#endregion
738
+ export { Ee as n, D as t };