vue-data-ui 3.2.7 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
  8. package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
  84. package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
  90. package/dist/useSvgExport-B7-Vrjtu.js +732 -0
  91. package/dist/vue-data-ui-DLU1snC3.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
  94. package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
  95. package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
  96. package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
  97. package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
  98. package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
  99. package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
  100. package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
  101. package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
  102. package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
  104. package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
  105. package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
  106. package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
  107. package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
  108. package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
  109. package/dist/vue-ui-flow--kiGWaq4.js +931 -0
  110. package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
  111. package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
  112. package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
  113. package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
  114. package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
  115. package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
  116. package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
  117. package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
  118. package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
  119. package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
  121. package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
  123. package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
  124. package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
  125. package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
  126. package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
  127. package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
  128. package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
  129. package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
  130. package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
  131. package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
  132. package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
  133. package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
  134. package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
  135. package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
  136. package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
  137. package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
  138. package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
  139. package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
  140. package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
  141. package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
  142. package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
  143. package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
  144. package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
  145. package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
  146. package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
  147. package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
  149. package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
  150. package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
  151. package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
  152. package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
  153. package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
  154. package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-DH8opsJv.js +0 -325
  157. package/dist/vue-ui-flow-B72CBzC3.js +0 -909
  158. package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
  159. package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
@@ -1,6 +1,6 @@
1
1
  import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as j, renderList as Z, renderSlot as B, mergeProps as O, withKeys as ee } from "vue";
2
- import { c as te, o as le, f as oe, a as b, d as _, X as z, i as X, j as I } from "./lib-BEpWEyMm.js";
3
- import { u as ae, a as ie } from "./useNestedProp-BOk-tPdu.js";
2
+ import { c as te, o as le, f as oe, a as b, d as _, X as z, i as X, j as I } from "./lib-GIYcnm0E.js";
3
+ import { u as ae, a as ie } from "./useNestedProp-mxyyqd0B.js";
4
4
  import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const ne = {
6
6
  key: 0,
@@ -102,7 +102,7 @@ const ne = {
102
102
  toggleReadonly: W
103
103
  }), (l, i) => (a(), o("div", {
104
104
  style: s(`background:${e.value.style.backgroundColor};font-family:${e.value.style.fontFamily};width:100%`),
105
- class: "vue-ui-rating",
105
+ class: "vue-data-ui-component vue-ui-rating",
106
106
  onMouseover: i[4] || (i[4] = (t) => S.value = !0),
107
107
  onMouseleave: i[5] || (i[5] = (t) => {
108
108
  S.value = !1, v.value = void 0;
@@ -344,7 +344,7 @@ const ne = {
344
344
  )), 5)) : p("", !0)
345
345
  ], 36));
346
346
  }
347
- }, Ne = /* @__PURE__ */ se(Se, [["__scopeId", "data-v-e9ed619f"]]);
347
+ }, Ne = /* @__PURE__ */ se(Se, [["__scopeId", "data-v-cca0c364"]]);
348
348
  export {
349
349
  Ne as default
350
350
  };
