vue-data-ui 2.3.61 → 2.3.63

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 (162) hide show
  1. package/dist/{Arrow-B5nYwPUt.js → Arrow-CBx1Hj4I.js} +1 -1
  2. package/dist/{Arrow-Dv_tprAO.cjs → Arrow-fP0md3L3.cjs} +1 -1
  3. package/dist/{BaseIcon-DUPLRuLO.js → BaseIcon-CS18qRiy.js} +1 -1
  4. package/dist/{BaseIcon-aPcCSO_Z.cjs → BaseIcon-O8jJvy48.cjs} +1 -1
  5. package/dist/{DataTable-NUzEZXWt.js → DataTable-BGJ2mVxG.js} +2 -2
  6. package/dist/{DataTable-B6xCb-DR.cjs → DataTable-CSEiZDAb.cjs} +1 -1
  7. package/dist/{Legend-ePmJ_YIA.cjs → Legend-DuuSl2rJ.cjs} +1 -1
  8. package/dist/{Legend-C3tseguI.js → Legend-UWyvC57K.js} +1 -1
  9. package/dist/{Shape-DAe5uqIA.cjs → Shape-Dsx4SQVn.cjs} +1 -1
  10. package/dist/{Shape-BPcWPP9D.js → Shape-HfEpP-Tk.js} +1 -1
  11. package/dist/{Slicer-CmHwU6if.js → Slicer-Bk3Rt85L.js} +9 -9
  12. package/dist/{Slicer-BJs52Jle.cjs → Slicer-Cf74aFVz.cjs} +1 -1
  13. package/dist/{Title-BAQrVaNA.js → Title-CPZstF2C.js} +1 -1
  14. package/dist/{Title-B_p983os.cjs → Title-PZ6S96pU.cjs} +1 -1
  15. package/dist/{Tooltip-C2dhDgoh.cjs → Tooltip-BoIYPSX3.cjs} +1 -1
  16. package/dist/{Tooltip-B73tTE2v.js → Tooltip-CBmmiqKr.js} +5 -5
  17. package/dist/{index-CwG--L4Z.js → index-C_05i_JG.js} +578 -526
  18. package/dist/{index-nPEJmXmf.cjs → index-NNZeHOBS.cjs} +4 -4
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-TbnnNrH2.cjs → useNestedProp-CPsbJAGj.cjs} +1 -1
  21. package/dist/{useNestedProp-BqwYEJGM.js → useNestedProp-DLnT0Wtg.js} +1 -1
  22. package/dist/{usePrinter-D012Olnq.cjs → usePrinter-BLbY8qGZ.cjs} +1 -1
  23. package/dist/{usePrinter-Do9tGYem.js → usePrinter-DOhlzlnx.js} +1 -1
  24. package/dist/{vue-data-ui-DQAJDvpX.cjs → vue-data-ui-D5aG0WkE.cjs} +1 -1
  25. package/dist/{vue-data-ui-ORLyt-v3.js → vue-data-ui-vqnxkVKv.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +7 -7
  28. package/dist/{vue-ui-3d-bar-BRbooRg3.cjs → vue-ui-3d-bar-Cez69HMH.cjs} +1 -1
  29. package/dist/{vue-ui-3d-bar--ztApFzW.js → vue-ui-3d-bar-b7Pu7sfL.js} +7 -7
  30. package/dist/{vue-ui-accordion-CHL4xuW4.cjs → vue-ui-accordion-CcdyvXrp.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-Be_wWB1T.js → vue-ui-accordion-rGJVvi_V.js} +3 -3
  32. package/dist/vue-ui-age-pyramid-B6LKyKjc.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-DLIladXC.js → vue-ui-age-pyramid-CH1Vj2R6.js} +226 -226
  34. package/dist/{vue-ui-annotator-CS2d8F8x.cjs → vue-ui-annotator-BfmMNM_X.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-Bxrjl1nz.js → vue-ui-annotator-CTio5IiK.js} +1 -1
  36. package/dist/{vue-ui-candlestick-BppLVU6c.js → vue-ui-candlestick-C4kT9W0j.js} +158 -158
  37. package/dist/{vue-ui-candlestick-tumv-lhv.cjs → vue-ui-candlestick-DvX9Jxoi.cjs} +2 -2
  38. package/dist/{vue-ui-carousel-table-BsFNypM6.cjs → vue-ui-carousel-table-CMs7scX3.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-BnOsmGVc.js → vue-ui-carousel-table-Df2HHk0v.js} +4 -4
  40. package/dist/{vue-ui-chestnut-DFb7M_SC.js → vue-ui-chestnut-BKTnDElg.js} +65 -64
  41. package/dist/{vue-ui-chestnut-tK8ebPQM.cjs → vue-ui-chestnut-CCw8h0_m.cjs} +3 -3
  42. package/dist/{vue-ui-cursor-D-eRMlWI.cjs → vue-ui-cursor-C-8bpiuy.cjs} +1 -1
  43. package/dist/{vue-ui-cursor-CYk61ZVK.js → vue-ui-cursor-DOOlFN5D.js} +2 -2
  44. package/dist/{vue-ui-dashboard-Cbk74q7K.cjs → vue-ui-dashboard-B_h8KxOx.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-BomFWtsP.js → vue-ui-dashboard-D7U1UkAh.js} +2 -2
  46. package/dist/{vue-ui-digits-Ch9quA4D.js → vue-ui-digits-DmxQgABv.js} +2 -2
  47. package/dist/{vue-ui-digits-DWJOvgi2.cjs → vue-ui-digits-DoQoNGGx.cjs} +1 -1
  48. package/dist/{vue-ui-donut-BIMgi_Qw.cjs → vue-ui-donut-DdnwGXq6.cjs} +1 -1
  49. package/dist/vue-ui-donut-evolution-DsRAZLMN.cjs +1 -0
  50. package/dist/{vue-ui-donut-evolution-ClNciLi2.js → vue-ui-donut-evolution-uPCTV6E6.js} +95 -95
  51. package/dist/{vue-ui-donut-Ctzc7e6_.js → vue-ui-donut-t5zf9Lm5.js} +42 -42
  52. package/dist/{vue-ui-dumbbell-IBrAHdlc.js → vue-ui-dumbbell-BCdxqHVR.js} +109 -107
  53. package/dist/vue-ui-dumbbell-D1Ak2pEE.cjs +9 -0
  54. package/dist/vue-ui-flow-CLqm5nkx.cjs +1 -0
  55. package/dist/vue-ui-flow-J1SmdKkh.js +469 -0
  56. package/dist/vue-ui-galaxy-CSXbhXBe.cjs +1 -0
  57. package/dist/{vue-ui-galaxy-BBKU6WqV.js → vue-ui-galaxy-DNMbyKNg.js} +91 -91
  58. package/dist/{vue-ui-gauge-CDpN6D_X.js → vue-ui-gauge-CC_9cSwj.js} +84 -84
  59. package/dist/vue-ui-gauge-O3ntKI31.cjs +1 -0
  60. package/dist/{vue-ui-gizmo-BS-olrbu.js → vue-ui-gizmo-C5vGMHUU.js} +2 -2
  61. package/dist/{vue-ui-gizmo-Dyi4DWSA.cjs → vue-ui-gizmo-qrJt0nH6.cjs} +1 -1
  62. package/dist/vue-ui-heatmap-BjimHnMb.cjs +1 -0
  63. package/dist/{vue-ui-heatmap-Bonl3GBj.js → vue-ui-heatmap-ByxLZuR5.js} +257 -239
  64. package/dist/{vue-ui-kpi-MeC195T8.js → vue-ui-kpi-DdNQlVCe.js} +3 -3
  65. package/dist/{vue-ui-kpi-ChD3Gh4P.cjs → vue-ui-kpi-eyxMedig.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-NiTij5XQ.cjs → vue-ui-mini-loader-B5ykH9BF.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-l2G4D7lJ.js → vue-ui-mini-loader-C05VGcNr.js} +2 -2
  68. package/dist/{vue-ui-molecule-C1dO-Ony.js → vue-ui-molecule-DI0oHPT5.js} +20 -20
  69. package/dist/{vue-ui-molecule-pXZ3aWlr.cjs → vue-ui-molecule-LZ1SRkgK.cjs} +1 -1
  70. package/dist/{vue-ui-mood-radar-C3Gv4iYr.cjs → vue-ui-mood-radar-BJqk2oK_.cjs} +1 -1
  71. package/dist/{vue-ui-mood-radar-BVpJ3O4m.js → vue-ui-mood-radar-DIDqiVMf.js} +9 -9
  72. package/dist/{vue-ui-nested-donuts-Dmeqsml8.js → vue-ui-nested-donuts-BkSiryoB.js} +120 -120
  73. package/dist/{vue-ui-nested-donuts-Cwk0M7SE.cjs → vue-ui-nested-donuts-Nggnu_iK.cjs} +2 -2
  74. package/dist/{vue-ui-onion-BmJO696O.cjs → vue-ui-onion-B29Cxru2.cjs} +1 -1
  75. package/dist/{vue-ui-onion-Ogj_rMlX.js → vue-ui-onion-xiubSG3j.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-BBBuJdGN.js → vue-ui-parallel-coordinate-plot-DjmOGHVx.js} +69 -69
  77. package/dist/{vue-ui-parallel-coordinate-plot-Cqm7uMBs.cjs → vue-ui-parallel-coordinate-plot-DqrkSOo6.cjs} +1 -1
  78. package/dist/{vue-ui-quadrant-BJtgJ_lu.js → vue-ui-quadrant-Cc79ggIy.js} +36 -36
  79. package/dist/{vue-ui-quadrant-DcqQwIsD.cjs → vue-ui-quadrant-Df_2X-ca.cjs} +1 -1
  80. package/dist/vue-ui-quick-chart-BnBGXd4d.cjs +15 -0
  81. package/dist/{vue-ui-quick-chart-D7dCfDSL.js → vue-ui-quick-chart-t_cPx4OT.js} +549 -515
  82. package/dist/{vue-ui-radar-BMxzhMFJ.js → vue-ui-radar-C3qEonKT.js} +59 -59
  83. package/dist/vue-ui-radar-D3W9B9JE.cjs +1 -0
  84. package/dist/{vue-ui-rating-DSgHml7s.js → vue-ui-rating-DffL7w-I.js} +9 -9
  85. package/dist/{vue-ui-rating-buop0ul0.cjs → vue-ui-rating-aOa6zIr5.cjs} +1 -1
  86. package/dist/{vue-ui-relation-circle-BACMnvv8.cjs → vue-ui-relation-circle-BZ7r7Unx.cjs} +1 -1
  87. package/dist/{vue-ui-relation-circle-CdHbZK0u.js → vue-ui-relation-circle-D0zUfd3f.js} +5 -5
  88. package/dist/vue-ui-rings-BjWAtE4x.cjs +2 -0
  89. package/dist/{vue-ui-rings-BBnzxfo2.js → vue-ui-rings-PHbuqfoT.js} +188 -185
  90. package/dist/{vue-ui-scatter-sF3c5eqM.cjs → vue-ui-scatter-DMJ77QYr.cjs} +1 -1
  91. package/dist/{vue-ui-scatter-DYXhTzch.js → vue-ui-scatter-DuCnr2yB.js} +378 -375
  92. package/dist/{vue-ui-screenshot-D-6YvKkW.cjs → vue-ui-screenshot-DBuA631a.cjs} +1 -1
  93. package/dist/{vue-ui-screenshot-B4WOalT6.js → vue-ui-screenshot-DbwRrmHv.js} +6 -6
  94. package/dist/{vue-ui-skeleton-D6wHGzmu.cjs → vue-ui-skeleton-CI4t8LHn.cjs} +1 -1
  95. package/dist/{vue-ui-skeleton-ClzVF3vm.js → vue-ui-skeleton-CcJR2m18.js} +23 -23
  96. package/dist/{vue-ui-smiley-B1cqwAN5.js → vue-ui-smiley-2rJFSSZS.js} +2 -2
  97. package/dist/{vue-ui-smiley-CoVnFdkD.cjs → vue-ui-smiley-C7KBm0fz.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-DY_sfo6o.js +251 -0
  99. package/dist/vue-ui-spark-trend-VH2nwGJf.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-BOzSGZak.js → vue-ui-sparkbar-B0O77PcV.js} +3 -3
  101. package/dist/{vue-ui-sparkbar-CpIfPtyd.cjs → vue-ui-sparkbar-Bs8ZQem1.cjs} +1 -1
  102. package/dist/{vue-ui-sparkgauge-4hk6ZJwJ.js → vue-ui-sparkgauge-B5KqrHQZ.js} +64 -64
  103. package/dist/vue-ui-sparkgauge-Cd7b4u0z.cjs +1 -0
  104. package/dist/{vue-ui-sparkhistogram-VCAQZfgG.cjs → vue-ui-sparkhistogram-CEWCLohQ.cjs} +1 -1
  105. package/dist/{vue-ui-sparkhistogram-8degKlMU.js → vue-ui-sparkhistogram-DwRPeG7H.js} +4 -4
  106. package/dist/{vue-ui-sparkline-DsUwWV4z.cjs → vue-ui-sparkline-CuFtIMpq.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-uBkd9kR2.js → vue-ui-sparkline-W5bZnpQo.js} +25 -25
  108. package/dist/{vue-ui-sparkstackbar-Cpq2lHcl.js → vue-ui-sparkstackbar-9hBQZ0lZ.js} +3 -3
  109. package/dist/{vue-ui-sparkstackbar-DyNfMGkM.cjs → vue-ui-sparkstackbar-TyVFUMtT.cjs} +1 -1
  110. package/dist/{vue-ui-stackbar-lr_qudpY.js → vue-ui-stackbar-BlkgM0nD.js} +35 -35
  111. package/dist/{vue-ui-stackbar-jQe7BneA.cjs → vue-ui-stackbar-CwVcupxt.cjs} +1 -1
  112. package/dist/vue-ui-strip-plot-C1GfRjXJ.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-DwvlcnHB.js → vue-ui-strip-plot-CBfqkkY6.js} +76 -75
  114. package/dist/{vue-ui-table-Dhj4_z9d.js → vue-ui-table-B8cvvLk8.js} +1 -1
  115. package/dist/{vue-ui-table-D5ybohqp.cjs → vue-ui-table-CmguTt4I.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap-CChLZdxj.cjs → vue-ui-table-heatmap-DMnh8-b1.cjs} +1 -1
  117. package/dist/{vue-ui-table-heatmap-BY65DeiH.js → vue-ui-table-heatmap-wVWltZ2x.js} +26 -26
  118. package/dist/{vue-ui-table-sparkline-CvMETVJ1.js → vue-ui-table-sparkline-_POawNEL.js} +13 -13
  119. package/dist/{vue-ui-table-sparkline-Cmy6PcPI.cjs → vue-ui-table-sparkline-wtIFAc20.cjs} +1 -1
  120. package/dist/{vue-ui-thermometer-BIN2ofrh.js → vue-ui-thermometer-CFJqd-VY.js} +116 -116
  121. package/dist/vue-ui-thermometer-D6SnFJb1.cjs +1 -0
  122. package/dist/{vue-ui-timer-DBcOT10h.cjs → vue-ui-timer-194y0LUC.cjs} +1 -1
  123. package/dist/{vue-ui-timer-DoSqphvk.js → vue-ui-timer-D8dgDAfe.js} +4 -4
  124. package/dist/vue-ui-tiremarks-BM28JsxE.cjs +1 -0
  125. package/dist/{vue-ui-tiremarks-DRTLsMWt.js → vue-ui-tiremarks-CH1BFqbO.js} +71 -71
  126. package/dist/vue-ui-treemap-BIpIg3Qa.cjs +1 -0
  127. package/dist/{vue-ui-treemap-D8-D_wfq.js → vue-ui-treemap-DHsoVY5n.js} +89 -82
  128. package/dist/{vue-ui-vertical-bar-zUaXmUpB.js → vue-ui-vertical-bar-DNODBoSo.js} +246 -242
  129. package/dist/vue-ui-vertical-bar-Du8ikoWM.cjs +4 -0
  130. package/dist/{vue-ui-waffle-CztGir7e.js → vue-ui-waffle-C8hMAeMl.js} +44 -44
  131. package/dist/{vue-ui-waffle-RCqpPcSF.cjs → vue-ui-waffle-_Bi9MRx8.cjs} +1 -1
  132. package/dist/{vue-ui-wheel-CBqL8FKG.cjs → vue-ui-wheel-BZxcRGJX.cjs} +1 -1
  133. package/dist/{vue-ui-wheel-BQ2a-ZyV.js → vue-ui-wheel-CmZKsfKj.js} +5 -5
  134. package/dist/{vue-ui-word-cloud-CKUGIGnW.js → vue-ui-word-cloud-fLf-x06l.js} +68 -65
  135. package/dist/vue-ui-word-cloud-nHVG2yid.cjs +1 -0
  136. package/dist/{vue-ui-xy-Dsa2tfKS.js → vue-ui-xy-CPln5bGQ.js} +82 -82
  137. package/dist/vue-ui-xy-canvas-Z1tJJV5-.cjs +9 -0
  138. package/dist/{vue-ui-xy-canvas-JeNqaB_p.js → vue-ui-xy-canvas-k30CEsKi.js} +122 -121
  139. package/dist/vue-ui-xy-qxQy2sOl.cjs +3 -0
  140. package/package.json +1 -1
  141. package/dist/vue-ui-age-pyramid-BILMRRi1.cjs +0 -1
  142. package/dist/vue-ui-donut-evolution-K7LUkN6q.cjs +0 -1
  143. package/dist/vue-ui-dumbbell-HVpK20XO.cjs +0 -9
  144. package/dist/vue-ui-flow-CiXnGdNb.js +0 -465
  145. package/dist/vue-ui-flow-ClV2yd8Y.cjs +0 -1
  146. package/dist/vue-ui-galaxy-CMCXCWDA.cjs +0 -1
  147. package/dist/vue-ui-gauge-DwCGaX1h.cjs +0 -1
  148. package/dist/vue-ui-heatmap-WFNo-GFX.cjs +0 -1
  149. package/dist/vue-ui-quick-chart-D9zFHA0L.cjs +0 -15
  150. package/dist/vue-ui-radar-D8ik0Fqr.cjs +0 -1
  151. package/dist/vue-ui-rings-Dn5opKNy.cjs +0 -2
  152. package/dist/vue-ui-spark-trend-DnO4DW0n.cjs +0 -1
  153. package/dist/vue-ui-spark-trend-HioE2zeC.js +0 -251
  154. package/dist/vue-ui-sparkgauge-C2_I0tyO.cjs +0 -1
  155. package/dist/vue-ui-strip-plot-BMKaWqD4.cjs +0 -1
  156. package/dist/vue-ui-thermometer-Bfp-FwRE.cjs +0 -1
  157. package/dist/vue-ui-tiremarks-BeBJHz2R.cjs +0 -1
  158. package/dist/vue-ui-treemap-DqBukSj6.cjs +0 -1
  159. package/dist/vue-ui-vertical-bar-BM3aaSuB.cjs +0 -4
  160. package/dist/vue-ui-word-cloud-BbnU0d3E.cjs +0 -1
  161. package/dist/vue-ui-xy-BU0fCkSk.cjs +0 -3
  162. package/dist/vue-ui-xy-canvas-IaIARWWS.cjs +0 -9
