vue-data-ui 2.16.6 → 2.17.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 (94) hide show
  1. package/README.md +84 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +999 -160
  23. package/dist/types/vue-data-ui.d.ts +999 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/vue-data-ui-D7ZgRDQ_.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-ORUAjkg7.js} +246 -231
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
  82. package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
  85. package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
  86. package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
  93. package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
  94. package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
@@ -1,16 +1,17 @@
1
- import { useCssVars as Je, computed as y, defineAsyncComponent as E, ref as o, watch as Ke, shallowRef as ke, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as n, openBlock as i, unref as a, normalizeStyle as L, createBlock as R, createCommentVNode as v, createSlots as et, withCtx as I, renderSlot as h, normalizeProps as B, guardReactiveProps as T, normalizeClass as H, createVNode as tt, createElementVNode as lt, Fragment as O, renderList as z, mergeProps as be, toDisplayString as N } from "vue";
2
- import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct, F as $e, i as J, f as K, E as Q } from "./index-DvIXJm6t.js";
3
- import { t as dt, u as vt } from "./useResponsive-DfdjqQps.js";
4
- import { u as _e } from "./useNestedProp-DrYHm61t.js";
5
- import { u as ft } from "./usePrinter-CWnXbGMb.js";
6
- import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
8
- import gt from "./Title-Gi81VwUM.js";
9
- import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["cx", "cy", "r", "stroke", "stroke-width"], xt = { key: 1 }, $t = ["stroke", "d", "stroke-width"], _t = { style: { "pointer-events": "none" } }, Ct = ["cx", "cy", "fill", "r", "stroke"], Pt = ["x", "y", "fill", "font-size"], Lt = { key: 2 }, Ot = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], zt = { style: { "pointer-events": "none" } }, At = ["cx", "cy", "fill", "r", "stroke"], It = ["x", "y", "fill", "font-size"], St = ["text-anchor", "transform", "x", "y", "onClick", "font-weight", "font-size", "fill"], Mt = ["cx", "cy", "fill", "stroke", "onClick", "r"], Ft = {
1
+ import { useCssVars as Ke, computed as y, defineAsyncComponent as E, ref as o, watch as Qe, shallowRef as be, onMounted as Ze, onBeforeUnmount as et, createElementBlock as r, openBlock as i, unref as n, normalizeStyle as O, createBlock as F, createCommentVNode as v, createSlots as tt, withCtx as S, renderSlot as h, normalizeProps as B, guardReactiveProps as T, normalizeClass as H, createVNode as lt, createElementVNode as st, Fragment as z, renderList as A, mergeProps as we, toDisplayString as N } from "vue";
2
+ import { u as it, c as at, t as nt, p as xe, a as rt, b as ut, o as ot, e as $e, g as ct, X as dt, F as _e, i as J, f as K, E as Q } from "./index-CobsZUkv.js";
3
+ import { t as vt, u as ft } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ce } from "./useNestedProp-BwL5wmVa.js";
5
+ import { u as yt } from "./usePrinter-DPh6U_Qk.js";
6
+ import { u as ht } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as gt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import mt from "./Title-DpERl1yr.js";
9
+ import pt from "./img-utitT2Gd.js";
10
+ import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const bt = ["id"], wt = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["cx", "cy", "r", "stroke", "stroke-width"], _t = { key: 1 }, Ct = ["stroke", "d", "stroke-width"], Pt = { style: { "pointer-events": "none" } }, Lt = ["cx", "cy", "fill", "r", "stroke"], Ot = ["x", "y", "fill", "font-size"], zt = { key: 2 }, At = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], It = { style: { "pointer-events": "none" } }, St = ["cx", "cy", "fill", "r", "stroke"], Mt = ["x", "y", "fill", "font-size"], Rt = ["text-anchor", "transform", "x", "y", "onClick", "font-weight", "font-size", "fill"], Et = ["cx", "cy", "fill", "stroke", "onClick", "r"], Ft = {
11
12
  key: 5,
12
13
  class: "vue-data-ui-watermark"
13
- }, Et = {
14
+ }, Bt = {
14
15
  __name: "vue-ui-relation-circle",
15
16
  props: {
16
17
  dataset: {
@@ -26,60 +27,60 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
26
27
  }
27
28
  }
28
29
  },
