vue-data-ui 3.0.0-next.0 → 3.0.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/README.md +108 -67
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
  15. package/dist/Tooltip-NwATo4ZJ.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
  18. package/dist/img-ku4zevVD.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
  20. package/dist/pdf-CguiIsUc.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1051 -217
  23. package/dist/types/vue-data-ui.d.ts +1051 -217
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
  27. package/dist/vue-data-ui-DQef_oFO.js +314 -0
  28. package/dist/vue-data-ui.js +13 -13
  29. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
  30. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
  32. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
  33. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
  34. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
  35. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
  36. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
  37. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
  38. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
  39. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
  40. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
  41. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
  43. package/dist/vue-ui-donut-tECBFvud.js +1532 -0
  44. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
  45. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
  46. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
  47. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
  48. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
  49. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
  51. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
  52. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
  54. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
  55. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
  56. package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
  57. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
  58. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
  59. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
  60. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
  61. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
  62. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
  64. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
  65. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
  66. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
  67. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
  68. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
  73. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
  76. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
  77. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
  79. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
  80. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
  81. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
  82. package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
  83. package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
  84. package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
  85. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
  86. package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
  87. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
  88. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
  89. package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
  90. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
  91. package/package.json +2 -2
  92. package/dist/Tooltip-hVZUY_s5.js +0 -149
  93. package/dist/img-BeMVTwmF.js +0 -20
  94. package/dist/pdf-DPxOdzfi.js +0 -51
  95. package/dist/useMouse-AicQS8Vf.js +0 -13
  96. package/dist/vue-data-ui-nceqWRts.js +0 -301
  97. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  98. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  99. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  100. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  101. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  102. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -1,29 +1,30 @@
1
- import { defineAsyncComponent as B, computed as g, ref as y, watch as Ie, shallowRef as Ee, onMounted as yt, onBeforeUnmount as bt, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as O, createCommentVNode as h, createElementVNode as c, createVNode as ce, createSlots as ft, withCtx as m, renderSlot as x, normalizeProps as E, guardReactiveProps as U, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as pt, nextTick as gt } from "vue";
2
- import { u as mt, c as Ue, t as xt, p as he, a as $t, o as kt, e as D, b as Lt, d as wt, Y as qt, i as R, f as V, X as _t, s as oe, w as St, Z as Ct, I as zt, F as Tt, q as Xt, r as Wt, x as Yt, y as At } from "./index-DMqAxz7R.js";
3
- import { t as Mt, u as Nt } from "./useResponsive-DfdjqQps.js";
4
- import { u as De } from "./useNestedProp-YgN3FV_8.js";
5
- import { u as Ot } from "./usePrinter-COkTjv6C.js";
6
- import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
8
- import Pt from "./Title-D29apS4l.js";
9
- import Bt from "./Legend-Q4bOb-Nf.js";
10
- import { _ as Ge } from "./Shape-DbsLJ-SE.js";
11
- import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "height"], Ut = ["id"], Dt = ["stop-color"], Gt = ["stop-color"], Qt = { key: 1 }, Jt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Kt = { key: 2 }, el = ["points", "fill"], tl = ["points", "fill"], ll = ["points", "fill"], al = ["points", "fill"], ul = { key: 3 }, ol = ["y", "fill", "font-size"], sl = ["x", "y", "fill", "font-size"], rl = ["x", "y", "fill", "font-size"], nl = ["y", "fill", "font-size"], il = { key: 4 }, vl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "font-size", "fill"], cl = ["x", "y", "font-size", "fill"], hl = ["id", "font-size", "transform", "fill"], yl = ["id", "font-size", "transform", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = { key: 5 }, pl = ["fill", "points"], gl = ["x", "y", "width", "height"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = {
1
+ import { defineAsyncComponent as F, computed as g, ref as y, watch as Ee, shallowRef as Ue, onMounted as bt, onBeforeUnmount as ft, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as R, createCommentVNode as h, createElementVNode as d, createVNode as de, createSlots as pt, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as D, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as gt, nextTick as mt } from "vue";
2
+ import { u as xt, c as De, t as $t, p as he, a as kt, o as Lt, e as G, b as wt, d as qt, Y as _t, i as V, f as B, X as St, s as oe, w as Ct, Z as zt, I as Tt, F as Xt, q as Wt, r as Yt, x as At, y as Mt } from "./index-BzfnuLnw.js";
3
+ import { t as Nt, u as Ot } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ge } from "./useNestedProp-DorElw91.js";
5
+ import { u as Rt } from "./usePrinter-C9qkgv0r.js";
6
+ import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Bt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Pt from "./Title-pVYRzQXY.js";
9
+ import Ft from "./Legend-CYbP3Kfg.js";
10
+ import { _ as Qe } from "./Shape-DBXkGxKt.js";
11
+ import Ht from "./img-ku4zevVD.js";
12
+ import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "height"], Gt = ["id"], Qt = ["stop-color"], Jt = ["stop-color"], jt = { key: 1 }, Zt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Kt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], el = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], tl = { key: 2 }, ll = ["points", "fill"], al = ["points", "fill"], ul = ["points", "fill"], ol = ["points", "fill"], sl = { key: 3 }, rl = ["y", "fill", "font-size"], nl = ["x", "y", "fill", "font-size"], il = ["x", "y", "fill", "font-size"], vl = ["y", "fill", "font-size"], cl = { key: 4 }, dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = ["id", "font-size", "transform", "fill"], pl = ["id", "font-size", "transform", "fill"], gl = { key: 5 }, ml = ["fill", "points"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = ["x", "y", "width", "height"], Ll = ["x", "y", "width", "height"], wl = {
13
14
  key: 0,
14
15
  style: { "pointer-events": "none" }
15
- }, Ll = ["x", "y", "font-size", "fill"], wl = ["x", "y", "font-size", "fill", "innerHTML"], ql = { key: 0 }, _l = ["x", "y", "onMouseover", "onClick"], Sl = {
16
+ }, ql = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill", "innerHTML"], Sl = { key: 0 }, Cl = ["x", "y", "onMouseover", "onClick"], zl = {
16
17
  key: 8,
17
18
  class: "vue-ui-dna"
18
- }, Cl = ["points", "fill"], zl = ["points", "fill"], Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = { key: 9 }, Yl = ["x", "y", "font-size", "fill", "font-weight"], Al = { key: 10 }, Ml = ["x", "y", "fill"], Nl = ["x", "y", "fill"], Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"], Vl = ["stroke", "d"], Pl = ["stroke", "d"], Bl = {
19
+ }, Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = ["points", "fill"], Yl = ["points", "fill"], Al = { key: 9 }, Ml = ["x", "y", "font-size", "fill", "font-weight"], Nl = { key: 10 }, Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"], Vl = ["x", "y", "fill"], Bl = ["x", "y", "fill"], Pl = ["stroke", "d"], Fl = ["stroke", "d"], Hl = {
19
20
  key: 5,
20
21
  class: "vue-data-ui-watermark"
