vue-data-ui 3.25.3 → 3.25.4

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 (194) hide show
  1. package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
  3. package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
  4. package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
  5. package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
  6. package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-ZJrR3Olp.js} +2 -2
  7. package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
  8. package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
  9. package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
  11. package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-5SWftabm.js} +1 -1
  12. package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-B_SdRSKH.js} +12 -12
  13. package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
  14. package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
  15. package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
  16. package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
  17. package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
  18. package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.js} +2 -2
  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-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
  91. package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
  92. package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
  93. package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
  94. package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
  95. package/dist/{package-NccReU84.js → package-DmsdiyeS.js} +1 -1
  96. package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
  97. package/dist/{render-common-CHj9aLwI.js → render-common-zoPh9a78.js} +2 -2
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
  103. package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
  104. package/dist/utils.js +2 -2
  105. package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-DTj71yB7.js} +70 -70
  106. package/dist/vue-data-ui.js +73 -73
  107. package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
  108. package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-D4zsdacF.js} +3 -3
  109. package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
  110. package/dist/{vue-ui-annotator-MvDwnq7k.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
  111. package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
  112. package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-BkOtQNWe.js} +54 -54
  113. package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
  114. package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
  115. package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
  116. package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DQRBgVOx.js} +31 -31
  117. package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
  118. package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-BHyXRadA.js} +3 -3
  119. package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-CyVqaLbF.js} +75 -75
  120. package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
  121. package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BBL8uERO.js} +3 -3
  122. package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-DcgUuefk.js} +101 -101
  123. package/dist/vue-ui-donut-DfiocufT.js +2413 -0
  124. package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
  125. package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
  126. package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-CoylrfnO.js} +40 -40
  127. package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
  128. package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
  129. package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
  130. package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-jR4P4pbt.js} +36 -36
  131. package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
  132. package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
  133. package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-fFq7pm-g.js} +9 -9
  134. package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
  135. package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
  136. package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
  137. package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-BSgLalWD.js} +64 -64
  138. package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
  139. package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
  140. package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
  141. package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
  142. package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-B7oFulsQ.js} +119 -119
  143. package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
  144. package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
  145. package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
  146. package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-Bzx69q8f.js} +311 -311
  147. package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CimC9FQ9.js} +2 -2
  148. package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
  149. package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
  150. package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-qPL5Iwji.js} +327 -327
  151. package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
  152. package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
  153. package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
  154. package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
  155. package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
  156. package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
  157. package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
  158. package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
  159. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
  160. package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
  161. package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
  162. package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
  163. package/dist/vue-ui-table-BQna1wL6.js +1352 -0
  164. package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
  165. package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
  166. package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
  167. package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-CvHP4HoW.js} +5 -5
  168. package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
  169. package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
  170. package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
  171. package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
  172. package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
  173. package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-D0_2upjg.js} +116 -116
  174. package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
  175. package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-D_5FfaH-.js} +423 -422
  176. package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
  177. package/package.json +1 -1
  178. package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
  179. package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
  180. package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
  181. package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
  182. package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
  183. package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
  184. package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
  185. package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
  186. package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
  187. package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
  188. package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
  189. package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
  190. package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
  191. package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
  192. package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
  193. package/dist/vue-ui-table-DMJWplCT.js +0 -1352
  194. package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
