vue-data-ui 3.25.4 → 3.25.6

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 (213) hide show
  1. package/README.md +13 -13
  2. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  3. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  4. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  5. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  6. package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
  7. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  8. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  9. package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  10. package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
  11. package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
  12. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  13. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-hill.js +1 -1
  40. package/dist/components/vue-ui-history-plot.js +1 -1
  41. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  42. package/dist/components/vue-ui-icon.js +1 -1
  43. package/dist/components/vue-ui-kpi.js +1 -1
  44. package/dist/components/vue-ui-label.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +1 -1
  47. package/dist/components/vue-ui-mood-radar.js +1 -1
  48. package/dist/components/vue-ui-nested-donuts.js +1 -1
  49. package/dist/components/vue-ui-onion.js +1 -1
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +1 -1
  52. package/dist/components/vue-ui-quick-chart.js +1 -1
  53. package/dist/components/vue-ui-radar.js +1 -1
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +1 -1
  56. package/dist/components/vue-ui-ridgeline.js +1 -1
  57. package/dist/components/vue-ui-rings.js +1 -1
  58. package/dist/components/vue-ui-scatter.js +1 -1
  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 +1 -1
  63. package/dist/components/vue-ui-sparkgauge.js +1 -1
  64. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  65. package/dist/components/vue-ui-sparkline.js +1 -1
  66. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  67. package/dist/components/vue-ui-stackbar.js +1 -1
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +1 -1
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +1 -1
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +1 -1
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +1 -1
  76. package/dist/components/vue-ui-treemap.js +1 -1
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +1 -1
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +1 -1
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +1 -1
  83. package/dist/components/vue-ui-xy.js +1 -1
  84. package/dist/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
  85. package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.js} +1 -1
  86. package/dist/ssr/vue-ui-donut.js +1 -1
  87. package/dist/ssr/vue-ui-xy.js +1 -1
  88. package/dist/ssr.js +2 -2
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +80 -1
  91. package/dist/types/vue-ui-annotator.d.ts +58 -2
  92. package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
  93. package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
  94. package/dist/utils.js +1 -1
  95. package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  96. package/dist/vue-data-ui.js +71 -71
  97. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  98. package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  99. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  100. package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
  101. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  102. package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
  103. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  104. package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  105. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  106. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  107. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  108. package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  109. package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
  110. package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
  111. package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  112. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  113. package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  114. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  115. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  116. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  117. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  118. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  119. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  120. package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
  121. package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  122. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  123. package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
  124. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  125. package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
  126. package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  127. package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  128. package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  129. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  130. package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
  131. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  132. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  133. package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
  134. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  135. package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
  136. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  137. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  138. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  139. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  140. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  141. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  142. package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  143. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  144. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  145. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  146. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  147. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  148. package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  149. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  150. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  151. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  152. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  153. package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  154. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  155. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  156. package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
  157. package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
  158. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  159. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  160. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  161. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  162. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  163. package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
  164. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  165. package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  166. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  167. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  168. package/package.json +1 -1
  169. package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
  170. package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
  171. package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
  172. package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
  173. package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
  174. package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
  175. package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
  176. package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
  177. package/dist/vue-ui-donut-DfiocufT.js +0 -2413
  178. package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
  179. package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
  180. package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
  181. package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
  182. package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
  183. package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
  184. package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
  185. package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
  186. package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
  187. package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
  188. package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
  189. package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
  190. package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
  191. package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
  192. package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
  193. package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
  194. package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
  195. package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
  196. package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
  197. package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
  198. package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
  199. package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
  200. package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
  201. package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
  202. package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
  203. package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
  204. package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
  205. package/dist/vue-ui-table-BQna1wL6.js +0 -1352
  206. package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
  207. package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
  208. package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
  209. package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
  210. package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
  211. package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
  212. package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
  213. package/dist/vue-ui-xy-canvas-B_8Mu19r.js +0 -1824
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { $ as t, Ct as n, D as r, G as i, Jt as a, Lt as o, P as s, Pt as c, S as ee, V as te, X as ne, Xt as re, Yt as ie, Zt as ae, _ as oe, _t as se, ht as ce, i as le, lt as ue, nt as de, q as fe, t as pe, w as me } from "./lib-Dql7cqyA.js";
3
3
  import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
4
- import { t as _e } from "./useConfig-CyCVHo81.js";
4
+ import { t as _e } from "./useConfig-CIQZ6_r7.js";
5
5
  import { t as ve } from "./usePrinter-DISD7q5m.js";
6
6
  import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as xe } from "./useNestedProp-Chvyfpl-.js";
@@ -14,7 +14,7 @@ import { n as De } from "./Title-CPHi-evi.js";
14
14
  import { t as Oe } from "./Shape-CIqU-p2F.js";
15
15
  import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
16
  import { l as Ae, t as je } from "./useResponsive-ZtArZtUf.js";
17
- import { t as Me } from "./BaseLegendToggle-__JnV08B.js";
17
+ import { t as Me } from "./BaseLegendToggle-CXQrLjd-.js";
18
18
  import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
19
19
  import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
20
20
  import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
@@ -125,7 +125,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
125
125
  "copyAlt"
126
126
  ],
