vue-data-ui 3.26.4 → 3.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/{Arrow-BW_Fs3gD.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BniZj4c8.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CPBlYfWq.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-CWtURpCj.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-jfXIQvEi.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-BKndMOAm.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-DV4Plrm3.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-B45z2DmP.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-CJzCVAWl.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-B3I_UGDm.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-DEAYvEjl.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-Dv8WPVwA.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BIe6C0HJ.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-8atniw0P.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-DsGcGbm2.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-B4UpMerH.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-BmfGHn1L.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-C92R4ACT.js → UserOptions-CORYQiif.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-BL08UcHI.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-CBUiJ5b-.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img--C0otIB0.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-CfQIxXGL.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-DTiqmM1G.js → lib-D4wK6ljP.js} +130 -136
  95. package/dist/{package-Dj6ohGVJ.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CbSwKZjC.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-vuBsglf8.js → render-common-BtfjXdkJ.js} +10 -10
  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/types/vue-data-ui.d.ts +212 -60
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-D8cRQaVo.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-R2nu9g4B.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-CijFk00w.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-BxmndVBz.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-CxMo-mXC.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-ysX_ySuK.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-IAqTX-5M.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-rO5_pB7t.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-BLxP54W4.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-DHbt40ze.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-CHHZx5ek.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-WmqFMK4A.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-D2RXFToP.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-CDf6s7AZ.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-Ba3Bkxd7.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DKCEm56d.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-B6cSEytP.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-BfAlXtvS.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-C2TYUKag.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-GMQ4JZf_.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-B53jXaVQ.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-CE7LYi8M.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-B4a2hwYf.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-CY4cLNcJ.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-CTPzgkCs.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-CGFijdmp.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bu2OpF5d.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-CWFQzKOy.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-hdh8SSxW.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-DN2PgxeK.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-lrDciRpg.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-DrcflMPg.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-D5ZFV0Aj.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-DxBJXbPW.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-6OHcBlOC.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton--HlS7ySk.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-ZrM6-QCy.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-CIfpocxI.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-Db7Ntacd.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-DEuNFkU_.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-CSsnkXMJ.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BnN7KebI.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-CqjwxpU1.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-CsMozTrM.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-DFcESbBy.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-CFxvU_q1.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-DIjsyNwO.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-BuvFUWJm.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-B8Knvp7m.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-2_4BOo6P.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-BEgmAfj1.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-D4WMHq7E.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-DBLJ8Uhc.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-Dv0pk4Wd.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DGIz4MDV.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-BIyTRpqJ.js +0 -1242
  184. package/dist/vue-ui-donut-DMISY-E8.js +0 -2427
  185. package/dist/vue-ui-funnel-eVH871L3.js +0 -749
  186. package/dist/vue-ui-gauge-D_jNBHjA.js +0 -934
  187. package/dist/vue-ui-heatmap-DW7bo_Um.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-vPeWNfxO.js +0 -1723
  189. package/dist/vue-ui-molecule-ejjPjG63.js +0 -941
  190. package/dist/vue-ui-mood-radar-pqMAcUWm.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-McES6sLT.js +0 -1444
  192. package/dist/vue-ui-radar-DZPVV9cU.js +0 -1386
  193. package/dist/vue-ui-relation-circle-BtESVsB0.js +0 -905
  194. package/dist/vue-ui-ridgeline-CSLuDJWq.js +0 -1630
  195. package/dist/vue-ui-scatter-CKJ87fhp.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-CQTwLaZi.js +0 -589
  197. package/dist/vue-ui-stackbar-CISQXhoK.js +0 -2660
  198. package/dist/vue-ui-strip-plot-CRZDCNc1.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-CwsrD7te.js +0 -738
  200. package/dist/vue-ui-thermometer-_zSQM0Nk.js +0 -758
