vue-data-ui 3.6.0 → 3.7.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 (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +1 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-ByLTJx5V.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  105. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  106. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  113. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  114. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  115. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  116. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  119. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  123. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  124. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  125. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  129. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  132. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  133. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  134. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  138. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  139. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  141. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  143. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  144. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-DMM090pe.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  149. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  151. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  152. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  155. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  156. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-CVLlgp2f.js} +57 -57
  158. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -1,22 +1,39 @@
1
- import { defineAsyncComponent as _, computed as d, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Mt, onBeforeUnmount as Ye, watchEffect as Ft, createElementBlock as u, openBlock as r, unref as c, normalizeStyle as J, normalizeClass as E, createBlock as z, createCommentVNode as f, createVNode as me, withCtx as v, renderSlot as h, normalizeProps as m, guardReactiveProps as g, createSlots as je, createElementVNode as x, Fragment as k, renderList as T, toDisplayString as S, mergeProps as qe, resolveDynamicComponent as It, createTextVNode as Je, nextTick as Rt } from "vue";
2
- import { c as ge, t as Bt, b as Wt, p as D, o as Qe, f as xe, g as Ke, e as Et, h as Ze, x as Gt, m as Ht, d as Q, X as Ut, a as ke, M as Vt, al as Xt, S as Yt, U as jt, G as et, R as qt, P as Jt, Q as Qt, H as Kt } from "./lib-C_mNZmhD.js";
3
- import { t as tt, u as Zt } from "./useResponsive-DfdjqQps.js";
4
- import { u as el, a as lt } from "./useNestedProp-CIoDlpHu.js";
5
- import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
6
- import { u as al } from "./usePrinter-DTzqpYKF.js";
7
- import { u as ol } from "./useSvgExport-DrjCWun4.js";
8
- import { u as sl } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as rl } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import ul from "./img-BecE5qXd.js";
12
- import { _ as il } from "./Shape-CNXKB8O0.js";
13
- import cl from "./Title-Bb1VWCtR.js";
14
- import { t as vl } from "./themes-DH-N_ePR.js";
15
- import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"], bl = { key: 1 }, yl = { key: 0 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = { key: 1 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "text-anchor"], Ll = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], $l = ["fill", "font-size", "transform"], _l = ["fill", "font-size", "x", "y"], Tl = ["x1", "x2", "y1", "y2", "stroke"], Sl = ["cx", "cy", "fill"], Ol = ["cx", "cy", "fill"], Pl = ["id"], zl = ["stop-color"], Dl = ["stop-color"], Nl = ["stop-color"], Ml = { key: 0 }, Fl = ["x", "y", "font-size", "fill"], Il = {
1
+ import { defineAsyncComponent as $, computed as h, ref as i, toRefs as Ht, watch as q, shallowRef as Xe, onMounted as Ut, onBeforeUnmount as Ye, watchEffect as Vt, createElementBlock as u, openBlock as r, unref as c, normalizeStyle as J, normalizeClass as R, createBlock as O, createCommentVNode as f, createVNode as ge, withCtx as v, renderSlot as d, normalizeProps as m, guardReactiveProps as C, createSlots as qe, createElementVNode as k, Fragment as x, renderList as T, toDisplayString as S, mergeProps as Je, resolveDynamicComponent as jt, createTextVNode as Ke, nextTick as Xt } from "vue";
2
+ import { c as me, t as Yt, i as qt, p as P, o as Qe, g as Ce, k as Ze, j as Jt, l as et, M as Kt, F as Qt, d as K, X as Zt, a as ke, U as el, ao as tl, n as ll, r as al, x as tt, Y as ol, u as sl, q as rl, R as nl } from "./lib-C5BH09_g.js";
3
+ import { t as lt, u as ul } from "./useResponsive-DfdjqQps.js";
4
+ import { u as il, a as xe } from "./useNestedProp-CWo6bftQ.js";
5
+ import { u as cl, B as vl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as dl } from "./usePrinter-DCJzEiS8.js";
7
+ import { u as hl } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as bl } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as pl } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as yl } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import gl from "./img-DUzJeMlr.js";
13
+ import { _ as ml } from "./Shape-DE6X_t31.js";
14
+ import Cl from "./Title-DfFUb9hd.js";
15
+ import { _ as kl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const at = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", grid: { stroke: "#5A5A5A", horizontalGrid: { stroke: "#4A4A4A" }, verticalGrid: { stroke: "#4A4A4A" } }, plots: { stroke: "#1A1A1A" }, labels: { bestPlotLabel: { color: "#CCCCCC" }, axis: { color: "#CCCCCC" }, xAxisLabels: { color: "#CCCCCC" }, yAxisLabels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, ot = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", grid: { stroke: "#5D4037", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#FFF8E1" }, labels: { bestPlotLabel: { color: "#424242" }, axis: { color: "#424242" }, xAxisLabels: { color: "#424242" }, yAxisLabels: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, st = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", grid: { stroke: "#5D4037", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#1E1E1E" }, labels: { bestPlotLabel: { color: "#BDBDBD" }, axis: { color: "#BDBDBD" }, xAxisLabels: { color: "#BDBDBD" }, yAxisLabels: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, rt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", grid: { stroke: "#5F6A5F", horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#00FF00" }, labels: { bestPlotLabel: { color: "#AACCAA" }, axis: { color: "#99CC99" }, xAxisLabels: { color: "#99CC99" }, yAxisLabels: { color: "#99CC99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, nt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", grid: { show: !1, horizontalGrid: { show: !1 }, verticalGrid: { show: !1 } }, plots: { stroke: "#fbfafa" }, labels: { bestPlotLabel: { color: "#A0AC94" }, axis: { color: "#A0AC94" }, xAxisLabels: { color: "#A0AC94" }, yAxisLabels: { show: !1, color: "#A0AC94" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, ut = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", grid: { stroke: "#829C98", horizontalGrid: { stroke: "#829C98" }, verticalGrid: { stroke: "#829C98" } }, plots: { stroke: "#404C5A" }, labels: { bestPlotLabel: { color: "#61747E" }, axis: { color: "#61747E" }, xAxisLabels: { color: "#61747E" }, yAxisLabels: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, it = {
17
+ default: {},
18
+ dark: at,
19
+ celebration: ot,
20
+ celebrationNight: st,
21
+ hack: rt,
22
+ zen: nt,
23
+ concrete: ut
24
+ }, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
+ __proto__: null,
26
+ celebration: ot,
27
+ celebrationNight: st,
28
+ concrete: ut,
29
+ dark: at,
30
+ default: it,
31
+ hack: rt,
32
+ zen: nt
33
+ }, Symbol.toStringTag, { value: "Module" })), xl = ["id"], Al = ["xmlns", "viewBox"], wl = ["x", "y", "width", "height"], Ll = { key: 1 }, _l = { key: 0 }, $l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Tl = { key: 1 }, Sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = ["x", "y", "fill", "font-size"], Pl = ["transform", "font-size", "fill", "text-anchor"], zl = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], Bl = ["fill", "font-size", "transform"], El = ["fill", "font-size", "x", "y"], Nl = ["x1", "x2", "y1", "y2", "stroke"], Ml = ["cx", "cy", "fill"], Gl = ["cx", "cy", "fill"], Il = ["id"], Rl = ["stop-color"], Wl = ["stop-color"], Hl = ["stop-color"], Ul = { key: 0 }, Vl = ["x", "y", "font-size", "fill"], jl = {
17
34
  key: 4,
18
35
  class: "vue-data-ui-watermark"
19
- }, Rl = ["innerHTML"], Bl = {
36
+ }, Xl = ["innerHTML"], Yl = {
20
37
  __name: "vue-ui-strip-plot",
21
38
  props: {
22
39
  config: {
@@ -33,16 +50,16 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
33
50
  }
34
51
  },
35
52
  emits: ["selectDatapoint"],
36
- setup(at, { expose: ot, emit: st }) {
37
- const rt = _(() => import("./Tooltip-oWCO1HKy.js")), nt = _(() => import("./BaseIcon-DLFL0M4-.js")), ut = _(() => import("./vue-ui-accordion-SSLXLlNz.js")), it = _(() => import("./DataTable-UCyd_BQI.js")), ct = _(() => import("./UserOptions-BqmUW9Kp.js")), vt = _(() => import("./PenAndPaper-BJSMejV9.js")), ht = _(() => import("./PackageVersion-D_4Hr4S4.js")), dt = _(() => import("./BaseDraggableDialog-DhKIof09.js")), { vue_ui_strip_plot: pt } = el(), w = at, ft = st, G = d({
53
+ setup(ct, { expose: vt, emit: dt }) {
54
+ const ht = $(() => import("./Tooltip-WD0Ros6G.js")), bt = $(() => import("./BaseIcon-CofSxalQ.js")), ft = $(() => import("./vue-ui-accordion-DSdZUn2C.js")), pt = $(() => import("./DataTable-CHaOCmsE.js")), yt = $(() => import("./UserOptions-B3I-s3Lw.js")), gt = $(() => import("./PenAndPaper-HCZQTkqi.js")), mt = $(() => import("./PackageVersion-Bq_mtsqr.js")), Ct = $(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_strip_plot: kt } = il(), { isThemeValid: xt, warnInvalidTheme: At } = bl(), g = ct, wt = dt, W = h({
38
55
  get() {
39
- return !!w.dataset && w.dataset.length;
56
+ return !!g.dataset && g.dataset.length;
40
57
  },
41
58
  set(t) {
42
59
  return t;
43
60
  }
44
- }), K = i(ge()), we = i(0), Z = i(!1), ee = i(""), A = i(null), Ce = i(null), Ae = i(null), Le = i(null), $e = i(!1), _e = i(0), Te = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ce()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = tl({
45
- ...Nt(w),
61
+ }), Q = i(me()), Ae = i(0), Z = i(!1), ee = i(""), w = i(null), we = i(null), Le = i(null), _e = i(null), $e = i(!1), Te = i(0), Se = i(0), N = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ce()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = cl({
62
+ ...Ht(g),
46
63
  FINAL_CONFIG: e,
47
64
  prepareConfig: ce,
48
65
  skeletonDataset: [
@@ -92,7 +109,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
92
109
  ]
93
110
  }
94
111
  ],
95
- skeletonConfig: Bt({
112
+ skeletonConfig: Yt({
96
113
  defaultConfig: e.value,
97
114
  userConfig: {
98
115
  userOptions: { show: !1 },
@@ -131,41 +148,48 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
131
148
  }
132
149
  }
133
150
  })
134
- }), { userOptionsVisible: ue, setUserOptionsVisibility: Se, keepUserOptionState: Oe } = sl({ config: e.value }), { svgRef: ie } = rl({ config: e.value.style.chart.title });
151
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: De, keepUserOptionState: Fe } = fl({ config: e.value }), { svgRef: ie } = pl({ config: e.value.style.chart.title });
135
152
  function ce() {
136
- const t = lt({
137
- userConfig: w.config,
138
- defaultConfig: pt
153
+ const t = xe({
154
+ userConfig: g.config,
155
+ defaultConfig: kt
156
+ }), a = t.theme;
157
+ if (!a) return t;
158
+ if (!xt.value(t))
159
+ return At(t), t;
160
+ const l = xe({
161
+ userConfig: it[a] || g.config,
162
+ defaultConfig: t
163
+ }), o = xe({
164
+ userConfig: g.config,
165
+ defaultConfig: l
139
166
  });
140
- return t.theme ? {
141
- ...lt({
142
- userConfig: vl.vue_ui_strip_plot[t.theme] || w.config,
143
- defaultConfig: t
144
- }),
145
- customPalette: Wt[t.theme] || D
146
- } : t;
167
+ return {
168
+ ...o,
169
+ customPalette: o.customPalette.length ? o.customPalette : qt[a] || P
170
+ };
147
171
  }
148
- q(() => w.config, async (t) => {
149
- se.value || (e.value = ce()), ue.value = !e.value.userOptions.showOnChartHover, Pe(), _e.value += 1, Te.value += 1, b.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.chart.tooltip.show, M.value = e.value.style.chart.width, $.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
150
- }, { deep: !0 }), q(() => w.dataset, (t) => {
172
+ q(() => g.config, async (t) => {
173
+ se.value || (e.value = ce()), ue.value = !e.value.userOptions.showOnChartHover, Oe(), Te.value += 1, Se.value += 1, p.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, B.value = e.value.style.chart.width, _.value = e.value.style.chart.height, G.value = e.value.style.chart.plots.radius;
174
+ }, { deep: !0 }), q(() => g.dataset, (t) => {
151
175
  Array.isArray(t) && t.length > 0 && (ne.value = !1);
152
176
  }, { deep: !0 });
153
- const L = Xe(null), N = Xe(null);
154
- Mt(() => {
155
- Pe();
177
+ const L = Xe(null), z = Xe(null);
178
+ Ut(() => {
179
+ Oe();
156
180
  });
157
- const ve = d(() => !!e.value.debug);
158
- function Pe() {
159
- if (Qe(w.dataset) ? (xe({
181
+ const ve = h(() => !!e.value.debug);
182
+ function Oe() {
183
+ if (Qe(g.dataset) ? (Ce({
160
184
  componentName: "VueUiStripPlot",
161
185
  type: "dataset",
162
186
  debug: ve.value
163
- }), ne.value = !0) : w.dataset.forEach((t, a) => {
164
- Ke({
187
+ }), ne.value = !0) : g.dataset.forEach((t, a) => {
188
+ Ze({
165
189
  datasetObject: t,
166
190
  requiredAttributes: ["name", "plots"]
167
191
  }).forEach((l) => {
168
- G.value = !1, xe({
192
+ W.value = !1, Ce({
169
193
  componentName: "VueUiStripPlot",
170
194
  type: "datasetSerieAttribute",
171
195
  property: l,
@@ -173,11 +197,11 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
173
197
  debug: ve.value
174
198
  });
175
199
  }), t.plots && t.plots.forEach((l, o) => {
176
- Ke({
200
+ Ze({
177
201
  datasetObject: l,
178
202
  requiredAttributes: ["name", "value"]
179
203
  }).forEach((n) => {
180
- G.value = !1, xe({
204
+ W.value = !1, Ce({
181
205
  componentName: "VueUiStripPlot",
182
206
  type: "datasetSerieAttribute",
183
207
  property: n,
@@ -186,43 +210,43 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
186
210
  });
187
211
  });
188
212
  });
189
- }), Qe(w.dataset) || (ne.value = e.value.loading), e.value.responsive) {
190
- const t = tt(() => {
191
- const { width: a, height: l } = Zt({
192
- chart: A.value,
193
- title: e.value.style.chart.title.text ? Ce.value : null,
194
- source: Ae.value,
195
- noTitle: Le.value
213
+ }), Qe(g.dataset) || (ne.value = e.value.loading), e.value.responsive) {
214
+ const t = lt(() => {
215
+ const { width: a, height: l } = ul({
216
+ chart: w.value,
217
+ title: e.value.style.chart.title.text ? we.value : null,
218
+ source: Le.value,
219
+ noTitle: _e.value
196
220
  });
197
221
  requestAnimationFrame(() => {
198
- yt.value = l, M.value = Math.max(0.1, a), $.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? B.value = qt({
222
+ _t.value = l, B.value = Math.max(0.1, a), _.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? G.value = ol({
199
223
  relator: Math.min(l, a),
200
224
  adjuster: 600,
201
225
  source: e.value.style.chart.plots.radius,
202
226
  threshold: 6,
203
227
  fallback: 6
204
- }) : B.value = e.value.style.chart.plots.radius;
228
+ }) : G.value = e.value.style.chart.plots.radius;
205
229
  });
206
230
  });
207
- L.value && (N.value && L.value.unobserve(N.value), L.value.disconnect()), L.value = new ResizeObserver(t), N.value = A.value.parentNode, L.value.observe(N.value);
231
+ L.value && (z.value && L.value.unobserve(z.value), L.value.disconnect()), L.value = new ResizeObserver(t), z.value = w.value.parentNode, L.value.observe(z.value);
208
232
  }
209
233
  $e.value = !0, setTimeout(() => {
210
- R.value = !1;
211
- }, kt.value * 50);
234
+ M.value = !1;
235
+ }, Dt.value * 50);
212
236
  }
213
237
  Ye(() => {
214
- L.value && (N.value && L.value.unobserve(N.value), L.value.disconnect());
238
+ L.value && (z.value && L.value.unobserve(z.value), L.value.disconnect());
215
239
  });
216
- const { isPrinting: ze, isImaging: De, generatePdf: Ne, generateImage: Me } = al({
217
- elementId: `strip-plot_${K.value}`,
240
+ const { isPrinting: Pe, isImaging: ze, generatePdf: Be, generateImage: Ee } = dl({
241
+ elementId: `strip-plot_${Q.value}`,
218
242
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
219
243
  options: e.value.userOptions.print
220
- }), bt = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = d(() => Et(e.value.customPalette)), R = i(e.value.useCssAnimation), U = i({
244
+ }), Lt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ne = h(() => Jt(e.value.customPalette)), M = i(e.value.useCssAnimation), U = i({
221
245
  top: e.value.style.chart.padding.top,
222
246
  bottom: e.value.style.chart.padding.bottom,
223
247
  left: e.value.style.chart.padding.left,
224
248
  right: e.value.style.chart.padding.right
225
- }), M = i(e.value.style.chart.width), $ = i(e.value.style.chart.height), yt = i(e.value.style.chart.height), B = i(e.value.style.chart.plots.radius), b = i({
249
+ }), B = i(e.value.style.chart.width), _ = i(e.value.style.chart.height), _t = i(e.value.style.chart.height), G = i(e.value.style.chart.plots.radius), p = i({
226
250
  showTable: e.value.table.show,
227
251
  dataLabels: {
228
252
  show: e.value.style.chart.labels.bestPlotLabel.show
@@ -230,105 +254,105 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
230
254
  showTooltip: e.value.style.chart.tooltip.show
231
255
  });
232
256
  q(e, () => {
233
- b.value = {
257
+ p.value = {
234
258
  showTable: e.value.table.show,
235
259
  dataLabels: {
236
260
  show: e.value.style.chart.labels.bestPlotLabel.show
237
261
  },
238
262
  showTooltip: e.value.style.chart.tooltip.show
239
- }, M.value = e.value.style.chart.width, $.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
263
+ }, B.value = e.value.style.chart.width, _.value = e.value.style.chart.height, G.value = e.value.style.chart.plots.radius;
240
264
  }, { immediate: !0 });
241
- const he = d(() => Math.min(B.value, s.value.stripWidth / 2 * 0.9));
242
- function mt() {
265
+ const de = h(() => Math.min(G.value, s.value.stripWidth / 2 * 0.9));
266
+ function $t() {
243
267
  let t = 0;
244
268
  oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((o, n) => {
245
- const p = n.getComputedTextLength();
246
- return p > o ? p : o;
269
+ const b = n.getComputedTextLength();
270
+ return b > o ? b : o;
247
271
  }, 0));
248
272
  const a = ae.value ? ae.value.getBoundingClientRect().width : 0;
249
273
  return t + a + (a ? 24 : 0);
250
274
  }
251
- const de = i(0), gt = tt((t) => {
252
- de.value = t;
275
+ const he = i(0), Tt = lt((t) => {
276
+ he.value = t;
253
277
  }, 100);
254
- Ft((t) => {
278
+ Vt((t) => {
255
279
  const a = H.value;
256
280
  if (!a) return;
257
281
  const l = new ResizeObserver((o) => {
258
- gt(o[0].contentRect.height);
282
+ Tt(o[0].contentRect.height);
259
283
  });
260
284
  l.observe(a), t(() => l.disconnect());
261
285
  }), Ye(() => {
262
- de.value = 0;
286
+ he.value = 0;
263
287
  });
264
- const xt = d(() => {
288
+ const St = h(() => {
265
289
  let t = 0;
266
290
  le.value && (t = le.value.getBBox().height + e.value.style.chart.labels.axis.fontSize / 3 + 12 + e.value.style.chart.labels.axis.xLabelOffsetY);
267
291
  let a = 0;
268
- return H.value && (a = de.value + 12), t + a;
269
- }), s = d(() => {
270
- const t = mt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = M.value - U.value.right, o = Math.max(0, l - a), n = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, p = $.value - U.value.bottom - xt.value, F = Math.max(0, p - n), Ve = Array.isArray(re.value) ? re.value.length : 0, Dt = Ve > 0 ? o / Ve : 0;
292
+ return H.value && (a = he.value + 12), t + a;
293
+ }), s = h(() => {
294
+ const t = $t(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = B.value - U.value.right, o = Math.max(0, l - a), n = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, b = _.value - U.value.bottom - St.value, E = Math.max(0, b - n), je = Array.isArray(re.value) ? re.value.length : 0, Wt = je > 0 ? o / je : 0;
271
295
  return {
272
296
  left: a,
273
297
  right: l,
274
298
  top: n,
275
- bottom: p,
299
+ bottom: b,
276
300
  width: o,
277
- height: F,
278
- stripWidth: Dt,
279
- absoluteHeight: $.value
301
+ height: E,
302
+ stripWidth: Wt,
303
+ absoluteHeight: _.value
280
304
  };
281
- }), V = d(() => re.value.map((t, a) => {
282
- const l = ge();
305
+ }), V = h(() => re.value.map((t, a) => {
306
+ const l = me();
283
307
  return {
284
308
  ...t,
285
309
  id: l,
286
- color: t.color ? Ze(t.color) : Fe.value[a] || D[a] || D[a % D.length],
310
+ color: t.color ? et(t.color) : Ne.value[a] || P[a] || P[a % P.length],
287
311
  plots: t.plots.map((o, n) => ({
288
312
  ...o,
289
- value: Gt(o.value),
313
+ value: Kt(o.value),
290
314
  parentId: l,
291
315
  parentName: t.name,
292
316
  parentIndex: a,
293
317
  plotIndex: n,
294
- color: t.color ? Ze(t.color) : Fe.value[a] || D[a] || D[a % D.length],
295
- id: ge()
318
+ color: t.color ? et(t.color) : Ne.value[a] || P[a] || P[a % P.length],
319
+ id: me()
296
320
  })).sort((o, n) => o.value - n.value)
297
321
  };
298
- })), C = d(() => (V.value || []).map((t, a) => ({
322
+ })), A = h(() => (V.value || []).map((t, a) => ({
299
323
  ...t,
300
324
  plots: t.plots.map((l) => ({
301
325
  ...l,
302
326
  x: s.value.left + (a + 1) * s.value.stripWidth - s.value.stripWidth / 2
303
327
  }))
304
- }))), kt = d(() => Math.max(...C.value.map((t) => t.plots.length))), pe = d(() => {
305
- const t = C.value.flatMap((a) => a.plots.map((l) => l.value));
328
+ }))), Dt = h(() => Math.max(...A.value.map((t) => t.plots.length))), be = h(() => {
329
+ const t = A.value.flatMap((a) => a.plots.map((l) => l.value));
306
330
  return {
307
331
  max: Math.max(...t),
308
332
  min: Math.min(...t)
309
333
  };
310
- }), O = d(() => Ht(pe.value.min < 0 ? pe.value.min : 0, pe.value.max, e.value.style.chart.grid.scaleSteps)), wt = d(() => (C.value || []).map((t, a) => ({
334
+ }), D = h(() => Qt(be.value.min < 0 ? be.value.min : 0, be.value.max, e.value.style.chart.grid.scaleSteps)), Ft = h(() => (A.value || []).map((t, a) => ({
311
335
  ...t,
312
336
  plots: t.plots.map((l) => ({
313
337
  ...l,
314
- y: s.value.bottom - (l.value + Math.abs(O.value.min)) / (O.value.max + Math.abs(O.value.min)) * s.value.height
338
+ y: s.value.bottom - (l.value + Math.abs(D.value.min)) / (D.value.max + Math.abs(D.value.min)) * s.value.height
315
339
  }))
316
- }))), Ie = d(() => O.value.ticks.map((t) => ({
317
- y: s.value.bottom - s.value.height * ((t + Math.abs(O.value.min)) / (O.value.max + Math.abs(O.value.min))),
340
+ }))), Me = h(() => D.value.ticks.map((t) => ({
341
+ y: s.value.bottom - s.value.height * ((t + Math.abs(D.value.min)) / (D.value.max + Math.abs(D.value.min))),
318
342
  x1: s.value.left,
319
343
  x2: s.value.right,
320
344
  value: t
321
345
  }))), fe = i(null), y = i(null);
322
- function Ct({ datapoint: t, seriesIndex: a }) {
346
+ function Ot({ datapoint: t, seriesIndex: a }) {
323
347
  Z.value = !1, y.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
324
348
  }
325
- function At({ datapoint: t, seriesIndex: a }) {
326
- ft("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
349
+ function Pt({ datapoint: t, seriesIndex: a }) {
350
+ wt("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
327
351
  }
328
- function Lt({ datapoint: t, seriesIndex: a }) {
352
+ function zt({ datapoint: t, seriesIndex: a }) {
329
353
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), fe.value = { datapoint: t, seriesIndex: a, config: e.value, series: V.value }, Z.value = !0, y.value = t;
330
354
  const l = e.value.style.chart.tooltip.customFormat;
331
- if (et(l) && Kt(() => l({
355
+ if (tt(l) && nl(() => l({
332
356
  seriesIndex: a,
333
357
  datapoint: t,
334
358
  series: V.value,
@@ -345,7 +369,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
345
369
  o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, o += `<div>${ke(
346
370
  e.value.style.chart.labels.formatter,
347
371
  t.value,
348
- Q({
372
+ K({
349
373
  p: e.value.style.chart.labels.prefix,
350
374
  v: t.value,
351
375
  s: e.value.style.chart.labels.suffix,
@@ -355,29 +379,29 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
355
379
  )}</div>`, ee.value = `<div>${o}</div>`;
356
380
  }
357
381
  }
358
- const X = d(() => {
359
- const t = C.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
382
+ const j = h(() => {
383
+ const t = A.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
360
384
  name: `${l.name} - ${o.name}`,
361
385
  color: o.color
362
- }))), a = C.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
386
+ }))), a = A.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
363
387
  return { head: t, body: a };
364
388
  });
365
- function be(t = null) {
366
- Rt(() => {
367
- const a = X.value.head.map((n, p) => [[
389
+ function pe(t = null) {
390
+ Xt(() => {
391
+ const a = j.value.head.map((n, b) => [[
368
392
  n.name
369
- ], [X.value.body[p]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = Jt(l);
370
- t ? t(o) : Qt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
393
+ ], [j.value.body[b]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = sl(l);
394
+ t ? t(o) : rl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
371
395
  });
372
396
  }
373
- const Y = d(() => {
397
+ const X = h(() => {
374
398
  const t = [
375
399
  e.value.table.columnNames.series,
376
400
  e.value.table.columnNames.value
377
- ], a = X.value.head.map((n, p) => {
378
- const F = Q({
401
+ ], a = j.value.head.map((n, b) => {
402
+ const E = K({
379
403
  p: e.value.style.chart.labels.prefix,
380
- v: X.value.body[p],
404
+ v: j.value.body[b],
381
405
  s: e.value.style.chart.labels.suffix,
382
406
  r: e.value.table.td.roundingValue
383
407
  });
@@ -386,7 +410,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
386
410
  color: n.color,
387
411
  name: n.name
388
412
  },
389
- F
413
+ E
390
414
  ];
391
415
  }), l = {
392
416
  th: {
@@ -410,64 +434,64 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
410
434
  body: a,
411
435
  config: l
412
436
  };
413
- }), P = i(!1);
414
- function Re(t) {
415
- P.value = t, we.value += 1;
437
+ }), F = i(!1);
438
+ function Ge(t) {
439
+ F.value = t, Ae.value += 1;
416
440
  }
417
- function $t() {
418
- return C.value;
441
+ function Bt() {
442
+ return A.value;
419
443
  }
420
- function Be() {
421
- b.value.showTable = !b.value.showTable;
444
+ function Ie() {
445
+ p.value.showTable = !p.value.showTable;
422
446
  }
423
- function We() {
424
- b.value.dataLabels.show = !b.value.dataLabels.show;
447
+ function Re() {
448
+ p.value.dataLabels.show = !p.value.dataLabels.show;
425
449
  }
426
- function Ee() {
427
- b.value.showTooltip = !b.value.showTooltip;
450
+ function We() {
451
+ p.value.showTooltip = !p.value.showTooltip;
428
452
  }
429
- const j = i(!1);
453
+ const Y = i(!1);
430
454
  function ye() {
431
- j.value = !j.value;
455
+ Y.value = !Y.value;
432
456
  }
433
- async function _t({ scale: t = 2 } = {}) {
434
- if (!A.value) return;
435
- const { width: a, height: l } = A.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: p } = await ul({ domElement: A.value, base64: !0, img: !0, scale: t });
457
+ async function Et({ scale: t = 2 } = {}) {
458
+ if (!w.value) return;
459
+ const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: b } = await gl({ domElement: w.value, base64: !0, img: !0, scale: t });
436
460
  return {
437
461
  imageUri: n,
438
- base64: p,
462
+ base64: b,
439
463
  title: e.value.style.chart.title.text,
440
464
  width: a,
441
465
  height: l,
442
466
  aspectRatio: o
443
467
  };
444
468
  }
445
- const Ge = d(() => C.value.map((t) => t.name)), Tt = i({ start: 0, end: C.value.length });
446
- nl({
469
+ const He = h(() => A.value.map((t) => t.name)), Nt = i({ start: 0, end: A.value.length });
470
+ yl({
447
471
  timeLabelsEls: H,
448
- timeLabels: Ge,
449
- slicer: Tt,
472
+ timeLabels: He,
473
+ slicer: Nt,
450
474
  configRef: e,
451
475
  rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
452
476
  autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
453
477
  isAutoSize: !1,
454
- width: M,
455
- height: $,
478
+ width: B,
479
+ height: _,
456
480
  targetClass: ".vue-ui-strip-plot-category-name",
457
481
  rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
458
482
  });
459
- const W = d(() => {
460
- const t = e.value.table.useDialog && !e.value.table.show, a = b.value.showTable;
483
+ const I = h(() => {
484
+ const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
461
485
  return {
462
- component: t ? dt : ut,
486
+ component: t ? Ct : ft,
463
487
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
464
488
  props: t ? {
465
489
  backgroundColor: e.value.table.th.backgroundColor,
466
490
  color: e.value.table.th.color,
467
491
  headerColor: e.value.table.th.color,
468
492
  headerBg: e.value.table.th.backgroundColor,
469
- isFullscreen: P.value,
470
- fullscreenParent: A.value,
493
+ isFullscreen: F.value,
494
+ fullscreenParent: w.value,
471
495
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
472
496
  } : {
473
497
  hideDetails: !0,
@@ -486,88 +510,88 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
486
510
  }
487
511
  };
488
512
  });
489
- q(() => b.value.showTable, (t) => {
490
- e.value.table.show || (t && e.value.table.useDialog && I.value ? I.value.open() : "close" in I.value && I.value.close());
513
+ q(() => p.value.showTable, (t) => {
514
+ e.value.table.show || (t && e.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
491
515
  });
492
- function He() {
493
- b.value.showTable = !1, te.value && te.value.setTableIconState(!1);
516
+ function Ue() {
517
+ p.value.showTable = !1, te.value && te.value.setTableIconState(!1);
494
518
  }
495
- const St = d(() => e.value.style.chart.backgroundColor), Ot = d(() => e.value.style.chart.title), { exportSvg: Pt, getSvg: zt } = ol({
519
+ const Mt = h(() => e.value.style.chart.backgroundColor), Gt = h(() => e.value.style.chart.title), { exportSvg: It, getSvg: Rt } = hl({
496
520
  svg: ie,
497
- title: Ot,
498
- backgroundColor: St
521
+ title: Gt,
522
+ backgroundColor: Mt
499
523
  });
500
- async function Ue({ isCb: t }) {
524
+ async function Ve({ isCb: t }) {
501
525
  if (t) {
502
- const { blob: a, url: l, text: o, dataUrl: n } = await zt();
526
+ const { blob: a, url: l, text: o, dataUrl: n } = await Rt();
503
527
  e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: n });
504
528
  } else
505
- Pt();
529
+ It();
506
530
  }
507
- return ot({
508
- getData: $t,
509
- getImage: _t,
510
- generatePdf: Ne,
511
- generateCsv: be,
512
- generateImage: Me,
513
- generateSvg: Ue,
514
- toggleTable: Be,
515
- toggleLabels: We,
516
- toggleTooltip: Ee,
531
+ return vt({
532
+ getData: Bt,
533
+ getImage: Et,
534
+ generatePdf: Be,
535
+ generateCsv: pe,
536
+ generateImage: Ee,
537
+ generateSvg: Ve,
538
+ toggleTable: Ie,
539
+ toggleLabels: Re,
540
+ toggleTooltip: We,
517
541
  toggleAnnotator: ye,
518
- toggleFullscreen: Re
542
+ toggleFullscreen: Ge
519
543
  }), (t, a) => (r(), u("div", {
520
544
  ref_key: "stripPlotChart",
521
- ref: A,
522
- class: E(`vue-data-ui-component vue-ui-strip-plot ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
545
+ ref: w,
546
+ class: R(`vue-data-ui-component vue-ui-strip-plot ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
523
547
  style: J(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
524
- id: `strip-plot_${K.value}`,
525
- onMouseenter: a[1] || (a[1] = () => c(Se)(!0)),
526
- onMouseleave: a[2] || (a[2] = () => c(Se)(!1))
548
+ id: `strip-plot_${Q.value}`,
549
+ onMouseenter: a[1] || (a[1] = () => c(De)(!0)),
550
+ onMouseleave: a[2] || (a[2] = () => c(De)(!1))
527
551
  }, [
528
- e.value.userOptions.buttons.annotator ? (r(), z(c(vt), {
552
+ e.value.userOptions.buttons.annotator ? (r(), O(c(gt), {
529
553
  key: 0,
530
554
  svgRef: c(ie),
531
555
  backgroundColor: e.value.style.chart.backgroundColor,
532
556
  color: e.value.style.chart.color,
533
- active: j.value,
557
+ active: Y.value,
534
558
  onClose: ye
535
559
  }, {
536
560
  "annotator-action-close": v(() => [
537
- h(t.$slots, "annotator-action-close", {}, void 0, !0)
561
+ d(t.$slots, "annotator-action-close", {}, void 0, !0)
538
562
  ]),
539
563
  "annotator-action-color": v(({ color: l }) => [
540
- h(t.$slots, "annotator-action-color", m(g({ color: l })), void 0, !0)
564
+ d(t.$slots, "annotator-action-color", m(C({ color: l })), void 0, !0)
541
565
  ]),
542
566
  "annotator-action-draw": v(({ mode: l }) => [
543
- h(t.$slots, "annotator-action-draw", m(g({ mode: l })), void 0, !0)
567
+ d(t.$slots, "annotator-action-draw", m(C({ mode: l })), void 0, !0)
544
568
  ]),
545
569
  "annotator-action-undo": v(({ disabled: l }) => [
546
- h(t.$slots, "annotator-action-undo", m(g({ disabled: l })), void 0, !0)
570
+ d(t.$slots, "annotator-action-undo", m(C({ disabled: l })), void 0, !0)
547
571
  ]),
548
572
  "annotator-action-redo": v(({ disabled: l }) => [
549
- h(t.$slots, "annotator-action-redo", m(g({ disabled: l })), void 0, !0)
573
+ d(t.$slots, "annotator-action-redo", m(C({ disabled: l })), void 0, !0)
550
574
  ]),
551
575
  "annotator-action-delete": v(({ disabled: l }) => [
552
- h(t.$slots, "annotator-action-delete", m(g({ disabled: l })), void 0, !0)
576
+ d(t.$slots, "annotator-action-delete", m(C({ disabled: l })), void 0, !0)
553
577
  ]),
554
578
  _: 3
555
579
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
556
- bt.value ? (r(), u("div", {
580
+ Lt.value ? (r(), u("div", {
557
581
  key: 1,
558
582
  ref_key: "noTitle",
559
- ref: Le,
583
+ ref: _e,
560
584
  class: "vue-data-ui-no-title-space",
561
585
  style: "height:36px; width: 100%;background:transparent"
562
586
  }, null, 512)) : f("", !0),
563
587
  e.value.style.chart.title.text ? (r(), u("div", {
564
588
  key: 2,
565
589
  ref_key: "chartTitle",
566
- ref: Ce,
590
+ ref: we,
567
591
  style: "width:100%;background:transparent;padding-bottom:24px"
568
592
  }, [
569
- (r(), z(cl, {
570
- key: `title_${_e.value}`,
593
+ (r(), O(Cl, {
594
+ key: `title_${Te.value}`,
571
595
  config: {
572
596
  title: {
573
597
  cy: "donut-div-title",
@@ -580,15 +604,15 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
580
604
  }
581
605
  }, null, 8, ["config"]))
582
606
  ], 512)) : f("", !0),
583
- e.value.userOptions.show && G.value && (c(Oe) || c(ue)) ? (r(), z(c(ct), {
607
+ e.value.userOptions.show && W.value && (c(Fe) || c(ue)) ? (r(), O(c(yt), {
584
608
  ref_key: "userOptionsRef",
585
609
  ref: te,
586
- key: `user_option_${we.value}`,
610
+ key: `user_option_${Ae.value}`,
587
611
  backgroundColor: e.value.style.chart.backgroundColor,
588
612
  color: e.value.style.chart.color,
589
- isPrinting: c(ze),
590
- isImaging: c(De),
591
- uid: K.value,
613
+ isPrinting: c(Pe),
614
+ isImaging: c(ze),
615
+ uid: Q.value,
592
616
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
593
617
  hasPdf: e.value.userOptions.buttons.pdf,
594
618
  hasXls: e.value.userOptions.buttons.csv,
@@ -597,96 +621,96 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
597
621
  hasTable: e.value.userOptions.buttons.table,
598
622
  hasLabel: e.value.userOptions.buttons.labels,
599
623
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
600
- isTooltip: b.value.showTooltip,
601
- isFullscreen: P.value,
624
+ isTooltip: p.value.showTooltip,
625
+ isFullscreen: F.value,
602
626
  titles: { ...e.value.userOptions.buttonTitles },
603
- chartElement: A.value,
627
+ chartElement: w.value,
604
628
  position: e.value.userOptions.position,
605
629
  hasAnnotator: e.value.userOptions.buttons.annotator,
606
- isAnnotation: j.value,
630
+ isAnnotation: Y.value,
607
631
  callbacks: e.value.userOptions.callbacks,
608
632
  printScale: e.value.userOptions.print.scale,
609
633
  tableDialog: e.value.table.useDialog,
610
- onToggleFullscreen: Re,
611
- onGeneratePdf: c(Ne),
612
- onGenerateCsv: be,
613
- onGenerateImage: c(Me),
614
- onGenerateSvg: Ue,
615
- onToggleTable: Be,
616
- onToggleLabels: We,
617
- onToggleTooltip: Ee,
634
+ onToggleFullscreen: Ge,
635
+ onGeneratePdf: c(Be),
636
+ onGenerateCsv: pe,
637
+ onGenerateImage: c(Ee),
638
+ onGenerateSvg: Ve,
639
+ onToggleTable: Ie,
640
+ onToggleLabels: Re,
641
+ onToggleTooltip: We,
618
642
  onToggleAnnotator: ye,
619
643
  style: J({
620
- visibility: c(Oe) ? c(ue) ? "visible" : "hidden" : "visible"
644
+ visibility: c(Fe) ? c(ue) ? "visible" : "hidden" : "visible"
621
645
  })
622
- }, je({ _: 2 }, [
646
+ }, qe({ _: 2 }, [
623
647
  t.$slots.menuIcon ? {
624
648
  name: "menuIcon",
625
649
  fn: v(({ isOpen: l, color: o }) => [
626
- h(t.$slots, "menuIcon", m(g({ isOpen: l, color: o })), void 0, !0)
650
+ d(t.$slots, "menuIcon", m(C({ isOpen: l, color: o })), void 0, !0)
627
651
  ]),
628
652
  key: "0"
629
653
  } : void 0,
630
654
  t.$slots.optionTooltip ? {
631
655
  name: "optionTooltip",
632
656
  fn: v(() => [
633
- h(t.$slots, "optionTooltip", {}, void 0, !0)
657
+ d(t.$slots, "optionTooltip", {}, void 0, !0)
634
658
  ]),
635
659
  key: "1"
636
660
  } : void 0,
637
661
  t.$slots.optionPdf ? {
638
662
  name: "optionPdf",
639
663
  fn: v(() => [
640
- h(t.$slots, "optionPdf", {}, void 0, !0)
664
+ d(t.$slots, "optionPdf", {}, void 0, !0)
641
665
  ]),
642
666
  key: "2"
643
667
  } : void 0,
644
668
  t.$slots.optionCsv ? {
645
669
  name: "optionCsv",
646
670
  fn: v(() => [
647
- h(t.$slots, "optionCsv", {}, void 0, !0)
671
+ d(t.$slots, "optionCsv", {}, void 0, !0)
648
672
  ]),
649
673
  key: "3"
650
674
  } : void 0,
651
675
  t.$slots.optionImg ? {
652
676
  name: "optionImg",
653
677
  fn: v(() => [
654
- h(t.$slots, "optionImg", {}, void 0, !0)
678
+ d(t.$slots, "optionImg", {}, void 0, !0)
655
679
  ]),
656
680
  key: "4"
657
681
  } : void 0,
658
682
  t.$slots.optionSvg ? {
659
683
  name: "optionSvg",
660
684
  fn: v(() => [
661
- h(t.$slots, "optionSvg", {}, void 0, !0)
685
+ d(t.$slots, "optionSvg", {}, void 0, !0)
662
686
  ]),
663
687
  key: "5"
664
688
  } : void 0,
665
689
  t.$slots.optionTable ? {
666
690
  name: "optionTable",
667
691
  fn: v(() => [
668
- h(t.$slots, "optionTable", {}, void 0, !0)
692
+ d(t.$slots, "optionTable", {}, void 0, !0)
669
693
  ]),
670
694
  key: "6"
671
695
  } : void 0,
672
696
  t.$slots.optionLabels ? {
673
697
  name: "optionLabels",
674
698
  fn: v(() => [
675
- h(t.$slots, "optionLabels", {}, void 0, !0)
699
+ d(t.$slots, "optionLabels", {}, void 0, !0)
676
700
  ]),
677
701
  key: "7"
678
702
  } : void 0,
679
703
  t.$slots.optionFullscreen ? {
680
704
  name: "optionFullscreen",
681
705
  fn: v(({ toggleFullscreen: l, isFullscreen: o }) => [
682
- h(t.$slots, "optionFullscreen", m(g({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
706
+ d(t.$slots, "optionFullscreen", m(C({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
683
707
  ]),
684
708
  key: "8"
685
709
  } : void 0,
686
710
  t.$slots.optionAnnotator ? {
687
711
  name: "optionAnnotator",
688
712
  fn: v(({ toggleAnnotator: l, isAnnotator: o }) => [
689
- h(t.$slots, "optionAnnotator", m(g({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
713
+ d(t.$slots, "optionAnnotator", m(C({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
690
714
  ]),
691
715
  key: "9"
692
716
  } : void 0
@@ -694,12 +718,12 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
694
718
  (r(), u("svg", {
695
719
  ref_key: "svgRef",
696
720
  ref: ie,
697
- xmlns: c(Ut),
698
- class: E({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
699
- viewBox: `0 0 ${M.value} ${$.value}`,
721
+ xmlns: c(Zt),
722
+ class: R({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
723
+ viewBox: `0 0 ${B.value} ${_.value}`,
700
724
  style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
701
725
  }, [
702
- me(c(ht)),
726
+ ge(c(mt)),
703
727
  t.$slots["chart-background"] ? (r(), u("foreignObject", {
704
728
  key: 0,
705
729
  x: s.value.left,
@@ -710,11 +734,11 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
710
734
  pointerEvents: "none"
711
735
  }
712
736
  }, [
713
- h(t.$slots, "chart-background", {}, void 0, !0)
714
- ], 8, fl)) : f("", !0),
715
- e.value.style.chart.grid.show ? (r(), u("g", bl, [
716
- e.value.style.chart.grid.horizontalGrid.show ? (r(), u("g", yl, [
717
- (r(!0), u(k, null, T(Ie.value, (l) => (r(), u("line", {
737
+ d(t.$slots, "chart-background", {}, void 0, !0)
738
+ ], 8, wl)) : f("", !0),
739
+ e.value.style.chart.grid.show ? (r(), u("g", Ll, [
740
+ e.value.style.chart.grid.horizontalGrid.show ? (r(), u("g", _l, [
741
+ (r(!0), u(x, null, T(Me.value, (l) => (r(), u("line", {
718
742
  x1: l.x1,
719
743
  x2: l.x2,
720
744
  y1: l.y,
@@ -723,10 +747,10 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
723
747
  "stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
724
748
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
725
749
  "stroke-linecap": "round"
726
- }, null, 8, ml))), 256))
750
+ }, null, 8, $l))), 256))
727
751
  ])) : f("", !0),
728
- e.value.style.chart.grid.verticalGrid.show ? (r(), u("g", gl, [
729
- (r(!0), u(k, null, T(C.value, (l, o) => (r(), u("line", {
752
+ e.value.style.chart.grid.verticalGrid.show ? (r(), u("g", Tl, [
753
+ (r(!0), u(x, null, T(A.value, (l, o) => (r(), u("line", {
730
754
  x1: s.value.left + (o + 1) * s.value.stripWidth,
731
755
  x2: s.value.left + (o + 1) * s.value.stripWidth,
732
756
  y1: s.value.top,
@@ -735,9 +759,9 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
735
759
  "stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
736
760
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
737
761
  "stroke-linecap": "round"
738
- }, null, 8, xl))), 256))
762
+ }, null, 8, Sl))), 256))
739
763
  ])) : f("", !0),
740
- x("line", {
764
+ k("line", {
741
765
  x1: s.value.left,
742
766
  x2: s.value.left,
743
767
  y1: s.value.top,
@@ -745,8 +769,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
745
769
  stroke: e.value.style.chart.grid.stroke,
746
770
  "stroke-width": e.value.style.chart.grid.strokeWidth,
747
771
  "stroke-linecap": "round"
748
- }, null, 8, kl),
749
- x("line", {
772
+ }, null, 8, Dl),
773
+ k("line", {
750
774
  x1: s.value.left,
751
775
  x2: s.value.right,
752
776
  y1: s.value.bottom,
@@ -754,14 +778,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
754
778
  stroke: e.value.style.chart.grid.stroke,
755
779
  "stroke-width": e.value.style.chart.grid.strokeWidth,
756
780
  "stroke-linecap": "round"
757
- }, null, 8, wl)
781
+ }, null, 8, Fl)
758
782
  ])) : f("", !0),
759
783
  e.value.style.chart.labels.yAxisLabels.show ? (r(), u("g", {
760
784
  key: 2,
761
785
  ref_key: "scaleLabels",
762
786
  ref: oe
763
787
  }, [
764
- (r(!0), u(k, null, T(Ie.value, (l, o) => (r(), u("text", {
788
+ (r(!0), u(x, null, T(Me.value, (l, o) => (r(), u("text", {
765
789
  x: l.x1 + e.value.style.chart.labels.yAxisLabels.offsetX - 5,
766
790
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
767
791
  fill: e.value.style.chart.labels.yAxisLabels.color,
@@ -770,21 +794,21 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
770
794
  }, S(c(ke)(
771
795
  e.value.style.chart.labels.formatter,
772
796
  l.value,
773
- c(Q)({
797
+ c(K)({
774
798
  p: e.value.style.chart.labels.prefix,
775
799
  v: l.value,
776
800
  s: e.value.style.chart.labels.suffix,
777
801
  r: e.value.style.chart.labels.yAxisLabels.rounding
778
802
  }),
779
803
  { datapoint: l, seriesIndex: o }
780
- )), 9, Cl))), 256))
804
+ )), 9, Ol))), 256))
781
805
  ], 512)) : f("", !0),
782
806
  e.value.style.chart.labels.xAxisLabels.show ? (r(), u("g", {
783
807
  key: 3,
784
808
  ref_key: "timeLabelsEls",
785
809
  ref: H
786
810
  }, [
787
- (r(!0), u(k, null, T(Ge.value, (l, o) => (r(), u("g", null, [
811
+ (r(!0), u(x, null, T(He.value, (l, o) => (r(), u("g", null, [
788
812
  String(l).includes(`
789
813
  `) ? (r(), u("text", {
790
814
  key: 1,
@@ -793,21 +817,21 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
793
817
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
794
818
  fill: e.value.style.chart.labels.xAxisLabels.color,
795
819
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
796
- innerHTML: c(Vt)({
797
- content: c(Xt)(String(l)),
820
+ innerHTML: c(el)({
821
+ content: c(tl)(String(l)),
798
822
  fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
799
823
  fill: e.value.style.chart.labels.xAxisLabels.color,
800
824
  x: 0,
801
825
  y: 0
802
826
  })
803
- }, null, 8, Ll)) : (r(), u("text", {
827
+ }, null, 8, zl)) : (r(), u("text", {
804
828
  key: 0,
805
829
  class: "vue-ui-strip-plot-category-name",
806
830
  transform: `translate(${s.value.left + (o + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
807
831
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
808
832
  fill: e.value.style.chart.labels.xAxisLabels.color,
809
833
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
810
- }, S(String(l)), 9, Al))
834
+ }, S(String(l)), 9, Pl))
811
835
  ]))), 256))
812
836
  ], 512)) : f("", !0),
813
837
  e.value.style.chart.labels.axis.yLabel ? (r(), u("text", {
@@ -818,7 +842,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
818
842
  "font-size": e.value.style.chart.labels.axis.fontSize,
819
843
  transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
820
844
  "text-anchor": "middle"
821
- }, S(e.value.style.chart.labels.axis.yLabel), 9, $l)) : f("", !0),
845
+ }, S(e.value.style.chart.labels.axis.yLabel), 9, Bl)) : f("", !0),
822
846
  e.value.style.chart.labels.axis.xLabel ? (r(), u("text", {
823
847
  key: 5,
824
848
  ref_key: "xAxisLabel",
@@ -826,106 +850,106 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
826
850
  fill: e.value.style.chart.labels.axis.color,
827
851
  "font-size": e.value.style.chart.labels.axis.fontSize,
828
852
  x: s.value.left + s.value.width / 2,
829
- y: $.value - e.value.style.chart.labels.axis.fontSize / 3,
853
+ y: _.value - e.value.style.chart.labels.axis.fontSize / 3,
830
854
  "text-anchor": "middle"
831
- }, S(e.value.style.chart.labels.axis.xLabel), 9, _l)) : f("", !0),
832
- y.value ? (r(), u(k, { key: 6 }, [
833
- x("line", {
855
+ }, S(e.value.style.chart.labels.axis.xLabel), 9, El)) : f("", !0),
856
+ y.value ? (r(), u(x, { key: 6 }, [
857
+ k("line", {
834
858
  x1: s.value.left,
835
859
  x2: s.value.right,
836
860
  y1: y.value.y,
837
861
  y2: y.value.y,
838
862
  stroke: y.value.color,
839
863
  "stroke-width": 1,
840
- class: E({ "select-circle": e.value.useCssAnimation })
841
- }, null, 10, Tl),
842
- x("circle", {
864
+ class: R({ "select-circle": e.value.useCssAnimation })
865
+ }, null, 10, Nl),
866
+ k("circle", {
843
867
  cx: s.value.left,
844
868
  cy: y.value.y,
845
869
  r: 3,
846
870
  fill: y.value.color,
847
- class: E({ "select-circle": e.value.useCssAnimation })
848
- }, null, 10, Sl),
849
- x("circle", {
871
+ class: R({ "select-circle": e.value.useCssAnimation })
872
+ }, null, 10, Ml),
873
+ k("circle", {
850
874
  cx: s.value.right,
851
875
  cy: y.value.y,
852
876
  r: 3,
853
877
  fill: y.value.color,
854
- class: E({ "select-circle": e.value.useCssAnimation })
855
- }, null, 10, Ol)
878
+ class: R({ "select-circle": e.value.useCssAnimation })
879
+ }, null, 10, Gl)
856
880
  ], 64)) : f("", !0),
857
- x("defs", null, [
858
- (r(!0), u(k, null, T(C.value, (l) => (r(), u("radialGradient", {
881
+ k("defs", null, [
882
+ (r(!0), u(x, null, T(A.value, (l) => (r(), u("radialGradient", {
859
883
  id: l.id,
860
884
  fy: "30%"
861
885
  }, [
862
- x("stop", {
886
+ k("stop", {
863
887
  offset: "10%",
864
- "stop-color": c(Yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
865
- }, null, 8, zl),
866
- x("stop", {
888
+ "stop-color": c(ll)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
889
+ }, null, 8, Rl),
890
+ k("stop", {
867
891
  offset: "90%",
868
- "stop-color": c(jt)(l.color, 0.1)
869
- }, null, 8, Dl),
870
- x("stop", {
892
+ "stop-color": c(al)(l.color, 0.1)
893
+ }, null, 8, Wl),
894
+ k("stop", {
871
895
  offset: "100%",
872
896
  "stop-color": l.color
873
- }, null, 8, Nl)
874
- ], 8, Pl))), 256))
897
+ }, null, 8, Hl)
898
+ ], 8, Il))), 256))
875
899
  ]),
876
- (r(!0), u(k, null, T(wt.value, (l, o) => (r(), u(k, null, [
877
- (r(!0), u(k, null, T(l.plots, (n, p) => (r(), z(il, qe({ ref_for: !0 }, t.$attrs, {
900
+ (r(!0), u(x, null, T(Ft.value, (l, o) => (r(), u(x, null, [
901
+ (r(!0), u(x, null, T(l.plots, (n, b) => (r(), O(ml, Je({ ref_for: !0 }, t.$attrs, {
878
902
  plot: { x: n.x, y: $e.value ? n.y : s.value.top },
879
- radius: y.value && y.value.id === n.id ? he.value * 1.5 : he.value,
903
+ radius: y.value && y.value.id === n.id ? de.value * 1.5 : de.value,
880
904
  shape: e.value.style.chart.plots.shape,
881
905
  stroke: e.value.style.chart.plots.stroke,
882
906
  strokeWidth: e.value.style.chart.plots.strokeWidth,
883
907
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
884
- style: `transition: all 0.2s ease-in-out; opacity:${y.value ? y.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${p * 50}ms` : ""}`,
885
- class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !c(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !R.value },
886
- onMouseenter: (F) => Lt({ datapoint: n, seriesIndex: p }),
887
- onMouseleave: (F) => Ct({ datapoint: n, seriesIndex: p }),
888
- onClick: (F) => At({ datapoint: n, seriesIndex: p })
908
+ style: `transition: all 0.2s ease-in-out; opacity:${y.value ? y.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${M.value ? `transition-delay:${b * 50}ms` : ""}`,
909
+ class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && M.value && !c(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !M.value },
910
+ onMouseenter: (E) => zt({ datapoint: n, seriesIndex: b }),
911
+ onMouseleave: (E) => Ot({ datapoint: n, seriesIndex: b }),
912
+ onClick: (E) => Pt({ datapoint: n, seriesIndex: b })
889
913
  }), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
890
- b.value.dataLabels.show ? (r(), u("g", Ml, [
891
- (r(!0), u(k, null, T(l.plots, (n, p) => (r(), u(k, null, [
892
- p === l.plots.length - 1 || y.value && y.value.id === n.id && !b.value.showTooltip ? (r(), u("text", {
914
+ p.value.dataLabels.show ? (r(), u("g", Ul, [
915
+ (r(!0), u(x, null, T(l.plots, (n, b) => (r(), u(x, null, [
916
+ b === l.plots.length - 1 || y.value && y.value.id === n.id && !p.value.showTooltip ? (r(), u("text", {
893
917
  key: 0,
894
918
  x: n.x,
895
- y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - he.value * (y.value && y.value.id === n.id && !b.value.showTooltip ? 2 : 1.5),
919
+ y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - de.value * (y.value && y.value.id === n.id && !p.value.showTooltip ? 2 : 1.5),
896
920
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
897
921
  fill: e.value.style.chart.labels.bestPlotLabel.color,
898
922
  "text-anchor": "middle",
899
- style: J(`opacity:${e.value.useCssAnimation && R.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
923
+ style: J(`opacity:${e.value.useCssAnimation && M.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
900
924
  }, S(n.name) + " " + S(e.value.style.chart.labels.bestPlotLabel.showValue ? c(ke)(
901
925
  e.value.style.chart.labels.formatter,
902
926
  n.value,
903
- c(Q)({
927
+ c(K)({
904
928
  p: `(${e.value.style.chart.labels.prefix}`,
905
929
  v: n.value,
906
930
  s: `${e.value.style.chart.labels.suffix})`,
907
931
  r: e.value.style.chart.labels.bestPlotLabel.rounding
908
932
  }),
909
- { datapoint: n, seriesIndex: p }
910
- ) : ""), 13, Fl)) : f("", !0)
933
+ { datapoint: n, seriesIndex: b }
934
+ ) : ""), 13, Vl)) : f("", !0)
911
935
  ], 64))), 256))
912
936
  ])) : f("", !0)
913
937
  ], 64))), 256)),
914
- h(t.$slots, "svg", { svg: s.value }, void 0, !0)
915
- ], 14, pl)),
916
- t.$slots.watermark ? (r(), u("div", Il, [
917
- h(t.$slots, "watermark", m(g({ isPrinting: c(ze) || c(De) })), void 0, !0)
938
+ d(t.$slots, "svg", { svg: s.value }, void 0, !0)
939
+ ], 14, Al)),
940
+ t.$slots.watermark ? (r(), u("div", jl, [
941
+ d(t.$slots, "watermark", m(C({ isPrinting: c(Pe) || c(ze) })), void 0, !0)
918
942
  ])) : f("", !0),
919
943
  t.$slots.source ? (r(), u("div", {
920
944
  key: 5,
921
945
  ref_key: "source",
922
- ref: Ae,
946
+ ref: Le,
923
947
  dir: "auto"
924
948
  }, [
925
- h(t.$slots, "source", {}, void 0, !0)
949
+ d(t.$slots, "source", {}, void 0, !0)
926
950
  ], 512)) : f("", !0),
927
- me(c(rt), {
928
- show: b.value.showTooltip && Z.value,
951
+ ge(c(ht), {
952
+ show: p.value.showTooltip && Z.value,
929
953
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
930
954
  color: e.value.style.chart.tooltip.color,
931
955
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -935,47 +959,47 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
935
959
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
936
960
  position: e.value.style.chart.tooltip.position,
937
961
  offsetY: e.value.style.chart.tooltip.offsetY,
938
- parent: A.value,
962
+ parent: w.value,
939
963
  content: ee.value,
940
- isFullscreen: P.value,
941
- isCustom: c(et)(e.value.style.chart.tooltip.customFormat),
964
+ isFullscreen: F.value,
965
+ isCustom: c(tt)(e.value.style.chart.tooltip.customFormat),
942
966
  smooth: e.value.style.chart.tooltip.smooth,
943
967
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
944
968
  smoothForce: e.value.style.chart.tooltip.smoothForce,
945
969
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
946
970
  }, {
947
971
  "tooltip-before": v(() => [
948
- h(t.$slots, "tooltip-before", m(g({ ...fe.value })), void 0, !0)
972
+ d(t.$slots, "tooltip-before", m(C({ ...fe.value })), void 0, !0)
949
973
  ]),
950
974
  "tooltip-after": v(() => [
951
- h(t.$slots, "tooltip-after", m(g({ ...fe.value })), void 0, !0)
975
+ d(t.$slots, "tooltip-after", m(C({ ...fe.value })), void 0, !0)
952
976
  ]),
953
977
  _: 3
954
978
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
955
- G.value && e.value.userOptions.buttons.table ? (r(), z(It(W.value.component), qe({ key: 6 }, W.value.props, {
979
+ W.value && e.value.userOptions.buttons.table ? (r(), O(jt(I.value.component), Je({ key: 6 }, I.value.props, {
956
980
  ref_key: "tableUnit",
957
- ref: I,
958
- onClose: He
959
- }), je({
981
+ ref: N,
982
+ onClose: Ue
983
+ }), qe({
960
984
  content: v(() => [
961
- (r(), z(c(it), {
962
- key: `table_${Te.value}`,
963
- colNames: Y.value.colNames,
964
- head: Y.value.head,
965
- body: Y.value.body,
966
- config: Y.value.config,
967
- title: e.value.table.useDialog ? "" : W.value.title,
985
+ (r(), O(c(pt), {
986
+ key: `table_${Se.value}`,
987
+ colNames: X.value.colNames,
988
+ head: X.value.head,
989
+ body: X.value.body,
990
+ config: X.value.config,
991
+ title: e.value.table.useDialog ? "" : I.value.title,
968
992
  withCloseButton: !e.value.table.useDialog,
969
- onClose: He
993
+ onClose: Ue
970
994
  }, {
971
995
  th: v(({ th: l }) => [
972
- x("div", {
996
+ k("div", {
973
997
  innerHTML: l,
974
998
  style: { display: "flex", "align-items": "center" }
975
- }, null, 8, Rl)
999
+ }, null, 8, Xl)
976
1000
  ]),
977
1001
  td: v(({ td: l }) => [
978
- Je(S(l.name || l), 1)
1002
+ Ke(S(l.name || l), 1)
979
1003
  ]),
980
1004
  _: 1
981
1005
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -985,31 +1009,36 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
985
1009
  e.value.table.useDialog ? {
986
1010
  name: "title",
987
1011
  fn: v(() => [
988
- Je(S(W.value.title), 1)
1012
+ Ke(S(I.value.title), 1)
989
1013
  ]),
990
1014
  key: "0"
991
1015
  } : void 0,
992
1016
  e.value.table.useDialog ? {
993
1017
  name: "actions",
994
1018
  fn: v(() => [
995
- x("button", {
1019
+ k("button", {
996
1020
  tabindex: "0",
997
1021
  class: "vue-ui-user-options-button",
998
- onClick: a[0] || (a[0] = (l) => be(e.value.userOptions.callbacks.csv))
1022
+ onClick: a[0] || (a[0] = (l) => pe(e.value.userOptions.callbacks.csv))
999
1023
  }, [
1000
- me(c(nt), {
1024
+ ge(c(bt), {
1001
1025
  name: "excel",
1002
- stroke: W.value.props.color
1026
+ stroke: I.value.props.color
1003
1027
  }, null, 8, ["stroke"])
1004
1028
  ])
1005
1029
  ]),
1006
1030
  key: "1"
1007
1031
  } : void 0
1008
1032
  ]), 1040)) : f("", !0),
1009
- c(se) ? (r(), z(ll, { key: 7 })) : f("", !0)
1010
- ], 46, dl));
1033
+ c(se) ? (r(), O(vl, { key: 7 })) : f("", !0)
1034
+ ], 46, xl));
1011
1035
  }
1012
- }, ta = /* @__PURE__ */ hl(Bl, [["__scopeId", "data-v-37f2c8c9"]]);
1036
+ }, ql = /* @__PURE__ */ kl(Yl, [["__scopeId", "data-v-19aa5bb8"]]), da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1037
+ __proto__: null,
1038
+ default: ql
1039
+ }, Symbol.toStringTag, { value: "Module" }));
1013
1040
  export {
1014
- ta as default
1041
+ va as a,
1042
+ da as b,
1043
+ ql as v
1015
1044
  };