vue-data-ui 3.15.12 → 3.16.1

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 (218) hide show
  1. package/README.md +132 -59
  2. package/dist/A11yDataTable-KcVAX2cP.js +54 -0
  3. package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
  4. package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
  5. package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
  6. package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
  7. package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
  8. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  9. package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
  10. package/dist/Legend-CS7Xo5LK.js +101 -0
  11. package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
  12. package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
  13. package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  14. package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
  15. package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
  16. package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
  17. package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
  18. package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
  19. package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
  20. package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
  21. package/dist/components/arrow.js +1 -1
  22. package/dist/components/vue-ui-3d-bar.js +1 -1
  23. package/dist/components/vue-ui-accordion.js +1 -1
  24. package/dist/components/vue-ui-age-pyramid.js +1 -1
  25. package/dist/components/vue-ui-annotator.js +1 -1
  26. package/dist/components/vue-ui-bullet.js +1 -1
  27. package/dist/components/vue-ui-bump.js +1 -1
  28. package/dist/components/vue-ui-candlestick.js +1 -1
  29. package/dist/components/vue-ui-carousel-table.js +1 -1
  30. package/dist/components/vue-ui-chestnut.js +1 -1
  31. package/dist/components/vue-ui-chord.js +1 -1
  32. package/dist/components/vue-ui-circle-pack.js +1 -1
  33. package/dist/components/vue-ui-cursor.js +1 -1
  34. package/dist/components/vue-ui-dag.js +1 -1
  35. package/dist/components/vue-ui-dashboard.js +1 -1
  36. package/dist/components/vue-ui-digits.js +1 -1
  37. package/dist/components/vue-ui-donut-evolution.js +1 -1
  38. package/dist/components/vue-ui-donut.js +1 -1
  39. package/dist/components/vue-ui-dumbbell.js +1 -1
  40. package/dist/components/vue-ui-flow.js +1 -1
  41. package/dist/components/vue-ui-funnel.js +1 -1
  42. package/dist/components/vue-ui-galaxy.js +1 -1
  43. package/dist/components/vue-ui-gauge.js +1 -1
  44. package/dist/components/vue-ui-geo.js +1 -1
  45. package/dist/components/vue-ui-gizmo.js +1 -1
  46. package/dist/components/vue-ui-heatmap.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.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-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
  91. package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
  92. package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
  93. package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
  94. package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
  95. package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
  96. package/dist/style.css +1 -1
  97. package/dist/types/vue-data-ui.d.ts +59 -0
  98. package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
  99. package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
  100. package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
  101. package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
  102. package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
  103. package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
  104. package/dist/utils.js +3 -3
  105. package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
  106. package/dist/vue-data-ui.js +72 -72
  107. package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
  108. package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
  109. package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
  110. package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
  111. package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
  112. package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
  113. package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
  114. package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
  115. package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
  116. package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
  117. package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
  118. package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
  119. package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
  120. package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
  121. package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
  122. package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
  123. package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
  124. package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
  125. package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
  126. package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
  127. package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
  128. package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
  129. package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
  130. package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
  131. package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
  132. package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
  133. package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
  134. package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
  135. package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
  136. package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
  137. package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
  138. package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
  139. package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
  141. package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
  142. package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
  143. package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
  144. package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
  145. package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
  146. package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
  147. package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
  148. package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
  149. package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
  150. package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
  151. package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
  152. package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
  153. package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
  154. package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
  155. package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
  156. package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
  157. package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
  158. package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
  159. package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
  160. package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
  161. package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
  162. package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
  163. package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
  164. package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
  165. package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
  166. package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
  167. package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
  168. package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
  169. package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
  170. package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
  171. package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
  172. package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
  173. package/package.json +2 -2
  174. package/dist/ColorPicker-j0ySewhI.js +0 -244
  175. package/dist/Legend-1LMMsPxL.js +0 -90
  176. package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
  177. package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
  178. package/dist/vue-ui-bump-C_fKharc.js +0 -1059
  179. package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
  180. package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
  181. package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
  182. package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
  183. package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
  184. package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
  185. package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
  186. package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
  187. package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
  188. package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
  189. package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
  190. package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
  191. package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
  192. package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
  193. package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
  194. package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
  195. package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
  196. package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
  197. package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
  198. package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
  199. package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
  200. package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
  201. package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
  202. package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
  203. package/dist/vue-ui-rings-80ZUki42.js +0 -1083
  204. package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
  205. package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
  206. package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
  207. package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
  208. package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
  209. package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
  210. package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
  211. package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
  212. package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
  213. package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
  214. package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
  215. package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
  216. package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
  217. package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
  218. package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