@@ -1,20 +1,21 @@
1
- import { useCssVars as ut, computed as h, defineAsyncComponent as Z, ref as r, toRefs as ot, watch as ee, shallowRef as Le, onMounted as rt, onBeforeUnmount as ct, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as z, createBlock as N, createCommentVNode as f, createSlots as vt, withCtx as M, renderSlot as g, normalizeProps as j, guardReactiveProps as D, normalizeClass as te, createVNode as dt, createElementVNode as ft, Fragment as $, renderList as O, mergeProps as Pe, toDisplayString as U, createTextVNode as ze } from "vue";
2
- import { c as yt, t as ht, b as gt, p as Oe, e as mt, o as Se, f as Ie, g as pt, X as bt, E as Me, a as le, d as se, D as ae } from "./lib-BEpWEyMm.js";
3
- import { t as kt, u as wt } from "./useResponsive-DfdjqQps.js";
4
- import { u as xt, a as Ee } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as $t, B as At } from "./BaseScanner-BgWxam9d.js";
6
- import { u as _t } from "./usePrinter-w23K-ezx.js";
7
- import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as Pt } from "./useAutoSizeLabelsInsideViewbox-BVJkib7z.js";
10
- import zt from "./img-DjWwQXVS.js";
11
- import Ot from "./Title-DG2nloSB.js";
12
- import { t as St } from "./themes-Dw-dDudK.js";
13
- import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["cx", "cy", "r", "stroke", "stroke-width"], Rt = { key: 1 }, Tt = ["stroke", "d", "stroke-width"], Nt = { style: { "pointer-events": "none" } }, jt = ["cx", "cy", "fill", "r", "stroke"], Dt = ["x", "y", "fill", "font-size"], Ut = { key: 2 }, Vt = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Gt = { style: { "pointer-events": "none" } }, Wt = ["cx", "cy", "fill", "r", "stroke"], Xt = ["x", "y", "fill", "font-size"], Yt = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], qt = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], Ht = {
1
+ import { useCssVars as dt, computed as g, defineAsyncComponent as Z, ref as r, toRefs as ft, watch as ee, shallowRef as Le, onMounted as gt, onBeforeUnmount as yt, createElementBlock as n, openBlock as i, unref as o, normalizeStyle as z, createBlock as j, createCommentVNode as f, createSlots as ht, withCtx as M, renderSlot as h, normalizeProps as D, guardReactiveProps as U, normalizeClass as te, createVNode as mt, createElementVNode as pt, Fragment as $, renderList as O, mergeProps as Pe, toDisplayString as G, createTextVNode as ze } from "vue";
2
+ import { c as bt, t as kt, b as wt, p as Oe, e as xt, o as Se, f as Ie, g as $t, X as At, E as Me, a as le, d as se, D as ae } from "./lib-GIYcnm0E.js";
3
+ import { t as _t, u as Ct } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Lt, a as Ee } from "./useNestedProp-mxyyqd0B.js";
5
+ import { u as Pt, B as zt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Ot } from "./usePrinter-DYRFiw7X.js";
7
+ import { u as St } from "./useSvgExport-B7-Vrjtu.js";
8
+ import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as Et } from "./useAutoSizeLabelsInsideViewbox-Csv3pVmh.js";
11
+ import Bt from "./img-6wPuVVtk.js";
12
+ import Ft from "./Title-D17CJXko.js";
13
+ import { t as Tt } from "./themes-Dw-dDudK.js";
14
+ import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["cx", "cy", "r", "stroke", "stroke-width"], Gt = { key: 1 }, Vt = ["stroke", "d", "stroke-width"], Wt = { style: { "pointer-events": "none" } }, Xt = ["cx", "cy", "fill", "r", "stroke"], Yt = ["x", "y", "fill", "font-size"], qt = { key: 2 }, Ht = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Jt = { style: { "pointer-events": "none" } }, Kt = ["cx", "cy", "fill", "r", "stroke"], Qt = ["x", "y", "fill", "font-size"], Zt = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], el = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], tl = {
15
16
  key: 4,
16
17
  class: "vue-data-ui-watermark"
17
- }, Jt = {
18
+ }, ll = {
18
19
  __name: "vue-ui-relation-circle",
19
20
  props: {
20
21
  dataset: {
@@ -30,14 +31,14 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
30
31
  }
31
32
  }
32
33
  },
