vue-data-ui 2.4.6 → 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.
- package/dist/{Arrow-FPrXmABn.js → Arrow-BCeetU2P.js} +1 -1
- package/dist/{Arrow-CLZKAoZX.cjs → Arrow-Ds1Mhkkt.cjs} +1 -1
- package/dist/{BaseIcon-NmXFeTkE.cjs → BaseIcon-C31iTAGj.cjs} +1 -1
- package/dist/{BaseIcon-D90GFGqy.js → BaseIcon-Icg3SIlH.js} +1 -1
- package/dist/{DataTable-sGuRDRal.js → DataTable-CnLqhXZ2.js} +2 -2
- package/dist/{DataTable-lNwyPkUV.cjs → DataTable-CqaGqXkz.cjs} +1 -1
- package/dist/{Legend-DOn6UaCZ.js → Legend-8QHo6cZQ.js} +1 -1
- package/dist/{Legend-Bdl_1DJO.cjs → Legend-D2iK-_M0.cjs} +1 -1
- package/dist/{PackageVersion-ldwwWp9S.js → PackageVersion-Bw7N_9KM.js} +1 -1
- package/dist/{PackageVersion-VHviFq0W.cjs → PackageVersion-DjuywB0J.cjs} +1 -1
- package/dist/PenAndPaper-BiWc81tP.js +347 -0
- package/dist/PenAndPaper-DoKpW2Tl.cjs +1 -0
- package/dist/{Shape-CR3-qftC.cjs → Shape-BfZLKYNk.cjs} +1 -1
- package/dist/{Shape-CL9-IFMq.js → Shape-CppjH62a.js} +1 -1
- package/dist/{Slicer-BcsAfmLx.js → Slicer-CA5jR9Em.js} +2 -2
- package/dist/{Slicer-DvUS1T9M.cjs → Slicer-U4q5iMIE.cjs} +1 -1
- package/dist/{Title-Doa_KqSJ.cjs → Title-aR9ViX_A.cjs} +1 -1
- package/dist/{Title-Bsbq2v6j.js → Title-yJsQ5q-l.js} +1 -1
- package/dist/{Tooltip-BfjsUhFm.cjs → Tooltip-CN6_JyjT.cjs} +1 -1
- package/dist/{Tooltip-DV_iWmTl.js → Tooltip-klg8yuWM.js} +1 -1
- package/dist/{index-BIGzKAQq.cjs → index-Ci5MafHS.cjs} +1 -1
- package/dist/{index-49zKC_pb.js → index-Cn1EWnYG.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-D1a8xzOZ.js → useNestedProp-BXn-g9sr.js} +1 -1
- package/dist/{useNestedProp-zN3-B_1z.cjs → useNestedProp-DxZ05ZEt.cjs} +1 -1
- package/dist/{usePrinter-CuZzu5vy.cjs → usePrinter-B3HaYNI4.cjs} +1 -1
- package/dist/{usePrinter-fXMN7kAV.js → usePrinter-ZkzmtO6K.js} +1 -1
- package/dist/{vue-data-ui-mpBjz9RX.cjs → vue-data-ui-Bn_29KuS.cjs} +1 -1
- package/dist/{vue-data-ui-Bn5_gi1g.js → vue-data-ui-DfGCpkA8.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BAPatZXD.cjs → vue-ui-3d-bar-CERRaGHQ.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-BJSorf8P.js → vue-ui-3d-bar-Cz7ZSFFf.js} +9 -9
- package/dist/{vue-ui-accordion-RGtr28JI.js → vue-ui-accordion-UADqAdVj.js} +3 -3
- package/dist/{vue-ui-accordion-Dao-6A6Q.cjs → vue-ui-accordion-kQwtYRmD.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid--LgXr3QI.js → vue-ui-age-pyramid-DhGijqy5.js} +10 -10
- package/dist/{vue-ui-age-pyramid-DS8bW0qo.cjs → vue-ui-age-pyramid-Rfk1WUfJ.cjs} +1 -1
- package/dist/{vue-ui-annotator-fMW4he5T.cjs → vue-ui-annotator-BdAFNoMu.cjs} +1 -1
- package/dist/{vue-ui-annotator-DDp3s2Pq.js → vue-ui-annotator-CCgDEOdY.js} +1 -1
- package/dist/{vue-ui-bullet-Ciw0R5nc.cjs → vue-ui-bullet-Bkx9sfrv.cjs} +1 -1
- package/dist/{vue-ui-bullet-BhdTa7u3.js → vue-ui-bullet-CSVuqhhg.js} +8 -8
- package/dist/{vue-ui-candlestick-B1l0aBq_.cjs → vue-ui-candlestick-CuNi5UZ7.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Bf-YTcON.js → vue-ui-candlestick-D0RfMi-W.js} +11 -11
- package/dist/{vue-ui-carousel-table-DXwE1huQ.cjs → vue-ui-carousel-table-Dch3TChE.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CYCpVrOn.js → vue-ui-carousel-table-DeY0f9Ba.js} +4 -4
- package/dist/{vue-ui-chestnut-BsMLyk2U.js → vue-ui-chestnut-B2Gio3KC.js} +8 -8
- package/dist/{vue-ui-chestnut-D3uy5gQJ.cjs → vue-ui-chestnut-bqu8whHd.cjs} +1 -1
- package/dist/{vue-ui-cursor-O0E8FmMB.js → vue-ui-cursor-BlW4uLBm.js} +2 -2
- package/dist/{vue-ui-cursor-DKTzq5Rn.cjs → vue-ui-cursor-Dnv5a5oy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DTQ6jkKX.js → vue-ui-dashboard-DCaNJXOd.js} +2 -2
- package/dist/{vue-ui-dashboard-Cif9KLNp.cjs → vue-ui-dashboard-De5_U4a9.cjs} +1 -1
- package/dist/{vue-ui-digits-Dd_-F0NM.cjs → vue-ui-digits-Dc0L7473.cjs} +1 -1
- package/dist/{vue-ui-digits-B6kqi621.js → vue-ui-digits-DlteJApK.js} +2 -2
- package/dist/{vue-ui-donut-C8vdLwIN.js → vue-ui-donut-6Vh9u3Xp.js} +11 -11
- package/dist/{vue-ui-donut-BjzOSsXF.cjs → vue-ui-donut-CBTZK6YJ.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-B0HSRlIg.cjs → vue-ui-donut-evolution-CmgjvLvu.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CmdF6deB.js → vue-ui-donut-evolution-gQyMiCiu.js} +11 -11
- package/dist/{vue-ui-dumbbell-CEE76a-m.cjs → vue-ui-dumbbell-ByhSaE6s.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DUca_lht.js → vue-ui-dumbbell-C4xg1FG4.js} +10 -10
- package/dist/{vue-ui-flow-DmhIaigU.cjs → vue-ui-flow-Bef5hCwj.cjs} +1 -1
- package/dist/{vue-ui-flow-Cvu1EVCF.js → vue-ui-flow-DYF0P7LD.js} +9 -9
- package/dist/{vue-ui-galaxy-Cu6CWFDj.cjs → vue-ui-galaxy-COY_QSwC.cjs} +1 -1
- package/dist/{vue-ui-galaxy-C3OsM7sZ.js → vue-ui-galaxy-aM8uOGRD.js} +11 -11
- package/dist/{vue-ui-gauge-BzjbsaR8.cjs → vue-ui-gauge-CW8ZpODM.cjs} +1 -1
- package/dist/{vue-ui-gauge-DbKQTx3Q.js → vue-ui-gauge-qYg_QM-A.js} +7 -7
- package/dist/{vue-ui-gizmo-CwcCktOd.js → vue-ui-gizmo-BZyOCD_y.js} +3 -3
- package/dist/{vue-ui-gizmo-D6kY6rq2.cjs → vue-ui-gizmo-DgS57tJ2.cjs} +1 -1
- package/dist/{vue-ui-heatmap-z23AgiZJ.js → vue-ui-heatmap-BfJGluVp.js} +10 -10
- package/dist/{vue-ui-heatmap-DoJeKoTE.cjs → vue-ui-heatmap-Czg21edC.cjs} +1 -1
- package/dist/{vue-ui-kpi-CkAs4UNa.js → vue-ui-kpi-C5ISBjIs.js} +3 -3
- package/dist/{vue-ui-kpi-CwrOzJTf.cjs → vue-ui-kpi-DQpkO2MX.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BL1hWVCl.js → vue-ui-mini-loader-BiaLLW3x.js} +2 -2
- package/dist/{vue-ui-mini-loader-BG5f652Q.cjs → vue-ui-mini-loader-Db5Khvfw.cjs} +1 -1
- package/dist/{vue-ui-molecule-DZ5t0b99.cjs → vue-ui-molecule-4AXvVmWt.cjs} +1 -1
- package/dist/{vue-ui-molecule-DwjLYP7w.js → vue-ui-molecule-fmAXI5nL.js} +11 -11
- package/dist/{vue-ui-mood-radar-DhoBjfBA.cjs → vue-ui-mood-radar-BzfFikJv.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DMyIiep_.js → vue-ui-mood-radar-CVLad_RZ.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BSraS34g.js → vue-ui-nested-donuts-7VePVE4W.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DU3mpzzN.cjs → vue-ui-nested-donuts-BP0qdKto.cjs} +1 -1
- package/dist/{vue-ui-onion-BGK7q1Zm.js → vue-ui-onion-LCcrKbXJ.js} +11 -11
- package/dist/{vue-ui-onion-B2evf74Q.cjs → vue-ui-onion-tzmb3ARN.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CtbHbaMU.js → vue-ui-parallel-coordinate-plot-D0Xxq5a9.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-CoZ2NNT-.cjs → vue-ui-parallel-coordinate-plot-Dgu-tY5L.cjs} +1 -1
- package/dist/{vue-ui-quadrant-b00dtEbu.js → vue-ui-quadrant-D_e1Knsr.js} +12 -12
- package/dist/{vue-ui-quadrant-1zd4EcHN.cjs → vue-ui-quadrant-DkOZbxio.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C2tGQ9jZ.cjs → vue-ui-quick-chart-Brzheuk8.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C_aOAlYK.js → vue-ui-quick-chart-CIm7vclU.js} +9 -9
- package/dist/{vue-ui-radar-CEmwdc5R.js → vue-ui-radar-Cx_w_viT.js} +12 -12
- package/dist/{vue-ui-radar-CzPDR57N.cjs → vue-ui-radar-DoNZ8Qv9.cjs} +1 -1
- package/dist/{vue-ui-rating-DC9ED1T9.cjs → vue-ui-rating-B4zDVBEd.cjs} +1 -1
- package/dist/{vue-ui-rating-Bcw4NMqy.js → vue-ui-rating-NRP3A0oA.js} +2 -2
- package/dist/{vue-ui-relation-circle-CtoP92Nm.js → vue-ui-relation-circle-C4LKLsEz.js} +7 -7
- package/dist/{vue-ui-relation-circle-S0rcVtyt.cjs → vue-ui-relation-circle-Cuk4LDJo.cjs} +1 -1
- package/dist/{vue-ui-rings-OZVey4XI.cjs → vue-ui-rings-D6Rs1eq0.cjs} +1 -1
- package/dist/{vue-ui-rings-CkWZ736Y.js → vue-ui-rings-DXawhL1m.js} +11 -11
- package/dist/{vue-ui-scatter-D5revDjR.js → vue-ui-scatter-8EzIXx2n.js} +12 -12
- package/dist/{vue-ui-scatter-BJlIxqvN.cjs → vue-ui-scatter-DlfZqYP9.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CBqgcSp4.cjs → vue-ui-screenshot-Dt0UpXVm.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BnxlJEDM.js → vue-ui-screenshot-Wwmw7VVM.js} +1 -1
- package/dist/{vue-ui-skeleton-CWI6cZZA.js → vue-ui-skeleton-D3AGluiW.js} +3 -3
- package/dist/{vue-ui-skeleton-CoPAETjt.cjs → vue-ui-skeleton-Si57O3af.cjs} +1 -1
- package/dist/{vue-ui-smiley-E5BtjNd0.js → vue-ui-smiley-CRddsfyu.js} +2 -2
- package/dist/{vue-ui-smiley-Zgsb3QsJ.cjs → vue-ui-smiley-UxTt4IMY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-_fM0ASpS.js → vue-ui-spark-trend-Cgr4pAvU.js} +5 -5
- package/dist/{vue-ui-spark-trend-E_r6XBda.cjs → vue-ui-spark-trend-tMuRiISe.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CzLduXwD.js → vue-ui-sparkbar-B6TEBbyt.js} +4 -4
- package/dist/{vue-ui-sparkbar-DrDGzkxU.cjs → vue-ui-sparkbar-BZVjpA5h.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DnlFkJht.cjs → vue-ui-sparkgauge-B9P3ngyj.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CQEUdjHu.js → vue-ui-sparkgauge-P5fVXRT8.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-nfep88pb.cjs → vue-ui-sparkhistogram-BSQsOim4.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-WU0X44HO.js → vue-ui-sparkhistogram-vlWx_CFP.js} +5 -5
- package/dist/{vue-ui-sparkline-CTlY68K-.cjs → vue-ui-sparkline-5FsmrmmU.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C5pHShn8.js → vue-ui-sparkline-B1UrThV_.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CD1igCtu.js → vue-ui-sparkstackbar-BzrHl4LW.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DVNWhfXJ.cjs → vue-ui-sparkstackbar-CEXgwtwV.cjs} +1 -1
- package/dist/{vue-ui-stackbar-B8XzJVfQ.cjs → vue-ui-stackbar-BpFxY9uX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-B3PJuAxR.js → vue-ui-stackbar-DhnCj5jR.js} +12 -12
- package/dist/{vue-ui-strip-plot-D6NvVi8T.js → vue-ui-strip-plot-CutPMUb1.js} +11 -11
- package/dist/{vue-ui-strip-plot-BU0Ze6mB.cjs → vue-ui-strip-plot-DnFquLCu.cjs} +1 -1
- package/dist/{vue-ui-table-BQD6a_aJ.cjs → vue-ui-table-CUtRHuc4.cjs} +1 -1
- package/dist/{vue-ui-table-BltUTp7w.js → vue-ui-table-Cx0eqrK_.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DNQX2ssm.cjs → vue-ui-table-heatmap-DS2cSiGt.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Ci0x1CNV.js → vue-ui-table-heatmap-DyGuk9kw.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BnWCkMFe.js → vue-ui-table-sparkline--Ekk_QoU.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BBmpe-6D.cjs → vue-ui-table-sparkline-C1ril5t8.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BENJ73Pb.cjs → vue-ui-thermometer-Dr6_S2Qz.cjs} +1 -1
- package/dist/{vue-ui-thermometer-39qz-oq4.js → vue-ui-thermometer-Dz_xaxCt.js} +7 -7
- package/dist/{vue-ui-timer-8_HQQdrC.cjs → vue-ui-timer-BkmRYrPn.cjs} +1 -1
- package/dist/{vue-ui-timer-CSo9NnGB.js → vue-ui-timer-DRdgSmMv.js} +5 -5
- package/dist/{vue-ui-tiremarks-Co5YUDDA.cjs → vue-ui-tiremarks-BwVRnR-c.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CkfxWhpz.js → vue-ui-tiremarks-XuaMScx0.js} +7 -7
- package/dist/{vue-ui-treemap-I2YafkrE.js → vue-ui-treemap-D8HfM8ny.js} +11 -11
- package/dist/{vue-ui-treemap-DZkCQEk5.cjs → vue-ui-treemap-yUQZvXta.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Dz3M8sEI.js → vue-ui-vertical-bar-BcWnPMjH.js} +11 -11
- package/dist/{vue-ui-vertical-bar-ul14mUdW.cjs → vue-ui-vertical-bar-DpaRYTVo.cjs} +1 -1
- package/dist/{vue-ui-waffle-C5faN9Gl.js → vue-ui-waffle-sLIM61xh.js} +11 -11
- package/dist/{vue-ui-waffle-CL5knSlv.cjs → vue-ui-waffle-uur49hDo.cjs} +1 -1
- package/dist/{vue-ui-wheel-Ct_1Npyv.cjs → vue-ui-wheel-CJBuFjJt.cjs} +1 -1
- package/dist/{vue-ui-wheel-BsEaNHzC.js → vue-ui-wheel-D3Pfhpbe.js} +7 -7
- package/dist/{vue-ui-word-cloud-Bf6l5rNU.js → vue-ui-word-cloud-DhC8SN1l.js} +10 -10
- package/dist/{vue-ui-word-cloud-81r_XQl3.cjs → vue-ui-word-cloud-Dhz-n0_M.cjs} +1 -1
- package/dist/{vue-ui-xy-BaFVUMY0.cjs → vue-ui-xy-Cn-JnSRl.cjs} +1 -1
- package/dist/{vue-ui-xy-CASWydww.js → vue-ui-xy-D7nWzSu1.js} +14 -14
- package/dist/{vue-ui-xy-canvas-D3xs7lt5.cjs → vue-ui-xy-canvas-BI5nAbis.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DfO47Q2y.js → vue-ui-xy-canvas-DWZRAtDJ.js} +11 -11
- package/package.json +1 -1
- package/dist/PenAndPaper-D-dkYPgf.cjs +0 -1
- package/dist/PenAndPaper-DSz98f49.js +0 -299
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
import { computed as I, ref as p, watch as Q, openBlock as k, createElementBlock as y, normalizeStyle as w, createElementVNode as $, createVNode as F, onMounted as Z, nextTick as ee, onBeforeUnmount as te, Fragment as R, normalizeClass as P, withDirectives as oe, vModelText as ne, createCommentVNode as U, unref as le, withModifiers as W, renderList as ae } from "vue";
|
|
2
|
+
import { F as re, l as se, X as ue } from "./index-Cn1EWnYG.js";
|
|
3
|
+
import z from "./BaseIcon-Icg3SIlH.js";
|
|
4
|
+
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const ce = ["value"], ie = { class: "icon" }, de = {
|
|
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: Y }) {
|
|
19
|
+
const v = r, f = I(() => ({
|
|
20
|
+
backgroundColor: v.value,
|
|
21
|
+
width: "100%",
|
|
22
|
+
height: "100%",
|
|
23
|
+
cursor: "pointer"
|
|
24
|
+
})), m = p(null), L = () => {
|
|
25
|
+
var u;
|
|
26
|
+
(u = m.value) == null || u.click();
|
|
27
|
+
}, x = (u) => {
|
|
28
|
+
const b = u.target.value;
|
|
29
|
+
Y("update:value", b);
|
|
30
|
+
}, C = I(() => re(v.value));
|
|
31
|
+
return Q(
|
|
32
|
+
() => v.value,
|
|
33
|
+
(u) => {
|
|
34
|
+
m.value.value = u;
|
|
35
|
+
}
|
|
36
|
+
), (u, b) => (k(), y("div", {
|
|
37
|
+
style: w(f.value),
|
|
38
|
+
class: "color-picker-wrapper",
|
|
39
|
+
onClick: L
|
|
40
|
+
}, [
|
|
41
|
+
$("input", {
|
|
42
|
+
ref_key: "colorInput",
|
|
43
|
+
ref: m,
|
|
44
|
+
type: "color",
|
|
45
|
+
value: r.value,
|
|
46
|
+
class: "hidden-input",
|
|
47
|
+
onInput: x
|
|
48
|
+
}, null, 40, ce),
|
|
49
|
+
$("div", ie, [
|
|
50
|
+
F(z, {
|
|
51
|
+
name: "palette",
|
|
52
|
+
stroke: C.value,
|
|
53
|
+
size: 22
|
|
54
|
+
}, null, 8, ["stroke"])
|
|
55
|
+
])
|
|
56
|
+
], 4));
|
|
57
|
+
}
|
|
58
|
+
}, pe = /* @__PURE__ */ q(de, [["__scopeId", "data-v-d3f01240"]]), ve = {
|
|
59
|
+
class: /* @__PURE__ */ P({
|
|
60
|
+
"vue-ui-pen-and-paper-action": !0
|
|
61
|
+
}),
|
|
62
|
+
style: { padding: "0 !important" }
|
|
63
|
+
}, fe = ["disabled"], he = ["xmlns", "viewBox", "onTouchstart", "onTouchmove"], ge = ["cx", "cy", "r", "fill"], me = ["d", "stroke", "stroke-width"], ke = ["d", "stroke", "stroke-width"], ye = {
|
|
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: Y }) {
|
|
84
|
+
const v = r, f = p([]), m = p([]), L = p("0 0 0 0"), x = p(v.color), C = p(1), u = I(() => se(v.color, 0.6));
|
|
85
|
+
function b({ width: o, height: t }) {
|
|
86
|
+
L.value = `0 0 ${o} ${t}`;
|
|
87
|
+
}
|
|
88
|
+
const N = p(null);
|
|
89
|
+
Z(() => {
|
|
90
|
+
ee(() => {
|
|
91
|
+
if (v.parent) {
|
|
92
|
+
N.value = new ResizeObserver((e) => {
|
|
93
|
+
for (const n of e) {
|
|
94
|
+
const { width: l, height: a } = n.contentRect;
|
|
95
|
+
b({ width: l, height: a });
|
|
96
|
+
}
|
|
97
|
+
}), N.value.observe(v.parent);
|
|
98
|
+
const { width: o, height: t } = v.parent.getBoundingClientRect();
|
|
99
|
+
b({ width: o, height: t });
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}), te(() => {
|
|
103
|
+
N.value && N.value.disconnect();
|
|
104
|
+
}), Q(
|
|
105
|
+
() => v.parent,
|
|
106
|
+
(o) => {
|
|
107
|
+
if (!o) return;
|
|
108
|
+
const { width: t, height: e } = v.parent.getBoundingClientRect();
|
|
109
|
+
b({ width: t, height: e });
|
|
110
|
+
},
|
|
111
|
+
{ immediate: !0 }
|
|
112
|
+
);
|
|
113
|
+
const M = p(!1), B = p(""), X = p(null);
|
|
114
|
+
function _(o) {
|
|
115
|
+
if (!X.value) return;
|
|
116
|
+
M.value = !0;
|
|
117
|
+
const { x: t, y: e } = V(o);
|
|
118
|
+
B.value = `M ${t} ${e}`;
|
|
119
|
+
}
|
|
120
|
+
function E(o) {
|
|
121
|
+
if (!M.value || !X.value) return;
|
|
122
|
+
const { x: t, y: e } = V(o);
|
|
123
|
+
B.value += ` ${t} ${e}`;
|
|
124
|
+
}
|
|
125
|
+
function A(o) {
|
|
126
|
+
const t = o.trim().split(/\s+/);
|
|
127
|
+
if (t.length < 4)
|
|
128
|
+
return o;
|
|
129
|
+
const e = t.slice(1).map(Number);
|
|
130
|
+
if (e.length % 2 !== 0)
|
|
131
|
+
return o;
|
|
132
|
+
const n = H(e), l = [`M ${n[0]} ${n[1]}`];
|
|
133
|
+
for (let c = 2; c < n.length - 2; c += 2) {
|
|
134
|
+
const h = n[c - 2], g = n[c - 1], i = n[c], d = n[c + 1], S = (h + i) / 2, T = (g + d) / 2;
|
|
135
|
+
l.push(`Q ${h} ${g} ${S} ${T}`);
|
|
136
|
+
}
|
|
137
|
+
const a = n[n.length - 2], s = n[n.length - 1];
|
|
138
|
+
return l.push(`L ${a} ${s}`), l.join(" ");
|
|
139
|
+
}
|
|
140
|
+
function H(o, t = 1) {
|
|
141
|
+
const e = [...o];
|
|
142
|
+
for (let n = 2; n < o.length - 2; n += 2) {
|
|
143
|
+
const l = o[n], a = o[n + 1], s = o[n - 2], c = o[n - 1], h = o[n + 2], g = o[n + 3];
|
|
144
|
+
e[n] = l + t * ((s + h) / 2 - l), e[n + 1] = a + t * ((c + g) / 2 - a);
|
|
145
|
+
}
|
|
146
|
+
return e;
|
|
147
|
+
}
|
|
148
|
+
function O(o) {
|
|
149
|
+
const t = o.trim().split(/\s+/);
|
|
150
|
+
let e = "", n = "", l = null, a = null;
|
|
151
|
+
for (let s = 0; s < t.length; s += 1) {
|
|
152
|
+
const c = t[s];
|
|
153
|
+
if (isNaN(c)) {
|
|
154
|
+
if (n = c, n === "M" || n === "L")
|
|
155
|
+
l = parseFloat(t[++s]), a = parseFloat(t[++s]), e += `${n}${l} ${a}`;
|
|
156
|
+
else if (n === "Q") {
|
|
157
|
+
const h = parseFloat(t[++s]), g = parseFloat(t[++s]), i = parseFloat(t[++s]), d = parseFloat(t[++s]);
|
|
158
|
+
h === l && g === a ? e += `t${i - l} ${d - a}` : e += `q${h - l} ${g - a} ${i - l} ${d - a}`, l = i, a = d;
|
|
159
|
+
}
|
|
160
|
+
} else {
|
|
161
|
+
const h = parseFloat(c), g = parseFloat(t[++s]);
|
|
162
|
+
if (n === "L") {
|
|
163
|
+
const i = h - l, d = g - a;
|
|
164
|
+
i === 0 ? e += `v${d}` : d === 0 ? e += `h${i}` : e += `l${i} ${d}`, l = h, a = g;
|
|
165
|
+
} else if (n === "Q") {
|
|
166
|
+
const i = h, d = g, S = parseFloat(t[++s]), T = parseFloat(t[++s]);
|
|
167
|
+
i === l && d === a ? e += `t${S - l} ${T - a}` : e += `q${i - l} ${d - a} ${S - l} ${T - a}`, l = S, a = T;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
return e;
|
|
172
|
+
}
|
|
173
|
+
function D() {
|
|
174
|
+
M.value && (f.value.push({
|
|
175
|
+
strokeWidth: C.value,
|
|
176
|
+
path: O(A(B.value)),
|
|
177
|
+
color: x.value
|
|
178
|
+
}), m.value = [], B.value = ""), M.value = !1;
|
|
179
|
+
}
|
|
180
|
+
function V(o) {
|
|
181
|
+
if (!X.value) return { x: 0, y: 0 };
|
|
182
|
+
const t = X.value.getBoundingClientRect();
|
|
183
|
+
let e, n;
|
|
184
|
+
return o.touches && o.touches.length ? (e = o.touches[0].clientX, n = o.touches[0].clientY) : (e = o.clientX, n = o.clientY), {
|
|
185
|
+
x: e - t.left,
|
|
186
|
+
y: n - t.top
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
p(!1);
|
|
190
|
+
function j() {
|
|
191
|
+
if (f.value.length > 0) {
|
|
192
|
+
const o = f.value.pop();
|
|
193
|
+
m.value.push(o);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
function G() {
|
|
197
|
+
if (m.value.length > 0) {
|
|
198
|
+
const o = m.value.pop();
|
|
199
|
+
f.value.push(o);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
function J() {
|
|
203
|
+
f.value = [], m.value = [];
|
|
204
|
+
}
|
|
205
|
+
const K = p(null);
|
|
206
|
+
return (o, t) => (k(), y(R, null, [
|
|
207
|
+
r.active ? (k(), y("div", {
|
|
208
|
+
key: 0,
|
|
209
|
+
"data-html2canvas-ignore": "",
|
|
210
|
+
class: P({
|
|
211
|
+
"vue-ui-pen-and-paper-actions": !0,
|
|
212
|
+
visible: r.active
|
|
213
|
+
})
|
|
214
|
+
}, [
|
|
215
|
+
$("button", {
|
|
216
|
+
class: "vue-ui-pen-and-paper-action",
|
|
217
|
+
style: w({
|
|
218
|
+
backgroundColor: r.backgroundColor,
|
|
219
|
+
border: `1px solid ${u.value}`
|
|
220
|
+
}),
|
|
221
|
+
onClick: t[0] || (t[0] = (e) => Y("close"))
|
|
222
|
+
}, [
|
|
223
|
+
F(z, {
|
|
224
|
+
name: "close",
|
|
225
|
+
stroke: r.color
|
|
226
|
+
}, null, 8, ["stroke"])
|
|
227
|
+
], 4),
|
|
228
|
+
$("button", ve, [
|
|
229
|
+
F(pe, {
|
|
230
|
+
value: x.value,
|
|
231
|
+
"onUpdate:value": t[1] || (t[1] = (e) => x.value = e)
|
|
232
|
+
}, null, 8, ["value"])
|
|
233
|
+
]),
|
|
234
|
+
$("button", {
|
|
235
|
+
class: P({
|
|
236
|
+
"vue-ui-pen-and-paper-action": !0,
|
|
237
|
+
"vue-ui-pen-and-paper-action-disabled": !f.value.length
|
|
238
|
+
}),
|
|
239
|
+
disabled: !f.value.length,
|
|
240
|
+
style: w({
|
|
241
|
+
backgroundColor: r.backgroundColor,
|
|
242
|
+
border: `1px solid ${u.value}`
|
|
243
|
+
}),
|
|
244
|
+
onClick: j
|
|
245
|
+
}, [
|
|
246
|
+
F(z, {
|
|
247
|
+
name: "restart",
|
|
248
|
+
stroke: r.color
|
|
249
|
+
}, null, 8, ["stroke"])
|
|
250
|
+
], 14, fe),
|
|
251
|
+
$("button", {
|
|
252
|
+
class: P({
|
|
253
|
+
"vue-ui-pen-and-paper-action": !0,
|
|
254
|
+
"vue-ui-pen-and-paper-action-disabled": !m.value.length
|
|
255
|
+
}),
|
|
256
|
+
style: w({
|
|
257
|
+
backgroundColor: r.backgroundColor,
|
|
258
|
+
border: `1px solid ${u.value}`
|
|
259
|
+
}),
|
|
260
|
+
onClick: G
|
|
261
|
+
}, [
|
|
262
|
+
F(z, {
|
|
263
|
+
name: "restart",
|
|
264
|
+
stroke: r.color,
|
|
265
|
+
style: { transform: "scaleX(-1)" }
|
|
266
|
+
}, null, 8, ["stroke"])
|
|
267
|
+
], 6),
|
|
268
|
+
$("button", {
|
|
269
|
+
class: P([{
|
|
270
|
+
"vue-ui-pen-and-paper-action": !0,
|
|
271
|
+
"vue-ui-pen-and-paper-action-disabled": !f.value.length
|
|
272
|
+
}, "vue-ui-pen-and-paper-action"]),
|
|
273
|
+
style: w({
|
|
274
|
+
backgroundColor: r.backgroundColor,
|
|
275
|
+
border: `1px solid ${u.value}`
|
|
276
|
+
}),
|
|
277
|
+
onClick: J
|
|
278
|
+
}, [
|
|
279
|
+
F(z, {
|
|
280
|
+
name: "trash",
|
|
281
|
+
stroke: r.color
|
|
282
|
+
}, null, 8, ["stroke"])
|
|
283
|
+
], 6),
|
|
284
|
+
oe($("input", {
|
|
285
|
+
ref_key: "range",
|
|
286
|
+
ref: K,
|
|
287
|
+
type: "range",
|
|
288
|
+
class: "vertical-range",
|
|
289
|
+
min: 0.5,
|
|
290
|
+
max: 12,
|
|
291
|
+
step: 0.1,
|
|
292
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => C.value = e),
|
|
293
|
+
style: w({
|
|
294
|
+
accentColor: r.color
|
|
295
|
+
})
|
|
296
|
+
}, null, 4), [
|
|
297
|
+
[ne, C.value]
|
|
298
|
+
])
|
|
299
|
+
], 2)) : U("", !0),
|
|
300
|
+
(k(), y("svg", {
|
|
301
|
+
ref_key: "svgElement",
|
|
302
|
+
ref: X,
|
|
303
|
+
xmlns: le(ue),
|
|
304
|
+
viewBox: L.value,
|
|
305
|
+
class: P({
|
|
306
|
+
"vue-ui-pen-and-paper": !0,
|
|
307
|
+
inactive: !r.active
|
|
308
|
+
}),
|
|
309
|
+
onMousedown: _,
|
|
310
|
+
onMousemove: E,
|
|
311
|
+
onMouseup: D,
|
|
312
|
+
onMouseleave: D,
|
|
313
|
+
onTouchstart: W(_, ["prevent"]),
|
|
314
|
+
onTouchmove: W(E, ["prevent"]),
|
|
315
|
+
onTouchend: D
|
|
316
|
+
}, [
|
|
317
|
+
(k(!0), y(R, null, ae(f.value, (e) => (k(), y(R, { key: e }, [
|
|
318
|
+
e.path.replace("M", "").split(" ").length === 2 ? (k(), y("circle", {
|
|
319
|
+
key: 0,
|
|
320
|
+
cx: e.path.replace("M", "").split(" ")[0],
|
|
321
|
+
cy: e.path.replace("M", "").split(" ")[1],
|
|
322
|
+
r: e.strokeWidth / 2,
|
|
323
|
+
fill: e.color
|
|
324
|
+
}, null, 8, ge)) : (k(), y("path", {
|
|
325
|
+
key: 1,
|
|
326
|
+
class: "vue-ui-pen-and-paper-path",
|
|
327
|
+
d: e.path,
|
|
328
|
+
stroke: e.color,
|
|
329
|
+
"stroke-width": e.strokeWidth,
|
|
330
|
+
fill: "none"
|
|
331
|
+
}, null, 8, me))
|
|
332
|
+
], 64))), 128)),
|
|
333
|
+
M.value ? (k(), y("path", {
|
|
334
|
+
key: 0,
|
|
335
|
+
class: "vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",
|
|
336
|
+
d: B.value,
|
|
337
|
+
stroke: x.value,
|
|
338
|
+
"stroke-width": C.value * 1.1,
|
|
339
|
+
fill: "none"
|
|
340
|
+
}, null, 8, ke)) : U("", !0)
|
|
341
|
+
], 42, he))
|
|
342
|
+
], 64));
|
|
343
|
+
}
|
|
344
|
+
}, we = /* @__PURE__ */ q(ye, [["__scopeId", "data-v-53209a48"]]);
|
|
345
|
+
export {
|
|
346
|
+
we as P
|
|
347
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),P=require("./index-Ci5MafHS.cjs"),N=require("./BaseIcon-C31iTAGj.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),U=["value"],W={class:"icon"},A={__name:"ColorPicker",props:{value:{type:String,default:"#ffffff"},size:{type:String,default:"50px"}},emits:["update:value"],setup(c,{emit:z}){const v=c,f=e.computed(()=>({backgroundColor:v.value,width:"100%",height:"100%",cursor:"pointer"})),k=e.ref(null),E=()=>{var u;(u=k.value)==null||u.click()},g=u=>{const $=u.target.value;z("update:value",$)},y=e.computed(()=>P.adaptColorToBackground(v.value));return e.watch(()=>v.value,u=>{k.value.value=u}),(u,$)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(f.value),class:"color-picker-wrapper",onClick:E},[e.createElementVNode("input",{ref_key:"colorInput",ref:k,type:"color",value:c.value,class:"hidden-input",onInput:g},null,40,U),e.createElementVNode("div",W,[e.createVNode(N.default,{name:"palette",stroke:y.value,size:22},null,8,["stroke"])])],4))}},H=T._export_sfc(A,[["__scopeId","data-v-d3f01240"]]),Q={class:e.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},O=["disabled"],j=["xmlns","viewBox","onTouchstart","onTouchmove"],G=["cx","cy","r","fill"],J=["d","stroke","stroke-width"],K=["d","stroke","stroke-width"],Z={__name:"PenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup(c,{emit:z}){const v=c,f=e.ref([]),k=e.ref([]),E=e.ref("0 0 0 0"),g=e.ref(v.color),y=e.ref(1),u=e.computed(()=>P.lightenHexColor(v.color,.6));function $({width:n,height:o}){E.value=`0 0 ${n} ${o}`}const V=e.ref(null);e.onMounted(()=>{e.nextTick(()=>{if(v.parent){V.value=new ResizeObserver(t=>{for(const l of t){const{width:r,height:a}=l.contentRect;$({width:r,height:a})}}),V.value.observe(v.parent);const{width:n,height:o}=v.parent.getBoundingClientRect();$({width:n,height:o})}})}),e.onBeforeUnmount(()=>{V.value&&V.value.disconnect()}),e.watch(()=>v.parent,n=>{if(!n)return;const{width:o,height:t}=v.parent.getBoundingClientRect();$({width:o,height:t})},{immediate:!0});const C=e.ref(!1),x=e.ref(""),b=e.ref(null);function M(n){if(!b.value)return;C.value=!0;const{x:o,y:t}=X(n);x.value=`M ${o} ${t}`}function S(n){if(!C.value||!b.value)return;const{x:o,y:t}=X(n);x.value+=` ${o} ${t}`}function _(n){const o=n.trim().split(/\s+/);if(o.length<4)return n;const t=o.slice(1).map(Number);if(t.length%2!==0)return n;const l=L(t),r=[`M ${l[0]} ${l[1]}`];for(let i=2;i<l.length-2;i+=2){const m=l[i-2],h=l[i-1],d=l[i],p=l[i+1],B=(m+d)/2,w=(h+p)/2;r.push(`Q ${m} ${h} ${B} ${w}`)}const a=l[l.length-2],s=l[l.length-1];return r.push(`L ${a} ${s}`),r.join(" ")}function L(n,o=1){const t=[...n];for(let l=2;l<n.length-2;l+=2){const r=n[l],a=n[l+1],s=n[l-2],i=n[l-1],m=n[l+2],h=n[l+3];t[l]=r+o*((s+m)/2-r),t[l+1]=a+o*((i+h)/2-a)}return t}function Y(n){const o=n.trim().split(/\s+/);let t="",l="",r=null,a=null;for(let s=0;s<o.length;s+=1){const i=o[s];if(isNaN(i)){if(l=i,l==="M"||l==="L")r=parseFloat(o[++s]),a=parseFloat(o[++s]),t+=`${l}${r} ${a}`;else if(l==="Q"){const m=parseFloat(o[++s]),h=parseFloat(o[++s]),d=parseFloat(o[++s]),p=parseFloat(o[++s]);m===r&&h===a?t+=`t${d-r} ${p-a}`:t+=`q${m-r} ${h-a} ${d-r} ${p-a}`,r=d,a=p}}else{const m=parseFloat(i),h=parseFloat(o[++s]);if(l==="L"){const d=m-r,p=h-a;d===0?t+=`v${p}`:p===0?t+=`h${d}`:t+=`l${d} ${p}`,r=m,a=h}else if(l==="Q"){const d=m,p=h,B=parseFloat(o[++s]),w=parseFloat(o[++s]);d===r&&p===a?t+=`t${B-r} ${w-a}`:t+=`q${d-r} ${p-a} ${B-r} ${w-a}`,r=B,a=w}}}return t}function F(){C.value&&(f.value.push({strokeWidth:y.value,path:Y(_(x.value)),color:g.value}),k.value=[],x.value=""),C.value=!1}function X(n){if(!b.value)return{x:0,y:0};const o=b.value.getBoundingClientRect();let t,l;return n.touches&&n.touches.length?(t=n.touches[0].clientX,l=n.touches[0].clientY):(t=n.clientX,l=n.clientY),{x:t-o.left,y:l-o.top}}e.ref(!1);function D(){if(f.value.length>0){const n=f.value.pop();k.value.push(n)}}function R(){if(k.value.length>0){const n=k.value.pop();f.value.push(n)}}function q(){f.value=[],k.value=[]}const I=e.ref(null);return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[c.active?(e.openBlock(),e.createElementBlock("div",{key:0,"data-html2canvas-ignore":"",class:e.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:c.active})},[e.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:e.normalizeStyle({backgroundColor:c.backgroundColor,border:`1px solid ${u.value}`}),onClick:o[0]||(o[0]=t=>z("close"))},[e.createVNode(N.default,{name:"close",stroke:c.color},null,8,["stroke"])],4),e.createElementVNode("button",Q,[e.createVNode(H,{value:g.value,"onUpdate:value":o[1]||(o[1]=t=>g.value=t)},null,8,["value"])]),e.createElementVNode("button",{class:e.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!f.value.length}),disabled:!f.value.length,style:e.normalizeStyle({backgroundColor:c.backgroundColor,border:`1px solid ${u.value}`}),onClick:D},[e.createVNode(N.default,{name:"restart",stroke:c.color},null,8,["stroke"])],14,O),e.createElementVNode("button",{class:e.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!k.value.length}),style:e.normalizeStyle({backgroundColor:c.backgroundColor,border:`1px solid ${u.value}`}),onClick:R},[e.createVNode(N.default,{name:"restart",stroke:c.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":!f.value.length},"vue-ui-pen-and-paper-action"]),style:e.normalizeStyle({backgroundColor:c.backgroundColor,border:`1px solid ${u.value}`}),onClick:q},[e.createVNode(N.default,{name:"trash",stroke:c.color},null,8,["stroke"])],6),e.withDirectives(e.createElementVNode("input",{ref_key:"range",ref:I,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":o[2]||(o[2]=t=>y.value=t),style:e.normalizeStyle({accentColor:c.color})},null,4),[[e.vModelText,y.value]])],2)):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock("svg",{ref_key:"svgElement",ref:b,xmlns:e.unref(P.XMLNS),viewBox:E.value,class:e.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!c.active}),onMousedown:M,onMousemove:S,onMouseup:F,onMouseleave:F,onTouchstart:e.withModifiers(M,["prevent"]),onTouchmove:e.withModifiers(S,["prevent"]),onTouchend:F},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,t=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:t},[t.path.replace("M","").split(" ").length===2?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:t.path.replace("M","").split(" ")[0],cy:t.path.replace("M","").split(" ")[1],r:t.strokeWidth/2,fill:t.color},null,8,G)):(e.openBlock(),e.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:t.path,stroke:t.color,"stroke-width":t.strokeWidth,fill:"none"},null,8,J))],64))),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:g.value,"stroke-width":y.value*1.1,fill:"none"},null,8,K)):e.createCommentVNode("",!0)],42,j))],64))}},ee=T._export_sfc(Z,[["__scopeId","data-v-53209a48"]]);exports.PenAndPaper=ee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./index-Ci5MafHS.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-
|
|
2
|
+
import { U as p, O as f } from "./index-Cn1EWnYG.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 R, renderList as z, withDirectives as E, vModelText as P, toDisplayString as A, pushScopeId as ae, popScopeId as ie } from "vue";
|
|
2
|
-
import ne from "./BaseIcon-
|
|
2
|
+
import ne from "./BaseIcon-Icg3SIlH.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-
|
|
4
|
+
import { c as re, R as V, Q as B, X as se } from "./index-Cn1EWnYG.js";
|
|
5
5
|
import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const O = (t) => (ae("data-v-c184b7d6"), t = t(), ie(), t), me = {
|
|
7
7
|
"data-html2canvas-ignore": "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),O=require("./BaseIcon-
|
|
1
|
+
"use strict";const e=require("vue"),O=require("./BaseIcon-C31iTAGj.cjs"),C=require("./useResponsive-BJ7DTGpm.cjs"),v=require("./index-Ci5MafHS.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=l=>(e.pushScopeId("data-v-c184b7d6"),l=l(),e.popScopeId(),l),U={"data-html2canvas-ignore":"",style:{padding:"0 24px"}},W={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},j={key:0,style:{width:"100%",position:"relative"}},X={key:0,class:"minimap",style:{width:"100%"}},Z=["xmlns","viewBox"],_=["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","rx","fill"],ee=["x","width","height","fill","rx"],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(l,{emit:h}){const t=l;e.useCssVars(a=>({"74ec9808":$.value,"5d7f3c70":f.value,"2eaeb5e1":z.value,"3db47da0":l.selectColor,"2531182e":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 a=t.max-t.min,o=(r.value-t.min)/a*100,i=(u.value-t.min)/a*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 a=[];for(let o=0;o<t.minimap.length;o+=1)a.push(o);return a});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,a=>{Number(r.value)<Number(a)&&(r.value=Number(a)),Number(u.value)<Number(a)&&(u.value=Number(a))}),e.watch(()=>t.max,a=>{Number(r.value)>Number(a)&&(r.value=Number(a)),Number(u.value)>Number(a)&&(u.value=Number(a))});const x=e.ref(null),n=e.ref({width:1,height:1}),E=e.ref(null);e.onMounted(()=>{if(p.value){const a=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(a),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 a=Math.max(...t.minimap),o=Math.min(...t.minimap)-10,i=a-(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,a=>{y.value=a+t.valueStart},{immediate:!0});function P(a){y.value=a,a>=t.valueStart&&a<t.valueEnd&&h("trapMouse",a-t.valueStart)}return(a,o)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",W,[l.valueStart>0||l.valueEnd<l.max?(e.openBlock(),e.createElementBlock("div",j,[l.useResetSlot?e.renderSlot(a.$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(O.default,{name:"refresh",stroke:l.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",X,[(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":`${l.minimapLineColor}50`},null,8,G),H],8,_)]),e.createElementVNode("path",{d:`M${c.value.fullSet}`,stroke:`${l.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:l.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,rx:l.minimapSelectionRadius,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:l.minimapSelectedColor,rx:l.minimapSelectionRadius,style:e.normalizeStyle({opacity:l.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:`${l.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:l.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:l.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>=l.valueStart&&i<l.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:l.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,Z))])):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:l.min,max:l.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(l.labelLeft),5),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-right",min:l.min,max:l.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(l.labelRight),5)],512)]))}},de=T._export_sfc(ce,[["__scopeId","data-v-c184b7d6"]]);exports.Slicer=de;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),r=require("./useNestedProp-
|
|
1
|
+
"use strict";const e=require("vue"),r=require("./useNestedProp-DxZ05ZEt.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-
|
|
2
|
+
import { u as c } from "./useNestedProp-BXn-g9sr.js";
|
|
3
3
|
const x = {
|
|
4
4
|
__name: "Title",
|
|
5
5
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),v=require("./index-
|
|
1
|
+
"use strict";const o=require("vue"),v=require("./index-Ci5MafHS.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-
|
|
2
|
+
import { s as S } from "./index-Cn1EWnYG.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) {
|
|
@@ -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-
|
|
9
|
+
`.trim(),middlePoint:{x:E,y:F}}})}const dr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Arrow-Ds1Mhkkt.cjs"))),fr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-data-ui-Bn_29KuS.cjs"))),Ar=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-CERRaGHQ.cjs"))),br=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-kQwtYRmD.cjs"))),Cr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-Rfk1WUfJ.cjs"))),gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-BdAFNoMu.cjs"))),hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-CuNi5UZ7.cjs"))),kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-bqu8whHd.cjs"))),pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-Dnv5a5oy.cjs"))),mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-De5_U4a9.cjs"))),yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-Dc0L7473.cjs"))),Fr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-CBTZK6YJ.cjs"))),xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-CmgjvLvu.cjs"))),Er=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-ByhSaE6s.cjs"))),vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-Bef5hCwj.cjs"))),_r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-COY_QSwC.cjs"))),wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-CW8ZpODM.cjs"))),Sr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-Czg21edC.cjs"))),Lr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./BaseIcon-C31iTAGj.cjs"))),Dr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-DQpkO2MX.cjs"))),Br=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-Db5Khvfw.cjs"))),Pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-4AXvVmWt.cjs"))),Rr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BzfFikJv.cjs"))),zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BP0qdKto.cjs"))),Vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-tzmb3ARN.cjs"))),Tr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-Dgu-tY5L.cjs"))),Or=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-DkOZbxio.cjs"))),Nr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-Brzheuk8.cjs"))),Mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DoNZ8Qv9.cjs"))),Ur=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-B4zDVBEd.cjs"))),Ir=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-Cuk4LDJo.cjs"))),Wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-D6Rs1eq0.cjs"))),Gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-DlfZqYP9.cjs"))),Hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-Dt0UpXVm.cjs"))),Yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-Si57O3af.cjs"))),$r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-UxTt4IMY.cjs"))),Xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-BSQsOim4.cjs"))),qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CEXgwtwV.cjs"))),Kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-tMuRiISe.cjs"))),jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-BZVjpA5h.cjs"))),Qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-B9P3ngyj.cjs"))),Zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-5FsmrmmU.cjs"))),Jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-DnFquLCu.cjs"))),ol=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-CUtRHuc4.cjs"))),el=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-DS2cSiGt.cjs"))),tl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-C1ril5t8.cjs"))),rl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-Dr6_S2Qz.cjs"))),ll=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-BkmRYrPn.cjs"))),al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-BwVRnR-c.cjs"))),nl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-yUQZvXta.cjs"))),sl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-DpaRYTVo.cjs"))),il=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-uur49hDo.cjs"))),cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-CJBuFjJt.cjs"))),ul=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-Dhz-n0_M.cjs"))),dl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-Cn-JnSRl.cjs"))),fl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-BI5nAbis.cjs"))),Al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-Dch3TChE.cjs"))),bl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-DgS57tJ2.cjs"))),Cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-BpFxY9uX.cjs"))),gl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-Bkx9sfrv.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;
|
|
@@ -11124,7 +11124,7 @@ function dr({ series: o, center: l, maxRadius: t }) {
|
|
|
11124
11124
|
};
|
|
11125
11125
|
});
|
|
11126
11126
|
}
|
|
11127
|
-
const fr = g(() => import("./Arrow-
|
|
11127
|
+
const fr = g(() => import("./Arrow-BCeetU2P.js")), Ar = g(() => import("./vue-data-ui-DfGCpkA8.js")), br = g(() => import("./vue-ui-3d-bar-Cz7ZSFFf.js")), Cr = g(() => import("./vue-ui-accordion-UADqAdVj.js")), gr = g(() => import("./vue-ui-age-pyramid-DhGijqy5.js")), hr = g(() => import("./vue-ui-annotator-CCgDEOdY.js")), kr = g(() => import("./vue-ui-candlestick-D0RfMi-W.js")), pr = g(() => import("./vue-ui-chestnut-B2Gio3KC.js")), mr = g(() => import("./vue-ui-cursor-BlW4uLBm.js")), yr = g(() => import("./vue-ui-dashboard-DCaNJXOd.js")), Fr = g(() => import("./vue-ui-digits-DlteJApK.js")), xr = g(() => import("./vue-ui-donut-6Vh9u3Xp.js")), Er = g(() => import("./vue-ui-donut-evolution-gQyMiCiu.js")), _r = g(() => import("./vue-ui-dumbbell-C4xg1FG4.js")), wr = g(() => import("./vue-ui-flow-DYF0P7LD.js")), vr = g(() => import("./vue-ui-galaxy-aM8uOGRD.js")), Sr = g(() => import("./vue-ui-gauge-qYg_QM-A.js")), Lr = g(() => import("./vue-ui-heatmap-BfJGluVp.js")), Dr = g(() => import("./BaseIcon-Icg3SIlH.js")), Br = g(() => import("./vue-ui-kpi-C5ISBjIs.js")), Rr = g(() => import("./vue-ui-mini-loader-BiaLLW3x.js")), zr = g(() => import("./vue-ui-molecule-fmAXI5nL.js")), Pr = g(() => import("./vue-ui-mood-radar-CVLad_RZ.js")), Tr = g(() => import("./vue-ui-nested-donuts-7VePVE4W.js")), Or = g(() => import("./vue-ui-onion-LCcrKbXJ.js")), Nr = g(() => import("./vue-ui-parallel-coordinate-plot-D0Xxq5a9.js")), Mr = g(() => import("./vue-ui-quadrant-D_e1Knsr.js")), Vr = g(() => import("./vue-ui-quick-chart-CIm7vclU.js")), Ir = g(() => import("./vue-ui-radar-Cx_w_viT.js")), Wr = g(() => import("./vue-ui-rating-NRP3A0oA.js")), Ur = g(() => import("./vue-ui-relation-circle-C4LKLsEz.js")), Gr = g(() => import("./vue-ui-rings-DXawhL1m.js")), Yr = g(() => import("./vue-ui-scatter-8EzIXx2n.js")), Hr = g(() => import("./vue-ui-screenshot-Wwmw7VVM.js")), $r = g(() => import("./vue-ui-skeleton-D3AGluiW.js")), Xr = g(() => import("./vue-ui-smiley-CRddsfyu.js")), Kr = g(() => import("./vue-ui-sparkhistogram-vlWx_CFP.js")), jr = g(() => import("./vue-ui-sparkstackbar-BzrHl4LW.js")), qr = g(() => import("./vue-ui-spark-trend-Cgr4pAvU.js")), Qr = g(() => import("./vue-ui-sparkbar-B6TEBbyt.js")), Zr = g(() => import("./vue-ui-sparkgauge-P5fVXRT8.js")), Jr = g(() => import("./vue-ui-sparkline-B1UrThV_.js")), ol = g(() => import("./vue-ui-strip-plot-CutPMUb1.js")), tl = g(() => import("./vue-ui-table-Cx0eqrK_.js")), el = g(() => import("./vue-ui-table-heatmap-DyGuk9kw.js")), rl = g(() => import("./vue-ui-table-sparkline--Ekk_QoU.js")), ll = g(() => import("./vue-ui-thermometer-Dz_xaxCt.js")), al = g(() => import("./vue-ui-timer-DRdgSmMv.js")), nl = g(() => import("./vue-ui-tiremarks-XuaMScx0.js")), sl = g(() => import("./vue-ui-treemap-D8HfM8ny.js")), il = g(() => import("./vue-ui-vertical-bar-BcWnPMjH.js")), cl = g(() => import("./vue-ui-waffle-sLIM61xh.js")), ul = g(() => import("./vue-ui-wheel-D3Pfhpbe.js")), dl = g(() => import("./vue-ui-word-cloud-DhC8SN1l.js")), fl = g(() => import("./vue-ui-xy-D7nWzSu1.js")), Al = g(() => import("./vue-ui-xy-canvas-DWZRAtDJ.js")), bl = g(() => import("./vue-ui-carousel-table-DeY0f9Ba.js")), Cl = g(() => import("./vue-ui-gizmo-BZyOCD_y.js")), gl = g(() => import("./vue-ui-stackbar-DhnCj5jR.js")), hl = g(() => import("./vue-ui-bullet-CSVuqhhg.js"));
|
|
11128
11128
|
export {
|
|
11129
11129
|
rr as $,
|
|
11130
11130
|
Zt as A,
|