vue-data-ui 2.4.88 → 2.4.89

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 (154) hide show
  1. package/dist/{Arrow-DMSM0MM1.cjs → Arrow-CbP9kLxJ.cjs} +1 -1
  2. package/dist/{Arrow-D79KA6Cu.js → Arrow-CuAfInZx.js} +1 -1
  3. package/dist/{BaseIcon-B9BZgZsa.js → BaseIcon-BpNWrQFd.js} +1 -1
  4. package/dist/{BaseIcon-CehmAXJH.cjs → BaseIcon-C8eZuK3O.cjs} +1 -1
  5. package/dist/{DataTable-Cnr3w23K.js → DataTable-CBJXWv2y.js} +2 -2
  6. package/dist/{DataTable-DVKGDaCB.cjs → DataTable-D-lEfCvI.cjs} +1 -1
  7. package/dist/{Legend-Uv0t6PIz.cjs → Legend-BHqhIxpn.cjs} +1 -1
  8. package/dist/{Legend-Di7FMl12.js → Legend-BSpbp1BZ.js} +2 -2
  9. package/dist/{PackageVersion-BAKTtSRE.js → PackageVersion-DtBpSOiQ.js} +1 -1
  10. package/dist/{PackageVersion-BgKxrHv-.cjs → PackageVersion-fh_T3pry.cjs} +1 -1
  11. package/dist/{PenAndPaper-BUzmu0vi.js → PenAndPaper-B2XkoPXE.js} +3 -3
  12. package/dist/{PenAndPaper-BYVZ33fz.cjs → PenAndPaper-JJPSlM7l.cjs} +1 -1
  13. package/dist/{Shape-DZz__S1P.js → Shape-BOPYNx7w.js} +1 -1
  14. package/dist/{Shape-CNuTafzS.cjs → Shape-Do_AzV1G.cjs} +1 -1
  15. package/dist/{Slicer-Clpv-EOL.js → Slicer-ChE3bif9.js} +15 -15
  16. package/dist/{Slicer-BSQa-Zel.cjs → Slicer-Ztz1Ij0w.cjs} +1 -1
  17. package/dist/{Title-DcTKT_WK.cjs → Title-0PbYWvbk.cjs} +1 -1
  18. package/dist/{Title-Dt5mC-vb.js → Title-ccoiJ0mq.js} +1 -1
  19. package/dist/{Tooltip-CmKYX0H1.js → Tooltip-DvT_JgqK.js} +1 -1
  20. package/dist/{Tooltip-y6Z9yhlE.cjs → Tooltip-yfpr967Z.cjs} +1 -1
  21. package/dist/{index-DCHLGNvJ.js → index-CbMgQMOZ.js} +65 -53
  22. package/dist/index-DHTOdsmm.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +6 -0
  25. package/dist/types/vue-data-ui.d.ts +6 -0
  26. package/dist/{useNestedProp-LNEDZsGq.cjs → useNestedProp-BbHX6tgE.cjs} +1 -1
  27. package/dist/{useNestedProp-BPR7xHxr.js → useNestedProp-vYrmxXEi.js} +1 -1
  28. package/dist/{usePrinter-CjQvMB0_.cjs → usePrinter-CCvLCahd.cjs} +1 -1
  29. package/dist/{usePrinter-BvounINk.js → usePrinter-sMoxYV4s.js} +1 -1
  30. package/dist/{vue-data-ui-eNIOCbja.cjs → vue-data-ui-B4yl-5k7.cjs} +1 -1
  31. package/dist/{vue-data-ui-BCZFdeNf.js → vue-data-ui-cjdjZcIN.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-B0ZLxzL-.js → vue-ui-3d-bar-BCUFEN3E.js} +9 -9
  35. package/dist/{vue-ui-3d-bar-DEZhX6d1.cjs → vue-ui-3d-bar-BIxPk-3O.cjs} +1 -1
  36. package/dist/{vue-ui-accordion-2c1jq56U.cjs → vue-ui-accordion-D0YEkQP_.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-DEpeQHhr.js → vue-ui-accordion-DXPXhPPW.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-dewoEG3y.js → vue-ui-age-pyramid-Bu2gLwi_.js} +10 -10
  39. package/dist/{vue-ui-age-pyramid-DlE41fIs.cjs → vue-ui-age-pyramid-JUp6_DQU.cjs} +1 -1
  40. package/dist/{vue-ui-annotator-CG6CV-7_.cjs → vue-ui-annotator-np4TLsbB.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-D9op3RMK.js → vue-ui-annotator-rRlHgjug.js} +1 -1
  42. package/dist/{vue-ui-bullet-B6tijZFI.js → vue-ui-bullet-BG4ZoJWg.js} +8 -8
  43. package/dist/{vue-ui-bullet-Bt_2KhaH.cjs → vue-ui-bullet-DuPHT9m_.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-B4DkRibE.js → vue-ui-candlestick-Bs_FB1xf.js} +11 -11
  45. package/dist/{vue-ui-candlestick-DWDz2nFA.cjs → vue-ui-candlestick-zm-vNhJF.cjs} +1 -1
  46. package/dist/{vue-ui-carousel-table-DZlh-CRi.cjs → vue-ui-carousel-table-CVlt3x_V.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-COAPDtuP.js → vue-ui-carousel-table-D73qjY94.js} +4 -4
  48. package/dist/{vue-ui-chestnut-DCk2Zbcz.js → vue-ui-chestnut-BKka1suh.js} +8 -8
  49. package/dist/{vue-ui-chestnut-EyoKonrW.cjs → vue-ui-chestnut-BZ7WKn-P.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-DR8hHWf7.cjs → vue-ui-cursor-BvDKJ-EE.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-DSP_sXww.js → vue-ui-cursor-CKQ7lIEU.js} +2 -2
  52. package/dist/{vue-ui-dashboard-BizVZE7w.js → vue-ui-dashboard-CLDULZmZ.js} +2 -2
  53. package/dist/{vue-ui-dashboard-BJsyMU6X.cjs → vue-ui-dashboard-CU18bFKg.cjs} +1 -1
  54. package/dist/{vue-ui-digits-vspu86yU.cjs → vue-ui-digits-ZsDxljaT.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BvVZ7uDf.js → vue-ui-digits-_Q3BPnPQ.js} +2 -2
  56. package/dist/{vue-ui-donut-BHJF4z2B.cjs → vue-ui-donut-BTLM3pc-.cjs} +1 -1
  57. package/dist/{vue-ui-donut-evolution-DwVP-Zjn.cjs → vue-ui-donut-evolution-B9b0VDlt.cjs} +1 -1
  58. package/dist/{vue-ui-donut-evolution-BfS2WdBU.js → vue-ui-donut-evolution-DeaRL3Qp.js} +11 -11
  59. package/dist/{vue-ui-donut-aFsq1d8c.js → vue-ui-donut-uSvi7mes.js} +12 -12
  60. package/dist/{vue-ui-dumbbell-Bi-2LGtG.cjs → vue-ui-dumbbell-D0-fNbuR.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-Bb5wHbQL.js → vue-ui-dumbbell-DxOC8F_T.js} +10 -10
  62. package/dist/{vue-ui-flow-RQWHqn22.cjs → vue-ui-flow-CVX1Booa.cjs} +1 -1
  63. package/dist/{vue-ui-flow-DxNNh-WO.js → vue-ui-flow-Cli1Nia2.js} +9 -9
  64. package/dist/{vue-ui-funnel-D-892HTK.cjs → vue-ui-funnel-CkrA8ZGZ.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-IVTzcHVm.js → vue-ui-funnel-DUSetrwZ.js} +9 -9
  66. package/dist/{vue-ui-galaxy-039pCZpW.js → vue-ui-galaxy-B6chdxw9.js} +11 -11
  67. package/dist/{vue-ui-galaxy-BR-8c9Hn.cjs → vue-ui-galaxy-XLY4fBs_.cjs} +1 -1
  68. package/dist/{vue-ui-gauge-ZEMVvV-t.js → vue-ui-gauge-BWsStiRt.js} +208 -191
  69. package/dist/vue-ui-gauge-DKv2V1ZR.cjs +1 -0
  70. package/dist/{vue-ui-gizmo-DKzAWnI0.js → vue-ui-gizmo-BwPZP3S1.js} +3 -3
  71. package/dist/{vue-ui-gizmo--XG8-JLk.cjs → vue-ui-gizmo-CIZXKQaP.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-DXDpQL6T.js → vue-ui-heatmap-DPO0-7Kr.js} +10 -10
  73. package/dist/{vue-ui-heatmap-Bia0Ekaw.cjs → vue-ui-heatmap-DpZM0Il7.cjs} +1 -1
  74. package/dist/{vue-ui-history-plot-o1WosOjA.js → vue-ui-history-plot-Bn1Pt_Ti.js} +11 -11
  75. package/dist/{vue-ui-history-plot-Cq9ZWdDn.cjs → vue-ui-history-plot-DyTTxsEC.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-B01FpRQ0.js → vue-ui-kpi-BbeBozJ_.js} +3 -3
  77. package/dist/{vue-ui-kpi-lWq7fZr1.cjs → vue-ui-kpi-DyI2-86Q.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-DLUYnvwS.js → vue-ui-mini-loader-BbXkCdaA.js} +2 -2
  79. package/dist/{vue-ui-mini-loader-jkxJpHFv.cjs → vue-ui-mini-loader-DkkBYJla.cjs} +1 -1
  80. package/dist/{vue-ui-molecule-BBK9ofPv.cjs → vue-ui-molecule-CVg3G3jq.cjs} +1 -1
  81. package/dist/{vue-ui-molecule-DyiuRZQM.js → vue-ui-molecule-b4smncqZ.js} +11 -11
  82. package/dist/{vue-ui-mood-radar-DJI_fbFv.js → vue-ui-mood-radar-BdT3nuEz.js} +24 -24
  83. package/dist/{vue-ui-mood-radar-Bx32tbYB.cjs → vue-ui-mood-radar-bRCa4Y3L.cjs} +1 -1
  84. package/dist/{vue-ui-nested-donuts-B9gUqMTf.js → vue-ui-nested-donuts-DttOstux.js} +11 -11
  85. package/dist/{vue-ui-nested-donuts-B6ZLkoIS.cjs → vue-ui-nested-donuts-ko1-nRO2.cjs} +1 -1
  86. package/dist/{vue-ui-onion-BnLW3as9.cjs → vue-ui-onion-CFjFt2g0.cjs} +1 -1
  87. package/dist/{vue-ui-onion-D-OxG00N.js → vue-ui-onion-TYSsqogk.js} +11 -11
  88. package/dist/{vue-ui-parallel-coordinate-plot-DXc-b6rP.js → vue-ui-parallel-coordinate-plot-CAqhUHot.js} +26 -26
  89. package/dist/{vue-ui-parallel-coordinate-plot-wx4e_yuu.cjs → vue-ui-parallel-coordinate-plot-DzBoNAa1.cjs} +1 -1
  90. package/dist/{vue-ui-quadrant-bakb0497.js → vue-ui-quadrant-BQH_Xifg.js} +36 -36
  91. package/dist/{vue-ui-quadrant-BqaLRYQp.cjs → vue-ui-quadrant-Cx1wlTvP.cjs} +1 -1
  92. package/dist/{vue-ui-quick-chart-BZdsiGCz.cjs → vue-ui-quick-chart-Bz-nNd-y.cjs} +1 -1
  93. package/dist/{vue-ui-quick-chart-BnH7-lmq.js → vue-ui-quick-chart-CULnpCgG.js} +9 -9
  94. package/dist/{vue-ui-radar-DadvgLtC.js → vue-ui-radar-Cx-rxEMq.js} +26 -26
  95. package/dist/{vue-ui-radar-D5IDgzwd.cjs → vue-ui-radar-gWd0pEpW.cjs} +1 -1
  96. package/dist/{vue-ui-rating-B4yxkddt.cjs → vue-ui-rating-BKQNJZ0P.cjs} +1 -1
  97. package/dist/{vue-ui-rating-CGojWinU.js → vue-ui-rating-F9PTlU7Q.js} +5 -5
  98. package/dist/{vue-ui-relation-circle-rmWirv-5.cjs → vue-ui-relation-circle-B3PfO20q.cjs} +1 -1
  99. package/dist/{vue-ui-relation-circle-COC07h_K.js → vue-ui-relation-circle-DegxFhlA.js} +7 -7
  100. package/dist/{vue-ui-rings-DO1cN4ly.cjs → vue-ui-rings-B18Wqo7x.cjs} +1 -1
  101. package/dist/{vue-ui-rings-CMk-sVvK.js → vue-ui-rings-fJvO6eX_.js} +12 -12
  102. package/dist/{vue-ui-scatter-C4QmHmq2.cjs → vue-ui-scatter-ZJO-zIjS.cjs} +1 -1
  103. package/dist/{vue-ui-scatter-CPkly4JA.js → vue-ui-scatter-nVMhmeVK.js} +102 -102
  104. package/dist/{vue-ui-screenshot-BxFOMLiy.cjs → vue-ui-screenshot-CL_BGDeM.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-CzFhpFE4.js → vue-ui-screenshot-DsGxjAas.js} +1 -1
  106. package/dist/{vue-ui-skeleton-Tse1D8cv.cjs → vue-ui-skeleton-BZDfN8kq.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-nTL-u4Yd.js → vue-ui-skeleton-odlG21I6.js} +3 -3
  108. package/dist/{vue-ui-smiley-Bu3bOukI.js → vue-ui-smiley-CcM-XG7o.js} +2 -2
  109. package/dist/{vue-ui-smiley-D-sS-77y.cjs → vue-ui-smiley-DjCnF05n.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-CF36oite.cjs → vue-ui-spark-trend-B3wvoHdy.cjs} +1 -1
  111. package/dist/{vue-ui-spark-trend-Bh5gFFQf.js → vue-ui-spark-trend-DbfmJnyG.js} +15 -15
  112. package/dist/{vue-ui-sparkbar-DX2xrwR9.js → vue-ui-sparkbar-DkwgnqvW.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-CGIYeFjB.cjs → vue-ui-sparkbar-Unem3qlf.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-D2NJVKww.cjs → vue-ui-sparkgauge-1oonX7Pt.cjs} +1 -1
  115. package/dist/{vue-ui-sparkgauge-CZ837K-0.js → vue-ui-sparkgauge-CFNCtwjD.js} +4 -4
  116. package/dist/{vue-ui-sparkhistogram-2NcpXt-_.js → vue-ui-sparkhistogram-BDq3T-6n.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-DIYvXyIB.cjs → vue-ui-sparkhistogram-C2FOzWbO.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-BIj5WMUM.cjs → vue-ui-sparkline-BXCPWLbx.cjs} +1 -1
  119. package/dist/{vue-ui-sparkline-CuBFi324.js → vue-ui-sparkline-CDGqFfbA.js} +23 -23
  120. package/dist/{vue-ui-sparkstackbar-bqD9-qmQ.js → vue-ui-sparkstackbar-BGDxXx1H.js} +5 -5
  121. package/dist/{vue-ui-sparkstackbar-BvcGQqmi.cjs → vue-ui-sparkstackbar-Crr9O93o.cjs} +1 -1
  122. package/dist/{vue-ui-stackbar-BG0olJr0.js → vue-ui-stackbar-CXVJgWTO.js} +13 -13
  123. package/dist/{vue-ui-stackbar-Cbk-PfOC.cjs → vue-ui-stackbar-YULKQ4Q2.cjs} +1 -1
  124. package/dist/{vue-ui-strip-plot-mNsmytzE.js → vue-ui-strip-plot-D-_BcZGB.js} +11 -11
  125. package/dist/{vue-ui-strip-plot-Dm2ctnIx.cjs → vue-ui-strip-plot-D2tY6IaY.cjs} +1 -1
  126. package/dist/{vue-ui-table-C8_8TJ2H.js → vue-ui-table-BKMfZhPB.js} +1 -1
  127. package/dist/{vue-ui-table-BwuSG-oE.cjs → vue-ui-table-DCR-izqY.cjs} +1 -1
  128. package/dist/{vue-ui-table-heatmap-ZfohVD71.cjs → vue-ui-table-heatmap-BQk6Gd_E.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-Bakns13v.js → vue-ui-table-heatmap-BYnl_vUh.js} +15 -15
  130. package/dist/{vue-ui-table-sparkline-Du93NBKM.js → vue-ui-table-sparkline-C1Xx-B2E.js} +5 -5
  131. package/dist/{vue-ui-table-sparkline-CC5hpyGe.cjs → vue-ui-table-sparkline-Fk2HnXUF.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-DZeTxVGM.js → vue-ui-thermometer-Ba5L3NM-.js} +7 -7
  133. package/dist/{vue-ui-thermometer-Cbe7bVeq.cjs → vue-ui-thermometer-CUa9blx-.cjs} +1 -1
  134. package/dist/{vue-ui-timer-B-guKc3A.cjs → vue-ui-timer-BLM1ZnqH.cjs} +1 -1
  135. package/dist/{vue-ui-timer-BwNbaMti.js → vue-ui-timer-CrJJnZKN.js} +5 -5
  136. package/dist/{vue-ui-tiremarks-sCXXGXiN.js → vue-ui-tiremarks-C0FaGxaE.js} +7 -7
  137. package/dist/{vue-ui-tiremarks-DNtBCjbs.cjs → vue-ui-tiremarks-C0ic3lVR.cjs} +1 -1
  138. package/dist/{vue-ui-treemap-CH_qGgmb.cjs → vue-ui-treemap-C7lv9JcH.cjs} +1 -1
  139. package/dist/{vue-ui-treemap-BQoajav9.js → vue-ui-treemap-DUUBok0Z.js} +11 -11
  140. package/dist/{vue-ui-vertical-bar-LWxKcXEf.js → vue-ui-vertical-bar-DGSL6lGQ.js} +12 -12
  141. package/dist/{vue-ui-vertical-bar-ytpJJBqm.cjs → vue-ui-vertical-bar-qY3NE5sf.cjs} +1 -1
  142. package/dist/{vue-ui-waffle-q-CgTerF.js → vue-ui-waffle-DeDjMqj4.js} +12 -12
  143. package/dist/{vue-ui-waffle-CvHppO8v.cjs → vue-ui-waffle-lANO8NSp.cjs} +1 -1
  144. package/dist/{vue-ui-wheel-CPHOwOzy.js → vue-ui-wheel-D2pWanO3.js} +7 -7
  145. package/dist/{vue-ui-wheel-BoXkxGeh.cjs → vue-ui-wheel-yw94VIYd.cjs} +1 -1
  146. package/dist/{vue-ui-word-cloud-DFL3e0A2.cjs → vue-ui-word-cloud-BQuOLoHD.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-BargS03s.js → vue-ui-word-cloud-DDubuSNu.js} +10 -10
  148. package/dist/{vue-ui-xy-CgIp7caN.cjs → vue-ui-xy-BKEjcTkg.cjs} +1 -1
  149. package/dist/{vue-ui-xy-DC5y2PjZ.js → vue-ui-xy-DvaJ_oyE.js} +28 -28
  150. package/dist/{vue-ui-xy-canvas-D1jemBXQ.cjs → vue-ui-xy-canvas-CgzTusyc.cjs} +1 -1
  151. package/dist/{vue-ui-xy-canvas-B4mqwnlS.js → vue-ui-xy-canvas-DpTDw8Rv.js} +11 -11
  152. package/package.json +1 -1
  153. package/dist/index-xEXHnOtJ.cjs +0 -9
  154. package/dist/vue-ui-gauge-B4k-bq9l.cjs +0 -1
