vue-data-ui 3.5.2 → 3.7.0

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 (199) hide show
  1. package/README.md +36 -27
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ymf2sfB8.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-BmMbm4d0.js → BaseIcon-CofSxalQ.js} +6 -5
  5. package/dist/{ColorPicker-ChuwChMo.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-BT7VF2ua.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-G6GMcdAc.js → Legend-Web3GjlR.js} +10 -10
  8. package/dist/{NonSvgPenAndPaper-DVgKKLIf.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-Y7t79Jtq.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-SZQIAgkg.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-D2wm0coO.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-ij72TAs6.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-BzH_LEA3.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-CGnQt6Fd.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  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 +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +5 -0
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +303 -9
  90. package/dist/types/vue-ui-stackline.d.ts +18 -0
  91. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  92. package/dist/{useNestedProp-CReNavA0.js → useNestedProp-CWo6bftQ.js} +535 -329
  93. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  94. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  95. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  96. package/dist/{vue-data-ui-BRaq4hRp.js → vue-data-ui-ByLTJx5V.js} +79 -77
  97. package/dist/vue-data-ui.js +226 -204
  98. package/dist/{vue-ui-3d-bar-BB4ii8Nt.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  99. package/dist/{vue-ui-accordion-BmFTVF1a.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  100. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  101. package/dist/{vue-ui-annotator-CcpaXBNK.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  102. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  103. package/dist/{vue-ui-candlestick-CMP7UL6z.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  104. package/dist/{vue-ui-carousel-table-CzOcKsDj.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  105. package/dist/{vue-ui-chestnut-S787oASt.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  106. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  107. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  108. package/dist/{vue-ui-cursor-C3yD_TUr.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  109. package/dist/{vue-ui-dashboard-BfEcVRxQ.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  110. package/dist/{vue-ui-digits-pRh179Gg.js → vue-ui-digits-D382I0-w.js} +2 -2
  111. package/dist/{vue-ui-donut-B_tEm4dT.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  112. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  113. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  114. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  115. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  116. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  117. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  118. package/dist/{vue-ui-gizmo-BQzQlUJ8.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  119. package/dist/{vue-ui-heatmap-C9MhHWpp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  120. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  121. package/dist/{vue-ui-kpi-jcrPjW4C.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  122. package/dist/{vue-ui-mini-loader-DTM98mRN.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  123. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  124. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  125. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  126. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  127. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  128. package/dist/{vue-ui-quadrant-CeM23s0z.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  129. package/dist/{vue-ui-quick-chart-C0RMQzjC.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  130. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  131. package/dist/{vue-ui-rating-tj97undO.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  132. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  133. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  134. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  135. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  136. package/dist/{vue-ui-skeleton-87TORm6s.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  137. package/dist/{vue-ui-smiley-B74geHT3.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  138. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  139. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  140. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  141. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  142. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  143. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  144. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  145. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  146. package/dist/{vue-ui-strip-plot-C1N2n39d.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  147. package/dist/{vue-ui-table-CcuoPHgI.js → vue-ui-table-DMM090pe.js} +5 -5
  148. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  149. package/dist/{vue-ui-table-sparkline-BAxmZRff.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  150. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  151. package/dist/{vue-ui-timer-BVsUQJz_.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  152. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  153. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  154. package/dist/{vue-ui-vertical-bar-B3gfBqD_.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  155. package/dist/{vue-ui-waffle-Bhlqo4xM.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  156. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  157. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  158. package/dist/{vue-ui-world-C8KVyDim.js → vue-ui-world-CVLlgp2f.js} +57 -57
  159. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  160. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  161. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  162. package/package.json +5 -5
  163. package/dist/themes-AUNCOb2G.js +0 -53
  164. package/dist/vue-ui-age-pyramid-8bUepd28.js +0 -933
  165. package/dist/vue-ui-bullet-BvT4scFv.js +0 -630
  166. package/dist/vue-ui-chord-Dl9Y4mcz.js +0 -1153
  167. package/dist/vue-ui-circle-pack-CU09BzOV.js +0 -803
  168. package/dist/vue-ui-donut-evolution-DiGhMwMO.js +0 -1208
  169. package/dist/vue-ui-dumbbell-BlF3CLbN.js +0 -1231
  170. package/dist/vue-ui-flow-BQi5L8mJ.js +0 -991
  171. package/dist/vue-ui-funnel-CM_6Sare.js +0 -716
  172. package/dist/vue-ui-galaxy-BnZA62Li.js +0 -808
  173. package/dist/vue-ui-gauge-DAk72bez.js +0 -835
  174. package/dist/vue-ui-history-plot-BYQh3E8U.js +0 -1204
  175. package/dist/vue-ui-molecule-Bd1OXvl3.js +0 -753
  176. package/dist/vue-ui-mood-radar-DuoiTsYn.js +0 -903
  177. package/dist/vue-ui-nested-donuts-BTswQFjz.js +0 -1419
  178. package/dist/vue-ui-onion-D-1U2Qgl.js +0 -915
  179. package/dist/vue-ui-parallel-coordinate-plot-D-7VFHas.js +0 -1051
  180. package/dist/vue-ui-radar-BSfxyur3.js +0 -984
  181. package/dist/vue-ui-relation-circle-C7uV2mIj.js +0 -641
  182. package/dist/vue-ui-ridgeline-CYMfTlwI.js +0 -1273
  183. package/dist/vue-ui-rings-C96aj57d.js +0 -855
  184. package/dist/vue-ui-scatter-CtvOXUnx.js +0 -1590
  185. package/dist/vue-ui-spark-trend-6_Ibziyv.js +0 -337
  186. package/dist/vue-ui-sparkbar-BDCocMLI.js +0 -352
  187. package/dist/vue-ui-sparkgauge-CQ4Zk9-f.js +0 -233
  188. package/dist/vue-ui-sparkhistogram-BlTV9wfn.js +0 -384
  189. package/dist/vue-ui-sparkline-DWESyiqL.js +0 -514
  190. package/dist/vue-ui-sparkstackbar-DK_7X8mL.js +0 -441
  191. package/dist/vue-ui-stackbar-BWuw8ff4.js +0 -1827
  192. package/dist/vue-ui-table-heatmap-C9EMEM3Z.js +0 -282
  193. package/dist/vue-ui-thermometer-CDrM-WFq.js +0 -584
  194. package/dist/vue-ui-tiremarks-BQH2pNkG.js +0 -450
  195. package/dist/vue-ui-treemap-6WLoCHsH.js +0 -1330
  196. package/dist/vue-ui-wheel-CqHw1WuW.js +0 -663
  197. package/dist/vue-ui-word-cloud-CKuWZGLv.js +0 -875
  198. package/dist/vue-ui-xy-Cz2qIEfi.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-y4h7gEFp.js +0 -1564
@@ -0,0 +1,381 @@
1
+ import { defineAsyncComponent as ue, useSlots as ie, onMounted as L, ref as b, toRefs as ce, computed as x, watch as N, nextTick as de, createElementBlock as u, openBlock as r, normalizeStyle as v, unref as o, renderSlot as D, createCommentVNode as f, createBlock as ve, normalizeProps as fe, mergeProps as P, createElementVNode as c, toDisplayString as p, Fragment as O, renderList as ge, createVNode as pe } from "vue";
2
+ import { c as ye, t as me, i as he, p as A, j as be, o as Ce, g as M, k as ke, l as xe, s as $, a as _, d as w, X as Ae, h as _e } from "./lib-C5BH09_g.js";
3
+ import { u as we, a as F } from "./useNestedProp-CWo6bftQ.js";
4
+ import { u as Se, B as De } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as $e } from "./useThemeCheck-DGJ31Vi5.js";
6
+ const j = { style: { backgroundColor: "#1A1A1A", gutter: { backgroundColor: "#3A3A3A" }, bar: { gradient: { underlayerColor: "#1A1A1A" } }, labels: { name: { color: "#CCCCCC" } }, title: { color: "#CCCCCC" } } }, V = { style: { backgroundColor: "#FFF8E1", gutter: { backgroundColor: "#ded6ca" }, bar: { gradient: { underlayerColor: "#FFF8E1" } }, labels: { name: { color: "#424242" } }, title: { color: "#424242" } } }, U = { style: { backgroundColor: "#1E1E1E", gutter: { backgroundColor: "#2E2E2E" }, bar: { gradient: { underlayerColor: "#FFF8E1" } }, labels: { name: { color: "#BDBDBD" } }, title: { color: "#BDBDBD" } } }, R = { style: { backgroundColor: "#1A1A1A", gutter: { backgroundColor: "#333333" }, bar: { gradient: { underlayerColor: "#1A1A1A" } }, labels: { name: { color: "#99CC99" } }, title: { color: "#66CC66" } } }, W = { style: { backgroundColor: "#fbfafa", gutter: { backgroundColor: "#f5f0eb" }, bar: { gradient: { underlayerColor: "#fbfafa" } }, labels: { name: { color: "#8A9892" } } } }, G = { style: { backgroundColor: "#f6f6fb", bar: { gradient: { underlayerColor: "#f6f6fb" } }, labels: { name: { color: "#50606C" } } } }, q = {
7
+ default: {},
8
+ dark: j,
9
+ celebration: V,
10
+ celebrationNight: U,
11
+ hack: R,
12
+ zen: W,
13
+ concrete: G
14
+ }, Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15
+ __proto__: null,
16
+ celebration: V,
17
+ celebrationNight: U,
18
+ concrete: G,
19
+ dark: j,
20
+ default: q,
21
+ hack: R,
22
+ zen: W
23
+ }, Symbol.toStringTag, { value: "Module" })), Fe = ["onClick", "onMouseenter", "onMouseleave"], Ee = { key: 1 }, Te = ["xmlns", "viewBox"], Be = ["id"], Ie = ["stop-color"], ze = ["stop-color"], Le = ["height", "width", "fill", "rx"], Ne = ["height", "width", "fill", "rx"], Pe = ["height", "width", "fill", "rx"], Oe = {
24
+ key: 2,
25
+ ref: "source",
26
+ dir: "auto"
27
+ }, Me = {
28
+ __name: "vue-ui-sparkbar",
29
+ props: {
30
+ config: {
31
+ type: Object,
32
+ default() {
33
+ return {};
34
+ }
35
+ },
36
+ dataset: {
37
+ type: Array,
38
+ default() {
39
+ return [];
40
+ }
41
+ },
42
+ /**
43
+ * Used in VueUiRadar's tooltip exclusively
44
+ */
45
+ backgroundOpacity: {
46
+ type: Number,
47
+ default: null
48
+ }
49
+ },
50
+ emits: ["selectDatapoint"],
51
+ setup(H, { emit: X }) {
52
+ const J = ue(() => import("./PackageVersion-Bq_mtsqr.js")), { vue_ui_sparkbar: K } = we(), { isThemeValid: Q, warnInvalidTheme: Y } = $e(), g = H, Z = ie();
53
+ L(() => {
54
+ Z["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
55
+ });
56
+ const E = b(ye()), e = b(S()), { loading: C, FINAL_DATASET: d } = Se({
57
+ ...ce(g),
58
+ FINAL_CONFIG: e,
59
+ prepareConfig: S,
60
+ skeletonDataset: [
61
+ { name: "_", value: 21, target: 25, color: "#808080" },
62
+ { name: "_", value: 13, target: 25, color: "#ADADAD" },
63
+ { name: "_", value: 8, target: 25, color: "#DBDBDB" }
64
+ ],
65
+ skeletonConfig: me({
66
+ defaultConfig: e.value,
67
+ userConfig: {
68
+ style: {
69
+ backgroundColor: "#99999930",
70
+ animation: { show: !1 },
71
+ layout: { independant: !0 },
72
+ gutter: {
73
+ backgroundColor: "#6A6A6A",
74
+ opacity: 50
75
+ },
76
+ bar: {
77
+ gradient: {
78
+ underlayerColor: "#6A6A6A"
79
+ }
80
+ }
81
+ }
82
+ }
83
+ })
84
+ }), T = x(() => !!e.value.debug);
85
+ function S() {
86
+ const t = F({
87
+ userConfig: g.config,
88
+ defaultConfig: K
89
+ }), a = t.theme;
90
+ if (!a) return t;
91
+ if (!Q.value(t))
92
+ return Y(t), t;
93
+ const l = F({
94
+ userConfig: q[a] || g.config,
95
+ defaultConfig: t
96
+ }), n = F({
97
+ userConfig: g.config,
98
+ defaultConfig: l
99
+ });
100
+ return {
101
+ ...n,
102
+ customPalette: n.customPalette.length ? n.customPalette : he[a] || A
103
+ };
104
+ }
105
+ N(() => g.config, (t) => {
106
+ e.value = S();
107
+ }, { deep: !0 });
108
+ const ee = x(() => be(e.value.customPalette)), y = b(d.value.map((t) => ({
109
+ ...t,
110
+ value: e.value.style.animation.show ? 0 : t.value || 0,
111
+ formatter: t.formatter || null
112
+ }))), B = b(null);
113
+ L(async () => {
114
+ Ce(g.dataset) && M({
115
+ componentName: "VueUiSparkbar",
116
+ type: "dataset",
117
+ debug: T.value
118
+ }), I();
119
+ });
120
+ function I() {
121
+ if (e.value.style.animation.show) {
122
+ let h = function() {
123
+ n += l / t, n < l ? (y.value = y.value.map((s, k) => ({
124
+ ...s,
125
+ value: s.value += a[k]
126
+ })), B.value = requestAnimationFrame(h)) : y.value = d.value.map((s) => ({
127
+ ...s,
128
+ value: s.value || 0,
129
+ formatter: s.formatter || null
130
+ }));
131
+ };
132
+ const t = e.value.style.animation.animationFrames, a = d.value.map((s, k) => s.value / t), l = d.value.map((s) => s.value || 0).reduce((s, k) => s + k, 0);
133
+ let n = 0;
134
+ h();
135
+ }
136
+ }
137
+ N(() => d.value, async (t) => {
138
+ cancelAnimationFrame(B.value), y.value = d.value.map((a) => ({
139
+ ...a,
140
+ value: e.value.style.animation.show ? 0 : a.value || 0,
141
+ formatter: a.formatter || null
142
+ })), de(I);
143
+ }, { deep: !0 });
144
+ const i = b({
145
+ width: 500,
146
+ height: 16
147
+ }), te = x(() => Math.max(...d.value.map((t) => t.value))), le = x(() => (d.value.forEach((t, a) => {
148
+ ke({
149
+ datasetObject: t,
150
+ requiredAttributes: ["name", "value"]
151
+ }).forEach((l) => {
152
+ M({
153
+ componentName: "VueUiSparkbar",
154
+ type: "datasetSerieAttribute",
155
+ property: l,
156
+ index: a,
157
+ debug: T.value
158
+ });
159
+ });
160
+ }), y.value.map((t, a) => ({
161
+ ...t,
162
+ value: t.value || 0,
163
+ color: xe(t.color) || ee.value[a] || A[a] || A[a % A.length]
164
+ }))));
165
+ function ae(t) {
166
+ return t / te.value;
167
+ }
168
+ function z(t) {
169
+ return e.value.style.layout.independant ? t.target ? t.value / t.target : e.value.style.layout.percentage ? t.value > 100 ? 1 : t.value / 100 : e.value.style.layout.target === 0 ? 1 : t.value / e.value.style.layout.target : ae(t.value);
170
+ }
171
+ function m(t) {
172
+ return e.value.style.layout.independant && t.target || e.value.style.layout.target;
173
+ }
174
+ const oe = X;
175
+ function ne(t, a) {
176
+ oe("selectDatapoint", { datapoint: t, index: a }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
177
+ }
178
+ function re(t, a) {
179
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a });
180
+ }
181
+ function se(t, a) {
182
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
183
+ }
184
+ return (t, a) => (r(), u("div", {
185
+ class: "vue-data-ui-component vue-ui-sparkbar",
186
+ style: v({
187
+ width: "100%",
188
+ position: "relative",
189
+ fontFamily: e.value.style.fontFamily,
190
+ background: g.backgroundOpacity !== null ? o($)(e.value.style.backgroundColor, g.backgroundOpacity) : e.value.style.backgroundColor
191
+ })
192
+ }, [
193
+ t.$slots.title ? D(t.$slots, "title", fe(P({ key: 0 }, { title: { ...t.title, title: e.value.style.title.text, subtitle: e.value.style.title.subtitle.text } }))) : f("", !0),
194
+ !t.$slots.title && e.value.style.title.text ? (r(), u("div", {
195
+ key: 1,
196
+ class: "vue-ui-sparkbar-title-container",
197
+ style: v({
198
+ background: e.value.style.title.backgroundColor,
199
+ margin: e.value.style.title.margin,
200
+ textAlign: e.value.style.title.textAlign
201
+ })
202
+ }, [
203
+ c("div", {
204
+ class: "vue-ui-sparkbar-title",
205
+ style: v({
206
+ fontSize: e.value.style.title.fontSize + "px",
207
+ color: e.value.style.title.color,
208
+ fontWeight: e.value.style.title.bold ? "bold" : "normal"
209
+ })
210
+ }, p(e.value.style.title.text), 5),
211
+ e.value.style.title.subtitle.text ? (r(), u("div", {
212
+ key: 0,
213
+ class: "vue-ui-sparkbar-subtitle",
214
+ style: v({
215
+ fontSize: e.value.style.title.subtitle.fontSize + "px",
216
+ color: e.value.style.title.subtitle.color,
217
+ fontWeight: e.value.style.title.subtitle.bold ? "bold" : "normal"
218
+ })
219
+ }, p(e.value.style.title.subtitle.text), 5)) : f("", !0)
220
+ ], 4)) : f("", !0),
221
+ (r(!0), u(O, null, ge(le.value, (l, n) => (r(), u("div", {
222
+ style: v(`display:flex !important;${["left", "right"].includes(e.value.style.labels.name.position) ? `flex-direction: ${e.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${e.value.style.gap}px !important;align-items:center;${o(d).length > 0 && n !== o(d).length - 1 ? "margin-bottom:6px" : ""}`),
223
+ onClick: (h) => ne(l, n),
224
+ onMouseenter: (h) => re(l, n),
225
+ onMouseleave: (h) => se(l, n)
226
+ }, [
227
+ o(C) ? f("", !0) : D(t.$slots, "data-label", P({
228
+ key: 0,
229
+ ref_for: !0
230
+ }, { bar: {
231
+ ...l,
232
+ target: m(l),
233
+ valueLabel: o(_)(
234
+ l.formatter,
235
+ l.value,
236
+ o(w)({
237
+ p: l.prefix || "",
238
+ v: l.value,
239
+ s: l.suffix || "",
240
+ r: l.rounding || 0
241
+ }),
242
+ { datapoint: l, seriesIndex: n }
243
+ ),
244
+ targetLabel: o(_)(
245
+ l.formatter,
246
+ m(l),
247
+ o(w)({
248
+ p: l.prefix || "",
249
+ v: m(l),
250
+ s: l.suffix || "",
251
+ r: l.rounding || 0
252
+ }),
253
+ { datapoint: l, seriesIndex: n }
254
+ )
255
+ } })),
256
+ !t.$slots["data-label"] || o(C) ? (r(), u("div", {
257
+ key: 1,
258
+ style: v({
259
+ display: "flex",
260
+ justifyContent: ["right", "top-right"].includes(e.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(e.value.style.labels.name.position) ? "center" : "flex-start",
261
+ alignItems: "center",
262
+ width: e.value.style.labels.name.width,
263
+ color: e.value.style.labels.name.color,
264
+ fontSize: e.value.style.labels.fontSize + "px",
265
+ fontWeight: e.value.style.labels.name.bold ? "bold" : "normal",
266
+ flexWrap: "wrap"
267
+ })
268
+ }, [
269
+ o(C) ? (r(), u("div", {
270
+ key: 0,
271
+ class: "vue-ui-sparkbar-skeleton-name",
272
+ style: v({
273
+ width: "60px",
274
+ height: e.value.style.labels.fontSize + "px",
275
+ borderRadius: e.value.style.labels.fontSize / 4 + "px",
276
+ display: "flex",
277
+ alignItems: "center",
278
+ justifyContent: "space-between",
279
+ marginTop: "5px"
280
+ })
281
+ }, [
282
+ c("div", {
283
+ style: v({ height: "100%", width: "40px", borderRadius: e.value.style.labels.fontSize / 4 + "px", backgroundColor: "#6A6A6A80" })
284
+ }, null, 4),
285
+ c("div", {
286
+ style: v({ height: "100%", width: "15px", borderRadius: e.value.style.labels.fontSize / 4 + "px", backgroundColor: "#6A6A6A80" })
287
+ }, null, 4)
288
+ ], 4)) : (r(), u(O, { key: 1 }, [
289
+ c("span", null, p(l.name), 1),
290
+ e.value.style.labels.value.show ? (r(), u("span", {
291
+ key: 0,
292
+ style: v(`font-weight:${e.value.style.labels.value.bold ? "bold" : "normal"}`)
293
+ }, ": " + p(o(_)(
294
+ l.formatter,
295
+ l.value,
296
+ o(w)({
297
+ p: l.prefix || "",
298
+ v: l.value,
299
+ s: l.suffix || "",
300
+ r: l.rounding || 0
301
+ }),
302
+ { datapoint: l, seriesIndex: n }
303
+ )), 5)) : f("", !0),
304
+ e.value.style.layout.showTargetValue ? (r(), u("span", Ee, p(" " + e.value.style.layout.targetValueText) + " " + p(o(_)(
305
+ l.formatter,
306
+ m(l),
307
+ o(w)({
308
+ p: l.prefix || "",
309
+ v: m(l),
310
+ s: l.suffix || "",
311
+ r: l.rounding || 0
312
+ }),
313
+ { datapoint: l, seriesIndex: n }
314
+ )), 1)) : f("", !0)
315
+ ], 64))
316
+ ], 4)) : f("", !0),
317
+ (r(), u("svg", {
318
+ xmlns: o(Ae),
319
+ viewBox: `0 0 ${i.value.width} ${i.value.height}`,
320
+ width: "100%"
321
+ }, [
322
+ pe(o(J)),
323
+ c("defs", null, [
324
+ c("linearGradient", {
325
+ x1: "0%",
326
+ y1: "0%",
327
+ x2: "100%",
328
+ y2: "0%",
329
+ id: `sparkbar_gradient_${n}_${E.value}`
330
+ }, [
331
+ c("stop", {
332
+ offset: "0%",
333
+ "stop-color": o($)(o(_e)(l.color, 0.03), 100 - e.value.style.bar.gradient.intensity)
334
+ }, null, 8, Ie),
335
+ c("stop", {
336
+ offset: "100%",
337
+ "stop-color": l.color
338
+ }, null, 8, ze)
339
+ ], 8, Be)
340
+ ]),
341
+ c("rect", {
342
+ height: i.value.height,
343
+ width: i.value.width,
344
+ x: 0,
345
+ y: 0,
346
+ fill: o($)(e.value.style.gutter.backgroundColor, e.value.style.gutter.opacity),
347
+ rx: i.value.height / 2
348
+ }, null, 8, Le),
349
+ c("rect", {
350
+ height: i.value.height,
351
+ width: i.value.width * z(l),
352
+ x: 0,
353
+ y: 0,
354
+ fill: e.value.style.bar.gradient.underlayerColor,
355
+ rx: i.value.height / 2
356
+ }, null, 8, Ne),
357
+ c("rect", {
358
+ height: i.value.height,
359
+ width: i.value.width * z(l),
360
+ x: 0,
361
+ y: 0,
362
+ fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${E.value})` : l.color,
363
+ rx: i.value.height / 2
364
+ }, null, 8, Pe)
365
+ ], 8, Te))
366
+ ], 44, Fe))), 256)),
367
+ t.$slots.source ? (r(), u("div", Oe, [
368
+ D(t.$slots, "source")
369
+ ], 512)) : f("", !0),
370
+ o(C) ? (r(), ve(De, { key: 3 })) : f("", !0)
371
+ ], 4));
372
+ }
373
+ }, qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
374
+ __proto__: null,
375
+ default: Me
376
+ }, Symbol.toStringTag, { value: "Module" }));
377
+ export {
378
+ Me as _,
379
+ qe as a,
380
+ Ge as v
381
+ };
@@ -0,0 +1,260 @@
1
+ import { defineAsyncComponent as K, ref as p, toRefs as Q, onMounted as F, computed as n, watch as z, createElementBlock as i, openBlock as r, normalizeStyle as y, createCommentVNode as f, createBlock as W, toDisplayString as k, unref as u, createVNode as Z, createElementVNode as g, renderSlot as M, normalizeClass as ee } from "vue";
2
+ import { u as te, a as C } from "./useNestedProp-CWo6bftQ.js";
3
+ import { c as ae, t as le, o as oe, g as N, k as se, ai as ne, X as re, a as ue, M as A, d as ie } from "./lib-C5BH09_g.js";
4
+ import { u as ce, B as ve } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as de } from "./useThemeCheck-DGJ31Vi5.js";
6
+ import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
7
+ const E = { style: { background: "#1A1A1A", title: { color: "#CCCCCC" }, dataLabel: { color: "#CCCCCC" }, gutter: { color: "#3A3A3A" } } }, O = { style: { background: "#FFF8E1", title: { color: "#424242" }, dataLabel: { color: "#424242" }, colors: { min: "#F57C00", max: "#D32F2F" }, gutter: { color: "#5D403740" } } }, j = { style: { background: "#1E1E1E", title: { color: "#BDBDBD" }, dataLabel: { color: "#BDBDBD" }, colors: { min: "#F57C00", max: "#D32F2F" }, gutter: { color: "#5D403740" } } }, T = { style: { background: "#1A1A1A", title: { color: "#66CC66" }, dataLabel: { color: "#AACCAA" }, colors: { min: "#334C33", max: "#33CC33" }, track: { color: "#33CC33" }, gutter: { color: "#333333" } } }, I = { style: { background: "#fbfafa", title: { color: "#8A9892" }, dataLabel: { color: "#A0AC94" }, colors: { min: "#C09E85", max: "#B9B99D" }, track: { color: "#B9B99D" }, gutter: { color: "#f5f0eb" } } }, P = { style: { background: "#f6f6fb", title: { color: "#50606C" }, dataLabel: { color: "#61747E" }, colors: { min: "#92B0AB", max: "#4A6A75" }, track: { color: "#4A6A75" }, gutter: { color: "#e1e5e8" } } }, R = {
8
+ default: {},
9
+ dark: E,
10
+ celebration: O,
11
+ celebrationNight: j,
12
+ hack: T,
13
+ zen: I,
14
+ concrete: P
15
+ }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16
+ __proto__: null,
17
+ celebration: O,
18
+ celebrationNight: j,
19
+ concrete: P,
20
+ dark: E,
21
+ default: R,
22
+ hack: T,
23
+ zen: I
24
+ }, Symbol.toStringTag, { value: "Module" })), ge = ["xmlns", "viewBox"], me = ["width", "height"], ye = ["id"], be = ["stop-color"], he = ["stop-color"], pe = ["d", "stroke", "stroke-linecap"], ke = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], Ce = ["x", "y", "width", "height"], Ae = ["x", "y", "font-size", "fill", "font-weight"], _e = {
25
+ key: 2,
26
+ ref: "source",
27
+ dir: "auto"
28
+ }, xe = {
29
+ __name: "vue-ui-sparkgauge",
30
+ props: {
31
+ config: {
32
+ type: Object,
33
+ default() {
34
+ return {};
35
+ }
36
+ },
37
+ dataset: {
38
+ type: Object,
39
+ default() {
40
+ return {};
41
+ }
42
+ }
43
+ },
44
+ setup(U) {
45
+ const G = K(() => import("./PackageVersion-Bq_mtsqr.js")), { vue_ui_sparkgauge: V } = te(), { isThemeValid: q, warnInvalidTheme: X } = de(), c = U, _ = p(ae()), e = p(h()), { loading: b, FINAL_DATASET: v } = ce({
46
+ ...Q(c),
47
+ FINAL_CONFIG: e,
48
+ prepareConfig: h,
49
+ skeletonDataset: {
50
+ value: 0,
51
+ min: -1,
52
+ max: 1,
53
+ title: ""
54
+ },
55
+ skeletonConfig: le({
56
+ defaultConfig: e.value,
57
+ userConfig: {
58
+ style: {
59
+ animation: { show: !1 },
60
+ background: "#99999930",
61
+ colors: {
62
+ min: "#CACACA",
63
+ max: "#6A6A6A"
64
+ },
65
+ track: {
66
+ autoColor: !0
67
+ },
68
+ gutter: {
69
+ color: "#6A6A6A80"
70
+ }
71
+ }
72
+ }
73
+ })
74
+ }), { svgRef: Y } = fe({ config: { text: c.dataset?.title || "" } });
75
+ function h() {
76
+ const t = C({
77
+ userConfig: c.config,
78
+ defaultConfig: V
79
+ }), o = t.theme;
80
+ if (!o) return t;
81
+ if (!q.value(t))
82
+ return X(t), t;
83
+ const d = C({
84
+ userConfig: R[o] || c.config,
85
+ defaultConfig: t
86
+ });
87
+ return C({
88
+ userConfig: c.config,
89
+ defaultConfig: d
90
+ });
91
+ }
92
+ F(() => {
93
+ w();
94
+ });
95
+ const x = n(() => e.value.debug);
96
+ function w() {
97
+ oe(c.dataset) ? N({
98
+ componentName: "VueUiSparkgauge",
99
+ type: "dataset",
100
+ debug: x.value
101
+ }) : se({
102
+ datasetObject: c.dataset,
103
+ requiredAttributes: ["value", "min", "max"]
104
+ }).forEach((t) => {
105
+ N({
106
+ componentName: "VueUiSparkgauge",
107
+ type: "datasetAttribute",
108
+ property: t,
109
+ debug: x.value
110
+ });
111
+ });
112
+ }
113
+ z(() => c.config, (t) => {
114
+ e.value = h(), a.value = e.value.style.animation.show ? s.value.min : v.value.value, w();
115
+ }, { deep: !0 });
116
+ const l = n(() => ({
117
+ height: e.value.style.height,
118
+ width: 128,
119
+ base: e.value.style.basePosition
120
+ })), s = n(() => {
121
+ const t = v.value.min ?? 0, o = v.value.max ?? 0, d = o - t;
122
+ return {
123
+ min: t,
124
+ max: o,
125
+ diff: d
126
+ };
127
+ }), a = p(e.value.style.animation.show ? s.value.min : v.value.value);
128
+ z(() => v.value.value, () => {
129
+ $(v.value.value || 0);
130
+ });
131
+ const H = n(() => a.value > s.value.max ? s.value.max : a.value < s.value.min ? s.value.min : a.value), L = n(() => s.value.diff / e.value.style.animation.speedMs);
132
+ F(() => {
133
+ $(v.value.value || 0);
134
+ });
135
+ function $(t) {
136
+ function o() {
137
+ a.value < t ? a.value = Math.min(a.value + L.value, t) : a.value > t && (a.value = Math.max(a.value - L.value, t)), a.value !== t && requestAnimationFrame(o);
138
+ }
139
+ o();
140
+ }
141
+ const m = n(() => v.value.title ?? ""), S = n(() => {
142
+ const t = s.value.diff;
143
+ if (!isFinite(t) || t === 0) return 0;
144
+ const o = s.value.min, d = H.value;
145
+ return d >= 0 ? (d - o) / t : (Math.abs(o) - Math.abs(d)) / t;
146
+ }), B = n(() => ne(e.value.style.colors.min, e.value.style.colors.max, s.value.min, s.value.max, a.value)), D = n(() => e.value.style.dataLabel.autoColor ? B.value : e.value.style.dataLabel.color), J = n(() => e.value.style.track.autoColor ? B.value : e.value.style.track.color);
147
+ return (t, o) => (r(), i("div", {
148
+ class: "vue-data-ui-component vue-ui-sparkgauge",
149
+ style: y(`font-family:${e.value.style.fontFamily};width: 100%; background:${e.value.style.background}`)
150
+ }, [
151
+ e.value.style.title.show && m.value && e.value.style.title.position === "top" ? (r(), i("div", {
152
+ key: 0,
153
+ class: "vue-data-ui-sparkgauge-label",
154
+ style: y(`font-size:${e.value.style.title.fontSize}px;text-align:${e.value.style.title.textAlign};font-weight:${e.value.style.title.bold ? "bold" : "normal"};color:${e.value.style.title.color}`)
155
+ }, k(m.value), 5)) : f("", !0),
156
+ (r(), i("svg", {
157
+ ref_key: "svgRef",
158
+ ref: Y,
159
+ xmlns: u(re),
160
+ viewBox: `0 0 ${l.value.width} ${l.value.height}`,
161
+ style: "overflow: visible; background:transparent; width:100%;"
162
+ }, [
163
+ Z(u(G)),
164
+ t.$slots["chart-background"] && !u(b) ? (r(), i("foreignObject", {
165
+ key: 0,
166
+ x: 0,
167
+ y: 0,
168
+ width: l.value.width,
169
+ height: l.value.height,
170
+ style: {
171
+ pointerEvents: "none"
172
+ }
173
+ }, [
174
+ M(t.$slots, "chart-background")
175
+ ], 8, me)) : f("", !0),
176
+ g("defs", null, [
177
+ g("linearGradient", {
178
+ id: `gradient_${_.value}`,
179
+ x1: "-10%",
180
+ y1: "100%",
181
+ x2: "110%",
182
+ y2: "100%"
183
+ }, [
184
+ g("stop", {
185
+ offset: "0%",
186
+ "stop-color": e.value.style.colors.min
187
+ }, null, 8, be),
188
+ g("stop", {
189
+ offset: "100%",
190
+ "stop-color": e.value.style.colors.max
191
+ }, null, 8, he)
192
+ ], 8, ye)
193
+ ]),
194
+ g("path", {
195
+ d: `M10 ${l.value.base} A 1 1 0 1 1 118 ${l.value.base}`,
196
+ stroke: e.value.style.gutter.color,
197
+ "stroke-width": 8,
198
+ "stroke-linecap": e.value.style.gutter.strokeLinecap,
199
+ fill: "none"
200
+ }, null, 8, pe),
201
+ S.value !== 0 ? (r(), i("path", {
202
+ key: 1,
203
+ d: `M10 ${l.value.base} A 1 1 0 1 1 118 ${l.value.base}`,
204
+ stroke: e.value.style.colors.showGradient ? `url(#gradient_${_.value})` : J.value,
205
+ "stroke-width": 8,
206
+ "stroke-linecap": e.value.style.track.strokeLinecap,
207
+ fill: "none",
208
+ "stroke-dasharray": 169.5,
209
+ "stroke-dashoffset": 169.5 - 169.5 * S.value,
210
+ class: ee({ "vue-ui-sparkgauge-track": e.value.style.animation.show }),
211
+ style: y(e.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${e.value.style.animation.speedMs}ms ease-in;` : "")
212
+ }, null, 14, ke)) : f("", !0),
213
+ u(b) ? (r(), i("rect", {
214
+ key: 2,
215
+ x: l.value.width / 2 - e.value.style.dataLabel.fontSize / 2,
216
+ y: l.value.base + 6 + e.value.style.dataLabel.offsetY - e.value.style.dataLabel.fontSize,
217
+ width: e.value.style.dataLabel.fontSize,
218
+ height: e.value.style.dataLabel.fontSize,
219
+ fill: "#6A6A6A50",
220
+ rx: 3
221
+ }, null, 8, Ce)) : (r(), i("text", {
222
+ key: 3,
223
+ "text-anchor": "middle",
224
+ x: l.value.width / 2,
225
+ y: l.value.base + 6 + e.value.style.dataLabel.offsetY,
226
+ "font-size": e.value.style.dataLabel.fontSize,
227
+ fill: D.value,
228
+ "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
229
+ }, k(u(ue)(
230
+ e.value.style.dataLabel.formatter,
231
+ u(A)(a.value),
232
+ u(ie)({
233
+ p: e.value.style.dataLabel.prefix,
234
+ v: u(A)(a.value),
235
+ s: e.value.style.dataLabel.suffix,
236
+ r: e.value.style.dataLabel.rounding
237
+ }),
238
+ { datapoint: u(A)(a.value), color: D.value }
239
+ )), 9, Ae))
240
+ ], 8, ge)),
241
+ e.value.style.title.show && m.value && e.value.style.title.position === "bottom" ? (r(), i("div", {
242
+ key: 1,
243
+ class: "vue-data-ui-sparkgauge-label",
244
+ style: y(`font-size:${e.value.style.title.fontSize}px;text-align:${e.value.style.title.textAlign};font-weight:${e.value.style.title.bold ? "bold" : "normal"};font-weight:${e.value.style.title.bold ? "bold" : "normal"};color:${e.value.style.title.color}`)
245
+ }, k(m.value), 5)) : f("", !0),
246
+ t.$slots.source ? (r(), i("div", _e, [
247
+ M(t.$slots, "source")
248
+ ], 512)) : f("", !0),
249
+ u(b) ? (r(), W(ve, { key: 3 })) : f("", !0)
250
+ ], 4));
251
+ }
252
+ }, Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
253
+ __proto__: null,
254
+ default: xe
255
+ }, Symbol.toStringTag, { value: "Module" }));
256
+ export {
257
+ xe as _,
258
+ Me as a,
259
+ ze as v
260
+ };