vue-data-ui 2.4.79 → 2.4.81

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 (152) hide show
  1. package/dist/{Arrow-Ckps_h_h.cjs → Arrow-B5feB4GW.cjs} +1 -1
  2. package/dist/{Arrow-CZYIn9eL.js → Arrow-CZLkcJVq.js} +1 -1
  3. package/dist/{BaseIcon-BmzdBA_n.js → BaseIcon-BFcTNsIG.js} +1 -1
  4. package/dist/{BaseIcon-DmjD9_x3.cjs → BaseIcon-BhX3JzGa.cjs} +1 -1
  5. package/dist/{DataTable-B2jdS-OG.js → DataTable-BCbohPS1.js} +2 -2
  6. package/dist/{DataTable-CX55KEac.cjs → DataTable-BZzx7J1t.cjs} +1 -1
  7. package/dist/{Legend-DCSiQPuL.js → Legend-B5D-s5U2.js} +2 -2
  8. package/dist/{Legend-DSoIWaIm.cjs → Legend-CKUgC5Kb.cjs} +1 -1
  9. package/dist/{PackageVersion-DLubhuZS.cjs → PackageVersion-Br8o3vup.cjs} +1 -1
  10. package/dist/{PackageVersion-CiKxfy3h.js → PackageVersion-tnJukwUC.js} +1 -1
  11. package/dist/{PenAndPaper-Dkvtj3o8.js → PenAndPaper-BSERPCh1.js} +3 -3
  12. package/dist/{PenAndPaper-DmTTxoH_.cjs → PenAndPaper-DZexiN3O.cjs} +1 -1
  13. package/dist/{Shape-BO_Ef-2H.js → Shape-BWRHW_rv.js} +1 -1
  14. package/dist/{Shape-DicDy5ja.cjs → Shape-XHipntsr.cjs} +1 -1
  15. package/dist/Slicer-COSSAvhP.js +546 -0
  16. package/dist/Slicer-Cn0rMO8V.cjs +1 -0
  17. package/dist/{Title-B4ZkvXK-.js → Title-D4uHI3XO.js} +1 -1
  18. package/dist/{Title-Dc2F9vf7.cjs → Title-nNu_tpWV.cjs} +1 -1
  19. package/dist/{Tooltip-B0LX9lY0.js → Tooltip-B4RlEv6t.js} +1 -1
  20. package/dist/{Tooltip-Cd-T5cyc.cjs → Tooltip-CjLh_PQm.cjs} +1 -1
  21. package/dist/{index-DJL-Bkqp.js → index-B7fU5WLk.js} +1 -1
  22. package/dist/{index-0dnbsm6P.cjs → index-CNb2Ph0E.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-B5IAA861.cjs → useNestedProp-CFDJyc2s.cjs} +1 -1
  25. package/dist/{useNestedProp-uEksOW7g.js → useNestedProp-a8jnEonn.js} +1 -1
  26. package/dist/{usePrinter-CRgTdjvo.cjs → usePrinter-DgQrqoh_.cjs} +1 -1
  27. package/dist/{usePrinter-DdGbL4Nm.js → usePrinter-O_DU0JKv.js} +1 -1
  28. package/dist/{vue-data-ui-DH_NVt2Y.js → vue-data-ui-Bw8DSeYe.js} +60 -60
  29. package/dist/{vue-data-ui-DnUrT668.cjs → vue-data-ui-qw3_EzWl.cjs} +1 -1
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-CHmad-2R.cjs → vue-ui-3d-bar-D469cAty.cjs} +1 -1
  33. package/dist/{vue-ui-3d-bar-E96Fh4bt.js → vue-ui-3d-bar-zCx0lRgl.js} +9 -9
  34. package/dist/{vue-ui-accordion-BFiGf3JH.cjs → vue-ui-accordion-BV2XgApS.cjs} +1 -1
  35. package/dist/{vue-ui-accordion-B_eXBJPl.js → vue-ui-accordion-Dx-yvrEA.js} +3 -3
  36. package/dist/{vue-ui-age-pyramid-CXRrdWei.js → vue-ui-age-pyramid-COEgL2Hh.js} +10 -10
  37. package/dist/{vue-ui-age-pyramid-e_hykrXO.cjs → vue-ui-age-pyramid-CaZYWlmo.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-BgORX2C5.cjs → vue-ui-annotator-C0R2JKB4.cjs} +1 -1
  39. package/dist/{vue-ui-annotator-D9LEIs0K.js → vue-ui-annotator-CzNHNoHJ.js} +1 -1
  40. package/dist/{vue-ui-bullet-BOkYPzif.cjs → vue-ui-bullet-CgZp4FCU.cjs} +1 -1
  41. package/dist/{vue-ui-bullet-Bag56IIJ.js → vue-ui-bullet-PJnEQRSA.js} +8 -8
  42. package/dist/{vue-ui-candlestick-DO-VI3mP.js → vue-ui-candlestick-Bgqnvm__.js} +11 -11
  43. package/dist/{vue-ui-candlestick-B-jIAcFq.cjs → vue-ui-candlestick-BuQtY4m4.cjs} +1 -1
  44. package/dist/{vue-ui-carousel-table-BMIh1Ebr.js → vue-ui-carousel-table-CNYzzf1N.js} +4 -4
  45. package/dist/{vue-ui-carousel-table-EsGc3cUz.cjs → vue-ui-carousel-table-Ken-wIAI.cjs} +1 -1
  46. package/dist/{vue-ui-chestnut-DztcJ6be.cjs → vue-ui-chestnut-6CegUsaY.cjs} +1 -1
  47. package/dist/{vue-ui-chestnut-DSvIYyla.js → vue-ui-chestnut-b3mTec6F.js} +8 -8
  48. package/dist/{vue-ui-cursor-BoIxmcTJ.js → vue-ui-cursor-DKl-aRdY.js} +2 -2
  49. package/dist/{vue-ui-cursor-CIRMZioa.cjs → vue-ui-cursor-sC3CZaCc.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-CGKgFm-J.cjs → vue-ui-dashboard-CYKiylV3.cjs} +1 -1
  51. package/dist/{vue-ui-dashboard-DEPiIO5h.js → vue-ui-dashboard-Utsqxv01.js} +2 -2
  52. package/dist/{vue-ui-digits-5mLwwYL4.cjs → vue-ui-digits-BNvINOgu.cjs} +1 -1
  53. package/dist/{vue-ui-digits-BsoQJduO.js → vue-ui-digits-vd3XR1xI.js} +2 -2
  54. package/dist/{vue-ui-donut-llWIbtQp.cjs → vue-ui-donut-BAzQts_W.cjs} +1 -1
  55. package/dist/{vue-ui-donut-G2ULBU8l.js → vue-ui-donut-Do6CEP72.js} +12 -12
  56. package/dist/{vue-ui-donut-evolution-Blr2REpx.cjs → vue-ui-donut-evolution-Bn6Ic2MJ.cjs} +1 -1
  57. package/dist/{vue-ui-donut-evolution-BTrHgtdk.js → vue-ui-donut-evolution-k44KMip6.js} +11 -11
  58. package/dist/{vue-ui-dumbbell-B6sZjfji.cjs → vue-ui-dumbbell-CDLEdwzD.cjs} +1 -1
  59. package/dist/{vue-ui-dumbbell-B016NgrO.js → vue-ui-dumbbell-DngNlwGT.js} +10 -10
  60. package/dist/{vue-ui-flow-DBSOYUBa.cjs → vue-ui-flow-BSGIx59P.cjs} +1 -1
  61. package/dist/{vue-ui-flow-Drv-rQxc.js → vue-ui-flow-CICZyox2.js} +9 -9
  62. package/dist/{vue-ui-funnel-BToC759R.js → vue-ui-funnel-6h6FkbDn.js} +9 -9
  63. package/dist/{vue-ui-funnel-DB2ffuqD.cjs → vue-ui-funnel-CzyguUVS.cjs} +1 -1
  64. package/dist/{vue-ui-galaxy-BugfEsdL.js → vue-ui-galaxy-CIHXpDvb.js} +11 -11
  65. package/dist/{vue-ui-galaxy-Bv5qHEuI.cjs → vue-ui-galaxy-iAMbxHLo.cjs} +1 -1
  66. package/dist/{vue-ui-gauge-Dz6mZtio.cjs → vue-ui-gauge-BcNkphEz.cjs} +1 -1
  67. package/dist/{vue-ui-gauge-B1e3bQ5v.js → vue-ui-gauge-DQ50gxRQ.js} +7 -7
  68. package/dist/{vue-ui-gizmo-BnI-keJZ.js → vue-ui-gizmo-DrAsi_5R.js} +3 -3
  69. package/dist/{vue-ui-gizmo-qy22gBYB.cjs → vue-ui-gizmo-H4mKho6G.cjs} +1 -1
  70. package/dist/{vue-ui-heatmap-CWlfZsyN.cjs → vue-ui-heatmap-BO72S1qh.cjs} +1 -1
  71. package/dist/{vue-ui-heatmap-I3_jZmtP.js → vue-ui-heatmap-H1WewlPO.js} +10 -10
  72. package/dist/{vue-ui-history-plot-Dy5l19KO.cjs → vue-ui-history-plot-C9yEfACf.cjs} +1 -1
  73. package/dist/{vue-ui-history-plot-DB6tM7q1.js → vue-ui-history-plot-DKBblaYn.js} +11 -11
  74. package/dist/{vue-ui-kpi-CMPPk7-2.js → vue-ui-kpi-C8YbA-Kl.js} +3 -3
  75. package/dist/{vue-ui-kpi-C-RJn7Qb.cjs → vue-ui-kpi-uelHsQWr.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-BTovhpqa.js → vue-ui-mini-loader-DcK8hLT4.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-DdgUBFgc.cjs → vue-ui-mini-loader-MykZmUc_.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-BToE-D1m.cjs → vue-ui-molecule-DrPUN3Fl.cjs} +1 -1
  79. package/dist/{vue-ui-molecule-DEApFPTb.js → vue-ui-molecule-zVL5IunG.js} +11 -11
  80. package/dist/{vue-ui-mood-radar-DidL44m8.js → vue-ui-mood-radar-CwDLQgVT.js} +11 -11
  81. package/dist/{vue-ui-mood-radar-CzQJlxHB.cjs → vue-ui-mood-radar-DzpFRMqD.cjs} +1 -1
  82. package/dist/{vue-ui-nested-donuts-B4rvzmai.cjs → vue-ui-nested-donuts--DMpmY1s.cjs} +1 -1
  83. package/dist/{vue-ui-nested-donuts-CZCq_ntG.js → vue-ui-nested-donuts-DiCSIxOU.js} +11 -11
  84. package/dist/{vue-ui-onion-Bz7SkpKH.js → vue-ui-onion-BBrCcL_M.js} +11 -11
  85. package/dist/{vue-ui-onion-BN1bQ_8T.cjs → vue-ui-onion-CSzPeGjM.cjs} +1 -1
  86. package/dist/{vue-ui-parallel-coordinate-plot-ihPS549o.cjs → vue-ui-parallel-coordinate-plot-BC_qYf_W.cjs} +1 -1
  87. package/dist/{vue-ui-parallel-coordinate-plot-BROqRQi1.js → vue-ui-parallel-coordinate-plot-CBuVQGPg.js} +12 -12
  88. package/dist/{vue-ui-quadrant-D-8RaXV1.cjs → vue-ui-quadrant-Beqj1ISx.cjs} +1 -1
  89. package/dist/{vue-ui-quadrant-a8UWsJs0.js → vue-ui-quadrant-CEkmxOaL.js} +12 -12
  90. package/dist/{vue-ui-quick-chart-vJIqGDPA.cjs → vue-ui-quick-chart-Ab0-PxOg.cjs} +1 -1
  91. package/dist/{vue-ui-quick-chart-DtOsqO98.js → vue-ui-quick-chart-TGosac3Z.js} +9 -9
  92. package/dist/{vue-ui-radar-CqVTynLe.cjs → vue-ui-radar-D0iCWBAh.cjs} +1 -1
  93. package/dist/{vue-ui-radar-DpdtzwTa.js → vue-ui-radar-Zy4m8IoU.js} +12 -12
  94. package/dist/{vue-ui-rating-CrSkkJtF.js → vue-ui-rating-D4vZZ0Fh.js} +2 -2
  95. package/dist/{vue-ui-rating-DlIF1TSo.cjs → vue-ui-rating-Hi4W3jkO.cjs} +1 -1
  96. package/dist/{vue-ui-relation-circle-BNqozco5.cjs → vue-ui-relation-circle-BpcYfiwv.cjs} +1 -1
  97. package/dist/{vue-ui-relation-circle-DAbgurAL.js → vue-ui-relation-circle-DDfRhzEu.js} +7 -7
  98. package/dist/{vue-ui-rings-FuqykMtf.js → vue-ui-rings-DV8LwPTs.js} +12 -12
  99. package/dist/{vue-ui-rings-BQBc8s_2.cjs → vue-ui-rings-DpylNVBU.cjs} +1 -1
  100. package/dist/{vue-ui-scatter-Cspy4HEB.cjs → vue-ui-scatter-Ce8ObNMk.cjs} +1 -1
  101. package/dist/{vue-ui-scatter-LB5ZPicT.js → vue-ui-scatter-nhbYB8p9.js} +12 -12
  102. package/dist/{vue-ui-screenshot-DGJZevoI.cjs → vue-ui-screenshot-EcnPf1sf.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-BOSDTFhQ.js → vue-ui-screenshot-Mcrw_RZw.js} +1 -1
  104. package/dist/{vue-ui-skeleton-DgPl6VyF.cjs → vue-ui-skeleton-DIRrkcMt.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-z4MGfNaM.js → vue-ui-skeleton-KQYInPj5.js} +3 -3
  106. package/dist/{vue-ui-smiley-BH4kob-0.js → vue-ui-smiley-B5qpnewW.js} +2 -2
  107. package/dist/{vue-ui-smiley-DAx9UeuW.cjs → vue-ui-smiley-g-3pFrAR.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-C1IgkFvC.cjs → vue-ui-spark-trend-DqyXgXUw.cjs} +1 -1
  109. package/dist/{vue-ui-spark-trend-B2zsG57C.js → vue-ui-spark-trend-TSx_b-l2.js} +5 -5
  110. package/dist/{vue-ui-sparkbar-DTAMO_6l.cjs → vue-ui-sparkbar-BIYyc9dS.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-BxILnvE_.js → vue-ui-sparkbar-r5j1tSNf.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-Bh6Xnlrr.js → vue-ui-sparkgauge-BkVb0JzB.js} +4 -4
  113. package/dist/{vue-ui-sparkgauge-oKz3v_tA.cjs → vue-ui-sparkgauge-QlSNUZbd.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-hroDFCtN.js → vue-ui-sparkhistogram-CrkmhDHO.js} +5 -5
  115. package/dist/{vue-ui-sparkhistogram-BwHRHEjh.cjs → vue-ui-sparkhistogram-HGHam3dw.cjs} +1 -1
  116. package/dist/{vue-ui-sparkline-DVsfUCqf.cjs → vue-ui-sparkline-DdoXi8nw.cjs} +1 -1
  117. package/dist/{vue-ui-sparkline-BoTbKk0m.js → vue-ui-sparkline-nrCKkIet.js} +4 -4
  118. package/dist/{vue-ui-sparkstackbar-BPLyPxbb.cjs → vue-ui-sparkstackbar-CAwLMuQN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-Dx-gwkJS.js → vue-ui-sparkstackbar-xPWVusMJ.js} +5 -5
  120. package/dist/{vue-ui-stackbar-Bo35LeX3.cjs → vue-ui-stackbar-BFYgUgwf.cjs} +1 -1
  121. package/dist/{vue-ui-stackbar-CytcFp3F.js → vue-ui-stackbar-jh-8MPcm.js} +13 -13
  122. package/dist/{vue-ui-strip-plot-BWElug2N.js → vue-ui-strip-plot-BF1bUj82.js} +11 -11
  123. package/dist/{vue-ui-strip-plot-6YPlHYHR.cjs → vue-ui-strip-plot-DtdaahK3.cjs} +1 -1
  124. package/dist/{vue-ui-table-CkyKeMnT.js → vue-ui-table-BgXTzM2c.js} +1 -1
  125. package/dist/{vue-ui-table-CpaLMB0s.cjs → vue-ui-table-DRQyaB4t.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-C2p-9Bww.cjs → vue-ui-table-heatmap-3ya1Go9d.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-REK_djPO.js → vue-ui-table-heatmap-faPZwjgJ.js} +4 -4
  128. package/dist/{vue-ui-table-sparkline-XH9Z7XJu.js → vue-ui-table-sparkline-Cj-Ug3wy.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-D-p7um7k.cjs → vue-ui-table-sparkline-pWs88VI2.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-CHDexaNq.js → vue-ui-thermometer-CEnYQ54F.js} +7 -7
  131. package/dist/{vue-ui-thermometer-B2_wvLY0.cjs → vue-ui-thermometer-gUZ-Uao2.cjs} +1 -1
  132. package/dist/{vue-ui-timer-CO-ocJlg.js → vue-ui-timer-CU3XETJ-.js} +5 -5
  133. package/dist/{vue-ui-timer-XNil_xPc.cjs → vue-ui-timer-CzS8Zg4k.cjs} +1 -1
  134. package/dist/{vue-ui-tiremarks-PhCHMESG.cjs → vue-ui-tiremarks-D5XnNp0V.cjs} +1 -1
  135. package/dist/{vue-ui-tiremarks-D1KhIO-C.js → vue-ui-tiremarks-fixoZYdb.js} +7 -7
  136. package/dist/{vue-ui-treemap-CTaRPtej.js → vue-ui-treemap-BhAgEilS.js} +11 -11
  137. package/dist/{vue-ui-treemap-eRw-KvRP.cjs → vue-ui-treemap-Co2CbAZd.cjs} +1 -1
  138. package/dist/{vue-ui-vertical-bar-C397hdCy.cjs → vue-ui-vertical-bar-DvNO2R0-.cjs} +1 -1
  139. package/dist/{vue-ui-vertical-bar-CKNaAzgO.js → vue-ui-vertical-bar-HzJ5GmsI.js} +12 -12
  140. package/dist/{vue-ui-waffle-IiqKFXtD.js → vue-ui-waffle-AGN20-0q.js} +12 -12
  141. package/dist/{vue-ui-waffle-BoPIMVpL.cjs → vue-ui-waffle-bdM6HhMu.cjs} +1 -1
  142. package/dist/{vue-ui-wheel-zs6y5J02.cjs → vue-ui-wheel-Cpcu5plD.cjs} +1 -1
  143. package/dist/{vue-ui-wheel-Qxs183kC.js → vue-ui-wheel-lYTZy9Hu.js} +7 -7
  144. package/dist/{vue-ui-word-cloud-CKmr45uE.cjs → vue-ui-word-cloud-DiNiQ1ak.cjs} +1 -1
  145. package/dist/{vue-ui-word-cloud-7WimWD85.js → vue-ui-word-cloud-Dvr2Tg54.js} +10 -10
  146. package/dist/{vue-ui-xy-DMwaxdDv.js → vue-ui-xy-CGHDqIWS.js} +14 -14
  147. package/dist/{vue-ui-xy-CkFO_zsE.cjs → vue-ui-xy-DwwoYJ0W.cjs} +1 -1
  148. package/dist/{vue-ui-xy-canvas-Cr3-2wGm.cjs → vue-ui-xy-canvas-BhNmySrC.cjs} +1 -1
  149. package/dist/{vue-ui-xy-canvas-3FUkwO0G.js → vue-ui-xy-canvas-BrkB-rqK.js} +11 -11
  150. package/package.json +1 -1
  151. package/dist/Slicer-3blwRUEA.js +0 -491
  152. package/dist/Slicer-be7PbWkd.cjs +0 -1
