vue-data-ui 3.22.11 → 3.22.13

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 (148) hide show
  1. package/dist/{PackageVersion-1MNr72Bz.js → PackageVersion-B6Hokxw9.js} +1 -1
  2. package/dist/{SlicerPreview-BIdvqU32.js → SlicerPreview-Cw6WMVhG.js} +434 -434
  3. package/dist/{UserOptions-B69xBEVP.js → UserOptions-DzAFK9cY.js} +438 -438
  4. package/dist/components/vue-ui-3d-bar.js +1 -1
  5. package/dist/components/vue-ui-accordion.js +1 -1
  6. package/dist/components/vue-ui-age-pyramid.js +1 -1
  7. package/dist/components/vue-ui-annotator.js +1 -1
  8. package/dist/components/vue-ui-bullet.js +1 -1
  9. package/dist/components/vue-ui-bump.js +1 -1
  10. package/dist/components/vue-ui-candlestick.js +1 -1
  11. package/dist/components/vue-ui-carousel-table.js +1 -1
  12. package/dist/components/vue-ui-chestnut.js +1 -1
  13. package/dist/components/vue-ui-chord.js +1 -1
  14. package/dist/components/vue-ui-circle-pack.js +1 -1
  15. package/dist/components/vue-ui-cursor.js +1 -1
  16. package/dist/components/vue-ui-dag.js +1 -1
  17. package/dist/components/vue-ui-dashboard.js +1 -1
  18. package/dist/components/vue-ui-digits.js +1 -1
  19. package/dist/components/vue-ui-donut-evolution.js +1 -1
  20. package/dist/components/vue-ui-donut.js +1 -1
  21. package/dist/components/vue-ui-dumbbell.js +1 -1
  22. package/dist/components/vue-ui-flow.js +1 -1
  23. package/dist/components/vue-ui-funnel.js +1 -1
  24. package/dist/components/vue-ui-galaxy.js +1 -1
  25. package/dist/components/vue-ui-gauge.js +1 -1
  26. package/dist/components/vue-ui-geo.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-relation-circle.js +1 -1
  41. package/dist/components/vue-ui-ridgeline.js +1 -1
  42. package/dist/components/vue-ui-rings.js +1 -1
  43. package/dist/components/vue-ui-scatter.js +1 -1
  44. package/dist/components/vue-ui-skeleton.js +1 -1
  45. package/dist/components/vue-ui-spark-trend.js +1 -1
  46. package/dist/components/vue-ui-sparkbar.js +1 -1
  47. package/dist/components/vue-ui-sparkgauge.js +1 -1
  48. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  49. package/dist/components/vue-ui-sparkline.js +1 -1
  50. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  51. package/dist/components/vue-ui-stackbar.js +1 -1
  52. package/dist/components/vue-ui-stackline.js +1 -1
  53. package/dist/components/vue-ui-strip-plot.js +1 -1
  54. package/dist/components/vue-ui-table-heatmap.js +1 -1
  55. package/dist/components/vue-ui-table-sparkline.js +1 -1
  56. package/dist/components/vue-ui-table.js +1 -1
  57. package/dist/components/vue-ui-thermometer.js +1 -1
  58. package/dist/components/vue-ui-timer.js +1 -1
  59. package/dist/components/vue-ui-tiremarks.js +1 -1
  60. package/dist/components/vue-ui-treemap.js +1 -1
  61. package/dist/components/vue-ui-vertical-bar.js +1 -1
  62. package/dist/components/vue-ui-waffle.js +1 -1
  63. package/dist/components/vue-ui-wheel.js +1 -1
  64. package/dist/components/vue-ui-word-cloud.js +1 -1
  65. package/dist/components/vue-ui-world.js +1 -1
  66. package/dist/components/vue-ui-xy-canvas.js +1 -1
  67. package/dist/components/vue-ui-xy.js +1 -1
  68. package/dist/{package-Bf-Nk9qU.js → package-DmDydylu.js} +1 -1
  69. package/dist/{render-common-DEb-WjM1.js → render-common-BIG8JYGK.js} +1 -1
  70. package/dist/ssr/vue-ui-donut.js +1 -1
  71. package/dist/ssr/vue-ui-xy.js +1 -1
  72. package/dist/ssr.js +2 -2
  73. package/dist/style.css +1 -1
  74. package/dist/types/composables.d.ts +28 -11
  75. package/dist/types/vue-data-ui.d.ts +26 -9
  76. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  77. package/dist/{vue-data-ui-Bme9usjG.js → vue-data-ui-rkzh6EkO.js} +64 -64
  78. package/dist/vue-data-ui.js +64 -64
  79. package/dist/{vue-ui-3d-bar-Ds1BPxqb.js → vue-ui-3d-bar-D5xHEWr1.js} +1 -1
  80. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  81. package/dist/{vue-ui-age-pyramid-CNCrH8Kd.js → vue-ui-age-pyramid-CAJg01c7.js} +1 -1
  82. package/dist/{vue-ui-annotator-BfZ8RTzJ.js → vue-ui-annotator-q3ZKx6ua.js} +1 -1
  83. package/dist/{vue-ui-bullet-DscMmM2b.js → vue-ui-bullet-ByeaWGfI.js} +1 -1
  84. package/dist/{vue-ui-bump-BvwU1_-N.js → vue-ui-bump-BS7RCf0Z.js} +1 -1
  85. package/dist/{vue-ui-candlestick-Cp6r8ktf.js → vue-ui-candlestick-BZSGDKrM.js} +470 -470
  86. package/dist/{vue-ui-carousel-table-CbtccW1g.js → vue-ui-carousel-table-DO5NRXvX.js} +1 -1
  87. package/dist/{vue-ui-chestnut-C3Hmf1-m.js → vue-ui-chestnut-BfeSPeEh.js} +1 -1
  88. package/dist/{vue-ui-chord-DJk9j45J.js → vue-ui-chord-D6G7ceE-.js} +1 -1
  89. package/dist/{vue-ui-circle-pack-CJe2wETT.js → vue-ui-circle-pack-Cqmlw7AV.js} +3 -6
  90. package/dist/{vue-ui-cursor-BAi9omna.js → vue-ui-cursor-BpN5MsXM.js} +1 -1
  91. package/dist/{vue-ui-dag-D7BEbS71.js → vue-ui-dag-BzgOgXzU.js} +1 -1
  92. package/dist/{vue-ui-dashboard-BYFQjwgC.js → vue-ui-dashboard-DLvGJXJY.js} +63 -64
  93. package/dist/{vue-ui-digits-Bx8nZl9d.js → vue-ui-digits-OMPrn8fb.js} +1 -1
  94. package/dist/{vue-ui-donut-BUX4ybT6.js → vue-ui-donut-Cp5NbZ1r.js} +1 -1
  95. package/dist/{vue-ui-donut-jXRV-3ON.js → vue-ui-donut-ZIRebAWc.js} +1 -1
  96. package/dist/{vue-ui-donut-evolution-MWDjQPQ5.js → vue-ui-donut-evolution-DHVi5rOn.js} +351 -355
  97. package/dist/{vue-ui-dumbbell-CnwsHaIy.js → vue-ui-dumbbell-gDYjU2oF.js} +1 -1
  98. package/dist/{vue-ui-flow-CKXGk4Lm.js → vue-ui-flow-BusUK3H0.js} +1 -1
  99. package/dist/{vue-ui-funnel-CJwD7s7e.js → vue-ui-funnel-BtaYaU0r.js} +1 -1
  100. package/dist/{vue-ui-galaxy-DL85_SWR.js → vue-ui-galaxy-BMp-HzDh.js} +1 -1
  101. package/dist/{vue-ui-gauge-Dkx-aUQr.js → vue-ui-gauge-CBou0cFE.js} +1 -1
  102. package/dist/{vue-ui-geo-fkLF1rHB.js → vue-ui-geo-CyFgFKlh.js} +1 -1
  103. package/dist/{vue-ui-gizmo-S8w_p769.js → vue-ui-gizmo-DdeXwCQp.js} +1 -1
  104. package/dist/{vue-ui-heatmap-Dopkbn2N.js → vue-ui-heatmap-D8-qJ7fg.js} +2 -2
  105. package/dist/{vue-ui-history-plot-DDYpEapS.js → vue-ui-history-plot-C2Aqk2ON.js} +1 -1
  106. package/dist/{vue-ui-horizontal-bar-Bi8WvKeD.js → vue-ui-horizontal-bar-BuwxI7d1.js} +2 -2
  107. package/dist/{vue-ui-kpi-BeJ-ajaS.js → vue-ui-kpi-ByxoO01r.js} +1 -1
  108. package/dist/{vue-ui-molecule-CBTgGZ-s.js → vue-ui-molecule-BqJJq49_.js} +1 -1
  109. package/dist/{vue-ui-mood-radar-CF83PcCx.js → vue-ui-mood-radar-BiOjxFEN.js} +1 -1
  110. package/dist/{vue-ui-nested-donuts-D5dO-Uyg.js → vue-ui-nested-donuts-Cl1HVvDp.js} +1 -1
  111. package/dist/{vue-ui-onion-BxjaQKo8.js → vue-ui-onion-CRQOxurS.js} +1 -1
  112. package/dist/{vue-ui-parallel-coordinate-plot-Dz6ozRAM.js → vue-ui-parallel-coordinate-plot-Dhn18RtR.js} +298 -301
  113. package/dist/{vue-ui-quadrant-Bnxpa6m5.js → vue-ui-quadrant-B21LkUc8.js} +1 -1
  114. package/dist/{vue-ui-quick-chart-CAE0-NYj.js → vue-ui-quick-chart-DAhSXYnp.js} +600 -625
  115. package/dist/{vue-ui-radar-O4BhBOyp.js → vue-ui-radar-CyzAyVos.js} +1 -1
  116. package/dist/{vue-ui-relation-circle-BZ0Xf-Nc.js → vue-ui-relation-circle-Cb33DMZo.js} +5 -11
  117. package/dist/{vue-ui-ridgeline-DHVTPiM6.js → vue-ui-ridgeline-D7aArzQk.js} +1 -1
  118. package/dist/{vue-ui-rings-DAfY1V--.js → vue-ui-rings-FtcdX8xl.js} +1 -1
  119. package/dist/vue-ui-scatter-Cp_-2ahf.js +2409 -0
  120. package/dist/{vue-ui-skeleton-DoIqQtIV.js → vue-ui-skeleton-COytVrfN.js} +1 -1
  121. package/dist/{vue-ui-spark-trend-Db-FsXch.js → vue-ui-spark-trend-DC2KUlEY.js} +1 -1
  122. package/dist/{vue-ui-sparkbar-Ce55FP_3.js → vue-ui-sparkbar-DdxQOFIF.js} +48 -51
  123. package/dist/{vue-ui-sparkgauge-hB59dXm7.js → vue-ui-sparkgauge-DTA-fORH.js} +1 -1
  124. package/dist/{vue-ui-sparkhistogram-DjnaStBw.js → vue-ui-sparkhistogram-D1oFTrvt.js} +1 -1
  125. package/dist/{vue-ui-sparkline-D1dyhLvG.js → vue-ui-sparkline-DcR_N-zT.js} +1 -1
  126. package/dist/{vue-ui-sparkstackbar-BhOBFjts.js → vue-ui-sparkstackbar-BlFio0lP.js} +1 -1
  127. package/dist/vue-ui-stackbar-Cu13EdVa.js +2322 -0
  128. package/dist/{vue-ui-stackline-DLFNVbAz.js → vue-ui-stackline-DKL0o_-3.js} +572 -570
  129. package/dist/vue-ui-strip-plot-NLCwYvyw.js +1736 -0
  130. package/dist/{vue-ui-table-DL_R4ppI.js → vue-ui-table-AM9brdwU.js} +2 -2
  131. package/dist/{vue-ui-table-heatmap-C9gF__Np.js → vue-ui-table-heatmap-CSI482KG.js} +4 -10
  132. package/dist/{vue-ui-table-sparkline-CT-0w9-a.js → vue-ui-table-sparkline-BE6DAvur.js} +1 -1
  133. package/dist/{vue-ui-thermometer-MP0dliC3.js → vue-ui-thermometer-D6Czx7Fb.js} +1 -1
  134. package/dist/{vue-ui-timer-B5S-6Da4.js → vue-ui-timer-BZM5ITG9.js} +1 -1
  135. package/dist/{vue-ui-tiremarks-DcJiLDsm.js → vue-ui-tiremarks-BCncDpHX.js} +1 -1
  136. package/dist/{vue-ui-treemap-CjldCPnX.js → vue-ui-treemap-BOEYCOdk.js} +3 -6
  137. package/dist/{vue-ui-waffle-dZM-9z1J.js → vue-ui-waffle-BrM8IHdG.js} +1 -1
  138. package/dist/{vue-ui-wheel-or7a6-Ce.js → vue-ui-wheel-BNsajigQ.js} +1 -1
  139. package/dist/{vue-ui-word-cloud-8BwQ0cuB.js → vue-ui-word-cloud-D7R7nhk1.js} +1 -1
  140. package/dist/{vue-ui-world-Q0KZb7A_.js → vue-ui-world-DZBt-07p.js} +1 -1
  141. package/dist/{vue-ui-xy-DZIs53tH.js → vue-ui-xy-CluEZ7lS.js} +1253 -1251
  142. package/dist/{vue-ui-xy-4uzwZJcj.js → vue-ui-xy-Dt_1bSBT.js} +1 -1
  143. package/dist/{vue-ui-xy-canvas-Dz9aii7f.js → vue-ui-xy-canvas-7YSYRdwr.js} +3 -3
  144. package/package.json +2 -2
  145. package/dist/vue-ui-accordion-nNxnZTg9.js +0 -81
  146. package/dist/vue-ui-scatter-Cb63SWJT.js +0 -2421
  147. package/dist/vue-ui-stackbar-BZKw8WYn.js +0 -2340
  148. package/dist/vue-ui-strip-plot-DyN2WELD.js +0 -1735
