vue-data-ui 3.2.8 → 3.3.1

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 (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-DLi6NnGD.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-CVGErydD.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-eZbszQrv.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-BoPM4Ejg.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-yAMEyP6y.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-By4rru90.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
  8. package/dist/{PackageVersion-C40g0Rfc.js → PackageVersion-BfykJm_B.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-Bo-lMUik.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-BceHSLHf.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-Znzt0gSE.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip--YwqrrgZ.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-Camz1Lce.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-VOcQEHa4.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-CSja1SGU.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-DxyZSvDx.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-J2dLIr8Y.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-CEjkWSLj.js} +462 -446
  84. package/dist/{pdf-YD0ShN36.js → pdf-anN8VbM7.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-Ce3PwN8T.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DJ1iH-F_.js} +2 -2
  90. package/dist/useSvgExport-DrjCWun4.js +750 -0
  91. package/dist/vue-data-ui-j8Dnx_Ui.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-Cf7zHemQ.js → vue-ui-3d-bar-Cml_eeEU.js} +358 -342
  94. package/dist/{vue-ui-accordion-CDIzGCG1.js → vue-ui-accordion-VTP418mC.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-T09D0LHr.js → vue-ui-age-pyramid-MULKSv5c.js} +228 -212
  96. package/dist/{vue-ui-annotator-3bUg-1Zy.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
  97. package/dist/{vue-ui-bullet-DKgdFa2v.js → vue-ui-bullet-BHO5zu9m.js} +197 -179
  98. package/dist/{vue-ui-candlestick-g6PO_L_7.js → vue-ui-candlestick-B7EjAlSi.js} +278 -262
  99. package/dist/{vue-ui-carousel-table-Ch2xooE8.js → vue-ui-carousel-table-DXnYj0Gc.js} +4 -4
  100. package/dist/{vue-ui-chestnut-B-nzp0b6.js → vue-ui-chestnut-B1Usqda-.js} +425 -379
  101. package/dist/{vue-ui-chord-BqS8DoTd.js → vue-ui-chord-DgXH82Hg.js} +317 -299
  102. package/dist/{vue-ui-circle-pack-B1axDP9l.js → vue-ui-circle-pack-BQfaZFFz.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
  104. package/dist/{vue-ui-dashboard-TXcw45j_.js → vue-ui-dashboard-C6xHAPp8.js} +67 -67
  105. package/dist/{vue-ui-digits-pW7YVqxy.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
  106. package/dist/{vue-ui-donut-evolution-BoVslTri.js → vue-ui-donut-evolution-D_CKlaay.js} +406 -384
  107. package/dist/{vue-ui-donut-BFpWEe2s.js → vue-ui-donut-swJu7UL2.js} +662 -645
  108. package/dist/{vue-ui-dumbbell-CRHvtmq9.js → vue-ui-dumbbell-siD31WFG.js} +295 -274
  109. package/dist/vue-ui-flow-BZCnqIs-.js +931 -0
  110. package/dist/{vue-ui-funnel-CKUlzitM.js → vue-ui-funnel-DmgcIRzW.js} +174 -158
  111. package/dist/{vue-ui-galaxy-DZqCAK9c.js → vue-ui-galaxy-C-zegxf9.js} +265 -252
  112. package/dist/{vue-ui-gauge-D3bPFF59.js → vue-ui-gauge-D6C8eUvP.js} +256 -240
  113. package/dist/{vue-ui-gizmo-oVLp367W.js → vue-ui-gizmo-iSYUVKlt.js} +3 -3
  114. package/dist/{vue-ui-heatmap-C1RctcPx.js → vue-ui-heatmap-RHDxexNf.js} +386 -365
  115. package/dist/{vue-ui-history-plot-CoQYOlF4.js → vue-ui-history-plot-4nwAd1qA.js} +307 -289
  116. package/dist/{vue-ui-kpi-BZX-tqIm.js → vue-ui-kpi-Dphnwumo.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-hMqB-KQI.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
  118. package/dist/{vue-ui-molecule-D0Kr_w-v.js → vue-ui-molecule-BhisFSGQ.js} +176 -160
  119. package/dist/vue-ui-mood-radar-B8yHPdrV.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-94Gu95Z9.js → vue-ui-nested-donuts-Bfp0oVSK.js} +541 -518
  121. package/dist/{vue-ui-onion-Dy_aTvGI.js → vue-ui-onion-f1B0W_oT.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-D_oo5lQW.js → vue-ui-parallel-coordinate-plot-DcY-0R-7.js} +252 -233
  123. package/dist/{vue-ui-quadrant-CRYpRl_q.js → vue-ui-quadrant-DuzopA33.js} +294 -276
  124. package/dist/{vue-ui-quick-chart-B1s047tz.js → vue-ui-quick-chart-45Tm1UnC.js} +723 -685
  125. package/dist/{vue-ui-radar-DA7EuchK.js → vue-ui-radar-DDS405TF.js} +307 -282
  126. package/dist/{vue-ui-rating-z2bsnprP.js → vue-ui-rating-eKlTJch9.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-DZ8IiUNu.js → vue-ui-relation-circle-BqXHJEvi.js} +146 -131
  128. package/dist/{vue-ui-ridgeline-5IWuJgs6.js → vue-ui-ridgeline-Lx7YOCRg.js} +320 -299
  129. package/dist/{vue-ui-rings-gY2f8mVf.js → vue-ui-rings-crjrV65X.js} +323 -310
  130. package/dist/{vue-ui-scatter-OLidvHlx.js → vue-ui-scatter-Bk4liS2c.js} +390 -372
  131. package/dist/{vue-ui-skeleton-BaysGsg0.js → vue-ui-skeleton-Pu9gPf97.js} +3 -3
  132. package/dist/{vue-ui-smiley-Dn2IR0oC.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-gp5B9uF7.js → vue-ui-spark-trend-BmaybxJn.js} +3 -3
  134. package/dist/{vue-ui-sparkbar-8t63RYc7.js → vue-ui-sparkbar-DvhcXniz.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-BWSykUpn.js → vue-ui-sparkgauge-D4Brfset.js} +3 -3
  136. package/dist/{vue-ui-sparkhistogram-BEjxKMG5.js → vue-ui-sparkhistogram-D5_lR__d.js} +4 -4
  137. package/dist/{vue-ui-sparkline-bFF-ZCCH.js → vue-ui-sparkline-DxNG5QQg.js} +3 -3
  138. package/dist/{vue-ui-sparkstackbar-HtAlEtzK.js → vue-ui-sparkstackbar-BTFzo3fq.js} +3 -3
  139. package/dist/{vue-ui-stackbar-CUIWPgfk.js → vue-ui-stackbar-B8glHsE6.js} +355 -337
  140. package/dist/{vue-ui-strip-plot-DwS52yGc.js → vue-ui-strip-plot-C5Bro8-W.js} +368 -352
  141. package/dist/{vue-ui-table-BYqPx7k4.js → vue-ui-table-Ddu9yx2S.js} +5 -5
  142. package/dist/{vue-ui-table-heatmap-CRfjUoa1.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-Bvf0ZBOi.js → vue-ui-table-sparkline-D3tgrV_k.js} +4 -4
  144. package/dist/{vue-ui-thermometer-BB7cHec0.js → vue-ui-thermometer-BxQIZoXd.js} +148 -133
  145. package/dist/{vue-ui-timer-BVDKvC4v.js → vue-ui-timer-BwFlr_19.js} +5 -5
  146. package/dist/vue-ui-tiremarks-KwISwJS6.js +423 -0
  147. package/dist/{vue-ui-treemap-nGgRTw0l.js → vue-ui-treemap-C6PLDL2Y.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-BJOm2JQh.js → vue-ui-vertical-bar-CTmRo06n.js} +295 -260
  149. package/dist/{vue-ui-waffle-aCMPaHbw.js → vue-ui-waffle-BwOLL9aa.js} +396 -377
  150. package/dist/{vue-ui-wheel-D_q23eOk.js → vue-ui-wheel-KI9mkz8y.js} +196 -180
  151. package/dist/{vue-ui-word-cloud-C7TMR4Zq.js → vue-ui-word-cloud-DTyjx6X4.js} +233 -217
  152. package/dist/{vue-ui-world-DtMYYQ6T.js → vue-ui-world-C3QXAlC7.js} +344 -326
  153. package/dist/{vue-ui-xy-Dputm9QT.js → vue-ui-xy-b-CN-G4J.js} +1601 -1707
  154. package/dist/{vue-ui-xy-canvas-BCeQoXNM.js → vue-ui-xy-canvas-CdkE1NHd.js} +10 -10
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-BcRg499t.js +0 -325
  157. package/dist/vue-ui-flow-CKGjSZoj.js +0 -909
  158. package/dist/vue-ui-mood-radar-C6UCofDb.js +0 -853
  159. package/dist/vue-ui-tiremarks-CBVuu_Zi.js +0 -407
@@ -1,21 +1,22 @@
1
- import { defineAsyncComponent as L, computed as p, ref as i, toRefs as Tt, watch as q, shallowRef as Ve, onMounted as $t, onBeforeUnmount as Xe, watchEffect as St, createElementBlock as n, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as z, createCommentVNode as c, createVNode as be, createSlots as Ye, withCtx as b, renderSlot as y, normalizeProps as F, guardReactiveProps as I, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, mergeProps as je, resolveDynamicComponent as Ot, createTextVNode as qe, nextTick as zt } from "vue";
2
- import { c as ye, t as Pt, b as Dt, p as P, o as Je, f as me, g as Ke, e as Nt, h as Qe, q as Ft, C as It, d as K, X as Mt, a as ge, L as Rt, ac as Wt, m as Bt, r as Et, z as Ze, D as Gt, x as Ht, y as Ut, A as Vt } from "./lib-BEpWEyMm.js";
3
- import { t as et, u as Xt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Yt, a as tt } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as jt, B as qt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Jt } from "./usePrinter-w23K-ezx.js";
7
- import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as Zt } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import el from "./img-DjWwQXVS.js";
11
- import { _ as tl } from "./Shape-C_C_OmqR.js";
12
- import ll from "./Title-DG2nloSB.js";
13
- import { t as al } from "./themes-Dw-dDudK.js";
14
- import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"], nl = { key: 1 }, il = { key: 0 }, vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], cl = { key: 1 }, hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fl = ["x", "y", "fill", "font-size"], bl = ["transform", "font-size", "fill", "text-anchor"], yl = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], ml = ["fill", "font-size", "transform"], gl = ["fill", "font-size", "x", "y"], xl = ["x1", "x2", "y1", "y2", "stroke"], kl = ["cx", "cy", "fill"], wl = ["cx", "cy", "fill"], Cl = ["id"], Al = ["stop-color"], Ll = ["stop-color"], _l = ["stop-color"], Tl = { key: 0 }, $l = ["x", "y", "font-size", "fill"], Sl = {
1
+ import { defineAsyncComponent as L, computed as c, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Ft, onBeforeUnmount as Ye, watchEffect as Mt, createElementBlock as u, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as O, createCommentVNode as d, createVNode as me, createSlots as je, withCtx as b, renderSlot as y, normalizeProps as F, guardReactiveProps as M, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, 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 z, o as Ke, f as xe, g as Qe, e as Et, h as Ze, q as Gt, C as Ht, d as K, X as Ut, a as ke, L as Vt, ac as Xt, m as Yt, r as jt, z as et, D as qt, x as Jt, y as Kt, A as Qt } from "./lib-CEjkWSLj.js";
3
+ import { t as tt, u as Zt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as el, a as lt } from "./useNestedProp-Ce3PwN8T.js";
5
+ import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as al } from "./usePrinter-DJ1iH-F_.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-J2dLIr8Y.js";
12
+ import { _ as il } from "./Shape-BceHSLHf.js";
13
+ import vl from "./Title-Camz1Lce.js";
14
+ import { t as cl } from "./themes-Dw-dDudK.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"], Tl = ["fill", "font-size", "x", "y"], $l = ["x1", "x2", "y1", "y2", "stroke"], Sl = ["cx", "cy", "fill"], Ol = ["cx", "cy", "fill"], zl = ["id"], Pl = ["stop-color"], Dl = ["stop-color"], Nl = ["stop-color"], Fl = { key: 0 }, Ml = ["x", "y", "font-size", "fill"], Il = {
16
17
  key: 4,
17
18
  class: "vue-data-ui-watermark"
18
- }, Ol = ["innerHTML"], zl = {
19
+ }, Rl = ["innerHTML"], Bl = {
19
20
  __name: "vue-ui-strip-plot",
20
21
  props: {
21
22
  config: {
@@ -32,18 +33,18 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
32
33
  }
33
34
  },
34
35
  emits: ["selectDatapoint"],
35
- setup(lt, { expose: at, emit: ot }) {
36
- const st = L(() => import("./Tooltip-BOXz8skU.js")), rt = L(() => import("./BaseIcon-Bz-1GQhu.js")), ut = L(() => import("./vue-ui-accordion-CDIzGCG1.js")), nt = L(() => import("./DataTable-BvjacRbw.js")), it = L(() => import("./UserOptions-DsTgvAok.js")), vt = L(() => import("./PenAndPaper-CR8q353D.js")), ct = L(() => import("./PackageVersion-C40g0Rfc.js")), ht = L(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_strip_plot: dt } = Yt(), x = lt, pt = ot, G = p({
36
+ setup(at, { expose: ot, emit: st }) {
37
+ const rt = L(() => import("./Tooltip-VOcQEHa4.js")), nt = L(() => import("./BaseIcon-eZbszQrv.js")), ut = L(() => import("./vue-ui-accordion-VTP418mC.js")), it = L(() => import("./DataTable-yAMEyP6y.js")), vt = L(() => import("./UserOptions-CSja1SGU.js")), ct = L(() => import("./PenAndPaper-Bo-lMUik.js")), ht = L(() => import("./PackageVersion-BfykJm_B.js")), dt = L(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_strip_plot: pt } = el(), x = at, ft = st, G = c({
37
38
  get() {
38
39
  return !!x.dataset && x.dataset.length;
39
40
  },
40
41
  set(t) {
41
42
  return t;
42
43
  }
43
- }), Q = i(ye()), xe = i(0), Z = i(!1), ee = i(""), w = i(null), ke = i(null), we = i(null), Ce = i(null), Ae = i(!1), Le = i(0), _e = i(0), M = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ne()), { loading: se, FINAL_DATASET: Te, manualLoading: re } = jt({
44
- ...Tt(x),
44
+ }), Q = i(ge()), we = i(0), Z = i(!1), ee = i(""), w = i(null), Ce = i(null), Ae = i(null), Le = i(null), _e = i(!1), Te = i(0), $e = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ve()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = tl({
45
+ ...Nt(x),
45
46
  FINAL_CONFIG: e,
46
- prepareConfig: ne,
47
+ prepareConfig: ve,
47
48
  skeletonDataset: [
48
49
  {
49
50
  name: "_",
@@ -91,7 +92,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
91
92
  ]
92
93
  }
93
94
  ],
94
- skeletonConfig: Pt({
95
+ skeletonConfig: Bt({
95
96
  defaultConfig: e.value,
96
97
  userConfig: {
97
98
  userOptions: { show: !1 },
@@ -130,98 +131,98 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
130
131
  }
131
132
  }
132
133
  })
133
- }), { userOptionsVisible: ue, setUserOptionsVisibility: $e, keepUserOptionState: Se } = Kt({ config: e.value }), { svgRef: Oe } = Qt({ config: e.value.style.chart.title });
134
- function ne() {
135
- const t = tt({
134
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: Se, keepUserOptionState: Oe } = sl({ config: e.value }), { svgRef: ie } = rl({ config: e.value.style.chart.title });
135
+ function ve() {
136
+ const t = lt({
136
137
  userConfig: x.config,
137
- defaultConfig: dt
138
+ defaultConfig: pt
138
139
  });
139
140
  return t.theme ? {
140
- ...tt({
141
- userConfig: al.vue_ui_strip_plot[t.theme] || x.config,
141
+ ...lt({
142
+ userConfig: cl.vue_ui_strip_plot[t.theme] || x.config,
142
143
  defaultConfig: t
143
144
  }),
144
- customPalette: Dt[t.theme] || P
145
+ customPalette: Wt[t.theme] || z
145
146
  } : t;
146
147
  }
147
148
  q(() => x.config, async (t) => {
148
- se.value || (e.value = ne()), ue.value = !e.value.userOptions.showOnChartHover, ze(), Le.value += 1, _e.value += 1, h.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show, $.value = e.value.style.chart.width, C.value = e.value.style.chart.height, W.value = e.value.style.chart.plots.radius;
149
+ se.value || (e.value = ve()), ue.value = !e.value.userOptions.showOnChartHover, ze(), Te.value += 1, $e.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, D.value = e.value.style.chart.width, A.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
149
150
  }, { deep: !0 }), q(() => x.dataset, (t) => {
150
- Array.isArray(t) && t.length > 0 && (re.value = !1);
151
+ Array.isArray(t) && t.length > 0 && (ne.value = !1);
151
152
  }, { deep: !0 });
152
- const A = Ve(null), D = Ve(null);
153
- $t(() => {
153
+ const C = Xe(null), P = Xe(null);
154
+ Ft(() => {
154
155
  ze();
155
156
  });
156
- const ie = p(() => !!e.value.debug);
157
+ const ce = c(() => !!e.value.debug);
157
158
  function ze() {
158
- if (Je(x.dataset) ? (me({
159
+ if (Ke(x.dataset) ? (xe({
159
160
  componentName: "VueUiStripPlot",
160
161
  type: "dataset",
161
- debug: ie.value
162
- }), re.value = !0) : x.dataset.forEach((t, a) => {
163
- Ke({
162
+ debug: ce.value
163
+ }), ne.value = !0) : x.dataset.forEach((t, a) => {
164
+ Qe({
164
165
  datasetObject: t,
165
166
  requiredAttributes: ["name", "plots"]
166
167
  }).forEach((l) => {
167
- G.value = !1, me({
168
+ G.value = !1, xe({
168
169
  componentName: "VueUiStripPlot",
169
170
  type: "datasetSerieAttribute",
170
171
  property: l,
171
172
  index: a,
172
- debug: ie.value
173
+ debug: ce.value
173
174
  });
174
- }), t.plots && t.plots.forEach((l, s) => {
175
- Ke({
175
+ }), t.plots && t.plots.forEach((l, o) => {
176
+ Qe({
176
177
  datasetObject: l,
177
178
  requiredAttributes: ["name", "value"]
178
- }).forEach((u) => {
179
- G.value = !1, me({
179
+ }).forEach((n) => {
180
+ G.value = !1, xe({
180
181
  componentName: "VueUiStripPlot",
181
182
  type: "datasetSerieAttribute",
182
- property: u,
183
- index: `${a},${s}`,
184
- debug: ie.value
183
+ property: n,
184
+ index: `${a},${o}`,
185
+ debug: ce.value
185
186
  });
186
187
  });
187
188
  });
188
- }), Je(x.dataset) || (re.value = e.value.loading), e.value.responsive) {
189
- const t = et(() => {
190
- const { width: a, height: l } = Xt({
189
+ }), Ke(x.dataset) || (ne.value = e.value.loading), e.value.responsive) {
190
+ const t = tt(() => {
191
+ const { width: a, height: l } = Zt({
191
192
  chart: w.value,
192
- title: e.value.style.chart.title.text ? ke.value : null,
193
- source: we.value,
194
- noTitle: Ce.value
193
+ title: e.value.style.chart.title.text ? Ce.value : null,
194
+ source: Ae.value,
195
+ noTitle: Le.value
195
196
  });
196
197
  requestAnimationFrame(() => {
197
- bt.value = l, $.value = Math.max(0.1, a), C.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? W.value = Gt({
198
+ yt.value = l, D.value = Math.max(0.1, a), A.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? B.value = qt({
198
199
  relator: Math.min(l, a),
199
200
  adjuster: 600,
200
201
  source: e.value.style.chart.plots.radius,
201
202
  threshold: 6,
202
203
  fallback: 6
203
- }) : W.value = e.value.style.chart.plots.radius;
204
+ }) : B.value = e.value.style.chart.plots.radius;
204
205
  });
205
206
  });
206
- A.value && (D.value && A.value.unobserve(D.value), A.value.disconnect()), A.value = new ResizeObserver(t), D.value = w.value.parentNode, A.value.observe(D.value);
207
+ C.value && (P.value && C.value.unobserve(P.value), C.value.disconnect()), C.value = new ResizeObserver(t), P.value = w.value.parentNode, C.value.observe(P.value);
207
208
  }
208
- Ae.value = !0, setTimeout(() => {
209
+ _e.value = !0, setTimeout(() => {
209
210
  R.value = !1;
210
- }, gt.value * 50);
211
+ }, kt.value * 50);
211
212
  }
212
- Xe(() => {
213
- A.value && (D.value && A.value.unobserve(D.value), A.value.disconnect());
213
+ Ye(() => {
214
+ C.value && (P.value && C.value.unobserve(P.value), C.value.disconnect());
214
215
  });
215
- const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Fe } = Jt({
216
+ const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Fe } = al({
216
217
  elementId: `strip-plot_${Q.value}`,
217
218
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
218
219
  options: e.value.userOptions.print
219
- }), ft = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ie = p(() => Nt(e.value.customPalette)), R = i(e.value.useCssAnimation), N = i({
220
+ }), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = c(() => Et(e.value.customPalette)), R = i(e.value.useCssAnimation), U = i({
220
221
  top: e.value.style.chart.padding.top,
221
222
  bottom: e.value.style.chart.padding.bottom,
222
223
  left: e.value.style.chart.padding.left,
223
224
  right: e.value.style.chart.padding.right
224
- }), $ = i(e.value.style.chart.width), C = i(e.value.style.chart.height), bt = i(e.value.style.chart.height), W = i(e.value.style.chart.plots.radius), h = i({
225
+ }), D = i(e.value.style.chart.width), A = i(e.value.style.chart.height), yt = i(e.value.style.chart.height), B = i(e.value.style.chart.plots.radius), p = i({
225
226
  showTable: e.value.table.show,
226
227
  dataLabels: {
227
228
  show: e.value.style.chart.labels.bestPlotLabel.show
@@ -229,119 +230,119 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
229
230
  showTooltip: e.value.style.chart.tooltip.show
230
231
  });
231
232
  q(e, () => {
232
- h.value = {
233
+ p.value = {
233
234
  showTable: e.value.table.show,
234
235
  dataLabels: {
235
236
  show: e.value.style.chart.labels.bestPlotLabel.show
236
237
  },
237
238
  showTooltip: e.value.style.chart.tooltip.show
238
- }, $.value = e.value.style.chart.width, C.value = e.value.style.chart.height, W.value = e.value.style.chart.plots.radius;
239
+ }, D.value = e.value.style.chart.width, A.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
239
240
  }, { immediate: !0 });
240
- const ve = p(() => Math.min(W.value, o.value.stripWidth / 2 * 0.9));
241
- function yt() {
241
+ const he = c(() => Math.min(B.value, s.value.stripWidth / 2 * 0.9));
242
+ function mt() {
242
243
  let t = 0;
243
- oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((s, u) => {
244
- const f = u.getComputedTextLength();
245
- return f > s ? f : s;
244
+ oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((o, n) => {
245
+ const h = n.getComputedTextLength();
246
+ return h > o ? h : o;
246
247
  }, 0));
247
248
  const a = ae.value ? ae.value.getBoundingClientRect().width : 0;
248
249
  return t + a + (a ? 24 : 0);
249
250
  }
250
- const ce = i(0), mt = et((t) => {
251
- ce.value = t;
251
+ const de = i(0), gt = tt((t) => {
252
+ de.value = t;
252
253
  }, 100);
253
- St((t) => {
254
+ Mt((t) => {
254
255
  const a = H.value;
255
256
  if (!a) return;
256
- const l = new ResizeObserver((s) => {
257
- mt(s[0].contentRect.height);
257
+ const l = new ResizeObserver((o) => {
258
+ gt(o[0].contentRect.height);
258
259
  });
259
260
  l.observe(a), t(() => l.disconnect());
260
- }), Xe(() => {
261
- ce.value = 0;
261
+ }), Ye(() => {
262
+ de.value = 0;
262
263
  });
263
- const Me = p(() => {
264
+ const xt = c(() => {
264
265
  let t = 0;
265
266
  le.value && (t = le.value.getBBox().height + e.value.style.chart.labels.axis.fontSize / 3 + 12 + e.value.style.chart.labels.axis.xLabelOffsetY);
266
267
  let a = 0;
267
- return H.value && (a = ce.value + 12), t + a;
268
- }), o = p(() => {
269
- const t = yt(), a = $.value - t - e.value.style.chart.padding.left - e.value.style.chart.padding.right - e.value.style.chart.labels.axis.yLabelOffsetX - 5;
268
+ return H.value && (a = de.value + 12), t + a;
269
+ }), s = c(() => {
270
+ const t = mt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = D.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, h = A.value - U.value.bottom - xt.value, N = Math.max(0, h - n), Ve = Array.isArray(re.value) ? re.value.length : 0, Dt = Ve > 0 ? o / Ve : 0;
270
271
  return {
271
- left: N.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5,
272
- right: $.value - N.value.right,
273
- top: N.value.top,
274
- bottom: C.value - N.value.bottom - Me.value,
275
- width: a,
276
- height: C.value - N.value.top - N.value.bottom - Me.value,
277
- stripWidth: a / Te.value.length,
278
- absoluteHeight: C.value
272
+ left: a,
273
+ right: l,
274
+ top: n,
275
+ bottom: h,
276
+ width: o,
277
+ height: N,
278
+ stripWidth: Dt,
279
+ absoluteHeight: A.value
279
280
  };
280
- }), U = p(() => Te.value.map((t, a) => {
281
- const l = ye();
281
+ }), V = c(() => re.value.map((t, a) => {
282
+ const l = ge();
282
283
  return {
283
284
  ...t,
284
285
  id: l,
285
- color: t.color ? Qe(t.color) : Ie.value[a] || P[a] || P[a % P.length],
286
- plots: t.plots.map((s, u) => ({
287
- ...s,
288
- value: Ft(s.value),
286
+ color: t.color ? Ze(t.color) : Me.value[a] || z[a] || z[a % z.length],
287
+ plots: t.plots.map((o, n) => ({
288
+ ...o,
289
+ value: Gt(o.value),
289
290
  parentId: l,
290
291
  parentName: t.name,
291
292
  parentIndex: a,
292
- plotIndex: u,
293
- color: t.color ? Qe(t.color) : Ie.value[a] || P[a] || P[a % P.length],
294
- id: ye()
295
- })).sort((s, u) => s.value - u.value)
293
+ plotIndex: n,
294
+ color: t.color ? Ze(t.color) : Me.value[a] || z[a] || z[a % z.length],
295
+ id: ge()
296
+ })).sort((o, n) => o.value - n.value)
296
297
  };
297
- })), k = p(() => (U.value || []).map((t, a) => ({
298
+ })), k = c(() => (V.value || []).map((t, a) => ({
298
299
  ...t,
299
300
  plots: t.plots.map((l) => ({
300
301
  ...l,
301
- x: o.value.left + (a + 1) * o.value.stripWidth - o.value.stripWidth / 2
302
+ x: s.value.left + (a + 1) * s.value.stripWidth - s.value.stripWidth / 2
302
303
  }))
303
- }))), gt = p(() => Math.max(...k.value.map((t) => t.plots.length))), he = p(() => {
304
+ }))), kt = c(() => Math.max(...k.value.map((t) => t.plots.length))), pe = c(() => {
304
305
  const t = k.value.flatMap((a) => a.plots.map((l) => l.value));
305
306
  return {
306
307
  max: Math.max(...t),
307
308
  min: Math.min(...t)
308
309
  };
309
- }), S = p(() => It(he.value.min < 0 ? he.value.min : 0, he.value.max, e.value.style.chart.grid.scaleSteps)), xt = p(() => (k.value || []).map((t, a) => ({
310
+ }), $ = c(() => Ht(pe.value.min < 0 ? pe.value.min : 0, pe.value.max, e.value.style.chart.grid.scaleSteps)), wt = c(() => (k.value || []).map((t, a) => ({
310
311
  ...t,
311
312
  plots: t.plots.map((l) => ({
312
313
  ...l,
313
- y: o.value.bottom - (l.value + Math.abs(S.value.min)) / (S.value.max + Math.abs(S.value.min)) * o.value.height
314
+ y: s.value.bottom - (l.value + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min)) * s.value.height
314
315
  }))
315
- }))), Re = p(() => S.value.ticks.map((t) => ({
316
- y: o.value.bottom - o.value.height * ((t + Math.abs(S.value.min)) / (S.value.max + Math.abs(S.value.min))),
317
- x1: o.value.left,
318
- x2: o.value.right,
316
+ }))), Ie = c(() => $.value.ticks.map((t) => ({
317
+ y: s.value.bottom - s.value.height * ((t + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min))),
318
+ x1: s.value.left,
319
+ x2: s.value.right,
319
320
  value: t
320
- }))), de = i(null), d = i(null);
321
- function kt({ datapoint: t, seriesIndex: a }) {
322
- Z.value = !1, d.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
321
+ }))), fe = i(null), f = i(null);
322
+ function Ct({ datapoint: t, seriesIndex: a }) {
323
+ Z.value = !1, f.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
323
324
  }
324
- function wt({ datapoint: t, seriesIndex: a }) {
325
- pt("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
325
+ function At({ datapoint: t, seriesIndex: a }) {
326
+ ft("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
326
327
  }
327
- function Ct({ datapoint: t, seriesIndex: a }) {
328
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), de.value = { datapoint: t, seriesIndex: a, config: e.value, series: U.value }, Z.value = !0, d.value = t;
328
+ function Lt({ datapoint: t, seriesIndex: a }) {
329
+ 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, f.value = t;
329
330
  const l = e.value.style.chart.tooltip.customFormat;
330
- if (Ze(l) && Vt(() => l({
331
+ if (et(l) && Qt(() => l({
331
332
  seriesIndex: a,
332
333
  datapoint: t,
333
- series: U.value,
334
+ series: V.value,
334
335
  config: e.value
335
336
  })))
336
337
  ee.value = l({
337
338
  seriesIndex: a,
338
339
  datapoint: t,
339
- series: U.value,
340
+ series: V.value,
340
341
  config: e.value
341
342
  });
342
343
  else {
343
- let s = "";
344
- s += `<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>`, s += `<div>${ge(
344
+ let o = "";
345
+ 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(
345
346
  e.value.style.chart.labels.formatter,
346
347
  t.value,
347
348
  K({
@@ -351,41 +352,41 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
351
352
  r: e.value.style.chart.tooltip.roundingValue
352
353
  }),
353
354
  { datapoint: t, seriesIndex: a }
354
- )}</div>`, ee.value = `<div>${s}</div>`;
355
+ )}</div>`, ee.value = `<div>${o}</div>`;
355
356
  }
356
357
  }
357
- const V = p(() => {
358
- const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((s, u) => u.value - s.value).map((s) => ({
359
- name: `${l.name} - ${s.name}`,
360
- color: s.color
361
- }))), a = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((s, u) => u.value - s.value).map((s) => s.value));
358
+ const X = c(() => {
359
+ const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
360
+ name: `${l.name} - ${o.name}`,
361
+ color: o.color
362
+ }))), a = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
362
363
  return { head: t, body: a };
363
364
  });
364
- function pe(t = null) {
365
- zt(() => {
366
- const a = V.value.head.map((u, f) => [[
367
- u.name
368
- ], [V.value.body[f]]]), 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), s = Ht(l);
369
- t ? t(s) : Ut({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
365
+ function be(t = null) {
366
+ Rt(() => {
367
+ const a = X.value.head.map((n, h) => [[
368
+ n.name
369
+ ], [X.value.body[h]]]), 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) : Kt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
370
371
  });
371
372
  }
372
- const X = p(() => {
373
+ const Y = c(() => {
373
374
  const t = [
374
375
  e.value.table.columnNames.series,
375
376
  e.value.table.columnNames.value
376
- ], a = V.value.head.map((u, f) => {
377
- const j = K({
377
+ ], a = X.value.head.map((n, h) => {
378
+ const N = K({
378
379
  p: e.value.style.chart.labels.prefix,
379
- v: V.value.body[f],
380
+ v: X.value.body[h],
380
381
  s: e.value.style.chart.labels.suffix,
381
382
  r: e.value.table.td.roundingValue
382
383
  });
383
384
  return [
384
385
  {
385
- color: u.color,
386
- name: u.name
386
+ color: n.color,
387
+ name: n.name
387
388
  },
388
- j
389
+ N
389
390
  ];
390
391
  }), l = {
391
392
  th: {
@@ -409,63 +410,63 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
409
410
  body: a,
410
411
  config: l
411
412
  };
412
- }), O = i(!1);
413
- function We(t) {
414
- O.value = t, xe.value += 1;
413
+ }), S = i(!1);
414
+ function Re(t) {
415
+ S.value = t, we.value += 1;
415
416
  }
416
- function At() {
417
+ function _t() {
417
418
  return k.value;
418
419
  }
419
420
  function Be() {
420
- h.value.showTable = !h.value.showTable;
421
+ p.value.showTable = !p.value.showTable;
421
422
  }
422
- function Ee() {
423
- h.value.dataLabels.show = !h.value.dataLabels.show;
423
+ function We() {
424
+ p.value.dataLabels.show = !p.value.dataLabels.show;
424
425
  }
425
- function Ge() {
426
- h.value.showTooltip = !h.value.showTooltip;
426
+ function Ee() {
427
+ p.value.showTooltip = !p.value.showTooltip;
427
428
  }
428
- const Y = i(!1);
429
- function fe() {
430
- Y.value = !Y.value;
429
+ const j = i(!1);
430
+ function ye() {
431
+ j.value = !j.value;
431
432
  }
432
- async function Lt({ scale: t = 2 } = {}) {
433
+ async function Tt({ scale: t = 2 } = {}) {
433
434
  if (!w.value) return;
434
- const { width: a, height: l } = w.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: f } = await el({ domElement: w.value, base64: !0, img: !0, scale: t });
435
+ const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: h } = await ul({ domElement: w.value, base64: !0, img: !0, scale: t });
435
436
  return {
436
- imageUri: u,
437
- base64: f,
437
+ imageUri: n,
438
+ base64: h,
438
439
  title: e.value.style.chart.title.text,
439
440
  width: a,
440
441
  height: l,
441
- aspectRatio: s
442
+ aspectRatio: o
442
443
  };
443
444
  }
444
- const He = p(() => k.value.map((t) => t.name)), _t = i({ start: 0, end: k.value.length });
445
- Zt({
445
+ const Ge = c(() => k.value.map((t) => t.name)), $t = i({ start: 0, end: k.value.length });
446
+ nl({
446
447
  timeLabelsEls: H,
447
- timeLabels: He,
448
- slicer: _t,
448
+ timeLabels: Ge,
449
+ slicer: $t,
449
450
  configRef: e,
450
451
  rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
451
452
  autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
452
453
  isAutoSize: !1,
453
- width: $,
454
- height: C,
454
+ width: D,
455
+ height: A,
455
456
  targetClass: ".vue-ui-strip-plot-category-name",
456
457
  rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
457
458
  });
458
- const B = p(() => {
459
- const t = e.value.table.useDialog && !e.value.table.show, a = h.value.showTable;
459
+ const W = c(() => {
460
+ const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
460
461
  return {
461
- component: t ? ht : ut,
462
+ component: t ? dt : ut,
462
463
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
463
464
  props: t ? {
464
465
  backgroundColor: e.value.table.th.backgroundColor,
465
466
  color: e.value.table.th.color,
466
467
  headerColor: e.value.table.th.color,
467
468
  headerBg: e.value.table.th.backgroundColor,
468
- isFullscreen: O.value,
469
+ isFullscreen: S.value,
469
470
  fullscreenParent: w.value,
470
471
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
471
472
  } : {
@@ -485,55 +486,68 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
485
486
  }
486
487
  };
487
488
  });
488
- q(() => h.value.showTable, (t) => {
489
- e.value.table.show || (t && e.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
489
+ q(() => p.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());
490
491
  });
491
- function Ue() {
492
- h.value.showTable = !1, te.value && te.value.setTableIconState(!1);
492
+ function He() {
493
+ p.value.showTable = !1, te.value && te.value.setTableIconState(!1);
493
494
  }
494
- return at({
495
- getData: At,
496
- getImage: Lt,
495
+ const St = c(() => e.value.style.chart.backgroundColor), Ot = c(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Pt } = ol({
496
+ svg: ie,
497
+ title: Ot,
498
+ backgroundColor: St
499
+ });
500
+ async function Ue({ isCb: t }) {
501
+ if (t) {
502
+ const { blob: a, url: l, text: o, dataUrl: n } = await Pt();
503
+ e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: n });
504
+ } else
505
+ zt();
506
+ }
507
+ return ot({
508
+ getData: _t,
509
+ getImage: Tt,
497
510
  generatePdf: Ne,
498
- generateCsv: pe,
511
+ generateCsv: be,
499
512
  generateImage: Fe,
513
+ generateSvg: Ue,
500
514
  toggleTable: Be,
501
- toggleLabels: Ee,
502
- toggleTooltip: Ge,
503
- toggleAnnotator: fe,
504
- toggleFullscreen: We
505
- }), (t, a) => (r(), n("div", {
515
+ toggleLabels: We,
516
+ toggleTooltip: Ee,
517
+ toggleAnnotator: ye,
518
+ toggleFullscreen: Re
519
+ }), (t, a) => (r(), u("div", {
506
520
  ref_key: "stripPlotChart",
507
521
  ref: w,
508
- class: E(`vue-data-ui-component vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
522
+ class: E(`vue-data-ui-component vue-ui-strip-plot ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
509
523
  style: J(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
510
524
  id: `strip-plot_${Q.value}`,
511
- onMouseenter: a[1] || (a[1] = () => v($e)(!0)),
512
- onMouseleave: a[2] || (a[2] = () => v($e)(!1))
525
+ onMouseenter: a[1] || (a[1] = () => v(Se)(!0)),
526
+ onMouseleave: a[2] || (a[2] = () => v(Se)(!1))
513
527
  }, [
514
- e.value.userOptions.buttons.annotator ? (r(), z(v(vt), {
528
+ e.value.userOptions.buttons.annotator ? (r(), O(v(ct), {
515
529
  key: 0,
516
- svgRef: v(Oe),
530
+ svgRef: v(ie),
517
531
  backgroundColor: e.value.style.chart.backgroundColor,
518
532
  color: e.value.style.chart.color,
519
- active: Y.value,
520
- onClose: fe
521
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
522
- ft.value ? (r(), n("div", {
533
+ active: j.value,
534
+ onClose: ye
535
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
536
+ bt.value ? (r(), u("div", {
523
537
  key: 1,
524
538
  ref_key: "noTitle",
525
- ref: Ce,
539
+ ref: Le,
526
540
  class: "vue-data-ui-no-title-space",
527
541
  style: "height:36px; width: 100%;background:transparent"
528
- }, null, 512)) : c("", !0),
529
- e.value.style.chart.title.text ? (r(), n("div", {
542
+ }, null, 512)) : d("", !0),
543
+ e.value.style.chart.title.text ? (r(), u("div", {
530
544
  key: 2,
531
545
  ref_key: "chartTitle",
532
- ref: ke,
546
+ ref: Ce,
533
547
  style: "width:100%;background:transparent;padding-bottom:24px"
534
548
  }, [
535
- (r(), z(ll, {
536
- key: `title_${Le.value}`,
549
+ (r(), O(vl, {
550
+ key: `title_${Te.value}`,
537
551
  config: {
538
552
  title: {
539
553
  cy: "donut-div-title",
@@ -545,11 +559,11 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
545
559
  }
546
560
  }
547
561
  }, null, 8, ["config"]))
548
- ], 512)) : c("", !0),
549
- e.value.userOptions.show && G.value && (v(Se) || v(ue)) ? (r(), z(v(it), {
562
+ ], 512)) : d("", !0),
563
+ e.value.userOptions.show && G.value && (v(Oe) || v(ue)) ? (r(), O(v(vt), {
550
564
  ref_key: "userOptionsRef",
551
565
  ref: te,
552
- key: `user_option_${xe.value}`,
566
+ key: `user_option_${we.value}`,
553
567
  backgroundColor: e.value.style.chart.backgroundColor,
554
568
  color: e.value.style.chart.color,
555
569
  isPrinting: v(Pe),
@@ -559,35 +573,37 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
559
573
  hasPdf: e.value.userOptions.buttons.pdf,
560
574
  hasXls: e.value.userOptions.buttons.csv,
561
575
  hasImg: e.value.userOptions.buttons.img,
576
+ hasSvg: e.value.userOptions.buttons.svg,
562
577
  hasTable: e.value.userOptions.buttons.table,
563
578
  hasLabel: e.value.userOptions.buttons.labels,
564
579
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
565
- isTooltip: h.value.showTooltip,
566
- isFullscreen: O.value,
580
+ isTooltip: p.value.showTooltip,
581
+ isFullscreen: S.value,
567
582
  titles: { ...e.value.userOptions.buttonTitles },
568
583
  chartElement: w.value,
569
584
  position: e.value.userOptions.position,
570
585
  hasAnnotator: e.value.userOptions.buttons.annotator,
571
- isAnnotation: Y.value,
586
+ isAnnotation: j.value,
572
587
  callbacks: e.value.userOptions.callbacks,
573
588
  printScale: e.value.userOptions.print.scale,
574
589
  tableDialog: e.value.table.useDialog,
575
- onToggleFullscreen: We,
590
+ onToggleFullscreen: Re,
576
591
  onGeneratePdf: v(Ne),
577
- onGenerateCsv: pe,
592
+ onGenerateCsv: be,
578
593
  onGenerateImage: v(Fe),
594
+ onGenerateSvg: Ue,
579
595
  onToggleTable: Be,
580
- onToggleLabels: Ee,
581
- onToggleTooltip: Ge,
582
- onToggleAnnotator: fe,
596
+ onToggleLabels: We,
597
+ onToggleTooltip: Ee,
598
+ onToggleAnnotator: ye,
583
599
  style: J({
584
- visibility: v(Se) ? v(ue) ? "visible" : "hidden" : "visible"
600
+ visibility: v(Oe) ? v(ue) ? "visible" : "hidden" : "visible"
585
601
  })
586
- }, Ye({ _: 2 }, [
602
+ }, je({ _: 2 }, [
587
603
  t.$slots.menuIcon ? {
588
604
  name: "menuIcon",
589
- fn: b(({ isOpen: l, color: s }) => [
590
- y(t.$slots, "menuIcon", F(I({ isOpen: l, color: s })), void 0, !0)
605
+ fn: b(({ isOpen: l, color: o }) => [
606
+ y(t.$slots, "menuIcon", F(M({ isOpen: l, color: o })), void 0, !0)
591
607
  ]),
592
608
  key: "0"
593
609
  } : void 0,
@@ -635,43 +651,43 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
635
651
  } : void 0,
636
652
  t.$slots.optionFullscreen ? {
637
653
  name: "optionFullscreen",
638
- fn: b(({ toggleFullscreen: l, isFullscreen: s }) => [
639
- y(t.$slots, "optionFullscreen", F(I({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
654
+ fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
655
+ y(t.$slots, "optionFullscreen", F(M({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
640
656
  ]),
641
657
  key: "7"
642
658
  } : void 0,
643
659
  t.$slots.optionAnnotator ? {
644
660
  name: "optionAnnotator",
645
- fn: b(({ toggleAnnotator: l, isAnnotator: s }) => [
646
- y(t.$slots, "optionAnnotator", F(I({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
661
+ fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
662
+ y(t.$slots, "optionAnnotator", F(M({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
647
663
  ]),
648
664
  key: "8"
649
665
  } : void 0
650
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
651
- (r(), n("svg", {
666
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
667
+ (r(), u("svg", {
652
668
  ref_key: "svgRef",
653
- ref: Oe,
654
- xmlns: v(Mt),
655
- class: E({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
656
- viewBox: `0 0 ${$.value} ${C.value}`,
669
+ ref: ie,
670
+ xmlns: v(Ut),
671
+ class: E({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
672
+ viewBox: `0 0 ${D.value} ${A.value}`,
657
673
  style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
658
674
  }, [
659
- be(v(ct)),
660
- t.$slots["chart-background"] ? (r(), n("foreignObject", {
675
+ me(v(ht)),
676
+ t.$slots["chart-background"] ? (r(), u("foreignObject", {
661
677
  key: 0,
662
- x: o.value.left,
663
- y: o.value.top,
664
- width: Math.max(0.1, o.value.width),
665
- height: Math.max(0.1, o.value.height),
678
+ x: s.value.left,
679
+ y: s.value.top,
680
+ width: Math.max(0.1, s.value.width),
681
+ height: Math.max(0.1, s.value.height),
666
682
  style: {
667
683
  pointerEvents: "none"
668
684
  }
669
685
  }, [
670
686
  y(t.$slots, "chart-background", {}, void 0, !0)
671
- ], 8, ul)) : c("", !0),
672
- e.value.style.chart.grid.show ? (r(), n("g", nl, [
673
- e.value.style.chart.grid.horizontalGrid.show ? (r(), n("g", il, [
674
- (r(!0), n(g, null, _(Re.value, (l) => (r(), n("line", {
687
+ ], 8, fl)) : d("", !0),
688
+ e.value.style.chart.grid.show ? (r(), u("g", bl, [
689
+ e.value.style.chart.grid.horizontalGrid.show ? (r(), u("g", yl, [
690
+ (r(!0), u(g, null, _(Ie.value, (l) => (r(), u("line", {
675
691
  x1: l.x1,
676
692
  x2: l.x2,
677
693
  y1: l.y,
@@ -680,51 +696,51 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
680
696
  "stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
681
697
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
682
698
  "stroke-linecap": "round"
683
- }, null, 8, vl))), 256))
684
- ])) : c("", !0),
685
- e.value.style.chart.grid.verticalGrid.show ? (r(), n("g", cl, [
686
- (r(!0), n(g, null, _(k.value, (l, s) => (r(), n("line", {
687
- x1: o.value.left + (s + 1) * o.value.stripWidth,
688
- x2: o.value.left + (s + 1) * o.value.stripWidth,
689
- y1: o.value.top,
690
- y2: o.value.bottom,
699
+ }, null, 8, ml))), 256))
700
+ ])) : d("", !0),
701
+ e.value.style.chart.grid.verticalGrid.show ? (r(), u("g", gl, [
702
+ (r(!0), u(g, null, _(k.value, (l, o) => (r(), u("line", {
703
+ x1: s.value.left + (o + 1) * s.value.stripWidth,
704
+ x2: s.value.left + (o + 1) * s.value.stripWidth,
705
+ y1: s.value.top,
706
+ y2: s.value.bottom,
691
707
  stroke: e.value.style.chart.grid.verticalGrid.stroke,
692
708
  "stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
693
709
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
694
710
  "stroke-linecap": "round"
695
- }, null, 8, hl))), 256))
696
- ])) : c("", !0),
711
+ }, null, 8, xl))), 256))
712
+ ])) : d("", !0),
697
713
  m("line", {
698
- x1: o.value.left,
699
- x2: o.value.left,
700
- y1: o.value.top,
701
- y2: o.value.bottom,
714
+ x1: s.value.left,
715
+ x2: s.value.left,
716
+ y1: s.value.top,
717
+ y2: s.value.bottom,
702
718
  stroke: e.value.style.chart.grid.stroke,
703
719
  "stroke-width": e.value.style.chart.grid.strokeWidth,
704
720
  "stroke-linecap": "round"
705
- }, null, 8, dl),
721
+ }, null, 8, kl),
706
722
  m("line", {
707
- x1: o.value.left,
708
- x2: o.value.right,
709
- y1: o.value.bottom,
710
- y2: o.value.bottom,
723
+ x1: s.value.left,
724
+ x2: s.value.right,
725
+ y1: s.value.bottom,
726
+ y2: s.value.bottom,
711
727
  stroke: e.value.style.chart.grid.stroke,
712
728
  "stroke-width": e.value.style.chart.grid.strokeWidth,
713
729
  "stroke-linecap": "round"
714
- }, null, 8, pl)
715
- ])) : c("", !0),
716
- e.value.style.chart.labels.yAxisLabels.show ? (r(), n("g", {
730
+ }, null, 8, wl)
731
+ ])) : d("", !0),
732
+ e.value.style.chart.labels.yAxisLabels.show ? (r(), u("g", {
717
733
  key: 2,
718
734
  ref_key: "scaleLabels",
719
735
  ref: oe
720
736
  }, [
721
- (r(!0), n(g, null, _(Re.value, (l, s) => (r(), n("text", {
737
+ (r(!0), u(g, null, _(Ie.value, (l, o) => (r(), u("text", {
722
738
  x: l.x1 + e.value.style.chart.labels.yAxisLabels.offsetX - 5,
723
739
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
724
740
  fill: e.value.style.chart.labels.yAxisLabels.color,
725
741
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
726
742
  "text-anchor": "end"
727
- }, T(v(ge)(
743
+ }, T(v(ke)(
728
744
  e.value.style.chart.labels.formatter,
729
745
  l.value,
730
746
  v(K)({
@@ -733,156 +749,156 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
733
749
  s: e.value.style.chart.labels.suffix,
734
750
  r: e.value.style.chart.labels.yAxisLabels.rounding
735
751
  }),
736
- { datapoint: l, seriesIndex: s }
737
- )), 9, fl))), 256))
738
- ], 512)) : c("", !0),
739
- e.value.style.chart.labels.xAxisLabels.show ? (r(), n("g", {
752
+ { datapoint: l, seriesIndex: o }
753
+ )), 9, Cl))), 256))
754
+ ], 512)) : d("", !0),
755
+ e.value.style.chart.labels.xAxisLabels.show ? (r(), u("g", {
740
756
  key: 3,
741
757
  ref_key: "timeLabelsEls",
742
758
  ref: H
743
759
  }, [
744
- (r(!0), n(g, null, _(He.value, (l, s) => (r(), n("g", null, [
760
+ (r(!0), u(g, null, _(Ge.value, (l, o) => (r(), u("g", null, [
745
761
  String(l).includes(`
746
- `) ? (r(), n("text", {
762
+ `) ? (r(), u("text", {
747
763
  key: 1,
748
764
  class: "vue-ui-strip-plot-category-name",
749
- transform: `translate(${o.value.left + (s + 1) * o.value.stripWidth - o.value.stripWidth / 2}, ${o.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})`,
765
+ 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})`,
750
766
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
751
767
  fill: e.value.style.chart.labels.xAxisLabels.color,
752
768
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
753
- innerHTML: v(Rt)({
754
- content: v(Wt)(String(l)),
769
+ innerHTML: v(Vt)({
770
+ content: v(Xt)(String(l)),
755
771
  fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
756
772
  fill: e.value.style.chart.labels.xAxisLabels.color,
757
773
  x: 0,
758
774
  y: 0
759
775
  })
760
- }, null, 8, yl)) : (r(), n("text", {
776
+ }, null, 8, Ll)) : (r(), u("text", {
761
777
  key: 0,
762
778
  class: "vue-ui-strip-plot-category-name",
763
- transform: `translate(${o.value.left + (s + 1) * o.value.stripWidth - o.value.stripWidth / 2}, ${o.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})`,
779
+ 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})`,
764
780
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
765
781
  fill: e.value.style.chart.labels.xAxisLabels.color,
766
782
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
767
- }, T(String(l)), 9, bl))
783
+ }, T(String(l)), 9, Al))
768
784
  ]))), 256))
769
- ], 512)) : c("", !0),
770
- e.value.style.chart.labels.axis.yLabel ? (r(), n("text", {
785
+ ], 512)) : d("", !0),
786
+ e.value.style.chart.labels.axis.yLabel ? (r(), u("text", {
771
787
  key: 4,
772
788
  ref_key: "yAxisLabel",
773
789
  ref: ae,
774
790
  fill: e.value.style.chart.labels.axis.color,
775
791
  "font-size": e.value.style.chart.labels.axis.fontSize,
776
- transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${o.value.top + o.value.height / 2}) rotate(-90)`,
792
+ transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
777
793
  "text-anchor": "middle"
778
- }, T(e.value.style.chart.labels.axis.yLabel), 9, ml)) : c("", !0),
779
- e.value.style.chart.labels.axis.xLabel ? (r(), n("text", {
794
+ }, T(e.value.style.chart.labels.axis.yLabel), 9, _l)) : d("", !0),
795
+ e.value.style.chart.labels.axis.xLabel ? (r(), u("text", {
780
796
  key: 5,
781
797
  ref_key: "xAxisLabel",
782
798
  ref: le,
783
799
  fill: e.value.style.chart.labels.axis.color,
784
800
  "font-size": e.value.style.chart.labels.axis.fontSize,
785
- x: o.value.left + o.value.width / 2,
786
- y: C.value - e.value.style.chart.labels.axis.fontSize / 3,
801
+ x: s.value.left + s.value.width / 2,
802
+ y: A.value - e.value.style.chart.labels.axis.fontSize / 3,
787
803
  "text-anchor": "middle"
788
- }, T(e.value.style.chart.labels.axis.xLabel), 9, gl)) : c("", !0),
789
- d.value ? (r(), n(g, { key: 6 }, [
804
+ }, T(e.value.style.chart.labels.axis.xLabel), 9, Tl)) : d("", !0),
805
+ f.value ? (r(), u(g, { key: 6 }, [
790
806
  m("line", {
791
- x1: o.value.left,
792
- x2: o.value.right,
793
- y1: d.value.y,
794
- y2: d.value.y,
795
- stroke: d.value.color,
807
+ x1: s.value.left,
808
+ x2: s.value.right,
809
+ y1: f.value.y,
810
+ y2: f.value.y,
811
+ stroke: f.value.color,
796
812
  "stroke-width": 1,
797
813
  class: E({ "select-circle": e.value.useCssAnimation })
798
- }, null, 10, xl),
814
+ }, null, 10, $l),
799
815
  m("circle", {
800
- cx: o.value.left,
801
- cy: d.value.y,
816
+ cx: s.value.left,
817
+ cy: f.value.y,
802
818
  r: 3,
803
- fill: d.value.color,
819
+ fill: f.value.color,
804
820
  class: E({ "select-circle": e.value.useCssAnimation })
805
- }, null, 10, kl),
821
+ }, null, 10, Sl),
806
822
  m("circle", {
807
- cx: o.value.right,
808
- cy: d.value.y,
823
+ cx: s.value.right,
824
+ cy: f.value.y,
809
825
  r: 3,
810
- fill: d.value.color,
826
+ fill: f.value.color,
811
827
  class: E({ "select-circle": e.value.useCssAnimation })
812
- }, null, 10, wl)
813
- ], 64)) : c("", !0),
828
+ }, null, 10, Ol)
829
+ ], 64)) : d("", !0),
814
830
  m("defs", null, [
815
- (r(!0), n(g, null, _(k.value, (l) => (r(), n("radialGradient", {
831
+ (r(!0), u(g, null, _(k.value, (l) => (r(), u("radialGradient", {
816
832
  id: l.id,
817
833
  fy: "30%"
818
834
  }, [
819
835
  m("stop", {
820
836
  offset: "10%",
821
- "stop-color": v(Bt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
822
- }, null, 8, Al),
837
+ "stop-color": v(Yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
838
+ }, null, 8, Pl),
823
839
  m("stop", {
824
840
  offset: "90%",
825
- "stop-color": v(Et)(l.color, 0.1)
826
- }, null, 8, Ll),
841
+ "stop-color": v(jt)(l.color, 0.1)
842
+ }, null, 8, Dl),
827
843
  m("stop", {
828
844
  offset: "100%",
829
845
  "stop-color": l.color
830
- }, null, 8, _l)
831
- ], 8, Cl))), 256))
846
+ }, null, 8, Nl)
847
+ ], 8, zl))), 256))
832
848
  ]),
833
- (r(!0), n(g, null, _(xt.value, (l, s) => (r(), n(g, null, [
834
- (r(!0), n(g, null, _(l.plots, (u, f) => (r(), z(tl, je({ ref_for: !0 }, t.$attrs, {
835
- plot: { x: u.x, y: Ae.value ? u.y : o.value.top },
836
- radius: d.value && d.value.id === u.id ? ve.value * 1.5 : ve.value,
849
+ (r(!0), u(g, null, _(wt.value, (l, o) => (r(), u(g, null, [
850
+ (r(!0), u(g, null, _(l.plots, (n, h) => (r(), O(il, qe({ ref_for: !0 }, t.$attrs, {
851
+ plot: { x: n.x, y: _e.value ? n.y : s.value.top },
852
+ radius: f.value && f.value.id === n.id ? he.value * 1.5 : he.value,
837
853
  shape: e.value.style.chart.plots.shape,
838
854
  stroke: e.value.style.chart.plots.stroke,
839
855
  strokeWidth: e.value.style.chart.plots.strokeWidth,
840
856
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
841
- style: `transition: all 0.2s ease-in-out; opacity:${d.value ? d.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${f * 50}ms` : ""}`,
857
+ style: `transition: all 0.2s ease-in-out; opacity:${f.value ? f.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${h * 50}ms` : ""}`,
842
858
  class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !v(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !R.value },
843
- onMouseenter: (j) => Ct({ datapoint: u, seriesIndex: f }),
844
- onMouseleave: (j) => kt({ datapoint: u, seriesIndex: f }),
845
- onClick: (j) => wt({ datapoint: u, seriesIndex: f })
859
+ onMouseenter: (N) => Lt({ datapoint: n, seriesIndex: h }),
860
+ onMouseleave: (N) => Ct({ datapoint: n, seriesIndex: h }),
861
+ onClick: (N) => At({ datapoint: n, seriesIndex: h })
846
862
  }), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
847
- h.value.dataLabels.show ? (r(), n("g", Tl, [
848
- (r(!0), n(g, null, _(l.plots, (u, f) => (r(), n(g, null, [
849
- f === l.plots.length - 1 || d.value && d.value.id === u.id && !h.value.showTooltip ? (r(), n("text", {
863
+ p.value.dataLabels.show ? (r(), u("g", Fl, [
864
+ (r(!0), u(g, null, _(l.plots, (n, h) => (r(), u(g, null, [
865
+ h === l.plots.length - 1 || f.value && f.value.id === n.id && !p.value.showTooltip ? (r(), u("text", {
850
866
  key: 0,
851
- x: u.x,
852
- y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY - ve.value * (d.value && d.value.id === u.id && !h.value.showTooltip ? 2 : 1.5),
867
+ x: n.x,
868
+ y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - he.value * (f.value && f.value.id === n.id && !p.value.showTooltip ? 2 : 1.5),
853
869
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
854
870
  fill: e.value.style.chart.labels.bestPlotLabel.color,
855
871
  "text-anchor": "middle",
856
872
  style: J(`opacity:${e.value.useCssAnimation && R.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
857
- }, T(u.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? v(ge)(
873
+ }, T(n.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? v(ke)(
858
874
  e.value.style.chart.labels.formatter,
859
- u.value,
875
+ n.value,
860
876
  v(K)({
861
877
  p: `(${e.value.style.chart.labels.prefix}`,
862
- v: u.value,
878
+ v: n.value,
863
879
  s: `${e.value.style.chart.labels.suffix})`,
864
880
  r: e.value.style.chart.labels.bestPlotLabel.rounding
865
881
  }),
866
- { datapoint: u, seriesIndex: f }
867
- ) : ""), 13, $l)) : c("", !0)
882
+ { datapoint: n, seriesIndex: h }
883
+ ) : ""), 13, Ml)) : d("", !0)
868
884
  ], 64))), 256))
869
- ])) : c("", !0)
885
+ ])) : d("", !0)
870
886
  ], 64))), 256)),
871
- y(t.$slots, "svg", { svg: o.value }, void 0, !0)
872
- ], 14, rl)),
873
- t.$slots.watermark ? (r(), n("div", Sl, [
874
- y(t.$slots, "watermark", F(I({ isPrinting: v(Pe) || v(De) })), void 0, !0)
875
- ])) : c("", !0),
876
- t.$slots.source ? (r(), n("div", {
887
+ y(t.$slots, "svg", { svg: s.value }, void 0, !0)
888
+ ], 14, pl)),
889
+ t.$slots.watermark ? (r(), u("div", Il, [
890
+ y(t.$slots, "watermark", F(M({ isPrinting: v(Pe) || v(De) })), void 0, !0)
891
+ ])) : d("", !0),
892
+ t.$slots.source ? (r(), u("div", {
877
893
  key: 5,
878
894
  ref_key: "source",
879
- ref: we,
895
+ ref: Ae,
880
896
  dir: "auto"
881
897
  }, [
882
898
  y(t.$slots, "source", {}, void 0, !0)
883
- ], 512)) : c("", !0),
884
- be(v(st), {
885
- show: h.value.showTooltip && Z.value,
899
+ ], 512)) : d("", !0),
900
+ me(v(rt), {
901
+ show: p.value.showTooltip && Z.value,
886
902
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
887
903
  color: e.value.style.chart.tooltip.color,
888
904
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -894,45 +910,45 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
894
910
  offsetY: e.value.style.chart.tooltip.offsetY,
895
911
  parent: w.value,
896
912
  content: ee.value,
897
- isFullscreen: O.value,
898
- isCustom: v(Ze)(e.value.style.chart.tooltip.customFormat),
913
+ isFullscreen: S.value,
914
+ isCustom: v(et)(e.value.style.chart.tooltip.customFormat),
899
915
  smooth: e.value.style.chart.tooltip.smooth,
900
916
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
901
917
  smoothForce: e.value.style.chart.tooltip.smoothForce,
902
918
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
903
919
  }, {
904
920
  "tooltip-before": b(() => [
905
- y(t.$slots, "tooltip-before", F(I({ ...de.value })), void 0, !0)
921
+ y(t.$slots, "tooltip-before", F(M({ ...fe.value })), void 0, !0)
906
922
  ]),
907
923
  "tooltip-after": b(() => [
908
- y(t.$slots, "tooltip-after", F(I({ ...de.value })), void 0, !0)
924
+ y(t.$slots, "tooltip-after", F(M({ ...fe.value })), void 0, !0)
909
925
  ]),
910
926
  _: 3
911
927
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
912
- G.value && e.value.userOptions.buttons.table ? (r(), z(Ot(B.value.component), je({ key: 6 }, B.value.props, {
928
+ G.value && e.value.userOptions.buttons.table ? (r(), O(It(W.value.component), qe({ key: 6 }, W.value.props, {
913
929
  ref_key: "tableUnit",
914
- ref: M,
915
- onClose: Ue
916
- }), Ye({
930
+ ref: I,
931
+ onClose: He
932
+ }), je({
917
933
  content: b(() => [
918
- (r(), z(v(nt), {
919
- key: `table_${_e.value}`,
920
- colNames: X.value.colNames,
921
- head: X.value.head,
922
- body: X.value.body,
923
- config: X.value.config,
924
- title: e.value.table.useDialog ? "" : B.value.title,
934
+ (r(), O(v(it), {
935
+ key: `table_${$e.value}`,
936
+ colNames: Y.value.colNames,
937
+ head: Y.value.head,
938
+ body: Y.value.body,
939
+ config: Y.value.config,
940
+ title: e.value.table.useDialog ? "" : W.value.title,
925
941
  withCloseButton: !e.value.table.useDialog,
926
- onClose: Ue
942
+ onClose: He
927
943
  }, {
928
944
  th: b(({ th: l }) => [
929
945
  m("div", {
930
946
  innerHTML: l,
931
947
  style: { display: "flex", "align-items": "center" }
932
- }, null, 8, Ol)
948
+ }, null, 8, Rl)
933
949
  ]),
934
950
  td: b(({ td: l }) => [
935
- qe(T(l.name || l), 1)
951
+ Je(T(l.name || l), 1)
936
952
  ]),
937
953
  _: 1
938
954
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -942,7 +958,7 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
942
958
  e.value.table.useDialog ? {
943
959
  name: "title",
944
960
  fn: b(() => [
945
- qe(T(B.value.title), 1)
961
+ Je(T(W.value.title), 1)
946
962
  ]),
947
963
  key: "0"
948
964
  } : void 0,
@@ -952,21 +968,21 @@ const sl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"]
952
968
  m("button", {
953
969
  tabindex: "0",
954
970
  class: "vue-ui-user-options-button",
955
- onClick: a[0] || (a[0] = (l) => pe(e.value.userOptions.callbacks.csv))
971
+ onClick: a[0] || (a[0] = (l) => be(e.value.userOptions.callbacks.csv))
956
972
  }, [
957
- be(v(rt), {
973
+ me(v(nt), {
958
974
  name: "excel",
959
- stroke: B.value.props.color
975
+ stroke: W.value.props.color
960
976
  }, null, 8, ["stroke"])
961
977
  ])
962
978
  ]),
963
979
  key: "1"
964
980
  } : void 0
965
- ]), 1040)) : c("", !0),
966
- v(se) ? (r(), z(qt, { key: 7 })) : c("", !0)
967
- ], 46, sl));
981
+ ]), 1040)) : d("", !0),
982
+ v(se) ? (r(), O(ll, { key: 7 })) : d("", !0)
983
+ ], 46, dl));
968
984
  }
969
- }, Xl = /* @__PURE__ */ ol(zl, [["__scopeId", "data-v-09560ff5"]]);
985
+ }, ta = /* @__PURE__ */ hl(Bl, [["__scopeId", "data-v-20847046"]]);
970
986
  export {
971
- Xl as default
987
+ ta as default
972
988
  };