vue-data-ui 3.10.0 → 3.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
  3. package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
  4. package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
  5. package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
  6. package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
  7. package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
  9. package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
  10. package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
  11. package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
  12. package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
  13. package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
  14. package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
  15. package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
  16. package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
  17. package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-bump.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
  88. package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
  89. package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
  90. package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
  91. package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +3 -1
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
  95. package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
  96. package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
  97. package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
  98. package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
  99. package/dist/vue-data-ui.js +73 -73
  100. package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
  101. package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
  102. package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
  103. package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
  104. package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
  105. package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
  106. package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
  107. package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
  108. package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
  109. package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
  110. package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
  111. package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
  112. package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
  113. package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
  114. package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
  115. package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
  116. package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
  117. package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
  118. package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
  119. package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
  120. package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
  121. package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
  122. package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
  123. package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
  124. package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
  125. package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
  126. package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
  127. package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
  128. package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
  129. package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
  130. package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
  131. package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
  132. package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
  133. package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
  134. package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
  135. package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
  136. package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
  137. package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
  138. package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
  139. package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
  140. package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
  141. package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
  142. package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
  143. package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
  144. package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
  145. package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
  146. package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
  147. package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
  148. package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
  149. package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
  150. package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
  151. package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
  152. package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
  153. package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
  154. package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
  155. package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
  156. package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
  157. package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
  158. package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
  159. package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
  160. package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
  161. package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
  162. package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
  163. package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
  164. package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
  165. package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
  166. package/package.json +1 -1
  167. package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
@@ -1,38 +1,42 @@
1
- import { useCssVars as wt, computed as y, defineAsyncComponent as Z, ref as u, toRefs as Ct, watch as ee, shallowRef as ze, onMounted as At, onBeforeUnmount as xt, createElementBlock as n, openBlock as a, unref as i, normalizeStyle as I, createBlock as U, createCommentVNode as g, withCtx as h, renderSlot as v, normalizeProps as w, guardReactiveProps as C, createSlots as $t, normalizeClass as te, createVNode as _t, createElementVNode as Lt, Fragment as _, renderList as M, mergeProps as Oe, toDisplayString as V, createTextVNode as Se } from "vue";
2
- import { c as Pt, t as zt, i as Ot, j as Ie, k as St, o as Me, g as Be, l as It, X as Mt, x as Ee, a as le, d as se, a2 as oe } from "./lib-2iaAPQ_c.js";
3
- import { t as Bt, u as Et } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ft, a as ae } from "./useNestedProp-BCt4DMkT.js";
5
- import { u as Tt, B as Dt } from "./BaseScanner-BMpwQAfz.js";
6
- import { u as Rt } from "./usePrinter-ChVMpU2f.js";
7
- import { u as jt } from "./useSvgExport-ByUukOZt.js";
8
- import { u as Nt } from "./useThemeCheck-DGJ31Vi5.js";
9
- import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
11
- import { u as Gt } from "./useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js";
12
- import Wt from "./img-CqYIrJ8I.js";
13
- import Xt from "./Title-B5L2jweB.js";
14
- import { _ as Yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { color: "#CCCCCC" }, circle: { stroke: "#5A5A5A" }, plot: { color: "#1A1A1A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, Te = { style: { backgroundColor: "#FFF8E1", color: "#424242", labels: { color: "#424242" }, circle: { stroke: "#5D403780" }, plot: { color: "#5D4037" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, De = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", labels: { color: "#BDBDBD" }, circle: { stroke: "#5D403780" }, plot: { color: "#5D4037" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, Re = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", labels: { color: "#AACCAA" }, circle: { stroke: "#333333" }, plot: { color: "#66CC66" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, je = { style: { backgroundColor: "#fbfafa", color: "#8A9892", labels: { color: "#A0AC94" }, circle: { stroke: "transparent" }, plot: { color: "#C09E85" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, Ne = { style: { backgroundColor: "#f6f6fb", color: "#50606C", labels: { color: "#61747E" }, circle: { stroke: "#D2D7E0" }, plot: { color: "#97ACB7" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, Ue = {
1
+ import { useCssVars as At, computed as y, defineAsyncComponent as Z, ref as u, toRefs as xt, watch as ee, shallowRef as ze, onMounted as $t, onBeforeUnmount as _t, createElementBlock as n, openBlock as a, unref as i, normalizeStyle as I, createBlock as U, createCommentVNode as g, withCtx as h, renderSlot as v, normalizeProps as C, guardReactiveProps as w, createSlots as Lt, normalizeClass as te, createVNode as Pt, createElementVNode as zt, Fragment as _, renderList as M, mergeProps as Oe, toDisplayString as V, createTextVNode as Se } from "vue";
2
+ import { c as Ot, t as St, i as It, j as Ie, k as Mt, o as Me, g as Be, l as Bt, X as Et, x as Ee, a as le, d as oe, a2 as se } from "./lib-CVHM9FhP.js";
3
+ import { t as Ft, u as Tt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Dt, a as ae } from "./useNestedProp-Ckf_2P_V.js";
5
+ import { u as Rt, B as jt } from "./BaseScanner-BMpwQAfz.js";
6
+ import { u as Nt } from "./usePrinter-1NmjuP-i.js";
7
+ import { u as Ut } from "./useSvgExport-ByUukOZt.js";
8
+ import { u as Vt } from "./useThemeCheck-D1ZYXUwG.js";
9
+ import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as Wt } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as Xt } from "./useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js";
12
+ import Yt from "./img-6fNF_rG0.js";
13
+ import qt from "./Title-NgeRXqRA.js";
14
+ import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Fe = { userOptions: { show: !1 } }, Te = { userOptions: { show: !1 }, style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { color: "#CCCCCC" }, circle: { stroke: "#5A5A5A" }, plot: { color: "#1A1A1A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, De = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { color: "#CCCCCC" }, circle: { stroke: "#5A5A5A" }, plot: { color: "#1A1A1A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, Re = { style: { backgroundColor: "#FFF8E1", color: "#424242", labels: { color: "#424242" }, circle: { stroke: "#5D403780" }, plot: { color: "#5D4037" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, je = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", labels: { color: "#BDBDBD" }, circle: { stroke: "#5D403780" }, plot: { color: "#5D4037" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, Ne = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", labels: { color: "#AACCAA" }, circle: { stroke: "#333333" }, plot: { color: "#66CC66" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, Ue = { style: { backgroundColor: "#fbfafa", color: "#8A9892", labels: { color: "#A0AC94" }, circle: { stroke: "transparent" }, plot: { color: "#C09E85" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, Ve = { style: { backgroundColor: "#f6f6fb", color: "#50606C", labels: { color: "#61747E" }, circle: { stroke: "#D2D7E0" }, plot: { color: "#97ACB7" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, Ge = {
16
16
  default: {},
17
- dark: Fe,
18
- celebration: Te,
19
- celebrationNight: De,
20
- hack: Re,
21
- zen: je,
22
- concrete: Ne
23
- }, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
+ minimal: Fe,
18
+ minimalDark: Te,
19
+ dark: De,
20
+ celebration: Re,
21
+ celebrationNight: je,
22
+ hack: Ne,
23
+ zen: Ue,
24
+ concrete: Ve
25
+ }, zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
26
  __proto__: null,
