vue-data-ui 2.4.5 → 2.4.7

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 (149) hide show
  1. package/dist/{Arrow-Dvaq-qLp.js → Arrow-BCeetU2P.js} +1 -1
  2. package/dist/{Arrow-BeQLfJqp.cjs → Arrow-Ds1Mhkkt.cjs} +1 -1
  3. package/dist/{BaseIcon-BQM6PtJu.cjs → BaseIcon-C31iTAGj.cjs} +1 -1
  4. package/dist/{BaseIcon-D9DRVW03.js → BaseIcon-Icg3SIlH.js} +1 -1
  5. package/dist/{DataTable-rs_YrvMR.js → DataTable-CnLqhXZ2.js} +2 -2
  6. package/dist/{DataTable-DO2GAcBm.cjs → DataTable-CqaGqXkz.cjs} +1 -1
  7. package/dist/{Legend-DrmUpnIK.js → Legend-8QHo6cZQ.js} +1 -1
  8. package/dist/{Legend-BoBvZGqQ.cjs → Legend-D2iK-_M0.cjs} +1 -1
  9. package/dist/{PackageVersion-D9rYHrFZ.js → PackageVersion-Bw7N_9KM.js} +1 -1
  10. package/dist/{PackageVersion-DdLmDkTt.cjs → PackageVersion-DjuywB0J.cjs} +1 -1
  11. package/dist/PenAndPaper-BiWc81tP.js +347 -0
  12. package/dist/PenAndPaper-DoKpW2Tl.cjs +1 -0
  13. package/dist/{Shape-BGqIhzPX.cjs → Shape-BfZLKYNk.cjs} +1 -1
  14. package/dist/{Shape-CBrmBvYy.js → Shape-CppjH62a.js} +1 -1
  15. package/dist/{Slicer-4R6np1wa.js → Slicer-CA5jR9Em.js} +75 -73
  16. package/dist/Slicer-U4q5iMIE.cjs +1 -0
  17. package/dist/{Title-Dn00hErp.cjs → Title-aR9ViX_A.cjs} +1 -1
  18. package/dist/{Title-W7iJGPjg.js → Title-yJsQ5q-l.js} +1 -1
  19. package/dist/{Tooltip-DJiwKA4y.cjs → Tooltip-CN6_JyjT.cjs} +1 -1
  20. package/dist/{Tooltip-Pv3Bhir5.js → Tooltip-klg8yuWM.js} +1 -1
  21. package/dist/{index-C9HllqQA.cjs → index-Ci5MafHS.cjs} +1 -1
  22. package/dist/{index-C1GB0E49.js → index-Cn1EWnYG.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-CNAPgW6E.js → useNestedProp-BXn-g9sr.js} +1 -1
  25. package/dist/{useNestedProp-DOr0hj4s.cjs → useNestedProp-DxZ05ZEt.cjs} +1 -1
  26. package/dist/{usePrinter-FSAw5pod.cjs → usePrinter-B3HaYNI4.cjs} +1 -1
  27. package/dist/{usePrinter-y5uHyknw.js → usePrinter-ZkzmtO6K.js} +1 -1
  28. package/dist/{vue-data-ui-Bnkz3Xmu.cjs → vue-data-ui-Bn_29KuS.cjs} +1 -1
  29. package/dist/{vue-data-ui-Bg5KOKEX.js → vue-data-ui-DfGCpkA8.js} +58 -58
  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-sjkBzHFn.cjs → vue-ui-3d-bar-CERRaGHQ.cjs} +1 -1
  33. package/dist/{vue-ui-3d-bar-mUrcbG6J.js → vue-ui-3d-bar-Cz7ZSFFf.js} +9 -9
  34. package/dist/{vue-ui-accordion-DWyRC3-h.js → vue-ui-accordion-UADqAdVj.js} +3 -3
  35. package/dist/{vue-ui-accordion-BkUGNe2H.cjs → vue-ui-accordion-kQwtYRmD.cjs} +1 -1
  36. package/dist/{vue-ui-age-pyramid-CVktvXpY.js → vue-ui-age-pyramid-DhGijqy5.js} +10 -10
  37. package/dist/{vue-ui-age-pyramid-CKQ8OHuS.cjs → vue-ui-age-pyramid-Rfk1WUfJ.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-DSJ25l4s.cjs → vue-ui-annotator-BdAFNoMu.cjs} +1 -1
  39. package/dist/{vue-ui-annotator-Cp8KDkuP.js → vue-ui-annotator-CCgDEOdY.js} +1 -1
  40. package/dist/{vue-ui-bullet-Bg3TPFgV.cjs → vue-ui-bullet-Bkx9sfrv.cjs} +1 -1
  41. package/dist/{vue-ui-bullet-D4atsFQx.js → vue-ui-bullet-CSVuqhhg.js} +8 -8
  42. package/dist/{vue-ui-candlestick-BhdG9CY1.cjs → vue-ui-candlestick-CuNi5UZ7.cjs} +1 -1
  43. package/dist/{vue-ui-candlestick-DUNyCQ6Z.js → vue-ui-candlestick-D0RfMi-W.js} +11 -11
  44. package/dist/{vue-ui-carousel-table-DF4FhrBd.cjs → vue-ui-carousel-table-Dch3TChE.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-BRrYpr-2.js → vue-ui-carousel-table-DeY0f9Ba.js} +4 -4
  46. package/dist/{vue-ui-chestnut-CjS4qC_J.js → vue-ui-chestnut-B2Gio3KC.js} +8 -8
  47. package/dist/{vue-ui-chestnut-BLBS9QO2.cjs → vue-ui-chestnut-bqu8whHd.cjs} +1 -1
  48. package/dist/{vue-ui-cursor-C3SpabMF.js → vue-ui-cursor-BlW4uLBm.js} +2 -2
  49. package/dist/{vue-ui-cursor-DzVt5_py.cjs → vue-ui-cursor-Dnv5a5oy.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-BCOKtsyJ.js → vue-ui-dashboard-DCaNJXOd.js} +2 -2
  51. package/dist/{vue-ui-dashboard-CIv7W8Yn.cjs → vue-ui-dashboard-De5_U4a9.cjs} +1 -1
  52. package/dist/{vue-ui-digits-yNfQgOLZ.cjs → vue-ui-digits-Dc0L7473.cjs} +1 -1
  53. package/dist/{vue-ui-digits-DaMKAZkt.js → vue-ui-digits-DlteJApK.js} +2 -2
  54. package/dist/{vue-ui-donut-B_-VAqBw.js → vue-ui-donut-6Vh9u3Xp.js} +11 -11
  55. package/dist/{vue-ui-donut-Bo4SbdEe.cjs → vue-ui-donut-CBTZK6YJ.cjs} +1 -1
  56. package/dist/{vue-ui-donut-evolution-DOPY3I3Q.cjs → vue-ui-donut-evolution-CmgjvLvu.cjs} +1 -1
  57. package/dist/{vue-ui-donut-evolution-C9TXFzCm.js → vue-ui-donut-evolution-gQyMiCiu.js} +11 -11
  58. package/dist/{vue-ui-dumbbell-Cgwng71s.cjs → vue-ui-dumbbell-ByhSaE6s.cjs} +1 -1
  59. package/dist/{vue-ui-dumbbell-BP_Vf_u2.js → vue-ui-dumbbell-C4xg1FG4.js} +10 -10
  60. package/dist/{vue-ui-flow-BiQj4v8i.cjs → vue-ui-flow-Bef5hCwj.cjs} +1 -1
  61. package/dist/{vue-ui-flow-DHoxK4t1.js → vue-ui-flow-DYF0P7LD.js} +9 -9
  62. package/dist/{vue-ui-galaxy-C5ZaT8pw.cjs → vue-ui-galaxy-COY_QSwC.cjs} +1 -1
  63. package/dist/{vue-ui-galaxy-DuLPsC4Q.js → vue-ui-galaxy-aM8uOGRD.js} +11 -11
  64. package/dist/{vue-ui-gauge-26eHgOjR.cjs → vue-ui-gauge-CW8ZpODM.cjs} +1 -1
  65. package/dist/{vue-ui-gauge-BhrXiD4S.js → vue-ui-gauge-qYg_QM-A.js} +7 -7
  66. package/dist/{vue-ui-gizmo-D3kBYI1G.js → vue-ui-gizmo-BZyOCD_y.js} +3 -3
  67. package/dist/{vue-ui-gizmo-Bb_SWCsE.cjs → vue-ui-gizmo-DgS57tJ2.cjs} +1 -1
  68. package/dist/{vue-ui-heatmap-wjsvn1_e.js → vue-ui-heatmap-BfJGluVp.js} +10 -10
  69. package/dist/{vue-ui-heatmap-Bc4HvgMk.cjs → vue-ui-heatmap-Czg21edC.cjs} +1 -1
  70. package/dist/{vue-ui-kpi-DLJuo47I.js → vue-ui-kpi-C5ISBjIs.js} +3 -3
  71. package/dist/{vue-ui-kpi-BbvfVZn0.cjs → vue-ui-kpi-DQpkO2MX.cjs} +1 -1
  72. package/dist/{vue-ui-mini-loader-D4aLvv-D.js → vue-ui-mini-loader-BiaLLW3x.js} +2 -2
  73. package/dist/{vue-ui-mini-loader-BaxwhF7o.cjs → vue-ui-mini-loader-Db5Khvfw.cjs} +1 -1
  74. package/dist/{vue-ui-molecule-ZqAJHh6x.cjs → vue-ui-molecule-4AXvVmWt.cjs} +1 -1
  75. package/dist/{vue-ui-molecule-DXpMMgdW.js → vue-ui-molecule-fmAXI5nL.js} +11 -11
  76. package/dist/{vue-ui-mood-radar-BhteAPWH.cjs → vue-ui-mood-radar-BzfFikJv.cjs} +1 -1
  77. package/dist/{vue-ui-mood-radar-B_uWY92C.js → vue-ui-mood-radar-CVLad_RZ.js} +11 -11
  78. package/dist/{vue-ui-nested-donuts-By32x0Y7.js → vue-ui-nested-donuts-7VePVE4W.js} +11 -11
  79. package/dist/{vue-ui-nested-donuts-ClgkX1-p.cjs → vue-ui-nested-donuts-BP0qdKto.cjs} +1 -1
  80. package/dist/{vue-ui-onion-dQTXKNju.js → vue-ui-onion-LCcrKbXJ.js} +11 -11
  81. package/dist/{vue-ui-onion-BdIxJpfA.cjs → vue-ui-onion-tzmb3ARN.cjs} +1 -1
  82. package/dist/{vue-ui-parallel-coordinate-plot-CTF9Ujab.js → vue-ui-parallel-coordinate-plot-D0Xxq5a9.js} +12 -12
  83. package/dist/{vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs → vue-ui-parallel-coordinate-plot-Dgu-tY5L.cjs} +1 -1
  84. package/dist/{vue-ui-quadrant-Coqh0pYO.js → vue-ui-quadrant-D_e1Knsr.js} +12 -12
  85. package/dist/{vue-ui-quadrant-CArA4Vmm.cjs → vue-ui-quadrant-DkOZbxio.cjs} +1 -1
  86. package/dist/{vue-ui-quick-chart-6Av74TTC.cjs → vue-ui-quick-chart-Brzheuk8.cjs} +1 -1
  87. package/dist/{vue-ui-quick-chart-Bfdddr_B.js → vue-ui-quick-chart-CIm7vclU.js} +9 -9
  88. package/dist/{vue-ui-radar-BpdGMVHw.js → vue-ui-radar-Cx_w_viT.js} +12 -12
  89. package/dist/{vue-ui-radar-CLr-gu1X.cjs → vue-ui-radar-DoNZ8Qv9.cjs} +1 -1
  90. package/dist/{vue-ui-rating-KFJoH-JV.cjs → vue-ui-rating-B4zDVBEd.cjs} +1 -1
  91. package/dist/{vue-ui-rating-B-YedcK0.js → vue-ui-rating-NRP3A0oA.js} +2 -2
  92. package/dist/{vue-ui-relation-circle-BLVThOqT.js → vue-ui-relation-circle-C4LKLsEz.js} +7 -7
  93. package/dist/{vue-ui-relation-circle-DuGQKFor.cjs → vue-ui-relation-circle-Cuk4LDJo.cjs} +1 -1
  94. package/dist/{vue-ui-rings-DzgehQZ5.cjs → vue-ui-rings-D6Rs1eq0.cjs} +1 -1
  95. package/dist/{vue-ui-rings-BGeYkj-O.js → vue-ui-rings-DXawhL1m.js} +11 -11
  96. package/dist/{vue-ui-scatter-CsBPCCco.js → vue-ui-scatter-8EzIXx2n.js} +12 -12
  97. package/dist/{vue-ui-scatter-jPnr8qI0.cjs → vue-ui-scatter-DlfZqYP9.cjs} +1 -1
  98. package/dist/{vue-ui-screenshot-1nXVH-hp.cjs → vue-ui-screenshot-Dt0UpXVm.cjs} +1 -1
  99. package/dist/{vue-ui-screenshot-B2FTnuxH.js → vue-ui-screenshot-Wwmw7VVM.js} +1 -1
  100. package/dist/{vue-ui-skeleton-CE6ibl1T.js → vue-ui-skeleton-D3AGluiW.js} +3 -3
  101. package/dist/{vue-ui-skeleton-CPwED1As.cjs → vue-ui-skeleton-Si57O3af.cjs} +1 -1
  102. package/dist/{vue-ui-smiley-2H9hMFZ_.js → vue-ui-smiley-CRddsfyu.js} +2 -2
  103. package/dist/{vue-ui-smiley-DqOZwhT4.cjs → vue-ui-smiley-UxTt4IMY.cjs} +1 -1
  104. package/dist/{vue-ui-spark-trend-Dx9xVq9a.js → vue-ui-spark-trend-Cgr4pAvU.js} +5 -5
  105. package/dist/{vue-ui-spark-trend-CLW85O32.cjs → vue-ui-spark-trend-tMuRiISe.cjs} +1 -1
  106. package/dist/{vue-ui-sparkbar-zafUIv1n.js → vue-ui-sparkbar-B6TEBbyt.js} +4 -4
  107. package/dist/{vue-ui-sparkbar-DJDXrRyp.cjs → vue-ui-sparkbar-BZVjpA5h.cjs} +1 -1
  108. package/dist/{vue-ui-sparkgauge-CPNAXUyl.cjs → vue-ui-sparkgauge-B9P3ngyj.cjs} +1 -1
  109. package/dist/{vue-ui-sparkgauge-CFAdhTLk.js → vue-ui-sparkgauge-P5fVXRT8.js} +4 -4
  110. package/dist/{vue-ui-sparkhistogram-CHc3_xRE.cjs → vue-ui-sparkhistogram-BSQsOim4.cjs} +1 -1
  111. package/dist/{vue-ui-sparkhistogram-B3DIjpaE.js → vue-ui-sparkhistogram-vlWx_CFP.js} +5 -5
  112. package/dist/{vue-ui-sparkline-U22Yhwy7.cjs → vue-ui-sparkline-5FsmrmmU.cjs} +1 -1
  113. package/dist/{vue-ui-sparkline-C-LE7J9H.js → vue-ui-sparkline-B1UrThV_.js} +4 -4
  114. package/dist/{vue-ui-sparkstackbar-BzLoGC-y.js → vue-ui-sparkstackbar-BzrHl4LW.js} +4 -4
  115. package/dist/{vue-ui-sparkstackbar-nx-Lt8sX.cjs → vue-ui-sparkstackbar-CEXgwtwV.cjs} +1 -1
  116. package/dist/{vue-ui-stackbar-BwgHLhj2.cjs → vue-ui-stackbar-BpFxY9uX.cjs} +1 -1
  117. package/dist/{vue-ui-stackbar-C5xNRXnW.js → vue-ui-stackbar-DhnCj5jR.js} +12 -12
  118. package/dist/{vue-ui-strip-plot-6khUDDeA.js → vue-ui-strip-plot-CutPMUb1.js} +11 -11
  119. package/dist/{vue-ui-strip-plot-BFUtZW4b.cjs → vue-ui-strip-plot-DnFquLCu.cjs} +1 -1
  120. package/dist/{vue-ui-table-B3Eng0fH.cjs → vue-ui-table-CUtRHuc4.cjs} +1 -1
  121. package/dist/{vue-ui-table-DsBM7Osw.js → vue-ui-table-Cx0eqrK_.js} +1 -1
  122. package/dist/{vue-ui-table-heatmap-DwCdS68z.cjs → vue-ui-table-heatmap-DS2cSiGt.cjs} +1 -1
  123. package/dist/{vue-ui-table-heatmap-ccQKInFD.js → vue-ui-table-heatmap-DyGuk9kw.js} +4 -4
  124. package/dist/{vue-ui-table-sparkline-BU-hOCZ7.js → vue-ui-table-sparkline--Ekk_QoU.js} +5 -5
  125. package/dist/{vue-ui-table-sparkline-CDmrQFKv.cjs → vue-ui-table-sparkline-C1ril5t8.cjs} +1 -1
  126. package/dist/{vue-ui-thermometer-BhHYcxmT.cjs → vue-ui-thermometer-Dr6_S2Qz.cjs} +1 -1
  127. package/dist/{vue-ui-thermometer-DuI3uDCZ.js → vue-ui-thermometer-Dz_xaxCt.js} +7 -7
  128. package/dist/{vue-ui-timer-D7EKaAqa.cjs → vue-ui-timer-BkmRYrPn.cjs} +1 -1
  129. package/dist/{vue-ui-timer-Gk3bl_em.js → vue-ui-timer-DRdgSmMv.js} +5 -5
  130. package/dist/{vue-ui-tiremarks-UX2FbnyG.cjs → vue-ui-tiremarks-BwVRnR-c.cjs} +1 -1
  131. package/dist/{vue-ui-tiremarks-AcEjMpJH.js → vue-ui-tiremarks-XuaMScx0.js} +7 -7
  132. package/dist/{vue-ui-treemap-CFTpzgX5.js → vue-ui-treemap-D8HfM8ny.js} +11 -11
  133. package/dist/{vue-ui-treemap-D6CTMfsm.cjs → vue-ui-treemap-yUQZvXta.cjs} +1 -1
  134. package/dist/{vue-ui-vertical-bar-CuBJx5l1.js → vue-ui-vertical-bar-BcWnPMjH.js} +11 -11
  135. package/dist/{vue-ui-vertical-bar-BzY2H3UC.cjs → vue-ui-vertical-bar-DpaRYTVo.cjs} +1 -1
  136. package/dist/{vue-ui-waffle-rDfZLxvH.js → vue-ui-waffle-sLIM61xh.js} +11 -11
  137. package/dist/{vue-ui-waffle-CZxR13EG.cjs → vue-ui-waffle-uur49hDo.cjs} +1 -1
  138. package/dist/{vue-ui-wheel-BM-St3xT.cjs → vue-ui-wheel-CJBuFjJt.cjs} +1 -1
  139. package/dist/{vue-ui-wheel-BFt2o4yO.js → vue-ui-wheel-D3Pfhpbe.js} +7 -7
  140. package/dist/{vue-ui-word-cloud-pNPIrJ-g.js → vue-ui-word-cloud-DhC8SN1l.js} +10 -10
  141. package/dist/{vue-ui-word-cloud-DjKyKUbA.cjs → vue-ui-word-cloud-Dhz-n0_M.cjs} +1 -1
  142. package/dist/{vue-ui-xy-CBZUMMlP.cjs → vue-ui-xy-Cn-JnSRl.cjs} +1 -1
  143. package/dist/{vue-ui-xy-DwkEc4Np.js → vue-ui-xy-D7nWzSu1.js} +14 -14
  144. package/dist/{vue-ui-xy-canvas-DWGGLom_.cjs → vue-ui-xy-canvas-BI5nAbis.cjs} +1 -1
  145. package/dist/{vue-ui-xy-canvas-CW90CROL.js → vue-ui-xy-canvas-DWZRAtDJ.js} +11 -11
  146. package/package.json +1 -1
  147. package/dist/PenAndPaper-C-KjtyNA.js +0 -308
  148. package/dist/PenAndPaper-DyMNuRla.cjs +0 -1
  149. package/dist/Slicer-BLkkkNUl.cjs +0 -1
