vue-data-ui 3.25.3 → 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-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
  3. package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
  4. package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
  5. package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
  6. package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-ZJrR3Olp.js} +2 -2
  7. package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
  8. package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
  9. package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
  11. package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-5SWftabm.js} +1 -1
  12. package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-B_SdRSKH.js} +12 -12
  13. package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
  14. package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
  15. package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
  16. package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
  17. package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
  18. package/dist/{UserOptions-m0uxKoiy.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-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
  91. package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
  92. package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
  93. package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
  94. package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
  95. package/dist/{package-NccReU84.js → package-DmsdiyeS.js} +1 -1
  96. package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
  97. package/dist/{render-common-CHj9aLwI.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-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
  103. package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
  104. package/dist/utils.js +2 -2
  105. package/dist/{vue-data-ui-xQI9KcZd.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-DuARUUdY.js → vue-ui-accordion-D4zsdacF.js} +3 -3
  109. package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
  110. package/dist/{vue-ui-annotator-MvDwnq7k.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
  111. package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
  112. package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-BkOtQNWe.js} +54 -54
  113. package/dist/{vue-ui-candlestick-B486ChH8.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-DGESmviK.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
  116. package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DQRBgVOx.js} +31 -31
  117. package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
  118. package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-BHyXRadA.js} +3 -3
  119. package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-CyVqaLbF.js} +75 -75
  120. package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
  121. package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BBL8uERO.js} +3 -3
  122. package/dist/{vue-ui-donut-DZXYGFJc.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-DQn-87Ak.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
  125. package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
  126. package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-CoylrfnO.js} +40 -40
  127. package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
  128. package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
  129. package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
  130. package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-jR4P4pbt.js} +36 -36
  131. package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
  132. package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
  133. package/dist/{vue-ui-hill-K3JKKF1b.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-0W2GpUBQ.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
  137. package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-BSgLalWD.js} +64 -64
  138. package/dist/{vue-ui-mini-loader-C-2BQ3hi.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-VCVoA-i7.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
  141. package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
  142. package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-B7oFulsQ.js} +119 -119
  143. package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
  144. package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
  145. package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
  146. package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-Bzx69q8f.js} +311 -311
  147. package/dist/{vue-ui-rating-CTuSylET.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-CijnGJ6-.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
  150. package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-qPL5Iwji.js} +327 -327
  151. package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
  152. package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
  153. package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
  154. package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
  155. package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
  156. package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
  157. package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
  158. package/dist/{vue-ui-sparkline-C11KKbIn.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-Dj06PSQK.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
  165. package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
  166. package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
  167. package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-CvHP4HoW.js} +5 -5
  168. package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
  169. package/dist/{vue-ui-treemap-33VL-HnF.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-BPbR_-t8.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
  172. package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
  173. package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-D0_2upjg.js} +116 -116
  174. package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
  175. package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-D_5FfaH-.js} +423 -422
  176. package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
  177. package/package.json +1 -1
  178. package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
  179. package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
  180. package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
  181. package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
  182. package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
  183. package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
  184. package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
  185. package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
  186. package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
  187. package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
  188. package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
  189. package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
  190. package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
  191. package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
  192. package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
  193. package/dist/vue-ui-table-DMJWplCT.js +0 -1352
  194. package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
