vue-data-ui 3.5.2 → 3.7.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 (199) hide show
  1. package/README.md +36 -27
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ymf2sfB8.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-BmMbm4d0.js → BaseIcon-CofSxalQ.js} +6 -5
  5. package/dist/{ColorPicker-ChuwChMo.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-BT7VF2ua.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-G6GMcdAc.js → Legend-Web3GjlR.js} +10 -10
  8. package/dist/{NonSvgPenAndPaper-DVgKKLIf.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-Y7t79Jtq.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-SZQIAgkg.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-D2wm0coO.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-ij72TAs6.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-BzH_LEA3.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-CGnQt6Fd.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +5 -0
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +303 -9
  90. package/dist/types/vue-ui-stackline.d.ts +18 -0
  91. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  92. package/dist/{useNestedProp-CReNavA0.js → useNestedProp-CWo6bftQ.js} +535 -329
  93. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  94. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  95. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  96. package/dist/{vue-data-ui-BRaq4hRp.js → vue-data-ui-ByLTJx5V.js} +79 -77
  97. package/dist/vue-data-ui.js +226 -204
  98. package/dist/{vue-ui-3d-bar-BB4ii8Nt.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  99. package/dist/{vue-ui-accordion-BmFTVF1a.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  100. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  101. package/dist/{vue-ui-annotator-CcpaXBNK.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  102. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  103. package/dist/{vue-ui-candlestick-CMP7UL6z.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  104. package/dist/{vue-ui-carousel-table-CzOcKsDj.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  105. package/dist/{vue-ui-chestnut-S787oASt.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  106. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  107. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  108. package/dist/{vue-ui-cursor-C3yD_TUr.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  109. package/dist/{vue-ui-dashboard-BfEcVRxQ.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  110. package/dist/{vue-ui-digits-pRh179Gg.js → vue-ui-digits-D382I0-w.js} +2 -2
  111. package/dist/{vue-ui-donut-B_tEm4dT.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  112. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  113. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  114. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  115. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  116. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  117. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  118. package/dist/{vue-ui-gizmo-BQzQlUJ8.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  119. package/dist/{vue-ui-heatmap-C9MhHWpp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  120. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  121. package/dist/{vue-ui-kpi-jcrPjW4C.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  122. package/dist/{vue-ui-mini-loader-DTM98mRN.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  123. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  124. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  125. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  126. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  127. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  128. package/dist/{vue-ui-quadrant-CeM23s0z.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  129. package/dist/{vue-ui-quick-chart-C0RMQzjC.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  130. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  131. package/dist/{vue-ui-rating-tj97undO.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  132. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  133. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  134. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  135. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  136. package/dist/{vue-ui-skeleton-87TORm6s.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  137. package/dist/{vue-ui-smiley-B74geHT3.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  138. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  139. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  140. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  141. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  142. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  143. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  144. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  145. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  146. package/dist/{vue-ui-strip-plot-C1N2n39d.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  147. package/dist/{vue-ui-table-CcuoPHgI.js → vue-ui-table-DMM090pe.js} +5 -5
  148. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  149. package/dist/{vue-ui-table-sparkline-BAxmZRff.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  150. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  151. package/dist/{vue-ui-timer-BVsUQJz_.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  152. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  153. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  154. package/dist/{vue-ui-vertical-bar-B3gfBqD_.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  155. package/dist/{vue-ui-waffle-Bhlqo4xM.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  156. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  157. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  158. package/dist/{vue-ui-world-C8KVyDim.js → vue-ui-world-CVLlgp2f.js} +57 -57
  159. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  160. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  161. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  162. package/package.json +5 -5
  163. package/dist/themes-AUNCOb2G.js +0 -53
  164. package/dist/vue-ui-age-pyramid-8bUepd28.js +0 -933
  165. package/dist/vue-ui-bullet-BvT4scFv.js +0 -630
  166. package/dist/vue-ui-chord-Dl9Y4mcz.js +0 -1153
  167. package/dist/vue-ui-circle-pack-CU09BzOV.js +0 -803
  168. package/dist/vue-ui-donut-evolution-DiGhMwMO.js +0 -1208
  169. package/dist/vue-ui-dumbbell-BlF3CLbN.js +0 -1231
  170. package/dist/vue-ui-flow-BQi5L8mJ.js +0 -991
  171. package/dist/vue-ui-funnel-CM_6Sare.js +0 -716
  172. package/dist/vue-ui-galaxy-BnZA62Li.js +0 -808
  173. package/dist/vue-ui-gauge-DAk72bez.js +0 -835
  174. package/dist/vue-ui-history-plot-BYQh3E8U.js +0 -1204
  175. package/dist/vue-ui-molecule-Bd1OXvl3.js +0 -753
  176. package/dist/vue-ui-mood-radar-DuoiTsYn.js +0 -903
  177. package/dist/vue-ui-nested-donuts-BTswQFjz.js +0 -1419
  178. package/dist/vue-ui-onion-D-1U2Qgl.js +0 -915
  179. package/dist/vue-ui-parallel-coordinate-plot-D-7VFHas.js +0 -1051
  180. package/dist/vue-ui-radar-BSfxyur3.js +0 -984
  181. package/dist/vue-ui-relation-circle-C7uV2mIj.js +0 -641
  182. package/dist/vue-ui-ridgeline-CYMfTlwI.js +0 -1273
  183. package/dist/vue-ui-rings-C96aj57d.js +0 -855
  184. package/dist/vue-ui-scatter-CtvOXUnx.js +0 -1590
  185. package/dist/vue-ui-spark-trend-6_Ibziyv.js +0 -337
  186. package/dist/vue-ui-sparkbar-BDCocMLI.js +0 -352
  187. package/dist/vue-ui-sparkgauge-CQ4Zk9-f.js +0 -233
  188. package/dist/vue-ui-sparkhistogram-BlTV9wfn.js +0 -384
  189. package/dist/vue-ui-sparkline-DWESyiqL.js +0 -514
  190. package/dist/vue-ui-sparkstackbar-DK_7X8mL.js +0 -441
  191. package/dist/vue-ui-stackbar-BWuw8ff4.js +0 -1827
  192. package/dist/vue-ui-table-heatmap-C9EMEM3Z.js +0 -282
  193. package/dist/vue-ui-thermometer-CDrM-WFq.js +0 -584
  194. package/dist/vue-ui-tiremarks-BQH2pNkG.js +0 -450
  195. package/dist/vue-ui-treemap-6WLoCHsH.js +0 -1330
  196. package/dist/vue-ui-wheel-CqHw1WuW.js +0 -663
  197. package/dist/vue-ui-word-cloud-CKuWZGLv.js +0 -875
  198. package/dist/vue-ui-xy-Cz2qIEfi.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-y4h7gEFp.js +0 -1564
@@ -0,0 +1,1080 @@
1
+ import { defineAsyncComponent as L, computed as m, ref as d, toRefs as Vt, watch as ee, shallowRef as Ke, onMounted as Gt, onBeforeUnmount as Xt, watchEffect as Yt, createElementBlock as i, openBlock as n, unref as v, normalizeStyle as S, normalizeClass as X, createBlock as D, createCommentVNode as g, createElementVNode as I, createVNode as me, withCtx as h, renderSlot as p, normalizeProps as T, guardReactiveProps as z, createSlots as Qe, Fragment as w, renderList as P, toDisplayString as U, Teleport as qt, resolveDynamicComponent as Jt, mergeProps as Kt, createTextVNode as Ze, nextTick as Qt } from "vue";
2
+ import { c as be, t as Zt, i as ea, p as te, o as et, g as tt, k as ta, j as aa, l as oa, F as la, B as sa, z as na, ad as ra, X as ia, U as ua, x as at, Y as ae, u as ca, q as va, a as ot, d as lt, R as da } from "./lib-C5BH09_g.js";
3
+ import { t as st, u as ha } from "./useResponsive-DfdjqQps.js";
4
+ import { u as pa, a as ge } from "./useNestedProp-CWo6bftQ.js";
5
+ import { u as fa } from "./usePrinter-DCJzEiS8.js";
6
+ import { u as ma, B as ba } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as ga } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as ya } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as Ca } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as ka } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as xa } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import Aa from "./Title-DfFUb9hd.js";
13
+ import wa from "./Legend-Web3GjlR.js";
14
+ import { _ as $a } from "./Shape-DE6X_t31.js";
15
+ import Fa from "./img-DUzJeMlr.js";
16
+ import { _ as Ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const nt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, yAxis: { stroke: "#5A5A5A", labels: { axisNamesColor: "#CCCCCC", ticks: { color: "#CCCCCC" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, rt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, yAxis: { stroke: "#5D4037", labels: { axisNamesColor: "#424242", ticks: { color: "#424242" } } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, it = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, yAxis: { stroke: "#5D4037", labels: { axisNamesColor: "#BDBDBD", ticks: { color: "#BDBDBD" } } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66", borderRadius: 0 }, yAxis: { stroke: "#3A3A3A", labels: { axisNamesColor: "#99AA99", ticks: { color: "#5A5A5A" } } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, ct = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, yAxis: { stroke: "#8F837A", labels: { axisNamesColor: "#8F837A", ticks: { color: "#8F837A" } } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, vt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, yAxis: { stroke: "#50606C", labels: { axisNamesColor: "#50606C", ticks: { color: "#50606C" } } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, dt = {
18
+ default: {},
19
+ dark: nt,
20
+ celebration: rt,
21
+ celebrationNight: it,
22
+ hack: ut,
23
+ zen: ct,
24
+ concrete: vt
25
+ }, fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
+ __proto__: null,
27
+ celebration: rt,
28
+ celebrationNight: it,
29
+ concrete: vt,
30
+ dark: nt,
31
+ default: dt,
32
+ hack: ut,
33
+ zen: ct
34
+ }, Symbol.toStringTag, { value: "Module" })), za = ["id"], Na = ["id"], _a = ["xmlns", "viewBox"], Ma = ["x", "y", "width", "height"], Sa = { style: { "pointer-events": "none" } }, Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = { key: 0 }, Oa = ["x", "y", "fill", "font-size", "font-weight"], La = ["fill", "font-size", "font-weight", "text-anchor", "transform"], Ba = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], Ea = { key: 0 }, Ra = ["x", "y", "font-size", "fill"], Ua = ["width", "x", "y"], Ha = { style: { width: "100%" } }, Wa = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], ja = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Va = ["d", "onMouseenter", "onMouseleave", "onClick"], Ga = {
35
+ key: 4,
36
+ class: "vue-data-ui-watermark"
37
+ }, Xa = ["id"], Ya = ["onClick"], qa = ["innerHTML"], Ja = {
38
+ __name: "vue-ui-parallel-coordinate-plot",
39
+ props: {
40
+ config: {
41
+ type: Object,
42
+ default() {
43
+ return {};
44
+ }
45
+ },
46
+ dataset: {
47
+ type: Array,
48
+ default() {
49
+ return [];
50
+ }
51
+ }
52
+ },
53
+ emits: ["selectLegend", "selectDatapoint"],
54
+ setup(ht, { expose: pt, emit: ft }) {
55
+ const mt = L(() => import("./Tooltip-WD0Ros6G.js")), bt = L(() => import("./BaseIcon-CofSxalQ.js")), gt = L(() => import("./vue-ui-accordion-DSdZUn2C.js")), yt = L(() => import("./DataTable-CHaOCmsE.js")), Ct = L(() => import("./PenAndPaper-HCZQTkqi.js")), kt = L(() => import("./UserOptions-B3I-s3Lw.js")), xt = L(() => import("./PackageVersion-Bq_mtsqr.js")), At = L(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_parallel_coordinate_plot: wt } = pa(), { isThemeValid: $t, warnInvalidTheme: Ft } = ya(), $ = ht, Y = m({
56
+ get() {
57
+ return !!$.dataset && $.dataset.length;
58
+ },
59
+ set(t) {
60
+ return t;
61
+ }
62
+ }), ye = d(0), M = d(null), Ce = d(null), ke = d(null), xe = d(null), Ae = d(null), we = d(0), $e = d(0), Fe = d(0), Te = d(!1), j = d(null), oe = d(null), le = d(null), B = d(be()), E = d(!1);
63
+ function ze(t) {
64
+ E.value = t, ye.value += 1;
65
+ }
66
+ const e = d(ie()), { loading: R, FINAL_DATASET: Tt, manualLoading: se } = ma({
67
+ ...Vt($),
68
+ FINAL_CONFIG: e,
69
+ prepareConfig: ie,
70
+ callback: () => {
71
+ Promise.resolve().then(async () => {
72
+ await Qt(), b.value.showTable = e.value.table.show;
73
+ });
74
+ },
75
+ skeletonDataset: [
76
+ {
77
+ name: "",
78
+ shape: "circle",
79
+ color: "transparent",
80
+ series: [
81
+ {
82
+ name: "",
83
+ values: [1, 10, 100, 1e3]
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ name: "",
89
+ shape: "circle",
90
+ color: "#CACACA",
91
+ series: [
92
+ {
93
+ name: "",
94
+ values: [0.2, 3, 50, 800]
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ name: "",
100
+ shape: "circle",
101
+ color: "transparent",
102
+ series: [
103
+ {
104
+ name: "",
105
+ values: [0, 0, 0, 0]
106
+ }
107
+ ]
108
+ }
109
+ ],
110
+ skeletonConfig: Zt({
111
+ defaultConfig: e.value,
112
+ userConfig: {
113
+ useCssAnimation: !1,
114
+ userOptions: { show: !1 },
115
+ table: { show: !1 },
116
+ style: {
117
+ chart: {
118
+ backgroundColor: "#99999930",
119
+ legend: {
120
+ show: !0,
121
+ backgroundColor: "transparent"
122
+ },
123
+ yAxis: {
124
+ stroke: "#6A6A6A",
125
+ labels: {
126
+ showAxisNames: !1,
127
+ axisNames: [],
128
+ ticks: {
129
+ color: "#6A6A6A"
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ })
137
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: Ne, keepUserOptionState: _e } = Ca({ config: e.value }), { svgRef: re } = ka({ config: e.value.style.chart.title });
138
+ function ie() {
139
+ const t = ge({
140
+ userConfig: $.config,
141
+ defaultConfig: wt
142
+ }), o = t.theme;
143
+ if (!o) return t;
144
+ if (!$t.value(t))
145
+ return Ft(t), t;
146
+ const a = ge({
147
+ userConfig: dt[o] || $.config,
148
+ defaultConfig: t
149
+ }), s = ge({
150
+ userConfig: $.config,
151
+ defaultConfig: a
152
+ });
153
+ return {
154
+ ...s,
155
+ customPalette: s.customPalette.length ? s.customPalette : ea[o] || te
156
+ };
157
+ }
158
+ ee(() => $.config, (t) => {
159
+ R.value || (e.value = ie()), ne.value = !e.value.userOptions.showOnChartHover, Se(), we.value += 1, Fe.value += 1, $e.value += 1, b.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.chart.tooltip.show;
160
+ }, { deep: !0 }), ee(() => $.dataset, (t) => {
161
+ Array.isArray(t) && t.length > 0 && (se.value = !1);
162
+ }, { deep: !0 });
163
+ const O = Ke(null), H = Ke(null);
164
+ Gt(() => {
165
+ Te.value = !0, Se();
166
+ });
167
+ const Me = m(() => !!e.value.debug);
168
+ function Se() {
169
+ if (et($.dataset) ? (tt({
170
+ componentName: "VueUiParallelCoordinatePlot",
171
+ type: "dataset",
172
+ debug: Me.value
173
+ }), se.value = !0) : $.dataset.forEach((t, o) => {
174
+ ta({
175
+ datasetObject: t,
176
+ requiredAttributes: ["name", "series"]
177
+ }).forEach((a) => {
178
+ Y.value = !1, tt({
179
+ componentName: "VueUiParallelCoordinatePlot",
180
+ type: "datasetSerieAttribute",
181
+ property: a,
182
+ index: o,
183
+ debug: Me.value
184
+ });
185
+ });
186
+ }), et($.dataset) || (se.value = e.value.loading), e.value.responsive) {
187
+ const t = st(() => {
188
+ const { width: o, height: a } = ha({
189
+ chart: M.value,
190
+ title: e.value.style.chart.title.text ? Ce.value : null,
191
+ legend: e.value.style.chart.legend.show ? ke.value : null,
192
+ source: xe.value,
193
+ noTitle: Ae.value
194
+ });
195
+ requestAnimationFrame(() => {
196
+ c.value.width = o, c.value.height = a - 12, e.value.responsiveProportionalSizing ? (c.value.plotSize = ae({
197
+ relator: Math.min(o, a),
198
+ adjuster: 600,
199
+ source: e.value.style.chart.plots.radius,
200
+ threshold: 2,
201
+ fallback: 2
202
+ }), c.value.ticksFontSize = ae({
203
+ relator: Math.min(o, a),
204
+ adjuster: 600,
205
+ source: e.value.style.chart.yAxis.labels.ticks.fontSize,
206
+ threshold: 10,
207
+ fallback: 10
208
+ }), c.value.datapointFontSize = ae({
209
+ relator: Math.min(o, a),
210
+ adjuster: 600,
211
+ source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
212
+ threshold: 10,
213
+ fallback: 10
214
+ }), c.value.axisNameFontSize = ae({
215
+ relator: Math.min(o, a),
216
+ adjuster: 600,
217
+ source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
218
+ threshold: 12,
219
+ fallback: 12
220
+ })) : (c.value.plotSize = e.value.style.chart.plots.radius, c.value.ticksFontSize = e.value.style.chart.yAxis.labels.ticks.fontSize, c.value.datapointFontSize = e.value.style.chart.yAxis.labels.datapoints.fontSize, c.value.axisNameFontSize = e.value.style.chart.yAxis.labels.axisNamesFontSize);
221
+ });
222
+ });
223
+ O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect()), O.value = new ResizeObserver(t), H.value = M.value.parentNode, O.value.observe(H.value);
224
+ }
225
+ }
226
+ Xt(() => {
227
+ O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect());
228
+ });
229
+ const { isPrinting: De, isImaging: Ie, generatePdf: Pe, generateImage: Oe } = fa({
230
+ elementId: `pcp_${B.value}`,
231
+ fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
232
+ options: e.value.userOptions.print
233
+ }), zt = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), c = d({
234
+ height: e.value.style.chart.height,
235
+ width: e.value.style.chart.width,
236
+ plotSize: e.value.style.chart.plots.radius,
237
+ // ratio 100
238
+ ticksFontSize: e.value.style.chart.yAxis.labels.ticks.fontSize,
239
+ // ratio 42.85
240
+ datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
241
+ axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
242
+ }), Le = m(() => c.value.width), Be = m(() => c.value.height), V = d(0), Nt = st((t) => {
243
+ V.value = t;
244
+ }, 100);
245
+ Yt((t) => {
246
+ const o = le.value;
247
+ if (!o) return;
248
+ const a = new ResizeObserver((s) => {
249
+ Nt(s[0].contentRect.height);
250
+ });
251
+ a.observe(o), t(() => a.disconnect());
252
+ });
253
+ const f = m(() => {
254
+ const { top: t, right: o, bottom: a, left: s } = e.value.style.chart.padding, l = Be.value, u = Le.value;
255
+ return {
256
+ chartHeight: Math.max(1e-3, l),
257
+ chartWidth: Math.max(1e-3, u),
258
+ height: Math.max(1e-3, l - t - a - V.value - c.value.datapointFontSize * 2),
259
+ width: Math.max(1e-3, u - s - o),
260
+ top: t + V.value + c.value.datapointFontSize,
261
+ left: s,
262
+ right: u - o,
263
+ bottom: l - a - c.value.datapointFontSize
264
+ };
265
+ }), _t = m(() => aa(e.value.customPalette)), b = d({
266
+ dataLabels: {
267
+ show: e.value.style.chart.yAxis.labels.datapoints.show
268
+ },
269
+ showTable: e.value.table.show,
270
+ showTooltip: e.value.style.chart.tooltip.show
271
+ });
272
+ ee(e, () => {
273
+ b.value = {
274
+ dataLabels: {
275
+ show: e.value.style.chart.yAxis.labels.datapoints.show
276
+ },
277
+ showTable: e.value.table.show,
278
+ showTooltip: e.value.style.chart.tooltip.show
279
+ };
280
+ }, { immediate: !0 });
281
+ const F = d([]);
282
+ function q(t) {
283
+ F.value.includes(t) ? F.value = F.value.filter((o) => o !== t) : F.value.push(t);
284
+ }
285
+ const N = m(() => Tt.value.map((t, o) => {
286
+ const a = oa(t.color) || _t.value[o] || te[o] || te[o % te.length];
287
+ return {
288
+ ...t,
289
+ series: t.series.map((s) => ({
290
+ ...s,
291
+ id: be(),
292
+ color: a
293
+ })),
294
+ seriesIndex: o,
295
+ color: a,
296
+ id: be(),
297
+ shape: t.shape || "circle"
298
+ };
299
+ }));
300
+ function Ee(t) {
301
+ if (!N.value.length)
302
+ return e.value.debug && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null;
303
+ const o = N.value.find((a) => a.name === t);
304
+ return o || (e.value.debug && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${t}"`), null);
305
+ }
306
+ function Mt(t) {
307
+ const o = Ee(t);
308
+ o !== null && F.value.includes(o.id) && q(o.id);
309
+ }
310
+ function St(t) {
311
+ const o = Ee(t);
312
+ o !== null && (F.value.includes(o.id) || q(o.id));
313
+ }
314
+ const Re = m(() => N.value.map((t) => ({
315
+ ...t,
316
+ opacity: F.value.includes(t.id) ? 0.5 : 1,
317
+ segregate: () => q(t.id),
318
+ isSegregated: F.value.includes(t.id),
319
+ shape: "circle"
320
+ }))), Dt = m(() => ({
321
+ cy: "pcp-div-legend",
322
+ backgroundColor: e.value.style.chart.legend.backgroundColor,
323
+ color: e.value.style.chart.legend.color,
324
+ fontSize: e.value.style.chart.legend.fontSize,
325
+ paddingBottom: 12,
326
+ fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
327
+ })), Ue = m(() => Math.max(
328
+ ...N.value.filter((t) => !F.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((o) => o.values.length)))
329
+ )), A = m(() => f.value.width / Ue.value), ue = m(() => N.value.filter((t) => !F.value.includes(t.id))), y = m(() => {
330
+ let t = [];
331
+ for (let o = 0; o < Ue.value; o += 1) {
332
+ const a = Math.min(...ue.value.flatMap((C) => C.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ue.value.flatMap((C) => C.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, u = s === a ? s * 2 : s, r = la(l, u, e.value.style.chart.yAxis.scaleTicks), _ = r.ticks.map((C, k) => {
333
+ const Wt = r.min < 0 ? C + Math.abs(r.min) : C - Math.abs(r.min), jt = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
334
+ return {
335
+ y: f.value.bottom - f.value.height * (Wt / jt),
336
+ x: f.value.left + A.value * o + A.value / 2,
337
+ value: C
338
+ };
339
+ });
340
+ t.push({
341
+ scale: r,
342
+ ticks: _,
343
+ name: e.value.style.chart.yAxis.labels.axisNames[o] || `Y-${o + 1}`
344
+ });
345
+ }
346
+ return t;
347
+ }), ce = m(() => ue.value.map((t, o) => ({
348
+ ...t,
349
+ series: t.series.map((a, s) => ({
350
+ ...a,
351
+ datapoints: a.values.map((l, u) => {
352
+ const r = y.value[u].scale.min < 0 ? (l || 0) + Math.abs(y.value[u].scale.min) : (l || 0) - Math.abs(y.value[u].scale.min), _ = y.value[u].scale.min < 0 ? y.value[u].scale.max + Math.abs(y.value[u].scale.min) : y.value[u].scale.max - Math.abs(y.value[u].scale.min);
353
+ return {
354
+ name: a.name,
355
+ seriesName: t.name,
356
+ axisIndex: u,
357
+ datapointIndex: s,
358
+ seriesIndex: o,
359
+ value: l || 0,
360
+ x: f.value.left + A.value * u + A.value / 2,
361
+ y: f.value.bottom - f.value.height * (r / _),
362
+ comment: a.comments && a.comments[u] || ""
363
+ };
364
+ })
365
+ }))
366
+ })).map((t) => ({
367
+ ...t,
368
+ series: t.series.map((o) => {
369
+ const a = sa(o.datapoints), s = na(o.datapoints), l = ra(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`);
370
+ return {
371
+ ...o,
372
+ smoothPath: s,
373
+ straightPath: a,
374
+ pathLength: l
375
+ };
376
+ })
377
+ })));
378
+ function He({ value: t, index: o, datapoint: a }) {
379
+ return ot(
380
+ e.value.style.chart.yAxis.labels.formatters[o] || null,
381
+ t,
382
+ lt({
383
+ p: e.value.style.chart.yAxis.labels.prefixes[o] || "",
384
+ v: t,
385
+ s: e.value.style.chart.yAxis.labels.suffixes[o] || "",
386
+ r: e.value.style.chart.yAxis.labels.roundings[o] || 0
387
+ }),
388
+ { datapoint: a, seriesIndex: o }
389
+ );
390
+ }
391
+ const x = d(null), ve = d(null), de = d(!1), he = d("");
392
+ function J({ shape: t, serie: o, S: a }) {
393
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...o, shape: t }, seriesIndex: a }), x.value = null, de.value = null;
394
+ }
395
+ function K({ shape: t, serieName: o, serie: a, relativeIndex: s, seriesIndex: l, S: u }) {
396
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: u }), ve.value = { serie: a, relativeIndex: s, seriesIndex: l, series: N.value, scales: y.value }, de.value = !0, x.value = a.id;
397
+ let r = "";
398
+ const _ = e.value.style.chart.tooltip.customFormat;
399
+ at(_) && da(() => _({
400
+ serie: a,
401
+ seriesIndex: a.seriesIndex,
402
+ series: N.value,
403
+ config: e.value,
404
+ scales: y.value
405
+ })) ? he.value = _({
406
+ serie: a,
407
+ seriesIndex: a.seriesIndex,
408
+ series: N.value,
409
+ config: e.value,
410
+ scales: y.value
411
+ }) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o ? o + " - " : ""}${a.name}</div>`, y.value.map((C) => C.name).forEach((C, k) => {
412
+ r += `
413
+ <div class="vue-ui-tooltip-item" style="text-align:left">
414
+ <span>${C}: </span>
415
+ <span>
416
+ ${ot(
417
+ e.value.style.chart.yAxis.labels.formatters[k] || null,
418
+ a.datapoints[k].value,
419
+ lt({
420
+ p: e.value.style.chart.yAxis.labels.prefixes[k] || "",
421
+ v: a.datapoints[k].value,
422
+ s: e.value.style.chart.yAxis.labels.suffixes[k] || "",
423
+ r: e.value.style.chart.yAxis.labels.roundings[k] || ""
424
+ }),
425
+ { datapoint: a.datapoints[k], seriesIndex: k }
426
+ )}
427
+ </span>
428
+ </div>
429
+ `, e.value.style.chart.comments.showInTooltip && a.datapoints[k].comment && (r += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[k].comment}</div>`);
430
+ }), he.value = `<div>${r}</div>`);
431
+ }
432
+ function It() {
433
+ return N.value;
434
+ }
435
+ const W = m(() => {
436
+ const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(y.value.map((l) => l.name)), o = ce.value.flatMap((l, u) => l.series.map((r) => [l.name].concat([r.name]).concat(r.values))), a = {
437
+ th: {
438
+ backgroundColor: e.value.table.th.backgroundColor,
439
+ color: e.value.table.th.color,
440
+ outline: e.value.table.th.outline
441
+ },
442
+ td: {
443
+ backgroundColor: e.value.table.td.backgroundColor,
444
+ color: e.value.table.td.color,
445
+ outline: e.value.table.td.outline
446
+ },
447
+ breakpoint: e.value.table.responsiveBreakpoint
448
+ }, s = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(y.value.map((l) => l.name));
449
+ return {
450
+ body: o,
451
+ head: t,
452
+ config: a,
453
+ colNames: s
454
+ };
455
+ }), We = m(() => ce.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
456
+ head: W.value.head,
457
+ body: W.value.body
458
+ });
459
+ function pe(t = null) {
460
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = We.value.head, s = We.value.body, l = o.concat([a]).concat(s), u = ca(l);
461
+ t ? t(u) : va({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
462
+ }
463
+ const je = ft;
464
+ function Q({ serie: t, shape: o, S: a }) {
465
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, shape: o }, seriesIndex: a }), je("selectDatapoint", t);
466
+ }
467
+ function Ve(t) {
468
+ je("selectLegend", {
469
+ ...t,
470
+ isSegregated: !t.isSegregated,
471
+ opacity: t.isSegregated ? 1 : 0.5
472
+ });
473
+ }
474
+ function Ge() {
475
+ b.value.showTable = !b.value.showTable;
476
+ }
477
+ function Xe() {
478
+ b.value.dataLabels.show = !b.value.dataLabels.show;
479
+ }
480
+ function Ye() {
481
+ b.value.showTooltip = !b.value.showTooltip;
482
+ }
483
+ const Z = d(!1);
484
+ function fe() {
485
+ Z.value = !Z.value;
486
+ }
487
+ async function Pt({ scale: t = 2 } = {}) {
488
+ if (!M.value) return;
489
+ const { width: o, height: a } = M.value.getBoundingClientRect(), s = o / a, { imageUri: l, base64: u } = await Fa({ domElement: M.value, base64: !0, img: !0, scale: t });
490
+ return {
491
+ imageUri: l,
492
+ base64: u,
493
+ title: e.value.style.chart.title.text,
494
+ width: o,
495
+ height: a,
496
+ aspectRatio: s
497
+ };
498
+ }
499
+ const Ot = d({ start: 0, end: 1 }), Lt = m(() => y.value.map((t) => t.name));
500
+ xa({
501
+ timeLabelsEls: le,
502
+ timeLabels: Lt,
503
+ slicer: Ot,
504
+ configRef: e,
505
+ rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
506
+ autoRotatePath: ["style", "chart", "yAxis", "labels", "axisNamesAutoRotate", "enable"],
507
+ isAutoSize: !1,
508
+ width: Le,
509
+ height: Be,
510
+ targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
511
+ rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
512
+ });
513
+ const G = m(() => {
514
+ const t = e.value.table.useDialog && !e.value.table.show, o = b.value.showTable;
515
+ return {
516
+ component: t ? At : gt,
517
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
518
+ props: t ? {
519
+ backgroundColor: e.value.table.th.backgroundColor,
520
+ color: e.value.table.th.color,
521
+ headerColor: e.value.table.th.color,
522
+ headerBg: e.value.table.th.backgroundColor,
523
+ isFullscreen: E.value,
524
+ fullscreenParent: M.value,
525
+ forcedWidth: Math.min(800, window.innerWidth * 0.8)
526
+ } : {
527
+ hideDetails: !0,
528
+ config: {
529
+ open: o,
530
+ maxHeight: 1e4,
531
+ body: {
532
+ backgroundColor: e.value.style.chart.backgroundColor,
533
+ color: e.value.style.chart.color
534
+ },
535
+ head: {
536
+ backgroundColor: e.value.style.chart.backgroundColor,
537
+ color: e.value.style.chart.color
538
+ }
539
+ }
540
+ }
541
+ };
542
+ });
543
+ ee(() => b.value.showTable, (t) => {
544
+ e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
545
+ });
546
+ function qe() {
547
+ b.value.showTable = !1, oe.value && oe.value.setTableIconState(!1);
548
+ }
549
+ const Bt = m(() => e.value.style.chart.backgroundColor), Et = m(() => e.value.style.chart.legend), Rt = m(() => e.value.style.chart.title), { exportSvg: Ut, getSvg: Ht } = ga({
550
+ svg: re,
551
+ title: Rt,
552
+ legend: Et,
553
+ legendItems: Re,
554
+ backgroundColor: Bt
555
+ });
556
+ async function Je({ isCb: t }) {
557
+ if (t) {
558
+ const { blob: o, url: a, text: s, dataUrl: l } = await Ht();
559
+ e.value.userOptions.callbacks.svg({ blob: o, url: a, text: s, dataUrl: l });
560
+ } else
561
+ Ut();
562
+ }
563
+ return pt({
564
+ getData: It,
565
+ getImage: Pt,
566
+ generateCsv: pe,
567
+ generatePdf: Pe,
568
+ generateImage: Oe,
569
+ generateSvg: Je,
570
+ hideSeries: St,
571
+ showSeries: Mt,
572
+ toggleTable: Ge,
573
+ toggleLabels: Xe,
574
+ toggleTooltip: Ye,
575
+ toggleAnnotator: fe,
576
+ toggleFullscreen: ze
577
+ }), (t, o) => (n(), i("div", {
578
+ ref_key: "pcpChart",
579
+ ref: M,
580
+ class: X(`vue-data-ui-component vue-ui-pcp ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
581
+ style: S(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
582
+ id: `pcp_${B.value}`,
583
+ onMouseenter: o[2] || (o[2] = () => v(Ne)(!0)),
584
+ onMouseleave: o[3] || (o[3] = () => v(Ne)(!1))
585
+ }, [
586
+ e.value.userOptions.buttons.annotator ? (n(), D(v(Ct), {
587
+ key: 0,
588
+ svgRef: v(re),
589
+ backgroundColor: e.value.style.chart.backgroundColor,
590
+ color: e.value.style.chart.color,
591
+ active: Z.value,
592
+ onClose: fe
593
+ }, {
594
+ "annotator-action-close": h(() => [
595
+ p(t.$slots, "annotator-action-close", {}, void 0, !0)
596
+ ]),
597
+ "annotator-action-color": h(({ color: a }) => [
598
+ p(t.$slots, "annotator-action-color", T(z({ color: a })), void 0, !0)
599
+ ]),
600
+ "annotator-action-draw": h(({ mode: a }) => [
601
+ p(t.$slots, "annotator-action-draw", T(z({ mode: a })), void 0, !0)
602
+ ]),
603
+ "annotator-action-undo": h(({ disabled: a }) => [
604
+ p(t.$slots, "annotator-action-undo", T(z({ disabled: a })), void 0, !0)
605
+ ]),
606
+ "annotator-action-redo": h(({ disabled: a }) => [
607
+ p(t.$slots, "annotator-action-redo", T(z({ disabled: a })), void 0, !0)
608
+ ]),
609
+ "annotator-action-delete": h(({ disabled: a }) => [
610
+ p(t.$slots, "annotator-action-delete", T(z({ disabled: a })), void 0, !0)
611
+ ]),
612
+ _: 3
613
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
614
+ zt.value ? (n(), i("div", {
615
+ key: 1,
616
+ ref_key: "noTitle",
617
+ ref: Ae,
618
+ class: "vue-data-ui-no-title-space",
619
+ style: "height:36px; width: 100%;background:transparent"
620
+ }, null, 512)) : g("", !0),
621
+ e.value.style.chart.title.text ? (n(), i("div", {
622
+ key: 2,
623
+ ref_key: "chartTitle",
624
+ ref: Ce,
625
+ style: "width:100%;background:transparent;padding-bottom:24px"
626
+ }, [
627
+ (n(), D(Aa, {
628
+ key: `title_${we.value}`,
629
+ config: {
630
+ title: {
631
+ cy: "pcp-div-title",
632
+ ...e.value.style.chart.title
633
+ },
634
+ subtitle: {
635
+ cy: "pcp-div-subtitle",
636
+ ...e.value.style.chart.title.subtitle
637
+ }
638
+ }
639
+ }, null, 8, ["config"]))
640
+ ], 512)) : g("", !0),
641
+ I("div", {
642
+ id: `legend-top-${B.value}`
643
+ }, null, 8, Na),
644
+ e.value.userOptions.show && Y.value && (v(_e) || v(ne)) ? (n(), D(v(kt), {
645
+ ref_key: "userOptionsRef",
646
+ ref: oe,
647
+ key: `user_options_${ye.value}`,
648
+ backgroundColor: e.value.style.chart.backgroundColor,
649
+ color: e.value.style.chart.color,
650
+ isPrinting: v(De),
651
+ isImaging: v(Ie),
652
+ uid: B.value,
653
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
654
+ hasPdf: e.value.userOptions.buttons.pdf,
655
+ hasXls: e.value.userOptions.buttons.csv,
656
+ hasImg: e.value.userOptions.buttons.img,
657
+ hasSvg: e.value.userOptions.buttons.svg,
658
+ hasTable: e.value.userOptions.buttons.table,
659
+ hasLabel: e.value.userOptions.buttons.labels,
660
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
661
+ isFullscreen: E.value,
662
+ isTooltip: b.value.showTooltip,
663
+ titles: { ...e.value.userOptions.buttonTitles },
664
+ chartElement: M.value,
665
+ position: e.value.userOptions.position,
666
+ hasAnnotator: e.value.userOptions.buttons.annotator,
667
+ isAnnotation: Z.value,
668
+ callbacks: e.value.userOptions.callbacks,
669
+ printScale: e.value.userOptions.print.scale,
670
+ tableDialog: e.value.table.useDialog,
671
+ onToggleFullscreen: ze,
672
+ onGeneratePdf: v(Pe),
673
+ onGenerateCsv: pe,
674
+ onGenerateImage: v(Oe),
675
+ onGenerateSvg: Je,
676
+ onToggleTable: Ge,
677
+ onToggleLabels: Xe,
678
+ onToggleTooltip: Ye,
679
+ onToggleAnnotator: fe,
680
+ style: S({
681
+ visibility: v(_e) ? v(ne) ? "visible" : "hidden" : "visible"
682
+ })
683
+ }, Qe({ _: 2 }, [
684
+ t.$slots.menuIcon ? {
685
+ name: "menuIcon",
686
+ fn: h(({ isOpen: a, color: s }) => [
687
+ p(t.$slots, "menuIcon", T(z({ isOpen: a, color: s })), void 0, !0)
688
+ ]),
689
+ key: "0"
690
+ } : void 0,
691
+ t.$slots.optionPdf ? {
692
+ name: "optionPdf",
693
+ fn: h(() => [
694
+ p(t.$slots, "optionPdf", {}, void 0, !0)
695
+ ]),
696
+ key: "1"
697
+ } : void 0,
698
+ t.$slots.optionCsv ? {
699
+ name: "optionCsv",
700
+ fn: h(() => [
701
+ p(t.$slots, "optionCsv", {}, void 0, !0)
702
+ ]),
703
+ key: "2"
704
+ } : void 0,
705
+ t.$slots.optionImg ? {
706
+ name: "optionImg",
707
+ fn: h(() => [
708
+ p(t.$slots, "optionImg", {}, void 0, !0)
709
+ ]),
710
+ key: "3"
711
+ } : void 0,
712
+ t.$slots.optionSvg ? {
713
+ name: "optionSvg",
714
+ fn: h(() => [
715
+ p(t.$slots, "optionSvg", {}, void 0, !0)
716
+ ]),
717
+ key: "4"
718
+ } : void 0,
719
+ t.$slots.optionTable ? {
720
+ name: "optionTable",
721
+ fn: h(() => [
722
+ p(t.$slots, "optionTable", {}, void 0, !0)
723
+ ]),
724
+ key: "5"
725
+ } : void 0,
726
+ t.$slots.optionLabels ? {
727
+ name: "optionLabels",
728
+ fn: h(() => [
729
+ p(t.$slots, "optionLabels", {}, void 0, !0)
730
+ ]),
731
+ key: "6"
732
+ } : void 0,
733
+ t.$slots.optionFullscreen ? {
734
+ name: "optionFullscreen",
735
+ fn: h(({ toggleFullscreen: a, isFullscreen: s }) => [
736
+ p(t.$slots, "optionFullscreen", T(z({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
737
+ ]),
738
+ key: "7"
739
+ } : void 0,
740
+ t.$slots.optionAnnotator ? {
741
+ name: "optionAnnotator",
742
+ fn: h(({ toggleAnnotator: a, isAnnotator: s }) => [
743
+ p(t.$slots, "optionAnnotator", T(z({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
744
+ ]),
745
+ key: "8"
746
+ } : void 0
747
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
748
+ (n(), i("svg", {
749
+ ref_key: "svgRef",
750
+ ref: re,
751
+ xmlns: v(ia),
752
+ class: X({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
753
+ viewBox: `0 0 ${f.value.chartWidth <= 0 ? 10 : f.value.chartWidth} ${f.value.chartHeight <= 0 ? 10 : f.value.chartHeight}`,
754
+ style: S(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
755
+ }, [
756
+ me(v(xt)),
757
+ t.$slots["chart-background"] ? (n(), i("foreignObject", {
758
+ key: 0,
759
+ x: f.value.left,
760
+ y: f.value.top,
761
+ width: f.value.width,
762
+ height: f.value.height,
763
+ style: {
764
+ pointerEvents: "none"
765
+ }
766
+ }, [
767
+ p(t.$slots, "chart-background", {}, void 0, !0)
768
+ ], 8, Ma)) : g("", !0),
769
+ (n(!0), i(w, null, P(y.value, (a, s) => (n(), i("g", Sa, [
770
+ I("line", {
771
+ x1: f.value.left + A.value * s + A.value / 2,
772
+ x2: f.value.left + A.value * s + A.value / 2,
773
+ y1: f.value.top,
774
+ y2: f.value.bottom,
775
+ stroke: e.value.style.chart.yAxis.stroke,
776
+ "stroke-width": e.value.style.chart.yAxis.strokeWidth
777
+ }, null, 8, Da),
778
+ e.value.style.chart.yAxis.labels.ticks.show ? (n(), i(w, { key: 0 }, [
779
+ (n(!0), i(w, null, P(a.ticks, (l) => (n(), i("line", {
780
+ x1: l.x,
781
+ x2: l.x - 10,
782
+ y1: l.y,
783
+ y2: l.y,
784
+ stroke: e.value.style.chart.yAxis.stroke,
785
+ "stroke-width": e.value.style.chart.yAxis.strokeWidth,
786
+ style: S(`opacity:${x.value && !b.value.showTooltip ? 0.2 : 1}`)
787
+ }, null, 12, Ia))), 256)),
788
+ v(R) ? g("", !0) : (n(), i("g", Pa, [
789
+ (n(!0), i(w, null, P(a.ticks, (l) => (n(), i("text", {
790
+ x: l.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
791
+ y: l.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
792
+ fill: e.value.style.chart.yAxis.labels.ticks.color,
793
+ "text-anchor": "end",
794
+ "font-size": c.value.ticksFontSize,
795
+ "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
796
+ style: S(`opacity:${x.value && !b.value.showTooltip ? 0.2 : 1}`)
797
+ }, U(He({ value: l.value, index: s, datapoint: l })), 13, Oa))), 256))
798
+ ]))
799
+ ], 64)) : g("", !0)
800
+ ]))), 256)),
801
+ e.value.style.chart.yAxis.labels.showAxisNames ? (n(), i("g", {
802
+ key: 1,
803
+ ref_key: "xAxisLabels",
804
+ ref: le
805
+ }, [
806
+ (n(!0), i(w, null, P(y.value, (a, s) => (n(), i(w, null, [
807
+ String(a.name).includes(`
808
+ `) ? (n(), i("text", {
809
+ key: 1,
810
+ class: "vue-ui-parallel-coordinate-plot-x-label",
811
+ fill: e.value.style.chart.yAxis.labels.axisNamesColor,
812
+ "font-size": c.value.axisNameFontSize,
813
+ "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
814
+ "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
815
+ transform: `translate(${f.value.left + A.value * s + A.value / 2}, ${V.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
816
+ innerHTML: v(ua)({
817
+ content: String(a.name),
818
+ fontSize: c.value.axisNameFontSize,
819
+ fill: e.value.style.chart.yAxis.labels.axisNamesColor,
820
+ x: 0,
821
+ y: 0
822
+ })
823
+ }, null, 8, Ba)) : (n(), i("text", {
824
+ key: 0,
825
+ class: "vue-ui-parallel-coordinate-plot-x-label",
826
+ fill: e.value.style.chart.yAxis.labels.axisNamesColor,
827
+ "font-size": c.value.axisNameFontSize,
828
+ "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
829
+ "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
830
+ transform: `translate(${f.value.left + A.value * s + A.value / 2}, ${V.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
831
+ }, U(a.name), 9, La))
832
+ ], 64))), 256))
833
+ ], 512)) : g("", !0),
834
+ (n(!0), i(w, null, P(ce.value, (a, s) => (n(), i("g", null, [
835
+ (n(!0), i(w, null, P(a.series, (l, u) => (n(), i("g", null, [
836
+ e.value.style.chart.plots.show ? (n(), i("g", Ea, [
837
+ (n(!0), i(w, null, P(l.datapoints, (r, _) => (n(), D($a, {
838
+ plot: { x: r.x, y: r.y },
839
+ color: a.color,
840
+ shape: a.shape,
841
+ radius: a.shape === "triangle" ? c.value.plotSize * 1.2 : c.value.plotSize,
842
+ stroke: e.value.style.chart.backgroundColor,
843
+ strokeWidth: 0.5,
844
+ onMouseenter: (C) => K({
845
+ shape: a.shape,
846
+ serieName: a.name,
847
+ serie: l,
848
+ relativeIndex: u,
849
+ seriesIndex: l.seriesIndex,
850
+ S: s
851
+ }),
852
+ onMouseleave: (C) => J({ serie: l, shape: a.shape, S: s }),
853
+ style: S(`opacity:${x.value ? x.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
854
+ onClick: () => Q({ serie: l, shape: a.shape, S: s })
855
+ }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
856
+ b.value.showTooltip ? g("", !0) : (n(), i(w, { key: 0 }, [
857
+ x.value && x.value === l.id && l.datapoints.length ? (n(), i("text", {
858
+ key: 0,
859
+ x: l.datapoints[0].x - c.value.ticksFontSize,
860
+ y: l.datapoints[0].y + c.value.ticksFontSize / 3,
861
+ "text-anchor": "end",
862
+ "font-size": c.value.ticksFontSize,
863
+ fill: a.color,
864
+ "font-weight": "bold"
865
+ }, U(l.name), 9, Ra)) : g("", !0)
866
+ ], 64)),
867
+ e.value.style.chart.comments.show ? (n(!0), i(w, { key: 1 }, P(l.datapoints, (r) => (n(), i("g", null, [
868
+ r.comment ? (n(), i("foreignObject", {
869
+ key: 0,
870
+ style: { overflow: "visible" },
871
+ height: "12",
872
+ width: e.value.style.chart.comments.width,
873
+ x: r.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
874
+ y: r.y + e.value.style.chart.comments.offsetY + 6
875
+ }, [
876
+ I("div", Ha, [
877
+ p(t.$slots, "plot-comment", {
878
+ plot: { ...r, color: a.color }
879
+ }, void 0, !0)
880
+ ])
881
+ ], 8, Ua)) : g("", !0)
882
+ ]))), 256)) : g("", !0)
883
+ ])) : g("", !0),
884
+ !v(R) && (b.value.dataLabels.show || x.value && x.value === l.id) ? (n(!0), i(w, { key: 1 }, P(l.datapoints, (r, _) => (n(), i("text", {
885
+ x: r.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
886
+ y: r.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
887
+ fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
888
+ "text-anchor": "start",
889
+ "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
890
+ class: X({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !v(R) }),
891
+ "font-size": c.value.datapointFontSize,
892
+ onMouseenter: (C) => K({
893
+ shape: a.shape,
894
+ serieName: a.name,
895
+ serie: l,
896
+ relativeIndex: u,
897
+ seriesIndex: l.seriesIndex,
898
+ S: s
899
+ }),
900
+ onMouseleave: (C) => J({ serie: l, shape: a.shape, S: s }),
901
+ onClick: () => Q({ serie: l, shape: a.shape, S: s }),
902
+ style: S(`opacity:${x.value ? x.value === l.id ? 1 : 0.2 : 1}`)
903
+ }, U(He({ value: r.value, index: _, datapoint: r })), 47, Wa))), 256)) : g("", !0),
904
+ I("path", {
905
+ d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
906
+ stroke: a.color,
907
+ "stroke-width": e.value.style.chart.lines.strokeWidth,
908
+ fill: "none",
909
+ class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(R) }),
910
+ onMouseenter: (r) => K({
911
+ shape: a.shape,
912
+ serieName: a.name,
913
+ serie: l,
914
+ relativeIndex: u,
915
+ seriesIndex: l.seriesIndex,
916
+ S: s
917
+ }),
918
+ onMouseleave: (r) => J({ serie: l, shape: a.shape, S: s }),
919
+ onClick: () => Q({ serie: l, shape: a.shape, S: s }),
920
+ style: S(`opacity:${x.value ? x.value === l.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${l.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? l.pathLength : 0}`)
921
+ }, null, 46, ja),
922
+ b.value.showTooltip ? (n(), i("path", {
923
+ key: 2,
924
+ d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
925
+ stroke: "transparent",
926
+ "stroke-width": 12,
927
+ fill: "none",
928
+ class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(R) }),
929
+ onMouseenter: (r) => K({
930
+ shape: a.shape,
931
+ serieName: a.name,
932
+ serie: l,
933
+ relativeIndex: u,
934
+ seriesIndex: l.seriesIndex,
935
+ S: s
936
+ }),
937
+ onMouseleave: (r) => J({ serie: l, shape: a.shape, S: s }),
938
+ onClick: () => Q({ serie: l, shape: a.shape, S: s }),
939
+ style: { opacity: "0" }
940
+ }, null, 42, Va)) : g("", !0)
941
+ ]))), 256))
942
+ ]))), 256)),
943
+ p(t.$slots, "svg", { svg: f.value }, void 0, !0)
944
+ ], 14, _a)),
945
+ t.$slots.watermark ? (n(), i("div", Ga, [
946
+ p(t.$slots, "watermark", T(z({ isPrinting: v(De) || v(Ie) })), void 0, !0)
947
+ ])) : g("", !0),
948
+ I("div", {
949
+ id: `legend-bottom-${B.value}`
950
+ }, null, 8, Xa),
951
+ Te.value ? (n(), D(qt, {
952
+ key: 5,
953
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${B.value}` : `#legend-bottom-${B.value}`
954
+ }, [
955
+ I("div", {
956
+ ref_key: "chartLegend",
957
+ ref: ke
958
+ }, [
959
+ e.value.style.chart.legend.show && Y.value ? (n(), D(wa, {
960
+ key: `legend_${$e.value}`,
961
+ legendSet: Re.value,
962
+ config: Dt.value,
963
+ onClickMarker: o[0] || (o[0] = ({ legend: a }) => {
964
+ q(a.id), Ve(a);
965
+ })
966
+ }, {
967
+ item: h(({ legend: a, index: s }) => [
968
+ I("div", {
969
+ onClick: (l) => {
970
+ a.segregate(), Ve(a);
971
+ },
972
+ style: S(`opacity:${F.value.includes(a.id) ? 0.5 : 1}`)
973
+ }, U(a.name), 13, Ya)
974
+ ]),
975
+ _: 1
976
+ }, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
977
+ key: 1,
978
+ legend: N.value
979
+ }, void 0, !0)
980
+ ], 512)
981
+ ], 8, ["to"])) : g("", !0),
982
+ t.$slots.source ? (n(), i("div", {
983
+ key: 6,
984
+ ref_key: "source",
985
+ ref: xe,
986
+ dir: "auto"
987
+ }, [
988
+ p(t.$slots, "source", {}, void 0, !0)
989
+ ], 512)) : g("", !0),
990
+ me(v(mt), {
991
+ show: b.value.showTooltip && de.value,
992
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
993
+ color: e.value.style.chart.tooltip.color,
994
+ fontSize: e.value.style.chart.tooltip.fontSize,
995
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
996
+ borderColor: e.value.style.chart.tooltip.borderColor,
997
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
998
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
999
+ position: e.value.style.chart.tooltip.position,
1000
+ offsetY: e.value.style.chart.tooltip.offsetY,
1001
+ parent: M.value,
1002
+ content: he.value,
1003
+ isFullscreen: E.value,
1004
+ isCustom: v(at)(e.value.style.chart.tooltip.customFormat),
1005
+ smooth: e.value.style.chart.tooltip.smooth,
1006
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1007
+ smoothForce: e.value.style.chart.tooltip.smoothForce,
1008
+ smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1009
+ }, {
1010
+ "tooltip-before": h(() => [
1011
+ p(t.$slots, "tooltip-before", T(z({ ...ve.value })), void 0, !0)
1012
+ ]),
1013
+ "tooltip-after": h(() => [
1014
+ p(t.$slots, "tooltip-after", T(z({ ...ve.value })), void 0, !0)
1015
+ ]),
1016
+ _: 3
1017
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1018
+ Y.value && e.value.userOptions.buttons.table ? (n(), D(Jt(G.value.component), Kt({ key: 7 }, G.value.props, {
1019
+ ref_key: "tableUnit",
1020
+ ref: j,
1021
+ onClose: qe
1022
+ }), Qe({
1023
+ content: h(() => [
1024
+ (n(), D(v(yt), {
1025
+ key: `table_${Fe.value}`,
1026
+ colNames: W.value.colNames,
1027
+ head: W.value.head,
1028
+ body: W.value.body,
1029
+ config: W.value.config,
1030
+ title: e.value.table.useDialog ? "" : G.value.title,
1031
+ withCloseButton: !e.value.table.useDialog,
1032
+ onClose: qe
1033
+ }, {
1034
+ th: h(({ th: a }) => [
1035
+ I("div", { innerHTML: a }, null, 8, qa)
1036
+ ]),
1037
+ td: h(({ td: a }) => [
1038
+ Ze(U(a), 1)
1039
+ ]),
1040
+ _: 1
1041
+ }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
1042
+ ]),
1043
+ _: 2
1044
+ }, [
1045
+ e.value.table.useDialog ? {
1046
+ name: "title",
1047
+ fn: h(() => [
1048
+ Ze(U(G.value.title), 1)
1049
+ ]),
1050
+ key: "0"
1051
+ } : void 0,
1052
+ e.value.table.useDialog ? {
1053
+ name: "actions",
1054
+ fn: h(() => [
1055
+ I("button", {
1056
+ tabindex: "0",
1057
+ class: "vue-ui-user-options-button",
1058
+ onClick: o[1] || (o[1] = (a) => pe(e.value.userOptions.callbacks.csv))
1059
+ }, [
1060
+ me(v(bt), {
1061
+ name: "excel",
1062
+ stroke: G.value.props.color
1063
+ }, null, 8, ["stroke"])
1064
+ ])
1065
+ ]),
1066
+ key: "1"
1067
+ } : void 0
1068
+ ]), 1040)) : g("", !0),
1069
+ v(R) ? (n(), D(ba, { key: 8 })) : g("", !0)
1070
+ ], 46, za));
1071
+ }
1072
+ }, Ka = /* @__PURE__ */ Ta(Ja, [["__scopeId", "data-v-93c9151f"]]), mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1073
+ __proto__: null,
1074
+ default: Ka
1075
+ }, Symbol.toStringTag, { value: "Module" }));
1076
+ export {
1077
+ fo as a,
1078
+ mo as b,
1079
+ Ka as v
1080
+ };