@@ -1,15 +1,15 @@
1
- import { computed as y, ref as f, onMounted as Ne, onBeforeUnmount as Pe, openBlock as u, createElementBlock as i, normalizeClass as E, normalizeStyle as _, createVNode as K, createCommentVNode as g, createBlock as D, unref as T, createSlots as Le, withCtx as b, renderSlot as x, normalizeProps as j, guardReactiveProps as R, Fragment as C, renderList as z, createElementVNode as I, toDisplayString as P, createTextVNode as Se } from "vue";
2
- import { u as Oe, c as Q, t as De, a as We, p as U, o as Be, e as ye, g as Ee, b as je, d as Re, A as Ue, M as Ve, N as Ge, O as He, X as Xe, w as fe, i as ge, f as be, x as Ye, q as qe, r as Je, C as V } from "./index-CwG--L4Z.js";
3
- import { t as Ke, u as Qe } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Ze } from "./Title-BAQrVaNA.js";
5
- import { L as et } from "./Legend-C3tseguI.js";
6
- import { _ as tt } from "./Tooltip-B73tTE2v.js";
7
- import { _ as at } from "./Shape-BPcWPP9D.js";
8
- import { u as lt, U as ot } from "./usePrinter-Do9tGYem.js";
9
- import { D as st } from "./DataTable-NUzEZXWt.js";
10
- import nt from "./vue-ui-accordion-Be_wWB1T.js";
11
- import ut from "./vue-ui-skeleton-ClzVF3vm.js";
12
- import { u as xe } from "./useNestedProp-BqwYEJGM.js";
1
+ import { computed as y, ref as f, onMounted as Pe, onBeforeUnmount as Ne, openBlock as u, createElementBlock as i, normalizeClass as E, normalizeStyle as _, createVNode as J, createCommentVNode as g, createBlock as D, unref as z, createSlots as Le, withCtx as b, renderSlot as x, normalizeProps as j, guardReactiveProps as R, Fragment as C, renderList as A, createElementVNode as I, toDisplayString as N, createTextVNode as Se } from "vue";
2
+ import { u as Oe, c as K, t as De, a as We, p as U, o as Be, e as ye, g as Ee, b as je, d as Re, B as Ue, O as Ve, P as Ge, Q as He, X as Xe, x as fe, i as ge, f as be, y as Ye, q as qe, r as Qe, D as V } from "./index-C_05i_JG.js";
3
+ import { t as Je, u as Ke } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as Ze } from "./Title-CPZstF2C.js";
5
+ import { L as et } from "./Legend-UWyvC57K.js";
6
+ import { _ as tt } from "./Tooltip-CBmmiqKr.js";
7
+ import { _ as at } from "./Shape-HfEpP-Tk.js";
8
+ import { u as lt, U as ot } from "./usePrinter-DOhlzlnx.js";
9
+ import { D as st } from "./DataTable-BGJ2mVxG.js";
10
+ import nt from "./vue-ui-accordion-rGJVvi_V.js";
11
+ import ut from "./vue-ui-skeleton-CcJR2m18.js";
12
+ import { u as xe } from "./useNestedProp-DLnT0Wtg.js";
13
13
  import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events": "none" } }, dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ht = ["x", "y", "fill", "font-size", "font-weight"], pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mt = ["x", "y", "fill", "font-size", "font-weight"], yt = { key: 0 }, ft = ["x", "y", "font-size", "fill"], gt = ["width", "x", "y"], bt = { style: { width: "100%" } }, xt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], kt = ["d", "stroke", "stroke-width", "onMouseenter"], Ct = {