127
127
  setup(e, { expose: ke, emit: Ze }) {
128
- let St = h(() => import("./Tooltip-hhrkQ3Lk.js")), Ct = h(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), wt = h(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), Tt = h(() => import("./DataTable-COIO9gi4.js")), Et = h(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Dt = h(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Ot = h(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), kt = h(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: At } = _e(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), D = e, Nt = u({
128
+ let St = h(() => import("./Tooltip-hhrkQ3Lk.js")), Ct = h(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), wt = h(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), Tt = h(() => import("./DataTable-oiM9uWrQ.js")), Et = h(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Dt = h(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ot = h(() => import("./PackageVersion-ur6jKRL5.js").then((e) => e.t)), kt = h(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: At } = _e(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), D = e, Nt = u({
129
129
  get() {
130
130
  return !!D.dataset && D.dataset.length;
131
131
  },
@@ -139,7 +139,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
139
139
  function Yt(e) {
140
140
  j.value = e, Pt.value += 1;
141
141
  }
142
- let M = x(nn()), { transitionEnabled: N } = we({
142
+ let M = x(rn()), N = u(() => M.value.userOptions), P = u(() => M.value.style.chart.yAxis.labels), F = u(() => M.value.style.chart.tooltip), I = u(() => M.value.style.chart), { transitionEnabled: L } = we({
143
143
  config: () => M.value.transitions,
144
144
  dataset: () => D.dataset
145
145
  });
@@ -175,7 +175,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
175
175
  }
176
176
  ]
177
177
  });
178
- let P = u(() => M.value.userOptions.useCursorPointer), Xt = u(() => ae({
178
+ let R = u(() => M.value.userOptions.useCursorPointer), Xt = u(() => ae({
179
179
  defaultConfig: {
180
180
  useCssAnimation: !1,
181
181
  userOptions: { show: !1 },
@@ -197,13 +197,13 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
197
197
  } }
198
198
  },
199
199
  userConfig: M.value.skeletonConfig ?? {}
200
- })), { loading: F, FINAL_DATASET: Zt, manualLoading: Qt } = ye({
200
+ })), { loading: Zt, FINAL_DATASET: Qt, manualLoading: $t } = ye({
201
201
  ...Je(D),
202
202
  FINAL_CONFIG: M,
203
- prepareConfig: nn,
203
+ prepareConfig: rn,
204
204
  callback: () => {
205
205
  Promise.resolve().then(async () => {
206
- await Ue(), H.value.showTable = M.value.table.show;
206
+ await Ue(), G.value.showTable = M.value.table.show;
207
207
  });
208
208
  },
209
209
  skeletonDataset: D.config?.skeletonDataset ?? [
@@ -254,8 +254,8 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
254
254
  defaultConfig: M.value,
255
255
  userConfig: Xt.value
256
256
  })
257
- }), { userOptionsVisible: $t, setUserOptionsVisibility: en, keepUserOptionState: tn } = Pe({ config: M.value }), { svgRef: I } = Fe({ config: M.value.style.chart.title });
258
- function nn() {
257
+ }), { userOptionsVisible: en, setUserOptionsVisibility: tn, keepUserOptionState: nn } = Pe({ config: M.value }), { svgRef: z } = Fe({ config: I.value.title });
258
+ function rn() {
259
259
  let e = xe({
260
260
  userConfig: D.config,
261
261
  defaultConfig: At
@@ -275,21 +275,21 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
275
275
  };
276
276
  }
277
277
  Ye(() => D.config, (e) => {
278
- F.value || (M.value = nn()), $t.value = !M.value.userOptions.showOnChartHover, an(), zt.value += 1, Vt.value += 1, Bt.value += 1, H.value.dataLabels.show = M.value.style.chart.yAxis.labels.datapoints.show, H.value.showTable = M.value.table.show, H.value.showTooltip = M.value.style.chart.tooltip.show;
278
+ Zt.value || (M.value = rn()), en.value = !M.value.userOptions.showOnChartHover, on(), zt.value += 1, Vt.value += 1, Bt.value += 1, G.value.dataLabels.show = P.value.datapoints.show, G.value.showTable = M.value.table.show, G.value.showTooltip = F.value.show;
279
279
  }, { deep: !0 }), Ye(() => D.dataset, (e) => {
280
- Array.isArray(e) && e.length > 0 && (Qt.value = !1);
280
+ Array.isArray(e) && e.length > 0 && ($t.value = !1);
281
281
  }, { deep: !0 });
282
- let L = qe(null), R = qe(null);
282
+ let B = qe(null), V = qe(null);
283
283
  Ge(() => {
284
- Ht.value = !0, an();
284
+ Ht.value = !0, on();
285
285
  });
286
- let rn = u(() => M.value.debug);
287
- function an() {
286
+ let an = u(() => M.value.debug);
287
+ function on() {
288
288
  if (c(D.dataset) ? (de({
289
289
  componentName: "VueUiParallelCoordinatePlot",
290
290
  type: "dataset",
291
- debug: rn.value
292
- }), Qt.value = !0) : D.dataset.forEach((e, t) => {
291
+ debug: an.value
292
+ }), $t.value = !0) : D.dataset.forEach((e, t) => {
293
293
  ce({
294
294
  datasetObject: e,
295
295
  requiredAttributes: ["name", "series"]
@@ -299,109 +299,109 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
299
299
  type: "datasetSerieAttribute",
300
300
  property: e,
301
301
  index: t,
302
- debug: rn.value
302
+ debug: an.value
303
303
  });
304
304
  });
305
- }), c(D.dataset) || (Qt.value = M.value.loading), M.value.responsive) {
305
+ }), c(D.dataset) || ($t.value = M.value.loading), M.value.responsive) {
306
306
  let e = Ae(() => {
307
307
  let { width: e, height: t } = je({
308
308
  chart: O.value,
309
- title: M.value.style.chart.title.text ? Ft.value : null,
310
- legend: M.value.style.chart.legend.show ? It.value : null,
309
+ title: I.value.title.text ? Ft.value : null,
310
+ legend: I.value.legend.show ? It.value : null,
311
311
  source: Lt.value,
312
312
  noTitle: Rt.value
313
313
  });
314
314
  requestAnimationFrame(() => {
315
- z.value.width = e, z.value.height = t - 12, M.value.responsiveProportionalSizing ? (z.value.plotSize = re({
315
+ H.value.width = e, H.value.height = t - 12, M.value.responsiveProportionalSizing ? (H.value.plotSize = re({
316
316
  relator: Math.min(e, t),
317
317
  adjuster: 600,
318
- source: M.value.style.chart.plots.radius,
318
+ source: I.value.plots.radius,
319
319
  threshold: 2,
320
320
  fallback: 2
321
- }), z.value.ticksFontSize = re({
321
+ }), H.value.ticksFontSize = re({
322
322
  relator: Math.min(e, t),
323
323
  adjuster: 600,
324
- source: M.value.style.chart.yAxis.labels.ticks.fontSize,
324
+ source: P.value.ticks.fontSize,
325
325
  threshold: 10,
326
326
  fallback: 10
327
- }), z.value.datapointFontSize = re({
327
+ }), H.value.datapointFontSize = re({
328
328
  relator: Math.min(e, t),
329
329
  adjuster: 600,
330
- source: M.value.style.chart.yAxis.labels.datapoints.fontSize,
330
+ source: P.value.datapoints.fontSize,
331
331
  threshold: 10,
332
332
  fallback: 10
333
- }), z.value.axisNameFontSize = re({
333
+ }), H.value.axisNameFontSize = re({
334
334
  relator: Math.min(e, t),
335
335
  adjuster: 600,
336
- source: M.value.style.chart.yAxis.labels.axisNamesFontSize,
336
+ source: P.value.axisNamesFontSize,
337
337
  threshold: 12,
338
338
  fallback: 12
339
- })) : (z.value.plotSize = M.value.style.chart.plots.radius, z.value.ticksFontSize = M.value.style.chart.yAxis.labels.ticks.fontSize, z.value.datapointFontSize = M.value.style.chart.yAxis.labels.datapoints.fontSize, z.value.axisNameFontSize = M.value.style.chart.yAxis.labels.axisNamesFontSize);
339
+ })) : (H.value.plotSize = I.value.plots.radius, H.value.ticksFontSize = P.value.ticks.fontSize, H.value.datapointFontSize = P.value.datapoints.fontSize, H.value.axisNameFontSize = P.value.axisNamesFontSize);
340
340
  });
341
341
  });
342
- L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = O.value.parentNode, L.value.observe(R.value);
342
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = O.value.parentNode, B.value.observe(V.value);
343
343
  }
344
344
  }
345
345
  We(() => {
346
- L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
346
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
347
347
  });
348
- let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = ve({
348
+ let { isPrinting: sn, isImaging: cn, generatePdf: ln, generateImage: un } = ve({
349
349
  elementId: `pcp_${A.value}`,
350
- fileName: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
350
+ fileName: I.value.title.text || "vue-ui-parallel-coordinate-plot",
351
351
  options: M.value.userOptions.print
352
- }), un = u(() => M.value.userOptions.show && !M.value.style.chart.title.text), z = x({
353
- height: M.value.style.chart.height,
354
- width: M.value.style.chart.width,
355
- plotSize: M.value.style.chart.plots.radius,
356
- ticksFontSize: M.value.style.chart.yAxis.labels.ticks.fontSize,
357
- datapointFontSize: M.value.style.chart.yAxis.labels.datapoints.fontSize,
358
- axisNameFontSize: M.value.style.chart.yAxis.labels.axisNamesFontSize
359
- }), dn = u(() => z.value.width), fn = u(() => z.value.height), B = x(0), pn = Ae((e) => {
360
- B.value = e;
352
+ }), dn = u(() => M.value.userOptions.show && !I.value.title.text), H = x({
353
+ height: I.value.height,
354
+ width: I.value.width,
355
+ plotSize: I.value.plots.radius,
356
+ ticksFontSize: P.value.ticks.fontSize,
357
+ datapointFontSize: P.value.datapoints.fontSize,
358
+ axisNameFontSize: P.value.axisNamesFontSize
359
+ }), fn = u(() => H.value.width), pn = u(() => H.value.height), U = x(0), mn = Ae((e) => {
360
+ U.value = e;
361
361
  }, 100);
362
362
  Xe((e) => {
363
363
  let t = Gt.value;
364
364
  if (!t) return;
365
365
  let n = new ResizeObserver((e) => {
366
- pn(e[0].contentRect.height);
366
+ mn(e[0].contentRect.height);
367
367
  });
368
368
  n.observe(t), e(() => n.disconnect());
369
369
  });
370
- let V = u(() => {
371
- let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i = fn.value, a = dn.value;
370
+ let W = u(() => {
371
+ let { top: e, right: t, bottom: n, left: r } = I.value.padding, i = pn.value, a = fn.value;
372
372
  return {
373
373
  chartHeight: Math.max(.001, i),
374
374
  chartWidth: Math.max(.001, a),
375
- height: Math.max(.001, i - e - n - B.value - z.value.datapointFontSize * 2),
375
+ height: Math.max(.001, i - e - n - U.value - H.value.datapointFontSize * 2),
376
376
  width: Math.max(.001, a - r - t),
377
- top: e + B.value + z.value.datapointFontSize,
377
+ top: e + U.value + H.value.datapointFontSize,
378
378
  left: r,
379
379
  right: a - t,
380
- bottom: i - n - z.value.datapointFontSize
380
+ bottom: i - n - H.value.datapointFontSize
381
381
  };
382
- }), mn = u(() => me(M.value.customPalette)), H = x({
383
- dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
382
+ }), hn = u(() => me(M.value.customPalette)), G = x({
383
+ dataLabels: { show: P.value.datapoints.show },
384
384
  showTable: M.value.table.show,
385
- showTooltip: M.value.style.chart.tooltip.show
385
+ showTooltip: F.value.show
386
386
  });
387
387
  Ye(M, () => {
388
- H.value = {
389
- dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
388
+ G.value = {
389
+ dataLabels: { show: P.value.datapoints.show },
390
390
  showTable: M.value.table.show,
391
- showTooltip: M.value.style.chart.tooltip.show
391
+ showTooltip: F.value.show
392
392
  };
393
393
  }, { immediate: !0 });
394
- let U = x([]);
395
- function hn() {
396
- U.value.length ? U.value = [] : G.value.forEach((e) => {
397
- U.value.push(e.id);
398
- }), Mn("selectLegend", q.value);
394
+ let K = x([]);
395
+ function gn() {
396
+ K.value.length ? K.value = [] : xn.value.forEach((e) => {
397
+ K.value.push(e.id);
398
+ }), Fn("selectLegend", wn.value);
399
399
  }
400
- function gn(e) {
401
- U.value.includes(e) ? U.value = U.value.filter((t) => t !== e) : U.value.push(e), Mn("selectLegend", q.value);
400
+ function _n(e) {
401
+ K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : K.value.push(e), Fn("selectLegend", wn.value);
402
402
  }
403
- let W = u(() => Zt.value.map((e, t) => {
404
- let n = ee(e.color) || mn.value[t] || o[t] || o[t % o.length];
403
+ let q = u(() => Qt.value.map((e, t) => {
404
+ let n = ee(e.color) || hn.value[t] || o[t] || o[t % o.length];
405
405
  return {
406
406
  ...e,
407
407
  series: e.series.map((e) => ({
@@ -415,54 +415,54 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
415
415
  shape: e.shape || "circle"
416
416
  };
417
417
  }));
418
- function _n(e) {
419
- return W.value.length ? W.value.find((t) => t.name === e) || (rn.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (rn.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
420
- }
421
418
  function vn(e) {
422
- let t = _n(e);
423
- t !== null && U.value.includes(t.id) && gn(t.id);
419
+ return q.value.length ? q.value.find((t) => t.name === e) || (an.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (an.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
424
420
  }
425
421
  function yn(e) {
426
- let t = _n(e);
427
- t !== null && (U.value.includes(t.id) || gn(t.id));
422
+ let t = vn(e);
423
+ t !== null && K.value.includes(t.id) && _n(t.id);
424
+ }
425
+ function bn(e) {
426
+ let t = vn(e);
427
+ t !== null && (K.value.includes(t.id) || _n(t.id));
428
428
  }
429
- let G = u(() => W.value.map((e) => ({
429
+ let xn = u(() => q.value.map((e) => ({
430
430
  ...e,
431
- opacity: U.value.includes(e.id) ? .5 : 1,
432
- segregate: () => gn(e.id),
433
- isSegregated: U.value.includes(e.id),
431
+ opacity: K.value.includes(e.id) ? .5 : 1,
432
+ segregate: () => _n(e.id),
433
+ isSegregated: K.value.includes(e.id),
434
434
  shape: e.shape || "circle"
435
- }))), bn = u(() => ({
435
+ }))), Sn = u(() => ({
436
436
  cy: "pcp-div-legend",
437
- backgroundColor: M.value.style.chart.legend.backgroundColor,
438
- color: M.value.style.chart.legend.color,
439
- fontSize: M.value.style.chart.legend.fontSize,
437
+ backgroundColor: I.value.legend.backgroundColor,
438
+ color: I.value.legend.color,
439
+ fontSize: I.value.legend.fontSize,
440
440
  paddingBottom: 12,
441
- fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
442
- })), xn = u(() => Math.max(...W.value.filter((e) => !U.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), K = u(() => V.value.width / xn.value), q = u(() => W.value.filter((e) => !U.value.includes(e.id))), J = u(() => {
441
+ fontWeight: I.value.legend.bold ? "bold" : ""
442
+ })), Cn = u(() => Math.max(...q.value.filter((e) => !K.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), J = u(() => W.value.width / Cn.value), wn = u(() => q.value.filter((e) => !K.value.includes(e.id))), Y = u(() => {
443
443
  let e = [];
444
- for (let t = 0; t < xn.value; t += 1) {
445
- let n = Math.min(...q.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...q.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = r === n ? n / 4 : n, a = r === n ? r * 2 : r, o = oe(i, a, M.value.style.chart.yAxis.scaleTicks), s = o.ticks.map((e, n) => {
444
+ for (let t = 0; t < Cn.value; t += 1) {
445
+ let n = Math.min(...wn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...wn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = r === n ? n / 4 : n, a = r === n ? r * 2 : r, o = oe(i, a, I.value.yAxis.scaleTicks), s = o.ticks.map((e, n) => {
446
446
  let r = o.min < 0 ? e + Math.abs(o.min) : e - Math.abs(o.min), i = o.min < 0 ? o.max + Math.abs(o.min) : o.max - Math.abs(o.min);
447
447
  return {
448
- y: V.value.bottom - V.value.height * (r / i),
449
- x: V.value.left + K.value * t + K.value / 2,
448
+ y: W.value.bottom - W.value.height * (r / i),
449
+ x: W.value.left + J.value * t + J.value / 2,
450
450
  value: e
451
451
  };
452
452
  });
453
453
  e.push({
454
454
  scale: o,
455
455
  ticks: s,
456
- name: M.value.style.chart.yAxis.labels.axisNames[t] || `Y-${t + 1}`
456
+ name: P.value.axisNames[t] || `Y-${t + 1}`
457
457
  });
458
458
  }
459
459
  return e;
460
- }), Y = u(() => q.value.map((e, t) => ({
460
+ }), X = u(() => wn.value.map((e, t) => ({
461
461
  ...e,
462
462
  series: e.series.map((n, r) => ({
463
463
  ...n,
464
464
  datapoints: n.values.map((i, a) => {
465
- let o = J.value[a].scale.min < 0 ? (i || 0) + Math.abs(J.value[a].scale.min) : (i || 0) - Math.abs(J.value[a].scale.min), s = J.value[a].scale.min < 0 ? J.value[a].scale.max + Math.abs(J.value[a].scale.min) : J.value[a].scale.max - Math.abs(J.value[a].scale.min);
465
+ let o = Y.value[a].scale.min < 0 ? (i || 0) + Math.abs(Y.value[a].scale.min) : (i || 0) - Math.abs(Y.value[a].scale.min), s = Y.value[a].scale.min < 0 ? Y.value[a].scale.max + Math.abs(Y.value[a].scale.min) : Y.value[a].scale.max - Math.abs(Y.value[a].scale.min);
466
466
  return {
467
467
  name: n.name,
468
468
  seriesName: e.name,
@@ -470,8 +470,8 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
470
470
  datapointIndex: r,
471
471
  seriesIndex: t,
472
472
  value: i || 0,
473
- x: V.value.left + K.value * a + K.value / 2,
474
- y: V.value.bottom - V.value.height * (o / s),
473
+ x: W.value.left + J.value * a + J.value / 2,
474
+ y: W.value.bottom - W.value.height * (o / s),
475
475
  comment: n.comments && n.comments[a] || ""
476
476
  };
477
477
  })
@@ -479,7 +479,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
479
479
  })).map((e) => ({
480
480
  ...e,
481
481
  series: e.series.map((e) => {
482
- let t = te(e.datapoints), n = s(e.datapoints, .12), r = se(M.value.style.chart.lines.smooth ? `M ${n}` : `M ${t}`);
482
+ let t = te(e.datapoints), n = s(e.datapoints, .12), r = se(I.value.lines.smooth ? `M ${n}` : `M ${t}`);
483
483
  return {
484
484
  ...e,
485
485
  smoothPath: n,
@@ -487,7 +487,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
487
487
  pathLength: r
488
488
  };
489
489
  })
490
- }))), X = u(() => Y.value.flatMap((e, t) => e.series.map((n, r) => ({
490
+ }))), Z = u(() => X.value.flatMap((e, t) => e.series.map((n, r) => ({
491
491
  shape: e.shape,
492
492
  serieName: e.name,
493
493
  serie: n,
@@ -496,19 +496,19 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
496
496
  S: t,
497
497
  key: `${t}_${r}`
498
498
  }))));
499
- function Sn({ value: e, index: t, datapoint: n }) {
500
- return le(M.value.style.chart.yAxis.labels.formatters[t] || null, e, ne({
501
- p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
499
+ function Tn({ value: e, index: t, datapoint: n }) {
500
+ return le(P.value.formatters[t] || null, e, ne({
501
+ p: P.value.prefixes[t] || "",
502
502
  v: e,
503
- s: M.value.style.chart.yAxis.labels.suffixes[t] || "",
504
- r: M.value.style.chart.yAxis.labels.roundings[t] || 0
503
+ s: P.value.suffixes[t] || "",
504
+ r: P.value.roundings[t] || 0
505
505
  }), {
506
506
  datapoint: n,
507
507
  seriesIndex: t
508
508
  });
509
509
  }
510
- let Z = x(null), Cn = x(null), wn = x(!1), Tn = x("");
511
- function En({ shape: e, serie: t, S: n }) {
510
+ let Q = x(null), En = x(null), Dn = x(!1), On = x("");
511
+ function kn({ shape: e, serie: t, S: n }) {
512
512
  M.value.events.datapointLeave && M.value.events.datapointLeave({
513
513
  datapoint: {
514
514
  ...t,
@@ -516,73 +516,73 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
516
516
  },
517
517
  seriesIndex: n
518
518
  });
519
- let r = k.value === null ? null : X.value[k.value];
520
- qt.value === "keyboard" && r && r.serie.id === t.id || (Z.value = null, wn.value = !1);
519
+ let r = k.value === null ? null : Z.value[k.value];
520
+ qt.value === "keyboard" && r && r.serie.id === t.id || (Q.value = null, Dn.value = !1);
521
521
  }
522
- function Dn(e) {
523
- if (!I.value || !e?.datapoints?.length) return;
522
+ function An(e) {
523
+ if (!z.value || !e?.datapoints?.length) return;
524
524
  let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
525
525
  if (!t) return;
526
- let n = a(t.x, t.y, I.value);
526
+ let n = a(t.x, t.y, z.value);
527
527
  n && (Kt.value = n);
528
528
  }
529
- function On({ shape: e, serieName: t, serie: r, relativeIndex: i, seriesIndex: a, S: o, triggerMode: s = "pointer" }) {
529
+ function jn({ shape: e, serieName: t, serie: r, relativeIndex: i, seriesIndex: a, S: o, triggerMode: s = "pointer" }) {
530
530
  M.value.events.datapointEnter && M.value.events.datapointEnter({
531
531
  datapoint: {
532
532
  ...r,
533
533
  shape: e
534
534
  },
535
535
  seriesIndex: o
536
- }), qt.value = s, Cn.value = {
536
+ }), qt.value = s, En.value = {
537
537
  config: M.value,
538
538
  datapoint: r,
539
539
  serie: r,
540
540
  relativeIndex: i,
541
541
  seriesIndex: a,
542
- series: W.value,
543
- scales: J.value
544
- }, wn.value = !0, Z.value = r.id;
545
- let c = "", ee = M.value.style.chart.tooltip.customFormat;
542
+ series: q.value,
543
+ scales: Y.value
544
+ }, Dn.value = !0, Q.value = r.id;
545
+ let c = "", ee = F.value.customFormat;
546
546
  n(ee) && ue(() => ee({
547
547
  serie: r,
548
548
  seriesIndex: r.seriesIndex,
549
- series: W.value,
549
+ series: q.value,
550
550
  config: M.value,
551
- scales: J.value
552
- })) ? Tn.value = ee({
551
+ scales: Y.value
552
+ })) ? On.value = ee({
553
553
  serie: r,
554
554
  seriesIndex: r.seriesIndex,
555
- series: W.value,
555
+ series: q.value,
556
556
  config: M.value,
557
- scales: J.value
558
- }) : (c += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${r.name}</div>`, J.value.map((e) => e.name).forEach((e, t) => {
557
+ scales: Y.value
558
+ }) : (c += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${r.name}</div>`, Y.value.map((e) => e.name).forEach((e, t) => {
559
559
  c += `
560
560
  <div class="vue-ui-tooltip-item" style="text-align:left">
561
561
  <span>${e}: </span>
562
562
  <span>
563
- ${le(M.value.style.chart.yAxis.labels.formatters[t] || null, r.datapoints[t].value, ne({
564
- p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
563
+ ${le(P.value.formatters[t] || null, r.datapoints[t].value, ne({
564
+ p: P.value.prefixes[t] || "",
565
565
  v: r.datapoints[t].value,
566
- s: M.value.style.chart.yAxis.labels.suffixes[t] || "",
567
- r: M.value.style.chart.yAxis.labels.roundings[t] || ""
566
+ s: P.value.suffixes[t] || "",
567
+ r: P.value.roundings[t] || ""
568
568
  }), {
569
569
  datapoint: r.datapoints[t],
570
570
  seriesIndex: t
571
571
  })}
572
572
  </span>
573
573
  </div>
574
- `, M.value.style.chart.comments.showInTooltip && r.datapoints[t].comment && (c += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${r.datapoints[t].comment}</div>`);
575
- }), Tn.value = `<div>${c}</div>`), s === "keyboard" && Ue(() => {
576
- Dn(r);
574
+ `, I.value.comments.showInTooltip && r.datapoints[t].comment && (c += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${r.datapoints[t].comment}</div>`);
575
+ }), On.value = `<div>${c}</div>`), s === "keyboard" && Ue(() => {
576
+ An(r);
577
577
  });
578
578
  }
579
- function kn() {
580
- return W.value;
579
+ function Mn() {
580
+ return q.value;
581
581
  }
582
- let Q = u(() => {
583
- let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(J.value.map((e) => e.name));
582
+ let $ = u(() => {
583
+ let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(Y.value.map((e) => e.name));
584
584
  return {
585
- body: Y.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
585
+ body: X.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
586
586
  head: e,
587
587
  config: {
588
588
  th: {
@@ -597,52 +597,52 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
597
597
  },
598
598
  breakpoint: M.value.table.responsiveBreakpoint
599
599
  },
600
- colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(J.value.map((e) => e.name))
600
+ colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(Y.value.map((e) => e.name))
601
601
  };
602
- }), An = u(() => Y.value.length === 0 ? {
602
+ }), Nn = u(() => X.value.length === 0 ? {
603
603
  head: [],
604
604
  body: [],
605
605
  config: {},
606
606
  columnNames: []
607
607
  } : {
608
- head: Q.value.head,
609
- body: Q.value.body
608
+ head: $.value.head,
609
+ body: $.value.body
610
610
  });
611
- function jn(e = null) {
611
+ function Pn(e = null) {
612
612
  let n = [
613
- [M.value.style.chart.title.text],
614
- [M.value.style.chart.title.subtitle.text],
613
+ [I.value.title.text],
614
+ [I.value.title.subtitle.text],
615
615
  [""]
616
- ], i = An.value.head, a = An.value.body, o = n.concat([i]).concat(a), s = r(o);
616
+ ], i = Nn.value.head, a = Nn.value.body, o = n.concat([i]).concat(a), s = r(o);
617
617
  e ? e(s) : t({
618
618
  csvContent: s,
619
- title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
619
+ title: I.value.title.text || "vue-ui-parallel-coordinate-plot"
620
620
  });
621
621
  }
622
- let Mn = Ze;
623
- function Nn({ serie: e, shape: t, S: n }) {
622
+ let Fn = Ze;
623
+ function In({ serie: e, shape: t, S: n }) {
624
624
  M.value.events.datapointClick && M.value.events.datapointClick({
625
625
  datapoint: {
626
626
  ...e,
627
627
  shape: t
628
628
  },
629
629
  seriesIndex: n
630
- }), Mn("selectDatapoint", e);
630
+ }), Fn("selectDatapoint", e);
631
631
  }
632
- function Pn() {
633
- H.value.showTable = !H.value.showTable;
632
+ function Ln() {
633
+ G.value.showTable = !G.value.showTable;
634
634
  }
635
- function Fn() {
636
- H.value.dataLabels.show = !H.value.dataLabels.show;
635
+ function Rn() {
636
+ G.value.dataLabels.show = !G.value.dataLabels.show;
637
637
  }
638
- function In() {
639
- H.value.showTooltip = !H.value.showTooltip;
638
+ function zn() {
639
+ G.value.showTooltip = !G.value.showTooltip;
640
640
  }
641
- let Ln = x(!1);
642
- function Rn() {
643
- Ln.value = !Ln.value;
641
+ let Bn = x(!1);
642
+ function Vn() {
643
+ Bn.value = !Bn.value;
644
644
  }
645
- async function zn({ scale: e = 2 } = {}) {
645
+ async function Hn({ scale: e = 2 } = {}) {
646
646
  if (!O.value) return;
647
647
  let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
648
648
  domElement: O.value,
@@ -653,20 +653,20 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
653
653
  return {
654
654
  imageUri: i,
655
655
  base64: a,
656
- title: M.value.style.chart.title.text,
656
+ title: I.value.title.text,
657
657
  width: t,
658
658
  height: n,
659
659
  aspectRatio: r
660
660
  };
661
661
  }
662
- let Bn = x({
662
+ let Un = x({
663
663
  start: 0,
664
664
  end: 1
665
- }), Vn = u(() => J.value.map((e) => e.name));
665
+ }), Wn = u(() => Y.value.map((e) => e.name));
666
666
  Te({
667
667
  timeLabelsEls: Gt,
668
- timeLabels: Vn,
669
- slicer: Bn,
668
+ timeLabels: Wn,
669
+ slicer: Un,
670
670
  configRef: M,
671
671
  rotationPath: [
672
672
  "style",
@@ -684,16 +684,16 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
684
684
  "enable"
685
685
  ],
686
686
  isAutoSize: !1,
687
- width: dn,
688
- height: fn,
687
+ width: fn,
688
+ height: pn,
689
689
  targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
690
- rotation: M.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
690
+ rotation: P.value.axisNamesAutoRotate.angle
691
691
  });
692
- let Hn = u(() => {
693
- let e = M.value.table.useDialog && !M.value.table.show, t = H.value.showTable;
692
+ let Gn = u(() => {
693
+ let e = M.value.table.useDialog && !M.value.table.show, t = G.value.showTable;
694
694
  return {
695
695
  component: e ? kt : wt,
696
- title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
696
+ title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
697
697
  props: e ? {
698
698
  backgroundColor: M.value.table.th.backgroundColor,
699
699
  color: M.value.table.th.color,
@@ -702,86 +702,86 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
702
702
  isFullscreen: j.value,
703
703
  fullscreenParent: O.value,
704
704
  forcedWidth: Math.min(800, window.innerWidth * .8),
705
- isCursorPointer: P.value
705
+ isCursorPointer: R.value
706
706
  } : {
707
707
  hideDetails: !0,
708
708
  config: {
709
709
  open: t,
710
710
  maxHeight: 1e4,
711
711
  body: {
712
- backgroundColor: M.value.style.chart.backgroundColor,
713
- color: M.value.style.chart.color
712
+ backgroundColor: I.value.backgroundColor,
713
+ color: I.value.color
714
714
  },
715
715
  head: {
716
- backgroundColor: M.value.style.chart.backgroundColor,
717
- color: M.value.style.chart.color
716
+ backgroundColor: I.value.backgroundColor,
717
+ color: I.value.color
718
718
  }
719
719
  }
720
720
  }
721
721
  };
722
722
  });
723
- Ye(() => H.value.showTable, (e) => {
723
+ Ye(() => G.value.showTable, (e) => {
724
724
  M.value.table.show || (e && M.value.table.useDialog && Ut.value ? Ut.value.open() : "close" in Ut.value && Ut.value.close());
725
725
  });
726
- function Un() {
727
- H.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
726
+ function Kn() {
727
+ G.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
728
728
  }
729
- let Wn = u(() => M.value.style.chart.backgroundColor), Gn = u(() => M.value.style.chart.legend), Kn = u(() => M.value.style.chart.title), { isCallbackImaging: qn, isCallbackSvg: Jn, generateSvg: Yn, onGenerateImage: Xn } = Ce({
730
- svg: I,
731
- title: Kn,
732
- legend: Gn,
733
- legendItems: G,
734
- backgroundColor: Wn,
729
+ let qn = u(() => I.value.backgroundColor), Jn = u(() => I.value.legend), Yn = u(() => I.value.title), { isCallbackImaging: Xn, isCallbackSvg: Zn, generateSvg: Qn, onGenerateImage: $n } = Ce({
730
+ svg: z,
731
+ title: Yn,
732
+ legend: Jn,
733
+ legendItems: xn,
734
+ backgroundColor: qn,
735
735
  getSvgCallback: () => M.value.userOptions.callbacks.svg,
736
- generateImage: ln
736
+ generateImage: un
737
737
  });
738
- async function Zn() {
739
- if (Mn("copyAlt", {
738
+ async function er() {
739
+ if (Fn("copyAlt", {
740
740
  config: M.value,
741
- dataset: Y.value
741
+ dataset: X.value
742
742
  }), !M.value.userOptions.callbacks.altCopy) {
743
743
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
744
744
  return;
745
745
  }
746
746
  await Promise.resolve(M.value.userOptions.callbacks.altCopy({
747
747
  config: M.value,
748
- dataset: Y.value
748
+ dataset: X.value
749
749
  }));
750
750
  }
751
- function Qn(e) {
752
- let t = X.value.length;
751
+ function tr(e) {
752
+ let t = Z.value.length;
753
753
  return t ? (e % t + t) % t : null;
754
754
  }
755
- function $n() {
755
+ function nr() {
756
756
  if (k.value !== null) {
757
- let e = X.value[k.value];
758
- e && En({
757
+ let e = Z.value[k.value];
758
+ e && kn({
759
759
  shape: e.shape,
760
760
  serie: e.serie,
761
761
  S: e.S
762
762
  });
763
763
  }
764
- k.value = null, qt.value = "pointer", Z.value = null, wn.value = !1;
764
+ k.value = null, qt.value = "pointer", Q.value = null, Dn.value = !1;
765
765
  }
766
- function er() {
766
+ function rr() {
767
767
  k.value = null, Jt.value = !0;
768
768
  }
769
- function tr() {
770
- $n(), Jt.value = !1;
769
+ function ir() {
770
+ nr(), Jt.value = !1;
771
771
  }
772
- function nr(e) {
773
- if (!I.value || Ln.value || document.activeElement !== I.value || !X.value.length) return;
772
+ function ar(e) {
773
+ if (!z.value || Bn.value || document.activeElement !== z.value || !Z.value.length) return;
774
774
  let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
775
775
  if (!t && !n && !r && !i) return;
776
776
  if (e.preventDefault(), e.stopPropagation(), i) {
777
- $n();
777
+ nr();
778
778
  return;
779
779
  }
780
780
  if (r) {
781
781
  if (k.value === null) return;
782
- let e = X.value[k.value];
782
+ let e = Z.value[k.value];
783
783
  if (!e) return;
784
- Nn({
784
+ In({
785
785
  serie: e.serie,
786
786
  shape: e.shape,
787
787
  S: e.S
@@ -789,9 +789,9 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
789
789
  return;
790
790
  }
791
791
  let a = k.value;
792
- a = a === null ? n ? 0 : X.value.length - 1 : Qn(a + (n ? 1 : -1));
793
- let o = X.value[a];
794
- o && (k.value = a, On({
792
+ a = a === null ? n ? 0 : Z.value.length - 1 : tr(a + (n ? 1 : -1));
793
+ let o = Z.value[a];
794
+ o && (k.value = a, jn({
795
795
  shape: o.shape,
796
796
  serieName: o.serieName,
797
797
  serie: o.serie,
@@ -801,9 +801,9 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
801
801
  triggerMode: "keyboard"
802
802
  }));
803
803
  }
804
- let $ = u(() => ({
805
- head: Q.value.head,
806
- body: Q.value.body.map((e) => [
804
+ let or = u(() => ({
805
+ head: $.value.head,
806
+ body: $.value.body.map((e) => [
807
807
  e[0] ?? "",
808
808
  e[1] ?? "",
809
809
  ...e.slice(2)
@@ -812,40 +812,40 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
812
812
  notice: M.value.a11y.translations.tableAvailable
813
813
  }));
814
814
  return ke({
815
- getData: kn,
816
- getImage: zn,
817
- generateCsv: jn,
818
- generatePdf: cn,
819
- generateImage: ln,
820
- generateSvg: Yn,
821
- hideSeries: yn,
822
- showSeries: vn,
823
- toggleTable: Pn,
824
- toggleLabels: Fn,
825
- toggleTooltip: In,
826
- toggleAnnotator: Rn,
815
+ getData: Mn,
816
+ getImage: Hn,
817
+ generateCsv: Pn,
818
+ generatePdf: ln,
819
+ generateImage: un,
820
+ generateSvg: Qn,
821
+ hideSeries: bn,
822
+ showSeries: yn,
823
+ toggleTable: Ln,
824
+ toggleLabels: Rn,
825
+ toggleTooltip: zn,
826
+ toggleAnnotator: Vn,
827
827
  toggleFullscreen: Yt,
828
- copyAlt: Zn
828
+ copyAlt: er
829
829
  }), (e, t) => (b(), p("div", {
830
830
  ref_key: "pcpChart",
831
831
  ref: O,
832
832
  class: _(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
833
- style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
833
+ style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
834
834
  id: `pcp_${A.value}`,
835
- onMouseenter: t[2] ||= () => T(en)(!0),
836
- onMouseleave: t[3] ||= () => T(en)(!1)
835
+ onMouseenter: t[2] ||= () => T(tn)(!0),
836
+ onMouseleave: t[3] ||= () => T(tn)(!1)
837
837
  }, [
838
838
  m("div", {
839
839
  id: `chart-instructions-${A.value}`,
840
840
  class: "sr-only"
841
841
  }, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
842
- $.value.body.length ? (b(), d(Ne, {
842
+ or.value.body.length ? (b(), d(Ne, {
843
843
  key: 0,
844
844
  uid: A.value,
845
- head: $.value.head,
846
- body: $.value.body,
847
- caption: $.value.caption,
848
- notice: $.value.notice
845
+ head: or.value.head,
846
+ body: or.value.body,
847
+ caption: or.value.caption,
848
+ notice: or.value.notice
849
849
  }, null, 8, [
850
850
  "uid",
851
851
  "head",
@@ -853,14 +853,15 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
853
853
  "caption",
854
854
  "notice"
855
855
  ])) : f("", !0),
856
- M.value.userOptions.buttons.annotator ? (b(), d(T(Et), {
856
+ N.value.buttons.annotator ? (b(), d(T(Et), {
857
857
  key: 1,
858
- svgRef: T(I),
859
- backgroundColor: M.value.style.chart.backgroundColor,
860
- color: M.value.style.chart.color,
861
- active: Ln.value,
862
- isCursorPointer: P.value,
863
- onClose: Rn
858
+ svgRef: T(z),
859
+ backgroundColor: I.value.backgroundColor,
860
+ color: I.value.color,
861
+ active: Bn.value,
862
+ isCursorPointer: R.value,
863
+ palette: N.value.annotatorPalette,
864
+ onClose: Vn
864
865
  }, {
865
866
  "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
866
867
  "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
@@ -874,16 +875,17 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
874
875
  "backgroundColor",
875
876
  "color",
876
877
  "active",
877
- "isCursorPointer"
878
+ "isCursorPointer",
879
+ "palette"
878
880
  ])) : f("", !0),
879
- un.value ? (b(), p("div", {
881
+ dn.value ? (b(), p("div", {
880
882
  key: 2,
881
883
  ref_key: "noTitle",
882
884
  ref: Rt,
883
885
  class: "vue-data-ui-no-title-space",
884
886
  style: "height:36px; width: 100%;background:transparent"
885
887
  }, null, 512)) : f("", !0),
886
- M.value.style.chart.title.text ? (b(), p("div", {
888
+ I.value.title.text ? (b(), p("div", {
887
889
  key: 3,
888
890
  ref_key: "chartTitle",
889
891
  ref: Ft,
@@ -893,55 +895,55 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
893
895
  config: {
894
896
  title: {
895
897
  cy: "pcp-div-title",
896
- ...M.value.style.chart.title
898
+ ...I.value.title
897
899
  },
898
900
  subtitle: {
899
901
  cy: "pcp-div-subtitle",
900
- ...M.value.style.chart.title.subtitle
902
+ ...I.value.title.subtitle
901
903
  }
902
904
  }
903
905
  }, null, 8, ["config"]))], 512)) : f("", !0),
904
906
  m("div", { id: `legend-top-${A.value}` }, null, 8, et),
905
- M.value.userOptions.show && Nt.value && (T(tn) || T($t)) ? (b(), d(T(Dt), {
907
+ N.value.show && Nt.value && (T(nn) || T(en)) ? (b(), d(T(Dt), {
906
908
  ref_key: "userOptionsRef",
907
909
  ref: Wt,
908
910
  key: `user_options_${Pt.value}`,
909
- backgroundColor: M.value.style.chart.backgroundColor,
910
- color: M.value.style.chart.color,
911
- isPrinting: T(on),
912
- isImaging: T(sn),
911
+ backgroundColor: I.value.backgroundColor,
912
+ color: I.value.color,
913
+ isPrinting: T(sn),
914
+ isImaging: T(cn),
913
915
  uid: A.value,
914
- hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
915
- hasPdf: M.value.userOptions.buttons.pdf,
916
- hasXls: M.value.userOptions.buttons.csv,
917
- hasImg: M.value.userOptions.buttons.img,
918
- hasSvg: M.value.userOptions.buttons.svg,
919
- hasTable: M.value.userOptions.buttons.table,
920
- hasLabel: M.value.userOptions.buttons.labels,
921
- hasFullscreen: M.value.userOptions.buttons.fullscreen,
922
- hasAltCopy: M.value.userOptions.buttons.altCopy,
916
+ hasTooltip: N.value.buttons.tooltip && F.value.show,
917
+ hasPdf: N.value.buttons.pdf,
918
+ hasXls: N.value.buttons.csv,
919
+ hasImg: N.value.buttons.img,
920
+ hasSvg: N.value.buttons.svg,
921
+ hasTable: N.value.buttons.table,
922
+ hasLabel: N.value.buttons.labels,
923
+ hasFullscreen: N.value.buttons.fullscreen,
924
+ hasAltCopy: N.value.buttons.altCopy,
923
925
  isFullscreen: j.value,
924
- isTooltip: H.value.showTooltip,
925
- titles: { ...M.value.userOptions.buttonTitles },
926
+ isTooltip: G.value.showTooltip,
927
+ titles: { ...N.value.buttonTitles },
926
928
  chartElement: O.value,
927
- position: M.value.userOptions.position,
928
- hasAnnotator: M.value.userOptions.buttons.annotator,
929
- isAnnotation: Ln.value,
930
- callbacks: M.value.userOptions.callbacks,
931
- printScale: M.value.userOptions.print.scale,
929
+ position: N.value.position,
930
+ hasAnnotator: N.value.buttons.annotator,
931
+ isAnnotation: Bn.value,
932
+ callbacks: N.value.callbacks,
933
+ printScale: N.value.print.scale,
932
934
  tableDialog: M.value.table.useDialog,
933
- isCursorPointer: P.value,
935
+ isCursorPointer: R.value,
934
936
  onToggleFullscreen: Yt,
935
- onGeneratePdf: T(cn),
936
- onGenerateCsv: jn,
937
- onGenerateImage: T(Xn),
938
- onGenerateSvg: T(Yn),
939
- onToggleTable: Pn,
940
- onToggleLabels: Fn,
941
- onToggleTooltip: In,
942
- onToggleAnnotator: Rn,
943
- onCopyAlt: Zn,
944
- style: y({ visibility: T(tn) ? T($t) ? "visible" : "hidden" : "visible" })
937
+ onGeneratePdf: T(ln),
938
+ onGenerateCsv: Pn,
939
+ onGenerateImage: T($n),
940
+ onGenerateSvg: T(Qn),
941
+ onToggleTable: Ln,
942
+ onToggleLabels: Rn,
943
+ onToggleTooltip: zn,
944
+ onToggleAnnotator: Vn,
945
+ onCopyAlt: er,
946
+ style: y({ visibility: T(nn) ? T(en) ? "visible" : "hidden" : "visible" })
945
947
  }, ze({ _: 2 }, [
946
948
  e.$slots.menuIcon ? {
947
949
  name: "menuIcon",
@@ -1020,88 +1022,88 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1020
1022
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
1021
1023
  m("div", tt, [(b(), p("svg", {
1022
1024
  ref_key: "svgRef",
1023
- ref: I,
1025
+ ref: z,
1024
1026
  xmlns: T(pe),
1025
1027
  "aria-describedby": `chart-instructions-${A.value}`,
1026
1028
  class: _({
1027
1029
  "vue-data-ui-fullscreen--on": j.value,
1028
1030
  "vue-data-ui-fulscreen--off": !j.value,
1029
- "vue-data-ui-no-transition": !T(N)
1031
+ "vue-data-ui-no-transition": !T(L)
1030
1032
  }),
1031
- viewBox: `0 0 ${V.value.chartWidth <= 0 ? 10 : V.value.chartWidth} ${V.value.chartHeight <= 0 ? 10 : V.value.chartHeight}`,
1032
- style: y(`max-width:100%; overflow: visible; background:transparent;color:${M.value.style.chart.color}`),
1033
+ viewBox: `0 0 ${W.value.chartWidth <= 0 ? 10 : W.value.chartWidth} ${W.value.chartHeight <= 0 ? 10 : W.value.chartHeight}`,
1034
+ style: y(`max-width:100%; overflow: visible; background:transparent;color:${I.value.color}`),
1033
1035
  tabindex: "0",
1034
- onFocus: er,
1035
- onBlur: tr,
1036
- onKeydown: nr
1036
+ onFocus: rr,
1037
+ onBlur: ir,
1038
+ onKeydown: ar
1037
1039
  }, [
1038
1040
  Ve(T(Ot)),
1039
1041
  e.$slots["chart-background"] ? (b(), p("foreignObject", {
1040
1042
  key: 0,
1041
- x: V.value.left,
1042
- y: V.value.top,
1043
- width: V.value.width,
1044
- height: V.value.height,
1043
+ x: W.value.left,
1044
+ y: W.value.top,
1045
+ width: W.value.width,
1046
+ height: W.value.height,
1045
1047
  style: { pointerEvents: "none" }
1046
1048
  }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : f("", !0),
1047
- (b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", it, [m("line", {
1048
- x1: V.value.left + K.value * t + K.value / 2,
1049
- x2: V.value.left + K.value * t + K.value / 2,
1050
- y1: V.value.top,
1051
- y2: V.value.bottom,
1052
- stroke: M.value.style.chart.yAxis.stroke,
1053
- "stroke-width": M.value.style.chart.yAxis.strokeWidth
1054
- }, null, 8, at), M.value.style.chart.yAxis.labels.ticks.show ? (b(), p(l, { key: 0 }, [(b(!0), p(l, null, S(e.ticks, (t, n) => (b(), p("path", {
1055
- class: _({ "vue-data-ui-transition": T(N) }),
1049
+ (b(!0), p(l, null, S(Y.value, (e, t) => (b(), p("g", it, [m("line", {
1050
+ x1: W.value.left + J.value * t + J.value / 2,
1051
+ x2: W.value.left + J.value * t + J.value / 2,
1052
+ y1: W.value.top,
1053
+ y2: W.value.bottom,
1054
+ stroke: I.value.yAxis.stroke,
1055
+ "stroke-width": I.value.yAxis.strokeWidth
1056
+ }, null, 8, at), P.value.ticks.show ? (b(), p(l, { key: 0 }, [(b(!0), p(l, null, S(e.ticks, (t, n) => (b(), p("path", {
1057
+ class: _({ "vue-data-ui-transition": T(L) }),
1056
1058
  key: `tick_${e.name}_${n}`,
1057
1059
  d: `M${t.x},${t.y} ${t.x - 10},${t.y}`,
1058
- stroke: M.value.style.chart.yAxis.stroke,
1059
- "stroke-width": M.value.style.chart.yAxis.strokeWidth,
1060
- style: y(`opacity:${Z.value && !H.value.showTooltip ? .2 : 1}`)
1061
- }, null, 14, ot))), 128)), T(F) ? f("", !0) : (b(), p("g", st, [(b(!0), p(l, null, S(e.ticks, (n, r) => (b(), p("text", {
1060
+ stroke: I.value.yAxis.stroke,
1061
+ "stroke-width": I.value.yAxis.strokeWidth,
1062
+ style: y(`opacity:${Q.value && !G.value.showTooltip ? .2 : 1}`)
1063
+ }, null, 14, ot))), 128)), T(Zt) ? f("", !0) : (b(), p("g", st, [(b(!0), p(l, null, S(e.ticks, (n, r) => (b(), p("text", {
1062
1064
  key: `tl_${e.name}_${r}`,
1063
- class: _({ "vue-data-ui-transition": T(N) }),
1064
- transform: `translate(${n.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX}, ${n.y + M.value.style.chart.yAxis.labels.ticks.offsetY + z.value.ticksFontSize / 3})`,
1065
- fill: M.value.style.chart.yAxis.labels.ticks.color,
1065
+ class: _({ "vue-data-ui-transition": T(L) }),
1066
+ transform: `translate(${n.x - 12 + P.value.ticks.offsetX}, ${n.y + P.value.ticks.offsetY + H.value.ticksFontSize / 3})`,
1067
+ fill: P.value.ticks.color,
1066
1068
  "text-anchor": "end",
1067
- "font-size": z.value.ticksFontSize,
1068
- "font-weight": M.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
1069
- style: y(`opacity:${Z.value && !H.value.showTooltip ? .2 : 1}`)
1070
- }, w(Sn({
1069
+ "font-size": H.value.ticksFontSize,
1070
+ "font-weight": P.value.ticks.bold ? "bold" : "normal",
1071
+ style: y(`opacity:${Q.value && !G.value.showTooltip ? .2 : 1}`)
1072
+ }, w(Tn({
1071
1073
  value: n.value,
1072
1074
  index: t,
1073
1075
  datapoint: n
1074
1076
  })), 15, ct))), 128))]))], 64)) : f("", !0)]))), 256)),
1075
- M.value.style.chart.yAxis.labels.showAxisNames ? (b(), p("g", {
1077
+ P.value.showAxisNames ? (b(), p("g", {
1076
1078
  key: 1,
1077
1079
  ref_key: "xAxisLabels",
1078
1080
  ref: Gt
1079
- }, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p(l, null, [String(e.name).includes("\n") ? (b(), p("text", {
1081
+ }, [(b(!0), p(l, null, S(Y.value, (e, t) => (b(), p(l, null, [String(e.name).includes("\n") ? (b(), p("text", {
1080
1082
  key: 1,
1081
1083
  class: "vue-ui-parallel-coordinate-plot-x-label",
1082
- fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1083
- "font-size": z.value.axisNameFontSize,
1084
- "font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1085
- "text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1086
- transform: `translate(${V.value.left + K.value * t + K.value / 2}, ${B.value - z.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`,
1084
+ fill: P.value.axisNamesColor,
1085
+ "font-size": H.value.axisNameFontSize,
1086
+ "font-weight": P.value.axisNamesBold ? "bold" : "",
1087
+ "text-anchor": P.value.axisNamesRotation === 0 ? "middle" : P.value.axisNamesRotation < 0 ? "start" : "end",
1088
+ transform: `translate(${W.value.left + J.value * t + J.value / 2}, ${U.value - H.value.axisNameFontSize}), rotate(${P.value.axisNamesRotation})`,
1087
1089
  innerHTML: T(i)({
1088
1090
  content: String(e.name),
1089
- fontSize: z.value.axisNameFontSize,
1090
- fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1091
+ fontSize: H.value.axisNameFontSize,
1092
+ fill: P.value.axisNamesColor,
1091
1093
  x: 0,
1092
1094
  y: 0
1093
1095
  })
1094
1096
  }, null, 8, ut)) : (b(), p("text", {
1095
1097
  key: 0,
1096
1098
  class: "vue-ui-parallel-coordinate-plot-x-label",
1097
- fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1098
- "font-size": z.value.axisNameFontSize,
1099
- "font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1100
- "text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1101
- transform: `translate(${V.value.left + K.value * t + K.value / 2}, ${B.value - z.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`
1099
+ fill: P.value.axisNamesColor,
1100
+ "font-size": H.value.axisNameFontSize,
1101
+ "font-weight": P.value.axisNamesBold ? "bold" : "",
1102
+ "text-anchor": P.value.axisNamesRotation === 0 ? "middle" : P.value.axisNamesRotation < 0 ? "start" : "end",
1103
+ transform: `translate(${W.value.left + J.value * t + J.value / 2}, ${U.value - H.value.axisNameFontSize}), rotate(${P.value.axisNamesRotation})`
1102
1104
  }, w(e.name), 9, lt))], 64))), 256))], 512)) : f("", !0),
1103
- (b(!0), p(l, null, S(Y.value, (t, n) => (b(), p("g", null, [(b(!0), p(l, null, S(t.series, (r, i) => (b(), p("g", null, [
1104
- M.value.style.chart.plots.show ? (b(), p("g", dt, [
1105
+ (b(!0), p(l, null, S(X.value, (t, n) => (b(), p("g", null, [(b(!0), p(l, null, S(t.series, (r, i) => (b(), p("g", null, [
1106
+ I.value.plots.show ? (b(), p("g", dt, [
1105
1107
  (b(!0), p(l, null, S(r.datapoints, (e, a) => (b(), d(Oe, {
1106
1108
  plot: {
1107
1109
  x: e.x,
@@ -1109,10 +1111,10 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1109
1111
  },
1110
1112
  color: t.color,
1111
1113
  shape: t.shape,
1112
- radius: t.shape === "triangle" ? z.value.plotSize * 1.2 : z.value.plotSize,
1113
- stroke: M.value.style.chart.backgroundColor,
1114
+ radius: t.shape === "triangle" ? H.value.plotSize * 1.2 : H.value.plotSize,
1115
+ stroke: I.value.backgroundColor,
1114
1116
  strokeWidth: .5,
1115
- onMouseenter: (e) => On({
1117
+ onMouseenter: (e) => jn({
1116
1118
  shape: t.shape,
1117
1119
  serieName: t.name,
1118
1120
  serie: r,
@@ -1121,13 +1123,13 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1121
1123
  S: n,
1122
1124
  triggerMode: "pointer"
1123
1125
  }),
1124
- onMouseleave: (e) => En({
1126
+ onMouseleave: (e) => kn({
1125
1127
  serie: r,
1126
1128
  shape: t.shape,
1127
1129
  S: n
1128
1130
  }),
1129
- style: y(`opacity:${Z.value ? Z.value === r.id ? M.value.style.chart.plots.opacity : .2 : M.value.style.chart.plots.opacity}`),
1130
- onClick: () => Nn({
1131
+ style: y(`opacity:${Q.value ? Q.value === r.id ? I.value.plots.opacity : .2 : I.value.plots.opacity}`),
1132
+ onClick: () => In({
1131
1133
  serie: r,
1132
1134
  shape: t.shape,
1133
1135
  S: n
@@ -1143,37 +1145,37 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1143
1145
  "style",
1144
1146
  "onClick"
1145
1147
  ]))), 256)),
1146
- H.value.showTooltip ? f("", !0) : (b(), p(l, { key: 0 }, [Z.value && Z.value === r.id && r.datapoints.length ? (b(), p("text", {
1148
+ G.value.showTooltip ? f("", !0) : (b(), p(l, { key: 0 }, [Q.value && Q.value === r.id && r.datapoints.length ? (b(), p("text", {
1147
1149
  key: 0,
1148
- x: r.datapoints[0].x - z.value.ticksFontSize,
1149
- y: r.datapoints[0].y + z.value.ticksFontSize / 3,
1150
+ x: r.datapoints[0].x - H.value.ticksFontSize,
1151
+ y: r.datapoints[0].y + H.value.ticksFontSize / 3,
1150
1152
  "text-anchor": "end",
1151
- "font-size": z.value.ticksFontSize,
1153
+ "font-size": H.value.ticksFontSize,
1152
1154
  fill: t.color,
1153
1155
  "font-weight": "bold"
1154
1156
  }, w(r.name), 9, ft)) : f("", !0)], 64)),
1155
- M.value.style.chart.comments.show ? (b(!0), p(l, { key: 1 }, S(r.datapoints, (n) => (b(), p("g", null, [n.comment ? (b(), p("foreignObject", {
1157
+ I.value.comments.show ? (b(!0), p(l, { key: 1 }, S(r.datapoints, (n) => (b(), p("g", null, [n.comment ? (b(), p("foreignObject", {
1156
1158
  key: 0,
1157
1159
  style: { overflow: "visible" },
1158
1160
  height: "12",
1159
- width: M.value.style.chart.comments.width,
1160
- x: n.x - M.value.style.chart.comments.width / 2 + M.value.style.chart.comments.offsetX,
1161
- y: n.y + M.value.style.chart.comments.offsetY + 6
1161
+ width: I.value.comments.width,
1162
+ x: n.x - I.value.comments.width / 2 + I.value.comments.offsetX,
1163
+ y: n.y + I.value.comments.offsetY + 6
1162
1164
  }, [m("div", mt, [C(e.$slots, "plot-comment", { plot: {
1163
1165
  ...n,
1164
1166
  color: t.color
1165
1167
  } }, void 0, !0)])], 8, pt)) : f("", !0)]))), 256)) : f("", !0)
1166
1168
  ])) : f("", !0),
1167
1169
  m("path", {
1168
- d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
1170
+ d: `M${I.value.lines.smooth ? r.smoothPath : r.straightPath}`,
1169
1171
  stroke: t.color,
1170
- "stroke-width": M.value.style.chart.lines.strokeWidth,
1172
+ "stroke-width": I.value.lines.strokeWidth,
1171
1173
  fill: "none",
1172
1174
  class: _({
1173
1175
  "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1174
- "vue-data-ui-transition": T(N)
1176
+ "vue-data-ui-transition": T(L)
1175
1177
  }),
1176
- onMouseenter: (e) => On({
1178
+ onMouseenter: (e) => jn({
1177
1179
  shape: t.shape,
1178
1180
  serieName: t.name,
1179
1181
  serie: r,
@@ -1182,29 +1184,29 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1182
1184
  S: n,
1183
1185
  triggerMode: "pointer"
1184
1186
  }),
1185
- onMouseleave: (e) => En({
1187
+ onMouseleave: (e) => kn({
1186
1188
  serie: r,
1187
1189
  shape: t.shape,
1188
1190
  S: n
1189
1191
  }),
1190
- onClick: () => Nn({
1192
+ onClick: () => In({
1191
1193
  serie: r,
1192
1194
  shape: t.shape,
1193
1195
  S: n
1194
1196
  }),
1195
- style: y(`opacity:${Z.value ? Z.value === r.id ? M.value.style.chart.lines.opacity : .2 : M.value.style.chart.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
1197
+ style: y(`opacity:${Q.value ? Q.value === r.id ? I.value.lines.opacity : .2 : I.value.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
1196
1198
  }, null, 46, ht),
1197
- H.value.showTooltip ? (b(), p("path", {
1199
+ G.value.showTooltip ? (b(), p("path", {
1198
1200
  key: 1,
1199
- d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
1201
+ d: `M${I.value.lines.smooth ? r.smoothPath : r.straightPath}`,
1200
1202
  stroke: "transparent",
1201
1203
  "stroke-width": 12,
1202
1204
  fill: "none",
1203
1205
  class: _({
1204
1206
  "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1205
- "vue-data-ui-transition": T(N)
1207
+ "vue-data-ui-transition": T(L)
1206
1208
  }),
1207
- onMouseenter: (e) => On({
1209
+ onMouseenter: (e) => jn({
1208
1210
  shape: t.shape,
1209
1211
  serieName: t.name,
1210
1212
  serie: r,
@@ -1213,12 +1215,12 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1213
1215
  S: n,
1214
1216
  triggerMode: "pointer"
1215
1217
  }),
1216
- onMouseleave: (e) => En({
1218
+ onMouseleave: (e) => kn({
1217
1219
  serie: r,
1218
1220
  shape: t.shape,
1219
1221
  S: n
1220
1222
  }),
1221
- onClick: () => Nn({
1223
+ onClick: () => In({
1222
1224
  serie: r,
1223
1225
  shape: t.shape,
1224
1226
  S: n
@@ -1226,23 +1228,23 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1226
1228
  style: { opacity: "0" }
1227
1229
  }, null, 42, gt)) : f("", !0)
1228
1230
  ]))), 256))]))), 256)),
1229
- (b(!0), p(l, null, S(Y.value, (e, t) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (n, r) => (b(), p("g", null, [!T(F) && (H.value.dataLabels.show || Z.value && Z.value === n.id) ? (b(!0), p(l, { key: 0 }, S(n.datapoints, (i, a) => (b(), p("text", {
1231
+ (b(!0), p(l, null, S(X.value, (e, t) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (n, r) => (b(), p("g", null, [!T(Zt) && (G.value.dataLabels.show || Q.value && Q.value === n.id) ? (b(!0), p(l, { key: 0 }, S(n.datapoints, (i, a) => (b(), p("text", {
1230
1232
  key: `pl_${n.id}_${a}`,
1231
- transform: `translate(${i.x + 12 + M.value.style.chart.yAxis.labels.datapoints.offsetX}, ${i.y + M.value.style.chart.yAxis.labels.datapoints.offsetY + z.value.datapointFontSize / 3})`,
1232
- fill: M.value.style.chart.yAxis.labels.datapoints.useSerieColor ? e.color : M.value.style.chart.yAxis.labels.datapoints.color,
1233
+ transform: `translate(${i.x + 12 + P.value.datapoints.offsetX}, ${i.y + P.value.datapoints.offsetY + H.value.datapointFontSize / 3})`,
1234
+ fill: P.value.datapoints.useSerieColor ? e.color : P.value.datapoints.color,
1233
1235
  "text-anchor": "start",
1234
- "font-weight": M.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
1236
+ "font-weight": P.value.datapoints.bold ? "bold" : "normal",
1235
1237
  class: _({
1236
1238
  "vue-ui-pcp-plot-label": !0,
1237
- "vue-data-ui-transition": T(N)
1239
+ "vue-data-ui-transition": T(L)
1238
1240
  }),
1239
- "font-size": z.value.datapointFontSize,
1240
- stroke: M.value.style.chart.backgroundColor,
1241
+ "font-size": H.value.datapointFontSize,
1242
+ stroke: I.value.backgroundColor,
1241
1243
  "stroke-width": 3,
1242
1244
  "stroke-linecap": "round",
1243
1245
  "stroke-linejoin": "round",
1244
1246
  "paint-order": "stroke fill",
1245
- onMouseenter: (i) => On({
1247
+ onMouseenter: (i) => jn({
1246
1248
  shape: e.shape,
1247
1249
  serieName: e.name,
1248
1250
  serie: n,
@@ -1251,60 +1253,60 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1251
1253
  S: t,
1252
1254
  triggerMode: "pointer"
1253
1255
  }),
1254
- onMouseleave: (r) => En({
1256
+ onMouseleave: (r) => kn({
1255
1257
  serie: n,
1256
1258
  shape: e.shape,
1257
1259
  S: t
1258
1260
  }),
1259
- onClick: () => Nn({
1261
+ onClick: () => In({
1260
1262
  serie: n,
1261
1263
  shape: e.shape,
1262
1264
  S: t
1263
1265
  }),
1264
- style: y(`opacity:${Z.value ? Z.value === n.id ? 1 : .2 : 1}`)
1265
- }, w(Sn({
1266
+ style: y(`opacity:${Q.value ? Q.value === n.id ? 1 : .2 : 1}`)
1267
+ }, w(Tn({
1266
1268
  value: i.value,
1267
1269
  index: a,
1268
1270
  datapoint: i
1269
1271
  })), 47, _t))), 128)) : f("", !0)]))), 256))]))), 256)),
1270
1272
  C(e.$slots, "svg", { svg: {
1271
- ...V.value,
1272
- isPrintingImg: T(on) || T(sn) || T(qn),
1273
- isPrintingSvg: T(Jn)
1273
+ ...W.value,
1274
+ isPrintingImg: T(sn) || T(cn) || T(Xn),
1275
+ isPrintingSvg: T(Zn)
1274
1276
  } }, void 0, !0)
1275
1277
  ], 46, nt)), e.$slots.hint ? (b(), p("div", vt, [C(e.$slots, "hint", v(g({
1276
1278
  hint: M.value.a11y.translations.keyboardNavigation,
1277
1279
  isVisible: Jt.value
1278
1280
  })), void 0, !0)])) : f("", !0)]),
1279
- e.$slots.watermark ? (b(), p("div", yt, [C(e.$slots, "watermark", v(g({ isPrinting: T(on) || T(sn) || T(qn) || T(Jn) })), void 0, !0)])) : f("", !0),
1281
+ e.$slots.watermark ? (b(), p("div", yt, [C(e.$slots, "watermark", v(g({ isPrinting: T(sn) || T(cn) || T(Xn) || T(Zn) })), void 0, !0)])) : f("", !0),
1280
1282
  m("div", { id: `legend-bottom-${A.value}` }, null, 8, bt),
1281
- Ht.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(Re, {
1283
+ Ht.value && (I.value.legend.show || e.$slots.legend) ? (b(), d(Re, {
1282
1284
  key: 6,
1283
- to: M.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
1285
+ to: I.value.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
1284
1286
  }, [m("div", {
1285
1287
  ref_key: "chartLegend",
1286
1288
  ref: It
1287
- }, [C(e.$slots, "legend", { legend: G.value }, () => [M.value.style.chart.legend.show && Nt.value ? (b(), d(Ie, {
1289
+ }, [C(e.$slots, "legend", { legend: xn.value }, () => [I.value.legend.show && Nt.value ? (b(), d(Ie, {
1288
1290
  key: `legend_${Bt.value}`,
1289
- legendSet: G.value,
1290
- config: bn.value,
1291
- isCursorPointer: P.value,
1291
+ legendSet: xn.value,
1292
+ config: Sn.value,
1293
+ isCursorPointer: R.value,
1292
1294
  onClickMarker: t[0] ||= ({ legend: e }) => {
1293
- gn(e.id);
1295
+ _n(e.id);
1294
1296
  }
1295
1297
  }, {
1296
1298
  item: E(({ legend: e, index: t }) => [m("div", {
1297
1299
  onClick: (t) => e.segregate(),
1298
- style: y(`opacity:${U.value.includes(e.id) ? .5 : 1}`)
1300
+ style: y(`opacity:${K.value.includes(e.id) ? .5 : 1}`)
1299
1301
  }, w(e.name), 13, xt)]),
1300
- legendToggle: E(() => [G.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !T(F) ? (b(), d(Me, {
1302
+ legendToggle: E(() => [xn.value.length > 2 && I.value.legend.selectAllToggle.show && !T(Zt) ? (b(), d(Me, {
1301
1303
  key: 0,
1302
- backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1303
- color: M.value.style.chart.legend.selectAllToggle.color,
1304
- fontSize: M.value.style.chart.legend.fontSize,
1305
- checked: U.value.length > 0,
1306
- isCursorPointer: P.value,
1307
- onToggle: hn
1304
+ backgroundColor: I.value.legend.selectAllToggle.backgroundColor,
1305
+ color: I.value.legend.selectAllToggle.color,
1306
+ fontSize: I.value.legend.fontSize,
1307
+ checked: K.value.length > 0,
1308
+ isCursorPointer: R.value,
1309
+ onToggle: gn
1308
1310
  }, null, 8, [
1309
1311
  "backgroundColor",
1310
1312
  "color",
@@ -1325,32 +1327,32 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1325
1327
  dir: "auto"
1326
1328
  }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1327
1329
  Ve(T(St), {
1328
- teleportTo: M.value.style.chart.tooltip.teleportTo,
1329
- show: H.value.showTooltip && wn.value,
1330
- backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1331
- color: M.value.style.chart.tooltip.color,
1332
- fontSize: M.value.style.chart.tooltip.fontSize,
1333
- borderRadius: M.value.style.chart.tooltip.borderRadius,
1334
- borderColor: M.value.style.chart.tooltip.borderColor,
1335
- borderWidth: M.value.style.chart.tooltip.borderWidth,
1336
- backgroundOpacity: M.value.style.chart.tooltip.backgroundOpacity,
1337
- position: M.value.style.chart.tooltip.position,
1338
- offsetX: M.value.style.chart.tooltip.offsetX,
1339
- offsetY: M.value.style.chart.tooltip.offsetY,
1330
+ teleportTo: F.value.teleportTo,
1331
+ show: G.value.showTooltip && Dn.value,
1332
+ backgroundColor: F.value.backgroundColor,
1333
+ color: F.value.color,
1334
+ fontSize: F.value.fontSize,
1335
+ borderRadius: F.value.borderRadius,
1336
+ borderColor: F.value.borderColor,
1337
+ borderWidth: F.value.borderWidth,
1338
+ backgroundOpacity: F.value.backgroundOpacity,
1339
+ position: F.value.position,
1340
+ offsetX: F.value.offsetX,
1341
+ offsetY: F.value.offsetY,
1340
1342
  parent: O.value,
1341
- content: Tn.value,
1343
+ content: On.value,
1342
1344
  isFullscreen: j.value,
1343
- isCustom: T(n)(M.value.style.chart.tooltip.customFormat),
1344
- smooth: M.value.style.chart.tooltip.smooth,
1345
- backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1346
- smoothForce: M.value.style.chart.tooltip.smoothForce,
1347
- smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1345
+ isCustom: T(n)(F.value.customFormat),
1346
+ smooth: F.value.smooth,
1347
+ backdropFilter: F.value.backdropFilter,
1348
+ smoothForce: F.value.smoothForce,
1349
+ smoothSnapThreshold: F.value.smoothSnapThreshold,
1348
1350
  isA11yMode: qt.value === "keyboard",
1349
1351
  a11yPosition: Kt.value
1350
1352
  }, {
1351
- "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...Cn.value })), void 0, !0)]),
1352
- tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...Cn.value })), void 0, !0)]),
1353
- "tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...Cn.value })), void 0, !0)]),
1353
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...En.value })), void 0, !0)]),
1354
+ tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...En.value })), void 0, !0)]),
1355
+ "tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...En.value })), void 0, !0)]),
1354
1356
  _: 3
1355
1357
  }, 8, [
1356
1358
  "teleportTo",
@@ -1376,21 +1378,21 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1376
1378
  "isA11yMode",
1377
1379
  "a11yPosition"
1378
1380
  ]),
1379
- Nt.value && M.value.userOptions.buttons.table ? (b(), d(Ke(Hn.value.component), He({ key: 8 }, Hn.value.props, {
1381
+ Nt.value && N.value.buttons.table ? (b(), d(Ke(Gn.value.component), He({ key: 8 }, Gn.value.props, {
1380
1382
  ref_key: "tableUnit",
1381
1383
  ref: Ut,
1382
- onClose: Un
1384
+ onClose: Kn
1383
1385
  }), ze({
1384
1386
  content: E(() => [(b(), d(T(Tt), {
1385
1387
  key: `table_${Vt.value}`,
1386
- colNames: Q.value.colNames,
1387
- head: Q.value.head,
1388
- body: Q.value.body,
1389
- config: Q.value.config,
1390
- title: M.value.table.useDialog ? "" : Hn.value.title,
1388
+ colNames: $.value.colNames,
1389
+ head: $.value.head,
1390
+ body: $.value.body,
1391
+ config: $.value.config,
1392
+ title: M.value.table.useDialog ? "" : Gn.value.title,
1391
1393
  withCloseButton: !M.value.table.useDialog,
1392
- isCursorPointer: P.value,
1393
- onClose: Un
1394
+ isCursorPointer: R.value,
1395
+ onClose: Kn
1394
1396
  }, {
1395
1397
  th: E(({ th: e }) => [m("div", null, w(e), 1)]),
1396
1398
  td: E(({ td: e }) => [Be(w(e), 1)]),
@@ -1407,24 +1409,24 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
1407
1409
  _: 2
1408
1410
  }, [M.value.table.useDialog ? {
1409
1411
  name: "title",
1410
- fn: E(() => [Be(w(Hn.value.title), 1)]),
1412
+ fn: E(() => [Be(w(Gn.value.title), 1)]),
1411
1413
  key: "0"
1412
1414
  } : void 0, M.value.table.useDialog ? {
1413
1415
  name: "actions",
1414
1416
  fn: E(() => [m("button", {
1415
1417
  tabindex: "0",
1416
1418
  class: "vue-ui-user-options-button",
1417
- onClick: t[1] ||= (e) => jn(M.value.userOptions.callbacks.csv),
1418
- style: y({ cursor: P.value ? "pointer" : "default" })
1419
+ onClick: t[1] ||= (e) => Pn(N.value.callbacks.csv),
1420
+ style: y({ cursor: R.value ? "pointer" : "default" })
1419
1421
  }, [Ve(T(Ct), {
1420
1422
  name: "fileCsv",
1421
- stroke: Hn.value.props.color
1423
+ stroke: Gn.value.props.color
1422
1424
  }, null, 8, ["stroke"])], 4)]),
1423
1425
  key: "1"
1424
1426
  } : void 0]), 1040)) : f("", !0),
1425
- C(e.$slots, "skeleton", {}, () => [T(F) ? (b(), d(be, { key: 0 })) : f("", !0)], !0)
1427
+ C(e.$slots, "skeleton", {}, () => [T(Zt) ? (b(), d(be, { key: 0 })) : f("", !0)], !0)
1426
1428
  ], 46, Qe));
1427
1429
  }
1428
- }, [["__scopeId", "data-v-b9d21e86"]]);
1430
+ }, [["__scopeId", "data-v-7c093aa9"]]);
1429
1431
  //#endregion
1430
1432
  export { Ze as n, St as t };