vue-data-ui 2.13.3 → 2.13.5-beta.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/dist/{Arrow-BE9mfJkL.js → Arrow-nJWOreP4.js} +1 -1
- package/dist/{BaseDraggableDialog-B9pXvCsc.js → BaseDraggableDialog-IYfaPzLA.js} +2 -2
- package/dist/{BaseIcon-5s68maMg.js → BaseIcon-lwpKi6Wa.js} +1 -1
- package/dist/{ColorPicker-BGBMbOup.js → ColorPicker-D8TZj-R5.js} +2 -2
- package/dist/{DataTable-C8F2aovs.js → DataTable-CuFlXUxm.js} +2 -2
- package/dist/{Legend-CoAmfx-7.js → Legend-DwNuhYnG.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DqqOehOr.js → NonSvgPenAndPaper-D1qSfnYa.js} +3 -3
- package/dist/{PackageVersion-BP504Bvs.js → PackageVersion-1psmmuzo.js} +2 -2
- package/dist/{PenAndPaper-CXfm6LDW.js → PenAndPaper-DgUkj01g.js} +3 -3
- package/dist/{Shape-CbwWTjj8.js → Shape-CmlBrd-F.js} +1 -1
- package/dist/Slicer-B-5jXhhw.js +577 -0
- package/dist/{SparkTooltip-HSZVAB1L.js → SparkTooltip-BGjRXPbu.js} +1 -1
- package/dist/{Title-VtPtUhFq.js → Title-BoKeR6i0.js} +1 -1
- package/dist/{Tooltip-Buu8aWuU.js → Tooltip-Df2iF7bv.js} +1 -1
- package/dist/{UserOptions-7VcV_QUc.js → UserOptions-NrArsCuC.js} +2 -2
- package/dist/{dom-to-png-BjOvlJis.js → dom-to-png-DK9TIQio.js} +1 -1
- package/dist/{img-ClKzlGeA.js → img-CqqmkwDl.js} +1 -1
- package/dist/{index-edeP1M3x.js → index-C137VZkI.js} +675 -656
- package/dist/{pdf-2Tyxymwm.js → pdf-DTB7aasS.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +23 -0
- package/dist/types/vue-data-ui.d.ts +23 -0
- package/dist/{useNestedProp-RNi-Fxfm.js → useNestedProp-ZNu8JrRX.js} +1 -1
- package/dist/{usePrinter-B3nKJKAm.js → usePrinter-B63T3abI.js} +2 -2
- package/dist/useTimeLabels-Mrr0jrpL.js +242 -0
- package/dist/{vue-data-ui-BfYXPWao.js → vue-data-ui-CBTXw5iV.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-4eGejORW.js → vue-ui-3d-bar-DKF0Y325.js} +5 -5
- package/dist/{vue-ui-accordion-C4DquMtU.js → vue-ui-accordion-BI2rBS5z.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Dvrd6Gun.js → vue-ui-age-pyramid-BDulR8Zn.js} +5 -5
- package/dist/{vue-ui-annotator-Db5OBDjC.js → vue-ui-annotator-BokgyAXW.js} +2 -2
- package/dist/{vue-ui-bullet-BlT3571K.js → vue-ui-bullet-D5TWFElT.js} +6 -6
- package/dist/{vue-ui-candlestick-0aDroQCS.js → vue-ui-candlestick-DHTA9GKN.js} +96 -96
- package/dist/{vue-ui-carousel-table-Dav_41vI.js → vue-ui-carousel-table-Bw4rC-Mv.js} +4 -4
- package/dist/{vue-ui-chestnut-CosLSi7b.js → vue-ui-chestnut-DJAW8dTu.js} +4 -4
- package/dist/{vue-ui-chord-BxHp31c3.js → vue-ui-chord-Drxbeh2P.js} +7 -7
- package/dist/{vue-ui-circle-pack-BVbRVfDq.js → vue-ui-circle-pack-ClMdOEtG.js} +5 -5
- package/dist/{vue-ui-cursor-ByPGYWlO.js → vue-ui-cursor-DaT20eFb.js} +2 -2
- package/dist/{vue-ui-dashboard-cC6brbws.js → vue-ui-dashboard-z7pGTlMX.js} +62 -62
- package/dist/{vue-ui-digits-Bb-6Adj7.js → vue-ui-digits-D6kq38s9.js} +2 -2
- package/dist/{vue-ui-donut-B3WltwRF.js → vue-ui-donut-_kVdFrZR.js} +7 -7
- package/dist/{vue-ui-donut-evolution-21zgSmm1.js → vue-ui-donut-evolution-D5P6GSM6.js} +320 -313
- package/dist/{vue-ui-dumbbell-BRRWW41S.js → vue-ui-dumbbell-DfZNlCK5.js} +6 -6
- package/dist/{vue-ui-flow-1nJK3SOO.js → vue-ui-flow-DTx267Ka.js} +6 -6
- package/dist/{vue-ui-funnel-Bo78n4pQ.js → vue-ui-funnel-B_J0AaMa.js} +83 -83
- package/dist/{vue-ui-galaxy-DViqZ_WR.js → vue-ui-galaxy-DtE48yJw.js} +4 -4
- package/dist/{vue-ui-gauge-B_8skcc5.js → vue-ui-gauge-CAKj45DE.js} +5 -5
- package/dist/{vue-ui-gizmo-B06tu-EV.js → vue-ui-gizmo-B-7-Lfai.js} +3 -3
- package/dist/{vue-ui-heatmap-9cZQCsYz.js → vue-ui-heatmap-3anHqH8-.js} +6 -6
- package/dist/{vue-ui-history-plot-q9GGP9lk.js → vue-ui-history-plot-DfduurUS.js} +103 -103
- package/dist/{vue-ui-kpi-D6hwxL-7.js → vue-ui-kpi-C_wEVoh0.js} +3 -3
- package/dist/{vue-ui-mini-loader-5K1b5iwf.js → vue-ui-mini-loader-lGMkM8Kw.js} +2 -2
- package/dist/{vue-ui-molecule-CZJZM3v3.js → vue-ui-molecule-fXW4ejgw.js} +4 -4
- package/dist/{vue-ui-mood-radar-B4ysiT_U.js → vue-ui-mood-radar-TuyuMkzg.js} +6 -6
- package/dist/{vue-ui-nested-donuts-Bp4pT3D5.js → vue-ui-nested-donuts-CtbOVaRR.js} +6 -6
- package/dist/{vue-ui-onion-BnCFgrkZ.js → vue-ui-onion-BV3A2JCN.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-B_BhXrKI.js → vue-ui-parallel-coordinate-plot-DJbeP86h.js} +175 -175
- package/dist/{vue-ui-quadrant-GclnmYO6.js → vue-ui-quadrant-xaXINXWX.js} +7 -7
- package/dist/{vue-ui-quick-chart-CFaBCkfP.js → vue-ui-quick-chart-Dr1HyP8V.js} +464 -457
- package/dist/{vue-ui-radar-BA45g7F0.js → vue-ui-radar-Cbqe4LM_.js} +6 -6
- package/dist/{vue-ui-rating-hTWz-pBq.js → vue-ui-rating-FuSmmUE8.js} +2 -2
- package/dist/{vue-ui-relation-circle-CkOaN_CX.js → vue-ui-relation-circle-kDNSenDo.js} +96 -96
- package/dist/{vue-ui-ridgeline-B2BIUDB-.js → vue-ui-ridgeline-DxtgFsg_.js} +317 -308
- package/dist/{vue-ui-rings-CSO7Zd_g.js → vue-ui-rings-DMx8sMKa.js} +7 -7
- package/dist/{vue-ui-scatter-17gG4jRb.js → vue-ui-scatter-DX42tHz8.js} +7 -7
- package/dist/{vue-ui-skeleton-EoGn9JbB.js → vue-ui-skeleton-CO_Hk6A_.js} +3 -3
- package/dist/{vue-ui-smiley-C_HkNW2f.js → vue-ui-smiley-4lhGcbc2.js} +2 -2
- package/dist/{vue-ui-spark-trend-AXaOXuBl.js → vue-ui-spark-trend-hGZ_JmgH.js} +3 -3
- package/dist/{vue-ui-sparkbar-DWZCWNKx.js → vue-ui-sparkbar-BTf3c9Qn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BZVcBexd.js → vue-ui-sparkgauge-oMfHC1dA.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BrCxiefW.js → vue-ui-sparkhistogram-DvVbSLEj.js} +4 -4
- package/dist/{vue-ui-sparkline-CFwBsRfj.js → vue-ui-sparkline-BbmMxjnF.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-bwY9BxUo.js → vue-ui-sparkstackbar-ChREWvRl.js} +3 -3
- package/dist/vue-ui-stackbar-BNPLRyEN.js +1130 -0
- package/dist/{vue-ui-strip-plot-C02lCys6.js → vue-ui-strip-plot-Ca1C6bZ_.js} +73 -73
- package/dist/{vue-ui-table-C04CtiEi.js → vue-ui-table-Cfb6eIU4.js} +3 -3
- package/dist/{vue-ui-table-heatmap-IERP9tp0.js → vue-ui-table-heatmap-BnjgK_PF.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CgXchDEY.js → vue-ui-table-sparkline-MJ8lvKbd.js} +4 -4
- package/dist/{vue-ui-thermometer-lf9mJ8LP.js → vue-ui-thermometer-C2qisXo8.js} +5 -5
- package/dist/{vue-ui-timer-BZLtxymy.js → vue-ui-timer-By6_kV9k.js} +8 -8
- package/dist/{vue-ui-tiremarks-Cu1TXwev.js → vue-ui-tiremarks-BU6rsols.js} +5 -5
- package/dist/{vue-ui-treemap-BVyxf-77.js → vue-ui-treemap-DivJblJW.js} +7 -7
- package/dist/{vue-ui-vertical-bar-C_euYHER.js → vue-ui-vertical-bar-Dyt4yezz.js} +8 -8
- package/dist/{vue-ui-waffle-BW6LSfBe.js → vue-ui-waffle-DSzMjANd.js} +7 -7
- package/dist/{vue-ui-wheel-DoARpgpJ.js → vue-ui-wheel-DFCGjYBy.js} +5 -5
- package/dist/{vue-ui-word-cloud-BVmpg5X_.js → vue-ui-word-cloud-BiG5zI03.js} +5 -5
- package/dist/{vue-ui-world-DzbMOJbm.js → vue-ui-world-BhGGmeGq.js} +5 -5
- package/dist/{vue-ui-xy-DD5417b2.js → vue-ui-xy-CZpcKEkV.js} +680 -668
- package/dist/{vue-ui-xy-canvas-9m7qMGHS.js → vue-ui-xy-canvas-B7fE9npn.js} +400 -392
- package/package.json +1 -1
- package/dist/Slicer-BNnP0Y2C.js +0 -537
- package/dist/vue-ui-stackbar-Bgc7lS0v.js +0 -1132
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as $, computed as p, ref as c, watch as st, shallowRef as Fe, onMounted as nt, onBeforeUnmount as ut, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as P, createCommentVNode as d, createElementVNode as x, createVNode as oe, createSlots as it, withCtx as f, renderSlot as g, normalizeProps as L, guardReactiveProps as z, Fragment as A, renderList as O, toDisplayString as D, createTextVNode as Ne, nextTick as ct } from "vue";
|
|
2
|
-
import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Se, d as Ie, Q as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, R as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-
|
|
2
|
+
import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Se, d as Ie, Q as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, R as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-C137VZkI.js";
|
|
3
3
|
import { t as _t, u as Tt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as Me } from "./useNestedProp-
|
|
5
|
-
import { u as Pt } from "./usePrinter-
|
|
4
|
+
import { u as Me } from "./useNestedProp-ZNu8JrRX.js";
|
|
5
|
+
import { u as Pt } from "./usePrinter-B63T3abI.js";
|
|
6
6
|
import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as At } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Ot from "./Legend-
|
|
9
|
-
import Ft from "./Title-
|
|
8
|
+
import Ot from "./Legend-DwNuhYnG.js";
|
|
9
|
+
import Ft from "./Title-BoKeR6i0.js";
|
|
10
10
|
import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["id"], zt = ["stop-color"], Mt = ["stop-color"], Vt = { key: 1 }, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Bt = ["d", "stroke", "stroke-width"], Dt = ["d", "stroke", "stroke-width"], Gt = { key: 2 }, Wt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Xt = ["points", "stroke", "stroke-width"], jt = ["points", "stroke", "stroke-width", "fill"], qt = { key: 3 }, Ht = ["cx", "cy", "fill", "r", "stroke"], Yt = {
|
|
12
12
|
key: 5,
|
|
@@ -32,7 +32,7 @@ const St = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend"],
|
|
34
34
|
setup(Ve, { expose: Ue, emit: Ee }) {
|
|
35
|
-
const Be = $(() => import("./DataTable-
|
|
35
|
+
const Be = $(() => import("./DataTable-CuFlXUxm.js")), De = $(() => import("./PenAndPaper-DgUkj01g.js")), Ge = $(() => import("./vue-ui-accordion-BI2rBS5z.js")), We = $(() => import("./vue-ui-skeleton-CO_Hk6A_.js")), Xe = $(() => import("./Tooltip-Df2iF7bv.js")), je = $(() => import("./UserOptions-NrArsCuC.js")), qe = $(() => import("./PackageVersion-1psmmuzo.js")), He = $(() => import("./vue-ui-sparkbar-BTf3c9Qn.js")), { vue_ui_radar: Ye } = dt(), h = Ve, V = p(() => !!h.dataset && Object.keys(h.dataset).length), _ = c(vt()), Qe = c(null), H = c(!1), Y = c(""), re = c(0), U = c(null), se = c(null), ne = c(null), ue = c(null), ie = c(null), ce = c(0), de = c(0), ve = c(0), e = p({
|
|
36
36
|
get: () => fe(),
|
|
37
37
|
set: (t) => t
|
|
38
38
|
}), { userOptionsVisible: Q, setUserOptionsVisibility: pe, keepUserOptionState: he } = xt({ config: e.value }), { svgRef: ge } = At({ config: e.value.style.chart.title });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as $, useSlots as q, onMounted as R, computed as x, watch as J, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as B, renderList as Q, renderSlot as j, mergeProps as O, withKeys as ee } from "vue";
|
|
2
|
-
import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, Z as I } from "./index-
|
|
3
|
-
import { u as ie } from "./useNestedProp-
|
|
2
|
+
import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, Z as I } from "./index-C137VZkI.js";
|
|
3
|
+
import { u as ie } from "./useNestedProp-ZNu8JrRX.js";
|
|
4
4
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
key: 0,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useCssVars as Je, computed as y, defineAsyncComponent as R, ref as o, watch as Ke, shallowRef as ke, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as n, openBlock as i, unref as a, normalizeStyle as L, createBlock as B, createCommentVNode as v, createSlots as et, withCtx as I, renderSlot as h, normalizeProps as E, guardReactiveProps as T, normalizeClass as
|
|
2
|
-
import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct, G as $e, i as
|
|
1
|
+
import { useCssVars as Je, computed as y, defineAsyncComponent as R, ref as o, watch as Ke, shallowRef as ke, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as n, openBlock as i, unref as a, normalizeStyle as L, createBlock as B, createCommentVNode as v, createSlots as et, withCtx as I, renderSlot as h, normalizeProps as E, guardReactiveProps as T, normalizeClass as H, createVNode as tt, createElementVNode as lt, Fragment as O, renderList as z, mergeProps as be, toDisplayString as N } from "vue";
|
|
2
|
+
import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct, G as $e, i as J, f as K, F as Q } from "./index-C137VZkI.js";
|
|
3
3
|
import { t as dt, u as vt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as _e } from "./useNestedProp-
|
|
5
|
-
import { u as ft } from "./usePrinter-
|
|
4
|
+
import { u as _e } from "./useNestedProp-ZNu8JrRX.js";
|
|
5
|
+
import { u as ft } from "./usePrinter-B63T3abI.js";
|
|
6
6
|
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import gt from "./Title-
|
|
8
|
+
import gt from "./Title-BoKeR6i0.js";
|
|
9
9
|
import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["cx", "cy", "r", "stroke", "stroke-width"], xt = { key: 1 }, $t = ["stroke", "d", "stroke-width"], _t = { style: { "pointer-events": "none" } }, Ct = ["cx", "cy", "fill", "r", "stroke"], Pt = ["x", "y", "fill", "font-size"], Lt = { key: 2 }, Ot = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], zt = { style: { "pointer-events": "none" } }, At = ["cx", "cy", "fill", "r", "stroke"], It = ["x", "y", "fill", "font-size"],
|
|
10
|
+
const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["cx", "cy", "r", "stroke", "stroke-width"], xt = { key: 1 }, $t = ["stroke", "d", "stroke-width"], _t = { style: { "pointer-events": "none" } }, Ct = ["cx", "cy", "fill", "r", "stroke"], Pt = ["x", "y", "fill", "font-size"], Lt = { key: 2 }, Ot = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], zt = { style: { "pointer-events": "none" } }, At = ["cx", "cy", "fill", "r", "stroke"], It = ["x", "y", "fill", "font-size"], St = ["text-anchor", "transform", "x", "y", "onClick", "font-weight", "font-size", "fill"], Mt = ["cx", "cy", "fill", "stroke", "onClick", "r"], Ft = {
|
|
11
11
|
key: 5,
|
|
12
12
|
class: "vue-data-ui-watermark"
|
|
13
13
|
}, Rt = {
|
|
@@ -28,15 +28,15 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
28
28
|
},
|
|
29
29
|
setup(Ce, { expose: Pe }) {
|
|
30
30
|
Je((e) => ({
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
31
|
+
"2316f3bd": Be.value,
|
|
32
|
+
"06f35f1c": Re.value,
|
|
33
|
+
"67a1ec04": Ee.value
|
|
34
34
|
}));
|
|
35
|
-
const Le = R(() => import("./PackageVersion-
|
|
36
|
-
get: () =>
|
|
35
|
+
const Le = R(() => import("./PackageVersion-1psmmuzo.js")), Oe = R(() => import("./PenAndPaper-DgUkj01g.js")), ze = R(() => import("./vue-ui-skeleton-CO_Hk6A_.js")), Ae = R(() => import("./UserOptions-NrArsCuC.js")), { vue_ui_relation_circle: Ie } = st(), k = Ce, j = y(() => !!k.dataset && Object.keys(k.dataset).length), A = o(it()), Z = o(0), S = o(null), ee = o(null), te = o(null), le = o(null), se = o(0), l = y({
|
|
36
|
+
get: () => re(),
|
|
37
37
|
set: (e) => e
|
|
38
|
-
}), { userOptionsVisible: U, setUserOptionsVisibility:
|
|
39
|
-
function
|
|
38
|
+
}), { userOptionsVisible: U, setUserOptionsVisibility: ie, keepUserOptionState: ae } = yt({ config: l.value }), { svgRef: ne } = ht({ config: l.value.style.title });
|
|
39
|
+
function re() {
|
|
40
40
|
const e = _e({
|
|
41
41
|
userConfig: k.config,
|
|
42
42
|
defaultConfig: Ie
|
|
@@ -50,13 +50,13 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
50
50
|
} : e;
|
|
51
51
|
}
|
|
52
52
|
Ke(() => k.config, (e) => {
|
|
53
|
-
l.value =
|
|
53
|
+
l.value = re(), U.value = !l.value.userOptions.showOnChartHover, fe(), se.value += 1;
|
|
54
54
|
}, { deep: !0 });
|
|
55
|
-
const { isPrinting:
|
|
55
|
+
const { isPrinting: ue, isImaging: oe, generatePdf: ce, generateImage: de } = ft({
|
|
56
56
|
elementId: `relation_circle_${A.value}`,
|
|
57
57
|
fileName: l.value.style.title.text || "vue-ui-relation-circle",
|
|
58
58
|
options: l.value.userOptions.print
|
|
59
|
-
}),
|
|
59
|
+
}), Se = y(() => l.value.userOptions.show && !l.value.style.title.text), ve = y(() => rt(l.value.customPalette)), x = o([]), m = o([]), c = o({}), p = o([]), Me = o(0), G = y(() => k.dataset.slice(0, l.value.style.limit)), _ = o(l.value.style.size), g = o(l.value.style.weightLabels.size), V = o(l.value.style.plot.radius), W = o(l.value.style.labels.fontSize), u = o({
|
|
60
60
|
height: l.value.style.size,
|
|
61
61
|
width: l.value.style.size
|
|
62
62
|
}), $ = y({
|
|
@@ -89,50 +89,50 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
89
89
|
}), l.value.responsive) {
|
|
90
90
|
const e = dt(() => {
|
|
91
91
|
const { width: s, height: t } = vt({
|
|
92
|
-
chart:
|
|
93
|
-
title: l.value.style.title.text ?
|
|
94
|
-
source:
|
|
95
|
-
noTitle:
|
|
92
|
+
chart: S.value,
|
|
93
|
+
title: l.value.style.title.text ? ee.value : null,
|
|
94
|
+
source: te.value,
|
|
95
|
+
noTitle: le.value
|
|
96
96
|
});
|
|
97
97
|
requestAnimationFrame(() => {
|
|
98
|
-
_.value = Math.min(s, t), u.value.width = s, u.value.height = t, $.value = _.value * l.value.style.circle.radiusProportion, x.value = [],
|
|
98
|
+
_.value = Math.min(s, t), u.value.width = s, u.value.height = t, $.value = _.value * l.value.style.circle.radiusProportion, x.value = [], m.value = [], he(), ge(), l.value.responsiveProportionalSizing ? (g.value = Q({
|
|
99
99
|
relator: _.value,
|
|
100
100
|
adjuster: l.value.style.size,
|
|
101
101
|
source: l.value.style.weightLabels.size,
|
|
102
102
|
threshold: 6,
|
|
103
103
|
fallback: 6
|
|
104
|
-
}),
|
|
104
|
+
}), V.value = Q({
|
|
105
105
|
relator: _.value,
|
|
106
106
|
adjuster: l.value.style.size,
|
|
107
107
|
source: l.value.style.plot.radius,
|
|
108
108
|
threshold: 1,
|
|
109
109
|
fallback: 1
|
|
110
|
-
}),
|
|
110
|
+
}), W.value = Q({
|
|
111
111
|
relator: _.value,
|
|
112
112
|
adjuster: l.value.style.size,
|
|
113
113
|
source: l.value.style.labels.fontSize,
|
|
114
114
|
threshold: 6,
|
|
115
115
|
fallback: 6
|
|
116
|
-
}));
|
|
116
|
+
})) : (g.value = l.value.style.weightLabels.size, V.value = l.value.style.plot.radius, W.value = l.value.style.labels.fontSize);
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
|
-
b.value && (C.value && b.value.unobserve(C.value), b.value.disconnect()), b.value = new ResizeObserver(e), C.value =
|
|
119
|
+
b.value && (C.value && b.value.unobserve(C.value), b.value.disconnect()), b.value = new ResizeObserver(e), C.value = S.value.parentNode, b.value.observe(C.value);
|
|
120
120
|
} else
|
|
121
|
-
x.value = [],
|
|
121
|
+
x.value = [], m.value = [], he(), ge();
|
|
122
122
|
}
|
|
123
123
|
Ze(() => {
|
|
124
124
|
document.getElementById(`relation_circle_${A.value}`).removeEventListener("click", ye), b.value && (C.value && b.value.unobserve(C.value), b.value.disconnect());
|
|
125
125
|
});
|
|
126
126
|
function ye(e) {
|
|
127
127
|
const s = e.target;
|
|
128
|
-
s && Array.from(s.classList).includes("vue-ui-user-options") || s && Array.from(s.classList).includes("vue-ui-user-options-summary") || s && Array.from(s.classList).includes("vue-data-ui-button") || s && Array.from(s.classList).includes("vue-ui-relation-circle-legend") || (c.value = {},
|
|
128
|
+
s && Array.from(s.classList).includes("vue-ui-user-options") || s && Array.from(s.classList).includes("vue-ui-user-options-summary") || s && Array.from(s.classList).includes("vue-data-ui-button") || s && Array.from(s.classList).includes("vue-ui-relation-circle-legend") || (c.value = {}, p.value = []);
|
|
129
129
|
}
|
|
130
130
|
function he() {
|
|
131
131
|
const e = 6.28319 / G.value.length, s = 360 / G.value.length;
|
|
132
132
|
let t = 0, r = 0;
|
|
133
133
|
G.value.forEach((f, d) => {
|
|
134
|
-
const
|
|
135
|
-
x.value.push({ x:
|
|
134
|
+
const Y = f.weights.reduce((qe, He) => qe + He, 0), q = $.value * Math.cos(t) + u.value.width / 2, Ye = $.value * Math.sin(t) + u.value.height / 2 + l.value.style.circle.offsetY;
|
|
135
|
+
x.value.push({ x: q, y: Ye, ...f, color: f.color ? f.color : ve.value[d] ? ve.value[d] : we[d], regAngle: r, totalWeight: Y }), t += e, r += s;
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
function Te(e, s) {
|
|
@@ -140,10 +140,10 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
140
140
|
return { x: t, y: r };
|
|
141
141
|
}
|
|
142
142
|
function ge() {
|
|
143
|
-
|
|
143
|
+
m.value = [], x.value.forEach((e) => {
|
|
144
144
|
x.value.filter((t) => t.relations.includes(e.id)).forEach((t, r) => {
|
|
145
145
|
const f = t.relations.indexOf(e.id);
|
|
146
|
-
|
|
146
|
+
m.value.push({
|
|
147
147
|
weight: t.weights[f] ? t.weights[f] : 0,
|
|
148
148
|
relationId: `${e.id}_${t.id}`,
|
|
149
149
|
x1: e.x,
|
|
@@ -168,21 +168,21 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
168
168
|
const s = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, r = { x: e.x1, y: e.y1 }, f = {
|
|
169
169
|
x: u.value.width / 2,
|
|
170
170
|
y: u.value.height / 2 + l.value.style.circle.offsetY
|
|
171
|
-
}, d = 0.5,
|
|
172
|
-
return { x:
|
|
171
|
+
}, d = 0.5, Y = Math.pow(1 - d, 3) * s.x + 3 * Math.pow(1 - d, 2) * d * r.x + 3 * (1 - d) * Math.pow(d, 2) * f.x + Math.pow(d, 3) * t.x, q = Math.pow(1 - d, 3) * s.y + 3 * Math.pow(1 - d, 2) * d * r.y + 3 * (1 - d) * Math.pow(d, 2) * f.y + Math.pow(d, 3) * t.y;
|
|
172
|
+
return { x: Y, y: q };
|
|
173
173
|
}
|
|
174
|
-
const je = y(() => Math.max(...
|
|
174
|
+
const je = y(() => Math.max(...m.value.map((e) => e.weight)));
|
|
175
175
|
function Ue(e) {
|
|
176
|
-
return Object.hasOwn(c.value, "x") ?
|
|
176
|
+
return Object.hasOwn(c.value, "x") ? p.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
|
|
177
177
|
}
|
|
178
178
|
function w(e) {
|
|
179
179
|
return e.colorSource;
|
|
180
180
|
}
|
|
181
181
|
function me(e) {
|
|
182
|
-
return Object.hasOwn(c.value, "x") ?
|
|
182
|
+
return Object.hasOwn(c.value, "x") ? p.value.includes(e.id) && e.relationId === `${e.id}_${c.value.id}` || e.relationId === `${c.value.id}_${e.id}` ? `opacity:1;stroke-width:${D(e)}` : "opacity: 0" : "opacity: 1";
|
|
183
183
|
}
|
|
184
184
|
function P(e) {
|
|
185
|
-
return Object.hasOwn(c.value, "x") ? !!(
|
|
185
|
+
return Object.hasOwn(c.value, "x") ? !!(p.value.includes(e.id) && e.relationId === `${e.id}_${c.value.id}` || e.relationId === `${c.value.id}_${e.id}`) : !1;
|
|
186
186
|
}
|
|
187
187
|
function Ge(e) {
|
|
188
188
|
return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
|
|
@@ -191,62 +191,62 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
191
191
|
return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
|
|
192
192
|
}
|
|
193
193
|
function We(e) {
|
|
194
|
-
return Object.hasOwn(c.value, "x") ? c.value.id === e.id ||
|
|
194
|
+
return Object.hasOwn(c.value, "x") ? c.value.id === e.id || p.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
|
|
195
195
|
}
|
|
196
196
|
function De(e) {
|
|
197
197
|
return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
|
|
198
198
|
}
|
|
199
199
|
function pe(e) {
|
|
200
|
-
|
|
200
|
+
Me.value = 360 - e.regAngle, c.value.id && e.id === c.value.id ? (c.value = {}, p.value = []) : (c.value = e, p.value = [...e.relations]);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function D(e) {
|
|
203
203
|
const s = e.weight / je.value * l.value.style.links.maxWidth;
|
|
204
204
|
return Math.max(0.3, s);
|
|
205
205
|
}
|
|
206
|
-
const
|
|
206
|
+
const M = o(!1);
|
|
207
207
|
function Xe(e) {
|
|
208
|
-
|
|
208
|
+
M.value = e, Z.value += 1;
|
|
209
209
|
}
|
|
210
210
|
const F = o(!1);
|
|
211
|
-
function
|
|
211
|
+
function X() {
|
|
212
212
|
F.value = !F.value;
|
|
213
213
|
}
|
|
214
214
|
return Pe({
|
|
215
|
-
generatePdf:
|
|
216
|
-
generateImage:
|
|
217
|
-
toggleAnnotator:
|
|
215
|
+
generatePdf: ce,
|
|
216
|
+
generateImage: de,
|
|
217
|
+
toggleAnnotator: X
|
|
218
218
|
}), (e, s) => (i(), n("div", {
|
|
219
219
|
ref_key: "relationCircleChart",
|
|
220
|
-
ref:
|
|
220
|
+
ref: S,
|
|
221
221
|
class: "vue-ui-relation-circle",
|
|
222
222
|
style: L(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
|
|
223
223
|
id: `relation_circle_${A.value}`,
|
|
224
|
-
onMouseenter: s[0] || (s[0] = () => a(
|
|
225
|
-
onMouseleave: s[1] || (s[1] = () => a(
|
|
224
|
+
onMouseenter: s[0] || (s[0] = () => a(ie)(!0)),
|
|
225
|
+
onMouseleave: s[1] || (s[1] = () => a(ie)(!1))
|
|
226
226
|
}, [
|
|
227
227
|
l.value.userOptions.buttons.annotator ? (i(), B(a(Oe), {
|
|
228
228
|
key: 0,
|
|
229
|
-
svgRef: a(
|
|
229
|
+
svgRef: a(ne),
|
|
230
230
|
backgroundColor: l.value.style.backgroundColor,
|
|
231
231
|
color: l.value.style.color,
|
|
232
232
|
active: F.value,
|
|
233
|
-
onClose:
|
|
233
|
+
onClose: X
|
|
234
234
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
|
|
235
|
-
|
|
235
|
+
Se.value ? (i(), n("div", {
|
|
236
236
|
key: 1,
|
|
237
237
|
ref_key: "noTitle",
|
|
238
|
-
ref:
|
|
238
|
+
ref: le,
|
|
239
239
|
class: "vue-data-ui-no-title-space",
|
|
240
240
|
style: "height:36px; width: 100%;background:transparent"
|
|
241
241
|
}, null, 512)) : v("", !0),
|
|
242
242
|
l.value.style.title.text ? (i(), n("div", {
|
|
243
243
|
key: 2,
|
|
244
244
|
ref_key: "chartTitle",
|
|
245
|
-
ref:
|
|
245
|
+
ref: ee,
|
|
246
246
|
style: "width:100%;background:transparent"
|
|
247
247
|
}, [
|
|
248
248
|
(i(), B(gt, {
|
|
249
|
-
key: `title_${
|
|
249
|
+
key: `title_${se.value}`,
|
|
250
250
|
config: {
|
|
251
251
|
title: {
|
|
252
252
|
cy: "relation-div-title",
|
|
@@ -259,31 +259,31 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
259
259
|
}
|
|
260
260
|
}, null, 8, ["config"]))
|
|
261
261
|
], 512)) : v("", !0),
|
|
262
|
-
l.value.userOptions.show && j.value && (a(
|
|
262
|
+
l.value.userOptions.show && j.value && (a(ae) || a(U)) ? (i(), B(a(Ae), {
|
|
263
263
|
ref: "details",
|
|
264
|
-
key: `user_options_${
|
|
264
|
+
key: `user_options_${Z.value}`,
|
|
265
265
|
backgroundColor: l.value.style.backgroundColor,
|
|
266
266
|
color: l.value.style.color,
|
|
267
|
-
isPrinting: a(
|
|
268
|
-
isImaging: a(
|
|
267
|
+
isPrinting: a(ue),
|
|
268
|
+
isImaging: a(oe),
|
|
269
269
|
uid: A.value,
|
|
270
270
|
hasPdf: l.value.userOptions.buttons.pdf,
|
|
271
271
|
hasImg: l.value.userOptions.buttons.img,
|
|
272
272
|
hasFullscreen: l.value.userOptions.buttons.img,
|
|
273
273
|
hasXls: !1,
|
|
274
|
-
isFullscreen:
|
|
274
|
+
isFullscreen: M.value,
|
|
275
275
|
titles: { ...l.value.userOptions.buttonTitles },
|
|
276
|
-
chartElement:
|
|
276
|
+
chartElement: S.value,
|
|
277
277
|
position: l.value.userOptions.position,
|
|
278
278
|
hasAnnotator: l.value.userOptions.buttons.annotator,
|
|
279
279
|
isAnnotation: F.value,
|
|
280
280
|
callbacks: l.value.userOptions.callbacks,
|
|
281
281
|
onToggleFullscreen: Xe,
|
|
282
|
-
onGeneratePdf: a(
|
|
283
|
-
onGenerateImage: a(
|
|
284
|
-
onToggleAnnotator:
|
|
282
|
+
onGeneratePdf: a(ce),
|
|
283
|
+
onGenerateImage: a(de),
|
|
284
|
+
onToggleAnnotator: X,
|
|
285
285
|
style: L({
|
|
286
|
-
visibility: a(
|
|
286
|
+
visibility: a(ae) ? a(U) ? "visible" : "hidden" : "visible"
|
|
287
287
|
})
|
|
288
288
|
}, et({ _: 2 }, [
|
|
289
289
|
e.$slots.menuIcon ? {
|
|
@@ -325,9 +325,9 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
325
325
|
j.value ? (i(), n("svg", {
|
|
326
326
|
key: 4,
|
|
327
327
|
ref_key: "svgRef",
|
|
328
|
-
ref:
|
|
328
|
+
ref: ne,
|
|
329
329
|
xmlns: a(ct),
|
|
330
|
-
class:
|
|
330
|
+
class: H([{ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }, "relation-circle"]),
|
|
331
331
|
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
332
332
|
width: "100%",
|
|
333
333
|
style: "user-select:none; background:transparent"
|
|
@@ -355,17 +355,17 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
355
355
|
class: "main-circle"
|
|
356
356
|
}, null, 8, wt),
|
|
357
357
|
Fe.value ? (i(), n("g", xt, [
|
|
358
|
-
(i(!0), n(O, null, z(
|
|
358
|
+
(i(!0), n(O, null, z(m.value, (t, r) => (i(), n("path", {
|
|
359
359
|
key: `relation_${r}`,
|
|
360
360
|
style: L(me(t)),
|
|
361
361
|
stroke: w(t),
|
|
362
|
-
class:
|
|
362
|
+
class: H(["relation", { "vue-ui-relation-circle-selected": c.value.hasOwnProperty("id") && p.value.includes(t.id) }]),
|
|
363
363
|
d: `M${t.x1},${t.y1} C${t.x1},${t.y1} ${u.value.width / 2},${u.value.height / 2 + l.value.style.circle.offsetY} ${t.x2},${t.y2}`,
|
|
364
364
|
fill: "none",
|
|
365
|
-
"stroke-width":
|
|
365
|
+
"stroke-width": D(t),
|
|
366
366
|
"stroke-linecap": "round"
|
|
367
367
|
}, null, 14, $t))), 128)),
|
|
368
|
-
(i(!0), n(O, null, z(
|
|
368
|
+
(i(!0), n(O, null, z(m.value, (t, r) => (i(), n("g", _t, [
|
|
369
369
|
P(t) ? h(e.$slots, "dataLabel", be({
|
|
370
370
|
key: 0,
|
|
371
371
|
ref_for: !0
|
|
@@ -374,28 +374,28 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
374
374
|
y: t.midPointBezier.y,
|
|
375
375
|
color: w(t),
|
|
376
376
|
weight: t.weight,
|
|
377
|
-
fontSize:
|
|
377
|
+
fontSize: g.value
|
|
378
378
|
}), void 0, !0) : v("", !0),
|
|
379
379
|
P(t) && !e.$slots.dataLabel ? (i(), n("circle", {
|
|
380
380
|
key: 1,
|
|
381
381
|
cx: t.midPointBezier.x,
|
|
382
382
|
cy: t.midPointBezier.y,
|
|
383
383
|
fill: w(t),
|
|
384
|
-
r:
|
|
384
|
+
r: g.value,
|
|
385
385
|
stroke: l.value.style.backgroundColor,
|
|
386
386
|
"stroke-width": "1"
|
|
387
387
|
}, null, 8, Ct)) : v("", !0),
|
|
388
388
|
P(t) && !e.$slots.dataLabel ? (i(), n("text", {
|
|
389
389
|
key: 2,
|
|
390
390
|
x: t.midPointBezier.x,
|
|
391
|
-
y: t.midPointBezier.y +
|
|
391
|
+
y: t.midPointBezier.y + g.value / 3,
|
|
392
392
|
fill: a($e)(w(t)),
|
|
393
393
|
"text-anchor": "middle",
|
|
394
|
-
"font-size":
|
|
395
|
-
}, N(a(
|
|
394
|
+
"font-size": g.value
|
|
395
|
+
}, N(a(J)(
|
|
396
396
|
l.value.style.weightLabels.formatter,
|
|
397
397
|
t.weight,
|
|
398
|
-
a(
|
|
398
|
+
a(K)({
|
|
399
399
|
p: l.value.style.weightLabels.prefix,
|
|
400
400
|
v: t.weight,
|
|
401
401
|
s: l.value.style.weightLabels.suffix,
|
|
@@ -405,19 +405,19 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
405
405
|
)), 9, Pt)) : v("", !0)
|
|
406
406
|
]))), 256))
|
|
407
407
|
])) : (i(), n("g", Lt, [
|
|
408
|
-
(i(!0), n(O, null, z(
|
|
408
|
+
(i(!0), n(O, null, z(m.value, (t, r) => (i(), n("line", {
|
|
409
409
|
key: `relation_${r}`,
|
|
410
410
|
stroke: w(t),
|
|
411
|
-
"stroke-width":
|
|
411
|
+
"stroke-width": D(t),
|
|
412
412
|
style: L(me(t)),
|
|
413
413
|
x1: t.x1,
|
|
414
414
|
x2: t.x2,
|
|
415
415
|
y1: t.y1,
|
|
416
416
|
y2: t.y2,
|
|
417
|
-
class:
|
|
417
|
+
class: H({ "vue-ui-relation-circle-selected": c.value.hasOwnProperty("id") && p.value.includes(t.id) }),
|
|
418
418
|
"stroke-linecap": "round"
|
|
419
419
|
}, null, 14, Ot))), 128)),
|
|
420
|
-
(i(!0), n(O, null, z(
|
|
420
|
+
(i(!0), n(O, null, z(m.value, (t, r) => (i(), n("g", zt, [
|
|
421
421
|
P(t) ? h(e.$slots, "dataLabel", be({
|
|
422
422
|
key: 0,
|
|
423
423
|
ref_for: !0
|
|
@@ -426,28 +426,28 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
426
426
|
y: t.midPointLine.y,
|
|
427
427
|
color: w(t),
|
|
428
428
|
weight: t.weight,
|
|
429
|
-
fontSize:
|
|
429
|
+
fontSize: g.value
|
|
430
430
|
}), void 0, !0) : v("", !0),
|
|
431
431
|
P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), n("circle", {
|
|
432
432
|
key: 1,
|
|
433
433
|
cx: t.midPointLine.x,
|
|
434
434
|
cy: t.midPointLine.y,
|
|
435
435
|
fill: w(t),
|
|
436
|
-
r:
|
|
436
|
+
r: g.value,
|
|
437
437
|
stroke: l.value.style.backgroundColor,
|
|
438
438
|
"stroke-width": "1"
|
|
439
439
|
}, null, 8, At)) : v("", !0),
|
|
440
440
|
P(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (i(), n("text", {
|
|
441
441
|
key: 2,
|
|
442
442
|
x: t.midPointLine.x,
|
|
443
|
-
y: t.midPointLine.y +
|
|
443
|
+
y: t.midPointLine.y + g.value / 3,
|
|
444
444
|
fill: a($e)(w(t)),
|
|
445
445
|
"text-anchor": "middle",
|
|
446
|
-
"font-size":
|
|
447
|
-
}, N(a(
|
|
446
|
+
"font-size": g.value
|
|
447
|
+
}, N(a(J)(
|
|
448
448
|
l.value.style.weightLabels.formatter,
|
|
449
449
|
t.weight,
|
|
450
|
-
a(
|
|
450
|
+
a(K)({
|
|
451
451
|
p: l.value.style.weightLabels.prefix,
|
|
452
452
|
v: t.weight,
|
|
453
453
|
s: l.value.style.weightLabels.suffix,
|
|
@@ -468,19 +468,19 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
468
468
|
"transform-origin": "start",
|
|
469
469
|
"font-weight": c.value.id === t.id ? "900" : "400",
|
|
470
470
|
style: L(`font-family:${l.value.style.fontFamily};${We(t)}`),
|
|
471
|
-
"font-size":
|
|
471
|
+
"font-size": W.value,
|
|
472
472
|
fill: l.value.style.labels.color
|
|
473
|
-
}, N(t.label) + " (" + N(a(
|
|
473
|
+
}, N(t.label) + " (" + N(a(J)(
|
|
474
474
|
l.value.style.weightLabels.formatter,
|
|
475
475
|
t.totalWeight,
|
|
476
|
-
a(
|
|
476
|
+
a(K)({
|
|
477
477
|
p: l.value.style.weightLabels.prefix,
|
|
478
478
|
v: t.totalWeight,
|
|
479
479
|
s: l.value.style.weightLabels.suffix,
|
|
480
480
|
r: l.value.style.weightLabels.rounding
|
|
481
481
|
}),
|
|
482
482
|
{ ...t }
|
|
483
|
-
)) + ") ", 13,
|
|
483
|
+
)) + ") ", 13, St))), 128)),
|
|
484
484
|
(i(!0), n(O, null, z(x.value, (t, r) => (i(), n("circle", {
|
|
485
485
|
cx: t.x,
|
|
486
486
|
cy: t.y,
|
|
@@ -491,17 +491,17 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
491
491
|
stroke: l.value.style.backgroundColor,
|
|
492
492
|
"stroke-width": "1",
|
|
493
493
|
onClick: (f) => pe(t),
|
|
494
|
-
r:
|
|
495
|
-
}, null, 12,
|
|
494
|
+
r: V.value
|
|
495
|
+
}, null, 12, Mt))), 128)),
|
|
496
496
|
h(e.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
497
497
|
], 10, kt)) : v("", !0),
|
|
498
498
|
e.$slots.watermark ? (i(), n("div", Ft, [
|
|
499
|
-
h(e.$slots, "watermark", E(T({ isPrinting: a(
|
|
499
|
+
h(e.$slots, "watermark", E(T({ isPrinting: a(ue) || a(oe) })), void 0, !0)
|
|
500
500
|
])) : v("", !0),
|
|
501
501
|
e.$slots.source ? (i(), n("div", {
|
|
502
502
|
key: 6,
|
|
503
503
|
ref_key: "source",
|
|
504
|
-
ref:
|
|
504
|
+
ref: te,
|
|
505
505
|
dir: "auto"
|
|
506
506
|
}, [
|
|
507
507
|
h(e.$slots, "source", {}, void 0, !0)
|
|
@@ -520,7 +520,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
520
520
|
}, null, 8, ["config"]))
|
|
521
521
|
], 44, pt));
|
|
522
522
|
}
|
|
523
|
-
}, Dt = /* @__PURE__ */ mt(Rt, [["__scopeId", "data-v-
|
|
523
|
+
}, Dt = /* @__PURE__ */ mt(Rt, [["__scopeId", "data-v-ffc439e1"]]);
|
|
524
524
|
export {
|
|
525
525
|
Dt as default
|
|
526
526
|
};
|