@@ -1,42 +1,42 @@
1
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, Ut as ee, X as o, Xt as s, i as c, mt as te, nt as l, q as ne, t as re, w as ie } from "./lib-C7t_vY8w.js";
3
- import { n as ae, t as oe } from "./useHints-Dq_w2E8B.js";
4
- import { t as se } from "./useConfig-CyCVHo81.js";
5
- import { n as u, t as ce } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as d } from "./useNestedProp-BfTgFMXF.js";
7
- import { t as le } from "./useThemeCheck-C43Tcqmk.js";
8
- import { t as ue } from "./DefGrad-DVBqDjhO.js";
9
- import { t as de } from "./usePrefersMotion-BC-CsqR1.js";
10
- import { t as fe } from "./vue_ui_sparkbar-z6qO--Kf.js";
11
- import { Fragment as f, computed as p, createBlock as pe, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineAsyncComponent as me, guardReactiveProps as he, mergeProps as v, nextTick as y, normalizeProps as ge, normalizeStyle as b, onMounted as x, openBlock as S, ref as C, renderList as _e, renderSlot as w, toDisplayString as T, toRefs as E, unref as D, useSlots as O, watch as k } from "vue";
2
+ import { Lt as t, Pt as n, S as r, Ut as i, Wt as ee, X as a, Yt as te, Zt as o, ht as ne, i as s, nt as c, q as re, t as ie, w as ae } from "./lib-Dql7cqyA.js";
3
+ import { n as oe, t as l } from "./useHints-Dq_w2E8B.js";
4
+ import { t as u } from "./useConfig-CyCVHo81.js";
5
+ import { n as se, t as d } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as f } from "./useNestedProp-Chvyfpl-.js";
7
+ import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as le } from "./DefGrad-DVBqDjhO.js";
9
+ import { t as ue } from "./usePrefersMotion-BC-CsqR1.js";
10
+ import { t as de } from "./vue_ui_sparkbar-z6qO--Kf.js";
11
+ import { Fragment as p, computed as m, createBlock as fe, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as pe, guardReactiveProps as y, mergeProps as b, nextTick as me, normalizeProps as he, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as ge, renderSlot as T, toDisplayString as E, toRefs as D, unref as O, useSlots as k, watch as A } from "vue";
12
12
  //#region src/components/vue-ui-sparkbar.vue