@@ -6,72 +6,69 @@ import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
6
6
  import { t as be } from "./useSvgExport-Ba9qBr9M.js";
7
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-Bikk1dGb.js";
11
- import { n as Te } from "./Title-BuPs74IB.js";
12
- import { t as Ee } from "./Shape-BfnXr1nJ.js";
13
- import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
15
- import { t as Ae } from "./BaseLegendToggle-DsWphmIb.js";
16
- import { t as je } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Pe } from "./Legend-C0xAnJdO.js";
20
- import { t as Fe } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
21
- 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";
22
23
  //#region src/components/vue-ui-parallel-coordinate-plot.vue
23
- 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 = [
24
25
  "xmlns",
25
26
  "aria-describedby",
26
27
  "viewBox"
27
- ], tt = [
28
+ ], nt = [
28
29
  "x",
29
30
  "y",
30
31
  "width",
31
32
  "height"
32
- ], nt = { style: { "pointer-events": "none" } }, rt = [
33
+ ], rt = { style: { "pointer-events": "none" } }, it = [
33
34
  "x1",
34
35
  "x2",
35
36
  "y1",
36
37
  "y2",
37
38
  "stroke",
38
39
  "stroke-width"
39
- ], it = [
40
- "x1",
41
- "x2",
42
- "y1",
43
- "y2",
40
+ ], at = [
41
+ "d",
44
42
  "stroke",
45
43
  "stroke-width"
46
- ], at = { key: 0 }, ot = [
47
- "x",
48
- "y",
44
+ ], ot = { key: 0 }, st = [
45
+ "transform",
49
46
  "fill",
50
47
  "font-size",
51
48
  "font-weight"
52
- ], st = [
49
+ ], ct = [
53
50
  "fill",
54
51
  "font-size",
55
52
  "font-weight",
56
53
  "text-anchor",
57
54
  "transform"
58
- ], ct = [
55
+ ], lt = [
59
56
  "fill",
60
57
  "font-size",
61
58
  "font-weight",
62
59
  "text-anchor",
63
60
  "transform",
64
61
  "innerHTML"
65
- ], lt = { key: 0 }, ut = [
62
+ ], ut = { key: 0 }, dt = [
66
63
  "x",
67
64
  "y",
68
65
  "font-size",
69
66
  "fill"
70
- ], dt = [
67
+ ], ft = [
71
68
  "width",
72
69
  "x",
73
70
  "y"
74
- ], ft = { style: { width: "100%" } }, pt = [
71
+ ], pt = { style: { width: "100%" } }, mt = [
75
72
  "x",
76
73
  "y",
77
74
  "fill",
@@ -80,19 +77,19 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
80
77
  "onMouseenter",
81
78
  "onMouseleave",
82
79
  "onClick"
83
- ], mt = [
80
+ ], ht = [
84
81
  "d",
85
82
  "stroke",
86
83
  "stroke-width",
87
84
  "onMouseenter",
88
85
  "onMouseleave",
89
86
  "onClick"
90
- ], ht = [
87
+ ], gt = [
91
88
  "d",
92
89
  "onMouseenter",
93
90
  "onMouseleave",
94
91
  "onClick"
95
- ], gt = {
92
+ ], _t = {
96
93
  key: 0,
97
94
  style: {
98
95
  position: "absolute",
@@ -102,10 +99,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
102
99
  },
103
100
  "data-dom-to-png-ignore": "",
104
101
  "aria-hidden": "true"
105
- }, _t = {
102
+ }, vt = {
106
103
  key: 5,
107
104
  class: "vue-data-ui-watermark"
108
- }, vt = ["id"], yt = ["onClick"], bt = ["innerHTML"], xt = /*#__PURE__*/ De({
105
+ }, yt = ["id"], bt = ["onClick"], xt = ["innerHTML"], St = /*#__PURE__*/ Oe({
109
106
  __name: "vue-ui-parallel-coordinate-plot",
110
107
  props: {
111
108
  config: {
@@ -126,22 +123,22 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
126
123
  "selectDatapoint",
127
124
  "copyAlt"
128
125
  ],
129
- setup(e, { expose: De, emit: Ye }) {
130
- let xt = m(() => import("./Tooltip-CA1rtSyl.js")), St = m(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), wt = m(() => import("./DataTable-DzPEVvSo.js")), Tt = m(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Et = m(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-3n8udWmh.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-B6Hokxw9.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({
131
128
  get() {
132
129
  return !!E.dataset && E.dataset.length;
133
130
  },
134
131
  set(e) {
135
132
  return e;
136
133
  }
137
- }), 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({
138
135
  x: 0,
139
136
  y: 0
140
- }), qt = b("pointer"), Jt = b(!1), A = b(o()), j = b(!1);
141
- function Yt(e) {
142
- 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;
143
140
  }
144
- 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({
145
142
  defaultConfig: {
146
143
  useCssAnimation: !1,
147
144
  userOptions: { show: !1 },
@@ -163,13 +160,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
163
160
  } }
164
161
  },
165
162
  userConfig: M.value.skeletonConfig ?? {}
166
- })), { loading: P, FINAL_DATASET: Zt, manualLoading: Qt } = ve({
167
- ...Ke(E),
163
+ })), { loading: P, FINAL_DATASET: $t, manualLoading: en } = ve({
164
+ ...qe(E),
168
165
  FINAL_CONFIG: M,
169
- prepareConfig: nn,
166
+ prepareConfig: an,
170
167
  callback: () => {
171
168
  Promise.resolve().then(async () => {
172
- await Ve(), V.value.showTable = M.value.table.show;
169
+ await He(), V.value.showTable = M.value.table.show;
173
170
  });
174
171
  },
175
172
  skeletonDataset: E.config?.skeletonDataset ?? [
@@ -218,18 +215,18 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
218
215
  ],
219
216
  skeletonConfig: fe({
220
217
  defaultConfig: M.value,
221
- userConfig: Xt.value
218
+ userConfig: Qt.value
222
219
  })
223
- }), { userOptionsVisible: $t, setUserOptionsVisibility: en, keepUserOptionState: tn } = Me({ config: M.value }), { svgRef: F } = Ne({ config: M.value.style.chart.title });
224
- 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() {
225
222
  let e = xe({
226
223
  userConfig: E.config,
227
- defaultConfig: kt
224
+ defaultConfig: At
228
225
  }), t = e.theme;
229
226
  if (!t) return e;
230
- if (!At.value(e)) return jt(e), e;
227
+ if (!jt.value(e)) return Mt(e), e;
231
228
  let n = xe({
232
- userConfig: Fe[t] || E.config,
229
+ userConfig: Ie[t] || E.config,
233
230
  defaultConfig: e
234
231
  }), r = xe({
235
232
  userConfig: E.config,
@@ -240,42 +237,42 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
240
237
  customPalette: r.customPalette.length ? r.customPalette : a[t] || te
241
238
  };
242
239
  }
243
- qe(() => E.config, (e) => {
244
- 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;
245
- }, { deep: !0 }), qe(() => E.dataset, (e) => {
246
- 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);
247
244
  }, { deep: !0 });
248
- let I = Ge(null), L = Ge(null);
249
- Ue(() => {
250
- Vt.value = !0, an();
245
+ let I = Ke(null), L = Ke(null);
246
+ We(() => {
247
+ Ut.value = !0, sn();
251
248
  });
252
- let rn = l(() => !!M.value.debug);
253
- function an() {
249
+ let on = l(() => !!M.value.debug);
250
+ function sn() {
254
251
  if (t(E.dataset) ? (se({
255
252
  componentName: "VueUiParallelCoordinatePlot",
256
253
  type: "dataset",
257
- debug: rn.value
258
- }), Qt.value = !0) : E.dataset.forEach((e, t) => {
254
+ debug: on.value
255
+ }), en.value = !0) : E.dataset.forEach((e, t) => {
259
256
  ce({
260
257
  datasetObject: e,
261
258
  requiredAttributes: ["name", "series"]
262
259
  }).forEach((e) => {
263
- Mt.value = !1, se({
260
+ Pt.value = !1, se({
264
261
  componentName: "VueUiParallelCoordinatePlot",
265
262
  type: "datasetSerieAttribute",
266
263
  property: e,
267
264
  index: t,
268
- debug: rn.value
265
+ debug: on.value
269
266
  });
270
267
  });
271
- }), t(E.dataset) || (Qt.value = M.value.loading), M.value.responsive) {
272
- let e = Oe(() => {
273
- 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({
274
271
  chart: D.value,
275
- title: M.value.style.chart.title.text ? Pt.value : null,
276
- legend: M.value.style.chart.legend.show ? Ft.value : null,
277
- source: It.value,
278
- 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
279
276
  });
280
277
  requestAnimationFrame(() => {
281
278
  R.value.width = e, R.value.height = t - 12, M.value.responsiveProportionalSizing ? (R.value.plotSize = s({
@@ -308,33 +305,33 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
308
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);
309
306
  }
310
307
  }
311
- He(() => {
308
+ Ue(() => {
312
309
  I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
313
310
  });
314
- let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = _e({
311
+ let { isPrinting: cn, isImaging: ln, generatePdf: un, generateImage: dn } = _e({
315
312
  elementId: `pcp_${A.value}`,
316
313
  fileName: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
317
314
  options: M.value.userOptions.print
318
- }), 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({
319
316
  height: M.value.style.chart.height,
320
317
  width: M.value.style.chart.width,
321
318
  plotSize: M.value.style.chart.plots.radius,
322
319
  ticksFontSize: M.value.style.chart.yAxis.labels.ticks.fontSize,
323
320
  datapointFontSize: M.value.style.chart.yAxis.labels.datapoints.fontSize,
324
321
  axisNameFontSize: M.value.style.chart.yAxis.labels.axisNamesFontSize
325
- }), 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) => {
326
323
  z.value = e;
327
324
  }, 100);
328
- Je((e) => {
329
- let t = Gt.value;
325
+ Ye((e) => {
326
+ let t = qt.value;
330
327
  if (!t) return;
331
328
  let n = new ResizeObserver((e) => {
332
- pn(e[0].contentRect.height);
329
+ hn(e[0].contentRect.height);
333
330
  });
334
331
  n.observe(t), e(() => n.disconnect());
335
332
  });
336
333
  let B = l(() => {
337
- 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;
338
335
  return {
339
336
  chartHeight: Math.max(.001, i),
340
337
  chartWidth: Math.max(.001, a),
@@ -345,12 +342,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
345
342
  right: a - t,
346
343
  bottom: i - n - R.value.datapointFontSize
347
344
  };
348
- }), mn = l(() => r(M.value.customPalette)), V = b({
345
+ }), gn = l(() => r(M.value.customPalette)), V = b({
349
346
  dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
350
347
  showTable: M.value.table.show,
351
348
  showTooltip: M.value.style.chart.tooltip.show
352
349
  });
353
- qe(M, () => {
350
+ Je(M, () => {
354
351
  V.value = {
355
352
  dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
356
353
  showTable: M.value.table.show,
@@ -358,16 +355,16 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
358
355
  };
359
356
  }, { immediate: !0 });
360
357
  let H = b([]);
361
- function hn() {
358
+ function _n() {
362
359
  H.value.length ? H.value = [] : W.value.forEach((e) => {
363
360
  H.value.push(e.id);
364
- }), jn("selectLegend", K.value);
361
+ }), Mn("selectLegend", K.value);
365
362
  }
366
- function gn(e) {
367
- 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);
368
365
  }
369
- let U = l(() => Zt.value.map((e, t) => {
370
- 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];
371
368
  return {
372
369
  ...e,
373
370
  series: e.series.map((e) => ({
@@ -381,33 +378,33 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
381
378
  shape: e.shape || "circle"
382
379
  };
383
380
  }));
384
- function _n(e) {
381
+ function yn(e) {
385
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);
386
383
  }
387
- function vn(e) {
388
- let t = _n(e);
389
- 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);
390
387
  }
391
- function yn(e) {
392
- let t = _n(e);
393
- 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));
394
391
  }
395
392
  let W = l(() => U.value.map((e) => ({
396
393
  ...e,
397
394
  opacity: H.value.includes(e.id) ? .5 : 1,
398
- segregate: () => gn(e.id),
395
+ segregate: () => vn(e.id),
399
396
  isSegregated: H.value.includes(e.id),
400
397
  shape: e.shape || "circle"
401
- }))), bn = l(() => ({
398
+ }))), Sn = l(() => ({
402
399
  cy: "pcp-div-legend",
403
400
  backgroundColor: M.value.style.chart.legend.backgroundColor,
404
401
  color: M.value.style.chart.legend.color,
405
402
  fontSize: M.value.style.chart.legend.fontSize,
406
403
  paddingBottom: 12,
407
404
  fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
408
- })), 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(() => {
409
406
  let e = [];
410
- for (let t = 0; t < xn.value; t += 1) {
407
+ for (let t = 0; t < Cn.value; t += 1) {
411
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) => {
412
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);
413
410
  return {
@@ -462,7 +459,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
462
459
  S: t,
463
460
  key: `${t}_${r}`
464
461
  }))));
465
- function Sn({ value: e, index: t, datapoint: n }) {
462
+ function wn({ value: e, index: t, datapoint: n }) {
466
463
  return ue(M.value.style.chart.yAxis.labels.formatters[t] || null, e, ae({
467
464
  p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
468
465
  v: e,
@@ -473,7 +470,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
473
470
  seriesIndex: t
474
471
  });
475
472
  }
476
- 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("");
477
474
  function Z({ shape: e, serie: t, S: n }) {
478
475
  M.value.events.datapointLeave && M.value.events.datapointLeave({
479
476
  datapoint: {
@@ -483,23 +480,23 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
483
480
  seriesIndex: n
484
481
  });
485
482
  let r = k.value === null ? null : Y.value[k.value];
486
- 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);
487
484
  }
488
- function En(e) {
485
+ function On(e) {
489
486
  if (!F.value || !e?.datapoints?.length) return;
490
487
  let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
491
488
  if (!t) return;
492
489
  let n = ie(t.x, t.y, F.value);
493
- n && (Kt.value = n);
490
+ n && (Jt.value = n);
494
491
  }
495
- 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" }) {
496
493
  M.value.events.datapointEnter && M.value.events.datapointEnter({
497
494
  datapoint: {
498
495
  ...n,
499
496
  shape: e
500
497
  },
501
498
  seriesIndex: a
502
- }), qt.value = o, Cn.value = {
499
+ }), Yt.value = o, Tn.value = {
503
500
  config: M.value,
504
501
  datapoint: n,
505
502
  serie: n,
@@ -507,7 +504,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
507
504
  seriesIndex: i,
508
505
  series: U.value,
509
506
  scales: q.value
510
- }, wn.value = !0, X.value = n.id;
507
+ }, En.value = !0, X.value = n.id;
511
508
  let s = "", ee = M.value.style.chart.tooltip.customFormat;
512
509
  oe(ee) && pe(() => ee({
513
510
  serie: n,
@@ -515,7 +512,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
515
512
  series: U.value,
516
513
  config: M.value,
517
514
  scales: q.value
518
- })) ? Tn.value = ee({
515
+ })) ? Dn.value = ee({
519
516
  serie: n,
520
517
  seriesIndex: n.seriesIndex,
521
518
  series: U.value,
@@ -538,14 +535,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
538
535
  </span>
539
536
  </div>
540
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>`);
541
- }), Tn.value = `<div>${s}</div>`), o === "keyboard" && Ve(() => {
542
- En(n);
538
+ }), Dn.value = `<div>${s}</div>`), o === "keyboard" && He(() => {
539
+ On(n);
543
540
  });
544
541
  }
545
- function On() {
542
+ function kn() {
546
543
  return U.value;
547
544
  }
548
- let Q = l(() => {
545
+ let $ = l(() => {
549
546
  let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name));
550
547
  return {
551
548
  body: J.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
@@ -565,52 +562,52 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
565
562
  },
566
563
  colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name))
567
564
  };
568
- }), kn = l(() => J.value.length === 0 ? {
565
+ }), An = l(() => J.value.length === 0 ? {
569
566
  head: [],
570
567
  body: [],
571
568
  config: {},
572
569
  columnNames: []
573
570
  } : {
574
- head: Q.value.head,
575
- body: Q.value.body
571
+ head: $.value.head,
572
+ body: $.value.body
576
573
  });
577
- function An(e = null) {
574
+ function jn(e = null) {
578
575
  let t = [
579
576
  [M.value.style.chart.title.text],
580
577
  [M.value.style.chart.title.subtitle.text],
581
578
  [""]
582
- ], 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));
583
580
  e ? e(a) : ne({
584
581
  csvContent: a,
585
582
  title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
586
583
  });
587
584
  }
588
- let jn = Ye;
589
- function Mn({ serie: e, shape: t, S: n }) {
585
+ let Mn = Xe;
586
+ function Nn({ serie: e, shape: t, S: n }) {
590
587
  M.value.events.datapointClick && M.value.events.datapointClick({
591
588
  datapoint: {
592
589
  ...e,
593
590
  shape: t
594
591
  },
595
592
  seriesIndex: n
596
- }), jn("selectDatapoint", e);
593
+ }), Mn("selectDatapoint", e);
597
594
  }
598
- function Nn() {
595
+ function Pn() {
599
596
  V.value.showTable = !V.value.showTable;
600
597
  }
601
- function Pn() {
598
+ function Fn() {
602
599
  V.value.dataLabels.show = !V.value.dataLabels.show;
603
600
  }
604
- function Fn() {
601
+ function In() {
605
602
  V.value.showTooltip = !V.value.showTooltip;
606
603
  }
607
- let In = b(!1);
608
- function Ln() {
609
- In.value = !In.value;
604
+ let Ln = b(!1);
605
+ function Rn() {
606
+ Ln.value = !Ln.value;
610
607
  }
611
- async function Rn({ scale: e = 2 } = {}) {
608
+ async function zn({ scale: e = 2 } = {}) {
612
609
  if (!D.value) return;
613
- 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({
614
611
  domElement: D.value,
615
612
  base64: !0,
616
613
  img: !0,
@@ -625,14 +622,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
625
622
  aspectRatio: r
626
623
  };
627
624
  }
628
- let zn = b({
625
+ let Bn = b({
629
626
  start: 0,
630
627
  end: 1
631
628
  });
632
- Ce({
633
- timeLabelsEls: Gt,
629
+ we({
630
+ timeLabelsEls: qt,
634
631
  timeLabels: l(() => q.value.map((e) => e.name)),
635
- slicer: zn,
632
+ slicer: Bn,
636
633
  configRef: M,
637
634
  rotationPath: [
638
635
  "style",
@@ -650,15 +647,15 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
650
647
  "enable"
651
648
  ],
652
649
  isAutoSize: !1,
653
- width: dn,
654
- height: fn,
650
+ width: pn,
651
+ height: mn,
655
652
  targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
656
653
  rotation: M.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
657
654
  });
658
- let Bn = l(() => {
655
+ let Vn = l(() => {
659
656
  let e = M.value.table.useDialog && !M.value.table.show, t = V.value.showTable;
660
657
  return {
661
- component: e ? Ot : Ct,
658
+ component: e ? kt : wt,
662
659
  title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
663
660
  props: e ? {
664
661
  backgroundColor: M.value.table.th.backgroundColor,
@@ -686,48 +683,48 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
686
683
  }
687
684
  };
688
685
  });
689
- qe(() => V.value.showTable, (e) => {
686
+ Je(() => V.value.showTable, (e) => {
690
687
  M.value.table.show || (e && M.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
691
688
  });
692
- function Vn() {
693
- V.value.showTable = !1, Ht.value && Ht.value.setTableIconState(!1);
689
+ function Hn() {
690
+ V.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
694
691
  }
695
- 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({
696
693
  svg: F,
697
694
  title: l(() => M.value.style.chart.title),
698
- legend: Un,
695
+ legend: Wn,
699
696
  legendItems: W,
700
- backgroundColor: Hn
697
+ backgroundColor: Un
701
698
  });
702
- async function Kn({ isCb: e }) {
703
- Wt.value = !0, await Ve();
699
+ async function qn({ isCb: e }) {
700
+ Kt.value = !0, await He();
704
701
  try {
705
702
  if (e) {
706
- let { blob: e, url: t, text: n, dataUrl: r } = await Gn();
703
+ let { blob: e, url: t, text: n, dataUrl: r } = await Kn();
707
704
  await Promise.resolve(M.value.userOptions.callbacks.svg({
708
705
  blob: e,
709
706
  url: t,
710
707
  text: n,
711
708
  dataUrl: r
712
709
  }));
713
- } else await Promise.resolve(Wn());
710
+ } else await Promise.resolve(Gn());
714
711
  } finally {
715
- Wt.value = !1;
712
+ Kt.value = !1;
716
713
  }
717
714
  }
718
- function qn(e) {
715
+ function Jn(e) {
719
716
  if (e?.stage === "start") {
720
- Ut.value = !0;
717
+ Gt.value = !0;
721
718
  return;
722
719
  }
723
720
  if (e?.stage === "end") {
724
- Ut.value = !1;
721
+ Gt.value = !1;
725
722
  return;
726
723
  }
727
- ln();
724
+ dn();
728
725
  }
729
- async function Jn() {
730
- if (jn("copyAlt", {
726
+ async function Yn() {
727
+ if (Mn("copyAlt", {
731
728
  config: M.value,
732
729
  dataset: J.value
733
730
  }), !M.value.userOptions.callbacks.altCopy) {
@@ -739,11 +736,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
739
736
  dataset: J.value
740
737
  }));
741
738
  }
742
- function Yn(e) {
739
+ function Xn(e) {
743
740
  let t = Y.value.length;
744
741
  return t ? (e % t + t) % t : null;
745
742
  }
746
- function Xn() {
743
+ function Zn() {
747
744
  if (k.value !== null) {
748
745
  let e = Y.value[k.value];
749
746
  e && Z({
@@ -752,27 +749,27 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
752
749
  S: e.S
753
750
  });
754
751
  }
755
- k.value = null, qt.value = "pointer", X.value = null, wn.value = !1;
756
- }
757
- function Zn() {
758
- k.value = null, Jt.value = !0;
752
+ k.value = null, Yt.value = "pointer", X.value = null, En.value = !1;
759
753
  }
760
754
  function Qn() {
761
- Xn(), Jt.value = !1;
755
+ k.value = null, Xt.value = !0;
762
756
  }
763
- function $n(e) {
764
- 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;
765
762
  let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
766
763
  if (!t && !n && !r && !i) return;
767
764
  if (e.preventDefault(), e.stopPropagation(), i) {
768
- Xn();
765
+ Zn();
769
766
  return;
770
767
  }
771
768
  if (r) {
772
769
  if (k.value === null) return;
773
770
  let e = Y.value[k.value];
774
771
  if (!e) return;
775
- Mn({
772
+ Nn({
776
773
  serie: e.serie,
777
774
  shape: e.shape,
778
775
  S: e.S
@@ -780,9 +777,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
780
777
  return;
781
778
  }
782
779
  let a = k.value;
783
- 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));
784
781
  let o = Y.value[a];
785
- o && (k.value = a, Dn({
782
+ o && (k.value = a, Q({
786
783
  shape: o.shape,
787
784
  serieName: o.serieName,
788
785
  serie: o.serie,
@@ -792,9 +789,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
792
789
  triggerMode: "keyboard"
793
790
  }));
794
791
  }
795
- let $ = l(() => ({
796
- head: Q.value.head,
797
- body: Q.value.body.map((e) => [
792
+ let tr = l(() => ({
793
+ head: $.value.head,
794
+ body: $.value.body.map((e) => [
798
795
  e[0] ?? "",
799
796
  e[1] ?? "",
800
797
  ...e.slice(2)
@@ -802,41 +799,41 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
802
799
  caption: M.value.a11y.translations.tableCaption,
803
800
  notice: M.value.a11y.translations.tableAvailable
804
801
  }));
805
- return De({
806
- getData: On,
807
- getImage: Rn,
808
- generateCsv: An,
809
- generatePdf: cn,
810
- generateImage: ln,
811
- generateSvg: Kn,
812
- hideSeries: yn,
813
- showSeries: vn,
814
- toggleTable: Nn,
815
- toggleLabels: Pn,
816
- toggleTooltip: Fn,
817
- toggleAnnotator: Ln,
818
- toggleFullscreen: Yt,
819
- 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
820
817
  }), (e, t) => (y(), f("div", {
821
818
  ref_key: "pcpChart",
822
819
  ref: D,
823
820
  class: g(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
824
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%" : ""}`),
825
822
  id: `pcp_${A.value}`,
826
- onMouseenter: t[2] ||= () => w(en)(!0),
827
- onMouseleave: t[3] ||= () => w(en)(!1)
823
+ onMouseenter: t[2] ||= () => w(nn)(!0),
824
+ onMouseleave: t[3] ||= () => w(nn)(!1)
828
825
  }, [
829
826
  p("div", {
830
827
  id: `chart-instructions-${A.value}`,
831
828
  class: "sr-only"
832
- }, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
833
- $.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, {
834
831
  key: 0,
835
832
  uid: A.value,
836
- head: $.value.head,
837
- body: $.value.body,
838
- caption: $.value.caption,
839
- notice: $.value.notice
833
+ head: tr.value.head,
834
+ body: tr.value.body,
835
+ caption: tr.value.caption,
836
+ notice: tr.value.notice
840
837
  }, null, 8, [
841
838
  "uid",
842
839
  "head",
@@ -844,14 +841,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
844
841
  "caption",
845
842
  "notice"
846
843
  ])) : d("", !0),
847
- M.value.userOptions.buttons.annotator ? (y(), u(w(Tt), {
844
+ M.value.userOptions.buttons.annotator ? (y(), u(w(Et), {
848
845
  key: 1,
849
846
  svgRef: w(F),
850
847
  backgroundColor: M.value.style.chart.backgroundColor,
851
848
  color: M.value.style.chart.color,
852
- active: In.value,
849
+ active: Ln.value,
853
850
  isCursorPointer: N.value,
854
- onClose: Ln
851
+ onClose: Rn
855
852
  }, {
856
853
  "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
857
854
  "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
@@ -867,20 +864,20 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
867
864
  "active",
868
865
  "isCursorPointer"
869
866
  ])) : d("", !0),
870
- un.value ? (y(), f("div", {
867
+ fn.value ? (y(), f("div", {
871
868
  key: 2,
872
869
  ref_key: "noTitle",
873
- ref: Lt,
870
+ ref: zt,
874
871
  class: "vue-data-ui-no-title-space",
875
872
  style: "height:36px; width: 100%;background:transparent"
876
873
  }, null, 512)) : d("", !0),
877
874
  M.value.style.chart.title.text ? (y(), f("div", {
878
875
  key: 3,
879
876
  ref_key: "chartTitle",
880
- ref: Pt,
877
+ ref: It,
881
878
  style: "width:100%;background:transparent;padding-bottom:24px"
882
- }, [(y(), u(Te, {
883
- key: `title_${Rt.value}`,
879
+ }, [(y(), u(Ee, {
880
+ key: `title_${Bt.value}`,
884
881
  config: {
885
882
  title: {
886
883
  cy: "pcp-div-title",
@@ -892,15 +889,15 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
892
889
  }
893
890
  }
894
891
  }, null, 8, ["config"]))], 512)) : d("", !0),
895
- p("div", { id: `legend-top-${A.value}` }, null, 8, Qe),
896
- 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), {
897
894
  ref_key: "userOptionsRef",
898
- ref: Ht,
899
- key: `user_options_${Nt.value}`,
895
+ ref: Wt,
896
+ key: `user_options_${Ft.value}`,
900
897
  backgroundColor: M.value.style.chart.backgroundColor,
901
898
  color: M.value.style.chart.color,
902
- isPrinting: w(on),
903
- isImaging: w(sn),
899
+ isPrinting: w(cn),
900
+ isImaging: w(ln),
904
901
  uid: A.value,
905
902
  hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
906
903
  hasPdf: M.value.userOptions.buttons.pdf,
@@ -917,23 +914,23 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
917
914
  chartElement: D.value,
918
915
  position: M.value.userOptions.position,
919
916
  hasAnnotator: M.value.userOptions.buttons.annotator,
920
- isAnnotation: In.value,
917
+ isAnnotation: Ln.value,
921
918
  callbacks: M.value.userOptions.callbacks,
922
919
  printScale: M.value.userOptions.print.scale,
923
920
  tableDialog: M.value.table.useDialog,
924
921
  isCursorPointer: N.value,
925
- onToggleFullscreen: Yt,
926
- onGeneratePdf: w(cn),
927
- onGenerateCsv: An,
928
- onGenerateImage: qn,
929
- onGenerateSvg: Kn,
930
- onToggleTable: Nn,
931
- onToggleLabels: Pn,
932
- onToggleTooltip: Fn,
933
- onToggleAnnotator: Ln,
934
- onCopyAlt: Jn,
935
- style: v({ visibility: w(tn) ? w($t) ? "visible" : "hidden" : "visible" })
936
- }, 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 }, [
937
934
  e.$slots.menuIcon ? {
938
935
  name: "menuIcon",
939
936
  fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
@@ -1009,7 +1006,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1009
1006
  key: "12"
1010
1007
  } : void 0
1011
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),
1012
- p("div", $e, [(y(), f("svg", {
1009
+ p("div", et, [(y(), f("svg", {
1013
1010
  ref_key: "svgRef",
1014
1011
  ref: F,
1015
1012
  xmlns: w(me),
@@ -1021,11 +1018,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1021
1018
  viewBox: `0 0 ${B.value.chartWidth <= 0 ? 10 : B.value.chartWidth} ${B.value.chartHeight <= 0 ? 10 : B.value.chartHeight}`,
1022
1019
  style: v(`max-width:100%; overflow: visible; background:transparent;color:${M.value.style.chart.color}`),
1023
1020
  tabindex: "0",
1024
- onFocus: Zn,
1025
- onBlur: Qn,
1026
- onKeydown: $n
1021
+ onFocus: Qn,
1022
+ onBlur: $n,
1023
+ onKeydown: er
1027
1024
  }, [
1028
- ze(w(Dt)),
1025
+ Be(w(Ot)),
1029
1026
  e.$slots["chart-background"] ? (y(), f("foreignObject", {
1030
1027
  key: 0,
1031
1028
  x: B.value.left,
@@ -1033,39 +1030,39 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1033
1030
  width: B.value.width,
1034
1031
  height: B.value.height,
1035
1032
  style: { pointerEvents: "none" }
1036
- }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, tt)) : d("", !0),
1037
- (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", {
1038
1035
  x1: B.value.left + G.value * t + G.value / 2,
1039
1036
  x2: B.value.left + G.value * t + G.value / 2,
1040
1037
  y1: B.value.top,
1041
1038
  y2: B.value.bottom,
1042
1039
  stroke: M.value.style.chart.yAxis.stroke,
1043
1040
  "stroke-width": M.value.style.chart.yAxis.strokeWidth
1044
- }, 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", {
1045
- x1: e.x,
1046
- x2: e.x - 10,
1047
- y1: e.y,
1048
- 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}`,
1049
1045
  stroke: M.value.style.chart.yAxis.stroke,
1050
1046
  "stroke-width": M.value.style.chart.yAxis.strokeWidth,
1051
1047
  style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
1052
- }, null, 12, it))), 256)), w(P) ? d("", !0) : (y(), f("g", at, [(y(!0), f(c, null, x(e.ticks, (e) => (y(), f("text", {
1053
- x: e.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX,
1054
- 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})`,
1055
1052
  fill: M.value.style.chart.yAxis.labels.ticks.color,
1056
1053
  "text-anchor": "end",
1057
1054
  "font-size": R.value.ticksFontSize,
1058
1055
  "font-weight": M.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
1059
1056
  style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
1060
- }, C(Sn({
1061
- value: e.value,
1057
+ }, C(wn({
1058
+ value: n.value,
1062
1059
  index: t,
1063
- datapoint: e
1064
- })), 13, ot))), 256))]))], 64)) : d("", !0)]))), 256)),
1060
+ datapoint: n
1061
+ })), 15, st))), 128))]))], 64)) : d("", !0)]))), 256)),
1065
1062
  M.value.style.chart.yAxis.labels.showAxisNames ? (y(), f("g", {
1066
1063
  key: 1,
1067
1064
  ref_key: "xAxisLabels",
1068
- ref: Gt
1065
+ ref: qt
1069
1066
  }, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
1070
1067
  key: 1,
1071
1068
  class: "vue-ui-parallel-coordinate-plot-x-label",
@@ -1081,7 +1078,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1081
1078
  x: 0,
1082
1079
  y: 0
1083
1080
  })