@@ -1,17 +1,17 @@
1
1
  import { computed as g, ref as v, watch as He, onMounted as Ge, onBeforeUnmount as Xe, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as T, unref as x, createBlock as z, createCommentVNode as m, createSlots as Ye, withCtx as k, renderSlot as b, normalizeProps as W, guardReactiveProps as E, createVNode as _e, Fragment as C, renderList as F, createElementVNode as I, toDisplayString as D, createTextVNode as qe } from "vue";
2
- import { u as Qe, c as ee, t as Je, a as Ke, p as H, o as Ze, e as Me, g as et, b as tt, d as at, D as lt, Q as ot, R as st, S as nt, X as ut, x as ze, i as Fe, f as Ie, y as it, q as rt, r as ct, F as G } from "./index-DCHLGNvJ.js";
2
+ import { u as Je, c as ee, t as Ke, a as Qe, p as H, o as Ze, e as Me, g as et, b as tt, d as at, D as lt, R as ot, S as st, T as nt, X as ut, x as ze, i as Fe, f as Ie, y as it, q as rt, r as ct, F as G } from "./index-CbMgQMOZ.js";
3
3
  import { t as vt, u as dt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as ht } from "./Title-Dt5mC-vb.js";
5
- import { L as pt } from "./Legend-Di7FMl12.js";
6
- import { _ as mt } from "./Tooltip-CmKYX0H1.js";
7
- import { _ as yt } from "./Shape-DZz__S1P.js";
8
- import { u as ft, U as gt } from "./usePrinter-BvounINk.js";
9
- import { D as bt } from "./DataTable-Cnr3w23K.js";
10
- import xt from "./vue-ui-accordion-DEpeQHhr.js";
11
- import kt from "./vue-ui-skeleton-nTL-u4Yd.js";
12
- import { u as Pe } from "./useNestedProp-BPR7xHxr.js";
13
- import { _ as wt } from "./PackageVersion-BAKTtSRE.js";
14
- import { P as Ct } from "./PenAndPaper-BUzmu0vi.js";
4
+ import { _ as ht } from "./Title-ccoiJ0mq.js";
5
+ import { L as pt } from "./Legend-BSpbp1BZ.js";
6
+ import { _ as mt } from "./Tooltip-DvT_JgqK.js";
7
+ import { _ as yt } from "./Shape-BOPYNx7w.js";
8
+ import { u as ft, U as gt } from "./usePrinter-sMoxYV4s.js";
9
+ import { D as bt } from "./DataTable-CBJXWv2y.js";
10
+ import xt from "./vue-ui-accordion-DXPXhPPW.js";
11
+ import kt from "./vue-ui-skeleton-odlG21I6.js";
12
+ import { u as Pe } from "./useNestedProp-vYrmxXEi.js";
13
+ import { _ as wt } from "./PackageVersion-DtBpSOiQ.js";
14
+ import { P as Ct } from "./PenAndPaper-B2XkoPXE.js";
15
15
  import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
