vue-data-ui 3.22.4 → 3.22.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/{Arrow-CgzmXCW_.js → Arrow-Ds4xmpiQ.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
  3. package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
  4. package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
  5. package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
  6. package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
  7. package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
  8. package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
  10. package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
  11. package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
  12. package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
  13. package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
  14. package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
  15. package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
  16. package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
  17. package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
  18. package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.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-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-ZOysoMwu.js → dom-to-png-CVJfsfwL.js} +1 -1
  89. package/dist/exposedLib-CjwriUaG.js +19 -0
  90. package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
  91. package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
  92. package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
  93. package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
  94. package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
  95. package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.js} +22 -22
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +14 -0
  101. package/dist/types/vue-ui-treemap.d.ts +3 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
  103. package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
  104. package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
  105. package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
  106. package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
  107. package/dist/utils.js +10 -10
  108. package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
  109. package/dist/vue-data-ui.js +73 -73
  110. package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
  111. package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
  113. package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
  114. package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
  115. package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
  116. package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
  117. package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
  118. package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
  119. package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
  120. package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
  121. package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
  122. package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
  123. package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
  124. package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
  125. package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
  126. package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
  127. package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
  128. package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
  129. package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
  130. package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
  131. package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
  132. package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
  133. package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
  134. package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
  135. package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
  136. package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
  137. package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
  138. package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
  139. package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
  140. package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
  141. package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
  142. package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
  143. package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
  144. package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
  145. package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
  146. package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
  147. package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
  148. package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
  149. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
  150. package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
  151. package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
  152. package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
  153. package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
  154. package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
  155. package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
  156. package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
  157. package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
  158. package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
  159. package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
  160. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
  161. package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
  162. package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
  163. package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
  164. package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
  165. package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
  166. package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
  167. package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
  168. package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
  169. package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
  170. package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
  171. package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
  172. package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
  173. package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
  174. package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
  175. package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
  176. package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
  177. package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
  178. package/package.json +1 -1
  179. package/dist/exposedLib-C2U48XK7.js +0 -19
  180. package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
  181. package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
  182. package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
  183. package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
  184. package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
  185. package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
  186. package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
  187. package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
  188. package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
  189. package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
  190. package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
  191. package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
  192. package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
  193. package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
  194. package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
  195. package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
  196. package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
@@ -1,52 +1,52 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ct as t, Gt as n, Lt as r, Ot as i, Q as a, W as ee, i as o, j as te, m as ne, q as s, t as re, v as c } from "./lib-CuwHGt1j.js";
3
- import { t as ie } from "./useConfig-pVLia3dt.js";
4
- import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as l } from "./useNestedProp-BjkuFaz1.js";
6
- import { t as se } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
+ import { Dt as t, It as n, Q as r, St as i, W as a, Wt as ee, i as o, j as s, m as te, q as c, t as ne, v as l } from "./lib-DRBJCmHW.js";
3
+ import { t as re } from "./useConfig-DYM3f6EI.js";
4
+ import { n as ie, t as ae } from "./BaseScanner-DZvpgOjM.js";
5
+ import { t as u } from "./useNestedProp-BEo2N1Db.js";
6
+ import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
8
  import { c as ce } from "./canvas-lib-BOP_HS11.js";
9
9
  import { t as le } from "./useResponsive-BfnK0KxU.js";
10
10
  import { t as ue } from "./usePrefersMotion-BC-CsqR1.js";
11
11
  import { t as de } from "./useFitSvgText-CT3nmlaS.js";
12
12
  import { t as fe } from "./vue_ui_spark_trend-DxVmpkmC.js";
13
- import { computed as d, createBlock as pe, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as me, defineAsyncComponent as he, nextTick as h, normalizeStyle as ge, onMounted as _e, openBlock as g, ref as _, renderSlot as v, toDisplayString as y, toRefs as ve, unref as b, watch as x } from "vue";
13
+ import { computed as d, createBlock as pe, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as me, defineAsyncComponent as he, nextTick as ge, normalizeStyle as _e, onMounted as ve, openBlock as h, ref as g, renderSlot as _, toDisplayString as v, toRefs as ye, unref as y, watch as b } from "vue";
14
14
  //#region src/components/vue-ui-spark-trend.vue