13
- var A = /* @__PURE__ */ e({ default: () => L }), j = [
13
+ var j = /* @__PURE__ */ e({ default: () => R }), M = [
14
14
  "onClick",
15
15
  "onMouseenter",
16
16
  "onMouseleave"
17
- ], M = {
17
+ ], N = {
18
18
  key: 1,
19
19
  class: "vue-ui-sparkbar-datapoint-value"
20
- }, N = ["xmlns", "viewBox"], P = [
20
+ }, P = ["xmlns", "viewBox"], F = [
21
21
  "height",
22
22
  "width",
23
23
  "fill",
24
24
  "rx"
25
- ], F = [
25
+ ], I = [
26
26
  "height",
27
27
  "width",
28
28
  "fill",
29
29
  "rx"
30
- ], I = [
30
+ ], L = [
31
31
  "height",
32
32
  "width",
33
33
  "fill",
34
34
  "rx"
35
- ], ve = {
35
+ ], _e = {
36
36
  key: 2,
37
37
  ref: "source",
38
38
  dir: "auto"
39
- }, L = {
39
+ }, R = {
40
40
  __name: "vue-ui-sparkbar",
41
41
  props: {
42
42
  config: {
@@ -57,17 +57,17 @@ var A = /* @__PURE__ */ e({ default: () => L }), j = [
57
57
  }
58
58
  },
59
59
  emits: ["selectDatapoint"],
60
- setup(e, { emit: A }) {
61
- let L = me(() => import("./PackageVersion-hRJtldYi.js").then((e) => e.t)), { vue_ui_sparkbar: ye } = se(), { isThemeValid: be, warnInvalidTheme: xe } = le(), R = de(), z = e, B = O(), V = C(ne()), H = C(K()), U = p(() => H.value.debug);
62
- x(() => {
63
- B["chart-background"] && U.value && console.warn("VueUiSparkbar does not support the #chart-background slot.");
64
- }), ae({
60
+ setup(e, { emit: j }) {
61
+ let R = pe(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), { vue_ui_sparkbar: ve } = u(), { isThemeValid: ye, warnInvalidTheme: be } = ce(), z = ue(), B = e, xe = k(), V = w(re()), H = w(K()), U = m(() => H.value.debug);
62
+ S(() => {
63
+ xe["chart-background"] && U.value && console.warn("VueUiSparkbar does not support the #chart-background slot.");
64
+ }), oe({
65
65
  config: () => H.value,
66
- dataset: () => z.dataset,
66
+ dataset: () => B.dataset,
67
67
  component: "VueUiSparkbar",
68
- rules: [oe.noHint]
68
+ rules: [l.noHint]
69
69
  });
70
- let Se = p(() => s({
70
+ let Se = m(() => o({
71
71
  defaultConfig: { style: {
72
72
  backgroundColor: "#99999930",
73
73
  animation: { show: !1 },
@@ -79,11 +79,11 @@ var A = /* @__PURE__ */ e({ default: () => L }), j = [
79
79
  bar: { gradient: { underlayerColor: "#6A6A6A" } }
80
80
  } },
81
81
  userConfig: H.value.skeletonConfig ?? {}
82
- })), { loading: W, FINAL_DATASET: G, manualLoading: Ce } = u({
83
- ...E(z),
82
+ })), { loading: W, FINAL_DATASET: G, manualLoading: Ce } = se({
83
+ ...D(B),
84
84
  FINAL_CONFIG: H,
85
85
  prepareConfig: K,
86
- skeletonDataset: z.config?.skeletonDataset ?? [
86
+ skeletonDataset: B.config?.skeletonDataset ?? [
87
87
  {
88
88
  name: "_",
89
89
  value: 21,
@@ -103,47 +103,47 @@ var A = /* @__PURE__ */ e({ default: () => L }), j = [
103
103
  color: "#DBDBDB"
104
104
  }
105
105
  ],
106
- skeletonConfig: s({
106
+ skeletonConfig: o({
107
107
  defaultConfig: H.value,
108
108
  userConfig: Se.value
109
109
  })
110
110
  });
111
111
  function K() {
112
- let e = d({
113
- userConfig: z.config,
114
- defaultConfig: ye
115
- }), t = e.theme;
116
- if (!t) return e;
117
- if (!be.value(e)) return xe(e), e;
118
- let i = d({
119
- userConfig: fe[t] || z.config,
112
+ let e = f({
113
+ userConfig: B.config,
114
+ defaultConfig: ve
115
+ }), n = e.theme;
116
+ if (!n) return e;
117
+ if (!ye.value(e)) return be(e), e;
118
+ let r = f({
119
+ userConfig: de[n] || B.config,
120
120
  defaultConfig: e
121
- }), a = d({
122
- userConfig: z.config,
123
- defaultConfig: i
121
+ }), i = f({
122
+ userConfig: B.config,
123
+ defaultConfig: r
124
124
  });
125
125
  return {
126
- ...a,
127
- customPalette: a.customPalette.length ? a.customPalette : r[t] || n
126
+ ...i,
127
+ customPalette: i.customPalette.length ? i.customPalette : te[n] || t
128
128
  };
129
129
  }
130
- k(() => z.config, (e) => {
130
+ A(() => B.config, (e) => {
131
131
  H.value = K();
132
132
  }, { deep: !0 });
133
- let we = p(() => ie(H.value.customPalette)), q = C(G.value.map((e) => ({
133
+ let we = m(() => ae(H.value.customPalette)), q = w(G.value.map((e) => ({
134
134
  ...e,
135
135
  value: H.value.style.animation.show ? 0 : e.value || 0,
136
136
  formatter: e.formatter || null
137
- }))), J = C(null);
138
- x(async () => {
139
- i(z.dataset) && l({
137
+ }))), J = w(null);
138
+ S(async () => {
139
+ n(B.dataset) && c({
140
140
  componentName: "VueUiSparkbar",
141
141
  type: "dataset",
142
142
  debug: U.value
143
143
  }), Y();
144
144
  });
145
145
  function Y() {
146
- if (H.value.style.animation.show && !R.value) {
146
+ if (H.value.style.animation.show && !z.value) {
147
147
  let e = H.value.style.animation.animationFrames, t = G.value.map((t, n) => t.value / e), n = G.value.map((e) => e.value || 0).reduce((e, t) => e + t, 0), r = 0;
148
148
  function i() {
149
149
  r += n / e, r < n ? (q.value = q.value.map((e, n) => ({
@@ -158,32 +158,32 @@ var A = /* @__PURE__ */ e({ default: () => L }), j = [
158
158
  i();
159
159
  }
160
160
  }
161
- k(() => G.value, async (e) => {
161
+ A(() => G.value, async (e) => {
162
162
  cancelAnimationFrame(J.value), q.value = G.value.map((e) => ({
163
163
  ...e,
164
- value: H.value.style.animation.show && !R.value ? 0 : e.value || 0,
164
+ value: H.value.style.animation.show && !z.value ? 0 : e.value || 0,
165
165
  formatter: e.formatter || null
166
- })), y(Y);
166
+ })), me(Y);
167
167
  }, { deep: !0 });
168
- let X = C({
168
+ let X = w({
169
169
  width: 500,
170
170
  height: 16
171
- }), Te = p(() => Math.max(...G.value.map((e) => e.value))), Ee = p(() => (U.value && G.value.forEach((e, t) => {
172
- te({
171
+ }), Te = m(() => Math.max(...G.value.map((e) => e.value))), Ee = m(() => (U.value && G.value.forEach((e, t) => {
172
+ ne({
173
173
  datasetObject: e,
174
174
  requiredAttributes: ["name", "value"]
175
175
  }).forEach((e) => {
176
- l({
176
+ c({
177
177
  componentName: "VueUiSparkbar",
178
178
  type: "datasetSerieAttribute",
179
179
  property: e,
180
180
  index: t
181
181
  });
182
182
  });
183
- }), q.value.map((e, t) => ({
183
+ }), q.value.map((e, n) => ({
184
184
  ...e,
185
185
  value: e.value || 0,
186
- color: a(e.color) || we.value[t] || n[t] || n[t % n.length]
186
+ color: r(e.color) || we.value[n] || t[n] || t[n % t.length]
187
187
  }))));
188
188
  function De(e) {
189
189
  return e / Te.value;
@@ -194,7 +194,7 @@ var A = /* @__PURE__ */ e({ default: () => L }), j = [
194
194
  function Q(e) {
195
195
  return H.value.style.layout.independant && e.target || H.value.style.layout.target;
196
196
  }
197
- let Oe = A;
197
+ let Oe = j;
198
198
  function ke(e, t) {
199
199
  Oe("selectDatapoint", {
200
200
  datapoint: e,
@@ -216,76 +216,76 @@ var A = /* @__PURE__ */ e({ default: () => L }), j = [
216
216
  seriesIndex: t
217
217
  });
218
218
  }
219
- let $ = p(() => H.value.style.bar.borderRadius == null ? X.value.height / 2 : Math.min(X.value.height / 2, H.value.style.bar.borderRadius));
220
- return (e, n) => (S(), h("div", {
219
+ let $ = m(() => H.value.style.bar.borderRadius == null ? X.value.height / 2 : Math.min(X.value.height / 2, H.value.style.bar.borderRadius));
220
+ return (e, t) => (C(), g("div", {
221
221
  class: "vue-data-ui-component vue-ui-sparkbar",
222
- style: b({
222
+ style: x({
223
223
  width: "100%",
224
224
  position: "relative",
225
225
  fontFamily: H.value.style.fontFamily,
226
- background: z.backgroundOpacity === null ? H.value.style.backgroundColor : D(t)(H.value.style.backgroundColor, z.backgroundOpacity)
226
+ background: B.backgroundOpacity === null ? H.value.style.backgroundColor : O(i)(H.value.style.backgroundColor, B.backgroundOpacity)
227
227
  })
228
228
  }, [
229
- e.$slots.title ? w(e.$slots, "title", ge(he({ title: {
229
+ e.$slots.title ? T(e.$slots, "title", he(y({ title: {
230
230
  ...e.title,
231
231
  title: H.value.style.title.text,
232
232
  subtitle: H.value.style.title.subtitle.text
233
- } })), void 0, void 0, 0) : m("", !0),
234
- !e.$slots.title && H.value.style.title.text ? (S(), h("div", {
233
+ } })), void 0, void 0, 0) : h("", !0),
234
+ !e.$slots.title && H.value.style.title.text ? (C(), g("div", {
235
235
  key: 1,
236
236
  class: "vue-ui-sparkbar-title-container",
237
- style: b({
237
+ style: x({
238
238
  background: H.value.style.title.backgroundColor,
239
239
  margin: H.value.style.title.margin,
240
240
  textAlign: H.value.style.title.textAlign
241
241
  })
242
- }, [g("div", {
242
+ }, [_("div", {
243
243
  class: "vue-ui-sparkbar-title",
244
- style: b({
244
+ style: x({
245
245
  fontSize: H.value.style.title.fontSize + "px",
246
246
  color: H.value.style.title.color,
247
247
  fontWeight: H.value.style.title.bold ? "bold" : "normal"
248
248
  })
249
- }, T(H.value.style.title.text), 5), H.value.style.title.subtitle.text ? (S(), h("div", {
249
+ }, E(H.value.style.title.text), 5), H.value.style.title.subtitle.text ? (C(), g("div", {
250
250
  key: 0,
251
251
  class: "vue-ui-sparkbar-subtitle",
252
- style: b({
252
+ style: x({
253
253
  fontSize: H.value.style.title.subtitle.fontSize + "px",
254
254
  color: H.value.style.title.subtitle.color,
255
255
  fontWeight: H.value.style.title.subtitle.bold ? "bold" : "normal"
256
256
  })
257
- }, T(H.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
258
- (S(!0), h(f, null, _e(Ee.value, (n, r) => (S(), h("div", {
259
- style: b(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${D(G).length > 0 && r !== D(G).length - 1 ? "margin-bottom:6px" : ""}`),
260
- onClick: (e) => ke(n, r),
261
- onMouseenter: (e) => Ae(n, r),
262
- onMouseleave: (e) => je(n, r)
257
+ }, E(H.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
258
+ (C(!0), g(p, null, ge(Ee.value, (t, n) => (C(), g("div", {
259
+ style: x(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${O(G).length > 0 && n !== O(G).length - 1 ? "margin-bottom:6px" : ""}`),
260
+ onClick: (e) => ke(t, n),
261
+ onMouseenter: (e) => Ae(t, n),
262
+ onMouseleave: (e) => je(t, n)
263
263
  }, [
264
- D(W) ? m("", !0) : w(e.$slots, "data-label", v({ ref_for: !0 }, { bar: {
265
- ...n,
266
- target: Q(n),
267
- valueLabel: D(c)(n.formatter, n.value, D(o)({
268
- p: n.prefix || "",
269
- v: n.value,
270
- s: n.suffix || "",
271
- r: n.rounding || 0
264
+ O(W) ? h("", !0) : T(e.$slots, "data-label", b({ ref_for: !0 }, { bar: {
265
+ ...t,
266
+ target: Q(t),
267
+ valueLabel: O(s)(t.formatter, t.value, O(a)({
268
+ p: t.prefix || "",
269
+ v: t.value,
270
+ s: t.suffix || "",
271
+ r: t.rounding || 0
272
272
  }), {
273
- datapoint: n,
274
- seriesIndex: r
273
+ datapoint: t,
274
+ seriesIndex: n
275
275
  }),
276
- targetLabel: D(c)(n.formatter, Q(n), D(o)({
277
- p: n.prefix || "",
278
- v: Q(n),
279
- s: n.suffix || "",
280
- r: n.rounding || 0
276
+ targetLabel: O(s)(t.formatter, Q(t), O(a)({
277
+ p: t.prefix || "",
278
+ v: Q(t),
279
+ s: t.suffix || "",
280
+ r: t.rounding || 0
281
281
  }), {
282
- datapoint: n,
283
- seriesIndex: r
282
+ datapoint: t,
283
+ seriesIndex: n
284
284
  })
285
285
  } }), void 0, void 0, 0),
286
- !e.$slots["data-label"] || D(W) ? (S(), h("div", {
286
+ !e.$slots["data-label"] || O(W) ? (C(), g("div", {
287
287
  key: 1,
288
- style: b({
288
+ style: x({
289
289
  display: "flex",
290
290
  justifyContent: ["right", "top-right"].includes(H.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(H.value.style.labels.name.position) ? "center" : "flex-start",
291
291
  alignItems: "center",
@@ -295,10 +295,10 @@ var A = /* @__PURE__ */ e({ default: () => L }), j = [
295
295
  fontWeight: H.value.style.labels.name.bold ? "bold" : "normal",
296
296
  flexWrap: "wrap"
297
297
  })
298
- }, [D(W) ? (S(), h("div", {
298
+ }, [O(W) ? (C(), g("div", {
299
299
  key: 0,
300
300
  class: "vue-ui-sparkbar-skeleton-name",
301
- style: b({
301
+ style: x({
302
302
  width: "60px",
303
303
  height: H.value.style.labels.fontSize + "px",
304
304
  borderRadius: H.value.style.labels.fontSize / 4 + "px",
@@ -307,95 +307,95 @@ var A = /* @__PURE__ */ e({ default: () => L }), j = [
307
307
  justifyContent: "space-between",
308
308
  marginTop: "5px"
309
309
  })
310
- }, [g("div", { style: b({
310
+ }, [_("div", { style: x({
311
311
  height: "100%",
312
312
  width: "40px",
313
313
  borderRadius: H.value.style.labels.fontSize / 4 + "px",
314
314
  backgroundColor: "#6A6A6A80"
315
- }) }, null, 4), g("div", { style: b({
315
+ }) }, null, 4), _("div", { style: x({
316
316
  height: "100%",
317
317
  width: "15px",
318
318
  borderRadius: H.value.style.labels.fontSize / 4 + "px",
319
319
  backgroundColor: "#6A6A6A80"
320
- }) }, null, 4)], 4)) : (S(), h(f, { key: 1 }, [
321
- g("span", null, T(n.name), 1),
322
- H.value.style.labels.value.show ? (S(), h("span", {
320
+ }) }, null, 4)], 4)) : (C(), g(p, { key: 1 }, [
321
+ _("span", null, E(t.name), 1),
322
+ H.value.style.labels.value.show ? (C(), g("span", {
323
323
  key: 0,
324
- style: b(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
324
+ style: x(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
325
325
  class: "vue-ui-sparkbar-datapoint-name"
326
- }, ": " + T(D(c)(n.formatter, n.value, D(o)({
327
- p: n.prefix || "",
328
- v: n.value,
329
- s: n.suffix || "",
330
- r: n.rounding || 0
326
+ }, ": " + E(O(s)(t.formatter, t.value, O(a)({
327
+ p: t.prefix || "",
328
+ v: t.value,
329
+ s: t.suffix || "",
330
+ r: t.rounding || 0
331
331
  }), {
332
- datapoint: n,
333
- seriesIndex: r
334
- })), 5)) : m("", !0),
335
- H.value.style.layout.showTargetValue ? (S(), h("span", M, T(" " + H.value.style.layout.targetValueText) + " " + T(D(c)(n.formatter, Q(n), D(o)({
336
- p: n.prefix || "",
337
- v: Q(n),
338
- s: n.suffix || "",
339
- r: n.rounding || 0
332
+ datapoint: t,
333
+ seriesIndex: n
334
+ })), 5)) : h("", !0),
335
+ H.value.style.layout.showTargetValue ? (C(), g("span", N, E(" " + H.value.style.layout.targetValueText) + " " + E(O(s)(t.formatter, Q(t), O(a)({
336
+ p: t.prefix || "",
337
+ v: Q(t),
338
+ s: t.suffix || "",
339
+ r: t.rounding || 0
340
340
  }), {
341
- datapoint: n,
342
- seriesIndex: r
343
- })), 1)) : m("", !0)
344
- ], 64))], 4)) : m("", !0),
345
- (S(), h("svg", {
341
+ datapoint: t,
342
+ seriesIndex: n
343
+ })), 1)) : h("", !0)
344
+ ], 64))], 4)) : h("", !0),
345
+ (C(), g("svg", {
346
346
  role: "img",
347
- xmlns: D(re),
347
+ xmlns: O(ie),
348
348
  viewBox: `0 0 ${X.value.width} ${X.value.height}`,
349
349
  width: "100%"
350
350
  }, [
351
- _(D(L)),
352
- g("defs", null, [_(ue, {
351
+ v(O(R)),
352
+ _("defs", null, [v(le, {
353
353
  t: "linear",
354
354
  x1: "0%",
355
355
  y1: "0%",
356
356
  x2: "100%",
357
357
  y2: "0%",
358
- id: `sparkbar_gradient_${r}_${V.value}`,
358
+ id: `sparkbar_gradient_${n}_${V.value}`,
359
359
  stops: [[
360
360
  "0%",
361
- D(t)(D(ee)(n.color, .03), 100 - H.value.style.bar.gradient.intensity),
361
+ O(i)(O(ee)(t.color, .03), 100 - H.value.style.bar.gradient.intensity),
362
362
  1
363
363
  ], [
364
364
  "100%",
365
- n.color,
365
+ t.color,
366
366
  1
367
367
  ]]
368
368
  }, null, 8, ["id", "stops"])]),
369
- g("rect", {
369
+ _("rect", {
370
370
  height: X.value.height,
371
371
  width: X.value.width,
372
372
  x: 0,
373
373
  y: 0,
374
- fill: D(t)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
374
+ fill: O(i)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
375
375
  rx: $.value
376
- }, null, 8, P),
377
- g("rect", {
376
+ }, null, 8, F),
377
+ _("rect", {
378
378
  height: X.value.height,
379
- width: X.value.width * Z(n),
379
+ width: X.value.width * Z(t),
380
380
  x: 0,
381
381
  y: 0,
382
382
  fill: H.value.style.bar.gradient.underlayerColor,
383
383
  rx: $.value
384
- }, null, 8, F),
385
- g("rect", {
384
+ }, null, 8, I),
385
+ _("rect", {
386
386
  height: X.value.height,
387
- width: X.value.width * Z(n),
387
+ width: X.value.width * Z(t),
388
388
  x: 0,
389
389
  y: 0,
390
- fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${V.value})` : n.color,
390
+ fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${V.value})` : t.color,
391
391
  rx: $.value
392
- }, null, 8, I)
393
- ], 8, N))
394
- ], 44, j))), 256)),
395
- e.$slots.source ? (S(), h("div", ve, [w(e.$slots, "source")], 512)) : m("", !0),
396
- D(W) ? (S(), pe(ce, { key: 3 })) : m("", !0)
392
+ }, null, 8, L)
393
+ ], 8, P))
394
+ ], 44, M))), 256)),
395
+ e.$slots.source ? (C(), g("div", _e, [T(e.$slots, "source")], 512)) : h("", !0),
396
+ O(W) ? (C(), fe(d, { key: 3 })) : h("", !0)
397
397
  ], 4));
398
398
  }
399
399
  };
400
400
  //#endregion
401
- export { A as n, L as t };
401
+ export { j as n, R as t };