@@ -0,0 +1,1752 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { $ as t, D as n, Dt as r, Ft as i, Ht as a, J as o, Q as s, S as c, X as l, _ as ee, an as te, at as ne, b as re, en as ie, et as ae, i as oe, nn as se, nt as ce, pt as le, t as ue, tn as de, v as fe, w as pe, x as me, yt as he, zt as ge } from "./lib-D4wK6ljP.js";
3
+ import { n as _e, t as ve } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ye } from "./useConfig-D_6ZrPMD.js";
5
+ import { t as be } from "./usePrinter-DdW2GSm0.js";
6
+ import { n as xe, t as Se } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as Ce } from "./useNestedProp-DR_8JPol.js";
8
+ import { t as we } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as Te } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as Ee } from "./useTransitions-g_zBREk2.js";
11
+ import { t as De } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as Oe } from "./img-Bb5rHcpO.js";
13
+ import { n as ke } from "./Title-BMCuINbv.js";
14
+ import { t as Ae } from "./Shape-DSwamtmO.js";
15
+ import { t as je } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
+ import { l as Me, t as Ne } from "./useResponsive-ZtArZtUf.js";
17
+ import { t as Pe } from "./DefGrad-DVBqDjhO.js";
18
+ import { t as Fe } from "./A11yDataTable-DdRsVULz.js";
19
+ import { t as Ie } from "./useUserOptionState-DK-_1ddE.js";
20
+ import { t as Le } from "./useChartAccessibility-DYqac8yF.js";
21
+ import { t as Re } from "./vue_ui_strip_plot-BaHbnnwN.js";
22
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as He, nextTick as Ue, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as We, onMounted as Ge, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as T, toRefs as Je, unref as E, watch as Ye, watchEffect as Xe, withCtx as D } from "vue";
23
+ //#region src/components/vue-ui-strip-plot.vue
24
+ var Ze = /* @__PURE__ */ e({ default: () => kt }), Qe = ["id"], $e = ["id"], et = { style: { position: "relative" } }, tt = [
25
+ "xmlns",
26
+ "viewBox",
27
+ "aria-describedby"
28
+ ], nt = [
29
+ "x",
30
+ "y",
31
+ "width",
32
+ "height"
33
+ ], rt = { key: 1 }, it = { key: 0 }, at = [
34
+ "x1",
35
+ "x2",
36
+ "y1",
37
+ "y2",
38
+ "stroke",
39
+ "stroke-width",
40
+ "stroke-dasharray"
41
+ ], ot = { key: 1 }, st = [
42
+ "x1",
43
+ "x2",
44
+ "y1",
45
+ "y2",
46
+ "stroke",
47
+ "stroke-width",
48
+ "stroke-dasharray"
49
+ ], ct = [
50
+ "x1",
51
+ "x2",
52
+ "y1",
53
+ "y2",
54
+ "stroke",
55
+ "stroke-width"
56
+ ], lt = [
57
+ "x1",
58
+ "x2",
59
+ "y1",
60
+ "y2",
61
+ "stroke",
62
+ "stroke-width"
63
+ ], ut = [
64
+ "transform",
65
+ "fill",
66
+ "font-size"
67
+ ], dt = [
68
+ "transform",
69
+ "font-size",
70
+ "fill",
71
+ "text-anchor"
72
+ ], ft = [
73
+ "transform",
74
+ "font-size",
75
+ "fill",
76
+ "text-anchor",
77
+ "innerHTML"
78
+ ], pt = [
79
+ "fill",
80
+ "font-size",
81
+ "transform"
82
+ ], mt = [
83
+ "fill",
84
+ "font-size",
85
+ "x",
86
+ "y"
87
+ ], ht = [
88
+ "x1",
89
+ "x2",
90
+ "y1",
91
+ "y2",
92
+ "stroke"
93
+ ], gt = [
94
+ "cx",
95
+ "cy",
96
+ "fill"
97
+ ], _t = [
98
+ "cx",
99
+ "cy",
100
+ "fill"
101
+ ], vt = [
102
+ "d",
103
+ "fill",
104
+ "stroke",
105
+ "fill-opacity",
106
+ "stroke-opacity",
107
+ "stroke-width",
108
+ "onMouseenter"
109
+ ], yt = [
110
+ "x1",
111
+ "x2",
112
+ "y1",
113
+ "y2",
114
+ "stroke",
115
+ "stroke-opacity",
116
+ "stroke-width"
117
+ ], bt = ["onMouseenter"], xt = [
118
+ "x1",
119
+ "x2",
120
+ "y1",
121
+ "y2",
122
+ "stroke",
123
+ "stroke-width"
124
+ ], St = [
125
+ "x",
126
+ "y",
127
+ "width",
128
+ "height",
129
+ "fill",
130
+ "stroke",
131
+ "stroke-width",
132
+ "rx"
133
+ ], Ct = [
134
+ "cx",
135
+ "cy",
136
+ "r",
137
+ "fill",
138
+ "stroke"
139
+ ], wt = { key: 1 }, Tt = [
140
+ "x",
141
+ "y",
142
+ "font-size",
143
+ "fill"
144
+ ], Et = {
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
+ }, Dt = {
155
+ key: 5,
156
+ class: "vue-data-ui-watermark"
157
+ }, Ot = { style: {
158
+ display: "flex",
159
+ "align-items": "center"
160
+ } }, kt = /*#__PURE__*/ je({
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: je, emit: Ze }) {
178
+ let kt = g(() => import("./Tooltip-C4ZTwkLF.js")), At = g(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), jt = g(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Mt = g(() => import("./DataTable-CjF_An2h.js")), Nt = g(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Pt = g(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Ft = g(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), It = g(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), Lt = [
179
+ "classic",
180
+ "scatter",
181
+ "violin"
182
+ ], { vue_ui_strip_plot: Rt } = ye(), { isThemeValid: zt, warnInvalidTheme: Bt } = we(), O = e, Vt = Ze, Ht = d({
183
+ get() {
184
+ return !!O.dataset && O.dataset.length;
185
+ },
186
+ set(e) {
187
+ return e;
188
+ }
189
+ }), Ut = S(l()), Wt = S(0), Gt = S(!1), Kt = S(""), k = S(null), qt = S(null), Jt = S(null), Yt = S(null), Xt = S(!1), Zt = S(0), Qt = S(0), $t = S(null), en = S(null), tn = S(null), nn = S(null), rn = S(null), an = S(null), on = S(null), sn = S(null), A = S("pointer"), cn = S({
190
+ x: 0,
191
+ y: 0
192
+ }), ln = S(!1), j = S(yn()), M = d(() => j.value.userOptions), N = d(() => j.value.style.chart.tooltip), P = d(() => j.value.style.chart.labels), F = d(() => j.value.style.chart.violin), I = d(() => j.value.style.chart.grid), L = d(() => j.value.style.chart);
193
+ _e({
194
+ config: () => j.value,
195
+ dataset: () => O.dataset,
196
+ component: "VueUiStripPlot",
197
+ rules: [ve.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: un } = Ee({
209
+ config: () => j.value.transitions,
210
+ dataset: () => O.dataset
211
+ }), dn = d(() => bn(j.value.type)), R = d(() => j.value.userOptions.useCursorPointer), fn = d(() => se({
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: j.value.skeletonConfig ?? {}
241
+ })), { loading: pn, FINAL_DATASET: mn, manualLoading: hn } = xe({
242
+ ...Je(O),
243
+ FINAL_CONFIG: j,
244
+ prepareConfig: yn,
245
+ skeletonDataset: O.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: se({
338
+ defaultConfig: j.value,
339
+ userConfig: fn.value
340
+ })
341
+ }), { userOptionsVisible: gn, setUserOptionsVisibility: _n, keepUserOptionState: vn } = Ie({ config: j.value }), { svgRef: z } = Le({ config: L.value.title });
342
+ function yn() {
343
+ let e = Ce({
344
+ userConfig: O.config,
345
+ defaultConfig: Rt
346
+ }), t = e.theme;
347
+ if (!t) return e;
348
+ if (!zt.value(e)) return Bt(e), e;
349
+ let n = Ce({
350
+ userConfig: Re[t] || O.config,
351
+ defaultConfig: e
352
+ }), r = Ce({
353
+ userConfig: O.config,
354
+ defaultConfig: n
355
+ });
356
+ return {
357
+ ...r,
358
+ customPalette: r.customPalette.length ? r.customPalette : ie[t] || a
359
+ };
360
+ }
361
+ function bn(e) {
362
+ return Lt.includes(e) ? e : "classic";
363
+ }
364
+ function xn(e) {
365
+ let t = ae(e);
366
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
367
+ }
368
+ let Sn = xn(O.config);
369
+ Ye(() => O.config, async (e, t) => {
370
+ let n = xn(e), r = n !== Sn;
371
+ Sn = n;
372
+ let i = yn();
373
+ if (!r) {
374
+ j.value.style.chart.tooltip = i.style.chart.tooltip, U.value.showTooltip = j.value.style.chart.tooltip.show;
375
+ return;
376
+ }
377
+ pn.value || (j.value = i), gn.value = !j.value.userOptions.showOnChartHover, Tn(), Zt.value += 1, Qt.value += 1, U.value.dataLabels.show = P.value.bestPlotLabel.show, U.value.showTable = j.value.table.show, U.value.showTooltip = N.value.show, V.value = L.value.width, H.value = L.value.height, Fn.value = L.value.plots.radius;
378
+ }, { deep: !0 }), Ye(() => O.dataset, (e) => {
379
+ Array.isArray(e) && e.length > 0 && (hn.value = !1);
380
+ }, { deep: !0 });
381
+ let B = qe(null), Cn = qe(null);
382
+ Ge(() => {
383
+ Tn();
384
+ });
385
+ let wn = d(() => j.value.debug);
386
+ function Tn() {
387
+ if (ge(O.dataset) ? (ne({
388
+ componentName: "VueUiStripPlot",
389
+ type: "dataset",
390
+ debug: wn.value
391
+ }), hn.value = !0) : O.dataset.forEach((e, t) => {
392
+ he({
393
+ datasetObject: e,
394
+ requiredAttributes: ["name", "plots"]
395
+ }).forEach((e) => {
396
+ Ht.value = !1, ne({
397
+ componentName: "VueUiStripPlot",
398
+ type: "datasetSerieAttribute",
399
+ property: e,
400
+ index: t,
401
+ debug: wn.value
402
+ });
403
+ }), e.plots && e.plots.forEach((e, n) => {
404
+ he({
405
+ datasetObject: e,
406
+ requiredAttributes: ["name", "value"]
407
+ }).forEach((e) => {
408
+ Ht.value = !1, ne({
409
+ componentName: "VueUiStripPlot",
410
+ type: "datasetSerieAttribute",
411
+ property: e,
412
+ index: `${t},${n}`,
413
+ debug: wn.value
414
+ });
415
+ });
416
+ });
417
+ }), ge(O.dataset) || (hn.value = j.value.loading), j.value.responsive) {
418
+ let e = Me(() => {
419
+ let { width: e, height: t } = Ne({
420
+ chart: k.value,
421
+ title: L.value.title.text ? qt.value : null,
422
+ source: Jt.value,
423
+ noTitle: Yt.value
424
+ });
425
+ requestAnimationFrame(() => {
426
+ Pn.value = t, V.value = Math.max(.1, e), H.value = Math.max(.1, t - 12), j.value.responsiveProportionalSizing ? Fn.value = de({
427
+ relator: Math.min(t, e),
428
+ adjuster: 600,
429
+ source: L.value.plots.radius,
430
+ threshold: 6,
431
+ fallback: 6
432
+ }) : Fn.value = L.value.plots.radius;
433
+ });
434
+ });
435
+ B.value && (Cn.value && B.value.unobserve(Cn.value), B.value.disconnect()), B.value = new ResizeObserver(e), Cn.value = k.value.parentNode, B.value.observe(Cn.value);
436
+ }
437
+ Xt.value = !0, setTimeout(() => {
438
+ Mn.value = !1;
439
+ }, Un.value * 50);
440
+ }
441
+ We(() => {
442
+ B.value && (Cn.value && B.value.unobserve(Cn.value), B.value.disconnect());
443
+ });
444
+ let { isPrinting: En, isImaging: Dn, generatePdf: On, generateImage: kn } = be({
445
+ elementId: `strip-plot_${Ut.value}`,
446
+ fileName: L.value.title.text || "vue-ui-strip-plot",
447
+ options: j.value.userOptions.print
448
+ }), An = d(() => j.value.userOptions.show && !L.value.title.text), jn = d(() => pe(j.value.customPalette)), Mn = S(j.value.useCssAnimation), Nn = S({
449
+ top: L.value.padding.top,
450
+ bottom: L.value.padding.bottom,
451
+ left: L.value.padding.left,
452
+ right: L.value.padding.right
453
+ }), V = S(L.value.width), H = S(L.value.height), Pn = S(L.value.height), Fn = S(L.value.plots.radius), U = S({
454
+ showTable: j.value.table.show,
455
+ dataLabels: { show: P.value.bestPlotLabel.show },
456
+ showTooltip: N.value.show
457
+ });
458
+ Ye(j, () => {
459
+ U.value = {
460
+ showTable: j.value.table.show,
461
+ dataLabels: { show: P.value.bestPlotLabel.show },
462
+ showTooltip: N.value.show
463
+ }, V.value = L.value.width, H.value = L.value.height, Fn.value = L.value.plots.radius;
464
+ }, { immediate: !0 });
465
+ let W = d(() => Math.min(Fn.value, K.value.stripWidth / 2 * .9));
466
+ function G(e) {
467
+ return Number.isFinite(e) ? Number(e.toFixed(2)) : 0;
468
+ }
469
+ function In() {
470
+ return Math.max(0, (K.value.stripWidth / 2 - W.value * 1.8) * .86) * Math.min(1, F.value.widthRatio);
471
+ }
472
+ function Ln() {
473
+ let e = 0;
474
+ an.value && (e = Array.from(an.value.querySelectorAll("text")).reduce((e, t) => {
475
+ let n = t.getComputedTextLength();
476
+ return n > e ? n : e;
477
+ }, 0));
478
+ let t = nn.value ? nn.value.getBoundingClientRect().width : 0;
479
+ return e + t + (t ? 24 : 0);
480
+ }
481
+ let Rn = S(0), zn = Me((e) => {
482
+ Rn.value = e;
483
+ }, 100);
484
+ Xe((e) => {
485
+ let t = rn.value;
486
+ if (!t) return;
487
+ let n = new ResizeObserver((e) => {
488
+ zn(e[0].contentRect.height);
489
+ });
490
+ n.observe(t), e(() => n.disconnect());
491
+ }), We(() => {
492
+ Rn.value = 0;
493
+ });
494
+ let Bn = d(() => {
495
+ let e = 0;
496
+ tn.value && (e = tn.value.getBBox().height + P.value.axis.fontSize / 3 + 12 + P.value.axis.xLabelOffsetY);
497
+ let t = 0;
498
+ return rn.value && (t = Rn.value + 12), e + t;
499
+ }), K = d(() => {
500
+ let e = Ln(), t = Nn.value.left + e + P.value.axis.yLabelOffsetX + 5, n = V.value - Nn.value.right, r = Math.max(0, n - t), i = Nn.value.top + L.value.plots.radius + P.value.bestPlotLabel.fontSize, a = H.value - Nn.value.bottom - Bn.value, o = Math.max(0, a - i), s = Array.isArray(mn.value) ? mn.value.length : 0;
501
+ return {
502
+ left: t,
503
+ right: n,
504
+ top: i,
505
+ bottom: a,
506
+ width: r,
507
+ height: o,
508
+ stripWidth: s > 0 ? r / s : 0,
509
+ absoluteHeight: H.value
510
+ };
511
+ });
512
+ function Vn(e) {
513
+ return K.value.left + (e + 1) * K.value.stripWidth - K.value.stripWidth / 2;
514
+ }
515
+ let Hn = d(() => mn.value.map((e, t) => {
516
+ let n = l();
517
+ return {
518
+ ...e,
519
+ id: n,
520
+ color: e.color ? c(e.color) : jn.value[t] || a[t] || a[t % a.length],
521
+ plots: e.plots.map((r, i) => ({
522
+ ...r,
523
+ value: re(r.value),
524
+ parentId: n,
525
+ parentName: e.name,
526
+ parentIndex: t,
527
+ plotIndex: i,
528
+ color: e.color ? c(e.color) : jn.value[t] || a[t] || a[t % a.length],
529
+ id: l()
530
+ })).sort((e, t) => e.value - t.value)
531
+ };
532
+ })), q = d(() => (Hn.value || []).map((e, t) => ({
533
+ ...e,
534
+ plots: e.plots.map((e) => ({
535
+ ...e,
536
+ x: Vn(t)
537
+ }))
538
+ }))), Un = d(() => Math.max(...q.value.map((e) => e.plots.length))), Wn = d(() => {
539
+ let e = q.value.flatMap((e) => e.plots.map((e) => e.value));
540
+ return {
541
+ max: Math.max(...e),
542
+ min: Math.min(...e)
543
+ };
544
+ }), Gn = d(() => {
545
+ let e = I.value.scaleMin, t = I.value.scaleMax, n = Math.max(2, I.value.scaleSteps), r = Wn.value.min < 0 ? Wn.value.min : 0, i = Wn.value.max;
546
+ if (e === null && t === null) return ee(r, i, n);
547
+ if (e !== null && t !== null) return fe(e, t, n);
548
+ let a = ee(e === null ? r : e, t === null ? i : t, n);
549
+ return fe(e === null ? a.min : e, t === null ? a.max : t, n);
550
+ });
551
+ function J(e) {
552
+ let t = Gn.value.max - Gn.value.min;
553
+ return t ? K.value.bottom - (e - Gn.value.min) / t * K.value.height : K.value.bottom;
554
+ }
555
+ let Y = d(() => (q.value || []).map((e, t) => {
556
+ let n = e.plots.map((e) => ({
557
+ ...e,
558
+ y: J(e.value)
559
+ })), r = dn.value === "classic" ? n.map(() => 0) : Xn(n);
560
+ return {
561
+ ...e,
562
+ plots: n.map((e, t) => ({
563
+ ...e,
564
+ x: e.x + r[t]
565
+ }))
566
+ };
567
+ })), X = d(() => dn.value === "violin" && !!F.value?.boxPlot?.show);
568
+ function Kn(e, t) {
569
+ if (!e.length) return 0;
570
+ if (e.length === 1) return e[0];
571
+ let n = (e.length - 1) * t, r = Math.floor(n), i = n - r, a = e[r + 1];
572
+ return a === void 0 ? e[r] : e[r] + i * (a - e[r]);
573
+ }
574
+ let qn = d(() => X.value ? Y.value.map((e, t) => {
575
+ let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Kn(n, .25), i = Kn(n, .5), a = Kn(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, l = n.find((e) => e >= s), ee = n.slice().reverse().find((e) => e <= c), te = Vn(t), ne = Math.max(W.value * 2.8, Math.min(In() * .32, K.value.stripWidth * .12)) * Math.min(1.5, F.value.boxPlot.widthRatio);
576
+ return {
577
+ id: e.id,
578
+ boxPlotColor: F.value.boxPlot.useSerieColor ? e.color : F.value.boxPlot.color,
579
+ color: e.color,
580
+ name: e.name,
581
+ count: n.length,
582
+ lowerAdjacent: l ?? n[0],
583
+ q1: r,
584
+ median: i,
585
+ q3: a,
586
+ upperAdjacent: ee ?? n[n.length - 1],
587
+ iqr: o,
588
+ lowerFence: s,
589
+ upperFence: c,
590
+ centerX: te,
591
+ boxLeft: te - ne / 2,
592
+ boxWidth: ne,
593
+ q1Y: J(r),
594
+ medianY: J(i),
595
+ q3Y: J(a),
596
+ lowerY: J(l ?? n[0]),
597
+ upperY: J(ee ?? n[n.length - 1])
598
+ };
599
+ }) : []), Jn = d(() => [
600
+ j.value.table.columnNames.series,
601
+ F.value.tooltipLabels.lowerAdjacent,
602
+ F.value.tooltipLabels.q1,
603
+ F.value.tooltipLabels.median,
604
+ F.value.tooltipLabels.q3,
605
+ F.value.tooltipLabels.upperAdjacent,
606
+ F.value.tooltipLabels.iqr,
607
+ F.value.tooltipLabels.count
608
+ ]);
609
+ function Yn(e) {
610
+ return t({
611
+ p: P.value.prefix,
612
+ v: e,
613
+ s: P.value.suffix,
614
+ r: j.value.table.td.roundingValue
615
+ });
616
+ }
617
+ function Xn(e) {
618
+ let t = dn.value === "violin" ? Math.max(0, In() - W.value * 1.15) : Math.max(0, K.value.stripWidth / 2 - W.value * 1.5);
619
+ if (!e.length || !t) return e.map(() => 0);
620
+ let n = e.map(() => 0), r = W.value * 2.1, i = Math.min(t, r), a = [0];
621
+ for (let e = i; e <= t + i / 2; e += i) a.push(-Math.min(e, t)), a.push(Math.min(e, t));
622
+ let o = [];
623
+ return e.forEach((e, t) => {
624
+ let i = a.find((t) => o.every((n) => {
625
+ let i = t - n.offset, a = e.y - n.y;
626
+ return Math.hypot(i, a) >= r;
627
+ })) ?? 0;
628
+ n[t] = i, o.push({
629
+ y: e.y,
630
+ offset: i
631
+ });
632
+ }), n;
633
+ }
634
+ let Zn = d(() => dn.value === "violin" ? Y.value.map((e, t) => ({
635
+ id: e.id,
636
+ color: F.value.useSerieColor ? e.color : F.value.stroke,
637
+ fill: F.value.useSerieColor ? e.color : F.value.fill,
638
+ path: Qn(e.plots, t),
639
+ connectors: $n(e.plots, t)
640
+ })) : []);
641
+ function Qn(e, t) {
642
+ let n = In();
643
+ if (!e.length || !K.value.height || !n) return "";
644
+ let r = Vn(t), i = e.map((e) => e.y), a = Z(i), o = tr({
645
+ yValues: i,
646
+ bandwidth: a
647
+ });
648
+ return o.length > 1 ? o.map((e) => rr({
649
+ yValues: e,
650
+ centerX: r,
651
+ maxWidth: er({
652
+ clusterLength: e.length,
653
+ totalLength: i.length,
654
+ maxWidth: n
655
+ }),
656
+ bandwidth: Z(e)
657
+ })).join(" ") : rr({
658
+ yValues: i,
659
+ centerX: r,
660
+ maxWidth: n,
661
+ bandwidth: a
662
+ });
663
+ }
664
+ function $n(e, t) {
665
+ if (!e.length) return [];
666
+ let n = Vn(t), r = e.map((e) => e.y), i = tr({
667
+ yValues: r,
668
+ bandwidth: Z(r)
669
+ });
670
+ return i.length < 2 ? [] : i.slice(1).map((e, t) => {
671
+ let r = i[t], a = Z(r), o = Z(e), s = me(Math.max(...r) + a * 2.35, K.value.top, K.value.bottom), c = me(Math.min(...e) - o * 2.35, K.value.top, K.value.bottom);
672
+ return {
673
+ x: G(n),
674
+ y1: G(s),
675
+ y2: G(c)
676
+ };
677
+ });
678
+ }
679
+ function er({ clusterLength: e, totalLength: t, maxWidth: n }) {
680
+ let r = (e / t) ** .6, i = e <= 2 ? .72 : 1;
681
+ return Math.max(W.value * 2.2, n * me(r * i, .18, 1));
682
+ }
683
+ function Z(e) {
684
+ 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(W.value * 2.6, K.value.height / 48) : W.value * 2.1;
685
+ return me(1.06 * r * e.length ** -.2, i, K.value.height / 5);
686
+ }
687
+ function tr({ yValues: e, bandwidth: t }) {
688
+ if (e.length < 2) return [e];
689
+ let n = [...e].sort((e, t) => e - t), r = Math.max(t * 1.45, W.value * 5), i = [], a = [n[0]];
690
+ 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]);
691
+ return i.push(a), nr(i);
692
+ }
693
+ function nr(e) {
694
+ return e.reduce((e, t) => {
695
+ let n = e[e.length - 1];
696
+ if (!n) return e.push(t), e;
697
+ let r = Z(n), i = Z(t);
698
+ return Math.max(...n) + r * 2.35 >= Math.min(...t) - i * 2.35 ? n.push(...t) : e.push(t), e;
699
+ }, []);
700
+ }
701
+ function rr({ yValues: e, centerX: t, maxWidth: n, bandwidth: r }) {
702
+ let i = me(Math.min(...e) - r * 2.35, K.value.top, K.value.bottom), a = me(Math.max(...e) + r * 2.35, K.value.top, K.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) => {
703
+ let s = i + (a - i) * n / Math.max(1, o - 1);
704
+ return {
705
+ y: s,
706
+ density: e.reduce((e, t) => {
707
+ let n = (s - t) / r;
708
+ return e + Math.exp(-.5 * n * n);
709
+ }, 0)
710
+ };
711
+ }), c = Math.max(...s.map((e) => e.density));
712
+ if (!c) return "";
713
+ let l = s.map((e, t) => {
714
+ let r = t === 0 || t === s.length - 1 ? 0 : e.density / c * n;
715
+ return {
716
+ y: G(e.y),
717
+ width: G(r)
718
+ };
719
+ }), ee = l.map((e) => ({
720
+ x: G(t - e.width),
721
+ y: e.y
722
+ })), te = l.slice(0, -1).reverse().map((e) => ({
723
+ x: G(t + e.width),
724
+ y: e.y
725
+ }));
726
+ return `${ir([...ee, ...te])} Z`;
727
+ }
728
+ function ir(e) {
729
+ if (!e.length) return "";
730
+ if (e.length === 1) return `M ${e[0].x} ${e[0].y}`;
731
+ let t = `M ${e[0].x} ${e[0].y}`;
732
+ for (let n = 1; n < e.length - 1; n += 1) {
733
+ let r = e[n], i = e[n + 1], a = G((r.x + i.x) / 2), o = G((r.y + i.y) / 2);
734
+ t += ` Q ${r.x} ${r.y} ${a} ${o}`;
735
+ }
736
+ let n = e[e.length - 1];
737
+ return `${t} L ${n.x} ${n.y}`;
738
+ }
739
+ let ar = d(() => Gn.value.ticks.map((e) => ({
740
+ y: J(e),
741
+ x1: K.value.left,
742
+ x2: K.value.right,
743
+ value: e
744
+ }))), or = S(null), Q = S(null);
745
+ function sr({ datapoint: e, seriesIndex: t }) {
746
+ A.value !== "keyboard" && (Gt.value = !1, Q.value = null, j.value.events.datapointLeave && j.value.events.datapointLeave({
747
+ datapoint: e,
748
+ seriesIndex: t
749
+ }));
750
+ }
751
+ function cr({ datapoint: e, seriesIndex: t }) {
752
+ Vt("selectDatapoint", e), j.value.events.datapointClick && j.value.events.datapointClick({
753
+ datapoint: e,
754
+ seriesIndex: t
755
+ });
756
+ }
757
+ function lr(e, n = {}) {
758
+ return oe(P.value.formatter, e, t({
759
+ p: P.value.prefix,
760
+ v: e,
761
+ s: P.value.suffix,
762
+ r: N.value.roundingValue
763
+ }), n);
764
+ }
765
+ function ur({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
766
+ j.value.events.datapointEnter && j.value.events.datapointEnter({
767
+ datapoint: e,
768
+ seriesIndex: t
769
+ }), A.value = n, or.value = {
770
+ datapoint: e,
771
+ seriesIndex: t,
772
+ config: j.value,
773
+ series: Hn.value
774
+ }, Gt.value = !0, Q.value = e;
775
+ let i = N.value.customFormat;
776
+ if (r(i) && le(() => i({
777
+ seriesIndex: t,
778
+ datapoint: e,
779
+ series: Hn.value,
780
+ config: j.value
781
+ }))) Kt.value = i({
782
+ seriesIndex: t,
783
+ datapoint: e,
784
+ series: Hn.value,
785
+ config: j.value
786
+ });
787
+ else {
788
+ let n = "";
789
+ 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="${L.value.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${lr(e.value, {
790
+ datapoint: e,
791
+ seriesIndex: t
792
+ })}</div>`, Kt.value = `<div>${n}</div>`;
793
+ }
794
+ }
795
+ function dr() {
796
+ A.value !== "keyboard" && (Gt.value = !1, Q.value = null);
797
+ }
798
+ function fr({ boxPlot: e, seriesIndex: t, triggerMode: n = "pointer" }) {
799
+ A.value = n, Q.value = null, Gt.value = !0, or.value = {
800
+ boxPlot: e,
801
+ seriesIndex: t,
802
+ config: j.value,
803
+ series: Hn.value
804
+ };
805
+ let i = N.value.customFormat;
806
+ if (r(i)) try {
807
+ let n = {
808
+ boxPlot: e,
809
+ seriesIndex: t,
810
+ series: Hn.value,
811
+ config: j.value
812
+ };
813
+ if (le(() => i(n))) {
814
+ Kt.value = i(n);
815
+ return;
816
+ }
817
+ } catch {}
818
+ let a = [
819
+ [F.value.tooltipLabels.upperAdjacent, e.upperAdjacent],
820
+ [F.value.tooltipLabels.q3, e.q3],
821
+ [F.value.tooltipLabels.median, e.median],
822
+ [F.value.tooltipLabels.q1, e.q1],
823
+ [F.value.tooltipLabels.lowerAdjacent, e.lowerAdjacent],
824
+ [F.value.tooltipLabels.iqr, e.iqr]
825
+ ], 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>${lr(r, {
826
+ boxPlot: e,
827
+ seriesIndex: t
828
+ })}</b></div>`).join("");
829
+ Kt.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>${F.value.tooltipLabels.count}</span><b>${e.count}</b></div></div>`;
830
+ }
831
+ let pr = d(() => ({
832
+ head: q.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((t) => ({
833
+ name: `${e.name} - ${t.name}`,
834
+ color: t.color
835
+ }))),
836
+ body: q.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((e) => e.value))
837
+ }));
838
+ function mr(e = null) {
839
+ Ue(() => {
840
+ let t = [], r = [j.value.table.columnNames.series, j.value.table.columnNames.value];
841
+ X.value ? (r = Jn.value, t = qn.value.map((e) => [
842
+ [e.name],
843
+ [e.lowerAdjacent],
844
+ [e.q1],
845
+ [e.median],
846
+ [e.q3],
847
+ [e.upperAdjacent],
848
+ [e.iqr],
849
+ [e.count]
850
+ ])) : t = pr.value.head.map((e, t) => [[e.name], [pr.value.body[t]]]);
851
+ let i = [
852
+ [L.value.title.text],
853
+ [L.value.title.subtitle.text],
854
+ r.map((e) => [e])
855
+ ].concat(t), a = n(i);
856
+ e ? e(a) : ce({
857
+ csvContent: a,
858
+ title: L.value.title.text || "vue-ui-strip-plot"
859
+ });
860
+ });
861
+ }
862
+ let hr = d(() => {
863
+ if (X.value) {
864
+ let e = Jn.value;
865
+ return {
866
+ colNames: e,
867
+ head: e,
868
+ body: qn.value.map((e) => [
869
+ {
870
+ color: e.color,
871
+ name: e.name
872
+ },
873
+ Yn(e.lowerAdjacent),
874
+ Yn(e.q1),
875
+ Yn(e.median),
876
+ Yn(e.q3),
877
+ Yn(e.upperAdjacent),
878
+ Yn(e.iqr),
879
+ e.count
880
+ ]),
881
+ config: {
882
+ th: {
883
+ backgroundColor: j.value.table.th.backgroundColor,
884
+ color: j.value.table.th.color,
885
+ outline: j.value.table.th.outline
886
+ },
887
+ td: {
888
+ backgroundColor: j.value.table.td.backgroundColor,
889
+ color: j.value.table.td.color,
890
+ outline: j.value.table.td.outline
891
+ },
892
+ breakpoint: j.value.table.responsiveBreakpoint
893
+ }
894
+ };
895
+ }
896
+ let e = [j.value.table.columnNames.series, j.value.table.columnNames.value], n = pr.value.head.map((e, n) => {
897
+ let r = t({
898
+ p: P.value.prefix,
899
+ v: pr.value.body[n],
900
+ s: P.value.suffix,
901
+ r: j.value.table.td.roundingValue
902
+ });
903
+ return [{
904
+ color: e.color,
905
+ name: e.name
906
+ }, r];
907
+ }), r = {
908
+ th: {
909
+ backgroundColor: j.value.table.th.backgroundColor,
910
+ color: j.value.table.th.color,
911
+ outline: j.value.table.th.outline
912
+ },
913
+ td: {
914
+ backgroundColor: j.value.table.td.backgroundColor,
915
+ color: j.value.table.td.color,
916
+ outline: j.value.table.td.outline
917
+ },
918
+ breakpoint: j.value.table.responsiveBreakpoint
919
+ };
920
+ return {
921
+ colNames: [j.value.table.columnNames.series, j.value.table.columnNames.value],
922
+ head: e,
923
+ body: n,
924
+ config: r
925
+ };
926
+ }), $ = S(!1);
927
+ function gr(e) {
928
+ $.value = e, Wt.value += 1;
929
+ }
930
+ function _r() {
931
+ return q.value;
932
+ }
933
+ function vr() {
934
+ U.value.showTable = !U.value.showTable;
935
+ }
936
+ function yr() {
937
+ U.value.dataLabels.show = !U.value.dataLabels.show;
938
+ }
939
+ function br() {
940
+ U.value.showTooltip = !U.value.showTooltip;
941
+ }
942
+ let xr = S(!1);
943
+ function Sr() {
944
+ xr.value = !xr.value;
945
+ }
946
+ async function Cr({ scale: e = 2 } = {}) {
947
+ if (!k.value) return;
948
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Oe({
949
+ domElement: k.value,
950
+ base64: !0,
951
+ img: !0,
952
+ scale: e
953
+ });
954
+ return {
955
+ imageUri: i,
956
+ base64: a,
957
+ title: L.value.title.text,
958
+ width: t,
959
+ height: n,
960
+ aspectRatio: r
961
+ };
962
+ }
963
+ let wr = d(() => q.value.map((e) => e.name)), Tr = S({
964
+ start: 0,
965
+ end: q.value.length
966
+ });
967
+ De({
968
+ timeLabelsEls: rn,
969
+ timeLabels: wr,
970
+ slicer: Tr,
971
+ configRef: j,
972
+ rotationPath: [
973
+ "style",
974
+ "chart",
975
+ "labels",
976
+ "xAxisLabels",
977
+ "rotation"
978
+ ],
979
+ autoRotatePath: [
980
+ "style",
981
+ "chart",
982
+ "labels",
983
+ "xAxisLabels",
984
+ "autoRotate",
985
+ "enable"
986
+ ],
987
+ isAutoSize: !1,
988
+ width: V,
989
+ height: H,
990
+ targetClass: ".vue-ui-strip-plot-category-name",
991
+ rotation: P.value.xAxisLabels.autoRotate.angle
992
+ });
993
+ let Er = d(() => {
994
+ let e = j.value.table.useDialog && !j.value.table.show, t = U.value.showTable;
995
+ return {
996
+ component: e ? It : jt,
997
+ title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
998
+ props: e ? {
999
+ backgroundColor: j.value.table.th.backgroundColor,
1000
+ color: j.value.table.th.color,
1001
+ headerColor: j.value.table.th.color,
1002
+ headerBg: j.value.table.th.backgroundColor,
1003
+ isFullscreen: $.value,
1004
+ fullscreenParent: k.value,
1005
+ forcedWidth: Math.min(800, window.innerWidth * .8),
1006
+ isCursorPointer: R.value
1007
+ } : {
1008
+ hideDetails: !0,
1009
+ config: {
1010
+ open: t,
1011
+ maxHeight: 1e4,
1012
+ body: {
1013
+ backgroundColor: L.value.backgroundColor,
1014
+ color: L.value.color
1015
+ },
1016
+ head: {
1017
+ backgroundColor: L.value.backgroundColor,
1018
+ color: L.value.color
1019
+ }
1020
+ }
1021
+ }
1022
+ };
1023
+ });
1024
+ Ye(() => U.value.showTable, (e) => {
1025
+ j.value.table.show || (e && j.value.table.useDialog && $t.value ? $t.value.open() : "close" in $t.value && $t.value.close());
1026
+ });
1027
+ function Dr() {
1028
+ U.value.showTable = !1, en.value && en.value.setTableIconState(!1);
1029
+ }
1030
+ let Or = d(() => L.value.backgroundColor), kr = d(() => L.value.title), { isCallbackImaging: Ar, isCallbackSvg: jr, generateSvg: Mr, onGenerateImage: Nr } = Te({
1031
+ svg: z,
1032
+ title: kr,
1033
+ legend: null,
1034
+ legendItems: null,
1035
+ backgroundColor: Or,
1036
+ getSvgCallback: () => j.value.userOptions.callbacks.svg,
1037
+ generateImage: kn
1038
+ });
1039
+ async function Pr() {
1040
+ if (Vt("copyAlt", {
1041
+ config: j.value,
1042
+ dataset: Y.value
1043
+ }), !j.value.userOptions.callbacks.altCopy) {
1044
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1045
+ return;
1046
+ }
1047
+ await Promise.resolve(j.value.userOptions.callbacks.altCopy({
1048
+ config: j.value,
1049
+ dataset: Y.value
1050
+ }));
1051
+ }
1052
+ function Fr() {
1053
+ return Y.value.length;
1054
+ }
1055
+ function Ir(e) {
1056
+ return Y.value[e]?.plots ?? [];
1057
+ }
1058
+ function Lr(e = on.value, t = sn.value) {
1059
+ return !Number.isInteger(e) || !Number.isInteger(t) ? null : Ir(e)[t] ?? null;
1060
+ }
1061
+ function Rr() {
1062
+ on.value = null, sn.value = null, A.value = "pointer", Gt.value = !1, Q.value = null;
1063
+ }
1064
+ function zr(e) {
1065
+ if (!e || !z.value) return;
1066
+ let t = z.value.getBoundingClientRect();
1067
+ cn.value = {
1068
+ x: t.left + e.x / V.value * t.width,
1069
+ y: t.top + e.y / H.value * t.height
1070
+ };
1071
+ }
1072
+ function Br(e, t) {
1073
+ let n = Lr(e, t);
1074
+ n && (on.value = e, sn.value = t, A.value = "keyboard", zr(n), ur({
1075
+ datapoint: n,
1076
+ seriesIndex: e,
1077
+ triggerMode: "keyboard"
1078
+ }));
1079
+ }
1080
+ function Vr() {
1081
+ ln.value = !0, on.value = null, sn.value = null;
1082
+ }
1083
+ function Hr() {
1084
+ ln.value = !1, Rr();
1085
+ }
1086
+ function Ur(e) {
1087
+ if (!z.value || xr.value || document.activeElement !== z.value || !Fr()) return;
1088
+ 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";
1089
+ if (!t && !n && !r && !i && !a && !o) return;
1090
+ if (e.preventDefault(), e.stopPropagation(), o) {
1091
+ Rr();
1092
+ return;
1093
+ }
1094
+ let s = on.value, c = sn.value;
1095
+ if (s === null || c === null) s = 0, c = 0;
1096
+ else if (t || n) {
1097
+ let e = Fr();
1098
+ s = n ? (s + 1) % e : (s - 1 + e) % e;
1099
+ let t = Ir(s);
1100
+ if (!t.length) return;
1101
+ c = Math.min(c, t.length - 1);
1102
+ } else if (r || i) {
1103
+ let e = Ir(s);
1104
+ if (!e.length) return;
1105
+ c = r ? (c + 1) % e.length : (c - 1 + e.length) % e.length;
1106
+ }
1107
+ if (a) {
1108
+ let e = Lr();
1109
+ if (!e) return;
1110
+ cr({
1111
+ datapoint: e,
1112
+ seriesIndex: on.value
1113
+ });
1114
+ return;
1115
+ }
1116
+ Br(s, c);
1117
+ }
1118
+ let Wr = d(() => ({
1119
+ headers: hr.value?.colNames ?? [],
1120
+ rows: hr.value?.body?.map((e) => e.map((e) => e && typeof e == "object" && "name" in e ? e.name : e)) ?? []
1121
+ }));
1122
+ return je({
1123
+ getData: _r,
1124
+ getImage: Cr,
1125
+ generatePdf: On,
1126
+ generateCsv: mr,
1127
+ generateImage: kn,
1128
+ generateSvg: Mr,
1129
+ toggleTable: vr,
1130
+ toggleLabels: yr,
1131
+ toggleTooltip: br,
1132
+ toggleAnnotator: Sr,
1133
+ toggleFullscreen: gr,
1134
+ copyAlt: Pr
1135
+ }), (e, n) => (x(), m("div", {
1136
+ ref_key: "stripPlotChart",
1137
+ ref: k,
1138
+ class: v(`vue-data-ui-component vue-ui-strip-plot ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1139
+ style: b(`font-family:${j.value.style.fontFamily};width:100%; text-align:center;background:${L.value.backgroundColor};${j.value.responsive ? "height:100%" : ""}`),
1140
+ id: `strip-plot_${Ut.value}`,
1141
+ onMouseenter: n[2] ||= () => E(_n)(!0),
1142
+ onMouseleave: n[3] ||= () => E(_n)(!1)
1143
+ }, [
1144
+ h("div", {
1145
+ id: `chart-instructions-${Ut.value}`,
1146
+ class: "sr-only"
1147
+ }, [h("p", null, T(j.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
1148
+ Wr.value?.rows?.length ? (x(), f(Fe, {
1149
+ key: 0,
1150
+ uid: Ut.value,
1151
+ head: Wr.value.headers,
1152
+ body: Wr.value.rows,
1153
+ notice: j.value.a11y.translations.tableAvailable,
1154
+ caption: j.value.a11y.translations.tableCaption
1155
+ }, null, 8, [
1156
+ "uid",
1157
+ "head",
1158
+ "body",
1159
+ "notice",
1160
+ "caption"
1161
+ ])) : p("", !0),
1162
+ M.value.buttons.annotator ? (x(), f(E(Pt), {
1163
+ key: 1,
1164
+ svgRef: E(z),
1165
+ backgroundColor: L.value.backgroundColor,
1166
+ color: L.value.color,
1167
+ active: xr.value,
1168
+ isCursorPointer: R.value,
1169
+ palette: M.value.annotatorPalette,
1170
+ onClose: Sr
1171
+ }, {
1172
+ "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1173
+ "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
1174
+ "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
1175
+ "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
1176
+ "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
1177
+ "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
1178
+ _: 3
1179
+ }, 8, [
1180
+ "svgRef",
1181
+ "backgroundColor",
1182
+ "color",
1183
+ "active",
1184
+ "isCursorPointer",
1185
+ "palette"
1186
+ ])) : p("", !0),
1187
+ An.value ? (x(), m("div", {
1188
+ key: 2,
1189
+ ref_key: "noTitle",
1190
+ ref: Yt,
1191
+ class: "vue-data-ui-no-title-space",
1192
+ style: "height:36px; width: 100%;background:transparent"
1193
+ }, null, 512)) : p("", !0),
1194
+ L.value.title.text ? (x(), m("div", {
1195
+ key: 3,
1196
+ ref_key: "chartTitle",
1197
+ ref: qt,
1198
+ style: "width:100%;background:transparent;padding-bottom:24px"
1199
+ }, [(x(), f(ke, {
1200
+ key: `title_${Zt.value}`,
1201
+ config: {
1202
+ title: {
1203
+ cy: "donut-div-title",
1204
+ ...L.value.title
1205
+ },
1206
+ subtitle: {
1207
+ cy: "donut-div-subtitle",
1208
+ ...L.value.title.subtitle
1209
+ }
1210
+ }
1211
+ }, null, 8, ["config"]))], 512)) : p("", !0),
1212
+ M.value.show && Ht.value && (E(vn) || E(gn)) ? (x(), f(E(Nt), {
1213
+ ref_key: "userOptionsRef",
1214
+ ref: en,
1215
+ key: `user_option_${Wt.value}`,
1216
+ backgroundColor: L.value.backgroundColor,
1217
+ color: L.value.color,
1218
+ isPrinting: E(En),
1219
+ isImaging: E(Dn),
1220
+ uid: Ut.value,
1221
+ hasTooltip: M.value.buttons.tooltip && N.value.show,
1222
+ hasPdf: M.value.buttons.pdf,
1223
+ hasXls: M.value.buttons.csv,
1224
+ hasImg: M.value.buttons.img,
1225
+ hasSvg: M.value.buttons.svg,
1226
+ hasTable: M.value.buttons.table,
1227
+ hasLabel: M.value.buttons.labels && j.value.type !== "violin",
1228
+ hasFullscreen: M.value.buttons.fullscreen,
1229
+ hasAltCopy: M.value.buttons.altCopy,
1230
+ isTooltip: U.value.showTooltip,
1231
+ isFullscreen: $.value,
1232
+ titles: { ...M.value.buttonTitles },
1233
+ chartElement: k.value,
1234
+ position: M.value.position,
1235
+ hasAnnotator: M.value.buttons.annotator,
1236
+ isAnnotation: xr.value,
1237
+ callbacks: M.value.callbacks,
1238
+ printScale: M.value.print.scale,
1239
+ tableDialog: j.value.table.useDialog,
1240
+ isCursorPointer: R.value,
1241
+ onToggleFullscreen: gr,
1242
+ onGeneratePdf: E(On),
1243
+ onGenerateCsv: mr,
1244
+ onGenerateImage: E(Nr),
1245
+ onGenerateSvg: E(Mr),
1246
+ onToggleTable: vr,
1247
+ onToggleLabels: yr,
1248
+ onToggleTooltip: br,
1249
+ onToggleAnnotator: Sr,
1250
+ onCopyAlt: Pr,
1251
+ style: b({ visibility: E(vn) ? E(gn) ? "visible" : "hidden" : "visible" })
1252
+ }, ze({ _: 2 }, [
1253
+ e.$slots.menuIcon ? {
1254
+ name: "menuIcon",
1255
+ fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
1256
+ isOpen: t,
1257
+ color: n
1258
+ })), void 0, !0)]),
1259
+ key: "0"
1260
+ } : void 0,
1261
+ e.$slots.optionTooltip ? {
1262
+ name: "optionTooltip",
1263
+ fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
1264
+ key: "1"
1265
+ } : void 0,
1266
+ e.$slots.optionPdf ? {
1267
+ name: "optionPdf",
1268
+ fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
1269
+ key: "2"
1270
+ } : void 0,
1271
+ e.$slots.optionCsv ? {
1272
+ name: "optionCsv",
1273
+ fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
1274
+ key: "3"
1275
+ } : void 0,
1276
+ e.$slots.optionImg ? {
1277
+ name: "optionImg",
1278
+ fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
1279
+ key: "4"
1280
+ } : void 0,
1281
+ e.$slots.optionSvg ? {
1282
+ name: "optionSvg",
1283
+ fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
1284
+ key: "5"
1285
+ } : void 0,
1286
+ e.$slots.optionTable ? {
1287
+ name: "optionTable",
1288
+ fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
1289
+ key: "6"
1290
+ } : void 0,
1291
+ e.$slots.optionLabels ? {
1292
+ name: "optionLabels",
1293
+ fn: D(() => [w(e.$slots, "optionLabels", {}, void 0, !0)]),
1294
+ key: "7"
1295
+ } : void 0,
1296
+ e.$slots.optionFullscreen ? {
1297
+ name: "optionFullscreen",
1298
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
1299
+ toggleFullscreen: t,
1300
+ isFullscreen: n
1301
+ })), void 0, !0)]),
1302
+ key: "8"
1303
+ } : void 0,
1304
+ e.$slots.optionAnnotator ? {
1305
+ name: "optionAnnotator",
1306
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
1307
+ toggleAnnotator: t,
1308
+ isAnnotator: n
1309
+ })), void 0, !0)]),
1310
+ key: "9"
1311
+ } : void 0,
1312
+ e.$slots.optionAltCopy ? {
1313
+ name: "optionAltCopy",
1314
+ fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
1315
+ key: "10"
1316
+ } : void 0,
1317
+ e.$slots["custom-menu-before"] ? {
1318
+ name: "custom-menu-before",
1319
+ fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1320
+ key: "11"
1321
+ } : void 0,
1322
+ e.$slots["custom-menu-after"] ? {
1323
+ name: "custom-menu-after",
1324
+ fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1325
+ key: "12"
1326
+ } : void 0
1327
+ ]), 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("."))) : p("", !0),
1328
+ h("div", et, [(x(), m("svg", {
1329
+ ref_key: "svgRef",
1330
+ ref: z,
1331
+ xmlns: E(ue),
1332
+ class: v({
1333
+ "vue-data-ui-fullscreen--on": $.value,
1334
+ "vue-data-ui-fulscreen--off": !$.value,
1335
+ "vue-data-ui-no-transition": !E(un)
1336
+ }),
1337
+ viewBox: `0 0 ${V.value} ${H.value}`,
1338
+ style: b(`max-width:100%; overflow: visible; background:transparent;color:${L.value.color};`),
1339
+ "aria-describedby": `chart-instructions-${Ut.value}`,
1340
+ tabindex: "0",
1341
+ onFocus: Vr,
1342
+ onBlur: Hr,
1343
+ onKeydown: Ur
1344
+ }, [
1345
+ Ve(E(Ft)),
1346
+ e.$slots["chart-background"] ? (x(), m("foreignObject", {
1347
+ key: 0,
1348
+ x: K.value.left,
1349
+ y: K.value.top,
1350
+ width: Math.max(.1, K.value.width),
1351
+ height: Math.max(.1, K.value.height),
1352
+ style: { pointerEvents: "none" }
1353
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : p("", !0),
1354
+ I.value.show ? (x(), m("g", rt, [
1355
+ I.value.horizontalGrid.show ? (x(), m("g", it, [(x(!0), m(u, null, C(ar.value, (e) => (x(), m("line", {
1356
+ x1: e.x1,
1357
+ x2: e.x2,
1358
+ y1: e.y,
1359
+ y2: e.y,
1360
+ stroke: I.value.horizontalGrid.stroke,
1361
+ "stroke-width": I.value.horizontalGrid.strokeWidth,
1362
+ "stroke-dasharray": I.value.horizontalGrid.strokeDasharray,
1363
+ "stroke-linecap": "round"
1364
+ }, null, 8, at))), 256))])) : p("", !0),
1365
+ I.value.verticalGrid.show ? (x(), m("g", ot, [(x(!0), m(u, null, C(q.value, (e, t) => (x(), m("line", {
1366
+ x1: K.value.left + (t + 1) * K.value.stripWidth,
1367
+ x2: K.value.left + (t + 1) * K.value.stripWidth,
1368
+ y1: K.value.top,
1369
+ y2: K.value.bottom,
1370
+ stroke: I.value.verticalGrid.stroke,
1371
+ "stroke-width": I.value.verticalGrid.strokeWidth,
1372
+ "stroke-dasharray": I.value.verticalGrid.strokeDasharray,
1373
+ "stroke-linecap": "round"
1374
+ }, null, 8, st))), 256))])) : p("", !0),
1375
+ h("line", {
1376
+ x1: K.value.left,
1377
+ x2: K.value.left,
1378
+ y1: K.value.top,
1379
+ y2: K.value.bottom,
1380
+ stroke: I.value.stroke,
1381
+ "stroke-width": I.value.strokeWidth,
1382
+ "stroke-linecap": "round"
1383
+ }, null, 8, ct),
1384
+ h("line", {
1385
+ x1: K.value.left,
1386
+ x2: K.value.right,
1387
+ y1: K.value.bottom,
1388
+ y2: K.value.bottom,
1389
+ stroke: I.value.stroke,
1390
+ "stroke-width": I.value.strokeWidth,
1391
+ "stroke-linecap": "round"
1392
+ }, null, 8, lt)
1393
+ ])) : p("", !0),
1394
+ P.value.yAxisLabels.show ? (x(), m("g", {
1395
+ key: 2,
1396
+ ref_key: "scaleLabels",
1397
+ ref: an
1398
+ }, [(x(!0), m(u, null, C(ar.value, (e, n) => (x(), m("text", {
1399
+ class: v({ "vue-data-ui-transition": E(un) }),
1400
+ key: `sl_${n}`,
1401
+ transform: `translate(${e.x1 + P.value.yAxisLabels.offsetX - 5}, ${e.y + P.value.yAxisLabels.fontSize / 3})`,
1402
+ fill: P.value.yAxisLabels.color,
1403
+ "font-size": P.value.yAxisLabels.fontSize,
1404
+ "text-anchor": "end"
1405
+ }, T(E(oe)(P.value.formatter, e.value, E(t)({
1406
+ p: P.value.prefix,
1407
+ v: e.value,
1408
+ s: P.value.suffix,
1409
+ r: P.value.yAxisLabels.rounding
1410
+ }), {
1411
+ datapoint: e,
1412
+ seriesIndex: n
1413
+ })), 11, ut))), 128))], 512)) : p("", !0),
1414
+ P.value.xAxisLabels.show ? (x(), m("g", {
1415
+ key: 3,
1416
+ ref_key: "timeLabelsEls",
1417
+ ref: rn
1418
+ }, [(x(!0), m(u, null, C(wr.value, (e, t) => (x(), m("g", null, [String(e).includes("\n") ? (x(), m("text", {
1419
+ key: 1,
1420
+ class: "vue-ui-strip-plot-category-name",
1421
+ transform: `translate(${K.value.left + (t + 1) * K.value.stripWidth - K.value.stripWidth / 2}, ${K.value.bottom + P.value.xAxisLabels.fontSize * 2 + P.value.xAxisLabels.offsetY}), rotate(${P.value.xAxisLabels.rotation})`,
1422
+ "font-size": P.value.xAxisLabels.fontSize,
1423
+ fill: P.value.xAxisLabels.color,
1424
+ "text-anchor": P.value.xAxisLabels.rotation > 0 ? "start" : P.value.xAxisLabels.rotation < 0 ? "end" : "middle",
1425
+ innerHTML: E(o)({
1426
+ content: E(te)(String(e)),
1427
+ fontSize: P.value.xAxisLabels.fontSize,
1428
+ fill: P.value.xAxisLabels.color,
1429
+ x: 0,
1430
+ y: 0
1431
+ })
1432
+ }, null, 8, ft)) : (x(), m("text", {
1433
+ key: 0,
1434
+ class: "vue-ui-strip-plot-category-name",
1435
+ transform: `translate(${K.value.left + (t + 1) * K.value.stripWidth - K.value.stripWidth / 2}, ${K.value.bottom + P.value.xAxisLabels.fontSize * 2 + P.value.xAxisLabels.offsetY}), rotate(${P.value.xAxisLabels.rotation})`,
1436
+ "font-size": P.value.xAxisLabels.fontSize,
1437
+ fill: P.value.xAxisLabels.color,
1438
+ "text-anchor": P.value.xAxisLabels.rotation > 0 ? "start" : P.value.xAxisLabels.rotation < 0 ? "end" : "middle"
1439
+ }, T(String(e)), 9, dt))]))), 256))], 512)) : p("", !0),
1440
+ P.value.axis.yLabel ? (x(), m("text", {
1441
+ key: 4,
1442
+ ref_key: "yAxisLabel",
1443
+ ref: nn,
1444
+ fill: P.value.axis.color,
1445
+ "font-size": P.value.axis.fontSize,
1446
+ transform: `translate(${P.value.axis.fontSize}, ${K.value.top + K.value.height / 2}) rotate(-90)`,
1447
+ "text-anchor": "middle"
1448
+ }, T(P.value.axis.yLabel), 9, pt)) : p("", !0),
1449
+ P.value.axis.xLabel ? (x(), m("text", {
1450
+ key: 5,
1451
+ ref_key: "xAxisLabel",
1452
+ ref: tn,
1453
+ fill: P.value.axis.color,
1454
+ "font-size": P.value.axis.fontSize,
1455
+ x: K.value.left + K.value.width / 2,
1456
+ y: H.value - P.value.axis.fontSize / 3,
1457
+ "text-anchor": "middle"
1458
+ }, T(P.value.axis.xLabel), 9, mt)) : p("", !0),
1459
+ Q.value ? (x(), m(u, { key: 6 }, [
1460
+ h("line", {
1461
+ x1: K.value.left,
1462
+ x2: K.value.right,
1463
+ y1: Q.value.y,
1464
+ y2: Q.value.y,
1465
+ stroke: Q.value.color,
1466
+ "stroke-width": 1,
1467
+ class: v({ "select-circle": j.value.useCssAnimation })
1468
+ }, null, 10, ht),
1469
+ h("circle", {
1470
+ cx: K.value.left,
1471
+ cy: Q.value.y,
1472
+ r: 3,
1473
+ fill: Q.value.color,
1474
+ class: v({ "select-circle": j.value.useCssAnimation })
1475
+ }, null, 10, gt),
1476
+ h("circle", {
1477
+ cx: K.value.right,
1478
+ cy: Q.value.y,
1479
+ r: 3,
1480
+ fill: Q.value.color,
1481
+ class: v({ "select-circle": j.value.useCssAnimation })
1482
+ }, null, 10, _t)
1483
+ ], 64)) : p("", !0),
1484
+ h("defs", null, [(x(!0), m(u, null, C(q.value, (e) => (x(), f(Pe, {
1485
+ t: "radial",
1486
+ id: e.id,
1487
+ key: `r_${e.id}`,
1488
+ fy: "30%",
1489
+ stops: [
1490
+ [
1491
+ "10%",
1492
+ E(i)(e.color, L.value.plots.gradient.intensity / 100),
1493
+ 1
1494
+ ],
1495
+ [
1496
+ "90%",
1497
+ E(s)(e.color, .1),
1498
+ 1
1499
+ ],
1500
+ [
1501
+ "100%",
1502
+ e.color,
1503
+ 1
1504
+ ]
1505
+ ]
1506
+ }, null, 8, ["id", "stops"]))), 128))]),
1507
+ (x(!0), m(u, null, C(Zn.value, (e, t) => (x(), m(u, { key: e.id }, [e.path ? (x(), m("path", {
1508
+ key: 0,
1509
+ d: e.path,
1510
+ fill: e.fill,
1511
+ stroke: e.color,
1512
+ "fill-opacity": F.value.opacity,
1513
+ "stroke-opacity": F.value.strokeOpacity,
1514
+ "stroke-width": F.value.strokeWidth,
1515
+ style: b({
1516
+ pointerEvents: X.value ? "auto" : "none",
1517
+ cursor: X.value && R.value ? "pointer" : "default"
1518
+ }),
1519
+ onMouseenter: (e) => X.value && qn.value[t] && fr({
1520
+ boxPlot: qn.value[t],
1521
+ seriesIndex: t,
1522
+ triggerMode: "pointer"
1523
+ }),
1524
+ onMouseleave: n[0] ||= (e) => X.value && dr()
1525
+ }, null, 44, vt)) : p("", !0), (x(!0), m(u, null, C(e.connectors, (t, n) => (x(), m("line", {
1526
+ key: `violin_connector_${e.id}_${n}`,
1527
+ x1: t.x,
1528
+ x2: t.x,
1529
+ y1: t.y1,
1530
+ y2: t.y2,
1531
+ stroke: e.color,
1532
+ "stroke-opacity": F.value.strokeOpacity,
1533
+ "stroke-width": F.value.strokeWidth,
1534
+ "stroke-linecap": "round",
1535
+ style: { "pointer-events": "none" }
1536
+ }, null, 8, yt))), 128))], 64))), 128)),
1537
+ (x(!0), m(u, null, C(qn.value, (e, t) => (x(), m("g", {
1538
+ key: `boxplot_${e.id}`,
1539
+ style: b({ cursor: R.value ? "pointer" : "default" }),
1540
+ onMouseenter: (n) => fr({
1541
+ boxPlot: e,
1542
+ seriesIndex: t,
1543
+ triggerMode: "pointer"
1544
+ }),
1545
+ onMouseleave: dr
1546
+ }, [
1547
+ h("line", {
1548
+ x1: e.centerX,
1549
+ x2: e.centerX,
1550
+ y1: e.upperY,
1551
+ y2: e.lowerY,
1552
+ stroke: E(s)(e.boxPlotColor, .2),
1553
+ "stroke-width": Math.max(1, F.value.strokeWidth),
1554
+ "stroke-linecap": "round"
1555
+ }, null, 8, xt),
1556
+ h("rect", {
1557
+ x: e.boxLeft,
1558
+ y: Math.min(e.q1Y, e.q3Y),
1559
+ width: e.boxWidth,
1560
+ height: Math.max(1, Math.abs(e.q3Y - e.q1Y)),
1561
+ fill: e.boxPlotColor,
1562
+ stroke: E(s)(e.boxPlotColor, .2),
1563
+ "stroke-width": Math.max(1, F.value.strokeWidth),
1564
+ rx: e.boxWidth / 20
1565
+ }, null, 8, St),
1566
+ h("circle", {
1567
+ cx: e.boxLeft + e.boxWidth / 2,
1568
+ cy: e.medianY,
1569
+ r: e.boxWidth / 3 * Math.min(1, F.value.boxPlot.medianCircleRadiusRatio),
1570
+ fill: F.value.boxPlot.medianCircleFill,
1571
+ stroke: E(s)(e.boxPlotColor, .2)
1572
+ }, null, 8, Ct)
1573
+ ], 44, bt))), 128)),
1574
+ (x(!0), m(u, null, C(Y.value, (n, r) => (x(), m(u, null, [X.value ? p("", !0) : (x(!0), m(u, { key: 0 }, C(n.plots, (t, r) => (x(), f(Ae, He({ ref_for: !0 }, e.$attrs, {
1575
+ plot: {
1576
+ x: t.x,
1577
+ y: Xt.value ? t.y : K.value.top
1578
+ },
1579
+ radius: Q.value && Q.value.id === t.id ? W.value * 1.5 : W.value,
1580
+ shape: L.value.plots.shape,
1581
+ stroke: L.value.plots.stroke,
1582
+ strokeWidth: L.value.plots.strokeWidth,
1583
+ color: L.value.plots.gradient.show ? `url(#${n.id})` : n.color,
1584
+ style: `transition: all 0.2s ease-in-out; opacity:${Q.value ? Q.value.id === t.id ? 1 : .2 : L.value.plots.opacity};${Mn.value ? `transition-delay:${r * 50}ms` : ""}`,
1585
+ class: {
1586
+ "vue-ui-strip-plot-animated": j.value.useCssAnimation && Mn.value && !E(pn),
1587
+ "vue-ui-strip-plot-select-circle": j.value.useCssAnimation && !Mn.value
1588
+ },
1589
+ onMouseenter: (e) => ur({
1590
+ datapoint: t,
1591
+ seriesIndex: r,
1592
+ triggerMode: "pointer"
1593
+ }),
1594
+ onMouseleave: (e) => sr({
1595
+ datapoint: t,
1596
+ seriesIndex: r
1597
+ }),
1598
+ onClick: (e) => cr({
1599
+ datapoint: t,
1600
+ seriesIndex: r
1601
+ })
1602
+ }), null, 16, [
1603
+ "plot",
1604
+ "radius",
1605
+ "shape",
1606
+ "stroke",
1607
+ "strokeWidth",
1608
+ "color",
1609
+ "style",
1610
+ "class",
1611
+ "onMouseenter",
1612
+ "onMouseleave",
1613
+ "onClick"
1614
+ ]))), 256)), U.value.dataLabels.show && !X.value ? (x(), m("g", wt, [(x(!0), m(u, null, C(n.plots, (e, r) => (x(), m(u, null, [r === n.plots.length - 1 || Q.value && Q.value.id === e.id && !U.value.showTooltip ? (x(), m("text", {
1615
+ key: 0,
1616
+ x: e.x,
1617
+ y: e.y + P.value.bestPlotLabel.offsetY - W.value * (Q.value && Q.value.id === e.id && !U.value.showTooltip ? 2 : 1.5),
1618
+ "font-size": P.value.bestPlotLabel.fontSize,
1619
+ fill: P.value.bestPlotLabel.color,
1620
+ "text-anchor": "middle",
1621
+ style: b(`opacity:${j.value.useCssAnimation ? +!Mn.value : 1};transition:opacity 0.2s ease-in;`)
1622
+ }, T(e.name) + " " + T(P.value.bestPlotLabel.showValue ? E(oe)(P.value.formatter, e.value, E(t)({
1623
+ p: `(${P.value.prefix}`,
1624
+ v: e.value,
1625
+ s: `${P.value.suffix})`,
1626
+ r: L.value.labels.bestPlotLabel.rounding
1627
+ }), {
1628
+ datapoint: e,
1629
+ seriesIndex: r
1630
+ }) : ""), 13, Tt)) : p("", !0)], 64))), 256))])) : p("", !0)], 64))), 256)),
1631
+ w(e.$slots, "svg", { svg: {
1632
+ ...K.value,
1633
+ isPrintingImg: E(En) || E(Dn) || E(Ar),
1634
+ isPrintingSvg: E(jr),
1635
+ boxPlotSummaries: qn.value,
1636
+ series: q.value
1637
+ } }, void 0, !0)
1638
+ ], 46, tt)), e.$slots.hint ? (x(), m("div", Et, [w(e.$slots, "hint", y(_({
1639
+ hint: j.value.a11y.translations.keyboardNavigation,
1640
+ isVisible: ln.value
1641
+ })), void 0, !0)])) : p("", !0)]),
1642
+ e.$slots.watermark ? (x(), m("div", Dt, [w(e.$slots, "watermark", y(_({ isPrinting: E(En) || E(Dn) || E(Ar) || E(jr) })), void 0, !0)])) : p("", !0),
1643
+ e.$slots.source ? (x(), m("div", {
1644
+ key: 6,
1645
+ ref_key: "source",
1646
+ ref: Jt,
1647
+ dir: "auto"
1648
+ }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1649
+ Ve(E(kt), {
1650
+ teleportTo: N.value.teleportTo,
1651
+ show: U.value.showTooltip && Gt.value,
1652
+ backgroundColor: N.value.backgroundColor,
1653
+ color: N.value.color,
1654
+ borderRadius: N.value.borderRadius,
1655
+ borderColor: N.value.borderColor,
1656
+ borderWidth: N.value.borderWidth,
1657
+ fontSize: N.value.fontSize,
1658
+ backgroundOpacity: N.value.backgroundOpacity,
1659
+ position: N.value.position,
1660
+ offsetX: N.value.offsetX,
1661
+ offsetY: N.value.offsetY,
1662
+ parent: k.value,
1663
+ content: Kt.value,
1664
+ isFullscreen: $.value,
1665
+ isCustom: E(r)(N.value.customFormat),
1666
+ smooth: N.value.smooth,
1667
+ backdropFilter: N.value.backdropFilter,
1668
+ smoothForce: N.value.smoothForce,
1669
+ smoothSnapThreshold: N.value.smoothSnapThreshold,
1670
+ isA11yMode: A.value === "keyboard",
1671
+ a11yPosition: cn.value
1672
+ }, {
1673
+ "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...or.value })), void 0, !0)]),
1674
+ tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...or.value })), void 0, !0)]),
1675
+ "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...or.value })), void 0, !0)]),
1676
+ _: 3
1677
+ }, 8, [
1678
+ "teleportTo",
1679
+ "show",
1680
+ "backgroundColor",
1681
+ "color",
1682
+ "borderRadius",
1683
+ "borderColor",
1684
+ "borderWidth",
1685
+ "fontSize",
1686
+ "backgroundOpacity",
1687
+ "position",
1688
+ "offsetX",
1689
+ "offsetY",
1690
+ "parent",
1691
+ "content",
1692
+ "isFullscreen",
1693
+ "isCustom",
1694
+ "smooth",
1695
+ "backdropFilter",
1696
+ "smoothForce",
1697
+ "smoothSnapThreshold",
1698
+ "isA11yMode",
1699
+ "a11yPosition"
1700
+ ]),
1701
+ Ht.value && M.value.buttons.table ? (x(), f(Ke(Er.value.component), He({ key: 7 }, Er.value.props, {
1702
+ ref_key: "tableUnit",
1703
+ ref: $t,
1704
+ onClose: Dr
1705
+ }), ze({
1706
+ content: D(() => [(x(), f(E(Mt), {
1707
+ key: `table_${Qt.value}`,
1708
+ colNames: hr.value.colNames,
1709
+ head: hr.value.head,
1710
+ body: hr.value.body,
1711
+ config: hr.value.config,
1712
+ title: j.value.table.useDialog ? "" : Er.value.title,
1713
+ withCloseButton: !j.value.table.useDialog,
1714
+ isCursorPointer: R.value,
1715
+ onClose: Dr
1716
+ }, {
1717
+ th: D(({ th: e }) => [h("div", Ot, T(e), 1)]),
1718
+ td: D(({ td: e }) => [Be(T(e.name || e), 1)]),
1719
+ _: 1
1720
+ }, 8, [
1721
+ "colNames",
1722
+ "head",
1723
+ "body",
1724
+ "config",
1725
+ "title",
1726
+ "withCloseButton",
1727
+ "isCursorPointer"
1728
+ ]))]),
1729
+ _: 2
1730
+ }, [j.value.table.useDialog ? {
1731
+ name: "title",
1732
+ fn: D(() => [Be(T(Er.value.title), 1)]),
1733
+ key: "0"
1734
+ } : void 0, j.value.table.useDialog ? {
1735
+ name: "actions",
1736
+ fn: D(() => [h("button", {
1737
+ tabindex: "0",
1738
+ class: "vue-ui-user-options-button",
1739
+ onClick: n[1] ||= (e) => mr(M.value.callbacks.csv),
1740
+ style: b({ cursor: R.value ? "pointer" : "default" })
1741
+ }, [Ve(E(At), {
1742
+ name: "fileCsv",
1743
+ stroke: Er.value.props.color
1744
+ }, null, 8, ["stroke"])], 4)]),
1745
+ key: "1"
1746
+ } : void 0]), 1040)) : p("", !0),
1747
+ w(e.$slots, "skeleton", {}, () => [E(pn) ? (x(), f(Se, { key: 0 })) : p("", !0)], !0)
1748
+ ], 46, Qe));
1749
+ }
1750
+ }, [["__scopeId", "data-v-e8da9344"]]);
1751
+ //#endregion
1752
+ export { Ze as n, kt as t };