16
16
  import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"], zt = { style: { "pointer-events": "none" } }, Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x", "y", "fill", "font-size", "font-weight"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "fill", "font-size", "font-weight"], Lt = { key: 0 }, St = ["x", "y", "font-size", "fill"], Ot = ["width", "x", "y"], Dt = { style: { width: "100%" } }, Ut = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Wt = ["d", "stroke", "stroke-width", "onMouseenter"], Et = ["d", "onMouseenter"], Vt = {
@@ -35,7 +35,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
35
35
  },
36
36
  emits: ["selectLegend", "selectDatapoint"],
37
37
  setup(Ne, { expose: Le, emit: te }) {
38
- const _ = Ne, { vue_ui_parallel_coordinate_plot: Se } = Qe(), P = g({
38
+ const _ = Ne, { vue_ui_parallel_coordinate_plot: Se } = Je(), P = g({
39
39
  get() {
40
40
  return !!_.dataset && _.dataset.length;
41
41
  },
@@ -57,10 +57,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
57
57
  });
58
58
  return t.theme ? {
59
59
  ...Pe({
60
- userConfig: Je.vue_ui_parallel_coordinate_plot[t.theme] || _.config,
60
+ userConfig: Ke.vue_ui_parallel_coordinate_plot[t.theme] || _.config,
61
61
  defaultConfig: t
62
62
  }),
63
- customPalette: Ke[t.theme] || H
63
+ customPalette: Qe[t.theme] || H
64
64
  } : t;
65
65
  }
66
66
  He(() => _.config, (t) => {
@@ -209,7 +209,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
209
209
  });
210
210
  }
211
211
  return t;
212
- }), Q = g(() => q.value.map((t, l) => ({
212
+ }), J = g(() => q.value.map((t, l) => ({
213
213
  ...t,
214
214
  series: t.series.map((a, o) => ({
215
215
  ...a,
@@ -253,9 +253,9 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
253
253
  { datapoint: a, seriesIndex: l }
254
254
  );
255
255
  }
256
- const y = v(null), J = v(null), S = v(!1), K = v("");
256
+ const y = v(null), K = v(null), S = v(!1), Q = v("");
257
257
  function j({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
258
- J.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, S.value = !0, y.value = a.id;
258
+ K.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, S.value = !0, y.value = a.id;
259
259
  let s = "";
260
260
  const r = e.value.style.chart.tooltip.customFormat;
261
261
  ze(r) && it(() => r({
@@ -264,7 +264,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
264
264
  series: M.value,
265
265
  config: e.value,
266
266
  scales: f.value
267
- })) ? K.value = r({
267
+ })) ? Q.value = r({
268
268
  serie: a,
269
269
  seriesIndex: a.seriesIndex,
270
270
  series: M.value,
@@ -289,13 +289,13 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
289
289
  </span>
290
290
  </div>
291
291
  `, e.value.style.chart.comments.showInTooltip && a.datapoints[p].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[p].comment}</div>`);
292
- }), K.value = `<div>${s}</div>`);
292
+ }), Q.value = `<div>${s}</div>`);
293
293
  }
294
294
  function Ve() {
295
295
  return M.value;
296
296
  }
297
297
  const O = g(() => {
298
- const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((n) => n.name)), l = Q.value.flatMap((n, s) => n.series.map((r) => [n.name].concat([r.name]).concat(r.values))), a = {
298
+ const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((n) => n.name)), l = J.value.flatMap((n, s) => n.series.map((r) => [n.name].concat([r.name]).concat(r.values))), a = {
299
299
  th: {
300
300
  backgroundColor: e.value.table.th.backgroundColor,
301
301
  color: e.value.table.th.color,
@@ -314,7 +314,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
314
314
  config: a,
315
315
  colNames: o
316
316
  };
317
- }), ke = g(() => Q.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
317
+ }), ke = g(() => J.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
318
318
  head: O.value.head,
319
319
  body: O.value.body
320
320
  });