21
- }, Fl = ["onClick"], Hl = {
22
+ }, Il = ["onClick"], El = {
22
23
  key: 0,
23
24
  height: "14",
24
25
  width: "14",
25
26
  viewBox: "0 0 20 20"
26
- }, Il = ["innerHTML"], El = {
27
+ }, Ul = ["innerHTML"], Dl = {
27
28
  __name: "vue-ui-quadrant",
28
29
  props: {
29
30
  config: {
@@ -40,45 +41,45 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
40
41
  }
41
42
  },
42
43
  emits: ["selectPlot", "selectSide", "selectLegend"],
43
- setup(Qe, { expose: Je, emit: je }) {
44
- const Ze = B(() => import("./DataTable-BBbOgI-a.js")), Ke = B(() => import("./PenAndPaper-DhBJsnob.js")), et = B(() => import("./vue-ui-accordion-P6eFHGQp.js")), tt = B(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), lt = B(() => import("./Tooltip-hVZUY_s5.js")), at = B(() => import("./UserOptions-Bdit7AWO.js")), ut = B(() => import("./PackageVersion-D0VPY8-5.js")), { vue_ui_quadrant: ot } = mt(), X = Qe, K = g(() => !!X.dataset && X.dataset.length), z = y(Ue()), se = je, st = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), G = y(null), be = y(null), fe = y(null), pe = y(null), ge = y(null), me = y(0), xe = y(0), $e = y(0), t = g({
44
+ setup(Je, { expose: je, emit: Ze }) {
45
+ const Ke = F(() => import("./DataTable-CgL0Rz0x.js")), et = F(() => import("./PenAndPaper-Cx1-5zdD.js")), tt = F(() => import("./vue-ui-accordion-DgZK-qDz.js")), lt = F(() => import("./vue-ui-skeleton-Ch_XkFuP.js")), at = F(() => import("./Tooltip-NwATo4ZJ.js")), ut = F(() => import("./UserOptions-DAsRxxrf.js")), ot = F(() => import("./PackageVersion-CAkNkiIG.js")), { vue_ui_quadrant: st } = xt(), X = Je, K = g(() => !!X.dataset && X.dataset.length), z = y(De()), se = Ze, rt = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), A = y(null), be = y(null), fe = y(null), pe = y(null), ge = y(null), me = y(0), xe = y(0), $e = y(0), t = g({
45
46
  get: () => qe(),
46
47
  set: (l) => l
47
- }), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Rt({ config: t.value }), { svgRef: we } = Vt({ config: t.value.style.chart.title });
48
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Vt({ config: t.value }), { svgRef: we } = Bt({ config: t.value.style.chart.title });
48
49
  function qe() {
49
- const l = De({
50
+ const l = Ge({
50
51
  userConfig: X.config,
51
- defaultConfig: ot
52
+ defaultConfig: st
52
53
  });
53
54
  return l.theme ? {
54
- ...De({
55
- userConfig: $t.vue_ui_quadrant[l.theme] || X.config,
55
+ ...Ge({
56
+ userConfig: kt.vue_ui_quadrant[l.theme] || X.config,
56
57
  defaultConfig: l
57
58
  }),
58
- customPalette: xt[l.theme] || he
59
+ customPalette: $t[l.theme] || he
59
60
  } : l;
60
61
  }
61
- Ie(() => X.config, (l) => {
62
+ Ee(() => X.config, (l) => {
62
63
  t.value = qe(), ne.value = !t.value.userOptions.showOnChartHover, _e(), me.value += 1, xe.value += 1, $e.value += 1, $.value.plotLabels.show = t.value.style.chart.layout.labels.plotLabels.show, $.value.showTable = t.value.table.show, $.value.showTooltip = t.value.style.chart.tooltip.show;
63
64
  }, { deep: !0 });
64
- const A = Ee(null), F = Ee(null);
65
+ const M = Ue(null), H = Ue(null);
65
66
  function _e() {
66
- if (kt(X.dataset) ? D({
67
+ if (Lt(X.dataset) ? G({
67
68
  componentName: "VueUiQuadrant",
68
69
  type: "dataset"
69
70
  }) : X.dataset.forEach((l, u) => {
70
- [null, void 0].includes(l.name) && D({
71
+ [null, void 0].includes(l.name) && G({
71
72
  componentName: "VueUiQuadrant",
72
73
  type: "datasetSerieAttribute",
73
74
  property: "name",
74
75
  index: u
75
- }), [null, void 0].includes(l.series) ? D({
76
+ }), [null, void 0].includes(l.series) ? G({
76
77
  componentName: "VueUiQuadrant",
77
78
  type: "datasetSerieAttribute",
78
79
  property: "series",
79
80
  index: u
80
81
  }) : l.series.forEach((a, o) => {
81
- [null, void 0].includes(a.name) && D({
82
+ [null, void 0].includes(a.name) && G({
82
83
  componentName: "VueUiQuadrant",
83
84
  type: "datasetSerieAttribute",
84
85
  property: "name",
@@ -87,9 +88,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
87
88
  });
88
89
  });
89
90
  }), t.value.responsive) {
90
- const l = Mt(() => {
91
- const { width: u, height: a } = Nt({
92
- chart: G.value,
91
+ const l = Nt(() => {
92
+ const { width: u, height: a } = Ot({
93
+ chart: A.value,
93
94
  title: t.value.style.chart.title.text ? be.value : null,
94
95
  legend: t.value.style.chart.legend.show ? fe.value : null,
95
96
  source: pe.value,
@@ -99,19 +100,19 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
99
100
  e.value.height = a, e.value.usableHeight = a - k.value * 2, e.value.width = u, e.value.usableWidth = u - k.value * 2, e.value.top = k.value, e.value.left = k.value, e.value.right = u - k.value, e.value.bottom = a - k.value, e.value.centerX = u / 2, e.value.centerY = a - a / 2, e.value.padding = k.value;
100
101
  });
101
102
  });
102
- A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect()), A.value = new ResizeObserver(l), F.value = G.value.parentNode, A.value.observe(F.value);
103
+ M.value && (H.value && M.value.unobserve(H.value), M.value.disconnect()), M.value = new ResizeObserver(l), H.value = A.value.parentNode, M.value.observe(H.value);
103
104
  }
104
105
  }
105
- yt(() => {
106
+ bt(() => {
106
107
  _e();
107
- }), bt(() => {
108
- A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect());
108
+ }), ft(() => {
109
+ M.value && (H.value && M.value.unobserve(H.value), M.value.disconnect());
109
110
  });
110
- const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Ot({
111
+ const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Rt({
111
112
  elementId: `vue-ui-quadrant_${z.value}`,
112
113
  fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
113
114
  options: t.value.userOptions.print
114
- }), rt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => Lt(t.value.customPalette)), $ = y({
115
+ }), nt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => wt(t.value.customPalette)), $ = y({
115
116
  plotLabels: {
116
117
  show: t.value.style.chart.layout.labels.plotLabels.show
117
118
  },
@@ -134,15 +135,15 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
134
135
  startX: 0,
135
136
  startY: 0
136
137
  });
137
- Ie(() => e.value, (l) => {
138
+ Ee(() => e.value, (l) => {
138
139
  l && (v.value = {
139
140
  ...JSON.parse(JSON.stringify(e.value)),
140
141
  startX: 0,
141
142
  startY: 0
142
143
  });
143
144
  }, { deep: !0 });
144
- const d = y(null), P = g(() => {
145
- switch (d.value) {
145
+ const c = y(null), P = g(() => {
146
+ switch (c.value) {
146
147
  case "TL":
147
148
  return {
148
149
  x: v.value.startX + v.value.width / 2,
@@ -182,9 +183,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
182
183
  default:
183
184
  return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
184
185
  }
185
- }), nt = y(null), te = y(!1);
186
- function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side: n }) {
187
- d.value && Z(n);
186
+ }), it = y(null), te = y(!1);
187
+ function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
188
+ c.value && Z(r);
188
189
  const b = {
189
190
  x: l - v.value.startX,
190
191
  y: u - v.value.startY,
@@ -192,22 +193,22 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
192
193
  h: o - v.value.height
193
194
  }, p = t.value.zoomAnimationFrames;
194
195
  let W = 0;
195
- function He() {
196
- te.value = !0, v.value.startX += b.x / p, v.value.startY += b.y / p, v.value.width += b.w / p, v.value.height += b.h / p, W += 1, W < p ? nt.value = requestAnimationFrame(He) : te.value = !1;
196
+ function Ie() {
197
+ te.value = !0, v.value.startX += b.x / p, v.value.startY += b.y / p, v.value.width += b.w / p, v.value.height += b.h / p, W += 1, W < p ? it.value = requestAnimationFrame(Ie) : te.value = !1;
197
198
  }
198
- He();
199
+ Ie();
199
200
  }
200
- function M(l) {
201
+ function N(l) {
201
202
  if (!te.value)
202
- if (f.value && d.value === l)
203
+ if (f.value && c.value === l)
203
204
  Q({
204
205
  targetX: 0,
205
206
  targetY: 0,
206
207
  targetW: e.value.width,
207
208
  targetH: e.value.height
208
- }), d.value = null, f.value = !1;
209
+ }), c.value = null, f.value = !1;
209
210
  else {
210
- switch (d.value = l, l) {
211
+ switch (c.value = l, l) {
211
212
  case "TL":
212
213
  Q({
213
214
  targetX: 0,
@@ -251,20 +252,20 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
251
252
  f.value = !0;
252
253
  }
253
254
  }
254
- const it = g(() => {
255
+ const vt = g(() => {
255
256
  const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
256
- for (let n = 0; n < l; n += 1)
257
+ for (let r = 0; r < l; r += 1)
257
258
  o.push({
258
- x: e.value.padding + u * n,
259
- y: a + e.value.usableHeight * (n / l / 2),
260
- height: e.value.usableHeight * (1 - n / l),
261
- width: e.value.usableWidth * (1 - n / l),
262
- opacity: Math.round((n + 1) / l * 20)
259
+ x: e.value.padding + u * r,
260
+ y: a + e.value.usableHeight * (r / l / 2),
261
+ height: e.value.usableHeight * (1 - r / l),
262
+ width: e.value.usableWidth * (1 - r / l),
263
+ opacity: Math.round((r + 1) / l * 20)
263
264
  });
264
265
  return o;
265
266
  }), _ = g(() => {
266
267
  let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max, o = t.value.style.chart.layout.grid.yAxis.min;
267
- return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...H.value.flatMap((n) => n.series.map((b) => b.x))), u = Math.min(...H.value.flatMap((n) => n.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...H.value.flatMap((n) => n.series.map((b) => b.y))), o = Math.min(...H.value.flatMap((n) => n.series.map((b) => b.y)))), {
268
+ return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...I.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...I.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...I.value.flatMap((r) => r.series.map((b) => b.y))), o = Math.min(...I.value.flatMap((r) => r.series.map((b) => b.y)))), {
268
269
  x: {
269
270
  max: l,
270
271
  min: u
@@ -274,15 +275,15 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
274
275
  min: o
275
276
  }
276
277
  };
277
- }), N = y([]), H = g(() => X.dataset.map((l, u) => ({
278
+ }), O = y([]), I = g(() => X.dataset.map((l, u) => ({
278
279
  ...l,
279
- series: qt({
280
+ series: _t({
280
281
  data: l.series,
281
282
  threshold: t.value.downsample.threshold
282
283
  }),
283
284
  id: `cat_${u}_${z.value}`,
284
- color: wt(l.color) || Xe.value[u] || he[u]
285
- }))), vt = g(() => H.value.filter((l) => !N.value.includes(l.id))), dt = g(() => H.value.map((l, u) => ({
285
+ color: qt(l.color) || Xe.value[u] || he[u]
286
+ }))), ct = g(() => I.value.filter((l) => !O.value.includes(l.id))), dt = g(() => I.value.map((l, u) => ({
286
287
  ...l,
287
288
  shape: l.shape || "circle",
288
289
  series: l.series.map((a) => ({
@@ -298,13 +299,13 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
298
299
  }))
299
300
  }))), C = g(() => (X.dataset.forEach((l, u) => {
300
301
  l.series.forEach((a, o) => {
301
- [null, void 0].includes(a.x) && D({
302
+ [null, void 0].includes(a.x) && G({
302
303
  componentName: "VueUiQuadrant",
303
304
  type: "datasetSerieAttribute",
304
305
  property: "x",
305
306
  key: "series",
306
307
  index: o
307
- }), [null, void 0].includes(a.y) && D({
308
+ }), [null, void 0].includes(a.y) && G({
308
309
  componentName: "VueUiQuadrant",
309
310
  type: "datasetSerieAttribute",
310
311
  property: "y",
@@ -312,7 +313,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
312
313
  index: o
313
314
  });
314
315
  });
315
- }), vt.value.map((l, u) => ({
316
+ }), ct.value.map((l, u) => ({
316
317
  ...l,
317
318
  shape: l.shape || "circle",
318
319
  color: l.color || Xe.value[u] || he[u],
@@ -326,7 +327,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
326
327
  categoryName: l.name,
327
328
  shape: l.shape,
328
329
  color: l.color,
329
- uid: Ue()
330
+ uid: De()
330
331
  }))
331
332
  }))));
332
333
  function We(l) {
@@ -357,11 +358,11 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
357
358
  sideName: t.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
358
359
  color: p.color,
359
360
  shape: p.shape
360
- }))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y", o = [t.value.translations.category, t.value.translations.item, u, a, t.value.translations.side], n = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
361
+ }))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y", o = [t.value.translations.category, t.value.translations.item, u, a, t.value.translations.side], r = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
361
362
  shape: p.shape,
362
363
  color: p.color
363
364
  }));
364
- return { head: o, body: n, itsShapes: b, tableData: l };
365
+ return { head: o, body: r, itsShapes: b, tableData: l };
365
366
  }), ae = g(() => {
366
367
  const l = le.value.head, u = le.value.tableData.map((o) => [
367
368
  {
@@ -370,18 +371,18 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
370
371
  name: o.category
371
372
  },
372
373
  o.name,
373
- R(
374
+ V(
374
375
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
375
376
  o.x,
376
- V({
377
+ B({
377
378
  v: o.x,
378
379
  r: t.value.style.chart.layout.labels.plotLabels.rounding
379
380
  })
380
381
  ),
381
- R(
382
+ V(
382
383
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
383
384
  o.y,
384
- V({
385
+ B({
385
386
  v: o.y,
386
387
  r: t.value.style.chart.layout.labels.plotLabels.rounding
387
388
  })
@@ -403,7 +404,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
403
404
  return { head: l, body: u, config: a, colNames: l };
404
405
  });
405
406
  function ie(l) {
406
- N.value.includes(l) ? N.value = N.value.filter((a) => a !== l) : N.value.push(l);
407
+ O.value.includes(l) ? O.value = O.value.filter((a) => a !== l) : O.value.push(l);
407
408
  const u = Re();
408
409
  se("selectLegend", u);
409
410
  }
@@ -412,10 +413,10 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
412
413
  shape: l.shape,
413
414
  color: l.color,
414
415
  id: l.id,
415
- opacity: N.value.includes(l.id) ? 0.5 : 1,
416
+ opacity: O.value.includes(l.id) ? 0.5 : 1,
416
417
  segregate: () => ie(l.id),
417
- isSegregated: N.value.includes(l.id)
418
- }))), ct = g(() => ({
418
+ isSegregated: O.value.includes(l.id)
419
+ }))), ht = g(() => ({
419
420
  cy: "quadrant-div-legend",
420
421
  backgroundColor: t.value.style.chart.legend.backgroundColor,
421
422
  color: t.value.style.chart.legend.color,
@@ -449,7 +450,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
449
450
  config: t.value
450
451
  }, ee.value = !0;
451
452
  const o = t.value.style.chart.tooltip.customFormat;
452
- if (Yt(o) && At(() => o({
453
+ if (At(o) && Mt(() => o({
453
454
  seriesIndex: a,
454
455
  datapoint: u,
455
456
  series: C.value,
@@ -462,24 +463,24 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
462
463
  config: t.value
463
464
  });
464
465
  else {
465
- let n = "";
466
- u.quadrantSide && (n += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), n += `<div>${l.name}</div>`, n += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, n += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${R(
466
+ let r = "";
467
+ u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${V(
467
468
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
468
469
  u.xValue,
469
- V({
470
+ B({
470
471
  v: u.xValue,
471
472
  r: t.value.style.chart.tooltip.roundingValue
472
473
  }),
473
474
  { datapoint: u, category: l, categoryIndex: a }
474
- )}</b></div>`, n += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${R(
475
+ )}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${V(
475
476
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
476
477
  u.yValue,
477
- V({
478
+ B({
478
479
  v: u.yValue,
479
480
  r: t.value.style.chart.tooltip.roundingValue
480
481
  }),
481
482
  { datapoint: u, category: l, categoryIndex: a }
482
- )}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${n}</div>`;
483
+ )}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
483
484
  }
484
485
  }
485
486
  function Oe(l, u) {
@@ -496,11 +497,11 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
496
497
  }
497
498
  function Z(l) {
498
499
  if (!l) return;
499
- const u = C.value.flatMap((o) => o.series.filter((n) => n.quadrantSide === l).map((n) => ({
500
- category: n.categoryName,
501
- itemName: n.name,
502
- x: n.xValue,
503
- y: n.yValue
500
+ const u = C.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
501
+ category: r.categoryName,
502
+ itemName: r.name,
503
+ x: r.xValue,
504
+ y: r.yValue
504
505
  }))), a = {
505
506
  quadrantSide: l,
506
507
  sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
@@ -629,68 +630,82 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
629
630
  }));
630
631
  }
631
632
  function Ve(l = null) {
632
- gt(() => {
633
- const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, n = u.concat([a]).concat(o), b = Xt(n);
634
- l ? l(b) : Wt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
633
+ mt(() => {
634
+ const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, r = u.concat([a]).concat(o), b = Wt(r);
635
+ l ? l(b) : Yt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
635
636
  });
636
637
  }
637
- const I = y(!1);
638
- function ht(l) {
639
- I.value = l, ye.value += 1;
638
+ const E = y(!1);
639
+ function Be(l) {
640
+ E.value = l, ye.value += 1;
640
641
  }
641
642
  function Pe() {
642
643
  $.value.showTable = !$.value.showTable;
643
644
  }
644
- function Be() {
645
+ function Fe() {
645
646
  $.value.plotLabels.show = !$.value.plotLabels.show;
646
647
  }
647
- function Fe() {
648
+ function He() {
648
649
  $.value.showTooltip = !$.value.showTooltip;
649
650
  }
650
651
  const ue = y(!1);
651
- function de() {
652
+ function ce() {
652
653
  ue.value = !ue.value;
653
654
  }
654
- return Je({
655
+ async function yt({ scale: l = 2 } = {}) {
656
+ if (!A.value) return;
657
+ const { width: u, height: a } = A.value.getBoundingClientRect(), o = u / a, { imageUri: r, base64: b } = await Ht({ domElement: A.value, base64: !0, img: !0, scale: l });
658
+ return {
659
+ imageUri: r,
660
+ base64: b,
661
+ title: t.value.style.chart.title.text,
662
+ width: u,
663
+ height: a,
664
+ aspectRatio: o
665
+ };
666
+ }
667
+ return je({
655
668
  getData: Re,
669
+ getImage: yt,
656
670
  generatePdf: ze,
657
671
  generateCsv: Ve,
658
672
  generateImage: Te,
659
673
  toggleTable: Pe,
660
- toggleLabels: Be,
661
- toggleTooltip: Fe,
662
- toggleAnnotator: de
663
- }), (l, u) => (s(), r("div", {
664
- class: T(`vue-ui-quadrant ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
674
+ toggleLabels: Fe,
675
+ toggleTooltip: He,
676
+ toggleAnnotator: ce,
677
+ toggleFullscreen: Be
678
+ }), (l, u) => (s(), n("div", {
679
+ class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
665
680
  ref_key: "quadrantChart",
666
- ref: G,
681
+ ref: A,
667
682
  id: `vue-ui-quadrant_${z.value}`,
668
683
  style: q(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
669
684
  onMouseenter: u[16] || (u[16] = () => i(ke)(!0)),
670
685
  onMouseleave: u[17] || (u[17] = () => i(ke)(!1))
671
686
  }, [
672
- t.value.userOptions.buttons.annotator ? (s(), O(i(Ke), {
687
+ t.value.userOptions.buttons.annotator ? (s(), R(i(et), {
673
688
  key: 0,
674
689
  svgRef: i(we),
675
690
  backgroundColor: t.value.style.chart.backgroundColor,
676
691
  color: t.value.style.chart.color,
677
692
  active: ue.value,
678
- onClose: de
693
+ onClose: ce
679
694
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
680
- rt.value ? (s(), r("div", {
695
+ nt.value ? (s(), n("div", {
681
696
  key: 1,
682
697
  ref_key: "noTitle",
683
698
  ref: ge,
684
699
  class: "vue-data-ui-no-title-space",
685
700
  style: "height:36px; width: 100%;background:transparent"
686
701
  }, null, 512)) : h("", !0),
687
- t.value.style.chart.title.text ? (s(), r("div", {
702
+ t.value.style.chart.title.text ? (s(), n("div", {
688
703
  key: 2,
689
704
  ref_key: "chartTitle",
690
705
  ref: be,
691
706
  style: "width:100%;background:transparent;padding-bottom:12px"
692
707
  }, [
693
- (s(), O(Pt, {
708
+ (s(), R(Pt, {
694
709
  key: `table_${me.value}`,
695
710
  config: {
696
711
  title: {
@@ -704,9 +719,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
704
719
  }
705
720
  }, null, 8, ["config"]))
706
721
  ], 512)) : h("", !0),
707
- t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), O(i(at), {
722
+ t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), R(i(ut), {
708
723
  ref_key: "details",
709
- ref: st,
724
+ ref: rt,
710
725
  key: `user_options_${ye.value}`,
711
726
  backgroundColor: t.value.style.chart.backgroundColor,
712
727
  color: t.value.style.chart.color,
@@ -720,30 +735,31 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
720
735
  hasTable: t.value.userOptions.buttons.table,
721
736
  hasLabel: t.value.userOptions.buttons.labels,
722
737
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
723
- isFullscreen: I.value,
738
+ isFullscreen: E.value,
724
739
  isTooltip: $.value.showTooltip,
725
740
  titles: { ...t.value.userOptions.buttonTitles },
726
- chartElement: G.value,
741
+ chartElement: A.value,
727
742
  position: t.value.userOptions.position,
728
743
  hasAnnotator: t.value.userOptions.buttons.annotator,
729
744
  isAnnotation: ue.value,
730
745
  callbacks: t.value.userOptions.callbacks,
731
- onToggleFullscreen: ht,
746
+ printScale: t.value.userOptions.print.scale,
747
+ onToggleFullscreen: Be,
732
748
  onGeneratePdf: i(ze),
733
749
  onGenerateCsv: Ve,
734
750
  onGenerateImage: i(Te),
735
751
  onToggleTable: Pe,
736
- onToggleLabels: Be,
737
- onToggleTooltip: Fe,
738
- onToggleAnnotator: de,
752
+ onToggleLabels: Fe,
753
+ onToggleTooltip: He,
754
+ onToggleAnnotator: ce,
739
755
  style: q({
740
756
  visibility: i(Le) ? i(ne) ? "visible" : "hidden" : "visible"
741
757
  })
742
- }, ft({ _: 2 }, [
758
+ }, pt({ _: 2 }, [
743
759
  l.$slots.menuIcon ? {
744
760
  name: "menuIcon",
745
761
  fn: m(({ isOpen: a, color: o }) => [
746
- x(l.$slots, "menuIcon", E(U({ isOpen: a, color: o })), void 0, !0)
762
+ x(l.$slots, "menuIcon", U(D({ isOpen: a, color: o })), void 0, !0)
747
763
  ]),
748
764
  key: "0"
749
765
  } : void 0,
@@ -792,30 +808,30 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
792
808
  l.$slots.optionFullscreen ? {
793
809
  name: "optionFullscreen",
794
810
  fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
795
- x(l.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
811
+ x(l.$slots, "optionFullscreen", U(D({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
796
812
  ]),
797
813
  key: "7"
798
814
  } : void 0,
799
815
  l.$slots.optionAnnotator ? {
800
816
  name: "optionAnnotator",
801
817
  fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
802
- x(l.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
818
+ x(l.$slots, "optionAnnotator", U(D({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
803
819
  ]),
804
820
  key: "8"
805
821
  } : void 0
806
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
807
- K.value ? (s(), r("svg", {
822
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
823
+ K.value ? (s(), n("svg", {
808
824
  key: 4,
809
825
  ref_key: "svgRef",
810
826
  ref: we,
811
- xmlns: i(_t),
812
- class: T({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
827
+ xmlns: i(St),
828
+ class: T({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
813
829
  viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
814
830
  style: q(`max-width:100%;overflow:${f.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
815
831
  id: `svg_${z.value}`
816
832
  }, [
817
- ce(i(ut)),
818
- l.$slots["chart-background"] ? (s(), r("foreignObject", {
833
+ de(i(ot)),
834
+ l.$slots["chart-background"] ? (s(), n("foreignObject", {
819
835
  key: 0,
820
836
  x: v.value.startX,
821
837
  y: v.value.startY,
@@ -826,9 +842,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
826
842
  }
827
843
  }, [
828
844
  x(l.$slots, "chart-background", {}, void 0, !0)
829
- ], 8, Et)) : h("", !0),
830
- c("defs", null, [
831
- (s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("radialGradient", {
845
+ ], 8, Dt)) : h("", !0),
846
+ d("defs", null, [
847
+ (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("radialGradient", {
832
848
  cx: "50%",
833
849
  cy: "50%",
834
850
  r: "50%",
@@ -836,18 +852,18 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
836
852
  fy: "50%",
837
853
  id: `quadrant_gradient_${z.value}_${o}`
838
854
  }, [
839
- c("stop", {
855
+ d("stop", {
840
856
  offset: "0%",
841
- "stop-color": i(oe)(i(St)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
842
- }, null, 8, Dt),
843
- c("stop", {
857
+ "stop-color": i(oe)(i(Ct)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
858
+ }, null, 8, Qt),
859
+ d("stop", {
844
860
  offset: "100%",
845
861
  "stop-color": i(oe)(a.color, t.value.style.chart.layout.areas.opacity)
846
- }, null, 8, Gt)
847
- ], 8, Ut))), 256))
862
+ }, null, 8, Jt)
863
+ ], 8, Gt))), 256))
848
864
  ]),
849
- t.value.style.chart.layout.grid.graduations.show ? (s(), r("g", Qt, [
850
- (s(!0), r(S, null, Y(it.value, (a) => (s(), r("rect", {
865
+ t.value.style.chart.layout.grid.graduations.show ? (s(), n("g", jt, [
866
+ (s(!0), n(S, null, Y(vt.value, (a) => (s(), n("rect", {
851
867
  fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
852
868
  x: a.x,
853
869
  y: a.y,
@@ -856,48 +872,48 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
856
872
  "stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
857
873
  stroke: t.value.style.chart.layout.grid.graduations.stroke,
858
874
  rx: t.value.style.chart.layout.grid.graduations.roundingForce
859
- }, null, 8, Jt))), 256))
875
+ }, null, 8, Zt))), 256))
860
876
  ])) : h("", !0),
861
- c("line", {
877
+ d("line", {
862
878
  x1: e.value.left,
863
879
  y1: e.value.centerY,
864
880
  x2: e.value.right,
865
881
  y2: e.value.centerY,
866
882
  stroke: t.value.style.chart.layout.grid.stroke,
867
883
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
868
- }, null, 8, jt),
869
- c("line", {
884
+ }, null, 8, Kt),
885
+ d("line", {
870
886
  x1: e.value.centerX,
871
887
  y1: e.value.top,
872
888
  x2: e.value.centerX,
873
889
  y2: e.value.bottom,
874
890
  stroke: t.value.style.chart.layout.grid.stroke,
875
891
  "stroke-width": t.value.style.chart.layout.grid.strokeWidth
876
- }, null, 8, Zt),
877
- t.value.style.chart.layout.grid.showArrows ? (s(), r("g", Kt, [
878
- c("polygon", {
892
+ }, null, 8, el),
893
+ t.value.style.chart.layout.grid.showArrows ? (s(), n("g", tl, [
894
+ d("polygon", {
879
895
  points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
880
896
  fill: t.value.style.chart.layout.grid.stroke,
881
897
  stroke: "none"
882
- }, null, 8, el),
883
- c("polygon", {
898
+ }, null, 8, ll),
899
+ d("polygon", {
884
900
  points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
885
901
  fill: t.value.style.chart.layout.grid.stroke,
886
902
  stroke: "none"
887
- }, null, 8, tl),
888
- c("polygon", {
903
+ }, null, 8, al),
904
+ d("polygon", {
889
905
  points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
890
906
  fill: t.value.style.chart.layout.grid.stroke,
891
907
  stroke: "none"
892
- }, null, 8, ll),
893
- c("polygon", {
908
+ }, null, 8, ul),
909
+ d("polygon", {
894
910
  points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
895
911
  fill: t.value.style.chart.layout.grid.stroke,
896
912
  stroke: "none"
897
- }, null, 8, al)
913
+ }, null, 8, ol)
898
914
  ])) : h("", !0),
899
- t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), r("g", ul, [
900
- t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), r("text", {
915
+ t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), n("g", sl, [
916
+ t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
901
917
  key: 0,
902
918
  x: 0,
903
919
  y: e.value.top - e.value.padding / 2,
@@ -906,8 +922,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
906
922
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
907
923
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
908
924
  onClick: u[0] || (u[0] = (a) => Z("tl"))
909
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ol)) : h("", !0),
910
- t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), r("text", {
925
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, rl)) : h("", !0),
926
+ t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
911
927
  key: 1,
912
928
  x: e.value.width,
913
929
  y: e.value.top - e.value.padding / 2,
@@ -916,8 +932,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
916
932
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
917
933
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
918
934
  onClick: u[1] || (u[1] = (a) => Z("tr"))
919
- }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, sl)) : h("", !0),
920
- t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), r("text", {
935
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, nl)) : h("", !0),
936
+ t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
921
937
  key: 2,
922
938
  x: e.value.width,
923
939
  y: e.value.bottom + e.value.padding * 0.7,
@@ -926,8 +942,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
926
942
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
927
943
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
928
944
  onClick: u[2] || (u[2] = (a) => Z("br"))
929
- }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, rl)) : h("", !0),
930
- t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), r("text", {
945
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, il)) : h("", !0),
946
+ t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
931
947
  key: 3,
932
948
  x: 0,
933
949
  y: e.value.bottom + e.value.padding * 0.7,
@@ -936,292 +952,292 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
936
952
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
937
953
  style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
938
954
  onClick: u[3] || (u[3] = (a) => Z("bl"))
939
- }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, nl)) : h("", !0)
955
+ }, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, vl)) : h("", !0)
940
956
  ])) : h("", !0),
941
- t.value.style.chart.layout.labels.axisLabels.show ? (s(), r("g", il, [
942
- c("text", {
957
+ t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", cl, [
958
+ d("text", {
943
959
  x: e.value.centerX,
944
960
  y: e.value.top - e.value.padding / 6,
945
961
  "text-anchor": "middle",
946
962
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
947
963
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
948
- }, L(i(R)(
964
+ }, L(i(V)(
949
965
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
950
966
  _.value.y.max,
951
- i(V)({
967
+ i(B)({
952
968
  v: _.value.y.max,
953
969
  r: t.value.style.chart.layout.labels.plotLabels.rounding
954
970
  })
955
- )), 9, vl),
956
- c("text", {
971
+ )), 9, dl),
972
+ d("text", {
957
973
  x: e.value.centerX,
958
974
  y: e.value.top - e.value.padding / 2,
959
975
  "text-anchor": "middle",
960
976
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
961
977
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
962
- }, L(t.value.style.chart.layout.grid.yAxis.name), 9, dl),
963
- c("text", {
978
+ }, L(t.value.style.chart.layout.grid.yAxis.name), 9, hl),
979
+ d("text", {
964
980
  x: e.value.centerX,
965
981
  y: e.value.bottom + e.value.padding * 0.35,
966
982
  "text-anchor": "middle",
967
983
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
968
984
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
969
- }, L(i(R)(
985
+ }, L(i(V)(
970
986
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
971
987
  _.value.y.min,
972
- i(V)({
988
+ i(B)({
973
989
  v: _.value.y.min,
974
990
  r: t.value.style.chart.layout.labels.plotLabels.rounding
975
991
  })
976
- )), 9, cl),
977
- c("text", {
992
+ )), 9, yl),
993
+ d("text", {
978
994
  id: `xLabelMin_${z.value}`,
979
995
  "text-anchor": "middle",
980
996
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
981
997
  transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
982
998
  fill: t.value.style.chart.layout.labels.axisLabels.color.negative
983
- }, L(i(R)(
999
+ }, L(i(V)(
984
1000
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
985
1001
  _.value.x.min,
986
- i(V)({
1002
+ i(B)({
987
1003
  v: _.value.x.min,
988
1004
  r: t.value.style.chart.layout.labels.plotLabels.rounding
989
1005
  })
990
- )), 9, hl),
991
- c("text", {
1006
+ )), 9, bl),
1007
+ d("text", {
992
1008
  id: `xLabelMax_${z.value}`,
993
1009
  "text-anchor": "middle",
994
1010
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
995
1011
  transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
996
1012
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
997
- }, L(i(R)(
1013
+ }, L(i(V)(
998
1014
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
999
1015
  _.value.x.max,
1000
- i(V)({
1016
+ i(B)({
1001
1017
  v: _.value.x.max,
1002
1018
  r: t.value.style.chart.layout.labels.plotLabels.rounding
1003
1019
  })
1004
- )), 9, yl),
1005
- c("text", {
1020
+ )), 9, fl),
1021
+ d("text", {
1006
1022
  id: `xLabelMaxName_${z.value}`,
1007
1023
  "text-anchor": "middle",
1008
1024
  "font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
1009
1025
  transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
1010
1026
  fill: t.value.style.chart.layout.labels.axisLabels.color.positive
1011
- }, L(t.value.style.chart.layout.grid.xAxis.name), 9, bl)
1027
+ }, L(t.value.style.chart.layout.grid.xAxis.name), 9, pl)
1012
1028
  ])) : h("", !0),
1013
- t.value.style.chart.layout.areas.show ? (s(), r("g", fl, [
1014
- (s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("g", null, [
1015
- a.series.length > 2 ? (s(), r("polygon", {
1029
+ t.value.style.chart.layout.areas.show ? (s(), n("g", gl, [
1030
+ (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("g", null, [
1031
+ a.series.length > 2 ? (s(), n("polygon", {
1016
1032
  key: 0,
1017
1033
  "data-cy-quadrant-area": "",
1018
1034
  fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${o})` : i(oe)(a.color, t.value.style.chart.layout.areas.opacity),
1019
- points: i(Ct)(a)
1020
- }, null, 8, pl)) : h("", !0)
1035
+ points: i(zt)(a)
1036
+ }, null, 8, ml)) : h("", !0)
1021
1037
  ]))), 256))
1022
1038
  ])) : h("", !0),
1023
- c("g", null, [
1024
- c("rect", {
1025
- onClick: u[4] || (u[4] = (a) => M("TL")),
1039
+ d("g", null, [
1040
+ d("rect", {
1041
+ onClick: u[4] || (u[4] = (a) => N("TL")),
1026
1042
  x: e.value.left,
1027
1043
  y: e.value.top,
1028
1044
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1029
1045
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1030
1046
  fill: "transparent",
1031
1047
  class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1032
- }, null, 10, gl),
1033
- c("rect", {
1034
- onClick: u[5] || (u[5] = (a) => M("TR")),
1048
+ }, null, 10, xl),
1049
+ d("rect", {
1050
+ onClick: u[5] || (u[5] = (a) => N("TR")),
1035
1051
  x: e.value.centerX,
1036
1052
  y: e.value.top,
1037
1053
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1038
1054
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1039
1055
  fill: "transparent",
1040
1056
  class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1041
- }, null, 10, ml),
1042
- c("rect", {
1043
- onClick: u[6] || (u[6] = (a) => M("BR")),
1057
+ }, null, 10, $l),
1058
+ d("rect", {
1059
+ onClick: u[6] || (u[6] = (a) => N("BR")),
1044
1060
  x: e.value.centerX,
1045
1061
  y: e.value.centerY,
1046
1062
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1047
1063
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1048
1064
  fill: "transparent",
1049
1065
  class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1050
- }, null, 10, xl),
1051
- c("rect", {
1052
- onClick: u[7] || (u[7] = (a) => M("BL")),
1066
+ }, null, 10, kl),
1067
+ d("rect", {
1068
+ onClick: u[7] || (u[7] = (a) => N("BL")),
1053
1069
  x: e.value.left,
1054
1070
  y: e.value.centerY,
1055
1071
  width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
1056
1072
  height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
1057
1073
  fill: "transparent",
1058
1074
  class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
1059
- }, null, 10, $l)
1075
+ }, null, 10, Ll)
1060
1076
  ]),
1061
- t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), r(S, { key: 7 }, [
1062
- $.value.plotLabels.show ? (s(), r("g", ql, [
1063
- (s(!0), r(S, null, Y(C.value, (a, o) => (s(), r(S, null, [
1064
- (s(!0), r(S, null, Y(a.series, (n) => (s(), r("foreignObject", {
1077
+ t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(S, { key: 7 }, [
1078
+ $.value.plotLabels.show ? (s(), n("g", Sl, [
1079
+ (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n(S, null, [
1080
+ (s(!0), n(S, null, Y(a.series, (r) => (s(), n("foreignObject", {
1065
1081
  style: { overflow: "visible" },
1066
1082
  height: "10",
1067
1083
  width: "100",
1068
- x: n.x - 50,
1069
- y: n.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
1070
- onMouseover: (b) => Ne(a, n, o),
1084
+ x: r.x - 50,
1085
+ y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
1086
+ onMouseover: (b) => Ne(a, r, o),
1071
1087
  onMouseleave: u[9] || (u[9] = (b) => {
1072
1088
  ee.value = !1, J.value = null, j.value = null;
1073
1089
  }),
1074
- onClick: (b) => Oe(a, n)
1090
+ onClick: (b) => Oe(a, r)
1075
1091
  }, [
1076
- c("div", {
1077
- style: q(`color:${i(Tt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
1078
- }, L(n.name), 5)
1079
- ], 40, _l))), 256))
1092
+ d("div", {
1093
+ style: q(`color:${i(Xt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
1094
+ }, L(r.name), 5)
1095
+ ], 40, Cl))), 256))
1080
1096
  ], 64))), 256))
1081
1097
  ])) : h("", !0)
1082
- ], 64)) : (s(), r(S, { key: 6 }, [
1083
- (s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("g", null, [
1084
- (s(!0), r(S, null, Y(a.series, (n) => (s(), O(Ge, {
1098
+ ], 64)) : (s(), n(S, { key: 6 }, [
1099
+ (s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("g", null, [
1100
+ (s(!0), n(S, null, Y(a.series, (r) => (s(), R(Qe, {
1085
1101
  color: a.color,
1086
- isSelected: J.value && n.uid === J.value,
1087
- plot: n,
1102
+ isSelected: J.value && r.uid === J.value,
1103
+ plot: r,
1088
1104
  radius: t.value.style.chart.layout.plots.radius / (f.value ? 1.5 : 1),
1089
1105
  shape: a.shape,
1090
1106
  stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
1091
1107
  strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
1092
- onMouseenter: (b) => Ne(a, n, o),
1108
+ onMouseenter: (b) => Ne(a, r, o),
1093
1109
  onMouseleave: u[8] || (u[8] = (b) => {
1094
1110
  ee.value = !1, J.value = null, j.value = null;
1095
1111
  }),
1096
- onClick: (b) => Oe(a, n)
1112
+ onClick: (b) => Oe(a, r)
1097
1113
  }, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
1098
1114
  ]))), 256)),
1099
- $.value.plotLabels.show ? (s(), r("g", kl, [
1100
- (s(!0), r(S, null, Y(C.value, (a) => (s(), r("g", null, [
1101
- (s(!0), r(S, null, Y(a.series, (o) => (s(), r("g", null, [
1115
+ $.value.plotLabels.show ? (s(), n("g", wl, [
1116
+ (s(!0), n(S, null, Y(C.value, (a) => (s(), n("g", null, [
1117
+ (s(!0), n(S, null, Y(a.series, (o) => (s(), n("g", null, [
1102
1118
  String(o.name).includes(`
1103
- `) ? (s(), r("text", {
1119
+ `) ? (s(), n("text", {
1104
1120
  key: 1,
1105
1121
  x: o.x,
1106
1122
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
1107
1123
  "text-anchor": "middle",
1108
1124
  "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1109
1125
  fill: t.value.style.chart.layout.labels.plotLabels.color,
1110
- innerHTML: i(zt)({
1126
+ innerHTML: i(Tt)({
1111
1127
  content: String(o.name),
1112
1128
  fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1113
1129
  fill: t.value.style.chart.layout.labels.plotLabels.color,
1114
1130
  x: o.x,
1115
1131
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
1116
1132
  })
1117
- }, null, 8, wl)) : (s(), r("text", {
1133
+ }, null, 8, _l)) : (s(), n("text", {
1118
1134
  key: 0,
1119
1135
  x: o.x,
1120
1136
  y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
1121
1137
  "text-anchor": "middle",
1122
1138
  "font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
1123
1139
  fill: t.value.style.chart.layout.labels.plotLabels.color
1124
- }, L(o.name), 9, Ll))
1140
+ }, L(o.name), 9, ql))
1125
1141
  ]))), 256))
1126
1142
  ]))), 256))
1127
1143
  ])) : h("", !0)
1128
1144
  ], 64)),
1129
- f.value ? (s(), r("g", Sl, [
1130
- d.value === "TL" ? (s(), r("polygon", {
1145
+ f.value ? (s(), n("g", zl, [
1146
+ c.value === "TL" ? (s(), n("polygon", {
1131
1147
  key: 0,
1132
1148
  points: `${e.value.left - 1},${e.value.centerY} ${e.value.centerX},${e.value.centerY} ${e.value.centerX},${e.value.top - 1} ${e.value.right},${e.value.top - 1} ${e.value.right},${e.value.bottom} ${e.value.left - 1},${e.value.bottom} ${e.value.left - 1},${e.value.centerY}`,
1133
1149
  fill: t.value.style.chart.backgroundColor,
1134
1150
  style: { opacity: "1" }
1135
- }, null, 8, Cl)) : h("", !0),
1136
- d.value === "TR" ? (s(), r("polygon", {
1151
+ }, null, 8, Tl)) : h("", !0),
1152
+ c.value === "TR" ? (s(), n("polygon", {
1137
1153
  key: 1,
1138
1154
  points: `${e.value.left},${e.value.top - 1} ${e.value.centerX},${e.value.top - 1} ${e.value.centerX},${e.value.centerY} ${e.value.right + 1},${e.value.centerY} ${e.value.right + 1},${e.value.bottom} ${e.value.left},${e.value.bottom} ${e.value.left},${e.value.top - 1}`,
1139
1155
  fill: t.value.style.chart.backgroundColor,
1140
1156
  style: { opacity: "1" }
1141
- }, null, 8, zl)) : h("", !0),
1142
- d.value === "BR" ? (s(), r("polygon", {
1157
+ }, null, 8, Xl)) : h("", !0),
1158
+ c.value === "BR" ? (s(), n("polygon", {
1143
1159
  key: 2,
1144
1160
  points: `${e.value.left},${e.value.top} ${e.value.right + 1},${e.value.top} ${e.value.right + 1},${e.value.centerY} ${e.value.centerX},${e.value.centerY} ${e.value.centerX},${e.value.bottom + 1} ${e.value.left},${e.value.bottom + 1} ${e.value.left},${e.value.top}`,
1145
1161
  fill: t.value.style.chart.backgroundColor,
1146
1162
  style: { opacity: "1" }
1147
- }, null, 8, Tl)) : h("", !0),
1148
- d.value === "BL" ? (s(), r("polygon", {
1163
+ }, null, 8, Wl)) : h("", !0),
1164
+ c.value === "BL" ? (s(), n("polygon", {
1149
1165
  key: 3,
1150
1166
  points: `${e.value.left - 1},${e.value.top} ${e.value.right},${e.value.top} ${e.value.right},${e.value.bottom + 1} ${e.value.centerX},${e.value.bottom + 1} ${e.value.centerX},${e.value.centerY} ${e.value.left - 1},${e.value.centerY} ${e.value.left - 1},${e.value.top}`,
1151
1167
  fill: t.value.style.chart.backgroundColor,
1152
1168
  style: { opacity: "1" }
1153
- }, null, 8, Xl)) : h("", !0)
1169
+ }, null, 8, Yl)) : h("", !0)
1154
1170
  ])) : h("", !0),
1155
- d.value && !te.value ? (s(), r("g", Wl, [
1156
- c("text", {
1171
+ c.value && !te.value ? (s(), n("g", Al, [
1172
+ d("text", {
1157
1173
  x: P.value.x,
1158
1174
  y: P.value.y - P.value.fontSize / 1.5,
1159
1175
  "font-size": P.value.fontSize / 1.5,
1160
1176
  fill: P.value.fill,
1161
1177
  "text-anchor": "middle",
1162
1178
  "font-weight": P.value.bold ? "bold" : "normal"
1163
- }, L(P.value.text), 9, Yl)
1179
+ }, L(P.value.text), 9, Ml)
1164
1180
  ])) : h("", !0),
1165
- f.value && d.value ? (s(), r("g", Al, [
1166
- c("rect", {
1167
- x: w.value[d.value].tl.x,
1168
- y: w.value[d.value].tl.y,
1181
+ f.value && c.value ? (s(), n("g", Nl, [
1182
+ d("rect", {
1183
+ x: w.value[c.value].tl.x,
1184
+ y: w.value[c.value].tl.y,
1169
1185
  height: "20",
1170
1186
  width: "20",
1171
- fill: w.value[d.value].tl.fill,
1172
- style: q(`cursor: pointer; opacity: ${d.value === "TL" ? 1 : 0.2}`),
1173
- onClick: u[10] || (u[10] = (a) => M("TL")),
1174
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TL" })
1175
- }, null, 14, Ml),
1176
- c("rect", {
1177
- x: w.value[d.value].tr.x,
1178
- y: w.value[d.value].tr.y,
1187
+ fill: w.value[c.value].tl.fill,
1188
+ style: q(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
1189
+ onClick: u[10] || (u[10] = (a) => N("TL")),
1190
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
1191
+ }, null, 14, Ol),
1192
+ d("rect", {
1193
+ x: w.value[c.value].tr.x,
1194
+ y: w.value[c.value].tr.y,
1179
1195
  height: "20",
1180
1196
  width: "20",
1181
- fill: w.value[d.value].tr.fill,
1182
- style: q(`cursor: pointer; opacity: ${d.value === "TR" ? 1 : 0.2}`),
1183
- onClick: u[11] || (u[11] = (a) => M("TR")),
1184
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TR" })
1185
- }, null, 14, Nl),
1186
- c("rect", {
1187
- x: w.value[d.value].br.x,
1188
- y: w.value[d.value].br.y,
1197
+ fill: w.value[c.value].tr.fill,
1198
+ style: q(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
1199
+ onClick: u[11] || (u[11] = (a) => N("TR")),
1200
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
1201
+ }, null, 14, Rl),
1202
+ d("rect", {
1203
+ x: w.value[c.value].br.x,
1204
+ y: w.value[c.value].br.y,
1189
1205
  height: "20",
1190
1206
  width: "20",
1191
- fill: w.value[d.value].br.fill,
1192
- style: q(`cursor: pointer; opacity: ${d.value === "BR" ? 1 : 0.2}`),
1193
- onClick: u[12] || (u[12] = (a) => M("BR")),
1194
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BR" })
1195
- }, null, 14, Ol),
1196
- c("rect", {
1197
- x: w.value[d.value].bl.x,
1198
- y: w.value[d.value].bl.y,
1207
+ fill: w.value[c.value].br.fill,
1208
+ style: q(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
1209
+ onClick: u[12] || (u[12] = (a) => N("BR")),
1210
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
1211
+ }, null, 14, Vl),
1212
+ d("rect", {
1213
+ x: w.value[c.value].bl.x,
1214
+ y: w.value[c.value].bl.y,
1199
1215
  height: "20",
1200
1216
  width: "20",
1201
- fill: w.value[d.value].bl.fill,
1202
- style: q(`cursor: pointer; opacity: ${d.value === "BL" ? 1 : 0.2}`),
1203
- onClick: u[13] || (u[13] = (a) => M("BL")),
1204
- class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BL" })
1205
- }, null, 14, Rl),
1206
- c("path", {
1217
+ fill: w.value[c.value].bl.fill,
1218
+ style: q(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
1219
+ onClick: u[13] || (u[13] = (a) => N("BL")),
1220
+ class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
1221
+ }, null, 14, Bl),
1222
+ d("path", {
1207
1223
  class: "vue-ui-quadrant-minimap-crosshairs",
1208
1224
  stroke: t.value.style.chart.backgroundColor,
1209
1225
  "stroke-width": 1,
1210
- d: w.value[d.value].crosshairs.horizontal
1211
- }, null, 8, Vl),
1212
- c("path", {
1226
+ d: w.value[c.value].crosshairs.horizontal
1227
+ }, null, 8, Pl),
1228
+ d("path", {
1213
1229
  class: "vue-ui-quadrant-minimap-crosshairs",
1214
1230
  stroke: t.value.style.chart.backgroundColor,
1215
1231
  "stroke-width": 1,
1216
- d: w.value[d.value].crosshairs.vertical
1217
- }, null, 8, Pl)
1232
+ d: w.value[c.value].crosshairs.vertical
1233
+ }, null, 8, Fl)
1218
1234
  ])) : h("", !0),
1219
1235
  x(l.$slots, "svg", { svg: e.value }, void 0, !0)
1220
- ], 14, It)) : h("", !0),
1221
- l.$slots.watermark ? (s(), r("div", Bl, [
1222
- x(l.$slots, "watermark", E(U({ isPrinting: i(Se) || i(Ce) })), void 0, !0)
1236
+ ], 14, Ut)) : h("", !0),
1237
+ l.$slots.watermark ? (s(), n("div", Hl, [
1238
+ x(l.$slots, "watermark", U(D({ isPrinting: i(Se) || i(Ce) })), void 0, !0)
1223
1239
  ])) : h("", !0),
1224
- K.value ? h("", !0) : (s(), O(i(tt), {
1240
+ K.value ? h("", !0) : (s(), R(i(lt), {
1225
1241
  key: 6,
1226
1242
  config: {
1227
1243
  type: "quadrant",
@@ -1239,21 +1255,21 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1239
1255
  }
1240
1256
  }
1241
1257
  }, null, 8, ["config"])),
1242
- c("div", {
1258
+ d("div", {
1243
1259
  ref_key: "chartLegend",
1244
1260
  ref: fe
1245
1261
  }, [
1246
- t.value.style.chart.legend.show ? (s(), O(Bt, {
1262
+ t.value.style.chart.legend.show ? (s(), R(Ft, {
1247
1263
  key: `legend_${$e.value}`,
1248
1264
  legendSet: Ae.value,
1249
- config: ct.value,
1265
+ config: ht.value,
1250
1266
  onClickMarker: u[14] || (u[14] = ({ legend: a }) => ie(a.id))
1251
1267
  }, {
1252
1268
  item: m(({ legend: a }) => [
1253
- c("div", {
1269
+ d("div", {
1254
1270
  onClick: (o) => ie(a.id),
1255
- style: q(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
1256
- }, L(a.name), 13, Fl)
1271
+ style: q(`opacity:${O.value.includes(a.id) ? 0.5 : 1}`)
1272
+ }, L(a.name), 13, Il)
1257
1273
  ]),
1258
1274
  _: 1
1259
1275
  }, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
@@ -1261,7 +1277,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1261
1277
  legend: Ae.value
1262
1278
  }, void 0, !0)
1263
1279
  ], 512),
1264
- l.$slots.source ? (s(), r("div", {
1280
+ l.$slots.source ? (s(), n("div", {
1265
1281
  key: 7,
1266
1282
  ref_key: "source",
1267
1283
  ref: pe,
@@ -1269,7 +1285,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1269
1285
  }, [
1270
1286
  x(l.$slots, "source", {}, void 0, !0)
1271
1287
  ], 512)) : h("", !0),
1272
- ce(i(lt), {
1288
+ de(i(at), {
1273
1289
  show: $.value.showTooltip && ee.value,
1274
1290
  backgroundColor: t.value.style.chart.tooltip.backgroundColor,
1275
1291
  color: t.value.style.chart.tooltip.color,
@@ -1280,20 +1296,20 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1280
1296
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
1281
1297
  position: t.value.style.chart.tooltip.position,
1282
1298
  offsetY: t.value.style.chart.tooltip.offsetY,
1283
- parent: G.value,
1299
+ parent: A.value,
1284
1300
  content: re.value,
1285
- isFullscreen: I.value,
1301
+ isFullscreen: E.value,
1286
1302
  isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
1287
1303
  }, {
1288
1304
  "tooltip-before": m(() => [
1289
- x(l.$slots, "tooltip-before", E(U({ ...ve.value })), void 0, !0)
1305
+ x(l.$slots, "tooltip-before", U(D({ ...ve.value })), void 0, !0)
1290
1306
  ]),
1291
1307
  "tooltip-after": m(() => [
1292
- x(l.$slots, "tooltip-after", E(U({ ...ve.value })), void 0, !0)
1308
+ x(l.$slots, "tooltip-after", U(D({ ...ve.value })), void 0, !0)
1293
1309
  ]),
1294
1310
  default: m(() => [
1295
- t.value.style.chart.tooltip.showShape ? (s(), r("svg", Hl, [
1296
- ce(Ge, {
1311
+ t.value.style.chart.tooltip.showShape ? (s(), n("svg", El, [
1312
+ de(Qe, {
1297
1313
  plot: { x: 10, y: 10 },
1298
1314
  shape: j.value.shape,
1299
1315
  color: j.value.color,
@@ -1305,7 +1321,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1305
1321
  ]),
1306
1322
  _: 3
1307
1323
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
1308
- K.value ? (s(), O(i(et), {
1324
+ K.value ? (s(), R(i(tt), {
1309
1325
  key: 8,
1310
1326
  hideDetails: "",
1311
1327
  config: {
@@ -1322,7 +1338,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1322
1338
  }
1323
1339
  }, {
1324
1340
  content: m(() => [
1325
- (s(), O(i(Ze), {
1341
+ (s(), R(i(Ke), {
1326
1342
  key: `table_${xe.value}`,
1327
1343
  colNames: ae.value.colNames,
1328
1344
  head: ae.value.head,
@@ -1332,21 +1348,21 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
1332
1348
  onClose: u[15] || (u[15] = (a) => $.value.showTable = !1)
1333
1349
  }, {
1334
1350
  th: m(({ th: a }) => [
1335
- pt(L(a), 1)
1351
+ gt(L(a), 1)
1336
1352
  ]),
1337
1353
  td: m(({ td: a }) => [
1338
- c("div", {
1354
+ d("div", {
1339
1355
  innerHTML: a.name || a
1340
- }, null, 8, Il)
1356
+ }, null, 8, Ul)
1341
1357
  ]),
1342
1358
  _: 1
1343
1359
  }, 8, ["colNames", "head", "body", "config", "title"]))
1344
1360
  ]),
1345
1361
  _: 1
1346
1362
  }, 8, ["config"])) : h("", !0)
1347
- ], 46, Ht));
1363
+ ], 46, Et));
1348
1364
  }
1349
- }, aa = /* @__PURE__ */ Ft(El, [["__scopeId", "data-v-02521ee2"]]);
1365
+ }, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-459edc04"]]);
1350
1366
  export {
1351
- aa as default
1367
+ sa as default
1352
1368
  };