vue-data-ui 2.4.4 → 2.4.5

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 (148) hide show
  1. package/dist/{Arrow-W6XO2WVI.cjs → Arrow-BeQLfJqp.cjs} +1 -1
  2. package/dist/{Arrow-AxsI-FAh.js → Arrow-Dvaq-qLp.js} +1 -1
  3. package/dist/{BaseIcon-BTn_oML7.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
  4. package/dist/{BaseIcon-BX3x6oa7.js → BaseIcon-D9DRVW03.js} +1 -1
  5. package/dist/{DataTable-RUQ1G_6L.cjs → DataTable-DO2GAcBm.cjs} +1 -1
  6. package/dist/{DataTable-BI1tjiA_.js → DataTable-rs_YrvMR.js} +2 -2
  7. package/dist/{Legend-B86sMXn7.cjs → Legend-BoBvZGqQ.cjs} +1 -1
  8. package/dist/{Legend-CRMHjbGw.js → Legend-DrmUpnIK.js} +1 -1
  9. package/dist/{PackageVersion-Clrfvyd8.js → PackageVersion-D9rYHrFZ.js} +1 -1
  10. package/dist/{PackageVersion-CowXQ4IM.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
  11. package/dist/PenAndPaper-C-KjtyNA.js +308 -0
  12. package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
  13. package/dist/{Shape-qK3MNdTg.cjs → Shape-BGqIhzPX.cjs} +1 -1
  14. package/dist/{Shape-DYNtRer6.js → Shape-CBrmBvYy.js} +1 -1
  15. package/dist/{Slicer-DFPDip5U.js → Slicer-4R6np1wa.js} +2 -2
  16. package/dist/{Slicer-NlxLkUso.cjs → Slicer-BLkkkNUl.cjs} +1 -1
  17. package/dist/{Title-CUN1T6KC.cjs → Title-Dn00hErp.cjs} +1 -1
  18. package/dist/{Title-710895ks.js → Title-W7iJGPjg.js} +1 -1
  19. package/dist/{Tooltip-BapDtYOM.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
  20. package/dist/{Tooltip-CPlG_yQU.js → Tooltip-Pv3Bhir5.js} +1 -1
  21. package/dist/{index-DCsPHn9C.js → index-C1GB0E49.js} +1 -1
  22. package/dist/{index-CcykRspI.cjs → index-C9HllqQA.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-DdSlLeTW.js → useNestedProp-CNAPgW6E.js} +1 -1
  25. package/dist/{useNestedProp-XtPlFP9O.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
  26. package/dist/{usePrinter-BcE45wW6.cjs → usePrinter-FSAw5pod.cjs} +1 -1
  27. package/dist/{usePrinter-siG3sKWo.js → usePrinter-y5uHyknw.js} +1 -1
  28. package/dist/{vue-data-ui-D_MTGc8j.js → vue-data-ui-Bg5KOKEX.js} +58 -58
  29. package/dist/{vue-data-ui-C0o1kZzC.cjs → vue-data-ui-Bnkz3Xmu.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-BdzWvy4d.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
  33. package/dist/{vue-ui-3d-bar-C298Bf3V.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-B7PTyFVk.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
  35. package/dist/{vue-ui-accordion-D4Er5Dy5.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
  36. package/dist/{vue-ui-age-pyramid-BIcB5vtU.cjs → vue-ui-age-pyramid-CKQ8OHuS.cjs} +1 -1
  37. package/dist/{vue-ui-age-pyramid-CHEdFQb7.js → vue-ui-age-pyramid-CVktvXpY.js} +10 -10
  38. package/dist/{vue-ui-annotator-CqM_1HlB.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
  39. package/dist/{vue-ui-annotator-eGtZcHeb.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-DURgZGgp.cjs → vue-ui-bullet-Bg3TPFgV.cjs} +1 -1
  41. package/dist/{vue-ui-bullet-DBk50kIe.js → vue-ui-bullet-D4atsFQx.js} +8 -8
  42. package/dist/{vue-ui-candlestick-CP4Z-29b.cjs → vue-ui-candlestick-BhdG9CY1.cjs} +1 -1
  43. package/dist/{vue-ui-candlestick-Bo41qkGe.js → vue-ui-candlestick-DUNyCQ6Z.js} +11 -11
  44. package/dist/{vue-ui-carousel-table-CkNOqa9q.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
  45. package/dist/{vue-ui-carousel-table-lMqx64wd.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
  46. package/dist/{vue-ui-chestnut-qxzF2ND7.cjs → vue-ui-chestnut-BLBS9QO2.cjs} +1 -1
  47. package/dist/{vue-ui-chestnut-CNWq-epB.js → vue-ui-chestnut-CjS4qC_J.js} +8 -8
  48. package/dist/{vue-ui-cursor-B4m30Gqz.js → vue-ui-cursor-C3SpabMF.js} +2 -2
  49. package/dist/{vue-ui-cursor-BEv39HVY.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-BL9IgDDx.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
  51. package/dist/{vue-ui-dashboard-DnoXstlp.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
  52. package/dist/{vue-ui-digits-CVPDJ6tl.js → vue-ui-digits-DaMKAZkt.js} +2 -2
  53. package/dist/{vue-ui-digits-D1RaU4V-.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
  54. package/dist/{vue-ui-donut-C65SAJKb.js → vue-ui-donut-B_-VAqBw.js} +11 -11
  55. package/dist/{vue-ui-donut-CMC92CXL.cjs → vue-ui-donut-Bo4SbdEe.cjs} +1 -1
  56. package/dist/{vue-ui-donut-evolution-BFbBlmBx.js → vue-ui-donut-evolution-C9TXFzCm.js} +11 -11
  57. package/dist/{vue-ui-donut-evolution-7gIM4bVk.cjs → vue-ui-donut-evolution-DOPY3I3Q.cjs} +1 -1
  58. package/dist/{vue-ui-dumbbell-BnxRfvv0.js → vue-ui-dumbbell-BP_Vf_u2.js} +10 -10
  59. package/dist/{vue-ui-dumbbell-OCo67ZKp.cjs → vue-ui-dumbbell-Cgwng71s.cjs} +1 -1
  60. package/dist/{vue-ui-flow-BPnpYrzb.cjs → vue-ui-flow-BiQj4v8i.cjs} +1 -1
  61. package/dist/{vue-ui-flow-Cra_F-tK.js → vue-ui-flow-DHoxK4t1.js} +9 -9
  62. package/dist/{vue-ui-galaxy-3zTk9Pr1.cjs → vue-ui-galaxy-C5ZaT8pw.cjs} +1 -1
  63. package/dist/{vue-ui-galaxy-DlJ7v0aD.js → vue-ui-galaxy-DuLPsC4Q.js} +11 -11
  64. package/dist/{vue-ui-gauge-DcUNJZI1.cjs → vue-ui-gauge-26eHgOjR.cjs} +1 -1
  65. package/dist/{vue-ui-gauge-CsqVvNxE.js → vue-ui-gauge-BhrXiD4S.js} +7 -7
  66. package/dist/{vue-ui-gizmo-BkkLoCyx.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
  67. package/dist/{vue-ui-gizmo-Peyy8li7.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
  68. package/dist/{vue-ui-heatmap-DYb831An.cjs → vue-ui-heatmap-Bc4HvgMk.cjs} +1 -1
  69. package/dist/{vue-ui-heatmap-i4HFM04D.js → vue-ui-heatmap-wjsvn1_e.js} +10 -10
  70. package/dist/{vue-ui-kpi-CCrdcv3r.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
  71. package/dist/{vue-ui-kpi-gSKVVqZg.js → vue-ui-kpi-DLJuo47I.js} +3 -3
  72. package/dist/{vue-ui-mini-loader-CqutMcQI.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
  73. package/dist/{vue-ui-mini-loader-D7Jk1LJb.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
  74. package/dist/{vue-ui-molecule-CgdepnhM.js → vue-ui-molecule-DXpMMgdW.js} +11 -11
  75. package/dist/{vue-ui-molecule-CwUObXAx.cjs → vue-ui-molecule-ZqAJHh6x.cjs} +1 -1
  76. package/dist/{vue-ui-mood-radar-Bxro4962.js → vue-ui-mood-radar-B_uWY92C.js} +11 -11
  77. package/dist/{vue-ui-mood-radar-RQFKS7Br.cjs → vue-ui-mood-radar-BhteAPWH.cjs} +1 -1
  78. package/dist/{vue-ui-nested-donuts-B7dXBejH.js → vue-ui-nested-donuts-By32x0Y7.js} +11 -11
  79. package/dist/{vue-ui-nested-donuts-D8ZGqIGC.cjs → vue-ui-nested-donuts-ClgkX1-p.cjs} +1 -1
  80. package/dist/{vue-ui-onion-Dtt0kw8E.cjs → vue-ui-onion-BdIxJpfA.cjs} +1 -1
  81. package/dist/{vue-ui-onion-i52wztm0.js → vue-ui-onion-dQTXKNju.js} +11 -11
  82. package/dist/{vue-ui-parallel-coordinate-plot-DUssrm08.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +12 -12
  83. package/dist/{vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs → vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs} +1 -1
  84. package/dist/{vue-ui-quadrant-a_I5E71f.cjs → vue-ui-quadrant-CArA4Vmm.cjs} +1 -1
  85. package/dist/{vue-ui-quadrant-BORPtgQO.js → vue-ui-quadrant-Coqh0pYO.js} +12 -12
  86. package/dist/{vue-ui-quick-chart-BpPDfK78.cjs → vue-ui-quick-chart-6Av74TTC.cjs} +1 -1
  87. package/dist/{vue-ui-quick-chart-yb1FzVdt.js → vue-ui-quick-chart-Bfdddr_B.js} +9 -9
  88. package/dist/{vue-ui-radar-CoCbl19A.js → vue-ui-radar-BpdGMVHw.js} +12 -12
  89. package/dist/{vue-ui-radar-DZMngiqq.cjs → vue-ui-radar-CLr-gu1X.cjs} +1 -1
  90. package/dist/{vue-ui-rating-D-zwuvLK.js → vue-ui-rating-B-YedcK0.js} +2 -2
  91. package/dist/{vue-ui-rating-nTJ8DDhG.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
  92. package/dist/{vue-ui-relation-circle-CW9qozhJ.js → vue-ui-relation-circle-BLVThOqT.js} +7 -7
  93. package/dist/{vue-ui-relation-circle-Wj_yrVJc.cjs → vue-ui-relation-circle-DuGQKFor.cjs} +1 -1
  94. package/dist/{vue-ui-rings-Bx2GEh6d.js → vue-ui-rings-BGeYkj-O.js} +11 -11
  95. package/dist/{vue-ui-rings-BZaZIGEz.cjs → vue-ui-rings-DzgehQZ5.cjs} +1 -1
  96. package/dist/{vue-ui-scatter-BARiPzro.js → vue-ui-scatter-CsBPCCco.js} +12 -12
  97. package/dist/{vue-ui-scatter-C-i1NZgz.cjs → vue-ui-scatter-jPnr8qI0.cjs} +1 -1
  98. package/dist/{vue-ui-screenshot-CwOoftGV.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
  99. package/dist/{vue-ui-screenshot-CuiJqlfo.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
  100. package/dist/{vue-ui-skeleton-DNuwx6_y.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
  101. package/dist/{vue-ui-skeleton-DpfJbsNA.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
  102. package/dist/{vue-ui-smiley-BnX27B0k.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
  103. package/dist/{vue-ui-smiley-DGE9NFBY.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
  104. package/dist/{vue-ui-spark-trend-aW-de-rX.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
  105. package/dist/{vue-ui-spark-trend-CgCLrMox.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
  106. package/dist/{vue-ui-sparkbar-BLUXUlTY.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
  107. package/dist/{vue-ui-sparkbar-BXku33sq.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
  108. package/dist/{vue-ui-sparkgauge-Doi0iu0L.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
  109. package/dist/{vue-ui-sparkgauge-RTiKvSMp.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
  110. package/dist/{vue-ui-sparkhistogram-BnMvXlAP.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
  111. package/dist/{vue-ui-sparkhistogram-C6AgJH1C.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
  112. package/dist/{vue-ui-sparkline-DI7fq_MR.js → vue-ui-sparkline-C-LE7J9H.js} +4 -4
  113. package/dist/{vue-ui-sparkline-DpVCQ6W9.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
  114. package/dist/{vue-ui-sparkstackbar-oNnE5z1C.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
  115. package/dist/{vue-ui-sparkstackbar-Bvuq2sLW.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
  116. package/dist/{vue-ui-stackbar-aWJDGIKV.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
  117. package/dist/{vue-ui-stackbar-6g7b3yyu.js → vue-ui-stackbar-C5xNRXnW.js} +12 -12
  118. package/dist/{vue-ui-strip-plot-BFM8HIM8.js → vue-ui-strip-plot-6khUDDeA.js} +11 -11
  119. package/dist/{vue-ui-strip-plot-GdjjVxMN.cjs → vue-ui-strip-plot-BFUtZW4b.cjs} +1 -1
  120. package/dist/{vue-ui-table-XOPmDCOB.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
  121. package/dist/{vue-ui-table-Cw4Yz-IE.js → vue-ui-table-DsBM7Osw.js} +1 -1
  122. package/dist/{vue-ui-table-heatmap-Bh48bMuU.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
  123. package/dist/{vue-ui-table-heatmap-DeRCR8l6.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
  124. package/dist/{vue-ui-table-sparkline-w3H-od91.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
  125. package/dist/{vue-ui-table-sparkline-C25qj1w_.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
  126. package/dist/{vue-ui-thermometer-DZrusaGY.cjs → vue-ui-thermometer-BhHYcxmT.cjs} +1 -1
  127. package/dist/{vue-ui-thermometer-BySEVhT8.js → vue-ui-thermometer-DuI3uDCZ.js} +7 -7
  128. package/dist/{vue-ui-timer-1p6J6hTn.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
  129. package/dist/{vue-ui-timer-BN-9a2lj.js → vue-ui-timer-Gk3bl_em.js} +5 -5
  130. package/dist/{vue-ui-tiremarks-EzYdOMyf.js → vue-ui-tiremarks-AcEjMpJH.js} +7 -7
  131. package/dist/{vue-ui-tiremarks-CvIJeWKE.cjs → vue-ui-tiremarks-UX2FbnyG.cjs} +1 -1
  132. package/dist/{vue-ui-treemap-Da0f6vaF.js → vue-ui-treemap-CFTpzgX5.js} +11 -11
  133. package/dist/{vue-ui-treemap-CzNOr1iR.cjs → vue-ui-treemap-D6CTMfsm.cjs} +1 -1
  134. package/dist/{vue-ui-vertical-bar-B9shdfqo.cjs → vue-ui-vertical-bar-BzY2H3UC.cjs} +1 -1
  135. package/dist/{vue-ui-vertical-bar-D1cBfu5p.js → vue-ui-vertical-bar-CuBJx5l1.js} +11 -11
  136. package/dist/{vue-ui-waffle-Cg-7Fazv.cjs → vue-ui-waffle-CZxR13EG.cjs} +1 -1
  137. package/dist/{vue-ui-waffle-DM2LsEP7.js → vue-ui-waffle-rDfZLxvH.js} +11 -11
  138. package/dist/{vue-ui-wheel-B9cmixxi.js → vue-ui-wheel-BFt2o4yO.js} +7 -7
  139. package/dist/{vue-ui-wheel-C-JukdTy.cjs → vue-ui-wheel-BM-St3xT.cjs} +1 -1
  140. package/dist/{vue-ui-word-cloud-BLMWYOPy.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
  141. package/dist/{vue-ui-word-cloud-Baz7RXN2.js → vue-ui-word-cloud-pNPIrJ-g.js} +10 -10
  142. package/dist/{vue-ui-xy-BHeSkJQ3.cjs → vue-ui-xy-CBZUMMlP.cjs} +1 -1
  143. package/dist/{vue-ui-xy-DVnzVSqE.js → vue-ui-xy-DwkEc4Np.js} +14 -14
  144. package/dist/{vue-ui-xy-canvas-A7PKnWBs.js → vue-ui-xy-canvas-CW90CROL.js} +11 -11
  145. package/dist/{vue-ui-xy-canvas-DAd-B98z.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
  146. package/package.json +1 -1
  147. package/dist/PenAndPaper-BQzgk5kO.js +0 -269
  148. package/dist/PenAndPaper-DBSxk9Xk.cjs +0 -1
@@ -0,0 +1,308 @@
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
+ };
@@ -0,0 +1 @@
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 +1 @@
1
- "use strict";const e=require("vue"),a=require("./index-CcykRspI.cjs"),c=["cx","cy","r","fill","stroke","stroke-width"],m=["d","fill","stroke","stroke-width"],v=["points","fill","stroke","stroke-width"],p={__name:"Shape",props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3}},emits:["mouseover","mouseout","click"],setup(n,{emit:r}){const t=n;function d(u){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[u]}const s=e.computed(()=>d(t.shape)),i=e.computed(()=>t.shape!=="star"?null:a.createStar({plot:{x:t.plot.x,y:t.plot.y},radius:t.radius*(t.isSelected?t.zoom:1)})),k=e.computed(()=>a.createPolygonPath({plot:{x:t.plot.x,y:t.plot.y},radius:t.radius*(t.isSelected?t.zoom:1),sides:s.value.points,rotation:s.value.rotation}).path);return(u,o)=>(e.openBlock(),e.createElementBlock("g",null,[s.value&&s.value.points===1?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:n.plot.x,cy:n.plot.y,r:t.radius*(t.isSelected?t.zoom:1),fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:o[0]||(o[0]=l=>r("mouseover")),onMouseout:o[1]||(o[1]=l=>r("mouseout")),onClick:o[2]||(o[2]=l=>r("click"))},null,40,c)):e.createCommentVNode("",!0),s.value&&s.value.points>=n.limit?(e.openBlock(),e.createElementBlock("path",{key:1,d:k.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:o[3]||(o[3]=l=>r("mouseover")),onMouseout:o[4]||(o[4]=l=>r("mouseout")),onClick:o[5]||(o[5]=l=>r("click"))},null,40,m)):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("polygon",{key:2,points:i.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:o[6]||(o[6]=l=>r("mouseover")),onMouseout:o[7]||(o[7]=l=>r("mouseout")),onClick:o[8]||(o[8]=l=>r("click"))},null,40,v)):e.createCommentVNode("",!0)]))}};exports._sfc_main=p;
1
+ "use strict";const e=require("vue"),a=require("./index-C9HllqQA.cjs"),c=["cx","cy","r","fill","stroke","stroke-width"],m=["d","fill","stroke","stroke-width"],v=["points","fill","stroke","stroke-width"],p={__name:"Shape",props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3}},emits:["mouseover","mouseout","click"],setup(n,{emit:r}){const t=n;function d(u){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[u]}const s=e.computed(()=>d(t.shape)),i=e.computed(()=>t.shape!=="star"?null:a.createStar({plot:{x:t.plot.x,y:t.plot.y},radius:t.radius*(t.isSelected?t.zoom:1)})),k=e.computed(()=>a.createPolygonPath({plot:{x:t.plot.x,y:t.plot.y},radius:t.radius*(t.isSelected?t.zoom:1),sides:s.value.points,rotation:s.value.rotation}).path);return(u,o)=>(e.openBlock(),e.createElementBlock("g",null,[s.value&&s.value.points===1?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:n.plot.x,cy:n.plot.y,r:t.radius*(t.isSelected?t.zoom:1),fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:o[0]||(o[0]=l=>r("mouseover")),onMouseout:o[1]||(o[1]=l=>r("mouseout")),onClick:o[2]||(o[2]=l=>r("click"))},null,40,c)):e.createCommentVNode("",!0),s.value&&s.value.points>=n.limit?(e.openBlock(),e.createElementBlock("path",{key:1,d:k.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:o[3]||(o[3]=l=>r("mouseover")),onMouseout:o[4]||(o[4]=l=>r("mouseout")),onClick:o[5]||(o[5]=l=>r("click"))},null,40,m)):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("polygon",{key:2,points:i.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:o[6]||(o[6]=l=>r("mouseover")),onMouseout:o[7]||(o[7]=l=>r("mouseout")),onClick:o[8]||(o[8]=l=>r("click"))},null,40,v)):e.createCommentVNode("",!0)]))}};exports._sfc_main=p;
@@ -1,5 +1,5 @@
1
1
  import { computed as u, openBlock as l, createElementBlock as i, createCommentVNode as a } from "vue";
2
- import { U as p, O as f } from "./index-DCsPHn9C.js";
2
+ import { U as p, O as f } from "./index-C1GB0E49.js";
3
3
  const y = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], c = ["d", "fill", "stroke", "stroke-width"], g = ["points", "fill", "stroke", "stroke-width"], $ = {
4
4
  __name: "Shape",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as K, ref as f, computed as d, watch as L, onMounted as Y, openBlock as v, createElementBlock as h, createElementVNode as i, normalizeStyle as S, createVNode as ee, renderSlot as te, createCommentVNode as k, unref as le, Fragment as z, renderList as E, withDirectives as P, vModelText as R, toDisplayString as A, pushScopeId as ae, popScopeId as ie } from "vue";
2
- import ne from "./BaseIcon-BX3x6oa7.js";
2
+ import ne from "./BaseIcon-D9DRVW03.js";
3
3
  import { t as oe, u as ue } from "./useResponsive-CoxXLe23.js";
4
- import { c as re, R as V, Q as B, X as se } from "./index-DCsPHn9C.js";
4
+ import { c as re, R as V, Q as B, X as se } from "./index-C1GB0E49.js";
5
5
  import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const O = (l) => (ae("data-v-54291cff"), l = l(), ie(), l), me = {
7
7
  "data-html2canvas-ignore": "",
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),_=require("./BaseIcon-BTn_oML7.cjs"),C=require("./useResponsive-BJ7DTGpm.cjs"),v=require("./index-CcykRspI.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;
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;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./useNestedProp-XtPlFP9O.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-DOr0hj4s.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 { 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-DdSlLeTW.js";
2
+ import { u as c } from "./useNestedProp-CNAPgW6E.js";
3
3
  const x = {
4
4
  __name: "Title",
5
5
  props: {
@@ -1 +1 @@
1
- "use strict";const o=require("vue"),v=require("./index-CcykRspI.cjs");function p({tooltip:e,chart:r,clientPosition:t,positionPreference:a="center",defaultOffsetY:d=24}){const u=o.ref(0),l=o.ref(d);if(e&&r){const{width:n,height:f}=e.getBoundingClientRect(),{right:i,left:s,bottom:m}=r.getBoundingClientRect();a==="center"&&(t.x+n/2>i?u.value=-n+(i-t.x):t.x-n/2<s?u.value=-n+(n-(t.x-s)):u.value=-n/2),a==="right"&&(t.x+n>i?u.value=-n+(i-t.x):u.value=0),a==="left"&&(t.x<s+n?u.value=-n+(n-(t.x-s)):u.value=-n),t.y+f>m&&(l.value=-f-d)}return{top:t.y+l.value,left:t.x+u.value}}function y(e,r,t){o.onMounted(()=>e.addEventListener(r,t)),o.onUnmounted(()=>e.removeEventListener(r,t))}function c(){const e=o.ref(0),r=o.ref(0);return y(window,"mousemove",t=>{e.value=t.clientX,r.value=t.clientY}),{x:e,y:r}}const b=["innerHTML"],g={__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}},setup(e){const r=e,t=o.ref(null),a=o.ref(c()),d=o.computed(()=>p({tooltip:t.value,chart:r.parent,clientPosition:a.value,positionPreference:r.position,defaultOffsetY:r.offsetY})),u=o.computed(()=>v.setOpacity(r.backgroundColor,r.backgroundOpacity));return(l,n)=>e.show?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"tooltip",ref:t,class:o.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:o.normalizeStyle(`pointer-events:none;top:${d.value.top}px;left:${d.value.left}px;${e.isCustom?"":`background:${u.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};`)},[o.renderSlot(l.$slots,"tooltip-before"),o.renderSlot(l.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,b),o.renderSlot(l.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=g;exports.useMouse=c;
1
+ "use strict";const o=require("vue"),v=require("./index-C9HllqQA.cjs");function p({tooltip:e,chart:r,clientPosition:t,positionPreference:a="center",defaultOffsetY:d=24}){const u=o.ref(0),l=o.ref(d);if(e&&r){const{width:n,height:f}=e.getBoundingClientRect(),{right:i,left:s,bottom:m}=r.getBoundingClientRect();a==="center"&&(t.x+n/2>i?u.value=-n+(i-t.x):t.x-n/2<s?u.value=-n+(n-(t.x-s)):u.value=-n/2),a==="right"&&(t.x+n>i?u.value=-n+(i-t.x):u.value=0),a==="left"&&(t.x<s+n?u.value=-n+(n-(t.x-s)):u.value=-n),t.y+f>m&&(l.value=-f-d)}return{top:t.y+l.value,left:t.x+u.value}}function y(e,r,t){o.onMounted(()=>e.addEventListener(r,t)),o.onUnmounted(()=>e.removeEventListener(r,t))}function c(){const e=o.ref(0),r=o.ref(0);return y(window,"mousemove",t=>{e.value=t.clientX,r.value=t.clientY}),{x:e,y:r}}const b=["innerHTML"],g={__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}},setup(e){const r=e,t=o.ref(null),a=o.ref(c()),d=o.computed(()=>p({tooltip:t.value,chart:r.parent,clientPosition:a.value,positionPreference:r.position,defaultOffsetY:r.offsetY})),u=o.computed(()=>v.setOpacity(r.backgroundColor,r.backgroundOpacity));return(l,n)=>e.show?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"tooltip",ref:t,class:o.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:o.normalizeStyle(`pointer-events:none;top:${d.value.top}px;left:${d.value.left}px;${e.isCustom?"":`background:${u.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};`)},[o.renderSlot(l.$slots,"tooltip-before"),o.renderSlot(l.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,b),o.renderSlot(l.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=g;exports.useMouse=c;
@@ -1,5 +1,5 @@
1
1
  import { ref as l, onMounted as v, onUnmounted as y, computed as m, openBlock as b, createElementBlock as g, normalizeClass as x, normalizeStyle as h, renderSlot as f, createElementVNode as $, createCommentVNode as C } from "vue";
2
- import { s as S } from "./index-DCsPHn9C.js";
2
+ import { s as S } from "./index-C1GB0E49.js";
3
3
  function k({ tooltip: e, chart: o, clientPosition: t, positionPreference: a = "center", defaultOffsetY: i = 24 }) {
4
4
  const u = l(0), r = l(i);
5
5
  if (e && o) {
@@ -11124,7 +11124,7 @@ function dr({ series: o, center: l, maxRadius: t }) {
11124
11124
  };
11125
11125
  });
11126
11126
  }
11127
- const fr = g(() => import("./Arrow-AxsI-FAh.js")), Ar = g(() => import("./vue-data-ui-D_MTGc8j.js")), br = g(() => import("./vue-ui-3d-bar-BdzWvy4d.js")), Cr = g(() => import("./vue-ui-accordion-D4Er5Dy5.js")), gr = g(() => import("./vue-ui-age-pyramid-CHEdFQb7.js")), hr = g(() => import("./vue-ui-annotator-CqM_1HlB.js")), kr = g(() => import("./vue-ui-candlestick-Bo41qkGe.js")), pr = g(() => import("./vue-ui-chestnut-CNWq-epB.js")), mr = g(() => import("./vue-ui-cursor-B4m30Gqz.js")), yr = g(() => import("./vue-ui-dashboard-BL9IgDDx.js")), Fr = g(() => import("./vue-ui-digits-CVPDJ6tl.js")), xr = g(() => import("./vue-ui-donut-C65SAJKb.js")), Er = g(() => import("./vue-ui-donut-evolution-BFbBlmBx.js")), _r = g(() => import("./vue-ui-dumbbell-BnxRfvv0.js")), wr = g(() => import("./vue-ui-flow-Cra_F-tK.js")), vr = g(() => import("./vue-ui-galaxy-DlJ7v0aD.js")), Sr = g(() => import("./vue-ui-gauge-CsqVvNxE.js")), Lr = g(() => import("./vue-ui-heatmap-i4HFM04D.js")), Dr = g(() => import("./BaseIcon-BX3x6oa7.js")), Br = g(() => import("./vue-ui-kpi-gSKVVqZg.js")), Rr = g(() => import("./vue-ui-mini-loader-D7Jk1LJb.js")), zr = g(() => import("./vue-ui-molecule-CgdepnhM.js")), Pr = g(() => import("./vue-ui-mood-radar-Bxro4962.js")), Tr = g(() => import("./vue-ui-nested-donuts-B7dXBejH.js")), Or = g(() => import("./vue-ui-onion-i52wztm0.js")), Nr = g(() => import("./vue-ui-parallel-coordinate-plot-DUssrm08.js")), Mr = g(() => import("./vue-ui-quadrant-BORPtgQO.js")), Vr = g(() => import("./vue-ui-quick-chart-yb1FzVdt.js")), Ir = g(() => import("./vue-ui-radar-CoCbl19A.js")), Wr = g(() => import("./vue-ui-rating-D-zwuvLK.js")), Ur = g(() => import("./vue-ui-relation-circle-CW9qozhJ.js")), Gr = g(() => import("./vue-ui-rings-Bx2GEh6d.js")), Yr = g(() => import("./vue-ui-scatter-BARiPzro.js")), Hr = g(() => import("./vue-ui-screenshot-CuiJqlfo.js")), $r = g(() => import("./vue-ui-skeleton-DNuwx6_y.js")), Xr = g(() => import("./vue-ui-smiley-BnX27B0k.js")), Kr = g(() => import("./vue-ui-sparkhistogram-BnMvXlAP.js")), jr = g(() => import("./vue-ui-sparkstackbar-oNnE5z1C.js")), qr = g(() => import("./vue-ui-spark-trend-CgCLrMox.js")), Qr = g(() => import("./vue-ui-sparkbar-BXku33sq.js")), Zr = g(() => import("./vue-ui-sparkgauge-Doi0iu0L.js")), Jr = g(() => import("./vue-ui-sparkline-DI7fq_MR.js")), ol = g(() => import("./vue-ui-strip-plot-BFM8HIM8.js")), tl = g(() => import("./vue-ui-table-Cw4Yz-IE.js")), el = g(() => import("./vue-ui-table-heatmap-DeRCR8l6.js")), rl = g(() => import("./vue-ui-table-sparkline-w3H-od91.js")), ll = g(() => import("./vue-ui-thermometer-BySEVhT8.js")), al = g(() => import("./vue-ui-timer-BN-9a2lj.js")), nl = g(() => import("./vue-ui-tiremarks-EzYdOMyf.js")), sl = g(() => import("./vue-ui-treemap-Da0f6vaF.js")), il = g(() => import("./vue-ui-vertical-bar-D1cBfu5p.js")), cl = g(() => import("./vue-ui-waffle-DM2LsEP7.js")), ul = g(() => import("./vue-ui-wheel-B9cmixxi.js")), dl = g(() => import("./vue-ui-word-cloud-Baz7RXN2.js")), fl = g(() => import("./vue-ui-xy-DVnzVSqE.js")), Al = g(() => import("./vue-ui-xy-canvas-A7PKnWBs.js")), bl = g(() => import("./vue-ui-carousel-table-CkNOqa9q.js")), Cl = g(() => import("./vue-ui-gizmo-Peyy8li7.js")), gl = g(() => import("./vue-ui-stackbar-6g7b3yyu.js")), hl = g(() => import("./vue-ui-bullet-DBk50kIe.js"));
11127
+ const fr = g(() => import("./Arrow-Dvaq-qLp.js")), Ar = g(() => import("./vue-data-ui-Bg5KOKEX.js")), br = g(() => import("./vue-ui-3d-bar-mUrcbG6J.js")), Cr = g(() => import("./vue-ui-accordion-DWyRC3-h.js")), gr = g(() => import("./vue-ui-age-pyramid-CVktvXpY.js")), hr = g(() => import("./vue-ui-annotator-Cp8KDkuP.js")), kr = g(() => import("./vue-ui-candlestick-DUNyCQ6Z.js")), pr = g(() => import("./vue-ui-chestnut-CjS4qC_J.js")), mr = g(() => import("./vue-ui-cursor-C3SpabMF.js")), yr = g(() => import("./vue-ui-dashboard-BCOKtsyJ.js")), Fr = g(() => import("./vue-ui-digits-DaMKAZkt.js")), xr = g(() => import("./vue-ui-donut-B_-VAqBw.js")), Er = g(() => import("./vue-ui-donut-evolution-C9TXFzCm.js")), _r = g(() => import("./vue-ui-dumbbell-BP_Vf_u2.js")), wr = g(() => import("./vue-ui-flow-DHoxK4t1.js")), vr = g(() => import("./vue-ui-galaxy-DuLPsC4Q.js")), Sr = g(() => import("./vue-ui-gauge-BhrXiD4S.js")), Lr = g(() => import("./vue-ui-heatmap-wjsvn1_e.js")), Dr = g(() => import("./BaseIcon-D9DRVW03.js")), Br = g(() => import("./vue-ui-kpi-DLJuo47I.js")), Rr = g(() => import("./vue-ui-mini-loader-D4aLvv-D.js")), zr = g(() => import("./vue-ui-molecule-DXpMMgdW.js")), Pr = g(() => import("./vue-ui-mood-radar-B_uWY92C.js")), Tr = g(() => import("./vue-ui-nested-donuts-By32x0Y7.js")), Or = g(() => import("./vue-ui-onion-dQTXKNju.js")), Nr = g(() => import("./vue-ui-parallel-coordinate-plot-CTF9Ujab.js")), Mr = g(() => import("./vue-ui-quadrant-Coqh0pYO.js")), Vr = g(() => import("./vue-ui-quick-chart-Bfdddr_B.js")), Ir = g(() => import("./vue-ui-radar-BpdGMVHw.js")), Wr = g(() => import("./vue-ui-rating-B-YedcK0.js")), Ur = g(() => import("./vue-ui-relation-circle-BLVThOqT.js")), Gr = g(() => import("./vue-ui-rings-BGeYkj-O.js")), Yr = g(() => import("./vue-ui-scatter-CsBPCCco.js")), Hr = g(() => import("./vue-ui-screenshot-B2FTnuxH.js")), $r = g(() => import("./vue-ui-skeleton-CE6ibl1T.js")), Xr = g(() => import("./vue-ui-smiley-2H9hMFZ_.js")), Kr = g(() => import("./vue-ui-sparkhistogram-B3DIjpaE.js")), jr = g(() => import("./vue-ui-sparkstackbar-BzLoGC-y.js")), qr = g(() => import("./vue-ui-spark-trend-Dx9xVq9a.js")), Qr = g(() => import("./vue-ui-sparkbar-zafUIv1n.js")), Zr = g(() => import("./vue-ui-sparkgauge-CFAdhTLk.js")), Jr = g(() => import("./vue-ui-sparkline-C-LE7J9H.js")), ol = g(() => import("./vue-ui-strip-plot-6khUDDeA.js")), tl = g(() => import("./vue-ui-table-DsBM7Osw.js")), el = g(() => import("./vue-ui-table-heatmap-ccQKInFD.js")), rl = g(() => import("./vue-ui-table-sparkline-BU-hOCZ7.js")), ll = g(() => import("./vue-ui-thermometer-DuI3uDCZ.js")), al = g(() => import("./vue-ui-timer-Gk3bl_em.js")), nl = g(() => import("./vue-ui-tiremarks-AcEjMpJH.js")), sl = g(() => import("./vue-ui-treemap-CFTpzgX5.js")), il = g(() => import("./vue-ui-vertical-bar-CuBJx5l1.js")), cl = g(() => import("./vue-ui-waffle-rDfZLxvH.js")), ul = g(() => import("./vue-ui-wheel-BFt2o4yO.js")), dl = g(() => import("./vue-ui-word-cloud-pNPIrJ-g.js")), fl = g(() => import("./vue-ui-xy-DwkEc4Np.js")), Al = g(() => import("./vue-ui-xy-canvas-CW90CROL.js")), bl = g(() => import("./vue-ui-carousel-table-BRrYpr-2.js")), Cl = g(() => import("./vue-ui-gizmo-D3kBYI1G.js")), gl = g(() => import("./vue-ui-stackbar-C5xNRXnW.js")), hl = g(() => import("./vue-ui-bullet-D4atsFQx.js"));
11128
11128
  export {
11129
11129
  rr as $,
11130
11130
  Zt as A,
@@ -6,4 +6,4 @@
6
6
  L ${b} ${m}
7
7
  A ${i} ${i} 0 0 1 ${p} ${h}
8
8
  Z
9
- `.trim(),middlePoint:{x:E,y:F}}})}const dr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Arrow-W6XO2WVI.cjs"))),fr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-data-ui-C0o1kZzC.cjs"))),Ar=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-C298Bf3V.cjs"))),br=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-B7PTyFVk.cjs"))),Cr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-BIcB5vtU.cjs"))),gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-eGtZcHeb.cjs"))),hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-CP4Z-29b.cjs"))),kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-qxzF2ND7.cjs"))),pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-BEv39HVY.cjs"))),mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-DnoXstlp.cjs"))),yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-D1RaU4V-.cjs"))),Fr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-CMC92CXL.cjs"))),xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-7gIM4bVk.cjs"))),Er=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-OCo67ZKp.cjs"))),vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BPnpYrzb.cjs"))),_r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-3zTk9Pr1.cjs"))),wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-DcUNJZI1.cjs"))),Sr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-DYb831An.cjs"))),Lr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./BaseIcon-BTn_oML7.cjs"))),Dr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-CCrdcv3r.cjs"))),Br=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-CqutMcQI.cjs"))),Pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-CwUObXAx.cjs"))),Rr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-RQFKS7Br.cjs"))),zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-D8ZGqIGC.cjs"))),Vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-Dtt0kw8E.cjs"))),Tr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs"))),Or=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-a_I5E71f.cjs"))),Nr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-BpPDfK78.cjs"))),Mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DZMngiqq.cjs"))),Ur=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-nTJ8DDhG.cjs"))),Ir=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-Wj_yrVJc.cjs"))),Wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-BZaZIGEz.cjs"))),Gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-C-i1NZgz.cjs"))),Hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-CwOoftGV.cjs"))),Yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-DpfJbsNA.cjs"))),$r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-DGE9NFBY.cjs"))),Xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-C6AgJH1C.cjs"))),qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-Bvuq2sLW.cjs"))),Kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-aW-de-rX.cjs"))),jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-BLUXUlTY.cjs"))),Qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-RTiKvSMp.cjs"))),Zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-DpVCQ6W9.cjs"))),Jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-GdjjVxMN.cjs"))),ol=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-XOPmDCOB.cjs"))),el=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-Bh48bMuU.cjs"))),tl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-C25qj1w_.cjs"))),rl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-DZrusaGY.cjs"))),ll=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-1p6J6hTn.cjs"))),al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-CvIJeWKE.cjs"))),nl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-CzNOr1iR.cjs"))),sl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-B9shdfqo.cjs"))),il=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-Cg-7Fazv.cjs"))),cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-C-JukdTy.cjs"))),ul=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-BLMWYOPy.cjs"))),dl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-BHeSkJQ3.cjs"))),fl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-DAd-B98z.cjs"))),Al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-lMqx64wd.cjs"))),bl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-BkkLoCyx.cjs"))),Cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-aWJDGIKV.cjs"))),gl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-DURgZGgp.cjs")));exports.Arrow=dr;exports.VueDataUi=fr;exports.VueUi3dBar=Ar;exports.VueUiAccordion=br;exports.VueUiAgePyramid=Cr;exports.VueUiAnnotator=gr;exports.VueUiBullet=gl;exports.VueUiCandlestick=hr;exports.VueUiCarouselTable=Al;exports.VueUiChestnut=kr;exports.VueUiCursor=pr;exports.VueUiDashboard=mr;exports.VueUiDigits=yr;exports.VueUiDonut=Fr;exports.VueUiDonutEvolution=xr;exports.VueUiDumbbell=Er;exports.VueUiFlow=vr;exports.VueUiGalaxy=_r;exports.VueUiGauge=wr;exports.VueUiGizmo=bl;exports.VueUiHeatmap=Sr;exports.VueUiIcon=Lr;exports.VueUiKpi=Dr;exports.VueUiMiniLoader=Br;exports.VueUiMolecule=Pr;exports.VueUiMoodRadar=Rr;exports.VueUiNestedDonuts=zr;exports.VueUiOnion=Vr;exports.VueUiParallelCoordinatePlot=Tr;exports.VueUiQuadrant=Or;exports.VueUiQuickChart=Nr;exports.VueUiRadar=Mr;exports.VueUiRating=Ur;exports.VueUiRelationCircle=Ir;exports.VueUiRings=Wr;exports.VueUiScatter=Gr;exports.VueUiScreenshot=Hr;exports.VueUiSkeleton=Yr;exports.VueUiSmiley=$r;exports.VueUiSparkHistogram=Xr;exports.VueUiSparkStackbar=qr;exports.VueUiSparkTrend=Kr;exports.VueUiSparkbar=jr;exports.VueUiSparkgauge=Qr;exports.VueUiSparkline=Zr;exports.VueUiStackbar=Cl;exports.VueUiStripPlot=Jr;exports.VueUiTable=ol;exports.VueUiTableHeatmap=el;exports.VueUiTableSparkline=tl;exports.VueUiThermometer=rl;exports.VueUiTimer=ll;exports.VueUiTiremarks=al;exports.VueUiTreemap=nl;exports.VueUiVerticalBar=sl;exports.VueUiWaffle=il;exports.VueUiWheel=cl;exports.VueUiWordCloud=ul;exports.VueUiXy=dl;exports.VueUiXyCanvas=fl;exports.XMLNS=jt;exports.abbreviate=It;exports.adaptColorToBackground=gt;exports.applyDataLabel=nr;exports.assignStackRatios=er;exports.calcLinearProgression=ht;exports.calcMarkerOffsetX=R;exports.calcMarkerOffsetY=z;exports.calcMedian=pt;exports.calcNutArrowPath=St;exports.calcTrend=Qt;exports.calculateNiceScale=Ot;exports.calculateNiceScaleWithExactExtremes=Nt;exports.canShowValue=Dt;exports.checkNaN=k;exports.closestDecimal=Lt;exports.convertColorToHex=N;exports.convertConfigColors=eo;exports.convertCustomPalette=Jt;exports.createCsvContent=zt;exports.createPolarAreas=ur;exports.createPolygonPath=ft;exports.createSmoothPath=yt;exports.createSmoothPathVertical=Ft;exports.createSpiralPath=Xt;exports.createStar=bt;exports.createStraightPath=mt;exports.createTSpans=Zt;exports.createUid=xt;exports.createWordCloudDatasetFromPlainText=or;exports.darkenHexColor=Tt;exports.dataLabel=Ut;exports.downloadCsv=Rt;exports.error=Yt;exports.functionReturnsString=Gt;exports.getMissingDatasetAttributes=qt;exports.getPalette=it;exports.getPathLengthFromCoordinates=tr;exports.getThemeConfig=Ke;exports.getVueDataUiConfig=ne;exports.giftWrap=Ct;exports.hasDeepProperty=sr;exports.interpolateColorHex=Mt;exports.isFunction=Wt;exports.isSafeValue=st;exports.lightenHexColor=Vt;exports.makeDonut=tt;exports.makePath=Pt;exports.objectIsEmpty=Ht;exports.offsetFromCenterPoint=Et;exports.opacity=O;exports.palette=oo;exports.sanitizeArray=ir;exports.setOpacity=cr;exports.shiftHue=ut;exports.sumByAttribute=Bt;exports.sumSeries=lr;exports.themePalettes=P;exports.themes=Z;exports.translateSize=rr;exports.treeShake=J;exports.useConfig=Q;
9
+ `.trim(),middlePoint:{x:E,y:F}}})}const dr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Arrow-BeQLfJqp.cjs"))),fr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-data-ui-Bnkz3Xmu.cjs"))),Ar=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-sjkBzHFn.cjs"))),br=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-BkUGNe2H.cjs"))),Cr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-CKQ8OHuS.cjs"))),gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-DSJ25l4s.cjs"))),hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-BhdG9CY1.cjs"))),kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-BLBS9QO2.cjs"))),pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DzVt5_py.cjs"))),mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-CIv7W8Yn.cjs"))),yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-yNfQgOLZ.cjs"))),Fr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-Bo4SbdEe.cjs"))),xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-DOPY3I3Q.cjs"))),Er=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-Cgwng71s.cjs"))),vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BiQj4v8i.cjs"))),_r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-C5ZaT8pw.cjs"))),wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-26eHgOjR.cjs"))),Sr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-Bc4HvgMk.cjs"))),Lr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./BaseIcon-BQM6PtJu.cjs"))),Dr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BbvfVZn0.cjs"))),Br=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-BaxwhF7o.cjs"))),Pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-ZqAJHh6x.cjs"))),Rr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BhteAPWH.cjs"))),zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-ClgkX1-p.cjs"))),Vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-BdIxJpfA.cjs"))),Tr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs"))),Or=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-CArA4Vmm.cjs"))),Nr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-6Av74TTC.cjs"))),Mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-CLr-gu1X.cjs"))),Ur=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-KFJoH-JV.cjs"))),Ir=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-DuGQKFor.cjs"))),Wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-DzgehQZ5.cjs"))),Gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-jPnr8qI0.cjs"))),Hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-1nXVH-hp.cjs"))),Yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-CPwED1As.cjs"))),$r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-DqOZwhT4.cjs"))),Xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-CHc3_xRE.cjs"))),qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-nx-Lt8sX.cjs"))),Kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CLW85O32.cjs"))),jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-DJDXrRyp.cjs"))),Qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-CPNAXUyl.cjs"))),Zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-U22Yhwy7.cjs"))),Jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-BFUtZW4b.cjs"))),ol=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-B3Eng0fH.cjs"))),el=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-DwCdS68z.cjs"))),tl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-CDmrQFKv.cjs"))),rl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-BhHYcxmT.cjs"))),ll=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-D7EKaAqa.cjs"))),al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-UX2FbnyG.cjs"))),nl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-D6CTMfsm.cjs"))),sl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-BzY2H3UC.cjs"))),il=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-CZxR13EG.cjs"))),cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-BM-St3xT.cjs"))),ul=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-DjKyKUbA.cjs"))),dl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-CBZUMMlP.cjs"))),fl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-DWGGLom_.cjs"))),Al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-DF4FhrBd.cjs"))),bl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-Bb_SWCsE.cjs"))),Cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-BwgHLhj2.cjs"))),gl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-Bg3TPFgV.cjs")));exports.Arrow=dr;exports.VueDataUi=fr;exports.VueUi3dBar=Ar;exports.VueUiAccordion=br;exports.VueUiAgePyramid=Cr;exports.VueUiAnnotator=gr;exports.VueUiBullet=gl;exports.VueUiCandlestick=hr;exports.VueUiCarouselTable=Al;exports.VueUiChestnut=kr;exports.VueUiCursor=pr;exports.VueUiDashboard=mr;exports.VueUiDigits=yr;exports.VueUiDonut=Fr;exports.VueUiDonutEvolution=xr;exports.VueUiDumbbell=Er;exports.VueUiFlow=vr;exports.VueUiGalaxy=_r;exports.VueUiGauge=wr;exports.VueUiGizmo=bl;exports.VueUiHeatmap=Sr;exports.VueUiIcon=Lr;exports.VueUiKpi=Dr;exports.VueUiMiniLoader=Br;exports.VueUiMolecule=Pr;exports.VueUiMoodRadar=Rr;exports.VueUiNestedDonuts=zr;exports.VueUiOnion=Vr;exports.VueUiParallelCoordinatePlot=Tr;exports.VueUiQuadrant=Or;exports.VueUiQuickChart=Nr;exports.VueUiRadar=Mr;exports.VueUiRating=Ur;exports.VueUiRelationCircle=Ir;exports.VueUiRings=Wr;exports.VueUiScatter=Gr;exports.VueUiScreenshot=Hr;exports.VueUiSkeleton=Yr;exports.VueUiSmiley=$r;exports.VueUiSparkHistogram=Xr;exports.VueUiSparkStackbar=qr;exports.VueUiSparkTrend=Kr;exports.VueUiSparkbar=jr;exports.VueUiSparkgauge=Qr;exports.VueUiSparkline=Zr;exports.VueUiStackbar=Cl;exports.VueUiStripPlot=Jr;exports.VueUiTable=ol;exports.VueUiTableHeatmap=el;exports.VueUiTableSparkline=tl;exports.VueUiThermometer=rl;exports.VueUiTimer=ll;exports.VueUiTiremarks=al;exports.VueUiTreemap=nl;exports.VueUiVerticalBar=sl;exports.VueUiWaffle=il;exports.VueUiWheel=cl;exports.VueUiWordCloud=ul;exports.VueUiXy=dl;exports.VueUiXyCanvas=fl;exports.XMLNS=jt;exports.abbreviate=It;exports.adaptColorToBackground=gt;exports.applyDataLabel=nr;exports.assignStackRatios=er;exports.calcLinearProgression=ht;exports.calcMarkerOffsetX=R;exports.calcMarkerOffsetY=z;exports.calcMedian=pt;exports.calcNutArrowPath=St;exports.calcTrend=Qt;exports.calculateNiceScale=Ot;exports.calculateNiceScaleWithExactExtremes=Nt;exports.canShowValue=Dt;exports.checkNaN=k;exports.closestDecimal=Lt;exports.convertColorToHex=N;exports.convertConfigColors=eo;exports.convertCustomPalette=Jt;exports.createCsvContent=zt;exports.createPolarAreas=ur;exports.createPolygonPath=ft;exports.createSmoothPath=yt;exports.createSmoothPathVertical=Ft;exports.createSpiralPath=Xt;exports.createStar=bt;exports.createStraightPath=mt;exports.createTSpans=Zt;exports.createUid=xt;exports.createWordCloudDatasetFromPlainText=or;exports.darkenHexColor=Tt;exports.dataLabel=Ut;exports.downloadCsv=Rt;exports.error=Yt;exports.functionReturnsString=Gt;exports.getMissingDatasetAttributes=qt;exports.getPalette=it;exports.getPathLengthFromCoordinates=tr;exports.getThemeConfig=Ke;exports.getVueDataUiConfig=ne;exports.giftWrap=Ct;exports.hasDeepProperty=sr;exports.interpolateColorHex=Mt;exports.isFunction=Wt;exports.isSafeValue=st;exports.lightenHexColor=Vt;exports.makeDonut=tt;exports.makePath=Pt;exports.objectIsEmpty=Ht;exports.offsetFromCenterPoint=Et;exports.opacity=O;exports.palette=oo;exports.sanitizeArray=ir;exports.setOpacity=cr;exports.shiftHue=ut;exports.sumByAttribute=Bt;exports.sumSeries=lr;exports.themePalettes=P;exports.themes=Z;exports.translateSize=rr;exports.treeShake=J;exports.useConfig=Q;