vue-data-ui 2.6.37 → 2.6.39

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 (160) hide show
  1. package/dist/{Arrow-DjSpCQOg.cjs → Arrow-5ip5m31y.cjs} +1 -1
  2. package/dist/{Arrow-D7v9Wp6T.js → Arrow-B97dY5c5.js} +1 -1
  3. package/dist/{BaseIcon-BKbuAee9.js → BaseIcon-CPtTZ5gm.js} +1 -1
  4. package/dist/{BaseIcon-NPPqp3O_.cjs → BaseIcon-CnmrKVrD.cjs} +1 -1
  5. package/dist/{ColorPicker-fC6sjkCD.js → ColorPicker-DDG5q9jR.js} +3 -3
  6. package/dist/{ColorPicker-Ds2gt2zr.cjs → ColorPicker-anuoNM-p.cjs} +1 -1
  7. package/dist/{DataTable-tMRNizIy.cjs → DataTable-DYeuLcih.cjs} +1 -1
  8. package/dist/{DataTable-CHrd5zea.js → DataTable-pO-dTL2C.js} +2 -2
  9. package/dist/{Legend-BqEqCXVk.js → Legend-BNLVnEGq.js} +2 -2
  10. package/dist/{Legend-BAyCHNFN.cjs → Legend-qp4VAykH.cjs} +1 -1
  11. package/dist/{PackageVersion-Dlu6kyPs.cjs → PackageVersion-BzhafpGr.cjs} +1 -1
  12. package/dist/{PackageVersion-CFYRvKwb.js → PackageVersion-DuXUuz0O.js} +1 -1
  13. package/dist/{PenAndPaper-BikLu3A8.js → PenAndPaper-CoDyTQsZ.js} +3 -3
  14. package/dist/{PenAndPaper-C3pcy_TE.cjs → PenAndPaper-ZkRFCit4.cjs} +1 -1
  15. package/dist/{Shape-zY50kxWh.js → Shape-DH4XF-dc.js} +1 -1
  16. package/dist/{Shape-ievmKPU_.cjs → Shape-DroaKLIm.cjs} +1 -1
  17. package/dist/Slicer-Bo7bO5E5.cjs +1 -0
  18. package/dist/{Slicer-D1PZmmpU.js → Slicer-C854GBKY.js} +177 -169
  19. package/dist/{Title-DfuSY8DI.js → Title-C223TJ6C.js} +1 -1
  20. package/dist/{Title-C99c1fOM.cjs → Title-CcDml6Zf.cjs} +1 -1
  21. package/dist/{Tooltip-BJkwUrpq.js → Tooltip-BvROZcv0.js} +1 -1
  22. package/dist/{Tooltip-CnRtBNhB.cjs → Tooltip-lj99sBKN.cjs} +1 -1
  23. package/dist/{index-LYjDwaWo.js → index-CVHop7bB.js} +41 -22
  24. package/dist/index-CuhZ_hul.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +19 -0
  27. package/dist/types/vue-data-ui.d.ts +19 -0
  28. package/dist/{useNestedProp-BqIaNvIP.js → useNestedProp-DB5XMx_s.js} +1 -1
  29. package/dist/{useNestedProp-u-S0VYER.cjs → useNestedProp-DVSKLFhF.cjs} +1 -1
  30. package/dist/{usePrinter-Bk4LBipq.js → usePrinter-CXjj2NA9.js} +1 -1
  31. package/dist/{usePrinter-vUnweX78.cjs → usePrinter-D3Sb5fSb.cjs} +1 -1
  32. package/dist/{vue-data-ui-DxecxG2M.cjs → vue-data-ui-Bv_90b2c.cjs} +1 -1
  33. package/dist/{vue-data-ui-CxSZD28Q.js → vue-data-ui-C7FFFFUg.js} +61 -61
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-CcJxagPn.js → vue-ui-3d-bar-BkaPHEfQ.js} +9 -9
  37. package/dist/{vue-ui-3d-bar-CRECKReA.cjs → vue-ui-3d-bar-DQaDfIEU.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-DM7bQauS.js → vue-ui-accordion-DZkJGmcV.js} +3 -3
  39. package/dist/{vue-ui-accordion-DrH4ygA8.cjs → vue-ui-accordion-Ds-8LBd7.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-OdhsjM63.cjs → vue-ui-age-pyramid-CklczrE2.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-DEHxorYW.js → vue-ui-age-pyramid-_QqaTWL9.js} +10 -10
  42. package/dist/{vue-ui-annotator-D95mxiIF.js → vue-ui-annotator-CkYus97l.js} +1 -1
  43. package/dist/{vue-ui-annotator-DtXU_e7H.cjs → vue-ui-annotator-DvTfQVeB.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-Ctu6Gj-o.cjs → vue-ui-bullet-7XbqAz6z.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-_lCMuFeX.js → vue-ui-bullet-D_VtAlvO.js} +8 -8
  46. package/dist/{vue-ui-candlestick-CRC-KFUP.cjs → vue-ui-candlestick-B423J4Df.cjs} +1 -1
  47. package/dist/{vue-ui-candlestick-BZGnUwwL.js → vue-ui-candlestick-RzjBpRWa.js} +11 -11
  48. package/dist/{vue-ui-carousel-table-B29MT_s-.js → vue-ui-carousel-table-BcKE75Fr.js} +4 -4
  49. package/dist/{vue-ui-carousel-table-DXqodoqu.cjs → vue-ui-carousel-table-CDGpVNBq.cjs} +1 -1
  50. package/dist/{vue-ui-chestnut-CdMFlRdm.cjs → vue-ui-chestnut-BpqaO6Ki.cjs} +1 -1
  51. package/dist/{vue-ui-chestnut-CbStcaWN.js → vue-ui-chestnut-DlJ4UHAd.js} +8 -8
  52. package/dist/{vue-ui-circle-pack-4F8_QJLA.js → vue-ui-circle-pack-C75Ig7Ot.js} +9 -9
  53. package/dist/{vue-ui-circle-pack-BFE8EzB8.cjs → vue-ui-circle-pack-HI9e7B2K.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-D5Z6oGX5.cjs → vue-ui-cursor-9UG_5YM1.cjs} +1 -1
  55. package/dist/{vue-ui-cursor-BRl1iqMh.js → vue-ui-cursor-DQRdy4kP.js} +2 -2
  56. package/dist/{vue-ui-dashboard-DgX3ZCV5.cjs → vue-ui-dashboard-J0p7RHcR.cjs} +1 -1
  57. package/dist/{vue-ui-dashboard-BrNI7Gh5.js → vue-ui-dashboard-LImeuX9g.js} +2 -2
  58. package/dist/{vue-ui-digits-1BawWbMU.js → vue-ui-digits-BCj_Px9b.js} +2 -2
  59. package/dist/{vue-ui-digits-T2FulJDq.cjs → vue-ui-digits-DfnixiIy.cjs} +1 -1
  60. package/dist/{vue-ui-donut-CoF4u-T4.cjs → vue-ui-donut-CvxOiV5F.cjs} +1 -1
  61. package/dist/{vue-ui-donut-BZyDypub.js → vue-ui-donut-DaqG2jcW.js} +12 -12
  62. package/dist/{vue-ui-donut-evolution-B3L8SqIT.js → vue-ui-donut-evolution-BFn-J1jp.js} +11 -11
  63. package/dist/{vue-ui-donut-evolution-CoFY2UqN.cjs → vue-ui-donut-evolution-QJnKCDWk.cjs} +1 -1
  64. package/dist/{vue-ui-dumbbell-B18xzbpo.cjs → vue-ui-dumbbell-C_nCYtcd.cjs} +1 -1
  65. package/dist/{vue-ui-dumbbell-DbVCVj00.js → vue-ui-dumbbell-DD8_k_pA.js} +10 -10
  66. package/dist/{vue-ui-flow-Dz_BV7Wd.cjs → vue-ui-flow-CCXQ4mYO.cjs} +1 -1
  67. package/dist/{vue-ui-flow-ClMNqcsT.js → vue-ui-flow-Dls16uj4.js} +9 -9
  68. package/dist/{vue-ui-funnel-BaO75cmv.cjs → vue-ui-funnel-ClCnyvUX.cjs} +1 -1
  69. package/dist/{vue-ui-funnel-wkwqNsC4.js → vue-ui-funnel-X6bFgq1Z.js} +9 -9
  70. package/dist/{vue-ui-galaxy-BCiM8o2g.js → vue-ui-galaxy-Boa9gjJV.js} +11 -11
  71. package/dist/{vue-ui-galaxy-DJdlFBDx.cjs → vue-ui-galaxy-CRDleJUe.cjs} +1 -1
  72. package/dist/{vue-ui-gauge-BD2Wr3i_.js → vue-ui-gauge-DAwO2xJz.js} +7 -7
  73. package/dist/{vue-ui-gauge-B452h__i.cjs → vue-ui-gauge-DzjMmBFe.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-DC4oXCrn.cjs → vue-ui-gizmo-BvGlHcHy.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-CFhYFXge.js → vue-ui-gizmo-ChFEuLno.js} +3 -3
  76. package/dist/vue-ui-heatmap-D2mH3GRc.js +853 -0
  77. package/dist/vue-ui-heatmap-DiKzEnfD.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-D2k5p_08.js → vue-ui-history-plot-C2ynFIiK.js} +11 -11
  79. package/dist/{vue-ui-history-plot-CBC58-dI.cjs → vue-ui-history-plot-CsjNiSkK.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-DeO975Tm.cjs → vue-ui-kpi-BuojbCip.cjs} +1 -1
  81. package/dist/{vue-ui-kpi-CN0wMlzY.js → vue-ui-kpi-C8kidDY0.js} +3 -3
  82. package/dist/{vue-ui-mini-loader-C8U2WRWc.js → vue-ui-mini-loader-32UNlDDN.js} +2 -2
  83. package/dist/{vue-ui-mini-loader-BDUcR9xD.cjs → vue-ui-mini-loader-BBLK1NYq.cjs} +1 -1
  84. package/dist/{vue-ui-molecule-DUQmPuAz.cjs → vue-ui-molecule-C_giWPuq.cjs} +1 -1
  85. package/dist/{vue-ui-molecule-C4hSgcZV.js → vue-ui-molecule-DWJWHwg9.js} +10 -10
  86. package/dist/{vue-ui-mood-radar-7NdBm26m.js → vue-ui-mood-radar-DibQpZ4m.js} +11 -11
  87. package/dist/{vue-ui-mood-radar-CYga2i6l.cjs → vue-ui-mood-radar-UpFKESLA.cjs} +1 -1
  88. package/dist/{vue-ui-nested-donuts-DT4F0Ppo.js → vue-ui-nested-donuts-C30jFP2v.js} +11 -11
  89. package/dist/{vue-ui-nested-donuts-BPfP8KKW.cjs → vue-ui-nested-donuts-CH0on2fU.cjs} +1 -1
  90. package/dist/{vue-ui-onion-CzeGlKHi.js → vue-ui-onion-BvKTXaMU.js} +11 -11
  91. package/dist/{vue-ui-onion-DeJyJi-P.cjs → vue-ui-onion-C_lRLYfI.cjs} +1 -1
  92. package/dist/{vue-ui-parallel-coordinate-plot-C3Ad7aEh.cjs → vue-ui-parallel-coordinate-plot-3Y3tw-xu.cjs} +1 -1
  93. package/dist/{vue-ui-parallel-coordinate-plot-BeX2ILdX.js → vue-ui-parallel-coordinate-plot-C9V9mpG7.js} +12 -12
  94. package/dist/{vue-ui-quadrant-CMuaw2an.js → vue-ui-quadrant-BJbfTZHj.js} +12 -12
  95. package/dist/{vue-ui-quadrant-DkQHz0l9.cjs → vue-ui-quadrant-Bdfj6rMa.cjs} +1 -1
  96. package/dist/{vue-ui-quick-chart-CglC9H61.cjs → vue-ui-quick-chart-CQetx6nm.cjs} +1 -1
  97. package/dist/{vue-ui-quick-chart-CKijflc7.js → vue-ui-quick-chart-DVzpgYpH.js} +9 -9
  98. package/dist/{vue-ui-radar-CNwURzXU.js → vue-ui-radar-DNhe9CJp.js} +12 -12
  99. package/dist/{vue-ui-radar-B2HNBsUx.cjs → vue-ui-radar-uL_2DFoA.cjs} +1 -1
  100. package/dist/{vue-ui-rating-fKw_ZKWr.js → vue-ui-rating-CScqTeBz.js} +2 -2
  101. package/dist/{vue-ui-rating-Bx8-4-To.cjs → vue-ui-rating-Dl5EXfoM.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-L--bJ_xm.cjs → vue-ui-relation-circle-BOAv03ET.cjs} +1 -1
  103. package/dist/{vue-ui-relation-circle-BT85jWbd.js → vue-ui-relation-circle-CMfcB2y4.js} +7 -7
  104. package/dist/{vue-ui-rings-B4S20XPE.cjs → vue-ui-rings-1guUWjBV.cjs} +1 -1
  105. package/dist/{vue-ui-rings-NRGuC28L.js → vue-ui-rings-Ct4IZrwW.js} +12 -12
  106. package/dist/{vue-ui-scatter-DHLSgNgr.js → vue-ui-scatter-C2lZcn5O.js} +12 -12
  107. package/dist/{vue-ui-scatter-Bbfxsy5c.cjs → vue-ui-scatter-D-llNCbW.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-BrTwLH16.js → vue-ui-screenshot-BBazxOqC.js} +1 -1
  109. package/dist/{vue-ui-screenshot-Dtnl7z3b.cjs → vue-ui-screenshot-D7K40IXf.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-BTph1xJS.js → vue-ui-skeleton-BUNaR9Kg.js} +3 -3
  111. package/dist/{vue-ui-skeleton-EeRU9K_3.cjs → vue-ui-skeleton-cQoXWosg.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-Cjvujfc4.js → vue-ui-smiley-CCDBWRTa.js} +2 -2
  113. package/dist/{vue-ui-smiley-BzCK1-Wx.cjs → vue-ui-smiley-_gyL-r4c.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-sT3iomAV.js → vue-ui-spark-trend-B9xYWR4x.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-D9kJ3Q3P.cjs → vue-ui-spark-trend-D5M7L8Nn.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-C8dZp0vb.cjs → vue-ui-sparkbar-B9_aTFqL.cjs} +1 -1
  117. package/dist/{vue-ui-sparkbar-C6kUDSpD.js → vue-ui-sparkbar-B9q9xGj6.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-BqPAIQlp.cjs → vue-ui-sparkgauge-BIVUXWRg.cjs} +1 -1
  119. package/dist/{vue-ui-sparkgauge-CtqbesjZ.js → vue-ui-sparkgauge-DlJWcy62.js} +4 -4
  120. package/dist/{vue-ui-sparkhistogram-DlWrXSqw.cjs → vue-ui-sparkhistogram-Dm0Vtvn1.cjs} +1 -1
  121. package/dist/{vue-ui-sparkhistogram-E9Ws5wiT.js → vue-ui-sparkhistogram-gn3DIsxZ.js} +5 -5
  122. package/dist/{vue-ui-sparkline-2nDI-153.js → vue-ui-sparkline-9MoD7O9K.js} +4 -4
  123. package/dist/{vue-ui-sparkline-C7V1GEy6.cjs → vue-ui-sparkline-Ch2QWsMO.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-CP_aG-G1.js → vue-ui-sparkstackbar-BACwbjpj.js} +5 -5
  125. package/dist/{vue-ui-sparkstackbar-D9kYQocf.cjs → vue-ui-sparkstackbar-aFnfjz2u.cjs} +1 -1
  126. package/dist/{vue-ui-stackbar-SGwDTqNQ.js → vue-ui-stackbar-B4gbMSfv.js} +13 -13
  127. package/dist/{vue-ui-stackbar-D045wCoq.cjs → vue-ui-stackbar-DcXIU7MJ.cjs} +1 -1
  128. package/dist/{vue-ui-strip-plot-yP9RL11r.js → vue-ui-strip-plot-2H2e_73D.js} +11 -11
  129. package/dist/{vue-ui-strip-plot-DiqU7hzo.cjs → vue-ui-strip-plot-g3BjFUT5.cjs} +1 -1
  130. package/dist/{vue-ui-table-Tlt3kWqi.cjs → vue-ui-table-Do6l-NwY.cjs} +1 -1
  131. package/dist/{vue-ui-table-G5vt_r4B.js → vue-ui-table-a03YNGcq.js} +1 -1
  132. package/dist/{vue-ui-table-heatmap-DuyrCkUr.cjs → vue-ui-table-heatmap-CNjY0h0g.cjs} +1 -1
  133. package/dist/{vue-ui-table-heatmap-DripkhZS.js → vue-ui-table-heatmap-CeF3qQ6v.js} +4 -4
  134. package/dist/{vue-ui-table-sparkline-BCLbPrCC.cjs → vue-ui-table-sparkline-BpQv4cWI.cjs} +1 -1
  135. package/dist/{vue-ui-table-sparkline-Cen_P-9_.js → vue-ui-table-sparkline-dISGVncg.js} +5 -5
  136. package/dist/{vue-ui-thermometer-CGuRui0B.cjs → vue-ui-thermometer-C25rhVvw.cjs} +1 -1
  137. package/dist/{vue-ui-thermometer-BCIBGOOJ.js → vue-ui-thermometer-Cc343GDr.js} +7 -7
  138. package/dist/{vue-ui-timer-DzbtpBxD.js → vue-ui-timer-ByQXGLpD.js} +5 -5
  139. package/dist/{vue-ui-timer-CSF_RnYI.cjs → vue-ui-timer-TeAbWeT2.cjs} +1 -1
  140. package/dist/{vue-ui-tiremarks-D67NGQNo.cjs → vue-ui-tiremarks-CG0Da6_3.cjs} +1 -1
  141. package/dist/{vue-ui-tiremarks-Cz7FYs18.js → vue-ui-tiremarks-zdNTuR2J.js} +7 -7
  142. package/dist/{vue-ui-treemap-BbAO9GKK.js → vue-ui-treemap-B_xkm-3z.js} +11 -11
  143. package/dist/{vue-ui-treemap-HoMGHzSU.cjs → vue-ui-treemap-Cqx_LVJx.cjs} +1 -1
  144. package/dist/{vue-ui-vertical-bar-eAxxiGdP.js → vue-ui-vertical-bar-BlOQzW7s.js} +12 -12
  145. package/dist/{vue-ui-vertical-bar-BfJdwjpz.cjs → vue-ui-vertical-bar-CR1hPIJS.cjs} +1 -1
  146. package/dist/{vue-ui-waffle-BMrn2oQL.cjs → vue-ui-waffle-CnvaOKK_.cjs} +1 -1
  147. package/dist/{vue-ui-waffle-wCVvBGMm.js → vue-ui-waffle-DELAI7_M.js} +12 -12
  148. package/dist/{vue-ui-wheel-BKxXJ2Ys.js → vue-ui-wheel-CLP2SMB4.js} +7 -7
  149. package/dist/{vue-ui-wheel-BO37zL4C.cjs → vue-ui-wheel-DONILlPN.cjs} +1 -1
  150. package/dist/{vue-ui-word-cloud-cOi3obyp.cjs → vue-ui-word-cloud-D4oJGtfH.cjs} +1 -1
  151. package/dist/{vue-ui-word-cloud-BNIB4ym5.js → vue-ui-word-cloud-DTxLmJhe.js} +10 -10
  152. package/dist/{vue-ui-xy-CU2bPeca.cjs → vue-ui-xy-CNBUMris.cjs} +1 -1
  153. package/dist/{vue-ui-xy-DZGhmU8N.js → vue-ui-xy-QB9D95yQ.js} +14 -14
  154. package/dist/{vue-ui-xy-canvas-C7o_KXn0.cjs → vue-ui-xy-canvas-4rdG5Bzv.cjs} +1 -1
  155. package/dist/{vue-ui-xy-canvas-Crac6vER.js → vue-ui-xy-canvas-DrVvMTQo.js} +12 -12
  156. package/package.json +1 -1
  157. package/dist/Slicer-CmDTJ7X8.cjs +0 -1
  158. package/dist/index-CIkaV--H.cjs +0 -9
  159. package/dist/vue-ui-heatmap-BNwlVSl_.cjs +0 -1
  160. package/dist/vue-ui-heatmap-CM2CVdOw.js +0 -748