15
15
  key: 3,
@@ -39,7 +39,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
39
39
  set(a) {
40
40
  return a;
41
41
  }
42
- }), ee = f(0), L = f(null), te = f(null), ae = f(null), G = f(Q()), S = f(!1);
42
+ }), ee = f(0), L = f(null), te = f(null), ae = f(null), G = f(K()), S = f(!1);
43
43
  function $e(a) {
44
44
  S.value = a, ee.value += 1;
45
45
  }
@@ -56,7 +56,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
56
56
  customPalette: We[a.theme] || U
57
57
  } : a;
58
58
  }), W = f(null);
59
- Ne(() => {
59
+ Pe(() => {
60
60
  if (Be(M.dataset) ? ye({
61
61
  componentName: "VueUiParallelCoordinatePlot",
62
62
  type: "dataset"
@@ -73,8 +73,8 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
73
73
  });
74
74
  });
75
75
  }), e.value.responsive) {
76
- const a = Ke(() => {
77
- const { width: l, height: t } = Qe({
76
+ const a = Je(() => {
77
+ const { width: l, height: t } = Ke({
78
78
  chart: L.value,
79
79
  title: e.value.style.chart.title.text ? te.value : null,
80
80
  legend: e.value.style.chart.legend.show ? ae.value : null
@@ -107,7 +107,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
107
107
  });
108
108
  W.value = new ResizeObserver(a), W.value.observe(L.value.parentNode);
109
109
  }
110
- }), Pe(() => {
110
+ }), Ne(() => {
111
111
  W.value && W.value.disconnect();
112
112
  });
113
113
  const { isPrinting: le, isImaging: oe, generatePdf: se, generateImage: ne } = lt({
@@ -144,26 +144,26 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
144
144
  function ue(a) {
145
145
  w.value.includes(a) ? w.value = w.value.filter((l) => l !== a) : w.value.push(a);
146
146
  }
147
- const A = y(() => M.dataset.map((a, l) => {
147
+ const T = y(() => M.dataset.map((a, l) => {
148
148
  const t = Re(a.color) || _e.value[l] || U[l] || U[l % U.length];
149
149
  return {
150
150
  ...a,
151
151
  series: a.series.map((o) => ({
152
152
  ...o,
153
- id: Q(),
153
+ id: K(),
154
154
  color: t
155
155
  })),
156
156
  seriesIndex: l,
157
157
  color: t,
158
- id: Q(),
158
+ id: K(),
159
159
  shape: a.shape || "circle"
160
160
  };
161
- })), Ae = y(() => A.value.map((a) => ({
161
+ })), Te = y(() => T.value.map((a) => ({
162
162
  ...a,
163
163
  opacity: w.value.includes(a.id) ? 0.5 : 1,
164
164
  segregate: () => ue(a.id),
165
165
  isSegregated: w.value.includes(a.id)
166
- }))), Te = y(() => ({
166
+ }))), ze = y(() => ({
167
167
  cy: "pcp-div-legend",
168
168
  backgroundColor: e.value.style.chart.legend.backgroundColor,
169
169
  color: e.value.style.chart.legend.color,
@@ -171,8 +171,8 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
171
171
  paddingBottom: 12,
172
172
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
173
173
  })), ie = y(() => Math.max(
174
- ...A.value.filter((a) => !w.value.includes(a.id)).map((a) => Math.max(...a.series.flatMap((l) => l.values.length)))
175
- )), k = y(() => v.value.width / ie.value), H = y(() => A.value.filter((a) => !w.value.includes(a.id))), p = y(() => {
174
+ ...T.value.filter((a) => !w.value.includes(a.id)).map((a) => Math.max(...a.series.flatMap((l) => l.values.length)))
175
+ )), k = y(() => v.value.width / ie.value), H = y(() => T.value.filter((a) => !w.value.includes(a.id))), p = y(() => {
176
176
  let a = [];
177
177
  for (let l = 0; l < ie.value; l += 1) {
178
178
  const t = Math.min(...H.value.flatMap((d) => d.series.map((B) => B.values[l] || 0) || 0)), o = Math.max(...H.value.flatMap((d) => d.series.map((B) => B.values[l] || 0) || 0)), n = o === t ? t / 4 : t, s = o === t ? o * 2 : o, r = Ue(n, s, e.value.style.chart.yAxis.scaleTicks), $ = r.ticks.map((d, B) => {
@@ -235,20 +235,20 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
235
235
  );
236
236
  }
237
237
  const h = f(null), Y = f(null), O = f(!1), q = f("");
238
- function J({ shape: a, serieName: l, serie: t, relativeIndex: o, seriesIndex: n }) {
239
- Y.value = { serie: t, relativeIndex: o, seriesIndex: n, series: A.value, scales: p.value }, O.value = !0, h.value = t.id;
238
+ function Q({ shape: a, serieName: l, serie: t, relativeIndex: o, seriesIndex: n }) {
239
+ Y.value = { serie: t, relativeIndex: o, seriesIndex: n, series: T.value, scales: p.value }, O.value = !0, h.value = t.id;
240
240
  let s = "";
241
241
  const r = e.value.style.chart.tooltip.customFormat;
242
242
  fe(r) && Ye(() => r({
243
243
  serie: t,
244
244
  seriesIndex: t.seriesIndex,
245
- series: A.value,
245
+ series: T.value,
246
246
  config: e.value,
247
247
  scales: p.value
248
248
  })) ? q.value = r({
249
249
  serie: t,
250
250
  seriesIndex: t.seriesIndex,
251
- series: A.value,
251
+ series: T.value,
252
252
  config: e.value,
253
253
  scales: p.value
254
254
  }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${t.name}</div>`, p.value.map(($) => $.name).forEach(($, d) => {
@@ -272,10 +272,10 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
272
272
  `, e.value.style.chart.comments.showInTooltip && t.datapoints[d].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.datapoints[d].comment}</div>`);
273
273
  }), q.value = `<div>${s}</div>`);
274
274
  }
275
- function ze() {
276
- return A.value;
275
+ function Ae() {
276
+ return T.value;
277
277
  }
278
- const N = y(() => {
278
+ const P = y(() => {
279
279
  const a = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(p.value.map((n) => n.name)), l = X.value.flatMap((n, s) => n.series.map((r) => [n.name].concat([r.name]).concat(r.values))), t = {
280
280
  th: {
281
281
  backgroundColor: e.value.table.th.backgroundColor,
@@ -296,12 +296,12 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
296
296
  colNames: o
297
297
  };
298
298
  }), ce = y(() => X.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
299
- head: N.value.head,
300
- body: N.value.body
299
+ head: P.value.head,
300
+ body: P.value.body
301
301
  });
302
302
  function ve() {
303
303
  const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ce.value.head, t = ce.value.body, o = a.concat([l]).concat(t), n = qe(o);
304
- Je({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
304
+ Qe({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
305
305
  }
306
306
  function Me(a) {
307
307
  Z("selectDatapoint", a);
@@ -323,7 +323,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
323
323
  m.value.showTooltip = !m.value.showTooltip;
324
324
  }
325
325
  return Ce({
326
- getData: ze,
326
+ getData: Ae,
327
327
  generateCsv: ve,
328
328
  generatePdf: se,
329
329
  generateImage: ne,
@@ -343,7 +343,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
343
343
  ref: te,
344
344
  style: _(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
345
345
  }, [
346
- K(Ze, {
346
+ J(Ze, {
347
347
  config: {
348
348
  title: {
349
349
  cy: "pcp-div-title",
@@ -361,8 +361,8 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
361
361
  key: `user_options_${ee.value}`,
362
362
  backgroundColor: e.value.style.chart.backgroundColor,
363
363
  color: e.value.style.chart.color,
364
- isPrinting: T(le),
365
- isImaging: T(oe),
364
+ isPrinting: z(le),
365
+ isImaging: z(oe),
366
366
  uid: G.value,
367
367
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
368
368
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -376,9 +376,9 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
376
376
  titles: { ...e.value.userOptions.buttonTitles },
377
377
  chartElement: L.value,
378
378
  onToggleFullscreen: $e,
379
- onGeneratePdf: T(se),
379
+ onGeneratePdf: z(se),
380
380
  onGenerateCsv: ve,
381
- onGenerateImage: T(ne),
381
+ onGenerateImage: z(ne),
382
382
  onToggleTable: he,
383
383
  onToggleLabels: pe,
384
384
  onToggleTooltip: me
@@ -428,12 +428,12 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
428
428
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
429
429
  F.value ? (u(), i("svg", {
430
430
  key: 2,
431
- xmlns: T(Xe),
431
+ xmlns: z(Xe),
432
432
  class: E({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
433
433
  viewBox: `0 0 ${v.value.chartWidth <= 0 ? 10 : v.value.chartWidth} ${v.value.chartHeight <= 0 ? 10 : v.value.chartHeight}`,
434
434
  style: _(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
435
435
  }, [
436
- (u(!0), i(C, null, z(p.value, (t, o) => (u(), i("g", vt, [
436
+ (u(!0), i(C, null, A(p.value, (t, o) => (u(), i("g", vt, [
437
437
  I("line", {
438
438
  x1: v.value.left + k.value * o + k.value / 2,
439
439
  x2: v.value.left + k.value * o + k.value / 2,
@@ -449,9 +449,9 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
449
449
  "font-size": c.value.axisNameFontSize,
450
450
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
451
451
  "text-anchor": "middle"
452
- }, P(t.name), 9, ht),
452
+ }, N(t.name), 9, ht),
453
453
  e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(C, { key: 0 }, [
454
- (u(!0), i(C, null, z(t.ticks, (n) => (u(), i("line", {
454
+ (u(!0), i(C, null, A(t.ticks, (n) => (u(), i("line", {
455
455
  x1: n.x,
456
456
  x2: n.x - 10,
457
457
  y1: n.y,
@@ -460,7 +460,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
460
460
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
461
461
  style: _(`opacity:${h.value && !m.value.showTooltip ? 0.2 : 1}`)
462
462
  }, null, 12, pt))), 256)),
463
- (u(!0), i(C, null, z(t.ticks, (n) => (u(), i("text", {
463
+ (u(!0), i(C, null, A(t.ticks, (n) => (u(), i("text", {
464
464
  x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
465
465
  y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
466
466
  fill: e.value.style.chart.yAxis.labels.ticks.color,
@@ -468,20 +468,20 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
468
468
  "font-size": c.value.ticksFontSize,
469
469
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
470
470
  style: _(`opacity:${h.value && !m.value.showTooltip ? 0.2 : 1}`)
471
- }, P(re({ value: n.value, index: o, datapoint: n })), 13, mt))), 256))
471
+ }, N(re({ value: n.value, index: o, datapoint: n })), 13, mt))), 256))
472
472
  ], 64)) : g("", !0)
473
473
  ]))), 256)),
474
- (u(!0), i(C, null, z(X.value, (t) => (u(), i("g", null, [
475
- (u(!0), i(C, null, z(t.series, (o, n) => (u(), i("g", null, [
474
+ (u(!0), i(C, null, A(X.value, (t) => (u(), i("g", null, [
475
+ (u(!0), i(C, null, A(t.series, (o, n) => (u(), i("g", null, [
476
476
  e.value.style.chart.plots.show ? (u(), i("g", yt, [
477
- (u(!0), i(C, null, z(o.datapoints, (s) => (u(), D(at, {
477
+ (u(!0), i(C, null, A(o.datapoints, (s) => (u(), D(at, {
478
478
  plot: { x: s.x, y: s.y },
479
479
  color: t.color,
480
480
  shape: t.shape,
481
481
  radius: t.shape === "triangle" ? c.value.plotSize * 1.2 : c.value.plotSize,
482
482
  stroke: e.value.style.chart.backgroundColor,
483
483
  strokeWidth: 0.5,
484
- onMouseenter: (r) => J({
484
+ onMouseenter: (r) => Q({
485
485
  shape: t.shape,
486
486
  serieName: t.name,
487
487
  serie: o,
@@ -503,9 +503,9 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
503
503
  "font-size": c.value.ticksFontSize,
504
504
  fill: t.color,
505
505
  "font-weight": "bold"
506
- }, P(o.name), 9, ft)) : g("", !0)
506
+ }, N(o.name), 9, ft)) : g("", !0)
507
507
  ], 64)),
508
- e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, z(o.datapoints, (s) => (u(), i("g", null, [
508
+ e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, A(o.datapoints, (s) => (u(), i("g", null, [
509
509
  s.comment ? (u(), i("foreignObject", {
510
510
  key: 0,
511
511
  style: { overflow: "visible" },
@@ -522,7 +522,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
522
522
  ], 8, gt)) : g("", !0)
523
523
  ]))), 256)) : g("", !0)
524
524
  ])) : g("", !0),
525
- m.value.dataLabels.show || h.value && h.value === o.id ? (u(!0), i(C, { key: 1 }, z(o.datapoints, (s, r) => (u(), i("text", {
525
+ m.value.dataLabels.show || h.value && h.value === o.id ? (u(!0), i(C, { key: 1 }, A(o.datapoints, (s, r) => (u(), i("text", {
526
526
  x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
527
527
  y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
528
528
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? t.color : e.value.style.chart.yAxis.labels.datapoints.color,
@@ -530,7 +530,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
530
530
  "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
531
531
  class: E({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
532
532
  "font-size": c.value.datapointFontSize,
533
- onMouseenter: ($) => J({
533
+ onMouseenter: ($) => Q({
534
534
  shape: t.shape,
535
535
  serieName: t.name,
536
536
  serie: o,
@@ -541,14 +541,14 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
541
541
  h.value = null, O.value = !1;
542
542
  }),
543
543
  style: _(`opacity:${h.value ? h.value === o.id ? 1 : 0.2 : 1}`)
544
- }, P(re({ value: s.value, index: r, datapoint: s })), 45, xt))), 256)) : g("", !0),
544
+ }, N(re({ value: s.value, index: r, datapoint: s })), 45, xt))), 256)) : g("", !0),
545
545
  I("path", {
546
546
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
547
547
  stroke: t.color,
548
548
  "stroke-width": e.value.style.chart.lines.strokeWidth,
549
549
  fill: "none",
550
550
  class: E({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
551
- onMouseenter: (s) => J({
551
+ onMouseenter: (s) => Q({
552
552
  shape: t.shape,
553
553
  serieName: t.name,
554
554
  serie: o,
@@ -565,7 +565,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
565
565
  x(a.$slots, "svg", { svg: v.value }, void 0, !0)
566
566
  ], 14, ct)) : g("", !0),
567
567
  a.$slots.watermark ? (u(), i("div", Ct, [
568
- x(a.$slots, "watermark", j(R({ isPrinting: T(le) || T(oe) })), void 0, !0)
568
+ x(a.$slots, "watermark", j(R({ isPrinting: z(le) || z(oe) })), void 0, !0)
569
569
  ])) : g("", !0),
570
570
  F.value ? g("", !0) : (u(), D(ut, {
571
571
  key: 4,
@@ -582,8 +582,8 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
582
582
  }, [
583
583
  e.value.style.chart.legend.show && F.value ? (u(), D(et, {
584
584
  key: 0,
585
- legendSet: Ae.value,
586
- config: Te.value,
585
+ legendSet: Te.value,
586
+ config: ze.value,
587
587
  onClickMarker: l[3] || (l[3] = ({ legend: t }) => {
588
588
  ue(t.id), de(t);
589
589
  })
@@ -594,15 +594,15 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
594
594
  t.segregate(), de(t);
595
595
  },
596
596
  style: _(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
597
- }, P(t.name), 13, wt)
597
+ }, N(t.name), 13, wt)
598
598
  ]),
599
599
  _: 1
600
600
  }, 8, ["legendSet", "config"])) : x(a.$slots, "legend", {
601
601
  key: 1,
602
- legend: A.value
602
+ legend: T.value
603
603
  }, void 0, !0)
604
604
  ], 512),
605
- K(tt, {
605
+ J(tt, {
606
606
  show: m.value.showTooltip && O.value,
607
607
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
608
608
  color: e.value.style.chart.tooltip.color,
@@ -615,7 +615,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
615
615
  offsetY: e.value.style.chart.tooltip.offsetY,
616
616
  parent: L.value,
617
617
  content: q.value,
618
- isCustom: T(fe)(e.value.style.chart.tooltip.customFormat)
618
+ isCustom: z(fe)(e.value.style.chart.tooltip.customFormat)
619
619
  }, {
620
620
  "tooltip-before": b(() => [
621
621
  x(a.$slots, "tooltip-before", j(R({ ...Y.value })), void 0, !0)
@@ -642,11 +642,11 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
642
642
  }
643
643
  }, {
644
644
  content: b(() => [
645
- K(st, {
646
- colNames: N.value.colNames,
647
- head: N.value.head,
648
- body: N.value.body,
649
- config: N.value.config,
645
+ J(st, {
646
+ colNames: P.value.colNames,
647
+ head: P.value.head,
648
+ body: P.value.body,
649
+ config: P.value.config,
650
650
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
651
651
  onClose: l[4] || (l[4] = (t) => m.value.showTable = !1)
652
652
  }, {
@@ -654,7 +654,7 @@ const rt = ["id"], ct = ["xmlns", "viewBox"], vt = { style: { "pointer-events":
654
654
  I("div", { innerHTML: t }, null, 8, $t)
655
655
  ]),
656
656
  td: b(({ td: t }) => [
657
- Se(P(t), 1)
657
+ Se(N(t), 1)
658
658
  ]),
659
659
  _: 1
660
660
  }, 8, ["colNames", "head", "body", "config", "title"])
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-nPEJmXmf.cjs"),K=require("./useResponsive-B3TrDDIG.cjs"),de=require("./Title-B_p983os.cjs"),ve=require("./Legend-ePmJ_YIA.cjs"),he=require("./Tooltip-C2dhDgoh.cjs"),pe=require("./Shape-DAe5uqIA.cjs"),Q=require("./usePrinter-D012Olnq.cjs"),me=require("./DataTable-B6xCb-DR.cjs"),ye=require("./vue-ui-accordion-CHL4xuW4.cjs"),fe=require("./vue-ui-skeleton-D6wHGzmu.cjs"),Z=require("./useNestedProp-TbnnNrH2.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),be=["id"],ke=["xmlns","viewBox"],xe={style:{"pointer-events":"none"}},Ce=["x1","x2","y1","y2","stroke","stroke-width"],we=["x","y","fill","font-size","font-weight"],Be=["x1","x2","y1","y2","stroke","stroke-width"],ze=["x","y","fill","font-size","font-weight"],$e={key:0},Se=["x","y","font-size","fill"],Ne=["width","x","y"],Te={style:{width:"100%"}},Fe=["x","y","fill","font-weight","font-size","onMouseenter"],_e=["d","stroke","stroke-width","onMouseenter"],Pe={key:3,class:"vue-data-ui-watermark"},Ae=["onClick"],Me=["innerHTML"],Le={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ee,{expose:te,emit:M}){const k=ee,{vue_ui_parallel_coordinate_plot:le}=i.useConfig(),x=e.computed({get(){return!!k.dataset&&k.dataset.length},set(a){return a}}),L=e.ref(0),w=e.ref(null),E=e.ref(null),I=e.ref(null),N=e.ref(i.createUid()),B=e.ref(!1);function ae(a){B.value=a,L.value+=1}const t=e.computed(()=>{const a=Z.useNestedProp({userConfig:k.config,defaultConfig:le});return a.theme?{...Z.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[a.theme]||k.config,defaultConfig:a}),customPalette:i.themePalettes[a.theme]||i.palette}:a}),$=e.ref(null);e.onMounted(()=>{if(i.objectIsEmpty(k.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):k.dataset.forEach((a,o)=>{i.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","series"]}).forEach(l=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:l,index:o})})}),t.value.responsive){const a=K.throttle(()=>{const{width:o,height:l}=K.useResponsive({chart:w.value,title:t.value.style.chart.title.text?E.value:null,legend:t.value.style.chart.legend.show?I.value:null});c.value.width=o,c.value.height=l,c.value.plotSize=i.translateSize({relator:Math.min(o,l),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),c.value.ticksFontSize=i.translateSize({relator:Math.min(o,l),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),c.value.datapointFontSize=i.translateSize({relator:Math.min(o,l),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),c.value.axisNameFontSize=i.translateSize({relator:Math.min(o,l),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})});$.value=new ResizeObserver(a),$.value.observe(w.value.parentNode)}}),e.onBeforeUnmount(()=>{$.value&&$.value.disconnect()});const{isPrinting:V,isImaging:D,generatePdf:O,generateImage:q}=Q.usePrinter({elementId:`pcp_${N.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),c=e.ref({height:t.value.style.chart.height,width:t.value.style.chart.width,plotSize:t.value.style.chart.plots.radius,ticksFontSize:t.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:t.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:t.value.style.chart.yAxis.labels.axisNamesFontSize}),d=e.computed(()=>{const{top:a,right:o,bottom:l,left:s}=t.value.style.chart.padding,r=c.value.height,n=c.value.width;return{chartHeight:r,chartWidth:n,height:r-a-l,width:n-s-o,top:a,left:s,right:n-o,bottom:r-l}}),oe=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),m=e.ref({dataLabels:{show:t.value.style.chart.yAxis.labels.datapoints.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),f=e.ref([]);function R(a){f.value.includes(a)?f.value=f.value.filter(o=>o!==a):f.value.push(a)}const b=e.computed(()=>k.dataset.map((a,o)=>{const l=i.convertColorToHex(a.color)||oe.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...a,series:a.series.map(s=>({...s,id:i.createUid(),color:l})),seriesIndex:o,color:l,id:i.createUid(),shape:a.shape||"circle"}})),se=e.computed(()=>b.value.map(a=>({...a,opacity:f.value.includes(a.id)?.5:1,segregate:()=>R(a.id),isSegregated:f.value.includes(a.id)}))),ne=e.computed(()=>({cy:"pcp-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),U=e.computed(()=>Math.max(...b.value.filter(a=>!f.value.includes(a.id)).map(a=>Math.max(...a.series.flatMap(o=>o.values.length))))),y=e.computed(()=>d.value.width/U.value),T=e.computed(()=>b.value.filter(a=>!f.value.includes(a.id))),p=e.computed(()=>{let a=[];for(let o=0;o<U.value;o+=1){const l=Math.min(...T.value.flatMap(v=>v.series.map(S=>S.values[o]||0)||0)),s=Math.max(...T.value.flatMap(v=>v.series.map(S=>S.values[o]||0)||0)),r=s===l?l/4:l,n=s===l?s*2:s,u=i.calculateNiceScale(r,n,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((v,S)=>{const ue=u.min<0?v+Math.abs(u.min):v-Math.abs(u.min),ce=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:d.value.bottom-d.value.height*(ue/ce),x:d.value.left+y.value*o+y.value/2,value:v}});a.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return a}),F=e.computed(()=>T.value.map((a,o)=>({...a,series:a.series.map((l,s)=>({...l,datapoints:l.values.map((r,n)=>{const u=p.value[n].scale.min<0?(r||0)+Math.abs(p.value[n].scale.min):(r||0)-Math.abs(p.value[n].scale.min),g=p.value[n].scale.min<0?p.value[n].scale.max+Math.abs(p.value[n].scale.min):p.value[n].scale.max-Math.abs(p.value[n].scale.min);return{name:l.name,seriesName:a.name,axisIndex:n,datapointIndex:s,seriesIndex:o,value:r||0,x:d.value.left+y.value*n+y.value/2,y:d.value.bottom-d.value.height*(u/g),comment:l.comments&&l.comments[n]||""}})}))})).map(a=>({...a,series:a.series.map(o=>{const l=i.createStraightPath(o.datapoints),s=i.createSmoothPath(o.datapoints,.12),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${s}`:`M ${l}`);return{...o,smoothPath:s,straightPath:l,pathLength:r}})})));function W({value:a,index:o,datapoint:l}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,a,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:a,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:l,seriesIndex:o})}const h=e.ref(null),_=e.ref(null),z=e.ref(!1),P=e.ref("");function A({shape:a,serieName:o,serie:l,relativeIndex:s,seriesIndex:r}){_.value={serie:l,relativeIndex:s,seriesIndex:r,series:b.value,scales:p.value},z.value=!0,h.value=l.id;let n="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:l,seriesIndex:l.seriesIndex,series:b.value,config:t.value,scales:p.value}))?P.value=u({serie:l,seriesIndex:l.seriesIndex,series:b.value,config:t.value,scales:p.value}):(n+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o?o+" - ":""}${l.name}</div>`,p.value.map(g=>g.name).forEach((g,v)=>{n+=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-NNZeHOBS.cjs"),K=require("./useResponsive-B3TrDDIG.cjs"),de=require("./Title-PZ6S96pU.cjs"),ve=require("./Legend-DuuSl2rJ.cjs"),he=require("./Tooltip-BoIYPSX3.cjs"),pe=require("./Shape-Dsx4SQVn.cjs"),Q=require("./usePrinter-BLbY8qGZ.cjs"),me=require("./DataTable-CSEiZDAb.cjs"),ye=require("./vue-ui-accordion-CcdyvXrp.cjs"),fe=require("./vue-ui-skeleton-CI4t8LHn.cjs"),Z=require("./useNestedProp-CPsbJAGj.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),be=["id"],ke=["xmlns","viewBox"],xe={style:{"pointer-events":"none"}},Ce=["x1","x2","y1","y2","stroke","stroke-width"],we=["x","y","fill","font-size","font-weight"],Be=["x1","x2","y1","y2","stroke","stroke-width"],ze=["x","y","fill","font-size","font-weight"],$e={key:0},Se=["x","y","font-size","fill"],Ne=["width","x","y"],Te={style:{width:"100%"}},Fe=["x","y","fill","font-weight","font-size","onMouseenter"],_e=["d","stroke","stroke-width","onMouseenter"],Pe={key:3,class:"vue-data-ui-watermark"},Ae=["onClick"],Me=["innerHTML"],Le={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ee,{expose:te,emit:M}){const k=ee,{vue_ui_parallel_coordinate_plot:le}=i.useConfig(),x=e.computed({get(){return!!k.dataset&&k.dataset.length},set(a){return a}}),L=e.ref(0),w=e.ref(null),E=e.ref(null),I=e.ref(null),N=e.ref(i.createUid()),B=e.ref(!1);function ae(a){B.value=a,L.value+=1}const t=e.computed(()=>{const a=Z.useNestedProp({userConfig:k.config,defaultConfig:le});return a.theme?{...Z.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[a.theme]||k.config,defaultConfig:a}),customPalette:i.themePalettes[a.theme]||i.palette}:a}),$=e.ref(null);e.onMounted(()=>{if(i.objectIsEmpty(k.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):k.dataset.forEach((a,o)=>{i.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","series"]}).forEach(l=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:l,index:o})})}),t.value.responsive){const a=K.throttle(()=>{const{width:o,height:l}=K.useResponsive({chart:w.value,title:t.value.style.chart.title.text?E.value:null,legend:t.value.style.chart.legend.show?I.value:null});c.value.width=o,c.value.height=l,c.value.plotSize=i.translateSize({relator:Math.min(o,l),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),c.value.ticksFontSize=i.translateSize({relator:Math.min(o,l),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),c.value.datapointFontSize=i.translateSize({relator:Math.min(o,l),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),c.value.axisNameFontSize=i.translateSize({relator:Math.min(o,l),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})});$.value=new ResizeObserver(a),$.value.observe(w.value.parentNode)}}),e.onBeforeUnmount(()=>{$.value&&$.value.disconnect()});const{isPrinting:V,isImaging:D,generatePdf:O,generateImage:q}=Q.usePrinter({elementId:`pcp_${N.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),c=e.ref({height:t.value.style.chart.height,width:t.value.style.chart.width,plotSize:t.value.style.chart.plots.radius,ticksFontSize:t.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:t.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:t.value.style.chart.yAxis.labels.axisNamesFontSize}),d=e.computed(()=>{const{top:a,right:o,bottom:l,left:s}=t.value.style.chart.padding,r=c.value.height,n=c.value.width;return{chartHeight:r,chartWidth:n,height:r-a-l,width:n-s-o,top:a,left:s,right:n-o,bottom:r-l}}),oe=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),m=e.ref({dataLabels:{show:t.value.style.chart.yAxis.labels.datapoints.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),f=e.ref([]);function R(a){f.value.includes(a)?f.value=f.value.filter(o=>o!==a):f.value.push(a)}const b=e.computed(()=>k.dataset.map((a,o)=>{const l=i.convertColorToHex(a.color)||oe.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...a,series:a.series.map(s=>({...s,id:i.createUid(),color:l})),seriesIndex:o,color:l,id:i.createUid(),shape:a.shape||"circle"}})),se=e.computed(()=>b.value.map(a=>({...a,opacity:f.value.includes(a.id)?.5:1,segregate:()=>R(a.id),isSegregated:f.value.includes(a.id)}))),ne=e.computed(()=>({cy:"pcp-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),U=e.computed(()=>Math.max(...b.value.filter(a=>!f.value.includes(a.id)).map(a=>Math.max(...a.series.flatMap(o=>o.values.length))))),y=e.computed(()=>d.value.width/U.value),T=e.computed(()=>b.value.filter(a=>!f.value.includes(a.id))),p=e.computed(()=>{let a=[];for(let o=0;o<U.value;o+=1){const l=Math.min(...T.value.flatMap(v=>v.series.map(S=>S.values[o]||0)||0)),s=Math.max(...T.value.flatMap(v=>v.series.map(S=>S.values[o]||0)||0)),r=s===l?l/4:l,n=s===l?s*2:s,u=i.calculateNiceScale(r,n,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((v,S)=>{const ue=u.min<0?v+Math.abs(u.min):v-Math.abs(u.min),ce=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:d.value.bottom-d.value.height*(ue/ce),x:d.value.left+y.value*o+y.value/2,value:v}});a.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return a}),F=e.computed(()=>T.value.map((a,o)=>({...a,series:a.series.map((l,s)=>({...l,datapoints:l.values.map((r,n)=>{const u=p.value[n].scale.min<0?(r||0)+Math.abs(p.value[n].scale.min):(r||0)-Math.abs(p.value[n].scale.min),g=p.value[n].scale.min<0?p.value[n].scale.max+Math.abs(p.value[n].scale.min):p.value[n].scale.max-Math.abs(p.value[n].scale.min);return{name:l.name,seriesName:a.name,axisIndex:n,datapointIndex:s,seriesIndex:o,value:r||0,x:d.value.left+y.value*n+y.value/2,y:d.value.bottom-d.value.height*(u/g),comment:l.comments&&l.comments[n]||""}})}))})).map(a=>({...a,series:a.series.map(o=>{const l=i.createStraightPath(o.datapoints),s=i.createSmoothPath(o.datapoints,.12),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${s}`:`M ${l}`);return{...o,smoothPath:s,straightPath:l,pathLength:r}})})));function W({value:a,index:o,datapoint:l}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,a,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:a,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:l,seriesIndex:o})}const h=e.ref(null),_=e.ref(null),z=e.ref(!1),P=e.ref("");function A({shape:a,serieName:o,serie:l,relativeIndex:s,seriesIndex:r}){_.value={serie:l,relativeIndex:s,seriesIndex:r,series:b.value,scales:p.value},z.value=!0,h.value=l.id;let n="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:l,seriesIndex:l.seriesIndex,series:b.value,config:t.value,scales:p.value}))?P.value=u({serie:l,seriesIndex:l.seriesIndex,series:b.value,config:t.value,scales:p.value}):(n+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o?o+" - ":""}${l.name}</div>`,p.value.map(g=>g.name).forEach((g,v)=>{n+=`
2
2
  <div class="vue-ui-tooltip-item" style="text-align:left">
3
3
  <span>${g}: </span>
4
4
  <span>
@@ -1,17 +1,17 @@
1
1
  import { computed as m, ref as h, onMounted as He, onBeforeUnmount as Oe, watch as Ie, openBlock as s, createElementBlock as i, normalizeClass as T, normalizeStyle as L, createVNode as ee, createCommentVNode as c, createBlock as U, unref as y, createSlots as De, withCtx as k, renderSlot as _, normalizeProps as te, guardReactiveProps as le, createElementVNode as v, Fragment as S, renderList as X, toDisplayString as x, createTextVNode as Ee, nextTick as Ue } from "vue";
2
- import { u as Ge, c as ze, t as Qe, a as Je, p as ie, o as je, e as R, b as Ze, v as ae, d as Ke, i as A, f as P, X as et, s as tt, P as lt, D as at, w as ut, x as ot, q as st, r as rt } from "./index-CwG--L4Z.js";
2
+ import { u as Ge, c as ze, t as Qe, a as Je, p as ie, o as je, e as R, b as Ze, w as ae, d as Ke, i as A, f as V, X as et, v as tt, R as lt, E as at, x as ut, y as ot, q as st, r as rt } from "./index-C_05i_JG.js";
3
3
  import { t as it, u as nt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as vt } from "./Title-BAQrVaNA.js";
5
- import { u as dt, U as ct } from "./usePrinter-Do9tGYem.js";
6
- import { _ as ht } from "./Tooltip-B73tTE2v.js";
7
- import { _ as Te } from "./Shape-BPcWPP9D.js";
8
- import { L as yt } from "./Legend-C3tseguI.js";
9
- import { D as bt } from "./DataTable-NUzEZXWt.js";
10
- import ft from "./vue-ui-skeleton-ClzVF3vm.js";
11
- import pt from "./vue-ui-accordion-Be_wWB1T.js";
12
- import { u as We } from "./useNestedProp-BqwYEJGM.js";
4
+ import { _ as vt } from "./Title-CPZstF2C.js";
5
+ import { u as dt, U as ct } from "./usePrinter-DOhlzlnx.js";
6
+ import { _ as ht } from "./Tooltip-CBmmiqKr.js";
7
+ import { _ as Te } from "./Shape-HfEpP-Tk.js";
8
+ import { L as yt } from "./Legend-UWyvC57K.js";
9
+ import { D as bt } from "./DataTable-BGJ2mVxG.js";
10
+ import ft from "./vue-ui-skeleton-CcJR2m18.js";
11
+ import pt from "./vue-ui-accordion-rGJVvi_V.js";
12
+ import { u as We } from "./useNestedProp-DLnT0Wtg.js";
13
13
  import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-color"], Lt = ["stop-color"], wt = { key: 0 }, qt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], _t = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], St = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ct = { key: 1 }, zt = ["points", "fill"], Tt = ["points", "fill"], Wt = ["points", "fill"], Xt = ["points", "fill"], Yt = { key: 2 }, Mt = ["y", "fill", "font-size"], Nt = ["x", "y", "fill", "font-size"], At = ["x", "y", "fill", "font-size"], Pt = ["y", "fill", "font-size"], Vt = { key: 3 }, Bt = ["x", "y", "font-size", "fill"], Rt = ["x", "y", "font-size", "fill"], Ft = ["x", "y", "font-size", "fill"], Ht = ["id", "font-size", "transform", "fill"], Ot = ["id", "font-size", "transform", "fill"], It = ["id", "font-size", "transform", "fill"], Dt = { key: 4 }, Et = ["fill", "points"], Ut = ["x", "y", "width", "height"], Gt = ["x", "y", "width", "height"], Qt = ["x", "y", "width", "height"], Jt = ["x", "y", "width", "height"], jt = { key: 0 }, Zt = ["x", "y", "font-size", "fill"], Kt = { key: 0 }, el = ["x", "y", "onMouseover", "onClick"], tl = {
14
+ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-color"], Lt = ["stop-color"], wt = { key: 0 }, qt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], _t = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], St = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ct = { key: 1 }, zt = ["points", "fill"], Tt = ["points", "fill"], Wt = ["points", "fill"], Xt = ["points", "fill"], Yt = { key: 2 }, Mt = ["y", "fill", "font-size"], Nt = ["x", "y", "fill", "font-size"], At = ["x", "y", "fill", "font-size"], Vt = ["y", "fill", "font-size"], Bt = { key: 3 }, Pt = ["x", "y", "font-size", "fill"], Rt = ["x", "y", "font-size", "fill"], Ft = ["x", "y", "font-size", "fill"], Ht = ["id", "font-size", "transform", "fill"], Ot = ["id", "font-size", "transform", "fill"], It = ["id", "font-size", "transform", "fill"], Dt = { key: 4 }, Et = ["fill", "points"], Ut = ["x", "y", "width", "height"], Gt = ["x", "y", "width", "height"], Qt = ["x", "y", "width", "height"], Jt = ["x", "y", "width", "height"], jt = { key: 0 }, Zt = ["x", "y", "font-size", "fill"], Kt = { key: 0 }, el = ["x", "y", "onMouseover", "onClick"], tl = {
15
15
  key: 7,
16
16
  class: "vue-ui-dna"
17
17
  }, ll = ["points", "fill"], al = ["points", "fill"], ul = ["points", "fill"], ol = ["points", "fill"], sl = { key: 8 }, rl = ["x", "y", "font-size", "fill", "font-weight"], il = { key: 9 }, nl = ["x", "y", "fill"], vl = ["x", "y", "fill"], dl = ["x", "y", "fill"], cl = ["x", "y", "fill"], hl = ["stroke", "d"], yl = ["stroke", "d"], bl = {
@@ -124,7 +124,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
124
124
  startY: 0
125
125
  });
126
126
  }, { deep: !0 });
127
- const n = h(null), V = m(() => {
127
+ const n = h(null), B = m(() => {
128
128
  switch (n.value) {
129
129
  case "TL":
130
130
  return {
@@ -234,7 +234,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
234
234
  p.value = !0;
235
235
  }
236
236
  }
237
- const Pe = m(() => {
237
+ const Ve = m(() => {
238
238
  const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
239
239
  for (let r = 0; r < l; r += 1)
240
240
  o.push({
@@ -247,7 +247,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
247
247
  return o;
248
248
  }), q = m(() => {
249
249
  let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max, o = t.value.style.chart.layout.grid.yAxis.min;
250
- return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...B.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...B.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...B.value.flatMap((r) => r.series.map((b) => b.y))), o = Math.min(...B.value.flatMap((r) => r.series.map((b) => b.y)))), {
250
+ return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...P.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...P.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...P.value.flatMap((r) => r.series.map((b) => b.y))), o = Math.min(...P.value.flatMap((r) => r.series.map((b) => b.y)))), {
251
251
  x: {
252
252
  max: l,
253
253
  min: u
@@ -257,11 +257,11 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
257
257
  min: o
258
258
  }
259
259
  };
260
- }), N = h([]), B = m(() => Y.dataset.map((l, u) => ({
260
+ }), N = h([]), P = m(() => Y.dataset.map((l, u) => ({
261
261
  ...l,
262
262
  id: `cat_${u}_${z.value}`,
263
263
  color: Ke(l.color) || fe.value[u] || ie[u]
264
- }))), Ve = m(() => B.value.filter((l) => !N.value.includes(l.id))), Be = m(() => B.value.map((l, u) => ({
264
+ }))), Be = m(() => P.value.filter((l) => !N.value.includes(l.id))), Pe = m(() => P.value.map((l, u) => ({
265
265
  ...l,
266
266
  shape: l.shape || "circle",
267
267
  series: l.series.map((a) => ({
@@ -291,7 +291,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
291
291
  index: o
292
292
  });
293
293
  });
294
- }), Ve.value.map((l, u) => ({
294
+ }), Be.value.map((l, u) => ({
295
295
  ...l,
296
296
  shape: l.shape || "circle",
297
297
  color: l.color || fe.value[u] || ie[u],
@@ -352,7 +352,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
352
352
  A(
353
353
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
354
354
  o.x,
355
- P({
355
+ V({
356
356
  v: o.x,
357
357
  r: t.value.style.chart.layout.labels.plotLabels.rounding
358
358
  })
@@ -360,7 +360,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
360
360
  A(
361
361
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
362
362
  o.y,
363
- P({
363
+ V({
364
364
  v: o.y,
365
365
  r: t.value.style.chart.layout.labels.plotLabels.rounding
366
366
  })
@@ -386,7 +386,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
386
386
  const u = Le();
387
387
  ue("selectLegend", u);
388
388
  }
389
- const me = m(() => Be.value.map((l) => ({
389
+ const me = m(() => Pe.value.map((l) => ({
390
390
  name: l.name,
391
391
  shape: l.shape,
392
392
  color: l.color,
@@ -445,7 +445,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
445
445
  u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${A(
446
446
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
447
447
  u.xValue,
448
- P({
448
+ V({
449
449
  v: u.xValue,
450
450
  r: t.value.style.chart.tooltip.roundingValue
451
451
  }),
@@ -453,7 +453,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
453
453
  )}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${A(
454
454
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
455
455
  u.yValue,
456
- P({
456
+ V({
457
457
  v: u.yValue,
458
458
  r: t.value.style.chart.tooltip.roundingValue
459
459
  }),
@@ -766,7 +766,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
766
766
  ], 8, $t))), 256))
767
767
  ]),
768
768
  t.value.style.chart.layout.grid.graduations.show ? (s(), i("g", wt, [
769
- (s(!0), i(S, null, X(Pe.value, (a) => (s(), i("rect", {
769
+ (s(!0), i(S, null, X(Ve.value, (a) => (s(), i("rect", {
770
770
  fill: t.value.style.chart.layout.grid.graduations.fill ? `${t.value.style.chart.layout.grid.graduations.color}${a.opacity}` : "none",
771
771
  x: a.x,
772
772
  y: a.y,
@@ -855,9 +855,9 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
855
855
  "font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
856
856
  style: L(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
857
857
  onClick: u[3] || (u[3] = (a) => D("bl"))
858
- }, x(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Pt)) : c("", !0)
858
+ }, x(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Vt)) : c("", !0)
859
859
  ])) : c("", !0),
860
- t.value.style.chart.layout.labels.axisLabels.show ? (s(), i("g", Vt, [
860
+ t.value.style.chart.layout.labels.axisLabels.show ? (s(), i("g", Bt, [
861
861
  v("text", {
862
862
  x: e.value.centerX,
863
863
  y: e.value.top - e.value.padding / 6,
@@ -867,11 +867,11 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
867
867
  }, x(y(A)(
868
868
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
869
869
  q.value.y.max,
870
- y(P)({
870
+ y(V)({
871
871
  v: q.value.y.max,
872
872
  r: t.value.style.chart.layout.labels.plotLabels.rounding
873
873
  })
874
- )), 9, Bt),
874
+ )), 9, Pt),
875
875
  v("text", {
876
876
  x: e.value.centerX,
877
877
  y: e.value.top - e.value.padding / 2,
@@ -888,7 +888,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
888
888
  }, x(y(A)(
889
889
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
890
890
  q.value.y.min,
891
- y(P)({
891
+ y(V)({
892
892
  v: q.value.y.min,
893
893
  r: t.value.style.chart.layout.labels.plotLabels.rounding
894
894
  })
@@ -902,7 +902,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
902
902
  }, x(y(A)(
903
903
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
904
904
  q.value.x.min,
905
- y(P)({
905
+ y(V)({
906
906
  v: q.value.x.min,
907
907
  r: t.value.style.chart.layout.labels.plotLabels.rounding
908
908
  })
@@ -916,7 +916,7 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
916
916
  }, x(y(A)(
917
917
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
918
918
  q.value.x.max,
919
- y(P)({
919
+ y(V)({
920
920
  v: q.value.x.max,
921
921
  r: t.value.style.chart.layout.labels.plotLabels.rounding
922
922
  })
@@ -1055,13 +1055,13 @@ const mt = ["id"], xt = ["xmlns", "viewBox", "id"], $t = ["id"], kt = ["stop-col
1055
1055
  ])) : c("", !0),
1056
1056
  n.value && !j.value ? (s(), i("g", sl, [
1057
1057
  v("text", {
1058
- x: V.value.x,
1059
- y: V.value.y - V.value.fontSize / 1.5,
1060
- "font-size": V.value.fontSize / 1.5,
1061
- fill: V.value.fill,
1058
+ x: B.value.x,
1059
+ y: B.value.y - B.value.fontSize / 1.5,
1060
+ "font-size": B.value.fontSize / 1.5,
1061
+ fill: B.value.fill,
1062
1062
  "text-anchor": "middle",
1063
- "font-weight": V.value.bold ? "bold" : "normal"
1064
- }, x(V.value.text), 9, rl)
1063
+ "font-weight": B.value.bold ? "bold" : "normal"
1064
+ }, x(B.value.text), 9, rl)
1065
1065
  ])) : c("", !0),
1066
1066
  p.value && n.value ? (s(), i("g", il, [
1067
1067
  v("rect", {