vue-data-ui 3.22.10 → 3.22.12

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 (192) hide show
  1. package/dist/{Arrow-Ku6rQ87g.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CdkCqtag.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-CDTIUIKV.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-BrQ2OlzI.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-CkEX0292.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-C959ZIW9.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-ByZy5gt1.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-5VQGLnmx.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-Bd8OzTqw.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-BoTvk0i5.js → PackageVersion-Di3tpYst.js} +1 -1
  11. package/dist/{PenAndPaper-CLaZJl6K.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-B5ksaGa1.js → Shape-BfnXr1nJ.js} +1 -1
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/SlicerPreview-Cw6WMVhG.js +1689 -0
  15. package/dist/{SparkTooltip-CbYYc-xb.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-Cr3jP7Qd.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CDbLl3TD.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-BUQOnoPR.js → UserOptions-DzAFK9cY.js} +442 -441
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-COPbGrdd.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/{exposedLib-CZbtc2a6.js → exposedLib-Ciw6TGtP.js} +1 -1
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-CNdXiUfZ.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-JaoYKi2N.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-CnHx5WfV.js → lib-CFm_J26b.js} +3 -3
  94. package/dist/{package-BRBLwZUc.js → package-Bmet7oRZ.js} +1 -1
  95. package/dist/{pdf-CEMzBeuV.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-DJXFRGhU.js → render-common-Bdolvm-Q.js} +2 -2
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/composables.d.ts +28 -11
  102. package/dist/types/vue-data-ui.d.ts +27 -9
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BUPt2iaP.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  107. package/dist/{useNestedProp-D8NuRneO.js → useNestedProp-BY6DNN3i.js} +1 -1
  108. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  109. package/dist/{usePrinter-B-X_Pub0.js → usePrinter-BH-xle1O.js} +2 -2
  110. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  111. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  112. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  113. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  114. package/dist/utils.js +3 -3
  115. package/dist/{vue-data-ui-Bx_8d3b_.js → vue-data-ui-DfU5hAaT.js} +68 -68
  116. package/dist/vue-data-ui.js +72 -72
  117. package/dist/{vue-ui-3d-bar-CfUfbpSE.js → vue-ui-3d-bar--HLw40qY.js} +9 -10
  118. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  119. package/dist/{vue-ui-age-pyramid-DD-4y5Jd.js → vue-ui-age-pyramid-Bd_ubvoh.js} +9 -10
  120. package/dist/{vue-ui-annotator-BvGE3lzE.js → vue-ui-annotator-q3ZKx6ua.js} +15 -9
  121. package/dist/{vue-ui-bullet-DYOdbaO2.js → vue-ui-bullet-CM2jgN74.js} +10 -11
  122. package/dist/{vue-ui-bump-B8fJoxHF.js → vue-ui-bump-DvShTelE.js} +10 -11
  123. package/dist/{vue-ui-candlestick-BUP1JoNs.js → vue-ui-candlestick-CK9Na9KB.js} +474 -474
  124. package/dist/{vue-ui-carousel-table-D-Bwhydt.js → vue-ui-carousel-table-BxORSyv1.js} +5 -5
  125. package/dist/{vue-ui-chestnut-C2VK2NEx.js → vue-ui-chestnut-tW2ZnqwW.js} +11 -11
  126. package/dist/{vue-ui-chord-AA-QjUQI.js → vue-ui-chord-DqKCW4Pl.js} +11 -12
  127. package/dist/{vue-ui-circle-pack-CdBFGYOK.js → vue-ui-circle-pack-kmzEbu7G.js} +21 -25
  128. package/dist/{vue-ui-cursor-Cm_J_5Gk.js → vue-ui-cursor-SvEAxNKD.js} +4 -4
  129. package/dist/{vue-ui-dag-CgRph4-n.js → vue-ui-dag-DZGUw98x.js} +16 -14
  130. package/dist/{vue-ui-dashboard-BuPw5QjB.js → vue-ui-dashboard-BzzECKaL.js} +71 -72
  131. package/dist/{vue-ui-digits-ClrukmcB.js → vue-ui-digits-CKWMJqU_.js} +4 -4
  132. package/dist/{vue-ui-donut-Bc-EPZvu.js → vue-ui-donut-BWbuCT47.js} +17 -18
  133. package/dist/{vue-ui-donut-DtQCrMKL.js → vue-ui-donut-DjdH53Zj.js} +3 -3
  134. package/dist/{vue-ui-donut-evolution-DHkiY-BD.js → vue-ui-donut-evolution-CJNnXg31.js} +357 -362
  135. package/dist/{vue-ui-dumbbell-BlHEH4Mw.js → vue-ui-dumbbell-BUyfJOxH.js} +13 -13
  136. package/dist/{vue-ui-flow-PjwAW2tY.js → vue-ui-flow-C39C5dvl.js} +10 -11
  137. package/dist/{vue-ui-funnel-DojI09FV.js → vue-ui-funnel-_aMNVUkP.js} +9 -10
  138. package/dist/{vue-ui-galaxy-txYIK_LG.js → vue-ui-galaxy-Dng0GSjQ.js} +12 -13
  139. package/dist/{vue-ui-gauge-CoL0OzSd.js → vue-ui-gauge-BmZPLW3e.js} +10 -11
  140. package/dist/{vue-ui-geo-yuL-_sqF.js → vue-ui-geo-BOx-pK_5.js} +15 -14
  141. package/dist/{vue-ui-gizmo-CbC5zV3K.js → vue-ui-gizmo-BCGwhNna.js} +4 -4
  142. package/dist/{vue-ui-heatmap-CwqsZIsR.js → vue-ui-heatmap-BORjgllw.js} +12 -13
  143. package/dist/{vue-ui-history-plot-CuWssH-D.js → vue-ui-history-plot-DY3fqgIY.js} +11 -12
  144. package/dist/{vue-ui-horizontal-bar-Dyje3GND.js → vue-ui-horizontal-bar-C8f4PisL.js} +17 -17
  145. package/dist/{vue-ui-kpi-BdYenScF.js → vue-ui-kpi-BdhXSBIJ.js} +4 -4
  146. package/dist/{vue-ui-mini-loader-BbwE3vBT.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  147. package/dist/{vue-ui-molecule-BBh31vmd.js → vue-ui-molecule-PlmDykKX.js} +9 -8
  148. package/dist/{vue-ui-mood-radar-B_6GFlaR.js → vue-ui-mood-radar-C9LTAt_c.js} +10 -11
  149. package/dist/{vue-ui-nested-donuts-BWq-At5Y.js → vue-ui-nested-donuts-F5OXPxvU.js} +12 -13
  150. package/dist/{vue-ui-onion-BwGbSE-6.js → vue-ui-onion-D1-j-pvW.js} +13 -14
  151. package/dist/{vue-ui-parallel-coordinate-plot-Bh9hNoqf.js → vue-ui-parallel-coordinate-plot-Vb_QjRp5.js} +303 -307
  152. package/dist/{vue-ui-quadrant-B72Y4Zuw.js → vue-ui-quadrant-DMFawnHm.js} +19 -18
  153. package/dist/{vue-ui-quick-chart-B3LF2ViM.js → vue-ui-quick-chart-BF5fKxY2.js} +606 -632
  154. package/dist/{vue-ui-radar-4v_E8oGX.js → vue-ui-radar-D91pCqhn.js} +12 -13
  155. package/dist/{vue-ui-rating-CzLGCFWK.js → vue-ui-rating-DbxK-ftN.js} +3 -3
  156. package/dist/{vue-ui-relation-circle-B_8dyIv2.js → vue-ui-relation-circle-DfxvnOs6.js} +14 -21
  157. package/dist/{vue-ui-ridgeline-BArLhskj.js → vue-ui-ridgeline-BOL0m1mR.js} +13 -14
  158. package/dist/{vue-ui-rings-Csn5BgLk.js → vue-ui-rings-4RxAaMo4.js} +13 -14
  159. package/dist/vue-ui-scatter-Bs1wek00.js +2409 -0
  160. package/dist/{vue-ui-skeleton-KeIPGp9U.js → vue-ui-skeleton-B84nELF_.js} +4 -4
  161. package/dist/{vue-ui-smiley-C1mYDh4R.js → vue-ui-smiley-Da2jgkb7.js} +3 -3
  162. package/dist/{vue-ui-spark-trend-EqCqmHmU.js → vue-ui-spark-trend-BR-qkwJ6.js} +6 -7
  163. package/dist/{vue-ui-sparkbar-BPh45vBP.js → vue-ui-sparkbar-DghCbhj2.js} +51 -54
  164. package/dist/{vue-ui-sparkgauge-CtouPcyW.js → vue-ui-sparkgauge-DbeTbrxx.js} +4 -4
  165. package/dist/{vue-ui-sparkhistogram-D4sI0DHN.js → vue-ui-sparkhistogram-B2xSQyOp.js} +7 -8
  166. package/dist/{vue-ui-sparkline-BDFZ78Fz.js → vue-ui-sparkline-D3xRMcy9.js} +6 -7
  167. package/dist/{vue-ui-sparkstackbar-CbTXIfxm.js → vue-ui-sparkstackbar-D8z8fVFZ.js} +5 -5
  168. package/dist/vue-ui-stackbar-B63-UgSr.js +2322 -0
  169. package/dist/{vue-ui-stackline-CzfXl5ah.js → vue-ui-stackline-Dukmj3yT.js} +588 -586
  170. package/dist/vue-ui-strip-plot-Bws0p7tP.js +1736 -0
  171. package/dist/{vue-ui-table-BAKkFXki.js → vue-ui-table-dxCS6ztG.js} +12 -11
  172. package/dist/{vue-ui-table-heatmap-CUMxqHKK.js → vue-ui-table-heatmap-CSI482KG.js} +9 -15
  173. package/dist/{vue-ui-table-sparkline-BVTm16fd.js → vue-ui-table-sparkline-C-XgNV1l.js} +10 -8
  174. package/dist/{vue-ui-thermometer-CGeEW1KV.js → vue-ui-thermometer-BUKge0w8.js} +10 -11
  175. package/dist/{vue-ui-timer-Bz7EnsM1.js → vue-ui-timer-CCd3pznw.js} +7 -8
  176. package/dist/{vue-ui-tiremarks-IOqtk_Rr.js → vue-ui-tiremarks-CG5X5rgi.js} +9 -10
  177. package/dist/{vue-ui-treemap-JxNNtb7v.js → vue-ui-treemap-CNVB8Ng6.js} +501 -492
  178. package/dist/{vue-ui-waffle-D34mcJWi.js → vue-ui-waffle-DH5Rf1WM.js} +13 -14
  179. package/dist/{vue-ui-wheel-B_qEhyvk.js → vue-ui-wheel-BzEkxqDz.js} +10 -11
  180. package/dist/{vue-ui-word-cloud-TtObhd91.js → vue-ui-word-cloud-DbfGZ-hb.js} +15 -12
  181. package/dist/{vue-ui-world-R9o00A6c.js → vue-ui-world-CL6KcPcv.js} +10 -10
  182. package/dist/{vue-ui-xy-Do34-UbE.js → vue-ui-xy-4Xp7UoLs.js} +9 -9
  183. package/dist/{vue-ui-xy-CUt6sU1s.js → vue-ui-xy-BAmxfSSw.js} +1269 -1266
  184. package/dist/{vue-ui-xy-canvas-C6eRRH--.js → vue-ui-xy-canvas-7YSYRdwr.js} +27 -27
  185. package/package.json +3 -3
  186. package/dist/Slicer-WsWTQPKt.js +0 -1150
  187. package/dist/SlicerPreview-3n516NyE.js +0 -1688
  188. package/dist/useResponsive-BfnK0KxU.js +0 -19
  189. package/dist/vue-ui-accordion-Oo3IsX3-.js +0 -81
  190. package/dist/vue-ui-scatter-BBaOx94M.js +0 -2422
  191. package/dist/vue-ui-stackbar-nMXIY9x8.js +0 -2339
  192. package/dist/vue-ui-strip-plot-BCf5nthl.js +0 -1736
@@ -1,78 +1,74 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, B as n, C as r, E as i, Gt as a, K as o, Kt as s, N as ee, Nt as te, Q as ne, W as re, Wt as ie, Y as ae, bt as oe, et as se, ft as ce, g as le, i as ue, mt as de, qt as fe, st as pe, t as me, x as he } from "./lib-CnHx5WfV.js";
3
- import { t as ge } from "./useConfig-DYM3f6EI.js";
4
- import { t as _e } from "./usePrinter-B-X_Pub0.js";
2
+ import { At as t, B as n, C as r, E as i, Gt as a, K as o, Kt as s, N as ee, Nt as te, Q as ne, W as re, Wt as ie, Y as ae, bt as oe, et as se, ft as ce, g as le, i as ue, mt as de, qt as fe, st as pe, t as me, x as he } from "./lib-CFm_J26b.js";
3
+ import { t as ge } from "./useConfig-C0V0eG7L.js";
4
+ import { t as _e } from "./usePrinter-BH-xle1O.js";
5
5
  import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as be } from "./useSvgExport-SVIsDot8.js";