25
- celebration: Te,
26
- celebrationNight: De,
27
- concrete: Ne,
28
- dark: Fe,
29
- default: Ue,
30
- hack: Re,
31
- zen: je
32
- }, Symbol.toStringTag, { value: "Module" })), qt = ["id"], Ht = ["xmlns", "viewBox"], Jt = ["width", "height"], Kt = ["cx", "cy", "r", "stroke", "stroke-width"], Qt = { key: 1 }, Zt = ["stroke", "d", "stroke-width"], el = { style: { "pointer-events": "none" } }, tl = ["cx", "cy", "fill", "r", "stroke"], ll = ["x", "y", "fill", "font-size"], sl = { key: 2 }, ol = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], al = { style: { "pointer-events": "none" } }, nl = ["cx", "cy", "fill", "r", "stroke"], il = ["x", "y", "fill", "font-size"], rl = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], ul = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], cl = {
27
+ celebration: Re,
28
+ celebrationNight: je,
29
+ concrete: Ve,
30
+ dark: De,
31
+ default: Ge,
32
+ hack: Ne,
33
+ minimal: Fe,
34
+ minimalDark: Te,
35
+ zen: Ue
36
+ }, Symbol.toStringTag, { value: "Module" })), Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "height"], Zt = ["cx", "cy", "r", "stroke", "stroke-width"], el = { key: 1 }, tl = ["stroke", "d", "stroke-width"], ll = { style: { "pointer-events": "none" } }, ol = ["cx", "cy", "fill", "r", "stroke"], sl = ["x", "y", "fill", "font-size"], al = { key: 2 }, nl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], il = { style: { "pointer-events": "none" } }, rl = ["cx", "cy", "fill", "r", "stroke"], ul = ["x", "y", "fill", "font-size"], cl = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], dl = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], vl = {
33
37
  key: 4,
34
38
  class: "vue-data-ui-watermark"
35
- }, dl = {
39
+ }, fl = {
36
40
  __name: "vue-ui-relation-circle",
37
41
  props: {
38
42
  dataset: {
@@ -48,14 +52,14 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
48
52
  }
49
53
  }
50
54
  },