@@ -0,0 +1,1738 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { $ as t, Ct as n, D as r, G as i, Lt as a, Pt as o, S as s, X as c, Xt as ee, Y as l, Yt as te, Zt as ne, _ as re, b as ie, en as ae, ht as oe, i as se, jt as ce, lt as le, nt as ue, q as de, t as fe, v as pe, w as me, x as u } from "./lib-Dql7cqyA.js";
3
+ import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
4
+ import { t as _e } from "./useConfig-CyCVHo81.js";
5
+ import { t as ve } from "./usePrinter-DISD7q5m.js";
6
+ import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as xe } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as Ce } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as we } from "./useTransitions-g_zBREk2.js";
11
+ import { t as Te } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as Ee } from "./img-DhGApYG0.js";
13
+ import { n as De } from "./Title-CPHi-evi.js";
14
+ import { t as Oe } from "./Shape-CIqU-p2F.js";
15
+ import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
+ import { l as Ae, t as je } from "./useResponsive-ZtArZtUf.js";
17
+ import { t as Me } from "./DefGrad-DVBqDjhO.js";
18
+ import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
19
+ import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
20
+ import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
21
+ import { t as Ie } from "./vue_ui_strip_plot-BaHbnnwN.js";
22
+ import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Be, nextTick as Ve, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as He, onMounted as Ue, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as E, toRefs as Ke, unref as D, watch as qe, watchEffect as Je, withCtx as O } from "vue";
23
+ //#region src/components/vue-ui-strip-plot.vue
24
+ var Ye = /* @__PURE__ */ e({ default: () => Dt }), Xe = ["id"], Ze = ["id"], Qe = { style: { position: "relative" } }, $e = [
25
+ "xmlns",
26
+ "viewBox",
27
+ "aria-describedby"
28
+ ], et = [
29
+ "x",
30
+ "y",
31
+ "width",
32
+ "height"
33
+ ], tt = { key: 1 }, nt = { key: 0 }, rt = [
34
+ "x1",
35
+ "x2",
36
+ "y1",
37
+ "y2",
38
+ "stroke",
39
+ "stroke-width",
40
+ "stroke-dasharray"
41
+ ], it = { key: 1 }, at = [
42
+ "x1",
43
+ "x2",
44
+ "y1",
45
+ "y2",
46
+ "stroke",
47
+ "stroke-width",
48
+ "stroke-dasharray"
49
+ ], ot = [
50
+ "x1",
51
+ "x2",
52
+ "y1",
53
+ "y2",
54
+ "stroke",
55
+ "stroke-width"
56
+ ], st = [
57
+ "x1",
58
+ "x2",
59
+ "y1",
60
+ "y2",
61
+ "stroke",
62
+ "stroke-width"
63
+ ], ct = [
64
+ "transform",
65
+ "fill",
66
+ "font-size"
67
+ ], lt = [
68
+ "transform",
69
+ "font-size",
70
+ "fill",
71
+ "text-anchor"
72
+ ], ut = [
73
+ "transform",
74
+ "font-size",
75
+ "fill",
76
+ "text-anchor",
77
+ "innerHTML"
78
+ ], dt = [
79
+ "fill",
80
+ "font-size",
81
+ "transform"
82
+ ], ft = [
83
+ "fill",
84
+ "font-size",
85
+ "x",
86
+ "y"
87
+ ], pt = [
88
+ "x1",
89
+ "x2",
90
+ "y1",
91
+ "y2",
92
+ "stroke"
93
+ ], mt = [
94
+ "cx",
95
+ "cy",
96
+ "fill"
97
+ ], ht = [
98
+ "cx",
99
+ "cy",
100
+ "fill"
101
+ ], gt = [
102
+ "d",
103
+ "fill",
104
+ "stroke",
105
+ "fill-opacity",
106
+ "stroke-opacity",
107
+ "stroke-width",
108
+ "onMouseenter"
109
+ ], _t = [
110
+ "x1",
111
+ "x2",
112
+ "y1",
113
+ "y2",
114
+ "stroke",
115
+ "stroke-opacity",
116
+ "stroke-width"
117
+ ], vt = ["onMouseenter"], yt = [
118
+ "x1",
119
+ "x2",
120
+ "y1",
121
+ "y2",
122
+ "stroke",
123
+ "stroke-width"
124
+ ], bt = [
125
+ "x",
126
+ "y",
127
+ "width",
128
+ "height",
129
+ "fill",
130
+ "stroke",
131
+ "stroke-width",
132
+ "rx"
133
+ ], xt = [
134
+ "cx",
135
+ "cy",
136
+ "r",
137
+ "fill",
138
+ "stroke"
139
+ ], St = { key: 1 }, Ct = [
140
+ "x",
141
+ "y",
142
+ "font-size",
143
+ "fill"
144
+ ], wt = {
145
+ key: 0,
146
+ style: {
147
+ position: "absolute",
148
+ top: "100%",
149
+ left: "0",
150
+ width: "100%"
151
+ },
152
+ "data-dom-to-png-ignore": "",
153
+ "aria-hidden": "true"
154
+ }, Tt = {
155
+ key: 5,
156
+ class: "vue-data-ui-watermark"
157
+ }, Et = { style: {
158
+ display: "flex",
159
+ "align-items": "center"
160
+ } }, Dt = /*#__PURE__*/ ke({
161
+ __name: "vue-ui-strip-plot",
162
+ props: {
163
+ config: {
164
+ type: Object,
165
+ default() {
166
+ return {};
167
+ }
168
+ },
169
+ dataset: {
170
+ type: Array,
171
+ default() {
172
+ return [];
173
+ }
174
+ }
175
+ },
176
+ emits: ["selectDatapoint", "copyAlt"],
177
+ setup(e, { expose: ke, emit: Ye }) {
178
+ let Dt = _(() => import("./Tooltip-hhrkQ3Lk.js")), Ot = _(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), kt = _(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), At = _(() => import("./DataTable-COIO9gi4.js")), jt = _(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Mt = _(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Nt = _(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), Pt = _(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), Ft = [
179
+ "classic",
180
+ "scatter",
181
+ "violin"
182
+ ], { vue_ui_strip_plot: It } = _e(), { isThemeValid: Lt, warnInvalidTheme: Rt } = Se(), k = e, zt = Ye, Bt = f({
183
+ get() {
184
+ return !!k.dataset && k.dataset.length;
185
+ },
186
+ set(e) {
187
+ return e;
188
+ }
189
+ }), A = C(de()), Vt = C(0), j = C(!1), Ht = C(""), M = C(null), Ut = C(null), Wt = C(null), Gt = C(null), Kt = C(!1), qt = C(0), Jt = C(0), Yt = C(null), Xt = C(null), Zt = C(null), Qt = C(null), $t = C(null), en = C(null), tn = C(null), nn = C(null), N = C("pointer"), rn = C({
190
+ x: 0,
191
+ y: 0
192
+ }), an = C(!1), P = C(hn());
193
+ he({
194
+ config: () => P.value,
195
+ dataset: () => k.dataset,
196
+ component: "VueUiStripPlot",
197
+ rules: [ge.emptyArray, {
198
+ test: (e) => e.length > 12,
199
+ message: [
200
+ "👀 The number of series is > 12. Consider:",
201
+ "",
202
+ "▶️ Using filters to let users choose a maximum number of series to display.",
203
+ "",
204
+ "▶️ Using multiple instances of the chart to display related series."
205
+ ]
206
+ }]
207
+ });
208
+ let { transitionEnabled: on } = we({
209
+ config: () => P.value.transitions,
210
+ dataset: () => k.dataset
211
+ }), sn = f(() => gn(P.value.type)), F = f(() => P.value.userOptions.useCursorPointer), cn = f(() => ne({
212
+ defaultConfig: {
213
+ userOptions: { show: !1 },
214
+ table: { show: !1 },
215
+ style: { chart: {
216
+ backgroundColor: "#99999930",
217
+ padding: {
218
+ top: 24,
219
+ left: 24,
220
+ right: 24,
221
+ bottom: 24
222
+ },
223
+ grid: {
224
+ stroke: "#6A6A6A",
225
+ horizontalGrid: { stroke: "#6A6A6A" },
226
+ verticalGrid: { stroke: "#6A6A6A" }
227
+ },
228
+ plots: { stroke: "#6A6A6A" },
229
+ labels: {
230
+ bestPlotLabel: { show: !1 },
231
+ axis: {
232
+ xLabel: "",
233
+ yLabel: ""
234
+ },
235
+ xAxisLabels: { show: !1 },
236
+ yAxisLabels: { show: !1 }
237
+ }
238
+ } }
239
+ },
240
+ userConfig: P.value.skeletonConfig ?? {}
241
+ })), { loading: ln, FINAL_DATASET: un, manualLoading: dn } = ye({
242
+ ...Ke(k),
243
+ FINAL_CONFIG: P,
244
+ prepareConfig: hn,
245
+ skeletonDataset: k.config?.skeletonDataset ?? [
246
+ {
247
+ name: "_",
248
+ color: "#DBDBDB",
249
+ plots: [
250
+ {
251
+ name: "_",
252
+ value: 1
253
+ },
254
+ {
255
+ name: "_",
256
+ value: 2
257
+ },
258
+ {
259
+ name: "_",
260
+ value: 3
261
+ }
262
+ ]
263
+ },
264
+ {
265
+ name: "_",
266
+ color: "#C4C4C4",
267
+ plots: [
268
+ {
269
+ name: "_",
270
+ value: 3
271
+ },
272
+ {
273
+ name: "_",
274
+ value: 5
275
+ },
276
+ {
277
+ name: "_",
278
+ value: 8
279
+ }
280
+ ]
281
+ },
282
+ {
283
+ name: "_",
284
+ color: "#ADADAD",
285
+ plots: [
286
+ {
287
+ name: "_",
288
+ value: 8
289
+ },
290
+ {
291
+ name: "_",
292
+ value: 13
293
+ },
294
+ {
295
+ name: "_",
296
+ value: 21
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ name: "_",
302
+ color: "#969696",
303
+ plots: [
304
+ {
305
+ name: "_",
306
+ value: 21
307
+ },
308
+ {
309
+ name: "_",
310
+ value: 34
311
+ },
312
+ {
313
+ name: "_",
314
+ value: 55
315
+ }
316
+ ]
317
+ },
318
+ {
319
+ name: "_",
320
+ color: "#808080",
321
+ plots: [
322
+ {
323
+ name: "_",
324
+ value: 55
325
+ },
326
+ {
327
+ name: "_",
328
+ value: 89
329
+ },
330
+ {
331
+ name: "_",
332
+ value: 144
333
+ }
334
+ ]
335
+ }
336
+ ],
337
+ skeletonConfig: ne({
338
+ defaultConfig: P.value,
339
+ userConfig: cn.value
340
+ })
341
+ }), { userOptionsVisible: fn, setUserOptionsVisibility: pn, keepUserOptionState: mn } = Pe({ config: P.value }), { svgRef: I } = Fe({ config: P.value.style.chart.title });
342
+ function hn() {
343
+ let e = xe({
344
+ userConfig: k.config,
345
+ defaultConfig: It
346
+ }), t = e.theme;
347
+ if (!t) return e;
348
+ if (!Lt.value(e)) return Rt(e), e;
349
+ let n = xe({
350
+ userConfig: Ie[t] || k.config,
351
+ defaultConfig: e
352
+ }), r = xe({
353
+ userConfig: k.config,
354
+ defaultConfig: n
355
+ });
356
+ return {
357
+ ...r,
358
+ customPalette: r.customPalette.length ? r.customPalette : te[t] || a
359
+ };
360
+ }
361
+ function gn(e) {
362
+ return Ft.includes(e) ? e : "classic";
363
+ }
364
+ qe(() => k.config, async (e) => {
365
+ ln.value || (P.value = hn()), fn.value = !P.value.userOptions.showOnChartHover, vn(), qt.value += 1, Jt.value += 1, V.value.dataLabels.show = P.value.style.chart.labels.bestPlotLabel.show, V.value.showTable = P.value.table.show, V.value.showTooltip = P.value.style.chart.tooltip.show, z.value = P.value.style.chart.width, B.value = P.value.style.chart.height, On.value = P.value.style.chart.plots.radius;
366
+ }, { deep: !0 }), qe(() => k.dataset, (e) => {
367
+ Array.isArray(e) && e.length > 0 && (dn.value = !1);
368
+ }, { deep: !0 });
369
+ let L = Ge(null), R = Ge(null);
370
+ Ue(() => {
371
+ vn();
372
+ });
373
+ let _n = f(() => P.value.debug);
374
+ function vn() {
375
+ if (o(k.dataset) ? (ue({
376
+ componentName: "VueUiStripPlot",
377
+ type: "dataset",
378
+ debug: _n.value
379
+ }), dn.value = !0) : k.dataset.forEach((e, t) => {
380
+ oe({
381
+ datasetObject: e,
382
+ requiredAttributes: ["name", "plots"]
383
+ }).forEach((e) => {
384
+ Bt.value = !1, ue({
385
+ componentName: "VueUiStripPlot",
386
+ type: "datasetSerieAttribute",
387
+ property: e,
388
+ index: t,
389
+ debug: _n.value
390
+ });
391
+ }), e.plots && e.plots.forEach((e, n) => {
392
+ oe({
393
+ datasetObject: e,
394
+ requiredAttributes: ["name", "value"]
395
+ }).forEach((e) => {
396
+ Bt.value = !1, ue({
397
+ componentName: "VueUiStripPlot",
398
+ type: "datasetSerieAttribute",
399
+ property: e,
400
+ index: `${t},${n}`,
401
+ debug: _n.value
402
+ });
403
+ });
404
+ });
405
+ }), o(k.dataset) || (dn.value = P.value.loading), P.value.responsive) {
406
+ let e = Ae(() => {
407
+ let { width: e, height: t } = je({
408
+ chart: M.value,
409
+ title: P.value.style.chart.title.text ? Ut.value : null,
410
+ source: Wt.value,
411
+ noTitle: Gt.value
412
+ });
413
+ requestAnimationFrame(() => {
414
+ Dn.value = t, z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12), P.value.responsiveProportionalSizing ? On.value = ee({
415
+ relator: Math.min(t, e),
416
+ adjuster: 600,
417
+ source: P.value.style.chart.plots.radius,
418
+ threshold: 6,
419
+ fallback: 6
420
+ }) : On.value = P.value.style.chart.plots.radius;
421
+ });
422
+ });
423
+ L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = M.value.parentNode, L.value.observe(R.value);
424
+ }
425
+ Kt.value = !0, setTimeout(() => {
426
+ Tn.value = !1;
427
+ }, Fn.value * 50);
428
+ }
429
+ He(() => {
430
+ L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
431
+ });
432
+ let { isPrinting: yn, isImaging: bn, generatePdf: xn, generateImage: Sn } = ve({
433
+ elementId: `strip-plot_${A.value}`,
434
+ fileName: P.value.style.chart.title.text || "vue-ui-strip-plot",
435
+ options: P.value.userOptions.print
436
+ }), Cn = f(() => P.value.userOptions.show && !P.value.style.chart.title.text), wn = f(() => me(P.value.customPalette)), Tn = C(P.value.useCssAnimation), En = C({
437
+ top: P.value.style.chart.padding.top,
438
+ bottom: P.value.style.chart.padding.bottom,
439
+ left: P.value.style.chart.padding.left,
440
+ right: P.value.style.chart.padding.right
441
+ }), z = C(P.value.style.chart.width), B = C(P.value.style.chart.height), Dn = C(P.value.style.chart.height), On = C(P.value.style.chart.plots.radius), V = C({
442
+ showTable: P.value.table.show,
443
+ dataLabels: { show: P.value.style.chart.labels.bestPlotLabel.show },
444
+ showTooltip: P.value.style.chart.tooltip.show
445
+ });
446
+ qe(P, () => {
447
+ V.value = {
448
+ showTable: P.value.table.show,
449
+ dataLabels: { show: P.value.style.chart.labels.bestPlotLabel.show },
450
+ showTooltip: P.value.style.chart.tooltip.show
451
+ }, z.value = P.value.style.chart.width, B.value = P.value.style.chart.height, On.value = P.value.style.chart.plots.radius;
452
+ }, { immediate: !0 });
453
+ let H = f(() => Math.min(On.value, W.value.stripWidth / 2 * .9));
454
+ function U(e) {
455
+ return Number.isFinite(e) ? Number(e.toFixed(2)) : 0;
456
+ }
457
+ function kn() {
458
+ return Math.max(0, (W.value.stripWidth / 2 - H.value * 1.8) * .86) * Math.min(1, P.value.style.chart.violin.widthRatio);
459
+ }
460
+ function An() {
461
+ let e = 0;
462
+ en.value && (e = Array.from(en.value.querySelectorAll("text")).reduce((e, t) => {
463
+ let n = t.getComputedTextLength();
464
+ return n > e ? n : e;
465
+ }, 0));
466
+ let t = Qt.value ? Qt.value.getBoundingClientRect().width : 0;
467
+ return e + t + (t ? 24 : 0);
468
+ }
469
+ let jn = C(0), Mn = Ae((e) => {
470
+ jn.value = e;
471
+ }, 100);
472
+ Je((e) => {
473
+ let t = $t.value;
474
+ if (!t) return;
475
+ let n = new ResizeObserver((e) => {
476
+ Mn(e[0].contentRect.height);
477
+ });
478
+ n.observe(t), e(() => n.disconnect());
479
+ }), He(() => {
480
+ jn.value = 0;
481
+ });
482
+ let Nn = f(() => {
483
+ let e = 0;
484
+ Zt.value && (e = Zt.value.getBBox().height + P.value.style.chart.labels.axis.fontSize / 3 + 12 + P.value.style.chart.labels.axis.xLabelOffsetY);
485
+ let t = 0;
486
+ return $t.value && (t = jn.value + 12), e + t;
487
+ }), W = f(() => {
488
+ let e = An(), t = En.value.left + e + P.value.style.chart.labels.axis.yLabelOffsetX + 5, n = z.value - En.value.right, r = Math.max(0, n - t), i = En.value.top + P.value.style.chart.plots.radius + P.value.style.chart.labels.bestPlotLabel.fontSize, a = B.value - En.value.bottom - Nn.value, o = Math.max(0, a - i), s = Array.isArray(un.value) ? un.value.length : 0;
489
+ return {
490
+ left: t,
491
+ right: n,
492
+ top: i,
493
+ bottom: a,
494
+ width: r,
495
+ height: o,
496
+ stripWidth: s > 0 ? r / s : 0,
497
+ absoluteHeight: B.value
498
+ };
499
+ });
500
+ function Pn(e) {
501
+ return W.value.left + (e + 1) * W.value.stripWidth - W.value.stripWidth / 2;
502
+ }
503
+ let G = f(() => un.value.map((e, t) => {
504
+ let n = de();
505
+ return {
506
+ ...e,
507
+ id: n,
508
+ color: e.color ? s(e.color) : wn.value[t] || a[t] || a[t % a.length],
509
+ plots: e.plots.map((r, i) => ({
510
+ ...r,
511
+ value: ie(r.value),
512
+ parentId: n,
513
+ parentName: e.name,
514
+ parentIndex: t,
515
+ plotIndex: i,
516
+ color: e.color ? s(e.color) : wn.value[t] || a[t] || a[t % a.length],
517
+ id: de()
518
+ })).sort((e, t) => e.value - t.value)
519
+ };
520
+ })), K = f(() => (G.value || []).map((e, t) => ({
521
+ ...e,
522
+ plots: e.plots.map((e) => ({
523
+ ...e,
524
+ x: Pn(t)
525
+ }))
526
+ }))), Fn = f(() => Math.max(...K.value.map((e) => e.plots.length))), In = f(() => {
527
+ let e = K.value.flatMap((e) => e.plots.map((e) => e.value));
528
+ return {
529
+ max: Math.max(...e),
530
+ min: Math.min(...e)
531
+ };
532
+ }), Ln = f(() => {
533
+ let e = P.value.style.chart.grid.scaleMin, t = P.value.style.chart.grid.scaleMax, n = Math.max(2, P.value.style.chart.grid.scaleSteps), r = In.value.min < 0 ? In.value.min : 0, i = In.value.max;
534
+ if (e === null && t === null) return re(r, i, n);
535
+ if (e !== null && t !== null) return pe(e, t, n);
536
+ let a = re(e === null ? r : e, t === null ? i : t, n);
537
+ return pe(e === null ? a.min : e, t === null ? a.max : t, n);
538
+ });
539
+ function q(e) {
540
+ let t = Ln.value.max - Ln.value.min;
541
+ return t ? W.value.bottom - (e - Ln.value.min) / t * W.value.height : W.value.bottom;
542
+ }
543
+ let J = f(() => (K.value || []).map((e, t) => {
544
+ let n = e.plots.map((e) => ({
545
+ ...e,
546
+ y: q(e.value)
547
+ })), r = sn.value === "classic" ? n.map(() => 0) : Vn(n);
548
+ return {
549
+ ...e,
550
+ plots: n.map((e, t) => ({
551
+ ...e,
552
+ x: e.x + r[t]
553
+ }))
554
+ };
555
+ })), Y = f(() => sn.value === "violin" && !!P.value.style.chart.violin?.boxPlot?.show);
556
+ function Rn(e, t) {
557
+ if (!e.length) return 0;
558
+ if (e.length === 1) return e[0];
559
+ let n = (e.length - 1) * t, r = Math.floor(n), i = n - r, a = e[r + 1];
560
+ return a === void 0 ? e[r] : e[r] + i * (a - e[r]);
561
+ }
562
+ let X = f(() => Y.value ? J.value.map((e, t) => {
563
+ let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Rn(n, .25), i = Rn(n, .5), a = Rn(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, ee = n.find((e) => e >= s), l = n.slice().reverse().find((e) => e <= c), te = Pn(t), ne = Math.max(H.value * 2.8, Math.min(kn() * .32, W.value.stripWidth * .12)) * Math.min(1.5, P.value.style.chart.violin.boxPlot.widthRatio);
564
+ return {
565
+ id: e.id,
566
+ boxPlotColor: P.value.style.chart.violin.boxPlot.useSerieColor ? e.color : P.value.style.chart.violin.boxPlot.color,
567
+ color: e.color,
568
+ name: e.name,
569
+ count: n.length,
570
+ lowerAdjacent: ee ?? n[0],
571
+ q1: r,
572
+ median: i,
573
+ q3: a,
574
+ upperAdjacent: l ?? n[n.length - 1],
575
+ iqr: o,
576
+ lowerFence: s,
577
+ upperFence: c,
578
+ centerX: te,
579
+ boxLeft: te - ne / 2,
580
+ boxWidth: ne,
581
+ q1Y: q(r),
582
+ medianY: q(i),
583
+ q3Y: q(a),
584
+ lowerY: q(ee ?? n[0]),
585
+ upperY: q(l ?? n[n.length - 1])
586
+ };
587
+ }) : []), zn = f(() => [
588
+ P.value.table.columnNames.series,
589
+ P.value.style.chart.violin.tooltipLabels.lowerAdjacent,
590
+ P.value.style.chart.violin.tooltipLabels.q1,
591
+ P.value.style.chart.violin.tooltipLabels.median,
592
+ P.value.style.chart.violin.tooltipLabels.q3,
593
+ P.value.style.chart.violin.tooltipLabels.upperAdjacent,
594
+ P.value.style.chart.violin.tooltipLabels.iqr,
595
+ P.value.style.chart.violin.tooltipLabels.count
596
+ ]);
597
+ function Bn(e) {
598
+ return c({
599
+ p: P.value.style.chart.labels.prefix,
600
+ v: e,
601
+ s: P.value.style.chart.labels.suffix,
602
+ r: P.value.table.td.roundingValue
603
+ });
604
+ }
605
+ function Vn(e) {
606
+ let t = sn.value === "violin" ? Math.max(0, kn() - H.value * 1.15) : Math.max(0, W.value.stripWidth / 2 - H.value * 1.5);
607
+ if (!e.length || !t) return e.map(() => 0);
608
+ let n = e.map(() => 0), r = H.value * 2.1, i = Math.min(t, r), a = [0];
609
+ for (let e = i; e <= t + i / 2; e += i) a.push(-Math.min(e, t)), a.push(Math.min(e, t));
610
+ let o = [];
611
+ return e.forEach((e, t) => {
612
+ let i = a.find((t) => o.every((n) => {
613
+ let i = t - n.offset, a = e.y - n.y;
614
+ return Math.hypot(i, a) >= r;
615
+ })) ?? 0;
616
+ n[t] = i, o.push({
617
+ y: e.y,
618
+ offset: i
619
+ });
620
+ }), n;
621
+ }
622
+ let Hn = f(() => sn.value === "violin" ? J.value.map((e, t) => ({
623
+ id: e.id,
624
+ color: P.value.style.chart.violin.useSerieColor ? e.color : P.value.style.chart.violin.stroke,
625
+ fill: P.value.style.chart.violin.useSerieColor ? e.color : P.value.style.chart.violin.fill,
626
+ path: Un(e.plots, t),
627
+ connectors: Wn(e.plots, t)
628
+ })) : []);
629
+ function Un(e, t) {
630
+ let n = kn();
631
+ if (!e.length || !W.value.height || !n) return "";
632
+ let r = Pn(t), i = e.map((e) => e.y), a = Z(i), o = Kn({
633
+ yValues: i,
634
+ bandwidth: a
635
+ });
636
+ return o.length > 1 ? o.map((e) => Jn({
637
+ yValues: e,
638
+ centerX: r,
639
+ maxWidth: Gn({
640
+ clusterLength: e.length,
641
+ totalLength: i.length,
642
+ maxWidth: n
643
+ }),
644
+ bandwidth: Z(e)
645
+ })).join(" ") : Jn({
646
+ yValues: i,
647
+ centerX: r,
648
+ maxWidth: n,
649
+ bandwidth: a
650
+ });
651
+ }
652
+ function Wn(e, t) {
653
+ if (!e.length) return [];
654
+ let n = Pn(t), r = e.map((e) => e.y), i = Kn({
655
+ yValues: r,
656
+ bandwidth: Z(r)
657
+ });
658
+ return i.length < 2 ? [] : i.slice(1).map((e, t) => {
659
+ let r = i[t], a = Z(r), o = Z(e), s = u(Math.max(...r) + a * 2.35, W.value.top, W.value.bottom), c = u(Math.min(...e) - o * 2.35, W.value.top, W.value.bottom);
660
+ return {
661
+ x: U(n),
662
+ y1: U(s),
663
+ y2: U(c)
664
+ };
665
+ });
666
+ }
667
+ function Gn({ clusterLength: e, totalLength: t, maxWidth: n }) {
668
+ let r = (e / t) ** .6, i = e <= 2 ? .72 : 1;
669
+ return Math.max(H.value * 2.2, n * u(r * i, .18, 1));
670
+ }
671
+ function Z(e) {
672
+ let t = e.reduce((e, t) => e + t, 0) / Math.max(1, e.length), n = e.reduce((e, n) => e + (n - t) ** 2, 0) / Math.max(1, e.length), r = Math.sqrt(n), i = e.length < 2 ? Math.max(H.value * 2.6, W.value.height / 48) : H.value * 2.1;
673
+ return u(1.06 * r * e.length ** -.2, i, W.value.height / 5);
674
+ }
675
+ function Kn({ yValues: e, bandwidth: t }) {
676
+ if (e.length < 2) return [e];
677
+ let n = [...e].sort((e, t) => e - t), r = Math.max(t * 1.45, H.value * 5), i = [], a = [n[0]];
678
+ for (let e = 1; e < n.length; e += 1) Math.abs(n[e] - n[e - 1]) > r ? (i.push(a), a = [n[e]]) : a.push(n[e]);
679
+ return i.push(a), qn(i);
680
+ }
681
+ function qn(e) {
682
+ return e.reduce((e, t) => {
683
+ let n = e[e.length - 1];
684
+ if (!n) return e.push(t), e;
685
+ let r = Z(n), i = Z(t);
686
+ return Math.max(...n) + r * 2.35 >= Math.min(...t) - i * 2.35 ? n.push(...t) : e.push(t), e;
687
+ }, []);
688
+ }
689
+ function Jn({ yValues: e, centerX: t, maxWidth: n, bandwidth: r }) {
690
+ let i = u(Math.min(...e) - r * 2.35, W.value.top, W.value.bottom), a = u(Math.max(...e) + r * 2.35, W.value.top, W.value.bottom), o = Math.max(48, Math.min(120, Math.round((a - i) / Math.max(1, r / 4)))), s = Array.from({ length: o }, (t, n) => {
691
+ let s = i + (a - i) * n / Math.max(1, o - 1);
692
+ return {
693
+ y: s,
694
+ density: e.reduce((e, t) => {
695
+ let n = (s - t) / r;
696
+ return e + Math.exp(-.5 * n * n);
697
+ }, 0)
698
+ };
699
+ }), c = Math.max(...s.map((e) => e.density));
700
+ if (!c) return "";
701
+ let ee = s.map((e, t) => {
702
+ let r = t === 0 || t === s.length - 1 ? 0 : e.density / c * n;
703
+ return {
704
+ y: U(e.y),
705
+ width: U(r)
706
+ };
707
+ }), l = ee.map((e) => ({
708
+ x: U(t - e.width),
709
+ y: e.y
710
+ })), te = ee.slice(0, -1).reverse().map((e) => ({
711
+ x: U(t + e.width),
712
+ y: e.y
713
+ }));
714
+ return `${Yn([...l, ...te])} Z`;
715
+ }
716
+ function Yn(e) {
717
+ if (!e.length) return "";
718
+ if (e.length === 1) return `M ${e[0].x} ${e[0].y}`;
719
+ let t = `M ${e[0].x} ${e[0].y}`;
720
+ for (let n = 1; n < e.length - 1; n += 1) {
721
+ let r = e[n], i = e[n + 1], a = U((r.x + i.x) / 2), o = U((r.y + i.y) / 2);
722
+ t += ` Q ${r.x} ${r.y} ${a} ${o}`;
723
+ }
724
+ let n = e[e.length - 1];
725
+ return `${t} L ${n.x} ${n.y}`;
726
+ }
727
+ let Xn = f(() => Ln.value.ticks.map((e) => ({
728
+ y: q(e),
729
+ x1: W.value.left,
730
+ x2: W.value.right,
731
+ value: e
732
+ }))), Zn = C(null), Q = C(null);
733
+ function Qn({ datapoint: e, seriesIndex: t }) {
734
+ N.value !== "keyboard" && (j.value = !1, Q.value = null, P.value.events.datapointLeave && P.value.events.datapointLeave({
735
+ datapoint: e,
736
+ seriesIndex: t
737
+ }));
738
+ }
739
+ function $n({ datapoint: e, seriesIndex: t }) {
740
+ zt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
741
+ datapoint: e,
742
+ seriesIndex: t
743
+ });
744
+ }
745
+ function er(e, t = {}) {
746
+ return se(P.value.style.chart.labels.formatter, e, c({
747
+ p: P.value.style.chart.labels.prefix,
748
+ v: e,
749
+ s: P.value.style.chart.labels.suffix,
750
+ r: P.value.style.chart.tooltip.roundingValue
751
+ }), t);
752
+ }
753
+ function tr({ datapoint: e, seriesIndex: t, triggerMode: r = "pointer" }) {
754
+ P.value.events.datapointEnter && P.value.events.datapointEnter({
755
+ datapoint: e,
756
+ seriesIndex: t
757
+ }), N.value = r, Zn.value = {
758
+ datapoint: e,
759
+ seriesIndex: t,
760
+ config: P.value,
761
+ series: G.value
762
+ }, j.value = !0, Q.value = e;
763
+ let i = P.value.style.chart.tooltip.customFormat;
764
+ if (n(i) && le(() => i({
765
+ seriesIndex: t,
766
+ datapoint: e,
767
+ series: G.value,
768
+ config: P.value
769
+ }))) Ht.value = i({
770
+ seriesIndex: t,
771
+ datapoint: e,
772
+ series: G.value,
773
+ config: P.value
774
+ });
775
+ else {
776
+ let n = "";
777
+ n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${P.value.style.chart.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${er(e.value, {
778
+ datapoint: e,
779
+ seriesIndex: t
780
+ })}</div>`, Ht.value = `<div>${n}</div>`;
781
+ }
782
+ }
783
+ function nr() {
784
+ N.value !== "keyboard" && (j.value = !1, Q.value = null);
785
+ }
786
+ function rr({ boxPlot: e, seriesIndex: t, triggerMode: r = "pointer" }) {
787
+ N.value = r, Q.value = null, j.value = !0, Zn.value = {
788
+ boxPlot: e,
789
+ seriesIndex: t,
790
+ config: P.value,
791
+ series: G.value
792
+ };
793
+ let i = P.value.style.chart.tooltip.customFormat;
794
+ if (n(i)) try {
795
+ let n = {
796
+ boxPlot: e,
797
+ seriesIndex: t,
798
+ series: G.value,
799
+ config: P.value
800
+ };
801
+ if (le(() => i(n))) {
802
+ Ht.value = i(n);
803
+ return;
804
+ }
805
+ } catch {}
806
+ let a = [
807
+ [P.value.style.chart.violin.tooltipLabels.upperAdjacent, e.upperAdjacent],
808
+ [P.value.style.chart.violin.tooltipLabels.q3, e.q3],
809
+ [P.value.style.chart.violin.tooltipLabels.median, e.median],
810
+ [P.value.style.chart.violin.tooltipLabels.q1, e.q1],
811
+ [P.value.style.chart.violin.tooltipLabels.lowerAdjacent, e.lowerAdjacent],
812
+ [P.value.style.chart.violin.tooltipLabels.iqr, e.iqr]
813
+ ], o = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="1" y="1" width="10" height="10" rx="2" stroke="none" fill="${e.color}"/></svg>`, s = a.map(([n, r]) => `<div style="display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;"><span>${n}</span><b>${er(r, {
814
+ boxPlot: e,
815
+ seriesIndex: t
816
+ })}</b></div>`).join("");
817
+ Ht.value = `<div style="min-width:160px;"><div style="display:flex;flex-direction:row;gap:6px;align-items:center;margin-bottom:6px;">${o}${e.name}</div>` + s + `<div style="display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;margin-top:6px;"><span>${P.value.style.chart.violin.tooltipLabels.count}</span><b>${e.count}</b></div></div>`;
818
+ }
819
+ let ir = f(() => ({
820
+ head: K.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((t) => ({
821
+ name: `${e.name} - ${t.name}`,
822
+ color: t.color
823
+ }))),
824
+ body: K.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((e) => e.value))
825
+ }));
826
+ function ar(e = null) {
827
+ Ve(() => {
828
+ let n = [], i = [P.value.table.columnNames.series, P.value.table.columnNames.value];
829
+ Y.value ? (i = zn.value, n = X.value.map((e) => [
830
+ [e.name],
831
+ [e.lowerAdjacent],
832
+ [e.q1],
833
+ [e.median],
834
+ [e.q3],
835
+ [e.upperAdjacent],
836
+ [e.iqr],
837
+ [e.count]
838
+ ])) : n = ir.value.head.map((e, t) => [[e.name], [ir.value.body[t]]]);
839
+ let a = [
840
+ [P.value.style.chart.title.text],
841
+ [P.value.style.chart.title.subtitle.text],
842
+ i.map((e) => [e])
843
+ ].concat(n), o = r(a);
844
+ e ? e(o) : t({
845
+ csvContent: o,
846
+ title: P.value.style.chart.title.text || "vue-ui-strip-plot"
847
+ });
848
+ });
849
+ }
850
+ let or = f(() => {
851
+ if (Y.value) {
852
+ let e = zn.value;
853
+ return {
854
+ colNames: e,
855
+ head: e,
856
+ body: X.value.map((e) => [
857
+ {
858
+ color: e.color,
859
+ name: e.name
860
+ },
861
+ Bn(e.lowerAdjacent),
862
+ Bn(e.q1),
863
+ Bn(e.median),
864
+ Bn(e.q3),
865
+ Bn(e.upperAdjacent),
866
+ Bn(e.iqr),
867
+ e.count
868
+ ]),
869
+ config: {
870
+ th: {
871
+ backgroundColor: P.value.table.th.backgroundColor,
872
+ color: P.value.table.th.color,
873
+ outline: P.value.table.th.outline
874
+ },
875
+ td: {
876
+ backgroundColor: P.value.table.td.backgroundColor,
877
+ color: P.value.table.td.color,
878
+ outline: P.value.table.td.outline
879
+ },
880
+ breakpoint: P.value.table.responsiveBreakpoint
881
+ }
882
+ };
883
+ }
884
+ let e = [P.value.table.columnNames.series, P.value.table.columnNames.value], t = ir.value.head.map((e, t) => {
885
+ let n = c({
886
+ p: P.value.style.chart.labels.prefix,
887
+ v: ir.value.body[t],
888
+ s: P.value.style.chart.labels.suffix,
889
+ r: P.value.table.td.roundingValue
890
+ });
891
+ return [{
892
+ color: e.color,
893
+ name: e.name
894
+ }, n];
895
+ }), n = {
896
+ th: {
897
+ backgroundColor: P.value.table.th.backgroundColor,
898
+ color: P.value.table.th.color,
899
+ outline: P.value.table.th.outline
900
+ },
901
+ td: {
902
+ backgroundColor: P.value.table.td.backgroundColor,
903
+ color: P.value.table.td.color,
904
+ outline: P.value.table.td.outline
905
+ },
906
+ breakpoint: P.value.table.responsiveBreakpoint
907
+ };
908
+ return {
909
+ colNames: [P.value.table.columnNames.series, P.value.table.columnNames.value],
910
+ head: e,
911
+ body: t,
912
+ config: n
913
+ };
914
+ }), $ = C(!1);
915
+ function sr(e) {
916
+ $.value = e, Vt.value += 1;
917
+ }
918
+ function cr() {
919
+ return K.value;
920
+ }
921
+ function lr() {
922
+ V.value.showTable = !V.value.showTable;
923
+ }
924
+ function ur() {
925
+ V.value.dataLabels.show = !V.value.dataLabels.show;
926
+ }
927
+ function dr() {
928
+ V.value.showTooltip = !V.value.showTooltip;
929
+ }
930
+ let fr = C(!1);
931
+ function pr() {
932
+ fr.value = !fr.value;
933
+ }
934
+ async function mr({ scale: e = 2 } = {}) {
935
+ if (!M.value) return;
936
+ let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
937
+ domElement: M.value,
938
+ base64: !0,
939
+ img: !0,
940
+ scale: e
941
+ });
942
+ return {
943
+ imageUri: i,
944
+ base64: a,
945
+ title: P.value.style.chart.title.text,
946
+ width: t,
947
+ height: n,
948
+ aspectRatio: r
949
+ };
950
+ }
951
+ let hr = f(() => K.value.map((e) => e.name)), gr = C({
952
+ start: 0,
953
+ end: K.value.length
954
+ });
955
+ Te({
956
+ timeLabelsEls: $t,
957
+ timeLabels: hr,
958
+ slicer: gr,
959
+ configRef: P,
960
+ rotationPath: [
961
+ "style",
962
+ "chart",
963
+ "labels",
964
+ "xAxisLabels",
965
+ "rotation"
966
+ ],
967
+ autoRotatePath: [
968
+ "style",
969
+ "chart",
970
+ "labels",
971
+ "xAxisLabels",
972
+ "autoRotate",
973
+ "enable"
974
+ ],
975
+ isAutoSize: !1,
976
+ width: z,
977
+ height: B,
978
+ targetClass: ".vue-ui-strip-plot-category-name",
979
+ rotation: P.value.style.chart.labels.xAxisLabels.autoRotate.angle
980
+ });
981
+ let _r = f(() => {
982
+ let e = P.value.table.useDialog && !P.value.table.show, t = V.value.showTable;
983
+ return {
984
+ component: e ? Pt : kt,
985
+ title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
986
+ props: e ? {
987
+ backgroundColor: P.value.table.th.backgroundColor,
988
+ color: P.value.table.th.color,
989
+ headerColor: P.value.table.th.color,
990
+ headerBg: P.value.table.th.backgroundColor,
991
+ isFullscreen: $.value,
992
+ fullscreenParent: M.value,
993
+ forcedWidth: Math.min(800, window.innerWidth * .8),
994
+ isCursorPointer: F.value
995
+ } : {
996
+ hideDetails: !0,
997
+ config: {
998
+ open: t,
999
+ maxHeight: 1e4,
1000
+ body: {
1001
+ backgroundColor: P.value.style.chart.backgroundColor,
1002
+ color: P.value.style.chart.color
1003
+ },
1004
+ head: {
1005
+ backgroundColor: P.value.style.chart.backgroundColor,
1006
+ color: P.value.style.chart.color
1007
+ }
1008
+ }
1009
+ }
1010
+ };
1011
+ });
1012
+ qe(() => V.value.showTable, (e) => {
1013
+ P.value.table.show || (e && P.value.table.useDialog && Yt.value ? Yt.value.open() : "close" in Yt.value && Yt.value.close());
1014
+ });
1015
+ function vr() {
1016
+ V.value.showTable = !1, Xt.value && Xt.value.setTableIconState(!1);
1017
+ }
1018
+ let yr = f(() => P.value.style.chart.backgroundColor), br = f(() => P.value.style.chart.title), { isCallbackImaging: xr, isCallbackSvg: Sr, generateSvg: Cr, onGenerateImage: wr } = Ce({
1019
+ svg: I,
1020
+ title: br,
1021
+ legend: null,
1022
+ legendItems: null,
1023
+ backgroundColor: yr,
1024
+ getSvgCallback: () => P.value.userOptions.callbacks.svg,
1025
+ generateImage: Sn
1026
+ });
1027
+ async function Tr() {
1028
+ if (zt("copyAlt", {
1029
+ config: P.value,
1030
+ dataset: J.value
1031
+ }), !P.value.userOptions.callbacks.altCopy) {
1032
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1033
+ return;
1034
+ }
1035
+ await Promise.resolve(P.value.userOptions.callbacks.altCopy({
1036
+ config: P.value,
1037
+ dataset: J.value
1038
+ }));
1039
+ }
1040
+ function Er() {
1041
+ return J.value.length;
1042
+ }
1043
+ function Dr(e) {
1044
+ return J.value[e]?.plots ?? [];
1045
+ }
1046
+ function Or(e = tn.value, t = nn.value) {
1047
+ return !Number.isInteger(e) || !Number.isInteger(t) ? null : Dr(e)[t] ?? null;
1048
+ }
1049
+ function kr() {
1050
+ tn.value = null, nn.value = null, N.value = "pointer", j.value = !1, Q.value = null;
1051
+ }
1052
+ function Ar(e) {
1053
+ if (!e || !I.value) return;
1054
+ let t = I.value.getBoundingClientRect();
1055
+ rn.value = {
1056
+ x: t.left + e.x / z.value * t.width,
1057
+ y: t.top + e.y / B.value * t.height
1058
+ };
1059
+ }
1060
+ function jr(e, t) {
1061
+ let n = Or(e, t);
1062
+ n && (tn.value = e, nn.value = t, N.value = "keyboard", Ar(n), tr({
1063
+ datapoint: n,
1064
+ seriesIndex: e,
1065
+ triggerMode: "keyboard"
1066
+ }));
1067
+ }
1068
+ function Mr() {
1069
+ an.value = !0, tn.value = null, nn.value = null;
1070
+ }
1071
+ function Nr() {
1072
+ an.value = !1, kr();
1073
+ }
1074
+ function Pr(e) {
1075
+ if (!I.value || fr.value || document.activeElement !== I.value || !Er()) return;
1076
+ let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
1077
+ if (!t && !n && !r && !i && !a && !o) return;
1078
+ if (e.preventDefault(), e.stopPropagation(), o) {
1079
+ kr();
1080
+ return;
1081
+ }
1082
+ let s = tn.value, c = nn.value;
1083
+ if (s === null || c === null) s = 0, c = 0;
1084
+ else if (t || n) {
1085
+ let e = Er();
1086
+ s = n ? (s + 1) % e : (s - 1 + e) % e;
1087
+ let t = Dr(s);
1088
+ if (!t.length) return;
1089
+ c = Math.min(c, t.length - 1);
1090
+ } else if (r || i) {
1091
+ let e = Dr(s);
1092
+ if (!e.length) return;
1093
+ c = r ? (c + 1) % e.length : (c - 1 + e.length) % e.length;
1094
+ }
1095
+ if (a) {
1096
+ let e = Or();
1097
+ if (!e) return;
1098
+ $n({
1099
+ datapoint: e,
1100
+ seriesIndex: tn.value
1101
+ });
1102
+ return;
1103
+ }
1104
+ jr(s, c);
1105
+ }
1106
+ let Fr = f(() => ({
1107
+ headers: or.value?.colNames ?? [],
1108
+ rows: or.value?.body?.map((e) => e.map((e) => e && typeof e == "object" && "name" in e ? e.name : e)) ?? []
1109
+ }));
1110
+ return ke({
1111
+ getData: cr,
1112
+ getImage: mr,
1113
+ generatePdf: xn,
1114
+ generateCsv: ar,
1115
+ generateImage: Sn,
1116
+ generateSvg: Cr,
1117
+ toggleTable: lr,
1118
+ toggleLabels: ur,
1119
+ toggleTooltip: dr,
1120
+ toggleAnnotator: pr,
1121
+ toggleFullscreen: sr,
1122
+ copyAlt: Tr
1123
+ }), (e, t) => (S(), h("div", {
1124
+ ref_key: "stripPlotChart",
1125
+ ref: M,
1126
+ class: y(`vue-data-ui-component vue-ui-strip-plot ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1127
+ style: x(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor};${P.value.responsive ? "height:100%" : ""}`),
1128
+ id: `strip-plot_${A.value}`,
1129
+ onMouseenter: t[2] ||= () => D(pn)(!0),
1130
+ onMouseleave: t[3] ||= () => D(pn)(!1)
1131
+ }, [
1132
+ g("div", {
1133
+ id: `chart-instructions-${A.value}`,
1134
+ class: "sr-only"
1135
+ }, [g("p", null, E(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
1136
+ Fr.value?.rows?.length ? (S(), p(Ne, {
1137
+ key: 0,
1138
+ uid: A.value,
1139
+ head: Fr.value.headers,
1140
+ body: Fr.value.rows,
1141
+ notice: P.value.a11y.translations.tableAvailable,
1142
+ caption: P.value.a11y.translations.tableCaption
1143
+ }, null, 8, [
1144
+ "uid",
1145
+ "head",
1146
+ "body",
1147
+ "notice",
1148
+ "caption"
1149
+ ])) : m("", !0),
1150
+ P.value.userOptions.buttons.annotator ? (S(), p(D(Mt), {
1151
+ key: 1,
1152
+ svgRef: D(I),
1153
+ backgroundColor: P.value.style.chart.backgroundColor,
1154
+ color: P.value.style.chart.color,
1155
+ active: fr.value,
1156
+ isCursorPointer: F.value,
1157
+ onClose: pr
1158
+ }, {
1159
+ "annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1160
+ "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
1161
+ "annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
1162
+ "annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
1163
+ "annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
1164
+ "annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
1165
+ _: 3
1166
+ }, 8, [
1167
+ "svgRef",
1168
+ "backgroundColor",
1169
+ "color",
1170
+ "active",
1171
+ "isCursorPointer"
1172
+ ])) : m("", !0),
1173
+ Cn.value ? (S(), h("div", {
1174
+ key: 2,
1175
+ ref_key: "noTitle",
1176
+ ref: Gt,
1177
+ class: "vue-data-ui-no-title-space",
1178
+ style: "height:36px; width: 100%;background:transparent"
1179
+ }, null, 512)) : m("", !0),
1180
+ P.value.style.chart.title.text ? (S(), h("div", {
1181
+ key: 3,
1182
+ ref_key: "chartTitle",
1183
+ ref: Ut,
1184
+ style: "width:100%;background:transparent;padding-bottom:24px"
1185
+ }, [(S(), p(De, {
1186
+ key: `title_${qt.value}`,
1187
+ config: {
1188
+ title: {
1189
+ cy: "donut-div-title",
1190
+ ...P.value.style.chart.title
1191
+ },
1192
+ subtitle: {
1193
+ cy: "donut-div-subtitle",
1194
+ ...P.value.style.chart.title.subtitle
1195
+ }
1196
+ }
1197
+ }, null, 8, ["config"]))], 512)) : m("", !0),
1198
+ P.value.userOptions.show && Bt.value && (D(mn) || D(fn)) ? (S(), p(D(jt), {
1199
+ ref_key: "userOptionsRef",
1200
+ ref: Xt,
1201
+ key: `user_option_${Vt.value}`,
1202
+ backgroundColor: P.value.style.chart.backgroundColor,
1203
+ color: P.value.style.chart.color,
1204
+ isPrinting: D(yn),
1205
+ isImaging: D(bn),
1206
+ uid: A.value,
1207
+ hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.chart.tooltip.show,
1208
+ hasPdf: P.value.userOptions.buttons.pdf,
1209
+ hasXls: P.value.userOptions.buttons.csv,
1210
+ hasImg: P.value.userOptions.buttons.img,
1211
+ hasSvg: P.value.userOptions.buttons.svg,
1212
+ hasTable: P.value.userOptions.buttons.table,
1213
+ hasLabel: P.value.userOptions.buttons.labels && P.value.type !== "violin",
1214
+ hasFullscreen: P.value.userOptions.buttons.fullscreen,
1215
+ hasAltCopy: P.value.userOptions.buttons.altCopy,
1216
+ isTooltip: V.value.showTooltip,
1217
+ isFullscreen: $.value,
1218
+ titles: { ...P.value.userOptions.buttonTitles },
1219
+ chartElement: M.value,
1220
+ position: P.value.userOptions.position,
1221
+ hasAnnotator: P.value.userOptions.buttons.annotator,
1222
+ isAnnotation: fr.value,
1223
+ callbacks: P.value.userOptions.callbacks,
1224
+ printScale: P.value.userOptions.print.scale,
1225
+ tableDialog: P.value.table.useDialog,
1226
+ isCursorPointer: F.value,
1227
+ onToggleFullscreen: sr,
1228
+ onGeneratePdf: D(xn),
1229
+ onGenerateCsv: ar,
1230
+ onGenerateImage: D(wr),
1231
+ onGenerateSvg: D(Cr),
1232
+ onToggleTable: lr,
1233
+ onToggleLabels: ur,
1234
+ onToggleTooltip: dr,
1235
+ onToggleAnnotator: pr,
1236
+ onCopyAlt: Tr,
1237
+ style: x({ visibility: D(mn) ? D(fn) ? "visible" : "hidden" : "visible" })
1238
+ }, Le({ _: 2 }, [
1239
+ e.$slots.menuIcon ? {
1240
+ name: "menuIcon",
1241
+ fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", b(v({
1242
+ isOpen: t,
1243
+ color: n
1244
+ })), void 0, !0)]),
1245
+ key: "0"
1246
+ } : void 0,
1247
+ e.$slots.optionTooltip ? {
1248
+ name: "optionTooltip",
1249
+ fn: O(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
1250
+ key: "1"
1251
+ } : void 0,
1252
+ e.$slots.optionPdf ? {
1253
+ name: "optionPdf",
1254
+ fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
1255
+ key: "2"
1256
+ } : void 0,
1257
+ e.$slots.optionCsv ? {
1258
+ name: "optionCsv",
1259
+ fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
1260
+ key: "3"
1261
+ } : void 0,
1262
+ e.$slots.optionImg ? {
1263
+ name: "optionImg",
1264
+ fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
1265
+ key: "4"
1266
+ } : void 0,
1267
+ e.$slots.optionSvg ? {
1268
+ name: "optionSvg",
1269
+ fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
1270
+ key: "5"
1271
+ } : void 0,
1272
+ e.$slots.optionTable ? {
1273
+ name: "optionTable",
1274
+ fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
1275
+ key: "6"
1276
+ } : void 0,
1277
+ e.$slots.optionLabels ? {
1278
+ name: "optionLabels",
1279
+ fn: O(() => [T(e.$slots, "optionLabels", {}, void 0, !0)]),
1280
+ key: "7"
1281
+ } : void 0,
1282
+ e.$slots.optionFullscreen ? {
1283
+ name: "optionFullscreen",
1284
+ fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", b(v({
1285
+ toggleFullscreen: t,
1286
+ isFullscreen: n
1287
+ })), void 0, !0)]),
1288
+ key: "8"
1289
+ } : void 0,
1290
+ e.$slots.optionAnnotator ? {
1291
+ name: "optionAnnotator",
1292
+ fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", b(v({
1293
+ toggleAnnotator: t,
1294
+ isAnnotator: n
1295
+ })), void 0, !0)]),
1296
+ key: "9"
1297
+ } : void 0,
1298
+ e.$slots.optionAltCopy ? {
1299
+ name: "optionAltCopy",
1300
+ fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
1301
+ key: "10"
1302
+ } : void 0,
1303
+ e.$slots["custom-menu-before"] ? {
1304
+ name: "custom-menu-before",
1305
+ fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1306
+ key: "11"
1307
+ } : void 0,
1308
+ e.$slots["custom-menu-after"] ? {
1309
+ name: "custom-menu-after",
1310
+ fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1311
+ key: "12"
1312
+ } : void 0
1313
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
1314
+ g("div", Qe, [(S(), h("svg", {
1315
+ ref_key: "svgRef",
1316
+ ref: I,
1317
+ xmlns: D(fe),
1318
+ class: y({
1319
+ "vue-data-ui-fullscreen--on": $.value,
1320
+ "vue-data-ui-fulscreen--off": !$.value,
1321
+ "vue-data-ui-no-transition": !D(on)
1322
+ }),
1323
+ viewBox: `0 0 ${z.value} ${B.value}`,
1324
+ style: x(`max-width:100%; overflow: visible; background:transparent;color:${P.value.style.chart.color};`),
1325
+ "aria-describedby": `chart-instructions-${A.value}`,
1326
+ tabindex: "0",
1327
+ onFocus: Mr,
1328
+ onBlur: Nr,
1329
+ onKeydown: Pr
1330
+ }, [
1331
+ ze(D(Nt)),
1332
+ e.$slots["chart-background"] ? (S(), h("foreignObject", {
1333
+ key: 0,
1334
+ x: W.value.left,
1335
+ y: W.value.top,
1336
+ width: Math.max(.1, W.value.width),
1337
+ height: Math.max(.1, W.value.height),
1338
+ style: { pointerEvents: "none" }
1339
+ }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, et)) : m("", !0),
1340
+ P.value.style.chart.grid.show ? (S(), h("g", tt, [
1341
+ P.value.style.chart.grid.horizontalGrid.show ? (S(), h("g", nt, [(S(!0), h(d, null, w(Xn.value, (e) => (S(), h("line", {
1342
+ x1: e.x1,
1343
+ x2: e.x2,
1344
+ y1: e.y,
1345
+ y2: e.y,
1346
+ stroke: P.value.style.chart.grid.horizontalGrid.stroke,
1347
+ "stroke-width": P.value.style.chart.grid.horizontalGrid.strokeWidth,
1348
+ "stroke-dasharray": P.value.style.chart.grid.horizontalGrid.strokeDasharray,
1349
+ "stroke-linecap": "round"
1350
+ }, null, 8, rt))), 256))])) : m("", !0),
1351
+ P.value.style.chart.grid.verticalGrid.show ? (S(), h("g", it, [(S(!0), h(d, null, w(K.value, (e, t) => (S(), h("line", {
1352
+ x1: W.value.left + (t + 1) * W.value.stripWidth,
1353
+ x2: W.value.left + (t + 1) * W.value.stripWidth,
1354
+ y1: W.value.top,
1355
+ y2: W.value.bottom,
1356
+ stroke: P.value.style.chart.grid.verticalGrid.stroke,
1357
+ "stroke-width": P.value.style.chart.grid.verticalGrid.strokeWidth,
1358
+ "stroke-dasharray": P.value.style.chart.grid.verticalGrid.strokeDasharray,
1359
+ "stroke-linecap": "round"
1360
+ }, null, 8, at))), 256))])) : m("", !0),
1361
+ g("line", {
1362
+ x1: W.value.left,
1363
+ x2: W.value.left,
1364
+ y1: W.value.top,
1365
+ y2: W.value.bottom,
1366
+ stroke: P.value.style.chart.grid.stroke,
1367
+ "stroke-width": P.value.style.chart.grid.strokeWidth,
1368
+ "stroke-linecap": "round"
1369
+ }, null, 8, ot),
1370
+ g("line", {
1371
+ x1: W.value.left,
1372
+ x2: W.value.right,
1373
+ y1: W.value.bottom,
1374
+ y2: W.value.bottom,
1375
+ stroke: P.value.style.chart.grid.stroke,
1376
+ "stroke-width": P.value.style.chart.grid.strokeWidth,
1377
+ "stroke-linecap": "round"
1378
+ }, null, 8, st)
1379
+ ])) : m("", !0),
1380
+ P.value.style.chart.labels.yAxisLabels.show ? (S(), h("g", {
1381
+ key: 2,
1382
+ ref_key: "scaleLabels",
1383
+ ref: en
1384
+ }, [(S(!0), h(d, null, w(Xn.value, (e, t) => (S(), h("text", {
1385
+ class: y({ "vue-data-ui-transition": D(on) }),
1386
+ key: `sl_${t}`,
1387
+ transform: `translate(${e.x1 + P.value.style.chart.labels.yAxisLabels.offsetX - 5}, ${e.y + P.value.style.chart.labels.yAxisLabels.fontSize / 3})`,
1388
+ fill: P.value.style.chart.labels.yAxisLabels.color,
1389
+ "font-size": P.value.style.chart.labels.yAxisLabels.fontSize,
1390
+ "text-anchor": "end"
1391
+ }, E(D(se)(P.value.style.chart.labels.formatter, e.value, D(c)({
1392
+ p: P.value.style.chart.labels.prefix,
1393
+ v: e.value,
1394
+ s: P.value.style.chart.labels.suffix,
1395
+ r: P.value.style.chart.labels.yAxisLabels.rounding
1396
+ }), {
1397
+ datapoint: e,
1398
+ seriesIndex: t
1399
+ })), 11, ct))), 128))], 512)) : m("", !0),
1400
+ P.value.style.chart.labels.xAxisLabels.show ? (S(), h("g", {
1401
+ key: 3,
1402
+ ref_key: "timeLabelsEls",
1403
+ ref: $t
1404
+ }, [(S(!0), h(d, null, w(hr.value, (e, t) => (S(), h("g", null, [String(e).includes("\n") ? (S(), h("text", {
1405
+ key: 1,
1406
+ class: "vue-ui-strip-plot-category-name",
1407
+ transform: `translate(${W.value.left + (t + 1) * W.value.stripWidth - W.value.stripWidth / 2}, ${W.value.bottom + P.value.style.chart.labels.xAxisLabels.fontSize * 2 + P.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${P.value.style.chart.labels.xAxisLabels.rotation})`,
1408
+ "font-size": P.value.style.chart.labels.xAxisLabels.fontSize,
1409
+ fill: P.value.style.chart.labels.xAxisLabels.color,
1410
+ "text-anchor": P.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : P.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
1411
+ innerHTML: D(i)({
1412
+ content: D(ae)(String(e)),
1413
+ fontSize: P.value.style.chart.labels.xAxisLabels.fontSize,
1414
+ fill: P.value.style.chart.labels.xAxisLabels.color,
1415
+ x: 0,
1416
+ y: 0
1417
+ })
1418
+ }, null, 8, ut)) : (S(), h("text", {
1419
+ key: 0,
1420
+ class: "vue-ui-strip-plot-category-name",
1421
+ transform: `translate(${W.value.left + (t + 1) * W.value.stripWidth - W.value.stripWidth / 2}, ${W.value.bottom + P.value.style.chart.labels.xAxisLabels.fontSize * 2 + P.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${P.value.style.chart.labels.xAxisLabels.rotation})`,
1422
+ "font-size": P.value.style.chart.labels.xAxisLabels.fontSize,
1423
+ fill: P.value.style.chart.labels.xAxisLabels.color,
1424
+ "text-anchor": P.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : P.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
1425
+ }, E(String(e)), 9, lt))]))), 256))], 512)) : m("", !0),
1426
+ P.value.style.chart.labels.axis.yLabel ? (S(), h("text", {
1427
+ key: 4,
1428
+ ref_key: "yAxisLabel",
1429
+ ref: Qt,
1430
+ fill: P.value.style.chart.labels.axis.color,
1431
+ "font-size": P.value.style.chart.labels.axis.fontSize,
1432
+ transform: `translate(${P.value.style.chart.labels.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
1433
+ "text-anchor": "middle"
1434
+ }, E(P.value.style.chart.labels.axis.yLabel), 9, dt)) : m("", !0),
1435
+ P.value.style.chart.labels.axis.xLabel ? (S(), h("text", {
1436
+ key: 5,
1437
+ ref_key: "xAxisLabel",
1438
+ ref: Zt,
1439
+ fill: P.value.style.chart.labels.axis.color,
1440
+ "font-size": P.value.style.chart.labels.axis.fontSize,
1441
+ x: W.value.left + W.value.width / 2,
1442
+ y: B.value - P.value.style.chart.labels.axis.fontSize / 3,
1443
+ "text-anchor": "middle"
1444
+ }, E(P.value.style.chart.labels.axis.xLabel), 9, ft)) : m("", !0),
1445
+ Q.value ? (S(), h(d, { key: 6 }, [
1446
+ g("line", {
1447
+ x1: W.value.left,
1448
+ x2: W.value.right,
1449
+ y1: Q.value.y,
1450
+ y2: Q.value.y,
1451
+ stroke: Q.value.color,
1452
+ "stroke-width": 1,
1453
+ class: y({ "select-circle": P.value.useCssAnimation })
1454
+ }, null, 10, pt),
1455
+ g("circle", {
1456
+ cx: W.value.left,
1457
+ cy: Q.value.y,
1458
+ r: 3,
1459
+ fill: Q.value.color,
1460
+ class: y({ "select-circle": P.value.useCssAnimation })
1461
+ }, null, 10, mt),
1462
+ g("circle", {
1463
+ cx: W.value.right,
1464
+ cy: Q.value.y,
1465
+ r: 3,
1466
+ fill: Q.value.color,
1467
+ class: y({ "select-circle": P.value.useCssAnimation })
1468
+ }, null, 10, ht)
1469
+ ], 64)) : m("", !0),
1470
+ g("defs", null, [(S(!0), h(d, null, w(K.value, (e) => (S(), p(Me, {
1471
+ t: "radial",
1472
+ id: e.id,
1473
+ key: `r_${e.id}`,
1474
+ fy: "30%",
1475
+ stops: [
1476
+ [
1477
+ "10%",
1478
+ D(ce)(e.color, P.value.style.chart.plots.gradient.intensity / 100),
1479
+ 1
1480
+ ],
1481
+ [
1482
+ "90%",
1483
+ D(l)(e.color, .1),
1484
+ 1
1485
+ ],
1486
+ [
1487
+ "100%",
1488
+ e.color,
1489
+ 1
1490
+ ]
1491
+ ]
1492
+ }, null, 8, ["id", "stops"]))), 128))]),
1493
+ (S(!0), h(d, null, w(Hn.value, (e, n) => (S(), h(d, { key: e.id }, [e.path ? (S(), h("path", {
1494
+ key: 0,
1495
+ d: e.path,
1496
+ fill: e.fill,
1497
+ stroke: e.color,
1498
+ "fill-opacity": P.value.style.chart.violin.opacity,
1499
+ "stroke-opacity": P.value.style.chart.violin.strokeOpacity,
1500
+ "stroke-width": P.value.style.chart.violin.strokeWidth,
1501
+ style: x({
1502
+ pointerEvents: Y.value ? "auto" : "none",
1503
+ cursor: Y.value && F.value ? "pointer" : "default"
1504
+ }),
1505
+ onMouseenter: (e) => Y.value && X.value[n] && rr({
1506
+ boxPlot: X.value[n],
1507
+ seriesIndex: n,
1508
+ triggerMode: "pointer"
1509
+ }),
1510
+ onMouseleave: t[0] ||= (e) => Y.value && nr()
1511
+ }, null, 44, gt)) : m("", !0), (S(!0), h(d, null, w(e.connectors, (t, n) => (S(), h("line", {
1512
+ key: `violin_connector_${e.id}_${n}`,
1513
+ x1: t.x,
1514
+ x2: t.x,
1515
+ y1: t.y1,
1516
+ y2: t.y2,
1517
+ stroke: e.color,
1518
+ "stroke-opacity": P.value.style.chart.violin.strokeOpacity,
1519
+ "stroke-width": P.value.style.chart.violin.strokeWidth,
1520
+ "stroke-linecap": "round",
1521
+ style: { "pointer-events": "none" }
1522
+ }, null, 8, _t))), 128))], 64))), 128)),
1523
+ (S(!0), h(d, null, w(X.value, (e, t) => (S(), h("g", {
1524
+ key: `boxplot_${e.id}`,
1525
+ style: x({ cursor: F.value ? "pointer" : "default" }),
1526
+ onMouseenter: (n) => rr({
1527
+ boxPlot: e,
1528
+ seriesIndex: t,
1529
+ triggerMode: "pointer"
1530
+ }),
1531
+ onMouseleave: nr
1532
+ }, [
1533
+ g("line", {
1534
+ x1: e.centerX,
1535
+ x2: e.centerX,
1536
+ y1: e.upperY,
1537
+ y2: e.lowerY,
1538
+ stroke: D(l)(e.boxPlotColor, .2),
1539
+ "stroke-width": Math.max(1, P.value.style.chart.violin.strokeWidth),
1540
+ "stroke-linecap": "round"
1541
+ }, null, 8, yt),
1542
+ g("rect", {
1543
+ x: e.boxLeft,
1544
+ y: Math.min(e.q1Y, e.q3Y),
1545
+ width: e.boxWidth,
1546
+ height: Math.max(1, Math.abs(e.q3Y - e.q1Y)),
1547
+ fill: e.boxPlotColor,
1548
+ stroke: D(l)(e.boxPlotColor, .2),
1549
+ "stroke-width": Math.max(1, P.value.style.chart.violin.strokeWidth),
1550
+ rx: e.boxWidth / 20
1551
+ }, null, 8, bt),
1552
+ g("circle", {
1553
+ cx: e.boxLeft + e.boxWidth / 2,
1554
+ cy: e.medianY,
1555
+ r: e.boxWidth / 3 * Math.min(1, P.value.style.chart.violin.boxPlot.medianCircleRadiusRatio),
1556
+ fill: P.value.style.chart.violin.boxPlot.medianCircleFill,
1557
+ stroke: D(l)(e.boxPlotColor, .2)
1558
+ }, null, 8, xt)
1559
+ ], 44, vt))), 128)),
1560
+ (S(!0), h(d, null, w(J.value, (t, n) => (S(), h(d, null, [Y.value ? m("", !0) : (S(!0), h(d, { key: 0 }, w(t.plots, (n, r) => (S(), p(Oe, Be({ ref_for: !0 }, e.$attrs, {
1561
+ plot: {
1562
+ x: n.x,
1563
+ y: Kt.value ? n.y : W.value.top
1564
+ },
1565
+ radius: Q.value && Q.value.id === n.id ? H.value * 1.5 : H.value,
1566
+ shape: P.value.style.chart.plots.shape,
1567
+ stroke: P.value.style.chart.plots.stroke,
1568
+ strokeWidth: P.value.style.chart.plots.strokeWidth,
1569
+ color: P.value.style.chart.plots.gradient.show ? `url(#${t.id})` : t.color,
1570
+ style: `transition: all 0.2s ease-in-out; opacity:${Q.value ? Q.value.id === n.id ? 1 : .2 : P.value.style.chart.plots.opacity};${Tn.value ? `transition-delay:${r * 50}ms` : ""}`,
1571
+ class: {
1572
+ "vue-ui-strip-plot-animated": P.value.useCssAnimation && Tn.value && !D(ln),
1573
+ "vue-ui-strip-plot-select-circle": P.value.useCssAnimation && !Tn.value
1574
+ },
1575
+ onMouseenter: (e) => tr({
1576
+ datapoint: n,
1577
+ seriesIndex: r,
1578
+ triggerMode: "pointer"
1579
+ }),
1580
+ onMouseleave: (e) => Qn({
1581
+ datapoint: n,
1582
+ seriesIndex: r
1583
+ }),
1584
+ onClick: (e) => $n({
1585
+ datapoint: n,
1586
+ seriesIndex: r
1587
+ })
1588
+ }), null, 16, [
1589
+ "plot",
1590
+ "radius",
1591
+ "shape",
1592
+ "stroke",
1593
+ "strokeWidth",
1594
+ "color",
1595
+ "style",
1596
+ "class",
1597
+ "onMouseenter",
1598
+ "onMouseleave",
1599
+ "onClick"
1600
+ ]))), 256)), V.value.dataLabels.show && !Y.value ? (S(), h("g", St, [(S(!0), h(d, null, w(t.plots, (e, n) => (S(), h(d, null, [n === t.plots.length - 1 || Q.value && Q.value.id === e.id && !V.value.showTooltip ? (S(), h("text", {
1601
+ key: 0,
1602
+ x: e.x,
1603
+ y: e.y + P.value.style.chart.labels.bestPlotLabel.offsetY - H.value * (Q.value && Q.value.id === e.id && !V.value.showTooltip ? 2 : 1.5),
1604
+ "font-size": P.value.style.chart.labels.bestPlotLabel.fontSize,
1605
+ fill: P.value.style.chart.labels.bestPlotLabel.color,
1606
+ "text-anchor": "middle",
1607
+ style: x(`opacity:${P.value.useCssAnimation ? +!Tn.value : 1};transition:opacity 0.2s ease-in;`)
1608
+ }, E(e.name) + " " + E(P.value.style.chart.labels.bestPlotLabel.showValue ? D(se)(P.value.style.chart.labels.formatter, e.value, D(c)({
1609
+ p: `(${P.value.style.chart.labels.prefix}`,
1610
+ v: e.value,
1611
+ s: `${P.value.style.chart.labels.suffix})`,
1612
+ r: P.value.style.chart.labels.bestPlotLabel.rounding
1613
+ }), {
1614
+ datapoint: e,
1615
+ seriesIndex: n
1616
+ }) : ""), 13, Ct)) : m("", !0)], 64))), 256))])) : m("", !0)], 64))), 256)),
1617
+ T(e.$slots, "svg", { svg: {
1618
+ ...W.value,
1619
+ isPrintingImg: D(yn) || D(bn) || D(xr),
1620
+ isPrintingSvg: D(Sr),
1621
+ boxPlotSummaries: X.value,
1622
+ series: K.value
1623
+ } }, void 0, !0)
1624
+ ], 46, $e)), e.$slots.hint ? (S(), h("div", wt, [T(e.$slots, "hint", b(v({
1625
+ hint: P.value.a11y.translations.keyboardNavigation,
1626
+ isVisible: an.value
1627
+ })), void 0, !0)])) : m("", !0)]),
1628
+ e.$slots.watermark ? (S(), h("div", Tt, [T(e.$slots, "watermark", b(v({ isPrinting: D(yn) || D(bn) || D(xr) || D(Sr) })), void 0, !0)])) : m("", !0),
1629
+ e.$slots.source ? (S(), h("div", {
1630
+ key: 6,
1631
+ ref_key: "source",
1632
+ ref: Wt,
1633
+ dir: "auto"
1634
+ }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1635
+ ze(D(Dt), {
1636
+ teleportTo: P.value.style.chart.tooltip.teleportTo,
1637
+ show: V.value.showTooltip && j.value,
1638
+ backgroundColor: P.value.style.chart.tooltip.backgroundColor,
1639
+ color: P.value.style.chart.tooltip.color,
1640
+ borderRadius: P.value.style.chart.tooltip.borderRadius,
1641
+ borderColor: P.value.style.chart.tooltip.borderColor,
1642
+ borderWidth: P.value.style.chart.tooltip.borderWidth,
1643
+ fontSize: P.value.style.chart.tooltip.fontSize,
1644
+ backgroundOpacity: P.value.style.chart.tooltip.backgroundOpacity,
1645
+ position: P.value.style.chart.tooltip.position,
1646
+ offsetX: P.value.style.chart.tooltip.offsetX,
1647
+ offsetY: P.value.style.chart.tooltip.offsetY,
1648
+ parent: M.value,
1649
+ content: Ht.value,
1650
+ isFullscreen: $.value,
1651
+ isCustom: D(n)(P.value.style.chart.tooltip.customFormat),
1652
+ smooth: P.value.style.chart.tooltip.smooth,
1653
+ backdropFilter: P.value.style.chart.tooltip.backdropFilter,
1654
+ smoothForce: P.value.style.chart.tooltip.smoothForce,
1655
+ smoothSnapThreshold: P.value.style.chart.tooltip.smoothSnapThreshold,
1656
+ isA11yMode: N.value === "keyboard",
1657
+ a11yPosition: rn.value
1658
+ }, {
1659
+ "tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...Zn.value })), void 0, !0)]),
1660
+ tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...Zn.value })), void 0, !0)]),
1661
+ "tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...Zn.value })), void 0, !0)]),
1662
+ _: 3
1663
+ }, 8, [
1664
+ "teleportTo",
1665
+ "show",
1666
+ "backgroundColor",
1667
+ "color",
1668
+ "borderRadius",
1669
+ "borderColor",
1670
+ "borderWidth",
1671
+ "fontSize",
1672
+ "backgroundOpacity",
1673
+ "position",
1674
+ "offsetX",
1675
+ "offsetY",
1676
+ "parent",
1677
+ "content",
1678
+ "isFullscreen",
1679
+ "isCustom",
1680
+ "smooth",
1681
+ "backdropFilter",
1682
+ "smoothForce",
1683
+ "smoothSnapThreshold",
1684
+ "isA11yMode",
1685
+ "a11yPosition"
1686
+ ]),
1687
+ Bt.value && P.value.userOptions.buttons.table ? (S(), p(We(_r.value.component), Be({ key: 7 }, _r.value.props, {
1688
+ ref_key: "tableUnit",
1689
+ ref: Yt,
1690
+ onClose: vr
1691
+ }), Le({
1692
+ content: O(() => [(S(), p(D(At), {
1693
+ key: `table_${Jt.value}`,
1694
+ colNames: or.value.colNames,
1695
+ head: or.value.head,
1696
+ body: or.value.body,
1697
+ config: or.value.config,
1698
+ title: P.value.table.useDialog ? "" : _r.value.title,
1699
+ withCloseButton: !P.value.table.useDialog,
1700
+ isCursorPointer: F.value,
1701
+ onClose: vr
1702
+ }, {
1703
+ th: O(({ th: e }) => [g("div", Et, E(e), 1)]),
1704
+ td: O(({ td: e }) => [Re(E(e.name || e), 1)]),
1705
+ _: 1
1706
+ }, 8, [
1707
+ "colNames",
1708
+ "head",
1709
+ "body",
1710
+ "config",
1711
+ "title",
1712
+ "withCloseButton",
1713
+ "isCursorPointer"
1714
+ ]))]),
1715
+ _: 2
1716
+ }, [P.value.table.useDialog ? {
1717
+ name: "title",
1718
+ fn: O(() => [Re(E(_r.value.title), 1)]),
1719
+ key: "0"
1720
+ } : void 0, P.value.table.useDialog ? {
1721
+ name: "actions",
1722
+ fn: O(() => [g("button", {
1723
+ tabindex: "0",
1724
+ class: "vue-ui-user-options-button",
1725
+ onClick: t[1] ||= (e) => ar(P.value.userOptions.callbacks.csv),
1726
+ style: x({ cursor: F.value ? "pointer" : "default" })
1727
+ }, [ze(D(Ot), {
1728
+ name: "fileCsv",
1729
+ stroke: _r.value.props.color
1730
+ }, null, 8, ["stroke"])], 4)]),
1731
+ key: "1"
1732
+ } : void 0]), 1040)) : m("", !0),
1733
+ T(e.$slots, "skeleton", {}, () => [D(ln) ? (S(), p(be, { key: 0 })) : m("", !0)], !0)
1734
+ ], 46, Xe));
1735
+ }
1736
+ }, [["__scopeId", "data-v-35f5cf1a"]]);
1737
+ //#endregion
1738
+ export { Ye as n, Dt as t };