15
- var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"], be = ["id"], xe = ["xmlns", "viewBox"], Se = ["width", "height"], Ce = ["id"], we = ["stop-color"], Te = ["stop-color"], Ee = { key: 1 }, De = ["d", "fill"], Oe = ["d", "fill"], ke = [
15
+ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"], xe = ["id"], Se = ["xmlns", "viewBox"], Ce = ["width", "height"], we = ["id"], Te = ["stop-color"], Ee = ["stop-color"], De = { key: 1 }, Oe = ["d", "fill"], ke = ["d", "fill"], Ae = [
16
16
  "d",
17
17
  "stroke",
18
18
  "stroke-width",
19
19
  "stroke-linecap",
20
20
  "stroke-linejoin"
21
- ], Ae = [
21
+ ], je = [
22
22
  "d",
23
23
  "stroke",
24
24
  "stroke-width",
25
25
  "stroke-linecap",
26
26
  "stroke-linejoin"
27
- ], je = ["d"], Me = ["fill", "d"], Ne = [
27
+ ], Me = ["d"], Ne = ["fill", "d"], Pe = [
28
28
  "x",
29
29
  "y",
30
30
  "width",
31
31
  "height"
32
- ], Pe = [
32
+ ], Fe = [
33
33
  "x",
34
34
  "y",
35
35
  "fill",
36
36
  "font-size",
37
37
  "font-weight"
38
- ], Fe = [
38
+ ], Ie = [
39
39
  "stroke",
40
40
  "cx",
41
41
  "cy",
42
42
  "fill"
43
- ], Ie = [
43
+ ], Le = [
44
44
  "x",
45
45
  "y",
46
46
  "font-size",
47
47
  "fill",
48
48
  "font-weight"
49
- ], C = /*#__PURE__*/ u({
49
+ ], S = /*#__PURE__*/ se({
50
50
  __name: "vue-ui-spark-trend",
51
51
  props: {
52
52
  config: {
@@ -63,7 +63,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
63
63
  }
64
64
  },
65
65
  setup(e) {
66
- let u = he(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), { vue_ui_spark_trend: S } = ie(), { isThemeValid: C, warnInvalidTheme: Le } = se(), w = ue(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(ee()), M = _(I()), Be = d(() => n({
66
+ let se = he(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), { vue_ui_spark_trend: x } = re(), { isThemeValid: S, warnInvalidTheme: Re } = oe(), C = ue(), w = e, T = g(null), E = g(null), ze = g(null), D = g(null), O = g(null), k = g(!1), A = g(null), j = g(a()), M = g(I()), Be = d(() => ee({
67
67
  defaultConfig: { style: {
68
68
  animation: { show: !1 },
69
69
  backgroundColor: "#99999930",
@@ -78,11 +78,11 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
78
78
  }
79
79
  } },
80
80
  userConfig: M.value.skeletonConfig ?? {}
81
- })), { loading: N, FINAL_DATASET: P, manualLoading: F } = ae({
82
- ...ve(T),
81
+ })), { loading: N, FINAL_DATASET: P, manualLoading: F } = ie({
82
+ ...ye(w),
83
83
  FINAL_CONFIG: M,
84
84
  prepareConfig: I,
85
- skeletonDataset: T.config?.skeletonDataset ?? [
85
+ skeletonDataset: w.config?.skeletonDataset ?? [
86
86
  1,
87
87
  2,
88
88
  3,
@@ -96,68 +96,68 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
96
96
  144,
97
97
  233
98
98
  ],
99
- skeletonConfig: n({
99
+ skeletonConfig: ee({
100
100
  defaultConfig: M.value,
101
101
  userConfig: Be.value
102
102
  })
103
103
  });
104
104
  function I() {
105
- let e = l({
106
- userConfig: T.config,
107
- defaultConfig: S
105
+ let e = u({
106
+ userConfig: w.config,
107
+ defaultConfig: x
108
108
  }), t = e.theme;
109
109
  if (!t) return e;
110
- if (!C.value(e)) return Le(e), e;
111
- let n = l({
112
- userConfig: fe[t] || T.config,
110
+ if (!S.value(e)) return Re(e), e;
111
+ let n = u({
112
+ userConfig: fe[t] || w.config,
113
113
  defaultConfig: e
114
114
  });
115
- return l({
116
- userConfig: T.config,
115
+ return u({
116
+ userConfig: w.config,
117
117
  defaultConfig: n
118
118
  });
119
119
  }
120
- let L = d(() => t({
120
+ let L = d(() => i({
121
121
  data: P.value,
122
122
  threshold: M.value.downsample.threshold
123
123
  }));
124
- x(() => T.config, (e) => {
124
+ b(() => w.config, (e) => {
125
125
  M.value = I(), H.value = M.value.style.width, U.value = M.value.style.height, V();
126
126
  }, { deep: !0 });
127
127
  function R(e) {
128
- return e.map((e) => c(e));
128
+ return e.map((e) => l(e));
129
129
  }
130
- let z = _(t({
130
+ let z = g(i({
131
131
  data: P.value,
132
132
  threshold: M.value.downsample.threshold
133
- }).map((e) => M.value.style.animation.show && !w.value || [
133
+ }).map((e) => M.value.style.animation.show && !C.value || [
134
134
  void 0,
135
135
  Infinity,
136
136
  -Infinity,
137
137
  null,
138
138
  NaN
139
139
  ].includes(e) ? null : e));
140
- x(L, (e) => {
141
- A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !w.value ? z.value = Array(e.length).fill(null) : z.value = e.map((e) => ![
140
+ b(L, (e) => {
141
+ A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !C.value ? z.value = Array(e.length).fill(null) : z.value = e.map((e) => ![
142
142
  void 0,
143
143
  Infinity,
144
144
  -Infinity,
145
145
  null
146
- ].includes(e) && !Number.isNaN(e) ? e : null), B(), h(() => $(".vue-ui-sparktrend-progress-label", 6));
146
+ ].includes(e) && !Number.isNaN(e) ? e : null), B(), ge(() => $(".vue-ui-sparktrend-progress-label", 6));
147
147
  }, {
148
148
  deep: !0,
149
149
  immediate: !0
150
- }), x(() => JSON.stringify(T.dataset), () => {
151
- A.value &&= (cancelAnimationFrame(A.value), null), F.value = i(T.dataset);
150
+ }), b(() => JSON.stringify(w.dataset), () => {
151
+ A.value &&= (cancelAnimationFrame(A.value), null), F.value = t(w.dataset);
152
152
  let e = L.value;
153
- z.value = M.value.style.animation.show && !w.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), h(() => $(".vue-ui-sparktrend-progress-label", 6));
153
+ z.value = M.value.style.animation.show && !C.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), ge(() => $(".vue-ui-sparktrend-progress-label", 6));
154
154
  }, {
155
155
  deep: !1,
156
156
  immediate: !0
157
157
  });
158
158
  function B() {
159
159
  let e = 1e3 / M.value.style.animation.animationFrames, t = performance.now();
160
- if (!N.value && M.value.style.animation.show && !w.value && M.value.style.animation.animationFrames && P.value.length > 1) {
160
+ if (!N.value && M.value.style.animation.show && !C.value && M.value.style.animation.animationFrames && P.value.length > 1) {
161
161
  z.value = [];
162
162
  let n = 0;
163
163
  function r() {
@@ -168,30 +168,30 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
168
168
  r();
169
169
  }
170
170
  }
171
- _e(() => {
171
+ ve(() => {
172
172
  V();
173
173
  });
174
174
  let Ve = d(() => M.value.debug);
175
175
  function V() {
176
- if (i(T.dataset) && (a({
176
+ if (t(w.dataset) && (r({
177
177
  componentName: "VueUiSparkTrend",
178
178
  type: "dataset",
179
179
  debug: Ve.value
180
- }), F.value = !0), i(T.dataset) || (F.value = !1), M.value.responsive) {
180
+ }), F.value = !0), t(w.dataset) || (F.value = !1), M.value.responsive) {
181
181
  let e = ce(() => {
182
182
  let { width: e, height: t } = le({
183
- chart: E.value,
183
+ chart: T.value,
184
184
  source: ze.value
185
185
  });
186
186
  requestAnimationFrame(() => {
187
187
  H.value = e, U.value = t;
188
188
  });
189
189
  });
190
- D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = E.value.parentNode, D.value.observe(O.value);
190
+ D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = T.value.parentNode, D.value.observe(O.value);
191
191
  }
192
192
  B(), $(".vue-ui-sparktrend-progress-label", 6);
193
193
  }
194
- let H = _(M.value.style.width), U = _(M.value.style.height), W = d(() => ({
194
+ let H = g(M.value.style.width), U = g(M.value.style.height), W = d(() => ({
195
195
  height: U.value,
196
196
  width: H.value
197
197
  })), G = d(() => ({
@@ -242,16 +242,16 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
242
242
  -Infinity
243
243
  ].includes(e) ? 0 : e || 0;
244
244
  return {
245
- value: c(e),
246
- absoluteValue: c(n),
247
- plotValue: c(n + q.value),
245
+ value: l(e),
246
+ absoluteValue: l(n),
247
+ plotValue: l(n + q.value),
248
248
  toMax: We(n + q.value),
249
- x: G.value.left + c(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
250
- y: G.value.bottom - c(G.value.height * We(n + q.value))
249
+ x: G.value.left + l(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
250
+ y: G.value.bottom - l(G.value.height * We(n + q.value))
251
251
  };
252
252
  })), Y = d(() => {
253
253
  let e = R(L.value);
254
- return M.value.style.trendLabel.trendType === "global" ? ne(e) : M.value.style.trendLabel.trendType === "n-1" && e.length > 1 ? (e.at(-1) / e.at(-2) - 1) * 100 : M.value.style.trendLabel.trendType === "lastToFirst" ? (e.at(-1) / e[0] - 1) * 100 : 0;
254
+ return M.value.style.trendLabel.trendType === "global" ? te(e) : M.value.style.trendLabel.trendType === "n-1" && e.length > 1 ? (e.at(-1) / e.at(-2) - 1) * 100 : M.value.style.trendLabel.trendType === "lastToFirst" ? (e.at(-1) / e[0] - 1) * 100 : 0;
255
255
  }), X = d(() => k.value || Y.value === 0 ? "neutral" : Y.value > 0 ? "positive" : "negative"), Z = d(() => M.value.style.arrow.colors[X.value]), Ke = d(() => {
256
256
  let e = {
257
257
  x: J.value[0].x,
@@ -275,17 +275,17 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
275
275
  e.push(`${t.x},${t.y} `);
276
276
  }), `M ${e.toString()}`;
277
277
  }), Q = d(() => U.value / 2 - M.value.style.trendLabel.fontSize), { fitText: $ } = de({
278
- svgRef: Re,
278
+ svgRef: E,
279
279
  unitWidth: d(() => G.value.left * .8),
280
280
  fontSize: M.value.style.trendLabel.fontSize
281
281
  }), Je = d(() => {
282
282
  if (N.value || k.value) return "Trend chart loading";
283
- let e = J.value?.at(-1), t = e?.value, n = s({
283
+ let e = J.value?.at(-1), t = e?.value, n = c({
284
284
  p: Y.value > 0 ? "+" : "",
285
285
  v: Y.value,
286
286
  s: "%",
287
287
  r: M.value.style.trendLabel.rounding
288
- }), r = t == null ? "not available" : o(M.value.style.dataLabel.formatter, t, s({
288
+ }), r = t == null ? "not available" : o(M.value.style.dataLabel.formatter, t, c({
289
289
  p: M.value.style.dataLabel.prefix,
290
290
  v: t,
291
291
  s: M.value.style.dataLabel.suffix,
@@ -293,12 +293,12 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
293
293
  }), { datapoint: e });
294
294
  return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${r}.`;
295
295
  }), Ye = d(() => `sparktrend-a11y-${j.value}`);
296
- return (e, t) => (g(), p("div", {
296
+ return (e, t) => (h(), p("div", {
297
297
  ref_key: "sparkTrendChart",
298
- ref: E,
298
+ ref: T,
299
299
  class: "vue-data-ui-component vue-ui-spark-trend",
300
300
  id: j.value,
301
- style: ge(`width:100%;font-family:${M.value.style.fontFamily};background:${M.value.style.backgroundColor}`),
301
+ style: _e(`width:100%;font-family:${M.value.style.fontFamily};background:${M.value.style.backgroundColor}`),
302
302
  role: "img",
303
303
  "aria-describedby": Ye.value
304
304
  }, [
@@ -306,25 +306,25 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
306
306
  id: Ye.value,
307
307
  class: "sr-only",
308
308
  "aria-live": "polite"
309
- }, y(Je.value), 9, be),
310
- (g(), p("svg", {
309
+ }, v(Je.value), 9, xe),
310
+ (h(), p("svg", {
311
311
  key: He.value,
312
312
  ref_key: "svgRef",
313
- ref: Re,
314
- xmlns: b(re),
313
+ ref: E,
314
+ xmlns: y(ne),
315
315
  viewBox: `0 0 ${W.value.width} ${W.value.height}`,
316
316
  style: "width:100%;background:transparent;overflow:visible",
317
317
  "aria-hidden": "true"
318
318
  }, [
319
- me(b(u)),
320
- e.$slots["chart-background"] ? (g(), p("foreignObject", {
319
+ me(y(se)),
320
+ e.$slots["chart-background"] ? (h(), p("foreignObject", {
321
321
  key: 0,
322
322
  x: 0,
323
323
  y: 0,
324
324
  width: W.value.width <= 0 ? 10 : W.value.width,
325
325
  height: W.value.height <= 0 ? 10 : W.value.height,
326
326
  style: { pointerEvents: "none" }
327
- }, [v(e.$slots, "chart-background", {}, void 0, !0)], 8, Se)) : f("", !0),
327
+ }, [_(e.$slots, "chart-background", {}, void 0, !0)], 8, Ce)) : f("", !0),
328
328
  m("defs", null, [m("linearGradient", {
329
329
  x1: "0%",
330
330
  y1: "0%",
@@ -333,32 +333,32 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
333
333
  id: `pill_gradient_${j.value}`
334
334
  }, [m("stop", {
335
335
  offset: "0%",
336
- "stop-color": b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
337
- }, null, 8, we), m("stop", {
336
+ "stop-color": y(n)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
337
+ }, null, 8, Te), m("stop", {
338
338
  offset: "100%",
339
339
  "stop-color": M.value.style.backgroundColor
340
- }, null, 8, Te)], 8, Ce)]),
341
- M.value.style.area.show && J.value[0] ? (g(), p("g", Ee, [M.value.style.line.smooth ? (g(), p("path", {
340
+ }, null, 8, Ee)], 8, we)]),
341
+ M.value.style.area.show && J.value[0] ? (h(), p("g", De, [M.value.style.line.smooth ? (h(), p("path", {
342
342
  key: 0,
343
- d: `M ${J.value[0].x},${G.value.bottom} ${b(te)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
344
- fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
343
+ d: `M ${J.value[0].x},${G.value.bottom} ${y(s)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
344
+ fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : y(n)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
345
345
  stroke: "none"
346
- }, null, 8, De)) : (g(), p("path", {
346
+ }, null, 8, Oe)) : (h(), p("path", {
347
347
  key: 1,
348
348
  d: `M${Ke.value}Z`,
349
- fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
349
+ fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : y(n)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
350
350
  stroke: "none"
351
- }, null, 8, Oe))])) : f("", !0),
352
- M.value.style.line.smooth && J.value.length ? (g(), p("path", {
351
+ }, null, 8, ke))])) : f("", !0),
352
+ M.value.style.line.smooth && J.value.length ? (h(), p("path", {
353
353
  key: 2,
354
- d: `M ${b(te)(J.value)}`,
354
+ d: `M ${y(s)(J.value)}`,
355
355
  stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
356
356
  fill: "none",
357
357
  "stroke-width": M.value.style.line.strokeWidth,
358
358
  "stroke-linecap": M.value.style.line.strokeLinecap,
359
359
  "stroke-linejoin": M.value.style.line.strokeLinejoin
360
- }, null, 8, ke)) : f("", !0),
361
- !M.value.style.line.smooth && J.value.length ? (g(), p("path", {
360
+ }, null, 8, Ae)) : f("", !0),
361
+ !M.value.style.line.smooth && J.value.length ? (h(), p("path", {
362
362
  key: 3,
363
363
  d: qe.value,
364
364
  stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
@@ -366,17 +366,17 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
366
366
  "stroke-width": M.value.style.line.strokeWidth,
367
367
  "stroke-linecap": M.value.style.line.strokeLinecap,
368
368
  "stroke-linejoin": M.value.style.line.strokeLinejoin
369
- }, null, 8, Ae)) : f("", !0),
370
- b(N) ? (g(), p("path", {
369
+ }, null, 8, je)) : f("", !0),
370
+ y(N) ? (h(), p("path", {
371
371
  key: 4,
372
372
  fill: "#6A6A6A",
373
373
  d: `M ${G.value.left / 2 + 6}, ${Q.value + 7} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 14} Z`
374
- }, null, 8, je)) : (g(), p("path", {
374
+ }, null, 8, Me)) : (h(), p("path", {
375
375
  key: 5,
376
376
  fill: Z.value,
377
377
  d: X.value === "positive" ? `M ${G.value.left / 2}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 12} ${G.value.left / 2 + 7}, ${Q.value + 12} Z` : X.value === "negative" ? `M ${G.value.left / 2}, ${Q.value + 12} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 + 7}, ${Q.value} Z` : `M ${G.value.left / 2 + 6}, ${Q.value + 7} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 14} Z`
378
- }, null, 8, Me)),
379
- b(N) ? (g(), p("rect", {
378
+ }, null, 8, Ne)),
379
+ y(N) ? (h(), p("rect", {
380
380
  key: 6,
381
381
  x: G.value.left / 2 - M.value.style.trendLabel.fontSize - 2,
382
382
  y: U.value / 2 + M.value.style.trendLabel.fontSize - 2,
@@ -384,8 +384,8 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
384
384
  height: M.value.style.trendLabel.fontSize,
385
385
  fill: "#6A6A6A80",
386
386
  rx: "3"
387
- }, null, 8, Ne)) : f("", !0),
388
- !k.value && !b(N) ? (g(), p("text", {
387
+ }, null, 8, Pe)) : f("", !0),
388
+ !k.value && !y(N) ? (h(), p("text", {
389
389
  key: 7,
390
390
  class: "vue-ui-sparktrend-progress-label",
391
391
  x: G.value.left / 2,
@@ -394,22 +394,22 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
394
394
  fill: M.value.style.trendLabel.useColorTrend ? Z.value : M.value.style.trendLabel.color,
395
395
  "font-size": M.value.style.trendLabel.fontSize,
396
396
  "font-weight": M.value.style.trendLabel.bold ? "bold" : "normal"
397
- }, y(b(s)({
397
+ }, v(y(c)({
398
398
  p: Y.value > 0 ? "+" : "",
399
399
  v: Y.value,
400
400
  s: "%",
401
401
  r: M.value.style.trendLabel.rounding
402
- })), 9, Pe)) : f("", !0),
403
- J.value.length && J.value.at(-1).x !== void 0 ? (g(), p("circle", {
402
+ })), 9, Fe)) : f("", !0),
403
+ J.value.length && J.value.at(-1).x !== void 0 ? (h(), p("circle", {
404
404
  key: 8,
405
405
  stroke: M.value.style.backgroundColor,
406
406
  "stroke-width": 2,
407
407
  cx: J.value.at(-1).x,
408
408
  cy: J.value.at(-1).y,
409
409
  r: 4,
410
- fill: b(N) ? "#6A6A6A" : Z.value
411
- }, null, 8, Fe)) : f("", !0),
412
- J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (g(), p("text", {
410
+ fill: y(N) ? "#6A6A6A" : Z.value
411
+ }, null, 8, Ie)) : f("", !0),
412
+ J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (h(), p("text", {
413
413
  key: 9,
414
414
  "text-anchor": "middle",
415
415
  x: J.value.at(-1).x,
@@ -417,22 +417,22 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
417
417
  "font-size": M.value.style.dataLabel.fontSize,
418
418
  fill: M.value.style.dataLabel.useColorTrend ? Z.value : M.value.style.dataLabel.color,
419
419
  "font-weight": M.value.style.dataLabel.bold ? "bold" : "normal"
420
- }, y(b(o)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(s)({
420
+ }, v(y(o)(M.value.style.dataLabel.formatter, J.value.at(-1).value, y(c)({
421
421
  p: M.value.style.dataLabel.prefix,
422
422
  v: J.value.at(-1).value,
423
423
  s: M.value.style.dataLabel.suffix,
424
424
  r: M.value.style.dataLabel.rounding
425
- }), { datapoint: J.value.at(-1) })), 9, Ie)) : f("", !0)
426
- ], 8, xe)),
427
- e.$slots.source ? (g(), p("div", {
425
+ }), { datapoint: J.value.at(-1) })), 9, Le)) : f("", !0)
426
+ ], 8, Se)),
427
+ e.$slots.source ? (h(), p("div", {
428
428
  key: 0,
429
429
  ref_key: "source",
430
430
  ref: ze,
431
431
  dir: "auto"
432
- }, [v(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
433
- v(e.$slots, "skeleton", {}, () => [b(N) ? (g(), pe(oe, { key: 0 })) : f("", !0)], !0)
434
- ], 12, ye));
432
+ }, [_(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
433
+ _(e.$slots, "skeleton", {}, () => [y(N) ? (h(), pe(ae, { key: 0 })) : f("", !0)], !0)
434
+ ], 12, be));
435
435
  }
436
436
  }, [["__scopeId", "data-v-90a4c498"]]);
437
437
  //#endregion
438
- export { S as n, C as t };
438
+ export { x as n, S as t };