33
- setup(Fe, { expose: Be }) {
34
- ut((e) => ({
35
- v51791a0b: Ye.value,
36
- v501dae6a: Xe.value,
37
- v2abe5668: qe.value
34
+ setup(Be, { expose: Fe }) {
35
+ dt((e) => ({
36
+ da1d463e: Ye.value,
37
+ v7926d380: Xe.value,
38
+ a1d88bbc: qe.value
38
39
  }));
39
- const Re = Z(() => import("./PenAndPaper-CR8q353D.js")), Te = Z(() => import("./UserOptions-DsTgvAok.js")), Ne = Z(() => import("./PackageVersion-Cwrh45ON.js")), { vue_ui_relation_circle: je } = xt(), m = Fe, De = h(() => !!m.dataset && Object.keys(m.dataset).length), S = r(yt()), ie = r(0), A = r(null), ne = r(null), ue = r(null), oe = r(null), re = r(0), l = r(X()), { loading: ce, FINAL_DATASET: Ue, manualLoading: V } = $t({
40
- ...ot(m),
40
+ const Te = Z(() => import("./PenAndPaper-BxbYiPy4.js")), Re = Z(() => import("./UserOptions-B3vCIe-u.js")), Ne = Z(() => import("./PackageVersion-C9oklnuy.js")), { vue_ui_relation_circle: je } = Lt(), m = Be, De = g(() => !!m.dataset && Object.keys(m.dataset).length), S = r(bt()), ie = r(0), A = r(null), ne = r(null), oe = r(null), ue = r(null), re = r(0), l = r(X()), { loading: ce, FINAL_DATASET: Ue, manualLoading: V } = Pt({
41
+ ...ft(m),
41
42
  FINAL_CONFIG: l,
42
43
  prepareConfig: X,
43
44
  skeletonDataset: [
@@ -49,7 +50,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
49
50
  { id: "F", label: "_", relations: ["A"] },
50
51
  { id: "G", label: "_", relations: ["A"] }
51
52
  ],
52
- skeletonConfig: ht({
53
+ skeletonConfig: kt({
53
54
  defaultConfig: l.value,
54
55
  userConfig: {
55
56
  userOptions: { show: !1 },
@@ -63,7 +64,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
63
64
  }
64
65
  }
65
66
  })
66
- }), { userOptionsVisible: G, setUserOptionsVisibility: ve, keepUserOptionState: de } = Ct({ config: l.value }), { svgRef: W } = Lt({ config: l.value.style.title });
67
+ }), { userOptionsVisible: W, setUserOptionsVisibility: ve, keepUserOptionState: de } = It({ config: l.value }), { svgRef: E } = Mt({ config: l.value.style.title });
67
68
  function X() {
68
69
  const e = Ee({
69
70
  userConfig: m.config,
@@ -71,22 +72,22 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
71
72
  });
72
73
  return e.theme ? {
73
74
  ...Ee({
74
- userConfig: St.vue_ui_relation_circle[e.theme] || m.config,
75
+ userConfig: Tt.vue_ui_relation_circle[e.theme] || m.config,
75
76
  defaultConfig: e
76
77
  }),
77
- customPalette: gt[e.theme] || Oe
78
+ customPalette: wt[e.theme] || Oe
78
79
  } : e;
79
80
  }
80
81
  ee(() => m.config, (e) => {
81
- l.value = X(), G.value = !l.value.userOptions.showOnChartHover, _.value = l.value.style.size, y.value = l.value.style.weightLabels.size, F.value = l.value.style.plot.radius, I.value = l.value.style.labels.fontSize, o.value.height = l.value.style.size, o.value.width = l.value.style.size, be(), re.value += 1;
82
+ l.value = X(), W.value = !l.value.userOptions.showOnChartHover, _.value = l.value.style.size, y.value = l.value.style.weightLabels.size, F.value = l.value.style.plot.radius, I.value = l.value.style.labels.fontSize, u.value.height = l.value.style.size, u.value.width = l.value.style.size, be(), re.value += 1;
82
83
  }, { deep: !0 }), ee(() => m.dataset, (e) => {
83
84
  Array.isArray(e) && e.length > 0 && (V.value = !1);
84
85
  }, { deep: !0 });
85
- const { isPrinting: fe, isImaging: ye, generatePdf: he, generateImage: ge } = _t({
86
+ const { isPrinting: fe, isImaging: ge, generatePdf: ye, generateImage: he } = Ot({
86
87
  elementId: `relation_circle_${S.value}`,
87
88
  fileName: l.value.style.title.text || "vue-ui-relation-circle",
88
89
  options: l.value.userOptions.print
89
- }), Ve = h(() => l.value.userOptions.show && !l.value.style.title.text), me = h(() => mt(l.value.customPalette)), k = r([]), p = r([]), d = r({}), b = r([]), Ge = r(0), E = h(() => Ue.value.slice(0, l.value.style.limit).map((e) => {
90
+ }), Ge = g(() => l.value.userOptions.show && !l.value.style.title.text), me = g(() => xt(l.value.customPalette)), k = r([]), p = r([]), d = r({}), b = r([]), Ve = r(0), B = g(() => Ue.value.slice(0, l.value.style.limit).map((e) => {
90
91
  const s = Array.isArray(e.relations) ? e.relations : [];
91
92
  return {
92
93
  ...e,
@@ -94,31 +95,31 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
94
95
  relations: s
95
96
  };
96
97
  }));
97
- ee(E, () => {
98
+ ee(B, () => {
98
99
  k.value = [], p.value = [], Y(), q();
99
100
  });
100
- const _ = r(l.value.style.size), y = r(l.value.style.weightLabels.size), F = r(l.value.style.plot.radius), I = r(l.value.style.labels.fontSize), o = r({
101
+ const _ = r(l.value.style.size), y = r(l.value.style.weightLabels.size), F = r(l.value.style.plot.radius), I = r(l.value.style.labels.fontSize), u = r({
101
102
  height: l.value.style.size,
102
103
  width: l.value.style.size
103
- }), C = h({
104
+ }), C = g({
104
105
  get() {
105
106
  return _.value * l.value.style.circle.radiusProportion;
106
107
  },
107
108
  set(e) {
108
109
  return e;
109
110
  }
110
- }), We = h(() => l.value.style.links.curved), Xe = h(() => `${l.value.style.animation.speedMs}ms`), Ye = h(() => C.value * 2), qe = h(() => C.value * 4), w = Le(null), L = Le(null);
111
- rt(() => {
111
+ }), We = g(() => l.value.style.links.curved), Xe = g(() => `${l.value.style.animation.speedMs}ms`), Ye = g(() => C.value * 2), qe = g(() => C.value * 4), w = Le(null), L = Le(null);
112
+ gt(() => {
112
113
  be(), document.getElementById(`relation_circle_${S.value}`).addEventListener("click", we);
113
114
  });
114
- const pe = h(() => l.value.debug);
115
+ const pe = g(() => l.value.debug);
115
116
  function be() {
116
117
  if (Se(m.dataset) ? (Ie({
117
118
  componentName: "VueUiRelationCircle",
118
119
  type: "dataset",
119
120
  debug: pe.value
120
121
  }), V.value = !0) : m.dataset.forEach((e, s) => {
121
- pt({
122
+ $t({
122
123
  datasetObject: e,
123
124
  requiredAttributes: ["id", "label", "relations", "weights"]
124
125
  }).forEach((t) => {
@@ -131,15 +132,15 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
131
132
  });
132
133
  });
133
134
  }), Se(m.dataset) || (V.value = l.value.loading), l.value.responsive) {
134
- const e = kt(() => {
135
- const { width: s, height: t } = wt({
135
+ const e = _t(() => {
136
+ const { width: s, height: t } = Ct({
136
137
  chart: A.value,
137
138
  title: l.value.style.title.text ? ne.value : null,
138
- source: ue.value,
139
- noTitle: oe.value
139
+ source: oe.value,
140
+ noTitle: ue.value
140
141
  });
141
142
  requestAnimationFrame(() => {
142
- _.value = Math.min(s, t), o.value.width = Math.max(0.1, s), o.value.height = Math.max(0.1, t - 12), C.value = _.value * l.value.style.circle.radiusProportion, k.value = [], p.value = [], Y(), q(), ke(), l.value.responsiveProportionalSizing ? (y.value = ae({
143
+ _.value = Math.min(s, t), u.value.width = Math.max(0.1, s), u.value.height = Math.max(0.1, t - 12), C.value = _.value * l.value.style.circle.radiusProportion, k.value = [], p.value = [], Y(), q(), ke(), l.value.responsiveProportionalSizing ? (y.value = ae({
143
144
  relator: _.value,
144
145
  adjuster: l.value.style.size,
145
146
  source: l.value.style.weightLabels.size,
@@ -165,11 +166,11 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
165
166
  k.value = [], p.value = [], Y(), q();
166
167
  ke();
167
168
  }
168
- ct(() => {
169
+ yt(() => {
169
170
  document.getElementById(`relation_circle_${S.value}`).removeEventListener("click", we), w.value && (L.value && w.value.unobserve(L.value), w.value.disconnect());
170
171
  });
171
- const { autoSizeLabels: ke } = Pt({
172
- svgRef: W,
172
+ const { autoSizeLabels: ke } = Et({
173
+ svgRef: E,
173
174
  fontSize: l.value.style.labels.fontSize,
174
175
  minFontSize: l.value.style.labels.minFontSize,
175
176
  sizeRef: I,
@@ -180,11 +181,11 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
180
181
  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 = {}, b.value = []);
181
182
  }
182
183
  function Y() {
183
- const e = 6.28319 / E.value.length, s = 360 / E.value.length;
184
+ const e = 6.28319 / B.value.length, s = 360 / B.value.length;
184
185
  let t = 0, a = 0;
185
- E.value.forEach((c, v) => {
186
- const K = c.weights.reduce((it, nt) => it + nt, 0), Q = C.value * Math.cos(t) + o.value.width / 2, at = C.value * Math.sin(t) + o.value.height / 2 + l.value.style.circle.offsetY;
187
- k.value.push({ x: Q, y: at, ...c, color: c.color ? c.color : me.value[v] ? me.value[v] : Oe[v], regAngle: a, totalWeight: K }), t += e, a += s;
186
+ B.value.forEach((c, v) => {
187
+ const K = c.weights.reduce((ct, vt) => ct + vt, 0), Q = C.value * Math.cos(t) + u.value.width / 2, rt = C.value * Math.sin(t) + u.value.height / 2 + l.value.style.circle.offsetY;
188
+ k.value.push({ x: Q, y: rt, ...c, color: c.color ? c.color : me.value[v] ? me.value[v] : Oe[v], regAngle: a, totalWeight: K }), t += e, a += s;
188
189
  });
189
190
  }
190
191
  function He(e, s) {
@@ -218,12 +219,12 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
218
219
  }
219
220
  function Je(e) {
220
221
  const s = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, a = { x: e.x1, y: e.y1 }, c = {
221
- x: o.value.width / 2,
222
- y: o.value.height / 2 + l.value.style.circle.offsetY
222
+ x: u.value.width / 2,
223
+ y: u.value.height / 2 + l.value.style.circle.offsetY
223
224
  }, v = 0.5, K = Math.pow(1 - v, 3) * s.x + 3 * Math.pow(1 - v, 2) * v * a.x + 3 * (1 - v) * Math.pow(v, 2) * c.x + Math.pow(v, 3) * t.x, Q = Math.pow(1 - v, 3) * s.y + 3 * Math.pow(1 - v, 2) * v * a.y + 3 * (1 - v) * Math.pow(v, 2) * c.y + Math.pow(v, 3) * t.y;
224
225
  return { x: K, y: Q };
225
226
  }
226
- const Ke = h(() => Math.max(...p.value.map((e) => e.weight)));
227
+ const Ke = g(() => Math.max(...p.value.map((e) => e.weight)));
227
228
  function Qe(e) {
228
229
  return Object.hasOwn(d.value, "x") ? b.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
229
230
  }
@@ -248,15 +249,15 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
248
249
  function lt(e) {
249
250
  return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
250
251
  }
251
- const B = r(null);
252
+ const T = r(null);
252
253
  function $e(e, s) {
253
- B.value = s, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: s });
254
+ T.value = s, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: s });
254
255
  }
255
256
  function Ae(e, s) {
256
- B.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: s });
257
+ T.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: s });
257
258
  }
258
259
  function _e(e, s) {
259
- l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: s }), Ge.value = 360 - e.regAngle, d.value.id && e.id === d.value.id ? (d.value = {}, b.value = []) : (d.value = e, b.value = [...e.relations]);
260
+ l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: s }), Ve.value = 360 - e.regAngle, d.value.id && e.id === d.value.id ? (d.value = {}, b.value = []) : (d.value = e, b.value = [...e.relations]);
260
261
  }
261
262
  function H(e) {
262
263
  const s = e.weight / Ke.value * l.value.style.links.maxWidth;
@@ -266,13 +267,13 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
266
267
  function Ce(e) {
267
268
  R.value = e, ie.value += 1;
268
269
  }
269
- const T = r(!1);
270
+ const N = r(!1);
270
271
  function J() {
271
- T.value = !T.value;
272
+ N.value = !N.value;
272
273
  }
273
274
  async function st({ scale: e = 2 } = {}) {
274
275
  if (!A.value) return;
275
- const { width: s, height: t } = A.value.getBoundingClientRect(), a = s / t, { imageUri: c, base64: v } = await zt({ domElement: A.value, base64: !0, img: !0, scale: e });
276
+ const { width: s, height: t } = A.value.getBoundingClientRect(), a = s / t, { imageUri: c, base64: v } = await Bt({ domElement: A.value, base64: !0, img: !0, scale: e });
276
277
  return {
277
278
  imageUri: c,
278
279
  base64: v,
@@ -282,33 +283,45 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
282
283
  aspectRatio: a
283
284
  };
284
285
  }
285
- return Be({
286
+ const at = g(() => l.value.style.backgroundColor), it = g(() => l.value.style.title), { exportSvg: nt, getSvg: ot } = St({
287
+ svg: E,
288
+ title: it,
289
+ backgroundColor: at
290
+ });
291
+ async function ut({ isCb: e }) {
292
+ if (e) {
293
+ const { blob: s, url: t, text: a, dataUrl: c } = await ot();
294
+ l.value.userOptions.callbacks.svg({ blob: s, url: t, text: a, dataUrl: c });
295
+ } else
296
+ nt();
297
+ }
298
+ return Fe({
286
299
  getImage: st,
287
- generatePdf: he,
288
- generateImage: ge,
300
+ generatePdf: ye,
301
+ generateImage: he,
289
302
  toggleAnnotator: J,
290
303
  toggleFullscreen: Ce
291
304
  }), (e, s) => (i(), n("div", {
292
305
  ref_key: "relationCircleChart",
293
306
  ref: A,
294
- class: "vue-ui-relation-circle",
307
+ class: "vue-data-ui-component vue-ui-relation-circle",
295
308
  style: z(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
296
309
  id: `relation_circle_${S.value}`,
297
- onMouseenter: s[0] || (s[0] = () => u(ve)(!0)),
298
- onMouseleave: s[1] || (s[1] = () => u(ve)(!1))
310
+ onMouseenter: s[0] || (s[0] = () => o(ve)(!0)),
311
+ onMouseleave: s[1] || (s[1] = () => o(ve)(!1))
299
312
  }, [
300
- l.value.userOptions.buttons.annotator ? (i(), N(u(Re), {
313
+ l.value.userOptions.buttons.annotator ? (i(), j(o(Te), {
301
314
  key: 0,
302
- svgRef: u(W),
315
+ svgRef: o(E),
303
316
  backgroundColor: l.value.style.backgroundColor,
304
317
  color: l.value.style.color,
305
- active: T.value,
318
+ active: N.value,
306
319
  onClose: J
307
320
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
308
- Ve.value ? (i(), n("div", {
321
+ Ge.value ? (i(), n("div", {
309
322
  key: 1,
310
323
  ref_key: "noTitle",
311
- ref: oe,
324
+ ref: ue,
312
325
  class: "vue-data-ui-no-title-space",
313
326
  style: "height:36px; width: 100%;background:transparent"
314
327
  }, null, 512)) : f("", !0),
@@ -318,7 +331,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
318
331
  ref: ne,
319
332
  style: "width:100%;background:transparent"
320
333
  }, [
321
- (i(), N(Ot, {
334
+ (i(), j(Ft, {
322
335
  key: `title_${re.value}`,
323
336
  config: {
324
337
  title: {
@@ -332,16 +345,17 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
332
345
  }
333
346
  }, null, 8, ["config"]))
334
347
  ], 512)) : f("", !0),
335
- l.value.userOptions.show && De.value && (u(de) || u(G)) ? (i(), N(u(Te), {
348
+ l.value.userOptions.show && De.value && (o(de) || o(W)) ? (i(), j(o(Re), {
336
349
  ref: "details",
337
350
  key: `user_options_${ie.value}`,
338
351
  backgroundColor: l.value.style.backgroundColor,
339
352
  color: l.value.style.color,
340
- isPrinting: u(fe),
341
- isImaging: u(ye),
353
+ isPrinting: o(fe),
354
+ isImaging: o(ge),
342
355
  uid: S.value,
343
356
  hasPdf: l.value.userOptions.buttons.pdf,
344
357
  hasImg: l.value.userOptions.buttons.img,
358
+ hasSvg: l.value.userOptions.buttons.svg,
345
359
  hasFullscreen: l.value.userOptions.buttons.img,
346
360
  hasXls: !1,
347
361
  isFullscreen: R.value,
@@ -349,97 +363,98 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
349
363
  chartElement: A.value,
350
364
  position: l.value.userOptions.position,
351
365
  hasAnnotator: l.value.userOptions.buttons.annotator,
352
- isAnnotation: T.value,
366
+ isAnnotation: N.value,
353
367
  callbacks: l.value.userOptions.callbacks,
354
368
  printScale: l.value.userOptions.print.scale,
355
369
  onToggleFullscreen: Ce,
356
- onGeneratePdf: u(he),
357
- onGenerateImage: u(ge),
370
+ onGeneratePdf: o(ye),
371
+ onGenerateImage: o(he),
372
+ onGenerateSvg: ut,
358
373
  onToggleAnnotator: J,
359
374
  style: z({
360
- visibility: u(de) ? u(G) ? "visible" : "hidden" : "visible"
375
+ visibility: o(de) ? o(W) ? "visible" : "hidden" : "visible"
361
376
  })
362
- }, vt({ _: 2 }, [
377
+ }, ht({ _: 2 }, [
363
378
  e.$slots.menuIcon ? {
364
379
  name: "menuIcon",
365
380
  fn: M(({ isOpen: t, color: a }) => [
366
- g(e.$slots, "menuIcon", j(D({ isOpen: t, color: a })), void 0, !0)
381
+ h(e.$slots, "menuIcon", D(U({ isOpen: t, color: a })), void 0, !0)
367
382
  ]),
368
383
  key: "0"
369
384
  } : void 0,
370
385
  e.$slots.optionPdf ? {
371
386
  name: "optionPdf",
372
387
  fn: M(() => [
373
- g(e.$slots, "optionPdf", {}, void 0, !0)
388
+ h(e.$slots, "optionPdf", {}, void 0, !0)
374
389
  ]),
375
390
  key: "1"
376
391
  } : void 0,
377
392
  e.$slots.optionImg ? {
378
393
  name: "optionImg",
379
394
  fn: M(() => [
380
- g(e.$slots, "optionImg", {}, void 0, !0)
395
+ h(e.$slots, "optionImg", {}, void 0, !0)
381
396
  ]),
382
397
  key: "2"
383
398
  } : void 0,
384
399
  e.$slots.optionFullscreen ? {
385
400
  name: "optionFullscreen",
386
401
  fn: M(({ toggleFullscreen: t, isFullscreen: a }) => [
387
- g(e.$slots, "optionFullscreen", j(D({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
402
+ h(e.$slots, "optionFullscreen", D(U({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
388
403
  ]),
389
404
  key: "3"
390
405
  } : void 0,
391
406
  e.$slots.optionAnnotator ? {
392
407
  name: "optionAnnotator",
393
408
  fn: M(({ toggleAnnotator: t, isAnnotator: a }) => [
394
- g(e.$slots, "optionAnnotator", j(D({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
409
+ h(e.$slots, "optionAnnotator", D(U({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
395
410
  ]),
396
411
  key: "4"
397
412
  } : void 0
398
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
413
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
399
414
  (i(), n("svg", {
400
415
  ref_key: "svgRef",
401
- ref: W,
402
- xmlns: u(bt),
416
+ ref: E,
417
+ xmlns: o(At),
403
418
  class: te([{ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }, "relation-circle"]),
404
- viewBox: `0 0 ${o.value.width <= 0 ? 10 : o.value.width} ${o.value.height <= 0 ? 10 : o.value.height}`,
419
+ viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
405
420
  width: "100%",
406
421
  style: "user-select:none; background:transparent"
407
422
  }, [
408
- dt(u(Ne)),
423
+ mt(o(Ne)),
409
424
  e.$slots["chart-background"] ? (i(), n("foreignObject", {
410
425
  key: 0,
411
426
  x: 0,
412
427
  y: 0,
413
- width: o.value.width <= 0 ? 10 : o.value.width,
414
- height: o.value.height <= 0 ? 10 : o.value.height,
428
+ width: u.value.width <= 0 ? 10 : u.value.width,
429
+ height: u.value.height <= 0 ? 10 : u.value.height,
415
430
  style: {
416
431
  pointerEvents: "none"
417
432
  }
418
433
  }, [
419
- g(e.$slots, "chart-background", {}, void 0, !0)
420
- ], 8, Ft)) : f("", !0),
421
- ft("circle", {
422
- cx: (o.value.width <= 0 ? 1e-4 : o.value.width) / 2,
423
- cy: (o.value.height <= 0 ? 1e-4 : o.value.height) / 2 + l.value.style.circle.offsetY,
434
+ h(e.$slots, "chart-background", {}, void 0, !0)
435
+ ], 8, Dt)) : f("", !0),
436
+ pt("circle", {
437
+ cx: (u.value.width <= 0 ? 1e-4 : u.value.width) / 2,
438
+ cy: (u.value.height <= 0 ? 1e-4 : u.value.height) / 2 + l.value.style.circle.offsetY,
424
439
  r: C.value <= 0 ? 1e-4 : C.value,
425
440
  stroke: l.value.style.circle.stroke,
426
441
  "stroke-width": l.value.style.circle.strokeWidth,
427
442
  fill: "transparent",
428
443
  class: "main-circle"
429
- }, null, 8, Bt),
430
- We.value ? (i(), n("g", Rt, [
444
+ }, null, 8, Ut),
445
+ We.value ? (i(), n("g", Gt, [
431
446
  (i(!0), n($, null, O(p.value, (t, a) => (i(), n("path", {
432
447
  key: `relation_${a}`,
433
448
  style: z(xe(t)),
434
449
  stroke: x(t),
435
450
  class: te(["relation", { "vue-ui-relation-circle-selected": d.value.hasOwnProperty("id") && b.value.includes(t.id) }]),
436
- d: `M${t.x1},${t.y1} C${t.x1},${t.y1} ${o.value.width / 2},${o.value.height / 2 + l.value.style.circle.offsetY} ${t.x2},${t.y2}`,
451
+ 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}`,
437
452
  fill: "none",
438
453
  "stroke-width": H(t),
439
454
  "stroke-linecap": "round"
440
- }, null, 14, Tt))), 128)),
441
- (i(!0), n($, null, O(p.value, (t, a) => (i(), n("g", Nt, [
442
- P(t) ? g(e.$slots, "dataLabel", Pe({
455
+ }, null, 14, Vt))), 128)),
456
+ (i(!0), n($, null, O(p.value, (t, a) => (i(), n("g", Wt, [
457
+ P(t) ? h(e.$slots, "dataLabel", Pe({
443
458
  key: 0,
444
459
  ref_for: !0
445
460
  }, {
@@ -457,27 +472,27 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
457
472
  r: y.value,
458
473
  stroke: l.value.style.backgroundColor,
459
474
  "stroke-width": "1"
460
- }, null, 8, jt)) : f("", !0),
475
+ }, null, 8, Xt)) : f("", !0),
461
476
  P(t) && !e.$slots.dataLabel ? (i(), n("text", {
462
477
  key: 2,
463
478
  x: t.midPointBezier.x,
464
479
  y: t.midPointBezier.y + y.value / 3,
465
- fill: u(Me)(x(t)),
480
+ fill: o(Me)(x(t)),
466
481
  "text-anchor": "middle",
467
482
  "font-size": y.value
468
- }, U(u(le)(
483
+ }, G(o(le)(
469
484
  l.value.style.weightLabels.formatter,
470
485
  t.weight,
471
- u(se)({
486
+ o(se)({
472
487
  p: l.value.style.weightLabels.prefix,
473
488
  v: t.weight,
474
489
  s: l.value.style.weightLabels.suffix,
475
490
  r: l.value.style.weightLabels.rounding
476
491
  }),
477
492
  { ...t }
478
- )), 9, Dt)) : f("", !0)
493
+ )), 9, Yt)) : f("", !0)
479
494
  ]))), 256))
480
- ])) : (i(), n("g", Ut, [
495
+ ])) : (i(), n("g", qt, [
481
496
  (i(!0), n($, null, O(p.value, (t, a) => (i(), n("line", {
482
497
  key: `relation_${a}`,
483
498
  stroke: x(t),
@@ -489,9 +504,9 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
489
504
  y2: t.y2,
490
505
  class: te({ "vue-ui-relation-circle-selected": d.value.hasOwnProperty("id") && b.value.includes(t.id) }),
491
506
  "stroke-linecap": "round"
492
- }, null, 14, Vt))), 128)),
493
- (i(!0), n($, null, O(p.value, (t, a) => (i(), n("g", Gt, [
494
- P(t) ? g(e.$slots, "dataLabel", Pe({
507
+ }, null, 14, Ht))), 128)),
508
+ (i(!0), n($, null, O(p.value, (t, a) => (i(), n("g", Jt, [
509
+ P(t) ? h(e.$slots, "dataLabel", Pe({
495
510
  key: 0,
496
511
  ref_for: !0
497
512
  }, {
@@ -509,25 +524,25 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
509
524
  r: y.value,
510
525
  stroke: l.value.style.backgroundColor,
511
526
  "stroke-width": "1"
512
- }, null, 8, Wt)) : f("", !0),
527
+ }, null, 8, Kt)) : f("", !0),
513
528
  P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), n("text", {
514
529
  key: 2,
515
530
  x: t.midPointLine.x,
516
531
  y: t.midPointLine.y + y.value / 3,
517
- fill: u(Me)(x(t)),
532
+ fill: o(Me)(x(t)),
518
533
  "text-anchor": "middle",
519
534
  "font-size": y.value
520
- }, U(u(le)(
535
+ }, G(o(le)(
521
536
  l.value.style.weightLabels.formatter,
522
537
  t.weight,
523
- u(se)({
538
+ o(se)({
524
539
  p: l.value.style.weightLabels.prefix,
525
540
  v: t.weight,
526
541
  s: l.value.style.weightLabels.suffix,
527
542
  r: l.value.style.weightLabels.rounding
528
543
  }),
529
544
  { ...t }
530
- )), 9, Xt)) : f("", !0)
545
+ )), 9, Qt)) : f("", !0)
531
546
  ]))), 256))
532
547
  ])),
533
548
  (i(!0), n($, null, O(k.value, (t, a) => (i(), n("text", {
@@ -542,18 +557,18 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
542
557
  style: z(`font-family:${l.value.style.fontFamily};${tt(t)}`),
543
558
  "font-size": I.value,
544
559
  fill: l.value.style.labels.color,
545
- "text-decoration": a === B.value ? "underline" : void 0,
560
+ "text-decoration": a === T.value ? "underline" : void 0,
546
561
  onClick: (c) => _e(t, a),
547
562
  onMouseenter: (c) => $e(t, a),
548
563
  onMouseleave: (c) => Ae(t, a)
549
564
  }, [
550
- u(ce) ? (i(), n($, { key: 0 }, [
565
+ o(ce) ? (i(), n($, { key: 0 }, [
551
566
  ze(" -------- ")
552
567
  ], 64)) : (i(), n($, { key: 1 }, [
553
- ze(U(t.label) + " (" + U(u(le)(
568
+ ze(G(t.label) + " (" + G(o(le)(
554
569
  l.value.style.weightLabels.formatter,
555
570
  t.totalWeight,
556
- u(se)({
571
+ o(se)({
557
572
  p: l.value.style.weightLabels.prefix,
558
573
  v: t.totalWeight,
559
574
  s: l.value.style.weightLabels.suffix,
@@ -562,7 +577,7 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
562
577
  { ...t }
563
578
  )) + ") ", 1)
564
579
  ], 64))
565
- ], 44, Yt))), 128)),
580
+ ], 44, Zt))), 128)),
566
581
  (i(!0), n($, null, O(k.value, (t, a) => (i(), n("circle", {
567
582
  cx: t.x,
568
583
  cy: t.y,
@@ -572,28 +587,28 @@ const Mt = ["id"], Et = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["c
572
587
  fill: l.value.style.plot.useSerieColor ? t.color : l.value.style.plot.color,
573
588
  stroke: l.value.style.backgroundColor,
574
589
  "stroke-width": "1",
575
- r: F.value * (a === B.value ? 2 : 1),
590
+ r: F.value * (a === T.value ? 2 : 1),
576
591
  onClick: (c) => _e(t, a),
577
592
  onMouseenter: (c) => $e(t, a),
578
593
  onMouseleave: (c) => Ae(t, a)
579
- }, null, 44, qt))), 128)),
580
- g(e.$slots, "svg", { svg: o.value }, void 0, !0)
581
- ], 10, Et)),
582
- e.$slots.watermark ? (i(), n("div", Ht, [
583
- g(e.$slots, "watermark", j(D({ isPrinting: u(fe) || u(ye) })), void 0, !0)
594
+ }, null, 44, el))), 128)),
595
+ h(e.$slots, "svg", { svg: u.value }, void 0, !0)
596
+ ], 10, jt)),
597
+ e.$slots.watermark ? (i(), n("div", tl, [
598
+ h(e.$slots, "watermark", D(U({ isPrinting: o(fe) || o(ge) })), void 0, !0)
584
599
  ])) : f("", !0),
585
600
  e.$slots.source ? (i(), n("div", {
586
601
  key: 5,
587
602
  ref_key: "source",
588
- ref: ue,
603
+ ref: oe,
589
604
  dir: "auto"
590
605
  }, [
591
- g(e.$slots, "source", {}, void 0, !0)
606
+ h(e.$slots, "source", {}, void 0, !0)
592
607
  ], 512)) : f("", !0),
593
- u(ce) ? (i(), N(At, { key: 6 })) : f("", !0)
594
- ], 44, Mt));
608
+ o(ce) ? (i(), j(zt, { key: 6 })) : f("", !0)
609
+ ], 44, Nt));
595
610
  }
596
- }, cl = /* @__PURE__ */ It(Jt, [["__scopeId", "data-v-72b30f4c"]]);
611
+ }, ml = /* @__PURE__ */ Rt(ll, [["__scopeId", "data-v-21882da7"]]);
597
612
  export {
598
- cl as default
613
+ ml as default
599
614
  };