7
- import { t as xe } from "./useNestedProp-D8NuRneO.js";
6
+ import { t as be } from "./useSvgExport-Ba9qBr9M.js";
7
+ import { t as xe } from "./useNestedProp-BY6DNN3i.js";
8
8
  import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
10
- import { t as we } from "./img-CNdXiUfZ.js";
11
- import { n as Te } from "./Title-Cr3jP7Qd.js";
12
- import { t as Ee } from "./Shape-B5ksaGa1.js";
13
- import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { c as Oe } from "./canvas-lib-BOP_HS11.js";
15
- import { t as ke } from "./useResponsive-BfnK0KxU.js";
16
- import { t as Ae } from "./BaseLegendToggle-BrQ2OlzI.js";
17
- import { t as je } from "./A11yDataTable-DdRsVULz.js";
18
- import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Pe } from "./Legend-5VQGLnmx.js";
21
- import { t as Fe } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
22
- import { Fragment as c, Teleport as Ie, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Be, nextTick as Ve, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as He, onMounted as Ue, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as C, toRefs as Ke, unref as w, watch as qe, watchEffect as Je, withCtx as T } from "vue";
9
+ import { t as Ce } from "./useMountedDelay-BAjrhRJb.js";
10
+ import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
+ import { t as Te } from "./img-Bikk1dGb.js";
12
+ import { n as Ee } from "./Title-BuPs74IB.js";
13
+ import { t as De } from "./Shape-BfnXr1nJ.js";
14
+ import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
+ import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
16
+ import { t as je } from "./BaseLegendToggle-DsWphmIb.js";
17
+ import { t as Me } from "./A11yDataTable-DdRsVULz.js";
18
+ import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { t as Fe } from "./Legend-C0xAnJdO.js";
21
+ import { t as Ie } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
22
+ import { Fragment as c, Teleport as Le, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Ve, nextTick as He, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Ue, onMounted as We, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as C, toRefs as qe, unref as w, watch as Je, watchEffect as Ye, withCtx as T } from "vue";
23
23
  //#region src/components/vue-ui-parallel-coordinate-plot.vue
