vue-data-ui 3.22.0 → 3.22.2

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/dist/{Arrow-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
  3. package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
  4. package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
  5. package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
  6. package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
  7. package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
  8. package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
  10. package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
  11. package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
  12. package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
  13. package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
  14. package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
  15. package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
  16. package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
  17. package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
  18. package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
  89. package/dist/exposedLib-CffbQxjN.js +19 -0
  90. package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
  91. package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
  92. package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
  93. package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
  94. package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
  95. package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.js} +2 -2
  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 +7 -10
  101. package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
  102. package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
  103. package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
  104. package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
  105. package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
  106. package/dist/utils.js +3 -3
  107. package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
  108. package/dist/vue-data-ui.js +72 -72
  109. package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
  110. package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
  111. package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
  112. package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
  113. package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
  114. package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
  115. package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
  116. package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
  117. package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
  118. package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
  120. package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
  121. package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
  122. package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
  123. package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
  124. package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
  125. package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
  126. package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
  127. package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
  128. package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
  129. package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
  130. package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
  131. package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
  132. package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
  133. package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
  134. package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
  135. package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
  136. package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
  137. package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
  139. package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
  140. package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
  141. package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
  142. package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
  143. package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
  144. package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
  145. package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
  146. package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
  147. package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
  148. package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
  149. package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
  150. package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
  151. package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
  152. package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
  153. package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
  154. package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
  155. package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
  156. package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
  157. package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
  158. package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
  159. package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
  160. package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
  161. package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
  162. package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
  163. package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
  164. package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
  165. package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
  166. package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
  167. package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
  168. package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
  169. package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
  170. package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
  171. package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
  172. package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
  173. package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
  174. package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
  175. package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
  176. package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
  177. package/package.json +2 -2
  178. package/dist/exposedLib-BJbE_A8E.js +0 -19
  179. package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
  181. package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
  182. package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
  183. package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
  184. package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
  185. package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
  186. package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
  187. package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
  188. package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
  189. package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
  190. package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
  191. package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
  192. package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
  193. package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
  194. package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
  195. package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
  196. package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
  197. package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
  198. package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
  199. package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