1084
- }, null, 8, ct)) : (y(), f("text", {
1081
+ }, null, 8, lt)) : (y(), f("text", {
1085
1082
  key: 0,
1086
1083
  class: "vue-ui-parallel-coordinate-plot-x-label",
1087
1084
  fill: M.value.style.chart.yAxis.labels.axisNamesColor,
@@ -1089,10 +1086,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1089
1086
  "font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1090
1087
  "text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1091
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})`
1092
- }, C(e.name), 9, st))], 64))), 256))], 512)) : d("", !0),
1089
+ }, C(e.name), 9, ct))], 64))), 256))], 512)) : d("", !0),
1093
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, [
1094
- M.value.style.chart.plots.show ? (y(), f("g", lt, [
1095
- (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, {
1096
1093
  plot: {
1097
1094
  x: e.x,
1098
1095
  y: e.y
@@ -1102,7 +1099,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1102
1099
  radius: t.shape === "triangle" ? R.value.plotSize * 1.2 : R.value.plotSize,
1103
1100
  stroke: M.value.style.chart.backgroundColor,
1104
1101
  strokeWidth: .5,
1105
- onMouseenter: (e) => Dn({
1102
+ onMouseenter: (e) => Q({
1106
1103
  shape: t.shape,
1107
1104
  serieName: t.name,
1108
1105
  serie: r,
@@ -1117,7 +1114,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1117
1114
  S: n
1118
1115
  }),
1119
1116
  style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.plots.opacity : .2 : M.value.style.chart.plots.opacity}`),