29
- setup(Ce, { expose: Pe }) {
30
- Je((e) => ({
31
- "382cb9ce": Re.value,
32
- "9431ff10": Ee.value,
33
- b9d95b4c: Be.value
30
+ setup(Pe, { expose: Le }) {
31
+ Ke((e) => ({
32
+ "695b7171": Be.value,
33
+ "7699e2d0": Fe.value,
34
+ d96a2a9c: Te.value
34
35
  }));
35
- const Le = E(() => import("./PackageVersion-Bg_9KCU-.js")), Oe = E(() => import("./PenAndPaper-BPTpbnay.js")), ze = E(() => import("./vue-ui-skeleton-BAOt2neL.js")), Ae = E(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_relation_circle: Ie } = st(), k = Ce, j = y(() => !!k.dataset && Object.keys(k.dataset).length), A = o(it()), Z = o(0), S = o(null), ee = o(null), te = o(null), le = o(null), se = o(0), l = y({
36
+ const Oe = E(() => import("./PackageVersion-C-4Ee8BQ.js")), ze = E(() => import("./PenAndPaper-Cde-wJ3N.js")), Ae = E(() => import("./vue-ui-skeleton-8s4xts8z.js")), Ie = E(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_relation_circle: Se } = it(), k = Pe, j = y(() => !!k.dataset && Object.keys(k.dataset).length), I = o(at()), Z = o(0), x = o(null), ee = o(null), te = o(null), le = o(null), se = o(0), l = y({
36
37
  get: () => re(),
37
38
  set: (e) => e
38
- }), { userOptionsVisible: U, setUserOptionsVisibility: ie, keepUserOptionState: ae } = yt({ config: l.value }), { svgRef: ne } = ht({ config: l.value.style.title });
39
+ }), { userOptionsVisible: U, setUserOptionsVisibility: ie, keepUserOptionState: ae } = ht({ config: l.value }), { svgRef: ne } = gt({ config: l.value.style.title });
39
40
  function re() {
40
- const e = _e({
41
+ const e = Ce({
41
42
  userConfig: k.config,
42
- defaultConfig: Ie
43
+ defaultConfig: Se
43
44
  });
44
45
  return e.theme ? {
45
- ..._e({
46
- userConfig: nt.vue_ui_relation_circle[e.theme] || k.config,
46
+ ...Ce({
47
+ userConfig: rt.vue_ui_relation_circle[e.theme] || k.config,
47
48
  defaultConfig: e
48
49
  }),
49
- customPalette: at[e.theme] || we
50
+ customPalette: nt[e.theme] || xe
50
51
  } : e;
51
52
  }
52
- Ke(() => k.config, (e) => {
53
+ Qe(() => k.config, (e) => {
53
54
  l.value = re(), U.value = !l.value.userOptions.showOnChartHover, fe(), se.value += 1;
54
55
  }, { deep: !0 });
55
- const { isPrinting: ue, isImaging: oe, generatePdf: ce, generateImage: de } = ft({
56
- elementId: `relation_circle_${A.value}`,
56
+ const { isPrinting: ue, isImaging: oe, generatePdf: ce, generateImage: de } = yt({
57
+ elementId: `relation_circle_${I.value}`,
57
58
  fileName: l.value.style.title.text || "vue-ui-relation-circle",
58
59
  options: l.value.userOptions.print
59
- }), Se = y(() => l.value.userOptions.show && !l.value.style.title.text), ve = y(() => rt(l.value.customPalette)), x = o([]), m = o([]), c = o({}), p = o([]), Me = o(0), V = y(() => k.dataset.slice(0, l.value.style.limit)), _ = o(l.value.style.size), g = o(l.value.style.weightLabels.size), G = o(l.value.style.plot.radius), W = o(l.value.style.labels.fontSize), u = o({
60
+ }), Me = y(() => l.value.userOptions.show && !l.value.style.title.text), ve = y(() => ut(l.value.customPalette)), $ = o([]), m = o([]), d = o({}), p = o([]), Re = o(0), V = y(() => k.dataset.slice(0, l.value.style.limit)), C = o(l.value.style.size), g = o(l.value.style.weightLabels.size), G = o(l.value.style.plot.radius), W = o(l.value.style.labels.fontSize), u = o({
60
61
  height: l.value.style.size,
61
62
  width: l.value.style.size
62
- }), $ = y({
63
+ }), _ = y({
63
64
  get() {
64
- return _.value * l.value.style.circle.radiusProportion;
65
+ return C.value * l.value.style.circle.radiusProportion;
65
66
  },
66
67
  set(e) {
67
68
  return e;
68
69
  }
69
- }), Fe = y(() => l.value.style.links.curved), Ee = y(() => `${l.value.style.animation.speedMs}ms`), Re = y(() => $.value * 2), Be = y(() => $.value * 4), b = ke(null), C = ke(null);
70
- Qe(() => {
71
- fe(), document.getElementById(`relation_circle_${A.value}`).addEventListener("click", ye);
70
+ }), Ee = y(() => l.value.style.links.curved), Fe = y(() => `${l.value.style.animation.speedMs}ms`), Be = y(() => _.value * 2), Te = y(() => _.value * 4), b = be(null), P = be(null);
71
+ Ze(() => {
72
+ fe(), document.getElementById(`relation_circle_${I.value}`).addEventListener("click", ye);
72
73
  });
73
74
  function fe() {
74
- if (ut(k.dataset) ? xe({
75
+ if (ot(k.dataset) ? $e({
75
76
  componentName: "VueUiRelationCircle",
76
77
  type: "dataset"
77
78
  }) : k.dataset.forEach((e, s) => {
78
- ot({
79
+ ct({
79
80
  datasetObject: e,
80
81
  requiredAttributes: ["id", "label", "relations", "weights"]
81
82
  }).forEach((t) => {
82
- xe({
83
+ $e({
83
84
  componentName: "VueUiRelationCircle",
84
85
  type: "datasetSerieAttribute",
85
86
  property: t,
@@ -87,28 +88,28 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
87
88
  });
88
89
  });
89
90
  }), l.value.responsive) {
90
- const e = dt(() => {
91
- const { width: s, height: t } = vt({
92
- chart: S.value,
91
+ const e = vt(() => {
92
+ const { width: s, height: t } = ft({
93
+ chart: x.value,
93
94
  title: l.value.style.title.text ? ee.value : null,
94
95
  source: te.value,
95
96
  noTitle: le.value
96
97
  });
97
98
  requestAnimationFrame(() => {
98
- _.value = Math.min(s, t), u.value.width = s, u.value.height = t, $.value = _.value * l.value.style.circle.radiusProportion, x.value = [], m.value = [], he(), ge(), l.value.responsiveProportionalSizing ? (g.value = Q({
99
- relator: _.value,
99
+ C.value = Math.min(s, t), u.value.width = s, u.value.height = t, _.value = C.value * l.value.style.circle.radiusProportion, $.value = [], m.value = [], he(), ge(), l.value.responsiveProportionalSizing ? (g.value = Q({
100
+ relator: C.value,
100
101
  adjuster: l.value.style.size,
101
102
  source: l.value.style.weightLabels.size,
102
103
  threshold: 6,
103
104
  fallback: 6
104
105
  }), G.value = Q({
105
- relator: _.value,
106
+ relator: C.value,
106
107
  adjuster: l.value.style.size,
107
108
  source: l.value.style.plot.radius,
108
109
  threshold: 1,
109
110
  fallback: 1
110
111
  }), W.value = Q({
111
- relator: _.value,
112
+ relator: C.value,
112
113
  adjuster: l.value.style.size,
113
114
  source: l.value.style.labels.fontSize,
114
115
  threshold: 6,
@@ -116,32 +117,32 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
116
117
  })) : (g.value = l.value.style.weightLabels.size, G.value = l.value.style.plot.radius, W.value = l.value.style.labels.fontSize);
117
118
  });
118
119
  });
119
- b.value && (C.value && b.value.unobserve(C.value), b.value.disconnect()), b.value = new ResizeObserver(e), C.value = S.value.parentNode, b.value.observe(C.value);
120
+ b.value && (P.value && b.value.unobserve(P.value), b.value.disconnect()), b.value = new ResizeObserver(e), P.value = x.value.parentNode, b.value.observe(P.value);
120
121
  } else
121
- x.value = [], m.value = [], he(), ge();
122
+ $.value = [], m.value = [], he(), ge();
122
123
  }
123
- Ze(() => {
124
- document.getElementById(`relation_circle_${A.value}`).removeEventListener("click", ye), b.value && (C.value && b.value.unobserve(C.value), b.value.disconnect());
124
+ et(() => {
125
+ document.getElementById(`relation_circle_${I.value}`).removeEventListener("click", ye), b.value && (P.value && b.value.unobserve(P.value), b.value.disconnect());
125
126
  });
126
127
  function ye(e) {
127
128
  const s = e.target;
128
- s && Array.from(s.classList).includes("vue-ui-user-options") || s && Array.from(s.classList).includes("vue-ui-user-options-summary") || s && Array.from(s.classList).includes("vue-data-ui-button") || s && Array.from(s.classList).includes("vue-ui-relation-circle-legend") || (c.value = {}, p.value = []);
129
+ s && Array.from(s.classList).includes("vue-ui-user-options") || s && Array.from(s.classList).includes("vue-ui-user-options-summary") || s && Array.from(s.classList).includes("vue-data-ui-button") || s && Array.from(s.classList).includes("vue-ui-relation-circle-legend") || (d.value = {}, p.value = []);
129
130
  }
130
131
  function he() {
131
132
  const e = 6.28319 / V.value.length, s = 360 / V.value.length;
132
- let t = 0, r = 0;
133
- V.value.forEach((f, d) => {
134
- const Y = f.weights.reduce((qe, He) => qe + He, 0), q = $.value * Math.cos(t) + u.value.width / 2, Ye = $.value * Math.sin(t) + u.value.height / 2 + l.value.style.circle.offsetY;
135
- x.value.push({ x: q, y: Ye, ...f, color: f.color ? f.color : ve.value[d] ? ve.value[d] : we[d], regAngle: r, totalWeight: Y }), t += e, r += s;
133
+ let t = 0, a = 0;
134
+ V.value.forEach((f, c) => {
135
+ const Y = f.weights.reduce((He, Je) => He + Je, 0), q = _.value * Math.cos(t) + u.value.width / 2, qe = _.value * Math.sin(t) + u.value.height / 2 + l.value.style.circle.offsetY;
136
+ $.value.push({ x: q, y: qe, ...f, color: f.color ? f.color : ve.value[c] ? ve.value[c] : xe[c], regAngle: a, totalWeight: Y }), t += e, a += s;
136
137
  });
137
138
  }
138
- function Te(e, s) {
139
- const t = (e.x + s.x) / 2, r = (e.y + s.y) / 2;
140
- return { x: t, y: r };
139
+ function Ne(e, s) {
140
+ const t = (e.x + s.x) / 2, a = (e.y + s.y) / 2;
141
+ return { x: t, y: a };
141
142
  }
142
143
  function ge() {
143
- m.value = [], x.value.forEach((e) => {
144
- x.value.filter((t) => t.relations.includes(e.id)).forEach((t, r) => {
144
+ m.value = [], $.value.forEach((e) => {
145
+ $.value.filter((t) => t.relations.includes(e.id)).forEach((t, a) => {
145
146
  const f = t.relations.indexOf(e.id);
146
147
  m.value.push({
147
148
  weight: t.weights[f] ? t.weights[f] : 0,
@@ -152,8 +153,8 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
152
153
  y2: t.y,
153
154
  colorSource: e.color,
154
155
  colorTarget: t.color,
155
- midPointLine: Te({ x: e.x, y: e.y }, { x: t.x, y: t.y }),
156
- midPointBezier: Ne({
156
+ midPointLine: Ne({ x: e.x, y: e.y }, { x: t.x, y: t.y }),
157
+ midPointBezier: je({
157
158
  x1: e.x,
158
159
  x2: t.x,
159
160
  y1: e.y,
@@ -164,88 +165,102 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
164
165
  });
165
166
  });
166
167
  }
167
- function Ne(e) {
168
- const s = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, r = { x: e.x1, y: e.y1 }, f = {
168
+ function je(e) {
169
+ const s = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, a = { x: e.x1, y: e.y1 }, f = {
169
170
  x: u.value.width / 2,
170
171
  y: u.value.height / 2 + l.value.style.circle.offsetY
171
- }, d = 0.5, Y = Math.pow(1 - d, 3) * s.x + 3 * Math.pow(1 - d, 2) * d * r.x + 3 * (1 - d) * Math.pow(d, 2) * f.x + Math.pow(d, 3) * t.x, q = Math.pow(1 - d, 3) * s.y + 3 * Math.pow(1 - d, 2) * d * r.y + 3 * (1 - d) * Math.pow(d, 2) * f.y + Math.pow(d, 3) * t.y;
172
+ }, c = 0.5, Y = Math.pow(1 - c, 3) * s.x + 3 * Math.pow(1 - c, 2) * c * a.x + 3 * (1 - c) * Math.pow(c, 2) * f.x + Math.pow(c, 3) * t.x, q = Math.pow(1 - c, 3) * s.y + 3 * Math.pow(1 - c, 2) * c * a.y + 3 * (1 - c) * Math.pow(c, 2) * f.y + Math.pow(c, 3) * t.y;
172
173
  return { x: Y, y: q };
173
174
  }
174
- const je = y(() => Math.max(...m.value.map((e) => e.weight)));
175
- function Ue(e) {
176
- return Object.hasOwn(c.value, "x") ? p.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
175
+ const Ue = y(() => Math.max(...m.value.map((e) => e.weight)));
176
+ function Ve(e) {
177
+ return Object.hasOwn(d.value, "x") ? p.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
177
178
  }
178
179
  function w(e) {
179
180
  return e.colorSource;
180
181
  }
181
182
  function me(e) {
182
- return Object.hasOwn(c.value, "x") ? p.value.includes(e.id) && e.relationId === `${e.id}_${c.value.id}` || e.relationId === `${c.value.id}_${e.id}` ? `opacity:1;stroke-width:${D(e)}` : "opacity: 0" : "opacity: 1";
183
+ return Object.hasOwn(d.value, "x") ? p.value.includes(e.id) && e.relationId === `${e.id}_${d.value.id}` || e.relationId === `${d.value.id}_${e.id}` ? `opacity:1;stroke-width:${D(e)}` : "opacity: 0" : "opacity: 1";
183
184
  }
184
- function P(e) {
185
- return Object.hasOwn(c.value, "x") ? !!(p.value.includes(e.id) && e.relationId === `${e.id}_${c.value.id}` || e.relationId === `${c.value.id}_${e.id}`) : !1;
186
- }
187
- function Ve(e) {
188
- return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
185
+ function L(e) {
186
+ return Object.hasOwn(d.value, "x") ? !!(p.value.includes(e.id) && e.relationId === `${e.id}_${d.value.id}` || e.relationId === `${d.value.id}_${e.id}`) : !1;
189
187
  }
190
188
  function Ge(e) {
191
- return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
189
+ return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
192
190
  }
193
191
  function We(e) {
194
- return Object.hasOwn(c.value, "x") ? c.value.id === e.id || p.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
192
+ return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
195
193
  }
196
194
  function De(e) {
195
+ return Object.hasOwn(d.value, "x") ? d.value.id === e.id || p.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
196
+ }
197
+ function Xe(e) {
197
198
  return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
198
199
  }
199
200
  function pe(e) {
200
- Me.value = 360 - e.regAngle, c.value.id && e.id === c.value.id ? (c.value = {}, p.value = []) : (c.value = e, p.value = [...e.relations]);
201
+ Re.value = 360 - e.regAngle, d.value.id && e.id === d.value.id ? (d.value = {}, p.value = []) : (d.value = e, p.value = [...e.relations]);
201
202
  }
202
203
  function D(e) {
203
- const s = e.weight / je.value * l.value.style.links.maxWidth;
204
+ const s = e.weight / Ue.value * l.value.style.links.maxWidth;
204
205
  return Math.max(0.3, s);
205
206
  }
206
207
  const M = o(!1);
207
- function Xe(e) {
208
+ function ke(e) {
208
209
  M.value = e, Z.value += 1;
209
210
  }
210
- const F = o(!1);
211
+ const R = o(!1);
211
212
  function X() {
212
- F.value = !F.value;
213
+ R.value = !R.value;
214
+ }
215
+ async function Ye({ scale: e = 2 } = {}) {
216
+ if (!x.value) return;
217
+ const { width: s, height: t } = x.value.getBoundingClientRect(), a = s / t, { imageUri: f, base64: c } = await pt({ domElement: x.value, base64: !0, img: !0, scale: e });
218
+ return {
219
+ imageUri: f,
220
+ base64: c,
221
+ title: l.value.style.title.text,
222
+ width: s,
223
+ height: t,
224
+ aspectRatio: a
225
+ };
213
226
  }
214
- return Pe({
227
+ return Le({
228
+ getImage: Ye,
215
229
  generatePdf: ce,
216
230
  generateImage: de,
217
- toggleAnnotator: X
218
- }), (e, s) => (i(), n("div", {
231
+ toggleAnnotator: X,
232
+ toggleFullscreen: ke
233
+ }), (e, s) => (i(), r("div", {
219
234
  ref_key: "relationCircleChart",
220
- ref: S,
235
+ ref: x,
221
236
  class: "vue-ui-relation-circle",
222
- style: L(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
223
- id: `relation_circle_${A.value}`,
224
- onMouseenter: s[0] || (s[0] = () => a(ie)(!0)),
225
- onMouseleave: s[1] || (s[1] = () => a(ie)(!1))
237
+ style: O(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
238
+ id: `relation_circle_${I.value}`,
239
+ onMouseenter: s[0] || (s[0] = () => n(ie)(!0)),
240
+ onMouseleave: s[1] || (s[1] = () => n(ie)(!1))
226
241
  }, [
227
- l.value.userOptions.buttons.annotator ? (i(), R(a(Oe), {
242
+ l.value.userOptions.buttons.annotator ? (i(), F(n(ze), {
228
243
  key: 0,
229
- svgRef: a(ne),
244
+ svgRef: n(ne),
230
245
  backgroundColor: l.value.style.backgroundColor,
231
246
  color: l.value.style.color,
232
- active: F.value,
247
+ active: R.value,
233
248
  onClose: X
234
249
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
235
- Se.value ? (i(), n("div", {
250
+ Me.value ? (i(), r("div", {
236
251
  key: 1,
237
252
  ref_key: "noTitle",
238
253
  ref: le,
239
254
  class: "vue-data-ui-no-title-space",
240
255
  style: "height:36px; width: 100%;background:transparent"
241
256
  }, null, 512)) : v("", !0),
242
- l.value.style.title.text ? (i(), n("div", {
257
+ l.value.style.title.text ? (i(), r("div", {
243
258
  key: 2,
244
259
  ref_key: "chartTitle",
245
260
  ref: ee,
246
261
  style: "width:100%;background:transparent"
247
262
  }, [
248
- (i(), R(gt, {
263
+ (i(), F(mt, {
249
264
  key: `title_${se.value}`,
250
265
  config: {
251
266
  title: {
@@ -259,82 +274,82 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
259
274
  }
260
275
  }, null, 8, ["config"]))
261
276
  ], 512)) : v("", !0),
262
- l.value.userOptions.show && j.value && (a(ae) || a(U)) ? (i(), R(a(Ae), {
277
+ l.value.userOptions.show && j.value && (n(ae) || n(U)) ? (i(), F(n(Ie), {
263
278
  ref: "details",
264
279
  key: `user_options_${Z.value}`,
265
280
  backgroundColor: l.value.style.backgroundColor,
266
281
  color: l.value.style.color,
267
- isPrinting: a(ue),
268
- isImaging: a(oe),
269
- uid: A.value,
282
+ isPrinting: n(ue),
283
+ isImaging: n(oe),
284
+ uid: I.value,
270
285
  hasPdf: l.value.userOptions.buttons.pdf,
271
286
  hasImg: l.value.userOptions.buttons.img,
272
287
  hasFullscreen: l.value.userOptions.buttons.img,
273
288
  hasXls: !1,
274
289
  isFullscreen: M.value,
275
290
  titles: { ...l.value.userOptions.buttonTitles },
276
- chartElement: S.value,
291
+ chartElement: x.value,
277
292
  position: l.value.userOptions.position,
278
293
  hasAnnotator: l.value.userOptions.buttons.annotator,
279
- isAnnotation: F.value,
294
+ isAnnotation: R.value,
280
295
  callbacks: l.value.userOptions.callbacks,
281
296
  printScale: l.value.userOptions.print.scale,
282
- onToggleFullscreen: Xe,
283
- onGeneratePdf: a(ce),
284
- onGenerateImage: a(de),
297
+ onToggleFullscreen: ke,
298
+ onGeneratePdf: n(ce),
299
+ onGenerateImage: n(de),
285
300
  onToggleAnnotator: X,
286
- style: L({
287
- visibility: a(ae) ? a(U) ? "visible" : "hidden" : "visible"
301
+ style: O({
302
+ visibility: n(ae) ? n(U) ? "visible" : "hidden" : "visible"
288
303
  })
289
- }, et({ _: 2 }, [
304
+ }, tt({ _: 2 }, [
290
305
  e.$slots.menuIcon ? {
291
306
  name: "menuIcon",
292
- fn: I(({ isOpen: t, color: r }) => [
293
- h(e.$slots, "menuIcon", B(T({ isOpen: t, color: r })), void 0, !0)
307
+ fn: S(({ isOpen: t, color: a }) => [
308
+ h(e.$slots, "menuIcon", B(T({ isOpen: t, color: a })), void 0, !0)
294
309
  ]),
295
310
  key: "0"
296
311
  } : void 0,
297
312
  e.$slots.optionPdf ? {
298
313
  name: "optionPdf",
299
- fn: I(() => [
314
+ fn: S(() => [
300
315
  h(e.$slots, "optionPdf", {}, void 0, !0)
301
316
  ]),
302
317
  key: "1"
303
318
  } : void 0,
304
319
  e.$slots.optionImg ? {
305
320
  name: "optionImg",
306
- fn: I(() => [
321
+ fn: S(() => [
307
322
  h(e.$slots, "optionImg", {}, void 0, !0)
308
323
  ]),
309
324
  key: "2"
310
325
  } : void 0,
311
326
  e.$slots.optionFullscreen ? {
312
327
  name: "optionFullscreen",
313
- fn: I(({ toggleFullscreen: t, isFullscreen: r }) => [
314
- h(e.$slots, "optionFullscreen", B(T({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
328
+ fn: S(({ toggleFullscreen: t, isFullscreen: a }) => [
329
+ h(e.$slots, "optionFullscreen", B(T({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
315
330
  ]),
316
331
  key: "3"
317
332
  } : void 0,
318
333
  e.$slots.optionAnnotator ? {
319
334
  name: "optionAnnotator",
320
- fn: I(({ toggleAnnotator: t, isAnnotator: r }) => [
321
- h(e.$slots, "optionAnnotator", B(T({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
335
+ fn: S(({ toggleAnnotator: t, isAnnotator: a }) => [
336
+ h(e.$slots, "optionAnnotator", B(T({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
322
337
  ]),
323
338
  key: "4"
324
339
  } : void 0
325
340
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
326
- j.value ? (i(), n("svg", {
341
+ j.value ? (i(), r("svg", {
327
342
  key: 4,
328
343
  ref_key: "svgRef",
329
344
  ref: ne,
330
- xmlns: a(ct),
345
+ xmlns: n(dt),
331
346
  class: H([{ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }, "relation-circle"]),
332
347
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
333
348
  width: "100%",
334
349
  style: "user-select:none; background:transparent"
335
350
  }, [
336
- tt(a(Le)),
337
- e.$slots["chart-background"] ? (i(), n("foreignObject", {
351
+ lt(n(Oe)),
352
+ e.$slots["chart-background"] ? (i(), r("foreignObject", {
338
353
  key: 0,
339
354
  x: 0,
340
355
  y: 0,
@@ -345,29 +360,29 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
345
360
  }
346
361
  }, [
347
362
  h(e.$slots, "chart-background", {}, void 0, !0)
348
- ], 8, bt)) : v("", !0),
349
- lt("circle", {
363
+ ], 8, xt)) : v("", !0),
364
+ st("circle", {
350
365
  cx: (u.value.width <= 0 ? 1e-4 : u.value.width) / 2,
351
366
  cy: (u.value.height <= 0 ? 1e-4 : u.value.height) / 2 + l.value.style.circle.offsetY,
352
- r: $.value <= 0 ? 1e-4 : $.value,
367
+ r: _.value <= 0 ? 1e-4 : _.value,
353
368
  stroke: l.value.style.circle.stroke,
354
369
  "stroke-width": l.value.style.circle.strokeWidth,
355
370
  fill: "transparent",
356
371
  class: "main-circle"
357
- }, null, 8, wt),
358
- Fe.value ? (i(), n("g", xt, [
359
- (i(!0), n(O, null, z(m.value, (t, r) => (i(), n("path", {
360
- key: `relation_${r}`,
361
- style: L(me(t)),
372
+ }, null, 8, $t),
373
+ Ee.value ? (i(), r("g", _t, [
374
+ (i(!0), r(z, null, A(m.value, (t, a) => (i(), r("path", {
375
+ key: `relation_${a}`,
376
+ style: O(me(t)),
362
377
  stroke: w(t),
363
- class: H(["relation", { "vue-ui-relation-circle-selected": c.value.hasOwnProperty("id") && p.value.includes(t.id) }]),
378
+ class: H(["relation", { "vue-ui-relation-circle-selected": d.value.hasOwnProperty("id") && p.value.includes(t.id) }]),
364
379
  d: `M${t.x1},${t.y1} C${t.x1},${t.y1} ${u.value.width / 2},${u.value.height / 2 + l.value.style.circle.offsetY} ${t.x2},${t.y2}`,
365
380
  fill: "none",
366
381
  "stroke-width": D(t),
367
382
  "stroke-linecap": "round"
368
- }, null, 14, $t))), 128)),
369
- (i(!0), n(O, null, z(m.value, (t, r) => (i(), n("g", _t, [
370
- P(t) ? h(e.$slots, "dataLabel", be({
383
+ }, null, 14, Ct))), 128)),
384
+ (i(!0), r(z, null, A(m.value, (t, a) => (i(), r("g", Pt, [
385
+ L(t) ? h(e.$slots, "dataLabel", we({
371
386
  key: 0,
372
387
  ref_for: !0
373
388
  }, {
@@ -377,7 +392,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
377
392
  weight: t.weight,
378
393
  fontSize: g.value
379
394
  }), void 0, !0) : v("", !0),
380
- P(t) && !e.$slots.dataLabel ? (i(), n("circle", {
395
+ L(t) && !e.$slots.dataLabel ? (i(), r("circle", {
381
396
  key: 1,
382
397
  cx: t.midPointBezier.x,
383
398
  cy: t.midPointBezier.y,
@@ -385,41 +400,41 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
385
400
  r: g.value,
386
401
  stroke: l.value.style.backgroundColor,
387
402
  "stroke-width": "1"
388
- }, null, 8, Ct)) : v("", !0),
389
- P(t) && !e.$slots.dataLabel ? (i(), n("text", {
403
+ }, null, 8, Lt)) : v("", !0),
404
+ L(t) && !e.$slots.dataLabel ? (i(), r("text", {
390
405
  key: 2,
391
406
  x: t.midPointBezier.x,
392
407
  y: t.midPointBezier.y + g.value / 3,
393
- fill: a($e)(w(t)),
408
+ fill: n(_e)(w(t)),
394
409
  "text-anchor": "middle",
395
410
  "font-size": g.value
396
- }, N(a(J)(
411
+ }, N(n(J)(
397
412
  l.value.style.weightLabels.formatter,
398
413
  t.weight,
399
- a(K)({
414
+ n(K)({
400
415
  p: l.value.style.weightLabels.prefix,
401
416
  v: t.weight,
402
417
  s: l.value.style.weightLabels.suffix,
403
418
  r: l.value.style.weightLabels.rounding
404
419
  }),
405
420
  { ...t }
406
- )), 9, Pt)) : v("", !0)
421
+ )), 9, Ot)) : v("", !0)
407
422
  ]))), 256))
408
- ])) : (i(), n("g", Lt, [
409
- (i(!0), n(O, null, z(m.value, (t, r) => (i(), n("line", {
410
- key: `relation_${r}`,
423
+ ])) : (i(), r("g", zt, [
424
+ (i(!0), r(z, null, A(m.value, (t, a) => (i(), r("line", {
425
+ key: `relation_${a}`,
411
426
  stroke: w(t),
412
427
  "stroke-width": D(t),
413
- style: L(me(t)),
428
+ style: O(me(t)),
414
429
  x1: t.x1,
415
430
  x2: t.x2,
416
431
  y1: t.y1,
417
432
  y2: t.y2,
418
- class: H({ "vue-ui-relation-circle-selected": c.value.hasOwnProperty("id") && p.value.includes(t.id) }),
433
+ class: H({ "vue-ui-relation-circle-selected": d.value.hasOwnProperty("id") && p.value.includes(t.id) }),
419
434
  "stroke-linecap": "round"
420
- }, null, 14, Ot))), 128)),
421
- (i(!0), n(O, null, z(m.value, (t, r) => (i(), n("g", zt, [
422
- P(t) ? h(e.$slots, "dataLabel", be({
435
+ }, null, 14, At))), 128)),
436
+ (i(!0), r(z, null, A(m.value, (t, a) => (i(), r("g", It, [
437
+ L(t) ? h(e.$slots, "dataLabel", we({
423
438
  key: 0,
424
439
  ref_for: !0
425
440
  }, {
@@ -429,7 +444,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
429
444
  weight: t.weight,
430
445
  fontSize: g.value
431
446
  }), void 0, !0) : v("", !0),
432
- P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), n("circle", {
447
+ L(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), r("circle", {
433
448
  key: 1,
434
449
  cx: t.midPointLine.x,
435
450
  cy: t.midPointLine.y,
@@ -437,69 +452,69 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
437
452
  r: g.value,
438
453
  stroke: l.value.style.backgroundColor,
439
454
  "stroke-width": "1"
440
- }, null, 8, At)) : v("", !0),
441
- P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), n("text", {
455
+ }, null, 8, St)) : v("", !0),
456
+ L(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), r("text", {
442
457
  key: 2,
443
458
  x: t.midPointLine.x,
444
459
  y: t.midPointLine.y + g.value / 3,
445
- fill: a($e)(w(t)),
460
+ fill: n(_e)(w(t)),
446
461
  "text-anchor": "middle",
447
462
  "font-size": g.value
448
- }, N(a(J)(
463
+ }, N(n(J)(
449
464
  l.value.style.weightLabels.formatter,
450
465
  t.weight,
451
- a(K)({
466
+ n(K)({
452
467
  p: l.value.style.weightLabels.prefix,
453
468
  v: t.weight,
454
469
  s: l.value.style.weightLabels.suffix,
455
470
  r: l.value.style.weightLabels.rounding
456
471
  }),
457
472
  { ...t }
458
- )), 9, It)) : v("", !0)
473
+ )), 9, Mt)) : v("", !0)
459
474
  ]))), 256))
460
475
  ])),
461
- (i(!0), n(O, null, z(x.value, (t, r) => (i(), n("text", {
462
- key: `plot_text_${r}`,
463
- "text-anchor": Ve(t),
464
- transform: De(t),
465
- x: Ge(t),
476
+ (i(!0), r(z, null, A($.value, (t, a) => (i(), r("text", {
477
+ key: `plot_text_${a}`,
478
+ "text-anchor": Ge(t),
479
+ transform: Xe(t),
480
+ x: We(t),
466
481
  y: t.y + 5,
467
482
  onClick: (f) => pe(t),
468
483
  class: "vue-ui-relation-circle-legend",
469
484
  "transform-origin": "start",
470
- "font-weight": c.value.id === t.id ? "900" : "400",
471
- style: L(`font-family:${l.value.style.fontFamily};${We(t)}`),
485
+ "font-weight": d.value.id === t.id ? "900" : "400",
486
+ style: O(`font-family:${l.value.style.fontFamily};${De(t)}`),
472
487
  "font-size": W.value,
473
488
  fill: l.value.style.labels.color
474
- }, N(t.label) + " (" + N(a(J)(
489
+ }, N(t.label) + " (" + N(n(J)(
475
490
  l.value.style.weightLabels.formatter,
476
491
  t.totalWeight,
477
- a(K)({
492
+ n(K)({
478
493
  p: l.value.style.weightLabels.prefix,
479
494
  v: t.totalWeight,
480
495
  s: l.value.style.weightLabels.suffix,
481
496
  r: l.value.style.weightLabels.rounding
482
497
  }),
483
498
  { ...t }
484
- )) + ") ", 13, St))), 128)),
485
- (i(!0), n(O, null, z(x.value, (t, r) => (i(), n("circle", {
499
+ )) + ") ", 13, Rt))), 128)),
500
+ (i(!0), r(z, null, A($.value, (t, a) => (i(), r("circle", {
486
501
  cx: t.x,
487
502
  cy: t.y,
488
- key: `plot_${r}`,
489
- style: L(Ue(t)),
503
+ key: `plot_${a}`,
504
+ style: O(Ve(t)),
490
505
  class: "vue-ui-relation-circle-plot",
491
506
  fill: l.value.style.plot.useSerieColor ? t.color : l.value.style.plot.color,
492
507
  stroke: l.value.style.backgroundColor,
493
508
  "stroke-width": "1",
494
509
  onClick: (f) => pe(t),
495
510
  r: G.value
496
- }, null, 12, Mt))), 128)),
511
+ }, null, 12, Et))), 128)),
497
512
  h(e.$slots, "svg", { svg: u.value }, void 0, !0)
498
- ], 10, kt)) : v("", !0),
499
- e.$slots.watermark ? (i(), n("div", Ft, [
500
- h(e.$slots, "watermark", B(T({ isPrinting: a(ue) || a(oe) })), void 0, !0)
513
+ ], 10, wt)) : v("", !0),
514
+ e.$slots.watermark ? (i(), r("div", Ft, [
515
+ h(e.$slots, "watermark", B(T({ isPrinting: n(ue) || n(oe) })), void 0, !0)
501
516
  ])) : v("", !0),
502
- e.$slots.source ? (i(), n("div", {
517
+ e.$slots.source ? (i(), r("div", {
503
518
  key: 6,
504
519
  ref_key: "source",
505
520
  ref: te,
@@ -507,7 +522,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
507
522
  }, [
508
523
  h(e.$slots, "source", {}, void 0, !0)
509
524
  ], 512)) : v("", !0),
510
- j.value ? v("", !0) : (i(), R(a(ze), {
525
+ j.value ? v("", !0) : (i(), F(n(Ae), {
511
526
  key: 7,
512
527
  config: {
513
528
  type: "relationCircle",
@@ -519,9 +534,9 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
519
534
  }
520
535
  }
521
536
  }, null, 8, ["config"]))
522
- ], 44, pt));
537
+ ], 44, bt));
523
538
  }
524
- }, Dt = /* @__PURE__ */ mt(Et, [["__scopeId", "data-v-5935aa81"]]);
539
+ }, qt = /* @__PURE__ */ kt(Bt, [["__scopeId", "data-v-a4e381eb"]]);
525
540
  export {
526
- Dt as default
541
+ qt as default
527
542
  };