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,7 +1,7 @@
1
1
  import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
2
- import w from "./BaseIcon-7s-tCFcQ.js";
3
- import { u as x } from "./useNestedProp-DpwLJMsW.js";
4
- import { u as B, c as I } from "./index-Lg17rmB1.js";
2
+ import w from "./BaseIcon-D2f9w5Z5.js";
3
+ import { u as x, a as B } from "./useNestedProp-DF7e2h1z.js";
4
+ import { c as I } from "./lib-p5pfHmOX.js";
5
5
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const F = ["id"], P = {
7
7
  key: 0,
@@ -24,7 +24,7 @@ const F = ["id"], P = {
24
24
  y((o) => ({
25
25
  "95f7c2e4": C.value
26
26
  }));
27
- const { vue_ui_accordion: f } = B(), g = l, e = s(() => x({
27
+ const { vue_ui_accordion: f } = x(), g = l, e = s(() => B({
28
28
  userConfig: g.config,
29
29
  defaultConfig: f
30
30
  })), a = r(e.value.open), h = r(I()), t = r(null), d = r(0);
@@ -1,14 +1,15 @@
1
1
  import { defineAsyncComponent as T, computed as g, ref as v, toRefs as ut, watch as X, shallowRef as Se, onMounted as nt, onBeforeUnmount as ze, watchEffect as rt, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as oe, normalizeClass as Oe, createBlock as D, createCommentVNode as y, renderSlot as h, createVNode as se, createSlots as Ie, withCtx as c, normalizeProps as P, guardReactiveProps as M, createElementVNode as d, Fragment as L, renderList as z, toDisplayString as _, resolveDynamicComponent as vt, mergeProps as dt, createTextVNode as ie, nextTick as yt } from "vue";
2
- import { u as ht, c as ct, t as ft, b as gt, o as Fe, f as pt, h as p, X as bt, s as ue, x as Re, k as O, i as I, v as xt, w as mt, y as wt, z as kt } from "./index-Lg17rmB1.js";
3
- import { t as De, u as _t } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ct, B as At } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Tt } from "./usePrinter-DGI4Mlad.js";
6
- import { u as Pe } from "./useNestedProp-DpwLJMsW.js";
7
- import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as St } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import zt from "./img-CeCjiMpr.js";
11
- import Ot from "./Title-BVMfF0uu.js";
2
+ import { c as ht, t as ct, o as Fe, f as ft, q as p, X as gt, s as ue, i as Re, a as O, d as I, x as pt, y as bt, z as xt, A as mt } from "./lib-p5pfHmOX.js";
3
+ import { t as De, u as wt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as kt, a as Pe } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as _t, B as Ct } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as At } from "./usePrinter-Yeu5jOfm.js";
7
+ import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as $t } from "./useTimeLabelCollider-CIsgDrl9.js";
10
+ import St from "./img-CH7J0fYg.js";
11
+ import zt from "./Title-pI68ZJsq.js";
12
+ import { t as Ot } from "./themes-D3cUNuKw.js";
12
13
  import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
14
  const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"], Pt = ["id"], Mt = ["stop-color"], Nt = ["stop-color"], Bt = ["id"], Et = ["stop-color"], Ut = ["stop-color"], Gt = ["x", "y", "width", "height", "fill", "rx"], Ht = ["x", "y", "width", "height", "fill", "rx"], Wt = ["x", "y", "width", "height", "fill", "rx"], Vt = ["x", "y", "width", "height", "fill", "rx"], Xt = { key: 0 }, jt = ["x", "y", "fill", "font-size", "font-weight"], Yt = ["x", "y", "fill", "font-size", "font-weight"], qt = { key: 1 }, Jt = ["x", "y", "font-size", "fill", "font-weight"], Kt = { key: 2 }, Qt = { key: 0 }, Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = ["font-size", "fill", "text-anchor", "font-weight", "transform"], ol = ["font-size", "fill", "text-anchor", "font-weight", "transform"], sl = ["x", "y", "font-size", "fill", "font-weight"], il = ["x", "y", "width", "height", "fill", "onMouseover", "onMouseleave", "onClick"], ul = {
14
15
  key: 4,
@@ -30,7 +31,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
30
31
  }
31
32
  },