@@ -0,0 +1,546 @@
1
+ import { useCssVars as De, ref as o, computed as r, watch as R, onMounted as Te, onBeforeUnmount as ze, onUpdated as Ie, nextTick as ne, openBlock as v, createElementBlock as c, createElementVNode as d, normalizeStyle as $, createVNode as Pe, renderSlot as Ae, createCommentVNode as x, unref as G, Fragment as ie, renderList as oe, normalizeClass as L, withDirectives as ue, vModelText as re, toDisplayString as se, pushScopeId as Fe, popScopeId as He } from "vue";
2
+ import Ve from "./BaseIcon-BFcTNsIG.js";
3
+ import { t as We, u as Xe } from "./useResponsive-CoxXLe23.js";
4
+ import { c as Ue, R as de, Q as ve, X as Oe, G as ce } from "./index-B7fU5WLk.js";
5
+ import { _ as Ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const me = (l) => (Fe("data-v-2b4854c7"), l = l(), He(), l), je = {
7
+ class: "vue-data-ui-slicer-labels",
8
+ style: { position: "relative", "z-index": "1", "pointer-events": "none" }
9
+ }, Ze = {
10
+ key: 0,
11
+ style: { width: "100%", position: "relative" }
12
+ }, qe = {
13
+ key: 0,
14
+ class: "minimap",
15
+ style: { width: "100%" }
16
+ }, Qe = ["xmlns", "viewBox"], Je = ["id"], Ke = ["stop-color"], Ye = /* @__PURE__ */ me(() => /* @__PURE__ */ d("stop", {
17
+ offset: "100%",
18
+ "stop-color": "transparent"
19
+ }, null, -1)), _e = ["d", "stroke"], et = ["x", "width", "height", "fill", "rx"], tt = ["d", "fill"], lt = ["x", "width", "height", "rx", "fill"], at = ["x", "width", "height", "fill", "rx"], nt = ["d", "fill"], it = ["d", "stroke"], ot = ["cx", "cy", "stroke", "fill"], ut = ["cx", "cy", "stroke", "fill"], rt = ["x1", "x2", "y2", "stroke"], st = ["x", "height", "width", "onMouseenter"], dt = /* @__PURE__ */ me(() => /* @__PURE__ */ d("div", { class: "slider-track" }, null, -1)), vt = ["min", "max"], ct = ["min", "max"], mt = {
20
+ __name: "Slicer",
21
+ props: {
22
+ background: {
23
+ type: String,
24
+ default: "#FFFFFF"
25
+ },
26
+ borderColor: {
27
+ type: String,
28
+ default: "#FFFFFF"
29
+ },
30
+ fontSize: {
31
+ type: Number,
32
+ default: 14
33
+ },
34
+ labelLeft: {
35
+ type: String,
36
+ default: ""
37
+ },
38
+ labelRight: {
39
+ type: String,
40
+ default: ""
41
+ },
42
+ textColor: {
43
+ type: String,
44
+ default: "#1A1A1A"
45
+ },
46
+ inputColor: {
47
+ type: String,
48
+ default: "#1A1A1A"
49
+ },
50
+ max: {
51
+ type: Number,
52
+ default: 0
53
+ },
54
+ min: {
55
+ type: Number,
56
+ default: 0
57
+ },
58
+ selectColor: {
59
+ type: String,
60
+ default: "#4A4A4A"
61
+ },
62
+ useResetSlot: {
63
+ type: Boolean,
64
+ default: !1
65
+ },
66
+ valueStart: {
67
+ type: [Number, String],
68
+ default: 0
69
+ },
70
+ valueEnd: {
71
+ type: [Number, String],
72
+ default: 0
73
+ },
74
+ minimap: {
75
+ type: Array,
76
+ default: []
77
+ },
78
+ smoothMinimap: {
79
+ type: Boolean,
80
+ default: !1
81
+ },
82
+ minimapSelectedColor: {
83
+ type: String,
84
+ default: "#1f77b4"
85
+ },
86
+ minimapSelectionRadius: {
87
+ type: Number,
88
+ default: 12
89
+ },
90
+ minimapLineColor: {
91
+ type: String,
92
+ default: "#2D353C"
93
+ },
94
+ minimapSelectedColorOpacity: {
95
+ type: Number,
96
+ default: 0.2
97
+ },
98
+ minimapSelectedIndex: {
99
+ type: Number,
100
+ default: null
101
+ },
102
+ minimapIndicatorColor: {
103
+ type: String,
104
+ default: "#2D353C"
105
+ },
106
+ refreshStartPoint: {
107
+ type: Number,
108
+ default: 0
109
+ },
110
+ refreshEndPoint: {
111
+ type: Number,
112
+ default: null
113
+ },
114
+ enableRangeHandles: {
115
+ type: Boolean,
116
+ default: !1
117
+ },
118
+ enableSelectionDrag: {
119
+ type: Boolean,
120
+ default: !0
121
+ },
122
+ verticalHandles: {
123
+ type: Boolean,
124
+ default: !1
125
+ }
126
+ },
127
+ emits: ["update:start", "update:end", "reset", "trapMouse"],
128
+ setup(l, { expose: he, emit: b }) {
129
+ const e = l;
130
+ De((t) => ({
131
+ "19064bf4": ge.value,
132
+ e91b3b0c: w.value,
133
+ "182bac6b": xe.value,
134
+ "6ba7a3aa": l.selectColor,
135
+ "39ae2938": pe.value
136
+ }));
137
+ const f = o(null), u = o(e.min), s = o(e.max), y = r(() => !!e.minimap.length), D = o(Ue()), fe = r(() => e.refreshEndPoint === null ? e.max : e.refreshEndPoint), S = r(() => {
138
+ const t = e.max - e.min, a = (u.value - e.min) / t * 100, n = (s.value - e.min) / t * 100;
139
+ return {
140
+ left: `${a}%`,
141
+ width: `${n - a}%`,
142
+ background: e.selectColor,
143
+ tooltipLeft: `calc(${a}% - ${j.value ? 0 : U.value / 2}px)`,
144
+ tooltipRight: `calc(${n}% - ${Z.value ? B.value : B.value / 2}px)`,
145
+ arrowLeft: !j.value,
146
+ arrowRight: !Z.value
147
+ };
148
+ }), j = r(() => f.value ? f.value.getBoundingClientRect().width * ((u.value - e.min) / (e.max - e.min)) - U.value / 2 < 0 : !1), Z = r(() => f.value ? f.value.getBoundingClientRect().width * ((s.value - e.min) / (e.max - e.min)) + B.value / 2 > f.value.getBoundingClientRect().width : !1), ge = r(() => e.inputColor), pe = r(() => e.background), xe = r(() => `${e.selectColor}33`), w = r(() => e.borderColor), q = r(() => {
149
+ let t = [];
150
+ for (let a = 0; a < e.minimap.length; a += 1)
151
+ t.push(a);
152
+ return t;
153
+ });
154
+ function Q() {
155
+ b("reset");
156
+ }
157
+ function be() {
158
+ Number(u.value) > Number(s.value) - 1 && (u.value = Number(s.value) - 1), b("update:start", Number(u.value));
159
+ }
160
+ function ye() {
161
+ Number(s.value) < Number(u.value) + 1 && (s.value = Number(u.value) + 1), b("update:end", Number(s.value));
162
+ }
163
+ R(
164
+ () => e.min,
165
+ (t) => {
166
+ Number(u.value) < Number(t) && (u.value = Number(t)), Number(s.value) < Number(t) && (s.value = Number(t));
167
+ }
168
+ ), R(
169
+ () => e.max,
170
+ (t) => {
171
+ Number(u.value) > Number(t) && (u.value = Number(t)), Number(s.value) > Number(t) && (s.value = Number(t));
172
+ }
173
+ );
174
+ const T = o(null), i = o({
175
+ width: 1,
176
+ height: 1
177
+ }), E = o(null);
178
+ Te(() => {
179
+ if (y.value) {
180
+ const t = We(() => {
181
+ const { width: a, height: n } = Xe({
182
+ chart: T.value
183
+ });
184
+ i.value.width = a, i.value.height = n - 47;
185
+ });
186
+ E.value = new ResizeObserver(t), E.value.observe(T.value);
187
+ }
188
+ }), ze(() => {
189
+ E.value && E.value.disconnect();
190
+ });
191
+ const m = r(() => e.minimap.length ? i.value.width / e.minimap.length : 0), g = r(() => {
192
+ if (!e.minimap.length) return [];
193
+ const t = Math.max(...e.minimap), a = Math.min(...e.minimap) - 10, n = t - (a > 0 ? 0 : a), h = e.minimap.map((Le, Ee) => {
194
+ const Be = Le - a;
195
+ return {
196
+ x: i.value.width / e.minimap.length * Ee + m.value / 2,
197
+ y: i.value.height - Be / n * (i.value.height * 0.9)
198
+ };
199
+ }), k = e.smoothMinimap ? de(h) : ve(h), O = [...h].slice(e.valueStart, e.valueEnd), Re = e.smoothMinimap ? de(O) : ve(O);
200
+ return {
201
+ fullSet: k,
202
+ selectionSet: Re,
203
+ sliced: O,
204
+ firstPlot: h[e.valueStart],
205
+ lastPlot: h[e.valueEnd - 1]
206
+ };
207
+ }), p = r(() => ({
208
+ x: m.value * u.value + m.value / 2,
209
+ width: i.value.width * ((s.value - u.value) / e.max) - m.value
210
+ }));
211
+ r(() => ({
212
+ left: 0,
213
+ color: e.textColor,
214
+ fontSize: `${e.fontSize}px`,
215
+ top: y.value ? "28px" : "-28px",
216
+ pointerEvents: "none"
217
+ })), r(() => ({
218
+ right: 0,
219
+ color: e.textColor,
220
+ fontSize: `${e.fontSize}px`,
221
+ top: y.value ? "28px" : "-28px",
222
+ direction: "rtl",
223
+ pointerEvents: "none"
224
+ }));
225
+ const M = o(e.minimapSelectedIndex);
226
+ R(() => e.minimapSelectedIndex, (t) => {
227
+ M.value = t + e.valueStart;
228
+ }, { immediate: !0 });
229
+ function Se(t) {
230
+ M.value = t, t >= e.valueStart && t < e.valueEnd && b("trapMouse", t - e.valueStart);
231
+ }
232
+ const we = o(0), z = o(null), I = o(null);
233
+ function P(t) {
234
+ u.value = t, z.value && (z.value.value = t), b("update:start", Number(u.value));
235
+ }
236
+ function A(t) {
237
+ s.value = t, I.value && (I.value.value = t), b("update:end", Number(s.value));
238
+ }
239
+ const F = r(() => e.valueEnd - e.valueStart), H = o(!1);
240
+ let V = o(null);
241
+ const ke = r(() => f.value ? (f.value.getBoundingClientRect().width - 48) / (e.max - e.min) : 20), Ce = r(() => (f.value.getBoundingClientRect().width - 48) / (e.max - e.min) * F.value), Ne = o(2.5), J = r(() => {
242
+ const t = f.value.getBoundingClientRect().width - 48;
243
+ return Math.ceil((e.max - e.min) / ((t - Ce.value) / Ne.value));
244
+ }), K = (t) => {
245
+ if (N.value = !0, !e.enableSelectionDrag)
246
+ return;
247
+ const a = t.type === "touchstart";
248
+ if ((a ? t.targetTouches[0].target : t.target).classList.contains("range-handle"))
249
+ return;
250
+ H.value = !0, V.value = a ? t.targetTouches[0].clientX : t.clientX;
251
+ const h = a ? $e : Y, k = a ? Me : ee;
252
+ window.addEventListener(a ? "touchmove" : "mousemove", h, { passive: !1 }), window.addEventListener(a ? "touchend" : "mouseup", k);
253
+ };
254
+ function Y(t) {
255
+ _(t.clientX);
256
+ }
257
+ function $e(t) {
258
+ f.value.contains(t.target) && (t.target.classList.contains("range-handle") || (t.preventDefault(), _(t.targetTouches[0].clientX)));
259
+ }
260
+ function _(t) {
261
+ if (!H.value) return;
262
+ const a = t - V.value;
263
+ if (Math.abs(a) > ke.value) {
264
+ if (a > 0) {
265
+ if (Number(s.value) + 1 <= e.max) {
266
+ const n = Math.min(e.max, Number(s.value) + J.value);
267
+ A(n), P(n - F.value);
268
+ }
269
+ } else if (Number(u.value) - 1 >= e.min) {
270
+ const n = Math.max(0, Number(u.value) - J.value);
271
+ P(n), A(n + F.value);
272
+ }
273
+ V.value = t;
274
+ }
275
+ }
276
+ function ee() {
277
+ te("mousemove", "mouseup");
278
+ }
279
+ function Me() {
280
+ te("touchmove", "touchend");
281
+ }
282
+ function te(t, a) {
283
+ H.value = !1, window.removeEventListener(t, Y), window.removeEventListener(a, ee);
284
+ }
285
+ const C = o(!1), W = o(null), X = o(null), U = o(1), B = o(1), N = o(!1);
286
+ function le() {
287
+ W.value && (U.value = W.value.getBoundingClientRect().width);
288
+ }
289
+ function ae() {
290
+ X.value && (B.value = X.value.getBoundingClientRect().width);
291
+ }
292
+ return Ie(() => {
293
+ le(), ae();
294
+ }), R(() => e.labelLeft, () => {
295
+ ne(le);
296
+ }, { deep: !0 }), R(() => e.labelRight, () => {
297
+ ne(ae);
298
+ }, { deep: !0 }), he({
299
+ setStartValue: P,
300
+ setEndValue: A
301
+ }), (t, a) => (v(), c("div", {
302
+ "data-html2canvas-ignore": "",
303
+ style: { padding: "0 24px" },
304
+ class: "vue-data-ui-zoom",
305
+ ref_key: "zoomWrapper",
306
+ ref: f,
307
+ onMousedown: K,
308
+ onTouchstart: K,
309
+ onTouchend: a[9] || (a[9] = (n) => N.value = !1)
310
+ }, [
311
+ d("div", je, [
312
+ l.valueStart !== l.refreshStartPoint || l.valueEnd !== fe.value ? (v(), c("div", Ze, [
313
+ l.useResetSlot ? Ae(t.$slots, "reset-action", {
314
+ key: 1,
315
+ reset: Q
316
+ }, void 0, !0) : (v(), c("button", {
317
+ key: 0,
318
+ "data-cy-reset": "",
319
+ tabindex: "0",
320
+ role: "button",
321
+ class: "vue-data-ui-refresh-button",
322
+ style: $({
323
+ top: y.value ? "36px" : "-16px",
324
+ pointerEvents: "all !important"
325
+ }),
326
+ onClick: Q
327
+ }, [
328
+ Pe(Ve, {
329
+ name: "refresh",
330
+ stroke: l.textColor
331
+ }, null, 8, ["stroke"])
332
+ ], 4))
333
+ ])) : x("", !0)
334
+ ]),
335
+ d("div", {
336
+ class: "double-range-slider",
337
+ ref_key: "minimapWrapper",
338
+ ref: T,
339
+ style: { "z-index": "0" },
340
+ onMouseenter: a[7] || (a[7] = (n) => N.value = !0),
341
+ onMouseleave: a[8] || (a[8] = (n) => N.value = !1)
342
+ }, [
343
+ y.value ? (v(), c("div", qe, [
344
+ (v(), c("svg", {
345
+ xmlns: G(Oe),
346
+ viewBox: `0 0 ${i.value.width < 0 ? 0 : i.value.width} ${i.value.height < 0 ? 0 : i.value.height}`
347
+ }, [
348
+ d("defs", null, [
349
+ d("linearGradient", {
350
+ id: D.value,
351
+ x1: "0%",
352
+ y1: "0%",
353
+ x2: "0%",
354
+ y2: "100%"
355
+ }, [
356
+ d("stop", {
357
+ offset: "0%",
358
+ "stop-color": `${l.minimapLineColor}50`
359
+ }, null, 8, Ke),
360
+ Ye
361
+ ], 8, Je)
362
+ ]),
363
+ d("path", {
364
+ d: `M${g.value.fullSet}`,
365
+ stroke: `${l.minimapLineColor}`,
366
+ fill: "none",
367
+ "stroke-width": "1",
368
+ "stroke-linecap": "round",
369
+ "stroke-linejoin": "round",
370
+ style: { opacity: "1" }
371
+ }, null, 8, _e),
372
+ d("rect", {
373
+ x: p.value.x,
374
+ width: p.value.width < 0 ? 0 : p.value.width,
375
+ height: Math.max(i.value.height, 0),
376
+ y: 0,
377
+ fill: w.value,
378
+ rx: l.minimapSelectionRadius,
379
+ stroke: "none"
380
+ }, null, 8, et),
381
+ d("path", {
382
+ d: `M${m.value / 2},${Math.max(i.value.height, 0)} ${g.value.fullSet} L${i.value.width - m.value / 2},${Math.max(i.value.height, 0)}Z`,
383
+ fill: `url(#${D.value})`,
384
+ stroke: "none",
385
+ style: { opacity: "1" }
386
+ }, null, 8, tt),
387
+ d("rect", {
388
+ x: p.value.x,
389
+ width: p.value.width < 0 ? 0 : p.value.width,
390
+ height: Math.max(i.value.height, 0),
391
+ y: 0,
392
+ rx: l.minimapSelectionRadius,
393
+ fill: w.value
394
+ }, null, 8, lt),
395
+ d("rect", {
396
+ x: p.value.x,
397
+ width: p.value.width < 0 ? 0 : p.value.width,
398
+ height: Math.max(i.value.height, 0),
399
+ y: 0,
400
+ fill: l.minimapSelectedColor,
401
+ rx: l.minimapSelectionRadius,
402
+ style: $({
403
+ opacity: l.minimapSelectedColorOpacity
404
+ })
405
+ }, null, 12, at),
406
+ d("path", {
407
+ 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`,
408
+ fill: `url(#${D.value})`,
409
+ stroke: "none",
410
+ style: { opacity: "1" }
411
+ }, null, 8, nt),
412
+ d("path", {
413
+ d: `M ${g.value.selectionSet}`,
414
+ stroke: `${l.minimapLineColor}`,
415
+ fill: "transparent",
416
+ "stroke-width": "2",
417
+ "stroke-linecap": "round",
418
+ "stroke-linejoin": "round"
419
+ }, null, 8, it),
420
+ d("circle", {
421
+ cx: g.value.firstPlot.x,
422
+ cy: g.value.firstPlot.y,
423
+ "stroke-width": "0.5",
424
+ stroke: w.value,
425
+ r: "3",
426
+ fill: l.minimapLineColor
427
+ }, null, 8, ot),
428
+ d("circle", {
429
+ cx: g.value.lastPlot.x,
430
+ cy: g.value.lastPlot.y,
431
+ "stroke-width": "0.5",
432
+ stroke: w.value,
433
+ r: "3",
434
+ fill: l.minimapLineColor
435
+ }, null, 8, ut),
436
+ M.value !== null ? (v(!0), c(ie, { key: 0 }, oe(q.value, (n, h) => (v(), c("g", null, [
437
+ M.value === n && n >= l.valueStart && n < l.valueEnd ? (v(), c("line", {
438
+ key: 0,
439
+ x1: m.value * h + m.value / 2,
440
+ x2: m.value * h + m.value / 2,
441
+ y1: 0,
442
+ y2: Math.max(i.value.height, 0),
443
+ stroke: l.minimapIndicatorColor,
444
+ "stroke-linecap": "round",
445
+ "stroke-dasharray": "2",
446
+ "stroke-width": "1"
447
+ }, null, 8, rt)) : x("", !0)
448
+ ]))), 256)) : x("", !0),
449
+ (v(!0), c(ie, null, oe(q.value, (n, h) => (v(), c("rect", {
450
+ x: m.value * h,
451
+ y: 0,
452
+ height: Math.max(i.value.height, 0),
453
+ width: m.value < 0 ? 0 : m.value,
454
+ fill: "transparent",
455
+ style: $([{ "pointer-events": "all !important" }, {
456
+ cursor: n >= l.valueStart && n < l.valueEnd && l.enableSelectionDrag ? C.value ? "grabbing" : "grab" : "default"
457
+ }]),
458
+ onMousedown: a[0] || (a[0] = (k) => C.value = !0),
459
+ onMouseup: a[1] || (a[1] = (k) => C.value = !1),
460
+ onMouseenter: (k) => Se(n),
461
+ onMouseleave: a[2] || (a[2] = (k) => {
462
+ M.value = null, b("trapMouse", null);
463
+ })
464
+ }, null, 44, st))), 256))
465
+ ], 8, Qe))
466
+ ])) : x("", !0),
467
+ dt,
468
+ d("div", {
469
+ class: L({
470
+ "range-highlight": !0,
471
+ move: l.enableSelectionDrag
472
+ }),
473
+ onMousedown: a[3] || (a[3] = (n) => C.value = !0),
474
+ onMouseup: a[4] || (a[4] = (n) => C.value = !1),
475
+ style: $({
476
+ ...S.value,
477
+ cursor: C.value ? "grabbing" : "grab"
478
+ })
479
+ }, null, 38),
480
+ l.enableRangeHandles ? ue((v(), c("input", {
481
+ ref_key: "rangeStart",
482
+ ref: z,
483
+ key: `range-min${we.value}`,
484
+ type: "range",
485
+ class: L({ "range-left": !0, "range-handle": !0, "range-minimap": y.value && l.verticalHandles }),
486
+ min: l.min,
487
+ max: l.max,
488
+ "onUpdate:modelValue": a[5] || (a[5] = (n) => u.value = n),
489
+ onInput: be
490
+ }, null, 42, vt)), [
491
+ [re, u.value]
492
+ ]) : x("", !0),
493
+ l.enableRangeHandles ? ue((v(), c("input", {
494
+ key: 2,
495
+ ref_key: "rangeEnd",
496
+ ref: I,
497
+ type: "range",
498
+ class: L({ "range-right": !0, "range-handle": !0, "range-minimap": y.value && l.verticalHandles }),
499
+ min: l.min,
500
+ max: l.max,
501
+ "onUpdate:modelValue": a[6] || (a[6] = (n) => s.value = n),
502
+ onInput: ye
503
+ }, null, 42, ct)), [
504
+ [re, s.value]
505
+ ]) : x("", !0),
506
+ l.labelLeft ? (v(), c("div", {
507
+ key: 3,
508
+ ref_key: "tooltipLeft",
509
+ ref: W,
510
+ class: L({
511
+ "range-tooltip": !0,
512
+ "range-tooltip-visible": N.value,
513
+ "range-tooltip-arrow": S.value.arrowLeft && !l.verticalHandles,
514
+ "range-tooltip-arrow-left": !S.value.arrowLeft && !l.verticalHandles
515
+ }),
516
+ style: $({
517
+ left: S.value.tooltipLeft,
518
+ color: G(ce)(l.selectColor),
519
+ backgroundColor: l.selectColor,
520
+ border: `1px solid ${w.value}`
521
+ })
522
+ }, se(l.labelLeft), 7)) : x("", !0),
523
+ l.labelRight ? (v(), c("div", {
524
+ key: 4,
525
+ ref_key: "tooltipRight",
526
+ ref: X,
527
+ class: L({
528
+ "range-tooltip": !0,
529
+ "range-tooltip-visible": N.value,
530
+ "range-tooltip-arrow": S.value.arrowRight && !l.verticalHandles,
531
+ "range-tooltip-arrow-right": !S.value.arrowRight && !l.verticalHandles
532
+ }),
533
+ style: $({
534
+ left: S.value.tooltipRight,
535
+ color: G(ce)(l.selectColor),
536
+ backgroundColor: l.selectColor,
537
+ border: `1px solid ${w.value}`
538
+ })
539
+ }, se(l.labelRight), 7)) : x("", !0)
540
+ ], 544)
541
+ ], 544));
542
+ }
543
+ }, bt = /* @__PURE__ */ Ge(mt, [["__scopeId", "data-v-2b4854c7"]]);
544
+ export {
545
+ bt as S
546
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),ge=require("./BaseIcon-BhX3JzGa.cjs"),K=require("./useResponsive-BJ7DTGpm.cjs"),h=require("./index-CNb2Ph0E.cjs"),pe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Q=a=>(e.pushScopeId("data-v-2b4854c7"),a=a(),e.popScopeId(),a),xe={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},ye={key:0,style:{width:"100%",position:"relative"}},be={key:0,class:"minimap",style:{width:"100%"}},ke=["xmlns","viewBox"],Se=["id"],we=["stop-color"],Ce=Q(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),Ne=["d","stroke"],Ee=["x","width","height","fill","rx"],Be=["d","fill"],$e=["x","width","height","rx","fill"],Me=["x","width","height","fill","rx"],Re=["d","fill"],Ve=["d","stroke"],Le=["cx","cy","stroke","fill"],ze=["cx","cy","stroke","fill"],De=["x1","x2","y2","stroke"],Te=["x","height","width","onMouseenter"],Pe=Q(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),Ie=["min","max"],Fe=["min","max"],Ae={__name:"Slicer",props:{background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:Number,default:14},labelLeft:{type:String,default:""},labelRight:{type:String,default:""},textColor:{type:String,default:"#1A1A1A"},inputColor:{type:String,default:"#1A1A1A"},max:{type:Number,default:0},min:{type:Number,default:0},selectColor:{type:String,default:"#4A4A4A"},useResetSlot:{type:Boolean,default:!1},valueStart:{type:[Number,String],default:0},valueEnd:{type:[Number,String],default:0},minimap:{type:Array,default:[]},smoothMinimap:{type:Boolean,default:!1},minimapSelectedColor:{type:String,default:"#1f77b4"},minimapSelectionRadius:{type:Number,default:12},minimapLineColor:{type:String,default:"#2D353C"},minimapSelectedColorOpacity:{type:Number,default:.2},minimapSelectedIndex:{type:Number,default:null},minimapIndicatorColor:{type:String,default:"#2D353C"},refreshStartPoint:{type:Number,default:0},refreshEndPoint:{type:Number,default:null},enableRangeHandles:{type:Boolean,default:!1},enableSelectionDrag:{type:Boolean,default:!0},verticalHandles:{type:Boolean,default:!1}},emits:["update:start","update:end","reset","trapMouse"],setup(a,{expose:Y,emit:f}){const t=a;e.useCssVars(l=>({"19064bf4":ee.value,e91b3b0c:x.value,"182bac6b":le.value,"6ba7a3aa":a.selectColor,"39ae2938":te.value}));const d=e.ref(null),r=e.ref(t.min),u=e.ref(t.max),g=e.computed(()=>!!t.minimap.length),N=e.ref(h.createUid()),_=e.computed(()=>t.refreshEndPoint===null?t.max:t.refreshEndPoint),p=e.computed(()=>{const l=t.max-t.min,n=(r.value-t.min)/l*100,o=(u.value-t.min)/l*100;return{left:`${n}%`,width:`${o-n}%`,background:t.selectColor,tooltipLeft:`calc(${n}% - ${F.value?0:P.value/2}px)`,tooltipRight:`calc(${o}% - ${A.value?C.value:C.value/2}px)`,arrowLeft:!F.value,arrowRight:!A.value}}),F=e.computed(()=>d.value?d.value.getBoundingClientRect().width*((r.value-t.min)/(t.max-t.min))-P.value/2<0:!1),A=e.computed(()=>d.value?d.value.getBoundingClientRect().width*((u.value-t.min)/(t.max-t.min))+C.value/2>d.value.getBoundingClientRect().width:!1),ee=e.computed(()=>t.inputColor),te=e.computed(()=>t.background),le=e.computed(()=>`${t.selectColor}33`),x=e.computed(()=>t.borderColor),H=e.computed(()=>{let l=[];for(let n=0;n<t.minimap.length;n+=1)l.push(n);return l});function W(){f("reset")}function ae(){Number(r.value)>Number(u.value)-1&&(r.value=Number(u.value)-1),f("update:start",Number(r.value))}function ne(){Number(u.value)<Number(r.value)+1&&(u.value=Number(r.value)+1),f("update:end",Number(u.value))}e.watch(()=>t.min,l=>{Number(r.value)<Number(l)&&(r.value=Number(l)),Number(u.value)<Number(l)&&(u.value=Number(l))}),e.watch(()=>t.max,l=>{Number(r.value)>Number(l)&&(r.value=Number(l)),Number(u.value)>Number(l)&&(u.value=Number(l))});const E=e.ref(null),i=e.ref({width:1,height:1}),w=e.ref(null);e.onMounted(()=>{if(g.value){const l=K.throttle(()=>{const{width:n,height:o}=K.useResponsive({chart:E.value});i.value.width=n,i.value.height=o-47});w.value=new ResizeObserver(l),w.value.observe(E.value)}}),e.onBeforeUnmount(()=>{w.value&&w.value.disconnect()});const s=e.computed(()=>t.minimap.length?i.value.width/t.minimap.length:0),m=e.computed(()=>{if(!t.minimap.length)return[];const l=Math.max(...t.minimap),n=Math.min(...t.minimap)-10,o=l-(n>0?0:n),c=t.minimap.map((ve,he)=>{const fe=ve-n;return{x:i.value.width/t.minimap.length*he+s.value/2,y:i.value.height-fe/o*(i.value.height*.9)}}),y=t.smoothMinimap?h.createSmoothPath(c):h.createStraightPath(c),I=[...c].slice(t.valueStart,t.valueEnd),me=t.smoothMinimap?h.createSmoothPath(I):h.createStraightPath(I);return{fullSet:y,selectionSet:me,sliced:I,firstPlot:c[t.valueStart],lastPlot:c[t.valueEnd-1]}}),v=e.computed(()=>({x:s.value*r.value+s.value/2,width:i.value.width*((u.value-r.value)/t.max)-s.value}));e.computed(()=>({left:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:g.value?"28px":"-28px",pointerEvents:"none"})),e.computed(()=>({right:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:g.value?"28px":"-28px",direction:"rtl",pointerEvents:"none"}));const S=e.ref(t.minimapSelectedIndex);e.watch(()=>t.minimapSelectedIndex,l=>{S.value=l+t.valueStart},{immediate:!0});function oe(l){S.value=l,l>=t.valueStart&&l<t.valueEnd&&f("trapMouse",l-t.valueStart)}const ie=e.ref(0),B=e.ref(null),$=e.ref(null);function M(l){r.value=l,B.value&&(B.value.value=l),f("update:start",Number(r.value))}function R(l){u.value=l,$.value&&($.value.value=l),f("update:end",Number(u.value))}const V=e.computed(()=>t.valueEnd-t.valueStart),L=e.ref(!1);let z=e.ref(null);const re=e.computed(()=>d.value?(d.value.getBoundingClientRect().width-48)/(t.max-t.min):20),ue=e.computed(()=>(d.value.getBoundingClientRect().width-48)/(t.max-t.min)*V.value),se=e.ref(2.5),X=e.computed(()=>{const l=d.value.getBoundingClientRect().width-48;return Math.ceil((t.max-t.min)/((l-ue.value)/se.value))}),q=l=>{if(k.value=!0,!t.enableSelectionDrag)return;const n=l.type==="touchstart";if((n?l.targetTouches[0].target:l.target).classList.contains("range-handle"))return;L.value=!0,z.value=n?l.targetTouches[0].clientX:l.clientX;const c=n?ce:U,y=n?de:j;window.addEventListener(n?"touchmove":"mousemove",c,{passive:!1}),window.addEventListener(n?"touchend":"mouseup",y)};function U(l){O(l.clientX)}function ce(l){d.value.contains(l.target)&&(l.target.classList.contains("range-handle")||(l.preventDefault(),O(l.targetTouches[0].clientX)))}function O(l){if(!L.value)return;const n=l-z.value;if(Math.abs(n)>re.value){if(n>0){if(Number(u.value)+1<=t.max){const o=Math.min(t.max,Number(u.value)+X.value);R(o),M(o-V.value)}}else if(Number(r.value)-1>=t.min){const o=Math.max(0,Number(r.value)-X.value);M(o),R(o+V.value)}z.value=l}}function j(){G("mousemove","mouseup")}function de(){G("touchmove","touchend")}function G(l,n){L.value=!1,window.removeEventListener(l,U),window.removeEventListener(n,j)}const b=e.ref(!1),D=e.ref(null),T=e.ref(null),P=e.ref(1),C=e.ref(1),k=e.ref(!1);function Z(){D.value&&(P.value=D.value.getBoundingClientRect().width)}function J(){T.value&&(C.value=T.value.getBoundingClientRect().width)}return e.onUpdated(()=>{Z(),J()}),e.watch(()=>t.labelLeft,()=>{e.nextTick(Z)},{deep:!0}),e.watch(()=>t.labelRight,()=>{e.nextTick(J)},{deep:!0}),Y({setStartValue:M,setEndValue:R}),(l,n)=>(e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",style:{padding:"0 24px"},class:"vue-data-ui-zoom",ref_key:"zoomWrapper",ref:d,onMousedown:q,onTouchstart:q,onTouchend:n[9]||(n[9]=o=>k.value=!1)},[e.createElementVNode("div",xe,[a.valueStart!==a.refreshStartPoint||a.valueEnd!==_.value?(e.openBlock(),e.createElementBlock("div",ye,[a.useResetSlot?e.renderSlot(l.$slots,"reset-action",{key:1,reset:W},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({top:g.value?"36px":"-16px",pointerEvents:"all !important"}),onClick:W},[e.createVNode(ge.default,{name:"refresh",stroke:a.textColor},null,8,["stroke"])],4))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:E,style:{"z-index":"0"},onMouseenter:n[7]||(n[7]=o=>k.value=!0),onMouseleave:n[8]||(n[8]=o=>k.value=!1)},[g.value?(e.openBlock(),e.createElementBlock("div",be,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(h.XMLNS),viewBox:`0 0 ${i.value.width<0?0:i.value.width} ${i.value.height<0?0:i.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:N.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${a.minimapLineColor}50`},null,8,we),Ce],8,Se)]),e.createElementVNode("path",{d:`M${m.value.fullSet}`,stroke:`${a.minimapLineColor}`,fill:"none","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"1"}},null,8,Ne),e.createElementVNode("rect",{x:v.value.x,width:v.value.width<0?0:v.value.width,height:Math.max(i.value.height,0),y:0,fill:x.value,rx:a.minimapSelectionRadius,stroke:"none"},null,8,Ee),e.createElementVNode("path",{d:`M${s.value/2},${Math.max(i.value.height,0)} ${m.value.fullSet} L${i.value.width-s.value/2},${Math.max(i.value.height,0)}Z`,fill:`url(#${N.value})`,stroke:"none",style:{opacity:"1"}},null,8,Be),e.createElementVNode("rect",{x:v.value.x,width:v.value.width<0?0:v.value.width,height:Math.max(i.value.height,0),y:0,rx:a.minimapSelectionRadius,fill:x.value},null,8,$e),e.createElementVNode("rect",{x:v.value.x,width:v.value.width<0?0:v.value.width,height:Math.max(i.value.height,0),y:0,fill:a.minimapSelectedColor,rx:a.minimapSelectionRadius,style:e.normalizeStyle({opacity:a.minimapSelectedColorOpacity})},null,12,Me),e.createElementVNode("path",{d:`M${m.value.sliced[0].x},${Math.max(i.value.height,0)} ${m.value.selectionSet} L${m.value.sliced.at(-1).x},${Math.max(i.value.height,0)}Z`,fill:`url(#${N.value})`,stroke:"none",style:{opacity:"1"}},null,8,Re),e.createElementVNode("path",{d:`M ${m.value.selectionSet}`,stroke:`${a.minimapLineColor}`,fill:"transparent","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ve),e.createElementVNode("circle",{cx:m.value.firstPlot.x,cy:m.value.firstPlot.y,"stroke-width":"0.5",stroke:x.value,r:"3",fill:a.minimapLineColor},null,8,Le),e.createElementVNode("circle",{cx:m.value.lastPlot.x,cy:m.value.lastPlot.y,"stroke-width":"0.5",stroke:x.value,r:"3",fill:a.minimapLineColor},null,8,ze),S.value!==null?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(H.value,(o,c)=>(e.openBlock(),e.createElementBlock("g",null,[S.value===o&&o>=a.valueStart&&o<a.valueEnd?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.value*c+s.value/2,x2:s.value*c+s.value/2,y1:0,y2:Math.max(i.value.height,0),stroke:a.minimapIndicatorColor,"stroke-linecap":"round","stroke-dasharray":"2","stroke-width":"1"},null,8,De)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.value,(o,c)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value*c,y:0,height:Math.max(i.value.height,0),width:s.value<0?0:s.value,fill:"transparent",style:e.normalizeStyle([{"pointer-events":"all !important"},{cursor:o>=a.valueStart&&o<a.valueEnd&&a.enableSelectionDrag?b.value?"grabbing":"grab":"default"}]),onMousedown:n[0]||(n[0]=y=>b.value=!0),onMouseup:n[1]||(n[1]=y=>b.value=!1),onMouseenter:y=>oe(o),onMouseleave:n[2]||(n[2]=y=>{S.value=null,f("trapMouse",null)})},null,44,Te))),256))],8,ke))])):e.createCommentVNode("",!0),Pe,e.createElementVNode("div",{class:e.normalizeClass({"range-highlight":!0,move:a.enableSelectionDrag}),onMousedown:n[3]||(n[3]=o=>b.value=!0),onMouseup:n[4]||(n[4]=o=>b.value=!1),style:e.normalizeStyle({...p.value,cursor:b.value?"grabbing":"grab"})},null,38),a.enableRangeHandles?e.withDirectives((e.openBlock(),e.createElementBlock("input",{ref_key:"rangeStart",ref:B,key:`range-min${ie.value}`,type:"range",class:e.normalizeClass({"range-left":!0,"range-handle":!0,"range-minimap":g.value&&a.verticalHandles}),min:a.min,max:a.max,"onUpdate:modelValue":n[5]||(n[5]=o=>r.value=o),onInput:ae},null,42,Ie)),[[e.vModelText,r.value]]):e.createCommentVNode("",!0),a.enableRangeHandles?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:2,ref_key:"rangeEnd",ref:$,type:"range",class:e.normalizeClass({"range-right":!0,"range-handle":!0,"range-minimap":g.value&&a.verticalHandles}),min:a.min,max:a.max,"onUpdate:modelValue":n[6]||(n[6]=o=>u.value=o),onInput:ne},null,42,Fe)),[[e.vModelText,u.value]]):e.createCommentVNode("",!0),a.labelLeft?(e.openBlock(),e.createElementBlock("div",{key:3,ref_key:"tooltipLeft",ref:D,class:e.normalizeClass({"range-tooltip":!0,"range-tooltip-visible":k.value,"range-tooltip-arrow":p.value.arrowLeft&&!a.verticalHandles,"range-tooltip-arrow-left":!p.value.arrowLeft&&!a.verticalHandles}),style:e.normalizeStyle({left:p.value.tooltipLeft,color:e.unref(h.adaptColorToBackground)(a.selectColor),backgroundColor:a.selectColor,border:`1px solid ${x.value}`})},e.toDisplayString(a.labelLeft),7)):e.createCommentVNode("",!0),a.labelRight?(e.openBlock(),e.createElementBlock("div",{key:4,ref_key:"tooltipRight",ref:T,class:e.normalizeClass({"range-tooltip":!0,"range-tooltip-visible":k.value,"range-tooltip-arrow":p.value.arrowRight&&!a.verticalHandles,"range-tooltip-arrow-right":!p.value.arrowRight&&!a.verticalHandles}),style:e.normalizeStyle({left:p.value.tooltipRight,color:e.unref(h.adaptColorToBackground)(a.selectColor),backgroundColor:a.selectColor,border:`1px solid ${x.value}`})},e.toDisplayString(a.labelRight),7)):e.createCommentVNode("",!0)],544)],544))}},He=pe._export_sfc(Ae,[["__scopeId","data-v-2b4854c7"]]);exports.Slicer=He;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as l, createElementBlock as n, Fragment as f, createElementVNode as p, normalizeStyle as d, unref as e, toDisplayString as g, createCommentVNode as o, renderSlot as r } from "vue";
2
- import { u as c } from "./useNestedProp-uEksOW7g.js";
2
+ import { u as c } from "./useNestedProp-a8jnEonn.js";
3
3
  const x = {
4
4
  __name: "Title",
5
5
  props: {
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./useNestedProp-B5IAA861.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",{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,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-CFDJyc2s.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",{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,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 u, onMounted as b, onUnmounted as g, computed as p, openBlock as v, createBlock as x, Teleport as h, createElementBlock as S, normalizeClass as k, normalizeStyle as $, renderSlot as c, createElementVNode as C, createCommentVNode as B } from "vue";
2
- import { s as F } from "./index-DJL-Bkqp.js";
2
+ import { s as F } from "./index-B7fU5WLk.js";
3
3
  function N({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: a = 24, blockShiftY: f = !1 }) {
4
4
  const l = u(0), s = u(a);
5
5
  if (e && o) {
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),p=require("./index-0dnbsm6P.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 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,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")],6)):t.createCommentVNode("",!0)],8,["to"]))}};exports._sfc_main=x;exports.useMouse=m;
1
+ "use strict";const t=require("vue"),p=require("./index-CNb2Ph0E.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 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,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")],6)):t.createCommentVNode("",!0)],8,["to"]))}};exports._sfc_main=x;exports.useMouse=m;
@@ -15709,7 +15709,7 @@ function me(o, l) {
15709
15709
  const r = O(o);
15710
15710
  return ut(r, l);
15711
15711
  }