@@ -1,16 +1,16 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { G as t, H as n, Ht as r, Pt as i, Tt as a, X as ee, bt as o, i as s, k as c, m as te, t as ne, v as l } from "./lib-AJRHFE5U.js";
3
- import { t as re } from "./useConfig-Br1uzq_L.js";
4
- import { n as ie, t as ae } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as u } from "./useNestedProp-DtcXIg7n.js";
6
- import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
- import { c as se } from "./canvas-lib-BOP_HS11.js";
9
- import { t as ce } from "./useResponsive-BfnK0KxU.js";
10
- import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
11
- import { t as ue } from "./useFitSvgText-CT3nmlaS.js";
12
- import { t as de } from "./vue_ui_spark_trend-DxVmpkmC.js";
13
- import { computed as f, createBlock as fe, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as pe, defineAsyncComponent as me, nextTick as he, 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";
2
+ import { Et as t, Ft as n, G as r, H as i, Ut as a, X as ee, i as o, k as te, m as ne, t as re, v as s, xt as c } from "./lib-CXicicWN.js";
3
+ import { t as ie } from "./useConfig-Bf_EBbe3.js";
4
+ import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
5
+ import { t as l } from "./useNestedProp-APyFoLCQ.js";
6
+ import { t as se } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
+ import { c as ce } from "./canvas-lib-BOP_HS11.js";
9
+ import { t as le } from "./useResponsive-BfnK0KxU.js";
10
+ import { t as ue } from "./usePrefersMotion-BC-CsqR1.js";
11
+ import { t as de } from "./useFitSvgText-CT3nmlaS.js";
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";
14
14
  //#region src/components/vue-ui-spark-trend.vue
15
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 = [
16
16
  "d",
@@ -46,7 +46,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
46
46
  "font-size",
47
47
  "fill",
48
48
  "font-weight"
49
- ], C = /*#__PURE__*/ d({
49
+ ], C = /*#__PURE__*/ u({
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 d = me(() => import("./PackageVersion-DxBQctV8.js").then((e) => e.t)), { vue_ui_spark_trend: S } = re(), { isThemeValid: C, warnInvalidTheme: Le } = oe(), w = le(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(n()), M = _(I()), Be = f(() => r({
66
+ let u = he(() => import("./PackageVersion-Dx81ZIAL.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 = _(i()), M = _(I()), Be = d(() => a({
67
67
  defaultConfig: { style: {
68
68
  animation: { show: !1 },
69
69
  backgroundColor: "#99999930",
@@ -78,7 +78,7 @@ 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 } = ie({
81
+ })), { loading: N, FINAL_DATASET: P, manualLoading: F } = ae({
82
82
  ...ve(T),
83
83
  FINAL_CONFIG: M,
84
84
  prepareConfig: I,
@@ -96,28 +96,28 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
96
96
  144,
97
97
  233
98
98
  ],
99
- skeletonConfig: r({
99
+ skeletonConfig: a({
100
100
  defaultConfig: M.value,
101
101
  userConfig: Be.value
102
102
  })
103
103
  });
104
104
  function I() {
105
- let e = u({
105
+ let e = l({
106
106
  userConfig: T.config,
107
107
  defaultConfig: S
108
108
  }), t = e.theme;
109
109
  if (!t) return e;
110
110
  if (!C.value(e)) return Le(e), e;
111
- let n = u({
112
- userConfig: de[t] || T.config,
111
+ let n = l({
112
+ userConfig: fe[t] || T.config,
113
113
  defaultConfig: e
114
114
  });
115
- return u({
115
+ return l({
116
116
  userConfig: T.config,
117
117
  defaultConfig: n
118
118
  });
119
119
  }
120
- let L = f(() => o({
120
+ let L = d(() => c({
121
121
  data: P.value,
122
122
  threshold: M.value.downsample.threshold
123
123
  }));
@@ -125,9 +125,9 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
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) => l(e));
128
+ return e.map((e) => s(e));
129
129
  }
130
- let z = _(o({
130
+ let z = _(c({
131
131
  data: P.value,
132
132
  threshold: M.value.downsample.threshold
133
133
  }).map((e) => M.value.style.animation.show && !w.value || [
@@ -143,14 +143,14 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
143
143
  Infinity,
144
144
  -Infinity,
145
145
  null
146
- ].includes(e) && !Number.isNaN(e) ? e : null), B(), he(() => $(".vue-ui-sparktrend-progress-label", 6));
146
+ ].includes(e) && !Number.isNaN(e) ? e : null), B(), h(() => $(".vue-ui-sparktrend-progress-label", 6));
147
147
  }, {
148
148
  deep: !0,
149
149
  immediate: !0
150
150
  }), x(() => JSON.stringify(T.dataset), () => {
151
- A.value &&= (cancelAnimationFrame(A.value), null), F.value = a(T.dataset);
151
+ A.value &&= (cancelAnimationFrame(A.value), null), F.value = t(T.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(), he(() => $(".vue-ui-sparktrend-progress-label", 6));
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));
154
154
  }, {
155
155
  deep: !1,
156
156
  immediate: !0
@@ -171,15 +171,15 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
171
171
  _e(() => {
172
172
  V();
173
173
  });
174
- let Ve = f(() => M.value.debug);
174
+ let Ve = d(() => M.value.debug);
175
175
  function V() {
176
- if (a(T.dataset) && (ee({
176
+ if (t(T.dataset) && (ee({
177
177
  componentName: "VueUiSparkTrend",
178
178
  type: "dataset",
179
179
  debug: Ve.value
180
- }), F.value = !0), a(T.dataset) || (F.value = !1), M.value.responsive) {
181
- let e = se(() => {
182
- let { width: e, height: t } = ce({
180
+ }), F.value = !0), t(T.dataset) || (F.value = !1), M.value.responsive) {
181
+ let e = ce(() => {
182
+ let { width: e, height: t } = le({
183
183
  chart: E.value,
184
184
  source: ze.value
185
185
  });
@@ -191,17 +191,17 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
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 = f(() => ({
194
+ let H = _(M.value.style.width), U = _(M.value.style.height), W = d(() => ({
195
195
  height: U.value,
196
196
  width: H.value
197
- })), G = f(() => ({
197
+ })), G = d(() => ({
198
198
  top: M.value.style.padding.top,
199
199
  left: M.value.style.padding.left,
200
200
  right: W.value.width - M.value.style.padding.right,
201
201
  bottom: W.value.height - M.value.style.padding.bottom,
202
202
  height: W.value.height - (M.value.style.padding.top + M.value.style.padding.bottom) - (M.value.style.dataLabel.show ? M.value.style.dataLabel.fontSize : 0),
203
203
  width: W.value.width - (M.value.style.padding.left + M.value.style.padding.right)
204
- })), K = f(() => {
204
+ })), K = d(() => {
205
205
  let e = R(L.value).filter(Number.isFinite);
206
206
  if (!e.length) return {
207
207
  max: 0,
@@ -216,7 +216,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
216
216
  max: t,
217
217
  min: n
218
218
  };
219
- }), He = f(() => {
219
+ }), He = d(() => {
220
220
  let e = L.value, t = e.length ? e[e.length - 1] : "x";
221
221
  return [
222
222
  j.value,
@@ -225,14 +225,14 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
225
225
  M.value.downsample.threshold,
226
226
  M.value.style.line.smooth ? "s" : "l"
227
227
  ].join("-");
228
- }), q = f(() => {
228
+ }), q = d(() => {
229
229
  let e = K.value.min >= 0 ? 0 : K.value.min;
230
230
  return Math.abs(e);
231
- }), Ue = f(() => K.value.max + q.value);
231
+ }), Ue = d(() => K.value.max + q.value);
232
232
  function We(e) {
233
233
  return e / Ue.value;
234
234
  }
235
- let Ge = f(() => L.value.length), J = f(() => z.value.map((e, t) => {
235
+ let Ge = d(() => L.value.length), J = d(() => z.value.map((e, t) => {
236
236
  let n = isNaN(e) || [
237
237
  void 0,
238
238
  null,
@@ -242,17 +242,17 @@ 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: l(e),
246
- absoluteValue: l(n),
247
- plotValue: l(n + q.value),
245
+ value: s(e),
246
+ absoluteValue: s(n),
247
+ plotValue: s(n + q.value),
248
248
  toMax: 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))
249
+ x: G.value.left + s(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
250
+ y: G.value.bottom - s(G.value.height * We(n + q.value))
251
251
  };
252
- })), Y = f(() => {
252
+ })), Y = d(() => {
253
253
  let e = R(L.value);
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
- }), X = f(() => k.value || Y.value === 0 ? "neutral" : Y.value > 0 ? "positive" : "negative"), Z = f(() => M.value.style.arrow.colors[X.value]), Ke = f(() => {
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;
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,
258
258
  y: W.value.height - 6
@@ -269,31 +269,31 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
269
269
  t.x,
270
270
  t.y
271
271
  ].toString();
272
- }), qe = f(() => {
272
+ }), qe = d(() => {
273
273
  let e = [];
274
274
  return J.value.forEach((t) => {
275
275
  e.push(`${t.x},${t.y} `);
276
276
  }), `M ${e.toString()}`;
277
- }), Q = f(() => U.value / 2 - M.value.style.trendLabel.fontSize), { fitText: $ } = ue({
277
+ }), Q = d(() => U.value / 2 - M.value.style.trendLabel.fontSize), { fitText: $ } = de({
278
278
  svgRef: Re,
279
- unitWidth: f(() => G.value.left * .8),
279
+ unitWidth: d(() => G.value.left * .8),
280
280
  fontSize: M.value.style.trendLabel.fontSize
281
- }), Je = f(() => {
281
+ }), Je = d(() => {
282
282
  if (N.value || k.value) return "Trend chart loading";
283
- let e = J.value?.at(-1), n = e?.value, r = t({
283
+ let e = J.value?.at(-1), t = e?.value, n = r({
284
284
  p: Y.value > 0 ? "+" : "",
285
285
  v: Y.value,
286
286
  s: "%",
287
287
  r: M.value.style.trendLabel.rounding
288
- }), i = n == null ? "not available" : s(M.value.style.dataLabel.formatter, n, t({
288
+ }), i = t == null ? "not available" : o(M.value.style.dataLabel.formatter, t, r({
289
289
  p: M.value.style.dataLabel.prefix,
290
- v: n,
290
+ v: t,
291
291
  s: M.value.style.dataLabel.suffix,
292
292
  r: M.value.style.dataLabel.rounding
293
293
  }), { datapoint: e });
294
- return `Progression ${X.value === "positive" ? `up ${r}` : X.value === "negative" ? `down ${r}` : `stable at ${r}`}. Last value ${i}.`;
295
- }), Ye = f(() => `sparktrend-a11y-${j.value}`);
296
- return (e, n) => (g(), m("div", {
294
+ return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${i}.`;
295
+ }), Ye = d(() => `sparktrend-a11y-${j.value}`);
296
+ return (e, t) => (g(), p("div", {
297
297
  ref_key: "sparkTrendChart",
298
298
  ref: E,
299
299
  class: "vue-data-ui-component vue-ui-spark-trend",
@@ -302,63 +302,63 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
302
302
  role: "img",
303
303
  "aria-describedby": Ye.value
304
304
  }, [
305
- h("p", {
305
+ m("p", {
306
306
  id: Ye.value,
307
307
  class: "sr-only",
308
308
  "aria-live": "polite"
309
309
  }, y(Je.value), 9, be),
310
- (g(), m("svg", {
310
+ (g(), p("svg", {
311
311
  key: He.value,
312
312
  ref_key: "svgRef",
313
313
  ref: Re,
314
- xmlns: b(ne),
314
+ xmlns: b(re),
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
- pe(b(d)),
320
- e.$slots["chart-background"] ? (g(), m("foreignObject", {
319
+ me(b(u)),
320
+ e.$slots["chart-background"] ? (g(), 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)) : p("", !0),
328
- h("defs", null, [h("linearGradient", {
327
+ }, [v(e.$slots, "chart-background", {}, void 0, !0)], 8, Se)) : f("", !0),
328
+ m("defs", null, [m("linearGradient", {
329
329
  x1: "0%",
330
330
  y1: "0%",
331
331
  x2: "0%",
332
332
  y2: "100%",
333
333
  id: `pill_gradient_${j.value}`
334
- }, [h("stop", {
334
+ }, [m("stop", {
335
335
  offset: "0%",
336
- "stop-color": b(i)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
337
- }, null, 8, we), h("stop", {
336
+ "stop-color": b(n)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
337
+ }, null, 8, we), m("stop", {
338
338
  offset: "100%",
339
339
  "stop-color": M.value.style.backgroundColor
340
340
  }, null, 8, Te)], 8, Ce)]),
341
- M.value.style.area.show && J.value[0] ? (g(), m("g", Ee, [M.value.style.line.smooth ? (g(), m("path", {
341
+ M.value.style.area.show && J.value[0] ? (g(), p("g", Ee, [M.value.style.line.smooth ? (g(), p("path", {
342
342
  key: 0,
343
- d: `M ${J.value[0].x},${G.value.bottom} ${b(c)(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(i)(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} ${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(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(), m("path", {
346
+ }, null, 8, De)) : (g(), 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(i)(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})` : b(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))])) : p("", !0),
352
- M.value.style.line.smooth && J.value.length ? (g(), m("path", {
351
+ }, null, 8, Oe))])) : f("", !0),
352
+ M.value.style.line.smooth && J.value.length ? (g(), p("path", {
353
353
  key: 2,
354
- d: `M ${b(c)(J.value)}`,
354
+ d: `M ${b(te)(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)) : p("", !0),
361
- !M.value.style.line.smooth && J.value.length ? (g(), m("path", {
360
+ }, null, 8, ke)) : f("", !0),
361
+ !M.value.style.line.smooth && J.value.length ? (g(), 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)) : p("", !0),
370
- b(N) ? (g(), m("path", {
369
+ }, null, 8, Ae)) : f("", !0),
370
+ b(N) ? (g(), 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(), m("path", {
374
+ }, null, 8, je)) : (g(), 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
378
  }, null, 8, Me)),
379
- b(N) ? (g(), m("rect", {
379
+ b(N) ? (g(), 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)) : p("", !0),
388
- !k.value && !b(N) ? (g(), m("text", {
387
+ }, null, 8, Ne)) : f("", !0),
388
+ !k.value && !b(N) ? (g(), p("text", {
389
389
  key: 7,
390
390
  class: "vue-ui-sparktrend-progress-label",
391
391
  x: G.value.left / 2,
@@ -394,13 +394,13 @@ 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(t)({
397
+ }, y(b(r)({
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)) : p("", !0),
403
- J.value.length && J.value.at(-1).x !== void 0 ? (g(), m("circle", {
402
+ })), 9, Pe)) : f("", !0),
403
+ J.value.length && J.value.at(-1).x !== void 0 ? (g(), p("circle", {
404
404
  key: 8,
405
405
  stroke: M.value.style.backgroundColor,
406
406
  "stroke-width": 2,
@@ -408,8 +408,8 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
408
408
  cy: J.value.at(-1).y,
409
409
  r: 4,
410
410
  fill: b(N) ? "#6A6A6A" : Z.value
411
- }, null, 8, Fe)) : p("", !0),
412
- J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (g(), m("text", {
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", {
413
413
  key: 9,
414
414
  "text-anchor": "middle",
415
415
  x: J.value.at(-1).x,
@@ -417,20 +417,20 @@ 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(s)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(t)({
420
+ }, y(b(o)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(r)({
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)) : p("", !0)
425
+ }), { datapoint: J.value.at(-1) })), 9, Ie)) : f("", !0)
426
426
  ], 8, xe)),
427
- e.$slots.source ? (g(), m("div", {
427
+ e.$slots.source ? (g(), 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)) : p("", !0),
433
- v(e.$slots, "skeleton", {}, () => [b(N) ? (g(), fe(ae, { key: 0 })) : p("", !0)], !0)
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
434
  ], 12, ye));
435
435
  }
436
436
  }, [["__scopeId", "data-v-90a4c498"]]);