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,1444 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { $ as t, $t as n, D as r, Dt as i, Ht as a, J as o, P as ee, S as te, U as ne, X as s, _ as re, at as ie, en as ae, et as oe, i as se, nn as ce, nt as le, pt as ue, t as de, tn as fe, w as pe, xt 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 "./BaseLegendToggle-CP3sddwv.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 "./Legend-CulFgjUY.js";
22
+ import { t as ze } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
23
+ import { Fragment as c, Teleport as Be, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as We, nextTick as Ge, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Ke, onMounted as qe, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as C, toRefs as Xe, unref as w, watch as Ze, watchEffect as Qe, withCtx as T } from "vue";
24
+ //#region src/components/vue-ui-parallel-coordinate-plot.vue
25
+ var $e = /* @__PURE__ */ e({ default: () => wt }), et = ["id"], tt = ["id"], nt = ["id"], rt = { style: { position: "relative" } }, it = [
26
+ "xmlns",
27
+ "aria-describedby",
28
+ "viewBox"
29
+ ], at = [
30
+ "x",
31
+ "y",
32
+ "width",
33
+ "height"
34
+ ], ot = { style: { "pointer-events": "none" } }, st = [
35
+ "x1",
36
+ "x2",
37
+ "y1",
38
+ "y2",
39
+ "stroke",
40
+ "stroke-width"
41
+ ], ct = [
42
+ "d",
43
+ "stroke",
44
+ "stroke-width"
45
+ ], lt = { key: 0 }, ut = [
46
+ "transform",
47
+ "fill",
48
+ "font-size",
49
+ "font-weight"
50
+ ], dt = [
51
+ "fill",
52
+ "font-size",
53
+ "font-weight",
54
+ "text-anchor",
55
+ "transform"
56
+ ], ft = [
57
+ "fill",
58
+ "font-size",
59
+ "font-weight",
60
+ "text-anchor",
61
+ "transform",
62
+ "innerHTML"
63
+ ], pt = { key: 0 }, mt = [
64
+ "x",
65
+ "y",
66
+ "font-size",
67
+ "fill"
68
+ ], ht = [
69
+ "width",
70
+ "x",
71
+ "y"
72
+ ], gt = { style: { width: "100%" } }, _t = [
73
+ "d",
74
+ "stroke",
75
+ "stroke-width",
76
+ "onMouseenter",
77
+ "onMouseleave",
78
+ "onClick"
79
+ ], vt = [
80
+ "d",
81
+ "onMouseenter",
82
+ "onMouseleave",
83
+ "onClick"
84
+ ], yt = [
85
+ "transform",
86
+ "fill",
87
+ "font-weight",
88
+ "font-size",
89
+ "stroke",
90
+ "onMouseenter",
91
+ "onMouseleave",
92
+ "onClick"
93
+ ], bt = {
94
+ key: 0,
95
+ style: {
96
+ position: "absolute",
97
+ top: "100%",
98
+ left: "0",
99
+ width: "100%"
100
+ },
101
+ "data-dom-to-png-ignore": "",
102
+ "aria-hidden": "true"
103
+ }, xt = {
104
+ key: 5,
105
+ class: "vue-data-ui-watermark"
106
+ }, St = ["id"], Ct = ["onClick"], wt = /*#__PURE__*/ je({
107
+ __name: "vue-ui-parallel-coordinate-plot",
108
+ props: {
109
+ config: {
110
+ type: Object,
111
+ default() {
112
+ return {};
113
+ }
114
+ },
115
+ dataset: {
116
+ type: Array,
117
+ default() {
118
+ return [];
119
+ }
120
+ }
121
+ },
122
+ emits: [
123
+ "selectLegend",
124
+ "selectDatapoint",
125
+ "copyAlt"
126
+ ],
127
+ setup(e, { expose: je, emit: $e }) {
128
+ let wt = m(() => import("./Tooltip-C4ZTwkLF.js")), Tt = m(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Et = m(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Dt = m(() => import("./DataTable-CjF_An2h.js")), Ot = m(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), kt = m(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), At = m(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), jt = m(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: Mt } = ye(), { isThemeValid: Nt, warnInvalidTheme: Pt } = we(), E = e, Ft = l({
129
+ get() {
130
+ return !!E.dataset && E.dataset.length;
131
+ },
132
+ set(e) {
133
+ return e;
134
+ }
135
+ }), It = b(0), D = b(null), Lt = b(null), Rt = b(null), zt = b(null), Bt = b(null), Vt = b(0), Ht = b(0), Ut = b(0), Wt = b(!1), Gt = b(null), Kt = b(null), qt = b(null), O = b(null), Jt = b({
136
+ x: 0,
137
+ y: 0
138
+ }), Yt = b("pointer"), Xt = b(!1), k = b(s()), A = b(!1);
139
+ function Zt(e) {
140
+ A.value = e, It.value += 1;
141
+ }
142
+ let j = b(on()), M = l(() => j.value.userOptions), N = l(() => j.value.style.chart.yAxis.labels), P = l(() => j.value.style.chart.tooltip), F = l(() => j.value.style.chart), { transitionEnabled: I } = Ee({
143
+ config: () => j.value.transitions,
144
+ dataset: () => E.dataset
145
+ });
146
+ _e({
147
+ config: () => j.value,
148
+ dataset: () => E.dataset,
149
+ component: "VueUiParallelCoordinatePlot",
150
+ rules: [
151
+ ve.emptyArray,
152
+ {
153
+ test: (e) => e.length > 10,
154
+ message: [
155
+ "👀 There are > 10 series. Consider:",
156
+ "",
157
+ "▶️ Using filters, to show less series at the same time and make the chart more readable."
158
+ ]
159
+ },
160
+ {
161
+ test: (e) => e.some((e) => (e?.series ?? []).some((e) => (e?.values ?? []).length > 15)),
162
+ message: [
163
+ "👀 There are > 15 axes, which can make the chart hard to read. Consider:",
164
+ "",
165
+ "▶️ Using filters, to allow users to select a maximum set of metrics."
166
+ ]
167
+ },
168
+ {
169
+ test: (e) => e.some((e) => e?.series?.length > 5),
170
+ message: [
171
+ "👀 Some series have > 5 datapoints. Consider:",
172
+ "",
173
+ "▶️ Using filters, to allow users to select a maximum set of metrics."
174
+ ]
175
+ }
176
+ ]
177
+ });
178
+ let L = l(() => j.value.userOptions.useCursorPointer), Qt = l(() => ce({
179
+ defaultConfig: {
180
+ useCssAnimation: !1,
181
+ userOptions: { show: !1 },
182
+ table: { show: !1 },
183
+ style: { chart: {
184
+ backgroundColor: "#99999930",
185
+ legend: {
186
+ show: !0,
187
+ backgroundColor: "transparent"
188
+ },
189
+ yAxis: {
190
+ stroke: "#6A6A6A",
191
+ labels: {
192
+ showAxisNames: !1,
193
+ axisNames: [],
194
+ ticks: { color: "#6A6A6A" }
195
+ }
196
+ }
197
+ } }
198
+ },
199
+ userConfig: j.value.skeletonConfig ?? {}
200
+ })), { loading: $t, FINAL_DATASET: en, manualLoading: tn } = xe({
201
+ ...Xe(E),
202
+ FINAL_CONFIG: j,
203
+ prepareConfig: on,
204
+ callback: () => {
205
+ Promise.resolve().then(async () => {
206
+ await Ge(), U.value.showTable = j.value.table.show;
207
+ });
208
+ },
209
+ skeletonDataset: E.config?.skeletonDataset ?? [
210
+ {
211
+ name: "",
212
+ shape: "circle",
213
+ color: "transparent",
214
+ series: [{
215
+ name: "",
216
+ values: [
217
+ 1,
218
+ 10,
219
+ 100,
220
+ 1e3
221
+ ]
222
+ }]
223
+ },
224
+ {
225
+ name: "",
226
+ shape: "circle",
227
+ color: "#CACACA",
228
+ series: [{
229
+ name: "",
230
+ values: [
231
+ .2,
232
+ 3,
233
+ 50,
234
+ 800
235
+ ]
236
+ }]
237
+ },
238
+ {
239
+ name: "",
240
+ shape: "circle",
241
+ color: "transparent",
242
+ series: [{
243
+ name: "",
244
+ values: [
245
+ 0,
246
+ 0,
247
+ 0,
248
+ 0
249
+ ]
250
+ }]
251
+ }
252
+ ],
253
+ skeletonConfig: ce({
254
+ defaultConfig: j.value,
255
+ userConfig: Qt.value
256
+ })
257
+ }), { userOptionsVisible: nn, setUserOptionsVisibility: rn, keepUserOptionState: an } = Ie({ config: j.value }), { svgRef: R } = Le({ config: F.value.title });
258
+ function on() {
259
+ let e = Ce({
260
+ userConfig: E.config,
261
+ defaultConfig: Mt
262
+ }), t = e.theme;
263
+ if (!t) return e;
264
+ if (!Nt.value(e)) return Pt(e), e;
265
+ let n = Ce({
266
+ userConfig: ze[t] || E.config,
267
+ defaultConfig: e
268
+ }), r = Ce({
269
+ userConfig: E.config,
270
+ defaultConfig: n
271
+ });
272
+ return {
273
+ ...r,
274
+ customPalette: r.customPalette.length ? r.customPalette : ae[t] || a
275
+ };
276
+ }
277
+ function sn(e) {
278
+ let t = oe(e);
279
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
280
+ }
281
+ let cn = sn(E.config);
282
+ Ze(() => E.config, (e, t) => {
283
+ let n = sn(e), r = n !== cn;
284
+ cn = n;
285
+ let i = on();
286
+ if (!r) {
287
+ j.value.style.chart.tooltip = i.style.chart.tooltip, U.value.showTooltip = j.value.style.chart.tooltip.show;
288
+ return;
289
+ }
290
+ $t.value || (j.value = i), nn.value = !j.value.userOptions.showOnChartHover, un(), Vt.value += 1, Ut.value += 1, Ht.value += 1, U.value.dataLabels.show = N.value.datapoints.show, U.value.showTable = j.value.table.show, U.value.showTooltip = P.value.show;
291
+ }, { deep: !0 }), Ze(() => E.dataset, (e) => {
292
+ Array.isArray(e) && e.length > 0 && (tn.value = !1);
293
+ }, { deep: !0 });
294
+ let z = Ye(null), B = Ye(null);
295
+ qe(() => {
296
+ Wt.value = !0, un();
297
+ });
298
+ let ln = l(() => j.value.debug);
299
+ function un() {
300
+ if (ge(E.dataset) ? (ie({
301
+ componentName: "VueUiParallelCoordinatePlot",
302
+ type: "dataset",
303
+ debug: ln.value
304
+ }), tn.value = !0) : E.dataset.forEach((e, t) => {
305
+ he({
306
+ datasetObject: e,
307
+ requiredAttributes: ["name", "series"]
308
+ }).forEach((e) => {
309
+ Ft.value = !1, ie({
310
+ componentName: "VueUiParallelCoordinatePlot",
311
+ type: "datasetSerieAttribute",
312
+ property: e,
313
+ index: t,
314
+ debug: ln.value
315
+ });
316
+ });
317
+ }), ge(E.dataset) || (tn.value = j.value.loading), j.value.responsive) {
318
+ let e = Me(() => {
319
+ let { width: e, height: t } = Ne({
320
+ chart: D.value,
321
+ title: F.value.title.text ? Lt.value : null,
322
+ legend: F.value.legend.show ? Rt.value : null,
323
+ source: zt.value,
324
+ noTitle: Bt.value
325
+ });
326
+ requestAnimationFrame(() => {
327
+ V.value.width = e, V.value.height = t - 12, j.value.responsiveProportionalSizing ? (V.value.plotSize = fe({
328
+ relator: Math.min(e, t),
329
+ adjuster: 600,
330
+ source: F.value.plots.radius,
331
+ threshold: 2,
332
+ fallback: 2
333
+ }), V.value.ticksFontSize = fe({
334
+ relator: Math.min(e, t),
335
+ adjuster: 600,
336
+ source: N.value.ticks.fontSize,
337
+ threshold: 10,
338
+ fallback: 10
339
+ }), V.value.datapointFontSize = fe({
340
+ relator: Math.min(e, t),
341
+ adjuster: 600,
342
+ source: N.value.datapoints.fontSize,
343
+ threshold: 10,
344
+ fallback: 10
345
+ }), V.value.axisNameFontSize = fe({
346
+ relator: Math.min(e, t),
347
+ adjuster: 600,
348
+ source: N.value.axisNamesFontSize,
349
+ threshold: 12,
350
+ fallback: 12
351
+ })) : (V.value.plotSize = F.value.plots.radius, V.value.ticksFontSize = N.value.ticks.fontSize, V.value.datapointFontSize = N.value.datapoints.fontSize, V.value.axisNameFontSize = N.value.axisNamesFontSize);
352
+ });
353
+ });
354
+ z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = D.value.parentNode, z.value.observe(B.value);
355
+ }
356
+ }
357
+ Ke(() => {
358
+ z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
359
+ });
360
+ let { isPrinting: dn, isImaging: fn, generatePdf: pn, generateImage: mn } = be({
361
+ elementId: `pcp_${k.value}`,
362
+ fileName: F.value.title.text || "vue-ui-parallel-coordinate-plot",
363
+ options: j.value.userOptions.print
364
+ }), hn = l(() => j.value.userOptions.show && !F.value.title.text), V = b({
365
+ height: F.value.height,
366
+ width: F.value.width,
367
+ plotSize: F.value.plots.radius,
368
+ ticksFontSize: N.value.ticks.fontSize,
369
+ datapointFontSize: N.value.datapoints.fontSize,
370
+ axisNameFontSize: N.value.axisNamesFontSize
371
+ }), gn = l(() => V.value.width), _n = l(() => V.value.height), vn = b(0), yn = Me((e) => {
372
+ vn.value = e;
373
+ }, 100);
374
+ Qe((e) => {
375
+ let t = qt.value;
376
+ if (!t) return;
377
+ let n = new ResizeObserver((e) => {
378
+ yn(e[0].contentRect.height);
379
+ });
380
+ n.observe(t), e(() => n.disconnect());
381
+ });
382
+ let H = l(() => {
383
+ let { top: e, right: t, bottom: n, left: r } = F.value.padding, i = _n.value, a = gn.value;
384
+ return {
385
+ chartHeight: Math.max(.001, i),
386
+ chartWidth: Math.max(.001, a),
387
+ height: Math.max(.001, i - e - n - vn.value - V.value.datapointFontSize * 2),
388
+ width: Math.max(.001, a - r - t),
389
+ top: e + vn.value + V.value.datapointFontSize,
390
+ left: r,
391
+ right: a - t,
392
+ bottom: i - n - V.value.datapointFontSize
393
+ };
394
+ }), bn = l(() => pe(j.value.customPalette)), U = b({
395
+ dataLabels: { show: N.value.datapoints.show },
396
+ showTable: j.value.table.show,
397
+ showTooltip: P.value.show
398
+ });
399
+ Ze(j, () => {
400
+ U.value = {
401
+ dataLabels: { show: N.value.datapoints.show },
402
+ showTable: j.value.table.show,
403
+ showTooltip: P.value.show
404
+ };
405
+ }, { immediate: !0 });
406
+ let W = b([]);
407
+ function xn() {
408
+ W.value.length ? W.value = [] : En.value.forEach((e) => {
409
+ W.value.push(e.id);
410
+ }), zn("selectLegend", kn.value);
411
+ }
412
+ function Sn(e) {
413
+ W.value.includes(e) ? W.value = W.value.filter((t) => t !== e) : W.value.push(e), zn("selectLegend", kn.value);
414
+ }
415
+ let G = l(() => en.value.map((e, t) => {
416
+ let n = te(e.color) || bn.value[t] || a[t] || a[t % a.length];
417
+ return {
418
+ ...e,
419
+ series: e.series.map((e) => ({
420
+ ...e,
421
+ id: s(),
422
+ color: n
423
+ })),
424
+ seriesIndex: t,
425
+ color: n,
426
+ id: s(),
427
+ shape: e.shape || "circle"
428
+ };
429
+ }));
430
+ function Cn(e) {
431
+ return G.value.length ? G.value.find((t) => t.name === e) || (ln.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (ln.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
432
+ }
433
+ function wn(e) {
434
+ let t = Cn(e);
435
+ t !== null && W.value.includes(t.id) && Sn(t.id);
436
+ }
437
+ function Tn(e) {
438
+ let t = Cn(e);
439
+ t !== null && (W.value.includes(t.id) || Sn(t.id));
440
+ }
441
+ let En = l(() => G.value.map((e) => ({
442
+ ...e,
443
+ opacity: W.value.includes(e.id) ? .5 : 1,
444
+ segregate: () => Sn(e.id),
445
+ isSegregated: W.value.includes(e.id),
446
+ shape: e.shape || "circle"
447
+ }))), Dn = l(() => ({
448
+ cy: "pcp-div-legend",
449
+ backgroundColor: F.value.legend.backgroundColor,
450
+ color: F.value.legend.color,
451
+ fontSize: F.value.legend.fontSize,
452
+ paddingBottom: 12,
453
+ fontWeight: F.value.legend.bold ? "bold" : ""
454
+ })), On = l(() => Math.max(...G.value.filter((e) => !W.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), K = l(() => H.value.width / On.value), kn = l(() => G.value.filter((e) => !W.value.includes(e.id))), q = l(() => {
455
+ let e = [];
456
+ for (let t = 0; t < On.value; t += 1) {
457
+ let n = Math.min(...kn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...kn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = r === n ? n / 4 : n, a = r === n ? r * 2 : r, o = re(i, a, F.value.yAxis.scaleTicks), ee = o.ticks.map((e, n) => {
458
+ let r = o.min < 0 ? e + Math.abs(o.min) : e - Math.abs(o.min), i = o.min < 0 ? o.max + Math.abs(o.min) : o.max - Math.abs(o.min);
459
+ return {
460
+ y: H.value.bottom - H.value.height * (r / i),
461
+ x: H.value.left + K.value * t + K.value / 2,
462
+ value: e
463
+ };
464
+ });
465
+ e.push({
466
+ scale: o,
467
+ ticks: ee,
468
+ name: N.value.axisNames[t] || `Y-${t + 1}`
469
+ });
470
+ }
471
+ return e;
472
+ }), J = l(() => kn.value.map((e, t) => ({
473
+ ...e,
474
+ series: e.series.map((n, r) => ({
475
+ ...n,
476
+ datapoints: n.values.map((i, a) => {
477
+ let o = q.value[a].scale.min < 0 ? (i || 0) + Math.abs(q.value[a].scale.min) : (i || 0) - Math.abs(q.value[a].scale.min), ee = q.value[a].scale.min < 0 ? q.value[a].scale.max + Math.abs(q.value[a].scale.min) : q.value[a].scale.max - Math.abs(q.value[a].scale.min);
478
+ return {
479
+ name: n.name,
480
+ seriesName: e.name,
481
+ axisIndex: a,
482
+ datapointIndex: r,
483
+ seriesIndex: t,
484
+ value: i || 0,
485
+ x: H.value.left + K.value * a + K.value / 2,
486
+ y: H.value.bottom - H.value.height * (o / ee),
487
+ comment: n.comments && n.comments[a] || ""
488
+ };
489
+ })
490
+ }))
491
+ })).map((e) => ({
492
+ ...e,
493
+ series: e.series.map((e) => {
494
+ let t = ne(e.datapoints), n = ee(e.datapoints, .12), r = me(F.value.lines.smooth ? `M ${n}` : `M ${t}`);
495
+ return {
496
+ ...e,
497
+ smoothPath: n,
498
+ straightPath: t,
499
+ pathLength: r
500
+ };
501
+ })
502
+ }))), Y = l(() => J.value.flatMap((e, t) => e.series.map((n, r) => ({
503
+ shape: e.shape,
504
+ serieName: e.name,
505
+ serie: n,
506
+ relativeIndex: r,
507
+ seriesIndex: n.seriesIndex,
508
+ S: t,
509
+ key: `${t}_${r}`
510
+ }))));
511
+ function An({ value: e, index: n, datapoint: r }) {
512
+ return se(N.value.formatters[n] || null, e, t({
513
+ p: N.value.prefixes[n] || "",
514
+ v: e,
515
+ s: N.value.suffixes[n] || "",
516
+ r: N.value.roundings[n] || 0
517
+ }), {
518
+ datapoint: r,
519
+ seriesIndex: n
520
+ });
521
+ }
522
+ let X = b(null), jn = b(null), Mn = b(!1), Nn = b("");
523
+ function Z({ shape: e, serie: t, S: n }) {
524
+ j.value.events.datapointLeave && j.value.events.datapointLeave({
525
+ datapoint: {
526
+ ...t,
527
+ shape: e
528
+ },
529
+ seriesIndex: n
530
+ });
531
+ let r = O.value === null ? null : Y.value[O.value];
532
+ Yt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, Mn.value = !1);
533
+ }
534
+ function Pn(e) {
535
+ if (!R.value || !e?.datapoints?.length) return;
536
+ let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
537
+ if (!t) return;
538
+ let r = n(t.x, t.y, R.value);
539
+ r && (Jt.value = r);
540
+ }
541
+ function Fn({ shape: e, serieName: n, serie: r, relativeIndex: a, seriesIndex: o, S: ee, triggerMode: te = "pointer" }) {
542
+ j.value.events.datapointEnter && j.value.events.datapointEnter({
543
+ datapoint: {
544
+ ...r,
545
+ shape: e
546
+ },
547
+ seriesIndex: ee
548
+ }), Yt.value = te, jn.value = {
549
+ config: j.value,
550
+ datapoint: r,
551
+ serie: r,
552
+ relativeIndex: a,
553
+ seriesIndex: o,
554
+ series: G.value,
555
+ scales: q.value
556
+ }, Mn.value = !0, X.value = r.id;
557
+ let ne = "", s = P.value.customFormat;
558
+ i(s) && ue(() => s({
559
+ serie: r,
560
+ seriesIndex: r.seriesIndex,
561
+ series: G.value,
562
+ config: j.value,
563
+ scales: q.value
564
+ })) ? Nn.value = s({
565
+ serie: r,
566
+ seriesIndex: r.seriesIndex,
567
+ series: G.value,
568
+ config: j.value,
569
+ scales: q.value
570
+ }) : (ne += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${n ? n + " - " : ""}${r.name}</div>`, q.value.map((e) => e.name).forEach((e, n) => {
571
+ ne += `
572
+ <div class="vue-ui-tooltip-item" style="text-align:left">
573
+ <span>${e}: </span>
574
+ <span>
575
+ ${se(N.value.formatters[n] || null, r.datapoints[n].value, t({
576
+ p: N.value.prefixes[n] || "",
577
+ v: r.datapoints[n].value,
578
+ s: N.value.suffixes[n] || "",
579
+ r: N.value.roundings[n] || ""
580
+ }), {
581
+ datapoint: r.datapoints[n],
582
+ seriesIndex: n
583
+ })}
584
+ </span>
585
+ </div>
586
+ `, F.value.comments.showInTooltip && r.datapoints[n].comment && (ne += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${r.datapoints[n].comment}</div>`);
587
+ }), Nn.value = `<div>${ne}</div>`), te === "keyboard" && Ge(() => {
588
+ Pn(r);
589
+ });
590
+ }
591
+ function In() {
592
+ return G.value;
593
+ }
594
+ let Q = l(() => {
595
+ let e = [j.value.table.columnNames.series, j.value.table.columnNames.item].concat(q.value.map((e) => e.name));
596
+ return {
597
+ body: J.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
598
+ head: e,
599
+ config: {
600
+ th: {
601
+ backgroundColor: j.value.table.th.backgroundColor,
602
+ color: j.value.table.th.color,
603
+ outline: j.value.table.th.outline
604
+ },
605
+ td: {
606
+ backgroundColor: j.value.table.td.backgroundColor,
607
+ color: j.value.table.td.color,
608
+ outline: j.value.table.td.outline
609
+ },
610
+ breakpoint: j.value.table.responsiveBreakpoint
611
+ },
612
+ colNames: [j.value.table.columnNames.series, j.value.table.columnNames.item].concat(q.value.map((e) => e.name))
613
+ };
614
+ }), Ln = l(() => J.value.length === 0 ? {
615
+ head: [],
616
+ body: [],
617
+ config: {},
618
+ columnNames: []
619
+ } : {
620
+ head: Q.value.head,
621
+ body: Q.value.body
622
+ });
623
+ function Rn(e = null) {
624
+ let t = [
625
+ [F.value.title.text],
626
+ [F.value.title.subtitle.text],
627
+ [""]
628
+ ], n = Ln.value.head, i = Ln.value.body, a = t.concat([n]).concat(i), o = r(a);
629
+ e ? e(o) : le({
630
+ csvContent: o,
631
+ title: F.value.title.text || "vue-ui-parallel-coordinate-plot"
632
+ });
633
+ }
634
+ let zn = $e;
635
+ function Bn({ serie: e, shape: t, S: n }) {
636
+ j.value.events.datapointClick && j.value.events.datapointClick({
637
+ datapoint: {
638
+ ...e,
639
+ shape: t
640
+ },
641
+ seriesIndex: n
642
+ }), zn("selectDatapoint", e);
643
+ }
644
+ function Vn() {
645
+ U.value.showTable = !U.value.showTable;
646
+ }
647
+ function Hn() {
648
+ U.value.dataLabels.show = !U.value.dataLabels.show;
649
+ }
650
+ function Un() {
651
+ U.value.showTooltip = !U.value.showTooltip;
652
+ }
653
+ let Wn = b(!1);
654
+ function Gn() {
655
+ Wn.value = !Wn.value;
656
+ }
657
+ async function Kn({ scale: e = 2 } = {}) {
658
+ if (!D.value) return;
659
+ let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Oe({
660
+ domElement: D.value,
661
+ base64: !0,
662
+ img: !0,
663
+ scale: e
664
+ });
665
+ return {
666
+ imageUri: i,
667
+ base64: a,
668
+ title: F.value.title.text,
669
+ width: t,
670
+ height: n,
671
+ aspectRatio: r
672
+ };
673
+ }
674
+ let qn = b({
675
+ start: 0,
676
+ end: 1
677
+ }), Jn = l(() => q.value.map((e) => e.name));
678
+ De({
679
+ timeLabelsEls: qt,
680
+ timeLabels: Jn,
681
+ slicer: qn,
682
+ configRef: j,
683
+ rotationPath: [
684
+ "style",
685
+ "chart",
686
+ "yAxis",
687
+ "labels",
688
+ "axisNamesRotation"
689
+ ],
690
+ autoRotatePath: [
691
+ "style",
692
+ "chart",
693
+ "yAxis",
694
+ "labels",
695
+ "axisNamesAutoRotate",
696
+ "enable"
697
+ ],
698
+ isAutoSize: !1,
699
+ width: gn,
700
+ height: _n,
701
+ targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
702
+ rotation: N.value.axisNamesAutoRotate.angle
703
+ });
704
+ let Yn = l(() => {
705
+ let e = j.value.table.useDialog && !j.value.table.show, t = U.value.showTable;
706
+ return {
707
+ component: e ? jt : Et,
708
+ title: `${F.value.title.text}${F.value.title.subtitle.text ? `: ${F.value.title.subtitle.text}` : ""}`,
709
+ props: e ? {
710
+ backgroundColor: j.value.table.th.backgroundColor,
711
+ color: j.value.table.th.color,
712
+ headerColor: j.value.table.th.color,
713
+ headerBg: j.value.table.th.backgroundColor,
714
+ isFullscreen: A.value,
715
+ fullscreenParent: D.value,
716
+ forcedWidth: Math.min(800, window.innerWidth * .8),
717
+ isCursorPointer: L.value
718
+ } : {
719
+ hideDetails: !0,
720
+ config: {
721
+ open: t,
722
+ maxHeight: 1e4,
723
+ body: {
724
+ backgroundColor: F.value.backgroundColor,
725
+ color: F.value.color
726
+ },
727
+ head: {
728
+ backgroundColor: F.value.backgroundColor,
729
+ color: F.value.color
730
+ }
731
+ }
732
+ }
733
+ };
734
+ });
735
+ Ze(() => U.value.showTable, (e) => {
736
+ j.value.table.show || (e && j.value.table.useDialog && Gt.value ? Gt.value.open() : "close" in Gt.value && Gt.value.close());
737
+ });
738
+ function Xn() {
739
+ U.value.showTable = !1, Kt.value && Kt.value.setTableIconState(!1);
740
+ }
741
+ let Zn = l(() => F.value.backgroundColor), Qn = l(() => F.value.legend), $n = l(() => F.value.title), { isCallbackImaging: er, isCallbackSvg: tr, generateSvg: nr, onGenerateImage: rr } = Te({
742
+ svg: R,
743
+ title: $n,
744
+ legend: Qn,
745
+ legendItems: En,
746
+ backgroundColor: Zn,
747
+ getSvgCallback: () => j.value.userOptions.callbacks.svg,
748
+ generateImage: mn
749
+ });
750
+ async function ir() {
751
+ if (zn("copyAlt", {
752
+ config: j.value,
753
+ dataset: J.value
754
+ }), !j.value.userOptions.callbacks.altCopy) {
755
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
756
+ return;
757
+ }
758
+ await Promise.resolve(j.value.userOptions.callbacks.altCopy({
759
+ config: j.value,
760
+ dataset: J.value
761
+ }));
762
+ }
763
+ function ar(e) {
764
+ let t = Y.value.length;
765
+ return t ? (e % t + t) % t : null;
766
+ }
767
+ function or() {
768
+ if (O.value !== null) {
769
+ let e = Y.value[O.value];
770
+ e && Z({
771
+ shape: e.shape,
772
+ serie: e.serie,
773
+ S: e.S
774
+ });
775
+ }
776
+ O.value = null, Yt.value = "pointer", X.value = null, Mn.value = !1;
777
+ }
778
+ function sr() {
779
+ O.value = null, Xt.value = !0;
780
+ }
781
+ function cr() {
782
+ or(), Xt.value = !1;
783
+ }
784
+ function lr(e) {
785
+ if (!R.value || Wn.value || document.activeElement !== R.value || !Y.value.length) return;
786
+ let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
787
+ if (!t && !n && !r && !i) return;
788
+ if (e.preventDefault(), e.stopPropagation(), i) {
789
+ or();
790
+ return;
791
+ }
792
+ if (r) {
793
+ if (O.value === null) return;
794
+ let e = Y.value[O.value];
795
+ if (!e) return;
796
+ Bn({
797
+ serie: e.serie,
798
+ shape: e.shape,
799
+ S: e.S
800
+ });
801
+ return;
802
+ }
803
+ let a = O.value;
804
+ a = a === null ? n ? 0 : Y.value.length - 1 : ar(a + (n ? 1 : -1));
805
+ let o = Y.value[a];
806
+ o && (O.value = a, Fn({
807
+ shape: o.shape,
808
+ serieName: o.serieName,
809
+ serie: o.serie,
810
+ relativeIndex: o.relativeIndex,
811
+ seriesIndex: o.seriesIndex,
812
+ S: o.S,
813
+ triggerMode: "keyboard"
814
+ }));
815
+ }
816
+ let $ = l(() => ({
817
+ head: Q.value.head,
818
+ body: Q.value.body.map((e) => [
819
+ e[0] ?? "",
820
+ e[1] ?? "",
821
+ ...e.slice(2)
822
+ ]),
823
+ caption: j.value.a11y.translations.tableCaption,
824
+ notice: j.value.a11y.translations.tableAvailable
825
+ }));
826
+ return je({
827
+ getData: In,
828
+ getImage: Kn,
829
+ generateCsv: Rn,
830
+ generatePdf: pn,
831
+ generateImage: mn,
832
+ generateSvg: nr,
833
+ hideSeries: Tn,
834
+ showSeries: wn,
835
+ toggleTable: Vn,
836
+ toggleLabels: Hn,
837
+ toggleTooltip: Un,
838
+ toggleAnnotator: Gn,
839
+ toggleFullscreen: Zt,
840
+ copyAlt: ir
841
+ }), (e, t) => (y(), f("div", {
842
+ ref_key: "pcpChart",
843
+ ref: D,
844
+ class: g(`vue-data-ui-component vue-ui-pcp ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
845
+ style: v(`font-family:${j.value.style.fontFamily};width:100%; text-align:center;background:${F.value.backgroundColor};${j.value.responsive ? "height:100%" : ""}`),
846
+ id: `pcp_${k.value}`,
847
+ onMouseenter: t[2] ||= () => w(rn)(!0),
848
+ onMouseleave: t[3] ||= () => w(rn)(!1)
849
+ }, [
850
+ p("div", {
851
+ id: `chart-instructions-${k.value}`,
852
+ class: "sr-only"
853
+ }, [p("p", null, C(j.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
854
+ $.value.body.length ? (y(), u(Fe, {
855
+ key: 0,
856
+ uid: k.value,
857
+ head: $.value.head,
858
+ body: $.value.body,
859
+ caption: $.value.caption,
860
+ notice: $.value.notice
861
+ }, null, 8, [
862
+ "uid",
863
+ "head",
864
+ "body",
865
+ "caption",
866
+ "notice"
867
+ ])) : d("", !0),
868
+ M.value.buttons.annotator ? (y(), u(w(Ot), {
869
+ key: 1,
870
+ svgRef: w(R),
871
+ backgroundColor: F.value.backgroundColor,
872
+ color: F.value.color,
873
+ active: Wn.value,
874
+ isCursorPointer: L.value,
875
+ palette: M.value.annotatorPalette,
876
+ onClose: Gn
877
+ }, {
878
+ "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
879
+ "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
880
+ "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
881
+ "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
882
+ "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
883
+ "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
884
+ _: 3
885
+ }, 8, [
886
+ "svgRef",
887
+ "backgroundColor",
888
+ "color",
889
+ "active",
890
+ "isCursorPointer",
891
+ "palette"
892
+ ])) : d("", !0),
893
+ hn.value ? (y(), f("div", {
894
+ key: 2,
895
+ ref_key: "noTitle",
896
+ ref: Bt,
897
+ class: "vue-data-ui-no-title-space",
898
+ style: "height:36px; width: 100%;background:transparent"
899
+ }, null, 512)) : d("", !0),
900
+ F.value.title.text ? (y(), f("div", {
901
+ key: 3,
902
+ ref_key: "chartTitle",
903
+ ref: Lt,
904
+ style: "width:100%;background:transparent;padding-bottom:24px"
905
+ }, [(y(), u(ke, {
906
+ key: `title_${Vt.value}`,
907
+ config: {
908
+ title: {
909
+ cy: "pcp-div-title",
910
+ ...F.value.title
911
+ },
912
+ subtitle: {
913
+ cy: "pcp-div-subtitle",
914
+ ...F.value.title.subtitle
915
+ }
916
+ }
917
+ }, null, 8, ["config"]))], 512)) : d("", !0),
918
+ p("div", { id: `legend-top-${k.value}` }, null, 8, nt),
919
+ M.value.show && Ft.value && (w(an) || w(nn)) ? (y(), u(w(kt), {
920
+ ref_key: "userOptionsRef",
921
+ ref: Kt,
922
+ key: `user_options_${It.value}`,
923
+ backgroundColor: F.value.backgroundColor,
924
+ color: F.value.color,
925
+ isPrinting: w(dn),
926
+ isImaging: w(fn),
927
+ uid: k.value,
928
+ hasTooltip: M.value.buttons.tooltip && P.value.show,
929
+ hasPdf: M.value.buttons.pdf,
930
+ hasXls: M.value.buttons.csv,
931
+ hasImg: M.value.buttons.img,
932
+ hasSvg: M.value.buttons.svg,
933
+ hasTable: M.value.buttons.table,
934
+ hasLabel: M.value.buttons.labels,
935
+ hasFullscreen: M.value.buttons.fullscreen,
936
+ hasAltCopy: M.value.buttons.altCopy,
937
+ isFullscreen: A.value,
938
+ isTooltip: U.value.showTooltip,
939
+ titles: { ...M.value.buttonTitles },
940
+ chartElement: D.value,
941
+ position: M.value.position,
942
+ hasAnnotator: M.value.buttons.annotator,
943
+ isAnnotation: Wn.value,
944
+ callbacks: M.value.callbacks,
945
+ printScale: M.value.print.scale,
946
+ tableDialog: j.value.table.useDialog,
947
+ isCursorPointer: L.value,
948
+ onToggleFullscreen: Zt,
949
+ onGeneratePdf: w(pn),
950
+ onGenerateCsv: Rn,
951
+ onGenerateImage: w(rr),
952
+ onGenerateSvg: w(nr),
953
+ onToggleTable: Vn,
954
+ onToggleLabels: Hn,
955
+ onToggleTooltip: Un,
956
+ onToggleAnnotator: Gn,
957
+ onCopyAlt: ir,
958
+ style: v({ visibility: w(an) ? w(nn) ? "visible" : "hidden" : "visible" })
959
+ }, Ve({ _: 2 }, [
960
+ e.$slots.menuIcon ? {
961
+ name: "menuIcon",
962
+ fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
963
+ isOpen: t,
964
+ color: n
965
+ })), void 0, !0)]),
966
+ key: "0"
967
+ } : void 0,
968
+ e.$slots.optionTooltip ? {
969
+ name: "optionTooltip",
970
+ fn: T(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
971
+ key: "1"
972
+ } : void 0,
973
+ e.$slots.optionPdf ? {
974
+ name: "optionPdf",
975
+ fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
976
+ key: "2"
977
+ } : void 0,
978
+ e.$slots.optionCsv ? {
979
+ name: "optionCsv",
980
+ fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
981
+ key: "3"
982
+ } : void 0,
983
+ e.$slots.optionImg ? {
984
+ name: "optionImg",
985
+ fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
986
+ key: "4"
987
+ } : void 0,
988
+ e.$slots.optionSvg ? {
989
+ name: "optionSvg",
990
+ fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
991
+ key: "5"
992
+ } : void 0,
993
+ e.$slots.optionTable ? {
994
+ name: "optionTable",
995
+ fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
996
+ key: "6"
997
+ } : void 0,
998
+ e.$slots.optionLabels ? {
999
+ name: "optionLabels",
1000
+ fn: T(() => [S(e.$slots, "optionLabels", {}, void 0, !0)]),
1001
+ key: "7"
1002
+ } : void 0,
1003
+ e.$slots.optionFullscreen ? {
1004
+ name: "optionFullscreen",
1005
+ fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(h({
1006
+ toggleFullscreen: t,
1007
+ isFullscreen: n
1008
+ })), void 0, !0)]),
1009
+ key: "8"
1010
+ } : void 0,
1011
+ e.$slots.optionAnnotator ? {
1012
+ name: "optionAnnotator",
1013
+ fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(h({
1014
+ toggleAnnotator: t,
1015
+ isAnnotator: n
1016
+ })), void 0, !0)]),
1017
+ key: "9"
1018
+ } : void 0,
1019
+ e.$slots.optionAltCopy ? {
1020
+ name: "optionAltCopy",
1021
+ fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
1022
+ key: "10"
1023
+ } : void 0,
1024
+ e.$slots["custom-menu-before"] ? {
1025
+ name: "custom-menu-before",
1026
+ fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1027
+ key: "11"
1028
+ } : void 0,
1029
+ e.$slots["custom-menu-after"] ? {
1030
+ name: "custom-menu-after",
1031
+ fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1032
+ key: "12"
1033
+ } : void 0
1034
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
1035
+ p("div", rt, [(y(), f("svg", {
1036
+ ref_key: "svgRef",
1037
+ ref: R,
1038
+ xmlns: w(de),
1039
+ "aria-describedby": `chart-instructions-${k.value}`,
1040
+ class: g({
1041
+ "vue-data-ui-fullscreen--on": A.value,
1042
+ "vue-data-ui-fulscreen--off": !A.value,
1043
+ "vue-data-ui-no-transition": !w(I)
1044
+ }),
1045
+ viewBox: `0 0 ${H.value.chartWidth <= 0 ? 10 : H.value.chartWidth} ${H.value.chartHeight <= 0 ? 10 : H.value.chartHeight}`,
1046
+ style: v(`max-width:100%; overflow: visible; background:transparent;color:${F.value.color}`),
1047
+ tabindex: "0",
1048
+ onFocus: sr,
1049
+ onBlur: cr,
1050
+ onKeydown: lr
1051
+ }, [
1052
+ Ue(w(At)),
1053
+ e.$slots["chart-background"] ? (y(), f("foreignObject", {
1054
+ key: 0,
1055
+ x: H.value.left,
1056
+ y: H.value.top,
1057
+ width: H.value.width,
1058
+ height: H.value.height,
1059
+ style: { pointerEvents: "none" }
1060
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, at)) : d("", !0),
1061
+ (y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", ot, [p("line", {
1062
+ x1: H.value.left + K.value * t + K.value / 2,
1063
+ x2: H.value.left + K.value * t + K.value / 2,
1064
+ y1: H.value.top,
1065
+ y2: H.value.bottom,
1066
+ stroke: F.value.yAxis.stroke,
1067
+ "stroke-width": F.value.yAxis.strokeWidth
1068
+ }, null, 8, st), N.value.ticks.show ? (y(), f(c, { key: 0 }, [(y(!0), f(c, null, x(e.ticks, (t, n) => (y(), f("path", {
1069
+ class: g({ "vue-data-ui-transition": w(I) }),
1070
+ key: `tick_${e.name}_${n}`,
1071
+ d: `M${t.x},${t.y} ${t.x - 10},${t.y}`,
1072
+ stroke: F.value.yAxis.stroke,
1073
+ "stroke-width": F.value.yAxis.strokeWidth,
1074
+ style: v(`opacity:${X.value && !U.value.showTooltip ? .2 : 1}`)
1075
+ }, null, 14, ct))), 128)), w($t) ? d("", !0) : (y(), f("g", lt, [(y(!0), f(c, null, x(e.ticks, (n, r) => (y(), f("text", {
1076
+ key: `tl_${e.name}_${r}`,
1077
+ class: g({ "vue-data-ui-transition": w(I) }),
1078
+ transform: `translate(${n.x - 12 + N.value.ticks.offsetX}, ${n.y + N.value.ticks.offsetY + V.value.ticksFontSize / 3})`,
1079
+ fill: N.value.ticks.color,
1080
+ "text-anchor": "end",
1081
+ "font-size": V.value.ticksFontSize,
1082
+ "font-weight": N.value.ticks.bold ? "bold" : "normal",
1083
+ style: v(`opacity:${X.value && !U.value.showTooltip ? .2 : 1}`)
1084
+ }, C(An({
1085
+ value: n.value,
1086
+ index: t,
1087
+ datapoint: n
1088
+ })), 15, ut))), 128))]))], 64)) : d("", !0)]))), 256)),
1089
+ N.value.showAxisNames ? (y(), f("g", {
1090
+ key: 1,
1091
+ ref_key: "xAxisLabels",
1092
+ ref: qt
1093
+ }, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
1094
+ key: 1,
1095
+ class: "vue-ui-parallel-coordinate-plot-x-label",
1096
+ fill: N.value.axisNamesColor,
1097
+ "font-size": V.value.axisNameFontSize,
1098
+ "font-weight": N.value.axisNamesBold ? "bold" : "",
1099
+ "text-anchor": N.value.axisNamesRotation === 0 ? "middle" : N.value.axisNamesRotation < 0 ? "start" : "end",
1100
+ transform: `translate(${H.value.left + K.value * t + K.value / 2}, ${vn.value - V.value.axisNameFontSize}), rotate(${N.value.axisNamesRotation})`,
1101
+ innerHTML: w(o)({
1102
+ content: String(e.name),
1103
+ fontSize: V.value.axisNameFontSize,
1104
+ fill: N.value.axisNamesColor,
1105
+ x: 0,
1106
+ y: 0
1107
+ })
1108
+ }, null, 8, ft)) : (y(), f("text", {
1109
+ key: 0,
1110
+ class: "vue-ui-parallel-coordinate-plot-x-label",
1111
+ fill: N.value.axisNamesColor,
1112
+ "font-size": V.value.axisNameFontSize,
1113
+ "font-weight": N.value.axisNamesBold ? "bold" : "",
1114
+ "text-anchor": N.value.axisNamesRotation === 0 ? "middle" : N.value.axisNamesRotation < 0 ? "start" : "end",
1115
+ transform: `translate(${H.value.left + K.value * t + K.value / 2}, ${vn.value - V.value.axisNameFontSize}), rotate(${N.value.axisNamesRotation})`
1116
+ }, C(e.name), 9, dt))], 64))), 256))], 512)) : d("", !0),
1117
+ (y(!0), f(c, null, x(J.value, (t, n) => (y(), f("g", null, [(y(!0), f(c, null, x(t.series, (r, i) => (y(), f("g", null, [
1118
+ F.value.plots.show ? (y(), f("g", pt, [
1119
+ (y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(Ae, {
1120
+ plot: {
1121
+ x: e.x,
1122
+ y: e.y
1123
+ },
1124
+ color: t.color,
1125
+ shape: t.shape,
1126
+ radius: t.shape === "triangle" ? V.value.plotSize * 1.2 : V.value.plotSize,
1127
+ stroke: F.value.backgroundColor,
1128
+ strokeWidth: .5,
1129
+ onMouseenter: (e) => Fn({
1130
+ shape: t.shape,
1131
+ serieName: t.name,
1132
+ serie: r,
1133
+ relativeIndex: i,
1134
+ seriesIndex: r.seriesIndex,
1135
+ S: n,
1136
+ triggerMode: "pointer"
1137
+ }),
1138
+ onMouseleave: (e) => Z({
1139
+ serie: r,
1140
+ shape: t.shape,
1141
+ S: n
1142
+ }),
1143
+ style: v(`opacity:${X.value ? X.value === r.id ? F.value.plots.opacity : .2 : F.value.plots.opacity}`),
1144
+ onClick: () => Bn({
1145
+ serie: r,
1146
+ shape: t.shape,
1147
+ S: n
1148
+ })
1149
+ }, null, 8, [
1150
+ "plot",
1151
+ "color",
1152
+ "shape",
1153
+ "radius",
1154
+ "stroke",
1155
+ "onMouseenter",
1156
+ "onMouseleave",
1157
+ "style",
1158
+ "onClick"
1159
+ ]))), 256)),
1160
+ U.value.showTooltip ? d("", !0) : (y(), f(c, { key: 0 }, [X.value && X.value === r.id && r.datapoints.length ? (y(), f("text", {
1161
+ key: 0,
1162
+ x: r.datapoints[0].x - V.value.ticksFontSize,
1163
+ y: r.datapoints[0].y + V.value.ticksFontSize / 3,
1164
+ "text-anchor": "end",
1165
+ "font-size": V.value.ticksFontSize,
1166
+ fill: t.color,
1167
+ "font-weight": "bold"
1168
+ }, C(r.name), 9, mt)) : d("", !0)], 64)),
1169
+ F.value.comments.show ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (n) => (y(), f("g", null, [n.comment ? (y(), f("foreignObject", {
1170
+ key: 0,
1171
+ style: { overflow: "visible" },
1172
+ height: "12",
1173
+ width: F.value.comments.width,
1174
+ x: n.x - F.value.comments.width / 2 + F.value.comments.offsetX,
1175
+ y: n.y + F.value.comments.offsetY + 6
1176
+ }, [p("div", gt, [S(e.$slots, "plot-comment", { plot: {
1177
+ ...n,
1178
+ color: t.color
1179
+ } }, void 0, !0)])], 8, ht)) : d("", !0)]))), 256)) : d("", !0)
1180
+ ])) : d("", !0),
1181
+ p("path", {
1182
+ d: `M${F.value.lines.smooth ? r.smoothPath : r.straightPath}`,
1183
+ stroke: t.color,
1184
+ "stroke-width": F.value.lines.strokeWidth,
1185
+ fill: "none",
1186
+ class: g({
1187
+ "vue-ui-pcp-animated vue-data-ui-line-animated": j.value.useCssAnimation,
1188
+ "vue-data-ui-transition": w(I)
1189
+ }),
1190
+ onMouseenter: (e) => Fn({
1191
+ shape: t.shape,
1192
+ serieName: t.name,
1193
+ serie: r,
1194
+ relativeIndex: i,
1195
+ seriesIndex: r.seriesIndex,
1196
+ S: n,
1197
+ triggerMode: "pointer"
1198
+ }),
1199
+ onMouseleave: (e) => Z({
1200
+ serie: r,
1201
+ shape: t.shape,
1202
+ S: n
1203
+ }),
1204
+ onClick: () => Bn({
1205
+ serie: r,
1206
+ shape: t.shape,
1207
+ S: n
1208
+ }),
1209
+ style: v(`opacity:${X.value ? X.value === r.id ? F.value.lines.opacity : .2 : F.value.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${j.value.useCssAnimation ? r.pathLength : 0}`)
1210
+ }, null, 46, _t),
1211
+ U.value.showTooltip ? (y(), f("path", {
1212
+ key: 1,
1213
+ d: `M${F.value.lines.smooth ? r.smoothPath : r.straightPath}`,
1214
+ stroke: "transparent",
1215
+ "stroke-width": 12,
1216
+ fill: "none",
1217
+ class: g({
1218
+ "vue-ui-pcp-animated vue-data-ui-line-animated": j.value.useCssAnimation,
1219
+ "vue-data-ui-transition": w(I)
1220
+ }),
1221
+ onMouseenter: (e) => Fn({
1222
+ shape: t.shape,
1223
+ serieName: t.name,
1224
+ serie: r,
1225
+ relativeIndex: i,
1226
+ seriesIndex: r.seriesIndex,
1227
+ S: n,
1228
+ triggerMode: "pointer"
1229
+ }),
1230
+ onMouseleave: (e) => Z({
1231
+ serie: r,
1232
+ shape: t.shape,
1233
+ S: n
1234
+ }),
1235
+ onClick: () => Bn({
1236
+ serie: r,
1237
+ shape: t.shape,
1238
+ S: n
1239
+ }),
1240
+ style: { opacity: "0" }
1241
+ }, null, 42, vt)) : d("", !0)
1242
+ ]))), 256))]))), 256)),
1243
+ (y(!0), f(c, null, x(J.value, (e, t) => (y(), f("g", null, [(y(!0), f(c, null, x(e.series, (n, r) => (y(), f("g", null, [!w($t) && (U.value.dataLabels.show || X.value && X.value === n.id) ? (y(!0), f(c, { key: 0 }, x(n.datapoints, (i, a) => (y(), f("text", {
1244
+ key: `pl_${n.id}_${a}`,
1245
+ transform: `translate(${i.x + 12 + N.value.datapoints.offsetX}, ${i.y + N.value.datapoints.offsetY + V.value.datapointFontSize / 3})`,
1246
+ fill: N.value.datapoints.useSerieColor ? e.color : N.value.datapoints.color,
1247
+ "text-anchor": "start",
1248
+ "font-weight": N.value.datapoints.bold ? "bold" : "normal",
1249
+ class: g({
1250
+ "vue-ui-pcp-plot-label": !0,
1251
+ "vue-data-ui-transition": w(I)
1252
+ }),
1253
+ "font-size": V.value.datapointFontSize,
1254
+ stroke: F.value.backgroundColor,
1255
+ "stroke-width": 3,
1256
+ "stroke-linecap": "round",
1257
+ "stroke-linejoin": "round",
1258
+ "paint-order": "stroke fill",
1259
+ onMouseenter: (i) => Fn({
1260
+ shape: e.shape,
1261
+ serieName: e.name,
1262
+ serie: n,
1263
+ relativeIndex: r,
1264
+ seriesIndex: n.seriesIndex,
1265
+ S: t,
1266
+ triggerMode: "pointer"
1267
+ }),
1268
+ onMouseleave: (r) => Z({
1269
+ serie: n,
1270
+ shape: e.shape,
1271
+ S: t
1272
+ }),
1273
+ onClick: () => Bn({
1274
+ serie: n,
1275
+ shape: e.shape,
1276
+ S: t
1277
+ }),
1278
+ style: v(`opacity:${X.value ? X.value === n.id ? 1 : .2 : 1}`)
1279
+ }, C(An({
1280
+ value: i.value,
1281
+ index: a,
1282
+ datapoint: i
1283
+ })), 47, yt))), 128)) : d("", !0)]))), 256))]))), 256)),
1284
+ S(e.$slots, "svg", { svg: {
1285
+ ...H.value,
1286
+ isPrintingImg: w(dn) || w(fn) || w(er),
1287
+ isPrintingSvg: w(tr)
1288
+ } }, void 0, !0)
1289
+ ], 46, it)), e.$slots.hint ? (y(), f("div", bt, [S(e.$slots, "hint", _(h({
1290
+ hint: j.value.a11y.translations.keyboardNavigation,
1291
+ isVisible: Xt.value
1292
+ })), void 0, !0)])) : d("", !0)]),
1293
+ e.$slots.watermark ? (y(), f("div", xt, [S(e.$slots, "watermark", _(h({ isPrinting: w(dn) || w(fn) || w(er) || w(tr) })), void 0, !0)])) : d("", !0),
1294
+ p("div", { id: `legend-bottom-${k.value}` }, null, 8, St),
1295
+ Wt.value && (F.value.legend.show || e.$slots.legend) ? (y(), u(Be, {
1296
+ key: 6,
1297
+ to: F.value.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1298
+ }, [p("div", {
1299
+ ref_key: "chartLegend",
1300
+ ref: Rt
1301
+ }, [S(e.$slots, "legend", { legend: En.value }, () => [F.value.legend.show && Ft.value ? (y(), u(Re, {
1302
+ key: `legend_${Ht.value}`,
1303
+ legendSet: En.value,
1304
+ config: Dn.value,
1305
+ isCursorPointer: L.value,
1306
+ onClickMarker: t[0] ||= ({ legend: e }) => {
1307
+ Sn(e.id);
1308
+ }
1309
+ }, {
1310
+ item: T(({ legend: e, index: t }) => [p("div", {
1311
+ onClick: (t) => e.segregate(),
1312
+ style: v(`opacity:${W.value.includes(e.id) ? .5 : 1}`)
1313
+ }, C(e.name), 13, Ct)]),
1314
+ legendToggle: T(() => [En.value.length > 2 && F.value.legend.selectAllToggle.show && !w($t) ? (y(), u(Pe, {
1315
+ key: 0,
1316
+ backgroundColor: F.value.legend.selectAllToggle.backgroundColor,
1317
+ color: F.value.legend.selectAllToggle.color,
1318
+ fontSize: F.value.legend.fontSize,
1319
+ checked: W.value.length > 0,
1320
+ isCursorPointer: L.value,
1321
+ onToggle: xn
1322
+ }, null, 8, [
1323
+ "backgroundColor",
1324
+ "color",
1325
+ "fontSize",
1326
+ "checked",
1327
+ "isCursorPointer"
1328
+ ])) : d("", !0)]),
1329
+ _: 1
1330
+ }, 8, [
1331
+ "legendSet",
1332
+ "config",
1333
+ "isCursorPointer"
1334
+ ])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
1335
+ e.$slots.source ? (y(), f("div", {
1336
+ key: 7,
1337
+ ref_key: "source",
1338
+ ref: zt,
1339
+ dir: "auto"
1340
+ }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1341
+ Ue(w(wt), {
1342
+ teleportTo: P.value.teleportTo,
1343
+ show: U.value.showTooltip && Mn.value,
1344
+ backgroundColor: P.value.backgroundColor,
1345
+ color: P.value.color,
1346
+ fontSize: P.value.fontSize,
1347
+ borderRadius: P.value.borderRadius,
1348
+ borderColor: P.value.borderColor,
1349
+ borderWidth: P.value.borderWidth,
1350
+ backgroundOpacity: P.value.backgroundOpacity,
1351
+ position: P.value.position,
1352
+ offsetX: P.value.offsetX,
1353
+ offsetY: P.value.offsetY,
1354
+ parent: D.value,
1355
+ content: Nn.value,
1356
+ isFullscreen: A.value,
1357
+ isCustom: w(i)(P.value.customFormat),
1358
+ smooth: P.value.smooth,
1359
+ backdropFilter: P.value.backdropFilter,
1360
+ smoothForce: P.value.smoothForce,
1361
+ smoothSnapThreshold: P.value.smoothSnapThreshold,
1362
+ isA11yMode: Yt.value === "keyboard",
1363
+ a11yPosition: Jt.value
1364
+ }, {
1365
+ "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...jn.value })), void 0, !0)]),
1366
+ tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...jn.value })), void 0, !0)]),
1367
+ "tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...jn.value })), void 0, !0)]),
1368
+ _: 3
1369
+ }, 8, [
1370
+ "teleportTo",
1371
+ "show",
1372
+ "backgroundColor",
1373
+ "color",
1374
+ "fontSize",
1375
+ "borderRadius",
1376
+ "borderColor",
1377
+ "borderWidth",
1378
+ "backgroundOpacity",
1379
+ "position",
1380
+ "offsetX",
1381
+ "offsetY",
1382
+ "parent",
1383
+ "content",
1384
+ "isFullscreen",
1385
+ "isCustom",
1386
+ "smooth",
1387
+ "backdropFilter",
1388
+ "smoothForce",
1389
+ "smoothSnapThreshold",
1390
+ "isA11yMode",
1391
+ "a11yPosition"
1392
+ ]),
1393
+ Ft.value && M.value.buttons.table ? (y(), u(Je(Yn.value.component), We({ key: 8 }, Yn.value.props, {
1394
+ ref_key: "tableUnit",
1395
+ ref: Gt,
1396
+ onClose: Xn
1397
+ }), Ve({
1398
+ content: T(() => [(y(), u(w(Dt), {
1399
+ key: `table_${Ut.value}`,
1400
+ colNames: Q.value.colNames,
1401
+ head: Q.value.head,
1402
+ body: Q.value.body,
1403
+ config: Q.value.config,
1404
+ title: j.value.table.useDialog ? "" : Yn.value.title,
1405
+ withCloseButton: !j.value.table.useDialog,
1406
+ isCursorPointer: L.value,
1407
+ onClose: Xn
1408
+ }, {
1409
+ th: T(({ th: e }) => [p("div", null, C(e), 1)]),
1410
+ td: T(({ td: e }) => [He(C(e), 1)]),
1411
+ _: 1
1412
+ }, 8, [
1413
+ "colNames",
1414
+ "head",
1415
+ "body",
1416
+ "config",
1417
+ "title",
1418
+ "withCloseButton",
1419
+ "isCursorPointer"
1420
+ ]))]),
1421
+ _: 2
1422
+ }, [j.value.table.useDialog ? {
1423
+ name: "title",
1424
+ fn: T(() => [He(C(Yn.value.title), 1)]),
1425
+ key: "0"
1426
+ } : void 0, j.value.table.useDialog ? {
1427
+ name: "actions",
1428
+ fn: T(() => [p("button", {
1429
+ tabindex: "0",
1430
+ class: "vue-ui-user-options-button",
1431
+ onClick: t[1] ||= (e) => Rn(M.value.callbacks.csv),
1432
+ style: v({ cursor: L.value ? "pointer" : "default" })
1433
+ }, [Ue(w(Tt), {
1434
+ name: "fileCsv",
1435
+ stroke: Yn.value.props.color
1436
+ }, null, 8, ["stroke"])], 4)]),
1437
+ key: "1"
1438
+ } : void 0]), 1040)) : d("", !0),
1439
+ S(e.$slots, "skeleton", {}, () => [w($t) ? (y(), u(Se, { key: 0 })) : d("", !0)], !0)
1440
+ ], 46, et));
1441
+ }
1442
+ }, [["__scopeId", "data-v-17b547b4"]]);
1443
+ //#endregion
1444
+ export { $e as n, wt as t };