15712
- const ye = C(() => import("./Arrow-CZYIn9eL.js")), xe = C(() => import("./vue-data-ui-DH_NVt2Y.js")), we = C(() => import("./vue-ui-3d-bar-E96Fh4bt.js")), Le = C(() => import("./vue-ui-accordion-B_eXBJPl.js")), ve = C(() => import("./vue-ui-age-pyramid-CXRrdWei.js")), _e = C(() => import("./vue-ui-annotator-D9LEIs0K.js")), Se = C(() => import("./vue-ui-candlestick-DO-VI3mP.js")), ze = C(() => import("./vue-ui-chestnut-DSvIYyla.js")), Re = C(() => import("./vue-ui-cursor-BoIxmcTJ.js")), Oe = C(() => import("./vue-ui-dashboard-DEPiIO5h.js")), Te = C(() => import("./vue-ui-digits-BsoQJduO.js")), Pe = C(() => import("./vue-ui-donut-G2ULBU8l.js")), Ne = C(() => import("./vue-ui-donut-evolution-BTrHgtdk.js")), Me = C(() => import("./vue-ui-dumbbell-B016NgrO.js")), Ve = C(() => import("./vue-ui-flow-Drv-rQxc.js")), Ie = C(() => import("./vue-ui-galaxy-BugfEsdL.js")), We = C(() => import("./vue-ui-gauge-B1e3bQ5v.js")), Ue = C(() => import("./vue-ui-heatmap-I3_jZmtP.js")), Ge = C(() => import("./BaseIcon-BmzdBA_n.js")), He = C(() => import("./vue-ui-kpi-CMPPk7-2.js")), Ye = C(() => import("./vue-ui-mini-loader-BTovhpqa.js")), $e = C(() => import("./vue-ui-molecule-DEApFPTb.js")), Xe = C(() => import("./vue-ui-mood-radar-DidL44m8.js")), Ke = C(() => import("./vue-ui-nested-donuts-CZCq_ntG.js")), je = C(() => import("./vue-ui-onion-Bz7SkpKH.js")), qe = C(() => import("./vue-ui-parallel-coordinate-plot-BROqRQi1.js")), Qe = C(() => import("./vue-ui-quadrant-a8UWsJs0.js")), Ze = C(() => import("./vue-ui-quick-chart-DtOsqO98.js")), Je = C(() => import("./vue-ui-radar-DpdtzwTa.js")), ol = C(() => import("./vue-ui-rating-CrSkkJtF.js")), rl = C(() => import("./vue-ui-relation-circle-DAbgurAL.js")), tl = C(() => import("./vue-ui-rings-FuqykMtf.js")), el = C(() => import("./vue-ui-scatter-LB5ZPicT.js")), ll = C(() => import("./vue-ui-screenshot-BOSDTFhQ.js")), al = C(() => import("./vue-ui-skeleton-z4MGfNaM.js")), cl = C(() => import("./vue-ui-smiley-BH4kob-0.js")), nl = C(() => import("./vue-ui-sparkhistogram-hroDFCtN.js")), sl = C(() => import("./vue-ui-sparkstackbar-Dx-gwkJS.js")), il = C(() => import("./vue-ui-spark-trend-B2zsG57C.js")), ul = C(() => import("./vue-ui-sparkbar-BxILnvE_.js")), dl = C(() => import("./vue-ui-sparkgauge-Bh6Xnlrr.js")), bl = C(() => import("./vue-ui-sparkline-BoTbKk0m.js")), fl = C(() => import("./vue-ui-strip-plot-BWElug2N.js")), gl = C(() => import("./vue-ui-table-CkyKeMnT.js")), Al = C(() => import("./vue-ui-table-heatmap-REK_djPO.js")), Cl = C(() => import("./vue-ui-table-sparkline-XH9Z7XJu.js")), hl = C(() => import("./vue-ui-thermometer-CHDexaNq.js")), Fl = C(() => import("./vue-ui-timer-CO-ocJlg.js")), kl = C(() => import("./vue-ui-tiremarks-D1KhIO-C.js")), El = C(() => import("./vue-ui-treemap-CTaRPtej.js")), pl = C(() => import("./vue-ui-vertical-bar-CKNaAzgO.js")), Dl = C(() => import("./vue-ui-waffle-IiqKFXtD.js")), Bl = C(() => import("./vue-ui-wheel-Qxs183kC.js")), ml = C(() => import("./vue-ui-word-cloud-7WimWD85.js")), yl = C(() => import("./vue-ui-xy-DMwaxdDv.js")), xl = C(() => import("./vue-ui-xy-canvas-3FUkwO0G.js")), wl = C(() => import("./vue-ui-carousel-table-BMIh1Ebr.js")), Ll = C(() => import("./vue-ui-gizmo-BnI-keJZ.js")), vl = C(() => import("./vue-ui-stackbar-CytcFp3F.js")), _l = C(() => import("./vue-ui-bullet-Bag56IIJ.js")), Sl = C(() => import("./vue-ui-funnel-BToC759R.js")), zl = C(() => import("./vue-ui-history-plot-DB6tM7q1.js")), Rl = C(() => import("./vue-ui-pattern-COZLnLYz.js"));
15712
+ const ye = C(() => import("./Arrow-CZLkcJVq.js")), xe = C(() => import("./vue-data-ui-Bw8DSeYe.js")), we = C(() => import("./vue-ui-3d-bar-zCx0lRgl.js")), Le = C(() => import("./vue-ui-accordion-Dx-yvrEA.js")), ve = C(() => import("./vue-ui-age-pyramid-COEgL2Hh.js")), _e = C(() => import("./vue-ui-annotator-CzNHNoHJ.js")), Se = C(() => import("./vue-ui-candlestick-Bgqnvm__.js")), ze = C(() => import("./vue-ui-chestnut-b3mTec6F.js")), Re = C(() => import("./vue-ui-cursor-DKl-aRdY.js")), Oe = C(() => import("./vue-ui-dashboard-Utsqxv01.js")), Te = C(() => import("./vue-ui-digits-vd3XR1xI.js")), Pe = C(() => import("./vue-ui-donut-Do6CEP72.js")), Ne = C(() => import("./vue-ui-donut-evolution-k44KMip6.js")), Me = C(() => import("./vue-ui-dumbbell-DngNlwGT.js")), Ve = C(() => import("./vue-ui-flow-CICZyox2.js")), Ie = C(() => import("./vue-ui-galaxy-CIHXpDvb.js")), We = C(() => import("./vue-ui-gauge-DQ50gxRQ.js")), Ue = C(() => import("./vue-ui-heatmap-H1WewlPO.js")), Ge = C(() => import("./BaseIcon-BFcTNsIG.js")), He = C(() => import("./vue-ui-kpi-C8YbA-Kl.js")), Ye = C(() => import("./vue-ui-mini-loader-DcK8hLT4.js")), $e = C(() => import("./vue-ui-molecule-zVL5IunG.js")), Xe = C(() => import("./vue-ui-mood-radar-CwDLQgVT.js")), Ke = C(() => import("./vue-ui-nested-donuts-DiCSIxOU.js")), je = C(() => import("./vue-ui-onion-BBrCcL_M.js")), qe = C(() => import("./vue-ui-parallel-coordinate-plot-CBuVQGPg.js")), Qe = C(() => import("./vue-ui-quadrant-CEkmxOaL.js")), Ze = C(() => import("./vue-ui-quick-chart-TGosac3Z.js")), Je = C(() => import("./vue-ui-radar-Zy4m8IoU.js")), ol = C(() => import("./vue-ui-rating-D4vZZ0Fh.js")), rl = C(() => import("./vue-ui-relation-circle-DDfRhzEu.js")), tl = C(() => import("./vue-ui-rings-DV8LwPTs.js")), el = C(() => import("./vue-ui-scatter-nhbYB8p9.js")), ll = C(() => import("./vue-ui-screenshot-Mcrw_RZw.js")), al = C(() => import("./vue-ui-skeleton-KQYInPj5.js")), cl = C(() => import("./vue-ui-smiley-B5qpnewW.js")), nl = C(() => import("./vue-ui-sparkhistogram-CrkmhDHO.js")), sl = C(() => import("./vue-ui-sparkstackbar-xPWVusMJ.js")), il = C(() => import("./vue-ui-spark-trend-TSx_b-l2.js")), ul = C(() => import("./vue-ui-sparkbar-r5j1tSNf.js")), dl = C(() => import("./vue-ui-sparkgauge-BkVb0JzB.js")), bl = C(() => import("./vue-ui-sparkline-nrCKkIet.js")), fl = C(() => import("./vue-ui-strip-plot-BF1bUj82.js")), gl = C(() => import("./vue-ui-table-BgXTzM2c.js")), Al = C(() => import("./vue-ui-table-heatmap-faPZwjgJ.js")), Cl = C(() => import("./vue-ui-table-sparkline-Cj-Ug3wy.js")), hl = C(() => import("./vue-ui-thermometer-CEnYQ54F.js")), Fl = C(() => import("./vue-ui-timer-CU3XETJ-.js")), kl = C(() => import("./vue-ui-tiremarks-fixoZYdb.js")), El = C(() => import("./vue-ui-treemap-BhAgEilS.js")), pl = C(() => import("./vue-ui-vertical-bar-HzJ5GmsI.js")), Dl = C(() => import("./vue-ui-waffle-AGN20-0q.js")), Bl = C(() => import("./vue-ui-wheel-lYTZy9Hu.js")), ml = C(() => import("./vue-ui-word-cloud-Dvr2Tg54.js")), yl = C(() => import("./vue-ui-xy-CGHDqIWS.js")), xl = C(() => import("./vue-ui-xy-canvas-BrkB-rqK.js")), wl = C(() => import("./vue-ui-carousel-table-CNYzzf1N.js")), Ll = C(() => import("./vue-ui-gizmo-DrAsi_5R.js")), vl = C(() => import("./vue-ui-stackbar-jh-8MPcm.js")), _l = C(() => import("./vue-ui-bullet-PJnEQRSA.js")), Sl = C(() => import("./vue-ui-funnel-6h6FkbDn.js")), zl = C(() => import("./vue-ui-history-plot-DKBblaYn.js")), Rl = C(() => import("./vue-ui-pattern-COZLnLYz.js"));
15713
15713
  export {
15714
15714
  pe as $,
15715
15715
  at as A,