51
- setup(Ve, { expose: Ge }) {
52
- wt((e) => ({
53
- v0ccf0e06: st.value,
54
- v0ab0445c: lt.value,
55
- v08643f3e: ot.value
55
+ setup(We, { expose: Xe }) {
56
+ At((e) => ({
57
+ v0ccf0e06: at.value,
58
+ v0ab0445c: st.value,
59
+ v08643f3e: nt.value
56
60
  }));
57
- const We = Z(() => import("./PenAndPaper-CulSakut.js")), Xe = Z(() => import("./UserOptions-5pXc4J-c.js")), Ye = Z(() => import("./PackageVersion-C-JOGZBL.js")), { vue_ui_relation_circle: qe } = Ft(), { isThemeValid: He, warnInvalidTheme: Je } = Nt(), m = Ve, Ke = y(() => !!m.dataset && Object.keys(m.dataset).length), B = u(Pt()), ne = u(0), L = u(null), ie = u(null), re = u(null), ue = u(null), ce = u(0), l = u(X()), { loading: de, FINAL_DATASET: Qe, manualLoading: G } = Tt({
58
- ...Ct(m),
61
+ const Ye = Z(() => import("./PenAndPaper-LTuSTmWE.js")), qe = Z(() => import("./UserOptions-CX7Xsusk.js")), He = Z(() => import("./PackageVersion-CQxJyGQr.js")), { vue_ui_relation_circle: Je } = Dt(), { isThemeValid: Ke, warnInvalidTheme: Qe } = Vt(), m = We, Ze = y(() => !!m.dataset && Object.keys(m.dataset).length), B = u(Ot()), ne = u(0), L = u(null), ie = u(null), re = u(null), ue = u(null), ce = u(0), l = u(X()), { loading: de, FINAL_DATASET: et, manualLoading: G } = Rt({
62
+ ...xt(m),
59
63
  FINAL_CONFIG: l,
60
64
  prepareConfig: X,
61
65
  skeletonDataset: [
@@ -67,7 +71,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
67
71
  { id: "F", label: "_", relations: ["A"] },
68
72
  { id: "G", label: "_", relations: ["A"] }
69
73
  ],
70
- skeletonConfig: zt({
74
+ skeletonConfig: St({
71
75
  defaultConfig: l.value,
72
76
  userConfig: {
73
77
  userOptions: { show: !1 },
@@ -81,25 +85,25 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
81
85
  }
82
86
  }
83
87
  })
84
- }), { userOptionsVisible: W, setUserOptionsVisibility: ve, keepUserOptionState: fe } = Ut({ config: l.value }), { svgRef: F } = Vt({ config: l.value.style.title });
88
+ }), { userOptionsVisible: W, setUserOptionsVisibility: ve, keepUserOptionState: fe } = Gt({ config: l.value }), { svgRef: F } = Wt({ config: l.value.style.title });
85
89
  function X() {
86
90
  const e = ae({
87
91
  userConfig: m.config,
88
- defaultConfig: qe
89
- }), s = e.theme;
90
- if (!s) return e;
91
- if (!He.value(e))
92
- return Je(e), e;
92
+ defaultConfig: Je
93
+ }), o = e.theme;
94
+ if (!o) return e;
95
+ if (!Ke.value(e))
96
+ return Qe(e), e;
93
97
  const t = ae({
94
- userConfig: Ue[s] || m.config,
98
+ userConfig: Ge[o] || m.config,
95
99
  defaultConfig: e
96
- }), o = ae({
100
+ }), s = ae({
97
101
  userConfig: m.config,
98
102
  defaultConfig: t
99
103
  });
100
104
  return {
101
- ...o,
102
- customPalette: o.customPalette.length ? o.customPalette : Ot[s] || Ie
105
+ ...s,
106
+ customPalette: s.customPalette.length ? s.customPalette : It[o] || Ie
103
107
  };
104
108
  }
105
109
  ee(() => m.config, (e) => {
@@ -107,16 +111,16 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
107
111
  }, { deep: !0 }), ee(() => m.dataset, (e) => {
108
112
  Array.isArray(e) && e.length > 0 && (G.value = !1);
109
113
  }, { deep: !0 });
110
- const { isPrinting: ge, isImaging: ye, generatePdf: he, generateImage: me } = Rt({
114
+ const { isPrinting: ge, isImaging: ye, generatePdf: he, generateImage: me } = Nt({
111
115
  elementId: `relation_circle_${B.value}`,
112
116
  fileName: l.value.style.title.text || "vue-ui-relation-circle",
113
117
  options: l.value.userOptions.print
114
- }), Ze = y(() => l.value.userOptions.show && !l.value.style.title.text), be = y(() => St(l.value.customPalette)), A = u([]), p = u([]), f = u({}), k = u([]), et = u(0), T = y(() => Qe.value.slice(0, l.value.style.limit).map((e) => {
115
- const s = Array.isArray(e.relations) ? e.relations : [];
118
+ }), tt = y(() => l.value.userOptions.show && !l.value.style.title.text), be = y(() => Mt(l.value.customPalette)), A = u([]), p = u([]), f = u({}), k = u([]), lt = u(0), T = y(() => et.value.slice(0, l.value.style.limit).map((e) => {
119
+ const o = Array.isArray(e.relations) ? e.relations : [];
116
120
  return {
117
121
  ...e,
118
- weights: Array.isArray(e.weights) ? e.weights : new Array(s.length).fill(1),
119
- relations: s
122
+ weights: Array.isArray(e.weights) ? e.weights : new Array(o.length).fill(1),
123
+ relations: o
120
124
  };
121
125
  }));
122
126
  ee(T, () => {
@@ -132,9 +136,9 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
132
136
  set(e) {
133
137
  return e;
134
138
  }
135
- }), tt = y(() => l.value.style.links.curved), lt = y(() => `${l.value.style.animation.speedMs}ms`), st = y(() => z.value * 2), ot = y(() => z.value * 4), x = ze(null), O = ze(null);
136
- At(() => {
137
- ke(), document.getElementById(`relation_circle_${B.value}`).addEventListener("click", Ce);
139
+ }), ot = y(() => l.value.style.links.curved), st = y(() => `${l.value.style.animation.speedMs}ms`), at = y(() => z.value * 2), nt = y(() => z.value * 4), x = ze(null), O = ze(null);
140
+ $t(() => {
141
+ ke(), document.getElementById(`relation_circle_${B.value}`).addEventListener("click", we);
138
142
  });
139
143
  const pe = y(() => l.value.debug);
140
144
  function ke() {
@@ -142,8 +146,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
142
146
  componentName: "VueUiRelationCircle",
143
147
  type: "dataset",
144
148
  debug: pe.value
145
- }), G.value = !0) : m.dataset.forEach((e, s) => {
146
- It({
149
+ }), G.value = !0) : m.dataset.forEach((e, o) => {
150
+ Bt({
147
151
  datasetObject: e,
148
152
  requiredAttributes: ["id", "label", "relations", "weights"]
149
153
  }).forEach((t) => {
@@ -151,32 +155,32 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
151
155
  componentName: "VueUiRelationCircle",
152
156
  type: "datasetSerieAttribute",
153
157
  property: t,
154
- index: s,
158
+ index: o,
155
159
  debug: pe.value
156
160
  });
157
161
  });
158
162
  }), Me(m.dataset) || (G.value = l.value.loading), l.value.responsive) {
159
- const e = Bt(() => {
160
- const { width: s, height: t } = Et({
163
+ const e = Ft(() => {
164
+ const { width: o, height: t } = Tt({
161
165
  chart: L.value,
162
166
  title: l.value.style.title.text ? ie.value : null,
163
167
  source: re.value,
164
168
  noTitle: ue.value
165
169
  });
166
170
  requestAnimationFrame(() => {
167
- P.value = Math.min(s, t), r.value.width = Math.max(0.1, s), r.value.height = Math.max(0.1, t - 12), z.value = P.value * l.value.style.circle.radiusProportion, A.value = [], p.value = [], Y(), q(), we(), l.value.responsiveProportionalSizing ? (b.value = oe({
171
+ P.value = Math.min(o, t), r.value.width = Math.max(0.1, o), r.value.height = Math.max(0.1, t - 12), z.value = P.value * l.value.style.circle.radiusProportion, A.value = [], p.value = [], Y(), q(), Ce(), l.value.responsiveProportionalSizing ? (b.value = se({
168
172
  relator: P.value,
169
173
  adjuster: l.value.style.size,
170
174
  source: l.value.style.weightLabels.size,
171
175
  threshold: 6,
172
176
  fallback: 6
173
- }), D.value = oe({
177
+ }), D.value = se({
174
178
  relator: P.value,
175
179
  adjuster: l.value.style.size,
176
180
  source: l.value.style.plot.radius,
177
181
  threshold: 1,
178
182
  fallback: 1
179
- }), E.value = oe({
183
+ }), E.value = se({
180
184
  relator: P.value,
181
185
  adjuster: l.value.style.size,
182
186
  source: l.value.style.labels.fontSize,
@@ -188,37 +192,37 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
188
192
  x.value && (O.value && x.value.unobserve(O.value), x.value.disconnect()), x.value = new ResizeObserver(e), O.value = L.value.parentNode, x.value.observe(O.value);
189
193
  } else
190
194
  A.value = [], p.value = [], Y(), q();
191
- we();
195
+ Ce();
192
196
  }
193
- xt(() => {
194
- document.getElementById(`relation_circle_${B.value}`).removeEventListener("click", Ce), x.value && (O.value && x.value.unobserve(O.value), x.value.disconnect());
197
+ _t(() => {
198
+ document.getElementById(`relation_circle_${B.value}`).removeEventListener("click", we), x.value && (O.value && x.value.unobserve(O.value), x.value.disconnect());
195
199
  });
196
- const { autoSizeLabels: we } = Gt({
200
+ const { autoSizeLabels: Ce } = Xt({
197
201
  svgRef: F,
198
202
  fontSize: l.value.style.labels.fontSize,
199
203
  minFontSize: l.value.style.labels.minFontSize,
200
204
  sizeRef: E,
201
205
  labelClass: ".vue-ui-relation-circle-legend"
202
206
  });
203
- function Ce(e) {
204
- const s = e.target;
205
- 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") || (f.value = {}, k.value = []);
207
+ function we(e) {
208
+ const o = e.target;
209
+ o && Array.from(o.classList).includes("vue-ui-user-options") || o && Array.from(o.classList).includes("vue-ui-user-options-summary") || o && Array.from(o.classList).includes("vue-data-ui-button") || o && Array.from(o.classList).includes("vue-ui-relation-circle-legend") || (f.value = {}, k.value = []);
206
210
  }
207
211
  function Y() {
208
- const e = 6.28319 / T.value.length, s = 360 / T.value.length;
209
- let t = 0, o = 0;
212
+ const e = 6.28319 / T.value.length, o = 360 / T.value.length;
213
+ let t = 0, s = 0;
210
214
  T.value.forEach((c, d) => {
211
- const K = c.weights.reduce((pt, kt) => pt + kt, 0), Q = z.value * Math.cos(t) + r.value.width / 2, bt = z.value * Math.sin(t) + r.value.height / 2 + l.value.style.circle.offsetY;
212
- A.value.push({ x: Q, y: bt, ...c, color: c.color ? c.color : be.value[d] ? be.value[d] : Ie[d], regAngle: o, totalWeight: K }), t += e, o += s;
215
+ const K = c.weights.reduce((Ct, wt) => Ct + wt, 0), Q = z.value * Math.cos(t) + r.value.width / 2, kt = z.value * Math.sin(t) + r.value.height / 2 + l.value.style.circle.offsetY;
216
+ A.value.push({ x: Q, y: kt, ...c, color: c.color ? c.color : be.value[d] ? be.value[d] : Ie[d], regAngle: s, totalWeight: K }), t += e, s += o;
213
217
  });
214
218
  }
215
- function at(e, s) {
216
- const t = (e.x + s.x) / 2, o = (e.y + s.y) / 2;
217
- return { x: t, y: o };
219
+ function it(e, o) {
220
+ const t = (e.x + o.x) / 2, s = (e.y + o.y) / 2;
221
+ return { x: t, y: s };
218
222
  }
219
223
  function q() {
220
224
  p.value = [], A.value.forEach((e) => {
221
- A.value.filter((t) => t.relations.includes(e.id)).forEach((t, o) => {
225
+ A.value.filter((t) => t.relations.includes(e.id)).forEach((t, s) => {
222
226
  const c = t.relations.indexOf(e.id);
223
227
  p.value.push({
224
228
  weight: t.weights[c] ? t.weights[c] : 0,
@@ -229,8 +233,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
229
233
  y2: t.y,
230
234
  colorSource: e.color,
231
235
  colorTarget: t.color,
232
- midPointLine: at({ x: e.x, y: e.y }, { x: t.x, y: t.y }),
233
- midPointBezier: nt({
236
+ midPointLine: it({ x: e.x, y: e.y }, { x: t.x, y: t.y }),
237
+ midPointBezier: rt({
234
238
  x1: e.x,
235
239
  x2: t.x,
236
240
  y1: e.y,
@@ -241,15 +245,15 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
241
245
  });
242
246
  });
243
247
  }
244
- function nt(e) {
245
- const s = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, o = { x: e.x1, y: e.y1 }, c = {
248
+ function rt(e) {
249
+ const o = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, s = { x: e.x1, y: e.y1 }, c = {
246
250
  x: r.value.width / 2,
247
251
  y: r.value.height / 2 + l.value.style.circle.offsetY
248
- }, d = 0.5, K = Math.pow(1 - d, 3) * s.x + 3 * Math.pow(1 - d, 2) * d * o.x + 3 * (1 - d) * Math.pow(d, 2) * c.x + Math.pow(d, 3) * t.x, Q = Math.pow(1 - d, 3) * s.y + 3 * Math.pow(1 - d, 2) * d * o.y + 3 * (1 - d) * Math.pow(d, 2) * c.y + Math.pow(d, 3) * t.y;
252
+ }, d = 0.5, K = Math.pow(1 - d, 3) * o.x + 3 * Math.pow(1 - d, 2) * d * s.x + 3 * (1 - d) * Math.pow(d, 2) * c.x + Math.pow(d, 3) * t.x, Q = Math.pow(1 - d, 3) * o.y + 3 * Math.pow(1 - d, 2) * d * s.y + 3 * (1 - d) * Math.pow(d, 2) * c.y + Math.pow(d, 3) * t.y;
249
253
  return { x: K, y: Q };
250
254
  }
251
- const it = y(() => Math.max(...p.value.map((e) => e.weight)));
252
- function rt(e) {
255
+ const ut = y(() => Math.max(...p.value.map((e) => e.weight)));
256
+ function ct(e) {
253
257
  return Object.hasOwn(f.value, "x") ? k.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
254
258
  }
255
259
  function $(e) {
@@ -261,31 +265,31 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
261
265
  function S(e) {
262
266
  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;
263
267
  }
264
- function ut(e) {
268
+ function dt(e) {
265
269
  return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
266
270
  }
267
- function ct(e) {
271
+ function vt(e) {
268
272
  return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
269
273
  }
270
- function dt(e) {
274
+ function ft(e) {
271
275
  return Object.hasOwn(f.value, "x") ? f.value.id === e.id || k.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
272
276
  }
273
- function vt(e) {
277
+ function gt(e) {
274
278
  return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
275
279
  }
276
280
  const R = u(null);
277
- function xe(e, s) {
278
- R.value = s, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: s });
281
+ function xe(e, o) {
282
+ R.value = o, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: o });
279
283
  }
280
- function $e(e, s) {
281
- R.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: s });
284
+ function $e(e, o) {
285
+ R.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: o });
282
286
  }
283
- function _e(e, s) {
284
- l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: s }), et.value = 360 - e.regAngle, f.value.id && e.id === f.value.id ? (f.value = {}, k.value = []) : (f.value = e, k.value = [...e.relations]);
287
+ function _e(e, o) {
288
+ l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: o }), lt.value = 360 - e.regAngle, f.value.id && e.id === f.value.id ? (f.value = {}, k.value = []) : (f.value = e, k.value = [...e.relations]);
285
289
  }
286
290
  function H(e) {
287
- const s = e.weight / it.value * l.value.style.links.maxWidth;
288
- return Math.max(0.3, s);
291
+ const o = e.weight / ut.value * l.value.style.links.maxWidth;
292
+ return Math.max(0.3, o);
289
293
  }
290
294
  const j = u(!1);
291
295
  function Le(e) {
@@ -295,47 +299,47 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
295
299
  function J() {
296
300
  N.value = !N.value;
297
301
  }
298
- async function ft({ scale: e = 2 } = {}) {
302
+ async function yt({ scale: e = 2 } = {}) {
299
303
  if (!L.value) return;
300
- const { width: s, height: t } = L.value.getBoundingClientRect(), o = s / t, { imageUri: c, base64: d } = await Wt({ domElement: L.value, base64: !0, img: !0, scale: e });
304
+ const { width: o, height: t } = L.value.getBoundingClientRect(), s = o / t, { imageUri: c, base64: d } = await Yt({ domElement: L.value, base64: !0, img: !0, scale: e });
301
305
  return {
302
306
  imageUri: c,
303
307
  base64: d,
304
308
  title: l.value.style.title.text,
305
- width: s,
309
+ width: o,
306
310
  height: t,
307
- aspectRatio: o
311
+ aspectRatio: s
308
312
  };
309
313
  }
310
- const gt = y(() => l.value.style.backgroundColor), yt = y(() => l.value.style.title), { exportSvg: ht, getSvg: mt } = jt({
314
+ const ht = y(() => l.value.style.backgroundColor), mt = y(() => l.value.style.title), { exportSvg: bt, getSvg: pt } = Ut({
311
315
  svg: F,
312
- title: yt,
313
- backgroundColor: gt
316
+ title: mt,
317
+ backgroundColor: ht
314
318
  });
315
319
  async function Pe({ isCb: e }) {
316
320
  if (e) {
317
- const { blob: s, url: t, text: o, dataUrl: c } = await mt();
318
- l.value.userOptions.callbacks.svg({ blob: s, url: t, text: o, dataUrl: c });
321
+ const { blob: o, url: t, text: s, dataUrl: c } = await pt();
322
+ l.value.userOptions.callbacks.svg({ blob: o, url: t, text: s, dataUrl: c });
319
323
  } else
320
- ht();
324
+ bt();
321
325
  }
322
- return Ge({
323
- getImage: ft,
326
+ return Xe({
327
+ getImage: yt,
324
328
  generatePdf: he,
325
329
  generateSvg: Pe,
326
330
  generateImage: me,
327
331
  toggleAnnotator: J,
328
332
  toggleFullscreen: Le
329
- }), (e, s) => (a(), n("div", {
333
+ }), (e, o) => (a(), n("div", {
330
334
  ref_key: "relationCircleChart",
331
335
  ref: L,
332
336
  class: "vue-data-ui-component vue-ui-relation-circle",
333
337
  style: I(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
334
338
  id: `relation_circle_${B.value}`,
335
- onMouseenter: s[0] || (s[0] = () => i(ve)(!0)),
336
- onMouseleave: s[1] || (s[1] = () => i(ve)(!1))
339
+ onMouseenter: o[0] || (o[0] = () => i(ve)(!0)),
340
+ onMouseleave: o[1] || (o[1] = () => i(ve)(!1))
337
341
  }, [
338
- l.value.userOptions.buttons.annotator ? (a(), U(i(We), {
342
+ l.value.userOptions.buttons.annotator ? (a(), U(i(Ye), {
339
343
  key: 0,
340
344
  svgRef: i(F),
341
345
  backgroundColor: l.value.style.backgroundColor,
@@ -347,23 +351,23 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
347
351
  v(e.$slots, "annotator-action-close", {}, void 0, !0)
348
352
  ]),
349
353
  "annotator-action-color": h(({ color: t }) => [
350
- v(e.$slots, "annotator-action-color", w(C({ color: t })), void 0, !0)
354
+ v(e.$slots, "annotator-action-color", C(w({ color: t })), void 0, !0)
351
355
  ]),
352
356
  "annotator-action-draw": h(({ mode: t }) => [
353
- v(e.$slots, "annotator-action-draw", w(C({ mode: t })), void 0, !0)
357
+ v(e.$slots, "annotator-action-draw", C(w({ mode: t })), void 0, !0)
354
358
  ]),
355
359
  "annotator-action-undo": h(({ disabled: t }) => [
356
- v(e.$slots, "annotator-action-undo", w(C({ disabled: t })), void 0, !0)
360
+ v(e.$slots, "annotator-action-undo", C(w({ disabled: t })), void 0, !0)
357
361
  ]),
358
362
  "annotator-action-redo": h(({ disabled: t }) => [
359
- v(e.$slots, "annotator-action-redo", w(C({ disabled: t })), void 0, !0)
363
+ v(e.$slots, "annotator-action-redo", C(w({ disabled: t })), void 0, !0)
360
364
  ]),
361
365
  "annotator-action-delete": h(({ disabled: t }) => [
362
- v(e.$slots, "annotator-action-delete", w(C({ disabled: t })), void 0, !0)
366
+ v(e.$slots, "annotator-action-delete", C(w({ disabled: t })), void 0, !0)
363
367
  ]),
364
368
  _: 3
365
369
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
366
- Ze.value ? (a(), n("div", {
370
+ tt.value ? (a(), n("div", {
367
371
  key: 1,
368
372
  ref_key: "noTitle",
369
373
  ref: ue,
@@ -376,7 +380,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
376
380
  ref: ie,
377
381
  style: "width:100%;background:transparent"
378
382
  }, [
379
- (a(), U(Xt, {
383
+ (a(), U(qt, {
380
384
  key: `title_${ce.value}`,
381
385
  config: {
382
386
  title: {
@@ -390,7 +394,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
390
394
  }
391
395
  }, null, 8, ["config"]))
392
396
  ], 512)) : g("", !0),
393
- l.value.userOptions.show && Ke.value && (i(fe) || i(W)) ? (a(), U(i(Xe), {
397
+ l.value.userOptions.show && Ze.value && (i(fe) || i(W)) ? (a(), U(i(qe), {
394
398
  ref: "details",
395
399
  key: `user_options_${ne.value}`,
396
400
  backgroundColor: l.value.style.backgroundColor,
@@ -419,11 +423,11 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
419
423
  style: I({
420
424
  visibility: i(fe) ? i(W) ? "visible" : "hidden" : "visible"
421
425
  })
422
- }, $t({ _: 2 }, [
426
+ }, Lt({ _: 2 }, [
423
427
  e.$slots.menuIcon ? {
424
428
  name: "menuIcon",
425
- fn: h(({ isOpen: t, color: o }) => [
426
- v(e.$slots, "menuIcon", w(C({ isOpen: t, color: o })), void 0, !0)
429
+ fn: h(({ isOpen: t, color: s }) => [
430
+ v(e.$slots, "menuIcon", C(w({ isOpen: t, color: s })), void 0, !0)
427
431
  ]),
428
432
  key: "0"
429
433
  } : void 0,
@@ -450,15 +454,15 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
450
454
  } : void 0,
451
455
  e.$slots.optionFullscreen ? {
452
456
  name: "optionFullscreen",
453
- fn: h(({ toggleFullscreen: t, isFullscreen: o }) => [
454
- v(e.$slots, "optionFullscreen", w(C({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
457
+ fn: h(({ toggleFullscreen: t, isFullscreen: s }) => [
458
+ v(e.$slots, "optionFullscreen", C(w({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
455
459
  ]),
456
460
  key: "4"
457
461
  } : void 0,
458
462
  e.$slots.optionAnnotator ? {
459
463
  name: "optionAnnotator",
460
- fn: h(({ toggleAnnotator: t, isAnnotator: o }) => [
461
- v(e.$slots, "optionAnnotator", w(C({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
464
+ fn: h(({ toggleAnnotator: t, isAnnotator: s }) => [
465
+ v(e.$slots, "optionAnnotator", C(w({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
462
466
  ]),
463
467
  key: "5"
464
468
  } : void 0
@@ -466,13 +470,13 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
466
470
  (a(), n("svg", {
467
471
  ref_key: "svgRef",
468
472
  ref: F,
469
- xmlns: i(Mt),
473
+ xmlns: i(Et),
470
474
  class: te([{ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }, "relation-circle"]),
471
475
  viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
472
476
  width: "100%",
473
477
  style: "user-select:none; background:transparent"
474
478
  }, [
475
- _t(i(Ye)),
479
+ Pt(i(He)),
476
480
  e.$slots["chart-background"] ? (a(), n("foreignObject", {
477
481
  key: 0,
478
482
  x: 0,
@@ -484,8 +488,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
484
488
  }
485
489
  }, [
486
490
  v(e.$slots, "chart-background", {}, void 0, !0)
487
- ], 8, Jt)) : g("", !0),
488
- Lt("circle", {
491
+ ], 8, Qt)) : g("", !0),
492
+ zt("circle", {
489
493
  cx: (r.value.width <= 0 ? 1e-4 : r.value.width) / 2,
490
494
  cy: (r.value.height <= 0 ? 1e-4 : r.value.height) / 2 + l.value.style.circle.offsetY,
491
495
  r: z.value <= 0 ? 1e-4 : z.value,
@@ -493,10 +497,10 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
493
497
  "stroke-width": l.value.style.circle.strokeWidth,
494
498
  fill: "transparent",
495
499
  class: "main-circle"
496
- }, null, 8, Kt),
497
- tt.value ? (a(), n("g", Qt, [
498
- (a(!0), n(_, null, M(p.value, (t, o) => (a(), n("path", {
499
- key: `relation_${o}`,
500
+ }, null, 8, Zt),
501
+ ot.value ? (a(), n("g", el, [
502
+ (a(!0), n(_, null, M(p.value, (t, s) => (a(), n("path", {
503
+ key: `relation_${s}`,
500
504
  style: I(Ae(t)),
501
505
  stroke: $(t),
502
506
  class: te(["relation", { "vue-ui-relation-circle-selected": f.value.hasOwnProperty("id") && k.value.includes(t.id) }]),
@@ -504,8 +508,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
504
508
  fill: "none",
505
509
  "stroke-width": H(t),
506
510
  "stroke-linecap": "round"
507
- }, null, 14, Zt))), 128)),
508
- (a(!0), n(_, null, M(p.value, (t, o) => (a(), n("g", el, [
511
+ }, null, 14, tl))), 128)),
512
+ (a(!0), n(_, null, M(p.value, (t, s) => (a(), n("g", ll, [
509
513
  S(t) ? v(e.$slots, "dataLabel", Oe({
510
514
  key: 0,
511
515
  ref_for: !0
@@ -524,7 +528,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
524
528
  r: b.value,
525
529
  stroke: l.value.style.backgroundColor,
526
530
  "stroke-width": "1"
527
- }, null, 8, tl)) : g("", !0),
531
+ }, null, 8, ol)) : g("", !0),
528
532
  S(t) && !e.$slots.dataLabel ? (a(), n("text", {
529
533
  key: 2,
530
534
  x: t.midPointBezier.x,
@@ -535,18 +539,18 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
535
539
  }, V(i(le)(
536
540
  l.value.style.weightLabels.formatter,
537
541
  t.weight,
538
- i(se)({
542
+ i(oe)({
539
543
  p: l.value.style.weightLabels.prefix,
540
544
  v: t.weight,
541
545
  s: l.value.style.weightLabels.suffix,
542
546
  r: l.value.style.weightLabels.rounding
543
547
  }),
544
548
  { ...t }
545
- )), 9, ll)) : g("", !0)
549
+ )), 9, sl)) : g("", !0)
546
550
  ]))), 256))
547
- ])) : (a(), n("g", sl, [
548
- (a(!0), n(_, null, M(p.value, (t, o) => (a(), n("line", {
549
- key: `relation_${o}`,
551
+ ])) : (a(), n("g", al, [
552
+ (a(!0), n(_, null, M(p.value, (t, s) => (a(), n("line", {
553
+ key: `relation_${s}`,
550
554
  stroke: $(t),
551
555
  "stroke-width": H(t),
552
556
  style: I(Ae(t)),
@@ -556,8 +560,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
556
560
  y2: t.y2,
557
561
  class: te({ "vue-ui-relation-circle-selected": f.value.hasOwnProperty("id") && k.value.includes(t.id) }),
558
562
  "stroke-linecap": "round"
559
- }, null, 14, ol))), 128)),
560
- (a(!0), n(_, null, M(p.value, (t, o) => (a(), n("g", al, [
563
+ }, null, 14, nl))), 128)),
564
+ (a(!0), n(_, null, M(p.value, (t, s) => (a(), n("g", il, [
561
565
  S(t) ? v(e.$slots, "dataLabel", Oe({
562
566
  key: 0,
563
567
  ref_for: !0
@@ -576,7 +580,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
576
580
  r: b.value,
577
581
  stroke: l.value.style.backgroundColor,
578
582
  "stroke-width": "1"
579
- }, null, 8, nl)) : g("", !0),
583
+ }, null, 8, rl)) : g("", !0),
580
584
  S(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (a(), n("text", {
581
585
  key: 2,
582
586
  x: t.midPointLine.x,
@@ -587,32 +591,32 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
587
591
  }, V(i(le)(
588
592
  l.value.style.weightLabels.formatter,
589
593
  t.weight,
590
- i(se)({
594
+ i(oe)({
591
595
  p: l.value.style.weightLabels.prefix,
592
596
  v: t.weight,
593
597
  s: l.value.style.weightLabels.suffix,
594
598
  r: l.value.style.weightLabels.rounding
595
599
  }),
596
600
  { ...t }
597
- )), 9, il)) : g("", !0)
601
+ )), 9, ul)) : g("", !0)
598
602
  ]))), 256))
599
603
  ])),
600
- (a(!0), n(_, null, M(A.value, (t, o) => (a(), n("text", {
601
- key: `plot_text_${o}`,
602
- "text-anchor": ut(t),
603
- transform: vt(t),
604
- x: ct(t),
604
+ (a(!0), n(_, null, M(A.value, (t, s) => (a(), n("text", {
605
+ key: `plot_text_${s}`,
606
+ "text-anchor": dt(t),
607
+ transform: gt(t),
608
+ x: vt(t),
605
609
  y: t.y + 5,
606
610
  class: "vue-ui-relation-circle-legend",
607
611
  "transform-origin": "start",
608
612
  "font-weight": f.value.id === t.id ? "900" : "400",
609
- style: I(`font-family:${l.value.style.fontFamily};${dt(t)}`),
613
+ style: I(`font-family:${l.value.style.fontFamily};${ft(t)}`),
610
614
  "font-size": E.value,
611
615
  fill: l.value.style.labels.color,
612
- "text-decoration": o === R.value ? "underline" : void 0,
613
- onClick: (c) => _e(t, o),
614
- onMouseenter: (c) => xe(t, o),
615
- onMouseleave: (c) => $e(t, o)
616
+ "text-decoration": s === R.value ? "underline" : void 0,
617
+ onClick: (c) => _e(t, s),
618
+ onMouseenter: (c) => xe(t, s),
619
+ onMouseleave: (c) => $e(t, s)
616
620
  }, [
617
621
  i(de) ? (a(), n(_, { key: 0 }, [
618
622
  Se(" -------- ")
@@ -620,7 +624,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
620
624
  Se(V(t.label) + " (" + V(i(le)(
621
625
  l.value.style.weightLabels.formatter,
622
626
  t.totalWeight,
623
- i(se)({
627
+ i(oe)({
624
628
  p: l.value.style.weightLabels.prefix,
625
629
  v: t.totalWeight,
626
630
  s: l.value.style.weightLabels.suffix,
@@ -629,25 +633,25 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
629
633
  { ...t }
630
634
  )) + ") ", 1)
631
635
  ], 64))
632
- ], 44, rl))), 128)),
633
- (a(!0), n(_, null, M(A.value, (t, o) => (a(), n("circle", {
636
+ ], 44, cl))), 128)),
637
+ (a(!0), n(_, null, M(A.value, (t, s) => (a(), n("circle", {
634
638
  cx: t.x,
635
639
  cy: t.y,
636
- key: `plot_${o}`,
637
- style: I(`${rt(t)}; transition: r 0.2s ease-in-out;`),
640
+ key: `plot_${s}`,
641
+ style: I(`${ct(t)}; transition: r 0.2s ease-in-out;`),
638
642
  class: "vue-ui-relation-circle-plot",
639
643
  fill: l.value.style.plot.useSerieColor ? t.color : l.value.style.plot.color,
640
644
  stroke: l.value.style.backgroundColor,
641
645
  "stroke-width": "1",
642
- r: D.value * (o === R.value ? 2 : 1),
643
- onClick: (c) => _e(t, o),
644
- onMouseenter: (c) => xe(t, o),
645
- onMouseleave: (c) => $e(t, o)
646
- }, null, 44, ul))), 128)),
646
+ r: D.value * (s === R.value ? 2 : 1),
647
+ onClick: (c) => _e(t, s),
648
+ onMouseenter: (c) => xe(t, s),
649
+ onMouseleave: (c) => $e(t, s)
650
+ }, null, 44, dl))), 128)),
647
651
  v(e.$slots, "svg", { svg: r.value }, void 0, !0)
648
- ], 10, Ht)),
649
- e.$slots.watermark ? (a(), n("div", cl, [
650
- v(e.$slots, "watermark", w(C({ isPrinting: i(ge) || i(ye) })), void 0, !0)
652
+ ], 10, Kt)),
653
+ e.$slots.watermark ? (a(), n("div", vl, [
654
+ v(e.$slots, "watermark", C(w({ isPrinting: i(ge) || i(ye) })), void 0, !0)
651
655
  ])) : g("", !0),
652
656
  e.$slots.source ? (a(), n("div", {
653
657
  key: 5,
@@ -657,15 +661,15 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
657
661
  }, [
658
662
  v(e.$slots, "source", {}, void 0, !0)
659
663
  ], 512)) : g("", !0),
660
- i(de) ? (a(), U(Dt, { key: 6 })) : g("", !0)
661
- ], 44, qt));
664
+ i(de) ? (a(), U(jt, { key: 6 })) : g("", !0)
665
+ ], 44, Jt));
662
666
  }
663
- }, vl = /* @__PURE__ */ Yt(dl, [["__scopeId", "data-v-f336b6ba"]]), Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
667
+ }, gl = /* @__PURE__ */ Ht(fl, [["__scopeId", "data-v-f336b6ba"]]), Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
664
668
  __proto__: null,
665
- default: vl
669
+ default: gl
666
670
  }, Symbol.toStringTag, { value: "Module" }));
667
671
  export {
668
- Ll as a,
669
- Pl as b,
670
- vl as v
672
+ zl as a,
673
+ Ol as b,
674
+ gl as v
671
675
  };