vue-data-ui 3.7.15 → 3.8.0
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/README.md +50 -43
- package/dist/{Arrow-9T8aUCDR.js → Arrow-pvqmWZAQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DZVSjhEw.js → BaseDraggableDialog-BYwNgX3M.js} +2 -2
- package/dist/{BaseIcon-Dl4VBlHV.js → BaseIcon-CALhpING.js} +8 -4
- package/dist/{ColorPicker-BrMbLQds.js → ColorPicker-B_9b0REv.js} +2 -2
- package/dist/{DataTable-Ho3Bf5oq.js → DataTable-Ca1twcf7.js} +2 -2
- package/dist/{Legend-DSyOOSJ1.js → Legend-Djkw4FGq.js} +2 -2
- package/dist/{NonSvgPenAndPaper-MX5IsudW.js → NonSvgPenAndPaper-DCQPVA4M.js} +3 -3
- package/dist/{PackageVersion-BAF3mEBQ.js → PackageVersion-B9RA2_BM.js} +1 -1
- package/dist/{PenAndPaper-kymjF6_b.js → PenAndPaper-DscVdZ1u.js} +3 -3
- package/dist/{Shape-rPzC8L-O.js → Shape-BEGGcaL8.js} +1 -1
- package/dist/{Slicer-DScoMPmj.js → Slicer-DaUi0o8i.js} +2 -2
- package/dist/{SlicerPreview-B1QUTxTZ.js → SlicerPreview-Bk-h_ANq.js} +2 -2
- package/dist/{SparkTooltip-reDvtQYF.js → SparkTooltip-BWdCP-h3.js} +1 -1
- package/dist/{Title-Hk29BxeL.js → Title-CgkWUXeV.js} +1 -1
- package/dist/{Tooltip-De7i-i20.js → Tooltip-OHx7yHlS.js} +1 -1
- package/dist/{UserOptions-DgscxIaa.js → UserOptions-ChRXLqps.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +5 -0
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BG68zYm5.js → dom-to-png-VQEAYRVr.js} +1 -1
- package/dist/{img-BYzbY8TZ.js → img-CwrkWkkl.js} +1 -1
- package/dist/{lib-DUaaQGCv.js → lib-qMPkcvmh.js} +194 -179
- package/dist/{pdf--SSvtzbF.js → pdf-BMMrFX8S.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +147 -6
- package/dist/types/vue-ui-dag.d.ts +16 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DBJqy2aF.js → useAutoSizeLabelsInsideViewbox-CY90KinM.js} +1 -1
- package/dist/{useNestedProp-CVGae3Qt.js → useNestedProp-DOOBu_sL.js} +269 -185
- package/dist/usePanZoom-DMfuOfaC.js +135 -0
- package/dist/{usePrinter-BdVu83IN.js → usePrinter-CjGh4mFJ.js} +2 -2
- package/dist/vue-data-ui-BgQPEjgE.js +351 -0
- package/dist/vue-data-ui.js +202 -216
- package/dist/{vue-ui-3d-bar-Cg4nzpjZ.js → vue-ui-3d-bar-BHcSmBFt.js} +6 -6
- package/dist/{vue-ui-accordion-B3SlkXqV.js → vue-ui-accordion-BWfQ8Imt.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BGA_e57_.js → vue-ui-age-pyramid-CKtsF5IW.js} +25 -25
- package/dist/{vue-ui-annotator-BHmNl_oD.js → vue-ui-annotator-DQmmDTg7.js} +7 -7
- package/dist/{vue-ui-bullet-B8Td03RZ.js → vue-ui-bullet-CZKHPSsG.js} +7 -7
- package/dist/{vue-ui-candlestick-aRpv_WG-.js → vue-ui-candlestick-DW7yeLnE.js} +39 -39
- package/dist/{vue-ui-carousel-table-yjrmp9Q4.js → vue-ui-carousel-table-Bv0TZYW1.js} +4 -4
- package/dist/{vue-ui-chestnut-mlal6Cjv.js → vue-ui-chestnut-BUqGBycr.js} +5 -5
- package/dist/{vue-ui-chord-Ddbwnzl7.js → vue-ui-chord-Awtzhq_0.js} +8 -8
- package/dist/{vue-ui-circle-pack-DUw81Lbf.js → vue-ui-circle-pack-WTa2Mj2O.js} +37 -37
- package/dist/vue-ui-cursor-D6_m463R.js +252 -0
- package/dist/vue-ui-dag-tle30Ehr.js +2727 -0
- package/dist/{vue-ui-dashboard-BzIopzfw.js → vue-ui-dashboard-BLgMwKmT.js} +68 -68
- package/dist/vue-ui-digits-DIZ8pi6C.js +200 -0
- package/dist/{vue-ui-donut-D-uqv9-W.js → vue-ui-donut-DY8Q-PAg.js} +88 -88
- package/dist/{vue-ui-donut-evolution-C25j-w7G.js → vue-ui-donut-evolution-DGnq03PX.js} +85 -85
- package/dist/{vue-ui-dumbbell-DaBN6kZz.js → vue-ui-dumbbell-xRMH2Mlv.js} +33 -33
- package/dist/{vue-ui-flow-LBrbktKK.js → vue-ui-flow-C0a8rOyT.js} +42 -42
- package/dist/{vue-ui-funnel-StsSjaZJ.js → vue-ui-funnel-D6krkF1a.js} +19 -19
- package/dist/{vue-ui-galaxy-DATC0Ww1.js → vue-ui-galaxy-BCkJt9OE.js} +59 -59
- package/dist/{vue-ui-gauge-BuSVuoeo.js → vue-ui-gauge-BaH-VYAi.js} +25 -25
- package/dist/{vue-ui-gizmo-B4Du388h.js → vue-ui-gizmo-BnCONs1t.js} +3 -3
- package/dist/{vue-ui-heatmap-C7jHSpqL.js → vue-ui-heatmap-BYoD6XaS.js} +67 -67
- package/dist/{vue-ui-history-plot-CMGhB2Zv.js → vue-ui-history-plot-BZBtIBsY.js} +43 -43
- package/dist/{vue-ui-horizontal-bar-BlG3kfkk.js → vue-ui-horizontal-bar-DsDDKUa6.js} +69 -69
- package/dist/{vue-ui-kpi-CTUnzHcT.js → vue-ui-kpi-Dn750UNZ.js} +3 -3
- package/dist/{vue-ui-mini-loader-DYMh6g7y.js → vue-ui-mini-loader-44NP38K0.js} +2 -2
- package/dist/{vue-ui-molecule-BNwKqzIg.js → vue-ui-molecule-C994_mOK.js} +53 -53
- package/dist/{vue-ui-mood-radar-Bpfe33cj.js → vue-ui-mood-radar-BI2SAtcM.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CG6vyTLr.js → vue-ui-nested-donuts-CSF_bA-I.js} +38 -38
- package/dist/{vue-ui-onion-BNrW85xB.js → vue-ui-onion-L5ULuI3B.js} +38 -38
- package/dist/{vue-ui-parallel-coordinate-plot-prQ8DLgP.js → vue-ui-parallel-coordinate-plot-CYetuoa5.js} +43 -43
- package/dist/{vue-ui-quadrant-mFM3WtKm.js → vue-ui-quadrant-Diwm1-e6.js} +8 -8
- package/dist/{vue-ui-quick-chart-CmJEoZEj.js → vue-ui-quick-chart-YBj4Iyk6.js} +51 -51
- package/dist/{vue-ui-radar-MheG5gvf.js → vue-ui-radar-D76Mi-4u.js} +41 -41
- package/dist/{vue-ui-rating-BAfHKHmb.js → vue-ui-rating-CJjSt6-z.js} +2 -2
- package/dist/{vue-ui-relation-circle-BPZDXdVc.js → vue-ui-relation-circle-BlYazckd.js} +19 -19
- package/dist/{vue-ui-ridgeline-BPDURc5t.js → vue-ui-ridgeline-DW8JqGxN.js} +8 -8
- package/dist/{vue-ui-rings-ByeUycTV.js → vue-ui-rings-De3shW_r.js} +37 -37
- package/dist/{vue-ui-scatter-HkSLoM2F.js → vue-ui-scatter-oDhPqRJq.js} +8 -8
- package/dist/{vue-ui-skeleton-DtciU6S2.js → vue-ui-skeleton-BUIXG_mY.js} +3 -3
- package/dist/vue-ui-smiley-Cni8Q56U.js +377 -0
- package/dist/{vue-ui-spark-trend-lSw8HYoA.js → vue-ui-spark-trend-D1Zt5np6.js} +16 -16
- package/dist/{vue-ui-sparkbar-DZlTPWdS.js → vue-ui-sparkbar-CdmXCSnj.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cwl9Ksz2.js → vue-ui-sparkgauge-Dn2PQhZj.js} +17 -17
- package/dist/{vue-ui-sparkhistogram-Bq2DS4V0.js → vue-ui-sparkhistogram-nrkglHJk.js} +4 -4
- package/dist/{vue-ui-sparkline-DbkCbelr.js → vue-ui-sparkline-tz8fAf2C.js} +31 -31
- package/dist/{vue-ui-sparkstackbar-DWDEh2j6.js → vue-ui-sparkstackbar-BQPSsF5Q.js} +3 -3
- package/dist/{vue-ui-stackbar-BhbkdK0G.js → vue-ui-stackbar-DMO3YIQp.js} +9 -9
- package/dist/{vue-ui-stackline-DqKYCBDP.js → vue-ui-stackline-BQo4KoIK.js} +55 -55
- package/dist/{vue-ui-strip-plot-BUbyj8j8.js → vue-ui-strip-plot-CJpmLgCV.js} +28 -28
- package/dist/{vue-ui-table-B1bx46AB.js → vue-ui-table-Cp4ee_1a.js} +5 -5
- package/dist/{vue-ui-table-heatmap-kuly5Mc1.js → vue-ui-table-heatmap-1qpMxFyu.js} +5 -5
- package/dist/{vue-ui-table-sparkline-B9YLMDpp.js → vue-ui-table-sparkline-wSJjRJc4.js} +4 -4
- package/dist/{vue-ui-thermometer-DGM9Cnnw.js → vue-ui-thermometer-DA8pG0Tr.js} +19 -19
- package/dist/{vue-ui-timer-C1uo5WJb.js → vue-ui-timer-Bc0J-YWP.js} +12 -12
- package/dist/{vue-ui-tiremarks-B-xq7Ivj.js → vue-ui-tiremarks-DqYsca6Q.js} +6 -6
- package/dist/{vue-ui-treemap-VI1FYNqD.js → vue-ui-treemap-BQsPzEFA.js} +51 -51
- package/dist/{vue-ui-waffle-WdacXwVf.js → vue-ui-waffle-5wkXlR4p.js} +69 -69
- package/dist/{vue-ui-wheel-C7yfIwbK.js → vue-ui-wheel-CkZko1RX.js} +6 -6
- package/dist/{vue-ui-word-cloud-BlNxODSZ.js → vue-ui-word-cloud-52bv_Ba-.js} +41 -41
- package/dist/{vue-ui-world-vfrFZPI1.js → vue-ui-world-oIyf91PY.js} +6 -6
- package/dist/{vue-ui-xy-DHN5H4Ln.js → vue-ui-xy-DIEBv1b8.js} +75 -75
- package/dist/{vue-ui-xy-canvas-B3oAOFin.js → vue-ui-xy-canvas-pnm8ar87.js} +127 -127
- package/package.json +4 -3
- package/dist/usePanZoom-DZtyJi5q.js +0 -127
- package/dist/vue-data-ui-BcTiYl7u.js +0 -337
- package/dist/vue-ui-cursor-CIynd5w9.js +0 -229
- package/dist/vue-ui-digits-BDVx5bMH.js +0 -154
- package/dist/vue-ui-smiley-B8k0b8-R.js +0 -852
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as E, computed as w, ref as f, toRefs as St, watch as le, onMounted as Ot, onBeforeUnmount as Dt, createElementBlock as g, openBlock as h, unref as i, normalizeStyle as ae, normalizeClass as ge, createBlock as V, createCommentVNode as x, renderSlot as b, createElementVNode as S, createVNode as ke, withCtx as m, normalizeProps as _, guardReactiveProps as F, createSlots as Ze, Fragment as j, renderList as Ce, mergeProps as we, toDisplayString as ne, resolveDynamicComponent as Pt, createTextVNode as Je, nextTick as It } from "vue";
|
|
2
|
-
import { u as Et, a as xe } from "./useNestedProp-
|
|
3
|
-
import { c as Ke, t as Bt, i as $e, p as se, o as Mt, g as Nt, j as Rt, l as zt, d as Qe, X as Lt, n as Ut, r as Vt, w as
|
|
4
|
-
import { u as Ht } from "./usePrinter-
|
|
2
|
+
import { u as Et, a as xe } from "./useNestedProp-DOOBu_sL.js";
|
|
3
|
+
import { c as Ke, t as Bt, i as $e, p as se, o as Mt, g as Nt, j as Rt, l as zt, d as Qe, X as Lt, n as Ut, r as Vt, w as Ae, G as jt, u as Gt, q as Yt, x as Xt, a as qt } from "./lib-qMPkcvmh.js";
|
|
4
|
+
import { u as Ht } from "./usePrinter-CjGh4mFJ.js";
|
|
5
5
|
import { u as Wt, B as Zt } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
import { u as Jt } from "./useSvgExport-DrjCWun4.js";
|
|
7
7
|
import { u as Kt } from "./useThemeCheck-DGJ31Vi5.js";
|
|
8
8
|
import { u as Qt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as eo } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { t as to, u as oo } from "./useResponsive-DfdjqQps.js";
|
|
11
|
-
import lo from "./img-
|
|
12
|
-
import ao from "./Title-
|
|
11
|
+
import lo from "./img-CwrkWkkl.js";
|
|
12
|
+
import ao from "./Title-CgkWUXeV.js";
|
|
13
13
|
import { _ as no } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
function so(u, c = 0) {
|
|
15
15
|
const p = u.reduce((a, { x: s, r: d }) => Math.min(a, s - d - c), 1 / 0), y = u.reduce((a, { x: s, r: d }) => Math.max(a, s + d + c), -1 / 0), v = u.reduce((a, { y: s, r: d }) => Math.min(a, s - d - c), 1 / 0), n = u.reduce((a, { y: s, r: d }) => Math.max(a, s + d + c), -1 / 0);
|
|
@@ -94,7 +94,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
94
94
|
}, Symbol.toStringTag, { value: "Module" })), io = ["id"], co = ["xmlns", "viewBox"], vo = ["x", "y", "width", "height"], fo = ["id"], ho = ["stop-color"], po = ["stop-color"], bo = ["stop-color"], yo = { key: 0 }, mo = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onMouseout", "onClick"], go = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], ko = ["x", "y", "width", "height", "fill", "rx"], Co = ["x", "y", "font-size", "fill", "font-weight"], wo = ["x", "y", "font-size", "fill", "font-weight"], xo = {
|
|
95
95
|
key: 4,
|
|
96
96
|
class: "vue-data-ui-watermark"
|
|
97
|
-
}, $o = ["innerHTML"],
|
|
97
|
+
}, $o = ["innerHTML"], Ao = {
|
|
98
98
|
__name: "vue-ui-circle-pack",
|
|
99
99
|
props: {
|
|
100
100
|
config: {
|
|
@@ -112,7 +112,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
112
112
|
},
|
|
113
113
|
emits: ["selectDatapoint"],
|
|
114
114
|
setup(u, { expose: c, emit: p }) {
|
|
115
|
-
const y = E(() => import("./Tooltip-
|
|
115
|
+
const y = E(() => import("./Tooltip-OHx7yHlS.js")), v = E(() => import("./BaseIcon-CALhpING.js")), n = E(() => import("./vue-ui-accordion-BWfQ8Imt.js")), a = E(() => import("./DataTable-Ca1twcf7.js")), s = E(() => import("./UserOptions-ChRXLqps.js")), d = E(() => import("./PenAndPaper-DscVdZ1u.js")), k = E(() => import("./PackageVersion-B9RA2_BM.js")), D = E(() => import("./BaseDraggableDialog-BYwNgX3M.js")), $ = u, J = p, { vue_ui_circle_pack: K } = Et(), { isThemeValid: Q, warnInvalidTheme: it } = Kt(), Te = w(() => !!$.dataset && $.dataset.length), G = f(Ke()), A = f(null), _e = f(null), Fe = f(null), Se = f(0), Oe = f(0), De = f(0), Pe = f(null), z = f(null), ue = f(null), ie = f(!1), ce = f(""), B = f(null), e = f(de()), { loading: Ie, FINAL_DATASET: Ee } = Wt({
|
|
116
116
|
...St($),
|
|
117
117
|
FINAL_CONFIG: e,
|
|
118
118
|
prepareConfig: de,
|
|
@@ -169,18 +169,18 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
171
|
le(() => $.config, (t) => {
|
|
172
|
-
e.value = de(), ve.value = !e.value.userOptions.showOnChartHover, fe(), Se.value += 1, Oe.value += 1,
|
|
172
|
+
e.value = de(), ve.value = !e.value.userOptions.showOnChartHover, fe(), Se.value += 1, Oe.value += 1, T.value.showTable = e.value.table.show;
|
|
173
173
|
}, { deep: !0 });
|
|
174
174
|
const { isPrinting: Ne, isImaging: Re, generatePdf: ze, generateImage: Le } = Ht({
|
|
175
175
|
elementId: `vue-ui-circle-pack_${G.value}`,
|
|
176
176
|
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack",
|
|
177
177
|
options: e.value.userOptions.print
|
|
178
|
-
}), ct = w(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
178
|
+
}), ct = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), T = f({
|
|
179
179
|
showTable: e.value.table.show,
|
|
180
180
|
showTooltip: e.value.style.chart.tooltip.show
|
|
181
181
|
});
|
|
182
182
|
le(e, () => {
|
|
183
|
-
|
|
183
|
+
T.value = {
|
|
184
184
|
showTable: e.value.table.show,
|
|
185
185
|
showTooltip: e.value.style.chart.tooltip.show
|
|
186
186
|
};
|
|
@@ -214,10 +214,10 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
214
214
|
})), Ue.value = [0, 0, t, l], P.value = `0 0 ${t} ${l}`;
|
|
215
215
|
}
|
|
216
216
|
function pt() {
|
|
217
|
-
if (!e.value.responsive || !
|
|
217
|
+
if (!e.value.responsive || !A.value) return;
|
|
218
218
|
const t = to(() => {
|
|
219
219
|
const { width: l, height: o } = oo({
|
|
220
|
-
chart:
|
|
220
|
+
chart: A.value,
|
|
221
221
|
title: e.value.style.chart.title.text ? _e.value : null,
|
|
222
222
|
legend: null,
|
|
223
223
|
source: Pe.value,
|
|
@@ -227,7 +227,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
227
227
|
!l || !o || (L.value && (L.value.setAttribute("width", l), L.value.setAttribute("height", o)), Ve(l, o));
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
|
-
O.value && (I.value && O.value.unobserve(I.value), O.value.disconnect()), O.value = new ResizeObserver(t), I.value =
|
|
230
|
+
O.value && (I.value && O.value.unobserve(I.value), O.value.disconnect()), O.value = new ResizeObserver(t), I.value = A.value.parentNode || A.value, I.value && O.value.observe(I.value), t();
|
|
231
231
|
}
|
|
232
232
|
function je() {
|
|
233
233
|
O.value && (I.value && O.value.unobserve(I.value), O.value.disconnect(), O.value = null, I.value = null);
|
|
@@ -383,17 +383,17 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
383
383
|
};
|
|
384
384
|
});
|
|
385
385
|
function qe() {
|
|
386
|
-
|
|
386
|
+
T.value.showTable = !T.value.showTable;
|
|
387
387
|
}
|
|
388
388
|
function kt() {
|
|
389
|
-
|
|
389
|
+
T.value.showTooltip = !T.value.showTooltip;
|
|
390
390
|
}
|
|
391
391
|
function Ct() {
|
|
392
392
|
return Y.value;
|
|
393
393
|
}
|
|
394
394
|
async function wt({ scale: t = 2 } = {}) {
|
|
395
|
-
if (!
|
|
396
|
-
const { width: l, height: o } =
|
|
395
|
+
if (!A.value) return;
|
|
396
|
+
const { width: l, height: o } = A.value.getBoundingClientRect(), r = l / o, { imageUri: C, base64: R } = await lo({ domElement: A.value, base64: !0, img: !0, scale: t });
|
|
397
397
|
return {
|
|
398
398
|
imageUri: C,
|
|
399
399
|
base64: R,
|
|
@@ -404,7 +404,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
const H = w(() => {
|
|
407
|
-
const t = e.value.table.useDialog && !e.value.table.show, l =
|
|
407
|
+
const t = e.value.table.useDialog && !e.value.table.show, l = T.value.showTable;
|
|
408
408
|
return {
|
|
409
409
|
component: t ? D : n,
|
|
410
410
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
@@ -414,7 +414,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
414
414
|
headerColor: e.value.table.th.color,
|
|
415
415
|
headerBg: e.value.table.th.backgroundColor,
|
|
416
416
|
isFullscreen: N.value,
|
|
417
|
-
fullscreenParent:
|
|
417
|
+
fullscreenParent: A.value,
|
|
418
418
|
forcedWidth: Math.min(500, window.innerWidth * 0.8)
|
|
419
419
|
} : {
|
|
420
420
|
hideDetails: !0,
|
|
@@ -433,23 +433,23 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
435
|
});
|
|
436
|
-
le(() =>
|
|
436
|
+
le(() => T.value.showTable, (t) => {
|
|
437
437
|
e.value.table.show || (t && e.value.table.useDialog && z.value ? z.value.open() : z.value && "close" in z.value && z.value.close());
|
|
438
438
|
});
|
|
439
439
|
function He() {
|
|
440
|
-
|
|
440
|
+
T.value.showTable = !1, ue.value && ue.value.setTableIconState(!1);
|
|
441
441
|
}
|
|
442
|
-
const xt = w(() => e.value.style.chart.backgroundColor), $t = w(() => e.value.style.chart.title), { exportSvg:
|
|
442
|
+
const xt = w(() => e.value.style.chart.backgroundColor), $t = w(() => e.value.style.chart.title), { exportSvg: At, getSvg: Tt } = Jt({
|
|
443
443
|
svg: L,
|
|
444
444
|
title: $t,
|
|
445
445
|
backgroundColor: xt
|
|
446
446
|
});
|
|
447
447
|
async function We({ isCb: t }) {
|
|
448
448
|
if (t) {
|
|
449
|
-
const { blob: l, url: o, text: r, dataUrl: C } = await
|
|
449
|
+
const { blob: l, url: o, text: r, dataUrl: C } = await Tt();
|
|
450
450
|
e.value.userOptions.callbacks.svg({ blob: l, url: o, text: r, dataUrl: C });
|
|
451
451
|
} else
|
|
452
|
-
|
|
452
|
+
At();
|
|
453
453
|
}
|
|
454
454
|
return c({
|
|
455
455
|
getData: Ct,
|
|
@@ -465,7 +465,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
465
465
|
id: `vue-ui-circle-pack_${G.value}`,
|
|
466
466
|
class: ge(`vue-data-ui-component vue-ui-circle-pack ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${i(Ie) ? "loading" : ""}`),
|
|
467
467
|
ref_key: "circlePackChart",
|
|
468
|
-
ref:
|
|
468
|
+
ref: A,
|
|
469
469
|
style: ae(`font-family:${e.value.style.fontFamily};text-align:center;background:${e.value.style.chart.backgroundColor};`),
|
|
470
470
|
onMouseenter: l[1] || (l[1] = () => i(Be)(!0)),
|
|
471
471
|
onMouseleave: l[2] || (l[2] = () => i(Be)(!1))
|
|
@@ -527,7 +527,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
527
527
|
}
|
|
528
528
|
}, null, 8, ["config"]))
|
|
529
529
|
], 512)) : x("", !0),
|
|
530
|
-
e.value.userOptions.show &&
|
|
530
|
+
e.value.userOptions.show && Te.value && (i(Me) || i(ve)) ? (h(), V(i(s), {
|
|
531
531
|
ref_key: "userOptionsRef",
|
|
532
532
|
ref: ue,
|
|
533
533
|
key: `user_option_${De.value}`,
|
|
@@ -537,7 +537,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
537
537
|
isImaging: i(Re),
|
|
538
538
|
uid: G.value,
|
|
539
539
|
hasTooltip: e.value.userOptions.buttons.tooltip,
|
|
540
|
-
isTooltip:
|
|
540
|
+
isTooltip: T.value.showTooltip,
|
|
541
541
|
hasLabel: !1,
|
|
542
542
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
543
543
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -546,7 +546,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
546
546
|
hasTable: e.value.userOptions.buttons.table,
|
|
547
547
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
548
548
|
isFullscreen: N.value,
|
|
549
|
-
chartElement:
|
|
549
|
+
chartElement: A.value,
|
|
550
550
|
position: e.value.userOptions.position,
|
|
551
551
|
callbacks: e.value.userOptions.callbacks,
|
|
552
552
|
printScale: e.value.userOptions.print.scale,
|
|
@@ -726,7 +726,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
726
726
|
name: o.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
727
727
|
value: Ye(o) * e.value.style.chart.circles.labels.value.fontSizeRatio
|
|
728
728
|
},
|
|
729
|
-
color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(
|
|
729
|
+
color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : i(Ae)(o.color)
|
|
730
730
|
}), void 0, !0) : (h(), g(j, { key: 1 }, [
|
|
731
731
|
e.value.style.chart.circles.labels.name.show && o.name ? (h(), g("text", {
|
|
732
732
|
key: 0,
|
|
@@ -737,7 +737,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
737
737
|
x: o.x,
|
|
738
738
|
y: o.y + Ge(o.r, e.value.style.chart.circles.labels.name.offsetY) - o.r / 10,
|
|
739
739
|
"font-size": o.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
740
|
-
fill: e.value.style.chart.circles.labels.name.color === "auto" ? i(
|
|
740
|
+
fill: e.value.style.chart.circles.labels.name.color === "auto" ? i(Ae)(o.color) : e.value.style.chart.circles.labels.name.color,
|
|
741
741
|
"font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
|
|
742
742
|
"text-anchor": "middle"
|
|
743
743
|
}, ne(o.name), 9, Co)) : x("", !0),
|
|
@@ -750,7 +750,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
750
750
|
x: o.x,
|
|
751
751
|
y: o.y + Ge(o.r, e.value.style.chart.circles.labels.value.offsetY) + o.r / 2.5,
|
|
752
752
|
"font-size": Ye(o) * e.value.style.chart.circles.labels.value.fontSizeRatio,
|
|
753
|
-
fill: e.value.style.chart.circles.labels.value.color === "auto" ? i(
|
|
753
|
+
fill: e.value.style.chart.circles.labels.value.color === "auto" ? i(Ae)(o.color) : e.value.style.chart.circles.labels.value.color,
|
|
754
754
|
"font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
|
|
755
755
|
"text-anchor": "middle"
|
|
756
756
|
}, ne(pe(o)), 9, wo)) : x("", !0)
|
|
@@ -773,7 +773,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
773
773
|
b(t.$slots, "source", {}, void 0, !0)
|
|
774
774
|
], 512)) : x("", !0),
|
|
775
775
|
ke(i(y), {
|
|
776
|
-
show:
|
|
776
|
+
show: T.value.showTooltip && ie.value,
|
|
777
777
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
778
778
|
color: e.value.style.chart.tooltip.color,
|
|
779
779
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -783,7 +783,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
783
783
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
784
784
|
position: e.value.style.chart.tooltip.position,
|
|
785
785
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
786
|
-
parent:
|
|
786
|
+
parent: A.value,
|
|
787
787
|
content: ce.value,
|
|
788
788
|
isCustom: q.value,
|
|
789
789
|
isFullscreen: N.value,
|
|
@@ -800,7 +800,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
800
800
|
]),
|
|
801
801
|
_: 3
|
|
802
802
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
803
|
-
|
|
803
|
+
Te.value && e.value.userOptions.buttons.table ? (h(), V(Pt(H.value.component), we({ key: 6 }, H.value.props, {
|
|
804
804
|
ref_key: "tableUnit",
|
|
805
805
|
ref: z,
|
|
806
806
|
onClose: He
|
|
@@ -857,12 +857,12 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
857
857
|
i(Ie) ? (h(), V(Zt, { key: 7 })) : x("", !0)
|
|
858
858
|
], 46, io));
|
|
859
859
|
}
|
|
860
|
-
},
|
|
860
|
+
}, To = /* @__PURE__ */ no(Ao, [["__scopeId", "data-v-5e1a54cd"]]), Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
861
861
|
__proto__: null,
|
|
862
|
-
default:
|
|
862
|
+
default: To
|
|
863
863
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
864
864
|
export {
|
|
865
865
|
Lo as a,
|
|
866
866
|
Uo as b,
|
|
867
|
-
|
|
867
|
+
To as v
|
|
868
868
|
};
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { ref as u, computed as m, onMounted as I, onBeforeUnmount as N, createBlock as B, openBlock as l, Teleport as T, createElementBlock as i, createCommentVNode as n, normalizeStyle as $, unref as E, createVNode as R, createElementVNode as r, normalizeClass as S, toDisplayString as F, nextTick as M } from "vue";
|
|
2
|
+
import { u as W, a as G } from "./useNestedProp-DOOBu_sL.js";
|
|
3
|
+
import { c as V, X as A, s as U } from "./lib-qMPkcvmh.js";
|
|
4
|
+
import P from "./PackageVersion-B9RA2_BM.js";
|
|
5
|
+
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const j = ["xmlns", "height", "width"], Y = {
|
|
7
|
+
id: "follower",
|
|
8
|
+
fy: "30%",
|
|
9
|
+
fx: "30%"
|
|
10
|
+
}, q = ["stop-color", "stop-opacity"], H = ["r", "fill", "stroke", "stroke-width", "stroke-dasharray"], J = ["r"], K = {
|
|
11
|
+
key: 2,
|
|
12
|
+
class: "wave"
|
|
13
|
+
}, Q = ["id"], Z = ["id"], ee = ["filter", "stroke"], te = {
|
|
14
|
+
key: 3,
|
|
15
|
+
class: "crosshair"
|
|
16
|
+
}, re = ["x1", "stroke", "stroke-width", "stroke-dasharray"], oe = ["x1", "stroke", "stroke-width", "stroke-dasharray"], se = ["y1", "stroke", "stroke-width", "stroke-dasharray"], le = ["y1", "stroke", "stroke-width", "stroke-dasharray"], ae = ["cy", "r", "fill"], ie = ["cy", "r", "fill"], ne = ["cx", "r", "fill"], ue = ["cx", "r", "fill"], ce = {
|
|
17
|
+
key: 5,
|
|
18
|
+
class: "coordinates"
|
|
19
|
+
}, ve = ["x", "y", "font-size", "fill"], de = ["transform"], fe = ["font-size", "fill"], he = {
|
|
20
|
+
__name: "vue-ui-cursor",
|
|
21
|
+
props: {
|
|
22
|
+
config: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: {}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(L) {
|
|
28
|
+
const { vue_ui_cursor: z } = W(), O = L, k = u(V()), e = m(() => G({
|
|
29
|
+
userConfig: O.config,
|
|
30
|
+
defaultConfig: z
|
|
31
|
+
})), a = u({
|
|
32
|
+
x: -100,
|
|
33
|
+
y: -100
|
|
34
|
+
}), o = m(() => Math.round(e.value.centerCircleRadius)), f = m(() => Math.round(e.value.coordinatesOffset));
|
|
35
|
+
function p({ clientX: t, clientY: s, ...y }) {
|
|
36
|
+
a.value.x = t - o.value, a.value.y = s - o.value;
|
|
37
|
+
}
|
|
38
|
+
function x(t) {
|
|
39
|
+
a.value.x = t.targetTouches[0].clientX - o.value, a.value.y = t.targetTouches[0].clientY - o.value;
|
|
40
|
+
}
|
|
41
|
+
const C = u(!0);
|
|
42
|
+
function h(t) {
|
|
43
|
+
C.value = t;
|
|
44
|
+
}
|
|
45
|
+
const c = u(!1), _ = u(null);
|
|
46
|
+
function g() {
|
|
47
|
+
c.value = !1, _.value && clearTimeout(_.value), M(() => {
|
|
48
|
+
c.value = !0, _.value = setTimeout(() => {
|
|
49
|
+
c.value = !1;
|
|
50
|
+
}, 1e3);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
const v = u(null), d = u(null);
|
|
54
|
+
function b() {
|
|
55
|
+
return e.value.parentId ? document.getElementById(e.value.parentId) : document.getElementsByTagName("div")[0] || null;
|
|
56
|
+
}
|
|
57
|
+
function w(t) {
|
|
58
|
+
t && (t.addEventListener("mousemove", p), t.addEventListener("touchmove", x), t.addEventListener("mouseleave", () => h(!1)), t.addEventListener("mouseenter", () => h(!0)), t.addEventListener("click", g));
|
|
59
|
+
}
|
|
60
|
+
function D(t) {
|
|
61
|
+
t && (t.removeEventListener("mousemove", p), t.removeEventListener("touchmove", x), t.removeEventListener("mouseleave", () => h(!1)), t.removeEventListener("mouseenter", () => h(!0)), t.removeEventListener("click", g));
|
|
62
|
+
}
|
|
63
|
+
return I(() => {
|
|
64
|
+
const t = b();
|
|
65
|
+
if (t) {
|
|
66
|
+
v.value = t, w(t);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
if (!e.value.parentId)
|
|
70
|
+
return;
|
|
71
|
+
const s = new MutationObserver(() => {
|
|
72
|
+
const y = b();
|
|
73
|
+
y && (v.value = y, w(y), s.disconnect(), d.value = null);
|
|
74
|
+
});
|
|
75
|
+
s.observe(document.body, { childList: !0, subtree: !0 }), d.value = s;
|
|
76
|
+
}), N(() => {
|
|
77
|
+
d.value && (d.value.disconnect(), d.value = null), v.value && (D(v.value), v.value = null);
|
|
78
|
+
}), (t, s) => (l(), B(T, { to: "body" }, [
|
|
79
|
+
C.value ? (l(), i("svg", {
|
|
80
|
+
key: 0,
|
|
81
|
+
"data-dom-to-png-ignore": "",
|
|
82
|
+
xmlns: E(A),
|
|
83
|
+
style: $(`z-index: 2147483647; overflow: visible; pointer-events: none;background: transparent; position:fixed; top:${a.value.y}px; left:${a.value.x}px;`),
|
|
84
|
+
viewBox: "0 0 100 100",
|
|
85
|
+
height: o.value * 2,
|
|
86
|
+
width: o.value * 2
|
|
87
|
+
}, [
|
|
88
|
+
R(P),
|
|
89
|
+
r("defs", null, [
|
|
90
|
+
r("radialGradient", Y, [
|
|
91
|
+
r("stop", {
|
|
92
|
+
offset: "10%",
|
|
93
|
+
"stop-color": e.value.bubbleEffectColor,
|
|
94
|
+
"stop-opacity": e.value.bubbleEffectOpacity
|
|
95
|
+
}, null, 8, q),
|
|
96
|
+
s[0] || (s[0] = r("stop", {
|
|
97
|
+
offset: "95%",
|
|
98
|
+
"stop-color": "transparent"
|
|
99
|
+
}, null, -1))
|
|
100
|
+
])
|
|
101
|
+
]),
|
|
102
|
+
e.value.showCenterCircle ? (l(), i("circle", {
|
|
103
|
+
key: 0,
|
|
104
|
+
cx: 50,
|
|
105
|
+
cy: 50,
|
|
106
|
+
r: o.value,
|
|
107
|
+
fill: E(U)(e.value.centerCircleColor, e.value.centerCircleOpacity * 100),
|
|
108
|
+
stroke: e.value.centerCircleStroke,
|
|
109
|
+
"stroke-width": e.value.centerCircleStrokeWidth,
|
|
110
|
+
"stroke-dasharray": e.value.centerCircleDasharray
|
|
111
|
+
}, null, 8, H)) : n("", !0),
|
|
112
|
+
e.value.bubbleEffect ? (l(), i("circle", {
|
|
113
|
+
key: 1,
|
|
114
|
+
cx: 50,
|
|
115
|
+
cy: 50,
|
|
116
|
+
r: o.value,
|
|
117
|
+
fill: "url(#follower)",
|
|
118
|
+
stroke: "none"
|
|
119
|
+
}, null, 8, J)) : n("", !0),
|
|
120
|
+
e.value.useWaveOnClick ? (l(), i("g", K, [
|
|
121
|
+
r("defs", null, [
|
|
122
|
+
r("filter", {
|
|
123
|
+
id: `blur_${k.value}`,
|
|
124
|
+
x: "-50%",
|
|
125
|
+
y: "-50%",
|
|
126
|
+
width: "200%",
|
|
127
|
+
height: "200%"
|
|
128
|
+
}, [
|
|
129
|
+
r("feGaussianBlur", {
|
|
130
|
+
in: "SourceGraphic",
|
|
131
|
+
stdDeviation: 4,
|
|
132
|
+
id: `blur_std_${k.value}`
|
|
133
|
+
}, null, 8, Z),
|
|
134
|
+
s[1] || (s[1] = r("feColorMatrix", {
|
|
135
|
+
type: "saturate",
|
|
136
|
+
values: "0"
|
|
137
|
+
}, null, -1))
|
|
138
|
+
], 8, Q)
|
|
139
|
+
]),
|
|
140
|
+
c.value ? (l(), i("circle", {
|
|
141
|
+
key: 0,
|
|
142
|
+
class: S({ "circle-wave": c.value }),
|
|
143
|
+
cx: 50,
|
|
144
|
+
cy: 50,
|
|
145
|
+
r: 50,
|
|
146
|
+
filter: `url(#blur_${k.value})`,
|
|
147
|
+
stroke: e.value.centerCircleStroke,
|
|
148
|
+
fill: "none",
|
|
149
|
+
"stroke-width": "3"
|
|
150
|
+
}, null, 10, ee)) : n("", !0)
|
|
151
|
+
])) : n("", !0),
|
|
152
|
+
e.value.showCrosshair ? (l(), i("g", te, [
|
|
153
|
+
r("line", {
|
|
154
|
+
x1: -o.value + 50,
|
|
155
|
+
x2: -5e3,
|
|
156
|
+
y1: 50,
|
|
157
|
+
y2: 50,
|
|
158
|
+
stroke: e.value.crosshairStroke,
|
|
159
|
+
"stroke-width": e.value.crosshairStrokeWidth,
|
|
160
|
+
"stroke-dasharray": e.value.crosshairDasharray,
|
|
161
|
+
"stroke-linecap": "round"
|
|
162
|
+
}, null, 8, re),
|
|
163
|
+
r("line", {
|
|
164
|
+
x1: 50 + o.value,
|
|
165
|
+
x2: 5e3,
|
|
166
|
+
y1: 50,
|
|
167
|
+
y2: 50,
|
|
168
|
+
stroke: e.value.crosshairStroke,
|
|
169
|
+
"stroke-width": e.value.crosshairStrokeWidth,
|
|
170
|
+
"stroke-dasharray": e.value.crosshairDasharray,
|
|
171
|
+
"stroke-linecap": "round"
|
|
172
|
+
}, null, 8, oe),
|
|
173
|
+
r("line", {
|
|
174
|
+
x1: 50,
|
|
175
|
+
x2: 50,
|
|
176
|
+
y1: -o.value + 50,
|
|
177
|
+
y2: -5e3,
|
|
178
|
+
stroke: e.value.crosshairStroke,
|
|
179
|
+
"stroke-width": e.value.crosshairStrokeWidth,
|
|
180
|
+
"stroke-dasharray": e.value.crosshairDasharray,
|
|
181
|
+
"stroke-linecap": "round"
|
|
182
|
+
}, null, 8, se),
|
|
183
|
+
r("line", {
|
|
184
|
+
x1: 50,
|
|
185
|
+
x2: 50,
|
|
186
|
+
y1: o.value + 50,
|
|
187
|
+
y2: 5e3,
|
|
188
|
+
stroke: e.value.crosshairStroke,
|
|
189
|
+
"stroke-width": e.value.crosshairStrokeWidth,
|
|
190
|
+
"stroke-dasharray": e.value.crosshairDasharray,
|
|
191
|
+
"stroke-linecap": "round"
|
|
192
|
+
}, null, 8, le)
|
|
193
|
+
])) : n("", !0),
|
|
194
|
+
e.value.showIntersectCircles ? (l(), i("g", {
|
|
195
|
+
key: 4,
|
|
196
|
+
class: S({ "rotating-circles": e.value.isLoading })
|
|
197
|
+
}, [
|
|
198
|
+
r("circle", {
|
|
199
|
+
cx: 50,
|
|
200
|
+
cy: o.value + 50,
|
|
201
|
+
r: e.value.intersectCirclesRadius,
|
|
202
|
+
fill: e.value.intersectCirclesFill
|
|
203
|
+
}, null, 8, ae),
|
|
204
|
+
r("circle", {
|
|
205
|
+
cx: 50,
|
|
206
|
+
cy: -o.value + 50,
|
|
207
|
+
r: e.value.intersectCirclesRadius,
|
|
208
|
+
fill: e.value.intersectCirclesFill
|
|
209
|
+
}, null, 8, ie),
|
|
210
|
+
r("circle", {
|
|
211
|
+
cx: -o.value + 50,
|
|
212
|
+
cy: 50,
|
|
213
|
+
r: e.value.intersectCirclesRadius,
|
|
214
|
+
fill: e.value.intersectCirclesFill
|
|
215
|
+
}, null, 8, ne),
|
|
216
|
+
r("circle", {
|
|
217
|
+
cx: o.value + 50,
|
|
218
|
+
cy: 50,
|
|
219
|
+
r: e.value.intersectCirclesRadius,
|
|
220
|
+
fill: e.value.intersectCirclesFill
|
|
221
|
+
}, null, 8, ue)
|
|
222
|
+
], 2)) : n("", !0),
|
|
223
|
+
e.value.showCoordinates ? (l(), i("g", ce, [
|
|
224
|
+
r("text", {
|
|
225
|
+
"text-anchor": "end",
|
|
226
|
+
x: -o.value + 50 - e.value.coordinatesFontSize / 2 + f.value,
|
|
227
|
+
y: 50 - e.value.coordinatesFontSize / 2 + f.value,
|
|
228
|
+
"font-size": e.value.coordinatesFontSize,
|
|
229
|
+
fill: e.value.coordinatesColor,
|
|
230
|
+
style: { "font-variant-numeric": "tabular-nums" },
|
|
231
|
+
"font-family": "Arial"
|
|
232
|
+
}, F(a.value.x.toFixed(0)), 9, ve),
|
|
233
|
+
r("g", {
|
|
234
|
+
transform: `translate(${50 - e.value.coordinatesFontSize / 2 + f.value}, ${-o.value + 50 - e.value.coordinatesFontSize / 2 + f.value})`
|
|
235
|
+
}, [
|
|
236
|
+
r("text", {
|
|
237
|
+
"text-anchor": "start",
|
|
238
|
+
"font-size": e.value.coordinatesFontSize,
|
|
239
|
+
fill: e.value.coordinatesColor,
|
|
240
|
+
style: { "font-variant-numeric": "tabular-nums" },
|
|
241
|
+
transform: "rotate(-90)",
|
|
242
|
+
"font-family": "Arial"
|
|
243
|
+
}, F(a.value.y.toFixed(0)), 9, fe)
|
|
244
|
+
], 8, de)
|
|
245
|
+
])) : n("", !0)
|
|
246
|
+
], 12, j)) : n("", !0)
|
|
247
|
+
]));
|
|
248
|
+
}
|
|
249
|
+
}, xe = /* @__PURE__ */ X(he, [["__scopeId", "data-v-dd1dddb3"]]);
|
|
250
|
+
export {
|
|
251
|
+
xe as default
|
|
252
|
+
};
|