vue-data-ui 3.5.2 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +36 -27
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ymf2sfB8.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-BmMbm4d0.js → BaseIcon-CofSxalQ.js} +6 -5
  5. package/dist/{ColorPicker-ChuwChMo.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-BT7VF2ua.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-G6GMcdAc.js → Legend-Web3GjlR.js} +10 -10
  8. package/dist/{NonSvgPenAndPaper-DVgKKLIf.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-Y7t79Jtq.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-SZQIAgkg.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-D2wm0coO.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-ij72TAs6.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-BzH_LEA3.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-CGnQt6Fd.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +5 -0
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +303 -9
  90. package/dist/types/vue-ui-stackline.d.ts +18 -0
  91. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  92. package/dist/{useNestedProp-CReNavA0.js → useNestedProp-CWo6bftQ.js} +535 -329
  93. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  94. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  95. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  96. package/dist/{vue-data-ui-BRaq4hRp.js → vue-data-ui-ByLTJx5V.js} +79 -77
  97. package/dist/vue-data-ui.js +226 -204
  98. package/dist/{vue-ui-3d-bar-BB4ii8Nt.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  99. package/dist/{vue-ui-accordion-BmFTVF1a.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  100. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  101. package/dist/{vue-ui-annotator-CcpaXBNK.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  102. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  103. package/dist/{vue-ui-candlestick-CMP7UL6z.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  104. package/dist/{vue-ui-carousel-table-CzOcKsDj.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  105. package/dist/{vue-ui-chestnut-S787oASt.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  106. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  107. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  108. package/dist/{vue-ui-cursor-C3yD_TUr.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  109. package/dist/{vue-ui-dashboard-BfEcVRxQ.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  110. package/dist/{vue-ui-digits-pRh179Gg.js → vue-ui-digits-D382I0-w.js} +2 -2
  111. package/dist/{vue-ui-donut-B_tEm4dT.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  112. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  113. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  114. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  115. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  116. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  117. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  118. package/dist/{vue-ui-gizmo-BQzQlUJ8.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  119. package/dist/{vue-ui-heatmap-C9MhHWpp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  120. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  121. package/dist/{vue-ui-kpi-jcrPjW4C.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  122. package/dist/{vue-ui-mini-loader-DTM98mRN.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  123. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  124. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  125. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  126. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  127. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  128. package/dist/{vue-ui-quadrant-CeM23s0z.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  129. package/dist/{vue-ui-quick-chart-C0RMQzjC.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  130. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  131. package/dist/{vue-ui-rating-tj97undO.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  132. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  133. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  134. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  135. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  136. package/dist/{vue-ui-skeleton-87TORm6s.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  137. package/dist/{vue-ui-smiley-B74geHT3.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  138. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  139. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  140. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  141. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  142. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  143. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  144. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  145. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  146. package/dist/{vue-ui-strip-plot-C1N2n39d.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  147. package/dist/{vue-ui-table-CcuoPHgI.js → vue-ui-table-DMM090pe.js} +5 -5
  148. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  149. package/dist/{vue-ui-table-sparkline-BAxmZRff.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  150. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  151. package/dist/{vue-ui-timer-BVsUQJz_.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  152. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  153. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  154. package/dist/{vue-ui-vertical-bar-B3gfBqD_.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  155. package/dist/{vue-ui-waffle-Bhlqo4xM.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  156. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  157. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  158. package/dist/{vue-ui-world-C8KVyDim.js → vue-ui-world-CVLlgp2f.js} +57 -57
  159. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  160. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  161. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  162. package/package.json +5 -5
  163. package/dist/themes-AUNCOb2G.js +0 -53
  164. package/dist/vue-ui-age-pyramid-8bUepd28.js +0 -933
  165. package/dist/vue-ui-bullet-BvT4scFv.js +0 -630
  166. package/dist/vue-ui-chord-Dl9Y4mcz.js +0 -1153
  167. package/dist/vue-ui-circle-pack-CU09BzOV.js +0 -803
  168. package/dist/vue-ui-donut-evolution-DiGhMwMO.js +0 -1208
  169. package/dist/vue-ui-dumbbell-BlF3CLbN.js +0 -1231
  170. package/dist/vue-ui-flow-BQi5L8mJ.js +0 -991
  171. package/dist/vue-ui-funnel-CM_6Sare.js +0 -716
  172. package/dist/vue-ui-galaxy-BnZA62Li.js +0 -808
  173. package/dist/vue-ui-gauge-DAk72bez.js +0 -835
  174. package/dist/vue-ui-history-plot-BYQh3E8U.js +0 -1204
  175. package/dist/vue-ui-molecule-Bd1OXvl3.js +0 -753
  176. package/dist/vue-ui-mood-radar-DuoiTsYn.js +0 -903
  177. package/dist/vue-ui-nested-donuts-BTswQFjz.js +0 -1419
  178. package/dist/vue-ui-onion-D-1U2Qgl.js +0 -915
  179. package/dist/vue-ui-parallel-coordinate-plot-D-7VFHas.js +0 -1051
  180. package/dist/vue-ui-radar-BSfxyur3.js +0 -984
  181. package/dist/vue-ui-relation-circle-C7uV2mIj.js +0 -641
  182. package/dist/vue-ui-ridgeline-CYMfTlwI.js +0 -1273
  183. package/dist/vue-ui-rings-C96aj57d.js +0 -855
  184. package/dist/vue-ui-scatter-CtvOXUnx.js +0 -1590
  185. package/dist/vue-ui-spark-trend-6_Ibziyv.js +0 -337
  186. package/dist/vue-ui-sparkbar-BDCocMLI.js +0 -352
  187. package/dist/vue-ui-sparkgauge-CQ4Zk9-f.js +0 -233
  188. package/dist/vue-ui-sparkhistogram-BlTV9wfn.js +0 -384
  189. package/dist/vue-ui-sparkline-DWESyiqL.js +0 -514
  190. package/dist/vue-ui-sparkstackbar-DK_7X8mL.js +0 -441
  191. package/dist/vue-ui-stackbar-BWuw8ff4.js +0 -1827
  192. package/dist/vue-ui-table-heatmap-C9EMEM3Z.js +0 -282
  193. package/dist/vue-ui-thermometer-CDrM-WFq.js +0 -584
  194. package/dist/vue-ui-tiremarks-BQH2pNkG.js +0 -450
  195. package/dist/vue-ui-treemap-6WLoCHsH.js +0 -1330
  196. package/dist/vue-ui-wheel-CqHw1WuW.js +0 -663
  197. package/dist/vue-ui-word-cloud-CKuWZGLv.js +0 -875
  198. package/dist/vue-ui-xy-Cz2qIEfi.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-y4h7gEFp.js +0 -1564
@@ -1,641 +0,0 @@
1
- import { useCssVars as dt, computed as y, defineAsyncComponent as Z, ref as u, toRefs as ft, watch as ee, shallowRef as Le, onMounted as gt, onBeforeUnmount as yt, createElementBlock as i, openBlock as n, unref as o, normalizeStyle as I, createBlock as D, createCommentVNode as g, withCtx as h, renderSlot as d, normalizeProps as w, guardReactiveProps as x, createSlots as ht, normalizeClass as te, createVNode as mt, createElementVNode as pt, Fragment as _, renderList as M, 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, J as Me, a as le, d as ae, R as se } from "./lib-C_mNZmhD.js";
3
- import { t as Ct, u as _t } from "./useResponsive-DfdjqQps.js";
4
- import { u as Lt, a as Ee } from "./useNestedProp-CReNavA0.js";
5
- import { u as Pt, B as zt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Ot } from "./usePrinter-DTzqpYKF.js";
7
- import { u as St } from "./useSvgExport-DrjCWun4.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-BhzfwQ_k.js";
11
- import Bt from "./img-BecE5qXd.js";
12
- import Ft from "./Title-BzH_LEA3.js";
13
- import { t as Rt } from "./themes-AUNCOb2G.js";
14
- import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["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 = {
16
- key: 4,
17
- class: "vue-data-ui-watermark"
18
- }, ll = {
19
- __name: "vue-ui-relation-circle",
20
- props: {
21
- dataset: {
22
- type: Array,
23
- default() {
24
- return [];
25
- }
26
- },
27
- config: {
28
- type: Object,
29
- default() {
30
- return {};
31
- }
32
- }
33
- },
34
- setup(Be, { expose: Fe }) {
35
- dt((e) => ({
36
- v09389e9a: Ye.value,
37
- v5c5a5379: Xe.value,
38
- v9edd1cca: qe.value
39
- }));
40
- const Re = Z(() => import("./PenAndPaper-SZQIAgkg.js")), Te = Z(() => import("./UserOptions-CGnQt6Fd.js")), Ne = Z(() => import("./PackageVersion-Y7t79Jtq.js")), { vue_ui_relation_circle: je } = Lt(), p = Be, Ue = y(() => !!p.dataset && Object.keys(p.dataset).length), E = u(bt()), ne = u(0), L = u(null), ie = u(null), oe = u(null), re = u(null), ue = u(0), l = u(X()), { loading: ce, FINAL_DATASET: De, manualLoading: V } = Pt({
41
- ...ft(p),
42
- FINAL_CONFIG: l,
43
- prepareConfig: X,
44
- skeletonDataset: [
45
- { id: "A", label: "_", relations: ["B", "C", "D", "E", "F", "G"] },
46
- { id: "B", label: "_", relations: ["A"] },
47
- { id: "C", label: "_", relations: ["A"] },
48
- { id: "D", label: "_", relations: ["A"] },
49
- { id: "E", label: "_", relations: ["A"] },
50
- { id: "F", label: "_", relations: ["A"] },
51
- { id: "G", label: "_", relations: ["A"] }
52
- ],
53
- skeletonConfig: kt({
54
- defaultConfig: l.value,
55
- userConfig: {
56
- userOptions: { show: !1 },
57
- customPalette: new Array(7).fill("#CACACA"),
58
- style: {
59
- backgroundColor: "#99999930",
60
- labels: { color: "#6A6A6A" },
61
- circle: { stroke: "#6A6A6A" },
62
- plot: { color: "#6A6A6A", useSerieColor: !0 },
63
- links: { maxWidth: 2 }
64
- }
65
- }
66
- })
67
- }), { userOptionsVisible: W, setUserOptionsVisibility: ve, keepUserOptionState: de } = It({ config: l.value }), { svgRef: F } = Mt({ config: l.value.style.title });
68
- function X() {
69
- const e = Ee({
70
- userConfig: p.config,
71
- defaultConfig: je
72
- });
73
- return e.theme ? {
74
- ...Ee({
75
- userConfig: Rt.vue_ui_relation_circle[e.theme] || p.config,
76
- defaultConfig: e
77
- }),
78
- customPalette: wt[e.theme] || Oe
79
- } : e;
80
- }
81
- ee(() => p.config, (e) => {
82
- l.value = X(), W.value = !l.value.userOptions.showOnChartHover, P.value = l.value.style.size, m.value = l.value.style.weightLabels.size, T.value = l.value.style.plot.radius, B.value = l.value.style.labels.fontSize, r.value.height = l.value.style.size, r.value.width = l.value.style.size, be(), ue.value += 1;
83
- }, { deep: !0 }), ee(() => p.dataset, (e) => {
84
- Array.isArray(e) && e.length > 0 && (V.value = !1);
85
- }, { deep: !0 });
86
- const { isPrinting: fe, isImaging: ge, generatePdf: ye, generateImage: he } = Ot({
87
- elementId: `relation_circle_${E.value}`,
88
- fileName: l.value.style.title.text || "vue-ui-relation-circle",
89
- options: l.value.userOptions.print
90
- }), Ge = y(() => l.value.userOptions.show && !l.value.style.title.text), me = y(() => xt(l.value.customPalette)), $ = u([]), b = u([]), f = u({}), k = u([]), Ve = u(0), R = y(() => De.value.slice(0, l.value.style.limit).map((e) => {
91
- const a = Array.isArray(e.relations) ? e.relations : [];
92
- return {
93
- ...e,
94
- weights: Array.isArray(e.weights) ? e.weights : new Array(a.length).fill(1),
95
- relations: a
96
- };
97
- }));
98
- ee(R, () => {
99
- $.value = [], b.value = [], Y(), q();
100
- });
101
- const P = u(l.value.style.size), m = u(l.value.style.weightLabels.size), T = u(l.value.style.plot.radius), B = u(l.value.style.labels.fontSize), r = u({
102
- height: l.value.style.size,
103
- width: l.value.style.size
104
- }), z = y({
105
- get() {
106
- return P.value * l.value.style.circle.radiusProportion;
107
- },
108
- set(e) {
109
- return e;
110
- }
111
- }), We = y(() => l.value.style.links.curved), Xe = y(() => `${l.value.style.animation.speedMs}ms`), Ye = y(() => z.value * 2), qe = y(() => z.value * 4), A = Le(null), O = Le(null);
112
- gt(() => {
113
- be(), document.getElementById(`relation_circle_${E.value}`).addEventListener("click", we);
114
- });
115
- const pe = y(() => l.value.debug);
116
- function be() {
117
- if (Se(p.dataset) ? (Ie({
118
- componentName: "VueUiRelationCircle",
119
- type: "dataset",
120
- debug: pe.value
121
- }), V.value = !0) : p.dataset.forEach((e, a) => {
122
- $t({
123
- datasetObject: e,
124
- requiredAttributes: ["id", "label", "relations", "weights"]
125
- }).forEach((t) => {
126
- Ie({
127
- componentName: "VueUiRelationCircle",
128
- type: "datasetSerieAttribute",
129
- property: t,
130
- index: a,
131
- debug: pe.value
132
- });
133
- });
134
- }), Se(p.dataset) || (V.value = l.value.loading), l.value.responsive) {
135
- const e = Ct(() => {
136
- const { width: a, height: t } = _t({
137
- chart: L.value,
138
- title: l.value.style.title.text ? ie.value : null,
139
- source: oe.value,
140
- noTitle: re.value
141
- });
142
- requestAnimationFrame(() => {
143
- P.value = Math.min(a, t), r.value.width = Math.max(0.1, a), r.value.height = Math.max(0.1, t - 12), z.value = P.value * l.value.style.circle.radiusProportion, $.value = [], b.value = [], Y(), q(), ke(), l.value.responsiveProportionalSizing ? (m.value = se({
144
- relator: P.value,
145
- adjuster: l.value.style.size,
146
- source: l.value.style.weightLabels.size,
147
- threshold: 6,
148
- fallback: 6
149
- }), T.value = se({
150
- relator: P.value,
151
- adjuster: l.value.style.size,
152
- source: l.value.style.plot.radius,
153
- threshold: 1,
154
- fallback: 1
155
- }), B.value = se({
156
- relator: P.value,
157
- adjuster: l.value.style.size,
158
- source: l.value.style.labels.fontSize,
159
- threshold: 6,
160
- fallback: 6
161
- })) : (m.value = l.value.style.weightLabels.size, T.value = l.value.style.plot.radius, B.value = l.value.style.labels.fontSize);
162
- });
163
- });
164
- A.value && (O.value && A.value.unobserve(O.value), A.value.disconnect()), A.value = new ResizeObserver(e), O.value = L.value.parentNode, A.value.observe(O.value);
165
- } else
166
- $.value = [], b.value = [], Y(), q();
167
- ke();
168
- }
169
- yt(() => {
170
- document.getElementById(`relation_circle_${E.value}`).removeEventListener("click", we), A.value && (O.value && A.value.unobserve(O.value), A.value.disconnect());
171
- });
172
- const { autoSizeLabels: ke } = Et({
173
- svgRef: F,
174
- fontSize: l.value.style.labels.fontSize,
175
- minFontSize: l.value.style.labels.minFontSize,
176
- sizeRef: B,
177
- labelClass: ".vue-ui-relation-circle-legend"
178
- });
179
- function we(e) {
180
- const a = e.target;
181
- a && Array.from(a.classList).includes("vue-ui-user-options") || a && Array.from(a.classList).includes("vue-ui-user-options-summary") || a && Array.from(a.classList).includes("vue-data-ui-button") || a && Array.from(a.classList).includes("vue-ui-relation-circle-legend") || (f.value = {}, k.value = []);
182
- }
183
- function Y() {
184
- const e = 6.28319 / R.value.length, a = 360 / R.value.length;
185
- let t = 0, s = 0;
186
- R.value.forEach((c, v) => {
187
- const K = c.weights.reduce((ct, vt) => ct + vt, 0), Q = z.value * Math.cos(t) + r.value.width / 2, ut = z.value * Math.sin(t) + r.value.height / 2 + l.value.style.circle.offsetY;
188
- $.value.push({ x: Q, y: ut, ...c, color: c.color ? c.color : me.value[v] ? me.value[v] : Oe[v], regAngle: s, totalWeight: K }), t += e, s += a;
189
- });
190
- }
191
- function He(e, a) {
192
- const t = (e.x + a.x) / 2, s = (e.y + a.y) / 2;
193
- return { x: t, y: s };
194
- }
195
- function q() {
196
- b.value = [], $.value.forEach((e) => {
197
- $.value.filter((t) => t.relations.includes(e.id)).forEach((t, s) => {
198
- const c = t.relations.indexOf(e.id);
199
- b.value.push({
200
- weight: t.weights[c] ? t.weights[c] : 0,
201
- relationId: `${e.id}_${t.id}`,
202
- x1: e.x,
203
- y1: e.y,
204
- x2: t.x,
205
- y2: t.y,
206
- colorSource: e.color,
207
- colorTarget: t.color,
208
- midPointLine: He({ x: e.x, y: e.y }, { x: t.x, y: t.y }),
209
- midPointBezier: Je({
210
- x1: e.x,
211
- x2: t.x,
212
- y1: e.y,
213
- y2: t.y
214
- }),
215
- ...e
216
- });
217
- });
218
- });
219
- }
220
- function Je(e) {
221
- const a = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, s = { x: e.x1, y: e.y1 }, c = {
222
- x: r.value.width / 2,
223
- y: r.value.height / 2 + l.value.style.circle.offsetY
224
- }, v = 0.5, K = Math.pow(1 - v, 3) * a.x + 3 * Math.pow(1 - v, 2) * v * s.x + 3 * (1 - v) * Math.pow(v, 2) * c.x + Math.pow(v, 3) * t.x, Q = Math.pow(1 - v, 3) * a.y + 3 * Math.pow(1 - v, 2) * v * s.y + 3 * (1 - v) * Math.pow(v, 2) * c.y + Math.pow(v, 3) * t.y;
225
- return { x: K, y: Q };
226
- }
227
- const Ke = y(() => Math.max(...b.value.map((e) => e.weight)));
228
- function Qe(e) {
229
- return Object.hasOwn(f.value, "x") ? k.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
230
- }
231
- function C(e) {
232
- return e.colorSource;
233
- }
234
- function xe(e) {
235
- return Object.hasOwn(f.value, "x") ? k.value.includes(e.id) && e.relationId === `${e.id}_${f.value.id}` || e.relationId === `${f.value.id}_${e.id}` ? `opacity:1;stroke-width:${H(e)}` : "opacity: 0" : "opacity: 1";
236
- }
237
- function S(e) {
238
- return Object.hasOwn(f.value, "x") ? !!(k.value.includes(e.id) && e.relationId === `${e.id}_${f.value.id}` || e.relationId === `${f.value.id}_${e.id}`) : !1;
239
- }
240
- function Ze(e) {
241
- return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
242
- }
243
- function et(e) {
244
- return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
245
- }
246
- function tt(e) {
247
- return Object.hasOwn(f.value, "x") ? f.value.id === e.id || k.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
248
- }
249
- function lt(e) {
250
- return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
251
- }
252
- const N = u(null);
253
- function $e(e, a) {
254
- N.value = a, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: a });
255
- }
256
- function Ae(e, a) {
257
- N.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: a });
258
- }
259
- function Ce(e, a) {
260
- l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: a }), Ve.value = 360 - e.regAngle, f.value.id && e.id === f.value.id ? (f.value = {}, k.value = []) : (f.value = e, k.value = [...e.relations]);
261
- }
262
- function H(e) {
263
- const a = e.weight / Ke.value * l.value.style.links.maxWidth;
264
- return Math.max(0.3, a);
265
- }
266
- const j = u(!1);
267
- function _e(e) {
268
- j.value = e, ne.value += 1;
269
- }
270
- const U = u(!1);
271
- function J() {
272
- U.value = !U.value;
273
- }
274
- async function at({ scale: e = 2 } = {}) {
275
- if (!L.value) return;
276
- const { width: a, height: t } = L.value.getBoundingClientRect(), s = a / t, { imageUri: c, base64: v } = await Bt({ domElement: L.value, base64: !0, img: !0, scale: e });
277
- return {
278
- imageUri: c,
279
- base64: v,
280
- title: l.value.style.title.text,
281
- width: a,
282
- height: t,
283
- aspectRatio: s
284
- };
285
- }
286
- const st = y(() => l.value.style.backgroundColor), nt = y(() => l.value.style.title), { exportSvg: it, getSvg: ot } = St({
287
- svg: F,
288
- title: nt,
289
- backgroundColor: st
290
- });
291
- async function rt({ isCb: e }) {
292
- if (e) {
293
- const { blob: a, url: t, text: s, dataUrl: c } = await ot();
294
- l.value.userOptions.callbacks.svg({ blob: a, url: t, text: s, dataUrl: c });
295
- } else
296
- it();
297
- }
298
- return Fe({
299
- getImage: at,
300
- generatePdf: ye,
301
- generateImage: he,
302
- toggleAnnotator: J,
303
- toggleFullscreen: _e
304
- }), (e, a) => (n(), i("div", {
305
- ref_key: "relationCircleChart",
306
- ref: L,
307
- class: "vue-data-ui-component vue-ui-relation-circle",
308
- style: I(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
309
- id: `relation_circle_${E.value}`,
310
- onMouseenter: a[0] || (a[0] = () => o(ve)(!0)),
311
- onMouseleave: a[1] || (a[1] = () => o(ve)(!1))
312
- }, [
313
- l.value.userOptions.buttons.annotator ? (n(), D(o(Re), {
314
- key: 0,
315
- svgRef: o(F),
316
- backgroundColor: l.value.style.backgroundColor,
317
- color: l.value.style.color,
318
- active: U.value,
319
- onClose: J
320
- }, {
321
- "annotator-action-close": h(() => [
322
- d(e.$slots, "annotator-action-close", {}, void 0, !0)
323
- ]),
324
- "annotator-action-color": h(({ color: t }) => [
325
- d(e.$slots, "annotator-action-color", w(x({ color: t })), void 0, !0)
326
- ]),
327
- "annotator-action-draw": h(({ mode: t }) => [
328
- d(e.$slots, "annotator-action-draw", w(x({ mode: t })), void 0, !0)
329
- ]),
330
- "annotator-action-undo": h(({ disabled: t }) => [
331
- d(e.$slots, "annotator-action-undo", w(x({ disabled: t })), void 0, !0)
332
- ]),
333
- "annotator-action-redo": h(({ disabled: t }) => [
334
- d(e.$slots, "annotator-action-redo", w(x({ disabled: t })), void 0, !0)
335
- ]),
336
- "annotator-action-delete": h(({ disabled: t }) => [
337
- d(e.$slots, "annotator-action-delete", w(x({ disabled: t })), void 0, !0)
338
- ]),
339
- _: 3
340
- }, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
341
- Ge.value ? (n(), i("div", {
342
- key: 1,
343
- ref_key: "noTitle",
344
- ref: re,
345
- class: "vue-data-ui-no-title-space",
346
- style: "height:36px; width: 100%;background:transparent"
347
- }, null, 512)) : g("", !0),
348
- l.value.style.title.text ? (n(), i("div", {
349
- key: 2,
350
- ref_key: "chartTitle",
351
- ref: ie,
352
- style: "width:100%;background:transparent"
353
- }, [
354
- (n(), D(Ft, {
355
- key: `title_${ue.value}`,
356
- config: {
357
- title: {
358
- cy: "relation-div-title",
359
- ...l.value.style.title
360
- },
361
- subtitle: {
362
- cy: "relation-div-subtitle",
363
- ...l.value.style.title.subtitle
364
- }
365
- }
366
- }, null, 8, ["config"]))
367
- ], 512)) : g("", !0),
368
- l.value.userOptions.show && Ue.value && (o(de) || o(W)) ? (n(), D(o(Te), {
369
- ref: "details",
370
- key: `user_options_${ne.value}`,
371
- backgroundColor: l.value.style.backgroundColor,
372
- color: l.value.style.color,
373
- isPrinting: o(fe),
374
- isImaging: o(ge),
375
- uid: E.value,
376
- hasPdf: l.value.userOptions.buttons.pdf,
377
- hasImg: l.value.userOptions.buttons.img,
378
- hasSvg: l.value.userOptions.buttons.svg,
379
- hasFullscreen: l.value.userOptions.buttons.img,
380
- hasXls: !1,
381
- isFullscreen: j.value,
382
- titles: { ...l.value.userOptions.buttonTitles },
383
- chartElement: L.value,
384
- position: l.value.userOptions.position,
385
- hasAnnotator: l.value.userOptions.buttons.annotator,
386
- isAnnotation: U.value,
387
- callbacks: l.value.userOptions.callbacks,
388
- printScale: l.value.userOptions.print.scale,
389
- onToggleFullscreen: _e,
390
- onGeneratePdf: o(ye),
391
- onGenerateImage: o(he),
392
- onGenerateSvg: rt,
393
- onToggleAnnotator: J,
394
- style: I({
395
- visibility: o(de) ? o(W) ? "visible" : "hidden" : "visible"
396
- })
397
- }, ht({ _: 2 }, [
398
- e.$slots.menuIcon ? {
399
- name: "menuIcon",
400
- fn: h(({ isOpen: t, color: s }) => [
401
- d(e.$slots, "menuIcon", w(x({ isOpen: t, color: s })), void 0, !0)
402
- ]),
403
- key: "0"
404
- } : void 0,
405
- e.$slots.optionPdf ? {
406
- name: "optionPdf",
407
- fn: h(() => [
408
- d(e.$slots, "optionPdf", {}, void 0, !0)
409
- ]),
410
- key: "1"
411
- } : void 0,
412
- e.$slots.optionImg ? {
413
- name: "optionImg",
414
- fn: h(() => [
415
- d(e.$slots, "optionImg", {}, void 0, !0)
416
- ]),
417
- key: "2"
418
- } : void 0,
419
- e.$slots.optionSvg ? {
420
- name: "optionSvg",
421
- fn: h(() => [
422
- d(e.$slots, "optionSvg", {}, void 0, !0)
423
- ]),
424
- key: "3"
425
- } : void 0,
426
- e.$slots.optionFullscreen ? {
427
- name: "optionFullscreen",
428
- fn: h(({ toggleFullscreen: t, isFullscreen: s }) => [
429
- d(e.$slots, "optionFullscreen", w(x({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
430
- ]),
431
- key: "4"
432
- } : void 0,
433
- e.$slots.optionAnnotator ? {
434
- name: "optionAnnotator",
435
- fn: h(({ toggleAnnotator: t, isAnnotator: s }) => [
436
- d(e.$slots, "optionAnnotator", w(x({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
437
- ]),
438
- key: "5"
439
- } : void 0
440
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
441
- (n(), i("svg", {
442
- ref_key: "svgRef",
443
- ref: F,
444
- xmlns: o(At),
445
- class: te([{ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }, "relation-circle"]),
446
- viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
447
- width: "100%",
448
- style: "user-select:none; background:transparent"
449
- }, [
450
- mt(o(Ne)),
451
- e.$slots["chart-background"] ? (n(), i("foreignObject", {
452
- key: 0,
453
- x: 0,
454
- y: 0,
455
- width: r.value.width <= 0 ? 10 : r.value.width,
456
- height: r.value.height <= 0 ? 10 : r.value.height,
457
- style: {
458
- pointerEvents: "none"
459
- }
460
- }, [
461
- d(e.$slots, "chart-background", {}, void 0, !0)
462
- ], 8, Ut)) : g("", !0),
463
- pt("circle", {
464
- cx: (r.value.width <= 0 ? 1e-4 : r.value.width) / 2,
465
- cy: (r.value.height <= 0 ? 1e-4 : r.value.height) / 2 + l.value.style.circle.offsetY,
466
- r: z.value <= 0 ? 1e-4 : z.value,
467
- stroke: l.value.style.circle.stroke,
468
- "stroke-width": l.value.style.circle.strokeWidth,
469
- fill: "transparent",
470
- class: "main-circle"
471
- }, null, 8, Dt),
472
- We.value ? (n(), i("g", Gt, [
473
- (n(!0), i(_, null, M(b.value, (t, s) => (n(), i("path", {
474
- key: `relation_${s}`,
475
- style: I(xe(t)),
476
- stroke: C(t),
477
- class: te(["relation", { "vue-ui-relation-circle-selected": f.value.hasOwnProperty("id") && k.value.includes(t.id) }]),
478
- d: `M${t.x1},${t.y1} C${t.x1},${t.y1} ${r.value.width / 2},${r.value.height / 2 + l.value.style.circle.offsetY} ${t.x2},${t.y2}`,
479
- fill: "none",
480
- "stroke-width": H(t),
481
- "stroke-linecap": "round"
482
- }, null, 14, Vt))), 128)),
483
- (n(!0), i(_, null, M(b.value, (t, s) => (n(), i("g", Wt, [
484
- S(t) ? d(e.$slots, "dataLabel", Pe({
485
- key: 0,
486
- ref_for: !0
487
- }, {
488
- x: t.midPointBezier.x,
489
- y: t.midPointBezier.y,
490
- color: C(t),
491
- weight: t.weight,
492
- fontSize: m.value
493
- }), void 0, !0) : g("", !0),
494
- S(t) && !e.$slots.dataLabel ? (n(), i("circle", {
495
- key: 1,
496
- cx: t.midPointBezier.x,
497
- cy: t.midPointBezier.y,
498
- fill: C(t),
499
- r: m.value,
500
- stroke: l.value.style.backgroundColor,
501
- "stroke-width": "1"
502
- }, null, 8, Xt)) : g("", !0),
503
- S(t) && !e.$slots.dataLabel ? (n(), i("text", {
504
- key: 2,
505
- x: t.midPointBezier.x,
506
- y: t.midPointBezier.y + m.value / 3,
507
- fill: o(Me)(C(t)),
508
- "text-anchor": "middle",
509
- "font-size": m.value
510
- }, G(o(le)(
511
- l.value.style.weightLabels.formatter,
512
- t.weight,
513
- o(ae)({
514
- p: l.value.style.weightLabels.prefix,
515
- v: t.weight,
516
- s: l.value.style.weightLabels.suffix,
517
- r: l.value.style.weightLabels.rounding
518
- }),
519
- { ...t }
520
- )), 9, Yt)) : g("", !0)
521
- ]))), 256))
522
- ])) : (n(), i("g", qt, [
523
- (n(!0), i(_, null, M(b.value, (t, s) => (n(), i("line", {
524
- key: `relation_${s}`,
525
- stroke: C(t),
526
- "stroke-width": H(t),
527
- style: I(xe(t)),
528
- x1: t.x1,
529
- x2: t.x2,
530
- y1: t.y1,
531
- y2: t.y2,
532
- class: te({ "vue-ui-relation-circle-selected": f.value.hasOwnProperty("id") && k.value.includes(t.id) }),
533
- "stroke-linecap": "round"
534
- }, null, 14, Ht))), 128)),
535
- (n(!0), i(_, null, M(b.value, (t, s) => (n(), i("g", Jt, [
536
- S(t) ? d(e.$slots, "dataLabel", Pe({
537
- key: 0,
538
- ref_for: !0
539
- }, {
540
- x: t.midPointLine.x,
541
- y: t.midPointLine.y,
542
- color: C(t),
543
- weight: t.weight,
544
- fontSize: m.value
545
- }), void 0, !0) : g("", !0),
546
- S(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (n(), i("circle", {
547
- key: 1,
548
- cx: t.midPointLine.x,
549
- cy: t.midPointLine.y,
550
- fill: C(t),
551
- r: m.value,
552
- stroke: l.value.style.backgroundColor,
553
- "stroke-width": "1"
554
- }, null, 8, Kt)) : g("", !0),
555
- S(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (n(), i("text", {
556
- key: 2,
557
- x: t.midPointLine.x,
558
- y: t.midPointLine.y + m.value / 3,
559
- fill: o(Me)(C(t)),
560
- "text-anchor": "middle",
561
- "font-size": m.value
562
- }, G(o(le)(
563
- l.value.style.weightLabels.formatter,
564
- t.weight,
565
- o(ae)({
566
- p: l.value.style.weightLabels.prefix,
567
- v: t.weight,
568
- s: l.value.style.weightLabels.suffix,
569
- r: l.value.style.weightLabels.rounding
570
- }),
571
- { ...t }
572
- )), 9, Qt)) : g("", !0)
573
- ]))), 256))
574
- ])),
575
- (n(!0), i(_, null, M($.value, (t, s) => (n(), i("text", {
576
- key: `plot_text_${s}`,
577
- "text-anchor": Ze(t),
578
- transform: lt(t),
579
- x: et(t),
580
- y: t.y + 5,
581
- class: "vue-ui-relation-circle-legend",
582
- "transform-origin": "start",
583
- "font-weight": f.value.id === t.id ? "900" : "400",
584
- style: I(`font-family:${l.value.style.fontFamily};${tt(t)}`),
585
- "font-size": B.value,
586
- fill: l.value.style.labels.color,
587
- "text-decoration": s === N.value ? "underline" : void 0,
588
- onClick: (c) => Ce(t, s),
589
- onMouseenter: (c) => $e(t, s),
590
- onMouseleave: (c) => Ae(t, s)
591
- }, [
592
- o(ce) ? (n(), i(_, { key: 0 }, [
593
- ze(" -------- ")
594
- ], 64)) : (n(), i(_, { key: 1 }, [
595
- ze(G(t.label) + " (" + G(o(le)(
596
- l.value.style.weightLabels.formatter,
597
- t.totalWeight,
598
- o(ae)({
599
- p: l.value.style.weightLabels.prefix,
600
- v: t.totalWeight,
601
- s: l.value.style.weightLabels.suffix,
602
- r: l.value.style.weightLabels.rounding
603
- }),
604
- { ...t }
605
- )) + ") ", 1)
606
- ], 64))
607
- ], 44, Zt))), 128)),
608
- (n(!0), i(_, null, M($.value, (t, s) => (n(), i("circle", {
609
- cx: t.x,
610
- cy: t.y,
611
- key: `plot_${s}`,
612
- style: I(`${Qe(t)}; transition: r 0.2s ease-in-out;`),
613
- class: "vue-ui-relation-circle-plot",
614
- fill: l.value.style.plot.useSerieColor ? t.color : l.value.style.plot.color,
615
- stroke: l.value.style.backgroundColor,
616
- "stroke-width": "1",
617
- r: T.value * (s === N.value ? 2 : 1),
618
- onClick: (c) => Ce(t, s),
619
- onMouseenter: (c) => $e(t, s),
620
- onMouseleave: (c) => Ae(t, s)
621
- }, null, 44, el))), 128)),
622
- d(e.$slots, "svg", { svg: r.value }, void 0, !0)
623
- ], 10, jt)),
624
- e.$slots.watermark ? (n(), i("div", tl, [
625
- d(e.$slots, "watermark", w(x({ isPrinting: o(fe) || o(ge) })), void 0, !0)
626
- ])) : g("", !0),
627
- e.$slots.source ? (n(), i("div", {
628
- key: 5,
629
- ref_key: "source",
630
- ref: oe,
631
- dir: "auto"
632
- }, [
633
- d(e.$slots, "source", {}, void 0, !0)
634
- ], 512)) : g("", !0),
635
- o(ce) ? (n(), D(zt, { key: 6 })) : g("", !0)
636
- ], 44, Nt));
637
- }
638
- }, ml = /* @__PURE__ */ Tt(ll, [["__scopeId", "data-v-7d3425c2"]]);
639
- export {
640
- ml as default
641
- };