32
33
  setup(ne, { expose: Me }) {
33
- const Ne = T(() => import("./Tooltip-DBvmoYXU.js")), Be = T(() => import("./BaseIcon-7s-tCFcQ.js")), Ee = T(() => import("./vue-ui-accordion-BJG-ogQj.js")), Ue = T(() => import("./DataTable-Dw6dxJk3.js")), Ge = T(() => import("./PenAndPaper-BKnXOYre.js")), He = T(() => import("./UserOptions-CKzW9w0Q.js")), We = T(() => import("./PackageVersion-D1HToLlZ.js")), Ve = T(() => import("./BaseDraggableDialog-CrCjMg89.js")), { vue_ui_age_pyramid: Xe } = ht(), x = ne, re = g(() => !!x.dataset && x.dataset.length), w = v(ct()), j = v(!1), Y = v(""), U = v(null), ve = v(0), k = v(null), de = v(null), ye = v(null), he = v(null), ce = v(0), fe = v(0), q = v(null), N = v(null), J = v(null), e = v(Z()), { loading: ge, FINAL_DATASET: G, manualLoading: K } = Ct({
34
+ const Ne = T(() => import("./Tooltip-Clf2K3CF.js")), Be = T(() => import("./BaseIcon-D2f9w5Z5.js")), Ee = T(() => import("./vue-ui-accordion-D-L73-T2.js")), Ue = T(() => import("./DataTable-xISHA7Pu.js")), Ge = T(() => import("./PenAndPaper-CtDMyIvW.js")), He = T(() => import("./UserOptions-Bn3u4JQu.js")), We = T(() => import("./PackageVersion-DRpg18lg.js")), Ve = T(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_age_pyramid: Xe } = kt(), x = ne, re = g(() => !!x.dataset && x.dataset.length), w = v(ht()), j = v(!1), Y = v(""), U = v(null), ve = v(0), k = v(null), de = v(null), ye = v(null), he = v(null), ce = v(0), fe = v(0), q = v(null), N = v(null), J = v(null), e = v(Z()), { loading: ge, FINAL_DATASET: G, manualLoading: K } = _t({
34
35
  ...ut(x),
35
36
  FINAL_CONFIG: e,
36
37
  prepareConfig: Z,
@@ -46,7 +47,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
46
47
  ["_", 1, 89, 89],
47
48
  ["_", 0, 144, 144]
48
49
  ],
49
- skeletonConfig: ft({
50
+ skeletonConfig: ct({
50
51
  defaultConfig: e.value,
51
52
  userConfig: {
52
53
  userOptions: { show: !1 },
@@ -79,7 +80,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
79
80
  }
80
81
  }
81
82
  })
82
- }), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: be } = Lt({ config: e.value }), { svgRef: xe } = $t({ config: e.value.style.title });
83
+ }), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: be } = Tt({ config: e.value }), { svgRef: xe } = Lt({ config: e.value.style.title });
83
84
  function Z() {
84
85
  const t = Pe({
85
86
  userConfig: x.config,
@@ -87,7 +88,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
87
88
  });
88
89
  return t.theme ? {
89
90
  ...Pe({
90
- userConfig: gt.vue_ui_age_pyramid[t.theme] || x.config,
91
+ userConfig: Ot.vue_ui_age_pyramid[t.theme] || x.config,
91
92
  defaultConfig: t
92
93
  })
93
94
  } : t;
@@ -103,13 +104,13 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
103
104
  });
104
105
  const je = g(() => !!e.value.debug);
