vue-data-ui 3.22.9 → 3.22.11

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 (216) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/exposedLib-Ciw6TGtP.js +25 -0
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
  94. package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/types/vue-data-ui.d.ts +1 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
  107. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  108. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
  109. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  110. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  111. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  112. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  113. package/dist/utils.js +26 -24
  114. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
  115. package/dist/vue-data-ui.js +77 -77
  116. package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
  117. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
  119. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
  120. package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
  121. package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
  122. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
  123. package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
  124. package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
  125. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
  126. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
  127. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
  128. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
  129. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
  130. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
  131. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
  132. package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
  133. package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
  134. package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
  135. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
  136. package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
  137. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
  138. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
  139. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
  140. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
  141. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
  142. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
  143. package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
  144. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  146. package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
  147. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
  148. package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
  149. package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
  150. package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
  151. package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
  152. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
  153. package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
  154. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
  155. package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
  156. package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
  157. package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
  158. package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
  159. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
  160. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
  161. package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
  162. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
  163. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
  164. package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
  165. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
  166. package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
  167. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
  168. package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
  169. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
  170. package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
  171. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
  172. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
  173. package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
  174. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
  175. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
  176. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
  177. package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
  178. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
  179. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
  180. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
  181. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
  182. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
  183. package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
  184. package/package.json +2 -2
  185. package/dist/Slicer-CW_XPIKL.js +0 -1150
  186. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  187. package/dist/useResponsive-BfnK0KxU.js +0 -19
  188. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  189. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  190. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  191. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  192. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  193. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  194. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  195. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  196. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  197. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  198. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  199. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  200. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  201. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  202. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  203. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  204. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  205. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  206. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  207. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  208. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  209. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  210. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  211. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  212. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  213. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  214. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  215. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  216. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -0,0 +1,923 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { At as t, C as n, Gt as r, K as i, Kt as a, Nt as o, Y as s, et as c, ft as ee, i as te, qt as ne, r as re, t as ie } from "./lib-CFm_J26b.js";