24
- var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe = ["id"], $e = { style: { position: "relative" } }, et = [
24
+ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e = ["id"], et = { style: { position: "relative" } }, tt = [
25
25
  "xmlns",
26
26
  "aria-describedby",
27
27
  "viewBox"
28
- ], tt = [
28
+ ], nt = [
29
29
  "x",
30
30
  "y",
31
31
  "width",
32
32
  "height"
33
- ], nt = { style: { "pointer-events": "none" } }, rt = [
33
+ ], rt = { style: { "pointer-events": "none" } }, it = [
34
34
  "x1",
35
35
  "x2",
36
36
  "y1",
37
37
  "y2",
38
38
  "stroke",
39
39
  "stroke-width"
40
- ], it = [
41
- "x1",
42
- "x2",
43
- "y1",
44
- "y2",
40
+ ], at = [
41
+ "d",
45
42
  "stroke",
46
43
  "stroke-width"
47
- ], at = { key: 0 }, ot = [
48
- "x",
49
- "y",
44
+ ], ot = { key: 0 }, st = [
45
+ "transform",
50
46
  "fill",
51
47
  "font-size",
52
48
  "font-weight"
53
- ], st = [
49
+ ], ct = [
54
50
  "fill",
55
51
  "font-size",
56
52
  "font-weight",
57
53
  "text-anchor",
58
54
  "transform"
59
- ], ct = [
55
+ ], lt = [
60
56
  "fill",
61
57
  "font-size",
62
58
  "font-weight",
63
59
  "text-anchor",
64
60
  "transform",
65
61
  "innerHTML"
66
- ], lt = { key: 0 }, ut = [
62
+ ], ut = { key: 0 }, dt = [
67
63
  "x",
68
64
  "y",
69
65
  "font-size",
70
66
  "fill"
71
- ], dt = [
67
+ ], ft = [
72
68
  "width",
73
69
  "x",
74
70
  "y"
75
- ], ft = { style: { width: "100%" } }, pt = [
71
+ ], pt = { style: { width: "100%" } }, mt = [
76
72
  "x",
77
73
  "y",
78
74
  "fill",
@@ -81,19 +77,19 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
81
77
  "onMouseenter",
82
78
  "onMouseleave",
83
79
  "onClick"
84
- ], mt = [
80
+ ], ht = [
85
81
  "d",
86
82
  "stroke",
87
83
  "stroke-width",
88
84
  "onMouseenter",
89
85
  "onMouseleave",
90
86
  "onClick"
91
- ], ht = [
87
+ ], gt = [
92
88
  "d",
93
89
  "onMouseenter",
94
90
  "onMouseleave",
95
91
  "onClick"
96
- ], gt = {
92
+ ], _t = {
97
93
  key: 0,
98
94
  style: {
99
95
  position: "absolute",
@@ -103,10 +99,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
103
99
  },
104
100
  "data-dom-to-png-ignore": "",
105
101
  "aria-hidden": "true"
106
- }, _t = {
102
+ }, vt = {
107
103
  key: 5,
108
104
  class: "vue-data-ui-watermark"
109
- }, vt = ["id"], yt = ["onClick"], bt = ["innerHTML"], xt = /*#__PURE__*/ De({
105
+ }, yt = ["id"], bt = ["onClick"], xt = ["innerHTML"], St = /*#__PURE__*/ Oe({
110
106
  __name: "vue-ui-parallel-coordinate-plot",
111
107
  props: {
112
108
  config: {
@@ -127,22 +123,22 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
127
123
  "selectDatapoint",
128
124
  "copyAlt"
129
125
  ],
130
- setup(e, { expose: De, emit: Ye }) {
131
- let xt = m(() => import("./Tooltip-CDbLl3TD.js")), St = m(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), wt = m(() => import("./DataTable-ByZy5gt1.js")), Tt = m(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), Et = m(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: kt } = ge(), { isThemeValid: At, warnInvalidTheme: jt } = Se(), E = e, Mt = l({
126
+ setup(e, { expose: Oe, emit: Xe }) {
127
+ let St = m(() => import("./Tooltip-CA1rtSyl.js")), Ct = m(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), wt = m(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), Tt = m(() => import("./DataTable-DzPEVvSo.js")), Et = m(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Dt = m(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), Ot = m(() => import("./PackageVersion-Di3tpYst.js").then((e) => e.t)), kt = m(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: At } = ge(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), { isReady: Nt } = Ce(300), E = e, Pt = l({
132
128
  get() {
133
129
  return !!E.dataset && E.dataset.length;
134
130
  },
135
131
  set(e) {
136
132
  return e;
137
133
  }
138
- }), Nt = b(0), D = b(null), Pt = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(0), zt = b(0), Bt = b(0), Vt = b(!1), O = b(null), Ht = b(null), Ut = b(!1), Wt = b(!1), Gt = b(null), k = b(null), Kt = b({
134
+ }), Ft = b(0), D = b(null), It = b(null), Lt = b(null), Rt = b(null), zt = b(null), Bt = b(0), Vt = b(0), Ht = b(0), Ut = b(!1), O = b(null), Wt = b(null), Gt = b(!1), Kt = b(!1), qt = b(null), k = b(null), Jt = b({
139
135
  x: 0,
140
136
  y: 0
141
- }), qt = b("pointer"), Jt = b(!1), A = b(o()), j = b(!1);
142
- function Yt(e) {
143
- j.value = e, Nt.value += 1;
137
+ }), Yt = b("pointer"), Xt = b(!1), A = b(o()), j = b(!1);
138
+ function Zt(e) {
139
+ j.value = e, Ft.value += 1;
144
140
  }
145
- let M = b(nn()), N = l(() => M.value.userOptions.useCursorPointer), Xt = l(() => fe({
141
+ let M = b(an()), N = l(() => M.value.userOptions.useCursorPointer), Qt = l(() => fe({
146
142
  defaultConfig: {
147
143
  useCssAnimation: !1,
148
144
  userOptions: { show: !1 },
@@ -164,13 +160,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
164
160
  } }
165
161
  },
166
162
  userConfig: M.value.skeletonConfig ?? {}
167
- })), { loading: P, FINAL_DATASET: Zt, manualLoading: Qt } = ve({
168
- ...Ke(E),
163
+ })), { loading: P, FINAL_DATASET: $t, manualLoading: en } = ve({
164
+ ...qe(E),
169
165
  FINAL_CONFIG: M,
170
- prepareConfig: nn,
166
+ prepareConfig: an,
171
167
  callback: () => {
172
168
  Promise.resolve().then(async () => {
173
- await Ve(), V.value.showTable = M.value.table.show;
169
+ await He(), V.value.showTable = M.value.table.show;
174
170
  });
175
171
  },
176
172
  skeletonDataset: E.config?.skeletonDataset ?? [
@@ -219,18 +215,18 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
219
215
  ],
220
216
  skeletonConfig: fe({
221
217
  defaultConfig: M.value,
222
- userConfig: Xt.value
218
+ userConfig: Qt.value
223
219
  })
224
- }), { userOptionsVisible: $t, setUserOptionsVisibility: en, keepUserOptionState: tn } = Me({ config: M.value }), { svgRef: F } = Ne({ config: M.value.style.chart.title });
225
- function nn() {
220
+ }), { userOptionsVisible: tn, setUserOptionsVisibility: nn, keepUserOptionState: rn } = Ne({ config: M.value }), { svgRef: F } = Pe({ config: M.value.style.chart.title });
221
+ function an() {
226
222
  let e = xe({
227
223
  userConfig: E.config,
228
- defaultConfig: kt
224
+ defaultConfig: At
229
225
  }), t = e.theme;
230
226
  if (!t) return e;
231
- if (!At.value(e)) return jt(e), e;
227
+ if (!jt.value(e)) return Mt(e), e;
232
228
  let n = xe({
233
- userConfig: Fe[t] || E.config,
229
+ userConfig: Ie[t] || E.config,
234
230
  defaultConfig: e
235
231
  }), r = xe({
236
232
  userConfig: E.config,
@@ -241,42 +237,42 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
241
237
  customPalette: r.customPalette.length ? r.customPalette : a[t] || te
242
238
  };
243
239
  }
244
- qe(() => E.config, (e) => {
245
- P.value || (M.value = nn()), $t.value = !M.value.userOptions.showOnChartHover, an(), Rt.value += 1, Bt.value += 1, zt.value += 1, V.value.dataLabels.show = M.value.style.chart.yAxis.labels.datapoints.show, V.value.showTable = M.value.table.show, V.value.showTooltip = M.value.style.chart.tooltip.show;
246
- }, { deep: !0 }), qe(() => E.dataset, (e) => {
247
- Array.isArray(e) && e.length > 0 && (Qt.value = !1);
240
+ Je(() => E.config, (e) => {
241
+ P.value || (M.value = an()), tn.value = !M.value.userOptions.showOnChartHover, sn(), Bt.value += 1, Ht.value += 1, Vt.value += 1, V.value.dataLabels.show = M.value.style.chart.yAxis.labels.datapoints.show, V.value.showTable = M.value.table.show, V.value.showTooltip = M.value.style.chart.tooltip.show;
242
+ }, { deep: !0 }), Je(() => E.dataset, (e) => {
243
+ Array.isArray(e) && e.length > 0 && (en.value = !1);
248
244
  }, { deep: !0 });
249
- let I = Ge(null), L = Ge(null);
250
- Ue(() => {
251
- Vt.value = !0, an();
245
+ let I = Ke(null), L = Ke(null);
246
+ We(() => {
247
+ Ut.value = !0, sn();
252
248
  });
253
- let rn = l(() => !!M.value.debug);
254
- function an() {
249
+ let on = l(() => !!M.value.debug);
250
+ function sn() {
255
251
  if (t(E.dataset) ? (se({
256
252
  componentName: "VueUiParallelCoordinatePlot",
257
253
  type: "dataset",
258
- debug: rn.value
259
- }), Qt.value = !0) : E.dataset.forEach((e, t) => {
254
+ debug: on.value
255
+ }), en.value = !0) : E.dataset.forEach((e, t) => {
260
256
  ce({
261
257
  datasetObject: e,
262
258
  requiredAttributes: ["name", "series"]
263
259
  }).forEach((e) => {
264
- Mt.value = !1, se({
260
+ Pt.value = !1, se({
265
261
  componentName: "VueUiParallelCoordinatePlot",
266
262
  type: "datasetSerieAttribute",
267
263
  property: e,
268
264
  index: t,
269
- debug: rn.value
265
+ debug: on.value
270
266
  });
271
267
  });
272
- }), t(E.dataset) || (Qt.value = M.value.loading), M.value.responsive) {
273
- let e = Oe(() => {
274
- let { width: e, height: t } = ke({
268
+ }), t(E.dataset) || (en.value = M.value.loading), M.value.responsive) {
269
+ let e = ke(() => {
270
+ let { width: e, height: t } = Ae({
275
271
  chart: D.value,
276
- title: M.value.style.chart.title.text ? Pt.value : null,
277
- legend: M.value.style.chart.legend.show ? Ft.value : null,
278
- source: It.value,
279
- noTitle: Lt.value
272
+ title: M.value.style.chart.title.text ? It.value : null,
273
+ legend: M.value.style.chart.legend.show ? Lt.value : null,
274
+ source: Rt.value,
275
+ noTitle: zt.value
280
276
  });
281
277
  requestAnimationFrame(() => {
282
278
  R.value.width = e, R.value.height = t - 12, M.value.responsiveProportionalSizing ? (R.value.plotSize = s({
@@ -309,33 +305,33 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
309
305
  I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = D.value.parentNode, I.value.observe(L.value);
310
306
  }
311
307
  }
312
- He(() => {
308
+ Ue(() => {
313
309
  I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
314
310
  });
315
- let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = _e({
311
+ let { isPrinting: cn, isImaging: ln, generatePdf: un, generateImage: dn } = _e({
316
312
  elementId: `pcp_${A.value}`,
317
313
  fileName: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
318
314
  options: M.value.userOptions.print
319
- }), un = l(() => M.value.userOptions.show && !M.value.style.chart.title.text), R = b({
315
+ }), fn = l(() => M.value.userOptions.show && !M.value.style.chart.title.text), R = b({
320
316
  height: M.value.style.chart.height,
321
317
  width: M.value.style.chart.width,
322
318
  plotSize: M.value.style.chart.plots.radius,
323
319
  ticksFontSize: M.value.style.chart.yAxis.labels.ticks.fontSize,
324
320
  datapointFontSize: M.value.style.chart.yAxis.labels.datapoints.fontSize,
325
321
  axisNameFontSize: M.value.style.chart.yAxis.labels.axisNamesFontSize
326
- }), dn = l(() => R.value.width), fn = l(() => R.value.height), z = b(0), pn = Oe((e) => {
322
+ }), pn = l(() => R.value.width), mn = l(() => R.value.height), z = b(0), hn = ke((e) => {
327
323
  z.value = e;
328
324
  }, 100);
329
- Je((e) => {
330
- let t = Gt.value;
325
+ Ye((e) => {
326
+ let t = qt.value;
331
327
  if (!t) return;
332
328
  let n = new ResizeObserver((e) => {
333
- pn(e[0].contentRect.height);
329
+ hn(e[0].contentRect.height);
334
330
  });
335
331
  n.observe(t), e(() => n.disconnect());
336
332
  });
337
333
  let B = l(() => {
338
- let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i = fn.value, a = dn.value;
334
+ let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i = mn.value, a = pn.value;
339
335
  return {
340
336
  chartHeight: Math.max(.001, i),
341
337
  chartWidth: Math.max(.001, a),
@@ -346,12 +342,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
346
342
  right: a - t,
347
343
  bottom: i - n - R.value.datapointFontSize
348
344
  };
349
- }), mn = l(() => r(M.value.customPalette)), V = b({
345
+ }), gn = l(() => r(M.value.customPalette)), V = b({
350
346
  dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
351
347
  showTable: M.value.table.show,
352
348
  showTooltip: M.value.style.chart.tooltip.show
353
349
  });
354
- qe(M, () => {
350
+ Je(M, () => {
355
351
  V.value = {
356
352
  dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
357
353
  showTable: M.value.table.show,
@@ -359,16 +355,16 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
359
355
  };
360
356
  }, { immediate: !0 });
361
357
  let H = b([]);
362
- function hn() {
358
+ function _n() {
363
359
  H.value.length ? H.value = [] : W.value.forEach((e) => {
364
360
  H.value.push(e.id);
365
- }), jn("selectLegend", K.value);
361
+ }), Mn("selectLegend", K.value);
366
362
  }
367
- function gn(e) {
368
- H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e), jn("selectLegend", K.value);
363
+ function vn(e) {
364
+ H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e), Mn("selectLegend", K.value);
369
365
  }
370
- let U = l(() => Zt.value.map((e, t) => {
371
- let n = he(e.color) || mn.value[t] || te[t] || te[t % te.length];
366
+ let U = l(() => $t.value.map((e, t) => {
367
+ let n = he(e.color) || gn.value[t] || te[t] || te[t % te.length];
372
368
  return {
373
369
  ...e,
374
370
  series: e.series.map((e) => ({
@@ -382,33 +378,33 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
382
378
  shape: e.shape || "circle"
383
379
  };
384
380
  }));
385
- function _n(e) {
381
+ function yn(e) {
386
382
  return U.value.length ? U.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
387
383
  }
388
- function vn(e) {
389
- let t = _n(e);
390
- t !== null && H.value.includes(t.id) && gn(t.id);
384
+ function bn(e) {
385
+ let t = yn(e);
386
+ t !== null && H.value.includes(t.id) && vn(t.id);
391
387
  }
392
- function yn(e) {
393
- let t = _n(e);
394
- t !== null && (H.value.includes(t.id) || gn(t.id));
388
+ function xn(e) {
389
+ let t = yn(e);
390
+ t !== null && (H.value.includes(t.id) || vn(t.id));
395
391
  }
396
392
  let W = l(() => U.value.map((e) => ({
397
393
  ...e,
398
394
  opacity: H.value.includes(e.id) ? .5 : 1,
399
- segregate: () => gn(e.id),
395
+ segregate: () => vn(e.id),
400
396
  isSegregated: H.value.includes(e.id),
401
397
  shape: e.shape || "circle"
402
- }))), bn = l(() => ({
398
+ }))), Sn = l(() => ({
403
399
  cy: "pcp-div-legend",
404
400
  backgroundColor: M.value.style.chart.legend.backgroundColor,
405
401
  color: M.value.style.chart.legend.color,
406
402
  fontSize: M.value.style.chart.legend.fontSize,
407
403
  paddingBottom: 12,
408
404
  fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
409
- })), xn = l(() => Math.max(...U.value.filter((e) => !H.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), G = l(() => B.value.width / xn.value), K = l(() => U.value.filter((e) => !H.value.includes(e.id))), q = l(() => {
405
+ })), Cn = l(() => Math.max(...U.value.filter((e) => !H.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), G = l(() => B.value.width / Cn.value), K = l(() => U.value.filter((e) => !H.value.includes(e.id))), q = l(() => {
410
406
  let e = [];
411
- for (let t = 0; t < xn.value; t += 1) {
407
+ for (let t = 0; t < Cn.value; t += 1) {
412
408
  let n = Math.min(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = le(r === n ? n / 4 : n, r === n ? r * 2 : r, M.value.style.chart.yAxis.scaleTicks), a = i.ticks.map((e, n) => {
413
409
  let r = i.min < 0 ? e + Math.abs(i.min) : e - Math.abs(i.min), a = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
414
410
  return {
@@ -463,7 +459,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
463
459
  S: t,
464
460
  key: `${t}_${r}`
465
461
  }))));
466
- function Sn({ value: e, index: t, datapoint: n }) {
462
+ function wn({ value: e, index: t, datapoint: n }) {
467
463
  return ue(M.value.style.chart.yAxis.labels.formatters[t] || null, e, ae({
468
464
  p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
469
465
  v: e,
@@ -474,7 +470,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
474
470
  seriesIndex: t
475
471
  });
476
472
  }
477
- let X = b(null), Cn = b(null), wn = b(!1), Tn = b("");
473
+ let X = b(null), Tn = b(null), En = b(!1), Dn = b("");
478
474
  function Z({ shape: e, serie: t, S: n }) {
479
475
  M.value.events.datapointLeave && M.value.events.datapointLeave({
480
476
  datapoint: {
@@ -484,23 +480,23 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
484
480
  seriesIndex: n
485
481
  });
486
482
  let r = k.value === null ? null : Y.value[k.value];
487
- qt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, wn.value = !1);
483
+ Yt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, En.value = !1);
488
484
  }
489
- function En(e) {
485
+ function On(e) {
490
486
  if (!F.value || !e?.datapoints?.length) return;
491
487
  let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
492
488
  if (!t) return;
493
489
  let n = ie(t.x, t.y, F.value);
494
- n && (Kt.value = n);
490
+ n && (Jt.value = n);
495
491
  }
496
- function Dn({ shape: e, serieName: t, serie: n, relativeIndex: r, seriesIndex: i, S: a, triggerMode: o = "pointer" }) {
492
+ function Q({ shape: e, serieName: t, serie: n, relativeIndex: r, seriesIndex: i, S: a, triggerMode: o = "pointer" }) {
497
493
  M.value.events.datapointEnter && M.value.events.datapointEnter({
498
494
  datapoint: {
499
495
  ...n,
500
496
  shape: e
501
497
  },
502
498
  seriesIndex: a
503
- }), qt.value = o, Cn.value = {
499
+ }), Yt.value = o, Tn.value = {
504
500
  config: M.value,
505
501
  datapoint: n,
506
502
  serie: n,
@@ -508,7 +504,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
508
504
  seriesIndex: i,
509
505
  series: U.value,
510
506
  scales: q.value
511
- }, wn.value = !0, X.value = n.id;
507
+ }, En.value = !0, X.value = n.id;
512
508
  let s = "", ee = M.value.style.chart.tooltip.customFormat;
513
509
  oe(ee) && pe(() => ee({
514
510
  serie: n,
@@ -516,7 +512,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
516
512
  series: U.value,
517
513
  config: M.value,
518
514
  scales: q.value
519
- })) ? Tn.value = ee({
515
+ })) ? Dn.value = ee({
520
516
  serie: n,
521
517
  seriesIndex: n.seriesIndex,
522
518
  series: U.value,
@@ -539,14 +535,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
539
535
  </span>
540
536
  </div>
541
537
  `, M.value.style.chart.comments.showInTooltip && n.datapoints[t].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${n.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${n.color}">${n.datapoints[t].comment}</div>`);
542
- }), Tn.value = `<div>${s}</div>`), o === "keyboard" && Ve(() => {
543
- En(n);
538
+ }), Dn.value = `<div>${s}</div>`), o === "keyboard" && He(() => {
539
+ On(n);
544
540
  });
545
541
  }
546
- function On() {
542
+ function kn() {
547
543
  return U.value;
548
544
  }
549
- let Q = l(() => {
545
+ let $ = l(() => {
550
546
  let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name));
551
547
  return {
552
548
  body: J.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
@@ -566,52 +562,52 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
566
562
  },
567
563
  colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name))
568
564
  };
569
- }), kn = l(() => J.value.length === 0 ? {
565
+ }), An = l(() => J.value.length === 0 ? {
570
566
  head: [],
571
567
  body: [],
572
568
  config: {},
573
569
  columnNames: []
574
570
  } : {
575
- head: Q.value.head,
576
- body: Q.value.body
571
+ head: $.value.head,
572
+ body: $.value.body
577
573
  });
578
- function An(e = null) {
574
+ function jn(e = null) {
579
575
  let t = [
580
576
  [M.value.style.chart.title.text],
581
577
  [M.value.style.chart.title.subtitle.text],
582
578
  [""]
583
- ], n = kn.value.head, r = kn.value.body, a = i(t.concat([n]).concat(r));
579
+ ], n = An.value.head, r = An.value.body, a = i(t.concat([n]).concat(r));
584
580
  e ? e(a) : ne({
585
581
  csvContent: a,
586
582
  title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
587
583
  });
588
584
  }
589
- let jn = Ye;
590
- function Mn({ serie: e, shape: t, S: n }) {
585
+ let Mn = Xe;
586
+ function Nn({ serie: e, shape: t, S: n }) {
591
587
  M.value.events.datapointClick && M.value.events.datapointClick({
592
588
  datapoint: {
593
589
  ...e,
594
590
  shape: t
595
591
  },
596
592
  seriesIndex: n
597
- }), jn("selectDatapoint", e);
593
+ }), Mn("selectDatapoint", e);
598
594
  }
599
- function Nn() {
595
+ function Pn() {
600
596
  V.value.showTable = !V.value.showTable;
601
597
  }
602
- function Pn() {
598
+ function Fn() {
603
599
  V.value.dataLabels.show = !V.value.dataLabels.show;
604
600
  }
605
- function Fn() {
601
+ function In() {
606
602
  V.value.showTooltip = !V.value.showTooltip;
607
603
  }
608
- let In = b(!1);
609
- function Ln() {
610
- In.value = !In.value;
604
+ let Ln = b(!1);
605
+ function Rn() {
606
+ Ln.value = !Ln.value;
611
607
  }
612
- async function Rn({ scale: e = 2 } = {}) {
608
+ async function zn({ scale: e = 2 } = {}) {
613
609
  if (!D.value) return;
614
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
610
+ let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Te({
615
611
  domElement: D.value,
616
612
  base64: !0,
617
613
  img: !0,
@@ -626,14 +622,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
626
622
  aspectRatio: r
627
623
  };
628
624
  }
629
- let zn = b({
625
+ let Bn = b({
630
626
  start: 0,
631
627
  end: 1
632
628
  });
633
- Ce({
634
- timeLabelsEls: Gt,
629
+ we({
630
+ timeLabelsEls: qt,
635
631
  timeLabels: l(() => q.value.map((e) => e.name)),
636
- slicer: zn,
632
+ slicer: Bn,
637
633
  configRef: M,
638
634
  rotationPath: [
639
635
  "style",
@@ -651,15 +647,15 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
651
647
  "enable"
652
648
  ],
653
649
  isAutoSize: !1,
654
- width: dn,
655
- height: fn,
650
+ width: pn,
651
+ height: mn,
656
652
  targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
657
653
  rotation: M.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
658
654
  });
659
- let Bn = l(() => {
655
+ let Vn = l(() => {
660
656
  let e = M.value.table.useDialog && !M.value.table.show, t = V.value.showTable;
661
657
  return {
662
- component: e ? Ot : Ct,
658
+ component: e ? kt : wt,
663
659
  title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
664
660
  props: e ? {
665
661
  backgroundColor: M.value.table.th.backgroundColor,
@@ -687,48 +683,48 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
687
683
  }
688
684
  };
689
685
  });
690
- qe(() => V.value.showTable, (e) => {
686
+ Je(() => V.value.showTable, (e) => {
691
687
  M.value.table.show || (e && M.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
692
688
  });
693
- function Vn() {
694
- V.value.showTable = !1, Ht.value && Ht.value.setTableIconState(!1);
689
+ function Hn() {
690
+ V.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
695
691
  }
696
- let Hn = l(() => M.value.style.chart.backgroundColor), Un = l(() => M.value.style.chart.legend), { exportSvg: Wn, getSvg: Gn } = be({
692
+ let Un = l(() => M.value.style.chart.backgroundColor), Wn = l(() => M.value.style.chart.legend), { exportSvg: Gn, getSvg: Kn } = be({
697
693
  svg: F,
698
694
  title: l(() => M.value.style.chart.title),
699
- legend: Un,
695
+ legend: Wn,
700
696
  legendItems: W,
701
- backgroundColor: Hn
697
+ backgroundColor: Un
702
698
  });
703
- async function Kn({ isCb: e }) {
704
- Wt.value = !0, await Ve();
699
+ async function qn({ isCb: e }) {
700
+ Kt.value = !0, await He();
705
701
  try {
706
702
  if (e) {
707
- let { blob: e, url: t, text: n, dataUrl: r } = await Gn();
703
+ let { blob: e, url: t, text: n, dataUrl: r } = await Kn();
708
704
  await Promise.resolve(M.value.userOptions.callbacks.svg({
709
705
  blob: e,
710
706
  url: t,
711
707
  text: n,
712
708
  dataUrl: r
713
709
  }));
714
- } else await Promise.resolve(Wn());
710
+ } else await Promise.resolve(Gn());
715
711
  } finally {
716
- Wt.value = !1;
712
+ Kt.value = !1;
717
713
  }
718
714
  }
719
- function qn(e) {
715
+ function Jn(e) {
720
716
  if (e?.stage === "start") {
721
- Ut.value = !0;
717
+ Gt.value = !0;
722
718
  return;
723
719
  }
724
720
  if (e?.stage === "end") {
725
- Ut.value = !1;
721
+ Gt.value = !1;
726
722
  return;
727
723
  }
728
- ln();
724
+ dn();
729
725
  }
730
- async function Jn() {
731
- if (jn("copyAlt", {
726
+ async function Yn() {
727
+ if (Mn("copyAlt", {
732
728
  config: M.value,
733
729
  dataset: J.value
734
730
  }), !M.value.userOptions.callbacks.altCopy) {
@@ -740,11 +736,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
740
736
  dataset: J.value
741
737
  }));
742
738
  }
743
- function Yn(e) {
739
+ function Xn(e) {
744
740
  let t = Y.value.length;
745
741
  return t ? (e % t + t) % t : null;
746
742
  }
747
- function Xn() {
743
+ function Zn() {
748
744
  if (k.value !== null) {
749
745
  let e = Y.value[k.value];
750
746
  e && Z({
@@ -753,27 +749,27 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
753
749
  S: e.S
754
750
  });
755
751
  }
756
- k.value = null, qt.value = "pointer", X.value = null, wn.value = !1;
757
- }
758
- function Zn() {
759
- k.value = null, Jt.value = !0;
752
+ k.value = null, Yt.value = "pointer", X.value = null, En.value = !1;
760
753
  }
761
754
  function Qn() {
762
- Xn(), Jt.value = !1;
755
+ k.value = null, Xt.value = !0;
763
756
  }
764
- function $n(e) {
765
- if (!F.value || In.value || document.activeElement !== F.value || !Y.value.length) return;
757
+ function $n() {
758
+ Zn(), Xt.value = !1;
759
+ }
760
+ function er(e) {
761
+ if (!F.value || Ln.value || document.activeElement !== F.value || !Y.value.length) return;
766
762
  let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
767
763
  if (!t && !n && !r && !i) return;
768
764
  if (e.preventDefault(), e.stopPropagation(), i) {
769
- Xn();
765
+ Zn();
770
766
  return;
771
767
  }
772
768
  if (r) {
773
769
  if (k.value === null) return;
774
770
  let e = Y.value[k.value];
775
771
  if (!e) return;
776
- Mn({
772
+ Nn({
777
773
  serie: e.serie,
778
774
  shape: e.shape,
779
775
  S: e.S
@@ -781,9 +777,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
781
777
  return;
782
778
  }
783
779
  let a = k.value;
784
- a = a === null ? n ? 0 : Y.value.length - 1 : Yn(a + (n ? 1 : -1));
780
+ a = a === null ? n ? 0 : Y.value.length - 1 : Xn(a + (n ? 1 : -1));
785
781
  let o = Y.value[a];
786
- o && (k.value = a, Dn({
782
+ o && (k.value = a, Q({
787
783
  shape: o.shape,
788
784
  serieName: o.serieName,
789
785
  serie: o.serie,
@@ -793,9 +789,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
793
789
  triggerMode: "keyboard"
794
790
  }));
795
791
  }
796
- let $ = l(() => ({
797
- head: Q.value.head,
798
- body: Q.value.body.map((e) => [
792
+ let tr = l(() => ({
793
+ head: $.value.head,
794
+ body: $.value.body.map((e) => [
799
795
  e[0] ?? "",
800
796
  e[1] ?? "",
801
797
  ...e.slice(2)
@@ -803,41 +799,41 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
803
799
  caption: M.value.a11y.translations.tableCaption,
804
800
  notice: M.value.a11y.translations.tableAvailable
805
801
  }));
806
- return De({
807
- getData: On,
808
- getImage: Rn,
809
- generateCsv: An,
810
- generatePdf: cn,
811
- generateImage: ln,
812
- generateSvg: Kn,
813
- hideSeries: yn,
814
- showSeries: vn,
815
- toggleTable: Nn,
816
- toggleLabels: Pn,
817
- toggleTooltip: Fn,
818
- toggleAnnotator: Ln,
819
- toggleFullscreen: Yt,
820
- copyAlt: Jn
802
+ return Oe({
803
+ getData: kn,
804
+ getImage: zn,
805
+ generateCsv: jn,
806
+ generatePdf: un,
807
+ generateImage: dn,
808
+ generateSvg: qn,
809
+ hideSeries: xn,
810
+ showSeries: bn,
811
+ toggleTable: Pn,
812
+ toggleLabels: Fn,
813
+ toggleTooltip: In,
814
+ toggleAnnotator: Rn,
815
+ toggleFullscreen: Zt,
816
+ copyAlt: Yn
821
817
  }), (e, t) => (y(), f("div", {
822
818
  ref_key: "pcpChart",
823
819
  ref: D,
824
820
  class: g(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
825
821
  style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
826
822
  id: `pcp_${A.value}`,
827
- onMouseenter: t[2] ||= () => w(en)(!0),
828
- onMouseleave: t[3] ||= () => w(en)(!1)
823
+ onMouseenter: t[2] ||= () => w(nn)(!0),
824
+ onMouseleave: t[3] ||= () => w(nn)(!1)
829
825
  }, [
830
826
  p("div", {
831
827
  id: `chart-instructions-${A.value}`,
832
828
  class: "sr-only"
833
- }, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
834
- $.value.body.length ? (y(), u(je, {
829
+ }, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
830
+ tr.value.body.length ? (y(), u(Me, {
835
831
  key: 0,
836
832
  uid: A.value,
837
- head: $.value.head,
838
- body: $.value.body,
839
- caption: $.value.caption,
840
- notice: $.value.notice
833
+ head: tr.value.head,
834
+ body: tr.value.body,
835
+ caption: tr.value.caption,
836
+ notice: tr.value.notice
841
837
  }, null, 8, [
842
838
  "uid",
843
839
  "head",
@@ -845,14 +841,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
845
841
  "caption",
846
842
  "notice"
847
843
  ])) : d("", !0),
848
- M.value.userOptions.buttons.annotator ? (y(), u(w(Tt), {
844
+ M.value.userOptions.buttons.annotator ? (y(), u(w(Et), {
849
845
  key: 1,
850
846
  svgRef: w(F),
851
847
  backgroundColor: M.value.style.chart.backgroundColor,
852
848
  color: M.value.style.chart.color,
853
- active: In.value,
849
+ active: Ln.value,
854
850
  isCursorPointer: N.value,
855
- onClose: Ln
851
+ onClose: Rn
856
852
  }, {
857
853
  "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
858
854
  "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
@@ -868,20 +864,20 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
868
864
  "active",
869
865
  "isCursorPointer"
870
866
  ])) : d("", !0),
871
- un.value ? (y(), f("div", {
867
+ fn.value ? (y(), f("div", {
872
868
  key: 2,
873
869
  ref_key: "noTitle",
874
- ref: Lt,
870
+ ref: zt,
875
871
  class: "vue-data-ui-no-title-space",
876
872
  style: "height:36px; width: 100%;background:transparent"
877
873
  }, null, 512)) : d("", !0),
878
874
  M.value.style.chart.title.text ? (y(), f("div", {
879
875
  key: 3,
880
876
  ref_key: "chartTitle",
881
- ref: Pt,
877
+ ref: It,
882
878
  style: "width:100%;background:transparent;padding-bottom:24px"
883
- }, [(y(), u(Te, {
884
- key: `title_${Rt.value}`,
879
+ }, [(y(), u(Ee, {
880
+ key: `title_${Bt.value}`,
885
881
  config: {
886
882
  title: {
887
883
  cy: "pcp-div-title",
@@ -893,15 +889,15 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
893
889
  }
894
890
  }
895
891
  }, null, 8, ["config"]))], 512)) : d("", !0),
896
- p("div", { id: `legend-top-${A.value}` }, null, 8, Qe),
897
- M.value.userOptions.show && Mt.value && (w(tn) || w($t)) ? (y(), u(w(Et), {
892
+ p("div", { id: `legend-top-${A.value}` }, null, 8, $e),
893
+ M.value.userOptions.show && Pt.value && (w(rn) || w(tn)) ? (y(), u(w(Dt), {
898
894
  ref_key: "userOptionsRef",
899
- ref: Ht,
900
- key: `user_options_${Nt.value}`,
895
+ ref: Wt,
896
+ key: `user_options_${Ft.value}`,
901
897
  backgroundColor: M.value.style.chart.backgroundColor,
902
898
  color: M.value.style.chart.color,
903
- isPrinting: w(on),
904
- isImaging: w(sn),
899
+ isPrinting: w(cn),
900
+ isImaging: w(ln),
905
901
  uid: A.value,
906
902
  hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
907
903
  hasPdf: M.value.userOptions.buttons.pdf,
@@ -918,23 +914,23 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
918
914
  chartElement: D.value,
919
915
  position: M.value.userOptions.position,
920
916
  hasAnnotator: M.value.userOptions.buttons.annotator,
921
- isAnnotation: In.value,
917
+ isAnnotation: Ln.value,
922
918
  callbacks: M.value.userOptions.callbacks,
923
919
  printScale: M.value.userOptions.print.scale,
924
920
  tableDialog: M.value.table.useDialog,
925
921
  isCursorPointer: N.value,
926
- onToggleFullscreen: Yt,
927
- onGeneratePdf: w(cn),
928
- onGenerateCsv: An,
929
- onGenerateImage: qn,
930
- onGenerateSvg: Kn,
931
- onToggleTable: Nn,
932
- onToggleLabels: Pn,
933
- onToggleTooltip: Fn,
934
- onToggleAnnotator: Ln,
935
- onCopyAlt: Jn,
936
- style: v({ visibility: w(tn) ? w($t) ? "visible" : "hidden" : "visible" })
937
- }, Le({ _: 2 }, [
922
+ onToggleFullscreen: Zt,
923
+ onGeneratePdf: w(un),
924
+ onGenerateCsv: jn,
925
+ onGenerateImage: Jn,
926
+ onGenerateSvg: qn,
927
+ onToggleTable: Pn,
928
+ onToggleLabels: Fn,
929
+ onToggleTooltip: In,
930
+ onToggleAnnotator: Rn,
931
+ onCopyAlt: Yn,
932
+ style: v({ visibility: w(rn) ? w(tn) ? "visible" : "hidden" : "visible" })
933
+ }, Re({ _: 2 }, [
938
934
  e.$slots.menuIcon ? {
939
935
  name: "menuIcon",
940
936
  fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
@@ -1010,7 +1006,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1010
1006
  key: "12"
1011
1007
  } : void 0
1012
1008
  ]), 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.style".split("."))) : d("", !0),
1013
- p("div", $e, [(y(), f("svg", {
1009
+ p("div", et, [(y(), f("svg", {
1014
1010
  ref_key: "svgRef",
1015
1011
  ref: F,
1016
1012
  xmlns: w(me),
@@ -1022,11 +1018,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1022
1018
  viewBox: `0 0 ${B.value.chartWidth <= 0 ? 10 : B.value.chartWidth} ${B.value.chartHeight <= 0 ? 10 : B.value.chartHeight}`,
1023
1019
  style: v(`max-width:100%; overflow: visible; background:transparent;color:${M.value.style.chart.color}`),
1024
1020
  tabindex: "0",
1025
- onFocus: Zn,
1026
- onBlur: Qn,
1027
- onKeydown: $n
1021
+ onFocus: Qn,
1022
+ onBlur: $n,
1023
+ onKeydown: er
1028
1024
  }, [
1029
- ze(w(Dt)),
1025
+ Be(w(Ot)),
1030
1026
  e.$slots["chart-background"] ? (y(), f("foreignObject", {
1031
1027
  key: 0,
1032
1028
  x: B.value.left,
@@ -1034,39 +1030,39 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1034
1030
  width: B.value.width,
1035
1031
  height: B.value.height,
1036
1032
  style: { pointerEvents: "none" }
1037
- }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, tt)) : d("", !0),
1038
- (y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", nt, [p("line", {
1033
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : d("", !0),
1034
+ (y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", rt, [p("line", {
1039
1035
  x1: B.value.left + G.value * t + G.value / 2,
1040
1036
  x2: B.value.left + G.value * t + G.value / 2,
1041
1037
  y1: B.value.top,
1042
1038
  y2: B.value.bottom,
1043
1039
  stroke: M.value.style.chart.yAxis.stroke,
1044
1040
  "stroke-width": M.value.style.chart.yAxis.strokeWidth
1045
- }, null, 8, rt), M.value.style.chart.yAxis.labels.ticks.show ? (y(), f(c, { key: 0 }, [(y(!0), f(c, null, x(e.ticks, (e) => (y(), f("line", {
1046
- x1: e.x,
1047
- x2: e.x - 10,
1048
- y1: e.y,
1049
- y2: e.y,
1041
+ }, null, 8, it), M.value.style.chart.yAxis.labels.ticks.show ? (y(), f(c, { key: 0 }, [(y(!0), f(c, null, x(e.ticks, (t, n) => (y(), f("path", {
1042
+ class: "vue-ui-pcp-transition",
1043
+ key: `tick_${e.name}_${n}`,
1044
+ d: `M${t.x},${t.y} ${t.x - 10},${t.y}`,
1050
1045
  stroke: M.value.style.chart.yAxis.stroke,
1051
1046
  "stroke-width": M.value.style.chart.yAxis.strokeWidth,
1052
1047
  style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
1053
- }, null, 12, it))), 256)), w(P) ? d("", !0) : (y(), f("g", at, [(y(!0), f(c, null, x(e.ticks, (e) => (y(), f("text", {
1054
- x: e.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX,
1055
- y: e.y + M.value.style.chart.yAxis.labels.ticks.offsetY + R.value.ticksFontSize / 3,
1048
+ }, null, 12, at))), 128)), w(P) ? d("", !0) : (y(), f("g", ot, [(y(!0), f(c, null, x(e.ticks, (n, r) => (y(), f("text", {
1049
+ key: `tl_${e.name}_${r}`,
1050
+ class: g({ "vue-data-ui-datalabel": w(Nt) }),
1051
+ transform: `translate(${n.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX}, ${n.y + M.value.style.chart.yAxis.labels.ticks.offsetY + R.value.ticksFontSize / 3})`,
1056
1052
  fill: M.value.style.chart.yAxis.labels.ticks.color,
1057
1053
  "text-anchor": "end",
1058
1054
  "font-size": R.value.ticksFontSize,
1059
1055
  "font-weight": M.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
1060
1056
  style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
1061
- }, C(Sn({
1062
- value: e.value,
1057
+ }, C(wn({
1058
+ value: n.value,
1063
1059
  index: t,
1064
- datapoint: e
1065
- })), 13, ot))), 256))]))], 64)) : d("", !0)]))), 256)),
1060
+ datapoint: n
1061
+ })), 15, st))), 128))]))], 64)) : d("", !0)]))), 256)),
1066
1062
  M.value.style.chart.yAxis.labels.showAxisNames ? (y(), f("g", {
1067
1063
  key: 1,
1068
1064
  ref_key: "xAxisLabels",
1069
- ref: Gt
1065
+ ref: qt
1070
1066
  }, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
1071
1067
  key: 1,
1072
1068
  class: "vue-ui-parallel-coordinate-plot-x-label",
@@ -1082,7 +1078,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1082
1078
  x: 0,
1083
1079
  y: 0
1084
1080
  })
1085
- }, null, 8, ct)) : (y(), f("text", {
1081
+ }, null, 8, lt)) : (y(), f("text", {
1086
1082
  key: 0,
1087
1083
  class: "vue-ui-parallel-coordinate-plot-x-label",
1088
1084
  fill: M.value.style.chart.yAxis.labels.axisNamesColor,
@@ -1090,10 +1086,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1090
1086
  "font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1091
1087
  "text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1092
1088
  transform: `translate(${B.value.left + G.value * t + G.value / 2}, ${z.value - R.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`
1093
- }, C(e.name), 9, st))], 64))), 256))], 512)) : d("", !0),
1089
+ }, C(e.name), 9, ct))], 64))), 256))], 512)) : d("", !0),
1094
1090
  (y(!0), f(c, null, x(J.value, (t, n) => (y(), f("g", null, [(y(!0), f(c, null, x(t.series, (r, i) => (y(), f("g", null, [
1095
- M.value.style.chart.plots.show ? (y(), f("g", lt, [
1096
- (y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(Ee, {
1091
+ M.value.style.chart.plots.show ? (y(), f("g", ut, [
1092
+ (y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(De, {
1097
1093
  plot: {
1098
1094
  x: e.x,
1099
1095
  y: e.y
@@ -1103,7 +1099,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1103
1099
  radius: t.shape === "triangle" ? R.value.plotSize * 1.2 : R.value.plotSize,
1104
1100
  stroke: M.value.style.chart.backgroundColor,
1105
1101
  strokeWidth: .5,
1106
- onMouseenter: (e) => Dn({
1102
+ onMouseenter: (e) => Q({
1107
1103
  shape: t.shape,
1108
1104
  serieName: t.name,
1109
1105
  serie: r,
@@ -1118,7 +1114,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1118
1114
  S: n
1119
1115
  }),
1120
1116
  style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.plots.opacity : .2 : M.value.style.chart.plots.opacity}`),
1121
- onClick: () => Mn({
1117
+ onClick: () => Nn({
1122
1118
  serie: r,
1123
1119
  shape: t.shape,
1124
1120
  S: n
@@ -1142,7 +1138,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1142
1138
  "font-size": R.value.ticksFontSize,
1143
1139
  fill: t.color,
1144
1140
  "font-weight": "bold"
1145
- }, C(r.name), 9, ut)) : d("", !0)], 64)),
1141
+ }, C(r.name), 9, dt)) : d("", !0)], 64)),
1146
1142
  M.value.style.chart.comments.show ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (n) => (y(), f("g", null, [n.comment ? (y(), f("foreignObject", {
1147
1143
  key: 0,
1148
1144
  style: { overflow: "visible" },
@@ -1150,10 +1146,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1150
1146
  width: M.value.style.chart.comments.width,
1151
1147
  x: n.x - M.value.style.chart.comments.width / 2 + M.value.style.chart.comments.offsetX,
1152
1148
  y: n.y + M.value.style.chart.comments.offsetY + 6
1153
- }, [p("div", ft, [S(e.$slots, "plot-comment", { plot: {
1149
+ }, [p("div", pt, [S(e.$slots, "plot-comment", { plot: {
1154
1150
  ...n,
1155
1151
  color: t.color
1156
- } }, void 0, !0)])], 8, dt)) : d("", !0)]))), 256)) : d("", !0)
1152
+ } }, void 0, !0)])], 8, ft)) : d("", !0)]))), 256)) : d("", !0)
1157
1153
  ])) : d("", !0),
1158
1154
  !w(P) && (V.value.dataLabels.show || X.value && X.value === r.id) ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (e, a) => (y(), f("text", {
1159
1155
  x: e.x + 12 + M.value.style.chart.yAxis.labels.datapoints.offsetX,
@@ -1166,7 +1162,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1166
1162
  "vue-ui-pcp-transition": !w(P)
1167
1163
  }),
1168
1164
  "font-size": R.value.datapointFontSize,
1169
- onMouseenter: (e) => Dn({
1165
+ onMouseenter: (e) => Q({
1170
1166
  shape: t.shape,
1171
1167
  serieName: t.name,
1172
1168
  serie: r,
@@ -1180,17 +1176,17 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1180
1176
  shape: t.shape,
1181
1177
  S: n
1182
1178
  }),
1183
- onClick: () => Mn({
1179
+ onClick: () => Nn({
1184
1180
  serie: r,
1185
1181
  shape: t.shape,
1186
1182
  S: n
1187
1183
  }),
1188
1184
  style: v(`opacity:${X.value ? X.value === r.id ? 1 : .2 : 1}`)
1189
- }, C(Sn({
1185
+ }, C(wn({
1190
1186
  value: e.value,
1191
1187
  index: a,
1192
1188
  datapoint: e
1193
- })), 47, pt))), 256)) : d("", !0),
1189
+ })), 47, mt))), 256)) : d("", !0),
1194
1190
  p("path", {
1195
1191
  d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
1196
1192
  stroke: t.color,
@@ -1200,7 +1196,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1200
1196
  "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1201
1197
  "vue-ui-pcp-transition": !w(P)
1202
1198
  }),
1203
- onMouseenter: (e) => Dn({
1199
+ onMouseenter: (e) => Q({
1204
1200
  shape: t.shape,
1205
1201
  serieName: t.name,
1206
1202
  serie: r,
@@ -1214,13 +1210,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1214
1210
  shape: t.shape,
1215
1211
  S: n
1216
1212
  }),
1217
- onClick: () => Mn({
1213
+ onClick: () => Nn({
1218
1214
  serie: r,
1219
1215
  shape: t.shape,
1220
1216
  S: n
1221
1217
  }),
1222
1218
  style: v(`opacity:${X.value ? X.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}`)
1223
- }, null, 46, mt),
1219
+ }, null, 46, ht),
1224
1220
  V.value.showTooltip ? (y(), f("path", {
1225
1221
  key: 2,
1226
1222
  d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
@@ -1231,7 +1227,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1231
1227
  "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1232
1228
  "vue-ui-pcp-transition": !w(P)
1233
1229
  }),
1234
- onMouseenter: (e) => Dn({
1230
+ onMouseenter: (e) => Q({
1235
1231
  shape: t.shape,
1236
1232
  serieName: t.name,
1237
1233
  serie: r,
@@ -1245,52 +1241,52 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1245
1241
  shape: t.shape,
1246
1242
  S: n
1247
1243
  }),
1248
- onClick: () => Mn({
1244
+ onClick: () => Nn({
1249
1245
  serie: r,
1250
1246
  shape: t.shape,
1251
1247
  S: n
1252
1248
  }),
1253
1249
  style: { opacity: "0" }
1254
- }, null, 42, ht)) : d("", !0)
1250
+ }, null, 42, gt)) : d("", !0)
1255
1251
  ]))), 256))]))), 256)),
1256
1252
  S(e.$slots, "svg", { svg: {
1257
1253
  ...B.value,
1258
- isPrintingImg: w(on) || w(sn) || Ut.value,
1259
- isPrintingSvg: Wt.value
1254
+ isPrintingImg: w(cn) || w(ln) || Gt.value,
1255
+ isPrintingSvg: Kt.value
1260
1256
  } }, void 0, !0)
1261
- ], 46, et)), e.$slots.hint ? (y(), f("div", gt, [S(e.$slots, "hint", _(h({
1257
+ ], 46, tt)), e.$slots.hint ? (y(), f("div", _t, [S(e.$slots, "hint", _(h({
1262
1258
  hint: M.value.a11y.translations.keyboardNavigation,
1263
- isVisible: Jt.value
1259
+ isVisible: Xt.value
1264
1260
  })), void 0, !0)])) : d("", !0)]),
1265
- e.$slots.watermark ? (y(), f("div", _t, [S(e.$slots, "watermark", _(h({ isPrinting: w(on) || w(sn) || Ut.value || Wt.value })), void 0, !0)])) : d("", !0),
1266
- p("div", { id: `legend-bottom-${A.value}` }, null, 8, vt),
1267
- Vt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ie, {
1261
+ e.$slots.watermark ? (y(), f("div", vt, [S(e.$slots, "watermark", _(h({ isPrinting: w(cn) || w(ln) || Gt.value || Kt.value })), void 0, !0)])) : d("", !0),
1262
+ p("div", { id: `legend-bottom-${A.value}` }, null, 8, yt),
1263
+ Ut.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Le, {
1268
1264
  key: 6,
1269
1265
  to: M.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
1270
1266
  }, [p("div", {
1271
1267
  ref_key: "chartLegend",
1272
- ref: Ft
1273
- }, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show && Mt.value ? (y(), u(Pe, {
1274
- key: `legend_${zt.value}`,
1268
+ ref: Lt
1269
+ }, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show && Pt.value ? (y(), u(Fe, {
1270
+ key: `legend_${Vt.value}`,
1275
1271
  legendSet: W.value,
1276
- config: bn.value,
1272
+ config: Sn.value,
1277
1273
  isCursorPointer: N.value,
1278
1274
  onClickMarker: t[0] ||= ({ legend: e }) => {
1279
- gn(e.id);
1275
+ vn(e.id);
1280
1276
  }
1281
1277
  }, {
1282
1278
  item: T(({ legend: e, index: t }) => [p("div", {
1283
1279
  onClick: (t) => e.segregate(),
1284
1280
  style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
1285
- }, C(e.name), 13, yt)]),
1286
- legendToggle: T(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(P) ? (y(), u(Ae, {
1281
+ }, C(e.name), 13, bt)]),
1282
+ legendToggle: T(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(P) ? (y(), u(je, {
1287
1283
  key: 0,
1288
1284
  backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1289
1285
  color: M.value.style.chart.legend.selectAllToggle.color,
1290
1286
  fontSize: M.value.style.chart.legend.fontSize,
1291
1287
  checked: H.value.length > 0,
1292
1288
  isCursorPointer: N.value,
1293
- onToggle: hn
1289
+ onToggle: _n
1294
1290
  }, null, 8, [
1295
1291
  "backgroundColor",
1296
1292
  "color",
@@ -1307,12 +1303,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1307
1303
  e.$slots.source ? (y(), f("div", {
1308
1304
  key: 7,
1309
1305
  ref_key: "source",
1310
- ref: It,
1306
+ ref: Rt,
1311
1307
  dir: "auto"
1312
1308
  }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1313
- ze(w(xt), {
1309
+ Be(w(St), {
1314
1310
  teleportTo: M.value.style.chart.tooltip.teleportTo,
1315
- show: V.value.showTooltip && wn.value,
1311
+ show: V.value.showTooltip && En.value,
1316
1312
  backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1317
1313
  color: M.value.style.chart.tooltip.color,
1318
1314
  fontSize: M.value.style.chart.tooltip.fontSize,
@@ -1324,19 +1320,19 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1324
1320
  offsetX: M.value.style.chart.tooltip.offsetX,
1325
1321
  offsetY: M.value.style.chart.tooltip.offsetY,
1326
1322
  parent: D.value,
1327
- content: Tn.value,
1323
+ content: Dn.value,
1328
1324
  isFullscreen: j.value,
1329
1325
  isCustom: w(oe)(M.value.style.chart.tooltip.customFormat),
1330
1326
  smooth: M.value.style.chart.tooltip.smooth,
1331
1327
  backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1332
1328
  smoothForce: M.value.style.chart.tooltip.smoothForce,
1333
1329
  smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1334
- isA11yMode: qt.value === "keyboard",
1335
- a11yPosition: Kt.value
1330
+ isA11yMode: Yt.value === "keyboard",
1331
+ a11yPosition: Jt.value
1336
1332
  }, {
1337
- "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...Cn.value })), void 0, !0)]),
1338
- tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...Cn.value })), void 0, !0)]),
1339
- "tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...Cn.value })), void 0, !0)]),
1333
+ "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...Tn.value })), void 0, !0)]),
1334
+ tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...Tn.value })), void 0, !0)]),
1335
+ "tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...Tn.value })), void 0, !0)]),
1340
1336
  _: 3
1341
1337
  }, 8, [
1342
1338
  "teleportTo",
@@ -1362,24 +1358,24 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1362
1358
  "isA11yMode",
1363
1359
  "a11yPosition"
1364
1360
  ]),
1365
- Mt.value && M.value.userOptions.buttons.table ? (y(), u(We(Bn.value.component), Be({ key: 8 }, Bn.value.props, {
1361
+ Pt.value && M.value.userOptions.buttons.table ? (y(), u(Ge(Vn.value.component), Ve({ key: 8 }, Vn.value.props, {
1366
1362
  ref_key: "tableUnit",
1367
1363
  ref: O,
1368
- onClose: Vn
1369
- }), Le({
1370
- content: T(() => [(y(), u(w(wt), {
1371
- key: `table_${Bt.value}`,
1372
- colNames: Q.value.colNames,
1373
- head: Q.value.head,
1374
- body: Q.value.body,
1375
- config: Q.value.config,
1376
- title: M.value.table.useDialog ? "" : Bn.value.title,
1364
+ onClose: Hn
1365
+ }), Re({
1366
+ content: T(() => [(y(), u(w(Tt), {
1367
+ key: `table_${Ht.value}`,
1368
+ colNames: $.value.colNames,
1369
+ head: $.value.head,
1370
+ body: $.value.body,
1371
+ config: $.value.config,
1372
+ title: M.value.table.useDialog ? "" : Vn.value.title,
1377
1373
  withCloseButton: !M.value.table.useDialog,
1378
1374
  isCursorPointer: N.value,
1379
- onClose: Vn
1375
+ onClose: Hn
1380
1376
  }, {
1381
- th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8, bt)]),
1382
- td: T(({ td: e }) => [Re(C(e), 1)]),
1377
+ th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8, xt)]),
1378
+ td: T(({ td: e }) => [ze(C(e), 1)]),
1383
1379
  _: 1
1384
1380
  }, 8, [
1385
1381
  "colNames",
@@ -1393,24 +1389,24 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1393
1389
  _: 2
1394
1390
  }, [M.value.table.useDialog ? {
1395
1391
  name: "title",
1396
- fn: T(() => [Re(C(Bn.value.title), 1)]),
1392
+ fn: T(() => [ze(C(Vn.value.title), 1)]),
1397
1393
  key: "0"
1398
1394
  } : void 0, M.value.table.useDialog ? {
1399
1395
  name: "actions",
1400
1396
  fn: T(() => [p("button", {
1401
1397
  tabindex: "0",
1402
1398
  class: "vue-ui-user-options-button",
1403
- onClick: t[1] ||= (e) => An(M.value.userOptions.callbacks.csv),
1399
+ onClick: t[1] ||= (e) => jn(M.value.userOptions.callbacks.csv),
1404
1400
  style: v({ cursor: N.value ? "pointer" : "default" })
1405
- }, [ze(w(St), {
1401
+ }, [Be(w(Ct), {
1406
1402
  name: "fileCsv",
1407
- stroke: Bn.value.props.color
1403
+ stroke: Vn.value.props.color
1408
1404
  }, null, 8, ["stroke"])], 4)]),
1409
1405
  key: "1"
1410
1406
  } : void 0]), 1040)) : d("", !0),
1411
1407
  S(e.$slots, "skeleton", {}, () => [w(P) ? (y(), u(ye, { key: 0 })) : d("", !0)], !0)
1412
- ], 46, Xe));
1408
+ ], 46, Ze));
1413
1409
  }
1414
- }, [["__scopeId", "data-v-a7286565"]]);
1410
+ }, [["__scopeId", "data-v-7916a6b4"]]);
1415
1411
  //#endregion
1416
- export { Ye as n, xt as t };
1412
+ export { Xe as n, St as t };