@@ -540,7 +540,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
540
540
  }, D(xe({ value: n.value, index: o, datapoint: n })), 13, Nt))), 256))
541
541
  ], 64)) : m("", !0)
542
542
  ]))), 256)),
543
- (u(!0), i(C, null, F(Q.value, (a) => (u(), i("g", null, [
543
+ (u(!0), i(C, null, F(J.value, (a) => (u(), i("g", null, [
544
544
  (u(!0), i(C, null, F(a.series, (o, n) => (u(), i("g", null, [
545
545
  e.value.style.chart.plots.show ? (u(), i("g", Lt, [
546
546
  (u(!0), i(C, null, F(o.datapoints, (s) => (u(), z(yt, {
@@ -710,15 +710,15 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
710
710
  position: e.value.style.chart.tooltip.position,
711
711
  offsetY: e.value.style.chart.tooltip.offsetY,
712
712
  parent: N.value,
713
- content: K.value,
713
+ content: Q.value,
714
714
  isFullscreen: L.value,
715
715
  isCustom: x(ze)(e.value.style.chart.tooltip.customFormat)
716
716
  }, {
717
717
  "tooltip-before": k(() => [
718
- b(t.$slots, "tooltip-before", W(E({ ...J.value })), void 0, !0)
718
+ b(t.$slots, "tooltip-before", W(E({ ...K.value })), void 0, !0)
719
719
  ]),
720
720
  "tooltip-after": k(() => [
721
- b(t.$slots, "tooltip-after", W(E({ ...J.value })), void 0, !0)
721
+ b(t.$slots, "tooltip-after", W(E({ ...K.value })), void 0, !0)
722
722
  ]),
723
723
  _: 3
724
724
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-xEXHnOtJ.cjs"),ue=require("./useResponsive-BJ7DTGpm.cjs"),Be=require("./Title-DcTKT_WK.cjs"),$e=require("./Legend-Uv0t6PIz.cjs"),Se=require("./Tooltip-y6Z9yhlE.cjs"),ze=require("./Shape-CNuTafzS.cjs"),ce=require("./usePrinter-CjQvMB0_.cjs"),Ne=require("./DataTable-DVKGDaCB.cjs"),Ae=require("./vue-ui-accordion-2c1jq56U.cjs"),Te=require("./vue-ui-skeleton-Tse1D8cv.cjs"),de=require("./useNestedProp-LNEDZsGq.cjs"),Pe=require("./PackageVersion-BgKxrHv-.cjs"),Fe=require("./PenAndPaper-BYVZ33fz.cjs"),Me=require("./useUserOptionState-BgepsfED.cjs"),_e=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],Ie=["xmlns","viewBox"],Le=["x","y","width","height"],Ve={style:{"pointer-events":"none"}},Oe=["x1","x2","y1","y2","stroke","stroke-width"],De=["x","y","fill","font-size","font-weight"],qe=["x1","x2","y1","y2","stroke","stroke-width"],Ue=["x","y","fill","font-size","font-weight"],Re={key:0},We=["x","y","font-size","fill"],je=["width","x","y"],He={style:{width:"100%"}},Ge=["x","y","fill","font-weight","font-size","onMouseenter"],Ye=["d","stroke","stroke-width","onMouseenter"],Xe=["d","onMouseenter"],Je={key:5,class:"vue-data-ui-watermark"},Ke=["onClick"],Qe=["innerHTML"],Ze={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ve,{expose:pe,emit:L}){const b=ve,{vue_ui_parallel_coordinate_plot:he}=i.useConfig(),x=e.computed({get(){return!!b.dataset&&b.dataset.length},set(l){return l}}),V=e.ref(0),C=e.ref(null),O=e.ref(null),D=e.ref(null),q=e.ref(null),U=e.ref(null),R=e.ref(0),W=e.ref(0),j=e.ref(0),T=e.ref(i.createUid()),w=e.ref(!1);function me(l){w.value=l,V.value+=1}const t=e.computed({get:()=>Y(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:H,keepUserOptionState:G}=Me.useUserOptionState({config:t.value});function Y(){const l=de.useNestedProp({userConfig:b.config,defaultConfig:he});return l.theme?{...de.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[l.theme]||b.config,defaultConfig:l}),customPalette:i.themePalettes[l.theme]||i.palette}:l}e.watch(()=>b.config,l=>{t.value=Y(),P.value=!t.value.showOnChartHover,X(),R.value+=1,j.value+=1,W.value+=1,v.value.dataLabels.show=t.value.style.chart.yAxis.labels.datapoints.show,v.value.showTable=t.value.table.show,v.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const S=e.ref(null);e.onMounted(()=>{X()});function X(){if(i.objectIsEmpty(b.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):b.dataset.forEach((l,o)=>{i.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=ue.throttle(()=>{const{width:o,height:a}=ue.useResponsive({chart:C.value,title:t.value.style.chart.title.text?O.value:null,legend:t.value.style.chart.legend.show?D.value:null,source:q.value,noTitle:U.value});requestAnimationFrame(()=>{d.value.width=o,d.value.height=a,d.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),d.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),d.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),d.value.axisNameFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})})});S.value=new ResizeObserver(l),S.value.observe(C.value.parentNode)}}e.onBeforeUnmount(()=>{S.value&&S.value.disconnect()});const{isPrinting:J,isImaging:K,generatePdf:Q,generateImage:Z}=ce.usePrinter({elementId:`pcp_${T.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),ye=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),d=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}),c=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=d.value.height,s=d.value.width;return{chartHeight:r,chartWidth:s,height:r-l-a,width:s-n-o,top:l,left:n,right:s-o,bottom:r-a}}),fe=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),v=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 ee(l){f.value.includes(l)?f.value=f.value.filter(o=>o!==l):f.value.push(l)}const k=e.computed(()=>b.dataset.map((l,o)=>{const a=i.convertColorToHex(l.color)||fe.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...l,series:l.series.map(n=>({...n,id:i.createUid(),color:a})),seriesIndex:o,color:a,id:i.createUid(),shape:l.shape||"circle"}})),ge=e.computed(()=>k.value.map(l=>({...l,opacity:f.value.includes(l.id)?.5:1,segregate:()=>ee(l.id),isSegregated:f.value.includes(l.id)}))),be=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":""})),te=e.computed(()=>Math.max(...k.value.filter(l=>!f.value.includes(l.id)).map(l=>Math.max(...l.series.flatMap(o=>o.values.length))))),y=e.computed(()=>c.value.width/te.value),F=e.computed(()=>k.value.filter(l=>!f.value.includes(l.id))),m=e.computed(()=>{let l=[];for(let o=0;o<te.value;o+=1){const a=Math.min(...F.value.flatMap(p=>p.series.map(A=>A.values[o]||0)||0)),n=Math.max(...F.value.flatMap(p=>p.series.map(A=>A.values[o]||0)||0)),r=n===a?a/4:a,s=n===a?n*2:n,u=i.calculateNiceScale(r,s,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((p,A)=>{const Ce=u.min<0?p+Math.abs(u.min):p-Math.abs(u.min),we=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:c.value.bottom-c.value.height*(Ce/we),x:c.value.left+y.value*o+y.value/2,value:p}});l.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return l}),M=e.computed(()=>F.value.map((l,o)=>({...l,series:l.series.map((a,n)=>({...a,datapoints:a.values.map((r,s)=>{const u=m.value[s].scale.min<0?(r||0)+Math.abs(m.value[s].scale.min):(r||0)-Math.abs(m.value[s].scale.min),g=m.value[s].scale.min<0?m.value[s].scale.max+Math.abs(m.value[s].scale.min):m.value[s].scale.max-Math.abs(m.value[s].scale.min);return{name:a.name,seriesName:l.name,axisIndex:s,datapointIndex:n,seriesIndex:o,value:r||0,x:c.value.left+y.value*s+y.value/2,y:c.value.bottom-c.value.height*(u/g),comment:a.comments&&a.comments[s]||""}})}))})).map(l=>({...l,series:l.series.map(o=>{const a=i.createStraightPath(o.datapoints),n=i.createSmoothPath(o.datapoints),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${n}`:`M ${a}`);return{...o,smoothPath:n,straightPath:a,pathLength:r}})})));function le({value:l,index:o,datapoint:a}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,l,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:l,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:a,seriesIndex:o})}const h=e.ref(null),_=e.ref(null),B=e.ref(!1),E=e.ref("");function z({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){_.value={serie:a,relativeIndex:n,seriesIndex:r,series:k.value,scales:m.value},B.value=!0,h.value=a.id;let s="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}))?E.value=u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}):(s+=`<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+" - ":""}${a.name}</div>`,m.value.map(g=>g.name).forEach((g,p)=>{s+=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-DHTOdsmm.cjs"),ue=require("./useResponsive-BJ7DTGpm.cjs"),Be=require("./Title-0PbYWvbk.cjs"),$e=require("./Legend-BHqhIxpn.cjs"),Se=require("./Tooltip-yfpr967Z.cjs"),ze=require("./Shape-Do_AzV1G.cjs"),ce=require("./usePrinter-CCvLCahd.cjs"),Ne=require("./DataTable-D-lEfCvI.cjs"),Ae=require("./vue-ui-accordion-D0YEkQP_.cjs"),Te=require("./vue-ui-skeleton-BZDfN8kq.cjs"),de=require("./useNestedProp-BbHX6tgE.cjs"),Pe=require("./PackageVersion-fh_T3pry.cjs"),Fe=require("./PenAndPaper-JJPSlM7l.cjs"),Me=require("./useUserOptionState-BgepsfED.cjs"),_e=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],Ie=["xmlns","viewBox"],Le=["x","y","width","height"],Ve={style:{"pointer-events":"none"}},Oe=["x1","x2","y1","y2","stroke","stroke-width"],De=["x","y","fill","font-size","font-weight"],qe=["x1","x2","y1","y2","stroke","stroke-width"],Ue=["x","y","fill","font-size","font-weight"],Re={key:0},We=["x","y","font-size","fill"],je=["width","x","y"],He={style:{width:"100%"}},Ge=["x","y","fill","font-weight","font-size","onMouseenter"],Ye=["d","stroke","stroke-width","onMouseenter"],Xe=["d","onMouseenter"],Je={key:5,class:"vue-data-ui-watermark"},Ke=["onClick"],Qe=["innerHTML"],Ze={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ve,{expose:pe,emit:L}){const b=ve,{vue_ui_parallel_coordinate_plot:he}=i.useConfig(),x=e.computed({get(){return!!b.dataset&&b.dataset.length},set(l){return l}}),V=e.ref(0),C=e.ref(null),O=e.ref(null),D=e.ref(null),q=e.ref(null),U=e.ref(null),R=e.ref(0),W=e.ref(0),j=e.ref(0),T=e.ref(i.createUid()),w=e.ref(!1);function me(l){w.value=l,V.value+=1}const t=e.computed({get:()=>Y(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:H,keepUserOptionState:G}=Me.useUserOptionState({config:t.value});function Y(){const l=de.useNestedProp({userConfig:b.config,defaultConfig:he});return l.theme?{...de.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[l.theme]||b.config,defaultConfig:l}),customPalette:i.themePalettes[l.theme]||i.palette}:l}e.watch(()=>b.config,l=>{t.value=Y(),P.value=!t.value.showOnChartHover,X(),R.value+=1,j.value+=1,W.value+=1,v.value.dataLabels.show=t.value.style.chart.yAxis.labels.datapoints.show,v.value.showTable=t.value.table.show,v.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const S=e.ref(null);e.onMounted(()=>{X()});function X(){if(i.objectIsEmpty(b.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):b.dataset.forEach((l,o)=>{i.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=ue.throttle(()=>{const{width:o,height:a}=ue.useResponsive({chart:C.value,title:t.value.style.chart.title.text?O.value:null,legend:t.value.style.chart.legend.show?D.value:null,source:q.value,noTitle:U.value});requestAnimationFrame(()=>{d.value.width=o,d.value.height=a,d.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),d.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),d.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),d.value.axisNameFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})})});S.value=new ResizeObserver(l),S.value.observe(C.value.parentNode)}}e.onBeforeUnmount(()=>{S.value&&S.value.disconnect()});const{isPrinting:J,isImaging:K,generatePdf:Q,generateImage:Z}=ce.usePrinter({elementId:`pcp_${T.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),ye=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),d=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}),c=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=d.value.height,s=d.value.width;return{chartHeight:r,chartWidth:s,height:r-l-a,width:s-n-o,top:l,left:n,right:s-o,bottom:r-a}}),fe=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),v=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 ee(l){f.value.includes(l)?f.value=f.value.filter(o=>o!==l):f.value.push(l)}const k=e.computed(()=>b.dataset.map((l,o)=>{const a=i.convertColorToHex(l.color)||fe.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...l,series:l.series.map(n=>({...n,id:i.createUid(),color:a})),seriesIndex:o,color:a,id:i.createUid(),shape:l.shape||"circle"}})),ge=e.computed(()=>k.value.map(l=>({...l,opacity:f.value.includes(l.id)?.5:1,segregate:()=>ee(l.id),isSegregated:f.value.includes(l.id)}))),be=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":""})),te=e.computed(()=>Math.max(...k.value.filter(l=>!f.value.includes(l.id)).map(l=>Math.max(...l.series.flatMap(o=>o.values.length))))),y=e.computed(()=>c.value.width/te.value),F=e.computed(()=>k.value.filter(l=>!f.value.includes(l.id))),m=e.computed(()=>{let l=[];for(let o=0;o<te.value;o+=1){const a=Math.min(...F.value.flatMap(p=>p.series.map(A=>A.values[o]||0)||0)),n=Math.max(...F.value.flatMap(p=>p.series.map(A=>A.values[o]||0)||0)),r=n===a?a/4:a,s=n===a?n*2:n,u=i.calculateNiceScale(r,s,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((p,A)=>{const Ce=u.min<0?p+Math.abs(u.min):p-Math.abs(u.min),we=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:c.value.bottom-c.value.height*(Ce/we),x:c.value.left+y.value*o+y.value/2,value:p}});l.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return l}),M=e.computed(()=>F.value.map((l,o)=>({...l,series:l.series.map((a,n)=>({...a,datapoints:a.values.map((r,s)=>{const u=m.value[s].scale.min<0?(r||0)+Math.abs(m.value[s].scale.min):(r||0)-Math.abs(m.value[s].scale.min),g=m.value[s].scale.min<0?m.value[s].scale.max+Math.abs(m.value[s].scale.min):m.value[s].scale.max-Math.abs(m.value[s].scale.min);return{name:a.name,seriesName:l.name,axisIndex:s,datapointIndex:n,seriesIndex:o,value:r||0,x:c.value.left+y.value*s+y.value/2,y:c.value.bottom-c.value.height*(u/g),comment:a.comments&&a.comments[s]||""}})}))})).map(l=>({...l,series:l.series.map(o=>{const a=i.createStraightPath(o.datapoints),n=i.createSmoothPath(o.datapoints),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${n}`:`M ${a}`);return{...o,smoothPath:n,straightPath:a,pathLength:r}})})));function le({value:l,index:o,datapoint:a}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,l,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:l,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:a,seriesIndex:o})}const h=e.ref(null),_=e.ref(null),B=e.ref(!1),E=e.ref("");function z({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){_.value={serie:a,relativeIndex:n,seriesIndex:r,series:k.value,scales:m.value},B.value=!0,h.value=a.id;let s="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}))?E.value=u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}):(s+=`<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+" - ":""}${a.name}</div>`,m.value.map(g=>g.name).forEach((g,p)=>{s+=`
2
2
  <div class="vue-ui-tooltip-item" style="text-align:left">
3
3
  <span>${g}: </span>
4
4
  <span>
@@ -1,20 +1,20 @@
1
1
  import { computed as g, ref as h, watch as Fe, onMounted as lt, onBeforeUnmount as at, openBlock as o, createElementBlock as n, normalizeClass as T, normalizeStyle as q, unref as y, createBlock as N, createCommentVNode as c, createSlots as ut, withCtx as $, renderSlot as k, normalizeProps as G, guardReactiveProps as Q, createVNode as ve, createElementVNode as d, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as ot, nextTick as st } from "vue";
2
- import { u as rt, c as Re, t as nt, a as it, p as de, o as vt, e as H, b as dt, T as ct, d as ht, i as O, f as P, X as yt, s as ae, w as bt, U as ft, G as pt, x as gt, y as mt, q as xt, r as $t } from "./index-DCHLGNvJ.js";
2
+ import { u as rt, c as Re, t as nt, a as it, p as de, o as vt, e as H, b as dt, U as ct, d as ht, i as O, f as V, X as yt, s as ae, w as bt, V as ft, G as pt, x as gt, y as mt, q as xt, r as $t } from "./index-CbMgQMOZ.js";
3
3
  import { t as kt, u as Lt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as wt } from "./Title-Dt5mC-vb.js";
5
- import { u as qt, U as _t } from "./usePrinter-BvounINk.js";
6
- import { _ as St } from "./Tooltip-CmKYX0H1.js";
7
- import { _ as He } from "./Shape-DZz__S1P.js";
8
- import { L as Ct } from "./Legend-Di7FMl12.js";
9
- import { D as zt } from "./DataTable-Cnr3w23K.js";
10
- import Tt from "./vue-ui-skeleton-nTL-u4Yd.js";
11
- import Xt from "./vue-ui-accordion-DEpeQHhr.js";
12
- import { u as Ie } from "./useNestedProp-BPR7xHxr.js";
13
- import { _ as Wt } from "./PackageVersion-BAKTtSRE.js";
14
- import { P as Yt } from "./PenAndPaper-BUzmu0vi.js";
4
+ import { _ as wt } from "./Title-ccoiJ0mq.js";
5
+ import { u as qt, U as _t } from "./usePrinter-sMoxYV4s.js";
6
+ import { _ as St } from "./Tooltip-DvT_JgqK.js";
7
+ import { _ as He } from "./Shape-BOPYNx7w.js";
8
+ import { L as Ct } from "./Legend-BSpbp1BZ.js";
9
+ import { D as zt } from "./DataTable-CBJXWv2y.js";
10
+ import Tt from "./vue-ui-skeleton-odlG21I6.js";
11
+ import Xt from "./vue-ui-accordion-DXPXhPPW.js";
12
+ import { u as Ie } from "./useNestedProp-vYrmxXEi.js";
13
+ import { _ as Wt } from "./PackageVersion-DtBpSOiQ.js";
14
+ import { P as Yt } from "./PenAndPaper-B2XkoPXE.js";
15
15
  import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
16
16
  import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "height"], Vt = ["id"], Bt = ["stop-color"], Ft = ["stop-color"], Rt = { key: 1 }, Ht = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], It = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Dt = { key: 2 }, Et = ["points", "fill"], Gt = ["points", "fill"], Qt = ["points", "fill"], Jt = ["points", "fill"], jt = { key: 3 }, Zt = ["y", "fill", "font-size"], Kt = ["x", "y", "fill", "font-size"], el = ["x", "y", "fill", "font-size"], tl = ["y", "fill", "font-size"], ll = { key: 4 }, al = ["x", "y", "font-size", "fill"], ul = ["x", "y", "font-size", "fill"], ol = ["x", "y", "font-size", "fill"], sl = ["id", "font-size", "transform", "fill"], rl = ["id", "font-size", "transform", "fill"], nl = ["id", "font-size", "transform", "fill"], il = { key: 5 }, vl = ["fill", "points"], dl = ["x", "y", "width", "height"], cl = ["x", "y", "width", "height"], hl = ["x", "y", "width", "height"], yl = ["x", "y", "width", "height"], bl = {
17
+ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Vt = ["x", "y", "width", "height"], Pt = ["id"], Bt = ["stop-color"], Ft = ["stop-color"], Rt = { key: 1 }, Ht = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], It = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Dt = { key: 2 }, Et = ["points", "fill"], Gt = ["points", "fill"], Qt = ["points", "fill"], Jt = ["points", "fill"], jt = { key: 3 }, Zt = ["y", "fill", "font-size"], Kt = ["x", "y", "fill", "font-size"], el = ["x", "y", "fill", "font-size"], tl = ["y", "fill", "font-size"], ll = { key: 4 }, al = ["x", "y", "font-size", "fill"], ul = ["x", "y", "font-size", "fill"], ol = ["x", "y", "font-size", "fill"], sl = ["id", "font-size", "transform", "fill"], rl = ["id", "font-size", "transform", "fill"], nl = ["id", "font-size", "transform", "fill"], il = { key: 5 }, vl = ["fill", "points"], dl = ["x", "y", "width", "height"], cl = ["x", "y", "width", "height"], hl = ["x", "y", "width", "height"], yl = ["x", "y", "width", "height"], bl = {
18
18
  key: 0,
19
19
  style: { "pointer-events": "none" }
20
20
  }, fl = ["x", "y", "font-size", "fill"], pl = { key: 0 }, gl = ["x", "y", "onMouseover", "onClick"], ml = {
@@ -145,7 +145,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
145
145
  startY: 0
146
146
  });
147
147
  }, { deep: !0 });
148
- const v = h(null), V = g(() => {
148
+ const v = h(null), P = g(() => {
149
149
  switch (v.value) {
150
150
  case "TL":
151
151
  return {
@@ -377,7 +377,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
377
377
  O(
378
378
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
379
379
  s.x,
380
- P({
380
+ V({
381
381
  v: s.x,
382
382
  r: t.value.style.chart.layout.labels.plotLabels.rounding
383
383
  })
@@ -385,7 +385,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
385
385
  O(
386
386
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
387
387
  s.y,
388
- P({
388
+ V({
389
389
  v: s.y,
390
390
  r: t.value.style.chart.layout.labels.plotLabels.rounding
391
391
  })
@@ -470,7 +470,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
470
470
  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>${O(
471
471
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
472
472
  u.xValue,
473
- P({
473
+ V({
474
474
  v: u.xValue,
475
475
  r: t.value.style.chart.tooltip.roundingValue
476
476
  }),
@@ -478,7 +478,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
478
478
  )}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${O(
479
479
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
480
480
  u.yValue,
481
- P({
481
+ V({
482
482
  v: u.yValue,
483
483
  r: t.value.style.chart.tooltip.roundingValue
484
484
  }),
@@ -645,10 +645,10 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
645
645
  function Oe() {
646
646
  m.value.showTable = !m.value.showTable;
647
647
  }
648
- function Pe() {
648
+ function Ve() {
649
649
  m.value.plotLabels.show = !m.value.plotLabels.show;
650
650
  }
651
- function Ve() {
651
+ function Pe() {
652
652
  m.value.showTooltip = !m.value.showTooltip;
653
653
  }
654
654
  const le = h(!1);
@@ -661,8 +661,8 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
661
661
  generateCsv: Ne,
662
662
  generateImage: Se,
663
663
  toggleTable: Oe,
664
- toggleLabels: Pe,
665
- toggleTooltip: Ve,
664
+ toggleLabels: Ve,
665
+ toggleTooltip: Pe,
666
666
  toggleAnnotator: ie
667
667
  }), (l, u) => (o(), n("div", {
668
668
  class: T(`vue-ui-quadrant ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -736,8 +736,8 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
736
736
  onGenerateCsv: Ne,
737
737
  onGenerateImage: y(Se),
738
738
  onToggleTable: Oe,
739
- onToggleLabels: Pe,
740
- onToggleTooltip: Ve,
739
+ onToggleLabels: Ve,
740
+ onToggleTooltip: Pe,
741
741
  onToggleAnnotator: ie,
742
742
  style: q({
743
743
  visibility: y($e) ? y(se) ? "visible" : "hidden" : "visible"
@@ -820,7 +820,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
820
820
  }
821
821
  }, [
822
822
  k(l.$slots, "chart-background", {}, void 0, !0)
823
- ], 8, Pt)) : c("", !0),
823
+ ], 8, Vt)) : c("", !0),
824
824
  d("defs", null, [
825
825
  (o(!0), n(S, null, Y(C.value, (a, s) => (o(), n("radialGradient", {
826
826
  cx: "50%",
@@ -838,7 +838,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
838
838
  offset: "100%",
839
839
  "stop-color": y(ae)(a.color, t.value.style.chart.layout.areas.opacity)
840
840
  }, null, 8, Ft)
841
- ], 8, Vt))), 256))
841
+ ], 8, Pt))), 256))
842
842
  ]),
843
843
  t.value.style.chart.layout.grid.graduations.show ? (o(), n("g", Rt, [
844
844
  (o(!0), n(S, null, Y(je.value, (a) => (o(), n("rect", {
@@ -942,7 +942,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
942
942
  }, L(y(O)(
943
943
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
944
944
  _.value.y.max,
945
- y(P)({
945
+ y(V)({
946
946
  v: _.value.y.max,
947
947
  r: t.value.style.chart.layout.labels.plotLabels.rounding
948
948
  })
@@ -963,7 +963,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
963
963
  }, L(y(O)(
964
964
  t.value.style.chart.layout.labels.plotLabels.y.formatter,
965
965
  _.value.y.min,
966
- y(P)({
966
+ y(V)({
967
967
  v: _.value.y.min,
968
968
  r: t.value.style.chart.layout.labels.plotLabels.rounding
969
969
  })
@@ -977,7 +977,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
977
977
  }, L(y(O)(
978
978
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
979
979
  _.value.x.min,
980
- y(P)({
980
+ y(V)({
981
981
  v: _.value.x.min,
982
982
  r: t.value.style.chart.layout.labels.plotLabels.rounding
983
983
  })
@@ -991,7 +991,7 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
991
991
  }, L(y(O)(
992
992
  t.value.style.chart.layout.labels.plotLabels.x.formatter,
993
993
  _.value.x.max,
994
- y(P)({
994
+ y(V)({
995
995
  v: _.value.x.max,
996
996
  r: t.value.style.chart.layout.labels.plotLabels.rounding
997
997
  })
@@ -1130,13 +1130,13 @@ const Nt = ["id"], Ot = ["xmlns", "viewBox", "id"], Pt = ["x", "y", "width", "he
1130
1130
  ])) : c("", !0),
1131
1131
  v.value && !K.value ? (o(), n("g", wl, [
1132
1132
  d("text", {
1133
- x: V.value.x,
1134
- y: V.value.y - V.value.fontSize / 1.5,
1135
- "font-size": V.value.fontSize / 1.5,
1136
- fill: V.value.fill,
1133
+ x: P.value.x,
1134
+ y: P.value.y - P.value.fontSize / 1.5,
1135
+ "font-size": P.value.fontSize / 1.5,
1136
+ fill: P.value.fill,
1137
1137
  "text-anchor": "middle",
1138
- "font-weight": V.value.bold ? "bold" : "normal"
1139
- }, L(V.value.text), 9, ql)
1138
+ "font-weight": P.value.bold ? "bold" : "normal"
1139
+ }, L(P.value.text), 9, ql)
1140
1140
  ])) : c("", !0),
1141
1141
  p.value && v.value ? (o(), n("g", _l, [
1142
1142
  d("rect", {