vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.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-bump.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 +1 -1
- 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-geo.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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,38 +1,42 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { _ as
|
|
15
|
-
const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { color: "#CCCCCC" }, circle: { stroke: "#5A5A5A" }, plot: { color: "#1A1A1A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } },
|
|
1
|
+
import { useCssVars as At, computed as y, defineAsyncComponent as Z, ref as u, toRefs as xt, watch as ee, shallowRef as ze, onMounted as $t, onBeforeUnmount as _t, createElementBlock as n, openBlock as a, unref as i, normalizeStyle as I, createBlock as U, createCommentVNode as g, withCtx as h, renderSlot as v, normalizeProps as C, guardReactiveProps as w, createSlots as Lt, normalizeClass as te, createVNode as Pt, createElementVNode as zt, Fragment as _, renderList as M, mergeProps as Oe, toDisplayString as V, createTextVNode as Se } from "vue";
|
|
2
|
+
import { c as Ot, t as St, i as It, j as Ie, k as Mt, o as Me, g as Be, l as Bt, X as Et, x as Ee, a as le, d as oe, a2 as se } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as Ft, u as Tt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Dt, a as ae } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as Rt, B as jt } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as Nt } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as Ut } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as Vt } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as Wt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import { u as Xt } from "./useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js";
|
|
12
|
+
import Yt from "./img-6fNF_rG0.js";
|
|
13
|
+
import qt from "./Title-NgeRXqRA.js";
|
|
14
|
+
import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Fe = { userOptions: { show: !1 } }, Te = { userOptions: { show: !1 }, style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { color: "#CCCCCC" }, circle: { stroke: "#5A5A5A" }, plot: { color: "#1A1A1A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, De = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { color: "#CCCCCC" }, circle: { stroke: "#5A5A5A" }, plot: { color: "#1A1A1A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, Re = { style: { backgroundColor: "#FFF8E1", color: "#424242", labels: { color: "#424242" }, circle: { stroke: "#5D403780" }, plot: { color: "#5D4037" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, je = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", labels: { color: "#BDBDBD" }, circle: { stroke: "#5D403780" }, plot: { color: "#5D4037" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, Ne = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", labels: { color: "#AACCAA" }, circle: { stroke: "#333333" }, plot: { color: "#66CC66" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, Ue = { style: { backgroundColor: "#fbfafa", color: "#8A9892", labels: { color: "#A0AC94" }, circle: { stroke: "transparent" }, plot: { color: "#C09E85" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, Ve = { style: { backgroundColor: "#f6f6fb", color: "#50606C", labels: { color: "#61747E" }, circle: { stroke: "#D2D7E0" }, plot: { color: "#97ACB7" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, Ge = {
|
|
16
16
|
default: {},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
minimal: Fe,
|
|
18
|
+
minimalDark: Te,
|
|
19
|
+
dark: De,
|
|
20
|
+
celebration: Re,
|
|
21
|
+
celebrationNight: je,
|
|
22
|
+
hack: Ne,
|
|
23
|
+
zen: Ue,
|
|
24
|
+
concrete: Ve
|
|
25
|
+
}, zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
26
|
__proto__: null,
|
|
25
|
-
celebration:
|
|
26
|
-
celebrationNight:
|
|
27
|
-
concrete:
|
|
28
|
-
dark:
|
|
29
|
-
default:
|
|
30
|
-
hack:
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
celebration: Re,
|
|
28
|
+
celebrationNight: je,
|
|
29
|
+
concrete: Ve,
|
|
30
|
+
dark: De,
|
|
31
|
+
default: Ge,
|
|
32
|
+
hack: Ne,
|
|
33
|
+
minimal: Fe,
|
|
34
|
+
minimalDark: Te,
|
|
35
|
+
zen: Ue
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "height"], Zt = ["cx", "cy", "r", "stroke", "stroke-width"], el = { key: 1 }, tl = ["stroke", "d", "stroke-width"], ll = { style: { "pointer-events": "none" } }, ol = ["cx", "cy", "fill", "r", "stroke"], sl = ["x", "y", "fill", "font-size"], al = { key: 2 }, nl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], il = { style: { "pointer-events": "none" } }, rl = ["cx", "cy", "fill", "r", "stroke"], ul = ["x", "y", "fill", "font-size"], cl = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], dl = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], vl = {
|
|
33
37
|
key: 4,
|
|
34
38
|
class: "vue-data-ui-watermark"
|
|
35
|
-
},
|
|
39
|
+
}, fl = {
|
|
36
40
|
__name: "vue-ui-relation-circle",
|
|
37
41
|
props: {
|
|
38
42
|
dataset: {
|
|
@@ -48,14 +52,14 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
},
|
|
51
|
-
setup(
|
|
52
|
-
|
|
53
|
-
v0ccf0e06:
|
|
54
|
-
v0ab0445c:
|
|
55
|
-
v08643f3e:
|
|
55
|
+
setup(We, { expose: Xe }) {
|
|
56
|
+
At((e) => ({
|
|
57
|
+
v0ccf0e06: at.value,
|
|
58
|
+
v0ab0445c: st.value,
|
|
59
|
+
v08643f3e: nt.value
|
|
56
60
|
}));
|
|
57
|
-
const
|
|
58
|
-
...
|
|
61
|
+
const Ye = Z(() => import("./PenAndPaper-LTuSTmWE.js")), qe = Z(() => import("./UserOptions-CX7Xsusk.js")), He = Z(() => import("./PackageVersion-CQxJyGQr.js")), { vue_ui_relation_circle: Je } = Dt(), { isThemeValid: Ke, warnInvalidTheme: Qe } = Vt(), m = We, Ze = y(() => !!m.dataset && Object.keys(m.dataset).length), B = u(Ot()), ne = u(0), L = u(null), ie = u(null), re = u(null), ue = u(null), ce = u(0), l = u(X()), { loading: de, FINAL_DATASET: et, manualLoading: G } = Rt({
|
|
62
|
+
...xt(m),
|
|
59
63
|
FINAL_CONFIG: l,
|
|
60
64
|
prepareConfig: X,
|
|
61
65
|
skeletonDataset: [
|
|
@@ -67,7 +71,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
67
71
|
{ id: "F", label: "_", relations: ["A"] },
|
|
68
72
|
{ id: "G", label: "_", relations: ["A"] }
|
|
69
73
|
],
|
|
70
|
-
skeletonConfig:
|
|
74
|
+
skeletonConfig: St({
|
|
71
75
|
defaultConfig: l.value,
|
|
72
76
|
userConfig: {
|
|
73
77
|
userOptions: { show: !1 },
|
|
@@ -81,25 +85,25 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
81
85
|
}
|
|
82
86
|
}
|
|
83
87
|
})
|
|
84
|
-
}), { userOptionsVisible: W, setUserOptionsVisibility: ve, keepUserOptionState: fe } =
|
|
88
|
+
}), { userOptionsVisible: W, setUserOptionsVisibility: ve, keepUserOptionState: fe } = Gt({ config: l.value }), { svgRef: F } = Wt({ config: l.value.style.title });
|
|
85
89
|
function X() {
|
|
86
90
|
const e = ae({
|
|
87
91
|
userConfig: m.config,
|
|
88
|
-
defaultConfig:
|
|
89
|
-
}),
|
|
90
|
-
if (!
|
|
91
|
-
if (!
|
|
92
|
-
return
|
|
92
|
+
defaultConfig: Je
|
|
93
|
+
}), o = e.theme;
|
|
94
|
+
if (!o) return e;
|
|
95
|
+
if (!Ke.value(e))
|
|
96
|
+
return Qe(e), e;
|
|
93
97
|
const t = ae({
|
|
94
|
-
userConfig:
|
|
98
|
+
userConfig: Ge[o] || m.config,
|
|
95
99
|
defaultConfig: e
|
|
96
|
-
}),
|
|
100
|
+
}), s = ae({
|
|
97
101
|
userConfig: m.config,
|
|
98
102
|
defaultConfig: t
|
|
99
103
|
});
|
|
100
104
|
return {
|
|
101
|
-
...
|
|
102
|
-
customPalette:
|
|
105
|
+
...s,
|
|
106
|
+
customPalette: s.customPalette.length ? s.customPalette : It[o] || Ie
|
|
103
107
|
};
|
|
104
108
|
}
|
|
105
109
|
ee(() => m.config, (e) => {
|
|
@@ -107,16 +111,16 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
107
111
|
}, { deep: !0 }), ee(() => m.dataset, (e) => {
|
|
108
112
|
Array.isArray(e) && e.length > 0 && (G.value = !1);
|
|
109
113
|
}, { deep: !0 });
|
|
110
|
-
const { isPrinting: ge, isImaging: ye, generatePdf: he, generateImage: me } =
|
|
114
|
+
const { isPrinting: ge, isImaging: ye, generatePdf: he, generateImage: me } = Nt({
|
|
111
115
|
elementId: `relation_circle_${B.value}`,
|
|
112
116
|
fileName: l.value.style.title.text || "vue-ui-relation-circle",
|
|
113
117
|
options: l.value.userOptions.print
|
|
114
|
-
}),
|
|
115
|
-
const
|
|
118
|
+
}), tt = y(() => l.value.userOptions.show && !l.value.style.title.text), be = y(() => Mt(l.value.customPalette)), A = u([]), p = u([]), f = u({}), k = u([]), lt = u(0), T = y(() => et.value.slice(0, l.value.style.limit).map((e) => {
|
|
119
|
+
const o = Array.isArray(e.relations) ? e.relations : [];
|
|
116
120
|
return {
|
|
117
121
|
...e,
|
|
118
|
-
weights: Array.isArray(e.weights) ? e.weights : new Array(
|
|
119
|
-
relations:
|
|
122
|
+
weights: Array.isArray(e.weights) ? e.weights : new Array(o.length).fill(1),
|
|
123
|
+
relations: o
|
|
120
124
|
};
|
|
121
125
|
}));
|
|
122
126
|
ee(T, () => {
|
|
@@ -132,9 +136,9 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
132
136
|
set(e) {
|
|
133
137
|
return e;
|
|
134
138
|
}
|
|
135
|
-
}),
|
|
136
|
-
|
|
137
|
-
ke(), document.getElementById(`relation_circle_${B.value}`).addEventListener("click",
|
|
139
|
+
}), ot = y(() => l.value.style.links.curved), st = y(() => `${l.value.style.animation.speedMs}ms`), at = y(() => z.value * 2), nt = y(() => z.value * 4), x = ze(null), O = ze(null);
|
|
140
|
+
$t(() => {
|
|
141
|
+
ke(), document.getElementById(`relation_circle_${B.value}`).addEventListener("click", we);
|
|
138
142
|
});
|
|
139
143
|
const pe = y(() => l.value.debug);
|
|
140
144
|
function ke() {
|
|
@@ -142,8 +146,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
142
146
|
componentName: "VueUiRelationCircle",
|
|
143
147
|
type: "dataset",
|
|
144
148
|
debug: pe.value
|
|
145
|
-
}), G.value = !0) : m.dataset.forEach((e,
|
|
146
|
-
|
|
149
|
+
}), G.value = !0) : m.dataset.forEach((e, o) => {
|
|
150
|
+
Bt({
|
|
147
151
|
datasetObject: e,
|
|
148
152
|
requiredAttributes: ["id", "label", "relations", "weights"]
|
|
149
153
|
}).forEach((t) => {
|
|
@@ -151,32 +155,32 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
151
155
|
componentName: "VueUiRelationCircle",
|
|
152
156
|
type: "datasetSerieAttribute",
|
|
153
157
|
property: t,
|
|
154
|
-
index:
|
|
158
|
+
index: o,
|
|
155
159
|
debug: pe.value
|
|
156
160
|
});
|
|
157
161
|
});
|
|
158
162
|
}), Me(m.dataset) || (G.value = l.value.loading), l.value.responsive) {
|
|
159
|
-
const e =
|
|
160
|
-
const { width:
|
|
163
|
+
const e = Ft(() => {
|
|
164
|
+
const { width: o, height: t } = Tt({
|
|
161
165
|
chart: L.value,
|
|
162
166
|
title: l.value.style.title.text ? ie.value : null,
|
|
163
167
|
source: re.value,
|
|
164
168
|
noTitle: ue.value
|
|
165
169
|
});
|
|
166
170
|
requestAnimationFrame(() => {
|
|
167
|
-
P.value = Math.min(
|
|
171
|
+
P.value = Math.min(o, t), r.value.width = Math.max(0.1, o), r.value.height = Math.max(0.1, t - 12), z.value = P.value * l.value.style.circle.radiusProportion, A.value = [], p.value = [], Y(), q(), Ce(), l.value.responsiveProportionalSizing ? (b.value = se({
|
|
168
172
|
relator: P.value,
|
|
169
173
|
adjuster: l.value.style.size,
|
|
170
174
|
source: l.value.style.weightLabels.size,
|
|
171
175
|
threshold: 6,
|
|
172
176
|
fallback: 6
|
|
173
|
-
}), D.value =
|
|
177
|
+
}), D.value = se({
|
|
174
178
|
relator: P.value,
|
|
175
179
|
adjuster: l.value.style.size,
|
|
176
180
|
source: l.value.style.plot.radius,
|
|
177
181
|
threshold: 1,
|
|
178
182
|
fallback: 1
|
|
179
|
-
}), E.value =
|
|
183
|
+
}), E.value = se({
|
|
180
184
|
relator: P.value,
|
|
181
185
|
adjuster: l.value.style.size,
|
|
182
186
|
source: l.value.style.labels.fontSize,
|
|
@@ -188,37 +192,37 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
188
192
|
x.value && (O.value && x.value.unobserve(O.value), x.value.disconnect()), x.value = new ResizeObserver(e), O.value = L.value.parentNode, x.value.observe(O.value);
|
|
189
193
|
} else
|
|
190
194
|
A.value = [], p.value = [], Y(), q();
|
|
191
|
-
|
|
195
|
+
Ce();
|
|
192
196
|
}
|
|
193
|
-
|
|
194
|
-
document.getElementById(`relation_circle_${B.value}`).removeEventListener("click",
|
|
197
|
+
_t(() => {
|
|
198
|
+
document.getElementById(`relation_circle_${B.value}`).removeEventListener("click", we), x.value && (O.value && x.value.unobserve(O.value), x.value.disconnect());
|
|
195
199
|
});
|
|
196
|
-
const { autoSizeLabels:
|
|
200
|
+
const { autoSizeLabels: Ce } = Xt({
|
|
197
201
|
svgRef: F,
|
|
198
202
|
fontSize: l.value.style.labels.fontSize,
|
|
199
203
|
minFontSize: l.value.style.labels.minFontSize,
|
|
200
204
|
sizeRef: E,
|
|
201
205
|
labelClass: ".vue-ui-relation-circle-legend"
|
|
202
206
|
});
|
|
203
|
-
function
|
|
204
|
-
const
|
|
205
|
-
|
|
207
|
+
function we(e) {
|
|
208
|
+
const o = e.target;
|
|
209
|
+
o && Array.from(o.classList).includes("vue-ui-user-options") || o && Array.from(o.classList).includes("vue-ui-user-options-summary") || o && Array.from(o.classList).includes("vue-data-ui-button") || o && Array.from(o.classList).includes("vue-ui-relation-circle-legend") || (f.value = {}, k.value = []);
|
|
206
210
|
}
|
|
207
211
|
function Y() {
|
|
208
|
-
const e = 6.28319 / T.value.length,
|
|
209
|
-
let t = 0,
|
|
212
|
+
const e = 6.28319 / T.value.length, o = 360 / T.value.length;
|
|
213
|
+
let t = 0, s = 0;
|
|
210
214
|
T.value.forEach((c, d) => {
|
|
211
|
-
const K = c.weights.reduce((
|
|
212
|
-
A.value.push({ x: Q, y:
|
|
215
|
+
const K = c.weights.reduce((Ct, wt) => Ct + wt, 0), Q = z.value * Math.cos(t) + r.value.width / 2, kt = z.value * Math.sin(t) + r.value.height / 2 + l.value.style.circle.offsetY;
|
|
216
|
+
A.value.push({ x: Q, y: kt, ...c, color: c.color ? c.color : be.value[d] ? be.value[d] : Ie[d], regAngle: s, totalWeight: K }), t += e, s += o;
|
|
213
217
|
});
|
|
214
218
|
}
|
|
215
|
-
function
|
|
216
|
-
const t = (e.x +
|
|
217
|
-
return { x: t, y:
|
|
219
|
+
function it(e, o) {
|
|
220
|
+
const t = (e.x + o.x) / 2, s = (e.y + o.y) / 2;
|
|
221
|
+
return { x: t, y: s };
|
|
218
222
|
}
|
|
219
223
|
function q() {
|
|
220
224
|
p.value = [], A.value.forEach((e) => {
|
|
221
|
-
A.value.filter((t) => t.relations.includes(e.id)).forEach((t,
|
|
225
|
+
A.value.filter((t) => t.relations.includes(e.id)).forEach((t, s) => {
|
|
222
226
|
const c = t.relations.indexOf(e.id);
|
|
223
227
|
p.value.push({
|
|
224
228
|
weight: t.weights[c] ? t.weights[c] : 0,
|
|
@@ -229,8 +233,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
229
233
|
y2: t.y,
|
|
230
234
|
colorSource: e.color,
|
|
231
235
|
colorTarget: t.color,
|
|
232
|
-
midPointLine:
|
|
233
|
-
midPointBezier:
|
|
236
|
+
midPointLine: it({ x: e.x, y: e.y }, { x: t.x, y: t.y }),
|
|
237
|
+
midPointBezier: rt({
|
|
234
238
|
x1: e.x,
|
|
235
239
|
x2: t.x,
|
|
236
240
|
y1: e.y,
|
|
@@ -241,15 +245,15 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
241
245
|
});
|
|
242
246
|
});
|
|
243
247
|
}
|
|
244
|
-
function
|
|
245
|
-
const
|
|
248
|
+
function rt(e) {
|
|
249
|
+
const o = { x: e.x1, y: e.y1 }, t = { x: e.x2, y: e.y2 }, s = { x: e.x1, y: e.y1 }, c = {
|
|
246
250
|
x: r.value.width / 2,
|
|
247
251
|
y: r.value.height / 2 + l.value.style.circle.offsetY
|
|
248
|
-
}, d = 0.5, K = Math.pow(1 - d, 3) *
|
|
252
|
+
}, d = 0.5, K = Math.pow(1 - d, 3) * o.x + 3 * Math.pow(1 - d, 2) * d * s.x + 3 * (1 - d) * Math.pow(d, 2) * c.x + Math.pow(d, 3) * t.x, Q = Math.pow(1 - d, 3) * o.y + 3 * Math.pow(1 - d, 2) * d * s.y + 3 * (1 - d) * Math.pow(d, 2) * c.y + Math.pow(d, 3) * t.y;
|
|
249
253
|
return { x: K, y: Q };
|
|
250
254
|
}
|
|
251
|
-
const
|
|
252
|
-
function
|
|
255
|
+
const ut = y(() => Math.max(...p.value.map((e) => e.weight)));
|
|
256
|
+
function ct(e) {
|
|
253
257
|
return Object.hasOwn(f.value, "x") ? k.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
|
|
254
258
|
}
|
|
255
259
|
function $(e) {
|
|
@@ -261,31 +265,31 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
261
265
|
function S(e) {
|
|
262
266
|
return Object.hasOwn(f.value, "x") ? !!(k.value.includes(e.id) && e.relationId === `${e.id}_${f.value.id}` || e.relationId === `${f.value.id}_${e.id}`) : !1;
|
|
263
267
|
}
|
|
264
|
-
function
|
|
268
|
+
function dt(e) {
|
|
265
269
|
return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
|
|
266
270
|
}
|
|
267
|
-
function
|
|
271
|
+
function vt(e) {
|
|
268
272
|
return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
|
|
269
273
|
}
|
|
270
|
-
function
|
|
274
|
+
function ft(e) {
|
|
271
275
|
return Object.hasOwn(f.value, "x") ? f.value.id === e.id || k.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
|
|
272
276
|
}
|
|
273
|
-
function
|
|
277
|
+
function gt(e) {
|
|
274
278
|
return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
|
|
275
279
|
}
|
|
276
280
|
const R = u(null);
|
|
277
|
-
function xe(e,
|
|
278
|
-
R.value =
|
|
281
|
+
function xe(e, o) {
|
|
282
|
+
R.value = o, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: o });
|
|
279
283
|
}
|
|
280
|
-
function $e(e,
|
|
281
|
-
R.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex:
|
|
284
|
+
function $e(e, o) {
|
|
285
|
+
R.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: o });
|
|
282
286
|
}
|
|
283
|
-
function _e(e,
|
|
284
|
-
l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex:
|
|
287
|
+
function _e(e, o) {
|
|
288
|
+
l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: o }), lt.value = 360 - e.regAngle, f.value.id && e.id === f.value.id ? (f.value = {}, k.value = []) : (f.value = e, k.value = [...e.relations]);
|
|
285
289
|
}
|
|
286
290
|
function H(e) {
|
|
287
|
-
const
|
|
288
|
-
return Math.max(0.3,
|
|
291
|
+
const o = e.weight / ut.value * l.value.style.links.maxWidth;
|
|
292
|
+
return Math.max(0.3, o);
|
|
289
293
|
}
|
|
290
294
|
const j = u(!1);
|
|
291
295
|
function Le(e) {
|
|
@@ -295,47 +299,47 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
295
299
|
function J() {
|
|
296
300
|
N.value = !N.value;
|
|
297
301
|
}
|
|
298
|
-
async function
|
|
302
|
+
async function yt({ scale: e = 2 } = {}) {
|
|
299
303
|
if (!L.value) return;
|
|
300
|
-
const { width:
|
|
304
|
+
const { width: o, height: t } = L.value.getBoundingClientRect(), s = o / t, { imageUri: c, base64: d } = await Yt({ domElement: L.value, base64: !0, img: !0, scale: e });
|
|
301
305
|
return {
|
|
302
306
|
imageUri: c,
|
|
303
307
|
base64: d,
|
|
304
308
|
title: l.value.style.title.text,
|
|
305
|
-
width:
|
|
309
|
+
width: o,
|
|
306
310
|
height: t,
|
|
307
|
-
aspectRatio:
|
|
311
|
+
aspectRatio: s
|
|
308
312
|
};
|
|
309
313
|
}
|
|
310
|
-
const
|
|
314
|
+
const ht = y(() => l.value.style.backgroundColor), mt = y(() => l.value.style.title), { exportSvg: bt, getSvg: pt } = Ut({
|
|
311
315
|
svg: F,
|
|
312
|
-
title:
|
|
313
|
-
backgroundColor:
|
|
316
|
+
title: mt,
|
|
317
|
+
backgroundColor: ht
|
|
314
318
|
});
|
|
315
319
|
async function Pe({ isCb: e }) {
|
|
316
320
|
if (e) {
|
|
317
|
-
const { blob:
|
|
318
|
-
l.value.userOptions.callbacks.svg({ blob:
|
|
321
|
+
const { blob: o, url: t, text: s, dataUrl: c } = await pt();
|
|
322
|
+
l.value.userOptions.callbacks.svg({ blob: o, url: t, text: s, dataUrl: c });
|
|
319
323
|
} else
|
|
320
|
-
|
|
324
|
+
bt();
|
|
321
325
|
}
|
|
322
|
-
return
|
|
323
|
-
getImage:
|
|
326
|
+
return Xe({
|
|
327
|
+
getImage: yt,
|
|
324
328
|
generatePdf: he,
|
|
325
329
|
generateSvg: Pe,
|
|
326
330
|
generateImage: me,
|
|
327
331
|
toggleAnnotator: J,
|
|
328
332
|
toggleFullscreen: Le
|
|
329
|
-
}), (e,
|
|
333
|
+
}), (e, o) => (a(), n("div", {
|
|
330
334
|
ref_key: "relationCircleChart",
|
|
331
335
|
ref: L,
|
|
332
336
|
class: "vue-data-ui-component vue-ui-relation-circle",
|
|
333
337
|
style: I(`width:100%;background:${l.value.style.backgroundColor};text-align:center;${l.value.responsive ? "height: 100%" : ""}`),
|
|
334
338
|
id: `relation_circle_${B.value}`,
|
|
335
|
-
onMouseenter:
|
|
336
|
-
onMouseleave:
|
|
339
|
+
onMouseenter: o[0] || (o[0] = () => i(ve)(!0)),
|
|
340
|
+
onMouseleave: o[1] || (o[1] = () => i(ve)(!1))
|
|
337
341
|
}, [
|
|
338
|
-
l.value.userOptions.buttons.annotator ? (a(), U(i(
|
|
342
|
+
l.value.userOptions.buttons.annotator ? (a(), U(i(Ye), {
|
|
339
343
|
key: 0,
|
|
340
344
|
svgRef: i(F),
|
|
341
345
|
backgroundColor: l.value.style.backgroundColor,
|
|
@@ -347,23 +351,23 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
347
351
|
v(e.$slots, "annotator-action-close", {}, void 0, !0)
|
|
348
352
|
]),
|
|
349
353
|
"annotator-action-color": h(({ color: t }) => [
|
|
350
|
-
v(e.$slots, "annotator-action-color", w(
|
|
354
|
+
v(e.$slots, "annotator-action-color", C(w({ color: t })), void 0, !0)
|
|
351
355
|
]),
|
|
352
356
|
"annotator-action-draw": h(({ mode: t }) => [
|
|
353
|
-
v(e.$slots, "annotator-action-draw", w(
|
|
357
|
+
v(e.$slots, "annotator-action-draw", C(w({ mode: t })), void 0, !0)
|
|
354
358
|
]),
|
|
355
359
|
"annotator-action-undo": h(({ disabled: t }) => [
|
|
356
|
-
v(e.$slots, "annotator-action-undo", w(
|
|
360
|
+
v(e.$slots, "annotator-action-undo", C(w({ disabled: t })), void 0, !0)
|
|
357
361
|
]),
|
|
358
362
|
"annotator-action-redo": h(({ disabled: t }) => [
|
|
359
|
-
v(e.$slots, "annotator-action-redo", w(
|
|
363
|
+
v(e.$slots, "annotator-action-redo", C(w({ disabled: t })), void 0, !0)
|
|
360
364
|
]),
|
|
361
365
|
"annotator-action-delete": h(({ disabled: t }) => [
|
|
362
|
-
v(e.$slots, "annotator-action-delete", w(
|
|
366
|
+
v(e.$slots, "annotator-action-delete", C(w({ disabled: t })), void 0, !0)
|
|
363
367
|
]),
|
|
364
368
|
_: 3
|
|
365
369
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
366
|
-
|
|
370
|
+
tt.value ? (a(), n("div", {
|
|
367
371
|
key: 1,
|
|
368
372
|
ref_key: "noTitle",
|
|
369
373
|
ref: ue,
|
|
@@ -376,7 +380,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
376
380
|
ref: ie,
|
|
377
381
|
style: "width:100%;background:transparent"
|
|
378
382
|
}, [
|
|
379
|
-
(a(), U(
|
|
383
|
+
(a(), U(qt, {
|
|
380
384
|
key: `title_${ce.value}`,
|
|
381
385
|
config: {
|
|
382
386
|
title: {
|
|
@@ -390,7 +394,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
390
394
|
}
|
|
391
395
|
}, null, 8, ["config"]))
|
|
392
396
|
], 512)) : g("", !0),
|
|
393
|
-
l.value.userOptions.show &&
|
|
397
|
+
l.value.userOptions.show && Ze.value && (i(fe) || i(W)) ? (a(), U(i(qe), {
|
|
394
398
|
ref: "details",
|
|
395
399
|
key: `user_options_${ne.value}`,
|
|
396
400
|
backgroundColor: l.value.style.backgroundColor,
|
|
@@ -419,11 +423,11 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
419
423
|
style: I({
|
|
420
424
|
visibility: i(fe) ? i(W) ? "visible" : "hidden" : "visible"
|
|
421
425
|
})
|
|
422
|
-
},
|
|
426
|
+
}, Lt({ _: 2 }, [
|
|
423
427
|
e.$slots.menuIcon ? {
|
|
424
428
|
name: "menuIcon",
|
|
425
|
-
fn: h(({ isOpen: t, color:
|
|
426
|
-
v(e.$slots, "menuIcon", w(
|
|
429
|
+
fn: h(({ isOpen: t, color: s }) => [
|
|
430
|
+
v(e.$slots, "menuIcon", C(w({ isOpen: t, color: s })), void 0, !0)
|
|
427
431
|
]),
|
|
428
432
|
key: "0"
|
|
429
433
|
} : void 0,
|
|
@@ -450,15 +454,15 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
450
454
|
} : void 0,
|
|
451
455
|
e.$slots.optionFullscreen ? {
|
|
452
456
|
name: "optionFullscreen",
|
|
453
|
-
fn: h(({ toggleFullscreen: t, isFullscreen:
|
|
454
|
-
v(e.$slots, "optionFullscreen", w(
|
|
457
|
+
fn: h(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
458
|
+
v(e.$slots, "optionFullscreen", C(w({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
455
459
|
]),
|
|
456
460
|
key: "4"
|
|
457
461
|
} : void 0,
|
|
458
462
|
e.$slots.optionAnnotator ? {
|
|
459
463
|
name: "optionAnnotator",
|
|
460
|
-
fn: h(({ toggleAnnotator: t, isAnnotator:
|
|
461
|
-
v(e.$slots, "optionAnnotator", w(
|
|
464
|
+
fn: h(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
465
|
+
v(e.$slots, "optionAnnotator", C(w({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
462
466
|
]),
|
|
463
467
|
key: "5"
|
|
464
468
|
} : void 0
|
|
@@ -466,13 +470,13 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
466
470
|
(a(), n("svg", {
|
|
467
471
|
ref_key: "svgRef",
|
|
468
472
|
ref: F,
|
|
469
|
-
xmlns: i(
|
|
473
|
+
xmlns: i(Et),
|
|
470
474
|
class: te([{ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }, "relation-circle"]),
|
|
471
475
|
viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
|
|
472
476
|
width: "100%",
|
|
473
477
|
style: "user-select:none; background:transparent"
|
|
474
478
|
}, [
|
|
475
|
-
|
|
479
|
+
Pt(i(He)),
|
|
476
480
|
e.$slots["chart-background"] ? (a(), n("foreignObject", {
|
|
477
481
|
key: 0,
|
|
478
482
|
x: 0,
|
|
@@ -484,8 +488,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
484
488
|
}
|
|
485
489
|
}, [
|
|
486
490
|
v(e.$slots, "chart-background", {}, void 0, !0)
|
|
487
|
-
], 8,
|
|
488
|
-
|
|
491
|
+
], 8, Qt)) : g("", !0),
|
|
492
|
+
zt("circle", {
|
|
489
493
|
cx: (r.value.width <= 0 ? 1e-4 : r.value.width) / 2,
|
|
490
494
|
cy: (r.value.height <= 0 ? 1e-4 : r.value.height) / 2 + l.value.style.circle.offsetY,
|
|
491
495
|
r: z.value <= 0 ? 1e-4 : z.value,
|
|
@@ -493,10 +497,10 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
493
497
|
"stroke-width": l.value.style.circle.strokeWidth,
|
|
494
498
|
fill: "transparent",
|
|
495
499
|
class: "main-circle"
|
|
496
|
-
}, null, 8,
|
|
497
|
-
|
|
498
|
-
(a(!0), n(_, null, M(p.value, (t,
|
|
499
|
-
key: `relation_${
|
|
500
|
+
}, null, 8, Zt),
|
|
501
|
+
ot.value ? (a(), n("g", el, [
|
|
502
|
+
(a(!0), n(_, null, M(p.value, (t, s) => (a(), n("path", {
|
|
503
|
+
key: `relation_${s}`,
|
|
500
504
|
style: I(Ae(t)),
|
|
501
505
|
stroke: $(t),
|
|
502
506
|
class: te(["relation", { "vue-ui-relation-circle-selected": f.value.hasOwnProperty("id") && k.value.includes(t.id) }]),
|
|
@@ -504,8 +508,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
504
508
|
fill: "none",
|
|
505
509
|
"stroke-width": H(t),
|
|
506
510
|
"stroke-linecap": "round"
|
|
507
|
-
}, null, 14,
|
|
508
|
-
(a(!0), n(_, null, M(p.value, (t,
|
|
511
|
+
}, null, 14, tl))), 128)),
|
|
512
|
+
(a(!0), n(_, null, M(p.value, (t, s) => (a(), n("g", ll, [
|
|
509
513
|
S(t) ? v(e.$slots, "dataLabel", Oe({
|
|
510
514
|
key: 0,
|
|
511
515
|
ref_for: !0
|
|
@@ -524,7 +528,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
524
528
|
r: b.value,
|
|
525
529
|
stroke: l.value.style.backgroundColor,
|
|
526
530
|
"stroke-width": "1"
|
|
527
|
-
}, null, 8,
|
|
531
|
+
}, null, 8, ol)) : g("", !0),
|
|
528
532
|
S(t) && !e.$slots.dataLabel ? (a(), n("text", {
|
|
529
533
|
key: 2,
|
|
530
534
|
x: t.midPointBezier.x,
|
|
@@ -535,18 +539,18 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
535
539
|
}, V(i(le)(
|
|
536
540
|
l.value.style.weightLabels.formatter,
|
|
537
541
|
t.weight,
|
|
538
|
-
i(
|
|
542
|
+
i(oe)({
|
|
539
543
|
p: l.value.style.weightLabels.prefix,
|
|
540
544
|
v: t.weight,
|
|
541
545
|
s: l.value.style.weightLabels.suffix,
|
|
542
546
|
r: l.value.style.weightLabels.rounding
|
|
543
547
|
}),
|
|
544
548
|
{ ...t }
|
|
545
|
-
)), 9,
|
|
549
|
+
)), 9, sl)) : g("", !0)
|
|
546
550
|
]))), 256))
|
|
547
|
-
])) : (a(), n("g",
|
|
548
|
-
(a(!0), n(_, null, M(p.value, (t,
|
|
549
|
-
key: `relation_${
|
|
551
|
+
])) : (a(), n("g", al, [
|
|
552
|
+
(a(!0), n(_, null, M(p.value, (t, s) => (a(), n("line", {
|
|
553
|
+
key: `relation_${s}`,
|
|
550
554
|
stroke: $(t),
|
|
551
555
|
"stroke-width": H(t),
|
|
552
556
|
style: I(Ae(t)),
|
|
@@ -556,8 +560,8 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
556
560
|
y2: t.y2,
|
|
557
561
|
class: te({ "vue-ui-relation-circle-selected": f.value.hasOwnProperty("id") && k.value.includes(t.id) }),
|
|
558
562
|
"stroke-linecap": "round"
|
|
559
|
-
}, null, 14,
|
|
560
|
-
(a(!0), n(_, null, M(p.value, (t,
|
|
563
|
+
}, null, 14, nl))), 128)),
|
|
564
|
+
(a(!0), n(_, null, M(p.value, (t, s) => (a(), n("g", il, [
|
|
561
565
|
S(t) ? v(e.$slots, "dataLabel", Oe({
|
|
562
566
|
key: 0,
|
|
563
567
|
ref_for: !0
|
|
@@ -576,7 +580,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
576
580
|
r: b.value,
|
|
577
581
|
stroke: l.value.style.backgroundColor,
|
|
578
582
|
"stroke-width": "1"
|
|
579
|
-
}, null, 8,
|
|
583
|
+
}, null, 8, rl)) : g("", !0),
|
|
580
584
|
S(t) && !e.$slots.dataLabel && l.value.style.weightLabels.show ? (a(), n("text", {
|
|
581
585
|
key: 2,
|
|
582
586
|
x: t.midPointLine.x,
|
|
@@ -587,32 +591,32 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
587
591
|
}, V(i(le)(
|
|
588
592
|
l.value.style.weightLabels.formatter,
|
|
589
593
|
t.weight,
|
|
590
|
-
i(
|
|
594
|
+
i(oe)({
|
|
591
595
|
p: l.value.style.weightLabels.prefix,
|
|
592
596
|
v: t.weight,
|
|
593
597
|
s: l.value.style.weightLabels.suffix,
|
|
594
598
|
r: l.value.style.weightLabels.rounding
|
|
595
599
|
}),
|
|
596
600
|
{ ...t }
|
|
597
|
-
)), 9,
|
|
601
|
+
)), 9, ul)) : g("", !0)
|
|
598
602
|
]))), 256))
|
|
599
603
|
])),
|
|
600
|
-
(a(!0), n(_, null, M(A.value, (t,
|
|
601
|
-
key: `plot_text_${
|
|
602
|
-
"text-anchor":
|
|
603
|
-
transform:
|
|
604
|
-
x:
|
|
604
|
+
(a(!0), n(_, null, M(A.value, (t, s) => (a(), n("text", {
|
|
605
|
+
key: `plot_text_${s}`,
|
|
606
|
+
"text-anchor": dt(t),
|
|
607
|
+
transform: gt(t),
|
|
608
|
+
x: vt(t),
|
|
605
609
|
y: t.y + 5,
|
|
606
610
|
class: "vue-ui-relation-circle-legend",
|
|
607
611
|
"transform-origin": "start",
|
|
608
612
|
"font-weight": f.value.id === t.id ? "900" : "400",
|
|
609
|
-
style: I(`font-family:${l.value.style.fontFamily};${
|
|
613
|
+
style: I(`font-family:${l.value.style.fontFamily};${ft(t)}`),
|
|
610
614
|
"font-size": E.value,
|
|
611
615
|
fill: l.value.style.labels.color,
|
|
612
|
-
"text-decoration":
|
|
613
|
-
onClick: (c) => _e(t,
|
|
614
|
-
onMouseenter: (c) => xe(t,
|
|
615
|
-
onMouseleave: (c) => $e(t,
|
|
616
|
+
"text-decoration": s === R.value ? "underline" : void 0,
|
|
617
|
+
onClick: (c) => _e(t, s),
|
|
618
|
+
onMouseenter: (c) => xe(t, s),
|
|
619
|
+
onMouseleave: (c) => $e(t, s)
|
|
616
620
|
}, [
|
|
617
621
|
i(de) ? (a(), n(_, { key: 0 }, [
|
|
618
622
|
Se(" -------- ")
|
|
@@ -620,7 +624,7 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
620
624
|
Se(V(t.label) + " (" + V(i(le)(
|
|
621
625
|
l.value.style.weightLabels.formatter,
|
|
622
626
|
t.totalWeight,
|
|
623
|
-
i(
|
|
627
|
+
i(oe)({
|
|
624
628
|
p: l.value.style.weightLabels.prefix,
|
|
625
629
|
v: t.totalWeight,
|
|
626
630
|
s: l.value.style.weightLabels.suffix,
|
|
@@ -629,25 +633,25 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
629
633
|
{ ...t }
|
|
630
634
|
)) + ") ", 1)
|
|
631
635
|
], 64))
|
|
632
|
-
], 44,
|
|
633
|
-
(a(!0), n(_, null, M(A.value, (t,
|
|
636
|
+
], 44, cl))), 128)),
|
|
637
|
+
(a(!0), n(_, null, M(A.value, (t, s) => (a(), n("circle", {
|
|
634
638
|
cx: t.x,
|
|
635
639
|
cy: t.y,
|
|
636
|
-
key: `plot_${
|
|
637
|
-
style: I(`${
|
|
640
|
+
key: `plot_${s}`,
|
|
641
|
+
style: I(`${ct(t)}; transition: r 0.2s ease-in-out;`),
|
|
638
642
|
class: "vue-ui-relation-circle-plot",
|
|
639
643
|
fill: l.value.style.plot.useSerieColor ? t.color : l.value.style.plot.color,
|
|
640
644
|
stroke: l.value.style.backgroundColor,
|
|
641
645
|
"stroke-width": "1",
|
|
642
|
-
r: D.value * (
|
|
643
|
-
onClick: (c) => _e(t,
|
|
644
|
-
onMouseenter: (c) => xe(t,
|
|
645
|
-
onMouseleave: (c) => $e(t,
|
|
646
|
-
}, null, 44,
|
|
646
|
+
r: D.value * (s === R.value ? 2 : 1),
|
|
647
|
+
onClick: (c) => _e(t, s),
|
|
648
|
+
onMouseenter: (c) => xe(t, s),
|
|
649
|
+
onMouseleave: (c) => $e(t, s)
|
|
650
|
+
}, null, 44, dl))), 128)),
|
|
647
651
|
v(e.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
648
|
-
], 10,
|
|
649
|
-
e.$slots.watermark ? (a(), n("div",
|
|
650
|
-
v(e.$slots, "watermark", w(
|
|
652
|
+
], 10, Kt)),
|
|
653
|
+
e.$slots.watermark ? (a(), n("div", vl, [
|
|
654
|
+
v(e.$slots, "watermark", C(w({ isPrinting: i(ge) || i(ye) })), void 0, !0)
|
|
651
655
|
])) : g("", !0),
|
|
652
656
|
e.$slots.source ? (a(), n("div", {
|
|
653
657
|
key: 5,
|
|
@@ -657,15 +661,15 @@ const Fe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", labels: { co
|
|
|
657
661
|
}, [
|
|
658
662
|
v(e.$slots, "source", {}, void 0, !0)
|
|
659
663
|
], 512)) : g("", !0),
|
|
660
|
-
i(de) ? (a(), U(
|
|
661
|
-
], 44,
|
|
664
|
+
i(de) ? (a(), U(jt, { key: 6 })) : g("", !0)
|
|
665
|
+
], 44, Jt));
|
|
662
666
|
}
|
|
663
|
-
},
|
|
667
|
+
}, gl = /* @__PURE__ */ Ht(fl, [["__scopeId", "data-v-f336b6ba"]]), Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
664
668
|
__proto__: null,
|
|
665
|
-
default:
|
|
669
|
+
default: gl
|
|
666
670
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
667
671
|
export {
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
672
|
+
zl as a,
|
|
673
|
+
Ol as b,
|
|
674
|
+
gl as v
|
|
671
675
|
};
|