3
+ import { t as ae } from "./useConfig-C0V0eG7L.js";
4
+ import { t as oe } from "./usePrinter-BH-xle1O.js";
5
+ import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as le } from "./useSvgExport-Ba9qBr9M.js";
7
+ import { t as ue } from "./useNestedProp-BY6DNN3i.js";
8
+ import { t as de } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as fe } from "./img-Bikk1dGb.js";
10
+ import { n as pe } from "./Title-BuPs74IB.js";
11
+ import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { l as he, t as ge } from "./useResponsive-ZtArZtUf.js";
13
+ import { t as _e } from "./A11yDataTable-DdRsVULz.js";
14
+ import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
15
+ import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
16
+ import { t as be } from "./useAutoSizeLabelsInsideViewbox-C9RNjsGv.js";
17
+ import { t as xe } from "./vue_ui_relation_circle-D0p4mXmv.js";
18
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Se, createTextVNode as Ce, createVNode as we, defineAsyncComponent as Te, guardReactiveProps as h, mergeProps as Ee, nextTick as De, normalizeClass as Oe, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as ke, onMounted as Ae, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as je, toDisplayString as S, toRefs as Me, unref as C, useCssVars as Ne, watch as Pe, withCtx as w } from "vue";
19
+ //#region src/components/vue-ui-relation-circle.vue
20
+ var Fe = /* @__PURE__ */ e({ default: () => nt }), Ie = ["id"], Le = ["id"], Re = { style: { position: "relative" } }, ze = [
21
+ "xmlns",
22
+ "viewBox",
23
+ "aria-describedby"
24
+ ], Be = ["width", "height"], Ve = [
25
+ "cx",
26
+ "cy",
27
+ "r",
28
+ "stroke",
29
+ "stroke-width"
30
+ ], He = { key: 1 }, Ue = [
31
+ "stroke",
32
+ "d",
33
+ "stroke-width"
34
+ ], We = { style: { "pointer-events": "none" } }, Ge = [
35
+ "cx",
36
+ "cy",
37
+ "fill",
38
+ "r",
39
+ "stroke"
40
+ ], Ke = [
41
+ "x",
42
+ "y",
43
+ "fill",
44
+ "font-size"
45
+ ], qe = { key: 2 }, Je = [
46
+ "stroke",
47
+ "stroke-width",
48
+ "x1",
49
+ "x2",
50
+ "y1",
51
+ "y2"
52
+ ], Ye = { style: { "pointer-events": "none" } }, Xe = [
53
+ "cx",
54
+ "cy",
55
+ "fill",
56
+ "r",
57
+ "stroke"
58
+ ], Ze = [
59
+ "x",
60
+ "y",
61
+ "fill",
62
+ "font-size"
63
+ ], Qe = [
64
+ "text-anchor",
65
+ "transform",
66
+ "x",
67
+ "y",
68
+ "font-weight",
69
+ "font-size",
70
+ "fill",
71
+ "text-decoration",
72
+ "onClick",
73
+ "onMouseenter",
74
+ "onMouseleave"
75
+ ], $e = [
76
+ "cx",
77
+ "cy",
78
+ "fill",
79
+ "stroke",
80
+ "r",
81
+ "onClick",
82
+ "onMouseenter",
83
+ "onMouseleave"
84
+ ], et = {
85
+ key: 0,
86
+ style: {
87
+ position: "absolute",
88
+ top: "100%",
89
+ left: "0",
90
+ width: "100%"
91
+ },
92
+ "data-dom-to-png-ignore": "",
93
+ "aria-hidden": "true"
94
+ }, tt = {
95
+ key: 5,
96
+ class: "vue-data-ui-watermark"
97
+ }, nt = /*#__PURE__*/ me({
98
+ __name: "vue-ui-relation-circle",
99
+ props: {
100
+ dataset: {
101
+ type: Array,
102
+ default() {
103
+ return [];
104
+ }
105
+ },
106
+ config: {
107
+ type: Object,
108
+ default() {
109
+ return {};
110
+ }
111
+ }
112
+ },
113
+ emits: ["copyAlt"],
114
+ setup(e, { expose: me, emit: Fe }) {
115
+ Ne((e) => ({
116
+ ab5e8c6c: Mt.value,
117
+ v309156a9: jt.value,
118
+ v6c0f80cb: Nt.value
119
+ }));
120
+ let nt = Te(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), rt = Te(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), it = Te(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), { vue_ui_relation_circle: at } = ae(), { isThemeValid: ot, warnInvalidTheme: st } = de(), T = e, ct = Fe, lt = u(() => !!T.dataset && Object.keys(T.dataset).length), E = y(i()), ut = y(0), D = y(null), dt = y(null), ft = y(null), pt = y(null), mt = y(0), O = y(!1), k = y(!1), A = y(null), j = y(!1), M = y(St()), N = u(() => M.value.userOptions.useCursorPointer), ht = u(() => ne({
121
+ defaultConfig: {
122
+ userOptions: { show: !1 },
123
+ customPalette: Array(7).fill("#CACACA"),
124
+ style: {
125
+ backgroundColor: "#99999930",
126
+ labels: { color: "#6A6A6A" },
127
+ circle: { stroke: "#6A6A6A" },
128
+ plot: {
129
+ color: "#6A6A6A",
130
+ useSerieColor: !0
131
+ },
132
+ links: { maxWidth: 2 }
133
+ }
134
+ },
135
+ userConfig: M.value.skeletonConfig ?? {}
136
+ })), { loading: gt, FINAL_DATASET: _t, manualLoading: vt } = se({
137
+ ...Me(T),
138
+ FINAL_CONFIG: M,
139
+ prepareConfig: St,
140
+ skeletonDataset: T.config?.skeletonDataset ?? [
141
+ {
142
+ id: "A",
143
+ label: "_",
144
+ relations: [
145
+ "B",
146
+ "C",
147
+ "D",
148
+ "E",
149
+ "F",
150
+ "G"
151
+ ]
152
+ },
153
+ {
154
+ id: "B",
155
+ label: "_",
156
+ relations: ["A"]
157
+ },
158
+ {
159
+ id: "C",
160
+ label: "_",
161
+ relations: ["A"]
162
+ },
163
+ {
164
+ id: "D",
165
+ label: "_",
166
+ relations: ["A"]
167
+ },
168
+ {
169
+ id: "E",
170
+ label: "_",
171
+ relations: ["A"]
172
+ },
173
+ {
174
+ id: "F",
175
+ label: "_",
176
+ relations: ["A"]
177
+ },
178
+ {
179
+ id: "G",
180
+ label: "_",
181
+ relations: ["A"]
182
+ }
183
+ ],
184
+ skeletonConfig: ne({
185
+ defaultConfig: M.value,
186
+ userConfig: ht.value
187
+ })
188
+ }), { userOptionsVisible: yt, setUserOptionsVisibility: bt, keepUserOptionState: xt } = ve({ config: M.value }), { svgRef: P } = ye({ config: M.value.style.title });
189
+ function St() {
190
+ let e = ue({
191
+ userConfig: T.config,
192
+ defaultConfig: at
193
+ }), t = e.theme;
194
+ if (!t) return e;
195
+ if (!ot.value(e)) return st(e), e;
196
+ let n = ue({
197
+ userConfig: xe[t] || T.config,
198
+ defaultConfig: e
199
+ }), i = ue({
200
+ userConfig: T.config,
201
+ defaultConfig: n
202
+ });
203
+ return {
204
+ ...i,
205
+ customPalette: i.customPalette.length ? i.customPalette : r[t] || o
206
+ };
207
+ }
208
+ Pe(() => T.config, (e) => {
209
+ M.value = St(), yt.value = !M.value.userOptions.showOnChartHover, B.value = M.value.style.size, V.value = M.value.style.weightLabels.size, H.value = M.value.style.plot.radius, U.value = M.value.style.labels.fontSize, W.value.height = M.value.style.size, W.value.width = M.value.style.size, Ft(), mt.value += 1;
210
+ }, { deep: !0 }), Pe(() => T.dataset, (e) => {
211
+ Array.isArray(e) && e.length > 0 && (vt.value = !1);
212
+ }, { deep: !0 });
213
+ let { isPrinting: Ct, isImaging: wt, generatePdf: Tt, generateImage: Et } = oe({
214
+ elementId: `relation_circle_${E.value}`,
215
+ fileName: M.value.style.title.text || "vue-ui-relation-circle",
216
+ options: M.value.userOptions.print
217
+ }), Dt = u(() => M.value.userOptions.show && !M.value.style.title.text), Ot = u(() => n(M.value.customPalette)), F = y([]), I = y([]), L = y({}), R = y([]), kt = y(0), z = u(() => _t.value.slice(0, M.value.style.limit).map((e) => {
218
+ let t = Array.isArray(e.relations) ? e.relations : [];
219
+ return {
220
+ ...e,
221
+ weights: Array.isArray(e.weights) ? e.weights : Array(t.length).fill(1),
222
+ relations: t
223
+ };
224
+ }));
225
+ Pe(z, () => {
226
+ F.value = [], I.value = [], Rt(), Bt();
227
+ });
228
+ let B = y(M.value.style.size), V = y(M.value.style.weightLabels.size), H = y(M.value.style.plot.radius), U = y(M.value.style.labels.fontSize), W = y({
229
+ height: M.value.style.size,
230
+ width: M.value.style.size
231
+ }), G = u({
232
+ get() {
233
+ return B.value * M.value.style.circle.radiusProportion;
234
+ },
235
+ set(e) {
236
+ return e;
237
+ }
238
+ }), At = u(() => M.value.style.links.curved), jt = u(() => `${M.value.style.animation.speedMs}ms`), Mt = u(() => G.value * 2), Nt = u(() => G.value * 4), K = je(null), q = je(null);
239
+ Ae(() => {
240
+ Ft(), document.getElementById(`relation_circle_${E.value}`).addEventListener("click", Lt);
241
+ });
242
+ let Pt = u(() => M.value.debug);
243
+ function Ft() {
244
+ if (t(T.dataset) ? (c({
245
+ componentName: "VueUiRelationCircle",
246
+ type: "dataset",
247
+ debug: Pt.value
248
+ }), vt.value = !0) : T.dataset.forEach((e, t) => {
249
+ ee({
250
+ datasetObject: e,
251
+ requiredAttributes: [
252
+ "id",
253
+ "label",
254
+ "relations",
255
+ "weights"
256
+ ]
257
+ }).forEach((e) => {
258
+ c({
259
+ componentName: "VueUiRelationCircle",
260
+ type: "datasetSerieAttribute",
261
+ property: e,
262
+ index: t,
263
+ debug: Pt.value
264
+ });
265
+ });
266
+ }), t(T.dataset) || (vt.value = M.value.loading), M.value.responsive) {
267
+ let e = he(() => {
268
+ let { width: e, height: t } = ge({
269
+ chart: D.value,
270
+ title: M.value.style.title.text ? dt.value : null,
271
+ source: ft.value,
272
+ noTitle: pt.value
273
+ });
274
+ requestAnimationFrame(() => {
275
+ B.value = Math.min(e, t), W.value.width = Math.max(.1, e), W.value.height = Math.max(.1, t - 12), G.value = B.value * M.value.style.circle.radiusProportion, F.value = [], I.value = [], Rt(), Bt(), It(), M.value.responsiveProportionalSizing ? (V.value = a({
276
+ relator: B.value,
277
+ adjuster: M.value.style.size,
278
+ source: M.value.style.weightLabels.size,
279
+ threshold: 6,
280
+ fallback: 6
281
+ }), H.value = a({
282
+ relator: B.value,
283
+ adjuster: M.value.style.size,
284
+ source: M.value.style.plot.radius,
285
+ threshold: 1,
286
+ fallback: 1
287
+ }), U.value = a({
288
+ relator: B.value,
289
+ adjuster: M.value.style.size,
290
+ source: M.value.style.labels.fontSize,
291
+ threshold: 6,
292
+ fallback: 6
293
+ })) : (V.value = M.value.style.weightLabels.size, H.value = M.value.style.plot.radius, U.value = M.value.style.labels.fontSize);
294
+ });
295
+ });
296
+ K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect()), K.value = new ResizeObserver(e), q.value = D.value.parentNode, K.value.observe(q.value);
297
+ } else F.value = [], I.value = [], Rt(), Bt();
298
+ It();
299
+ }
300
+ ke(() => {
301
+ document.getElementById(`relation_circle_${E.value}`).removeEventListener("click", Lt), K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect());
302
+ });
303
+ let { autoSizeLabels: It } = be({
304
+ svgRef: P,
305
+ fontSize: M.value.style.labels.fontSize,
306
+ minFontSize: M.value.style.labels.minFontSize,
307
+ sizeRef: U,
308
+ labelClass: ".vue-ui-relation-circle-legend"
309
+ });
310
+ function Lt(e) {
311
+ let t = e.target;
312
+ t && Array.from(t.classList).includes("vue-ui-user-options") || t && Array.from(t.classList).includes("vue-ui-user-options-summary") || t && Array.from(t.classList).includes("vue-data-ui-button") || t && Array.from(t.classList).includes("vue-ui-relation-circle-legend") || (L.value = {}, R.value = []);
313
+ }
314
+ function Rt() {
315
+ let e = 6.28319 / z.value.length, t = 360 / z.value.length, n = 0, r = 0;
316
+ z.value.forEach((i, a) => {
317
+ let s = i.weights.reduce((e, t) => e + t, 0), c = G.value * Math.cos(n) + W.value.width / 2, ee = G.value * Math.sin(n) + W.value.height / 2 + M.value.style.circle.offsetY;
318
+ F.value.push({
319
+ x: c,
320
+ y: ee,
321
+ ...i,
322
+ color: i.color ? i.color : Ot.value[a] ? Ot.value[a] : o[a],
323
+ regAngle: r,
324
+ totalWeight: s
325
+ }), n += e, r += t;
326
+ });
327
+ }
328
+ function zt(e, t) {
329
+ return {
330
+ x: (e.x + t.x) / 2,
331
+ y: (e.y + t.y) / 2
332
+ };
333
+ }
334
+ function Bt() {
335
+ I.value = [], F.value.forEach((e) => {
336
+ F.value.filter((t) => t.relations.includes(e.id)).forEach((t, n) => {
337
+ let r = t.relations.indexOf(e.id);
338
+ I.value.push({
339
+ weight: t.weights[r] ? t.weights[r] : 0,
340
+ relationId: `${e.id}_${t.id}`,
341
+ x1: e.x,
342
+ y1: e.y,
343
+ x2: t.x,
344
+ y2: t.y,
345
+ colorSource: e.color,
346
+ colorTarget: t.color,
347
+ midPointLine: zt({
348
+ x: e.x,
349
+ y: e.y
350
+ }, {
351
+ x: t.x,
352
+ y: t.y
353
+ }),
354
+ midPointBezier: Vt({
355
+ x1: e.x,
356
+ x2: t.x,
357
+ y1: e.y,
358
+ y2: t.y
359
+ }),
360
+ ...e
361
+ });
362
+ });
363
+ });
364
+ }
365
+ function Vt(e) {
366
+ let t = {
367
+ x: e.x1,
368
+ y: e.y1
369
+ }, n = {
370
+ x: e.x2,
371
+ y: e.y2
372
+ }, r = {
373
+ x: e.x1,
374
+ y: e.y1
375
+ }, i = {
376
+ x: W.value.width / 2,
377
+ y: W.value.height / 2 + M.value.style.circle.offsetY
378
+ }, a = .5;
379
+ return {
380
+ x: (1 - a) ** 3 * t.x + 3 * (1 - a) ** 2 * a * r.x + 3 * (1 - a) * a ** 2 * i.x + a ** 3 * n.x,
381
+ y: (1 - a) ** 3 * t.y + 3 * (1 - a) ** 2 * a * r.y + 3 * (1 - a) * a ** 2 * i.y + a ** 3 * n.y
382
+ };
383
+ }
384
+ let Ht = u(() => Math.max(...I.value.map((e) => e.weight)));
385
+ function Ut(e) {
386
+ return Object.hasOwn(L.value, "x") ? R.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
387
+ }
388
+ function J(e) {
389
+ return e.colorSource;
390
+ }
391
+ function Wt(e) {
392
+ return Object.hasOwn(L.value, "x") ? R.value.includes(e.id) && e.relationId === `${e.id}_${L.value.id}` || e.relationId === `${L.value.id}_${e.id}` ? `opacity:1;stroke-width:${$t(e)}` : "opacity: 0" : "opacity: 1";
393
+ }
394
+ function Y(e) {
395
+ return Object.hasOwn(L.value, "x") ? !!(R.value.includes(e.id) && e.relationId === `${e.id}_${L.value.id}` || e.relationId === `${L.value.id}_${e.id}`) : !1;
396
+ }
397
+ function Gt(e) {
398
+ return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
399
+ }
400
+ function Kt(e) {
401
+ return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
402
+ }
403
+ function qt(e) {
404
+ return Object.hasOwn(L.value, "x") ? L.value.id === e.id || R.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
405
+ }
406
+ function Jt(e) {
407
+ return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
408
+ }
409
+ let X = y(null);
410
+ function Yt(e, t) {
411
+ X.value = t, A.value = t, M.value.events.datapointEnter && M.value.events.datapointEnter({
412
+ datapoint: e,
413
+ seriesIndex: t
414
+ });
415
+ }
416
+ function Xt(e, t) {
417
+ X.value = null, j.value || (A.value = null), M.value.events.datapointLeave && M.value.events.datapointLeave({
418
+ datapoint: e,
419
+ seriesIndex: t
420
+ });
421
+ }
422
+ function Zt(e, t) {
423
+ e && (M.value.events.datapointClick && M.value.events.datapointClick({
424
+ datapoint: e,
425
+ seriesIndex: t
426
+ }), kt.value = 360 - e.regAngle, L.value.id && e.id === L.value.id ? (L.value = {}, R.value = []) : (L.value = e, R.value = [...e.relations]));
427
+ }
428
+ function Qt(e, t) {
429
+ A.value = t, Zt(e, t);
430
+ }
431
+ function $t(e) {
432
+ let t = e.weight / Ht.value * M.value.style.links.maxWidth;
433
+ return Math.max(.3, t);
434
+ }
435
+ let Z = y(!1);
436
+ function en(e) {
437
+ Z.value = e, ut.value += 1;
438
+ }
439
+ let Q = y(!1);
440
+ function tn() {
441
+ Q.value = !Q.value;
442
+ }
443
+ async function nn({ scale: e = 2 } = {}) {
444
+ if (!D.value) return;
445
+ let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
446
+ domElement: D.value,
447
+ base64: !0,
448
+ img: !0,
449
+ scale: e
450
+ });
451
+ return {
452
+ imageUri: i,
453
+ base64: a,
454
+ title: M.value.style.title.text,
455
+ width: t,
456
+ height: n,
457
+ aspectRatio: r
458
+ };
459
+ }
460
+ let rn = u(() => M.value.style.backgroundColor), { exportSvg: an, getSvg: on } = le({
461
+ svg: P,
462
+ title: u(() => M.value.style.title),
463
+ backgroundColor: rn
464
+ });
465
+ async function sn({ isCb: e }) {
466
+ k.value = !0, await De();
467
+ try {
468
+ if (e) {
469
+ let { blob: e, url: t, text: n, dataUrl: r } = await on();
470
+ await Promise.resolve(M.value.userOptions.callbacks.svg({
471
+ blob: e,
472
+ url: t,
473
+ text: n,
474
+ dataUrl: r
475
+ }));
476
+ } else await Promise.resolve(an());
477
+ } finally {
478
+ k.value = !1;
479
+ }
480
+ }
481
+ function cn(e) {
482
+ if (e?.stage === "start") {
483
+ O.value = !0;
484
+ return;
485
+ }
486
+ if (e?.stage === "end") {
487
+ O.value = !1;
488
+ return;
489
+ }
490
+ Et();
491
+ }
492
+ async function ln() {
493
+ if (ct("copyAlt", {
494
+ config: M.value,
495
+ dataset: z.value
496
+ }), !M.value.userOptions.callbacks.altCopy) {
497
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
498
+ return;
499
+ }
500
+ await Promise.resolve(M.value.userOptions.callbacks.altCopy({
501
+ config: M.value,
502
+ dataset: z.value
503
+ }));
504
+ }
505
+ function un() {
506
+ j.value = !0, F.value.length && A.value === null && (A.value = 0);
507
+ }
508
+ function dn() {
509
+ j.value = !1, A.value = null;
510
+ }
511
+ function fn(e) {
512
+ if (!P.value || Q.value || document.activeElement !== P.value || !F.value.length) return;
513
+ let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
514
+ if (!t && !n && !r && !i) return;
515
+ if (e.preventDefault(), e.stopPropagation(), i) {
516
+ A.value = null, L.value = {}, R.value = [];
517
+ return;
518
+ }
519
+ if (r) {
520
+ if (A.value === null) return;
521
+ let e = F.value[A.value];
522
+ if (!e) return;
523
+ Zt(e, A.value);
524
+ return;
525
+ }
526
+ let a = A.value;
527
+ a === null || a < 0 || a >= F.value.length ? a = n ? 0 : F.value.length - 1 : n ? (a += 1, a >= F.value.length && (a = 0)) : t && (--a, a < 0 && (a = F.value.length - 1)), A.value = a, X.value = a;
528
+ let o = F.value[a];
529
+ o && M.value.events.datapointEnter && M.value.events.datapointEnter({
530
+ datapoint: o,
531
+ seriesIndex: a
532
+ });
533
+ }
534
+ let $ = u(() => ({
535
+ headers: [
536
+ "ID",
537
+ "Label",
538
+ "Total weight",
539
+ "Relations count",
540
+ "Relations"
541
+ ],
542
+ rows: z.value.map((e) => {
543
+ let t = e.relations.map((e) => z.value.find((t) => t.id === e)?.label || e).join(", "), n = (e.weights || []).reduce((e, t) => e + Number(t || 0), 0);
544
+ return [
545
+ e.id,
546
+ e.label,
547
+ n,
548
+ e.relations.length,
549
+ t
550
+ ];
551
+ })
552
+ }));
553
+ return me({
554
+ getImage: nn,
555
+ generatePdf: Tt,
556
+ generateSvg: sn,
557
+ generateImage: Et,
558
+ toggleAnnotator: tn,
559
+ toggleFullscreen: en,
560
+ copyAlt: ln
561
+ }), (e, t) => (v(), p("div", {
562
+ ref_key: "relationCircleChart",
563
+ ref: D,
564
+ class: "vue-data-ui-component vue-ui-relation-circle",
565
+ style: _(`width:100%;background:${M.value.style.backgroundColor};text-align:center;${M.value.responsive ? "height: 100%" : ""}`),
566
+ id: `relation_circle_${E.value}`,
567
+ onMouseenter: t[0] ||= () => C(bt)(!0),
568
+ onMouseleave: t[1] ||= () => C(bt)(!1)
569
+ }, [
570
+ m("div", {
571
+ id: `chart-instructions-${E.value}`,
572
+ class: "sr-only"
573
+ }, [m("p", null, S(M.value.a11y.translations.keyboardNavigation), 1)], 8, Le),
574
+ $.value?.rows?.length ? (v(), d(_e, {
575
+ key: 0,
576
+ uid: E.value,
577
+ head: $.value.headers,
578
+ body: $.value.rows,
579
+ notice: M.value.a11y.translations.tableAvailable,
580
+ caption: M.value.a11y.translations.tableCaption
581
+ }, null, 8, [
582
+ "uid",
583
+ "head",
584
+ "body",
585
+ "notice",
586
+ "caption"
587
+ ])) : f("", !0),
588
+ M.value.userOptions.buttons.annotator ? (v(), d(C(nt), {
589
+ key: 1,
590
+ svgRef: C(P),
591
+ backgroundColor: M.value.style.backgroundColor,
592
+ color: M.value.style.color,
593
+ active: Q.value,
594
+ isCursorPointer: N.value,
595
+ onClose: tn
596
+ }, {
597
+ "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
598
+ "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
599
+ "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
600
+ "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
601
+ "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
602
+ "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
603
+ _: 3
604
+ }, 8, [
605
+ "svgRef",
606
+ "backgroundColor",
607
+ "color",
608
+ "active",
609
+ "isCursorPointer"
610
+ ])) : f("", !0),
611
+ Dt.value ? (v(), p("div", {
612
+ key: 2,
613
+ ref_key: "noTitle",
614
+ ref: pt,
615
+ class: "vue-data-ui-no-title-space",
616
+ style: "height:36px; width: 100%;background:transparent"
617
+ }, null, 512)) : f("", !0),
618
+ M.value.style.title.text ? (v(), p("div", {
619
+ key: 3,
620
+ ref_key: "chartTitle",
621
+ ref: dt,
622
+ style: "width:100%;background:transparent"
623
+ }, [(v(), d(pe, {
624
+ key: `title_${mt.value}`,
625
+ config: {
626
+ title: {
627
+ cy: "relation-div-title",
628
+ ...M.value.style.title
629
+ },
630
+ subtitle: {
631
+ cy: "relation-div-subtitle",
632
+ ...M.value.style.title.subtitle
633
+ }
634
+ }
635
+ }, null, 8, ["config"]))], 512)) : f("", !0),
636
+ M.value.userOptions.show && lt.value && (C(xt) || C(yt)) ? (v(), d(C(rt), {
637
+ ref: "details",
638
+ key: `user_options_${ut.value}`,
639
+ backgroundColor: M.value.style.backgroundColor,
640
+ color: M.value.style.color,
641
+ isPrinting: C(Ct),
642
+ isImaging: C(wt),
643
+ uid: E.value,
644
+ hasPdf: M.value.userOptions.buttons.pdf,
645
+ hasImg: M.value.userOptions.buttons.img,
646
+ hasSvg: M.value.userOptions.buttons.svg,
647
+ hasFullscreen: M.value.userOptions.buttons.fullscreen,
648
+ hasAltCopy: M.value.userOptions.buttons.altCopy,
649
+ hasXls: !1,
650
+ isFullscreen: Z.value,
651
+ titles: { ...M.value.userOptions.buttonTitles },
652
+ chartElement: D.value,
653
+ position: M.value.userOptions.position,
654
+ hasAnnotator: M.value.userOptions.buttons.annotator,
655
+ isAnnotation: Q.value,
656
+ callbacks: M.value.userOptions.callbacks,
657
+ printScale: M.value.userOptions.print.scale,
658
+ isCursorPointer: N.value,
659
+ onToggleFullscreen: en,
660
+ onGeneratePdf: C(Tt),
661
+ onGenerateImage: cn,
662
+ onGenerateSvg: sn,
663
+ onToggleAnnotator: tn,
664
+ onCopyAlt: ln,
665
+ style: _({ visibility: C(xt) ? C(yt) ? "visible" : "hidden" : "visible" })
666
+ }, Se({ _: 2 }, [
667
+ e.$slots.menuIcon ? {
668
+ name: "menuIcon",
669
+ fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", g(h({
670
+ isOpen: t,
671
+ color: n
672
+ })), void 0, !0)]),
673
+ key: "0"
674
+ } : void 0,
675
+ e.$slots.optionPdf ? {
676
+ name: "optionPdf",
677
+ fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
678
+ key: "1"
679
+ } : void 0,
680
+ e.$slots.optionImg ? {
681
+ name: "optionImg",
682
+ fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
683
+ key: "2"
684
+ } : void 0,
685
+ e.$slots.optionSvg ? {
686
+ name: "optionSvg",
687
+ fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
688
+ key: "3"
689
+ } : void 0,
690
+ e.$slots.optionFullscreen ? {
691
+ name: "optionFullscreen",
692
+ fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", g(h({
693
+ toggleFullscreen: t,
694
+ isFullscreen: n
695
+ })), void 0, !0)]),
696
+ key: "4"
697
+ } : void 0,
698
+ e.$slots.optionAnnotator ? {
699
+ name: "optionAnnotator",
700
+ fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", g(h({
701
+ toggleAnnotator: t,
702
+ isAnnotator: n
703
+ })), void 0, !0)]),
704
+ key: "5"
705
+ } : void 0,
706
+ e.$slots.optionAltCopy ? {
707
+ name: "optionAltCopy",
708
+ fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
709
+ key: "6"
710
+ } : void 0,
711
+ e.$slots["custom-menu-before"] ? {
712
+ name: "custom-menu-before",
713
+ fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
714
+ key: "7"
715
+ } : void 0,
716
+ e.$slots["custom-menu-after"] ? {
717
+ name: "custom-menu-after",
718
+ fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
719
+ key: "8"
720
+ } : void 0
721
+ ]), 1032, [
722
+ "backgroundColor",
723
+ "color",
724
+ "isPrinting",
725
+ "isImaging",
726
+ "uid",
727
+ "hasPdf",
728
+ "hasImg",
729
+ "hasSvg",
730
+ "hasFullscreen",
731
+ "hasAltCopy",
732
+ "isFullscreen",
733
+ "titles",
734
+ "chartElement",
735
+ "position",
736
+ "hasAnnotator",
737
+ "isAnnotation",
738
+ "callbacks",
739
+ "printScale",
740
+ "isCursorPointer",
741
+ "onGeneratePdf",
742
+ "style"
743
+ ])) : f("", !0),
744
+ m("div", Re, [(v(), p("svg", {
745
+ ref_key: "svgRef",
746
+ ref: P,
747
+ xmlns: C(ie),
748
+ class: Oe([{
749
+ "vue-data-ui-fullscreen--on": Z.value,
750
+ "vue-data-ui-fulscreen--off": !Z.value
751
+ }, "relation-circle"]),
752
+ viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
753
+ width: "100%",
754
+ style: "user-select:none; background:transparent",
755
+ "aria-describedby": `chart-instructions-${E.value}`,
756
+ tabindex: "0",
757
+ onFocus: un,
758
+ onBlur: dn,
759
+ onKeydown: fn
760
+ }, [
761
+ we(C(it)),
762
+ e.$slots["chart-background"] ? (v(), p("foreignObject", {
763
+ key: 0,
764
+ x: 0,
765
+ y: 0,
766
+ width: W.value.width <= 0 ? 10 : W.value.width,
767
+ height: W.value.height <= 0 ? 10 : W.value.height,
768
+ style: { pointerEvents: "none" }
769
+ }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : f("", !0),
770
+ m("circle", {
771
+ cx: (W.value.width <= 0 ? 1e-4 : W.value.width) / 2,
772
+ cy: (W.value.height <= 0 ? 1e-4 : W.value.height) / 2 + M.value.style.circle.offsetY,
773
+ r: G.value <= 0 ? 1e-4 : G.value,
774
+ stroke: M.value.style.circle.stroke,
775
+ "stroke-width": M.value.style.circle.strokeWidth,
776
+ fill: "transparent",
777
+ class: "main-circle"
778
+ }, null, 8, Ve),
779
+ At.value ? (v(), p("g", He, [(v(!0), p(l, null, b(I.value, (e, t) => (v(), p("path", {
780
+ key: `relation_${t}`,
781
+ style: _(Wt(e)),
782
+ stroke: J(e),
783
+ class: Oe(["relation", { "vue-ui-relation-circle-selected": L.value.hasOwnProperty("id") && R.value.includes(e.id) }]),
784
+ d: `M${e.x1},${e.y1} C${e.x1},${e.y1} ${W.value.width / 2},${W.value.height / 2 + M.value.style.circle.offsetY} ${e.x2},${e.y2}`,
785
+ fill: "none",
786
+ "stroke-width": $t(e),
787
+ "stroke-linecap": "round"
788
+ }, null, 14, Ue))), 128)), (v(!0), p(l, null, b(I.value, (t, n) => (v(), p("g", We, [
789
+ Y(t) ? x(e.$slots, "dataLabel", Ee({
790
+ key: 0,
791
+ ref_for: !0
792
+ }, {
793
+ x: t.midPointBezier.x,
794
+ y: t.midPointBezier.y,
795
+ color: J(t),
796
+ weight: t.weight,
797
+ fontSize: V.value
798
+ }), void 0, !0) : f("", !0),
799
+ Y(t) && !e.$slots.dataLabel ? (v(), p("circle", {
800
+ key: 1,
801
+ cx: t.midPointBezier.x,
802
+ cy: t.midPointBezier.y,
803
+ fill: J(t),
804
+ r: V.value,
805
+ stroke: M.value.style.backgroundColor,
806
+ "stroke-width": "1"
807
+ }, null, 8, Ge)) : f("", !0),
808
+ Y(t) && !e.$slots.dataLabel ? (v(), p("text", {
809
+ key: 2,
810
+ x: t.midPointBezier.x,
811
+ y: t.midPointBezier.y + V.value / 3,
812
+ fill: C(re)(J(t)),
813
+ "text-anchor": "middle",
814
+ "font-size": V.value
815
+ }, S(C(te)(M.value.style.weightLabels.formatter, t.weight, C(s)({
816
+ p: M.value.style.weightLabels.prefix,
817
+ v: t.weight,
818
+ s: M.value.style.weightLabels.suffix,
819
+ r: M.value.style.weightLabels.rounding
820
+ }), { ...t })), 9, Ke)) : f("", !0)
821
+ ]))), 256))])) : (v(), p("g", qe, [(v(!0), p(l, null, b(I.value, (e, t) => (v(), p("line", {
822
+ key: `relation_${t}`,
823
+ stroke: J(e),
824
+ "stroke-width": $t(e),
825
+ style: _(Wt(e)),
826
+ x1: e.x1,
827
+ x2: e.x2,
828
+ y1: e.y1,
829
+ y2: e.y2,
830
+ class: Oe({ "vue-ui-relation-circle-selected": L.value.hasOwnProperty("id") && R.value.includes(e.id) }),
831
+ "stroke-linecap": "round"
832
+ }, null, 14, Je))), 128)), (v(!0), p(l, null, b(I.value, (t, n) => (v(), p("g", Ye, [
833
+ Y(t) ? x(e.$slots, "dataLabel", Ee({
834
+ key: 0,
835
+ ref_for: !0
836
+ }, {
837
+ x: t.midPointLine.x,
838
+ y: t.midPointLine.y,
839
+ color: J(t),
840
+ weight: t.weight,
841
+ fontSize: V.value
842
+ }), void 0, !0) : f("", !0),
843
+ Y(t) && !e.$slots.dataLabel && M.value.style.weightLabels.show ? (v(), p("circle", {
844
+ key: 1,
845
+ cx: t.midPointLine.x,
846
+ cy: t.midPointLine.y,
847
+ fill: J(t),
848
+ r: V.value,
849
+ stroke: M.value.style.backgroundColor,
850
+ "stroke-width": "1"
851
+ }, null, 8, Xe)) : f("", !0),
852
+ Y(t) && !e.$slots.dataLabel && M.value.style.weightLabels.show ? (v(), p("text", {
853
+ key: 2,
854
+ x: t.midPointLine.x,
855
+ y: t.midPointLine.y + V.value / 3,
856
+ fill: C(re)(J(t)),
857
+ "text-anchor": "middle",
858
+ "font-size": V.value
859
+ }, S(C(te)(M.value.style.weightLabels.formatter, t.weight, C(s)({
860
+ p: M.value.style.weightLabels.prefix,
861
+ v: t.weight,
862
+ s: M.value.style.weightLabels.suffix,
863
+ r: M.value.style.weightLabels.rounding
864
+ }), { ...t })), 9, Ze)) : f("", !0)
865
+ ]))), 256))])),
866
+ (v(!0), p(l, null, b(F.value, (e, t) => (v(), p("text", {
867
+ key: `plot_text_${t}`,
868
+ "text-anchor": Gt(e),
869
+ transform: Jt(e),
870
+ x: Kt(e),
871
+ y: e.y + 5,
872
+ class: "vue-ui-relation-circle-legend",
873
+ "transform-origin": "start",
874
+ "font-weight": L.value.id === e.id ? "900" : "400",
875
+ style: _(`font-family:${M.value.style.fontFamily};${qt(e)};cursor:${N.value ? "pointer" : "default"}`),
876
+ "font-size": U.value,
877
+ fill: M.value.style.labels.color,
878
+ "text-decoration": t === X.value || t === A.value ? "underline" : void 0,
879
+ onClick: (n) => Qt(e, t),
880
+ onMouseenter: (n) => Yt(e, t),
881
+ onMouseleave: (n) => Xt(e, t)
882
+ }, [C(gt) ? (v(), p(l, { key: 0 }, [Ce("--------")], 64)) : (v(), p(l, { key: 1 }, [Ce(S(e.label) + " (" + S(C(te)(M.value.style.weightLabels.formatter, e.totalWeight, C(s)({
883
+ p: M.value.style.weightLabels.prefix,
884
+ v: e.totalWeight,
885
+ s: M.value.style.weightLabels.suffix,
886
+ r: M.value.style.weightLabels.rounding
887
+ }), { ...e })) + ") ", 1)], 64))], 44, Qe))), 128)),
888
+ (v(!0), p(l, null, b(F.value, (e, t) => (v(), p("circle", {
889
+ cx: e.x,
890
+ cy: e.y,
891
+ key: `plot_${t}`,
892
+ style: _(`${Ut(e)}; transition: r 0.2s ease-in-out; cursor:${N.value ? "pointer" : "default"}`),
893
+ class: "vue-ui-relation-circle-plot",
894
+ fill: M.value.style.plot.useSerieColor ? e.color : M.value.style.plot.color,
895
+ stroke: M.value.style.backgroundColor,
896
+ "stroke-width": "1",
897
+ r: H.value * (t === X.value || t === A.value ? 2 : 1),
898
+ onClick: (n) => Qt(e, t),
899
+ onMouseenter: (n) => Yt(e, t),
900
+ onMouseleave: (n) => Xt(e, t)
901
+ }, null, 44, $e))), 128)),
902
+ x(e.$slots, "svg", { svg: {
903
+ ...W.value,
904
+ isPrintingImg: C(Ct) || C(wt) || O.value,
905
+ isPrintingSvg: k.value
906
+ } }, void 0, !0)
907
+ ], 42, ze)), e.$slots.hint ? (v(), p("div", et, [x(e.$slots, "hint", g(h({
908
+ hint: M.value.a11y.translations.keyboardNavigation,
909
+ isVisible: j.value
910
+ })), void 0, !0)])) : f("", !0)]),
911
+ e.$slots.watermark ? (v(), p("div", tt, [x(e.$slots, "watermark", g(h({ isPrinting: C(Ct) || C(wt) || O.value || k.value })), void 0, !0)])) : f("", !0),
912
+ e.$slots.source ? (v(), p("div", {
913
+ key: 6,
914
+ ref_key: "source",
915
+ ref: ft,
916
+ dir: "auto"
917
+ }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
918
+ x(e.$slots, "skeleton", {}, () => [C(gt) ? (v(), d(ce, { key: 0 })) : f("", !0)], !0)
919
+ ], 44, Ie));
920
+ }
921
+ }, [["__scopeId", "data-v-dc8435a4"]]);
922
+ //#endregion
923
+ export { Fe as n, nt as t };