@@ -1,1134 +0,0 @@
1
- import { defineAsyncComponent as R, computed as f, ref as d, toRefs as Xt, watch as se, shallowRef as tt, onMounted as Yt, onBeforeUnmount as qt, watchEffect as Zt, openBlock as n, createElementBlock as u, unref as c, normalizeStyle as M, normalizeClass as q, createBlock as I, withCtx as h, renderSlot as p, normalizeProps as T, guardReactiveProps as P, createCommentVNode as g, createElementVNode as L, createSlots as at, createVNode as we, Fragment as z, renderList as O, toDisplayString as H, Teleport as Jt, resolveDynamicComponent as Kt, mergeProps as Qt, createTextVNode as lt, nextTick as ot } from "vue";
2
- import { j as Ae, t as st, m as ea, p as ne, o as nt, q as it, r as ta, n as aa, s as la, D as oa, b as sa, c as na, ai as ia, X as ua, Z as ra, T as ut, a2 as ie, a0 as ca, a1 as va, k as rt, l as ct, U as da } from "./lib-GwPnJSrY.js";
3
- import { t as vt, u as ha } from "./useResponsive-DfdjqQps.js";
4
- import { u as pa } from "./useConfig-CIgyKZ6R.js";
5
- import { u as fa } from "./usePrinter-DiK5R6k-.js";
6
- import { u as ma, B as ya } from "./BaseScanner-BhhkKVoj.js";
7
- import { u as ga } from "./useSvgExport-ByUukOZt.js";
8
- import { u as $e } from "./useNestedProp-BBT0mbHh.js";
9
- import { u as ba } from "./useThemeCheck-D1ZYXUwG.js";
10
- import { u as ka } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as xa } from "./useChartAccessibility-9icAAmYg.js";
12
- import { u as Ca } from "./useTimeLabelCollider-CIsgDrl9.js";
13
- import wa from "./vue_ui_parallel_coordinate_plot-DH3cFJ3n.js";
14
- import Aa from "./Title-BfyrP-jp.js";
15
- import $a from "./Legend-1LMMsPxL.js";
16
- import { _ as Ta } from "./Shape-CSyWYgXc.js";
17
- import Pa from "./img-BYYzY_QU.js";
18
- import { B as za } from "./BaseLegendToggle-Y61xahI4.js";
19
- import { _ as Fa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
20
- const Sa = ["id"], Ma = ["id"], Ia = ["xmlns", "viewBox"], Na = ["x", "y", "width", "height"], La = { style: { "pointer-events": "none" } }, Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Da = { key: 0 }, Ra = ["x", "y", "fill", "font-size", "font-weight"], Ba = ["fill", "font-size", "font-weight", "text-anchor", "transform"], Ea = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], Ua = { key: 0 }, Ha = ["x", "y", "font-size", "fill"], Va = ["width", "x", "y"], Wa = { style: { width: "100%" } }, ja = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], Ga = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Xa = ["d", "onMouseenter", "onMouseleave", "onClick"], Ya = {
21
- key: 4,
22
- class: "vue-data-ui-watermark"
23
- }, qa = ["id"], Za = ["onClick"], Ja = ["innerHTML"], Ka = {
24
- __name: "vue-ui-parallel-coordinate-plot",
25
- props: {
26
- config: {
27
- type: Object,
28
- default() {
29
- return {};
30
- }
31
- },
32
- dataset: {
33
- type: Array,
34
- default() {
35
- return [];
36
- }
37
- }
38
- },
39
- emits: ["selectLegend", "selectDatapoint", "copyAlt"],
40
- setup(dt, { expose: ht, emit: pt }) {
41
- const ft = R(() => import("./Tooltip-DL3QgjZf.js")), mt = R(() => import("./BaseIcon-CNx8Tzl5.js")), yt = R(() => import("./vue-ui-accordion-BGHTqIBt.js")), gt = R(() => import("./DataTable-Bo1pmAqG.js")), bt = R(() => import("./PenAndPaper-DWV1FMIi.js")), kt = R(() => import("./UserOptions-CrLqEimB.js")), xt = R(() => import("./PackageVersion-DN9d0ME5.js")), Ct = R(() => import("./BaseDraggableDialog-DSpKTn3R.js")), { vue_ui_parallel_coordinate_plot: wt } = pa(), { isThemeValid: At, warnInvalidTheme: $t } = ba(), A = dt, Z = f({
42
- get() {
43
- return !!A.dataset && A.dataset.length;
44
- },
45
- set(t) {
46
- return t;
47
- }
48
- }), Te = d(0), N = d(null), Pe = d(null), ze = d(null), Fe = d(null), Se = d(null), Me = d(0), Ie = d(0), Ne = d(0), Le = d(!1), j = d(null), ue = d(null), J = d(!1), K = d(!1), re = d(null), B = d(Ae()), E = d(!1);
49
- function Oe(t) {
50
- E.value = t, Te.value += 1;
51
- }
52
- const e = d(he()), U = f(() => e.value.userOptions.useCursorPointer), Tt = f(() => st({
53
- defaultConfig: {
54
- useCssAnimation: !1,
55
- userOptions: { show: !1 },
56
- table: { show: !1 },
57
- style: {
58
- chart: {
59
- backgroundColor: "#99999930",
60
- legend: {
61
- show: !0,
62
- backgroundColor: "transparent"
63
- },
64
- yAxis: {
65
- stroke: "#6A6A6A",
66
- labels: {
67
- showAxisNames: !1,
68
- axisNames: [],
69
- ticks: {
70
- color: "#6A6A6A"
71
- }
72
- }
73
- }
74
- }
75
- }
76
- },
77
- userConfig: e.value.skeletonConfig ?? {}
78
- })), { loading: _, FINAL_DATASET: Pt, manualLoading: ce } = ma({
79
- ...Xt(A),
80
- FINAL_CONFIG: e,
81
- prepareConfig: he,
82
- callback: () => {
83
- Promise.resolve().then(async () => {
84
- await ot(), y.value.showTable = e.value.table.show;
85
- });
86
- },
87
- skeletonDataset: A.config?.skeletonDataset ?? [
88
- {
89
- name: "",
90
- shape: "circle",
91
- color: "transparent",
92
- series: [
93
- {
94
- name: "",
95
- values: [1, 10, 100, 1e3]
96
- }
97
- ]
98
- },
99
- {
100
- name: "",
101
- shape: "circle",
102
- color: "#CACACA",
103
- series: [
104
- {
105
- name: "",
106
- values: [0.2, 3, 50, 800]
107
- }
108
- ]
109
- },
110
- {
111
- name: "",
112
- shape: "circle",
113
- color: "transparent",
114
- series: [
115
- {
116
- name: "",
117
- values: [0, 0, 0, 0]
118
- }
119
- ]
120
- }
121
- ],
122
- skeletonConfig: st({
123
- defaultConfig: e.value,
124
- userConfig: Tt.value
125
- })
126
- }), { userOptionsVisible: ve, setUserOptionsVisibility: _e, keepUserOptionState: De } = ka({ config: e.value }), { svgRef: de } = xa({ config: e.value.style.chart.title });
127
- function he() {
128
- const t = $e({
129
- userConfig: A.config,
130
- defaultConfig: wt
131
- }), l = t.theme;
132
- if (!l) return t;
133
- if (!At.value(t))
134
- return $t(t), t;
135
- const a = $e({
136
- userConfig: wa[l] || A.config,
137
- defaultConfig: t
138
- }), s = $e({
139
- userConfig: A.config,
140
- defaultConfig: a
141
- });
142
- return {
143
- ...s,
144
- customPalette: s.customPalette.length ? s.customPalette : ea[l] || ne
145
- };
146
- }
147
- se(() => A.config, (t) => {
148
- _.value || (e.value = he()), ve.value = !e.value.userOptions.showOnChartHover, Be(), Me.value += 1, Ne.value += 1, Ie.value += 1, y.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip.show;
149
- }, { deep: !0 }), se(() => A.dataset, (t) => {
150
- Array.isArray(t) && t.length > 0 && (ce.value = !1);
151
- }, { deep: !0 });
152
- const D = tt(null), V = tt(null);
153
- Yt(() => {
154
- Le.value = !0, Be();
155
- });
156
- const Re = f(() => !!e.value.debug);
157
- function Be() {
158
- if (nt(A.dataset) ? (it({
159
- componentName: "VueUiParallelCoordinatePlot",
160
- type: "dataset",
161
- debug: Re.value
162
- }), ce.value = !0) : A.dataset.forEach((t, l) => {
163
- ta({
164
- datasetObject: t,
165
- requiredAttributes: ["name", "series"]
166
- }).forEach((a) => {
167
- Z.value = !1, it({
168
- componentName: "VueUiParallelCoordinatePlot",
169
- type: "datasetSerieAttribute",
170
- property: a,
171
- index: l,
172
- debug: Re.value
173
- });
174
- });
175
- }), nt(A.dataset) || (ce.value = e.value.loading), e.value.responsive) {
176
- const t = vt(() => {
177
- const { width: l, height: a } = ha({
178
- chart: N.value,
179
- title: e.value.style.chart.title.text ? Pe.value : null,
180
- legend: e.value.style.chart.legend.show ? ze.value : null,
181
- source: Fe.value,
182
- noTitle: Se.value
183
- });
184
- requestAnimationFrame(() => {
185
- v.value.width = l, v.value.height = a - 12, e.value.responsiveProportionalSizing ? (v.value.plotSize = ie({
186
- relator: Math.min(l, a),
187
- adjuster: 600,
188
- source: e.value.style.chart.plots.radius,
189
- threshold: 2,
190
- fallback: 2
191
- }), v.value.ticksFontSize = ie({
192
- relator: Math.min(l, a),
193
- adjuster: 600,
194
- source: e.value.style.chart.yAxis.labels.ticks.fontSize,
195
- threshold: 10,
196
- fallback: 10
197
- }), v.value.datapointFontSize = ie({
198
- relator: Math.min(l, a),
199
- adjuster: 600,
200
- source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
201
- threshold: 10,
202
- fallback: 10
203
- }), v.value.axisNameFontSize = ie({
204
- relator: Math.min(l, a),
205
- adjuster: 600,
206
- source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
207
- threshold: 12,
208
- fallback: 12
209
- })) : (v.value.plotSize = e.value.style.chart.plots.radius, v.value.ticksFontSize = e.value.style.chart.yAxis.labels.ticks.fontSize, v.value.datapointFontSize = e.value.style.chart.yAxis.labels.datapoints.fontSize, v.value.axisNameFontSize = e.value.style.chart.yAxis.labels.axisNamesFontSize);
210
- });
211
- });
212
- D.value && (V.value && D.value.unobserve(V.value), D.value.disconnect()), D.value = new ResizeObserver(t), V.value = N.value.parentNode, D.value.observe(V.value);
213
- }
214
- }
215
- qt(() => {
216
- D.value && (V.value && D.value.unobserve(V.value), D.value.disconnect());
217
- });
218
- const { isPrinting: pe, isImaging: fe, generatePdf: Ee, generateImage: Ue } = fa({
219
- elementId: `pcp_${B.value}`,
220
- fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
221
- options: e.value.userOptions.print
222
- }), zt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), v = d({
223
- height: e.value.style.chart.height,
224
- width: e.value.style.chart.width,
225
- plotSize: e.value.style.chart.plots.radius,
226
- // ratio 100
227
- ticksFontSize: e.value.style.chart.yAxis.labels.ticks.fontSize,
228
- // ratio 42.85
229
- datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
230
- axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
231
- }), He = f(() => v.value.width), Ve = f(() => v.value.height), G = d(0), Ft = vt((t) => {
232
- G.value = t;
233
- }, 100);
234
- Zt((t) => {
235
- const l = re.value;
236
- if (!l) return;
237
- const a = new ResizeObserver((s) => {
238
- Ft(s[0].contentRect.height);
239
- });
240
- a.observe(l), t(() => a.disconnect());
241
- });
242
- const m = f(() => {
243
- const { top: t, right: l, bottom: a, left: s } = e.value.style.chart.padding, o = Ve.value, r = He.value;
244
- return {
245
- chartHeight: Math.max(1e-3, o),
246
- chartWidth: Math.max(1e-3, r),
247
- height: Math.max(1e-3, o - t - a - G.value - v.value.datapointFontSize * 2),
248
- width: Math.max(1e-3, r - s - l),
249
- top: t + G.value + v.value.datapointFontSize,
250
- left: s,
251
- right: r - l,
252
- bottom: o - a - v.value.datapointFontSize
253
- };
254
- }), St = f(() => aa(e.value.customPalette)), y = d({
255
- dataLabels: {
256
- show: e.value.style.chart.yAxis.labels.datapoints.show
257
- },
258
- showTable: e.value.table.show,
259
- showTooltip: e.value.style.chart.tooltip.show
260
- });
261
- se(e, () => {
262
- y.value = {
263
- dataLabels: {
264
- show: e.value.style.chart.yAxis.labels.datapoints.show
265
- },
266
- showTable: e.value.table.show,
267
- showTooltip: e.value.style.chart.tooltip.show
268
- };
269
- }, { immediate: !0 });
270
- const k = d([]);
271
- function Mt() {
272
- k.value.length ? k.value = [] : ee.value.forEach((t) => {
273
- k.value.push(t.id);
274
- });
275
- }
276
- function Q(t) {
277
- k.value.includes(t) ? k.value = k.value.filter((l) => l !== t) : k.value.push(t);
278
- }
279
- const F = f(() => Pt.value.map((t, l) => {
280
- const a = la(t.color) || St.value[l] || ne[l] || ne[l % ne.length];
281
- return {
282
- ...t,
283
- series: t.series.map((s) => ({
284
- ...s,
285
- id: Ae(),
286
- color: a
287
- })),
288
- seriesIndex: l,
289
- color: a,
290
- id: Ae(),
291
- shape: t.shape || "circle"
292
- };
293
- }));
294
- function We(t) {
295
- if (!F.value.length)
296
- return e.value.debug && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null;
297
- const l = F.value.find((a) => a.name === t);
298
- return l || (e.value.debug && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${t}"`), null);
299
- }
300
- function It(t) {
301
- const l = We(t);
302
- l !== null && k.value.includes(l.id) && Q(l.id);
303
- }
304
- function Nt(t) {
305
- const l = We(t);
306
- l !== null && (k.value.includes(l.id) || Q(l.id));
307
- }
308
- const ee = f(() => F.value.map((t) => ({
309
- ...t,
310
- opacity: k.value.includes(t.id) ? 0.5 : 1,
311
- segregate: () => Q(t.id),
312
- isSegregated: k.value.includes(t.id),
313
- shape: t.shape || "circle"
314
- }))), Lt = f(() => ({
315
- cy: "pcp-div-legend",
316
- backgroundColor: e.value.style.chart.legend.backgroundColor,
317
- color: e.value.style.chart.legend.color,
318
- fontSize: e.value.style.chart.legend.fontSize,
319
- paddingBottom: 12,
320
- fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
321
- })), je = f(() => Math.max(
322
- ...F.value.filter((t) => !k.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
323
- )), $ = f(() => m.value.width / je.value), me = f(() => F.value.filter((t) => !k.value.includes(t.id))), b = f(() => {
324
- let t = [];
325
- for (let l = 0; l < je.value; l += 1) {
326
- const a = Math.min(...me.value.flatMap((x) => x.series.map((C) => C.values[l] || 0) || 0)), s = Math.max(...me.value.flatMap((x) => x.series.map((C) => C.values[l] || 0) || 0)), o = s === a ? a / 4 : a, r = s === a ? s * 2 : s, i = oa(o, r, e.value.style.chart.yAxis.scaleTicks), S = i.ticks.map((x, C) => {
327
- const jt = i.min < 0 ? x + Math.abs(i.min) : x - Math.abs(i.min), Gt = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
328
- return {
329
- y: m.value.bottom - m.value.height * (jt / Gt),
330
- x: m.value.left + $.value * l + $.value / 2,
331
- value: x
332
- };
333
- });
334
- t.push({
335
- scale: i,
336
- ticks: S,
337
- name: e.value.style.chart.yAxis.labels.axisNames[l] || `Y-${l + 1}`
338
- });
339
- }
340
- return t;
341
- }), X = f(() => me.value.map((t, l) => ({
342
- ...t,
343
- series: t.series.map((a, s) => ({
344
- ...a,
345
- datapoints: a.values.map((o, r) => {
346
- const i = b.value[r].scale.min < 0 ? (o || 0) + Math.abs(b.value[r].scale.min) : (o || 0) - Math.abs(b.value[r].scale.min), S = b.value[r].scale.min < 0 ? b.value[r].scale.max + Math.abs(b.value[r].scale.min) : b.value[r].scale.max - Math.abs(b.value[r].scale.min);
347
- return {
348
- name: a.name,
349
- seriesName: t.name,
350
- axisIndex: r,
351
- datapointIndex: s,
352
- seriesIndex: l,
353
- value: o || 0,
354
- x: m.value.left + $.value * r + $.value / 2,
355
- y: m.value.bottom - m.value.height * (i / S),
356
- comment: a.comments && a.comments[r] || ""
357
- };
358
- })
359
- }))
360
- })).map((t) => ({
361
- ...t,
362
- series: t.series.map((l) => {
363
- const a = sa(l.datapoints), s = na(l.datapoints), o = ia(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`);
364
- return {
365
- ...l,
366
- smoothPath: s,
367
- straightPath: a,
368
- pathLength: o
369
- };
370
- })
371
- })));
372
- function Ge({ value: t, index: l, datapoint: a }) {
373
- return rt(
374
- e.value.style.chart.yAxis.labels.formatters[l] || null,
375
- t,
376
- ct({
377
- p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
378
- v: t,
379
- s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
380
- r: e.value.style.chart.yAxis.labels.roundings[l] || 0
381
- }),
382
- { datapoint: a, seriesIndex: l }
383
- );
384
- }
385
- const w = d(null), ye = d(null), ge = d(!1), be = d("");
386
- function te({ shape: t, serie: l, S: a }) {
387
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...l, shape: t }, seriesIndex: a }), w.value = null, ge.value = null;
388
- }
389
- function ae({ shape: t, serieName: l, serie: a, relativeIndex: s, seriesIndex: o, S: r }) {
390
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: r }), ye.value = { serie: a, relativeIndex: s, seriesIndex: o, series: F.value, scales: b.value }, ge.value = !0, w.value = a.id;
391
- let i = "";
392
- const S = e.value.style.chart.tooltip.customFormat;
393
- ut(S) && da(() => S({
394
- serie: a,
395
- seriesIndex: a.seriesIndex,
396
- series: F.value,
397
- config: e.value,
398
- scales: b.value
399
- })) ? be.value = S({
400
- serie: a,
401
- seriesIndex: a.seriesIndex,
402
- series: F.value,
403
- config: e.value,
404
- scales: b.value
405
- }) : (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`, b.value.map((x) => x.name).forEach((x, C) => {
406
- i += `
407
- <div class="vue-ui-tooltip-item" style="text-align:left">
408
- <span>${x}: </span>
409
- <span>
410
- ${rt(
411
- e.value.style.chart.yAxis.labels.formatters[C] || null,
412
- a.datapoints[C].value,
413
- ct({
414
- p: e.value.style.chart.yAxis.labels.prefixes[C] || "",
415
- v: a.datapoints[C].value,
416
- s: e.value.style.chart.yAxis.labels.suffixes[C] || "",
417
- r: e.value.style.chart.yAxis.labels.roundings[C] || ""
418
- }),
419
- { datapoint: a.datapoints[C], seriesIndex: C }
420
- )}
421
- </span>
422
- </div>
423
- `, e.value.style.chart.comments.showInTooltip && a.datapoints[C].comment && (i += `<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[C].comment}</div>`);
424
- }), be.value = `<div>${i}</div>`);
425
- }
426
- function Ot() {
427
- return F.value;
428
- }
429
- const W = f(() => {
430
- const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(b.value.map((o) => o.name)), l = X.value.flatMap((o, r) => o.series.map((i) => [o.name].concat([i.name]).concat(i.values))), a = {
431
- th: {
432
- backgroundColor: e.value.table.th.backgroundColor,
433
- color: e.value.table.th.color,
434
- outline: e.value.table.th.outline
435
- },
436
- td: {
437
- backgroundColor: e.value.table.td.backgroundColor,
438
- color: e.value.table.td.color,
439
- outline: e.value.table.td.outline
440
- },
441
- breakpoint: e.value.table.responsiveBreakpoint
442
- }, s = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(b.value.map((o) => o.name));
443
- return {
444
- body: l,
445
- head: t,
446
- config: a,
447
- colNames: s
448
- };
449
- }), Xe = f(() => X.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
450
- head: W.value.head,
451
- body: W.value.body
452
- });
453
- function ke(t = null) {
454
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = Xe.value.head, s = Xe.value.body, o = l.concat([a]).concat(s), r = ca(o);
455
- t ? t(r) : va({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
456
- }
457
- const xe = pt;
458
- function le({ serie: t, shape: l, S: a }) {
459
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, shape: l }, seriesIndex: a }), xe("selectDatapoint", t);
460
- }
461
- function Ye(t) {
462
- xe("selectLegend", {
463
- ...t,
464
- isSegregated: !t.isSegregated,
465
- opacity: t.isSegregated ? 1 : 0.5
466
- });
467
- }
468
- function qe() {
469
- y.value.showTable = !y.value.showTable;
470
- }
471
- function Ze() {
472
- y.value.dataLabels.show = !y.value.dataLabels.show;
473
- }
474
- function Je() {
475
- y.value.showTooltip = !y.value.showTooltip;
476
- }
477
- const oe = d(!1);
478
- function Ce() {
479
- oe.value = !oe.value;
480
- }
481
- async function _t({ scale: t = 2 } = {}) {
482
- if (!N.value) return;
483
- const { width: l, height: a } = N.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: r } = await Pa({ domElement: N.value, base64: !0, img: !0, scale: t });
484
- return {
485
- imageUri: o,
486
- base64: r,
487
- title: e.value.style.chart.title.text,
488
- width: l,
489
- height: a,
490
- aspectRatio: s
491
- };
492
- }
493
- const Dt = d({ start: 0, end: 1 }), Rt = f(() => b.value.map((t) => t.name));
494
- Ca({
495
- timeLabelsEls: re,
496
- timeLabels: Rt,
497
- slicer: Dt,
498
- configRef: e,
499
- rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
500
- autoRotatePath: ["style", "chart", "yAxis", "labels", "axisNamesAutoRotate", "enable"],
501
- isAutoSize: !1,
502
- width: He,
503
- height: Ve,
504
- targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
505
- rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
506
- });
507
- const Y = f(() => {
508
- const t = e.value.table.useDialog && !e.value.table.show, l = y.value.showTable;
509
- return {
510
- component: t ? Ct : yt,
511
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
512
- props: t ? {
513
- backgroundColor: e.value.table.th.backgroundColor,
514
- color: e.value.table.th.color,
515
- headerColor: e.value.table.th.color,
516
- headerBg: e.value.table.th.backgroundColor,
517
- isFullscreen: E.value,
518
- fullscreenParent: N.value,
519
- forcedWidth: Math.min(800, window.innerWidth * 0.8),
520
- isCursorPointer: U.value
521
- } : {
522
- hideDetails: !0,
523
- config: {
524
- open: l,
525
- maxHeight: 1e4,
526
- body: {
527
- backgroundColor: e.value.style.chart.backgroundColor,
528
- color: e.value.style.chart.color
529
- },
530
- head: {
531
- backgroundColor: e.value.style.chart.backgroundColor,
532
- color: e.value.style.chart.color
533
- }
534
- }
535
- }
536
- };
537
- });
538
- se(() => y.value.showTable, (t) => {
539
- e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
540
- });
541
- function Ke() {
542
- y.value.showTable = !1, ue.value && ue.value.setTableIconState(!1);
543
- }
544
- const Bt = f(() => e.value.style.chart.backgroundColor), Et = f(() => e.value.style.chart.legend), Ut = f(() => e.value.style.chart.title), { exportSvg: Ht, getSvg: Vt } = ga({
545
- svg: de,
546
- title: Ut,
547
- legend: Et,
548
- legendItems: ee,
549
- backgroundColor: Bt
550
- });
551
- async function Qe({ isCb: t }) {
552
- K.value = !0, await ot();
553
- try {
554
- if (t) {
555
- const { blob: l, url: a, text: s, dataUrl: o } = await Vt();
556
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: l, url: a, text: s, dataUrl: o }));
557
- } else
558
- await Promise.resolve(Ht());
559
- } finally {
560
- K.value = !1;
561
- }
562
- }
563
- function Wt(t) {
564
- if (t?.stage === "start") {
565
- J.value = !0;
566
- return;
567
- }
568
- if (t?.stage === "end") {
569
- J.value = !1;
570
- return;
571
- }
572
- Ue();
573
- }
574
- async function et() {
575
- if (xe("copyAlt", {
576
- config: e.value,
577
- dataset: X.value
578
- }), !e.value.userOptions.callbacks.altCopy) {
579
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
580
- return;
581
- }
582
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
583
- config: e.value,
584
- dataset: X.value
585
- }));
586
- }
587
- return ht({
588
- getData: Ot,
589
- getImage: _t,
590
- generateCsv: ke,
591
- generatePdf: Ee,
592
- generateImage: Ue,
593
- generateSvg: Qe,
594
- hideSeries: Nt,
595
- showSeries: It,
596
- toggleTable: qe,
597
- toggleLabels: Ze,
598
- toggleTooltip: Je,
599
- toggleAnnotator: Ce,
600
- toggleFullscreen: Oe,
601
- copyAlt: et
602
- }), (t, l) => (n(), u("div", {
603
- ref_key: "pcpChart",
604
- ref: N,
605
- class: q(`vue-data-ui-component vue-ui-pcp ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
606
- style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
607
- id: `pcp_${B.value}`,
608
- onMouseenter: l[2] || (l[2] = () => c(_e)(!0)),
609
- onMouseleave: l[3] || (l[3] = () => c(_e)(!1))
610
- }, [
611
- e.value.userOptions.buttons.annotator ? (n(), I(c(bt), {
612
- key: 0,
613
- svgRef: c(de),
614
- backgroundColor: e.value.style.chart.backgroundColor,
615
- color: e.value.style.chart.color,
616
- active: oe.value,
617
- isCursorPointer: U.value,
618
- onClose: Ce
619
- }, {
620
- "annotator-action-close": h(() => [
621
- p(t.$slots, "annotator-action-close", {}, void 0, !0)
622
- ]),
623
- "annotator-action-color": h(({ color: a }) => [
624
- p(t.$slots, "annotator-action-color", T(P({ color: a })), void 0, !0)
625
- ]),
626
- "annotator-action-draw": h(({ mode: a }) => [
627
- p(t.$slots, "annotator-action-draw", T(P({ mode: a })), void 0, !0)
628
- ]),
629
- "annotator-action-undo": h(({ disabled: a }) => [
630
- p(t.$slots, "annotator-action-undo", T(P({ disabled: a })), void 0, !0)
631
- ]),
632
- "annotator-action-redo": h(({ disabled: a }) => [
633
- p(t.$slots, "annotator-action-redo", T(P({ disabled: a })), void 0, !0)
634
- ]),
635
- "annotator-action-delete": h(({ disabled: a }) => [
636
- p(t.$slots, "annotator-action-delete", T(P({ disabled: a })), void 0, !0)
637
- ]),
638
- _: 3
639
- }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : g("", !0),
640
- zt.value ? (n(), u("div", {
641
- key: 1,
642
- ref_key: "noTitle",
643
- ref: Se,
644
- class: "vue-data-ui-no-title-space",
645
- style: "height:36px; width: 100%;background:transparent"
646
- }, null, 512)) : g("", !0),
647
- e.value.style.chart.title.text ? (n(), u("div", {
648
- key: 2,
649
- ref_key: "chartTitle",
650
- ref: Pe,
651
- style: "width:100%;background:transparent;padding-bottom:24px"
652
- }, [
653
- (n(), I(Aa, {
654
- key: `title_${Me.value}`,
655
- config: {
656
- title: {
657
- cy: "pcp-div-title",
658
- ...e.value.style.chart.title
659
- },
660
- subtitle: {
661
- cy: "pcp-div-subtitle",
662
- ...e.value.style.chart.title.subtitle
663
- }
664
- }
665
- }, null, 8, ["config"]))
666
- ], 512)) : g("", !0),
667
- L("div", {
668
- id: `legend-top-${B.value}`
669
- }, null, 8, Ma),
670
- e.value.userOptions.show && Z.value && (c(De) || c(ve)) ? (n(), I(c(kt), {
671
- ref_key: "userOptionsRef",
672
- ref: ue,
673
- key: `user_options_${Te.value}`,
674
- backgroundColor: e.value.style.chart.backgroundColor,
675
- color: e.value.style.chart.color,
676
- isPrinting: c(pe),
677
- isImaging: c(fe),
678
- uid: B.value,
679
- hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
680
- hasPdf: e.value.userOptions.buttons.pdf,
681
- hasXls: e.value.userOptions.buttons.csv,
682
- hasImg: e.value.userOptions.buttons.img,
683
- hasSvg: e.value.userOptions.buttons.svg,
684
- hasTable: e.value.userOptions.buttons.table,
685
- hasLabel: e.value.userOptions.buttons.labels,
686
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
687
- hasAltCopy: e.value.userOptions.buttons.altCopy,
688
- isFullscreen: E.value,
689
- isTooltip: y.value.showTooltip,
690
- titles: { ...e.value.userOptions.buttonTitles },
691
- chartElement: N.value,
692
- position: e.value.userOptions.position,
693
- hasAnnotator: e.value.userOptions.buttons.annotator,
694
- isAnnotation: oe.value,
695
- callbacks: e.value.userOptions.callbacks,
696
- printScale: e.value.userOptions.print.scale,
697
- tableDialog: e.value.table.useDialog,
698
- isCursorPointer: U.value,
699
- onToggleFullscreen: Oe,
700
- onGeneratePdf: c(Ee),
701
- onGenerateCsv: ke,
702
- onGenerateImage: Wt,
703
- onGenerateSvg: Qe,
704
- onToggleTable: qe,
705
- onToggleLabels: Ze,
706
- onToggleTooltip: Je,
707
- onToggleAnnotator: Ce,
708
- onCopyAlt: et,
709
- style: M({
710
- visibility: c(De) ? c(ve) ? "visible" : "hidden" : "visible"
711
- })
712
- }, at({ _: 2 }, [
713
- t.$slots.menuIcon ? {
714
- name: "menuIcon",
715
- fn: h(({ isOpen: a, color: s }) => [
716
- p(t.$slots, "menuIcon", T(P({ isOpen: a, color: s })), void 0, !0)
717
- ]),
718
- key: "0"
719
- } : void 0,
720
- t.$slots.optionPdf ? {
721
- name: "optionPdf",
722
- fn: h(() => [
723
- p(t.$slots, "optionPdf", {}, void 0, !0)
724
- ]),
725
- key: "1"
726
- } : void 0,
727
- t.$slots.optionCsv ? {
728
- name: "optionCsv",
729
- fn: h(() => [
730
- p(t.$slots, "optionCsv", {}, void 0, !0)
731
- ]),
732
- key: "2"
733
- } : void 0,
734
- t.$slots.optionImg ? {
735
- name: "optionImg",
736
- fn: h(() => [
737
- p(t.$slots, "optionImg", {}, void 0, !0)
738
- ]),
739
- key: "3"
740
- } : void 0,
741
- t.$slots.optionSvg ? {
742
- name: "optionSvg",
743
- fn: h(() => [
744
- p(t.$slots, "optionSvg", {}, void 0, !0)
745
- ]),
746
- key: "4"
747
- } : void 0,
748
- t.$slots.optionTable ? {
749
- name: "optionTable",
750
- fn: h(() => [
751
- p(t.$slots, "optionTable", {}, void 0, !0)
752
- ]),
753
- key: "5"
754
- } : void 0,
755
- t.$slots.optionLabels ? {
756
- name: "optionLabels",
757
- fn: h(() => [
758
- p(t.$slots, "optionLabels", {}, void 0, !0)
759
- ]),
760
- key: "6"
761
- } : void 0,
762
- t.$slots.optionFullscreen ? {
763
- name: "optionFullscreen",
764
- fn: h(({ toggleFullscreen: a, isFullscreen: s }) => [
765
- p(t.$slots, "optionFullscreen", T(P({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
766
- ]),
767
- key: "7"
768
- } : void 0,
769
- t.$slots.optionAnnotator ? {
770
- name: "optionAnnotator",
771
- fn: h(({ toggleAnnotator: a, isAnnotator: s }) => [
772
- p(t.$slots, "optionAnnotator", T(P({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
773
- ]),
774
- key: "8"
775
- } : void 0,
776
- t.$slots.optionAltCopy ? {
777
- name: "optionAltCopy",
778
- fn: h(({ altCopy: a }) => [
779
- p(t.$slots, "optionAltCopy", T(P({ altCopy: a })), void 0, !0)
780
- ]),
781
- key: "9"
782
- } : void 0
783
- ]), 1032, ["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", "style"])) : g("", !0),
784
- (n(), u("svg", {
785
- ref_key: "svgRef",
786
- ref: de,
787
- xmlns: c(ua),
788
- class: q({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
789
- viewBox: `0 0 ${m.value.chartWidth <= 0 ? 10 : m.value.chartWidth} ${m.value.chartHeight <= 0 ? 10 : m.value.chartHeight}`,
790
- style: M(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
791
- }, [
792
- we(c(xt)),
793
- t.$slots["chart-background"] ? (n(), u("foreignObject", {
794
- key: 0,
795
- x: m.value.left,
796
- y: m.value.top,
797
- width: m.value.width,
798
- height: m.value.height,
799
- style: {
800
- pointerEvents: "none"
801
- }
802
- }, [
803
- p(t.$slots, "chart-background", {}, void 0, !0)
804
- ], 8, Na)) : g("", !0),
805
- (n(!0), u(z, null, O(b.value, (a, s) => (n(), u("g", La, [
806
- L("line", {
807
- x1: m.value.left + $.value * s + $.value / 2,
808
- x2: m.value.left + $.value * s + $.value / 2,
809
- y1: m.value.top,
810
- y2: m.value.bottom,
811
- stroke: e.value.style.chart.yAxis.stroke,
812
- "stroke-width": e.value.style.chart.yAxis.strokeWidth
813
- }, null, 8, Oa),
814
- e.value.style.chart.yAxis.labels.ticks.show ? (n(), u(z, { key: 0 }, [
815
- (n(!0), u(z, null, O(a.ticks, (o) => (n(), u("line", {
816
- x1: o.x,
817
- x2: o.x - 10,
818
- y1: o.y,
819
- y2: o.y,
820
- stroke: e.value.style.chart.yAxis.stroke,
821
- "stroke-width": e.value.style.chart.yAxis.strokeWidth,
822
- style: M(`opacity:${w.value && !y.value.showTooltip ? 0.2 : 1}`)
823
- }, null, 12, _a))), 256)),
824
- c(_) ? g("", !0) : (n(), u("g", Da, [
825
- (n(!0), u(z, null, O(a.ticks, (o) => (n(), u("text", {
826
- x: o.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
827
- y: o.y + e.value.style.chart.yAxis.labels.ticks.offsetY + v.value.ticksFontSize / 3,
828
- fill: e.value.style.chart.yAxis.labels.ticks.color,
829
- "text-anchor": "end",
830
- "font-size": v.value.ticksFontSize,
831
- "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
832
- style: M(`opacity:${w.value && !y.value.showTooltip ? 0.2 : 1}`)
833
- }, H(Ge({ value: o.value, index: s, datapoint: o })), 13, Ra))), 256))
834
- ]))
835
- ], 64)) : g("", !0)
836
- ]))), 256)),
837
- e.value.style.chart.yAxis.labels.showAxisNames ? (n(), u("g", {
838
- key: 1,
839
- ref_key: "xAxisLabels",
840
- ref: re
841
- }, [
842
- (n(!0), u(z, null, O(b.value, (a, s) => (n(), u(z, null, [
843
- String(a.name).includes(`
844
- `) ? (n(), u("text", {
845
- key: 1,
846
- class: "vue-ui-parallel-coordinate-plot-x-label",
847
- fill: e.value.style.chart.yAxis.labels.axisNamesColor,
848
- "font-size": v.value.axisNameFontSize,
849
- "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
850
- "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
851
- transform: `translate(${m.value.left + $.value * s + $.value / 2}, ${G.value - v.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
852
- innerHTML: c(ra)({
853
- content: String(a.name),
854
- fontSize: v.value.axisNameFontSize,
855
- fill: e.value.style.chart.yAxis.labels.axisNamesColor,
856
- x: 0,
857
- y: 0
858
- })
859
- }, null, 8, Ea)) : (n(), u("text", {
860
- key: 0,
861
- class: "vue-ui-parallel-coordinate-plot-x-label",
862
- fill: e.value.style.chart.yAxis.labels.axisNamesColor,
863
- "font-size": v.value.axisNameFontSize,
864
- "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
865
- "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
866
- transform: `translate(${m.value.left + $.value * s + $.value / 2}, ${G.value - v.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
867
- }, H(a.name), 9, Ba))
868
- ], 64))), 256))
869
- ], 512)) : g("", !0),
870
- (n(!0), u(z, null, O(X.value, (a, s) => (n(), u("g", null, [
871
- (n(!0), u(z, null, O(a.series, (o, r) => (n(), u("g", null, [
872
- e.value.style.chart.plots.show ? (n(), u("g", Ua, [
873
- (n(!0), u(z, null, O(o.datapoints, (i, S) => (n(), I(Ta, {
874
- plot: { x: i.x, y: i.y },
875
- color: a.color,
876
- shape: a.shape,
877
- radius: a.shape === "triangle" ? v.value.plotSize * 1.2 : v.value.plotSize,
878
- stroke: e.value.style.chart.backgroundColor,
879
- strokeWidth: 0.5,
880
- onMouseenter: (x) => ae({
881
- shape: a.shape,
882
- serieName: a.name,
883
- serie: o,
884
- relativeIndex: r,
885
- seriesIndex: o.seriesIndex,
886
- S: s
887
- }),
888
- onMouseleave: (x) => te({ serie: o, shape: a.shape, S: s }),
889
- style: M(`opacity:${w.value ? w.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
890
- onClick: () => le({ serie: o, shape: a.shape, S: s })
891
- }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
892
- y.value.showTooltip ? g("", !0) : (n(), u(z, { key: 0 }, [
893
- w.value && w.value === o.id && o.datapoints.length ? (n(), u("text", {
894
- key: 0,
895
- x: o.datapoints[0].x - v.value.ticksFontSize,
896
- y: o.datapoints[0].y + v.value.ticksFontSize / 3,
897
- "text-anchor": "end",
898
- "font-size": v.value.ticksFontSize,
899
- fill: a.color,
900
- "font-weight": "bold"
901
- }, H(o.name), 9, Ha)) : g("", !0)
902
- ], 64)),
903
- e.value.style.chart.comments.show ? (n(!0), u(z, { key: 1 }, O(o.datapoints, (i) => (n(), u("g", null, [
904
- i.comment ? (n(), u("foreignObject", {
905
- key: 0,
906
- style: { overflow: "visible" },
907
- height: "12",
908
- width: e.value.style.chart.comments.width,
909
- x: i.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
910
- y: i.y + e.value.style.chart.comments.offsetY + 6
911
- }, [
912
- L("div", Wa, [
913
- p(t.$slots, "plot-comment", {
914
- plot: { ...i, color: a.color }
915
- }, void 0, !0)
916
- ])
917
- ], 8, Va)) : g("", !0)
918
- ]))), 256)) : g("", !0)
919
- ])) : g("", !0),
920
- !c(_) && (y.value.dataLabels.show || w.value && w.value === o.id) ? (n(!0), u(z, { key: 1 }, O(o.datapoints, (i, S) => (n(), u("text", {
921
- x: i.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
922
- y: i.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + v.value.datapointFontSize / 3,
923
- fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
924
- "text-anchor": "start",
925
- "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
926
- class: q({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !c(_) }),
927
- "font-size": v.value.datapointFontSize,
928
- onMouseenter: (x) => ae({
929
- shape: a.shape,
930
- serieName: a.name,
931
- serie: o,
932
- relativeIndex: r,
933
- seriesIndex: o.seriesIndex,
934
- S: s
935
- }),
936
- onMouseleave: (x) => te({ serie: o, shape: a.shape, S: s }),
937
- onClick: () => le({ serie: o, shape: a.shape, S: s }),
938
- style: M(`opacity:${w.value ? w.value === o.id ? 1 : 0.2 : 1}`)
939
- }, H(Ge({ value: i.value, index: S, datapoint: i })), 47, ja))), 256)) : g("", !0),
940
- L("path", {
941
- d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
942
- stroke: a.color,
943
- "stroke-width": e.value.style.chart.lines.strokeWidth,
944
- fill: "none",
945
- class: q({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !c(_) }),
946
- onMouseenter: (i) => ae({
947
- shape: a.shape,
948
- serieName: a.name,
949
- serie: o,
950
- relativeIndex: r,
951
- seriesIndex: o.seriesIndex,
952
- S: s
953
- }),
954
- onMouseleave: (i) => te({ serie: o, shape: a.shape, S: s }),
955
- onClick: () => le({ serie: o, shape: a.shape, S: s }),
956
- style: M(`opacity:${w.value ? w.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
957
- }, null, 46, Ga),
958
- y.value.showTooltip ? (n(), u("path", {
959
- key: 2,
960
- d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
961
- stroke: "transparent",
962
- "stroke-width": 12,
963
- fill: "none",
964
- class: q({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !c(_) }),
965
- onMouseenter: (i) => ae({
966
- shape: a.shape,
967
- serieName: a.name,
968
- serie: o,
969
- relativeIndex: r,
970
- seriesIndex: o.seriesIndex,
971
- S: s
972
- }),
973
- onMouseleave: (i) => te({ serie: o, shape: a.shape, S: s }),
974
- onClick: () => le({ serie: o, shape: a.shape, S: s }),
975
- style: { opacity: "0" }
976
- }, null, 42, Xa)) : g("", !0)
977
- ]))), 256))
978
- ]))), 256)),
979
- p(t.$slots, "svg", {
980
- svg: {
981
- ...m.value,
982
- isPrintingImg: c(pe) | c(fe) | J.value,
983
- isPrintingSvg: K.value
984
- }
985
- }, void 0, !0)
986
- ], 14, Ia)),
987
- t.$slots.watermark ? (n(), u("div", Ya, [
988
- p(t.$slots, "watermark", T(P({ isPrinting: c(pe) || c(fe) || J.value || K.value })), void 0, !0)
989
- ])) : g("", !0),
990
- L("div", {
991
- id: `legend-bottom-${B.value}`
992
- }, null, 8, qa),
993
- Le.value ? (n(), I(Jt, {
994
- key: 5,
995
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${B.value}` : `#legend-bottom-${B.value}`
996
- }, [
997
- L("div", {
998
- ref_key: "chartLegend",
999
- ref: ze
1000
- }, [
1001
- e.value.style.chart.legend.show && Z.value ? (n(), I($a, {
1002
- key: `legend_${Ie.value}`,
1003
- legendSet: ee.value,
1004
- config: Lt.value,
1005
- isCursorPointer: U.value,
1006
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => {
1007
- Q(a.id), Ye(a);
1008
- })
1009
- }, {
1010
- item: h(({ legend: a, index: s }) => [
1011
- L("div", {
1012
- onClick: (o) => {
1013
- a.segregate(), Ye(a);
1014
- },
1015
- style: M(`opacity:${k.value.includes(a.id) ? 0.5 : 1}`)
1016
- }, H(a.name), 13, Za)
1017
- ]),
1018
- legendToggle: h(() => [
1019
- ee.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !c(_) ? (n(), I(za, {
1020
- key: 0,
1021
- backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
1022
- color: e.value.style.chart.legend.selectAllToggle.color,
1023
- fontSize: e.value.style.chart.legend.fontSize,
1024
- checked: k.value.length > 0,
1025
- isCursorPointer: U.value,
1026
- onToggle: Mt
1027
- }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : g("", !0)
1028
- ]),
1029
- _: 1
1030
- }, 8, ["legendSet", "config", "isCursorPointer"])) : p(t.$slots, "legend", {
1031
- key: 1,
1032
- legend: F.value
1033
- }, void 0, !0)
1034
- ], 512)
1035
- ], 8, ["to"])) : g("", !0),
1036
- t.$slots.source ? (n(), u("div", {
1037
- key: 6,
1038
- ref_key: "source",
1039
- ref: Fe,
1040
- dir: "auto"
1041
- }, [
1042
- p(t.$slots, "source", {}, void 0, !0)
1043
- ], 512)) : g("", !0),
1044
- we(c(ft), {
1045
- teleportTo: e.value.style.chart.tooltip.teleportTo,
1046
- show: y.value.showTooltip && ge.value,
1047
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1048
- color: e.value.style.chart.tooltip.color,
1049
- fontSize: e.value.style.chart.tooltip.fontSize,
1050
- borderRadius: e.value.style.chart.tooltip.borderRadius,
1051
- borderColor: e.value.style.chart.tooltip.borderColor,
1052
- borderWidth: e.value.style.chart.tooltip.borderWidth,
1053
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1054
- position: e.value.style.chart.tooltip.position,
1055
- offsetY: e.value.style.chart.tooltip.offsetY,
1056
- parent: N.value,
1057
- content: be.value,
1058
- isFullscreen: E.value,
1059
- isCustom: c(ut)(e.value.style.chart.tooltip.customFormat),
1060
- smooth: e.value.style.chart.tooltip.smooth,
1061
- backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1062
- smoothForce: e.value.style.chart.tooltip.smoothForce,
1063
- smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1064
- }, {
1065
- "tooltip-before": h(() => [
1066
- p(t.$slots, "tooltip-before", T(P({ ...ye.value })), void 0, !0)
1067
- ]),
1068
- "tooltip-after": h(() => [
1069
- p(t.$slots, "tooltip-after", T(P({ ...ye.value })), void 0, !0)
1070
- ]),
1071
- _: 3
1072
- }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1073
- Z.value && e.value.userOptions.buttons.table ? (n(), I(Kt(Y.value.component), Qt({ key: 7 }, Y.value.props, {
1074
- ref_key: "tableUnit",
1075
- ref: j,
1076
- onClose: Ke
1077
- }), at({
1078
- content: h(() => [
1079
- (n(), I(c(gt), {
1080
- key: `table_${Ne.value}`,
1081
- colNames: W.value.colNames,
1082
- head: W.value.head,
1083
- body: W.value.body,
1084
- config: W.value.config,
1085
- title: e.value.table.useDialog ? "" : Y.value.title,
1086
- withCloseButton: !e.value.table.useDialog,
1087
- isCursorPointer: U.value,
1088
- onClose: Ke
1089
- }, {
1090
- th: h(({ th: a }) => [
1091
- L("div", { innerHTML: a }, null, 8, Ja)
1092
- ]),
1093
- td: h(({ td: a }) => [
1094
- lt(H(a), 1)
1095
- ]),
1096
- _: 1
1097
- }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
1098
- ]),
1099
- _: 2
1100
- }, [
1101
- e.value.table.useDialog ? {
1102
- name: "title",
1103
- fn: h(() => [
1104
- lt(H(Y.value.title), 1)
1105
- ]),
1106
- key: "0"
1107
- } : void 0,
1108
- e.value.table.useDialog ? {
1109
- name: "actions",
1110
- fn: h(() => [
1111
- L("button", {
1112
- tabindex: "0",
1113
- class: "vue-ui-user-options-button",
1114
- onClick: l[1] || (l[1] = (a) => ke(e.value.userOptions.callbacks.csv)),
1115
- style: M({ cursor: U.value ? "pointer" : "default" })
1116
- }, [
1117
- we(c(mt), {
1118
- name: "fileCsv",
1119
- stroke: Y.value.props.color
1120
- }, null, 8, ["stroke"])
1121
- ], 4)
1122
- ]),
1123
- key: "1"
1124
- } : void 0
1125
- ]), 1040)) : g("", !0),
1126
- p(t.$slots, "skeleton", {}, () => [
1127
- c(_) ? (n(), I(ya, { key: 0 })) : g("", !0)
1128
- ], !0)
1129
- ], 46, Sa));
1130
- }
1131
- }, gl = /* @__PURE__ */ Fa(Ka, [["__scopeId", "data-v-5ab7113f"]]);
1132
- export {
1133
- gl as default
1134
- };