vue-data-ui 3.1.17 → 3.1.19-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/dist/{Arrow-DFX_NfRh.js → Arrow-cyyFTTnm.js} +7 -7
  2. package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
  3. package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-D2f9w5Z5.js} +1 -1
  4. package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-gaAecgEC.js} +6 -6
  5. package/dist/{DataTable-Dw6dxJk3.js → DataTable-xISHA7Pu.js} +2 -2
  6. package/dist/{Legend-CjdnJGHq.js → Legend-_Rv594VS.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
  8. package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-DRpg18lg.js} +3 -3
  9. package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-CtDMyIvW.js} +3 -3
  10. package/dist/{Shape-6PexQroB.js → Shape-BDy56-wS.js} +1 -1
  11. package/dist/{Slicer-BJkhMBk4.js → Slicer-BgpOhmb6.js} +31 -31
  12. package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DOFGBHJ-.js} +1 -1
  13. package/dist/{Title-BVMfF0uu.js → Title-pI68ZJsq.js} +1 -1
  14. package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Clf2K3CF.js} +1 -1
  15. package/dist/{UserOptions-CKzW9w0Q.js → UserOptions-Bn3u4JQu.js} +2 -2
  16. package/dist/components/arrow.js +5 -0
  17. package/dist/components/vue-ui-3d-bar.js +5 -0
  18. package/dist/components/vue-ui-accordion.js +5 -0
  19. package/dist/components/vue-ui-age-pyramid.js +5 -0
  20. package/dist/components/vue-ui-bullet.js +5 -0
  21. package/dist/components/vue-ui-candlestick.js +5 -0
  22. package/dist/components/vue-ui-carousel-table.js +5 -0
  23. package/dist/components/vue-ui-chestnut.js +5 -0
  24. package/dist/components/vue-ui-chord.js +5 -0
  25. package/dist/components/vue-ui-circle-pack.js +5 -0
  26. package/dist/components/vue-ui-cursor.js +5 -0
  27. package/dist/components/vue-ui-dashboard.js +5 -0
  28. package/dist/components/vue-ui-digits.js +5 -0
  29. package/dist/components/vue-ui-donut-evolution.js +5 -0
  30. package/dist/components/vue-ui-donut.js +5 -0
  31. package/dist/components/vue-ui-dumbbell.js +5 -0
  32. package/dist/components/vue-ui-flow.js +5 -0
  33. package/dist/components/vue-ui-funnel.js +5 -0
  34. package/dist/components/vue-ui-galaxy.js +5 -0
  35. package/dist/components/vue-ui-gauge.js +5 -0
  36. package/dist/components/vue-ui-gizmo.js +5 -0
  37. package/dist/components/vue-ui-heatmap.js +5 -0
  38. package/dist/components/vue-ui-history-plot.js +5 -0
  39. package/dist/components/vue-ui-horizontal-bar.js +5 -0
  40. package/dist/components/vue-ui-icon.js +5 -0
  41. package/dist/components/vue-ui-kpi.js +5 -0
  42. package/dist/components/vue-ui-mini-loader.js +5 -0
  43. package/dist/components/vue-ui-molecule.js +5 -0
  44. package/dist/components/vue-ui-mood-radar.js +5 -0
  45. package/dist/components/vue-ui-nested-donuts.js +5 -0
  46. package/dist/components/vue-ui-onion.js +5 -0
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
  48. package/dist/components/vue-ui-pattern.js +5 -0
  49. package/dist/components/vue-ui-quadrant.js +5 -0
  50. package/dist/components/vue-ui-quick-chart.js +5 -0
  51. package/dist/components/vue-ui-radar.js +5 -0
  52. package/dist/components/vue-ui-rating.js +5 -0
  53. package/dist/components/vue-ui-relation-circle.js +5 -0
  54. package/dist/components/vue-ui-ridgeline.js +5 -0
  55. package/dist/components/vue-ui-rings.js +5 -0
  56. package/dist/components/vue-ui-scatter.js +5 -0
  57. package/dist/components/vue-ui-skeleton.js +5 -0
  58. package/dist/components/vue-ui-smiley.js +5 -0
  59. package/dist/components/vue-ui-spark-trend.js +5 -0
  60. package/dist/components/vue-ui-sparkbar.js +5 -0
  61. package/dist/components/vue-ui-sparkgauge.js +5 -0
  62. package/dist/components/vue-ui-sparkhistogram.js +5 -0
  63. package/dist/components/vue-ui-sparkline.js +5 -0
  64. package/dist/components/vue-ui-sparkstackbar.js +5 -0
  65. package/dist/components/vue-ui-stackbar.js +5 -0
  66. package/dist/components/vue-ui-strip-plot.js +5 -0
  67. package/dist/components/vue-ui-table-heatmap.js +5 -0
  68. package/dist/components/vue-ui-table-sparkline.js +5 -0
  69. package/dist/components/vue-ui-table.js +5 -0
  70. package/dist/components/vue-ui-thermometer.js +5 -0
  71. package/dist/components/vue-ui-timer.js +5 -0
  72. package/dist/components/vue-ui-tiremarks.js +5 -0
  73. package/dist/components/vue-ui-treemap.js +5 -0
  74. package/dist/components/vue-ui-vertical-bar.js +5 -0
  75. package/dist/components/vue-ui-waffle.js +5 -0
  76. package/dist/components/vue-ui-wheel.js +5 -0
  77. package/dist/components/vue-ui-word-cloud.js +5 -0
  78. package/dist/components/vue-ui-world.js +5 -0
  79. package/dist/components/vue-ui-xy-canvas.js +5 -0
  80. package/dist/components/vue-ui-xy.js +5 -0
  81. package/dist/{dom-to-png-D0wlWRL9.js → dom-to-png-CSg_eTqL.js} +1 -1
  82. package/dist/{img-CeCjiMpr.js → img-CH7J0fYg.js} +1 -1
  83. package/dist/lib-p5pfHmOX.js +1882 -0
  84. package/dist/{pdf-D5bgIg6W.js → pdf-Wd2BQz4D.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/themes-D3cUNuKw.js +53 -0
  87. package/dist/types/arrow.d.ts +4 -0
  88. package/dist/types/universal.d.ts +1 -0
  89. package/dist/types/vue-data-ui.d.ts +71 -21
  90. package/dist/types/vue-ui-3d-bar.d.ts +18 -0
  91. package/dist/types/vue-ui-accordion.d.ts +12 -0
  92. package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
  93. package/dist/types/vue-ui-bullet.d.ts +16 -0
  94. package/dist/types/vue-ui-candlestick.d.ts +16 -0
  95. package/dist/types/vue-ui-carousel-table.d.ts +14 -0
  96. package/dist/types/vue-ui-chestnut.d.ts +17 -0
  97. package/dist/types/vue-ui-chord.d.ts +19 -0
  98. package/dist/types/vue-ui-circle-pack.d.ts +17 -0
  99. package/dist/types/vue-ui-cursor.d.ts +7 -0
  100. package/dist/types/vue-ui-dashboard.d.ts +14 -0
  101. package/dist/types/vue-ui-digits.d.ts +10 -0
  102. package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
  103. package/dist/types/vue-ui-donut.d.ts +18 -0
  104. package/dist/types/vue-ui-dumbbell.d.ts +18 -0
  105. package/dist/types/vue-ui-flow.d.ts +18 -0
  106. package/dist/types/vue-ui-funnel.d.ts +15 -0
  107. package/dist/types/vue-ui-galaxy.d.ts +18 -0
  108. package/dist/types/vue-ui-gauge.d.ts +16 -0
  109. package/dist/types/vue-ui-gizmo.d.ts +14 -0
  110. package/dist/types/vue-ui-heatmap.d.ts +17 -0
  111. package/dist/types/vue-ui-history-plot.d.ts +19 -0
  112. package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
  113. package/dist/types/vue-ui-icon.d.ts +16 -0
  114. package/dist/types/vue-ui-kpi.d.ts +13 -0
  115. package/dist/types/vue-ui-mini-loader.d.ts +13 -0
  116. package/dist/types/vue-ui-molecule.d.ts +17 -0
  117. package/dist/types/vue-ui-mood-radar.d.ts +17 -0
  118. package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
  119. package/dist/types/vue-ui-onion.d.ts +18 -0
  120. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
  121. package/dist/types/vue-ui-pattern.d.ts +17 -0
  122. package/dist/types/vue-ui-quadrant.d.ts +20 -0
  123. package/dist/types/vue-ui-quick-chart.d.ts +16 -0
  124. package/dist/types/vue-ui-radar.d.ts +22 -0
  125. package/dist/types/vue-ui-rating.d.ts +15 -0
  126. package/dist/types/vue-ui-relation-circle.d.ts +17 -0
  127. package/dist/types/vue-ui-ridgeline.d.ts +20 -0
  128. package/dist/types/vue-ui-rings.d.ts +17 -0
  129. package/dist/types/vue-ui-scatter.d.ts +19 -0
  130. package/dist/types/vue-ui-skeleton.d.ts +12 -0
  131. package/dist/types/vue-ui-smiley.d.ts +14 -0
  132. package/dist/types/vue-ui-spark-trend.d.ts +13 -0
  133. package/dist/types/vue-ui-sparkbar.d.ts +15 -0
  134. package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
  135. package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
  136. package/dist/types/vue-ui-sparkline.d.ts +15 -0
  137. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
  138. package/dist/types/vue-ui-stackbar.d.ts +18 -0
  139. package/dist/types/vue-ui-strip-plot.d.ts +19 -0
  140. package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
  141. package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
  142. package/dist/types/vue-ui-table.d.ts +17 -0
  143. package/dist/types/vue-ui-thermometer.d.ts +15 -0
  144. package/dist/types/vue-ui-timer.d.ts +12 -0
  145. package/dist/types/vue-ui-tiremarks.d.ts +15 -0
  146. package/dist/types/vue-ui-treemap.d.ts +18 -0
  147. package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
  148. package/dist/types/vue-ui-waffle.d.ts +18 -0
  149. package/dist/types/vue-ui-wheel.d.ts +15 -0
  150. package/dist/types/vue-ui-word-cloud.d.ts +17 -0
  151. package/dist/types/vue-ui-world.d.ts +17 -0
  152. package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
  153. package/dist/types/vue-ui-xy.d.ts +24 -0
  154. package/dist/universal-registry-CL8g2COA.js +70 -0
  155. package/dist/universal.js +5 -0
  156. package/dist/{useAutoSizeLabelsInsideViewbox-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
  157. package/dist/useNestedProp-DF7e2h1z.js +6645 -0
  158. package/dist/{usePrinter-DGI4Mlad.js → usePrinter-Yeu5jOfm.js} +2 -2
  159. package/dist/vue-data-ui-h5C8hpE8.js +317 -0
  160. package/dist/vue-data-ui.js +243 -85
  161. package/dist/{vue-ui-3d-bar-8b3VZcUI.js → vue-ui-3d-bar-BZDLbeym.js} +103 -102
  162. package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-D-L73-T2.js} +4 -4
  163. package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
  164. package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
  165. package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
  166. package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
  167. package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
  168. package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
  169. package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DqGoensA.js} +61 -60
  170. package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
  171. package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-0muOlHSh.js} +3 -3
  172. package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
  173. package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-DOUNtmB0.js} +3 -3
  174. package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-CWgiy7rq.js} +39 -38
  175. package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
  176. package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
  177. package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-C8iSww9L.js} +127 -126
  178. package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
  179. package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
  180. package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-MM8rPNWR.js} +149 -148
  181. package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
  182. package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
  183. package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-BCfEt867.js} +105 -104
  184. package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
  185. package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
  186. package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
  187. package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
  188. package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
  189. package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
  190. package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
  191. package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
  192. package/dist/{vue-ui-quadrant-Cg5e73ny.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
  193. package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
  194. package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-BmmwGJaI.js} +90 -89
  195. package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-CjoKP6-5.js} +9 -9
  196. package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
  197. package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
  198. package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-DS-YbQVr.js} +74 -73
  199. package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-D8kUADP7.js} +121 -120
  200. package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
  201. package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
  202. package/dist/vue-ui-spark-trend-qt8UvEPc.js +337 -0
  203. package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-DgHvA8ra.js} +86 -85
  204. package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
  205. package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
  206. package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-BSGiRpQ9.js} +105 -104
  207. package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
  208. package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
  209. package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
  210. package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-DKHtmqLd.js} +9 -8
  211. package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
  212. package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
  213. package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
  214. package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-C4LZMTeg.js} +31 -31
  215. package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
  216. package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
  217. package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
  218. package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-CP6jUrto.js} +76 -75
  219. package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-B59kWUZd.js} +85 -84
  220. package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
  221. package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-B6S7X6sr.js} +19 -19
  222. package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-BjzutuG2.js} +496 -505
  223. package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
  224. package/package.json +19 -11
  225. package/dist/index-Lg17rmB1.js +0 -8729
  226. package/dist/types/vue-data-ui.d.cts +0 -9435
  227. package/dist/useNestedProp-DpwLJMsW.js +0 -13
  228. package/dist/vue-data-ui-lki09wwK.js +0 -325
  229. package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