1120
- onClick: () => Mn({
1117
+ onClick: () => Nn({
1121
1118
  serie: r,
1122
1119
  shape: t.shape,
1123
1120
  S: n
@@ -1141,7 +1138,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1141
1138
  "font-size": R.value.ticksFontSize,
1142
1139
  fill: t.color,
1143
1140
  "font-weight": "bold"
1144
- }, C(r.name), 9, ut)) : d("", !0)], 64)),
1141
+ }, C(r.name), 9, dt)) : d("", !0)], 64)),
1145
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", {
1146
1143
  key: 0,
1147
1144
  style: { overflow: "visible" },
@@ -1149,10 +1146,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1149
1146
  width: M.value.style.chart.comments.width,
1150
1147
  x: n.x - M.value.style.chart.comments.width / 2 + M.value.style.chart.comments.offsetX,
1151
1148
  y: n.y + M.value.style.chart.comments.offsetY + 6
1152
- }, [p("div", ft, [S(e.$slots, "plot-comment", { plot: {
1149
+ }, [p("div", pt, [S(e.$slots, "plot-comment", { plot: {
1153
1150
  ...n,
1154
1151
  color: t.color
1155
- } }, void 0, !0)])], 8, dt)) : d("", !0)]))), 256)) : d("", !0)
1152
+ } }, void 0, !0)])], 8, ft)) : d("", !0)]))), 256)) : d("", !0)
1156
1153
  ])) : d("", !0),