@@ -1,308 +0,0 @@
1
- import { computed as _, ref as f, watch as U, openBlock as $, createElementBlock as y, normalizeStyle as M, createElementVNode as C, createVNode as F, onMounted as J, nextTick as K, onBeforeUnmount as W, Fragment as E, normalizeClass as w, createCommentVNode as V, unref as Z, withModifiers as Q, renderList as ee } from "vue";
2
- import { F as te, l as oe, X as ne } from "./index-C1GB0E49.js";
3
- import S from "./BaseIcon-D9DRVW03.js";
4
- import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- const ae = ["value"], le = { class: "icon" }, re = {
6
- __name: "ColorPicker",
7
- props: {
8
- value: {
9
- type: String,
10
- default: "#ffffff"
11
- },
12
- size: {
13
- type: String,
14
- default: "50px"
15
- }
16
- },
17
- emits: ["update:value"],
18
- setup(r, { emit: z }) {
19
- const i = r, d = _(() => ({
20
- backgroundColor: i.value,
21
- width: "100%",
22
- height: "100%",
23
- cursor: "pointer"
24
- })), v = f(null), X = () => {
25
- var p;
26
- (p = v.value) == null || p.click();
27
- }, b = (p) => {
28
- const m = p.target.value;
29
- z("update:value", m);
30
- }, x = _(() => te(i.value));
31
- return U(
32
- () => i.value,
33
- (p) => {
34
- v.value.value = p;
35
- }
36
- ), (p, m) => ($(), y("div", {
37
- style: M(d.value),
38
- class: "color-picker-wrapper",
39
- onClick: X
40
- }, [
41
- C("input", {
42
- ref_key: "colorInput",
43
- ref: v,
44
- type: "color",
45
- value: r.value,
46
- class: "hidden-input",
47
- onInput: b
48
- }, null, 40, ae),
49
- C("div", le, [
50
- F(S, {
51
- name: "palette",
52
- stroke: x.value,
53
- size: 22
54
- }, null, 8, ["stroke"])
55
- ])
56
- ], 4));
57
- }
58
- }, se = /* @__PURE__ */ q(re, [["__scopeId", "data-v-d3f01240"]]), ue = {
59
- class: /* @__PURE__ */ w({
60
- "vue-ui-pen-and-paper-action": !0
61
- }),
62
- style: { padding: "0 !important" }
63
- }, ce = ["disabled"], ie = ["xmlns", "viewBox", "onTouchstart", "onTouchmove"], de = ["d", "stroke"], pe = ["d", "stroke"], ve = {
64
- __name: "PenAndPaper",
65
- props: {
66
- parent: {
67
- type: HTMLElement
68
- },
69
- backgroundColor: {
70
- type: String,
71
- default: "#FFFFFF"
72
- },
73
- color: {
74
- type: String,
75
- default: "#2D353C"
76
- },
77
- active: {
78
- type: Boolean,
79
- default: !1
80
- }
81
- },
82
- emits: ["close"],
83
- setup(r, { emit: z }) {
84
- const i = r, d = f([]), v = f([]), X = f("0 0 0 0"), b = f(i.color), x = _(() => oe(i.color, 0.6));
85
- function p({ width: o, height: e }) {
86
- X.value = `0 0 ${o} ${e}`;
87
- }
88
- const m = f(null);
89
- J(() => {
90
- K(() => {
91
- if (i.parent) {
92
- m.value = new ResizeObserver((t) => {
93
- for (const s of t) {
94
- const { width: a, height: n } = s.contentRect;
95
- p({ width: a, height: n });
96
- }
97
- }), m.value.observe(i.parent);
98
- const { width: o, height: e } = i.parent.getBoundingClientRect();
99
- p({ width: o, height: e });
100
- }
101
- });
102
- }), W(() => {
103
- m.value && m.value.disconnect();
104
- }), U(
105
- () => i.parent,
106
- (o) => {
107
- if (!o) return;
108
- const { width: e, height: t } = i.parent.getBoundingClientRect();
109
- p({ width: e, height: t });
110
- },
111
- { immediate: !0 }
112
- );
113
- const P = f(!1), B = f(""), N = f(null);
114
- function D(o) {
115
- if (!N.value) return;
116
- P.value = !0;
117
- const { x: e, y: t } = Y(o);
118
- B.value = `M ${e} ${t}`;
119
- }
120
- function I(o) {
121
- if (!P.value || !N.value) return;
122
- const { x: e, y: t } = Y(o);
123
- B.value += ` ${e} ${t}`;
124
- }
125
- function A(o) {
126
- const e = o.trim().split(/\s+/);
127
- if (e.length < 4) return o;
128
- const t = [e[0], e[1], e[2]];
129
- for (let n = 3; n < e.length - 2; n += 2) {
130
- const l = parseFloat(e[n - 2]), k = parseFloat(e[n - 1]), h = parseFloat(e[n]), g = parseFloat(e[n + 1]);
131
- if (isNaN(l) || isNaN(k) || isNaN(h) || isNaN(g))
132
- continue;
133
- const u = (l + h) / 2, c = (k + g) / 2;
134
- t.push(`Q ${l} ${k} ${u} ${c}`);
135
- }
136
- const s = e[e.length - 2], a = e[e.length - 1];
137
- return t.push(`L ${s} ${a}`), t.join(" ");
138
- }
139
- function H(o) {
140
- const e = o.trim().split(/\s+/);
141
- let t = "", s = "", a = null, n = null;
142
- for (let l = 0; l < e.length; l += 1) {
143
- const k = e[l];
144
- if (isNaN(k)) {
145
- if (s = k, s === "M" || s === "L")
146
- a = parseFloat(e[++l]), n = parseFloat(e[++l]), t += `${s}${a} ${n}`;
147
- else if (s === "Q") {
148
- const h = parseFloat(e[++l]), g = parseFloat(e[++l]), u = parseFloat(e[++l]), c = parseFloat(e[++l]);
149
- h === a && g === n ? t += `t${u - a} ${c - n}` : t += `q${h - a} ${g - n} ${u - a} ${c - n}`, a = u, n = c;
150
- }
151
- } else {
152
- const h = parseFloat(k), g = parseFloat(e[++l]);
153
- if (s === "L") {
154
- const u = h - a, c = g - n;
155
- u === 0 ? t += `v${c}` : c === 0 ? t += `h${u}` : t += `l${u} ${c}`, a = h, n = g;
156
- } else if (s === "Q") {
157
- const u = h, c = g, T = parseFloat(e[++l]), R = parseFloat(e[++l]);
158
- u === a && c === n ? t += `t${T - a} ${R - n}` : t += `q${u - a} ${c - n} ${T - a} ${R - n}`, a = T, n = R;
159
- }
160
- }
161
- }
162
- return t;
163
- }
164
- function L() {
165
- P.value && (d.value.push(H(A(B.value))), v.value = [], B.value = ""), P.value = !1;
166
- }
167
- function Y(o) {
168
- if (!N.value) return { x: 0, y: 0 };
169
- const e = N.value.getBoundingClientRect();
170
- let t, s;
171
- return o.touches && o.touches.length ? (t = o.touches[0].clientX, s = o.touches[0].clientY) : (t = o.clientX, s = o.clientY), {
172
- x: t - e.left,
173
- y: s - e.top
174
- };
175
- }
176
- f(!1);
177
- function O() {
178
- if (d.value.length > 0) {
179
- const o = d.value.pop();
180
- v.value.push(o);
181
- }
182
- }
183
- function j() {
184
- if (v.value.length > 0) {
185
- const o = v.value.pop();
186
- d.value.push(o);
187
- }
188
- }
189
- function G() {
190
- d.value = [], v.value = [];
191
- }
192
- return (o, e) => ($(), y(E, null, [
193
- r.active ? ($(), y("div", {
194
- key: 0,
195
- "data-html2canvas-ignore": "",
196
- class: w({
197
- "vue-ui-pen-and-paper-actions": !0,
198
- visible: r.active
199
- })
200
- }, [
201
- C("button", {
202
- class: "vue-ui-pen-and-paper-action",
203
- style: M({
204
- backgroundColor: r.backgroundColor,
205
- border: `1px solid ${x.value}`
206
- }),
207
- onClick: e[0] || (e[0] = (t) => z("close"))
208
- }, [
209
- F(S, {
210
- name: "close",
211
- stroke: r.color
212
- }, null, 8, ["stroke"])
213
- ], 4),
214
- C("button", ue, [
215
- F(se, {
216
- value: b.value,
217
- "onUpdate:value": e[1] || (e[1] = (t) => b.value = t)
218
- }, null, 8, ["value"])
219
- ]),
220
- C("button", {
221
- class: w({
222
- "vue-ui-pen-and-paper-action": !0,
223
- "vue-ui-pen-and-paper-action-disabled": !d.value.length
224
- }),
225
- disabled: !d.value.length,
226
- style: M({
227
- backgroundColor: r.backgroundColor,
228
- border: `1px solid ${x.value}`
229
- }),
230
- onClick: O
231
- }, [
232
- F(S, {
233
- name: "restart",
234
- stroke: r.color
235
- }, null, 8, ["stroke"])
236
- ], 14, ce),
237
- C("button", {
238
- class: w({
239
- "vue-ui-pen-and-paper-action": !0,
240
- "vue-ui-pen-and-paper-action-disabled": !v.value.length
241
- }),
242
- style: M({
243
- backgroundColor: r.backgroundColor,
244
- border: `1px solid ${x.value}`
245
- }),
246
- onClick: j
247
- }, [
248
- F(S, {
249
- name: "restart",
250
- stroke: r.color,
251
- style: { transform: "scaleX(-1)" }
252
- }, null, 8, ["stroke"])
253
- ], 6),
254
- C("button", {
255
- class: w([{
256
- "vue-ui-pen-and-paper-action": !0,
257
- "vue-ui-pen-and-paper-action-disabled": !d.value.length
258
- }, "vue-ui-pen-and-paper-action"]),
259
- style: M({
260
- backgroundColor: r.backgroundColor,
261
- border: `1px solid ${x.value}`
262
- }),
263
- onClick: G
264
- }, [
265
- F(S, {
266
- name: "trash",
267
- stroke: r.color
268
- }, null, 8, ["stroke"])
269
- ], 6)
270
- ], 2)) : V("", !0),
271
- ($(), y("svg", {
272
- ref_key: "svgElement",
273
- ref: N,
274
- xmlns: Z(ne),
275
- viewBox: X.value,
276
- class: w({
277
- "vue-ui-pen-and-paper": !0,
278
- inactive: !r.active
279
- }),
280
- onMousedown: D,
281
- onMousemove: I,
282
- onMouseup: L,
283
- onMouseleave: L,
284
- onTouchstart: Q(D, ["prevent"]),
285
- onTouchmove: Q(I, ["prevent"]),
286
- onTouchend: L
287
- }, [
288
- ($(!0), y(E, null, ee(d.value, (t) => ($(), y("path", {
289
- class: "vue-ui-pen-and-paper-path",
290
- key: t,
291
- d: t,
292
- stroke: b.value,
293
- fill: "none"
294
- }, null, 8, de))), 128)),
295
- P.value ? ($(), y("path", {
296
- key: 0,
297
- class: "vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",
298
- d: B.value,
299
- stroke: b.value,
300
- fill: "none"
301
- }, null, 8, pe)) : V("", !0)
302
- ], 42, ie))
303
- ], 64));
304
- }
305
- }, ke = /* @__PURE__ */ q(ve, [["__scopeId", "data-v-896ed082"]]);
306
- export {
307
- ke as P
308
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),E=require("./index-C9HllqQA.cjs"),B=require("./BaseIcon-BQM6PtJu.cjs"),_=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),D=["value"],I={class:"icon"},Y={__name:"ColorPicker",props:{value:{type:String,default:"#ffffff"},size:{type:String,default:"50px"}},emits:["update:value"],setup(s,{emit:w}){const d=s,p=e.computed(()=>({backgroundColor:d.value,width:"100%",height:"100%",cursor:"pointer"})),f=e.ref(null),N=()=>{var v;(v=f.value)==null||v.click()},$=v=>{const k=v.target.value;w("update:value",k)},y=e.computed(()=>E.adaptColorToBackground(d.value));return e.watch(()=>d.value,v=>{f.value.value=v}),(v,k)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(p.value),class:"color-picker-wrapper",onClick:N},[e.createElementVNode("input",{ref_key:"colorInput",ref:f,type:"color",value:s.value,class:"hidden-input",onInput:$},null,40,D),e.createElementVNode("div",I,[e.createVNode(B.default,{name:"palette",stroke:y.value,size:22},null,8,["stroke"])])],4))}},A=_._export_sfc(Y,[["__scopeId","data-v-d3f01240"]]),H={class:e.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Q=["disabled"],U=["xmlns","viewBox","onTouchstart","onTouchmove"],O=["d","stroke"],j=["d","stroke"],G={__name:"PenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup(s,{emit:w}){const d=s,p=e.ref([]),f=e.ref([]),N=e.ref("0 0 0 0"),$=e.ref(d.color),y=e.computed(()=>E.lightenHexColor(d.color,.6));function v({width:n,height:t}){N.value=`0 0 ${n} ${t}`}const k=e.ref(null);e.onMounted(()=>{e.nextTick(()=>{if(d.parent){k.value=new ResizeObserver(o=>{for(const c of o){const{width:a,height:l}=c.contentRect;v({width:a,height:l})}}),k.value.observe(d.parent);const{width:n,height:t}=d.parent.getBoundingClientRect();v({width:n,height:t})}})}),e.onBeforeUnmount(()=>{k.value&&k.value.disconnect()}),e.watch(()=>d.parent,n=>{if(!n)return;const{width:t,height:o}=d.parent.getBoundingClientRect();v({width:t,height:o})},{immediate:!0});const C=e.ref(!1),x=e.ref(""),b=e.ref(null);function V(n){if(!b.value)return;C.value=!0;const{x:t,y:o}=M(n);x.value=`M ${t} ${o}`}function S(n){if(!C.value||!b.value)return;const{x:t,y:o}=M(n);x.value+=` ${t} ${o}`}function L(n){const t=n.trim().split(/\s+/);if(t.length<4)return n;const o=[t[0],t[1],t[2]];for(let l=3;l<t.length-2;l+=2){const r=parseFloat(t[l-2]),g=parseFloat(t[l-1]),m=parseFloat(t[l]),h=parseFloat(t[l+1]);if(isNaN(r)||isNaN(g)||isNaN(m)||isNaN(h))continue;const u=(r+m)/2,i=(g+h)/2;o.push(`Q ${r} ${g} ${u} ${i}`)}const c=t[t.length-2],a=t[t.length-1];return o.push(`L ${c} ${a}`),o.join(" ")}function T(n){const t=n.trim().split(/\s+/);let o="",c="",a=null,l=null;for(let r=0;r<t.length;r+=1){const g=t[r];if(isNaN(g)){if(c=g,c==="M"||c==="L")a=parseFloat(t[++r]),l=parseFloat(t[++r]),o+=`${c}${a} ${l}`;else if(c==="Q"){const m=parseFloat(t[++r]),h=parseFloat(t[++r]),u=parseFloat(t[++r]),i=parseFloat(t[++r]);m===a&&h===l?o+=`t${u-a} ${i-l}`:o+=`q${m-a} ${h-l} ${u-a} ${i-l}`,a=u,l=i}}else{const m=parseFloat(g),h=parseFloat(t[++r]);if(c==="L"){const u=m-a,i=h-l;u===0?o+=`v${i}`:i===0?o+=`h${u}`:o+=`l${u} ${i}`,a=m,l=h}else if(c==="Q"){const u=m,i=h,P=parseFloat(t[++r]),z=parseFloat(t[++r]);u===a&&i===l?o+=`t${P-a} ${z-l}`:o+=`q${u-a} ${i-l} ${P-a} ${z-l}`,a=P,l=z}}}return o}function F(){C.value&&(p.value.push(T(L(x.value))),f.value=[],x.value=""),C.value=!1}function M(n){if(!b.value)return{x:0,y:0};const t=b.value.getBoundingClientRect();let o,c;return n.touches&&n.touches.length?(o=n.touches[0].clientX,c=n.touches[0].clientY):(o=n.clientX,c=n.clientY),{x:o-t.left,y:c-t.top}}e.ref(!1);function X(){if(p.value.length>0){const n=p.value.pop();f.value.push(n)}}function R(){if(f.value.length>0){const n=f.value.pop();p.value.push(n)}}function q(){p.value=[],f.value=[]}return(n,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[s.active?(e.openBlock(),e.createElementBlock("div",{key:0,"data-html2canvas-ignore":"",class:e.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:s.active})},[e.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:e.normalizeStyle({backgroundColor:s.backgroundColor,border:`1px solid ${y.value}`}),onClick:t[0]||(t[0]=o=>w("close"))},[e.createVNode(B.default,{name:"close",stroke:s.color},null,8,["stroke"])],4),e.createElementVNode("button",H,[e.createVNode(A,{value:$.value,"onUpdate:value":t[1]||(t[1]=o=>$.value=o)},null,8,["value"])]),e.createElementVNode("button",{class:e.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!p.value.length}),disabled:!p.value.length,style:e.normalizeStyle({backgroundColor:s.backgroundColor,border:`1px solid ${y.value}`}),onClick:X},[e.createVNode(B.default,{name:"restart",stroke:s.color},null,8,["stroke"])],14,Q),e.createElementVNode("button",{class:e.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!f.value.length}),style:e.normalizeStyle({backgroundColor:s.backgroundColor,border:`1px solid ${y.value}`}),onClick:R},[e.createVNode(B.default,{name:"restart",stroke:s.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),e.createElementVNode("button",{class:e.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!p.value.length},"vue-ui-pen-and-paper-action"]),style:e.normalizeStyle({backgroundColor:s.backgroundColor,border:`1px solid ${y.value}`}),onClick:q},[e.createVNode(B.default,{name:"trash",stroke:s.color},null,8,["stroke"])],6)],2)):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock("svg",{ref_key:"svgElement",ref:b,xmlns:e.unref(E.XMLNS),viewBox:N.value,class:e.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!s.active}),onMousedown:V,onMousemove:S,onMouseup:F,onMouseleave:F,onTouchstart:e.withModifiers(V,["prevent"]),onTouchmove:e.withModifiers(S,["prevent"]),onTouchend:F},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,o=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-pen-and-paper-path",key:o,d:o,stroke:$.value,fill:"none"},null,8,O))),128)),C.value?(e.openBlock(),e.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:x.value,stroke:$.value,fill:"none"},null,8,j)):e.createCommentVNode("",!0)],42,U))],64))}},J=_._export_sfc(G,[["__scopeId","data-v-896ed082"]]);exports.PenAndPaper=J;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),_=require("./BaseIcon-BQM6PtJu.cjs"),C=require("./useResponsive-BJ7DTGpm.cjs"),v=require("./index-C9HllqQA.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=a=>(e.pushScopeId("data-v-54291cff"),a=a(),e.popScopeId(),a),T={"data-html2canvas-ignore":"",style:{padding:"0 24px"}},U={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},W={key:0,style:{width:"100%",position:"relative"}},j={key:0,class:"minimap",style:{width:"100%"}},X=["xmlns","viewBox"],Z=["id"],G=["stop-color"],H=w(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),J=["d","stroke"],K=["x","width","height","fill","rx"],Q=["d","fill"],Y=["x","width","height","fill"],ee=["x","width","height","fill"],te=["d","fill"],le=["d","stroke"],ae=["cx","cy","stroke","fill"],ne=["cx","cy","stroke","fill"],oe=["x1","x2","y2","stroke"],ie=["x","height","width","onMouseenter"],re=w(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),ue=["min","max"],se=["min","max"],ce={__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"}},emits:["update:start","update:end","reset","trapMouse"],setup(a,{emit:h}){const t=a;e.useCssVars(l=>({e0176a96:$.value,"27e9d329":f.value,"22b19dda":z.value,"081f1459":a.selectColor,"12e0ab32":B.value}));const r=e.ref(t.min),u=e.ref(t.max),p=e.computed(()=>!!t.minimap.length),g=e.ref(v.createUid()),V=e.computed(()=>{const l=t.max-t.min,o=(r.value-t.min)/l*100,i=(u.value-t.min)/l*100;return{left:`${o}%`,width:`${i-o}%`,background:t.selectColor}}),$=e.computed(()=>t.inputColor),B=e.computed(()=>t.background),z=e.computed(()=>`${t.selectColor}33`),f=e.computed(()=>t.borderColor),k=e.computed(()=>{let l=[];for(let o=0;o<t.minimap.length;o+=1)l.push(o);return l});function N(){h("reset")}function L(){Number(r.value)>Number(u.value)-1&&(r.value=Number(u.value)-1),h("update:start",Number(r.value))}function M(){Number(u.value)<Number(r.value)+1&&(u.value=Number(r.value)+1),h("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 x=e.ref(null),n=e.ref({width:1,height:1}),E=e.ref(null);e.onMounted(()=>{if(p.value){const l=C.throttle(()=>{const{width:o,height:i}=C.useResponsive({chart:x.value});n.value.width=o,n.value.height=i-47});E.value=new ResizeObserver(l),E.value.observe(x.value)}});const s=e.computed(()=>t.minimap.length?n.value.width/t.minimap.length:0),c=e.computed(()=>{if(!t.minimap.length)return[];const l=Math.max(...t.minimap),o=Math.min(...t.minimap)-10,i=l-(o>0?0:o),d=t.minimap.map((A,q)=>{const D=A-o;return{x:n.value.width/t.minimap.length*q+s.value/2,y:n.value.height-D/i*(n.value.height*.9)}}),S=t.smoothMinimap?v.createSmoothPath(d):v.createStraightPath(d),b=[...d].slice(t.valueStart,t.valueEnd),R=t.smoothMinimap?v.createSmoothPath(b):v.createStraightPath(b);return{fullSet:S,selectionSet:R,sliced:b,firstPlot:d[t.valueStart],lastPlot:d[t.valueEnd-1]}}),m=e.computed(()=>({x:s.value*r.value+s.value/2,width:n.value.width*((u.value-r.value)/t.max)-s.value})),F=e.computed(()=>({left:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",pointerEvents:"none"})),I=e.computed(()=>({right:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",direction:"rtl",pointerEvents:"none"})),y=e.ref(t.minimapSelectedIndex);e.watch(()=>t.minimapSelectedIndex,l=>{y.value=l+t.valueStart},{immediate:!0});function P(l){y.value=l,l>=t.valueStart&&l<t.valueEnd&&h("trapMouse",l-t.valueStart)}return(l,o)=>(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("div",U,[a.valueStart>0||a.valueEnd<a.max?(e.openBlock(),e.createElementBlock("div",W,[a.useResetSlot?e.renderSlot(l.$slots,"reset-action",{key:1,reset:N},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:p.value?"36px":"-16px",pointerEvents:"all !important"}),onClick:N},[e.createVNode(_.default,{name:"refresh",stroke:a.textColor},null,8,["stroke"])],4))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:x,style:{"z-index":"0"}},[p.value?(e.openBlock(),e.createElementBlock("div",j,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(v.XMLNS),viewBox:`0 0 ${n.value.width<0?0:n.value.width} ${n.value.height<0?0:n.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:g.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${a.minimapLineColor}50`},null,8,G),H],8,Z)]),e.createElementVNode("path",{d:`M${c.value.fullSet}`,stroke:`${a.minimapLineColor}`,fill:"none","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"1"}},null,8,J),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:f.value,rx:a.minimapSelectionRadius,stroke:"none"},null,8,K),e.createElementVNode("path",{d:`M${s.value/2},${n.value.height} ${c.value.fullSet} L${n.value.width-s.value/2},${n.value.height}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,Q),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:f.value},null,8,Y),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:a.minimapSelectedColor,style:e.normalizeStyle({opacity:a.minimapSelectedColorOpacity})},null,12,ee),e.createElementVNode("path",{d:`M${c.value.sliced[0].x},${n.value.height} ${c.value.selectionSet} L${c.value.sliced.at(-1).x},${n.value.height}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,te),e.createElementVNode("path",{d:`M ${c.value.selectionSet}`,stroke:`${a.minimapLineColor}`,fill:"transparent","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,le),e.createElementVNode("circle",{cx:c.value.firstPlot.x,cy:c.value.firstPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:a.minimapLineColor},null,8,ae),e.createElementVNode("circle",{cx:c.value.lastPlot.x,cy:c.value.lastPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:a.minimapLineColor},null,8,ne),y.value!==null?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(k.value,(i,d)=>(e.openBlock(),e.createElementBlock("g",null,[y.value===i&&i>=a.valueStart&&i<a.valueEnd?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.value*d+s.value/2,x2:s.value*d+s.value/2,y1:0,y2:n.value.height,stroke:a.minimapIndicatorColor,"stroke-linecap":"round","stroke-dasharray":"2","stroke-width":"1"},null,8,oe)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(i,d)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value*d,y:0,height:n.value.height,width:s.value,fill:"transparent",style:{"pointer-events":"all !important"},onMouseenter:S=>P(i),onMouseleave:o[0]||(o[0]=S=>{y.value=null,h("trapMouse",null)})},null,40,ie))),256))],8,X))])):e.createCommentVNode("",!0),re,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(V.value)},null,4),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-left",min:a.min,max:a.max,"onUpdate:modelValue":o[1]||(o[1]=i=>r.value=i),onInput:L},null,40,ue),[[e.vModelText,r.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-left",style:e.normalizeStyle(F.value)},e.toDisplayString(a.labelLeft),5),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-right",min:a.min,max:a.max,"onUpdate:modelValue":o[2]||(o[2]=i=>u.value=i),onInput:M},null,40,se),[[e.vModelText,u.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-right",style:e.normalizeStyle(I.value)},e.toDisplayString(a.labelRight),5)],512)]))}},de=O._export_sfc(ce,[["__scopeId","data-v-54291cff"]]);exports.Slicer=de;