@@ -1,16 +1,17 @@
1
- import { defineAsyncComponent as O, ref as v, shallowRef as Ee, computed as y, onMounted as Mt, onBeforeUnmount as zt, toRefs as Nt, watch as K, watchEffect as Ot, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as L, normalizeClass as P, renderSlot as p, createBlock as I, createCommentVNode as h, createElementVNode as _, createVNode as de, createSlots as He, withCtx as m, normalizeProps as R, guardReactiveProps as B, Fragment as b, renderList as g, toDisplayString as T, Teleport as It, resolveDynamicComponent as Ft, mergeProps as Pt, createTextVNode as We, nextTick as Dt } from "vue";
2
- import { u as Xt, c as je, o as Ue, f as Ge, g as Rt, t as Bt, d as Yt, e as Et, p as Q, D as Ve, k as Y, i as E, X as Ht, l as Wt, j as jt, I as Ut, F as Gt, E as D, a as Vt, b as qt, C as ee, v as Zt, w as Jt, y as Kt } from "./index-Lg17rmB1.js";
3
- import { t as qe, u as Qt } from "./useResponsive-DfdjqQps.js";
4
- import { u as el, B as tl } from "./BaseScanner-BgWxam9d.js";
5
- import { u as ll } from "./usePrinter-DGI4Mlad.js";
6
- import { u as Ze } from "./useNestedProp-DpwLJMsW.js";
7
- import { u as al } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as ol } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import rl from "./img-CeCjiMpr.js";
11
- import nl from "./Title-BVMfF0uu.js";
12
- import ul from "./Legend-CjdnJGHq.js";
13
- import { _ as il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { defineAsyncComponent as O, ref as v, shallowRef as Ee, computed as y, onMounted as Mt, onBeforeUnmount as zt, toRefs as Nt, watch as K, watchEffect as Ot, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as L, normalizeClass as P, renderSlot as p, createBlock as I, createCommentVNode as h, createElementVNode as _, createVNode as de, createSlots as He, withCtx as m, normalizeProps as R, guardReactiveProps as B, Fragment as b, renderList as g, toDisplayString as T, Teleport as It, resolveDynamicComponent as Ft, mergeProps as Pt, createTextVNode as We, nextTick as Dt } from "vue";
2
+ import { c as je, o as Ue, f as Ge, g as Xt, t as Rt, e as Bt, h as Yt, p as Q, E as Ve, a as Y, d as E, X as Et, m as Ht, r as Wt, N as jt, G as Ut, F as D, b as Gt, D as ee, x as Vt, y as qt, z as Zt } from "./lib-p5pfHmOX.js";
3
+ import { t as qe, u as Jt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Kt, a as Ze } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as Qt, B as el } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as tl } from "./usePrinter-Yeu5jOfm.js";
7
+ import { u as ll } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as al } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as sl } from "./useTimeLabelCollider-CIsgDrl9.js";
10
+ import ol from "./img-CH7J0fYg.js";
11
+ import rl from "./Title-pI68ZJsq.js";
12
+ import { t as nl } from "./themes-D3cUNuKw.js";
13
+ import il from "./Legend-_Rv594VS.js";
14
+ import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
15
  const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "width", "height"], yl = { key: 1 }, fl = ["id"], xl = ["stop-color"], pl = ["stop-color"], ml = ["stop-color"], bl = { key: 2 }, gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = { key: 3 }, wl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "font-weight"], _l = { key: 6 }, Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $l = { key: 7 }, Sl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Tl = ["transform", "fill", "font-size", "text-anchor"], Ml = ["x", "y", "font-size", "fill", "font-weight"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = ["d", "stroke", "stroke-width"], Il = ["d", "stroke", "stroke-width"], Fl = ["cx", "cy", "fill", "r"], Pl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Dl = { key: 1 }, Xl = ["x", "y", "font-size", "fill", "font-weight"], Rl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Bl = { key: 2 }, Yl = ["x", "y", "font-size", "font-weight", "fill"], El = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Hl = {
15
16
  key: 4,
16
17
  class: "vue-data-ui-watermark"
@@ -32,7 +33,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
32
33
  },
33
34
  emits: ["selectLegend", "selectDatapoint"],
34
35
  setup(Je, { expose: Ke, emit: Qe }) {
35
- const et = O(() => import("./Tooltip-DBvmoYXU.js")), tt = O(() => import("./BaseIcon-7s-tCFcQ.js")), lt = O(() => import("./vue-ui-accordion-BJG-ogQj.js")), at = O(() => import("./DataTable-Dw6dxJk3.js")), st = O(() => import("./PenAndPaper-BKnXOYre.js")), ot = O(() => import("./UserOptions-CKzW9w0Q.js")), rt = O(() => import("./PackageVersion-D1HToLlZ.js")), nt = O(() => import("./BaseDraggableDialog-CrCjMg89.js")), { vue_ui_history_plot: ut } = Xt(), d = Je, $ = v(null), ye = v(null), fe = v(0), xe = v(null), pe = v(0), me = v(0), be = v(0), M = Ee(null), X = Ee(null), ge = v(null), S = v(je()), te = v(!1), le = v(""), w = v([]), H = v(!1), A = v(null), W = v(!1), ke = v(null), we = v(!1), j = v(null), ae = v(null), se = v(null), oe = v(null), G = v(null), re = v(null), V = y({
36
+ const et = O(() => import("./Tooltip-Clf2K3CF.js")), tt = O(() => import("./BaseIcon-D2f9w5Z5.js")), lt = O(() => import("./vue-ui-accordion-D-L73-T2.js")), at = O(() => import("./DataTable-xISHA7Pu.js")), st = O(() => import("./PenAndPaper-CtDMyIvW.js")), ot = O(() => import("./UserOptions-Bn3u4JQu.js")), rt = O(() => import("./PackageVersion-DRpg18lg.js")), nt = O(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_history_plot: it } = Kt(), d = Je, $ = v(null), ye = v(null), fe = v(0), xe = v(null), pe = v(0), me = v(0), be = v(0), M = Ee(null), X = Ee(null), ge = v(null), S = v(je()), te = v(!1), le = v(""), w = v([]), H = v(!1), A = v(null), W = v(!1), ke = v(null), we = v(!1), j = v(null), ae = v(null), se = v(null), oe = v(null), G = v(null), re = v(null), V = y({
36
37
  get: () => !!d.dataset && d.dataset.length,
37
38
  set: (t) => t
38
39
  }), Ce = Qe;
@@ -45,8 +46,8 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
45
46
  componentName: "VueUiHistoryPlot",
46
47
  type: "dataset",
47
48
  debug: Ae.value
48
- }), ue.value = !0) : d.dataset.forEach((t, a) => {
49
- Rt({
49
+ }), ie.value = !0) : d.dataset.forEach((t, a) => {
50
+ Xt({
50
51
  datasetObject: t,
51
52
  requiredAttributes: ["name", "values"]
52
53
  }).forEach((l) => {
@@ -58,9 +59,9 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
58
59
  debug: Ae.value
59
60
  });
60
61
  });
61
- }), Ue(d.dataset) || (ue.value = e.value.loading), e.value.responsive) {
62
+ }), Ue(d.dataset) || (ie.value = e.value.loading), e.value.responsive) {
62
63
  const t = qe(() => {
63
- const { width: a, height: l } = Qt({
64
+ const { width: a, height: l } = Jt({
64
65
  chart: $.value,
65
66
  title: e.value.style.chart.title.text ? ye.value : null,
66
67
  noTitle: ge.value,
@@ -122,18 +123,18 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
122
123
  function ne() {
123
124
  const t = Ze({
124
125
  userConfig: d.config,
125
- defaultConfig: ut
126
+ defaultConfig: it
126
127
  });
127
128
  let a = {};
128
129
  return t.theme ? a = {
129
130
  ...Ze({
130
- userConfig: qt.vue_ui_history_plot[t.theme] || d.config,
131
+ userConfig: nl.vue_ui_history_plot[t.theme] || d.config,
131
132
  defaultConfig: t
132
133
  }),
133
- customPalette: Vt[t.theme] || Q
134
+ customPalette: Gt[t.theme] || Q
134
135
  } : a = t, d.config && ee(d.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = d.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, d.config && ee(d.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = d.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, d.config && ee(d.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = d.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, d.config && ee(d.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = d.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
135
136
  }
136
- const e = v(ne()), { loading: z, FINAL_DATASET: it, manualLoading: ue } = el({
137
+ const e = v(ne()), { loading: z, FINAL_DATASET: ut, manualLoading: ie } = Qt({
137
138
  ...Nt(d),
138
139
  FINAL_CONFIG: e,
139
140
  prepareConfig: ne,
@@ -149,7 +150,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
149
150
  ]
150
151
  }
151
152
  ],
152
- skeletonConfig: Bt({
153
+ skeletonConfig: Rt({
153
154
  defaultConfig: e.value,
154
155
  userConfig: {
155
156
  userOptions: { show: !1 },
@@ -201,17 +202,17 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
201
202
  }
202
203
  }
203
204
  })
204
- }), { userOptionsVisible: ie, setUserOptionsVisibility: Le, keepUserOptionState: $e } = al({ config: e.value }), { svgRef: Se } = sl({ config: e.value.style.chart.title });
205
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: Le, keepUserOptionState: $e } = ll({ config: e.value }), { svgRef: Se } = al({ config: e.value.style.chart.title });
205
206
  K(() => d.config, (t) => {
206
- z.value || (e.value = ne()), ie.value = !e.value.userOptions.showOnChartHover, _e(), fe.value += 1, me.value += 1, pe.value += 1, f.value.height = e.value.style.chart.height, f.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
207
+ z.value || (e.value = ne()), ue.value = !e.value.userOptions.showOnChartHover, _e(), fe.value += 1, me.value += 1, pe.value += 1, f.value.height = e.value.style.chart.height, f.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
207
208
  }, { deep: !0 }), K(() => d.dataset, (t) => {
208
- Array.isArray(t) && t.length > 0 && (ue.value = !1);
209
+ Array.isArray(t) && t.length > 0 && (ie.value = !1);
209
210
  }, { deep: !0 });
210
- const { isPrinting: Te, isImaging: Me, generatePdf: ze, generateImage: Ne } = ll({
211
+ const { isPrinting: Te, isImaging: Me, generatePdf: ze, generateImage: Ne } = tl({
211
212
  elementId: `history_plot_${S.value}`,
212
213
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
213
214
  options: e.value.userOptions.print
214
- }), ct = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), vt = y(() => Yt(e.value.customPalette)), C = v({
215
+ }), ct = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), vt = y(() => Bt(e.value.customPalette)), C = v({
215
216
  showTable: e.value.table.show,
216
217
  showTooltip: e.value.style.chart.tooltip.show
217
218
  });
@@ -227,9 +228,9 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
227
228
  }), ht = y(() => f.value.width), dt = y(() => f.value.height);
228
229
  function yt() {
229
230
  let t = 0;
230
- re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((u, s) => {
231
+ re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((i, s) => {
231
232
  const k = s.getComputedTextLength();
232
- return k > u ? k : u;
233
+ return k > i ? k : i;
233
234
  }, 0));
234
235
  const a = oe.value ? oe.value.getBoundingClientRect().width : 0;
235
236
  return t + a + (a ? 24 : 0);
@@ -240,8 +241,8 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
240
241
  Ot((t) => {
241
242
  const a = G.value;
242
243
  if (!a) return;
243
- const l = new ResizeObserver((u) => {
244
- ft(u[0].contentRect.height);
244
+ const l = new ResizeObserver((i) => {
245
+ ft(i[0].contentRect.height);
245
246
  });
246
247
  l.observe(a), t(() => l.disconnect());
247
248
  });
@@ -251,14 +252,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
251
252
  let a = 0;
252
253
  return G.value && (a = Oe.value), t + a;
253
254
  }), c = y(() => {
254
- const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = yt(), u = e.value.style.chart.plots.radius;
255
+ const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = yt(), i = e.value.style.chart.plots.radius;
255
256
  return {
256
257
  left: t + l + e.value.style.chart.axes.y.name.offsetX,
257
- top: a + u,
258
- right: f.value.width - e.value.style.chart.padding.right - u - e.value.style.chart.axes.y.name.offsetX,
259
- bottom: f.value.height - e.value.style.chart.padding.bottom - Ie.value - u - e.value.style.chart.axes.x.name.offsetY,
260
- width: f.value.width - t - e.value.style.chart.padding.right - l - u - e.value.style.chart.axes.y.name.offsetX,
261
- height: f.value.height - a - e.value.style.chart.padding.bottom - Ie.value - u * 2 - e.value.style.chart.axes.x.name.offsetY
258
+ top: a + i,
259
+ right: f.value.width - e.value.style.chart.padding.right - i - e.value.style.chart.axes.y.name.offsetX,
260
+ bottom: f.value.height - e.value.style.chart.padding.bottom - Ie.value - i - e.value.style.chart.axes.x.name.offsetY,
261
+ width: f.value.width - t - e.value.style.chart.padding.right - l - i - e.value.style.chart.axes.y.name.offsetX,
262
+ height: f.value.height - a - e.value.style.chart.padding.bottom - Ie.value - i * 2 - e.value.style.chart.axes.x.name.offsetY
262
263
  };
263
264
  }), n = v({
264
265
  plots: e.value.style.chart.plots.radius,
@@ -268,9 +269,9 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
268
269
  xAxisName: e.value.style.chart.axes.x.name.fontSize,
269
270
  yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
270
271
  yAxisName: e.value.style.chart.axes.y.name.fontSize
271
- }), N = y(() => it.value.map((t, a) => ({
272
+ }), N = y(() => ut.value.map((t, a) => ({
272
273
  ...t,
273
- color: t.color ? Et(t.color) : vt.value[a] || Q[a] || Q[a % Q.length],
274
+ color: t.color ? Yt(t.color) : vt.value[a] || Q[a] || Q[a % Q.length],
274
275
  seriesIndex: a
275
276
  }))), xt = y(() => Math.max(...N.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), pt = y(() => {
276
277
  const t = Math.min(...N.value.filter((a) => !w.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
@@ -323,11 +324,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
323
324
  color: t.color,
324
325
  seriesName: t.name,
325
326
  id: je()
326
- })), u = l.map((s) => `${s.x},${s.y} `).join("").trim();
327
+ })), i = l.map((s) => `${s.x},${s.y} `).join("").trim();
327
328
  return {
328
329
  ...t,
329
330
  plots: l,
330
- path: `M${u}`
331
+ path: `M${i}`
331
332
  };
332
333
  }));
333
334
  function Fe(t) {
@@ -366,10 +367,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
366
367
  }
367
368
  function _t({ datapoint: t, plotIndex: a, seriesIndex: l }) {
368
369
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), ce.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: N.value }, A.value = t;
369
- const u = e.value.style.chart.tooltip.customFormat;
370
- if (W.value = !1, Kt(u))
370
+ const i = e.value.style.chart.tooltip.customFormat;
371
+ if (W.value = !1, Zt(i))
371
372
  try {
372
- const s = u({
373
+ const s = i({
373
374
  seriesIndex: l,
374
375
  datapoint: t,
375
376
  plotIndex: a,
@@ -414,7 +415,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
414
415
  e.value.table.columnNames.datapoint,
415
416
  e.value.table.columnNames.x,
416
417
  e.value.table.columnNames.y
417
- ], a = F.value.flatMap((u) => u.plots.map((s) => [
418
+ ], a = F.value.flatMap((i) => i.plots.map((s) => [
418
419
  {
419
420
  color: s.color,
420
421
  name: s.seriesName
@@ -472,12 +473,12 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
472
473
  [J.label],
473
474
  [J.valueX],
474
475
  [J.valueY]
475
- ])), u = [
476
+ ])), i = [
476
477
  [e.value.style.chart.title.text],
477
478
  [e.value.style.chart.title.subtitle.text],
478
479
  a
479
- ].concat(l), s = Zt(u);
480
- t ? t(s) : Jt({
480
+ ].concat(l), s = Vt(i);
481
+ t ? t(s) : qt({
481
482
  csvContent: s,
482
483
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
483
484
  });
@@ -498,18 +499,18 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
498
499
  }
499
500
  async function $t({ scale: t = 2 } = {}) {
500
501
  if (!$.value) return;
501
- const { width: a, height: l } = $.value.getBoundingClientRect(), u = a / l, { imageUri: s, base64: k } = await rl({ domElement: $.value, base64: !0, img: !0, scale: t });
502
+ const { width: a, height: l } = $.value.getBoundingClientRect(), i = a / l, { imageUri: s, base64: k } = await ol({ domElement: $.value, base64: !0, img: !0, scale: t });
502
503
  return {
503
504
  imageUri: s,
504
505
  base64: k,
505
506
  title: e.value.style.chart.title.text,
506
507
  width: a,
507
508
  height: l,
508
- aspectRatio: u
509
+ aspectRatio: i
509
510
  };
510
511
  }
511
512
  const St = y(() => x.value.tickX), Tt = y(() => ({ start: 0, end: x.value.tickX.length }));
512
- ol({
513
+ sl({
513
514
  timeLabelsEls: G,
514
515
  timeLabels: St,
515
516
  slicer: Tt,
@@ -574,13 +575,13 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
574
575
  ref: $,
575
576
  class: P({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
576
577
  style: L(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
577
- onMouseenter: a[2] || (a[2] = () => i(Le)(!0)),
578
- onMouseleave: a[3] || (a[3] = () => i(Le)(!1))
578
+ onMouseenter: a[2] || (a[2] = () => u(Le)(!0)),
579
+ onMouseleave: a[3] || (a[3] = () => u(Le)(!1))
579
580
  }, [
580
581
  p(t.$slots, "userConfig", {}, void 0, !0),
581
- e.value.userOptions.buttons.annotator ? (o(), I(i(st), {
582
+ e.value.userOptions.buttons.annotator ? (o(), I(u(st), {
582
583
  key: 0,
583
- svgRef: i(Se),
584
+ svgRef: u(Se),
584
585
  backgroundColor: e.value.style.chart.backgroundColor,
585
586
  color: e.value.style.chart.color,
586
587
  active: Z.value,
@@ -600,7 +601,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
600
601
  class: "vue-ui-xy-title",
601
602
  style: L(`font-family:${e.value.style.fontFamily}`)
602
603
  }, [
603
- (o(), I(nl, {
604
+ (o(), I(rl, {
604
605
  key: `title_${fe.value}`,
605
606
  config: {
606
607
  title: {
@@ -617,14 +618,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
617
618
  _("div", {
618
619
  id: `legend-top-${S.value}`
619
620
  }, null, 8, vl),
620
- e.value.userOptions.show && V.value && (i($e) || i(ie)) ? (o(), I(i(ot), {
621
+ e.value.userOptions.show && V.value && (u($e) || u(ue)) ? (o(), I(u(ot), {
621
622
  ref_key: "userOptionsRef",
622
623
  ref: ae,
623
624
  key: `user_option_${be.value}`,
624
625
  backgroundColor: e.value.style.chart.backgroundColor,
625
626
  color: e.value.style.chart.color,
626
- isPrinting: i(Te),
627
- isImaging: i(Me),
627
+ isPrinting: u(Te),
628
+ isImaging: u(Me),
628
629
  uid: S.value,
629
630
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
630
631
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -644,20 +645,20 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
644
645
  printScale: e.value.userOptions.print.scale,
645
646
  tableDialog: e.value.table.useDialog,
646
647
  onToggleFullscreen: Xe,
647
- onGeneratePdf: i(ze),
648
+ onGeneratePdf: u(ze),
648
649
  onGenerateCsv: ve,
649
- onGenerateImage: i(Ne),
650
+ onGenerateImage: u(Ne),
650
651
  onToggleTable: Re,
651
652
  onToggleTooltip: Be,
652
653
  onToggleAnnotator: he,
653
654
  style: L({
654
- visibility: i($e) ? i(ie) ? "visible" : "hidden" : "visible"
655
+ visibility: u($e) ? u(ue) ? "visible" : "hidden" : "visible"
655
656
  })
656
657
  }, He({ _: 2 }, [
657
658
  t.$slots.menuIcon ? {
658
659
  name: "menuIcon",
659
- fn: m(({ isOpen: l, color: u }) => [
660
- p(t.$slots, "menuIcon", R(B({ isOpen: l, color: u })), void 0, !0)
660
+ fn: m(({ isOpen: l, color: i }) => [
661
+ p(t.$slots, "menuIcon", R(B({ isOpen: l, color: i })), void 0, !0)
661
662
  ]),
662
663
  key: "0"
663
664
  } : void 0,
@@ -698,15 +699,15 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
698
699
  } : void 0,
699
700
  t.$slots.optionFullscreen ? {
700
701
  name: "optionFullscreen",
701
- fn: m(({ toggleFullscreen: l, isFullscreen: u }) => [
702
- p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
702
+ fn: m(({ toggleFullscreen: l, isFullscreen: i }) => [
703
+ p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
703
704
  ]),
704
705
  key: "6"
705
706
  } : void 0,
706
707
  t.$slots.optionAnnotator ? {
707
708
  name: "optionAnnotator",
708
- fn: m(({ toggleAnnotator: l, isAnnotator: u }) => [
709
- p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
709
+ fn: m(({ toggleAnnotator: l, isAnnotator: i }) => [
710
+ p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
710
711
  ]),
711
712
  key: "7"
712
713
  } : void 0
@@ -714,11 +715,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
714
715
  (o(), r("svg", {
715
716
  ref_key: "svgRef",
716
717
  ref: Se,
717
- xmlns: i(Ht),
718
+ xmlns: u(Et),
718
719
  viewBox: `0 0 ${f.value.width < 0 ? 0.1 : f.value.width} ${f.value.height < 0 ? 0.1 : f.value.height}`,
719
720
  style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
720
721
  }, [
721
- de(i(rt)),
722
+ de(u(rt)),
722
723
  t.$slots["chart-background"] ? (o(), r("foreignObject", {
723
724
  key: 0,
724
725
  x: c.value.left,
@@ -732,17 +733,17 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
732
733
  p(t.$slots, "chart-background", {}, void 0, !0)
733
734
  ], 8, dl)) : h("", !0),
734
735
  e.value.style.chart.plots.gradient.show ? (o(), r("defs", yl, [
735
- (o(!0), r(b, null, g(F.value, (l, u) => (o(), r("radialGradient", {
736
- id: `gradient_${u}_${S.value}`,
736
+ (o(!0), r(b, null, g(F.value, (l, i) => (o(), r("radialGradient", {
737
+ id: `gradient_${i}_${S.value}`,
737
738
  fy: "30%"
738
739
  }, [
739
740
  _("stop", {
740
741
  offset: "10%",
741
- "stop-color": i(Wt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
742
+ "stop-color": u(Ht)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
742
743
  }, null, 8, xl),
743
744
  _("stop", {
744
745
  offset: "90%",
745
- "stop-color": i(jt)(l.color, 0.1)
746
+ "stop-color": u(Wt)(l.color, 0.1)
746
747
  }, null, 8, pl),
747
748
  _("stop", {
748
749
  offset: "100%",
@@ -783,10 +784,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
783
784
  fill: e.value.style.chart.axes.y.labels.color,
784
785
  "font-size": n.value.yAxisLabels,
785
786
  "text-anchor": "end"
786
- }, T(i(Y)(
787
+ }, T(u(Y)(
787
788
  e.value.style.chart.axes.y.labels.formatter,
788
789
  l.value,
789
- i(E)({
790
+ u(E)({
790
791
  p: e.value.style.chart.axes.y.labels.prefix,
791
792
  v: l.value,
792
793
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -837,10 +838,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
837
838
  fill: e.value.style.chart.axes.x.labels.color,
838
839
  "font-size": n.value.xAxisLabels,
839
840
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
840
- }, T(i(Y)(
841
+ }, T(u(Y)(
841
842
  e.value.style.chart.axes.x.labels.formatter,
842
843
  l.value,
843
- i(E)({
844
+ u(E)({
844
845
  p: e.value.style.chart.axes.x.labels.prefix,
845
846
  v: l.value,
846
847
  s: e.value.style.chart.axes.x.labels.suffix,
@@ -879,7 +880,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
879
880
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
880
881
  "stroke-linecap": "round"
881
882
  }, null, 8, Nl)) : h("", !0),
882
- (o(!0), r(b, null, g(F.value, (l, u) => (o(), r("g", null, [
883
+ (o(!0), r(b, null, g(F.value, (l, i) => (o(), r("g", null, [
883
884
  e.value.style.chart.paths.show ? (o(), r("g", {
884
885
  key: 0,
885
886
  style: L({
@@ -893,7 +894,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
893
894
  fill: "none",
894
895
  "stroke-linecap": "round",
895
896
  "stroke-linejoin": "round",
896
- class: P({ animated: e.value.useCssAnimation && !i(z) })
897
+ class: P({ animated: e.value.useCssAnimation && !u(z) })
897
898
  }, null, 10, Ol),
898
899
  _("path", {
899
900
  d: l.path,
@@ -902,7 +903,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
902
903
  fill: "none",
903
904
  "stroke-linecap": "round",
904
905
  "stroke-linejoin": "round",
905
- class: P({ animated: e.value.useCssAnimation && !i(z) })
906
+ class: P({ animated: e.value.useCssAnimation && !u(z) })
906
907
  }, null, 10, Il)
907
908
  ], 4)) : h("", !0),
908
909
  (o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
@@ -915,11 +916,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
915
916
  (o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
916
917
  cx: s.x,
917
918
  cy: s.y,
918
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${u}_${S.value})` : s.color,
919
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${S.value})` : s.color,
919
920
  r: n.value.plots,
920
921
  stroke: e.value.style.chart.plots.stroke,
921
922
  "stroke-width": e.value.style.chart.plots.strokeWidth,
922
- class: P({ animated: e.value.useCssAnimation && !i(z) }),
923
+ class: P({ animated: e.value.useCssAnimation && !u(z) }),
923
924
  style: L({
924
925
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
925
926
  transition: "opacity 0.2s ease-in-out"
@@ -936,12 +937,12 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
936
937
  fill: e.value.style.chart.plots.labels.color,
937
938
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
938
939
  "text-anchor": "middle",
939
- class: P({ animated: e.value.useCssAnimation && !i(z) }),
940
+ class: P({ animated: e.value.useCssAnimation && !u(z) }),
940
941
  style: L({
941
942
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
942
943
  transition: "opacity 0.2s ease-in-out"
943
944
  }),
944
- innerHTML: i(Ut)({
945
+ innerHTML: u(jt)({
945
946
  content: String(s.label),
946
947
  fontSize: n.value.labels,
947
948
  fill: e.value.style.chart.plots.labels.color,
@@ -956,7 +957,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
956
957
  fill: e.value.style.chart.plots.labels.color,
957
958
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
958
959
  "text-anchor": "middle",
959
- class: P({ animated: e.value.useCssAnimation && !i(z) }),
960
+ class: P({ animated: e.value.useCssAnimation && !u(z) }),
960
961
  style: L({
961
962
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
962
963
  transition: "opacity 0.2s ease-in-out"
@@ -970,9 +971,9 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
970
971
  y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
971
972
  "font-size": n.value.indexLabels,
972
973
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
973
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(Gt)(l.color) : e.value.style.chart.plots.indexLabels.color,
974
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(Ut)(l.color) : e.value.style.chart.plots.indexLabels.color,
974
975
  "text-anchor": "middle",
975
- class: P({ animated: e.value.useCssAnimation && !i(z) }),
976
+ class: P({ animated: e.value.useCssAnimation && !u(z) }),
976
977
  style: L({
977
978
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
978
979
  transition: "opacity 0.2s ease-in-out"
@@ -981,24 +982,24 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
981
982
  ])) : h("", !0)
982
983
  ]))), 256)),
983
984
  (o(!0), r(b, null, g(F.value, (l) => (o(), r("g", null, [
984
- (o(!0), r(b, null, g(l.plots, (u, s) => (o(), r("circle", {
985
- cx: u.x,
986
- cy: u.y,
985
+ (o(!0), r(b, null, g(l.plots, (i, s) => (o(), r("circle", {
986
+ cx: i.x,
987
+ cy: i.y,
987
988
  fill: "transparent",
988
989
  r: n.value.plots,
989
990
  stroke: "none",
990
991
  onMouseenter: (k) => _t({
991
- datapoint: u,
992
+ datapoint: i,
992
993
  plotIndex: s,
993
994
  seriesIndex: l.seriesIndex
994
995
  }),
995
996
  onMouseleave: (k) => At({
996
- datapoint: u,
997
+ datapoint: i,
997
998
  plotIndex: s,
998
999
  seriesIndex: l.seriesIndex
999
1000
  }),
1000
1001
  onClick: (k) => Ct({
1001
- datapoint: u,
1002
+ datapoint: i,
1002
1003
  plotIndex: s,
1003
1004
  seriesIndex: l.seriesIndex
1004
1005
  })
@@ -1007,7 +1008,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
1007
1008
  p(t.$slots, "svg", { svg: f.value }, void 0, !0)
1008
1009
  ], 12, hl)),
1009
1010
  t.$slots.watermark ? (o(), r("div", Hl, [
1010
- p(t.$slots, "watermark", R(B({ isPrinting: i(Te) || i(Me) })), void 0, !0)
1011
+ p(t.$slots, "watermark", R(B({ isPrinting: u(Te) || u(Me) })), void 0, !0)
1011
1012
  ])) : h("", !0),
1012
1013
  _("div", {
1013
1014
  id: `legend-bottom-${S.value}`
@@ -1020,7 +1021,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
1020
1021
  ref_key: "chartLegend",
1021
1022
  ref: xe
1022
1023
  }, [
1023
- e.value.style.chart.legend.show && V.value ? (o(), I(ul, {
1024
+ e.value.style.chart.legend.show && V.value ? (o(), I(il, {
1024
1025
  key: `legend_${pe.value}`,
1025
1026
  legendSet: Pe.value,
1026
1027
  config: wt.value,
@@ -1028,7 +1029,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
1028
1029
  Fe(l.seriesIndex), De(l);
1029
1030
  })
1030
1031
  }, {
1031
- item: m(({ legend: l, index: u }) => [
1032
+ item: m(({ legend: l, index: i }) => [
1032
1033
  _("div", {
1033
1034
  onClick: (s) => {
1034
1035
  l.segregate(), De(l);
@@ -1051,7 +1052,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
1051
1052
  }, [
1052
1053
  p(t.$slots, "source", {}, void 0, !0)
1053
1054
  ], 512)) : h("", !0),
1054
- de(i(et), {
1055
+ de(u(et), {
1055
1056
  show: C.value.showTooltip && te.value,
1056
1057
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1057
1058
  color: e.value.style.chart.tooltip.color,
@@ -1085,7 +1086,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
1085
1086
  onClose: Ye
1086
1087
  }), He({
1087
1088
  content: m(() => [
1088
- (o(), I(i(at), {
1089
+ (o(), I(u(at), {
1089
1090
  key: `table_${me.value}`,
1090
1091
  colNames: q.value.colNames,
1091
1092
  head: q.value.head,
@@ -1124,7 +1125,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
1124
1125
  class: "vue-ui-user-options-button",
1125
1126
  onClick: a[1] || (a[1] = (l) => ve(e.value.userOptions.callbacks.csv))
1126
1127
  }, [
1127
- de(i(tt), {
1128
+ de(u(tt), {
1128
1129
  name: "excel",
1129
1130
  stroke: U.value.props.color
1130
1131
  }, null, 8, ["stroke"])
@@ -1133,10 +1134,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
1133
1134
  key: "1"
1134
1135
  } : void 0
1135
1136
  ]), 1040)) : h("", !0),
1136
- i(z) ? (o(), I(tl, { key: 8 })) : h("", !0)
1137
+ u(z) ? (o(), I(el, { key: 8 })) : h("", !0)
1137
1138
  ], 46, cl));
1138
1139
  }
1139
- }, na = /* @__PURE__ */ il(Gl, [["__scopeId", "data-v-e31fd7ba"]]);
1140
+ }, ia = /* @__PURE__ */ ul(Gl, [["__scopeId", "data-v-e31fd7ba"]]);
1140
1141
  export {
1141
- na as default
1142
+ ia as default
1142
1143
  };
@@ -1,6 +1,6 @@
1
- import { defineAsyncComponent as z, computed as C, useSlots as w, onMounted as k, watch as y, ref as $, createElementBlock as s, openBlock as i, normalizeStyle as u, normalizeClass as r, createElementVNode as b, renderSlot as n, createTextVNode as h, toDisplayString as F, createVNode as B, unref as v, Fragment as L } from "vue";
2
- import { u as M } from "./useNestedProp-DpwLJMsW.js";
3
- import { u as E, k as I, i as O } from "./index-Lg17rmB1.js";
1
+ import { defineAsyncComponent as z, computed as C, useSlots as w, onMounted as y, watch as k, ref as $, createElementBlock as s, openBlock as i, normalizeStyle as u, normalizeClass as r, createElementVNode as b, renderSlot as n, createTextVNode as h, toDisplayString as F, createVNode as B, unref as v, Fragment as L } from "vue";
2
+ import { u as M, a as E } from "./useNestedProp-DF7e2h1z.js";
3
+ import { a as I, d as O } from "./lib-p5pfHmOX.js";
4
4
  const R = {
5
5
  __name: "vue-ui-kpi",
6
6
  props: {
@@ -16,37 +16,37 @@ const R = {
16
16
  }
17
17
  },
18
18
  setup(o) {
19
- const N = z(() => import("./vue-ui-digits-DsoHRv9p.js")), { vue_ui_kpi: D } = E(), l = o, e = C({
19
+ const N = z(() => import("./vue-ui-digits-DOUNtmB0.js")), { vue_ui_kpi: D } = M(), l = o, e = C({
20
20
  get: () => c(),
21
21
  set: (a) => a
22
22
  }), S = w(), A = C(() => e.value.debug);
23
- k(() => {
23
+ y(() => {
24
24
  S["chart-background"] && A.value && console.warn("VueUiKpi does not support the #chart-background slot.");
25
25
  });
26
26
  function c() {
27
- return M({
27
+ return E({
28
28
  userConfig: l.config,
29
29
  defaultConfig: D
30
30
  });
31
31
  }
32
- y(() => l.config, (a) => {
33
- e.value = c(), d();
32
+ k(() => l.config, (a) => {
33
+ e.value = c(), m();
34
34
  }, { deep: !0 });
35
- const x = $((typeof l.dataset == "number", l.dataset)), t = $(e.value.useAnimation ? e.value.animationValueStart : x.value), m = (a) => {
35
+ const x = $((typeof l.dataset == "number", l.dataset)), t = $(e.value.useAnimation ? e.value.animationValueStart : x.value), d = (a) => {
36
36
  const f = e.value.animationFrames, g = Math.abs(a - t.value) / f;
37
37
  function p() {
38
38
  t.value < a ? t.value = Math.min(t.value + g, a) : t.value > a && (t.value = Math.max(t.value - g, a)), t.value !== a && requestAnimationFrame(p);
39
39
  }
40
40
  p();
41
41
  };
42
- k(() => {
43
- d();
42
+ y(() => {
43
+ m();
44
44
  });
45
- function d() {
46
- e.value.useAnimation ? (t.value = e.value.animationValueStart, m(l.dataset)) : t.value = l.dataset;
45
+ function m() {
46
+ e.value.useAnimation ? (t.value = e.value.animationValueStart, d(l.dataset)) : t.value = l.dataset;
47
47
  }
48
- return y(() => l.dataset, (a) => {
49
- e.value.useAnimation ? m(a) : t.value = a;
48
+ return k(() => l.dataset, (a) => {
49
+ e.value.useAnimation ? d(a) : t.value = a;
50
50
  }), (a, f) => (i(), s("div", {
51
51
  class: r(`vue-ui-kpi ${e.value.layoutClass}`),
52
52
  style: u(`background:${e.value.backgroundColor}; ${e.value.layoutCss}`)