1157
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", {
1158
1155
  x: e.x + 12 + M.value.style.chart.yAxis.labels.datapoints.offsetX,
@@ -1165,7 +1162,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1165
1162
  "vue-ui-pcp-transition": !w(P)
1166
1163
  }),
1167
1164
  "font-size": R.value.datapointFontSize,
1168
- onMouseenter: (e) => Dn({
1165
+ onMouseenter: (e) => Q({
1169
1166
  shape: t.shape,
1170
1167
  serieName: t.name,
1171
1168
  serie: r,
@@ -1179,17 +1176,17 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1179
1176
  shape: t.shape,
1180
1177
  S: n
1181
1178
  }),
1182
- onClick: () => Mn({
1179
+ onClick: () => Nn({
1183
1180
  serie: r,
1184
1181
  shape: t.shape,
1185
1182
  S: n
1186
1183
  }),
1187
1184
  style: v(`opacity:${X.value ? X.value === r.id ? 1 : .2 : 1}`)
1188
- }, C(Sn({
1185
+ }, C(wn({
1189
1186
  value: e.value,
1190
1187
  index: a,
1191
1188
  datapoint: e
1192
- })), 47, pt))), 256)) : d("", !0),
1189
+ })), 47, mt))), 256)) : d("", !0),
1193
1190
  p("path", {
1194
1191
  d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
1195
1192
  stroke: t.color,
@@ -1199,7 +1196,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1199
1196
  "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1200
1197
  "vue-ui-pcp-transition": !w(P)
1201
1198
  }),