105
106
  function me() {
106
- if (Fe(x.dataset) && (pt({
107
+ if (Fe(x.dataset) && (ft({
107
108
  componentName: "VueUiAgePyramid",
108
109
  type: "dataset",
109
110
  debug: je.value
110
111
  }), K.value = !0), Fe(x.dataset) || (K.value = e.value.loading), e.value.responsive) {
111
112
  const t = De(() => {
112
- const { width: o, height: l } = _t({
113
+ const { width: o, height: l } = wt({
113
114
  chart: k.value,
114
115
  title: e.value.style.title.text ? de.value : null,
115
116
  source: ye.value,
@@ -125,7 +126,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
125
126
  ze(() => {
126
127
  C.value && (F.value && C.value.unobserve(F.value), C.value.disconnect());
127
128
  });
128
- const { isPrinting: we, isImaging: ke, generatePdf: _e, generateImage: Ce } = Tt({
129
+ const { isPrinting: we, isImaging: ke, generatePdf: _e, generateImage: Ce } = At({
129
130
  elementId: `vue-ui-age-pyramid_${w.value}`,
130
131
  fileName: e.value.style.title.text || "vue-ui-age-pyramid",
131
132
  options: e.value.userOptions.print
@@ -249,7 +250,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
249
250
  config: e.value
250
251
  };
251
252
  const l = e.value.style.tooltip.customFormat;
252
- if (wt(l) && kt(() => l({
253
+ if (xt(l) && mt(() => l({
253
254
  seriesIndex: t,
254
255
  datapoint: {
255
256
  segment: o[0],
@@ -306,8 +307,8 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
306
307
  m[2],
307
308
  m[3],
308
309
  m[2] ?? 0 + m[3] ?? 0
309
- ]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r = xt(a);
310
- t ? t(r) : mt({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
310
+ ]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r = pt(a);
311
+ t ? t(r) : bt({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
311
312
  });
312
313
  }
313
314
  const W = g(() => {
@@ -353,7 +354,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
353
354
  }
354
355
  async function ot({ scale: t = 2 } = {}) {
355
356
  if (!k.value) return;
356
- const { width: o, height: l } = k.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await zt({ domElement: k.value, base64: !0, img: !0, scale: t });
357
+ const { width: o, height: l } = k.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await St({ domElement: k.value, base64: !0, img: !0, scale: t });
357
358
  return {
358
359
  imageUri: r,
359
360
  base64: m,
@@ -364,7 +365,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
364
365
  };
365
366
  }
366
367
  const st = v([]), it = v({ start: 0, end: $.value.length });
367
- St({
368
+ $t({
368
369
  timeLabelsEls: q,
369
370
  timeLabels: st,
370
371
  slicer: it,
@@ -452,7 +453,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
452
453
  ref: de,
453
454
  style: "width:100%;background:transparent"
454
455
  }, [
455
- (i(), D(Ot, {
456
+ (i(), D(zt, {
456
457
  key: `title_${ce.value}`,
457
458
  config: {
458
459
  title: {
@@ -562,7 +563,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
562
563
  (i(), n("svg", {
563
564
  ref_key: "svgRef",
564
565
  ref: xe,
565
- xmlns: u(bt),
566
+ xmlns: u(gt),
566
567
  class: Oe({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
567
568
  viewBox: `0 0 ${f.value.width <= 0 ? 10 : f.value.width} ${f.value.height <= 0 ? 10 : f.value.height}`,
568
569
  style: oe(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
@@ -880,10 +881,10 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
880
881
  key: "1"
881
882
  } : void 0
882
883
  ]), 1040)) : y("", !0),
883
- u(ge) ? (i(), D(At, { key: 7 })) : y("", !0)
884
+ u(ge) ? (i(), D(Ct, { key: 7 })) : y("", !0)
884
885
  ], 46, Ft));
885
886
  }
886
- }, wl = /* @__PURE__ */ It(nl, [["__scopeId", "data-v-c15f9534"]]);
887
+ }, kl = /* @__PURE__ */ It(nl, [["__scopeId", "data-v-c15f9534"]]);
887
888
  export {
888
- wl as default
889
+ kl as default
889
890
  };
@@ -1,5 +1,6 @@
1
- import { A as p, t as v, u as w, B as A } from "./index-Lg17rmB1.js";
2
- import { d as M } from "./dom-to-png-D0wlWRL9.js";
1
+ import { B as p, t as v, C as w } from "./lib-p5pfHmOX.js";
2
+ import { u as A } from "./useNestedProp-DF7e2h1z.js";
3
+ import { d as M } from "./dom-to-png-CSg_eTqL.js";
3
4
  import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as g, vModelText as C, renderSlot as O, Fragment as L, renderList as G } from "vue";
4
5
  import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
6
  const m = {
@@ -94,7 +95,7 @@ const m = {
94
95
  textAlign: "start",
95
96
  textFont: 20,
96
97
  transparency: 100,
97
- transparencyCodes: A
98
+ transparencyCodes: w
98
99
  };
99
100
  },
100
101
  watch: {
@@ -106,7 +107,7 @@ const m = {
106
107
  },
107
108
  computed: {
108
109
  FINAL_CONFIG() {
109
- const t = w().vue_ui_annotator;
110
+ const t = A().vue_ui_annotator;
110
111
  if (!Object.keys(this.config || {}).length)
111
112
  return t;
112
113
  const i = this.treeShake({
@@ -2175,7 +2176,7 @@ function Dt(t, i, o, h, s, e) {
2175
2176
  ], 512)
2176
2177
  ]);
2177
2178
  }
2178
- const Bt = /* @__PURE__ */ _(m, [["render", Dt], ["__scopeId", "data-v-633bc577"]]);
2179
+ const Vt = /* @__PURE__ */ _(m, [["render", Dt], ["__scopeId", "data-v-633bc577"]]);
2179
2180
  export {
2180
- Bt as default
2181
+ Vt as default
2181
2182
  };
@@ -1,12 +1,13 @@
1
1
  import { defineAsyncComponent as W, ref as c, computed as f, onMounted as Ie, toRefs as Pe, watch as ce, onBeforeUnmount as Fe, createElementBlock as n, openBlock as r, unref as o, normalizeStyle as D, normalizeClass as ve, createBlock as x, createCommentVNode as u, createElementVNode as _, createSlots as Te, withCtx as A, renderSlot as m, normalizeProps as F, guardReactiveProps as T, createVNode as He, Fragment as V, renderList as G, toDisplayString as H, Teleport as Me } from "vue";
2
- import { u as Re, c as ze, t as Ne, l as Ue, D as Ee, e as We, k as M, i as R, X as De, o as he, f as de, g as Ve, b as Ge } from "./index-Lg17rmB1.js";
3
- import { u as ge } from "./useNestedProp-DpwLJMsW.js";
4
- import { u as je } from "./usePrinter-DGI4Mlad.js";
5
- import { u as qe } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as Xe } from "./useChartAccessibility-9icAAmYg.js";
7
- import Ye from "./Legend-CjdnJGHq.js";
8
- import Je from "./Title-BVMfF0uu.js";
9
- import Ke from "./img-CeCjiMpr.js";
2
+ import { u as Re, a as he } from "./useNestedProp-DF7e2h1z.js";
3
+ import { c as ze, t as Ne, m as Ee, E as Ue, h as We, a as M, d as R, X as De, o as de, f as ge, g as Ve } from "./lib-p5pfHmOX.js";
4
+ import { u as Ge } from "./usePrinter-Yeu5jOfm.js";
5
+ import { u as je } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as qe } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { t as Xe } from "./themes-D3cUNuKw.js";
8
+ import Ye from "./Legend-_Rv594VS.js";
9
+ import Je from "./Title-pI68ZJsq.js";
10
+ import Ke from "./img-CH7J0fYg.js";
10
11
  import { t as Qe, u as Ze } from "./useResponsive-DfdjqQps.js";
11
12
  import { u as et, B as tt } from "./BaseScanner-BgWxam9d.js";
12
13
  import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -39,7 +40,7 @@ const lt = ["id"], st = {
39
40
  }
40
41
  },
41
42
  setup(fe, { expose: me }) {
42
- const ye = W(() => import("./PackageVersion-D1HToLlZ.js")), pe = W(() => import("./PenAndPaper-BKnXOYre.js")), be = W(() => import("./UserOptions-CKzW9w0Q.js")), { vue_ui_bullet: ke } = Re(), O = fe, y = c(null), j = c(null), q = c(0), X = c(null), Y = c(null), we = c(0), C = c(null), B = c(null), J = c(!1), b = f({
43
+ const ye = W(() => import("./PackageVersion-DRpg18lg.js")), pe = W(() => import("./PenAndPaper-CtDMyIvW.js")), be = W(() => import("./UserOptions-Bn3u4JQu.js")), { vue_ui_bullet: ke } = Re(), O = fe, y = c(null), j = c(null), q = c(0), X = c(null), Y = c(null), we = c(0), C = c(null), B = c(null), J = c(!1), b = f({
43
44
  get: () => i.value.hasOwnProperty("value"),
44
45
  set: (t) => t
45
46
  }), L = f(() => i.value.segments ? Array.isArray(i.value.segments) ? i.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
@@ -77,7 +78,7 @@ segments: [
77
78
  ]
78
79
  `), b.value = !1, !1)), K = f(() => !!e.value.debug);
79
80
  function Q() {
80
- if (he(i.value) ? (de({
81
+ if (de(i.value) ? (ge({
81
82
  componentName: "VueUiBullet",
82
83
  type: "dataset",
83
84
  debug: K.value
@@ -86,7 +87,7 @@ segments: [
86
87
  datasetObject: t,
87
88
  requiredAttributes: ["name", "from", "to"]
88
89
  }).forEach((a) => {
89
- b.value = !1, de({
90
+ b.value = !1, ge({
90
91
  componentName: "VueUiBullet segment",
91
92
  type: "datasetSerieAttribute",
92
93
  property: a,
@@ -94,7 +95,7 @@ segments: [
94
95
  debug: K.value
95
96
  });
96
97
  });
97
- }) : (b.value = !1, S.value = !0), he(i.value) || (S.value = e.value.loading), e.value.responsive) {
98
+ }) : (b.value = !1, S.value = !0), de(i.value) || (S.value = e.value.loading), e.value.responsive) {
98
99
  const t = Qe(() => {
99
100
  const { width: s, height: a } = Ze({
100
101
  chart: y.value,
@@ -115,13 +116,13 @@ segments: [
115
116
  });
116
117
  const p = c(ze());
117
118
  function z() {
118
- const t = ge({
119
+ const t = he({
119
120
  userConfig: O.config,
120
121
  defaultConfig: ke
121
122
  });
122
123
  return t.theme ? {
123
- ...ge({
124
- userConfig: Ge.vue_ui_bullet[t.theme] || O.config,
124
+ ...he({
125
+ userConfig: Xe.vue_ui_bullet[t.theme] || O.config,
125
126
  defaultConfig: t
126
127
  })
127
128
  } : t;
@@ -174,7 +175,7 @@ segments: [
174
175
  }
175
176
  }
176
177
  })
177
- }), { userOptionsVisible: N, setUserOptionsVisibility: Z, keepUserOptionState: ee } = qe({ config: e.value }), { svgRef: te } = Xe({ config: e.value.style.chart.title });
178
+ }), { userOptionsVisible: N, setUserOptionsVisibility: Z, keepUserOptionState: ee } = je({ config: e.value }), { svgRef: te } = qe({ config: e.value.style.chart.title });
178
179
  ce(() => O.config, (t) => {
179
180
  k.value || (e.value = z()), N.value = !e.value.userOptions.showOnChartHover, Q(), q.value += 1;
180
181
  }, { deep: !0 });
@@ -197,9 +198,9 @@ segments: [
197
198
  if (!L.value) return [];
198
199
  const t = [];
199
200
  for (let s = 0; s < i.value.segments.length; s += 1)
200
- t.push(Ue(e.value.style.chart.segments.baseColor, s / i.value.segments.length));
201
+ t.push(Ee(e.value.style.chart.segments.baseColor, s / i.value.segments.length));
201
202
  return t;
202
- }), U = f(() => L.value ? {
203
+ }), E = f(() => L.value ? {
203
204
  min: Math.min(...i.value.segments.map((t) => t.from)),
204
205
  max: Math.max(...i.value.segments.map((t) => t.to))
205
206
  } : { min: 0, max: 1 }), h = c(Ce());
@@ -207,7 +208,7 @@ segments: [
207
208
  t.hasOwnProperty("value") && (S.value = !1), e.value.style.chart.animation.show && !k.value ? le(t.value || 0) : h.value = t.value || 0;
208
209
  }, { deep: !0 });
209
210
  function Ce() {
210
- return e.value.style.chart.animation.show && !k.value ? U.value.min : i.value.value || 0;
211
+ return e.value.style.chart.animation.show && !k.value ? E.value.min : i.value.value || 0;
211
212
  }
212
213
  const ae = c(null);
213
214
  function le(t) {
@@ -223,7 +224,7 @@ segments: [
223
224
  const d = f(() => {
224
225
  if (!L.value)
225
226
  return [];
226
- const t = Ee(U.value.min, U.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), a = {
227
+ const t = Ue(E.value.min, E.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), a = {
227
228
  x: l.value.left + (i.value.target + s) / (t.max + s) * l.value.chartWidth - e.value.style.chart.target.width / 2
228
229
  }, g = {
229
230
  width: (h.value + s) / (t.max + s) * l.value.chartWidth
@@ -278,7 +279,7 @@ segments: [
278
279
  fontSize: e.value.style.chart.legend.fontSize,
279
280
  paddingBottom: 6,
280
281
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
281
- })), { isPrinting: re, isImaging: oe, generatePdf: ne, generateImage: ue } = je({
282
+ })), { isPrinting: re, isImaging: oe, generatePdf: ne, generateImage: ue } = Ge({
282
283
  elementId: `bullet_${p.value}`,
283
284
  fileName: e.value.style.chart.title.text || "vue-ui-bullet",
284
285
  options: e.value.userOptions.print
@@ -290,7 +291,7 @@ segments: [
290
291
  return d.value;
291
292
  }
292
293
  const P = c(!1);
293
- function E() {
294
+ function U() {
294
295
  P.value = !P.value;
295
296
  }
296
297
  async function Be({ scale: t = 2 } = {}) {
@@ -310,7 +311,7 @@ segments: [
310
311
  getImage: Be,
311
312
  generatePdf: ne,
312
313
  generateImage: ue,
313
- toggleAnnotator: E,
314
+ toggleAnnotator: U,
314
315
  toggleFullscreen: ie
315
316
  }), (t, s) => (r(), n("div", {
316
317
  ref_key: "bulletChart",
@@ -327,7 +328,7 @@ segments: [
327
328
  backgroundColor: e.value.style.chart.backgroundColor,
328
329
  color: e.value.style.chart.color,
329
330
  active: P.value,
330
- onClose: E
331
+ onClose: U
331
332
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : u("", !0),
332
333
  $e.value ? (r(), n("div", st, null, 512)) : u("", !0),
333
334
  e.value.style.chart.title.text ? (r(), n("div", {
@@ -380,7 +381,7 @@ segments: [
380
381
  onToggleFullscreen: ie,
381
382
  onGeneratePdf: o(ne),
382
383
  onGenerateImage: o(ue),
383
- onToggleAnnotator: E,
384
+ onToggleAnnotator: U,
384
385
  style: D({
385
386
  visibility: o(ee) ? o(N) ? "visible" : "hidden" : "visible"
386
387
  })
@@ -578,7 +579,7 @@ segments: [
578
579
  o(k) ? (r(), x(tt, { key: 7 })) : u("", !0)
579
580
  ], 46, lt));
580
581
  }
581
- }, Ht = /* @__PURE__ */ at(xt, [["__scopeId", "data-v-cf97848f"]]);
582
+ }, Mt = /* @__PURE__ */ at(xt, [["__scopeId", "data-v-cf97848f"]]);
582
583
  export {
583
- Ht as default
584
+ Mt as default
584
585
  };
@@ -1,16 +1,17 @@
1
1
  import { defineAsyncComponent as R, computed as g, ref as r, toRefs as Vt, watch as te, shallowRef as Ke, onMounted as Mt, onBeforeUnmount as Qe, watchEffect as Ut, nextTick as we, createElementBlock as i, openBlock as s, unref as u, normalizeStyle as Ae, normalizeClass as T, createBlock as N, createCommentVNode as p, createElementVNode as y, createVNode as Ce, createSlots as Ze, withCtx as b, renderSlot as m, normalizeProps as B, guardReactiveProps as E, Fragment as V, renderList as M, toDisplayString as Y, resolveDynamicComponent as Wt, mergeProps as Ht, createTextVNode as et } from "vue";
2
- import { u as Gt, c as Xt, t as jt, b as Yt, C as le, o as tt, f as U, D as qt, h as q, i as L, X as Jt, x as ae, s as Kt, E as lt, v as Qt, w as Zt, y as el, z as tl } from "./index-Lg17rmB1.js";
3
- import { t as at, u as ll } from "./useResponsive-DfdjqQps.js";
4
- import { u as al } from "./usePrinter-DGI4Mlad.js";
5
- import { u as ol, B as sl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as ot } from "./useNestedProp-DpwLJMsW.js";
7
- import { u as ul } from "./useTimeLabels-BGFjWgrv.js";
8
- import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as nl } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as rl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import vl from "./img-CeCjiMpr.js";
12
- import dl from "./Title-BVMfF0uu.js";
13
- import { S as cl } from "./Slicer-BJkhMBk4.js";
2
+ import { c as Gt, t as Xt, D as le, o as tt, f as U, E as jt, q, d as L, X as Yt, i as ae, s as qt, F as lt, x as Jt, y as Kt, z as Qt, A as Zt } from "./lib-p5pfHmOX.js";
3
+ import { t as at, u as el } from "./useResponsive-DfdjqQps.js";
4
+ import { u as tl, a as ot } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as ll } from "./usePrinter-Yeu5jOfm.js";
6
+ import { u as al, B as ol } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as sl } from "./useTimeLabels-BGFjWgrv.js";
8
+ import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as il } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
+ import rl from "./img-CH7J0fYg.js";
12
+ import vl from "./Title-pI68ZJsq.js";
13
+ import { t as dl } from "./themes-D3cUNuKw.js";
14
+ import { S as cl } from "./Slicer-BgpOhmb6.js";
14
15
  import { _ as yl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
16
  const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "width", "height"], pl = { key: 1 }, bl = ["id"], ml = ["stop-color"], xl = ["stop-color"], kl = ["stop-color"], wl = ["id"], Al = ["stop-color"], Cl = ["stop-color"], _l = ["stop-color"], zl = { key: 0 }, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x", "y", "font-size", "fill", "font-weight"], Il = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Rl = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Fl = ["x", "y", "width", "height", "fill", "rx"], Ol = { key: 0 }, Dl = ["cx", "cy", "r", "fill"], Pl = ["cx", "cy", "r", "fill"], Nl = { key: 1 }, Bl = ["x", "y", "width", "height", "rx", "fill"], El = ["x", "y", "width", "height", "fill", "rx"], Vl = ["x", "y", "height", "width", "fill", "rx"], Ml = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Ul = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], Wl = {
16
17
  key: 4,
@@ -32,7 +33,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
32
33
  }
33
34
  },
34
35
  setup(st, { expose: ut }) {
35
- const it = R(() => import("./BaseIcon-7s-tCFcQ.js")), nt = R(() => import("./Tooltip-DBvmoYXU.js")), rt = R(() => import("./vue-ui-accordion-BJG-ogQj.js")), vt = R(() => import("./DataTable-Dw6dxJk3.js")), dt = R(() => import("./PenAndPaper-BKnXOYre.js")), ct = R(() => import("./UserOptions-CKzW9w0Q.js")), yt = R(() => import("./PackageVersion-D1HToLlZ.js")), ht = R(() => import("./BaseDraggableDialog-CrCjMg89.js")), { vue_ui_candlestick: ft } = Gt(), h = st, oe = g(() => !!h.dataset && h.dataset.length), z = r(!1), se = r(null), A = r(Xt()), ue = r(!1), ie = r(""), ne = r(void 0), _e = r(0), $ = r(null), ze = r(null), $e = r(null), Se = r(null), Te = r(null), Le = r(null), J = r(0), Ie = r(0), Re = r(0), re = r(null), H = r(null), G = r(null), ve = r(null), e = r(ye()), { loading: S, FINAL_DATASET: C, manualLoading: de } = ol({
36
+ const it = R(() => import("./BaseIcon-D2f9w5Z5.js")), nt = R(() => import("./Tooltip-Clf2K3CF.js")), rt = R(() => import("./vue-ui-accordion-D-L73-T2.js")), vt = R(() => import("./DataTable-xISHA7Pu.js")), dt = R(() => import("./PenAndPaper-CtDMyIvW.js")), ct = R(() => import("./UserOptions-Bn3u4JQu.js")), yt = R(() => import("./PackageVersion-DRpg18lg.js")), ht = R(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_candlestick: ft } = tl(), h = st, oe = g(() => !!h.dataset && h.dataset.length), z = r(!1), se = r(null), A = r(Gt()), ue = r(!1), ie = r(""), ne = r(void 0), _e = r(0), $ = r(null), ze = r(null), $e = r(null), Se = r(null), Te = r(null), Le = r(null), J = r(0), Ie = r(0), Re = r(0), re = r(null), H = r(null), G = r(null), ve = r(null), e = r(ye()), { loading: S, FINAL_DATASET: C, manualLoading: de } = al({
36
37
  ...Vt(h),
37
38
  FINAL_CONFIG: e,
38
39
  prepareConfig: ye,
@@ -55,7 +56,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
55
56
  [17304192e5, 890, 2330, 550, 1950, 3770],
56
57
  [17330112e5, 1440, 3770, 890, 3200, 5100]
57
58
  ],
58
- skeletonConfig: jt({
59
+ skeletonConfig: Xt({
59
60
  defaultConfig: e.value,
60
61
  userConfig: {
61
62
  useCssAnimation: !1,
@@ -96,7 +97,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
96
97
  }
97
98
  }
98
99
  })
99
- }), { userOptionsVisible: ce, setUserOptionsVisibility: Fe, keepUserOptionState: Oe } = il({ config: e.value }), { svgRef: De } = nl({ config: e.value.style.title });
100
+ }), { userOptionsVisible: ce, setUserOptionsVisibility: Fe, keepUserOptionState: Oe } = ul({ config: e.value }), { svgRef: De } = il({ config: e.value.style.title });
100
101
  function ye() {
101
102
  const t = ot({
102
103
  userConfig: h.config,
@@ -105,7 +106,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
105
106
  let a = {};
106
107
  return t.theme ? a = {
107
108
  ...ot({
108
- userConfig: Yt.vue_ui_candlestick[t.theme] || h.config,
109
+ userConfig: dl.vue_ui_candlestick[t.theme] || h.config,
109
110
  defaultConfig: t
110
111
  })
111
112
  } : a = t, h.config && le(h.config, "style.zoom.startIndex") ? a.style.zoom.startIndex = h.config.style.zoom.startIndex : a.style.zoom.startIndex = null, h.config && le(h.config, "style.zoom.endIndex") ? a.style.zoom.endIndex = h.config.style.zoom.endIndex : a.style.zoom.endIndex = null, h.config && le(h.config, "style.layout.grid.yAxis.scale.min") ? a.style.layout.grid.yAxis.scale.min = h.config.style.layout.grid.yAxis.scale.min : a.style.layout.grid.yAxis.scale.min = null, h.config && le(h.config, "style.layout.grid.yAxis.scale.max") ? a.style.layout.grid.yAxis.scale.max = h.config.style.layout.grid.yAxis.scale.max : a.style.layout.grid.yAxis.scale.max = null, a;
@@ -135,7 +136,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
135
136
  }, 10), e.value.responsive) {
136
137
  const a = at(() => {
137
138
  z.value = !1;
138
- const { width: l, height: o } = ll({
139
+ const { width: l, height: o } = el({
139
140
  chart: $.value,
140
141
  title: e.value.style.title.text ? ze.value : null,
141
142
  slicer: Se.value,
@@ -168,7 +169,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
168
169
  Qe(() => {
169
170
  I.value && (W.value && I.value.unobserve(W.value), I.value.disconnect());
170
171
  });
171
- const { isPrinting: Ne, isImaging: Be, generatePdf: Ee, generateImage: Ve } = al({
172
+ const { isPrinting: Ne, isImaging: Be, generatePdf: Ee, generateImage: Ve } = ll({
172
173
  elementId: `vue-ui-candlestick_${A.value}`,
173
174
  fileName: e.value.style.title.text || "vue-ui-candlestick",
174
175
  options: e.value.userOptions.print
@@ -267,7 +268,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
267
268
  max: t,
268
269
  min: a
269
270
  };
270
- }), _ = g(() => qt(We.value.min, We.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
271
+ }), _ = g(() => jt(We.value.min, We.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
271
272
  function K(t, a) {
272
273
  return {
273
274
  ...t,
@@ -295,7 +296,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
295
296
  const xt = g(() => _.value.ticks.map((t) => ({
296
297
  y: n.value.bottom - n.value.height * mt(t),
297
298
  value: q(t)
298
- }))), kt = g(() => fe.value.map((t) => t.period)), O = g(() => ul({
299
+ }))), kt = g(() => fe.value.map((t) => t.period)), O = g(() => sl({
299
300
  values: C.value.map((t) => t[0]),
300
301
  maxDatapoints: C.value.length,
301
302
  formatter: e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter,
@@ -322,7 +323,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
322
323
  config: e.value
323
324
  };
324
325
  const l = e.value.style.tooltip.customFormat;
325
- if (el(l) && tl(() => l({
326
+ if (Qt(l) && Zt(() => l({
326
327
  seriesIndex: t,
327
328
  datapoint: a,
328
329
  series: w.value,
@@ -392,8 +393,8 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
392
393
  f.low.value,
393
394
  f.last.value,
394
395
  f.volume
395
- ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), x = Qt(o);
396
- t ? t(x) : Zt({ csvContent: x, title: e.value.style.title.text || "vue-ui-candlestick" });
396
+ ]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), x = Jt(o);
397
+ t ? t(x) : Kt({ csvContent: x, title: e.value.style.title.text || "vue-ui-candlestick" });
397
398
  });
398
399
  }
399
400
  const Q = g(() => {
@@ -464,7 +465,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
464
465
  }
465
466
  async function $t({ scale: t = 2 } = {}) {
466
467
  if (!$.value) return;
467
- const { width: a, height: l } = $.value.getBoundingClientRect(), o = a / l, { imageUri: x, base64: f } = await vl({ domElement: $.value, base64: !0, img: !0, scale: t });
468
+ const { width: a, height: l } = $.value.getBoundingClientRect(), o = a / l, { imageUri: x, base64: f } = await rl({ domElement: $.value, base64: !0, img: !0, scale: t });
468
469
  return {
469
470
  imageUri: x,
470
471
  base64: f,
@@ -475,7 +476,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
475
476
  };
476
477
  }
477
478
  const St = g(() => c.value.width), Tt = g(() => c.value.height);
478
- rl({
479
+ nl({
479
480
  timeLabelsEls: H,
480
481
  timeLabels: O,
481
482
  slicer: v,
@@ -567,7 +568,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
567
568
  ref: ze,
568
569
  style: "width:100%;background:transparent"
569
570
  }, [
570
- (s(), N(dl, {
571
+ (s(), N(vl, {
571
572
  key: `title_${Re.value}`,
572
573
  config: {
573
574
  title: {
@@ -677,7 +678,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
677
678
  (s(), i("svg", {
678
679
  ref_key: "svgRef",
679
680
  ref: De,
680
- xmlns: u(Jt),
681
+ xmlns: u(Yt),
681
682
  "aria-label": e.value.style.title.text || "candlestick chart",
682
683
  class: T({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
683
684
  viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
@@ -902,7 +903,7 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
902
903
  y: n.value.top,
903
904
  height: n.value.height <= 0 ? 1e-4 : n.value.height,
904
905
  width: d.value <= 0 ? 1e-4 : d.value,
905
- fill: ne.value === o ? u(Kt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
906
+ fill: ne.value === o ? u(qt)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
906
907
  onMouseover: () => Ct(o, l),
907
908
  onMouseleave: () => At(o, l),
908
909
  onClick: () => wt(o, l)
@@ -1047,10 +1048,10 @@ const hl = ["id"], fl = ["xmlns", "aria-label", "viewBox"], gl = ["x", "y", "wid
1047
1048
  key: "1"
1048
1049
  } : void 0
1049
1050
  ]), 1040)) : p("", !0),
1050
- u(S) ? (s(), N(sl, { key: 8 })) : p("", !0)
1051
+ u(S) ? (s(), N(ol, { key: 8 })) : p("", !0)
1051
1052
  ], 46, hl));
1052
1053
  }
1053
- }, ia = /* @__PURE__ */ yl(Gl, [["__scopeId", "data-v-f32a2d80"]]);
1054
+ }, na = /* @__PURE__ */ yl(Gl, [["__scopeId", "data-v-f32a2d80"]]);
1054
1055
  export {
1055
- ia as default
1056
+ na as default
1056
1057
  };