@@ -1,19 +1,19 @@
1
- import { useCssVars as De, computed as s, ref as u, watch as $, onMounted as Te, onBeforeUnmount as Pe, onUpdated as Ae, nextTick as ne, createElementBlock as v, openBlock as m, createElementVNode as d, createCommentVNode as b, renderSlot as Fe, normalizeStyle as N, createVNode as Ie, withDirectives as ie, unref as G, Fragment as ue, renderList as oe, normalizeClass as L, vModelText as re, toDisplayString as se } from "vue";
2
- import ze from "./BaseIcon-BKbuAee9.js";
3
- import { t as He, u as Ve } from "./useResponsive-vZgZwV-S.js";
4
- import { c as We, S as de, R as ve, X as Xe, G as me } from "./index-LYjDwaWo.js";
5
- import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const Oe = {
1
+ import { useCssVars as Ie, computed as s, ref as u, watch as R, onMounted as Pe, onBeforeUnmount as ze, onUpdated as Ae, nextTick as ue, createElementBlock as v, openBlock as m, createElementVNode as d, createCommentVNode as x, renderSlot as Fe, normalizeStyle as $, createVNode as He, withDirectives as oe, unref as Z, Fragment as re, renderList as se, normalizeClass as L, vModelText as de, toDisplayString as ve } from "vue";
2
+ import Ve from "./BaseIcon-CPtTZ5gm.js";
3
+ import { t as We, u as Xe } from "./useResponsive-vZgZwV-S.js";
4
+ import { c as Ue, S as me, R as ce, X as Oe, G as he } from "./index-CVHop7bB.js";
5
+ import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const Ge = {
7
7
  class: "vue-data-ui-slicer-labels",
8
8
  style: { position: "relative", "z-index": "1", "pointer-events": "none" }
9
- }, Ge = {
9
+ }, je = {
10
10
  key: 0,
11
11
  style: { width: "100%", position: "relative" }
12
- }, je = {
12
+ }, qe = {
13
13
  key: 0,
14
14
  class: "minimap",
15
15
  style: { width: "100%" }
16
- }, Ze = ["xmlns", "viewBox"], qe = ["id"], Je = ["stop-color"], Ke = ["d", "stroke"], Qe = ["x", "width", "height", "fill", "rx"], Ye = ["d", "fill"], _e = ["x", "width", "height", "rx", "fill"], et = ["x", "width", "height", "fill", "rx"], tt = ["d", "fill"], lt = ["d", "stroke"], at = ["cx", "cy", "stroke", "fill"], nt = ["cx", "cy", "stroke", "fill"], it = ["x1", "x2", "y2", "stroke"], ut = ["x", "height", "width", "onMouseenter"], ot = ["min", "max"], rt = ["min", "max"], st = {
16
+ }, Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"], Ye = ["d", "stroke"], _e = ["x", "width", "height", "fill", "rx"], et = ["d", "fill"], tt = ["x", "width", "height", "rx", "fill"], lt = ["x", "width", "height", "fill", "rx"], at = ["d", "fill"], nt = ["d", "stroke"], it = ["cx", "cy", "stroke", "fill"], ut = ["cx", "cy", "stroke", "fill"], ot = ["x1", "x2", "y2", "stroke"], rt = ["x", "height", "width", "onMouseenter"], st = ["min", "max"], dt = ["min", "max"], vt = {
17
17
  __name: "Slicer",
18
18
  props: {
19
19
  background: {
@@ -122,146 +122,146 @@ const Oe = {
122
122
  }
123
123
  },
124
124
  emits: ["update:start", "update:end", "reset", "trapMouse"],
125
- setup(a, { expose: ce, emit: he }) {
126
- De((t) => ({
127
- "5f3498b1": ge.value,
128
- "11abbdb6": w.value,
129
- 57330254: be.value,
130
- "51413b56": a.selectColor,
131
- "70c09a63": pe.value
125
+ setup(a, { expose: fe, emit: ge }) {
126
+ Ie((e) => ({
127
+ a9eaaa56: xe.value,
128
+ 43003349: w.value,
129
+ "084765fa": be.value,
130
+ 23357479: a.selectColor,
131
+ "3d8e0af2": ye.value
132
132
  }));
133
- const e = a, f = u(null), o = u(e.min), r = u(e.max), M = s(() => !!e.minimap.length), D = u(We()), fe = s(() => e.refreshEndPoint === null ? e.max : e.refreshEndPoint), x = he, y = s(() => {
134
- const t = e.max - e.min, l = (o.value - e.min) / t * 100, n = (r.value - e.min) / t * 100;
133
+ const t = a, f = u(null), o = u(t.min), r = u(t.max), M = s(() => !!t.minimap.length), D = u(Ue()), pe = s(() => t.refreshEndPoint === null ? t.max : t.refreshEndPoint), y = ge, b = s(() => {
134
+ const e = t.max - t.min, l = (o.value - t.min) / e * 100, n = (r.value - t.min) / e * 100;
135
135
  return {
136
136
  left: `${l}%`,
137
137
  width: `${n - l}%`,
138
- background: e.selectColor,
139
- tooltipLeft: `calc(${l}% - ${j.value ? 0 : U.value / 2}px)`,
140
- tooltipRight: `calc(${n}% - ${Z.value ? B.value : B.value / 2}px)`,
141
- arrowLeft: !j.value,
142
- arrowRight: !Z.value
138
+ background: t.selectColor,
139
+ tooltipLeft: `calc(${l}% - ${G.value ? 0 : U.value / 2}px)`,
140
+ tooltipRight: `calc(${n}% - ${j.value ? B.value : B.value / 2}px)`,
141
+ arrowLeft: !G.value,
142
+ arrowRight: !j.value
143
143
  };
144
- }), j = s(() => f.value ? f.value.getBoundingClientRect().width * ((o.value - e.min) / (e.max - e.min)) - U.value / 2 < 0 : !1), Z = s(() => f.value ? f.value.getBoundingClientRect().width * ((r.value - e.min) / (e.max - e.min)) + B.value / 2 > f.value.getBoundingClientRect().width : !1), ge = s(() => e.inputColor), pe = s(() => e.background), be = s(() => `${e.selectColor}33`), w = s(() => e.borderColor), q = s(() => {
145
- let t = [];
146
- for (let l = 0; l < e.minimap.length; l += 1)
147
- t.push(l);
148
- return t;
144
+ }), G = s(() => f.value ? f.value.getBoundingClientRect().width * ((o.value - t.min) / (t.max - t.min)) - U.value / 2 < 0 : !1), j = s(() => f.value ? f.value.getBoundingClientRect().width * ((r.value - t.min) / (t.max - t.min)) + B.value / 2 > f.value.getBoundingClientRect().width : !1), xe = s(() => t.inputColor), ye = s(() => t.background), be = s(() => `${t.selectColor}33`), w = s(() => t.borderColor), q = s(() => {
145
+ let e = [];
146
+ for (let l = 0; l < t.minimap.length; l += 1)
147
+ e.push(l);
148
+ return e;
149
149
  });
150
150
  function J() {
151
- x("reset");
151
+ y("reset");
152
152
  }
153
- function xe() {
154
- Number(o.value) > Number(r.value) - 1 && (o.value = Number(r.value) - 1), x("update:start", Number(o.value));
153
+ function we() {
154
+ Number(o.value) > Number(r.value) - 1 && (o.value = Number(r.value) - 1), y("update:start", Number(o.value));
155
155
  }
156
- function ye() {
157
- Number(r.value) < Number(o.value) + 1 && (r.value = Number(o.value) + 1), x("update:end", Number(r.value));
156
+ function Se() {
157
+ Number(r.value) < Number(o.value) + 1 && (r.value = Number(o.value) + 1), y("update:end", Number(r.value));
158
158
  }
159
- $(
160
- () => e.min,
161
- (t) => {
162
- Number(o.value) < Number(t) && (o.value = Number(t)), Number(r.value) < Number(t) && (r.value = Number(t));
159
+ R(
160
+ () => t.min,
161
+ (e) => {
162
+ Number(o.value) < Number(e) && (o.value = Number(e)), Number(r.value) < Number(e) && (r.value = Number(e));
163
163
  }
164
- ), $(
165
- () => e.max,
166
- (t) => {
167
- Number(o.value) > Number(t) && (o.value = Number(t)), Number(r.value) > Number(t) && (r.value = Number(t));
164
+ ), R(
165
+ () => t.max,
166
+ (e) => {
167
+ Number(o.value) > Number(e) && (o.value = Number(e)), Number(r.value) > Number(e) && (r.value = Number(e));
168
168
  }
169
169
  );
170
170
  const T = u(null), i = u({
171
171
  width: 1,
172
172
  height: 1
173
173
  }), E = u(null);
174
- Te(() => {
174
+ Pe(() => {
175
175
  if (M.value) {
176
- const t = He(() => {
177
- const { width: l, height: n } = Ve({
176
+ const e = We(() => {
177
+ const { width: l, height: n } = Xe({
178
178
  chart: T.value
179
179
  });
180
180
  i.value.width = l, i.value.height = n - 47;
181
181
  });
182
- E.value = new ResizeObserver(t), E.value.observe(T.value);
182
+ E.value = new ResizeObserver(e), E.value.observe(T.value);
183
183
  }
184
- }), Pe(() => {
184
+ }), ze(() => {
185
185
  E.value && E.value.disconnect();
186
186
  });
187
- const c = s(() => e.minimap.length ? i.value.width / e.minimap.length : 0), g = s(() => {
188
- if (!e.minimap.length) return [];
189
- const t = Math.max(...e.minimap), l = Math.min(...e.minimap) - 10, n = t - (l > 0 ? 0 : l), h = e.minimap.map((Le, Ee) => {
190
- const Be = Le - l;
187
+ const c = s(() => t.minimap.length ? i.value.width / t.minimap.length : 0), g = s(() => {
188
+ if (!t.minimap.length) return [];
189
+ const e = Math.max(...t.minimap), l = Math.min(...t.minimap) - 10, n = e - (l > 0 ? 0 : l), h = t.minimap.map((Be, De) => {
190
+ const Te = Be - l;
191
191
  return {
192
- x: i.value.width / e.minimap.length * Ee + c.value / 2,
193
- y: i.value.height - Be / n * (i.value.height * 0.9)
192
+ x: i.value.width / t.minimap.length * De + c.value / 2,
193
+ y: i.value.height - Te / n * (i.value.height * 0.9)
194
194
  };
195
- }), S = e.smoothMinimap ? de(h) : ve(h), O = [...h].slice(e.valueStart, e.valueEnd), $e = e.smoothMinimap ? de(O) : ve(O);
195
+ }), S = t.smoothMinimap ? me(h) : ce(h), O = [...h].slice(t.valueStart, t.valueEnd), Ee = t.smoothMinimap ? me(O) : ce(O);
196
196
  return {
197
197
  fullSet: S,
198
- selectionSet: $e,
198
+ selectionSet: Ee,
199
199
  sliced: O,
200
- firstPlot: h[e.valueStart],
201
- lastPlot: h[e.valueEnd - 1]
200
+ firstPlot: h[t.valueStart],
201
+ lastPlot: h[t.valueEnd - 1]
202
202
  };
203
203
  }), p = s(() => ({
204
204
  x: c.value * o.value + c.value / 2,
205
- width: i.value.width * ((r.value - o.value) / e.max) - c.value
206
- })), R = u(e.minimapSelectedIndex);
207
- $(() => e.minimapSelectedIndex, (t) => {
208
- R.value = t + e.valueStart;
205
+ width: i.value.width * ((r.value - o.value) / t.max) - c.value
206
+ })), N = u(t.minimapSelectedIndex);
207
+ R(() => t.minimapSelectedIndex, (e) => {
208
+ N.value = e + t.valueStart;
209
209
  }, { immediate: !0 });
210
- function we(t) {
211
- R.value = t, t >= e.valueStart && t < e.valueEnd && x("trapMouse", t - e.valueStart);
210
+ function ke(e) {
211
+ N.value = e, e >= t.valueStart && e < t.valueEnd && y("trapMouse", e - t.valueStart);
212
212
  }
213
- const Se = u(0), P = u(null), A = u(null);
214
- function F(t) {
215
- o.value = t, P.value && (P.value.value = t), x("update:start", Number(o.value));
213
+ const Ce = u(0), I = u(null), P = u(null);
214
+ function z(e) {
215
+ o.value = e, I.value && (I.value.value = e), y("update:start", Number(o.value));
216
216
  }
217
- function I(t) {
218
- r.value = t, A.value && (A.value.value = t), x("update:end", Number(r.value));
217
+ function A(e) {
218
+ r.value = e, P.value && (P.value.value = e), y("update:end", Number(r.value));
219
219
  }
220
- const z = s(() => e.valueEnd - e.valueStart), H = u(!1);
220
+ const F = s(() => t.valueEnd - t.valueStart), H = u(!1);
221
221
  let V = u(null);
222
- const ke = s(() => f.value ? (f.value.getBoundingClientRect().width - 48) / (e.max - e.min) : 20), Ce = s(() => (f.value.getBoundingClientRect().width - 48) / (e.max - e.min) * z.value), Ne = u(2.5), K = s(() => {
223
- const t = f.value.getBoundingClientRect().width - 48;
224
- return Math.ceil((e.max - e.min) / ((t - Ce.value) / Ne.value));
225
- }), Q = (t) => {
226
- if (C.value = !0, !e.enableSelectionDrag)
222
+ const $e = s(() => f.value ? (f.value.getBoundingClientRect().width - 48) / (t.max - t.min) : 20), Me = s(() => (f.value.getBoundingClientRect().width - 48) / (t.max - t.min) * F.value), Ne = u(2.5), K = s(() => {
223
+ const e = f.value.getBoundingClientRect().width - 48;
224
+ return Math.ceil((t.max - t.min) / ((e - Me.value) / Ne.value));
225
+ }), Q = (e) => {
226
+ if (C.value = !0, !t.enableSelectionDrag)
227
227
  return;
228
- const l = t.type === "touchstart";
229
- if ((l ? t.targetTouches[0].target : t.target).classList.contains("range-handle"))
228
+ const l = e.type === "touchstart";
229
+ if ((l ? e.targetTouches[0].target : e.target).classList.contains("range-handle"))
230
230
  return;
231
- H.value = !0, V.value = l ? t.targetTouches[0].clientX : t.clientX;
232
- const h = l ? Me : Y, S = l ? Re : ee;
231
+ H.value = !0, V.value = l ? e.targetTouches[0].clientX : e.clientX;
232
+ const h = l ? Re : Y, S = l ? Le : ee;
233
233
  window.addEventListener(l ? "touchmove" : "mousemove", h, { passive: !1 }), window.addEventListener(l ? "touchend" : "mouseup", S);
234
234
  };
235
- function Y(t) {
236
- _(t.clientX);
235
+ function Y(e) {
236
+ _(e.clientX);
237
237
  }
238
- function Me(t) {
239
- f.value.contains(t.target) && (t.target.classList.contains("range-handle") || (t.preventDefault(), _(t.targetTouches[0].clientX)));
238
+ function Re(e) {
239
+ f.value.contains(e.target) && (e.target.classList.contains("range-handle") || (e.preventDefault(), _(e.targetTouches[0].clientX)));
240
240
  }
241
- function _(t) {
241
+ function _(e) {
242
242
  if (!H.value) return;
243
- const l = t - V.value;
244
- if (Math.abs(l) > ke.value) {
243
+ const l = e - V.value;
244
+ if (Math.abs(l) > $e.value) {
245
245
  if (l > 0) {
246
- if (Number(r.value) + 1 <= e.max) {
247
- const n = Math.min(e.max, Number(r.value) + K.value);
248
- I(n), F(n - z.value);
246
+ if (Number(r.value) + 1 <= t.max) {
247
+ const n = Math.min(t.max, Number(r.value) + K.value);
248
+ A(n), z(n - F.value);
249
249
  }
250
- } else if (Number(o.value) - 1 >= e.min) {
250
+ } else if (Number(o.value) - 1 >= t.min) {
251
251
  const n = Math.max(0, Number(o.value) - K.value);
252
- F(n), I(n + z.value);
252
+ z(n), A(n + F.value);
253
253
  }
254
- V.value = t;
254
+ V.value = e;
255
255
  }
256
256
  }
257
257
  function ee() {
258
258
  te("mousemove", "mouseup");
259
259
  }
260
- function Re() {
260
+ function Le() {
261
261
  te("touchmove", "touchend");
262
262
  }
263
- function te(t, l) {
264
- H.value = !1, window.removeEventListener(t, Y), window.removeEventListener(l, ee);
263
+ function te(e, l) {
264
+ H.value = !1, window.removeEventListener(e, Y), window.removeEventListener(l, ee);
265
265
  }
266
266
  const k = u(!1), W = u(null), X = u(null), U = u(1), B = u(1), C = u(!1);
267
267
  function le() {
@@ -270,16 +270,20 @@ const Oe = {
270
270
  function ae() {
271
271
  X.value && (B.value = X.value.getBoundingClientRect().width);
272
272
  }
273
+ const ne = u(0);
274
+ function ie(e) {
275
+ ne.value = e === "start" ? 1 : 0;
276
+ }
273
277
  return Ae(() => {
274
278
  le(), ae();
275
- }), $(() => e.labelLeft, () => {
276
- ne(le);
277
- }, { deep: !0 }), $(() => e.labelRight, () => {
278
- ne(ae);
279
- }, { deep: !0 }), ce({
280
- setStartValue: F,
281
- setEndValue: I
282
- }), (t, l) => (m(), v("div", {
279
+ }), R(() => t.labelLeft, () => {
280
+ ue(le);
281
+ }, { deep: !0 }), R(() => t.labelRight, () => {
282
+ ue(ae);
283
+ }, { deep: !0 }), fe({
284
+ setStartValue: z,
285
+ setEndValue: A
286
+ }), (e, l) => (m(), v("div", {
283
287
  "data-html2canvas-ignore": "",
284
288
  style: { padding: "0 24px" },
285
289
  class: "vue-data-ui-zoom",
@@ -287,11 +291,11 @@ const Oe = {
287
291
  ref: f,
288
292
  onMousedown: Q,
289
293
  onTouchstart: Q,
290
- onTouchend: l[9] || (l[9] = (n) => C.value = !1)
294
+ onTouchend: l[11] || (l[11] = (n) => C.value = !1)
291
295
  }, [
292
- d("div", Oe, [
293
- a.valueStart !== a.refreshStartPoint || a.valueEnd !== fe.value ? (m(), v("div", Ge, [
294
- a.useResetSlot ? Fe(t.$slots, "reset-action", {
296
+ d("div", Ge, [
297
+ a.valueStart !== a.refreshStartPoint || a.valueEnd !== pe.value ? (m(), v("div", je, [
298
+ a.useResetSlot ? Fe(e.$slots, "reset-action", {
295
299
  key: 1,
296
300
  reset: J
297
301
  }, void 0, !0) : (m(), v("button", {
@@ -299,30 +303,30 @@ const Oe = {
299
303
  tabindex: "0",
300
304
  role: "button",
301
305
  class: "vue-data-ui-refresh-button",
302
- style: N({
306
+ style: $({
303
307
  top: M.value ? "36px" : "-16px",
304
308
  pointerEvents: "all !important"
305
309
  }),
306
310
  onClick: J
307
311
  }, [
308
- Ie(ze, {
312
+ He(Ve, {
309
313
  name: "refresh",
310
314
  stroke: a.textColor
311
315
  }, null, 8, ["stroke"])
312
316
  ], 4))
313
- ])) : b("", !0)
317
+ ])) : x("", !0)
314
318
  ]),
315
319
  d("div", {
316
320
  class: "double-range-slider",
317
321
  ref_key: "minimapWrapper",
318
322
  ref: T,
319
323
  style: { "z-index": "0" },
320
- onMouseenter: l[7] || (l[7] = (n) => C.value = !0),
321
- onMouseleave: l[8] || (l[8] = (n) => C.value = !1)
324
+ onMouseenter: l[9] || (l[9] = (n) => C.value = !0),
325
+ onMouseleave: l[10] || (l[10] = (n) => C.value = !1)
322
326
  }, [
323
- M.value ? (m(), v("div", je, [
327
+ M.value ? (m(), v("div", qe, [
324
328
  (m(), v("svg", {
325
- xmlns: G(Xe),
329
+ xmlns: Z(Oe),
326
330
  viewBox: `0 0 ${i.value.width < 0 ? 0 : i.value.width} ${i.value.height < 0 ? 0 : i.value.height}`
327
331
  }, [
328
332
  d("defs", null, [
@@ -336,12 +340,12 @@ const Oe = {
336
340
  d("stop", {
337
341
  offset: "0%",
338
342
  "stop-color": `${a.minimapLineColor}50`
339
- }, null, 8, Je),
340
- l[10] || (l[10] = d("stop", {
343
+ }, null, 8, Qe),
344
+ l[12] || (l[12] = d("stop", {
341
345
  offset: "100%",
342
346
  "stop-color": "transparent"
343
347
  }, null, -1))
344
- ], 8, qe)
348
+ ], 8, Ke)
345
349
  ]),
346
350
  d("path", {
347
351
  d: `M${g.value.fullSet}`,
@@ -351,7 +355,7 @@ const Oe = {
351
355
  "stroke-linecap": "round",
352
356
  "stroke-linejoin": "round",
353
357
  style: { opacity: "1" }
354
- }, null, 8, Ke),
358
+ }, null, 8, Ye),
355
359
  d("rect", {
356
360
  x: p.value.x,
357
361
  width: p.value.width < 0 ? 0 : p.value.width,
@@ -360,13 +364,13 @@ const Oe = {
360
364
  fill: w.value,
361
365
  rx: a.minimapSelectionRadius,
362
366
  stroke: "none"
363
- }, null, 8, Qe),
367
+ }, null, 8, _e),
364
368
  d("path", {
365
369
  d: `M${c.value / 2},${Math.max(i.value.height, 0)} ${g.value.fullSet} L${i.value.width - c.value / 2},${Math.max(i.value.height, 0)}Z`,
366
370
  fill: `url(#${D.value})`,
367
371
  stroke: "none",
368
372
  style: { opacity: "1" }
369
- }, null, 8, Ye),
373
+ }, null, 8, et),
370
374
  d("rect", {
371
375
  x: p.value.x,
372
376
  width: p.value.width < 0 ? 0 : p.value.width,
@@ -374,7 +378,7 @@ const Oe = {
374
378
  y: 0,
375
379
  rx: a.minimapSelectionRadius,
376
380
  fill: w.value
377
- }, null, 8, _e),
381
+ }, null, 8, tt),
378
382
  d("rect", {
379
383
  x: p.value.x,
380
384
  width: p.value.width < 0 ? 0 : p.value.width,
@@ -382,16 +386,16 @@ const Oe = {
382
386
  y: 0,
383
387
  fill: a.minimapSelectedColor,
384
388
  rx: a.minimapSelectionRadius,
385
- style: N({
389
+ style: $({
386
390
  opacity: a.minimapSelectedColorOpacity
387
391
  })
388
- }, null, 12, et),
392
+ }, null, 12, lt),
389
393
  d("path", {
390
394
  d: `M${g.value.sliced[0].x},${Math.max(i.value.height, 0)} ${g.value.selectionSet} L${g.value.sliced.at(-1).x},${Math.max(i.value.height, 0)}Z`,
391
395
  fill: `url(#${D.value})`,
392
396
  stroke: "none",
393
397
  style: { opacity: "1" }
394
- }, null, 8, tt),
398
+ }, null, 8, at),
395
399
  d("path", {
396
400
  d: `M ${g.value.selectionSet}`,
397
401
  stroke: `${a.minimapLineColor}`,
@@ -399,7 +403,7 @@ const Oe = {
399
403
  "stroke-width": "2",
400
404
  "stroke-linecap": "round",
401
405
  "stroke-linejoin": "round"
402
- }, null, 8, lt),
406
+ }, null, 8, nt),
403
407
  d("circle", {
404
408
  cx: g.value.firstPlot.x,
405
409
  cy: g.value.firstPlot.y,
@@ -407,7 +411,7 @@ const Oe = {
407
411
  stroke: w.value,
408
412
  r: "3",
409
413
  fill: a.minimapLineColor
410
- }, null, 8, at),
414
+ }, null, 8, it),
411
415
  d("circle", {
412
416
  cx: g.value.lastPlot.x,
413
417
  cy: g.value.lastPlot.y,
@@ -415,9 +419,9 @@ const Oe = {
415
419
  stroke: w.value,
416
420
  r: "3",
417
421
  fill: a.minimapLineColor
418
- }, null, 8, nt),
419
- R.value !== null ? (m(!0), v(ue, { key: 0 }, oe(q.value, (n, h) => (m(), v("g", null, [
420
- R.value === n && n >= a.valueStart && n < a.valueEnd ? (m(), v("line", {
422
+ }, null, 8, ut),
423
+ N.value !== null ? (m(!0), v(re, { key: 0 }, se(q.value, (n, h) => (m(), v("g", null, [
424
+ N.value === n && n >= a.valueStart && n < a.valueEnd ? (m(), v("line", {
421
425
  key: 0,
422
426
  x1: c.value * h + c.value / 2,
423
427
  x2: c.value * h + c.value / 2,
@@ -427,27 +431,27 @@ const Oe = {
427
431
  "stroke-linecap": "round",
428
432
  "stroke-dasharray": "2",
429
433
  "stroke-width": "1"
430
- }, null, 8, it)) : b("", !0)
431
- ]))), 256)) : b("", !0),
432
- (m(!0), v(ue, null, oe(q.value, (n, h) => (m(), v("rect", {
434
+ }, null, 8, ot)) : x("", !0)
435
+ ]))), 256)) : x("", !0),
436
+ (m(!0), v(re, null, se(q.value, (n, h) => (m(), v("rect", {
433
437
  x: c.value * h,
434
438
  y: 0,
435
439
  height: Math.max(i.value.height, 0),
436
440
  width: c.value < 0 ? 0 : c.value,
437
441
  fill: "transparent",
438
- style: N([{ "pointer-events": "all !important" }, {
442
+ style: $([{ "pointer-events": "all !important" }, {
439
443
  cursor: n >= a.valueStart && n < a.valueEnd && a.enableSelectionDrag ? k.value ? "grabbing" : "grab" : "default"
440
444
  }]),
441
445
  onMousedown: l[0] || (l[0] = (S) => k.value = !0),
442
446
  onMouseup: l[1] || (l[1] = (S) => k.value = !1),
443
- onMouseenter: (S) => we(n),
447
+ onMouseenter: (S) => ke(n),
444
448
  onMouseleave: l[2] || (l[2] = (S) => {
445
- R.value = null, x("trapMouse", null);
449
+ N.value = null, y("trapMouse", null);
446
450
  })
447
- }, null, 44, ut))), 256))
448
- ], 8, Ze))
449
- ])) : b("", !0),
450
- l[11] || (l[11] = d("div", { class: "slider-track" }, null, -1)),
451
+ }, null, 44, rt))), 256))
452
+ ], 8, Je))
453
+ ])) : x("", !0),
454
+ l[13] || (l[13] = d("div", { class: "slider-track" }, null, -1)),
451
455
  d("div", {
452
456
  class: L({
453
457
  "range-highlight": !0,
@@ -455,37 +459,39 @@ const Oe = {
455
459
  }),
456
460
  onMousedown: l[3] || (l[3] = (n) => k.value = !0),
457
461
  onMouseup: l[4] || (l[4] = (n) => k.value = !1),
458
- style: N({
459
- ...y.value,
462
+ style: $({
463
+ ...b.value,
460
464
  cursor: k.value ? "grabbing" : "grab"
461
465
  })
462
466
  }, null, 38),
463
- a.enableRangeHandles ? ie((m(), v("input", {
467
+ a.enableRangeHandles ? oe((m(), v("input", {
464
468
  ref_key: "rangeStart",
465
- ref: P,
466
- key: `range-min${Se.value}`,
469
+ ref: I,
470
+ key: `range-min${Ce.value}`,
467
471
  type: "range",
468
472
  class: L({ "range-left": !0, "range-handle": !0, "range-minimap": M.value && a.verticalHandles }),
469
473
  min: a.min,
470
474
  max: a.max,
471
475
  "onUpdate:modelValue": l[5] || (l[5] = (n) => o.value = n),
472
- onInput: xe
473
- }, null, 42, ot)), [
474
- [re, o.value]
475
- ]) : b("", !0),
476
- a.enableRangeHandles ? ie((m(), v("input", {
476
+ onInput: we,
477
+ onMouseenter: l[6] || (l[6] = (n) => ie("start"))
478
+ }, null, 42, st)), [
479
+ [de, o.value]
480
+ ]) : x("", !0),
481
+ a.enableRangeHandles ? oe((m(), v("input", {
477
482
  key: 2,
478
483
  ref_key: "rangeEnd",
479
- ref: A,
484
+ ref: P,
480
485
  type: "range",
481
486
  class: L({ "range-right": !0, "range-handle": !0, "range-minimap": M.value && a.verticalHandles }),
482
487
  min: a.min,
483
488
  max: a.max,
484
- "onUpdate:modelValue": l[6] || (l[6] = (n) => r.value = n),
485
- onInput: ye
486
- }, null, 42, rt)), [
487
- [re, r.value]
488
- ]) : b("", !0),
489
+ "onUpdate:modelValue": l[7] || (l[7] = (n) => r.value = n),
490
+ onInput: Se,
491
+ onMouseenter: l[8] || (l[8] = (n) => ie("end"))
492
+ }, null, 42, dt)), [
493
+ [de, r.value]
494
+ ]) : x("", !0),
489
495
  a.labelLeft ? (m(), v("div", {
490
496
  key: 3,
491
497
  ref_key: "tooltipLeft",
@@ -493,16 +499,17 @@ const Oe = {
493
499
  class: L({
494
500
  "range-tooltip": !0,
495
501
  "range-tooltip-visible": C.value,
496
- "range-tooltip-arrow": y.value.arrowLeft && !a.verticalHandles,
497
- "range-tooltip-arrow-left": !y.value.arrowLeft && !a.verticalHandles
502
+ "range-tooltip-arrow": b.value.arrowLeft && !a.verticalHandles,
503
+ "range-tooltip-arrow-left": !b.value.arrowLeft && !a.verticalHandles
498
504
  }),
499
- style: N({
500
- left: y.value.tooltipLeft,
501
- color: G(me)(a.selectColor),
505
+ style: $({
506
+ left: b.value.tooltipLeft,
507
+ color: Z(he)(a.selectColor),
502
508
  backgroundColor: a.selectColor,
503
- border: `1px solid ${w.value}`
509
+ border: `1px solid ${w.value}`,
510
+ zIndex: `${ne.value + 4}`
504
511
  })
505
- }, se(a.labelLeft), 7)) : b("", !0),
512
+ }, ve(a.labelLeft), 7)) : x("", !0),
506
513
  a.labelRight ? (m(), v("div", {
507
514
  key: 4,
508
515
  ref_key: "tooltipRight",
@@ -510,20 +517,21 @@ const Oe = {
510
517
  class: L({
511
518
  "range-tooltip": !0,
512
519
  "range-tooltip-visible": C.value,
513
- "range-tooltip-arrow": y.value.arrowRight && !a.verticalHandles,
514
- "range-tooltip-arrow-right": !y.value.arrowRight && !a.verticalHandles
520
+ "range-tooltip-arrow": b.value.arrowRight && !a.verticalHandles,
521
+ "range-tooltip-arrow-right": !b.value.arrowRight && !a.verticalHandles
515
522
  }),
516
- style: N({
517
- left: y.value.tooltipRight,
518
- color: G(me)(a.selectColor),
523
+ style: $({
524
+ left: b.value.tooltipRight,
525
+ color: Z(he)(a.selectColor),
519
526
  backgroundColor: a.selectColor,
520
- border: `1px solid ${w.value}`
527
+ border: `1px solid ${w.value}`,
528
+ zIndex: "4"
521
529
  })
522
- }, se(a.labelRight), 7)) : b("", !0)
530
+ }, ve(a.labelRight), 7)) : x("", !0)
523
531
  ], 544)
524
532
  ], 544));
525
533
  }
526
- }, ft = /* @__PURE__ */ Ue(st, [["__scopeId", "data-v-a64f4070"]]);
534
+ }, pt = /* @__PURE__ */ Ze(vt, [["__scopeId", "data-v-04e0735b"]]);
527
535
  export {
528
- ft as S
536
+ pt as S
529
537
  };
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as l, openBlock as n, Fragment as f, createElementVNode as p, createCommentVNode as o, normalizeStyle as d, unref as e, toDisplayString as g, renderSlot as r } from "vue";
2
- import { u as c } from "./useNestedProp-BqIaNvIP.js";
2
+ import { u as c } from "./useNestedProp-DB5XMx_s.js";
3
3
  const x = {
4
4
  __name: "Title",
5
5
  props: {
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./useNestedProp-u-S0VYER.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}},lineHeight:{type:[String,Boolean],default:!1}},setup(i){const n=i,t=r.useNestedProp({userConfig:n.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0,textAlign:"center",paddingLeft:0,paddingRight:0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(l,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"atom-title",style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).title.color};font-size:${e.unref(t).title.fontSize}px;font-weight:${e.unref(t).title.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).title.text),5),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"atom-subtitle",style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).subtitle.text),5)):e.createCommentVNode("",!0),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},[e.renderSlot(l.$slots,"default")],4)):e.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
1
+ "use strict";const e=require("vue"),r=require("./useNestedProp-DVSKLFhF.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}},lineHeight:{type:[String,Boolean],default:!1}},setup(i){const n=i,t=r.useNestedProp({userConfig:n.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0,textAlign:"center",paddingLeft:0,paddingRight:0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(l,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"atom-title",style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).title.color};font-size:${e.unref(t).title.fontSize}px;font-weight:${e.unref(t).title.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).title.text),5),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"atom-subtitle",style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).subtitle.text),5)):e.createCommentVNode("",!0),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},[e.renderSlot(l.$slots,"default")],4)):e.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
@@ -1,5 +1,5 @@
1
1
  import { ref as a, onMounted as b, onUnmounted as h, computed as p, createBlock as g, openBlock as v, Teleport as x, createElementBlock as S, createCommentVNode as k, normalizeStyle as $, normalizeClass as C, renderSlot as c, createElementVNode as B } from "vue";
2
- import { s as F } from "./index-LYjDwaWo.js";
2
+ import { s as F } from "./index-CVHop7bB.js";
3
3
  function w({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: u = 24, blockShiftY: s = !1 }) {
4
4
  const l = a(0), f = a(u);
5
5
  if (e && o) {
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),p=require("./index-CIkaV--H.cjs");function y({tooltip:e,chart:l,clientPosition:o,positionPreference:u="center",defaultOffsetY:a=24,blockShiftY:f=!1}){const n=t.ref(0),s=t.ref(a);if(e&&l){const{width:r,height:c}=e.getBoundingClientRect(),{right:i,left:d,bottom:v}=l.getBoundingClientRect();u==="center"&&(o.x+r/2>i?n.value=-r+(i-o.x):o.x-r/2<d?n.value=-r+(r-(o.x-d)):n.value=-r/2),u==="right"&&(o.x+r>i?n.value=-r+(i-o.x):n.value=0),u==="left"&&(o.x<d+r?n.value=-r+(r-(o.x-d)):n.value=-r),o.y+c>v&&!f&&(s.value=-c-a)}return{top:o.y+s.value,left:o.x+n.value}}function b(e,l,o){t.onMounted(()=>e.addEventListener(l,o)),t.onUnmounted(()=>e.removeEventListener(l,o))}function m(){const e=t.ref(0),l=t.ref(0);return b(window,"mousemove",o=>{e.value=o.clientX,l.value=o.clientY}),{x:e,y:l}}const h=["aria-hidden"],g=["innerHTML"],x={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:"center"},offsetY:{type:Number,default:24},blockShiftY:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1}},setup(e){const l=e,o=t.ref(null),u=t.ref(m(l.parent)),a=t.computed(()=>y({tooltip:o.value,chart:l.parent,clientPosition:u.value,positionPreference:l.position,defaultOffsetY:l.offsetY,blockShiftY:l.blockShiftY})),f=t.computed(()=>p.setOpacity(l.backgroundColor,l.backgroundOpacity));return(n,s)=>(t.openBlock(),t.createBlock(t.Teleport,{to:e.isFullscreen?e.parent:"body"},[e.show?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"tooltip",ref:o,role:"tooltip","aria-hidden":!e.show,"aria-live":"polite",class:t.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:t.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${f.value};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};z-index:2147483647;`)},[t.renderSlot(n.$slots,"tooltip-before"),t.renderSlot(n.$slots,"default"),t.createElementVNode("div",{innerHTML:e.content},null,8,g),t.renderSlot(n.$slots,"tooltip-after")],14,h)):t.createCommentVNode("",!0)],8,["to"]))}};exports._sfc_main=x;exports.useMouse=m;
1
+ "use strict";const t=require("vue"),p=require("./index-CuhZ_hul.cjs");function y({tooltip:e,chart:l,clientPosition:o,positionPreference:u="center",defaultOffsetY:a=24,blockShiftY:f=!1}){const n=t.ref(0),s=t.ref(a);if(e&&l){const{width:r,height:c}=e.getBoundingClientRect(),{right:i,left:d,bottom:v}=l.getBoundingClientRect();u==="center"&&(o.x+r/2>i?n.value=-r+(i-o.x):o.x-r/2<d?n.value=-r+(r-(o.x-d)):n.value=-r/2),u==="right"&&(o.x+r>i?n.value=-r+(i-o.x):n.value=0),u==="left"&&(o.x<d+r?n.value=-r+(r-(o.x-d)):n.value=-r),o.y+c>v&&!f&&(s.value=-c-a)}return{top:o.y+s.value,left:o.x+n.value}}function b(e,l,o){t.onMounted(()=>e.addEventListener(l,o)),t.onUnmounted(()=>e.removeEventListener(l,o))}function m(){const e=t.ref(0),l=t.ref(0);return b(window,"mousemove",o=>{e.value=o.clientX,l.value=o.clientY}),{x:e,y:l}}const h=["aria-hidden"],g=["innerHTML"],x={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:"center"},offsetY:{type:Number,default:24},blockShiftY:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1}},setup(e){const l=e,o=t.ref(null),u=t.ref(m(l.parent)),a=t.computed(()=>y({tooltip:o.value,chart:l.parent,clientPosition:u.value,positionPreference:l.position,defaultOffsetY:l.offsetY,blockShiftY:l.blockShiftY})),f=t.computed(()=>p.setOpacity(l.backgroundColor,l.backgroundOpacity));return(n,s)=>(t.openBlock(),t.createBlock(t.Teleport,{to:e.isFullscreen?e.parent:"body"},[e.show?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"tooltip",ref:o,role:"tooltip","aria-hidden":!e.show,"aria-live":"polite",class:t.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:t.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${f.value};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};z-index:2147483647;`)},[t.renderSlot(n.$slots,"tooltip-before"),t.renderSlot(n.$slots,"default"),t.createElementVNode("div",{innerHTML:e.content},null,8,g),t.renderSlot(n.$slots,"tooltip-after")],14,h)):t.createCommentVNode("",!0)],8,["to"]))}};exports._sfc_main=x;exports.useMouse=m;