1202
- onMouseenter: (e) => Dn({
1199
+ onMouseenter: (e) => Q({
1203
1200
  shape: t.shape,
1204
1201
  serieName: t.name,
1205
1202
  serie: r,
@@ -1213,13 +1210,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1213
1210
  shape: t.shape,
1214
1211
  S: n
1215
1212
  }),
1216
- onClick: () => Mn({
1213
+ onClick: () => Nn({
1217
1214
  serie: r,
1218
1215
  shape: t.shape,
1219
1216
  S: n
1220
1217
  }),
1221
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}`)
1222
- }, null, 46, mt),
1219
+ }, null, 46, ht),
1223
1220
  V.value.showTooltip ? (y(), f("path", {
1224
1221
  key: 2,
1225
1222
  d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
@@ -1230,7 +1227,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1230
1227
  "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1231
1228
  "vue-ui-pcp-transition": !w(P)
1232
1229
  }),
1233
- onMouseenter: (e) => Dn({
1230
+ onMouseenter: (e) => Q({
1234
1231
  shape: t.shape,
1235
1232
  serieName: t.name,
1236
1233
  serie: r,
@@ -1244,52 +1241,52 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1244
1241
  shape: t.shape,
1245
1242
  S: n
1246
1243
  }),
1247
- onClick: () => Mn({
1244
+ onClick: () => Nn({
1248
1245
  serie: r,
1249
1246
  shape: t.shape,
1250
1247
  S: n
1251
1248
  }),
1252
1249
  style: { opacity: "0" }
1253
- }, null, 42, ht)) : d("", !0)
1250
+ }, null, 42, gt)) : d("", !0)
1254
1251
  ]))), 256))]))), 256)),
1255
1252
  S(e.$slots, "svg", { svg: {
1256
1253
  ...B.value,
1257
- isPrintingImg: w(on) || w(sn) || Ut.value,
1258
- isPrintingSvg: Wt.value
1254
+ isPrintingImg: w(cn) || w(ln) || Gt.value,
1255
+ isPrintingSvg: Kt.value
1259
1256
  } }, void 0, !0)
1260
- ], 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({
1261
1258
  hint: M.value.a11y.translations.keyboardNavigation,
1262
- isVisible: Jt.value
1259
+ isVisible: Xt.value
1263
1260
  })), void 0, !0)])) : d("", !0)]),
1264
- 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),
1265
- p("div", { id: `legend-bottom-${A.value}` }, null, 8, vt),
1266
- 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, {
1267
1264
  key: 6,
1268
1265
  to: M.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
1269
1266
  }, [p("div", {
1270
1267
  ref_key: "chartLegend",
1271
- ref: Ft
1272
- }, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show && Mt.value ? (y(), u(Pe, {
1273
- 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}`,
1274
1271
  legendSet: W.value,
1275
- config: bn.value,
1272
+ config: Sn.value,
1276
1273
  isCursorPointer: N.value,
1277
1274
  onClickMarker: t[0] ||= ({ legend: e }) => {
1278
- gn(e.id);
1275
+ vn(e.id);
1279
1276
  }
1280
1277
  }, {
1281
1278
  item: T(({ legend: e, index: t }) => [p("div", {
1282
1279
  onClick: (t) => e.segregate(),
1283
1280
  style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
1284
- }, C(e.name), 13, yt)]),
1285
- 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, {
1286
1283
  key: 0,
1287
1284
  backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1288
1285
  color: M.value.style.chart.legend.selectAllToggle.color,
1289
1286
  fontSize: M.value.style.chart.legend.fontSize,
1290
1287
  checked: H.value.length > 0,
1291
1288
  isCursorPointer: N.value,
1292
- onToggle: hn
1289
+ onToggle: _n
1293
1290
  }, null, 8, [
1294
1291
  "backgroundColor",
1295
1292
  "color",
@@ -1306,12 +1303,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1306
1303
  e.$slots.source ? (y(), f("div", {
1307
1304
  key: 7,
1308
1305
  ref_key: "source",
1309
- ref: It,
1306
+ ref: Rt,
1310
1307
  dir: "auto"
1311
1308
  }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1312
- ze(w(xt), {
1309
+ Be(w(St), {
1313
1310
  teleportTo: M.value.style.chart.tooltip.teleportTo,
1314
- show: V.value.showTooltip && wn.value,
1311
+ show: V.value.showTooltip && En.value,
1315
1312
  backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1316
1313
  color: M.value.style.chart.tooltip.color,
1317
1314
  fontSize: M.value.style.chart.tooltip.fontSize,
@@ -1323,19 +1320,19 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1323
1320
  offsetX: M.value.style.chart.tooltip.offsetX,
1324
1321
  offsetY: M.value.style.chart.tooltip.offsetY,
1325
1322
  parent: D.value,
1326
- content: Tn.value,
1323
+ content: Dn.value,
1327
1324
  isFullscreen: j.value,
1328
1325
  isCustom: w(oe)(M.value.style.chart.tooltip.customFormat),
1329
1326
  smooth: M.value.style.chart.tooltip.smooth,
1330
1327
  backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1331
1328
  smoothForce: M.value.style.chart.tooltip.smoothForce,
1332
1329
  smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1333
- isA11yMode: qt.value === "keyboard",
1334
- a11yPosition: Kt.value
1330
+ isA11yMode: Yt.value === "keyboard",
1331
+ a11yPosition: Jt.value
1335
1332
  }, {
1336
- "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...Cn.value })), void 0, !0)]),
1337
- tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...Cn.value })), void 0, !0)]),
1338
- "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)]),
1339
1336
  _: 3
1340
1337
  }, 8, [
1341
1338
  "teleportTo",
@@ -1361,24 +1358,24 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1361
1358
  "isA11yMode",
1362
1359
  "a11yPosition"
1363
1360
  ]),
1364
- 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, {
1365
1362
  ref_key: "tableUnit",
1366
1363
  ref: O,
1367
- onClose: Vn
1368
- }), Le({
1369
- content: T(() => [(y(), u(w(wt), {
1370
- key: `table_${Bt.value}`,
1371
- colNames: Q.value.colNames,
1372
- head: Q.value.head,
1373
- body: Q.value.body,
1374
- config: Q.value.config,
1375
- 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,
1376
1373
  withCloseButton: !M.value.table.useDialog,
1377
1374
  isCursorPointer: N.value,
1378
- onClose: Vn
1375
+ onClose: Hn
1379
1376
  }, {
1380
- th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8, bt)]),
1381
- 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)]),
1382
1379
  _: 1
1383
1380
  }, 8, [
1384
1381
  "colNames",
@@ -1392,24 +1389,24 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
1392
1389
  _: 2
1393
1390
  }, [M.value.table.useDialog ? {
1394
1391
  name: "title",
1395
- fn: T(() => [Re(C(Bn.value.title), 1)]),
1392
+ fn: T(() => [ze(C(Vn.value.title), 1)]),
1396
1393
  key: "0"
1397
1394
  } : void 0, M.value.table.useDialog ? {
1398
1395
  name: "actions",
1399
1396
  fn: T(() => [p("button", {
1400
1397
  tabindex: "0",
1401
1398
  class: "vue-ui-user-options-button",
1402
- onClick: t[1] ||= (e) => An(M.value.userOptions.callbacks.csv),
1399
+ onClick: t[1] ||= (e) => jn(M.value.userOptions.callbacks.csv),
1403
1400
  style: v({ cursor: N.value ? "pointer" : "default" })
1404
- }, [ze(w(St), {
1401
+ }, [Be(w(Ct), {
1405
1402
  name: "fileCsv",
1406
- stroke: Bn.value.props.color
1403
+ stroke: Vn.value.props.color
1407
1404
  }, null, 8, ["stroke"])], 4)]),
1408
1405
  key: "1"
1409
1406
  } : void 0]), 1040)) : d("", !0),
1410
1407
  S(e.$slots, "skeleton", {}, () => [w(P) ? (y(), u(ye, { key: 0 })) : d("", !0)], !0)
1411
- ], 46, Xe));
1408
+ ], 46, Ze));
1412
1409
  }
1413
- }, [["__scopeId", "data-v-a7286565"]]);
1410
+ }, [["__scopeId", "data-v-7916a6b4"]]);
1414
1411
  //#endregion
1415
- export { Ye as n, xt as t };
1412
+ export { Xe as n, St as t };